chunk-4e7e0b7b.8d1796e5.js 4.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e7e0b7b","chunk-e7e0bc78","chunk-4c04a414","chunk-540bf3bc","chunk-b9fab452","chunk-63d48301","chunk-b8bb9516","chunk-68fb515a","chunk-168540e9","chunk-6157eab0","chunk-3edf0b24","chunk-38db7d20","chunk-45c925bc","chunk-7c9d0fa5","chunk-765d853e","chunk-f9e203b4","chunk-2311d2e0","chunk-53c84059","chunk-542a55d2","chunk-2124a8fb","chunk-384eca4c","chunk-db47984e","chunk-2f009a20","chunk-c46bfc20","chunk-4c04a414","chunk-2a3194d4","chunk-37262d97","chunk-674896b0","chunk-53078e5c","chunk-ca61e3fe","chunk-669e4f68","chunk-f287a97a"],{"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"),c=r("0d25"),u=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(D){p=null}var f=function(){throw new c},m=p?function(){try{return f}catch(e){try{return p(arguments,"callee").get}catch(t){return f}}}():f,A=r("5156")(),g=r("0a36")(),_=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),v={},b="undefined"!==typeof Uint8Array&&_?_(Uint8Array):n,w={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":A&&_?_([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%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%":v,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A&&_?_(_([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&A&&_?_((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&&A&&_?_((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&_?_(""[Symbol.iterator]()):n,"%Symbol%":A?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":b,"%TypeError%":c,"%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%":u,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(_)try{null.error}catch(D){var y=_(_(D));w["%Error.prototype%"]=y}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&&_&&(r=_(i.prototype))}return w[t]=r,r},C={__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"]},S=r("0f7c"),M=r("9671"),x=S.call(Function.call,Array.prototype.concat),T=S.call(Function.apply,Array.prototype.splice),O=S.call(Function.call,String.prototype.replace),N=S.call(Function.call,String.prototype.slice),R=S.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,k=function(e){var t=N(e,0,1),r=N(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 O(e,L,(function(e,t,r,i){n[n.length]=r?O(i,I,"$1"):t||e})),n},B=function(e,t){var r,n=e;if(M(C,n)&&(r=C[n],n="%"+r[0]+"%"),M(w,n)){var i=w[n];if(i===v&&(i=E(n)),"undefined"===typeof i&&!t)throw new c("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 c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"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=k(e),n=r.length>0?r[0]:"",i=B("%"+n+"%",t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(n=u[0],T(r,x([0,1],u)));for(var d=1,h=!0;d<r.length;d+=1){var f=r[d],m=N(f,0,1),A=N(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===A||"'"===A||"`"===A)&&m!==A)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&h||(s=!0),n+="."+f,a="%"+n+"%",M(w,a))o=w[a];else if(null!=o){if(!(f in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&d+1>=r.length){var g=p(o,f);h=!!g,o=h&&"get"in g&&!("originalValue"in g.get)?g.get:o[f]}else h=M(o,f),o=o[f];h&&!s&&(w[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("14d9");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(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 c(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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 u=["","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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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?u[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 c=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:u[c-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,c=new e(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},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,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function A(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 g(e,t,r){var n=new _;return n.mulp(e,t,r)}function _(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?A(this,e,t):g(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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),g(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 S(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 v={k256:null,p224:null,p192:null,p25519:null};function b(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(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(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 M(e){S.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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.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},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),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},w.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(y,b),i(E,b),i(C,b),C.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(v[e])return v[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return v[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.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)},M.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)},M.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";
  2. //! moment.js locale configuration
  3. 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)}},"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},"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 c})),r.d(t,"CONTEXTMENU_ITEMS_REMOVE_ROW",(function(){return u})),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 A})),r.d(t,"CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS",(function(){return g})),r.d(t,"CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS",(function(){return _})),r.d(t,"CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY",(function(){return v})),r.d(t,"CONTEXTMENU_ITEMS_CUT",(function(){return b})),r.d(t,"CONTEXTMENU_ITEMS_FREEZE_COLUMN",(function(){return w})),r.d(t,"CONTEXTMENU_ITEMS_UNFREEZE_COLUMN",(function(){return y})),r.d(t,"CONTEXTMENU_ITEMS_MERGE_CELLS",(function(){return E})),r.d(t,"CONTEXTMENU_ITEMS_UNMERGE_CELLS",(function(){return C})),r.d(t,"CONTEXTMENU_ITEMS_ADD_COMMENT",(function(){return S})),r.d(t,"CONTEXTMENU_ITEMS_EDIT_COMMENT",(function(){return M})),r.d(t,"CONTEXTMENU_ITEMS_REMOVE_COMMENT",(function(){return x})),r.d(t,"CONTEXTMENU_ITEMS_READ_ONLY_COMMENT",(function(){return T})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT",(function(){return O})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_LEFT",(function(){return N})),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 I})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_TOP",(function(){return k})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE",(function(){return B})),r.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM",(function(){return D})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS",(function(){return F})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_TOP",(function(){return P})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_RIGHT",(function(){return j})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_BOTTOM",(function(){return U})),r.d(t,"CONTEXTMENU_ITEMS_BORDERS_LEFT",(function(){return H})),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 W})),r.d(t,"CONTEXTMENU_ITEMS_HIDE_COLUMN",(function(){return Q})),r.d(t,"CONTEXTMENU_ITEMS_SHOW_COLUMN",(function(){return z})),r.d(t,"CONTEXTMENU_ITEMS_HIDE_ROW",(function(){return q})),r.d(t,"CONTEXTMENU_ITEMS_SHOW_ROW",(function(){return G})),r.d(t,"FILTERS_NAMESPACE",(function(){return K})),r.d(t,"FILTERS_CONDITIONS_NAMESPACE",(function(){return X})),r.d(t,"FILTERS_CONDITIONS_NONE",(function(){return $})),r.d(t,"FILTERS_CONDITIONS_EMPTY",(function(){return Z})),r.d(t,"FILTERS_CONDITIONS_NOT_EMPTY",(function(){return J})),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 ce})),r.d(t,"FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL",(function(){return ue})),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 Ae})),r.d(t,"FILTERS_CONDITIONS_YESTERDAY",(function(){return ge})),r.d(t,"FILTERS_DIVS_FILTER_BY_CONDITION",(function(){return _e})),r.d(t,"FILTERS_DIVS_FILTER_BY_VALUE",(function(){return ve})),r.d(t,"FILTERS_LABELS_CONJUNCTION",(function(){return be})),r.d(t,"FILTERS_LABELS_DISJUNCTION",(function(){return we})),r.d(t,"FILTERS_VALUES_BLANK_CELLS",(function(){return ye})),r.d(t,"FILTERS_BUTTONS_SELECT_ALL",(function(){return Ee})),r.d(t,"FILTERS_BUTTONS_CLEAR",(function(){return Ce})),r.d(t,"FILTERS_BUTTONS_OK",(function(){return Se})),r.d(t,"FILTERS_BUTTONS_CANCEL",(function(){return Me})),r.d(t,"FILTERS_BUTTONS_PLACEHOLDER_SEARCH",(function(){return xe})),r.d(t,"FILTERS_BUTTONS_PLACEHOLDER_VALUE",(function(){return Te})),r.d(t,"FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE",(function(){return Oe})),r.d(t,"CHECKBOX_RENDERER_NAMESPACE",(function(){return Ne})),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",c=i+".insertColumnOnTheRight",u=i+".removeRow",d=i+".removeColumn",h=i+".undo",p=i+".redo",f=i+".readOnly",m=i+".clearColumn",A=i+".copy",g=i+".copyWithHeaders",_=i+".copyWithGroupHeaders",v=i+".copyHeadersOnly",b=i+".cut",w=i+".freezeColumn",y=i+".unfreezeColumn",E=i+".mergeCells",C=i+".unmergeCells",S=i+".addComment",M=i+".editComment",x=i+".removeComment",T=i+".readOnlyComment",O=i+".align",N=i+".align.left",R=i+".align.center",L=i+".align.right",I=i+".align.justify",k=i+".align.top",B=i+".align.middle",D=i+".align.bottom",F=i+".borders",P=i+".borders.top",j=i+".borders.right",U=i+".borders.bottom",H=i+".borders.left",V=i+".borders.remove",Y=i+".nestedHeaders.insertChildRow",W=i+".nestedHeaders.detachFromParent",Q=i+".hideColumn",z=i+".showColumn",q=i+".hideRow",G=i+".showRow",K="Filters:",X=K+"conditions",$=X+".none",Z=X+".isEmpty",J=X+".isNotEmpty",ee=X+".isEqualTo",te=X+".isNotEqualTo",re=X+".beginsWith",ne=X+".endsWith",ie=X+".contains",ae=X+".doesNotContain",oe=X+".byValue",se=X+".greaterThan",le=X+".greaterThanOrEqualTo",ce=X+".lessThan",ue=X+".lessThanOrEqualTo",de=X+".isBetween",he=X+".isNotBetween",pe=X+".after",fe=X+".before",me=X+".today",Ae=X+".tomorrow",ge=X+".yesterday",_e=K+"labels.filterByCondition",ve=K+"labels.filterByValue",be=K+"labels.conjunction",we=K+"labels.disjunction",ye=K+"values.blankCells",Ee=K+"buttons.selectAll",Ce=K+"buttons.clear",Se=K+"buttons.ok",Me=K+"buttons.cancel",xe=K+"buttons.placeholder.search",Te=K+"buttons.placeholder.value",Oe=K+"buttons.placeholder.secondValue",Ne="CheckboxRenderer:",Re=Ne+"checked",Le=Ne+"unchecked"},"02b5":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-menus"},[r("div",{staticClass:"menus-out"},e._l(e.filteredMenus,(function(t,n){return r("div",{key:n,staticClass:"group-item",class:"group-item"+n},[r("div",{staticClass:"items-name"},[e._v(e._s(t.name))]),r("div",{staticClass:"menus"},[e._l(t.subMenus,(function(t,n){return[r("div",{key:n,staticClass:"menu",class:{disabled:"document"===e.typeMenu&&"ai"!==t.key||"article"===t.key&&("module"===e.typeMenu||void 0===e.typeMenu)},on:{click:function(r){return e.onClickMenus(t)}}},[r("div",{staticClass:"icon"},[""!=t.icon?r("svg-icon",{attrs:{className:"svg-style",size:"120","icon-class":t.icon}}):e._e()],1),r("div",{staticClass:"menu-name"},[e._v(e._s(t.name))])])]}))],2)])})),0),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showFormula,"append-to-body":"",width:"60%","close-on-click-modal":!1,"custom-class":"prod-verify",top:"20px",title:"选择公式"},on:{"update:visible":function(t){e.showFormula=t}}},[r("Formula",{attrs:{comList:e.comArr},on:{onPicked:e.onPickedFormula}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showVariable,"append-to-body":"",width:"800px","close-on-click-modal":!1,"custom-class":"prod-verify",top:"20px",title:e.insertTitle},on:{"update:visible":function(t){e.showVariable=t}}},[r("Variable",{attrs:{type:e.type},on:{onPicked:e.onPickedVariable,onData:e.btnbianl}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showSourceData,"append-to-body":"",width:"300","close-on-click-modal":!1,top:"20px","custom-class":"prod-verify",title:"选择源数据"},on:{"update:visible":function(t){e.showSourceData=t}}},[r("sourceData",{on:{onPicked:e.onPickedTab}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showSourceAi,"append-to-body":"",width:"80%","close-on-click-modal":!1,top:"20px","custom-class":"prod-verify",title:"AI"},on:{"update:visible":function(t){e.showSourceAi=t}}}),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showSourceEs,"append-to-body":"",width:"300","close-on-click-modal":!1,"custom-class":"prod-verify",title:""},on:{"update:visible":function(t){e.showSourceEs=t}}},[r("sourceEs",{attrs:{TemList:e.comArr},on:{onPicked:e.onPickedAi}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showDirectoryLevelDialog,"append-to-body":"",width:"300px","close-on-click-modal":!1,"custom-class":"prod-verify",title:"选择目录等级"},on:{"update:visible":function(t){e.showDirectoryLevelDialog=t}}},[r("el-form",{attrs:{model:e.directoryForm,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"目录等级"}},[r("el-select",{attrs:{placeholder:"请选择目录等级"},model:{value:e.directoryForm.level,callback:function(t){e.$set(e.directoryForm,"level",t)},expression:"directoryForm.level"}},[r("el-option",{attrs:{label:"一级目录",value:1}}),r("el-option",{attrs:{label:"二级目录",value:2}}),r("el-option",{attrs:{label:"三级目录",value:3}}),r("el-option",{attrs:{label:"四级目录",value:4}}),r("el-option",{attrs:{label:"五级目录",value:5}}),r("el-option",{attrs:{label:"六级目录",value:6}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.showDirectoryLevelDialog=!1}}},[e._v("取 消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.confirmDirectoryLevel}},[e._v("确 定")])],1)],1)],1)},i=[],a=r("5530"),o=(r("4de4"),r("d81d"),r("d3b7"),r("0643"),r("2382"),r("a573"),r("de23")),s=r("7ab1"),l=r("f67b"),c=r("448c"),u=r("595f"),d=r("a888"),h=(r("4760"),{name:"menus",emits:["onEvents","onVariable"],components:{Formula:o["default"],Variable:u["default"],sourceData:s["default"],sourceAi:l["default"],sourceEs:c["default"]},directives:{elDragDialog:d["a"]},props:{comArr:{type:Array,default:[]}},data:function(){var e=this;return{showDirectoryLevelDialog:!1,directoryForm:{level:1},showFormula:!1,showVariable:!1,showSourceData:!1,showSourceAi:!1,showSourceEs:!1,type:null,typeMenu:null,insertTitle:"插入变量",menus:[{name:"插入",subMenus:[{key:"article",name:"图文",icon:"图文",disabled:function(){return"module"===e.typeMenu||void 0===e.typeMenu}},{key:"SourceData",name:"源数据",icon:"sourceData"},{key:"formual",name:"公式",icon:"公式"},{key:"variable",name:"变量",icon:"变量"},{key:"constant",name:"常量",icon:"常量"},{key:"attr",name:"属性",icon:"属性"},{key:"Directory",name:"目录",icon:"目录"},{key:"InsertNull",name:"插入空值",icon:"插入空值"},{key:"ai",name:"AI模块",icon:"AI"}]}]}},computed:{filteredMenus:function(){return this.menus.map((function(e){return Object(a["a"])(Object(a["a"])({},e),{},{subMenus:e.subMenus.filter((function(e){return"ai"===e.key}))})})).filter((function(e){return e.subMenus.length>0})),this.menus}},mounted:function(){this.typeMenu=this.$route.query.type},methods:{btnbianl:function(e){this.$emit("onVariable",e)},onPickedAi:function(e){var t={type:"insert",key:"ai",content:e};this.$emit("onEvents",t),this.showSourceAi=!1},onPickedTab:function(e){var t={type:"insert",key:"sourceData",content:e};this.$emit("onEvents",t),this.showSourceData=!1},onPickedFormula:function(e){var t={type:"insert",key:"formual",content:e};this.$emit("onEvents",t),console.log(t),this.showFormula=!1},onPickedVariable:function(e){var t={type:"insert",key:2==e.type?"constant":"variable",content:e};this.$emit("onEvents",t),this.showVariable=!1},onClickMenus:function(e){"document"===this.typeMenu&&"ai"!==e.key||"article"===e.key&&("module"===this.typeMenu||void 0===this.typeMenu)||("formual"==e.key?this.showFormula=!0:"SourceData"==e.key?this.showSourceData=!0:"variable"==e.key||"constant"==e.key?("variable"==e.key?(this.type=1,this.insertTitle="插入变量"):(this.type=2,this.insertTitle="插入常量"),this.showVariable=!0):"ai"==e.key?this.showSourceAi=!0:"searchEs"==e.key?this.showSourceEs=!0:"Directory"===e.key?this.showDirectoryLevelDialog=!0:this.$emit("onEvents",e))},confirmDirectoryLevel:function(){this.showDirectoryLevelDialog=!1,this.$emit("onEvents",{type:"insert",key:"Directory",content:{level:this.directoryForm.level}})}}}),p=h,f=(r("0d8b"),r("2877")),m=Object(f["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},"02fb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  4. //! moment.js locale configuration
  5. 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}))},"0352":function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));r("d9e2");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 c(e,t,r){e.removeEventListener(t,r,!1)}function u(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=u(a).fontSize,i.style.fontFamily=u(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(){c(a,"input",o),c(a,"keydown",s)}}}var h=r("7b9c");function p(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 f=r("8828");function m(e,t,r){return(t=A(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(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)}const _="ht_editor_visible",v="ht_editor_hidden",b="textEditor",w="text";class y extends n["a"]{static get EDITOR_TYPE(){return w}constructor(e){super(e),m(this,"eventManager",new i["a"](this)),m(this,"autoResize",d(this.hot.rootDocument)),m(this,"TEXTAREA",void 0),m(this,"textareaStyle",void 0),m(this,"TEXTAREA_PARENT",void 0),m(this,"textareaParentStyle",void 0),m(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.isOpened()&&(this.TEXTAREA.value=""),s===n["b"].FINISHED||this.isOpened()||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(f["L"])(-1)]),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,v),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,v)}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,v)&&Object(o["removeClass"])(this.TEXTAREA_PARENT,v),t?(this.layerClass=_,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 c=Object(o["getComputedStyle"])(this.TD,this.hot.rootWindow);this.TEXTAREA.style.fontSize=c.fontSize,this.TEXTAREA.style.fontFamily=c.fontFamily,this.TEXTAREA.style.backgroundColor=this.TD.style.backgroundColor;const u=Object(o["getComputedStyle"])(this.TEXTAREA),d=parseInt(u.paddingLeft,10)+parseInt(u.paddingRight,10),h=parseInt(u.paddingTop,10)+parseInt(u.paddingBottom,10),p=i-d,f=s-h,m=a-d,A=l-h;this.autoResize.init(this.TEXTAREA,{minWidth:Math.min(p,m),minHeight:Math.min(f,A),maxWidth:m,maxHeight:A},!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={runOnlyIf:()=>Object(h["isDefined"])(this.hot.getSelected()),group:b},n=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};t.addShortcuts([{keys:[["Control","Enter"]],callback:()=>(n(),!1),runOnlyIf:e=>!this.hot.selection.isMultiple()&&!e.altKey},{keys:[["Meta","Enter"]],callback:()=>(n(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(n(),!1)},{keys:[["Home"]],callback:(e,t)=>{let[r]=t;p(r,this.TEXTAREA)}},{keys:[["End"]],callback:(e,t)=>{let[r]=t;p(r,this.TEXTAREA)}}],r)}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(b)}}},"03ec":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  6. //! moment.js locale configuration
  7. 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}))},"0402":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("2cf4").set,o=r("20cc"),s=i.setImmediate?o(a,!1):a;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==s},{setImmediate:s})},"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},"04d1":function(e,t,r){"use strict";var n=r("342f"),i=n.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"0558":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  8. //! moment.js locale configuration
  9. 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},"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("d9e2");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))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(u(e,t))}function c(e,t,r){return e.set(u(e,t),r),r}function u(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),c(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&&c(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";
  10. //! moment.js locale configuration
  11. 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";
  12. //! moment.js locale configuration
  13. 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]/},"07ac":function(e,t,r){"use strict";var n=r("23e7"),i=r("6f53").values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},"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")}},"07f44":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 c=0,u=1,d=2,h=3,p=258,f=29,m=256,A=m+1+f,g=30,_=19,v=2*A+1,b=15,w=16,y=7,E=256,C=16,S=17,M=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],T=[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],O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],N=[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*(A+2));l(L);var I=new Array(2*g);l(I);var k=new Array(R);l(k);var B=new Array(p-h+1);l(B);var D=new Array(f);l(D);var F,P,j,U=new Array(g);function H(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?k[e]:k[256+(e>>>7)]}function W(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Q(e,t,r){e.bi_valid>w-r?(e.bi_buf|=t<<e.bi_valid&65535,W(e,e.bi_buf),e.bi_buf=t>>w-e.bi_valid,e.bi_valid+=r-w):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function z(e,t,r){Q(e,r[2*t],r[2*t+1])}function q(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function G(e){16===e.bi_valid?(W(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function K(e,t){var r,n,i,a,o,s,l=t.dyn_tree,c=t.max_code,u=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<=b;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<v;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>c||(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*(u[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>c||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}}function X(e,t,r){var n,i,a=new Array(b+1),o=0;for(n=1;n<=b;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]=q(a[s]++,s))}}function $(){var e,t,r,n,i,a=new Array(b+1);for(r=0,n=0;n<f-1;n++)for(D[n]=r,e=0;e<1<<x[n];e++)B[r++]=n;for(B[r-1]=n,i=0,n=0;n<16;n++)for(U[n]=i,e=0;e<1<<T[n];e++)k[i++]=n;for(i>>=7;n<g;n++)for(U[n]=i<<7,e=0;e<1<<T[n]-7;e++)k[256+i++]=n;for(t=0;t<=b;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(X(L,A+1,a),e=0;e<g;e++)I[2*e+1]=5,I[2*e]=q(e,5);F=new H(L,x,m+1,A,b),P=new H(I,T,0,g,b),j=new H(new Array(0),O,0,_,y)}function Z(e){var t;for(t=0;t<A;t++)e.dyn_ltree[2*t]=0;for(t=0;t<g;t++)e.dyn_dtree[2*t]=0;for(t=0;t<_;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 J(e){e.bi_valid>8?W(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){J(e),i&&(W(e,r),W(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?z(e,i,t):(a=B[i],z(e,a+m+1,t),o=x[a],0!==o&&(i-=D[a],Q(e,i,o)),n--,a=Y(n),z(e,a,r),o=T[a],0!==o&&(n-=U[a],Q(e,n,o)))}while(s<e.last_lit);z(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,c=-1;for(e.heap_len=0,e.heap_max=v,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,a[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,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],K(e,t),X(a,c,e.bl_count)}function ae(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=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<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*C]++):s<=10?e.bl_tree[2*S]++:e.bl_tree[2*M]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function oe(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<c)do{z(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(z(e,i,e.bl_tree),s--),z(e,C,e.bl_tree),Q(e,s-3,2)):s<=10?(z(e,S,e.bl_tree),Q(e,s-3,3)):(z(e,M,e.bl_tree),Q(e,s-11,7));s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=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=_-1;t>=3;t--)if(0!==e.bl_tree[2*N[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,r,n){var i;for(Q(e,t-257,5),Q(e,r-1,5),Q(e,n-4,4),i=0;i<n;i++)Q(e,e.bl_tree[2*N[i]+1],3);oe(e,e.dyn_ltree,t-1),oe(e,e.dyn_dtree,r-1)}function ce(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(U);var ue=!1;function de(e){ue||($(),ue=!0),e.l_desc=new V(e.dyn_ltree,F),e.d_desc=new V(e.dyn_dtree,P),e.bl_desc=new V(e.bl_tree,j),e.bi_buf=0,e.bi_valid=0,Z(e)}function he(e,t,r,n){Q(e,(c<<1)+(n?1:0),3),ee(e,t,r,!0)}function pe(e){Q(e,u<<1,3),z(e,E,L),G(e)}function fe(e,t,r,n){var a,o,l=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=ce(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?(Q(e,(u<<1)+(n?1:0),3),ne(e,L,I)):(Q(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)),Z(e),n&&J(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*(B[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 c(e){return e<<5|e>>>27}function u(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=c(r)+d(p,n,i,a)+s+t[h]+o[p]|0;s=a,a=i,i=u(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},"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},"0960":function(e,t,r){e.exports=r("b19a")},"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";
  14. //! moment.js locale configuration
  15. 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}))},"0a84":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  16. //! moment.js locale configuration
  17. 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},"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"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),h=["/","?","#"],p=255,f=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,A={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=r("184d");function b(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 w(e){return"string"===typeof e&&(e=b(e)),e instanceof i?e.format():i.prototype.format.call(e)}function y(e,t){return b(e,!1,!0).resolve(t)}function E(e,t){return e?b(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),c=/\\/g;l[0]=l[0].replace(c,"/"),e=l.join(o);var b=e;if(b=b.trim(),!r&&1===e.split("#").length){var w=s.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=a.exec(b);if(y){y=y[0];var E=y.toLowerCase();this.protocol=E,b=b.substr(y.length)}if(r||y||b.match(/^\/\/[^@/]+@[^@/]+/)){var C="//"===b.substr(0,2);!C||y&&g[y]||(b=b.substr(2),this.slashes=!0)}if(!g[y]&&(C||y&&!_[y])){for(var S,M,x=-1,T=0;T<h.length;T++){var O=b.indexOf(h[T]);-1!==O&&(-1===x||O<x)&&(x=O)}M=-1===x?b.lastIndexOf("@"):b.lastIndexOf("@",x),-1!==M&&(S=b.slice(0,M),b=b.slice(M+1),this.auth=decodeURIComponent(S)),x=-1;for(T=0;T<d.length;T++){O=b.indexOf(d[T]);-1!==O&&(-1===x||O<x)&&(x=O)}-1===x&&(x=b.length),this.host=b.slice(0,x),b=b.slice(x),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var R=this.hostname.split(/\./),L=(T=0,R.length);T<L;T++){var I=R[T];if(I&&!I.match(f)){for(var k="",B=0,D=I.length;B<D;B++)I.charCodeAt(B)>127?k+="x":k+=I[B];if(!k.match(f)){var F=R.slice(0,T),P=R.slice(T+1),j=I.match(m);j&&(F.push(j[1]),P.unshift(j[2])),P.length&&(b="/"+P.join(".")+b),this.hostname=F.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+U,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!A[E])for(T=0,L=u.length;T<L;T++){var V=u[T];if(-1!==b.indexOf(V)){var Y=encodeURIComponent(V);Y===V&&(Y=escape(V)),b=b.split(V).join(Y)}}var W=b.indexOf("#");-1!==W&&(this.hash=b.substr(W),b=b.slice(0,W));var Q=b.indexOf("?");if(-1!==Q?(this.search=b.substr(Q),this.query=b.substr(Q+1),t&&(this.query=v.parse(this.query)),b=b.slice(0,Q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),_[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var z=this.search||"";this.path=U+z}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=v.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var o=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||_[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(b(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 c=s[l];"protocol"!==c&&(r[c]=e[c])}return _[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(!_[e.protocol]){for(var u=Object.keys(e),d=0;d<u.length;d++){var h=u[d];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||g[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 A=r.pathname&&"/"===r.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=v||A||r.host&&e.pathname,w=b,y=r.pathname&&r.pathname.split("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],r.protocol&&!_[r.protocol]);if(E&&(r.hostname="",r.port=null,r.host&&(""===y[0]?y[0]=r.host:y.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),b=b&&(""===p[0]||""===y[0])),v)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,y=p;else if(p.length)y||(y=[]),y.pop(),y=y.concat(p),r.search=e.search,r.query=e.query;else if(null!=e.search){if(E){r.host=y.shift(),r.hostname=r.host;var C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");C&&(r.auth=C.shift(),r.hostname=C.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(!y.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=y.slice(-1)[0],M=(r.host||e.host||y.length>1)&&("."===S||".."===S)||""===S,x=0,T=y.length;T>=0;T--)S=y[T],"."===S?y.splice(T,1):".."===S?(y.splice(T,1),x++):x&&(y.splice(T,1),x--);if(!b&&!w)for(;x--;x)y.unshift("..");!b||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),M&&"/"!==y.join("/").substr(-1)&&y.push("");var O=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(E){r.hostname=O?"":y.length?y.shift():"",r.host=r.hostname;C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");C&&(r.auth=C.shift(),r.hostname=C.shift(),r.host=r.hostname)}return b=b||r.host&&y.length,b&&!O&&y.unshift(""),y.length>0?r.pathname=y.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=b,t.resolve=y,t.resolveObject=E,t.format=w,t.Url=i},"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}},"0caa":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  18. //! moment.js locale configuration
  19. 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 c(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 u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,u("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"]}),u("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"]}),u("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"]}),u("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"]}),u("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"]}),u("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"]}),u("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}u("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},"0d44":function(e,t,r){var n=r("843f"),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)}},"0d5e":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-product-attr"},[r("el-tree",{attrs:{data:e.dataList,props:e.defaultProps},on:{"node-click":e.handleNodeClick}})],1)},i=[],a=r("5530"),o=(r("d81d"),r("b0c0"),r("e9c4"),r("b64b"),r("ac1f"),r("841c"),r("a573"),r("c4c8")),s={name:"searchParams",emits:["onInsertProductAttr"],props:{docAttr:{type:Object,default:function(){return{linkProduct:[]}}}},watch:{docAttr:{handler:function(e){void 0==e&&null==e||(this.queryForm.ids=JSON.stringify(e.linkProduct),this.search())},immediate:!0,deep:!0}},data:function(){return{defaultProps:{children:"children",label:"label"},dataList:[],queryForm:{page:1,pageSize:999,status:5,ids:""}}},mounted:function(){},methods:{onClose:function(e){var t=this;t.dialogVisible=!1,t.onBtnSearch()},handleNodeClick:function(e){e&&void 0==e.children&&this.$emit("onInsertProductAttr",e)},search:function(){var e=this;Object(o["a"])(e.queryForm).then((function(t){t&&(e.dataList=t.data.dataList.map((function(e){var t=JSON.parse(e.attrs),r=t.map((function(t){return Object(a["a"])(Object(a["a"])({label:t.name},t),{},{parent:{id:e.id,name:e.name}})}));return{label:e.name,children:r}})))}))},ChangePage:function(e){var t=this;t.queryForm.page=e,t.search()}}},l=s,c=(r("f3c0"),r("2877")),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},"0d8b":function(e,t,r){"use strict";r("d1b1")},"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";
  20. //! moment.js locale configuration
  21. 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";
  22. //! moment.js locale configuration
  23. 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}))},"0e81":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  24. //! moment.js locale configuration
  25. 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}))},"0f14":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  26. //! moment.js locale configuration
  27. 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"),c=r("5291"),u=r("8707").Buffer;function d(e,t){var r=e.modulus.byteLength(),n=l("sha1").update(u.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),c=t.slice(o+1),d=a(s,i(c,o)),h=a(c,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=u.from(e),t=u.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?c(new o(t),l):s(t,l);var f=u.alloc(p-a.length);if(a=u.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";
  28. //! moment.js locale configuration
  29. 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},"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 c extends n{constructor(e=""){super("InUseAttributeError",e)}}t.InUseAttributeError=c;class u extends n{constructor(e=""){super("InvalidStateError","The object is in an invalid state. "+e)}}t.InvalidStateError=u;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 A extends n{constructor(e=""){super("SecurityError","The operation is insecure. "+e)}}t.SecurityError=A;class g extends n{constructor(e=""){super("NetworkError","A network error occurred. "+e)}}t.NetworkError=g;class _ extends n{constructor(e=""){super("AbortError","The operation was aborted. "+e)}}t.AbortError=_;class v extends n{constructor(e=""){super("URLMismatchError","The given URL does not match another URL. "+e)}}t.URLMismatchError=v;class b extends n{constructor(e=""){super("QuotaExceededError","The quota has been exceeded. "+e)}}t.QuotaExceededError=b;class w extends n{constructor(e=""){super("TimeoutError","The operation timed out. "+e)}}t.TimeoutError=w;class y extends n{constructor(e=""){super("InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+e)}}t.InvalidNodeTypeError=y;class E extends n{constructor(e=""){super("DataCloneError","The object can not be cloned. "+e)}}t.DataCloneError=E;class C extends n{constructor(e=""){super("NotImplementedError","The DOM method is not implemented by this module. "+e)}}t.NotImplementedError=C;class S extends n{constructor(e=""){super("HierarchyRequestError","The operation would yield an incorrect node tree. "+e)}}t.HierarchyRequestError=S;class M extends n{constructor(e=""){super("NotFoundError","The object can not be found here. "+e)}}t.NotFoundError=M;class x extends n{constructor(e=""){super("IndexSizeError","The index is not in the allowed range. "+e)}}t.IndexSizeError=x;class T extends n{constructor(e=""){super("SyntaxError","The string did not match the expected pattern. "+e)}}t.SyntaxError=T;class O extends n{constructor(e=""){super("InvalidCharacterError","The string contains invalid characters. "+e)}}t.InvalidCharacterError=O},"0fe1":function(e,t,r){"use strict";r.r(t);var n=r("96c7"),i=r("c7cc");for(var a in i)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(a);r("8127");var o=r("2877"),s=Object(o["a"])(i["default"],n["a"],n["b"],!1,null,null,null);t["default"]=s.exports},"0ff2":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  30. //! moment.js locale configuration
  31. 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}))},1:function(e,t){},10:function(e,t){},1004:function(e,t,r){"use strict";r("d9e2"),r("14d9"),r("73d9");var n=r("81ea"),i=r("351d"),a=r("29b0"),o=r("bd5e"),s=r("67a8"),l=r("97b9");function c(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(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","modifyRowHeightByOverlayName","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
  32. Please consult release notes https://github.com/handsontable/handsontable/releases/tag/[removedInVersion] to\x20
  33. 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([[]]),A=new WeakMap;class g{static getSingleton(){return v()}constructor(){c(this,"globalBucket",void 0),this.globalBucket=this.createEmptyBucket()}createEmptyBucket(){const e=Object.create(null);return Object(n["arrayEach"])(h,t=>{e[t]=[],this.initOrderMap(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,i=arguments.length>3?arguments[3]:void 0;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 s=this.getBucket(r);if("undefined"===typeof s[e]&&(this.register(e),s[e]=[],this.initOrderMap(s,e)),t.skip=!1,-1===s[e].indexOf(t)){let r=!1;t.initialHook&&Object(n["arrayEach"])(s[e],(n,i)=>{if(n.initialHook)return s[e][i]=t,r=!0,!1}),r||s[e].push(t)}this.setCallbackOrderIndex(s,e,t,i),this.orderBucketByOrderIndex(s,e)}return this}once(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;Array.isArray(t)?Object(n["arrayEach"])(t,t=>this.once(e,t,r)):(t.runOnce=!0,this.add(e,t,r,i))}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 c=this.globalBucket[t],u=c?c.length:0;let d=0;if(u)while(d<u){if(!c[d]||c[d].skip){d+=1;continue}const u=Object(l["fastCall"])(c[d],e,r,n,i,a,o,s);void 0!==u&&(r=u),c[d]&&c[d].runOnce&&this.remove(t,c[d]),d+=1}}{const c=this.getBucket(e)[t],u=c?c.length:0;let d=0;if(u)while(d<u){if(!c[d]||c[d].skip){d+=1;continue}const u=Object(l["fastCall"])(c[d],e,r,n,i,a,o,s);void 0!==u&&(r=u),c[d]&&c[d].runOnce&&this.remove(t,c[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}setCallbackOrderIndex(e,t,r,n){const i=Number.isInteger(n)?n:0,a=this.getCallbackOrderMap(e,t);a.set(i,[...a.get(i)||[],r])}orderBucketByOrderIndex(e,t){const r=this.getCallbackOrderMap(e,t);void 0===r||0===r.size||1===r.size&&r.has(0)||(e[t]=[...r].sort((e,t)=>e[0]-t[0]).flatMap(e=>{let[,t]=e;return t}))}initOrderMap(e,t){A.has(e)||A.set(e,[]),A.get(e)[t]=new Map}getCallbackOrderMap(e,t){return A.get(e)[t]}}const _=new g;function v(){return _}t["a"]=g},1096:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));r("d9e2"),r("14d9");var n=r("ffec"),i=r("351d"),a=r("97b9"),o=r("7ae0");function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(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 u{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"])(u,o["a"])},"10e8":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  34. //! moment.js locale configuration
  35. 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}))},11:function(e,t){},1157:function(e,t,r){var n,i;
  36. /*!
  37. * jQuery JavaScript Library v3.7.1
  38. * https://jquery.com/
  39. *
  40. * Copyright OpenJS Foundation and other contributors
  41. * Released under the MIT license
  42. * https://jquery.org/license
  43. *
  44. * Date: 2023-08-28T13:37Z
  45. */(function(t,r){"use strict";"object"===typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)})("undefined"!==typeof window?window:this,(function(r,a){"use strict";var o=[],s=Object.getPrototypeOf,l=o.slice,c=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},u=o.push,d=o.indexOf,h={},p=h.toString,f=h.hasOwnProperty,m=f.toString,A=m.call(Object),g={},_=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType&&"function"!==typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,r){r=r||b;var n,i,a=r.createElement("script");if(a.text=e,t)for(n in w)i=t[n]||t.getAttribute&&t.getAttribute(n),i&&a.setAttribute(n,i);r.head.appendChild(a).parentNode.removeChild(a)}function E(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?h[p.call(e)]||"object":typeof e}var C="3.7.1",S=/HTML$/i,M=function(e,t){return new M.fn.init(e,t)};function x(e){var t=!!e&&"length"in e&&e.length,r=E(e);return!_(e)&&!v(e)&&("array"===r||0===t||"number"===typeof t&&t>0&&t-1 in e)}function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}M.fn=M.prototype={jquery:C,constructor:M,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=M.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return M.each(this,e)},map:function(e){return this.pushStack(M.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(M.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(M.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:o.sort,splice:o.splice},M.extend=M.fn.extend=function(){var e,t,r,n,i,a,o=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"===typeof o&&(c=o,o=arguments[s]||{},s++),"object"===typeof o||_(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(c&&n&&(M.isPlainObject(n)||(i=Array.isArray(n)))?(r=o[t],a=i&&!Array.isArray(r)?[]:i||M.isPlainObject(r)?r:{},i=!1,o[t]=M.extend(c,a,n)):void 0!==n&&(o[t]=n));return o},M.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==p.call(e))&&(t=s(e),!t||(r=f.call(t,"constructor")&&t.constructor,"function"===typeof r&&m.call(r)===A))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){y(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(x(e)){for(r=e.length;n<r;n++)if(!1===t.call(e[n],n,e[n]))break}else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,i=e.nodeType;if(!i)while(t=e[n++])r+=M.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:r},makeArray:function(e,t){var r=t||[];return null!=e&&(x(Object(e))?M.merge(r,"string"===typeof e?[e]:e):u.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:d.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!S.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n,i=[],a=0,o=e.length,s=!r;a<o;a++)n=!t(e[a],a),n!==s&&i.push(e[a]);return i},map:function(e,t,r){var n,i,a=0,o=[];if(x(e))for(n=e.length;a<n;a++)i=t(e[a],a,r),null!=i&&o.push(i);else for(a in e)i=t(e[a],a,r),null!=i&&o.push(i);return c(o)},guid:1,support:g}),"function"===typeof Symbol&&(M.fn[Symbol.iterator]=o[Symbol.iterator]),M.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){h["[object "+t+"]"]=t.toLowerCase()}));var O=o.pop,N=o.sort,R=o.splice,L="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g");M.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};var k=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function B(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}M.escapeSelector=function(e){return(e+"").replace(k,B)};var D=b,F=u;(function(){var e,t,n,i,a,s,c,u,h,p,m=F,A=M.expando,_=0,v=0,b=te(),w=te(),y=te(),E=te(),C=function(e,t){return e===t&&(a=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",x="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",k="\\["+L+"*("+x+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+x+"))|)"+L+"*\\]",B=":("+x+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+k+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),j=new RegExp("^"+L+"*,"+L+"*"),U=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),H=new RegExp(L+"|>"),V=new RegExp(B),Y=new RegExp("^"+x+"$"),W={ID:new RegExp("^#("+x+")"),CLASS:new RegExp("^\\.("+x+")"),TAG:new RegExp("^("+x+"|[*])"),ATTR:new RegExp("^"+k),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,z=/^h\d$/i,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,K=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},$=function(){ce()},Z=pe((function(e){return!0===e.disabled&&T(e,"fieldset")}),{dir:"parentNode",next:"legend"});function J(){try{return s.activeElement}catch(e){}}try{m.apply(o=l.call(D.childNodes),D.childNodes),o[D.childNodes.length].nodeType}catch(ye){m={apply:function(e,t){F.apply(e,l.call(t))},call:function(e){F.apply(e,l.call(arguments,1))}}}function ee(e,t,r,n){var i,a,o,l,c,d,p,f=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!==typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!n&&(ce(t),t=t||s,u)){if(11!==_&&(c=q.exec(e)))if(i=c[1]){if(9===_){if(!(o=t.getElementById(i)))return r;if(o.id===i)return m.call(r,o),r}else if(f&&(o=f.getElementById(i))&&ee.contains(t,o)&&o.id===i)return m.call(r,o),r}else{if(c[2])return m.apply(r,t.getElementsByTagName(e)),r;if((i=c[3])&&t.getElementsByClassName)return m.apply(r,t.getElementsByClassName(i)),r}if(!E[e+" "]&&(!h||!h.test(e))){if(p=e,f=t,1===_&&(H.test(e)||U.test(e))){f=G.test(e)&&le(t.parentNode)||t,f==t&&g.scope||((l=t.getAttribute("id"))?l=M.escapeSelector(l):t.setAttribute("id",l=A)),d=de(e),a=d.length;while(a--)d[a]=(l?"#"+l:":scope")+" "+he(d[a]);p=d.join(",")}try{return m.apply(r,f.querySelectorAll(p)),r}catch(v){E(e,!0)}finally{l===A&&t.removeAttribute("id")}}}return we(e.replace(I,"$1"),t,r,n)}function te(){var e=[];function r(n,i){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=i}return r}function re(e){return e[A]=!0,e}function ne(e){var t=s.createElement("fieldset");try{return!!e(t)}catch(ye){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return T(t,"input")&&t.type===e}}function ae(e){return function(t){return(T(t,"input")||T(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return re((function(t){return t=+t,re((function(r,n){var i,a=e([],r.length,t),o=a.length;while(o--)r[i=a[o]]&&(r[i]=!(n[i]=r[i]))}))}))}function le(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function ce(e){var r,n=e?e.ownerDocument||e:D;return n!=s&&9===n.nodeType&&n.documentElement?(s=n,c=s.documentElement,u=!M.isXMLDoc(s),p=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&D!=s&&(r=s.defaultView)&&r.top!==r&&r.addEventListener("unload",$),g.getById=ne((function(e){return c.appendChild(e).id=M.expando,!s.getElementsByName||!s.getElementsByName(M.expando).length})),g.disconnectedMatch=ne((function(e){return p.call(e,"*")})),g.scope=ne((function(){return s.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return s.querySelector(":has(*,:jqfake)"),!1}catch(ye){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(K,X);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&u){var r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(K,X);return function(e){var r="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&u){var r,n,i,a=t.getElementById(e);if(a){if(r=a.getAttributeNode("id"),r&&r.value===e)return[a];i=t.getElementsByName(e),n=0;while(a=i[n++])if(r=a.getAttributeNode("id"),r&&r.value===e)return[a]}return[]}}),t.find.TAG=function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if("undefined"!==typeof t.getElementsByClassName&&u)return t.getElementsByClassName(e)},h=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+A+"' href='' disabled='disabled'></a><select id='"+A+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+L+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+A+"-]").length||h.push("~="),e.querySelectorAll("a#"+A+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),t=s.createElement("input"),t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),t=s.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+L+"*name"+L+"*="+L+"*(?:''|\"\")")})),g.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),C=function(e,t){if(e===t)return a=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!g.sortDetached&&t.compareDocumentPosition(e)===r?e===s||e.ownerDocument==D&&ee.contains(D,e)?-1:t===s||t.ownerDocument==D&&ee.contains(D,t)?1:i?d.call(i,e)-d.call(i,t):0:4&r?-1:1)},s):s}for(e in ee.matches=function(e,t){return ee(e,null,null,t)},ee.matchesSelector=function(e,t){if(ce(e),u&&!E[t+" "]&&(!h||!h.test(t)))try{var r=p.call(e,t);if(r||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(ye){E(t,!0)}return ee(t,s,null,[e]).length>0},ee.contains=function(e,t){return(e.ownerDocument||e)!=s&&ce(e),M.contains(e,t)},ee.attr=function(e,r){(e.ownerDocument||e)!=s&&ce(e);var n=t.attrHandle[r.toLowerCase()],i=n&&f.call(t.attrHandle,r.toLowerCase())?n(e,r,!u):void 0;return void 0!==i?i:e.getAttribute(r)},ee.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},M.uniqueSort=function(e){var t,r=[],n=0,o=0;if(a=!g.sortStable,i=!g.sortStable&&l.call(e,0),N.call(e,C),a){while(t=e[o++])t===e[o]&&(n=r.push(o));while(n--)R.call(e,r[n],1)}return i=null,e},M.fn.uniqueSort=function(){return this.pushStack(M.uniqueSort(l.apply(this)))},t=M.expr={cacheLength:50,createPseudo:re,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(K,X),e[3]=(e[3]||e[4]||e[5]||"").replace(K,X),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ee.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ee.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&V.test(r)&&(t=de(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(K,X).toLowerCase();return"*"===e?function(){return!0}:function(e){return T(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&b(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var i=ee.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(P," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,l){var c,u,d,h,p,f=a!==o?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),v=!l&&!s,b=!1;if(m){if(a){while(f){d=t;while(d=d[f])if(s?T(d,g):1===d.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&v){u=m[A]||(m[A]={}),c=u[e]||[],h=c[0]===_&&c[1],b=h&&c[2],d=h&&m.childNodes[h];while(d=++h&&d&&d[f]||(b=h=0)||p.pop())if(1===d.nodeType&&++b&&d===t){u[e]=[_,h,b];break}}else if(v&&(u=t[A]||(t[A]={}),c=u[e]||[],h=c[0]===_&&c[1],b=h),!1===b)while(d=++h&&d&&d[f]||(b=h=0)||p.pop())if((s?T(d,g):1===d.nodeType)&&++b&&(v&&(u=d[A]||(d[A]={}),u[e]=[_,b]),d===t))break;return b-=i,b===n||b%n===0&&b/n>=0}}},PSEUDO:function(e,r){var n,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||ee.error("unsupported pseudo: "+e);return i[A]?i(r):i.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?re((function(e,t){var n,a=i(e,r),o=a.length;while(o--)n=d.call(e,a[o]),e[n]=!(t[n]=a[o])})):function(e){return i(e,0,n)}):i}},pseudos:{not:re((function(e){var t=[],r=[],n=be(e.replace(I,"$1"));return n[A]?re((function(e,t,r,i){var a,o=n(e,null,i,[]),s=e.length;while(s--)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,n(t,null,a,r),t[0]=null,!r.pop()}})),has:re((function(e){return function(t){return ee(e,t).length>0}})),contains:re((function(e){return e=e.replace(K,X),function(t){return(t.textContent||M.text(t)).indexOf(e)>-1}})),lang:re((function(e){return Y.test(e||"")||ee.error("unsupported lang: "+e),e=e.replace(K,X).toLowerCase(),function(t){var r;do{if(r=u?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return r=r.toLowerCase(),r===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===J()&&s.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return T(e,"input")&&!!e.checked||T(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return z.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){return T(e,"input")&&"button"===e.type||T(e,"button")},text:function(e){var t;return T(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,r){return[r<0?r+t:r]})),even:se((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:se((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:se((function(e,t,r){var n;for(n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e})),gt:se((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=ae(e);function ue(){}function de(e,r){var n,i,a,o,s,l,c,u=w[e+" "];if(u)return r?0:u.slice(0);s=e,l=[],c=t.preFilter;while(s){for(o in n&&!(i=j.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),n=!1,(i=U.exec(s))&&(n=i.shift(),a.push({value:n,type:i[0].replace(I," ")}),s=s.slice(n.length)),t.filter)!(i=W[o].exec(s))||c[o]&&!(i=c[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return r?s.length:s?ee.error(e):w(e,l).slice(0)}function he(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function pe(e,t,r){var n=t.dir,i=t.next,a=i||n,o=r&&"parentNode"===a,s=v++;return t.first?function(t,r,i){while(t=t[n])if(1===t.nodeType||o)return e(t,r,i);return!1}:function(t,r,l){var c,u,d=[_,s];if(l){while(t=t[n])if((1===t.nodeType||o)&&e(t,r,l))return!0}else while(t=t[n])if(1===t.nodeType||o)if(u=t[A]||(t[A]={}),i&&T(t,i))t=t[n]||t;else{if((c=u[a])&&c[0]===_&&c[1]===s)return d[2]=c[2];if(u[a]=d,d[2]=e(t,r,l))return!0}return!1}}function fe(e){return e.length>1?function(t,r,n){var i=e.length;while(i--)if(!e[i](t,r,n))return!1;return!0}:e[0]}function me(e,t,r){for(var n=0,i=t.length;n<i;n++)ee(e,t[n],r);return r}function Ae(e,t,r,n,i){for(var a,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(r&&!r(a,n,i)||(o.push(a),c&&t.push(s)));return o}function ge(e,t,r,n,i,a){return n&&!n[A]&&(n=ge(n)),i&&!i[A]&&(i=ge(i,a)),re((function(a,o,s,l){var c,u,h,p,f=[],A=[],g=o.length,_=a||me(t||"*",s.nodeType?[s]:s,[]),v=!e||!a&&t?_:Ae(_,f,e,s,l);if(r?(p=i||(a?e:g||n)?[]:o,r(v,p,s,l)):p=v,n){c=Ae(p,A),n(c,[],s,l),u=c.length;while(u--)(h=c[u])&&(p[A[u]]=!(v[A[u]]=h))}if(a){if(i||e){if(i){c=[],u=p.length;while(u--)(h=p[u])&&c.push(v[u]=h);i(null,p=[],c,l)}u=p.length;while(u--)(h=p[u])&&(c=i?d.call(a,h):f[u])>-1&&(a[c]=!(o[c]=h))}}else p=Ae(p===o?p.splice(g,p.length):p),i?i(null,o,p,l):m.apply(o,p)}))}function _e(e){for(var r,i,a,o=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,u=pe((function(e){return e===r}),l,!0),h=pe((function(e){return d.call(r,e)>-1}),l,!0),p=[function(e,t,i){var a=!s&&(i||t!=n)||((r=t).nodeType?u(e,t,i):h(e,t,i));return r=null,a}];c<o;c++)if(i=t.relative[e[c].type])p=[pe(fe(p),i)];else{if(i=t.filter[e[c].type].apply(null,e[c].matches),i[A]){for(a=++c;a<o;a++)if(t.relative[e[a].type])break;return ge(c>1&&fe(p),c>1&&he(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(I,"$1"),i,c<a&&_e(e.slice(c,a)),a<o&&_e(e=e.slice(a)),a<o&&he(e))}p.push(i)}return fe(p)}function ve(e,r){var i=r.length>0,a=e.length>0,o=function(o,l,c,d,h){var p,f,A,g=0,v="0",b=o&&[],w=[],y=n,E=o||a&&t.find.TAG("*",h),C=_+=null==y?1:Math.random()||.1,S=E.length;for(h&&(n=l==s||l||h);v!==S&&null!=(p=E[v]);v++){if(a&&p){f=0,l||p.ownerDocument==s||(ce(p),c=!u);while(A=e[f++])if(A(p,l||s,c)){m.call(d,p);break}h&&(_=C)}i&&((p=!A&&p)&&g--,o&&b.push(p))}if(g+=v,i&&v!==g){f=0;while(A=r[f++])A(b,w,l,c);if(o){if(g>0)while(v--)b[v]||w[v]||(w[v]=O.call(d));w=Ae(w)}m.apply(d,w),h&&!o&&w.length>0&&g+r.length>1&&M.uniqueSort(d)}return h&&(_=C,n=y),b};return i?re(o):o}function be(e,t){var r,n=[],i=[],a=y[e+" "];if(!a){t||(t=de(e)),r=t.length;while(r--)a=_e(t[r]),a[A]?n.push(a):i.push(a);a=y(e,ve(i,n)),a.selector=e}return a}function we(e,r,n,i){var a,o,s,l,c,d="function"===typeof e&&e,h=!i&&de(e=d.selector||e);if(n=n||[],1===h.length){if(o=h[0]=h[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===r.nodeType&&u&&t.relative[o[1].type]){if(r=(t.find.ID(s.matches[0].replace(K,X),r)||[])[0],!r)return n;d&&(r=r.parentNode),e=e.slice(o.shift().value.length)}a=W.needsContext.test(e)?0:o.length;while(a--){if(s=o[a],t.relative[l=s.type])break;if((c=t.find[l])&&(i=c(s.matches[0].replace(K,X),G.test(o[0].type)&&le(r.parentNode)||r))){if(o.splice(a,1),e=i.length&&he(o),!e)return m.apply(n,i),n;break}}}return(d||be(e,h))(i,r,!u,n,!r||G.test(e)&&le(r.parentNode)||r),n}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,g.sortStable=A.split("").sort(C).join("")===A,ce(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(s.createElement("fieldset"))})),M.find=ee,M.expr[":"]=M.expr.pseudos,M.unique=M.uniqueSort,ee.compile=be,ee.select=we,ee.setDocument=ce,ee.tokenize=de,ee.escape=M.escapeSelector,ee.getText=M.text,ee.isXML=M.isXMLDoc,ee.selectors=M.expr,ee.support=M.support,ee.uniqueSort=M.uniqueSort})();var P=function(e,t,r){var n=[],i=void 0!==r;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&M(e).is(r))break;n.push(e)}return n},j=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},U=M.expr.match.needsContext,H=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(e,t,r){return _(t)?M.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?M.grep(e,(function(e){return e===t!==r})):"string"!==typeof t?M.grep(e,(function(e){return d.call(t,e)>-1!==r})):M.filter(t,e,r)}M.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?M.find.matchesSelector(n,e)?[n]:[]:M.find.matches(e,M.grep(t,(function(e){return 1===e.nodeType})))},M.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!==typeof e)return this.pushStack(M(e).filter((function(){for(t=0;t<n;t++)if(M.contains(i[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)M.find(e,i[t],r);return n>1?M.uniqueSort(r):r},filter:function(e){return this.pushStack(V(this,e||[],!1))},not:function(e){return this.pushStack(V(this,e||[],!0))},is:function(e){return!!V(this,"string"===typeof e&&U.test(e)?M(e):e||[],!1).length}});var Y,W=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Q=M.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||Y,"string"===typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:W.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof M?t[0]:t,M.merge(this,M.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),H.test(n[1])&&M.isPlainObject(t))for(n in t)_(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return i=b.getElementById(n[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==r.ready?r.ready(e):e(M):M.makeArray(e,this)};Q.prototype=M.fn,Y=M(b);var z=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){while((e=e[t])&&1!==e.nodeType);return e}M.fn.extend({has:function(e){var t=M(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(M.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,i=this.length,a=[],o="string"!==typeof e&&M(e);if(!U.test(e))for(;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(o?o.index(r)>-1:1===r.nodeType&&M.find.matchesSelector(r,e))){a.push(r);break}return this.pushStack(a.length>1?M.uniqueSort(a):a)},index:function(e){return e?"string"===typeof e?d.call(M(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(M.uniqueSort(M.merge(this.get(),M(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),M.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return P(e,"parentNode")},parentsUntil:function(e,t,r){return P(e,"parentNode",r)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return P(e,"nextSibling")},prevAll:function(e){return P(e,"previousSibling")},nextUntil:function(e,t,r){return P(e,"nextSibling",r)},prevUntil:function(e,t,r){return P(e,"previousSibling",r)},siblings:function(e){return j((e.parentNode||{}).firstChild,e)},children:function(e){return j(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),M.merge([],e.childNodes))}},(function(e,t){M.fn[e]=function(r,n){var i=M.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"===typeof n&&(i=M.filter(n,i)),this.length>1&&(q[e]||M.uniqueSort(i),z.test(e)&&i.reverse()),this.pushStack(i)}}));var K=/[^\x20\t\r\n\f]+/g;function X(e){var t={};return M.each(e.match(K)||[],(function(e,r){t[r]=!0})),t}function $(e){return e}function Z(e){throw e}function J(e,t,r,n){var i;try{e&&_(i=e.promise)?i.call(e).done(t).fail(r):e&&_(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}M.Callbacks=function(e){e="string"===typeof e?X(e):M.extend({},e);var t,r,n,i,a=[],o=[],s=-1,l=function(){for(i=i||e.once,n=t=!0;o.length;s=-1){r=o.shift();while(++s<a.length)!1===a[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=a.length,r=!1)}e.memory||(r=!1),t=!1,i&&(a=r?[]:"")},c={add:function(){return a&&(r&&!t&&(s=a.length-1,o.push(r)),function t(r){M.each(r,(function(r,n){_(n)?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==E(n)&&t(n)}))}(arguments),r&&!t&&l()),this},remove:function(){return M.each(arguments,(function(e,t){var r;while((r=M.inArray(t,a,r))>-1)a.splice(r,1),r<=s&&s--})),this},has:function(e){return e?M.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=r="",this},disabled:function(){return!a},lock:function(){return i=o=[],r||t||(a=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=r||[],r=[e,r.slice?r.slice():r],o.push(r),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},M.extend({Deferred:function(e){var t=[["notify","progress",M.Callbacks("memory"),M.Callbacks("memory"),2],["resolve","done",M.Callbacks("once memory"),M.Callbacks("once memory"),0,"resolved"],["reject","fail",M.Callbacks("once memory"),M.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return M.Deferred((function(r){M.each(t,(function(t,n){var i=_(e[n[4]])&&e[n[4]];a[n[1]]((function(){var e=i&&i.apply(this,arguments);e&&_(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var a=0;function o(e,t,n,i){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<a)){if(r=n.apply(s,l),r===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"===typeof r||"function"===typeof r)&&r.then,_(c)?i?c.call(r,o(a,t,$,i),o(a,t,Z,i)):(a++,c.call(r,o(a,t,$,i),o(a,t,Z,i),o(a,t,$,t.notifyWith))):(n!==$&&(s=void 0,l=[r]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(r){M.Deferred.exceptionHook&&M.Deferred.exceptionHook(r,u.error),e+1>=a&&(n!==Z&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(M.Deferred.getErrorHook?u.error=M.Deferred.getErrorHook():M.Deferred.getStackHook&&(u.error=M.Deferred.getStackHook()),r.setTimeout(u))}}return M.Deferred((function(r){t[0][3].add(o(0,r,_(i)?i:$,r.notifyWith)),t[1][3].add(o(0,r,_(e)?e:$)),t[2][3].add(o(0,r,_(n)?n:Z))})).promise()},promise:function(e){return null!=e?M.extend(e,i):i}},a={};return M.each(t,(function(e,r){var o=r[2],s=r[5];i[r[1]]=o.add,s&&o.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),a[r[0]]=function(){return a[r[0]+"With"](this===a?void 0:this,arguments),this},a[r[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,r=t,n=Array(r),i=l.call(arguments),a=M.Deferred(),o=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?l.call(arguments):r,--t||a.resolveWith(n,i)}};if(t<=1&&(J(e,a.done(o(r)).resolve,a.reject,!t),"pending"===a.state()||_(i[r]&&i[r].then)))return a.then();while(r--)J(i[r],o(r),a.reject);return a.promise()}});var ee=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;M.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&ee.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},M.readyException=function(e){r.setTimeout((function(){throw e}))};var te=M.Deferred();function re(){b.removeEventListener("DOMContentLoaded",re),r.removeEventListener("load",re),M.ready()}M.fn.ready=function(e){return te.then(e).catch((function(e){M.readyException(e)})),this},M.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--M.readyWait:M.isReady)||(M.isReady=!0,!0!==e&&--M.readyWait>0||te.resolveWith(b,[M]))}}),M.ready.then=te.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(M.ready):(b.addEventListener("DOMContentLoaded",re),r.addEventListener("load",re));var ne=function(e,t,r,n,i,a,o){var s=0,l=e.length,c=null==r;if("object"===E(r))for(s in i=!0,r)ne(e,t,s,r[s],!0,a,o);else if(void 0!==n&&(i=!0,_(n)||(o=!0),c&&(o?(t.call(e,n),t=null):(c=t,t=function(e,t,r){return c.call(M(e),r)})),t))for(;s<l;s++)t(e[s],r,o?n:n.call(e[s],s,t(e[s],r)));return i?e:c?t.call(e):l?t(e[0],r):a},ie=/^-ms-/,ae=/-([a-z])/g;function oe(e,t){return t.toUpperCase()}function se(e){return e.replace(ie,"ms-").replace(ae,oe)}var le=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ce(){this.expando=M.expando+ce.uid++}ce.uid=1,ce.prototype={cache:function(e){var t=e[this.expando];return t||(t={},le(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,i=this.cache(e);if("string"===typeof t)i[se(t)]=r;else for(n in t)i[se(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][se(t)]},access:function(e,t,r){return void 0===t||t&&"string"===typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){Array.isArray(t)?t=t.map(se):(t=se(t),t=t in n?[t]:t.match(K)||[]),r=t.length;while(r--)delete n[t[r]]}(void 0===t||M.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!M.isEmptyObject(t)}};var ue=new ce,de=new ce,he=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pe=/[A-Z]/g;function fe(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:he.test(e)?JSON.parse(e):e)}function me(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(pe,"-$&").toLowerCase(),r=e.getAttribute(n),"string"===typeof r){try{r=fe(r)}catch(i){}de.set(e,t,r)}else r=void 0;return r}M.extend({hasData:function(e){return de.hasData(e)||ue.hasData(e)},data:function(e,t,r){return de.access(e,t,r)},removeData:function(e,t){de.remove(e,t)},_data:function(e,t,r){return ue.access(e,t,r)},_removeData:function(e,t){ue.remove(e,t)}}),M.fn.extend({data:function(e,t){var r,n,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=de.get(a),1===a.nodeType&&!ue.get(a,"hasDataAttrs"))){r=o.length;while(r--)o[r]&&(n=o[r].name,0===n.indexOf("data-")&&(n=se(n.slice(5)),me(a,n,i[n])));ue.set(a,"hasDataAttrs",!0)}return i}return"object"===typeof e?this.each((function(){de.set(this,e)})):ne(this,(function(t){var r;if(a&&void 0===t)return r=de.get(a,e),void 0!==r?r:(r=me(a,e),void 0!==r?r:void 0);this.each((function(){de.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){de.remove(this,e)}))}}),M.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=ue.get(e,t),r&&(!n||Array.isArray(r)?n=ue.access(e,t,M.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=M.queue(e,t),n=r.length,i=r.shift(),a=M._queueHooks(e,t),o=function(){M.dequeue(e,t)};"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete a.stop,i.call(e,o,a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return ue.get(e,r)||ue.access(e,r,{empty:M.Callbacks("once memory").add((function(){ue.remove(e,[t+"queue",r])}))})}}),M.fn.extend({queue:function(e,t){var r=2;return"string"!==typeof e&&(t=e,e="fx",r--),arguments.length<r?M.queue(this[0],e):void 0===t?this:this.each((function(){var r=M.queue(this,e,t);M._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&M.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){M.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=M.Deferred(),a=this,o=this.length,s=function(){--n||i.resolveWith(a,[a])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(o--)r=ue.get(a[o],e+"queueHooks"),r&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var Ae=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ge=new RegExp("^(?:([+-])=|)("+Ae+")([a-z%]*)$","i"),_e=["Top","Right","Bottom","Left"],ve=b.documentElement,be=function(e){return M.contains(e.ownerDocument,e)},we={composed:!0};ve.getRootNode&&(be=function(e){return M.contains(e.ownerDocument,e)||e.getRootNode(we)===e.ownerDocument});var ye=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&be(e)&&"none"===M.css(e,"display")};function Ee(e,t,r,n){var i,a,o=20,s=n?function(){return n.cur()}:function(){return M.css(e,t,"")},l=s(),c=r&&r[3]||(M.cssNumber[t]?"":"px"),u=e.nodeType&&(M.cssNumber[t]||"px"!==c&&+l)&&ge.exec(M.css(e,t));if(u&&u[3]!==c){l/=2,c=c||u[3],u=+l||1;while(o--)M.style(e,t,u+c),(1-a)*(1-(a=s()/l||.5))<=0&&(o=0),u/=a;u*=2,M.style(e,t,u+c),r=r||[]}return r&&(u=+u||+l||0,i=r[1]?u+(r[1]+1)*r[2]:+r[2],n&&(n.unit=c,n.start=u,n.end=i)),i}var Ce={};function Se(e){var t,r=e.ownerDocument,n=e.nodeName,i=Ce[n];return i||(t=r.body.appendChild(r.createElement(n)),i=M.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ce[n]=i,i)}function Me(e,t){for(var r,n,i=[],a=0,o=e.length;a<o;a++)n=e[a],n.style&&(r=n.style.display,t?("none"===r&&(i[a]=ue.get(n,"display")||null,i[a]||(n.style.display="")),""===n.style.display&&ye(n)&&(i[a]=Se(n))):"none"!==r&&(i[a]="none",ue.set(n,"display",r)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}M.fn.extend({show:function(){return Me(this,!0)},hide:function(){return Me(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){ye(this)?M(this).show():M(this).hide()}))}});var xe=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Oe=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=b.createDocumentFragment(),t=e.appendChild(b.createElement("div")),r=b.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),t.appendChild(r),g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",g.option=!!t.lastChild})();var Ne={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Re(e,t){var r;return r="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?M.merge([e],r):r}function Le(e,t){for(var r=0,n=e.length;r<n;r++)ue.set(e[r],"globalEval",!t||ue.get(t[r],"globalEval"))}Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,g.option||(Ne.optgroup=Ne.option=[1,"<select multiple='multiple'>","</select>"]);var Ie=/<|&#?\w+;/;function ke(e,t,r,n,i){for(var a,o,s,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if(a=e[p],a||0===a)if("object"===E(a))M.merge(h,a.nodeType?[a]:a);else if(Ie.test(a)){o=o||d.appendChild(t.createElement("div")),s=(Te.exec(a)||["",""])[1].toLowerCase(),l=Ne[s]||Ne._default,o.innerHTML=l[1]+M.htmlPrefilter(a)+l[2],u=l[0];while(u--)o=o.lastChild;M.merge(h,o.childNodes),o=d.firstChild,o.textContent=""}else h.push(t.createTextNode(a));d.textContent="",p=0;while(a=h[p++])if(n&&M.inArray(a,n)>-1)i&&i.push(a);else if(c=be(a),o=Re(d.appendChild(a),"script"),c&&Le(o),r){u=0;while(a=o[u++])Oe.test(a.type||"")&&r.push(a)}return d}var Be=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Fe(){return!1}function Pe(e,t,r,n,i,a){var o,s;if("object"===typeof t){for(s in"string"!==typeof r&&(n=n||r,r=void 0),t)Pe(e,s,r,n,t[s],a);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"===typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Fe;else if(!i)return e;return 1===a&&(o=i,i=function(e){return M().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=M.guid++)),e.each((function(){M.event.add(this,t,i,n,r)}))}function je(e,t,r){r?(ue.set(e,t,!1),M.event.add(e,t,{namespace:!1,handler:function(e){var r,n=ue.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(M.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=l.call(arguments),ue.set(this,t,n),this[t](),r=ue.get(this,t),ue.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(ue.set(this,t,M.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=De)}})):void 0===ue.get(e,t)&&M.event.add(e,t,De)}M.event={global:{},add:function(e,t,r,n,i){var a,o,s,l,c,u,d,h,p,f,m,A=ue.get(e);if(le(e)){r.handler&&(a=r,r=a.handler,i=a.selector),i&&M.find.matchesSelector(ve,i),r.guid||(r.guid=M.guid++),(l=A.events)||(l=A.events=Object.create(null)),(o=A.handle)||(o=A.handle=function(t){return"undefined"!==typeof M&&M.event.triggered!==t.type?M.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(K)||[""],c=t.length;while(c--)s=Be.exec(t[c])||[],p=m=s[1],f=(s[2]||"").split(".").sort(),p&&(d=M.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=M.event.special[p]||{},u=M.extend({type:p,origType:m,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&M.expr.match.needsContext.test(i),namespace:f.join(".")},a),(h=l[p])||(h=l[p]=[],h.delegateCount=0,d.setup&&!1!==d.setup.call(e,n,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=r.guid)),i?h.splice(h.delegateCount++,0,u):h.push(u),M.event.global[p]=!0)}},remove:function(e,t,r,n,i){var a,o,s,l,c,u,d,h,p,f,m,A=ue.hasData(e)&&ue.get(e);if(A&&(l=A.events)){t=(t||"").match(K)||[""],c=t.length;while(c--)if(s=Be.exec(t[c])||[],p=m=s[1],f=(s[2]||"").split(".").sort(),p){d=M.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,h=l[p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;while(a--)u=h[a],!i&&m!==u.origType||r&&r.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(a,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,A.handle)||M.removeEvent(e,p,A.handle),delete l[p])}else for(p in l)M.event.remove(e,p+t[c],r,n,!0);M.isEmptyObject(l)&&ue.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,a,o,s=new Array(arguments.length),l=M.event.fix(e),c=(ue.get(this,"events")||Object.create(null))[l.type]||[],u=M.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){o=M.event.handlers.call(this,l,c),t=0;while((i=o[t++])&&!l.isPropagationStopped()){l.currentTarget=i.elem,r=0;while((a=i.handlers[r++])&&!l.isImmediatePropagationStopped())l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,n=((M.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s),void 0!==n&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()))}return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var r,n,i,a,o,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},r=0;r<l;r++)n=t[r],i=n.selector+" ",void 0===o[i]&&(o[i]=n.needsContext?M(i,this).index(c)>-1:M.find(i,this,null,[c]).length),o[i]&&a.push(n);a.length&&s.push({elem:c,handlers:a})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(M.Event.prototype,e,{enumerable:!0,configurable:!0,get:_(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[M.expando]?e:new M.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return xe.test(t.type)&&t.click&&T(t,"input")&&je(t,"click",!0),!1},trigger:function(e){var t=this||e;return xe.test(t.type)&&t.click&&T(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return xe.test(t.type)&&t.click&&T(t,"input")&&ue.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},M.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},M.Event=function(e,t){if(!(this instanceof M.Event))return new M.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?De:Fe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&M.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[M.expando]=!0},M.Event.prototype={constructor:M.Event,isDefaultPrevented:Fe,isPropagationStopped:Fe,isImmediatePropagationStopped:Fe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},M.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},M.event.addProp),M.each({focus:"focusin",blur:"focusout"},(function(e,t){function r(e){if(b.documentMode){var r=ue.get(this,"handle"),n=M.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else M.event.simulate(t,e.target,M.event.fix(e))}M.event.special[e]={setup:function(){var n;if(je(this,e,!0),!b.documentMode)return!1;n=ue.get(this,t),n||this.addEventListener(t,r),ue.set(this,t,(n||0)+1)},trigger:function(){return je(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;e=ue.get(this,t)-1,e?ue.set(this,t,e):(this.removeEventListener(t,r),ue.remove(this,t))},_default:function(t){return ue.get(t.target,e)},delegateType:t},M.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,a=ue.get(i,t);a||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),ue.set(i,t,(a||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,a=ue.get(i,t)-1;a?ue.set(i,t,a):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),ue.remove(i,t))}}})),M.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){M.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===n||M.contains(n,i))||(e.type=a.origType,r=a.handler.apply(this,arguments),e.type=t),r}}})),M.fn.extend({on:function(e,t,r,n){return Pe(this,e,t,r,n)},one:function(e,t,r,n){return Pe(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,M(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"===typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!==typeof t||(r=t,t=void 0),!1===r&&(r=Fe),this.each((function(){M.event.remove(this,e,r,t)}))}});var Ue=/<script|<style|<link/i,He=/checked\s*(?:[^=]|=\s*.checked.)/i,Ve=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ye(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&M(e).children("tbody")[0]||e}function We(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ze(e,t){var r,n,i,a,o,s,l;if(1===t.nodeType){if(ue.hasData(e)&&(a=ue.get(e),l=a.events,l))for(i in ue.remove(t,"handle events"),l)for(r=0,n=l[i].length;r<n;r++)M.event.add(t,i,l[i][r]);de.hasData(e)&&(o=de.access(e),s=M.extend({},o),de.set(t,s))}}function qe(e,t){var r=t.nodeName.toLowerCase();"input"===r&&xe.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ge(e,t,r,n){t=c(t);var i,a,o,s,l,u,d=0,h=e.length,p=h-1,f=t[0],m=_(f);if(m||h>1&&"string"===typeof f&&!g.checkClone&&He.test(f))return e.each((function(i){var a=e.eq(i);m&&(t[0]=f.call(this,i,a.html())),Ge(a,t,r,n)}));if(h&&(i=ke(t,e[0].ownerDocument,!1,e,n),a=i.firstChild,1===i.childNodes.length&&(i=a),a||n)){for(o=M.map(Re(i,"script"),We),s=o.length;d<h;d++)l=i,d!==p&&(l=M.clone(l,!0,!0),s&&M.merge(o,Re(l,"script"))),r.call(e[d],l,d);if(s)for(u=o[o.length-1].ownerDocument,M.map(o,Qe),d=0;d<s;d++)l=o[d],Oe.test(l.type||"")&&!ue.access(l,"globalEval")&&M.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?M._evalUrl&&!l.noModule&&M._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):y(l.textContent.replace(Ve,""),l,u))}return e}function Ke(e,t,r){for(var n,i=t?M.filter(t,e):e,a=0;null!=(n=i[a]);a++)r||1!==n.nodeType||M.cleanData(Re(n)),n.parentNode&&(r&&be(n)&&Le(Re(n,"script")),n.parentNode.removeChild(n));return e}M.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,i,a,o,s=e.cloneNode(!0),l=be(e);if(!g.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!M.isXMLDoc(e))for(o=Re(s),a=Re(e),n=0,i=a.length;n<i;n++)qe(a[n],o[n]);if(t)if(r)for(a=a||Re(e),o=o||Re(s),n=0,i=a.length;n<i;n++)ze(a[n],o[n]);else ze(e,s);return o=Re(s,"script"),o.length>0&&Le(o,!l&&Re(e,"script")),s},cleanData:function(e){for(var t,r,n,i=M.event.special,a=0;void 0!==(r=e[a]);a++)if(le(r)){if(t=r[ue.expando]){if(t.events)for(n in t.events)i[n]?M.event.remove(r,n):M.removeEvent(r,n,t.handle);r[ue.expando]=void 0}r[de.expando]&&(r[de.expando]=void 0)}}}),M.fn.extend({detach:function(e){return Ke(this,e,!0)},remove:function(e){return Ke(this,e)},text:function(e){return ne(this,(function(e){return void 0===e?M.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ye(this,e);t.appendChild(e)}}))},prepend:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ye(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(M.cleanData(Re(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return M.clone(this,e,t)}))},html:function(e){return ne(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Ue.test(e)&&!Ne[(Te.exec(e)||["",""])[1].toLowerCase()]){e=M.htmlPrefilter(e);try{for(;r<n;r++)t=this[r]||{},1===t.nodeType&&(M.cleanData(Re(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,(function(t){var r=this.parentNode;M.inArray(this,e)<0&&(M.cleanData(Re(this)),r&&r.replaceChild(t,this))}),e)}}),M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){M.fn[e]=function(e){for(var r,n=[],i=M(e),a=i.length-1,o=0;o<=a;o++)r=o===a?this:this.clone(!0),M(i[o])[t](r),u.apply(n,r.get());return this.pushStack(n)}}));var Xe=new RegExp("^("+Ae+")(?!px)[a-z%]+$","i"),$e=/^--/,Ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Je=function(e,t,r){var n,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in n=r.call(e),t)e.style[i]=a[i];return n},et=new RegExp(_e.join("|"),"i");function tt(e,t,r){var n,i,a,o,s=$e.test(t),l=e.style;return r=r||Ze(e),r&&(o=r.getPropertyValue(t)||r[t],s&&o&&(o=o.replace(I,"$1")||void 0),""!==o||be(e)||(o=M.style(e,t)),!g.pixelBoxStyles()&&Xe.test(o)&&et.test(t)&&(n=l.width,i=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=r.width,l.width=n,l.minWidth=i,l.maxWidth=a)),void 0!==o?o+"":o}function rt(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ve.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),i=36===t(e.width),u.style.position="absolute",a=12===t(u.offsetWidth/3),ve.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,i,a,o,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,M.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ve.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ve.removeChild(e)),s}}))})();var nt=["Webkit","Moz","ms"],it=b.createElement("div").style,at={};function ot(e){var t=e[0].toUpperCase()+e.slice(1),r=nt.length;while(r--)if(e=nt[r]+t,e in it)return e}function st(e){var t=M.cssProps[e]||at[e];return t||(e in it?e:at[e]=ot(e)||e)}var lt=/^(none|table(?!-c[ea]).+)/,ct={position:"absolute",visibility:"hidden",display:"block"},ut={letterSpacing:"0",fontWeight:"400"};function dt(e,t,r){var n=ge.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ht(e,t,r,n,i,a){var o="width"===t?1:0,s=0,l=0,c=0;if(r===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(c+=M.css(e,r+_e[o],!0,i)),n?("content"===r&&(l-=M.css(e,"padding"+_e[o],!0,i)),"margin"!==r&&(l-=M.css(e,"border"+_e[o]+"Width",!0,i))):(l+=M.css(e,"padding"+_e[o],!0,i),"padding"!==r?l+=M.css(e,"border"+_e[o]+"Width",!0,i):s+=M.css(e,"border"+_e[o]+"Width",!0,i));return!n&&a>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l+c}function pt(e,t,r){var n=Ze(e),i=!g.boxSizingReliable()||r,a=i&&"border-box"===M.css(e,"boxSizing",!1,n),o=a,s=tt(e,t,n),l="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(s)){if(!r)return s;s="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&T(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===M.css(e,"display",!1,n))&&e.getClientRects().length&&(a="border-box"===M.css(e,"boxSizing",!1,n),o=l in e,o&&(s=e[l])),s=parseFloat(s)||0,s+ht(e,t,r||(a?"border":"content"),o,n,s)+"px"}function ft(e,t,r,n,i){return new ft.prototype.init(e,t,r,n,i)}M.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=tt(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=se(t),l=$e.test(t),c=e.style;if(l||(t=st(s)),o=M.cssHooks[t]||M.cssHooks[s],void 0===r)return o&&"get"in o&&void 0!==(i=o.get(e,!1,n))?i:c[t];a=typeof r,"string"===a&&(i=ge.exec(r))&&i[1]&&(r=Ee(e,t,i),a="number"),null!=r&&r===r&&("number"!==a||l||(r+=i&&i[3]||(M.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(e,r,n))||(l?c.setProperty(t,r):c[t]=r))}},css:function(e,t,r,n){var i,a,o,s=se(t),l=$e.test(t);return l||(t=st(s)),o=M.cssHooks[t]||M.cssHooks[s],o&&"get"in o&&(i=o.get(e,!0,r)),void 0===i&&(i=tt(e,t,n)),"normal"===i&&t in ut&&(i=ut[t]),""===r||r?(a=parseFloat(i),!0===r||isFinite(a)?a||0:i):i}}),M.each(["height","width"],(function(e,t){M.cssHooks[t]={get:function(e,r,n){if(r)return!lt.test(M.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?pt(e,t,n):Je(e,ct,(function(){return pt(e,t,n)}))},set:function(e,r,n){var i,a=Ze(e),o=!g.scrollboxSize()&&"absolute"===a.position,s=o||n,l=s&&"border-box"===M.css(e,"boxSizing",!1,a),c=n?ht(e,t,n,l,a):0;return l&&o&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-ht(e,t,"border",!1,a)-.5)),c&&(i=ge.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=M.css(e,t)),dt(e,r,c)}}})),M.cssHooks.marginLeft=rt(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(tt(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),M.each({margin:"",padding:"",border:"Width"},(function(e,t){M.cssHooks[e+t]={expand:function(r){for(var n=0,i={},a="string"===typeof r?r.split(" "):[r];n<4;n++)i[e+_e[n]+t]=a[n]||a[n-2]||a[0];return i}},"margin"!==e&&(M.cssHooks[e+t].set=dt)})),M.fn.extend({css:function(e,t){return ne(this,(function(e,t,r){var n,i,a={},o=0;if(Array.isArray(t)){for(n=Ze(e),i=t.length;o<i;o++)a[t[o]]=M.css(e,t[o],!1,n);return a}return void 0!==r?M.style(e,t,r):M.css(e,t)}),e,t,arguments.length>1)}}),M.Tween=ft,ft.prototype={constructor:ft,init:function(e,t,r,n,i,a){this.elem=e,this.prop=r,this.easing=i||M.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(M.cssNumber[r]?"":"px")},cur:function(){var e=ft.propHooks[this.prop];return e&&e.get?e.get(this):ft.propHooks._default.get(this)},run:function(e){var t,r=ft.propHooks[this.prop];return this.options.duration?this.pos=t=M.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):ft.propHooks._default.set(this),this}},ft.prototype.init.prototype=ft.prototype,ft.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=M.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){M.fx.step[e.prop]?M.fx.step[e.prop](e):1!==e.elem.nodeType||!M.cssHooks[e.prop]&&null==e.elem.style[st(e.prop)]?e.elem[e.prop]=e.now:M.style(e.elem,e.prop,e.now+e.unit)}}},ft.propHooks.scrollTop=ft.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},M.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},M.fx=ft.prototype.init,M.fx.step={};var mt,At,gt=/^(?:toggle|show|hide)$/,_t=/queueHooks$/;function vt(){At&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(vt):r.setTimeout(vt,M.fx.interval),M.fx.tick())}function bt(){return r.setTimeout((function(){mt=void 0})),mt=Date.now()}function wt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)r=_e[n],i["margin"+r]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function yt(e,t,r){for(var n,i=(St.tweeners[t]||[]).concat(St.tweeners["*"]),a=0,o=i.length;a<o;a++)if(n=i[a].call(r,t,e))return n}function Et(e,t,r){var n,i,a,o,s,l,c,u,d="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&ye(e),A=ue.get(e,"fxshow");for(n in r.queue||(o=M._queueHooks(e,"fx"),null==o.unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,h.always((function(){h.always((function(){o.unqueued--,M.queue(e,"fx").length||o.empty.fire()}))}))),t)if(i=t[n],gt.test(i)){if(delete t[n],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!A||void 0===A[n])continue;m=!0}p[n]=A&&A[n]||M.style(e,n)}if(l=!M.isEmptyObject(t),l||!M.isEmptyObject(p))for(n in d&&1===e.nodeType&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],c=A&&A.display,null==c&&(c=ue.get(e,"display")),u=M.css(e,"display"),"none"===u&&(c?u=c:(Me([e],!0),c=e.style.display||c,u=M.css(e,"display"),Me([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===M.css(e,"float")&&(l||(h.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),r.overflow&&(f.overflow="hidden",h.always((function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.overflow[2]}))),l=!1,p)l||(A?"hidden"in A&&(m=A.hidden):A=ue.access(e,"fxshow",{display:c}),a&&(A.hidden=!m),m&&Me([e],!0),h.done((function(){for(n in m||Me([e]),ue.remove(e,"fxshow"),p)M.style(e,n,p[n])}))),l=yt(m?A[n]:0,n,h),n in A||(A[n]=l.start,m&&(l.end=l.start,l.start=0))}function Ct(e,t){var r,n,i,a,o;for(r in e)if(n=se(r),i=t[n],a=e[r],Array.isArray(a)&&(i=a[1],a=e[r]=a[0]),r!==n&&(e[n]=a,delete e[r]),o=M.cssHooks[n],o&&"expand"in o)for(r in a=o.expand(a),delete e[n],a)r in e||(e[r]=a[r],t[r]=i);else t[n]=i}function St(e,t,r){var n,i,a=0,o=St.prefilters.length,s=M.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=mt||bt(),r=Math.max(0,c.startTime+c.duration-t),n=r/c.duration||0,a=1-n,o=0,l=c.tweens.length;o<l;o++)c.tweens[o].run(a);return s.notifyWith(e,[c,a,r]),a<1&&l?r:(l||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:M.extend({},t),opts:M.extend(!0,{specialEasing:{},easing:M.easing._default},r),originalProperties:t,originalOptions:r,startTime:mt||bt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=M.Tween(e,c.opts,t,r,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var r=0,n=t?c.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)c.tweens[r].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(Ct(u,c.opts.specialEasing);a<o;a++)if(n=St.prefilters[a].call(c,e,u,c.opts),n)return _(n.stop)&&(M._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return M.map(u,yt,c),_(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),M.fx.timer(M.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}M.Animation=M.extend(St,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return Ee(r.elem,e,ge.exec(t),r),r}]},tweener:function(e,t){_(e)?(t=e,e=["*"]):e=e.match(K);for(var r,n=0,i=e.length;n<i;n++)r=e[n],St.tweeners[r]=St.tweeners[r]||[],St.tweeners[r].unshift(t)},prefilters:[Et],prefilter:function(e,t){t?St.prefilters.unshift(e):St.prefilters.push(e)}}),M.speed=function(e,t,r){var n=e&&"object"===typeof e?M.extend({},e):{complete:r||!r&&t||_(e)&&e,duration:e,easing:r&&t||t&&!_(t)&&t};return M.fx.off?n.duration=0:"number"!==typeof n.duration&&(n.duration in M.fx.speeds?n.duration=M.fx.speeds[n.duration]:n.duration=M.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){_(n.old)&&n.old.call(this),n.queue&&M.dequeue(this,n.queue)},n},M.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=M.isEmptyObject(e),a=M.speed(t,r,n),o=function(){var t=St(this,M.extend({},e),a);(i||ue.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!==typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=M.timers,o=ue.get(this);if(i)o[i]&&o[i].stop&&n(o[i]);else for(i in o)o[i]&&o[i].stop&&_t.test(i)&&n(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(r),t=!1,a.splice(i,1));!t&&r||M.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=ue.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],a=M.timers,o=n?n.length:0;for(r.finish=!0,M.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),M.each(["toggle","show","hide"],(function(e,t){var r=M.fn[t];M.fn[t]=function(e,n,i){return null==e||"boolean"===typeof e?r.apply(this,arguments):this.animate(wt(t,!0),e,n,i)}})),M.each({slideDown:wt("show"),slideUp:wt("hide"),slideToggle:wt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){M.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),M.timers=[],M.fx.tick=function(){var e,t=0,r=M.timers;for(mt=Date.now();t<r.length;t++)e=r[t],e()||r[t]!==e||r.splice(t--,1);r.length||M.fx.stop(),mt=void 0},M.fx.timer=function(e){M.timers.push(e),M.fx.start()},M.fx.interval=13,M.fx.start=function(){At||(At=!0,vt())},M.fx.stop=function(){At=null},M.fx.speeds={slow:600,fast:200,_default:400},M.fn.delay=function(e,t){return e=M.fx&&M.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select"),r=t.appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=r.selected,e=b.createElement("input"),e.value="t",e.type="radio",g.radioValue="t"===e.value}();var Mt,xt=M.expr.attrHandle;M.fn.extend({attr:function(e,t){return ne(this,M.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){M.removeAttr(this,e)}))}}),M.extend({attr:function(e,t,r){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"===typeof e.getAttribute?M.prop(e,t,r):(1===a&&M.isXMLDoc(e)||(i=M.attrHooks[t.toLowerCase()]||(M.expr.match.bool.test(t)?Mt:void 0)),void 0!==r?null===r?void M.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:(n=M.find.attr(e,t),null==n?void 0:n))},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(K);if(i&&1===e.nodeType)while(r=i[n++])e.removeAttribute(r)}}),Mt={set:function(e,t,r){return!1===t?M.removeAttr(e,r):e.setAttribute(r,r),r}},M.each(M.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=xt[t]||M.find.attr;xt[t]=function(e,t,n){var i,a,o=t.toLowerCase();return n||(a=xt[o],xt[o]=i,i=null!=r(e,t,n)?o:null,xt[o]=a),i}}));var Tt=/^(?:input|select|textarea|button)$/i,Ot=/^(?:a|area)$/i;function Nt(e){var t=e.match(K)||[];return t.join(" ")}function Rt(e){return e.getAttribute&&e.getAttribute("class")||""}function Lt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(K)||[]}M.fn.extend({prop:function(e,t){return ne(this,M.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[M.propFix[e]||e]}))}}),M.extend({prop:function(e,t,r){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&M.isXMLDoc(e)||(t=M.propFix[t]||t,i=M.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=M.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||Ot.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(M.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),M.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){M.propFix[this.toLowerCase()]=this})),M.fn.extend({addClass:function(e){var t,r,n,i,a,o;return _(e)?this.each((function(t){M(this).addClass(e.call(this,t,Rt(this)))})):(t=Lt(e),t.length?this.each((function(){if(n=Rt(this),r=1===this.nodeType&&" "+Nt(n)+" ",r){for(a=0;a<t.length;a++)i=t[a],r.indexOf(" "+i+" ")<0&&(r+=i+" ");o=Nt(r),n!==o&&this.setAttribute("class",o)}})):this)},removeClass:function(e){var t,r,n,i,a,o;return _(e)?this.each((function(t){M(this).removeClass(e.call(this,t,Rt(this)))})):arguments.length?(t=Lt(e),t.length?this.each((function(){if(n=Rt(this),r=1===this.nodeType&&" "+Nt(n)+" ",r){for(a=0;a<t.length;a++){i=t[a];while(r.indexOf(" "+i+" ")>-1)r=r.replace(" "+i+" "," ")}o=Nt(r),n!==o&&this.setAttribute("class",o)}})):this):this.attr("class","")},toggleClass:function(e,t){var r,n,i,a,o=typeof e,s="string"===o||Array.isArray(e);return _(e)?this.each((function(r){M(this).toggleClass(e.call(this,r,Rt(this),t),t)})):"boolean"===typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=Lt(e),this.each((function(){if(s)for(a=M(this),i=0;i<r.length;i++)n=r[i],a.hasClass(n)?a.removeClass(n):a.addClass(n);else void 0!==e&&"boolean"!==o||(n=Rt(this),n&&ue.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":ue.get(this,"__className__")||""))})))},hasClass:function(e){var t,r,n=0;t=" "+e+" ";while(r=this[n++])if(1===r.nodeType&&(" "+Nt(Rt(r))+" ").indexOf(t)>-1)return!0;return!1}});var It=/\r/g;M.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=_(e),this.each((function(r){var i;1===this.nodeType&&(i=n?e.call(this,r,M(this).val()):e,null==i?i="":"number"===typeof i?i+="":Array.isArray(i)&&(i=M.map(i,(function(e){return null==e?"":e+""}))),t=M.valHooks[this.type]||M.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=M.valHooks[i.type]||M.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:(r=i.value,"string"===typeof r?r.replace(It,""):null==r?"":r)):void 0}}),M.extend({valHooks:{option:{get:function(e){var t=M.find.attr(e,"value");return null!=t?t:Nt(M.text(e))}},select:{get:function(e){var t,r,n,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(n=a<0?l:o?a:0;n<l;n++)if(r=i[n],(r.selected||n===a)&&!r.disabled&&(!r.parentNode.disabled||!T(r.parentNode,"optgroup"))){if(t=M(r).val(),o)return t;s.push(t)}return s},set:function(e,t){var r,n,i=e.options,a=M.makeArray(t),o=i.length;while(o--)n=i[o],(n.selected=M.inArray(M.valHooks.option.get(n),a)>-1)&&(r=!0);return r||(e.selectedIndex=-1),a}}}}),M.each(["radio","checkbox"],(function(){M.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=M.inArray(M(e).val(),t)>-1}},g.checkOn||(M.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var kt=r.location,Bt={guid:Date.now()},Dt=/\?/;M.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(i){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||M.error("Invalid XML: "+(n?M.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Ft=/^(?:focusinfocus|focusoutblur)$/,Pt=function(e){e.stopPropagation()};M.extend(M.event,{trigger:function(e,t,n,i){var a,o,s,l,c,u,d,h,p=[n||b],m=f.call(e,"type")?e.type:e,A=f.call(e,"namespace")?e.namespace.split("."):[];if(o=h=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ft.test(m+M.event.triggered)&&(m.indexOf(".")>-1&&(A=m.split("."),m=A.shift(),A.sort()),c=m.indexOf(":")<0&&"on"+m,e=e[M.expando]?e:new M.Event(m,"object"===typeof e&&e),e.isTrigger=i?2:3,e.namespace=A.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+A.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:M.makeArray(t,[e]),d=M.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!v(n)){for(l=d.delegateType||m,Ft.test(l+m)||(o=o.parentNode);o;o=o.parentNode)p.push(o),s=o;s===(n.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||r)}a=0;while((o=p[a++])&&!e.isPropagationStopped())h=o,e.type=a>1?l:d.bindType||m,u=(ue.get(o,"events")||Object.create(null))[e.type]&&ue.get(o,"handle"),u&&u.apply(o,t),u=c&&o[c],u&&u.apply&&le(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!le(n)||c&&_(n[m])&&!v(n)&&(s=n[c],s&&(n[c]=null),M.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,Pt),n[m](),e.isPropagationStopped()&&h.removeEventListener(m,Pt),M.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,r){var n=M.extend(new M.Event,r,{type:e,isSimulated:!0});M.event.trigger(n,null,t)}}),M.fn.extend({trigger:function(e,t){return this.each((function(){M.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return M.event.trigger(e,t,r,!0)}});var jt=/\[\]$/,Ut=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Vt=/^(?:input|select|textarea|keygen)/i;function Yt(e,t,r,n){var i;if(Array.isArray(t))M.each(t,(function(t,i){r||jt.test(e)?n(e,i):Yt(e+"["+("object"===typeof i&&null!=i?t:"")+"]",i,r,n)}));else if(r||"object"!==E(t))n(e,t);else for(i in t)Yt(e+"["+i+"]",t[i],r,n)}M.param=function(e,t){var r,n=[],i=function(e,t){var r=_(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!M.isPlainObject(e))M.each(e,(function(){i(this.name,this.value)}));else for(r in e)Yt(r,e[r],t,i);return n.join("&")},M.fn.extend({serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=M.prop(this,"elements");return e?M.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!M(this).is(":disabled")&&Vt.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!xe.test(e))})).map((function(e,t){var r=M(this).val();return null==r?null:Array.isArray(r)?M.map(r,(function(e){return{name:t.name,value:e.replace(Ut,"\r\n")}})):{name:t.name,value:r.replace(Ut,"\r\n")}})).get()}});var Wt=/%20/g,Qt=/#.*$/,zt=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Gt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Kt=/^(?:GET|HEAD)$/,Xt=/^\/\//,$t={},Zt={},Jt="*/".concat("*"),er=b.createElement("a");function tr(e){return function(t,r){"string"!==typeof t&&(r=t,t="*");var n,i=0,a=t.toLowerCase().match(K)||[];if(_(r))while(n=a[i++])"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function rr(e,t,r,n){var i={},a=e===Zt;function o(s){var l;return i[s]=!0,M.each(e[s]||[],(function(e,s){var c=s(t,r,n);return"string"!==typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function nr(e,t){var r,n,i=M.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&M.extend(!0,e,n),e}function ir(e,t,r){var n,i,a,o,s=e.contents,l=e.dataTypes;while("*"===l[0])l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){l.unshift(i);break}if(l[0]in r)a=l[0];else{for(i in r){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),r[a]}function ar(e,t,r,n){var i,a,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];a=u.shift();while(a)if(e.responseFields[a]&&(r[e.responseFields[a]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift(),a)if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=c[l+" "+a]||c["* "+a],!o)for(i in c)if(s=i.split(" "),s[1]===a&&(o=c[l+" "+s[0]]||c["* "+s[0]],o)){!0===o?o=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(d){return{state:"parsererror",error:o?d:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}er.href=kt.href,M.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:Gt.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":M.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?nr(nr(e,M.ajaxSettings),t):nr(M.ajaxSettings,e)},ajaxPrefilter:tr($t),ajaxTransport:tr(Zt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,i,a,o,s,l,c,u,d,h,p=M.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?M(f):M.event,A=M.Deferred(),g=M.Callbacks("once memory"),_=p.statusCode||{},v={},w={},y="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o){o={};while(t=qt.exec(a))o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,v[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||y;return n&&n.abort(t),C(0,t),this}};if(A.promise(E),p.url=((e||p.url||kt.href)+"").replace(Xt,kt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(K)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=er.protocol+"//"+er.host!==l.protocol+"//"+l.host}catch(S){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!==typeof p.data&&(p.data=M.param(p.data,p.traditional)),rr($t,p,t,E),c)return E;for(d in u=M.event&&p.global,u&&0===M.active++&&M.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Kt.test(p.type),i=p.url.replace(Qt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Wt,"+")):(h=p.url.slice(i.length),p.data&&(p.processData||"string"===typeof p.data)&&(i+=(Dt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(zt,"$1"),h=(Dt.test(i)?"&":"?")+"_="+Bt.guid+++h),p.url=i+h),p.ifModified&&(M.lastModified[i]&&E.setRequestHeader("If-Modified-Since",M.lastModified[i]),M.etag[i]&&E.setRequestHeader("If-None-Match",M.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Jt+"; q=0.01":""):p.accepts["*"]),p.headers)E.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,E,p)||c))return E.abort();if(y="abort",g.add(p.complete),E.done(p.success),E.fail(p.error),n=rr(Zt,p,t,E),n){if(E.readyState=1,u&&m.trigger("ajaxSend",[E,p]),c)return E;p.async&&p.timeout>0&&(s=r.setTimeout((function(){E.abort("timeout")}),p.timeout));try{c=!1,n.send(v,C)}catch(S){if(c)throw S;C(-1,S)}}else C(-1,"No Transport");function C(e,t,o,l){var d,h,v,b,w,y=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,a=l||"",E.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(b=ir(p,E,o)),!d&&M.inArray("script",p.dataTypes)>-1&&M.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=ar(p,b,E,d),d?(p.ifModified&&(w=E.getResponseHeader("Last-Modified"),w&&(M.lastModified[i]=w),w=E.getResponseHeader("etag"),w&&(M.etag[i]=w)),204===e||"HEAD"===p.type?y="nocontent":304===e?y="notmodified":(y=b.state,h=b.data,v=b.error,d=!v)):(v=y,!e&&y||(y="error",e<0&&(e=0))),E.status=e,E.statusText=(t||y)+"",d?A.resolveWith(f,[h,y,E]):A.rejectWith(f,[E,y,v]),E.statusCode(_),_=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[E,p,d?h:v]),g.fireWith(f,[E,y]),u&&(m.trigger("ajaxComplete",[E,p]),--M.active||M.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,r){return M.get(e,t,r,"json")},getScript:function(e,t){return M.get(e,void 0,t,"script")}}),M.each(["get","post"],(function(e,t){M[t]=function(e,r,n,i){return _(r)&&(i=i||n,n=r,r=void 0),M.ajax(M.extend({url:e,type:t,dataType:i,data:r,success:n},M.isPlainObject(e)&&e))}})),M.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),M._evalUrl=function(e,t,r){return M.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){M.globalEval(e,t,r)}})},M.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=M(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return _(e)?this.each((function(t){M(this).wrapInner(e.call(this,t))})):this.each((function(){var t=M(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=_(e);return this.each((function(r){M(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){M(this).replaceWith(this.childNodes)})),this}}),M.expr.pseudos.hidden=function(e){return!M.expr.pseudos.visible(e)},M.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},M.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var or={0:200,1223:204},sr=M.ajaxSettings.xhr();g.cors=!!sr&&"withCredentials"in sr,g.ajax=sr=!!sr,M.ajaxTransport((function(e){var t,n;if(g.cors||sr&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?a(0,"error"):a(s.status,s.statusText):a(or[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),M.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),M.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return M.globalEval(e),e}}}),M.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),M.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=M("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){r&&r()}}}));var lr=[],cr=/(=)\?(?=&|$)|\?\?/;M.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=lr.pop()||M.expando+"_"+Bt.guid++;return this[e]=!0,e}}),M.ajaxPrefilter("json jsonp",(function(e,t,n){var i,a,o,s=!1!==e.jsonp&&(cr.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&cr.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=_(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(cr,"$1"+i):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||M.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=r[i],r[i]=function(){o=arguments},n.always((function(){void 0===a?M(r).removeProp(i):r[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,lr.push(i)),o&&_(a)&&a(o[0]),o=a=void 0})),"script"})),g.createHTMLDocument=function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),M.parseHTML=function(e,t,r){return"string"!==typeof e?[]:("boolean"===typeof t&&(r=t,t=!1),t||(g.createHTMLDocument?(t=b.implementation.createHTMLDocument(""),n=t.createElement("base"),n.href=b.location.href,t.head.appendChild(n)):t=b),i=H.exec(e),a=!r&&[],i?[t.createElement(i[1])]:(i=ke([e],t,a),a&&a.length&&M(a).remove(),M.merge([],i.childNodes)));var n,i,a},M.fn.load=function(e,t,r){var n,i,a,o=this,s=e.indexOf(" ");return s>-1&&(n=Nt(e.slice(s)),e=e.slice(0,s)),_(t)?(r=t,t=void 0):t&&"object"===typeof t&&(i="POST"),o.length>0&&M.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){a=arguments,o.html(n?M("<div>").append(M.parseHTML(e)).find(n):e)})).always(r&&function(e,t){o.each((function(){r.apply(this,a||[e.responseText,t,e])}))}),this},M.expr.pseudos.animated=function(e){return M.grep(M.timers,(function(t){return e===t.elem})).length},M.offset={setOffset:function(e,t,r){var n,i,a,o,s,l,c,u=M.css(e,"position"),d=M(e),h={};"static"===u&&(e.style.position="relative"),s=d.offset(),a=M.css(e,"top"),l=M.css(e,"left"),c=("absolute"===u||"fixed"===u)&&(a+l).indexOf("auto")>-1,c?(n=d.position(),o=n.top,i=n.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),_(t)&&(t=t.call(e,r,M.extend({},s))),null!=t.top&&(h.top=t.top-s.top+o),null!=t.left&&(h.left=t.left-s.left+i),"using"in t?t.using.call(e,h):d.css(h)}},M.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){M.offset.setOffset(this,e,t)}));var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],i={top:0,left:0};if("fixed"===M.css(n,"position"))t=n.getBoundingClientRect();else{t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;while(e&&(e===r.body||e===r.documentElement)&&"static"===M.css(e,"position"))e=e.parentNode;e&&e!==n&&1===e.nodeType&&(i=M(e).offset(),i.top+=M.css(e,"borderTopWidth",!0),i.left+=M.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-M.css(n,"marginTop",!0),left:t.left-i.left-M.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===M.css(e,"position"))e=e.offsetParent;return e||ve}))}}),M.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;M.fn[e]=function(n){return ne(this,(function(e,n,i){var a;if(v(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[n];a?a.scrollTo(r?a.pageXOffset:i,r?i:a.pageYOffset):e[n]=i}),e,n,arguments.length)}})),M.each(["top","left"],(function(e,t){M.cssHooks[t]=rt(g.pixelPosition,(function(e,r){if(r)return r=tt(e,t),Xe.test(r)?M(e).position()[t]+"px":r}))})),M.each({Height:"height",Width:"width"},(function(e,t){M.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){M.fn[n]=function(i,a){var o=arguments.length&&(r||"boolean"!==typeof i),s=r||(!0===i||!0===a?"margin":"border");return ne(this,(function(t,r,i){var a;return v(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?M.css(t,r,s):M.style(t,r,i,s)}),t,o?i:void 0,o)}}))})),M.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){M.fn[t]=function(e){return this.on(t,e)}})),M.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),M.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){M.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}));var ur=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;M.proxy=function(e,t){var r,n,i;if("string"===typeof t&&(r=e[t],t=e,e=r),_(e))return n=l.call(arguments,2),i=function(){return e.apply(t||this,n.concat(l.call(arguments)))},i.guid=e.guid=e.guid||M.guid++,i},M.holdReady=function(e){e?M.readyWait++:M.ready(!0)},M.isArray=Array.isArray,M.parseJSON=JSON.parse,M.nodeName=T,M.isFunction=_,M.isWindow=v,M.camelCase=se,M.type=E,M.now=Date.now,M.isNumeric=function(e){var t=M.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},M.trim=function(e){return null==e?"":(e+"").replace(ur,"$1")},n=[],i=function(){return M}.apply(t,n),void 0===i||(e.exports=i);var dr=r.jQuery,hr=r.$;return M.noConflict=function(e){return r.$===M&&(r.$=hr),e&&r.jQuery===M&&(r.jQuery=dr),M},"undefined"===typeof a&&(r.jQuery=r.$=M),M}))},"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},"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 c(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=c:e.exports=o}).call(this,r("c8ba"),r("4362"))},12:function(e,t){},"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},"130f":function(e,t,r){"use strict";r("e20c"),r("0402")},"13e1":function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return m}));r("d9e2");var n=r("7b9c"),i=r("351d"),a=(r("14d9"),r("81ea"));const o="hooksRefRegisterer",s={_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(a["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"])(s,"MIXIN_NAME",o,{writable:!1,enumerable:!1});var l=s,c=r("5d7f");function u(e,t,r){return(t=d(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)}const p="base",f=Object.freeze({VIRGIN:"STATE_VIRGIN",EDITING:"STATE_EDITING",WAITING:"STATE_WAITING",FINISHED:"STATE_FINISHED"});class m{static get EDITOR_TYPE(){return p}constructor(e){u(this,"hot",void 0),u(this,"state",f.VIRGIN),u(this,"_opened",!1),u(this,"_fullEditMode",!1),u(this,"_closeCallback",null),u(this,"TD",null),u(this,"row",null),u(this,"col",null),u(this,"prop",null),u(this,"originalValue",null),u(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=this.isOpened()?this.state:f.VIRGIN}extend(){return class extends this.constructor{}}saveValue(e,t){let r,n,i,a;if(t){const e=this.hot.getSelectedLast();r=Math.max(Math.min(e[0],e[2]),0),n=Math.max(Math.min(e[1],e[3]),0),i=Math.max(e[0],e[2]),a=Math.max(e[1],e[3])}else[r,n,i,a]=[this.row,this.col,null,null];const o=this.hot.runHooks("modifyGetCellCoords",r,n);Array.isArray(o)&&([r,n]=o),this.hot.populateFromArray(r,n,e,i,a,"edit")}beginEditing(e,t){if(this.state!==f.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=f.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())if(this.state!==f.VIRGIN){if(this.state===f.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=f.WAITING,this.saveValue(n,t),this.hot.getCellValidator(this.cellProperties)?this.hot.addHookOnce("postAfterValidate",e=>{this.state=f.FINISHED,this.discardEditor(e)}):(this.state=f.FINISHED,this.discardEditor(!0))}}else this.hot._registerTimeout(()=>{this._fireCallbacks(!0)})}cancelChanges(){this.state=f.FINISHED,this.discardEditor()}discardEditor(e){if(this.state===f.FINISHED)if(!1===e&&!0!==this.cellProperties.allowInvalid)this.hot.selectCell(this.row,this.col),this.focus(),this.state=f.EDITING,this._fireCallbacks(!1);else{this.close(),this._opened=!1,this._fullEditMode=!1,this.state=f.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===f.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,A=m.name,g=["master","inline_start"].includes(A)?h:0,_=["master","top","bottom"].includes(A)?p:0,v=a.top===s.top?0:1;let b=a.top-s.top-v-g,w=0;w=this.hot.isRtl()?i.innerWidth-a.left-o-f-1+_:a.left-s.left-1-_,["top","top_inline_start_corner"].includes(A)&&(b+=r.topOverlay.getOverlayOffset()),["inline_start","top_inline_start_corner"].includes(A)&&(w+=Math.abs(r.inlineStartOverlay.getOverlayOffset()));const y=this.hot.hasColHeaders(),E=this.hot.rowIndexMapper.getRenderableFromVisualIndex(this.row),C=this.hot.columnIndexMapper.getRenderableFromVisualIndex(this.col),S=this.hot.rowIndexMapper.getRenderableIndexesLength(),M=S-this.hot.view._wt.getSetting("fixedRowsBottom");(y&&E<=0||E===M)&&(b+=1),C<=0&&(w+=1);const x=n.rowsRenderCalculator.startPosition,T=n.columnsRenderCalculator.startPosition,O=Math.abs(r.inlineStartOverlay.getScrollPosition()),N=r.topOverlay.getScrollPosition(),R=Object(c["getScrollbarWidth"])(this.hot.rootDocument);let L=t.offsetTop;if(["inline_start","master"].includes(A)&&(L+=x-N),["bottom","bottom_inline_start_corner"].includes(A)){const{wtViewport:e,wtTable:t}=r.bottomOverlay.clone;L+=e.getWorkspaceHeight()-t.getHeight()-R}let I=t.offsetLeft;this.hot.isRtl()?(I=I>=0?m.getWidth()-t.offsetLeft:Math.abs(I),I+=T-O-o):["top","master","bottom"].includes(A)&&(I+=T-O);const k=Object(c["getComputedStyle"])(this.TD,this.hot.rootWindow),B=this.hot.isRtl()?"borderRightWidth":"borderLeftWidth",D=parseInt(k[B],10)>0?0:1,F=parseInt(k.borderTopWidth,10)>0?0:1,P=Object(c["outerWidth"])(t)+D,j=Object(c["outerHeight"])(t)+F,U=Object(c["hasVerticalScrollbar"])(u)?R:0,H=Object(c["hasHorizontalScrollbar"])(d)?R:0,V=this.hot.view.maximumVisibleElementWidth(I)-U+D,Y=Math.max(this.hot.view.maximumVisibleElementHeight(L)-H+F,23);return{top:b,start:w,height:j,maxHeight:Y,width:P,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"])(m,l)},"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,c=a.ft_1,u=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,u),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],u=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),c(f,a,u,h),p,r[n],d[f]);p=h,h=u,u=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],u),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";
  46. //! moment.js locale configuration
  47. 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},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")},"154a":function(e,t,r){},1592:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"data-list",attrs:{"element-loading-text":"加载中..."}},[r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataList,"header-row-class-name":"headerBg","empty-text":"没有模板信息"}},[r("el-table-column",{attrs:{prop:"id",label:"ID",align:"center",width:"80"}}),r("el-table-column",{attrs:{prop:"title",label:"模板名称",align:"left"}}),r("el-table-column",{attrs:{prop:"create_time",label:"创建时间",align:"center"}}),r("el-table-column",{attrs:{prop:"status",label:"模板状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[5==t.row.status?r("div",[e._v("启用")]):e._e(),6==t.row.status?r("div",[e._v("停用")]):e._e()]}}])}),r("el-table-column",{attrs:{label:"操作",align:"center",width:e.editWidth()},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"btns"},[e.allowEdit?r("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(r){return e.btnEdit(t.row.id)}}},[r("svg-icon",{attrs:{"icon-class":"edit"}}),e._v("编辑")],1):e._e(),e.allowDelete?r("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(r){return e.btnDelete(t.row.id)}}},[r("svg-icon",{attrs:{"icon-class":"delete"}}),e._v("删除")],1):e._e()],1)]}}])})],1),r("div",{staticClass:"page-info"},[r("el-pagination",{attrs:{currentPage:e.queryForm.page,"page-size":e.queryForm.pageSize,total:e.recordCount,"page-count":e.pageTotal,background:"",layout:"prev, pager, next"},on:{"current-change":e.ChangePage}})],1)],1)},i=[],a=(r("14d9"),r("ac1f"),r("841c"),r("424e")),o={props:{queryForm:{type:Object,default:function(){return{page:1,pageSize:10,title:"",category_id:"",status:""}}},allowEdit:{type:Boolean,default:!1},allowDelete:{type:Boolean,default:!1}},watch:{queryForm:{handler:function(e){this.search()},deep:!0}},data:function(){return{loading:!1,dialogVisible:!1,currentDataId:0,recordCount:0,pageTotal:1,dataList:[],currentData:{}}},mounted:function(){this.search()},methods:{editWidth:function(){return this.allowDelete&&this.allowEdit?200:this.allowDelete||this.allowEdit?120:100},onFocusVal:function(e){var t=this;t.currentDataId=e.target.dataset.id},onChangeVal:function(e){var t=this;t.currentDataId},btnDelete:function(e){var t=this,r={id:e};t.$confirm("您是否确认删除该记录?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((function(e){Object(a["c"])(r).then((function(e){t.search()}))})).catch((function(){}))},searchData:function(){var e=this;e.dialogVisible=!1,e.search()},btnEdit:function(e){this.$router.push("/document/system/document/create?articleId="+e)},handleClose:function(){var e=this;e.currentData={},e.dialogVisible=!1},search:function(){var e=this;e.loading=!0,Object(a["j"])(e.queryForm).then((function(t){t&&(e.dataList=t.data.dataList,e.recordCount=t.data.totalRecord,e.pageTotal=t.data.pageTotal,e.loading=!1)})).catch((function(){e.loading=!1}))},ChangePage:function(e){var t=this;t.queryForm.page=e,t.search()}}},s=o,l=(r("e315"),r("2877")),c=Object(l["a"])(s,n,i,!1,null,null,null);t["default"]=c.exports},"167b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  48. //! moment.js locale configuration
  49. 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 u})),r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return s}));r("d9e2");var n=r("9acd");const{register:i,getItem:a,hasItem:o,getNames:s,getValues:l}=Object(n["a"])("validators");function c(e){if("function"===typeof e)return e;if(!o(e))throw Error(`No registered validator found under "${e}" name`);return a(e)}function u(e,t){"string"!==typeof e&&(t=e,e=t.VALIDATOR_TYPE),i(e,t)}},"16ad":function(e,t,r){"use strict";r("3383")},"16b6":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("49dc")),a=u(i.default),o=d(a);t.encodeXML=v(a);var s=n(r("f140")),l=u(s.default),c=d(l);function u(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,c),t.encodeNonAsciiHTML=v(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 A=new RegExp(o.source+"|"+h.source,"g");function g(e){return e.replace(A,f)}function _(e){return e.replace(o,f)}function v(e){return function(t){return t.replace(A,(function(t){return e[t]||f(t)}))}}t.escape=g,t.escapeUTF8=_},"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"),c=r("3d7e"),u=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 A(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 g(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 _(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 v(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 b(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=u.node_clone(r);return e._data=c.characterData_substringData(r,n,h-n),d.mutation_append(e,t),c.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 g=null;if(!s.tree_isAncestorOf(l,r,!0))for(const i of f._children)if(A(i,e)){g=i;break}let _=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(A(n,e)){_=n;break}}}const v=[];for(const o of f._children)if(m(o,e)){if(a.Guard.isDocumentTypeNode(o))throw new i.HierarchyRequestError;v.push(o)}let w,y;if(s.tree_isAncestorOf(l,r,!0))w=r,y=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.");w=e._parent,y=1+s.tree_index(e)}if(a.Guard.isCharacterDataNode(g)){const e=u.node_clone(r);e._data=c.characterData_substringData(r,n,s.tree_nodeLength(r)-n),d.mutation_append(e,t),c.characterData_replaceData(r,n,s.tree_nodeLength(r)-n,"")}else if(null!==g){const e=u.node_clone(g);d.mutation_append(e,t);const i=o.create_range([r,n],[g,s.tree_nodeLength(g)]),a=b(i);d.mutation_append(a,e)}for(const i of v)d.mutation_append(i,t);if(a.Guard.isCharacterDataNode(_)){const e=u.node_clone(l);e._data=c.characterData_substringData(l,0,h),d.mutation_append(e,t),c.characterData_replaceData(l,0,h,"")}else if(null!==_){const e=u.node_clone(_);d.mutation_append(e,t);const r=o.create_range([_,0],[l,h]),n=b(r);d.mutation_append(n,e)}return e._start=[w,y],e._end=[w,y],t}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=u.node_clone(r);e._data=c.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 g=null;if(!s.tree_isAncestorOf(l,r,!0))for(const i of f._children)if(A(i,e)){g=i;break}let _=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(A(n,e)){_=n;break}}}const v=[];for(const o of f._children)if(m(o,e)){if(a.Guard.isDocumentTypeNode(o))throw new i.HierarchyRequestError;v.push(o)}if(a.Guard.isCharacterDataNode(g)){const e=u.node_clone(r);e._data=c.characterData_substringData(r,n,s.tree_nodeLength(r)-n),d.mutation_append(e,t)}else if(null!==g){const e=u.node_clone(g);d.mutation_append(e,t);const i=o.create_range([r,n],[g,s.tree_nodeLength(g)]),a=w(i);d.mutation_append(a,e)}for(const i of v){const e=u.node_clone(i);d.mutation_append(e,t)}if(a.Guard.isCharacterDataNode(_)){const e=u.node_clone(l);e._data=c.characterData_substringData(l,0,h),d.mutation_append(e,t)}else if(null!==_){const e=u.node_clone(_);t.append(e);const r=o.create_range([_,0],[l,h]),n=b(r);d.mutation_append(n,e)}return t}function y(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 C(e){return{[Symbol.iterator]:()=>{const t=e.commonAncestorContainer;let r=s.tree_getFirstDescendantNode(t);return{next:()=>{while(r&&!A(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=A,t.range_setTheStart=g,t.range_setTheEnd=_,t.range_select=v,t.range_extract=b,t.range_cloneTheContents=w,t.range_insert=y,t.range_getContainedNodes=E,t.range_getPartiallyContainedNodes=C},"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"),c=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 u=o(arguments[a]),d=n(u),h=i&&(Object.getOwnPropertySymbols||c);if(h)for(var p=h(u),f=0;f<p.length;++f){var m=p[f];l(u,m)&&s(d,m)}for(var A=0;A<d.length;++A){var g=d[A];if(l(u,g)){var _=u[g];r[g]=_}}}return r}},"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},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,c=36,u=1,d=26,h=38,p=700,f=72,m=128,A="-",g=/^xn--/,_=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,y=Math.floor,E=String.fromCharCode;function C(e){throw new RangeError(b[e])}function S(e,t){var r=e.length,n=[];while(r--)n[r]=t(e[r]);return n}function M(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(v,".");var i=e.split("."),a=S(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 T(e){return S(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 O(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function N(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function R(e,t,r){var n=0;for(e=r?y(e/p):e>>1,e+=y(e/t);e>w*d>>1;n+=c)e=y(e/w);return y(n+(w+1)*e/(e+h))}function L(e){var t,r,n,i,a,o,s,h,p,g,_=[],v=e.length,b=0,w=m,E=f;for(r=e.lastIndexOf(A),r<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&C("not-basic"),_.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<v;){for(a=b,o=1,s=c;;s+=c){if(i>=v&&C("invalid-input"),h=O(e.charCodeAt(i++)),(h>=c||h>y((l-b)/o))&&C("overflow"),b+=h*o,p=s<=E?u:s>=E+d?d:s-E,h<p)break;g=c-p,o>y(l/g)&&C("overflow"),o*=g}t=_.length+1,E=R(b-a,t,0==a),y(b/t)>l-w&&C("overflow"),w+=y(b/t),b%=t,_.splice(b++,0,w)}return T(_)}function I(e){var t,r,n,i,a,o,s,h,p,g,_,v,b,w,S,M=[];for(e=x(e),v=e.length,t=m,r=0,a=f,o=0;o<v;++o)_=e[o],_<128&&M.push(E(_));n=i=M.length,i&&M.push(A);while(n<v){for(s=l,o=0;o<v;++o)_=e[o],_>=t&&_<s&&(s=_);for(b=n+1,s-t>y((l-r)/b)&&C("overflow"),r+=(s-t)*b,t=s,o=0;o<v;++o)if(_=e[o],_<t&&++r>l&&C("overflow"),_==t){for(h=r,p=c;;p+=c){if(g=p<=a?u:p>=a+d?d:p-a,h<g)break;S=h-g,w=c-g,M.push(E(N(g+S%w,0))),h=y(S/w)}M.push(E(N(h,0))),a=R(r,b,n==i),r=0,++n}++r,++t}return M.join("")}function k(e){return M(e,(function(e){return g.test(e)?L(e.slice(4).toLowerCase()):e}))}function B(e){return M(e,(function(e){return _.test(e)?"xn--"+I(e):e}))}s={version:"1.4.1",ucs2:{decode:x,encode:T},decode:L,encode:I,toASCII:B,toUnicode:k},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"),c=r("69f2"),u=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:c(e);t=n.update(t).digest()}else t.length<r&&(t=o.concat([t,u],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:c(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:c(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)}},"1ab1":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return null!=e.coms&&e.coms.length>0&&e.size>0?r("div",{staticClass:"com-directory"},[r("el-form",{staticClass:"dirceForm"},[e._l(e.coms,(function(t,n){return[e._l(t.attrs,(function(t,i){return["Directory"==t.type?r("el-form-item",{key:"item-"+n+"-"+i,attrs:{label:t.id+":"}},[r("el-input",{attrs:{type:"textarea"},model:{value:t.content,callback:function(r){e.$set(t,"content",r)},expression:"item.content"}})],1):e._e()]}))]}))],2),r("div",{staticClass:"com-title"},[e._v("目录信息")]),r("div",{staticClass:"com-items"},[e._l(e.coms,(function(t,n){return[e._l(t.attrs,(function(t,i){return["Directory"==t.type?r("div",{key:"item-"+n+"-"+i,staticClass:"com-item"},[r("div",{staticClass:"icon"},[r("svg-icon",{attrs:{"icon-class":"directory"}})],1),r("div",{staticClass:"name"},[e._v(" "+e._s(""!=t.content?t.content:t.name)+" ")])]):e._e()]}))]}))],2)],1):e._e()},i=[],a={props:{coms:{type:Array,default:null}},watch:{coms:{handler:function(e){if(console.log(e),null!=e){this.size=0;for(var t=0;t<e.length;t++)for(var r=0;r<e[t].attrs.length;r++)"Directory"==e[t].attrs[r].type&&this.size++}},immediate:!0,deep:!0}},data:function(){return{size:0}}},o=a,s=(r("be30"),r("2877")),l=Object(s["a"])(o,n,i,!1,null,null,null);t["default"]=l.exports},"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";
  50. //! moment.js locale configuration
  51. 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}))},"1bc6":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("2748"),i=r("16b6");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("16b6");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 c=r("2748");Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return c.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return c.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return c.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return c.decodeXML}})},"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 c=r("b692");t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=r("e1d30");var u=r("6442");t.publicEncrypt=u.publicEncrypt,t.privateEncrypt=u.privateEncrypt,t.publicDecrypt=u.publicDecrypt,t.privateDecrypt=u.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\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},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}},"1c4c":function(e,t,r){"use strict";r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return o}));var n=r("b775");function i(e){return Object(n["a"])({url:"/source/data/search",method:"post",data:e})}function a(e){return Object(n["a"])({url:"/source/data/info",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/source/data/find",method:"post",data:e})}},"1c59":function(e,t,r){"use strict";var n=r("6d61"),i=r("6566");n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"1c6d":function(e,t,r){"use strict";r("366c")},"1cc6":function(e,t,r){"use strict";r("2cb8")},"1cfd":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  52. //! moment.js locale configuration
  53. 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}))},"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())}},"1e5a":function(e,t,r){"use strict";var n=r("23e7"),i=r("9961"),a=r("dad2");n({target:"Set",proto:!0,real:!0,forced:!a("symmetricDifference")},{symmetricDifference:i})},"1e70":function(e,t,r){"use strict";var n=r("23e7"),i=r("a5f7"),a=r("dad2");n({target:"Set",proto:!0,real:!0,forced:!a("difference")},{difference:i})},"1e8c":function(e,t,r){"use strict";r.d(t,"a",(function(){return te}));var n=r("c4fa");const i={name:"editorCloseAndSave",callback(e){const t=e._getEditorManager();t.closeEditorAndSaveChanges()}};var a=r("13e1");const o={name:"editorCloseAndSaveByArrowKeys",callback(e,t,r){const n=e._getEditorManager(),i=n.getActiveEditor();i.isInFullEditMode()&&i.state===a["b"].EDITING||(n.closeEditorAndSaveChanges(),e.getSelected()&&(r.includes("arrowdown")?e.selection.transformStart(1,0):r.includes("arrowup")?e.selection.transformStart(-1,0):r.includes("arrowleft")?e.selection.transformStart(0,-1*e.getDirectionFactor()):r.includes("arrowright")&&e.selection.transformStart(0,e.getDirectionFactor())),t.preventDefault())}},s={name:"editorCloseAndSaveByEnter",callback(e,t){const r=e._getEditorManager();r.closeEditorAndSaveChanges(t.ctrlKey||t.metaKey),r.moveSelectionAfterEnter(t)}},l={name:"editorCloseWithoutSaving",callback(e){const t=e._getEditorManager();t.closeEditorAndRestoreOriginalValue(e.getShortcutManager().isCtrlPressed()),t.activeEditor.focus()}},c={name:"editorFastOpen",callback(e,t){const{highlight:r}=e.getSelectedRangeLast();r.isHeader()||e._getEditorManager().openEditor(null,t,!0)}};var u=r("de3b");const d={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(u["stopImmediatePropagation"])(t))}};function h(){return[i,o,s,l,c,d]}const p={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)}},f={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"})}}},m={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())}},A={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())}},g={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)}},_={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))}}},v={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))}}},b={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))}}},w={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))}}},E={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))}}},C={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)}},M={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 x(){return[p,f,m,A,g,_,v,b,w,y,E,C,S,M]}const T={name:"moveCellSelectionDown",callback(e){let{selection:t}=e;t.transformStart(1,0)}},O={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})}},N={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)}},R={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)}},L={name:"moveCellSelectionLeft",callback(e){e.selection.transformStart(0,-1*e.getDirectionFactor())}},I={name:"moveCellSelectionRight",callback(e){e.selection.transformStart(0,e.getDirectionFactor())}},k={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))}},B={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))}},D={name:"moveCellSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:r}=e;t.setRangeStart(e._createCellCoords(e.getSelectedRangeLast().highlight.row,r.getNearestNotHiddenIndex(e.countCols()-1,-1)))}},F={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))}},P={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))}},j={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))}},U={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))}},H={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))}},V={name:"moveCellSelectionUp",callback(e){let{selection:t}=e;t.transformStart(-1,0)}},Y={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 W(){return[T,O,N,R,L,I,k,B,D,F,P,j,U,H,V,Y]}const Q={name:"emptySelectedCells",callback(e){e.emptySelectedCells(),e._getEditorManager().prepareEditor()}},z={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"})}}},q={name:"selectAllCells",callback(e){e.selection.selectAll(!0,!0,{disableHeadersHighlight:!0})}},G={name:"selectAllCellsAndHeaders",callback(e){e.selection.selectAll(!0,!0,{disableHeadersHighlight:!1})}},K={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()))}},X=[...h(),...x(),...W(),Q,z,q,G,K];function $(e){const t={};return X.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 Z(e){const t=e.getShortcutManager().addContext("editor"),r=$(e),i={group:n["a"]};t.addShortcuts([{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>r.editorCloseAndSaveByEnter(e,t)},{keys:[["Enter","Control/Meta"],["Enter","Control/Meta","Shift"]],captureCtrl:!0,callback:(e,t)=>r.editorCloseAndSaveByEnter(e,t)},{keys:[["Tab"],["Tab","Shift"],["PageDown"],["PageUp"]],forwardToContext:e.getShortcutManager().getContext("grid"),callback:(e,t)=>r.editorCloseAndSave(e,t)},{keys:[["ArrowDown"],["ArrowUp"],["ArrowLeft"],["ArrowRight"]],preventDefault:!1,callback:(e,t)=>r.editorCloseAndSaveByArrowKeys(e,t)},{keys:[["Escape"],["Escape","Control/Meta"]],callback:()=>r.editorCloseWithoutSaving()}],i)}var J=r("7b9c");function ee(e){const t=e.getShortcutManager().addContext("grid"),r=$(e),i={runOnlyIf:()=>{const{navigableHeaders:t}=e.getSettings();return Object(J["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(J["isDefined"])(e.getSelected())}),t.addShortcuts([{keys:[["Control/Meta","A"]],callback:()=>r.selectAllCells(),runOnlyIf:()=>{var t;return!(null!==(t=e.getSelectedRangeLast())&&void 0!==t&&t.highlight.isHeader())}},{keys:[["Control/Meta","A"]],callback:()=>{},runOnlyIf:()=>{var t;return null===(t=e.getSelectedRangeLast())||void 0===t?void 0:t.highlight.isHeader()},preventDefault:!0},{keys:[["Control/Meta","Shift","Space"]],callback:()=>r.selectAllCellsAndHeaders()},{keys:[["Control/Meta","Enter"]],callback:()=>r.populateSelectedCellsData(),runOnlyIf:()=>{var t,r;return!(null!==(t=e.getSelectedRangeLast())&&void 0!==t&&t.highlight.isHeader())&&(null===(r=e.getSelectedRangeLast())||void 0===r?void 0:r.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 te(e){[ee,Z].forEach(t=>t(e))}},"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},"1f19":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":"ÿ"}')},"1fa3":function(e,t,r){},"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},"1fc1":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  54. //! moment.js locale configuration
  55. 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},2:function(e,t){},"201b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  56. //! moment.js locale configuration
  57. 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"),c=r("8be6"),u=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(!u||!u.importKey||!u.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 u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return a.from(e)}))}function A(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,u){"function"===typeof a&&(u=a,a=void 0),a=a||"sha1";var h=d[a.toLowerCase()];if(h&&"function"===typeof t.Promise){if(o(n,i),e=c(e,s,"Password"),r=c(r,s,"Salt"),"function"!==typeof u)throw new Error("No callback provided to pbkdf2");A(p(h).then((function(t){return t?m(e,r,n,i,h):l(e,r,n,i,a)})),u)}else f()((function(){var t;try{t=l(e,r,n,i,a)}catch(o){return u(o)}u(null,t)}))}}).call(this,r("c8ba"))},"20cc":function(e,t,r){"use strict";var n=r("da84"),i=r("2ba4"),a=r("1626"),o=r("c6a7"),s=r("342f"),l=r("f36a"),c=r("d6d6"),u=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=c(arguments.length,1)>r,d=a(n)?n:u(n),h=s?l(arguments,r):[],p=s?function(){i(d,this,h)}:d;return t?e(p,o):e(p)}:e}},"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)}},"220a":function(e,t,r){"use strict";r("d9e2"),r("14d9");var n=r("5d7f"),i=r("81ea");function a(e,t,r){return(t=o(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=>{const{height:r}=t.table.getBoundingClientRect();e(t.row,Math.ceil(r)-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),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),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"),c=t.createElement("th");return this.isVertical()&&i.appendChild(s),this.isHorizontal()&&(l.appendChild(c),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:c}}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";
  58. //! moment.js locale configuration
  59. 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}))},2421:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  60. //! moment.js locale configuration
  61. 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}))},2473: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}},"24b5":function(e,t,r){"use strict";r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return y})),r.d(t,"c",(function(){return E})),r.d(t,"d",(function(){return C}));r("d9e2");var n=r("29b0"),i=r("ffec"),a=r("97b9");const o="asc",s="desc",l=new Map([[o,[-1,1]],[s,[1,-1]]]),c=e=>`The priority '${e}' is already declared in a map.`,u=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:c,t=Object(a["isFunction"])(t)?t:u,{addItem:n,getItems:s}}var h=r("6906");r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3");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.`,A=e=>`There is already registered plugin on priority "${e}".`,g=e=>`The priority "${e}" is not a number.`,_=d({errorPriorityExists:A,errorPriorityNaN:g}),v=f({errorItemExists:m}),b=Object(h["a"])({errorIdExists:m});function w(){return[..._.getItems(),...v.getItems()]}function y(e){const t=Object(n["toUpperCaseFirst"])(e);return b.getItem(t)}function E(e){return!!y(e)}function C(e,t,r){[e,t,r]=M(e,t,r),void 0===y(e)&&S(e,t,r)}function S(e,t,r){const i=Object(n["toUpperCaseFirst"])(e);if(b.hasItem(i))throw new Error(m(i));void 0===r?v.addItem(i):_.addItem(r,i),b.addItem(i,t)}function M(e,t,r){return"function"===typeof e&&(t=e,e=t.PLUGIN_KEY,r=t.PLUGIN_PRIORITY),[e,t,r]}},"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,strictDepth:!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},c="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",d=function(e,t){var r={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;d=d.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var h,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=d.split(t.delimiter,p),m=-1,A=t.charset;if(t.charsetSentinel)for(h=0;h<f.length;++h)0===f[h].indexOf("utf8=")&&(f[h]===u?A="utf-8":f[h]===c&&(A="iso-8859-1"),m=h,h=f.length);for(h=0;h<f.length;++h)if(h!==m){var g,_,v=f[h],b=v.indexOf("]="),w=-1===b?v.indexOf("="):b+1;-1===w?(g=t.decoder(v,o.decoder,A,"key"),_=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,w),o.decoder,A,"key"),_=n.maybeMap(l(v.slice(w+1),t),(function(e){return t.decoder(e,o.decoder,A,"value")}))),_&&t.interpretNumericEntities&&"iso-8859-1"===A&&(_=s(_)),v.indexOf("[]=")>-1&&(_=a(_)?[_]:_);var y=i.call(r,g);y&&"combine"===t.duplicates?r[g]=n.combine(r[g],_):y&&"last"!==t.duplicates||(r[g]=_)}return r},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||r.strictNullHandling&&null===i)?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,d=parseInt(u,10);r.parseArrays||""!==u?!isNaN(d)&&s!==u&&String(d)===u&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(o=[],o[d]=i):"__proto__"!==u&&(o[u]=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),c=l?a.slice(0,l.index):a,u=[];if(c){if(!r.plainObjects&&i.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}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;u.push(l[1])}if(l){if(!0===r.strictDepth)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");u.push("["+a.slice(l.index)+"]")}return h(u,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,strictDepth:"boolean"===typeof e.strictDepth?!!e.strictDepth:o.strictDepth,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],c=p(l,i[l],r,"string"===typeof e);a=n.merge(a,c,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,c=i(s);return n=c.length>1?c.map((function(e){return r.convert(e,l)})):r.convert(c[0],l),n}}},25548:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  62. //! moment.js locale configuration
  63. function t(e,t,r,n){switch(r){case"m":return t?"jedna minuta":n?"jednu minutu":"jedne minute"}}function r(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"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",n;case"h":return"jedan sat";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 n=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:r,m:t,mm:r,h:r,hh:r,d:"dan",dd:r,M:"mjesec",MM:r,y:"godinu",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"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";
  64. //! moment.js locale configuration
  65. 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}))},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,c=s&&l&&"function"===typeof l.get?l.get:null,u=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,A=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,_=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,w=String.prototype.slice,y=String.prototype.replace,E=String.prototype.toUpperCase,C=String.prototype.toLowerCase,S=RegExp.prototype.test,M=Array.prototype.concat,x=Array.prototype.join,T=Array.prototype.slice,O=Math.floor,N="function"===typeof BigInt?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,L="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"===typeof Symbol&&"object"===typeof Symbol.iterator,k="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,D=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function F(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-O(-e):O(e);if(n!==e){var i=String(n),a=w.call(t,i.length+1);return y.call(i,r,"$&_")+"."+y.call(y.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,r,"$&_")}var P=r(1),j=P.custom,U=X(j)?j:null;function H(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function V(e){return y.call(String(e),/"/g,"&quot;")}function Y(e){return"[object Array]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function W(e){return"[object Date]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function Q(e){return"[object RegExp]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function z(e){return"[object Error]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function q(e){return"[object String]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function G(e){return"[object Number]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function K(e){return"[object Boolean]"===ee(e)&&(!k||!("object"===typeof e&&k in e))}function X(e){if(I)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||!N)return!1;try{return N.call(e),!0}catch(t){}return!1}e.exports=function e(r,n,i,s){var l=n||{};if(J(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(J(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=!J(l,"customInspect")||l.customInspect;if("boolean"!==typeof d&&"symbol"!==d)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(J(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(J(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 ce(r,l);if("number"===typeof r){if(0===r)return 1/0/r>0?"0":"-0";var p=String(r);return h?F(r,p):p}if("bigint"===typeof r){var f=String(r)+"n";return h?F(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 A=me(l,i);if("undefined"===typeof s)s=[];else if(re(s,r)>=0)return"[Circular]";function _(t,r,n){if(r&&(s=T.call(s),s.push(r)),n){var a={depth:l.depth};return J(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,i+1,s)}return e(t,l,i+1,s)}if("function"===typeof r&&!Q(r)){var v=te(r),b=ge(r,_);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(b.length>0?" { "+x.call(b,", ")+" }":"")}if(X(r)){var E=I?y.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(r);return"object"!==typeof r||I?E:de(E)}if(le(r)){for(var S="<"+C.call(String(r.nodeName)),O=r.attributes||[],R=0;R<O.length;R++)S+=" "+O[R].name+"="+H(V(O[R].value),"double",l);return S+=">",r.childNodes&&r.childNodes.length&&(S+="..."),S+="</"+C.call(String(r.nodeName))+">",S}if(Y(r)){if(0===r.length)return"[]";var j=ge(r,_);return A&&!fe(j)?"["+Ae(j,A)+"]":"[ "+x.call(j,", ")+" ]"}if(z(r)){var Z=ge(r,_);return"cause"in Error.prototype||!("cause"in r)||B.call(r,"cause")?0===Z.length?"["+String(r)+"]":"{ ["+String(r)+"] "+x.call(Z,", ")+" }":"{ ["+String(r)+"] "+x.call(M.call("[cause]: "+_(r.cause),Z),", ")+" }"}if("object"===typeof r&&d){if(U&&"function"===typeof r[U]&&P)return P(r,{depth:m-i});if("symbol"!==d&&"function"===typeof r.inspect)return r.inspect()}if(ne(r)){var ue=[];return o&&o.call(r,(function(e,t){ue.push(_(t,r,!0)+" => "+_(e,r))})),pe("Map",a.call(r),ue,A)}if(oe(r)){var _e=[];return u&&u.call(r,(function(e){_e.push(_(e,r))})),pe("Set",c.call(r),_e,A)}if(ie(r))return he("WeakMap");if(se(r))return he("WeakSet");if(ae(r))return he("WeakRef");if(G(r))return de(_(Number(r)));if($(r))return de(_(N.call(r)));if(K(r))return de(g.call(r));if(q(r))return de(_(String(r)));if("undefined"!==typeof window&&r===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&r===globalThis||"undefined"!==typeof t&&r===t)return"{ [object globalThis] }";if(!W(r)&&!Q(r)){var ve=ge(r,_),be=D?D(r)===Object.prototype:r instanceof Object||r.constructor===Object,we=r instanceof Object?"":"null prototype",ye=!be&&k&&Object(r)===r&&k in r?w.call(ee(r),8,-1):we?"Object":"",Ee=be||"function"!==typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"",Ce=Ee+(ye||we?"["+x.call(M.call([],ye||[],we||[]),": ")+"] ":"");return 0===ve.length?Ce+"{}":A?Ce+"{"+Ae(ve,A)+"}":Ce+"{ "+x.call(ve,", ")+" }"}return String(r)};var Z=Object.prototype.hasOwnProperty||function(e){return e in this};function J(e,t){return Z.call(e,t)}function ee(e){return _.call(e)}function te(e){if(e.name)return e.name;var t=b.call(v.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{c.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(!A||!e||"object"!==typeof e)return!1;try{return A.call(e),!0}catch(t){}return!1}function oe(e){if(!c||!e||"object"!==typeof e)return!1;try{c.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 ce(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return ce(w.call(e,0,t.maxStringLength),t)+n}var i=y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ue);return H(i,"single",t)}function ue(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?Ae(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 Ae(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function ge(e,t){var r=Y(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=J(e,i)?t(e[i],e):""}var a,o="function"===typeof R?R(e):[];if(I){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var l in e)J(e,l)&&(r&&String(Number(l))===l&&l<e.length||I&&a["$"+l]instanceof Symbol||(S.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 c=0;c<o.length;c++)B.call(e,o[c])&&n.push("["+t(o[c])+"]: "+t(e[o[c]],e));return n}}).call(this,r("c8ba"))},2748: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("f140")),a=n(r("1f19")),o=n(r("49dc")),s=n(r("8831")),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=d(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=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(u),t=Object.keys(i.default).sort(u),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)}}()},"27bf":function(e,t,r){"use strict";e.exports=o;var n=r("b19a"),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")}))}},"27c9":function(e,t,r){var n=r("f174"),i=r("1bc6"),a=r("8224");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,"&quot;"))+'"');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},c=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+=c(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},u=["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&&u.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+=c(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"}},2801:function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.6.0","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"}}')},"285d":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"doc-container"},[r("div",{staticClass:"editor-top"},[r("div",{staticClass:"left"},["document"==e.type?r("div",{staticClass:"doc"},[r("span",[e._v("当前打开文档:")]),e._v(e._s(""==e.docAttr.title?"新建文档":e.docAttr.title)+" ")]):"module"==e.type?r("div",{staticClass:"doc"},[r("span",[e._v("当前打开模块:")]),e._v(e._s(""==e.coms[0].name?"新建模块":e.coms[0].name)+" ")]):r("div",{staticClass:"doc"},[r("span",[e._v("当前打开模版:")]),e._v(e._s(""==e.docAttr.title?"新建模版":e.docAttr.title)+" ")]),e._m(0)]),r("div",{staticClass:"right"},["module"!==e.type&&"document"==e.type&&void 0==e.articleId?r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.onSaveAs}},[e._v("保存文档")]):e._e(),void 0!==e.articleId&&"module"!==e.type&&"document"==e.type?r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.renew}},[e._v("更新文档")]):e._e(),"module"===e.type||"document"===e.type||e.articleId?e._e():r("el-button",{attrs:{type:"primary"},on:{click:e.onSaveUpload}},[e._v("保存")]),"module"!==e.type&&"document"!==e.type&&e.articleId?r("el-button",{attrs:{type:"primary"},on:{click:e.onUpload}},[e._v("更新")]):e._e(),"module"!==e.type&&"document"==e.type?r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.onOpenView}},[e._v("预览导出 ")]):e._e(),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.onClose}},[e._v(" 关闭文档 ")])],1)]),r("div",{staticClass:"editor-content"},["module"!==e.type?r("div",{staticClass:"left_scheme"},[r("div",{staticClass:"scheme-header"},[e._m(1),r("div",{staticClass:"search"},[r("el-input",{attrs:{placeholder:"请输入搜索","prefix-icon":"el-icon-search",clearable:""},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}})],1),r("div",{staticClass:"action-btns"},[r("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.createScheme}},[e._v("新建方案")]),r("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.createCategory}},[e._v("新建分类")])],1),r("div",{staticClass:"current-scheme"},[e._v(" 当前方案: "+e._s(e.currentScheme||"已选择方案三")+" ")])]),r("div",{staticClass:"scheme-content"},[r("el-tree",{attrs:{data:e.schemeData,props:e.defaultProps,"default-expanded-keys":e.expandedKeys},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.node,i=t.data;return r("span",{staticClass:"custom-tree-node"},[r("span",[i.children?r("i",{staticClass:"el-icon-folder"}):r("i",{staticClass:"el-icon-document"}),e._v(" "+e._s(n.label)+" ")])])}}],null,!1,1576524172)})],1)]):e._e(),r("div",{staticClass:"natural"},[e._m(2),r("div",{staticClass:"resource-container"},[r("div",{staticClass:"resource-header"},[r("el-input",{attrs:{placeholder:"请输入选择","prefix-icon":"el-icon-search",clearable:""},model:{value:e.resourceSearchKey,callback:function(t){e.resourceSearchKey=t},expression:"resourceSearchKey"}}),r("div",{staticClass:"action-btns"},[r("el-button",{attrs:{type:"primary"},on:{click:e.createResource}},[e._v("新建资源")]),r("el-button",{attrs:{type:"primary"},on:{click:e.createResourceCategory}},[e._v("新建资源分类")])],1)],1),r("div",{staticClass:"resource-status"},[e._v(" 已打开1个资源,已选择3个资源 "),r("el-button",{attrs:{size:"small",plain:""},on:{click:e.refreshResources}},[e._v("更新")])],1),r("div",{staticClass:"resource-content"},[r("el-collapse",{model:{value:e.activeCategories,callback:function(t){e.activeCategories=t},expression:"activeCategories"}},e._l(e.categoryList,(function(t,n){return r("el-collapse-item",{key:n,attrs:{title:t.name,name:t.id}},[r("template",{slot:"title"},[r("span",[e._v(e._s(t.name))])]),r("div",{staticClass:"resource-list"},[r("draggable",{attrs:{options:{group:{name:"itxst",pull:"clone"},sort:!0},disabled:"module"==e.type},model:{value:t.templates,callback:function(r){e.$set(t,"templates",r)},expression:"category.templates"}},[r("transition-group",e._l(t.templates,(function(n){return r("div",{key:n.id,staticClass:"resource-item"},[r("el-checkbox",{on:{change:function(r){return e.handleTemplateSelect(t,n,r)}},model:{value:n.selected,callback:function(t){e.$set(n,"selected",t)},expression:"template.selected"}},[e._v(" "+e._s(n.name)+" ")])],1)})),0)],1)],1)],2)})),1)],1)])]),r("div",{staticClass:"editor-main"},[r("div",{staticClass:"editor-tabs"},[r("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},[r("el-tab-pane",{attrs:{label:"目录",name:"catalog"}},[r("div",{staticClass:"catalog-content"},[r("el-tree",{attrs:{data:e.catalogData,props:e.catalogProps,"default-expand-all":""},on:{"node-click":e.handleCatalogClick},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.data;return r("span",{staticClass:"custom-tree-node"},[r("span",[e._v(e._s(n.label))]),n.children?r("span",{staticClass:"expand-icon"},[r("i",{staticClass:"el-icon-arrow-right"})]):e._e()])}}])})],1)]),r("el-tab-pane",{attrs:{label:"模板内容",name:"template"}},[r("div",{staticClass:"template-content"},[r("div",{staticClass:"menus-box"},[r("menus",{attrs:{comArr:e.coms},on:{onEvents:e.onInsert,onVariable:e.uptadeVariable}})],1),r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"tabHtml",staticClass:"editor-box",attrs:{"element-loading-text":"加载中...","element-loading-spinner":"el-icon-loading"}},[r("editor",{attrs:{coms:e.coms,comIndex:e.comIndex,isAdmin:e.isAdmin,templateCate:e.categoryList,insertCmd:e.insertCmd},on:{onSetActiveIndex:e.onSetActiveIndex,onInsert:e.onInsert,onLoadArticle:e.onLoadArticle,onRebuild:e.onRebuild,onDelete:e.onRemove,onSetComs:e.onSetComs}})],1)])])],1)],1)])]),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showViewForm,"close-on-click-modal":!1,"append-to-body":"",width:"850px","custom-class":"prod-verify",title:"文档预览"},on:{"update:visible":function(t){e.showViewForm=t}}},[r("ViewForm",{attrs:{coms:e.coms,docAttr:e.docAttr}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.showProductAttr,"append-to-body":"","close-on-click-modal":!1,width:"850px","custom-class":"prod-verify",title:"插入产品属性"},on:{"update:visible":function(t){e.showProductAttr=t}}},[r("ProductAttr",{attrs:{docAttr:e.docAttr},on:{onInsertProductAttr:e.onInsertProductAttr}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.docVisible,"append-to-body":"","close-on-click-modal":!1,width:"500px","custom-class":"prod-verify",title:"文档信息"},on:{"update:visible":function(t){e.docVisible=t}}},[r("el-form",{ref:"docRef",attrs:{model:e.docForm,rules:e.docRules,"label-position":"right","label-width":"100"}},[r("el-form-item",{attrs:{label:"文档标题:",prop:"dcm_title"}},[r("el-input",{staticClass:"input-item",staticStyle:{width:"60%"},attrs:{placeholder:"请填写文档标题",disabled:e.docAttr.id>0},model:{value:e.docForm.dcm_title,callback:function(t){e.$set(e.docForm,"dcm_title",t)},expression:"docForm.dcm_title"}})],1),r("el-form-item",{attrs:{label:"文档模板类别:",prop:"dcm_type"}},[r("el-select",{staticStyle:{width:"60%"},attrs:{placeholder:"请选择文档模板类别",disabled:e.docAttr.id>0},model:{value:e.docForm.dcm_type,callback:function(t){e.$set(e.docForm,"dcm_type",t)},expression:"docForm.dcm_type"}},[r("el-option",{attrs:{label:"官方模板",value:1}}),r("el-option",{attrs:{label:"私有模板",value:2}}),r("el-option",{attrs:{label:"共享模板",value:3}})],1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.closeDoc}},[e._v("取 消")]),r("el-button",{attrs:{type:"primary"},on:{click:e.submitDoc}},[e._v("确 定")])],1)],1)],1)},i=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"creator"},[r("span",[e._v("创建者:")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"title"},[e._v(" 请选择可用的方案 "),r("span",{staticClass:"count"},[e._v("[方案数量:47]")]),r("i",{staticClass:"el-icon-menu"})])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"resource-header-title"},[r("div",{staticClass:"title-left"},[r("span",[e._v("请选择可用的资源")]),r("span",{staticClass:"resource-count"},[e._v("[资源明细] 资源数量:474")])]),r("i",{staticClass:"el-icon-menu"})])}],a=r("d12a"),o=a["a"],s=(r("6691"),r("2877")),l=Object(s["a"])(o,n,i,!1,null,null,null);t["default"]=l.exports},"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";
  66. //! moment.js locale configuration
  67. 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";
  68. //! moment.js locale configuration
  69. 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 c})),r.d(t,"stripTags",(function(){return u})),r.d(t,"sanitize",(function(){return d}));r("14d9");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 c(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 u(e){return d(""+e,{ALLOWED_TAGS:[]})}function d(e,t){return n.sanitize(e,t)}},"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},"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 c(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(".")],c=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,h=s.pbkdf2Sync(t,r,n,d,"sha1"),p=o.createDecipheriv(a,h,c),f=[];return f.push(p.update(u)),f.push(p["final"]()),l.concat(f)}function u(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,u=o.data;switch(s){case"CERTIFICATE":i=n.certificate.decode(u,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=n.PublicKey.decode(u,"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":u=n.EncryptedPrivateKey.decode(u,"der"),u=c(u,t);case"PRIVATE KEY":switch(i=n.PrivateKey.decode(u,"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(u,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(u,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(u,"der")};case"EC PRIVATE KEY":return u=n.ECPrivateKey.decode(u,"der"),{curve:u.parameters.value,privateKey:u.privateKey};default:throw new Error("unknown key type "+s)}}u.signature=n.signature,e.exports=u},"2bc1":function(e,t,r){e.exports=Ae;var n=r("6306"),i=r("70fd"),a=r("cdfc"),o=r("6150"),s=0,l=s++,c=s++,u=s++,d=s++,h=s++,p=s++,f=s++,m=s++,A=s++,g=s++,_=s++,v=s++,b=s++,w=s++,y=s++,E=s++,C=s++,S=s++,M=s++,x=s++,T=s++,O=s++,N=s++,R=s++,L=s++,I=s++,k=s++,B=s++,D=s++,F=s++,P=s++,j=s++,U=s++,H=s++,V=s++,Y=s++,W=s++,Q=s++,z=s++,q=s++,G=s++,K=s++,X=s++,$=s++,Z=s++,J=s++,ee=s++,te=s++,re=s++,ne=s++,ie=s++,ae=s++,oe=s++,se=s++,le=s++,ce=0,ue=ce++,de=ce++,he=ce++;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=u,this._index--)}}function Ae(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ue,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}Ae.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ie,this._sectionStart=this._index)},Ae.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||pe(e)?this._state=l:"!"===e?(this._state=y,this._sectionStart=this._index+1):"?"===e?(this._state=C,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:P,this._sectionStart=this._index)},Ae.prototype._stateInTagName=function(e){("/"===e||">"===e||pe(e))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},Ae.prototype._stateBeforeCloseingTagName=function(e){pe(e)||(">"===e?this._state=l:this._special!==ue?"s"===e||"S"===e?this._state=j:(this._state=l,this._index--):(this._state=p,this._sectionStart=this._index))},Ae.prototype._stateInCloseingTagName=function(e){(">"===e||pe(e))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},Ae.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},Ae.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=d:pe(e)||(this._state=A,this._sectionStart=this._index)},Ae.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):pe(e)||(this._state=m,this._index--)},Ae.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||pe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=g,this._index--)},Ae.prototype._stateAfterAttributeName=function(e){"="===e?this._state=_:"/"===e||">"===e?(this._cbs.onattribend(),this._state=m,this._index--):pe(e)||(this._cbs.onattribend(),this._state=A,this._sectionStart=this._index)},Ae.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=v,this._sectionStart=this._index+1):"'"===e?(this._state=b,this._sectionStart=this._index+1):pe(e)||(this._state=w,this._sectionStart=this._index,this._index--)},Ae.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)},Ae.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)},Ae.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)},Ae.prototype._stateBeforeDeclaration=function(e){this._state="["===e?O:"-"===e?S:E},Ae.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},Ae.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},Ae.prototype._stateBeforeComment=function(e){"-"===e?(this._state=M,this._sectionStart=this._index+1):this._state=E},Ae.prototype._stateInComment=function(e){"-"===e&&(this._state=x)},Ae.prototype._stateAfterComment1=function(e){this._state="-"===e?T:M},Ae.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=M)},Ae.prototype._stateBeforeCdata1=fe("C",N,E),Ae.prototype._stateBeforeCdata2=fe("D",R,E),Ae.prototype._stateBeforeCdata3=fe("A",L,E),Ae.prototype._stateBeforeCdata4=fe("T",I,E),Ae.prototype._stateBeforeCdata5=fe("A",k,E),Ae.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=B,this._sectionStart=this._index+1):(this._state=E,this._index--)},Ae.prototype._stateInCdata=function(e){"]"===e&&(this._state=D)},Ae.prototype._stateAfterCdata1=function(e){this._state="]"===e?F:B},Ae.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=B)},Ae.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=U:"t"===e||"T"===e?this._state=X:(this._state=u,this._index--)},Ae.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=Q},Ae.prototype._stateBeforeScript1=me("R",H),Ae.prototype._stateBeforeScript2=me("I",V),Ae.prototype._stateBeforeScript3=me("P",Y),Ae.prototype._stateBeforeScript4=me("T",W),Ae.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=de),this._state=u,this._index--},Ae.prototype._stateAfterScript1=fe("R",z,l),Ae.prototype._stateAfterScript2=fe("I",q,l),Ae.prototype._stateAfterScript3=fe("P",G,l),Ae.prototype._stateAfterScript4=fe("T",K,l),Ae.prototype._stateAfterScript5=function(e){">"===e||pe(e)?(this._special=ue,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=l},Ae.prototype._stateBeforeStyle1=me("Y",$),Ae.prototype._stateBeforeStyle2=me("L",Z),Ae.prototype._stateBeforeStyle3=me("E",J),Ae.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||pe(e))&&(this._special=he),this._state=u,this._index--},Ae.prototype._stateAfterStyle1=fe("Y",te,l),Ae.prototype._stateAfterStyle2=fe("L",re,l),Ae.prototype._stateAfterStyle3=fe("E",ne,l),Ae.prototype._stateAfterStyle4=function(e){">"===e||pe(e)?(this._special=ue,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=l},Ae.prototype._stateBeforeEntity=fe("#",ae,oe),Ae.prototype._stateBeforeNumericEntity=fe("X",le,se),Ae.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)}},Ae.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--}},Ae.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--)},Ae.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},Ae.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--)},Ae.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--)},Ae.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)},Ae.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},Ae.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===c?this._stateBeforeTagName(e):this._state===u?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===A?this._stateInAttributeName(e):this._state===g?this._stateAfterAttributeName(e):this._state===_?this._stateBeforeAttributeValue(e):this._state===v?this._stateInAttributeValueDoubleQuotes(e):this._state===b?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===y?this._stateBeforeDeclaration(e):this._state===E?this._stateInDeclaration(e):this._state===C?this._stateInProcessingInstruction(e):this._state===S?this._stateBeforeComment(e):this._state===M?this._stateInComment(e):this._state===x?this._stateAfterComment1(e):this._state===T?this._stateAfterComment2(e):this._state===O?this._stateBeforeCdata1(e):this._state===N?this._stateBeforeCdata2(e):this._state===R?this._stateBeforeCdata3(e):this._state===L?this._stateBeforeCdata4(e):this._state===I?this._stateBeforeCdata5(e):this._state===k?this._stateBeforeCdata6(e):this._state===B?this._stateInCdata(e):this._state===D?this._stateAfterCdata1(e):this._state===F?this._stateAfterCdata2(e):this._state===P?this._stateBeforeSpecial(e):this._state===j?this._stateBeforeSpecialEnd(e):this._state===U?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===Y?this._stateBeforeScript4(e):this._state===W?this._stateBeforeScript5(e):this._state===Q?this._stateAfterScript1(e):this._state===z?this._stateAfterScript2(e):this._state===q?this._stateAfterScript3(e):this._state===G?this._stateAfterScript4(e):this._state===K?this._stateAfterScript5(e):this._state===X?this._stateBeforeStyle1(e):this._state===$?this._stateBeforeStyle2(e):this._state===Z?this._stateBeforeStyle3(e):this._state===J?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()},Ae.prototype.pause=function(){this._running=!1},Ae.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},Ae.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},Ae.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},Ae.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===B||this._state===D||this._state===F?this._cbs.oncdata(e):this._state===M||this._state===x||this._state===T?this._cbs.oncomment(e):this._state!==oe||this._xmlMode?this._state!==se||this._xmlMode?this._state!==le||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==_&&this._state!==g&&this._state!==A&&this._state!==b&&this._state!==v&&this._state!==w&&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()))},Ae.prototype.reset=function(){Ae.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},Ae.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},Ae.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},Ae.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},Ae.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},"2bfb":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  70. //! moment.js locale configuration
  71. 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},c=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\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 A(e){void 0!==s&&s.call(null,"Validation Error: "+e)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function _(e){return e in l}function v(e){return _(e.scheme)}function b(e){return l[e]||null}function w(e){return""!==e.username||""!==e.password}function y(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+="//",w(e)&&(r+=e.username,""!==e.password&&(r+=":"+e.password),r+="@"),r+=C(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 C(e){return n.isNumber(e)?S(e):n.isArray(e)?"["+M(e)+"]":e}function S(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 M(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=T(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 T(e,t,r,o,s){if(void 0===o){o=g();const t=/^[\u0000-\u001F\u0020]+/,r=/[\u0000-\u001F\u0020]+$/;(t.test(e)||r.test(e))&&A("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)&&A("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,y="",E=!1,C=!1,S=!1;const M="",x=new n.StringWalker(e);while(1){switch(f){case i.ParserState.SchemeStart:if(a.codePoint.ASCIIAlpha.test(x.c()))y+=x.c().toLowerCase(),f=i.ParserState.Scheme;else{if(void 0!==s)return A("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())y+=x.c().toLowerCase();else{if(":"!==x.c()){if(void 0===s){y="",f=i.ParserState.NoScheme,x.pointer=0;continue}return A("Invalid input string."),null}if(void 0!==s){if(_(o.scheme)&&!_(y))return o;if(!_(o.scheme)&&_(y))return o;if((w(o)||null!==o.port)&&"file"===y)return o;if("file"===o.scheme&&(""===o.host||null===o.host))return o}if(o.scheme=y,void 0!==s)return o.port===b(o.scheme)&&(o.port=null),o;y="","file"===o.scheme?(x.remaining().startsWith("//")||A("Invalid file URL scheme, '//' expected."),f=i.ParserState.File):v(o)&&null!==t&&t.scheme===o.scheme?f=i.ParserState.SpecialRelativeOrAuthority:v(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 A("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++):(A("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 M: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:v(o)&&"\\"===x.c()?(A("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(!v(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()&&A("Invalid input string."),f=i.ParserState.SpecialAuthorityIgnoreSlashes;break;case i.ParserState.SpecialAuthoritySlashes:"/"===x.c()&&x.remaining().startsWith("/")?(f=i.ParserState.SpecialAuthorityIgnoreSlashes,x.pointer++):(A("Expected '//'."),f=i.ParserState.SpecialAuthorityIgnoreSlashes,x.pointer--);break;case i.ParserState.SpecialAuthorityIgnoreSlashes:"/"!==x.c()&&"\\"!==x.c()?(f=i.ParserState.Authority,x.pointer--):A("Unexpected '/' or '\\'.");break;case i.ParserState.Authority:if("@"===x.c()){A("Unexpected '@'."),E&&(y="%40"+y),E=!0;for(const e of y){if(":"===e&&!S){S=!0;continue}const t=z(e,h);S?o.password+=t:o.username+=t}y=""}else if(x.c()===M||"/"===x.c()||"?"===x.c()||"#"===x.c()||v(o)&&"\\"===x.c()){if(E&&""===y)return A("Invalid input string."),null;x.pointer-=y.length+1,y="",f=i.ParserState.Host}else y+=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()||C)if(x.c()===M||"/"===x.c()||"?"===x.c()||"#"===x.c()||v(o)&&"\\"===x.c()){if(x.pointer--,v(o)&&""===y)return A("Invalid input string."),null;if(void 0!==s&&""===y&&(w(o)||null!==o.port))return A("Invalid input string."),o;const e=F(y,!v(o));if(null===e)return null;if(o.host=e,y="",f=i.ParserState.PathStart,void 0!==s)return o}else"["===x.c()&&(C=!0),"]"===x.c()&&(C=!1),y+=x.c();else{if(""===y)return A("Invalid input string."),null;const e=F(y,!v(o));if(null===e)return null;if(o.host=e,y="",f=i.ParserState.Port,s===i.ParserState.Hostname)return o}break;case i.ParserState.Port:if(a.codePoint.ASCIIDigit.test(x.c()))y+=x.c();else{if(!(x.c()===M||"/"===x.c()||"?"===x.c()||"#"===x.c()||v(o)&&"\\"===x.c()||s))return A("Invalid input string."),null;if(""!==y&&""!==y){const e=parseInt(y,10);if(e>Math.pow(2,16)-1)return A("Invalid port number."),null;o.port=e===b(o.scheme)?null:e,y=""}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()&&A("Invalid input string."),f=i.ParserState.FileSlash;else if(null!==t&&"file"===t.scheme)switch(x.c()){case M: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:D(x.substring())?A("Unexpected windows drive letter in input string."):(o.host=t.host,o.path=a.list.clone(t.path),I(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()&&A("Invalid input string."),f=i.ParserState.FileHost):(null===t||"file"!==t.scheme||D(x.substring())||(k(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()===M||"/"===x.c()||"\\"===x.c()||"?"===x.c()||"#"===x.c())if(x.pointer--,void 0===s&&B(y))A("Unexpected windows drive letter in input string."),f=i.ParserState.Path;else if(""===y){if(o.host="",void 0!==s)return o;f=i.ParserState.PathStart}else{let e=F(y,!v(o));if(null===e)return null;if("localhost"===e&&(e=""),o.host=e,void 0!==s)return o;y="",f=i.ParserState.PathStart}else y+=x.c();break;case i.ParserState.PathStart:v(o)?("\\"===x.c()&&A("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()!==M&&(f=i.ParserState.Path,"/"!==x.c()&&x.pointer--);break;case i.ParserState.Path:if(x.c()===M||"/"===x.c()||v(o)&&"\\"===x.c()||void 0===s&&("?"===x.c()||"#"===x.c())){if(v(o)&&"\\"===x.c()&&A("Invalid input string."),L(y))I(o),"/"===x.c()||v(o)&&"\\"===x.c()||o.path.push("");else if(!R(y)||"/"===x.c()||v(o)&&"\\"===x.c()){if(!R(y)){if("file"===o.scheme&&0===o.path.length&&B(y)){null!==o.host&&""!==o.host&&(A("Invalid input string."),o.host="");const e=Array.from(y);y=e.slice(0,1)+":"+e.slice(2)}o.path.push(y)}}else o.path.push("");if(y="","file"===o.scheme&&(x.c()===M||"?"===x.c()||"#"===x.c()))while(o.path.length>1&&""===o.path[0])A("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()||A("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())||A("Percent encoded character must be followed by two hex digits."),y+=z(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()===M||p.test(x.c())||"%"===x.c()||A("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())||A("Percent encoded character must be followed by two hex digits."),x.c()!==M&&(o.path[0]+=z(x.c(),c)));break;case i.ParserState.Query:if("UTF-8"===m||v(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()!==M){if(p.test(x.c())||"%"===x.c()||A("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())||A("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&&v(o)?o.query+=Y(t):o.query+=String.fromCharCode(t)}break;case i.ParserState.Fragment:x.c()===M||("\0"===x.c()?A("NULL character in input string."):(p.test(x.c())||"%"===x.c()||A("Unexpected character in fragment string."),"%"!==x.c()||/^[A-Za-z0-9][A-Za-z0-9]/.test(x.remaining())||A("Unexpected character in fragment string."),o.fragment+=z(x.c(),u)));break}if(x.eof)break;x.pointer++}return o}function O(e,t){let r="";for(const n of t)r+=z(n,h);e.username=r}function N(e,t){let r="";for(const n of t)r+=z(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 I(e){const t=e.path;0!==t.length&&("file"===e.scheme&&1===t.length&&k(t[0])||e.path.splice(e.path.length-1,1))}function k(e){return e.length>=2&&a.codePoint.ASCIIAlpha.test(e[0])&&":"===e[1]}function B(e){return e.length>=2&&a.codePoint.ASCIIAlpha.test(e[0])&&(":"===e[1]||"|"===e[1])}function D(e){return e.length>=2&&B(e)&&(2===e.length||"/"===e[2]||"\\"===e[2]||"?"===e[2]||"#"===e[2])}function F(e,t=!1){if(e.startsWith("["))return e.endsWith("]")?U(e.substring(1,e.length-1)):(A("Expected ']' after '['."),null);if(t)return H(e);const r=n.utf8Decode(Q(e)),i=ee(r);if(null===i)return A("Invalid domain."),null;if(f.test(i))return A("Invalid domain."),null;const a=j(i);return null===a||n.isNumber(a)?a:i}function P(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 j(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=P(o,t);if(null===r)return e;n.push(r)}t.value&&A("Invalid IP v4 address.");for(let o=0;o<n.length;o++){const e=n[o];if(e>255&&(A("Invalid IP v4 address."),o<n.length-1))return null}if(n[n.length-1]>=Math.pow(256,5-n.length))return A("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 U(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 A("Invalid IP v6 address."),null;s.pointer+=2,i+=1,o=i}while(s.c()!==t){if(8===i)return A("Invalid IP v6 address."),null;if(":"===s.c()){if(null!==o)return A("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 A("Invalid IP v6 address."),null;if(s.pointer-=n,i>6)return A("Invalid IP v6 address."),null;let e=0;while(s.c()!==t){let t=null;if(e>0){if(!("."===s.c()&&e<4))return A("Invalid IP v6 address."),null;s.pointer++}if(!a.codePoint.ASCIIDigit.test(s.c()))return A("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 A("Invalid IP v6 address."),null;t=10*t+e}if(t>255)return A("Invalid IP v6 address."),null;s.pointer++}if(null===t)return A("Invalid IP v6 address."),null;r[i]=256*r[i]+t,e++,2!==e&&4!==e||i++}if(4!==e)return A("Invalid IP v6 address."),null;break}if(":"===s.c()){if(s.pointer++,s.c()===t)return A("Invalid IP v6 address."),null}else if(s.c()!==t)return A("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 A("Invalid IP v6 address."),null;return r}function H(e){const t=/[\x00\t\f\r #/:?@\[\\\]]/;if(t.test(e))return A("Invalid host string."),null;let r="";for(const n of e)r+=z(n,c);return r}function V(e){return null}function Y(e){return"%"+("00"+e.toString(16).toUpperCase()).slice(-2)}function W(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 Q(e){return W(n.utf8Encode(e))}function z(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 q(e,t){return e===t}function G(e,t,r=!1){return E(e,r)===E(t,r)}function K(e){return X(n.utf8Encode(e))}function X(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 Z(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 J(e){switch(e.scheme){case"blob":e._blobURLEntry;const t=T(e.path[0]);return null===t?i.OpaqueOrigin:J(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?(A("Invalid domain name."),null):r}function te(e,t=!1){const r=o.domainToUnicode(e);return""===r&&A("Invalid domain name."),r}function re(e){if(""===e[0]&&""===e[1]&&null===e[2]&&null===e[3])return"null";let t=e[0]+"://"+C(e[1]);return null!==e[2]&&(t+=":"+e[2].toString()),t}t.setValidationErrorCallback=m,t.newURL=g,t.isSpecialScheme=_,t.isSpecial=v,t.defaultPort=b,t.includesCredentials=w,t.cannotHaveAUsernamePasswordPort=y,t.urlSerializer=E,t.hostSerializer=C,t.iPv4Serializer=S,t.iPv6Serializer=M,t.urlParser=x,t.basicURLParser=T,t.setTheUsername=O,t.setThePassword=N,t.isSingleDotPathSegment=R,t.isDoubleDotPathSegment=L,t.shorten=I,t.isNormalizedWindowsDriveLetter=k,t.isWindowsDriveLetter=B,t.startsWithAWindowsDriveLetter=D,t.hostParser=F,t.iPv4NumberParser=P,t.iPv4Parser=j,t.iPv6Parser=U,t.opaqueHostParser=H,t.resolveABlobURL=V,t.percentEncode=Y,t.percentDecode=W,t.stringPercentDecode=Q,t.utf8PercentEncode=z,t.hostEquals=q,t.urlEquals=G,t.urlEncodedStringParser=K,t.urlEncodedParser=X,t.urlEncodedByteSerializer=$,t.urlEncodedSerializer=Z,t.origin=J,t.domainToASCII=ee,t.domainToUnicode=te,t.asciiSerializationOfAnOrigin=re},"2bfc":function(e,t,r){},"2c0f":function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var i=r("44e8").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)}}}))},"2c53":function(e,t,r){},"2c63":function(e,t,r){e.exports=r("dc14")},"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){},"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}},"2e15":function(e,t,r){},"2e8c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  72. //! moment.js locale configuration
  73. 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"),c=r("ba82");function u(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,u=l.characterData_substringData(e,t,i),d=o.create_text(e._nodeDocument,u),h=e._parent;if(null!==h){c.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=u,t.text_contiguousExclusiveTextNodes=d,t.text_descendantTextContent=h,t.text_split=p},3:function(e,t){},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(!y(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])v(l)||!M(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:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),_(r)?n.showHidden=r:r&&t._extend(n,r),C(n.showHidden)&&(n.showHidden=!1),C(n.depth)&&(n.depth=2),C(n.colors)&&(n.colors=!1),C(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 c(e,t){return e}function u(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}function d(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return y(i)||(i=d(e,i,n)),i}var a=h(e,r);if(a)return a;var o=Object.keys(r),s=u(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),T(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(r);if(0===o.length){if(O(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(S(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(T(r))return p(r)}var c,_="",v=!1,b=["{","}"];if(g(r)&&(v=!0,b=["[","]"]),O(r)){var w=r.name?": "+r.name:"";_=" [Function"+w+"]"}return S(r)&&(_=" "+RegExp.prototype.toString.call(r)),x(r)&&(_=" "+Date.prototype.toUTCString.call(r)),T(r)&&(_=" "+p(r)),0!==o.length||v&&0!=r.length?n<0?S(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=v?f(e,r,n,s,o):o.map((function(t){return m(e,r,n,s,t,v)})),e.seen.pop(),A(c,_,b)):b[0]+_+b[1]}function h(e,t){if(C(t))return e.stylize("undefined","undefined");if(y(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return w(t)?e.stylize(""+t,"number"):_(t)?e.stylize(""+t,"boolean"):v(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)B(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")),B(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=v(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")),C(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 A(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 g(e){return Array.isArray(e)}function _(e){return"boolean"===typeof e}function v(e){return null===e}function b(e){return null==e}function w(e){return"number"===typeof e}function y(e){return"string"===typeof e}function E(e){return"symbol"===typeof e}function C(e){return void 0===e}function S(e){return M(e)&&"[object RegExp]"===R(e)}function M(e){return"object"===typeof e&&null!==e}function x(e){return M(e)&&"[object Date]"===R(e)}function T(e){return M(e)&&("[object Error]"===R(e)||e instanceof Error)}function O(e){return"function"===typeof e}function N(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(C(a)&&(a=Object({NODE_ENV:"production",VUE_APP_BASE_API:"/prod-api",VUE_APP_TITLE:"GQY管理系统",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=g,t.isBoolean=_,t.isNull=v,t.isNullOrUndefined=b,t.isNumber=w,t.isString=y,t.isSymbol=E,t.isUndefined=C,t.isRegExp=S,t.isObject=M,t.isDate=x,t.isError=T,t.isFunction=O,t.isPrimitive=N,t.isBuffer=r("d60a");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var e=new Date,t=[L(e.getHours()),L(e.getMinutes()),L(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function B(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",k(),t.format.apply(t,arguments))},t.inherits=r("28a0"),t._extend=function(e,t){if(!t||!M(t))return e;var r=Object.keys(t),n=r.length;while(n--)e[r[n]]=t[r[n]];return e};var D="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function F(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}function P(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(F,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(D&&e[D]){var t=e[D];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,D,{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)),D&&Object.defineProperty(t,D,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=D,t.callbackify=P}).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 c(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 u(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 A(e,t){return e.sort((e,r)=>t.call(null,e,r)?-1:1)}function g(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=c,t.empty=u,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=A,t.sortInDescendingOrder=g},"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"),c=r("7c81"),u=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&&c.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&&u.dom_runAttributeChangeSteps(t,e._localName,e._value,r,e._namespace),e._value=r}function m(e,t){n.dom.features.mutationObservers&&c.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&&u.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 A(e,t){n.dom.features.mutationObservers&&c.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&&u.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 g(e,t,r){n.dom.features.mutationObservers&&c.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&&u.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 _(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 v(e,t,r){const n=e||null;return r._attributeList._asArray().find(e=>e._namespace===n&&e._localName===t)||null}function b(e,t,r=""){const n=v(r,t,e);return null===n?"":n._value}function w(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=v(e._namespace||"",e._localName,t);return r===e?e:(null!==r?g(r,e,t):m(e,t),r)}function y(e,t,r,n=null,i=null){const a=v(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=_(e,t);return null!==r&&A(r,t),r}function C(e,t,r){const n=v(e,t,r);return null!==n&&A(n,r),n}function S(e,t,r,a=null,c=null,u=!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=c,d;const p=l.customElement_lookUpACustomElementDefinition(e,r,t,c);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=c,d._nodeDocument=e,u?l.customElement_upgrade(p,d):l.customElement_enqueueACustomElementUpgradeReaction(d,p)}else if(null!==p)if(u)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=c,d._nodeDocument=e,r!==i.namespace.HTML||null===c&&!l.customElement_isValidCustomElementName(t)||(d._customElementState="undefined")}if(null===d)throw new Error("Unable to create element.");return d}function M(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=A,t.element_replace=g,t.element_getAnAttributeByName=_,t.element_getAnAttributeByNamespaceAndLocalName=v,t.element_getAnAttributeValue=b,t.element_setAnAttribute=w,t.element_setAnAttributeValue=y,t.element_removeAnAttributeByName=E,t.element_removeAnAttributeByNamespaceAndLocalName=C,t.element_createAnElement=S,t.element_insertAdjacent=M},"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"),c=r("2bfb9"),u=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 c.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,u.idl_defineConst(d.prototype,"ELEMENT_NODE",1),u.idl_defineConst(d.prototype,"ATTRIBUTE_NODE",2),u.idl_defineConst(d.prototype,"TEXT_NODE",3),u.idl_defineConst(d.prototype,"CDATA_SECTION_NODE",4),u.idl_defineConst(d.prototype,"ENTITY_REFERENCE_NODE",5),u.idl_defineConst(d.prototype,"ENTITY_NODE",6),u.idl_defineConst(d.prototype,"PROCESSING_INSTRUCTION_NODE",7),u.idl_defineConst(d.prototype,"COMMENT_NODE",8),u.idl_defineConst(d.prototype,"DOCUMENT_NODE",9),u.idl_defineConst(d.prototype,"DOCUMENT_TYPE_NODE",10),u.idl_defineConst(d.prototype,"DOCUMENT_FRAGMENT_NODE",11),u.idl_defineConst(d.prototype,"NOTATION_NODE",12),u.idl_defineConst(d.prototype,"DOCUMENT_POSITION_DISCONNECTED",1),u.idl_defineConst(d.prototype,"DOCUMENT_POSITION_PRECEDING",2),u.idl_defineConst(d.prototype,"DOCUMENT_POSITION_FOLLOWING",4),u.idl_defineConst(d.prototype,"DOCUMENT_POSITION_CONTAINS",8),u.idl_defineConst(d.prototype,"DOCUMENT_POSITION_CONTAINED_BY",16),u.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 c(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 u(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,c,u,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,p=this.n.clone(),f=new i(1),m=new i(0),A=new i(0),g=new i(1),_=0;while(0!==h.cmpn(0)){var v=p.div(h);c=p.sub(v.mul(h)),u=A.sub(v.mul(f));var b=g.sub(v.mul(m));if(!n&&c.cmp(d)<0)t=l.neg(),r=f,n=c.neg(),a=u;else if(n&&2===++_)break;l=c,p=h,h=c,A=f,f=u,g=m,m=b}o=c.neg(),s=u;var w=n.sqr().add(a.sqr()),y=o.sqr().add(s.sqr());return y.cmp(w)>=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),c=a.mul(n.b),u=e.sub(o).sub(s),d=l.add(c).neg();return{k1:u,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 c=this._wnafMulAdd(1,n,i,2*a,r),u=0;u<2*a;u++)n[u]=null,i[u]=null;return c},a(c,o.BasePoint),l.prototype.point=function(e,t,r){return new c(this,e,t,r)},l.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.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}},c.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]},c.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},c.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)+">"},c.prototype.isInfinity=function(){return this.inf},c.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)},c.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)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.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)},c.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)},c.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)},c.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))},c.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},c.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(u,o.BasePoint),l.prototype.jpoint=function(e,t,r){return new u(this,e,t,r)},u.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)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.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 c=s.redSqr(),u=c.redMul(s),d=n.redMul(c),h=l.redSqr().redIAdd(u).redISub(d).redISub(d),p=l.redMul(d.redISub(h)).redISub(a.redMul(u)),f=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,p,f)},u.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(),c=l.redMul(o),u=r.redMul(l),d=s.redSqr().redIAdd(c).redISub(u).redISub(u),h=s.redMul(u.redISub(d)).redISub(i.redMul(c)),p=this.z.redMul(o);return this.curve.jpoint(d,h,p)},u.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(),c=o.redAdd(o);for(t=0;t<e;t++){var u=a.redSqr(),d=c.redSqr(),h=d.redSqr(),p=u.redAdd(u).redIAdd(u).redIAdd(n.redMul(l)),f=a.redMul(d),m=p.redSqr().redISub(f.redAdd(f)),A=f.redISub(m),g=p.redMul(A);g=g.redIAdd(g).redISub(h);var _=c.redMul(s);t+1<e&&(l=l.redMul(h)),a=m,s=_,c=g}return this.curve.jpoint(a,c.redMul(i),s)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.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),c=a.redIAdd(a);c=c.redIAdd(c),c=c.redIAdd(c),e=l,t=s.redMul(o.redISub(l)).redISub(c),r=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(u).redISub(h);p=p.redIAdd(p);var f=u.redAdd(u).redIAdd(u),m=f.redSqr(),A=h.redIAdd(h);A=A.redIAdd(A),A=A.redIAdd(A),e=m.redISub(p).redISub(p),t=f.redMul(p.redISub(e)).redISub(A),r=this.y.redMul(this.z),r=r.redIAdd(r)}return this.curve.jpoint(e,t,r)},u.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 c=a.redIAdd(a);c=c.redIAdd(c),c=c.redIAdd(c),t=s.redMul(o.redISub(l)).redISub(c),r=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),p=this.x.redSub(u).redMul(this.x.redAdd(u));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(u);var A=d.redSqr();A=A.redIAdd(A),A=A.redIAdd(A),A=A.redIAdd(A),t=p.redMul(f.redISub(e)).redISub(A)}return this.curve.jpoint(e,t,r)},u.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 c=l.redMul(o),u=s.redSqr().redISub(c.redAdd(c)),d=c.redISub(u),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(u,p,f)},u.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 c=i.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(l),u=t.redMul(c);u=u.redIAdd(u),u=u.redIAdd(u);var d=this.x.redMul(s).redISub(u);d=d.redIAdd(d),d=d.redIAdd(d);var h=this.y.redMul(c.redMul(l.redISub(c)).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)},u.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},u.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)},u.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}},u.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)+">"},u.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")},"333d":function(e,t,r){"use strict";var n=r("1985"),i=r("49ba");e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a String");return e.replace(/&(#?[^;\W]+;?)/g,(function(e,t){var r=/^#(\d+);?$/.exec(t);if(r)return n.ucs2.encode([parseInt(r[1],10)]);var a=/^#[Xx]([A-Fa-f0-9]+);?/.exec(t);if(a)return n.ucs2.encode([parseInt(a[1],16)]);var o=/;$/.test(t),s=o?t.replace(/;$/,""):t,l=i[s]||o&&i[t];return"number"===typeof l?n.ucs2.encode([l]):"string"===typeof l?l:"&"+t}))}},3383:function(e,t,r){},"343e":function(e,t,r){var n=t;n.der=r("3768"),n.pem=r("85b3")},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 c})),r.d(t,"mixin",(function(){return u})),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 A})),r.d(t,"deepObjectSize",(function(){return g})),r.d(t,"createObjectPropListener",(function(){return _})),r.d(t,"hasOwnProperty",(function(){return v}));r("d9e2"),r("14d9"),r("e9c4");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 c(e){const t={};return f(e,(e,r)=>{t[r]=e}),t}function u(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 A(e,t,r){const n=t.split(".");let i=e;n.forEach((e,t)=>{t!==n.length-1?(v(i,e)||(i[e]={}),i=i[e]):i[e]=r})}function g(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 _(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 v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},"366c":function(e,t,r){},"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 c 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 c;return i._localName=t,i._namespace=r,i._namespacePrefix=n,i._nodeDocument=e,i}}t.ElementImpl=c,l.idl_defineConst(c.prototype,"_nodeType",n.NodeType.Element)},3721:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"header-setting"},[r("el-input",{attrs:{placeholder:"请填写表头"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}}),r("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[r("el-button",{attrs:{type:"warning"},on:{click:e.btnSave}},[e._v("确认保存")])],1)],1)},i=[],a=(r("b0c0"),{emits:["onSetHeader"],props:{headerItemName:{type:String,default:""}},watch:{headerItemName:{handler:function(e){void 0!=e&&(this.form.name=e)},immediate:!0,deep:!0}},data:function(){return{form:{name:""}}},methods:{btnSave:function(e){var t=this;t.$emit("onSetHeader",t.form.name)}}}),o=a,s=(r("16ad"),r("2877")),l=Object(s["a"])(o,n,i,!1,null,null,null);t["default"]=l.exports},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 c,this.tree._init(e.body)}function c(e){o.Node.call(this,"der",e)}function u(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(c,o.Node),c.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 c=n.length;c>0;l--,c>>=8)o[l]=255&c;return this._createEncoderBuffer([o,n])},c.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")},c.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)},c.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[u(n.getFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.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))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},c.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(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 c(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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 u=["","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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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?u[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 c=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:u[c-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,c=new e(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},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,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function A(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 g(e,t,r){var n=new _;return n.mulp(e,t,r)}function _(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?A(this,e,t):g(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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),g(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 S(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 v={k256:null,p224:null,p192:null,p25519:null};function b(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(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(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 M(e){S.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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.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},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),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},w.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(y,b),i(E,b),i(C,b),C.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(v[e])return v[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return v[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.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)},M.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)},M.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},"384f":function(e,t,r){"use strict";var n=r("e330"),i=r("5388"),a=r("cb27"),o=a.Set,s=a.proto,l=n(s.forEach),c=n(s.keys),u=c(new o).next;e.exports=function(e,t,r){return r?i({iterator:c(e),next:u},t):l(e,t)}},3886:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  74. //! moment.js locale configuration
  75. 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}))},3959:function(e,t,r){},"395e":function(e,t,r){"use strict";var n=r("dc19"),i=r("cb27").has,a=r("8e16"),o=r("7f65"),s=r("5388"),l=r("2a62");e.exports=function(e){var t=n(this),r=o(e);if(a(t)<r.size)return!1;var c=r.getIterator();return!1!==s(c,(function(e){if(!i(t,e))return l(c,"normal",!1)}))}},"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(8).Buffer}catch(N){}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 c(e,t,r,i){for(var a=0,o=0,s=Math.min(e.length,r),l=t;l<s;l++){var c=e.charCodeAt(l)-48;a*=i,o=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&o<i,"Invalid character"),a+=o}return a}function u(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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){u(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(N){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 c=p[e],u=f[e];r="";var d=this.clone();d.negative=0;while(!d.isZero()){var m=d.modrn(u).toString(e);d=d.idivn(u),r=d.isZero()?m+r:h[c-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 A(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 g(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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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 _=function(e,t,r){var n,i,a,o=e.words,s=t.words,l=r.words,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function v(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 b(e,t,r){return v(e,t,r)}function w(e,t){this.x=e,this.y=t}Math.imul||(_=g),a.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?_(this,e,t):n<63?g(this,e,t):n<1024?v(this,e,t):b(this,e,t),r},w.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},w.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},w.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]]},w.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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},w.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},w.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}},w.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},w.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))},w.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},w.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),b(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=A(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 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 C(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){E.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 O(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)}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(C,E),C.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},C.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,E),i(M,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(y[e])return y[e];var t;if("k256"===e)t=new C;else if("p224"===e)t=new S;else if("p192"===e)t=new M;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}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):(u(e,e.umod(this.m)._forceRed(this)),e)},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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=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 O(e)},i(O,T),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.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)},O.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)},O.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";
  76. //! moment.js locale configuration
  77. 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";
  78. //! moment.js locale configuration
  79. 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}))},"39cd":function(e,t,r){var n=e.exports;[r("ff51b"),r("7f98"),r("2473"),r("8229"),r("0d44"),r("c8f7")].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},"39f4":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("5382"),a=r("484b"),o=r("9081"),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 c={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},u={mode:"specialChars",level:"all",numeric:"decimal"};function d(e,t){var r=void 0===t?u: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=c[i],m=s[p].characters,A="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=(A?"&#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}},A=n(n({},m),{all:m.html5}),g=String.fromCharCode,_=g(65533),v={level:"all"};function b(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 c=e[2],u="x"==c||"X"==c?parseInt(e.substr(3),16):parseInt(e.substr(2));i=u>=1114111?_:u>65535?o.fromCodePoint(u):g(a.numericUnicodeMap[u]||u)}}return i}function w(e,t){var r=(void 0===t?v:t).level,n=void 0===r?"all":r;return e?b(e,s[n].entities,!1,!1):""}function y(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 c=A[i][o],u=s[i].entities,d="attribute"===o,p="strict"===o;return l(e,c,(function(e){return b(e,u,d,p)}))}t.decodeEntity=w,t.decode=y},"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,c=r[0],u=r[1],d=r[2],h=r[3],p=e[0]^t[0],f=e[1]^t[1],m=e[2]^t[2],A=e[3]^t[3],g=4,_=1;_<i;_++)a=c[p>>>24]^u[f>>>16&255]^d[m>>>8&255]^h[255&A]^t[g++],o=c[f>>>24]^u[m>>>16&255]^d[A>>>8&255]^h[255&p]^t[g++],s=c[m>>>24]^u[A>>>16&255]^d[p>>>8&255]^h[255&f]^t[g++],l=c[A>>>24]^u[p>>>16&255]^d[f>>>8&255]^h[255&m]^t[g++],p=a,f=o,m=s,A=l;return a=(n[p>>>24]<<24|n[f>>>16&255]<<16|n[m>>>8&255]<<8|n[255&A])^t[g++],o=(n[f>>>24]<<24|n[m>>>16&255]<<16|n[A>>>8&255]<<8|n[255&p])^t[g++],s=(n[m>>>24]<<24|n[A>>>16&255]<<16|n[p>>>8&255]<<8|n[255&f])^t[g++],l=(n[A>>>24]<<24|n[p>>>16&255]<<16|n[f>>>8&255]<<8|n[255&m])^t[g++],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 c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,r[o]=c,n[c]=o;var u=e[o],d=e[u],h=e[d],p=257*e[c]^16843008*c;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*u^16843008*o,a[0][c]=p<<24|p>>>8,a[1][c]=p<<16|p>>>16,a[2][c]=p<<8|p>>>24,a[3][c]=p,0===o?o=s=1:(o=u^e[e[e[h^u]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:a}}();function c(e){this._key=i(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.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 c=[],u=0;u<n;u++){var d=n-u,h=i[d-(u%4?0:4)];c[u]=u<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=c},c.prototype.encryptBlockRaw=function(e){return e=i(e),o(e,this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.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},c.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},c.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=c},"3a39":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  80. //! moment.js locale configuration
  81. 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";
  82. //! moment.js locale configuration
  83. 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]"===A(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 c(e){return void 0===e}function u(e){return"[object RegExp]"===A(e)}function d(e){return"object"===typeof e&&null!==e}function h(e){return"[object Date]"===A(e)}function p(e){return"[object Error]"===A(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 A(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=c,t.isRegExp=u,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";
  84. //! moment.js locale configuration
  85. 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"),c=r("4b7d"),u=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 A(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=c.tree_retarget(e._relatedTarget,t);if(t!==d||t===e._relatedTarget){let r=[];for(const n of e._touchTargetList)r.push(c.tree_retarget(n,t));g(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)&&u.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=c.tree_rootNode(m,!0);a.Guard.isShadowRoot(e)&&"closed"===e._mode&&(f=!0)}a.Guard.isSlotable(m)&&u.shadowTree_isAssigned(m)&&(p=m),d=c.tree_retarget(e._relatedTarget,m),r=[];for(const t of e._touchTargetList)r.push(c.tree_retarget(t,m));a.Guard.isWindow(m)||a.Guard.isNode(m)&&a.Guard.isNode(t)&&c.tree_isAncestorOf(c.tree_rootNode(t,!0),m,!0,!0)?(h&&e._bubbles&&null===l&&m._activationBehavior&&(l=m),g(e,m,null,d,r,f)):m===d?m=null:(t=m,h&&null===l&&t._activationBehavior&&(l=t),g(e,m,t,d,r,f)),null!==m&&(m=m._getTheParent(e)),f=!1}let A=null;const v=e._path;for(let e=v.length-1;e>=0;e--){const t=v[e];if(null!==t.shadowAdjustedTarget){A=t;break}}if(null!==A)if(a.Guard.isNode(A.shadowAdjustedTarget)&&a.Guard.isShadowRoot(c.tree_rootNode(A.shadowAdjustedTarget,!0)))o=!0;else if(a.Guard.isNode(A.relatedTarget)&&a.Guard.isShadowRoot(c.tree_rootNode(A.relatedTarget,!0)))o=!0;else for(let e=0;e<A.touchTargetList.length;e++){const t=A.touchTargetList[e];if(a.Guard.isNode(t)&&a.Guard.isShadowRoot(c.tree_rootNode(t,!0))){o=!0;break}}null!==l&&void 0!==l._legacyPreActivationBehavior&&l._legacyPreActivationBehavior(e);for(let t=v.length-1;t>=0;t--){const r=v[t];null!==r.shadowAdjustedTarget?e._eventPhase=i.EventPhase.AtTarget:e._eventPhase=i.EventPhase.Capturing,_(r,e,"capturing",n)}for(let t=0;t<v.length;t++){const r=v[t];if(null!==r.shadowAdjustedTarget)e._eventPhase=i.EventPhase.AtTarget;else{if(!e._bubbles)continue;e._eventPhase=i.EventPhase.Bubbling}_(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 g(e,t,r,n,i,o){let s=!1;a.Guard.isNode(t)&&a.Guard.isShadowRoot(c.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 _(e,t,r,n={value:!1}){const i=t._path;let a=-1;for(let u=0;u<i.length;u++)if(i[u]===e){a=u;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 c=v(t,l,r,e,n);if(!c&&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"),v(t,l,r,e,n),t._type=i}}function v(e,t,r,n,i={value:!1}){let o=!1;for(let l=0;l<t.length;l++){const c=t[l];if(!c.removed){if(e._type!==c.type)continue;if(o=!0,"capturing"===r&&!c.capture)continue;if("bubbling"===r&&c.capture)continue;if(c.once&&null!==e._currentTarget){const t=e._currentTarget;let r=-1;for(let e=0;e<t._eventListenerList.length;e++)if(t._eventListenerList[e]===c){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)),c.passive&&(e._inPassiveListenerFlag=!0);try{c.callback.handleEvent.call(e._currentTarget,e)}catch(s){i.value=!0}if(c.passive&&(e._inPassiveListenerFlag=!1),a.Guard.isWindow(t)&&(t._currentEvent=l),e._stopImmediatePropagationFlag)return o}}return o}function b(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 A(a,t,i)}function w(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 y(e,t){const r=C(e,t);return null===r?null:S(r,t)}function E(e,t,r){const n=C(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),M(n,t)}}function C(e,t){return null}function S(e,t){return null}function M(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=A,t.event_appendToAnEventPath=g,t.event_invoke=_,t.event_innerInvoke=v,t.event_fireAnEvent=b,t.event_createLegacyEvent=w,t.event_getterEventHandlerIDLAttribute=y,t.event_setterEventHandlerIDLAttribute=E,t.event_determineTheTargetOfAnEventHandler=C,t.event_getTheCurrentValueOfAnEventHandler=S,t.event_activateAnEventHandler=M,t.event_deactivateAnEventHandler=x},"3c0d":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  86. //! moment.js locale configuration
  87. var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},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}))},"3c65":function(e,t,r){"use strict";var n=r("23e7"),i=r("7b0b"),a=r("07fa"),o=r("3a34"),s=r("083a"),l=r("3511"),c=1!==[].unshift(0),u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},d=c||!u();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 c=r;while(c--){var u=c+n;c in t?t[u]=t[c]:s(t,u)}for(var d=0;d<n;d++)t[d]=arguments[d]}return o(t,r+n)}})},"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 u})),r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return s}));r("d9e2");var n=r("9acd");const{register:i,getItem:a,hasItem:o,getNames:s,getValues:l}=Object(n["a"])("renderers");function c(e){if("function"===typeof e)return e;if(!o(e))throw Error(`No registered renderer found under "${e}" name`);return a(e)}function u(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 c(e,t,r,c){const u=o.tree_nodeLength(e);if(t>u)throw new a.IndexSizeError(`Offset exceeds character data length. Offset: ${t}, Length: ${u}, Node is ${e.nodeName}.`);t+r>u&&(r=u-t),n.dom.features.mutationObservers&&s.observer_queueMutationRecord("characterData",e,null,null,e._data,[],[],null,null);const d=e._data.substring(0,t)+c+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]+=c.length-r),i._end[0]===e&&i._end[1]>t+r&&(i._end[1]+=c.length-r);n.dom.features.steps&&i.Guard.isTextNode(e)&&null!==e._parent&&l.dom_runChildTextContentChangeSteps(e._parent)}function u(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=c,t.characterData_substringData=u},"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 c(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(c,o.BasePoint),l.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},l.prototype.point=function(e,t,r,n){return new c(this,e,t,r,n)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.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)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.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),c=a.redMul(s),u=i.redMul(s),d=o.redMul(a);return this.curve.point(l,c,d,u)},c.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 c=n.redAdd(l);this.zOne?(e=o.redSub(s).redSub(l).redMul(c.redSub(this.curve.two)),t=c.redMul(n.redSub(l)),r=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),a=c.redSub(i).redISub(i),e=o.redSub(s).redISub(l).redMul(a),t=c.redMul(n.redSub(l)),r=c.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)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.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),c=a.redMul(o),u=s.redMul(l),d=a.redMul(l),h=o.redMul(s);return this.curve.point(c,u,h,d)},c.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),c=i.redAdd(s),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),d=n.redMul(l).redMul(u);return this.curve.twisted?(t=n.redMul(c).redMul(o.redSub(this.curve._mulA(a))),r=l.redMul(c)):(t=n.redMul(c).redMul(o.redSub(a)),r=this.curve._mulC(l).redMul(c)),this.curve.point(d,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.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},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.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}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},"3de5":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  88. //! moment.js locale configuration
  89. 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){"use strict";var n=r("1985"),i=r("b2ed");e.exports=function(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 c=o[l],u=n.ucs2.encode([c]),d=i[c];d&&(c>=127||a[u])&&!r?s.push("&"+(/;$/.test(d)?d:d+";")):c<32||c>=127||a[u]?s.push("&#"+c+";"):s.push(u)}return s.join("")}},"3e3e":function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return l}));var n=r("b775");function i(e){return Object(n["a"])({url:"/params/search",method:"post",data:e})}function a(e){return Object(n["a"])({url:"/params/create",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/params/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/params/delete",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/params/info",method:"post",data:e})}},"3e4b":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-viewer"},[r("div",{ref:"content",staticClass:"content"},[e._l(e.coms,(function(t,n){return[r(t.type,{key:n,tag:"component",attrs:{com:t,coms:e.comList,currentIndex:n,isActive:!1},on:{onUpdateData:e.onUpdateData}})]}))],2),r("div",{staticClass:"export"},[r("el-button",{attrs:{type:"primary",loading:e.exporting,disabled:e.exporting},on:{click:e.onExport}},[e._v("导出")])],1)])},i=[],a=r("e004"),o=a["a"],s=(r("aa39"),r("2877")),l=Object(s["a"])(o,n,i,!1,null,null,null);t["default"]=l.exports},"3e8f":function(e,t){},"3e92":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  90. //! moment.js locale configuration
  91. 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%"),c=i("%Reflect.apply%",!0)||n.call(l,s),u=r("71c9"),d=i("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new o("a function is required");var t=c(n,l,arguments);return a(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return c(n,s,arguments)};u?u(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}}},4:function(e,t){},4069:function(e,t,r){"use strict";var n=r("44d2");n("flat")},"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 c(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 u(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 A(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?-1:1),new Set(r)}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 _(e,t){for(const r of e)if(!t.has(r))return!1;return!0}function v(e,t){return _(t,e)}function b(e,t){const r=new Set;for(const n of e)t.has(n)&&r.add(n);return r}function w(e,t){const r=new Set(e);return t.forEach(r.add,r),r}function y(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=c,t.empty=u,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=A,t.sortInDescendingOrder=g,t.isSubsetOf=_,t.isSupersetOf=v,t.intersection=b,t.union=w,t.range=y},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 c=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=c;var u=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=u,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},"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"),c=r("ae84"),u=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=c(t,!1,r.key,r.iv);return f(e,n.key,n.iv)}u(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";
  92. //! moment.js locale configuration
  93. 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}))},"424e":function(e,t,r){"use strict";r.d(t,"h",(function(){return i})),r.d(t,"e",(function(){return a})),r.d(t,"l",(function(){return o})),r.d(t,"a",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"c",(function(){return c})),r.d(t,"i",(function(){return u})),r.d(t,"b",(function(){return d})),r.d(t,"m",(function(){return h})),r.d(t,"f",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"j",(function(){return m})),r.d(t,"k",(function(){return A}));var n=r("b775");function i(e){return Object(n["a"])({url:"/document/list",method:"post",data:e})}function a(e){return Object(n["a"])({url:"/document/export",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/document/edit",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/document/add",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/document/info/".concat(e),method:"get"})}function c(e){return Object(n["a"])({url:"/document/dele/".concat(e),method:"get"})}function u(e){return Object(n["a"])({url:"/document/category/search",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/document/category/create",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/document/category/update",method:"post",data:e})}function p(e){return Object(n["a"])({url:"/document/category/info",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/document/category/delete",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/template/searchList",method:"post",data:e})}function A(e){return Object(n["a"])({url:"/document/list",method:"post",data:e})}},"429b":function(e,t,r){e.exports=r("faa1").EventEmitter},"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={}))},"440c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  94. //! moment.js locale configuration
  95. 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}))},4478:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("14d9"),r("4ae1");var n=r("d967"),i=r("b380");function a(e,t,r){if(Object(n["a"])())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var o=new(e.bind.apply(e,a));return r&&Object(i["a"])(o,r.prototype),o}},"448c":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-formual"},[r("el-button",{on:{click:e.searchEx}},[e._v("检索")]),e.matchResults.length?r("div",{staticClass:"match-results"},[e._l(e.matchResults,(function(t,n){return r("div",{key:n,staticClass:"match-item"},[r("div",{staticClass:"match-content"},[r("span",[e._v("原始值: "+e._s(t))]),r("span",[e._v("替换后: "+e._s(t+"1"))])]),r("div",{staticClass:"actions"},[r("el-button",{attrs:{size:"small"},on:{click:function(r){return e.replaceItem(t)}}},[e._v("替换")])],1)])})),r("el-button",{attrs:{type:"primary"},on:{click:e.replaceAll}},[e._v("批量替换")])],2):e._e()],1)},i=[],a=r("2909"),o=(r("99af"),r("d3b7"),r("ac1f"),r("6062"),r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3"),r("3ca3"),r("466d"),r("0643"),r("4e3e"),r("159b"),r("ddb0"),r("1c4c")),s=(r("f7e6"),r("bc3a"),{name:"SourceEs",emits:["onPicked"],props:{TemList:{type:Array,default:[]}},components:{},data:function(){return{tableCode:"",tableList:[],showConfirm:!1,fileLoadStatus:!1,showSearch:!1,position:{tb:"",c:0,r:0,sheet:"",value:""},dataIntro:"",textInfo:"",loading:!1,searchResult:{},matchResults:[]}},mounted:function(){this.initTableList()},methods:{searchEx:function(){var e=[];this.TemList.forEach((function(t){var r=t.content.match(/\[[A-Z0-9]+-[A-Z0-9]+-[0-9]+-[0-9]+\]/g);r&&(e=[].concat(Object(a["a"])(e),Object(a["a"])(r)))})),this.matchResults=Object(a["a"])(new Set(e)),console.log("匹配到的结果:",this.matchResults)},replaceItem:function(e){var t=this;this.$confirm("确认将 ".concat(e," 替换为 ").concat(e,"1?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$message.success("替换成功")})).catch((function(){}))},replaceAll:function(){var e=this;this.$confirm("确认批量替换 ".concat(this.matchResults.length," 项内容?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$message.success("批量替换成功")})).catch((function(){}))},initTableList:function(){var e=this;Object(o["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}}),l=s,c=(r("4b2c"),r("2877")),u=Object(c["a"])(l,n,i,!1,null,"162b1d64",null);t["default"]=u.exports},"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)&&(a(t.length===2*e.encodingLength,"Signature has invalid size"),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},"44e8":function(e,t,r){var n=r("9d30"),i=r("fee6");function a(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r("2bc1"),ElementType:r("843f"),DomHandler:i,get FeedHandler(){return a("FeedHandler",r("c13b"))},get Stream(){return a("Stream",r("464a"))},get WritableStream(){return a("WritableStream",r("4519"))},get ProxyHandler(){return a("ProxyHandler",r("2c0f"))},get DomUtils(){return a("DomUtils",r("39cd"))},get CollectingHandler(){return a("CollectingHandler",r("6727"))},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}}},4502:function(e,t,r){},4519:function(e,t,r){e.exports=s;var n=r("9d30"),i=r(2).Writable,a=r("7d72").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()}},"464a":function(e,t,r){e.exports=i;var n=r("4519");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("44e8").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)}}}))},4678:function(e,t,r){var n={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"25548","./bs.js":"25548","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df48","./fa.js":"8df48","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b46","./gd.js":"f6b46","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return r(t)}function a(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id="4678"},4681: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}},"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,c="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 u=Object.keys(a),d=0;d<u.length;d++){var h=u[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 A=f[m];p[p[A]]=A}function g(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",u),e.removeListener("readable",o),r(t)}function u(){var t,o=null;a>=l?o=new RangeError(c):t=n.concat(i,a),i=[],e.close(),r(o,t)}e.on("error",s),e.on("end",u),e.end(t),o()}function _(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 v(e){if(!(this instanceof v))return new v(e);x.call(this,e,a.DEFLATE)}function b(e){if(!(this instanceof b))return new b(e);x.call(this,e,a.INFLATE)}function w(e){if(!(this instanceof w))return new w(e);x.call(this,e,a.GZIP)}function y(e){if(!(this instanceof y))return new y(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 C(e){if(!(this instanceof C))return new C(e);x.call(this,e,a.INFLATERAW)}function S(e){if(!(this instanceof S))return new S(e);x.call(this,e,a.UNZIP)}function M(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&&!M(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!M(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){T(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 c=t.Z_DEFAULT_STRATEGY;"number"===typeof e.strategy&&(c=e.strategy),this._handle.init(e.windowBits||t.Z_DEFAULT_WINDOWBITS,l,e.memLevel||t.Z_DEFAULT_MEMLEVEL,c,e.dictionary),this._buffer=n.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!o._handle},configurable:!0,enumerable:!0})}function T(t,r){r&&e.nextTick(r),t._handle&&(t._handle.close(),t._handle=null)}function O(e){e.emit("close")}Object.defineProperty(t,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),t.Deflate=v,t.Inflate=b,t.Gzip=w,t.Gunzip=y,t.DeflateRaw=E,t.InflateRaw=C,t.Unzip=S,t.createDeflate=function(e){return new v(e)},t.createInflate=function(e){return new b(e)},t.createDeflateRaw=function(e){return new E(e)},t.createInflateRaw=function(e){return new C(e)},t.createGzip=function(e){return new w(e)},t.createGunzip=function(e){return new y(e)},t.createUnzip=function(e){return new S(e)},t.deflate=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new v(t),e,r)},t.deflateSync=function(e,t){return _(new v(t),e)},t.gzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new w(t),e,r)},t.gzipSync=function(e,t){return _(new w(t),e)},t.deflateRaw=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new E(t),e,r)},t.deflateRawSync=function(e,t){return _(new E(t),e)},t.unzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new S(t),e,r)},t.unzipSync=function(e,t){return _(new S(t),e)},t.inflate=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new b(t),e,r)},t.inflateSync=function(e,t){return _(new b(t),e)},t.gunzip=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new y(t),e,r)},t.gunzipSync=function(e,t){return _(new y(t),e)},t.inflateRaw=function(e,t,r){return"function"===typeof t&&(r=t,t={}),g(new C(t),e,r)},t.inflateRawSync=function(e,t){return _(new C(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){T(this,t),e.nextTick(O,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,u=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&&_(m[0],m[1]));if(this._hadError)throw h;if(f>=l)throw T(this),new RangeError(c);var A=n.concat(p,f);return T(this),A}s(this._handle,"zlib binding closed");var g=this._handle.write(t,e,o,i,this._buffer,this._offset,a);function _(l,c){if(this&&(this.buffer=null,this.callback=null),!u._hadError){var h=a-c;if(s(h>=0,"have should not go down"),h>0){var m=u._buffer.slice(u._offset,u._offset+h);u._offset+=h,d?u.push(m):(p.push(m),f+=m.length)}if((0===c||u._offset>=u._chunkSize)&&(a=u._chunkSize,u._offset=0,u._buffer=n.allocUnsafe(u._chunkSize)),0===c){if(o+=i-l,i=l,!d)return!0;var A=u._handle.write(t,e,o,i,u._buffer,u._offset,u._chunkSize);return A.callback=_,void(A.buffer=e)}if(!d)return!1;r()}}g.buffer=e,g.callback=_},o.inherits(v,x),o.inherits(b,x),o.inherits(w,x),o.inherits(y,x),o.inherits(E,x),o.inherits(C,x),o.inherits(S,x)}).call(this,r("4362"))},4760:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"project-search"},[r("dataSearch",{on:{bindSetQuery:e.setQuery}}),r("dataList",{attrs:{queryForm:e.queryForm,allowEdit:e.checkAuth("/document/update"),allowDelete:e.checkAuth("/document/delete")}})],1)},i=[],a=r("5530"),o=r("2f62"),s=r("7369"),l={components:{dataSearch:s["dataSearch"],dataList:s["dataList"]},computed:Object(a["a"])({},Object(o["b"])(["roleInfo","authList"])),data:function(){return{queryForm:{page:1,pageSize:10,title:"",category_id:"",status:""}}},methods:{checkAuth:function(e){return!0},setQuery:function(e){this.queryForm=e}}},c=l,u=(r("9823"),r("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"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 c})),r.d(t,"createEmptySpreadsheetData",(function(){return u})),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("14d9");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 c(){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 u(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))}},"484b":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}},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"),c=r("cfc0");function u(e,t){const r=g(A(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=g(void 0===e||A(e)?e:n.DefaultBuilderOptions),a=A(e)?t:e;let l;if(void 0===a){const e=s.createDocument();l=new o.XMLBuilderImpl(e),_(e,r)}else if(i.isObject(a)){const e=s.createDocument();l=new o.XMLBuilderImpl(e),_(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),_(t,r)}else{const e=s.createDocument();l=new o.XMLBuilderImpl(e),_(e,r);const t=JSON.parse(a);l.ele(t)}return l}function h(e,t){const r=g(void 0===e||A(e)?e:n.DefaultBuilderOptions),a=A(e)?t:e;let l;if(void 0===a){const e=s.createDocument();_(e,r,!0),l=new o.XMLBuilderImpl(e.createDocumentFragment())}else if(i.isObject(a)){const e=s.createDocument();_(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),_(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();_(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 A(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 c.XMLBuilderCBImpl(e)}function m(e){return new c.XMLBuilderCBImpl(e,!0)}function A(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 g(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 _(e,t,r){const n=e;n._xmlBuilderOptions=t,n._isFragment=r}t.builder=u,t.create=d,t.fragment=h,t.convert=p,t.createCB=f,t.fragmentCB=m},"485c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  96. //! moment.js locale configuration
  97. 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}))},"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 c(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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 u=["","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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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?u[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 c=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:u[c-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,c=new e(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},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,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function A(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 g(e,t,r){var n=new _;return n.mulp(e,t,r)}function _(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?A(this,e,t):g(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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),g(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 S(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 v={k256:null,p224:null,p192:null,p25519:null};function b(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(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(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 M(e){S.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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.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},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),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},w.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(y,b),i(E,b),i(C,b),C.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(v[e])return v[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return v[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.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)},M.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)},M.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))},"48f5":function(e,t,r){"use strict";r("7d33")},"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 c}));r("d9e2");var n=r("1004"),i=r("9acd");const a=new WeakMap,{register:o,getItem:s,hasItem:l,getNames:c,getValues:u}=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";
  98. //! moment.js locale configuration
  99. 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;":"‌"}')},"49dc":function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},"4a65":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"data-info"},[r("el-card",[r("el-form",{attrs:{model:e.dataForm,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"公式名称:"}},[r("el-input",{model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),r("el-form-item",{attrs:{label:"公式:"}},[r("el-input",{ref:"formulaInput",attrs:{type:"textarea"},on:{input:e.handleFormulaInput},model:{value:e.dataForm.formula,callback:function(t){e.$set(e.dataForm,"formula",t)},expression:"dataForm.formula"}}),r("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[r("el-button",{staticStyle:{"margin-top":"10px"},on:{click:e.InsertTableData}},[e._v("插入表格数据")]),r("el-button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:e.InsertModule}},[e._v("插入模块变量")])],1),r("div",{staticClass:"intro"},[e._v(" 公式说明: "),r("div",[e._v(" 格式一:[T][模块引用名][属性引用名] "),r("span",[e._v("*")]),e._v("其中 [T]表示的是模块引用。 ")]),r("div",[e._v("目前仅支持+、-、*、/ 四种计算符合")]),r("div",[e._v("示例: [T][模块01][attr01]+[T][模块01][attr02]")]),r("div",[e._v(" 格式二:[T][模块引用名][属性引用名] IF(判断条件,true值,false值)"),r("span",[e._v("*")]),e._v("其中 [T]表示的是模块引用。 ")]),r("div",[e._v(" 示例: [T][图文][测试1]+IF([T][图文][测试1]>30,[T][图文][测试2],11) ")]),r("div",[e._v(" 嵌套示例: [T][图文][测试1] + IF([T][图文][测试2] > 50, IF([T][图文][测试1] > 30, [T][图文][测试3], 20), IF([T][图文][测试3] > 40, 15, [T][图文][测试2]) ) ")])])],1),r("el-form-item",{attrs:{label:"保留小数点:"}},[r("el-input",{attrs:{type:"number",min:"0",max:"4",step:1},on:{input:e.validatePoint},model:{value:e.dataForm.point,callback:function(t){e.$set(e.dataForm,"point",e._n(t))},expression:"dataForm.point"}})],1),r("el-form-item",{attrs:{label:"介绍:"}},[r("el-input",{attrs:{type:"textarea"},model:{value:e.dataForm.intro,callback:function(t){e.$set(e.dataForm,"intro",t)},expression:"dataForm.intro"}})],1),r("el-form-item",{attrs:{label:"公式状态:"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态",size:"large"},model:{value:e.dataForm.status,callback:function(t){e.$set(e.dataForm,"status",t)},expression:"dataForm.status"}},e._l(e.statusOptions,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),r("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[r("el-button",{attrs:{type:"warning"},on:{click:e.btnSave}},[e._v("确认保存")])],1),r("el-dialog",{attrs:{visible:e.variablesVisible,"append-to-body":"",width:"300","custom-class":"prod-verify",title:e.title,"close-on-click-modal":!1},on:{"update:visible":function(t){e.variablesVisible=t},close:e.close}},[r("el-form",{ref:"insertRef",attrs:{model:e.insertForm,rules:e.insertRules}},[r("el-form-item",{attrs:{label:"模块名称:"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择模块",size:"large"},on:{change:e.changeModule},model:{value:e.insertForm.moduleName,callback:function(t){e.$set(e.insertForm,"moduleName",t)},expression:"insertForm.moduleName"}},e._l(e.list,(function(e,t){return r("el-option",{key:e.id+"-"+t,attrs:{label:e.name,value:e.attrs}})})),1)],1),r("el-form-item",{attrs:{label:"属性名称:",prop:"Variable"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择属性",size:"large"},model:{value:e.insertForm.Variable,callback:function(t){e.$set(e.insertForm,"Variable",t)},expression:"insertForm.Variable"}},e._l(e.filteredAttrList,(function(e,t){return r("el-option",{key:e.id+"-"+t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"warning"},on:{click:e.btnInster}},[e._v("确认插入")])],1)],1),r("el-dialog",{attrs:{visible:e.tableDataVisible,"append-to-body":"",width:"400","custom-class":"prod-verify",title:"插入表格数据","close-on-click-modal":!1},on:{"update:visible":function(t){e.tableDataVisible=t},close:e.close}},[r("div",{staticClass:"com-formual"},[r("el-form",[r("el-form-item",[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态",size:"large"},on:{change:e.onChangeTab},model:{value:e.tableCode,callback:function(t){e.tableCode=t},expression:"tableCode"}},e._l(e.tableList,(function(e,t){return r("el-option",{key:e.id,attrs:{label:e.name,value:t}})})),1)],1),e.fileLoadStatus?r("el-form-item",{staticStyle:{"min-height":"500px"}},[r("div",{ref:"luckysheets",staticStyle:{width:"100%",height:"500px"},attrs:{id:"luckysheets"}})]):e._e()],1)],1)]),r("el-dialog",{attrs:{visible:e.showConfirm,title:"数据确认",width:"500","align-center":"","append-to-body":!0,"close-on-click-modal":!1},on:{"update:visible":function(t){e.showConfirm=t}},scopedSlots:e._u([{key:"footer",fn:function(){return[r("div",{staticClass:"dialog-footer"},[r("el-button",{on:{click:function(t){e.showConfirm=!1}}},[e._v("关闭")]),r("el-button",{attrs:{type:"primary"},on:{click:e.onConfirm}},[e._v("确认插入")])],1)]},proxy:!0}])},[r("div",[e._v("当前工作表:"+e._s(e.position.sheet))]),r("div",[e._v("当前取值:"+e._s(e.position.value))])])],1)},i=[],a=r("ade3"),o=(r("99af"),r("4de4"),r("7db0"),r("c740"),r("caad"),r("d81d"),r("14d9"),r("b0c0"),r("a9e3"),r("b64b"),r("d3b7"),r("ac1f"),r("6062"),r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3"),r("2532"),r("3ca3"),r("498a"),r("0643"),r("2382"),r("fffc"),r("a573"),r("9a9a"),r("ddb0"),r("f9e5")),s=r("1c4c"),l=(r("f7e6"),{emits:["onClose"],props:{id:{type:Number,default:0},list:{type:Array,default:[]}},watch:{id:{handler:function(e,t){null!=e&&(0==e?this.resetForm():e===t&&this.dataForm.id===e||this.getInfo(e))},immediate:!0},list:{handler:function(e,t){console.log("list changed:",e)},immediate:!0,deep:!0}},data:function(){return{activeName:"base",currentCategory:[],allCategories:[],dataForm:{id:0,name:"",formula:"",intro:"",status:5,use_status:5,params:"[]",point:0},statusOptions:[{value:"",label:"请选择状态"},{value:5,label:"使用中"},{value:6,label:"已停用"}],variablesVisible:!1,title:"",insertForm:{moduleName:"",Variable:""},insertRules:{Variable:[{required:!0,message:"请选择变量",trigger:"change"}]},tableDataVisible:!1,tableCode:"",tableList:[],showConfirm:!1,fileLoadStatus:!1,position:{tb:"",c:0,r:0,sheet:"",value:""},attrList:[]}},mounted:function(){this.initTableList()},computed:{uniqueAttrList:function(){var e=new Set;return this.attrList.filter((function(t){return!e.has(t.name)&&(e.add(t.name),!0)}))},filteredAttrList:function(){return this.uniqueAttrList.filter((function(e){return"Directory"!==e.type}))}},methods:{validatePoint:function(e){var t=parseInt(e);isNaN(t)||t<0||t>4?this.dataForm.point="":this.dataForm.point=t},close:function(){this.insertForm={}},handleFormulaInput:function(e){this.dataForm.formula=e},resetForm:function(){this.dataForm={id:0,name:"",formula:"",intro:"",status:5,use_status:5,params:"[]",point:0}},btnSave:function(e){var t=this,r=t.dataForm.id>0?o["e"]:o["a"];r(t.dataForm).then((function(e){t.$message.success(t.dataForm.id>0?"公式更新成功":"公式创建成功"),t.$emit("onClose",!0),t.getInfo(t.dataForm.id),t.resetFormAfterSave()})).catch((function(e){console.error("保存失败:",e),t.$message.error("保存失败,请重试")}))},resetFormAfterSave:function(){this.dataForm={id:0,name:"",formula:"",intro:"",status:5,use_status:5,params:"[]",point:0}},getInfo:function(e){var t=this,r={id:e};Object(o["c"])(r).then((function(e){e&&200==e.status&&(t.dataForm=e.data)}))},onChangeStatus:function(e){this.dataForm.status=e},onChangeCategory:function(e){var t=this;t.dataForm.categoryId=e},InsertModule:function(){this.variablesVisible=!0,this.title="插入模块变量"},extractChineseTemplates:function(e){var t,r=/\{\{([\s\S]*?)\}\}/g,n=[];while(null!==(t=r.exec(e))){var i=t[1].trim();n.push(i)}return n},processContent:function(e){if(e&&"string"===typeof e.content){var t=this.extractChineseTemplates(e.content);console.log("Extracted Chinese templates:",t),e.attrs&&Array.isArray(e.attrs)&&(this.attrList=e.attrs.filter((function(e){return t.some((function(t){return t.includes(e.id)}))})))}else this.attrList=[]},changeModule:function(e){var t=this.list.findIndex((function(t){return t.attrs===e}));this.processContent(this.list[t])},btnInster:function(){var e=this;this.$refs.insertRef.validate((function(t){if(!t)return!1;var r=e.list.find((function(t){return t.attrs===e.insertForm.moduleName}));if(r){var n,i=r.name,a=null===(n=e.attrList.find((function(t){return t.id===e.insertForm.Variable})))||void 0===n?void 0:n.name;if(a){var o="[T][".concat(i,"][").concat(a,"]");e.dataForm.formula+=o,e.variablesVisible=!1,e.$message.success("变量插入成功")}else e.$message.error("无法找到选中的变量")}else e.$message.error("无法找到选中的模块")}))},InsertTableData:function(){this.tableDataVisible=!0},onConfirm:function(e){this.showConfirm=!1;var t="[R][".concat(this.position.tb,"][").concat(this.position.sheet,"][").concat(this.position.r+1,",").concat(this.position.c+1,"]");this.dataForm.formula+=t,this.tableDataVisible=!1,this.$message.success("表格数据插入成功"),this.insertForm={moduleName:{},Variable:""}},onChangeTab:function(e){var t=this,r=t.tableList[e];t.fileLoadStatus=!0,r.sourceData=JSON.parse(r.source_data),console.log(r.sourceData.exportJson.sheets),t.position.tb=r.code,t.$nextTick((function(){luckysheet.destroy(),luckysheet.create(Object(a["a"])(Object(a["a"])(Object(a["a"])({container:"luckysheets",data:r.sourceData.exportJson.sheets,lang:"zh",showinfobar:!1,showstatisticBar:!1,sheetBottomConfig:!1,allowEdit:!1,enableAddRow:!1,enableAddCol:!1,sheetFormulaBar:!1,enableAddBackTop:!1,showsheetbar:!0},"enableAddRow",!1),"showsheetbarConfig",{add:!1,menu:!1}),"hook",{cellMousedown:function(e,r,n,i){t.position.sheet=n.name,t.position.r=r.r,t.position.c=r.c,e.v?t.position.value=e.v:(t.position.value="",e.ct.s.map((function(e){t.position.value+=e.v}))),t.showConfirm=!0}}))}))},initTableList:function(){var e=this;Object(s["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}}),c=l,u=(r("48f5"),r("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"4b2c":function(e,t,r){"use strict";r("2e15")},"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 c(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 u(e,t=!1,r=!1,i){return t||0!==e._children.size?{[Symbol.iterator]:()=>{const a=c(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 c=Math.min(o,s);c>0;c--){const e=r[--o],t=n[--s];if(e!==t)break;l=e}return l}function A(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 g(e,t){return t===e?null:t._previousSibling?(t=t._previousSibling,t._lastChild?t._lastChild:t):t._parent}function _(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(!_(t))return!1;return!0}function v(e){return n.Guard.isDocumentTypeNode(e)?0:n.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function b(e){return 0===v(e)}function w(e,t=!1){if(t){const t=w(e,!1);return n.Guard.isShadowRoot(t)?w(t._host,!0):t}return e._parent?w(e._parent):e}function y(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 C(e,t,r=!1){if(E(e,t,r))return!0;const i=w(e);return!(!n.Guard.isDocumentFragmentNode(i)||null===i._host||!C(i._host,t,r))}function S(e,t,r=!1){return e!==t?null!==e._parent&&e._parent===t._parent:!!r}function M(e,t){const r=k(e),n=k(t);return-1!==r&&-1!==n&&(w(e)===w(t)&&n<r)}function x(e,t){const r=k(e),n=k(t);return-1!==r&&-1!==n&&(w(e)===w(t)&&n>r)}function T(e,t){return e._parent===t}function O(e,t){return t._parent===e}function N(e){return e._previousSibling}function R(e){return e._nextSibling}function L(e){return e._firstChild}function I(e){return e._lastChild}function k(e){const t=w(e);let r=0,n=s(t);while(null!==n){if(r++,n===e)return r;n=l(t,n)}return-1}function B(e){let t=0;while(null!==e._previousSibling)t++,e=e._previousSibling;return t}function D(e,t){while(1){if(!e||!n.Guard.isNode(e))return e;const r=w(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=c,t.tree_getDescendantElements=u,t.tree_getSiblingNodes=d,t.tree_getFirstAncestorNode=h,t.tree_getNextAncestorNode=p,t.tree_getAncestorNodes=f,t.tree_getCommonAncestor=m,t.tree_getFollowingNode=A,t.tree_getPrecedingNode=g,t.tree_isConstrained=_,t.tree_nodeLength=v,t.tree_isEmpty=b,t.tree_rootNode=w,t.tree_isDescendantOf=y,t.tree_isAncestorOf=E,t.tree_isHostIncludingAncestorOf=C,t.tree_isSiblingOf=S,t.tree_isPreceding=M,t.tree_isFollowing=x,t.tree_isParentOf=T,t.tree_isChildOf=O,t.tree_previousSibling=N,t.tree_nextSibling=R,t.tree_firstChild=L,t.tree_lastChild=I,t.tree_treePosition=k,t.tree_index=B,t.tree_retarget=D},"4ba9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  100. //! moment.js locale configuration
  101. 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}))},"4bb4":function(e,t,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},"4c98":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  102. //! moment.js locale configuration
  103. 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-ps",{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]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return r[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return n}))},"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,c=e.toString(),u=c.match(n);if(u){var d="aes"+u[1],h=l.from(u[2],"hex"),p=l.from(u[3].replace(/[\r\n]/g,""),"base64"),f=o(t,h.slice(0,8),parseInt(u[1],10)).key,m=[],A=s.createDecipheriv(d,f,h);m.push(A.update(p)),m.push(A["final"]()),r=l.concat(m)}else{var g=c.match(a);r=l.from(g[2].replace(/[\r\n]/g,""),"base64")}var _=c.match(i)[1];return{tag:_,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 c=[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=c[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 c=e.keys[l],u=e.keys[l+1];a.expand(s,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=a.substitute(c,u),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 c=e.keys[l],u=e.keys[l+1];a.expand(o,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=a.substitute(c,u),h=a.permute(d),p=o;o=(s^h)>>>0,s=p}a.rip(o,s,n,i)}},"4e82":function(e,t,r){"use strict";var n=r("23e7"),i=r("e330"),a=r("59ed"),o=r("7b0b"),s=r("07fa"),l=r("083a"),c=r("577e"),u=r("d039"),d=r("addb"),h=r("a640"),p=r("04d1"),f=r("d998"),m=r("2d00"),A=r("512ce"),g=[],_=i(g.sort),v=i(g.push),b=u((function(){g.sort(void 0)})),w=u((function(){g.sort(null)})),y=h("sort"),E=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(f)return!0;if(A)return A<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),C=b||!w||!y||!E,S=function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:c(t)>c(r)?1:-1}};n({target:"Array",proto:!0,forced:C},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(E)return void 0===e?_(t):_(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&v(i,t[n]);d(i,S(e)),r=s(i),n=0;while(n<r)t[n]=i[n++];while(n<c)l(t,n++);return t}})},"4ec3":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("b775");function i(e){return Object(n["a"])({url:"/user/current",method:"post",data:e})}},"4ec9":function(e,t,r){"use strict";r("6f48")},"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 u(t,(e,t)=>{b(t)?n[e]=l(n[e],t):(r||void 0===n[e])&&(n[e]=t)}),n}function c(e,t,r){e.forEach(t,r)}function u(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 y(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(v(e))return e;if(w(e)){const t=[];for(const r of e)t.push(m(r));return t}if(b(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 A(e){return"boolean"===typeof e}function g(e){return"number"===typeof e}function _(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 w(e){return Array.isArray(e)}function y(e){return e instanceof Set}function E(e){return e instanceof Map}function C(e){if(w(e))return!e.length;if(y(e))return!e.size;if(E(e))return!e.size;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 M(e){return e&&"function"===typeof e[Symbol.iterator]}function x(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 O(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=c,t.forEachObject=u,t.arrayLength=d,t.objectLength=h,t.getObjectValue=p,t.removeObjectValue=f,t.clone=m,t.isBoolean=A,t.isNumber=g,t.isString=_,t.isFunction=v,t.isObject=b,t.isArray=w,t.isSet=y,t.isMap=E,t.isEmpty=C,t.isPlainObject=S,t.isIterable=M,t.getValue=x,t.utf8Encode=T,t.utf8Decode=O},"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 c=r[o]={exports:{}};t[o][0].call(c.exports,(function(e){var r=t[o][1][e];return i(r||e)}),c,c.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){
  104. /*!
  105. * The buffer module from node.js, for the browser.
  106. *
  107. * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
  108. * @license MIT
  109. */
  110. 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,c=typeof e;if("number"===c)n=e>0?e>>>0:0;else if("string"===c)"base64"===t&&(e=O(e)),n=s.byteLength(e,t);else{if("object"!==c||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"===c)i.write(e,0,t);else if("number"===c&&!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 c(e,t,r,n){var i=F(I(t),e,r,n);return i}function u(e,t,r,n){var i=F(k(t),e,r,n);return i}function d(e,t,r,n){return u(e,t,r,n)}function h(e,t,r,n){var i=F(D(t),e,r,n);return i}function p(e,t,r,n){var i=F(B(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+=P(i)+String.fromCharCode(e[a]),i=""):i+="%"+e[a].toString(16);return n+P(i)}function A(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 g(e,t,r){return A(e,t,r)}function _(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 v(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 b(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 w(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 y(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 C(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 S(e,t,r,n,a){return a||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function M(e,t,r,n,a){return a||C(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=I(e).length;break;case"base64":r=D(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 _(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return A(this,t,r);case"binary":return g(this,t,r);case"base64":return f(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(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=c(this,e,t,r);break;case"ascii":a=u(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||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||b(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||b(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||b(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||b(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||b(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||b(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||b(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||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(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||w(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):y(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):y(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(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||w(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||w(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||w(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):y(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):y(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(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||w(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 S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return M(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=I(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 T=/[^+\/0-9A-z]/g;function O(e){e=N(e).replace(T,"");while(e.length%4!==0)e+="=";return e}function N(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 I(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 k(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function B(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 D(e){return n.toByteArray(e)}function F(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 P(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 c(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 c=e.length;o="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,s=new t(3*e.length/4-o),i=o>0?e.length-4:e.length;var u=0;function d(e){s[u++]=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 u(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=c,e.fromByteArray=u})("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,c=l>>1,u=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=c}return(p?-1:1)*o*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>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=u):(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>=u?(s=0,o=u):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,c+=i;c>0;e[r+p]=255&o,p+=f,o/=256,c-=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,c,u="",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,c=63&a,isNaN(i)?l=c=64:isNaN(a)&&(c=64),u=u+n.charAt(o)+n.charAt(s)+n.charAt(l)+n.charAt(c);return u},r.decode=function(e,t){var r,i,a,o,s,l,c,u="",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++)),c=n.indexOf(e.charAt(d++)),r=o<<2|s>>4,i=(15&s)<<4|l>>2,a=(3&l)<<6|c,u+=String.fromCharCode(r),64!=l&&(u+=String.fromCharCode(i)),64!=c&&(u+=String.fromCharCode(a));return u}},{}],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,c=e.length;l<c;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,c;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++)c=r[l],this.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.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"),c=e("./compressions"),u=e("./compressedObject"),d=e("./nodeBuffer"),h=e("./utf8"),p=e("./stringWriter"),f=e("./uint8ArrayWriter"),m=function(e){if(e._data instanceof u&&(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},A=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},g=function(e){var t=m(this);return null===t||"undefined"===typeof t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?O.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",O.utf8encode(t))),t)},_=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}};_.prototype={asText:function(){return g.call(this,!0)},asBinary:function(){return g.call(this,!1)},asNodeBuffer:function(){var e=A(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=A(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var v=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},b=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},w=function(e,t,r){var n,a=i.getTypeOf(t);if(r=b(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=y(e))&&C.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 u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===a&&(t=i.transformTo("uint8array",t))}var o=new _(e,t,r);return this.files[e]=o,o},y=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},C=function(e,t){return t="undefined"!==typeof t&&t,e=E(e),this.files[e]||w.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},S=function(e,t,r){var n,o=new u;return e._data instanceof u?(o.uncompressedSize=e._data.uncompressedSize,o.crc32=e._data.crc32,0===o.uncompressedSize||e.dir?(t=c["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=A(e),n&&0!==n.length&&!e.dir||(t=c["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},M=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16},x=function(e,t){return 63&(e||0)},T=function(e,t,r,n,s,l){r.compressedContent;var c,u,d,p,f=l!==h.utf8encode,m=i.transformTo("string",l(t.name)),A=i.transformTo("string",h.utf8encode(t.name)),g=t.comment||"",_=i.transformTo("string",l(g)),b=i.transformTo("string",h.utf8encode(g)),w=A.length!==t.name.length,y=b.length!==g.length,E=t.options,C="",S="",T="";d=t._initialMetadata.dir!==t.dir?t.dir:E.dir,p=t._initialMetadata.date!==t.date?t.date:E.date;var O=0,N=0;d&&(O|=16),"UNIX"===s?(N=798,O|=M(t.unixPermissions,d)):(N=20,O|=x(t.dosPermissions,d)),c=p.getHours(),c<<=6,c|=p.getMinutes(),c<<=5,c|=p.getSeconds()/2,u=p.getFullYear()-1980,u<<=4,u|=p.getMonth()+1,u<<=5,u|=p.getDate(),w&&(S=v(1,1)+v(a(m),4)+A,C+="up"+v(S.length,2)+S),y&&(T=v(1,1)+v(this.crc32(_),4)+b,C+="uc"+v(T.length,2)+T);var R="";R+="\n\0",R+=f||!w&&!y?"\0\0":"\0\b",R+=r.compressionMethod,R+=v(c,2),R+=v(u,2),R+=v(r.crc32,4),R+=v(r.compressedSize,4),R+=v(r.uncompressedSize,4),R+=v(m.length,2),R+=v(C.length,2);var L=o.LOCAL_FILE_HEADER+R+m+C,I=o.CENTRAL_FILE_HEADER+v(N,2)+R+v(_.length,2)+"\0\0\0\0"+v(O,4)+v(n,4)+m+C+_;return{fileRecord:L,dirRecord:I,compressedObject:r}},O={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 _(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,w.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=C.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,u=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],A=m.options.compression||e.compression.toUpperCase(),g=c[A];if(!g)throw new Error(A+" is not a valid compression method !");var _=m.options.compressionOptions||e.compressionOptions||{},b=S.call(this,m,g,_),w=T.call(this,d,m,b,a,e.platform,e.encodeFileName);a+=w.fileRecord.length+b.compressedSize,s+=w.dirRecord.length,n.push(w)}var y="";y=o.CENTRAL_DIRECTORY_END+"\0\0\0\0"+v(n.length,2)+v(n.length,2)+v(s,4)+v(a,4)+v(u.length,2)+u;var E=e.type.toLowerCase();for(t="uint8array"===E||"arraybuffer"===E||"blob"===E||"nodebuffer"===E?new f(a+s+y.length):new p(a+s+y.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(y);var C=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),C);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",C),e.mimeType);case"base64":return e.base64?l.encode(C):C;default:return C}},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=O},{"./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},c=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},u=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=c(e,Math.min(r+o,a));i.uint8array?t.push(u(e.subarray(r,s))):t.push(u(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 c="",u=0;u<e.length;u++)c+=String.fromCharCode(e[u]);return c}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 c(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 u={};u["string"]={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return u["string"]["uint8array"](e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,a(e.length))}},u["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)}},u["arraybuffer"]={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a(new Uint8Array(e))}},u["uint8array"]={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return a(e)}},u["nodebuffer"]={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return u["nodebuffer"]["uint8array"](e).buffer},uint8array:function(e){return c(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=u[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"),c=e("./zipEntry"),u=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=u.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 c({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||u.uint8array)if("nodebuffer"===t)this.reader=new i(e);else if(u.uint8array)this.reader=new a(s.transformTo("uint8array",e));else{if(!u.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,c=3;function u(e,t){this.options=e,this.loadOptions=t}u.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===c&&(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=u},{"./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,c=0,u=4,d=0,h=1,p=2,f=-1,m=0,A=8;function g(e){if(!(this instanceof g))return new g(e);this.options=i.assign({level:f,method:A,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 c;if(c="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,c),r!==d)throw new Error(o[r]);this._dict_set=!0}}function _(e,t){var r=new g(t);if(r.push(e,!0),r.err)throw r.msg;return r.result}function v(e,t){return t=t||{},t.raw=!0,_(e,t)}function b(e,t){return t=t||{},t.gzip=!0,_(e,t)}g.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?u:c,"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!==u&&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===u?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===d):o!==p||(this.onEnd(d),s.avail_out=0,!0)},g.prototype.onData=function(e){this.chunks.push(e)},g.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=g,r.deflate=_,r.deflateRaw=v,r.gzip=b},{"./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"),c=e("./zlib/gzheader"),u=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 c,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,c,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,A=!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]"===u.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]"===u.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,h)),r===o.Z_BUF_ERROR&&!0===A&&(r=o.Z_OK,A=!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),c=p.next_out-l,d=a.buf2string(p.output,l),p.next_out=c,p.avail_out=f-c,c&&i.arraySet(p.output,p.output,l,c,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(A=!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(c){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){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,c=new Array(2*s);for(n=0,r=0;r<s;)if(i=e[r++],i<128)c[n++]=i;else if(a=o[i],a>4)c[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?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return l(c,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"),c=0,u=1,d=3,h=4,p=5,f=0,m=1,A=-2,g=-3,_=-5,v=-1,b=1,w=2,y=3,E=4,C=0,S=2,M=8,x=9,T=15,O=8,N=29,R=256,L=R+1+N,I=30,k=19,B=2*L+1,D=15,F=3,P=258,j=P+F+1,U=32,H=42,V=69,Y=73,W=91,Q=103,z=113,q=666,G=1,K=2,X=3,$=4,Z=3;function J(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-j?e.strstart-(e.w_size-j):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+P,p=c[a+o-1],f=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(r=t,c[r+o]===f&&c[r+o-1]===p&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<h);if(n=P-(h-a),a=h-P,n>o){if(e.match_start=t,o=n,n>=s)break;p=c[a+o-1],f=c[a+o]}}}while((t=d[t&u])>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-j)){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>=F){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+F-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<F)break}}while(e.lookahead<j&&0!==e.strm.avail_in)}function ce(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===c)return G;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 G;if(e.strstart-e.block_start>=e.w_size-j&&(ne(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):(e.strstart>e.block_start&&(ne(e,!1),e.strm.avail_out),G)}function ue(e,t){for(var r,n;;){if(e.lookahead<j){if(le(e),e.lookahead<j&&t===c)return G;if(0===e.lookahead)break}if(r=0,e.lookahead>=F&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+F-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-j&&(e.match_length=se(e,r)),e.match_length>=F)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-F),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=F){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+F-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 G}return e.insert=e.strstart<F-1?e.strstart:F-1,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}function de(e,t){for(var r,n,i;;){if(e.lookahead<j){if(le(e),e.lookahead<j&&t===c)return G;if(0===e.lookahead)break}if(r=0,e.lookahead>=F&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+F-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=F-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-j&&(e.match_length=se(e,r),e.match_length<=5&&(e.strategy===b||e.match_length===F&&e.strstart-e.match_start>4096)&&(e.match_length=F-1)),e.prev_length>=F&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-F,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-F),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+F-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=F-1,e.strstart++,n&&(ne(e,!1),0===e.strm.avail_out))return G}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 G}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<F-1?e.strstart:F-1,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}function he(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=P){if(le(e),e.lookahead<=P&&t===c)return G;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=F&&e.strstart>0&&(i=e.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){o=e.strstart+P;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=P-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=F?(r=a._tr_tally(e,1,e.match_length-F),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 G}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}function pe(e,t){for(var r;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===c)return G;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 G}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}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=F-1,e.match_available=0,e.ins_h=0}function Ae(){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=M,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*B),this.dyn_dtree=new i.Buf16(2*(2*I+1)),this.bl_tree=new i.Buf16(2*(2*k+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(D+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 ge(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=S,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?H:z,e.adler=2===t.wrap?0:1,t.last_flush=c,a._tr_init(t),f):J(e,A)}function _e(e){var t=ge(e);return t===f&&me(e.state),t}function ve(e,t){return e&&e.state?2!==e.state.wrap?A:(e.state.gzhead=t,f):A}function be(e,t,r,n,a,o){if(!e)return A;var s=1;if(t===v&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>x||r!==M||n<8||n>15||t<0||t>9||o<0||o>E)return J(e,A);8===n&&(n=9);var l=new Ae;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+F-1)/F),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,_e(e)}function we(e,t){return be(e,t,M,T,O,C)}function ye(e,t){var r,i,o,l;if(!e||!e.state||t>p||t<0)return e?J(e,A):A;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===q&&t!==h)return J(e,0===e.avail_out?_:A);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===H)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>=w||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>=w||i.level<2?4:0),ie(i,Z),i.status=z);else{var g=M+(i.w_bits-8<<4)<<8,v=-1;v=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3,g|=v<<6,0!==i.strstart&&(g|=U),g+=31-g%31,i.status=z,ae(i,g),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=W)}else i.status=W;if(i.status===W)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=Q)}else i.status=Q;if(i.status===Q&&(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=z)):i.status=z),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 J(e,_);if(i.status===q&&0!==e.avail_in)return J(e,_);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==q){var b=i.strategy===w?pe(i,t):i.strategy===y?he(i,t):n[i.level].func(i,t);if(b!==X&&b!==$||(i.status=q),b===G||b===X)return 0===e.avail_out&&(i.last_flush=-1),f;if(b===K&&(t===u?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!==H&&t!==V&&t!==Y&&t!==W&&t!==Q&&t!==z&&t!==q?J(e,A):(e.state=null,t===z?J(e,g):f)):A}function Ce(e,t){var r,n,a,s,l,c,u,d,h=t.length;if(!e||!e.state)return A;if(r=e.state,s=r.wrap,2===s||1===s&&r.status!==H||r.lookahead)return A;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,c=e.next_in,u=e.input,e.avail_in=h,e.next_in=0,e.input=t,le(r);while(r.lookahead>=F){n=r.strstart,a=r.lookahead-(F-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+F-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=F-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=F-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,r.wrap=s,f}n=[new fe(0,0,0,0,ce),new fe(4,4,8,4,ue),new fe(4,5,16,8,ue),new fe(4,6,32,32,ue),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=we,r.deflateInit2=be,r.deflateReset=_e,r.deflateResetKeep=ge,r.deflateSetHeader=ve,r.deflate=ye,r.deflateEnd=Ee,r.deflateSetDictionary=Ce,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,c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T;r=e.state,a=e.next_in,x=e.input,o=a+(e.avail_in-5),s=e.next_out,T=e.output,l=s-(t-e.avail_out),c=s+(e.avail_out-257),u=r.dmax,d=r.wsize,h=r.whave,p=r.wnext,f=r.window,m=r.hold,A=r.bits,g=r.lencode,_=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{A<15&&(m+=x[a++]<<A,A+=8,m+=x[a++]<<A,A+=8),w=g[m&v];t:for(;;){if(y=w>>>24,m>>>=y,A-=y,y=w>>>16&255,0===y)T[s++]=65535&w;else{if(!(16&y)){if(0===(64&y)){w=g[(65535&w)+(m&(1<<y)-1)];continue t}if(32&y){r.mode=i;break e}e.msg="invalid literal/length code",r.mode=n;break e}E=65535&w,y&=15,y&&(A<y&&(m+=x[a++]<<A,A+=8),E+=m&(1<<y)-1,m>>>=y,A-=y),A<15&&(m+=x[a++]<<A,A+=8,m+=x[a++]<<A,A+=8),w=_[m&b];r:for(;;){if(y=w>>>24,m>>>=y,A-=y,y=w>>>16&255,!(16&y)){if(0===(64&y)){w=_[(65535&w)+(m&(1<<y)-1)];continue r}e.msg="invalid distance code",r.mode=n;break e}if(C=65535&w,y&=15,A<y&&(m+=x[a++]<<A,A+=8,A<y&&(m+=x[a++]<<A,A+=8)),C+=m&(1<<y)-1,C>u){e.msg="invalid distance too far back",r.mode=n;break e}if(m>>>=y,A-=y,y=s-l,C>y){if(y=C-y,y>h&&r.sane){e.msg="invalid distance too far back",r.mode=n;break e}if(S=0,M=f,0===p){if(S+=d-y,y<E){E-=y;do{T[s++]=f[S++]}while(--y);S=s-C,M=T}}else if(p<y){if(S+=d+p-y,y-=p,y<E){E-=y;do{T[s++]=f[S++]}while(--y);if(S=0,p<E){y=p,E-=y;do{T[s++]=f[S++]}while(--y);S=s-C,M=T}}}else if(S+=p-y,y<E){E-=y;do{T[s++]=f[S++]}while(--y);S=s-C,M=T}while(E>2)T[s++]=M[S++],T[s++]=M[S++],T[s++]=M[S++],E-=3;E&&(T[s++]=M[S++],E>1&&(T[s++]=M[S++]))}else{S=s-C;do{T[s++]=T[S++],T[s++]=T[S++],T[s++]=T[S++],E-=3}while(E>2);E&&(T[s++]=T[S++],E>1&&(T[s++]=T[S++]))}break}}break}}while(a<o&&s<c);E=A>>3,a-=E,A-=E<<3,m&=(1<<A)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?o-a+5:5-(a-o),e.avail_out=s<c?c-s+257:257-(s-c),r.hold=m,r.bits=A}},{}],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,c=1,u=2,d=4,h=5,p=6,f=0,m=1,A=2,g=-2,_=-3,v=-4,b=-5,w=8,y=1,E=2,C=3,S=4,M=5,x=6,T=7,O=8,N=9,R=10,L=11,I=12,k=13,B=14,D=15,F=16,P=17,j=18,U=19,H=20,V=21,Y=22,W=23,Q=24,z=25,q=26,G=27,K=28,X=29,$=30,Z=31,J=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=y,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):g}function se(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,oe(e)):g}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)?g:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,se(e))):g}function ce(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):g}function ue(e){return ce(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(c,e.lens,0,288,de,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;s(u,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 Ae(e,t){var r,ee,te,re,ne,ae,oe,se,le,ce,ue,de,he,pe,Ae,ge,_e,ve,be,we,ye,Ee,Ce,Se,Me=0,xe=new n.Buf8(4),Te=[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 g;r=e.state,r.mode===I&&(r.mode=k),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,ce=ae,ue=oe,Ee=f;e:for(;;)switch(r.mode){case y:if(0===r.wrap){r.mode=k;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)!==w){e.msg="unknown compression method",r.mode=$;break}if(se>>>=4,le-=4,ye=8+(15&se),0===r.wbits)r.wbits=ye;else if(ye>r.wbits){e.msg="invalid window size",r.mode=$;break}r.dmax=1<<ye,e.adler=r.check=1,r.mode=512&se?R:I,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)!==w){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=C;case C: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=S;case S: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=M;case M: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&&(ye=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,ye)),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=T;case T:if(2048&r.flags){if(0===ae)break e;de=0;do{ye=ee[re+de++],r.head&&ye&&r.length<65536&&(r.head.name+=String.fromCharCode(ye))}while(ye&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,ye)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=O;case O:if(4096&r.flags){if(0===ae)break e;de=0;do{ye=ee[re+de++],r.head&&ye&&r.length<65536&&(r.head.comment+=String.fromCharCode(ye))}while(ye&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,ye)break e}else r.head&&(r.head.comment=null);r.mode=N;case N: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=I;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,A;e.adler=r.check=1,r.mode=I;case I:if(t===h||t===p)break e;case k:if(r.last){se>>>=7&le,le-=7&le,r.mode=G;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=B;break;case 1:if(fe(r),r.mode=H,t===p){se>>>=2,le-=2;break e}break;case 2:r.mode=P;break;case 3:e.msg="invalid block type",r.mode=$}se>>>=2,le-=2;break;case B:se>>>=7&le,le-=7&le;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=D,t===p)break e;case D:r.mode=F;case F: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=I;break;case P: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=j;case j:while(r.have<r.ncode){while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.lens[Te[r.have++]]=7&se,se>>>=3,le-=3}while(r.have<19)r.lens[Te[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,Ce={bits:r.lenbits},Ee=s(l,r.lens,0,19,r.lencode,0,r.work,Ce),r.lenbits=Ce.bits,Ee){e.msg="invalid code lengths set",r.mode=$;break}r.have=0,r.mode=U;case U:while(r.have<r.nlen+r.ndist){for(;;){if(Me=r.lencode[se&(1<<r.lenbits)-1],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(_e<16)se>>>=Ae,le-=Ae,r.lens[r.have++]=_e;else{if(16===_e){Se=Ae+2;while(le<Se){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se>>>=Ae,le-=Ae,0===r.have){e.msg="invalid bit length repeat",r.mode=$;break}ye=r.lens[r.have-1],de=3+(3&se),se>>>=2,le-=2}else if(17===_e){Se=Ae+3;while(le<Se){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=Ae,le-=Ae,ye=0,de=3+(7&se),se>>>=3,le-=3}else{Se=Ae+7;while(le<Se){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=Ae,le-=Ae,ye=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++]=ye}}if(r.mode===$)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=$;break}if(r.lenbits=9,Ce={bits:r.lenbits},Ee=s(c,r.lens,0,r.nlen,r.lencode,0,r.work,Ce),r.lenbits=Ce.bits,Ee){e.msg="invalid literal/lengths set",r.mode=$;break}if(r.distbits=6,r.distcode=r.distdyn,Ce={bits:r.distbits},Ee=s(u,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,Ce),r.distbits=Ce.bits,Ee){e.msg="invalid distances set",r.mode=$;break}if(r.mode=H,t===p)break e;case H: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,ue),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===I&&(r.back=-1);break}for(r.back=0;;){if(Me=r.lencode[se&(1<<r.lenbits)-1],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(ge&&0===(240&ge)){for(ve=Ae,be=ge,we=_e;;){if(Me=r.lencode[we+((se&(1<<ve+be)-1)>>ve)],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,ve+Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ve,le-=ve,r.back+=ve}if(se>>>=Ae,le-=Ae,r.back+=Ae,r.length=_e,0===ge){r.mode=q;break}if(32&ge){r.back=-1,r.mode=I;break}if(64&ge){e.msg="invalid literal/length code",r.mode=$;break}r.extra=15&ge,r.mode=Y;case Y:if(r.extra){Se=r.extra;while(le<Se){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=W;case W:for(;;){if(Me=r.distcode[se&(1<<r.distbits)-1],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(0===(240&ge)){for(ve=Ae,be=ge,we=_e;;){if(Me=r.distcode[we+((se&(1<<ve+be)-1)>>ve)],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,ve+Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ve,le-=ve,r.back+=ve}if(se>>>=Ae,le-=Ae,r.back+=Ae,64&ge){e.msg="invalid distance code",r.mode=$;break}r.offset=_e,r.extra=15&ge,r.mode=Q;case Q:if(r.extra){Se=r.extra;while(le<Se){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=z;case z:if(0===oe)break e;if(de=ue-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 q:if(0===oe)break e;te[ne++]=r.length,oe--,r.mode=V;break;case G:if(r.wrap){while(le<32){if(0===ae)break e;ae--,se|=ee[re++]<<le,le+=8}if(ue-=oe,e.total_out+=ue,r.total+=ue,ue&&(e.adler=r.check=r.flags?a(r.check,te,ue,ne-ue):i(r.check,te,ue,ne-ue)),ue=oe,(r.flags?se:ie(se))!==r.check){e.msg="incorrect data check",r.mode=$;break}se=0,le=0}r.mode=K;case K: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=X;case X:Ee=m;break e;case $:Ee=_;break e;case Z:return v;case J:default:return g}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||ue!==e.avail_out&&r.mode<$&&(r.mode<G||t!==d))&&me(e,e.output,e.next_out,ue-e.avail_out)?(r.mode=Z,v):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,r.total+=ue,r.wrap&&ue&&(e.adler=r.check=r.flags?a(r.check,te,ue,e.next_out-ue):i(r.check,te,ue,e.next_out-ue)),e.data_type=r.bits+(r.last?64:0)+(r.mode===I?128:0)+(r.mode===H||r.mode===D?256:0),(0===ce&&0===ue||t===d)&&Ee===f&&(Ee=b),Ee)}function ge(e){if(!e||!e.state)return g;var t=e.state;return t.window&&(t.window=null),e.state=null,f}function _e(e,t){var r;return e&&e.state?(r=e.state,0===(2&r.wrap)?g:(r.head=t,t.done=!1,f)):g}function ve(e,t){var r,n,a,o=t.length;return e&&e.state?(r=e.state,0!==r.wrap&&r.mode!==L?g:r.mode===L&&(n=1,n=i(n,t,o,0),n!==r.check)?_:(a=me(e,t,o,o),a?(r.mode=Z,v):(r.havedict=1,f))):g}r.inflateReset=se,r.inflateReset2=le,r.inflateResetKeep=oe,r.inflateInit=ue,r.inflateInit2=ce,r.inflate=Ae,r.inflateEnd=ge,r.inflateGetHeader=_e,r.inflateSetDictionary=ve,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,c=2,u=[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,A,g,_){var v,b,w,y,E,C,S,M,x,T=_.bits,O=0,N=0,R=0,L=0,I=0,k=0,B=0,D=0,F=0,P=0,j=null,U=0,H=new n.Buf16(i+1),V=new n.Buf16(i+1),Y=null,W=0;for(O=0;O<=i;O++)H[O]=0;for(N=0;N<f;N++)H[t[r+N]]++;for(I=T,L=i;L>=1;L--)if(0!==H[L])break;if(I>L&&(I=L),0===L)return m[A++]=20971520,m[A++]=20971520,_.bits=1,0;for(R=1;R<L;R++)if(0!==H[R])break;for(I<R&&(I=R),D=1,O=1;O<=i;O++)if(D<<=1,D-=H[O],D<0)return-1;if(D>0&&(e===s||1!==L))return-1;for(V[1]=0,O=1;O<i;O++)V[O+1]=V[O]+H[O];for(N=0;N<f;N++)0!==t[r+N]&&(g[V[t[r+N]]++]=N);if(e===s?(j=Y=g,C=19):e===l?(j=u,U-=257,Y=d,W-=257,C=256):(j=h,Y=p,C=-1),P=0,N=0,O=R,E=A,k=I,B=0,w=-1,F=1<<I,y=F-1,e===l&&F>a||e===c&&F>o)return 1;for(;;){S=O-B,g[N]<C?(M=0,x=g[N]):g[N]>C?(M=Y[W+g[N]],x=j[U+g[N]]):(M=96,x=0),v=1<<O-B,b=1<<k,R=b;do{b-=v,m[E+(P>>B)+b]=S<<24|M<<16|x|0}while(0!==b);v=1<<O-1;while(P&v)v>>=1;if(0!==v?(P&=v-1,P+=v):P=0,N++,0===--H[O]){if(O===L)break;O=t[r+g[N]]}if(O>I&&(P&y)!==w){0===B&&(B=I),E+=R,k=O-B,D=1<<k;while(k+B<L){if(D-=H[k+B],D<=0)break;k++,D<<=1}if(F+=1<<k,e===l&&F>a||e===c&&F>o)return 1;w=P&y,m[w]=I<<24|k<<16|E-A|0}}return 0!==P&&(m[E+P]=O-B<<24|64<<16|0),_.bits=I,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 c=0,u=1,d=2,h=3,p=258,f=29,m=256,A=m+1+f,g=30,_=19,v=2*A+1,b=15,w=16,y=7,E=256,C=16,S=17,M=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],T=[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],O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],N=[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*(A+2));l(L);var I=new Array(2*g);l(I);var k=new Array(R);l(k);var B=new Array(p-h+1);l(B);var D=new Array(f);l(D);var F,P,j,U=new Array(g);function H(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?k[e]:k[256+(e>>>7)]}function W(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Q(e,t,r){e.bi_valid>w-r?(e.bi_buf|=t<<e.bi_valid&65535,W(e,e.bi_buf),e.bi_buf=t>>w-e.bi_valid,e.bi_valid+=r-w):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function z(e,t,r){Q(e,r[2*t],r[2*t+1])}function q(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function G(e){16===e.bi_valid?(W(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function K(e,t){var r,n,i,a,o,s,l=t.dyn_tree,c=t.max_code,u=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<=b;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<v;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>c||(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*(u[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>c||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}}function X(e,t,r){var n,i,a=new Array(b+1),o=0;for(n=1;n<=b;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]=q(a[s]++,s))}}function $(){var e,t,r,n,i,a=new Array(b+1);for(r=0,n=0;n<f-1;n++)for(D[n]=r,e=0;e<1<<x[n];e++)B[r++]=n;for(B[r-1]=n,i=0,n=0;n<16;n++)for(U[n]=i,e=0;e<1<<T[n];e++)k[i++]=n;for(i>>=7;n<g;n++)for(U[n]=i<<7,e=0;e<1<<T[n]-7;e++)k[256+i++]=n;for(t=0;t<=b;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(X(L,A+1,a),e=0;e<g;e++)I[2*e+1]=5,I[2*e]=q(e,5);F=new H(L,x,m+1,A,b),P=new H(I,T,0,g,b),j=new H(new Array(0),O,0,_,y)}function Z(e){var t;for(t=0;t<A;t++)e.dyn_ltree[2*t]=0;for(t=0;t<g;t++)e.dyn_dtree[2*t]=0;for(t=0;t<_;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 J(e){e.bi_valid>8?W(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){J(e),i&&(W(e,r),W(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?z(e,i,t):(a=B[i],z(e,a+m+1,t),o=x[a],0!==o&&(i-=D[a],Q(e,i,o)),n--,a=Y(n),z(e,a,r),o=T[a],0!==o&&(n-=U[a],Q(e,n,o)))}while(s<e.last_lit);z(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,c=-1;for(e.heap_len=0,e.heap_max=v,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,a[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,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],K(e,t),X(a,c,e.bl_count)}function ae(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=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<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*C]++):s<=10?e.bl_tree[2*S]++:e.bl_tree[2*M]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function oe(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<c)do{z(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(z(e,i,e.bl_tree),s--),z(e,C,e.bl_tree),Q(e,s-3,2)):s<=10?(z(e,S,e.bl_tree),Q(e,s-3,3)):(z(e,M,e.bl_tree),Q(e,s-11,7));s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=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=_-1;t>=3;t--)if(0!==e.bl_tree[2*N[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,r,n){var i;for(Q(e,t-257,5),Q(e,r-1,5),Q(e,n-4,4),i=0;i<n;i++)Q(e,e.bl_tree[2*N[i]+1],3);oe(e,e.dyn_ltree,t-1),oe(e,e.dyn_dtree,r-1)}function ce(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(U);var ue=!1;function de(e){ue||($(),ue=!0),e.l_desc=new V(e.dyn_ltree,F),e.d_desc=new V(e.dyn_dtree,P),e.bl_desc=new V(e.bl_tree,j),e.bi_buf=0,e.bi_valid=0,Z(e)}function he(e,t,r,n){Q(e,(c<<1)+(n?1:0),3),ee(e,t,r,!0)}function pe(e){Q(e,u<<1,3),z(e,E,L),G(e)}function fe(e,t,r,n){var a,o,l=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=ce(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?(Q(e,(u<<1)+(n?1:0),3),ne(e,L,I)):(Q(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)),Z(e),n&&J(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*(B[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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"};function c(e){return l[e]}var u=Object.prototype,d=u.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 A(e){return"symbol"==typeof e||m(e)&&d.call(e)==a}function g(e){if("string"==typeof e)return e;if(null==e)return"";if(A(e))return h?f.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}function _(e){return e=g(e),e&&s.test(e)?e.replace(o,c):e}t.exports=_},{"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),c=d(n[typeof this]&&this),u=o||l!==(c&&c.window)&&l||s||c||Function("return this")();function d(e){return e&&e.Object===Object?e:null}t.exports=u}).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"),c=e("lodash.istypedarray"),u=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(!b(e))return e;var o=_(t)&&(s(t)||c(t)),l=o?void 0:u(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 c=e[s],u=r?r(c,i,s,e,t):void 0,d=void 0===u;d&&(u=i),void 0===u&&(!o||s in e)||!d&&(u===u?u===c:c!==c)||(e[s]=u)}})),e}function m(e,t,r,i,a,u,h){var p=u.length,f=t[r];while(p--)if(u[p]==f)return void(e[r]=h[p]);var m=e[r],A=a?a(m,f,r,e,t):void 0,g=void 0===A;g&&(A=f,_(f)&&(s(f)||c(f))?A=s(m)?m:_(m)?n(m):[]:l(f)||o(f)?A=o(m)?d(m):l(m)?m:{}:g=!1),u.push(f),h.push(A),g?e[r]=i(A,f,a,u,h):(A===A?A!==m:m===m)&&(e[r]=A)}function A(e){return function(t){return null==t?void 0:t[e]}}var g=A("length");function _(e){return null!=e&&v(g(e))}function v(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var w=a(f);t.exports=w},{"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,c=o>1?r[o-1]:void 0;"function"==typeof s?(s=n(s,c,5),o-=2):(s="function"==typeof c?c: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 u=r[a];u&&e(t,u,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&&u(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 c(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 u(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=c},{}],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,c=o.toString,u=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)&&c.call(e)==n}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(e){return null!=e&&(h(e)?u.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,c=s.toString,u=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")&&(!u.call(e,"callee")||c.call(e)==i)}function f(e){return null!=e&&g(h(e))&&!A(e)}function m(e){return v(e)&&f(e)}function A(e){var t=_(e)?c.call(e):"";return t==a||t==o}function g(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(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,c=s.hasOwnProperty,u=s.toString,d=RegExp("^"+l.call(c).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 v(r)?r:void 0}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}var A=h||function(e){return o(e)&&m(e.length)&&u.call(e)==n};function g(e){return _(e)&&u.call(e)==i}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){return null!=e&&(g(e)?d.test(l.call(e)):o(e)&&a.test(e))}t.exports=A},{}],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,c=l.hasOwnProperty,u=l.toString;function d(e,t){return n(e,t,a)}function h(e){var t,r;return!(!s(e)||u.call(e)!=o||i(e)||!(c.call(e,"constructor")||(t=e.constructor,"function"!=typeof t||t instanceof t)))&&(d(e,(function(e,t){r=t})),void 0===r||c.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]",c="[object Function]",u="[object Map]",d="[object Number]",h="[object Object]",p="[object RegExp]",f="[object Set]",m="[object String]",A="[object WeakMap]",g="[object ArrayBuffer]",_="[object DataView]",v="[object Float32Array]",b="[object Float64Array]",w="[object Int8Array]",y="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",S="[object Uint8ClampedArray]",M="[object Uint16Array]",x="[object Uint32Array]",T={};T[v]=T[b]=T[w]=T[y]=T[E]=T[C]=T[S]=T[M]=T[x]=!0,T[i]=T[a]=T[g]=T[o]=T[_]=T[s]=T[l]=T[c]=T[u]=T[d]=T[h]=T[p]=T[f]=T[m]=T[A]=!1;var O=Object.prototype,N=O.toString;function R(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}function L(e){return!!e&&"object"==typeof e}function I(e){return L(e)&&R(e.length)&&!!T[N.call(e)]}t.exports=I},{}],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,c=n(Object,"keys"),u=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?u:t,e>-1&&e%1==0&&e<t}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function A(e){var t=v(e),r=t.length,n=r&&e.length,o=!!n&&m(n)&&(a(e)||i(e)),s=-1,c=[];while(++s<r){var u=t[s];(o&&f(u,n)||l.call(e,u))&&c.push(u)}return c}function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var _=c?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&p(e)?A(e):g(e)?c(e):[]}:A;function v(e){if(null==e)return[];g(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),c=t>0;while(++n<t)s[n]=n+"";for(var u in e)c&&f(u,t)||"constructor"==u&&(o||!l.call(e,u))||s.push(u);return s}t.exports=_},{"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 c(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 u(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&&u(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&&c(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)}))},"4f4d":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]}},"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 c(e,t,r){return r^e&(t^r)}function u(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 A(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(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,_=0|this._gh,v=0|this._hh,b=0|this._al,w=0|this._bl,y=0|this._cl,E=0|this._dl,C=0|this._el,S=0|this._fl,M=0|this._gl,x=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var O=t[T-30],N=t[T-30+1],R=p(O,N),L=f(N,O);O=t[T-4],N=t[T-4+1];var I=m(O,N),k=A(N,O),B=t[T-14],D=t[T-14+1],F=t[T-32],P=t[T-32+1],j=L+D|0,U=R+B+g(j,L)|0;j=j+k|0,U=U+I+g(j,k)|0,j=j+P|0,U=U+F+g(j,P)|0,t[T]=U,t[T+1]=j}for(var H=0;H<160;H+=2){U=t[H],j=t[H+1];var V=u(r,n,i),Y=u(b,w,y),W=d(r,b),Q=d(b,r),z=h(s,C),q=h(C,s),G=o[H],K=o[H+1],X=c(s,l,_),$=c(C,S,M),Z=x+q|0,J=v+z+g(Z,x)|0;Z=Z+$|0,J=J+X+g(Z,$)|0,Z=Z+K|0,J=J+G+g(Z,K)|0,Z=Z+j|0,J=J+U+g(Z,j)|0;var ee=Q+Y|0,te=W+V+g(ee,Q)|0;v=_,x=M,_=l,M=S,l=s,S=C,C=E+Z|0,s=a+J+g(C,E)|0,a=i,E=y,i=n,y=w,n=r,w=b,b=Z+ee|0,r=J+te+g(b,Z)|0}this._al=this._al+b|0,this._bl=this._bl+w|0,this._cl=this._cl+y|0,this._dl=this._dl+E|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+M|0,this._hl=this._hl+x|0,this._ah=this._ah+r+g(this._al,b)|0,this._bh=this._bh+n+g(this._bl,w)|0,this._ch=this._ch+i+g(this._cl,y)|0,this._dh=this._dh+a+g(this._dl,E)|0,this._eh=this._eh+s+g(this._el,C)|0,this._fh=this._fh+l+g(this._fl,S)|0,this._gh=this._gh+_+g(this._gl,M)|0,this._hh=this._hh+v+g(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},5:function(e,t){},5038:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  111. //! moment.js locale configuration
  112. 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";
  113. //! moment.js locale configuration
  114. 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}))},"512ce":function(e,t,r){"use strict";var n=r("342f"),i=n.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},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)},"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"),c=r("ba82"),u=r("321f");function d(e,t){let r=null;""!==e&&(r=o.create_text(t._nodeDocument,e)),c.mutation_replaceAll(r,t)}function h(e,t=null,r=!1){let a;if(null===t&&(t=e._nodeDocument),i.Guard.isElementNode(e)){a=u.element_createAnElement(t,e._localName,e._namespace,e._namespacePrefix,e._is,!1);for(const r of e._attributeList){const e=h(r,t);u.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);c.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 A(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 g(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)?g(e._parent,t):null}function _(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:_(e.parentElement,t)}return i.Guard.isDocumentNode(e)?null===e.documentElement?null:_(e.documentElement,t):i.Guard.isDocumentTypeNode(e)||i.Guard.isDocumentFragmentNode(e)?null:i.Guard.isAttrNode(e)?null===e._element?null:_(e._element,t):e._parent&&i.Guard.isElementNode(e._parent)?_(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=A,t.node_locateANamespacePrefix=g,t.node_locateANamespace=_},"520d":function(e,t,r){},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,c=0;while(++s<l)n=e._cipher.encryptBlock(e._prev),i=t&1<<7-s?128:0,o=n[0]^i,c+=(128&o)>>s%8,e._prev=a(e._prev,r?i:o);return c}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";
  115. //! moment.js locale configuration
  116. 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 c{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="",u=!1,d=!1,h=r.copy(),p={},f=this._recordNamespaceInformation(e,h,p),m=t,A=e.namespaceURI;if(m===A)null!==f&&(d=!0),o=A===s.namespace.XML?"xml:"+e.localName:e.localName,a+=o;else{let t=e.prefix,r=null;if(null===t&&A===f||(r=h.get(t,A)),"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(A,h,n)),h.set(t,A),o+=t+":"+e.localName,a+=o,a+=" xmlns:"+t+'="'+this._serializeAttributeValue(A,i)+'"',null!==f&&(m=f||null)):null===f||null!==f&&f!==A?(d=!0,o+=e.localName,m=A,a+=o,a+=' xmlns="'+this._serializeAttributeValue(A,i)+'"'):(o+=e.localName,m=A,a+=o)}a+=this._serializeAttributesNS(e,h,n,p,d,i);const g=A===s.namespace.HTML;if(g&&0===e.childNodes.length&&c._VoidElementNames.has(e.localName)?(a+=" /",u=!0):g||0!==e.childNodes.length||(a+="/",u=!0),a+=">",u)return a;if(g&&"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?"&amp;":"<"===t?"&lt;":">"===t?"&gt;":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 c="";const u=o?new i.LocalNameSet:void 0;for(const i of e.attributes){if(!a&&!o&&null===i.namespaceURI){c+=" "+i.localName+'="'+this._serializeAttributeValue(i.value,o)+'"';continue}if(o&&u&&u.has(i.namespaceURI,i.localName))throw new Error("Element contains duplicate attributes (well-formed required).");o&&u&&u.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,c+=" xmlns:"+d+'="'+this._serializeAttributeValue(e,o)+'"');if(c+=" ",null!==d&&(c+=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).");c+=i.localName+'="'+this._serializeAttributeValue(i.value,o)+'"'}return c}_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?"&quot;":"&"===t?"&amp;":"<"===t?"&lt;":">"===t?"&gt;":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=c,c._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";
  117. //! moment.js locale configuration
  118. 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}))},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},5382: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:/&notin;|&(?: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:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?: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:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":" ","&nbsp;":" ","&iexcl":"¡","&iexcl;":"¡","&cent":"¢","&cent;":"¢","&pound":"£","&pound;":"£","&curren":"¤","&curren;":"¤","&yen":"¥","&yen;":"¥","&brvbar":"¦","&brvbar;":"¦","&sect":"§","&sect;":"§","&uml":"¨","&uml;":"¨","&copy":"©","&copy;":"©","&ordf":"ª","&ordf;":"ª","&laquo":"«","&laquo;":"«","&not":"¬","&not;":"¬","&shy":"­","&shy;":"­","&reg":"®","&reg;":"®","&macr":"¯","&macr;":"¯","&deg":"°","&deg;":"°","&plusmn":"±","&plusmn;":"±","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&acute":"´","&acute;":"´","&micro":"µ","&micro;":"µ","&para":"¶","&para;":"¶","&middot":"·","&middot;":"·","&cedil":"¸","&cedil;":"¸","&sup1":"¹","&sup1;":"¹","&ordm":"º","&ordm;":"º","&raquo":"»","&raquo;":"»","&frac14":"¼","&frac14;":"¼","&frac12":"½","&frac12;":"½","&frac34":"¾","&frac34;":"¾","&iquest":"¿","&iquest;":"¿","&Agrave":"À","&Agrave;":"À","&Aacute":"Á","&Aacute;":"Á","&Acirc":"Â","&Acirc;":"Â","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Aring":"Å","&Aring;":"Å","&AElig":"Æ","&AElig;":"Æ","&Ccedil":"Ç","&Ccedil;":"Ç","&Egrave":"È","&Egrave;":"È","&Eacute":"É","&Eacute;":"É","&Ecirc":"Ê","&Ecirc;":"Ê","&Euml":"Ë","&Euml;":"Ë","&Igrave":"Ì","&Igrave;":"Ì","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Iuml":"Ï","&Iuml;":"Ï","&ETH":"Ð","&ETH;":"Ð","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Ograve":"Ò","&Ograve;":"Ò","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Otilde":"Õ","&Otilde;":"Õ","&Ouml":"Ö","&Ouml;":"Ö","&times":"×","&times;":"×","&Oslash":"Ø","&Oslash;":"Ø","&Ugrave":"Ù","&Ugrave;":"Ù","&Uacute":"Ú","&Uacute;":"Ú","&Ucirc":"Û","&Ucirc;":"Û","&Uuml":"Ü","&Uuml;":"Ü","&Yacute":"Ý","&Yacute;":"Ý","&THORN":"Þ","&THORN;":"Þ","&szlig":"ß","&szlig;":"ß","&agrave":"à","&agrave;":"à","&aacute":"á","&aacute;":"á","&acirc":"â","&acirc;":"â","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&aring":"å","&aring;":"å","&aelig":"æ","&aelig;":"æ","&ccedil":"ç","&ccedil;":"ç","&egrave":"è","&egrave;":"è","&eacute":"é","&eacute;":"é","&ecirc":"ê","&ecirc;":"ê","&euml":"ë","&euml;":"ë","&igrave":"ì","&igrave;":"ì","&iacute":"í","&iacute;":"í","&icirc":"î","&icirc;":"î","&iuml":"ï","&iuml;":"ï","&eth":"ð","&eth;":"ð","&ntilde":"ñ","&ntilde;":"ñ","&ograve":"ò","&ograve;":"ò","&oacute":"ó","&oacute;":"ó","&ocirc":"ô","&ocirc;":"ô","&otilde":"õ","&otilde;":"õ","&ouml":"ö","&ouml;":"ö","&divide":"÷","&divide;":"÷","&oslash":"ø","&oslash;":"ø","&ugrave":"ù","&ugrave;":"ù","&uacute":"ú","&uacute;":"ú","&ucirc":"û","&ucirc;":"û","&uuml":"ü","&uuml;":"ü","&yacute":"ý","&yacute;":"ý","&thorn":"þ","&thorn;":"þ","&yuml":"ÿ","&yuml;":"ÿ","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},characters:{"'":"&apos;"," ":"&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;","Œ":"&OElig;","œ":"&oelig;","Š":"&Scaron;","š":"&scaron;","Ÿ":"&Yuml;","ˆ":"&circ;","˜":"&tilde;"," ":"&ensp;"," ":"&emsp;"," ":"&thinsp;","‌":"&zwnj;","‍":"&zwj;","‎":"&lrm;","‏":"&rlm;","–":"&ndash;","—":"&mdash;","‘":"&lsquo;","’":"&rsquo;","‚":"&sbquo;","“":"&ldquo;","”":"&rdquo;","„":"&bdquo;","†":"&dagger;","‡":"&Dagger;","‰":"&permil;","‹":"&lsaquo;","›":"&rsaquo;","€":"&euro;","ƒ":"&fnof;","Α":"&Alpha;","Β":"&Beta;","Γ":"&Gamma;","Δ":"&Delta;","Ε":"&Epsilon;","Ζ":"&Zeta;","Η":"&Eta;","Θ":"&Theta;","Ι":"&Iota;","Κ":"&Kappa;","Λ":"&Lambda;","Μ":"&Mu;","Ν":"&Nu;","Ξ":"&Xi;","Ο":"&Omicron;","Π":"&Pi;","Ρ":"&Rho;","Σ":"&Sigma;","Τ":"&Tau;","Υ":"&Upsilon;","Φ":"&Phi;","Χ":"&Chi;","Ψ":"&Psi;","Ω":"&Omega;","α":"&alpha;","β":"&beta;","γ":"&gamma;","δ":"&delta;","ε":"&epsilon;","ζ":"&zeta;","η":"&eta;","θ":"&theta;","ι":"&iota;","κ":"&kappa;","λ":"&lambda;","μ":"&mu;","ν":"&nu;","ξ":"&xi;","ο":"&omicron;","π":"&pi;","ρ":"&rho;","ς":"&sigmaf;","σ":"&sigma;","τ":"&tau;","υ":"&upsilon;","φ":"&phi;","χ":"&chi;","ψ":"&psi;","ω":"&omega;","ϑ":"&thetasym;","ϒ":"&upsih;","ϖ":"&piv;","•":"&bull;","…":"&hellip;","′":"&prime;","″":"&Prime;","‾":"&oline;","⁄":"&frasl;","℘":"&weierp;","ℑ":"&image;","ℜ":"&real;","™":"&trade;","ℵ":"&alefsym;","←":"&larr;","↑":"&uarr;","→":"&rarr;","↓":"&darr;","↔":"&harr;","↵":"&crarr;","⇐":"&lArr;","⇑":"&uArr;","⇒":"&rArr;","⇓":"&dArr;","⇔":"&hArr;","∀":"&forall;","∂":"&part;","∃":"&exist;","∅":"&empty;","∇":"&nabla;","∈":"&isin;","∉":"&notin;","∋":"&ni;","∏":"&prod;","∑":"&sum;","−":"&minus;","∗":"&lowast;","√":"&radic;","∝":"&prop;","∞":"&infin;","∠":"&ang;","∧":"&and;","∨":"&or;","∩":"&cap;","∪":"&cup;","∫":"&int;","∴":"&there4;","∼":"&sim;","≅":"&cong;","≈":"&asymp;","≠":"&ne;","≡":"&equiv;","≤":"&le;","≥":"&ge;","⊂":"&sub;","⊃":"&sup;","⊄":"&nsub;","⊆":"&sube;","⊇":"&supe;","⊕":"&oplus;","⊗":"&otimes;","⊥":"&perp;","⋅":"&sdot;","⌈":"&lceil;","⌉":"&rceil;","⌊":"&lfloor;","⌋":"&rfloor;","〈":"&lang;","〉":"&rang;","◊":"&loz;","♠":"&spades;","♣":"&clubs;","♥":"&hearts;","♦":"&diams;"}},html5:{entities:{"&AElig":"Æ","&AElig;":"Æ","&AMP":"&","&AMP;":"&","&Aacute":"Á","&Aacute;":"Á","&Abreve;":"Ă","&Acirc":"Â","&Acirc;":"Â","&Acy;":"А","&Afr;":"𝔄","&Agrave":"À","&Agrave;":"À","&Alpha;":"Α","&Amacr;":"Ā","&And;":"⩓","&Aogon;":"Ą","&Aopf;":"𝔸","&ApplyFunction;":"⁡","&Aring":"Å","&Aring;":"Å","&Ascr;":"𝒜","&Assign;":"≔","&Atilde":"Ã","&Atilde;":"Ã","&Auml":"Ä","&Auml;":"Ä","&Backslash;":"∖","&Barv;":"⫧","&Barwed;":"⌆","&Bcy;":"Б","&Because;":"∵","&Bernoullis;":"ℬ","&Beta;":"Β","&Bfr;":"𝔅","&Bopf;":"𝔹","&Breve;":"˘","&Bscr;":"ℬ","&Bumpeq;":"≎","&CHcy;":"Ч","&COPY":"©","&COPY;":"©","&Cacute;":"Ć","&Cap;":"⋒","&CapitalDifferentialD;":"ⅅ","&Cayleys;":"ℭ","&Ccaron;":"Č","&Ccedil":"Ç","&Ccedil;":"Ç","&Ccirc;":"Ĉ","&Cconint;":"∰","&Cdot;":"Ċ","&Cedilla;":"¸","&CenterDot;":"·","&Cfr;":"ℭ","&Chi;":"Χ","&CircleDot;":"⊙","&CircleMinus;":"⊖","&CirclePlus;":"⊕","&CircleTimes;":"⊗","&ClockwiseContourIntegral;":"∲","&CloseCurlyDoubleQuote;":"”","&CloseCurlyQuote;":"’","&Colon;":"∷","&Colone;":"⩴","&Congruent;":"≡","&Conint;":"∯","&ContourIntegral;":"∮","&Copf;":"ℂ","&Coproduct;":"∐","&CounterClockwiseContourIntegral;":"∳","&Cross;":"⨯","&Cscr;":"𝒞","&Cup;":"⋓","&CupCap;":"≍","&DD;":"ⅅ","&DDotrahd;":"⤑","&DJcy;":"Ђ","&DScy;":"Ѕ","&DZcy;":"Џ","&Dagger;":"‡","&Darr;":"↡","&Dashv;":"⫤","&Dcaron;":"Ď","&Dcy;":"Д","&Del;":"∇","&Delta;":"Δ","&Dfr;":"𝔇","&DiacriticalAcute;":"´","&DiacriticalDot;":"˙","&DiacriticalDoubleAcute;":"˝","&DiacriticalGrave;":"`","&DiacriticalTilde;":"˜","&Diamond;":"⋄","&DifferentialD;":"ⅆ","&Dopf;":"𝔻","&Dot;":"¨","&DotDot;":"⃜","&DotEqual;":"≐","&DoubleContourIntegral;":"∯","&DoubleDot;":"¨","&DoubleDownArrow;":"⇓","&DoubleLeftArrow;":"⇐","&DoubleLeftRightArrow;":"⇔","&DoubleLeftTee;":"⫤","&DoubleLongLeftArrow;":"⟸","&DoubleLongLeftRightArrow;":"⟺","&DoubleLongRightArrow;":"⟹","&DoubleRightArrow;":"⇒","&DoubleRightTee;":"⊨","&DoubleUpArrow;":"⇑","&DoubleUpDownArrow;":"⇕","&DoubleVerticalBar;":"∥","&DownArrow;":"↓","&DownArrowBar;":"⤓","&DownArrowUpArrow;":"⇵","&DownBreve;":"̑","&DownLeftRightVector;":"⥐","&DownLeftTeeVector;":"⥞","&DownLeftVector;":"↽","&DownLeftVectorBar;":"⥖","&DownRightTeeVector;":"⥟","&DownRightVector;":"⇁","&DownRightVectorBar;":"⥗","&DownTee;":"⊤","&DownTeeArrow;":"↧","&Downarrow;":"⇓","&Dscr;":"𝒟","&Dstrok;":"Đ","&ENG;":"Ŋ","&ETH":"Ð","&ETH;":"Ð","&Eacute":"É","&Eacute;":"É","&Ecaron;":"Ě","&Ecirc":"Ê","&Ecirc;":"Ê","&Ecy;":"Э","&Edot;":"Ė","&Efr;":"𝔈","&Egrave":"È","&Egrave;":"È","&Element;":"∈","&Emacr;":"Ē","&EmptySmallSquare;":"◻","&EmptyVerySmallSquare;":"▫","&Eogon;":"Ę","&Eopf;":"𝔼","&Epsilon;":"Ε","&Equal;":"⩵","&EqualTilde;":"≂","&Equilibrium;":"⇌","&Escr;":"ℰ","&Esim;":"⩳","&Eta;":"Η","&Euml":"Ë","&Euml;":"Ë","&Exists;":"∃","&ExponentialE;":"ⅇ","&Fcy;":"Ф","&Ffr;":"𝔉","&FilledSmallSquare;":"◼","&FilledVerySmallSquare;":"▪","&Fopf;":"𝔽","&ForAll;":"∀","&Fouriertrf;":"ℱ","&Fscr;":"ℱ","&GJcy;":"Ѓ","&GT":">","&GT;":">","&Gamma;":"Γ","&Gammad;":"Ϝ","&Gbreve;":"Ğ","&Gcedil;":"Ģ","&Gcirc;":"Ĝ","&Gcy;":"Г","&Gdot;":"Ġ","&Gfr;":"𝔊","&Gg;":"⋙","&Gopf;":"𝔾","&GreaterEqual;":"≥","&GreaterEqualLess;":"⋛","&GreaterFullEqual;":"≧","&GreaterGreater;":"⪢","&GreaterLess;":"≷","&GreaterSlantEqual;":"⩾","&GreaterTilde;":"≳","&Gscr;":"𝒢","&Gt;":"≫","&HARDcy;":"Ъ","&Hacek;":"ˇ","&Hat;":"^","&Hcirc;":"Ĥ","&Hfr;":"ℌ","&HilbertSpace;":"ℋ","&Hopf;":"ℍ","&HorizontalLine;":"─","&Hscr;":"ℋ","&Hstrok;":"Ħ","&HumpDownHump;":"≎","&HumpEqual;":"≏","&IEcy;":"Е","&IJlig;":"IJ","&IOcy;":"Ё","&Iacute":"Í","&Iacute;":"Í","&Icirc":"Î","&Icirc;":"Î","&Icy;":"И","&Idot;":"İ","&Ifr;":"ℑ","&Igrave":"Ì","&Igrave;":"Ì","&Im;":"ℑ","&Imacr;":"Ī","&ImaginaryI;":"ⅈ","&Implies;":"⇒","&Int;":"∬","&Integral;":"∫","&Intersection;":"⋂","&InvisibleComma;":"⁣","&InvisibleTimes;":"⁢","&Iogon;":"Į","&Iopf;":"𝕀","&Iota;":"Ι","&Iscr;":"ℐ","&Itilde;":"Ĩ","&Iukcy;":"І","&Iuml":"Ï","&Iuml;":"Ï","&Jcirc;":"Ĵ","&Jcy;":"Й","&Jfr;":"𝔍","&Jopf;":"𝕁","&Jscr;":"𝒥","&Jsercy;":"Ј","&Jukcy;":"Є","&KHcy;":"Х","&KJcy;":"Ќ","&Kappa;":"Κ","&Kcedil;":"Ķ","&Kcy;":"К","&Kfr;":"𝔎","&Kopf;":"𝕂","&Kscr;":"𝒦","&LJcy;":"Љ","&LT":"<","&LT;":"<","&Lacute;":"Ĺ","&Lambda;":"Λ","&Lang;":"⟪","&Laplacetrf;":"ℒ","&Larr;":"↞","&Lcaron;":"Ľ","&Lcedil;":"Ļ","&Lcy;":"Л","&LeftAngleBracket;":"⟨","&LeftArrow;":"←","&LeftArrowBar;":"⇤","&LeftArrowRightArrow;":"⇆","&LeftCeiling;":"⌈","&LeftDoubleBracket;":"⟦","&LeftDownTeeVector;":"⥡","&LeftDownVector;":"⇃","&LeftDownVectorBar;":"⥙","&LeftFloor;":"⌊","&LeftRightArrow;":"↔","&LeftRightVector;":"⥎","&LeftTee;":"⊣","&LeftTeeArrow;":"↤","&LeftTeeVector;":"⥚","&LeftTriangle;":"⊲","&LeftTriangleBar;":"⧏","&LeftTriangleEqual;":"⊴","&LeftUpDownVector;":"⥑","&LeftUpTeeVector;":"⥠","&LeftUpVector;":"↿","&LeftUpVectorBar;":"⥘","&LeftVector;":"↼","&LeftVectorBar;":"⥒","&Leftarrow;":"⇐","&Leftrightarrow;":"⇔","&LessEqualGreater;":"⋚","&LessFullEqual;":"≦","&LessGreater;":"≶","&LessLess;":"⪡","&LessSlantEqual;":"⩽","&LessTilde;":"≲","&Lfr;":"𝔏","&Ll;":"⋘","&Lleftarrow;":"⇚","&Lmidot;":"Ŀ","&LongLeftArrow;":"⟵","&LongLeftRightArrow;":"⟷","&LongRightArrow;":"⟶","&Longleftarrow;":"⟸","&Longleftrightarrow;":"⟺","&Longrightarrow;":"⟹","&Lopf;":"𝕃","&LowerLeftArrow;":"↙","&LowerRightArrow;":"↘","&Lscr;":"ℒ","&Lsh;":"↰","&Lstrok;":"Ł","&Lt;":"≪","&Map;":"⤅","&Mcy;":"М","&MediumSpace;":" ","&Mellintrf;":"ℳ","&Mfr;":"𝔐","&MinusPlus;":"∓","&Mopf;":"𝕄","&Mscr;":"ℳ","&Mu;":"Μ","&NJcy;":"Њ","&Nacute;":"Ń","&Ncaron;":"Ň","&Ncedil;":"Ņ","&Ncy;":"Н","&NegativeMediumSpace;":"​","&NegativeThickSpace;":"​","&NegativeThinSpace;":"​","&NegativeVeryThinSpace;":"​","&NestedGreaterGreater;":"≫","&NestedLessLess;":"≪","&NewLine;":"\n","&Nfr;":"𝔑","&NoBreak;":"⁠","&NonBreakingSpace;":" ","&Nopf;":"ℕ","&Not;":"⫬","&NotCongruent;":"≢","&NotCupCap;":"≭","&NotDoubleVerticalBar;":"∦","&NotElement;":"∉","&NotEqual;":"≠","&NotEqualTilde;":"≂̸","&NotExists;":"∄","&NotGreater;":"≯","&NotGreaterEqual;":"≱","&NotGreaterFullEqual;":"≧̸","&NotGreaterGreater;":"≫̸","&NotGreaterLess;":"≹","&NotGreaterSlantEqual;":"⩾̸","&NotGreaterTilde;":"≵","&NotHumpDownHump;":"≎̸","&NotHumpEqual;":"≏̸","&NotLeftTriangle;":"⋪","&NotLeftTriangleBar;":"⧏̸","&NotLeftTriangleEqual;":"⋬","&NotLess;":"≮","&NotLessEqual;":"≰","&NotLessGreater;":"≸","&NotLessLess;":"≪̸","&NotLessSlantEqual;":"⩽̸","&NotLessTilde;":"≴","&NotNestedGreaterGreater;":"⪢̸","&NotNestedLessLess;":"⪡̸","&NotPrecedes;":"⊀","&NotPrecedesEqual;":"⪯̸","&NotPrecedesSlantEqual;":"⋠","&NotReverseElement;":"∌","&NotRightTriangle;":"⋫","&NotRightTriangleBar;":"⧐̸","&NotRightTriangleEqual;":"⋭","&NotSquareSubset;":"⊏̸","&NotSquareSubsetEqual;":"⋢","&NotSquareSuperset;":"⊐̸","&NotSquareSupersetEqual;":"⋣","&NotSubset;":"⊂⃒","&NotSubsetEqual;":"⊈","&NotSucceeds;":"⊁","&NotSucceedsEqual;":"⪰̸","&NotSucceedsSlantEqual;":"⋡","&NotSucceedsTilde;":"≿̸","&NotSuperset;":"⊃⃒","&NotSupersetEqual;":"⊉","&NotTilde;":"≁","&NotTildeEqual;":"≄","&NotTildeFullEqual;":"≇","&NotTildeTilde;":"≉","&NotVerticalBar;":"∤","&Nscr;":"𝒩","&Ntilde":"Ñ","&Ntilde;":"Ñ","&Nu;":"Ν","&OElig;":"Œ","&Oacute":"Ó","&Oacute;":"Ó","&Ocirc":"Ô","&Ocirc;":"Ô","&Ocy;":"О","&Odblac;":"Ő","&Ofr;":"𝔒","&Ograve":"Ò","&Ograve;":"Ò","&Omacr;":"Ō","&Omega;":"Ω","&Omicron;":"Ο","&Oopf;":"𝕆","&OpenCurlyDoubleQuote;":"“","&OpenCurlyQuote;":"‘","&Or;":"⩔","&Oscr;":"𝒪","&Oslash":"Ø","&Oslash;":"Ø","&Otilde":"Õ","&Otilde;":"Õ","&Otimes;":"⨷","&Ouml":"Ö","&Ouml;":"Ö","&OverBar;":"‾","&OverBrace;":"⏞","&OverBracket;":"⎴","&OverParenthesis;":"⏜","&PartialD;":"∂","&Pcy;":"П","&Pfr;":"𝔓","&Phi;":"Φ","&Pi;":"Π","&PlusMinus;":"±","&Poincareplane;":"ℌ","&Popf;":"ℙ","&Pr;":"⪻","&Precedes;":"≺","&PrecedesEqual;":"⪯","&PrecedesSlantEqual;":"≼","&PrecedesTilde;":"≾","&Prime;":"″","&Product;":"∏","&Proportion;":"∷","&Proportional;":"∝","&Pscr;":"𝒫","&Psi;":"Ψ","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"𝔔","&Qopf;":"ℚ","&Qscr;":"𝒬","&RBarr;":"⤐","&REG":"®","&REG;":"®","&Racute;":"Ŕ","&Rang;":"⟫","&Rarr;":"↠","&Rarrtl;":"⤖","&Rcaron;":"Ř","&Rcedil;":"Ŗ","&Rcy;":"Р","&Re;":"ℜ","&ReverseElement;":"∋","&ReverseEquilibrium;":"⇋","&ReverseUpEquilibrium;":"⥯","&Rfr;":"ℜ","&Rho;":"Ρ","&RightAngleBracket;":"⟩","&RightArrow;":"→","&RightArrowBar;":"⇥","&RightArrowLeftArrow;":"⇄","&RightCeiling;":"⌉","&RightDoubleBracket;":"⟧","&RightDownTeeVector;":"⥝","&RightDownVector;":"⇂","&RightDownVectorBar;":"⥕","&RightFloor;":"⌋","&RightTee;":"⊢","&RightTeeArrow;":"↦","&RightTeeVector;":"⥛","&RightTriangle;":"⊳","&RightTriangleBar;":"⧐","&RightTriangleEqual;":"⊵","&RightUpDownVector;":"⥏","&RightUpTeeVector;":"⥜","&RightUpVector;":"↾","&RightUpVectorBar;":"⥔","&RightVector;":"⇀","&RightVectorBar;":"⥓","&Rightarrow;":"⇒","&Ropf;":"ℝ","&RoundImplies;":"⥰","&Rrightarrow;":"⇛","&Rscr;":"ℛ","&Rsh;":"↱","&RuleDelayed;":"⧴","&SHCHcy;":"Щ","&SHcy;":"Ш","&SOFTcy;":"Ь","&Sacute;":"Ś","&Sc;":"⪼","&Scaron;":"Š","&Scedil;":"Ş","&Scirc;":"Ŝ","&Scy;":"С","&Sfr;":"𝔖","&ShortDownArrow;":"↓","&ShortLeftArrow;":"←","&ShortRightArrow;":"→","&ShortUpArrow;":"↑","&Sigma;":"Σ","&SmallCircle;":"∘","&Sopf;":"𝕊","&Sqrt;":"√","&Square;":"□","&SquareIntersection;":"⊓","&SquareSubset;":"⊏","&SquareSubsetEqual;":"⊑","&SquareSuperset;":"⊐","&SquareSupersetEqual;":"⊒","&SquareUnion;":"⊔","&Sscr;":"𝒮","&Star;":"⋆","&Sub;":"⋐","&Subset;":"⋐","&SubsetEqual;":"⊆","&Succeeds;":"≻","&SucceedsEqual;":"⪰","&SucceedsSlantEqual;":"≽","&SucceedsTilde;":"≿","&SuchThat;":"∋","&Sum;":"∑","&Sup;":"⋑","&Superset;":"⊃","&SupersetEqual;":"⊇","&Supset;":"⋑","&THORN":"Þ","&THORN;":"Þ","&TRADE;":"™","&TSHcy;":"Ћ","&TScy;":"Ц","&Tab;":"\t","&Tau;":"Τ","&Tcaron;":"Ť","&Tcedil;":"Ţ","&Tcy;":"Т","&Tfr;":"𝔗","&Therefore;":"∴","&Theta;":"Θ","&ThickSpace;":"  ","&ThinSpace;":" ","&Tilde;":"∼","&TildeEqual;":"≃","&TildeFullEqual;":"≅","&TildeTilde;":"≈","&Topf;":"𝕋","&TripleDot;":"⃛","&Tscr;":"𝒯","&Tstrok;":"Ŧ","&Uacute":"Ú","&Uacute;":"Ú","&Uarr;":"↟","&Uarrocir;":"⥉","&Ubrcy;":"Ў","&Ubreve;":"Ŭ","&Ucirc":"Û","&Ucirc;":"Û","&Ucy;":"У","&Udblac;":"Ű","&Ufr;":"𝔘","&Ugrave":"Ù","&Ugrave;":"Ù","&Umacr;":"Ū","&UnderBar;":"_","&UnderBrace;":"⏟","&UnderBracket;":"⎵","&UnderParenthesis;":"⏝","&Union;":"⋃","&UnionPlus;":"⊎","&Uogon;":"Ų","&Uopf;":"𝕌","&UpArrow;":"↑","&UpArrowBar;":"⤒","&UpArrowDownArrow;":"⇅","&UpDownArrow;":"↕","&UpEquilibrium;":"⥮","&UpTee;":"⊥","&UpTeeArrow;":"↥","&Uparrow;":"⇑","&Updownarrow;":"⇕","&UpperLeftArrow;":"↖","&UpperRightArrow;":"↗","&Upsi;":"ϒ","&Upsilon;":"Υ","&Uring;":"Ů","&Uscr;":"𝒰","&Utilde;":"Ũ","&Uuml":"Ü","&Uuml;":"Ü","&VDash;":"⊫","&Vbar;":"⫫","&Vcy;":"В","&Vdash;":"⊩","&Vdashl;":"⫦","&Vee;":"⋁","&Verbar;":"‖","&Vert;":"‖","&VerticalBar;":"∣","&VerticalLine;":"|","&VerticalSeparator;":"❘","&VerticalTilde;":"≀","&VeryThinSpace;":" ","&Vfr;":"𝔙","&Vopf;":"𝕍","&Vscr;":"𝒱","&Vvdash;":"⊪","&Wcirc;":"Ŵ","&Wedge;":"⋀","&Wfr;":"𝔚","&Wopf;":"𝕎","&Wscr;":"𝒲","&Xfr;":"𝔛","&Xi;":"Ξ","&Xopf;":"𝕏","&Xscr;":"𝒳","&YAcy;":"Я","&YIcy;":"Ї","&YUcy;":"Ю","&Yacute":"Ý","&Yacute;":"Ý","&Ycirc;":"Ŷ","&Ycy;":"Ы","&Yfr;":"𝔜","&Yopf;":"𝕐","&Yscr;":"𝒴","&Yuml;":"Ÿ","&ZHcy;":"Ж","&Zacute;":"Ź","&Zcaron;":"Ž","&Zcy;":"З","&Zdot;":"Ż","&ZeroWidthSpace;":"​","&Zeta;":"Ζ","&Zfr;":"ℨ","&Zopf;":"ℤ","&Zscr;":"𝒵","&aacute":"á","&aacute;":"á","&abreve;":"ă","&ac;":"∾","&acE;":"∾̳","&acd;":"∿","&acirc":"â","&acirc;":"â","&acute":"´","&acute;":"´","&acy;":"а","&aelig":"æ","&aelig;":"æ","&af;":"⁡","&afr;":"𝔞","&agrave":"à","&agrave;":"à","&alefsym;":"ℵ","&aleph;":"ℵ","&alpha;":"α","&amacr;":"ā","&amalg;":"⨿","&amp":"&","&amp;":"&","&and;":"∧","&andand;":"⩕","&andd;":"⩜","&andslope;":"⩘","&andv;":"⩚","&ang;":"∠","&ange;":"⦤","&angle;":"∠","&angmsd;":"∡","&angmsdaa;":"⦨","&angmsdab;":"⦩","&angmsdac;":"⦪","&angmsdad;":"⦫","&angmsdae;":"⦬","&angmsdaf;":"⦭","&angmsdag;":"⦮","&angmsdah;":"⦯","&angrt;":"∟","&angrtvb;":"⊾","&angrtvbd;":"⦝","&angsph;":"∢","&angst;":"Å","&angzarr;":"⍼","&aogon;":"ą","&aopf;":"𝕒","&ap;":"≈","&apE;":"⩰","&apacir;":"⩯","&ape;":"≊","&apid;":"≋","&apos;":"'","&approx;":"≈","&approxeq;":"≊","&aring":"å","&aring;":"å","&ascr;":"𝒶","&ast;":"*","&asymp;":"≈","&asympeq;":"≍","&atilde":"ã","&atilde;":"ã","&auml":"ä","&auml;":"ä","&awconint;":"∳","&awint;":"⨑","&bNot;":"⫭","&backcong;":"≌","&backepsilon;":"϶","&backprime;":"‵","&backsim;":"∽","&backsimeq;":"⋍","&barvee;":"⊽","&barwed;":"⌅","&barwedge;":"⌅","&bbrk;":"⎵","&bbrktbrk;":"⎶","&bcong;":"≌","&bcy;":"б","&bdquo;":"„","&becaus;":"∵","&because;":"∵","&bemptyv;":"⦰","&bepsi;":"϶","&bernou;":"ℬ","&beta;":"β","&beth;":"ℶ","&between;":"≬","&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;":"⌐","&bopf;":"𝕓","&bot;":"⊥","&bottom;":"⊥","&bowtie;":"⋈","&boxDL;":"╗","&boxDR;":"╔","&boxDl;":"╖","&boxDr;":"╓","&boxH;":"═","&boxHD;":"╦","&boxHU;":"╩","&boxHd;":"╤","&boxHu;":"╧","&boxUL;":"╝","&boxUR;":"╚","&boxUl;":"╜","&boxUr;":"╙","&boxV;":"║","&boxVH;":"╬","&boxVL;":"╣","&boxVR;":"╠","&boxVh;":"╫","&boxVl;":"╢","&boxVr;":"╟","&boxbox;":"⧉","&boxdL;":"╕","&boxdR;":"╒","&boxdl;":"┐","&boxdr;":"┌","&boxh;":"─","&boxhD;":"╥","&boxhU;":"╨","&boxhd;":"┬","&boxhu;":"┴","&boxminus;":"⊟","&boxplus;":"⊞","&boxtimes;":"⊠","&boxuL;":"╛","&boxuR;":"╘","&boxul;":"┘","&boxur;":"└","&boxv;":"│","&boxvH;":"╪","&boxvL;":"╡","&boxvR;":"╞","&boxvh;":"┼","&boxvl;":"┤","&boxvr;":"├","&bprime;":"‵","&breve;":"˘","&brvbar":"¦","&brvbar;":"¦","&bscr;":"𝒷","&bsemi;":"⁏","&bsim;":"∽","&bsime;":"⋍","&bsol;":"\\","&bsolb;":"⧅","&bsolhsub;":"⟈","&bull;":"•","&bullet;":"•","&bump;":"≎","&bumpE;":"⪮","&bumpe;":"≏","&bumpeq;":"≏","&cacute;":"ć","&cap;":"∩","&capand;":"⩄","&capbrcup;":"⩉","&capcap;":"⩋","&capcup;":"⩇","&capdot;":"⩀","&caps;":"∩︀","&caret;":"⁁","&caron;":"ˇ","&ccaps;":"⩍","&ccaron;":"č","&ccedil":"ç","&ccedil;":"ç","&ccirc;":"ĉ","&ccups;":"⩌","&ccupssm;":"⩐","&cdot;":"ċ","&cedil":"¸","&cedil;":"¸","&cemptyv;":"⦲","&cent":"¢","&cent;":"¢","&centerdot;":"·","&cfr;":"𝔠","&chcy;":"ч","&check;":"✓","&checkmark;":"✓","&chi;":"χ","&cir;":"○","&cirE;":"⧃","&circ;":"ˆ","&circeq;":"≗","&circlearrowleft;":"↺","&circlearrowright;":"↻","&circledR;":"®","&circledS;":"Ⓢ","&circledast;":"⊛","&circledcirc;":"⊚","&circleddash;":"⊝","&cire;":"≗","&cirfnint;":"⨐","&cirmid;":"⫯","&cirscir;":"⧂","&clubs;":"♣","&clubsuit;":"♣","&colon;":":","&colone;":"≔","&coloneq;":"≔","&comma;":",","&commat;":"@","&comp;":"∁","&compfn;":"∘","&complement;":"∁","&complexes;":"ℂ","&cong;":"≅","&congdot;":"⩭","&conint;":"∮","&copf;":"𝕔","&coprod;":"∐","&copy":"©","&copy;":"©","&copysr;":"℗","&crarr;":"↵","&cross;":"✗","&cscr;":"𝒸","&csub;":"⫏","&csube;":"⫑","&csup;":"⫐","&csupe;":"⫒","&ctdot;":"⋯","&cudarrl;":"⤸","&cudarrr;":"⤵","&cuepr;":"⋞","&cuesc;":"⋟","&cularr;":"↶","&cularrp;":"⤽","&cup;":"∪","&cupbrcap;":"⩈","&cupcap;":"⩆","&cupcup;":"⩊","&cupdot;":"⊍","&cupor;":"⩅","&cups;":"∪︀","&curarr;":"↷","&curarrm;":"⤼","&curlyeqprec;":"⋞","&curlyeqsucc;":"⋟","&curlyvee;":"⋎","&curlywedge;":"⋏","&curren":"¤","&curren;":"¤","&curvearrowleft;":"↶","&curvearrowright;":"↷","&cuvee;":"⋎","&cuwed;":"⋏","&cwconint;":"∲","&cwint;":"∱","&cylcty;":"⌭","&dArr;":"⇓","&dHar;":"⥥","&dagger;":"†","&daleth;":"ℸ","&darr;":"↓","&dash;":"‐","&dashv;":"⊣","&dbkarow;":"⤏","&dblac;":"˝","&dcaron;":"ď","&dcy;":"д","&dd;":"ⅆ","&ddagger;":"‡","&ddarr;":"⇊","&ddotseq;":"⩷","&deg":"°","&deg;":"°","&delta;":"δ","&demptyv;":"⦱","&dfisht;":"⥿","&dfr;":"𝔡","&dharl;":"⇃","&dharr;":"⇂","&diam;":"⋄","&diamond;":"⋄","&diamondsuit;":"♦","&diams;":"♦","&die;":"¨","&digamma;":"ϝ","&disin;":"⋲","&div;":"÷","&divide":"÷","&divide;":"÷","&divideontimes;":"⋇","&divonx;":"⋇","&djcy;":"ђ","&dlcorn;":"⌞","&dlcrop;":"⌍","&dollar;":"$","&dopf;":"𝕕","&dot;":"˙","&doteq;":"≐","&doteqdot;":"≑","&dotminus;":"∸","&dotplus;":"∔","&dotsquare;":"⊡","&doublebarwedge;":"⌆","&downarrow;":"↓","&downdownarrows;":"⇊","&downharpoonleft;":"⇃","&downharpoonright;":"⇂","&drbkarow;":"⤐","&drcorn;":"⌟","&drcrop;":"⌌","&dscr;":"𝒹","&dscy;":"ѕ","&dsol;":"⧶","&dstrok;":"đ","&dtdot;":"⋱","&dtri;":"▿","&dtrif;":"▾","&duarr;":"⇵","&duhar;":"⥯","&dwangle;":"⦦","&dzcy;":"џ","&dzigrarr;":"⟿","&eDDot;":"⩷","&eDot;":"≑","&eacute":"é","&eacute;":"é","&easter;":"⩮","&ecaron;":"ě","&ecir;":"≖","&ecirc":"ê","&ecirc;":"ê","&ecolon;":"≕","&ecy;":"э","&edot;":"ė","&ee;":"ⅇ","&efDot;":"≒","&efr;":"𝔢","&eg;":"⪚","&egrave":"è","&egrave;":"è","&egs;":"⪖","&egsdot;":"⪘","&el;":"⪙","&elinters;":"⏧","&ell;":"ℓ","&els;":"⪕","&elsdot;":"⪗","&emacr;":"ē","&empty;":"∅","&emptyset;":"∅","&emptyv;":"∅","&emsp13;":" ","&emsp14;":" ","&emsp;":" ","&eng;":"ŋ","&ensp;":" ","&eogon;":"ę","&eopf;":"𝕖","&epar;":"⋕","&eparsl;":"⧣","&eplus;":"⩱","&epsi;":"ε","&epsilon;":"ε","&epsiv;":"ϵ","&eqcirc;":"≖","&eqcolon;":"≕","&eqsim;":"≂","&eqslantgtr;":"⪖","&eqslantless;":"⪕","&equals;":"=","&equest;":"≟","&equiv;":"≡","&equivDD;":"⩸","&eqvparsl;":"⧥","&erDot;":"≓","&erarr;":"⥱","&escr;":"ℯ","&esdot;":"≐","&esim;":"≂","&eta;":"η","&eth":"ð","&eth;":"ð","&euml":"ë","&euml;":"ë","&euro;":"€","&excl;":"!","&exist;":"∃","&expectation;":"ℰ","&exponentiale;":"ⅇ","&fallingdotseq;":"≒","&fcy;":"ф","&female;":"♀","&ffilig;":"ffi","&fflig;":"ff","&ffllig;":"ffl","&ffr;":"𝔣","&filig;":"fi","&fjlig;":"fj","&flat;":"♭","&fllig;":"fl","&fltns;":"▱","&fnof;":"ƒ","&fopf;":"𝕗","&forall;":"∀","&fork;":"⋔","&forkv;":"⫙","&fpartint;":"⨍","&frac12":"½","&frac12;":"½","&frac13;":"⅓","&frac14":"¼","&frac14;":"¼","&frac15;":"⅕","&frac16;":"⅙","&frac18;":"⅛","&frac23;":"⅔","&frac25;":"⅖","&frac34":"¾","&frac34;":"¾","&frac35;":"⅗","&frac38;":"⅜","&frac45;":"⅘","&frac56;":"⅚","&frac58;":"⅝","&frac78;":"⅞","&frasl;":"⁄","&frown;":"⌢","&fscr;":"𝒻","&gE;":"≧","&gEl;":"⪌","&gacute;":"ǵ","&gamma;":"γ","&gammad;":"ϝ","&gap;":"⪆","&gbreve;":"ğ","&gcirc;":"ĝ","&gcy;":"г","&gdot;":"ġ","&ge;":"≥","&gel;":"⋛","&geq;":"≥","&geqq;":"≧","&geqslant;":"⩾","&ges;":"⩾","&gescc;":"⪩","&gesdot;":"⪀","&gesdoto;":"⪂","&gesdotol;":"⪄","&gesl;":"⋛︀","&gesles;":"⪔","&gfr;":"𝔤","&gg;":"≫","&ggg;":"⋙","&gimel;":"ℷ","&gjcy;":"ѓ","&gl;":"≷","&glE;":"⪒","&gla;":"⪥","&glj;":"⪤","&gnE;":"≩","&gnap;":"⪊","&gnapprox;":"⪊","&gne;":"⪈","&gneq;":"⪈","&gneqq;":"≩","&gnsim;":"⋧","&gopf;":"𝕘","&grave;":"`","&gscr;":"ℊ","&gsim;":"≳","&gsime;":"⪎","&gsiml;":"⪐","&gt":">","&gt;":">","&gtcc;":"⪧","&gtcir;":"⩺","&gtdot;":"⋗","&gtlPar;":"⦕","&gtquest;":"⩼","&gtrapprox;":"⪆","&gtrarr;":"⥸","&gtrdot;":"⋗","&gtreqless;":"⋛","&gtreqqless;":"⪌","&gtrless;":"≷","&gtrsim;":"≳","&gvertneqq;":"≩︀","&gvnE;":"≩︀","&hArr;":"⇔","&hairsp;":" ","&half;":"½","&hamilt;":"ℋ","&hardcy;":"ъ","&harr;":"↔","&harrcir;":"⥈","&harrw;":"↭","&hbar;":"ℏ","&hcirc;":"ĥ","&hearts;":"♥","&heartsuit;":"♥","&hellip;":"…","&hercon;":"⊹","&hfr;":"𝔥","&hksearow;":"⤥","&hkswarow;":"⤦","&hoarr;":"⇿","&homtht;":"∻","&hookleftarrow;":"↩","&hookrightarrow;":"↪","&hopf;":"𝕙","&horbar;":"―","&hscr;":"𝒽","&hslash;":"ℏ","&hstrok;":"ħ","&hybull;":"⁃","&hyphen;":"‐","&iacute":"í","&iacute;":"í","&ic;":"⁣","&icirc":"î","&icirc;":"î","&icy;":"и","&iecy;":"е","&iexcl":"¡","&iexcl;":"¡","&iff;":"⇔","&ifr;":"𝔦","&igrave":"ì","&igrave;":"ì","&ii;":"ⅈ","&iiiint;":"⨌","&iiint;":"∭","&iinfin;":"⧜","&iiota;":"℩","&ijlig;":"ij","&imacr;":"ī","&image;":"ℑ","&imagline;":"ℐ","&imagpart;":"ℑ","&imath;":"ı","&imof;":"⊷","&imped;":"Ƶ","&in;":"∈","&incare;":"℅","&infin;":"∞","&infintie;":"⧝","&inodot;":"ı","&int;":"∫","&intcal;":"⊺","&integers;":"ℤ","&intercal;":"⊺","&intlarhk;":"⨗","&intprod;":"⨼","&iocy;":"ё","&iogon;":"į","&iopf;":"𝕚","&iota;":"ι","&iprod;":"⨼","&iquest":"¿","&iquest;":"¿","&iscr;":"𝒾","&isin;":"∈","&isinE;":"⋹","&isindot;":"⋵","&isins;":"⋴","&isinsv;":"⋳","&isinv;":"∈","&it;":"⁢","&itilde;":"ĩ","&iukcy;":"і","&iuml":"ï","&iuml;":"ï","&jcirc;":"ĵ","&jcy;":"й","&jfr;":"𝔧","&jmath;":"ȷ","&jopf;":"𝕛","&jscr;":"𝒿","&jsercy;":"ј","&jukcy;":"є","&kappa;":"κ","&kappav;":"ϰ","&kcedil;":"ķ","&kcy;":"к","&kfr;":"𝔨","&kgreen;":"ĸ","&khcy;":"х","&kjcy;":"ќ","&kopf;":"𝕜","&kscr;":"𝓀","&lAarr;":"⇚","&lArr;":"⇐","&lAtail;":"⤛","&lBarr;":"⤎","&lE;":"≦","&lEg;":"⪋","&lHar;":"⥢","&lacute;":"ĺ","&laemptyv;":"⦴","&lagran;":"ℒ","&lambda;":"λ","&lang;":"⟨","&langd;":"⦑","&langle;":"⟨","&lap;":"⪅","&laquo":"«","&laquo;":"«","&larr;":"←","&larrb;":"⇤","&larrbfs;":"⤟","&larrfs;":"⤝","&larrhk;":"↩","&larrlp;":"↫","&larrpl;":"⤹","&larrsim;":"⥳","&larrtl;":"↢","&lat;":"⪫","&latail;":"⤙","&late;":"⪭","&lates;":"⪭︀","&lbarr;":"⤌","&lbbrk;":"❲","&lbrace;":"{","&lbrack;":"[","&lbrke;":"⦋","&lbrksld;":"⦏","&lbrkslu;":"⦍","&lcaron;":"ľ","&lcedil;":"ļ","&lceil;":"⌈","&lcub;":"{","&lcy;":"л","&ldca;":"⤶","&ldquo;":"“","&ldquor;":"„","&ldrdhar;":"⥧","&ldrushar;":"⥋","&ldsh;":"↲","&le;":"≤","&leftarrow;":"←","&leftarrowtail;":"↢","&leftharpoondown;":"↽","&leftharpoonup;":"↼","&leftleftarrows;":"⇇","&leftrightarrow;":"↔","&leftrightarrows;":"⇆","&leftrightharpoons;":"⇋","&leftrightsquigarrow;":"↭","&leftthreetimes;":"⋋","&leg;":"⋚","&leq;":"≤","&leqq;":"≦","&leqslant;":"⩽","&les;":"⩽","&lescc;":"⪨","&lesdot;":"⩿","&lesdoto;":"⪁","&lesdotor;":"⪃","&lesg;":"⋚︀","&lesges;":"⪓","&lessapprox;":"⪅","&lessdot;":"⋖","&lesseqgtr;":"⋚","&lesseqqgtr;":"⪋","&lessgtr;":"≶","&lesssim;":"≲","&lfisht;":"⥼","&lfloor;":"⌊","&lfr;":"𝔩","&lg;":"≶","&lgE;":"⪑","&lhard;":"↽","&lharu;":"↼","&lharul;":"⥪","&lhblk;":"▄","&ljcy;":"љ","&ll;":"≪","&llarr;":"⇇","&llcorner;":"⌞","&llhard;":"⥫","&lltri;":"◺","&lmidot;":"ŀ","&lmoust;":"⎰","&lmoustache;":"⎰","&lnE;":"≨","&lnap;":"⪉","&lnapprox;":"⪉","&lne;":"⪇","&lneq;":"⪇","&lneqq;":"≨","&lnsim;":"⋦","&loang;":"⟬","&loarr;":"⇽","&lobrk;":"⟦","&longleftarrow;":"⟵","&longleftrightarrow;":"⟷","&longmapsto;":"⟼","&longrightarrow;":"⟶","&looparrowleft;":"↫","&looparrowright;":"↬","&lopar;":"⦅","&lopf;":"𝕝","&loplus;":"⨭","&lotimes;":"⨴","&lowast;":"∗","&lowbar;":"_","&loz;":"◊","&lozenge;":"◊","&lozf;":"⧫","&lpar;":"(","&lparlt;":"⦓","&lrarr;":"⇆","&lrcorner;":"⌟","&lrhar;":"⇋","&lrhard;":"⥭","&lrm;":"‎","&lrtri;":"⊿","&lsaquo;":"‹","&lscr;":"𝓁","&lsh;":"↰","&lsim;":"≲","&lsime;":"⪍","&lsimg;":"⪏","&lsqb;":"[","&lsquo;":"‘","&lsquor;":"‚","&lstrok;":"ł","&lt":"<","&lt;":"<","&ltcc;":"⪦","&ltcir;":"⩹","&ltdot;":"⋖","&lthree;":"⋋","&ltimes;":"⋉","&ltlarr;":"⥶","&ltquest;":"⩻","&ltrPar;":"⦖","&ltri;":"◃","&ltrie;":"⊴","&ltrif;":"◂","&lurdshar;":"⥊","&luruhar;":"⥦","&lvertneqq;":"≨︀","&lvnE;":"≨︀","&mDDot;":"∺","&macr":"¯","&macr;":"¯","&male;":"♂","&malt;":"✠","&maltese;":"✠","&map;":"↦","&mapsto;":"↦","&mapstodown;":"↧","&mapstoleft;":"↤","&mapstoup;":"↥","&marker;":"▮","&mcomma;":"⨩","&mcy;":"м","&mdash;":"—","&measuredangle;":"∡","&mfr;":"𝔪","&mho;":"℧","&micro":"µ","&micro;":"µ","&mid;":"∣","&midast;":"*","&midcir;":"⫰","&middot":"·","&middot;":"·","&minus;":"−","&minusb;":"⊟","&minusd;":"∸","&minusdu;":"⨪","&mlcp;":"⫛","&mldr;":"…","&mnplus;":"∓","&models;":"⊧","&mopf;":"𝕞","&mp;":"∓","&mscr;":"𝓂","&mstpos;":"∾","&mu;":"μ","&multimap;":"⊸","&mumap;":"⊸","&nGg;":"⋙̸","&nGt;":"≫⃒","&nGtv;":"≫̸","&nLeftarrow;":"⇍","&nLeftrightarrow;":"⇎","&nLl;":"⋘̸","&nLt;":"≪⃒","&nLtv;":"≪̸","&nRightarrow;":"⇏","&nVDash;":"⊯","&nVdash;":"⊮","&nabla;":"∇","&nacute;":"ń","&nang;":"∠⃒","&nap;":"≉","&napE;":"⩰̸","&napid;":"≋̸","&napos;":"ʼn","&napprox;":"≉","&natur;":"♮","&natural;":"♮","&naturals;":"ℕ","&nbsp":" ","&nbsp;":" ","&nbump;":"≎̸","&nbumpe;":"≏̸","&ncap;":"⩃","&ncaron;":"ň","&ncedil;":"ņ","&ncong;":"≇","&ncongdot;":"⩭̸","&ncup;":"⩂","&ncy;":"н","&ndash;":"–","&ne;":"≠","&neArr;":"⇗","&nearhk;":"⤤","&nearr;":"↗","&nearrow;":"↗","&nedot;":"≐̸","&nequiv;":"≢","&nesear;":"⤨","&nesim;":"≂̸","&nexist;":"∄","&nexists;":"∄","&nfr;":"𝔫","&ngE;":"≧̸","&nge;":"≱","&ngeq;":"≱","&ngeqq;":"≧̸","&ngeqslant;":"⩾̸","&nges;":"⩾̸","&ngsim;":"≵","&ngt;":"≯","&ngtr;":"≯","&nhArr;":"⇎","&nharr;":"↮","&nhpar;":"⫲","&ni;":"∋","&nis;":"⋼","&nisd;":"⋺","&niv;":"∋","&njcy;":"њ","&nlArr;":"⇍","&nlE;":"≦̸","&nlarr;":"↚","&nldr;":"‥","&nle;":"≰","&nleftarrow;":"↚","&nleftrightarrow;":"↮","&nleq;":"≰","&nleqq;":"≦̸","&nleqslant;":"⩽̸","&nles;":"⩽̸","&nless;":"≮","&nlsim;":"≴","&nlt;":"≮","&nltri;":"⋪","&nltrie;":"⋬","&nmid;":"∤","&nopf;":"𝕟","&not":"¬","&not;":"¬","&notin;":"∉","&notinE;":"⋹̸","&notindot;":"⋵̸","&notinva;":"∉","&notinvb;":"⋷","&notinvc;":"⋶","&notni;":"∌","&notniva;":"∌","&notnivb;":"⋾","&notnivc;":"⋽","&npar;":"∦","&nparallel;":"∦","&nparsl;":"⫽⃥","&npart;":"∂̸","&npolint;":"⨔","&npr;":"⊀","&nprcue;":"⋠","&npre;":"⪯̸","&nprec;":"⊀","&npreceq;":"⪯̸","&nrArr;":"⇏","&nrarr;":"↛","&nrarrc;":"⤳̸","&nrarrw;":"↝̸","&nrightarrow;":"↛","&nrtri;":"⋫","&nrtrie;":"⋭","&nsc;":"⊁","&nsccue;":"⋡","&nsce;":"⪰̸","&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;":"ν","&num;":"#","&numero;":"№","&numsp;":" ","&nvDash;":"⊭","&nvHarr;":"⤄","&nvap;":"≍⃒","&nvdash;":"⊬","&nvge;":"≥⃒","&nvgt;":">⃒","&nvinfin;":"⧞","&nvlArr;":"⤂","&nvle;":"≤⃒","&nvlt;":"<⃒","&nvltrie;":"⊴⃒","&nvrArr;":"⤃","&nvrtrie;":"⊵⃒","&nvsim;":"∼⃒","&nwArr;":"⇖","&nwarhk;":"⤣","&nwarr;":"↖","&nwarrow;":"↖","&nwnear;":"⤧","&oS;":"Ⓢ","&oacute":"ó","&oacute;":"ó","&oast;":"⊛","&ocir;":"⊚","&ocirc":"ô","&ocirc;":"ô","&ocy;":"о","&odash;":"⊝","&odblac;":"ő","&odiv;":"⨸","&odot;":"⊙","&odsold;":"⦼","&oelig;":"œ","&ofcir;":"⦿","&ofr;":"𝔬","&ogon;":"˛","&ograve":"ò","&ograve;":"ò","&ogt;":"⧁","&ohbar;":"⦵","&ohm;":"Ω","&oint;":"∮","&olarr;":"↺","&olcir;":"⦾","&olcross;":"⦻","&oline;":"‾","&olt;":"⧀","&omacr;":"ō","&omega;":"ω","&omicron;":"ο","&omid;":"⦶","&ominus;":"⊖","&oopf;":"𝕠","&opar;":"⦷","&operp;":"⦹","&oplus;":"⊕","&or;":"∨","&orarr;":"↻","&ord;":"⩝","&order;":"ℴ","&orderof;":"ℴ","&ordf":"ª","&ordf;":"ª","&ordm":"º","&ordm;":"º","&origof;":"⊶","&oror;":"⩖","&orslope;":"⩗","&orv;":"⩛","&oscr;":"ℴ","&oslash":"ø","&oslash;":"ø","&osol;":"⊘","&otilde":"õ","&otilde;":"õ","&otimes;":"⊗","&otimesas;":"⨶","&ouml":"ö","&ouml;":"ö","&ovbar;":"⌽","&par;":"∥","&para":"¶","&para;":"¶","&parallel;":"∥","&parsim;":"⫳","&parsl;":"⫽","&part;":"∂","&pcy;":"п","&percnt;":"%","&period;":".","&permil;":"‰","&perp;":"⊥","&pertenk;":"‱","&pfr;":"𝔭","&phi;":"φ","&phiv;":"ϕ","&phmmat;":"ℳ","&phone;":"☎","&pi;":"π","&pitchfork;":"⋔","&piv;":"ϖ","&planck;":"ℏ","&planckh;":"ℎ","&plankv;":"ℏ","&plus;":"+","&plusacir;":"⨣","&plusb;":"⊞","&pluscir;":"⨢","&plusdo;":"∔","&plusdu;":"⨥","&pluse;":"⩲","&plusmn":"±","&plusmn;":"±","&plussim;":"⨦","&plustwo;":"⨧","&pm;":"±","&pointint;":"⨕","&popf;":"𝕡","&pound":"£","&pound;":"£","&pr;":"≺","&prE;":"⪳","&prap;":"⪷","&prcue;":"≼","&pre;":"⪯","&prec;":"≺","&precapprox;":"⪷","&preccurlyeq;":"≼","&preceq;":"⪯","&precnapprox;":"⪹","&precneqq;":"⪵","&precnsim;":"⋨","&precsim;":"≾","&prime;":"′","&primes;":"ℙ","&prnE;":"⪵","&prnap;":"⪹","&prnsim;":"⋨","&prod;":"∏","&profalar;":"⌮","&profline;":"⌒","&profsurf;":"⌓","&prop;":"∝","&propto;":"∝","&prsim;":"≾","&prurel;":"⊰","&pscr;":"𝓅","&psi;":"ψ","&puncsp;":" ","&qfr;":"𝔮","&qint;":"⨌","&qopf;":"𝕢","&qprime;":"⁗","&qscr;":"𝓆","&quaternions;":"ℍ","&quatint;":"⨖","&quest;":"?","&questeq;":"≟","&quot":'"',"&quot;":'"',"&rAarr;":"⇛","&rArr;":"⇒","&rAtail;":"⤜","&rBarr;":"⤏","&rHar;":"⥤","&race;":"∽̱","&racute;":"ŕ","&radic;":"√","&raemptyv;":"⦳","&rang;":"⟩","&rangd;":"⦒","&range;":"⦥","&rangle;":"⟩","&raquo":"»","&raquo;":"»","&rarr;":"→","&rarrap;":"⥵","&rarrb;":"⇥","&rarrbfs;":"⤠","&rarrc;":"⤳","&rarrfs;":"⤞","&rarrhk;":"↪","&rarrlp;":"↬","&rarrpl;":"⥅","&rarrsim;":"⥴","&rarrtl;":"↣","&rarrw;":"↝","&ratail;":"⤚","&ratio;":"∶","&rationals;":"ℚ","&rbarr;":"⤍","&rbbrk;":"❳","&rbrace;":"}","&rbrack;":"]","&rbrke;":"⦌","&rbrksld;":"⦎","&rbrkslu;":"⦐","&rcaron;":"ř","&rcedil;":"ŗ","&rceil;":"⌉","&rcub;":"}","&rcy;":"р","&rdca;":"⤷","&rdldhar;":"⥩","&rdquo;":"”","&rdquor;":"”","&rdsh;":"↳","&real;":"ℜ","&realine;":"ℛ","&realpart;":"ℜ","&reals;":"ℝ","&rect;":"▭","&reg":"®","&reg;":"®","&rfisht;":"⥽","&rfloor;":"⌋","&rfr;":"𝔯","&rhard;":"⇁","&rharu;":"⇀","&rharul;":"⥬","&rho;":"ρ","&rhov;":"ϱ","&rightarrow;":"→","&rightarrowtail;":"↣","&rightharpoondown;":"⇁","&rightharpoonup;":"⇀","&rightleftarrows;":"⇄","&rightleftharpoons;":"⇌","&rightrightarrows;":"⇉","&rightsquigarrow;":"↝","&rightthreetimes;":"⋌","&ring;":"˚","&risingdotseq;":"≓","&rlarr;":"⇄","&rlhar;":"⇌","&rlm;":"‏","&rmoust;":"⎱","&rmoustache;":"⎱","&rnmid;":"⫮","&roang;":"⟭","&roarr;":"⇾","&robrk;":"⟧","&ropar;":"⦆","&ropf;":"𝕣","&roplus;":"⨮","&rotimes;":"⨵","&rpar;":")","&rpargt;":"⦔","&rppolint;":"⨒","&rrarr;":"⇉","&rsaquo;":"›","&rscr;":"𝓇","&rsh;":"↱","&rsqb;":"]","&rsquo;":"’","&rsquor;":"’","&rthree;":"⋌","&rtimes;":"⋊","&rtri;":"▹","&rtrie;":"⊵","&rtrif;":"▸","&rtriltri;":"⧎","&ruluhar;":"⥨","&rx;":"℞","&sacute;":"ś","&sbquo;":"‚","&sc;":"≻","&scE;":"⪴","&scap;":"⪸","&scaron;":"š","&sccue;":"≽","&sce;":"⪰","&scedil;":"ş","&scirc;":"ŝ","&scnE;":"⪶","&scnap;":"⪺","&scnsim;":"⋩","&scpolint;":"⨓","&scsim;":"≿","&scy;":"с","&sdot;":"⋅","&sdotb;":"⊡","&sdote;":"⩦","&seArr;":"⇘","&searhk;":"⤥","&searr;":"↘","&searrow;":"↘","&sect":"§","&sect;":"§","&semi;":";","&seswar;":"⤩","&setminus;":"∖","&setmn;":"∖","&sext;":"✶","&sfr;":"𝔰","&sfrown;":"⌢","&sharp;":"♯","&shchcy;":"щ","&shcy;":"ш","&shortmid;":"∣","&shortparallel;":"∥","&shy":"­","&shy;":"­","&sigma;":"σ","&sigmaf;":"ς","&sigmav;":"ς","&sim;":"∼","&simdot;":"⩪","&sime;":"≃","&simeq;":"≃","&simg;":"⪞","&simgE;":"⪠","&siml;":"⪝","&simlE;":"⪟","&simne;":"≆","&simplus;":"⨤","&simrarr;":"⥲","&slarr;":"←","&smallsetminus;":"∖","&smashp;":"⨳","&smeparsl;":"⧤","&smid;":"∣","&smile;":"⌣","&smt;":"⪪","&smte;":"⪬","&smtes;":"⪬︀","&softcy;":"ь","&sol;":"/","&solb;":"⧄","&solbar;":"⌿","&sopf;":"𝕤","&spades;":"♠","&spadesuit;":"♠","&spar;":"∥","&sqcap;":"⊓","&sqcaps;":"⊓︀","&sqcup;":"⊔","&sqcups;":"⊔︀","&sqsub;":"⊏","&sqsube;":"⊑","&sqsubset;":"⊏","&sqsubseteq;":"⊑","&sqsup;":"⊐","&sqsupe;":"⊒","&sqsupset;":"⊐","&sqsupseteq;":"⊒","&squ;":"□","&square;":"□","&squarf;":"▪","&squf;":"▪","&srarr;":"→","&sscr;":"𝓈","&ssetmn;":"∖","&ssmile;":"⌣","&sstarf;":"⋆","&star;":"☆","&starf;":"★","&straightepsilon;":"ϵ","&straightphi;":"ϕ","&strns;":"¯","&sub;":"⊂","&subE;":"⫅","&subdot;":"⪽","&sube;":"⊆","&subedot;":"⫃","&submult;":"⫁","&subnE;":"⫋","&subne;":"⊊","&subplus;":"⪿","&subrarr;":"⥹","&subset;":"⊂","&subseteq;":"⊆","&subseteqq;":"⫅","&subsetneq;":"⊊","&subsetneqq;":"⫋","&subsim;":"⫇","&subsub;":"⫕","&subsup;":"⫓","&succ;":"≻","&succapprox;":"⪸","&succcurlyeq;":"≽","&succeq;":"⪰","&succnapprox;":"⪺","&succneqq;":"⪶","&succnsim;":"⋩","&succsim;":"≿","&sum;":"∑","&sung;":"♪","&sup1":"¹","&sup1;":"¹","&sup2":"²","&sup2;":"²","&sup3":"³","&sup3;":"³","&sup;":"⊃","&supE;":"⫆","&supdot;":"⪾","&supdsub;":"⫘","&supe;":"⊇","&supedot;":"⫄","&suphsol;":"⟉","&suphsub;":"⫗","&suplarr;":"⥻","&supmult;":"⫂","&supnE;":"⫌","&supne;":"⊋","&supplus;":"⫀","&supset;":"⊃","&supseteq;":"⊇","&supseteqq;":"⫆","&supsetneq;":"⊋","&supsetneqq;":"⫌","&supsim;":"⫈","&supsub;":"⫔","&supsup;":"⫖","&swArr;":"⇙","&swarhk;":"⤦","&swarr;":"↙","&swarrow;":"↙","&swnwar;":"⤪","&szlig":"ß","&szlig;":"ß","&target;":"⌖","&tau;":"τ","&tbrk;":"⎴","&tcaron;":"ť","&tcedil;":"ţ","&tcy;":"т","&tdot;":"⃛","&telrec;":"⌕","&tfr;":"𝔱","&there4;":"∴","&therefore;":"∴","&theta;":"θ","&thetasym;":"ϑ","&thetav;":"ϑ","&thickapprox;":"≈","&thicksim;":"∼","&thinsp;":" ","&thkap;":"≈","&thksim;":"∼","&thorn":"þ","&thorn;":"þ","&tilde;":"˜","&times":"×","&times;":"×","&timesb;":"⊠","&timesbar;":"⨱","&timesd;":"⨰","&tint;":"∭","&toea;":"⤨","&top;":"⊤","&topbot;":"⌶","&topcir;":"⫱","&topf;":"𝕥","&topfork;":"⫚","&tosa;":"⤩","&tprime;":"‴","&trade;":"™","&triangle;":"▵","&triangledown;":"▿","&triangleleft;":"◃","&trianglelefteq;":"⊴","&triangleq;":"≜","&triangleright;":"▹","&trianglerighteq;":"⊵","&tridot;":"◬","&trie;":"≜","&triminus;":"⨺","&triplus;":"⨹","&trisb;":"⧍","&tritime;":"⨻","&trpezium;":"⏢","&tscr;":"𝓉","&tscy;":"ц","&tshcy;":"ћ","&tstrok;":"ŧ","&twixt;":"≬","&twoheadleftarrow;":"↞","&twoheadrightarrow;":"↠","&uArr;":"⇑","&uHar;":"⥣","&uacute":"ú","&uacute;":"ú","&uarr;":"↑","&ubrcy;":"ў","&ubreve;":"ŭ","&ucirc":"û","&ucirc;":"û","&ucy;":"у","&udarr;":"⇅","&udblac;":"ű","&udhar;":"⥮","&ufisht;":"⥾","&ufr;":"𝔲","&ugrave":"ù","&ugrave;":"ù","&uharl;":"↿","&uharr;":"↾","&uhblk;":"▀","&ulcorn;":"⌜","&ulcorner;":"⌜","&ulcrop;":"⌏","&ultri;":"◸","&umacr;":"ū","&uml":"¨","&uml;":"¨","&uogon;":"ų","&uopf;":"𝕦","&uparrow;":"↑","&updownarrow;":"↕","&upharpoonleft;":"↿","&upharpoonright;":"↾","&uplus;":"⊎","&upsi;":"υ","&upsih;":"ϒ","&upsilon;":"υ","&upuparrows;":"⇈","&urcorn;":"⌝","&urcorner;":"⌝","&urcrop;":"⌎","&uring;":"ů","&urtri;":"◹","&uscr;":"𝓊","&utdot;":"⋰","&utilde;":"ũ","&utri;":"▵","&utrif;":"▴","&uuarr;":"⇈","&uuml":"ü","&uuml;":"ü","&uwangle;":"⦧","&vArr;":"⇕","&vBar;":"⫨","&vBarv;":"⫩","&vDash;":"⊨","&vangrt;":"⦜","&varepsilon;":"ϵ","&varkappa;":"ϰ","&varnothing;":"∅","&varphi;":"ϕ","&varpi;":"ϖ","&varpropto;":"∝","&varr;":"↕","&varrho;":"ϱ","&varsigma;":"ς","&varsubsetneq;":"⊊︀","&varsubsetneqq;":"⫋︀","&varsupsetneq;":"⊋︀","&varsupsetneqq;":"⫌︀","&vartheta;":"ϑ","&vartriangleleft;":"⊲","&vartriangleright;":"⊳","&vcy;":"в","&vdash;":"⊢","&vee;":"∨","&veebar;":"⊻","&veeeq;":"≚","&vellip;":"⋮","&verbar;":"|","&vert;":"|","&vfr;":"𝔳","&vltri;":"⊲","&vnsub;":"⊂⃒","&vnsup;":"⊃⃒","&vopf;":"𝕧","&vprop;":"∝","&vrtri;":"⊳","&vscr;":"𝓋","&vsubnE;":"⫋︀","&vsubne;":"⊊︀","&vsupnE;":"⫌︀","&vsupne;":"⊋︀","&vzigzag;":"⦚","&wcirc;":"ŵ","&wedbar;":"⩟","&wedge;":"∧","&wedgeq;":"≙","&weierp;":"℘","&wfr;":"𝔴","&wopf;":"𝕨","&wp;":"℘","&wr;":"≀","&wreath;":"≀","&wscr;":"𝓌","&xcap;":"⋂","&xcirc;":"◯","&xcup;":"⋃","&xdtri;":"▽","&xfr;":"𝔵","&xhArr;":"⟺","&xharr;":"⟷","&xi;":"ξ","&xlArr;":"⟸","&xlarr;":"⟵","&xmap;":"⟼","&xnis;":"⋻","&xodot;":"⨀","&xopf;":"𝕩","&xoplus;":"⨁","&xotime;":"⨂","&xrArr;":"⟹","&xrarr;":"⟶","&xscr;":"𝓍","&xsqcup;":"⨆","&xuplus;":"⨄","&xutri;":"△","&xvee;":"⋁","&xwedge;":"⋀","&yacute":"ý","&yacute;":"ý","&yacy;":"я","&ycirc;":"ŷ","&ycy;":"ы","&yen":"¥","&yen;":"¥","&yfr;":"𝔶","&yicy;":"ї","&yopf;":"𝕪","&yscr;":"𝓎","&yucy;":"ю","&yuml":"ÿ","&yuml;":"ÿ","&zacute;":"ź","&zcaron;":"ž","&zcy;":"з","&zdot;":"ż","&zeetrf;":"ℨ","&zeta;":"ζ","&zfr;":"𝔷","&zhcy;":"ж","&zigrarr;":"⇝","&zopf;":"𝕫","&zscr;":"𝓏","&zwj;":"‍","&zwnj;":"‌"},characters:{"Æ":"&AElig;","&":"&amp;","Á":"&Aacute;","Ă":"&Abreve;","Â":"&Acirc;","А":"&Acy;","𝔄":"&Afr;","À":"&Agrave;","Α":"&Alpha;","Ā":"&Amacr;","⩓":"&And;","Ą":"&Aogon;","𝔸":"&Aopf;","⁡":"&af;","Å":"&angst;","𝒜":"&Ascr;","≔":"&coloneq;","Ã":"&Atilde;","Ä":"&Auml;","∖":"&ssetmn;","⫧":"&Barv;","⌆":"&doublebarwedge;","Б":"&Bcy;","∵":"&because;","ℬ":"&bernou;","Β":"&Beta;","𝔅":"&Bfr;","𝔹":"&Bopf;","˘":"&breve;","≎":"&bump;","Ч":"&CHcy;","©":"&copy;","Ć":"&Cacute;","⋒":"&Cap;","ⅅ":"&DD;","ℭ":"&Cfr;","Č":"&Ccaron;","Ç":"&Ccedil;","Ĉ":"&Ccirc;","∰":"&Cconint;","Ċ":"&Cdot;","¸":"&cedil;","·":"&middot;","Χ":"&Chi;","⊙":"&odot;","⊖":"&ominus;","⊕":"&oplus;","⊗":"&otimes;","∲":"&cwconint;","”":"&rdquor;","’":"&rsquor;","∷":"&Proportion;","⩴":"&Colone;","≡":"&equiv;","∯":"&DoubleContourIntegral;","∮":"&oint;","ℂ":"&complexes;","∐":"&coprod;","∳":"&awconint;","⨯":"&Cross;","𝒞":"&Cscr;","⋓":"&Cup;","≍":"&asympeq;","⤑":"&DDotrahd;","Ђ":"&DJcy;","Ѕ":"&DScy;","Џ":"&DZcy;","‡":"&ddagger;","↡":"&Darr;","⫤":"&DoubleLeftTee;","Ď":"&Dcaron;","Д":"&Dcy;","∇":"&nabla;","Δ":"&Delta;","𝔇":"&Dfr;","´":"&acute;","˙":"&dot;","˝":"&dblac;","`":"&grave;","˜":"&tilde;","⋄":"&diamond;","ⅆ":"&dd;","𝔻":"&Dopf;","¨":"&uml;","⃜":"&DotDot;","≐":"&esdot;","⇓":"&dArr;","⇐":"&lArr;","⇔":"&iff;","⟸":"&xlArr;","⟺":"&xhArr;","⟹":"&xrArr;","⇒":"&rArr;","⊨":"&vDash;","⇑":"&uArr;","⇕":"&vArr;","∥":"&spar;","↓":"&downarrow;","⤓":"&DownArrowBar;","⇵":"&duarr;","̑":"&DownBreve;","⥐":"&DownLeftRightVector;","⥞":"&DownLeftTeeVector;","↽":"&lhard;","⥖":"&DownLeftVectorBar;","⥟":"&DownRightTeeVector;","⇁":"&rightharpoondown;","⥗":"&DownRightVectorBar;","⊤":"&top;","↧":"&mapstodown;","𝒟":"&Dscr;","Đ":"&Dstrok;","Ŋ":"&ENG;","Ð":"&ETH;","É":"&Eacute;","Ě":"&Ecaron;","Ê":"&Ecirc;","Э":"&Ecy;","Ė":"&Edot;","𝔈":"&Efr;","È":"&Egrave;","∈":"&isinv;","Ē":"&Emacr;","◻":"&EmptySmallSquare;","▫":"&EmptyVerySmallSquare;","Ę":"&Eogon;","𝔼":"&Eopf;","Ε":"&Epsilon;","⩵":"&Equal;","≂":"&esim;","⇌":"&rlhar;","ℰ":"&expectation;","⩳":"&Esim;","Η":"&Eta;","Ë":"&Euml;","∃":"&exist;","ⅇ":"&exponentiale;","Ф":"&Fcy;","𝔉":"&Ffr;","◼":"&FilledSmallSquare;","▪":"&squf;","𝔽":"&Fopf;","∀":"&forall;","ℱ":"&Fscr;","Ѓ":"&GJcy;",">":"&gt;","Γ":"&Gamma;","Ϝ":"&Gammad;","Ğ":"&Gbreve;","Ģ":"&Gcedil;","Ĝ":"&Gcirc;","Г":"&Gcy;","Ġ":"&Gdot;","𝔊":"&Gfr;","⋙":"&ggg;","𝔾":"&Gopf;","≥":"&geq;","⋛":"&gtreqless;","≧":"&geqq;","⪢":"&GreaterGreater;","≷":"&gtrless;","⩾":"&ges;","≳":"&gtrsim;","𝒢":"&Gscr;","≫":"&gg;","Ъ":"&HARDcy;","ˇ":"&caron;","^":"&Hat;","Ĥ":"&Hcirc;","ℌ":"&Poincareplane;","ℋ":"&hamilt;","ℍ":"&quaternions;","─":"&boxh;","Ħ":"&Hstrok;","≏":"&bumpeq;","Е":"&IEcy;","IJ":"&IJlig;","Ё":"&IOcy;","Í":"&Iacute;","Î":"&Icirc;","И":"&Icy;","İ":"&Idot;","ℑ":"&imagpart;","Ì":"&Igrave;","Ī":"&Imacr;","ⅈ":"&ii;","∬":"&Int;","∫":"&int;","⋂":"&xcap;","⁣":"&ic;","⁢":"&it;","Į":"&Iogon;","𝕀":"&Iopf;","Ι":"&Iota;","ℐ":"&imagline;","Ĩ":"&Itilde;","І":"&Iukcy;","Ï":"&Iuml;","Ĵ":"&Jcirc;","Й":"&Jcy;","𝔍":"&Jfr;","𝕁":"&Jopf;","𝒥":"&Jscr;","Ј":"&Jsercy;","Є":"&Jukcy;","Х":"&KHcy;","Ќ":"&KJcy;","Κ":"&Kappa;","Ķ":"&Kcedil;","К":"&Kcy;","𝔎":"&Kfr;","𝕂":"&Kopf;","𝒦":"&Kscr;","Љ":"&LJcy;","<":"&lt;","Ĺ":"&Lacute;","Λ":"&Lambda;","⟪":"&Lang;","ℒ":"&lagran;","↞":"&twoheadleftarrow;","Ľ":"&Lcaron;","Ļ":"&Lcedil;","Л":"&Lcy;","⟨":"&langle;","←":"&slarr;","⇤":"&larrb;","⇆":"&lrarr;","⌈":"&lceil;","⟦":"&lobrk;","⥡":"&LeftDownTeeVector;","⇃":"&downharpoonleft;","⥙":"&LeftDownVectorBar;","⌊":"&lfloor;","↔":"&leftrightarrow;","⥎":"&LeftRightVector;","⊣":"&dashv;","↤":"&mapstoleft;","⥚":"&LeftTeeVector;","⊲":"&vltri;","⧏":"&LeftTriangleBar;","⊴":"&trianglelefteq;","⥑":"&LeftUpDownVector;","⥠":"&LeftUpTeeVector;","↿":"&upharpoonleft;","⥘":"&LeftUpVectorBar;","↼":"&lharu;","⥒":"&LeftVectorBar;","⋚":"&lesseqgtr;","≦":"&leqq;","≶":"&lg;","⪡":"&LessLess;","⩽":"&les;","≲":"&lsim;","𝔏":"&Lfr;","⋘":"&Ll;","⇚":"&lAarr;","Ŀ":"&Lmidot;","⟵":"&xlarr;","⟷":"&xharr;","⟶":"&xrarr;","𝕃":"&Lopf;","↙":"&swarrow;","↘":"&searrow;","↰":"&lsh;","Ł":"&Lstrok;","≪":"&ll;","⤅":"&Map;","М":"&Mcy;"," ":"&MediumSpace;","ℳ":"&phmmat;","𝔐":"&Mfr;","∓":"&mp;","𝕄":"&Mopf;","Μ":"&Mu;","Њ":"&NJcy;","Ń":"&Nacute;","Ň":"&Ncaron;","Ņ":"&Ncedil;","Н":"&Ncy;","​":"&ZeroWidthSpace;","\n":"&NewLine;","𝔑":"&Nfr;","⁠":"&NoBreak;"," ":"&nbsp;","ℕ":"&naturals;","⫬":"&Not;","≢":"&nequiv;","≭":"&NotCupCap;","∦":"&nspar;","∉":"&notinva;","≠":"&ne;","≂̸":"&nesim;","∄":"&nexists;","≯":"&ngtr;","≱":"&ngeq;","≧̸":"&ngeqq;","≫̸":"&nGtv;","≹":"&ntgl;","⩾̸":"&nges;","≵":"&ngsim;","≎̸":"&nbump;","≏̸":"&nbumpe;","⋪":"&ntriangleleft;","⧏̸":"&NotLeftTriangleBar;","⋬":"&ntrianglelefteq;","≮":"&nlt;","≰":"&nleq;","≸":"&ntlg;","≪̸":"&nLtv;","⩽̸":"&nles;","≴":"&nlsim;","⪢̸":"&NotNestedGreaterGreater;","⪡̸":"&NotNestedLessLess;","⊀":"&nprec;","⪯̸":"&npreceq;","⋠":"&nprcue;","∌":"&notniva;","⋫":"&ntriangleright;","⧐̸":"&NotRightTriangleBar;","⋭":"&ntrianglerighteq;","⊏̸":"&NotSquareSubset;","⋢":"&nsqsube;","⊐̸":"&NotSquareSuperset;","⋣":"&nsqsupe;","⊂⃒":"&vnsub;","⊈":"&nsubseteq;","⊁":"&nsucc;","⪰̸":"&nsucceq;","⋡":"&nsccue;","≿̸":"&NotSucceedsTilde;","⊃⃒":"&vnsup;","⊉":"&nsupseteq;","≁":"&nsim;","≄":"&nsimeq;","≇":"&ncong;","≉":"&napprox;","∤":"&nsmid;","𝒩":"&Nscr;","Ñ":"&Ntilde;","Ν":"&Nu;","Œ":"&OElig;","Ó":"&Oacute;","Ô":"&Ocirc;","О":"&Ocy;","Ő":"&Odblac;","𝔒":"&Ofr;","Ò":"&Ograve;","Ō":"&Omacr;","Ω":"&ohm;","Ο":"&Omicron;","𝕆":"&Oopf;","“":"&ldquo;","‘":"&lsquo;","⩔":"&Or;","𝒪":"&Oscr;","Ø":"&Oslash;","Õ":"&Otilde;","⨷":"&Otimes;","Ö":"&Ouml;","‾":"&oline;","⏞":"&OverBrace;","⎴":"&tbrk;","⏜":"&OverParenthesis;","∂":"&part;","П":"&Pcy;","𝔓":"&Pfr;","Φ":"&Phi;","Π":"&Pi;","±":"&pm;","ℙ":"&primes;","⪻":"&Pr;","≺":"&prec;","⪯":"&preceq;","≼":"&preccurlyeq;","≾":"&prsim;","″":"&Prime;","∏":"&prod;","∝":"&vprop;","𝒫":"&Pscr;","Ψ":"&Psi;",'"':"&quot;","𝔔":"&Qfr;","ℚ":"&rationals;","𝒬":"&Qscr;","⤐":"&drbkarow;","®":"&reg;","Ŕ":"&Racute;","⟫":"&Rang;","↠":"&twoheadrightarrow;","⤖":"&Rarrtl;","Ř":"&Rcaron;","Ŗ":"&Rcedil;","Р":"&Rcy;","ℜ":"&realpart;","∋":"&niv;","⇋":"&lrhar;","⥯":"&duhar;","Ρ":"&Rho;","⟩":"&rangle;","→":"&srarr;","⇥":"&rarrb;","⇄":"&rlarr;","⌉":"&rceil;","⟧":"&robrk;","⥝":"&RightDownTeeVector;","⇂":"&downharpoonright;","⥕":"&RightDownVectorBar;","⌋":"&rfloor;","⊢":"&vdash;","↦":"&mapsto;","⥛":"&RightTeeVector;","⊳":"&vrtri;","⧐":"&RightTriangleBar;","⊵":"&trianglerighteq;","⥏":"&RightUpDownVector;","⥜":"&RightUpTeeVector;","↾":"&upharpoonright;","⥔":"&RightUpVectorBar;","⇀":"&rightharpoonup;","⥓":"&RightVectorBar;","ℝ":"&reals;","⥰":"&RoundImplies;","⇛":"&rAarr;","ℛ":"&realine;","↱":"&rsh;","⧴":"&RuleDelayed;","Щ":"&SHCHcy;","Ш":"&SHcy;","Ь":"&SOFTcy;","Ś":"&Sacute;","⪼":"&Sc;","Š":"&Scaron;","Ş":"&Scedil;","Ŝ":"&Scirc;","С":"&Scy;","𝔖":"&Sfr;","↑":"&uparrow;","Σ":"&Sigma;","∘":"&compfn;","𝕊":"&Sopf;","√":"&radic;","□":"&square;","⊓":"&sqcap;","⊏":"&sqsubset;","⊑":"&sqsubseteq;","⊐":"&sqsupset;","⊒":"&sqsupseteq;","⊔":"&sqcup;","𝒮":"&Sscr;","⋆":"&sstarf;","⋐":"&Subset;","⊆":"&subseteq;","≻":"&succ;","⪰":"&succeq;","≽":"&succcurlyeq;","≿":"&succsim;","∑":"&sum;","⋑":"&Supset;","⊃":"&supset;","⊇":"&supseteq;","Þ":"&THORN;","™":"&trade;","Ћ":"&TSHcy;","Ц":"&TScy;","\t":"&Tab;","Τ":"&Tau;","Ť":"&Tcaron;","Ţ":"&Tcedil;","Т":"&Tcy;","𝔗":"&Tfr;","∴":"&therefore;","Θ":"&Theta;","  ":"&ThickSpace;"," ":"&thinsp;","∼":"&thksim;","≃":"&simeq;","≅":"&cong;","≈":"&thkap;","𝕋":"&Topf;","⃛":"&tdot;","𝒯":"&Tscr;","Ŧ":"&Tstrok;","Ú":"&Uacute;","↟":"&Uarr;","⥉":"&Uarrocir;","Ў":"&Ubrcy;","Ŭ":"&Ubreve;","Û":"&Ucirc;","У":"&Ucy;","Ű":"&Udblac;","𝔘":"&Ufr;","Ù":"&Ugrave;","Ū":"&Umacr;",_:"&lowbar;","⏟":"&UnderBrace;","⎵":"&bbrk;","⏝":"&UnderParenthesis;","⋃":"&xcup;","⊎":"&uplus;","Ų":"&Uogon;","𝕌":"&Uopf;","⤒":"&UpArrowBar;","⇅":"&udarr;","↕":"&varr;","⥮":"&udhar;","⊥":"&perp;","↥":"&mapstoup;","↖":"&nwarrow;","↗":"&nearrow;","ϒ":"&upsih;","Υ":"&Upsilon;","Ů":"&Uring;","𝒰":"&Uscr;","Ũ":"&Utilde;","Ü":"&Uuml;","⊫":"&VDash;","⫫":"&Vbar;","В":"&Vcy;","⊩":"&Vdash;","⫦":"&Vdashl;","⋁":"&xvee;","‖":"&Vert;","∣":"&smid;","|":"&vert;","❘":"&VerticalSeparator;","≀":"&wreath;"," ":"&hairsp;","𝔙":"&Vfr;","𝕍":"&Vopf;","𝒱":"&Vscr;","⊪":"&Vvdash;","Ŵ":"&Wcirc;","⋀":"&xwedge;","𝔚":"&Wfr;","𝕎":"&Wopf;","𝒲":"&Wscr;","𝔛":"&Xfr;","Ξ":"&Xi;","𝕏":"&Xopf;","𝒳":"&Xscr;","Я":"&YAcy;","Ї":"&YIcy;","Ю":"&YUcy;","Ý":"&Yacute;","Ŷ":"&Ycirc;","Ы":"&Ycy;","𝔜":"&Yfr;","𝕐":"&Yopf;","𝒴":"&Yscr;","Ÿ":"&Yuml;","Ж":"&ZHcy;","Ź":"&Zacute;","Ž":"&Zcaron;","З":"&Zcy;","Ż":"&Zdot;","Ζ":"&Zeta;","ℨ":"&zeetrf;","ℤ":"&integers;","𝒵":"&Zscr;","á":"&aacute;","ă":"&abreve;","∾":"&mstpos;","∾̳":"&acE;","∿":"&acd;","â":"&acirc;","а":"&acy;","æ":"&aelig;","𝔞":"&afr;","à":"&agrave;","ℵ":"&aleph;","α":"&alpha;","ā":"&amacr;","⨿":"&amalg;","∧":"&wedge;","⩕":"&andand;","⩜":"&andd;","⩘":"&andslope;","⩚":"&andv;","∠":"&angle;","⦤":"&ange;","∡":"&measuredangle;","⦨":"&angmsdaa;","⦩":"&angmsdab;","⦪":"&angmsdac;","⦫":"&angmsdad;","⦬":"&angmsdae;","⦭":"&angmsdaf;","⦮":"&angmsdag;","⦯":"&angmsdah;","∟":"&angrt;","⊾":"&angrtvb;","⦝":"&angrtvbd;","∢":"&angsph;","⍼":"&angzarr;","ą":"&aogon;","𝕒":"&aopf;","⩰":"&apE;","⩯":"&apacir;","≊":"&approxeq;","≋":"&apid;","'":"&apos;","å":"&aring;","𝒶":"&ascr;","*":"&midast;","ã":"&atilde;","ä":"&auml;","⨑":"&awint;","⫭":"&bNot;","≌":"&bcong;","϶":"&bepsi;","‵":"&bprime;","∽":"&bsim;","⋍":"&bsime;","⊽":"&barvee;","⌅":"&barwedge;","⎶":"&bbrktbrk;","б":"&bcy;","„":"&ldquor;","⦰":"&bemptyv;","β":"&beta;","ℶ":"&beth;","≬":"&twixt;","𝔟":"&bfr;","◯":"&xcirc;","⨀":"&xodot;","⨁":"&xoplus;","⨂":"&xotime;","⨆":"&xsqcup;","★":"&starf;","▽":"&xdtri;","△":"&xutri;","⨄":"&xuplus;","⤍":"&rbarr;","⧫":"&lozf;","▴":"&utrif;","▾":"&dtrif;","◂":"&ltrif;","▸":"&rtrif;","␣":"&blank;","▒":"&blk12;","░":"&blk14;","▓":"&blk34;","█":"&block;","=⃥":"&bne;","≡⃥":"&bnequiv;","⌐":"&bnot;","𝕓":"&bopf;","⋈":"&bowtie;","╗":"&boxDL;","╔":"&boxDR;","╖":"&boxDl;","╓":"&boxDr;","═":"&boxH;","╦":"&boxHD;","╩":"&boxHU;","╤":"&boxHd;","╧":"&boxHu;","╝":"&boxUL;","╚":"&boxUR;","╜":"&boxUl;","╙":"&boxUr;","║":"&boxV;","╬":"&boxVH;","╣":"&boxVL;","╠":"&boxVR;","╫":"&boxVh;","╢":"&boxVl;","╟":"&boxVr;","⧉":"&boxbox;","╕":"&boxdL;","╒":"&boxdR;","┐":"&boxdl;","┌":"&boxdr;","╥":"&boxhD;","╨":"&boxhU;","┬":"&boxhd;","┴":"&boxhu;","⊟":"&minusb;","⊞":"&plusb;","⊠":"&timesb;","╛":"&boxuL;","╘":"&boxuR;","┘":"&boxul;","└":"&boxur;","│":"&boxv;","╪":"&boxvH;","╡":"&boxvL;","╞":"&boxvR;","┼":"&boxvh;","┤":"&boxvl;","├":"&boxvr;","¦":"&brvbar;","𝒷":"&bscr;","⁏":"&bsemi;","\\":"&bsol;","⧅":"&bsolb;","⟈":"&bsolhsub;","•":"&bullet;","⪮":"&bumpE;","ć":"&cacute;","∩":"&cap;","⩄":"&capand;","⩉":"&capbrcup;","⩋":"&capcap;","⩇":"&capcup;","⩀":"&capdot;","∩︀":"&caps;","⁁":"&caret;","⩍":"&ccaps;","č":"&ccaron;","ç":"&ccedil;","ĉ":"&ccirc;","⩌":"&ccups;","⩐":"&ccupssm;","ċ":"&cdot;","⦲":"&cemptyv;","¢":"&cent;","𝔠":"&cfr;","ч":"&chcy;","✓":"&checkmark;","χ":"&chi;","○":"&cir;","⧃":"&cirE;","ˆ":"&circ;","≗":"&cire;","↺":"&olarr;","↻":"&orarr;","Ⓢ":"&oS;","⊛":"&oast;","⊚":"&ocir;","⊝":"&odash;","⨐":"&cirfnint;","⫯":"&cirmid;","⧂":"&cirscir;","♣":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","∁":"&complement;","⩭":"&congdot;","𝕔":"&copf;","℗":"&copysr;","↵":"&crarr;","✗":"&cross;","𝒸":"&cscr;","⫏":"&csub;","⫑":"&csube;","⫐":"&csup;","⫒":"&csupe;","⋯":"&ctdot;","⤸":"&cudarrl;","⤵":"&cudarrr;","⋞":"&curlyeqprec;","⋟":"&curlyeqsucc;","↶":"&curvearrowleft;","⤽":"&cularrp;","∪":"&cup;","⩈":"&cupbrcap;","⩆":"&cupcap;","⩊":"&cupcup;","⊍":"&cupdot;","⩅":"&cupor;","∪︀":"&cups;","↷":"&curvearrowright;","⤼":"&curarrm;","⋎":"&cuvee;","⋏":"&cuwed;","¤":"&curren;","∱":"&cwint;","⌭":"&cylcty;","⥥":"&dHar;","†":"&dagger;","ℸ":"&daleth;","‐":"&hyphen;","⤏":"&rBarr;","ď":"&dcaron;","д":"&dcy;","⇊":"&downdownarrows;","⩷":"&eDDot;","°":"&deg;","δ":"&delta;","⦱":"&demptyv;","⥿":"&dfisht;","𝔡":"&dfr;","♦":"&diams;","ϝ":"&gammad;","⋲":"&disin;","÷":"&divide;","⋇":"&divonx;","ђ":"&djcy;","⌞":"&llcorner;","⌍":"&dlcrop;",$:"&dollar;","𝕕":"&dopf;","≑":"&eDot;","∸":"&minusd;","∔":"&plusdo;","⊡":"&sdotb;","⌟":"&lrcorner;","⌌":"&drcrop;","𝒹":"&dscr;","ѕ":"&dscy;","⧶":"&dsol;","đ":"&dstrok;","⋱":"&dtdot;","▿":"&triangledown;","⦦":"&dwangle;","џ":"&dzcy;","⟿":"&dzigrarr;","é":"&eacute;","⩮":"&easter;","ě":"&ecaron;","≖":"&eqcirc;","ê":"&ecirc;","≕":"&eqcolon;","э":"&ecy;","ė":"&edot;","≒":"&fallingdotseq;","𝔢":"&efr;","⪚":"&eg;","è":"&egrave;","⪖":"&eqslantgtr;","⪘":"&egsdot;","⪙":"&el;","⏧":"&elinters;","ℓ":"&ell;","⪕":"&eqslantless;","⪗":"&elsdot;","ē":"&emacr;","∅":"&varnothing;"," ":"&emsp13;"," ":"&emsp14;"," ":"&emsp;","ŋ":"&eng;"," ":"&ensp;","ę":"&eogon;","𝕖":"&eopf;","⋕":"&epar;","⧣":"&eparsl;","⩱":"&eplus;","ε":"&epsilon;","ϵ":"&varepsilon;","=":"&equals;","≟":"&questeq;","⩸":"&equivDD;","⧥":"&eqvparsl;","≓":"&risingdotseq;","⥱":"&erarr;","ℯ":"&escr;","η":"&eta;","ð":"&eth;","ë":"&euml;","€":"&euro;","!":"&excl;","ф":"&fcy;","♀":"&female;","ffi":"&ffilig;","ff":"&fflig;","ffl":"&ffllig;","𝔣":"&ffr;","fi":"&filig;",fj:"&fjlig;","♭":"&flat;","fl":"&fllig;","▱":"&fltns;","ƒ":"&fnof;","𝕗":"&fopf;","⋔":"&pitchfork;","⫙":"&forkv;","⨍":"&fpartint;","½":"&half;","⅓":"&frac13;","¼":"&frac14;","⅕":"&frac15;","⅙":"&frac16;","⅛":"&frac18;","⅔":"&frac23;","⅖":"&frac25;","¾":"&frac34;","⅗":"&frac35;","⅜":"&frac38;","⅘":"&frac45;","⅚":"&frac56;","⅝":"&frac58;","⅞":"&frac78;","⁄":"&frasl;","⌢":"&sfrown;","𝒻":"&fscr;","⪌":"&gtreqqless;","ǵ":"&gacute;","γ":"&gamma;","⪆":"&gtrapprox;","ğ":"&gbreve;","ĝ":"&gcirc;","г":"&gcy;","ġ":"&gdot;","⪩":"&gescc;","⪀":"&gesdot;","⪂":"&gesdoto;","⪄":"&gesdotol;","⋛︀":"&gesl;","⪔":"&gesles;","𝔤":"&gfr;","ℷ":"&gimel;","ѓ":"&gjcy;","⪒":"&glE;","⪥":"&gla;","⪤":"&glj;","≩":"&gneqq;","⪊":"&gnapprox;","⪈":"&gneq;","⋧":"&gnsim;","𝕘":"&gopf;","ℊ":"&gscr;","⪎":"&gsime;","⪐":"&gsiml;","⪧":"&gtcc;","⩺":"&gtcir;","⋗":"&gtrdot;","⦕":"&gtlPar;","⩼":"&gtquest;","⥸":"&gtrarr;","≩︀":"&gvnE;","ъ":"&hardcy;","⥈":"&harrcir;","↭":"&leftrightsquigarrow;","ℏ":"&plankv;","ĥ":"&hcirc;","♥":"&heartsuit;","…":"&mldr;","⊹":"&hercon;","𝔥":"&hfr;","⤥":"&searhk;","⤦":"&swarhk;","⇿":"&hoarr;","∻":"&homtht;","↩":"&larrhk;","↪":"&rarrhk;","𝕙":"&hopf;","―":"&horbar;","𝒽":"&hscr;","ħ":"&hstrok;","⁃":"&hybull;","í":"&iacute;","î":"&icirc;","и":"&icy;","е":"&iecy;","¡":"&iexcl;","𝔦":"&ifr;","ì":"&igrave;","⨌":"&qint;","∭":"&tint;","⧜":"&iinfin;","℩":"&iiota;","ij":"&ijlig;","ī":"&imacr;","ı":"&inodot;","⊷":"&imof;","Ƶ":"&imped;","℅":"&incare;","∞":"&infin;","⧝":"&infintie;","⊺":"&intercal;","⨗":"&intlarhk;","⨼":"&iprod;","ё":"&iocy;","į":"&iogon;","𝕚":"&iopf;","ι":"&iota;","¿":"&iquest;","𝒾":"&iscr;","⋹":"&isinE;","⋵":"&isindot;","⋴":"&isins;","⋳":"&isinsv;","ĩ":"&itilde;","і":"&iukcy;","ï":"&iuml;","ĵ":"&jcirc;","й":"&jcy;","𝔧":"&jfr;","ȷ":"&jmath;","𝕛":"&jopf;","𝒿":"&jscr;","ј":"&jsercy;","є":"&jukcy;","κ":"&kappa;","ϰ":"&varkappa;","ķ":"&kcedil;","к":"&kcy;","𝔨":"&kfr;","ĸ":"&kgreen;","х":"&khcy;","ќ":"&kjcy;","𝕜":"&kopf;","𝓀":"&kscr;","⤛":"&lAtail;","⤎":"&lBarr;","⪋":"&lesseqqgtr;","⥢":"&lHar;","ĺ":"&lacute;","⦴":"&laemptyv;","λ":"&lambda;","⦑":"&langd;","⪅":"&lessapprox;","«":"&laquo;","⤟":"&larrbfs;","⤝":"&larrfs;","↫":"&looparrowleft;","⤹":"&larrpl;","⥳":"&larrsim;","↢":"&leftarrowtail;","⪫":"&lat;","⤙":"&latail;","⪭":"&late;","⪭︀":"&lates;","⤌":"&lbarr;","❲":"&lbbrk;","{":"&lcub;","[":"&lsqb;","⦋":"&lbrke;","⦏":"&lbrksld;","⦍":"&lbrkslu;","ľ":"&lcaron;","ļ":"&lcedil;","л":"&lcy;","⤶":"&ldca;","⥧":"&ldrdhar;","⥋":"&ldrushar;","↲":"&ldsh;","≤":"&leq;","⇇":"&llarr;","⋋":"&lthree;","⪨":"&lescc;","⩿":"&lesdot;","⪁":"&lesdoto;","⪃":"&lesdotor;","⋚︀":"&lesg;","⪓":"&lesges;","⋖":"&ltdot;","⥼":"&lfisht;","𝔩":"&lfr;","⪑":"&lgE;","⥪":"&lharul;","▄":"&lhblk;","љ":"&ljcy;","⥫":"&llhard;","◺":"&lltri;","ŀ":"&lmidot;","⎰":"&lmoustache;","≨":"&lneqq;","⪉":"&lnapprox;","⪇":"&lneq;","⋦":"&lnsim;","⟬":"&loang;","⇽":"&loarr;","⟼":"&xmap;","↬":"&rarrlp;","⦅":"&lopar;","𝕝":"&lopf;","⨭":"&loplus;","⨴":"&lotimes;","∗":"&lowast;","◊":"&lozenge;","(":"&lpar;","⦓":"&lparlt;","⥭":"&lrhard;","‎":"&lrm;","⊿":"&lrtri;","‹":"&lsaquo;","𝓁":"&lscr;","⪍":"&lsime;","⪏":"&lsimg;","‚":"&sbquo;","ł":"&lstrok;","⪦":"&ltcc;","⩹":"&ltcir;","⋉":"&ltimes;","⥶":"&ltlarr;","⩻":"&ltquest;","⦖":"&ltrPar;","◃":"&triangleleft;","⥊":"&lurdshar;","⥦":"&luruhar;","≨︀":"&lvnE;","∺":"&mDDot;","¯":"&strns;","♂":"&male;","✠":"&maltese;","▮":"&marker;","⨩":"&mcomma;","м":"&mcy;","—":"&mdash;","𝔪":"&mfr;","℧":"&mho;","µ":"&micro;","⫰":"&midcir;","−":"&minus;","⨪":"&minusdu;","⫛":"&mlcp;","⊧":"&models;","𝕞":"&mopf;","𝓂":"&mscr;","μ":"&mu;","⊸":"&mumap;","⋙̸":"&nGg;","≫⃒":"&nGt;","⇍":"&nlArr;","⇎":"&nhArr;","⋘̸":"&nLl;","≪⃒":"&nLt;","⇏":"&nrArr;","⊯":"&nVDash;","⊮":"&nVdash;","ń":"&nacute;","∠⃒":"&nang;","⩰̸":"&napE;","≋̸":"&napid;","ʼn":"&napos;","♮":"&natural;","⩃":"&ncap;","ň":"&ncaron;","ņ":"&ncedil;","⩭̸":"&ncongdot;","⩂":"&ncup;","н":"&ncy;","–":"&ndash;","⇗":"&neArr;","⤤":"&nearhk;","≐̸":"&nedot;","⤨":"&toea;","𝔫":"&nfr;","↮":"&nleftrightarrow;","⫲":"&nhpar;","⋼":"&nis;","⋺":"&nisd;","њ":"&njcy;","≦̸":"&nleqq;","↚":"&nleftarrow;","‥":"&nldr;","𝕟":"&nopf;","¬":"&not;","⋹̸":"&notinE;","⋵̸":"&notindot;","⋷":"&notinvb;","⋶":"&notinvc;","⋾":"&notnivb;","⋽":"&notnivc;","⫽⃥":"&nparsl;","∂̸":"&npart;","⨔":"&npolint;","↛":"&nrightarrow;","⤳̸":"&nrarrc;","↝̸":"&nrarrw;","𝓃":"&nscr;","⊄":"&nsub;","⫅̸":"&nsubseteqq;","⊅":"&nsup;","⫆̸":"&nsupseteqq;","ñ":"&ntilde;","ν":"&nu;","#":"&num;","№":"&numero;"," ":"&numsp;","⊭":"&nvDash;","⤄":"&nvHarr;","≍⃒":"&nvap;","⊬":"&nvdash;","≥⃒":"&nvge;",">⃒":"&nvgt;","⧞":"&nvinfin;","⤂":"&nvlArr;","≤⃒":"&nvle;","<⃒":"&nvlt;","⊴⃒":"&nvltrie;","⤃":"&nvrArr;","⊵⃒":"&nvrtrie;","∼⃒":"&nvsim;","⇖":"&nwArr;","⤣":"&nwarhk;","⤧":"&nwnear;","ó":"&oacute;","ô":"&ocirc;","о":"&ocy;","ő":"&odblac;","⨸":"&odiv;","⦼":"&odsold;","œ":"&oelig;","⦿":"&ofcir;","𝔬":"&ofr;","˛":"&ogon;","ò":"&ograve;","⧁":"&ogt;","⦵":"&ohbar;","⦾":"&olcir;","⦻":"&olcross;","⧀":"&olt;","ō":"&omacr;","ω":"&omega;","ο":"&omicron;","⦶":"&omid;","𝕠":"&oopf;","⦷":"&opar;","⦹":"&operp;","∨":"&vee;","⩝":"&ord;","ℴ":"&oscr;","ª":"&ordf;","º":"&ordm;","⊶":"&origof;","⩖":"&oror;","⩗":"&orslope;","⩛":"&orv;","ø":"&oslash;","⊘":"&osol;","õ":"&otilde;","⨶":"&otimesas;","ö":"&ouml;","⌽":"&ovbar;","¶":"&para;","⫳":"&parsim;","⫽":"&parsl;","п":"&pcy;","%":"&percnt;",".":"&period;","‰":"&permil;","‱":"&pertenk;","𝔭":"&pfr;","φ":"&phi;","ϕ":"&varphi;","☎":"&phone;","π":"&pi;","ϖ":"&varpi;","ℎ":"&planckh;","+":"&plus;","⨣":"&plusacir;","⨢":"&pluscir;","⨥":"&plusdu;","⩲":"&pluse;","⨦":"&plussim;","⨧":"&plustwo;","⨕":"&pointint;","𝕡":"&popf;","£":"&pound;","⪳":"&prE;","⪷":"&precapprox;","⪹":"&prnap;","⪵":"&prnE;","⋨":"&prnsim;","′":"&prime;","⌮":"&profalar;","⌒":"&profline;","⌓":"&profsurf;","⊰":"&prurel;","𝓅":"&pscr;","ψ":"&psi;"," ":"&puncsp;","𝔮":"&qfr;","𝕢":"&qopf;","⁗":"&qprime;","𝓆":"&qscr;","⨖":"&quatint;","?":"&quest;","⤜":"&rAtail;","⥤":"&rHar;","∽̱":"&race;","ŕ":"&racute;","⦳":"&raemptyv;","⦒":"&rangd;","⦥":"&range;","»":"&raquo;","⥵":"&rarrap;","⤠":"&rarrbfs;","⤳":"&rarrc;","⤞":"&rarrfs;","⥅":"&rarrpl;","⥴":"&rarrsim;","↣":"&rightarrowtail;","↝":"&rightsquigarrow;","⤚":"&ratail;","∶":"&ratio;","❳":"&rbbrk;","}":"&rcub;","]":"&rsqb;","⦌":"&rbrke;","⦎":"&rbrksld;","⦐":"&rbrkslu;","ř":"&rcaron;","ŗ":"&rcedil;","р":"&rcy;","⤷":"&rdca;","⥩":"&rdldhar;","↳":"&rdsh;","▭":"&rect;","⥽":"&rfisht;","𝔯":"&rfr;","⥬":"&rharul;","ρ":"&rho;","ϱ":"&varrho;","⇉":"&rrarr;","⋌":"&rthree;","˚":"&ring;","‏":"&rlm;","⎱":"&rmoustache;","⫮":"&rnmid;","⟭":"&roang;","⇾":"&roarr;","⦆":"&ropar;","𝕣":"&ropf;","⨮":"&roplus;","⨵":"&rotimes;",")":"&rpar;","⦔":"&rpargt;","⨒":"&rppolint;","›":"&rsaquo;","𝓇":"&rscr;","⋊":"&rtimes;","▹":"&triangleright;","⧎":"&rtriltri;","⥨":"&ruluhar;","℞":"&rx;","ś":"&sacute;","⪴":"&scE;","⪸":"&succapprox;","š":"&scaron;","ş":"&scedil;","ŝ":"&scirc;","⪶":"&succneqq;","⪺":"&succnapprox;","⋩":"&succnsim;","⨓":"&scpolint;","с":"&scy;","⋅":"&sdot;","⩦":"&sdote;","⇘":"&seArr;","§":"&sect;",";":"&semi;","⤩":"&tosa;","✶":"&sext;","𝔰":"&sfr;","♯":"&sharp;","щ":"&shchcy;","ш":"&shcy;","­":"&shy;","σ":"&sigma;","ς":"&varsigma;","⩪":"&simdot;","⪞":"&simg;","⪠":"&simgE;","⪝":"&siml;","⪟":"&simlE;","≆":"&simne;","⨤":"&simplus;","⥲":"&simrarr;","⨳":"&smashp;","⧤":"&smeparsl;","⌣":"&ssmile;","⪪":"&smt;","⪬":"&smte;","⪬︀":"&smtes;","ь":"&softcy;","/":"&sol;","⧄":"&solb;","⌿":"&solbar;","𝕤":"&sopf;","♠":"&spadesuit;","⊓︀":"&sqcaps;","⊔︀":"&sqcups;","𝓈":"&sscr;","☆":"&star;","⊂":"&subset;","⫅":"&subseteqq;","⪽":"&subdot;","⫃":"&subedot;","⫁":"&submult;","⫋":"&subsetneqq;","⊊":"&subsetneq;","⪿":"&subplus;","⥹":"&subrarr;","⫇":"&subsim;","⫕":"&subsub;","⫓":"&subsup;","♪":"&sung;","¹":"&sup1;","²":"&sup2;","³":"&sup3;","⫆":"&supseteqq;","⪾":"&supdot;","⫘":"&supdsub;","⫄":"&supedot;","⟉":"&suphsol;","⫗":"&suphsub;","⥻":"&suplarr;","⫂":"&supmult;","⫌":"&supsetneqq;","⊋":"&supsetneq;","⫀":"&supplus;","⫈":"&supsim;","⫔":"&supsub;","⫖":"&supsup;","⇙":"&swArr;","⤪":"&swnwar;","ß":"&szlig;","⌖":"&target;","τ":"&tau;","ť":"&tcaron;","ţ":"&tcedil;","т":"&tcy;","⌕":"&telrec;","𝔱":"&tfr;","θ":"&theta;","ϑ":"&vartheta;","þ":"&thorn;","×":"&times;","⨱":"&timesbar;","⨰":"&timesd;","⌶":"&topbot;","⫱":"&topcir;","𝕥":"&topf;","⫚":"&topfork;","‴":"&tprime;","▵":"&utri;","≜":"&trie;","◬":"&tridot;","⨺":"&triminus;","⨹":"&triplus;","⧍":"&trisb;","⨻":"&tritime;","⏢":"&trpezium;","𝓉":"&tscr;","ц":"&tscy;","ћ":"&tshcy;","ŧ":"&tstrok;","⥣":"&uHar;","ú":"&uacute;","ў":"&ubrcy;","ŭ":"&ubreve;","û":"&ucirc;","у":"&ucy;","ű":"&udblac;","⥾":"&ufisht;","𝔲":"&ufr;","ù":"&ugrave;","▀":"&uhblk;","⌜":"&ulcorner;","⌏":"&ulcrop;","◸":"&ultri;","ū":"&umacr;","ų":"&uogon;","𝕦":"&uopf;","υ":"&upsilon;","⇈":"&uuarr;","⌝":"&urcorner;","⌎":"&urcrop;","ů":"&uring;","◹":"&urtri;","𝓊":"&uscr;","⋰":"&utdot;","ũ":"&utilde;","ü":"&uuml;","⦧":"&uwangle;","⫨":"&vBar;","⫩":"&vBarv;","⦜":"&vangrt;","⊊︀":"&vsubne;","⫋︀":"&vsubnE;","⊋︀":"&vsupne;","⫌︀":"&vsupnE;","в":"&vcy;","⊻":"&veebar;","≚":"&veeeq;","⋮":"&vellip;","𝔳":"&vfr;","𝕧":"&vopf;","𝓋":"&vscr;","⦚":"&vzigzag;","ŵ":"&wcirc;","⩟":"&wedbar;","≙":"&wedgeq;","℘":"&wp;","𝔴":"&wfr;","𝕨":"&wopf;","𝓌":"&wscr;","𝔵":"&xfr;","ξ":"&xi;","⋻":"&xnis;","𝕩":"&xopf;","𝓍":"&xscr;","ý":"&yacute;","я":"&yacy;","ŷ":"&ycirc;","ы":"&ycy;","¥":"&yen;","𝔶":"&yfr;","ї":"&yicy;","𝕪":"&yopf;","𝓎":"&yscr;","ю":"&yucy;","ÿ":"&yuml;","ź":"&zacute;","ž":"&zcaron;","з":"&zcy;","ż":"&zdot;","ζ":"&zeta;","𝔷":"&zfr;","ж":"&zhcy;","⇝":"&zigrarr;","𝕫":"&zopf;","𝓏":"&zscr;","‍":"&zwj;","‌":"&zwnj;"}}}},5388:function(e,t,r){"use strict";var n=r("c65b");e.exports=function(e,t,r){var i,a,o=r?e:e.iterator,s=e.next;while(!(i=n(s,o)).done)if(a=t(i.value),void 0!==a)return a}},"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}},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),c=i("WeakMap.prototype.get",!0),u=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},A=function(e,t){var r=m(e,t);return r&&r.value},g=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},_=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 c(e,n)}else if(l){if(t)return h(t,n)}else if(r)return A(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 _(r,n);return!1},set:function(n,i){s&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new s),u(e,n,i)):l?(t||(t=new l),p(t,n,i)):(r||(r={key:{},next:null}),g(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}},"55c9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  119. //! moment.js locale configuration
  120. 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),c=new n(3),u=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=g;var m={};function A(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(c)&&i.cmp(u)&&(h+=8);break;default:h+=4}return m[n]=h,h}function g(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 _(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=A(this.__prime,this.__gen)),this._primeCode}}),g.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()},g.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},g.prototype.getPublicKey=function(e){return _(this._pub,e)},g.prototype.getPrivateKey=function(e){return _(this._priv,e)},g.prototype.getPrime=function(e){return _(this.__prime,e)},g.prototype.getGenerator=function(e){return _(this._gen,e)},g.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)})),c=n.define("RDNSequence",(function(){this.seqof(l)})),u=n.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),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(u),this.key("validity").use(d),this.key("subject").use(u),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},5714:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("d9e2");function n(e,t,r){return(t=i(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){var t=a(e,"string");return"symbol"==typeof t?t:t+""}function a(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 o{constructor(e){n(this,"calculationTypes",[]),n(this,"calculationResults",new Map),this.calculationTypes=e}_initialize(e){this.calculationTypes.forEach(t=>{let[r,n]=t;this.calculationResults.set(r,n),n.initialize(e)})}_process(e,t){this.calculationTypes.forEach(r=>{let[,n]=r;return n.process(e,t)})}_finalize(e){this.calculationTypes.forEach(t=>{let[,r]=t;return r.finalize(e)})}getResultsFor(e){return this.calculationResults.get(e)}}},"576c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  121. //! moment.js locale configuration
  122. 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},"58a2":function(e,t,r){var n=r("11dc");e.exports=v,v.simpleSieve=g,v.fermatTest=_;var i=r("48e6"),a=new i(24),o=r("7a10"),s=new o,l=new i(1),c=new i(2),u=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 A(){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 g(e){for(var t=A(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function _(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(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(c),t.cmp(c)){if(!t.cmp(u))while(r.mod(d).cmp(h))r.iadd(f)}else while(r.mod(a).cmp(p))r.iadd(f);if(o=r.shrn(1),g(o)&&g(r)&&_(o)&&_(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 c(t))_(a)?n[i]=s(n[i],a):(r||void 0===n[i])&&(n[i]=a);return n}function*l(e){yield*e}function*c(e){if(b(e))yield*e;else for(const t in e)e.hasOwnProperty(t)&&(yield[t,e[t]])}function u(e){return b(e)?e.size:Object.keys(e).length}function d(e,t){return b(e)?e.get(t):e[t]}function h(e,t){b(e)?e.delete(t):delete e[t]}function p(e){if(g(e))return e;if(v(e)){const t=[];for(const r of e)t.push(p(r));return t}if(_(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 A(e){return"string"===typeof e}function g(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function _(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function v(e){return Array.isArray(e)}function b(e){return e instanceof Map}function w(e){if(v(e))return!e.length;if(_(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function y(e){if(_(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 C(e){return g(e.valueOf)?e.valueOf():e}function S(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 M(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=c,t.objectLength=u,t.getObjectValue=d,t.removeObjectValue=h,t.clone=p,t.isBoolean=f,t.isNumber=m,t.isString=A,t.isFunction=g,t.isObject=_,t.isArray=v,t.isMap=b,t.isEmpty=w,t.isPlainObject=y,t.isIterable=E,t.getValue=C,t.utf8Encode=S,t.utf8Decode=M},"595f":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-formual"},[1==e.type?r("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[r("el-form-item",{attrs:{label:"类型:"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择类型",size:"large"},model:{value:e.queryForm.type,callback:function(t){e.$set(e.queryForm,"type",t)},expression:"queryForm.type"}},e._l(e.typeList,(function(e){return r("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})),1)],1),r("el-form-item",{attrs:{label:"变名称:"}},[r("el-input",{attrs:{placeholder:"请填写变量名称"},model:{value:e.queryForm.name,callback:function(t){e.$set(e.queryForm,"name",t)},expression:"queryForm.name"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onBtnSearch}},[r("svg-icon",{attrs:{"icon-class":"search"}}),e._v(" 搜索")],1),r("el-button",{attrs:{type:"primary"},on:{click:e.onBtnCreate}},[r("svg-icon",{attrs:{"icon-class":"plus"}}),e._v(" 新增变量")],1)],1)],1):e._e(),2==e.type?r("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onBtnConst}},[r("svg-icon",{attrs:{"icon-class":"plus"}}),e._v(" 新增常量")],1)],1)],1):e._e(),r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataList,"header-row-class-name":"headerBg","empty-text":"没有数据信息"}},[r("el-table-column",{attrs:{prop:"id",label:"ID",align:"center"}}),r("el-table-column",{attrs:{prop:"code",label:"编码",align:"left"}}),r("el-table-column",{attrs:{prop:"name",label:"名称",align:"left"}}),1==e.type?r("el-table-column",{attrs:{prop:"value",label:"取值","show-overflow-tooltip":"",align:"left","min-width":"150"}}):e._e(),r("el-table-column",{attrs:{label:"操作",align:"center",width:"250"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"btns"},[r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.btnPicked(t.row)}}},[r("svg-icon",{attrs:{"icon-class":"confirm"}}),e._v("使用")],1),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.btnOnEdit(t.row.id,t.row)}}},[r("svg-icon",{attrs:{"icon-class":"edit"}}),e._v("编辑")],1),r("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(r){return e.btnOnDelete(t.row.id)}}},[r("svg-icon",{attrs:{"icon-class":"delete"}}),e._v("删除")],1)],1)]}}])})],1),r("div",{staticClass:"page-info"},[r("el-pagination",{attrs:{currentPage:e.queryForm.page,"page-size":e.queryForm.pageSize,total:e.recordCount,"page-count":e.pageTotal,background:"",layout:"prev, pager, next"},on:{"current-change":e.ChangePage}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogVisible,"append-to-body":"",width:"300","close-on-click-modal":!1,"custom-class":"prod-verify",title:e.title},on:{"update:visible":function(t){e.dialogVisible=t},closed:e.handleDialogClosed}},[r("dataInfo",{ref:"dataInfoRef",attrs:{id:e.dataId,type:e.type},on:{onClose:e.onClose}})],1)],1)},i=[],a=(r("e9c4"),r("a9e3"),r("d3b7"),r("ac1f"),r("841c"),r("0643"),r("4e3e"),r("159b"),r("3e3e")),o=r("a888"),s=r("6242"),l={name:"searchParams",emits:["onPicked","onData"],directives:{elDragDialog:o["a"]},components:{dataInfo:s["default"]},props:{type:{type:Number,default:1}},watch:{type:{handler:function(e){console.log(e),this.queryForm.type=e,this.onBtnSearch()},immediate:!0,deep:!0},dataList:{handler:function(e,t){var r=this;e.forEach((function(e,n){JSON.stringify(e)!==JSON.stringify(t[n])&&r.$emit("onData",e)}))},deep:!0}},data:function(){return{dataId:0,dialogVisible:!1,title:"创建变量",queryForm:{page:1,pageSize:10,name:"",status:5,type:1},typeList:[{value:1,name:"变量"},{value:2,name:"常量"}],recordCount:0,pageTotal:1,dataList:[]}},mounted:function(){},methods:{handleDialogClosed:function(){this.$refs.dataInfoRef&&this.$refs.dataInfoRef.resetForm(),this.dataId=0},onClose:function(e){this.dialogVisible=!1,this.onBtnSearch(),this.handleDialogClosed()},btnOnEdit:function(e,t){var r=this;this.title=1==t.type?"修改变量":"修改常量",this.$nextTick((function(){r.dataId=e,r.dialogVisible=!0}))},btnOnDelete:function(e){var t=this,r={id:e};t.$confirm("您是否确认删除该记录?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((function(e){Object(a["b"])(r).then((function(e){t.search()}))})).catch((function(){}))},onBtnCreate:function(e){var t=this;t.dataId=0,t.title="创建变量",t.dialogVisible=!0},onBtnSearch:function(e){var t=this;t.queryForm.page=1,t.search()},btnPicked:function(e){this.$emit("onPicked",e)},search:function(){var e=this;Object(a["d"])(e.queryForm).then((function(t){t&&(e.dataList=t.data.dataList,e.recordCount=t.data.totalRecord,e.pageTotal=t.data.pageTotal)}))},ChangePage:function(e){var t=this;t.queryForm.page=e,t.search()},onBtnConst:function(){var e=this;e.dataId=0,e.type=2,e.title="创建常量",e.dialogVisible=!0}}},c=l,u=(r("f471"),r("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},"598a":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  123. //! moment.js locale configuration
  124. 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}))},"5a76":function(e,t,r){var n=r("f576");e.exports=function(e){return(new n).update(e).digest()}},"5aaf":function(e,t,r){},"5aff":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  125. //! moment.js locale configuration
  126. 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";
  127. //! moment.js locale configuration
  128. 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}))},"5b81":function(e,t,r){"use strict";var n=r("23e7"),i=r("c65b"),a=r("e330"),o=r("1d80"),s=r("1626"),l=r("7234"),c=r("44e7"),u=r("577e"),d=r("dc4a"),h=r("90d8"),p=r("0cb2"),f=r("b622"),m=r("c430"),A=f("replace"),g=TypeError,_=a("".indexOf),v=a("".replace),b=a("".slice),w=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,a,f,y,E,C,S,M,x=o(this),T=0,O=0,N="";if(!l(e)){if(r=c(e),r&&(n=u(o(h(e))),!~_(n,"g")))throw new g("`.replaceAll` does not allow non-global regexes");if(a=d(e,A),a)return i(a,e,x,t);if(m&&r)return v(u(x),e,t)}f=u(x),y=u(e),E=s(t),E||(t=u(t)),C=y.length,S=w(1,C),T=_(f,y);while(-1!==T)M=E?u(t(y,T,f)):p(y,f,T,[],void 0,t),N+=b(f,O,T)+M,O=T+C,T=T+S>f.length?-1:_(f,y,T+S);return O<f.length&&(N+=b(f,O)),N}})},"5bfe":function(e,t,r){"use strict";r("2bfc")},"5c3a":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  129. //! moment.js locale configuration
  130. 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";
  131. //! moment.js locale configuration
  132. 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 c})),r.d(t,"closest",(function(){return u})),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 g})),r.d(t,"addClass",(function(){return _})),r.d(t,"removeClass",(function(){return v})),r.d(t,"setAttribute",(function(){return b})),r.d(t,"removeAttribute",(function(){return w})),r.d(t,"removeTextNodes",(function(){return y})),r.d(t,"empty",(function(){return E})),r.d(t,"HTML_CHARACTERS",(function(){return C})),r.d(t,"fastInnerHTML",(function(){return S})),r.d(t,"fastInnerText",(function(){return M})),r.d(t,"isVisible",(function(){return x})),r.d(t,"offset",(function(){return T})),r.d(t,"getWindowScrollTop",(function(){return O})),r.d(t,"getWindowScrollLeft",(function(){return N})),r.d(t,"getScrollTop",(function(){return R})),r.d(t,"getScrollLeft",(function(){return L})),r.d(t,"getScrollableElement",(function(){return I})),r.d(t,"getMaximumScrollTop",(function(){return k})),r.d(t,"getMaximumScrollLeft",(function(){return B})),r.d(t,"getTrimmingContainer",(function(){return D})),r.d(t,"getStyle",(function(){return F})),r.d(t,"matchesCSSRules",(function(){return P})),r.d(t,"getComputedStyle",(function(){return j})),r.d(t,"outerWidth",(function(){return U})),r.d(t,"outerHeight",(function(){return H})),r.d(t,"innerHeight",(function(){return V})),r.d(t,"innerWidth",(function(){return Y})),r.d(t,"addEvent",(function(){return W})),r.d(t,"removeEvent",(function(){return Q})),r.d(t,"getCaretPosition",(function(){return z})),r.d(t,"getSelectionEndPosition",(function(){return q})),r.d(t,"getSelectionText",(function(){return G})),r.d(t,"clearTextSelection",(function(){return K})),r.d(t,"setCaretPosition",(function(){return X})),r.d(t,"getScrollbarWidth",(function(){return J})),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 ce})),r.d(t,"makeElementContentEditableAndSelectItsContent",(function(){return ue})),r.d(t,"removeContentEditableFromElementAndDeselect",(function(){return de})),r.d(t,"runWithSelectedContendEditableElement",(function(){return he}));r("d9e2"),r("14d9");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 c(e){return!!Object.getPrototypeOf(e.parent)}function u(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=u(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 A(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 g(e,t){return void 0!==e.classList&&"string"===typeof t&&""!==t&&e.classList.contains(t)}function _(e,t){"string"===typeof t&&(t=t.split(" ")),t=m(t),t.length>0&&e.classList.add(...t)}function v(e,t){"string"===typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);let{regexFree:r,regexes:n}=A(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 b(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 w(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}=A(t,!0);r.forEach(t=>{""!==t&&e.removeAttribute(t)}),n.forEach(t=>{e.getAttributeNames().forEach(r=>{t.test(r)&&e.removeAttribute(r)})})}function y(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--)y(t[e])}}function E(e){let t;while(t=e.lastChild)e.removeChild(t)}const C=/(<(.*)>|&(.*);)/;function S(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];C.test(t)?e.innerHTML=r?Object(n["sanitize"])(t):t:M(e,t)}function M(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"===j(r).display)return!1;r=r.parentNode}return!0}function T(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 O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return e.scrollY}function N(){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?O(t):e.scrollTop}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e===t?N(t):e.scrollLeft}function I(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 k(e){return e.scrollHeight-e.clientHeight}function B(e){return e.scrollWidth-e.clientWidth}function D(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=j(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 F(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=j(e,r);return""!==i[t]&&void 0!==i[t]?i[t]:void 0}function P(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 j(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.currentStyle||t.getComputedStyle(e)}function U(e){return e.offsetWidth}function H(e){return e.offsetHeight}function V(e){return e.clientHeight||e.innerHeight}function Y(e){return e.clientWidth||e.innerWidth}function W(e,t,r){e.addEventListener(t,r,!1)}function Q(e,t,r){e.removeEventListener(t,r,!1)}function z(e){return e.selectionStart?e.selectionStart:0}function q(e){return e.selectionEnd?e.selectionEnd:0}function G(){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 K(){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 X(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 Z(){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 J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return void 0===$&&($=Z(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 ce(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 ue(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();b(e,"contenteditable",!0),r&&b(e,...Object(i["n"])()),t&&_(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&&v(e,"invisibleSelection"),e.removeAttribute("contenteditable")}function he(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ue(e,r),t(),de(e,r)}},"5e1a":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("a8f0").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})},"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";
  133. //! moment.js locale configuration
  134. 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}))},6:function(e,t){},"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},6062:function(e,t,r){"use strict";r("1c59")},6117:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  135. //! moment.js locale configuration
  136. 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},6150:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},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},6242:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"data-info"},[r("el-card",[r("el-form",{ref:"dataFormRef",attrs:{model:e.dataForm,rules:e.dataRule,"label-width":"120px"}},[r("el-form-item",{attrs:{label:"名称 :"}},[r("el-input",{model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),r("el-form-item",{attrs:{label:"取值类型:"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择取值类型",size:"large",clearable:""},model:{value:e.dataForm.value_type,callback:function(t){e.$set(e.dataForm,"value_type",t)},expression:"dataForm.value_type"}},e._l(e.valueTypeList,(function(e){return r("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})),1)],1),1==e.dataForm.value_type?r("el-form-item",{attrs:{label:"取值:"}},[r("el-input",{model:{value:e.dataForm.value,callback:function(t){e.$set(e.dataForm,"value",t)},expression:"dataForm.value"}})],1):e._e(),2==e.dataForm.value_type?r("el-form-item",{attrs:{label:"取值:"}},[r("el-input",{model:{value:e.dataForm.value,callback:function(t){e.$set(e.dataForm,"value",t)},expression:"dataForm.value"}})],1):e._e(),3==e.dataForm.value_type?r("el-form-item",{attrs:{label:"取值:",prop:"value"}},[r("el-input",{model:{value:e.dataForm.value,callback:function(t){e.$set(e.dataForm,"value",t)},expression:"dataForm.value"}})],1):e._e(),4==e.dataForm.value_type?r("el-form-item",{attrs:{label:"取值:",prop:"value"}},[r("el-input",{model:{value:e.dataForm.value,callback:function(t){e.$set(e.dataForm,"value",t)},expression:"dataForm.value"}},[r("template",{slot:"append"},[e._v("%")])],2)],1):e._e(),5==e.dataForm.value_type?r("el-form-item",{attrs:{label:"取值:",prop:"value"}},[r("el-input",{model:{value:e.dataForm.value,callback:function(t){e.$set(e.dataForm,"value",t)},expression:"dataForm.value"}})],1):e._e(),2==e.dataForm.value_type?r("el-form-item",{attrs:{label:"取值范围:"}},[r("el-select",{ref:"categorySelect",staticStyle:{width:"100%"},attrs:{multiple:"",filterable:"","allow-create":"","default-first-option":"",placeholder:"点击enter创建选择标签","popper-class":"custom-select-dropdown"},model:{value:e.dataForm.value_item,callback:function(t){e.$set(e.dataForm,"value_item",t)},expression:"dataForm.value_item"}})],1):e._e(),r("el-form-item",{attrs:{label:"介绍:"}},[r("el-input",{attrs:{type:"textarea"},model:{value:e.dataForm.intro,callback:function(t){e.$set(e.dataForm,"intro",t)},expression:"dataForm.intro"}})],1),r("el-form-item",{attrs:{label:"状态:"}},[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态",size:"large"},model:{value:e.dataForm.status,callback:function(t){e.$set(e.dataForm,"status",t)},expression:"dataForm.status"}},e._l(e.statusOptions,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),r("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[r("el-button",{attrs:{type:"warning"},on:{click:e.btnSave}},[e._v("确认保存")])],1)],1)},i=[],a=(r("d9e2"),r("a15b"),r("14d9"),r("b0c0"),r("a9e3"),r("b680"),r("ac1f"),r("00b4"),r("498a"),r("3e3e")),o=(r("323e"),{emits:["onClose"],props:{id:{type:Number,default:0},type:{type:Number,default:1}},watch:{type:{handler:function(e){null==e&&e<=0||(this.dataForm.type=e)},immediate:!0,deep:!0},id:{handler:function(e){console.log(e);var t=this;null==e||e<=0||t.getInfo(e)},immediate:!0,deep:!0},hideDropdown:function(e){var t=document.querySelector(".custom-select-dropdown");t&&(t.style.display=e?"none":"")}},data:function(){var e=this,t=function(t,r,n){if(5==e.dataForm.value_type){var i=/^\d+$/;i.test(r)?n():n(new Error("请输入整数"))}else if(4==e.dataForm.value_type){var a=/^(?:100|\d{1,2}(?:\.\d+)?)$/;a.test(r)?n():n(new Error("请输入有效的百分数(0-100%)"))}else if(3==e.dataForm.value_type){var o=/^\d+(\.\d+)?$/;o.test(r)?n():n(new Error("请输入有效的小数"))}};return{activeName:"base",currentCategory:[],valueTypeList:[{value:0,name:"请选择取值类型"},{value:1,name:"输入框"},{value:2,name:"下拉选择"},{value:3,name:"小数"},{value:4,name:"百分比"},{value:5,name:"整数"}],allCategories:[],typeList:[{value:1,name:"变量"},{value:2,name:"常量"}],dataForm:{id:0,type:1,name:"",value:"",value_type:0,value_item:" ",intro:"",status:5},statusOptions:[{value:"",label:"请选择状态"},{value:5,label:"使用中"},{value:6,label:"已停用"}],dataRule:{value:[{required:!0,message:"请输入取值",trigger:"blur"},{validator:t,trigger:"blur"}]},tags:[],shouldPreventDropdown:!0,hideDropdown:!1}},mounted:function(){},methods:{handleSelectFocus:function(e){this.$refs.categorySelect.blur()},createTag:function(){console.log("Enter key pressed, create a tag with:",this.dataForm.value_item),""!==this.dataForm.value_item.trim()&&(this.tags.push(this.dataForm.value_item.trim()),this.dataForm.value_item=""),console.log(this.tags)},resetForm:function(){var e=this;this.dataForm={id:0,type:this.type,name:"",value:"",value_type:0,value_item:"",intro:"",status:5},this.$nextTick((function(){e.$refs.dataFormRef&&e.$refs.dataFormRef.resetFields()}))},btnSave:function(e){var t=this;t.$refs.dataFormRef.validate((function(e){if(e){if(1==t.dataForm.value_type)t.dataForm.value_item=t.dataForm.value;else if(4==t.dataForm.value_type){var r=parseFloat(t.dataForm.value),n=r.toFixed(2)+"%";t.dataForm.value=n}else 2==t.dataForm.value_type&&(t.dataForm.value_item=t.dataForm.value_item.join(","));t.dataForm.code=t.dataForm.name,t.dataForm.id>0?Object(a["e"])(t.dataForm).then((function(e){200==e.status&&(t.resetForm(),t.$alert("信息更新成功"),t.$emit("onClose"))})):Object(a["a"])(t.dataForm).then((function(e){200==e.status&&(t.resetForm(),t.$alert("信息创建成功"),t.$emit("onClose"))})),t.$emit("onClose")}else console.log("错误")}))},getInfo:function(e){var t=this,r={id:e};Object(a["c"])(r).then((function(e){e&&200==e.status&&(t.dataForm=e.data,2==t.dataForm.value_type&&t.dataForm.value_item&&(t.dataForm.value_item=t.dataForm.value_item.split(",")))}))},onChangeStatus:function(e){this.dataForm.status=e},onChangeCategory:function(e){var t=this;t.dataForm.categoryId=e}}}),s=o,l=(r("89a9"),r("2877")),c=Object(l["a"])(s,n,i,!1,null,null,null);t["default"]=c.exports},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}},"62cf":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return null!=e.com?r("div",{staticClass:"editor-attribute"},[r("el-form",[e._l(e.filteredAttrs,(function(t,n){return["TextArea"==e.com.type?[e.isTextAreaType(t.type)?[r("el-form-item",{attrs:{label:t.id+":"}},[r("span",{staticStyle:{cursor:"pointer"},on:{click:function(r){return e.toggleBackground(t.id)}}},[e._v(e._s(t.content))])])]:e._e(),"formual"==t.type?[r("el-form-item",{attrs:{label:t.id+":"}},[r("span",{staticStyle:{cursor:"pointer"},on:{click:function(r){return e.toggleBackground(t.id)}}},[e._v(e._s(t.formula))])])]:e._e(),"sourceData"==t.type?[r("el-form-item",{attrs:{label:t.id+":"}},[e._v(" "+e._s(e.formatSourceData(t.id,t.formula))+" ")])]:e._e()]:e._e()]}))],2),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogVisible,"append-to-body":"",width:"300","custom-class":"prod-verify",title:"编辑表头"},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("headerSetting",{attrs:{headerItemName:e.headerItemName},on:{onSetHeader:e.onSetHeader}})],1)],1):e._e()},i=[],a=r("2909"),o=r("b85c"),s=r("c7eb"),l=r("5530"),c=r("1da1"),u=(r("99af"),r("4de4"),r("caad"),r("d81d"),r("14d9"),r("a434"),r("b0c0"),r("e9c4"),r("b64b"),r("d3b7"),r("ac1f"),r("2532"),r("466d"),r("498a"),r("0643"),r("2382"),r("a573"),r("3721")),d=r("a888"),h=r("c621"),p=(r("1c4c"),r("424e"),{name:"attributes",components:{headerSetting:u["default"]},directives:{elDragDialog:d["a"]},emits:["onRefresh"],props:{com:{type:Object,default:function(){return null}}},watch:{com:{handler:function(e){e&&e.content&&this.processContent()},deep:!0}},data:function(){return{dialogVisible:!1,activeNames:"0",categoryList:[],articleCategoryList:[],activeHeaderIndex:-1,headerItemName:"",props:{value:"id",label:"name",children:"children"},processedAttrs:[]}},computed:{filteredAttrs:function(){return console.log("processedAttrs",this.processedAttrs),this.processedAttrs}},mounted:function(){this.initCategoryList(),this.com&&this.com.content&&this.processContent()},methods:{toggleBackground:function(e){var t=document.getElementById(e);t&&("yellow"===t.style.backgroundColor?t.style.backgroundColor="":t.style.backgroundColor="yellow")},updateAllReferences:function(e,t){this.com.attrs.map((function(r){r.name==e.name&&(r.content=t)}))},isTextAreaType:function(e){return!["pager","constant","attr","formual","sourceData","Directory"].includes(e)},extractTemplates:function(e){var t,r=/\{\{(.*?)\}\}/g,n=[];while(null!==(t=r.exec(e)))n.push(t[1].trim());return n},processContent:function(){if(this.com&&this.com.content){var e=this.extractTemplates(this.com.content);this.com.attrs&&Array.isArray(this.com.attrs)&&(this.processedAttrs=this.com.attrs.filter((function(t){return e.includes(t.id)||"formual"===t.type})))}else this.processedAttrs=[]},formatSourceData:function(e,t){var r=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,n=t.match(r),i=n[4].split(",");return"".concat(e,"=").concat(n[2],".").concat(n[3],".").concat(String.fromCharCode(65+parseInt(i[1]))).concat(parseInt(i[0])+1)},onSaveTemplate:function(e){var t=this;return Object(c["a"])(Object(s["a"])().mark((function r(){var n,i,a;return Object(s["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=Object(l["a"])(Object(l["a"])({},e),{},{attrs:JSON.stringify(e.attrs),status:5}),delete n.category,void 0!==n.id&&!t.saveAs){r.next=9;break}return r.next=5,Object(h["a"])(n);case 5:i=r.sent,200===i.status&&(n.id=i.data,t.com.id=i.data,t.$alert("模板信息保存成功"),t.$emit("onRefresh"),t.saveAs=!1),r.next=13;break;case 9:return r.next=11,Object(h["l"])(n);case 11:a=r.sent,200===a.status&&(t.$alert("模板信息更新成功"),t.$emit("onRefresh"));case 13:case"end":return r.stop()}}),r)})))()},initCategoryList:function(){var e=this;return Object(c["a"])(Object(s["a"])().mark((function t(){var r,n,i,a;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(h["j"])({page:1,pageSize:99,status:5});case 2:if(r=t.sent,200!==r.status){t.next=23;break}e.categoryList=r.data.dataList||[],n=Object(o["a"])(e.categoryList),t.prev=6,n.s();case 8:if((i=n.n()).done){t.next=15;break}return a=i.value,t.next=12,e.getTemplateList(a.id);case 12:a.dataList=t.sent;case 13:t.next=8;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t["catch"](6),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:case"end":return t.stop()}}),t,null,[[6,17,20,23]])})))()},getTemplateList:function(e){return Object(c["a"])(Object(s["a"])().mark((function t(){var r;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(h["i"])({page:1,pageSize:999,category_id:e,status:5});case 2:if(r=t.sent,200!==r.status){t.next=5;break}return t.abrupt("return",r.data.dataList.map((function(e){return Object(l["a"])(Object(l["a"])({},e),{},{attrs:JSON.parse(e.attrs)})})));case 5:return t.abrupt("return",[]);case 6:case"end":return t.stop()}}),t)})))()},onModify:function(e,t,r){this.currentIndex=e,this.componentIndex=t,this.activeHeaderIndex=r,this.headerItemName=this.components[e].components[t].attrs.tableHeader[r],this.dialogVisible=!0},onSetHeader:function(e){if(this.currentIndex>=0){var t=this.components[this.currentIndex].components[this.componentIndex].attrs.tableHeader;this.activeHeaderIndex>=0?t[this.activeHeaderIndex]=e:t.push(e)}this.$emit("onSetComponents",Object(a["a"])(this.components)),this.dialogVisible=!1},onInsert:function(e,t){this.currentIndex=e,this.componentIndex=t,this.headerItemName="",this.dialogVisible=!0},onDeleteHeaderItem:function(e,t,r){this.components[e].components[t].attrs.tableHeader.splice(r,1),this.$emit("onSetComponents",Object(a["a"])(this.components))},onSetActiveIndex:function(e){this.activeHeaderIndex=e===this.activeHeaderIndex?-1:e}}}),f=p,m=(r("a2ff"),r("2877")),A=Object(m["a"])(f,n,i,!1,null,null,null);t["default"]=A.exports},6306:function(e,t,r){var n=r("64b5");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},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 c})),r.d(t,"isChrome",(function(){return u})),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 A})),r.d(t,"isMobileBrowser",(function(){return g})),r.d(t,"isIOS",(function(){return _})),r.d(t,"isIpadOS",(function(){return v})),r.d(t,"isWindowsOS",(function(){return b})),r.d(t,"isMacOS",(function(){return w})),r.d(t,"isLinuxOS",(function(){return y}));var n=r("351d"),i=r("7dd0");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 c(){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 u(){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 A(){return o.edgeWebKit.value}function g(){return o.mobile.value}function _(){return s.ios.value}function v(){let{maxTouchPoints:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator;return e>2&&s.mac.value}function b(){return s.win.value}function w(){return s.mac.value}function y(){return s.linux.value}Object(i["isCSR"])()&&(l(),c())},6403:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  137. //! moment.js locale configuration
  138. 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("7d72").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},"64b5":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}')},6566:function(e,t,r){"use strict";var n=r("7c73"),i=r("edd0"),a=r("6964"),o=r("0366"),s=r("19aa"),l=r("7234"),c=r("2266"),u=r("c6d2"),d=r("4754"),h=r("2626"),p=r("83ab"),f=r("f183").fastKey,m=r("69f3"),A=m.set,g=m.getterFor;e.exports={getConstructor:function(e,t,r,u){var d=e((function(e,i){s(e,h),A(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),p||(e.size=0),l(i)||c(i,e[u],{that:e,AS_ENTRIES:r})})),h=d.prototype,m=g(t),_=function(e,t,r){var n,i,a=m(e),o=v(e,t);return o?o.value=r:(a.last=o={index:i=f(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=o),n&&(n.next=o),p?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},v=function(e,t){var r,n=m(e),i=f(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===t)return r};return a(h,{clear:function(){var e=this,t=m(e),r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),r=r.next;t.first=t.last=void 0,t.index=n(null),p?t.size=0:e.size=0},delete:function(e){var t=this,r=m(t),n=v(t,e);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first===n&&(r.first=i),r.last===n&&(r.last=a),p?r.size--:t.size--}return!!n},forEach:function(e){var t,r=m(this),n=o(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:r.first){n(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!v(this,e)}}),a(h,r?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return _(this,0===e?0:e,t)}}:{add:function(e){return _(this,e=0===e?0:e,e)}}),p&&i(h,"size",{configurable:!0,get:function(){return m(this).size}}),d},setStrong:function(e,t,r){var n=t+" Iterator",i=g(t),a=g(n);u(e,t,(function(e,t){A(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,r=e.last;while(r&&r.removed)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?d("keys"===t?r.key:"values"===t?r.value:[r.key,r.value],!1):(e.target=void 0,d(void 0,!0))}),r?"entries":"values",!r,!0),h(t)}}},"65db":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  139. //! moment.js locale configuration
  140. 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}))},6691:function(e,t,r){"use strict";r("154a")},6727:function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var i=r("44e8").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])}}},"675b":function(e,t,r){},"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()),c=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(l,c)},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";
  141. //! moment.js locale configuration
  142. 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}))},"67a8":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,c=2,u=[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,A,g,_){var v,b,w,y,E,C,S,M,x,T=_.bits,O=0,N=0,R=0,L=0,I=0,k=0,B=0,D=0,F=0,P=0,j=null,U=0,H=new n.Buf16(i+1),V=new n.Buf16(i+1),Y=null,W=0;for(O=0;O<=i;O++)H[O]=0;for(N=0;N<f;N++)H[t[r+N]]++;for(I=T,L=i;L>=1;L--)if(0!==H[L])break;if(I>L&&(I=L),0===L)return m[A++]=20971520,m[A++]=20971520,_.bits=1,0;for(R=1;R<L;R++)if(0!==H[R])break;for(I<R&&(I=R),D=1,O=1;O<=i;O++)if(D<<=1,D-=H[O],D<0)return-1;if(D>0&&(e===s||1!==L))return-1;for(V[1]=0,O=1;O<i;O++)V[O+1]=V[O]+H[O];for(N=0;N<f;N++)0!==t[r+N]&&(g[V[t[r+N]]++]=N);if(e===s?(j=Y=g,C=19):e===l?(j=u,U-=257,Y=d,W-=257,C=256):(j=h,Y=p,C=-1),P=0,N=0,O=R,E=A,k=I,B=0,w=-1,F=1<<I,y=F-1,e===l&&F>a||e===c&&F>o)return 1;for(;;){S=O-B,g[N]<C?(M=0,x=g[N]):g[N]>C?(M=Y[W+g[N]],x=j[U+g[N]]):(M=96,x=0),v=1<<O-B,b=1<<k,R=b;do{b-=v,m[E+(P>>B)+b]=S<<24|M<<16|x|0}while(0!==b);v=1<<O-1;while(P&v)v>>=1;if(0!==v?(P&=v-1,P+=v):P=0,N++,0===--H[O]){if(O===L)break;O=t[r+g[N]]}if(O>I&&(P&y)!==w){0===B&&(B=I),E+=R,k=O-B,D=1<<k;while(k+B<L){if(D-=H[k+B],D<=0)break;k++,D<<=1}if(F+=1<<k,e===l&&F>a||e===c&&F>o)return 1;w=P&y,m[w]=I<<24|k<<16|E-A|0}}return 0!==P&&(m[E+P]=O-B<<24|64<<16|0),_.bits=I,0}},6887:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  143. //! moment.js locale configuration
  144. 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,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^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:u,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:c,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";
  145. //! moment.js locale configuration
  146. 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},c=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,u=l(arguments,1),d=function(){if(this instanceof r){var n=t.apply(this,s(u,arguments));return Object(n)===n?n:this}return t.apply(e,s(u,arguments))},h=a(0,t.length-u.length),p=[],f=0;f<h;f++)p[f]="$"+f;if(r=Function("binder","return function ("+c(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"),c=r("a023"),u=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=c.createParser(),n=r.parseFromString(c.sanitizeInput(t,this._options.invalidCharReplacement),"text/xml");if(null===n.documentElement)throw new Error("Document element is null.");c.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(c.sanitizeInput(n,this._options.invalidCharReplacement),c.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=c.sanitizeInput(a,this._options.invalidCharReplacement),n=c.sanitizeInput(n,this._options.invalidCharReplacement),o=c.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 A=null;if("xmlns"===h?(n=u.namespace.XMLNS,null===d.namespaceURI&&f===p&&(A=o)):null===h&&"xmlns"===p&&null===f&&(n=u.namespace.XMLNS,A=o),null!==A){const e=l.create_element(this._doc,m,A,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=c.sanitizeInput(n,this._options.invalidCharReplacement),r=c.sanitizeInput(r,this._options.invalidCharReplacement),this.node.removeAttributeNS(r,n)):(n=c.sanitizeInput(n,this._options.invalidCharReplacement),this.node.removeAttribute(n)),this}txt(e){const t=this._doc.createTextNode(c.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this}com(e){const t=this._doc.createComment(c.sanitizeInput(e,this._options.invalidCharReplacement));return this.node.appendChild(t),this}dat(e){const t=this._doc.createCDATASection(c.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(c.sanitizeInput(e,this._options.invalidCharReplacement),c.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=c.sanitizeInput(e&&e.name||(this._doc.documentElement?this._doc.documentElement.tagName:"ROOT"),this._options.invalidCharReplacement),r=c.sanitizeInput(e&&e.pubID||"",this._options.invalidCharReplacement),n=c.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},"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},"68df":function(e,t,r){"use strict";var n=r("dc19"),i=r("8e16"),a=r("384f"),o=r("7f65");e.exports=function(e){var t=n(this),r=o(e);return!(i(t)>r.size)&&!1!==a(t,(function(e){if(!r.includes(e))return!1}),!0)}},6906:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("d9e2");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(u(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]=c().find(t=>{let[r,n]=t;return e===n&&r})||[null];return t}function l(e){return t.get(e)}function c(){return[...t]}function u(e){return t.has(e)}return e=Object(n["isFunction"])(e)?e:i,{addItem:r,clear:o,getId:s,getItem:l,getItems:c,hasItem:u,removeItem:a}}},6909:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  147. //! moment.js locale configuration
  148. 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 u(t,(e,t)=>{b(t)?n[e]=l(n[e],t):(r||void 0===n[e])&&(n[e]=t)}),n}function c(e,t,r){e.forEach(t,r)}function u(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 y(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(v(e))return e;if(w(e)){const t=[];for(const r of e)t.push(m(r));return t}if(b(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 A(e){return"boolean"===typeof e}function g(e){return"number"===typeof e}function _(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 w(e){return Array.isArray(e)}function y(e){return e instanceof Set}function E(e){return e instanceof Map}function C(e){if(w(e))return!e.length;if(y(e))return!e.size;if(E(e))return!e.size;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 M(e){return e&&"function"===typeof e[Symbol.iterator]}function x(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 O(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=c,t.forEachObject=u,t.arrayLength=d,t.objectLength=h,t.getObjectValue=p,t.removeObjectValue=f,t.clone=m,t.isBoolean=A,t.isNumber=g,t.isString=_,t.isFunction=v,t.isObject=b,t.isArray=w,t.isSet=y,t.isMap=E,t.isEmpty=C,t.isPlainObject=S,t.isIterable=M,t.getValue=x,t.utf8Encode=T,t.utf8Decode=O},"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 c=o(e),u=a+l*s;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var d=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,d)}},"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 c in l)t[c]=l[c];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 u=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,c,u,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=c,this.strm.next_out=u,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]!==u){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,c=t.nextToken();while(c.type!==i.TokenType.EOF){switch(c.type){case i.TokenType.Declaration:const e=c;if("1.0"!==e.version)throw new Error("Invalid xml version: "+e.version);break;case i.TokenType.DocType:const t=c;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=c;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 u=c;if(!o.xml_isLegalChar(u.data)||-1!==u.data.indexOf("--")||u.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");l.appendChild(r.createComment(u.data));break;case i.TokenType.PI:const d=c;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=c;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=c,[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 A=l.lookupNamespaceURI(f);const g={};for(const[r,i]of p.attributes)if("xmlns"===r)A=i;else{const[e,t]=o.namespace_extractQName(r);"xmlns"===e&&(t===f&&(A=i),g[t]=i)}const _=null!==A?r.createElementNS(A,p.name):r.createElement(p.name);l.appendChild(_);const v=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=_.lookupNamespaceURI(e),null!==n&&_.isDefaultNamespace(n)?n=null:null===n&&null!==e&&(n=g[e]||null)),v.has(n,t))throw new Error("Element contains duplicate attributes.");if(v.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?_.setAttributeNS(n,r,i):_.setAttribute(r,i)}p.selfClosing||(l=_);break;case i.TokenType.ClosingTag:const b=c;if(b.name!==l.nodeName)throw new Error("Closing tag name does not match opening tag name.");l._parent&&(l=l._parent);break}c=t.nextToken()}return r}}t.XMLParserImpl=l},"6ce3":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  149. //! moment.js locale configuration
  150. 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:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én 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";
  151. //! moment.js locale configuration
  152. 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";
  153. //! moment.js locale configuration
  154. 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";
  155. //! moment.js locale configuration
  156. 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}))},"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,c=n.sum32_5,u=a.ch32,d=a.maj32,h=a.s0_256,p=a.s1_256,f=a.g0_256,m=a.g1_256,A=i.BlockHash,g=[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 _(){if(!(this instanceof _))return new _;A.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}n.inherits(_,A),e.exports=_,_.blockSize=512,_.outSize=256,_.hmacStrength=192,_.padLength=64,_.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],A=this.h[2],g=this.h[3],_=this.h[4],v=this.h[5],b=this.h[6],w=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var y=c(w,p(_),u(_,v,b),this.k[n],r[n]),E=s(h(i),d(i,a,A));w=b,b=v,v=_,_=s(g,y),g=A,A=a,a=i,i=s(y,E)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],A),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],_),this.h[5]=s(this.h[5],v),this.h[6]=s(this.h[6],b),this.h[7]=s(this.h[7],w)},_.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";
  157. //! moment.js locale configuration
  158. 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}))},"6f48":function(e,t,r){"use strict";var n=r("6d61"),i=r("6566");n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"6f50":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  159. //! moment.js locale configuration
  160. 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},"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"),c=r("cd91"),u=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!==u)throw new Error("illegal or unsupported padding mode");e=n.concat([o,e]);var c=s.modulus.byteLength(),d=[0,1];while(e.length+d.length+1<c)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=c[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,c=new s(0),u=A(e,o).mod(o),d=!1,h=m(i,o,e,r);while(!1===d)n=_(o,h,r),c=v(l,n,a,o),d=n.invm(o).imul(u.add(i.mul(c))).mod(o),0===d.cmpn(0)&&(d=!1,c=new s(0));return f(c,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=g(r,t),c=n.alloc(s);c.fill(1);var u=n.alloc(s);return u=i(a,u).update(c).update(n.from([0])).update(e).update(l).digest(),c=i(a,u).update(c).digest(),u=i(a,u).update(c).update(n.from([1])).update(e).update(l).digest(),c=i(a,u).update(c).digest(),{k:u,v:c}}function A(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function g(e,t){e=A(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 _(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=A(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 v(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=_},7:function(e,t){},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},"70fd":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":"‌"}')},7118:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  161. //! moment.js locale configuration
  162. 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},"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 X})),r.d(t,"a",(function(){return $}));var n=Uint8Array,i=Uint16Array,a=Int32Array,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]),c=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{b:r,r:o}},u=c(o,2),d=u.b,h=u.r;d[28]=258,h[258]=28;for(var p=c(s,0),f=p.b,m=p.r,A=new i(32768),g=0;g<32768;++g){var _=(43690&g)>>1|(21845&g)<<1;_=(52428&_)>>2|(13107&_)<<2,_=(61680&_)>>4|(3855&_)<<4,A[g]=((65280&_)>>8|(255&_)<<8)>>1}var v=function(e,t,r){for(var n=e.length,a=0,o=new i(t);a<n;++a)e[a]&&++o[e[a]-1];var s,l=new i(t);for(a=1;a<t;++a)l[a]=l[a-1]+o[a-1]<<1;if(r){s=new i(1<<t);var c=15-t;for(a=0;a<n;++a)if(e[a])for(var u=a<<4|e[a],d=t-e[a],h=l[e[a]-1]++<<d,p=h|(1<<d)-1;h<=p;++h)s[A[h]>>c]=u}else for(s=new i(n),a=0;a<n;++a)e[a]&&(s[a]=A[l[e[a]-1]++]>>15-e[a]);return s},b=new n(288);for(g=0;g<144;++g)b[g]=8;for(g=144;g<256;++g)b[g]=9;for(g=256;g<280;++g)b[g]=7;for(g=280;g<288;++g)b[g]=8;var w=new n(32);for(g=0;g<32;++g)w[g]=5;var y=v(b,9,0),E=v(b,9,1),C=v(w,5,0),S=v(w,5,1),M=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},T=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},O=function(e){return(e+7)/8|0},N=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new n(e.subarray(t,r))},R=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],L=function(e,t,r){var n=new Error(t||R[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,L),!r)throw n;return n},I=function(e,t,r,i){var a=e.length,c=i?i.length:0;if(!a||t.f&&!t.l)return r||new n(0);var u=!r,h=u||2!=t.i,p=t.i;u&&(r=new n(3*a));var m=function(e){var t=r.length;if(e>t){var i=new n(Math.max(2*t,e));i.set(r),r=i}},A=t.f||0,g=t.p||0,_=t.b||0,b=t.l,w=t.d,y=t.m,C=t.n,R=8*a;do{if(!b){A=x(e,g,1);var I=x(e,g+1,3);if(g+=3,!I){var k=O(g)+4,B=e[k-4]|e[k-3]<<8,D=k+B;if(D>a){p&&L(0);break}h&&m(_+B),r.set(e.subarray(k,D),_),t.b=_+=B,t.p=g=8*D,t.f=A;continue}if(1==I)b=E,w=S,y=9,C=5;else if(2==I){var F=x(e,g,31)+257,P=x(e,g+10,15)+4,j=F+x(e,g+5,31)+1;g+=14;for(var U=new n(j),H=new n(19),V=0;V<P;++V)H[l[V]]=x(e,g+3*V,7);g+=3*P;var Y=M(H),W=(1<<Y)-1,Q=v(H,Y,1);for(V=0;V<j;){var z=Q[x(e,g,W)];g+=15&z;k=z>>4;if(k<16)U[V++]=k;else{var q=0,G=0;16==k?(G=3+x(e,g,3),g+=2,q=U[V-1]):17==k?(G=3+x(e,g,7),g+=3):18==k&&(G=11+x(e,g,127),g+=7);while(G--)U[V++]=q}}var K=U.subarray(0,F),X=U.subarray(F);y=M(K),C=M(X),b=v(K,y,1),w=v(X,C,1)}else L(1);if(g>R){p&&L(0);break}}h&&m(_+131072);for(var $=(1<<y)-1,Z=(1<<C)-1,J=g;;J=g){q=b[T(e,g)&$];var ee=q>>4;if(g+=15&q,g>R){p&&L(0);break}if(q||L(2),ee<256)r[_++]=ee;else{if(256==ee){J=g,b=null;break}var te=ee-254;if(ee>264){V=ee-257;var re=o[V];te=x(e,g,(1<<re)-1)+d[V],g+=re}var ne=w[T(e,g)&Z],ie=ne>>4;ne||L(3),g+=15&ne;X=f[ie];if(ie>3){re=s[ie];X+=T(e,g)&(1<<re)-1,g+=re}if(g>R){p&&L(0);break}h&&m(_+131072);var ae=_+te;if(_<X){var oe=c-X,se=Math.min(X,ae);for(oe+_<0&&L(3);_<se;++_)r[_]=i[oe+_]}for(;_<ae;++_)r[_]=r[_-X]}}t.l=b,t.p=J,t.b=_,t.f=A,b&&(A=1,t.m=y,t.d=w,t.n=C)}while(!A);return _!=r.length&&u?N(r,0,_):r.subarray(0,_)},k=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},B=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},D=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{t:Y,l:0};if(1==o){var l=new n(r[0].s+1);return l[r[0].s]=1,{t:l,l:1}}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var c=r[0],u=r[1],d=0,h=1,p=2;r[0]={s:-1,f:c.f+u.f,l:c,r:u};while(h!=o-1)c=r[r[d].f<r[p].f?d++:p++],u=r[d!=h&&r[d].f<r[p].f?d++:p++],r[h++]={s:-1,f:c.f+u.f,l:c,r:u};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),A=F(r[h-1],m,0);if(A>t){a=0;var g=0,_=A-t,v=1<<_;for(s.sort((function(e,t){return m[t.s]-m[e.s]||e.f-t.f}));a<o;++a){var b=s[a].s;if(!(m[b]>t))break;g+=v-(1<<A-m[b]),m[b]=t}g>>=_;while(g>0){var w=s[a].s;m[w]<t?g-=1<<t-m[w]++-1:++a}for(;a>=0&&g;--a){var y=s[a].s;m[y]==t&&(--m[y],++g)}A=t}return{t:new n(m),l:A}},F=function(e,t,r){return-1==e.s?Math.max(F(e.l,t,r+1),F(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{c:r.subarray(0,n),n:t}},j=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},U=function(e,t,r){var n=r.length,i=O(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,c,u,d,h,p,f){k(t,f++,r),++a[256];for(var m=D(a,15),A=m.t,g=m.l,_=D(c,15),E=_.t,S=_.l,M=P(A),x=M.c,T=M.n,O=P(E),N=O.c,R=O.n,L=new i(19),I=0;I<x.length;++I)++L[31&x[I]];for(I=0;I<N.length;++I)++L[31&N[I]];for(var F=D(L,7),H=F.t,V=F.l,Y=19;Y>4&&!H[l[Y-1]];--Y);var W,Q,z,q,G=p+5<<3,K=j(a,b)+j(c,w)+u,X=j(a,A)+j(c,E)+u+14+3*Y+j(L,H)+2*L[16]+3*L[17]+7*L[18];if(h>=0&&G<=K&&G<=X)return U(t,f,e.subarray(h,h+p));if(k(t,f,1+(X<K)),f+=2,X<K){W=v(A,g,0),Q=A,z=v(E,S,0),q=E;var $=v(H,V,0);k(t,f,T-257),k(t,f+5,R-1),k(t,f+10,Y-4),f+=14;for(I=0;I<Y;++I)k(t,f+3*I,H[l[I]]);f+=3*Y;for(var Z=[x,N],J=0;J<2;++J){var ee=Z[J];for(I=0;I<ee.length;++I){var te=31&ee[I];k(t,f,$[te]),f+=H[te],te>15&&(k(t,f,ee[I]>>5&127),f+=ee[I]>>12)}}}else W=y,Q=b,z=C,q=w;for(I=0;I<d;++I){var re=n[I];if(re>255){te=re>>18&31;B(t,f,W[te+257]),f+=Q[te+257],te>7&&(k(t,f,re>>23&31),f+=o[te]);var ne=31&re;B(t,f,z[ne]),f+=q[ne],ne>3&&(B(t,f,re>>5&8191),f+=s[ne])}else B(t,f,W[re]),f+=Q[re]}return B(t,f,W[256]),f+Q[256]},V=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Y=new n(0),W=function(e,t,r,l,c,u){var d=u.z||e.length,p=new n(l+d+5*(1+Math.ceil(d/7e3))+c),f=p.subarray(l,p.length-c),A=u.l,g=7&(u.r||0);if(t){g&&(f[0]=u.r>>3);for(var _=V[t-1],v=_>>13,b=8191&_,w=(1<<r)-1,y=u.p||new i(32768),E=u.h||new i(w+1),C=Math.ceil(r/3),S=2*C,M=function(t){return(e[t]^e[t+1]<<C^e[t+2]<<S)&w},x=new a(25e3),T=new i(288),R=new i(32),L=0,I=0,k=u.i||0,B=0,D=u.w||0,F=0;k+2<d;++k){var P=M(k),j=32767&k,Y=E[P];if(y[j]=Y,E[P]=j,D<=k){var W=d-k;if((L>7e3||B>24576)&&(W>423||!A)){g=H(e,f,0,x,T,R,I,B,F,k-F,g),B=L=I=0,F=k;for(var Q=0;Q<286;++Q)T[Q]=0;for(Q=0;Q<30;++Q)R[Q]=0}var z=2,q=0,G=b,K=j-Y&32767;if(W>2&&P==M(k-K)){var X=Math.min(v,W)-1,$=Math.min(32767,k),Z=Math.min(258,W);while(K<=$&&--G&&j!=Y){if(e[k+z]==e[k+z-K]){for(var J=0;J<Z&&e[k+J]==e[k+J-K];++J);if(J>z){if(z=J,q=K,J>X)break;var ee=Math.min(K,J-2),te=0;for(Q=0;Q<ee;++Q){var re=k-K+Q&32767,ne=y[re],ie=re-ne&32767;ie>te&&(te=ie,Y=re)}}}j=Y,Y=y[j],K+=j-Y&32767}}if(q){x[B++]=268435456|h[z]<<18|m[q];var ae=31&h[z],oe=31&m[q];I+=o[ae]+s[oe],++T[257+ae],++R[oe],D=k+z,++L}else x[B++]=e[k],++T[e[k]]}}for(k=Math.max(k,D);k<d;++k)x[B++]=e[k],++T[e[k]];g=H(e,f,A,x,T,R,I,B,F,k-F,g),A||(u.r=7&g|f[g/8|0]<<3,g-=7,u.h=E,u.p=y,u.i=k,u.w=D)}else{for(k=u.w||0;k<d+A;k+=65535){var se=k+65535;se>=d&&(f[g/8|0]=A,se=d),g=U(f,g+1,e.subarray(k,se))}u.i=d}return N(p,0,l+O(g)+c)},Q=function(){var e=1,t=0;return{p:function(r){for(var n=e,i=t,a=0|r.length,o=0;o!=a;){for(var s=Math.min(o+2655,a);o<s;++o)i+=n+=r[o];n=(65535&n)+15*(n>>16),i=(65535&i)+15*(i>>16)}e=n,t=i},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},z=function(e,t,r,i,a){if(!a&&(a={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),s=new n(o.length+e.length);s.set(o),s.set(e,o.length),e=s,a.w=o.length}return W(e,null==t.level?6:t.level,null==t.mem?a.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,i,a)},q=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},G=function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;if(e[0]=120,e[1]=n<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=Q();i.p(t.dictionary),q(e,2,i.d())}},K=function(e,t){return(8!=(15&e[0])||e[0]>>4>7||(e[0]<<8|e[1])%31)&&L(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&L(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),2+(e[1]>>3&4)};function X(e,t){t||(t={});var r=Q();r.p(e);var n=z(e,t,t.dictionary?6:2,4);return G(n,t),q(n,n.length-4,r.d()),n}function $(e,t){return I(e.subarray(K(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Z="undefined"!=typeof TextDecoder&&new TextDecoder;try{Z.decode(Y,{stream:!0}),1}catch(J){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},"72c3":function(e,t,r){"use strict";var n=r("23e7"),i=r("e9bc"),a=r("dad2");n({target:"Set",proto:!0,real:!0,forced:!a("union")},{union:i})},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";
  163. //! moment.js locale configuration
  164. 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}))},7369:function(e,t,r){"use strict";r.r(t);var n=r("bfd6");r.d(t,"dataSearch",(function(){return n["default"]}));var i=r("1592");r.d(t,"dataList",(function(){return i["default"]}))},"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("44d2");n("flatMap")},"74a2d":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";
  165. //! moment.js locale configuration
  166. 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},7558:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  167. //! moment.js locale configuration
  168. function t(e,t,r,n){var i={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?i[r][0]:i[r][1]}function r(e){e=""+e;var t=e.substring(e.length-1),r=e.length>1?e.substring(e.length-2):"";return 12==r||13==r||"2"!=t&&"3"!=t&&"50"!=r&&"70"!=t&&"80"!=t?"ê":"yê"}var n=e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,r){return e<12?r?"bn":"BN":r?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+r(e)},week:{dow:1,doy:4}});return n}))},"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,c=e.crypto||e.msCrypto,u=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>u||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>u||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 c.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)}c&&c.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 c})),r.d(t,"b",(function(){return u}));r("d9e2");var n=r("9acd"),i=r("491c"),a=r("3d76"),o=r("169f");const{register:s,getItem:l,hasItem:c,getNames:u,getValues:d}=Object(n["a"])("cellTypes");function h(e){if(!c(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)},"7723f":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}')},7797:function(e,t,r){t.encode=r("3de9"),t.decode=r("333d")},"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 c(e){return n(e)?void 0:e[0]}function u(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 A(e,t){return void 0===t&&(t=1),e.slice(0,e.length-t)}function g(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 _(e,t){return g(e,(function(e){return!t(e)}))}function v(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 b(e,t){return!!L(e)&&e.hasOwnProperty(t)}function w(e,t){return void 0!==C(e,(function(e){return e===t}))}function y(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 C(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t.call(null,n))return n}}function S(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 M(e,t,r){for(var n=Array.isArray(e),o=n?e:a(e),s=n?[]:i(e),l=r,c=0;c<o.length;c++)l=t.call(null,l,o[c],n?c:s[c]);return l}function x(e){return _(e,(function(e){return null===e||void 0===e}))}function T(e,t){void 0===t&&(t=function(e){return e});var r=[];return M(e,(function(e,n){var i=t(n);return w(r,i)?e:(r.push(i),e.concat(n))}),[])}function O(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 N(e){return Array.isArray(e)}function R(e){return e instanceof RegExp}function L(e){return e instanceof Object}function I(e,t){for(var r=0;r<e.length;r++)if(!t(e[r],r))return!1;return!0}function k(e,t){return _(e,(function(e){return w(t,e)}))}function B(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return!0;return!1}function D(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1}function F(e,t){var r=y(e);return r.sort((function(e,r){return t(e)-t(r)})),r}function P(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 j(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 U(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];b(e,l)||(e[l]=a[l])}}return e}function H(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return U.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 W(){}function Q(e){return e}function z(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 q(e){console&&console.error&&console.error("Error: "+e)}function G(e){console&&console.warn&&console.warn("Warning: "+e)}function K(){return"function"===typeof Map}function X(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 Z(e){return e[e.length-1]}function J(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 c})),r.d(t,"H",(function(){return u})),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 A})),r.d(t,"p",(function(){return g})),r.d(t,"P",(function(){return _})),r.d(t,"N",(function(){return v})),r.d(t,"w",(function(){return b})),r.d(t,"j",(function(){return w})),r.d(t,"g",(function(){return y})),r.d(t,"h",(function(){return E})),r.d(t,"q",(function(){return C})),r.d(t,"r",(function(){return S})),r.d(t,"O",(function(){return M})),r.d(t,"i",(function(){return x})),r.d(t,"T",(function(){return T})),r.d(t,"y",(function(){return N})),r.d(t,"D",(function(){return R})),r.d(t,"C",(function(){return L})),r.d(t,"o",(function(){return I})),r.d(t,"l",(function(){return k})),r.d(t,"Q",(function(){return B})),r.d(t,"x",(function(){return D})),r.d(t,"f",(function(){return j})),r.d(t,"k",(function(){return H})),r.d(t,"v",(function(){return V})),r.d(t,"K",(function(){return Y})),r.d(t,"b",(function(){return W})),r.d(t,"a",(function(){return Q})),r.d(t,"L",(function(){return z})),r.d(t,"c",(function(){return q})),r.d(t,"d",(function(){return G})),r.d(t,"z",(function(){return K})),r.d(t,"e",(function(){return X})),r.d(t,"S",(function(){return $})),r.d(t,"M",(function(){return Z})),r.d(t,"R",(function(){return J}))},"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)},"780f":function(e,t,r){"use strict";e.exports=a;var n=r("27bf"),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)}},"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"},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,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!o&&o(e,t);if(n)n(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},"79a4":function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),a=r("953b"),o=r("dad2"),s=!o("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));n({target:"Set",proto:!0,real:!0,forced:s},{intersection:a})},"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 c=e.shrn(l),u=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(c);if(0!==p.cmp(o)&&0!==p.cmp(u)){for(var f=1;f<l;f++){if(p=p.redSqr(),0===p.cmp(o))return!1;if(0===p.cmp(u))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),c=o.toRed(i);t>0;t--){var u=this._randrange(new n(2),o),d=e.gcd(u);if(0!==d.cmpn(1))return d;var h=u.toRed(i).redPow(l);if(0!==h.cmp(a)&&0!==h.cmp(c)){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(c))break}if(p===s)return h=h.redSqr(),h.fromRed().subn(1).gcd(e)}}return!1}},"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},"7a74":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 c="function"==typeof i&&i;if(!l&&c)return i(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}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,c,u=[],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,c=2<p?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(l)+a.charAt(c));return u.join("")},r.decode=function(e){var t,r,n,o,s,l,c=0,u=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);c<e.length;)t=a.indexOf(e.charAt(c++))<<2|(o=a.indexOf(e.charAt(c++)))>>4,r=(15&o)<<4|(s=a.indexOf(e.charAt(c++)))>>2,n=(3&s)<<6|(l=a.indexOf(e.charAt(c++))),h[u++]=t,64!==s&&(h[u++]=r),64!==l&&(h[u++]=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,u){var d,h,p=e.file,f=e.compression,m=u!==s.utf8encode,A=a.transformTo("string",u(p.name)),g=a.transformTo("string",s.utf8encode(p.name)),_=p.comment,v=a.transformTo("string",u(_)),b=a.transformTo("string",s.utf8encode(_)),w=g.length!==p.name.length,y=b.length!==_.length,E="",C="",S="",M=p.dir,x=p.date,T={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(T.crc32=e.crc32,T.compressedSize=e.compressedSize,T.uncompressedSize=e.uncompressedSize);var O=0;t&&(O|=8),m||!w&&!y||(O|=2048);var N=0,R=0;M&&(N|=16),"UNIX"===o?(R=798,N|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(p.unixPermissions,M)):(R=20,N|=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(),w&&(C=n(1,1)+n(l(A),4)+g,E+="up"+n(C.length,2)+C),y&&(S=n(1,1)+n(l(v),4)+b,E+="uc"+n(S.length,2)+S);var L="";return L+="\n\0",L+=n(O,2),L+=f.magic,L+=n(d,2),L+=n(h,2),L+=n(T.crc32,4),L+=n(T.compressedSize,4),L+=n(T.uncompressedSize,4),L+=n(A.length,2),L+=n(E.length,2),{fileRecord:c.LOCAL_FILE_HEADER+L+A+E,dirRecord:c.CENTRAL_FILE_HEADER+n(R,2)+L+n(v.length,2)+"\0\0\0\0"+n(N,4)+n(i,4)+A+E+v}}var a=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(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(u,o),u.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}}))},u.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},u.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 c.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},u.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 c.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}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.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},u.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))},u.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},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../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,c=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:l,date:c,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 c(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(c(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,c=n.resolve(s.fileNameStr);r.file(c,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(c).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))&&A.call(this,n,!0);var d="string"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!d),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string");var g=null;g=t instanceof c||t instanceof o?t:h.isNode&&h.isStream(t)?new p(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var _=new u(e,g,s);this.files[e]=_}var i=e("./utf8"),a=e("./utils"),o=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),u=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},A=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 g(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var _={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(g(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(g(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=A.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=_},{"./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"),c=e("../external"),u=null;if(l.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,r){return new c.Promise((function(n,a){var o=[],l=e._internalType,c=e._outputType,u=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)}}(c,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),u);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 u(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 c(){o.call(this,"utf-8 decode"),this.leftOver=null}function u(){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(c,o),c.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})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,n.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=u},{"./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 c={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 u(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=c.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return c.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=u;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:u,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 u(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:u,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:u,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,c){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 u=r.getTypeOf(t);return u?("arraybuffer"===u?t=r.transformTo("uint8array",t):"string"===u&&(c?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"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.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=c.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=u},{"./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 c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)n.prototype[c[d]]=u;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(u),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(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,r=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;n=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}n=!1}t.exports=function(e){1!==c.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 c(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 u(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=c).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}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.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 u(r,e,t)),r},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.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},c.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return a.reject(t,e)},c.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,c=new this(i);++l<r;)u(e[l],l);return c;function u(e,i){t.resolve(e).then((function(e){o[i]=e,++s!==r||n||(n=!0,a.resolve(c,o))}),(function(e){n||(n=!0,a.reject(c,e))}))}},c.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,c=0,u=-1,d=0,h=8;function p(e){if(!(this instanceof p))return new p(e);this.options=i.assign({level:u,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!==c)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))!==c)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,u=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(u),s.next_out=0,s.avail_out=u),1!==(r=n.deflate(s,o))&&r!==c)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===c):2!==o||(this.onEnd(c),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},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"),c=e("./zlib/gzheader"),u=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 c,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,c,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,A=!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]"===u.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]"===u.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,h)),r===o.Z_BUF_ERROR&&!0===A&&(r=o.Z_OK,A=!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),c=p.next_out-l,d=a.buf2string(p.output,l),p.next_out=c,p.avail_out=f-c,c&&i.arraySet(p.output,p.output,l,c,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(A=!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,c=new Array(2*s);for(r=n=0;r<s;)if((i=e[r++])<128)c[n++]=i;else if(4<(a=o[i]))c[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?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return l(c,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"),c=0,u=4,d=0,h=-2,p=-1,f=4,m=2,A=8,g=9,_=286,v=30,b=19,w=2*_+1,y=15,E=3,C=258,S=C+E+1,M=42,x=113,T=1,O=2,N=3,R=4;function L(e,t){return e.msg=l[t],t}function I(e){return(e<<1)-(4<e?9:0)}function k(e){for(var t=e.length;0<=--t;)e[t]=0}function B(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 D(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,B(e.strm)}function F(e,t){e.pending_buf[e.pending++]=t}function P(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function j(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-S?e.strstart-(e.w_size-S):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+C,p=c[a+o-1],f=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(r=t)+o]===f&&c[r+o-1]===p&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<h);if(n=C-(h-a),a=h-C,o<n){if(e.match_start=t,s<=(o=n))break;p=c[a+o-1],f=c[a+o]}}}while((t=d[t&u])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function U(e){var t,r,n,a,l,c,u,d,h,p,f=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-S)){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(c=e.strm,u=e.window,d=e.strstart+e.lookahead,h=a,p=void 0,p=c.avail_in,h<p&&(p=h),r=0===p?0:(c.avail_in-=p,i.arraySet(u,c.input,c.next_in,p,d),1===c.state.wrap?c.adler=o(c.adler,u,p,d):2===c.state.wrap&&(c.adler=s(c.adler,u,p,d)),c.next_in+=p,c.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<S&&0!==e.strm.avail_in)}function H(e,t){for(var r,n;;){if(e.lookahead<S){if(U(e),e.lookahead<S&&t===c)return T;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-S&&(e.match_length=j(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&&(D(e,!1),0===e.strm.avail_out))return T}return e.insert=e.strstart<E-1?e.strstart:E-1,t===u?(D(e,!0),0===e.strm.avail_out?N:R):e.last_lit&&(D(e,!1),0===e.strm.avail_out)?T:O}function V(e,t){for(var r,n,i;;){if(e.lookahead<S){if(U(e),e.lookahead<S&&t===c)return T;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-S&&(e.match_length=j(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&&(D(e,!1),0===e.strm.avail_out))return T}else if(e.match_available){if((n=a._tr_tally(e,0,e.window[e.strstart-1]))&&D(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return T}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===u?(D(e,!0),0===e.strm.avail_out?N:R):e.last_lit&&(D(e,!1),0===e.strm.avail_out)?T:O}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 W(){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=A,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*w),this.dyn_dtree=new i.Buf16(2*(2*v+1)),this.bl_tree=new i.Buf16(2*(2*b+1)),k(this.dyn_ltree),k(this.dyn_dtree),k(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(y+1),this.heap=new i.Buf16(2*_+1),k(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*_+1),k(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 Q(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?M:x,e.adler=2===t.wrap?0:1,t.last_flush=c,a._tr_init(t),d):L(e,h)}function z(e){var t=Q(e);return t===d&&function(e){e.window_size=2*e.w_size,k(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 q(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||g<a||r!==A||n<8||15<n||t<0||9<t||o<0||f<o)return L(e,h);8===n&&(n=9);var l=new W;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,z(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(U(e),0===e.lookahead&&t===c)return T;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,D(e,!1),0===e.strm.avail_out))return T;if(e.strstart-e.block_start>=e.w_size-S&&(D(e,!1),0===e.strm.avail_out))return T}return e.insert=0,t===u?(D(e,!0),0===e.strm.avail_out?N:R):(e.strstart>e.block_start&&(D(e,!1),e.strm.avail_out),T)})),new Y(4,4,8,4,H),new Y(4,5,16,8,H),new Y(4,6,32,32,H),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 q(e,t,A,15,8,0)},r.deflateInit2=q,r.deflateReset=z,r.deflateResetKeep=Q,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!==u)return L(e,0===e.avail_out?-5:h);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===M)if(2===i.wrap)e.adler=0,F(i,31),F(i,139),F(i,8),i.gzhead?(F(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)),F(i,255&i.gzhead.time),F(i,i.gzhead.time>>8&255),F(i,i.gzhead.time>>16&255),F(i,i.gzhead.time>>24&255),F(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),F(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(F(i,255&i.gzhead.extra.length),F(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):(F(i,0),F(i,0),F(i,0),F(i,0),F(i,0),F(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),F(i,3),i.status=x);else{var p=A+(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,P(i,p),0!==i.strstart&&(P(i,e.adler>>>16),P(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)),B(e),o=i.pending,i.pending!==i.pending_buf_size));)F(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)),B(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,F(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)),B(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,F(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&&B(e),i.pending+2<=i.pending_buf_size&&(F(i,255&e.adler),F(i,e.adler>>8&255),e.adler=0,i.status=x)):i.status=x),0!==i.pending){if(B(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&I(t)<=I(r)&&t!==u)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!==c&&666!==i.status){var f=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(U(e),0===e.lookahead)){if(t===c)return T;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(D(e,!1),0===e.strm.avail_out))return T}return e.insert=0,t===u?(D(e,!0),0===e.strm.avail_out?N:R):e.last_lit&&(D(e,!1),0===e.strm.avail_out)?T:O}(i,t):3===i.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=C){if(U(e),e.lookahead<=C&&t===c)return T;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+C;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=C-(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&&(D(e,!1),0===e.strm.avail_out))return T}return e.insert=0,t===u?(D(e,!0),0===e.strm.avail_out?N:R):e.last_lit&&(D(e,!1),0===e.strm.avail_out)?T:O}(i,t):n[i.level].func(i,t);if(f!==N&&f!==R||(i.status=666),f===T||f===N)return 0===e.avail_out&&(i.last_flush=-1),d;if(f===O&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(k(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),B(e),0===e.avail_out))return i.last_flush=-1,d}return t!==u?d:i.wrap<=0?1:(2===i.wrap?(F(i,255&e.adler),F(i,e.adler>>8&255),F(i,e.adler>>16&255),F(i,e.adler>>24&255),F(i,255&e.total_in),F(i,e.total_in>>8&255),F(i,e.total_in>>16&255),F(i,e.total_in>>24&255)):(P(i,e.adler>>>16),P(i,65535&e.adler)),B(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)!==M&&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,c,u,p,f=t.length;if(!e||!e.state)return h;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==M||r.lookahead)return h;for(1===s&&(e.adler=o(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===s&&(k(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,c=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,U(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,U(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=c,e.input=u,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,c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),a=e.next_out,M=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),l=r.dmax,c=r.wsize,u=r.whave,d=r.wnext,h=r.window,p=r.hold,f=r.bits,m=r.lencode,A=r.distcode,g=(1<<r.lenbits)-1,_=(1<<r.distbits)-1;e:do{f<15&&(p+=S[n++]<<f,f+=8,p+=S[n++]<<f,f+=8),v=m[p&g];t:for(;;){if(p>>>=b=v>>>24,f-=b,0===(b=v>>>16&255))M[a++]=65535&v;else{if(!(16&b)){if(0==(64&b)){v=m[(65535&v)+(p&(1<<b)-1)];continue t}if(32&b){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&v,(b&=15)&&(f<b&&(p+=S[n++]<<f,f+=8),w+=p&(1<<b)-1,p>>>=b,f-=b),f<15&&(p+=S[n++]<<f,f+=8,p+=S[n++]<<f,f+=8),v=A[p&_];r:for(;;){if(p>>>=b=v>>>24,f-=b,!(16&(b=v>>>16&255))){if(0==(64&b)){v=A[(65535&v)+(p&(1<<b)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(y=65535&v,f<(b&=15)&&(p+=S[n++]<<f,(f+=8)<b&&(p+=S[n++]<<f,f+=8)),l<(y+=p&(1<<b)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(p>>>=b,f-=b,(b=a-o)<y){if(u<(b=y-b)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(C=h,(E=0)===d){if(E+=c-b,b<w){for(w-=b;M[a++]=h[E++],--b;);E=a-y,C=M}}else if(d<b){if(E+=c+d-b,(b-=d)<w){for(w-=b;M[a++]=h[E++],--b;);if(E=0,d<w){for(w-=b=d;M[a++]=h[E++],--b;);E=a-y,C=M}}}else if(E+=d-b,b<w){for(w-=b;M[a++]=h[E++],--b;);E=a-y,C=M}for(;2<w;)M[a++]=C[E++],M[a++]=C[E++],M[a++]=C[E++],w-=3;w&&(M[a++]=C[E++],1<w&&(M[a++]=C[E++]))}else{for(E=a-y;M[a++]=M[E++],M[a++]=M[E++],M[a++]=M[E++],2<(w-=3););w&&(M[a++]=M[E++],1<w&&(M[a++]=M[E++]))}break}}break}}while(n<i&&a<s);n-=w=f>>3,p&=(1<<(f-=w<<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,c=2,u=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 A(){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 g(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,u):d}function _(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,g(e)):d}function v(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,_(e))):d}function b(e,t){var r,n;return e?(n=new A,(e.state=n).window=null,(r=v(e,t))!==u&&(e.state=null),r):d}var w,y,E=!0;function C(e){if(E){var t;for(w=new n.Buf32(512),y=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,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(c,e.lens,0,32,y,0,e.work,{bits:5}),E=!1}e.lencode=w,e.lenbits=9,e.distcode=y,e.distbits=5}function S(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=_,r.inflateReset2=v,r.inflateResetKeep=g,r.inflateInit=function(e){return b(e,15)},r.inflateInit2=b,r.inflate=function(e,t){var r,p,f,A,g,_,v,b,w,y,E,M,x,T,O,N,R,L,I,k,B,D,F,P,j=0,U=new n.Buf8(4),H=[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),g=e.next_out,f=e.output,v=e.avail_out,A=e.next_in,p=e.input,_=e.avail_in,b=r.hold,w=r.bits,y=_,E=v,D=u;e:for(;;)switch(r.mode){case h:if(0===r.wrap){r.mode=13;break}for(;w<16;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(2&r.wrap&&35615===b){U[r.check=0]=255&b,U[1]=b>>>8&255,r.check=a(r.check,U,2,0),w=b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&b)){e.msg="unknown compression method",r.mode=30;break}if(w-=4,B=8+(15&(b>>>=4)),0===r.wbits)r.wbits=B;else if(B>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<B,e.adler=r.check=1,r.mode=512&b?10:12,w=b=0;break;case 2:for(;w<16;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(r.flags=b,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=b>>8&1),512&r.flags&&(U[0]=255&b,U[1]=b>>>8&255,r.check=a(r.check,U,2,0)),w=b=0,r.mode=3;case 3:for(;w<32;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}r.head&&(r.head.time=b),512&r.flags&&(U[0]=255&b,U[1]=b>>>8&255,U[2]=b>>>16&255,U[3]=b>>>24&255,r.check=a(r.check,U,4,0)),w=b=0,r.mode=4;case 4:for(;w<16;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}r.head&&(r.head.xflags=255&b,r.head.os=b>>8),512&r.flags&&(U[0]=255&b,U[1]=b>>>8&255,r.check=a(r.check,U,2,0)),w=b=0,r.mode=5;case 5:if(1024&r.flags){for(;w<16;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}r.length=b,r.head&&(r.head.extra_len=b),512&r.flags&&(U[0]=255&b,U[1]=b>>>8&255,r.check=a(r.check,U,2,0)),w=b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(_<(M=r.length)&&(M=_),M&&(r.head&&(B=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,p,A,M,B)),512&r.flags&&(r.check=a(r.check,p,M,A)),_-=M,A+=M,r.length-=M),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===_)break e;for(M=0;B=p[A+M++],r.head&&B&&r.length<65536&&(r.head.name+=String.fromCharCode(B)),B&&M<_;);if(512&r.flags&&(r.check=a(r.check,p,M,A)),_-=M,A+=M,B)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===_)break e;for(M=0;B=p[A+M++],r.head&&B&&r.length<65536&&(r.head.comment+=String.fromCharCode(B)),B&&M<_;);if(512&r.flags&&(r.check=a(r.check,p,M,A)),_-=M,A+=M,B)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;w<16;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(b!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}w=b=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(;w<32;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}e.adler=r.check=m(b),w=b=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=g,e.avail_out=v,e.next_in=A,e.avail_in=_,r.hold=b,r.bits=w,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){b>>>=7&w,w-=7&w,r.mode=27;break}for(;w<3;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}switch(r.last=1&b,w-=1,3&(b>>>=1)){case 0:r.mode=14;break;case 1:if(C(r),r.mode=20,6!==t)break;b>>>=2,w-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}b>>>=2,w-=2;break;case 14:for(b>>>=7&w,w-=7&w;w<32;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if((65535&b)!=(b>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&b,w=b=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(M=r.length){if(_<M&&(M=_),v<M&&(M=v),0===M)break e;n.arraySet(f,p,A,M,g),_-=M,A+=M,v-=M,g+=M,r.length-=M;break}r.mode=12;break;case 17:for(;w<14;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(r.nlen=257+(31&b),b>>>=5,w-=5,r.ndist=1+(31&b),b>>>=5,w-=5,r.ncode=4+(15&b),b>>>=4,w-=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(;w<3;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}r.lens[H[r.have++]]=7&b,b>>>=3,w-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F={bits:r.lenbits},D=s(0,r.lens,0,19,r.lencode,0,r.work,F),r.lenbits=F.bits,D){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(;N=(j=r.lencode[b&(1<<r.lenbits)-1])>>>16&255,R=65535&j,!((O=j>>>24)<=w);){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(R<16)b>>>=O,w-=O,r.lens[r.have++]=R;else{if(16===R){for(P=O+2;w<P;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(b>>>=O,w-=O,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}B=r.lens[r.have-1],M=3+(3&b),b>>>=2,w-=2}else if(17===R){for(P=O+3;w<P;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}w-=O,B=0,M=3+(7&(b>>>=O)),b>>>=3,w-=3}else{for(P=O+7;w<P;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}w-=O,B=0,M=11+(127&(b>>>=O)),b>>>=7,w-=7}if(r.have+M>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;M--;)r.lens[r.have++]=B}}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,F={bits:r.lenbits},D=s(l,r.lens,0,r.nlen,r.lencode,0,r.work,F),r.lenbits=F.bits,D){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,F={bits:r.distbits},D=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,F),r.distbits=F.bits,D){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<=_&&258<=v){e.next_out=g,e.avail_out=v,e.next_in=A,e.avail_in=_,r.hold=b,r.bits=w,o(e,E),g=e.next_out,f=e.output,v=e.avail_out,A=e.next_in,p=e.input,_=e.avail_in,b=r.hold,w=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;N=(j=r.lencode[b&(1<<r.lenbits)-1])>>>16&255,R=65535&j,!((O=j>>>24)<=w);){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(N&&0==(240&N)){for(L=O,I=N,k=R;N=(j=r.lencode[k+((b&(1<<L+I)-1)>>L)])>>>16&255,R=65535&j,!(L+(O=j>>>24)<=w);){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}b>>>=L,w-=L,r.back+=L}if(b>>>=O,w-=O,r.back+=O,r.length=R,0===N){r.mode=26;break}if(32&N){r.back=-1,r.mode=12;break}if(64&N){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&N,r.mode=22;case 22:if(r.extra){for(P=r.extra;w<P;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}r.length+=b&(1<<r.extra)-1,b>>>=r.extra,w-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;N=(j=r.distcode[b&(1<<r.distbits)-1])>>>16&255,R=65535&j,!((O=j>>>24)<=w);){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(0==(240&N)){for(L=O,I=N,k=R;N=(j=r.distcode[k+((b&(1<<L+I)-1)>>L)])>>>16&255,R=65535&j,!(L+(O=j>>>24)<=w);){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}b>>>=L,w-=L,r.back+=L}if(b>>>=O,w-=O,r.back+=O,64&N){e.msg="invalid distance code",r.mode=30;break}r.offset=R,r.extra=15&N,r.mode=24;case 24:if(r.extra){for(P=r.extra;w<P;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}r.offset+=b&(1<<r.extra)-1,b>>>=r.extra,w-=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===v)break e;if(M=E-v,r.offset>M){if((M=r.offset-M)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}x=M>r.wnext?(M-=r.wnext,r.wsize-M):r.wnext-M,M>r.length&&(M=r.length),T=r.window}else T=f,x=g-r.offset,M=r.length;for(v<M&&(M=v),v-=M,r.length-=M;f[g++]=T[x++],--M;);0===r.length&&(r.mode=21);break;case 26:if(0===v)break e;f[g++]=r.length,v--,r.mode=21;break;case 27:if(r.wrap){for(;w<32;){if(0===_)break e;_--,b|=p[A++]<<w,w+=8}if(E-=v,e.total_out+=E,r.total+=E,E&&(e.adler=r.check=r.flags?a(r.check,f,E,g-E):i(r.check,f,E,g-E)),E=v,(r.flags?b:m(b))!==r.check){e.msg="incorrect data check",r.mode=30;break}w=b=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;w<32;){if(0===_)break e;_--,b+=p[A++]<<w,w+=8}if(b!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}w=b=0}r.mode=29;case 29:D=1;break e;case 30:D=-3;break e;case 31:return-4;case 32:default:return d}return e.next_out=g,e.avail_out=v,e.next_in=A,e.avail_in=_,r.hold=b,r.bits=w,(r.wsize||E!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&S(e,e.output,e.next_out,E-e.avail_out)?(r.mode=31,-4):(y-=e.avail_in,E-=e.avail_out,e.total_in+=y,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==y&&0===E||4===t)&&D===u&&(D=-5),D)},r.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?d:((r.head=t).done=!1,u):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:S(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,u):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,c,u,d,h){var p,f,m,A,g,_,v,b,w,y=h.bits,E=0,C=0,S=0,M=0,x=0,T=0,O=0,N=0,R=0,L=0,I=null,k=0,B=new n.Buf16(16),D=new n.Buf16(16),F=null,P=0;for(E=0;E<=15;E++)B[E]=0;for(C=0;C<l;C++)B[t[r+C]]++;for(x=y,M=15;1<=M&&0===B[M];M--);if(M<x&&(x=M),0===M)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for(S=1;S<M&&0===B[S];S++);for(x<S&&(x=S),E=N=1;E<=15;E++)if(N<<=1,(N-=B[E])<0)return-1;if(0<N&&(0===e||1!==M))return-1;for(D[1]=0,E=1;E<15;E++)D[E+1]=D[E]+B[E];for(C=0;C<l;C++)0!==t[r+C]&&(d[D[t[r+C]]++]=C);if(_=0===e?(I=F=d,19):1===e?(I=i,k-=257,F=a,P-=257,256):(I=o,F=s,-1),E=S,g=u,O=C=L=0,m=-1,A=(R=1<<(T=x))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(v=E-O,w=d[C]<_?(b=0,d[C]):d[C]>_?(b=F[P+d[C]],I[k+d[C]]):(b=96,0),p=1<<E-O,S=f=1<<T;c[g+(L>>O)+(f-=p)]=v<<24|b<<16|w|0,0!==f;);for(p=1<<E-1;L&p;)p>>=1;if(0!==p?(L&=p-1,L+=p):L=0,C++,0==--B[E]){if(E===M)break;E=t[r+d[C]]}if(x<E&&(L&A)!==m){for(0===O&&(O=x),g+=S,N=1<<(T=E-O);T+O<M&&!((N-=B[T+O])<=0);)T++,N<<=1;if(R+=1<<T,1===e&&852<R||2===e&&592<R)return 1;c[m=L&A]=x<<24|T<<16|g-u|0}}return 0!==L&&(c[g+L]=E-O<<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,c=256,u=c+1+l,d=30,h=19,p=2*u+1,f=15,m=16,A=7,g=256,_=16,v=17,b=18,w=[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],y=[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],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=new Array(2*(u+2));o(S);var M=new Array(2*d);o(M);var x=new Array(512);o(x);var T=new Array(256);o(T);var O=new Array(l);o(O);var N,R,L,I=new Array(d);function k(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 B(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function D(e){return e<256?x[e]:x[256+(e>>>7)]}function F(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function P(e,t,r){e.bi_valid>m-r?(e.bi_buf|=t<<e.bi_valid&65535,F(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 j(e,t,r){P(e,r[2*t],r[2*t+1])}function U(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function H(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]=U(a[s]++,s))}}function V(e){var t;for(t=0;t<u;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*g]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Y(e){8<e.bi_valid?F(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 W(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 Q(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function z(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?j(e,i,t):(j(e,(a=T[i])+c+1,t),0!==(o=w[a])&&P(e,i-=O[a],o),j(e,a=D(--n),r),0!==(o=y[a])&&P(e,n-=I[a],o)),s<e.last_lit;);j(e,g,t)}function q(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,c=-1;for(e.heap_len=0,e.heap_max=p,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,r=e.heap_len>>1;1<=r;r--)Q(e,a,r);for(i=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q(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++,Q(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,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,A=t.stat_desc.max_length,g=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++)A<(a=l[2*l[2*(n=e.heap[r])+1]+1]+1)&&(a=A,g++),l[2*n+1]=a,c<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*(u[2*n+1]+o)));if(0!==g){do{for(a=A-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[A]--,g-=2}while(0<g);for(a=A;0!==a;a--)for(n=e.bl_count[a];0!==n;)c<(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),H(a,c,e.bl_count)}function G(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=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<c?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*_]++):s<=10?e.bl_tree[2*v]++:e.bl_tree[2*b]++,a=i,c=(s=0)===o?(l=138,3):i===o?(l=6,3):(l=7,4))}function K(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<c)for(;j(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==a&&(j(e,i,e.bl_tree),s--),j(e,_,e.bl_tree),P(e,s-3,2)):s<=10?(j(e,v,e.bl_tree),P(e,s-3,3)):(j(e,b,e.bl_tree),P(e,s-11,7));a=i,c=(s=0)===o?(l=138,3):i===o?(l=6,3):(l=7,4)}}o(I);var X=!1;function $(e,t,r,i){P(e,(s<<1)+(i?1:0),3),function(e,t,r,i){Y(e),i&&(F(e,r),F(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){X||(function(){var e,t,r,n,i,a=new Array(f+1);for(n=r=0;n<l-1;n++)for(O[n]=r,e=0;e<1<<w[n];e++)T[r++]=n;for(T[r-1]=n,n=i=0;n<16;n++)for(I[n]=i,e=0;e<1<<y[n];e++)x[i++]=n;for(i>>=7;n<d;n++)for(I[n]=i<<7,e=0;e<1<<y[n]-7;e++)x[256+i++]=n;for(t=0;t<=f;t++)a[t]=0;for(e=0;e<=143;)S[2*e+1]=8,e++,a[8]++;for(;e<=255;)S[2*e+1]=9,e++,a[9]++;for(;e<=279;)S[2*e+1]=7,e++,a[7]++;for(;e<=287;)S[2*e+1]=8,e++,a[8]++;for(H(S,u+1,a),e=0;e<d;e++)M[2*e+1]=5,M[2*e]=U(e,5);N=new k(S,w,c+1,u,f),R=new k(M,y,0,d,f),L=new k(new Array(0),E,0,h,A)}(),X=!0),e.l_desc=new B(e.dyn_ltree,N),e.d_desc=new B(e.dyn_dtree,R),e.bl_desc=new B(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<c;t++)if(0!==e.dyn_ltree[2*t])return a;return i}(e)),q(e,e.l_desc),q(e,e.d_desc),l=function(e){var t;for(G(e,e.dyn_ltree,e.l_desc.max_code),G(e,e.dyn_dtree,e.d_desc.max_code),q(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*C[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?(P(e,2+(n?1:0),3),z(e,S,M)):(P(e,4+(n?1:0),3),function(e,t,r,n){var i;for(P(e,t-257,5),P(e,r-1,5),P(e,n-4,4),i=0;i<n;i++)P(e,e.bl_tree[2*C[i]+1],3);K(e,e.dyn_ltree,t-1),K(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),z(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*(T[r]+c+1)]++,e.dyn_dtree[2*D(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){P(e,2,3),j(e,g,S),function(e){16===e.bi_valid?(F(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={},c=!1,u=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)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,function(e){var t=u.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(c)setTimeout(p,0,e);else{var r=l[e];if(r){c=!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),c=!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"))},"7ab1":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"com-formual",attrs:{"element-loading-text":"数据加载中..."}},[r("el-form",[r("el-form-item",[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择数据表",size:"large"},on:{change:e.onChangeTab},model:{value:e.tableCode,callback:function(t){e.tableCode=t},expression:"tableCode"}},e._l(e.tableList,(function(e,t){return r("el-option",{key:e.id,attrs:{label:e.name,value:t}})})),1)],1),e.fileLoadStatus?r("el-form-item",{staticStyle:{"min-height":"500px"}},[r("div",{ref:"luckysheet",staticStyle:{width:"100%",height:"500px"},attrs:{id:"luckysheet"}})]):e._e()],1),r("el-dialog",{attrs:{visible:e.showConfirm,"close-on-click-modal":!1,title:"数据确认",width:"500","align-center":"","append-to-body":!0},on:{"update:visible":function(t){e.showConfirm=t}},scopedSlots:e._u([{key:"footer",fn:function(){return[r("div",{staticClass:"dialog-footer"},[r("el-button",{on:{click:function(t){e.showConfirm=!1}}},[e._v("关闭")]),r("el-button",{attrs:{type:"primary"},on:{click:e.onConfirm}},[e._v(" 确认选择 ")])],1)]},proxy:!0}])},[r("div",[e._v("当前工作表:"+e._s(e.position.sheet))]),r("div",[e._v("当前取值:"+e._s(e.position.value))])])],1)},i=[],a=r("ade3"),o=(r("d81d"),r("b0c0"),r("b64b"),r("d3b7"),r("a573"),r("1c4c")),s=(r("f7e6"),{name:"SourceData",emits:["onPicked"],components:{},data:function(){return{tableCode:"",tableList:[],showConfirm:!1,fileLoadStatus:!1,position:{tb:"",c:0,r:0,sheet:"",value:""},loading:!1}},mounted:function(){this.initTableList()},methods:{onConfirm:function(e){this.showConfirm=!1,this.$emit("onPicked",this.position)},onChangeTab:function(e){var t=this,r=t.tableList[e];t.loading=!0,Object(o["b"])({id:r.id}).then((function(e){200===e.status&&(t.fileLoadStatus=!0,r.sourceData=JSON.parse(e.data.source_data),t.position.tb=r.code,t.$nextTick((function(){luckysheet.destroy(),luckysheet.create(Object(a["a"])(Object(a["a"])(Object(a["a"])({container:"luckysheet",data:r.sourceData.exportJson.sheets,lang:"zh",showinfobar:!1,showstatisticBar:!1,sheetBottomConfig:!1,allowEdit:!1,enableAddRow:!1,enableAddCol:!1,sheetFormulaBar:!1,enableAddBackTop:!1,showsheetbar:!0},"enableAddRow",!1),"showsheetbarConfig",{add:!1,menu:!1}),"hook",{cellMousedown:function(e,r,n,i){t.position.sheet=n.name,t.position.r=r.r,t.position.c=r.c,e.v?t.position.value=e.v:(t.position.value="",e.ct.s.map((function(e){t.position.value+=e.v}))),t.showConfirm=!0},cellUpdated:function(e,t,r,n,i){}}))})))})).finally((function(){t.loading=!1}))},initTableList:function(){var e=this;Object(o["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}}),l=s,c=(r("b7da"),r("2877")),u=Object(c["a"])(l,n,i,!1,null,null,null);t["default"]=u.exports},"7ae0":function(e,t,r){"use strict";r("14d9");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 c=0;c<l;c++)Object(i["fastCall"])(this._localHooks[e][c],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},"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},"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 c})),r.d(t,"_injectProductInfo",(function(){return w}));var n=r("c1df"),i=r("67a8");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 c(e){return"[object RegExp]"===Object.prototype.toString.call(e)}const u="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,""),A=e=>d(p(m(e),d("12"),f("F")))/(d(p(m(e),f("B"),~~![][u]))||9),g=()=>"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 _=!1;const v={invalid:()=>i["a"]`
  169. The license key for Handsontable is invalid.\x20
  170. If you need any help, contact us at support@handsontable.com.`,expired:e=>{let{keyValidityDate:t,hotVersion:r}=e;return i["a"]`
  171. The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
  172. version ${r}. Renew your license key at handsontable.com or downgrade to a version released prior\x20
  173. to ${t}. If you need any help, contact us at sales@handsontable.com.`},missing:()=>i["a"]`
  174. The license key for Handsontable is missing. Use your purchased key to activate the product.\x20
  175. Alternatively, you can activate Handsontable to use for non-commercial purposes by\x20
  176. passing the key: 'non-commercial-and-evaluation'. If you need any help, contact\x20
  177. us at support@handsontable.com.`,non_commercial:()=>""},b={invalid:()=>i["a"]`
  178. The license key for Handsontable is invalid.\x20
  179. <a href="https://handsontable.com/docs/tutorial-license-key.html" target="_blank">Read more</a> on how to\x20
  180. 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"]`
  181. The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
  182. version ${r}. <a href="https://handsontable.com/pricing" target="_blank">Renew</a> your\x20
  183. license key or downgrade to a version released prior to ${t}. If you need any\x20
  184. help, contact us at <a href="mailto:sales@handsontable.com">sales@handsontable.com</a>.`},missing:()=>i["a"]`
  185. The license key for Handsontable is missing. Use your purchased key to activate the product.\x20
  186. Alternatively, you can activate Handsontable to use for non-commercial purposes by\x20
  187. passing the key: 'non-commercial-and-evaluation'.\x20
  188. <a href="https://handsontable.com/docs/tutorial-license-key.html" target="_blank">Read more</a> about it in\x20
  189. the documentation or contact us at <a href="mailto:support@handsontable.com">support@handsontable.com</a>.`,non_commercial:()=>""};function w(e,t){const r=!l(e),i="string"===typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),a="14.6.1";let o,s="invalid",c="invalid";e=m(e||"");const u=y(e);if(r||i||u)if(u){const t=n("17/10/2024","DD/MM/YYYY"),r=Math.floor(t.toDate().getTime()/864e5),i=A(e);o=n(864e5*(i+1),"x").format("MMMM DD, YYYY"),r>i?(s="expired",c="expired"):(s="valid",c="valid")}else i?(s="non_commercial",c="valid"):(s="invalid",c="invalid");else s="missing",c="missing";if(g()&&(s="valid",c="valid"),!_&&"valid"!==s){const e=v[s]({keyValidityDate:o,hotVersion:a});e&&console["non_commercial"===s?"info":"warn"](v[s]({keyValidityDate:o,hotVersion:a})),_=!0}if("valid"!==c&&t.parentNode){const e=b[c]({keyValidityDate:o,hotVersion:a});if(e){const e=document.createElement("div");e.className="hot-display-license-info",e.innerHTML=b[c]({keyValidityDate:o,hotVersion:a}),t.parentNode.insertBefore(e,t.nextSibling)}}}function y(e){let t=[][u],r=t;if(e[u]!==f("Z"))return!1;for(let n="",i="B<H4P+".split(""),a=f(i.shift());a;a=f(i.shift()||"A"))--a<""[u]?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[u]?9:8:6);return r===t}},"7be6":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  190. //! moment.js locale configuration
  191. 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}))},"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 c(){const e=n.dom.window;e._mutationObserverMicrotaskQueued||(e._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(()=>{u()}))}function u(){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,u,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,c]of h){const i=o.create_mutationRecord(e,t,o.create_nodeListStatic(t,a),o.create_nodeListStatic(t,l),u,d,r,n,c),h=s._recordQueue;h.push(i)}c()}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=c,t.observer_notifyMutationObservers=u,t.observer_queueMutationRecord=d,t.observer_queueTreeMutationRecord=h,t.observer_queueAttributeMutationRecord=p},"7cb9":function(e,t,r){"use strict";r.r(t);var n,i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"template-textarea"},[1==e.isEdit?[r("div",{staticClass:"editor-area sticky-editor"},[r("ckeditor",{ref:"editor",attrs:{config:e.editorConfig,editorUrl:e.editorUrl},on:{focus:e.onFocus,blur:e.onBlur,input:e.onInputText,ready:e.onEditorReady},model:{value:e.com.content,callback:function(t){e.$set(e.com,"content",t)},expression:"com.content"}})],1)]:[r("div",{ref:"richEditor",staticClass:"rich-editor",domProps:{innerHTML:e._s(e.content)},on:{click:e.handleImageClick}})],e.loading?r("div",{staticClass:"overlay"},[r("el-progress",{staticClass:"full-width-progress",attrs:{percentage:e.progress}})],1):e._e()],2)},a=[],o=r("ade3"),s=r("4478"),l=r("2909"),c=r("b85c"),u=r("c7eb"),d=r("1da1"),h=(r("d9e2"),r("99af"),r("4de4"),r("caad"),r("14d9"),r("b0c0"),r("a9e3"),r("b680"),r("b64b"),r("d3b7"),r("07ac"),r("4d63"),r("c607"),r("ac1f"),r("2c3e"),r("25f0"),r("2532"),r("3ca3"),r("466d"),r("5319"),r("0643"),r("2382"),r("4e3e"),r("159b"),r("ddb0"),r("1c4c")),p=r("bc3a"),f=r.n(p),m=(r("1157"),{name:"app",emits:["onUpdate","onUpdateAttr","onUpdateProdAttr"],compnents:{},props:{coms:{type:Array,default:function(){return[]}},isEdit:{type:Number,default:2},isAdmin:{type:Number,default:2},currentIndex:{type:Number,default:0},com:{type:Object,default:null},insertCmd:{type:Object,default:null}},watch:{isEdit:{handler:function(e){var t=this;null==t.com&&t.replaceData(t.com.content).then((function(e){t.content=e,t.$nextTick((function(){t.bindEvents()}))}))},immediate:!0,deep:!0},com:{handler:function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var n,i;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=t,null!=e){r.next=3;break}return r.abrupt("return");case 3:if(void 0!=e.content&&null!=e.content){r.next=5;break}return r.abrupt("return");case 5:return r.prev=5,r.next=8,n.replaceData(e.content);case 8:i=r.sent,n.content=i,n.$nextTick((function(){n.bindEvents(),n.initializeInputWidths()})),r.next=16;break;case 13:r.prev=13,r.t0=r["catch"](5),console.error("处理 com 时出错:",r.t0);case 16:case"end":return r.stop()}}),r,null,[[5,13]])})))()},immediate:!0,deep:!0},insertCmd:{handler:function(e){if(null!=e&&1==this.isEdit){var t=this.$refs.editor.instance.getSelection().getSelectedText();e.content.indexOf("Directory",0)>=0&&(this.$emit("onUpdateAttr",this.currentIndex,this.com.attrs.length-1,t),this.$refs.editor.instance.execCommand("delete")),this.$refs.editor.instance.insertHtml(e.content)}},immediate:!0,deep:!0}},data:function(){return{editorUrl:"/ckeditor/ckeditor.js",editorConfig:{language:"zh-cn",height:"650px"},content:"",editor:null,loading:!1,progress:0,isEditing:!1,focusedInputId:null,variableNullInputs:{}}},mounted:function(){var e=this;this.$nextTick((function(){e.initializeInputWidths()}))},beforeDestroy:function(){this.$el.removeEventListener("input",this.handleInputChange),this.$el.removeEventListener("input",this.handleVariableNullInput),this.$el.removeEventListener("blur",this.handleVariableNullBlur,!0)},methods:(n={replaceData:function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var n,i,a,o,d;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i={abs:Math.abs,ceil:Math.ceil,floor:Math.floor,max:Math.max,min:Math.min,round:Math.round,sqrt:Math.sqrt,IF:function(e,t,r){return e?t:r}},a=Object(u["a"])().mark((function r(){var a,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T,O,N,R,L,I,k,B;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(a=n.com.attrs[d].id,"variable"!=n.com.attrs[d].type){r.next=6;break}if(h=n.com.attrs[d],2==h.data.value_type){for(p=h.data.value_item.split(","),f='<select id="'+a+'" data-index="'+d+'" class="text-input-box">',o=0;o<p.length;o++)h.content==p[o]?f+='<option value="'+p[o]+'" selected>'+p[o]+"</option>":f+='<option value="'+p[o]+'">'+p[o]+"</option>";f+="</select>",e=e.replace("{{"+h.id+"}}",f)}else e=e.replace("{{"+a+"}}",'<input type="text" ref="input_'+a+'" name="'+n.com.attrs[d].name+'" id="'+a+'" data-index="'+d+'" class="text-input-box auto-width" value="'+n.com.attrs[d].content+'">');r.next=43;break;case 6:if("variableNull"!=n.com.attrs[d].type){r.next=12;break}m=n.com.attrs[d],t.variableNullInputs[a]=m.content,e=e.replace("{{"+a+"}}",'<input type="text" ref="input_'+a+'" name="'+m.name+'" id="'+a+'" data-index="'+d+'" data-attr-id="'+a+'" class="text-input-boxs auto-width" value="'+m.content+'">'),r.next=43;break;case 12:if("ProductAttr"!=n.com.attrs[d].type){r.next=19;break}if(A=n.com.attrs[d],g=A.id+"_"+d,""==A.content&&(A.content=A.attrs.value),1==A.attrs.type)e=e.replace("{{"+A.id+"}}",'<input type="text" id="'+g+'" data-index="'+d+'" class="text-input-box" value="'+A.content+'">');else{for(_=A.attrs.valueItems.split(","),v='<select id="'+g+'" data-index="'+d+'" class="text-input-box">',o=0;o<_.length;o++)A.content==_[o]?v+='<option value="'+_[o]+'" selected>'+_[o]+"</option>":v+='<option value="'+_[o]+'">'+_[o]+"</option>";v+="</select>",e=e.replace("{{"+A.id+"}}",v)}r.next=43;break;case 19:if("formual"!=n.com.attrs[d].type){r.next=35;break}return r.next=22,n.analysisFormual(n.com.attrs[d]);case 22:return b=r.sent,w=n.com.attrs[d].data.point,r.next=26,n.getRemote(b);case 26:if(b=r.sent,y={},E=/\b[a-zA-Z_][a-zA-Z0-9_]*\b/g,C=b.match(E),C){S=Object(c["a"])(C);try{for(S.s();!(M=S.n()).done;)x=M.value,"IF"===x||Object.keys(i).includes(x)||(y[x]="".concat(x))}catch(u){S.e(u)}finally{S.f()}}T=function(e,t){var r=Object(s["a"])(Function,Object(l["a"])(Object.keys(i)).concat(Object(l["a"])(Object.keys(t)),["return ".concat(e)]));return r.apply(void 0,Object(l["a"])(Object.values(i)).concat(Object(l["a"])(Object.values(t))))};try{O=T(b,y),N="number"!==typeof O||isNaN(O)?"boolean"===typeof O?O?"1":"0":String(O):O.toFixed(w),n.com.attrs[d].content=N,e=e.replace("{{"+n.com.attrs[d].id+"}}",N)}catch(D){console.error("处理公式时出错:",D),console.error("错误的公式:",b),n.com.attrs[d].content="计算错误",e=e.replace("{{"+n.com.attrs[d].id+"}}","计算错误")}r.next=43;break;case 35:if("sourceData"!=n.com.attrs[d].type){r.next=42;break}return r.next=38,n.getRemote1(n.com.attrs[d].formula);case 38:R=r.sent,e=e.replace("{{"+a+"}}",R),r.next=43;break;case 42:"Directory"==n.com.attrs[d].type?(L=n.com.attrs[d].number+". "+n.com.attrs[d].content,I=n.com.attrs[d].level||1,k=n.com.attrs[d].id,B=new RegExp("<div[^>]*>\\s*{{\\s*".concat(k,"\\s*}}\\s*</div>|{{\\s*").concat(k,"\\s*}}"),"g"),e=e.replace(B,(function(e,t,r){var n="h".concat(Math.min(I,6)),i="directory-level-".concat(I);return"<".concat(n,' class="').concat(i,'">').concat(L,"</").concat(n,">")}))):e=e.replace("{{"+a+"}}",n.com.attrs[d].content);case 43:case"end":return r.stop()}}),r)})),d=0;case 4:if(!(d<n.com.attrs.length)){r.next=9;break}return r.delegateYield(a(),"t0",6);case 6:d++,r.next=4;break;case 9:return t.$nextTick((function(){t.addInputListeners(),t.initializeInputWidths(),t.addVariableNullListeners()})),r.abrupt("return",e);case 11:case"end":return r.stop()}}),r)})))()},addVariableNullListeners:function(){this.$el.addEventListener("input",this.handleVariableNullInput),this.$el.addEventListener("blur",this.handleVariableNullBlur,!0)},handleVariableNullInput:function(e){if(e.target.classList.contains("text-input-boxs")){var t=e.target.dataset.attrId,r=e.target.value;this.$set(this.variableNullInputs,t,r)}},handleVariableNullBlur:function(e){if(e.target.classList.contains("text-input-boxs")){var t=parseInt(e.target.dataset.index,10),r=e.target.dataset.attrId,n=this.variableNullInputs[r];this.updateVariableNullContent(t,r,n,!0)}},updateVariableNullContent:function(e,t,r){var n=this,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.com&&this.com.attrs&&this.com.attrs[e]&&this.com.attrs[e].id===t&&(this.$set(this.com.attrs[e],"content",r),this.$nextTick((function(){var e=n.$el.querySelector("#".concat(t));e&&(e.value=r)})),i&&this.$emit("onUpdata",this.currentIndex,e,t,r))},addInputListeners:function(){this.$el.addEventListener("blur",this.handleInputChange,!0),this.$el.addEventListener("input",this.adjustInputWidth,!0)},initializeInputWidths:function(){var e=this,t=this.$el.querySelectorAll(".text-input-box, .text-input-boxs");t.forEach((function(t){return e.adjustInputWidth({target:t})}))},adjustInputWidth:function(e){if(e.target.classList.contains("text-input-box")||e.target.classList.contains("text-input-boxs")){var t=e.target,r=document.createElement("span");r.className="size-calculator",r.textContent=t.value||t.placeholder||"0",document.body.appendChild(r);var n=window.getComputedStyle(t);r.style.font=n.font,r.style.fontSize=n.fontSize,r.style.fontWeight=n.fontWeight,r.style.letterSpacing=n.letterSpacing;var i=r.offsetWidth;t.style.width="".concat(i+10,"px"),document.body.removeChild(r)}},handleInputChange:function(e){var t=this;if(e.target.classList.contains("text-input-box")||e.target.classList.contains("text-input-boxs")){e.target.id;var r=e.target.name,n=parseInt(e.target.dataset.index,10),i=e.target.value;this.com&&this.com.attrs&&this.com.attrs[n]?(this.$set(this.com.attrs[n],"content",i),this.com.attrs.forEach((function(e){e.name===r&&t.$set(e,"content",i)})),this.$emit("onUpdateAttr",this.currentIndex,n,i)):console.warn("Unable to find attribute at index ".concat(n))}},bindEvents:function(){for(var e=this,t=0;t<e.com.attrs.length;t++){var r=e.com.attrs[t].id,n=e.com.attrs[t];if("variable"==e.com.attrs[t].type){var i=e.$el.querySelector("#"+r);i&&(2==n.data.value_type?i.addEventListener("change",e.handleInput):i.addEventListener("blur",e.handleInput))}else if("ProductAttr"==e.com.attrs[t].type){var a=n.id+"_"+t,o=e.$el.querySelector("#"+a);o&&(1==n.attrs.type?o.addEventListener("blur",e.handleInputProduct):o.addEventListener("change",e.handleChangeProduct))}}},analysisFormual:function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var n,i,a,o,s;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n=t,i=e.formula,a=/\[T\]\[(.*?)\]\[(.*?)\]/g,r.next=5,t.replaceAsync(i,a,function(){var e=Object(d["a"])(Object(u["a"])().mark((function e(t,r,i){var a;return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.getModuleData(r,i);case 3:if(a=e.sent,null!==a&&void 0!==a){e.next=9;break}return console.warn("获取到的数据无效: ".concat(t)),e.abrupt("return","''");case 9:return e.abrupt("return","string"===typeof a?"".concat(a):a);case 10:e.next=16;break;case 12:return e.prev=12,e.t0=e["catch"](0),console.error("处理 ".concat(t," 时出错:"),e.t0),e.abrupt("return","''");case 16:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t,r,n){return e.apply(this,arguments)}}());case 5:i=r.sent,o=/IF\s*\((.*?),(.*?),(.*?)\)/gi,s=0;while(i.match(o)&&s<10)i=i.replace(o,(function(e,t,r,n){return r.includes("IF(")||n.includes("IF(")||r.includes("if(")||n.includes("if(")?"(".concat(t," ? (").concat(r,") : (").concat(n,"))"):"(".concat(t," ? ").concat(r," : ").concat(n,")")})),s++;return r.abrupt("return",i);case 10:case"end":return r.stop()}}),r)})))()},replaceAsync:function(e,t,r){return Object(d["a"])(Object(u["a"])().mark((function n(){var i,a;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=[],e.replace(t,(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=r.apply(void 0,[e].concat(n));i.push(o)})),n.next=4,Promise.all(i);case 4:return a=n.sent,n.abrupt("return",e.replace(t,(function(){return a.shift()})));case 6:case"end":return n.stop()}}),n)})))()}},Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(n,"replaceAsync",(function(e,t,r){return Object(d["a"])(Object(u["a"])().mark((function n(){var i,a;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=[],e.replace(t,(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=r.apply(void 0,[e].concat(n));i.push(o)})),n.next=4,Promise.all(i);case 4:return a=n.sent,n.abrupt("return",e.replace(t,(function(){return a.shift()})));case 6:case"end":return n.stop()}}),n)})))()})),"getFormualData",(function(e,t){var r=this;return Object(d["a"])(Object(u["a"])().mark((function t(){var n,i,a,o,s;return Object(u["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=r,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i),o=e.match(a),s=0,!o||"T"!=o[1]){t.next=11;break}return t.next=8,n.getModuleData(o[2],o[3]);case 8:s=t.sent,t.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return t.abrupt("return",s);case 13:case"end":return t.stop()}}),t)})))()})),"getRemote",(function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i);case 3:if(o=e.match(a),null!=o){r.next=7;break}return r.abrupt("break",18);case 7:if("R"!=o[1]){r.next=16;break}return s=o[4],s=o[4].split(","),r.next=12,n.getRemoteData(o[2],o[3],s[0],s[1]);case 12:l=r.sent,c=o[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")"),e=e.replace(c,"("+parseFloat(l)+")");case 16:r.next=3;break;case 18:return r.abrupt("return",e);case 19:case"end":return r.stop()}}),r)})))()})),"getRemote1",(function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i);case 3:if(o=e.match(a),null!=o){r.next=7;break}return r.abrupt("break",17);case 7:if("R"!=o[1]){r.next=15;break}return s=o[4],s=o[4].split(","),r.next=12,n.getRemoteData(o[2],o[3],s[0],s[1]);case 12:l=r.sent,c=o[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")");case 15:r.next=3;break;case 17:return r.abrupt("return",e);case 18:case"end":return r.stop()}}),r)})))()})),"onFocus",(function(){this.isEditing=!0})),"onBlur",(function(){this.isEditing=!1})),"getRemoteData",(function(e,t,r,n){var i=this;return Object(d["a"])(Object(u["a"])().mark((function a(){var o,s,l;return Object(u["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i,o=0,s={code:e,sheetName:t,row:r,col:n},a.prev=3,a.next=6,Object(h["a"])(s);case 6:if(l=a.sent,l){a.next=10;break}return console.warn("No response received from findData"),a.abrupt("return",o);case 10:200===l.status&&l.data?(o=l.data.result,"string"!==typeof o||isNaN(o)||(o=parseFloat(o))):console.warn("Invalid response format:",l),a.next=17;break;case 13:a.prev=13,a.t0=a["catch"](3),console.error("获取远程数据错误:",a.t0),i.$message&&i.$message.error("获取远程数据失败");case 17:return a.abrupt("return",o);case 18:case"end":return a.stop()}}),a,null,[[3,13]])})))()})),"getModuleData",(function(e,t){var r=this;return Object(d["a"])(Object(u["a"])().mark((function n(){var i,a,o;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=r,a=i.coms.filter((function(t){return t.name==e})),!(a.length>0)){n.next=6;break}if(o=a[0].attrs.filter((function(e){return e.name==t})),!(o.length>0)){n.next=6;break}return n.abrupt("return",o[0].content);case 6:return n.abrupt("return","");case 7:case"end":return n.stop()}}),n)})))()})),"handleChangeProduct",(function(e){var t=e.target.dataset.index;this.$emit("onUpdateProdAttr",this.currentIndex,t,e.target.value)})),"handleInputProduct",(function(e){var t=e.target.dataset.index;this.$emit("onUpdateProdAttr",this.currentIndex,t,e.target.value)})),Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(Object(o["a"])(n,"handleInput",(function(e){var t=e.target.dataset.index;this.$emit("onUpdateAttr",this.currentIndex,t,e.target.value)})),"onEditorReady",(function(e){})),"onInputText",(function(e){this.$emit("onUpdate",this.currentIndex,e)})),"handleImageClick",(function(e){"IMG"===e.target.tagName&&this.replaceImage(e.target)})),"selectImage",(function(){return new Promise((function(e){var t=document.createElement("input");t.type="file",t.accept="image/*",t.onchange=function(t){return e(t.target.files[0])},t.click()}))})),"uploadImage",(function(e){return Object(d["a"])(Object(u["a"])().mark((function t(){var r;return Object(u["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,f.a.post("http://58.246.234.210:8084/upload/image",e,{headers:{"Content-Type":"multipart/form-data"}});case 3:if(r=t.sent,console.log("Upload response:",r),200!==r.status||!r.data||!r.data.url){t.next=9;break}return t.abrupt("return",r.data.url);case 9:throw new Error("Invalid upload response");case 10:t.next=16;break;case 12:throw t.prev=12,t.t0=t["catch"](0),console.error("Error uploading image:",t.t0),t.t0;case 16:case"end":return t.stop()}}),t,null,[[0,12]])})))()})),"replaceImage",(function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var n,i,a;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.selectImage();case 3:if(n=r.sent,!n){r.next=12;break}return i=new FormData,i.append("upload",n),r.next=9,t.uploadImage(i);case 9:a=r.sent,e.src=a,t.$nextTick((function(){t.updateContentWithNewImage(e,a)}));case 12:r.next=17;break;case 14:r.prev=14,r.t0=r["catch"](0),console.error("Error replacing image:",r.t0);case 17:case"end":return r.stop()}}),r,null,[[0,14]])})))()})),"updateContentWithNewImage",(function(e,t){var r=this.$refs.richEditor,n=document.createElement("img");n.src=t;var i,a=Object(c["a"])(e.attributes);try{for(a.s();!(i=a.n()).done;){var o=i.value;"src"!==o.name&&n.setAttribute(o.name,o.value)}}catch(s){a.e(s)}finally{a.f()}e.parentNode.replaceChild(n,e),this.content=r.innerHTML,this.com.content=this.content,this.$emit("updateComContent",this.currentIndex,this.com)})))}),A=m,g=(r("d774"),r("2877")),_=Object(g["a"])(A,i,a,!1,null,"0206b497",null);t["default"]=_.exports},"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))g(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(v(e))yield*e;else for(const t in e)e.hasOwnProperty(t)&&(yield[t,e[t]])}function c(e){return v(e)?e.size:Object.keys(e).length}function u(e,t){return v(e)?e.get(t):e[t]}function d(e,t){v(e)?e.delete(t):delete e[t]}function h(e){if(A(e))return e;if(_(e)){const t=[];for(const r of e)t.push(h(r));return t}if(g(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 A(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function g(e){const t=typeof e;return!!e&&("function"===t||"object"===t)}function _(e){return Array.isArray(e)}function v(e){return e instanceof Map}function b(e){if(_(e))return!e.length;if(g(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function w(e){if(g(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 y(e){return e&&"function"===typeof e[Symbol.iterator]}function E(e){return A(e.valueOf)?e.valueOf():e}t.CompareCache=i.CompareCache,t.applyMixin=a,t.applyDefaults=o,t.forEachArray=s,t.forEachObject=l,t.objectLength=c,t.getObjectValue=u,t.removeObjectValue=d,t.clone=h,t.isBoolean=p,t.isNumber=f,t.isString=m,t.isFunction=A,t.isObject=g,t.isArray=_,t.isMap=v,t.isEmpty=b,t.isPlainObject=w,t.isIterable=y,t.getValue=E},"7d33":function(e,t,r){},"7d72":function(e,t,r){"use strict";var n=r("8707").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=A,this.end=g,t=3;break;default:return this.write=_,void(this.end=v)}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 c(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 u(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=u(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=c(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 A(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 g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function v(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}},"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},"7dd0":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 c(e){return e<<1|e>>>31}function u(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]=c(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var p=0;p<80;++p){var f=~~(p/20),m=u(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,c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T;r=e.state,a=e.next_in,x=e.input,o=a+(e.avail_in-5),s=e.next_out,T=e.output,l=s-(t-e.avail_out),c=s+(e.avail_out-257),u=r.dmax,d=r.wsize,h=r.whave,p=r.wnext,f=r.window,m=r.hold,A=r.bits,g=r.lencode,_=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{A<15&&(m+=x[a++]<<A,A+=8,m+=x[a++]<<A,A+=8),w=g[m&v];t:for(;;){if(y=w>>>24,m>>>=y,A-=y,y=w>>>16&255,0===y)T[s++]=65535&w;else{if(!(16&y)){if(0===(64&y)){w=g[(65535&w)+(m&(1<<y)-1)];continue t}if(32&y){r.mode=i;break e}e.msg="invalid literal/length code",r.mode=n;break e}E=65535&w,y&=15,y&&(A<y&&(m+=x[a++]<<A,A+=8),E+=m&(1<<y)-1,m>>>=y,A-=y),A<15&&(m+=x[a++]<<A,A+=8,m+=x[a++]<<A,A+=8),w=_[m&b];r:for(;;){if(y=w>>>24,m>>>=y,A-=y,y=w>>>16&255,!(16&y)){if(0===(64&y)){w=_[(65535&w)+(m&(1<<y)-1)];continue r}e.msg="invalid distance code",r.mode=n;break e}if(C=65535&w,y&=15,A<y&&(m+=x[a++]<<A,A+=8,A<y&&(m+=x[a++]<<A,A+=8)),C+=m&(1<<y)-1,C>u){e.msg="invalid distance too far back",r.mode=n;break e}if(m>>>=y,A-=y,y=s-l,C>y){if(y=C-y,y>h&&r.sane){e.msg="invalid distance too far back",r.mode=n;break e}if(S=0,M=f,0===p){if(S+=d-y,y<E){E-=y;do{T[s++]=f[S++]}while(--y);S=s-C,M=T}}else if(p<y){if(S+=d+p-y,y-=p,y<E){E-=y;do{T[s++]=f[S++]}while(--y);if(S=0,p<E){y=p,E-=y;do{T[s++]=f[S++]}while(--y);S=s-C,M=T}}}else if(S+=p-y,y<E){E-=y;do{T[s++]=f[S++]}while(--y);S=s-C,M=T}while(E>2)T[s++]=M[S++],T[s++]=M[S++],T[s++]=M[S++],E-=3;E&&(T[s++]=M[S++],E>1&&(T[s++]=M[S++]))}else{S=s-C;do{T[s++]=T[S++],T[s++]=T[S++],T[s++]=T[S++],E-=3}while(E>2);E&&(T[s++]=T[S++],E>1&&(T[s++]=T[S++]))}break}}break}}while(a<o&&s<c);E=A>>3,a-=E,A-=E<<3,m&=(1<<A)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?o-a+5:5-(a-o),e.avail_out=s<c?c-s+257:257-(s-c),r.hold=m,r.bits=A}},"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 c(e){return i.Guard.isDocumentNode(o.tree_rootNode(e,!0))}function u(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 A(e){const t=d(e);null!==t&&f(t)}t.shadowTree_signalASlotChange=l,t.shadowTree_isConnected=c,t.shadowTree_isAssigned=u,t.shadowTree_findASlot=d,t.shadowTree_findSlotables=h,t.shadowTree_findFlattenedSlotables=p,t.shadowTree_assignSlotables=f,t.shadowTree_assignSlotablesForATree=m,t.shadowTree_assignASlot=A},"7f31":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.coms.length>0?r("div",{staticClass:"com-list"},[r("div",{staticClass:"com-list-title"},[e._v("模块管理")]),r("div",{staticClass:"com-items"},[r("draggable",{staticStyle:{width:"100%"},attrs:{options:{animation:200}},on:{update:e.datadragEnd},model:{value:e.coms,callback:function(t){e.coms=t},expression:"coms"}},[e._l(e.coms,(function(t,n){return[r("div",{key:n,staticClass:"com-item",attrs:{draggable:""}},[r("div",{staticClass:"icon"},[r("svg-icon",{attrs:{"icon-class":"dashBoard1"}})],1),r("div",{staticClass:"name",on:{click:function(t){return e.onSetActive(n)}}},[e._v(e._s(t.name))]),"document"!==e.type?r("div",{staticClass:"remove",on:{click:function(t){return e.onRemove(n)}}},[r("svg-icon",{staticStyle:{cursor:"pointer"},attrs:{"icon-class":"delete"}})],1):e._e()])]}))],2)],1)]):e._e()},i=[],a=r("c7eb"),o=r("1da1"),s=r("b76a"),l=r.n(s),c={name:"comList",emits:["onRemove","onRebuild","onSetActive"],components:{draggable:l.a},props:{coms:{type:Array,default:[]}},data:function(){return{type:""}},mounted:function(){this.type=this.$route.query.type},methods:{datadragEnd:function(e){var t=this;return Object(o["a"])(Object(a["a"])().mark((function r(){var n;return Object(a["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.preventDefault(),n=t.coms,t.$emit("onRebuild",n);case 3:case"end":return r.stop()}}),r)})))()},onSetActive:function(e){this.$emit("onSetActive",e)},onRemove:function(e){this.$emit("onRemove",e)}}},u=c,d=(r("1c6d"),r("2877")),h=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=h.exports},"7f33":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  192. //! moment.js locale configuration
  193. 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"),c=r("a32f"),u=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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;");else for(let i=0;i<t.data.length;i++){const e=t.data[i];r+="&"===e?"&amp;":"<"===e?"&lt;":">"===e?"&gt;":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),c=0===this._openTags.length?null:this._openTags[this._openTags.length-1][1],u=t.namespaceURI;if(null===u&&(u=c),c===u)null!==l&&(n=!0),r=u===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&&u===l||(o=i.get(e,u)),"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&&(c=l||null),this._writer.beginElement(r),this._push(this._writer.openTagBegin(r))):null!==e?(e in a&&(e=this._generatePrefix(u,i,this._prefixIndex)),i.set(e,u),r+=e+":"+t.localName,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r)),this._push(this._writer.attribute("xmlns:"+e,this._serializeAttributeValue(u,this._options.wellFormed))),null!==l&&(c=l||null)):null===l||null!==l&&l!==u?(n=!0,r+=t.localName,c=u,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(u,this._options.wellFormed)))):(r+=t.localName,c=u,this._writer.beginElement(r),this._push(this._writer.openTagBegin(r)))}this._serializeAttributes(t,i,this._prefixIndex,a,n,this._options.wellFormed);const d=u===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,c,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(u.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 u.Guard.isExclusiveTextNode(e)&&e.data?this.txt(e.data):u.Guard.isCommentNode(e)?this.com(e.data):u.Guard.isCDATASectionNode(e)?this.dat(e.data):u.Guard.isProcessingInstructionNode(e)&&this.ins(e.target,e.data)}_serializeAttributes(e,t,r,n,i,a){const l=a?new c.LocalNameSet:void 0;for(const c of e.attributes){if(!a&&!i&&null===c.namespaceURI){this._push(this._writer.attribute(c.localName,this._serializeAttributeValue(c.value,this._options.wellFormed)));continue}if(a&&l&&l.has(c.namespaceURI,c.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));a&&l&&l.set(c.namespaceURI,c.localName);let e=c.namespaceURI,u=null;if(null!==e)if(u=t.get(c.prefix,e),e===s.namespace.XMLNS){if(c.value===s.namespace.XML||null===c.prefix&&i||null!==c.prefix&&(!(c.localName in n)||n[c.localName]!==c.value)&&t.has(c.localName,c.value))continue;if(a&&c.value===s.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(a&&""===c.value)return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));"xmlns"===c.prefix&&(u="xmlns")}else null===u&&(u=null===c.prefix||t.hasPrefix(c.prefix)&&!t.has(c.prefix,e)?this._generatePrefix(e,t,r):c.prefix,this._push(this._writer.attribute("xmlns:"+u,this._serializeAttributeValue(e,this._options.wellFormed))));if(a&&(-1!==c.localName.indexOf(":")||!o.xml_isName(c.localName)||"xmlns"===c.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!==u?u+":":"")+c.localName,this._serializeAttributeValue(c.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,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;");{let t="";for(let r=0;r<e.length;r++){const n=e[r];t+='"'===n?"&quot;":"&"===n?"&amp;":"<"===n?"&lt;":">"===n?"&gt;":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"])},"7f65":function(e,t,r){"use strict";var n=r("59ed"),i=r("825a"),a=r("c65b"),o=r("5926"),s=r("46c4"),l="Invalid size",c=RangeError,u=TypeError,d=Math.max,h=function(e,t){this.set=e,this.size=d(t,0),this.has=n(e.has),this.keys=n(e.keys)};h.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(e){return a(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!==t)throw new u(l);var r=o(t);if(r<0)throw new c(l);return new h(e,r)}},"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")},"7f98":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}},"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)},8:function(e,t){},"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(9).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 c(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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 u=["","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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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?u[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 c=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:u[c-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,c=new e(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},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,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function A(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 g(e,t,r){var n=new _;return n.mulp(e,t,r)}function _(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?A(this,e,t):g(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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),g(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 S(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 v={k256:null,p224:null,p192:null,p25519:null};function b(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(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(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 M(e){S.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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.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},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),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},w.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(y,b),i(E,b),i(C,b),C.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(v[e])return v[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return v[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.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)},M.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)},M.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))},8127:function(e,t,r){"use strict";r("f955")},8155:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  194. //! moment.js locale configuration
  195. 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("44e8"),i=function(e){var t=new n.DomHandler,r=new n.Parser(t,{lowerCaseAttributeNames:!1});return r.parseComplete(e),t.dom};e.exports=i},"81e9":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  196. //! moment.js locale configuration
  197. 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 c})),r.d(t,"arraySum",(function(){return u})),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 A})),r.d(t,"getIntersectionOfArrays",(function(){return g})),r.d(t,"getUnionOfArrays",(function(){return _})),r.d(t,"stringToArray",(function(){return v}));r("14d9"),r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3");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 c(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 u(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?u(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 c(e,e=>{-1===t.indexOf(e)&&t.push(e)}),t}function A(){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 c(i,e=>{a=a.filter(t=>!e.includes(t))}),a}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 c(i,e=>{a=a.filter(t=>e.includes(t))}),a}function _(){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 c(i,e=>{c(e,e=>{a.has(e)||a.add(e)})}),Array.from(a)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.split(t)}},8224: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"}}')},8229:function(e,t,r){var n=r("843f").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 c(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:c}},8230:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  198. //! moment.js locale configuration
  199. 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}))},"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"),c=r("bd9d");function u(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,u=i.alloc(8);u.writeUIntBE(l,0,8),n.update(u),e._finID=n.state;var d=i.from(e._finID);return c(d),d}function h(e,t,r,o){a.call(this);var l=i.alloc(4,0);this._cipher=new n.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),r=d(this,r,c),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&&u(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),c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function u(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=u;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.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},u.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)},u.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")},u.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})))},c.forEach((function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){u.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}})),u.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},u.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return o(null===t["default"]),t["default"]=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},u.prototype.any=function(){var e=this._baseState;return e.any=!0,this},u.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},u.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},u.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 c=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),o=!0}catch(f){o=!1}e.restore(c)}}if(r.obj&&o&&(n=e.enterObject()),o){if(null!==r.explicit){var u=this._decodeTag(e,r.explicit);if(e.isError(u))return u;e=u}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)c=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(c):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},u.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)},u.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},u.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(c){return e.restore(o),!1}return!0}),this),i?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.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}},u.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 c=null!==i.implicit?i.implicit:i.tag,u=null===i.implicit?"universal":"context";null===c?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(a=this._encodeComposite(c,s,u,o))}return null!==i.explicit&&(a=this._encodeComposite(i.explicit,!1,"context",a)),a},u.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)},u.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)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},"83b9e":function(e,t,r){"use strict";var n=r("cb27"),i=r("384f"),a=n.Set,o=n.add;e.exports=function(e){var t=new a;return i(e,(function(e){o(t,e)})),t}},"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},"843f":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}}},"84aa":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  200. //! moment.js locale configuration
  201. 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}))},"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 s})),r.d(t,"b",(function(){return l}));r("d9e2"),r("14d9");var n=r("5714");function i(e,t,r){return(t=a(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)}const s=50;class l extends n["a"]{constructor(e){let{calculationTypes:t,viewportWidth:r,scrollOffset:n,totalColumns:a,columnWidthFn:o,overrideFn:s,inlineStartOffset:l}=e;super(t),i(this,"viewportWidth",0),i(this,"scrollOffset",0),i(this,"zeroBasedScrollOffset",0),i(this,"totalColumns",0),i(this,"columnWidthFn",null),i(this,"columnWidth",0),i(this,"overrideFn",null),i(this,"inlineStartOffset",0),i(this,"totalCalculatedWidth",0),i(this,"startPositions",[]),i(this,"needReverse",!0),this.viewportWidth=r,this.scrollOffset=n,this.zeroBasedScrollOffset=Math.max(n,0),this.totalColumns=a,this.columnWidthFn=o,this.overrideFn=s,this.inlineStartOffset=l,this.calculate()}calculate(){this._initialize(this);for(let e=0;e<this.totalColumns;e++)if(this.columnWidth=this.getColumnWidth(e),this._process(e,this),this.startPositions.push(this.totalCalculatedWidth),this.totalCalculatedWidth+=this.columnWidth,this.totalCalculatedWidth>=this.zeroBasedScrollOffset+this.viewportWidth){this.needReverse=!1;break}this._finalize(this)}getColumnWidth(e){const t=this.columnWidthFn(e);return isNaN(t)?s:t}}},8689:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  202. //! moment.js locale configuration
  203. 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}))},"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){
  204. /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
  205. 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)}},8722: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 c="function"==typeof n&&n;if(!l&&c)return n(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}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,c=14,u=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=c-t.length;r--;t="0"+t);a+=t}for(i=a.length;48===a.charCodeAt(--i););return a.slice(0,i+1||1)}function A(e,t){var r,n,i=e.c,a=t.c,o=e.s,s=t.s,l=e.e,c=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==c,!i||!a)return n?0:!i^r?1:-1;if(!n)return c<l^r?1:-1;for(s=(l=i.length)<(c=a.length)?l:c,o=0;o<s;o++)if(i[o]!=a[o])return i[o]>a[o]^r?1:-1;return l==c?0:c<l^r?1:-1}function g(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 _(e){var t=e.c.length-1;return f(e.e/c)==t&&e.c[t]%2!=0}function v(e,t){return(1<e.length?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function b(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,w,y,E,C,S,M,x,T,O,N=Y.prototype={constructor:Y,toString:null,valueOf:null},R=new Y(1),L=20,I=4,k=-7,B=21,D=-1e7,F=1e7,P=!1,j=1,U=0,H={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 y(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(g(t,2,V.length,"Base"),f=String(e),10==t)return q(m=new Y(e instanceof Y?e:f),L+m.e+1,I);if(h="number"==typeof e){if(0*e!=0)return y(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 y(m,String(e),h,t)}-1<(l=(f=w(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&&(u<e||e!==a(e)))throw Error(s+m.s*e);if(F<(l=l-d-1))m.c=m.e=null;else if(l<D)m.c=[m.e=0];else{if(m.e=l,m.c=[],d=(l+1)%c,l<0&&(d+=c),d<p){for(d&&m.c.push(+f.slice(0,d)),p-=c;d<p;)m.c.push(+f.slice(d,d+=c));f=f.slice(d),d=c-f.length}else d-=p;for(;d--;f+="0");m.c.push(+f)}}else m.c=[m.e=0]}function W(e,t,r,n){var i,a,o,s,l;if(null==r?r=I:g(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<=k||B<=o)?v(l,o):b(l,o,"0");else if(a=(e=q(new Y(e),t,r)).e,s=(l=m(e.c)).length,1==n||2==n&&(t<=a||a<=k)){for(;s<t;l+="0",s++);l=v(l,a)}else if(t-=o,l=b(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 Q(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 z(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*c-1)>F?e.c=e.e=null:e.c=r<D?[e.e=0]:(e.e=r,t),e}function q(e,t,r,n){var o,s,u,h,p,f,m,A=e.c,g=d;if(A){e:{for(o=1,h=A[0];10<=h;h/=10,o++);if((s=t-o)<0)s+=c,u=t,m=(p=A[f=0])/g[o-u-1]%10|0;else if((f=i((s+1)/c))>=A.length){if(!n)break e;for(;A.length<=f;A.push(0));p=m=0,u=(s%=c)-c+(o=1)}else{for(p=h=A[f],o=1;10<=h;h/=10,o++);m=(u=(s%=c)-c+o)<0?0:p/g[o-u-1]%10|0}if(n=n||t<0||null!=A[f+1]||(u<0?p:p%g[o-u-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<u?p/g[o-u]:0:A[f-1])%10&1||r==(e.s<0?8:7)),t<1||!A[0])return A.length=0,n?(t-=e.e+1,A[0]=g[(c-t%c)%c],e.e=-t||0):A[0]=e.e=0,e;if(0==s?(A.length=f,h=1,f--):(A.length=f+1,h=g[c-s],A[f]=0<u?a(p/g[o-u]%g[u])*h:0),n)for(;;){if(0==f){for(s=1,u=A[0];10<=u;u/=10,s++);for(u=A[0]+=h,h=1;10<=u;u/=10,h++);s!=h&&(e.e++,A[0]==l&&(A[0]=1));break}if(A[f]+=h,A[f]!=l)break;A[f--]=0,h=1}for(s=A.length;0===A[--s];A.pop());}e.e>F?e.c=e.e=null:e.e<D&&(e.c=[e.e=0])}return e}function G(e){var t,r=e.e;return null===r?e.toString():(t=m(e.c),t=r<=k||B<=r?v(t,r):b(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")&&(g(r=e[t],0,p,t),L=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(g(r=e[t],0,8,t),I=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(g(r[0],-p,0,t),g(r[1],0,p,t),k=r[0],B=r[1]):(g(r,-p,p,t),k=-(B=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)g(r[0],-p,-1,t),g(r[1],1,p,t),D=r[0],F=r[1];else{if(g(r,-p,p,t),!r)throw Error(o+t+" cannot be zero: "+r);D=-(F=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 P=!r,Error(o+"crypto unavailable");P=r}else P=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(g(r=e[t],0,9,t),j=r),e.hasOwnProperty(t="POW_PRECISION")&&(g(r=e[t],0,p,t),U=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(o+t+" not an object: "+r);H=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:I,EXPONENTIAL_AT:[k,B],RANGE:[D,F],CRYPTO:P,MODULO_MODE:j,POW_PRECISION:U,FORMAT:H,ALPHABET:V}},Y.isBigNumber=function(e){return e instanceof Y||e&&!0===e._isBigNumber||!1},Y.maximum=Y.max=function(){return Q(arguments,N.lt)},Y.minimum=Y.min=function(){return Q(arguments,N.gt)},Y.random=(E=9007199254740992,C=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,u=0,h=[],f=new Y(R);if(null==e?e=L:g(e,0,p),s=i(e/c),P)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));u<s;)9e15<=(l=131072*t[u]+(t[u+1]>>>11))?(r=crypto.getRandomValues(new Uint32Array(2)),t[u]=r[0],t[u+1]=r[1]):(h.push(l%1e14),u+=2);u=s/2}else{if(!crypto.randomBytes)throw P=!1,Error(o+"crypto unavailable");for(t=crypto.randomBytes(s*=7);u<s;)9e15<=(l=281474976710656*(31&t[u])+1099511627776*t[u+1]+4294967296*t[u+2]+16777216*t[u+3]+(t[u+4]<<16)+(t[u+5]<<8)+t[u+6])?crypto.randomBytes(7).copy(t,u):(h.push(l%1e14),u+=7);u=s/7}if(!P)for(;u<s;)(l=C())<9e15&&(h[u++]=l%1e14);for(s=h[--u],e%=c,s&&e&&(l=d[c-e],h[u]=a(s/l)*l);0===h[u];h.pop(),u--);if(u<0)h=[n=0];else{for(n=-1;0===h[0];h.splice(0,1),n-=c);for(u=1,l=h[0];10<=l;l/=10,u++);u<c&&(n-=c-u)}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},w=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,c,u,d,h,p,f,A,g=n.indexOf("."),_=L,v=I;for(0<=g&&(d=U,U=0,n=n.replace(".",""),p=(A=new Y(i)).pow(n.length-g),U=d,A.c=t(b(m(p.c),p.e,"0"),10,a,e),A.e=A.c.length),u=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(g<0?--u:(p.c=f,p.e=u,p.s=o,f=(p=r(p,A,_,v,a)).c,h=p.r,u=p.e),g=f[c=u+_+1],d=a/2,h=h||c<0||null!=f[c+1],h=v<4?(null!=g||h)&&(0==v||v==(p.s<0?3:2)):d<g||g==d&&(4==v||h||6==v&&1&f[c-1]||v==(p.s<0?8:7)),c<1||!f[0])n=h?b(l.charAt(1),-_,l.charAt(0)):l.charAt(0);else{if(f.length=c,h)for(--a;++f[--c]>a;)f[c]=0,c||(++u,f=[1].concat(f));for(d=f.length;!f[--d];);for(g=0,n="";g<=d;n+=l.charAt(f[g++]));n=b(n,u,l.charAt(0))}return n}}(),r=function(){function e(e,t,r){var n,i,a,o,s=0,l=e.length,c=t%h,u=t/h|0;for(e=e.slice();l--;)s=((i=c*(a=e[l]%h)+(n=u*a+(o=e[l]/h|0)*c)%h*h+s)/r|0)+(n/h|0)+u*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,u){var d,h,p,m,A,g,_,v,b,w,y,E,C,S,M,x,T,O=n.s==i.s?1:-1,N=n.c,R=i.c;if(!(N&&N[0]&&R&&R[0]))return new Y(n.s&&i.s&&(N?!R||N[0]!=R[0]:R)?N&&0==N[0]||!R?0*O:O/0:NaN);for(b=(v=new Y(O)).c=[],O=o+(h=n.e-i.e)+1,u||(u=l,h=f(n.e/c)-f(i.e/c),O=O/c|0),p=0;R[p]==(N[p]||0);p++);if(R[p]>(N[p]||0)&&h--,O<0)b.push(1),m=!0;else{for(S=N.length,x=R.length,O+=2,1<(A=a(u/(R[p=0]+1)))&&(R=e(R,A,u),N=e(N,A,u),x=R.length,S=N.length),C=x,y=(w=N.slice(0,x)).length;y<x;w[y++]=0);T=R.slice(),T=[0].concat(T),M=R[0],R[1]>=u/2&&M++;do{if(A=0,(d=t(R,w,x,y))<0){if(E=w[0],x!=y&&(E=E*u+(w[1]||0)),1<(A=a(E/M)))for(u<=A&&(A=u-1),_=(g=e(R,A,u)).length,y=w.length;1==t(g,w,_,y);)A--,r(g,x<_?T:R,_,u),_=g.length,d=1;else 0==A&&(d=A=1),_=(g=R.slice()).length;if(_<y&&(g=[0].concat(g)),r(w,g,y,u),y=w.length,-1==d)for(;t(R,w,x,y)<1;)A++,r(w,x<y?T:R,y,u),y=w.length}else 0===d&&(A++,w=[0]);b[p++]=A,w[0]?w[y++]=N[C]||0:(w=[N[C]],y=1)}while((C++<S||null!=w[0])&&O--);m=null!=w[0],b[0]||b.splice(0,1)}if(u==l){for(p=1,O=b[0];10<=O;O/=10,p++);q(v,o+(v.e=p+h*c-1)+1,s,m)}else v.e=h,v.r=+m;return v}}(),S=/^(-?)0([xbo])(?=\w[\w.]*$)/i,M=/^([^.]+)\.$/,x=/^\.([^.]+)$/,T=/^-?(Infinity|NaN)$/,O=/^\s*\+(?=[\w.])|^\s+|\s+$/g,y=function(e,t,r,n){var i,a=r?t:t.replace(O,"");if(T.test(a))e.s=isNaN(a)?null:a<0?-1:1,e.c=e.e=null;else{if(!r&&(a=a.replace(S,(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(M,"$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}},N.absoluteValue=N.abs=function(){var e=new Y(this);return e.s<0&&(e.s=1),e},N.comparedTo=function(e,t){return A(this,new Y(e,t))},N.decimalPlaces=N.dp=function(e,t){var r,n,i;if(null!=e)return g(e,0,p),null==t?t=I:g(t,0,8),q(new Y(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((i=r.length-1)-f(this.e/c))*c,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},N.dividedBy=N.div=function(e,t){return r(this,new Y(e,t),L,I)},N.dividedToIntegerBy=N.idiv=function(e,t){return r(this,new Y(e,t),0,1)},N.exponentiatedBy=N.pow=function(e,t){var r,n,s,l,u,d,h,p,f=this;if((e=new Y(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+G(e));if(null!=t&&(t=new Y(t)),u=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(+G(f),u?2-_(e):+G(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]||u&&24e7<=f.c[1]:f.c[0]<8e13||u&&f.c[0]<=9999975e7)))return l=f.s<0&&_(e)?-0:0,-1<f.e&&(l=1/l),new Y(d?1/l:l);U&&(l=i(U/c+2))}for(h=u?(r=new Y(.5),d&&(e.s=1),_(e)):(s=Math.abs(+G(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(q(e=e.times(r),e.e+1,1),14<e.e)h=_(e);else{if(0==(s=+G(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?q(p,U,I,void 0):p)},N.integerValue=function(e){var t=new Y(this);return null==e?e=I:g(e,0,8),q(t,t.e+1,e)},N.isEqualTo=N.eq=function(e,t){return 0===A(this,new Y(e,t))},N.isFinite=function(){return!!this.c},N.isGreaterThan=N.gt=function(e,t){return 0<A(this,new Y(e,t))},N.isGreaterThanOrEqualTo=N.gte=function(e,t){return 1===(t=A(this,new Y(e,t)))||0===t},N.isInteger=function(){return!!this.c&&f(this.e/c)>this.c.length-2},N.isLessThan=N.lt=function(e,t){return A(this,new Y(e,t))<0},N.isLessThanOrEqualTo=N.lte=function(e,t){return-1===(t=A(this,new Y(e,t)))||0===t},N.isNaN=function(){return!this.s},N.isNegative=function(){return this.s<0},N.isPositive=function(){return 0<this.s},N.isZero=function(){return!!this.c&&0==this.c[0]},N.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 u=o.e/c,d=e.e/c,h=o.c,p=e.c;if(!u||!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==I?-0:0)}if(u=f(u),d=f(d),h=h.slice(),s=u-d){for((i=(a=s<0)?(s=-s,h):(d=u,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]?z(e,h,d):(e.s=3==I?-1:1,e.c=[e.e=0],e)},N.modulo=N.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==j?(i=e.s,e.s=1,n=r(a,e,0,3),e.s=i,n.s*=i):n=r(a,e,0,j),(e=a.minus(n.times(e))).c[0]||1!=j||(e.s=a.s),e)},N.multipliedBy=N.times=function(e,t){var r,n,i,a,o,s,u,d,p,m,A,g,_,v,b,w=this,y=w.c,E=(e=new Y(e,t)).c;if(!(y&&E&&y[0]&&E[0]))return!w.s||!e.s||y&&!y[0]&&!E||E&&!E[0]&&!y?e.c=e.e=e.s=null:(e.s*=w.s,y&&E?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=f(w.e/c)+f(e.e/c),e.s*=w.s,(u=y.length)<(m=E.length)&&(_=y,y=E,E=_,i=u,u=m,m=i),i=u+m,_=[];i--;_.push(0));for(v=l,b=h,i=m;0<=--i;){for(r=0,A=E[i]%b,g=E[i]/b|0,a=i+(o=u);i<a;)r=((d=A*(d=y[--o]%b)+(s=g*d+(p=y[o]/b|0)*A)%b*b+_[a]+r)/v|0)+(s/b|0)+g*p,_[a--]=d%v;_[a]=r}return r?++n:_.splice(0,1),z(e,_,n)},N.negated=function(){var e=new Y(this);return e.s=-e.s||null,e},N.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/c,o=e.e/c,s=n.c,u=e.c;if(!a||!o){if(!s||!u)return new Y(i/0);if(!s[0]||!u[0])return u[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,u):(i=-i,s)).reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(t=u.length)<0&&(r=u,u=s,s=r,t=i),i=0;t;)i=(s[--t]=s[t]+u[t]+i)/l|0,s[t]=l===s[t]?0:s[t]%l;return i&&(s=[i].concat(s),++o),z(e,s,o)},N.precision=N.sd=function(e,t){var r,n,i;if(null!=e&&e!==!!e)return g(e,1,p),null==t?t=I:g(t,0,8),q(new Y(this),e,t);if(!(r=this.c))return null;if(n=(i=r.length-1)*c+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},N.shiftedBy=function(e){return g(e,-u,u),this.times("1e"+e)},N.squareRoot=N.sqrt=function(){var e,t,n,i,a,o=this,s=o.c,l=o.s,c=o.e,u=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(+G(o)))||l==1/0?(((t=m(s)).length+c)%2==0&&(t+="0"),l=Math.sqrt(+t),c=f((c+1)/2)-(c<0||c%2),new Y(t=l==1/0?"1e"+c:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+c)):new Y(l+"")).c[0])for((l=(c=n.e)+u)<3&&(l=0);;)if(a=n,n=d.times(a.plus(r(o,a,u,1))),m(a.c).slice(0,l)===(t=m(n.c)).slice(0,l)){if(n.e<c&&--l,"9999"!=(t=t.slice(l-3,l+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(q(n,n.e+L+2,1),e=!n.times(n).eq(o));break}if(!i&&(q(a,a.e+L+2,0),a.times(a).eq(o))){n=a;break}u+=4,l+=4,i=1}return q(n,n.e+L+1,I,e)},N.toExponential=function(e,t){return null!=e&&(g(e,0,p),e++),W(this,e,t,1)},N.toFixed=function(e,t){return null!=e&&(g(e,0,p),e=e+this.e+1),W(this,e,t)},N.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=H;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,c=r.groupSeparator||"",u=a[0],d=a[1],h=this.s<0,p=h?u.slice(1):u,f=p.length;if(l&&(i=s,s=l,f-=l=i),0<s&&0<f){for(i=f%s||s,u=p.substr(0,i);i<f;i+=s)u+=c+p.substr(i,s);0<l&&(u+=c+p.slice(i)),h&&(u="-"+u)}n=d?u+(r.decimalSeparator||"")+((l=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):u}return(r.prefix||"")+n+(r.suffix||"")},N.toFraction=function(e){var t,n,i,a,s,l,u,h,p,f,A,g,_=this,v=_.c;if(null!=e&&(!(u=new Y(e)).isInteger()&&(u.c||1!==u.s)||u.lt(R)))throw Error(o+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+G(u));if(!v)return new Y(_);for(t=new Y(R),p=n=new Y(R),i=h=new Y(R),g=m(v),s=t.e=g.length-_.e-1,t.c[0]=d[(l=s%c)<0?c+l:l],e=!e||0<u.comparedTo(t)?0<s?t:p:u,l=F,F=1/0,u=new Y(g),h.c[0]=0;f=r(u,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=u.minus(f.times(a=t)),u=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=_.s,A=r(p,i,s*=2,I).minus(_).abs().comparedTo(r(h,n,s,I).minus(_).abs())<1?[p,i]:[h,n],F=l,A},N.toNumber=function(){return+G(this)},N.toPrecision=function(e,t){return null!=e&&g(e,1,p),W(this,e,t,2)},N.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<=k||B<=i?v(m(r.c),i):b(m(r.c),i,"0"):10===e?b(m((r=q(new Y(r),L+i+1,I)).c),r.e,"0"):(g(e,2,V.length,"Base"),w(b(m(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},N.valueOf=N.toJSON=function(){return G(this)},N._isBigNumber=!0,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(N[Symbol.toStringTag]="BigNumber",N[Symbol.for("nodejs.util.inspect.custom")]=N.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"}},c={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1};function u(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||"",u=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({},c,t),a=void 0,o="",s=!!i.totalLength||!!i.forceAverage||i.average,l=t.currencyPosition||n.position,u=t.currencySymbol||n.symbol;i.spaceSeparated&&(o=" "),"infix"===l&&(a=o+u+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(u).concat(d.slice(1)):u+o+d),l&&"postfix"!==l||(d=d+(o=s?"":o)+u),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({},c,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()),b=e,y=i,E=r,C=(w=t).base||"binary",S=l[C],M=d(b._value,S.suffixes,S.scale),x=M.value,T=M.suffix,O=f({instance:E(x),providedFormat:w,state:y,defaults:y.currentByteDefaultFormat()}),N=y.currentAbbreviations(),"".concat(O).concat(N.spaced?" ":"").concat(T);case"time":return t=m(t,i.currentTimeDefaultFormat()),A=e,g=Math.floor(A._value/60/60),_=Math.floor((A._value-60*g*60)/60),v=Math.round(A._value-60*g*60-60*_),"".concat(g,":").concat(_<10?"0":"").concat(_,":").concat(v<10?"0":"").concat(v);case"ordinal":return t=m(t,i.currentOrdinalDefaultFormat()),n=e,a=t,s=(o=i).currentOrdinal(),u=Object.assign({},c,a),h=f({instance:n,providedFormat:a,state:o}),p=s(n._value),"".concat(h).concat(u.spaceSeparated?" ":"").concat(p);case"number":default:return f({instance:e,providedFormat:t,numbro:r})}var n,a,o,s,u,h,p,A,g,_,v,b,w,y,E,C,S,M,x,T,O,N}(e,t,r);return(u=n+u)+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],c=s[1],u=void 0===c?"":c;if(0<+o)r=l+u+h(o-u.length);else{var d=".";d=+l<0?"-0".concat(d):"0".concat(d);var p=(h(-o-1)+Math.abs(l)+u).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,u=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,A,g,_,v,b,w=Object.assign({},c,u,r),y=w.totalLength,E=y?0:w.characteristic,C=w.optionalCharacteristic,S=w.forceAverage,M=!!y||!!S||w.average,x=y?-1:M&&void 0===r.mantissa?0:w.mantissa,T=!y&&(void 0===r.optionalMantissa?-1===x:w.optionalMantissa),O=w.trimMantissa,N=w.thousandSeparated,R=w.spaceSeparated,L=w.negative,I=w.forceSign,k=w.exponential,B="";if(M){var D=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="",c=Math.abs(t),u=-1;if(c>=Math.pow(10,12)&&!r||"trillion"===r?(l=n.trillion,t/=Math.pow(10,12)):c<Math.pow(10,12)&&c>=Math.pow(10,9)&&!r||"billion"===r?(l=n.billion,t/=Math.pow(10,9)):c<Math.pow(10,9)&&c>=Math.pow(10,6)&&!r||"million"===r?(l=n.million,t/=Math.pow(10,6)):(c<Math.pow(10,6)&&c>=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];u=Math.max(s-d.length,0)}return{value:t,abbreviation:l,mantissaPrecision:u}}({value:d,forceAverage:S,abbreviations:o.currentAbbreviations(),spaceSeparated:R,totalLength:y});d=D.value,B+=D.abbreviation,y&&(x=D.mantissaPrecision)}if(k){var F=(f=(h={value:d,characteristicPrecision:E}).value,m=h.characteristicPrecision,A=void 0===m?0:m,g=n(f.toExponential().split("e"),2),_=g[0],v=g[1],b=+_,A&&1<A&&(b*=Math.pow(10,A-1),v=0<=(v=+v-(A-1))?"+".concat(v):v),{value:b,abbreviation:"e".concat(v)});d=F.value,B=F.abbreviation+B}var P,j,U,H=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],c=s[1],u=void 0===c?"":c;if(u.match(/^0+$/)&&(r||a))return l;var d=u.match(/0+$/);return a&&d?"".concat(l,".").concat(u.toString().slice(0,d.index)):o.toString()}(d.toString(),d,T,x,O);return H=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(),c=l.split(".")[0],u=l.split(".")[1];return r&&(t<0&&(c=c.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}(c.length,s).forEach((function(e,t){c=c.slice(0,e+t)+o+c.slice(e+t)})),t<0&&(c="-".concat(c))),u?c+i+u:c}(H=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 c=i-s.length,u=0;u<c;u++)a="0".concat(a);return a.toString()}(H,0,C,E),d,N,o,s),(M||k)&&(H+=B),(I||d<0)&&(P=H,U=L,H=0===(j=d)?P:0==+P?P.replace("-",""):0<j?"+".concat(P):"sign"===U?P:"(".concat(P.replace("-",""),")")),H}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 u.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={},c=null,u={};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,u)},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)&&(u=e)},o.getZeroFormat=function(){return c},o.setZeroFormat=function(e){return c="string"==typeof e?e:null},o.hasZeroFormat=function(){return null!==c},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),c=e("./manipulating")(p),u=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=u.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 c.difference(this,e)}},{key:"add",value:function(e){return c.add(this,e)}},{key:"subtract",value:function(e){return c.subtract(this,e)}},{key:"multiply",value:function(e){return c.multiply(this,e)}},{key:"divide",value:function(e){return c.divide(this,e)}},{key:"set",value:function(e){return c.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,c,u,d,h,p,f,m,A,g,_,v,b,w=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return"string"!=typeof e?e:(r=w,e=(n=(t=e).match(/^{([^}]*)}/))?(r.prefix=n[1],t.slice(n[0].length)):t,a=w,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,w),s=w,(l=e.match(/[1-9]+[0-9]*/))&&(s.totalLength=+l[0]),c=w,(u=e.split(".")[0].match(/0+/))&&(c.characteristic=u[0].length),function(e,t){if(-1!==e.indexOf(".")){var r=e.split(".")[0];t.optionalCharacteristic=-1===r.indexOf("0")}}(e,w),d=w,-1!==e.indexOf("a")&&(d.average=!0),p=w,-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,w),m=w,(f=e).match(/\[\.]/)?m.optionalMantissa=!0:f.match(/\./)&&(m.optionalMantissa=!1),A=w,-1!==e.indexOf(",")&&(A.thousandSeparated=!0),g=w,-1!==e.indexOf(" ")&&(g.spaceSeparated=!0),v=w,(_=e).match(/^\+?\([^)]*\)$/)&&(v.negative="parenthesis"),_.match(/^\+?-/)&&(v.negative="sign"),b=w,e.match(/^\+/)&&(b.forceSign=!0),w)}}},{}],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,c=6<arguments.length?arguments[6]:void 0;if(!isNaN(+t))return+t;var u="",d=t.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(d!==t)return-1*e(d,r,a,o,s,l,c);for(var h=0;h<n.length;h++){var p=n[h];if((u=t.replace(p.key,""))!==t)return e(u,r,a,o,s,l,c)*p.factor}if((u=t.replace("%",""))!==t)return e(u,r,a,o,s,l,c)/100;var f=parseFloat(t);if(!isNaN(f)){var m=o(f);if(m&&"."!==m&&(u=t.replace(new RegExp("".concat(i(m),"$")),""))!==t)return e(u,r,a,o,s,l,c);var A={};Object.keys(l).forEach((function(e){A[l[e]]=e}));for(var g=Object.keys(A).sort().reverse(),_=g.length,v=0;v<_;v++){var b=g[v],w=A[b];if((u=t.replace(b,""))!==t){var y=void 0;switch(w){case"thousand":y=Math.pow(10,3);break;case"million":y=Math.pow(10,6);break;case"billion":y=Math.pow(10,9);break;case"trillion":y=Math.pow(10,12)}return e(u,r,a,o,s,l,c)*y}}}}(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(),c=s.currentCurrency().symbol,u=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,c,u,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 c(e){return!!a.unformat(e)}function u(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(!u(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,c=0;c<l;c++){var d=o.restrictions[c],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&&!u(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 u(e,s,"[Validate format]")}t.exports={validate:function(e,t){var r=c(e),n=d(t);return r&&n},validateFormat:d,validateInput:c,validateLanguage:function(e){return u(e,l,"[Validate language]")}}},{"./unformatting":9}]},{},[7])(7)}))},"87d6":function(e,t,r){"use strict";r.d(t,"b",(function(){return u}));r("d9e2"),r("14d9");var n=r("de3b");function i(e,t,r){return(t=a(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,c(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 c(e){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.apply(this),Object(n["stopImmediatePropagation"])(this)},e}function u(){return s}t["a"]=l},8828:function(e,t,r){"use strict";r.d(t,"L",(function(){return n})),r.d(t,"N",(function(){return i})),r.d(t,"y",(function(){return a})),r.d(t,"l",(function(){return o})),r.d(t,"E",(function(){return s})),r.d(t,"D",(function(){return l})),r.d(t,"g",(function(){return c})),r.d(t,"B",(function(){return u})),r.d(t,"s",(function(){return d})),r.d(t,"t",(function(){return h})),r.d(t,"u",(function(){return p})),r.d(t,"h",(function(){return f})),r.d(t,"q",(function(){return m})),r.d(t,"w",(function(){return A})),r.d(t,"c",(function(){return g})),r.d(t,"G",(function(){return _})),r.d(t,"H",(function(){return v})),r.d(t,"M",(function(){return b})),r.d(t,"p",(function(){return w})),r.d(t,"n",(function(){return y})),r.d(t,"j",(function(){return E})),r.d(t,"v",(function(){return C})),r.d(t,"m",(function(){return S})),r.d(t,"C",(function(){return M})),r.d(t,"e",(function(){return x})),r.d(t,"F",(function(){return T})),r.d(t,"f",(function(){return O})),r.d(t,"k",(function(){return N})),r.d(t,"K",(function(){return R})),r.d(t,"z",(function(){return L})),r.d(t,"o",(function(){return I})),r.d(t,"d",(function(){return k})),r.d(t,"I",(function(){return B})),r.d(t,"b",(function(){return D})),r.d(t,"i",(function(){return F})),r.d(t,"a",(function(){return P})),r.d(t,"r",(function(){return j})),r.d(t,"A",(function(){return U})),r.d(t,"J",(function(){return H})),r.d(t,"x",(function(){return V}));const n=e=>["tabindex",e],i=()=>["role","treegrid"],a=()=>["role","presentation"],o=()=>["role","gridcell"],s=()=>["role","rowheader"],l=()=>["role","rowgroup"],c=()=>["role","columnheader"],u=()=>["role","row"],d=()=>["role","menu"],h=()=>["role","menuitem"],p=()=>["role","menuitemcheckbox"],f=()=>["role","combobox"],m=()=>["role","listbox"],A=()=>["role","option"],g=()=>["role","checkbox"],_=()=>["scope","col"],v=()=>["scope","row"],b=()=>["type","text"],w=e=>["aria-label",e],y=()=>["aria-hidden","true"],E=()=>["aria-disabled","true"],C=()=>["aria-multiselectable","true"],S=e=>["aria-haspopup",e],M=e=>["aria-rowcount",e],x=e=>["aria-colcount",e],T=e=>["aria-rowindex",e],O=e=>["aria-colindex",e],N=e=>["aria-expanded",e],R=e=>["aria-sort",e],L=()=>["aria-readonly","true"],I=()=>["aria-invalid","true"],k=e=>["aria-checked",e],B=()=>["aria-selected","true"],D=()=>["aria-autocomplete","list"],F=e=>["aria-controls",e],P=e=>["aria-activedescendant",e],j=e=>["aria-live",e],U=e=>["aria-relevant",e],H=e=>["aria-setsize",e],V=e=>["aria-posinset",e]},8831: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("7723f")),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},8840:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  206. //! moment.js locale configuration
  207. 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}}c()},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=u;break;case"D":e=u,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 c(){throw Error("Internal Error - Should never get here!")}var u=[];for(t=a("0");t<=a("9");t++)u.push(t);var d=[a("_")].concat(u);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"),c=r("ae84"),u=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}u(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=c(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";
  208. //! moment.js locale configuration
  209. 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}))},"89a9":function(e,t,r){"use strict";r("675b")},"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"),c=r("9af8");class u 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(c.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&&c.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}c.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);c.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(!c.Guard.isTextNode(r))throw new o.InvalidStateError;if(c.Guard.isDocumentNode(e)||c.Guard.isDocumentTypeNode(e)||c.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(c.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(c.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&&c.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);c.Guard.isTextNode(this._startNode)&&(e+=this._startNode._data.substring(this._startOffset));for(const t of s.range_getContainedNodes(this))c.Guard.isTextNode(t)&&(e+=t._data);return c.Guard.isTextNode(this._endNode)&&(e+=this._endNode._data.substring(0,this._endOffset)),e}static _create(e,t){const r=new u;return e&&(r._start=e),t&&(r._end=t),r}}t.RangeImpl=u,u.START_TO_START=0,u.START_TO_END=1,u.END_TO_END=2,u.END_TO_START=3,l.idl_defineConst(u.prototype,"START_TO_START",0),l.idl_defineConst(u.prototype,"START_TO_END",1),l.idl_defineConst(u.prototype,"END_TO_END",2),l.idl_defineConst(u.prototype,"END_TO_START",3)},"8b00":function(e,t,r){"use strict";var n=r("23e7"),i=r("68df"),a=r("dad2");n({target:"Set",proto:!0,real:!0,forced:!a("isSubsetOf")},{isSubsetOf:i})},"8b18":function(e,t,r){},"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)},"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 n=r("7037"),i=r.n(n),a=r("72ba"),o=function(){return"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:this}();function s(){o.console&&"function"==typeof o.console.log&&o.console.log.apply(o.console,arguments)}var l={log:s,warn:function(e){o.console&&("function"==typeof o.console.warn?o.console.warn.apply(o.console,arguments):s.call(null,arguments))},error:function(e){o.console&&("function"==typeof o.console.error?o.console.error.apply(o.console,arguments):s(e))}};function c(e,t,r){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){f(n.response,t,r)},n.onerror=function(){l.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 d(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 h,p,f=o.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==o?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,r){var n=o.URL||o.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)?c(e,t,r):d(i,i.target="_blank"):d(i)):(i.href=n.createObjectURL(e),setTimeout((function(){n.revokeObjectURL(i.href)}),4e4),setTimeout((function(){d(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(u(e))c(e,t,r);else{var n=document.createElement("a");n.href=e,n.target="_blank",setTimeout((function(){d(n)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==i()(t)&&(l.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,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof e)return c(e,t,r);var a="application/octet-stream"===e.type,s=/constructor/i.test(o.HTMLElement)||o.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&s)&&"object"===("undefined"==typeof FileReader?"undefined":i()(FileReader))){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=e:location=e,n=null},u.readAsDataURL(e)}else{var d=o.URL||o.webkitURL,h=d.createObjectURL(e);n?n.location=h:location.href=h,n=null,setTimeout((function(){d.revokeObjectURL(h)}),4e4)}});
  210. /**
  211. * A class to parse color values
  212. * @author Stoyan Stefanov <sstoo@gmail.com>
  213. * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
  214. * @license Use it if you like it
  215. */function m(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
  216. /**
  217. * @license
  218. * Joseph Myers does not specify a particular license for his work.
  219. *
  220. * Author: Joseph Myers
  221. * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
  222. *
  223. * Modified by: Owen Leong
  224. */}}function A(e,t){var r=e[0],n=e[1],i=e[2],a=e[3];r=_(r,n,i,a,t[0],7,-680876936),a=_(a,r,n,i,t[1],12,-389564586),i=_(i,a,r,n,t[2],17,606105819),n=_(n,i,a,r,t[3],22,-1044525330),r=_(r,n,i,a,t[4],7,-176418897),a=_(a,r,n,i,t[5],12,1200080426),i=_(i,a,r,n,t[6],17,-1473231341),n=_(n,i,a,r,t[7],22,-45705983),r=_(r,n,i,a,t[8],7,1770035416),a=_(a,r,n,i,t[9],12,-1958414417),i=_(i,a,r,n,t[10],17,-42063),n=_(n,i,a,r,t[11],22,-1990404162),r=_(r,n,i,a,t[12],7,1804603682),a=_(a,r,n,i,t[13],12,-40341101),i=_(i,a,r,n,t[14],17,-1502002290),r=v(r,n=_(n,i,a,r,t[15],22,1236535329),i,a,t[1],5,-165796510),a=v(a,r,n,i,t[6],9,-1069501632),i=v(i,a,r,n,t[11],14,643717713),n=v(n,i,a,r,t[0],20,-373897302),r=v(r,n,i,a,t[5],5,-701558691),a=v(a,r,n,i,t[10],9,38016083),i=v(i,a,r,n,t[15],14,-660478335),n=v(n,i,a,r,t[4],20,-405537848),r=v(r,n,i,a,t[9],5,568446438),a=v(a,r,n,i,t[14],9,-1019803690),i=v(i,a,r,n,t[3],14,-187363961),n=v(n,i,a,r,t[8],20,1163531501),r=v(r,n,i,a,t[13],5,-1444681467),a=v(a,r,n,i,t[2],9,-51403784),i=v(i,a,r,n,t[7],14,1735328473),r=b(r,n=v(n,i,a,r,t[12],20,-1926607734),i,a,t[5],4,-378558),a=b(a,r,n,i,t[8],11,-2022574463),i=b(i,a,r,n,t[11],16,1839030562),n=b(n,i,a,r,t[14],23,-35309556),r=b(r,n,i,a,t[1],4,-1530992060),a=b(a,r,n,i,t[4],11,1272893353),i=b(i,a,r,n,t[7],16,-155497632),n=b(n,i,a,r,t[10],23,-1094730640),r=b(r,n,i,a,t[13],4,681279174),a=b(a,r,n,i,t[0],11,-358537222),i=b(i,a,r,n,t[3],16,-722521979),n=b(n,i,a,r,t[6],23,76029189),r=b(r,n,i,a,t[9],4,-640364487),a=b(a,r,n,i,t[12],11,-421815835),i=b(i,a,r,n,t[15],16,530742520),r=w(r,n=b(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]=O(r,e[0]),e[1]=O(n,e[1]),e[2]=O(i,e[2]),e[3]=O(a,e[3])}function g(e,t,r,n,i,a){return t=O(O(t,e),O(n,a)),O(t<<i|t>>>32-i,r)}function _(e,t,r,n,i,a,o){return g(t&r|~t&n,e,t,i,a,o)}function v(e,t,r,n,i,a,o){return g(t&n|r&~n,e,t,i,a,o)}function b(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 y(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)A(n,E(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(A(n,i),t=0;t<16;t++)i[t]=0;return i[14]=8*r,A(n,i),n}function E(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}h=o.atob.bind(o),p=o.btoa.bind(o);var C="0123456789abcdef".split("");function S(e){for(var t="",r=0;r<4;r++)t+=C[e>>8*r+4&15]+C[e>>8*r&15];return t}function M(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function x(e){return y(e).map(M).join("")}var T="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=S(e[t]);return e.join("")}(y("hello"));function O(e,t){if(T){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}return e+t&4294967295}
  225. /**
  226. * @license
  227. * FPDF is released under a permissive license: there is no usage restriction.
  228. * You may embed it freely in your application (commercial or not), with or
  229. * without modifications.
  230. *
  231. * Reference: http://www.fpdf.org/en/script/script37.php
  232. */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 c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+o.charCodeAt(l))%256,s[l]=s[c],s[c]=u}r=e,n=s}else s=n;var d=t.length,h=0,p=0,f="";for(l=0;l<d;l++)p=(p+(u=s[h=(h+1)%256]))%256,s[h]=s[p],s[p]=u,o=s[(s[h]+s[p])%256],f+=String.fromCharCode(t.charCodeAt(l)^o);return f}
  233. /**
  234. * @license
  235. * Licensed under the MIT License.
  236. * http://opensource.org/licenses/mit-license
  237. * Author: Owen Leong (@owenl131)
  238. * Date: 15 Oct 2020
  239. * References:
  240. * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
  241. * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
  242. * http://www.fpdf.org/en/script/script37.php
  243. */var R={print:4,modify:8,copy:16,"annot-forms":32};function L(e,t,r,n){this.v=1,this.r=2;var i=192;e.forEach((function(e){if(void 0!==R.perm)throw new Error("Invalid permission: "+e);i+=R[e]})),this.padding="(¿N^NuŠAd\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=x(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=N(this.encryptionKey,this.padding)}function I(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"!==i()(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 a in t[r]){var s=t[r][a];try{s[0].apply(e,n)}catch(r){o.console&&l.error("jsPDF PubSub Error",r.message,r)}s[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function B(e){if(!(this instanceof B))return new B(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 F(e,t,r,n,i){if(!(this instanceof F))return new F(e,t,r,n,i);this.type="axial"===e?2:3,this.coords=t,this.colors=r,D.call(this,n,i)}function P(e,t,r,n,i){if(!(this instanceof P))return new P(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 j(e){var t,r="string"==typeof arguments[0]?arguments[0]:"p",n=arguments[1],a=arguments[2],s=arguments[3],c=[],u=1,d=16,h="S",A=null;"object"===i()(e=e||{})&&(r=e.orientation,n=e.unit||n,a=e.format||a,s=e.compress||e.compressPdf||s,null!==(A=e.encryption||null)&&(A.userPassword=A.userPassword||"",A.ownerPassword=A.ownerPassword||"",A.userPermissions=A.userPermissions||[]),u="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),h=e.defaultPathOperation||"S"),c=e.filters||(!0===s?["FlateEncode"]:c),n=n||"mm",r=(""+(r||"P")).toLowerCase();var g=e.putOnlyUsedFonts||!1,_={},v={internal:{},__private__:{}};v.__private__.PubSub=k;var b="1.3",w=v.__private__.getPdfVersion=function(){return b};v.__private__.setPdfVersion=function(e){b=e};var y={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]};v.__private__.getPageFormats=function(){return y};var E=v.__private__.getPageFormat=function(e){return y[e]};a=a||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},S=C.COMPAT;function M(){this.saveGraphicsState(),de(new Qe(Me,0,0,-Me,0,jr()*Me).toString()+" cm"),this.setFontSize(this.getFontSize()/Me),h="n",S=C.ADVANCED}function x(){this.restoreGraphicsState(),h="S",S=C.COMPAT}var T=v.__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};v.advancedAPI=function(e){var t=S===C.COMPAT;return t&&M.call(this),"function"!=typeof e||(e(this),t&&x.call(this)),this},v.compatAPI=function(e){var t=S===C.ADVANCED;return t&&x.call(this),"function"!=typeof e||(e(this),t&&M.call(this)),this},v.isAdvancedAPI=function(){return S===C.ADVANCED};var O,N=function(e){if(S!==C.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},R=v.roundToPrecision=v.__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+$/,"")};O=v.hpf=v.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return R(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return R(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return R(e,16)};var D=v.f2=v.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return R(e,2)},U=v.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return R(e,3)},H=v.scale=v.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return S===C.COMPAT?e*Me:S===C.ADVANCED?e:void 0},V=function(e){return S===C.COMPAT?jr()-e:S===C.ADVANCED?e:void 0},Y=function(e){return H(V(e))};v.__private__.setPrecision=v.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var W,Q="00000000000000000000000000000000",z=v.__private__.getFileId=function(){return Q},q=v.__private__.setFileId=function(e){return Q=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():Q.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==A&&(qt=new L(A.userPermissions,A.userPassword,A.ownerPassword,Q)),Q};v.setFileId=function(e){return q(e),this},v.getFileId=function(){return z()};var G=v.__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,J(n),"'",J(i),"'"].join("");return["D:",e.getFullYear(),J(e.getMonth()+1),J(e.getDate()),J(e.getHours()),J(e.getMinutes()),J(e.getSeconds()),a].join("")},K=v.__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)},X=v.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=G(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 W=t},$=v.__private__.getCreationDate=function(e){var t=W;return"jsDate"===e&&(t=K(W)),t};v.setCreationDate=function(e){return X(e),this},v.getCreationDate=function(e){return $(e)};var Z,J=v.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=v.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},te=0,re=[],ne=[],ie=0,ae=[],oe=[],se=!1,le=ne,ce=function(){te=0,ie=0,ne=[],re=[],ae=[],Je=Xe(),et=Xe()};v.__private__.setCustomOutputDestination=function(e){se=!0,le=e};var ue=function(e){se||(le=e)};v.__private__.resetCustomOutputDestination=function(){se=!1,le=ne};var de=v.__private__.out=function(e){return e=e.toString(),ie+=e.length+1,le.push(e),le},he=v.__private__.write=function(e){return de(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},pe=v.__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]];v.__private__.getStandardFonts=function(){return fe};var me=e.fontSize||16;v.__private__.setFontSize=v.setFontSize=function(e){return me=S===C.ADVANCED?e/Me:e,this};var Ae,ge=v.__private__.getFontSize=v.getFontSize=function(){return S===C.COMPAT?me:me*Me},_e=e.R2L||!1;v.__private__.setR2L=v.setR2L=function(e){return _e=e,this},v.__private__.getR2L=v.getR2L=function(){return _e};var ve,be=v.__private__.setZoomMode=function(e){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))Ae=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.');Ae=e}else Ae=parseInt(e,10)};v.__private__.getZoomMode=function(){return Ae};var we,ye=v.__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.');ve=e};v.__private__.getPageMode=function(){return ve};var Ee=v.__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.');we=e};v.__private__.getLayoutMode=function(){return we},v.__private__.setDisplayMode=v.setDisplayMode=function(e,t,r){return be(e),Ee(t),ye(r),this};var Ce={title:"",subject:"",author:"",keywords:"",creator:""};v.__private__.getDocumentProperty=function(e){if(-1===Object.keys(Ce).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ce[e]},v.__private__.getDocumentProperties=function(){return Ce},v.__private__.setDocumentProperties=v.setProperties=v.setDocumentProperties=function(e){for(var t in Ce)Ce.hasOwnProperty(t)&&e[t]&&(Ce[t]=e[t]);return this},v.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(Ce).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ce[e]=t};var Se,Me,xe,Te,Oe,Ne={},Re={},Le=[],Ie={},ke={},Be={},De={},Fe=null,Pe=0,je=[],Ue=new k(v),He=e.hotfixes||[],Ve={},Ye={},We=[],Qe=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(Qe.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Qe.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Qe.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Qe.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Qe.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Qe.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Qe.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Qe.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Qe.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Qe.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Qe.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Qe.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Qe.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qe.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qe.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qe.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Qe.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(O).join(e)},Qe.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 Qe(t,r,n,i,a,o)},Qe.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 Qe(o,0,0,l,0,0),translate:new Qe(1,0,0,1,i,a),rotate:new Qe(e,t,-t,e,0,0),skew:new Qe(1,0,s,1,0,0)}},Qe.prototype.toString=function(e){return this.join(" ")},Qe.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,c=-r*o,u=e*o;return new Qe(s,l,c,u,-s*i-c*a,-l*i-u*a)},Qe.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)},Qe.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)},Qe.prototype.clone=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty;return new Qe(e,t,r,n,i,a)},v.Matrix=Qe;var ze=v.matrixMult=function(e,t){return t.multiply(e)},qe=new Qe(1,0,0,1,0,0);v.unitMatrix=v.identityMatrix=qe;var Ge=function(e,t){if(!ke[e]){var r=(t instanceof F?"Sh":"P")+(Object.keys(Ie).length+1).toString(10);t.id=r,ke[e]=r,Ie[r]=t,Ue.publish("addPattern",t)}};v.ShadingPattern=F,v.TilingPattern=P,v.addShadingPattern=function(e,t){return N("addShadingPattern()"),Ge(e,t),this},v.beginTilingPattern=function(e){N("beginTilingPattern()"),kr(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},v.endTilingPattern=function(e,t){N("endTilingPattern()"),t.stream=oe[Z].join("\n"),Ge(e,t),Ue.publish("endTilingPattern",t),We.pop().restore()};var Ke=v.__private__.newObject=function(){var e=Xe();return $e(e,!0),e},Xe=v.__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},Ze=v.__private__.newAdditionalObject=function(){var e={objId:Xe(),content:""};return ae.push(e),e},Je=Xe(),et=Xe(),tt=v.__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=v.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var r=e.ch1,n=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 m(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 c=parseInt(r.substr(1),16);r=c>>16&255,n=c>>8&255,a=255&c}if(void 0===n||void 0===o&&r===n&&n===a)if("string"==typeof r)t=r+" "+s[0];else switch(e.precision){case 2:t=D(r/255)+" "+s[0];break;case 3:default:t=U(r/255)+" "+s[0]}else if(void 0===o||"object"===i()(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof r)t=[r,n,a,s[1]].join(" ");else switch(e.precision){case 2:t=[D(r/255),D(n/255),D(a/255),s[1]].join(" ");break;default:case 3:t=[U(r/255),U(n/255),U(a/255),s[1]].join(" ")}}else if("string"==typeof r)t=[r,n,a,o,s[2]].join(" ");else switch(e.precision){case 2:t=[D(r),D(n),D(a),D(o),s[2]].join(" ");break;case 3:default:t=[U(r),U(n),U(a),U(o),s[2]].join(" ")}return t},nt=v.__private__.getFilters=function(){return c},it=v.__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!==A&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==A&&(s=qt.encryptor(o,0));var l={};!0===r&&(r=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==j.API.processDataByFilters?j.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var d=0;d<c.length;d+=1)if("DecodeParms"===c[d].key){for(var h=[],p=0;p<l.reverseChain.split("/").length-1;p+=1)h.push("null");h.push(c[d].value),c[d].value="["+h.join(" ")+"]"}}de("<<");for(var f=0;f<c.length;f++)de("/"+c[f].key+" "+c[f].value);de(">>"),0!==l.data.length&&(de("stream"),de(s(l.data)),de("endstream"))},at=v.__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(O(e.mediaBox.bottomLeftX))+" "+parseFloat(O(e.mediaBox.bottomLeftY))+" "+O(e.mediaBox.topRightX)+" "+O(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&de("/CropBox ["+O(e.cropBox.bottomLeftX)+" "+O(e.cropBox.bottomLeftY)+" "+O(e.cropBox.topRightX)+" "+O(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&de("/BleedBox ["+O(e.bleedBox.bottomLeftX)+" "+O(e.bleedBox.bottomLeftY)+" "+O(e.bleedBox.topRightX)+" "+O(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&de("/TrimBox ["+O(e.trimBox.bottomLeftX)+" "+O(e.trimBox.bottomLeftY)+" "+O(e.trimBox.topRightX)+" "+O(e.trimBox.topRightY)+"]"),null!==e.artBox&&de("/ArtBox ["+O(e.artBox.bottomLeftX)+" "+O(e.artBox.bottomLeftY)+" "+O(e.artBox.topRightX)+" "+O(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&de("/UserUnit "+e.userUnit),Ue.publish("putPage",{objId:n,pageContext:je[t],pageNumber:t,page:r}),de("/Contents "+i+" 0 R"),de(">>"),de("endobj");var a=r.join("\n");return S===C.ADVANCED&&(a+="\nQ"),$e(i,!0),it({data:a,filters:nt(),objectId:i}),de("endobj"),n},ot=v.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=Pe;e++)je[e].objId=Xe(),je[e].contentsObjId=Xe();for(e=1;e<=Pe;e++)r.push(at({number:e,data:oe[e],objId:je[e].objId,contentsObjId:je[e].contentsObjId,mediaBox:je[e].mediaBox,cropBox:je[e].cropBox,bleedBox:je[e].bleedBox,trimBox:je[e].trimBox,artBox:je[e].artBox,userUnit:je[e].userUnit,rootDictionaryObjId:Je,resourceDictionaryObjId:et}));$e(Je,!0),de("<</Type /Pages");var n="/Kids [";for(t=0;t<Pe;t++)n+=r[t]+" 0 R ";de(n+"]"),de("/Count "+Pe),de(">>"),de("endobj"),Ue.publish("postPutPages")},st=function(e){Ue.publish("putFont",{font:e,out:de,newObject:Ke,putStream:it}),!0!==e.isAlreadyPutted&&(e.objectNumber=Ke(),de("<<"),de("/Type /Font"),de("/BaseFont /"+I(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 Ne)Ne.hasOwnProperty(e)&&(!1===g||!0===g&&_.hasOwnProperty(e))&&st(Ne[e])},ct=function(e){e.objectNumber=Ke();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[O(e.x),O(e.y),O(e.x+e.width),O(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")},ut=function(){for(var e in Ve)Ve.hasOwnProperty(e)&&ct(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,c=0;c<n.length;c++){for(r=n[c];r>e[l+1].offset;)l++;var u=e[l].offset,d=(r-u)/(e[l+1].offset-u),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=Ke(),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=Ke(),de("<< /ShadingType "+e.type),de("/ColorSpace /DeviceRGB");var a="/Coords ["+O(parseFloat(e.coords[0]))+" "+O(parseFloat(e.coords[1]))+" ";2===e.type?a+=O(parseFloat(e.coords[2]))+" "+O(parseFloat(e.coords[3])):a+=O(parseFloat(e.coords[2]))+" "+O(parseFloat(e.coords[3]))+" "+O(parseFloat(e.coords[4]))+" "+O(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=Xe(),n=Ke();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(O).join(" ")+"]"}),i.push({key:"XStep",value:O(e.xStep)}),i.push({key:"YStep",value:O(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 Ie)Ie.hasOwnProperty(t)&&(Ie[t]instanceof F?ht(Ie[t]):Ie[t]instanceof P&&pt(Ie[t],e))},mt=function(e){for(var t in e.objectNumber=Ke(),de("<<"),e)switch(t){case"opacity":de("/ca "+D(e[t]));break;case"stroke-opacity":de("/CA "+D(e[t]))}de(">>"),de("endobj")},At=function(){var e;for(e in Be)Be.hasOwnProperty(e)&&mt(Be[e])},gt=function(){for(var e in de("/XObject <<"),Ve)Ve.hasOwnProperty(e)&&Ve[e].objectNumber>=0&&de("/"+e+" "+Ve[e].objectNumber+" 0 R");Ue.publish("putXobjectDict"),de(">>")},_t=function(){qt.oid=Ke(),de("<<"),de("/Filter /Standard"),de("/V "+qt.v),de("/R "+qt.r),de("/U <"+qt.toHexString(qt.U)+">"),de("/O <"+qt.toHexString(qt.O)+">"),de("/P "+qt.P),de(">>"),de("endobj")},vt=function(){for(var e in de("/Font <<"),Ne)Ne.hasOwnProperty(e)&&(!1===g||!0===g&&_.hasOwnProperty(e))&&de("/"+e+" "+Ne[e].objectNumber+" 0 R");de(">>")},bt=function(){if(Object.keys(Ie).length>0){for(var e in de("/Shading <<"),Ie)Ie.hasOwnProperty(e)&&Ie[e]instanceof F&&Ie[e].objectNumber>=0&&de("/"+e+" "+Ie[e].objectNumber+" 0 R");Ue.publish("putShadingPatternDict"),de(">>")}},wt=function(e){if(Object.keys(Ie).length>0){for(var t in de("/Pattern <<"),Ie)Ie.hasOwnProperty(t)&&Ie[t]instanceof v.TilingPattern&&Ie[t].objectNumber>=0&&Ie[t].objectNumber<e&&de("/"+t+" "+Ie[t].objectNumber+" 0 R");Ue.publish("putTilingPatternDict"),de(">>")}},yt=function(){if(Object.keys(Be).length>0){var e;for(e in de("/ExtGState <<"),Be)Be.hasOwnProperty(e)&&Be[e].objectNumber>=0&&de("/"+e+" "+Be[e].objectNumber+" 0 R");Ue.publish("putGStateDict"),de(">>")}},Et=function(e){$e(e.resourcesOid,!0),de("<<"),de("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),vt(),bt(),wt(e.objectOid),yt(),gt(),de(">>"),de("endobj")},Ct=function(){var e=[];lt(),At(),ut(),ft(e),Ue.publish("putResources"),e.forEach(Et),Et({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Ue.publish("postPutResources")},St=function(){Ue.publish("putAdditionalObjects");for(var e=0;e<ae.length;e++){var t=ae[e];$e(t.objId,!0),de(t.content),de("endobj")}Ue.publish("postPutAdditionalObjects")},Mt=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(Ne).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Ue.publish("addFont",{font:a,instance:this}),Ne[a.id]=a,Mt(a),a.id},Tt=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===g&&(_[n]=!0);var i=e[t][0].split("-");Mt({id:n,fontName:i[0],fontStyle:i[1]||""})}Ue.publish("addFonts",{fonts:Ne,dictionary:Re})},Ot=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(!o.console)throw new Error(r);o.console.error(r,e),o.alert&&alert(r)}},e.foo.bar=e,e.foo},Nt=function(e,t){var r,n,i,a,o,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&Ne[Se].metadata&&Ne[Se].metadata[i]&&Ne[Se].metadata[i].encoding&&(a=Ne[Se].metadata[i].encoding,!o&&Ne[Se].encoding&&(o=Ne[Se].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++)(c=o[e.charCodeAt(r)])?s.push(String.fromCharCode(c)):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((u=(c=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(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)},Rt=v.__private__.pdfEscape=v.pdfEscape=function(e,t){return Nt(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Lt=v.__private__.beginPage=function(e){oe[++Pe]=[],je[Pe]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Bt(Pe),ue(oe[Z])},It=function(e,t){var n,i,o;switch(r=t||r,"string"==typeof e&&(n=E(e.toLowerCase()),Array.isArray(n)&&(i=n[0],o=n[1])),Array.isArray(e)&&(i=e[0]*Me,o=e[1]*Me),isNaN(i)&&(i=a[0],o=a[1]),(i>14400||o>14400)&&(l.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),o=Math.min(14400,o)),a=[i,o],r.substr(0,1)){case"l":o>i&&(a=[o,i]);break;case"p":i>o&&(a=[o,i])}Lt(a),fr(hr),de(yr),0!==Tr&&de(Tr+" J"),0!==Or&&de(Or+" j"),Ue.publish("addPage",{pageNumber:Pe})},kt=function(e){e>0&&e<=Pe&&(oe.splice(e,1),je.splice(e,1),Pe--,Z>Pe&&(Z=Pe),this.setPage(Z))},Bt=function(e){e>0&&e<=Pe&&(Z=e)},Dt=v.__private__.getNumberOfPages=v.getNumberOfPages=function(){return oe.length-1},Ft=function(e,t,r){var n,i=void 0;return r=r||{},e=void 0!==e?e:Ne[Se].fontName,t=void 0!==t?t:Ne[Se].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&&l.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},Pt=v.__private__.putInfo=function(){var e=Ke(),t=function(e){return e};for(var r in null!==A&&(t=qt.encryptor(e,0)),de("<<"),de("/Producer ("+Rt(t("jsPDF "+j.version))+")"),Ce)Ce.hasOwnProperty(r)&&Ce[r]&&de("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Rt(t(Ce[r]))+")");de("/CreationDate ("+Rt(t(W))+")"),de(">>"),de("endobj")},jt=v.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Je;switch(Ke(),de("<<"),de("/Type /Catalog"),de("/Pages "+t+" 0 R"),Ae||(Ae="fullwidth"),Ae){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=""+Ae;"%"===r.substr(r.length-1)&&(Ae=parseInt(Ae)/100),"number"==typeof Ae&&de("/OpenAction [3 0 R /XYZ null null "+D(Ae)+"]")}switch(we||(we="continuous"),we){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")}ve&&de("/PageMode /"+ve),Ue.publish("putCatalog"),de(">>"),de("endobj")},Ut=v.__private__.putTrailer=function(){de("trailer"),de("<<"),de("/Size "+(te+1)),de("/Root "+te+" 0 R"),de("/Info "+(te-1)+" 0 R"),null!==A&&de("/Encrypt "+qt.oid+" 0 R"),de("/ID [ <"+Q+"> <"+Q+"> ]"),de(">>")},Ht=v.__private__.putHeader=function(){de("%PDF-"+b),de("%ºß¬à")},Vt=v.__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=v.__private__.buildDocument=function(){ce(),ue(ne),Ue.publish("buildDocument"),Ht(),ot(),St(),Ct(),null!==A&&_t(),Pt(),jt();var e=ie;return Vt(),Ut(),de("startxref"),de(""+e),de("%%EOF"),ue(oe[Z]),ne.join("\n")},Wt=v.__private__.getBlob=function(e){return new Blob([pe(e)],{type:"application/pdf"})},Qt=v.output=v.__private__.output=Ot((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":v.save(t.filename);break;case"arraybuffer":return pe(Yt());case"blob":return Wt(Yt());case"bloburi":case"bloburl":if(void 0!==o.URL&&"function"==typeof o.URL.createObjectURL)return o.URL&&o.URL.createObjectURL(Wt(Yt()))||void 0;l.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=p(n)}catch(e){r=p(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+t.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(o)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",a=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,a="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+i+'"'+a+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",c=o.open();return null!==c&&c.document.write(s),c}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(o)){var u='<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=o.open();if(null!==d){d.document.write(u);var h=this;d.document.documentElement.querySelector("#pdfViewer").onload=function(){d.document.title=t.filename,d.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.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(o))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=o.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 o.document.location.href=this.output("datauristring",t);default:return null}})),zt=function(e){return!0===Array.isArray(He)&&He.indexOf(e)>-1};switch(n){case"pt":Me=1;break;case"mm":Me=72/25.4;break;case"cm":Me=72/2.54;break;case"in":Me=72;break;case"px":Me=1==zt("px_scaling")?.75:96/72;break;case"pc":case"em":Me=12;break;case"ex":Me=6;break;default:if("number"!=typeof n)throw new Error("Invalid unit: "+n);Me=n}var qt=null;X(),q();var Gt=function(e){return null!==A?qt.encryptor(e,0):function(e){return e}},Kt=v.__private__.getPageInfo=v.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:je[e].objId,pageNumber:e,pageContext:je[e]}},Xt=v.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in je)if(je[t].objId===e)break;return Kt(t)},$t=v.__private__.getCurrentPageInfo=v.getCurrentPageInfo=function(){return{objId:je[Z].objId,pageNumber:Z,pageContext:je[Z]}};v.addPage=function(){return It.apply(this,arguments),this},v.setPage=function(){return Bt.apply(this,arguments),ue.call(this,oe[Z]),this},v.insertPage=function(e){return this.addPage(),this.movePage(Z,e),this},v.movePage=function(e,t){var r,n;if(e>t){r=oe[e],n=je[e];for(var i=e;i>t;i--)oe[i]=oe[i-1],je[i]=je[i-1];oe[t]=r,je[t]=n,this.setPage(t)}else if(e<t){r=oe[e],n=je[e];for(var a=e;a<t;a++)oe[a]=oe[a+1],je[a]=je[a+1];oe[t]=r,je[t]=n,this.setPage(t)}return this},v.deletePage=function(){return kt.apply(this,arguments),this},v.__private__.text=v.text=function(e,t,r,n,a){var o,s,l,c,u,d,h,p,f,m=(n=n||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var A=r;r=t,t=e,e=A}if(arguments[3]instanceof Qe==0?(l=arguments[4],c=arguments[5],"object"===i()(h=arguments[3])&&null!==h||("string"==typeof l&&(c=l,l=null),"string"==typeof h&&(c=h,h=null),"number"==typeof h&&(l=h,h=null),n={flags:h,angle:l,align:c})):(N("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 g="",v=!1,b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:dr,w=m.internal.scaleFactor;function y(e){return e=e.split("\t").join(Array(n.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 M(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,T=!0;if("string"==typeof e)x=!0;else if(Array.isArray(e)){var R=e.concat();s=[];for(var L,I=R.length;I--;)("string"!=typeof(L=R.shift())||Array.isArray(L)&&"string"!=typeof L[0])&&(T=!1);x=T}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 k=me/m.internal.scaleFactor,B=k*(b-1);switch(n.baseline){case"bottom":r-=B;break;case"top":r+=k-B;break;case"hanging":r+=k-2*B;break;case"middle":r+=k/2-B}if((d=n.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:n,mutex:{pdfEscape:Rt,activeFontKey:Se,fonts:Ne,activeFontSize:me}},Ue.publish("preProcessText",o),e=o.text,l=(n=o.options).angle,f instanceof Qe==0&&l&&"number"==typeof l){l*=Math.PI/180,0===n.rotationDirection&&(l=-l),S===C.ADVANCED&&(l=-l);var D=Math.cos(l),F=Math.sin(l);f=new Qe(D,F,-F,D,0,0)}else l&&l instanceof Qe&&(f=l);S!==C.ADVANCED||f||(f=qe),void 0!==(u=n.charSpace||Mr)&&(g+=O(H(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(p=n.horizontalScale)&&(g+=O(100*p)+" Tz\n"),n.lang;var P=-1,j=void 0!==n.renderingMode?n.renderingMode:n.stroke,U=m.internal.getCurrentPageInfo().pageContext;switch(j){case 0:case!1:case"fill":P=0;break;case 1:case!0:case"stroke":P=1;break;case 2:case"fillThenStroke":P=2;break;case 3:case"invisible":P=3;break;case 4:case"fillAndAddForClipping":P=4;break;case 5:case"strokeAndAddPathForClipping":P=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":P=6;break;case 7:case"addToPathForClipping":P=7}var V=void 0!==U.usedRenderingMode?U.usedRenderingMode:-1;-1!==P?g+=P+" Tr\n":-1!==V&&(g+="0 Tr\n"),-1!==P&&(U.usedRenderingMode=P),c=n.align||"left";var Y,W=me*b,Q=m.internal.pageSize.getWidth(),z=Ne[Se];u=n.charSpace||Mr,d=n.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},n.flags);var q=[],G=function(e){return m.getStringUnitWidth(e,{font:z,charSpace:u,fontSize:me,doKerning:!1})*me/w};if("[object Array]"===Object.prototype.toString.call(e)){var K;s=E(e),"left"!==c&&(Y=s.map(G));var X,$=0;if("right"===c){t-=Y[0],e=[],I=s.length;for(var Z=0;Z<I;Z++)0===Z?(X=_r(t),K=vr(r)):(X=H($-Y[Z]),K=-W),e.push([s[Z],X,K]),$=Y[Z]}else if("center"===c){t-=Y[0]/2,e=[],I=s.length;for(var J=0;J<I;J++)0===J?(X=_r(t),K=vr(r)):(X=H(($-Y[J])/2),K=-W),e.push([s[J],X,K]),$=Y[J]}else if("left"===c){e=[],I=s.length;for(var ee=0;ee<I;ee++)e.push(s[ee])}else if("justify"===c&&"Identity-H"===z.encoding){e=[],I=s.length,d=0!==d?d:Q;for(var te=0,re=0;re<I;re++)if(K=0===re?vr(r):-W,X=0===re?_r(t):te,re<I-1){var ne=H((d-Y[re])/(s[re].split(" ").length-1)),ie=s[re].split(" ");e.push([ie[0]+" ",X,K]),te=0;for(var ae=1;ae<ie.length;ae++){var oe=(G(ie[ae-1]+" "+ie[ae])-G(ie[ae]))*w+ne;ae==ie.length-1?e.push([ie[ae],oe,0]):e.push([ie[ae]+" ",oe,0]),te-=oe}}else e.push([s[re],X,K]);e.push(["",te,0])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],I=s.length,d=0!==d?d:Q,re=0;re<I;re++)K=0===re?vr(r):-W,X=0===re?_r(t):0,re<I-1?q.push(O(H((d-Y[re])/(s[re].split(" ").length-1)))):q.push(0),e.push([s[re],X,K])}}var se="boolean"==typeof n.R2L?n.R2L:_e;!0===se&&(e=M(e,(function(e,t,r){return[e.split("").reverse().join(""),t,r]}))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:Rt,activeFontKey:Se,fonts:Ne,activeFontSize:me}},Ue.publish("postProcessText",o),e=o.text,v=o.mutex.isHex||!1;var le=Ne[Se].encoding;"WinAnsiEncoding"!==le&&"StandardEncoding"!==le||(e=M(e,(function(e,t,r){return[y(e),t,r]}))),s=E(e),e=[];for(var ce,ue,he,pe=0,fe=1,Ae=Array.isArray(s[0])?fe:pe,ge="",ve=function(e,t,r){var i="";return r instanceof Qe?(r="number"==typeof n.angle?ze(r,new Qe(1,0,0,1,e,t)):ze(new Qe(1,0,0,1,e,t),r),S===C.ADVANCED&&(r=ze(new Qe(1,0,0,-1,0,0),r)),i=r.join(" ")+" Tm\n"):i=O(e)+" "+O(t)+" Td\n",i},be=0;be<s.length;be++){switch(ge="",Ae){case fe:he=(v?"<":"(")+s[be][0]+(v?">":")"),ce=parseFloat(s[be][1]),ue=parseFloat(s[be][2]);break;case pe:he=(v?"<":"(")+s[be]+(v?">":")"),ce=_r(t),ue=vr(r)}void 0!==q&&void 0!==q[be]&&(ge=q[be]+" Tw\n"),0===be?e.push(ge+ve(ce,ue,f)+he):Ae===pe?e.push(ge+he):Ae===fe&&e.push(ge+ve(ce,ue,f)+he)}e=Ae===pe?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var we="BT\n/";return we+=Se+" "+me+" Tf\n",we+=O(me*b)+" TL\n",we+=Cr+"\n",we+=g,we+=e,de(we+="ET"),_[Se]=!0,m};var Zt=v.__private__.clip=v.clip=function(e){return de("evenodd"===e?"W*":"W"),this};v.clipEvenOdd=function(){return Zt("evenodd")},v.__private__.discardPath=v.discardPath=function(){return de("n"),this};var Jt=v.__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};v.__private__.setDefaultPathOperation=v.setDefaultPathOperation=function(e){return Jt(e)&&(h=e),this};var er=v.__private__.getStyle=v.getStyle=function(e){var t=h;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=v.close=function(){return de("h"),this};v.stroke=function(){return de("S"),this},v.fill=function(e){return rr("f",e),this},v.fillEvenOdd=function(e){return rr("f*",e),this},v.fillStroke=function(e){return rr("B",e),this},v.fillStrokeEvenOdd=function(e){return rr("B*",e),this};var rr=function(e,t){"object"===i()(t)?ar(t,e):de(e)},nr=function(e){null===e||S===C.ADVANCED&&void 0===e||(e=er(e),de(e))};function ir(e,t,r,n,i){var a=new P(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);a.stream=this.stream;var o=e+"$$"+this.cloneIndex+++"$$";return Ge(o,a),a}var ar=function(e,t){var r=ke[e.key],n=Ie[r];if(n instanceof F)de("q"),de(or(t)),n.gState&&v.setGState(n.gState),de(e.matrix.toString()+" cm"),de("/"+r+" sh"),de("Q");else if(n instanceof P){var i=new Qe(1,0,0,-1,0,jr());e.matrix&&(i=i.multiply(e.matrix||qe),r=ir.call(n,e.key,e.boundingBox,e.xStep,e.yStep,i).id),de("q"),de("/Pattern cs"),de("/"+r+" scn"),n.gState&&v.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=v.moveTo=function(e,t){return de(O(H(e))+" "+O(Y(t))+" m"),this},lr=v.lineTo=function(e,t){return de(O(H(e))+" "+O(Y(t))+" l"),this},cr=v.curveTo=function(e,t,r,n,i,a){return de([O(H(e)),O(Y(t)),O(H(r)),O(Y(n)),O(H(i)),O(Y(a)),"c"].join(" ")),this};v.__private__.line=v.line=function(e,t,r,n,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Jt(i))throw new Error("Invalid arguments passed to jsPDF.line");return S===C.COMPAT?this.lines([[r-e,n-t]],e,t,[1,1],i||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},v.__private__.lines=v.lines=function(e,t,r,n,i,a){var o,s,l,c,u,d,h,p,f,m,A,g;if("number"==typeof e&&(g=r,r=t,t=e,e=g),n=n||[1,1],a=a||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!Jt(i)||"boolean"!=typeof a)throw new Error("Invalid arguments passed to jsPDF.lines");for(sr(t,r),o=n[0],s=n[1],c=e.length,m=t,A=r,l=0;l<c;l++)2===(u=e[l]).length?(m=u[0]*o+m,A=u[1]*s+A,lr(m,A)):(d=u[0]*o+m,h=u[1]*s+A,p=u[2]*o+m,f=u[3]*s+A,m=u[4]*o+m,A=u[5]*s+A,cr(d,h,p,f,m,A));return a&&tr(),nr(i),this},v.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":cr.apply(this,n);break;case"h":tr()}}return this},v.__private__.rect=v.rect=function(e,t,r,n,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Jt(i))throw new Error("Invalid arguments passed to jsPDF.rect");return S===C.COMPAT&&(n=-n),de([O(H(e)),O(Y(t)),O(H(r)),O(H(n)),"re"].join(" ")),nr(i),this},v.__private__.triangle=v.triangle=function(e,t,r,n,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a)||!Jt(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},v.__private__.roundedRect=v.roundedRect=function(e,t,r,n,i,a,o){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a)||!Jt(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},v.__private__.ellipse=v.ellipse=function(e,t,r,n,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Jt(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),cr(e+r,t-o,e+a,t-n,e,t-n),cr(e-a,t-n,e-r,t-o,e-r,t),cr(e-r,t+o,e-a,t+n,e,t+n),cr(e+a,t+n,e+r,t+o,e+r,t),nr(i),this},v.__private__.circle=v.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!Jt(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},v.setFont=function(e,t,r){return r&&(t=T(t,r)),Se=Ft(e,t,{disableWarning:!1}),this};var ur=v.__private__.getFont=v.getFont=function(){return Ne[Ft.apply(v,arguments)]};v.__private__.getFontList=v.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},v.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=T(r,n)),i=i||"Identity-H",xt.call(this,e,t,r,i)};var dr,hr=e.lineWidth||.200025,pr=v.__private__.getLineWidth=v.getLineWidth=function(){return hr},fr=v.__private__.setLineWidth=v.setLineWidth=function(e){return hr=e,de(O(H(e))+" w"),this};v.__private__.setLineDash=j.API.setLineDash=j.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 O(H(e))})).join(" "),t=O(H(t)),de("["+e+"] "+t+" d"),this};var mr=v.__private__.getLineHeight=v.getLineHeight=function(){return me*dr};v.__private__.getLineHeight=v.getLineHeight=function(){return me*dr};var Ar=v.__private__.setLineHeightFactor=v.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(dr=e),this},gr=v.__private__.getLineHeightFactor=v.getLineHeightFactor=function(){return dr};Ar(e.lineHeight);var _r=v.__private__.getHorizontalCoordinate=function(e){return H(e)},vr=v.__private__.getVerticalCoordinate=function(e){return S===C.ADVANCED?e:je[Z].mediaBox.topRightY-je[Z].mediaBox.bottomLeftY-H(e)},br=v.__private__.getHorizontalCoordinateString=v.getHorizontalCoordinateString=function(e){return O(_r(e))},wr=v.__private__.getVerticalCoordinateString=v.getVerticalCoordinateString=function(e){return O(vr(e))},yr=e.strokeColor||"0 G";v.__private__.getStrokeColor=v.getDrawColor=function(){return tt(yr)},v.__private__.setStrokeColor=v.setDrawColor=function(e,t,r,n){return yr=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),de(yr),this};var Er=e.fillColor||"0 g";v.__private__.getFillColor=v.getFillColor=function(){return tt(Er)},v.__private__.setFillColor=v.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 Cr=e.textColor||"0 g",Sr=v.__private__.getTextColor=v.getTextColor=function(){return tt(Cr)};v.__private__.setTextColor=v.setTextColor=function(e,t,r,n){return Cr=rt({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var Mr=e.charSpace,xr=v.__private__.getCharSpace=v.getCharSpace=function(){return parseFloat(Mr||0)};v.__private__.setCharSpace=v.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Mr=e,this};var Tr=0;v.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},v.__private__.setLineCap=v.setLineCap=function(e){var t=v.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 Tr=t,de(t+" J"),this};var Or=0;v.__private__.setLineJoin=v.setLineJoin=function(e){var t=v.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 Or=t,de(t+" j"),this},v.__private__.setLineMiterLimit=v.__private__.setMiterLimit=v.setLineMiterLimit=v.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return de(O(H(e))+" M"),this},v.GState=B,v.setGState=function(e){(e="string"==typeof e?Be[De[e]]:Nr(null,e)).equals(Fe)||(de("/"+e.id+" gs"),Fe=e)};var Nr=function(e,t){if(!e||!De[e]){var r=!1;for(var n in Be)if(Be.hasOwnProperty(n)&&Be[n].equals(t)){r=!0;break}if(r)t=Be[n];else{var i="GS"+(Object.keys(Be).length+1).toString(10);Be[i]=t,t.id=i}return e&&(De[e]=t.id),Ue.publish("addGState",t),t}};v.addGState=function(e,t){return Nr(e,t),this},v.saveGraphicsState=function(){return de("q"),Le.push({key:Se,size:me,color:Cr}),this},v.restoreGraphicsState=function(){de("Q");var e=Le.pop();return Se=e.key,me=e.size,Cr=e.color,Fe=null,this},v.setCurrentTransformationMatrix=function(e){return de(e.toString()+" cm"),this},v.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},Ir=function(){this.page=Pe,this.currentPage=Z,this.pages=oe.slice(0),this.pagesContext=je.slice(0),this.x=xe,this.y=Te,this.matrix=Oe,this.width=Fr(Z),this.height=jr(Z),this.outputDestination=le,this.id="",this.objectNumber=-1};Ir.prototype.restore=function(){Pe=this.page,Z=this.currentPage,je=this.pagesContext,oe=this.pages,xe=this.x,Te=this.y,Oe=this.matrix,Pr(Z,this.width),Ur(Z,this.height),le=this.outputDestination};var kr=function(e,t,r,n,i){We.push(new Ir),Pe=Z=0,oe=[],xe=e,Te=t,Oe=i,Lt([r,n])},Br=function(e){if(Ye[e])We.pop().restore();else{var t=new Ir,r="Xo"+(Object.keys(Ve).length+1).toString(10);t.id=r,Ye[e]=r,Ve[r]=t,Ue.publish("addFormObject",t),We.pop().restore()}};for(var Dr in v.beginFormObject=function(e,t,r,n,i){return kr(e,t,r,n,i),this},v.endFormObject=function(e){return Br(e),this},v.doFormObject=function(e,t){var r=Ve[Ye[e]];return de("q"),de(t.toString()+" cm"),de("/"+r.id+" Do"),de("Q"),this},v.getFormObject=function(e){var t=Ve[Ye[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},v.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(f(Wt(Yt()),e),"function"==typeof f.unload&&o.setTimeout&&setTimeout(f.unload,911),this):new Promise((function(t,r){try{var n=f(Wt(Yt()),e);"function"==typeof f.unload&&o.setTimeout&&setTimeout(f.unload,911),t(n)}catch(e){r(e.message)}}))},j.API)j.API.hasOwnProperty(Dr)&&("events"===Dr&&j.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))}(Ue,j.API.events):v[Dr]=j.API[Dr]);var Fr=v.getPageWidth=function(e){return(je[e=e||Z].mediaBox.topRightX-je[e].mediaBox.bottomLeftX)/Me},Pr=v.setPageWidth=function(e,t){je[e].mediaBox.topRightX=t*Me+je[e].mediaBox.bottomLeftX},jr=v.getPageHeight=function(e){return(je[e=e||Z].mediaBox.topRightY-je[e].mediaBox.bottomLeftY)/Me},Ur=v.setPageHeight=function(e,t){je[e].mediaBox.topRightY=t*Me+je[e].mediaBox.bottomLeftY};return v.internal={pdfEscape:Rt,getStyle:er,getFont:ur,getFontSize:ge,getCharSpace:xr,getTextColor:Sr,getLineHeight:mr,getLineHeightFactor:gr,getLineWidth:pr,write:he,getHorizontalCoordinate:_r,getVerticalCoordinate:vr,getCoordinateString:br,getVerticalCoordinateString:wr,collections:{},newObject:Ke,newAdditionalObject:Ze,newObjectDeferred:Xe,newObjectDeferredBegin:$e,getFilters:nt,putStream:it,events:Ue,scaleFactor:Me,pageSize:{getWidth:function(){return Fr(Z)},setWidth:function(e){Pr(Z,e)},getHeight:function(){return jr(Z)},setHeight:function(e){Ur(Z,e)}},encryptionOptions:A,encryption:qt,getEncryptor:Gt,output:Qt,getNumberOfPages:Dt,pages:oe,out:de,f2:D,f3:U,getPageInfo:Kt,getPageInfoByObjId:Xt,getCurrentPageInfo:$t,getPDFVersion:w,Point:Rr,Rectangle:Lr,Matrix:Qe,hasHotfix:zt},Object.defineProperty(v.internal.pageSize,"width",{get:function(){return Fr(Z)},set:function(e){Pr(Z,e)},enumerable:!0,configurable:!0}),Object.defineProperty(v.internal.pageSize,"height",{get:function(){return jr(Z)},set:function(e){Ur(Z,e)},enumerable:!0,configurable:!0}),Tt.call(v,fe),Se="F1",It(a,r),Ue.publish("initialized"),v}L.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},L.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},L.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("")},L.prototype.processOwnerPassword=function(e,t){return N(x(t).substr(0,5),e)},L.prototype.encryptor=function(e,t){var r=x(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)}},B.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||i()(e)!==i()(this))return!1;var n=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;n++}for(t in e)e.hasOwnProperty(t)&&r.indexOf(t)<0&&n--;return 0===n},j.API={events:[]},j.version="2.5.2";var U=j.API,H=1,V=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Y=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},W=function(e){return e.toFixed(2)},Q=function(e){return e.toFixed(5)};U.__acroform__={};var z=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},q=function(e){return e*H},G=function(e){var t=new he,r=Me.internal.getHeight(e)||0,n=Me.internal.getWidth(e)||0;return t.BBox=[0,0,Number(W(n)),Number(W(r))],t},K=U.__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=U.__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)},$=U.__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},Z=U.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return $(e,t-1)},J=U.__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)},ee=U.__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)},te=U.__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(W(l.lowerLeft_X)),Number(W(l.lowerLeft_Y)),Number(W(l.upperRight_X)),Number(W(l.upperRight_Y))]},re=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=ne(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+" "+W(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}},ne=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=Me.internal.getHeight(e)||0;o=o<0?-o:o;var s=Me.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 ie(a,e,n).width<=s-4}return!1};a++;e:for(;a>0;){t="",a--;var c,u,d=ie("3",e,a).height,h=e.multiline?o-a:(o-d)/2,p=h+=2,f=0,m=0,A=0;if(a<=0){t="(...) Tj\n",t+="% Width of Text: "+ie(t,e,a=12).width+", FieldWidth:"+s+"\n";break}for(var g="",_=0,v=0;v<i.length;v++)if(i.hasOwnProperty(v)){var b=!1;if(1!==i[v].length&&A!==i[v].length-1){if((d+2)*(_+2)+2>o)continue e;g+=i[v][A],b=!0,m=v,v--}else{g=" "==(g+=i[v][A]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var w=parseInt(v),y=l(w,g,a),E=v>=i.length-1;if(y&&!E){g+=" ",A=0;continue}if(y||E){if(E)m=w;else if(e.multiline&&(d+2)*(_+2)+2>o)continue e}else{if(!e.multiline)continue e;if((d+2)*(_+2)+2>o)continue e;m=w}}for(var C="",S=f;S<=m;S++){var M=i[S];if(e.multiline){if(S===m){C+=M[A]+" ",A=(A+1)%M.length;continue}if(S===f){C+=M[M.length-1]+" ";continue}}C+=M[0]+" "}switch(C=" "==C.substr(C.length-1)?C.substr(0,C.length-1):C,u=ie(C,e,a).width,e.textAlign){case"right":c=s-u-2;break;case"center":c=(s-u)/2;break;case"left":default:c=2}t+=W(c)+" "+W(p)+" Td\n",t+="("+V(C)+") Tj\n",t+=-W(c)+" 0 Td\n",p=-(a+2),u=0,f=b?m:m+1,_++,g=""}break}return n.text=t,n.fontSize=a,n},ie=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}},ae={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},oe=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)},se=function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=r,a=e[r];t.internal.newObjectDeferredBegin(a.objId,!0),"object"===i()(a)&&"function"==typeof a.putStream&&a.putStream(),delete e[n]}},le=function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(fe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(ae)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");H=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new pe,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&&oe(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 n 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(n)){var a=e[n],o=[],s=a.Rect;if(a.Rect&&(a.Rect=te(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=Me.createDefaultAppearanceStream(a),"object"===i()(a)&&"function"==typeof a.getKeyValueListForStream&&(o=a.getKeyValueListForStream()),a.Rect=s,a.hasAppearanceStream&&!a.appearanceStreamContent){var l=re(a);o.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(a.appearanceStreamContent){var c="";for(var u in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(u)){var d=a.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var n in d)if(d.hasOwnProperty(n)){var h=d[n];"function"==typeof h&&(h=h.call(t,a)),c+="/"+n+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=d)&&(h=h.call(t,a)),c+="/"+n+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:a.objId}),t.internal.out("endobj")}r&&se(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},ce=U.__acroform__.arrayToPdfArray=function(e,t,r){var n=function(e){return e};if(Array.isArray(e)){for(var a="[",o=0;o<e.length;o++)switch(0!==o&&(a+=" "),i()(e[o])){case"boolean":case"number":case"object":a+=e[o].toString();break;case"string":"/"!==e[o].substr(0,1)?(void 0!==t&&r&&(n=r.internal.getEncryptor(t)),a+="("+V(n(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(),"("+V(n(e))+")"},de=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})};de.prototype.toString=function(){return this.objId+" 0 R"},de.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},de.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:ce(i,this.objId,this.scope)}):i instanceof de?(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 he=function(){de.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}})};z(he,de);var pe=function(){de.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)),"("+V(t(e))+")"}},set:function(t){e=t}})};z(pe,de);var fe=function e(){de.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(Z(t,3))},set:function(e){!0===Boolean(e)?this.F=J(t,3):this.F=ee(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 ye)return;a="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+V(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 c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/H:c},set:function(e){c=e}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(e){u=e}});var d="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!d||this instanceof ye||this instanceof Ce))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 ve==0?ue(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ve==0?"("===e.substr(0,1)?Y(e.substr(1,e.length-2)):Y(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ve==1?Y(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ve==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 ve==0?ue(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof ve==0?"("===e.substr(0,1)?Y(e.substr(1,e.length-2)):Y(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ve==1?Y(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof ve==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(Z(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,1):this.Ff=ee(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,2):this.Ff=ee(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,3):this.Ff=ee(this.Ff,3)}});var A=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==A)return A},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');A=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(A){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:A=2;break;case"center":case 1:A=1;break;case"left":case 0:default:A=0}}})};z(fe,de);var me=function(){fe.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 ce(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(Z(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,18):this.Ff=ee(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=J(this.Ff,19):this.Ff=ee(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=J(this.Ff,20),t.sort()):this.Ff=ee(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,22):this.Ff=ee(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,27):this.Ff=ee(this.Ff,27)}}),this.hasAppearanceStream=!1};z(me,fe);var Ae=function(){me.call(this),this.fontName="helvetica",this.combo=!1};z(Ae,me);var ge=function(){Ae.call(this),this.combo=!0};z(ge,Ae);var _e=function(){ge.call(this),this.edit=!0};z(_e,ge);var ve=function(){fe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,15):this.Ff=ee(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,16):this.Ff=ee(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,17):this.Ff=ee(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,26):this.Ff=ee(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+" ("+V(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"===i()(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}})};z(ve,fe);var be=function(){ve.call(this),this.pushButton=!0};z(be,ve);var we=function(){ve.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:[]}})};z(we,ve);var ye=function(){var e,t;fe.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,n={};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("<<"),n)r.push("/"+t+" ("+V(e(n[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"===i()(e)&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.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=Me.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};z(ye,fe),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 ye;return t.Parent=this,t.optionName=e,this.Kids.push(t),xe.call(this.scope,t),t};var Ee=function(){ve.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Me.CheckBox.createAppearanceStream()};z(Ee,ve);var Ce=function(){fe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,13):this.Ff=ee(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,21):this.Ff=ee(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,24):this.Ff=ee(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,25):this.Ff=ee(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,26):this.Ff=ee(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}})};z(Ce,fe);var Se=function(){Ce.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=J(this.Ff,14):this.Ff=ee(this.Ff,14)}}),this.password=!0};z(Se,Ce);var Me={CheckBox:{createAppearanceStream:function(){return{N:{On:Me.CheckBox.YesNormal},D:{On:Me.CheckBox.YesPushDown,Off:Me.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=ne(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+W(Me.internal.getWidth(e))+" "+W(Me.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+W(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=Me.internal.getHeight(e),o=Me.internal.getWidth(e),s=ne(e,e.caption);return i.push("1 g"),i.push("0 0 "+W(o)+" "+W(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+W(o-1)+" "+W(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+W(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 "+W(Me.internal.getWidth(e))+" "+W(Me.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:Me.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=Me.RadioButton.Circle.YesNormal,t.D[e]=Me.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=G(e);t.scope=e.scope;var r=[],n=Me.internal.getWidth(e)<=Me.internal.getHeight(e)?Me.internal.getWidth(e)/4:Me.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Me.internal.Bezier_C,a=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+Q(Me.internal.getWidth(e)/2)+" "+Q(Me.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=Me.internal.getWidth(e)<=Me.internal.getHeight(e)?Me.internal.getWidth(e)/4:Me.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*Me.internal.Bezier_C).toFixed(5)),o=Number((n*Me.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+Q(Me.internal.getWidth(e)/2)+" "+Q(Me.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 "+Q(Me.internal.getWidth(e)/2)+" "+Q(Me.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=Me.internal.getWidth(e)<=Me.internal.getHeight(e)?Me.internal.getWidth(e)/4:Me.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*Me.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+Q(Me.internal.getWidth(e)/2)+" "+Q(Me.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:Me.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=Me.RadioButton.Cross.YesNormal,t.D[e]=Me.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=G(e);t.scope=e.scope;var r=[],n=Me.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+W(Me.internal.getWidth(e)-2)+" "+W(Me.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(W(n.x1.x)+" "+W(n.x1.y)+" m"),r.push(W(n.x2.x)+" "+W(n.x2.y)+" l"),r.push(W(n.x4.x)+" "+W(n.x4.y)+" m"),r.push(W(n.x3.x)+" "+W(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=Me.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+W(Me.internal.getWidth(e))+" "+W(Me.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+W(Me.internal.getWidth(e)-2)+" "+W(Me.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(W(r.x1.x)+" "+W(r.x1.y)+" m"),n.push(W(r.x2.x)+" "+W(r.x2.y)+" l"),n.push(W(r.x4.x)+" "+W(r.x4.y)+" m"),n.push(W(r.x3.x)+" "+W(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 "+W(Me.internal.getWidth(e))+" "+W(Me.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}};Me.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=Me.internal.getWidth(e),r=Me.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}}}},Me.internal.getWidth=function(e){var t=0;return"object"===i()(e)&&(t=q(e.Rect[2])),t},Me.internal.getHeight=function(e){var t=0;return"object"===i()(e)&&(t=q(e.Rect[3])),t};var xe=U.addField=function(e){if(le(this,e),!(e instanceof fe))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};U.AcroFormChoiceField=me,U.AcroFormListBox=Ae,U.AcroFormComboBox=ge,U.AcroFormEditBox=_e,U.AcroFormButton=ve,U.AcroFormPushButton=be,U.AcroFormRadioButton=we,U.AcroFormCheckBox=Ee,U.AcroFormTextField=Ce,U.AcroFormPasswordField=Se,U.AcroFormAppearance=Me,U.AcroForm={ChoiceField:me,ListBox:Ae,ComboBox:ge,EditBox:_e,Button:ve,PushButton:be,RadioButton:we,CheckBox:Ee,TextField:Ce,PasswordField:Se,Appearance:Me},j.AcroForm={ChoiceField:me,ListBox:Ae,ComboBox:ge,EditBox:_e,Button:ve,PushButton:be,RadioButton:we,CheckBox:Ee,TextField:Ce,PasswordField:Se,Appearance:Me};j.AcroForm;function Te(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]]},n=e.__addimage__.getImageFileTypeByImageData=function(e,n){var i,a,o,s,l,c=t;if("RGBA"===(n=n||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(C(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){c=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){c=l;break}}return c===t&&n!==t&&(c=n),c},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===_.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===_.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 c=void 0!==t.filter?["/"+t.filter]:void 0;if(n({data:t.data,additionalKeyValues:a,alreadyAppliedFilters:c,objectId:t.objectId}),r("endobj"),"sMask"in t&&void 0!==t.sMask){var u="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,d={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:u,data:t.sMask};"filter"in t&&(d.filter=t.filter),e.call(this,d)}if(t.colorSpace===_.INDEXED){var h=this.internal.newObject();n({data:M(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))},c=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},u=function(){return Object.keys(this.internal.collections.addImage_images).length},d=function(t){return"function"==typeof e["process"+t.toUpperCase()]},p=function(e){return"object"===i()(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 h(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 h(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]},A=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]},g=function(e,t,r,n,i,a){var o=A.call(this,r,n,i),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=c.call(this);if(r=o[0],n=o[1],u[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")},_=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 v=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},b=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(C(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t],n|=0;return n},w=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},y=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 C=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)},S=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},M=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",r=C(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,n,a,o,s,c,u,d;if("number"==typeof arguments[1]?(r=t,n=arguments[1],a=arguments[2],o=arguments[3],s=arguments[4],c=arguments[5],u=arguments[6],d=arguments[7]):(r=arguments[1],n=arguments[2],a=arguments[3],o=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7],d=arguments[8]),"object"===i()(e=arguments[0])&&!p(e)&&"imageData"in e){var h=e;e=h.imageData,r=h.format||r||t,n=h.x||n||0,a=h.y||a||0,o=h.w||h.width||o,s=h.h||h.height||s,c=h.alias||c,u=h.compression||u,d=h.rotation||h.angle||d}var f=this.internal.getFilters();if(void 0===u&&-1!==f.indexOf("FlateEncode")&&(u="SLOW"),isNaN(n)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var m=x.call(this,e,r,c,u);return g.call(this,n,a,o,s,m,d),this};var x=function(r,i,a,o){var s,l,c;if("string"==typeof r&&n(r)===t){r=unescape(r);var h=T(r,!1);(""!==h||void 0!==(h=e.loadFile(r,!0)))&&(r=h)}if(p(r)&&(r=f(r,i)),i=n(r,i),!d(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(c=a)||0===c.length)&&(a=function(e){return"string"==typeof e||C(e)?b(e):C(e.data)?b(e.data):null}(r)),(s=m.call(this,a))||(E()&&(r instanceof Uint8Array||"RGBA"===i||(l=r,r=S(r))),s=this["process"+i.toUpperCase()](r,u.call(this),a,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:v.NONE}(o),l)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},T=e.__addimage__.convertBase64ToBinaryString=function(e,t){var r;t="boolean"!=typeof t||t;var n,i="";if("string"==typeof e){n=null!==(r=y(e))?r.data:e;try{i=h(n)}catch(e){if(t)throw w(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 i,a,o="";if(p(r)&&(r=f(r)),"string"==typeof r&&n(r)===t&&(""===(o=T(r,!1))&&(o=e.loadFile(r)||""),r=o),a=n(r),!d(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=S(r)),!(i=this["process"+a.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=a,i}}(j.API),
  244. /**
  245. * @license
  246. * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
  247. *
  248. * Licensed under the MIT License.
  249. * http://opensource.org/licenses/mit-license
  250. */
  251. function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};j.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,c=!1,u=0;u<l.length&&!c;u++)switch((r=l[u]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){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(),A=this.internal.getEncryptor(f.objId),g=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(A(r.contents))+")",i+=" /Popup "+m.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(A(g))+") >>",f.content=i;var _=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 "+_,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 v=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:#"+v+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var b=this.annotations._nameMap[r.options.name];r.options.pageNumber=b.page,r.options.top=b.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 w=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+" "+w+" "+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}}(j.API),
  252. /**
  253. * @license
  254. * Copyright (c) 2017 Aras Abbasi
  255. *
  256. * Licensed under the MIT License.
  257. * http://opensource.org/licenses/mit-license
  258. */
  259. 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 c=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 u=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:!c(e)||!o(t)&&!o(r)||!o(r)&&s(t)||s(e)&&!o(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&o(t)&&!s(t)&&o(r)&&c(r)?3:s(e)||!o(r)?1:2:-1},p=function(e){var r=0,n=0,i=0,a="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(r=0;r<c.length;r+=1){for(u.push(""),n=0;n<c[r].length;n+=1)a=c[r][n],s=c[r][n-1],l=c[r][n+1],o(a)?(i=h(a,s,l),u[r]+=-1!==i?String.fromCharCode(t[a.charCodeAt(0)][i]):a):u[r]+=a;u[r]=d(u[r])}return u.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])}(j.API),j.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},
  260. /**
  261. * @license
  262. * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
  263. *
  264. * Licensed under the MIT License.
  265. * http://opensource.org/licenses/mit-license
  266. */
  267. 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}])}(j.API),function(e){var t={left:0,top:0,bottom:0,right:0},r=!1,n=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 n.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){n.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),a=t.scaleFactor||this.internal.scaleFactor,o=0,s=0,l=0,c=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 u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(c.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var d=0;d<e.length;d++)o<(l=this.getStringUnitWidth(e[d],{font:i})*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(){n.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]),n.call(this);var i=this.internal.__cell__.lastCell,a=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,l=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===e.lineNumber?(e.x=(i.x||0)+(i.width||0),e.y=i.y||0):i.y+i.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,c&&l&&(this.printHeaderRow(e.lineNumber,!0),e.y+=l[0].height)):e.y=i.y+i.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,c,u,d){if(n.call(this),!c)throw new Error("No data for PDF table.");var h,p,f,m,A=[],g=[],_=[],v={},b={},w=[],y=[],E=(d=d||{}).autoSize||!1,C=!1!==d.printHeaders,S=d.css&&void 0!==d.css["font-size"]?16*d.css["font-size"]:d.fontSize||12,M=d.margins||Object.assign({width:this.getPageWidth()},t),x="number"==typeof d.padding?d.padding:3,T=d.headerBackgroundColor||"#c8c8c8",O=d.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=M,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=x,this.internal.__cell__.headerBackgroundColor=T,this.internal.__cell__.headerTextColor=O,this.setFontSize(S),null==u)g=A=Object.keys(c[0]),_=A.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===i()(u[0]))for(A=u.map((function(e){return e.name})),g=u.map((function(e){return e.prompt||e.name||""})),_=u.map((function(e){return e.align||"left"})),h=0;h<u.length;h+=1)b[u[h].name]=u[h].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(g=A=u,_=A.map((function(){return"left"})));if(E||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<A.length;h+=1){for(v[m=A[h]]=c.map((function(e){return e[m]})),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(g[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),p=v[m],this.setFont(void 0,"normal"),f=0;f<p.length;f+=1)w.push(this.getTextDimensions(p[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);b[m]=Math.max.apply(null,w)+x+x,w=[]}if(C){var N={};for(h=0;h<A.length;h+=1)N[A[h]]={},N[A[h]].text=g[h],N[A[h]].align=_[h];var R=l.call(this,N,b);y=A.map((function(t){return new o(e,r,b[t],R,N[t].text,void 0,N[t].align)})),this.setTableHeaderRow(y),this.printHeaderRow(1,!1)}var L=u.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(h=0;h<c.length;h+=1){"rowStart"in d&&d.rowStart instanceof Function&&d.rowStart({row:h,data:c[h]},this);var I=l.call(this,c[h],b);for(f=0;f<A.length;f+=1){var k=c[h][A[f]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:h,col:f,data:k},this),s.call(this,new o(e,r,b[A[f]],I,k,h+2,L[A[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){n.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;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=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){i=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(i.y=this.internal.__cell__.margins.top||0,l.push(i)),i.lineNumber=e;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,i),this.setTextColor(u)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),r=!1}}(j.API);var Oe={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"],Re=Te(Ne),Le=[100,200,300,400,500,600,700,800,900],Ie=Te(Le);function ke(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),r=function(e){return Oe[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 Re[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 Be(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"},Fe={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Pe(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function je(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 '"+Pe(a)+"' and default family '"+n+"'.");if(o=function(e,t){if(t[e])return t[e];var r=Re[e],n=r<=Re.normal?-1:1,i=Be(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=Oe[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=Ie[e],n=Be(t,Le,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 '"+Pe(a)+"'.");return o}function Ue(e){return e.trimLeft()}function He(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 Ve(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 Ye,We,Qe,ze=["times"];!function(e){var t,r,n,a,o,s,c,u,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 u,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,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,n=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,s=this.internal.Point,c=this.internal.Rectangle,u=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 c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=f(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=f(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 u=null;function p(e,t){if(null===u){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());u=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 u}var m=null;Object.defineProperty(this,"fontFaces",{get:function(){return m},set:function(e){u=null,m=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 ze;if(i in Fe)return[Fe[i]];for(;""!==i;){switch(r=null,t=(i=Ue(i)).charAt(0)){case'"':case"'":r=He(i.substring(1),t);break;default:r=Ve(i)}if(null===r)return ze;if(n.push(r[0]),""!==(i=Ue(r[1]))&&","!==i.charAt(0))return ze;i=i.replace(/^,/,"")}return n}(a);if(this.fontFaces){var l=je(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 c="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(c="bold"),"italic"===r&&(c+="italic"),0===c.length&&(c="normal");for(var u="",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],c,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],c="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],c="normal";break}}if(""===u)for(var f=0;f<s.length;f++)if(d[s[f]]){u=d[s[f]];break}u=""===u?"Times":u,this.pdf.setFont(u,c)}}}}),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,U.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,U.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 l.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(e,t)},p.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===i()(this.path[t+1])&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},p.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw l.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(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 l.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new s(r,n)),a=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:a.x,y1:a.y,x:i.x,y:i.y}),this.ctx.lastPoint=new s(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 l.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new s(i,a)),c=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(r,n));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:u.x,y2:u.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(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 l.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 s(e,t));e=o.x,t=o.y;var c=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(c.x-u.x,2)+Math.pow(c.y-u.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 l.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 l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!A.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 l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.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 l.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 f=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 m(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}},A=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},g=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 l.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!A.call(this)){var i=F(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 l.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!g.call(this)){n=isNaN(n)?void 0:n;var i=F(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 l.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 l.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new u(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},p.prototype.rotate=function(e){if(isNaN(e))throw l.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new u(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 l.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new u(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 l.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new u(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 u(e,t,r,n,i,a)};var _=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 A,g=this.ctx.transform.decompose(),b=F(g.rotate.shx),E=new u,S=(E=(E=(E=E.multiply(g.translate)).multiply(g.skew)).multiply(g.scale)).applyToRectangle(new c(a-t*f,o-r*m,n*h,i*p)),M=v.call(this,S),x=[],T=0;T<M.length;T+=1)-1===x.indexOf(M[T])&&x.push(M[T]);if(y(x),this.autoPaging)for(var O=x[0],N=x[x.length-1],R=O;R<N+1;R++){this.pdf.setPage(R);var L=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===R?this.posY+this.margin[0]:this.margin[0],k=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],B=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],D=1===R?0:k+(R-2)*B;if(0!==this.ctx.clip_path.length){var P=this.path;A=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(A,this.posX+this.margin[3],-D+I+this.ctx.prevPageLastElemOffset),C.call(this,"fill",!0),this.path=P}var j=JSON.parse(JSON.stringify(S));j=w([j],this.posX+this.margin[3],-D+I+this.ctx.prevPageLastElemOffset)[0];var U=(R>O||R<N)&&_.call(this);U&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],L,B,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",j.x,j.y,j.w,j.h,null,null,b),U&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",S.x,S.y,S.w,S.h,null,null,b)};var v=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=P(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=j(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];)b.call(this);return n},b=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},w=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},y=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),c=this.lineJoin,u=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=v.call(this,d[p]),m=0;m<f.length;m+=1)-1===h.indexOf(f[m])&&h.push(f[m]);for(var A=0;A<h.length;A++)for(;this.pdf.internal.getNumberOfPages()<h[A];)b.call(this);if(y(h),this.autoPaging)for(var g=h[0],E=h[h.length-1],S=g;S<E+1;S++){this.pdf.setPage(S),this.fillStyle=i,this.strokeStyle=a,this.lineCap=o,this.lineWidth=l,this.lineJoin=c;var M=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],x=1===S?this.posY+this.margin[0]:this.margin[0],T=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],O=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],N=1===S?0:T+(S-2)*O;if(0!==this.ctx.clip_path.length){var R=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(r,this.posX+this.margin[3],-N+x+this.ctx.prevPageLastElemOffset),C.call(this,e,!0),this.path=R}if(n=JSON.parse(JSON.stringify(u)),this.path=w(n,this.posX+this.margin[3],-N+x+this.ctx.prevPageLastElemOffset),!1===t||0===S){var L=(S>g||S<E)&&_.call(this);L&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],M,O,null).clip().discardPath()),C.call(this,e,t),L&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=l,C.call(this,e,t),this.lineWidth=s;this.path=u},C=function(e,t){if(("stroke"!==e||t||!g.call(this))&&("stroke"===e||t||!A.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 c=a[o-1].x+2/3*(s.x1-a[o-1].x),u=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=[c-a[o-1].x,u-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,_=0;_<i.length;_++)if(i[_].arc)for(var v=i[_].abs,b=0;b<v.length;b++){var w=v[b];"arc"===w.type?x.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t,!m):L.call(this,w.x,w.y),m=!0}else if(!0===i[_].close)this.pdf.internal.out("h"),m=!1;else if(!0!==i[_].begin){var y=i[_].start.x,E=i[_].start.y;I.call(this,i[_].deltas,y,E),m=!0}n&&T.call(this,n),t&&O.call(this)}},S=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}},M=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 c=B.call(this,r,n,i,a),u=0;u<c.length;u++){var d=c[u];0===u&&(l?N.call(this,d.x1+e,d.y1+t):L.call(this,d.x1+e,d.y1+t)),k.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}s?O.call(this):T.call(this,o)},T=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},O=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(e,t){this.pdf.internal.out(r(e)+" "+n(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=S.call(this,e.y),i=M.call(this,n)-r.h,a=this.ctx.transform.applyToPoint(new s(e.x,n)),o=this.ctx.transform.decompose(),l=new u;l=(l=(l=l.multiply(o.translate)).multiply(o.skew)).multiply(o.scale);for(var d,h,p,f=this.ctx.transform.applyToRectangle(new c(e.x,n,r.w,r.h)),m=l.applyToRectangle(new c(e.x,i,r.w,r.h)),A=v.call(this,m),g=[],b=0;b<A.length;b+=1)-1===g.indexOf(A[b])&&g.push(A[b]);if(y(g),this.autoPaging)for(var E=g[0],x=g[g.length-1],T=E;T<x+1;T++){this.pdf.setPage(T);var O=1===T?this.posY+this.margin[0]:this.margin[0],N=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],I=this.pdf.internal.pageSize.width-this.margin[1],k=I-this.margin[3],B=1===T?0:N+(T-2)*L;if(0!==this.ctx.clip_path.length){var D=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(d,this.posX+this.margin[3],-1*B+O),C.call(this,"fill",!0),this.path=D}var F=w([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-B+O+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 P="text"!==this.autoPaging;if(P||F.y+F.h<=R){if(P||F.y>=O&&F.x<=I){var j=P?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||I-F.x)[0],U=w([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-B+O+this.ctx.prevPageLastElemOffset)[0],H=P&&(T>E||T<x)&&_.call(this);H&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],k,L,null).clip().discardPath()),this.pdf.text(j,U.x,U.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),H&&this.pdf.restoreGraphicsState()}}else F.y<R&&(this.ctx.prevPageLastElemOffset+=R-F.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,i,a){i=i||0,a=a||0,this.pdf.internal.out(r(e+i)+" "+n(t+a)+" l")},I=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},k=function(e,r,n,i,s,l,c,u){this.pdf.internal.out([t(a(n+e)),t(o(i+r)),t(a(s+e)),t(o(l+r)),t(a(c+e)),t(o(u+r)),"c"].join(" "))},B=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,c=t;o>1e-5;){var u=c+l*Math.min(o,a);s.push(D.call(this,e,c,u)),o-=Math.abs(u-c),c=u}return s},D=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,c=l+o*i+s*a,u=4/3*(Math.sqrt(2*l*c)-c)/(o*a-s*i),d=o-u*s,h=s+u*o,p=d,f=-h,m=n+t,A=Math.cos(m),g=Math.sin(m);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:d*A-h*g,y2:d*g+h*A,x3:p*A-f*g,y3:p*g+f*A,x4:e*Math.cos(r),y4:e*Math.sin(r)}},F=function(e){return 180*e/Math.PI},P=function(e,t,r,n,i,a){var o=e+.5*(r-e),s=t+.5*(n-t),l=i+.5*(r-i),u=a+.5*(n-a),d=Math.min(e,i,o,l),h=Math.max(e,i,o,l),p=Math.min(t,a,s,u),f=Math.max(t,a,s,u);return new c(d,p,h-d,f-p)},j=function(e,t,r,n,i,a,o,s){var l,u,d,h,p,f,m,A,g,_,v,b,w,y,E=r-e,C=n-t,S=i-r,M=a-n,x=o-i,T=s-a;for(u=0;u<41;u++)g=(m=(d=e+(l=u/40)*E)+l*((p=r+l*S)-d))+l*(p+l*(i+l*x-p)-m),_=(A=(h=t+l*C)+l*((f=n+l*M)-h))+l*(f+l*(a+l*T-f)-A),0==u?(v=g,b=_,w=g,y=_):(v=Math.min(v,g),b=Math.min(b,_),w=Math.max(w,g),y=Math.max(y,_));return new c(Math.round(v),Math.round(b),Math.round(w-v),Math.round(y-b))},U=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)}}}(j.API),
  268. /**
  269. * @license
  270. * jsPDF filters PlugIn
  271. * Copyright (c) 2014 Aras Abbasi
  272. *
  273. * Licensed under the MIT License.
  274. * http://opensource.org/licenses/mit-license
  275. */
  276. function(e){var t=function(e){var t,r,n,i,a,o,s,l,c,u;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-(u=a%85))/85)-(c=a%85))/85)-(l=a%85))/85)-(s=a%85))/85)%85,r.push(o+33,s+33,l+33,c+33,u+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,c="charCodeAt",u="slice",d="replace";for(e[u](-2),e=e[u](0,-2)[d](/\s/g,"")[d]("z","!!!!!"),n=[],i=0,a=(e+=t="uuuuu"[u](e[s]%5||5))[s];a>i;i+=5)r=52200625*(e[c](i)-33)+614125*(e[c](i+1)-33)+7225*(e[c](i+2)-33)+85*(e[c](i+3)-33)+(e[c](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},i=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=Object(a["b"])(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,a){var o=0,s=e||"",l=[];for("string"==typeof(a=a||[])&&(a=[a]),o=0;o<a.length;o+=1)switch(a[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=i(s),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[o]+'" is not implemented')}return{data:s,reverseChain:l.reverse().join(" ")}}}(j.API),
  277. /**
  278. * @license
  279. * jsPDF fileloading PlugIn
  280. * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
  281. *
  282. * Licensed under the MIT License.
  283. * http://opensource.org/licenses/mit-license
  284. */
  285. 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}(j.API),function(e){function t(){return(o.html2canvas?Promise.resolve(o.html2canvas):Promise.resolve().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 n(){return(o.DOMPurify?Promise.resolve(o.DOMPurify):r.e("chunk-2d216214").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 a=function(e){var t=i()(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(a(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(n).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"!==a(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(a(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||j.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,j.getPageSize=function(e,t,r){if("object"===i()(e)){var n=e;e=n.orientation,t=n.unit||t,r=n.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,c=0,u=0;if(s.hasOwnProperty(o))c=s[o][1]/a,u=s[o][0]/a;else try{c=r[1],u=r[0]}catch(d){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",u>c&&(l=u,u=c,c=l);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>u&&(l=u,u=c,c=l)}return{width:u,height:c,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()}}(j.API),j.API.addJS=function(e){return Qe=e,this.internal.events.subscribe("postPutResources",(function(){Ye=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ye+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),We=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Qe+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ye&&void 0!==We&&this.internal.out("/Names <</JavaScript "+Ye+" 0 R>>")})),this
  286. /**
  287. * @license
  288. * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
  289. *
  290. * Licensed under the MIT License.
  291. * http://opensource.org/licenses/mit-license
  292. */},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,c=[];for(i=0;i<l;i++){var u=e.internal.newObject();c.push(u);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<c.length;i++)e.internal.write("(page_"+(i+1)+")"+c[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}}])}(j.API),
  293. /**
  294. * @license
  295. *
  296. * Licensed under the MIT License.
  297. * http://opensource.org/licenses/mit-license
  298. */
  299. 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,c=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}c={data:e,width:s.width,height:s.height,colorSpace:o,bitsPerComponent:8,filter:l,index:r,alias:n}}return c}}(j.API);var qe,Ge,Ke,Xe,$e,Ze=function(){var e,t,r;function n(e){var t,r,n,i,a,o,s,l,c,u,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(),c=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"===c&&(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((u=n-this.transparency.indexed.length)>0)for(p=0;0<=u?p<u:p>u;0<=u?++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,i=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(a,o,s,l){var c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T,O,N=Math.ceil((i.width-a)/s),R=Math.ceil((i.height-o)/l),L=i.width==N&&i.height==R;for(y=t*N,b=L?r:new Uint8Array(y*R),f=e.length,w=0,u=0;w<R&&n<f;){switch(e[n++]){case 0:for(h=S=0;S<y;h=S+=1)b[u++]=e[n++];break;case 1:for(h=M=0;M<y;h=M+=1)c=e[n++],p=h<t?0:b[u-t],b[u++]=(c+p)%256;break;case 2:for(h=x=0;x<y;h=x+=1)c=e[n++],d=(h-h%t)/t,E=w&&b[(w-1)*y+d*t+h%t],b[u++]=(E+c)%256;break;case 3:for(h=T=0;T<y;h=T+=1)c=e[n++],d=(h-h%t)/t,p=h<t?0:b[u-t],E=w&&b[(w-1)*y+d*t+h%t],b[u++]=(c+Math.floor((p+E)/2))%256;break;case 4:for(h=O=0;O<y;h=O+=1)c=e[n++],d=(h-h%t)/t,p=h<t?0:b[u-t],0===w?E=C=0:(E=b[(w-1)*y+d*t+h%t],C=d&&b[(w-1)*y+(d-1)*t+h%t]),m=p+E-C,A=Math.abs(m-p),_=Math.abs(m-E),v=Math.abs(m-C),g=A<=_&&A<=v?p:_<=v?E:C,b[u++]=(c+g)%256;break;default:throw new Error("Invalid filter algorithm: "+e[n-1])}if(!L){var I=((o+w*l)*i.width+a)*t,k=w*y;for(h=0;h<N;h+=1){for(var B=0;B<t;B+=1)r[I++]=b[k++];I+=(s-1)*t}}w++}}return e=Object(a["a"])(e),1==i.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,c,u,d,h;if(n=this.colors,u=null,r=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),c=(i=e.data||e).length,o=u||t,a=s=0,1===n)for(;a<c;)l=u?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<c;)l=u?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 i=function(){if("[object Window]"===Object.prototype.toString.call(o)){try{t=o.document.createElement("canvas"),r=t.getContext("2d")}catch(e){return!1}return!0}return!1};return i(),e=function(e){var n;if(!0===i())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,c;if(this.animation){for(c=[],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,c.push(r.image=e(i));return c}},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}();
  300. /**
  301. * @license
  302. *
  303. * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
  304. *
  305. * Permission is hereby granted, free of charge, to any person obtaining
  306. * a copy of this software and associated documentation files (the
  307. * "Software"), to deal in the Software without restriction, including
  308. * without limitation the rights to use, copy, modify, merge, publish,
  309. * distribute, sublicense, and/or sell copies of the Software, and to
  310. * permit persons to whom the Software is furnished to do so, subject to
  311. * the following conditions:
  312. *
  313. * The above copyright notice and this permission notice shall be
  314. * included in all copies or substantial portions of the Software.
  315. *
  316. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  317. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  318. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  319. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  320. * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  321. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  322. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  323. * ====================================================================
  324. */
  325. /**
  326. * @license
  327. * (c) Dean McNamee <dean@gmail.com>, 2013.
  328. *
  329. * https://github.com/deanm/omggif
  330. *
  331. * Permission is hereby granted, free of charge, to any person obtaining a copy
  332. * of this software and associated documentation files (the "Software"), to
  333. * deal in the Software without restriction, including without limitation the
  334. * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  335. * sell copies of the Software, and to permit persons to whom the Software is
  336. * furnished to do so, subject to the following conditions:
  337. *
  338. * The above copyright notice and this permission notice shall be included in
  339. * all copies or substantial portions of the Software.
  340. *
  341. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  342. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  343. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  344. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  345. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  346. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  347. * IN THE SOFTWARE.
  348. *
  349. * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
  350. * including animation and compression. It does not rely on any specific
  351. * underlying system, so should run in the browser, Node, or Plask.
  352. */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 c=!0,u=[],d=0,h=null,p=0,f=null;for(this.width=r,this.height=n;c&&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 A=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,_=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++],w=b>>6&1,y=1<<1+(7&b),E=s,C=l,S=!1;b>>7&&(S=!0,E=t,C=y,t+=3*y);var M=t;for(t++;;){var x;if(!((x=e[t++])>=0))throw Error("Invalid block size");if(0===x)break;t+=x}u.push({x:A,y:g,width:_,height:v,has_local_palette:S,palette_offset:E,palette_size:C,data_offset:M,data_length:t-M,transparent_index:h,interlaced:!!w,delay:d,disposal:p});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return f},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,n){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);et(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=r-c,d=c,h=4*(i.y*r+i.x),p=4*((i.y+i.height)*r+i.x),f=h,m=4*u;!0===i.interlaced&&(m+=4*r*7);for(var A=8,g=0,_=o.length;g<_;++g){var v=o[g];if(0===d&&(d=c,(f+=m)>=p&&(m=4*u+4*r*(A-1),f=h+(c+u)*(A<<1),A>>=1)),v===l)f+=4;else{var b=e[s+3*v],w=e[s+3*v+1],y=e[s+3*v+2];n[f++]=y,n[f++]=w,n[f++]=b,n[f++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,n){var i=this.frameInfo(t),a=i.width*i.height,o=new Uint8Array(a);et(e,i.data_offset,o,a);var s=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=r-c,d=c,h=4*(i.y*r+i.x),p=4*((i.y+i.height)*r+i.x),f=h,m=4*u;!0===i.interlaced&&(m+=4*r*7);for(var A=8,g=0,_=o.length;g<_;++g){var v=o[g];if(0===d&&(d=c,(f+=m)>=p&&(m=4*u+4*r*(A-1),f=h+(c+u)*(A<<1),A>>=1)),v===l)f+=4;else{var b=e[s+3*v],w=e[s+3*v+1],y=e[s+3*v+2];n[f++]=b,n[f++]=w,n[f++]=y,n[f++]=255}--d}}}function et(e,t,r,n){for(var i=e[t++],a=1<<i,o=a+1,s=o+1,c=i+1,u=(1<<c)-1,d=0,h=0,p=0,f=e[t++],m=new Int32Array(4096),A=null;;){for(;d<16&&0!==f;)h|=e[t++]<<d,d+=8,1===f?f=e[t++]:--f;if(d<c)break;var g=h&u;if(h>>=c,d-=c,g!==a){if(g===o)break;for(var _=g<s?g:A,v=0,b=_;b>a;)b=m[b]>>8,++v;var w=b;if(p+v+(_!==g?1:0)>n)return void l.log("Warning, gif stream longer than expected.");r[p++]=w;var y=p+=v;for(_!==g&&(r[p++]=w),b=_;v--;)b=m[b],r[--y]=255&b,b>>=8;null!==A&&s<4096&&(m[s++]=A<<8|w,s>=u+1&&c<12&&(++c,u=u<<1|1)),A=g}else s=o+1,u=(1<<(c=i+1))-1,A=null}return p!==n&&l.log("Warning, gif stream shorter than expected."),r}
  353. /**
  354. * @license
  355. Copyright (c) 2008, Adobe Systems Incorporated
  356. All rights reserved.
  357. Redistribution and use in source and binary forms, with or without
  358. modification, are permitted provided that the following conditions are
  359. met:
  360. * Redistributions of source code must retain the above copyright notice,
  361. this list of conditions and the following disclaimer.
  362. * Redistributions in binary form must reproduce the above copyright
  363. notice, this list of conditions and the following disclaimer in the
  364. documentation and/or other materials provided with the distribution.
  365. * Neither the name of Adobe Systems Incorporated nor the names of its
  366. contributors may be used to endorse or promote products derived from
  367. this software without specific prior written permission.
  368. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  369. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  370. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  371. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  372. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  373. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  374. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  375. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  376. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  377. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  378. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  379. */function tt(e){var t,r,n,i,a,o=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),d=new Array(65535),h=new Array(65535),p=new Array(64),f=new Array(64),m=[],A=0,g=7,_=new Array(64),v=new Array(64),b=new Array(64),w=new Array(256),y=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],C=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],M=[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],T=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],O=[0,1,2,3,4,5,6,7,8,9,10,11],N=[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 I(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(A|=1<<g),r--,--g<0&&(255==A?(k(255),k(0)):k(A),g=7,A=0)}function k(e){m.push(e)}function B(e){k(e>>8&255),k(255&e)}function D(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,c,u,d,h=0;for(u=0;u<8;++u){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+(c=e[h+7]),m=r-c,A=n+l,g=n-l,_=i+s,v=i-s,b=a+o,w=a-o,y=f+b,E=f-b,C=A+_,S=A-_;e[h]=y+C,e[h+4]=y-C;var M=.707106781*(S+E);e[h+2]=E+M,e[h+6]=E-M;var x=.382683433*((y=w+v)-(S=g+m)),T=.5411961*y+x,O=1.306562965*S+x,N=.707106781*(C=v+g),R=m+N,L=m-N;e[h+5]=L+T,e[h+3]=L-T,e[h+1]=R+O,e[h+7]=R-O,h+=8}for(h=0,u=0;u<8;++u){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 I=r+(c=e[h+56]),k=r-c,B=n+l,D=n-l,F=i+s,P=i-s,j=a+o,U=a-o,H=I+j,V=I-j,Y=B+F,W=B-F;e[h]=H+Y,e[h+32]=H-Y;var Q=.707106781*(W+V);e[h+16]=V+Q,e[h+48]=V-Q;var z=.382683433*((H=U+P)-(W=D+k)),q=.5411961*H+z,G=1.306562965*W+z,K=.707106781*(Y=P+D),X=k+K,$=k-K;e[h+40]=$+q,e[h+24]=$-q,e[h+8]=X+G,e[h+56]=X-G,h++}for(u=0;u<64;++u)d=e[u]*t[u],p[u]=d>0?d+.5|0:d-.5|0;return p}(e,t),c=0;c<64;++c)f[E[c]]=l[c];var u=f[0]-r;r=f[0],0==u?I(n[0]):(I(n[h[a=32767+u]]),I(d[a]));for(var m=63;m>0&&0==f[m];)m--;if(0==m)return I(o),r;for(var A,g=1;g<=m;){for(var _=g;0==f[g]&&g<=m;)++g;var v=g-_;if(v>=16){A=v>>4;for(var b=1;b<=A;++b)I(s);v&=15}a=32767+f[g],I(i[(v<<4)+h[a]]),I(d[a]),g++}return 63!=m&&I(o),r}function F(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++)c[p]=1/(s[E[p]]*h[f]*h[m]*8),u[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&&F(a),m=new Array,A=0,g=7,B(65496),B(65504),B(16),k(74),k(70),k(73),k(70),k(0),k(1),k(1),k(0),B(1),B(1),k(0),k(0),function(){B(65499),B(132),k(0);for(var e=0;e<64;e++)k(s[e]);k(1);for(var t=0;t<64;t++)k(l[t])}(),function(e,t){B(65472),B(17),k(8),B(t),B(e),k(3),k(1),k(17),k(0),k(2),k(17),k(1),k(3),k(17),k(1)}(e.width,e.height),function(){B(65476),B(418),k(0);for(var e=0;e<16;e++)k(C[e+1]);for(var t=0;t<=11;t++)k(S[t]);k(16);for(var r=0;r<16;r++)k(M[r+1]);for(var n=0;n<=161;n++)k(x[n]);k(1);for(var i=0;i<16;i++)k(T[i+1]);for(var a=0;a<=11;a++)k(O[a]);k(17);for(var o=0;o<16;o++)k(N[o+1]);for(var s=0;s<=161;s++)k(R[s])}(),B(65498),B(12),k(3),k(1),k(0),k(2),k(17),k(3),k(17),k(0),k(63),k(0);var o=0,d=0,h=0;A=0,g=7,this.encode.displayName="_encode_";for(var p,f,w,E,L,P,j,U,H,V=e.data,Y=e.width,W=e.height,Q=4*Y,z=0;z<W;){for(p=0;p<Q;){for(L=Q*z+p,j=-1,U=0,H=0;H<64;H++)P=L+(U=H>>3)*Q+(j=4*(7&H)),z+U>=W&&(P-=Q*(z+1+U-W)),p+j>=Q&&(P-=p+j-Q+4),f=V[P++],w=V[P++],E=V[P++],_[H]=(y[f]+y[w+256>>0]+y[E+512>>0]>>16)-128,v[H]=(y[f+768>>0]+y[w+1024>>0]+y[E+1280>>0]>>16)-128,b[H]=(y[f+1280>>0]+y[w+1536>>0]+y[E+1792>>0]>>16)-128;o=D(_,c,o,t,n),d=D(v,u,d,r,i),h=D(b,u,h,r,i),p+=32}z+=8}if(g>=0){var q=[];q[1]=g+1,q[0]=(1<<g+1)-1,I(q)}return B(65497),new Uint8Array(m)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)w[t]=e(t)}(),t=L(C,S),r=L(T,O),n=L(M,x),i=L(N,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++)y[e]=19595*e,y[e+256>>0]=38470*e,y[e+512>>0]=7471*e+32768,y[e+768>>0]=-11059*e,y[e+1024>>0]=-21709*e,y[e+1280>>0]=32768*e+8421375,y[e+1536>>0]=-27439*e,y[e+1792>>0]=-5329*e}(),F(e)}
  380. /**
  381. * @license
  382. * Copyright (c) 2017 Aras Abbasi
  383. *
  384. * Licensed under the MIT License.
  385. * http://opensource.org/licenses/mit-license
  386. */function rt(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 nt(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 c(e,r,n,i,a){t(!(i%n));do{e[r+(i-=n)]=a}while(0<i)}function u(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 u,h,p=r,f=1<<n,m=a(16),A=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(A[1]=0,u=1;15>u;++u){if(m[u]>1<<u)return 0;A[u+1]=A[u]+m[u]}for(h=0;h<o;++h)u=i[h],0<i[h]&&(s[A[u]++]=h);if(1==A[15])return(i=new d).g=0,i.value=s[0],c(e,p,1,f,i),f;var g,_=-1,v=f-1,b=0,w=1,y=1,E=1<<n;for(h=0,u=1,o=2;u<=n;++u,o<<=1){if(w+=y<<=1,0>(y-=m[u]))return 0;for(;0<m[u];--m[u])(i=new d).g=u,i.value=s[h++],c(e,p+b,o,E,i),b=l(b,u)}for(u=n+1,o=2;15>=u;++u,o<<=1){if(w+=y<<=1,0>(y-=m[u]))return 0;for(;0<m[u];--m[u]){if(i=new d,(b&v)!=_){for(p+=E,g=1<<(_=u)-n;15>_&&!(0>=(g-=m[_]));)++_,g<<=1;f+=E=1<<(g=_-n),e[r+(_=b&v)].g=g+n,e[r+_].value=p-r-_}i.g=u-n,i.value=s[h++],c(e,p+(b>>n),o,E,i),b=l(b,u)}}return w!=2*A[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(Pr,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,M(e)}function m(e,t){for(var r=0;0<t--;)r|=T(e,128)<<t;return r}function A(e,t){var r=m(e,t);return x(e)?-r:r}function g(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 _(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Hr-8>>>0,++e.bb,e.u-=8;E(e)&&(e.h=1,e.u=0)}function v(e,r){if(t(0<=r),!e.h&&r<=Ur){var n=y(e)&jr[r];return e.u+=r,_(e),n}return e.h=1,e.u=0}function b(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function w(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function y(e){return e.Ra>>>(e.u&Hr-1)>>>0}function E(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Hr}function C(e,t){e.u=t,e.h=E(e)}function S(e){e.u>=Vr&&(t(e.u>=Vr),_(e))}function M(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 T(e,t){var r=e.Ca;0>e.b&&M(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 O(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 N(e,t){return e[t+0]<<0|e[t+1]<<8}function R(e,t){return N(e,t)|e[t+2]<<16}function L(e,t){return N(e,t)|N(e,t+2)<<16}function I(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 k(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function B(){this.X=[],this.Xa=this.Mb=0}function D(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 F(e,t){return e+(1<<t)-1>>>t}function P(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function j(t,r){e[r]=function(r,n,i,a,o,s,l){var c;for(c=0;c<o;++c){var u=e[t](s[l+c-1],i,a+c);s[l+c]=P(r[n+c],u)}}}function U(){this.ud=this.hd=this.jd=0}function H(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 W(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function Q(e,t,r,n,i,a,o){for(n=a[o-1],r=0;r<i;++r)a[o+r]=n=P(e[t+r],n)}function z(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 q(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function G(e,t,r,n,i,a){var o;for(o=0;o<n;++o){var s=t[r+o],l=s>>>8,c=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(l<<24>>24)>>>5));c=255&(c=(c+=(e.hd<<24>>24)*(l<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),i[a+o]=(4278255360&s)+(u<<16)+c}}function K(t,r,n,i,a){e[r]=function(e,t,r,n,o,s,l,c,u){for(n=l;n<c;++n)for(l=0;l<u;++l)o[s++]=a(r[i(e[t++])])},e[t]=function(t,r,o,s,l,c,u){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,A=0;for(m=0;m<h;++m)m&t||(A=i(s[l++])),c[u++]=a(p[A&f]),A>>=d}else e["VP8LMapColor"+n](s,l,p,f,c,u,r,o,h)}}function X(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 Z(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 J(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;)O(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==Wn||e==Qn||e==zn}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 ce(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var r=e.T,i=t.ba.f.RGBA,a=i.eb,o=i.fb+e.ka*i.A,s=gi[t.ba.S],l=e.y,c=e.O,u=e.f,d=e.N,h=e.ea,p=e.W,f=t.cc,m=t.dc,A=t.Mc,g=t.Nc,_=e.ka,v=e.ka+e.T,b=e.U,w=b+1>>1;for(0==_?s(l,c,null,null,u,d,h,p,u,d,h,p,a,o,null,null,b):(s(t.ec,t.fc,l,c,f,m,A,g,u,d,h,p,a,o-i.A,a,o,b),++r);_+2<v;_+=2)f=u,m=d,A=h,g=p,d+=e.Rc,p+=e.Rc,o+=2*i.A,s(l,(c+=2*e.fa)-e.fa,l,c,f,m,A,g,u,d,h,p,a,o-i.A,a,o,b);return c+=e.fa,e.j+v<e.o?(n(t.ec,t.fc,l,c,b),n(t.cc,t.dc,u,d,w),n(t.Mc,t.Nc,h,p,w),r--):1&v||s(l,c,null,null,u,d,h,p,u,d,h,p,a,o+i.A,null,null,b),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==Un||s==Qn;r=r.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,a[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var d=r.eb;u=r.fb+u*r.A,e=Sn(i,a[0],e.width,o,c,d,u+(l?0:3),r.A),t(n==c),e&&ne(s)&&En(d,u,l,o,c,r.A)}return 0}function he(e){var t=e.ma,r=t.ba.S,n=11>r,i=r==Fn||r==jn||r==Un||r==Hn||12==r||ne(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Br(t.Oa,e,i?11:12))return 0;if(i&&ne(r)&&_r(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=ce,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=ue,_r()}}else alert("todo:EmitYUV");i&&(t.Jb=de,n&&Ar())}if(n&&!Ri){for(e=0;256>e;++e)Li[e]=89858*(e-128)+Mi>>Si,Bi[e]=-22014*(e-128)+Mi,ki[e]=-45773*(e-128),Ii[e]=113618*(e-128)+Mi>>Si;for(e=xi;e<Ti;++e)t=76283*(e-16)+Mi>>Si,Di[e-xi]=Qe(t,255),Fi[e-xi]=Qe(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!=v(e,8)?0:(t[0]=v(e,14)+1,r[0]=v(e,14)+1,n[0]=v(e,1),0!=v(e,3)?0:!e.h)}function Ae(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+v(t,r)+1}function ge(e,t){return 120<t?t-120:1<=(r=((r=Zn[t-1])>>4)*e+(8-(15&r)))?r:1;var r}function _e(e,t,r){var n=y(r),i=e[t+=255&n].g-8;return 0<i&&(C(r,r.u+8),n=y(r),t+=e[t].value,t+=n&(1<<i)-1),C(r,r.u+e[t].g),e[t].value}function ve(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function be(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 we(e,r,i,a){var o=e.ab,s=e.c*r,l=e.C;r=l+r;var c=i,u=a;for(a=e.Ta,i=e.Ua;0<o--;){var d=e.gc[o],h=l,p=r,f=c,m=u,A=(u=a,c=i,d.Ea);switch(t(h<p),t(p<=d.nc),d.hc){case 2:zr(f,m,(p-h)*A,u,c);break;case 0:var g=h,_=p,v=u,b=c,w=(M=d).Ea;0==g&&(Wr(f,m,null,null,1,v,b),Q(f,m+1,0,0,w-1,v,b+1),m+=w,b+=w,++g);for(var y=1<<M.b,E=y-1,C=F(w,M.b),S=M.K,M=M.w+(g>>M.b)*C;g<_;){var x=S,T=M,O=1;for(Qr(f,m,v,b-w,1,v,b);O<w;){var N=(O&~E)+y;N>w&&(N=w),(0,$r[x[T++]>>8&15])(f,m+ +O,v,b+O-w,N-O,v,b+O),O=N}m+=w,b+=w,++g&E||(M+=C)}p!=d.nc&&n(u,c-A,u,c+(p-h-1)*A,A);break;case 1:for(A=f,_=m,w=(f=d.Ea)-(b=f&~(v=(m=1<<d.b)-1)),g=F(f,d.b),y=d.K,d=d.w+(h>>d.b)*g;h<p;){for(E=y,C=d,S=new U,M=_+b,x=_+f;_<M;)q(E[C++],S),Zr(S,A,_,m,u,c),_+=m,c+=m;_<x&&(q(E[C++],S),Zr(S,A,_,w,u,c),_+=w,c+=w),++h&v||(d+=g)}break;case 3:if(f==u&&m==c&&0<d.b){for(_=u,f=A=c+(p-h)*A-(b=(p-h)*F(d.Ea,d.b)),m=u,v=c,g=[],b=(w=b)-1;0<=b;--b)g[b]=m[v+b];for(b=w-1;0<=b;--b)_[f+b]=g[b];qr(d,h,p,u,A,u,c)}else qr(d,h,p,f,m,u,c)}c=a,u=i}u!=i&&n(a,i,c,u,s)}function ye(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,c=o.width;if(we(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 u=o.j-n;n=o.j,a[0]+=u*c}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,u=d.eb,d.A),p=o;for(d=d.fb+e.Ma*d.A;0<p--;){var f=s,m=l,A=a,g=u,_=d;switch(i){case Dn:Jr(f,m,A,g,_);break;case Fn:en(f,m,A,g,_);break;case Yn:en(f,m,A,g,_),En(g,_,0,A,1,0);break;case Pn:nn(f,m,A,g,_);break;case jn:te(f,m,A,g,_,1);break;case Wn:te(f,m,A,g,_,1),En(g,_,0,A,1,0);break;case Un:te(f,m,A,g,_,0);break;case Qn:te(f,m,A,g,_,0),En(g,_,1,A,1,0);break;case Hn:tn(f,m,A,g,_);break;case zn:tn(f,m,A,g,_),Cn(g,_,A,1,0);break;case Vn:rn(f,m,A,g,_);break;default:t(0)}l+=c,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 Ce(e,r,n,i,a,o){if(0!=e.Z){var s=e.qd,l=e.rd;for(t(null!=Ai[e.Z]);r<n;++r)Ai[e.Z](s,l,i,a,i,a,o),s=i,l=a,a+=o;e.qd=s,e.rd=l}}function Se(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,c=e.Ba+e.c*i,u=e.gc;t(1==e.ab),t(3==u[0].hc),Kr(u[0],i,r,l,c,o,s),Ce(n,i,r,o,s,a)}e.C=e.Ma=r}function Me(e,r,n,i,a,o,s){var l=e.$/i,c=e.$%i,u=e.m,d=e.s,h=n+e.$,p=h;a=n+i*a;var f=n+i*o,m=280+d.ua,A=e.Pb?l:16777216,g=0<d.ua?d.Wa:null,_=d.wc,v=h<f?be(d,c,l):null;t(e.C<o),t(f<=a);var b=!1;e:for(;;){for(;b||h<f;){var w=0;if(l>=A){var M=h-n;t((A=e).Pb),A.wd=A.m,A.xd=M,0<A.s.ua&&k(A.s.Wa,A.s.vb),A=l+ei}if(c&_||(v=be(d,c,l)),t(null!=v),v.Qb&&(r[h]=v.qb,b=!0),!b)if(S(u),v.jc){w=u,M=r;var x=h,T=v.pd[y(w)&Pr-1];t(v.jc),256>T.g?(C(w,w.u+T.g),M[x]=T.value,w=0):(C(w,w.u+T.g-256),t(256<=T.value),w=T.value),0==w&&(b=!0)}else w=_e(v.G[0],v.H[0],u);if(u.h)break;if(b||256>w){if(!b)if(v.nd)r[h]=(v.qb|w<<8)>>>0;else{if(S(u),b=_e(v.G[1],v.H[1],u),S(u),M=_e(v.G[2],v.H[2],u),x=_e(v.G[3],v.H[3],u),u.h)break;r[h]=(x<<24|b<<16|w<<8|M)>>>0}if(b=!1,++h,++c>=i&&(c=0,++l,null!=s&&l<=o&&!(l%16)&&s(e,l),null!=g))for(;p<h;)w=r[p++],g.X[(506832829*w&4294967295)>>>g.Mb]=w}else if(280>w){if(w=Ae(w-256,u),M=_e(v.G[4],v.H[4],u),S(u),M=ge(i,M=Ae(M,u)),u.h)break;if(h-n<M||a-h<w)break e;for(x=0;x<w;++x)r[h+x]=r[h+x-M];for(h+=w,c+=w;c>=i;)c-=i,++l,null!=s&&l<=o&&!(l%16)&&s(e,l);if(t(h<=a),c&_&&(v=be(d,c,l)),null!=g)for(;p<h;)w=r[p++],g.X[(506832829*w&4294967295)>>>g.Mb]=w}else{if(!(w<m))break e;for(b=w-280,t(null!=g);p<h;)w=r[p++],g.X[(506832829*w&4294967295)>>>g.Mb]=w;w=h,t(!(b>>>(M=g).Xa)),r[w]=M.X[b],b=!0}b||t(u.h==E(u))}if(e.Pb&&u.h&&h<a)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&k(e.s.vb,e.s.Wa);else{if(u.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 Te(){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"),zr=z,Zr=G,Jr=X,en=$,tn=Z,rn=J,nn=ee,e.VP8LMapColor32b=Gr,e.VP8LMapColor8b=Xr,t)}function Oe(e,r,n,s,l){var c=1,h=[e],f=[r],m=s.m,A=s.s,g=null,_=0;e:for(;;){if(n)for(;c&&v(m,1);){var b=h,w=f,E=s,M=1,x=E.m,T=E.gc[E.ab],O=v(x,2);if(E.Oc&1<<O)c=0;else{switch(E.Oc|=1<<O,T.hc=O,T.Ea=b[0],T.nc=w[0],T.K=[null],++E.ab,t(4>=E.ab),O){case 0:case 1:T.b=v(x,3)+2,M=Oe(F(T.Ea,T.b),F(T.nc,T.b),0,E,T.K),T.K=T.K[0];break;case 3:var N,R=v(x,8)+1,L=16<R?0:4<R?1:2<R?2:3;if(b[0]=F(T.Ea,L),T.b=L,N=M=Oe(R,1,0,E,T.K)){var k,B=R,D=T,j=1<<(8>>D.b),U=a(j);if(null==U)N=0;else{var H=D.K[0],V=D.w;for(U[0]=D.K[0][0],k=1;k<1*B;++k)U[k]=P(H[V+k],U[k-1]);for(;k<4*j;++k)U[k]=0;D.K[0]=null,D.K[0]=U,N=1}}M=N;break;case 2:break;default:t(0)}c=M}}if(h=h[0],f=f[0],c&&v(m,1)&&!(c=1<=(_=v(m,4))&&11>=_)){s.a=3;break e}var Y;if(Y=c)t:{var W,Q,z,q=s,G=h,K=f,X=_,$=n,Z=q.m,J=q.s,ee=[null],te=1,re=0,ne=Jn[X];r:for(;;){if($&&v(Z,1)){var ie=v(Z,3)+2,ae=F(G,ie),oe=F(K,ie),se=ae*oe;if(!Oe(ae,oe,0,q,ee))break r;for(ee=ee[0],J.xc=ie,W=0;W<se;++W){var le=ee[W]>>8&65535;ee[W]=le,le>=te&&(te=le+1)}}if(Z.h)break r;for(Q=0;5>Q;++Q){var ce=Kn[Q];!Q&&0<X&&(ce+=1<<X),re<ce&&(re=ce)}var ue=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==ue){q.a=1;break r}var me=ue;for(W=z=0;W<te;++W){var Ae=pe[W],ge=Ae.G,_e=Ae.H,be=0,we=1,ye=0;for(Q=0;5>Q;++Q){ce=Kn[Q],ge[Q]=me,_e[Q]=z,!Q&&0<X&&(ce+=1<<X);n:{var Ee,Ce=ce,Se=q,Te=fe,Ne=me,Re=z,Le=0,Ie=Se.m,ke=v(Ie,1);if(i(Te,0,0,Ce),ke){var Be=v(Ie,1)+1,De=v(Ie,1),Fe=v(Ie,0==De?1:8);Te[Fe]=1,2==Be&&(Te[Fe=v(Ie,8)]=1);var Pe=1}else{var je=a(19),Ue=v(Ie,4)+4;if(19<Ue){Se.a=3;var He=0;break n}for(Ee=0;Ee<Ue;++Ee)je[$n[Ee]]=v(Ie,3);var Ve=void 0,Ye=void 0,We=Se,Qe=je,ze=Ce,qe=Te,Ge=0,Ke=We.m,Xe=8,$e=o(128,d);i:for(;u($e,0,7,Qe,19);){if(v(Ke,1)){var Ze=2+2*v(Ke,3);if((Ve=2+v(Ke,Ze))>ze)break i}else Ve=ze;for(Ye=0;Ye<ze&&Ve--;){S(Ke);var Je=$e[0+(127&y(Ke))];C(Ke,Ke.u+Je.g);var et=Je.value;if(16>et)qe[Ye++]=et,0!=et&&(Xe=et);else{var tt=16==et,rt=et-16,nt=Gn[rt],it=v(Ke,qn[rt])+nt;if(Ye+it>ze)break i;for(var at=tt?Xe:0;0<it--;)qe[Ye++]=at}}Ge=1;break i}Ge||(We.a=3),Pe=Ge}(Pe=Pe&&!Ie.h)&&(Le=u(Ne,Re,8,Te,Ce)),Pe&&0!=Le?He=Le:(Se.a=3,He=0)}if(0==He)break r;if(we&&1==Xn[Q]&&(we=0==me[z].g),be+=me[z].g,z+=He,3>=Q){var ot,st=fe[0];for(ot=1;ot<ce;++ot)fe[ot]>st&&(st=fe[ot]);ye+=st}}if(Ae.nd=we,Ae.Qb=0,we&&(Ae.qb=(ge[3][_e[3]+0].value<<24|ge[1][_e[1]+0].value<<16|ge[2][_e[2]+0].value)>>>0,0==be&&256>ge[0][_e[0]+0].value&&(Ae.Qb=1,Ae.qb+=ge[0][_e[0]+0].value<<8)),Ae.jc=!Ae.Qb&&6>ye,Ae.jc){var lt,ct=Ae;for(lt=0;lt<Pr;++lt){var ut=lt,dt=ct.pd[ut],ht=ct.G[0][ct.H[0]+ut];256<=ht.value?(dt.g=ht.g+256,dt.value=ht.value):(dt.g=0,dt.value=0,ut>>=ve(ht,8,dt),ut>>=ve(ct.G[1][ct.H[1]+ut],16,dt),ut>>=ve(ct.G[2][ct.H[2]+ut],0,dt),ve(ct.G[3][ct.H[3]+ut],24,dt))}}}J.vc=ee,J.Wb=te,J.Ya=pe,J.yc=ue,Y=1;break t}Y=0}if(!(c=Y)){s.a=3;break e}if(0<_){if(A.ua=1<<_,!I(A.Wa,_)){s.a=1,c=0;break e}}else A.ua=0;var pt=s,ft=h,mt=f,At=pt.s,gt=At.xc;if(pt.c=ft,pt.i=mt,At.md=F(ft,gt),At.wc=0==gt?-1:(1<<gt)-1,n){s.xb=fi;break e}if(null==(g=a(h*f))){s.a=1,c=0;break e}c=(c=Me(s,g,0,h,f,f,null))&&!m.h;break e}return c?(null!=l?l[0]=g:(t(null==g),t(n)),s.$=0,n||xe(A)):xe(A),c}function Ne(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,c=e.l.width,u=c*s,d=l.ca,h=l.tb+c*n,p=e.Ta,f=e.Ua;we(e,s,a,o),Mn(p,f,d,h,u),Ce(l,n,n+s,d,h,c),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 Ie(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ke(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Be(){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 De(){this.jb=a(3),this.Wc=s([4,8],Be),this.Xc=s([4,17],Be)}function Fe(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Pe(){this.ld=this.La=this.dd=this.tc=0}function je(){this.Na=this.la=0}function Ue(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function He(){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 Pe),this.Y=0,this.ya=Array(new He),this.aa=0,this.l=new ze}function Ye(){this.y=a(16),this.f=a(8),this.ea=a(8)}function We(){this.cb=this.a=0,this.sc="",this.m=new b,this.Od=new Le,this.Kc=new Ie,this.ed=new Fe,this.Qa=new ke,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,b),this.ia=0,this.pb=o(4,Ue),this.Pa=new De,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 je),this.sb=0,this.wa=Array(new Pe),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 He),this.L=this.aa=0,this.gd=s([4,2],Pe),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 Qe(e,t){return 0>e?0:e>t?t:e}function ze(){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 qe(){var e=new We;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ni||(ni=$e)),e}function Ge(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function Ke(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Xe(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return Ge(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,a=r.w,o=r.ha;if(4>o)return Ge(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 Ge(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Ge(e,4,"Frame not displayable.");a+=3,o-=3;var c=e.Kc;if(l.Rb){if(7>o)return Ge(e,7,"cannot parse picture header");if(!Ke(n,a,o))return Ge(e,3,"Bad code word");c.c=16383&(n[a+4]<<8|n[a+3]),c.Td=n[a+4]>>6,c.i=16383&(n[a+6]<<8|n[a+5]),c.Ud=n[a+6]>>6,a+=7,o-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,r.width=c.c,r.height=c.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 Ge(e,7,"bad partition length");f(s=e.m,n,a,l.ub),a+=l.ub,o-=l.ub,l.Rb&&(c.Ld=x(s),c.Kd=x(s)),c=e.Qa;var u,d=e.Pa;if(t(null!=s),t(null!=c),c.Cb=x(s),c.Cb){if(c.Bb=x(s),x(s)){for(c.Fb=x(s),u=0;4>u;++u)c.Zb[u]=x(s)?A(s,7):0;for(u=0;4>u;++u)c.Lb[u]=x(s)?A(s,6):0}if(c.Bb)for(u=0;3>u;++u)d.jb[u]=x(s)?m(s,8):255}else c.Bb=0;if(s.Ka)return Ge(e,3,"cannot parse segment header");if((c=e.ed).zd=x(s),c.Tb=m(s,6),c.wb=m(s,3),c.Pc=x(s),c.Pc&&x(s)){for(d=0;4>d;++d)x(s)&&(c.vd[d]=A(s,6));for(d=0;4>d;++d)x(s)&&(c.od[d]=A(s,6))}if(e.L=0==c.Tb?0:c.zd?1:2,s.Ka)return Ge(e,3,"cannot parse filter header");var h=o;if(o=u=a,a=u+h,c=h,e.Xb=(1<<m(e.m,2))-1,h<3*(d=e.Xb))n=7;else{for(u+=3*d,c-=3*d,h=0;h<d;++h){var p=n[o+0]|n[o+1]<<8|n[o+2]<<16;p>c&&(p=c),f(e.Jc[+h],n,u,p),u+=p,c-=p,o+=3}f(e.Jc[+d],n,u,c),n=u<a?0:5}if(0!=n)return Ge(e,n,"cannot parse partitions");for(n=m(u=e.m,7),o=x(u)?A(u,4):0,a=x(u)?A(u,4):0,c=x(u)?A(u,4):0,d=x(u)?A(u,4):0,u=x(u)?A(u,4):0,h=e.Qa,p=0;4>p;++p){if(h.Cb){var g=h.Zb[p];h.Fb||(g+=n)}else{if(0<p){e.pb[p]=e.pb[0];continue}g=n}var _=e.pb[p];_.Sc[0]=ti[Qe(g+o,127)],_.Sc[1]=ri[Qe(g+0,127)],_.Eb[0]=2*ti[Qe(g+a,127)],_.Eb[1]=101581*ri[Qe(g+c,127)]>>16,8>_.Eb[1]&&(_.Eb[1]=8),_.Qc[0]=ti[Qe(g+d,117)],_.Qc[1]=ri[Qe(g+u,127)],_.lc=g+u}if(!l.Rb)return Ge(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(c=0;11>c;++c)d=T(s,ci[n][o][a][c])?m(s,8):si[n][o][a][c],l.Wc[n][o].Yb[a][c]=d;for(o=0;17>o;++o)l.Xc[n][o]=l.Wc[n][ui[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(!T(e,s[r+0]))return i;for(;!T(e,s[r+1]);)if(s=t[++i].Yb[0],r=0,16==i)return 16;var l=t[i+1].Yb;if(T(e,s[r+2])){var c=e,u=0;if(T(c,(h=s)[(d=r)+3]))if(T(c,h[d+6])){for(s=0,d=2*(u=T(c,h[d+8]))+(h=T(c,h[d+9+u])),u=0,h=ii[d];h[s];++s)u+=u+T(c,h[s]);u+=3+(8<<d)}else T(c,h[d+7])?(u=7+2*T(c,165),u+=T(c,145)):u=5+T(c,159);else u=T(c,h[d+4])?3+T(c,h[d+5]):2;s=l[2]}else u=1,s=l[1];l=o+ai[i],0>(c=e).b&&M(c);var d,h=c.b,p=(d=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=p,c.Ca|=1,c.I-=(d+1&p)<<h,a[l]=((u^p)-p)*n[(0<i)+0]}return 16}function Ze(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 Je(e,r){if(null==e)return 0;if(null==r)return Ge(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Xe(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var s=ji[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 c;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var d=e.gd[s][c],h=u;if(l.Pc&&(h+=l.vd[0],c&&(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=c}}}s=0}else Ge(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Hi);e:{s=e.Ic,l=4*(p=e.za);var f=32*p,m=p+1,A=0<e.L?p*(0<e.Aa?2:1):0,g=(2==e.Aa?2:1)*p;if((d=l+832+(c=3*(16*s+ji[e.L])/2*f)+(u=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=Ge(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,je),e.sb=1,e.wa=A?o(A,Pe):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(g,He),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=ji[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+=c,e.mb=u?d:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Ze(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)Tn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)On[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Nn[255+s]=0>s?0:255<s?255:s;Rn=1}an=ct,on=at,ln=ot,cn=st,un=lt,sn=it,dn=Gt,hn=Kt,pn=Zt,fn=Jt,mn=Xt,An=$t,gn=er,_n=tr,vn=Vt,bn=Yt,wn=Wt,yn=Qt,hi[0]=Ct,hi[1]=dt,hi[2]=yt,hi[3]=Et,hi[4]=St,hi[5]=xt,hi[6]=Mt,hi[7]=Tt,hi[8]=Nt,hi[9]=Ot,di[0]=gt,di[1]=pt,di[2]=ft,di[3]=mt,di[4]=_t,di[5]=vt,di[6]=bt,pi[0]=kt,pi[1]=ht,pi[2]=Rt,pi[3]=Lt,pi[4]=Dt,pi[5]=Bt,pi[6]=Ft,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,c=e;for(o=0;o<c.za;++o){var u=l,d=c,h=d.Ac,p=d.Bc+4*o,f=d.zc,m=d.ya[d.aa+o];if(d.Qa.Bb?m.$b=T(u,d.Pa.jb[0])?2+T(u,d.Pa.jb[2]):T(u,d.Pa.jb[1]):m.$b=0,d.kc&&(m.Ad=T(u,d.Bd)),m.Za=!T(u,145)+0,m.Za){var A=m.Ob,g=0;for(d=0;4>d;++d){var _,v=f[0+d];for(_=0;4>_;++_){v=li[h[p+_]][v];for(var b=oi[T(u,v[0])];0<b;)b=oi[2*b+T(u,v[b])];v=-b,h[p+_]=v}n(A,g,h,p,4),g+=4,f[0+d]=v}}else v=T(u,156)?T(u,128)?1:3:T(u,163)?2:0,m.Ob[0]=v,i(h,p,v,4),i(f,0,v,4);m.Dd=T(u,142)?T(u,114)?T(u,183)?1:3:2:0}if(c.m.Ka)return Ge(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(c=s,u=(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)u.la=h.la=0,o.Za||(u.Na=h.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var w,y;if(u=h,h=c,p=l.Pa.Xc,f=l.ya[l.aa+l.ja],m=l.pb[f.$b],d=f.ad,A=0,g=l.rb[l.sb-1],v=_=0,i(d,A,0,384),f.Za)var E=0,C=p[3];else{b=a(16);var S=u.Na+g.Na;if(S=ni(h,p[1],S,m.Eb,0,b,0),u.Na=g.Na=(0<S)+0,1<S)an(b,0,d,A);else{var M=b[0]+3>>3;for(b=0;256>b;b+=16)d[A+b]=M}E=1,C=p[0]}var x=15&u.la,O=15&g.la;for(b=0;4>b;++b){var N=1&O;for(M=y=0;4>M;++M)x=x>>1|(N=(S=ni(h,C,S=N+(1&x),m.Sc,E,d,A))>E)<<7,y=y<<2|(3<S?3:1<S?2:0!=d[A+0]),A+=16;x>>=4,O=O>>1|N<<7,_=(_<<8|y)>>>0}for(C=x,E=O>>4,w=0;4>w;w+=2){for(y=0,x=u.la>>4+w,O=g.la>>4+w,b=0;2>b;++b){for(N=1&O,M=0;2>M;++M)S=N+(1&x),x=x>>1|(N=0<(S=ni(h,p[2],S,m.Qc,0,d,A)))<<3,y=y<<2|(3<S?3:1<S?2:0!=d[A+0]),A+=16;x>>=2,O=O>>1|N<<5}v|=y<<4*w,C|=x<<4<<w,E|=(240&O)<<w}u.la=C,g.la=E,f.Hc=_,f.Gc=v,f.ia=43690&v?0:m.ia,p=!(_|v)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[o.$b][o.Za],l.wa[l.Y+l.ja].La|=!p),c.Ka)return Ge(e,7,"Premature end-of-file encountered.")}if(Ze(e),l=r,c=1,o=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(o.M=s.M,o.uc=u,Ir(s,o),c=1,o=(y=s.D).Nb,u=(v=ji[s.L])*s.R,h=v/2*s.B,b=16*o*s.R,M=8*o*s.B,p=s.sa,f=s.ta-u+b,m=s.qa,d=s.ra-h+M,A=s.Ha,g=s.Ia-h+M,O=0==(x=y.M),_=x>=s.Va-1,2==s.Aa&&Ir(s,y),y.uc)for(N=(S=s).D.M,t(S.D.uc),y=S.yb;y<S.Hb;++y){E=y,C=N;var R=(L=(H=S).D).Nb;w=H.R;var L=L.wa[L.Y+E],I=H.sa,k=H.ta+16*R*w+16*E,B=L.dd,D=L.tc;if(0!=D)if(t(3<=D),1==H.L)0<E&&bn(I,k,w,D+4),L.La&&yn(I,k,w,D),0<C&&vn(I,k,w,D+4),L.La&&wn(I,k,w,D);else{var F=H.B,P=H.qa,j=H.ra+8*R*F+8*E,U=H.Ha,H=H.Ia+8*R*F+8*E;R=L.ld,0<E&&(hn(I,k,w,D+4,B,R),fn(P,j,U,H,F,D+4,B,R)),L.La&&(An(I,k,w,D,B,R),_n(P,j,U,H,F,D,B,R)),0<C&&(dn(I,k,w,D+4,B,R),pn(P,j,U,H,F,D+4,B,R)),L.La&&(mn(I,k,w,D,B,R),gn(P,j,U,H,F,D,B,R))}}if(s.ia&&alert("todo:DitherRow"),null!=l.put){if(y=16*x,x=16*(x+1),O?(l.y=s.sa,l.O=s.ta+b,l.f=s.qa,l.N=s.ra+M,l.ea=s.Ha,l.W=s.Ia+M):(y-=v,l.y=p,l.O=f,l.f=m,l.N=d,l.ea=A,l.W=g),_||(x-=v),x>l.o&&(x=l.o),l.F=null,l.J=null,null!=s.Fa&&0<s.Fa.length&&y<x&&(l.J=dr(s,l,y,x-y),l.F=s.mb,null==l.F&&0==l.F.length)){c=Ge(s,3,"Could not decode alpha data.");break e}y<l.j&&(v=l.j-y,y=l.j,t(!(1&v)),l.O+=s.R*v,l.N+=s.B*(v>>1),l.W+=s.B*(v>>1),null!=l.F&&(l.J+=l.width*v)),y<x&&(l.O+=l.v,l.N+=l.v>>1,l.W+=l.v>>1,null!=l.F&&(l.J+=l.v),l.ka=y-l.j,l.U=l.va-l.v,l.T=x-y,c=l.put(l))}o+1!=s.Ic||_||(n(s.sa,s.ta-u,p,f+16*s.R,u),n(s.qa,s.ra-h,m,d+8*s.B,h),n(s.Ha,s.Ia-h,A,g+8*s.B,h))}if(!c)return Ge(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],c=e[t+0]-e[t+8],u=(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]=c+u,s[o+2]=c-u,s[o+3]=l-d,o+=4,t++}for(i=o=0;4>i;++i)l=(e=s[o+0]+4)+s[o+8],c=e-s[o+8],u=(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,c+u),et(r,n,2,0,c-u),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]&&cn(e,t+0,r,n),e[t+16]&&cn(e,t+16,r,n+4),e[t+32]&&cn(e,t+32,r,n+128),e[t+48]&&cn(e,t+48,r,n+128+4)}function ct(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],c=e[t+4+i]-e[t+8+i],u=e[t+0+i]-e[t+12+i];o[0+i]=s+l,o[8+i]=s-l,o[4+i]=u+c,o[12+i]=u-c}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],c=o[1+4*i]-o[2+4*i],u=e-o[3+4*i],r[n+0]=s+l>>3,r[n+16]=u+c>>3,r[n+32]=s-l>>3,r[n+48]=u-c>>3,n+=64}function ut(e,t,r){var n,i=t-32,a=kn,o=255-e[i-1];for(n=0;n<r;++n){var s,l=a,c=o+e[t-1];for(s=0;s<r;++s)e[t+s]=l[c+e[i+s]];t+=32}}function dt(e,t){ut(e,t,4)}function ht(e,t){ut(e,t,8)}function pt(e,t){ut(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 At(e,t,r){var n;for(n=0;16>n;++n)i(t,r+32*n,e,16)}function gt(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];At(n>>5,e,t)}function _t(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];At(n>>4,e,t)}function vt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];At(n>>4,e,t)}function bt(e,t){At(128,e,t)}function wt(e,t,r){return e+2*t+r+2>>2}function yt(e,t){var r,i=t-32;for(i=new Uint8Array([wt(e[i-1],e[i+0],e[i+1]),wt(e[i+0],e[i+1],e[i+2]),wt(e[i+1],e[i+2],e[i+3]),wt(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];O(e,t+0,16843009*wt(e[t-1-32],r,n)),O(e,t+32,16843009*wt(r,n,i)),O(e,t+64,16843009*wt(n,i,a)),O(e,t+96,16843009*wt(i,a,a))}function Ct(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 St(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],c=e[t+3-32];e[t+0+96]=wt(n,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=wt(r,n,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=wt(a,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=wt(o,a,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=wt(s,o,a),e[t+3+32]=e[t+2+0]=wt(l,s,o),e[t+3+0]=wt(c,l,s)}function Mt(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]=wt(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=wt(r,n,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=wt(n,i,a),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=wt(i,a,o),e[t+3+32]=e[t+2+64]=e[t+1+96]=wt(a,o,s),e[t+3+64]=e[t+2+96]=wt(o,s,l),e[t+3+96]=wt(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],c=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+c+1>>1,e[t+0+96]=wt(i,n,r),e[t+0+64]=wt(n,r,a),e[t+0+32]=e[t+1+96]=wt(r,a,o),e[t+1+32]=e[t+2+96]=wt(a,o,s),e[t+2+32]=e[t+3+96]=wt(o,s,l),e[t+3+32]=wt(s,l,c)}function Tt(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],c=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]=wt(r,n,i),e[t+1+32]=e[t+0+96]=wt(n,i,a),e[t+2+32]=e[t+1+96]=wt(i,a,o),e[t+3+32]=e[t+2+96]=wt(a,o,s),e[t+3+64]=wt(o,s,l),e[t+3+96]=wt(s,l,c)}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];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]=wt(r,n,i),e[t+3+0]=e[t+1+32]=wt(n,i,a),e[t+3+32]=e[t+1+64]=wt(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 Nt(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],c=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]=wt(s,l,c),e[t+2+0]=wt(o,s,l),e[t+1+0]=e[t+3+32]=wt(r,o,s),e[t+1+32]=e[t+3+64]=wt(n,r,o),e[t+1+64]=e[t+3+96]=wt(i,n,r),e[t+1+96]=wt(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 It(e,t,r){var n;for(n=0;8>n;++n)i(t,r+32*n,e,8)}function kt(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];It(n>>4,e,t)}function Bt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];It(n>>3,e,t)}function Dt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];It(n>>3,e,t)}function Ft(e,t){It(128,e,t)}function Pt(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=In[112+(a+4>>3)];e[t-r]=kn[255+n+In[112+(a+3>>3)]],e[t+0]=kn[255+i-o]}function jt(e,t,r,n){var i=e[t+0],a=e[t+r];return Bn[255+e[t-2*r]-e[t-r]]>n||Bn[255+a-i]>n}function Ut(e,t,r,n){return 4*Bn[255+e[t-r]-e[t+0]]+Bn[255+e[t-2*r]-e[t+r]]<=n}function Ht(e,t,r,n,i){var a=e[t-3*r],o=e[t-2*r],s=e[t-r],l=e[t+0],c=e[t+r],u=e[t+2*r],d=e[t+3*r];return 4*Bn[255+s-l]+Bn[255+o-c]>n?0:Bn[255+e[t-4*r]-a]<=i&&Bn[255+a-o]<=i&&Bn[255+o-s]<=i&&Bn[255+d-u]<=i&&Bn[255+u-c]<=i&&Bn[255+c-l]<=i}function Vt(e,t,r,n){var i=2*n+1;for(n=0;16>n;++n)Ut(e,t+n,r,i)&&Pt(e,t+n,r)}function Yt(e,t,r,n){var i=2*n+1;for(n=0;16>n;++n)Ut(e,t+n*r,1,i)&&Pt(e,t+n*r,1)}function Wt(e,t,r,n){var i;for(i=3;0<i;--i)Vt(e,t+=4*r,r,n)}function Qt(e,t,r,n){var i;for(i=3;0<i;--i)Yt(e,t+=4,r,n)}function zt(e,t,r,n,i,a,o,s){for(a=2*a+1;0<i--;){if(Ht(e,t,r,a,o))if(jt(e,t,r,s))Pt(e,t,r);else{var l=e,c=t,u=r,d=l[c-2*u],h=l[c-u],p=l[c+0],f=l[c+u],m=l[c+2*u],A=27*(_=Ln[1020+3*(p-h)+Ln[1020+d-f]])+63>>7,g=18*_+63>>7,_=9*_+63>>7;l[c-3*u]=kn[255+l[c-3*u]+_],l[c-2*u]=kn[255+d+g],l[c-u]=kn[255+h+A],l[c+0]=kn[255+p-A],l[c+u]=kn[255+f-g],l[c+2*u]=kn[255+m-_]}t+=n}}function qt(e,t,r,n,i,a,o,s){for(a=2*a+1;0<i--;){if(Ht(e,t,r,a,o))if(jt(e,t,r,s))Pt(e,t,r);else{var l=e,c=t,u=r,d=l[c-u],h=l[c+0],p=l[c+u],f=In[112+(4+(m=3*(h-d))>>3)],m=In[112+(m+3>>3)],A=f+1>>1;l[c-2*u]=kn[255+l[c-2*u]+A],l[c-u]=kn[255+d+m],l[c+0]=kn[255+h-f],l[c+u]=kn[255+p-A]}t+=n}}function Gt(e,t,r,n,i,a){zt(e,t,r,1,16,n,i,a)}function Kt(e,t,r,n,i,a){zt(e,t,1,r,16,n,i,a)}function Xt(e,t,r,n,i,a){var o;for(o=3;0<o;--o)qt(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)qt(e,t+=4,1,r,16,n,i,a)}function Zt(e,t,r,n,i,a,o,s){zt(e,t,i,1,8,a,o,s),zt(r,n,i,1,8,a,o,s)}function Jt(e,t,r,n,i,a,o,s){zt(e,t,1,i,8,a,o,s),zt(r,n,1,i,8,a,o,s)}function er(e,t,r,n,i,a,o,s){qt(e,t+4*i,i,1,8,a,o,s),qt(r,n+4*i,i,1,8,a,o,s)}function tr(e,t,r,n,i,a,o,s){qt(e,t+4,1,i,8,a,o,s),qt(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 B,this.vb=new B,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 ze,this.ca=new oe,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new w,this.Pb=0,this.wd=new w,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 ze,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 cr(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 ur(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],c=l,u=l;for(s=0;s<o;++s)c=u+(l=e[t+s])-c,u=r[n+s]+(-256&c?0>c?0:255:c)&255,c=l,i[a+s]=u}}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 c;if(e.ga=new sr,(c=null==e.ga)||(c=r.width*r.o,t(0==e.Gb.length),e.Gb=a(c),e.Uc=0,null==e.Gb?c=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,c=1),c=!c),!c){c=e.ga;var u=e.Fa,d=e.P,h=e.qc,p=e.mb,f=e.nb,m=d+1,A=h-1,_=c.l;if(t(null!=u&&null!=p&&null!=r),Ai[0]=null,Ai[1]=lr,Ai[2]=cr,Ai[3]=ur,c.ca=p,c.tb=f,c.c=r.width,c.i=r.height,t(0<c.c&&0<c.i),1>=h)r=0;else if(c.$a=u[d+0]>>0&3,c.Z=u[d+0]>>2&3,c.Lc=u[d+0]>>4&3,d=u[d+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||d)r=0;else if(_.put=pe,_.ac=he,_.bc=fe,_.ma=c,_.width=r.width,_.height=r.height,_.Da=r.Da,_.v=r.v,_.va=r.va,_.j=r.j,_.o=r.o,c.$a)e:{t(1==c.$a),r=Te();t:for(;;){if(null==r){r=0;break e}if(t(null!=c),c.mc=r,r.c=c.c,r.i=c.i,r.l=c.l,r.l.ma=c,r.l.width=c.c,r.l.height=c.i,r.a=0,g(r.m,u,m,A),!Oe(c.c,c.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&Ee(r.s)?(c.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=a(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(c.ic=0,r=Ne(r,c.c)),!r)break t;r=1;break e}c.mc=null,r=0}else r=A>=c.c*c.i;c=!r}if(c)return null;1!=e.ga.Lc?e.Ga=0:o=l-i}t(null!=e.ga),t(i+o<=l);e:{if(r=(u=e.ga).c,l=u.l.o,0==u.$a){if(m=e.rc,A=e.Vc,_=e.Fa,d=e.P+1+i*r,h=e.mb,p=e.nb+i*r,t(d<=e.P+e.qc),0!=u.Z)for(t(null!=Ai[u.Z]),c=0;c<o;++c)Ai[u.Z](m,A,_,d,h,p,r),m=h,A=p,p+=r,d+=r;else for(c=0;c<o;++c)n(h,p,_,d,r),m=h,A=p,p+=r,d+=r;e.rc=m,e.Vc=A}else{if(t(null!=u.mc),r=i+o,t(null!=(c=u.mc)),t(r<=c.i),c.C>=r)r=1;else if(u.ic||Ar(),u.ic){u=c.V,m=c.Ba,A=c.c;var v=c.i,b=(_=1,d=c.$/A,h=c.$%A,p=c.m,f=c.s,c.$),w=A*v,y=A*r,C=f.wc,M=b<y?be(f,h,d):null;t(b<=w),t(r<=v),t(Ee(f));t:for(;;){for(;!p.h&&b<y;){if(h&C||(M=be(f,h,d)),t(null!=M),S(p),256>(v=_e(M.G[0],M.H[0],p)))u[m+b]=v,++b,++h>=A&&(h=0,++d<=r&&!(d%16)&&Se(c,d));else{if(!(280>v)){_=0;break t}v=Ae(v-256,p);var x,T=_e(M.G[4],M.H[4],p);if(S(p),!(b>=(T=ge(A,T=Ae(T,p)))&&w-b>=v)){_=0;break t}for(x=0;x<v;++x)u[m+b+x]=u[m+b+x-T];for(b+=v,h+=v;h>=A;)h-=A,++d<=r&&!(d%16)&&Se(c,d);b<y&&h&C&&(M=be(f,h,d))}t(p.h==E(p))}Se(c,d>r?r:d);break t}!_||p.h&&b<w?(_=0,c.a=p.h?5:3):c.$=b,r=_}else r=Me(c,c.V,c.Ba,c.c,c.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),c=e,u=t+(r?0:3);for(o=0;o<n;++o){var d=c[u+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&(c=e[t+2*a+1]),l=4369*s,c=(240&c|c>>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&c|s}t+=i}}function fr(e,t,r,n,i,a,o,s){var l,c,u=255;for(c=0;c<i;++c){for(l=0;l<n;++l){var d=e[t+l];a[o+4*l]=d,u&=d}t+=r,o+=s}return 255!=u}function mr(e,t,r,n,i){var a;for(a=0;a<i;++a)r[n+a]=e[t+a]>>8}function Ar(){En=hr,Cn=pr,Sn=fr,Mn=mr}function gr(r,n,i){e[r]=function(e,r,a,o,s,l,c,u,d,h,p,f,m,A,g,_,v){var b,w=v-1>>1,y=s[l+0]|c[u+0]<<16,E=d[h+0]|p[f+0]<<16;t(null!=e);var C=3*y+E+131074>>2;for(n(e[r+0],255&C,C>>16,m,A),null!=a&&(C=3*E+y+131074>>2,n(a[o+0],255&C,C>>16,g,_)),b=1;b<=w;++b){var S=s[l+b]|c[u+b]<<16,M=d[h+b]|p[f+b]<<16,x=y+S+E+M+524296,T=x+2*(S+E)>>3;C=T+y>>1,y=(x=x+2*(y+M)>>3)+S>>1,n(e[r+2*b-1],255&C,C>>16,m,A+(2*b-1)*i),n(e[r+2*b-0],255&y,y>>16,m,A+(2*b-0)*i),null!=a&&(C=x+E>>1,y=T+M>>1,n(a[o+2*b-1],255&C,C>>16,g,_+(2*b-1)*i),n(a[o+2*b+0],255&y,y>>16,g,_+(2*b+0)*i)),y=S,E=M}1&v||(C=3*y+E+131074>>2,n(e[r+v-1],255&C,C>>16,m,A+(v-1)*i),null!=a&&(C=3*E+y+131074>>2,n(a[o+v-1],255&C,C>>16,g,_+(v-1)*i)))}}function _r(){gi[Dn]=_i,gi[Fn]=bi,gi[Pn]=vi,gi[jn]=wi,gi[Un]=yi,gi[Hn]=Ei,gi[Vn]=Ci,gi[Yn]=bi,gi[Wn]=wi,gi[Qn]=yi,gi[zn]=Ei}function vr(e){return e&~Ni?0>e?0:255:e>>Oi}function br(e,t){return vr((19077*e>>8)+(26149*t>>8)-14234)}function wr(e,t,r){return vr((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function yr(e,t){return vr((19077*e>>8)+(33050*t>>8)-17685)}function Er(e,t,r,n,i){n[i+0]=br(e,r),n[i+1]=wr(e,t,r),n[i+2]=yr(e,t)}function Cr(e,t,r,n,i){n[i+0]=yr(e,t),n[i+1]=wr(e,t,r),n[i+2]=br(e,r)}function Sr(e,t,r,n,i){var a=wr(e,t,r);t=a<<3&224|yr(e,t)>>3,n[i+0]=248&br(e,r)|a>>5,n[i+1]=t}function Mr(e,t,r,n,i){var a=240&yr(e,t)|15;n[i+0]=240&br(e,r)|wr(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 Tr(e,t,r,n,i){Cr(e,t,r,n,i),n[i+3]=255}function Or(e,t,r,n,i){Er(e,t,r,n,i),n[i+3]=255}function Qe(e,t){return 0>e?0:e>t?t:e}function Nr(t,r,n){e[t]=function(e,t,i,a,o,s,l,c,u){for(var d=c+(-2&u)*n;c!=d;)r(e[t+0],i[a+0],o[s+0],l,c),r(e[t+1],i[a+0],o[s+0],l,c+n),t+=2,++a,++s,c+=2*n;1&u&&r(e[t+0],i[a+0],o[s+0],l,c)}}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:cn(t,r,n,i)}}function Ir(e,t){var r,a,o=t.M,s=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,d=e.pc+584,h=e.oc,p=e.pc+600;for(r=0;16>r;++r)l[c+32*r-1]=129;for(r=0;8>r;++r)u[d+32*r-1]=129,h[p+32*r-1]=129;for(0<o?l[c-1-32]=u[d-1-32]=h[p-1-32]=129:(i(l,c-32-1,127,21),i(u,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,c+32*r-4,l,c+32*r+12,4);for(r=-1;8>r;++r)n(u,d+32*r-4,u,d+32*r+4,4),n(h,p+32*r-4,h,p+32*r+4,4)}var m=e.Gd,A=e.Hd+a,g=f.ad,_=f.Hc;if(0<o&&(n(l,c-32,m[A].y,0,16),n(u,d-32,m[A].f,0,8),n(h,p-32,m[A].ea,0,8)),f.Za){var v=l,b=c-32+16;for(0<o&&(a>=e.za-1?i(v,b,m[A].y[15],4):n(v,b,m[A+1].y,0,4)),r=0;4>r;r++)v[b+128+r]=v[b+256+r]=v[b+384+r]=v[b+0+r];for(r=0;16>r;++r,_<<=2)v=l,b=c+Pi[r],hi[f.Ob[r]](v,b),Lr(_,g,16*+r,v,b)}else if(v=Rr(a,o,f.Ob[0]),di[v](l,c),0!=_)for(r=0;16>r;++r,_<<=2)Lr(_,g,16*+r,l,c+Pi[r]);for(r=f.Gc,v=Rr(a,o,f.Dd),pi[v](u,d),pi[v](h,p),_=g,v=u,b=d,255&(f=r>>0)&&(170&f?ln(_,256,v,b):un(_,256,v,b)),f=h,_=p,255&(r>>=8)&&(170&r?ln(g,320,f,_):un(g,320,f,_)),o<e.Ub-1&&(n(m[A].y,0,l,c+480,16),n(m[A].f,0,u,d+224,8),n(m[A].ea,0,h,p+224,8)),r=8*s*e.B,m=e.sa,A=e.ta+16*a+16*s*e.R,g=e.qa,f=e.ra+8*a+r,_=e.Ha,v=e.Ia+8*a+r,r=0;16>r;++r)n(m,A+r*e.R,l,c+32*r,16);for(r=0;8>r;++r)n(g,f+r*e.B,u,d+32*r,8),n(_,v+r*e.B,h,p+32*r,8)}}function kr(e,n,i,a,o,s,l,c,u){var d=[0],h=[0],p=0,f=null!=u?u.kd:0,m=null!=u?u: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 A=n,_=i,v=m.gb;if(t(null!=e),t(null!=_),t(null!=v),v[0]=0,12<=_[0]&&!r(e,A[0],"RIFF")){if(r(e,A[0]+8,"WEBP")){v=3;break e}var b=L(e,A[0]+4);if(12>b||4294967286<b){v=3;break e}if(f&&b>_[0]-8){v=7;break e}v[0]=b,A[0]+=12,_[0]-=12}v=0}if(0!=v)return v;for(b=0<m.gb[0],i=i[0];;){e:{var y=e;_=n,v=i;var E=d,C=h,S=A=[0];if((T=p=[p])[0]=0,8>v[0])v=7;else{if(!r(y,_[0],"VP8X")){if(10!=L(y,_[0]+4)){v=3;break e}if(18>v[0]){v=7;break e}var M=L(y,_[0]+8),x=1+R(y,_[0]+12);if(2147483648<=x*(y=1+R(y,_[0]+15))){v=3;break e}null!=S&&(S[0]=M),null!=E&&(E[0]=x),null!=C&&(C[0]=y),_[0]+=18,v[0]-=18,T[0]=1}v=0}}if(p=p[0],A=A[0],0!=v)return v;if(_=!!(2&A),!b&&p)return 3;if(null!=s&&(s[0]=!!(16&A)),null!=l&&(l[0]=_),null!=c&&(c[0]=0),l=d[0],A=h[0],p&&_&&null==u){v=0;break}if(4>i){v=7;break}if(b&&p||!b&&!p&&!r(e,n[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];e:{M=e,v=n,b=i;var T=m.gb;E=m.na,C=m.P,S=m.Sa,x=22,t(null!=M),t(null!=b),y=v[0];var O=b[0];for(t(null!=E),t(null!=S),E[0]=null,C[0]=null,S[0]=0;;){if(v[0]=y,b[0]=O,8>O){v=7;break e}var N=L(M,y+4);if(4294967286<N){v=3;break e}var I=8+N+1&-2;if(x+=I,0<T&&x>T){v=3;break e}if(!r(M,y,"VP8 ")||!r(M,y,"VP8L")){v=0;break e}if(O[0]<I){v=7;break e}r(M,y,"ALPH")||(E[0]=M,C[0]=y+8,S[0]=N),y+=I,O-=I}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=v)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];e:if(T=e,v=n,b=i,E=m.gb[0],C=m.Ja,S=m.xa,M=v[0],y=!r(T,M,"VP8 "),x=!r(T,M,"VP8L"),t(null!=T),t(null!=b),t(null!=C),t(null!=S),8>b[0])v=7;else{if(y||x){if(T=L(T,M+4),12<=E&&T>E-12){v=3;break e}if(f&&T>b[0]-8){v=7;break e}C[0]=T,v[0]+=8,b[0]-=8,S[0]=x}else S[0]=5<=b[0]&&47==T[M+0]&&!(T[M+4]>>5),C[0]=b[0];v=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],n=n[0],0!=v)break;if(4294967286<m.Ja)return 3;if(null==c||_||(c[0]=m.xa?2:1),l=[l],A=[A],m.xa){if(5>i){v=7;break}c=l,f=A,_=s,null==e||5>i?e=0:5<=i&&47==e[n+0]&&!(e[n+4]>>5)?(b=[0],T=[0],E=[0],g(C=new w,e,n,i),me(C,b,T,E)?(null!=c&&(c[0]=b[0]),null!=f&&(f[0]=T[0]),null!=_&&(_[0]=E[0]),e=1):e=0):e=0}else{if(10>i){v=7;break}c=A,null==e||10>i||!Ke(e,n+3,i-3)?e=0:(f=e[n+0]|e[n+1]<<8|e[n+2]<<16,_=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||!_||!e?e=0:(l&&(l[0]=_),c&&(c[0]=e),e=1))}if(!e)return 3;if(l=l[0],A=A[0],p&&(d[0]!=l||h[0]!=A))return 3;null!=u&&(u[0]=m,u.offset=n-u.w,t(4294967286>n-u.w),t(u.offset==u.ha-i));break}return 0==v||7==v&&p&&null==u?(null!=s&&(s[0]|=null!=m.na&&0<m.na.length),null!=a&&(a[0]=l),null!=o&&(o[0]=A),0):v}function Br(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(!D(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 Dr(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 Fr(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(!D(e,t,i=[r.ib],o=[r.hb]))return 2;e=i[0],t=o[0]}}n.width=e,n.height=t;e:{var c=n.width,u=n.height;if(e=n.S,0>=c||0>=u||!(e>=Dn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){s=o=i=t=0;var d=(l=c*Vi[e])*u;if(11>e||(o=(u+1)/2*(t=(c+1)/2),12==e&&(s=(i=c)*u)),null==(u=a(d+2*o+s))){e=1;break e}n.sd=u,11>e?((c=n.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=d):((c=n.f.kb).y=u,c.O=0,c.fa=l,c.Fd=d,c.f=u,c.N=0+d,c.Ab=t,c.Cd=o,c.ea=u,c.W=0+d+o,c.Db=t,c.Ed=o,12==e&&(c.F=u,c.J=0+d+2*o),c.Tc=s,c.lb=i)}if(t=1,i=n.S,o=n.width,s=n.height,i>=Dn&&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,c=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),p=Math.abs(e.lb),f=p*(s-1)+o;t&=c*(s-1)+o<=e.Fd,t&=u*(d-1)+l<=e.Cd,t=(t&=h*(d-1)+l<=e.Ed)&c>=o&u>=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=Dr(n)),e}var Pr=64,jr=[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],Ur=24,Hr=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];j("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 H(H(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return H(e,t[r-1])},e.Predictor7=function(e,t,r){return H(e,t[r+0])},e.Predictor8=function(e,t,r){return H(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return H(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return H(H(e,t[r-1]),H(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=W(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+W(n>>16&255,e>>16&255,t>>16&255)+W(n>>8&255,e>>8&255,t>>8&255)+W(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=H(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 Wr=e.PredictorAdd0;e.PredictorAdd1=Q,j("Predictor2","PredictorAdd2"),j("Predictor3","PredictorAdd3"),j("Predictor4","PredictorAdd4"),j("Predictor5","PredictorAdd5"),j("Predictor6","PredictorAdd6"),j("Predictor7","PredictorAdd7"),j("Predictor8","PredictorAdd8"),j("Predictor9","PredictorAdd9"),j("Predictor10","PredictorAdd10"),j("Predictor11","PredictorAdd11"),j("Predictor12","PredictorAdd12"),j("Predictor13","PredictorAdd13");var Qr=e.PredictorAdd2;K("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),K("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var zr,qr=e.ColorIndexInverseTransform,Gr=e.MapARGB,Kr=e.VP8LColorIndexInverseTransformAlpha,Xr=e.MapAlpha,$r=e.VP8LPredictorsAdd=[];$r.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Zr,Jr,en,tn,rn,nn,an,on,sn,ln,cn,un,dn,hn,pn,fn,mn,An,gn,_n,vn,bn,wn,yn,En,Cn,Sn,Mn,xn=a(511),Tn=a(2041),On=a(225),Nn=a(767),Rn=0,Ln=Tn,In=On,kn=Nn,Bn=xn,Dn=0,Fn=1,Pn=2,jn=3,Un=4,Hn=5,Vn=6,Yn=7,Wn=8,Qn=9,zn=10,qn=[2,3,7],Gn=[3,3,11],Kn=[280,256,256,256,40],Xn=[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],Zn=[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],Jn=[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]]],ci=[[[[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]]]],ui=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],di=[],hi=[],pi=[],fi=1,mi=2,Ai=[],gi=[];gr("UpsampleRgbLinePair",Er,3),gr("UpsampleBgrLinePair",Cr,3),gr("UpsampleRgbaLinePair",Or,4),gr("UpsampleBgraLinePair",Tr,4),gr("UpsampleArgbLinePair",xr,4),gr("UpsampleRgba4444LinePair",Mr,2),gr("UpsampleRgb565LinePair",Sr,2);var _i=e.UpsampleRgbLinePair,vi=e.UpsampleBgrLinePair,bi=e.UpsampleRgbaLinePair,wi=e.UpsampleBgraLinePair,yi=e.UpsampleArgbLinePair,Ei=e.UpsampleRgba4444LinePair,Ci=e.UpsampleRgb565LinePair,Si=16,Mi=1<<Si-1,xi=-227,Ti=482,Oi=6,Ni=(256<<Oi)-1,Ri=0,Li=a(256),Ii=a(256),ki=a(256),Bi=a(256),Di=a(Ti-xi),Fi=a(Ti-xi);Nr("YuvToRgbRow",Er,3),Nr("YuvToBgrRow",Cr,3),Nr("YuvToRgbaRow",Or,4),Nr("YuvToBgraRow",Tr,4),Nr("YuvToArgbRow",xr,4),Nr("YuvToRgba4444Row",Mr,2),Nr("YuvToRgb565Row",Sr,2);var Pi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ji=[0,2,8],Ui=[8,7,6,4,4,2,2,2,1,1,1,1],Hi=1;this.WebPDecodeRGBA=function(e,r,n,i,a){var o=Fn,s=new rr,l=new oe;s.ba=l,l.S=o,l.width=[l.width],l.height=[l.height];var c=l.width,u=l.height,d=new se;if(null==d||null==e)var h=2;else t(null!=d),h=kr(e,r,n,d.width,d.height,d.Pd,d.Qd,d.format,null);if(0!=h?c=0:(null!=c&&(c[0]=d.width[0]),null!=u&&(u[0]=d.height[0]),c=1),c){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 ze,(a=new nr).data=e,a.w=r,a.ha=n,a.kd=1,r=[0],t(null!=a),(0==(e=kr(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=Te())){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,g(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],!Oe(n[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(r=Fr(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),!Br(a.Oa,n,jn)){i.a=2;break r}if(!Ne(i,n.width))break r;if(n.da)break r;if((n.da||ne(i.ca.S))&&Ar(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&Ar()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!I(i.s.vb,i.s.Wa.Xa)){i.a=1;break r}i.xb=0}if(!Me(i,i.V,i.Ba,i.c,i.i,n.o,ye))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 qe)){s=1;break e}if(e.Fa=a.na,e.P=a.P,e.qc=a.Sa,Xe(e,i)){if(0==(r=Fr(i.width,i.height,s.Oa,s.ba))){if(e.Aa=0,n=s.Oa,t(null!=(a=e)),null!=n){if(0<(c=0>(c=n.Md)?0:100<c?255:255*c/100)){for(u=d=0;4>u;++u)12>(h=a.pb[u]).lc&&(h.ia=c*Ui[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)}Je(e,i)||(r=e.a)}}else r=e.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Dr(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 c(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}function u(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,A=e,g=function(e,t){var r={},n=0,i=!1,a=0,o=0;if(r.frames=[],!
  387. /** @license
  388. * Copyright (c) 2017 Dominik Homberger
  389. 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:
  390. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  391. 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.
  392. https://webpjs.appspot.com
  393. WebPRiffParser dominikhlbg@gmail.com
  394. */
  395. 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=c(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]={}),(g=r.frames[n]).src_off=i?o:t-8,g.src_size=a+p+8,n++,i&&(i=!1,a=0,o=0);break;case"VP8X":(g=r.header={}).feature_flags=e[t];var m=t+4;g.canvas_width=1+u(e,m),m+=3,g.canvas_height=1+u(e,m),m+=3;break;case"ALPH":i=!0,a=f+8,o=t-8;break;case"ANIM":(g=r.header).bgcolor=d(e,t),m=t+4,g.loop_count=(s=e)[(l=m)+0]<<0|s[l+1]<<8,m+=2;break;case"ANMF":var A,g;(g=r.frames[n]={}).offset_x=2*u(e,t),t+=3,g.offset_y=2*u(e,t),t+=3,g.width=1+u(e,t),t+=3,g.height=1+u(e,t),t+=3,g.duration=u(e,t),t+=3,A=e[t++],g.dispose=1&A,g.blend=A>>1&1}"ANMF"!=h&&(t+=f)}return r}}(A,0);g.response=A,g.rgbaoutput=!0,g.dataurl=!1;var _=g.header?g.header:null,v=g.frames?g.frames:null;if(_){_.loop_counter=_.loop_count,h=[_.canvas_height],p=[_.canvas_width];for(var b=0;b<v.length&&0!=v[b].blend;b++);}var w=v[0],y=m.WebPDecodeRGBA(A,w.src_off,w.src_size,p,h);w.rgba=y,w.imgwidth=p[0],w.imgheight=h[0];for(var E=0;E<p[0]*h[0]*4;E++)f[E]=y[E];return this.width=p,this.height=h,this.data=f,this}!function(e){var t=function(){return"function"==typeof a["b"]},r=function(t,r,i,u){var d=4,h=s;switch(u){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=c}t=n(t,r,i,h);var p=Object(a["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),c=d(),u=0;u<s;u+=1){if(o=u*t,i=e.subarray(o,o+t),n)l.set(n(i,r,a),o+u);else{for(var p,f=c.length,m=[];p<f;p+=1)m[p]=c[p](i,r,a);var A=h(m.concat());l.set(m[A],o+u)}a=i}return l},i=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},c=function(e,t,r){var n,i,a,o,s=[],l=e.length;s[0]=4;for(var c=0;c<l;c+=1)n=e[c-t]||0,i=r&&r[c]||0,a=r&&r[c-t]||0,o=u(n,i,a),s[c+1]=e[c]-o+256&255;return s},u=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[i,o,s,l,c]},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,c,u,d,h,p,f,m,A,g,_,v,b,w,y=this.decode.FLATE_DECODE,E="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(c=new Ze(n)).imgData,l=c.bits,s=c.colorSpace,d=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){m=(f=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,g=new Uint8Array(m*c.colors),A=new Uint8Array(m);var C,S=c.pixelBitlength-c.bits;for(b=0,w=0;b<m;b++){for(v=f[b],C=0;C<S;)g[w++]=v>>>C&255,C+=c.bits;A[b]=v>>>C&255}}if(16===c.bits){m=(f=new Uint32Array(c.decodePixels().buffer)).length,g=new Uint8Array(m*(32/c.pixelBitlength)*c.colors),A=new Uint8Array(m*(32/c.pixelBitlength)),_=c.colors>1,b=0,w=0;for(var M=0;b<m;)v=f[b++],g[w++]=v>>>0&255,_&&(g[w++]=v>>>16&255,v=f[b++],g[w++]=v>>>0&255),A[M++]=v>>>16&255;l=8}o!==e.image_compression.NONE&&t()?(n=r(g,c.width*c.colors,c.colors,o),p=r(A,c.width,1,o)):(n=g,p=A,y=void 0)}if(3===c.colorType&&(s=this.color_spaces.INDEXED,h=c.palette,c.transparency.indexed)){var x=c.transparency.indexed,T=0;for(b=0,m=x.length;b<m;++b)T+=x[b];if((T/=255)===m-1&&-1!==x.indexOf(0))u=[x.indexOf(0)];else if(T!==m){for(f=c.decodePixels(),A=new Uint8Array(f.length),b=0,m=f.length;b<m;b++)A[b]=x[f[b]];p=r(A,c.width,1)}}var O=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 y===this.decode.FLATE_DECODE&&(E="/Predictor "+O+" "),E+="/Colors "+d+" /BitsPerComponent "+l+" /Columns "+c.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:y,decodeParameters:E,transparency:u,palette:h,sMask:p,predictor:O,width:c.width,height:c.height,bitsPerComponent:l,colorSpace:s}}}}(j.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 c={data:l,width:o,height:s},u=new tt(100).encode(c,100);return e.processJPEG.call(this,u,r,n,i)},e.processGIF87A=e.processGIF89A}(j.API),rt.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)},rt.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){l.log("bit decode error:"+e)}},rt.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)}},rt.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,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}0!==t&&(this.pos+=4-t)}},rt.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)}},rt.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,c=a>>15?255:0,u=n*this.width*4+4*i;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=o,this.data[u+3]=c}this.pos+=e}},rt.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,c=(o>>11)/t*255|0,u=i*this.width*4+4*a;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},rt.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}},rt.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}},rt.prototype.getData=function(){return this.data},
  396. /**
  397. * @license
  398. * Copyright (c) 2018 Aras Abbasi
  399. *
  400. * Licensed under the MIT License.
  401. * http://opensource.org/licenses/mit-license
  402. */
  403. function(e){e.processBMP=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},c=new tt(100).encode(l,100);return e.processJPEG.call(this,c,r,n,i)}}(j.API),nt.prototype.getData=function(){return this.data},
  404. /**
  405. * @license
  406. * Copyright (c) 2019 Aras Abbasi
  407. *
  408. * Licensed under the MIT License.
  409. * http://opensource.org/licenses/mit-license
  410. */
  411. function(e){e.processWEBP=function(t,r,n,i){var a=new nt(t,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new tt(100).encode(l,100);return e.processJPEG.call(this,c,r,n,i)}}(j.API),j.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,c=0;c<i;c+=4){var u=n[c],d=n[c+1],h=n[c+2],p=n[c+3];a[s++]=u,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}},j.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=j.API,Ge=qe.getCharWidthsArray=function(e,t){var r,n,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,c=l.fof?l.fof:1,u=t.kerning?t.kerning:a.metadata.Unicode.kerning,d=u.fof?u.fof:1,h=!1!==t.doKerning,p=0,f=e.length,m=0,A=l[0]||c,g=[];for(r=0;r<f;r++)n=e.charCodeAt(r),"function"==typeof a.metadata.widthOfString?g.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(n))+s*(1e3/o)||0)/1e3):(p=h&&"object"===i()(u[n])&&!isNaN(parseInt(u[n][m],10))?u[n][m]/d:0,g.push((l[n]||A)/c+p)),m=n;return g},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},$e=function(e,t,r){r||(r={});var n,i,a,o,s,l,c,u=[],d=[u],h=r.textIndent||0,p=0,f=0,m=e.split(" "),A=Ge.apply(this,[" ",r])[0];if(l=-1===r.lineIndent?m[0].length+2:r.lineIndent||0){var g=Array(l).join(" "),_=[];m.map((function(e){(e=e.split(/\s*\n/)).length>1?_=_.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):_.push(e[0])})),m=_,l=Ke.apply(this,[g,r])}for(a=0,o=m.length;a<o;a++){var v=0;if(n=m[a],l&&"\n"==n[0]&&(n=n.substr(1),v=1),h+p+(f=(i=Ge.apply(this,[n,r])).reduce((function(e,t){return e+t}),0))>t||v){if(f>t){for(s=Xe.apply(this,[n,i,t-(h+p),t]),u.push(s.shift()),u=[s.pop()];s.length;)d.push([s.shift()]);f=i.slice(n.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[n];d.push(u),h=f+l,p=A}else u.push(n),h+=p+f,p=A}return c=l?function(e,t){return(t?g:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(c)},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,c=[];for(s=0,l=n.length;s<l;s++)c=c.concat($e.apply(this,[n[s],o,a]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",r={},n={},a=0;a<t.length;a++)r[t[a]]="0123456789abcdef"[a],n["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,c=["{"];for(var u in e){if(t=e[u],isNaN(parseInt(u,10))?r="'"+u+"'":(u=parseInt(u,10),r=(r=o(u).slice(2)).slice(0,-1)+n[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)+n[a.slice(-1)];else{if("object"!==i()(t))throw new Error("Don't know what to do with value type "+i()(t)+".");a=s(t)}c.push(r+a)}return c.push("}"),c.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,c=[],u="",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?(c.push([l,i]),l={},i=void 0):"}"==a?((n=c.pop())[0][n[1]]=l,i=void 0,l=n[0]):"-"==a?s=-1:void 0===i?r.hasOwnProperty(a)?(u+=r[a],i=parseInt(u,16)*s,s=1,u=""):u+=a:r.hasOwnProperty(a)?(d+=r[a],l[i]=parseInt(d,16)*s,s=1,i=void 0,d=""):d+=a;return o},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},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=u.Unicode[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(j.API),
  412. /**
  413. * @license
  414. * Licensed under the MIT License.
  415. * http://opensource.org/licenses/mit-license
  416. */
  417. 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(h(n)),r.metadata=e.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(i,n)}}])}(j),
  418. /** @license
  419. * Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
  420. *
  421. * Permission is hereby granted, free of charge, to any person obtaining
  422. * a copy of this software and associated documentation files (the
  423. * "Software"), to deal in the Software without restriction, including
  424. * without limitation the rights to use, copy, modify, merge, publish,
  425. * distribute, sublicense, and/or sell copies of the Software, and to
  426. * permit persons to whom the Software is furnished to do so, subject to
  427. * the following conditions:
  428. *
  429. * The above copyright notice and this permission notice shall be
  430. * included in all copies or substantial portions of the Software.
  431. *
  432. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  433. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  434. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  435. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  436. * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  437. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  438. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  439. * ====================================================================
  440. */
  441. function(e){function t(){return(o.canvg?Promise.resolve(o.canvg):r.e("chunk-7648b79e").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}))}j.API.addSvgAsImage=function(e,r,n,i,a,o,s,c){if(isNaN(r)||isNaN(n))throw l.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw l.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=i,u.height=a;var d=u.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,u.width,u.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(u.toDataURL("image/jpeg",1),r,n,i,a,s,c)}))}}(),j.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},j.API.viewerPreferences=function(e,t){var r;e=e||{},t=t||!1;var n,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),c=[],u=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"===i()(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(u=0;u<o.length;u+=1)if(n=!0,1===o[u].length&&"number"==typeof o[u][0])c.push(String(o[u]-1));else if(o[u].length>1){for(d=0;d<o[u].length;d+=1)"number"!=typeof o[u][d]&&(n=!1);!0===n&&c.push([o[u][0]-1,o[u][1]-1].join(" "))}r[a].value="["+c.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
  442. /** ====================================================================
  443. * @license
  444. * jsPDF XMP metadata plugin
  445. * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
  446. *
  447. * Permission is hereby granted, free of charge, to any person obtaining
  448. * a copy of this software and associated documentation files (the
  449. * "Software"), to deal in the Software without restriction, including
  450. * without limitation the rights to use, copy, modify, merge, publish,
  451. * distribute, sublicense, and/or sell copies of the Software, and to
  452. * permit persons to whom the Software is furnished to do so, subject to
  453. * the following conditions:
  454. *
  455. * The above copyright notice and this permission notice shall be
  456. * included in all copies or substantial portions of the Software.
  457. *
  458. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  459. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  460. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  461. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  462. * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  463. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  464. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  465. * ====================================================================
  466. */},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}}(j.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),c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var d=a();o({data:c,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 /"+I(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 /"+I(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 /"+I(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="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=a();o({data:l,addLength1:!0,objectId:u}),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 "+u+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),i("/FontName /"+I(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/"+I(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,c=s.activeFontKey,u=s.fonts,d=c,h="",p=0,f="",m=u[d].encoding;if("Identity-H"!==u[d].encoding)return{text:n,x:i,y:a,options:o,mutex:s};for(f=n,d=c,Array.isArray(n)&&(f=n[0]),p=0;p<f.length;p+=1)u[d].metadata.hasOwnProperty("cmap")&&(t=u[d].metadata.cmap.unicode.codeMap[f[p].charCodeAt(0)]),t||f[p].charCodeAt(0)<256&&u[d].metadata.hasOwnProperty("Unicode")?h+=f[p]:h+="";var A="";return parseInt(d.slice(1))<14||"WinAnsiEncoding"===m?A=l(h,d).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===m&&(A=r(h,u[d])),s.isHex=!0,{text:A,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}])}(j),
  467. /**
  468. * @license
  469. * jsPDF virtual FileSystem functionality
  470. *
  471. * Licensed under the MIT License.
  472. * http://opensource.org/licenses/mit-license
  473. */
  474. 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}}(j.API),
  475. /**
  476. * @license
  477. * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
  478. * MIT License
  479. */
  480. function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var r,n,i,a,o,s,l,c=t,u=[[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)$/),A=!1,g=0;this.__bidiEngine__={};var _=function(e){var t=e.charCodeAt(),r=t>>8,n=p[r];return void 0!==n?c[256*n+(255&t)]:252===r||253===r?"AL":m.test(r)?"L":8===r?"R":"N"},v=function(e){for(var t,r=0;r<e.length;r++){if("L"===(t=_(e.charAt(r))))return!1;if("R"===t)return!0}return!1},b=function(e,t,o,s){var l,c,u,d,h=t[s];switch(h){case"L":case"R":A=!1;break;case"N":case"AN":break;case"EN":A&&(h="AN");break;case"AL":A=!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"!==(c=t[s+1])&&"AN"!==c?h="N":A&&(c="AN"),h=c===l?c:"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(A){h="N";break}for(u=s+1,d=t.length;u<d&&"ET"===t[u];)u++;h=u<d&&"EN"===t[u]?"EN":"N";break;case"NSM":if(i&&!a){for(d=t.length,u=s+1;u<d&&"NSM"===t[u];)u++;if(u<d){var p=e[s],f=p>=1425&&p<=2303||64286===p;if(l=t[u],f&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":o[s-1];break;case"B":A=!1,r=!0,h=g;break;case"S":n=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":A=!1;break;case"BN":h="N"}return h},w=function(e,t,r){var n=e.split("");return r&&y(n,r,{hiLevel:g}),n.reverse(),t&&t.reverse(),n.join("")},y=function(e,t,i){var a,o,s,l,c,p=-1,f=e.length,m=0,v=[],w=g?d:u,y=[];for(A=!1,r=!1,n=!1,o=0;o<f;o++)y[o]=_(e[o]);for(s=0;s<f;s++){if(c=m,v[s]=b(e,y,v,s),a=240&(m=w[c][h[v[s]]]),m&=15,t[s]=l=w[m][5],a>0)if(16===a){for(o=p;o<s;o++)t[o]=1;p=-1}else p=-1;if(w[m][6])-1===p&&(p=s);else if(p>-1){for(o=p;o<s;o++)t[o]=l;p=-1}"B"===y[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]=g;for(var i=n-1;i>=0&&"WS"===e[i];i--)t[i]=g}}(y,t,f)},E=function(e,t,n,i,a){if(!(a.hiLevel<e)){if(1===e&&1===g&&!r)return t.reverse(),void(n&&n.reverse());for(var o,s,l,c,u=t.length,d=0;d<u;){if(i[d]>=e){for(l=d+1;l<u&&i[l]>=e;)l++;for(c=d,s=l-1;c<s;c++,s--)o=t[c],t[c]=t[s],t[s]=o,n&&(o=n[c],n[c]=n[s],n[s]=o);d=l}d++}}},C=function(e,t,r){var n=e.split(""),i={hiLevel:g};return r||(r=[]),y(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=v(e)),void 0===s&&(s=v(e))}(e,t),i||!o||s)if(i&&o&&a^s)g=a?1:0,e=w(e,t,r);else if(!i&&o&&s)g=a?1:0,e=C(e,t,r),e=w(e,t);else if(!i||a||o||s){if(i&&!o&&a^s)e=w(e,t),a?(g=0,e=C(e,t,r)):(g=1,e=C(e,t,r),e=w(e,t));else if(i&&a&&!o&&s)g=1,e=C(e,t,r),e=w(e,t);else if(!i&&!o&&a^s){var n=l;a?(g=1,e=C(e,t,r),g=0,l=!1,e=C(e,t,r),l=n):(g=0,e=C(e,t,r),e=w(e,t),g=1,l=!1,e=C(e,t,r),l=n,e=w(e,t))}}else g=0,e=C(e,t,r);else g=a?1:0,e=C(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})}])}(j),j.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new at(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Ct(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new ot(this.contents),this.head=new ct(this),this.name=new At(this),this.cmap=new dt(this),this.toUnicode={},this.hhea=new ht(this),this.maxp=new gt(this),this.hmtx=new _t(this),this.post=new ft(this),this.os2=new pt(this),this.loca=new Et(this),this.glyf=new bt(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 it,at=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}(),ot=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,c,u,d,h,p,f;for(f in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),a=Math.floor(u/s),c=16*h-u,(n=new at).writeInt(this.scalarType),n.writeShort(h),n.writeShort(u),n.writeShort(a),n.writeShort(c),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=vt.call(e);e.length%4;)e.push(0);for(n=new at(e),r=0,t=0,i=e.length;t<i;t=t+=4)r+=n.readUInt32();return 4294967295&r},t}(),st={}.hasOwnProperty,lt=function(e,t){for(var r in t)st.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};it=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 ct=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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 at).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,c,u,d,h,p,f,m,A,g,_;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=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}(),c=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=A=0,_=i.length;A<_;s=++A)for(m=i[s],r=g=p=f[s];p<=m?g<=m:g>=m;r=p<=m?++g:--g)0===c[s]?a=r+l[s]:0!==(a=o[c[s]/2+(r-p)-(d-s)]||0)&&(a+=l[s]),this.codeMap[r]=65535&a}e.pos=u}return e.encode=function(e,t){var r,n,i,a,o,s,l,c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T,O,N,R,L,I,k,B,D,F,P,j,U,H,V,Y,W,Q,z,q;switch(O=new at,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}(),g={0:0},i={},N=0,k=a.length;N<k;N++)null==g[W=e[n=a[N]]]&&(g[W]=++f),i[n]={old:e[n],new:g[e[n]]},m[n]=g[e[n]];return O.writeUInt16(1),O.writeUInt16(0),O.writeUInt32(12),O.writeUInt16(0),O.writeUInt16(262),O.writeUInt16(0),O.write(m),{charMap:i,subtable:O.data,maxGlyphID:f+1};case"unicode":for(x=[],u=[],_=0,g={},r={},A=l=null,R=0,B=a.length;R<B;R++)null==g[b=e[n=a[R]]]&&(g[b]=++_),r[n]={old:b,new:g[b]},o=g[b]-n,null!=A&&o===l||(A&&u.push(A),x.push(n),l=o),A=n;for(A&&u.push(A),u.push(65535),x.push(65535),S=2*(C=x.length),E=2*Math.pow(Math.log(C)/Math.LN2,2),d=Math.log(E/2)/Math.LN2,y=2*C-E,s=[],w=[],h=[],p=L=0,D=x.length;L<D;p=++L){if(M=x[p],c=u[p],65535===M){s.push(0),w.push(0);break}if(M-(T=r[M].new)>=32768)for(s.push(0),w.push(2*(h.length+C-p)),n=I=M;M<=c?I<=c:I>=c;n=M<=c?++I:--I)h.push(r[n].new);else s.push(T-M),w.push(0)}for(O.writeUInt16(3),O.writeUInt16(1),O.writeUInt32(12),O.writeUInt16(4),O.writeUInt16(16+8*C+2*h.length),O.writeUInt16(0),O.writeUInt16(S),O.writeUInt16(E),O.writeUInt16(d),O.writeUInt16(y),V=0,F=u.length;V<F;V++)n=u[V],O.writeUInt16(n);for(O.writeUInt16(0),Y=0,P=x.length;Y<P;Y++)n=x[Y],O.writeUInt16(n);for(Q=0,j=s.length;Q<j;Q++)o=s[Q],O.writeUInt16(o);for(z=0,U=w.length;z<U;z++)v=w[z],O.writeUInt16(v);for(q=0,H=h.length;q<H;q++)f=h[q],O.writeUInt16(f);return{charMap:r,subtable:O.data,maxGlyphID:_+1}}},e}(),dt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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 at).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t}(),ht=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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}(),pt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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}(),ft=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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}(),mt=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},At=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),t.prototype.tag="name",t.prototype.parse=function(e){var t,r,n,i,a,o,s,l,c,u,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=c=0,u=r.length;c<u;i=++c)n=r[i],e.pos=n.offset,l=e.readString(n.length),a=new mt(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 lt(t,it),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}(),_t=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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}(),vt=[].slice,bt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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,c,u;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 at(t.read(n))).readShort(),l=o.readShort(),u=o.readShort(),s=o.readShort(),c=o.readShort(),this.cache[e]=-1===a?new yt(o,l,u,s,c):new wt(o,a,l,u,s,c),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}(),yt=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 at(vt.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Et=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return lt(t,it),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),c=0;c<r.length;++c)l[4*c+3]=255&r[c],l[4*c+2]=(65280&r[c])>>8,l[4*c+1]=(16711680&r[c])>>16,l[4*c]=(4278190080&r[c])>>24;return l},t}(),Ct=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,c,u,d,h,p,f,m,A;for(n in r=dt.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(e),h={0:0},A=r.charMap)h[(s=A[n]).old]=s.new;for(p in d=r.maxGlyphID,a)p in h||(h[p]=d++);return c=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(h),u=Object.keys(c).sort((function(e,t){return e-t})),f=function(){var e,t,r;for(r=[],e=0,t=u.length;e<t;e++)o=u[e],r.push(c[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}();j.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}(),t["a"]=j}).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 IT}));r("d9e2"),r("14d9");var n=r("0352"),i=r("5d7f"),a=r("de3b"),o=r("351d"),s=r("c4fa");const l="handsontableEditor",c="handsontable";class u extends n["a"]{static get EDITOR_TYPE(){return c}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"),A=r("dd49"),g=r("8828");function _(e,t,r){v(e,t),t.set(e,r)}function v(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function b(e,t,r){return(t=w(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){var t=y(e,"string");return"symbol"==typeof t?t:t+""}function y(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(C(e,t))}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 S="autocomplete";var M=new WeakMap;class x extends u{constructor(){super(...arguments),b(this,"query",null),b(this,"strippedChoices",[]),b(this,"rawChoices",[]),_(this,M,this.hot.guid.slice(0,9)),b(this,"sortByRelevance",(function(e,t,r){const n=[],i=[],a=e.length;let o,s,l,c,u=t.length;if(0===a){for(l=0;l<u;l++)i.push(l);return i}for(l=0;l<u;l++){if(s=Object(p["stripTags"])(Object(h["stringify"])(t[l])),r)c=s.indexOf(e);else{const t=this.cellProperties.locale;c=s.toLocaleLowerCase(t).indexOf(e.toLocaleLowerCase(t))}-1!==c&&(o=s.length-c-a,n.push({baseIndex:l,index:c,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,u=n.length;l<u;l++)i.push(n[l].baseIndex);return i}))}static get EDITOR_TYPE(){return S}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(g["M"])(),Object(g["h"])(),Object(g["m"])("listbox"),Object(g["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(g["k"])("false"),Object(g["i"])(`${E(M,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,c,u)=>{Object(A["a"])(e,a,o,s,l,c,u);const{filteringCaseSensitive:d,allowHtml:p,locale:f}=this.cellProperties,m=this.query;let _,v,b=Object(h["stringify"])(c);b&&!p&&(_=!0===d?b.indexOf(m):b.toLocaleLowerCase(f).indexOf(m.toLocaleLowerCase(f)),-1!==_&&(v=b.substr(_,m.length),b=b.replace(v,`<strong>${v}</strong>`))),t&&Object(i["setAttribute"])(a,[Object(g["w"])(),...r?[Object(g["J"])(n)]:[],...r?[Object(g["x"])(r.indexOf(c)+1)]:[],["id",`${this.htEditor.rootElement.id}_${o}-${s}`]]),a.innerHTML=b},afterSelectionEnd:(e,r)=>{if(t){const t=this.htEditor.getCell(e,r,!0);Object(i["setAttribute"])(t,[Object(g["I"])()]),Object(i["setAttribute"])(this.TEXTAREA,...Object(g["a"])(t.id))}}}),t&&(Object(i["setAttribute"])(this.htEditor.view._wt.wtOverlays.wtTable.TABLE,...Object(g["y"])()),Object(i["setAttribute"])(this.htEditor.rootElement,[Object(g["q"])(),Object(g["r"])("polite"),Object(g["A"])("text"),["id",`${E(M,this)}-listbox-${a}-${o}`]]),Object(i["setAttribute"])(this.TEXTAREA,...Object(g["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(g["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 c=Array.isArray(o)?o.length:0;if(!1===a)c&&(s=o[0]);else{const e=[];for(let t=0,r=l.length;t<r;t++){if(n&&c<=t)break;c?e.push(l[o[t]]):e.push(l[t])}s=0,l=e}this.strippedChoices=l,0===l.length?this.htEditor.rootElement.style.display="none":this.htEditor.rootElement.style.display="",this.htEditor.loadData(Object(d["pivot"])([l])),l.length>0&&(this.updateDropdownDimensions(),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),c=Object(i["offset"])(e),u=n.top-c.top-l+s,d=e.scrollHeight-u-l-a,h=o>d&&u>d;return h?this.flipDropdown(o):this.unflipDropdown(),this.limitDropdownIfNeeded(h?u: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}updateDropdownDimensions(){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 T=r("13e1");const O="checkbox";class N extends T["a"]{static get EDITOR_TYPE(){return O}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");
  481. /*!
  482. * Pikaday
  483. *
  484. * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday
  485. */const L=()=>window,I=()=>window.document,k=(e,t)=>window.setTimeout(e,t),B=function(e,t,r,n){e.addEventListener(t,r,!!n)},D=function(e,t,r,n){e.removeEventListener(t,r,!!n)},F=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},P=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},j=function(e,t){P(e,t)||(e.className=""===e.className?t:e.className+" "+t)},U=function(e,t){e.className=F((" "+e.className+" ").replace(" "+t+" "," "))},H=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},W=function(e){return e%4===0&&e%100!==0||e%400===0},Q=function(e,t){return[31,W(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},z=function(e){V(e)&&e.setHours(0,0,0,0)},q=function(e,t){return e.getTime()===t.getTime()},G=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())):H(t[n])?r&&(e[n]=t[n].slice(0)):e[n]=G({},t[n],r):!r&&i||(e[n]=t[n]);return e},K=function(e,t,r){let n=I().createEvent("HTMLEvents");n.initEvent(t,!0,!1),n=G(n,r),e.dispatchEvent(n)},X=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},Z=function(e,t,r){t+=e.firstDay;while(t>=7)t-=7;return r?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},J=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),c=864e5,u=(e.getTime()-l.getTime())/c,d=1+Math.round((u-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="'+Z(e,t)+'">'+Z(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,c,u,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,A=!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(c='<div class="pika-label">'+d.i18n.months[n]+'<select class="pika-select pika-select-month" tabindex="-1">'+l.join("")+"</select></div>",H(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 u='<div class="pika-label">'+r+d.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+l.join("")+"</select></div>",d.showMonthAfterYear?f+=u+c:f+=c+u,h&&(0===n||d.minMonth>=n)&&(m=!1),p&&(11===n||d.maxMonth<=n)&&(A=!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'+(A?"":" 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(P(n,"is-disabled")||(!P(n,"pika-button")||P(n,"is-empty")||P(n.parentNode,"is-disabled")?P(n,"pika-prev")?t.prevMonth():P(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&&k((function(){t.hide(),r.blurFieldOnSelect&&r.field&&r.field.blur()}),100))),P(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&&(P(r,"pika-select-month")?t.gotoMonth(r.value):P(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=I().activeElement;do{if(P(e,"pika-single"))return}while(e=e.parentNode);t._c||(t._b=k((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&&P(n,"pika-select")&&(n.onchange||(n.setAttribute("onchange","return;"),B(n,"change",t._onChange)));do{if(P(i,"pika-single")||i===r.trigger)return}while(i=i.parentNode);t._v&&n!==r.trigger&&i!==r.trigger&&t.hide()}},t.el=I().createElement("div"),t.el.className="pika-single"+(r.isRTL?" is-rtl":"")+(r.theme?" "+r.theme:""),B(t.el,"mousedown",t._onMouseDown,!0),B(t.el,"touchend",t._onMouseDown,!0),B(t.el,"change",t._onChange),r.keyboardInput&&B(I(),"keydown",t._onKeyChange),r.field&&(r.container?r.container.appendChild(t.el):r.bound?I().body.appendChild(t.el):r.field.parentNode.insertBefore(t.el,r.field.nextSibling),B(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",B(r.trigger,"click",t._onInputClick),B(r.trigger,"focus",t._onInputFocus),B(r.trigger,"blur",t._onInputBlur)):this.show()}function le(e,t,r){return(t=ce(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e){var t=ue(e,"string");return"symbol"==typeof t?t:t+""}function ue(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=G({},$,!0));let t=G(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),H(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="",K(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()),z(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),K(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]=X(this.calendars[0]);for(let e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=X({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?(z(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?(z(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&&k((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,c,u;this._o.container||(this.el.style.position="absolute",e=this._o.trigger,t=this.el.offsetWidth,r=this.el.offsetHeight,n=L().innerWidth||I().documentElement.clientWidth,i=L().innerHeight||I().documentElement.clientHeight,a=I().body.scrollTop||I().documentElement.scrollTop,c=!0,u=!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,c=!1),(this._o.reposition&&s+r>i+a||this._o.position.indexOf("top")>-1&&s-r-e.offsetHeight>0)&&(s=s-r-e.offsetHeight,u=!1),o<0&&(o=0),s<0&&(s=0),this.el.style.left=o+"px",this.el.style.top=s+"px",j(this.el,c?"left-aligned":"right-aligned"),j(this.el,u?"bottom-aligned":"top-aligned"),U(this.el,c?"right-aligned":"left-aligned"),U(this.el,u?"top-aligned":"bottom-aligned"))},render:function(e,t,r){let n=this._o,i=new Date,a=Q(e,t),o=new Date(e,t,1).getDay(),s=[],l=[];z(i),n.firstDay>0&&(o-=n.firstDay,o<0&&(o+=7));let c=0===t?11:t-1,u=11===t?0:t+1,d=0===t?e-1:e,h=11===t?e+1:e,p=Q(d,c),f=a+o,m=f;while(m>7)m-=7;f+=7-m;let A=!1;for(let g=0,_=0;g<f;g++){let r=new Date(e,t,g-o+1),f=!!V(this._d)&&q(r,this._d),m=q(r,i),v=-1!==n.events.indexOf(r.toDateString()),b=g<o||g>=a+o,w=g-o+1,y=t,E=e,C=n.startRange&&q(n.startRange,r),S=n.endRange&&q(n.endRange,r),M=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);b&&(g<o?(w=p+w,y=c,E=d):(w-=a,y=u,E=h));let T={day:w,month:y,year:E,hasEvent:v,isSelected:f,isToday:m,isDisabled:x,isEmpty:b,isStartRange:C,isEndRange:S,isInRange:M,showDaysInNextAndPreviousMonths:n.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:n.enableSelectionDaysInNextAndPreviousMonths};n.pickWholeWeek&&f&&(A=!0),l.push(J(T)),7===++_&&(n.showWeekNumber&&l.unshift(te(this,g-o,t,e,n.firstWeekOfYearMinDays)),s.push(re(l,n.isRTL,n.pickWholeWeek,A)),l=[],_=0,A=!1)}return oe(n,s,r)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),U(this.el,"is-hidden"),this._o.bound&&(B(I(),"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&&D(I(),"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),j(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(),D(this.el,"mousedown",this._onMouseDown,!0),D(this.el,"touchend",this._onMouseDown,!0),D(this.el,"change",this._onChange),e.keyboardInput&&D(I(),"keydown",this._onKeyChange),e.field&&(D(e.field,"change",this._onInputChange),e.bound&&(D(e.trigger,"click",this._onInputClick),D(e.trigger,"focus",this._onInputFocus),D(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(()=>{const e=this.hot._getEditorManager();e.closeEditor(),this.hot.view.render(),e.prepareEditor()});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!==T["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()),c=n.getVisualFromRenderableIndex(o.getFirstPartiallyVisibleColumn()),u=n.getVisualFromRenderableIndex(o.getLastPartiallyVisibleColumn());if(this.row>=s&&this.row<=l&&this.col>=c&&this.col<=u){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 Ae 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.propToCol(r);if(Number.isInteger(n)){const e=this.getCellMeta(t,n);e.editor===Ae&&void 0===e.strict&&(e.filter=!1,e.strict=!0)}}));const ge="numeric";class _e extends n["a"]{static get EDITOR_TYPE(){return ge}}const ve="password";class be extends n["a"]{static get EDITOR_TYPE(){return ve}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,Object(i["empty"])(this.TEXTAREA_PARENT),this.TEXTAREA_PARENT.appendChild(this.TEXTAREA)}}const we="ht_editor_visible",ye="selectEditor",Ee="select";class Ce extends T["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,we)&&Object(i["removeClass"])(this.select,we),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 c;c="function"===typeof l?this.prepareOptions(l(this.row,this.col,this.prop)):this.prepareOptions(l),Object(i["empty"])(this.select),Object(o["objectEach"])(c,(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!==T["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,we)}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor"),r={group:ye};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)}}],r)}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(ye)}}const Se="time";class Me extends n["a"]{static get EDITOR_TYPE(){return Se}prepare(e,t,r,n,i,a){super.prepare(e,t,r,n,i,a),this.TEXTAREA.dir="ltr"}}var xe=r("491c");function Te(){Object(xe["e"])(T["a"]),Object(xe["e"])(x),Object(xe["e"])(N),Object(xe["e"])(pe),Object(xe["e"])(Ae),Object(xe["e"])(u),Object(xe["e"])(_e),Object(xe["e"])(be),Object(xe["e"])(Ce),Object(xe["e"])(n["a"]),Object(xe["e"])(Me)}var Oe=r("a357");const Ne="html";function Re(e,t,r,n,a,o,s){Oe["a"].apply(this,[e,t,r,n,a,o,s]),Object(i["fastInnerHTML"])(t,null===o||void 0===o?"":o,!1)}Re.RENDERER_TYPE=Ne;var Le=r("87d6");const Ie="autocomplete";function ke(e,t,r,n,a,o,s){const{rootDocument:l}=e,c=s.allowHtml?Re:A["a"],u=l.createElement("DIV"),d=e.getSettings().ariaTags;if(u.className="htAutocompleteArrow",d&&u.setAttribute(...Object(g["n"])()),u.appendChild(l.createTextNode(String.fromCharCode(9660))),c.apply(this,[e,t,r,n,a,o,s]),t.firstChild||t.appendChild(l.createTextNode(String.fromCharCode(160))),t.insertBefore(u,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()})}}ke.RENDERER_TYPE=Ie;const Be="dropdown";function De(e,t,r,n,i,a,o){ke.apply(this,[e,t,r,n,i,a,o])}De.RENDERER_TYPE=Be;var Fe=r("0283");const Pe=new WeakMap,je=new WeakMap,Ue="htBadValue",He="data-row",Ve="data-col",Ye="checkboxRenderer",We="checkbox";function Qe(e,t,r,n,a,o,l){const{rootDocument:c}=e,u=e.getSettings().ariaTags;Oe["a"].apply(this,[e,t,r,n,a,o,l]),ze(e);let d=qe(c);const p=l.label;let f=!1;if("undefined"===typeof l.checkedTemplate&&(l.checkedTemplate=!0),"undefined"===typeof l.uncheckedTemplate&&(l.uncheckedTemplate=!1),Object(i["empty"])(t),o===l.checkedTemplate||Object(h["stringify"])(o).toLocaleLowerCase(l.locale)===Object(h["stringify"])(l.checkedTemplate).toLocaleLowerCase(l.locale)?d.checked=!0:o===l.uncheckedTemplate||Object(h["stringify"])(o).toLocaleLowerCase(l.locale)===Object(h["stringify"])(l.uncheckedTemplate).toLocaleLowerCase(l.locale)?d.checked=!1:Object(h["isEmpty"])(o)?Object(i["addClass"])(d,"noValue"):(d.style.display="none",Object(i["addClass"])(d,Ue),f=!0),Object(i["setAttribute"])(d,[[He,r],[Ve,n]]),u&&Object(i["setAttribute"])(d,[Object(g["p"])(d.checked?e.getTranslatedPhrase(Fe["CHECKBOX_CHECKED"]):e.getTranslatedPhrase(Fe["CHECKBOX_UNCHECKED"])),Object(g["d"])(d.checked),Object(g["c"])()]),!f&&p){let i="";if(p.value)i="function"===typeof p.value?p.value.call(this,r,n,a,o):p.value;else if(p.property){const t=e.getDataAtRowProp(r,p.property);i=null!==t?t:""}const s=Ge(c,i,!0!==p.separated);"before"===p.position?p.separated?(t.appendChild(s),t.appendChild(d)):(s.appendChild(d),d=s):p.position&&"after"!==p.position||(p.separated?(t.appendChild(d),t.appendChild(s)):(s.insertBefore(d,s.firstChild),d=s))}function m(){const t=e.getShortcutManager(),r=t.getContext("grid"),n={group:Ye,relativeToGroup:s["a"],position:"before"};r.addShortcuts([{keys:[["space"]],callback:()=>(A(),!_()),runOnlyIf:()=>{var t;return null===(t=e.getSelectedRangeLast())||void 0===t?void 0:t.highlight.isCell()}},{keys:[["enter"]],callback:()=>(A(),!_()),runOnlyIf:()=>{const t=e.getSelectedRangeLast();return e.getSettings().enterBeginsEditing&&(null===t||void 0===t?void 0:t.isSingle())&&t.highlight.isCell()}},{keys:[["delete"],["backspace"]],callback:()=>(A(!0),!_()),runOnlyIf:()=>{var t;return null===(t=e.getSelectedRangeLast())||void 0===t?void 0:t.highlight.isCell()}}],n)}function A(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const r=e.getSelectedRange(),n=[],i=new Map;let a=[],o=0;if(r){for(let s=0;s<r.length;s++){const{row:l,col:c}=r[s].getTopStartCorner(),{row:u,col:d}=r[s].getBottomEndCorner();for(let r=l;r<=u;r+=1)for(let s=c;s<=d;s+=1){const l=e.getCellMeta(r,s),c={checkedTemplate:l.checkedTemplate,uncheckedTemplate:l.uncheckedTemplate};if("checkbox"!==l.type){!0!==t||l.readOnly||(i.has(n.length)?i.set(n.length,[...i.get(n.length),[r,s,null]]):i.set(n.length,[[r,s,null]]));continue}if(!0===l.readOnly)continue;"undefined"===typeof l.checkedTemplate&&(l.checkedTemplate=!0),"undefined"===typeof l.uncheckedTemplate&&(l.uncheckedTemplate=!1);const u=e.getDataAtCell(r,s);!1===t?[l.checkedTemplate,l.checkedTemplate.toString()].includes(u)?a.push([r,s,l.uncheckedTemplate,c]):[l.uncheckedTemplate,l.uncheckedTemplate.toString(),null,void 0].includes(u)&&a.push([r,s,l.checkedTemplate,c]):a.push([r,s,l.uncheckedTemplate,c]),o+=1}n.push(o),o=0}a=a.every(e=>{let[,,t]=e;return t===a[0][2]})?a.map(e=>{let[t,r,n]=e;return[t,r,n]}):a.map(e=>{let[t,r,,n]=e;return[t,r,n.checkedTemplate]}),a.length>0&&n.forEach((t,r)=>{let n=a.splice(0,t);i.size&&i.has(r)&&(n=[...n,...i.get(r)]),e.setDataAtCell(n)})}}function _(){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),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}}(!p||p&&!p.separated)&&t.appendChild(d),f&&t.appendChild(c.createTextNode("#bad-value#")),Pe.has(e)||(Pe.set(e,!0),m())}function ze(e){let t=je.get(e);if(!t){const{rootElement:r}=e;t=new Le["a"](e),t.addEventListener(r,"click",t=>Xe(t,e)),t.addEventListener(r,"mouseup",t=>Ke(t,e)),t.addEventListener(r,"change",t=>$e(t,e)),je.set(e,t)}return t}function qe(e){const t=e.createElement("input");return t.className="htCheckboxRendererInput",t.type="checkbox",t.setAttribute("tabindex","-1"),t.cloneNode(!1)}function Ge(e,t,r){const n=e.createElement("label");return n.className="htCheckboxRendererLabel "+(r?"fullWidth":""),n.appendChild(e.createTextNode(t)),n.cloneNode(!0)}function Ke(e,t){const{target:r}=e;Ze(r)&&r.hasAttribute(He)&&r.hasAttribute(Ve)&&setTimeout(t.listen,10)}function Xe(e,t){const{target:r}=e;if(!Ze(r))return;if(!r.hasAttribute(He)||!r.hasAttribute(Ve))return;const n=parseInt(r.getAttribute(He),10),i=parseInt(r.getAttribute(Ve),10),a=t.getCellMeta(n,i);a.readOnly&&e.preventDefault()}function $e(e,t){const{target:r}=e;if(!Ze(r))return;if(!r.hasAttribute(He)||!r.hasAttribute(Ve))return;const n=parseInt(r.getAttribute(He),10),i=parseInt(r.getAttribute(Ve),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 Ze(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 Je="handsontable";function et(e,t,r,n,i,a,o){ke.apply(this,[e,t,r,n,i,a,o])}et.RENDERER_TYPE=Je;var tt=r("8722"),rt=r("ffec");const nt="numeric";function it(e,t){if(Object(rt["isNumeric"])(e)){const r=t.numericFormat,n=r&&r.culture||"-",i=r&&r.pattern;if("undefined"!==typeof n&&!tt.languages()[n]){const e=n.replace("-",""),t=tt.allLanguages?tt.allLanguages[n]:tt[e];t&&tt.registerLanguage(t)}tt.setLanguage(n),e=tt(e).format(i||"0")}return e}function at(e,t,r,n,i,a,o){let s=a;if(Object(rt["isNumeric"])(s)){const e=o.className||"",r=e.length?e.split(" "):[];s=it(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(A["a"])(e,t,r,n,i,s,o)}at.RENDERER_TYPE=nt;const ot="password";function st(e,t,r,n,a,o,s){A["a"].apply(this,[e,t,r,n,a,o,s]);const l=s.hashLength||t.innerHTML.length,c=s.hashSymbol||"*";let u="";Object(rt["rangeEach"])(l-1,()=>{u+=c}),Object(i["fastInnerHTML"])(t,u)}st.RENDERER_TYPE=ot;const lt="select";function ct(e,t,r,n,i,a,o){A["a"].apply(this,[e,t,r,n,i,a,o])}ct.RENDERER_TYPE=lt;const ut="time";function dt(e,t,r,n,i,a,o){A["a"].apply(this,[e,t,r,n,i,a,o]),t.dir="ltr"}dt.RENDERER_TYPE=ut;var ht=r("3d76");function pt(){Object(ht["d"])(ke),Object(ht["d"])(Oe["a"]),Object(ht["d"])(Qe),Object(ht["d"])(De),Object(ht["d"])(et),Object(ht["d"])(Re),Object(ht["d"])(at),Object(ht["d"])(st),Object(ht["d"])(ct),Object(ht["d"])(A["a"]),Object(ht["d"])(dt)}const ft="autocomplete";function mt(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,At(r,t)):At(r,t)(this.source):t(!0)}function At(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)}}mt.VALIDATOR_TYPE=ft;var gt=r("3eb5");const _t="date";function vt(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=bt(n,this.dateFormat);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"dateValidator"),i=!0}else i=!1;t(i)}function bt(e,t){const r=R(Object(gt["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)}vt.VALIDATOR_TYPE=_t;const wt="dropdown";function yt(e,t){mt.apply(this,[e,t])}yt.VALIDATOR_TYPE=wt;const Et="numeric";function Ct(e,t){let r=e;null!==r&&void 0!==r||(r=""),this.allowEmpty&&""===r?t(!0):t(""!==r&&Object(rt["isNumeric"])(e))}Ct.VALIDATOR_TYPE=Et;const St=["YYYY-MM-DDTHH:mm:ss.SSSZ","X","x"],Mt="time";function xt(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,St,!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);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"timeValidator"),n=!0}else n=!1;t(n)}xt.VALIDATOR_TYPE=Mt;var Tt=r("169f");function Ot(){Object(Tt["d"])(mt),Object(Tt["d"])(yt),Object(Tt["d"])(vt),Object(Tt["d"])(Ct),Object(Tt["d"])(xt)}const Nt="autocomplete",Rt={CELL_TYPE:Nt,editor:x,renderer:ke,validator:mt},Lt="checkbox",It={CELL_TYPE:Lt,editor:N,renderer:Qe},kt="date";function Bt(e,t,r,n,i,a,o){ke.apply(this,[e,t,r,n,i,a,o])}Bt.RENDERER_TYPE=kt;const Dt="date",Ft={CELL_TYPE:Dt,editor:pe,renderer:Bt,validator:vt},Pt="dropdown",jt={CELL_TYPE:Pt,editor:Ae,renderer:De,validator:yt},Ut="handsontable",Ht={CELL_TYPE:Ut,editor:u,renderer:et},Vt="numeric",Yt={CELL_TYPE:Vt,editor:_e,renderer:at,validator:Ct,dataType:"number"},Wt="password",Qt={CELL_TYPE:Wt,editor:be,renderer:st,copyable:!1},zt="select",qt={CELL_TYPE:zt,editor:Ce,renderer:ct};var Gt=r("ef07");const Kt="time",Xt={CELL_TYPE:Kt,editor:Me,renderer:dt,validator:xt};var $t=r("76ab");function Zt(){Object($t["d"])(Rt),Object($t["d"])(It),Object($t["d"])(Ft),Object($t["d"])(jt),Object($t["d"])(Ht),Object($t["d"])(Yt),Object($t["d"])(Qt),Object($t["d"])(qt),Object($t["d"])(Gt["a"]),Object($t["d"])(Xt)}var Jt=r("d3c5"),er=r("7dd0"),tr=r("220a");function rr(e,t,r){return(t=nr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nr(e){var t=ir(e,"string");return"symbol"==typeof t?t:t+""}function ir(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 ar{static get SAMPLE_COUNT(){return 3}constructor(e){rr(this,"samples",null),rr(this,"dataFactory",null),rr(this,"customSampleCount",null),rr(this,"allowDuplicates",!1),this.dataFactory=e}getSampleCount(){return this.customSampleCount?this.customSampleCount:ar.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(rt["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(rt["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:c}=s,u="string"===typeof c&&c.length>0;let d;d=u?c: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||u)&&(p.strings.push({value:l,[i]:t}),a.push(l),p.needed-=1)}}),n}}var or=ar,sr=r("861dd"),lr=r("9f10");function cr(e,t){dr(e,t),t.add(e)}function ur(e,t,r){dr(e,t),t.set(e,r)}function dr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hr(e,t,r){return(t=pr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pr(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 mr(e,t){return e.get(gr(e,t))}function Ar(e,t,r){return e.set(gr(e,t),r),r}function gr(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 _r="autoColumnSize",vr=10,br="autoColumnSize";var wr=new WeakMap,yr=new WeakMap,Er=new WeakSet;class Cr extends Jt["a"]{static get PLUGIN_KEY(){return _r}static get PLUGIN_PRIORITY(){return vr}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),hr(this,"ghostTable",new tr["a"](this.hot)),hr(this,"samplesGenerator",new or((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}})),hr(this,"inProgress",!1),hr(this,"measuredColumns",0),hr(this,"columnWidthsMap",new lr["a"]),ur(this,wr,[]),ur(this,yr,[]),this.hot.columnIndexMapper.registerMap(br,this.columnWidthsMap),this.addHook("beforeColumnResize",(e,t,r)=>gr(Er,this,Or).call(this,e,t,r))}isEnabled(){return!1!==this.hot.getSettings()[_r]&&!this.hot.getSettings().colWidths}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[_r];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 gr(Er,e,xr).call(e,...r)})),this.addHook("beforeChangeRender",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return gr(Er,e,Tr).call(e,...r)})),this.addHook("afterFormulasValuesUpdate",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return gr(Er,e,Rr).call(e,...r)})),this.addHook("beforeRender",()=>gr(Er,this,Mr).call(this)),this.addHook("modifyColWidth",(e,t)=>this.getColumnWidth(t,e)),this.addHook("init",()=>gr(Er,this,Nr).call(this)),super.enablePlugin()}updatePlugin(){Ar(yr,this,this.findColumnsWhereHeaderWasChanged()),super.updatePlugin()}disablePlugin(){super.disablePlugin(),this.addHook("beforeColumnResize",(e,t,r)=>gr(Er,this,Or).call(this,e,t,r))}calculateVisibleColumnsWidth(){if(!this.hot.countRows())return;const e=this.getFirstVisibleColumn(),t=this.getLastVisibleColumn();if(-1===e||-1===t)return;const r=this.hot.renderCall;this.calculateColumnsWidth({from:e,to:t},void 0,r)}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(rt["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);t.forEach((e,t)=>this.ghostTable.addColumn(t,e))}}),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=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=0;const n=this.hot.countCols()-1;let i=null;this.inProgress=!0;const a=()=>{if(!this.hot)return Object(er["cancelAnimationFrame"])(i),void(this.inProgress=!1);this.calculateColumnsWidth({from:r,to:Math.min(r+Cr.CALCULATION_STEP,n)},e,t),r=r+Cr.CALCULATION_STEP+1,r<n?i=Object(er["requestAnimationFrame"])(a):(Object(er["cancelAnimationFrame"])(i),this.inProgress=!1,this.hot.view.adjustElementsSize())},o=this.getSyncCalculationLimit();o>=0&&(this.calculateColumnsWidth({from:0,to:o},e,t),r=o+1),r<n?a():this.inProgress=!1}setSamplingOptions(){const e=this.hot.getSettings()[_r],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.isVisible()&&this.calculateAllColumnsWidth({from:0,to:this.hot.countRows()-1},!0)}getSyncCalculationLimit(){const e=this.hot.getSettings()[_r];let t=Cr.SYNC_CALCULATION_LIMIT;const r=this.hot.countCols()-1;return Object(o["isObject"])(e)&&(t=e.syncLimit,Object(p["isPercentValue"])(t)?t=Object(rt["valueAccordingPercent"])(r,t):t>>=0),Math.min(t,r)}getColumnWidth(e,t){let 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,sr["a"]))),n}getFirstVisibleColumn(){var e;return null!==(e=this.hot.view.getFirstRenderedVisibleColumn())&&void 0!==e?e:-1}getLastVisibleColumn(){var e;return null!==(e=this.hot.view.getLastRenderedVisibleColumn())&&void 0!==e?e:-1}findColumnsWhereHeaderWasChanged(){const e=this.hot.getColHeader(),t=e.reduce((e,t,r)=>{const n=mr(wr,this).length;return(n-1<r||mr(wr,this)[r]!==t)&&e.push(this.hot.toVisualColumn(r)),n-1<r?mr(wr,this).push(t):mr(wr,this)[r]=t,e},[]);return t}clearCache(e){Array.isArray(e)?this.hot.batchExecution(()=>{e.forEach(e=>{this.columnWidthsMap.setValueAtIndex(e,null)})},!0):this.columnWidthsMap.clear()}isNeedRecalculate(){return!!this.columnWidthsMap.getValues().slice(0,this.measuredColumns).filter(e=>null===e).length}destroy(){this.ghostTable.clean(),super.destroy()}}function Sr(e){const t={from:0,to:this.hot.countRows()-1};e.forEach(e=>{const r=this.hot.toPhysicalColumn(e);if(null!==r&&!this.hot._getColWidthFromSettings(r)){const r=this.samplesGenerator.generateColumnSamples(e,t);r.forEach((e,t)=>this.ghostTable.addColumn(t,e))}}),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.ghostTable.clean())}function Mr(){this.calculateVisibleColumnsWidth(),this.inProgress||(gr(Er,this,Sr).call(this,mr(yr,this)),Ar(yr,this,[]))}function xr(e,t){t||this.recalculateAllColumnsWidth()}function Tr(e){const t=e.reduce((e,t)=>{let[,r]=t;const n=this.hot.propToCol(r);return Number.isInteger(n)&&-1===e.indexOf(n)&&e.push(n),e},[]);mr(yr,this).push(...t)}function Or(e,t,r){let n=e;return r&&(this.calculateColumnsWidth(t,void 0,!0),n=this.getColumnWidth(t,void 0,!1)),n}function Nr(){Ar(wr,this,this.hot.getColHeader()),this.recalculateAllColumnsWidth()}function Rr(e){const t=e.reduce((e,t)=>{var r;const n=null===(r=t.address)||void 0===r?void 0:r.col;if(Number.isInteger(n)){const t=this.hot.toVisualColumn(n);-1===e.indexOf(t)&&e.push(t)}return e},[]);mr(yr,this).push(...t)}const Lr={horizontal:"horizontal",vertical:"vertical"};function Ir(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(Lr),t.autoInsertRow=!0):Object(o["isObject"])(e)?(Object(h["isDefined"])(e.autoInsertRow)?e.direction===Lr.horizontal?t.autoInsertRow=!1:t.autoInsertRow=e.autoInsertRow:t.autoInsertRow=!1,Object(h["isDefined"])(e.direction)?t.directions=[e.direction]:t.directions=Object.keys(Lr)):"string"===typeof e?(t.directions=[e],t.autoInsertRow=!0):(t.directions=[],t.autoInsertRow=!1),t}function Br(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 Fr(e,t,r){return(t=Pr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pr(e){var t=jr(e,"string");return"symbol"==typeof t?t:t+""}function jr(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 Ur(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 Hr="autofill",Vr=20,Yr=["fillHandle"],Wr="insert_row_below",Qr=200;var zr=new WeakSet;class qr extends Jt["a"]{constructor(){super(...arguments),Br(this,zr),Fr(this,"addingStarted",!1),Fr(this,"mouseDownOnCellCorner",!1),Fr(this,"mouseDragOutside",!1),Fr(this,"handleDraggedCells",0),Fr(this,"directions",[]),Fr(this,"autoInsertRow",!1)}static get PLUGIN_KEY(){return Hr}static get PLUGIN_PRIORITY(){return Vr}static get SETTING_KEYS(){return[Hr,...Yr]}isEnabled(){return this.hot.getSettings().fillHandle}enablePlugin(){this.enabled||(this.mapSettings(),this.registerEvents(),this.addHook("afterOnCellCornerMouseDown",e=>Ur(zr,this,Kr).call(this,e)),this.addHook("afterOnCellCornerDblClick",e=>Ur(zr,this,Gr).call(this,e)),this.addHook("beforeOnCellMouseOver",(e,t)=>Ur(zr,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:c,startOfDragCoords:u,endOfDragCoords:d}=Ir(s,l,(e,t)=>this.hot._createCellCoords(e,t));if(u&&u.row>-1&&u.col>-1){const e=this.getSelectionData(),t=i.clone(),r=this.hot._createCellRange(u,u,d),n=this.hot.runHooks("beforeAutofill",e,t,r,c);if(!1===n)return this.hot.selection.highlight.getFill().clear(),this.hot.render(),!1;let a=n;const o=n;if(["up","left"].indexOf(c)>-1&&(1!==o.length||0!==o[0].length))if(a=[],"up"===c){const e=d.row-u.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-u.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(u.row,u.col,a,d.row,d.col,this.pluginName+".fill",null),this.setSelection(l),this.hot.runHooks("afterAutofill",a,t,r,c),this.hot.render()}else this.hot.view.render();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(Lr.vertical)&&this.directions.includes(Lr.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(Lr.vertical))n=this.hot._createCellCoords(e.row,r.col);else{if(!this.directions.includes(Lr.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(Wr,void 0,1,this.pluginName+".fill"),this.addingStarted=!1},Qr)}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",()=>Ur(zr,this,$r).call(this)),this.eventManager.addEventListener(e,"mousemove",e=>Ur(zr,this,Zr).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 $r(){this.handleDraggedCells&&(this.handleDraggedCells>1&&this.fillIn(),this.handleDraggedCells=0,this.mouseDownOnCellCorner=!1)}function Zr(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){tn(e,t),t.add(e)}function en(e,t,r){tn(e,t),t.set(e,r)}function tn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function rn(e,t,r){return(t=nn(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)}function on(e,t,r){return e.set(ln(e,t),r),r}function sn(e,t){return e.get(ln(e,t))}function ln(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 cn="autoRowSize",un=40,dn="autoRowSize";var hn=new WeakMap,pn=new WeakSet;class fn extends Jt["a"]{static get PLUGIN_KEY(){return cn}static get PLUGIN_PRIORITY(){return un}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,pn),rn(this,"headerHeight",null),rn(this,"ghostTable",new tr["a"](this.hot)),rn(this,"samplesGenerator",new or((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}})),rn(this,"inProgress",!1),rn(this,"measuredRows",0),rn(this,"rowHeightsMap",new lr["a"]),en(this,hn,[]),this.hot.rowIndexMapper.registerMap(dn,this.rowHeightsMap),this.addHook("beforeRowResize",(e,t,r)=>ln(pn,this,gn).call(this,e,t,r))}isEnabled(){const e=this.hot.getSettings()[cn];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 ln(pn,e,_n).call(e,...r)})),this.addHook("beforeChangeRender",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ln(pn,e,vn).call(e,...r)})),this.addHook("beforeColumnResize",()=>this.recalculateAllRowsHeight()),this.addHook("afterFormulasValuesUpdate",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ln(pn,e,wn).call(e,...r)})),this.addHook("beforeRender",()=>ln(pn,this,An).call(this)),this.addHook("modifyRowHeight",(e,t)=>this.getRowHeight(t,e)),this.addHook("init",()=>ln(pn,this,bn).call(this)),this.addHook("modifyColumnHeaderHeight",()=>this.getColumnHeaderHeight()),super.enablePlugin())}disablePlugin(){this.headerHeight=null,super.disablePlugin(),this.addHook("beforeRowResize",(e,t,r)=>ln(pn,this,gn).call(this,e,t,r))}calculateVisibleRowsHeight(){if(!this.hot.countCols())return;const e=this.getFirstVisibleRow(),t=this.getLastVisibleRow();if(-1===e||-1===t)return;const r=this.hot.renderCall;this.calculateRowsHeight({from:e,to:t},void 0,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(rt["rangeEach"])(n.from,n.to,e=>{let t=this.hot.toPhysicalRow(e);if(null===t&&(t=e),r||null===this.rowHeightsMap.getValueAtIndex(t)){const t=this.samplesGenerator.generateRowSamples(e,i);t.forEach((e,t)=>this.ghostTable.addRow(t,e))}}),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=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=0;const n=this.hot.countRows()-1;let i=null;this.inProgress=!0;const a=()=>{if(!this.hot)return Object(er["cancelAnimationFrame"])(i),void(this.inProgress=!1);this.calculateRowsHeight({from:r,to:Math.min(r+fn.CALCULATION_STEP,n)},e,t),r=r+fn.CALCULATION_STEP+1,r<n?i=Object(er["requestAnimationFrame"])(a):(Object(er["cancelAnimationFrame"])(i),this.inProgress=!1,this.hot.view.adjustElementsSize(),this.hot.view._wt.wtOverlays.inlineStartOverlay.needFullRender&&this.hot.view._wt.wtOverlays.inlineStartOverlay.clone.draw())},o=this.getSyncCalculationLimit();o>=0&&(this.calculateRowsHeight({from:0,to:o},e,t),r=o+1),r<n?a():(this.inProgress=!1,this.hot.view.adjustElementsSize())}setSamplingOptions(){const e=this.hot.getSettings()[cn],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(){this.hot.view.isVisible()&&this.calculateAllRowsHeight({from:0,to:this.hot.countCols()-1},!0)}getSyncCalculationLimit(){const e=this.hot.getSettings()[cn];let t=fn.SYNC_CALCULATION_LIMIT;const r=this.hot.countRows()-1;return Object(o["isObject"])(e)&&(t=e.syncLimit,Object(p["isPercentValue"])(t)?t=Object(rt["valueAccordingPercent"])(r,t):t>>=0),Math.min(t,r)}getRowHeight(e,t){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(){var e;return null!==(e=this.hot.view.getFirstRenderedVisibleRow())&&void 0!==e?e:-1}getLastVisibleRow(){var e;return null!==(e=this.hot.view.getLastRenderedVisibleRow())&&void 0!==e?e:-1}clearCache(e){this.headerHeight=null,Array.isArray(e)?this.hot.batchExecution(()=>{e.forEach(e=>{this.rowHeightsMap.setValueAtIndex(e,null)})},!0):this.rowHeightsMap.clear()}clearCacheByRange(e){const{from:t,to:r}="number"===typeof e?{from:e,to:e}:e;this.hot.batchExecution(()=>{Object(rt["rangeEach"])(Math.min(t,r),Math.max(t,r),e=>{this.rowHeightsMap.setValueAtIndex(e,null)})},!0)}isNeedRecalculate(){return!!this.rowHeightsMap.getValues().slice(0,this.measuredRows).filter(e=>null===e).length}destroy(){this.ghostTable.clean(),super.destroy()}}function mn(e){const t={from:0,to:this.hot.countCols()-1};e.forEach(e=>{const r=this.samplesGenerator.generateRowSamples(e,t);r.forEach((e,t)=>this.ghostTable.addRow(t,e))}),this.ghostTable.rows.length&&(this.hot.batchExecution(()=>{this.ghostTable.getHeights((e,t)=>{const r=this.hot.toPhysicalRow(e);this.rowHeightsMap.setValueAtIndex(r,t)})},!0),this.ghostTable.clean())}function An(){this.calculateVisibleRowsHeight(),this.inProgress||(ln(pn,this,mn).call(this,sn(hn,this)),on(hn,this,[]))}function gn(e,t,r){let n=e;return r&&(this.calculateRowsHeight(t,void 0,!0),n=this.getRowHeight(t)),n}function _n(e,t){t||this.recalculateAllRowsHeight()}function vn(e){const t=e.reduce((e,t)=>{let[r]=t;return-1===e.indexOf(r)&&e.push(r),e},[]);sn(hn,this).push(...t)}function bn(){this.recalculateAllRowsHeight()}function wn(e){const t=e.reduce((e,t)=>{var r;const n=null===(r=t.address)||void 0===r?void 0:r.row;if(Number.isInteger(n)){const t=this.hot.toVisualRow(n);-1===e.indexOf(t)&&e.push(t)}return e},[]);sn(hn,this).push(...t)}var yn=r("bdd7"),En=r("1096"),Cn=r("a73f");const{getListWithInsertedItems:Sn,getListWithRemovedItems:Mn}=Object(yn["a"])("physicallyIndexed");class xn extends En["a"]{constructor(){super(e=>e)}insert(e,t){const r=Object(Cn["b"])(this.indexedValues,t);this.indexedValues=Sn(r,e,t,this.initValueOrFn),super.insert(e,t)}remove(e){const t=Mn(this.indexedValues,e);this.indexedValues=Object(Cn["a"])(t,e),super.remove(e)}}var Tn=xn;const{getListWithInsertedItems:On,getListWithRemovedItems:Nn}=Object(yn["a"])("physicallyIndexed");class Rn extends En["a"]{constructor(){super(e=>e)}insert(e,t){this.indexedValues=On(this.indexedValues,e,t,(e,t)=>this.getNextValue(t)),super.insert(e,t)}remove(e){this.indexedValues=Nn(this.indexedValues,e),super.remove(e)}getNextValue(e){return Math.max(...this.getValues())+1+e}}var Ln=Rn;function In(e,t){kn(e,t),t.add(e)}function kn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Bn(e,t,r){return(t=Dn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dn(e){var t=Fn(e,"string");return"symbol"==typeof t?t:t+""}function Fn(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 Pn(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 jn="bindRowsWithHeaders",Un=210,Hn="loose",Vn=new Map([["loose",Tn],["strict",Ln]]);var Yn=new WeakSet;class Wn extends Jt["a"]{constructor(){super(...arguments),In(this,Yn),Bn(this,"headerIndexes",null)}static get PLUGIN_KEY(){return jn}static get PLUGIN_PRIORITY(){return Un}isEnabled(){return!!this.hot.getSettings()[jn]}enablePlugin(){if(this.enabled)return;let e=this.hot.getSettings()[jn];"string"!==typeof e&&(e=Hn);const t=Vn.get(e);this.headerIndexes=this.hot.rowIndexMapper.registerMap("bindRowsWithHeaders",new t),this.addHook("modifyRowHeader",e=>Pn(Yn,this,Qn).call(this,e)),super.enablePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap("bindRowsWithHeaders"),super.disablePlugin()}destroy(){super.destroy()}}function Qn(e){return this.headerIndexes.getValueAtIndex(this.hot.toPhysicalRow(e))}var zn=r("bd5e");function qn(e,t){Kn(e,t),t.add(e)}function Gn(e,t,r){Kn(e,t),t.set(e,r)}function Kn(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=$n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $n(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 Jn(e,t){return e.get(ti(e,t))}function ei(e,t,r){return e.set(ti(e,t),r),r}function ti(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 ri="collapsibleColumns",ni=290,ii=["nestedHeaders"],ai="collapsibleIndicator",oi=ri,si=new Map([["collapse",{hideColumn:!0,beforeHook:"beforeColumnCollapse",afterHook:"afterColumnCollapse"}],["expand",{hideColumn:!1,beforeHook:"beforeColumnExpand",afterHook:"afterColumnExpand"}]]);var li=new WeakMap,ci=new WeakSet;class ui extends Jt["a"]{constructor(){super(...arguments),qn(this,ci),Xn(this,"nestedHeadersPlugin",null),Xn(this,"headerStateManager",null),Gn(this,li,null)}static get PLUGIN_KEY(){return ri}static get PLUGIN_PRIORITY(){return ni}static get PLUGIN_DEPS(){return["plugin:NestedHeaders"]}static get SETTING_KEYS(){return[ri,...ii]}isEnabled(){return!!this.hot.getSettings()[ri]}enablePlugin(){var e=this;if(this.enabled)return;const{nestedHeaders:t}=this.hot.getSettings();t||Object(zn["b"])("You need to configure the Nested Headers plugin in order to use collapsible headers."),ei(li,this,this.hot.columnIndexMapper.createAndRegisterIndexMap(this.pluginName,"hiding")),this.nestedHeadersPlugin=this.hot.getPlugin("nestedHeaders"),this.headerStateManager=this.nestedHeadersPlugin.getStateManager(),this.addHook("init",()=>ti(ci,this,pi).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 ti(ci,e,fi).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 ti(ci,e,di).call(e,...r)})),this.addHook("beforeOnCellMouseDown",(e,t,r)=>ti(ci,this,hi).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),ei(li,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:oi,relativeToGroup:s["a"],position:"before"})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(oi)}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(rt["rangeEach"])(0,e-1,e=>{const a=t.childNodes[e],o=r.childNodes[e],s=n?n.childNodes[e]:null;Object(rt["rangeEach"])(0,a.childNodes.length-1,e=>{let t=a.childNodes[e].querySelector("."+ai);i(t),o&&o.childNodes[e]&&(t=o.childNodes[e].querySelector("."+ai),i(t)),n&&s&&s.childNodes[e]&&(t=s.childNodes[e].querySelector("."+ai),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(!si.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=si.get(t),c=this.hot.runHooks(l.beforeHook,o,s,n);if(!1===c)return void Object(d["arrayEach"])(i,e=>{e()});this.hot.batchExecution(()=>{Object(d["arrayEach"])(a,e=>{Jn(li,this).setValueAtIndex(this.hot.toPhysicalColumn(e),l.hideColumn)})},!0);const u=this.getCollapsedColumns().length!==o.length,h=this.hot.getSelectedRangeLast();if("collapse"===t&&u&&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,u),this.hot.render(),this.hot.view.adjustElementsSize()}getCollapsedColumns(){return Jn(li,this).getHiddenIndexes()}destroy(){ei(li,this,null),super.destroy()}}function di(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,c=this.hot.getSettings().ariaTags;let u=t.querySelector("."+ai);var d;(Object(i["removeAttribute"])(t,[Object(g["k"])("")[0]]),l)?(u||(u=this.hot.rootDocument.createElement("div"),Object(i["addClass"])(u,ai),t.querySelector("div:first-child").appendChild(u)),Object(i["removeClass"])(u,["collapsed","expanded"]),s?(Object(i["addClass"])(u,"collapsed"),Object(i["fastInnerText"])(u,"+"),c&&Object(i["setAttribute"])(t,...Object(g["k"])(!1))):(Object(i["addClass"])(u,"expanded"),Object(i["fastInnerText"])(u,"-"),c&&Object(i["setAttribute"])(t,...Object(g["k"])(!0))),c&&Object(i["setAttribute"])(u,...Object(g["n"])())):null===(d=u)||void 0===d||d.remove()}function hi(e,t){Object(i["hasClass"])(e.target,ai)&&(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 pi(){this.updatePlugin()}function fi(e,t){t||this.updatePlugin()}var mi=r("97b9"),Ai=r("1b1a"),gi=r("9056");function _i(e,t,r){return(t=vi(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e){var t=bi(e,"string");return"symbol"==typeof t?t:t+""}function bi(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 wi=["sortEmptyCells","indicator","headerAction","compareFunctionFactory"],yi=!1,Ei=!0,Ci=!0;class Si{constructor(e,t){_i(this,"hot",void 0),_i(this,"sortingStates",new gi["a"]),_i(this,"sortEmptyCells",yi),_i(this,"indicator",Ei),_i(this,"headerAction",Ci),_i(this,"compareFunctionFactory",void 0),_i(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)=>{wi.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}}r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3");function Mi(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?Yi:Object(h["isEmpty"])(t)?Object(h["isEmpty"])(i)?Yi:a&&"asc"===e?Wi:Qi:Object(h["isEmpty"])(i)?a&&"asc"===e?Qi:Wi:isNaN(t)&&!isNaN(i)?"asc"===e?Qi:Wi:!isNaN(t)&&isNaN(i)?"asc"===e?Wi:Qi:(isNaN(t)||isNaN(i)||(t=parseFloat(t),i=parseFloat(i)),t<i?"asc"===e?Wi:Qi:t>i?"asc"===e?Qi:Wi:Yi)}}const xi="default";function Ti(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 Yi;if(o){if(Object(h["isEmpty"])(t))return"asc"===e?Wi:Qi;if(Object(h["isEmpty"])(n))return"asc"===e?Qi:Wi}return isNaN(i)?Qi:isNaN(a)?Wi:i<a?"asc"===e?Wi:Qi:i>a?"asc"===e?Qi:Wi:Yi}}const Oi="numeric";function Ni(e,t,r){const n=t.checkedTemplate,i=t.uncheckedTemplate,{sortEmptyCells:a}=r;return function(o,s){const l=Object(h["isEmpty"])(o),c=Object(h["isEmpty"])(s),u=l?i:o,d=c?i:s,p=u===i||u===n,f=d===i||d===n;if(!1===a){if(l&&!1===c)return Qi;if(!1===l&&c)return Wi}return!1===p&&f?"asc"===e?Wi:Qi:p&&!1===f?"asc"===e?Qi:Wi:!1===p&&!1===f?Mi(e,t,r)(o,s):u===i&&d===n?"asc"===e?Wi:Qi:u===n&&d===i?"asc"===e?Qi:Wi:Yi}}const Ri="checkbox";function Li(e,t,r){return ra(e,t.dateFormat,r)}const Ii="date";function ki(e,t,r){return ra(e,t.timeFormat,r)}const Bi="time";var Di=r("9acd");const{register:Fi,getItem:Pi,hasItem:ji}=Object(Di["a"])("sorting.compareFunctionFactory"),{register:Ui,getItem:Hi}=Object(Di["a"])("sorting.mainSortComparator");function Vi(e){return ji(e)?Pi(e):Pi(xi)}Fi(Ri,Ni),Fi(Ii,Li),Fi(xi,Mi),Fi(Oi,Ti),Fi(Bi,ki);const Yi=0,Wi=-1,Qi=1;function zi(e,t){const r=Hi(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))}const qi="asc",Gi="desc",Ki="colHeader";function Xi(e){if(!1===Object(o["isObject"])(e))return!1;const{column:t,sortOrder:r}=e;return Number.isInteger(t)&&[qi,Gi].includes(r)}function $i(e){if(e.some(e=>!1===Xi(e)))return!1;const t=e.map(e=>{let{column:t}=e;return t});return new Set(t).size===t.length}function Zi(e){if(e!==Gi)return e===qi?Gi:qi}function Ji(e){const t=e.querySelector("."+Ki);return t}function ea(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 ta(e,t,r){return-1===e&&t>=0&&!1===Object(a["isRightClick"])(r)}function ra(e,t,r){return function(n,i){const{sortEmptyCells:a}=r;if(n===i)return Yi;if(Object(h["isEmpty"])(n))return Object(h["isEmpty"])(i)?Yi:a&&"asc"===e?Wi:Qi;if(Object(h["isEmpty"])(i))return a&&"asc"===e?Qi:Wi;const o=R(n,t),s=R(i,t);return o.isValid()?s.isValid()?s.isAfter(o)?"asc"===e?Wi:Qi:s.isBefore(o)?"asc"===e?Qi:Wi:Yi:Wi:Qi}}const na="ascending",ia="descending",aa="indicatorDisabled",oa="columnSorting",sa="sortAction",la=new Map([[qi,na],[Gi,ia]]);function ca(e,t,r,n){const i=[oa];if(n&&i.push(sa),!1===r)return i.push(aa),i;const a=e.getSortOrderOfColumn(t);return Object(h["isDefined"])(a)&&i.push(la.get(a)),i}function ua(){return Array.from(la.values()).concat(sa,aa,oa)}function da(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],c=o.columnSorting,u=c.compareFunctionFactory?c.compareFunctionFactory:Vi(o.type),d=u(n,o,c)(s,l);return d}(0)}}function ha(e,t){pa(e,t),t.add(e)}function pa(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fa(e,t,r){return(t=ma(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(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 ga(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 _a="columnSorting",va=50,ba="append",wa="replace",ya=_a;Ui(_a,da),fe["a"].getSingleton().register("beforeColumnSort"),fe["a"].getSingleton().register("afterColumnSort");var Ea=new WeakSet;class Ca extends Jt["a"]{constructor(){super(...arguments),ha(this,Ea),fa(this,"columnStatesManager",null),fa(this,"columnMetaCache",null),fa(this,"pluginKey",_a),fa(this,"indexesSequenceCache",null)}static get PLUGIN_KEY(){return _a}static get PLUGIN_PRIORITY(){return va}isEnabled(){return!!this.hot.getSettings()[this.pluginKey]}enablePlugin(){var e=this;this.enabled||(this.columnStatesManager=new Si(this.hot,this.pluginKey+".sortingStates"),this.columnMetaCache=new lr["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)=>ga(Ea,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 ga(Ea,e,Ta).call(e,...r)})),this.addHook("afterOnCellMouseDown",(e,t)=>this.onAfterOnCellMouseDown(e,t)),this.addHook("afterInit",()=>ga(Ea,this,Sa).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 ga(Ea,e,xa).call(e,...r)})),this.hot.view&&ga(Ea,this,Sa).call(this),this.registerShortcuts(),super.enablePlugin())}disablePlugin(){const e=(e,t)=>{const r=Ji(t);!1!==ea(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),this.indexesSequenceCache=null)},!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:s["a"],position:"before",group:ya})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(ya)}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 Ai["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 $i(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=Zi(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:Zi()}}getNextSortConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ba;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===ba)return[...i.slice(0,r),...i.slice(r+1),a];if(t===wa)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(mi["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(this.hot.rowIndexMapper.setIndexesSequence(this.indexesSequenceCache.getValues()),0===e.length)return;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]);zi(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,ua(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,ca(...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,Ki)}onAfterOnCellMouseDown(e,t){if(!1!==ta(t.row,t.col,e)&&this.wasClickableHeaderClicked(e,t.col)){this.hot.getShortcutManager().isCtrlPressed()&&(this.hot.deselectCell(),this.hot.selectColumns(t.col));const e=this.hot.getActiveEditor(),r=this.getColumnNextConfig(t.col);null!==e&&void 0!==e&&e.isOpened()&&this.hot.getCellValidator(e.row,e.col)?this.hot.addHookOnce("postAfterValidate",()=>{this.sort(r)}):this.sort(r)}}destroy(){var e;null===(e=this.columnStatesManager)||void 0===e||e.destroy(),super.destroy()}}function Sa(){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=Ji(t);if(!1===ea(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(g["K"])(r?r+"ending":"none"))}}function xa(e){!0===e&&this.hot.view&&ga(Ea,this,Sa).call(this)}function Ta(e,t,r,n){!1!==ta(t.row,t.col,e)&&this.wasClickableHeaderClicked(e,t.col)&&this.hot.getShortcutManager().isCtrlPressed()&&(n.column=!0)}function Oa(e,t,r){return(t=Na(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){var t=Ra(e,"string");return"symbol"==typeof t?t:t+""}function Ra(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 La{constructor(e,t){Oa(this,"plugin",void 0),Oa(this,"hot",void 0),Oa(this,"endpoints",[]),Oa(this,"settings",void 0),Oa(this,"settingsType","array"),Oa(this,"currentEndpoint",null),Oa(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(),c=0===e.indexOf("move_row"),u=t;Object(d["arrayEach"])(l,e=>{"row"===o&&e.destinationRow>=u&&(e.alterRowOffset=s*r),"col"===o&&e.destinationColumn>=u&&(e.alterColumnOffset=s*r)}),this.resetAllEndpoints(l,!c),c?Object(d["arrayEach"])(l,e=>{this.extendEndpointRanges(e,u,n[0],n.length),this.recreatePhysicalRanges(e),this.clearOffsetInformation(e)}):Object(d["arrayEach"])(l,e=>{this.shiftEndpointCoordinates(e,u)}),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=[]}refreshCellMetas(){this.endpoints.forEach(e=>{const t=this.hot.toVisualRow(e.destinationRow);if(null!==t){const r=this.hot.getCellMeta(t,e.destinationColumn);r.readOnly=e.readOnly,r.className="columnSummaryResult"}})}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(zn["b"])("One of the Column Summary plugins' destination points you provided is beyond the table boundaries!")}}var Ia=La,ka=r("67a8");function Ba(e){return null===e||void 0===e||isNaN(e)}function Da(e,t){Fa(e,t),t.add(e)}function Fa(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pa(e,t,r){return(t=ja(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){var t=Ua(e,"string");return"symbol"==typeof t?t:t+""}function Ua(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 Ha(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 Va="columnSummary",Ya=220;var Wa=new WeakSet;class Qa extends Jt["a"]{constructor(){super(...arguments),Da(this,Wa),Pa(this,"endpoints",null)}static get PLUGIN_KEY(){return Va}static get PLUGIN_PRIORITY(){return Ya}isEnabled(){return!!this.hot.getSettings()[Va]}enablePlugin(){var e=this;this.enabled||(this.settings=this.hot.getSettings()[Va],this.endpoints=new Ia(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 Ha(Wa,e,za).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 Ha(Wa,e,Ga).call(e,...r)})),this.addHook("afterUpdateSettings",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ha(Wa,e,qa).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 Ha(Wa,e,Ka).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=Ba(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=Ba(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=Ba(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(ka["a"]`ColumnSummary plugin: cell at (${e}, ${t}) is not in a\x20
  486. numeric format. Cannot do the calculation.`);return i}}function za(){this.endpoints.initEndpoints()}function qa(e){void 0!==e.columns&&this.endpoints.refreshCellMetas()}function Ga(e,t){e&&"ColumnSummary.reset"!==t&&"ColumnSummary.set"!==t&&"loadData"!==t&&this.endpoints.refreshChangedEndpoints(e)}function Ka(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)}var Xa=r("7ae0");function $a(e,t){Ja(e,t),t.add(e)}function Za(e,t,r){Ja(e,t),t.set(e,r)}function Ja(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function eo(e,t){return e.get(ro(e,t))}function to(e,t,r){return e.set(ro(e,t),r),r}function ro(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 no=new WeakMap,io=new WeakMap,ao=new WeakMap,oo=new WeakSet;class so{constructor(){$a(this,oo),Za(this,no,!0),Za(this,io,null),Za(this,ao,new ResizeObserver(e=>ro(oo,this,lo).call(this,e)))}setObservedElement(e){to(io,this,e)}unobserve(){eo(ao,this).unobserve(eo(io,this))}observe(){to(no,this,!0),eo(ao,this).observe(eo(io,this))}destroy(){eo(ao,this).disconnect()}}function lo(e){!eo(no,this)&&Array.isArray(e)&&e.length?e.forEach(e=>{let{borderBoxSize:t}=e;const{inlineSize:r,blockSize:n}=t[0];this.runLocalHooks("resize",r,n)}):to(no,this,!1)}function co(e,t,r){uo(e,t),t.set(e,r)}function uo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ho(e,t){return e.get(fo(e,t))}function po(e,t,r){return e.set(fo(e,t),r),r}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")}Object(o["mixin"])(so,Xa["a"]);var mo=new WeakMap,Ao=new WeakMap,go=new WeakMap,_o=new WeakMap,vo=new WeakMap,bo=new WeakMap,wo=new WeakMap;class yo{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){var r=this;co(this,mo,void 0),co(this,Ao,!1),co(this,go,null),co(this,_o,void 0),co(this,vo,void 0),co(this,bo,!0),co(this,wo,new so),po(mo,this,e),po(Ao,this,t),po(_o,this,this.createEditor()),po(vo,this,ho(_o,this).style),ho(wo,this).setObservedElement(this.getInputElement()),ho(wo,this).addLocalHook("resize",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.runLocalHooks("resize",...t)})),this.hide()}setPosition(e,t){ho(vo,this).left=e+"px",ho(vo,this).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())}}observeSize(){ho(wo,this).observe()}resetSize(){const e=this.getInputElement();e.style.width="",e.style.height=""}setReadOnlyState(e){const t=this.getInputElement();t.readOnly=e}show(){ho(vo,this).display="block",po(bo,this,!1)}hide(){ho(wo,this).unobserve(),ho(bo,this)||(ho(vo,this).display="none"),po(bo,this,!0)}isVisible(){return"block"===ho(vo,this).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 ho(mo,this).activeElement===this.getInputElement()}focus(){this.getInputElement().focus()}createEditor(){const e=ho(mo,this).createElement("div"),t=ho(mo,this).createElement("textarea");return e.style.display="none",po(go,this,ho(mo,this).createElement("div")),ho(go,this).setAttribute("dir",ho(Ao,this)?"rtl":"ltr"),Object(i["addClass"])(ho(go,this),yo.CLASS_EDITOR_CONTAINER),ho(mo,this).body.appendChild(ho(go,this)),Object(i["addClass"])(e,yo.CLASS_EDITOR),Object(i["addClass"])(t,yo.CLASS_INPUT),t.setAttribute("data-hot-input",!0),e.appendChild(t),ho(go,this).appendChild(e),e}getInputElement(){return ho(_o,this).querySelector("."+yo.CLASS_INPUT)}destroy(){const e=ho(go,this)?ho(go,this).parentNode:null;ho(_o,this).parentNode.removeChild(ho(_o,this)),po(_o,this,null),po(vo,this,null),ho(wo,this).destroy(),e&&e.removeChild(ho(go,this))}}Object(o["mixin"])(yo,Xa["a"]);var Eo=yo;function Co(e,t,r){return(t=So(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function So(e){var t=Mo(e,"string");return"symbol"==typeof t?t:t+""}function Mo(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 xo=250,To=250;class Oo{constructor(e){Co(this,"wasLastActionShow",!0),Co(this,"showDebounced",null),Co(this,"hidingTimer",null),this.updateDelay(e)}hide(){this.wasLastActionShow=!1,this.hidingTimer=setTimeout(()=>{!1===this.wasLastActionShow&&this.runLocalHooks("hide")},To)}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]:xo;this.showDebounced=Object(mi["debounce"])(e=>{this.wasLastActionShow&&this.runLocalHooks("show",e.from.row,e.from.col)},e)}destroy(){this.clearLocalHooks()}}Object(o["mixin"])(Oo,Xa["a"]);var No=Oo;const Ro="---------";function Lo(){return{name:Ro}}function Io(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();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 ko(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 Bo(e,t){if(-1!==e.indexOf(t))return e;const r=e.replace("htTop","").replace("htMiddle","").replace("htBottom","").replace(" ","");return`${r} ${t}`}function Do(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 Fo(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 Po(e,t,r,n,i){Object(d["arrayEach"])(e,e=>{e.forAll((e,a)=>{e>=0&&a>=0&&jo(e,a,t,r,n,i)})})}function jo(e,t,r,n,i,a){const o=i(e,t);let s=n;o.className&&(s="vertical"===r?Bo(o.className,n):Do(o.className,n)),a(e,t,"className",s)}function Uo(e){return`<span class="selected">${String.fromCharCode(10003)}</span>${e}`}function Ho(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 Vo(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 Yo(e){return function(t,r){const n=this.getCellMeta(t,r).className;return n&&-1!==n.indexOf(e)}}function Wo(e,t){return Ho(e.getSelectedRange(),Yo(t).bind(e))}function Qo(e){return{key:"commentsReadOnly",name(){const t=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_READ_ONLY_COMMENT"]),r=Ho(this.getSelectedRange(),(t,r)=>e.getCommentMeta(t,r,os));return r?Uo(t):t},callback(){const t=this.getSelectedRangeLast();t.forAll((t,r)=>{if(t>=0&&r>=0){const n=!!e.getCommentMeta(t,r,os);e.updateCommentMeta(t,r,{[os]:!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 zo(e,t){Go(e,t),t.add(e)}function qo(e,t,r){Go(e,t),t.set(e,r)}function Go(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ko(e,t,r){return(t=Xo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(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)}function Zo(e,t,r){return e.set(es(e,t),r),r}function Jo(e,t){return e.get(es(e,t))}function es(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 ts="comments",rs=60,ns="comment",is="value",as="style",os="readOnly",ss=ts,ls="plugin:"+ts;var cs=new WeakMap,us=new WeakMap,ds=new WeakMap,hs=new WeakMap,ps=new WeakMap,fs=new WeakMap,ms=new WeakSet;class As extends Jt["a"]{constructor(){super(...arguments),zo(this,ms),Ko(this,"range",{}),qo(this,cs,null),qo(this,us,null),qo(this,ds,!1),qo(this,hs,!1),qo(this,ps,null),qo(this,fs,"")}static get PLUGIN_KEY(){return ts}static get PLUGIN_PRIORITY(){return rs}isEnabled(){return!!this.hot.getSettings()[ts]}enablePlugin(){var e=this;this.enabled||(Jo(cs,this)||(Zo(cs,this,new Eo(this.hot.rootDocument,this.hot.isRtl())),Jo(cs,this).addLocalHook("resize",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return es(ms,e,Es).call(e,...r)}))),Jo(us,this)||Zo(us,this,new No(this.getDisplayDelaySetting())),this.addHook("afterContextMenuDefaultOptions",e=>this.addToContextMenu(e)),this.addHook("afterRenderer",(e,t,r,n,i,a)=>es(ms,this,bs).call(this,e,a)),this.addHook("afterScroll",()=>es(ms,this,Ss).call(this)),this.addHook("afterBeginEditing",()=>this.hide()),this.addHook("afterDocumentKeyDown",e=>es(ms,this,Cs).call(this,e)),Jo(us,this).addLocalHook("hide",()=>this.hide()),Jo(us,this).addLocalHook("show",(e,t)=>this.showAtCell(e,t)),this.registerShortcuts(),this.registerListeners(),super.enablePlugin())}updatePlugin(){Jo(us,this).updateDelay(this.getDisplayDelaySetting()),super.updatePlugin()}disablePlugin(){this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid"),r=e.addContext(ls);t.addShortcut({keys:[["Control","Alt","M"]],callback:()=>{const t=this.hot.getSelectedRangeLast();Zo(hs,this,!0),this.hot.scrollToFocusedCell(()=>{this.setRange(t),this.show(),this.focusEditor(),e.setActiveContextName(ls),this.hot._registerTimeout(()=>{Zo(hs,this,!1)})})},stopPropagation:!0,runOnlyIf:()=>{var e;return(null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight.isCell())&&!Jo(cs,this).isVisible()},group:ss}),r.addShortcut({keys:[["Escape"]],callback:()=>{Jo(cs,this).setValue(Jo(fs,this)),this.hide(),e.setActiveContextName("grid")},runOnlyIf:()=>Jo(cs,this).isVisible()&&Jo(cs,this).isFocused(),group:ss}),r.addShortcut({keys:[["Control/Meta","Enter"]],callback:()=>{this.hide(),e.setActiveContextName("grid")},runOnlyIf:()=>Jo(cs,this).isVisible()&&Jo(cs,this).isFocused(),group:ss})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(ss)}registerListeners(){const{rootDocument:e}=this.hot,t=this.getEditorInputElement();this.eventManager.addEventListener(e,"mouseover",e=>es(ms,this,_s).call(this,e)),this.eventManager.addEventListener(e,"mousedown",e=>es(ms,this,gs).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>es(ms,this,vs).call(this)),this.eventManager.addEventListener(t,"focus",()=>es(ms,this,ys).call(this)),this.eventManager.addEventListener(t,"blur",()=>es(ms,this,ws).call(this))}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=Jo(cs,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,{[is]: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,ns),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,is)}getCommentAtCell(e,t){return this.getCommentMeta(e,t,is)}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 Jo(us,this).cancelHiding(),Jo(cs,this).setValue(null!==(e=n[ns]?n[ns][is]:null)&&void 0!==e?e:""),Jo(cs,this).show(),this.refreshEditor(!0),!0}showAtCell(e,t){return this.setRange({from:this.hot._createCellCoords(e,t)}),this.show()}hide(){Jo(cs,this).hide()}refreshEditor(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!r&&(!this.range.from||!Jo(cs,this).isVisible()))return;const{rowIndexMapper:n,columnIndexMapper:a}=this.hot,{row:o,col:s}=this.range.from;let l=n.getRenderableFromVisualIndex(o),c=a.getRenderableFromVisualIndex(s);const u=null===l;Jo(cs,this).setPosition(0,0),null===l&&(l=n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o,-1))),null===c&&(c=a.getRenderableFromVisualIndex(a.getNearestNotHiddenIndex(s,-1)));const d=null===l,h=null===c;l=null!==(e=l)&&void 0!==e?e:0,c=null!==(t=c)&&void 0!==t?t:0;const{rootWindow:p,view:{_wt:f}}=this.hot,{wtTable:m}=f,A=f.getCell({row:l,col:c},!0),g=this.getCommentMeta(o,s,as);g?Jo(cs,this).setSize(g.width,g.height):Jo(cs,this).resetSize();const _=h?0:m.getStretchedColumnWidth(c),v=u&&!d?Object(i["outerHeight"])(A):0,{left:b,top:w,width:y,height:E}=A.getBoundingClientRect(),{width:C,height:S}=Jo(cs,this).getSize(),{innerWidth:M,innerHeight:x}=this.hot.rootWindow,T=this.hot.rootDocument.documentElement;let O=b+p.scrollX+_,N=w+p.scrollY+v;this.hot.isRtl()&&(O-=C+_),this.hot.isLtr()&&b+y+C>M?O=b+p.scrollX-C-1:this.hot.isRtl()&&O<-(T.scrollWidth-T.clientWidth)&&(O=b+p.scrollX+_+1),w+S>x&&(N-=S-E+1),Jo(cs,this).setPosition(O,N),Jo(cs,this).setReadOnlyState(this.getCommentMeta(o,s,os)),Jo(cs,this).observeSize()}focusEditor(){Jo(cs,this).focus()}updateCommentMeta(e,t,r){const n=this.hot.getCellMeta(e,t)[ns];let i;n?(i=Object(o["deepClone"])(n),Object(o["deepExtend"])(i,r)):i=r,this.hot.setCellMeta(e,t,ns,i)}getCommentMeta(e,t,r){const n=this.hot.getCellMeta(e,t);if(n[ns])return n[ns][r]}addToContextMenu(e){e.items.push({name:Ro},Io(this),ko(this),Qo(this))}getDisplayDelaySetting(){const e=this.hot.getSettings()[ts];if(Object(o["isObject"])(e))return e.displayDelay}getEditorInputElement(){return Jo(cs,this).getInputElement()}destroy(){var e,t;null===(e=Jo(cs,this))||void 0===e||e.destroy(),null===(t=Jo(us,this))||void 0===t||t.destroy(),super.destroy()}}function gs(e){if(this.hot.view&&this.hot.view._wt&&!Jo(ds,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 _s(e){const{rootDocument:t}=this.hot;if(!(Jo(ds,this)||Jo(cs,this).isFocused()||Object(i["hasClass"])(e.target,"wtBorder")||Jo(ps,this)===e.target)&&Jo(cs,this))if(Zo(ps,this,t.elementFromPoint(e.clientX,e.clientY)),this.targetIsCellWithComment(e)){const t=this.hot._createCellRange(this.hot.getCoords(e.target));Jo(us,this).show(t)}else Object(i["isChildOf"])(e.target,t)&&!this.targetIsCommentTextArea(e)&&Jo(us,this).hide()}function vs(){Zo(ds,this,!1)}function bs(e,t){t[ns]&&t[ns][is]&&Object(i["addClass"])(e,t.commentedCellClassName)}function ws(){Zo(fs,this,""),this.hot.getShortcutManager().setActiveContextName("grid"),this.setComment()}function ys(){Zo(fs,this,this.getComment()),this.hot.listen(),this.hot.getShortcutManager().setActiveContextName(ls)}function Es(e,t){this.updateCommentMeta(this.range.from.row,this.range.from.col,{[as]:{width:e,height:t}})}function Cs(e){Jo(cs,this).isVisible()&&Object(a["stopImmediatePropagation"])(e)}function Ss(){Jo(hs,this)||this.hide()}r("3c65");function Ms(e,t,r){return(t=xs(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(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 Os{constructor(e){Ms(this,"hot",void 0),Ms(this,"commands",{}),Ms(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=Ns(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 c=[];"function"===typeof l.callback&&c.push(l.callback),"function"===typeof this.commonCallback&&c.push(this.commonCallback),r.unshift(i.join(":")),Object(d["arrayEach"])(c,e=>e.apply(this.hot,r))}}function Ns(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 Rs="alignment";function Ls(){return{key:Rs,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:Rs+":left",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"])},ariaChecked(){return Wo(this,"htLeft")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"]);return Wo(this,"htLeft")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htLeft";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Rs+":center",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"])},ariaChecked(){return Wo(this,"htCenter")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"]);return Wo(this,"htCenter")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htCenter";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Rs+":right",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"])},ariaChecked(){return Wo(this,"htRight")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"]);return Wo(this,"htRight")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htRight";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Rs+":justify",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"])},ariaChecked(){return Wo(this,"htJustify")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"]);return Wo(this,"htJustify")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="horizontal",n="htJustify";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{name:Ro},{key:Rs+":top",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"])},ariaChecked(){return Wo(this,"htTop")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"]);return Wo(this,"htTop")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="vertical",n="htTop";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Rs+":middle",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"])},ariaChecked(){return Wo(this,"htMiddle")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"]);return Wo(this,"htMiddle")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="vertical",n="htMiddle";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1},{key:Rs+":bottom",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"])},ariaChecked(){return Wo(this,"htBottom")},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"]);return Wo(this,"htBottom")&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Fo(e,(e,t)=>this.getCellMeta(e,t).className),r="vertical",n="htBottom";this.runHooks("beforeCellAlignment",t,e,r,n),Po(e,r,n,(e,t)=>this.getCellMeta(e,t),(e,t,r,n)=>this.setCellMeta(e,t,r,n)),this.render()},disabled:!1}]}}}const Is="clear_column";function ks(){return{key:Is,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 Bs="col_left";function Ds(){return{key:Bs,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 Fs="col_right";function Ps(){return{key:Fs,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 js="make_read_only";function Us(){return{key:js,checkable:!0,ariaChecked(){const e=Ho(this.getSelectedRange(),(e,t)=>this.getCellMeta(e,t).readOnly);return e},ariaLabel(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_READ_ONLY"])},name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_READ_ONLY"]);const t=Ho(this.getSelectedRange(),(e,t)=>this.getCellMeta(e,t).readOnly);return t&&(e=Uo(e)),e},callback(){const e=this.getSelectedRange(),t=Ho(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 Hs="redo";function Vs(){return{key:Hs,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 Ys=r("a952");const Ws="remove_col";function Qs(){return{key:Ws,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(Ys["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 zs="remove_row";function qs(){return{key:zs,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(Ys["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 Gs="row_above";function Ks(){return{key:Gs,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 Xs="row_below";function $s(){return{key:Xs,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 Zs="no_items";function Js(){return{key:Zs,name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_NO_ITEMS"])},disabled:!0,isCommand:!1}}const el="undo";function tl(){return{key:el,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 rl=[Gs,Xs,Bs,Fs,Is,zs,Ws,el,Hs,js,Rs,Ro,Zs],nl={[Ro]:Lo,[Zs]:Js,[Gs]:Ks,[Xs]:$s,[Bs]:Ds,[Fs]:Ps,[Is]:ks,[zs]:qs,[Ws]:Qs,[el]:tl,[Hs]:Vs,[js]:Us,[Rs]:Ls};function il(){const e={};return Object(o["objectEach"])(nl,(t,r)=>{e[r]=t()}),e}function al(e,t,r){return(t=ol(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){var t=sl(e,"string");return"symbol"==typeof t?t:t+""}function sl(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 ll{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;al(this,"hot",void 0),al(this,"predefinedItems",il()),al(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===Ro?(t[Ro]=e,n=Ro):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 cl(e,this.defaultOrderPattern,this.predefinedItems)}}function cl(){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&&rl.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 ul(e,t,r){return(t=dl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){var t=hl(e,"string");return"symbol"==typeof t?t:t+""}function hl(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 pl{constructor(e,t){ul(this,"top",void 0),ul(this,"topRelative",void 0),ul(this,"left",void 0),ul(this,"leftRelative",void 0),ul(this,"scrollTop",void 0),ul(this,"scrollLeft",void 0),ul(this,"cellHeight",void 0),ul(this,"cellWidth",void 0);const r=t.scrollY,n=t.scrollX;let i,a,o,s,l,c;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,c=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,c=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=c}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 fl(e,t,r){ml(e,t),t.set(e,r)}function ml(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Al(e,t){return e.get(_l(e,t))}function gl(e,t,r){return e.set(_l(e,t),r),r}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")}var vl=new WeakMap,bl=new WeakMap,wl=new WeakMap,yl=new WeakMap,El=new WeakMap;class Cl{constructor(e){fl(this,vl,void 0),fl(this,bl,void 0),fl(this,wl,void 0),fl(this,yl,!1),fl(this,El,{above:0,below:0,left:0,right:0}),gl(yl,this,e)}setOffset(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Al(El,this)[e]=t,this}setElement(e){return gl(vl,this,e),this}setParentElement(e){return gl(bl,this,e),this}updatePosition(e){gl(wl,this,new pl(e,Al(vl,this).ownerDocument.defaultView)),Al(yl,this)?(Al(wl,this).fitsBelow(Al(vl,this))?this.setPositionBelowCursor():Al(wl,this).fitsAbove(Al(vl,this))?this.setPositionAboveCursor():this.setPositionBelowCursor(),this.updateHorizontalPosition()):(this.setPositionBelowCursor(),this.setPositionOnRightOfCursor())}updateHorizontalPosition(){"rtl"===Al(vl,this).dir?Al(wl,this).fitsOnLeft(Al(vl,this))?this.setPositionOnLeftOfCursor():this.setPositionOnRightOfCursor():Al(wl,this).fitsOnRight(Al(vl,this))?this.setPositionOnRightOfCursor():this.setPositionOnLeftOfCursor()}setPositionAboveCursor(){let e=Al(El,this).above+Al(wl,this).top-Al(vl,this).offsetHeight;Al(bl,this)&&(e=Al(wl,this).top+Al(wl,this).cellHeight-Al(vl,this).offsetHeight+3),Al(vl,this).style.top=e+"px"}setPositionBelowCursor(){let e=Al(El,this).below+Al(wl,this).top+1;Al(bl,this)&&(e=Al(wl,this).top-1),Al(vl,this).style.top=e+"px"}setPositionOnRightOfCursor(){let e=Al(wl,this).left;if(Al(bl,this)){const t=Number.parseInt(getComputedStyle(Al(bl,this).querySelector(".htCore")).borderRightWidth,10);e+=Al(wl,this).cellWidth+t}else e+=Al(El,this).right;Al(vl,this).style.left=e+"px"}setPositionOnLeftOfCursor(){let e=Al(El,this).left+Al(wl,this).left-Al(vl,this).offsetWidth;if(Al(bl,this)){const t=Number.parseInt(getComputedStyle(Al(bl,this).querySelector(".htCore")).borderLeftWidth,10);e-=t}Al(vl,this).style.left=e+"px"}}function Sl(e){let{initialPage:t=-1,size:r=(()=>0),onItemSelect:n=(()=>{}),onClear:i=(()=>{})}=e;const a=new Set;let o=Object(rt["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 c(){return o}function u(){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:c,toFirstItem:u,toLastItem:d,toNextItem:h,toPreviousItem:p,getSize:f,clear:m}}function Ml(e){return Object(d["arrayMap"])(e,e=>({start:e.getTopStartCorner(),end:e.getBottomEndCorner()}))}function xl(e){return Object(o["hasOwnProperty"])(e,"submenu")}function Tl(e){return new RegExp(Ro,"i").test(e.name)}function Ol(e,t){return!0===e.disabled||"function"===typeof e.disabled&&!0===e.disabled.call(t)}function Nl(e){return Object(o["hasOwnProperty"])(e,"disableSelection")}function Rl(e){return Object(i["hasClass"])(e,"htSeparator")}function Ll(e){return Object(i["hasClass"])(e,"htSubmenu")}function Il(e){return Object(i["hasClass"])(e,"htDisabled")}function kl(e){return Object(i["hasClass"])(e,"htSelectionDisabled")}function Bl(e,t){return!e.hidden||!("function"===typeof e.hidden&&e.hidden.call(t))}function Dl(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 Fl(e,t){let r=e.slice(0);return r.reverse(),r=Dl(r,t),r.reverse(),r}function Pl(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 jl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ro,r=e.slice(0);return r=Dl(r,t),r=Fl(r,t),r=Pl(r),r}function Ul(e){return!0===e.checkable}function Hl(e){return Sl({size:()=>e.countRows(),onItemSelect(t,r){const n=e.getCell(t,0);if(!n||Rl(n)||Il(n)||kl(n))return!1;e.selectCell(t,0,...r?[t,0,!1,!1]:[])},onClear(){e.deselectCell()}})}function Vl(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 Yl="menu",Wl=Yl;function Ql(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=[];function n(e,t){s(t).addShortcuts(e,{group:Yl})}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?`${Wl}:${e}`:Wl}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(Vl(e)),t.forEach(e=>{let{shortcuts:t,contextName:r}=e;i(t,r)}),{addCustomShortcuts:i,getCustomShortcuts:a,getContext:s,listen:l}}function zl(e){return(t,r,n,a,o,s)=>{const l=t.getSourceDataAtRow(n),c=e.rootDocument.createElement("div"),u="function"===typeof s?s.call(e):s,d="function"===typeof l.ariaLabel?l.ariaLabel.call(e):l.ariaLabel,h="function"===typeof l.ariaChecked?l.ariaChecked.call(e):l.ariaChecked;if(Object(i["empty"])(r),Object(i["addClass"])(c,"htItemWrapper"),e.getSettings().ariaTags){const t=!Ol(l,e)&&!Nl(l)&&!Tl(l);Object(i["setAttribute"])(r,[...Ul(l)?[Object(g["u"])(),Object(g["p"])(d),Object(g["d"])(h)]:[Object(g["t"])(),Object(g["p"])(u)],...t?[Object(g["L"])(-1)]:[],...Ol(l,e)?[Object(g["j"])()]:[],...xl(l)?[Object(g["k"])(!1)]:[]])}r.className="",r.appendChild(c),Tl(l)?Object(i["addClass"])(r,"htSeparator"):"function"===typeof l.renderer?(Object(i["addClass"])(r,"htCustomMenuRenderer"),r.appendChild(l.renderer(t,c,n,a,o,u))):Object(i["fastInnerHTML"])(c,u),Ol(l,e)?Object(i["addClass"])(r,"htDisabled"):Nl(l)?Object(i["addClass"])(r,"htSelectionDisabled"):xl(l)&&Object(i["addClass"])(r,"htSubmenu")}}function ql(e,t,r){Gl(e,t),t.set(e,r)}function Gl(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Kl(e,t,r){return(t=Xl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(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 Zl(e,t,r){return e.set(ec(e,t),r),r}function Jl(e,t){return e.get(ec(e,t))}function ec(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 tc=215;var rc=new WeakMap,nc=new WeakMap,ic=new WeakMap;class ac{get tableBorderWidth(){return void 0===Jl(ic,this)&&this.hotMenu&&Zl(ic,this,parseInt(Object(i["getComputedStyle"])(this.hotMenu.view._wt.wtTable.TABLE).borderWidth,10)),Jl(ic,this)}constructor(e,t){var r=this;Kl(this,"hot",void 0),Kl(this,"options",void 0),Kl(this,"eventManager",new Le["a"](this)),Kl(this,"container",void 0),Kl(this,"positioner",void 0),Kl(this,"hotMenu",null),Kl(this,"hotSubMenus",{}),Kl(this,"parentMenu",void 0),Kl(this,"menuItems",null),Kl(this,"origOutsideClickDeselects",null),ql(this,rc,void 0),ql(this,nc,void 0),ql(this,ic,void 0),this.hot=e,this.options=t||{parent:null,name:null,className:"",keepInViewport:!0,standalone:!1,minWidth:tc,container:this.hot.rootDocument.documentElement},this.container=this.createContainer(this.options.name),this.positioner=new Cl(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,"touchstart",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 Jl(rc,this)}getKeyboardShortcutsCtrl(){return Jl(nc,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(mi["debounce"])(e=>this.openSubMenu(e),300),t=this.options.minWidth||tc;let r=!1,n=Object(d["arrayFilter"])(this.menuItems,e=>(e.key===Zs&&(r=!0),Bl(e,this.hot)));if(n.length<1&&!r)n.push(il()[Zs]);else if(0===n.length)return;n=jl(n,Ro);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:zl(this.hot)}],renderAllRows:!0,fragmentSelection:!1,outsideClickDeselects:!1,disableVisualSelection:"area",layoutDirection:this.hot.isRtl()?"rtl":"ltr",ariaTags:!1,beforeOnCellMouseOver:(e,t)=>{Jl(rc,this).setCurrentPage(t.row)},afterOnCellMouseOver:(t,r)=>{this.isAllSubMenusClosed()?e(r.row):this.openSubMenu(r.row)},rowHeights:e=>n[e].name===Ro?1:void 0,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(),Zl(rc,this,Hl(this.hotMenu)),Zl(nc,this,Ql(this)),Jl(nc,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(Jl(rc,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(g["k"])(!1)])}}this.parentMenu.hotMenu.listen()}}openSubMenu(e){if(!this.hotMenu)return!1;const t=this.hotMenu.getCell(e,0);if(this.closeAllSubMenus(),!t||!Ll(t))return!1;const r=this.hotMenu.getSourceDataAtRow(e),n=new ac(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(g["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(g["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?Ml(r):[];this.runLocalHooks("executeCommand",t.key,n,e),this.isSubMenu()&&this.parentMenu.runLocalHooks("executeCommand",t.key,n,e)}isCommandPassive(e){return!1===e.isCommand||Tl(e)||Ol(e,this.hot)||xl(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)}updateMenuDimensions(){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,r)=>{const n=this.hotMenu.getCell(r,0),a=n?Object(i["outerHeight"])(this.hotMenu.getCell(r,0)):0;return e+(t.name===Ro?1:a)},0);n.width=a+3+"px",n.height=o+3+"px",r.height=n.height}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(mi["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(){this.updateMenuDimensions(),this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.hotMenu.rootElement,[Object(g["s"])(),Object(g["L"])(-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 oc(e,t){sc(e,t),t.add(e)}function sc(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function lc(e,t,r){return(t=cc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){var t=uc(e,"string");return"symbol"==typeof t?t:t+""}function uc(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 dc(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"])(ac,Xa["a"]);const hc="contextMenu",pc=70,fc=hc;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 mc=new WeakSet;class Ac extends Jt["a"]{constructor(){super(...arguments),oc(this,mc),lc(this,"commandExecutor",new Os(this.hot)),lc(this,"itemsFactory",null),lc(this,"menu",null)}static get PLUGIN_KEY(){return hc}static get PLUGIN_PRIORITY(){return pc}static get PLUGIN_DEPS(){return["plugin:AutoColumnSize"]}static get DEFAULT_ITEMS(){return[Gs,Xs,Ro,Bs,Fs,Ro,zs,Ws,Ro,el,Hs,Ro,js,Ro,Rs]}isEnabled(){return!!this.hot.getSettings()[hc]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[hc];"function"===typeof t.callback&&this.commandExecutor.setCommonCallback(t.callback),this.menu=new ac(this.hot,{className:"htContextMenu",keepInViewport:!0,container:t.uiContainer||this.hot.rootDocument.body}),this.menu.addLocalHook("beforeOpen",()=>dc(mc,this,_c).call(this)),this.menu.addLocalHook("afterOpen",()=>dc(mc,this,vc).call(this)),this.menu.addLocalHook("afterClose",()=>dc(mc,this,bc).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=>dc(mc,this,gc).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=Vo(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:fc})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(fc)}open(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{above:0,below:0,left:0,right:0};if(null!==(t=this.menu)&&void 0!==t&&t.isOpened())return;this.prepareMenuItems(),this.menu.open();const n=this.menu.tableBorderWidth>0;n||(r.below+=1,r.right+=1,r.above-=1,r.left-=1),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 ll(this.hot,Ac.DEFAULT_ITEMS);const e=this.hot.getSettings()[hc],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 gc(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=Vo(this.menu.container,this.hot.rootDocument);this.open({top:e.clientY+s.top,left:e.clientX+s.left})}function _c(){this.hot.runHooks("beforeContextMenuShow",this)}function vc(){this.hot.runHooks("afterContextMenuShow",this)}function bc(){this.hot.listen(),this.hot.runHooks("afterContextMenuHide",this)}Ac.SEPARATOR={name:Ro};var wc=r("3bc4");function yc(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 Ec(e){return{key:"copy_column_headers_only",name(){const e=this.getSelectedRangeLast(),t=e?Object(rt["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 Cc(e){return{key:"copy_with_column_group_headers",name(){const e=this.getSelectedRangeLast(),t=e?Object(rt["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 Sc(e){return{key:"copy_with_column_headers",name(){const e=this.getSelectedRangeLast(),t=e?Object(rt["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 Mc(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 xc{constructor(){this.data={}}setData(e,t){this.data[e]=t}getData(e){return this.data[e]||void 0}}class Tc{constructor(){this.clipboardData=new xc}preventDefault(){}}function Oc(e,t){Rc(e,t),t.add(e)}function Nc(e,t,r){Rc(e,t),t.set(e,r)}function Rc(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Lc(e,t){return e.get(kc(e,t))}function Ic(e,t,r){return e.set(kc(e,t),r),r}function kc(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 Bc=new WeakMap,Dc=new WeakMap,Fc=new WeakMap,Pc=new WeakMap,jc=new WeakMap,Uc=new WeakMap,Hc=new WeakSet;class Vc{constructor(e){let{countRows:t,countColumns:r,rowsLimit:n,columnsLimit:i,countColumnHeaders:a}=e;Oc(this,Hc),Nc(this,Bc,void 0),Nc(this,Dc,void 0),Nc(this,Fc,void 0),Nc(this,Pc,void 0),Nc(this,jc,void 0),Nc(this,Uc,void 0),Ic(Dc,this,t),Ic(Fc,this,r),Ic(Pc,this,n),Ic(jc,this,i),Ic(Uc,this,a)}setSelectedRange(e){Ic(Bc,this,e)}getCellsRange(){if(0===Lc(Dc,this).call(this)||0===Lc(Fc,this).call(this))return null;const{row:e,col:t}=Lc(Bc,this).getTopStartCorner(),{row:r,col:n}=Lc(Bc,this).getBottomEndCorner(),i=kc(Hc,this,Wc).call(this,e,r),a=kc(Hc,this,Yc).call(this,t,n),o=r!==i||n!==a;return{isRangeTrimmed:o,startRow:e,startCol:t,endRow:i,endCol:a}}getMostBottomColumnHeadersRange(){if(0===Lc(Fc,this).call(this)||0===Lc(Uc,this).call(this))return null;const{col:e}=Lc(Bc,this).getTopStartCorner(),{col:t}=Lc(Bc,this).getBottomEndCorner(),r=kc(Hc,this,Yc).call(this,e,t),n=t!==r;return{isRangeTrimmed:n,startRow:-1,startCol:e,endRow:-1,endCol:r}}getAllColumnHeadersRange(){if(0===Lc(Fc,this).call(this)||0===Lc(Uc,this).call(this))return null;const{col:e}=Lc(Bc,this).getTopStartCorner(),{col:t}=Lc(Bc,this).getBottomEndCorner(),r=kc(Hc,this,Yc).call(this,e,t),n=t!==r;return{isRangeTrimmed:n,startRow:-Lc(Uc,this).call(this),startCol:e,endRow:-1,endCol:r}}}function Yc(e,t){return Math.min(t,Math.max(e+Lc(jc,this).call(this)-1,e))}function Wc(e,t){return Math.min(t,Math.max(e+Lc(Pc,this).call(this)-1,e))}function Qc(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(rt["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(rt["rangeEach"])(a,o,e=>{-1===r.indexOf(e)&&r.push(e)})}),{rows:t,columns:r}}var zc=r("a776");function qc(e,t){Kc(e,t),t.add(e)}function Gc(e,t,r){Kc(e,t),t.set(e,r)}function Kc(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Xc(e,t,r){return(t=$c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(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 Jc(e,t){return e.get(tu(e,t))}function eu(e,t,r){return e.set(tu(e,t),r),r}function tu(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 ru="copyPaste",nu=80,iu=["fragmentSelection"],au=['<meta name="generator" content="Handsontable"/>','<style type="text/css">td{white-space:normal}br{mso-data-placement:same-cell}</style>'].join("");var ou=new WeakMap,su=new WeakMap,lu=new WeakMap,cu=new WeakMap,uu=new WeakMap,du=new WeakMap,hu=new WeakMap,pu=new WeakMap,fu=new WeakSet;class mu extends Jt["a"]{constructor(){super(...arguments),qc(this,fu),Xc(this,"columnsLimit",1/0),Xc(this,"rowsLimit",1/0),Xc(this,"pasteMode","overwrite"),Xc(this,"uiContainer",this.hot.rootDocument.body),Gc(this,ou,!1),Gc(this,su,!1),Gc(this,lu,!1),Gc(this,cu,"cells-only"),Gc(this,uu,!1),Gc(this,du,!1),Gc(this,hu,new Vc({countRows:()=>this.hot.countRows(),countColumns:()=>this.hot.countCols(),rowsLimit:()=>this.rowsLimit,columnsLimit:()=>this.columnsLimit,countColumnHeaders:()=>this.hot.view.getColumnHeadersCount()})),Gc(this,pu,!1),Xc(this,"copyableRanges",[])}static get PLUGIN_KEY(){return ru}static get SETTING_KEYS(){return[ru,...iu]}static get PLUGIN_PRIORITY(){return nu}isEnabled(){return!!this.hot.getSettings()[ru]}enablePlugin(){var e=this;if(this.enabled)return;const{[ru]: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,eu(ou,this,!!t.copyColumnHeaders),eu(su,this,!!t.copyColumnGroupHeaders),eu(lu,this,!!t.copyColumnHeadersOnly),this.uiContainer=null!==(n=t.uiContainer)&&void 0!==n?n:this.uiContainer);this.addHook("afterContextMenuDefaultOptions",e=>tu(fu,this,bu).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 tu(fu,e,wu).call(e,...r)})),this.addHook("afterSelectionEnd",()=>tu(fu,this,yu).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 tu(fu,e,Eu).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 tu(fu,e,Cu).call(e,...r)})),this.addHook("afterSelection",()=>tu(fu,this,Su).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";eu(cu,this,e),eu(uu,this,!0),tu(fu,this,Au).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(){eu(du,this,!0),tu(fu,this,Au).call(this,"cut")}getRangedCopyableData(e){return Object(wc["b"])(this.getRangedData(e))}getRangedData(e){const t=[],{rows:r,columns:n}=Qc(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 Tc;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=[]);Jc(hu,this).setSelectedRange(e);const t=new Map([["headers",null],["cells",null]]);"column-headers-only"===Jc(cu,this)?t.set("headers",Jc(hu,this).getMostBottomColumnHeadersRange()):("with-column-headers"===Jc(cu,this)?t.set("headers",Jc(hu,this).getMostBottomColumnHeadersRange()):"with-column-group-headers"===Jc(cu,this)&&t.set("headers",Jc(hu,this).getAllColumnHeadersRange()),t.set("cells",Jc(hu,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 c=a,u=o,d=a,h=o;while(i.length<r||c<=s){const{skipRowOnPaste:t,visualRow:s}=this.hot.getCellMeta(c,o);if(c=s+1,!0===t)continue;d=s,u=o;const p=[],f=i.length%r;while(p.length<n||u<=l){const{skipColumnOnPaste:t,visualCol:r}=this.hot.getCellMeta(a,u);if(u=r+1,!0===t)continue;h=r;const i=p.length%n;p.push(e[f][i])}i.push(p)}return eu(pu,this,!0),this.hot.populateFromArray(a,o,i,void 0,void 0,"CopyPaste.paste",this.pasteMode),[a,o,d,h]}onCopy(e){var t;const r=this.hot.getFocusManager().getRefocusElement(),n=null===(t=e.target)||void 0===t?void 0:t.hasAttribute("data-hot-input");if(!this.hot.isListening()&&!Jc(uu,this)||this.isEditorOpened()||e.target instanceof HTMLElement&&(n&&e.target!==r||!n&&e.target!==this.hot.rootDocument.body))return;e.preventDefault(),this.setCopyableText(),eu(uu,this,!1);const i=this.getRangedData(this.copyableRanges),a=tu(fu,this,gu).call(this,this.copyableRanges),o=!!this.hot.runHooks("beforeCopy",i,this.copyableRanges,a);if(o){const t=Object(wc["b"])(i);if(e&&e.clipboardData){const r=Object(zc["_dataToHTML"])(i,this.hot.rootDocument);e.clipboardData.setData("text/plain",t),e.clipboardData.setData("text/html",[au,r].join(""))}else"undefined"===typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",t);this.hot.runHooks("afterCopy",i,this.copyableRanges,a)}eu(cu,this,"cells-only")}onCut(e){var t;const r=this.hot.getFocusManager().getRefocusElement(),n=null===(t=e.target)||void 0===t?void 0:t.hasAttribute("data-hot-input");if(!this.hot.isListening()&&!Jc(du,this)||this.isEditorOpened()||e.target instanceof HTMLElement&&(n&&e.target!==r||!n&&e.target!==this.hot.rootDocument.body))return;e.preventDefault(),this.setCopyableText(),eu(du,this,!1);const i=this.getRangedData(this.copyableRanges),a=!!this.hot.runHooks("beforeCut",i,this.copyableRanges);if(a){const t=Object(wc["b"])(i);if(e&&e.clipboardData){const r=Object(zc["_dataToHTML"])(i,this.hot.rootDocument);e.clipboardData.setData("text/plain",t),e.clipboardData.setData("text/html",[au,r].join(""))}else"undefined"===typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",t);this.hot.emptySelectedCells("CopyPaste.cut"),this.hot.runHooks("afterCut",i,this.copyableRanges)}}onPaste(e){var t;const r=this.hot.getFocusManager().getRefocusElement(),n=null===(t=e.target)||void 0===t?void 0:t.hasAttribute("data-hot-input");if(!this.hot.isListening()||this.isEditorOpened()||!this.hot.getSelected()||e.target instanceof HTMLElement&&(n&&e.target!==r||!n&&e.target!==this.hot.rootDocument.body))return;let i;if(e.preventDefault(),e&&"undefined"!==typeof e.clipboardData){const t=Object(p["sanitize"])(e.clipboardData.getData("text/html"),{ADD_TAGS:["meta"],ADD_ATTR:["content"],FORCE_BODY:!0});if(t&&/(<table)|(<TABLE)/g.test(t)){const e=Object(zc["htmlToGridSettings"])(t,this.hot.rootDocument);i=e.data}else i=e.clipboardData.getData("text/plain")}else"undefined"===typeof ClipboardEvent&&"undefined"!==typeof this.hot.rootWindow.clipboardData&&(i=this.hot.rootWindow.clipboardData.getData("Text"));if("string"===typeof i&&(i=Object(wc["a"])(i)),void 0===i||i&&0===i.length)return;if(!1===this.hot.runHooks("beforePaste",i,this.copyableRanges))return;const[a,o,s,l]=this.populateValues(i);this.hot.selectCell(a,o,Math.min(this.hot.countRows()-1,s),Math.min(this.hot.countCols()-1,l)),this.hot.runHooks("afterPaste",i,this.copyableRanges)}destroy(){super.destroy()}}function Au(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 gu(e){const{rows:t}=Qc(e);let r=0;for(let n=0;n<t.length;n++){if(t[n]>=0)break;r+=1}return{columnHeadersCount:r}}function _u(){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 vu(){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 bu(e){e.items.push({name:"---------"},yc(this)),Jc(ou,this)&&e.items.push(Sc(this)),Jc(su,this)&&e.items.push(Cc(this)),Jc(lu,this)&&e.items.push(Ec(this)),e.items.push(Mc(this))}function wu(e,t,r,n,i){Jc(pu,this)&&(i.value=!0),eu(pu,this,!1)}function yu(){this.isEditorOpened()||this.hot.getSettings().fragmentSelection||this.setCopyableText()}function Eu(){tu(fu,this,vu).call(this)}function Cu(){tu(fu,this,_u).call(this)}function Su(){tu(fu,this,vu).call(this)}function Mu(e,t){return`border_row${e}col${t}`}function xu(){return{width:1,color:"#000"}}function Tu(){return{hide:!0}}function Ou(){return{width:1,color:"#000",cornerVisible:!1}}function Nu(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 Ru(e){return Object(h["isDefined"])(e.start)&&(e.left=e.start),Object(h["isDefined"])(e.end)&&(e.right=e.end),e}function Lu(e,t){return{id:Mu(e,t),border:Ou(),row:e,col:t,top:Tu(),bottom:Tu(),start:Tu(),end:Tu()}}function Iu(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=xu()),e.top=t.top):(t.top=Tu(),e.top=t.top)),Object(o["hasOwnProperty"])(t,"bottom")&&Object(h["isDefined"])(t.bottom)&&(t.bottom?(Object(o["isObject"])(t.bottom)||(t.bottom=xu()),e.bottom=t.bottom):(t.bottom=Tu(),e.bottom=t.bottom)),Object(o["hasOwnProperty"])(t,"start")&&Object(h["isDefined"])(t.start)&&(t.start?(Object(o["isObject"])(t.start)||(t.start=xu()),e.start=t.start):(t.start=Tu(),e.start=t.start)),Object(o["hasOwnProperty"])(t,"end")&&Object(h["isDefined"])(t.end)&&(t.end?(Object(o["isObject"])(t.end)||(t.end=xu()),e.end=t.end):(t.end=Tu(),e.end=t.end)),e}function ku(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 Bu(e){return`<span class="selected">${String.fromCharCode(10003)}</span>${e}`}function Du(e){return e.some(e=>Object(h["isDefined"])(e.left)||Object(h["isDefined"])(e.right))}function Fu(e){return e.some(e=>Object(h["isDefined"])(e.start)||Object(h["isDefined"])(e.end))}const Pu=new Map([["left","start"],["right","end"]]);function ju(e){var t;return null!==(t=Pu.get(e))&&void 0!==t?t:e}function Uu(e){return{key:"borders:top",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_TOP"]);const t=ku(this,"top");return t&&(e=Bu(e)),e},callback(t,r){const n=ku(this,"top");e.prepareBorder(r,"top",n)}}}function Hu(e){const t=e.hot.isRtl()?"start":"end";return{key:"borders:right",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_RIGHT"]);const r=ku(this,t);return r&&(e=Bu(e)),e},callback(r,n){const i=ku(this,t);e.prepareBorder(n,t,i)}}}function Vu(e){return{key:"borders:bottom",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_BOTTOM"]);const t=ku(this,"bottom");return t&&(e=Bu(e)),e},callback(t,r){const n=ku(this,"bottom");e.prepareBorder(r,"bottom",n)}}}function Yu(e){const t=e.hot.isRtl()?"end":"start";return{key:"borders:left",name(){let e=this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_BORDERS_LEFT"]);const r=ku(this,t);return r&&(e=Bu(e)),e},callback(r,n){const i=ku(this,t);e.prepareBorder(n,t,i)}}}function Wu(e){return{key:"borders:no_borders",name(){return this.getTranslatedPhrase(Fe["CONTEXTMENU_ITEMS_REMOVE_BORDERS"])},callback(t,r){e.prepareBorder(r,"noBorders")},disabled(){return!ku(this)}}}function Qu(e,t){zu(e,t),t.add(e)}function zu(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function qu(e,t,r){return(t=Gu(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){var t=Ku(e,"string");return"symbol"==typeof t?t:t+""}function Ku(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 Xu(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="customBorders",Zu=90;var Ju=new WeakSet;class ed extends Jt["a"]{constructor(){super(...arguments),Qu(this,Ju),qu(this,"savedBorders",[])}static get PLUGIN_KEY(){return $u}static get PLUGIN_PRIORITY(){return Zu}isEnabled(){return!!this.hot.getSettings()[$u]}enablePlugin(){this.enabled||(this.addHook("afterContextMenuDefaultOptions",e=>Xu(Ju,this,td).call(this,e)),this.addHook("init",()=>Xu(Ju,this,rd).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=Nu(t));const i=Object(Ys["c"])(e),a=Object(Ys["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,ju(r))})})}),this.hot.view.render()}getBorders(e){if(!Array.isArray(e))return this.savedBorders;const t=Object(Ys["c"])(e),r=Object(Ys["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(Ru(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=Lu(e,t);r&&(o=Iu(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",Ru(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(rt["rangeEach"])(e.from.row,r,r=>{Object(rt["rangeEach"])(e.from.col,n,n=>{const i=Lu(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",Ru(i)),this.insertBorderIntoSettings(i))})})}removeAllBorders(e,t){const r=Mu(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?Nu(i):Lu(e,t),n){i[r]=Tu();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",Ru(i))}}else{i[r]=xu();const a=this.checkCustomSelectionsFromContextMenu(i,r,n);a||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",Ru(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(rt["rangeEach"])(n.col,i.col,e=>{Object(rt["rangeEach"])(n.row,i.row,t=>{this.removeAllBorders(t,e)})});break;case"top":Object(rt["rangeEach"])(n.col,i.col,e=>{this.setBorder(n.row,e,t,r)});break;case"bottom":Object(rt["rangeEach"])(n.col,i.col,e=>{this.setBorder(i.row,e,t,r)});break;case"start":Object(rt["rangeEach"])(n.row,i.row,e=>{this.setBorder(e,n.col,t,r)});break;case"end":Object(rt["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=Nu(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()[$u];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=Du(e),r=Fu(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 td(e){this.hot.getSettings()[$u]&&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:[Uu(this),Hu(this),Vu(this),Yu(this),Wu(this)]}})}function rd(){this.changeBorderSettings()}function nd(e,t){id(e,t),t.add(e)}function id(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ad(e,t,r){return(t=od(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function od(e){var t=sd(e,"string");return"symbol"==typeof t?t:t+""}function sd(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 ld(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 cd="dragToScroll",ud=100;var dd=new WeakSet;class hd extends Jt["a"]{constructor(){super(...arguments),nd(this,dd),ad(this,"boundaries",null),ad(this,"callback",null),ad(this,"listening",!1)}static get PLUGIN_KEY(){return cd}static get PLUGIN_PRIORITY(){return ud}isEnabled(){return!!this.hot.getSettings()[cd]}enablePlugin(){this.enabled||(this.addHook("afterOnCellMouseDown",e=>ld(dd,this,pd).call(this,e)),this.addHook("afterOnCellCornerMouseDown",e=>ld(dd,this,pd).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 pd(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 fd(e,t){Ad(e,t),t.add(e)}function md(e,t,r){Ad(e,t),t.set(e,r)}function Ad(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function gd(e,t,r){return(t=_d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _d(e){var t=vd(e,"string");return"symbol"==typeof t?t:t+""}function vd(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 bd(e,t){return e.get(yd(e,t))}function wd(e,t,r){return e.set(yd(e,t),r),r}function yd(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 Ed="dropdownMenu",Cd=230,Sd="changeType",Md=Ed;var xd=new WeakMap,Td=new WeakSet;class Od extends Jt["a"]{static get PLUGIN_KEY(){return Ed}static get PLUGIN_PRIORITY(){return Cd}static get PLUGIN_DEPS(){return["plugin:AutoColumnSize"]}static get DEFAULT_ITEMS(){return[Bs,Fs,Ro,Ws,Ro,Is,Ro,js,Ro,Rs]}constructor(e){super(e),fd(this,Td),gd(this,"commandExecutor",new Os(this.hot)),gd(this,"itemsFactory",null),gd(this,"menu",null),md(this,xd,!1),this.hot.addHook("afterGetColHeader",(e,t)=>yd(Td,this,Ld).call(this,e,t))}isEnabled(){return this.hot.getSettings()[Ed]}enablePlugin(){var e=this;if(this.enabled)return;this.itemsFactory=new ll(this.hot,Od.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 yd(Td,e,Pd).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 yd(Td,e,Fd).call(e,...r)}));const t=this.hot.getSettings()[Ed],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 ac(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",()=>yd(Td,this,Id).call(this)),this.menu.addLocalHook("afterOpen",()=>yd(Td,this,kd).call(this)),this.menu.addLocalHook("afterSubmenuOpen",e=>yd(Td,this,Bd).call(this,e)),this.menu.addLocalHook("afterClose",()=>yd(Td,this,Dd).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=Vo(this.menu.container,this.hot.rootDocument),n=this.hot.getCell(-1,t.col,!0).querySelector("."+Sd),i=n.getBoundingClientRect();this.open({left:i.left+r.left,top:i.top+n.offsetHeight+r.top},{left:i.width,right:0,above:0,below:3}),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:Md},{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:Md}])}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Md)}registerEvents(){this.eventManager.addEventListener(this.hot.rootElement,"click",e=>yd(Td,this,Rd).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 Nd(e){e.getKeyboardShortcutsCtrl().addCustomShortcuts([{keys:[["Control/Meta","A"]],callback:()=>!1}])}function Rd(e){if(Object(i["hasClass"])(e.target,Sd)){const t=Vo(this.menu.container,this.hot.rootDocument),r=e.target.getBoundingClientRect();e.stopPropagation(),wd(xd,this,!1),this.open({left:r.left+t.left,top:r.top+e.target.offsetHeight+t.top},{left:r.width,right:0,above:0,below:3})}}function Ld(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("."+Sd);if(this.enabled&&o)return;if(!this.enabled)return void(o&&o.parentNode.removeChild(o));const s=this.hot.rootDocument.createElement("button");s.className=Sd,s.type="button",s.tabIndex=-1,this.hot.getSettings().ariaTags&&(Object(i["setAttribute"])(s,[Object(g["n"])(),Object(g["p"])(" ")]),Object(i["setAttribute"])(t,[Object(g["m"])("menu")])),s.onclick=function(){return!1},t.firstChild.insertBefore(s,t.firstChild.firstChild)}function Id(){this.hot.runHooks("beforeDropdownMenuShow",this)}function kd(){this.hot.runHooks("afterDropdownMenuShow",this),yd(Td,this,Nd).call(this,this.menu)}function Bd(e){yd(Td,this,Nd).call(this,e)}function Dd(){this.hot.listen(),this.hot.runHooks("afterDropdownMenuHide",this)}function Fd(e){return bd(xd,this)?null:e}function Pd(e){Object(i["hasClass"])(e.target,Sd)&&wd(xd,this,!0)}function jd(e,t,r){return(t=Ud(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ud(e){var t=Hd(e,"string");return"symbol"==typeof t?t:t+""}function Hd(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)}Od.SEPARATOR={name:Ro};class Vd{constructor(e){jd(this,"hot",void 0),jd(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(rt["rangeEach"])(e,r,e=>{const r=[];!i.exportHiddenRows&&this._isHiddenRow(e)||(Object(rt["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(rt["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(rt["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 Yd=Vd;function Wd(e,t,r){return(t=Qd(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qd(e){var t=zd(e,"string");return"symbol"==typeof t?t:t+""}function zd(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 qd{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){Wd(this,"dataProvider",void 0),Wd(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"])(qd.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 Gd=qd;const Kd=String.fromCharCode(13),Xd=String.fromCharCode(34),$d=String.fromCharCode(10);class Zd extends Gd{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(Kd)>=0||r.indexOf(Xd)>=0||r.indexOf($d)>=0||r.indexOf(this.options.columnDelimiter)>=0)&&(r=r.replace(new RegExp('"',"g"),'""'),r=`"${r}"`),r}}var Jd=Zd;const eh="csv",th={[eh]:Jd};function rh(e,t,r){return"function"===typeof th[e]?new th[e](t,r):null}const nh="exportFile",ih=240;class ah extends Jt["a"]{static get PLUGIN_KEY(){return nh}static get PLUGIN_PRIORITY(){return ih}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(!th[e])throw new Error(`Export format type "${e}" is not supported.`);return rh(e,new Yd(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("4069");function oh(e,t,r){return(t=sh(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sh(e){var t=lh(e,"string");return"symbol"==typeof t?t:t+""}function lh(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 ch{constructor(e,t){let{id:r,stateless:n=!0}=t;oh(this,"hot",void 0),oh(this,"id",void 0),oh(this,"elements",[]),oh(this,"hidden",!1),oh(this,"stateId",""),oh(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 gi["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"])(ch,Xa["a"]);const uh={};function dh(e,t){if(!uh[e])throw Error(`Filter condition "${e}" does not exist.`);const{condition:r,descriptor:n}=uh[e];let i=t;return n.inputValuesDecorator&&(i=n.inputValuesDecorator(i)),function(e){return r.apply(e.meta.instance,[].concat([e],[i]))}}function hh(e){if(!uh[e])throw Error(`Filter condition "${e}" does not exist.`);return uh[e].descriptor}function ph(e,t,r){r.key=e,uh[e]={condition:t,descriptor:r}}const fh="none";function mh(){return!0}ph(fh,mh,{name:Fe["FILTERS_CONDITIONS_NONE"],inputsCount:0,showOperators:!1});const Ah="empty";function gh(e){return Object(h["isEmpty"])(e.value)}ph(Ah,gh,{name:Fe["FILTERS_CONDITIONS_EMPTY"],inputsCount:0,showOperators:!0});const _h="not_empty";function vh(e,t){return!dh(Ah,t)(e)}ph(_h,vh,{name:Fe["FILTERS_CONDITIONS_NOT_EMPTY"],inputsCount:0,showOperators:!0});const bh="eq";function wh(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale)===Object(h["stringify"])(r)}ph(bh,wh,{name:Fe["FILTERS_CONDITIONS_EQUAL"],inputsCount:1,showOperators:!0});const yh="neq";function Eh(e,t){return!dh(bh,t)(e)}ph(yh,Eh,{name:Fe["FILTERS_CONDITIONS_NOT_EQUAL"],inputsCount:1,showOperators:!0});const Ch="gt";function Sh(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value>n}ph(Ch,Sh,{name:Fe["FILTERS_CONDITIONS_GREATER_THAN"],inputsCount:1,showOperators:!0});const Mh="gte";function xh(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value>=n}ph(Mh,xh,{name:Fe["FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL"],inputsCount:1,showOperators:!0});const Th="lt";function Oh(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value<n}ph(Th,Oh,{name:Fe["FILTERS_CONDITIONS_LESS_THAN"],inputsCount:1,showOperators:!0});const Nh="lte";function Rh(e,t){let[r]=t,n=r;return"numeric"===e.meta.type&&(n=parseFloat(n,10)),e.value<=n}ph(Nh,Rh,{name:Fe["FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL"],inputsCount:1,showOperators:!0});const Lh="date_after";function Ih(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}ph(Lh,Ih,{name:Fe["FILTERS_CONDITIONS_AFTER"],inputsCount:1,showOperators:!0});const kh="date_before";function Bh(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}ph(kh,Bh,{name:Fe["FILTERS_CONDITIONS_BEFORE"],inputsCount:1,showOperators:!0});const Dh="between";function Fh(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=dh(kh,[a]),r=dh(Lh,[i]);return t(e)&&r(e)}return e.value>=i&&e.value<=a}ph(Dh,Fh,{name:Fe["FILTERS_CONDITIONS_BETWEEN"],inputsCount:2,showOperators:!0});const Ph="not_between";function jh(e,t){return!dh(Dh,t)(e)}ph(Ph,jh,{name:Fe["FILTERS_CONDITIONS_NOT_BETWEEN"],inputsCount:2,showOperators:!0});const Uh="begins_with";function Hh(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).startsWith(Object(h["stringify"])(r))}ph(Uh,Hh,{name:Fe["FILTERS_CONDITIONS_BEGINS_WITH"],inputsCount:1,showOperators:!0});const Vh="ends_with";function Yh(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).endsWith(Object(h["stringify"])(r))}ph(Vh,Yh,{name:Fe["FILTERS_CONDITIONS_ENDS_WITH"],inputsCount:1,showOperators:!0});const Wh="contains";function Qh(e,t){let[r]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).indexOf(Object(h["stringify"])(r))>=0}ph(Wh,Qh,{name:Fe["FILTERS_CONDITIONS_CONTAINS"],inputsCount:1,showOperators:!0});const zh="not_contains";function qh(e,t){return!dh(Wh,t)(e)}ph(zh,qh,{name:Fe["FILTERS_CONDITIONS_NOT_CONTAIN"],inputsCount:1,showOperators:!0});const Gh="date_tomorrow";function Kh(e){const t=R(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(R().subtract(-1,"days").startOf("day"),"d")}ph(Gh,Kh,{name:Fe["FILTERS_CONDITIONS_TOMORROW"],inputsCount:0});const Xh="date_today";function $h(e){const t=R(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(R().startOf("day"),"d")}ph(Xh,$h,{name:Fe["FILTERS_CONDITIONS_TODAY"],inputsCount:0});const Zh="date_yesterday";function Jh(e){const t=R(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(R().subtract(1,"days").startOf("day"),"d")}ph(Zh,Jh,{name:Fe["FILTERS_CONDITIONS_YESTERDAY"],inputsCount:0});const ep="numeric",tp="text",rp="date",np={[ep]:[fh,Ro,Ah,_h,Ro,bh,yh,Ro,Ch,Mh,Th,Nh,Dh,Ph],[tp]:[fh,Ro,Ah,_h,Ro,bh,yh,Ro,Uh,Vh,Ro,Wh,zh],[rp]:[fh,Ro,Ah,_h,Ro,bh,yh,Ro,kh,Lh,Dh,Ro,Gh,Xh,Zh]};function ip(e){const t=[];let r=e;return np[r]||(r=tp),Object(d["arrayEach"])(np[r],e=>{let r;r=e===Ro?{name:Ro}:Object(o["clone"])(hh(e)),t.push(r)}),t}function ap(e,t,r){return(t=op(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)}const lp="built",cp="building",up=["click","input","keydown","keypress","keyup","focus","blur","change"];class dp{static get DEFAULTS(){return Object(o["clone"])({className:"",value:"",tagName:"div",children:[],wrapIt:!0})}constructor(e,t){ap(this,"hot",void 0),ap(this,"eventManager",new Le["a"](this)),ap(this,"options",void 0),ap(this,"_element",void 0),ap(this,"buildState",void 0),this.hot=e,this.options=Object(o["extend"])(dp.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===cp?this._element:this.buildState===lp?(this.update(),this._element):(this.buildState=cp,this.build(),this.buildState=lp,this._element)}isBuilt(){return this.buildState===lp}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=cp),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"])(up,r=>e(t,r))}else Object(d["arrayEach"])(up,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 hp(e,t){fp(e,t),t.add(e)}function pp(e,t,r){fp(e,t),t.set(e,r)}function fp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function mp(e,t){return e.get(gp(e,t))}function Ap(e,t,r){return e.set(gp(e,t),r),r}function gp(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"])(dp,Xa["a"]);var _p=new WeakMap,vp=new WeakSet;class bp extends dp{static get DEFAULTS(){return Object(o["clone"])({placeholder:"",type:"text",tagName:"input",tabIndex:-1})}constructor(e,t){super(e,Object(o["extend"])(bp.DEFAULTS,t)),hp(this,vp),pp(this,_p,void 0),this.registerHooks()}registerHooks(){this.addLocalHook("keyup",e=>gp(vp,this,wp).call(this,e))}build(){super.build();const e=this.hot.rootDocument.createElement("div");Ap(_p,this,this._element.firstChild),Object(i["addClass"])(this._element,"htUIInput"),Object(i["addClass"])(e,"htUIInputIcon"),this._element.appendChild(e),this.update()}update(){this.isBuilt()&&(mp(_p,this).type=this.options.type,mp(_p,this).placeholder=this.translateIfPossible(this.options.placeholder),mp(_p,this).value=this.translateIfPossible(this.options.value))}focus(){this.isBuilt()&&mp(_p,this).focus()}}function wp(e){this.options.value=e.target.value}function yp(e,t){Cp(e,t),t.add(e)}function Ep(e,t,r){Cp(e,t),t.set(e,r)}function Cp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Sp(e,t,r){return e.set(xp(e,t),r),r}function Mp(e,t){return e.get(xp(e,t))}function xp(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 Tp=new WeakMap,Op=new WeakMap,Np=new WeakMap,Rp=new WeakMap,Lp=new WeakMap,Ip=new WeakSet;class kp extends dp{static get DEFAULTS(){return Object(o["clone"])({className:"htUISelect",wrapIt:!1,tabIndex:-1})}constructor(e,t){super(e,Object(o["extend"])(kp.DEFAULTS,t)),yp(this,Ip),Ep(this,Tp,null),Ep(this,Op,[]),Ep(this,Np,void 0),Ep(this,Rp,void 0),Ep(this,Lp,void 0),this.registerHooks()}getMenu(){return Mp(Tp,this)}registerHooks(){this.addLocalHook("click",()=>xp(Ip,this,Fp).call(this))}setItems(e){Sp(Op,this,this.translateNames(e)),Mp(Tp,this)&&Mp(Tp,this).setMenuItems(Mp(Op,this))}translateNames(e){return Object(d["arrayEach"])(e,e=>{e.name=this.translateIfPossible(e.name)}),e}build(){super.build(),Sp(Tp,this,new ac(this.hot,{className:"htSelectUI htFiltersConditionsMenu",keepInViewport:!1,standalone:!0,container:this.options.menuContainer})),Mp(Tp,this).setMenuItems(Mp(Op,this));const e=new dp(this.hot,{className:"htUISelectCaption"}),t=new dp(this.hot,{className:"htUISelectDropdown"});Sp(Np,this,e),Sp(Rp,this,e.element),Sp(Lp,this,t),this.hot.getSettings().ariaTags&&(Object(i["setAttribute"])(t.element,[Object(g["n"])()]),Object(i["setAttribute"])(this._element,[Object(g["q"])()])),Object(d["arrayEach"])([e,t],e=>this._element.appendChild(e.element)),Mp(Tp,this).addLocalHook("select",e=>xp(Ip,this,Bp).call(this,e)),Mp(Tp,this).addLocalHook("afterClose",()=>xp(Ip,this,Dp).call(this)),this.update()}update(){if(!this.isBuilt())return;let e;e=this.options.value?this.options.value.name:Mp(Tp,this).hot.getTranslatedPhrase(Fe["FILTERS_CONDITIONS_NONE"]),Mp(Rp,this).textContent=e,super.update()}openOptions(){const e=this.element.getBoundingClientRect();Mp(Tp,this)&&(Mp(Tp,this).open(),Mp(Tp,this).setPosition({left:this.hot.isLtr()?e.left-5:e.left-31,top:e.top-1,width:e.width,height:e.height}),Mp(Tp,this).getNavigator().toFirstItem(),Mp(Tp,this).getKeyboardShortcutsCtrl().addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],callback:e=>{this.closeOptions(),this.runLocalHooks("tabKeydown",e)}},{keys:[["Control/Meta","A"]],callback:()=>!1}]))}closeOptions(){Mp(Tp,this)&&Mp(Tp,this).close()}focus(){this.isBuilt()&&this.element.focus()}destroy(){Mp(Tp,this)&&(Mp(Tp,this).destroy(),Sp(Tp,this,null)),Mp(Np,this)&&Mp(Np,this).destroy(),Mp(Lp,this)&&Mp(Lp,this).destroy(),super.destroy()}}function Bp(e){e.name!==Ro&&(this.options.value=e,this.update(),this.runLocalHooks("select",this.options.value))}function Dp(){this.runLocalHooks("afterClose")}function Fp(){this.openOptions()}function Pp(e,t){jp(e,t),t.add(e)}function jp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Up(e,t,r){return(t=Hp(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hp(e){var t=Vp(e,"string");return"symbol"==typeof t?t:t+""}function Vp(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 Yp(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 Wp=new WeakSet;class Qp extends ch{constructor(e,t){super(e,{id:t.id,stateless:!1}),Pp(this,Wp),Up(this,"name",""),Up(this,"addSeparator",!1),this.name=t.name,this.addSeparator=t.addSeparator,this.elements.push(new kp(this.hot,{menuContainer:t.menuContainer})),this.elements.push(new bp(this.hot,{placeholder:Fe["FILTERS_BUTTONS_PLACEHOLDER_VALUE"]})),this.elements.push(new bp(this.hot,{placeholder:Fe["FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE"]})),this.registerHooks()}registerHooks(){this.getSelectElement().addLocalHook("select",e=>Yp(Wp,this,zp).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=>Yp(Wp,this,qp).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()||hh(fh),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=hh(e?e.name:fh);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 kp)[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 bp)}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),t.parentElement.hasAttribute("ghost-table")||Object(d["arrayEach"])(this.elements,e=>t.appendChild(e.element)),t}}}reset(){const e=this.hot.getPlugin("filters").getSelectedColumn();let t=[hh(fh)];if(null!==e){const{visualIndex:r}=e;t=ip(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 zp(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 qp(e){Object(f["isKey"])(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(a["stopImmediatePropagation"])(e))}const Gp={};function Kp(e){if(!Gp[e])throw Error(`Operation with id "${e}" does not exist.`);const t=Gp[e].func;return function(e,r){return t(e,r)}}function Xp(e){return Gp[e].name}function $p(e,t,r){Gp[e]={name:t,func:r}}const Zp="conjunction",Jp=Fe["FILTERS_LABELS_CONJUNCTION"];function ef(e,t){return e.every(e=>e.func(t))}$p(Zp,Jp,ef);const tf="disjunction",rf=Fe["FILTERS_LABELS_DISJUNCTION"];function nf(e,t){return e.some(e=>e.func(t))}$p(tf,rf,nf);const af="disjunctionWithExtraCondition",of=Fe["FILTERS_LABELS_DISJUNCTION"];function sf(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 lf(e,t,r){cf(e,t),t.set(e,r)}function cf(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(hf(e,t))}function df(e,t,r){return e.set(hf(e,t),r),r}function hf(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")}$p(af,of,sf);var pf=new WeakMap,ff=new WeakMap;class mf extends dp{static get DEFAULTS(){return Object(o["clone"])({type:"radio",tagName:"input",className:"htUIRadio",label:{}})}constructor(e,t){super(e,Object(o["extend"])(mf.DEFAULTS,t)),lf(this,pf,void 0),lf(this,ff,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),df(ff,this,e),df(pf,this,this._element.firstChild),uf(pf,this).checked=this.options.checked,this._element.appendChild(e),this.update()}update(){this.isBuilt()&&(uf(ff,this).textContent=this.translateIfPossible(this.options.label.textContent))}isChecked(){return!!this.isBuilt()&&uf(pf,this).checked}setChecked(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isBuilt()&&(uf(pf,this).checked=e)}focus(){this.isBuilt()&&uf(pf,this).focus()}}function Af(e,t){gf(e,t),t.add(e)}function gf(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=vf(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){var t=bf(e,"string");return"symbol"==typeof t?t:t+""}function bf(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 wf(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 yf=0;var Ef=new WeakSet;class Cf extends ch{constructor(e,t){super(e,{id:t.id,stateless:!1}),Af(this,Ef),_f(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=[Zp,tf];Object(d["arrayEach"])(e,t=>{const r=new mf(this.hot,{name:"operator",label:{htmlFor:t,textContent:Xp(t)},value:t,checked:t===e[yf],id:t});r.addLocalHook("change",e=>wf(Ef,this,Sf).call(this,e)),this.elements.push(r)})}setChecked(e){if(this.elements.length<e)throw Error(ka["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 mf&&e.isChecked());return e?e.getValue():Zp}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]:Zp,t=arguments.length>1?arguments[1]:void 0,r=e;r===af&&(r=tf),this.state.setValueAtIndex(t,r)}reset(){this.setChecked(yf)}}function Sf(e){this.setState(e.target.value)}Object(er["getComparisonFunction"])();function Mf(e,t){let r=e;return""===r&&(r=`(${t})`),r}const xf=new Set([1]).has(1),Tf=xf&&"function"===typeof Array.from;function Of(e){let t=e;return xf&&(t=new Set(t)),function(e){let r;return r=xf?t.has(e):!!~t.indexOf(e),r}}function Nf(e){return null===e||void 0===e?"":e}function Rf(e){let t=e;return t=Tf?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 Lf(e,t,r,n){const i=[],a=e===t;let o;return a||(o=Of(t)),Object(d["arrayEach"])(e,e=>{let t=!1;(a||o(e))&&(t=!0);const s={checked:t,value:e,visualValue:Mf(e,r)};n&&n(s),i.push(s)}),i}var If=r("480c");function kf(e,t,r){Bf(e,t),t.set(e,r)}function Bf(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Df(e,t){return e.get(Pf(e,t))}function Ff(e,t,r){return e.set(Pf(e,t),r),r}function Pf(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 jf=new WeakMap;class Uf extends dp{static get DEFAULTS(){return Object(o["clone"])({href:"#",tagName:"a",tabIndex:-1,role:"button"})}constructor(e,t){super(e,Object(o["extend"])(Uf.DEFAULTS,t)),kf(this,jf,void 0)}build(){super.build(),Ff(jf,this,this._element.firstChild)}update(){this.isBuilt()&&(Df(jf,this).textContent=this.translateIfPossible(this.options.textContent))}focus(){this.isBuilt()&&Df(jf,this).focus()}activate(){Df(jf,this).click()}}function Hf(e,t){Yf(e,t),t.add(e)}function Vf(e,t,r){Yf(e,t),t.set(e,r)}function Yf(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wf(e,t){return e.get(zf(e,t))}function Qf(e,t,r){return e.set(zf(e,t),r),r}function zf(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 qf="multipleSelect.itemBox";var Gf=new WeakMap,Kf=new WeakMap,Xf=new WeakMap,$f=new WeakMap,Zf=new WeakMap,Jf=new WeakMap,em=new WeakSet;class tm extends dp{static get DEFAULTS(){return Object(o["clone"])({className:"htUIMultipleSelect",value:[]})}constructor(e,t){super(e,Object(o["extend"])(tm.DEFAULTS,t)),Hf(this,em),Vf(this,Gf,[]),Vf(this,Kf,void 0),Vf(this,Xf,void 0),Vf(this,$f,void 0),Vf(this,Zf,void 0),Vf(this,Jf,void 0),Qf($f,this,new bp(this.hot,{placeholder:Fe["FILTERS_BUTTONS_PLACEHOLDER_SEARCH"],className:"htUIMultipleSelectSearch"})),Qf(Zf,this,new Uf(this.hot,{textContent:Fe["FILTERS_BUTTONS_SELECT_ALL"],className:"htUISelectAll"})),Qf(Jf,this,new Uf(this.hot,{textContent:Fe["FILTERS_BUTTONS_CLEAR"],className:"htUIClearAll"})),this.registerHooks()}getItemsBox(){return Wf(Kf,this)}registerHooks(){Wf($f,this).addLocalHook("keydown",e=>zf(em,this,nm).call(this,e)),Wf($f,this).addLocalHook("input",e=>zf(em,this,rm).call(this,e)),Wf(Zf,this).addLocalHook("click",e=>zf(em,this,im).call(this,e)),Wf(Jf,this).addLocalHook("click",e=>zf(em,this,am).call(this,e))}setItems(e){var t;Qf(Gf,this,e),null===(t=Wf(Kf,this))||void 0===t||t.loadData(Wf(Gf,this))}setLocale(e){Qf(Xf,this,e)}getLocale(){return Wf(Xf,this)}getItems(){return[...Wf(Gf,this)]}getValue(){return sm(Wf(Gf,this))}getSearchInputElement(){return Wf($f,this)}getSelectAllElement(){return Wf(Zf,this)}getClearAllElement(){return Wf(Jf,this)}isSelectedAllValues(){return Wf(Gf,this).length===this.getValue().length}build(){super.build();const{rootDocument:e}=this.hot,t=e.createElement("div"),r=new dp(this.hot,{className:"htUISelectionControls",children:[Wf(Zf,this),Wf(Jf,this)]});this._element.appendChild(Wf($f,this).element),this._element.appendChild(r.element),this._element.appendChild(t);const n=t=>{var r;if(!this._element)return;null===(r=Wf(Kf,this))||void 0===r||r.destroy(),Object(i["addClass"])(t,"htUIMultipleSelectHot"),Qf(Kf,this,new this.hot.constructor(t,{data:Wf(Gf,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:()=>{Wf(Kf,this).listen()},colWidths:()=>Wf(Kf,this).container.scrollWidth-Object(i["getScrollbarWidth"])(e),maxCols:1,autoWrapCol:!0,height:110,copyPaste:!1,disableVisualSelection:"area",fillHandle:!1,fragmentSelection:"cell",tabMoves:{row:1,col:0},layoutDirection:this.hot.isRtl()?"rtl":"ltr"})),Wf(Kf,this).init();const n=Wf(Kf,this).getShortcutManager(),a=n.getContext("grid");a.removeShortcutsByKeys(["Tab"]),a.removeShortcutsByKeys(["Shift","Tab"]),a.addShortcut({keys:[["Escape"]],callback:e=>{this.runLocalHooks("keydown",e,this)},group:qf}),a.addShortcut({keys:[["Tab"],["Shift","Tab"]],callback:e=>{Wf(Kf,this).deselectCell(),this.runLocalHooks("keydown",e,this),this.runLocalHooks("listTabKeydown",e,this)},group:qf})};n(t),this.hot._registerTimeout(()=>n(t),100)}focus(){this.isBuilt()&&Wf(Kf,this).listen()}reset(){Wf($f,this).reset(),Wf(Zf,this).reset(),Wf(Jf,this).reset()}update(){this.isBuilt()&&(Wf(Kf,this).loadData(om(Wf(Gf,this),this.options.value)),super.update())}destroy(){var e;null===(e=Wf(Kf,this))||void 0===e||e.destroy(),Wf($f,this).destroy(),Wf(Jf,this).destroy(),Wf(Zf,this).destroy(),Qf($f,this,null),Qf(Jf,this,null),Qf(Zf,this,null),Qf(Kf,this,null),Qf(Gf,this,null),super.destroy()}}function rm(e){const t=e.target.value.toLocaleLowerCase(this.getLocale());let r;r=""===t?[...Wf(Gf,this)]:Wf(Gf,this).filter(e=>(""+e.value).toLocaleLowerCase(this.getLocale()).indexOf(t)>=0),Wf(Kf,this).loadData(r)}function nm(e){this.runLocalHooks("keydown",e,this);const t=Object(mi["partial"])(f["isKey"],e.keyCode);t("ARROW_DOWN")&&(e.preventDefault(),Object(a["stopImmediatePropagation"])(e),Wf(Kf,this).listen(),Wf(Kf,this).selectCell(0,0))}function im(e){const t=[];e.preventDefault(),Wf(Kf,this).getSourceData().forEach((e,r)=>{e.checked=!0,t.push(Object(If["dataRowToChangesArray"])(e,r)[0])}),Wf(Kf,this).setSourceDataAtCell(t)}function am(e){const t=[];e.preventDefault(),Wf(Kf,this).getSourceData().forEach((e,r)=>{e.checked=!1,t.push(Object(If["dataRowToChangesArray"])(e,r)[0])}),Wf(Kf,this).setSourceDataAtCell(t)}function om(e,t){const r=Of(t);return e.map(e=>(e.checked=r(e.value),e))}function sm(e){const t=[];return e.forEach(e=>{e.checked&&t.push(e.value)}),t}const lm="by_value";function cm(e,t){let[r]=t;return r(e.value)}function um(e,t){dm(e,t),t.add(e)}function dm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hm(e,t,r){return(t=pm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pm(e){var t=fm(e,"string");return"symbol"==typeof t?t:t+""}function fm(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 mm(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")}ph(lm,cm,{name:"By value",inputsCount:0,inputValuesDecorator(e){let[t]=e;return[Of(t)]},showOperators:!1});var Am,gm=new WeakSet;class _m extends ch{constructor(e,t){super(e,{id:t.id,stateless:!1}),um(this,gm),hm(this,"name",""),this.name=t.name,this.elements.push(new tm(this.hot)),this.registerHooks()}registerHooks(){this.getMultipleSelectElement().addLocalHook("keydown",e=>mm(gm,this,vm).call(this,e)).addLocalHook("listTabKeydown",e=>this.runLocalHooks("listTabKeydown",e)),this.hot.addHook("modifyFiltersMultiSelectValue",(e,t)=>mm(gm,this,wm).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===lm){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?fh:lm},args:[e.getValue()],itemsSnapshot:t}}updateState(e){const t=(t,r,n,i,a)=>{const[o]=Object(d["arrayFilter"])(r,e=>e.name===lm),s={},l=this.hot.getTranslatedPhrase(Fe["FILTERS_VALUES_BLANK_CELLS"]);if(o){const r=i(t,a),c=Object(d["arrayMap"])(r,e=>e.value),u=new Map(r.map(e=>[e.value,this.hot.getCellMeta(e.meta.visualRow,e.meta.visualCol)])),h=Rf(c);n&&(o.args[0]=n);const p=[],f=Lf(h,o.args[0],l,e=>{e.checked&&p.push(e.value),mm(gm,this,bm).call(this,e,u)}),m=e.editedConditionStack.column;s.locale=this.hot.getCellMeta(0,m).locale,s.args=[p],s.command=hh(lm),s.itemsSnapshot=f}else s.args=[],s.command=hh(fh);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 tm)[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),t.parentElement.hasAttribute("ghost-table")||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=Rf(r),a=Lf(i,i,e,e=>{mm(gm,this,bm).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:Nf(t),meta:this.hot.getCellMeta(r,e.visualIndex)}))}}function vm(e){Object(f["isKey"])(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(a["stopImmediatePropagation"])(e))}function bm(e,t){this.hot.hasHook("modifyFiltersMultiSelectValue")&&(e.visualValue=this.hot.runHooks("modifyFiltersMultiSelectValue",e.visualValue,t.get(e.value)))}function wm(e,t){switch(t.type){case"numeric":return it(e,t);default:return e}}function ym(e,t){Em(e,t),t.add(e)}function Em(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=Sm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sm(e){var t=Mm(e,"string");return"symbol"==typeof t?t:t+""}function Mm(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 xm(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 Tm=new WeakSet;class Om extends ch{static get BUTTON_OK(){return"ok"}static get BUTTON_CANCEL(){return"cancel"}constructor(e,t){super(e,{id:t.id,stateless:!0}),ym(this,Tm),Cm(this,"name",""),this.name=t.name,this.elements.push(new bp(this.hot,{type:"button",value:Fe["FILTERS_BUTTONS_OK"],className:"htUIButton htUIButtonOK",identifier:Om.BUTTON_OK})),this.elements.push(new bp(this.hot,{type:"button",value:Fe["FILTERS_BUTTONS_CANCEL"],className:"htUIButton htUIButtonCancel",identifier:Om.BUTTON_CANCEL})),this.registerHooks()}registerHooks(){Object(d["arrayEach"])(this.elements,e=>{e.addLocalHook("click",(e,t)=>xm(Tm,this,Nm).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 Nm(e,t){t.options.identifier===Am.BUTTON_OK?this.accept():this.cancel()}function Rm(e,t,r){return(t=Lm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lm(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)}Am=Om;const km="ConditionCollection.filteringStates";class Bm{constructor(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Rm(this,"hot",void 0),Rm(this,"isMapRegistrable",void 0),Rm(this,"filteringStates",new gi["a"]),Rm(this,"previousConditionStack",null),this.hot=e,this.isMapRegistrable=t,!0===this.isMapRegistrable?this.hot.columnIndexMapper.registerMap(km,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]:Zp;return!e.length||Kp(r)(e,t)}addCondition(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Zp,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;null===this.previousConditionStack&&this.setPreviousConditionStack(this.exportAllConditions()),this.runLocalHooks("beforeAdd",e);const s=this.getOperation(e);if(s){if(s!==r)throw Error(ka["a"]`The column of index ${e} has been already applied with a \`${s}\`\x20
  487. filter operation. Use \`removeConditions\` to clear the current conditions and then add new ones.\x20
  488. Mind that you cannot mix different types of operations (for instance, if you use \`conjunction\`,\x20
  489. use it consequently for a particular column).`)}else if(Object(h["isUndefined"])(Gp[r]))throw new Error(ka["a"]`Unexpected operation named \`${r}\`. Possible ones are\x20
  490. \`disjunction\` and \`conjunction\`.`);const l=this.getConditions(e);0===l.length?this.filteringStates.setValueAtIndex(e,{operation:r,conditions:[{name:o,args:a,func:dh(o,a)}]},n):l.push({name:o,args:a,func:dh(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.setPreviousConditionStack(this.exportAllConditions()),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}setPreviousConditionStack(e){this.previousConditionStack=e}destroy(){this.isMapRegistrable&&this.hot.columnIndexMapper.unregisterMap(km),this.filteringStates=null,this.clearLocalHooks()}}Object(o["mixin"])(Bm,Xa["a"]);var Dm=Bm;function Fm(e,t,r){return(t=Pm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pm(e){var t=jm(e,"string");return"symbol"==typeof t?t:t+""}function jm(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 Um{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>[];Fm(this,"conditionCollection",void 0),Fm(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 Hm=Um;function Vm(e,t){Ym(e,t),t.add(e)}function Ym(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wm(e,t,r){return(t=Qm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qm(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 qm(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 Gm=new WeakSet;class Km{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[];Vm(this,Gm),Wm(this,"hot",void 0),Wm(this,"conditionCollection",void 0),Wm(this,"columnDataFactory",void 0),Wm(this,"changes",[]),Wm(this,"grouping",!1),Wm(this,"latestEditedColumnPosition",-1),Wm(this,"latestOrderStack",[]),this.hot=e,this.conditionCollection=t,this.columnDataFactory=r,this.conditionCollection.addLocalHook("beforeRemove",e=>qm(Gm,this,Xm).call(this,e)),this.conditionCollection.addLocalHook("afterRemove",e=>this.updateStatesAtColumn(e)),this.conditionCollection.addLocalHook("afterAdd",e=>this.updateStatesAtColumn(e)),this.conditionCollection.addLocalHook("beforeClean",()=>qm(Gm,this,$m).call(this)),this.conditionCollection.addLocalHook("afterClean",()=>qm(Gm,this,Zm).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(mi["curry"])((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const i=new Dm(r.hot,!1),a=[].concat(e,n);i.importAllConditions(a);const o=r.columnDataFactory(t);let s;s=i.isEmpty()?o:new Hm(i,e=>r.columnDataFactory(e)).filter(),s=Object(d["arrayMap"])(s,e=>e.meta.visualRow);const l=Of(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 Xm(e){this.latestEditedColumnPosition=this.conditionCollection.getColumnStackPosition(e)}function $m(){this.latestOrderStack=this.conditionCollection.getFilteredColumns()}function Zm(){Object(d["arrayEach"])(this.latestOrderStack,e=>{this.updateStatesAtColumn(e)})}Object(o["mixin"])(Km,Xa["a"]);var Jm=Km;function eA(e){const t=Sl({initialPage:0,size:()=>e.length,onItemSelect:(t,r)=>{const n=e[t];return n instanceof tm?r:!(n.element&&!Object(i["isVisible"])(n.element))&&void n.focus()}});return t}const tA="filters";function rA(e,t){let r=-1;const n=eA(t),i=r=>()=>{e.isOpened()&&e.getKeyboardShortcutsCtrl().listen(tA),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(tA),callback:()=>{i.isSubMenu()&&i.close(),a.listen(tA)}}]),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 kp&&(r.openOptions(),e.preventDefault()),r instanceof Uf&&(r.activate(),e.preventDefault()),r instanceof dp||e.preventDefault()}}],tA)}function o(){e.focus(),e.getKeyboardShortcutsCtrl().listen(tA)}function s(){return r}return t.forEach(e=>{e instanceof dp&&(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 nA=r("00fd");function iA(e,t){oA(e,t),t.add(e)}function aA(e,t,r){oA(e,t),t.set(e,r)}function oA(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function sA(e,t,r){return(t=lA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lA(e){var t=cA(e,"string");return"symbol"==typeof t?t:t+""}function cA(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 uA(e,t,r){return e.set(hA(e,t),r),r}function dA(e,t){return e.get(hA(e,t))}function hA(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 pA="filters",fA=250,mA=pA;var AA=new WeakMap,gA=new WeakSet;class _A extends Jt["a"]{static get PLUGIN_KEY(){return pA}static get PLUGIN_PRIORITY(){return fA}static get PLUGIN_DEPS(){return["plugin:DropdownMenu","plugin:HiddenRows","cell-type:checkbox"]}constructor(e){super(e),iA(this,gA),sA(this,"dropdownMenuPlugin",null),sA(this,"conditionCollection",null),sA(this,"conditionUpdateObserver",null),sA(this,"components",new Map([["filter_by_condition",null],["filter_operators",null],["filter_by_condition2",null],["filter_by_value",null],["filter_action_bar",null]])),sA(this,"filtersRowsMap",null),aA(this,AA,void 0),this.hot.addHook("afterGetColHeader",(e,t)=>hA(gA,this,MA).call(this,e,t))}isEnabled(){return!!this.hot.getSettings()[pA]}enablePlugin(){if(this.enabled)return;this.filtersRowsMap=this.hot.rowIndexMapper.registerMap(this.pluginName,new nA["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",()=>hA(gA,this,EA).call(this,"accept")),e.addLocalHook("cancel",()=>hA(gA,this,EA).call(this,"cancel")),e.addLocalHook("change",t=>hA(gA,this,CA).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 Qp(this.hot,{id:"filter_by_condition",name:n,addSeparator:!1,menuContainer:t});e.addLocalHook("afterClose",()=>hA(gA,this,SA).call(this)),this.components.set("filter_by_condition",r(e))}if(this.components.get("filter_operators")||this.components.set("filter_operators",new Cf(this.hot,{id:"filter_operators",name:"Operators"})),!this.components.get("filter_by_condition2")){const e=new Qp(this.hot,{id:"filter_by_condition2",name:"",addSeparator:!0,menuContainer:t});e.addLocalHook("afterClose",()=>hA(gA,this,SA).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 _m(this.hot,{id:"filter_by_value",name:i}))),this.components.get("filter_action_bar")||this.components.set("filter_action_bar",r(new Om(this.hot,{id:"filter_action_bar",name:"Action bar"}))),this.conditionCollection||(this.conditionCollection=new Dm(this.hot)),this.conditionUpdateObserver||(this.conditionUpdateObserver=new Jm(this.hot,this.conditionCollection,e=>this.getDataMapAtColumn(e)),this.conditionUpdateObserver.addLocalHook("update",e=>hA(gA,this,xA).call(this,e))),this.components.forEach(e=>e.show()),this.addHook("afterDropdownMenuDefaultOptions",e=>hA(gA,this,yA).call(this,e)),this.addHook("afterDropdownMenuShow",()=>hA(gA,this,bA).call(this)),this.addHook("afterDropdownMenuHide",()=>hA(gA,this,wA).call(this)),this.addHook("afterChange",e=>hA(gA,this,vA).call(this,e)),this.hot.getSettings().dropdownMenu&&this.dropdownMenuPlugin&&(this.dropdownMenuPlugin.disablePlugin(),this.dropdownMenuPlugin.enablePlugin()),!dA(AA,this)&&this.dropdownMenuPlugin.enabled){const e=this.dropdownMenuPlugin.menu,t=[{focus:()=>{const t=e.getNavigator(),r=dA(AA,this).getLastMenuPage();e.focus(),r>0?t.setCurrentPage(r):t.toFirstItem()}},...Array.from(this.components).map(e=>{let[,t]=e;return t.getElements()}).flat()];uA(AA,this,rA(e,t));const r=e=>{dA(AA,this).listen(),e.preventDefault(),Object(f["isKey"])(e.keyCode,"TAB")&&(e.shiftKey?dA(AA,this).toPreviousItem():dA(AA,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:mA})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(mA)}addCondition(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Zp;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,this.conditionCollection.previousConditionStack);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=Of(n);Object(rt["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.conditionCollection.setPreviousConditionStack(null),this.hot.view.adjustElementsSize(),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:c,instance:u,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:c,instance:u,dateFormat:d,locale:h},value:Nf(p)})}),r}updateValueComponentCondition(e){const t=this.hot.getDataAtCol(e),r=Rf(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===tf&&t.command.key!==fh&&r.command.key!==fh&&n.command.key!==fh?i=af:n.command.key!==fh&&(t.command.key!==fh&&r.command.key!==fh||(i=Zp)),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 Hm(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 vA(e){e&&Object(d["arrayEach"])(e,e=>{const[,t]=e,r=this.hot.propToCol(t);this.conditionCollection.hasConditions(r)&&this.updateValueComponentCondition(r)})}function bA(){const e=this.dropdownMenuPlugin.menu;this.restoreComponents(Array.from(this.components.values())),e.updateMenuDimensions()}function wA(){this.components.get("filter_by_condition").getSelectElement().closeOptions(),this.components.get("filter_by_condition2").getSelectElement().closeOptions()}function yA(e){e.items.push({name:Ro}),this.components.forEach(t=>{e.items.push(t.getMenuItemDescriptor())})}function EA(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!==fh&&(this.conditionCollection.addCondition(t,n,o,s),i.command.key!==fh&&this.conditionCollection.addCondition(t,i,o,s)),a.command.key!==fh&&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 CA(e,t){this.updateDependentComponentsVisibility(),e.constructor!==Qp||t.inputsCount||this.setListeningDropdownMenu()}function SA(){this.setListeningDropdownMenu()}function MA(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 xA(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===lm),a=r.filter(e=>e.name!==lm);if(i.length>=2||a.length>=3)Object(zn["b"])(ka["a"]`The filter conditions have been applied properly, but couldn’t be displayed visually.\x20
  491. The overall amount of conditions exceed the capability of the dropdown menu.\x20
  492. 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("e9c4");const TA="internal-use-in-handsontable",OA={licenseKey:TA,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 NA(e){var t;return{maxColumns:e.maxColumns,maxRows:e.maxRows,language:null===(t=e[Hg])||void 0===t||null===(t=t.language)||void 0===t?void 0:t.langCode}}function RA(e){return Object.keys(e).reduce((t,r)=>("hyperformula"!==r&&(t[r]=e[r]),t),{})}function LA(e){var t;const r=e[Hg],n=RA(null!==r&&void 0!==r&&null!==(t=r.engine)&&void 0!==t&&t.hyperformula?r.engine:{}),i=NA(e);return{...OA,...n,...i}}function IA(e){var t;const r=e[Hg],n=RA(null!==r&&void 0!==r&&null!==(t=r.engine)&&void 0!==t&&t.hyperformula?r.engine:{}),i=NA(e);return{...n,...i}}function kA(e,t){return Object.keys(t).some(r=>void 0!==t[r]&&t[r]!==e[r])}function BA(){const e="engine_relationship",t=Object(Di["a"])(Hg);return t.hasItem(e)||t.register(e,new Map),t.getItem(e)}function DA(){const e="shared_engine_usage",t=Object(Di["a"])(Hg);return t.hasItem(e)||t.register(e,new Map),t.getItem(e)}function FA(e){const t=e.getSettings(),r=t[Hg],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 PA(null!==(i=n.hyperformula)&&void 0!==i?i:n,t,e);if("object"===typeof n&&Object(h["isUndefined"])(n.hyperformula)){const t=BA(),r=DA().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:TA}),n.getConfig().leapYear1900===OA.leapYear1900&&!1!==Object(o["isObjectEqual"])(n.getConfig().nullDate,OA.nullDate)||Object(zn["b"])(ka["a"]`If you use HyperFormula with Handsontable, keep the default \`leapYear1900\` and \`nullDate\`
  493. settings. Otherwise, HyperFormula's dates may not sync correctly with Handsontable's dates.`),n}return null}function PA(e,t,r){const n=t[Hg],i=LA(t),a=BA(),o=DA();HA(e,n.functions),VA(e,n.language);const s=e.buildEmpty(i);return a.set(s,[r]),o.set(s,[r.guid]),YA(s,n.namedExpressions),s.on("sheetAdded",()=>{s.rebuildAndRecalculate()}),s.on("sheetRemoved",()=>{s.rebuildAndRecalculate()}),s}function jA(e){var t;const r=BA(),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 UA(e,t){if(e){const r=BA(),n=r.get(e),i=DA(),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 HA(e,t){t&&t.forEach(t=>{const{name:r,plugin:n,translations:i}=t;try{e.registerFunction(r,n,i)}catch(a){Object(zn["b"])(a.message)}})}function VA(e,t){if(t){const{langCode:n}=t;try{e.registerLanguage(n,t)}catch(r){Object(zn["b"])(r.message)}}}function YA(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(zn["b"])(o.message)}}),e.resumeEvaluation())}function WA(e,t){return!Object(h["isUndefined"])(t)&&e.doesSheetExist(t)||(t=e.addSheet(t)),t}const QA="DD/MM/YYYY";function zA(e){return"string"===typeof e&&"'"===e.charAt(0)&&"="===e.charAt(1)}function qA(e){return zA(e)?e.substr(1):e}function GA(e){return"string"===typeof e&&e.startsWith("=")}function KA(e,t){return"string"===typeof e&&"date"===t}function XA(e,t){return R(e,t,!0).isValid()}function $A(e,t){return R(e,t,!0).format(QA)}function ZA(e,t){return R(e,QA,!0).format(t)}function JA(e,t){const r=-1,n=new Date(Date.UTC(0,0,e+r));return R(n).format(t)}function eg(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 tg(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 rg(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 ng(e,t,r){const n=tg(e,eg(e,t,r));return rg(n)}function ig(e,t,r){ag(e,t),t.set(e,r)}function ag(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function og(e,t){return e.get(lg(e,t))}function sg(e,t,r){return e.set(lg(e,t),r),r}function lg(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 cg=new WeakMap,ug=new WeakMap,dg=new WeakMap,hg=new WeakMap,pg=new WeakMap,fg=new WeakMap,mg=new WeakMap;class Ag{constructor(e,t,r){ig(this,cg,void 0),ig(this,ug,void 0),ig(this,dg,void 0),ig(this,hg,[]),ig(this,pg,[]),ig(this,fg,void 0),ig(this,mg,[]),sg(cg,this,e),sg(ug,this,t),sg(dg,this,r)}setRemovedHfIndexes(e){return sg(mg,this,e.map(e=>{const t=og(ug,this).getVisualFromPhysicalIndex(e);return this.getHfIndexFromVisualIndex(t)})),og(mg,this)}getRemovedHfIndexes(){return og(mg,this)}getHfIndexFromVisualIndex(e){const t=og(ug,this).getIndexesSequence(),r=og(ug,this).getNotTrimmedIndexes();return t.indexOf(r[e])}syncMoves(e){const t=1,r=`move${Object(p["toUpperCaseFirst"])(og(cg,this))}s`;og(dg,this).getEngine().batch(()=>{e.forEach(e=>{const n=e.from!==e.to,i=e.from+1!==e.to;n&&i&&og(dg,this).getEngine()[r](og(dg,this).getSheetId(),e.from,t,e.to)})})}storeMovesInformation(e,t,r){!1!==r&&(sg(pg,this,e.map(e=>this.getHfIndexFromVisualIndex(e))),sg(fg,this,this.getHfIndexFromVisualIndex(t)))}calculateAndSyncMoves(e,t){if(og(dg,this).isPerformingUndoRedo())return;if(!1===e||!1===t)return;const r=ng(og(pg,this),og(fg,this),og(ug,this).getNumberOfIndexes());null===og(dg,this).getSheetId()?og(dg,this).getPostponeAction(()=>this.syncMoves(r)):this.syncMoves(r)}getIndexesChangeSyncMethod(){const e=`set${Object(p["toUpperCaseFirst"])(og(cg,this))}Order`;return t=>{if(og(dg,this).isPerformingUndoRedo())return;const r=og(ug,this).getIndexesSequence();if("update"===t&&r.length>0){const t=og(hg,this).map(e=>r.indexOf(e)),n=og(dg,this).getEngine().getSheetDimensions(og(dg,this).getSheetId());let i;i="row"===og(cg,this)?n.height:n.width;const a=t.length;for(let e=a;e<i;e+=1)t.push(e);og(dg,this).getEngine()[e](og(dg,this).getSheetId(),t)}sg(hg,this,r)}}init(){sg(hg,this,og(ug,this).getIndexesSequence())}}var gg=Ag;function _g(e,t,r){vg(e,t),t.set(e,r)}function vg(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function bg(e,t){return e.get(yg(e,t))}function wg(e,t,r){return e.set(yg(e,t),r),r}function yg(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 Eg=new WeakMap,Cg=new WeakMap,Sg=new WeakMap,Mg=new WeakMap,xg=new WeakMap,Tg=new WeakMap,Og=new WeakMap;class Ng{constructor(e,t,r){_g(this,Eg,void 0),_g(this,Cg,void 0),_g(this,Sg,void 0),_g(this,Mg,!1),_g(this,xg,!1),_g(this,Tg,null),_g(this,Og,null),wg(Eg,this,new gg("row",e,this)),wg(Cg,this,new gg("column",t,this)),wg(Sg,this,r)}getForAxis(e){return bg("row"===e?Eg:Cg,this)}setPerformUndo(e){wg(Mg,this,e)}setPerformRedo(e){wg(xg,this,e)}isPerformingUndoRedo(){return bg(Mg,this)||bg(xg,this)}getSheetId(){return bg(Og,this)}getEngine(){return bg(Tg,this)}getPostponeAction(){return bg(Sg,this)}setupSyncEndpoint(e,t){wg(Tg,this,e),wg(Og,this,t),bg(Eg,this).init(),bg(Cg,this).init()}}var Rg=Ng;function Lg(e,t){Fg(e,t),t.add(e)}function Ig(e,t,r){return(t=kg(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kg(e){var t=Bg(e,"string");return"symbol"==typeof t?t:t+""}function Bg(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 Dg(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 Pg(e,t,r){return e.set(Ug(e,t),r),r}function jg(e,t){return e.get(Ug(e,t))}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")}const Hg="formulas",Vg=["maxRows","maxColumns","language"],Yg=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 Wg=e=>"UndoRedo.undo"===e||"UndoRedo.redo"===e||"auto"===e;var Qg=new WeakMap,zg=new WeakMap,qg=new WeakMap,Gg=new WeakSet;class Kg extends Jt["a"]{constructor(){var e;super(...arguments),e=this,Lg(this,Gg),Dg(this,Qg,!1),Dg(this,zg,!1),Dg(this,qg,[["valuesUpdated",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ug(Gg,e,f_).call(e,...r)}],["namedExpressionAdded",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ug(Gg,e,m_).call(e,...r)}],["namedExpressionRemoved",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ug(Gg,e,A_).call(e,...r)}],["sheetAdded",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ug(Gg,e,g_).call(e,...r)}],["sheetRenamed",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ug(Gg,e,__).call(e,...r)}],["sheetRemoved",function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ug(Gg,e,v_).call(e,...r)}]]),Ig(this,"staticRegister",Object(Di["a"])("formulas")),Ig(this,"engine",null),Ig(this,"sheetName",null),Ig(this,"indexSyncer",null),Ig(this,"rowAxisSyncer",null),Ig(this,"columnAxisSyncer",null)}static get PLUGIN_KEY(){return Hg}static get PLUGIN_PRIORITY(){return Yg}static get SETTING_KEYS(){return[Hg,...Vg]}get sheetId(){return null===this.sheetName?null:this.engine.getSheetId(this.sheetName)}isEnabled(){return!!this.hot.getSettings()[Hg]}enablePlugin(){var e,t=this;if(!this.enabled)if(this.engine=null!==(e=FA(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 Ug(Gg,t,Zg).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 Ug(Gg,t,e_).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 Ug(Gg,t,Zg).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 Ug(Gg,t,e_).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 Ug(Gg,t,t_).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 Ug(Gg,t,r_).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 Ug(Gg,t,Xg).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 Ug(Gg,t,i_).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 Ug(Gg,t,n_).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 Ug(Gg,t,n_).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 Ug(Gg,t,a_).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 Ug(Gg,t,o_).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 Ug(Gg,t,c_).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 Ug(Gg,t,u_).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 Ug(Gg,t,s_).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 Ug(Gg,t,l_).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 Ug(Gg,t,d_).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 Ug(Gg,t,h_).call(t,...r)})),this.indexSyncer=new Rg(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 Ug(Gg,t,Jg).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 Ug(Gg,t,p_).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 Ug(Gg,t,$g).call(t,...r)})),jg(qg,this).forEach(e=>{let[t,r]=e;return this.engine.on(t,r)}),super.enablePlugin()}else Object(zn["b"])("Missing the required `engine` key in the Formulas settings. Please fill it with either an engine class or an engine instance.")}disablePlugin(){jg(qg,this).forEach(e=>{let[t,r]=e;return this.engine.off(t,r)}),UA(this.engine,this.hot),this.engine=null,super.disablePlugin()}updatePlugin(e){const t=IA(this.hot.getSettings());kA(this.engine.getConfig(),t)&&this.engine.updateConfig(t);const r=this.hot.getSettings()[Hg];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()[Hg].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(){jg(qg,this).forEach(e=>{var t;let[r,n]=e;return null===(t=this.engine)||void 0===t?void 0:t.off(r,n)}),Pg(qg,this,null),UA(this.engine,this.hot),this.engine=null,super.destroy()}addSheet(e,t){if(Object(h["isDefined"])(t)&&!Object(If["isArrayOfArrays"])(t))return Object(zn["b"])("The provided data should be an array of arrays."),!1;if(void 0!==e&&null!==e&&this.engine.doesSheetExist(e))return Object(zn["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(zn["b"])(r.message),!1}}switchSheet(e){if(!this.engine.doesSheetExist(e))return void Object(zn["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"])(Hg)+".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))}),jA(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=jA(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(zn["b"])("Not possible to set cell data at "+JSON.stringify(n));const i=this.hot.getCellMeta(e,t);return KA(r,i.type)&&(XA(r,i.dateFormat)?r=$A(r,i.dateFormat):!1===GA(r)&&(r="'"+r)),this.engine.setCellContents(n,r)}}function Xg(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(rt["isNumeric"])(i)&&(i=JA(i,r.dateFormat)),"object"===typeof i&&null!==i?i.value:i}return e}function $g(e,t,r){const{row:n,col:i}=t.getTopStartCorner(),{row:a,col:o}=t.getBottomEndCorner(),{row:s,col:l}=r.getTopStartCorner(),{row:c,col:u}=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(c),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(u),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:A,col:g}=d.end,_=A-f+1,v=g-m+1;for(let b=0;b<p.length;b+=1)for(let e=0;e<p[b].length;e+=1){const t=p[b][e],r=f+b%_,n=m+e%v,i=this.hot.getCellMeta(r,n);KA(t,i.type)&&(t.startsWith("'")?p[b][e]=t.slice(1):!1===this.isFormulaCellType(r,n,this.sheetId)&&(p[b][e]=ZA(t,i.dateFormat)))}return p}function Zg(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";r.includes(Object(p["toUpperCaseFirst"])(Hg))||Pg(zg,this,Object(h["isUndefined"])(this.hot.getSettings().data))}function Jg(){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;KA(r,a.type)&&(t=!0,XA(r,o)?e[n][i]=$A(r,o):!1===this.isFormulaCellType(n,i)&&(e[n][i]="'"+r))})}),!0===t&&(Pg(Qg,this,!0),this.engine.setSheetContent(this.sheetId,e),Pg(Qg,this,!1))}function e_(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!r.includes(Object(p["toUpperCaseFirst"])(Hg)))if(this.sheetName=WA(this.engine,this.hot.getSettings()[Hg].sheetName),jg(zg,this))this.switchSheet(this.sheetName);else{const e=this.hot.getSourceDataArray();if(this.engine.isItPossibleToReplaceSheetContent(this.sheetId,e)){Pg(Qg,this,!0);const t=this.engine.setSheetContent(this.sheetId,e);this.indexSyncer.setupSyncEndpoint(this.engine,this.sheetId),this.renderDependentSheets(t),Pg(Qg,this,!1)}}}function t_(e,t,r,n){if("get"!==n||jg(Qg,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(zA(r.value)&&(r.value=qA(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(rt["isNumeric"])(s)&&(s=JA(s,l.dateFormat));const c="object"===typeof s&&null!==s?s.value:s;r.value=c}function r_(e,t,r,n){if("get"!==n||jg(Qg,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 n_(e,t){if(Wg(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),c={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:c})})});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 i_(e,t){if(Wg(t))return;const r=[],n=[];e.forEach(e=>{let[t,i,,a]=e;const o=this.hot.propToCol(i);if(!Object(rt["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(zn["b"])("Not possible to set source cell data at "+JSON.stringify(s))}),this.renderDependentSheets(r),this.validateDependentCells(r,n)}function a_(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 o_(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 s_(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 l_(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 c_(e,t,r){if(Wg(r))return;const n=this.engine.addRows(this.sheetId,[this.rowAxisSyncer.getHfIndexFromVisualIndex(e),t]);this.renderDependentSheets(n)}function u_(e,t,r){if(Wg(r))return;const n=this.engine.addColumns(this.sheetId,[this.columnAxisSyncer.getHfIndexFromVisualIndex(e),t]);this.renderDependentSheets(n)}function d_(e,t,r,n){if(Wg(n))return;const i=this.rowAxisSyncer.getRemovedHfIndexes().sort((e,t)=>t-e),a=this.engine.batch(()=>{i.forEach(e=>{this.engine.removeRows(this.sheetId,[e,1])})});this.renderDependentSheets(a)}function h_(e,t,r,n){if(Wg(n))return;const i=this.columnAxisSyncer.getRemovedHfIndexes().sort((e,t)=>t-e),a=this.engine.batch(()=>{i.forEach(e=>{this.engine.removeColumns(this.sheetId,[e,1])})});this.renderDependentSheets(a)}function p_(e,t,r){var n;Pg(Qg,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());Pg(Qg,this,!1),i.forEach((e,t)=>{e.forEach((e,n)=>{this.engine.setCellContents({col:n,row:r+t,sheet:this.sheetId},[[e]])})})}function f_(e){this.hot.runHooks("afterFormulasValuesUpdate",e)}function m_(e,t){this.hot.runHooks("afterNamedExpressionAdded",e,t)}function A_(e,t){this.hot.runHooks("afterNamedExpressionRemoved",e,t)}function g_(e){this.hot.runHooks("afterSheetAdded",e)}function __(e,t){this.sheetName=t,this.hot.runHooks("afterSheetRenamed",e,t)}function v_(e,t){this.hot.runHooks("afterSheetRemoved",e,t)}function b_(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()},disabled:!1,hidden(){return!(this.selection.isSelectedByColumnHeader()||this.selection.isSelectedByCorner())}}}function w_(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();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),c=o.getNotTrimmedIndexes(),u=[];if(i!==a){const e=a-i+1,t=l-s+1;if(e>t){const e=c.slice(i,a+1);u.push(...e.filter(e=>r.includes(e)))}}else if(0===s&&s<i)u.push(...c.slice(0,i));else if(null===s)u.push(...c.slice(0,this.countCols()));else{const e=this.countCols()-1,t=o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(e,-1));l===t&&e>a&&u.push(...c.slice(a+1))}return Object(d["arrayEach"])(u,e=>{t.push(this.toVisualColumn(e))}),0===t.length}}}var y_=r("cef7");function E_(e,t){S_(e,t),t.add(e)}function C_(e,t,r){S_(e,t),t.set(e,r)}function S_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function M_(e,t){return e.get(T_(e,t))}function x_(e,t,r){return e.set(T_(e,t),r),r}function T_(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 O_="hiddenColumns",N_=310;var R_=new WeakMap,L_=new WeakMap,I_=new WeakSet;class k_ extends Jt["a"]{constructor(){super(...arguments),E_(this,I_),C_(this,R_,{}),C_(this,L_,null)}static get PLUGIN_KEY(){return O_}static get PLUGIN_PRIORITY(){return N_}isEnabled(){return!!this.hot.getSettings()[O_]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[O_];Object(o["isObject"])(t)&&(x_(R_,this,t),Object(h["isUndefined"])(t.copyPasteEnabled)&&(t.copyPasteEnabled=!0)),x_(L_,this,new y_["a"]),M_(L_,this).addLocalHook("init",()=>T_(I_,this,U_).call(this)),this.hot.columnIndexMapper.registerMap(this.pluginName,M_(L_,this)),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return T_(I_,e,j_).call(e,...r)})),this.addHook("afterGetCellMeta",(e,t,r)=>T_(I_,this,D_).call(this,e,t,r)),this.addHook("modifyColWidth",(e,t)=>T_(I_,this,B_).call(this,e,t),2),this.addHook("afterGetColHeader",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return T_(I_,e,P_).call(e,...r)})),this.addHook("modifyCopyableRange",e=>T_(I_,this,F_).call(this,e)),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.hot.columnIndexMapper.unregisterMap(this.pluginName),x_(R_,this,{}),super.disablePlugin(),this.resetCellsMeta()}showColumns(e){const t=this.getHiddenColumns(),r=this.isValidConfig(e);let n=t;const i=M_(L_,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&&M_(L_,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=>{M_(L_,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"])(M_(L_,this).getHiddenIndexes(),e=>this.hot.toVisualColumn(e))}isHidden(e){return M_(L_,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(){x_(R_,this,null),x_(L_,this,null),super.destroy()}}function B_(e,t){return this.isHidden(t)?0:M_(R_,this).indicators&&(this.isHidden(t+1)||this.isHidden(t-1))&&"number"===typeof e&&this.hot.hasColHeaders()?e+15:void 0}function D_(e,t,r){if(!1===M_(R_,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 F_(e){if(M_(R_,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(rt["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 P_(e,t){if(!M_(R_,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 j_(e){e.items.push({name:Ro},b_(this),w_(this))}function U_(){Array.isArray(M_(R_,this).columns)&&this.hideColumns(M_(R_,this).columns)}function H_(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()},disabled:!1,hidden(){return!(this.selection.isSelectedByRowHeader()||this.selection.isSelectedByCorner())}}}function V_(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();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),c=o.getNotTrimmedIndexes(),u=[];if(i!==a){const e=a-i+1,t=l-s+1;if(e>t){const e=c.slice(i,a+1);u.push(...e.filter(e=>r.includes(e)))}}else if(0===s&&s<i)u.push(...c.slice(0,i));else if(null===s)u.push(...c.slice(0,this.countRows()));else{const e=this.countRows()-1,t=o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(e,-1));l===t&&e>a&&u.push(...c.slice(a+1))}return Object(d["arrayEach"])(u,e=>{t.push(this.toVisualRow(e))}),0===t.length}}}function Y_(e,t){Q_(e,t),t.add(e)}function W_(e,t,r){Q_(e,t),t.set(e,r)}function Q_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function z_(e,t){return e.get(G_(e,t))}function q_(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")}fe["a"].getSingleton().register("beforeHideRows"),fe["a"].getSingleton().register("afterHideRows"),fe["a"].getSingleton().register("beforeUnhideRows"),fe["a"].getSingleton().register("afterUnhideRows");const K_="hiddenRows",X_=320;var $_=new WeakMap,Z_=new WeakMap,J_=new WeakSet;class ev extends Jt["a"]{constructor(){super(...arguments),Y_(this,J_),W_(this,$_,{}),W_(this,Z_,null)}static get PLUGIN_KEY(){return K_}static get PLUGIN_PRIORITY(){return X_}isEnabled(){return!!this.hot.getSettings()[K_]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[K_];Object(o["isObject"])(t)&&(q_($_,this,t),Object(h["isUndefined"])(t.copyPasteEnabled)&&(t.copyPasteEnabled=!0)),q_(Z_,this,new y_["a"]),z_(Z_,this).addLocalHook("init",()=>G_(J_,this,ov).call(this)),this.hot.rowIndexMapper.registerMap(this.pluginName,z_(Z_,this)),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return G_(J_,e,av).call(e,...r)})),this.addHook("afterGetCellMeta",(e,t,r)=>G_(J_,this,rv).call(this,e,t,r)),this.addHook("modifyRowHeight",(e,t)=>G_(J_,this,tv).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 G_(J_,e,iv).call(e,...r)})),this.addHook("modifyCopyableRange",e=>G_(J_,this,nv).call(this,e)),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap(this.pluginName),q_($_,this,{}),super.disablePlugin(),this.resetCellsMeta()}showRows(e){const t=this.getHiddenRows(),r=this.isValidConfig(e);let n=t;const i=z_(Z_,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&&z_(Z_,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=>{z_(Z_,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"])(z_(Z_,this).getHiddenIndexes(),e=>this.hot.toVisualRow(e))}isHidden(e){return z_(Z_,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(){q_($_,this,null),q_(Z_,this,null),super.destroy()}}function tv(e,t){return this.isHidden(t)?0:e}function rv(e,t,r){if(!1===z_($_,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 nv(e){if(z_($_,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(rt["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 iv(e,t){if(!z_($_,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 av(e){e.items.push({name:Ro},H_(this),V_(this))}function ov(){Array.isArray(z_($_,this).rows)&&this.hideRows(z_($_,this).rows)}function sv(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()},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 lv(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()},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 cv(e,t){dv(e,t),t.add(e)}function uv(e,t,r){dv(e,t),t.set(e,r)}function dv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hv(e,t){return e.get(fv(e,t))}function pv(e,t,r){return e.set(fv(e,t),r),r}function fv(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 mv="manualColumnFreeze",Av=110;var gv=new WeakMap,_v=new WeakSet;class vv extends Jt["a"]{constructor(){super(...arguments),cv(this,_v),uv(this,gv,!1)}static get PLUGIN_KEY(){return mv}static get PLUGIN_PRIORITY(){return Av}isEnabled(){return!!this.hot.getSettings()[mv]}enablePlugin(){this.enabled||(this.addHook("afterContextMenuDefaultOptions",e=>fv(_v,this,bv).call(this,e)),this.addHook("beforeColumnMove",(e,t)=>fv(_v,this,wv).call(this,e,t)),super.enablePlugin())}disablePlugin(){pv(gv,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;hv(gv,this)||pv(gv,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;hv(gv,this)||pv(gv,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 bv(e){e.items.push({name:"---------"},sv(this),lv(this))}function wv(e,t){if(hv(gv,this)){const r=this.hot.getSettings().fixedColumnsStart;if(t<r)return!1;if(e.some(e=>e<r))return!1}}function yv(e,t,r){return(t=Ev(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ev(e){var t=Cv(e,"string");return"symbol"==typeof t?t:t+""}function Cv(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 Sv=0,Mv=1,xv=2,Tv="px";class Ov{constructor(e){yv(this,"hot",void 0),yv(this,"_element",null),yv(this,"state",Sv),yv(this,"inlineProperty",void 0),this.hot=e,this.inlineProperty=e.isRtl()?"right":"left"}appendTo(e){e.appendChild(this._element),this.state=xv}build(){this.state===Sv&&(this._element=this.hot.rootDocument.createElement("div"),this.state=Mv)}destroy(){this.isAppended()&&this._element.parentElement.removeChild(this._element),this._element=null,this.state=Sv}isAppended(){return this.state===xv}isBuilt(){return this.state>=Mv}setPosition(e,t){Object(rt["isNumeric"])(e)&&(this._element.style.top=e+Tv),Object(rt["isNumeric"])(t)&&(this._element.style[this.inlineProperty]=t+Tv)}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(rt["isNumeric"])(e)&&(this._element.style.width=e+Tv),Object(rt["isNumeric"])(t)&&(this._element.style.height=t+Tv)}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(rt["isNumeric"])(e)&&(this._element.style.marginTop=e+Tv),Object(rt["isNumeric"])(t)&&(this._element.style["margin"+Object(p["toUpperCaseFirst"])(this.inlineProperty)]=t+Tv)}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 Nv=Ov;const Rv="ht__manualColumnMove--backlight";class Lv extends Nv{build(){super.build(),Object(i["addClass"])(this._element,Rv)}}var Iv=Lv;const kv="ht__manualColumnMove--guideline";class Bv extends Nv{build(){super.build(),Object(i["addClass"])(this._element,kv)}}var Dv=Bv;function Fv(e,t){jv(e,t),t.add(e)}function Pv(e,t,r){jv(e,t),t.set(e,r)}function jv(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Uv(e,t,r){return e.set(Vv(e,t),r),r}function Hv(e,t){return e.get(Vv(e,t))}function Vv(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 Yv="manualColumnMove",Wv=120,Qv="ht__manualColumnMove",zv="show-ui",qv="on-moving--columns",Gv="after-selection--columns";var Kv=new WeakMap,Xv=new WeakMap,$v=new WeakMap,Zv=new WeakMap,Jv=new WeakMap,eb=new WeakMap,tb=new WeakMap,rb=new WeakMap,nb=new WeakMap,ib=new WeakMap,ab=new WeakMap,ob=new WeakSet;class sb extends Jt["a"]{constructor(){super(...arguments),Fv(this,ob),Pv(this,Kv,new Iv(this.hot)),Pv(this,Xv,new Dv(this.hot)),Pv(this,$v,[]),Pv(this,Zv,0),Pv(this,Jv,!1),Pv(this,eb,{}),Pv(this,tb,void 0),Pv(this,rb,void 0),Pv(this,nb,void 0),Pv(this,ib,void 0),Pv(this,ab,void 0)}static get PLUGIN_KEY(){return Yv}static get PLUGIN_PRIORITY(){return Wv}isEnabled(){return!!this.hot.getSettings()[Yv]}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 Vv(ob,e,lb).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 Vv(ob,e,ub).call(e,...r)})),this.addHook("afterScrollVertically",()=>Vv(ob,this,hb).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 Vv(ob,e,pb).call(e,...r)})),this.buildPluginUI(),this.registerEvents(),Object(i["addClass"])(this.hot.rootElement,Qv),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.moveBySettingsOrLoad(),super.updatePlugin()}disablePlugin(){Object(i["removeClass"])(this.hot.rootElement,Qv),this.unregisterEvents(),Hv(Kv,this).destroy(),Hv(Xv,this).destroy(),super.disablePlugin()}moveColumn(e,t){return this.moveColumns([e],t)}moveColumns(e,t){const r=Hv(tb,this),n=this.isMovePossible(e,t),i=this.hot.runHooks("beforeColumnMove",e,t,r,n);if(Uv(tb,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 Uv(tb,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()[Yv];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(rt["rangeEach"])(e,t,e=>{r.push(e)}),r}refreshPositions(){const e=this.hot.view.getFirstFullyVisibleColumn();this.isFixedColumnsStart(Hv(rb,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,Hv(rb,this)-1);const o=t.hider.offsetWidth,s=t.TBODY.offsetLeft,l=Hv(Kv,this).getOffset().start,c=Hv(Kv,this).getSize().width;let u=0,d=0;if(this.hot.isRtl()){const e=this.hot.rootWindow,t=Object(i["outerWidth"])(this.hot.rootElement),a=e.innerWidth-Hv(nb,this)-t;d=e.innerWidth-Hv(eb,this).eventPageX-a-(void 0===r.scrollX?n:0)}else d=Hv(eb,this).eventPageX-(Hv(nb,this)-(void 0===r.scrollX?n:0));if(Hv(ib,this)&&(u=this.hot.view._wt.wtOverlays.inlineStartOverlay.clone.wtTable.getColumnHeader(-1).offsetWidth),this.isFixedColumnsStart(Hv(rb,this))&&(a+=n),a+=u,Hv(rb,this)<0)Hv(ab,this)>0?Hv(eb,this).col=0:Hv(eb,this).col=e>0?e-1:e;else if(Hv(eb,this).TD.offsetWidth/2+a<=d){const e=Hv(rb,this)>=Hv(Zv,this)?Hv(Zv,this)-1:Hv(rb,this);Hv(eb,this).col=e+1,a+=Hv(eb,this).TD.offsetWidth}else Hv(eb,this).col=Hv(rb,this);let h=d,p=a;d+c+l>=o?h=o-c-l:d+l<s+u&&(h=s+u+Math.abs(l)),a>=o-1?p=o-1:0===p?p=1:void 0!==r.scrollX&&Hv(rb,this)<Hv(ab,this)&&(p-=Hv(nb,this)<=r.scrollX?Hv(nb,this):0),Hv(Kv,this).setPosition(null,h),Hv(Xv,this).setPosition(null,p)}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mousemove",e=>Vv(ob,this,cb).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>Vv(ob,this,db).call(this))}unregisterEvents(){this.eventManager.clear()}buildPluginUI(){Hv(Kv,this).build(),Hv(Xv,this).build()}destroy(){Hv(Kv,this).destroy(),Hv(Xv,this).destroy(),super.destroy()}}function lb(e,t,r,n){const o=this.hot.view._wt.wtTable,s=this.hot.selection.isSelectedByColumnHeader(),l=this.hot.getSelectedRangeLast(),c=Object(i["hasClass"])(e.target,"sortAction");if(!l||!s||Hv(Jv,this)||0!==e.button||c)return Uv(Jv,this,!1),Hv($v,this).length=0,void Object(i["removeClass"])(this.hot.rootElement,[qv,zv]);const u=Hv(Xv,this).isBuilt()&&!Hv(Xv,this).isAppended(),d=Hv(Kv,this).isBuilt()&&!Hv(Kv,this).isAppended();u&&d&&(Hv(Xv,this).appendTo(o.hider),Hv(Kv,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,Uv(Jv,this,!0);const s=r.firstChild?Object(a["offsetRelativeTo"])(e,r.firstChild).x:e.offsetX;Hv(eb,this).eventPageX=e.pageX,Uv(rb,this,t.col),Hv(eb,this).TD=r,Hv(eb,this).col=t.col,Uv($v,this,this.prepareColumnsToMoving(f,m)),Uv(ib,this,!!this.hot.getSettings().rowHeaders),Uv(Zv,this,this.hot.countCols()),Uv(ab,this,this.hot.getSettings().fixedColumnsStart),Uv(nb,this,Object(i["offset"])(this.hot.rootElement).left);const l=Hv(ib,this)?-1:0,c=o.holder.scrollTop+o.getColumnHeaderHeight(0)+1,u=t.col<Hv(ab,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,A=this.getColumnsWidth(l,f-1)+(u?d:0)+p;Hv(Kv,this).setPosition(c,A),Hv(Kv,this).setSize(this.getColumnsWidth(f,m),o.hider.offsetHeight-c),Hv(Kv,this).setOffset(null,-p),Object(i["addClass"])(this.hot.rootElement,qv)}else Object(i["removeClass"])(this.hot.rootElement,Gv),Uv(Jv,this,!1),Hv($v,this).length=0}function cb(e){Hv(Jv,this)&&(Hv(eb,this).eventPageX=e.pageX,this.refreshPositions())}function ub(e,t,r,n){const a=this.hot.getSelectedRangeLast();a&&Hv(Jv,this)&&(Hv($v,this).indexOf(t.col)>-1?Object(i["removeClass"])(this.hot.rootElement,zv):Object(i["addClass"])(this.hot.rootElement,zv),n.row=!0,n.column=!0,n.cell=!0,Uv(rb,this,t.col),Hv(eb,this).TD=r)}function db(){const e=Hv(eb,this).col,t=Hv($v,this).length;if(Uv(rb,this,void 0),Uv(Jv,this,!1),Object(i["removeClass"])(this.hot.rootElement,[qv,zv,Gv]),this.hot.selection.isSelectedByColumnHeader()&&Object(i["addClass"])(this.hot.rootElement,Gv),t<1||void 0===e)return;const r=Hv($v,this)[0],n=this.hot.toPhysicalColumn(r),a=this.dragColumns(Hv($v,this),e);if(Hv($v,this).length=0,!0===a){this.persistentStateSave(),this.hot.render(),this.hot.view.adjustElementsSize();const e=this.hot.toVisualColumn(n),r=e+t-1;this.hot.selectColumns(e,r)}}function hb(){const e=this.hot.view._wt.wtTable,t=e.getColumnHeaderHeight(0)+1,r=e.holder.scrollTop,n=t+r;Hv(Kv,this).setPosition(n),Hv(Kv,this).setSize(null,e.hider.offsetHeight-n)}function pb(){this.moveBySettingsOrLoad()}function fb(e,t){Ab(e,t),t.add(e)}function mb(e,t,r){Ab(e,t),t.set(e,r)}function Ab(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function gb(e,t,r){return e.set(vb(e,t),r),r}function _b(e,t){return e.get(vb(e,t))}function vb(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 bb="manualColumnResize",wb=130,yb="manualColumnWidths";var Eb=new WeakMap,Cb=new WeakMap,Sb=new WeakMap,Mb=new WeakMap,xb=new WeakMap,Tb=new WeakMap,Ob=new WeakMap,Nb=new WeakMap,Rb=new WeakMap,Lb=new WeakMap,Ib=new WeakMap,kb=new WeakMap,Bb=new WeakMap,Db=new WeakMap,Fb=new WeakMap,Pb=new WeakMap,jb=new WeakSet;class Ub extends Jt["a"]{static get PLUGIN_KEY(){return bb}static get PLUGIN_PRIORITY(){return wb}constructor(e){super(e),fb(this,jb),mb(this,Eb,null),mb(this,Cb,null),mb(this,Sb,[]),mb(this,Mb,null),mb(this,xb,null),mb(this,Tb,null),mb(this,Ob,null),mb(this,Nb,null),mb(this,Rb,this.hot.rootDocument.createElement("DIV")),mb(this,Lb,this.hot.rootDocument.createElement("DIV")),mb(this,Ib,null),mb(this,kb,!1),mb(this,Bb,0),mb(this,Db,null),mb(this,Fb,void 0),mb(this,Pb,void 0),Object(i["addClass"])(_b(Rb,this),"manualColumnResizer"),Object(i["addClass"])(_b(Lb,this),"manualColumnResizerGuide")}get inlineDir(){return this.hot.isRtl()?"right":"left"}isEnabled(){return this.hot.getSettings()[bb]}enablePlugin(){this.enabled||(gb(Fb,this,new lr["a"]),_b(Fb,this).addLocalHook("init",()=>vb(jb,this,Hb).call(this)),this.hot.columnIndexMapper.registerMap(this.pluginName,_b(Fb,this)),this.addHook("modifyColWidth",(e,t)=>vb(jb,this,qb).call(this,e,t),1),this.addHook("beforeStretchingColumnWidth",(e,t)=>vb(jb,this,Gb).call(this,e,t)),this.addHook("beforeColumnResize",(e,t,r)=>vb(jb,this,Kb).call(this,e,t,r)),this.bindEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){gb(Pb,this,_b(Fb,this).getValues()),this.hot.columnIndexMapper.unregisterMap(this.pluginName),super.disablePlugin()}saveManualColumnWidths(){this.hot.runHooks("persistentStateSave",yb,_b(Fb,this).getValues())}loadManualColumnWidths(){const e={};return this.hot.runHooks("persistentStateLoad",yb,e),e.value}setManualSize(e,t){const r=Math.max(t,20),n=this.hot.toPhysicalColumn(e);return _b(Fb,this).setValueAtIndex(n,r),r}clearManualSize(e){const t=this.hot.toPhysicalColumn(e);_b(Fb,this).setValueAtIndex(t,null)}setupHandlePosition(e){if(!e.parentNode)return;gb(Eb,this,e);const{_wt:t}=this.hot.view,r=t.wtTable.getCoords(_b(Eb,this)),n=r.col;if(n<0)return;const a=Object(i["outerHeight"])(_b(Eb,this)),o=_b(Eb,this).getBoundingClientRect(),s=n<t.getSetting("fixedColumnsStart");let l;s&&(l=t.wtOverlays.topInlineStartCornerOverlay.getRelativeCellPosition(_b(Eb,this),r.row,r.col)),l||(l=t.wtOverlays.topOverlay.getRelativeCellPosition(_b(Eb,this),r.row,r.col)),gb(Cb,this,this.hot.columnIndexMapper.getVisualFromRenderableIndex(n)),gb(Sb,this,[]);const c=this.hot.selection.isSelectedByCorner()||this.hot.selection.isSelectedByColumnHeader();if(this.hot.selection.isSelected()&&c){const e=this.hot.getSelectedRange();Object(d["arrayEach"])(e,e=>{const t=e.getTopStartCorner().col,r=e.getBottomEndCorner().col;Object(rt["rangeEach"])(t,r,e=>{_b(Sb,this).includes(e)||_b(Sb,this).push(e)})})}_b(Sb,this).includes(_b(Cb,this))||gb(Sb,this,[_b(Cb,this)]),gb(Nb,this,l.start-6),gb(Ob,this,parseInt(o.width,10)),_b(Rb,this).style.top=l.top+"px",_b(Rb,this).style[this.inlineDir]=_b(Nb,this)+_b(Ob,this)+"px",_b(Rb,this).style.height=a+"px",this.hot.rootElement.appendChild(_b(Rb,this))}refreshHandlePosition(){_b(Rb,this).style[this.inlineDir]=_b(Nb,this)+_b(Mb,this)+"px"}setupGuidePosition(){const e=parseInt(Object(i["outerHeight"])(_b(Rb,this)),10),t=parseInt(_b(Rb,this).style.top,10)+e,r=parseInt(this.hot.view.maximumVisibleElementHeight(0),10);Object(i["addClass"])(_b(Rb,this),"active"),Object(i["addClass"])(_b(Lb,this),"active"),_b(Lb,this).style.top=t+"px",this.refreshGuidePosition(),_b(Lb,this).style.height=r-e+"px",this.hot.rootElement.appendChild(_b(Lb,this))}refreshGuidePosition(){_b(Lb,this).style[this.inlineDir]=_b(Rb,this).style[this.inlineDir]}hideHandleAndGuide(){Object(i["removeClass"])(_b(Rb,this),"active"),Object(i["removeClass"])(_b(Lb,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()},t=(t,r)=>{const n=this.hot.runHooks("beforeColumnResize",_b(xb,this),t,!0);void 0!==n&&gb(xb,this,n),"all"===this.hot.getSettings().stretchH?this.clearManualSize(t):this.setManualSize(t,_b(xb,this)),this.saveManualColumnWidths(),this.hot.runHooks("afterColumnResize",_b(xb,this),t,!0),r&&e()};if(_b(Bb,this)>=2){const r=_b(Sb,this).length;r>1?(Object(d["arrayEach"])(_b(Sb,this),e=>{t(e)}),e()):Object(d["arrayEach"])(_b(Sb,this),e=>{t(e,!0)})}gb(Bb,this,0),gb(Db,this,null)}bindEvents(){const{rootWindow:e,rootElement:t}=this.hot;this.eventManager.addEventListener(t,"mouseover",e=>vb(jb,this,Vb).call(this,e)),this.eventManager.addEventListener(t,"mousedown",e=>vb(jb,this,Yb).call(this,e)),this.eventManager.addEventListener(e,"mousemove",e=>vb(jb,this,Wb).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>vb(jb,this,Qb).call(this)),this.eventManager.addEventListener(_b(Rb,this),"contextmenu",()=>vb(jb,this,zb).call(this))}destroy(){super.destroy()}}function Hb(){const e=this.hot.getSettings()[bb],t=this.loadManualColumnWidths();"undefined"!==typeof t?this.hot.batchExecution(()=>{t.forEach((e,t)=>{_b(Fb,this).setValueAtIndex(t,e)})},!0):Array.isArray(e)?(this.hot.batchExecution(()=>{e.forEach((e,t)=>{_b(Fb,this).setValueAtIndex(t,e)})},!0),gb(Pb,this,e)):!0===e&&Array.isArray(_b(Pb,this))&&this.hot.batchExecution(()=>{_b(Pb,this).forEach((e,t)=>{_b(Fb,this).setValueAtIndex(t,e)})},!0)}function Vb(e){if(!Object(i["isDetached"])(e.target)&&!0!==_b(kb,this)&&this.checkIfColumnHeader(e.target)){const t=this.getClosestTHParent(e.target);if(!t)return;const r=t.getAttribute("colspan");!t||null!==r&&"1"!==r||_b(Ib,this)||this.setupHandlePosition(t)}}function Yb(e){e.target.parentNode===this.hot.rootElement&&Object(i["hasClass"])(e.target,"manualColumnResizer")&&(this.setupHandlePosition(_b(Eb,this)),this.setupGuidePosition(),gb(Ib,this,!0),null===_b(Db,this)&&(gb(Db,this,setTimeout(()=>this.afterMouseDownTimeout(),500)),this.hot._registerTimeout(_b(Db,this))),gb(Bb,this,_b(Bb,this)+1),this.startX=e.pageX,gb(xb,this,_b(Ob,this)))}function Wb(e){if(_b(Ib,this)){const t=(e.pageX-this.startX)*this.hot.getDirectionFactor();gb(Mb,this,_b(Ob,this)+t),Object(d["arrayEach"])(_b(Sb,this),e=>{gb(xb,this,this.setManualSize(e,_b(Mb,this)))}),this.refreshHandlePosition(),this.refreshGuidePosition()}}function Qb(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize()},t=(t,r)=>{this.hot.runHooks("beforeColumnResize",_b(xb,this),t,!1),r&&e(),this.saveManualColumnWidths(),this.hot.runHooks("afterColumnResize",_b(xb,this),t,!1)};if(_b(Ib,this)){if(this.hideHandleAndGuide(),gb(Ib,this,!1),_b(xb,this)!==_b(Ob,this)){const r=_b(Sb,this).length;r>1?(Object(d["arrayEach"])(_b(Sb,this),e=>{t(e)}),e()):Object(d["arrayEach"])(_b(Sb,this),e=>{t(e,!0)})}this.setupHandlePosition(_b(Eb,this))}}function zb(){this.hideHandleAndGuide(),this.hot.rootElement.removeChild(_b(Rb,this)),this.hot.rootElement.removeChild(_b(Lb,this)),gb(Ib,this,!1),gb(kb,this,!0),this.hot._registerImmediate(()=>{gb(kb,this,!1)})}function qb(e,t){let r=e;if(this.enabled){const e=this.hot.toPhysicalColumn(t),n=_b(Fb,this).getValueAtIndex(e);this.hot.getSettings()[bb]&&n&&(r=n)}return r}function Gb(e,t){let r=_b(Fb,this).getValueAtIndex(t);return null===r&&(r=e),r}function Kb(){this.hot.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked()}function Xb(e,t,r){return(t=$b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $b(e){var t=Zb(e,"string");return"symbol"==typeof t?t:t+""}function Zb(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 Jb=0,ew=1,tw=2,rw="px";class nw{constructor(e){Xb(this,"hot",void 0),Xb(this,"_element",null),Xb(this,"state",Jb),this.hot=e}appendTo(e){e.appendChild(this._element),this.state=tw}build(){this.state===Jb&&(this._element=this.hot.rootDocument.createElement("div"),this.state=ew)}destroy(){this.isAppended()&&this._element.parentElement.removeChild(this._element),this._element=null,this.state=Jb}isAppended(){return this.state===tw}isBuilt(){return this.state>=ew}setPosition(e,t){void 0!==e&&(this._element.style.top=e+rw),void 0!==t&&(this._element.style.left=t+rw)}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+rw),t&&(this._element.style.height=t+rw)}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+rw),t&&(this._element.style.marginLeft=t+rw)}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 iw=nw;const aw="ht__manualRowMove--backlight";class ow extends iw{build(){super.build(),Object(i["addClass"])(this._element,aw)}}var sw=ow;const lw="ht__manualRowMove--guideline";class cw extends iw{build(){super.build(),Object(i["addClass"])(this._element,lw)}}var uw=cw;function dw(e,t){pw(e,t),t.add(e)}function hw(e,t,r){pw(e,t),t.set(e,r)}function pw(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function fw(e,t,r){return e.set(Aw(e,t),r),r}function mw(e,t){return e.get(Aw(e,t))}function Aw(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 gw="manualRowMove",_w=140,vw="ht__manualRowMove",bw="show-ui",ww="on-moving--rows",yw="after-selection--rows";var Ew=new WeakMap,Cw=new WeakMap,Sw=new WeakMap,Mw=new WeakMap,xw=new WeakMap,Tw=new WeakMap,Ow=new WeakSet;class Nw extends Jt["a"]{constructor(){super(...arguments),dw(this,Ow),hw(this,Ew,new sw(this.hot)),hw(this,Cw,new uw(this.hot)),hw(this,Sw,[]),hw(this,Mw,void 0),hw(this,xw,{}),hw(this,Tw,void 0)}static get PLUGIN_KEY(){return gw}static get PLUGIN_PRIORITY(){return _w}isEnabled(){return!!this.hot.getSettings()[gw]}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 Aw(Ow,e,Rw).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 Aw(Ow,e,Iw).call(e,...r)})),this.addHook("afterScrollHorizontally",()=>Aw(Ow,this,Bw).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 Aw(Ow,e,Dw).call(e,...r)})),this.buildPluginUI(),this.registerEvents(),Object(i["addClass"])(this.hot.rootElement,vw),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.moveBySettingsOrLoad(),super.updatePlugin()}disablePlugin(){Object(i["removeClass"])(this.hot.rootElement,vw),this.unregisterEvents(),mw(Ew,this).destroy(),mw(Cw,this).destroy(),super.disablePlugin()}moveRow(e,t){return this.moveRows([e],t)}moveRows(e,t){const r=mw(Tw,this),n=this.isMovePossible(e,t),i=this.hot.runHooks("beforeRowMove",e,t,r,n);if(fw(Tw,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 fw(Tw,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()[gw];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(rt["rangeEach"])(i,a,e=>{t.push(e)}),t}refreshPositions(){const e=mw(xw,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=mw(xw,this).TD,s=this.hot.rootElement,l=Object(i["offset"])(s),c=Object(i["getTrimmingContainer"])(s),u=a.holder.scrollTop,d=this.hot.rootWindow!==c?c.scrollTop:0,h=l.top-d,p=mw(xw,this).eventPageY-h+u,f=a.hider.offsetHeight,m=a.TBODY.offsetTop,A=mw(Ew,this).getOffset().top,g=mw(Ew,this).getSize().height,_=o.offsetHeight/2,v=o.offsetHeight;let b=this.hot.view.THEAD.offsetHeight+this.getRowsHeight(0,e.row-1);const w=p>=b+_;this.isFixedRowTop(e.row)&&(b+=this.hot.view._wt.wtOverlays.topOverlay.getOverlayOffset()),e.row<0?mw(xw,this).row=t>0?t-1:t:w?(mw(xw,this).row=e.row+1,b+=0===e.row?v-1:v):mw(xw,this).row=e.row;let y=p,E=b;p+g+A>=f?y=f-g-A:p+A<m&&(y=m+Math.abs(A)),b>=f-1&&(E=f-1),mw(Ew,this).setPosition(y),mw(Cw,this).setPosition(E)}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mousemove",e=>Aw(Ow,this,Lw).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>Aw(Ow,this,kw).call(this))}unregisterEvents(){this.eventManager.clear()}buildPluginUI(){mw(Ew,this).build(),mw(Cw,this).build()}destroy(){mw(Ew,this).destroy(),mw(Cw,this).destroy(),super.destroy()}}function Rw(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||mw(Mw,this)||0!==e.button)return fw(Mw,this,!1),mw(Sw,this).length=0,void Object(i["removeClass"])(this.hot.rootElement,[ww,bw]);const c=mw(Cw,this).isBuilt()&&!mw(Cw,this).isAppended(),u=mw(Ew,this).isBuilt()&&!mw(Ew,this).isAppended();c&&u&&(mw(Cw,this).appendTo(a.hider),mw(Ew,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,fw(Mw,this,!0),mw(xw,this).eventPageY=e.pageY,mw(xw,this).coords=t,mw(xw,this).TD=r,fw(Sw,this,this.prepareRowsToMoving());const s=a.holder.scrollLeft+o.getRowHeaderWidth(),l=this.getRowsHeight(p,t.row-1)+e.offsetY;mw(Ew,this).setPosition(null,s),mw(Ew,this).setSize(a.hider.offsetWidth-s,this.getRowsHeight(p,f)),mw(Ew,this).setOffset(-l,null),Object(i["addClass"])(this.hot.rootElement,ww),this.refreshPositions()}else Object(i["removeClass"])(this.hot.rootElement,yw),fw(Mw,this,!1),mw(Sw,this).length=0}function Lw(e){mw(Mw,this)&&(mw(xw,this).eventPageY=e.pageY,this.refreshPositions())}function Iw(e,t,r,n){const a=this.hot.getSelectedRangeLast();a&&mw(Mw,this)&&(mw(Sw,this).indexOf(t.row)>-1?Object(i["removeClass"])(this.hot.rootElement,bw):Object(i["addClass"])(this.hot.rootElement,bw),n.row=!0,n.column=!0,n.cell=!0,mw(xw,this).coords=t,mw(xw,this).TD=r)}function kw(){const e=mw(xw,this).row,t=mw(Sw,this).length;if(fw(Mw,this,!1),Object(i["removeClass"])(this.hot.rootElement,[ww,bw,yw]),this.hot.selection.isSelectedByRowHeader()&&Object(i["addClass"])(this.hot.rootElement,yw),t<1||void 0===e)return;const r=mw(Sw,this)[0],n=this.hot.toPhysicalRow(r),a=this.dragRows(mw(Sw,this),e);if(mw(Sw,this).length=0,!0===a){this.persistentStateSave(),this.hot.render(),this.hot.view.adjustElementsSize();const e=this.hot.toVisualRow(n),r=e+t-1;this.hot.selectRows(e,r)}}function Bw(){const e=this.hot.view._wt.wtTable,t=this.hot.view._wt.wtViewport.getRowHeaderWidth(),r=e.holder.scrollLeft,n=t+r;mw(Ew,this).setPosition(null,n),mw(Ew,this).setSize(e.hider.offsetWidth-n)}function Dw(){this.moveBySettingsOrLoad()}var Fw=r("eb36");function Pw(e,t){Uw(e,t),t.add(e)}function jw(e,t,r){Uw(e,t),t.set(e,r)}function Uw(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hw(e,t,r){return e.set(Yw(e,t),r),r}function Vw(e,t){return e.get(Yw(e,t))}function Yw(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 Ww="manualRowResize",Qw=30,zw="manualRowHeights";var qw=new WeakMap,Gw=new WeakMap,Kw=new WeakMap,Xw=new WeakMap,$w=new WeakMap,Zw=new WeakMap,Jw=new WeakMap,ey=new WeakMap,ty=new WeakMap,ry=new WeakMap,ny=new WeakMap,iy=new WeakMap,ay=new WeakMap,oy=new WeakMap,sy=new WeakMap,ly=new WeakMap,cy=new WeakSet;class uy extends Jt["a"]{static get PLUGIN_KEY(){return Ww}static get PLUGIN_PRIORITY(){return Qw}constructor(e){super(e),Pw(this,cy),jw(this,qw,null),jw(this,Gw,null),jw(this,Kw,[]),jw(this,Xw,null),jw(this,$w,null),jw(this,Zw,null),jw(this,Jw,null),jw(this,ey,null),jw(this,ty,this.hot.rootDocument.createElement("DIV")),jw(this,ry,this.hot.rootDocument.createElement("DIV")),jw(this,ny,!1),jw(this,iy,!1),jw(this,ay,0),jw(this,oy,null),jw(this,sy,void 0),jw(this,ly,void 0),Object(i["addClass"])(Vw(ty,this),"manualRowResizer"),Object(i["addClass"])(Vw(ry,this),"manualRowResizerGuide")}get inlineDir(){return this.hot.isRtl()?"right":"left"}isEnabled(){return this.hot.getSettings()[Ww]}enablePlugin(){this.enabled||(Hw(sy,this,new lr["a"]),Vw(sy,this).addLocalHook("init",()=>Yw(cy,this,gy).call(this)),this.hot.rowIndexMapper.registerMap(this.pluginName,Vw(sy,this)),this.addHook("modifyRowHeight",(e,t)=>Yw(cy,this,Ay).call(this,e,t)),this.bindEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){Hw(ly,this,Vw(sy,this).getValues()),this.hot.rowIndexMapper.unregisterMap(this.pluginName),super.disablePlugin()}saveManualRowHeights(){this.hot.runHooks("persistentStateSave",zw,Vw(sy,this).getValues())}loadManualRowHeights(){const e={};return this.hot.runHooks("persistentStateLoad",zw,e),e.value}setManualSize(e,t){const r=this.hot.toPhysicalRow(e),n=Math.max(t,Fw["a"]);return Vw(sy,this).setValueAtIndex(r,n),n}getLastDesiredRowHeight(){return Vw(Xw,this)}setupHandlePosition(e){Hw(qw,this,e);const{view:t}=this.hot,{_wt:r}=t,n=r.wtTable.getCoords(Vw(qw,this)),a=n.row;if(a<0)return;const o=Object(i["outerWidth"])(Vw(qw,this)),s=Vw(qw,this).getBoundingClientRect(),l=a<r.getSetting("fixedRowsTop"),c=a>=t.countNotHiddenRowIndexes(0,1)-r.getSetting("fixedRowsBottom");let u;l?u=r.wtOverlays.topInlineStartCornerOverlay.getRelativeCellPosition(Vw(qw,this),n.row,n.col):c&&(u=r.wtOverlays.bottomInlineStartCornerOverlay.getRelativeCellPosition(Vw(qw,this),n.row,n.col)),u||(u=r.wtOverlays.inlineStartOverlay.getRelativeCellPosition(Vw(qw,this),n.row,n.col)),Hw(Gw,this,this.hot.rowIndexMapper.getVisualFromRenderableIndex(a)),Hw(Kw,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(rt["rangeEach"])(t,r,e=>{Vw(Kw,this).includes(e)||Vw(Kw,this).push(e)})})}Vw(Kw,this).includes(Vw(Gw,this))||Hw(Kw,this,[Vw(Gw,this)]),Hw(ey,this,u.top-6),Hw(Jw,this,parseInt(s.height,10)),Vw(ty,this).style.top=Vw(ey,this)+Vw(Jw,this)+"px",Vw(ty,this).style[this.inlineDir]=u.start+"px",Vw(ty,this).style.width=o+"px",this.hot.rootElement.appendChild(Vw(ty,this))}refreshHandlePosition(){Vw(ty,this).style.top=Vw(ey,this)+Vw(Xw,this)+"px"}setupGuidePosition(){const e=parseInt(Object(i["outerWidth"])(Vw(ty,this)),10),t=parseInt(Vw(ty,this).style[this.inlineDir],10)+e,r=parseInt(this.hot.view.maximumVisibleElementWidth(0),10);Object(i["addClass"])(Vw(ty,this),"active"),Object(i["addClass"])(Vw(ry,this),"active"),Vw(ry,this).style.top=Vw(ty,this).style.top,Vw(ry,this).style[this.inlineDir]=t+"px",Vw(ry,this).style.width=r-e+"px",this.hot.rootElement.appendChild(Vw(ry,this))}refreshGuidePosition(){Vw(ry,this).style.top=Vw(ty,this).style.top}hideHandleAndGuide(){Object(i["removeClass"])(Vw(ty,this),"active"),Object(i["removeClass"])(Vw(ry,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&&Vw($w,this)<t?t:Vw($w,this)}afterMouseDownTimeout(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize()},t=(t,r)=>{const n=this.hot.runHooks("beforeRowResize",this.getActualRowHeight(t),t,!0);void 0!==n&&Hw($w,this,n),this.setManualSize(t,Vw($w,this)),this.hot.runHooks("afterRowResize",this.getActualRowHeight(t),t,!0),r&&e()};if(Vw(ay,this)>=2){const r=Vw(Kw,this).length;r>1?(Object(d["arrayEach"])(Vw(Kw,this),e=>{t(e)}),e()):Object(d["arrayEach"])(Vw(Kw,this),e=>{t(e,!0)})}Hw(ay,this,0),Hw(oy,this,null)}bindEvents(){const{rootElement:e,rootWindow:t}=this.hot;this.eventManager.addEventListener(e,"mouseover",e=>Yw(cy,this,dy).call(this,e)),this.eventManager.addEventListener(e,"mousedown",e=>Yw(cy,this,hy).call(this,e)),this.eventManager.addEventListener(t,"mousemove",e=>Yw(cy,this,py).call(this,e)),this.eventManager.addEventListener(t,"mouseup",()=>Yw(cy,this,fy).call(this)),this.eventManager.addEventListener(Vw(ty,this),"contextmenu",()=>Yw(cy,this,my).call(this))}destroy(){super.destroy()}}function dy(e){if(!Object(i["isDetached"])(e.target)&&!0!==Vw(iy,this)&&this.checkIfRowHeader(e.target)){const t=this.getClosestTHParent(e.target);t&&(Vw(ny,this)||this.setupHandlePosition(t))}}function hy(e){Object(i["hasClass"])(e.target,"manualRowResizer")&&(this.setupHandlePosition(Vw(qw,this)),this.setupGuidePosition(),Hw(ny,this,!0),null===Vw(oy,this)&&(Hw(oy,this,setTimeout(()=>this.afterMouseDownTimeout(),500)),this.hot._registerTimeout(Vw(oy,this))),Hw(ay,this,Vw(ay,this)+1),Hw(Zw,this,e.pageY),Hw($w,this,Vw(Jw,this)))}function py(e){Vw(ny,this)&&(Hw(Xw,this,Vw(Jw,this)+(e.pageY-Vw(Zw,this))),Object(d["arrayEach"])(Vw(Kw,this),e=>{Hw($w,this,this.setManualSize(e,Vw(Xw,this)))}),this.refreshHandlePosition(),this.refreshGuidePosition())}function fy(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize()},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(Vw(ny,this)){if(this.hideHandleAndGuide(),Hw(ny,this,!1),Vw($w,this)!==Vw(Jw,this)){const r=Vw(Kw,this).length;r>1?(Object(d["arrayEach"])(Vw(Kw,this),e=>{t(e)}),e()):Object(d["arrayEach"])(Vw(Kw,this),e=>{t(e,!0)})}this.setupHandlePosition(Vw(qw,this))}}function my(){this.hideHandleAndGuide(),this.hot.rootElement.removeChild(Vw(ty,this)),this.hot.rootElement.removeChild(Vw(ry,this)),Hw(ny,this,!1),Hw(iy,this,!0),this.hot._registerImmediate(()=>{Hw(iy,this,!1)})}function Ay(e,t){let r=e;if(this.enabled){const e=this.hot.toPhysicalRow(t),n=Vw(sy,this).getValueAtIndex(e);this.hot.getSettings()[Ww]&&n&&(r=n)}return r}function gy(){const e=this.hot.getSettings()[Ww],t=this.loadManualRowHeights();this.hot.batchExecution(()=>{"undefined"!==typeof t?t.forEach((e,t)=>{Vw(sy,this).setValueAtIndex(t,e)}):Array.isArray(e)?(e.forEach((e,t)=>{Vw(sy,this).setValueAtIndex(t,e)}),Hw(ly,this,e)):!0===e&&Array.isArray(Vw(ly,this))&&Vw(ly,this).forEach((e,t)=>{Vw(sy,this).setValueAtIndex(t,e)})},!0)}r("73d9");function _y(e,t,r){vy(e,t),t.set(e,r)}function vy(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function by(e,t,r){return(t=wy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e){var t=yy(e,"string");return"symbol"==typeof t?t:t+""}function yy(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 Ey(e,t){return e.get(Sy(e,t))}function Cy(e,t,r){return e.set(Sy(e,t),r),r}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")}var My=new WeakMap;class xy{constructor(e,t,r,n,i,a){by(this,"row",void 0),by(this,"col",void 0),by(this,"rowspan",void 0),by(this,"colspan",void 0),by(this,"removed",!1),by(this,"cellCoordsFactory",void 0),by(this,"cellRangeFactory",void 0),_y(this,My,null),this.row=e,this.col=t,this.rowspan=r,this.colspan=n,this.cellCoordsFactory=i,this.cellRangeFactory=a}static NEGATIVE_VALUES_WARNING(e){let{row:t,col:r,rowspan:n,colspan:i}=e;return ka["a"]`The merged cell declared with {row: ${t}, col: ${r},\x20
  494. rowspan: ${n}, colspan: ${i}} contains negative values, which is\x20
  495. not supported. It will not be added to the collection.`}static IS_OUT_OF_BOUNDS_WARNING(e){let{row:t,col:r}=e;return ka["a"]`The merged cell declared at [${t}, ${r}] is positioned\x20
  496. (or positioned partially) outside of the table range. It was not added to the table, please fix your setup.`}static IS_SINGLE_CELL(e){let{row:t,col:r}=e;return ka["a"]`The merged cell declared at [${t}, ${r}] has both "rowspan"\x20
  497. and "colspan" declared as "1", which makes it a single cell. It cannot be added to the collection.`}static ZERO_SPAN_WARNING(e){let{row:t,col:r}=e;return ka["a"]`The merged cell declared at [${t}, ${r}] has "rowspan"\x20
  498. or "colspan" declared as "0", which is not supported. It cannot be added to the collection.`}static containsNegativeValues(e){let{row:t,col:r,rowspan:n,colspan:i}=e;return t<0||r<0||n<0||i<0}static isSingleCell(e){let{rowspan:t,colspan:r}=e;return 1===r&&1===t}static containsZeroSpan(e){let{rowspan:t,colspan:r}=e;return 0===r||0===t}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),Cy(My,this,null)}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],c=this[a]+this[i]-1;if(l>=t&&(this[a]+=r),r>0)t<=c&&t>l&&(this[i]+=r);else if(r<0){if(o<=l&&s>=c)return this.removed=!0,Cy(My,this,null),!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&&c>=s)this[i]+=r;else if(l<=o&&c>=o&&c<s){const e=c-o+1;this[i]-=e}}return Cy(My,this,null),!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 Ey(My,this)||Cy(My,this,this.cellRangeFactory(this.cellCoordsFactory(this.row,this.col),this.cellCoordsFactory(this.row,this.col),this.cellCoordsFactory(this.getLastRow(),this.getLastColumn()))),Ey(My,this)}}var Ty=xy;function Oy(e,t){Ny(e,t),t.add(e)}function Ny(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ry(e,t,r){return(t=Ly(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ly(e){var t=Iy(e,"string");return"symbol"==typeof t?t:t+""}function Iy(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 ky(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 By=new WeakSet;class Dy{constructor(e){Oy(this,By),Ry(this,"plugin",void 0),Ry(this,"mergedCells",[]),Ry(this,"mergedCellsMatrix",new Map),Ry(this,"hot",void 0),this.plugin=e,this.hot=e.hot}static IS_OVERLAPPING_WARNING(e){let{row:t,col:r}=e;return ka["a"]`The merged cell declared at [${t}, ${r}], overlaps\x20
  499. with the other declared merged cell. The overlapping merged cell was not added to the table, please\x20
  500. fix your setup.`}get(e,t){var r;return!!this.mergedCellsMatrix.has(e)&&(null!==(r=this.mergedCellsMatrix.get(e).get(t))&&void 0!==r&&r)}getByRange(e){let t=!1;return Object(d["arrayEach"])(this.mergedCells,r=>!(r.row<=e.from.row&&r.row+r.rowspan-1>=e.to.row&&r.col<=e.from.col&&r.col+r.colspan-1>=e.to.col)||(t=r,t)),t}filterOverlappingMergeCells(e){const t=new Set;this.mergedCells.forEach(e=>{const{row:r,col:n,colspan:i,rowspan:a}=e;for(let o=r;o<r+a;o++)for(let e=n;e<n+i;e++)t.add(`r${o},c${e}`)});const r=e.filter(e=>{const{row:r,col:n,colspan:i,rowspan:a}=e,o=new Set;let s=!1;for(let l=r;l<r+a;l++){for(let r=n;r<n+i;r++){const n=`r${l},c${r}`;if(t.has(n)){Object(zn["b"])(Dy.IS_OVERLAPPING_WARNING(e)),s=!0;break}o.add(n)}if(s)break}return s||t.add(...o),!s});return r}getWithinRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{row:r,col:n}=e.getTopStartCorner(),{row:i,col:a}=e.getBottomEndCorner(),o=[];for(let s=r;s<=i;s++)for(let e=n;e<=a;e++){const r=this.get(s,e);r&&(t||!t&&r.row===s&&r.col===e)&&o.push(r)}return o}add(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=e.row,n=e.col,i=e.rowspan,a=e.colspan,o=new Ty(r,n,i,a,this.hot._createCellCoords,this.hot._createCellRange),s=this.get(r,n),l=!t&&this.isOverlapping(o);return s||l?(Object(zn["b"])(Dy.IS_OVERLAPPING_WARNING(o)),!1):(this.hot&&o.normalize(this.hot),this.mergedCells.push(o),ky(By,this,Py).call(this,o),o)}remove(e,t){const r=this.get(e,t),n=r?this.mergedCells.indexOf(r):-1;return!(!r||-1===n)&&(this.mergedCells.splice(n,1),ky(By,this,jy).call(this,r),r)}clear(){Object(d["arrayEach"])(this.mergedCells,e=>{let{row:t,col:r,rowspan:n,colspan:i}=e;Object(rt["rangeEach"])(t,t+n,e=>{Object(rt["rangeEach"])(r,r+i,t=>{const r=this.hot.getCell(e,t);r&&(r.removeAttribute("rowspan"),r.removeAttribute("colspan"),r.style.display="")})})}),this.mergedCells.length=0,this.mergedCellsMatrix=new Map}isOverlapping(e){const t=e.getRange();for(let r=0;r<this.mergedCells.length;r++){const e=this.mergedCells[r],n=e.getRange();if(n.overlaps(t))return!0}return!1}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=ky(By,this,Fy).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=ky(By,this,Fy).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=ky(By,this,Fy).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=ky(By,this,Fy).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:}const i=[];this.mergedCells.forEach(e=>{e.shift(n,t),e.removed&&i.push(e)}),i.forEach(e=>{this.mergedCells.splice(this.mergedCells.indexOf(e),1)}),this.mergedCellsMatrix.clear(),this.mergedCells.forEach(e=>{ky(By,this,Py).call(this,e)})}}function Fy(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)})))}function Py(e){for(let t=e.row;t<e.row+e.rowspan;t++)for(let r=e.col;r<e.col+e.colspan;r++)this.mergedCellsMatrix.has(t)||this.mergedCellsMatrix.set(t,new Map),this.mergedCellsMatrix.get(t).set(r,e)}function jy(e){for(let t=e.row;t<e.row+e.rowspan;t++)for(let r=e.col;r<e.col+e.colspan;r++)this.mergedCellsMatrix.get(t).delete(r)}var Uy=Dy;function Hy(e,t,r){return(t=Vy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vy(e){var t=Yy(e,"string");return"symbol"==typeof t?t:t+""}function Yy(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 Wy{constructor(e){Hy(this,"plugin",void 0),Hy(this,"mergedCellsCollection",void 0),Hy(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,c]=e,u=["up","down"].indexOf(r)>-1,d=u?l-o+1:c-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=c-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,c,u]=t;switch(r){case"up":return n-s;case"down":return c-a;case"left":return i-l;case"right":return u-o;default:return null}}getDragArea(e,t,r){const[n,i,a,o]=e,[s,l,c,u]=t;switch(r){case"up":return[s,l,n-1,o];case"down":return[a+1,i,c,o];case"left":return[s,l,a,i-1];case"right":return[n,o+1,c,u];default:return null}}getFarthestCollection(e,t,r,n){const[i,a,o,s]=e,l=["up","down"].indexOf(r)>-1,c=l?o:s,u=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 A=null,g=null,_=null;switch(r){case"up":A="includesVertically",_=c-m+1;break;case"left":A="includesHorizontally",_=c-m+1;break;case"down":A="includesVertically",_=u+m-1;break;case"right":A="includesHorizontally",_=u+m-1;break;default:}return Object(d["arrayEach"])(n,e=>{e[A](_)&&e.isFarther(g,r)&&(g=e)}),g}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),c=this.plugin.hot._createCellCoords(o,s),u=this.plugin.hot._createCellRange(l,l,c);return this.mergedCellsCollection.getWithinRange(u,!0).length>0}}var Qy=Wy;function zy(e,t,r){return(t=qy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qy(e){var t=Gy(e,"string");return"symbol"==typeof t?t:t+""}function Gy(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 Ky{constructor(e){zy(this,"plugin",void 0),zy(this,"hot",void 0),zy(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 c=this.plugin.mergedCellsCollection.get(e,t);if(!c)return;const u=c.getLastRow(),d=c.getLastColumn(),h=i<=c.row&&a<=c.col&&o>=u&&s>=d;return h?`${this.fullySelectedMergedCellClassName}-${n}`:this.isMergeCellFullySelected(c,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 Xy=Ky;function $y(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=Ty.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 Zy(e,t,r){return(t=Jy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jy(e){var t=eE(e,"string");return"symbol"==typeof t?t:t+""}function eE(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 tE{constructor(e){Zy(this,"data",void 0),Zy(this,"next",null),Zy(this,"prev",null),this.data=e}}class rE{constructor(){Zy(this,"first",null),Zy(this,"last",null)}push(e){const t=new tE(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 tE(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 nE=rE;function iE(e,t){oE(e,t),t.add(e)}function aE(e,t,r){oE(e,t),t.set(e,r)}function oE(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function sE(e,t){return e.get(cE(e,t))}function lE(e,t,r){return e.set(cE(e,t),r),r}function cE(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 uE=new WeakMap,dE=new WeakMap,hE=new WeakMap,pE=new WeakMap,fE=new WeakMap,mE=new WeakMap,AE=new WeakMap,gE=new WeakSet;class _E{constructor(e){let{mergedCellsGetter:t,rowIndexMapper:r,columnIndexMapper:n}=e;iE(this,gE),aE(this,uE,new nE),aE(this,dE,new nE),aE(this,hE,null),aE(this,pE,null),aE(this,fE,null),aE(this,mE,null),aE(this,AE,null),lE(fE,this,t),lE(mE,this,r),lE(AE,this,n)}getCurrentVerticalNode(){return sE(pE,this).data}getFirstVerticalNode(){return sE(dE,this).first.data}getNextVerticalNode(){return sE(pE,this).next.data}getPrevVerticalNode(){return sE(pE,this).prev.data}getCurrentHorizontalNode(){return sE(hE,this).data}getFirstHorizontalNode(){return sE(uE,this).first.data}getNextHorizontalNode(){return sE(hE,this).next.data}getPrevHorizontalNode(){return sE(hE,this).prev.data}setPrevNodeAsActive(){lE(pE,this,sE(pE,this).prev),lE(hE,this,sE(hE,this).prev)}setNextNodeAsActive(){lE(pE,this,sE(pE,this).next),lE(hE,this,sE(hE,this).next)}buildFocusOrder(e){const t=e.getTopStartCorner(),r=e.getBottomEndCorner(),n=new WeakSet;lE(uE,this,new nE);for(let a=t.row;a<=r.row;a++)if(!sE(mE,this).isHidden(a))for(let i=t.col;i<=r.col;i++){if(sE(AE,this).isHidden(i))continue;const t=cE(gE,this,vE).call(this,e,sE(uE,this),n,a,i);t&&lE(hE,this,t)}sE(uE,this).first&&(sE(uE,this).first.prev=sE(uE,this).last,sE(uE,this).last.next=sE(uE,this).first);const i=new WeakSet;lE(dE,this,new nE);for(let a=t.col;a<=r.col;a++)if(!sE(AE,this).isHidden(a))for(let n=t.row;n<=r.row;n++){if(sE(mE,this).isHidden(n))continue;const t=cE(gE,this,vE).call(this,e,sE(dE,this),i,n,a);t&&lE(pE,this,t)}sE(dE,this).first&&(sE(dE,this).first.prev=sE(dE,this).last,sE(dE,this).last.next=sE(dE,this).first)}setActiveNode(e,t){return sE(uE,this).inorder(r=>{const{rowStart:n,rowEnd:i,colStart:a,colEnd:o}=r.data;if(e>=n&&e<=i&&t>=a&&t<=o)return lE(hE,this,r),!1}),sE(dE,this).inorder(r=>{const{rowStart:n,rowEnd:i,colStart:a,colEnd:o}=r.data;if(e>=n&&e<=i&&t>=a&&t<=o)return lE(pE,this,r),!1}),this}}function vE(e,t,r,n,i){const a=e.getTopStartCorner(),o=e.getBottomEndCorner(),s=e.highlight.clone().normalize(),l=sE(fE,this).call(this,n,i);if(l&&r.has(l))return null;const c={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;c.colStart=l.col,c.colEnd=l.col+l.colspan-1,c.rowStart=l.row,c.rowEnd=l.row+l.rowspan-1}const u=t.push(c);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?u:null}function bE(e){const{hot:t}=e,{rowIndexMapper:r,columnIndexMapper:n}=t;function i(){}function a(t,i,a){const s=e.mergedCellsCollection.get(i,a);if(!Object(o["isObject"])(s))return t.removeAttribute("rowspan"),t.removeAttribute("colspan"),void(t.style.display="");const{row:l,col:c,colspan:u,rowspan:d}=s,[h,p]=e.translateMergedCellToRenderable(l,d,c,u),f=r.getRenderableFromVisualIndex(i),m=n.getRenderableFromVisualIndex(a),A=h-f+1,g=p-m+1,_=r.getNearestNotHiddenIndex(l,1),v=n.getNearestNotHiddenIndex(c,1),b=Math.min(d,A),w=Math.min(u,g);_===i&&v===a?(t.setAttribute("rowspan",b),t.setAttribute("colspan",w)):(t.removeAttribute("rowspan"),t.removeAttribute("colspan"),t.style.display="none")}return{before:i,after:a}}function wE(e,t){EE(e,t),t.add(e)}function yE(e,t,r){EE(e,t),t.set(e,r)}function EE(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function CE(e,t,r){return(t=SE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SE(e){var t=ME(e,"string");return"symbol"==typeof t?t:t+""}function ME(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 xE(e,t,r){return e.set(OE(e,t),r),r}function TE(e,t){return e.get(OE(e,t))}function OE(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 NE="mergeCells",RE=150,LE=NE;var IE=new WeakMap,kE=new WeakMap,BE=new WeakMap,DE=new WeakMap,FE=new WeakSet;class PE extends Jt["a"]{constructor(){super(...arguments),wE(this,FE),CE(this,"mergedCellsCollection",null),CE(this,"autofillCalculations",null),CE(this,"selectionCalculations",null),yE(this,IE,null),yE(this,kE,{row:0,col:0}),yE(this,BE,new _E({mergedCellsGetter:(e,t)=>this.mergedCellsCollection.get(e,t),rowIndexMapper:this.hot.rowIndexMapper,columnIndexMapper:this.hot.columnIndexMapper})),yE(this,DE,bE(this))}static get PLUGIN_KEY(){return NE}static get PLUGIN_PRIORITY(){return RE}isEnabled(){return!!this.hot.getSettings()[NE]}enablePlugin(){var e=this;this.enabled||(this.mergedCellsCollection=new Uy(this),this.autofillCalculations=new Qy(this),this.selectionCalculations=new Xy(this),this.addHook("afterInit",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return OE(FE,e,jE).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 OE(FE,e,HE).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 OE(FE,e,VE).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 OE(FE,e,YE).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 OE(FE,e,WE).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 OE(FE,e,qE).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 OE(FE,e,qE).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 OE(FE,e,GE).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 OE(FE,e,KE).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 OE(FE,e,XE).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 OE(FE,e,QE).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 OE(FE,e,UE).call(e,...r)})),this.addHook("afterRenderer",(function(){return TE(DE,e).after(...arguments)})),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return OE(FE,e,zE).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 OE(FE,e,$E).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 OE(FE,e,ZE).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 OE(FE,e,JE).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 OE(FE,e,eC).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 OE(FE,e,tC).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 OE(FE,e,rC).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 OE(FE,e,nC).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 OE(FE,e,iC).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 OE(FE,e,aC).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 OE(FE,e,oC).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 OE(FE,e,sC).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 OE(FE,e,lC).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 OE(FE,e,cC).call(e,...r)})),this.addHook("modifyRowHeightByOverlayName",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return OE(FE,e,uC).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()[NE];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){return!!e&&(Ty.containsNegativeValues(e)?(Object(zn["b"])(Ty.NEGATIVE_VALUES_WARNING(e)),!1):Ty.isOutOfBounds(e,this.hot.countRows(),this.hot.countCols())?(Object(zn["b"])(Ty.IS_OUT_OF_BOUNDS_WARNING(e)),!1):Ty.isSingleCell(e)?(Object(zn["b"])(Ty.IS_SINGLE_CELL(e)),!1):!Ty.containsZeroSpan(e)||(Object(zn["b"])(Ty.ZERO_SPAN_WARNING(e)),!1))}generateFromSettings(e){if(!Array.isArray(e))return;const t=e.filter(e=>this.validateSetting(e)),r=this.mergedCellsCollection.filterOverlappingMergeCells(t),n=[];r.forEach(e=>{const{row:t,col:r,rowspan:i,colspan:a}=e,o=this.hot._createCellCoords(t,r),s=this.hot._createCellCoords(t+i-1,r+a-1),l=this.hot._createCellRange(o,o,s);this.mergeRange(l,!0,!0);for(let c=t;c<t+i;c++)for(let e=r;e<r+a;e++)c===t&&e===r||n.push([c,e,null])}),0!==n.length&&this.hot.setDataAtCell(n,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(rt["rangeEach"])(0,a.rowspan-1,e=>{Object(rt["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,t);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);0!==r.length&&(this.hot.runHooks("beforeUnmergeCells",e,t),Object(d["arrayEach"])(r,e=>{this.mergedCellsCollection.remove(e.row,e.col),Object(rt["rangeEach"])(0,e.rowspan-1,t=>{Object(rt["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:LE})}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid");t.removeShortcutsByGroup(LE)}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,c=r>=0?a.getRenderableFromVisualIndex(s):r;return[l,c]}}function jE(){this.generateFromSettings(this.hot.getSettings()[NE]),this.hot.render()}function UE(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 HE(e){TE(kE,this).row=e.row,TE(kE,this).col=e.col}function VE(e){const t=this.hot.getSelectedRangeLast(),{highlight:r}=t,{columnIndexMapper:n,rowIndexMapper:i}=this.hot;TE(IE,this)&&(null!==i.getRenderableFromVisualIndex(TE(IE,this).row)&&(r.row=TE(IE,this).row),null!==n.getRenderableFromVisualIndex(TE(IE,this).col)&&(r.col=TE(IE,this).col),xE(IE,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,c=a.row+a.rowspan-1;if(e.row<0){const t=r.row>=l&&r.row<=c?l-1:c,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<=c?c+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 YE(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 WE(){const e=this.hot.getSelectedRangeLast(),{highlight:t}=e;if(this.hot.selection.isSelectedByColumnHeader()||this.hot.selection.isSelectedByRowHeader())return void xE(IE,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);xE(IE,this,t.clone()),r&&t.assign(r)}function QE(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 zE(e){e.items.push({name:"---------"},$y(this))}function qE(){xE(IE,this,null)}function GE(){if(TE(IE,this).isCell())return;const e=this.hot.getSelectedRangeLast(),t=e.getVerticalDirection(),r=e.getHorizontalDirection(),n=TE(IE,this).clone().normalize();TE(BE,this).setActiveNode(n.row,n.col),TE(kE,this).row>0||TE(kE,this).col>0?TE(BE,this).setPrevNodeAsActive():("E-W"===r&&TE(kE,this).col<0||"S-N"===t&&TE(kE,this).row<0)&&TE(BE,this).setNextNodeAsActive()}function KE(e,t){const r=this.hot.getSelectedRangeLast(),{columnIndexMapper:n,rowIndexMapper:i}=this.hot;let a=null,o=null;if(TE(kE,this).col<0){const{rowEnd:e,colEnd:t}=TE(BE,this).getPrevHorizontalNode();o=n.getNearestNotHiddenIndex(t,-1),a=i.getNearestNotHiddenIndex(e,-1)}else if(TE(kE,this).col>0){const{rowStart:e,colStart:t}=TE(BE,this).getNextHorizontalNode();o=n.getNearestNotHiddenIndex(t,1),a=i.getNearestNotHiddenIndex(e,1)}else if(TE(kE,this).row<0){const{rowEnd:e,colEnd:t}=TE(BE,this).getPrevVerticalNode();o=n.getNearestNotHiddenIndex(t,-1),a=i.getNearestNotHiddenIndex(e,-1)}else if(TE(kE,this).row>0){const{rowStart:e,colStart:t}=TE(BE,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()}TE(BE,this).setActiveNode(e,t),xE(kE,this,{row:0,col:0})}function XE(){const e=this.hot.getSelectedRangeLast();e.isHeader()||TE(BE,this).buildFocusOrder(this.hot.getSelectedRangeLast())}function $E(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 ZE(e){const t=this.hot.countCols();this.modifyViewportRowStart(e,t),this.modifyViewportRowEnd(e,t)}function JE(e){const t=this.hot.countRows();this.modifyViewportColumnStart(e,t),this.modifyViewportColumnEnd(e,t)}function eC(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.hot._createCellCoords(t[0],t[1]),a=this.hot._createCellCoords(t[2],t[3]),o=this.hot._createCellRange(i,i,a),s=this.mergedCellsCollection.getWithinRange(o);return 0===s.length||(n=this.autofillCalculations.snapDragArea(t,n,r,s)),n}function tC(e,t){this.mergedCellsCollection.shiftCollections("right",e,t)}function rC(e,t){this.mergedCellsCollection.shiftCollections("left",e,t)}function nC(e,t,r){"auto"!==r&&this.mergedCellsCollection.shiftCollections("down",e,t)}function iC(e,t){this.mergedCellsCollection.shiftCollections("up",e,t)}function aC(e,t){"Autofill.fill"===t&&this.autofillCalculations.recreateAfterDataPopulation(e)}function oC(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 sC(e,t,r,n){if(r)return this.selectionCalculations.getSelectedMergedCellClassName(e,t,r,n)}function lC(){return this.selectionCalculations.getSelectedMergedCellClassNameToRemove()}function cC(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 uC(e,t,r){if(this.hot.getSettings().rowHeaders||"bottom"===r||"bottom_inline_start_corner"===r)return e;let n,i;if("master"===r)n=this.hot.view.getFirstRenderedVisibleColumn(),i=this.hot.view.getLastRenderedVisibleColumn();else{const e=this.hot.view.getOverlayByName(r);n=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e.clone.wtTable.getFirstRenderedColumn()),i=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e.clone.wtTable.getLastRenderedColumn())}const a=this.mergedCellsCollection.get(t,n);if(!a)return e;const o=this.hot._createCellCoords(t,n),s=this.hot._createCellCoords(t,i),l=this.hot._createCellRange(o,o,s),c=this.mergedCellsCollection.getWithinRange(l),u=c.reduce((e,t)=>{let{rowspan:r}=t;return Math.max(e,r)},1);let d=0;return c.length>1&&c[0].rowspan<u&&(d=u-c[0].rowspan),c.forEach(n=>{var i;let{rowspan:a}=n,o=0;o="top"===r||"top_inline_start_corner"===r?Math.min(u,this.hot.view.countNotHiddenFixedRowsTop()-t):a-d,e=Math.max(null!==(i=e)&&void 0!==i?i:0,OE(FE,this,dC).call(this,t,o))}),e}function dC(e,t){const r=this.hot.view._wt.wtSettings.getSettingPure("defaultRowHeight"),n=this.hot.getPlugin("autoRowSize");let i=0;for(let o=e;o<e+t;o++){var a;if(!this.hot.rowIndexMapper.isHidden(o))i+=null!==(a=null===n||void 0===n?void 0:n.getRowHeight(o))&&void 0!==a?a:r}return i}function hC(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],c=a[n],u=s.multiColumnSorting,d=u.compareFunctionFactory?u.compareFunctionFactory:Vi(s.type),h=d(o,s,u)(l,c);if(h===Yi){const e=n+1;if("undefined"!==typeof t[e])return r(e)}return h}(0)}}function pC(){Object(zn["b"])(ka["a"]`Plugins \`columnSorting\` and \`multiColumnSorting\` should not be enabled simultaneously.
  501. Only \`multiColumnSorting\` will work. The \`columnSorting\` plugin will be disabled.`)}const fC="sort";function mC(e,t,r){const n=[];return!1===r||e.isColumnSorted(t)&&e.getNumberOfSortedColumns()>1&&n.push(`${fC}-${e.getIndexOfColumnInSortQueue(t)+1}`),n}function AC(e){const t=e.className.split(" "),r=new RegExp(`^${fC}-[0-9]{1,2}$`);return t.filter(e=>r.test(e))}function gC(e,t,r){return(t=_C(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _C(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)}const bC="multiColumnSorting",wC=170,yC="columnSorting",EC=bC;Ui(bC,hC);class CC extends Ca{constructor(){super(...arguments),gC(this,"pluginKey",bC)}static get PLUGIN_KEY(){return bC}static get PLUGIN_PRIORITY(){return wC}isEnabled(){return super.isEnabled()}enablePlugin(){!this.enabled&&this.hot.getSettings()[this.pluginKey]&&this.hot.getSettings()[yC]&&(pC(),this.hot.getPlugin(yC).disablePlugin()),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,ba)),!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:s["a"],position:"before",group:EC})}unregisterShortcuts(){super.unregisterShortcuts(),this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(EC)}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,AC(e)),!1!==this.enabled&&Object(i["addClass"])(e,mC(...r))}onUpdateSettings(e){this.hot.getSettings()[this.pluginKey]&&this.hot.getSettings()[yC]&&pC(),super.onUpdateSettings(e)}onAfterOnCellMouseDown(e,t){!1!==ta(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,ba))):this.sort(this.getColumnNextConfig(t.col)))}}function SC(e,t,r){return(t=MC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MC(e){var t=xC(e,"string");return"symbol"==typeof t?t:t+""}function xC(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 TC="multipleSelectionHandles",OC=160;class NC extends Jt["a"]{constructor(){super(...arguments),SC(this,"dragged",[]),SC(this,"lastSetCell",null)}static get PLUGIN_KEY(){return TC}static get PLUGIN_PRIORITY(){return OC}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 c=r.elementFromPoint(t.touches[0].clientX,t.touches[0].clientY);c&&c!==e.lastSetCell&&("TD"!==c.nodeName&&"TH"!==c.nodeName||(n=e.hot.getCoords(c),-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=c),t.preventDefault())})}getCurrentRangeCoords(e,t,r,n,i){const a=e.getTopStartCorner(),o=e.getBottomEndCorner(),s=e.getBottomStartCorner(),l=e.getTopEndCorner();let c={start:null,end:null};switch(r){case"NE-SW":switch(n){case"NE-SW":case"NW-SE":c="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&&(c={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?c={start:t,end:s}:c.end=t;break;case"NW-SE":"top"===i?c={start:t,end:o}:c.end=t;break;case"SE-NW":"top"===i?c={start:t,end:a}:c.end=t;break;case"SW-NE":"top"===i?c={start:t,end:l}:c.end=t;break;default:break}break;case"SW-NE":switch(n){case"NW-SE":c="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":c="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?c={start:this.hot._createCellCoords(t.row,l.col),end:this.hot._createCellCoords(a.row,t.col)}:"top"===i&&(c={start:s,end:t});break;default:break}break;case"SE-NW":switch(n){case"NW-SE":case"NE-SW":case"SW-NE":"top"===i&&(c.end=t);break;case"SE-NW":"top"===i?c.end=t:c={start:t,end:a};break;default:break}break;default:break}return c}isDragged(){return this.dragged.length>0}}var RC=r("a309");function LC(){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,headerClassNames:c=[]}=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,headerClassNames:c}}function IC(){return{label:"",isPlaceholder:!0}}function kC(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=LC();if(Object(o["isObject"])(e)){const{label:t,colspan:n,headerClassName:i}=e;r.label=Object(h["stringify"])(t),"number"===typeof n&&n>1&&(r.colspan=n,r.origColspan=n),"string"===typeof i&&(r.headerClassNames=[...i.split(" ")])}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(IC());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),()=>LC());e.splice(e.length,0,...t)}}),r}function BC(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 FC(e,t){return e.get(jC(e,t))}function PC(e,t,r){return e.set(jC(e,t),r),r}function jC(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 UC=["label","collapsible"];var HC=new WeakMap,VC=new WeakMap,YC=new WeakMap;class WC{constructor(){BC(this,HC,[]),BC(this,VC,0),BC(this,YC,1/0)}setColumnsLimit(e){PC(YC,this,e)}setData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];PC(HC,this,kC(e,FC(YC,this))),PC(VC,this,FC(HC,this).length)}getData(){return FC(HC,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,UC)})}map(e){Object(d["arrayEach"])(FC(HC,this),t=>{Object(d["arrayEach"])(t,t=>{const r=e({...t});Object(o["isObject"])(r)&&Object(o["extend"])(t,r,UC)})})}getHeaderSettings(e,t){var r;if(e>=FC(VC,this)||e<0)return null;const n=FC(HC,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>=FC(VC,this)||e<0)return n;const i=FC(HC,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 FC(VC,this)}getColumnsCount(){return FC(VC,this)>0?FC(HC,this)[0].length:0}clear(){PC(HC,this,[]),PC(VC,this,0)}}function QC(e,t,r){return(t=zC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zC(e){var t=qC(e,"string");return"symbol"==typeof t?t:t+""}function qC(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 GC="DF-pre-order";function KC(e,t){let r=e.call(t,this);for(let n=0;n<this.childs.length;n++){if(!1===r)return!1;r=KC.call(this.childs[n],e,t)}return r}const XC="DF-post-order";function $C(e,t){for(let r=0;r<this.childs.length;r++){const n=$C.call(this.childs[r],e,t);if(!1===n)return!1}return e.call(t,this)}const ZC="BF";function JC(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 eS=ZC,tS=new Map([[GC,KC],[XC,$C],[ZC,JC]]);class rS{constructor(e){QC(this,"data",{}),QC(this,"parent",null),QC(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 rS({...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]:eS;if(!tS.has(t))throw new Error(`Traversal strategy "${t}" does not exist`);tS.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 nS(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 aS(e,t){return e.get(sS(e,t))}function oS(e,t,r){return e.set(sS(e,t),r),r}function sS(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 lS=new WeakMap,cS=new WeakMap,uS=new WeakMap;class dS{constructor(e){nS(this,lS,new Map),nS(this,cS,new Map),nS(this,uS,null),oS(uS,this,e)}getRoots(){return Array.from(aS(lS,this).values())}getRootByColumn(e){let t;return aS(cS,this).has(e)&&(t=aS(lS,this).get(aS(cS,this).get(e))),t}getNode(e,t){const r=this.getRootByColumn(t);if(!r)return;const n=t-aS(cS,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;aS(cS,this).clear(),Object(d["arrayEach"])(aS(lS,this),t=>{let[,{data:{colspan:r}}]=t;for(let n=e;n<e+r;n++)aS(cS,this).set(n,e);e+=r})}buildTree(){this.clear();const e=aS(uS,this).getColumnsCount();let t=0;while(t<e){const e=aS(uS,this).getHeaderSettings(0,t),r=new rS;aS(lS,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=aS(uS,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 rS(i),e.addChild(a)),r<aS(uS,this).getLayersCount()&&this.buildLeaves(a,t,r,n.origColspan),t+=n.origColspan})}clear(){aS(lS,this).clear(),aS(cS,this).clear()}}function hS(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 pS(e,t){let{childs:r}=e;if(0!==r.length)return r[0].data[t]}function fS(e){return pS(e,"origColspan")===e.data.origColspan}function mS(e){const{data:t,childs:r}=e;if(!t.isCollapsed||t.isHidden||t.origColspan<=1)return{rollbackModification:()=>{},affectedColumns:[],colspanCompensation:0};const n=fS(e);if(n)return mS(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,hS(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):fS(e)&&(t.isCollapsed=pS(e,"isCollapsed"))}),{rollbackModification:()=>AS(e),affectedColumns:Array.from(a),colspanCompensation:o}}function AS(e){var t;const{data:r,childs:n}=e;if(r.isCollapsed||r.isHidden||r.origColspan<=1)return{rollbackModification:()=>{},affectedColumns:[],colspanCompensation:0};const i=fS(e);if(i)return AS(n[0]);r.isCollapsed=!0;const a=n.slice(1),o=new Set;if(a.length>0)Object(d["arrayEach"])(a,e=>{hS(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=pS(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):fS(e)&&(t.isCollapsed=pS(e,"isCollapsed"))}),{rollbackModification:()=>mS(e),affectedColumns:Array.from(o),colspanCompensation:s}}function gS(e,t){if(!Number.isInteger(t))throw new Error("The passed gridColumnIndex argument has invalid type.");if(e.childs.length>0)throw new Error(ka["a"]`The passed node is not the last node on the tree. Only for\x20
  502. 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 _S(e,t){if(!Number.isInteger(t))throw new Error("The passed gridColumnIndex argument has invalid type.");if(e.childs.length>0)throw new Error(ka["a"]`The passed node is not the last node on the tree. Only for\x20
  503. 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 vS=new Map([["collapse",AS],["expand",mS],["hide-column",gS],["show-column",_S]]);function bS(e,t,r){if(!vS.has(e))throw new Error(`The node modifier action ("${e}") does not exist.`);return vS.get(e)(t,r)}function wS(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=ES(t,a);let l=!1;for(let t=i;t<i+n;t++){const e=o.includes(t);if(e||l)s.push(IC(r));else{const e=yS(r);e.isRoot=!0,s.push(e),l=!0}}})}),t}function yS(e){const{crossHiddenColumns:t,...r}=LC(e);return r}function ES(e,t){let r;return Array.isArray(e[t])?r=e[t]:(r=[],e[t]=r),r}function CS(e,t,r){SS(e,t),t.set(e,r)}function SS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function MS(e,t,r){return e.set(TS(e,t),r),r}function xS(e,t){return e.get(TS(e,t))}function TS(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 OS=new WeakMap,NS=new WeakMap,RS=new WeakMap;class LS{constructor(){CS(this,OS,new WC),CS(this,NS,new dS(xS(OS,this))),CS(this,RS,[[]])}setState(e){xS(OS,this).setData(e);let t=!1;try{xS(NS,this).buildTree()}catch(r){xS(NS,this).clear(),xS(OS,this).clear(),t=!0}return MS(RS,this,wS(xS(NS,this).getRoots())),t}setColumnsLimit(e){xS(OS,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}});xS(OS,this).mergeWith(t),xS(NS,this).buildTree(),MS(RS,this,wS(xS(NS,this).getRoots()))}mapState(e){xS(OS,this).map(e),xS(NS,this).buildTree(),MS(RS,this,wS(xS(NS,this).getRoots()))}mapNodes(e){return Object(d["arrayReduce"])(xS(NS,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=xS(NS,this).getNode(t,r);let i;return n&&(i=bS(e,n,r),MS(RS,this,wS(xS(NS,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=xS(RS,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=xS(NS,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=xS(NS,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)},GC)}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 xS(OS,this).getLayersCount()}getColumnsCount(){return xS(OS,this).getColumnsCount()}clear(){MS(RS,this,[]),xS(OS,this).clear(),xS(NS,this).clear()}}function IS(e,t,r){return(t=kS(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kS(e){var t=BS(e,"string");return"symbol"==typeof t?t:t+""}function BS(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 DS{constructor(e,t){IS(this,"hot",void 0),IS(this,"nestedHeaderSettingsGetter",void 0),IS(this,"layersCount",0),IS(this,"container",void 0),IS(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"),c=this.nestedHeaderSettingsGetter(l,a);if(c&&(!c.isPlaceholder||c.isHidden)){let t=c.label;o&&(t+='<button class="changeType"></button>'),Object(i["fastInnerHTML"])(s,t),s.colSpan=c.colspan,e.appendChild(s)}}a.appendChild(e)}n.appendChild(a),e.appendChild(n)}clear(){this.widthsMap.clear(),this.container=null}}var FS=DS;function PS(e,t){YS(e,t),t.add(e)}function jS(e,t,r){return(t=US(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function US(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)}function VS(e,t,r){YS(e,t),t.set(e,r)}function YS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function WS(e,t,r){return e.set(zS(e,t),r),r}function QS(e,t){return e.get(zS(e,t))}function zS(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 qS="nestedHeaders",GS=280;var KS=new WeakMap,XS=new WeakMap,$S=new WeakMap,ZS=new WeakMap,JS=new WeakSet;class eM extends Jt["a"]{constructor(){super(...arguments),PS(this,JS),VS(this,KS,new LS),VS(this,XS,null),VS(this,$S,null),VS(this,ZS,!1),jS(this,"ghostTable",new FS(this.hot,(e,t)=>this.getHeaderSettings(e,t))),jS(this,"detectedOverlappedHeaders",!1)}static get PLUGIN_KEY(){return qS}static get PLUGIN_PRIORITY(){return GS}isEnabled(){return!!this.hot.getSettings()[qS]}enablePlugin(){var e=this;if(this.enabled)return;const{nestedHeaders:t}=this.hot.getSettings();Array.isArray(t)&&Array.isArray(t[0])||Object(zn["b"])(ka["a"]`Your Nested Headers plugin configuration is invalid. The settings has to be\x20
  504. passed as an array of arrays e.q. [['A1', { label: 'A2', colspan: 2 }]]`),this.addHook("init",()=>zS(JS,this,gM).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 zS(JS,e,_M).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 zS(JS,e,aM).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 zS(JS,e,oM).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 zS(JS,e,sM).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 zS(JS,e,lM).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 zS(JS,e,cM).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 zS(JS,e,uM).call(e,...r)})),this.addHook("afterSelection",()=>zS(JS,this,tM).call(this)),this.addHook("afterSelectionFocusSet",()=>zS(JS,this,tM).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 zS(JS,e,rM).call(e,...r)})),this.addHook("afterGetColumnHeaderRenderers",e=>zS(JS,this,hM).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 zS(JS,e,fM).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 zS(JS,e,mM).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 zS(JS,e,nM).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 zS(JS,e,iM).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 zS(JS,e,dM).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 zS(JS,e,pM).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 zS(JS,e,AM).call(e,...r)})),this.hot.columnIndexMapper.addLocalHook("cacheUpdated",()=>zS(JS,this,tM).call(this)),this.hot.rowIndexMapper.addLocalHook("cacheUpdated",()=>zS(JS,this,tM).call(this)),super.enablePlugin(),this.updatePlugin()}updatePlugin(){if(!this.hot.view)return;const{nestedHeaders:e}=this.hot.getSettings();QS(KS,this).setColumnsLimit(this.hot.countCols()),Array.isArray(e)&&(this.detectedOverlappedHeaders=QS(KS,this).setState(e)),this.detectedOverlappedHeaders&&Object(zn["b"])(ka["a"]`Your Nested Headers plugin setup contains overlapping headers. This kind of configuration\x20
  505. is currently not supported.`),this.enabled&&this.hot.columnIndexMapper.hidingMapsCollection.getMergedValues().forEach((e,t)=>{const r=!0===e?"hide-column":"show-column";QS(KS,this).triggerColumnModification(r,t)}),!QS(XS,this)&&this.enabled&&WS(XS,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";QS(KS,this).triggerColumnModification(e,r)}}),this.ghostTable.buildWidthsMap()})),this.ghostTable.setLayersCount(this.getLayersCount()).buildWidthsMap(),super.updatePlugin()}disablePlugin(){this.clearColspans(),QS(KS,this).clear(),QS(XS,this).unsubscribe(),WS(XS,this,null),this.ghostTable.clear(),super.disablePlugin()}getStateManager(){return QS(KS,this)}getLayersCount(){return QS(KS,this).getLayersCount()}getHeaderSettings(e,t){return QS(KS,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 c=s.getVisualFromRenderableIndex(n);null===c&&(c=n),a.removeAttribute("colspan"),Object(i["removeClass"])(a,"hiddenHeader");const{colspan:u,isHidden:d,isPlaceholder:h,headerClassNames:p}=null!==(o=QS(KS,this).getHeaderSettings(e,c))&&void 0!==o?o:{label:""};if(h||d)Object(i["addClass"])(a,"hiddenHeader");else if(u>1){var f,m;const{wtOverlays:e}=l._wt,t=null===(f=e.topInlineStartCornerOverlay)||void 0===f?void 0:f.clone.wtTable.THEAD.contains(a),i=null===(m=e.inlineStartOverlay)||void 0===m?void 0:m.clone.wtTable.THEAD.contains(a),o=t||i?Math.min(u,r-n):u;o>1&&a.setAttribute("colspan",o)}if(this.hot.view.appendColHeader(c,a,(function(){return t.getColumnHeaderValue(...arguments)}),e),!h&&!d){const e=a.querySelector("div.relative");e&&p&&p.length>0&&(Object(i["removeClass"])(e,this.hot.getColumnMeta(c).headerClassName),Object(i["addClass"])(e,p))}}}getColumnHeaderValue(e,t){var r;const{isHidden:n,isPlaceholder:i}=null!==(r=QS(KS,this).getHeaderSettings(t,e))&&void 0!==r?r:{};return i||n?"":this.hot.getColHeader(e,t)}destroy(){WS(KS,this,null),null!==QS(XS,this)&&(QS(XS,this).unsubscribe(),WS(XS,this,null)),super.destroy()}_getHeaderTreeNodeDataByCoords(e){if(!(e.row>=0||e.col<0))return QS(KS,this).getHeaderTreeNodeData(e.row,e.col)}}function tM(){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=QS(KS,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 rM(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=QS(KS,this).findLeftMostColumnIndex(r.row,r.col),s=QS(KS,this).findRightMostColumnIndex(r.row,r.col);return o<i&&s>a?e:o<i?o:s}function nM(e,t,r){const n=QS(KS,this).getHeaderTreeNodeData(t,e);if(!n)return e;const{columnCursor:i,selectionType:a,selectionWidth:o}=r,{isRoot:s,colspan:l}=QS(KS,this).getHeaderSettings(t,e);if(a===RC["g"]){if(!s)return n.columnIndex}else if(a===RC["a"]&&(l>o-i||!s))return null;return e}function iM(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,c=n-s+1;if(r>=0||1===c)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=QS(KS,this).getHeaderTreeNodeData(a,t))||void 0===i?void 0:i.isRoot;!1===s&&(e[r][o]="")}}}function aM(e,t,r,n){const i=this._getHeaderTreeNodeDataByCoords(t);i&&(n.column=!0)}function oM(e,t){const r=this._getHeaderTreeNodeDataByCoords(t);if(!r)return;WS($S,this,t.clone()),WS(ZS,this,!0);const{selection:n}=this.hot,i=n.isSelected()?n.getSelectedRange().current():null,o=[],{columnIndex:s,origColspan:l}=r,c=!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)&&c||Object(a["isTouchEvent"])(e))&&o.push(s,s+l-1,t.row),n.selectColumns(...o)}function sM(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(),c=s.getBottomEndCorner(),{from:u}=s;n.column=!0,n.cell=!0;const d=[],h=Object(rt["clamp"])(t.row,-1/0,-1);t.col<u.col?d.push(c.col,a,h):t.col>u.col?d.push(l.col,a+o-1,h):d.push(a,a+o-1,h),this.hot.selection.selectColumns(...d)}function lM(){WS(ZS,this,!1)}function cM(){const{navigableHeaders:e}=this.hot.getSettings();if(!this.hot.view.isMouseDown()||!QS(ZS,this)||!e)return;const t=this.hot.getSelectedRangeLast(),r=t.getTopStartCorner().col,n=t.getBottomEndCorner().col,{columnIndex:i,origColspan:a}=QS(KS,this).getHeaderTreeNodeData(QS($S,this).row,QS($S,this).col);if(t.setHighlight(QS($S,this)),a>t.getWidth()||i<r||i+a-1>n){const e=QS(KS,this).findTopMostEntireHeaderLevel(Object(rt["clamp"])(r,i,i+a-1),Object(rt["clamp"])(n,i,i+a-1));t.highlight.row=e,t.highlight.col=t.from.col}}function uM(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=QS(KS,this).findLeftMostColumnIndex(r.row,r.col),a=QS(KS,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 dM(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 hM(e){e.length=0;for(let t=0;t<QS(KS,this).getLayersCount();t++)e.push(this.headerRendererFactory(t))}function pM(e){const t=QS(KS,this).getLayersCount();let r=e.startColumn,n=!!t;for(let i=0;i<t;i++){const t=QS(KS,this).findLeftMostColumnIndex(i,e.startColumn),a=this.hot.columnIndexMapper.getRenderableFromVisualIndex(t);if(t>=0&&(n=!1),Object(rt["isNumeric"])(a)&&a<e.startColumn){r=a;break}}e.startColumn=n?QS(KS,this).getHeaderTreeNodeData(0,r).columnIndex:r}function fM(e,t){const r=this.ghostTable.getWidth(t);return e>r?e:r}function mM(e,t,r){var n;const{label:i}=null!==(n=QS(KS,this).getHeaderTreeNodeData(r,t))&&void 0!==n?n:{label:""};return i}function AM(e,t){if(e<0)return this.hot.getCell(e,QS(KS,this).findLeftMostColumnIndex(e,t),!0)}function gM(){this.updatePlugin()}function _M(e,t){t||this.updatePlugin()}function vM(e,t,r){return(t=bM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bM(e){var t=wM(e,"string");return"symbol"==typeof t?t:t+""}function wM(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 yM{constructor(e,t){vM(this,"hot",void 0),vM(this,"data",null),vM(this,"plugin",void 0),vM(this,"parentReference",new WeakMap),vM(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(rt["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(rt["rangeEach"])(e[0],e[2],e=>{const t=this.translateTrimmedRow(e);n.push(this.getDataObject(t))}),Object(rt["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),c=this.getRowIndex(l);let u=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){u=c+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 u=this.hot.countRows()+1,this.hot.runHooks("beforeCreateRow",u-2,a+1,this.plugin.pluginName),this.data.push(r)}this.rewriteCache(),this.hot.runHooks("afterCreateRow",u-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 c=i?this.getRowParent(t-1):this.getRowParent(t);null!==c&&void 0!==c||(c=this.getRowParent(t-1)),null!==c&&void 0!==c||(c=this.getDataObject(t-1)),c?c.__children||(c.__children=[]):(c=this.getDataObject(t),c.__children=[]);const u=i||r||n?c.__children.length:this.getRowIndexWithinParent(t),d=a===c;c.__children.splice(u,0,s[0]),a.__children.splice(o+(l&&d?1:0),1),this.syncRowWithRawSource(a),d||this.syncRowWithRawSource(c)}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 EM=yM;function CM(e,t,r){return(t=SM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SM(e){var t=MM(e,"string");return"symbol"==typeof t?t:t+""}function MM(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 xM{constructor(e,t){CM(this,"hot",void 0),CM(this,"plugin",void 0),this.hot=t,this.plugin=e}}var TM=xM;class OM extends TM{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"]'),c=this.hot.getSettings().ariaTags;if(Object(d["arrayEach"])(l,e=>{e&&o.removeChild(e)}),Object(i["addClass"])(t,OM.CSS_CLASSES.indicatorContainer),n){const{rootDocument:e}=this.hot,t=s.cloneNode(!0);o.innerHTML="",Object(rt["rangeEach"])(0,n-1,()=>{const t=e.createElement("SPAN");Object(i["addClass"])(t,OM.CSS_CLASSES.emptyIndicator),o.appendChild(t)}),o.appendChild(t)}if(this.dataManager.hasChildren(a)){const e=this.hot.rootDocument.createElement("DIV");c&&Object(i["setAttribute"])(e,[Object(g["n"])()]),Object(i["addClass"])(t,OM.CSS_CLASSES.parent),this.collapsingUI.areChildrenCollapsed(r)?(Object(i["addClass"])(e,`${OM.CSS_CLASSES.button} ${OM.CSS_CLASSES.expandButton}`),c&&Object(i["setAttribute"])(t,[Object(g["k"])(!1)])):(Object(i["addClass"])(e,`${OM.CSS_CLASSES.button} ${OM.CSS_CLASSES.collapseButton}`),c&&Object(i["setAttribute"])(t,[Object(g["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 NM=OM;class RM extends TM{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(rt["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,NM.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 LM=RM;function IM(e,t,r){kM(e,t),t.set(e,r)}function kM(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function BM(e,t,r){return(t=DM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DM(e){var t=FM(e,"string");return"symbol"==typeof t?t:t+""}function FM(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 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 UM=new WeakMap;class HM extends TM{constructor(){super(...arguments),BM(this,"dataManager",this.plugin.dataManager),IM(this,UM,{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(rt["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(rt["rangeEach"])(0,e.items.length-1,t=>{const r=PM(UM,this)[e.items[t].key];null!==r&&void 0!==r&&(e.items[t].callback=r)}),e}}var VM=HM;function YM(e,t,r){return(t=WM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function WM(e){var t=QM(e,"string");return"symbol"==typeof t?t:t+""}function QM(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 zM{constructor(e){YM(this,"plugin",void 0),YM(this,"hot",void 0),YM(this,"dataManager",void 0),YM(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}),c=-1===l.indexOf(o);if(!s||!c)return!1;const u=this.getBaseParent(l),d=this.getTargetParent(a,o),h=u===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(zn["b"])(ka["a"]`Since version 8.0.0 of the Handsontable the 'moveRows' method isn't used for moving rows\x20
  506. 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 qM(e,t){KM(e,t),t.add(e)}function GM(e,t,r){KM(e,t),t.set(e,r)}function KM(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function XM(e,t,r){return(t=$M(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $M(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 JM(e,t){return e.get(tx(e,t))}function ex(e,t,r){return e.set(tx(e,t),r),r}function tx(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 rx="nestedRows",nx=300,ix=rx,ax="The Nested Rows plugin requires an Array of Objects as a dataset to be provided. The plugin has been disabled.";var ox=new WeakMap,sx=new WeakMap,lx=new WeakSet;class cx extends Jt["a"]{constructor(){super(...arguments),qM(this,lx),XM(this,"dataManager",null),XM(this,"headersUI",null),XM(this,"collapsedRowsMap",null),GM(this,ox,!1),GM(this,sx,!1)}static get PLUGIN_KEY(){return rx}static get PLUGIN_PRIORITY(){return nx}isEnabled(){return!!this.hot.getSettings()[rx]}enablePlugin(){var e=this;this.enabled||(this.collapsedRowsMap=this.hot.rowIndexMapper.registerMap("nestedRows",new nA["a"]),this.dataManager=new EM(this,this.hot),this.collapsingUI=new LM(this,this.hot),this.headersUI=new NM(this,this.hot),this.contextMenuUI=new VM(this,this.hot),this.rowMoveController=new zM(this),this.addHook("afterInit",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tx(lx,e,Ex).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 tx(lx,e,Cx).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 tx(lx,e,hx).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 tx(lx,e,px).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 tx(lx,e,fx).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 tx(lx,e,dx).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 tx(lx,e,gx).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 tx(lx,e,Ax).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 tx(lx,e,_x).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 tx(lx,e,vx).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 tx(lx,e,bx).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 tx(lx,e,wx).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 tx(lx,e,mx).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 tx(lx,e,yx).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 tx(lx,e,ux).call(e,...r)})),this.addHook("beforeLoadData",e=>tx(lx,this,Sx).call(this,e)),this.addHook("beforeUpdateData",e=>tx(lx,this,Sx).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:ix,relativeToGroup:s["a"],position:"before"})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(ix)}disableCoreAPIModifiers(){ex(sx,this,!0)}enableCoreAPIModifiers(){ex(sx,this,!1)}onModifyRowData(e){if(!JM(sx,this))return this.dataManager.getDataObject(e)}onModifySourceLength(){if(!JM(sx,this))return this.dataManager.countAllRows()}onBeforeDataSplice(e,t,r){return!(!JM(sx,this)&&!this.dataManager.isRowHighestLevel(e))||(this.dataManager.spliceData(e,t,r),!1)}destroy(){super.destroy()}}function ux(e,t,r,n){return this.rowMoveController.onBeforeRowMove(e,t,r,n)}function dx(e,t,r){this.collapsingUI.toggleState(e,t,r)}function hx(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),ex(ox,this,!0),this.dataManager.getData().slice()}function px(e){return this.contextMenuUI.appendOptions(e)}function fx(e,t){this.headersUI.appendLevelIndicators(e,t)}function mx(e){return Math.max(this.headersUI.rowHeaderWidthCache,e)}function Ax(e,t,r,n){n!==this.pluginName&&this.hot._registerTimeout(()=>{ex(ox,this,!1),this.headersUI.updateRowHeaderWidth(),this.collapsingUI.collapsedRowsStash.applyStash()})}function gx(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 _x(){this.collapsingUI.collapsedRowsStash.stash()}function vx(e,t){this.collapsingUI.collapsedRowsStash.shiftStash(this.dataManager.getRowIndex(t)),this.collapsingUI.collapsedRowsStash.applyStash(),this.headersUI.updateRowHeaderWidth()}function bx(){this.collapsingUI.collapsedRowsStash.stash()}function wx(e,t,r){this.collapsingUI.collapsedRowsStash.shiftStash(r,null,-1),this.collapsingUI.collapsedRowsStash.applyStash(),this.headersUI.updateRowHeaderWidth()}function yx(){this.dataManager.rewriteCache()}function Ex(){this.headersUI.updateRowHeaderWidth()}function Cx(e,t){JM(ox,this)&&(t.skipRender=!0)}function Sx(e){if(!Object(If["isArrayOfObjects"])(e))return Object(zn["a"])(ax),this.hot.getSettings()[rx]=!1,void this.disablePlugin();this.dataManager.setData(e),this.dataManager.rewriteCache()}function Mx(e,t,r){return(t=xx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xx(e){var t=Tx(e,"string");return"symbol"==typeof t?t:t+""}function Tx(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 Ox{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Mx(this,"rootWindow",void 0),Mx(this,"prefix",void 0),Mx(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 Nx=Ox;function Rx(e,t,r){return(t=Lx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lx(e){var t=Ix(e,"string");return"symbol"==typeof t?t:t+""}function Ix(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 kx="persistentState",Bx=0;class Dx extends Jt["a"]{constructor(){super(...arguments),Rx(this,"storage",void 0)}static get PLUGIN_KEY(){return kx}static get PLUGIN_PRIORITY(){return Bx}isEnabled(){return!!this.hot.getSettings()[kx]}enablePlugin(){this.enabled||(this.storage||(this.storage=new Nx(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 Fx(e,t){Px(e,t),t.add(e)}function Px(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function jx(e,t,r){return(t=Ux(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ux(e){var t=Hx(e,"string");return"symbol"==typeof t?t:t+""}function Hx(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 Vx(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 Yx="search",Wx=190,Qx="htSearchResult",zx=function(e,t,r,n,i){e.getCellMeta(t,r).isSearchResult=i},qx=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 Gx=new WeakSet;class Kx extends Jt["a"]{constructor(){super(...arguments),Fx(this,Gx),jx(this,"callback",zx),jx(this,"queryMethod",qx),jx(this,"searchResultClass",Qx)}static get PLUGIN_KEY(){return Yx}static get PLUGIN_PRIORITY(){return Wx}isEnabled(){return this.hot.getSettings()[Yx]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[Yx];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 Vx(Gx,e,Xx).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 Vx(Gx,e,Xx).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(rt["rangeEach"])(0,n-1,n=>{Object(rt["rangeEach"])(0,i-1,i=>{const s=this.hot.getDataAtCell(n,i),l=this.hot.getCellMeta(n,i),c=l.search.callback||t,u=l.search.queryMethod||r,d=u(e,s,l);if(d){const e={row:n,col:i,data:s};a.push(e)}c&&c(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 Xx(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 $x(e,t){Zx(e,t),t.add(e)}function Zx(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Jx(e,t,r){return(t=eT(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eT(e){var t=tT(e,"string");return"symbol"==typeof t?t:t+""}function tT(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 rT(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 nT="touchScroll",iT=200;var aT=new WeakSet;class oT extends Jt["a"]{constructor(){super(...arguments),$x(this,aT),Jx(this,"scrollbars",[]),Jx(this,"clones",[]),Jx(this,"lockedCollection",!1),Jx(this,"freezeOverlays",!1)}static get PLUGIN_KEY(){return nT}static get PLUGIN_PRIORITY(){return iT}static get SETTING_KEYS(){return!0}isEnabled(){return Object(er["isTouchSupported"])()}enablePlugin(){this.enabled||(this.addHook("afterViewRender",()=>rT(aT,this,sT).call(this)),this.registerEvents(),super.enablePlugin())}updatePlugin(){this.lockedCollection=!1,super.updatePlugin()}disablePlugin(){super.disablePlugin()}registerEvents(){this.addHook("beforeTouchScroll",()=>rT(aT,this,lT).call(this)),this.addHook("afterMomentumScroll",()=>rT(aT,this,cT).call(this))}}function sT(){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 lT(){this.freezeOverlays=!0,Object(d["arrayEach"])(this.clones,e=>{Object(i["addClass"])(e,"hide-tween")})}function cT(){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 uT(e,t){dT(e,t),t.add(e)}function dT(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hT(e,t,r){return(t=pT(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pT(e){var t=fT(e,"string");return"symbol"==typeof t?t:t+""}function fT(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 mT(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 AT="trimRows",gT=330;var _T=new WeakSet;class vT extends Jt["a"]{constructor(){super(...arguments),uT(this,_T),hT(this,"trimmedRowsMap",null)}static get PLUGIN_KEY(){return AT}static get PLUGIN_PRIORITY(){return gT}isEnabled(){return!!this.hot.getSettings()[AT]}enablePlugin(){this.enabled||(this.trimmedRowsMap=this.hot.rowIndexMapper.registerMap("trimRows",new nA["a"]),this.trimmedRowsMap.addLocalHook("init",()=>mT(_T,this,bT).call(this)),super.enablePlugin())}updatePlugin(){const e=this.hot.getSettings()[AT];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 bT(){const e=this.hot.getSettings()[AT];Array.isArray(e)&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.trimmedRowsMap.setValueAtIndex(e,!0)})},!0)}r("c1f9");const wT="undoRedo",yT="undoRedo";function ET(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 ET.ChangeAction(t,n)};t.done(o,n)})),e.addHook("afterCreateRow",(e,r,n)=>{t.done(()=>new ET.CreateRowAction(e,r),n)});const r=(t,r,n,i)=>{const a=["visualRow","visualCol","row","col","prop"],o=a.length,s=[];return Object(rt["rangeEach"])(n,i,n=>{Object(rt["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 ET.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 ET.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=[],c=[],u=[];Object(rt["rangeEach"])(a.length-1,t=>{const r=[],n=a[t];Object(rt["rangeEach"])(o,s,t=>{r.push(n[e.toPhysicalColumn(t)])}),l.push(r)}),Object(rt["rangeEach"])(i-1,t=>{u.push(e.toPhysicalColumn(o+t))}),Array.isArray(e.getSettings().colHeaders)&&Object(rt["rangeEach"])(i-1,t=>{c.push(e.getSettings().colHeaders[e.toPhysicalColumn(o+t)]||null)});const d=e.columnIndexMapper.getIndexesSequence(),h=e.rowIndexMapper.getIndexesSequence();return new ET.RemoveColumnAction(o,u,l,c,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 ET.CellAlignmentAction(e,r,n,i))}),e.addHook("beforeFilter",(e,r)=>{t.done(()=>new ET.FiltersAction(e,r))}),e.addHook("beforeRowMove",(e,r)=>{!1!==e&&t.done(()=>new ET.RowMoveAction(e,r))}),e.addHook("beforeColumnMove",(e,r)=>{!1!==e&&t.done(()=>new ET.ColumnMoveAction(e,r))}),e.addHook("beforeMergeCells",(r,n)=>{n||t.done(()=>new ET.MergeCellsAction(e,r))}),e.addHook("afterUnmergeCells",(r,n)=>{n||t.done(()=>new ET.UnmergeCellsAction(e,r))}),e.addHook("beforeColumnSort",(e,r,n)=>{n&&t.done(()=>new ET.ColumnSortAction(e,r))}),e.addHook("afterInit",()=>{t.init()})}ET.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())},ET.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)}},ET.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)}},ET.prototype.isUndoAvailable=function(){return this.doneActions.length>0},ET.prototype.isRedoAvailable=function(){return this.undoneActions.length>0},ET.prototype.clear=function(){this.doneActions.length=0,this.undoneActions.length=0},ET.prototype.isEnabled=function(){return this.enabled},ET.prototype.enable=function(){if(this.isEnabled())return;const e=this.instance;this.enabled=!0,xT(e),this.registerShortcuts(),e.addHook("afterChange",MT)},ET.prototype.disable=function(){if(!this.isEnabled())return;const e=this.instance;this.enabled=!1,TT(e),this.unregisterShortcuts(),e.removeHook("afterChange",MT)},ET.prototype.destroy=function(){this.clear(),this.instance=null,this.doneActions=null,this.undoneActions=null},ET.Action=function(){},ET.Action.prototype.undo=function(){},ET.Action.prototype.redo=function(){},ET.ChangeAction=function(e,t){this.changes=e,this.selected=t,this.actionType="change"},Object(o["inherit"])(ET.ChangeAction,ET.Action),ET.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(),c=t>=s,u=n>=l,d=c&&u,h=i!==t||o!==n;if(!1===d&&!0===h){const r={row:t,col:n};!1===c&&(r.verticalSnap="top"),!1===u&&(r.horizontalSnap="start"),e.scrollViewportTo(r)}}e.selectCells(this.selected,!1,!1)},ET.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)},ET.CreateRowAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_row"},Object(o["inherit"])(ET.CreateRowAction,ET.Action),ET.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")},ET.CreateRowAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateRow",t),e.alter("insert_row_above",this.index,this.amount,"UndoRedo.redo")},ET.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"])(ET.RemoveRowAction,ET.Action),ET.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)},ET.RemoveRowAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.data.length,"UndoRedo.redo")},ET.CreateColumnAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_col"},Object(o["inherit"])(ET.CreateColumnAction,ET.Action),ET.CreateColumnAction.prototype.undo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.undo")},ET.CreateColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateCol",t),e.alter("insert_col_start",this.index,this.amount,"UndoRedo.redo")},ET.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"])(ET.RemoveColumnAction,ET.Action),ET.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 c=0;c<a;c++)o.push(Object(d["arrayMap"])(this.data[c],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()},ET.RemoveColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.redo")},ET.CellAlignmentAction=function(e,t,r,n){this.stateBefore=e,this.range=t,this.type=r,this.alignment=n},ET.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()},ET.CellAlignmentAction.prototype.redo=function(e,t){Po(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()},ET.FiltersAction=function(e,t){this.previousConditionsStack=t,this.conditionsStack=e,this.actionType="filter"},Object(o["inherit"])(ET.FiltersAction,ET.Action),ET.FiltersAction.prototype.undo=function(e,t){const r=e.getPlugin("filters");e.addHookOnce("afterViewRender",t),this.previousConditionsStack&&r.conditionCollection.importAllConditions(this.previousConditionsStack),r.filter()},ET.FiltersAction.prototype.redo=function(e,t){const r=e.getPlugin("filters");e.addHookOnce("afterViewRender",t),r.conditionCollection.importAllConditions(this.conditionsStack),r.filter()};class CT extends ET.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)}}ET.MergeCellsAction=CT;class ST extends ET.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 MT(e,t){const r=this;if("loadData"===t)return r.undoRedo.clear()}function xT(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 TT(e){delete e.undo,delete e.redo,delete e.isUndoAvailable,delete e.isRedoAvailable,delete e.clearUndo}ET.UnmergeCellsAction=ST,ET.RowMoveAction=function(e,t){this.rows=e.slice(),this.finalRowIndex=t,this.actionType="row_move"},Object(o["inherit"])(ET.RowMoveAction,ET.Action),ET.RowMoveAction.prototype.undo=function(e,t){const r=e.getPlugin("manualRowMove");e.addHookOnce("afterViewRender",t);const n=ng(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)},ET.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)},ET.ColumnMoveAction=function(e,t){this.columns=e.slice(),this.finalColumnIndex=t,this.actionType="col_move"},Object(o["inherit"])(ET.ColumnMoveAction,ET.Action),ET.ColumnMoveAction.prototype.undo=function(e,t){const r=e.getPlugin("manualColumnMove");e.addHookOnce("afterViewRender",t);const n=ng(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)},ET.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)},ET.ColumnSortAction=function(e,t){this.previousSortState=e,this.nextSortState=t},Object(o["inherit"])(ET.ColumnSortAction,ET.Action),ET.ColumnSortAction.prototype.undo=function(e,t){const r=e.getPlugin("columnSorting"),n=e.getPlugin("multiColumnSorting"),i=n.isEnabled()?n:r;this.previousSortState.length?i.sort(this.previousSortState):i.clearSort(),t()},ET.ColumnSortAction.prototype.redo=function(e,t){const r=e.getPlugin("columnSorting"),n=e.getPlugin("multiColumnSorting"),i=n.isEnabled()?n:r;i.sort(this.nextSortState),t()},ET.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()},ET.prototype.registerShortcuts=function(){const e=this.instance.getShortcutManager(),t=e.getContext("grid"),r=e=>!e.altKey,n={runOnlyIf:r,group:wT};t.addShortcuts([{keys:[["Control/Meta","z"]],callback:()=>{this.undo()}},{keys:[["Control/Meta","y"],["Control/Meta","Shift","z"]],callback:()=>{this.redo()}}],n)},ET.prototype.unregisterShortcuts=function(){const e=this.instance.getShortcutManager(),t=e.getContext("grid");t.removeShortcutsByGroup(wT)};const OT=fe["a"].getSingleton();OT.add("afterUpdateSettings",(function(){var e;null===(e=this.getPlugin("undoRedo"))||void 0===e||e.init()})),OT.register("beforeUndo"),OT.register("afterUndo"),OT.register("beforeRedo"),OT.register("afterRedo"),ET.PLUGIN_KEY=yT,ET.SETTING_KEYS=!0;var NT=ET,RT=r("24b5");function LT(){Object(RT["d"])(Cr),Object(RT["d"])(qr),Object(RT["d"])(fn),Object(RT["d"])(Wn),Object(RT["d"])(ui),Object(RT["d"])(Ca),Object(RT["d"])(Qa),Object(RT["d"])(As),Object(RT["d"])(Ac),Object(RT["d"])(mu),Object(RT["d"])(ed),Object(RT["d"])(hd),Object(RT["d"])(Od),Object(RT["d"])(ah),Object(RT["d"])(_A),Object(RT["d"])(Kg),Object(RT["d"])(k_),Object(RT["d"])(ev),Object(RT["d"])(vv),Object(RT["d"])(sb),Object(RT["d"])(Ub),Object(RT["d"])(Nw),Object(RT["d"])(uy),Object(RT["d"])(PE),Object(RT["d"])(CC),Object(RT["d"])(NC),Object(RT["d"])(eM),Object(RT["d"])(cx),Object(RT["d"])(Dx),Object(RT["d"])(Kx),Object(RT["d"])(oT),Object(RT["d"])(vT),Object(RT["d"])(NT)}function IT(){Te(),pt(),Ot(),Zt(),LT()}},"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,c=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"$":c++;break;default:r[i]?a=!0:r[i]=!0;break}}const u=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({[u+a[0]]:e[a[0]]}):r.push({[u]: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 A={};for(let g=0;g<e.length;g++){const _=e[g],v=Object.keys(_)[0];switch(v){case"@":const e=_["@"],g=Object.keys(e);if(t.group&&1!==g.length)A[u]=e;else for(const t in e)A[u+t]=e[t];break;case"#":r=this._processSpecItem(_["#"],A,t.group,d,o,r);break;case"!":i=this._processSpecItem(_["!"],A,t.group,h,s,i);break;case"?":a=this._processSpecItem(_["?"],A,t.group,p,l,a);break;case"$":m=this._processSpecItem(_["$"],A,t.group,f,c,m);break;default:const b=_;if(0!==b[v].length&&n.isArray(b[v][0])){const e=[],r=b[v];for(let n=0;n<r.length;n++)e.push(this._process(r[n],t));A[v]=e}else A[v]=this._process(b[v],t);break}}return A}}_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";
  507. //! moment.js locale configuration
  508. 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";
  509. //! moment.js locale configuration
  510. 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";
  511. //! moment.js locale configuration
  512. 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,c=0;c<r.length;c++){var u=r[c].match(o);if(null!==u&&u[2]===n){if(-1!==s){if("END"!==u[1])break;l=c;break}if("BEGIN"!==u[1])break;s=c}}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)}},"8e16":function(e,t,r){"use strict";var n=r("7282"),i=r("cb27");e.exports=n(i.proto,"size","get")||function(e){return e.size}},"8e73":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  513. //! moment.js locale configuration
  514. 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}))},9:function(e,t){},9043:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  515. //! moment.js locale configuration
  516. 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}))},9056:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));r("d9e2");var n=r("1096"),i=r("e90f"),a=r("3d57"),o=r("a73f"),s=r("97b9");function l(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(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 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)])}}},9081: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},"90ea":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  517. //! moment.js locale configuration
  518. 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,c){return new n(e,t,r,i,a,o,s,l,c)}}t.MutationRecordImpl=n},"91aa":function(e,t,r){"use strict";r("520d")},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("e372"),c=r("d938"),u=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?c(t.concat(e._body)):a.blobConstructor?new n.Blob(e._body.map((function(e){return c(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 u=null;if(a.abortController){var h=new AbortController;u=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:u}).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 u(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"),c=r("e85c"),u=r("36f2"),d=r("77f3"),h=r("009c"),p=r("83d2"),f=r("f17c"),m=r("7fbc"),A=r("af0d"),g=r("7723"),_=r("5fbc"),v=r("f91d"),b=r("9873"),w=r("c0a6"),y=r("89ea"),E=r("e07b"),C=r("acd5"),S=r("ec01"),M=r("9140"),x=r("6394");function T(e){return n.DOMImplementationImpl._create(e)}function O(){return i.WindowImpl._create()}function N(){return new a.XMLDocumentImpl}function R(){return new o.DocumentImpl}function L(){return new s.AbortControllerImpl}function I(){return l.AbortSignalImpl._create()}function k(e,t,r,n){return c.DocumentTypeImpl._create(e,t,r,n)}function B(e,t,r,n){return u.ElementImpl._create(e,t,r,n)}function D(e,t,r,n){return u.ElementImpl._create(e,t,r,n)}function F(e,t,r,n){return u.ElementImpl._create(e,t,r,n)}function P(e){return d.DocumentFragmentImpl._create(e)}function j(e,t){return h.ShadowRootImpl._create(e,t)}function U(e,t){return p.AttrImpl._create(e,t)}function H(e,t){return f.TextImpl._create(e,t)}function V(e,t){return m.CDATASectionImpl._create(e,t)}function Y(e,t){return A.CommentImpl._create(e,t)}function W(e,t,r){return g.ProcessingInstructionImpl._create(e,t,r)}function Q(e,t=(()=>!0)){return _.HTMLCollectionImpl._create(e,t)}function z(e){return v.NodeListImpl._create(e)}function q(e,t){return b.NodeListStaticImpl._create(e,t)}function G(e){return w.NamedNodeMapImpl._create(e)}function K(e,t){return y.RangeImpl._create(e,t)}function X(e,t,r){return E.NodeIteratorImpl._create(e,t,r)}function $(e,t){return C.TreeWalkerImpl._create(e,t)}function Z(){return S.NodeFilterImpl._create()}function J(e,t,r,n,i,a,o,s,l){return M.MutationRecordImpl._create(e,t,r,n,i,a,o,s,l)}function ee(e,t){return x.DOMTokenListImpl._create(e,t)}t.create_domImplementation=T,t.create_window=O,t.create_xmlDocument=N,t.create_document=R,t.create_abortController=L,t.create_abortSignal=I,t.create_documentType=k,t.create_element=B,t.create_htmlElement=D,t.create_htmlUnknownElement=F,t.create_documentFragment=P,t.create_shadowRoot=j,t.create_attr=U,t.create_text=H,t.create_cdataSection=V,t.create_comment=Y,t.create_processingInstruction=W,t.create_htmlCollection=Q,t.create_nodeList=z,t.create_nodeListStatic=q,t.create_namedNodeMap=G,t.create_range=K,t.create_nodeIterator=X,t.create_treeWalker=$,t.create_nodeFilter=Z,t.create_mutationRecord=J,t.create_domTokenList=ee},"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"),c=r("44a3");function u(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(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=u,u.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})},u.prototype.verify=function(e,t,r){if(e=s(e),t=this.makeSignature(t),t.S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;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)},u.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)},u.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.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)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return a.intFromLE(e)},u.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,c=t.port,u=t.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),t.url=(l?o+"//"+l:"")+(c?":"+c:"")+u,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"))},"953b":function(e,t,r){"use strict";var n=r("dc19"),i=r("cb27"),a=r("8e16"),o=r("7f65"),s=r("384f"),l=r("5388"),c=i.Set,u=i.add,d=i.has;e.exports=function(e){var t=n(this),r=o(e),i=new c;return a(t)>r.size?l(r.getIterator(),(function(e){d(t,e)&&u(i,e)})):s(t,(function(e){r.includes(e)&&u(i,e)})),i}},"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 u(e,i.key,i.iv)}function c(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 u(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=u,t.createDecipher=t.Decipher=c,t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=h},"957c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  519. //! moment.js locale configuration
  520. 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}))},"958b":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  521. //! moment.js locale configuration
  522. 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";
  523. //! moment.js locale configuration
  524. 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)},9686:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  525. //! moment.js locale configuration
  526. 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("bf76f")),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"))},"96c7":function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-empty"})},i=[]},"972c":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  527. //! moment.js locale configuration
  528. 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";
  529. //! moment.js locale configuration
  530. 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 c})),r.d(t,"partial",(function(){return u})),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 c=!1;n.lastCallThrottled=!0,r||(r=l,c=!0);const u=t-(l-r);return c?(n.lastCallThrottled=!1,e.apply(this,o)):(i&&clearTimeout(i),i=setTimeout(()=>{n.lastCallThrottled=!1,e.apply(this,o),r=0,i=void 0},u)),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 c(){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 u(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)}},"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 c(e,t,l)}if("dsa"===l.type){if("dsa"!==a)throw new Error("wrong public key type");return u(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 A=p<8?1:0;d=Math.min(e.length,h.length),e.length!==h.length&&(A=1),f=-1;while(++f<d)A|=e[f]^h[f];return 0===A}function c(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 u(e,t,r){var n=r.data.p,a=r.data.q,s=r.data.g,l=r.data.pub_key,c=o.signature.decode(e,"der"),u=c.s,h=c.r;d(u,a),d(h,a);var p=i.mont(n),f=u.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},9823:function(e,t,r){"use strict";r("d845")},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))}},9961:function(e,t,r){"use strict";var n=r("dc19"),i=r("cb27"),a=r("83b9e"),o=r("7f65"),s=r("5388"),l=i.add,c=i.has,u=i.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),i=a(t);return s(r,(function(e){c(t,e)?u(i,e):l(i,e)})),i}},"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("dc148");t.EmptySet=a.EmptySet},"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 c=r("d287");t.CharacterData=c.CharacterDataImpl;const u=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"),A=r("e85c");t.DocumentType=A.DocumentTypeImpl;const g=r("7a70");t.dom=g.dom;const _=r("8d2e");t.DOMImplementation=_.DOMImplementationImpl;const v=r("6394");t.DOMTokenList=v.DOMTokenListImpl;const b=r("36f2");t.Element=b.ElementImpl;const w=r("802d");t.Event=w.EventImpl;const y=r("58c0");t.EventTarget=y.EventTargetImpl;const E=r("5fbc");t.HTMLCollection=E.HTMLCollectionImpl;const C=r("2c98");t.MutationObserver=C.MutationObserverImpl;const S=r("9140");t.MutationRecord=S.MutationRecordImpl;const M=r("c0a6");t.NamedNodeMap=M.NamedNodeMapImpl;const x=r("ec01");t.NodeFilter=x.NodeFilterImpl;const T=r("32d8");t.Node=T.NodeImpl;const O=r("e07b");t.NodeIterator=O.NodeIteratorImpl;const N=r("f91d");t.NodeList=N.NodeListImpl;const R=r("9873");t.NodeListStatic=R.NodeListStaticImpl;const L=r("c606"),I=r("ff6b"),k=r("5f05"),B=r("7723");t.ProcessingInstruction=B.ProcessingInstructionImpl;const D=r("89ea");t.Range=D.RangeImpl;const F=r("009c");t.ShadowRoot=F.ShadowRootImpl;const P=r("05c6"),j=r("1ef2");t.StaticRange=j.StaticRangeImpl;const U=r("f17c");t.Text=U.TextImpl;const H=r("1fa5");t.Traverser=H.TraverserImpl;const V=r("acd5");t.TreeWalker=V.TreeWalkerImpl;const Y=r("507d");t.Window=Y.WindowImpl;const W=r("b246");t.XMLDocument=W.XMLDocumentImpl,n.applyMixin(b.ElementImpl,u.ChildNodeImpl),n.applyMixin(c.CharacterDataImpl,u.ChildNodeImpl),n.applyMixin(A.DocumentTypeImpl,u.ChildNodeImpl),n.applyMixin(f.DocumentImpl,m.DocumentOrShadowRootImpl),n.applyMixin(F.ShadowRootImpl,m.DocumentOrShadowRootImpl),n.applyMixin(b.ElementImpl,L.NonDocumentTypeChildNodeImpl),n.applyMixin(c.CharacterDataImpl,L.NonDocumentTypeChildNodeImpl),n.applyMixin(f.DocumentImpl,I.NonElementParentNodeImpl),n.applyMixin(p.DocumentFragmentImpl,I.NonElementParentNodeImpl),n.applyMixin(f.DocumentImpl,k.ParentNodeImpl),n.applyMixin(p.DocumentFragmentImpl,k.ParentNodeImpl),n.applyMixin(b.ElementImpl,k.ParentNodeImpl),n.applyMixin(U.TextImpl,P.SlotableImpl),n.applyMixin(b.ElementImpl,P.SlotableImpl)},"9d30":function(e,t,r){var n=r("2bc1"),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},c=/\s|\//;function u(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")(u,r("faa1").EventEmitter),u.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()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.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={})},u.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=""},u.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())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.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())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.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=""},u.prototype._getInstructionName=function(e){var t=e.search(c),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.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+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.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()},u.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)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},"9daa":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"template-textarea"},[r("div",{staticClass:"rich-editor",domProps:{innerHTML:e._s(e.processedContent)}})])},i=[],a=r("de03"),o=a["a"],s=(r("fa68"),r("2877")),l=Object(s["a"])(o,n,i,!1,null,null,null);t["default"]=l.exports},"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,c=1,u=2,d=4,h=5,p=6,f=0,m=1,A=2,g=-2,_=-3,v=-4,b=-5,w=8,y=1,E=2,C=3,S=4,M=5,x=6,T=7,O=8,N=9,R=10,L=11,I=12,k=13,B=14,D=15,F=16,P=17,j=18,U=19,H=20,V=21,Y=22,W=23,Q=24,z=25,q=26,G=27,K=28,X=29,$=30,Z=31,J=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=y,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):g}function se(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,oe(e)):g}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)?g:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,se(e))):g}function ce(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):g}function ue(e){return ce(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(c,e.lens,0,288,de,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;s(u,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 Ae(e,t){var r,ee,te,re,ne,ae,oe,se,le,ce,ue,de,he,pe,Ae,ge,_e,ve,be,we,ye,Ee,Ce,Se,Me=0,xe=new n.Buf8(4),Te=[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 g;r=e.state,r.mode===I&&(r.mode=k),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,ce=ae,ue=oe,Ee=f;e:for(;;)switch(r.mode){case y:if(0===r.wrap){r.mode=k;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)!==w){e.msg="unknown compression method",r.mode=$;break}if(se>>>=4,le-=4,ye=8+(15&se),0===r.wbits)r.wbits=ye;else if(ye>r.wbits){e.msg="invalid window size",r.mode=$;break}r.dmax=1<<ye,e.adler=r.check=1,r.mode=512&se?R:I,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)!==w){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=C;case C: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=S;case S: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=M;case M: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&&(ye=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,ye)),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=T;case T:if(2048&r.flags){if(0===ae)break e;de=0;do{ye=ee[re+de++],r.head&&ye&&r.length<65536&&(r.head.name+=String.fromCharCode(ye))}while(ye&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,ye)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=O;case O:if(4096&r.flags){if(0===ae)break e;de=0;do{ye=ee[re+de++],r.head&&ye&&r.length<65536&&(r.head.comment+=String.fromCharCode(ye))}while(ye&&de<ae);if(512&r.flags&&(r.check=a(r.check,ee,de,re)),ae-=de,re+=de,ye)break e}else r.head&&(r.head.comment=null);r.mode=N;case N: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=I;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,A;e.adler=r.check=1,r.mode=I;case I:if(t===h||t===p)break e;case k:if(r.last){se>>>=7&le,le-=7&le,r.mode=G;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=B;break;case 1:if(fe(r),r.mode=H,t===p){se>>>=2,le-=2;break e}break;case 2:r.mode=P;break;case 3:e.msg="invalid block type",r.mode=$}se>>>=2,le-=2;break;case B:se>>>=7&le,le-=7&le;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=D,t===p)break e;case D:r.mode=F;case F: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=I;break;case P: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=j;case j:while(r.have<r.ncode){while(le<3){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}r.lens[Te[r.have++]]=7&se,se>>>=3,le-=3}while(r.have<19)r.lens[Te[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,Ce={bits:r.lenbits},Ee=s(l,r.lens,0,19,r.lencode,0,r.work,Ce),r.lenbits=Ce.bits,Ee){e.msg="invalid code lengths set",r.mode=$;break}r.have=0,r.mode=U;case U:while(r.have<r.nlen+r.ndist){for(;;){if(Me=r.lencode[se&(1<<r.lenbits)-1],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(_e<16)se>>>=Ae,le-=Ae,r.lens[r.have++]=_e;else{if(16===_e){Se=Ae+2;while(le<Se){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(se>>>=Ae,le-=Ae,0===r.have){e.msg="invalid bit length repeat",r.mode=$;break}ye=r.lens[r.have-1],de=3+(3&se),se>>>=2,le-=2}else if(17===_e){Se=Ae+3;while(le<Se){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=Ae,le-=Ae,ye=0,de=3+(7&se),se>>>=3,le-=3}else{Se=Ae+7;while(le<Se){if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=Ae,le-=Ae,ye=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++]=ye}}if(r.mode===$)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=$;break}if(r.lenbits=9,Ce={bits:r.lenbits},Ee=s(c,r.lens,0,r.nlen,r.lencode,0,r.work,Ce),r.lenbits=Ce.bits,Ee){e.msg="invalid literal/lengths set",r.mode=$;break}if(r.distbits=6,r.distcode=r.distdyn,Ce={bits:r.distbits},Ee=s(u,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,Ce),r.distbits=Ce.bits,Ee){e.msg="invalid distances set",r.mode=$;break}if(r.mode=H,t===p)break e;case H: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,ue),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===I&&(r.back=-1);break}for(r.back=0;;){if(Me=r.lencode[se&(1<<r.lenbits)-1],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(ge&&0===(240&ge)){for(ve=Ae,be=ge,we=_e;;){if(Me=r.lencode[we+((se&(1<<ve+be)-1)>>ve)],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,ve+Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ve,le-=ve,r.back+=ve}if(se>>>=Ae,le-=Ae,r.back+=Ae,r.length=_e,0===ge){r.mode=q;break}if(32&ge){r.back=-1,r.mode=I;break}if(64&ge){e.msg="invalid literal/length code",r.mode=$;break}r.extra=15&ge,r.mode=Y;case Y:if(r.extra){Se=r.extra;while(le<Se){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=W;case W:for(;;){if(Me=r.distcode[se&(1<<r.distbits)-1],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}if(0===(240&ge)){for(ve=Ae,be=ge,we=_e;;){if(Me=r.distcode[we+((se&(1<<ve+be)-1)>>ve)],Ae=Me>>>24,ge=Me>>>16&255,_e=65535&Me,ve+Ae<=le)break;if(0===ae)break e;ae--,se+=ee[re++]<<le,le+=8}se>>>=ve,le-=ve,r.back+=ve}if(se>>>=Ae,le-=Ae,r.back+=Ae,64&ge){e.msg="invalid distance code",r.mode=$;break}r.offset=_e,r.extra=15&ge,r.mode=Q;case Q:if(r.extra){Se=r.extra;while(le<Se){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=z;case z:if(0===oe)break e;if(de=ue-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 q:if(0===oe)break e;te[ne++]=r.length,oe--,r.mode=V;break;case G:if(r.wrap){while(le<32){if(0===ae)break e;ae--,se|=ee[re++]<<le,le+=8}if(ue-=oe,e.total_out+=ue,r.total+=ue,ue&&(e.adler=r.check=r.flags?a(r.check,te,ue,ne-ue):i(r.check,te,ue,ne-ue)),ue=oe,(r.flags?se:ie(se))!==r.check){e.msg="incorrect data check",r.mode=$;break}se=0,le=0}r.mode=K;case K: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=X;case X:Ee=m;break e;case $:Ee=_;break e;case Z:return v;case J:default:return g}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||ue!==e.avail_out&&r.mode<$&&(r.mode<G||t!==d))&&me(e,e.output,e.next_out,ue-e.avail_out)?(r.mode=Z,v):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,r.total+=ue,r.wrap&&ue&&(e.adler=r.check=r.flags?a(r.check,te,ue,e.next_out-ue):i(r.check,te,ue,e.next_out-ue)),e.data_type=r.bits+(r.last?64:0)+(r.mode===I?128:0)+(r.mode===H||r.mode===D?256:0),(0===ce&&0===ue||t===d)&&Ee===f&&(Ee=b),Ee)}function ge(e){if(!e||!e.state)return g;var t=e.state;return t.window&&(t.window=null),e.state=null,f}function _e(e,t){var r;return e&&e.state?(r=e.state,0===(2&r.wrap)?g:(r.head=t,t.done=!1,f)):g}function ve(e,t){var r,n,a,o=t.length;return e&&e.state?(r=e.state,0!==r.wrap&&r.mode!==L?g:r.mode===L&&(n=1,n=i(n,t,o,0),n!==r.check)?_:(a=me(e,t,o,o),a?(r.mode=Z,v):(r.havedict=1,f))):g}t.inflateReset=se,t.inflateReset2=le,t.inflateResetKeep=oe,t.inflateInit=ue,t.inflateInit2=ce,t.inflate=Ae,t.inflateEnd=ge,t.inflateGetHeader=_e,t.inflateSetDictionary=ve,t.inflateInfo="pako inflate (from Nodeca project)"},"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)}}},"9f26":function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  531. //! moment.js locale configuration
  532. 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 c(e){return[...e.values()]}function u(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=c,t.size=u,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"))},"9fdb":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return null!=e.com?r("div",{staticClass:"template-table"},[r("div",{staticClass:"table"},[r("hot-table",{ref:"hotTable",staticStyle:{width:"100%"},attrs:{settings:e.settings,licenseKey:"non-commercial-and-evaluation"}})],1)]):e._e()},i=[],a=r("ade3"),o=(r("4de4"),r("14d9"),r("a9e3"),r("d3b7"),r("ac1f"),r("5319"),r("0643"),r("2382"),r("e437"),r("c24d")),s=r("8c7e"),l=r("cc6f");r("8033"),r("c1cf"),l["a"].buildEmpty({licenseKey:"internal-use-in-handsontable",precisionRounding:10,nullDate:{year:1900,month:1,day:1}});var c={name:"table",components:{HotTable:o["a"]},emits:["onUploadAttr","onUploadItemIndex"],props:{isActive:{type:Boolean,default:!1},currentIndex:{type:Number,default:0},com:{type:Object,default:null},insertCmd:{type:Object,default:null}},watch:{com:{handler:function(e){if(null!=e&&void 0!=e){var t=this;console.log("watch com",e),t.initSetting()}},immediate:!0,deep:!0},isActive:{handler:function(e){void 0==e&&null!=e||(this.settings.readOnly=!e,this.settings.colHeaders=e,this.settings.rowHeaders=e)},immediate:!0,deep:!0},insertCmd:{handler:function(e){null!=e&&this.isActive&&console.log("insertCmd table val",e)},immediate:!0,deep:!0}},data:function(){return{cellStyle:[],settings:{language:"zh-CN",startRows:5,startCols:3},currentFocus:{row:0,col:0}}},created:function(){},methods:{onExport:function(e){var t=this.$refs.hotTable.hotInstance.getPlugin("exportFile"),r=t.exportAsString("csv",{filename:"MyFile"});console.log("str",r)},initSetting:function(){var e,t=this,r=this;r.settings=(e={language:"zh-CN",startRows:1,startCols:6,height:"auto",stretchH:"all",customBorders:!0,licenseKey:"non-commercial-and-evaluation",comments:!0,mergeCells:!0,allowRemoveColumn:!0,allowRemoveRow:!0,copyPaste:{columnsLimit:25,rowsLimit:50,pasteMode:"shift_down",uiContainer:document.body},cell:r.cellStyle,contextMenu:{callback:function(e,t,n){if(console.log("callback",e,t,n),void 0==r.cellStyle&&(r.cellStyle=[]),"importExcel"!=e)if("clearColor"!=e){if(e.length>=8){if("bgColor"==e.substr(0,7)){var i=e.replace("bgColor:",""),a="whiteBg";switch(i){case"red":a="redBg";break;case"gray":a="grayBg";break}for(u=t[0].start.col;u<=t[0].end.col;u++)for(d=t[0].start.row;d<=t[0].end.row;d++){var o=r.cellStyle.filter((function(e){return e.col==u&&e.row==d}));o.length>0?o[0].className.indexOf(a)<0&&(o[0].className+=" "+a):r.cellStyle.push({col:u,row:d,className:a})}return}if("fontColor"==e.substr(0,9)){var s=e.replace("fontColor:",""),l="blackFont";switch(s){case"white":l="whiteFont";break;case"black":l="blackFont";break}void 0==r.cellStyle&&(r.cellStyle=[]);for(u=t[0].start.col;u<=t[0].end.col;u++)for(d=t[0].start.row;d<=t[0].end.row;d++){var c=r.cellStyle.filter((function(e){return e.col==u&&e.row==d}));c.length>0?c[0].className.indexOf(l)<0&&(c[0].className+=" "+l):r.cellStyle.push({col:u,row:d,className:l})}return}}}else{for(var u=t[0].start.col;u<=t[0].end.col;u++)for(var d=t[0].start.row;d<=t[0].end.row;d++)r.cellStyle=r.cellStyle.filter((function(e){return e.col!=u&&e.row!=d}));r.initSetting()}},items:{row_above:{name:"上方插入行",disabled:function(){return 0===this.getSelectedLast()[0]}},row_below:{name:"下方插入行"},col_left:{name:"左侧插入列"},col_right:{name:"右侧插入列"},remove_row:{name:"删除行"},remove_col:{name:"删除列"},sp1:"---------",mergeCells:{name:"合并单元格"},alignment:{name:"对齐"},borders:{name:"边框"},sp2:"---------",importExcel:{name:"导入Excel",key:"importExcel"},sp3:"---------",clearColor:{name:"清除样式",key:"clearColor"},bgColor:{name:"背景颜色",submenu:{items:[{key:"bgColor:red",name:"红色"},{key:"bgColor:gray",name:"灰色"}]}},fontColor:{name:"文字颜色",submenu:{items:[{key:"fontColor:white",name:"白色"},{key:"fontColor:black",name:"黑色"}]}}}},colHeaders:!0,rowHeaders:!0,width:"100%"},Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(Object(a["a"])(e,"height","auto"),"colWidths","auto"),"allowHtml",!0),"filters",!0),"manualRowResize",!0),"manualColumnResize",!0),"manualRowMove",!0),"manualColumnMove",!0),"formulas",{engine:l["a"]}),"tableClassName","tb-class"),Object(a["a"])(e,"afterOnCellMouseDown",(function(e,r,n){t.currentFocus=r}))),Object(s["a"])()}}},u=c,d=(r("bf7d"),r("2877")),h=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=h.exports},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 c(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=c},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")},a131:function(e,t,r){"use strict";r("2c53")},a177:function(e,t,r){"use strict";var n,i=r("be7f"),a=r("07f44"),o=r("c834"),s=r("eeda"),l=r("4dc6"),c=0,u=1,d=3,h=4,p=5,f=0,m=1,A=-2,g=-3,_=-5,v=-1,b=1,w=2,y=3,E=4,C=0,S=2,M=8,x=9,T=15,O=8,N=29,R=256,L=R+1+N,I=30,k=19,B=2*L+1,D=15,F=3,P=258,j=P+F+1,U=32,H=42,V=69,Y=73,W=91,Q=103,z=113,q=666,G=1,K=2,X=3,$=4,Z=3;function J(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-j?e.strstart-(e.w_size-j):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+P,p=c[a+o-1],f=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(r=t,c[r+o]===f&&c[r+o-1]===p&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<h);if(n=P-(h-a),a=h-P,n>o){if(e.match_start=t,o=n,n>=s)break;p=c[a+o-1],f=c[a+o]}}}while((t=d[t&u])>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-j)){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>=F){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+F-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<F)break}}while(e.lookahead<j&&0!==e.strm.avail_in)}function ce(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===c)return G;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 G;if(e.strstart-e.block_start>=e.w_size-j&&(ne(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):(e.strstart>e.block_start&&(ne(e,!1),e.strm.avail_out),G)}function ue(e,t){for(var r,n;;){if(e.lookahead<j){if(le(e),e.lookahead<j&&t===c)return G;if(0===e.lookahead)break}if(r=0,e.lookahead>=F&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+F-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-j&&(e.match_length=se(e,r)),e.match_length>=F)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-F),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=F){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+F-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 G}return e.insert=e.strstart<F-1?e.strstart:F-1,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}function de(e,t){for(var r,n,i;;){if(e.lookahead<j){if(le(e),e.lookahead<j&&t===c)return G;if(0===e.lookahead)break}if(r=0,e.lookahead>=F&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+F-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=F-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-j&&(e.match_length=se(e,r),e.match_length<=5&&(e.strategy===b||e.match_length===F&&e.strstart-e.match_start>4096)&&(e.match_length=F-1)),e.prev_length>=F&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-F,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-F),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+F-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=F-1,e.strstart++,n&&(ne(e,!1),0===e.strm.avail_out))return G}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 G}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<F-1?e.strstart:F-1,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}function he(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=P){if(le(e),e.lookahead<=P&&t===c)return G;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=F&&e.strstart>0&&(i=e.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){o=e.strstart+P;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=P-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=F?(r=a._tr_tally(e,1,e.match_length-F),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 G}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}function pe(e,t){for(var r;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===c)return G;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 G}return e.insert=0,t===h?(ne(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ne(e,!1),0===e.strm.avail_out)?G:K}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=F-1,e.match_available=0,e.ins_h=0}function Ae(){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=M,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*B),this.dyn_dtree=new i.Buf16(2*(2*I+1)),this.bl_tree=new i.Buf16(2*(2*k+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(D+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 ge(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=S,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?H:z,e.adler=2===t.wrap?0:1,t.last_flush=c,a._tr_init(t),f):J(e,A)}function _e(e){var t=ge(e);return t===f&&me(e.state),t}function ve(e,t){return e&&e.state?2!==e.state.wrap?A:(e.state.gzhead=t,f):A}function be(e,t,r,n,a,o){if(!e)return A;var s=1;if(t===v&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>x||r!==M||n<8||n>15||t<0||t>9||o<0||o>E)return J(e,A);8===n&&(n=9);var l=new Ae;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+F-1)/F),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,_e(e)}function we(e,t){return be(e,t,M,T,O,C)}function ye(e,t){var r,i,o,l;if(!e||!e.state||t>p||t<0)return e?J(e,A):A;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===q&&t!==h)return J(e,0===e.avail_out?_:A);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===H)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>=w||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>=w||i.level<2?4:0),ie(i,Z),i.status=z);else{var g=M+(i.w_bits-8<<4)<<8,v=-1;v=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3,g|=v<<6,0!==i.strstart&&(g|=U),g+=31-g%31,i.status=z,ae(i,g),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=W)}else i.status=W;if(i.status===W)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=Q)}else i.status=Q;if(i.status===Q&&(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=z)):i.status=z),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 J(e,_);if(i.status===q&&0!==e.avail_in)return J(e,_);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==q){var b=i.strategy===w?pe(i,t):i.strategy===y?he(i,t):n[i.level].func(i,t);if(b!==X&&b!==$||(i.status=q),b===G||b===X)return 0===e.avail_out&&(i.last_flush=-1),f;if(b===K&&(t===u?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!==H&&t!==V&&t!==Y&&t!==W&&t!==Q&&t!==z&&t!==q?J(e,A):(e.state=null,t===z?J(e,g):f)):A}function Ce(e,t){var r,n,a,s,l,c,u,d,h=t.length;if(!e||!e.state)return A;if(r=e.state,s=r.wrap,2===s||1===s&&r.status!==H||r.lookahead)return A;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,c=e.next_in,u=e.input,e.avail_in=h,e.next_in=0,e.input=t,le(r);while(r.lookahead>=F){n=r.strstart,a=r.lookahead-(F-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+F-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=F-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=F-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,r.wrap=s,f}n=[new fe(0,0,0,0,ce),new fe(4,4,8,4,ue),new fe(4,5,16,8,ue),new fe(4,6,32,32,ue),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=we,t.deflateInit2=be,t.deflateReset=_e,t.deflateResetKeep=ge,t.deflateSetHeader=ve,t.deflate=ye,t.deflateEnd=Ee,t.deflateSetDictionary=Ce,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 c(e,t,r){return r^e&(t^r)}function u(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,A=0|this._h,g=0;g<16;++g)t[g]=e.readInt32BE(4*g);for(;g<64;++g)t[g]=f(t[g-2])+t[g-7]+p(t[g-15])+t[g-16]|0;for(var _=0;_<64;++_){var v=A+h(s)+c(s,l,m)+o[_]+t[_]|0,b=d(r)+u(r,n,i)|0;A=m,m=l,l=s,s=a+v|0,a=i,i=n,n=r,r=v+b|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=A+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},c=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)},u=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="",c=0;c<s.length;c+=h){for(var u=s.length>=h?s.slice(c,c+h):s,d=[],p=0;p<u.length;++p){var f=u.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]=u.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&u.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 c=o[l],u=a[c];"object"===typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:a,prop:c}),r.push(u))}return s(t),e},m=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},A=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},g=function(e,t){return[].concat(e,t)},_=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:u,combine:g,compact:f,decode:d,encode:p,isBuffer:A,isRegExp:m,maybeMap:_,merge:c}},a2ff:function(e,t,r){"use strict";r("4502")},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 c})),r.d(t,"d",(function(){return u}));const n="active-header",i="header",a="area",o="focus",s="fill",l="row",c="column",u="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";
  533. //! moment.js locale configuration
  534. 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("14d9");var n=r("5d7f"),i=r("8828");const a="base";function o(e,t,r,a,o,s,l){const c=l.ariaTags,u=[],d=[],h=[],p=[];l.className&&Object(n["addClass"])(t,l.className),l.readOnly?(u.push(l.readOnlyCellClassName),c&&p.push(Object(i["z"])())):c&&h.push(Object(i["z"])()[0]),!1===l.valid&&l.invalidCellClassName?(u.push(l.invalidCellClassName),c&&p.push(Object(i["o"])())):(d.push(l.invalidCellClassName),c&&h.push(Object(i["o"])()[0])),!1===l.wordWrap&&l.noWordWrapClassName&&u.push(l.noWordWrapClassName),!s&&l.placeholder&&u.push(l.placeholderCellClassName),Object(n["removeClass"])(t,d),Object(n["addClass"])(t,u),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 c=n(r("3030"));t.list=c;const u=n(r("9f99"));t.map=u;const d=n(r("78e0"));t.namespace=d;const h=n(r("74a2d"));t.queue=h;const p=n(r("409e"));t.set=p;const f=n(r("c592"));t.stack=f;const m=n(r("f6ef"));t.string=m},a4e7:function(e,t,r){"use strict";var n=r("23e7"),i=r("395e"),a=r("dad2");n({target:"Set",proto:!0,real:!0,forced:!a("isSupersetOf")},{isSupersetOf:i})},a5f7:function(e,t,r){"use strict";var n=r("dc19"),i=r("cb27"),a=r("83b9e"),o=r("8e16"),s=r("7f65"),l=r("384f"),c=r("5388"),u=i.has,d=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=a(t);return o(t)<=r.size?l(t,(function(e){r.includes(e)&&d(i,e)})):c(r.getIterator(),(function(e){u(t,e)&&d(i,e)})),i}},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 c(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 u(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 A(e,t){const r=new Array(...e);return r.sort((e,r)=>t.call(null,e,r)?-1:1),new Set(r)}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 _(e,t){for(const r of e)if(!t.has(r))return!1;return!0}function v(e,t){return _(t,e)}function b(e,t){const r=new Set;for(const n of e)t.has(n)&&r.add(n);return r}function w(e,t){const r=new Set(e);return t.forEach(r.add,r),r}function y(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=c,t.empty=u,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=A,t.sortInDescendingOrder=g,t.isSubsetOf=_,t.isSupersetOf=v,t.intersection=b,t.union=w,t.range=y},a645:function(e,t,r){"use strict";e.exports=Error},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 c}));r("14d9"),r("5b81");var n=r("7b9c");const i={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">"},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>"],c=t?["<thead>","</thead>"]:[],u=["<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("<","&lt;").replace(">","&gt;").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20/gi,"&nbsp;").replace(/\t/gi,"&#9;");l=`<td ${e.join(" ")}>${t}</td>`}}}o.push(l)}const l=["<tr>",...o,"</tr>"].join("");i?c.splice(1,0,l):u.splice(-1,0,l)}return l.splice(1,0,c.join(""),u.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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20{2,}/gi,e=>`<span style="mso-spacerun: yes">${"&nbsp;".repeat(e.length-1)} </span>`).replace(/\t/gi,"&#9;");s.push(`<td>${r}</td>`)}r.push("<tr>",...s,"</tr>"),i+1===t&&r.push("</tbody>")}return r.push("</table>"),r.join("")}function c(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(/^&nbsp;$/gm,""),i="</td>";return`${t}${n}${i}`});s.insertAdjacentHTML("afterbegin",""+e),l=s.querySelector("table")}if(!l||!o(l))return;const c=s.querySelector('meta[name$="enerator"]'),u=null!==l.querySelector("tbody th"),d=l.querySelector("tr"),h=d?Array.from(d.cells).reduce((e,t)=>e+t.colSpan,0)-(u?1:0):0,p=l.tFoot&&Array.from(l.tFoot.rows)||[],f=[];let m=!1,A=0,g=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});A=e.length,m=A>0,A>1?r.nestedHeaders=Array.from(e).reduce((e,t)=>{const r=Array.from(t.cells).reduce((e,t,r)=>{if(u&&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)=>(u&&0===r||e.push(t.innerHTML),e),[]))}f.length&&(r.fixedRowsTop=f.length),p.length&&(r.fixedRowsBottom=p.length);const _=[...f,...Array.from(l.tBodies).reduce((e,t)=>(e.push(...Array.from(t.rows)),e),[]),...p];g=_.length;const v=new Array(g);for(let i=0;i<g;i++)v[i]=new Array(h);const b=[],w=[];for(let o=0;o<g;o++){const e=_[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:u}=e,d=v[o].findIndex(e=>void 0===e);if("TD"===r){if(l>1||u>1){for(let e=o;e<o+l;e++)if(e<g)for(let t=d;t<d+u;t++)v[e][t]=null;const t=e.getAttribute("style"),r=t&&t.includes("mso-ignore:colspan");r||b.push({col:d,row:o,rowspan:l,colspan:u})}let t="";t=c&&/excel/gi.test(c.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"),v[o][d]=t.replace(a,e=>i[e])}else w.push(s)}}return b.length&&(r.mergeCells=b),w.length&&(r.rowHeaders=w),v.length&&(r.data=v),r}},a7fa:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  535. //! moment.js locale configuration
  536. 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}))},a888:function(e,t,r){"use strict";r("99af"),r("caad"),r("ac1f"),r("2532"),r("5319");var n={bind:function(e,t,r){var n=e.querySelector(".el-dialog__header"),i=e.querySelector(".el-dialog");n.style.cssText+=";cursor:move;",i.style.cssText+=";top:0px;";var a=function(){return window.document.currentStyle?function(e,t){return e.currentStyle[t]}:function(e,t){return getComputedStyle(e,!1)[t]}}();n.onmousedown=function(e){var t=e.clientX-n.offsetLeft,o=e.clientY-n.offsetTop,s=i.offsetWidth,l=i.offsetHeight,c=document.body.clientWidth,u=document.body.clientHeight,d=i.offsetLeft,h=c-i.offsetLeft-s,p=i.offsetTop,f=u-i.offsetTop-l,m=a(i,"left"),A=a(i,"top");m.includes("%")?(m=+document.body.clientWidth*(+m.replace(/\%/g,"")/100),A=+document.body.clientHeight*(+A.replace(/\%/g,"")/100)):(m=+m.replace(/\px/g,""),A=+A.replace(/\px/g,"")),document.onmousemove=function(e){var n=e.clientX-t,a=e.clientY-o;-n>d?n=-d:n>h&&(n=h),-a>p?a=-p:a>f&&(a=f),i.style.cssText+=";left:".concat(n+m,"px;top:").concat(a+A,"px;"),r.child.$emit("dragDialog")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}},i=function(e){e.directive("el-drag-dialog",n)};window.Vue&&(window["el-drag-dialog"]=n,Vue.use(i)),n.install=i;t["a"]=n},a8f0: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)}},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 A})),r.d(t,"f",(function(){return g}));r("d9e2"),r("14d9"),r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3");var n=r("d852"),i=r("81ea"),a=r("7b9c");const o=0,s=1,l=2,c=3,u=[c,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=c;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(!u.includes(e))throw new Error("Unsupported selection ranges schema type was provided.");return function(o){const s=e===c;let l=s?o.from.row:o[0],u=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 u&&(u=i(u)),"string"===typeof h&&(h=i(h))),Object(a["isUndefined"])(d)&&(d=l),Object(a["isUndefined"])(h)&&(h=u),!n){const e=l,t=u,r=d,n=h;l=Math.min(e,r),u=Math.min(t,n),d=Math.max(e,r),h=Math.max(t,n)}const p=t(l,u),f=t(d,h);return r(p,p,f)}}function A(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 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.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){"use strict";var n=r("399f"),i=r("11dc"),a=r("8707").Buffer;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){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 l(e,t){var r=s(t),i=t.modulus.byteLength(),o=new n(e).mul(r.blinder).umod(t.modulus),l=o.toRed(n.mont(t.prime1)),c=o.toRed(n.mont(t.prime2)),u=t.coefficient,d=t.prime1,h=t.prime2,p=l.redPow(t.exponent1).fromRed(),f=c.redPow(t.exponent2).fromRed(),m=p.isub(f).imul(u).umod(d).imul(h);return f.iadd(m).imul(r.unblinder).umod(t.modulus).toArrayLike(a,"be",i)}l.getr=o,e.exports=l},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"))},aa39:function(e,t,r){"use strict";r("cedf")},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 c(e){return i(e,2)^i(e,13)^i(e,22)}function u(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=c,t.s1_256=u,t.g0_256=d,t.g1_256=h},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";
  537. //! moment.js locale configuration
  538. 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}))},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},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"),c=r("5291"),u=r("a958"),d=r("8707").Buffer;function h(e,t){var r=e.modulus.byteLength(),n=t.length,c=a("sha1").update(d.alloc(0)).digest(),u=c.length,h=2*u;if(n>r-h-2)throw new Error("message too long");var p=d.alloc(r-n-h-2),f=r-u-1,m=i(u),A=s(d.concat([c,p,d.alloc(1,1),t],f),o(m,f)),g=s(m,o(A,u));return new l(d.concat([d.alloc(1),g,A],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?u(a,o):c(a,o)}},ad71:function(e,t,r){"use strict";(function(t,n){var i=r("966d");e.exports=y;var a,o=r("d8db");y.ReadableState=w;r("faa1").EventEmitter;var s=function(e,t){return e.listeners(t).length},l=r("429b"),c=r("a8f0").Buffer,u=("undefined"!==typeof t?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function d(e){return c.from(e)}function h(e){return c.isBuffer(e)||e instanceof u}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 A,g=r("5e1a"),_=r("4681");p.inherits(y,l);var v=["error","close","destroy","pause","resume"];function b(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 w(e,t){a=a||r("b19a"),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 g,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&&(A||(A=r("7d72").StringDecoder),this.decoder=new A(e.encoding),this.encoding=e.encoding)}function y(e){if(a=a||r("b19a"),!(this instanceof y))return new y(e);this._readableState=new w(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,N(e,o)):(i||(a=S(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=d(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):C(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?C(e,o,t,!1):I(e,o)):C(e,o,t,!1))):n||(o.reading=!1));return M(o)}function C(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)),I(e,t)}function S(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 M(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=_.destroy,y.prototype._undestroy=_.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.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=c.from(e,t),t=""),r=!0),E(this,e,t,!1,r)},y.prototype.unshift=function(e){return E(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return A||(A=r("7d72").StringDecoder),this._readableState.decoder=new A(e),this._readableState.encoding=e,this};var x=8388608;function T(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 O(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=T(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(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"),j(e)}function I(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(k,e,t))}function k(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 B(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,j(e))}}function D(e){m("readable nexttick read 0"),e.read(0)}function F(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(P,e,t))}function P(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function U(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=H(e,t.buffer,t.decoder),r);var r}function H(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=c.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 W(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(Q,t,e))}function Q(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.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?W(this):R(this),null;if(e=O(e,t),0===e&&t.ended)return 0===t.length&&W(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=O(r,t))),n=e>0?U(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&&W(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.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?u:w;function c(e,t){m("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function u(){m("onend"),e.end()}a.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",c);var d=B(r);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",_),e.removeListener("finish",v),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",u),r.removeListener("end",w),r.removeListener("data",A),h=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function A(t){m("ondata"),f=!1;var n=e.write(t);!1!==n||f||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==z(a.pipes,e))&&!h&&(m("false write response, pause",a.awaitDrain),a.awaitDrain++,f=!0),r.pause())}function g(t){m("onerror",t),w(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",v),w()}function v(){m("onfinish"),e.removeListener("close",_),w()}function w(){m("unpipe"),r.unpipe(e)}return r.on("data",A),b(e,"error",g),e.once("close",_),e.once("finish",v),e.emit("pipe",r),a.flowing||(m("pipe resume"),r.resume()),e},y.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=z(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},y.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(D,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,F(this,e)),this},y.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},y.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<v.length;a++)e.on(v[a],this.emit.bind(this,v[a]));return this._read=function(t){m("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=U}).call(this,r("c8ba"),r("4362"))},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 c{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 c={value:1};try{this._serializeNodeNS(e,n,l,c,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 u="",d=!1,h=!1,p=r.copy(),f={},m=this._recordNamespaceInformation(e,p,f),A=t,g=e.namespaceURI;if(A===g)null!==m&&(h=!0),u=g===s.namespace.XML?"xml:"+e.localName:e.localName,this.beginElement(u),this.openTagBegin(u);else{let t=e.prefix,r=null;if(null===t&&g===m||(r=p.get(t,g)),"xmlns"===t){if(i)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");r=t}null!==r?(u=r+":"+e.localName,null!==m&&m!==s.namespace.XML&&(A=m||null),this.beginElement(u),this.openTagBegin(u)):null!==t?(t in f&&(t=this._generatePrefix(g,p,n)),p.set(t,g),u+=t+":"+e.localName,this.beginElement(u),this.openTagBegin(u),o.push([null,"xmlns",t,this._serializeAttributeValue(g,i,a)]),null!==m&&(A=m||null)):null===m||null!==m&&m!==g?(h=!0,u+=e.localName,A=g,this.beginElement(u),this.openTagBegin(u),o.push([null,null,"xmlns",this._serializeAttributeValue(g,i,a)])):(u+=e.localName,A=g,this.beginElement(u),this.openTagBegin(u))}o.push(...this._serializeAttributesNS(e,p,n,f,h,i,a)),this.attributes(o);const _=g===s.namespace.HTML;if(_&&0===e.childNodes.length&&c._VoidElementNames.has(e.localName)?(this.openTagEnd(u,!0,!0),this.endElement(u),d=!0):_||0!==e.childNodes.length?this.openTagEnd(u,!1,!1):(this.openTagEnd(u,!0,!1),this.endElement(u),d=!0),!d){if(_&&"template"===e.localName);else for(const t of e.childNodes)this.level++,this._serializeNodeNS(t,A,p,n,i,a),this.level--;this.closeTag(u),this.endElement(u)}}_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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;");else for(let i=0;i<e.data.length;i++){const t=e.data[i];n+="&"===t?"&amp;":"<"===t?"&lt;":">"===t?"&gt;":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,c){const u=[],d=o?new i.LocalNameSet:void 0;for(const i of e.attributes){if(!o&&!a&&null===i.namespaceURI){u.push([null,null,i.localName,this._serializeAttributeValue(i.value,o,c)]);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,u.push([null,"xmlns",h,this._serializeAttributeValue(e,o,c)]));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).");u.push([e,h,i.localName,this._serializeAttributeValue(i.value,o,c)])}return u}_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,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;");{let t="";for(let r=0;r<e.length;r++){const n=e[r];t+='"'===n?"&quot;":"&"===n?"&amp;":"<"===n?"&lt;":">"===n?"&gt;":n}return t}}}t.BaseWriter=c,c._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"])},ada2:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  539. //! moment.js locale configuration
  540. 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}))},addb:function(e,t,r){"use strict";var n=r("f36a"),i=Math.floor,a=function(e,t){var r=e.length;if(r<8){var o,s,l=1;while(l<r){s=l,o=e[l];while(s&&t(e[s-1],o)>0)e[s]=e[--s];s!==l++&&(e[s]=o)}}else{var c=i(r/2),u=a(n(e,0,c),t),d=a(n(e,c),t),h=u.length,p=d.length,f=0,m=0;while(f<h||m<p)e[f+m]=f<h&&m<p?t(u[f],d[m])<=0?u[f++]:d[m++]:f<h?u[f++]:d[m++]}return e};e.exports=a},ade0:function(e,t,r){var n=r("7797").decode,i=1,a=2,o=8,s=16,l=48,c=64;function u(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:c,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},A=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:u(r,i),mustUseProperty:u(r,a),hasBooleanValue:u(r,o),hasNumericValue:u(r,s),hasPositiveNumericValue:u(r,l),hasOverloadedBooleanValue:u(r,c)};e[n]=d})),function(t){return e[t]}}(),g=function(e){var t=e.attribs,r={attributes:{}};return Object.keys(t).forEach((function(e){var n=e.toLowerCase(),i=A(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=g},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),c=n.alloc(0);while(o>0||a>0){var u=new i;u.update(c),u.update(e),t&&u.update(t),c=u.digest();var d=0;if(o>0){var h=s.length-o;d=Math.min(o,c.length),c.copy(s,h,0,d),o-=d}if(d<c.length&&a>0){var p=l.length-a,f=Math.min(a,c.length-d);c.copy(l,p,d,d+f),a-=f}}return c.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)},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"),c=s.call((function(){}),"prototype"),u=["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=c&&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 A in e)h&&"prototype"===A||!i.call(e,A)||d.push(String(A));if(l)for(var g=f(e),_=0;_<u.length;++_)g&&"constructor"===u[_]||!i.call(e,u[_])||d.push(u[_]);return d}}e.exports=n},b19a: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("ad71"),s=r("dc14");a.inherits(d,o);for(var l=i(s.prototype),c=0;c<l.length;c++){var u=l[c];d.prototype[u]||(d.prototype[u]=s.prototype[u])}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)}},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";
  541. //! moment.js locale configuration
  542. 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}))},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;"}')},b3eb:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  543. //! moment.js locale configuration
  544. 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";
  545. //! moment.js locale configuration
  546. 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}))},b4bc:function(e,t,r){"use strict";var n=r("dc19"),i=r("cb27").has,a=r("8e16"),o=r("7f65"),s=r("384f"),l=r("5388"),c=r("2a62");e.exports=function(e){var t=n(this),r=o(e);if(a(t)<=r.size)return!1!==s(t,(function(e){if(r.includes(e))return!1}),!0);var u=r.getIterator();return!1!==l(u,(function(e){if(i(t,e))return c(u,"normal",!1)}))}},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,c=n.shr64_lo,u=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,A=n.sum64_5_lo,g=i.BlockHash,_=[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 v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=_,this.W=new Array(160)}function b(e,t,r,n,i){var a=e&r^~e&i;return a<0&&(a+=4294967296),a}function w(e,t,r,n,i,a){var o=t&n^~t&a;return o<0&&(o+=4294967296),o}function y(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 C(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 S(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 M(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 T(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 O(e,t){var r=s(e,t,1),n=s(e,t,8),i=c(e,t,7),a=r^n^i;return a<0&&(a+=4294967296),a}function N(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=c(e,t,6),a=r^n^i;return a<0&&(a+=4294967296),a}n.inherits(v,g),e.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.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=N(r[n-4],r[n-3]),a=R(r[n-4],r[n-3]),o=r[n-14],s=r[n-13],l=T(r[n-30],r[n-29]),c=O(r[n-30],r[n-29]),u=r[n-32],d=r[n-31];r[n]=p(i,a,o,s,l,c,u,d),r[n+1]=f(i,a,o,s,l,c,u,d)}},v.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],c=this.h[5],p=this.h[6],f=this.h[7],g=this.h[8],_=this.h[9],v=this.h[10],T=this.h[11],O=this.h[12],N=this.h[13],R=this.h[14],L=this.h[15];a(this.k.length===r.length);for(var I=0;I<r.length;I+=2){var k=R,B=L,D=M(g,_),F=x(g,_),P=b(g,_,v,T,O,N),j=w(g,_,v,T,O,N),U=this.k[I],H=this.k[I+1],V=r[I],Y=r[I+1],W=m(k,B,D,F,P,j,U,H,V,Y),Q=A(k,B,D,F,P,j,U,H,V,Y);k=C(n,i),B=S(n,i),D=y(n,i,o,s,l,c),F=E(n,i,o,s,l,c);var z=d(k,B,D,F),q=h(k,B,D,F);R=O,L=N,O=v,N=T,v=g,T=_,g=d(p,f,W,Q),_=h(f,f,W,Q),p=l,f=c,l=o,c=s,o=n,s=i,n=d(W,Q,z,q),i=h(W,Q,z,q)}u(this.h,0,n,i),u(this.h,2,o,s),u(this.h,4,l,c),u(this.h,6,p,f),u(this.h,8,g,_),u(this.h,10,v,T),u(this.h,12,O,N),u(this.h,14,R,L)},v.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";
  547. //! moment.js locale configuration
  548. 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}))},b540:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  549. //! moment.js locale configuration
  550. 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";
  551. //! moment.js locale configuration
  552. 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],c=[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],u=[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 A(e,t,r,n,i,a,o,s){return f(e+(t&r|~t&n)+a+o|0,s)+i|0}function g(e,t,r,n,i,a,o,s){return f(e+((t|~r)^n)+a+o|0,s)+i|0}function _(e,t,r,n,i,a,o,s){return f(e+(t&n|r&~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}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,b=0|this._a,w=0|this._b,y=0|this._c,E=0|this._d,C=0|this._e,S=0;S<80;S+=1){var M,x;S<16?(M=m(r,n,i,a,p,e[s[S]],d[0],c[S]),x=v(b,w,y,E,C,e[l[S]],h[0],u[S])):S<32?(M=A(r,n,i,a,p,e[s[S]],d[1],c[S]),x=_(b,w,y,E,C,e[l[S]],h[1],u[S])):S<48?(M=g(r,n,i,a,p,e[s[S]],d[2],c[S]),x=g(b,w,y,E,C,e[l[S]],h[2],u[S])):S<64?(M=_(r,n,i,a,p,e[s[S]],d[3],c[S]),x=A(b,w,y,E,C,e[l[S]],h[3],u[S])):(M=v(r,n,i,a,p,e[s[S]],d[4],c[S]),x=m(b,w,y,E,C,e[l[S]],h[4],u[S])),r=p,p=a,a=f(i,10),i=n,n=M,b=C,C=E,E=f(y,10),y=w,w=x}var T=this._b+i+E|0;this._b=this._c+a+C|0,this._c=this._d+p+b|0,this._d=this._e+r+w|0,this._e=this._a+n+y|0,this._a=T},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},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,c=Math.min(a-s,i-l),u=0;u<c;u++)r[l+u]=e[s+u];o+=c,s+=c,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("e372"),o=r("3fb5"),s=r("6fe7"),l=r("980c"),c=r("b4e8");function u(e){a.Writable.call(this);var t=c[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=c[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 u(e)}function p(e){return new d(e)}Object.keys(c).forEach((function(e){c[e].id=n.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),o(u,a.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,t){return this._hash.update("string"===typeof e?n.from(e,t):e),this},u.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;if(0===e[t.place])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 c(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 u(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;if(0!==(128&e[r.place]))return!1;var c=e.slice(r.place,o+r.place);if(r.place+=o,2!==e[r.place++])return!1;var u=l(e,r);if(!1===u)return!1;if(e.length!==u+r.place)return!1;if(0!==(128&e[r.place]))return!1;var d=e.slice(r.place,u+r.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new n(c),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=c(t),r=c(r);while(!r[0]&&!(128&r[1]))r=r.slice(1);var n=[2];u(n,t.length),n=n.concat(t),n.push(2),u(n,r.length);var a=n.concat(r),o=[48];return u(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"),c=r("f141"),u=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]=c.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&&u.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"))},b7da:function(e,t,r){"use strict";r("3959")},b7e9:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  553. //! moment.js locale configuration
  554. 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";
  555. //! moment.js locale configuration
  556. 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}))},b97c:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  557. //! moment.js locale configuration
  558. 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,c=r("bb34"),u=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 c(this,e)},d.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return c.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,r){var i;if(n.isBN(e)||"number"===typeof e)e=new n(e,16),i=e.byteLength();else if("object"===typeof e)i=e.length,e=new n(e,16);else{var a=e.toString();i=a.length+1>>>1,e=new n(a,16)}"number"!==typeof r&&(r=8*i);var o=r-this.n.bitLength();return o>0&&(e=e.ushrn(o)),!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(e,!1,a.msgBitLength);for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),l=e.toArray("be",o),c=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(c.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(),A=m.umod(this.n);if(0!==A.cmpn(0)){var g=p.invm(this.n).mul(A.mul(t.getPrivate()).iadd(e));if(g=g.umod(this.n),0!==g.cmpn(0)){var _=(f.getY().isOdd()?1:0)|(0!==m.cmp(A)?2:0);return a.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),_^=1),new u({r:A,s:g,recoveryParam:_})}}}}}},d.prototype.verify=function(e,t,r,n,i){i||(i={}),e=this._truncateToN(e,!1,i.msgBitLength),r=this.keyFromPublic(r,n),t=new u(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),c=l.mul(e).umod(this.n),d=l.mul(a).umod(this.n);return this.curve._maxwellTrick?(s=this.g.jmulAdd(c,r.getPublic(),d),!s.isInfinity()&&s.eqXToP(a)):(s=this.g.mulAdd(c,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 u(t,i);var a=this.n,o=new n(e),s=t.r,c=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=c.mul(p).umod(a);return this.g.mulAdd(f,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(t=new u(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")}},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"),c=r("bcd6"),u=r("4b7d"),d=r("750a"),h=r("7ef7"),p=r("7c81"),f=r("dc6b"),m=r("b777");function A(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(u.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 g(e,t,r){A(e,t,r);let n=r;return n===e&&(n=e._nextSibling),m.document_adopt(e,t._nodeDocument),_(e,t,n),e}function _(e,t,r,i){if(null===r&&e._nodeType!==a.NodeType.DocumentFragment)return void v(e,t,i);const d=e._nodeType===a.NodeType.DocumentFragment?e._children.size:1;if(null!==r&&0!==n.dom.rangeList.size){const e=u.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)C(e._firstChild,e,!0);n.dom.features.mutationObservers&&e._nodeType===a.NodeType.DocumentFragment&&p.observer_queueTreeMutationRecord(e,[],m,null,null);const A=r?r._previousSibling:t._lastChild;let g=null===r?-1:u.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,g),g++),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(u.tree_rootNode(t))&&o.Guard.isSlot(t)&&s.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),n.dom.features.slots&&h.shadowTree_assignSlotablesForATree(u.tree_rootNode(e));let i=u.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)?c.customElement_enqueueACustomElementCallbackReaction(i,"connectedCallback",[]):c.customElement_tryToUpgrade(i)),i=u.tree_getNextDescendantNode(e,i,!0,!0)}n.dom.features.mutationObservers&&(i||p.observer_queueTreeMutationRecord(t,m,[],A,r))}function v(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(u.tree_rootNode(t))&&o.Guard.isSlot(t)&&s.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),n.dom.features.slots&&h.shadowTree_assignSlotablesForATree(u.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)?c.customElement_enqueueACustomElementCallbackReaction(e,"connectedCallback",[]):c.customElement_tryToUpgrade(e)),n.dom.features.mutationObservers&&(r||p.observer_queueTreeMutationRecord(t,[e],[],i,null))}function b(e,t){return g(e,t,null)}function w(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(u.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),C(e,e._parent,!0));let c=[];return t._nodeType===a.NodeType.DocumentFragment?c=Array.from(t._children):c.push(t),_(t,r,o,!0),n.dom.features.mutationObservers&&p.observer_queueTreeMutationRecord(r,c,l,s,o),e}function y(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)C(n,t,!0);null!==e&&_(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 C(e,t),e}function C(e,t,r){if(0!==n.dom.rangeList.size){const r=u.tree_index(e);for(const i of n.dom.rangeList)u.tree_isDescendantOf(e,i._start[0],!0)&&(i._start=[t,r]),u.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(u.tree_rootNode(t))&&o.Guard.isSlot(t)&&s.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),n.dom.features.slots){const r=u.tree_getFirstDescendantNode(e,!0,!1,e=>o.Guard.isSlot(e));null!==r&&(h.shadowTree_assignSlotablesForATree(u.tree_rootNode(t)),h.shadowTree_assignSlotablesForATree(e))}n.dom.features.steps&&f.dom_runRemovingSteps(e,t),n.dom.features.customElements&&o.Guard.isCustomElementNode(e)&&c.customElement_enqueueACustomElementCallbackReaction(e,"disconnectedCallback",[]);let A=u.tree_getFirstDescendantNode(e,!1,!0);while(null!==A)n.dom.features.steps&&f.dom_runRemovingSteps(A,e),n.dom.features.customElements&&o.Guard.isCustomElementNode(A)&&c.customElement_enqueueACustomElementCallbackReaction(A,"disconnectedCallback",[]),A=u.tree_getNextDescendantNode(e,A,!1,!0);if(n.dom.features.mutationObservers){let r=u.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=u.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=A,t.mutation_preInsert=g,t.mutation_insert=_,t.mutation_append=b,t.mutation_replace=w,t.mutation_replaceAll=y,t.mutation_preRemove=E,t.mutation_remove=C},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},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,r){return this.ec.verify(e,t,this,void 0,r)},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,c=i.BlockHash;function u(){if(!(this instanceof u))return new u;c.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(u,c),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],c=this.h[3],u=this.h[4],_=r,v=n,b=i,w=c,y=u,E=0;E<80;E++){var C=o(a(l(r,d(E,n,i,c),e[f[E]+t],h(E)),A[E]),u);r=u,u=c,c=a(i,10),i=n,n=C,C=o(a(l(_,d(79-E,v,b,w),e[m[E]+t],p(E)),g[E]),y),_=y,y=w,w=a(b,10),b=v,v=C}C=s(this.h[1],i,w),this.h[1]=s(this.h[2],c,y),this.h[2]=s(this.h[3],u,_),this.h[3]=s(this.h[4],r,v),this.h[4]=s(this.h[0],n,b),this.h[0]=C},u.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],A=[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],g=[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";
  559. //! moment.js locale configuration
  560. 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}},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(10).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 c(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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 u=["","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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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?u[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 c=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:u[c-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,c=new e(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},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,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function A(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 g(e,t,r){var n=new _;return n.mulp(e,t,r)}function _(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?A(this,e,t):g(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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),g(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 S(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 v={k256:null,p224:null,p192:null,p25519:null};function b(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(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(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 M(e){S.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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.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},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),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},w.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(y,b),i(E,b),i(C,b),C.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(v[e])return v[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return v[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.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)},M.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)},M.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 c(e){return a.has(e)}function u(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 A(e,t,r,n){return null}t.customElement_isValidCustomElementName=l,t.customElement_isValidElementName=c,t.customElement_isVoidElementName=u,t.customElement_isValidShadowHostName=d,t.customElement_enqueueACustomElementUpgradeReaction=h,t.customElement_enqueueACustomElementCallbackReaction=p,t.customElement_upgrade=f,t.customElement_tryToUpgrade=m,t.customElement_lookUpACustomElementDefinition=A},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)}},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("d9e2");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)}},be1e: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}})}))},be30:function(e,t,r){"use strict";r("ffd5")},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 c(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 u(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 A(e,t){return e.sort((e,r)=>t.call(null,e,r)?-1:1)}function g(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=c,t.empty=u,t.contains=d,t.size=h,t.isEmpty=p,t.forEach=f,t.clone=m,t.sortInAscendingOrder=A,t.sortInDescendingOrder=g},bf76f: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},bf7d:function(e,t,r){"use strict";r("dfa2")},bfd6:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"data-search"},[r("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[r("el-form-item",{attrs:{label:"文档标题:"}},[r("el-input",{attrs:{placeholder:"请填写文档标题"},model:{value:e.queryForm.title,callback:function(t){e.$set(e.queryForm,"title",t)},expression:"queryForm.title"}})],1),r("el-form-item",{attrs:{label:"所属分类:"}},[r("el-select",{staticClass:"m-2",attrs:{clearable:"",placeholder:"请选择分类",size:"large"},model:{value:e.queryForm.category_id,callback:function(t){e.$set(e.queryForm,"category_id",t)},expression:"queryForm.category_id"}},e._l(e.categoryList,(function(e){return r("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),r("el-form-item",{attrs:{label:"文档状态:"}},[r("el-select",{staticClass:"m-2",attrs:{placeholder:"请选择文档状态",size:"large"},model:{value:e.queryForm.status,callback:function(t){e.$set(e.queryForm,"status",t)},expression:"queryForm.status"}},e._l(e.statusOptions,(function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[r("svg-icon",{attrs:{"icon-class":"search"}}),e._v(" 搜索")],1)],1),r("el-form-item",[r("el-button",{staticClass:"el-icon-circle-plus-outline",attrs:{type:"primary"},on:{click:e.addDocument}},[e._v(" 创建模版")])],1)],1)],1)},i=[],a=(r("14d9"),r("424e")),o={props:{queryForm:{type:Object,default:function(){return{page:1,pageSize:10,title:"",category_id:"",status:""}}}},data:function(){return{statusOptions:[{value:"",label:"请选择状态"},{value:5,label:"启用"},{value:6,label:"停用"}],dialogVisible:!1,categoryList:[]}},created:function(){this.initCategoryList()},methods:{initCategoryList:function(){var e=this;Object(a["i"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.categoryList=t.data.dataList)}))},onCreate:function(e){this.dialogVisible=!0},onSubmit:function(){this.$emit("bindSetQuery",this.$props.queryForm)},addDocument:function(){this.$router.push("/document/system/document/create")}}},s=o,l=(r("ded3"),r("2877")),c=Object(l["a"])(s,n,i,!1,null,null,null);t["default"]=c.exports},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},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},c0d8:function(e,t,r){"use strict";r("d9e2"),r("14d9"),r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3"),r("130f");var n=r("5d7f"),i=r("97b9"),a=r("7b9c"),o=r("63d8"),s=r("f938"),l=r("de3b"),c=r("491c"),u=r("87d6");function d(e,t){h(e,t),t.add(e)}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function p(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=m(e,"string");return"symbol"==typeof t?t:t+""}function m(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 A(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 g=new WeakSet;class _{constructor(e,t,r){d(this,g),p(this,"hot",void 0),p(this,"tableMeta",void 0),p(this,"selection",void 0),p(this,"eventManager",void 0),p(this,"destroyed",!1),p(this,"activeEditor",void 0),p(this,"cellProperties",void 0),this.hot=e,this.tableMeta=t,this.selection=r,this.eventManager=new u["a"](e),this.hot.addHook("afterDocumentKeyDown",e=>A(g,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)=>A(g,this,b).call(this,e,t,r))}getActiveEditor(){return this.activeEditor}prepareEditor(){var e;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 a=r,o=n;if(Array.isArray(i)&&([a,o]=i),this.cellProperties=this.hot.getCellMeta(a,o),!this.isCellEditable())return void this.clearActiveEditor();const s=this.hot.getCell(r,n,!0);if(s){const e=this.hot.getCellEditor(this.cellProperties),t=this.hot.colToProp(o),i=this.hot.getSourceDataAtCell(this.hot.toPhysicalRow(a),o);this.activeEditor=Object(c["b"])(e,this.hot),this.activeEditor.prepare(r,n,t,s,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(l["isImmediatePropagationStopped"])(e))return;const{keyCode:r}=e,n=(e.ctrlKey||e.metaKey)&&!e.altKey;(!this.activeEditor||this.activeEditor&&!this.activeEditor.isWaiting())&&(Object(s["isFunctionKey"])(r)||Object(s["isCtrlMetaKey"])(r)||n||this.isEditorOpened()||this.openEditor("",e))}function b(e,t){t.isCell()&&this.openEditor(null,e,!0)}const w=new WeakMap;_.getInstance=function(e,t,r){let n=w.get(e);return n||(n=new _(e,t,r),w.set(e,n)),n};var y=_,E=r("351d"),C=r("bd5e");function S(e,t){x(e,t),t.add(e)}function M(e,t,r){x(e,t),t.set(e,r)}function x(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function T(e,t){return e.get(N(e,t))}function O(e,t,r){return e.set(N(e,t),r),r}function N(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 R=Object.freeze({CELL:"cell",MIXED:"mixed"});var L=new WeakMap,I=new WeakMap,k=new WeakMap,B=new WeakMap,D=new WeakMap,F=new WeakSet;class P{constructor(e){var t=this;S(this,F),M(this,L,void 0),M(this,I,void 0),M(this,k,1),M(this,B,null),M(this,D,new Map);const r=e.getSettings();O(L,this,e),O(I,this,r.imeFastEdit?R.MIXED:R.CELL),T(L,this).addHook("afterUpdateSettings",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return N(F,t,V).call(t,...r)})),T(L,this).addHook("afterSelection",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return N(F,t,U).call(t,...r)})),T(L,this).addHook("afterSelectionFocusSet",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return N(F,t,U).call(t,...r)})),T(L,this).addHook("afterSelectionEnd",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return N(F,t,H).call(t,...r)}))}getFocusMode(){return T(I,this)}setFocusMode(e){Object.values(R).includes(e)?O(I,this,e):Object(C["b"])(`"${e}" is not a valid focus mode.`)}getRefocusDelay(){return T(k,this)}setRefocusDelay(e){O(k,this,e)}setRefocusElementGetter(e){O(B,this,e)}getRefocusElement(){return"function"===typeof T(B,this)?T(B,this).call(this):null===(e=T(L,this).getActiveEditor())||void 0===e?void 0:e.TEXTAREA;var e}focusOnHighlightedCell(e){const t=e=>{var t,r;const n=null===(t=T(L,this).getSelectedRangeLast())||void 0===t?void 0:t.highlight;if(!n)return;let i=T(L,this).runHooks("modifyFocusedElement",n.row,n.col,e);i instanceof HTMLElement||(i=e),!i||null!==(r=T(L,this).getActiveEditor())&&void 0!==r&&r.isOpened()||i.focus({preventScroll:!0})};e?t(e):N(F,this,j).call(this,e=>t(e))}refocusToEditorTextarea(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T(k,this);const r=this.getRefocusElement();!T(L,this).getSettings().imeFastEdit||null!==(e=T(L,this).getActiveEditor())&&void 0!==e&&e.isOpened()||!r||(T(D,this).has(t)||T(D,this).set(t,Object(i["debounce"])(()=>{r.select()},t)),T(D,this).get(t)())}}function j(e){var t;const r=null===(t=T(L,this).getSelectedRangeLast())||void 0===t?void 0:t.highlight;if(!r||!T(L,this).selection.isCellVisible(r))return void e(null);const n=T(L,this).getCell(r.row,r.col,!0);null===n?T(L,this).addHookOnce("afterScroll",()=>{e(T(L,this).getCell(r.row,r.col,!0))}):e(n)}function U(){N(F,this,j).call(this,e=>{const{activeElement:t}=T(L,this).rootDocument;t&&Object(n["isOutsideInput"])(t)&&t.blur(),this.focusOnHighlightedCell(e)})}function H(){N(F,this,j).call(this,e=>{this.getFocusMode()===R.MIXED&&"TD"===e.nodeName&&this.refocusToEditorTextarea()})}function V(e){"boolean"===typeof e.imeFastEdit&&this.setFocusMode(e.imeFastEdit?R.MIXED:R.CELL)}var Y=r("81ea"),W=r("a776"),Q=r("24b5"),z=r("3d76"),q=r("169f"),G=r("29b0"),K=r("ffec"),X=r("7dd0");function $(e,t,r){Z(e,t),t.set(e,r)}function Z(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function J(e,t){return e.get(te(e,t))}function ee(e,t,r){return e.set(te(e,t),r),r}function te(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 re=new WeakMap,ne=new WeakMap,ie=new WeakMap,ae=new WeakMap,oe=new WeakMap,se=new WeakMap,le=new WeakMap,ce=new WeakMap,ue=new WeakMap,de=new WeakMap;class he{constructor(e,t,r,n,i,a){let o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;$(this,re,void 0),$(this,ne,void 0),$(this,ie,void 0),$(this,ae,void 0),$(this,oe,void 0),$(this,se,void 0),$(this,le,void 0),$(this,ce,void 0),$(this,ue,[null,null]),$(this,de,[null,null]),ee(re,this,r),ee(ne,this,t),ee(ie,this,i),ee(ae,this,a),ee(oe,this,o),ee(se,this,n),ee(le,this,e),this.registerEvents()}registerEvents(){J(se,this).addEventListener(J(ie,this).holder,"contextmenu",e=>this.onContextMenu(e)),J(se,this).addEventListener(J(ie,this).TABLE,"mouseover",e=>this.onMouseOver(e)),J(se,this).addEventListener(J(ie,this).TABLE,"mouseout",e=>this.onMouseOut(e));const e=()=>{J(se,this).addEventListener(J(ie,this).holder,"touchstart",e=>this.onTouchStart(e)),J(se,this).addEventListener(J(ie,this).holder,"touchend",e=>this.onTouchEnd(e)),this.momentumScrolling||(this.momentumScrolling={}),J(se,this).addEventListener(J(ie,this).holder,"scroll",()=>{clearTimeout(this.momentumScrolling._timeout),this.momentumScrolling.ongoing||J(re,this).getSetting("onBeforeTouchScroll"),this.momentumScrolling.ongoing=!0,this.momentumScrolling._timeout=setTimeout(()=>{this.touchApplied||(this.momentumScrolling.ongoing=!1,J(re,this).getSetting("onAfterMomentumScroll"))},200)})},t=()=>{J(se,this).addEventListener(J(ie,this).holder,"mouseup",e=>this.onMouseUp(e)),J(se,this).addEventListener(J(ie,this).holder,"mousedown",e=>this.onMouseDown(e))};Object(o["isMobileBrowser"])()?e():(Object(X["isTouchSupported"])()&&e(),t())}selectedCellWasTouched(e){const t=this.parentCell(e),r=t.coords;if(J(ce,this)&&r){const[e,t]=[r.row,J(ce,this).from.row],[n,i]=[r.col,J(ce,this).from.col];return e===t&&n===i}return!1}parentCell(e){const t={},r=J(ie,this).TABLE,i=Object(n["closestDown"])(e,["TD","TH"],r);return i?(t.coords=J(ie,this).getCoords(i),t.TD=i):Object(n["hasClass"])(e,"wtBorder")&&Object(n["hasClass"])(e,"current")?(t.coords=J(ae,this).getFocusSelection().cellRange.highlight,t.TD=J(ie,this).getCell(t.coords)):Object(n["hasClass"])(e,"wtBorder")&&Object(n["hasClass"])(e,"area")&&J(ae,this).getAreaSelection().cellRange&&(t.coords=J(ae,this).getAreaSelection().cellRange.to,t.TD=J(ie,this).getCell(t.coords)),t}onMouseDown(e){const t=J(ne,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")?J(re,this).getSetting("onCellCornerMouseDown",e,a):o.TD&&J(re,this).has("onCellMouseDown")&&this.callListener("onCellMouseDown",e,o.coords,o.TD),(0===e.button||this.touchApplied)&&o.TD&&(J(de,this)[0]=o.TD,clearTimeout(J(ue,this)[0]),J(ue,this)[0]=setTimeout(()=>{J(de,this)[0]=null},1e3))}onContextMenu(e){if(J(re,this).has("onCellContextMenu")){const t=this.parentCell(e.target);t.TD&&this.callListener("onCellContextMenu",e,t.coords,t.TD)}}onMouseOver(e){if(!J(re,this).has("onCellMouseOver"))return;const t=J(ie,this).TABLE,r=Object(n["closestDown"])(e.target,["TD","TH"],t),i=J(oe,this)||this;r&&r!==i.lastMouseOver&&Object(n["isChildOf"])(r,t)&&(i.lastMouseOver=r,this.callListener("onCellMouseOver",e,J(ie,this).getCoords(r),r))}onMouseOut(e){if(!J(re,this).has("onCellMouseOut"))return;const t=J(ie,this).TABLE,r=Object(n["closestDown"])(e.target,["TD","TH"],t),i=Object(n["closestDown"])(e.relatedTarget,["TD","TH"],t),a=J(oe,this)||this;r&&r!==i&&Object(n["isChildOf"])(r,t)&&(this.callListener("onCellMouseOut",e,J(ie,this).getCoords(r),r),null===i&&(a.lastMouseOver=null))}onMouseUp(e){const t=this.parentCell(e.target);t.TD&&J(re,this).has("onCellMouseUp")&&this.callListener("onCellMouseUp",e,t.coords,t.TD),(0===e.button||this.touchApplied)&&(t.TD===J(de,this)[0]&&t.TD===J(de,this)[1]?(Object(n["hasClass"])(e.target,"corner")?this.callListener("onCellCornerDblClick",e,t.coords,t.TD):this.callListener("onCellDblClick",e,t.coords,t.TD),J(de,this)[0]=null,J(de,this)[1]=null):t.TD===J(de,this)[0]&&(J(de,this)[1]=t.TD,clearTimeout(J(ue,this)[1]),J(ue,this)[1]=setTimeout(()=>{J(de,this)[1]=null},500)))}onTouchStart(e){ee(ce,this,J(ae,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&&J(re,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=J(re,this).getSettingPure(e);i&&i(t,r,n,J(le,this).call(this))}destroy(){clearTimeout(J(ue,this)[0]),clearTimeout(J(ue,this)[1]),J(se,this).destroy()}}var pe=he;function fe(e,t,r){return(t=me(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(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 ge{constructor(e,t,r){fe(this,"offset",void 0),fe(this,"total",void 0),fe(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 _e=ge;function ve(e,t,r){return(t=be(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function be(e){var t=we(e,"string");return"symbol"==typeof t?t:t+""}function we(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(e,t,r){ve(this,"offset",void 0),ve(this,"total",void 0),ve(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 Ee=ye;const Ce=0,Se=1,Me=2;function xe(e,t,r){return(t=Te(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Te(e){var t=Oe(e,"string");return"symbol"==typeof t?t:t+""}function Oe(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 Ne{constructor(){xe(this,"currentSize",0),xe(this,"nextSize",0),xe(this,"currentOffset",0),xe(this,"nextOffset",0)}setSize(e){this.currentSize=this.nextSize,this.nextSize=e}setOffset(e){this.currentOffset=this.nextOffset,this.nextOffset=e}}function Re(e,t,r){return(t=Le(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Le(e){var t=Ie(e,"string");return"symbol"==typeof t?t:t+""}function Ie(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 ke{constructor(){Re(this,"size",new Ne),Re(this,"workingSpace",Ce),Re(this,"sharedSize",null)}setSize(e){this.size.setSize(e)}setOffset(e){this.size.setOffset(e)}getViewSize(){return this.size}isShared(){return this.sharedSize instanceof Ne}isPlaceOn(e){return this.workingSpace===e}append(e){this.workingSpace=Se,e.workingSpace=Me,this.sharedSize=e.getViewSize()}prepend(e){this.workingSpace=Me,e.workingSpace=Se,this.sharedSize=e.getViewSize()}}function Be(e,t,r){return(t=De(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function De(e){var t=Fe(e,"string");return"symbol"==typeof t?t:t+""}function Fe(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,r){Be(this,"rootNode",void 0),Be(this,"nodesPool",void 0),Be(this,"sizeSet",new ke),Be(this,"childNodeType",void 0),Be(this,"visualIndex",0),Be(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(Se))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(Se);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 je extends Pe{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 Ue(e,t,r){return(t=He(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function He(e){var t=Ve(e,"string");return"symbol"==typeof t?t:t+""}function Ve(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(e){Ue(this,"nodeType",void 0),this.nodeType=e.toUpperCase()}setRootDocument(e){this.rootDocument=e}obtain(){return this.rootDocument.createElement(this.nodeType)}}function We(e,t,r){return(t=Qe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qe(e){var t=ze(e,"string");return"symbol"==typeof t?t:t+""}function ze(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 qe{constructor(e,t){We(this,"nodesPool",null),We(this,"nodeType",void 0),We(this,"rootNode",void 0),We(this,"table",null),We(this,"renderedNodes",0),this.nodesPool="string"===typeof e?new Ye(e):null,this.nodeType=e,this.rootNode=t}setTable(e){this.nodesPool&&this.nodesPool.setRootDocument(e.rootDocument),this.table=e}adjust(){}render(){}}var Ge=r("8828");function Ke(e,t,r){return(t=Xe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xe(e){var t=$e(e,"string");return"symbol"==typeof t?t:t+""}function $e(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 Ze extends qe{constructor(){super("TH"),Ke(this,"orderViews",new WeakMap),Ke(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new je(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),c=a.obtainOrderView(s);l.appendView(c).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(Ge["E"])(),Object(Ge["H"])(),Object(Ge["f"])(i+1),Object(Ge["L"])(-1)]),t[i](e,r,i)}l.end()}}}class Je extends qe{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(Ge["D"])()]);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(Ge["B"])(),Object(Ge["F"])(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(Ge["f"])(o+1+this.table.rowHeadersCount),Object(Ge["L"])(-1),Object(Ge["g"])(),...o>=0?[Object(Ge["G"])()]:[Object(Ge["B"])()]]),e[t](r,s,t)}}}}var et=r("67a8");let tt=!1;class rt extends qe{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;!tt&&e>1e3&&(tt=!0,Object(C["b"])(et["a"]`Performance tip: Handsontable rendered more than 1000 visible columns.\x20
  561. Consider limiting the number of rendered columns by specifying the table width and/or\x20
  562. 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 nt(e,t,r){return(t=it(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function it(e){var t=at(e,"string");return"symbol"==typeof t?t:t+""}function at(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 ot={rowEven:"ht__row_even",rowOdd:"ht__row_odd"};let st=!1;class lt extends qe{constructor(e){super("TR",e),nt(this,"orderView",void 0),this.orderView=new Pe(e,e=>this.nodesPool.obtain(e),this.nodeType)}getRenderedNode(e){return this.orderView.getNode(e)}render(){const{rowsToRender:e}=this.table;!st&&e>1e3&&(st=!0,Object(C["b"])(et["a"]`Performance tip: Handsontable rendered more than 1000 visible rows.\x20
  563. Consider limiting the number of rendered rows by specifying the table height and/or\x20
  564. turning off the "renderAllRows" option.`)),this.table.isAriaEnabled()&&Object(n["setAttribute"])(this.rootNode,[Object(Ge["D"])()]),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(Ge["B"])(),Object(Ge["F"])(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)]);Object(n["removeClass"])(e,[ot.rowEven,ot.rowOdd]),(a+1)%2===0?Object(n["addClass"])(e,ot.rowEven):Object(n["addClass"])(e,ot.rowOdd)}this.orderView.end()}}function ct(e,t,r){return(t=ut(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ut(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 ht extends qe{constructor(){super("TD"),ct(this,"orderViews",new WeakMap),ct(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new je(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 c=this.obtainOrderView(l),u=i.obtainOrderView(l);c.prependView(u).setSize(t).setOffset(this.table.renderedColumnToSource(0)).start();for(let r=0;r<t;r++){c.render();const t=c.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(Ge["l"])()],Object(Ge["L"])(-1),Object(Ge["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)])}c.end()}}}function pt(e,t,r){return(t=ft(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ft(e){var t=mt(e,"string");return"symbol"==typeof t?t:t+""}function mt(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 At{constructor(e){let{cellRenderer:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};pt(this,"rootNode",void 0),pt(this,"rootDocument",void 0),pt(this,"rowHeaders",null),pt(this,"columnHeaders",null),pt(this,"colGroup",null),pt(this,"rows",null),pt(this,"cells",null),pt(this,"rowFilter",null),pt(this,"columnFilter",null),pt(this,"rowUtils",null),pt(this,"columnUtils",null),pt(this,"rowsToRender",0),pt(this,"columnsToRender",0),pt(this,"rowHeaderFunctions",[]),pt(this,"rowHeadersCount",0),pt(this,"columnHeaderFunctions",[]),pt(this,"columnHeadersCount",0),pt(this,"cellRenderer",void 0),pt(this,"activeOverlayName",void 0),this.rootNode=e,this.rootDocument=this.rootNode.ownerDocument,this.cellRenderer=t}setActiveOverlayName(e){this.activeOverlayName=e}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.getHeightByOverlayName(t,this.activeOverlayName);e.firstChild.style.height=n?n-1+"px":""}}}}class gt{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 At(e,{cellRenderer:o}),this.renderer.setRenderers({rowHeaders:new Ze,columnHeaders:new Je(t),colGroup:new rt(r),rows:new lt(n),cells:new ht}),this.renderer.setAxisUtils(i,a)}setActiveOverlayName(e){return this.renderer.setActiveOverlayName(e),this}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()}}var _t=r("861dd");function vt(e,t,r){bt(e,t),t.set(e,r)}function bt(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function wt(e,t,r){return(t=yt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yt(e){var t=Et(e,"string");return"symbol"==typeof t?t:t+""}function Et(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 Ct(e,t){return e.get(Mt(e,t))}function St(e,t,r){return e.set(Mt(e,t),r),r}function Mt(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,Tt=new WeakMap,Ot=new WeakMap,Nt=new WeakMap,Rt=new WeakMap;class Lt{constructor(e){let{totalColumns:t,stretchMode:r,stretchingColumnWidthFn:n,columnWidthFn:i}=e;wt(this,"stretchAllRatio",0),wt(this,"stretchLastWidth",0),wt(this,"stretchAllColumnsWidth",[]),vt(this,xt,0),wt(this,"needVerifyLastColumnWidth",!0),vt(this,Tt,()=>0),vt(this,Ot,e=>e),vt(this,Nt,e=>e),vt(this,Rt,()=>"none"),St(Tt,this,t),St(Rt,this,r),St(Ot,this,null!==n&&void 0!==n?n:Ct(Ot,this)),St(Nt,this,null!==i&&void 0!==i?i:Ct(Nt,this))}refreshStretching(e){if("none"===Ct(Rt,this).call(this))return;this.stretchAllRatio=0,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0,this.stretchLastWidth=0,St(xt,this,e);let t=0;for(let n=0;n<Ct(Tt,this).call(this);n++){const r=this._getColumnWidth(n),i=Ct(Ot,this).call(this,void 0,n);"number"===typeof i?e-=i:t+=r}const r=e-t;if("all"===Ct(Rt,this).call(this)&&r>0)this.stretchAllRatio=e/t,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0;else if("last"===Ct(Rt,this).call(this)&&e!==1/0){const e=this._getColumnWidth(Ct(Tt,this).call(this)-1),t=r+e;this.stretchLastWidth=t>=0?t:e}}getStretchedColumnWidth(e,t){let r=null;return"all"===Ct(Rt,this).call(this)&&0!==this.stretchAllRatio?r=this._getStretchedAllColumnWidth(e,t):"last"===Ct(Rt,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=Ct(Ot,this).call(this,r,e);this.stretchAllColumnsWidth[e]=void 0===n?r:isNaN(n)?this._getColumnWidth(e):n}if(this.stretchAllColumnsWidth.length===Ct(Tt,this).call(this)&&this.needVerifyLastColumnWidth){this.needVerifyLastColumnWidth=!1;for(let e=0;e<this.stretchAllColumnsWidth.length;e++)r+=this.stretchAllColumnsWidth[e];r!==Ct(xt,this)&&(this.stretchAllColumnsWidth[this.stretchAllColumnsWidth.length-1]+=Ct(xt,this)-r)}return this.stretchAllColumnsWidth[e]}_getStretchedLastColumnWidth(e){return e===Ct(Tt,this).call(this)-1?this.stretchLastWidth:null}_getColumnWidth(e){let t=Ct(Nt,this).call(this,e);return isNaN(t)&&(t=_t["a"]),t}}function It(e,t,r){return(t=kt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kt(e){var t=Bt(e,"string");return"symbol"==typeof t?t:t+""}function Bt(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 Dt{constructor(e,t){It(this,"dataAccessObject",void 0),It(this,"wtSettings",void 0),It(this,"headerWidths",new Map),It(this,"stretching",void 0),this.dataAccessObject=e,this.wtSettings=t,this.stretching=new Lt({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){const t=this.wtSettings.getSetting("columnWidth",e)||this.wtSettings.getSetting("defaultColumnWidth");return t}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 Ft(e,t,r){return(t=Pt(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 Ut{constructor(e,t){Ft(this,"dataAccessObject",void 0),Ft(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}getHeightByOverlayName(e,t){let r=this.wtSettings.getSetting("rowHeightByOverlayName",e,t);const n=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==n&&(r=void 0===r?n:Math.max(r,n)),r}}const Ht="top",Vt="bottom",Yt="inline_start",Wt="top_inline_start_corner",Qt="bottom_inline_start_corner",zt=[Ht,Vt,Yt,Wt,Qt],qt=new Map([[Ht,"ht_clone_"+Ht],[Vt,"ht_clone_"+Vt],[Yt,`ht_clone_${Yt} ht_clone_left`],[Wt,`ht_clone_${Wt} ht_clone_top_left_corner`],[Qt,`ht_clone_${Qt} ht_clone_bottom_left_corner`]]);function Gt(e,t,r){return(t=Kt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kt(e){var t=Xt(e,"string");return"symbol"==typeof t?t:t+""}function Xt(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 $t{constructor(e,t,r,i,a){Gt(this,"wtSettings",null),Gt(this,"domBindings",void 0),Gt(this,"TBODY",null),Gt(this,"THEAD",null),Gt(this,"COLGROUP",null),Gt(this,"hasTableHeight",!0),Gt(this,"hasTableWidth",!0),Gt(this,"isTableVisible",!1),Gt(this,"tableOffset",0),Gt(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 Ut(this.dataAccessObject,this.wtSettings),this.columnUtils=new Dt(this.dataAccessObject,this.wtSettings),this.tableRenderer=new gt({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(Ge["y"])()]),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(Ge["y"])()]),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(Ge["y"])()])),r.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&Object(n["setAttribute"])(r,[Object(Ge["y"])()]),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,c=t.getSetting("columnHeaders"),u=c.length;let d=e;if(this.isMaster&&(r.beforeDraw(),this.holderOffset=Object(n["offset"])(this.holder),d=i.createCalculators(d),l&&!t.getSetting("fixedColumnsStart"))){const e=r.inlineStartOverlay.getScrollPosition(),t=this.correctHeaderWidth;this.correctHeaderWidth=0!==e,t!==this.correctHeaderWidth&&(d=!1)}if(d)this.isMaster&&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 Ee(e,a,u),this.columnFilter=new _e(t,o,l);let d=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();const e={};this.wtSettings.getSetting("beforeDraw",!0,e),d=!0!==e.skipRender}if(d){let e;if(this.tableRenderer.setHeaderContentRenderers(s,c),(this.is(Vt)||this.is(Qt))&&this.tableRenderer.setHeaderContentRenderers(s,[]),this.resetOversizedRows(),this.tableRenderer.setActiveOverlayName(this.name).setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&(e=this.dataAccessObject.workspaceWidth,i.containerWidth=null,this.markOversizedColumnHeaders()),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(Vt))&&this.markOversizedRows(),this.isMaster){this.wtSettings.getSetting("externalRowCalculator")||i.createVisibleCalculators(),r.refresh(!1),r.applyToDOM();const t=Object(n["outerWidth"])(this.hider),a=Object(n["outerWidth"])(this.TABLE);0!==t&&a!==t&&(this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),e!==i.getWorkspaceWidth()&&(i.containerWidth=null,this.columnUtils.calculateWidths(),this.tableRenderer.renderer.colGroup.render()),this.wtSettings.getSetting("onDraw",!0)}else this.is(Vt)&&this.dataAccessObject.cloneSource.wtOverlays.adjustElementsSize()}}let h=!1;return this.isMaster&&(h=r.topOverlay.resetFixedPosition(),r.bottomOverlay.clone&&(h=r.bottomOverlay.resetFixedPosition()||h),h=r.inlineStartOverlay.resetFixedPosition()||h,r.topInlineStartCornerOverlay&&r.topInlineStartCornerOverlay.resetFixedPosition(),r.bottomInlineStartCornerOverlay&&r.bottomInlineStartCornerOverlay.clone&&r.bottomInlineStartCornerOverlay.resetFixedPosition()),h?(r.refreshAll(),r.adjustElementsSize()):this.dataAccessObject.selectionManager.setActiveOverlay(this.facadeGetter()).render(d),this.isMaster&&r.afterDraw(),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(Vt))&&!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"])(Wt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Ht,t,this.wtRootElement))"THEAD"===i.nodeName&&(a-=i.childNodes.length);else if(Object(n["overlayContainsElement"])(Qt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Vt,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"])(Wt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Yt,t,this.wtRootElement)||Object(n["overlayContainsElement"])(Qt,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 Zt=$t;const Jt="stickyRowsTop",er={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(E["defineGetter"])(er,"MIXIN_NAME",Jt,{writable:!1,enumerable:!1});var tr=er;const rr="calculatedColumns",nr={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(E["defineGetter"])(nr,"MIXIN_NAME",rr,{writable:!1,enumerable:!1});var ir=nr;class ar extends Zt{constructor(e,t,r,n){super(e,t,r,n,Ht)}}Object(E["mixin"])(ar,tr),Object(E["mixin"])(ar,ir);var or=ar;function sr(e,t){lr(e,t),t.add(e)}function lr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function cr(e,t,r){return(t=ur(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e){var t=dr(e,"string");return"symbol"==typeof t?t:t+""}function dr(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")}var pr=new WeakSet;class fr{constructor(e){sr(this,pr),cr(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(),c=this.getLastVisibleColumn();let u=!1;return(a&&(e<l||e>c)||!a)&&(u=s.scrollTo(e,a?e>=this.getLastPartiallyVisibleColumn():t)),u}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 c=this.getFirstVisibleRow(),u=this.getLastVisibleRow();let d=!1;return(a&&(e<c||e>u)||!a)&&(d=l.scrollTo(e,a?e>=this.getLastPartiallyVisibleRow():r)),d}getFirstVisibleRow(){return this.dataAccessObject.wtTable.getFirstVisibleRow()}getLastVisibleRow(){return hr(pr,this,Ar).call(this,this.dataAccessObject.wtTable.getLastVisibleRow())}getFirstPartiallyVisibleRow(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleRow()}getLastPartiallyVisibleRow(){return hr(pr,this,Ar).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleRow())}getFirstVisibleColumn(){return this.dataAccessObject.wtTable.getFirstVisibleColumn()}getLastVisibleColumn(){return hr(pr,this,mr).call(this,this.dataAccessObject.wtTable.getLastVisibleColumn())}getFirstPartiallyVisibleColumn(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleColumn()}getLastPartiallyVisibleColumn(){return hr(pr,this,mr).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleColumn())}}function mr(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 c=null;if(l){const e=i.TABLE.getBoundingClientRect(),t=this.dataAccessObject.rootWindow.document,r=t.documentElement.offsetWidth;c=Math.abs(e.right-r)}else{const e=Object(n["offset"])(i.wtRootElement);c=e.left}const u=Math.abs(Object(n["getScrollLeft"])(s,s));if(c>u){const t=Object(n["innerWidth"])(s);let i=a.getRowHeaderWidth();for(let n=1;n<=o;n++)if(i+=r.sumCellSizes(n-1,n),c+i-u>=t){e=n-2;break}}}return e}function Ar(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 c=i.getColumnHeaderHeight();for(let n=1;n<=a;n++)if(c+=t.sumCellSizes(n-1,n),s.top+c-l>=r){e=n-2;break}}}return e}var gr=fr,_r=r("0716"),vr=r("d852");function br(e,t,r){return(t=wr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wr(e){var t=yr(e,"string");return"symbol"==typeof t?t:t+""}function yr(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{get eventManager(){return new u["a"](this)}constructor(e,t){br(this,"wtTable",void 0),br(this,"wtScroll",void 0),br(this,"wtViewport",void 0),br(this,"wtOverlays",void 0),br(this,"selectionManager",void 0),br(this,"wtEvent",void 0),br(this,"guid","wt_"+Object(G["randomString"])()),br(this,"drawInterrupted",!1),br(this,"drawn",!1),br(this,"domBindings",void 0),br(this,"wtSettings",void 0),this.domBindings={rootTable:e,rootDocument:e.ownerDocument,rootWindow:e.ownerDocument.defaultView},this.wtSettings=t,this.wtScroll=new gr(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 _r["a"](e,t,this.wtSettings.getSetting("rtlMode"))}createCellRange(e,t,r){return new vr["a"](e,t,r,this.wtSettings.getSetting("rtlMode"))}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.drawInterrupted=!1,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 Cr(e,t,r){return(t=Sr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sr(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)}class xr extends Er{constructor(e,t,r){super(e,t),Cr(this,"cloneSource",void 0),Cr(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 pe(n,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager,r.event),this.findOriginalHeaders()}}function Tr(e,t,r){return(t=Or(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Or(e){var t=Nr(e,"string");return"symbol"==typeof t?t:t+""}function Nr(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 Rr{constructor(e,t,r,i,a){Tr(this,"wtSettings",null),Object(E["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:u}=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=u,this.trimmingContainer=Object(n["getTrimmingContainer"])(this.hider.parentNode.parentNode),this.needFullRender=this.shouldBeRendered(),this.clone=this.makeClone()}hasRenderingStateChanged(){return this.needFullRender!==this.shouldBeRendered()}updateStateOfRendering(e){"before"===e&&this.shouldBeRendered()?this.needFullRender=!0:"after"!==e||this.shouldBeRendered()||(this.needFullRender=!1)}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},c={start:this.getRelativeStartPosition(e),top:e.offsetTop};let u=null;return u=n?this.getRelativeCellPositionWithinWindow(a,i,c,l):this.getRelativeCellPositionWithinHolder(a,o,i,c,l),u}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===zt.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=qt.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(Ge["y"])()]),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 c=this.wtSettings.getSetting("preventOverflow");return!0===c||"horizontal"===c&&this.type===Ht||"vertical"===c&&this.type===Yt?this.mainTableScrollableElement=i:"hidden"===i.getComputedStyle(s).getPropertyValue("overflow")?this.mainTableScrollableElement=e.holder:this.mainTableScrollableElement=Object(n["getScrollableElement"])(e.TABLE),new xr(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];this.needFullRender&&this.clone.draw(e)}reset(){const e=this.clone.wtTable.holder,t=this.clone.wtTable.hider,r=e.style,n=t.style,i=e.parentNode.style;[r,n,i].forEach(e=>{e.width="",e.height=""})}isRtl(){return this.wtSettings.getSetting("rtlMode")}destroy(){this.clone.eventManager.destroy()}}const Lr=Object.freeze({width:"6px",height:"6px",borderWidth:"1px",borderStyle:"solid",borderColor:"#FFF"});function Ir(e,t,r){return(t=kr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kr(e){var t=Br(e,"string");return"symbol"==typeof t?t:t+""}function Br(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 Dr extends Rr{constructor(e,t,r,n){super(e,t,Ht,r,n),Ir(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 or(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderTopOverlay")}resetFixedPosition(){if(!this.needFullRender||!this.shouldBeRendered()||!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(){this.updateTrimmingContainer(),this.needFullRender&&(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(Lr.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"),c=0===l&&s.length>0&&!Object(n["hasClass"])(o.parentNode,"innerBorderTop")?1:0;let u=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");u+=this.sumCellSizes(0,e+1),u-=r.wtViewport.getViewportHeight()-this.sumCellSizes(n-t,n),u+=1,u+=c}else u+=this.sumCellSizes(i.getSetting("fixedRowsTop"),e);return u+=d,Object(n["getMaximumScrollTop"])(this.mainTableScrollableElement)===u-c&&c>0&&this.wot.wtOverlays.expandHiderVerticallyBy(c),this.setScrollPosition(u)}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{wtSettings:r}=this,i=this.wot.wtTable.holder.parentNode,a=r.getSetting("totalColumns"),o="horizontal"===r.getSetting("preventOverflow");a?Object(n["removeClass"])(i,"emptyColumns"):Object(n["addClass"])(i,"emptyColumns");let s=!1;if(!t&&!o){const t=r.getSetting("fixedRowsTop"),a=this.cachedFixedRowsTop!==t,o=r.getSetting("columnHeaders");if((a||0===t)&&o.length>0){const t=Object(n["hasClass"])(i,"innerBorderTop");this.cachedFixedRowsTop=r.getSetting("fixedRowsTop"),e||0===r.getSetting("totalRows")?(Object(n["addClass"])(i,"innerBorderTop"),s=!t):(Object(n["removeClass"])(i,"innerBorderTop"),s=t)}}return s}}const Fr="stickyRowsBottom",Pr={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(E["defineGetter"])(Pr,"MIXIN_NAME",Fr,{writable:!1,enumerable:!1});var jr=Pr;class Ur extends Zt{constructor(e,t,r,n){super(e,t,r,n,Vt)}}Object(E["mixin"])(Ur,jr),Object(E["mixin"])(Ur,ir);var Hr=Ur;function Vr(e,t,r){return(t=Yr(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yr(e){var t=Wr(e,"string");return"symbol"==typeof t?t:t+""}function Wr(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 Qr extends Rr{constructor(e,t,r,n){super(e,t,Vt,r,n),Vr(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 Hr(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderBottomOverlay")}resetFixedPosition(){if(!this.needFullRender||!this.shouldBeRendered()||!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(){this.updateTrimmingContainer(),this.needFullRender&&(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 c=Object(n["outerHeight"])(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(c=0),s.height=c+"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 zr="calculatedRows",qr={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(E["defineGetter"])(qr,"MIXIN_NAME",zr,{writable:!1,enumerable:!1});var Gr=qr;const Kr="stickyColumnsStart",Xr={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(E["defineGetter"])(Xr,"MIXIN_NAME",Kr,{writable:!1,enumerable:!1});var $r=Xr;class Zr extends Zt{constructor(e,t,r,n){super(e,t,r,n,Yt)}}Object(E["mixin"])(Zr,Gr),Object(E["mixin"])(Zr,$r);var Jr=Zr;class en extends Rr{constructor(e,t,r,n){super(e,t,Yt,r,n)}createTable(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Jr(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){const{wtTable:e}=this.wot;if(!this.needFullRender||!this.shouldBeRendered()||!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(){this.updateTrimmingContainer(),this.needFullRender&&(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(Lr.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 c=this.getTableParentOffset(),u=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&&(u=Object(n["getScrollbarWidth"])(this.domBindings.rootDocument)),t?(c+=this.sumCellSizes(0,e+1),c-=this.wot.wtViewport.getViewportWidth(),c+=l):c+=this.sumCellSizes(this.wtSettings.getSetting("fixedColumnsStart"),e),c+=u,Object(n["getMaximumScrollLeft"])(this.mainTableScrollableElement)===c-l&&l>0&&this.wot.wtOverlays.expandHiderHorizontallyBy(l),this.setScrollPosition(c)}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{wtSettings:t}=this,r=this.wot.wtTable.holder.parentNode,i=t.getSetting("rowHeaders"),a=t.getSetting("fixedColumnsStart"),o=t.getSetting("totalRows"),s="vertical"===t.getSetting("preventOverflow");o?Object(n["removeClass"])(r,"emptyRows"):Object(n["addClass"])(r,"emptyRows");let l=!1;if(!s)if(a&&!i.length)Object(n["addClass"])(r,"innerBorderLeft innerBorderInlineStart");else if(!a&&i.length){const t=Object(n["hasClass"])(r,"innerBorderInlineStart");e?(Object(n["addClass"])(r,"innerBorderLeft innerBorderInlineStart"),l=!t):(Object(n["removeClass"])(r,"innerBorderLeft innerBorderInlineStart"),l=t)}return l}}class tn extends Zt{constructor(e,t,r,n){super(e,t,r,n,Wt)}}Object(E["mixin"])(tn,tr),Object(E["mixin"])(tn,$r);var rn=tn;function nn(e,t,r){return(t=an(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function an(e){var t=on(e,"string");return"symbol"==typeof t?t:t+""}function on(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 sn extends Rr{constructor(e,t,r,n,i,a){super(e,t,Wt,r,n),nn(this,"topOverlay",void 0),nn(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 rn(...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 ln extends Zt{constructor(e,t,r,n){super(e,t,r,n,Qt)}}Object(E["mixin"])(ln,jr),Object(E["mixin"])(ln,$r);var cn=ln;class un extends Rr{constructor(e,t,r,n,i,a){super(e,t,Qt,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 cn(...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 dn(e,t,r){hn(e,t),t.set(e,r)}function hn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pn(e,t,r){return(t=fn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fn(e){var t=mn(e,"string");return"symbol"==typeof t?t:t+""}function mn(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 An(e,t,r){return e.set(_n(e,t),r),r}function gn(e,t){return e.get(_n(e,t))}function _n(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 vn=new WeakMap,bn=new WeakMap,wn=new WeakMap,yn=new WeakMap;class En{constructor(e,t,r,i,a,o){pn(this,"wot",null),dn(this,vn,[]),pn(this,"topOverlay",null),pn(this,"bottomOverlay",null),pn(this,"inlineStartOverlay",null),pn(this,"topInlineStartCornerOverlay",null),pn(this,"bottomInlineStartCornerOverlay",null),pn(this,"browserLineHeight",void 0),pn(this,"wtSettings",null),dn(this,bn,!1),dn(this,wn,0),dn(this,yn,null),pn(this,"resizeObserver",new ResizeObserver(e=>{Object(X["requestAnimationFrame"])(()=>{Array.isArray(e)&&e.length&&(An(wn,this,gn(wn,this)+1),100===gn(wn,this)&&(Object(C["b"])("The ResizeObserver callback was fired too many times in direct succession.\nThis may be due to an infinite loop caused by setting a dynamic height/width (for example, with the `dvh` units) to a Handsontable container's parent. \nThe observer will be disconnected."),this.resizeObserver.disconnect()),null!==gn(yn,this)&&clearTimeout(gn(yn,this)),An(yn,this,setTimeout(()=>{An(wn,this,0)},100)),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 c="hidden"===l.getComputedStyle(o.wtRootElement.parentNode).getPropertyValue("overflow");this.scrollableElement=c?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=[...gn(vn,this)];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 Dr(...e),this.bottomOverlay=new Qr(...e),this.inlineStartOverlay=new en(...e),this.topInlineStartCornerOverlay=new sn(...e,this.topOverlay,this.inlineStartOverlay),this.bottomInlineStartCornerOverlay=new un(...e,this.bottomOverlay,this.inlineStartOverlay),An(vn,this,[this.topOverlay,this.bottomOverlay,this.inlineStartOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay])}beforeDraw(){An(bn,this,gn(vn,this).reduce((e,t)=>t.hasRenderingStateChanged()||e,!1)),gn(vn,this).forEach(e=>e.updateStateOfRendering("before"))}afterDraw(){this.syncScrollWithMaster(),gn(vn,this).forEach(e=>{const t=e.hasRenderingStateChanged();e.updateStateOfRendering("after"),t&&!e.needFullRender&&e.reset()})}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 c=[this.topOverlay,this.bottomOverlay,this.inlineStartOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];let u;c.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(u),u=setTimeout(()=>{this.wtSettings.getSetting("onWindowResize"),An(wn,this,0)},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)||this.scrollableElement===r)return;const l=this.translateMouseWheelToScroll(e);(t||this.scrollableElement!==r&&l)&&e.preventDefault()}onKeyDown(e){this.keyPressed=Object(s["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(){if(!gn(bn,this))return;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),An(bn,this,!1)}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(){const{wtViewport:e}=this.wot,{wtTable:t}=this,{rootWindow:r}=this.domBindings,n=this.scrollableElement===r,i=this.wtSettings.getSetting("totalColumns"),a=this.wtSettings.getSetting("totalRows"),o=e.getRowHeaderWidth(),s=e.getColumnHeaderHeight(),l=s+this.topOverlay.sumCellSizes(0,a)+1,c=o+this.inlineStartOverlay.sumCellSizes(0,i),u=t.hider,d=u.style,h=()=>!n&&this.scrollableElement.scrollTop>Math.max(0,l-t.holder.clientHeight),p=()=>!n&&this.scrollableElement.scrollLeft>Math.max(0,c-t.holder.clientWidth),f=h()?1:0,m=p()?1:0;if(d.width=c+m+"px",d.height=l+f+"px",this.scrollbarSize>0){const{scrollHeight:e,scrollWidth:r}=t.wtRootElement,{scrollHeight:n,scrollWidth:i}=t.holder;this.hasScrollbarRight=e<n,this.hasScrollbarBottom=r<i,this.hasScrollbarRight&&t.hider.scrollWidth+this.scrollbarSize>r?this.hasScrollbarBottom=!0:this.hasScrollbarBottom&&t.hider.scrollHeight+this.scrollbarSize>e&&(this.hasScrollbarRight=!0)}this.topOverlay.adjustElementsSize(),this.inlineStartOverlay.adjustElementsSize(),this.bottomOverlay.adjustElementsSize()}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(Y["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(Y["arrayEach"])(t,t=>{t&&(t.clone.wtTable.TABLE.className=e.className)})}}var Cn=En;function Sn(e,t,r){return(t=Mn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mn(e){var t=xn(e,"string");return"symbol"==typeof t?t:t+""}function xn(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 Tn{constructor(e){Sn(this,"settings",{}),Sn(this,"defaults",Object.freeze(this.getDefaults())),Object(E["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(){},rowHeightByOverlayName(){},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(E["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 On extends Zt{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 c=e.offsetWidth,u=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&&(u=0)}u=Math.min(u,l),o.height="auto"===i?"auto":u+"px",c=Math.min(c,s),o.width=c+"px",o.overflow="",this.hasTableHeight="auto"===o.height||u>0,this.hasTableWidth=c>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(E["mixin"])(On,Gr),Object(E["mixin"])(On,ir);var Nn=On;function Rn(e,t,r){return(t=Ln(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ln(e){var t=In(e,"string");return"symbol"==typeof t?t:t+""}function In(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 kn{constructor(){Rn(this,"count",0),Rn(this,"startRow",0),Rn(this,"endRow",0),Rn(this,"startPosition",0),Rn(this,"isVisibleInTrimmingContainer",!0)}initialize(e){let{totalRows:t}=e;this.count=t,this.endRow=this.count-1}process(){}finalize(){}}r("33d1"),r("ea98");function Bn(e,t,r){return(t=Dn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dn(e){var t=Fn(e,"string");return"symbol"==typeof t?t:t+""}function Fn(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(){Bn(this,"count",0),Bn(this,"startRow",null),Bn(this,"endRow",null),Bn(this,"startPosition",null),Bn(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedHeight:r,zeroBasedScrollOffset:n,innerViewportHeight:i}=t;r<=n&&(this.startRow=e),r>=n&&r<=i&&null===this.startRow&&(this.startRow=e),this.endRow=e}finalize(e){var t;const{scrollOffset:r,viewportHeight:n,horizontalScrollbarHeight:i,totalRows:a,needReverse:o,startPositions:s,rowHeight:l}=e;if(this.endRow===a-1&&o){this.startRow=this.endRow;while(this.startRow>0){const e=s[this.endRow]+l-s[this.startRow-1];if(this.startRow-=1,e>=n-i)break}}this.startPosition=null!==(t=s[this.startRow])&&void 0!==t?t:null;const c=r+n-i;c<0||r>s.at(-1)+l?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,a<this.endRow&&(this.endRow=a-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}class jn extends Pn{finalize(e){var t;super.finalize(e);const{overrideFn:r,totalRows:n,startPositions:i}=e;null!==this.startRow&&"function"===typeof r&&r(this),this.startRow<0&&(this.startRow=0),this.startPosition=null!==(t=i[this.startRow])&&void 0!==t?t:null,n<this.endRow&&(this.endRow=n-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}function Un(e,t,r){return(t=Hn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hn(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 Yn{constructor(){Un(this,"count",0),Un(this,"startRow",null),Un(this,"endRow",null),Un(this,"startPosition",null),Un(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedHeight:r,zeroBasedScrollOffset:n,innerViewportHeight:i,rowHeight:a}=t;r>=n&&r+a<=i&&(null===this.startRow&&(this.startRow=e),this.endRow=e)}finalize(e){var t;const{scrollOffset:r,viewportHeight:n,horizontalScrollbarHeight:i,totalRows:a,needReverse:o,startPositions:s,rowHeight:l}=e;if(this.endRow===a-1&&o){this.startRow=this.endRow;while(this.startRow>0){const e=s[this.endRow]+l-s[this.startRow-1];if(e<=n-i&&(this.startRow-=1),e>=n-i)break}}this.startPosition=null!==(t=s[this.startRow])&&void 0!==t?t:null;const c=r+n-i,u=null===this.startRow?0:e.getRowHeight(this.startRow);c<u||r>s.at(-1)?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,a<this.endRow&&(this.endRow=a-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}function Wn(e,t,r){return(t=Qn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qn(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)}class qn{constructor(){Wn(this,"count",0),Wn(this,"startColumn",0),Wn(this,"endColumn",0),Wn(this,"startPosition",0),Wn(this,"isVisibleInTrimmingContainer",!0)}initialize(e){let{totalColumns:t}=e;this.count=t,this.endColumn=this.count-1}process(){}finalize(){}}function Gn(e,t,r){return(t=Kn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kn(e){var t=Xn(e,"string");return"symbol"==typeof t?t:t+""}function Xn(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 $n{constructor(){Gn(this,"count",0),Gn(this,"startColumn",null),Gn(this,"endColumn",null),Gn(this,"startPosition",null),Gn(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedWidth:r,zeroBasedScrollOffset:n,viewportWidth:i}=t;r<=n&&(this.startColumn=e);const a=n>0?i+1:i;r>=n&&r<=n+a&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=e)),this.endColumn=e}finalize(e){var t;const{scrollOffset:r,viewportWidth:n,inlineStartOffset:i,zeroBasedScrollOffset:a,totalColumns:o,needReverse:s,startPositions:l,columnWidth:c}=e;if(this.endColumn===o-1&&s){this.startColumn=this.endColumn;while(this.startColumn>0){const e=l[this.endColumn]+c-l[this.startColumn-1];if(this.startColumn-=1,e>n)break}}this.startPosition=null!==(t=l[this.startColumn])&&void 0!==t?t:null;const u=a>0?n+1:n,d=r+n-u;d<-1*i||r>l.at(-1)+c||-1*r-n>0?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,o<this.endColumn&&(this.endColumn=o-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}class Zn extends $n{finalize(e){var t;super.finalize(e);const{overrideFn:r,totalColumns:n,startPositions:i}=e;null!==this.startColumn&&"function"===typeof r&&r(this),this.startColumn<0&&(this.startColumn=0),this.startPosition=null!==(t=i[this.startColumn])&&void 0!==t?t:null,n<this.endColumn&&(this.endColumn=n-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}function Jn(e,t,r){return(t=ei(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){var t=ti(e,"string");return"symbol"==typeof t?t:t+""}function ti(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 ri{constructor(){Jn(this,"count",0),Jn(this,"startColumn",null),Jn(this,"endColumn",null),Jn(this,"startPosition",null),Jn(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedWidth:r,zeroBasedScrollOffset:n,viewportWidth:i,columnWidth:a}=t,o=n>0?i+1:i;r>=n&&r+a<=n+o&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=e),this.endColumn=e)}finalize(e){var t;const{scrollOffset:r,viewportWidth:n,inlineStartOffset:i,zeroBasedScrollOffset:a,totalColumns:o,needReverse:s,startPositions:l,columnWidth:c}=e;if(this.endColumn===o-1&&s){this.startColumn=this.endColumn;while(this.startColumn>0){const e=l[this.endColumn]+c-l[this.startColumn-1];if(e<=n&&(this.startColumn-=1),e>=n)break}}this.startPosition=null!==(t=l[this.startColumn])&&void 0!==t?t:null;const u=a>0?n+1:n,d=r+n-u,h=null===this.startColumn?0:e.getColumnWidth(this.startColumn);d<-1*i||r>l.at(-1)||-1*r-n>-1*h?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,o<this.endColumn&&(this.endColumn=o-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}var ni=r("eb36");class ii{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.rowsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllRows")?new kn:new jn],["fullyVisible",()=>new Yn],["partiallyVisible",()=>new Pn]]),this.columnsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllColumns")?new qn:new Zn],["fullyVisible",()=>new ri],["partiallyVisible",()=>new $n]]),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"),c=this.wtTable.TABLE.getBoundingClientRect(),u=l?c.right-a:c.left,d=a-u;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]:["rendered","fullyVisible","partiallyVisible"];const{wtSettings:t,wtTable:r}=this;let i,a,o=this.getViewportHeight();this.rowHeaderWidth=NaN;let s=this.dataAccessObject.topScrollPosition-this.dataAccessObject.topParentOffset;const l=t.getSetting("fixedRowsTop"),c=t.getSetting("fixedRowsBottom"),u=t.getSetting("totalRows");return l&&s>=0&&(a=this.dataAccessObject.topOverlay.sumCellSizes(0,l),s+=a,o-=a),c&&this.dataAccessObject.bottomOverlay.clone&&(a=this.dataAccessObject.bottomOverlay.sumCellSizes(u-c,u),o-=a),i=r.holder.clientHeight===r.holder.offsetHeight?0:Object(n["getScrollbarWidth"])(this.domBindings.rootDocument),new ni["b"]({calculationTypes:e.map(e=>[e,this.rowsCalculatorTypes.get(e)()]),viewportHeight:o,scrollOffset:s,totalRows:t.getSetting("totalRows"),rowHeightFn:e=>r.getRowHeight(e),overrideFn:t.getSettingPure("viewportRowCalculatorOverride"),horizontalScrollbarHeight:i})}createColumnsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["rendered","fullyVisible","partiallyVisible"];const{wtSettings:t,wtTable:r}=this;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 _t["b"]({calculationTypes:e.map(e=>[e,this.columnsCalculatorTypes.get(e)()]),viewportWidth:i,scrollOffset:a,totalColumns:t.getSetting("totalColumns"),columnWidthFn:e=>r.getColumnWidth(e),overrideFn:t.getSettingPure("viewportColumnCalculatorOverride"),inlineStartOffset:this.dataAccessObject.inlineStartParentOffset})}createCalculators(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,r=this.createRowsCalculator(),n=this.createColumnsCalculator();if(e&&!t.getSetting("renderAllRows")){const t=r.getResultsFor("fullyVisible");e=this.areAllProposedVisibleRowsAlreadyRendered(t)}if(e&&!t.getSetting("renderAllColumns")){const t=n.getResultsFor("fullyVisible");e=this.areAllProposedVisibleColumnsAlreadyRendered(t)}return e||(this.rowsRenderCalculator=r.getResultsFor("rendered"),this.columnsRenderCalculator=n.getResultsFor("rendered")),this.rowsVisibleCalculator=r.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=n.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=r.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=n.getResultsFor("partiallyVisible"),e}createVisibleCalculators(){const e=this.createRowsCalculator(["fullyVisible","partiallyVisible"]),t=this.createColumnsCalculator(["fullyVisible","partiallyVisible"]);this.rowsVisibleCalculator=e.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=t.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=e.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=t.getResultsFor("partiallyVisible")}areAllProposedVisibleRowsAlreadyRendered(e){if(!this.rowsVisibleCalculator)return!1;let{startRow:t,endRow:r}=e;if(null===t&&null===r){if(!e.isVisibleInTrimmingContainer)return!0;t=this.rowsPartiallyVisibleCalculator.startRow,r=this.rowsPartiallyVisibleCalculator.endRow}const{startRow:n,endRow:i}=this.rowsRenderCalculator;return!(t<n||t===n&&t>0)&&!(r>i||r===i&&r<this.wtSettings.getSetting("totalRows")-1)}areAllProposedVisibleColumnsAlreadyRendered(e){if(!this.columnsVisibleCalculator)return!1;let{startColumn:t,endColumn:r}=e;if(null===t&&null===r){if(!e.isVisibleInTrimmingContainer)return!0;t=this.columnsPartiallyVisibleCalculator.startColumn,r=this.columnsPartiallyVisibleCalculator.endColumn}const{startColumn:n,endColumn:i}=this.columnsRenderCalculator;return!(t<n||t===n&&t>0)&&!(r>i||r===i&&r<this.wtSettings.getSetting("totalColumns")-1)}resetHasOversizedColumnHeadersMarked(){Object(E["objectEach"])(this.hasOversizedColumnHeadersMarked,(e,t,r)=>{r[t]=void 0})}}var ai=ii;r("4069");function oi(e,t){li(e,t),t.add(e)}function si(e,t,r){li(e,t),t.set(e,r)}function li(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ci(e,t){return e.get(di(e,t))}function ui(e,t,r){return e.set(di(e,t),r),r}function di(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 hi=new WeakMap,pi=new WeakMap,fi=new WeakSet;class mi{constructor(){oi(this,fi),si(this,hi,void 0),si(this,pi,void 0)}setActiveOverlay(e){return ui(pi,this,e),this}setActiveSelection(e){return ui(hi,this,e),this}scan(){const e=ci(hi,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]=ci(hi,this).getCorners(),{wtTable:a}=ci(pi,this),o=a.getRenderedColumnsCount(),s=a.getColumnHeadersCount();let l=0;for(let c=-a.getRowHeadersCount();c<o;c++){const o=a.columnFilter.renderedToSource(c);if(!(o<r||o>i)){for(let c=-s;c<0;c++){if(c<t||c>n)continue;const u=c+s;let d=a.getColumnHeader(o,u);const h=ci(pi,this).getSetting("onBeforeHighlightingColumnHeader",o,u,{selectionType:ci(hi,this).settings.selectionType,columnCursor:l,selectionWidth:i-r+1});null!==h&&(h!==o&&(d=a.getColumnHeader(h,u)),e(d))}l+=1}}}scanRowsInHeadersRange(e){const[t,r,n,i]=ci(hi,this).getCorners(),{wtTable:a}=ci(pi,this),o=a.getRenderedRowsCount(),s=a.getRowHeadersCount();let l=0;for(let c=-a.getColumnHeadersCount();c<o;c++){const o=a.rowFilter.renderedToSource(c);if(!(o<t||o>n)){for(let c=-s;c<0;c++){if(c<r||c>i)continue;const u=c+s;let d=a.getRowHeader(o,u);const h=ci(pi,this).getSetting("onBeforeHighlightingRowHeader",o,u,{selectionType:ci(hi,this).settings.selectionType,rowCursor:l,selectionHeight:n-t+1});null!==h&&(h!==o&&(d=a.getRowHeader(h,u)),e(d))}l+=1}}}scanCellsRange(e){const[t,r,i,a]=ci(hi,this).getCorners(),{wtTable:o}=ci(pi,this);di(fi,this,Ai).call(this,(s,l)=>{if(s>=t&&s<=i&&l>=r&&l<=a){const t=o.getCell(ci(pi,this).createCellCoords(s,l)),r=ci(pi,this).getSetting("onAfterDrawSelection",s,l,ci(hi,this).settings.layerLevel);"string"===typeof r&&Object(n["addClass"])(t,r),e(t)}})}scanRowsInCellsRange(e){const[t,,r]=ci(hi,this).getCorners(),{wtTable:n}=ci(pi,this);di(fi,this,Ai).call(this,(i,a)=>{if(i>=t&&i<=r){const t=n.getCell(ci(pi,this).createCellCoords(i,a));e(t)}})}scanColumnsInCellsRange(e){const[,t,,r]=ci(hi,this).getCorners(),{wtTable:n}=ci(pi,this);di(fi,this,Ai).call(this,(i,a)=>{if(a>=t&&a<=r){const t=n.getCell(ci(pi,this).createCellCoords(i,a));e(t)}})}}function Ai(e){const{wtTable:t}=ci(pi,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 gi{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=Lr,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(l["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(E["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(E["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:c,bottom:u,bottomHitArea:d}=this.selectionHandles.styles,h=parseInt(l.borderWidth,10),p=parseInt(l.width,10),f=parseInt(c.width,10),m=this.wot.wtTable.getWidth(),A=this.wot.wtTable.getHeight();l.top=parseInt(r-p-1,10)+"px",l[s]=parseInt(n-p-1,10)+"px",c.top=parseInt(r-f/4*3,10)+"px",c[s]=parseInt(n-f/4*3,10)+"px";const g=Math.min(parseInt(n+i,10),m-p-2*h),_=Math.min(parseInt(n+i-f/4,10),m-f-2*h);u[s]=g+"px",d[s]=_+"px";const v=Math.min(parseInt(r+a,10),A-p-2*h),b=Math.min(parseInt(r+a-f/4,10),A-f-2*h);u.top=v+"px",d.top=b+"px",this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(l.display="block",c.display="block",this.isPartRange(e,t)?(u.display="none",d.display="none"):(u.display="block",d.display="block")):(l.display="none",u.display="none",c.display="none",d.display="none"),e===this.wot.wtSettings.getSetting("fixedRowsTop")||t===this.wot.wtSettings.getSetting("fixedColumnsStart")?(l.zIndex="9999",c.zIndex="9999"):(l.zIndex="",c.zIndex="")}appear(e){if(this.disabled)return;const{wtTable:t,rootDocument:r,rootWindow:i}=this.wot;let a,s,l,c,u,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,u=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]){c=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!==c,A=m?t.getCell(this.wot.createCellCoords(s,c)):f,g=Object(n["offset"])(f),_=m?Object(n["offset"])(A):g,v=Object(n["offset"])(t.TABLE),b=Object(n["outerWidth"])(t.TABLE),w=g.top,y=g.left,E=this.wot.wtSettings.getSetting("rtlMode");let C=0,S=0;if(E){const e=Object(n["outerWidth"])(f),t=i.innerWidth-v.left-b;S=y+e-_.left,C=i.innerWidth-y-e-t-1}else S=_.left+Object(n["outerWidth"])(A)-y,C=y-v.left-1;if(this.isEntireColumnSelected(a,s)){const e=this.getDimensionsFromHeader("columns",l,c,u,v);let t=null;e&&([t,C,S]=e),t&&(f=t)}let M=w-v.top-1,x=_.top+Object(n["outerHeight"])(A)-w;if(this.isEntireRowSelected(l,c)){const e=this.getDimensionsFromHeader("rows",a,s,d,v);let t=null;e&&([t,M,x]=e),t&&(f=t)}const T=Object(n["getComputedStyle"])(f,i);parseInt(T.borderTopWidth,10)>0&&(M+=1,x=x>0?x-1:0),parseInt(T[E?"borderRightWidth":"borderLeftWidth"],10)>0&&(C+=1,S=S>0?S-1:0);const O=E?"right":"left";this.topStyle.top=M+"px",this.topStyle[O]=C+"px",this.topStyle.width=S+"px",this.topStyle.display="block",this.startStyle.top=M+"px",this.startStyle[O]=C+"px",this.startStyle.height=x+"px",this.startStyle.display="block";const N=Math.floor(this.settings.border.width/2);this.bottomStyle.top=M+x-N+"px",this.bottomStyle[O]=C+"px",this.bottomStyle.width=S+"px",this.bottomStyle.display="block",this.endStyle.top=M+"px",this.endStyle[O]=C+S-N+"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,c);let[I,k]=[s,c];if(L&&Array.isArray(L)&&([,,I,k]=L),Object(o["isMobileBrowser"])()||!R||this.isPartRange(I,k))this.cornerStyle.display="none";else{this.cornerStyle.top=M+x+this.cornerCenterPointOffset-1+"px",this.cornerStyle[O]=C+S+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(c===this.wot.getSetting("totalColumns")-1){const t=a?A.getBoundingClientRect().left:A.offsetLeft;let r=!1,i=0;E?(i=t-parseInt(this.cornerDefaultStyle.width,10)/2,r=i<0):(i=t+Object(n["outerWidth"])(A)+parseInt(this.cornerDefaultStyle.width,10)/2,r=i>=Object(n["innerWidth"])(e)),r&&(this.cornerStyle[O]=Math.floor(C+S+this.cornerCenterPointOffset-o)+"px",this.cornerStyle[E?"borderLeftWidth":"borderRightWidth"]=0)}if(s===this.wot.getSetting("totalRows")-1){const t=a?A.getBoundingClientRect().top:A.offsetTop,r=t+Object(n["outerHeight"])(A)+parseInt(this.cornerDefaultStyle.height,10)/2,i=r>=Object(n["innerHeight"])(e);i&&(this.cornerStyle.top=Math.floor(M+x+this.cornerCenterPointOffset-l)+"px",this.cornerStyle.borderBottomWidth=0)}this.cornerStyle.display="block"}Object(o["isMobileBrowser"])()&&this.instance.getSetting("isDataViewInstance")&&this.updateMultipleSelectionHandlesPosition(s,c,M,C,S,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,c=null,u=null,d=null,h=null,p=null,f=null,m=null;switch(e){case"rows":l=function(){return o.getRowHeader(...arguments)},c=function(){return Object(n["outerHeight"])(...arguments)},u="ht__selection--rows",p="top";break;case"columns":l=function(){return o.getColumnHeader(...arguments)},c=function(){return Object(n["outerWidth"])(...arguments)},u="ht__selection--columns",p="left";break;default:}if(s.classList.contains(u)){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]+c(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 _i=gi;function vi(e,t){wi(e,t),t.add(e)}function bi(e,t,r){wi(e,t),t.set(e,r)}function wi(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function yi(e,t){return e.get(Ci(e,t))}function Ei(e,t,r){return e.set(Ci(e,t),r),r}function Ci(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 Si=new WeakMap,Mi=new WeakMap,xi=new WeakMap,Ti=new WeakMap,Oi=new WeakMap,Ni=new WeakMap,Ri=new WeakSet;class Li{constructor(e){vi(this,Ri),bi(this,Si,void 0),bi(this,Mi,void 0),bi(this,xi,new mi),bi(this,Ti,new WeakMap),bi(this,Oi,new WeakSet),bi(this,Ni,new Map),Ei(Mi,this,e)}setActiveOverlay(e){return Ei(Si,this,e),yi(xi,this).setActiveOverlay(yi(Si,this)),yi(Ti,this).has(yi(Si,this))||yi(Ti,this).set(yi(Si,this),new Set),this}getFocusSelection(){return null!==yi(Mi,this)?yi(Mi,this).getFocus():null}getAreaSelection(){return null!==yi(Mi,this)?yi(Mi,this).createLayeredArea():null}getBorderInstance(e){if(!e.settings.border)return null;if(yi(Ni,this).has(e)){const t=yi(Ni,this).get(e);if(t.has(yi(Si,this)))return t.get(yi(Si,this));const r=new _i(yi(Si,this),e.settings);return t.set(yi(Si,this),r),r}const t=new _i(yi(Si,this),e.settings);return yi(Ni,this).set(e,new Map([[yi(Si,this),t]])),t}getBorderInstances(e){var t,r;return Array.from(null!==(t=null===(r=yi(Ni,this).get(e))||void 0===r?void 0:r.values())&&void 0!==t?t:[])}destroyBorders(e){yi(Ni,this).get(e).forEach(e=>e.destroy()),yi(Ni,this).delete(e)}render(e){if(null===yi(Mi,this))return;e&&Ci(Ri,this,Ii).call(this);const t=Array.from(yi(Mi,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;yi(Oi,this).has(e)||(yi(Oi,this).add(e),e.addLocalHook("destroy",()=>this.destroyBorders(e)));const c=this.getBorderInstance(e);if(e.isEmpty()){null===c||void 0===c||c.disappear();continue}if(a){const t=yi(xi,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 u=e.getCorners();yi(Si,this).getSetting("onBeforeDrawBorders",u,l),null===c||void 0===c||c.appear(u)}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=>yi(Ti,this).get(yi(Si,this)).add(e)),Object(n["addClass"])(t,i),"TD"===t.nodeName&&Array.isArray(null===(r=yi(Mi,this).options)||void 0===r?void 0:r.cellAttributes)&&Object(n["setAttribute"])(t,yi(Mi,this).options.cellAttributes)}),Array.from(i.keys()).forEach(e=>{Object(n["setAttribute"])(e,[...i.get(e)])})}}function Ii(){const e=yi(Ti,this).get(yi(Si,this)),t=yi(Si,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=yi(Si,this).wtTable.TABLE.querySelectorAll("."+e);let a=[];Array.isArray(null===(t=yi(Mi,this).options)||void 0===t?void 0:t.cellAttributes)&&(a=yi(Mi,this).options.cellAttributes.map(e=>e[0])),Array.isArray(null===(r=yi(Mi,this).options)||void 0===r?void 0:r.headerAttributes)&&(a=[...a,...yi(Mi,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 ki extends Er{constructor(e,t){super(e,new Tn(t));const r=this.wtSettings.getSetting("facade",this);this.wtTable=new Nn(this.getTableDao(),r,this.domBindings,this.wtSettings),this.wtViewport=new ai(this.getViewportDao(),this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.selectionManager=new Li(this.wtSettings.getSetting("selections")),this.wtEvent=new pe(r,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager),this.wtOverlays=new Cn(this,r,this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.exportSettingsAsClassNames(),this.findOriginalHeaders()}exportSettingsAsClassNames(){const e={rowHeaders:"htRowHeaders",columnHeaders:"htColumnHeaders"},t=[],r=[];Object(E["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)}getOverlayByName(e){var t;if(!zt.includes(e))return null;const r=e.replace(/_([a-z])/g,e=>e[1].toUpperCase());return null!==(t=this.wtOverlays[r+"Overlay"])&&void 0!==t?t:null}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 Bi{constructor(e){e instanceof Er?this._wot=e:this._initFromSettings(e)}_initFromSettings(e){e.facade=e=>{const t=new Bi(e);return()=>t},this._wot=new ki(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"}getOverlayByName(e){return this._wot.getOverlayByName(e)}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 Di(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,c=a.isSelectedByCorner(),u=a.isSelectedByRowHeader();if(a.markSource("mouse"),t&&l)i.row>=0&&i.col>=0&&!o.cell?a.setRangeEnd(i):(c||u)&&i.row>=0&&i.col>=0&&!o.cell?a.setRangeEnd(s(i.row,i.col)):c&&i.row<0&&!o.column?a.setRangeEnd(s(l.to.row,i.col)):u&&i.col<0&&!o.row?a.setRangeEnd(s(i.row,l.to.col)):(!c&&!u&&i.col<0||c&&i.col<0)&&!o.row?a.selectRows(Math.max(l.from.row,0),i.row,i.col):(!c&&!u&&i.row<0||u&&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 Fi(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(),c=n.tableProps.countRows();n.markSource("mouse"),s&&!i.column?n.setRangeEnd(a(c-1,r.col)):o&&!i.row?n.setRangeEnd(a(r.row,l-1)):i.cell||n.setRangeEnd(r),n.markEndSource()}const Pi=new Map([["mousedown",Di],["mouseover",Fi],["touchstart",Di]]);function ji(e,t){let{coords:r,selection:n,controller:i,cellCoordsFactory:a}=t;Pi.get(e.type)({coords:r,selection:n,controller:i,cellCoordsFactory:a,isShiftKey:e.shiftKey,isLeftClick:Object(l["isLeftClick"])(e)||"touchstart"===e.type,isRightClick:Object(l["isRightClick"])(e)})}const Ui=new WeakMap,Hi=Symbol("rootInstance");function Vi(e){Ui.set(e,!0)}function Yi(e){return e===Hi}function Wi(e){return Ui.has(e)}function Qi(e,t){qi(e,t),t.add(e)}function zi(e,t,r){qi(e,t),t.set(e,r)}function qi(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Gi(e,t,r){return(t=Ki(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){var t=Xi(e,"string");return"symbol"==typeof t?t:t+""}function Xi(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 $i(e,t){return e.get(Ji(e,t))}function Zi(e,t,r){return e.set(Ji(e,t),r),r}function Ji(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,ta=new WeakMap,ra=new WeakMap,na=new WeakMap,ia=new WeakMap,aa=new WeakMap,oa=new WeakMap,sa=new WeakSet;class la{constructor(e){Qi(this,sa),Gi(this,"hot",void 0),Gi(this,"eventManager",void 0),Gi(this,"settings",void 0),Gi(this,"THEAD",void 0),Gi(this,"TBODY",void 0),Gi(this,"_wt",void 0),Gi(this,"activeWt",void 0),zi(this,ea,0),zi(this,ta,0),Gi(this,"postponedAdjustElementsSize",!1),zi(this,ra,!1),zi(this,na,void 0),zi(this,ia,void 0),zi(this,aa,0),zi(this,oa,0),this.hot=e,this.eventManager=new u["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(){this.hot.isRenderSuspended()?this.postponedAdjustElementsSize=!0:this._wt.wtOverlays.adjustElementsSize()}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"),Zi(ia,this,t.createElement("TABLE")),Object(n["addClass"])($i(ia,this),"htCore"),this.hot.getSettings().tableClassName&&Object(n["addClass"])($i(ia,this),this.hot.getSettings().tableClassName),this.settings.ariaTags&&(Object(n["setAttribute"])($i(ia,this),[Object(Ge["y"])()]),Object(n["setAttribute"])(e,[Object(Ge["N"])(),Object(Ge["C"])(-1),Object(Ge["e"])(this.hot.countCols()),Object(Ge["v"])()])),this.THEAD=t.createElement("THEAD"),$i(ia,this).appendChild(this.THEAD),this.TBODY=t.createElement("TBODY"),$i(ia,this).appendChild(this.TBODY),this.hot.table=$i(ia,this),this.hot.container.insertBefore($i(ia,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=>{Zi(ra,this,!0),this.isTextSelectionAllowed(e.target)||(Object(n["clearTextSelection"])(i),e.preventDefault(),i.focus())}),this.eventManager.addEventListener(e,"mouseup",()=>{Zi(ra,this,!1)}),this.eventManager.addEventListener(e,"mousemove",e=>{$i(ra,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(l["isLeftClick"])(i)&&r.finish(),Zi(na,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(l["isRightClick"])(i))||this.hot.unlisten()}),this.eventManager.addEventListener(a,"contextmenu",e=>{r.isInProgress()&&Object(l["isRightClick"])(e)&&(r.finish(),Zi(na,this,!1))}),this.eventManager.addEventListener(a,"touchend",()=>{r.isInProgress()&&r.finish(),Zi(na,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($i(na,this)||!e||!this.hot.view)return;const{holder:c}=this._wt.wtTable;if(l===c){const e=Object(n["getScrollbarWidth"])(t);if(t.elementFromPoint(o+e,s)!==c||t.elementFromPoint(o,s+e)!==c)return}else while(l!==a){if(null===l){if(r.isTargetWebComponent)break;return}if(l===e)return;l=l.parentNode}const u="function"===typeof this.settings.outsideClickDeselects?this.settings.outsideClickDeselects(i):this.settings.outsideClickDeselects;u?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($i(ia,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:$i(ia,this),isDataViewInstance:()=>Wi(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),Zi(ta,this,e.length),this.hot.getSettings().ariaTags&&Ji(sa,this,ca).call(this)===this.hot.countCols()&&Ji(sa,this,ua).call(this,$i(ta,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),Zi(ea,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)},rowHeightByOverlayName:(e,t)=>{const r=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e),n=null===r?e:r;return this.hot.runHooks("modifyRowHeightByOverlayName",this.hot.getRowHeight(n),n,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),c=this.hot.colToProp(s);let u=this.hot.getDataAtRowProp(o,c);this.hot.hasHook("beforeValueRender")&&(u=this.hot.runHooks("beforeValueRender",u,l)),this.hot.runHooks("beforeRenderer",r,n,i,c,u,l),this.hot.getCellRenderer(l)(this.hot,r,n,i,c,u,l),this.hot.runHooks("afterRenderer",r,n,i,c,u,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,Zi(na,this,!0),this.hot.runHooks("beforeOnCellMouseDown",e,i,r,a),Object(l["isImmediatePropagationStopped"])(e)||(ji(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,Zi(na,this,!1),this.hot.selection.isInProgress()&&this.hot.selection.finish(),this.hot.runHooks("beforeOnCellContextMenu",e,i,r),Object(l["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(l["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(l["isImmediatePropagationStopped"])(e)||($i(na,this)&&ji(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(l["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 Bi(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._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 $i(na,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;const a=()=>{const t=e>=0?this.hot.getColumnMeta(e).headerClassName:null;return t?t.split(" "):[]};if(t.firstChild){const o=t.firstChild;Object(n["hasClass"])(o,"relative")?(this.updateCellHeader(o.querySelector(".colHeader"),e,r,i),o.className="",Object(n["addClass"])(o,["relative",...a()])):(Object(n["empty"])(t),this.appendColHeader(e,t,r,i))}else{const{rootDocument:o}=this.hot,s=o.createElement("div"),l=o.createElement("span"),c=a();s.classList.add("relative",...c),l.className="colHeader",this.settings.ariaTags&&(Object(n["setAttribute"])(s,...Object(Ge["y"])()),Object(n["setAttribute"])(l,...Object(Ge["y"])())),this.updateCellHeader(l,e,r,i),s.appendChild(l),t.appendChild(s)}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){Zi(aa,this,e),Zi(oa,this,t)}getLastSize(){return{width:$i(aa,this),height:$i(oa,this)}}getFirstRenderedVisibleRow(){return this._wt.wtViewport.rowsRenderCalculator?this.hot.rowIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getFirstRenderedRow(),1):null}getLastRenderedVisibleRow(){return this._wt.wtViewport.rowsRenderCalculator?this.hot.rowIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getLastRenderedRow(),-1):null}getFirstRenderedVisibleColumn(){return this._wt.wtViewport.columnsRenderCalculator?this.hot.columnIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getFirstRenderedColumn(),1):null}getLastRenderedVisibleColumn(){return this._wt.wtViewport.columnsRenderCalculator?this.hot.columnIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getLastRenderedColumn(),-1):null}getFirstFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstVisibleRow())}getLastFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastVisibleRow())}getFirstFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstVisibleColumn())}getLastFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastVisibleColumn())}getFirstPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstPartiallyVisibleRow())}getLastPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastPartiallyVisibleRow())}getFirstPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstPartiallyVisibleColumn())}getLastPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastPartiallyVisibleColumn())}getColumnHeadersCount(){return $i(ea,this)}getRowHeadersCount(){return $i(ta,this)}getViewportWidth(){return this._wt.wtViewport.getViewportWidth()}getWorkspaceWidth(){return this._wt.wtViewport.getWorkspaceWidth()}getViewportHeight(){return this._wt.wtViewport.getViewportHeight()}getWorkspaceHeight(){return this._wt.wtViewport.getWorkspaceHeight()}getElementOverlayName(e){var t;return(null!==(t=this._wt.wtOverlays.getParentOverlay(e))&&void 0!==t?t:this._wt).wtTable.name}getOverlayByName(e){return this._wt.getOverlayByName(e)}isVisible(){return this._wt.wtTable.isVisible()}destroy(){this._wt.destroy(),this.eventManager.destroy()}}function ca(){return parseInt(this.hot.rootElement.getAttribute(Object(Ge["e"])()[0]),10)}function ua(e){const t=Ji(sa,this,ca).call(this)+e;Object(n["setAttribute"])(this.hot.rootElement,...Object(Ge["e"])(t))}var da=la,ha=r("480c");function pa(e,t,r){return(t=fa(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){var t=ma(e,"string");return"symbol"==typeof t?t:t+""}function ma(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 Aa{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];pa(this,"hot",void 0),pa(this,"data",void 0),pa(this,"dataType","array"),pa(this,"colToProp",()=>{}),pa(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(Y["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,{dataDotNotation:o}=this.hot.getSettings();let s=null,l=null;if(s=this.modifyRowData(e),Array.isArray(s))l=[],a?s.forEach((t,r)=>{l[r]=this.getAtPhysicalCell(e,r,s)}):Object(K["rangeEach"])(t,r,r=>{l[r-t]=this.getAtPhysicalCell(e,r,s)});else if(Object(E["isObject"])(s)||Object(i["isFunction"])(s))if(l=n?[]:{},!a||n){const i=0,a=this.countFirstRowKeys()-1;Object(K["rangeEach"])(i,a,c=>{const u=this.colToProp(c);if(c>=(t||i)&&c<=(r||a)&&!Number.isInteger(u)){const t=this.getAtPhysicalCell(e,u,s);n?l.push(t):o?Object(E["setProperty"])(l,u,t):l[u]=t}})}else Object(E["objectEach"])(s,(t,r)=>{const n=this.getAtPhysicalCell(e,r,s);o?Object(E["setProperty"])(l,r,n):l[r]=n});return l}setAtCell(e,t,r){if(!(e>=this.countRows()||t>=this.countFirstRowKeys())){if(this.hot.hasHook("modifySourceData")){const n=Object(E["createObjectPropListener"])(r);this.hot.runHooks("modifySourceData",e,t,n,"set"),n.isTouched()&&(r=n.value)}Number.isInteger(t)?this.data[e][t]=r:Object(E["setProperty"])(this.data[e],t,r)}}getAtPhysicalCell(e,t,r){let n=null;if(r)if("string"===typeof t){const{dataDotNotation:e}=this.hot.getSettings();n=e?Object(E["getProperty"])(r,t):r[t]}else n="function"===typeof t?t(r):r[t];if(this.hot.hasHook("modifySourceData")){const r=Object(E["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(K["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(ha["countFirstRowKeys"])(this.data)}destroy(){this.data=null,this.hot=null}}var ga=Aa,_a=r("1b1a"),va=r("cef7"),ba=r("1096"),wa=r("9056"),ya=r("9f10"),Ea=r("00fd");const Ca=new Map([["hiding",va["a"]],["index",ba["a"]],["linkedPhysicalIndexToValue",wa["a"]],["physicalIndexToValue",ya["a"]],["trimming",Ea["a"]]]);function Sa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ca.has(e))throw new Error(`The provided map type ("${e}") does not exist.`);return new(Ca.get(e))(t)}var Ma=r("3d57"),xa=r("c5cd");function Ta(e,t,r){return(t=Oa(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(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)}class Ra extends xa["a"]{constructor(e,t){super(),Ta(this,"mergedValuesCache",[]),Ta(this,"aggregationFunction",void 0),Ta(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(Y["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(Y["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 La=r("7ae0");function Ia(e,t,r){ka(e,t),t.set(e,r)}function ka(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ba(e,t,r){return e.set(Fa(e,t),r),r}function Da(e,t){return e.get(Fa(e,t))}function Fa(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 Pa=new WeakMap;class ja{constructor(){Ia(this,Pa,[])}subscribe(e){return this.addLocalHook("change",e),this._write(Da(Pa,this)),this}unsubscribe(){return this.runLocalHooks("unsubscribe"),this.clearLocalHooks(),this}_write(e){return e.length>0&&this.runLocalHooks("change",e),this}_writeInitialChanges(e){Ba(Pa,this,e)}}function Ua(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 Ha(e,t,r){Va(e,t),t.set(e,r)}function Va(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ya(e,t){return e.get(Qa(e,t))}function Wa(e,t,r){return e.set(Qa(e,t),r),r}function Qa(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(E["mixin"])(ja,La["a"]);var za=new WeakMap,qa=new WeakMap,Ga=new WeakMap,Ka=new WeakMap,Xa=new WeakMap;class $a{constructor(){let{initialIndexValue:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Ha(this,za,new Set),Ha(this,qa,[]),Ha(this,Ga,[]),Ha(this,Ka,!1),Ha(this,Xa,!1),Wa(Xa,this,null!==e&&void 0!==e&&e)}createObserver(){const e=new ja;return Ya(za,this).add(e),e.addLocalHook("unsubscribe",()=>{Ya(za,this).delete(e)}),e._writeInitialChanges(Ua(Ya(qa,this),Ya(Ga,this))),e}emit(e){let t=Ya(Ga,this);Ya(Ka,this)&&Ya(qa,this).length===e.length||(0===e.length?e=new Array(t.length).fill(Ya(Xa,this)):Wa(qa,this,new Array(e.length).fill(Ya(Xa,this))),Ya(Ka,this)||(Wa(Ka,this,!0),t=Ya(qa,this)));const r=Ua(t,e);Ya(za,this).forEach(e=>e._write(r)),Wa(Ga,this,e)}}function Za(e,t,r){return(t=Ja(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){var t=eo(e,"string");return"symbol"==typeof t?t:t+""}function eo(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 to{constructor(){Za(this,"indexesSequence",new _a["a"]),Za(this,"trimmingMapsCollection",new Ra(e=>e.some(e=>!0===e),!1)),Za(this,"hidingMapsCollection",new Ra(e=>e.some(e=>!0===e),!1)),Za(this,"variousMapsCollection",new xa["a"]),Za(this,"hidingChangesObservable",new $a({initialIndexValue:!1})),Za(this,"notTrimmedIndexesCache",[]),Za(this,"notHiddenIndexesCache",[]),Za(this,"isBatched",!1),Za(this,"indexesSequenceChanged",!1),Za(this,"indexesChangeSource",void 0),Za(this,"trimmedIndexesChanged",!1),Za(this,"hiddenIndexesChanged",!1),Za(this,"renderablePhysicalIndexesCache",[]),Za(this,"fromPhysicalToVisualIndexesCache",new Map),Za(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,Sa(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 Ea["a"]?this.trimmingMapsCollection.register(e,t):t instanceof va["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(Y["arrayMap"])(e,e=>this.getPhysicalFromVisualIndex(e)),n=this.getNotTrimmedIndexesLength(),i=e.length,a=Object(Ma["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(Ma["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(Y["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(E["mixin"])(to,La["a"]);var ro=r("1004");function no(e,t){return Object(E["objectEach"])(t,(t,r)=>{Object(a["isUndefined"])(e[r])&&(e[r]=t)}),e}function io(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 ao(e){Object(a["isDefined"])(e)&&Object(C["a"])(et["a"]`Language with code "${e}" was not found. You should register particular language\x20
  565. before using it. Read more about this issue at: https://docs.handsontable.com/i18n/missing-language-code.`)}var oo=r("9acd");function so(e,t){const r=Array.isArray(e)&&Number.isInteger(t);return r?e[t]:e}const{register:lo,getValues:co}=Object(oo["a"])("phraseFormatters");function uo(e,t){lo(e,t)}function ho(){return co()}uo("pluralize",so);var po=r("0283");
  566. /**
  567. * @preserve
  568. * Authors: Handsoncode
  569. * Last updated: Nov 15, 2017
  570. *
  571. * Description: Definition file for English - United States language-country.
  572. */const fo={languageCode:"en-US",[po["CONTEXTMENU_ITEMS_NO_ITEMS"]]:"No available options",[po["CONTEXTMENU_ITEMS_ROW_ABOVE"]]:"Insert row above",[po["CONTEXTMENU_ITEMS_ROW_BELOW"]]:"Insert row below",[po["CONTEXTMENU_ITEMS_INSERT_LEFT"]]:"Insert column left",[po["CONTEXTMENU_ITEMS_INSERT_RIGHT"]]:"Insert column right",[po["CONTEXTMENU_ITEMS_REMOVE_ROW"]]:["Remove row","Remove rows"],[po["CONTEXTMENU_ITEMS_REMOVE_COLUMN"]]:["Remove column","Remove columns"],[po["CONTEXTMENU_ITEMS_UNDO"]]:"Undo",[po["CONTEXTMENU_ITEMS_REDO"]]:"Redo",[po["CONTEXTMENU_ITEMS_READ_ONLY"]]:"Read only",[po["CONTEXTMENU_ITEMS_CLEAR_COLUMN"]]:"Clear column",[po["CONTEXTMENU_ITEMS_ALIGNMENT"]]:"Alignment",[po["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"]]:"Left",[po["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"]]:"Center",[po["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"]]:"Right",[po["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"]]:"Justify",[po["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"]]:"Top",[po["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"]]:"Middle",[po["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"]]:"Bottom",[po["CONTEXTMENU_ITEMS_FREEZE_COLUMN"]]:"Freeze column",[po["CONTEXTMENU_ITEMS_UNFREEZE_COLUMN"]]:"Unfreeze column",[po["CONTEXTMENU_ITEMS_BORDERS"]]:"Borders",[po["CONTEXTMENU_ITEMS_BORDERS_TOP"]]:"Top",[po["CONTEXTMENU_ITEMS_BORDERS_RIGHT"]]:"Right",[po["CONTEXTMENU_ITEMS_BORDERS_BOTTOM"]]:"Bottom",[po["CONTEXTMENU_ITEMS_BORDERS_LEFT"]]:"Left",[po["CONTEXTMENU_ITEMS_REMOVE_BORDERS"]]:"Remove border(s)",[po["CONTEXTMENU_ITEMS_ADD_COMMENT"]]:"Add comment",[po["CONTEXTMENU_ITEMS_EDIT_COMMENT"]]:"Edit comment",[po["CONTEXTMENU_ITEMS_REMOVE_COMMENT"]]:"Delete comment",[po["CONTEXTMENU_ITEMS_READ_ONLY_COMMENT"]]:"Read-only comment",[po["CONTEXTMENU_ITEMS_MERGE_CELLS"]]:"Merge cells",[po["CONTEXTMENU_ITEMS_UNMERGE_CELLS"]]:"Unmerge cells",[po["CONTEXTMENU_ITEMS_COPY"]]:"Copy",[po["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS"]]:["Copy with header","Copy with headers"],[po["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS"]]:["Copy with group header","Copy with group headers"],[po["CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY"]]:["Copy header only","Copy headers only"],[po["CONTEXTMENU_ITEMS_CUT"]]:"Cut",[po["CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD"]]:"Insert child row",[po["CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD"]]:"Detach from parent",[po["CONTEXTMENU_ITEMS_HIDE_COLUMN"]]:["Hide column","Hide columns"],[po["CONTEXTMENU_ITEMS_SHOW_COLUMN"]]:["Show column","Show columns"],[po["CONTEXTMENU_ITEMS_HIDE_ROW"]]:["Hide row","Hide rows"],[po["CONTEXTMENU_ITEMS_SHOW_ROW"]]:["Show row","Show rows"],[po["FILTERS_CONDITIONS_NONE"]]:"None",[po["FILTERS_CONDITIONS_EMPTY"]]:"Is empty",[po["FILTERS_CONDITIONS_NOT_EMPTY"]]:"Is not empty",[po["FILTERS_CONDITIONS_EQUAL"]]:"Is equal to",[po["FILTERS_CONDITIONS_NOT_EQUAL"]]:"Is not equal to",[po["FILTERS_CONDITIONS_BEGINS_WITH"]]:"Begins with",[po["FILTERS_CONDITIONS_ENDS_WITH"]]:"Ends with",[po["FILTERS_CONDITIONS_CONTAINS"]]:"Contains",[po["FILTERS_CONDITIONS_NOT_CONTAIN"]]:"Does not contain",[po["FILTERS_CONDITIONS_GREATER_THAN"]]:"Greater than",[po["FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL"]]:"Greater than or equal to",[po["FILTERS_CONDITIONS_LESS_THAN"]]:"Less than",[po["FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL"]]:"Less than or equal to",[po["FILTERS_CONDITIONS_BETWEEN"]]:"Is between",[po["FILTERS_CONDITIONS_NOT_BETWEEN"]]:"Is not between",[po["FILTERS_CONDITIONS_AFTER"]]:"After",[po["FILTERS_CONDITIONS_BEFORE"]]:"Before",[po["FILTERS_CONDITIONS_TODAY"]]:"Today",[po["FILTERS_CONDITIONS_TOMORROW"]]:"Tomorrow",[po["FILTERS_CONDITIONS_YESTERDAY"]]:"Yesterday",[po["FILTERS_VALUES_BLANK_CELLS"]]:"Blank cells",[po["FILTERS_DIVS_FILTER_BY_CONDITION"]]:"Filter by condition",[po["FILTERS_DIVS_FILTER_BY_VALUE"]]:"Filter by value",[po["FILTERS_LABELS_CONJUNCTION"]]:"And",[po["FILTERS_LABELS_DISJUNCTION"]]:"Or",[po["FILTERS_BUTTONS_SELECT_ALL"]]:"Select all",[po["FILTERS_BUTTONS_CLEAR"]]:"Clear",[po["FILTERS_BUTTONS_OK"]]:"OK",[po["FILTERS_BUTTONS_CANCEL"]]:"Cancel",[po["FILTERS_BUTTONS_PLACEHOLDER_SEARCH"]]:"Search",[po["FILTERS_BUTTONS_PLACEHOLDER_VALUE"]]:"Value",[po["FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE"]]:"Second value",[po["CHECKBOX_CHECKED"]]:"Checked",[po["CHECKBOX_UNCHECKED"]]:"Unchecked"};var mo=fo;const Ao=po,go=mo.languageCode,{register:_o,getItem:vo,hasItem:bo,getValues:wo}=Object(oo["a"])("languagesDictionaries");function yo(e,t){let r=e,n=t;return Object(E["isObject"])(e)&&(n=e,r=n.languageCode),Eo(r,n),_o(r,Object(E["deepClone"])(n)),Object(E["deepClone"])(n)}function Eo(e,t){e!==go&&no(t,vo(go))}function Co(e){return So(e)?Object(E["deepClone"])(vo(e)):null}function So(e){return bo(e)}function Mo(){return wo()}function xo(e,t,r){const n=Co(e);if(null===n)return null;const i=n[t];if(Object(a["isUndefined"])(i))return null;const o=To(i,r);return Array.isArray(o)?o[0]:o}function To(e,t){let r=e;return Object(Y["arrayEach"])(ho(),n=>{r=n(e,t)}),r}function Oo(e){let t=io(e);return So(t)||(t=go,ao(e)),t}yo(mo);var No=r("a309");class Ro{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(E["mixin"])(Ro,La["a"]);var Lo=Ro;function Io(e,t,r){return(t=ko(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ko(e){var t=Bo(e,"string");return"symbol"==typeof t?t:t+""}function Bo(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 Do extends Lo{constructor(e,t){super(e,null),Io(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 Fo=Do;function Po(e){let{activeHeaderClassName:t,...r}=e;return new Fo({className:t,...r,selectionType:No["a"]})}function jo(e){let{areaCornerVisible:t,...r}=e;return new Fo({className:"area",createLayers:!0,border:{width:1,color:"#4b89ff",cornerVisible:t},...r,selectionType:No["b"]})}function Uo(e){let{...t}=e;return new Fo({className:"highlight",...t,selectionType:No["b"]})}function Ho(e){let{columnClassName:t,...r}=e;return new Fo({className:t,...r,selectionType:No["c"]})}function Vo(e){let{cellCornerVisible:t,...r}=e;return new Fo({className:"current",headerAttributes:[Object(Ge["I"])()],border:{width:2,color:"#4b89ff",cornerVisible:t},...r,selectionType:No["f"]})}function Yo(e){let{border:t,visualCellRange:r,...n}=e;return new Fo({...t,...n,selectionType:No["d"]},r)}function Wo(e){let{...t}=e;return new Fo({className:"fill",border:{width:1,color:"#ff0000"},...t,selectionType:No["e"]})}function Qo(e){let{headerClassName:t,...r}=e;return new Fo({className:t,...r,selectionType:No["g"]})}function zo(e){let{rowClassName:t,...r}=e;return new Fo({className:t,...r,selectionType:No["h"]})}function qo(e,t){Go(e,t),t.add(e)}function Go(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ko(e,t,r){return(t=Xo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(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)}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 Jo=new WeakSet;class es{constructor(e){qo(this,Jo),Ko(this,"options",void 0),Ko(this,"layerLevel",0),Ko(this,"focus",void 0),Ko(this,"fill",void 0),Ko(this,"layeredAreas",new Map),Ko(this,"areas",new Map),Ko(this,"rowHeaders",new Map),Ko(this,"columnHeaders",new Map),Ko(this,"activeRowHeaders",new Map),Ko(this,"activeColumnHeaders",new Map),Ko(this,"activeCornerHeaders",new Map),Ko(this,"rowHighlights",new Map),Ko(this,"columnHighlights",new Map),Ko(this,"customSelections",[]),this.options=e,this.focus=Vo(e),this.fill=Wo(e)}isEnabledFor(e,t){let r=e;e===No["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 Zo(Jo,this,ts).call(this,this.layeredAreas,jo)}getLayeredAreas(){return[...this.layeredAreas.values()]}createArea(){return Zo(Jo,this,ts).call(this,this.areas,Uo)}getAreas(){return[...this.areas.values()]}createRowHeader(){return Zo(Jo,this,ts).call(this,this.rowHeaders,Qo)}getRowHeaders(){return[...this.rowHeaders.values()]}createColumnHeader(){return Zo(Jo,this,ts).call(this,this.columnHeaders,Qo)}getColumnHeaders(){return[...this.columnHeaders.values()]}createActiveRowHeader(){return Zo(Jo,this,ts).call(this,this.activeRowHeaders,Po)}getActiveRowHeaders(){return[...this.activeRowHeaders.values()]}createActiveColumnHeader(){return Zo(Jo,this,ts).call(this,this.activeColumnHeaders,Po)}getActiveColumnHeaders(){return[...this.activeColumnHeaders.values()]}createActiveCornerHeader(){return Zo(Jo,this,ts).call(this,this.activeCornerHeaders,Po)}getActiveCornerHeaders(){return[...this.activeCornerHeaders.values()]}createRowHighlight(){return Zo(Jo,this,ts).call(this,this.rowHighlights,zo)}getRowHighlights(){return[...this.rowHighlights.values()]}createColumnHighlight(){return Zo(Jo,this,ts).call(this,this.columnHighlights,Ho)}getColumnHighlights(){return[...this.columnHighlights.values()]}getCustomSelections(){return[...this.customSelections.values()]}addCustomSelection(e){this.customSelections.push(Yo({...this.options,...e}))}clear(){this.focus.clear(),this.fill.clear(),Object(Y["arrayEach"])(this.areas.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.layeredAreas.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.rowHeaders.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.columnHeaders.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.activeRowHeaders.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.activeColumnHeaders.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.activeCornerHeaders.values(),e=>{e.clear()}),Object(Y["arrayEach"])(this.rowHighlights.values(),e=>{e.clear()}),Object(Y["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 ts(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 rs=es;function ns(e,t,r){return(t=is(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(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 os{constructor(e){ns(this,"ranges",[]),ns(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 ss=os;function ls(e,t){us(e,t),t.add(e)}function cs(e,t,r){us(e,t),t.set(e,r)}function us(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ds(e,t){return e.get(ps(e,t))}function hs(e,t,r){return e.set(ps(e,t),r),r}function ps(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 fs=new WeakMap,ms=new WeakMap,As=new WeakMap,gs=new WeakSet;class _s{constructor(e,t){ls(this,gs),cs(this,fs,void 0),cs(this,ms,void 0),cs(this,As,{x:0,y:0}),hs(fs,this,e),hs(ms,this,t)}transformStart(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=ds(ms,this).createCellCoords(e,t);let i=ds(fs,this).current().highlight;const a=ds(ms,this).visualToRenderableCoords(i);let o=0,s=0;if(this.runLocalHooks("beforeTransformStart",n),null!==a.row&&null!==a.col){const{width:e,height:t}=ps(gs,this,bs).call(this),{row:a,col:l}=ps(gs,this,Es).call(this,i),c=ds(ms,this).fixedRowsBottom(),u=ds(ms,this).minSpareRows(),d=ds(ms,this).minSpareCols(),h=ds(ms,this).autoWrapRow(),p=ds(ms,this).autoWrapCol(),f=ds(ms,this).createCellCoords(a+n.row,l+n.col);if(f.row>=t){const n=Object(E["createObjectPropListener"])(r&&u>0&&0===c),i=f.col+1,a=ds(ms,this).createCellCoords(f.row-t,i>=e?i-e:i);this.runLocalHooks("beforeColumnWrap",n,ps(gs,this,Cs).call(this,a),i>=e),n.value?this.runLocalHooks("insertRowRequire",ds(ms,this).countRenderableRows()):p&&f.assign(a)}else if(f.row<0){const r=Object(E["createObjectPropListener"])(p),n=f.col-1,i=ds(ms,this).createCellCoords(t+f.row,n<0?e+n:n);this.runLocalHooks("beforeColumnWrap",r,ps(gs,this,Cs).call(this,i),n<0),p&&f.assign(i)}if(f.col>=e){const n=Object(E["createObjectPropListener"])(r&&d>0),i=f.row+1,a=ds(ms,this).createCellCoords(i>=t?i-t:i,f.col-e);this.runLocalHooks("beforeRowWrap",n,ps(gs,this,Cs).call(this,a),i>=t),n.value?this.runLocalHooks("insertColRequire",ds(ms,this).countRenderableColumns()):h&&f.assign(a)}else if(f.col<0){const r=Object(E["createObjectPropListener"])(h),n=f.row-1,i=ds(ms,this).createCellCoords(n<0?t+n:n,e+f.col);this.runLocalHooks("beforeRowWrap",r,ps(gs,this,Cs).call(this,i),n<0),h&&f.assign(i)}const{rowDir:m,colDir:A}=ps(gs,this,vs).call(this,f);o=m,s=A,i=ps(gs,this,Cs).call(this,f)}return this.runLocalHooks("afterTransformStart",i,o,s),i}transformEnd(e,t){const r=ds(ms,this).createCellCoords(e,t),n=ds(fs,this).current(),i=ds(ms,this).visualToRenderableCoords(n.highlight),a=ps(gs,this,ws).call(this,n.to.row,n.from.row),o=ps(gs,this,ys).call(this,n.to.col,n.from.col),s=n.to.clone();let l=0,c=0;if(this.runLocalHooks("beforeTransformEnd",r),null!==i.row&&null!==i.col&&null!==a&&null!==o){const{row:e,col:t}=ps(gs,this,Es).call(this,n.highlight),i=ds(ms,this).createCellCoords(a+r.row,o+r.col),u=n.getTopStartCorner(),d=n.getTopEndCorner(),h=n.getBottomEndCorner();if(r.col<0&&o>=t&&i.col<t){const e=i.col-t;i.col=ps(gs,this,ys).call(this,u.col,d.col)+e}else if(r.col>0&&o<=t&&i.col>t){const e=ps(gs,this,ys).call(this,d.col,u.col),t=Math.max(i.col-e,1);i.col=e+t}if(r.row<0&&a>=e&&i.row<e){const t=i.row-e;i.row=ps(gs,this,ws).call(this,u.row,h.row)+t}else if(r.row>0&&a<=e&&i.row>e){const e=ps(gs,this,ws).call(this,h.row,u.row),t=Math.max(i.row-e,1);i.row=e+t}const{rowDir:p,colDir:f}=ps(gs,this,vs).call(this,i);l=p,c=f;const m=ps(gs,this,Cs).call(this,i);0===r.row&&0!==r.col?s.col=m.col:0!==r.row&&0===r.col?s.row=m.row:(s.row=m.row,s.col=m.col)}return this.runLocalHooks("afterTransformEnd",s,l,c),s}setOffsetSize(e){let{x:t,y:r}=e;hs(As,this,{x:t,y:r})}resetOffsetSize(){hs(As,this,{x:0,y:0})}}function vs(e){const{width:t,height:r}=ps(gs,this,bs).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 bs(){return{width:ds(As,this).x+ds(ms,this).countRenderableColumns(),height:ds(As,this).y+ds(ms,this).countRenderableRows()}}function ws(e,t){const r=ds(ms,this).findFirstNonHiddenRenderableRow(e,t);return null===r?null:ds(As,this).y+r}function ys(e,t){const r=ds(ms,this).findFirstNonHiddenRenderableColumn(e,t);return null===r?null:ds(As,this).x+r}function Es(e){const{row:t,col:r}=ds(ms,this).visualToRenderableCoords(e);if(null===t||null===r)throw new Error("Renderable coords are not visible.");return ds(ms,this).createCellCoords(ds(As,this).y+t,ds(As,this).x+r)}function Cs(e){const t=e.clone();return t.col=e.col-ds(As,this).x,t.row=e.row-ds(As,this).y,ds(ms,this).renderableToVisualCoords(t)}Object(E["mixin"])(_s,La["a"]);var Ss=_s,Ms=r("a952");function xs(e,t,r){Ts(e,t),t.set(e,r)}function Ts(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Os(e,t,r){return(t=Ns(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ns(e){var t=Rs(e,"string");return"symbol"==typeof t?t:t+""}function Rs(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 Ls(e,t){return e.get(ks(e,t))}function Is(e,t,r){return e.set(ks(e,t),r),r}function ks(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,Ds=new WeakMap,Fs=new WeakMap,Ps=new WeakMap,js=new WeakMap,Us=new WeakMap;class Hs{constructor(e,t){var r=this;Os(this,"settings",void 0),Os(this,"tableProps",void 0),Os(this,"inProgress",!1),Os(this,"selectedRange",new ss((e,t,r)=>this.tableProps.createCellRange(e,t,r))),Os(this,"highlight",void 0),xs(this,Bs,void 0),xs(this,Ds,void 0),Os(this,"selectedByRowHeader",new Set),Os(this,"selectedByColumnHeader",new Set),xs(this,Fs,!1),xs(this,Ps,!1),xs(this,js,"unknown"),xs(this,Us,-1),this.settings=e,this.tableProps=t,this.highlight=new rs({headerClassName:e.currentHeaderClassName,activeHeaderClassName:e.activeHeaderClassName,rowClassName:e.currentRowClassName,columnClassName:e.currentColClassName,cellAttributes:[Object(Ge["I"])()],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)}),Is(Bs,this,new Ss(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})),Is(Ds,this,new Ss(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})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Bs,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)})),Ls(Ds,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)})),Ls(Ds,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){Is(js,this,e)}markEndSource(){Is(js,this,"unknown")}getSelectionSource(){return Ls(js,this)}setExpectedLayers(e){Is(Us,this,e)}begin(){this.inProgress=!0}finish(){this.runLocalHooks("afterSelectionFinished",Array.from(this.selectedRange)),this.inProgress=!1,Is(Us,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();Is(Fs,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),this.applyAndCommit();const o=-1===Ls(Us,this)||this.selectedRange.size()===Ls(Us,this);this.runLocalHooks("afterSetRangeEnd",e,o)}applyAndCommit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectedRange.current(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLayerLevel();const r=this.tableProps.countRows(),n=this.tableProps.countCols();t<this.highlight.layerLevel&&(Object(Y["arrayEach"])(this.highlight.getAreas(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getLayeredAreas(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getRowHeaders(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getColumnHeaders(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getActiveRowHeaders(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getActiveColumnHeaders(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getActiveCornerHeaders(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getRowHighlights(),e=>{e.clear()}),Object(Y["arrayEach"])(this.highlight.getColumnHighlights(),e=>{e.clear()})),this.highlight.useLayerLevel(t);const i=this.highlight.createArea(),a=this.highlight.createLayeredArea(),o=this.highlight.createRowHeader(),s=this.highlight.createColumnHeader(),l=this.highlight.createActiveRowHeader(),c=this.highlight.createActiveColumnHeader(),u=this.highlight.createActiveCornerHeader(),d=this.highlight.createRowHighlight(),h=this.highlight.createColumnHighlight();if(i.clear(),a.clear(),o.clear(),s.clear(),l.clear(),c.clear(),u.clear(),d.clear(),h.clear(),this.highlight.isEnabledFor(No["b"],e.highlight)&&(this.isMultiple()||t>=1)&&(i.add(e.from).add(e.to).commit(),a.add(e.from).add(e.to).commit(),1===t)){const e=this.selectedRange.previous();this.highlight.useLayerLevel(t-1),this.highlight.createArea().add(e.from).commit().syncWith(e),this.highlight.createLayeredArea().add(e.from).commit().syncWith(e),this.highlight.useLayerLevel(t)}if(this.highlight.isEnabledFor(No["g"],e.highlight)){if(!e.isSingleHeader()){const t=this.tableProps.createCellCoords(Math.max(e.from.row,0),-1),r=this.tableProps.createCellCoords(e.to.row,-1),n=this.tableProps.createCellCoords(-1,Math.max(e.from.col,0)),i=this.tableProps.createCellCoords(-1,e.to.col);"single"===this.settings.selectionMode?(o.add(t).commit(),s.add(n).commit(),d.add(t).commit(),h.add(n).commit()):(o.add(t).add(r).commit(),s.add(n).add(i).commit(),d.add(t).add(r).commit(),h.add(n).add(i).commit())}const t=!Ls(Ps,this)&&this.isEntireRowSelected()&&(n>0&&n===e.getWidth()||0===n&&this.isSelectedByRowHeader()),i=!Ls(Ps,this)&&this.isEntireColumnSelected()&&(r>0&&r===e.getHeight()||0===r&&this.isSelectedByColumnHeader());t&&l.add(this.tableProps.createCellCoords(Math.max(e.from.row,0),Math.min(-this.tableProps.countRowHeaders(),-1))).add(this.tableProps.createCellCoords(Math.max(e.to.row,0),-1)).commit(),i&&c.add(this.tableProps.createCellCoords(Math.min(-this.tableProps.countColHeaders(),-1),Math.max(e.from.col,0))).add(this.tableProps.createCellCoords(-1,Math.max(e.to.col,0))).commit(),t&&i&&u.add(this.tableProps.createCellCoords(-this.tableProps.countColHeaders(),-this.tableProps.countRowHeaders())).add(this.tableProps.createCellCoords(-1,-1)).commit()}}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(No["f"],t.highlight)&&r.add(t.highlight).commit().syncWith(t),this.inProgress||(Is(Fs,this,!0),this.runLocalHooks("afterSetFocus",t.highlight))}transformStart(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.settings.navigableHeaders?Ls(Bs,this).setOffsetSize({x:this.tableProps.countRowHeaders(),y:this.tableProps.countColHeaders()}):Ls(Bs,this).resetOffsetSize(),this.setRangeStart(Ls(Bs,this).transformStart(e,t,r))}transformEnd(e,t){this.settings.navigableHeaders?Ls(Bs,this).setOffsetSize({x:this.tableProps.countRowHeaders(),y:this.tableProps.countColHeaders()}):Ls(Bs,this).resetOffsetSize(),this.setRangeEnd(Ls(Bs,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()?Ls(Ds,this).setOffsetSize({x:i<0?Math.abs(i):-a,y:n<0?Math.abs(n):-o}):Ls(Ds,this).setOffsetSize({x:i<0?0:-a,y:n<0?0:-o});const s=Ls(Ds,this).transformStart(e,t);this.setRangeFocus(s.normalize())}shiftRows(e,t){if(!this.isSelected())return;const r=this.selectedRange.current();if(this.isSelectedByCorner())this.selectAll(!0,!0,{disableHeadersHighlight:!0});else if(this.isSelectedByColumnHeader()||r.getOuterTopStartCorner().row>=e){const{from:n,to:i,highlight:a}=r,o=this.tableProps.countRows(),s=this.isSelectedByRowHeader(),l=this.isSelectedByColumnHeader(),c=l?-1:0,u=l?0:t;this.getSelectedRange().pop();const d=this.tableProps.createCellCoords(Object(K["clamp"])(n.row+u,c,o-1),n.col),h=this.tableProps.createCellCoords(Object(K["clamp"])(i.row+t,c,o-1),i.col);this.markSource("shift"),a.row>=e?this.setRangeStartOnly(d,!0,this.tableProps.createCellCoords(Object(K["clamp"])(a.row+t,0,o-1),a.col)):this.setRangeStartOnly(d,!0),s&&this.selectedByRowHeader.add(this.getLayerLevel()),l&&this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.markEndSource()}}shiftColumns(e,t){if(!this.isSelected())return;const r=this.selectedRange.current();if(this.isSelectedByCorner())this.selectAll(!0,!0,{disableHeadersHighlight:!0});else if(this.isSelectedByRowHeader()||r.getOuterTopStartCorner().col>=e){const{from:n,to:i,highlight:a}=r,o=this.tableProps.countCols(),s=this.isSelectedByRowHeader(),l=this.isSelectedByColumnHeader(),c=s?-1:0,u=s?0:t;this.getSelectedRange().pop();const d=this.tableProps.createCellCoords(n.row,Object(K["clamp"])(n.col+u,c,o-1)),h=this.tableProps.createCellCoords(i.row,Object(K["clamp"])(i.col+t,c,o-1));this.markSource("shift"),a.col>=e?this.setRangeStartOnly(d,!0,this.tableProps.createCellCoords(a.row,Object(K["clamp"])(a.col+t,0,o-1))):this.setRangeStartOnly(d,!0),s&&this.selectedByRowHeader.add(this.getLayerLevel()),l&&this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.markEndSource()}}getLayerLevel(){return this.selectedRange.size()-1}isSelected(){return!this.selectedRange.isEmpty()}isMultiple(){if(!this.isSelected())return!1;const e=Object(E["createObjectPropListener"])(!this.selectedRange.current().isSingle());return this.runLocalHooks("afterIsMultipleSelection",e),e.value}isFocusSelectionChanged(){return this.isSelected()&&Ls(Fs,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,c=t?-o:0;if(0===l&&0===c&&(0===i||0===a))return;let u=null===(e=this.getSelectedRange().current())||void 0===e?void 0:e.highlight;const{focusPosition:d,disableHeadersHighlight:h}=n;Is(Ps,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)&&(u=this.tableProps.createCellCoords(Object(K["clamp"])(d.row,l,i-1),Object(K["clamp"])(d.col,c,a-1)));const p=this.tableProps.createCellCoords(l,c),f=this.tableProps.createCellCoords(i-1,a-1);this.clear(),this.setRangeStartOnly(p,void 0,u),c<0&&this.selectedByRowHeader.add(this.getLayerLevel()),l<0&&this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(f),this.finish(),Is(Ps,this,!1)}selectCells(e){var t=this;const r=Object(Ms["c"])(e);if(r===Ms["a"])return!1;if(r===Ms["b"])throw new Error(et["a"]`Unsupported format of the selection ranges was passed. To select cells pass\x20
  573. the coordinates as an array of arrays ([[rowStart, columnStart/columnPropStart, rowEnd,\x20
  574. columnEnd/columnPropEnd]]) or as an array of CellRange objects.`);const n=Object(Ms["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(Y["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,c=this.tableProps.createCellCoords(l,n),u=this.tableProps.createCellCoords(a-1,i),d=this.tableProps.createCellRange(c,c,u).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(K["clamp"])(r.row,l,a-1),t=Object(K["clamp"])(r.col,Math.min(n,i),Math.max(n,i))):(e=Object(K["clamp"])(r,l,a-1),t=n);const o=this.tableProps.createCellCoords(e,t),c=0===s?0:Object(K["clamp"])(o.row,l,-1),u=a-1,d=this.tableProps.createCellCoords(c,n),h=this.tableProps.createCellCoords(u,i);this.runLocalHooks("beforeSelectColumns",d,h,o),d.row=c,h.row=u,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),c=this.tableProps.createCellRange(s,s,l).isValid({countRows:n,countCols:i,countRowHeaders:a,countColHeaders:0});if(c){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(K["clamp"])(r.row,Math.min(e,t),Math.max(e,t)),s=Object(K["clamp"])(r.col,o,i-1)):(n=e,s=Object(K["clamp"])(r,o,i-1));const l=this.tableProps.createCellCoords(n,s),c=0===a?0:Object(K["clamp"])(l.col,o,-1),u=i-1,d=this.tableProps.createCellCoords(e,c),h=this.tableProps.createCellCoords(t,u);this.runLocalHooks("beforeSelectRows",d,h,l),d.col=c,h.col=u,this.setRangeStartOnly(d,void 0,l),this.selectedByRowHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.runLocalHooks("afterSelectRows",d,h,l),this.finish()}return c}refresh(){if(!this.isSelected())return;const e=this.tableProps.countRows(),t=this.tableProps.countCols();if(0===e||0===t)return void this.deselect();const r=this.selectedRange.peekByIndex(this.selectedRange.size()-1),{from:n,to:i,highlight:a}=r;this.clear(),a.assign({row:Object(K["clamp"])(a.row,-1/0,e-1),col:Object(K["clamp"])(a.col,-1/0,t-1)}),n.assign({row:Object(K["clamp"])(n.row,-1/0,e-1),col:Object(K["clamp"])(n.col,-1/0,t-1)}),i.assign({row:Object(K["clamp"])(i.row,0,e-1),col:Object(K["clamp"])(i.col,0,t-1)}),this.selectedRange.ranges.push(r),this.highlight.getFocus().add(a).commit().syncWith(r),this.applyAndCommit(r)}commit(){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(),c=this.highlight.createColumnHighlight();e.commit(),t.commit(),r.commit(),i.commit(),a.commit(),o.commit(),s.commit(),l.commit(),c.commit()}this.highlight.useLayerLevel(r)}}Object(E["mixin"])(Hs,La["a"]);var Vs=Hs,Ys=r("76ab");function Ws(e,t){var r;return"CELL_TYPE"!==e&&((null===(r=t._automaticallyAssignedMetaProps)||void 0===r?void 0:r.has(e))||!Object(E["hasOwnProperty"])(t,e))}function Qs(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;const n="string"===typeof t.type?Object(Ys["a"])(t.type):t.type;if(e._automaticallyAssignedMetaProps&&Object(E["objectEach"])(t,(t,r)=>{e._automaticallyAssignedMetaProps.delete(r)}),!Object(E["isObject"])(n))return;r!==e||e._automaticallyAssignedMetaProps||(e._automaticallyAssignedMetaProps=new Set);const i={};Object(E["objectEach"])(n,(t,n)=>{var a;Ws(n,r)&&(i[n]=t,null===(a=e._automaticallyAssignedMetaProps)||void 0===a||a.add(n))}),Object(E["extend"])(e,i)}function zs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];function r(){}Object(E["inherit"])(r,e);for(let n=0;n<t.length;n++)r.prototype[t[n]]=void 0;return r}function qs(e){return Number.isInteger(e)&&e>=0}function Gs(e,t){if(!e())throw new Error("Assertion failed: "+t)}function Ks(e){return null===e||void 0===e}var Xs=()=>({_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,dataDotNotation:!0,dataSchema:void 0,dateFormat:"DD/MM/YYYY",timeFormat:"h:mm:ss a",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,headerClassName:void 0,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(E["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 $s(e,t,r){return(t=Zs(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(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 el(){return class{}}class tl{constructor(e){$s(this,"metaCtor",el()),$s(this,"meta",void 0),this.meta=this.metaCtor.prototype,Object(E["extend"])(this.meta,Xs()),this.meta.instance=e}getMetaConstructor(){return this.metaCtor}getMeta(){return this.meta}updateMeta(e){var t;Object(E["extend"])(this.meta,e),Qs(this.meta,{...e,type:null!==(t=e.type)&&void 0!==t?t:this.meta.type},e)}}function rl(e,t,r){return(t=nl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){var t=il(e,"string");return"symbol"==typeof t?t:t+""}function il(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 al{constructor(e){rl(this,"meta",void 0);const t=e.getMetaConstructor();this.meta=new t}getMeta(){return this.meta}updateMeta(e){Object(E["extend"])(this.meta,e),Qs(this.meta,e,e)}}function ol(e,t,r){return(t=sl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e){var t=ll(e,"string");return"symbol"==typeof t?t:t+""}function ll(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 cl{constructor(e){ol(this,"valueFactory",void 0),ol(this,"data",[]),ol(this,"index",[]),ol(this,"holes",new Set),this.valueFactory=e}obtain(e){Gs(()=>qs(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;Gs(()=>qs(e)||Ks(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=Ks(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;Gs(()=>qs(e)||Ks(e),"Expecting an unsigned number or null/undefined argument.");const r=this.index.splice(Ks(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(Y["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 ul(e,t,r){return(t=dl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){var t=hl(e,"string");return"symbol"==typeof t?t:t+""}function hl(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 pl=["data","width"];class fl{constructor(e){ul(this,"globalMeta",void 0),ul(this,"metas",new cl(()=>this._createMeta())),this.globalMeta=e,this.metas=new cl(()=>this._createMeta())}updateMeta(e,t){const r=this.getMeta(e);Object(E["extend"])(r,t),Qs(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 zs(this.globalMeta.getMetaConstructor(),pl).prototype}}function ml(e,t,r){return(t=Al(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){var t=gl(e,"string");return"symbol"==typeof t?t:t+""}function gl(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){ml(this,"columnMeta",void 0),ml(this,"metas",new cl(()=>this._createRow())),this.columnMeta=e}updateMeta(e,t,r){const n=this.getMeta(e,t);Object(E["extend"])(n,r),Qs(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){Gs(()=>qs(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 cl(e=>this._createMeta(e))}_createMeta(e){const t=this.columnMeta.getMetaConstructor(e);return new t}}class vl{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 tl(e),this.tableMeta=new al(this.globalMeta),this.columnMeta=new fl(this.globalMeta),this.cellMeta=new _l(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 bl(e,t,r){return(t=wl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){var t=yl(e,"string");return"symbol"==typeof t?t:t+""}function yl(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(E["mixin"])(vl,La["a"]);class El{constructor(e){bl(this,"metaManager",void 0),bl(this,"metaSyncMemo",new Map),this.metaManager=e,e.addLocalHook("afterGetCellMeta",e=>this.extendCellMeta(e)),ro["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(E["hasOwnProperty"])(e,"type")?e.type:null;let u=Object(i["isFunction"])(e.cells)?e.cells(r,n,l):null;var d;c&&(u?u.type=null!==(d=u.type)&&void 0!==d?d:c:u={type:c});u&&this.metaManager.updateCellMeta(r,n,u),s.runHooks("afterGetCellMeta",a,o,e),this.metaSyncMemo.has(r)||this.metaSyncMemo.set(r,new Set),this.metaSyncMemo.get(r).add(n)}}function Cl(e,t,r){Sl(e,t),t.set(e,r)}function Sl(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=xl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){var t=Tl(e,"string");return"symbol"==typeof t?t:t+""}function Tl(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){return e.get(Nl(e,t))}function Nl(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 Rl=new WeakMap;class Ll{constructor(e){Ml(this,"metaManager",void 0),Ml(this,"usageTracker",new Set),Ml(this,"propDescriptors",new Map([["ariaTags",{initOnly:!0}],["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",{initOnly:!0}],["renderAllColumns",{initOnly:!0}],["renderAllRows",{initOnly:!0}]])),Cl(this,Rl,(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{initOnly:r,target:n,onChange:i}=e,a="string"===typeof n,o=a?n:t,s="_"+o;this.metaManager.globalMeta.meta[s]=this.metaManager.globalMeta.meta[o],i?(this.installPropWatcher(t,s,i),a&&this.installPropWatcher(n,s,i)):r&&(this.installPropWatcher(t,s,Ol(Rl,this)),this.metaManager.globalMeta.meta._initOnlySettings||(this.metaManager.globalMeta.meta._initOnlySettings=[]),this.metaManager.globalMeta.meta._initOnlySettings.push(t))})}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 Il=r("3bc4");function kl(e,t,r){return(t=Bl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){var t=Dl(e,"string");return"symbol"==typeof t?t:t+""}function Dl(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 Fl{static get DESTINATION_RENDERER(){return 1}static get DESTINATION_CLIPBOARD_GENERATOR(){return 2}constructor(e,t,r){kl(this,"hot",void 0),kl(this,"metaManager",void 0),kl(this,"tableMeta",void 0),kl(this,"dataSource",void 0),kl(this,"duckSchema",void 0),kl(this,"colToPropCache",void 0),kl(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(E["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(E["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(ha["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(E["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(E["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,u=this.getSchema().length,d=[];while(o<t&&i+o<c){let e=null;"array"===this.hot.dataType?this.tableMeta.dataSchema?e=Object(E["deepClone"])(this.getSchema()):(e=[],Object(K["rangeEach"])(u-1,()=>e.push(null))):"function"===this.hot.dataType?e=this.tableMeta.dataSchema(s+o):(e={},Object(E["deepExtend"])(e,this.getSchema())),d.push(e),o+=1}this.hot.rowIndexMapper.insertIndexes(s,o),"below"===n&&(a=Math.min(a+1,i)),this.spliceData(a,0,d);const h=this.hot.toVisualRow(a);return this.hot.countSourceRows()===d.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",h,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 c=o;s<this.hot.countCols()&&(c=this.hot.toPhysicalColumn(s));const u=this.hot.countSourceRows();let d=this.hot.countCols(),h=0,p=c;"end"===n&&(p=Math.min(p+1,o));const f=p;while(h<t&&d<a){if("number"!==typeof s||s>=d)if(u>0)for(let e=0;e<u;e+=1)"undefined"===typeof i[e]&&(i[e]=[]),i[e].push(null);else i.push([null]);else for(let e=0;e<u;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 c=i.slice(0).sort((e,t)=>t-e);return c.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,c=this.dataSource;for(let u=0;u<l;u++)s&&i[0]!==i[u]-u&&(s=!1);if(s)for(let u=0,d=this.hot.countSourceRows();u<d;u++)c[u].splice(i[0],t),0===u&&this.metaManager.removeColumn(i[0],t);else for(let u=0,d=this.hot.countSourceRows();u<d;u++)for(let e=0;e<l;e++)c[u].splice(a[e],1),0===u&&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(Y["extendArray"])(s,a);let c=0;while(c<r)s.push(null),c+=1;return Object(Y["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(Y["extendArray"])(s,a);let c=0;while(c<r)s.push(null),c+=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;const{dataDotNotation:a}=this.hot.getSettings();let o=null;if(n&&n.hasOwnProperty&&Object(E["hasOwnProperty"])(n,t))o=n[t];else if(a&&"string"===typeof t&&t.indexOf(".")>-1){let e=n;if(!e)return null;const r=t.split(".");for(let t=0,n=r.length;t<n;t++)if(e=e[r[t]],"undefined"===typeof e)return null;o=e}else"function"===typeof t&&(o=t(this.dataSource.slice(r,r+1)[0]));if(this.hot.hasHook("modifyData")){const e=Object(E["createObjectPropListener"])(o);this.hot.runHooks("modifyData",r,this.propToCol(t),e,"get"),e.isTouched()&&(o=e.value)}return o}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(E["createObjectPropListener"])(i);this.hot.runHooks("modifyData",n,this.propToCol(t),e,"set"),e.isTouched()&&(i=e.value)}const{dataDotNotation:s}=this.hot.getSettings();if(a&&a.hasOwnProperty&&Object(E["hasOwnProperty"])(a,t))a[t]=i;else if(s&&"string"===typeof t&&t.indexOf(".")>-1){let e,r=a,n=0;const o=t.split(".");for(n=0,e=o.length-1;n<e;n++)"undefined"===typeof r[o[n]]&&(r[o[n]]={}),r=r[o[n]];r[o[n]]=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,Fl.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 c=r===Fl.DESTINATION_CLIPBOARD_GENERATOR?this.getCopyable:this.get,u=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<=u;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(c.call(this,i,this.colToProp(a)))}null!==r&&n.push(o)}return n}getText(e,t){return Object(Il["b"])(this.getRange(e,t,Fl.DESTINATION_RENDERER))}getCopyableText(e,t){return Object(Il["b"])(this.getRange(e,t,Fl.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 Pl=Fl;function jl(e,t,r,a){const{hotInstance:o,dataMap:s,dataSource:l,internalSource:c,source:u,metaManager:d,firstRun:h}=a,p=Object(G["toUpperCaseFirst"])(c),f=o.getSettings();Array.isArray(f.dataSchema)?o.dataType="array":Object(i["isFunction"])(f.dataSchema)?o.dataType="function":o.dataType="object",s&&s.destroy(),e=o.runHooks("before"+p,e,h,u);const m=new Pl(o,e,d);if(t(m),"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=m.getSchema();let r;e=[];let n=0,i=0;for(n=0,i=f.startRows;n<i;n++)if("object"!==o.dataType&&"function"!==o.dataType||!f.dataSchema)if("array"===o.dataType)r=Object(E["deepClone"])(t[0]),e.push(r);else{r=[];for(let e=0,t=f.startCols;e<t;e++)r.push(null);e.push(r)}else r=Object(E["deepClone"])(t),e.push(r)}}Array.isArray(e[0])&&(o.dataType="array"),f.data=e,m.dataSource=e,l.data=e,l.dataType=o.dataType,l.colToProp=m.colToProp.bind(m),l.propToCol=m.propToCol.bind(m),l.countCachedColumns=m.countCachedColumns.bind(m),r(m),o.runHooks("after"+p,e,h,u),h||(o.runHooks("afterChange",null,c),o.render()),o.getSettings().ariaTags&&Object(n["setAttribute"])(o.rootElement,[Object(Ge["C"])(-1),Object(Ge["e"])(o.countCols()+(o.view?o.countRowHeaders():0))])}function Ul(e){return t=>{let{col:r}=t;e.scrollViewportTo({col:r})}}function Hl(){return()=>{}}function Vl(e){return t=>{e.scrollViewportTo(t.toObject())}}function Yl(e){return t=>{e.scrollViewportTo(t.toObject())}}function Wl(e){return t=>{e.scrollViewportTo(t.toObject())}}function Ql(e){return t=>{let{row:r}=t;e.scrollViewportTo({row:r})}}function zl(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 ql(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=Vl(e):t.isSelectedByCorner()?o=Hl(e):t.isSelectedByRowHeader()?o=Ql(e):t.isSelectedByColumnHeader()?o=Ul(e):1===t.getSelectedRange().size()&&t.isMultiple()?o=Yl(e):1!==t.getSelectedRange().size()||t.isMultiple()?t.getSelectedRange().size()>1&&(o=Wl(e)):o=zl(e),null===(a=o)||void 0===a||a(i)}}}var Gl=r("c4fa");function Kl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.rootElement,n=Xl(e),i=Xl(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 Xl(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(Ge["y"])(),Object(Ge["n"])()]),r}function $l(e){const t=ec(e);let r;const{activate:n,deactivate:i}=Kl(e,{onFocusFromTop(){var n;const i=null!==(n=t(r))&&void 0!==n?n:Zl(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:Jl(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 c(){a.wrapped=!1,a.flipped=!1,e.deselectCell(),e.unlisten()}e.addHook("afterListen",()=>i()),e.addHook("afterUnlisten",()=>n()),e.addHook("afterSelection",(t,n,i,c,u)=>{var d;(s&&(a.wrapped&&a.flipped||l)&&(l=!1,u.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 u={keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:Gl["b"],group:"focusCatcher"};e.getShortcutManager().getContext("grid").addShortcuts([{...u,callback:()=>{const{tabNavigation:t}=e.getSettings();s=!0,e.getSelectedRangeLast()&&!t&&(o=!1),t||(l=!0)},position:"before"},{...u,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?Zl(e):Jl(e)),c(),!1;t.preventDefault()},position:"after"}])}function Zl(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 Jl(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 ec(e){return t=>{if(!t)return null;const r=Zl(e),n=Jl(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 tc=r("6906");const rc=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"]]),nc=e=>e.map(e=>{const t=e.toLowerCase();return rc.has(t)?rc.get(t):t}).sort().join("+"),ic=e=>e.split("+"),ac=new Map([[96,"numpad0"],[97,"numpad1"],[98,"numpad2"],[99,"numpad3"],[100,"numpad4"],[101,"numpad5"],[102,"numpad6"],[103,"numpad7"],[104,"numpad8"],[105,"numpad9"],[106,"multiply"],[107,"add"],[108,"decimal"],[109,"subtract"],[110,"decimal"],[111,"divide"],[112,"f1"],[113,"f2"],[114,"f3"],[115,"f4"],[116,"f5"],[117,"f6"],[118,"f7"],[119,"f8"],[120,"f9"],[121,"f10"],[122,"f11"],[123,"f12"],[186,"semicolon"],[187,"equal"],[188,"comma"],[189,"minus"],[190,"period"],[191,"slash"],[192,"backquote"],[219,"bracketleft"],[220,"backslash"],[221,"bracketright"],[222,"quote"]]),oc=e=>{let{which:t,key:r}=e;if(ac.has(t))return ac.get(t);const n=String.fromCharCode(t).toLowerCase();return/^[a-z0-9]$/.test(n)?n:r.toLowerCase()},sc=Symbol("shortcut-context");function lc(e){return Object(E["isObject"])(e)&&e.__kindOf===sc}const cc=e=>{const t=Object(tc["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:c=!1,relativeToGroup:u,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(et["a"]`Pass the shortcut\'s keys as an array of arrays,\x20
  575. using the KeyboardEvent.key properties:\x20
  576. 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:c};Object(a["isDefined"])(u)&&(p.relativeToGroup=u,p.position=d),lc(h)&&(p.forwardToContext=h),e.forEach(e=>{const r=nc(e),n=t.hasItem(r);if(n){const e=t.getItem(r);let n=e.findIndex(e=>e.group===u);-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(E["objectEach"])(t,(r,n)=>{!1===Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=t[n])}),r(e)})},o=e=>{const r=nc(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(ic(r)):(n.length=0,n.push(...i))})},l=e=>{const r=nc(e),n=t.getItem(r);return Object(a["isDefined"])(n)?n.slice():[]},c=e=>{const r=nc(e);return t.hasItem(r)};return{__kindOf:sc,addShortcut:r,addShortcuts:n,getShortcuts:l,hasShortcut:c,removeShortcutsByKeys:o,removeShortcutsByGroup:s}};function uc(){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 dc=["meta","alt","shift","control"],hc=uc(),pc=[];let fc=0;function mc(e,t,r,i,a){const s=e=>dc.includes(e),c=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(l["isImmediatePropagationStopped"])(e))return;const u=oc(e);let d=[];s(u)||(d=c(e));const h=[u].concat(d),p=a(e,h);!p&&(Object(o["isMacOS"])()&&d.includes("meta")||!Object(o["isMacOS"])()&&d.includes("control"))&&a(e,[u].concat(c(e,!0))),i(e)},d=e=>{if(e.key){const t=oc(e);s(t)&&hc.press(t)}},h=e=>{if(e.key){const t=oc(e);s(t)&&hc.release(t)}},p=()=>{hc.releaseAll()},f=()=>{let t=e;fc+=1;while(t)1===fc&&(t.document.documentElement.addEventListener("keydown",d),pc.push({event:"keydown",listener:d}),t.document.documentElement.addEventListener("keyup",h),pc.push({event:"keyup",listener:h})),t.document.documentElement.addEventListener("keydown",u),t.document.documentElement.addEventListener("blur",p),t=Object(n["getParentWindow"])(t)},m=()=>{let t=e;fc-=1;while(t){if(0===fc){for(let e=0;e<pc.length;e++){const{event:r,listener:n}=pc[e];t.document.documentElement.removeEventListener(r,n)}pc.length=0}t.document.documentElement.removeEventListener("keydown",u),t.document.documentElement.removeEventListener("blur",p),t=Object(n["getParentWindow"])(t)}};return{mount:f,unmount:m,isPressed:e=>hc.isPressed(e),releasePressedKeys:()=>hc.releaseAll()}}const Ac=e=>{let{ownerWindow:t,handleEvent:r,beforeKeyDown:n,afterKeyDown:i}=e;const a=Object(tc["a"])({errorIdExists:e=>`The "${e}" context name is already registered.`});let o="grid";const s=e=>{const t=cc(e);return a.addItem(e,t),t},c=()=>o,u=e=>a.getItem(e),d=e=>{if(!a.hasItem(e))throw new Error(et["a"]`You've tried to activate the "${e}" shortcut context\x20
  577. that does not exist. Before activation, register the context using the "addContext" method.`);o=e};let h=!1;const p=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c();const n=lc(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:c,captureCtrl:u,forwardToContext:d}=a[o];if(!0===n(e)){if(h=u,i=!1===r(e,t),h=!1,s&&e.preventDefault(),c&&(Object(l["stopImmediatePropagation"])(e),e.stopPropagation()),i)break;d&&p(e,t,d)}}return i},f=mc(t,r,n,i,p);return f.mount(),{addContext:s,getActiveContextName:c,getContext:u,setActiveContextName:d,isCtrlPressed:()=>!h&&(f.isPressed("control")||f.isPressed("meta")),releasePressedKeys:()=>f.releasePressedKeys(),destroy:()=>f.unmount()}};var gc=r("1e8c");let _c=null;const vc=new Map;new Set;function bc(e,t){var r,s=this;let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],d=this;const h=new u["a"](d);let p,f,m,A,g,_,v=!0;Yi(l)&&Vi(this),this.rootElement=e,this.rootDocument=e.ownerDocument,this.rootWindow=this.rootDocument.defaultView,this.isDestroyed=!1,this.renderSuspendedCounter=0,this.executionSuspendedCounter=0;const b=null!==(r=null===t||void 0===t?void 0:t.layoutDirection)&&void 0!==r?r:"inherit",w=["rtl","ltr"].includes(b)?b:this.rootWindow.getComputedStyle(this.rootElement).direction;this.rootElement.setAttribute("dir",w),this.isRtl=function(){return"rtl"===w},this.isLtr=function(){return!d.isRtl()},this.getDirectionFactor=function(){return d.isLtr()?1:-1},t.language=Oo(t.language);const C=new vl(d,t,[El,Ll]),S=C.getTableMeta(),M=C.getGlobalMeta(),x=Object(tc["a"])();this.container=this.rootDocument.createElement("div"),this.renderCall=!1,e.insertBefore(this.container,e.firstChild),Wi(this)&&Object(a["_injectProductInfo"])(t.licenseKey,e),this.guid="ht_"+Object(G["randomString"])(),vc.set(this.guid,this),this.columnIndexMapper=new to,this.rowIndexMapper=new to,this.columnIndexMapper.addLocalHook("indexesSequenceChange",e=>{d.runHooks("afterColumnSequenceChange",e)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",e=>{d.runHooks("afterRowSequenceChange",e)}),f=new ga(d),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);const T=e=>{const{row:t,col:r}=e;return d._createCellCoords(t>=0?d.rowIndexMapper.getRenderableFromVisualIndex(t):t,r>=0?d.columnIndexMapper.getRenderableFromVisualIndex(r):r)},O=e=>{const{row:t,col:r}=e;return d._createCellCoords(t>=0?d.rowIndexMapper.getVisualFromRenderableIndex(t):t,r>=0?d.columnIndexMapper.getVisualFromRenderableIndex(r):r)},N=(e,t)=>{const r=t>e?1:-1,n=Math.min(e,t),i=Math.max(e,t),a=d.rowIndexMapper.getNearestNotHiddenIndex(e,r);return null===a||1===r&&a>i||-1===r&&a<n?null:a>=0?d.rowIndexMapper.getRenderableFromVisualIndex(a):a},R=(e,t)=>{const r=t>e?1:-1,n=Math.min(e,t),i=Math.max(e,t),a=d.columnIndexMapper.getNearestNotHiddenIndex(e,r);return null===a||1===r&&a>i||-1===r&&a<n?null:a>=0?d.columnIndexMapper.getRenderableFromVisualIndex(a):a};let L=new Vs(S,{rowIndexMapper:d.rowIndexMapper,columnIndexMapper:d.columnIndexMapper,countCols:()=>d.countCols(),countRows:()=>d.countRows(),propToCol:e=>p.propToCol(e),isEditorOpened:()=>!!d.getActiveEditor()&&d.getActiveEditor().isOpened(),countRenderableColumns:()=>this.view.countRenderableColumns(),countRenderableRows:()=>this.view.countRenderableRows(),countRowHeaders:()=>this.countRowHeaders(),countColHeaders:()=>this.countColHeaders(),countRenderableRowsInRange:function(){return s.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return s.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>d.getShortcutManager(),createCellCoords:(e,t)=>d._createCellCoords(e,t),createCellRange:(e,t,r)=>d._createCellRange(e,t,r),visualToRenderableCoords:T,renderableToVisualCoords:O,findFirstNonHiddenRenderableRow:N,findFirstNonHiddenRenderableColumn:R,isDisabledCellSelection:(e,t)=>e<0||t<0?d.getSettings().disableVisualSelection:d.getCellMeta(e,t).disableVisualSelection});this.selection=L;const I=e=>{let{hiddenIndexesChanged:t}=e;t&&this.selection.commit()};function k(e){const t=io(e);So(t)?(d.runHooks("beforeLanguageChange",t),M.language=t,d.runHooks("afterLanguageChange",t)):ao(e)}function B(e,t){const r="className"===e?d.rootElement:d.table;if(v)Object(n["addClass"])(r,t);else{let i=[],a=[];M[e]&&(i=Array.isArray(M[e])?M[e]:Object(Y["stringToArray"])(M[e])),t&&(a=Array.isArray(t)?t:Object(Y["stringToArray"])(t));const o=Object(Y["getDifferenceOfArrays"])(i,a),s=Object(Y["getDifferenceOfArrays"])(a,i);o.length&&Object(n["removeClass"])(r,o),s.length&&Object(n["addClass"])(r,s)}M[e]=t}function D(){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 F(e){const t=e.replace(",",".");return!1===isNaN(parseFloat(t))?parseFloat(t):e}function j(e,t,r){if(!e.length)return void r();const n=d.getActiveEditor(),i=new D;let a=!0;i.onQueueEmpty=()=>{n&&a&&n.cancelChanges(),r()};for(let o=e.length-1;o>=0;o--){const[r,n,,s]=e[o],l=p.propToCol(n);let c;c=Number.isInteger(l)?d.getCellMeta(r,l):{...Object.getPrototypeOf(S),...S},"numeric"===c.type&&"string"===typeof s&&Object(K["isNumericLike"])(s)&&(e[o][3]=F(s)),d.getCellValidator(c)&&(i.addValidatorToQueue(),d.validateCell(e[o][3],c,function(t,r){return function(n){if("boolean"!==typeof n)throw new Error("Validation error: result is not boolean");!1===n&&!1===r.allowInvalid&&(a=!1,e.splice(t,1),r.valid=!0),i.removeValidatorFormQueue()}}(o,c),t))}i.checkIfQueueIsEmpty()}function U(e,t){for(let n=e.length-1;n>=0;n--){let r=!1;if(null!==e[n]){if(null!==e[n][2]&&void 0!==e[n][2]||null!==e[n][3]&&void 0!==e[n][3]){if(S.allowInsertRow)while(e[n][0]>d.countRows()-1){const{delta:e}=p.createRow(void 0,void 0,{source:t});if(0===e){r=!0;break}}if("array"===d.dataType&&(!S.columns||0===S.columns.length)&&S.allowInsertColumn)while(p.propToCol(e[n][1])>d.countCols()-1){const{delta:e}=p.createCol(void 0,void 0,{source:t});if(0===e){r=!0;break}}r||p.set(e[n][0],e[n][1],e[n][3])}}else e.splice(n,1)}const r=e.length>0;if(d.forceFullRender=!0,r){m.adjustRowsAndCols(),d.runHooks("beforeChangeRender",e,t),A.closeEditor(),d.view.render(),A.prepareEditor(),d.view.adjustElementsSize(),d.runHooks("afterChange",e,t||"edit");const r=d.getActiveEditor();r&&Object(a["isDefined"])(r.refreshValue)&&r.refreshValue()}else d.view.render()}function H(e,t,r){return Array.isArray(e)?e:[[e,t,r]]}function V(e,t){const r=d.getActiveEditor(),n=d.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",I),this.rowIndexMapper.addLocalHook("cacheUpdated",I),this.selection.addLocalHook("afterSetRangeEnd",(e,t)=>{const r=Object(E["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,d.colToProp(a.col),o.row,d.colToProp(o.col),r,s),t&&(!r.isTouched()||r.isTouched()&&!r.value)&&_.scrollTo(e);const l=L.isSelectedByRowHeader(),c=L.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"]),"shift"!==L.getSelectionSource()&&A.closeEditor(null),d.view.render(),A.prepareEditor()}),this.selection.addLocalHook("beforeSetFocus",e=>{this.runHooks("beforeSelectionFocusSet",e.row,e.col)}),this.selection.addLocalHook("afterSetFocus",e=>{const t=Object(E["createObjectPropListener"])(!1);this.runHooks("afterSelectionFocusSet",e.row,e.col,t),(!t.isTouched()||t.isTouched()&&!t.value)&&_.scrollTo(e),A.closeEditor(),d.view.render(),A.prepareEditor()}),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,d.colToProp(r.col),n.row,d.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",()=>{A.closeEditor(),d.view.render(),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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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 s.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")),m={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(Y["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=d.countSourceRows();if(S.maxRows===s)return;const c="insert_row_below"===e?"below":"above";t=null!==(r=t)&&void 0!==r?r:"below"===c?s:0;const{delta:u,startPhysicalIndex:h}=p.createRow(t,i,{source:o,mode:c});L.shiftRows(d.toVisualRow(h),u);break;case"insert_col_start":case"insert_col_end":const f="insert_col_end"===e?"end":"start";t=null!==(n=t)&&void 0!==n?n:"end"===f?d.countSourceCols():0;const{delta:m,startPhysicalIndex:g}=p.createCol(t,i,{source:o,mode:f});if(m){if(Array.isArray(S.colHeaders)){const e=[d.toVisualColumn(g),0];e.length+=m,Array.prototype.splice.apply(S.colHeaders,e)}L.shiftColumns(d.toVisualColumn(g),m)}break;case"remove_row":const _=e=>{let t=0;Object(Y["arrayEach"])(e,e=>{let[r,n]=e;const i=Object(a["isEmpty"])(r)?d.countRows()-1:Math.max(r-t,0);Number.isInteger(r)&&(r=Math.max(r-t,0));const s=p.removeRow(r,n,o);if(!s)return;if(L.isSelected()){const{row:e}=d.getSelectedRangeLast().highlight;e>=r&&e<=r+n-1&&A.closeEditor(!0)}const l=d.countRows();0===l?L.deselect():"ContextMenu.removeRow"===o?L.refresh():L.shiftRows(r,-n);const c=S.fixedRowsTop;c>=i+1&&(S.fixedRowsTop-=Math.min(n,c-i));const u=S.fixedRowsBottom;u&&i>=l-u&&(S.fixedRowsBottom-=Math.min(n,u)),t+=n})};Array.isArray(t)?_(l(t)):_([[t,i]]);break;case"remove_col":const v=e=>{let t=0;Object(Y["arrayEach"])(e,e=>{let[r,n]=e;const i=Object(a["isEmpty"])(r)?d.countCols()-1:Math.max(r-t,0);let s=d.toPhysicalColumn(i);Number.isInteger(r)&&(r=Math.max(r-t,0));const l=p.removeCol(r,n,o);if(!l)return;if(L.isSelected()){const{col:e}=d.getSelectedRangeLast().highlight;e>=r&&e<=r+n-1&&A.closeEditor(!0)}const c=d.countCols();0===c?L.deselect():"ContextMenu.removeColumn"===o?L.refresh():L.shiftColumns(r,-n);const u=S.fixedColumnsStart;u>=i+1&&(S.fixedColumnsStart-=Math.min(n,u-i)),Array.isArray(S.colHeaders)&&("undefined"===typeof s&&(s=-1),S.colHeaders.splice(s,n)),t+=n})};Array.isArray(t)?v(l(t)):v([[t,i]]);break;default:throw new Error(`There is no such action "${e}"`)}d.view.render(),s||m.adjustRowsAndCols()},adjustRowsAndCols(){const e=S.minRows,t=S.minSpareRows,r=S.minCols,n=S.minSpareCols;if(e){const t=d.countRows();t<e&&p.createRow(t,e-t,{source:"auto"})}if(t){const e=d.countEmptyRows(!0);if(e<t){const r=t-e,n=Math.min(r,S.maxRows-d.countSourceRows());p.createRow(d.countRows(),n,{source:"auto"})}}{let e;(r||n)&&(e=d.countEmptyCols(!0));let t=d.countCols();if(r&&!S.columns&&t<r){const n=r-t;e+=n,p.createCol(t,n,{source:"auto"})}if(n&&!S.columns&&"array"===d.dataType&&e<n){t=d.countCols();const r=n-e,i=Math.min(r,S.maxCols-t);p.createCol(t,i,{source:"auto"})}}d.view&&d.view.adjustElementsSize()},populateFromArray(e,t,r,n,i){let a,o,s,l;const c=[],u={},h=[],p=e.row,f=e.col;if(o=t.length,0===o)return!1;let m=0,A=0;switch(Object(E["isObject"])(r)&&(m=r.col-f+1,A=r.row-p+1),i){case"shift_down":const i=Object(Y["pivot"])(t),g=i.length,_=Math.max(g,m),v=d.getData().slice(p),b=Object(Y["pivot"])(v).slice(f,f+_);for(s=0;s<_;s+=1)if(s<g){for(a=0,o=i[s].length;a<A-o;a+=1)i[s].push(i[s][a%o]);s<b.length?h.push(i[s].concat(b[s])):h.push(i[s].concat(new Array(v.length).fill(null)))}else h.push(i[s%g].concat(b[s]));d.populateFromArray(p,f,Object(Y["pivot"])(h));break;case"shift_right":const w=t.length,y=Math.max(w,A),C=d.getData().slice(p).map(e=>e.slice(f));for(a=0;a<y;a+=1)if(a<w){for(s=0,l=t[a].length;s<m-l;s+=1)t[a].push(t[a][s%l]);if(a<C.length)for(let e=0;e<C[a].length;e+=1)t[a].push(C[a][e]);else t[a].push(...new Array(C[0].length).fill(null))}else t.push(t[a%o].slice(0,y).concat(C[a]));d.populateFromArray(p,f,t);break;case"overwrite":default:u.row=e.row,u.col=e.col;let M,x=0,T=0,O=!0;const N=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},R=t.length,L=r?r.row-e.row+1:0;for(o=r?L:Math.max(R,L),a=0;a<o;a++){if(r&&u.row>r.row&&L>R||!S.allowInsertRow&&u.row>d.countRows()-1||u.row>=S.maxRows)break;const t=a-x,i=N(t).length,h=r?r.col-e.col+1:0;if(l=r?h:Math.max(i,h),u.col=e.col,M=d.getCellMeta(u.row,u.col),"CopyPaste.paste"!==n&&"Autofill.fill"!==n||!M.skipRowOnPaste){for(T=0,s=0;s<l;s++){if(r&&u.col>r.col&&h>i||!S.allowInsertColumn&&u.col>d.countCols()-1||u.col>=S.maxCols)break;if(M=d.getCellMeta(u.row,u.col),("CopyPaste.paste"===n||"Autofill.fill"===n)&&M.skipColumnOnPaste){T+=1,u.col+=1,l+=1;continue}if(M.readOnly&&"UndoRedo.undo"!==n){u.col+=1;continue}const e=s-T;let a=N(t,e),o=d.getDataAtCell(u.row,u.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(E["duckSchema"])(Array.isArray(o)?o:o[0]||o),t=Object(E["duckSchema"])(Array.isArray(a)?a:a[0]||a);Object(E["isObjectEqual"])(e,t)||Array.isArray(e)&&Array.isArray(t)?a=Object(E["deepClone"])(a):O=!1}else null!==o&&"object"===typeof o&&(O=!1);O&&c.push([u.row,u.col,a]),O=!0,u.col+=1}u.row+=1}else x+=1,u.row+=1,o+=1}d.setDataAtCell(c,null,null,n||"populateFromArray");break}}},this.init=function(){f.setData(S.data),d.runHooks("beforeInit"),(Object(o["isMobileBrowser"])()||Object(o["isIpadOS"])())&&Object(n["addClass"])(d.rootElement,"mobile"),this.updateSettings(S,!0),this.view=new da(this),A=y.getInstance(d,S,L),_=ql(d),g=new P(d),Wi(this)&&$l(d),d.runHooks("init"),this.forceFullRender=!0,this.view.render(),v&&null===d.rootElement.offsetParent&&Object(n["observeVisibilityChangeOnce"])(d.rootElement,()=>{d.view._wt.wtOverlays.updateLastSpreaderSize(),d.render(),d.view.adjustElementsSize()}),"object"===typeof v&&(d.runHooks("afterChange",v[0],v[1]),v=!1),d.runHooks("afterInit")},this._createCellCoords=function(e,t){return d.view._wt.createCellCoords(e,t)},this._createCellRange=function(e,t,r){return d.view._wt.createCellRange(e,t,r)},this.validateCell=function(e,t,r,n){let o=d.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=d.getCell(a,i,!0);if(o&&"TH"!==o.nodeName){const e=d.rowIndexMapper.getRenderableFromVisualIndex(a),t=d.columnIndexMapper.getRenderableFromVisualIndex(i);d.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=d.runHooks("beforeValidate",e,t.visualRow,t.prop,n),d._registerImmediate(()=>{o.call(t,e,r=>{d&&(r=d.runHooks("afterValidate",r,e,t.visualRow,t.prop,n),t.valid=r,s(r),d.runHooks("postAfterValidate",r,e,t.visualRow,t.prop,n))})})):d._registerImmediate(()=>{t.valid=!0,s(t.valid,!1)})},this.setDataAtCell=function(e,t,r,n){const i=H(e,t,r),a=[];let o,s,l,c=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]:p.colToProp(i[o][1]),a.push([i[o][0],l,f.getAtCell(this.toPhysicalRow(i[o][0]),i[o][1]),i[o][2]])}c||"object"!==typeof e||(c=t);const u=V(a,n);d.runHooks("afterSetDataAtCell",u,c),j(u,c,()=>{U(u,c)})},this.setDataAtRowProp=function(e,t,r,n){const i=H(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],f.getAtCell(this.toPhysicalRow(i[o][0]),i[o][1]),i[o][2]]);l||"object"!==typeof e||(l=t);const c=V(a,n);d.runHooks("afterSetDataAtRowProp",c,l),j(c,l,()=>{U(c,l)})},this.listen=function(){d&&!d.isListening()&&(vc.forEach(e=>{d!==e&&e.unlisten()}),_c=d.guid,d.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(_c=null,d.runHooks("afterUnlisten"))},this.isListening=function(){return _c===d.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];A.closeEditor(e),d.view.render(),t&&L.isSelected()&&A.prepareEditor()},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?d._createCellCoords(n,i):null;return m.populateFromArray(d._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 p.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 p.spliceRow(e,t,r,...i)},this.getSelected=function(){if(L.isSelected())return Object(Y["arrayMap"])(L.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(L.isSelected())return Array.from(L.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(!L.isSelected()||0===this.countRows()||0===this.countCols())return;const t=[];Object(Y["arrayEach"])(L.getSelectedRange(),e=>{if(e.isSingleHeader())return;const r=e.getTopStartCorner(),n=e.getBottomEndCorner();Object(K["rangeEach"])(r.row,n.row,e=>{Object(K["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():d.view.render())},this.render=function(){this.view&&(this.renderCall=!0,this.forceFullRender=!0,this.isRenderSuspended()||d.view.render())},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(!d.view)return;const{width:e,height:t}=d.view.getLastSize(),{width:r,height:n}=d.rootElement.getBoundingClientRect(),i=r!==e||n!==t,a=!1===d.runHooks("beforeRefreshDimensions",{width:e,height:t},{width:r,height:n},i);a||((i||d.view._wt.wtOverlays.scrollableElement===d.rootWindow)&&(d.view.setLastSize(r,n),d.render()),d.runHooks("afterRefreshDimensions",{width:e,height:t},{width:r,height:n},i))},this.updateData=function(e,t){jl(e,e=>{p=e},e=>{p=e,d.columnIndexMapper.fitToLength(this.getInitialColumnCount()),d.rowIndexMapper.fitToLength(this.countSourceRows()),m.adjustRowsAndCols(),L.refresh()},{hotInstance:d,dataMap:p,dataSource:f,internalSource:"updateData",source:t,metaManager:C,firstRun:v})},this.loadData=function(e,t){jl(e,e=>{p=e},()=>{C.clearCellsCache(),d.initIndexMappers(),m.adjustRowsAndCols(),L.refresh(),v&&(v=[null,"loadData"])},{hotInstance:d,dataMap:p,dataSource:f,internalSource:"loadData",source:t,metaManager:C,firstRun:v})},this.getInitialColumnCount=function(){const e=S.columns;let t=0;if(Array.isArray(e))t=e.length;else if(Object(i["isFunction"])(e))if("array"===d.dataType){const r=this.countSourceCols();for(let n=0;n<r;n+=1)e(n)&&(t+=1)}else"object"!==d.dataType&&"function"!==d.dataType||(t=p.colToPropCache.length);else if(Object(a["isDefined"])(S.dataSchema)){const e=p.getSchema();t=Array.isArray(e)?e.length:Object(E["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)?p.getAll():p.getRange(d._createCellCoords(e,t),d._createCellCoords(r,n),p.DESTINATION_RENDERER)},this.getCopyableText=function(e,t,r,n){return p.getCopyableText(d._createCellCoords(e,t),d._createCellCoords(r,n))},this.getCopyableData=function(e,t){return p.getCopyable(e,p.colToProp(t))},this.getSchema=function(){return p.getSchema()},this.updateSettings=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(v?d.loadData:d.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?k(e.language):"className"===n?B("className",e.className):"tableClassName"===n&&d.table?(B("tableClassName",e.tableClassName),d.view._wt.wtOverlays.syncOverlayTableClassNames()):ro["a"].getSingleton().isRegistered(n)||ro["a"].getSingleton().isDeprecated(n)?(Object(i["isFunction"])(e[n])||Array.isArray(e[n]))&&(e[n].initialHook=!0,d.addHook(n,e[n])):!t&&Object(E["hasOwnProperty"])(e,n)&&(M[n]=e[n]));void 0===e.data&&void 0===S.data?r(null,"updateSettings"):void 0!==e.data?r(e.data,"updateSettings"):void 0!==e.columns&&(p.createMap(),d.initIndexMappers());const l=d.countCols(),c=S.columns;if(c&&Object(i["isFunction"])(c)&&(s=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||C.clearCache(),l>0)for(n=0,o=0;n<l;n++){if(c){const e=s?c(n):c[o];e&&C.updateColumnMeta(o,e)}o+=1}Object(a["isDefined"])(e.cell)&&Object(E["objectEach"])(e.cell,e=>{d.setCellMetaObject(e.row,e.col,e)}),d.runHooks("afterCellMetaReset");let u=d.rootElement.style.height;""!==u&&(u=parseInt(d.rootElement.style.height,10));let h=e.height;if(Object(i["isFunction"])(h)&&(h=h()),t){const e=d.rootElement.getAttribute("style");e&&d.rootElement.setAttribute("data-initialstyle",d.rootElement.getAttribute("style"))}if(null===h){const e=d.rootElement.getAttribute("data-initialstyle");e&&(e.indexOf("height")>-1||e.indexOf("overflow")>-1)?d.rootElement.setAttribute("style",e):(d.rootElement.style.height="",d.rootElement.style.overflow="")}else void 0!==h&&(d.rootElement.style.height=isNaN(h)?""+h:h+"px",d.rootElement.style.overflow="hidden");if("undefined"!==typeof e.width){let t=e.width;Object(i["isFunction"])(t)&&(t=t()),d.rootElement.style.width=isNaN(t)?""+t:t+"px"}t||(d.view&&(d.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked(),d.view._wt.exportSettingsAsClassNames()),d.runHooks("afterUpdateSettings",e)),m.adjustRowsAndCols(),d.view&&!v&&(d.forceFullRender=!0,d.view.render(),d.view._wt.wtOverlays.adjustElementsSize()),t||!d.view||""!==u&&""!==h&&void 0!==h||u===h||d.view._wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){const e=d.getSelectedLast();if(S.getValue){if(Object(i["isFunction"])(S.getValue))return S.getValue.call(d);if(e)return d.getData()[e[0][0]][S.getValue]}else if(e)return d.getDataAtCell(e[0],e[1])},this.getSettings=function(){return S},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(e,t,r,n,i){m.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||void 0===i||void 0===n?null:d.view.getCellAtCoords(d._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)),d._createCellCoords(i,a)},this.colToProp=function(e){return p.colToProp(e)},this.propToCol=function(e){return p.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 p.get(e,p.colToProp(t))},this.getDataAtRowProp=function(e,t){return p.get(e,t)},this.getDataAtCol=function(e){const t=[],r=p.getRange(d._createCellCoords(0,e),d._createCellCoords(S.data.length-1,e),p.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=p.getRange(d._createCellCoords(0,p.propToCol(e)),d._createCellCoords(S.data.length-1,p.propToCol(e)),p.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?f.getData():f.getByRange(d._createCellCoords(e,t),d._createCellCoords(r,n)),i},this.getSourceDataArray=function(e,t,r,n){let i;return i=void 0===e?f.getData(!0):f.getByRange(d._createCellCoords(e,t),d._createCellCoords(r,n),!0),i},this.getSourceDataAtCol=function(e){return f.getAtColumn(e)},this.setSourceDataAtCell=function(e,t,r,n){const i=H(e,t,r),o=this.hasHook("afterSetSourceDataAtCell"),s=[];o&&Object(Y["arrayEach"])(i,e=>{let[t,r,n]=e;s.push([t,r,f.getAtCell(t,r),n])}),Object(Y["arrayEach"])(i,e=>{let[t,r,n]=e;f.setAtCell(t,r,n)}),o&&this.runHooks("afterSetSourceDataAtCell",s,n),this.render();const l=d.getActiveEditor();l&&Object(a["isDefined"])(l.refreshValue)&&l.refreshValue()},this.getSourceDataAtRow=function(e){return f.getAtRow(e)},this.getSourceDataAtCell=function(e,t){return f.getAtCell(e,t)},this.getDataAtRow=function(e){const t=p.getRange(d._createCellCoords(e,0),d._createCellCoords(e,this.countCols()-1),p.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,c=null,u=null;void 0===s&&(s=a),void 0===l&&(l=o);let d="mixed";return Object(K["rangeEach"])(Math.max(Math.min(a,s),0),Math.max(a,s),e=>{let t=!0;return Object(K["rangeEach"])(Math.max(Math.min(o,l),0),Math.max(o,l),r=>{const n=this.getCellMeta(e,r);return u=n.type,c?t=c===u:c=u,t}),d=t?u:"mixed",t}),d},this.removeCellMeta=function(e,t,r){const[n,i]=[this.toPhysicalRow(e),this.toPhysicalColumn(t)];let a=C.getCellMetaKeyValue(n,i,r);const o=d.runHooks("beforeRemoveCellMeta",e,t,r,a);!1!==o&&(C.removeCellMeta(n,i,r),d.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&&C.removeRow(this.toPhysicalRow(e),t),n.length>0&&Object(Y["arrayEach"])(n.reverse(),t=>{C.createRow(this.toPhysicalRow(e)),Object(Y["arrayEach"])(t,(t,r)=>this.setCellMetaObject(e,r,t))}),d.render()},this.setCellMetaObject=function(e,t,r){"object"===typeof r&&Object(E["objectEach"])(r,(r,n)=>{this.setCellMeta(e,t,n,r)})},this.setCellMeta=function(e,t,r,n){const i=d.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)),C.setCellMeta(a,o,r,n),d.runHooks("afterSetCellMeta",e,t,r,n)},this.getCellsMeta=function(){return C.getCellsMeta()},this.getCellMeta=function(e,t){let r=this.toPhysicalRow(e),n=this.toPhysicalColumn(t);return null===r&&(r=e),null===n&&(n=t),C.getCellMeta(r,n,{visualRow:e,visualColumn:t})},this.getColumnMeta=function(e){return C.getColumnMeta(this.toPhysicalColumn(e))},this.getCellMetaAtRow=function(e){return C.getCellsMetaAtRow(e)},this.isColumnModificationAllowed=function(){return!("object"===d.dataType||S.columns)},this.getCellRenderer=function(e,t){const r="number"===typeof e?d.getCellMeta(e,t).renderer:e.renderer;return"string"===typeof r?Object(z["b"])(r):Object(a["isUndefined"])(r)?Object(z["b"])("text"):r},this.getCellEditor=function(e,t){const r="number"===typeof e?d.getCellMeta(e,t).editor:e.editor;return"string"===typeof r?Object(c["a"])(r):Object(a["isUndefined"])(r)?Object(c["a"])("text"):r},this.getCellValidator=function(e,t){const r="number"===typeof e?d.getCellMeta(e,t).validator:e.validator;return"string"===typeof r?Object(q["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 D;e&&(n.onQueueEmpty=e);let i=d.countRows()-1;while(i>=0){if(void 0!==t&&-1===t.indexOf(i)){i-=1;continue}let e=d.countCols()-1;while(e>=0)void 0===r||-1!==r.indexOf(e)?(n.addValidatorToQueue(),d.validateCell(d.getDataAtCell(i,e),d.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=S.rowHeaders,r=e;return void 0!==r&&(r=d.runHooks("modifyRowHeader",r)),void 0===r?(t=[],Object(K["rangeEach"])(d.countRows()-1,e=>{t.push(d.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!!S.rowHeaders},this.hasColHeaders=function(){if(void 0!==S.colHeaders&&null!==S.colHeaders)return!!S.colHeaders;for(let e=0,t=d.countCols();e<t;e++)if(d.getColHeader(e))return!0;return!1},this.getColHeader=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;const r=d.runHooks("modifyColHeader",e);if(void 0===r){const e=[],t=d.countCols();for(let r=0;r<t;r++)e.push(d.getColHeader(r));return e}let n=S.colHeaders;const a=function(e){const t=[],r=d.countCols();let n=0;for(;n<r;n++)Object(i["isFunction"])(S.columns)&&S.columns(n)&&t.push(n);return t[e]},o=d.toPhysicalColumn(r),s=a(o);return!1===S.colHeaders?n=null:S.columns&&Object(i["isFunction"])(S.columns)&&S.columns(s)&&S.columns(s).title?n=S.columns(s).title:S.columns&&S.columns[o]&&S.columns[o].title?n=S.columns[o].title:Array.isArray(S.colHeaders)&&void 0!==S.colHeaders[o]?n=S.colHeaders[o]:Object(i["isFunction"])(S.colHeaders)?n=S.colHeaders(o):S.colHeaders&&"string"!==typeof S.colHeaders&&"number"!==typeof S.colHeaders&&(n=Object(ha["spreadsheetColumnLabel"])(r)),n=d.runHooks("modifyColumnHeaderValue",n,e,t),n},this._getColWidthFromSettings=function(e){let t;if(e>=0){const r=d.getCellMeta(0,e);t=r.width}if(void 0!==t&&t!==S.width||(t=S.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=d._getColWidthFromSettings(e);return t=d.runHooks("modifyColWidth",t,e),void 0===t&&(t=_t["a"]),t},this._getRowHeightFromSettings=function(e){let t=S.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=d._getRowHeightFromSettings(e);return t=d.runHooks("modifyRowHeight",t,e),t},this.countSourceRows=function(){return f.countRows()},this.countSourceCols=function(){return f.countFirstRowKeys()},this.countRows=function(){return p.getLength()},this.countCols=function(){const e=S.maxCols,t=this.columnIndexMapper.getNotTrimmedIndexesLength();return Math.min(e,t)},this.countRenderedRows=function(){return d.view._wt.drawn?d.view._wt.wtTable.getRenderedRowsCount():-1},this.countVisibleRows=function(){return d.view._wt.drawn?d.view._wt.wtTable.getVisibleRowsCount():-1},this.countRenderedCols=function(){return d.view._wt.drawn?d.view._wt.wtTable.getRenderedColumnsCount():-1},this.countVisibleCols=function(){return d.view._wt.drawn?d.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(K["rangeEachReverse"])(d.countRows()-1,r=>{if(d.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(K["rangeEachReverse"])(d.countCols()-1,r=>{if(d.isEmptyCol(r))t+=1;else if(!0===e)return!1}),t},this.isEmptyRow=function(e){return S.isEmptyRow.call(d,e)},this.isEmptyCol=function(e){return S.isEmptyCol.call(d,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&&_.suspend();const n=L.selectCells(e);return n&&r&&d.listen(),_.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 L.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 L.selectRows(e,t,r)},this.deselectCell=function(){L.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;_.skipNextScrollCycle(),L.selectAll(e,t,r)};const X=(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,c,u,h;void 0!==a&&(l="top"===a,c=!l),void 0!==o&&(u="start"===o,h=!u);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?X(this.rowIndexMapper,n):void 0,a=t?X(this.columnIndexMapper,i):void 0;if(null===r||null===a)return!1;p=e?d.rowIndexMapper.getRenderableFromVisualIndex(r):n,f=t?d.columnIndexMapper.getRenderableFromVisualIndex(a):i}const m=Number.isInteger(p),A=Number.isInteger(f);return m&&p>=0&&A&&f>=0?d.view.scrollViewport(d._createCellCoords(p,f),l,h,c,u):m&&p>=0&&(A&&f<0||!A)?d.view.scrollViewportVertically(p,l,c):!!(A&&f>=0&&(m&&p<0||!m))&&d.view.scrollViewportHorizontally(f,h,u)},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(d._clearTimeouts(),d._clearImmediates(),d.view&&d.view.destroy(),f&&f.destroy(),f=null,this.getShortcutManager().destroy(),C.clearCache(),vc.delete(this.guid),Wi(d)){const e=this.rootDocument.querySelector(".hot-display-license-info");e&&e.parentNode.removeChild(e)}Object(n["empty"])(d.rootElement),h.destroy(),A&&A.destroy(),d.batchExecution(()=>{d.rowIndexMapper.unregisterAll(),d.columnIndexMapper.unregisterAll(),x.getItems().forEach(e=>{let[,t]=e;t.destroy()}),x.clear(),d.runHooks("afterDestroy")},!0),ro["a"].getSingleton().destroy(d),Object(E["objectEach"])(d,(e,t,r)=>{Object(i["isFunction"])(e)?r[t]=$(t):"guid"!==t&&(r[t]=null)}),d.isDestroyed=!0,p&&p.destroy(),p=null,m=null,L=null,A=null,d=null},this.getActiveEditor=function(){return A.getActiveEditor()},this.getFirstRenderedVisibleRow=function(){return d.view.getFirstRenderedVisibleRow()},this.getLastRenderedVisibleRow=function(){return d.view.getLastRenderedVisibleRow()},this.getFirstRenderedVisibleColumn=function(){return d.view.getFirstRenderedVisibleColumn()},this.getLastRenderedVisibleColumn=function(){return d.view.getLastRenderedVisibleColumn()},this.getFirstFullyVisibleRow=function(){return d.view.getFirstFullyVisibleRow()},this.getLastFullyVisibleRow=function(){return d.view.getLastFullyVisibleRow()},this.getFirstFullyVisibleColumn=function(){return d.view.getFirstFullyVisibleColumn()},this.getLastFullyVisibleColumn=function(){return d.view.getLastFullyVisibleColumn()},this.getFirstPartiallyVisibleRow=function(){return d.view.getFirstPartiallyVisibleRow()},this.getLastPartiallyVisibleRow=function(){return d.view.getLastPartiallyVisibleRow()},this.getFirstPartiallyVisibleColumn=function(){return d.view.getFirstPartiallyVisibleColumn()},this.getLastPartiallyVisibleColumn=function(){return d.view.getLastPartiallyVisibleColumn()},this.getPlugin=function(e){const t=Object(G["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 d},this.addHook=function(e,t,r){ro["a"].getSingleton().add(e,t,d,r)},this.hasHook=function(e){return ro["a"].getSingleton().has(e,d)||ro["a"].getSingleton().has(e)},this.addHookOnce=function(e,t,r){ro["a"].getSingleton().once(e,t,d,r)},this.removeHook=function(e,t){ro["a"].getSingleton().remove(e,t,d)},this.runHooks=function(e,t,r,n,i,a,o){return ro["a"].getSingleton().run(d,e,t,r,n,i,a,o)},this.getTranslatedPhrase=function(e,t){return xo(S.language,e,t)},this.toHTML=()=>Object(W["instanceToHTML"])(this),this.toTableElement=()=>{const e=this.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",Object(W["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(Y["arrayEach"])(this.timeouts,e=>{clearTimeout(e)})},this.immediates=[],this._registerImmediate=function(e){this.immediates.push(setImmediate(e))},this._clearImmediates=function(){Object(Y["arrayEach"])(this.immediates,e=>{clearImmediate(e)})},this._getEditorManager=function(){return A},this.isRtl=function(){return"rtl"===d.rootWindow.getComputedStyle(d.rootElement).direction},this.isLtr=function(){return!d.isRtl()},this.getDirectionFactor=function(){return d.isLtr()?1:-1};const Z=Ac({handleEvent(){return d.isListening()},beforeKeyDown:e=>this.runHooks("beforeKeyDown",e),afterKeyDown:e=>{this.isDestroyed||d.runHooks("afterDocumentKeyDown",e)},ownerWindow:this.rootWindow});this.addHook("beforeOnCellMouseDown",e=>{!1===e.ctrlKey&&!1===e.metaKey&&Z.releasePressedKeys()}),this.getShortcutManager=function(){return Z},this.getFocusManager=function(){return g},Object(Q["b"])().forEach(e=>{const t=Object(Q["a"])(e);x.addItem(e,new t(this))}),Object(gc["a"])(d),Z.setActiveContextName("grid"),ro["a"].getSingleton().run(d,"construct")}var wc=r("ef07"),yc=r("13e1");function Ec(e,t){const r=new bc(e,t||{},Hi);return r.init(),r}Object(Ys["d"])(wc["a"]),Ec.editors={BaseEditor:yc["a"]},Ec.Core=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new bc(e,t,Hi)},Ec.DefaultSettings=Xs(),Ec.hooks=ro["a"].getSingleton(),Ec.CellCoords=_r["a"],Ec.CellRange=vr["a"],Ec.packageName="handsontable",Ec.buildDate="17/10/2024 09:16:16",Ec.version="14.6.1",Ec.languages={dictionaryKeys:Ao,getLanguageDictionary:Co,getLanguagesDictionaries:Mo,registerLanguageDictionary:yo,getTranslatedPhrase:xo};t["a"]=Ec},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},c0e9:function(e,t,r){
  578. /*!
  579. * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
  580. * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
  581. * Released under MIT License
  582. */
  583. (function(t,r){e.exports=r()})(0,(function(){"use strict";
  584. /*! *****************************************************************************
  585. Copyright (c) Microsoft Corporation.
  586. Permission to use, copy, modify, and/or distribute this software for any
  587. purpose with or without fee is hereby granted.
  588. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  589. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  590. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  591. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  592. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  593. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  594. PERFORMANCE OF THIS SOFTWARE.
  595. ***************************************************************************** */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)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};function t(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return r=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},r.apply(this,arguments)};function n(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{l(n.next(e))}catch(Qt){a(Qt)}}function s(e){try{l(n["throw"](e))}catch(Qt){a(Qt)}}function l(e){e.done?r(e.value):i(e.value).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,n&&(i=2&a[0]?n["return"]:a[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(Qt){a=[6,Qt],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function a(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||t)}for(var o=function(){function e(e,t,r,n){this.left=e,this.top=t,this.width=r,this.height=n}return e.prototype.add=function(t,r,n,i){return new e(this.left+t,this.top+r,this.width+n,this.height+i)},e.fromClientRect=function(t,r){return new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(t,r){var n=Array.from(r).find((function(e){return 0!==e.width}));return n?new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return o.fromClientRect(e,t.getBoundingClientRect())},l=function(e){var t=e.body,r=e.documentElement;if(!t||!r)throw new Error("Unable to get document size");var n=Math.max(Math.max(t.scrollWidth,r.scrollWidth),Math.max(t.offsetWidth,r.offsetWidth),Math.max(t.clientWidth,r.clientWidth)),i=Math.max(Math.max(t.scrollHeight,r.scrollHeight),Math.max(t.offsetHeight,r.offsetHeight),Math.max(t.clientHeight,r.clientHeight));return new o(0,0,n,i)},c=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);56320===(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),r--)}else t.push(i)}return t},u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";var n=[],i=-1,a="";while(++i<r){var o=e[i];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(i+1===r||n.length>16384)&&(a+=String.fromCharCode.apply(String,n),n.length=0)}return a},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"===typeof Uint8Array?[]:new Uint8Array(256),p=0;p<d.length;p++)h[d.charCodeAt(p)]=p;for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m="undefined"===typeof Uint8Array?[]:new Uint8Array(256),A=0;A<f.length;A++)m[f.charCodeAt(A)]=A;for(var g=function(e){var t,r,n,i,a,o=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)r=m[e.charCodeAt(t)],n=m[e.charCodeAt(t+1)],i=m[e.charCodeAt(t+2)],a=m[e.charCodeAt(t+3)],u[l++]=r<<2|n>>4,u[l++]=(15&n)<<4|i>>2,u[l++]=(3&i)<<6|63&a;return c},_=function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r.push(e[n+1]<<8|e[n]);return r},v=function(e){for(var t=e.length,r=[],n=0;n<t;n+=4)r.push(e[n+3]<<24|e[n+2]<<16|e[n+1]<<8|e[n]);return r},b=5,w=11,y=2,E=w-b,C=65536>>b,S=1<<b,M=S-1,x=1024>>b,T=C+x,O=T,N=32,R=O+N,L=65536>>w,I=1<<E,k=I-1,B=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},D=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},F=function(e,t){var r=g(e),n=Array.isArray(r)?v(r):new Uint32Array(r),i=Array.isArray(r)?_(r):new Uint16Array(r),a=24,o=B(i,a/2,n[4]/2),s=2===n[5]?B(i,(a+n[4])/2):D(n,Math.ceil((a+n[4])/4));return new P(n[0],n[1],n[2],n[3],o,s)},P=function(){function e(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>b],t=(t<<y)+(e&M),this.data[t];if(e<=65535)return t=this.index[C+(e-55296>>b)],t=(t<<y)+(e&M),this.data[t];if(e<this.highStart)return t=R-L+(e>>w),t=this.index[t],t+=e>>b&k,t=this.index[t],t=(t<<y)+(e&M),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U="undefined"===typeof Uint8Array?[]:new Uint8Array(256),H=0;H<j.length;H++)U[j.charCodeAt(H)]=H;var V="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Y=50,W=1,Q=2,z=3,q=4,G=5,K=7,X=8,$=9,Z=10,J=11,ee=12,te=13,re=14,ne=15,ie=16,ae=17,oe=18,se=19,le=20,ce=21,ue=22,de=23,he=24,pe=25,fe=26,me=27,Ae=28,ge=29,_e=30,ve=31,be=32,we=33,ye=34,Ee=35,Ce=36,Se=37,Me=38,xe=39,Te=40,Oe=41,Ne=42,Re=43,Le=[9001,65288],Ie="!",ke="×",Be="÷",De=F(V),Fe=[_e,Ce],Pe=[W,Q,z,G],je=[Z,X],Ue=[me,fe],He=Pe.concat(je),Ve=[Me,xe,Te,ye,Ee],Ye=[ne,te],We=function(e,t){void 0===t&&(t="strict");var r=[],n=[],i=[];return e.forEach((function(e,a){var o=De.get(e);if(o>Y?(i.push(!0),o-=Y):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return n.push(a),r.push(ie);if(o===q||o===J){if(0===a)return n.push(a),r.push(_e);var s=r[a-1];return-1===He.indexOf(s)?(n.push(n[a-1]),r.push(s)):(n.push(a),r.push(_e))}return n.push(a),o===ve?r.push("strict"===t?ce:Se):o===Ne||o===ge?r.push(_e):o===Re?e>=131072&&e<=196605||e>=196608&&e<=262141?r.push(Se):r.push(_e):void r.push(o)})),[n,r,i]},Qe=function(e,t,r,n){var i=n[r];if(Array.isArray(e)?-1!==e.indexOf(i):e===i){var a=r;while(a<=n.length){a++;var o=n[a];if(o===t)return!0;if(o!==Z)break}}if(i===Z){a=r;while(a>0){a--;var s=n[a];if(Array.isArray(e)?-1!==e.indexOf(s):e===s){var l=r;while(l<=n.length){l++;o=n[l];if(o===t)return!0;if(o!==Z)break}}if(s!==Z)break}}return!1},ze=function(e,t){var r=e;while(r>=0){var n=t[r];if(n!==Z)return n;r--}return 0},qe=function(e,t,r,n,i){if(0===r[n])return ke;var a=n-1;if(Array.isArray(i)&&!0===i[a])return ke;var o=a-1,s=a+1,l=t[a],c=o>=0?t[o]:0,u=t[s];if(l===Q&&u===z)return ke;if(-1!==Pe.indexOf(l))return Ie;if(-1!==Pe.indexOf(u))return ke;if(-1!==je.indexOf(u))return ke;if(ze(a,t)===X)return Be;if(De.get(e[a])===J)return ke;if((l===be||l===we)&&De.get(e[s])===J)return ke;if(l===K||u===K)return ke;if(l===$)return ke;if(-1===[Z,te,ne].indexOf(l)&&u===$)return ke;if(-1!==[ae,oe,se,he,Ae].indexOf(u))return ke;if(ze(a,t)===ue)return ke;if(Qe(de,ue,a,t))return ke;if(Qe([ae,oe],ce,a,t))return ke;if(Qe(ee,ee,a,t))return ke;if(l===Z)return Be;if(l===de||u===de)return ke;if(u===ie||l===ie)return Be;if(-1!==[te,ne,ce].indexOf(u)||l===re)return ke;if(c===Ce&&-1!==Ye.indexOf(l))return ke;if(l===Ae&&u===Ce)return ke;if(u===le)return ke;if(-1!==Fe.indexOf(u)&&l===pe||-1!==Fe.indexOf(l)&&u===pe)return ke;if(l===me&&-1!==[Se,be,we].indexOf(u)||-1!==[Se,be,we].indexOf(l)&&u===fe)return ke;if(-1!==Fe.indexOf(l)&&-1!==Ue.indexOf(u)||-1!==Ue.indexOf(l)&&-1!==Fe.indexOf(u))return ke;if(-1!==[me,fe].indexOf(l)&&(u===pe||-1!==[ue,ne].indexOf(u)&&t[s+1]===pe)||-1!==[ue,ne].indexOf(l)&&u===pe||l===pe&&-1!==[pe,Ae,he].indexOf(u))return ke;if(-1!==[pe,Ae,he,ae,oe].indexOf(u)){var d=a;while(d>=0){var h=t[d];if(h===pe)return ke;if(-1===[Ae,he].indexOf(h))break;d--}}if(-1!==[me,fe].indexOf(u)){d=-1!==[ae,oe].indexOf(l)?o:a;while(d>=0){h=t[d];if(h===pe)return ke;if(-1===[Ae,he].indexOf(h))break;d--}}if(Me===l&&-1!==[Me,xe,ye,Ee].indexOf(u)||-1!==[xe,ye].indexOf(l)&&-1!==[xe,Te].indexOf(u)||-1!==[Te,Ee].indexOf(l)&&u===Te)return ke;if(-1!==Ve.indexOf(l)&&-1!==[le,fe].indexOf(u)||-1!==Ve.indexOf(u)&&l===me)return ke;if(-1!==Fe.indexOf(l)&&-1!==Fe.indexOf(u))return ke;if(l===he&&-1!==Fe.indexOf(u))return ke;if(-1!==Fe.concat(pe).indexOf(l)&&u===ue&&-1===Le.indexOf(e[s])||-1!==Fe.concat(pe).indexOf(u)&&l===oe)return ke;if(l===Oe&&u===Oe){var p=r[a],f=1;while(p>0){if(p--,t[p]!==Oe)break;f++}if(f%2!==0)return ke}return l===be&&u===we?ke:Be},Ge=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var r=We(e,t.lineBreak),n=r[0],i=r[1],a=r[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(e){return-1!==[pe,_e,Ne].indexOf(e)?Se:e})));var o="keep-all"===t.wordBreak?a.map((function(t,r){return t&&e[r]>=19968&&e[r]<=40959})):void 0;return[n,i,o]},Ke=function(){function e(e,t,r,n){this.codePoints=e,this.required=t===Ie,this.start=r,this.end=n}return e.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Xe=function(e,t){var r=c(e),n=Ge(r,t),i=n[0],a=n[1],o=n[2],s=r.length,l=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};var e=ke;while(u<s&&(e=qe(r,a,i,++u,o))===ke);if(e!==ke||u===s){var t=new Ke(r,e,l,u);return l=u,{value:t,done:!1}}return{done:!0,value:null}}}},$e=1,Ze=2,Je=4,et=8,tt=10,rt=47,nt=92,it=9,at=32,ot=34,st=61,lt=35,ct=36,ut=37,dt=39,ht=40,pt=41,ft=95,mt=45,At=33,gt=60,_t=62,vt=64,bt=91,wt=93,yt=61,Et=123,Ct=63,St=125,Mt=124,xt=126,Tt=128,Ot=65533,Nt=42,Rt=43,Lt=44,It=58,kt=59,Bt=46,Dt=0,Ft=8,Pt=11,jt=14,Ut=31,Ht=127,Vt=-1,Yt=48,Wt=97,Qt=101,zt=102,qt=117,Gt=122,Kt=65,Xt=69,$t=70,Zt=85,Jt=90,er=function(e){return e>=Yt&&e<=57},tr=function(e){return e>=55296&&e<=57343},rr=function(e){return er(e)||e>=Kt&&e<=$t||e>=Wt&&e<=zt},nr=function(e){return e>=Wt&&e<=Gt},ir=function(e){return e>=Kt&&e<=Jt},ar=function(e){return nr(e)||ir(e)},or=function(e){return e>=Tt},sr=function(e){return e===tt||e===it||e===at},lr=function(e){return ar(e)||or(e)||e===ft},cr=function(e){return lr(e)||er(e)||e===mt},ur=function(e){return e>=Dt&&e<=Ft||e===Pt||e>=jt&&e<=Ut||e===Ht},dr=function(e,t){return e===nt&&t!==tt},hr=function(e,t,r){return e===mt?lr(t)||dr(t,r):!!lr(e)||!(e!==nt||!dr(e,t))},pr=function(e,t,r){return e===Rt||e===mt?!!er(t)||t===Bt&&er(r):er(e===Bt?t:e)},fr=function(e){var t=0,r=1;e[t]!==Rt&&e[t]!==mt||(e[t]===mt&&(r=-1),t++);var n=[];while(er(e[t]))n.push(e[t++]);var i=n.length?parseInt(u.apply(void 0,n),10):0;e[t]===Bt&&t++;var a=[];while(er(e[t]))a.push(e[t++]);var o=a.length,s=o?parseInt(u.apply(void 0,a),10):0;e[t]!==Xt&&e[t]!==Qt||t++;var l=1;e[t]!==Rt&&e[t]!==mt||(e[t]===mt&&(l=-1),t++);var c=[];while(er(e[t]))c.push(e[t++]);var d=c.length?parseInt(u.apply(void 0,c),10):0;return r*(i+s*Math.pow(10,-o))*Math.pow(10,l*d)},mr={type:2},Ar={type:3},gr={type:4},_r={type:13},vr={type:8},br={type:21},wr={type:9},yr={type:10},Er={type:11},Cr={type:12},Sr={type:14},Mr={type:23},xr={type:1},Tr={type:25},Or={type:24},Nr={type:26},Rr={type:27},Lr={type:28},Ir={type:29},kr={type:31},Br={type:32},Dr=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(c(e))},e.prototype.read=function(){var e=[],t=this.consumeToken();while(t!==Br)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case ot:return this.consumeStringToken(ot);case lt:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(cr(t)||dr(r,n)){var i=hr(t,r,n)?Ze:$e,a=this.consumeName();return{type:5,value:a,flags:i}}break;case ct:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),_r;break;case dt:return this.consumeStringToken(dt);case ht:return mr;case pt:return Ar;case Nt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),Sr;break;case Rt:if(pr(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Lt:return gr;case mt:var o=e,s=this.peekCodePoint(0),l=this.peekCodePoint(1);if(pr(o,s,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(hr(o,s,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===mt&&l===_t)return this.consumeCodePoint(),this.consumeCodePoint(),Or;break;case Bt:if(pr(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case rt:if(this.peekCodePoint(0)===Nt){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===Nt&&(c=this.consumeCodePoint(),c===rt))return this.consumeToken();if(c===Vt)return this.consumeToken()}}break;case It:return Nr;case kt:return Rr;case gt:if(this.peekCodePoint(0)===At&&this.peekCodePoint(1)===mt&&this.peekCodePoint(2)===mt)return this.consumeCodePoint(),this.consumeCodePoint(),Tr;break;case vt:var d=this.peekCodePoint(0),h=this.peekCodePoint(1),p=this.peekCodePoint(2);if(hr(d,h,p)){a=this.consumeName();return{type:7,value:a}}break;case bt:return Lr;case nt:if(dr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case wt:return Ir;case yt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),vr;break;case Et:return Er;case St:return Cr;case qt:case Zt:var f=this.peekCodePoint(0),m=this.peekCodePoint(1);return f!==Rt||!rr(m)&&m!==Ct||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Mt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),wr;if(this.peekCodePoint(0)===Mt)return this.consumeCodePoint(),br;break;case xt:if(this.peekCodePoint(0)===st)return this.consumeCodePoint(),yr;break;case Vt:return Br}return sr(e)?(this.consumeWhiteSpace(),kr):er(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):lr(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:u(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return"undefined"===typeof e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){var e=[],t=this.consumeCodePoint();while(rr(t)&&e.length<6)e.push(t),t=this.consumeCodePoint();var r=!1;while(t===Ct&&e.length<6)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(u.apply(void 0,e.map((function(e){return e===Ct?Yt:e}))),16),i=parseInt(u.apply(void 0,e.map((function(e){return e===Ct?$t:e}))),16);return{type:30,start:n,end:i}}var a=parseInt(u.apply(void 0,e),16);if(this.peekCodePoint(0)===mt&&rr(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var o=[];while(rr(t)&&o.length<6)o.push(t),t=this.consumeCodePoint();i=parseInt(u.apply(void 0,o),16);return{type:30,start:a,end:i}}return{type:30,start:a,end:a}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===dt||t===ot){var r=this.consumeStringToken(this.consumeCodePoint());return 0===r.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt||this.peekCodePoint(0)===pt)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Mr)}while(1){var n=this.consumeCodePoint();if(n===Vt||n===pt)return{type:22,value:u.apply(void 0,e)};if(sr(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt||this.peekCodePoint(0)===pt?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Mr);if(n===ot||n===dt||n===ht||ur(n))return this.consumeBadUrlRemnants(),Mr;if(n===nt){if(!dr(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Mr;e.push(this.consumeEscapedCodePoint())}else e.push(n)}},e.prototype.consumeWhiteSpace=function(){while(sr(this.peekCodePoint(0)))this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){while(1){var e=this.consumeCodePoint();if(e===pt||e===Vt)return;dr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){var t=5e4,r="";while(e>0){var n=Math.min(t,e);r+=u.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},e.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===Vt||void 0===n||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===tt)return this._value.splice(0,r),xr;if(n===nt){var i=this._value[r+1];i!==Vt&&void 0!==i&&(i===tt?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):dr(n,i)&&(t+=this.consumeStringSlice(r),t+=u(this.consumeEscapedCodePoint()),r=-1))}r++}while(1)},e.prototype.consumeNumber=function(){var e=[],t=Je,r=this.peekCodePoint(0);r!==Rt&&r!==mt||e.push(this.consumeCodePoint());while(er(this.peekCodePoint(0)))e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Bt&&er(n)){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(er(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===Xt||r===Qt)&&((n===Rt||n===mt)&&er(i)||er(n))){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(er(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}return[fr(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),a=this.peekCodePoint(2);if(hr(n,i,a)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===ut?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(rr(e)){var t=u(e);while(rr(this.peekCodePoint(0))&&t.length<6)t+=u(this.consumeCodePoint());sr(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return 0===r||tr(r)||r>1114111?Ot:r}return e===Vt?Ot:e},e.prototype.consumeName=function(){var e="";while(1){var t=this.consumeCodePoint();if(cr(t))e+=u(t);else{if(!dr(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=u(this.consumeEscapedCodePoint())}}},e}(),Fr=function(){function e(e){this._tokens=e}return e.create=function(t){var r=new Dr;return r.write(t),new e(r.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){var e=this.consumeToken();while(31===e.type)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){var e=[];while(1){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){var t={type:e,values:[]},r=this.consumeToken();while(1){if(32===r.type||zr(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(e){var t={name:e.value,values:[],type:18};while(1){var r=this.consumeToken();if(32===r.type||3===r.type)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?Br:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Pr=function(e){return 15===e.type},jr=function(e){return 17===e.type},Ur=function(e){return 20===e.type},Hr=function(e){return 0===e.type},Vr=function(e,t){return Ur(e)&&e.value===t},Yr=function(e){return 31!==e.type},Wr=function(e){return 31!==e.type&&4!==e.type},Qr=function(e){var t=[],r=[];return e.forEach((function(e){if(4===e.type){if(0===r.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(r),void(r=[])}31!==e.type&&r.push(e)})),r.length&&t.push(r),t},zr=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},qr=function(e){return 17===e.type||15===e.type},Gr=function(e){return 16===e.type||qr(e)},Kr=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Xr={type:17,number:0,flags:Je},$r={type:16,number:50,flags:Je},Zr={type:16,number:100,flags:Je},Jr=function(e,t,r){var n=e[0],i=e[1];return[en(n,t),en("undefined"!==typeof i?i:n,r)]},en=function(e,t){if(16===e.type)return e.number/100*t;if(Pr(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},tn="deg",rn="grad",nn="rad",an="turn",on={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case tn:return Math.PI*t.number/180;case rn:return Math.PI/200*t.number;case nn:return t.number;case an:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},sn=function(e){return 15===e.type&&(e.unit===tn||e.unit===rn||e.unit===nn||e.unit===an)},ln=function(e){var t=e.filter(Ur).map((function(e){return e.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xr,Xr];case"to top":case"bottom":return cn(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xr,Zr];case"to right":case"left":return cn(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Zr,Zr];case"to bottom":case"top":return cn(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Zr,Xr];case"to left":case"right":return cn(270)}return 0},cn=function(e){return Math.PI*e/180},un={name:"color",parse:function(e,t){if(18===t.type){var r=_n[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return r(e,t.values)}if(5===t.type){if(3===t.value.length){var n=t.value.substring(0,1),i=t.value.substring(1,2),a=t.value.substring(2,3);return pn(parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16),1)}if(4===t.value.length){n=t.value.substring(0,1),i=t.value.substring(1,2),a=t.value.substring(2,3);var o=t.value.substring(3,4);return pn(parseInt(n+n,16),parseInt(i+i,16),parseInt(a+a,16),parseInt(o+o,16)/255)}if(6===t.value.length){n=t.value.substring(0,2),i=t.value.substring(2,4),a=t.value.substring(4,6);return pn(parseInt(n,16),parseInt(i,16),parseInt(a,16),1)}if(8===t.value.length){n=t.value.substring(0,2),i=t.value.substring(2,4),a=t.value.substring(4,6),o=t.value.substring(6,8);return pn(parseInt(n,16),parseInt(i,16),parseInt(a,16),parseInt(o,16)/255)}}if(20===t.type){var s=bn[t.value.toUpperCase()];if("undefined"!==typeof s)return s}return bn.TRANSPARENT}},dn=function(e){return 0===(255&e)},hn=function(e){var t=255&e,r=255&e>>8,n=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+n+","+r+","+t/255+")":"rgb("+i+","+n+","+r+")"},pn=function(e,t,r,n){return(e<<24|t<<16|r<<8|Math.round(255*n)<<0)>>>0},fn=function(e,t){if(17===e.type)return e.number;if(16===e.type){var r=3===t?1:255;return 3===t?e.number/100*r:Math.round(e.number/100*r)}return 0},mn=function(e,t){var r=t.filter(Wr);if(3===r.length){var n=r.map(fn),i=n[0],a=n[1],o=n[2];return pn(i,a,o,1)}if(4===r.length){var s=r.map(fn),l=(i=s[0],a=s[1],o=s[2],s[3]);return pn(i,a,o,l)}return 0};function An(e,t,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(t-e)*r*6+e:r<.5?t:r<2/3?6*(t-e)*(2/3-r)+e:e}var gn=function(e,t){var r=t.filter(Wr),n=r[0],i=r[1],a=r[2],o=r[3],s=(17===n.type?cn(n.number):on.parse(e,n))/(2*Math.PI),l=Gr(i)?i.number/100:0,c=Gr(a)?a.number/100:0,u="undefined"!==typeof o&&Gr(o)?en(o,1):1;if(0===l)return pn(255*c,255*c,255*c,1);var d=c<=.5?c*(l+1):c+l-c*l,h=2*c-d,p=An(h,d,s+1/3),f=An(h,d,s),m=An(h,d,s-1/3);return pn(255*p,255*f,255*m,u)},_n={hsl:gn,hsla:gn,rgb:mn,rgba:mn},vn=function(e,t){return un.parse(e,Fr.create(t).parseComponentValue())},bn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},wn={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Ur(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},yn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},En=function(e,t){var r=un.parse(e,t[0]),n=t[1];return n&&Gr(n)?{color:r,stop:n}:{color:r,stop:null}},Cn=function(e,t){var r=e[0],n=e[e.length-1];null===r.stop&&(r.stop=Xr),null===n.stop&&(n.stop=Zr);for(var i=[],a=0,o=0;o<e.length;o++){var s=e[o].stop;if(null!==s){var l=en(s,t);l>a?i.push(l):i.push(a),a=l}else i.push(null)}var c=null;for(o=0;o<i.length;o++){var u=i[o];if(null===u)null===c&&(c=o);else if(null!==c){for(var d=o-c,h=i[c-1],p=(u-h)/(d+1),f=1;f<=d;f++)i[c+f-1]=p*f;c=null}}return e.map((function(e,r){var n=e.color;return{color:n,stop:Math.max(Math.min(1,i[r]/t),0)}}))},Sn=function(e,t,r){var n=t/2,i=r/2,a=en(e[0],t)-n,o=i-en(e[1],r);return(Math.atan2(o,a)+2*Math.PI)%(2*Math.PI)},Mn=function(e,t,r){var n="number"===typeof e?e:Sn(e,t,r),i=Math.abs(t*Math.sin(n))+Math.abs(r*Math.cos(n)),a=t/2,o=r/2,s=i/2,l=Math.sin(n-Math.PI/2)*s,c=Math.cos(n-Math.PI/2)*s;return[i,a-c,a+c,o-l,o+l]},xn=function(e,t){return Math.sqrt(e*e+t*t)},Tn=function(e,t,r,n,i){var a=[[0,0],[0,t],[e,0],[e,t]];return a.reduce((function(e,t){var a=t[0],o=t[1],s=xn(r-a,n-o);return(i?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},On=function(e,t,r,n,i){var a=0,o=0;switch(e.size){case 0:0===e.shape?a=o=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(r),Math.abs(r-i)):1===e.shape&&(a=Math.min(Math.abs(t),Math.abs(t-n)),o=Math.min(Math.abs(r),Math.abs(r-i)));break;case 2:if(0===e.shape)a=o=Math.min(xn(t,r),xn(t,r-i),xn(t-n,r),xn(t-n,r-i));else if(1===e.shape){var s=Math.min(Math.abs(r),Math.abs(r-i))/Math.min(Math.abs(t),Math.abs(t-n)),l=Tn(n,i,t,r,!0),c=l[0],u=l[1];a=xn(c-t,(u-r)/s),o=s*a}break;case 1:0===e.shape?a=o=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(r),Math.abs(r-i)):1===e.shape&&(a=Math.max(Math.abs(t),Math.abs(t-n)),o=Math.max(Math.abs(r),Math.abs(r-i)));break;case 3:if(0===e.shape)a=o=Math.max(xn(t,r),xn(t,r-i),xn(t-n,r),xn(t-n,r-i));else if(1===e.shape){s=Math.max(Math.abs(r),Math.abs(r-i))/Math.max(Math.abs(t),Math.abs(t-n));var d=Tn(n,i,t,r,!1);c=d[0],u=d[1];a=xn(c-t,(u-r)/s),o=s*a}break}return Array.isArray(e.size)&&(a=en(e.size[0],n),o=2===e.size.length?en(e.size[1],i):a),[a,o]},Nn=function(e,t){var r=cn(180),n=[];return Qr(t).forEach((function(t,i){if(0===i){var a=t[0];if(20===a.type&&"to"===a.value)return void(r=ln(t));if(sn(a))return void(r=on.parse(e,a))}var o=En(e,t);n.push(o)})),{angle:r,stops:n,type:1}},Rn=function(e,t){var r=cn(180),n=[];return Qr(t).forEach((function(t,i){if(0===i){var a=t[0];if(20===a.type&&-1!==["top","left","right","bottom"].indexOf(a.value))return void(r=ln(t));if(sn(a))return void(r=(on.parse(e,a)+cn(270))%cn(360))}var o=En(e,t);n.push(o)})),{angle:r,stops:n,type:1}},Ln=function(e,t){var r=cn(180),n=[],i=1,a=0,o=3,s=[];return Qr(t).forEach((function(t,r){var a=t[0];if(0===r){if(Ur(a)&&"linear"===a.value)return void(i=1);if(Ur(a)&&"radial"===a.value)return void(i=2)}if(18===a.type)if("from"===a.name){var o=un.parse(e,a.values[0]);n.push({stop:Xr,color:o})}else if("to"===a.name){o=un.parse(e,a.values[0]);n.push({stop:Zr,color:o})}else if("color-stop"===a.name){var s=a.values.filter(Wr);if(2===s.length){o=un.parse(e,s[1]);var l=s[0];jr(l)&&n.push({stop:{type:16,number:100*l.number,flags:l.flags},color:o})}}})),1===i?{angle:(r+cn(180))%cn(360),stops:n,type:i}:{size:o,shape:a,stops:n,position:s,type:i}},In="closest-side",kn="farthest-side",Bn="closest-corner",Dn="farthest-corner",Fn="circle",Pn="ellipse",jn="cover",Un="contain",Hn=function(e,t){var r=0,n=3,i=[],a=[];return Qr(t).forEach((function(t,o){var s=!0;if(0===o){var l=!1;s=t.reduce((function(e,t){if(l)if(Ur(t))switch(t.value){case"center":return a.push($r),e;case"top":case"left":return a.push(Xr),e;case"right":case"bottom":return a.push(Zr),e}else(Gr(t)||qr(t))&&a.push(t);else if(Ur(t))switch(t.value){case Fn:return r=0,!1;case Pn:return r=1,!1;case"at":return l=!0,!1;case In:return n=0,!1;case jn:case kn:return n=1,!1;case Un:case Bn:return n=2,!1;case Dn:return n=3,!1}else if(qr(t)||Gr(t))return Array.isArray(n)||(n=[]),n.push(t),!1;return e}),s)}if(s){var c=En(e,t);i.push(c)}})),{size:n,shape:r,stops:i,position:a,type:2}},Vn=function(e,t){var r=0,n=3,i=[],a=[];return Qr(t).forEach((function(t,o){var s=!0;if(0===o?s=t.reduce((function(e,t){if(Ur(t))switch(t.value){case"center":return a.push($r),!1;case"top":case"left":return a.push(Xr),!1;case"right":case"bottom":return a.push(Zr),!1}else if(Gr(t)||qr(t))return a.push(t),!1;return e}),s):1===o&&(s=t.reduce((function(e,t){if(Ur(t))switch(t.value){case Fn:return r=0,!1;case Pn:return r=1,!1;case Un:case In:return n=0,!1;case kn:return n=1,!1;case Bn:return n=2,!1;case jn:case Dn:return n=3,!1}else if(qr(t)||Gr(t))return Array.isArray(n)||(n=[]),n.push(t),!1;return e}),s)),s){var l=En(e,t);i.push(l)}})),{size:n,shape:r,stops:i,position:a,type:2}},Yn=function(e){return 1===e.type},Wn=function(e){return 2===e.type},Qn={name:"image",parse:function(e,t){if(22===t.type){var r={url:t.value,type:0};return e.cache.addImage(t.value),r}if(18===t.type){var n=Gn[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return n(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function zn(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!Gn[e.name])}var qn,Gn={"linear-gradient":Nn,"-moz-linear-gradient":Rn,"-ms-linear-gradient":Rn,"-o-linear-gradient":Rn,"-webkit-linear-gradient":Rn,"radial-gradient":Hn,"-moz-radial-gradient":Vn,"-ms-radial-gradient":Vn,"-o-radial-gradient":Vn,"-webkit-radial-gradient":Vn,"-webkit-gradient":Ln},Kn={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var r=t[0];return 20===r.type&&"none"===r.value?[]:t.filter((function(e){return Wr(e)&&zn(e)})).map((function(t){return Qn.parse(e,t)}))}},Xn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(Ur(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},$n={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Qr(t).map((function(e){return e.filter(Gr)})).map(Kr)}},Zn={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Qr(t).map((function(e){return e.filter(Ur).map((function(e){return e.value})).join(" ")})).map(Jn)}},Jn=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(e){e["AUTO"]="auto",e["CONTAIN"]="contain",e["COVER"]="cover"})(qn||(qn={}));var ei,ti={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Qr(t).map((function(e){return e.filter(ri)}))}},ri=function(e){return Ur(e)||Gr(e)},ni=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ii=ni("top"),ai=ni("right"),oi=ni("bottom"),si=ni("left"),li=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Kr(t.filter(Gr))}}},ci=li("top-left"),ui=li("top-right"),di=li("bottom-right"),hi=li("bottom-left"),pi=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},fi=pi("top"),mi=pi("right"),Ai=pi("bottom"),gi=pi("left"),_i=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Pr(t)?t.number:0}}},vi=_i("top"),bi=_i("right"),wi=_i("bottom"),yi=_i("left"),Ei={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ci={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},Si={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Ur).reduce((function(e,t){return e|Mi(t.value)}),0)}},Mi=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},xi={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ti={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(function(e){e["NORMAL"]="normal",e["STRICT"]="strict"})(ei||(ei={}));var Oi,Ni={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return ei.STRICT;case"normal":default:return ei.NORMAL}}},Ri={name:"line-height",initialValue:"normal",prefix:!1,type:4},Li=function(e,t){return Ur(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Gr(e)?en(e,t):t},Ii={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Qn.parse(e,t)}},ki={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},Bi={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Di=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Fi=Di("top"),Pi=Di("right"),ji=Di("bottom"),Ui=Di("left"),Hi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Ur).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Vi={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},Yi=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Wi=Yi("top"),Qi=Yi("right"),zi=Yi("bottom"),qi=Yi("left"),Gi={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ki={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Xi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Vr(t[0],"none")?[]:Qr(t).map((function(t){for(var r={color:bn.TRANSPARENT,offsetX:Xr,offsetY:Xr,blur:Xr},n=0,i=0;i<t.length;i++){var a=t[i];qr(a)?(0===n?r.offsetX=a:1===n?r.offsetY=a:r.blur=a,n++):r.color=un.parse(e,a)}return r}))}},$i={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Zi={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var r=ta[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return r(t.values)}return null}},Ji=function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},ea=function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),r=t[0],n=t[1];t[2],t[3];var i=t[4],a=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var o=t[12],s=t[13];return t[14],t[15],16===t.length?[r,n,i,a,o,s]:null},ta={matrix:Ji,matrix3d:ea},ra={type:16,number:50,flags:Je},na=[ra,ra],ia={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var r=t.filter(Gr);return 2!==r.length?na:[r[0],r[1]]}},aa={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};(function(e){e["NORMAL"]="normal",e["BREAK_ALL"]="break-all",e["KEEP_ALL"]="keep-all"})(Oi||(Oi={}));for(var oa={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Oi.BREAK_ALL;case"keep-all":return Oi.KEEP_ALL;case"normal":default:return Oi.NORMAL}}},sa={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(jr(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},la={name:"time",parse:function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},ca={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return jr(t)?t.number:1}},ua={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},da={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Ur).map((function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(e){return 0!==e}))}},ha={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var r=[],n=[];return t.forEach((function(e){switch(e.type){case 20:case 0:r.push(e.value);break;case 17:r.push(e.number.toString());break;case 4:n.push(r.join(" ")),r.length=0;break}})),r.length&&n.push(r.join(" ")),n.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},pa={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},fa={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(jr(t))return t.number;if(Ur(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},ma={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Ur).map((function(e){return e.value}))}},Aa={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ga=function(e,t){return 0!==(e&t)},_a={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var r=t[0];return 20===r.type&&"none"===r.value?[]:t}},va={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var r=t[0];if(20===r.type&&"none"===r.value)return null;for(var n=[],i=t.filter(Yr),a=0;a<i.length;a++){var o=i[a],s=i[a+1];if(20===o.type){var l=s&&jr(s)?s.number:1;n.push({counter:o.value,increment:l})}}return n}},ba={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var r=[],n=t.filter(Yr),i=0;i<n.length;i++){var a=n[i],o=n[i+1];if(Ur(a)&&"none"!==a.value){var s=o&&jr(o)?o.number:0;r.push({counter:a.value,reset:s})}}return r}},wa={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Pr).map((function(t){return la.parse(e,t)}))}},ya={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var r=t[0];if(20===r.type&&"none"===r.value)return null;var n=[],i=t.filter(Hr);if(i.length%2!==0)return null;for(var a=0;a<i.length;a+=2){var o=i[a].value,s=i[a+1].value;n.push({open:o,close:s})}return n}},Ea=function(e,t,r){if(!e)return"";var n=e[Math.min(t,e.length-1)];return n?r?n.open:n.close:""},Ca={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Vr(t[0],"none")?[]:Qr(t).map((function(t){for(var r={color:255,offsetX:Xr,offsetY:Xr,blur:Xr,spread:Xr,inset:!1},n=0,i=0;i<t.length;i++){var a=t[i];Vr(a,"inset")?r.inset=!0:qr(a)?(0===n?r.offsetX=a:1===n?r.offsetY=a:2===n?r.blur=a:r.spread=a,n++):r.color=un.parse(e,a)}return r}))}},Sa={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var r=[0,1,2],n=[];return t.filter(Ur).forEach((function(e){switch(e.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2);break}})),r.forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),n}},Ma={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},xa={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Pr(t)?t.number:0}},Ta=function(){function e(e,t){var r,n;this.animationDuration=Ra(e,wa,t.animationDuration),this.backgroundClip=Ra(e,wn,t.backgroundClip),this.backgroundColor=Ra(e,yn,t.backgroundColor),this.backgroundImage=Ra(e,Kn,t.backgroundImage),this.backgroundOrigin=Ra(e,Xn,t.backgroundOrigin),this.backgroundPosition=Ra(e,$n,t.backgroundPosition),this.backgroundRepeat=Ra(e,Zn,t.backgroundRepeat),this.backgroundSize=Ra(e,ti,t.backgroundSize),this.borderTopColor=Ra(e,ii,t.borderTopColor),this.borderRightColor=Ra(e,ai,t.borderRightColor),this.borderBottomColor=Ra(e,oi,t.borderBottomColor),this.borderLeftColor=Ra(e,si,t.borderLeftColor),this.borderTopLeftRadius=Ra(e,ci,t.borderTopLeftRadius),this.borderTopRightRadius=Ra(e,ui,t.borderTopRightRadius),this.borderBottomRightRadius=Ra(e,di,t.borderBottomRightRadius),this.borderBottomLeftRadius=Ra(e,hi,t.borderBottomLeftRadius),this.borderTopStyle=Ra(e,fi,t.borderTopStyle),this.borderRightStyle=Ra(e,mi,t.borderRightStyle),this.borderBottomStyle=Ra(e,Ai,t.borderBottomStyle),this.borderLeftStyle=Ra(e,gi,t.borderLeftStyle),this.borderTopWidth=Ra(e,vi,t.borderTopWidth),this.borderRightWidth=Ra(e,bi,t.borderRightWidth),this.borderBottomWidth=Ra(e,wi,t.borderBottomWidth),this.borderLeftWidth=Ra(e,yi,t.borderLeftWidth),this.boxShadow=Ra(e,Ca,t.boxShadow),this.color=Ra(e,Ei,t.color),this.direction=Ra(e,Ci,t.direction),this.display=Ra(e,Si,t.display),this.float=Ra(e,xi,t.cssFloat),this.fontFamily=Ra(e,ha,t.fontFamily),this.fontSize=Ra(e,pa,t.fontSize),this.fontStyle=Ra(e,Aa,t.fontStyle),this.fontVariant=Ra(e,ma,t.fontVariant),this.fontWeight=Ra(e,fa,t.fontWeight),this.letterSpacing=Ra(e,Ti,t.letterSpacing),this.lineBreak=Ra(e,Ni,t.lineBreak),this.lineHeight=Ra(e,Ri,t.lineHeight),this.listStyleImage=Ra(e,Ii,t.listStyleImage),this.listStylePosition=Ra(e,ki,t.listStylePosition),this.listStyleType=Ra(e,Bi,t.listStyleType),this.marginTop=Ra(e,Fi,t.marginTop),this.marginRight=Ra(e,Pi,t.marginRight),this.marginBottom=Ra(e,ji,t.marginBottom),this.marginLeft=Ra(e,Ui,t.marginLeft),this.opacity=Ra(e,ca,t.opacity);var i=Ra(e,Hi,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Ra(e,Vi,t.overflowWrap),this.paddingTop=Ra(e,Wi,t.paddingTop),this.paddingRight=Ra(e,Qi,t.paddingRight),this.paddingBottom=Ra(e,zi,t.paddingBottom),this.paddingLeft=Ra(e,qi,t.paddingLeft),this.paintOrder=Ra(e,Sa,t.paintOrder),this.position=Ra(e,Ki,t.position),this.textAlign=Ra(e,Gi,t.textAlign),this.textDecorationColor=Ra(e,ua,null!==(r=t.textDecorationColor)&&void 0!==r?r:t.color),this.textDecorationLine=Ra(e,da,null!==(n=t.textDecorationLine)&&void 0!==n?n:t.textDecoration),this.textShadow=Ra(e,Xi,t.textShadow),this.textTransform=Ra(e,$i,t.textTransform),this.transform=Ra(e,Zi,t.transform),this.transformOrigin=Ra(e,ia,t.transformOrigin),this.visibility=Ra(e,aa,t.visibility),this.webkitTextStrokeColor=Ra(e,Ma,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ra(e,xa,t.webkitTextStrokeWidth),this.wordBreak=Ra(e,oa,t.wordBreak),this.zIndex=Ra(e,sa,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return dn(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ga(this.display,4)||ga(this.display,33554432)||ga(this.display,268435456)||ga(this.display,536870912)||ga(this.display,67108864)||ga(this.display,134217728)},e}(),Oa=function(){function e(e,t){this.content=Ra(e,_a,t.content),this.quotes=Ra(e,ya,t.quotes)}return e}(),Na=function(){function e(e,t){this.counterIncrement=Ra(e,va,t.counterIncrement),this.counterReset=Ra(e,ba,t.counterReset)}return e}(),Ra=function(e,t,r){var n=new Dr,i=null!==r&&"undefined"!==typeof r?r.toString():t.initialValue;n.write(i);var a=new Fr(n.read());switch(t.type){case 2:var o=a.parseComponentValue();return t.parse(e,Ur(o)?o.value:t.initialValue);case 0:return t.parse(e,a.parseComponentValue());case 1:return t.parse(e,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(t.format){case"angle":return on.parse(e,a.parseComponentValue());case"color":return un.parse(e,a.parseComponentValue());case"image":return Qn.parse(e,a.parseComponentValue());case"length":var s=a.parseComponentValue();return qr(s)?s:Xr;case"length-percentage":var l=a.parseComponentValue();return Gr(l)?l:Xr;case"time":return la.parse(e,a.parseComponentValue())}break}},La="data-html2canvas-debug",Ia=function(e){var t=e.getAttribute(La);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ka=function(e,t){var r=Ia(e);return 1===r||t===r},Ba=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,ka(t,3),this.styles=new Ta(e,window.getComputedStyle(t,null)),Ns(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),ka(t,4)&&(this.flags|=16)}return e}(),Da="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Fa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pa="undefined"===typeof Uint8Array?[]:new Uint8Array(256),ja=0;ja<Fa.length;ja++)Pa[Fa.charCodeAt(ja)]=ja;for(var Ua=function(e){var t,r,n,i,a,o=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)r=Pa[e.charCodeAt(t)],n=Pa[e.charCodeAt(t+1)],i=Pa[e.charCodeAt(t+2)],a=Pa[e.charCodeAt(t+3)],u[l++]=r<<2|n>>4,u[l++]=(15&n)<<4|i>>2,u[l++]=(3&i)<<6|63&a;return c},Ha=function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r.push(e[n+1]<<8|e[n]);return r},Va=function(e){for(var t=e.length,r=[],n=0;n<t;n+=4)r.push(e[n+3]<<24|e[n+2]<<16|e[n+1]<<8|e[n]);return r},Ya=5,Wa=11,Qa=2,za=Wa-Ya,qa=65536>>Ya,Ga=1<<Ya,Ka=Ga-1,Xa=1024>>Ya,$a=qa+Xa,Za=$a,Ja=32,eo=Za+Ja,to=65536>>Wa,ro=1<<za,no=ro-1,io=function(e,t,r){return e.slice?e.slice(t,r):new Uint16Array(Array.prototype.slice.call(e,t,r))},ao=function(e,t,r){return e.slice?e.slice(t,r):new Uint32Array(Array.prototype.slice.call(e,t,r))},oo=function(e,t){var r=Ua(e),n=Array.isArray(r)?Va(r):new Uint32Array(r),i=Array.isArray(r)?Ha(r):new Uint16Array(r),a=24,o=io(i,a/2,n[4]/2),s=2===n[5]?io(i,(a+n[4])/2):ao(n,Math.ceil((a+n[4])/4));return new so(n[0],n[1],n[2],n[3],o,s)},so=function(){function e(e,t,r,n,i,a){this.initialValue=e,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=a}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Ya],t=(t<<Qa)+(e&Ka),this.data[t];if(e<=65535)return t=this.index[qa+(e-55296>>Ya)],t=(t<<Qa)+(e&Ka),this.data[t];if(e<this.highStart)return t=eo-to+(e>>Wa),t=this.index[t],t+=e>>Ya&no,t=this.index[t],t=(t<<Qa)+(e&Ka),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),lo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",co="undefined"===typeof Uint8Array?[]:new Uint8Array(256),uo=0;uo<lo.length;uo++)co[lo.charCodeAt(uo)]=uo;var ho,po=1,fo=2,mo=3,Ao=4,go=5,_o=7,vo=8,bo=9,wo=10,yo=11,Eo=12,Co=13,So=14,Mo=15,xo=function(e){var t=[],r=0,n=e.length;while(r<n){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);56320===(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),r--)}else t.push(i)}return t},To=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";var n=[],i=-1,a="";while(++i<r){var o=e[i];o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)),(i+1===r||n.length>16384)&&(a+=String.fromCharCode.apply(String,n),n.length=0)}return a},Oo=oo(Da),No="×",Ro="÷",Lo=function(e){return Oo.get(e)},Io=function(e,t,r){var n=r-2,i=t[n],a=t[r-1],o=t[r];if(a===fo&&o===mo)return No;if(a===fo||a===mo||a===Ao)return Ro;if(o===fo||o===mo||o===Ao)return Ro;if(a===vo&&-1!==[vo,bo,yo,Eo].indexOf(o))return No;if((a===yo||a===bo)&&(o===bo||o===wo))return No;if((a===Eo||a===wo)&&o===wo)return No;if(o===Co||o===go)return No;if(o===_o)return No;if(a===po)return No;if(a===Co&&o===So){while(i===go)i=t[--n];if(i===So)return No}if(a===Mo&&o===Mo){var s=0;while(i===Mo)s++,i=t[--n];if(s%2===0)return No}return Ro},ko=function(e){var t=xo(e),r=t.length,n=0,i=0,a=t.map(Lo);return{next:function(){if(n>=r)return{done:!0,value:null};var e=No;while(n<r&&(e=Io(t,a,++n))===No);if(e!==No||n===r){var o=To.apply(null,t.slice(i,n));return i=n,{value:o,done:!1}}return{done:!0,value:null}}}},Bo=function(e){var t,r=ko(e),n=[];while(!(t=r.next()).done)t.value&&n.push(t.value.slice());return n},Do=function(e){var t=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height=t+"px",n.style.display="block",e.body.appendChild(n),r.selectNode(n);var i=r.getBoundingClientRect(),a=Math.round(i.height);if(e.body.removeChild(n),a===t)return!0}}return!1},Fo=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var r=e.createRange();t.innerHTML="function"===typeof"".repeat?"&#128104;".repeat(10):"";var n=t.firstChild,i=c(n.data).map((function(e){return u(e)})),a=0,o={},s=i.every((function(e,t){r.setStart(n,a),r.setEnd(n,a+e.length);var i=r.getBoundingClientRect();a+=e.length;var s=i.x>o.x||i.y>o.y;return o=i,0===t||s}));return e.body.removeChild(t),s},Po=function(){return"undefined"!==typeof(new Image).crossOrigin},jo=function(){return"string"===typeof(new XMLHttpRequest).responseType},Uo=function(e){var t=new Image,r=e.createElement("canvas"),n=r.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(t,0,0),r.toDataURL()}catch(Qt){return!1}return!0},Ho=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Vo=function(e){var t=e.createElement("canvas"),r=100;t.width=r,t.height=r;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,r,r);var i=new Image,a=t.toDataURL();i.src=a;var o=Yo(r,r,0,0,i);return n.fillStyle="red",n.fillRect(0,0,r,r),Wo(o).then((function(t){n.drawImage(t,0,0);var i=n.getImageData(0,0,r,r).data;n.fillStyle="red",n.fillRect(0,0,r,r);var o=e.createElement("div");return o.style.backgroundImage="url("+a+")",o.style.height=r+"px",Ho(i)?Wo(Yo(r,r,0,0,o)):Promise.reject(!1)})).then((function(e){return n.drawImage(e,0,0),Ho(n.getImageData(0,0,r,r).data)})).catch((function(){return!1}))},Yo=function(e,t,r,n,i){var a="http://www.w3.org/2000/svg",o=document.createElementNS(a,"svg"),s=document.createElementNS(a,"foreignObject");return o.setAttributeNS(null,"width",e.toString()),o.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",r.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(s),s.appendChild(i),o},Wo=function(e){return new Promise((function(t,r){var n=new Image;n.onload=function(){return t(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Qo={get SUPPORT_RANGE_BOUNDS(){var e=Do(document);return Object.defineProperty(Qo,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Qo.SUPPORT_RANGE_BOUNDS&&Fo(document);return Object.defineProperty(Qo,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=Uo(document);return Object.defineProperty(Qo,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Vo(document):Promise.resolve(!1);return Object.defineProperty(Qo,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=Po();return Object.defineProperty(Qo,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=jo();return Object.defineProperty(Qo,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Qo,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Qo,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},zo=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),qo=function(e,t,r,n){var i=Zo(t,r),a=[],s=0;return i.forEach((function(t){if(r.textDecorationLine.length||t.trim().length>0)if(Qo.SUPPORT_RANGE_BOUNDS){var i=Ko(n,s,t.length).getClientRects();if(i.length>1){var l=Xo(t),c=0;l.forEach((function(t){a.push(new zo(t,o.fromDOMRectList(e,Ko(n,c+s,t.length).getClientRects()))),c+=t.length}))}else a.push(new zo(t,o.fromDOMRectList(e,i)))}else{var u=n.splitText(t.length);a.push(new zo(t,Go(e,n))),n=u}else Qo.SUPPORT_RANGE_BOUNDS||(n=n.splitText(t.length));s+=t.length})),a},Go=function(e,t){var r=t.ownerDocument;if(r){var n=r.createElement("html2canvaswrapper");n.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(n,t);var a=s(e,n);return n.firstChild&&i.replaceChild(n.firstChild,n),a}}return o.EMPTY},Ko=function(e,t,r){var n=e.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(e,t),i.setEnd(e,t+r),i},Xo=function(e){if(Qo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return Bo(e)},$o=function(e,t){if(Qo.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map((function(e){return e.segment}))}return es(e,t)},Zo=function(e,t){return 0!==t.letterSpacing?Xo(e):$o(e,t)},Jo=[32,160,4961,65792,65793,4153,4241],es=function(e,t){var r,n=Xe(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),i=[],a=function(){if(r.value){var e=r.value.slice(),t=c(e),n="";t.forEach((function(e){-1===Jo.indexOf(e)?n+=u(e):(n.length&&i.push(n),i.push(u(e)),n="")})),n.length&&i.push(n)}};while(!(r=n.next()).done)a();return i},ts=function(){function e(e,t,r){this.text=rs(t.data,r.textTransform),this.textBounds=qo(e,this.text,r,t)}return e}(),rs=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(ns,is);case 2:return e.toUpperCase();default:return e}},ns=/(^|\s|:|-|\(|\))([a-z])/g,is=function(e,t,r){return e.length>0?t+r.toUpperCase():e},as=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return t(r,e),r}(Ba),os=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return t(r,e),r}(Ba),ss=function(e){function r(t,r){var n=e.call(this,t,r)||this,i=new XMLSerializer,a=s(t,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return t(r,e),r}(Ba),ls=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.value=r.value,n}return t(r,e),r}(Ba),cs=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.start=r.start,n.reversed="boolean"===typeof r.reversed&&!0===r.reversed,n}return t(r,e),r}(Ba),us=[{type:15,flags:0,unit:"px",number:3}],ds=[{type:16,flags:0,number:50}],hs=function(e){return e.width>e.height?new o(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new o(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},ps=function(e){var t=e.type===As?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t},fs="checkbox",ms="radio",As="password",gs=707406591,_s=function(e){function r(t,r){var n=e.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=ps(r),n.type!==fs&&n.type!==ms||(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=hs(n.bounds)),n.type){case fs:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=us;break;case ms:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=ds;break}return n}return t(r,e),r}(Ba),vs=function(e){function r(t,r){var n=e.call(this,t,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return t(r,e),r}(Ba),bs=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.value=r.value,n}return t(r,e),r}(Ba),ws=function(e){function r(t,r){var n=e.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=Ss(t,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?vn(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):bn.TRANSPARENT,a=r.contentWindow.document.body?vn(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):bn.TRANSPARENT;n.backgroundColor=dn(i)?dn(a)?n.styles.backgroundColor:a:i}}catch(Qt){}return n}return t(r,e),r}(Ba),ys=["OL","UL","MENU"],Es=function(e,t,r,n){for(var i=t.firstChild,a=void 0;i;i=a)if(a=i.nextSibling,Ts(i)&&i.data.trim().length>0)r.textNodes.push(new ts(e,i,r.styles));else if(Os(i))if(zs(i)&&i.assignedNodes)i.assignedNodes().forEach((function(t){return Es(e,t,r,n)}));else{var o=Cs(e,i);o.styles.isVisible()&&(Ms(i,o,n)?o.flags|=4:xs(o.styles)&&(o.flags|=2),-1!==ys.indexOf(i.tagName)&&(o.flags|=8),r.elements.push(o),i.slot,i.shadowRoot?Es(e,i.shadowRoot,o,n):Ws(i)||Ds(i)||Qs(i)||Es(e,i,o,n))}},Cs=function(e,t){return Us(t)?new as(e,t):Ps(t)?new os(e,t):Ds(t)?new ss(e,t):Ls(t)?new ls(e,t):Is(t)?new cs(e,t):ks(t)?new _s(e,t):Qs(t)?new vs(e,t):Ws(t)?new bs(e,t):Hs(t)?new ws(e,t):new Ba(e,t)},Ss=function(e,t){var r=Cs(e,t);return r.flags|=4,Es(e,t,r,r),r},Ms=function(e,t,r){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Fs(e)&&r.styles.isTransparent()},xs=function(e){return e.isPositioned()||e.isFloating()},Ts=function(e){return e.nodeType===Node.TEXT_NODE},Os=function(e){return e.nodeType===Node.ELEMENT_NODE},Ns=function(e){return Os(e)&&"undefined"!==typeof e.style&&!Rs(e)},Rs=function(e){return"object"===typeof e.className},Ls=function(e){return"LI"===e.tagName},Is=function(e){return"OL"===e.tagName},ks=function(e){return"INPUT"===e.tagName},Bs=function(e){return"HTML"===e.tagName},Ds=function(e){return"svg"===e.tagName},Fs=function(e){return"BODY"===e.tagName},Ps=function(e){return"CANVAS"===e.tagName},js=function(e){return"VIDEO"===e.tagName},Us=function(e){return"IMG"===e.tagName},Hs=function(e){return"IFRAME"===e.tagName},Vs=function(e){return"STYLE"===e.tagName},Ys=function(e){return"SCRIPT"===e.tagName},Ws=function(e){return"TEXTAREA"===e.tagName},Qs=function(e){return"SELECT"===e.tagName},zs=function(e){return"SLOT"===e.tagName},qs=function(e){return e.tagName.indexOf("-")>0},Gs=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;null!==r&&r.forEach((function(e){var r=t.counters[e.counter];r&&0!==e.increment&&(i=!1,r.length||r.push(1),r[Math.max(0,r.length-1)]+=e.increment)}));var a=[];return i&&n.forEach((function(e){var r=t.counters[e.counter];a.push(e.counter),r||(r=t.counters[e.counter]=[]),r.push(e.reset)})),a},e}(),Ks={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Xs={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},$s={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Zs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Js=function(e,t,r,n,i,a){return e<t||e>r?hl(e,i,a.length>0):n.integers.reduce((function(t,r,i){while(e>=r)e-=r,t+=n.values[i];return t}),"")+a},el=function(e,t,r,n){var i="";do{r||e--,i=n(e)+i,e/=t}while(e*t>=t);return i},tl=function(e,t,r,n,i){var a=r-t+1;return(e<0?"-":"")+(el(Math.abs(e),a,n,(function(e){return u(Math.floor(e%a)+t)}))+i)},rl=function(e,t,r){void 0===r&&(r=". ");var n=t.length;return el(Math.abs(e),n,!1,(function(e){return t[Math.floor(e%n)]}))+r},nl=1,il=2,al=4,ol=8,sl=function(e,t,r,n,i,a){if(e<-9999||e>9999)return hl(e,4,i.length>0);var o=Math.abs(e),s=i;if(0===o)return t[0]+s;for(var l=0;o>0&&l<=4;l++){var c=o%10;0===c&&ga(a,nl)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&ga(a,il)||1===c&&1===l&&ga(a,al)&&e>100||1===c&&l>1&&ga(a,ol)?s=t[c]+(l>0?r[l-1]:"")+s:1===c&&l>0&&(s=r[l-1]+s),o=Math.floor(o/10)}return(e<0?n:"")+s},ll="十百千萬",cl="拾佰仟萬",ul="マイナス",dl="마이너스",hl=function(e,t,r){var n=r?". ":"",i=r?"、":"",a=r?", ":"",o=r?" ":"";switch(t){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var s=tl(e,48,57,!0,n);return s.length<4?"0"+s:s;case 4:return rl(e,"〇一二三四五六七八九",i);case 6:return Js(e,1,3999,Ks,3,n).toLowerCase();case 7:return Js(e,1,3999,Ks,3,n);case 8:return tl(e,945,969,!1,n);case 9:return tl(e,97,122,!1,n);case 10:return tl(e,65,90,!1,n);case 11:return tl(e,1632,1641,!0,n);case 12:case 49:return Js(e,1,9999,Xs,3,n);case 35:return Js(e,1,9999,Xs,3,n).toLowerCase();case 13:return tl(e,2534,2543,!0,n);case 14:case 30:return tl(e,6112,6121,!0,n);case 15:return rl(e,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return rl(e,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return sl(e,"零一二三四五六七八九",ll,"負",i,il|al|ol);case 47:return sl(e,"零壹貳參肆伍陸柒捌玖",cl,"負",i,nl|il|al|ol);case 42:return sl(e,"零一二三四五六七八九",ll,"负",i,il|al|ol);case 41:return sl(e,"零壹贰叁肆伍陆柒捌玖",cl,"负",i,nl|il|al|ol);case 26:return sl(e,"〇一二三四五六七八九","十百千万",ul,i,0);case 25:return sl(e,"零壱弐参四伍六七八九","拾百千万",ul,i,nl|il|al);case 31:return sl(e,"영일이삼사오육칠팔구","십백천만",dl,a,nl|il|al);case 33:return sl(e,"零一二三四五六七八九","十百千萬",dl,a,0);case 32:return sl(e,"零壹貳參四五六七八九","拾百千",dl,a,nl|il|al);case 18:return tl(e,2406,2415,!0,n);case 20:return Js(e,1,19999,Zs,3,n);case 21:return tl(e,2790,2799,!0,n);case 22:return tl(e,2662,2671,!0,n);case 22:return Js(e,1,10999,$s,3,n);case 23:return rl(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return rl(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return tl(e,3302,3311,!0,n);case 28:return rl(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return rl(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return tl(e,3792,3801,!0,n);case 37:return tl(e,6160,6169,!0,n);case 38:return tl(e,4160,4169,!0,n);case 39:return tl(e,2918,2927,!0,n);case 40:return tl(e,1776,1785,!0,n);case 43:return tl(e,3046,3055,!0,n);case 44:return tl(e,3174,3183,!0,n);case 45:return tl(e,3664,3673,!0,n);case 46:return tl(e,3872,3881,!0,n);case 3:default:return tl(e,48,57,!0,n)}},pl="data-html2canvas-ignore",fl=function(){function e(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Gs,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var r=this,a=Al(e,t);if(!a.contentWindow)return Promise.reject("Unable to find iframe window");var o=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=a.contentWindow,c=l.document,u=vl(a).then((function(){return n(r,void 0,void 0,(function(){var e,r;return i(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(Cl),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,r=this.clonedReferenceElement,"undefined"===typeof r?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,_l(c)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(c,r)})).then((function(){return a}))]:[2,a]}}))}))}));return c.open(),c.write(yl(document.doctype)+"<html></html>"),El(this.referenceElement.ownerDocument,o,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},e.prototype.createElementClone=function(e){if(ka(e,2),Ps(e))return this.createCanvasClone(e);if(js(e))return this.createVideoClone(e);if(Vs(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Us(t)&&(Us(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),qs(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return wl(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(Qt){if(this.context.logger.error("Unable to access cssRules property",Qt),"SecurityError"!==Qt.name)throw Qt}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch(Qt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),a=n.getContext("2d");if(a)if(!this.options.allowTaint&&i)a.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(o){var s=o.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}a.drawImage(e,0,0)}return n}catch(Qt){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch(Qt){this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},e.prototype.appendChildNode=function(e,t,r){Os(t)&&(Ys(t)||t.hasAttribute(pl)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Os(t)&&Vs(t)||e.appendChild(this.cloneNode(t,r))},e.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Os(i)&&zs(i)&&"function"===typeof i.assignedNodes){var a=i.assignedNodes();a.length&&a.forEach((function(e){return n.appendChildNode(t,e,r)}))}else this.appendChildNode(t,i,r)},e.prototype.cloneNode=function(e,t){if(Ts(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Os(e)&&(Ns(e)||Rs(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),a=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&Ns(n)&&(this.clonedReferenceElement=n),Fs(n)&&Nl(n);var s=this.counters.parse(new Na(this.context,i)),l=this.resolvePseudoContent(e,n,a,ho.BEFORE);qs(e)&&(t=!0),js(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var c=this.resolvePseudoContent(e,n,o,ho.AFTER);return c&&n.appendChild(c),this.counters.pop(s),(i&&(this.options.copyStyles||Rs(e))&&!Hs(e)||t)&&wl(i,n),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(Ws(e)||Qs(e))&&(Ws(n)||Qs(n))&&(n.value=e.value),n}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var a=r.content,o=t.ownerDocument;if(o&&a&&"none"!==a&&"-moz-alt-content"!==a&&"none"!==r.display){this.counters.parse(new Na(this.context,r));var s=new Oa(this.context,r),l=o.createElement("html2canvaspseudoelement");wl(r,l),s.content.forEach((function(t){if(0===t.type)l.appendChild(o.createTextNode(t.value));else if(22===t.type){var r=o.createElement("img");r.src=t.value,r.style.opacity="1",l.appendChild(r)}else if(18===t.type){if("attr"===t.name){var n=t.values.filter(Ur);n.length&&l.appendChild(o.createTextNode(e.getAttribute(n[0].value)||""))}else if("counter"===t.name){var a=t.values.filter(Wr),c=a[0],u=a[1];if(c&&Ur(c)){var d=i.counters.getCounterValue(c.value),h=u&&Ur(u)?Bi.parse(i.context,u.value):3;l.appendChild(o.createTextNode(hl(d,h,!1)))}}else if("counters"===t.name){var p=t.values.filter(Wr),f=(c=p[0],p[1]);u=p[2];if(c&&Ur(c)){var m=i.counters.getCounterValues(c.value),A=u&&Ur(u)?Bi.parse(i.context,u.value):3,g=f&&0===f.type?f.value:"",_=m.map((function(e){return hl(e,A,!1)})).join(g);l.appendChild(o.createTextNode(_))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(o.createTextNode(Ea(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode(Ea(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(t.value))}})),l.className=xl+" "+Tl;var c=n===ho.BEFORE?" "+xl:" "+Tl;return Rs(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();(function(e){e[e["BEFORE"]=0]="BEFORE",e[e["AFTER"]=1]="AFTER"})(ho||(ho={}));var ml,Al=function(e,t){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=t.width.toString(),r.height=t.height.toString(),r.scrolling="no",r.setAttribute(pl,"true"),e.body.appendChild(r),r},gl=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},_l=function(e){return Promise.all([].slice.call(e.images,0).map(gl))},vl=function(e){return new Promise((function(t,r){var n=e.contentWindow;if(!n)return r("No window assigned for iframe");var i=n.document;n.onload=e.onload=function(){n.onload=e.onload=null;var r=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(r),t(e))}),50)}}))},bl=["all","d","content"],wl=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e.item(r);-1===bl.indexOf(n)&&t.style.setProperty(n,e.getPropertyValue(n))}return t},yl=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},El=function(e,t,r){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,r)},Cl=function(e){var t=e[0],r=e[1],n=e[2];t.scrollLeft=r,t.scrollTop=n},Sl=":before",Ml=":after",xl="___html2canvas___pseudoelement_before",Tl="___html2canvas___pseudoelement_after",Ol='{\n content: "" !important;\n display: none !important;\n}',Nl=function(e){Rl(e,"."+xl+Sl+Ol+"\n ."+Tl+Ml+Ol)},Rl=function(e,t){var r=e.ownerDocument;if(r){var n=r.createElement("style");n.textContent=t,e.appendChild(n)}},Ll=function(){function e(){}return e.getOrigin=function(t){var r=e._link;return r?(r.href=t,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),Il=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Ul(e)||Fl(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a,o=this;return i(this,(function(i){switch(i.label){case 0:return t=Ll.isSameOrigin(e),r=!Pl(e)&&!0===this._options.useCORS&&Qo.SUPPORT_CORS_IMAGES&&!t,n=!Pl(e)&&!t&&!Ul(e)&&"string"===typeof this._options.proxy&&Qo.SUPPORT_CORS_XHR&&!r,t||!1!==this._options.allowTaint||Pl(e)||Ul(e)||n||r?(a=e,n?[4,this.proxy(a)]:[3,2]):[2];case 1:a=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,(jl(a)||r)&&(n.crossOrigin="anonymous"),n.src=a,!0===n.complete&&setTimeout((function(){return e(n)}),500),o._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},e.prototype.has=function(e){return"undefined"!==typeof this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise((function(i,a){var o=Qo.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===o)i(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return i(e.result)}),!1),e.addEventListener("error",(function(e){return a(e)}),!1),e.readAsDataURL(s.response)}else a("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=a;var l=r.indexOf("?")>-1?"&":"?";if(s.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),"text"!==o&&s instanceof XMLHttpRequest&&(s.responseType=o),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return a("Timed out ("+c+"ms) proxying "+n)}}s.send()}))},e}(),kl=/^data:image\/svg\+xml/i,Bl=/^data:image\/.*;base64,/i,Dl=/^data:image\/.*/i,Fl=function(e){return Qo.SUPPORT_SVG_DRAWING||!Hl(e)},Pl=function(e){return Dl.test(e)},jl=function(e){return Bl.test(e)},Ul=function(e){return"blob"===e.substr(0,4)},Hl=function(e){return"svg"===e.substr(-3).toLowerCase()||kl.test(e)},Vl=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,r){return new e(this.x+t,this.y+r)},e}(),Yl=function(e,t,r){return new Vl(e.x+(t.x-e.x)*r,e.y+(t.y-e.y)*r)},Wl=function(){function e(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return e.prototype.subdivide=function(t,r){var n=Yl(this.start,this.startControl,t),i=Yl(this.startControl,this.endControl,t),a=Yl(this.endControl,this.end,t),o=Yl(n,i,t),s=Yl(i,a,t),l=Yl(o,s,t);return r?new e(this.start,n,o,l):new e(l,s,a,this.end)},e.prototype.add=function(t,r){return new e(this.start.add(t,r),this.startControl.add(t,r),this.endControl.add(t,r),this.end.add(t,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ql=function(e){return 1===e.type},zl=function(){function e(e){var t=e.styles,r=e.bounds,n=Jr(t.borderTopLeftRadius,r.width,r.height),i=n[0],a=n[1],o=Jr(t.borderTopRightRadius,r.width,r.height),s=o[0],l=o[1],c=Jr(t.borderBottomRightRadius,r.width,r.height),u=c[0],d=c[1],h=Jr(t.borderBottomLeftRadius,r.width,r.height),p=h[0],f=h[1],m=[];m.push((i+s)/r.width),m.push((p+u)/r.width),m.push((a+f)/r.height),m.push((l+d)/r.height);var A=Math.max.apply(Math,m);A>1&&(i/=A,a/=A,s/=A,l/=A,u/=A,d/=A,p/=A,f/=A);var g=r.width-s,_=r.height-d,v=r.width-u,b=r.height-f,w=t.borderTopWidth,y=t.borderRightWidth,E=t.borderBottomWidth,C=t.borderLeftWidth,S=en(t.paddingTop,e.bounds.width),M=en(t.paddingRight,e.bounds.width),x=en(t.paddingBottom,e.bounds.width),T=en(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||a>0?ql(r.left+C/3,r.top+w/3,i-C/3,a-w/3,ml.TOP_LEFT):new Vl(r.left+C/3,r.top+w/3),this.topRightBorderDoubleOuterBox=i>0||a>0?ql(r.left+g,r.top+w/3,s-y/3,l-w/3,ml.TOP_RIGHT):new Vl(r.left+r.width-y/3,r.top+w/3),this.bottomRightBorderDoubleOuterBox=u>0||d>0?ql(r.left+v,r.top+_,u-y/3,d-E/3,ml.BOTTOM_RIGHT):new Vl(r.left+r.width-y/3,r.top+r.height-E/3),this.bottomLeftBorderDoubleOuterBox=p>0||f>0?ql(r.left+C/3,r.top+b,p-C/3,f-E/3,ml.BOTTOM_LEFT):new Vl(r.left+C/3,r.top+r.height-E/3),this.topLeftBorderDoubleInnerBox=i>0||a>0?ql(r.left+2*C/3,r.top+2*w/3,i-2*C/3,a-2*w/3,ml.TOP_LEFT):new Vl(r.left+2*C/3,r.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||a>0?ql(r.left+g,r.top+2*w/3,s-2*y/3,l-2*w/3,ml.TOP_RIGHT):new Vl(r.left+r.width-2*y/3,r.top+2*w/3),this.bottomRightBorderDoubleInnerBox=u>0||d>0?ql(r.left+v,r.top+_,u-2*y/3,d-2*E/3,ml.BOTTOM_RIGHT):new Vl(r.left+r.width-2*y/3,r.top+r.height-2*E/3),this.bottomLeftBorderDoubleInnerBox=p>0||f>0?ql(r.left+2*C/3,r.top+b,p-2*C/3,f-2*E/3,ml.BOTTOM_LEFT):new Vl(r.left+2*C/3,r.top+r.height-2*E/3),this.topLeftBorderStroke=i>0||a>0?ql(r.left+C/2,r.top+w/2,i-C/2,a-w/2,ml.TOP_LEFT):new Vl(r.left+C/2,r.top+w/2),this.topRightBorderStroke=i>0||a>0?ql(r.left+g,r.top+w/2,s-y/2,l-w/2,ml.TOP_RIGHT):new Vl(r.left+r.width-y/2,r.top+w/2),this.bottomRightBorderStroke=u>0||d>0?ql(r.left+v,r.top+_,u-y/2,d-E/2,ml.BOTTOM_RIGHT):new Vl(r.left+r.width-y/2,r.top+r.height-E/2),this.bottomLeftBorderStroke=p>0||f>0?ql(r.left+C/2,r.top+b,p-C/2,f-E/2,ml.BOTTOM_LEFT):new Vl(r.left+C/2,r.top+r.height-E/2),this.topLeftBorderBox=i>0||a>0?ql(r.left,r.top,i,a,ml.TOP_LEFT):new Vl(r.left,r.top),this.topRightBorderBox=s>0||l>0?ql(r.left+g,r.top,s,l,ml.TOP_RIGHT):new Vl(r.left+r.width,r.top),this.bottomRightBorderBox=u>0||d>0?ql(r.left+v,r.top+_,u,d,ml.BOTTOM_RIGHT):new Vl(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=p>0||f>0?ql(r.left,r.top+b,p,f,ml.BOTTOM_LEFT):new Vl(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||a>0?ql(r.left+C,r.top+w,Math.max(0,i-C),Math.max(0,a-w),ml.TOP_LEFT):new Vl(r.left+C,r.top+w),this.topRightPaddingBox=s>0||l>0?ql(r.left+Math.min(g,r.width-y),r.top+w,g>r.width+y?0:Math.max(0,s-y),Math.max(0,l-w),ml.TOP_RIGHT):new Vl(r.left+r.width-y,r.top+w),this.bottomRightPaddingBox=u>0||d>0?ql(r.left+Math.min(v,r.width-C),r.top+Math.min(_,r.height-E),Math.max(0,u-y),Math.max(0,d-E),ml.BOTTOM_RIGHT):new Vl(r.left+r.width-y,r.top+r.height-E),this.bottomLeftPaddingBox=p>0||f>0?ql(r.left+C,r.top+Math.min(b,r.height-E),Math.max(0,p-C),Math.max(0,f-E),ml.BOTTOM_LEFT):new Vl(r.left+C,r.top+r.height-E),this.topLeftContentBox=i>0||a>0?ql(r.left+C+T,r.top+w+S,Math.max(0,i-(C+T)),Math.max(0,a-(w+S)),ml.TOP_LEFT):new Vl(r.left+C+T,r.top+w+S),this.topRightContentBox=s>0||l>0?ql(r.left+Math.min(g,r.width+C+T),r.top+w+S,g>r.width+C+T?0:s-C+T,l-(w+S),ml.TOP_RIGHT):new Vl(r.left+r.width-(y+M),r.top+w+S),this.bottomRightContentBox=u>0||d>0?ql(r.left+Math.min(v,r.width-(C+T)),r.top+Math.min(_,r.height+w+S),Math.max(0,u-(y+M)),d-(E+x),ml.BOTTOM_RIGHT):new Vl(r.left+r.width-(y+M),r.top+r.height-(E+x)),this.bottomLeftContentBox=p>0||f>0?ql(r.left+C+T,r.top+b,Math.max(0,p-(C+T)),f-(E+x),ml.BOTTOM_LEFT):new Vl(r.left+C+T,r.top+r.height-(E+x))}return e}();(function(e){e[e["TOP_LEFT"]=0]="TOP_LEFT",e[e["TOP_RIGHT"]=1]="TOP_RIGHT",e[e["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",e[e["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(ml||(ml={}));var ql=function(e,t,r,n,i){var a=(Math.sqrt(2)-1)/3*4,o=r*a,s=n*a,l=e+r,c=t+n;switch(i){case ml.TOP_LEFT:return new Wl(new Vl(e,c),new Vl(e,c-s),new Vl(l-o,t),new Vl(l,t));case ml.TOP_RIGHT:return new Wl(new Vl(e,t),new Vl(e+o,t),new Vl(l,c-s),new Vl(l,c));case ml.BOTTOM_RIGHT:return new Wl(new Vl(l,t),new Vl(l,t+s),new Vl(e+o,c),new Vl(e,c));case ml.BOTTOM_LEFT:default:return new Wl(new Vl(l,c),new Vl(l-o,c),new Vl(e,t+s),new Vl(e,t))}},Gl=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Kl=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Xl=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},$l=function(){function e(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return e}(),Zl=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),Jl=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),ec=function(e){return 0===e.type},tc=function(e){return 1===e.type},rc=function(e){return 2===e.type},nc=function(e,t){return e.length===t.length&&e.some((function(e,r){return e===t[r]}))},ic=function(e,t,r,n,i){return e.map((function(e,a){switch(a){case 0:return e.add(t,r);case 1:return e.add(t+n,r);case 2:return e.add(t+n,r+i);case 3:return e.add(t,r+i)}return e}))},ac=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),oc=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new zl(this.container),this.container.styles.opacity<1&&this.effects.push(new Jl(this.container.styles.opacity)),null!==this.container.styles.transform){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new $l(r,n,i))}if(0!==this.container.styles.overflowX){var a=Gl(this.curves),o=Xl(this.curves);nc(a,o)?this.effects.push(new Zl(a,6)):(this.effects.push(new Zl(a,2)),this.effects.push(new Zl(o,4)))}}return e.prototype.getEffects=function(e){var t=-1===[2,3].indexOf(this.container.styles.position),r=this.parent,n=this.effects.slice(0);while(r){var i=r.effects.filter((function(e){return!tc(e)}));if(t||0!==r.container.styles.position||!r.parent){if(n.unshift.apply(n,i),t=-1===[2,3].indexOf(r.container.styles.position),0!==r.container.styles.overflowX){var a=Gl(r.curves),o=Xl(r.curves);nc(a,o)||n.unshift(new Zl(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter((function(t){return ga(t.target,e)}))},e}(),sc=function(e,t,r,n){e.container.elements.forEach((function(i){var a=ga(i.flags,4),o=ga(i.flags,2),s=new oc(i,e);ga(i.styles.display,2048)&&n.push(s);var l=ga(i.flags,8)?[]:n;if(a||o){var c=a||i.styles.isPositioned()?r:t,u=new ac(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var d=i.styles.zIndex.order;if(d<0){var h=0;c.negativeZIndex.some((function(e,t){return d>e.element.container.styles.zIndex.order?(h=t,!1):h>0})),c.negativeZIndex.splice(h,0,u)}else if(d>0){var p=0;c.positiveZIndex.some((function(e,t){return d>=e.element.container.styles.zIndex.order?(p=t+1,!1):p>0})),c.positiveZIndex.splice(p,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);sc(s,u,a?u:r,l)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),sc(s,t,r,l);ga(i.flags,8)&&lc(i,l)}))},lc=function(e,t){for(var r=e instanceof cs?e.start:1,n=e instanceof cs&&e.reversed,i=0;i<t.length;i++){var a=t[i];a.container instanceof ls&&"number"===typeof a.container.value&&0!==a.container.value&&(r=a.container.value),a.listValue=hl(r,a.container.styles.listStyleType,!0),r+=n?-1:1}},cc=function(e){var t=new oc(e,null),r=new ac(t),n=[];return sc(t,r,r,n),lc(t.container,n),r},uc=function(e,t){switch(t){case 0:return mc(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return mc(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return mc(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return mc(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},dc=function(e,t){switch(t){case 0:return mc(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return mc(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return mc(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return mc(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},hc=function(e,t){switch(t){case 0:return mc(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return mc(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return mc(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return mc(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},pc=function(e,t){switch(t){case 0:return fc(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return fc(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return fc(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return fc(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},fc=function(e,t){var r=[];return Ql(e)?r.push(e.subdivide(.5,!1)):r.push(e),Ql(t)?r.push(t.subdivide(.5,!0)):r.push(t),r},mc=function(e,t,r,n){var i=[];return Ql(e)?i.push(e.subdivide(.5,!1)):i.push(e),Ql(r)?i.push(r.subdivide(.5,!0)):i.push(r),Ql(n)?i.push(n.subdivide(.5,!0).reverse()):i.push(n),Ql(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},Ac=function(e){var t=e.bounds,r=e.styles;return t.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},gc=function(e){var t=e.styles,r=e.bounds,n=en(t.paddingLeft,r.width),i=en(t.paddingRight,r.width),a=en(t.paddingTop,r.width),o=en(t.paddingBottom,r.width);return r.add(n+t.borderLeftWidth,a+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+n+i),-(t.borderTopWidth+t.borderBottomWidth+a+o))},_c=function(e,t){return 0===e?t.bounds:2===e?gc(t):Ac(t)},vc=function(e,t){return 0===e?t.bounds:2===e?gc(t):Ac(t)},bc=function(e,t,r){var n=_c(Cc(e.styles.backgroundOrigin,t),e),i=vc(Cc(e.styles.backgroundClip,t),e),a=Ec(Cc(e.styles.backgroundSize,t),r,n),o=a[0],s=a[1],l=Jr(Cc(e.styles.backgroundPosition,t),n.width-o,n.height-s),c=Sc(Cc(e.styles.backgroundRepeat,t),l,a,n,i),u=Math.round(n.left+l[0]),d=Math.round(n.top+l[1]);return[c,u,d,o,s]},wc=function(e){return Ur(e)&&e.value===qn.AUTO},yc=function(e){return"number"===typeof e},Ec=function(e,t,r){var n=t[0],i=t[1],a=t[2],o=e[0],s=e[1];if(!o)return[0,0];if(Gr(o)&&s&&Gr(s))return[en(o,r.width),en(s,r.height)];var l=yc(a);if(Ur(o)&&(o.value===qn.CONTAIN||o.value===qn.COVER)){if(yc(a)){var c=r.width/r.height;return c<a!==(o.value===qn.COVER)?[r.width,r.width/a]:[r.height*a,r.height]}return[r.width,r.height]}var u=yc(n),d=yc(i),h=u||d;if(wc(o)&&(!s||wc(s))){if(u&&d)return[n,i];if(!l&&!h)return[r.width,r.height];if(h&&l){var p=u?n:i*a,f=d?i:n/a;return[p,f]}var m=u?n:r.width,A=d?i:r.height;return[m,A]}if(l){var g=0,_=0;return Gr(o)?g=en(o,r.width):Gr(s)&&(_=en(s,r.height)),wc(o)?g=_*a:s&&!wc(s)||(_=g/a),[g,_]}var v=null,b=null;if(Gr(o)?v=en(o,r.width):s&&Gr(s)&&(b=en(s,r.height)),null===v||s&&!wc(s)||(b=u&&d?v/n*i:r.height),null!==b&&wc(o)&&(v=u&&d?b/i*n:r.width),null!==v&&null!==b)return[v,b];throw new Error("Unable to calculate background-size for element")},Cc=function(e,t){var r=e[t];return"undefined"===typeof r?e[0]:r},Sc=function(e,t,r,n,i){var a=t[0],o=t[1],s=r[0],l=r[1];switch(e){case 2:return[new Vl(Math.round(n.left),Math.round(n.top+o)),new Vl(Math.round(n.left+n.width),Math.round(n.top+o)),new Vl(Math.round(n.left+n.width),Math.round(l+n.top+o)),new Vl(Math.round(n.left),Math.round(l+n.top+o))];case 3:return[new Vl(Math.round(n.left+a),Math.round(n.top)),new Vl(Math.round(n.left+a+s),Math.round(n.top)),new Vl(Math.round(n.left+a+s),Math.round(n.height+n.top)),new Vl(Math.round(n.left+a),Math.round(n.height+n.top))];case 1:return[new Vl(Math.round(n.left+a),Math.round(n.top+o)),new Vl(Math.round(n.left+a+s),Math.round(n.top+o)),new Vl(Math.round(n.left+a+s),Math.round(n.top+o+l)),new Vl(Math.round(n.left+a),Math.round(n.top+o+l))];default:return[new Vl(Math.round(i.left),Math.round(i.top)),new Vl(Math.round(i.left+i.width),Math.round(i.top)),new Vl(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Vl(Math.round(i.left),Math.round(i.height+i.top))]}},Mc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",xc="Hidden Text",Tc=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),n.src=Mc,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(xc)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(xc)),r.style.lineHeight="normal",n.style.verticalAlign="super";var s=n.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:o,middle:s}},e.prototype.getMetrics=function(e,t){var r=e+" "+t;return"undefined"===typeof this._data[r]&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},e}(),Oc=function(){function e(e,t){this.context=e,this.options=t}return e}(),Nc=1e4,Rc=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new Tc(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return t(r,e),r.prototype.applyEffects=function(e){var t=this;while(this._activeEffects.length)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},r.prototype.applyEffect=function(e){this.ctx.save(),rc(e)&&(this.ctx.globalAlpha=e.opacity),ec(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),tc(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},r.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},r.prototype.renderStack=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=e.element.container.styles,t.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},r.prototype.renderNode=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return ga(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},r.prototype.renderTextWithLetterSpacing=function(e,t,r){var n=this;if(0===t)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+r);else{var i=Xo(e.text);i.reduce((function(t,i){return n.ctx.fillText(i,t,e.bounds.top+r),t+n.ctx.measureText(i).width}),e.bounds.left)}},r.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),r=Dc(e.fontFamily).join(", "),n=Pr(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,n,r].join(" "),r,n]},r.prototype.renderTextNode=function(e,t){return n(this,void 0,void 0,(function(){var r,n,a,o,s,l,c,u,d=this;return i(this,(function(i){return r=this.createFontStyle(t),n=r[0],a=r[1],o=r[2],this.ctx.font=n,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(a,o),l=s.baseline,c=s.middle,u=t.paintOrder,e.textBounds.forEach((function(e){u.forEach((function(r){switch(r){case 0:d.ctx.fillStyle=hn(t.color),d.renderTextWithLetterSpacing(e,t.letterSpacing,l);var n=t.textShadow;n.length&&e.text.trim().length&&(n.slice(0).reverse().forEach((function(r){d.ctx.shadowColor=hn(r.color),d.ctx.shadowOffsetX=r.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=r.offsetY.number*d.options.scale,d.ctx.shadowBlur=r.blur.number,d.renderTextWithLetterSpacing(e,t.letterSpacing,l)})),d.ctx.shadowColor="",d.ctx.shadowOffsetX=0,d.ctx.shadowOffsetY=0,d.ctx.shadowBlur=0),t.textDecorationLine.length&&(d.ctx.fillStyle=hn(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:d.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:d.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+c),e.bounds.width,1);break}})));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(d.ctx.strokeStyle=hn(t.webkitTextStrokeColor),d.ctx.lineWidth=t.webkitTextStrokeWidth,d.ctx.lineJoin=window.chrome?"miter":"round",d.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),d.ctx.strokeStyle="",d.ctx.lineWidth=0,d.ctx.lineJoin="miter";break}}))})),[2]}))}))},r.prototype.renderReplacedElement=function(e,t,r){if(r&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var n=gc(e),i=Xl(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,e.intrinsicWidth,e.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},r.prototype.renderNodeContent=function(e){return n(this,void 0,void 0,(function(){var t,n,a,s,l,c,u,d,h,p,f,m,A,g,_,v,b,w,y;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,n=e.curves,a=t.styles,s=0,l=t.textNodes,i.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,a)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof as))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return v=i.sent(),this.renderReplacedElement(t,n,v),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof os&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof ss))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return v=i.sent(),this.renderReplacedElement(t,n,v),[3,12];case 11:return i.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof ws&&t.tree?(u=new r(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,u.render(t.tree)]):[3,14];case 13:d=i.sent(),t.width&&t.height&&this.ctx.drawImage(d,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),i.label=14;case 14:if(t instanceof _s&&(h=Math.min(t.bounds.width,t.bounds.height),t.type===fs?t.checked&&(this.ctx.save(),this.path([new Vl(t.bounds.left+.39363*h,t.bounds.top+.79*h),new Vl(t.bounds.left+.16*h,t.bounds.top+.5549*h),new Vl(t.bounds.left+.27347*h,t.bounds.top+.44071*h),new Vl(t.bounds.left+.39694*h,t.bounds.top+.5649*h),new Vl(t.bounds.left+.72983*h,t.bounds.top+.23*h),new Vl(t.bounds.left+.84*h,t.bounds.top+.34085*h),new Vl(t.bounds.left+.39363*h,t.bounds.top+.79*h)]),this.ctx.fillStyle=hn(gs),this.ctx.fill(),this.ctx.restore()):t.type===ms&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+h/2,t.bounds.top+h/2,h/4,0,2*Math.PI,!0),this.ctx.fillStyle=hn(gs),this.ctx.fill(),this.ctx.restore())),Lc(t)&&t.value.length){switch(p=this.createFontStyle(a),w=p[0],f=p[1],m=this.fontMetrics.getMetrics(w,f).baseline,this.ctx.font=w,this.ctx.fillStyle=hn(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=kc(t.styles.textAlign),y=gc(t),A=0,t.styles.textAlign){case 1:A+=y.width/2;break;case 2:A+=y.width;break}g=y.add(A,0,0,-y.height/2+1),this.ctx.save(),this.path([new Vl(y.left,y.top),new Vl(y.left+y.width,y.top),new Vl(y.left+y.width,y.top+y.height),new Vl(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new zo(t.value,g),a.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ga(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(_=t.styles.listStyleImage,0!==_.type)return[3,18];v=void 0,b=_.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(b)];case 16:return v=i.sent(),this.ctx.drawImage(v,t.bounds.left-(v.width+10),t.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+b),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(w=this.createFontStyle(a)[0],this.ctx.font=w,this.ctx.fillStyle=hn(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new o(t.bounds.left,t.bounds.top+en(t.styles.paddingTop,t.bounds.width),t.bounds.width,Li(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new zo(e.listValue,y),a.letterSpacing,Li(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},r.prototype.renderStackContent=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a,o,s,l,c,u,d,h,p,f,m,A;return i(this,(function(i){switch(i.label){case 0:return ga(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,r=e.negativeZIndex,i.label=2;case 2:return t<r.length?(A=r[t],[4,this.renderStack(A)]):[3,5];case 3:i.sent(),i.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:i.sent(),n=0,a=e.nonInlineLevel,i.label=7;case 7:return n<a.length?(A=a[n],[4,this.renderNode(A)]):[3,10];case 8:i.sent(),i.label=9;case 9:return n++,[3,7];case 10:o=0,s=e.nonPositionedFloats,i.label=11;case 11:return o<s.length?(A=s[o],[4,this.renderStack(A)]):[3,14];case 12:i.sent(),i.label=13;case 13:return o++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,i.label=15;case 15:return l<c.length?(A=c[l],[4,this.renderStack(A)]):[3,18];case 16:i.sent(),i.label=17;case 17:return l++,[3,15];case 18:u=0,d=e.inlineLevel,i.label=19;case 19:return u<d.length?(A=d[u],[4,this.renderNode(A)]):[3,22];case 20:i.sent(),i.label=21;case 21:return u++,[3,19];case 22:h=0,p=e.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return h<p.length?(A=p[h],[4,this.renderStack(A)]):[3,26];case 24:i.sent(),i.label=25;case 25:return h++,[3,23];case 26:f=0,m=e.positiveZIndex,i.label=27;case 27:return f<m.length?(A=m[f],[4,this.renderStack(A)]):[3,30];case 28:i.sent(),i.label=29;case 29:return f++,[3,27];case 30:return[2]}}))}))},r.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},r.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},r.prototype.formatPath=function(e){var t=this;e.forEach((function(e,r){var n=Ql(e)?e.start:e;0===r?t.ctx.moveTo(n.x,n.y):t.ctx.lineTo(n.x,n.y),Ql(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},r.prototype.renderRepeat=function(e,t,r,n){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(r,n),this.ctx.fill(),this.ctx.translate(-r,-n)},r.prototype.resizeImage=function(e,t,r){var n;if(e.width===t&&e.height===r)return e;var i=null!==(n=this.canvas.ownerDocument)&&void 0!==n?n:document,a=i.createElement("canvas");a.width=Math.max(1,t),a.height=Math.max(1,r);var o=a.getContext("2d");return o.drawImage(e,0,0,e.width,e.height,0,0,t,r),a},r.prototype.renderBackgroundImage=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a,o,s;return i(this,(function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,r=function(r){var a,o,s,l,c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T,O,N,R,L,I,k,B;return i(this,(function(i){switch(i.label){case 0:if(0!==r.type)return[3,5];a=void 0,o=r.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,n.context.cache.match(o)];case 2:return a=i.sent(),[3,4];case 3:return i.sent(),n.context.logger.error("Error loading background-image "+o),[3,4];case 4:return a&&(s=bc(e,t,[a.width,a.height,a.width/a.height]),b=s[0],M=s[1],x=s[2],E=s[3],C=s[4],_=n.ctx.createPattern(n.resizeImage(a,E,C),"repeat"),n.renderRepeat(b,_,M,x)),[3,6];case 5:Yn(r)?(l=bc(e,t,[null,null,null]),b=l[0],M=l[1],x=l[2],E=l[3],C=l[4],c=Mn(r.angle,E,C),u=c[0],d=c[1],h=c[2],p=c[3],f=c[4],m=document.createElement("canvas"),m.width=E,m.height=C,A=m.getContext("2d"),g=A.createLinearGradient(d,p,h,f),Cn(r.stops,u).forEach((function(e){return g.addColorStop(e.stop,hn(e.color))})),A.fillStyle=g,A.fillRect(0,0,E,C),E>0&&C>0&&(_=n.ctx.createPattern(m,"repeat"),n.renderRepeat(b,_,M,x))):Wn(r)&&(v=bc(e,t,[null,null,null]),b=v[0],w=v[1],y=v[2],E=v[3],C=v[4],S=0===r.position.length?[$r]:r.position,M=en(S[0],E),x=en(S[S.length-1],C),T=On(r,M,x,E,C),O=T[0],N=T[1],O>0&&N>0&&(R=n.ctx.createRadialGradient(w+M,y+x,0,w+M,y+x,O),Cn(r.stops,2*O).forEach((function(e){return R.addColorStop(e.stop,hn(e.color))})),n.path(b),n.ctx.fillStyle=R,O!==N?(L=e.bounds.left+.5*e.bounds.width,I=e.bounds.top+.5*e.bounds.height,k=N/O,B=1/k,n.ctx.save(),n.ctx.translate(L,I),n.ctx.transform(1,0,0,k,0,0),n.ctx.translate(-L,-I),n.ctx.fillRect(w,B*(y-I)+I,E,C*B),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},n=this,a=0,o=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return a<o.length?(s=o[a],[5,r(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return a++,[3,1];case 4:return[2]}}))}))},r.prototype.renderSolidBorder=function(e,t,r){return n(this,void 0,void 0,(function(){return i(this,(function(n){return this.path(uc(r,t)),this.ctx.fillStyle=hn(e),this.ctx.fill(),[2]}))}))},r.prototype.renderDoubleBorder=function(e,t,r,a){return n(this,void 0,void 0,(function(){var n,o;return i(this,(function(i){switch(i.label){case 0:return t<3?[4,this.renderSolidBorder(e,r,a)]:[3,2];case 1:return i.sent(),[2];case 2:return n=dc(a,r),this.path(n),this.ctx.fillStyle=hn(e),this.ctx.fill(),o=hc(a,r),this.path(o),this.ctx.fill(),[2]}}))}))},r.prototype.renderNodeBackgroundAndBorders=function(e){return n(this,void 0,void 0,(function(){var t,r,n,a,o,s,l,c,u=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,r=!dn(t.backgroundColor)||t.backgroundImage.length,n=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],a=Ic(Cc(t.backgroundClip,0),e.curves),r||t.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),dn(t.backgroundColor)||(this.ctx.fillStyle=hn(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var r=Gl(e.curves),n=t.inset?0:Nc,i=ic(r,-n+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(u.path(r),u.ctx.clip(),u.mask(i)):(u.mask(r),u.ctx.clip(),u.path(i)),u.ctx.shadowOffsetX=t.offsetX.number+n,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=hn(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?hn(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),i.label=2;case 2:o=0,s=0,l=n,i.label=3;case 3:return s<l.length?(c=l[s],0!==c.style&&!dn(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,o,e.curves,2)]:[3,11]):[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,o,e.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,o,e.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,o,e.curves)];case 10:i.sent(),i.label=11;case 11:o++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},r.prototype.renderDashedDottedBorder=function(e,t,r,a,o){return n(this,void 0,void 0,(function(){var n,s,l,c,u,d,h,p,f,m,A,g,_,v,b,w;return i(this,(function(i){return this.ctx.save(),n=pc(a,r),s=uc(a,r),2===o&&(this.path(s),this.ctx.clip()),Ql(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),Ql(s[1])?(u=s[1].end.x,d=s[1].end.y):(u=s[1].x,d=s[1].y),h=0===r||2===r?Math.abs(l-u):Math.abs(c-d),this.ctx.beginPath(),3===o?this.formatPath(n):this.formatPath(s.slice(0,2)),p=t<3?3*t:2*t,f=t<3?2*t:t,3===o&&(p=t,f=t),m=!0,h<=2*p?m=!1:h<=2*p+f?(A=h/(2*p+f),p*=A,f*=A):(g=Math.floor((h+f)/(p+f)),_=(h-g*p)/(g-1),v=(h-(g+1)*p)/g,f=v<=0||Math.abs(f-_)<Math.abs(f-v)?_:v),m&&(3===o?this.ctx.setLineDash([0,p+f]):this.ctx.setLineDash([p,f])),3===o?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=hn(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===o&&(Ql(s[0])&&(b=s[3],w=s[0],this.ctx.beginPath(),this.formatPath([new Vl(b.end.x,b.end.y),new Vl(w.start.x,w.start.y)]),this.ctx.stroke()),Ql(s[1])&&(b=s[1],w=s[2],this.ctx.beginPath(),this.formatPath([new Vl(b.end.x,b.end.y),new Vl(w.start.x,w.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},r.prototype.render=function(e){return n(this,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=hn(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=cc(e),[4,this.renderStack(t)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},r}(Oc),Lc=function(e){return e instanceof bs||(e instanceof vs||e instanceof _s&&e.type!==ms&&e.type!==fs)},Ic=function(e,t){switch(e){case 0:return Gl(t);case 2:return Kl(t);case 1:default:return Xl(t)}},kc=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Bc=["-apple-system","system-ui"],Dc=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===Bc.indexOf(e)})):e},Fc=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return t(r,e),r.prototype.render=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:return t=Yo(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,Pc(t)];case 1:return r=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=hn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},r}(Oc),Pc=function(e){return new Promise((function(t,r){var n=new Image;n.onload=function(){t(n)},n.onerror=r,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},jc=function(){function e(e){var t=e.id,r=e.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,a([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,a([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,a([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,a([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),Uc=function(){function e(t,r){var n;this.windowBounds=r,this.instanceName="#"+e.instanceCount++,this.logger=new jc({id:this.instanceName,enabled:t.logging}),this.cache=null!==(n=t.cache)&&void 0!==n?n:new Il(this,t)}return e.instanceCount=1,e}(),Hc=function(e,t){return void 0===t&&(t={}),Vc(e,t)};"undefined"!==typeof window&&Ll.setContext(window);var Vc=function(e,t){return n(void 0,void 0,void 0,(function(){var n,a,c,u,d,h,p,f,m,A,g,_,v,b,w,y,E,C,S,M,x,T,O,N,R,L,I,k,B,D,F,P,j,U,H,V,Y,W,Q;return i(this,(function(i){switch(i.label){case 0:if(!e||"object"!==typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(n=e.ownerDocument,!n)throw new Error("Element is not attached to a Document");if(a=n.defaultView,!a)throw new Error("Document is not attached to a Window");return c={allowTaint:null!==(O=t.allowTaint)&&void 0!==O&&O,imageTimeout:null!==(N=t.imageTimeout)&&void 0!==N?N:15e3,proxy:t.proxy,useCORS:null!==(R=t.useCORS)&&void 0!==R&&R},u=r({logging:null===(L=t.logging)||void 0===L||L,cache:t.cache},c),d={windowWidth:null!==(I=t.windowWidth)&&void 0!==I?I:a.innerWidth,windowHeight:null!==(k=t.windowHeight)&&void 0!==k?k:a.innerHeight,scrollX:null!==(B=t.scrollX)&&void 0!==B?B:a.pageXOffset,scrollY:null!==(D=t.scrollY)&&void 0!==D?D:a.pageYOffset},h=new o(d.scrollX,d.scrollY,d.windowWidth,d.windowHeight),p=new Uc(u,h),f=null!==(F=t.foreignObjectRendering)&&void 0!==F&&F,m={allowTaint:null!==(P=t.allowTaint)&&void 0!==P&&P,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:f,copyStyles:f},p.logger.debug("Starting document clone with size "+h.width+"x"+h.height+" scrolled to "+-h.left+","+-h.top),A=new fl(p,e,m),g=A.clonedReferenceElement,g?[4,A.toIFrame(n,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return _=i.sent(),v=Fs(g)||Bs(g)?l(g.ownerDocument):s(p,g),b=v.width,w=v.height,y=v.left,E=v.top,C=Yc(p,g,t.backgroundColor),S={canvas:t.canvas,backgroundColor:C,scale:null!==(U=null!==(j=t.scale)&&void 0!==j?j:a.devicePixelRatio)&&void 0!==U?U:1,x:(null!==(H=t.x)&&void 0!==H?H:0)+y,y:(null!==(V=t.y)&&void 0!==V?V:0)+E,width:null!==(Y=t.width)&&void 0!==Y?Y:Math.ceil(b),height:null!==(W=t.height)&&void 0!==W?W:Math.ceil(w)},f?(p.logger.debug("Document cloned, using foreign object rendering"),T=new Fc(p,S),[4,T.render(g)]):[3,3];case 2:return M=i.sent(),[3,5];case 3:return p.logger.debug("Document cloned, element located at "+y+","+E+" with size "+b+"x"+w+" using computed rendering"),p.logger.debug("Starting DOM parsing"),x=Ss(p,g),C===x.styles.backgroundColor&&(x.styles.backgroundColor=bn.TRANSPARENT),p.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),T=new Rc(p,S),[4,T.render(x)];case 4:M=i.sent(),i.label=5;case 5:return(null===(Q=t.removeContainer)||void 0===Q||Q)&&(fl.destroy(_)||p.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),p.logger.debug("Finished rendering"),[2,M]}}))}))},Yc=function(e,t,r){var n=t.ownerDocument,i=n.documentElement?vn(e,getComputedStyle(n.documentElement).backgroundColor):bn.TRANSPARENT,a=n.body?vn(e,getComputedStyle(n.body).backgroundColor):bn.TRANSPARENT,o="string"===typeof r?vn(e,r):null===r?bn.TRANSPARENT:4294967295;return t===n.documentElement?dn(i)?dn(a)?o:a:i:o};return Hc}))},c109:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  596. //! moment.js locale configuration
  597. 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)}},c11a:function(e,t,r){},c13b:function(e,t,r){var n=r("fee6"),i=r("39cd");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 c(e,t,r,n,i){var a=l(r,n,i);a&&(e[t]=a)}r("3fb5")(a,n),a.prototype.init=n;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,r={},i=s(u,this.dom);i&&("feed"===i.name?(t=i.children,r.type="atom",c(r,"id","id",t),c(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),c(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),c(r,"author","email",t,!0),r.items=o("entry",t).map((function(e){var t,r={};return e=e.children,c(r,"id","id",e),c(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="",c(r,"title","title",t),c(r,"link","link",t),c(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),c(r,"author","managingEditor",t,!0),r.items=o("item",i.children).map((function(e){var t,r={};return e=e.children,c(r,"id","guid",e),c(r,"title","title",e),c(r,"link","link",e),c(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},c1a1:function(e,t,r){"use strict";var n=r("23e7"),i=r("b4bc"),a=r("dad2");n({target:"Set",proto:!0,real:!0,forced:!a("isDisjointFrom")},{isDisjointFrom:i})},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 c(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=c},c1cf:function(e,t,r){"use strict";var n=r("e437");
  598. /**
  599. * @preserve
  600. * Authors: soakit, HChenZi
  601. * Last updated: Mar 09, 2023
  602. *
  603. * Description: Definition file for Chinese - China language-country.
  604. */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
  605. //! version : 2.30.1
  606. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  607. //! license : MIT
  608. //! momentjs.com
  609. (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 c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(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)c(t,r)&&(e[r]=t[r]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function A(e,t,r,n){return Kr(e,t,r,n,!0).utc()}function g(){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 _(e){return null==e._pf&&(e._pf=g()),e._pf}function v(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());return n&&(t=_(e),r=i.call(t.parsedDateParts,(function(e){return null!=e})),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?n:(e._isValid=n,e._isValid)}function b(e){var t=A(NaN);return null!=e?m(_(t),e):_(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 w=a.momentProperties=[],y=!1;function E(e,t){var r,n,i,a=w.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=_(t)),d(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=w[r],i=t[n],d(i)||(e[n]=i);return e}function C(e){E(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function S(e){return e instanceof C||null!=e&&null!=e._isAMomentObject}function M(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])c(arguments[0],o)&&(n+=o+": "+arguments[0][o]+", ");n=n.slice(0,-2)}else n=arguments[i];s.push(n)}M(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)}),t)}var T,O={};function N(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),O[e]||(M(t),O[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)c(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 I(e,t){var r,n=m({},e);for(r in t)c(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)c(e,r)&&!c(t,r)&&l(e[r])&&(n[r]=m({},n[r]));return n}function k(e){null!=e&&this.set(e)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)c(e,t)&&r.push(t);return r};var B={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(e,t,r){var n=this._calendar[e]||this._calendar["sameElse"];return R(n)?n.call(t,r):n}function F(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 P=/(\[[^\[]*\])|(\\)?([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,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},H={};function V(e,t,r,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),r&&(H[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 W(e){var t,r,n=e.match(P);for(t=0,r=n.length;t<r;t++)H[n[t]]?n[t]=H[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 Q(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||W(t),U[t](e)):e.localeData().invalidDate()}function z(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}j.lastIndex=0;while(r>=0&&j.test(e))e=e.replace(j,n),j.lastIndex=0,r-=1;return e}var q={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 G(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var K="Invalid date";function X(){return this._invalidDate}var $="%d",Z=/\d{1,2}/;function J(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={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ie(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function ae(e){var t,r,n={};for(r in e)c(e,r)&&(t=ie(r),t&&(n[t]=e[r]));return n}var oe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function se(e){var t,r=[];for(t in e)c(e,t)&&r.push({unit:t,priority:oe[t]});return r.sort((function(e,t){return e.priority-t.priority})),r}var le,ce=/\d/,ue=/\d\d/,de=/\d{3}/,he=/\d{4}/,pe=/[+-]?\d{6}/,fe=/\d\d?/,me=/\d\d\d\d?/,Ae=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,_e=/\d{1,4}/,ve=/[+-]?\d{1,6}/,be=/\d+/,we=/[+-]?\d+/,ye=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Se=/[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,Me=/^[1-9]\d?/,xe=/^([1-9]\d|\d)/;function Te(e,t,r){le[e]=R(t)?t:function(e,n){return e&&r?r:t}}function Oe(e,t){return c(le,e)?le[e](t._strict,t._locale):new RegExp(Ne(e))}function Ne(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ie(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=Le(t)),r}le={};var ke={};function Be(e,t){var r,n,i=t;for("string"===typeof e&&(e=[e]),h(t)&&(i=function(e,r){r[t]=Ie(e)}),n=e.length,r=0;r<n;r++)ke[e[r]]=i}function De(e,t){Be(e,(function(e,r,n,i){n._w=n._w||{},t(e,n._w,n,i)}))}function Fe(e,t,r){null!=t&&c(ke,e)&&ke[e](t,r._a,r,e)}function Pe(e){return e%4===0&&e%100!==0||e%400===0}var je=0,Ue=1,He=2,Ve=3,Ye=4,We=5,Qe=6,ze=7,qe=8;function Ge(e){return Pe(e)?366:365}V("Y",0,0,(function(){var e=this.year();return e<=9999?F(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"),Te("Y",we),Te("YY",fe,ue),Te("YYYY",_e,he),Te("YYYYY",ve,pe),Te("YYYYYY",ve,pe),Be(["YYYYY","YYYYYY"],je),Be("YYYY",(function(e,t){t[je]=2===e.length?a.parseTwoDigitYear(e):Ie(e)})),Be("YY",(function(e,t){t[je]=a.parseTwoDigitYear(e)})),Be("Y",(function(e,t){t[je]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return Ie(e)+(Ie(e)>68?1900:2e3)};var Ke,Xe=Ze("FullYear",!0);function $e(){return Pe(this.year())}function Ze(e,t){return function(r){return null!=r?(et(this,e,r),a.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function et(e,t,r){var n,i,a,o,s;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}a=r,o=e.month(),s=e.date(),s=29!==s||1!==o||Pe(a)?s:28,i?n.setUTCFullYear(a,o,s):n.setFullYear(a,o,s)}}function tt(e){return e=ie(e),R(this[e])?this[e]():this}function rt(e,t){if("object"===typeof e){e=ae(e);var r,n=se(e),i=n.length;for(r=0;r<i;r++)this[n[r].unit](e[n[r].unit])}else if(e=ie(e),R(this[e]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=nt(t,12);return e+=(t-r)/12,1===r?Pe(e)?29:28:31-r%7%2}Ke=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)})),Te("M",fe,Me),Te("MM",fe,ue),Te("MMM",(function(e,t){return t.monthsShortRegex(e)})),Te("MMMM",(function(e,t){return t.monthsRegex(e)})),Be(["M","MM"],(function(e,t){t[Ue]=Ie(e)-1})),Be(["MMM","MMMM"],(function(e,t,r,n){var i=r._locale.monthsParse(e,n,r._strict);null!=i?t[Ue]=i:_(r).invalidMonth=e}));var at="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),st=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=Se,ct=Se;function ut(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||st).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function dt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[st.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ht(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=A([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?"MMM"===t?(i=Ke.call(this._shortMonthsParse,o),-1!==i?i:null):(i=Ke.call(this._longMonthsParse,o),-1!==i?i:null):"MMM"===t?(i=Ke.call(this._shortMonthsParse,o),-1!==i?i:(i=Ke.call(this._longMonthsParse,o),-1!==i?i:null)):(i=Ke.call(this._longMonthsParse,o),-1!==i?i:(i=Ke.call(this._shortMonthsParse,o),-1!==i?i:null))}function pt(e,t,r){var n,i,a;if(this._monthsParseExact)return ht.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=A([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 ft(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Ie(t);else if(t=e.localeData().monthsParse(t),!h(t))return e;var r=t,n=e.date();return n=n<29?n:Math.min(n,it(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function mt(e){return null!=e?(ft(this,e),a.updateOffset(this,!0),this):Je(this,"Month")}function At(){return it(this.year(),this.month())}function gt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||vt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function _t(e){return this._monthsParseExact?(c(this,"_monthsRegex")||vt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=ct),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function vt(){function e(e,t){return t.length-e.length}var t,r,n,i,a=[],o=[],s=[];for(t=0;t<12;t++)r=A([2e3,t]),n=Re(this.monthsShort(r,"")),i=Re(this.months(r,"")),a.push(n),o.push(i),s.push(i),s.push(n);a.sort(e),o.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function bt(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 wt(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 yt(e,t,r){var n=7+t-r,i=(7+wt(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=yt(e,n,i),c=1+7*(t-1)+s+l;return c<=0?(a=e-1,o=Ge(a)+c):c>Ge(e)?(a=e+1,o=c-Ge(e)):(a=e,o=c),{year:a,dayOfYear:o}}function Ct(e,t,r){var n,i,a=yt(e.year(),t,r),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,n=o+St(i,t,r)):o>St(e.year(),t,r)?(n=o-St(e.year(),t,r),i=e.year()+1):(i=e.year(),n=o),{week:n,year:i}}function St(e,t,r){var n=yt(e,t,r),i=yt(e+1,t,r);return(Ge(e)-n+i)/7}function Mt(e){return Ct(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),Te("w",fe,Me),Te("ww",fe,ue),Te("W",fe,Me),Te("WW",fe,ue),De(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=Ie(e)}));var xt={dow:0,doy:6};function Tt(){return this._week.dow}function Ot(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Rt(e){var t=Ct(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 It(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function kt(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"),Te("d",fe),Te("e",fe),Te("E",fe),Te("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Te("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Te("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:_(r).invalidWeekday=e})),De(["d","e","E"],(function(e,t,r,n){t[n]=Ie(e)}));var Bt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pt=Se,jt=Se,Ut=Se;function Ht(e,t){var r=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?kt(r,this._week.dow):e?r[e.day()]:r}function Vt(e){return!0===e?kt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Yt(e){return!0===e?kt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(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=A([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=Ke.call(this._weekdaysParse,o),-1!==i?i:null):"ddd"===t?(i=Ke.call(this._shortWeekdaysParse,o),-1!==i?i:null):(i=Ke.call(this._minWeekdaysParse,o),-1!==i?i:null):"dddd"===t?(i=Ke.call(this._weekdaysParse,o),-1!==i?i:(i=Ke.call(this._shortWeekdaysParse,o),-1!==i?i:(i=Ke.call(this._minWeekdaysParse,o),-1!==i?i:null))):"ddd"===t?(i=Ke.call(this._shortWeekdaysParse,o),-1!==i?i:(i=Ke.call(this._weekdaysParse,o),-1!==i?i:(i=Ke.call(this._minWeekdaysParse,o),-1!==i?i:null))):(i=Ke.call(this._minWeekdaysParse,o),-1!==i?i:(i=Ke.call(this._weekdaysParse,o),-1!==i?i:(i=Ke.call(this._shortWeekdaysParse,o),-1!==i?i:null)))}function Qt(e,t,r){var n,i,a;if(this._weekdaysParseExact)return Wt.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=A([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 zt(e){if(!this.isValid())return null!=e?this:NaN;var t=Je(this,"Day");return null!=e?(e=Lt(e,this.localeData()),this.add(e-t,"d")):t}function qt(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 Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=It(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Kt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Pt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=jt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $t(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ut),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,r,n,i,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)r=A([2e3,1]).day(t),n=Re(this.weekdaysMin(r,"")),i=Re(this.weekdaysShort(r,"")),a=Re(this.weekdays(r,"")),o.push(n),s.push(i),l.push(a),c.push(n),c.push(i),c.push(a);o.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Jt(){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,Jt),V("k",["kk",2],0,er),V("hmm",0,0,(function(){return""+Jt.apply(this)+F(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+Jt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),tr("a",!0),tr("A",!1),Te("a",rr),Te("A",rr),Te("H",fe,xe),Te("h",fe,Me),Te("k",fe,Me),Te("HH",fe,ue),Te("hh",fe,ue),Te("kk",fe,ue),Te("hmm",me),Te("hmmss",Ae),Te("Hmm",me),Te("Hmmss",Ae),Be(["H","HH"],Ve),Be(["k","kk"],(function(e,t,r){var n=Ie(e);t[Ve]=24===n?0:n})),Be(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),Be(["h","hh"],(function(e,t,r){t[Ve]=Ie(e),_(r).bigHour=!0})),Be("hmm",(function(e,t,r){var n=e.length-2;t[Ve]=Ie(e.substr(0,n)),t[Ye]=Ie(e.substr(n)),_(r).bigHour=!0})),Be("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[Ve]=Ie(e.substr(0,n)),t[Ye]=Ie(e.substr(n,2)),t[We]=Ie(e.substr(i)),_(r).bigHour=!0})),Be("Hmm",(function(e,t,r){var n=e.length-2;t[Ve]=Ie(e.substr(0,n)),t[Ye]=Ie(e.substr(n))})),Be("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[Ve]=Ie(e.substr(0,n)),t[Ye]=Ie(e.substr(n,2)),t[We]=Ie(e.substr(i))}));var ir=/[ap]\.?m?\.?/i,ar=Ze("Hours",!0);function or(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var sr,lr={calendar:B,longDateFormat:q,invalidDate:K,ordinal:$,dayOfMonthOrdinalParse:Z,relativeTime:ee,months:at,monthsShort:ot,week:xt,weekdays:Bt,weekdaysMin:Ft,weekdaysShort:Dt,meridiemParse:ir},cr={},ur={};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!(!e||!e.match("^[^/\\\\]*$"))}function mr(n){var i=null;if(void 0===cr[n]&&"undefined"!==typeof e&&e&&e.exports&&fr(n))try{i=sr._abbr,t,r("4678")("./"+n),Ar(i)}catch(a){cr[n]=null}return cr[n]}function Ar(e,t){var r;return e&&(r=d(t)?vr(e):gr(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 gr(e,t){if(null!==t){var r,n=lr;if(t.abbr=e,null!=cr[e])N("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=cr[e]._config;else if(null!=t.parentLocale)if(null!=cr[t.parentLocale])n=cr[t.parentLocale]._config;else{if(r=mr(t.parentLocale),null==r)return ur[t.parentLocale]||(ur[t.parentLocale]=[]),ur[t.parentLocale].push({name:e,config:t}),null;n=r._config}return cr[e]=new k(I(n,t)),ur[e]&&ur[e].forEach((function(e){gr(e.name,e.config)})),Ar(e),cr[e]}return delete cr[e],null}function _r(e,t){if(null!=t){var r,n,i=lr;null!=cr[e]&&null!=cr[e].parentLocale?cr[e].set(I(cr[e]._config,t)):(n=mr(e),null!=n&&(i=n._config),t=I(i,t),null==n&&(t.abbr=e),r=new k(t),r.parentLocale=cr[e],cr[e]=r),Ar(e)}else null!=cr[e]&&(null!=cr[e].parentLocale?(cr[e]=cr[e].parentLocale,e===Ar()&&Ar(e)):null!=cr[e]&&delete cr[e]);return cr[e]}function vr(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 br(){return T(cr)}function wr(e){var t,r=e._a;return r&&-2===_(e).overflow&&(t=r[Ue]<0||r[Ue]>11?Ue:r[He]<1||r[He]>it(r[je],r[Ue])?He:r[Ve]<0||r[Ve]>24||24===r[Ve]&&(0!==r[Ye]||0!==r[We]||0!==r[Qe])?Ve:r[Ye]<0||r[Ye]>59?Ye:r[We]<0||r[We]>59?We:r[Qe]<0||r[Qe]>999?Qe:-1,_(e)._overflowDayOfYear&&(t<je||t>He)&&(t=He),_(e)._overflowWeeks&&-1===t&&(t=ze),_(e)._overflowWeekday&&-1===t&&(t=qe),_(e).overflow=t),e}var yr=/^\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)?)?$/,Cr=/Z|[+-]\d\d(?::?\d\d)?/,Sr=[["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]],Mr=[["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,Tr=/^(?:(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}))$/,Or={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nr(e){var t,r,n,i,a,o,s=e._i,l=yr.exec(s)||Er.exec(s),c=Sr.length,u=Mr.length;if(l){for(_(e).iso=!0,t=0,r=c;t<r;t++)if(Sr[t][1].exec(l[1])){i=Sr[t][0],n=!1!==Sr[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,r=u;t<r;t++)if(Mr[t][1].exec(l[3])){a=(l[2]||" ")+Mr[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Cr.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),ot.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 Ir(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function kr(e,t,r){if(e){var n=Dt.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return _(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Br(e,t,r){if(e)return Or[e];if(t)return 0;var n=parseInt(r,10),i=n%100,a=(n-i)/100;return 60*a+i}function Dr(e){var t,r=Tr.exec(Ir(e._i));if(r){if(t=Rr(r[4],r[3],r[2],r[5],r[6],r[7]),!kr(r[1],t,e))return;e._a=t,e._tzm=Br(r[8],r[9],r[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function Fr(e){var t=xr.exec(e._i);null===t?(Nr(e),!1===e._isValid&&(delete e._isValid,Dr(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Pr(e,t,r){return null!=e?e:null!=t?t:r}function jr(e){var t=new Date(a.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ur(e){var t,r,n,i,a,o=[];if(!e._d){for(n=jr(e),e._w&&null==e._a[He]&&null==e._a[Ue]&&Hr(e),null!=e._dayOfYear&&(a=Pr(e._a[je],n[je]),(e._dayOfYear>Ge(a)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),r=wt(a,0,e._dayOfYear),e._a[Ue]=r.getUTCMonth(),e._a[He]=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[Ve]&&0===e._a[Ye]&&0===e._a[We]&&0===e._a[Qe]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:bt).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[Ve]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(_(e).weekdayMismatch=!0)}}function Hr(e){var t,r,n,i,a,o,s,l,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(a=1,o=4,r=Pr(t.GG,e._a[je],Ct(Xr(),1,4).year),n=Pr(t.W,1),i=Pr(t.E,1),(i<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,c=Ct(Xr(),a,o),r=Pr(t.gg,e._a[je],c.year),n=Pr(t.w,c.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>St(r,a,o)?_(e)._overflowWeeks=!0:null!=l?_(e)._overflowWeekday=!0:(s=Et(r,n,i,a,o),e._a[je]=s.year,e._dayOfYear=s.dayOfYear)}function Vr(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],_(e).empty=!0;var t,r,n,i,o,s,l,c=""+e._i,u=c.length,d=0;for(n=z(e._f,e._locale).match(P)||[],l=n.length,t=0;t<l;t++)i=n[t],r=(c.match(Oe(i,e))||[])[0],r&&(o=c.substr(0,c.indexOf(r)),o.length>0&&_(e).unusedInput.push(o),c=c.slice(c.indexOf(r)+r.length),d+=r.length),H[i]?(r?_(e).empty=!1:_(e).unusedTokens.push(i),Fe(i,r,e)):e._strict&&!r&&_(e).unusedTokens.push(i);_(e).charsLeftOver=u-d,c.length>0&&_(e).unusedInput.push(c),e._a[Ve]<=12&&!0===_(e).bigHour&&e._a[Ve]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[Ve]=Yr(e._locale,e._a[Ve],e._meridiem),s=_(e).era,null!==s&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Ur(e),wr(e)}else Dr(e);else Nr(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 Wr(e){var t,r,n,i,a,o,s=!1,l=e._f.length;if(0===l)return _(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),v(t)&&(o=!0),a+=_(t).charsLeftOver,a+=10*_(t).unusedTokens.length,_(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 Qr(e){if(!e._d){var t=ae(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)})),Ur(e)}}function zr(e){var t=new C(wr(qr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qr(e){var t=e._i,r=e._f;return e._locale=e._locale||vr(e._l),null===t||void 0===r&&""===t?b({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new C(wr(t)):(p(t)?e._d=t:s(r)?Wr(e):r?Vr(e):Gr(e),v(e)||(e._d=null),e))}function Gr(e){var t=e._i;d(t)?e._d=new Date(a.now()):p(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Fr(e):s(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),Ur(e)):l(t)?Qr(e):h(t)?e._d=new Date(t):a.createFromInputFallback(e)}function Kr(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)&&u(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,zr(a)}function Xr(e,t,r,n){return Kr(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=Xr.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Zr=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xr.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Jr(e,t){var r,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Xr();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 Jr("isBefore",e)}function tn(){var e=[].slice.call(arguments,0);return Jr("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(c(e,t)&&(-1===Ke.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]])!==Ie(e[nn[r]])&&(n=!0)}return!0}function on(){return this._isValid}function sn(){return Nn(NaN)}function ln(e){var t=ae(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,c=t.second||0,u=t.millisecond||0;this._isValid=an(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*n+12*r,this._data={},this._locale=vr(),this._bubble()}function cn(e){return e instanceof ln}function un(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&&Ie(e[n])!==Ie(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+F(~~(e/60),2)+t+F(~~e%60,2)}))}hn("Z",":"),hn("ZZ",""),Te("Z",Ee),Te("ZZ",Ee),Be(["Z","ZZ"],(function(e,t,r){r._useUTC=!0,r._tzm=fn(Ee,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]+Ie(n[2]),0===i?0:"+"===n[0]?i:-i)}function mn(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(S(e)||p(e)?e.valueOf():Xr(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),a.updateOffset(r,!1),r):Xr(e).local()}function An(e){return-Math.round(e._d.getTimezoneOffset())}function gn(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(Ee,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=An(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Bn(this,Nn(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:An(this)}function _n(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vn(e){return this.utcOffset(0,e)}function bn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(An(this),"m")),this}function wn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fn(ye,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yn(e){return!!this.isValid()&&(e=e?Xr(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 Cn(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return E(t,this),t=qr(t),t._a?(e=t._isUTC?A(t._a):Xr(t._a),this._isDSTShifted=this.isValid()&&dn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sn(){return!!this.isValid()&&!this._isUTC}function Mn(){return!!this.isValid()&&this._isUTC}function xn(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Tn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,On=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Nn(e,t){var r,n,i,a=e,o=null;return cn(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Tn.exec(e))?(r="-"===o[1]?-1:1,a={y:0,d:Ie(o[He])*r,h:Ie(o[Ve])*r,m:Ie(o[Ye])*r,s:Ie(o[We])*r,ms:Ie(un(1e3*o[Qe]))*r}):(o=On.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=In(Xr(a.from),Xr(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),n=new ln(a),cn(e)&&c(e,"_locale")&&(n._locale=e._locale),cn(e)&&c(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 In(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 kn(e,t){return function(r,n){var i,a;return null===n||isNaN(+n)||(N(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=Nn(r,n),Bn(this,i,e),this}}function Bn(e,t,r,n){var i=t._milliseconds,o=un(t._days),s=un(t._months);e.isValid()&&(n=null==n||n,s&&ft(e,Je(e,"Month")+s*r),o&&et(e,"Date",Je(e,"Date")+o*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&a.updateOffset(e,o||s))}Nn.fn=ln.prototype,Nn.invalid=sn;var Dn=kn(1,"add"),Fn=kn(-1,"subtract");function Pn(e){return"string"===typeof e||e instanceof String}function jn(e){return S(e)||p(e)||Pn(e)||h(e)||Hn(e)||Un(e)||null===e||void 0===e}function Un(e){var t,r,n=l(e)&&!u(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||c(e,r);return n&&i}function Hn(e){var t=s(e),r=!1;return t&&(r=0===e.filter((function(t){return!h(t)&&Pn(e)})).length),t&&r}function Vn(e){var t,r,n=l(e)&&!u(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)r=a[t],i=i||c(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 Wn(e,t){1===arguments.length&&(arguments[0]?jn(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||Xr(),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,Xr(r)))}function Qn(){return new C(this)}function zn(e,t){var r=S(e)?e:Xr(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf())}function qn(e,t){var r=S(e)?e:Xr(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf())}function Gn(e,t,r,n){var i=S(e)?e:Xr(e),a=S(t)?t:Xr(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 Kn(e,t){var r,n=S(e)?e:Xr(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf()))}function Xn(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 Zn(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=ie(t),t){case"year":a=Jn(this,n)/12;break;case"month":a=Jn(this,n);break;case"quarter":a=Jn(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:Le(a)}function Jn(e,t){if(e.date()<t.date())return-Jn(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?Q(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",Q(r,"Z")):Q(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=Q(this,e);return this.localeData().postformat(t)}function ii(e,t){return this.isValid()&&(S(e)&&e.isValid()||Xr(e).isValid())?Nn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.from(Xr(),e)}function oi(e,t){return this.isValid()&&(S(e)&&e.isValid()||Xr(e).isValid())?Nn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(Xr(),e)}function li(e){var t;return void 0===e?this._locale._abbr:(t=vr(e),null!=t&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ci=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 ui(){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 Ai(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-fi:new Date(e,t,r).valueOf()}function gi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-fi:Date.UTC(e,t,r)}function _i(e){var t,r;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?gi:Ai,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 vi(e){var t,r;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?gi:Ai,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 bi(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function yi(){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 Ci(){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 Si(){return this.isValid()?this.toISOString():null}function Mi(){return v(this)}function xi(){return m({},_(this))}function Ti(){return _(this).overflow}function Oi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ni(e,t){var r,n,i,o=this._eras||vr("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 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].name;if(n[e].until<=r&&r<=n[e].since)return n[e].name}return""}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].narrow;if(n[e].until<=r&&r<=n[e].since)return n[e].narrow}return""}function Bi(){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 Di(){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 Fi(e){return c(this,"_erasNameRegex")||Wi.call(this),e?this._erasNameRegex:this._erasRegex}function Pi(e){return c(this,"_erasAbbrRegex")||Wi.call(this),e?this._erasAbbrRegex:this._erasRegex}function ji(e){return c(this,"_erasNarrowRegex")||Wi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ui(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Yi(e,t){return t._eraYearOrdinalRegex||be}function Wi(){var e,t,r,n,i,a=[],o=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)r=Re(c[e].name),n=Re(c[e].abbr),i=Re(c[e].narrow),o.push(r),a.push(n),s.push(i),l.push(r),l.push(n),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Qi(e,t){V(0,[e,e.length],0,t)}function zi(e){return Zi.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function qi(e){return Zi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return St(this.year(),1,4)}function Ki(){return St(this.isoWeekYear(),1,4)}function Xi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function $i(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Zi(e,t,r,n,i){var a;return null==e?Ct(this,n,i).year:(a=St(e,n,i),t>a&&(t=a),Ji.call(this,e,t,r,n,i))}function Ji(e,t,r,n,i){var a=Et(e,t,r,n,i),o=wt(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"),Te("N",Ui),Te("NN",Ui),Te("NNN",Ui),Te("NNNN",Hi),Te("NNNNN",Vi),Be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?_(r).era=i:_(r).invalidEra=e})),Te("y",be),Te("yy",be),Te("yyy",be),Te("yyyy",be),Te("yo",Yi),Be(["y","yy","yyy","yyyy"],je),Be(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[je]=r._locale.eraYearOrdinalParse(e,i):t[je]=parseInt(e,10)})),V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Qi("gggg","weekYear"),Qi("ggggg","weekYear"),Qi("GGGG","isoWeekYear"),Qi("GGGGG","isoWeekYear"),Te("G",we),Te("g",we),Te("GG",fe,ue),Te("gg",fe,ue),Te("GGGG",_e,he),Te("gggg",_e,he),Te("GGGGG",ve,pe),Te("ggggg",ve,pe),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=Ie(e)})),De(["gg","GG"],(function(e,t,r,n){t[n]=a.parseTwoDigitYear(e)})),V("Q",0,"Qo","quarter"),Te("Q",ce),Be("Q",(function(e,t){t[Ue]=3*(Ie(e)-1)})),V("D",["DD",2],"Do","date"),Te("D",fe,Me),Te("DD",fe,ue),Te("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Be(["D","DD"],He),Be("Do",(function(e,t){t[He]=Ie(e.match(fe)[0])}));var ta=Ze("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"),Te("DDD",ge),Te("DDDD",de),Be(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=Ie(e)})),V("m",["mm",2],0,"minute"),Te("m",fe,xe),Te("mm",fe,ue),Be(["m","mm"],Ye);var na=Ze("Minutes",!1);V("s",["ss",2],0,"second"),Te("s",fe,xe),Te("ss",fe,ue),Be(["s","ss"],We);var ia,aa,oa=Ze("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()})),Te("S",ge,ce),Te("SS",ge,ue),Te("SSS",ge,de),ia="SSSS";ia.length<=9;ia+="S")Te(ia,be);function sa(e,t){t[Qe]=Ie(1e3*("0."+e))}for(ia="S";ia.length<=9;ia+="S")Be(ia,sa);function la(){return this._isUTC?"UTC":""}function ca(){return this._isUTC?"Coordinated Universal Time":""}aa=Ze("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var ua=C.prototype;function da(e){return Xr(1e3*e)}function ha(){return Xr.apply(null,arguments).parseZone()}function pa(e){return e}ua.add=Dn,ua.calendar=Wn,ua.clone=Qn,ua.diff=Zn,ua.endOf=vi,ua.format=ni,ua.from=ii,ua.fromNow=ai,ua.to=oi,ua.toNow=si,ua.get=tt,ua.invalidAt=Ti,ua.isAfter=zn,ua.isBefore=qn,ua.isBetween=Gn,ua.isSame=Kn,ua.isSameOrAfter=Xn,ua.isSameOrBefore=$n,ua.isValid=Mi,ua.lang=ci,ua.locale=li,ua.localeData=ui,ua.max=Zr,ua.min=$r,ua.parsingFlags=xi,ua.set=rt,ua.startOf=_i,ua.subtract=Fn,ua.toArray=Ei,ua.toObject=Ci,ua.toDate=yi,ua.toISOString=ti,ua.inspect=ri,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=Si,ua.toString=ei,ua.unix=wi,ua.valueOf=bi,ua.creationData=Oi,ua.eraName=Ii,ua.eraNarrow=ki,ua.eraAbbr=Bi,ua.eraYear=Di,ua.year=Xe,ua.isLeapYear=$e,ua.weekYear=zi,ua.isoWeekYear=qi,ua.quarter=ua.quarters=ea,ua.month=mt,ua.daysInMonth=At,ua.week=ua.weeks=Nt,ua.isoWeek=ua.isoWeeks=Rt,ua.weeksInYear=Xi,ua.weeksInWeekYear=$i,ua.isoWeeksInYear=Gi,ua.isoWeeksInISOWeekYear=Ki,ua.date=ta,ua.day=ua.days=zt,ua.weekday=qt,ua.isoWeekday=Gt,ua.dayOfYear=ra,ua.hour=ua.hours=ar,ua.minute=ua.minutes=na,ua.second=ua.seconds=oa,ua.millisecond=ua.milliseconds=aa,ua.utcOffset=gn,ua.utc=vn,ua.local=bn,ua.parseZone=wn,ua.hasAlignedHourOffset=yn,ua.isDST=En,ua.isLocal=Sn,ua.isUtcOffset=Mn,ua.isUtc=xn,ua.isUTC=xn,ua.zoneAbbr=la,ua.zoneName=ca,ua.dates=x("dates accessor is deprecated. Use date instead.",ta),ua.months=x("months accessor is deprecated. Use month instead",mt),ua.years=x("years accessor is deprecated. Use year instead",Xe),ua.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",_n),ua.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Cn);var fa=k.prototype;function ma(e,t,r,n){var i=vr(),a=A().set(n,t);return i[r](a,e)}function Aa(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 ga(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=vr(),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 _a(e,t){return Aa(e,t,"months")}function va(e,t){return Aa(e,t,"monthsShort")}function ba(e,t,r){return ga(e,t,r,"weekdays")}function wa(e,t,r){return ga(e,t,r,"weekdaysShort")}function ya(e,t,r){return ga(e,t,r,"weekdaysMin")}fa.calendar=D,fa.longDateFormat=G,fa.invalidDate=X,fa.ordinal=J,fa.preparse=pa,fa.postformat=pa,fa.relativeTime=te,fa.pastFuture=re,fa.set=L,fa.eras=Ni,fa.erasParse=Ri,fa.erasConvertYear=Li,fa.erasAbbrRegex=Pi,fa.erasNameRegex=Fi,fa.erasNarrowRegex=ji,fa.months=ut,fa.monthsShort=dt,fa.monthsParse=pt,fa.monthsRegex=_t,fa.monthsShortRegex=gt,fa.week=Mt,fa.firstDayOfYear=Ot,fa.firstDayOfWeek=Tt,fa.weekdays=Ht,fa.weekdaysMin=Yt,fa.weekdaysShort=Vt,fa.weekdaysParse=Qt,fa.weekdaysRegex=Kt,fa.weekdaysShortRegex=Xt,fa.weekdaysMinRegex=$t,fa.isPM=nr,fa.meridiem=or,Ar("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===Ie(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.",Ar),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",vr);var Ea=Math.abs;function Ca(){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 Sa(e,t,r,n){var i=Nn(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Ma(e,t){return Sa(this,e,t,1)}function xa(e,t){return Sa(this,e,t,-1)}function Ta(e){return e<0?Math.floor(e):Math.ceil(e)}function Oa(){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*Ta(Ra(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=Le(a/1e3),l.seconds=e%60,t=Le(e/60),l.minutes=t%60,r=Le(t/60),l.hours=r%24,o+=Le(r/24),i=Le(Na(o)),s+=i,o-=Ta(Ra(i)),n=Le(s/12),s%=12,l.days=o,l.months=s,l.years=n,this}function Na(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=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+Na(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 Ia(e){return function(){return this.as(e)}}var ka=Ia("ms"),Ba=Ia("s"),Da=Ia("m"),Fa=Ia("h"),Pa=Ia("d"),ja=Ia("w"),Ua=Ia("M"),Ha=Ia("Q"),Va=Ia("y"),Ya=ka;function Wa(){return Nn(this)}function Qa(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function za(e){return function(){return this.isValid()?this._data[e]:NaN}}var qa=za("milliseconds"),Ga=za("seconds"),Ka=za("minutes"),Xa=za("hours"),$a=za("days"),Za=za("months"),Ja=za("years");function eo(){return Le(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=Nn(e).abs(),a=to(i.as("s")),o=to(i.as("m")),s=to(i.as("h")),l=to(i.as("d")),c=to(i.as("M")),u=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||u<=1&&["w"]||u<r.w&&["ww",u]),h=h||c<=1&&["M"]||c<r.M&&["MM",c]||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 co(e){return(e>0)-(e<0)||+e}function uo(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,a,o,s,l=lo(this._milliseconds)/1e3,c=lo(this._days),u=lo(this._months),d=this.asSeconds();return d?(e=Le(l/60),t=Le(e/60),l%=60,e%=60,r=Le(u/12),u%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=co(this._months)!==co(d)?"-":"",o=co(this._days)!==co(d)?"-":"",s=co(this._milliseconds)!==co(d)?"-":"",i+"P"+(r?a+r+"Y":"")+(u?a+u+"M":"")+(c?o+c+"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=Ca,ho.add=Ma,ho.subtract=xa,ho.as=La,ho.asMilliseconds=ka,ho.asSeconds=Ba,ho.asMinutes=Da,ho.asHours=Fa,ho.asDays=Pa,ho.asWeeks=ja,ho.asMonths=Ua,ho.asQuarters=Ha,ho.asYears=Va,ho.valueOf=Ya,ho._bubble=Oa,ho.clone=Wa,ho.get=Qa,ho.milliseconds=qa,ho.seconds=Ga,ho.minutes=Ka,ho.hours=Xa,ho.days=$a,ho.weeks=eo,ho.months=Za,ho.years=Ja,ho.humanize=so,ho.toISOString=uo,ho.toString=uo,ho.toJSON=uo,ho.locale=li,ho.localeData=ui,ho.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",uo),ho.lang=ci,V("X",0,0,"unix"),V("x",0,0,"valueOf"),Te("x",we),Te("X",Ce),Be("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),Be("x",(function(e,t,r){r._d=new Date(Ie(e))})),
  610. //! moment.js
  611. a.version="2.30.1",o(Xr),a.fn=ua,a.min=en,a.max=tn,a.now=rn,a.utc=A,a.unix=da,a.months=_a,a.isDate=p,a.locale=Ar,a.invalid=b,a.duration=Nn,a.isMoment=S,a.weekdays=ba,a.parseZone=ha,a.localeData=vr,a.isDuration=cn,a.monthsShort=va,a.weekdaysMin=ya,a.defineLocale=gr,a.updateLocale=_r,a.locales=br,a.weekdaysShort=wa,a.normalizeUnits=ie,a.relativeTimeRounding=ao,a.relativeTimeThreshold=oo,a.calendarFormat=Yn,a.prototype=ua,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 V}));var n=r("c0d8"),i=r("2b0e");function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,r){return t=d(t),A(e,p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r))}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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,v(n.key),n)}}function c(e,t,r){return t&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(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&&g(e,t)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(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 m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function A(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 a(e)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function _(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){var t=_(e,"string");return"symbol"==typeof t?t:t+""}function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var w=Symbol("unassigned"),y=null,E="The Handsontable instance bound to this component was destroyed and cannot be used properly.";function C(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 S(e){var t=n["a"].hooks.getRegistered(),r={};for(var i in Object.assign(r,n["a"].DefaultSettings),r)r[i]={default:w};for(var a=0;a<t.length;a++)r[t[a]]={default:w};return r.settings={default:w},"HotTable"===e&&(r.id={type:String,default:"hot-"+Math.random().toString(36).substring(5)},r.wrapperRendererCacheSize={type:Number,default:3e3}),r}function M(e){var t={},r=e["settings"];if(r!==w)for(var n in r)r.hasOwnProperty(n)&&r[n]!==w&&(t[n]=r[n]);for(var i in e)e.hasOwnProperty(i)&&"settings"!==i&&e[i]!==w&&(t[i]=e[i]);return t}function x(e,t){var r=M(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 T(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 O(e){return e.filter((function(e){return"HotColumn"===e.$options.name}))}function N(e,t,r,n){var i=t.$el?t.$el.ownerDocument:document,a={propsData:r,parent:t,data:n};y||(y=i.createElement("DIV"),y.id="vueHotComponents",i.body.appendChild(y));var o=i.createElement("DIV");return y.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"===b(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():b(e)===b(t)&&r(e)===r(t)}var L="14.6.1",I=("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self&&self,{});(function(e){(function(t,r){var n=e;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)}}))})(I);var k={name:"HotTable",props:S("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 I.LRUMap(this.wrapperRendererCacheSize);return t.shift=function(){var e=I.LRUMap.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(),C(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 c=r[0].length;c<s;c++)i.push(c);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 T(e,"hot-renderer")},getGlobalEditorVNode:function(){var e=this.$slots["default"]||[];return T(e,"hot-editor")},getColumnSettings:function(){var e=O(this.$children),t=!1,r=e.map((function(e){return e.usesRendererComponent&&(t=!0),m({},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,c){if(i&&!i.getAttribute("ghost-table")){var u=r.rendererCache,d={hotInstance:n,TD:i,row:a,col:o,prop:s,value:l,cellProperties:c,isRenderer:!0};if(u&&!u.has("".concat(a,"-").concat(o))){var h=N(e,t,e.componentOptions.propsData,d);u.set("".concat(a,"-").concat(o),{component:h,lastUsedTD:null})}var p=u.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=N(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 B(e,t,r,n,i,a,o,s,l,c){const u="function"===typeof r?r.options:r;return e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r}var D=k,F=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:e.id}},[e._t("default")],2)},P=[],j=void 0,U=void 0,H=!1,V=B({render:F,staticRenderFns:P},j,D,U,H);S("HotColumn");function Y(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 W(e){return W="function"===typeof Symbol&&"symbol"===b(Symbol.iterator)?function(e){return b(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":b(e)},W(e)}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e){return q(e)||G(e)||K()}function q(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 G(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function K(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function X(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function $(e,t){Z(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(r){Z(e.prototype,t.prototype,r)})),Object.getOwnPropertyNames(t).forEach((function(r){Z(e,t,r)}))}function Z(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)}))}"function"===typeof SuppressedError&&SuppressedError;var J={__proto__:[]},ee=J instanceof Array;function te(e){var t=W(e);return null==e||"object"!==t&&"function"!==t}function re(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 ne=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function ie(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(ne.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 Q({},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 re(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 oe(s,e,o),X()&&$(s,e),s}var ae={prototype:!0,arguments:!0,callee:!0,caller:!0};function oe(e,t,r){Object.getOwnPropertyNames(t).forEach((function(n){if(!ae[n]){var i=Object.getOwnPropertyDescriptor(e,n);if(!i||i.configurable){var a=Object.getOwnPropertyDescriptor(t,n);if(!ee){if("cid"===n)return;var o=Object.getOwnPropertyDescriptor(r,n);if(!te(a.value)&&o&&o.value===a.value)return}Object.defineProperty(e,n,a)}}}))}function se(e){return"function"===typeof e?ie(e):function(t){return ie(t,e)}}se.registerHooks=function(e){ne.push.apply(ne,z(e))};var le=function(e){function t(){var e;return s(this,t),e=o(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 h(t,e),c(t,[{key:"mounted",value:function(){var e=this;this.$data.hotCustomEditorClass=function(){var t=function(t){function r(t){var n;return s(this,r),n=o(this,r,[t]),e.$data.hotCustomEditorInstance=n,n}return h(r,t),c(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"]);le=Y([se({})],le)},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"}}')},c29f:function(e,t,r){"use strict";r("4bb4")},c2ae:function(e,t,r){e.exports=r("e372").PassThrough},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+=u(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 c(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 u(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 c;c="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]=c>>>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 A(e,t){return e+t>>>0}function g(e,t,r){return e+t+r>>>0}function _(e,t,r,n){return e+t+r+n>>>0}function v(e,t,r,n,i){return e+t+r+n+i>>>0}function b(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 w(e,t,r,n){var i=t+n>>>0,a=(i<t?1:0)+e+r;return a>>>0}function y(e,t,r,n){var i=t+n;return i>>>0}function E(e,t,r,n,i,a,o,s){var l=0,c=t;c=c+n>>>0,l+=c<t?1:0,c=c+a>>>0,l+=c<a?1:0,c=c+s>>>0,l+=c<s?1:0;var u=e+r+i+o+l;return u>>>0}function C(e,t,r,n,i,a,o,s){var l=t+n+a+s;return l>>>0}function S(e,t,r,n,i,a,o,s,l,c){var u=0,d=t;d=d+n>>>0,u+=d<t?1:0,d=d+a>>>0,u+=d<a?1:0,d=d+s>>>0,u+=d<s?1:0,d=d+c>>>0,u+=d<c?1:0;var h=e+r+i+o+l+u;return h>>>0}function M(e,t,r,n,i,a,o,s,l,c){var u=t+n+a+s+c;return u>>>0}function x(e,t,r){var n=t<<32-r|e>>>r;return n>>>0}function T(e,t,r){var n=e<<32-r|t>>>r;return n>>>0}function O(e,t,r){return e>>>r}function N(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=c,t.zero2=u,t.zero8=d,t.join32=h,t.split32=p,t.rotr32=f,t.rotl32=m,t.sum32=A,t.sum32_3=g,t.sum32_4=_,t.sum32_5=v,t.sum64=b,t.sum64_hi=w,t.sum64_lo=y,t.sum64_4_hi=E,t.sum64_4_lo=C,t.sum64_5_hi=S,t.sum64_5_lo=M,t.rotr64_hi=x,t.rotr64_lo=T,t.shr64_hi=O,t.shr64_lo=N},c4c8:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("b775");function i(e){return Object(n["a"])({url:"/product/search",method:"post",data:e})}},c4e1:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"editor"},[r("draggable",{style:e.draggableStyle,attrs:{group:"itxst",animation:"300",handle:".drag-handle",scroll:!0,scrollSensitivity:100,scrollSpeed:20},on:{add:e.onAdd,update:e.onDragEnd,end:e.onDragComplete},model:{value:e.comList,callback:function(t){e.comList=t},expression:"comList"}},[r("transition-group",{staticStyle:{display:"block","min-height":"100vh"}},[e._l(e.comList,(function(t,n){return[r("div",{key:n,staticClass:"layers",class:e.comIndex==n?"active-layer":""},[r("div",{staticClass:"drag-handle",attrs:{draggable:""}},[r("svg-icon",{attrs:{"icon-class":"drag"}})],1),r("div",{staticStyle:{padding:"10px 0"}},[r("el-form",{staticClass:"inline-form",attrs:{"label-position":"left"}},[r("el-row",{staticStyle:{"margin-left":"0","margin-right":"0"},attrs:{gutter:24}},[r("el-col",{attrs:{xs:24,sm:24,md:12,lg:8,xl:8}},[r("el-form-item",{attrs:{label:"模块分类:"}},[r("span",{staticStyle:{cursor:"pointer"},on:{click:function(r){return e.enableSelect(t)}}},[e._v(e._s(e.getCategory(t.category_id)))])])],1),r("el-col",{attrs:{xs:24,sm:24,md:12,lg:8,xl:8}},[r("el-form-item",{attrs:{label:"模块名称:"}},[r("span",{staticStyle:{cursor:"pointer"},on:{click:function(r){return e.enableName(t)}}},[e._v(e._s(t.name))])])],1),r("el-col",{attrs:{xs:24,sm:24,md:12,lg:8,xl:8}},[r("el-form-item",[r("div",{staticClass:"btn-save"},["document"!==e.type?r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"保存模块",placement:"top"}},[r("el-button",{attrs:{size:"mini",icon:"el-icon-document-add",circle:""},on:{click:function(r){return e.onSaveTemplate(t)}}})],1):e._e(),1!==t.isEdit&&"document"!==e.type?r("el-button",{attrs:{circle:"",size:"mini"},on:{click:function(t){return e.onEdit(n,1)}}},[r("svg-icon",{attrs:{"icon-class":"edit"}})],1):r("el-button",{attrs:{circle:"",size:"mini",icon:"el-icon-view"},on:{click:function(t){return e.onEdit(n,2)}}}),e.templateId||"document"===e.type?e._e():r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"删除",placement:"top"}},[r("el-button",{attrs:{circle:"",size:"mini"},on:{click:function(t){return e.onRemove(n)}}},[r("svg-icon",{attrs:{"icon-class":"delete"}})],1)],1)],1)])],1)],1)],1)],1),r("div",{staticClass:"main",on:{click:function(t){return e.onSetActive(n)}}},[r(t.type,{tag:"component",attrs:{com:t,coms:e.comList,currentIndex:n,isAdmin:e.isAdmin,insertCmd:e.insertCmd,isEdit:t.isEdit},on:{onUpdate:e.onUpdate,onUpdateAttr:e.onUpdateAttr,onUpdata:e.onUpdata,onUpdateProdAttr:e.onUpdateProdAttr,updateComContent:e.handleComContentUpdate}})],1)])]})),e.comList.length<=0?[r("div",{key:-1,staticClass:"editor-empty"},[r("el-empty",{attrs:{description:"请拖放组件至当前页面"}})],1)]:e._e()],2)],1)],1)},i=[],a=r("c7eb"),o=r("1da1"),s=r("b85c"),l=r("2909"),c=r("53ca"),u=r("5530"),d=(r("4de4"),r("caad"),r("a15b"),r("d81d"),r("14d9"),r("fb6a"),r("b0c0"),r("e9c4"),r("4ec9"),r("a9e3"),r("b64b"),r("d3b7"),r("ac1f"),r("2532"),r("3ca3"),r("466d"),r("498a"),r("0643"),r("2382"),r("4e3e"),r("a573"),r("159b"),r("ddb0"),r("b76a")),h=r.n(d),p=r("9fdb"),f=r("7cb9"),m=r("0fe1"),A=r("c621"),g={name:"editor",emits:["onSetActiveIndex","onDelete","onInsert","onLoadArticle","onRebuild","onSetComs"],components:{Table:p["default"],TextArea:f["default"],draggable:h.a,Empty:m["default"]},props:{coms:{type:Array,default:null},comIndex:{type:Number,default:0},templateCate:{type:Array,default:function(){return[]}},insertCmd:{type:Object,default:null},isAdmin:{type:Number,default:2}},watch:{coms:{handler:function(e){null!=e&&(console.log("val",e),this.comList=JSON.parse(JSON.stringify(e)),console.log("comList",this.comList))},immediate:!0,deep:!0},comIndex:{handler:function(e){e<=0||(this.comList=this.comList.map((function(e){return e.isEdit=2,e.selDisabled=!0,e.valDisabled=!0,"string"===typeof e.category_id&&e.category_id.includes(" ")?e.category_id=e.category_id.split(" "):Array.isArray(e.category_id)||(e.category_id=[e.category_id].filter(Boolean)),e})))},immediate:!0,deep:!0}},data:function(){return{showEditor:!1,operation:"",id:0,comList:[],categoryList:[],props:{value:"id",label:"name",children:"children",checkStrictly:!0},saveAs:!1,draggableStyle:{width:"100%",overflowY:"auto"},type:""}},mounted:function(){var e=this;console.log(this.$store.state),this.initCategoryList(),this.type=this.$route.query.type,this.templateId=this.$route.query.templateId,this.$nextTick((function(){e.updateDirectoryNumbers()}))},methods:{onDragComplete:function(){var e=this;console.log("拖动结束"),this.$nextTick((function(){e.updateDirectoryNumbers(),e.$emit("onRebuild",e.comList)}))},updateDirectoryNumbers:function(){var e=this,t={};this.comList.forEach((function(r,n){r.attrs&&r.attrs.forEach((function(r){if("Directory"===r.type){var i=e.generateNumberedContent(n,r.level,t);r.hasOwnProperty("number")?r.number=i:e.$set(r,"number",i)}}))}))},generateNumberedContent:function(e,t,r){return this.generateLevelPrefix(e,t,r)},generateLevelPrefix:function(e,t,r){for(var n=[],i=1;i<=t;i++)1===i?n.push(e+1):(r[i]?r[i]++:r[i]=1,n.push(r[i]));return n.join(".")},carefulCopy:function(e){return e.map((function(e){var t=Object(u["a"])({},e);return Array.isArray(t.attrs)&&(t.attrs=t.attrs.map((function(e){return Object(u["a"])({},e)}))),"object"===Object(c["a"])(t.content)&&null!==t.content&&(t.content=JSON.parse(JSON.stringify(t.content))),"Table"===t.type&&(t.tableHeader=Object(l["a"])(t.tableHeader),t.tableData=t.tableData.map((function(e){return Object(u["a"])({},e)}))),t}))},handleComContentUpdate:function(e,t){this.$set(this.coms,e,t),this.$emit("onRebuild",this.coms)},showCategoryName:function(e){return"module"==this.type&&!e.valDisabled},enableName:function(e){e.valDisabled=!1,this.$forceUpdate()},showCategorySelect:function(e){return"module"===this.type&&!e.selDisabled},enableSelect:function(e){e.selDisabled=!0,console.log(e),this.$forceUpdate()},getCategory:function(e){var t=function(e,r){var n,i=Object(s["a"])(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.id===r)return a.name;if(a.children){var o=t(a.children,r);if(o)return o}}}catch(l){i.e(l)}finally{i.f()}return null};return t(this.categoryList,e)||"请选择分类"},onSaveAs:function(e){this.saveAs=!0,this.onSaveTemplate(e)},onSaveTemplate:function(e){var t=this,r=this,n=JSON.parse(JSON.stringify(e));console.log(n),n.category&&delete n.category,n.attrs=JSON.stringify(n.attrs),n.code=n.name,n.status=5,Array.isArray(e.category_id)?n.category_id=e.category_id[e.category_id.length-1]:n.category_id=e.category_id,void 0==n.id||this.saveAs?Object(A["a"])(n).then((function(i){200==i.status&&(n.id=i.data,e.id=i.data,r.$alert("模块信息保存成功"),r.$emit("onRefresh"),t.saveAs=!1,n.selDisabled=!1,n.valDisabled=!1,t.$forceUpdate())})):Object(A["l"])(n).then((function(e){200==e.status&&(r.$alert("模块信息更新成功"),r.$emit("onRefresh"),n.selDisabled=!1,n.valDisabled=!1,t.$forceUpdate())}))},initCategoryList:function(){var e=this;return Object(o["a"])(Object(a["a"])().mark((function t(){var r;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e,t.next=3,Object(A["k"])();case 3:r=t.sent,console.log(r),e.categoryList=r.data;case 6:case"end":return t.stop()}}),t)})))()},processDataForCascader:function(e){console.log("Raw data:",e);var t=new Map,r=[];return e.forEach((function(e){var r=Object(u["a"])(Object(u["a"])({},e),{},{children:[]});t.set(e.id,r)})),e.forEach((function(e){if("0"===e.parent_id||0===e.parent_id)r.push(t.get(e.id));else{var n=t.get(parseInt(e.parent_id));n?n.children.push(t.get(e.id)):(console.warn("Parent with id ".concat(e.parent_id," not found for item:"),e),r.push(t.get(e.id)))}})),console.log("Processed data:",r),r},onChangeCategory:function(e,t){var r=t[t.length-1];e.category_id=r},onUpdateProdAttr:function(e,t,r){this.comList[e].attrs[t].content=r;for(var n=this.comList[e].attrs[t].attrs.name,i=this.comList[e].attrs[t].attrs.type,a=0;a<this.comList.length;a++)for(var o=0;o<this.comList[a].attrs.length;o++)"ProductAttr"==this.comList[a].attrs[o].type&&this.comList[a].attrs[o].attrs.name==n&&this.comList[a].attrs[o].attrs.type==i&&(this.comList[a].attrs[o].content=r);this.$emit("onRebuild",this.comList)},onUpdateAttr:function(e,t,r){this.comList[e].attrs[t].content=r;for(var n=this.comList[e].attrs[t].type,i=this.comList[e].attrs[t].data,a=0;a<this.comList.length;a++)for(var o=0;o<this.comList[a].attrs.length;o++)this.comList[a].attrs[o].type==n&&this.comList[a].attrs[o].id==i&&(this.comList[a].attrs[o].content=r);this.$emit("onRebuild",this.comList)},onUpdata:function(e,t,r,n,i){var a=this,o=a.coms[e];if("variableNull"===i)o&&o.attrs&&o.attrs[t]&&o.attrs[t].id===r&&this.$set(o.attrs[t],"content",n);else for(var s=o.attrs[t].type,l=0;l<a.coms.length;l++)for(var c=0;c<a.coms[l].attrs.length;c++)a.coms[l].attrs[c].type==s&&a.coms[l].attrs[c].id==r&&(a.coms[l].attrs[c].content=n);a.$emit("onRebuild",a.coms)},onRemove:function(e){this.$emit("onDelete",e)},onEdit:function(e,t){var r=this;this.comList=this.comList.map((function(n,i){return n.isEdit=2,i===e&&1===t&&r.filterAttrs(n),n})),1==t&&(this.comList[e].isEdit=1,this.onSetActive(e)),this.$emit("onRebuild",this.comList)},filterAttrs:function(e){var t=(e.content.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()}));e.attrs=e.attrs.filter((function(e){return t.includes(e.id)}))},onAdd:function(e){e.preventDefault(),e.stopPropagation(),this.$emit("onRebuild",this.comList)},onDragEnd:function(e){e.preventDefault(),e.stopPropagation(),this.$emit("onRebuild",this.comList)},onUpdate:function(e,t){this.coms[e].content=t,this.$emit("onRebuild",this.coms)},onSetActive:function(e){this.$emit("onSetActiveIndex",e)}}},_=g,v=(r("91aa"),r("2877")),b=Object(v["a"])(_,n,i,!1,null,null,null);t["default"]=b.exports},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"},c515:function(e,t,r){"use strict";(function(e,n,i){r.d(t,"a",(function(){return ci}));var a=r("7a74"),o=r.n(a),s=r("4850"),l=r("3f41"),c=r.n(l),u=r("39f4"),d=r("1c46"),h=r.n(d),p=r("3e8f"),f=r.n(p),m=r("df7c"),A=r.n(m),g=r("3022"),_=r.n(g),v=r("faa1"),b=r.n(v),w=r("d485"),y=r.n(w),E=r("9490"),C=r.n(E),S=r("0b16"),M=r.n(S),x=r("1985"),T=r.n(x),O=r("24f8"),N=r.n(O),R=r("470b"),L=r.n(R),I=r("4f4d"),k=r.n(I),B=function(e){return e&&"VirtualNode"===e.type&&"2"===e.version},D=function(e){return e&&"Widget"===e.type},F=function(e){return e&&"Thunk"===e.type},P=function(e){return e&&("function"==typeof e.hook&&!e.hasOwnProperty("hook")||"function"==typeof e.unhook&&!e.hasOwnProperty("unhook"))},j=V,U={},H=[];function V(e,t,r,n,i){this.tagName=e,this.properties=t||U,this.children=r||H,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,c=!1,u=!1;for(var d in t)if(t.hasOwnProperty(d)){var h=t[d];P(h)&&h.unhook&&(a||(a={}),a[d]=h)}for(var p=0;p<o;p++){var f=r[p];B(f)?(s+=f.count||0,!l&&f.hasWidgets&&(l=!0),!c&&f.hasThunks&&(c=!0),u||!f.hooks&&!f.descendantHooks||(u=!0)):!l&&D(f)?"function"==typeof f.destroy&&(l=!0):!c&&F(f)&&(c=!0)}this.count=o+s,this.hasWidgets=l,this.hasThunks=c,this.hooks=a,this.descendantHooks=u}V.prototype.version="2",V.prototype.type="VirtualNode";var Y=W;function W(e){this.text=String(e)}W.prototype.version="2",W.prototype.type="VirtualText";const Q="http://schemas.openxmlformats.org/drawingml/2006/main",z="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing",q="http://purl.org/dc/elements/1.1/",G="http://purl.org/dc/dcmitype/",K="http://purl.org/dc/terms/",X="urn:schemas-microsoft-com:office:office",$="http://schemas.openxmlformats.org/drawingml/2006/picture",Z="http://schemas.openxmlformats.org/officeDocument/2006/relationships",J="urn:schemas-microsoft-com:vml",ee="http://schemas.openxmlformats.org/markup-compatibility/2006",te="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",re="http://schemas.openxmlformats.org/wordprocessingml/2006/main",ne="urn:schemas-microsoft-com:office:word",ie="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",ae="http://schemas.microsoft.com/office/word/2006/wordml",oe="http://www.w3.org/2001/XMLSchema-instance",se="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",le="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",ce="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",ue="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",de="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",he="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",pe="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",fe="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",me="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Ae="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",ge="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",_e="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",ve="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",be="http://schemas.openxmlformats.org/schemaLibrary/2006/main",we="http://schemas.openxmlformats.org/package/2006/content-types",ye="http://schemas.openxmlformats.org/package/2006/relationships";var Ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function Ce(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Se(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 Me(e){return e&&e.default||e}var xe=Se((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]",c="[object Error]",u="[object Function]",d="[object GeneratorFunction]",h="[object Map]",p="[object Number]",f="[object Object]",m="[object RegExp]",A="[object Set]",g="[object String]",_="[object Symbol]",v="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",y="[object Float32Array]",E="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",M="[object Int32Array]",x="[object Uint8Array]",T="[object Uint8ClampedArray]",O="[object Uint16Array]",N="[object Uint32Array]",R=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,k=/&(?:amp|lt|gt|quot|#39);/g,B=/[&<>"']/g,D=RegExp(k.source),F=RegExp(B.source),P=/<%-([\s\S]+?)%>/g,j=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(W.source),z=/^\s+/,q=/\s/,G=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,X=/,? & /,$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Z=/[()=,{}\[\]\/\s]/,J=/\\(\\)?/g,ee=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,te=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ne=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,oe=/^(?:0|[1-9]\d*)$/,se=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,ce=/['\n\r\u2028\u2029\\]/g,ue="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\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",he="[\\ud800-\\udfff]",pe="["+de+"]",fe="["+ue+"]",me="\\d+",Ae="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",_e="[^\\ud800-\\udfff"+de+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ve="\\ud83c[\\udffb-\\udfff]",be="[^\\ud800-\\udfff]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",ye="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Se="(?:"+ge+"|"+_e+")",Me="(?:"+Ce+"|"+_e+")",xe="(?:"+fe+"|"+ve+")?",Te="[\\ufe0e\\ufe0f]?"+xe+"(?:\\u200d(?:"+[be,we,ye].join("|")+")[\\ufe0e\\ufe0f]?"+xe+")*",Oe="(?:"+[Ae,we,ye].join("|")+")"+Te,Ne="(?:"+[be+fe+"?",fe,we,ye,he].join("|")+")",Re=RegExp("['’]","g"),Le=RegExp(fe,"g"),Ie=RegExp(ve+"(?="+ve+")|"+Ne+Te,"g"),ke=RegExp([Ce+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[pe,Ce,"$"].join("|")+")",Me+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[pe,Ce+Se,"$"].join("|")+")",Ce+"?"+Se+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Ce+"+(?:['’](?: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_])",me,Oe].join("|"),"g"),Be=RegExp("[\\u200d\\ud800-\\udfff"+ue+"\\ufe0e\\ufe0f]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fe=["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"],Pe=-1,je={};je[y]=je[E]=je[C]=je[S]=je[M]=je[x]=je["[object Uint8ClampedArray]"]=je[O]=je[N]=!0,je[a]=je[o]=je[b]=je[s]=je[w]=je[l]=je[c]=je[u]=je[h]=je[p]=je[f]=je[m]=je[A]=je[g]=je[v]=!1;var Ue={};Ue[a]=Ue[o]=Ue[b]=Ue[w]=Ue[s]=Ue[l]=Ue[y]=Ue[E]=Ue[C]=Ue[S]=Ue[M]=Ue[h]=Ue[p]=Ue[f]=Ue[m]=Ue[A]=Ue[g]=Ue[_]=Ue[x]=Ue["[object Uint8ClampedArray]"]=Ue[O]=Ue[N]=!0,Ue[c]=Ue[u]=Ue[v]=!1;var He={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,Ye=parseInt,We="object"==typeof Ee&&Ee&&Ee.Object===Object&&Ee,Qe="object"==typeof self&&self&&self.Object===Object&&self,ze=We||Qe||Function("return this")(),qe=t&&!t.nodeType&&t,Ge=qe&&e&&!e.nodeType&&e,Ke=Ge&&Ge.exports===qe,Xe=Ke&&We.process,$e=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||Xe&&Xe.binding&&Xe.binding("util")}catch(t){}}(),Ze=$e&&$e.isArrayBuffer,Je=$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 ct(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 ut(e,t){return!(null==e||!e.length)&&bt(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 At(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 gt=Ct("length");function _t(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function vt(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 bt(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):vt(e,yt,r)}function wt(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function yt(e){return e!=e}function Et(e,t){var r=null==e?0:e.length;return r?xt(e,t)/r:NaN}function Ct(e){return function(t){return null==t?void 0:t[e]}}function St(e){return function(t){return null==e?void 0:e[t]}}function Mt(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 Tt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Ot(e){return e?e.slice(0,qt(e)+1).replace(z,""):e}function Nt(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 It(e,t){for(var r=-1,n=e.length;++r<n&&bt(t,e[r],0)>-1;);return r}function kt(e,t){for(var r=e.length;r--&&bt(t,e[r],0)>-1;);return r}function Bt(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var Dt=St({"À":"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"}),Ft=St({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Pt(e){return"\\"+He[e]}function jt(e){return Be.test(e)}function Ut(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function Ht(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 Wt(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function Qt(e){return jt(e)?function(e){for(var t=Ie.lastIndex=0;Ie.test(e);)++t;return t}(e):gt(e)}function zt(e){return jt(e)?function(e){return e.match(Ie)||[]}(e):function(e){return e.split("")}(e)}function qt(e){for(var t=e.length;t--&&q.test(e.charAt(t)););return t}var Gt=St({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Kt=function e(t){var q,ue=(t=null==t?ze:Kt.defaults(ze.Object(),t,Kt.pick(ze,Fe))).Array,de=t.Date,he=t.Error,pe=t.Function,fe=t.Math,me=t.Object,Ae=t.RegExp,ge=t.String,_e=t.TypeError,ve=ue.prototype,be=pe.prototype,we=me.prototype,ye=t["__core-js_shared__"],Ee=be.toString,Ce=we.hasOwnProperty,Se=0,Me=(q=/[^.]+$/.exec(ye&&ye.keys&&ye.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",xe=we.toString,Te=Ee.call(me),Oe=ze._,Ne=Ae("^"+Ee.call(Ce).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ie=Ke?t.Buffer:void 0,Be=t.Symbol,He=t.Uint8Array,We=Ie?Ie.allocUnsafe:void 0,Qe=Ht(me.getPrototypeOf,me),qe=me.create,Ge=we.propertyIsEnumerable,Xe=ve.splice,$e=Be?Be.isConcatSpreadable:void 0,gt=Be?Be.iterator:void 0,St=Be?Be.toStringTag:void 0,Xt=function(){try{var e=ta(me,"defineProperty");return e({},"",{}),e}catch(t){}}(),$t=t.clearTimeout!==ze.clearTimeout&&t.clearTimeout,Zt=de&&de.now!==ze.Date.now&&de.now,Jt=t.setTimeout!==ze.setTimeout&&t.setTimeout,er=fe.ceil,tr=fe.floor,rr=me.getOwnPropertySymbols,nr=Ie?Ie.isBuffer:void 0,ir=t.isFinite,ar=ve.join,or=Ht(me.keys,me),sr=fe.max,lr=fe.min,cr=de.now,ur=t.parseInt,dr=fe.random,hr=ve.reverse,pr=ta(t,"DataView"),fr=ta(t,"Map"),mr=ta(t,"Promise"),Ar=ta(t,"Set"),gr=ta(t,"WeakMap"),_r=ta(me,"create"),vr=gr&&new gr,br={},wr=Ta(pr),yr=Ta(fr),Er=Ta(mr),Cr=Ta(Ar),Sr=Ta(gr),Mr=Be?Be.prototype:void 0,xr=Mr?Mr.valueOf:void 0,Tr=Mr?Mr.toString:void 0;function Or(e){if(zo(e)&&!Bo(e)&&!(e instanceof Ir)){if(e instanceof Lr)return e;if(Ce.call(e,"__wrapped__"))return Oa(e)}return new Lr(e)}var Nr=function(){function e(){}return function(t){if(!Qo(t))return{};if(qe)return qe(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 Ir(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function kr(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 Br(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 Fr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Dr;++t<r;)this.add(e[t])}function Pr(e){var t=this.__data__=new Br(e);this.size=t.size}function jr(e,t){var r=Bo(e),n=!r&&ko(e),i=!r&&!n&&jo(e),a=!r&&!n&&!i&&es(e),o=r||n||i||a,s=o?Tt(e.length,ge):[],l=s.length;for(var c in e)!t&&!Ce.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||la(c,l))||s.push(c);return s}function Ur(e){var t=e.length;return t?e[Pn(0,t-1)]:void 0}function Hr(e,t){return Sa(vi(e),Xr(t,0,e.length))}function Vr(e){return Sa(vi(e))}function Yr(e,t,r){(void 0!==r&&!Ro(e[t],r)||void 0===r&&!(t in e))&&Gr(e,t,r)}function Wr(e,t,r){var n=e[t];Ce.call(e,t)&&Ro(n,r)&&(void 0!==r||t in e)||Gr(e,t,r)}function Qr(e,t){for(var r=e.length;r--;)if(Ro(e[r][0],t))return r;return-1}function zr(e,t,r,n){return tn(e,(function(e,i,a){t(n,e,r(e),a)})),n}function qr(e,t){return e&&bi(t,ys(t),e)}function Gr(e,t,r){"__proto__"==t&&Xt?Xt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Kr(e,t){for(var r=-1,n=t.length,i=ue(n),a=null==e;++r<n;)i[r]=a?void 0:gs(e,t[r]);return i}function Xr(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 c,v=1&t,R=2&t,L=4&t;if(r&&(c=i?r(e,n,i,o):r(e)),void 0!==c)return c;if(!Qo(e))return e;var I=Bo(e);if(I){if(c=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Ce.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!v)return vi(e,c)}else{var k=ia(e),B=k==u||k==d;if(jo(e))return pi(e,v);if(k==f||k==a||B&&!i){if(c=R||B?{}:oa(e),!v)return R?function(e,t){return bi(e,na(e),t)}(e,function(e,t){return e&&bi(t,Es(t),e)}(c,e)):function(e,t){return bi(e,ra(e),t)}(e,qr(c,e))}else{if(!Ue[k])return i?e:{};c=function(e,t,r){var n,i=e.constructor;switch(t){case b:return fi(e);case s:case l:return new i(+e);case w:return function(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case y:case E:case C:case S:case M:case x:case T:case O:case N:return mi(e,r);case h:return new i;case p:case g:return new i(e);case m:return function(e){var t=new e.constructor(e.source,te.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new i;case _:return n=e,xr?me(xr.call(n)):{}}}(e,k,v)}}o||(o=new Pr);var D=o.get(e);if(D)return D;o.set(e,c),$o(e)?e.forEach((function(n){c.add($r(n,t,r,n,e,o))})):qo(e)&&e.forEach((function(n,i){c.set(i,$r(n,t,r,i,e,o))}));var F=I?void 0:(L?R?Gi:qi:R?Es:ys)(e);return ot(F||e,(function(n,i){F&&(n=e[i=n]),Wr(c,i,$r(n,t,r,i,e,o))})),c}function Zr(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 Jr(e,t,n){if("function"!=typeof e)throw new _e(r);return wa((function(){e.apply(void 0,n)}),t)}function en(e,t,r,n){var i=-1,a=ut,o=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=ht(t,Nt(r))),n?(a=dt,o=!1):t.length>=200&&(a=Lt,o=!1,t=new Fr(t));e:for(;++i<s;){var u=e[i],d=null==r?u:r(u);if(u=n||0!==u?u:0,o&&d==d){for(var h=c;h--;)if(t[h]===d)continue e;l.push(u)}else a(t,d,n)||l.push(u)}return l}Or.templateSettings={escape:P,evaluate:j,interpolate:U,variable:"",imports:{_:Or}},Or.prototype=Rr.prototype,Or.prototype.constructor=Or,Lr.prototype=Nr(Rr.prototype),Lr.prototype.constructor=Lr,Ir.prototype=Nr(Rr.prototype),Ir.prototype.constructor=Ir,kr.prototype.clear=function(){this.__data__=_r?_r(null):{},this.size=0},kr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},kr.prototype.get=function(e){var t=this.__data__;if(_r){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Ce.call(t,e)?t[e]:void 0},kr.prototype.has=function(e){var t=this.__data__;return _r?void 0!==t[e]:Ce.call(t,e)},kr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=_r&&void 0===t?"__lodash_hash_undefined__":t,this},Br.prototype.clear=function(){this.__data__=[],this.size=0},Br.prototype.delete=function(e){var t=this.__data__,r=Qr(t,e);return!(r<0)&&(r==t.length-1?t.pop():Xe.call(t,r,1),--this.size,!0)},Br.prototype.get=function(e){var t=this.__data__,r=Qr(t,e);return r<0?void 0:t[r][1]},Br.prototype.has=function(e){return Qr(this.__data__,e)>-1},Br.prototype.set=function(e,t){var r=this.__data__,n=Qr(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Dr.prototype.clear=function(){this.size=0,this.__data__={hash:new kr,map:new(fr||Br),string:new kr}},Dr.prototype.delete=function(e){var t=Ji(this,e).delete(e);return this.size-=t?1:0,t},Dr.prototype.get=function(e){return Ji(this,e).get(e)},Dr.prototype.has=function(e){return Ji(this,e).has(e)},Dr.prototype.set=function(e,t){var r=Ji(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Fr.prototype.add=Fr.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Fr.prototype.has=function(e){return this.__data__.has(e)},Pr.prototype.clear=function(){this.__data__=new Br,this.size=0},Pr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Pr.prototype.get=function(e){return this.__data__.get(e)},Pr.prototype.has=function(e){return this.__data__.has(e)},Pr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Br){var n=r.__data__;if(!fr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Dr(n)}return r.set(e,t),this.size=r.size,this};var tn=Ei(un),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&&!Jo(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=Ci(),cn=Ci(!0);function un(e,t){return e&&ln(e,t,ys)}function dn(e,t){return e&&cn(e,t,ys)}function hn(e,t){return ct(t,(function(t){return Vo(e[t])}))}function pn(e,t){for(var r=0,n=(t=ci(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 Bo(e)?n:pt(n,r(e))}function mn(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":St&&St in me(e)?function(e){var t=Ce.call(e,St),r=e[St];try{e[St]=void 0;var n=!0}catch(a){}var i=xe.call(e);return n&&(t?e[St]=r:delete e[St]),i}(e):function(e){return xe.call(e)}(e)}function An(e,t){return e>t}function gn(e,t){return null!=e&&Ce.call(e,t)}function _n(e,t){return null!=e&&t in me(e)}function vn(e,t,r){for(var n=r?dt:ut,i=e[0].length,a=e.length,o=a,s=ue(a),l=1/0,c=[];o--;){var u=e[o];o&&t&&(u=ht(u,Nt(t))),l=lr(u.length,l),s[o]=!r&&(t||i>=120&&u.length>=120)?new Fr(o&&u):void 0}u=e[0];var d=-1,h=s[0];e:for(;++d<i&&c.length<l;){var p=u[d],f=t?t(p):p;if(p=r||0!==p?p:0,!(h?Lt(h,f):n(c,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),c.push(p)}}return c}function bn(e,t,r){var n=null==(e=ga(e,t=ci(t,e)))?e:e[xa(Ua(t))];return null==n?void 0:it(n,e,r)}function wn(e){return zo(e)&&mn(e)==a}function yn(e,t,r,n,i){return e===t||(null==e||null==t||!zo(e)&&!zo(t)?e!=e&&t!=t:function(e,t,r,n,i,u){var d=Bo(e),v=Bo(t),y=d?o:ia(e),E=v?o:ia(t),C=(y=y==a?f:y)==f,S=(E=E==a?f:E)==f,M=y==E;if(M&&jo(e)){if(!jo(t))return!1;d=!0,C=!1}if(M&&!C)return u||(u=new Pr),d||es(e)?Qi(e,t,r,n,i,u):function(e,t,r,n,i,a,o){switch(r){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b:return!(e.byteLength!=t.byteLength||!a(new He(e),new He(t)));case s:case l:case p:return Ro(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case h:var u=Ut;case A:var d=1&n;if(u||(u=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 v=Qi(u(e),u(t),n,i,a,o);return o.delete(e),v;case _:if(xr)return xr.call(e)==xr.call(t)}return!1}(e,t,y,r,n,i,u);if(!(1&r)){var x=C&&Ce.call(e,"__wrapped__"),T=S&&Ce.call(t,"__wrapped__");if(x||T){var O=x?e.value():e,N=T?t.value():t;return u||(u=new Pr),i(O,N,r,n,u)}}return!!M&&(u||(u=new Pr),function(e,t,r,n,i,a){var o=1&r,s=qi(e),l=s.length,c=qi(t).length;if(l!=c&&!o)return!1;for(var u=l;u--;){var d=s[u];if(!(o?d in t:Ce.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;++u<l;){var A=e[d=s[u]],g=t[d];if(n)var _=o?n(g,A,d,t,e,a):n(A,g,d,e,t,a);if(!(void 0===_?A===g||i(A,g,r,n,a):_)){f=!1;break}m||(m="constructor"==d)}if(f&&!m){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,r,n,i,u))}(e,t,r,n,yn,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],c=e[l],u=s[1];if(o&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Pr;if(n)var h=n(c,u,l,e,t,d);if(!(void 0===h?yn(u,c,3,n,d):h))return!1}}return!0}function Cn(e){return!(!Qo(e)||(t=e,Me&&Me in t))&&(Vo(e)?Ne:ie).test(Ta(e));var t}function Sn(e){return"function"==typeof e?e:null==e?Gs:"object"==typeof e?Bo(e)?Rn(e[0],e[1]):Nn(e):nl(e)}function Mn(e){if(!pa(e))return or(e);var t=[];for(var r in me(e))Ce.call(e,r)&&"constructor"!=r&&t.push(r);return t}function xn(e){if(!Qo(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&&Ce.call(e,n))&&r.push(n);return r}function Tn(e,t){return e<t}function On(e,t){var r=-1,n=Fo(e)?ue(e.length):[];return tn(e,(function(e,i,a){n[++r]=t(e,i,a)})),n}function Nn(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 ua(e)&&fa(t)?ma(xa(e),t):function(r){var n=gs(r,e);return void 0===n&&n===t?_s(r,e):yn(t,n,3)}}function Ln(e,t,r,n,i){e!==t&&ln(t,(function(a,o){if(i||(i=new Pr),Qo(a))!function(e,t,r,n,i,a,o){var s=va(e,r),l=va(t,r),c=o.get(l);if(c)Yr(e,r,c);else{var u=a?a(s,l,r+"",e,t,o):void 0,d=void 0===u;if(d){var h=Bo(l),p=!h&&jo(l),f=!h&&!p&&es(l);u=l,h||p||f?Bo(s)?u=s:Po(s)?u=vi(s):p?(d=!1,u=pi(l,!0)):f?(d=!1,u=mi(l,!0)):u=[]:Ko(l)||ko(l)?(u=s,ko(s)?u=ls(s):Qo(s)&&!Vo(s)||(u=oa(l))):d=!1}d&&(o.set(l,u),i(u,l,n,a,o),o.delete(l)),Yr(e,r,u)}}(e,t,o,r,Ln,n,i);else{var s=n?n(va(e,o),a,o+"",e,t,i):void 0;void 0===s&&(s=a),Yr(e,o,s)}}),Es)}function In(e,t){var r=e.length;if(r)return la(t+=t<0?r:0,r)?e[t]:void 0}function kn(e,t,r){t=t.length?ht(t,(function(e){return Bo(e)?function(t){return pn(t,1===e.length?e[0]:e)}:e})):[Gs];var n=-1;t=ht(t,Nt(Zi()));var i=On(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=Ai(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 Bn(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,ci(o,e),s)}return a}function Dn(e,t,r,n){var i=n?wt:bt,a=-1,o=t.length,s=e;for(e===t&&(t=vi(t)),r&&(s=ht(e,Nt(r)));++a<o;)for(var l=0,c=t[a],u=r?r(c):c;(l=i(s,u,l,n))>-1;)s!==e&&Xe.call(s,l,1),Xe.call(e,l,1);return e}function Fn(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)?Xe.call(e,i,1):ti(e,i)}}return e}function Pn(e,t){return e+tr(dr()*(t-e+1))}function jn(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 Un(e,t){return ya(Aa(e,t,Gs),e+"")}function Hn(e){return Ur(Rs(e))}function Vn(e,t){var r=Rs(e);return Sa(r,Xr(t,0,r.length))}function Yn(e,t,r,n){if(!Qo(e))return e;for(var i=-1,a=(t=ci(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=xa(t[i]),c=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var u=s[l];void 0===(c=n?n(u,l,s):void 0)&&(c=Qo(u)?u:la(t[i+1])?[]:{})}Wr(s,l,c),s=s[l]}return e}var Wn=vr?function(e,t){return vr.set(e,t),e}:Gs,Qn=Xt?function(e,t){return Xt(e,"toString",{configurable:!0,enumerable:!1,value:Qs(t),writable:!0})}:Gs;function zn(e){return Sa(Rs(e))}function qn(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=ue(i);++n<i;)a[n]=e[n+t];return a}function Gn(e,t){var r;return tn(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function Kn(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&&!Jo(o)&&(r?o<=t:o<t)?n=a+1:i=a}return i}return Xn(e,t,Gs,r)}function Xn(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=Jo(t),c=void 0===t;i<a;){var u=tr((i+a)/2),d=r(e[u]),h=void 0!==d,p=null===d,f=d==d,m=Jo(d);if(o)var A=n||f;else A=c?f&&(n||h):s?f&&h&&(n||!p):l?f&&h&&!p&&(n||!m):!p&&!m&&(n?d<=t:d<t);A?i=u+1:a=u}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 Zn(e){return"number"==typeof e?e:Jo(e)?NaN:+e}function Jn(e){if("string"==typeof e)return e;if(Bo(e))return ht(e,Jn)+"";if(Jo(e))return Tr?Tr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ei(e,t,r){var n=-1,i=ut,a=e.length,o=!0,s=[],l=s;if(r)o=!1,i=dt;else if(a>=200){var c=t?null:ji(e);if(c)return Yt(c);o=!1,i=Lt,l=new Fr}else l=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,o&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,r)||(l!==s&&l.push(d),s.push(u))}return s}function ti(e,t){return null==(e=ga(e,t=ci(t,e)))||delete e[xa(Ua(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?qn(e,n?0:a,n?a+1:i):qn(e,n?a+1:0,n?i:a)}function ii(e,t){var r=e;return r instanceof Ir&&(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=ue(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 Po(e)?e:[]}function li(e){return"function"==typeof e?e:Gs}function ci(e,t){return Bo(e)?e:ua(e,t)?[e]:Ma(cs(e))}var ui=Un;function di(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:qn(e,t,r)}var hi=$t||function(e){return ze.clearTimeout(e)};function pi(e,t){if(t)return e.slice();var r=e.length,n=We?We(r):new e.constructor(r);return e.copy(n),n}function fi(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function mi(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,a=Jo(e),o=void 0!==t,s=null===t,l=t==t,c=Jo(t);if(!s&&!c&&!a&&e>t||a&&o&&l&&!s&&!c||n&&o&&l||!r&&l||!i)return 1;if(!n&&!a&&!c&&e<t||c&&r&&i&&!n&&!a||s&&r&&i||!o&&i||!l)return-1}return 0}function gi(e,t,r,n){for(var i=-1,a=e.length,o=r.length,s=-1,l=t.length,c=sr(a-o,0),u=ue(l+c),d=!n;++s<l;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[r[i]]=e[i]);for(;c--;)u[s++]=e[i++];return u}function _i(e,t,r,n){for(var i=-1,a=e.length,o=-1,s=r.length,l=-1,c=t.length,u=sr(a-s,0),d=ue(u+c),h=!n;++i<u;)d[i]=e[i];for(var p=i;++l<c;)d[p+l]=t[l];for(;++o<s;)(h||i<a)&&(d[p+r[o]]=e[i++]);return d}function vi(e,t){var r=-1,n=e.length;for(t||(t=ue(n));++r<n;)t[r]=e[r];return t}function bi(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?Gr(r,s,l):Wr(r,s,l)}return r}function wi(e,t){return function(r,n){var i=Bo(r)?at:zr,a=t?t():{};return i(r,e,Zi(n,2),a)}}function yi(e){return Un((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&&ca(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(!Fo(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 Ci(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 Si(e){return function(t){var r=jt(t=cs(t))?zt(t):void 0,n=r?r[0]:t.charAt(0),i=r?di(r,1).join(""):t.slice(1);return n[e]()+i}}function Mi(e){return function(t){return ft(Vs(ks(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=Nr(e.prototype),n=e.apply(r,t);return Qo(n)?n:r}}function Ti(e){return function(t,r,n){var i=me(t);if(!Fo(t)){var a=Zi(r,3);t=ys(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 Oi(e){return zi((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 _e(r);if(a&&!s&&"wrapper"==Xi(o))var s=new Lr([],!0)}for(i=s?i:n;++i<n;){var l=Xi(o=t[i]),c="wrapper"==l?Ki(o):void 0;s=c&&da(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Xi(c[0])].apply(s,c[3]):1==o.length&&da(o)?s[l]():s.thru(o)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Bo(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 Ni(e,t,r,n,i,a,o,s,l,c){var u=128&t,d=1&t,h=2&t,p=24&t,f=512&t,m=h?void 0:xi(e);return function A(){for(var g=arguments.length,_=ue(g),v=g;v--;)_[v]=arguments[v];if(p)var b=$i(A),w=Bt(_,b);if(n&&(_=gi(_,n,i,p)),a&&(_=_i(_,a,o,p)),g-=w,p&&g<c){var y=Vt(_,b);return Fi(e,t,Ni,A.placeholder,r,_,y,s,l,c-g)}var E=d?r:this,C=h?E[e]:e;return g=_.length,s?_=_a(_,s):f&&g>1&&_.reverse(),u&&l<g&&(_.length=l),this&&this!==ze&&this instanceof A&&(C=m||xi(C)),C.apply(E,_)}}function Ri(e,t){return function(r,n){return function(e,t,r,n){return un(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=Jn(r),n=Jn(n)):(r=Zn(r),n=Zn(n)),i=e(r,n)}return i}}function Ii(e){return zi((function(t){return t=ht(t,Nt(Zi())),Un((function(r){var n=this;return e(t,(function(e){return it(e,n,r)}))}))}))}function ki(e,t){var r=(t=void 0===t?" ":Jn(t)).length;if(r<2)return r?jn(t,e):t;var n=jn(t,er(e/Qt(t)));return jt(t)?di(zt(n),0,e).join(""):n.slice(0,e)}function Bi(e){return function(t,r,n){return n&&"number"!=typeof n&&ca(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=ue(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 Di(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=ss(t),r=ss(r)),e(t,r)}}function Fi(e,t,r,n,i,a,o,s,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,i,u?a:void 0,u?o:void 0,u?void 0:a,u?void 0:o,s,l,c],h=r.apply(void 0,d);return da(e)&&ba(h,d),h.placeholder=n,Ea(h,e,t)}function Pi(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=(cs(e)+"e").split("e");return+((n=(cs(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var ji=Ar&&1/Yt(new Ar([,-0]))[1]==1/0?function(e){return new Ar(e)}:Js;function Ui(e){return function(t){var r=ia(t);return r==h?Ut(t):r==A?Wt(t):function(e,t){return ht(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Hi(e,t,i,a,o,s,l,c){var u=2&t;if(!u&&"function"!=typeof e)throw new _e(r);var d=a?a.length:0;if(d||(t&=-97,a=o=void 0),l=void 0===l?l:sr(as(l),0),c=void 0===c?c:as(c),d-=o?o.length:0,64&t){var h=a,p=o;a=o=void 0}var f=u?void 0:Ki(e),m=[e,t,i,a,o,h,p,s,l,c];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 c=e[3];e[3]=c?gi(c,l,t[4]):l,e[4]=c?Vt(e[3],n):t[4]}(l=t[5])&&(c=e[5],e[5]=c?_i(c,l,t[6]):l,e[6]=c?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],!(c=m[9]=void 0===m[9]?u?0:e.length:sr(m[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)A=8==t||16==t?function(e,t,r){var n=xi(e);return function i(){for(var a=arguments.length,o=ue(a),s=a,l=$i(i);s--;)o[s]=arguments[s];var c=a<3&&o[0]!==l&&o[a-1]!==l?[]:Vt(o,l);return(a-=c.length)<r?Fi(e,t,Ni,i.placeholder,void 0,o,c,void 0,void 0,r-a):it(this&&this!==ze&&this instanceof i?n:e,this,o)}}(e,t,c):32!=t&&33!=t||o.length?Ni.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,c=n.length,u=ue(c+s),d=this&&this!==ze&&this instanceof t?a:e;++l<c;)u[l]=n[l];for(;s--;)u[l++]=arguments[++o];return it(d,i?r:this,u)}}(e,t,i,a);else var A=function(e,t,r){var n=1&t,i=xi(e);return function t(){return(this&&this!==ze&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,i);return Ea((f?Wn:ba)(A,m),e,t)}function Vi(e,t,r,n){return void 0===e||Ro(e,we[r])&&!Ce.call(n,r)?t:e}function Yi(e,t,r,n,i,a){return Qo(e)&&Qo(t)&&(a.set(t,e),Ln(e,t,void 0,Yi,a),a.delete(t)),e}function Wi(e){return Ko(e)?void 0:e}function Qi(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 c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&r?new Fr:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var f=e[d],m=t[d];if(n)var A=o?n(m,f,d,t,e,a):n(f,m,d,e,t,a);if(void 0!==A){if(A)continue;h=!1;break}if(p){if(!At(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 zi(e){return ya(Aa(e,void 0,Ba),e+"")}function qi(e){return fn(e,ys,ra)}function Gi(e){return fn(e,Es,na)}var Ki=vr?function(e){return vr.get(e)}:Js;function Xi(e){for(var t=e.name+"",r=br[t],n=Ce.call(br,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(Ce.call(Or,"placeholder")?Or:e).placeholder}function Zi(){var e=Or.iteratee||Ks;return e=e===Ks?Sn:e,arguments.length?e(arguments[0],arguments[1]):e}function Ji(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=ys(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 Cn(r)?r:void 0}var ra=rr?function(e){return null==e?[]:(e=me(e),ct(rr(e),(function(t){return Ge.call(e,t)})))}:ol,na=rr?function(e){for(var t=[];e;)pt(t,ra(e)),e=Qe(e);return t}:ol,ia=mn;function aa(e,t,r){for(var n=-1,i=(t=ci(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)&&Wo(i)&&la(o,i)&&(Bo(e)||ko(e))}function oa(e){return"function"!=typeof e.constructor||pa(e)?{}:Nr(Qe(e))}function sa(e){return Bo(e)||ko(e)||!!($e&&e&&e[$e])}function la(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&oe.test(e))&&e>-1&&e%1==0&&e<t}function ca(e,t,r){if(!Qo(r))return!1;var n=typeof t;return!!("number"==n?Fo(r)&&la(t,r.length):"string"==n&&t in r)&&Ro(r[t],e)}function ua(e,t){if(Bo(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Jo(e))||V.test(e)||!H.test(e)||null!=t&&e in me(t)}function da(e){var t=Xi(e),r=Or[t];if("function"!=typeof r||!(t in Ir.prototype))return!1;if(e===r)return!0;var n=Ki(r);return!!n&&e===n[0]}(pr&&ia(new pr(new ArrayBuffer(1)))!=w||fr&&ia(new fr)!=h||mr&&"[object Promise]"!=ia(mr.resolve())||Ar&&ia(new Ar)!=A||gr&&ia(new gr)!=v)&&(ia=function(e){var t=mn(e),r=t==f?e.constructor:void 0,n=r?Ta(r):"";if(n)switch(n){case wr:return w;case yr:return h;case Er:return"[object Promise]";case Cr:return A;case Sr:return v}return t});var ha=ye?Vo:sl;function pa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||we)}function fa(e){return e==e&&!Qo(e)}function ma(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in me(r))}}function Aa(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=ue(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=ue(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),it(e,this,s)}}function ga(e,t){return t.length<2?e:pn(e,qn(t,0,-1))}function _a(e,t){for(var r=e.length,n=lr(t.length,r),i=vi(e);n--;){var a=t[n];e[n]=la(a,r)?i[a]:void 0}return e}function va(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ba=Ca(Wn),wa=Jt||function(e,t){return ze.setTimeout(e,t)},ya=Ca(Qn);function Ea(e,t,r){var n=t+"";return ya(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(G,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return ot(i,(function(r){var n="_."+r[0];t&r[1]&&!ut(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(K);return t?t[1].split(X):[]}(n),r)))}function Ca(e){var t=0,r=0;return function(){var n=cr(),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 Sa(e,t){var r=-1,n=e.length,i=n-1;for(t=void 0===t?n:t;++r<t;){var a=Pn(r,i),o=e[a];e[a]=e[r],e[r]=o}return e.length=t,e}var Ma=function(e){var t=So(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(Y,(function(e,r,n,i){t.push(n?i.replace(J,"$1"):r||e)})),t}));function xa(e){if("string"==typeof e||Jo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ta(e){if(null!=e){try{return Ee.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Oa(e){if(e instanceof Ir)return e.clone();var t=new Lr(e.__wrapped__,e.__chain__);return t.__actions__=vi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Na=Un((function(e,t){return Po(e)?en(e,sn(t,1,Po,!0)):[]})),Ra=Un((function(e,t){var r=Ua(t);return Po(r)&&(r=void 0),Po(e)?en(e,sn(t,1,Po,!0),Zi(r,2)):[]})),La=Un((function(e,t){var r=Ua(t);return Po(r)&&(r=void 0),Po(e)?en(e,sn(t,1,Po,!0),void 0,r):[]}));function Ia(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)),vt(e,Zi(t,3),i)}function ka(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)),vt(e,Zi(t,3),i,!0)}function Ba(e){return null!=e&&e.length?sn(e,1):[]}function Da(e){return e&&e.length?e[0]:void 0}var Fa=Un((function(e){var t=ht(e,si);return t.length&&t[0]===e[0]?vn(t):[]})),Pa=Un((function(e){var t=Ua(e),r=ht(e,si);return t===Ua(r)?t=void 0:r.pop(),r.length&&r[0]===e[0]?vn(r,Zi(t,2)):[]})),ja=Un((function(e){var t=Ua(e),r=ht(e,si);return(t="function"==typeof t?t:void 0)&&r.pop(),r.length&&r[0]===e[0]?vn(r,void 0,t):[]}));function Ua(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Ha=Un(Va);function Va(e,t){return e&&e.length&&t&&t.length?Dn(e,t):e}var Ya=zi((function(e,t){var r=null==e?0:e.length,n=Kr(e,t);return Fn(e,ht(t,(function(e){return la(e,r)?+e:e})).sort(Ai)),n}));function Wa(e){return null==e?e:hr.call(e)}var Qa=Un((function(e){return ei(sn(e,1,Po,!0))})),za=Un((function(e){var t=Ua(e);return Po(t)&&(t=void 0),ei(sn(e,1,Po,!0),Zi(t,2))})),qa=Un((function(e){var t=Ua(e);return t="function"==typeof t?t:void 0,ei(sn(e,1,Po,!0),void 0,t)}));function Ga(e){if(!e||!e.length)return[];var t=0;return e=ct(e,(function(e){if(Po(e))return t=sr(e.length,t),!0})),Tt(t,(function(t){return ht(e,Ct(t))}))}function Ka(e,t){if(!e||!e.length)return[];var r=Ga(e);return null==t?r:ht(r,(function(e){return it(t,void 0,e)}))}var Xa=Un((function(e,t){return Po(e)?en(e,t):[]})),$a=Un((function(e){return ai(ct(e,Po))})),Za=Un((function(e){var t=Ua(e);return Po(t)&&(t=void 0),ai(ct(e,Po),Zi(t,2))})),Ja=Un((function(e){var t=Ua(e);return t="function"==typeof t?t:void 0,ai(ct(e,Po),void 0,t)})),eo=Un(Ga),to=Un((function(e){var t=e.length,r=t>1?e[t-1]:void 0;return r="function"==typeof r?(e.pop(),r):void 0,Ka(e,r)}));function ro(e){var t=Or(e);return t.__chain__=!0,t}function no(e,t){return t(e)}var io=zi((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return Kr(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ir&&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=wi((function(e,t,r){Ce.call(e,r)?++e[r]:Gr(e,r,1)})),oo=Ti(Ia),so=Ti(ka);function lo(e,t){return(Bo(e)?ot:tn)(e,Zi(t,3))}function co(e,t){return(Bo(e)?st:rn)(e,Zi(t,3))}var uo=wi((function(e,t,r){Ce.call(e,r)?e[r].push(t):Gr(e,r,[t])})),ho=Un((function(e,t,r){var n=-1,i="function"==typeof t,a=Fo(e)?ue(e.length):[];return tn(e,(function(e){a[++n]=i?it(t,e,r):bn(e,t,r)})),a})),po=wi((function(e,t,r){Gr(e,r,t)}));function fo(e,t){return(Bo(e)?ht:On)(e,Zi(t,3))}var mo=wi((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]})),Ao=Un((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ca(e,t[0],t[1])?t=[]:r>2&&ca(t[0],t[1],t[2])&&(t=[t[0]]),kn(e,sn(t,1),[])})),go=Zt||function(){return ze.Date.now()};function _o(e,t,r){return t=r?void 0:t,Hi(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function vo(e,t){var n;if("function"!=typeof t)throw new _e(r);return e=as(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var bo=Un((function(e,t,r){var n=1;if(r.length){var i=Vt(r,$i(bo));n|=32}return Hi(e,n,t,r,i)})),wo=Un((function(e,t,r){var n=3;if(r.length){var i=Vt(r,$i(wo));n|=32}return Hi(t,n,e,r,i)}));function yo(e,t,n){var i,a,o,s,l,c,u=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new _e(r);function f(t){var r=i,n=a;return i=a=void 0,u=t,s=e.apply(n,r)}function m(e){return u=e,l=wa(g,t),d?f(e):s}function A(e){var r=e-c;return void 0===c||r>=t||r<0||h&&e-u>=o}function g(){var e=go();if(A(e))return _(e);l=wa(g,function(e){var r=t-(e-c);return h?lr(r,o-(e-u)):r}(e))}function _(e){return l=void 0,p&&i?f(e):(i=a=void 0,s)}function v(){var e=go(),r=A(e);if(i=arguments,a=this,c=e,r){if(void 0===l)return m(c);if(h)return hi(l),l=wa(g,t),f(c)}return void 0===l&&(l=wa(g,t)),s}return t=ss(t)||0,Qo(n)&&(d=!!n.leading,o=(h="maxWait"in n)?sr(ss(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),v.cancel=function(){void 0!==l&&hi(l),u=0,i=c=a=l=void 0},v.flush=function(){return void 0===l?s:_(go())},v}var Eo=Un((function(e,t){return Jr(e,1,t)})),Co=Un((function(e,t,r){return Jr(e,ss(t)||0,r)}));function So(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new _e(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(So.Cache||Dr),n}function Mo(e){if("function"!=typeof e)throw new _e(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)}}So.Cache=Dr;var xo=ui((function(e,t){var r=(t=1==t.length&&Bo(t[0])?ht(t[0],Nt(Zi())):ht(sn(t,1),Nt(Zi()))).length;return Un((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)}))})),To=Un((function(e,t){return Hi(e,32,void 0,t,Vt(t,$i(To)))})),Oo=Un((function(e,t){return Hi(e,64,void 0,t,Vt(t,$i(Oo)))})),No=zi((function(e,t){return Hi(e,256,void 0,void 0,void 0,t)}));function Ro(e,t){return e===t||e!=e&&t!=t}var Lo=Di(An),Io=Di((function(e,t){return e>=t})),ko=wn(function(){return arguments}())?wn:function(e){return zo(e)&&Ce.call(e,"callee")&&!Ge.call(e,"callee")},Bo=ue.isArray,Do=Ze?Nt(Ze):function(e){return zo(e)&&mn(e)==b};function Fo(e){return null!=e&&Wo(e.length)&&!Vo(e)}function Po(e){return zo(e)&&Fo(e)}var jo=nr||sl,Uo=Je?Nt(Je):function(e){return zo(e)&&mn(e)==l};function Ho(e){if(!zo(e))return!1;var t=mn(e);return t==c||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ko(e)}function Vo(e){if(!Qo(e))return!1;var t=mn(e);return t==u||t==d||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(e){return"number"==typeof e&&e==as(e)}function Wo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Qo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zo(e){return null!=e&&"object"==typeof e}var qo=et?Nt(et):function(e){return zo(e)&&ia(e)==h};function Go(e){return"number"==typeof e||zo(e)&&mn(e)==p}function Ko(e){if(!zo(e)||mn(e)!=f)return!1;var t=Qe(e);if(null===t)return!0;var r=Ce.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ee.call(r)==Te}var Xo=tt?Nt(tt):function(e){return zo(e)&&mn(e)==m},$o=rt?Nt(rt):function(e){return zo(e)&&ia(e)==A};function Zo(e){return"string"==typeof e||!Bo(e)&&zo(e)&&mn(e)==g}function Jo(e){return"symbol"==typeof e||zo(e)&&mn(e)==_}var es=nt?Nt(nt):function(e){return zo(e)&&Wo(e.length)&&!!je[mn(e)]},ts=Di(Tn),rs=Di((function(e,t){return e<=t}));function ns(e){if(!e)return[];if(Fo(e))return Zo(e)?zt(e):vi(e);if(gt&&e[gt])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[gt]());var t=ia(e);return(t==h?Ut:t==A?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?Xr(as(e),0,4294967295):0}function ss(e){if("number"==typeof e)return e;if(Jo(e))return NaN;if(Qo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ot(e);var r=ne.test(e);return r||ae.test(e)?Ye(e.slice(2),r?2:8):re.test(e)?NaN:+e}function ls(e){return bi(e,Es(e))}function cs(e){return null==e?"":Jn(e)}var us=yi((function(e,t){if(pa(t)||Fo(t))bi(t,ys(t),e);else for(var r in t)Ce.call(t,r)&&Wr(e,r,t[r])})),ds=yi((function(e,t){bi(t,Es(t),e)})),hs=yi((function(e,t,r,n){bi(t,Es(t),e,n)})),ps=yi((function(e,t,r,n){bi(t,ys(t),e,n)})),fs=zi(Kr),ms=Un((function(e,t){e=me(e);var r=-1,n=t.length,i=n>2?t[2]:void 0;for(i&&ca(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 c=o[s],u=e[c];(void 0===u||Ro(u,we[c])&&!Ce.call(e,c))&&(e[c]=a[c])}return e})),As=Un((function(e){return e.push(void 0,Yi),it(Ss,void 0,e)}));function gs(e,t,r){var n=null==e?void 0:pn(e,t);return void 0===n?r:n}function _s(e,t){return null!=e&&aa(e,t,_n)}var vs=Ri((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),e[t]=r}),Qs(Gs)),bs=Ri((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=xe.call(t)),Ce.call(e,t)?e[t].push(r):e[t]=[r]}),Zi),ws=Un(bn);function ys(e){return Fo(e)?jr(e):Mn(e)}function Es(e){return Fo(e)?jr(e,!0):xn(e)}var Cs=yi((function(e,t,r){Ln(e,t,r)})),Ss=yi((function(e,t,r,n){Ln(e,t,r,n)})),Ms=zi((function(e,t){var r={};if(null==e)return r;var n=!1;t=ht(t,(function(t){return t=ci(t,e),n||(n=t.length>1),t})),bi(e,Gi(e),r),n&&(r=$r(r,7,Wi));for(var i=t.length;i--;)ti(r,t[i]);return r})),xs=zi((function(e,t){return null==e?{}:function(e,t){return Bn(e,t,(function(t,r){return _s(e,r)}))}(e,t)}));function Ts(e,t){if(null==e)return{};var r=ht(Gi(e),(function(e){return[e]}));return t=Zi(t),Bn(e,r,(function(e,r){return t(e,r[0])}))}var Os=Ui(ys),Ns=Ui(Es);function Rs(e){return null==e?[]:Rt(e,ys(e))}var Ls=Mi((function(e,t,r){return t=t.toLowerCase(),e+(r?Is(t):t)}));function Is(e){return Hs(cs(e).toLowerCase())}function ks(e){return(e=cs(e))&&e.replace(se,Dt).replace(Le,"")}var Bs=Mi((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ds=Mi((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Fs=Si("toLowerCase"),Ps=Mi((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()})),js=Mi((function(e,t,r){return e+(r?" ":"")+Hs(t)})),Us=Mi((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Hs=Si("toUpperCase");function Vs(e,t,r){return e=cs(e),void 0===(t=r?void 0:t)?function(e){return De.test(e)}(e)?function(e){return e.match(ke)||[]}(e):function(e){return e.match($)||[]}(e):e.match(t)||[]}var Ys=Un((function(e,t){try{return it(e,void 0,t)}catch(r){return Ho(r)?r:new he(r)}})),Ws=zi((function(e,t){return ot(t,(function(t){t=xa(t),Gr(e,t,bo(e[t],e))})),e}));function Qs(e){return function(){return e}}var zs=Oi(),qs=Oi(!0);function Gs(e){return e}function Ks(e){return Sn("function"==typeof e?e:$r(e,1))}var Xs=Un((function(e,t){return function(r){return bn(r,e,t)}})),$s=Un((function(e,t){return function(r){return bn(e,r,t)}}));function Zs(e,t,r){var n=ys(t),i=hn(t,n);null!=r||Qo(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=hn(t,ys(t)));var a=!(Qo(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__=vi(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 Js(){}var el=Ii(ht),tl=Ii(lt),rl=Ii(At);function nl(e){return ua(e)?Ct(xa(e)):function(e){return function(t){return pn(t,e)}}(e)}var il=Bi(),al=Bi(!0);function ol(){return[]}function sl(){return!1}var ll,cl=Li((function(e,t){return e+t}),0),ul=Pi("ceil"),dl=Li((function(e,t){return e/t}),1),hl=Pi("floor"),pl=Li((function(e,t){return e*t}),1),fl=Pi("round"),ml=Li((function(e,t){return e-t}),0);return Or.after=function(e,t){if("function"!=typeof t)throw new _e(r);return e=as(e),function(){if(--e<1)return t.apply(this,arguments)}},Or.ary=_o,Or.assign=us,Or.assignIn=ds,Or.assignInWith=hs,Or.assignWith=ps,Or.at=fs,Or.before=vo,Or.bind=bo,Or.bindAll=Ws,Or.bindKey=wo,Or.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Bo(e)?e:[e]},Or.chain=ro,Or.chunk=function(e,t,r){t=(r?ca(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=ue(er(n/t));i<n;)o[a++]=qn(e,i,i+=t);return o},Or.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},Or.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ue(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return pt(Bo(r)?vi(r):[r],sn(t,1))},Or.cond=function(e){var t=null==e?0:e.length,n=Zi();return e=t?ht(e,(function(e){if("function"!=typeof e[1])throw new _e(r);return[n(e[0]),e[1]]})):[],Un((function(r){for(var n=-1;++n<t;){var i=e[n];if(it(i[0],this,r))return it(i[1],this,r)}}))},Or.conforms=function(e){return function(e){var t=ys(e);return function(r){return Zr(r,e,t)}}($r(e,1))},Or.constant=Qs,Or.countBy=ao,Or.create=function(e,t){var r=Nr(e);return null==t?r:qr(r,t)},Or.curry=function e(t,r,n){var i=Hi(t,8,void 0,void 0,void 0,void 0,void 0,r=n?void 0:r);return i.placeholder=e.placeholder,i},Or.curryRight=function e(t,r,n){var i=Hi(t,16,void 0,void 0,void 0,void 0,void 0,r=n?void 0:r);return i.placeholder=e.placeholder,i},Or.debounce=yo,Or.defaults=ms,Or.defaultsDeep=As,Or.defer=Eo,Or.delay=Co,Or.difference=Na,Or.differenceBy=Ra,Or.differenceWith=La,Or.drop=function(e,t,r){var n=null==e?0:e.length;return n?qn(e,(t=r||void 0===t?1:as(t))<0?0:t,n):[]},Or.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?qn(e,0,(t=n-(t=r||void 0===t?1:as(t)))<0?0:t):[]},Or.dropRightWhile=function(e,t){return e&&e.length?ni(e,Zi(t,3),!0,!0):[]},Or.dropWhile=function(e,t){return e&&e.length?ni(e,Zi(t,3),!0):[]},Or.fill=function(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&ca(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)):[]},Or.filter=function(e,t){return(Bo(e)?ct:on)(e,Zi(t,3))},Or.flatMap=function(e,t){return sn(fo(e,t),1)},Or.flatMapDeep=function(e,t){return sn(fo(e,t),1/0)},Or.flatMapDepth=function(e,t,r){return r=void 0===r?1:as(r),sn(fo(e,t),r)},Or.flatten=Ba,Or.flattenDeep=function(e){return null!=e&&e.length?sn(e,1/0):[]},Or.flattenDepth=function(e,t){return null!=e&&e.length?sn(e,t=void 0===t?1:as(t)):[]},Or.flip=function(e){return Hi(e,512)},Or.flow=zs,Or.flowRight=qs,Or.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},Or.functions=function(e){return null==e?[]:hn(e,ys(e))},Or.functionsIn=function(e){return null==e?[]:hn(e,Es(e))},Or.groupBy=uo,Or.initial=function(e){return null!=e&&e.length?qn(e,0,-1):[]},Or.intersection=Fa,Or.intersectionBy=Pa,Or.intersectionWith=ja,Or.invert=vs,Or.invertBy=bs,Or.invokeMap=ho,Or.iteratee=Ks,Or.keyBy=po,Or.keys=ys,Or.keysIn=Es,Or.map=fo,Or.mapKeys=function(e,t){var r={};return t=Zi(t,3),un(e,(function(e,n,i){Gr(r,t(e,n,i),e)})),r},Or.mapValues=function(e,t){var r={};return t=Zi(t,3),un(e,(function(e,n,i){Gr(r,n,t(e,n,i))})),r},Or.matches=function(e){return Nn($r(e,1))},Or.matchesProperty=function(e,t){return Rn(e,$r(t,1))},Or.memoize=So,Or.merge=Cs,Or.mergeWith=Ss,Or.method=Xs,Or.methodOf=$s,Or.mixin=Zs,Or.negate=Mo,Or.nthArg=function(e){return e=as(e),Un((function(t){return In(t,e)}))},Or.omit=Ms,Or.omitBy=function(e,t){return Ts(e,Mo(Zi(t)))},Or.once=function(e){return vo(2,e)},Or.orderBy=function(e,t,r,n){return null==e?[]:(Bo(t)||(t=null==t?[]:[t]),Bo(r=n?void 0:r)||(r=null==r?[]:[r]),kn(e,t,r))},Or.over=el,Or.overArgs=xo,Or.overEvery=tl,Or.overSome=rl,Or.partial=To,Or.partialRight=Oo,Or.partition=mo,Or.pick=xs,Or.pickBy=Ts,Or.property=nl,Or.propertyOf=function(e){return function(t){return null==e?void 0:pn(e,t)}},Or.pull=Ha,Or.pullAll=Va,Or.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Dn(e,t,Zi(r,2)):e},Or.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Dn(e,t,void 0,r):e},Or.pullAt=Ya,Or.range=il,Or.rangeRight=al,Or.rearg=No,Or.reject=function(e,t){return(Bo(e)?ct:on)(e,Mo(Zi(t,3)))},Or.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=Zi(t,3);++n<a;){var o=e[n];t(o,n,e)&&(r.push(o),i.push(n))}return Fn(e,i),r},Or.rest=function(e,t){if("function"!=typeof e)throw new _e(r);return Un(e,t=void 0===t?t:as(t))},Or.reverse=Wa,Or.sampleSize=function(e,t,r){return t=(r?ca(e,t,r):void 0===t)?1:as(t),(Bo(e)?Hr:Vn)(e,t)},Or.set=function(e,t,r){return null==e?e:Yn(e,t,r)},Or.setWith=function(e,t,r,n){return n="function"==typeof n?n:void 0,null==e?e:Yn(e,t,r,n)},Or.shuffle=function(e){return(Bo(e)?Vr:zn)(e)},Or.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ca(e,t,r)?(t=0,r=n):(t=null==t?0:as(t),r=void 0===r?n:as(r)),qn(e,t,r)):[]},Or.sortBy=Ao,Or.sortedUniq=function(e){return e&&e.length?$n(e):[]},Or.sortedUniqBy=function(e,t){return e&&e.length?$n(e,Zi(t,2)):[]},Or.split=function(e,t,r){return r&&"number"!=typeof r&&ca(e,t,r)&&(t=r=void 0),(r=void 0===r?4294967295:r>>>0)?(e=cs(e))&&("string"==typeof t||null!=t&&!Xo(t))&&!(t=Jn(t))&&jt(e)?di(zt(e),0,r):e.split(t,r):[]},Or.spread=function(e,t){if("function"!=typeof e)throw new _e(r);return t=null==t?0:sr(as(t),0),Un((function(r){var n=r[t],i=di(r,0,t);return n&&pt(i,n),it(e,this,i)}))},Or.tail=function(e){var t=null==e?0:e.length;return t?qn(e,1,t):[]},Or.take=function(e,t,r){return e&&e.length?qn(e,0,(t=r||void 0===t?1:as(t))<0?0:t):[]},Or.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?qn(e,(t=n-(t=r||void 0===t?1:as(t)))<0?0:t,n):[]},Or.takeRightWhile=function(e,t){return e&&e.length?ni(e,Zi(t,3),!1,!0):[]},Or.takeWhile=function(e,t){return e&&e.length?ni(e,Zi(t,3)):[]},Or.tap=function(e,t){return t(e),e},Or.throttle=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new _e(r);return Qo(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),yo(e,t,{leading:i,maxWait:t,trailing:a})},Or.thru=no,Or.toArray=ns,Or.toPairs=Os,Or.toPairsIn=Ns,Or.toPath=function(e){return Bo(e)?ht(e,xa):Jo(e)?[e]:vi(Ma(cs(e)))},Or.toPlainObject=ls,Or.transform=function(e,t,r){var n=Bo(e),i=n||jo(e)||es(e);if(t=Zi(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:Qo(e)&&Vo(a)?Nr(Qe(e)):{}}return(i?ot:un)(e,(function(e,n,i){return t(r,e,n,i)})),r},Or.unary=function(e){return _o(e,1)},Or.union=Qa,Or.unionBy=za,Or.unionWith=qa,Or.uniq=function(e){return e&&e.length?ei(e):[]},Or.uniqBy=function(e,t){return e&&e.length?ei(e,Zi(t,2)):[]},Or.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?ei(e,void 0,t):[]},Or.unset=function(e,t){return null==e||ti(e,t)},Or.unzip=Ga,Or.unzipWith=Ka,Or.update=function(e,t,r){return null==e?e:ri(e,t,li(r))},Or.updateWith=function(e,t,r,n){return n="function"==typeof n?n:void 0,null==e?e:ri(e,t,li(r),n)},Or.values=Rs,Or.valuesIn=function(e){return null==e?[]:Rt(e,Es(e))},Or.without=Xa,Or.words=Vs,Or.wrap=function(e,t){return To(li(t),e)},Or.xor=$a,Or.xorBy=Za,Or.xorWith=Ja,Or.zip=eo,Or.zipObject=function(e,t){return oi(e||[],t||[],Wr)},Or.zipObjectDeep=function(e,t){return oi(e||[],t||[],Yn)},Or.zipWith=to,Or.entries=Os,Or.entriesIn=Ns,Or.extend=ds,Or.extendWith=hs,Zs(Or,Or),Or.add=cl,Or.attempt=Ys,Or.camelCase=Ls,Or.capitalize=Is,Or.ceil=ul,Or.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),Xr(ss(e),t,r)},Or.clone=function(e){return $r(e,4)},Or.cloneDeep=function(e){return $r(e,5)},Or.cloneDeepWith=function(e,t){return $r(e,5,t="function"==typeof t?t:void 0)},Or.cloneWith=function(e,t){return $r(e,4,t="function"==typeof t?t:void 0)},Or.conformsTo=function(e,t){return null==t||Zr(e,t,ys(t))},Or.deburr=ks,Or.defaultTo=function(e,t){return null==e||e!=e?t:e},Or.divide=dl,Or.endsWith=function(e,t,r){e=cs(e),t=Jn(t);var n=e.length,i=r=void 0===r?n:Xr(as(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},Or.eq=Ro,Or.escape=function(e){return(e=cs(e))&&F.test(e)?e.replace(B,Ft):e},Or.escapeRegExp=function(e){return(e=cs(e))&&Q.test(e)?e.replace(W,"\\$&"):e},Or.every=function(e,t,r){var n=Bo(e)?lt:nn;return r&&ca(e,t,r)&&(t=void 0),n(e,Zi(t,3))},Or.find=oo,Or.findIndex=Ia,Or.findKey=function(e,t){return _t(e,Zi(t,3),un)},Or.findLast=so,Or.findLastIndex=ka,Or.findLastKey=function(e,t){return _t(e,Zi(t,3),dn)},Or.floor=hl,Or.forEach=lo,Or.forEachRight=co,Or.forIn=function(e,t){return null==e?e:ln(e,Zi(t,3),Es)},Or.forInRight=function(e,t){return null==e?e:cn(e,Zi(t,3),Es)},Or.forOwn=function(e,t){return e&&un(e,Zi(t,3))},Or.forOwnRight=function(e,t){return e&&dn(e,Zi(t,3))},Or.get=gs,Or.gt=Lo,Or.gte=Io,Or.has=function(e,t){return null!=e&&aa(e,t,gn)},Or.hasIn=_s,Or.head=Da,Or.identity=Gs,Or.includes=function(e,t,r,n){e=Fo(e)?e:Rs(e),r=r&&!n?as(r):0;var i=e.length;return r<0&&(r=sr(i+r,0)),Zo(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&bt(e,t,r)>-1},Or.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)),bt(e,t,i)},Or.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)},Or.invoke=ws,Or.isArguments=ko,Or.isArray=Bo,Or.isArrayBuffer=Do,Or.isArrayLike=Fo,Or.isArrayLikeObject=Po,Or.isBoolean=function(e){return!0===e||!1===e||zo(e)&&mn(e)==s},Or.isBuffer=jo,Or.isDate=Uo,Or.isElement=function(e){return zo(e)&&1===e.nodeType&&!Ko(e)},Or.isEmpty=function(e){if(null==e)return!0;if(Fo(e)&&(Bo(e)||"string"==typeof e||"function"==typeof e.splice||jo(e)||es(e)||ko(e)))return!e.length;var t=ia(e);if(t==h||t==A)return!e.size;if(pa(e))return!Mn(e).length;for(var r in e)if(Ce.call(e,r))return!1;return!0},Or.isEqual=function(e,t){return yn(e,t)},Or.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:void 0)?r(e,t):void 0;return void 0===n?yn(e,t,void 0,r):!!n},Or.isError=Ho,Or.isFinite=function(e){return"number"==typeof e&&ir(e)},Or.isFunction=Vo,Or.isInteger=Yo,Or.isLength=Wo,Or.isMap=qo,Or.isMatch=function(e,t){return e===t||En(e,t,ea(t))},Or.isMatchWith=function(e,t,r){return r="function"==typeof r?r:void 0,En(e,t,ea(t),r)},Or.isNaN=function(e){return Go(e)&&e!=+e},Or.isNative=function(e){if(ha(e))throw new he("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cn(e)},Or.isNil=function(e){return null==e},Or.isNull=function(e){return null===e},Or.isNumber=Go,Or.isObject=Qo,Or.isObjectLike=zo,Or.isPlainObject=Ko,Or.isRegExp=Xo,Or.isSafeInteger=function(e){return Yo(e)&&e>=-9007199254740991&&e<=9007199254740991},Or.isSet=$o,Or.isString=Zo,Or.isSymbol=Jo,Or.isTypedArray=es,Or.isUndefined=function(e){return void 0===e},Or.isWeakMap=function(e){return zo(e)&&ia(e)==v},Or.isWeakSet=function(e){return zo(e)&&"[object WeakSet]"==mn(e)},Or.join=function(e,t){return null==e?"":ar.call(e,t)},Or.kebabCase=Bs,Or.last=Ua,Or.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):vt(e,yt,i,!0)},Or.lowerCase=Ds,Or.lowerFirst=Fs,Or.lt=ts,Or.lte=rs,Or.max=function(e){return e&&e.length?an(e,Gs,An):void 0},Or.maxBy=function(e,t){return e&&e.length?an(e,Zi(t,2),An):void 0},Or.mean=function(e){return Et(e,Gs)},Or.meanBy=function(e,t){return Et(e,Zi(t,2))},Or.min=function(e){return e&&e.length?an(e,Gs,Tn):void 0},Or.minBy=function(e,t){return e&&e.length?an(e,Zi(t,2),Tn):void 0},Or.stubArray=ol,Or.stubFalse=sl,Or.stubObject=function(){return{}},Or.stubString=function(){return""},Or.stubTrue=function(){return!0},Or.multiply=pl,Or.nth=function(e,t){return e&&e.length?In(e,as(t)):void 0},Or.noConflict=function(){return ze._===this&&(ze._=Oe),this},Or.noop=Js,Or.now=go,Or.pad=function(e,t,r){e=cs(e);var n=(t=as(t))?Qt(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return ki(tr(i),r)+e+ki(er(i),r)},Or.padEnd=function(e,t,r){e=cs(e);var n=(t=as(t))?Qt(e):0;return t&&n<t?e+ki(t-n,r):e},Or.padStart=function(e,t,r){e=cs(e);var n=(t=as(t))?Qt(e):0;return t&&n<t?ki(t-n,r)+e:e},Or.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),ur(cs(e).replace(z,""),t||0)},Or.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ca(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 Pn(e,t)},Or.reduce=function(e,t,r){var n=Bo(e)?ft:Mt,i=arguments.length<3;return n(e,Zi(t,4),r,i,tn)},Or.reduceRight=function(e,t,r){var n=Bo(e)?mt:Mt,i=arguments.length<3;return n(e,Zi(t,4),r,i,rn)},Or.repeat=function(e,t,r){return t=(r?ca(e,t,r):void 0===t)?1:as(t),jn(cs(e),t)},Or.replace=function(){var e=arguments,t=cs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Or.result=function(e,t,r){var n=-1,i=(t=ci(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},Or.round=fl,Or.runInContext=e,Or.sample=function(e){return(Bo(e)?Ur:Hn)(e)},Or.size=function(e){if(null==e)return 0;if(Fo(e))return Zo(e)?Qt(e):e.length;var t=ia(e);return t==h||t==A?e.size:Mn(e).length},Or.snakeCase=Ps,Or.some=function(e,t,r){var n=Bo(e)?At:Gn;return r&&ca(e,t,r)&&(t=void 0),n(e,Zi(t,3))},Or.sortedIndex=function(e,t){return Kn(e,t)},Or.sortedIndexBy=function(e,t,r){return Xn(e,t,Zi(r,2))},Or.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=Kn(e,t);if(n<r&&Ro(e[n],t))return n}return-1},Or.sortedLastIndex=function(e,t){return Kn(e,t,!0)},Or.sortedLastIndexBy=function(e,t,r){return Xn(e,t,Zi(r,2),!0)},Or.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var r=Kn(e,t,!0)-1;if(Ro(e[r],t))return r}return-1},Or.startCase=js,Or.startsWith=function(e,t,r){return e=cs(e),r=null==r?0:Xr(as(r),0,e.length),t=Jn(t),e.slice(r,r+t.length)==t},Or.subtract=ml,Or.sum=function(e){return e&&e.length?xt(e,Gs):0},Or.sumBy=function(e,t){return e&&e.length?xt(e,Zi(t,2)):0},Or.template=function(e,t,r){var n=Or.templateSettings;r&&ca(e,t,r)&&(t=void 0),e=cs(e),t=hs({},t,n,Vi);var i,a,o=hs({},t.imports,n.imports,Vi),s=ys(o),l=Rt(o,s),c=0,u=t.interpolate||le,d="__p += '",h=Ae((t.escape||le).source+"|"+u.source+"|"+(u===U?ee:le).source+"|"+(t.evaluate||le).source+"|$","g"),p="//# sourceURL="+(Ce.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Pe+"]")+"\n";e.replace(h,(function(t,r,n,o,s,l){return n||(n=o),d+=e.slice(c,l).replace(ce,Pt),r&&(i=!0,d+="' +\n__e("+r+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),n&&(d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var f=Ce.call(t,"variable")&&t.variable;if(f){if(Z.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(I,"$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,Ho(m))throw m;return m},Or.times=function(e,t){if((e=as(e))<1||e>9007199254740991)return[];var r=4294967295,n=lr(e,4294967295);e-=4294967295;for(var i=Tt(n,t=Zi(t));++r<e;)t(r);return i},Or.toFinite=is,Or.toInteger=as,Or.toLength=os,Or.toLower=function(e){return cs(e).toLowerCase()},Or.toNumber=ss,Or.toSafeInteger=function(e){return e?Xr(as(e),-9007199254740991,9007199254740991):0===e?e:0},Or.toString=cs,Or.toUpper=function(e){return cs(e).toUpperCase()},Or.trim=function(e,t,r){if((e=cs(e))&&(r||void 0===t))return Ot(e);if(!e||!(t=Jn(t)))return e;var n=zt(e),i=zt(t);return di(n,It(n,i),kt(n,i)+1).join("")},Or.trimEnd=function(e,t,r){if((e=cs(e))&&(r||void 0===t))return e.slice(0,qt(e)+1);if(!e||!(t=Jn(t)))return e;var n=zt(e);return di(n,0,kt(n,zt(t))+1).join("")},Or.trimStart=function(e,t,r){if((e=cs(e))&&(r||void 0===t))return e.replace(z,"");if(!e||!(t=Jn(t)))return e;var n=zt(e);return di(n,It(n,zt(t))).join("")},Or.truncate=function(e,t){var r=30,n="...";if(Qo(t)){var i="separator"in t?t.separator:i;r="length"in t?as(t.length):r,n="omission"in t?Jn(t.omission):n}var a=(e=cs(e)).length;if(jt(e)){var o=zt(e);a=o.length}if(r>=a)return e;var s=r-Qt(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),Xo(i)){if(e.slice(s).search(i)){var c,u=l;for(i.global||(i=Ae(i.source,cs(te.exec(i))+"g")),i.lastIndex=0;c=i.exec(u);)var d=c.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(Jn(i),s)!=s){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+n},Or.unescape=function(e){return(e=cs(e))&&D.test(e)?e.replace(k,Gt):e},Or.uniqueId=function(e){var t=++Se;return cs(e)+t},Or.upperCase=Us,Or.upperFirst=Hs,Or.each=lo,Or.eachRight=co,Or.first=Da,Zs(Or,(ll={},un(Or,(function(e,t){Ce.call(Or.prototype,t)||(ll[t]=e)})),ll),{chain:!1}),Or.VERSION="4.17.21",ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Or[e].placeholder=Or})),ot(["drop","take"],(function(e,t){Ir.prototype[e]=function(r){r=void 0===r?1:sr(as(r),0);var n=this.__filtered__&&!t?new Ir(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},Ir.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;Ir.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Zi(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),ot(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Ir.prototype[e]=function(){return this[r](1).value()[0]}})),ot(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Ir.prototype[e]=function(){return this.__filtered__?new Ir(this):this[r](1)}})),Ir.prototype.compact=function(){return this.filter(Gs)},Ir.prototype.find=function(e){return this.filter(e).head()},Ir.prototype.findLast=function(e){return this.reverse().find(e)},Ir.prototype.invokeMap=Un((function(e,t){return"function"==typeof e?new Ir(this):this.map((function(r){return bn(r,e,t)}))})),Ir.prototype.reject=function(e){return this.filter(Mo(Zi(e)))},Ir.prototype.slice=function(e,t){e=as(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ir(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)},Ir.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ir.prototype.toArray=function(){return this.take(4294967295)},un(Ir.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=Or[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(Or.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,s=t instanceof Ir,l=o[0],c=s||Bo(t),u=function(e){var t=i.apply(Or,pt([e],o));return n&&d?t[0]:t};c&&r&&"function"==typeof l&&1!=l.length&&(s=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,f=s&&!h;if(!a&&c){t=f?t:new Ir(this);var m=e.apply(t,o);return m.__actions__.push({func:no,args:[u],thisArg:void 0}),new Lr(m,d)}return p&&f?e.apply(this,o):(m=this.thru(u),p?n?m.value()[0]:m.value():m)})})),ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ve[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Or.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Bo(i)?i:[],e)}return this[r]((function(r){return t.apply(Bo(r)?r:[],e)}))}})),un(Ir.prototype,(function(e,t){var r=Or[t];if(r){var n=r.name+"";Ce.call(br,n)||(br[n]=[]),br[n].push({name:t,func:r})}})),br[Ni(void 0,2).name]=[{name:"wrapper",func:void 0}],Ir.prototype.clone=function(){var e=new Ir(this.__wrapped__);return e.__actions__=vi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=vi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=vi(this.__views__),e},Ir.prototype.reverse=function(){if(this.__filtered__){var e=new Ir(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ir.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Bo(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,c=n?s:o-1,u=this.__iteratees__,d=u.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,A=e[c+=t];++m<d;){var g=u[m],_=g.iteratee,v=g.type,b=_(A);if(2==v)A=b;else if(!b){if(1==v)continue e;break e}}f[h++]=A}return f},Or.prototype.at=io,Or.prototype.chain=function(){return ro(this)},Or.prototype.commit=function(){return new Lr(this.value(),this.__chain__)},Or.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__++]}},Or.prototype.plant=function(e){for(var t,r=this;r instanceof Rr;){var n=Oa(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},Or.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ir){var t=e;return this.__actions__.length&&(t=new Ir(this)),(t=t.reverse()).__actions__.push({func:no,args:[Wa],thisArg:void 0}),new Lr(t,this.__chain__)}return this.thru(Wa)},Or.prototype.toJSON=Or.prototype.valueOf=Or.prototype.value=function(){return ii(this.__wrapped__,this.__actions__)},Or.prototype.first=Or.prototype.head,gt&&(Or.prototype[gt]=function(){return this}),Or}();Ge?((Ge.exports=Kt)._=Kt,qe._=Kt):ze._=Kt}).call(Ee)}));const Te={top:1800,right:1440,bottom:1800,left:1440,header:720,footer:720,gutter:0},Oe={top:1440,right:1800,bottom:1440,left:1800,header:720,footer:720,gutter:0},Ne={orientation:"portrait",margins:xe.cloneDeep(Oe),title:"",subject:"",creator:"html-to-docx",keywords:["html-to-docx"],description:"",lastModifiedBy:"html-to-docx",revision:1,createdAt:new Date,modifiedAt:new Date,headerType:"default",header:!1,footerType:"default",footer:!1,font:"Times New Roman",fontSize:22,complexScriptFontSize:22,table:{row:{cantSplit:!1}},pageSize:{width:12240,height:15840},pageNumber:!1,skipFirstHeaderFooter:!1,lineNumber:!1,lineNumberOptions:{countBy:1,start:0,restart:"continuous"},numbering:{defaultOrderedListStyleType:"decimal"},decodeUnicode:!1,defaultLang:"en-US"},Re={top:{size:0,spacing:3,color:"FFFFFF"},left:{size:0,spacing:3,color:"FFFFFF"},bottom:{size:0,spacing:3,color:"FFFFFF"},right:{size:0,spacing:3,color:"FFFFFF"}},Le=["transparent","auto"],Ie=["top","middle","bottom"],ke=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId1" Type="${se}" Target="numbering.xml"/>\n <Relationship Id="rId2" Type="${de}" Target="styles.xml"/>\n <Relationship Id="rId3" Type="${_e}" Target="settings.xml"/>\n <Relationship Id="rId4" Type="${ve}" Target="webSettings.xml"/>\n <Relationship Id="rId5" Type="${le}" Target="fontTable.xml"/>\n </Relationships>\n`,Be=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n <Relationship Id="rId1" Type="${Ae}" Target="word/document.xml"/>\n <Relationship Id="rId2" Type="${ge}" Target="docProps/core.xml"/>\n </Relationships>\n`,De=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:fonts\n xmlns:r="${Z}"\n xmlns:w="${re}"\n >\n <w:font w:name="Arial">\n <w:panose1 w:val="020B0604020202020204"/>\n <w:charset w:val="00"/>\n <w:family w:val="auto"/>\n <w:pitch w:val="variable"/>\n <w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000"/>\n </w:font>\n <w:font w:name="Calibri">\n <w:panose1 w:val="020F0502020204030204"/>\n <w:charset w:val="00"/>\n <w:family w:val="swiss"/>\n <w:pitch w:val="variable"/>\n <w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>\n </w:font>\n <w:font w:name="Calibri Light">\n <w:panose1 w:val="020F0302020204030204"/>\n <w:charset w:val="00"/>\n <w:family w:val="swiss"/>\n <w:pitch w:val="variable"/>\n <w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>\n </w:font>\n <w:font w:name="Courier New">\n <w:panose1 w:val="02070309020205020404"/>\n <w:charset w:val="00"/>\n <w:family w:val="auto"/>\n <w:pitch w:val="variable"/>\n <w:sig w:usb0="00000003" w:usb1="00000000" w:usb2="00000000" w:usb3="00000000" w:csb0="00000001" w:csb1="00000000"/>\n </w:font>\n <w:font w:name="Symbol">\n <w:panose1 w:val="05050102010706020507"/>\n <w:charset w:val="02"/>\n <w:family w:val="decorative"/>\n <w:pitch w:val="variable"/>\n <w:sig w:usb0="00000000" w:usb1="10000000" w:usb2="00000000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000"/>\n </w:font>\n <w:font w:name="Times New Roman">\n <w:panose1 w:val="02020603050405020304"/>\n <w:charset w:val="00"/>\n <w:family w:val="roman"/>\n <w:pitch w:val="variable"/>\n <w:sig w:usb0="E0002EFF" w:usb1="C000785B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>\n </w:font>\n </w:fonts>\n`,Fe=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:settings xmlns:w="${re}" xmlns:o="${X}" xmlns:r="${Z}" xmlns:v="${J}" xmlns:w10="${ne}" xmlns:sl="${be}">\n <w:zoom w:percent="100"/>\n <w:defaultTabStop w:val="720"/>\n <w:decimalSymbol w:val="."/>\n <w:listSeparator w:val=","/>\n </w:settings>\n`,Pe=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:webSettings xmlns:w="${re}" xmlns:r="${Z}">\n </w:webSettings>\n`;let je,Ue,He=(e=21)=>{var t;t=e-=0,!je||je.length<t?(je=n.allocUnsafe(128*t),h.a.randomFillSync(je),Ue=0):Ue+t>je.length&&(h.a.randomFillSync(je),Ue=0),Ue+=t;let r="";for(let n=Ue-e;n<Ue;n++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&je[n]];return r};var Ve=function(e){return e&&"VirtualText"===e.type&&"2"===e.version},Ye=Se((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}}})),We=Se((function(e){try{var t=_.a;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(r){e.exports=Ye}})),Qe=b.a.EventEmitter,ze=Ge,qe=Ge;function Ge(e){if(!(this instanceof Ge))return new Ge(e);Qe.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 Ke(){for(var e in this.timers){var t=this.timers[e];delete this.timers[e],clearTimeout(t)}}function Xe(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 $e(e){this.session++,this.running=!1,this.emit("end",e)}We(Ge,Qe),["pop","shift","indexOf","lastIndexOf"].forEach((function(e){Ge.prototype[e]=function(){return Array.prototype[e].apply(this.jobs,arguments)}})),Ge.prototype.slice=function(e,t){return this.jobs=this.jobs.slice(e,t),this},Ge.prototype.reverse=function(){return this.jobs.reverse(),this},["push","unshift","splice"].forEach((function(e){Ge.prototype[e]=function(){var t=Array.prototype[e].apply(this.jobs,arguments);return this.autostart&&this.start(),t}})),Object.defineProperty(Ge.prototype,"length",{get:function(){return this.pending+this.jobs.length}}),Ge.prototype.start=function(e){if(e&&Xe.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",u,r):u()}),l),this.timers[a]=a),this.results&&(s=this.results.length,this.results[s]=null),this.pending++,t.emit("start",r);var c=r(u);c&&c.then&&"function"==typeof c.then&&c.then((function(e){return u(null,e)})).catch((function(e){return u(e||!0)})),this.running&&this.jobs.length>0&&this.start()}else 0===this.pending&&$e.call(this);function u(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?$e.call(t):t.running&&t.start()))}},Ge.prototype.stop=function(){this.running=!1},Ge.prototype.end=function(e){Ke.call(this),this.jobs.length=0,this.pending=0,$e.call(this,e)},ze.default=qe;var Ze=Se((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)})}}));Ce(Ze),Ze.BMP;var Je=Se((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}}}}));Ce(Je),Je.ICO;var et=Se((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=>Je.ICO.calculate(e)}}));Ce(et),et.CUR;var tt=Se((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)})}}));Ce(tt),tt.DDS;var rt=Se((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)})}}));Ce(rt),rt.GIF;var nt=Se((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}}}));Ce(nt),nt.ICNS;var it=Se((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)})}}));Ce(it),it.J2C;var at=Se((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))}}}}));Ce(at),at.JP2;var ot=Se((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)}}));Ce(ot),ot.readUInt;var st=Se((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,ot.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,ot.readUInt)(a,16,0,t)){if(3!==(0,ot.readUInt)(a,16,2,t))return;if(1!==(0,ot.readUInt)(a,32,4,t))return;return(0,ot.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")}}}));Ce(st),st.JPG;var lt=Se((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)})}}));Ce(lt),lt.KTX;var ct=Se((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)}}}));Ce(ct),ct.PNG;var ut=Se((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)}}}));Ce(ut),ut.PNM;var dt=Se((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)})}}));Ce(dt),dt.PSD;var ht=Se((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")}}}));Ce(ht),ht.SVG;var pt=Se((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)})}}));Ce(pt),pt.TGA;var ft=Se((function(e,t){function r(e,t){const r=(0,ot.readUInt)(e,16,8,t);return((0,ot.readUInt)(e,16,10,t)<<16)+r}function i(e){if(e.length>24)return e.slice(12)}Object.defineProperty(t,"__esModule",{value:!0}),t.TIFF=void 0;const a=["49492a00","4d4d002a"];t.TIFF={validate:e=>a.includes(e.toString("hex",0,4)),calculate(e,t){if(!t)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,t,r){const i=(0,ot.readUInt)(e,32,4,r);let a=1024;const o=f.a.statSync(t).size;i+a>o&&(a=o-i-10);const s=n.alloc(a),l=f.a.openSync(t,"r");return f.a.readSync(l,s,0,a,i),f.a.closeSync(l),s.slice(2)}(e,t,a),s=function(e,t){const n={};let a=e;for(;a&&a.length;){const e=(0,ot.readUInt)(a,16,0,t),o=(0,ot.readUInt)(a,16,2,t),s=(0,ot.readUInt)(a,32,4,t);if(0===e)break;1!==s||3!==o&&4!==o||(n[e]=r(a,t)),a=i(a)}return n}(o,a),l=s[256],c=s[257];if(!l||!c)throw new TypeError("Invalid Tiff. Missing tags");return{height:c,width:l}}}}));Ce(ft),ft.TIFF;var mt=Se((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")}}}));Ce(mt),mt.WEBP;var At=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.typeHandlers=void 0,t.typeHandlers={bmp:Ze.BMP,cur:et.CUR,dds:tt.DDS,gif:rt.GIF,icns:nt.ICNS,ico:Je.ICO,j2c:it.J2C,jp2:at.JP2,jpg:st.JPG,ktx:lt.KTX,png:ct.PNG,pnm:ut.PNM,psd:dt.PSD,svg:ht.SVG,tga:pt.TGA,tiff:ft.TIFF,webp:mt.WEBP}}));Ce(At),At.typeHandlers;var gt=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.detector=void 0;const r=Object.keys(At.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&&At.typeHandlers[r].validate(e))return r}return r.find(t=>At.typeHandlers[t].validate(e))}}));Ce(gt),gt.detector;var _t=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.types=t.setConcurrency=t.disableTypes=t.disableFS=t.imageSize=void 0;const r=new ze.default({concurrency:100,autostart:!0}),a={disabledFS:!1,disabledTypes:[]};function o(e,t){const r=(0,gt.detector)(e);if(void 0!==r){if(a.disabledTypes.indexOf(r)>-1)throw new TypeError("disabled file type: "+r);if(r in At.typeHandlers){const n=At.typeHandlers[r].calculate(e,t);if(void 0!==n)return n.type=r,n}}throw new TypeError("unsupported file type: "+r+" (file: "+t+")")}function s(e,t){if(n.isBuffer(e))return o(e);if("string"!=typeof e||a.disabledFS)throw new TypeError("invalid invocation. input should be a Buffer");const s=A.a.resolve(e);if("function"!=typeof t){const e=function(e){const t=f.a.openSync(e,"r");try{const{size:e}=f.a.fstatSync(t);if(e<=0)throw new Error("Empty file");const r=Math.min(e,524288),i=n.alloc(r);return f.a.readSync(t,i,0,r,0),i}finally{f.a.closeSync(t)}}(s);return o(e,s)}r.push(()=>async function(e){const t=await f.a.promises.open(e,"r");try{const{size:e}=await t.stat();if(e<=0)throw new Error("Empty file");const r=Math.min(e,524288),i=n.alloc(r);return await t.read(i,0,r,0),i}finally{await t.close()}}(s).then(e=>i.nextTick(t,null,o(e,s))).catch(t))}e.exports=t=s,t.default=s,t.imageSize=s,t.disableFS=e=>{a.disabledFS=e},t.disableTypes=e=>{a.disabledTypes=e},t.setConcurrency=e=>{r.concurrency=e},t.types=Object.keys(At.typeHandlers)})),vt=Ce(_t);_t.types,_t.setConcurrency,_t.disableTypes,_t.disableFS,_t.imageSize;var bt={},wt=bt;function yt(e){return e<0?-1:1}function Et(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=yt(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=yt(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}}bt.void=function(){},bt.boolean=function(e){return!!e},bt.byte=Et(8,{unsigned:!1}),bt.octet=Et(8,{unsigned:!0}),bt.short=Et(16,{unsigned:!1}),bt["unsigned short"]=Et(16,{unsigned:!0}),bt.long=Et(32,{unsigned:!1}),bt["unsigned long"]=Et(32,{unsigned:!0}),bt["long long"]=Et(32,{unsigned:!1,moduloBitLength:64}),bt["unsigned long long"]=Et(32,{unsigned:!0,moduloBitLength:64}),bt.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},bt["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},bt.float=bt.double,bt["unrestricted float"]=bt["unrestricted double"],bt.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},bt.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},bt.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("")},bt.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},bt.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e};var Ct=Se((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]}}));Ct.mixin,Ct.wrapperSymbol,Ct.implSymbol,Ct.wrapperForImpl,Ct.implForWrapper;var St=Me(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"]]})),Mt={TRANSITIONAL:0,NONTRANSITIONAL:1};function xt(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function Tt(e){for(var t=0,r=St.length-1;t<=r;){var n=Math.floor((t+r)/2),i=St[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 Ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function Nt(e){return e.replace(Ot,"_").length}var Rt=/[\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 Lt(e,t){"xn--"===e.substr(0,4)&&(e=T.a.toUnicode(e));var r=!1;(xt(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(Rt))&&(r=!0);for(var n=Nt(e),i=0;i<n;++i){var a=Tt(e.codePointAt(i));if(It===Mt.TRANSITIONAL&&"valid"!==a[1]||It===Mt.NONTRANSITIONAL&&"valid"!==a[1]&&"deviation"!==a[1]){r=!0;break}}return{label:e,error:r}}function It(e,t,r){var n=function(e,t,r){for(var n=!1,i="",a=Nt(e),o=0;o<a;++o){var s=e.codePointAt(o),l=Tt(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===Mt.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=xt(n.string);for(var i=n.string.split("."),a=0;a<i.length;++a)try{var o=Lt(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 kt={toASCII:function(e,t,r,n){var i=It(e,t,r),a=i.string.split(".");if(a=a.map((function(e){try{return T.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=It(e,t,Mt.NONTRANSITIONAL);return{domain:r.string,error:r.error}},PROCESSING_OPTIONS:Mt},Bt=Se((function(e){const t={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},r=Symbol("failure");function i(e){return T.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 c(e){return"."===e||"%2e"===e.toLowerCase()}function u(e){return 2===e.length&&s(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function d(e){return void 0!==t[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 A(e){return f(e)||m.has(e)}const g=new Set([47,58,59,61,64,91,92,93,94,124]);function _(e){return A(e)||g.has(e)}function v(e,t){const r=String.fromCodePoint(e);return t(e)?function(e){const t=new n(e);let r="";for(let n=0;n<t.length;++n)r+=p(t[n]);return r}(r):r}function b(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)?r:parseInt(e,t)}function w(e,t){if("["===e[0])return"]"!==e[e.length-1]?r:function(e){const t=[0,0,0,0,0,0,0,0];let n=0,i=null,s=0;if(58===(e=T.a.ucs2.decode(e))[s]){if(58!==e[s+1])return r;s+=2,++n,i=n}for(;s<e.length;){if(8===n)return r;if(58===e[s]){if(null!==i)return r;++s,++n,i=n;continue}let c=0,u=0;for(;u<4&&l(e[s]);)c=16*c+parseInt(a(e,s),16),++s,++u;if(46===e[s]){if(0===u)return r;if(s-=u,n>6)return r;let i=0;for(;void 0!==e[s];){let l=null;if(i>0){if(!(46===e[s]&&i<4))return r;++s}if(!o(e[s]))return r;for(;o(e[s]);){const t=parseInt(a(e,s));if(null===l)l=t;else{if(0===l)return r;l=10*l+t}if(l>255)return r;++s}t[n]=256*t[n]+l,++i,2!==i&&4!==i||++n}if(4!==i)return r;break}if(58===e[s]){if(++s,void 0===e[s])return r}else if(void 0!==e[s])return r;t[n]=c,++n}if(null!==i){let e=n-i;for(n=7;0!==n&&e>0;){const r=t[i+e-1];t[i+e-1]=t[n],t[n]=r,--n,--e}}else if(null===i&&8!==n)return r;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(t=e,-1!==t.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return r;var t;let n="";const i=T.a.ucs2.decode(e);for(let r=0;r<i.length;++r)n+=v(i[r],f);return n}(e);const i=function(e){const t=new n(e),r=[];for(let n=0;n<t.length;++n)37!==t[n]?r.push(t[n]):37===t[n]&&l(t[n+1])&&l(t[n+2])?(r.push(parseInt(t.slice(n+1,n+3).toString(),16)),n+=2):r.push(t[n]);return new n(r).toString()}(e),s=kt.toASCII(i,!1,kt.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===s)return r;if(-1!==s.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return r;const c=function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return e;const n=[];for(const o of t){if(""===o)return e;const t=b(o);if(t===r)return e;n.push(t)}for(let o=0;o<n.length-1;++o)if(n[o]>255)return r;if(n[n.length-1]>=Math.pow(256,5-n.length))return r;let i=n.pop(),a=0;for(const r of n)i+=r*Math.pow(256,3-a),++a;return i}(s);return"number"==typeof c||c===r?c:s}function y(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 E(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 C(e){return""!==e.username||""!==e.password}function S(e,t,n,i,a){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=n||"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=T.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),n=this["parse "+this.state](e,t);if(!n)break;if(n===r){this.failure=!0;break}}}S.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,r;this.state="no scheme",--this.pointer}return!0},S.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((C(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,r;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},S.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?r:(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)},S.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},S.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},S.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},S.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},S.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},S.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},S.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=v(e,_);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,r;this.pointer-=i(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},S.prototype["parse hostname"]=S.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,r;if(this.stateOverride&&""===this.buffer&&(C(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=w(this.buffer,h(this.url));if(e===r)return r;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,r;const e=w(this.buffer,h(this.url));if(e===r)return r;if(this.url.host=e,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},S.prototype["parse port"]=function(e,n){if(o(e))this.buffer+=n;else{if(!(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e||this.stateOverride))return this.parseError=!0,r;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1)return this.parseError=!0,r;this.url.port=e===(i=this.url.scheme,t[i])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var i;return!0};const M=new Set([47,92,63,35]);S.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&&!M.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),E(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},S.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},S.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&u(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=w(this.buffer,h(this.url));if(e===r)return r;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},S.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},S.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?(E(this.url),47===e||h(this.url)&&92===e||this.url.path.push("")):!c(this.buffer)||47===e||h(this.url)&&92===e?c(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&u(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+=v(e,A);var t;return!0},S.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]+v(e,f))),!0},S.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&35===e){h(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const t=new n(this.buffer);for(let e=0;e<t.length;++e)t[e]<33||t[e]>126||34===t[e]||35===t[e]||60===t[e]||62===t[e]?this.url.query+=p(t[e]):this.url.query+=String.fromCodePoint(t[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+=t;return!0},S.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+=v(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+=y(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+=y(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 S(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=T.a.ucs2.decode(t);for(let n=0;n<r.length;++n)e.username+=v(r[n],_)},e.exports.setThePassword=function(e,t){e.password="";const r=T.a.ucs2.decode(t);for(let n=0;n<r.length;++n)e.password+=v(r[n],_)},e.exports.serializeHost=y,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})}}));Bt.serializeURL,Bt.serializeURLOrigin,Bt.basicURLParse,Bt.setTheUsername,Bt.setThePassword,Bt.serializeHost,Bt.cannotHaveAUsernamePasswordPort,Bt.serializeInteger,Bt.parseURL;var Dt=class{constructor(e){const t=e[0],r=e[1];let n=null;if(void 0!==r&&(n=Bt.basicURLParse(r),"failure"===n))throw new TypeError("Invalid base URL");const i=Bt.basicURLParse(t,{baseURL:n});if("failure"===i)throw new TypeError("Invalid URL");this._url=i}get href(){return Bt.serializeURL(this._url)}set href(e){const t=Bt.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return Bt.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){Bt.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){Bt.cannotHaveAUsernamePasswordPort(this._url)||Bt.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){Bt.cannotHaveAUsernamePasswordPort(this._url)||Bt.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?Bt.serializeHost(e.host):Bt.serializeHost(e.host)+":"+Bt.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||Bt.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":Bt.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||Bt.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":Bt.serializeInteger(this._url.port)}set port(e){Bt.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:Bt.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=[],Bt.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="",Bt.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="",Bt.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}},Ft=Se((function(e){const t=Ct.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]=wt.USVString(i[0]),void 0!==i[1]&&(i[1]=wt.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=wt.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=wt.USVString(e),this[t].protocol=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"username",{get(){return this[t].username},set(e){e=wt.USVString(e),this[t].username=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"password",{get(){return this[t].password},set(e){e=wt.USVString(e),this[t].password=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"host",{get(){return this[t].host},set(e){e=wt.USVString(e),this[t].host=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hostname",{get(){return this[t].hostname},set(e){e=wt.USVString(e),this[t].hostname=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"port",{get(){return this[t].port},set(e){e=wt.USVString(e),this[t].port=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"pathname",{get(){return this[t].pathname},set(e){e=wt.USVString(e),this[t].pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"search",{get(){return this[t].search},set(e){e=wt.USVString(e),this[t].search=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hash",{get(){return this[t].hash},set(e){e=wt.USVString(e),this[t].hash=e},enumerable:!0,configurable:!0}),e.exports={is:e=>!!e&&e[t]instanceof Dt,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 Dt(r,n),e[t][Ct.wrapperSymbol]=e},interface:r,expose:{Window:{URL:r},Worker:{URL:r}}}}));Ft.is,Ft.create,Ft.setup,Ft.expose;var Pt={URL:Ft.interface,serializeURL:Bt.serializeURL,serializeURLOrigin:Bt.serializeURLOrigin,basicURLParse:Bt.basicURLParse,setTheUsername:Bt.setTheUsername,setThePassword:Bt.setThePassword,serializeHost:Bt.serializeHost,serializeInteger:Bt.serializeInteger,parseURL:Bt.parseURL};const jt=y.a.Readable,Ut=Symbol("buffer"),Ht=Symbol("type");class Vt{constructor(){this[Ht]="";const e=arguments[0],t=arguments[1],r=[];let i=0;if(e){const t=e,a=Number(t.length);for(let e=0;e<a;e++){const a=t[e];let o;o=a instanceof n?a:ArrayBuffer.isView(a)?n.from(a.buffer,a.byteOffset,a.byteLength):a instanceof ArrayBuffer?n.from(a):a instanceof Vt?a[Ut]:n.from("string"==typeof a?a:String(a)),i+=o.length,r.push(o)}}this[Ut]=n.concat(r);let a=t&&void 0!==t.type&&String(t.type).toLowerCase();a&&!/[^\u0020-\u007E]/.test(a)&&(this[Ht]=a)}get size(){return this[Ut].length}get type(){return this[Ht]}text(){return Promise.resolve(this[Ut].toString())}arrayBuffer(){const e=this[Ut],t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new jt;return e._read=function(){},e.push(this[Ut]),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[Ut].slice(n,n+a),s=new Vt([],{type:arguments[2]});return s[Ut]=o,s}}function Yt(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 Wt;Object.defineProperties(Vt.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}}),Object.defineProperty(Vt.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0}),Yt.prototype=Object.create(Error.prototype),Yt.prototype.constructor=Yt,Yt.prototype.name="FetchError";try{Wt=r(!function(){var e=new Error("Cannot find module 'encoding'");throw e.code="MODULE_NOT_FOUND",e}()).convert}catch(ui){}const Qt=Symbol("Body internals"),zt=y.a.PassThrough;function qt(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.size;let a=void 0===i?0:i;var o=r.timeout;let s=void 0===o?0:o;null==e?e=null:Kt(e)?e=n.from(e.toString()):Xt(e)||n.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=n.from(e):ArrayBuffer.isView(e)?e=n.from(e.buffer,e.byteOffset,e.byteLength):e instanceof y.a||(e=n.from(String(e)))),this[Qt]={body:e,disturbed:!1,error:null},this.size=a,this.timeout=s,e instanceof y.a&&e.on("error",(function(e){const r="AbortError"===e.name?e:new Yt(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[Qt].error=r}))}function Gt(){var e=this;if(this[Qt].disturbed)return qt.Promise.reject(new TypeError("body used already for: "+this.url));if(this[Qt].disturbed=!0,this[Qt].error)return qt.Promise.reject(this[Qt].error);let t=this.body;if(null===t)return qt.Promise.resolve(n.alloc(0));if(Xt(t)&&(t=t.stream()),n.isBuffer(t))return qt.Promise.resolve(t);if(!(t instanceof y.a))return qt.Promise.resolve(n.alloc(0));let r=[],i=0,a=!1;return new qt.Promise((function(o,s){let l;e.timeout&&(l=setTimeout((function(){a=!0,s(new Yt(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(a=!0,s(t)):s(new Yt(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!a&&null!==t){if(e.size&&i+t.length>e.size)return a=!0,void s(new Yt(`content size at ${e.url} over limit: ${e.size}`,"max-size"));i+=t.length,r.push(t)}})),t.on("end",(function(){if(!a){clearTimeout(l);try{o(n.concat(r,i))}catch(t){s(new Yt(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function Kt(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 Xt(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 $t(e){let t,r,n=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return n instanceof y.a&&"function"!=typeof n.getBoundary&&(t=new zt,r=new zt,n.pipe(t),n.pipe(r),e[Qt].body=t,n=r),n}function Zt(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Kt(e)?"application/x-www-form-urlencoded;charset=UTF-8":Xt(e)?e.type||null:n.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 y.a?null:"text/plain;charset=UTF-8"}function Jt(e){const t=e.body;return null===t?0:Xt(t)?t.size:n.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}qt.prototype={get body(){return this[Qt].body},get bodyUsed(){return this[Qt].disturbed},arrayBuffer(){return Gt.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 Gt.call(this).then((function(t){return Object.assign(new Vt([],{type:e.toLowerCase()}),{[Ut]:t})}))},json(){var e=this;return Gt.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(r){return qt.Promise.reject(new Yt(`invalid json response body at ${e.url} reason: ${r.message}`,"invalid-json"))}}))},text(){return Gt.call(this).then((function(e){return e.toString()}))},buffer(){return Gt.call(this)},textConverted(){var e=this;return Gt.call(this).then((function(t){return function(e,t){if("function"!=typeof Wt)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")),Wt(e,"UTF-8",a).toString()}(t,e.headers)}))}},Object.defineProperties(qt.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),qt.mixIn=function(e){for(const t of Object.getOwnPropertyNames(qt.prototype))if(!(t in e)){const r=Object.getOwnPropertyDescriptor(qt.prototype,t);Object.defineProperty(e,t,r)}},qt.Promise=e.Promise;const er=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,tr=/[^\t\x20-\x7e\x80-\xff]/;function rr(e){if(e=""+e,er.test(e)||""===e)throw new TypeError(e+" is not a legal HTTP header name")}function nr(e){if(e=""+e,tr.test(e))throw new TypeError(e+" is not a legal HTTP header value")}function ir(e,t){t=t.toLowerCase();for(const r in e)if(r.toLowerCase()===t)return r}const ar=Symbol("map");class or{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[ar]=Object.create(null),e instanceof or){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){rr(e=""+e);const t=ir(this[ar],e);return void 0===t?null:this[ar][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=sr(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=sr(this),n++}}set(e,t){t=""+t,rr(e=""+e),nr(t);const r=ir(this[ar],e);this[ar][void 0!==r?r:e]=[t]}append(e,t){t=""+t,rr(e=""+e),nr(t);const r=ir(this[ar],e);void 0!==r?this[ar][r].push(t):this[ar][e]=[t]}has(e){return rr(e=""+e),void 0!==ir(this[ar],e)}delete(e){rr(e=""+e);const t=ir(this[ar],e);void 0!==t&&delete this[ar][t]}raw(){return this[ar]}keys(){return cr(this,"key")}values(){return cr(this,"value")}[Symbol.iterator](){return cr(this,"key+value")}}function sr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key+value";const r=Object.keys(e[ar]).sort();return r.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[ar][t].join(", ")}:function(t){return[t.toLowerCase(),e[ar][t].join(", ")]})}or.prototype.entries=or.prototype[Symbol.iterator],Object.defineProperty(or.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(or.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 lr=Symbol("internal");function cr(e,t){const r=Object.create(ur);return r[lr]={target:e,kind:t,index:0},r}const ur=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==ur)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[lr];const t=e.target,r=e.kind,n=e.index,i=sr(t,r);return n>=i.length?{value:void 0,done:!0}:(this[lr].index=n+1,{value:i[n],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function dr(e){const t=Object.assign({__proto__:null},e[ar]),r=ir(e[ar],"Host");return void 0!==r&&(t[r]=t[r][0]),t}Object.defineProperty(ur,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const hr=Symbol("Response internals"),pr=C.a.STATUS_CODES;class fr{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};qt.call(this,e,t);const r=t.status||200,n=new or(t.headers);if(null!=e&&!n.has("Content-Type")){const t=Zt(e);t&&n.append("Content-Type",t)}this[hr]={url:t.url,status:r,statusText:t.statusText||pr[r],headers:n,counter:t.counter}}get url(){return this[hr].url||""}get status(){return this[hr].status}get ok(){return this[hr].status>=200&&this[hr].status<300}get redirected(){return this[hr].counter>0}get statusText(){return this[hr].statusText}get headers(){return this[hr].headers}clone(){return new fr($t(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}qt.mixIn(fr.prototype),Object.defineProperties(fr.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(fr.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const mr=Symbol("Request internals"),Ar=M.a.URL||Pt.URL,gr=M.a.parse,_r=M.a.format;function vr(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new Ar(e).toString()),gr(e)}const br="destroy"in y.a.Readable.prototype;function wr(e){return"object"==typeof e&&"object"==typeof e[mr]}class yr{constructor(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};wr(e)?t=vr(e.url):(t=e&&e.href?vr(e.href):vr(""+e),e={});let n=r.method||e.method||"GET";if(n=n.toUpperCase(),(null!=r.body||wr(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:wr(e)&&null!==e.body?$t(e):null;qt.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const a=new or(r.headers||e.headers||{});if(null!=i&&!a.has("Content-Type")){const e=Zt(i);e&&a.append("Content-Type",e)}let o=wr(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[mr]={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[mr].method}get url(){return _r(this[mr].parsedURL)}get headers(){return this[mr].headers}get redirect(){return this[mr].redirect}get signal(){return this[mr].signal}clone(){return new yr(this)}}function Er(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}qt.mixIn(yr.prototype),Object.defineProperty(yr.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(yr.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),Er.prototype=Object.create(Error.prototype),Er.prototype.constructor=Er,Er.prototype.name="AbortError";const Cr=M.a.URL||Pt.URL,Sr=y.a.PassThrough;function Mr(e,t){if(!Mr.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return qt.Promise=Mr.Promise,new Mr.Promise((function(r,i){const a=new yr(e,t),o=function(e){const t=e[mr].parsedURL,r=new or(e[mr].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 y.a.Readable&&!br)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=Jt(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:dr(r),agent:i})}(a),s=("https:"===o.protocol?N.a:C.a).request,l=a.signal;let c=null;const u=function(){let e=new Er("The user aborted a request.");i(e),a.body&&a.body instanceof y.a.Readable&&a.body.destroy(e),c&&c.body&&c.body.emit("error",e)};if(l&&l.aborted)return void u();const d=function(){u(),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 Yt("network timeout at: "+a.url,"request-timeout")),f()}),a.timeout)})),h.on("error",(function(e){i(new Yt(`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 or;for(const r of Object.keys(e))if(!er.test(r))if(Array.isArray(e[r]))for(const n of e[r])tr.test(n)||(void 0===t[ar][r]?t[ar][r]=[n]:t[ar][r].push(n));else tr.test(e[r])||(t[ar][r]=[e[r]]);return t}(e.headers);if(Mr.isRedirect(e.statusCode)){const n=t.get("Location");let o=null;try{o=null===n?null:new Cr(n,a.url).toString()}catch(h){if("manual"!==a.redirect)return i(new Yt("uri requested responds with an invalid redirect URL: "+n,"invalid-redirect")),void f()}switch(a.redirect){case"error":return i(new Yt("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 Yt("maximum redirect reached at: "+a.url,"max-redirect")),void f();const n={headers:new or(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 Cr(t).hostname,n=new Cr(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"])n.headers.delete(e);return 303!==e.statusCode&&a.body&&null===Jt(a)?(i(new Yt("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)||(n.method="GET",n.body=void 0,n.headers.delete("content-length")),r(Mr(new yr(o,n))),void f())}}e.once("end",(function(){l&&l.removeEventListener("abort",d)}));let n=e.pipe(new Sr);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 c=new fr(n,o),void r(c);const u={flush:L.a.Z_SYNC_FLUSH,finishFlush:L.a.Z_SYNC_FLUSH};if("gzip"==s||"x-gzip"==s)return n=n.pipe(L.a.createGunzip(u)),c=new fr(n,o),void r(c);if("deflate"!=s&&"x-deflate"!=s){if("br"==s&&"function"==typeof L.a.createBrotliDecompress)return n=n.pipe(L.a.createBrotliDecompress()),c=new fr(n,o),void r(c);c=new fr(n,o),r(c)}else e.pipe(new Sr).once("data",(function(e){n=8==(15&e[0])?n.pipe(L.a.createInflate()):n.pipe(L.a.createInflateRaw()),c=new fr(n,o),r(c)}))})),function(e,t){const r=t.body;null===r?e.end():Xt(r)?r.stream().pipe(e):n.isBuffer(r)?(e.write(r),e.end()):r.pipe(e)}(h,a)}))}Mr.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},Mr.Promise=e.Promise;var xr=Me(Object.freeze({__proto__:null,default:Mr,Headers:or,Request:yr,Response:fr,FetchError:Yt}));function Tr(e){return e.toString("base64")}function Or(e){return function(e){return/(?<=\S+)\.(jpg|png|jpeg)/gi.test(e)}(e)?Promise.resolve(function(e){var t=f.a,r=A.a;return t.statSync(e).isFile()?Tr(t.readFileSync(r.resolve(e)).toString("base64")):null}(e)):Promise.reject("[*] Occurent some error... [validTypeImage] == false")}var Nr=function(e){return function(e){return/http(s)?:\/\/(\w+:?\w*@)?(\S+)(:\d+)?((?<=\.)\w+)+(\/([\w#!:.?+=&%@!\-/])*)?/gi.test(e)}(e)?xr(e).then((function(e){return e.buffer()})).then(Tr):Or(e)},Rr=Me(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}}})),Lr=Se((function(e,t){var r=A.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&&Rr[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(Rr).forEach((function(n){var i=Rr[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(Rr[t[s]].source),c=r.indexOf(i.source);if("application/octet-stream"!==t[s]&&(l>c||l===c&&"application/"===t[s].substr(0,12)))continue}t[s]=n}}}))}(t.extensions,t.types)}));Lr.charset,Lr.charsets,Lr.contentType,Lr.extension,Lr.extensions,Lr.lookup,Lr.types;const Ir=/rgb\((\d+),\s*([\d.]+),\s*([\d.]+)\)/i,kr=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/i,Br=/#([0-9A-F]{6})/i,Dr=/#([0-9A-F])([0-9A-F])([0-9A-F])/i,Fr=(e,t,r)=>[e,t,r].map(e=>1===(e=parseInt(e).toString(16)).length?"0"+e:e).join(""),Pr=/([\d.]+)px/i,jr=/([\d.]+)%/i,Ur=/([\d.]+)pt/i,Hr=/([\d.]+)cm/i,Vr=/([\d.]+)in/i,Yr=e=>Math.round(9525*e),Wr=e=>Math.round(e/635),Qr=e=>Math.round(20*e),zr=e=>Math.round(2*e),qr=e=>Wr(Yr(e)),Gr=e=>{return t=Wr(Yr(e)),Math.round(t/10);var t},Kr=e=>Qr((e=>Math.round(72*e))(e)),Xr=e=>Kr((e=>.3937008*e)(e)),$r=e=>{return t=Gr(e),Math.round(t/2);var t},Zr=e=>Math.round(8*e),Jr=e=>e&&e.children&&Array.isArray(e.children)&&e.children.length,en=e=>Boolean(/http(s)?:\/\/(\w+:?\w*@)?(\S+)(:\d+)?((?<=\.)\w+)+(\/([\w#!:.?+=&%@!\-/])*)?/gi.test(e)),tn=e=>{if(Object.prototype.hasOwnProperty.call(k.a,e.toLowerCase())){const[t,r,n]=k.a[e.toLowerCase()];return Fr(t,r,n)}if(Ir.test(e)){const t=e.match(Ir),r=t[1],n=t[2],i=t[3];return Fr(r,n,i)}if(kr.test(e)){const t=e.match(kr);return((e,t,r)=>{let n,i,a;if(e/=360,r/=100,0==(t/=100))n=i=a=r;else{const o=(e,t,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e),s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=o(l,s,e+1/3),i=o(l,s,e),a=o(l,s,e-1/3)}return[n,i,a].map(e=>{const t=Math.round(255*e).toString(16);return 1===t.length?"0"+t:t}).join("")})(t[1],t[2],t[3])}if(Br.test(e))return e.match(Br)[1];if(Dr.test(e)){const t=e.match(Dr);return((e,t,r)=>[e,t,r].map(e=>`${e}${e}`).join(""))(t[1],t[2],t[3])}return"000000"},rn=(e="Times New Roman")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","rFonts").att("@w","ascii",e).att("@w","hAnsi",e).up(),nn=e=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","shd").att("@w","val","clear").att("@w","fill",e).up(),an=(e="yellow")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","highlight").att("@w","val",e).up(),on=(e="baseline")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","vertAlign").att("@w","val",e).up(),sn=(e="top",t=0,r=0,n=tn("black"),i="single")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w",e).att("@w","val",i).att("@w","sz",t).att("@w","space",r).att("@w","color",n).up(),ln=e=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","t").att("@xml","space","preserve").txt(e).up(),cn=(e,t)=>{return isNaN(e)?240:t?(r=+e*t,Math.round(10*r)):240*+e;var r},un=e=>{if(Ur.test(e)){const t=e.match(Ur);return zr(t[1])}if(Pr.test(e)){const t=e.match(Pr);return Gr(t[1])}},dn=e=>{if(Ur.test(e)){const t=e.match(Ur);return Qr(t[1])}if(Pr.test(e)){const t=e.match(Pr);return qr(t[1])}},hn=(e,t,r,n)=>{const i={...r};if(B(t)&&t.properties&&t.properties.style){if(t.properties.style.color&&!Le.includes(t.properties.style.color)&&(i.color=tn(t.properties.style.color)),t.properties.style["background-color"]&&!Le.includes(t.properties.style["background-color"])&&(i.backgroundColor=tn(t.properties.style["background-color"])),t.properties.style["vertical-align"]&&Ie.includes(t.properties.style["vertical-align"])&&(i.verticalAlign=t.properties.style["vertical-align"]),t.properties.style["text-align"]&&["left","right","center","justify"].includes(t.properties.style["text-align"])&&(i.textAlign=t.properties.style["text-align"]),t.properties.style["font-weight"]&&"bold"===t.properties.style["font-weight"]&&(i.strong=t.properties.style["font-weight"]),t.properties.style["font-family"]&&(i.font=e.createFont(t.properties.style["font-family"])),t.properties.style["font-size"]&&(i.fontSize=un(t.properties.style["font-size"])),t.properties.style["line-height"]&&(i.lineHeight=cn(t.properties.style["line-height"],t.properties.style["font-size"]?un(t.properties.style["font-size"]):null)),t.properties.style["margin-left"]||t.properties.style["margin-right"]){const e=dn(t.properties.style["margin-left"]),r=dn(t.properties.style["margin-right"]),n={};e&&(n.left=e),r&&(n.right=r),(e||r)&&(i.indentation=n)}t.properties.style.display&&(i.display=t.properties.style.display),t.properties.style.width&&(i.width=t.properties.style.width)}return n&&n.isParagraph&&(B(t)&&"blockquote"===t.tagName?(i.indentation={left:284},i.textAlign="justify"):B(t)&&"code"===t.tagName?i.highlightColor="lightGray":B(t)&&"pre"===t.tagName&&(i.font="Courier")),i},pn=(e,t)=>{switch(e){case"strong":case"b":return Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","b").up();case"em":case"i":return Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","i").up();case"ins":case"u":return((e="single")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","u").att("@w","val",e).up())();case"strike":case"del":case"s":return Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","strike").att("@w","val",!0).up();case"sub":return on("subscript");case"sup":return on("superscript");case"mark":return an();case"code":return an("lightGray");case"highlightColor":return an(t&&t.color?t.color:"lightGray");case"font":return rn(t.font);case"pre":return rn("Courier");case"color":return n=t&&t.color?t.color:"black",Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","color").att("@w","val",n).up();case"backgroundColor":return nn(t&&t.color?t.color:"black");case"fontSize":return r=t&&t.fontSize?t.fontSize:10,Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","sz").att("@w","val",r).up();case"hyperlink":return((e="Hyperlink")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","rStyle").att("@w","val",e).up())("Hyperlink")}var r,n;return null},fn=e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","rPr");return e&&e.constructor===Object&&Object.keys(e).forEach(r=>{const n={};"color"!==r&&"backgroundColor"!==r&&"highlightColor"!==r||(n.color=e[r]),"fontSize"!==r&&"font"!==r||(n[r]=e[r]);const i=pn(r,n);i&&t.import(i)}),t.up(),t},mn=async(e,t,r)=>{const i=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","r"),a=fn(xe.cloneDeep(t));if(B(e)&&"span"===e.tagName)return An(e,t,r);if(B(e)&&["strong","b","em","i","u","ins","strike","del","s","sub","sup","mark","blockquote","code","pre"].includes(e.tagName)){const n=[];let i=[e],o=xe.cloneDeep(t),l=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","r");for(;i.length;){const e=i.shift();if(Ve(e)){const r=ln(e.text),i=fn({...t,...o});l.import(i),l.import(r),n.push(l),o=xe.cloneDeep(t),l=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","r")}else if(B(e))if(["strong","b","em","i","u","ins","strike","del","s","sub","sup","mark","code","pre"].includes(e.tagName)){switch(o={},e.tagName){case"strong":case"b":o.strong=!0;break;case"i":o.i=!0;break;case"u":o.u=!0;break;case"sub":o.sub=!0;break;case"sup":o.sup=!0}const t=pn(e);t&&a.import(t)}else if("span"===e.tagName){const i=await An(e,{...t,...o},r);Array.isArray(i)?(i.flat(1/0),n.push(...i)):n.push(i);continue}e.children&&e.children.length&&(e.children.length>1&&(t={...t,...o}),i=e.children.slice().concat(i))}if(n.length)return n}if(i.import(a),Ve(e)){const t=ln(e.text);i.import(t)}else if(t&&"picture"===t.type){let a=null;const o=decodeURIComponent(e.properties.src);if(o&&(a=r.createMediaFile(o)),a){r.zip.folder("word").folder("media").file(a.fileNameWithExtension,n.from(a.fileContent,"base64"),{createFolders:!1});const e=r.createDocumentRelationships(r.relationshipFilename,"image","media/"+a.fileNameWithExtension,"Internal");t.inlineOrAnchored=!0,t.relationshipId=e,t.id=a.id,t.fileContent=a.fileContent,t.fileNameWithExtension=a.fileNameWithExtension}const{type:s,inlineOrAnchored:l,...c}=t,u=qn(l,s,c);i.import(u)}else if(B(e)&&"br"===e.tagName){const e=((e="textWrapping")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","br").att("@w","type",e).up())();i.import(e)}return i.up(),i},An=async(e,t,r)=>{if(B(e)&&"span"===e.tagName){let n=[];for(let i=0;i<e.children.length;i++){const a=e.children[i],o=hn(r,e,t),s=await mn(a,o,r);n=n.concat(Array.isArray(s)?s:[s])}return n}return await mn(e,t,r)},gn=async(e,t,r)=>{if(B(e)&&"a"===e.tagName){const n=r.createDocumentRelationships(r.relationshipFilename,"hyperlink",e.properties&&e.properties.href?e.properties.href:""),i=Object(s["fragment"])({namespaceAlias:{w:re,r:Z}}).ele("@w","hyperlink").att("@r","id","rId"+n),a={...t};a.hyperlink=!0;const o=await An(e.children[0],a,r);if(Array.isArray(o))for(let e=0;e<o.length;e++){const t=o[e];i.import(t)}else i.import(o);return i.up(),i}return await An(e,t,r)},_n=e=>("justify"===e&&(e="both"),Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","jc").att("@w","val",e).up()),vn=e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","pPr");if(e&&e.constructor===Object){Object.keys(e).forEach(r=>{switch(r){case"numbering":const{levelId:n,numberingId:i}=e[r],a=((e,t)=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","numPr").ele("@w","ilvl").att("@w","val",String(e)).up().ele("@w","numId").att("@w","val",String(t)).up().up())(n,i);t.import(a),delete e.numbering;break;case"textAlign":const o=_n(e[r]);t.import(o),delete e.textAlign;break;case"backgroundColor":if("block"===e.display){const n=nn(e[r]);t.import(n);const i=(()=>{const e=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","pBdr"),t=xe.cloneDeep(Re);return Object.keys(t).forEach(r=>{if(t[r]){const{size:n,spacing:i,color:a}=t[r],o=sn(r,n,i,a);e.import(o)}}),e.up(),e})();t.import(i),delete e.backgroundColor}break;case"paragraphStyle":const l=((e="Normal")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","pStyle").att("@w","val",e).up())(e.paragraphStyle);t.import(l),delete e.paragraphStyle;break;case"indentation":const c=(({left:e,right:t})=>{const r=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","ind");return e&&r.att("@w","left",e),t&&r.att("@w","right",t),r.up(),r})(e[r]);t.import(c),delete e.indentation}});const r=((e,t,r)=>{const n=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","spacing");return e&&n.att("@w","line",e),t&&n.att("@w","before",t),r&&n.att("@w","after",r),n.att("@w","lineRule","auto").up(),n})(e.lineHeight,e.beforeSpacing,e.afterSpacing);delete e.lineHeight,delete e.beforeSpacing,delete e.afterSpacing,t.import(r)}return t.up(),t},bn=(e,t)=>{const{maximumWidth:r,originalWidth:n,originalHeight:i}=t,a=n/i,o=(s=r,Math.round(635*s));var s;let l,c,u=Yr(n),d=Yr(i);if(u>o&&(u=o,d=Math.round(u/a)),e.properties&&e.properties.style){if(e.properties.style.width)if("auto"!==e.properties.style.width){if(Pr.test(e.properties.style.width))c=Yr(e.properties.style.width.match(Pr)[1]);else if(jr.test(e.properties.style.width)){const t=e.properties.style.width.match(jr)[1];c=Math.round(t/100*u)}}else e.properties.style.height&&"auto"===e.properties.style.height&&(c=u,l=d);if(e.properties.style.height)if("auto"!==e.properties.style.height){if(Pr.test(e.properties.style.height))l=Yr(e.properties.style.height.match(Pr)[1]);else if(jr.test(e.properties.style.height)){const t=e.properties.style.width.match(jr)[1];l=Math.round(t/100*d),c||(c=Math.round(l*a))}}else c?l||(l=Math.round(c/a)):(l=d,c=u);c&&!l?l=Math.round(c/a):l&&!c&&(c=Math.round(l*a))}else c=u,l=d;t.width=c,t.height=l},wn=async(e,t,r)=>{const i=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","p"),a=hn(r,e,t,{isParagraph:!0}),o=vn(a);if(i.import(o),B(e)&&Jr(e))if(["span","strong","b","em","i","u","ins","strike","del","s","sub","sup","mark","a","code","pre"].includes(e.tagName)){const t=await gn(e,a,r);if(Array.isArray(t))for(let e=0;e<t.length;e++){const r=t[e];i.import(r)}else i.import(t)}else if("blockquote"===e.tagName){const r=await mn(e,t);if(Array.isArray(r))for(let e=0;e<r.length;e++)i.import(r[e]);else i.import(r)}else for(let s=0;s<e.children.length;s++){const t=e.children[s];if("img"===t.tagName){let e;const i=t.properties.src;if(en(i)){if(e=await Nr(i).catch(e=>{console.warning("skipping image download and conversion due to "+e)}),!e||!Lr.lookup(i))break;t.properties.src=`data:${Lr.lookup(i)};base64, ${e}`}else e=i.match(/^data:([A-Za-z-+\/]+);base64,(.+)$/)[2];const o=n.from(decodeURIComponent(e),"base64"),s=vt(o);a.maximumWidth=a.maximumWidth||r.availableDocumentSpace,a.originalWidth=s.width,a.originalHeight=s.height,bn(t,a)}const o=await gn(t,B(t)&&"img"===t.tagName?{...a,type:"picture",description:t.properties.alt}:a,r);if(Array.isArray(o))for(let e=0;e<o.length;e++){const t=o[e];i.import(t)}else i.import(o)}else{if(B(e)&&"img"===e.tagName){const t=e.properties.src;let o=t;if(en(t)){if(o=await Nr(t).catch(e=>{console.warning("skipping image download and conversion due to "+e)}),!o||!Lr.lookup(t))return i.up(),i;e.properties.src=`data:${Lr.lookup(t)};base64, ${o}`}else o=o.match(/^data:([A-Za-z-+\/]+);base64,(.+)$/)[2];const s=n.from(decodeURIComponent(o),"base64"),l=vt(s);a.maximumWidth=a.maximumWidth||r.availableDocumentSpace,a.originalWidth=l.width,a.originalHeight=l.height,bn(e,a)}const t=await An(e,a,r);if(Array.isArray(t))for(let e=0;e<t.length;e++){const r=t[e];i.import(r)}else i.import(t)}return i.up(),i},yn=e=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tcW").att("@w","w",(e=>{if(Ur.test(e)){const t=e.match(Ur);return Qr(t[1])}if(Pr.test(e)){const t=e.match(Pr);return qr(t[1])}if(Hr.test(e)){const t=e.match(Hr);return Xr(t[1])}if(Vr.test(e)){const t=e.match(Vr);return Kr(t[1])}})(e)).att("@w","type","dxa").up(),En=e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tcPr");return e&&e.constructor===Object&&Object.keys(e).forEach(r=>{switch(r){case"backgroundColor":const a=nn(e[r]);t.import(a),delete e.backgroundColor;break;case"verticalAlign":const o=("middle"===(i=e[r]).toLowerCase()&&(i="center"),Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","vAlign").att("@w","val",i).up());t.import(o),delete e.verticalAlign;break;case"colSpan":const l=(n=e[r],Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","gridSpan").att("@w","val",n).up());t.import(l),delete e.colSpan;break;case"tableCellBorder":const c=(e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tcBorders"),{color:r,stroke:n,...i}=e;return Object.keys(i).forEach(i=>{if(e[i]){const a=sn(i,e[i],0,r,n);t.import(a)}}),t.up(),t})(e[r]);t.import(c),delete e.tableCellBorder;break;case"rowSpan":const u=((e="continue")=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","vMerge").att("@w","val",e).up())(e[r]);t.import(u),delete e.rowSpan;break;case"width":const d=yn(e[r]);t.import(d),delete e.width}var n,i}),t.up(),t},Cn=(e,t)=>{if(Object.prototype.hasOwnProperty.call(e.properties.style,"border"))if("none"===e.properties.style.border||0===e.properties.style.border)t.tableCellBorder={};else{const[r,n,i]=kn(e.properties.style.border);t.tableCellBorder={top:r,left:r,bottom:r,right:r,color:i,stroke:n}}if(e.properties.style["border-top"]&&"0"===e.properties.style["border-top"])t.tableCellBorder={...t.tableCellBorder,top:0};else if(e.properties.style["border-top"]&&"0"!==e.properties.style["border-top"]){const[r,n,i]=kn(e.properties.style["border-top"]);t.tableCellBorder={...t.tableCellBorder,top:r,color:i,stroke:n}}if(e.properties.style["border-left"]&&"0"===e.properties.style["border-left"])t.tableCellBorder={...t.tableCellBorder,left:0};else if(e.properties.style["border-left"]&&"0"!==e.properties.style["border-left"]){const[r,n,i]=kn(e.properties.style["border-left"]);t.tableCellBorder={...t.tableCellBorder,left:r,color:i,stroke:n}}if(e.properties.style["border-bottom"]&&"0"===e.properties.style["border-bottom"])t.tableCellBorder={...t.tableCellBorder,bottom:0};else if(e.properties.style["border-bottom"]&&"0"!==e.properties.style["border-bottom"]){const[r,n,i]=kn(e.properties.style["border-bottom"]);t.tableCellBorder={...t.tableCellBorder,bottom:r,color:i,stroke:n}}if(e.properties.style["border-right"]&&"0"===e.properties.style["border-right"])t.tableCellBorder={...t.tableCellBorder,right:0};else if(e.properties.style["border-right"]&&"0"!==e.properties.style["border-right"]){const[r,n,i]=kn(e.properties.style["border-right"]);t.tableCellBorder={...t.tableCellBorder,right:r,color:i,stroke:n}}},Sn=async(e,t,r,n,i)=>{const a=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tc");let o={...t};if(B(e)&&e.properties){if(e.properties.rowSpan)r.set(n.index,{rowSpan:e.properties.rowSpan-1,colSpan:0}),o.rowSpan="restart";else{const e=r.get(n.index);r.set(n.index,Object.assign({},e,{rowSpan:0,colSpan:e&&e.colSpan||0}))}if(e.properties.colSpan||e.properties.style&&e.properties.style["column-span"]){o.colSpan=e.properties.colSpan||e.properties.style&&e.properties.style["column-span"];const t=r.get(n.index);r.set(n.index,Object.assign({},t,{colSpan:parseInt(o.colSpan)||0})),n.index+=parseInt(o.colSpan)-1}e.properties.style&&(o={...o,...hn(i,e,t)},Cn(e,o))}const l=En(o);if(a.import(l),Jr(e))for(let s=0;s<e.children.length;s++){const t=e.children[s];if(B(t)&&"img"===t.tagName){const e=await Kn(i,t,o.maximumWidth);e&&a.import(e)}else if(B(t)&&"figure"===t.tagName){if(Jr(t))for(let e=0;e<t.children.length;e++){const r=t.children[e];if("img"===r.tagName){const e=await Kn(i,r,o.maximumWidth);e&&a.import(e)}}}else if(B(t)&&["ul","ol"].includes(t.tagName))Jr(t)&&await Xn(t,i,a);else{const e=await wn(t,o,i);a.import(e)}}else{const e=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","p").up();a.import(e)}return a.up(),a},Mn=(e,t,r)=>{const n=[];let i=e.get(t.index);for(;i&&i.rowSpan;){const a=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tc"),o=En({...r,rowSpan:"continue",colSpan:i.colSpan?i.colSpan:0});a.import(o);const l=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","p").up();a.import(l),a.up(),n.push(a),i.rowSpan-1==0?e.delete(t.index):e.set(t.index,{rowSpan:i.rowSpan-1,colSpan:i.colSpan||0}),t.index+=i.colSpan||1,i=e.get(t.index)}return n},xn=e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","trPr");return e&&e.constructor===Object&&Object.keys(e).forEach(r=>{switch(r){case"tableRowHeight":const i=(n=e[r],Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","trHeight").att("@w","val",n).att("@w","hRule","atLeast").up());t.import(i),delete e.tableRowHeight;break;case"rowCantSplit":if(e.rowCantSplit){const r=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","cantSplit").up();t.import(r),delete e.rowCantSplit}}var n}),t.up(),t},Tn=async(e,t,r,n)=>{const i=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tr"),a={...t};B(e)&&e.properties&&((e.properties.style&&e.properties.style.height||e.children[0]&&B(e.children[0])&&e.children[0].properties.style&&e.children[0].properties.style.height)&&(a.tableRowHeight=(e=>{if(Ur.test(e)){const t=e.match(Ur);return Qr(t[1])}if(Pr.test(e)){const t=e.match(Pr);return qr(t[1])}if(Hr.test(e)){const t=e.match(Hr);return Xr(t[1])}if(Vr.test(e)){const t=e.match(Vr);return Kr(t[1])}})(e.properties.style&&e.properties.style.height||(e.children[0]&&B(e.children[0])&&e.children[0].properties.style&&e.children[0].properties.style.height?e.children[0].properties.style.height:void 0))),e.properties.style&&Cn(e,a));const o=xn(a);i.import(o);const l={index:0};if(Jr(e)){const t=e.children.filter(e=>["td","th"].includes(e.tagName)),o=n.availableDocumentSpace/t.length;for(const e of t){const t=Mn(r,l,a);if(Array.isArray(t))for(let e=0;e<t.length;e++){const r=t[e];i.import(r)}const s=await Sn(e,{...a,maximumWidth:o},r,l,n);l.index++,i.import(s)}}if(l.index<r.size){const e=Mn(r,l,a);if(Array.isArray(e))for(let t=0;t<e.length;t++){const r=e[t];i.import(r)}}return i.up(),i},On=e=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","gridCol").att("@w","w",String(e)),Nn=(e,t)=>{const r=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblGrid");if(Jr(e)){const n=e.children.filter(e=>"col"===e.tagName),i=t.maximumWidth/n.length;for(let e=0;e<n.length;e++){const e=On(i);r.import(e)}}return r.up(),r},Rn=(e,t)=>{const r=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblGrid");if(Jr(e)){const n=e.children.reduce((e,t)=>{const r=t.properties.colSpan||t.properties.style&&t.properties.style["column-span"];return e+(r?parseInt(r):1)},0),i=t.maximumWidth/n;for(let e=0;e<n;e++){const e=On(i);r.import(e)}}return r.up(),r},Ln=(e,t)=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w",e).att("@w","type","dxa").att("@w","w",String(t)).up(),In=e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblPr");e&&e.constructor===Object&&Object.keys(e).forEach(r=>{switch(r){case"tableBorder":const i=(e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblBorders"),{color:r,stroke:n,...i}=e;return Object.keys(i).forEach(e=>{if(i[e]){const a=sn(e,i[e],0,r,n);t.import(a)}}),t.up(),t})(e[r]);t.import(i),delete e.tableBorder;break;case"tableCellSpacing":const a=((e=0)=>Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblCellSpacing").att("@w","w",e).att("@w","type","dxa").up())(e[r]);t.import(a),delete e.tableCellSpacing;break;case"width":if(e[r]){const i=(n=e[r],Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblW").att("@w","type","dxa").att("@w","w",String(n)).up());t.import(i)}delete e.width}var n});const r=(e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tblCellMar");return["top","bottom"].forEach(r=>{const n=Ln(r,e/2);t.import(n)}),["left","right"].forEach(r=>{const n=Ln(r,e);t.import(n)}),t})(160);t.import(r);const n=_n("center");return t.import(n),t.up(),t},kn=e=>{let[t,r,n]=e.split(" ");if(Ur.test(t)){const e=t.match(Ur);t=Zr(e[1])}else if(Pr.test(t)){const e=t.match(Pr);i=e[1],t=Zr($r(i))}var i;return r=r&&["dashed","dotted","double"].includes(r)?r:"single",n=n&&tn(n).toUpperCase(),[t,r,n]},Bn=async(e,t,r)=>{const n=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","tbl"),i={...t};if(B(e)&&e.properties){const r=e.properties.attributes||{},n=e.properties.style||{},a={},o={};let s,l,c,[u,d,h]=[2,"single","000000"];if(isNaN(r.border)||(u=parseInt(r.border,10)),n.border){const[e,t,r]=kn(n.border);u=e||u,h=r||h,d=t||d}if(a.top=u,a.bottom=u,a.left=u,a.right=u,a.stroke=d,a.color=h,"collapse"===n["border-collapse"]?(a.insideV=u,a.insideH=u):(a.insideV=0,a.insideH=0,o.top=1,o.bottom=1,o.left=1,o.right=1),i.tableBorder=a,i.tableCellSpacing=0,Object.keys(o).length&&(i.tableCellBorder=o),Pr.test(n["min-width"]))s=qr(n["min-width"].match(Pr)[1]);else if(jr.test(n["min-width"])){const e=n["min-width"].match(jr)[1];s=Math.round(e/100*t.maximumWidth)}if(Pr.test(n["max-width"]))Pr.lastIndex=0,l=qr(n["max-width"].match(Pr)[1]);else if(jr.test(n["max-width"])){jr.lastIndex=0;const e=n["max-width"].match(jr)[1];l=Math.round(e/100*t.maximumWidth)}if(Pr.test(n.width))Pr.lastIndex=0,c=qr(n.width.match(Pr)[1]);else if(jr.test(n.width)){jr.lastIndex=0;const e=n.width.match(jr)[1];c=Math.round(e/100*t.maximumWidth)}c?(i.width=c,l&&(i.width=Math.min(i.width,l)),s&&(i.width=Math.max(i.width,s))):s&&(i.width=s),i.width&&(i.width=Math.min(i.width,t.maximumWidth))}const a=In(i);n.import(a);const o=new Map;if(Jr(e))for(let s=0;s<e.children.length;s++){const t=e.children[s];if("colgroup"===t.tagName){const e=Nn(t,i);n.import(e)}else if("thead"===t.tagName)for(let e=0;e<t.children.length;e++){const a=t.children[e];if("tr"===a.tagName){if(0===e){const e=Rn(a,i);n.import(e)}const t=await Tn(a,i,o,r);n.import(t)}}else if("tbody"===t.tagName)for(let e=0;e<t.children.length;e++){const a=t.children[e];if("tr"===a.tagName){if(0===e){const e=Rn(a,i);n.import(e)}const t=await Tn(a,i,o,r);n.import(t)}}else if("tr"===t.tagName){if(0===s){const e=Rn(t,i);n.import(e)}const e=await Tn(t,i,o,r);n.import(e)}}return n.up(),n},Dn=e=>{const t=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","xfrm"),r=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","off").att("x","0").att("y","0").up();t.import(r);const n=(({width:e,height:t})=>Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","ext").att("cx",e).att("cy",t).up())(e);return t.import(n),t.up(),t},Fn=e=>{const t=Object(s["fragment"])({namespaceAlias:{pic:$}}).ele("@pic","spPr"),r=Dn(e);t.import(r);const n=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","prstGeom").att("prst","rect").up();return t.import(n),t.up(),t},Pn=()=>{const e=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","stretch"),t=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","fillRect").up();return e.import(t),e.up(),e},jn=e=>{const t=Object(s["fragment"])({namespaceAlias:{pic:$}}).ele("@pic","blipFill"),r=(e=>Object(s["fragment"])({namespaceAlias:{a:Q,r:Z}}).ele("@a","blip").att("@r","embed","rId"+e).att("cstate","print").up())(e);t.import(r);const n=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","srcRect").att("b","0").att("l","0").att("r","0").att("t","0").up();t.import(n);const i=Pn();return t.import(i),t.up(),t},Un=(e,t,r)=>{const n=Object(s["fragment"])({namespaceAlias:{pic:$}}).ele("@pic","nvPicPr"),i=((e,t,r="")=>Object(s["fragment"])({namespaceAlias:{pic:$}}).ele("@pic","cNvPr").att("id",e).att("name",t).att("descr",r).up())(e,t,r);n.import(i);const a=Object(s["fragment"])({namespaceAlias:{pic:$}}).ele("@pic","cNvPicPr").up();return n.import(a),n.up(),n},Hn=(e,t)=>{const r=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","graphicData").att("uri","http://schemas.openxmlformats.org/drawingml/2006/picture");if("picture"===e){const e=(({id:e,fileNameWithExtension:t,description:r,relationshipId:n,width:i,height:a})=>{const o=Object(s["fragment"])({namespaceAlias:{pic:$}}).ele("@pic","pic"),l=Un(e,t,r);o.import(l);const c=jn(n);o.import(c);const u=Fn({width:i,height:a});return o.import(u),o.up(),o})(t);r.import(e)}return r.up(),r},Vn=(e,t)=>{const r=Object(s["fragment"])({namespaceAlias:{a:Q}}).ele("@a","graphic"),n=Hn(e,t);return r.import(n),r.up(),r},Yn=(e,t)=>Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","docPr").att("id",e).att("name",t).up(),Wn=()=>Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","effectExtent").att("b","0").att("l","0").att("r","0").att("t","0").up(),Qn=({width:e,height:t})=>Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","extent").att("cx",e).att("cy",t).up(),zn=(e,t)=>{const r=Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","anchor").att("distB","0").att("distL","0").att("distR","0").att("distT","0").att("relativeHeight","0").att("behindDoc","false").att("locked","true").att("layoutInCell","true").att("allowOverlap","false").att("simplePos","false"),n=Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","simplePos").att("x","0").att("y","0").up();r.import(n);const i=Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","positionH").att("relativeFrom","column").ele("@wp","posOffset").txt("19050").up().up();r.import(i);const a=Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","positionV").att("relativeFrom","paragraph").ele("@wp","posOffset").txt("19050").up().up();r.import(a);const o=Qn({width:t.width,height:t.height});r.import(o);const l=Wn();r.import(l);const c=Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","wrapSquare").att("wrapText","bothSides").att("distB","228600").att("distT","228600").att("distL","228600").att("distR","228600").up();r.import(c);const u=Yn(t.id,t.fileNameWithExtension);r.import(u);const d=Vn(e,t);return r.import(d),r.up(),r},qn=(e=!1,t,r)=>{const n=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","drawing"),i=e?((e,t)=>{const r=Object(s["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","inline").att("distB","0").att("distL","0").att("distR","0").att("distT","0"),n=Qn({width:t.width,height:t.height});r.import(n);const i=Wn();r.import(i);const a=Yn(t.id,t.fileNameWithExtension);r.import(a);const o=Vn(e,t);return r.import(o),r.up(),r})(t,r):zn(t,r);return n.import(i),n.up(),n},Gn=c()({VNode:j,VText:Y}),Kn=async(e,t,r=null)=>{let i=null,a=null;try{const r=t.properties.src;if(en(r)){const e=await Nr(r).catch(e=>{console.warning("skipping image download and conversion due to "+e)});e&&(a=`data:${Lr.lookup(r)};base64, ${e}`)}else a=decodeURIComponent(t.properties.src);a&&(i=e.createMediaFile(a))}catch(o){}if(i){e.zip.folder("word").folder("media").file(i.fileNameWithExtension,n.from(i.fileContent,"base64"),{createFolders:!1});const a=e.createDocumentRelationships(e.relationshipFilename,"image","media/"+i.fileNameWithExtension,"Internal"),o=n.from(i.fileContent,"base64"),s=vt(o);return await wn(t,{type:"picture",inlineOrAnchored:!0,relationshipId:a,...i,description:t.properties.alt,maximumWidth:r||e.availableDocumentSpace,originalWidth:s.width,originalHeight:s.height},e)}},Xn=async(e,t,r)=>{let n=[{node:e,level:0,type:e.tagName,numberingId:t.createNumbering(e.tagName,e.properties)}];for(;n.length;){const e=n.shift();if(Ve(e.node)||B(e.node)&&!["ul","ol","li"].includes(e.node.tagName)){const n=await wn(e.node,{numbering:{levelId:e.level,numberingId:e.numberingId}},t);r.import(n)}e.node.children&&e.node.children.length&&["ul","ol","li"].includes(e.node.tagName)&&(n=e.node.children.reduce((r,n)=>{if(["ul","ol"].includes(n.tagName))r.push({node:n,level:e.level+1,type:n.tagName,numberingId:t.createNumbering(n.tagName,n.properties)});else if(r.length>0&&B(r[r.length-1].node)&&"p"===r[r.length-1].node.tagName.toLowerCase())r[r.length-1].node.children.push(n);else{const t=new j("p",null,Ve(n)?[n]:B(n)?"li"===n.tagName.toLowerCase()?[...n.children]:[n]:[]);r.push({node:B(n)?"li"===n.tagName.toLowerCase()?n:"p"!==n.tagName.toLowerCase()?t:n:t,level:e.level,type:e.type,numberingId:e.numberingId})}return r},[]).concat(n))}return[]};async function $n(e,t,r){if(!t)return"";if(Array.isArray(t)&&t.length)for(let n=0;n<t.length;n++){const i=t[n];await $n(e,i,r)}else if(B(t))await async function(e,t,r){if("div"===t.tagName&&("page-break"===t.properties.attributes.class||t.properties.style&&t.properties.style["page-break-after"])){const e=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","p").ele("@w","r").ele("@w","br").att("@w","type","page").up().up().up();r.import(e)}else{switch(t.tagName){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":const n=await wn(t,{paragraphStyle:"Heading"+t.tagName[1]},e);return void r.import(n);case"span":case"strong":case"b":case"em":case"i":case"u":case"ins":case"strike":case"del":case"s":case"sub":case"sup":case"mark":case"p":case"a":case"blockquote":case"code":case"pre":const i=await wn(t,{},e);return void r.import(i);case"figure":if(Jr(t))for(let c=0;c<t.children.length;c++){const n=t.children[c];if("table"===n.tagName){const t=await Bn(n,{maximumWidth:e.availableDocumentSpace,rowCantSplit:e.tableRowCantSplit},e);r.import(t);const i=await wn(null,{});r.import(i)}else if("img"===n.tagName){const t=await Kn(e,n);t&&r.import(t)}}return;case"table":const a=await Bn(t,{maximumWidth:e.availableDocumentSpace,rowCantSplit:e.tableRowCantSplit},e);r.import(a);const o=await wn(null,{});return void r.import(o);case"ol":case"ul":return void await Xn(t,e,r);case"img":const s=await Kn(e,t);return void(s&&r.import(s));case"br":const l=await wn(null,{});return void r.import(l);case"head":return}if(Jr(t))for(let n=0;n<t.children.length;n++){const i=t.children[n];await $n(e,i,r)}}}(e,t,r);else if(Ve(t)){const n=await wn(t,{},e);r.import(n)}return r}class Zn{constructor(e){this.defaults=e||{defaultOrderedListStyleType:"decimal"}}getListStyleType(e){switch(e){case"upper-roman":return"upperRoman";case"lower-roman":return"lowerRoman";case"upper-alpha":case"upper-alpha-bracket-end":return"upperLetter";case"lower-alpha":case"lower-alpha-bracket-end":return"lowerLetter";case"decimal":case"decimal-bracket":return"decimal";default:return this.defaults.defaultOrderedListStyleType}}getListPrefixSuffix(e,t){let r=this.defaults.defaultOrderedListStyleType;switch(e&&e["list-style-type"]&&(r=e["list-style-type"]),r){case"upper-roman":case"lower-roman":case"upper-alpha":case"lower-alpha":case"decimal":default:return`%${t+1}.`;case"upper-alpha-bracket-end":case"lower-alpha-bracket-end":case"decimal-bracket-end":return`%${t+1})`;case"decimal-bracket":return`(%${t+1})`}}}const Jn=/(["'])(.*?)\1/;function ei(e,t,r){r&&Array.isArray(r)&&r.forEach(r=>{const n=Object(s["fragment"])({defaultNamespace:{ele:we}}).ele("Override").att("PartName",`/word/${t}${r[t+"Id"]}.xml`).att("ContentType",`application/vnd.openxmlformats-officedocument.wordprocessingml.${t}+xml`).up();e.root().import(n)})}function ti(e,t,r,n){if(n&&r&&Array.isArray(r)&&r.length){const n=Object(s["fragment"])();r.forEach(({relationshipId:e,type:r})=>{const i=Object(s["fragment"])({namespaceAlias:{w:re,r:Z}}).ele("@w",t+"Reference").att("@r","id","rId"+e).att("@w","type",r).up();n.import(i)}),e.root().first().first().import(n)}}function ri(e){return Object(s["create"])({encoding:"UTF-8",standalone:!0},e).toString({prettyPrint:!0})}async function ni(e,t="header"){const r=Object(s["create"])({encoding:"UTF-8",standalone:!0,namespaceAlias:{w:re,ve:ee,o:X,r:Z,v:J,wp:ie,w10:ne}}).ele("@w","header"===t?"hdr":"ftr"),n=Object(s["fragment"])();await $n(this,e,n),"footer"===t&&"p"===n.first().node.tagName&&this.pageNumber&&n.first().import(Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","fldSimple").att("@w","instr","PAGE").ele("@w","r").up().up()),r.root().import(n);const i="header"===t?"Header":"Footer";return this[`last${i}Id`]+=1,{[t+"Id"]:this[`last${i}Id`],[t+"XML"]:r}}class ii{constructor(e){this.zip=e.zip,this.htmlString=e.htmlString,this.orientation=e.orientation,this.pageSize=e.pageSize||Ne.pageSize;const t="portrait"===this.orientation,r=this.pageSize.height?this.pageSize.height:12240,n=this.pageSize.width?this.pageSize.width:15840;this.width=t?n:r,this.height=t?r:n;const i=e.margins;this.margins=i&&Object.keys(i).length?i:t?Oe:Te,this.availableDocumentSpace=this.width-this.margins.left-this.margins.right,this.title=e.title||"",this.subject=e.subject||"",this.creator=e.creator||"html-to-docx",this.keywords=e.keywords||["html-to-docx"],this.description=e.description||"",this.lastModifiedBy=e.lastModifiedBy||"html-to-docx",this.revision=e.revision||1,this.createdAt=e.createdAt||new Date,this.modifiedAt=e.modifiedAt||new Date,this.headerType=e.headerType||"default",this.header=e.header||!1,this.footerType=e.footerType||"default",this.footer=e.footer||!1,this.font=e.font||"Times New Roman",this.fontSize=e.fontSize||22,this.complexScriptFontSize=e.complexScriptFontSize||22,this.lang=e.lang||"en-US",this.tableRowCantSplit=e.table&&e.table.row&&e.table.row.cantSplit||!1,this.pageNumber=e.pageNumber||!1,this.skipFirstHeaderFooter=e.skipFirstHeaderFooter||!1,this.lineNumber=e.lineNumber?e.lineNumberOptions:null,this.lastNumberingId=0,this.lastMediaId=0,this.lastHeaderId=0,this.lastFooterId=0,this.stylesObjects=[],this.numberingObjects=[],this.fontTableObjects=[],this.relationshipFilename="document",this.relationships=[{fileName:"document",lastRelsId:5,rels:[]}],this.mediaFiles=[],this.headerObjects=[],this.footerObjects=[],this.documentXML=null,this.generateContentTypesXML=this.generateContentTypesXML.bind(this),this.generateDocumentXML=this.generateDocumentXML.bind(this),this.generateCoreXML=this.generateCoreXML.bind(this),this.generateSettingsXML=this.generateSettingsXML.bind(this),this.generateWebSettingsXML=this.generateWebSettingsXML.bind(this),this.generateStylesXML=this.generateStylesXML.bind(this),this.generateFontTableXML=this.generateFontTableXML.bind(this),this.generateThemeXML=this.generateThemeXML.bind(this),this.generateNumberingXML=this.generateNumberingXML.bind(this),this.generateRelsXML=this.generateRelsXML.bind(this),this.createMediaFile=this.createMediaFile.bind(this),this.createDocumentRelationships=this.createDocumentRelationships.bind(this),this.generateHeaderXML=this.generateHeaderXML.bind(this),this.generateFooterXML=this.generateFooterXML.bind(this),this.generateSectionXML=ni.bind(this),this.ListStyleBuilder=new Zn(e.numbering)}generateContentTypesXML(){const e=Object(s["create"])({encoding:"UTF-8",standalone:!0},'\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />\n <Default Extension="jpeg" ContentType="image/jpeg"/>\n <Default Extension="png" ContentType="image/png"/>\n <Default Extension="xml" ContentType="application/xml"/>\n <Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>\n <Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>\n <Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>\n <Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>\n <Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/>\n <Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>\n <Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>\n <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>\n <Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>\n <Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/>\n </Types>\n');return ei(e,"header",this.headerObjects),ei(e,"footer",this.footerObjects),e.toString({prettyPrint:!0})}generateDocumentXML(){const e=Object(s["create"])({encoding:"UTF-8",standalone:!0},(t=this.width,r=this.height,n=this.orientation,i=this.margins,`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:document\n xmlns:a="${Q}"\n xmlns:cdr="${z}"\n xmlns:o="${X}"\n xmlns:pic="${$}"\n xmlns:r="${Z}"\n xmlns:v="${J}"\n xmlns:ve="${ee}"\n xmlns:vt="${te}"\n xmlns:w="${re}"\n xmlns:w10="${ne}"\n xmlns:wp="${ie}"\n xmlns:wne="${ae}"\n >\n <w:body>\n <w:sectPr>\n <w:pgSz w:w="${t}" w:h="${r}" w:orient="${n}" />\n <w:pgMar w:top="${i.top}"\n w:right="${i.right}"\n w:bottom="${i.bottom}"\n w:left="${i.left}"\n w:header="${i.header}"\n w:footer="${i.footer}"\n w:gutter="${i.gutter}"/>\n </w:sectPr>\n </w:body>\n </w:document>\n `));var t,r,n,i;if(e.root().first().import(this.documentXML),ti(e,"header",this.headerObjects,this.header),ti(e,"footer",this.footerObjects,this.footer),(this.header||this.footer)&&this.skipFirstHeaderFooter&&e.root().first().first().import(Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","titlePg")),this.lineNumber){const{countBy:t,start:r,restart:n}=this.lineNumber;e.root().first().first().import(Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","lnNumType").att("@w","countBy",t).att("@w","start",r).att("@w","restart",n))}return e.toString({prettyPrint:!0})}generateCoreXML(){return ri(((e="",t="",r="html-to-docx",n=["html-to-docx"],i="",a="html-to-docx",o=1,s=new Date,l=new Date)=>`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <cp:coreProperties\n xmlns:cp="${me}"\n xmlns:dc="${q}"\n xmlns:dcterms="${K}"\n xmlns:dcmitype="${G}"\n xmlns:xsi="${oe}"\n >\n <dc:title>${e}</dc:title>\n <dc:subject>${t}</dc:subject>\n <dc:creator>${r}</dc:creator>\n ${n&&Array.isArray(n)?`<cp:keywords>${n.join(", ")}</cp:keywords>`:""}\n <dc:description>${i}</dc:description>\n <cp:lastModifiedBy>${a}</cp:lastModifiedBy>\n <cp:revision>${o}</cp:revision>\n <dcterms:created xsi:type="dcterms:W3CDTF">${s instanceof Date?s.toISOString():(new Date).toISOString()}</dcterms:created>\n <dcterms:modified xsi:type="dcterms:W3CDTF">${l instanceof Date?l.toISOString():(new Date).toISOString()}</dcterms:modified>\n </cp:coreProperties>\n `)(this.title,this.subject,this.creator,this.keywords,this.description,this.lastModifiedBy,this.revision,this.createdAt,this.modifiedAt))}generateSettingsXML(){return ri(Fe)}generateWebSettingsXML(){return ri(Pe)}generateStylesXML(){return ri(((e="Times New Roman",t=22,r=22,n="en-US")=>`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:styles xmlns:w="${re}" xmlns:r="${Z}">\n\t<w:docDefaults>\n\t <w:rPrDefault>\n\t\t<w:rPr>\n\t\t <w:rFonts w:ascii="${e}" w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi" />\n\t\t <w:sz w:val="${t}" />\n\t\t <w:szCs w:val="${r}" />\n\t\t <w:lang w:val="${n}" w:eastAsia="${n}" w:bidi="ar-SA" />\n\t\t</w:rPr>\n\t </w:rPrDefault>\n\t <w:pPrDefault>\n\t\t<w:pPr>\n\t\t <w:spacing w:after="120" w:line="240" w:lineRule="atLeast" />\n\t\t</w:pPr>\n\t </w:pPrDefault>\n\t</w:docDefaults>\n\t<w:style w:type="character" w:styleId="Hyperlink">\n\t <w:name w:val="Hyperlink" />\n\t <w:rPr>\n\t\t<w:color w:val="0000FF" />\n\t\t<w:u w:val="single" />\n\t </w:rPr>\n\t</w:style>\n\t<w:style w:type="paragraph" w:styleId="Heading1">\n\t <w:name w:val="heading 1" />\n\t <w:basedOn w:val="Normal" />\n\t <w:next w:val="Normal" />\n\t <w:uiPriority w:val="9" />\n\t <w:qFormat />\n\t <w:pPr>\n\t\t<w:keepNext />\n\t\t<w:keepLines />\n\t\t<w:spacing w:before="480" />\n\t\t<w:outlineLvl w:val="0" />\n\t </w:pPr>\n\t <w:rPr>\n\t\t<w:b />\n\t\t<w:sz w:val="48" />\n\t\t<w:szCs w:val="48" />\n\t </w:rPr>\n\t</w:style>\n\t<w:style w:type="paragraph" w:styleId="Heading2">\n\t <w:name w:val="heading 2" />\n\t <w:basedOn w:val="Normal" />\n\t <w:next w:val="Normal" />\n\t <w:uiPriority w:val="9" />\n\t <w:unhideWhenUsed />\n\t <w:qFormat />\n\t <w:pPr>\n\t\t<w:keepNext />\n\t\t<w:keepLines />\n\t\t<w:spacing w:before="360" w:after="80" />\n\t\t<w:outlineLvl w:val="1" />\n\t </w:pPr>\n\t <w:rPr>\n\t\t<w:b />\n\t\t<w:sz w:val="36" />\n\t\t<w:szCs w:val="36" />\n\t </w:rPr>\n\t</w:style>\n\t<w:style w:type="paragraph" w:styleId="Heading3">\n\t <w:name w:val="heading 3" />\n\t <w:basedOn w:val="Normal" />\n\t <w:next w:val="Normal" />\n\t <w:uiPriority w:val="9" />\n\t <w:semiHidden />\n\t <w:unhideWhenUsed />\n\t <w:qFormat />\n\t <w:pPr>\n\t\t<w:keepNext />\n\t\t<w:keepLines />\n\t\t<w:spacing w:before="280" w:after="80" />\n\t\t<w:outlineLvl w:val="2" />\n\t </w:pPr>\n\t <w:rPr>\n\t\t<w:b />\n\t\t<w:sz w:val="28" />\n\t\t<w:szCs w:val="28" />\n\t </w:rPr>\n\t</w:style>\n\t<w:style w:type="paragraph" w:styleId="Heading4">\n\t <w:name w:val="heading 4" />\n\t <w:basedOn w:val="Normal" />\n\t <w:next w:val="Normal" />\n\t <w:uiPriority w:val="9" />\n\t <w:semiHidden />\n\t <w:unhideWhenUsed />\n\t <w:qFormat />\n\t <w:pPr>\n\t\t<w:keepNext />\n\t\t<w:keepLines />\n\t\t<w:spacing w:before="240" w:after="40" />\n\t\t<w:outlineLvl w:val="3" />\n\t </w:pPr>\n\t <w:rPr>\n\t\t<w:b />\n\t\t<w:sz w:val="24" />\n\t\t<w:szCs w:val="24" />\n\t </w:rPr>\n\t</w:style>\n\t<w:style w:type="paragraph" w:styleId="Heading5">\n\t <w:name w:val="heading 5" />\n\t <w:basedOn w:val="Normal" />\n\t <w:next w:val="Normal" />\n\t <w:uiPriority w:val="9" />\n\t <w:semiHidden />\n\t <w:unhideWhenUsed />\n\t <w:qFormat />\n\t <w:pPr>\n\t\t<w:keepNext />\n\t\t<w:keepLines />\n\t\t<w:spacing w:before="220" w:after="40" />\n\t\t<w:outlineLvl w:val="4" />\n\t </w:pPr>\n\t <w:rPr>\n\t\t<w:b />\n\t </w:rPr>\n\t</w:style>\n\t<w:style w:type="paragraph" w:styleId="Heading6">\n\t <w:name w:val="heading 6" />\n\t <w:basedOn w:val="Normal" />\n\t <w:next w:val="Normal" />\n\t <w:uiPriority w:val="9" />\n\t <w:semiHidden />\n\t <w:unhideWhenUsed />\n\t <w:qFormat />\n\t <w:pPr>\n\t\t<w:keepNext />\n\t\t<w:keepLines />\n\t\t<w:spacing w:before="200" w:after="40" />\n\t\t<w:outlineLvl w:val="5" />\n\t </w:pPr>\n\t <w:rPr>\n\t\t<w:b />\n\t\t<w:sz w:val="20" />\n\t\t<w:szCs w:val="20" />\n\t </w:rPr>\n\t</w:style>\n </w:styles>\n `)(this.font,this.fontSize,this.complexScriptFontSize,this.lang))}generateFontTableXML(){const e=Object(s["create"])({encoding:"UTF-8",standalone:!0},De),t=["Arial","Calibri","Calibri Light","Courier New","Symbol","Times New Roman"];return this.fontTableObjects.forEach(({fontName:r,genericFontName:n})=>{if(!t.includes(r)){t.push(r);const i=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","font").att("@w","name",r);switch(n){case"serif":i.ele("@w","altName").att("@w","val","Times New Roman"),i.ele("@w","family").att("@w","val","roman"),i.ele("@w","pitch").att("@w","val","variable");break;case"sans-serif":i.ele("@w","altName").att("@w","val","Arial"),i.ele("@w","family").att("@w","val","swiss"),i.ele("@w","pitch").att("@w","val","variable");break;case"monospace":i.ele("@w","altName").att("@w","val","Courier New"),i.ele("@w","family").att("@w","val","modern"),i.ele("@w","pitch").att("@w","val","fixed")}e.root().import(i)}}),e.toString({prettyPrint:!0})}generateThemeXML(){return ri(((e="Times New Roman")=>`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">\n <a:themeElements>\n <a:clrScheme name="Office">\n <a:dk1>\n <a:sysClr val="windowText" lastClr="000000"/>\n </a:dk1>\n <a:lt1>\n <a:sysClr val="window" lastClr="FFFFFF"/>\n </a:lt1>\n <a:dk2>\n <a:srgbClr val="44546A"/>\n </a:dk2>\n <a:lt2>\n <a:srgbClr val="E7E6E6"/>\n </a:lt2>\n <a:accent1>\n <a:srgbClr val="4472C4"/>\n </a:accent1>\n <a:accent2>\n <a:srgbClr val="ED7D31"/>\n </a:accent2>\n <a:accent3>\n <a:srgbClr val="A5A5A5"/>\n </a:accent3>\n <a:accent4>\n <a:srgbClr val="FFC000"/>\n </a:accent4>\n <a:accent5>\n <a:srgbClr val="5B9BD5"/>\n </a:accent5>\n <a:accent6>\n <a:srgbClr val="70AD47"/>\n </a:accent6>\n <a:hlink>\n <a:srgbClr val="0563C1"/>\n </a:hlink>\n <a:folHlink>\n <a:srgbClr val="954F72"/>\n </a:folHlink>\n </a:clrScheme>\n <a:fontScheme name="Office">\n <a:majorFont>\n <a:latin typeface="${e}"/>\n <a:ea typeface="${e}"/>\n <a:cs typeface=""/>\n </a:majorFont>\n <a:minorFont>\n <a:latin typeface="${e}"/>\n <a:ea typeface="${e}"/>\n <a:cs typeface=""/>\n </a:minorFont>\n </a:fontScheme>\n <a:fmtScheme name="Office">\n <a:fillStyleLst>\n <a:solidFill>\n <a:schemeClr val="phClr"/>\n </a:solidFill>\n <a:gradFill rotWithShape="1">\n <a:gsLst>\n <a:gs pos="0">\n <a:schemeClr val="phClr">\n <a:lumMod val="110000"/>\n <a:satMod val="105000"/>\n <a:tint val="67000"/>\n </a:schemeClr>\n </a:gs>\n <a:gs pos="50000">\n <a:schemeClr val="phClr">\n <a:lumMod val="105000"/>\n <a:satMod val="103000"/>\n <a:tint val="73000"/>\n </a:schemeClr>\n </a:gs>\n <a:gs pos="100000">\n <a:schemeClr val="phClr">\n <a:lumMod val="105000"/>\n <a:satMod val="109000"/>\n <a:tint val="81000"/>\n </a:schemeClr>\n </a:gs>\n </a:gsLst>\n <a:lin ang="5400000" scaled="0"/>\n </a:gradFill>\n <a:gradFill rotWithShape="1">\n <a:gsLst>\n <a:gs pos="0">\n <a:schemeClr val="phClr">\n <a:satMod val="103000"/>\n <a:lumMod val="102000"/>\n <a:tint val="94000"/>\n </a:schemeClr>\n </a:gs>\n <a:gs pos="50000">\n <a:schemeClr val="phClr">\n <a:satMod val="110000"/>\n <a:lumMod val="100000"/>\n <a:shade val="100000"/>\n </a:schemeClr>\n </a:gs>\n <a:gs pos="100000">\n <a:schemeClr val="phClr">\n <a:lumMod val="99000"/>\n <a:satMod val="120000"/>\n <a:shade val="78000"/>\n </a:schemeClr>\n </a:gs>\n </a:gsLst>\n <a:lin ang="5400000" scaled="0"/>\n </a:gradFill>\n </a:fillStyleLst>\n <a:lnStyleLst>\n <a:ln w="6350" cap="flat" cmpd="sng" algn="ctr">\n <a:solidFill>\n <a:schemeClr val="phClr"/>\n </a:solidFill>\n <a:prstDash val="solid"/>\n <a:miter lim="800000"/>\n </a:ln>\n <a:ln w="12700" cap="flat" cmpd="sng" algn="ctr">\n <a:solidFill>\n <a:schemeClr val="phClr"/>\n </a:solidFill>\n <a:prstDash val="solid"/>\n <a:miter lim="800000"/>\n </a:ln>\n <a:ln w="19050" cap="flat" cmpd="sng" algn="ctr">\n <a:solidFill>\n <a:schemeClr val="phClr"/>\n </a:solidFill>\n <a:prstDash val="solid"/>\n <a:miter lim="800000"/>\n </a:ln>\n </a:lnStyleLst>\n <a:effectStyleLst>\n <a:effectStyle>\n <a:effectLst/>\n </a:effectStyle>\n <a:effectStyle>\n <a:effectLst/>\n </a:effectStyle>\n <a:effectStyle>\n <a:effectLst>\n <a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0">\n <a:srgbClr val="000000">\n <a:alpha val="63000"/>\n </a:srgbClr>\n </a:outerShdw>\n </a:effectLst>\n </a:effectStyle>\n </a:effectStyleLst>\n <a:bgFillStyleLst>\n <a:solidFill>\n <a:schemeClr val="phClr"/>\n </a:solidFill>\n <a:solidFill>\n <a:schemeClr val="phClr">\n <a:tint val="95000"/>\n <a:satMod val="170000"/>\n </a:schemeClr>\n </a:solidFill>\n <a:gradFill rotWithShape="1">\n <a:gsLst>\n <a:gs pos="0">\n <a:schemeClr val="phClr">\n <a:tint val="93000"/>\n <a:satMod val="150000"/>\n <a:shade val="98000"/>\n <a:lumMod val="102000"/>\n </a:schemeClr>\n </a:gs>\n <a:gs pos="50000">\n <a:schemeClr val="phClr">\n <a:tint val="98000"/>\n <a:satMod val="130000"/>\n <a:shade val="90000"/>\n <a:lumMod val="103000"/>\n </a:schemeClr>\n </a:gs>\n <a:gs pos="100000">\n <a:schemeClr val="phClr">\n <a:shade val="63000"/>\n <a:satMod val="120000"/>\n </a:schemeClr>\n </a:gs>\n </a:gsLst>\n <a:lin ang="5400000" scaled="0"/>\n </a:gradFill>\n </a:bgFillStyleLst>\n </a:fmtScheme>\n </a:themeElements>\n </a:theme>\n`)(this.font))}generateNumberingXML(){const e=Object(s["create"])({encoding:"UTF-8",standalone:!0},`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:numbering\n xmlns:w="${re}"\n xmlns:ve="${ee}"\n xmlns:o="${X}"\n xmlns:r="${Z}"\n xmlns:v="${J}"\n xmlns:wp="${ie}"\n xmlns:w10="${ne}"\n xmlns:wne="${ae}">\n </w:numbering>\n `),t=Object(s["fragment"])(),r=Object(s["fragment"])();return this.numberingObjects.forEach(({numberingId:e,type:n,properties:i})=>{const a=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","abstractNum").att("@w","abstractNumId",String(e));[...Array(8).keys()].forEach(e=>{const t=Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","lvl").att("@w","ilvl",e).ele("@w","start").att("@w","val","ol"===n?i.attributes&&i.attributes["data-start"]||1:"1").up().ele("@w","numFmt").att("@w","val","ol"===n?this.ListStyleBuilder.getListStyleType(i.style&&i.style["list-style-type"]):"bullet").up().ele("@w","lvlText").att("@w","val","ol"===n?this.ListStyleBuilder.getListPrefixSuffix(i.style,e):"").up().ele("@w","lvlJc").att("@w","val","left").up().ele("@w","pPr").ele("@w","tabs").ele("@w","tab").att("@w","val","num").att("@w","pos",720*(e+1)).up().up().ele("@w","ind").att("@w","left",720*(e+1)).att("@w","hanging",360).up().up().up();"ul"===n&&t.last().import(Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","rPr").ele("@w","rFonts").att("@w","ascii","Symbol").att("@w","hAnsi","Symbol").att("@w","hint","default").up().up()),a.import(t)}),a.up(),t.import(a),r.import(Object(s["fragment"])({namespaceAlias:{w:re}}).ele("@w","num").att("@w","numId",String(e)).ele("@w","abstractNumId").att("@w","val",String(e)).up().up())}),e.root().import(t),e.root().import(r),e.toString({prettyPrint:!0})}appendRelationships(e,t){t.forEach(({relationshipId:t,type:r,target:n,targetMode:i})=>{e.import(Object(s["fragment"])({defaultNamespace:{ele:ye}}).ele("Relationship").att("Id","rId"+t).att("Type",r).att("Target",n).att("TargetMode",i).up())})}generateRelsXML(){return this.relationships.map(({fileName:e,rels:t})=>{const r=Object(s["create"])({encoding:"UTF-8",standalone:!0},"document"===e?ke:'\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n </Relationships>\n');return this.appendRelationships(r.root(),t),{fileName:e,xmlString:r.toString({prettyPrint:!0})}})}createNumbering(e,t){return this.lastNumberingId+=1,this.numberingObjects.push({numberingId:this.lastNumberingId,type:e,properties:t}),this.lastNumberingId}createFont(e){const t=((e,t)=>{const r=e?e.split(",").map(e=>{const t=e.trim();return Jn.test(t)?t.match(Jn)[2]:t}):[t];return{fontName:r[0],genericFontName:r[r.length-1]}})(e,this.font);return this.fontTableObjects.push(t),t.fontName}createMediaFile(e){const t=e.match(/^data:([A-Za-z-+\/]+);base64,(.+)$/);if(3!==t.length)throw new Error("Invalid base64 string");const r=t[2],n="octet-stream"===t[1].match(/\/(.*?)$/)[1]?"png":t[1].match(/\/(.*?)$/)[1],i=`image-${He()}.${n}`;return this.lastMediaId+=1,{id:this.lastMediaId,fileContent:r,fileNameWithExtension:i}}createDocumentRelationships(e="document",t,r,n="External"){let i,a=this.relationships.find(t=>t.fileName===e),o=1;switch(a?(o=a.lastRelsId+1,a.lastRelsId=o):(a={fileName:e,lastRelsId:o,rels:[]},this.relationships.push(a)),t){case"hyperlink":i=ce;break;case"image":i=ue;break;case"header":i=he;break;case"footer":i=pe;break;case"theme":i=fe}return a.rels.push({relationshipId:o,type:i,target:r,targetMode:n}),o}generateHeaderXML(e){return this.generateSectionXML(e,"header")}generateFooterXML(e){return this.generateSectionXML(e,"footer")}}const ai=c()({VNode:j,VText:Y}),oi=e=>{const t={...e};return Object.keys(e).forEach(r=>{switch(r){case"pageSize":case"margins":t[r]=((e,t)=>{let r={};return"object"==typeof e&&null!==e?Object.keys(e).forEach(n=>{if(Pr.test(e[n])){const t=e[n].match(Pr);r[n]=qr(t[1])}else if(Hr.test(e[n])){const t=e[n].match(Hr);r[n]=Xr(t[1])}else if(Vr.test(e[n])){const t=e[n].match(Vr);r[n]=Kr(t[1])}else e[n]?r[n]=e[n]:r[n]=t[n]}):r=null,r})(e[r],Ne[r]);break;case"fontSize":case"complexScriptFontSize":t[r]=(e=>{let t;if(Ur.test(e)){const r=e.match(Ur);t=zr(r[1])}else t=e||null;return t})(e[r])}}),t};async function si(e,t,r,n,i){const a=oi(r),o=(l=Ne,c=a,{...l,...c});var l,c;o.header&&!n&&(n="<p></p>"),o.footer&&!i&&(i="<p></p>"),o.decodeUnicode&&(n=Object(u["decode"])(n),t=Object(u["decode"])(t),i=Object(u["decode"])(i));const d=new ii({zip:e,htmlString:t,...o});if(d.documentXML=await async function(e){const t=Gn(e.htmlString),r=Object(s["fragment"])({namespaceAlias:{w:re}});return await $n(e,t,r)}(d),e.folder("_rels").file(".rels",Object(s["create"])({encoding:"UTF-8",standalone:!0},Be).toString({prettyPrint:!0}),{createFolders:!1}),e.folder("docProps").file("core.xml",d.generateCoreXML(),{createFolders:!1}),d.header&&n){const t=ai(n);d.relationshipFilename="header1";const{headerId:r,headerXML:i}=await d.generateHeaderXML(t);d.relationshipFilename="document";const a=`header${r}.xml`,o=d.createDocumentRelationships(d.relationshipFilename,"header",a,"Internal");e.folder("word").file(a,i.toString({prettyPrint:!0}),{createFolders:!1}),d.headerObjects.push({headerId:r,relationshipId:o,type:d.headerType})}if(d.footer&&i){const t=ai(i);d.relationshipFilename="footer1";const{footerId:r,footerXML:n}=await d.generateFooterXML(t);d.relationshipFilename="document";const a=`footer${r}.xml`,o=d.createDocumentRelationships(d.relationshipFilename,"footer",a,"Internal");e.folder("word").file(a,n.toString({prettyPrint:!0}),{createFolders:!1}),d.footerObjects.push({footerId:r,relationshipId:o,type:d.footerType})}d.createDocumentRelationships(d.relationshipFilename,"theme","theme/theme1.xml","Internal"),e.folder("word").folder("theme").file("theme1.xml",d.generateThemeXML(),{createFolders:!1}),e.folder("word").file("document.xml",d.generateDocumentXML(),{createFolders:!1}).file("fontTable.xml",d.generateFontTableXML(),{createFolders:!1}).file("styles.xml",d.generateStylesXML(),{createFolders:!1}).file("numbering.xml",d.generateNumberingXML(),{createFolders:!1}).file("settings.xml",d.generateSettingsXML(),{createFolders:!1}).file("webSettings.xml",d.generateWebSettingsXML(),{createFolders:!1});const h=d.generateRelsXML();return h&&Array.isArray(h)&&h.forEach(({fileName:t,xmlString:r})=>{e.folder("word").folder("_rels").file(t+".xml.rels",r,{createFolders:!1})}),e.file("[Content_Types].xml",d.generateContentTypesXML(),{createFolders:!1}),e}const li=e=>{try{if("string"==typeof e||e instanceof String)return e.replace(/\n/g," ").replace(/\r/g," ").replace(/\r\n/g," ").replace(/[\t]+\</g,"<").replace(/\>[\t ]+\</g,"><").replace(/\>[\t ]+$/g,">");throw new Error("invalid html string")}catch(t){return null}};async function ci(t,r,i={},a){const s=new o.a;let l=t,c=r,u=a;t&&(l=li(l)),r&&(c=li(c)),a&&(u=li(u)),await si(s,l,i,c,u);const d=await s.generateAsync({type:"arraybuffer"});if(Object.prototype.hasOwnProperty.call(e,"Buffer"))return n.from(new Uint8Array(d));if(Object.prototype.hasOwnProperty.call(e,"Blob"))return new Blob([d],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});throw new Error("Add blob support using a polyfill eg https://github.com/bjornstar/blob-polyfill")}}).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},c5cd:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return d}));r("d9e2");var n=r("7b9c"),i=r("351d"),a=r("7ae0");function o(e,t,r){return(t=s(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 c=0;class u{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)),c+=1)}unregister(e){const t=this.collection.get(e);Object(n["isDefined"])(t)&&(t.destroy(),this.collection.delete(e),this.runLocalHooks("change",t),c-=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 c}Object(i["mixin"])(u,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},c621:function(e,t,r){"use strict";r.d(t,"j",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"m",(function(){return o})),r.d(t,"f",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"h",(function(){return c})),r.d(t,"i",(function(){return u})),r.d(t,"g",(function(){return d})),r.d(t,"c",(function(){return h})),r.d(t,"a",(function(){return p})),r.d(t,"l",(function(){return f})),r.d(t,"e",(function(){return m})),r.d(t,"k",(function(){return A}));var n=r("b775");function i(e){return Object(n["a"])({url:"/template/category/search",method:"post",data:e})}function a(e){return Object(n["a"])({url:"/template/category/create",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/template/category/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/template/category/info",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/template/category/delete",method:"post",data:e})}function c(e){return Object(n["a"])({url:"/document/block/list",method:"post",data:e})}function u(e){return Object(n["a"])({url:"/template/search",method:"post",data:e})}function d(e){return Object(n["a"])({url:"/template/info",method:"post",data:e})}function h(e){return Object(n["a"])({url:"/document/block/dele/".concat(e),method:"get"})}function p(e){return Object(n["a"])({url:"/document/block/add",method:"post",data:e})}function f(e){return Object(n["a"])({url:"/document/block/edit",method:"post",data:e})}function m(e){return Object(n["a"])({url:"/template/category/allList",method:"post",data:e})}function A(e){return Object(n["a"])({url:"/template/category/treeCategory",method:"post",data:e})}},c6a7:function(e,t,r){"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},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";
  612. //! moment.js locale configuration
  613. 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}))},c7cc:function(e,t,r){"use strict";r.r(t);var n=r("c88e"),i=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},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},c88e:function(e,t){},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";
  614. //! moment.js locale configuration
  615. 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}))},c8f7: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,c=[],u=[];if(e===t)return 0;n=e;while(n)c.unshift(n),n=n.parent;n=t;while(n)u.unshift(n),n=n.parent;l=0;while(c[l]===u[l])l++;return 0===l?r.DISCONNECTED:(i=c[l-1],a=i.children,o=c[l],s=u[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}},c90b:function(e,t,r){(function(e,n,i){var a=r("a9f1"),o=r("3fb5"),s=r("e372"),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,r,o,l){var c=this;if(s.Readable.call(c),c._mode=o,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){e.nextTick((function(){c.emit("close")}))})),"fetch"===o){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),a.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,r){c._destroyed?r():c.push(new n(e))?t():c._resumeFetch=t}))},close:function(){i.clearTimeout(l),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void r.body.pipeTo(u).catch((function(e){i.clearTimeout(l),c._destroyed||c.emit("error",e)}))}catch(A){}}var d=r.body.getReader();function h(){d.read().then((function(e){if(!c._destroyed){if(e.done)return i.clearTimeout(l),void c.push(null);c.push(new n(e.value)),h()}})).catch((function(e){i.clearTimeout(l),c._destroyed||c.emit("error",e)}))}h()}else{c._xhr=t,c._pos=0,c.url=t.responseURL,c.statusCode=t.status,c.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===c.headers[r]&&(c.headers[r]=[]),c.headers[r].push(t[2])):void 0!==c.headers[r]?c.headers[r]+=", "+t[2]:c.headers[r]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!a.overrideMimeType){var f=c.rawHeaders["mime-type"];if(f){var m=f.match(/;\s*charset=([^;])(;|$)/);m&&(c._charset=m[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};o(c,s.Readable),c.prototype._read=function(){var e=this,t=e._resumeFetch;t&&(e._resumeFetch=null,t())},c.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(u){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(u){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 c=new i.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(new n(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.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"},cb27:function(e,t,r){"use strict";var n=r("e330"),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i["delete"]),proto:i}},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 vs})),r.d(a,"ArrayPlugin",(function(){return bs})),r.d(a,"AbsPlugin",(function(){return ws})),r.d(a,"BitShiftPlugin",(function(){return Ss})),r.d(a,"BitwiseLogicOperationsPlugin",(function(){return Os})),r.d(a,"BooleanPlugin",(function(){return Ns})),r.d(a,"CharPlugin",(function(){return Rs})),r.d(a,"CodePlugin",(function(){return Ls})),r.d(a,"CountBlankPlugin",(function(){return Is})),r.d(a,"CountUniquePlugin",(function(){return ks})),r.d(a,"DateTimePlugin",(function(){return Bs})),r.d(a,"DegreesPlugin",(function(){return Us})),r.d(a,"DeltaPlugin",(function(){return Hs})),r.d(a,"ExpPlugin",(function(){return Vs})),r.d(a,"FinancialPlugin",(function(){return Ys})),r.d(a,"FormulaTextPlugin",(function(){return Ks})),r.d(a,"HyperlinkPlugin",(function(){return Xs})),r.d(a,"InformationPlugin",(function(){return $s})),r.d(a,"IsEvenPlugin",(function(){return Zs})),r.d(a,"IsOddPlugin",(function(){return Js})),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 ul})),r.d(a,"PowerPlugin",(function(){return pl})),r.d(a,"RadiansPlugin",(function(){return fl})),r.d(a,"RadixConversionPlugin",(function(){return bl})),r.d(a,"RandomPlugin",(function(){return Tl})),r.d(a,"RoundingPlugin",(function(){return Rl})),r.d(a,"SqrtPlugin",(function(){return Ll})),r.d(a,"ConditionalAggregationPlugin",(function(){return Ql})),r.d(a,"SumprodPlugin",(function(){return zl})),r.d(a,"TextPlugin",(function(){return ql})),r.d(a,"TrigonometryPlugin",(function(){return Gl})),r.d(a,"LookupPlugin",(function(){return Xl})),r.d(a,"RomanPlugin",(function(){return $l})),r.d(a,"SimpleArithmerticPlugin",(function(){return tc})),r.d(a,"StatisticalPlugin",(function(){return $c})),r.d(a,"MathPlugin",(function(){return Zc})),r.d(a,"ComplexPlugin",(function(){return ru})),r.d(a,"StatisticalAggregationPlugin",(function(){return mu})),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=_n(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=P(t.col),i=this.type===n.ABSOLUTE?"$":"";return`${i}${r}`}exceedsSheetSizeLimits(e){return this.col>=e}}
  616. /**
  617. * @license
  618. * Copyright (c) 2024 Handsoncode. All rights reserved.
  619. */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=_n(this,e);let r=this.row;return this.isRowRelative()&&(r=e.row+this.row),cn(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(un(t))return;const r=this.type===n.ABSOLUTE?"$":"";return`${r}${t.row+1}`}exceedsSheetSizeLimits(e){return this.row>=e}}
  620. /**
  621. * @license
  622. * Copyright (c) 2024 Handsoncode. All rights reserved.
  623. */(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=_n(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=_n(this,e);let r=this.col;return this.isColumnRelative()&&(r+=e.col),dn(t,r)}toSimpleRowAddress(e){const t=_n(this,e);let r=this.row;return this.isRowRelative()&&(r+=e.row),cn(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=P(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}}
  624. /**
  625. * @license
  626. * Copyright (c) 2024 Handsoncode. All rights reserved.
  627. */const c=":",u="$",d="\\s+",h="[ \\t\\n\\r]+",p="A-Za-zÀ-ʯ",f=p+"0-9_.",m=`[${p}0-9_]+`,A="'(((?!').|'')*)'",g=`(${m}|${A})!`,_=`(${g})?\\${u}?[A-Za-z]+\\${u}?[0-9]+`,v=`(${g})?\\${u}?[A-Za-z]+`,b=`(${g})?\\${u}?[0-9]+`,w="[rR][0-9]*[cC][0-9]*",y=`(${_})[^${f}]`,E=`[${p}_][${f}]*`,C=["0","1","2","3","4","5","6","7","8","9"],S=[...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)),M=new RegExp(`^(${g})?(\\${u}?)([A-Za-z]+)(\\${u}?)([0-9]+)$`),x=new RegExp(`^(${g})?(\\${u}?)([A-Za-z]+)$`),T=new RegExp(`^(${g})?(\\${u}?)([0-9]+)$`),O=new RegExp(`^${m}$`),N=(e,t,r)=>{const n=M.exec(t),i=F(n[6]);let a=U(n,e);if(void 0===a)return;null===a&&(a=void 0);const o=Number(n[8])-1;return n[5]===u&&n[7]===u?l.absolute(i,o,a):n[5]===u?l.absoluteCol(i,o-r.row,a):n[7]===u?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=U(n,e);if(void 0===i)return;null===i&&(i=void 0);const a=F(n[6]);return n[5]===u?o.absolute(a,i):o.relative(a-r.col,i)},L=(e,t,r)=>{const n=T.exec(t);let i=U(n,e);if(void 0===i)return;null===i&&(i=void 0);const a=Number(n[6])-1;return n[5]===u?s.absolute(a,i):s.relative(a-r.row,i)},I=(e,t,r)=>{const n=M.exec(t);if(!n)return;const i=F(n[6]);let a=U(n,e);if(void 0===a)return;null===a&&(a=r);const o=Number(n[8])-1;return pn(a,i,o)},k=(e,t,r)=>{const n=t.split(c);if(2!==n.length)return;const[i,a]=n,o=I(e,i,r);if(void 0===o)return;const s=I(e,a,o.sheet);return void 0!==s&&o.sheet===s.sheet?yn(o,s):void 0},B=(e,t,r)=>{const n=P(t.col),i=j(t.sheet,e);if(void 0!==i)return r!==t.sheet?`${i}!${n}${t.row+1}`:`${n}${t.row+1}`},D=(e,t,r)=>{const n=B(e,t.start,r),i=B(e,t.end,t.start.sheet);return void 0===n||void 0===i?void 0:`${n}${c}${i}`};function F(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 P(e){let t="";while(e>=0)t=String.fromCharCode(e%26+97)+t,e=Math.floor(e/26)-1;return t.toUpperCase()}function j(e,t){let r=t(e);if(void 0!==r)return O.test(r)?r:(r=r.replace(/'/g,"''"),`'${r}'`)}function U(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 H=r("fa83");
  628. /**
  629. * @license
  630. * Copyright (c) 2024 Handsoncode. All rights reserved.
  631. */const V=(e,t)=>({type:e,message:t});var Y,W,Q;(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"}(W||(W={})),function(e){e[e["RELATIVE"]=0]="RELATIVE",e[e["START_ABSOLUTE"]=1]="START_ABSOLUTE",e[e["BOTH_ABSOLUTE"]=2]="BOTH_ABSOLUTE"}(Q||(Q={}));const z=e=>({type:W.EMPTY,leadingWhitespace:null===e||void 0===e?void 0:e.image}),q=(e,t)=>({type:W.NUMBER,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),G=e=>{var t;return{type:W.STRING,value:e.image.slice(1,-1),leadingWhitespace:null===(t=e.leadingWhitespace)||void 0===t?void 0:t.image}},K=(e,t)=>({type:W.CELL_REFERENCE,reference:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),X=(e,t,r,n)=>(we(e,t,r),{type:W.CELL_RANGE,start:e,end:t,sheetReferenceType:r,leadingWhitespace:n}),$=(e,t,r,n)=>(we(e,t,r),{type:W.COLUMN_RANGE,start:e,end:t,sheetReferenceType:r,leadingWhitespace:null===n||void 0===n?void 0:n.image}),Z=(e,t,r,n)=>(we(e,t,r),{type:W.ROW_RANGE,start:e,end:t,sheetReferenceType:r,leadingWhitespace:null===n||void 0===n?void 0:n.image}),J=(e,t,r)=>({type:W.CONCATENATE_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ee=(e,t,r)=>({type:W.EQUALS_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),te=(e,t,r)=>({type:W.NOT_EQUAL_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),re=(e,t,r)=>({type:W.GREATER_THAN_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ne=(e,t,r)=>({type:W.LESS_THAN_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ie=(e,t,r)=>({type:W.GREATER_THAN_OR_EQUAL_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ae=(e,t,r)=>({type:W.LESS_THAN_OR_EQUAL_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),oe=(e,t,r)=>({type:W.PLUS_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),se=(e,t,r)=>({type:W.MINUS_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),le=(e,t,r)=>({type:W.TIMES_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ce=(e,t,r)=>({type:W.DIV_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),ue=(e,t,r)=>({type:W.POWER_OP,left:e,right:t,leadingWhitespace:null===r||void 0===r?void 0:r.image}),de=(e,t)=>({type:W.MINUS_UNARY_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),he=(e,t)=>({type:W.PLUS_UNARY_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),pe=(e,t)=>({type:W.PERCENT_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),fe=(e,t,r,n,i)=>({type:W.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:W.ARRAY,args:e,leadingWhitespace:null===t||void 0===t?void 0:t.image,internalWhitespace:null===r||void 0===r?void 0:r.image}),Ae=(e,t)=>({type:W.NAMED_EXPRESSION,expressionName:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),ge=(e,t,r)=>({type:W.PARENTHESIS,expression:e,leadingWhitespace:null===t||void 0===t?void 0:t.image,internalWhitespace:null===r||void 0===r?void 0:r.image}),_e=(e,t)=>({type:W.ERROR,error:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),ve=(e,t,r)=>({type:W.ERROR_WITH_RAW_INPUT,error:t,rawInput:e,leadingWhitespace:null===r||void 0===r?void 0:r.image}),be=()=>({type:W.ERROR,error:ln.parsingError()});function we(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!==Q.RELATIVE||void 0!==e.sheet&&r===Q.RELATIVE)throw new Error("Sheet address inconsistent with sheet reference type")}function ye(e,t){return(null!==t&&void 0!==t?t:"")+e}
  632. /**
  633. * @license
  634. * Copyright (c) 2024 Handsoncode. All rights reserved.
  635. */const Ee={[W.PLUS_OP]:"+",[W.MINUS_OP]:"-",[W.TIMES_OP]:"*",[W.DIV_OP]:"/",[W.CONCATENATE_OP]:"&",[W.POWER_OP]:"^",[W.EQUALS_OP]:"=",[W.NOT_EQUAL_OP]:"<>",[W.GREATER_THAN_OP]:">",[W.GREATER_THAN_OR_EQUAL_OP]:">=",[W.LESS_THAN_OP]:"<",[W.LESS_THAN_OR_EQUAL_OP]:"<="},Ce=(e,t,r,n)=>({ast:e,relativeDependencies:t,hasVolatileFunction:r,hasStructuralChangeFunction:n});
  636. /**
  637. * @license
  638. * Copyright (c) 2024 Handsoncode. All rights reserved.
  639. */class Se{constructor(e){this.functionRegistry=e,this.cache=new Map}set(e,t){const r=pt(t,this.functionRegistry),n=Ce(t,r,Me(t,this.functionRegistry.isFunctionVolatile),Me(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 Me=(e,t)=>{switch(e.type){case W.EMPTY:case W.NUMBER:case W.STRING:case W.ERROR:case W.ERROR_WITH_RAW_INPUT:case W.CELL_REFERENCE:case W.CELL_RANGE:case W.COLUMN_RANGE:case W.ROW_RANGE:case W.NAMED_EXPRESSION:return!1;case W.PERCENT_OP:case W.PLUS_UNARY_OP:case W.MINUS_UNARY_OP:return Me(e.value,t);case W.CONCATENATE_OP:case W.EQUALS_OP:case W.NOT_EQUAL_OP:case W.LESS_THAN_OP:case W.GREATER_THAN_OP:case W.LESS_THAN_OR_EQUAL_OP:case W.GREATER_THAN_OR_EQUAL_OP:case W.MINUS_OP:case W.PLUS_OP:case W.TIMES_OP:case W.DIV_OP:case W.POWER_OP:return Me(e.left,t)||Me(e.right,t);case W.PARENTHESIS:return Me(e.expression,t);case W.FUNCTION_CALL:return!!t(e.procedureName)||e.args.some(e=>Me(e,t));case W.ARRAY:return e.args.some(e=>e.some(e=>Me(e,t)))}};
  640. /**
  641. * @license
  642. * Copyright (c) 2024 Handsoncode. All rights reserved.
  643. */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}.`
  644. /**
  645. * @license
  646. * Copyright (c) 2024 Handsoncode. All rights reserved.
  647. */;class Te{constructor(){this.POSSIBLE_START_CHARACTERS=[...S,...C,u,"'","_"],this.cellReferenceRegexp=new RegExp(y,"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)}}
  648. /**
  649. * @license
  650. * Copyright (c) 2024 Handsoncode. All rights reserved.
  651. */class Oe{constructor(){this.POSSIBLE_START_CHARACTERS=[...S,"_"],this.namedExpressionRegexp=new RegExp(E,"y"),this.r1c1CellRefRegexp=new RegExp(`^${w}$`)}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}}
  652. /**
  653. * @license
  654. * Copyright (c) 2024 Handsoncode. All rights reserved.
  655. */const Ne=Object(H["createToken"])({name:"AdditionOp",pattern:H["Lexer"].NA}),Re=Object(H["createToken"])({name:"PlusOp",pattern:/\+/,categories:Ne}),Le=Object(H["createToken"])({name:"MinusOp",pattern:/-/,categories:Ne}),Ie=Object(H["createToken"])({name:"MultiplicationOp",pattern:H["Lexer"].NA}),ke=Object(H["createToken"])({name:"TimesOp",pattern:/\*/,categories:Ie}),Be=Object(H["createToken"])({name:"DivOp",pattern:/\//,categories:Ie}),De=Object(H["createToken"])({name:"PowerOp",pattern:/\^/}),Fe=Object(H["createToken"])({name:"PercentOp",pattern:/%/}),Pe=Object(H["createToken"])({name:"BooleanOp",pattern:H["Lexer"].NA}),je=Object(H["createToken"])({name:"EqualsOp",pattern:/=/,categories:Pe}),Ue=Object(H["createToken"])({name:"NotEqualOp",pattern:/<>/,categories:Pe}),He=Object(H["createToken"])({name:"GreaterThanOp",pattern:/>/,categories:Pe}),Ve=Object(H["createToken"])({name:"LessThanOp",pattern:/</,categories:Pe}),Ye=Object(H["createToken"])({name:"GreaterThanOrEqualOp",pattern:/>=/,categories:Pe}),We=Object(H["createToken"])({name:"LessThanOrEqualOp",pattern:/<=/,categories:Pe}),Qe=Object(H["createToken"])({name:"ConcatenateOp",pattern:/&/}),ze=Object(H["createToken"])({name:"LParen",pattern:/\(/}),qe=Object(H["createToken"])({name:"RParen",pattern:/\)/}),Ge=Object(H["createToken"])({name:"ArrayLParen",pattern:/{/}),Ke=Object(H["createToken"])({name:"ArrayRParen",pattern:/}/}),Xe=Object(H["createToken"])({name:"StringLiteral",pattern:/"([^"\\]*(\\.[^"\\]*)*)"/}),$e=Object(H["createToken"])({name:"ErrorLiteral",pattern:/#[A-Za-z0-9\/]+[?!]?/}),Ze=Object(H["createToken"])({name:"RangeSeparator",pattern:new RegExp(c)}),Je=Object(H["createToken"])({name:"ColumnRange",pattern:new RegExp(`${v}${c}${v}`)}),et=Object(H["createToken"])({name:"RowRange",pattern:new RegExp(`${b}${c}${b}`)}),tt=Object(H["createToken"])({name:"ProcedureName",pattern:new RegExp(`([${p}][${f}]*)\\(`)}),rt=new Te,nt=Object(H["createToken"])({name:"CellReference",pattern:rt.match.bind(rt),start_chars_hint:rt.POSSIBLE_START_CHARACTERS,line_breaks:!1}),it=new Oe,at=Object(H["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(H["createToken"])({name:"WhiteSpace",pattern:i}),o=Object(H["createToken"])({name:"ArrayRowSep",pattern:e.arrayRowSeparator}),s=Object(H["createToken"])({name:"ArrayColSep",pattern:e.arrayColumnSeparator}),l=Object(H["createToken"])({name:"NumberLiteral",pattern:new RegExp(`(([${e.decimalSeparator}]\\d+)|(\\d+([${e.decimalSeparator}]\\d*)?))(e[+-]?\\d+)?`)}),c=Object(H["createToken"])({name:"OffsetProcedureName",pattern:new RegExp(t,"i")});let u,p;e.functionArgSeparator===e.arrayColumnSeparator?(u=s,p=[]):e.functionArgSeparator===e.arrayRowSeparator?(u=o,p=[]):(u=Object(H["createToken"])({name:"ArgSeparator",pattern:e.functionArgSeparator}),p=[u]);const f=[a,Re,Le,ke,Be,De,je,Ue,Fe,Ye,We,He,Ve,ze,qe,Ge,Ke,c,tt,Ze,...p,Je,et,l,Xe,$e,Qe,Pe,Ne,Ie,nt,at,o,s];return{ArgSeparator:u,NumberLiteral:l,OffsetProcedureName:c,ArrayRowSeparator:o,ArrayColSeparator:s,WhiteSpace:a,allTokens:f,errorMapping:r,functionMapping:n,decimalSeparator:e.decimalSeparator,maxColumns:e.maxColumns,maxRows:e.maxRows}};
  656. /**
  657. * @license
  658. * Copyright (c) 2024 Handsoncode. All rights reserved.
  659. */
  660. class st extends H["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(H["EMPTY_ALT"])(z())}])),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===W.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===W.EMPTY&&(i.length=0);const o=this.CONSUME(qe);return fe(n,i,t.leadingWhitespace,o.leadingWhitespace)}),this.namedExpressionExpression=this.RULE("namedExpressionExpression",()=>{const e=this.CONSUME(at);return Ae(e.image,e.leadingWhitespace)}),this.offsetProcedureExpression=this.RULE("offsetProcedureExpression",()=>{const e=[];return this.CONSUME(this.lexerConfig.OffsetProcedureName),this.CONSUME(ze),this.MANY_SEP({SEP:this.lexerConfig.ArgSeparator,DEF:()=>{e.push(this.SUBRULE(this.booleanExpression))}}),this.CONSUME(qe),this.handleOffsetHeuristic(e)}),this.columnRangeExpression=this.RULE("columnRangeExpression",()=>{const e=this.CONSUME(Je),[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 _e(new ln(Hr.REF));if(n.exceedsSheetSizeLimits(this.lexerConfig.maxColumns)||i.exceedsSheetSizeLimits(this.lexerConfig.maxColumns))return ve(e.image,new ln(Hr.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 _e(new ln(Hr.REF));if(n.exceedsSheetSizeLimits(this.lexerConfig.maxRows)||i.exceedsSheetSizeLimits(this.lexerConfig.maxRows))return ve(e.image,new ln(Hr.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 Z(a,o,s,e.leadingWhitespace)}),this.cellReference=this.RULE("cellReference",()=>{const e=this.CONSUME(nt),t=this.ACTION(()=>N(this.sheetMapping,e.image,this.formulaAddress));return void 0===t?ve(e.image,new ln(Hr.REF),e.leadingWhitespace):t.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)?ve(e.image,new ln(Hr.NAME),e.leadingWhitespace):K(t,e.leadingWhitespace)}),this.endRangeReference=this.RULE("endRangeReference",e=>{var t;const r=this.CONSUME(nt),n=this.ACTION(()=>N(this.sheetMapping,e.image,this.formulaAddress)),i=this.ACTION(()=>N(this.sheetMapping,r.image,this.formulaAddress));return void 0===n||void 0===i?this.ACTION(()=>ve(`${e.image}:${r.image}`,new ln(Hr.REF),e.leadingWhitespace)):n.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)||i.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)?this.ACTION(()=>ve(`${e.image}:${r.image}`,new ln(Hr.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(()=>N(this.sheetMapping,e.image,this.formulaAddress));return void 0===n?_e(new ln(Hr.REF)):r.type===W.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(Ze),this.SUBRULE(this.endOfRangeExpression,{ARGS:[e]})}),this.endRangeWithOffsetStartReference=this.RULE("endRangeWithOffsetStartReference",e=>{const t=this.CONSUME(nt),r=this.ACTION(()=>N(this.sheetMapping,t.image,this.formulaAddress));return void 0===r?this.ACTION(()=>_e(new ln(Hr.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===W.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(Ze),t=e.type===W.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(ze),t=this.SUBRULE(this.booleanExpression),r=this.CONSUME(qe);return ge(t,e.leadingWhitespace,r.leadingWhitespace)}),this.arrayExpression=this.RULE("arrayExpression",()=>this.OR([{ALT:()=>{const e=this.CONSUME(Ge),t=this.SUBRULE(this.insideArrayExpression),r=this.CONSUME(Ke);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 q(this.numericStringToNumber(e.image),e.leadingWhitespace)}},{ALT:()=>{const e=this.CONSUME(Xe);return G(e)}},{ALT:()=>{const e=this.CONSUME($e),t=e.image.toUpperCase(),r=this.lexerConfig.errorMapping[t];return r?_e(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(Fe));return t?pe(e,t.leadingWhitespace):e}),this.atomicExpression=this.RULE("atomicExpression",()=>this.OR([{ALT:()=>{const e=this.CONSUME(Ne),t=this.SUBRULE(this.atomicExpression);return Object(H["tokenMatcher"])(e,Re)?he(t,e.leadingWhitespace):Object(H["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(De),r=this.SUBRULE2(this.atomicExpression);Object(H["tokenMatcher"])(t,De)?e=ue(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(Ie),r=this.SUBRULE2(this.powerExpression);Object(H["tokenMatcher"])(t,ke)?e=le(e,r,t.leadingWhitespace):Object(H["tokenMatcher"])(t,Be)?e=ce(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(Ne),r=this.SUBRULE2(this.multiplicationExpression);Object(H["tokenMatcher"])(t,Re)?e=oe(e,r,t.leadingWhitespace):Object(H["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(Qe),r=this.SUBRULE2(this.additionExpression);e=J(e,r,t.leadingWhitespace)}),e}),this.booleanExpression=this.RULE("booleanExpression",()=>{let e=this.SUBRULE(this.concatenateExpression);return this.MANY(()=>{const t=this.CONSUME(Pe),r=this.SUBRULE2(this.concatenateExpression);Object(H["tokenMatcher"])(t,je)?e=ee(e,r,t.leadingWhitespace):Object(H["tokenMatcher"])(t,Ue)?e=te(e,r,t.leadingWhitespace):Object(H["tokenMatcher"])(t,He)?e=re(e,r,t.leadingWhitespace):Object(H["tokenMatcher"])(t,Ve)?e=ne(e,r,t.leadingWhitespace):Object(H["tokenMatcher"])(t,Ye)?e=ie(e,r,t.leadingWhitespace):Object(H["tokenMatcher"])(t,We)?e=ae(e,r,t.leadingWhitespace):this.ACTION(()=>{throw Error("Operator not supported")})}),e}),this.formula=this.RULE("formula",()=>(this.CONSUME(je),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=be()),{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 X(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!==W.CELL_REFERENCE)return this.parsingError(Y.StaticOffsetError,"First argument to OFFSET is not a reference");const r=e[1];let n;if(r.type===W.NUMBER&&Number.isInteger(r.value))n=r.value;else if(r.type===W.PLUS_UNARY_OP&&r.value.type===W.NUMBER&&Number.isInteger(r.value.value))n=r.value.value;else{if(r.type!==W.MINUS_UNARY_OP||r.value.type!==W.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===W.NUMBER&&Number.isInteger(a.value))o=a.value;else if(a.type===W.PLUS_UNARY_OP&&a.value.type===W.NUMBER&&Number.isInteger(a.value.value))o=a.value.value;else{if(a.type!==W.MINUS_UNARY_OP||a.value.type!==W.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 c;if(void 0===s)c=1;else{if(s.type!==W.NUMBER)return this.parsingError(Y.StaticOffsetError,"Fourth argument to OFFSET is not a static number");if(c=s.value,c<1)return this.parsingError(Y.StaticOffsetError,"Fourth argument to OFFSET is too small number");if(!Number.isInteger(c))return this.parsingError(Y.StaticOffsetError,"Fourth argument to OFFSET is not integer")}const u=e[4];let d;if(void 0===u)d=1;else{if(u.type!==W.NUMBER)return this.parsingError(Y.StaticOffsetError,"Fifth argument to OFFSET is not a static number");if(d=u.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 _e(new ln(Hr.REF,xe.OutOfSheet));if(1===d&&1===c)return K(h);{const e=new l(h.col+d-1,h.row+c-1,h.type);return X(h,e,Q.RELATIVE)}}parsingError(e,t){return this.customParsingError=V(e,t),be()}static rangeSheetReferenceType(e,t){return void 0===e?Q.RELATIVE:void 0===t?Q.START_ABSOLUTE:Q.BOTH_ABSOLUTE}}class lt{constructor(e){this.lexerConfig=e,this.lexer=new H["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(H["tokenMatcher"])(e,nt)||Object(H["tokenMatcher"])(e,Ze))&&Object(H["tokenMatcher"])(t,this.lexerConfig.WhiteSpace)&&(Object(H["tokenMatcher"])(r,nt)||Object(H["tokenMatcher"])(r,Ze)))}skipWhitespacesBeforeArgSeparators(e){return lt.filterTokensByNeighbors(e,(e,t,r)=>!Object(H["tokenMatcher"])(e,this.lexerConfig.ArgSeparator)&&Object(H["tokenMatcher"])(t,this.lexerConfig.WhiteSpace)&&Object(H["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(H["tokenMatcher"])(e[e.length-1],this.lexerConfig.WhiteSpace)&&e.pop(),e}}
  661. /**
  662. * @license
  663. * Copyright (c) 2024 Handsoncode. All rights reserved.
  664. */class ct{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 W.EMPTY:return ye("",e.leadingWhitespace);case W.NUMBER:return ye(ut(e.value,this.config.decimalSeparator),e.leadingWhitespace);case W.STRING:return ye('"'+e.value+'"',e.leadingWhitespace);case W.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+ye(")",e.internalWhitespace);return ye(i,e.leadingWhitespace)}case W.NAMED_EXPRESSION:{const n=null===(r=this.namedExpressions.nearestNamedExpression(e.expressionName,t.sheet))||void 0===r?void 0:r.displayName;return ye(n||e.expressionName,e.leadingWhitespace)}case W.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(Hr.REF),ye(r,e.leadingWhitespace)}case W.COLUMN_RANGE:case W.ROW_RANGE:case W.CELL_RANGE:return ye(this.formatRange(e,t),e.leadingWhitespace);case W.PLUS_UNARY_OP:{const r=this.unparseAst(e.value,t);return ye("+",e.leadingWhitespace)+r}case W.MINUS_UNARY_OP:{const r=this.unparseAst(e.value,t);return ye("-",e.leadingWhitespace)+r}case W.PERCENT_OP:return this.unparseAst(e.value,t)+ye("%",e.leadingWhitespace);case W.ERROR:{const t=this.config.translationPackage.getErrorTranslation(e.error?e.error.type:Hr.ERROR);return ye(t,e.leadingWhitespace)}case W.ERROR_WITH_RAW_INPUT:return ye(e.rawInput,e.leadingWhitespace);case W.PARENTHESIS:{const r=this.unparseAst(e.expression,t),n="("+r+ye(")",e.internalWhitespace);return ye(n,e.leadingWhitespace)}case W.ARRAY:{const r="{"+e.args.map(e=>e.map(e=>this.unparseAst(e,t)).join(this.config.arrayColumnSeparator)).join(this.config.arrayRowSeparator)+ye("}",e.internalWhitespace);return ye(r,e.leadingWhitespace)}default:{const r=this.unparseAst(e.left,t),n=this.unparseAst(e.right,t);return r+ye(Ee[e.type],e.leadingWhitespace)+n}}}unparseSheetName(e){const t=j(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!==Q.RELATIVE&&(r=this.unparseSheetName(e.start.sheet)+"!"),void 0!==e.end.sheet&&e.sheetReferenceType===Q.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(Hr.REF):`${r}${i}:${n}${a}`}}function ut(e,t){const r=e.toString();return r.replace(".",t)}
  665. /**
  666. * @license
  667. * Copyright (c) 2024 Handsoncode. All rights reserved.
  668. */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 Se(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:be(),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),c=pt(l,this.functionRegistry);return{ast:l,errors:[],hasVolatileFunction:o,hasStructuralChangeFunction:s,dependencies:c}}convertReversedRangesToRegularRanges(e){switch(e.type){case W.EMPTY:case W.NUMBER:case W.STRING:case W.ERROR:case W.ERROR_WITH_RAW_INPUT:case W.CELL_REFERENCE:case W.NAMED_EXPRESSION:return e;case W.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 W.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 W.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 W.PERCENT_OP:case W.PLUS_UNARY_OP:case W.MINUS_UNARY_OP:{const t=this.convertReversedRangesToRegularRanges(e.value);return Object.assign(Object.assign({},e),{value:t})}case W.CONCATENATE_OP:case W.EQUALS_OP:case W.NOT_EQUAL_OP:case W.LESS_THAN_OP:case W.GREATER_THAN_OP:case W.LESS_THAN_OR_EQUAL_OP:case W.GREATER_THAN_OR_EQUAL_OP:case W.MINUS_OP:case W.PLUS_OP:case W.TIMES_OP:case W.DIV_OP:case W.POWER_OP:{const t=this.convertReversedRangesToRegularRanges(e.left),r=this.convertReversedRangesToRegularRanges(e.right);return Object.assign(Object.assign({},e),{left:t,right:r})}case W.PARENTHESIS:{const t=this.convertReversedRangesToRegularRanges(e.expression);return Object.assign(Object.assign({},e),{expression:t})}case W.FUNCTION_CALL:{const t=e.args.map(e=>this.convertReversedRangesToRegularRanges(e));return Object.assign(Object.assign({},e),{args:t})}case W.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,c]=r.map(e=>e.toRowAddress()).sort(s.compareByAbsoluteAddress(this.formulaAddress)),[u,d]=r.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:l.fromColAndRow(n,a,u),end:l.fromColAndRow(i,c,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(H["tokenMatcher"])(a,nt)){const e=N(this.sheetMapping,a.image,t);n=void 0===e?n.concat(a.image):n.concat(e.hash(!0))}else if(Object(H["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(H["tokenMatcher"])(a,Je)){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(H["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 W.EMPTY:return e.leadingWhitespace||"";case W.NUMBER:return ye(ut(e.value,this.config.decimalSeparator),e.leadingWhitespace);case W.STRING:return ye('"'+e.value+'"',e.leadingWhitespace);case W.NAMED_EXPRESSION:return ye(e.expressionName,e.leadingWhitespace);case W.FUNCTION_CALL:{const t=e.args.map(e=>this.computeHashOfAstNode(e)).join(this.config.functionArgSeparator),r=e.procedureName+"("+t+ye(")",e.internalWhitespace);return ye(r,e.leadingWhitespace)}case W.CELL_REFERENCE:return ye(e.reference.hash(!0),e.leadingWhitespace);case W.COLUMN_RANGE:case W.ROW_RANGE:case W.CELL_RANGE:{const t=e.start.hash(e.sheetReferenceType!==Q.RELATIVE),r=e.end.hash(e.sheetReferenceType===Q.BOTH_ABSOLUTE);return ye(t+":"+r,e.leadingWhitespace)}case W.MINUS_UNARY_OP:return ye("-"+this.computeHashOfAstNode(e.value),e.leadingWhitespace);case W.PLUS_UNARY_OP:return ye("+"+this.computeHashOfAstNode(e.value),e.leadingWhitespace);case W.PERCENT_OP:return this.computeHashOfAstNode(e.value)+ye("%",e.leadingWhitespace);case W.ERROR:{const t=this.config.translationPackage.getErrorTranslation(e.error?e.error.type:Hr.ERROR);return ye(t,e.leadingWhitespace)}case W.ERROR_WITH_RAW_INPUT:return ye(e.rawInput,e.leadingWhitespace);case W.ARRAY:{const t=e.args.map(e=>e.map(e=>this.computeHashOfAstNode(e)).join(",")).join(";");return ye("{"+t+ye("}",e.internalWhitespace),e.leadingWhitespace)}case W.PARENTHESIS:{const t=this.computeHashOfAstNode(e.expression),r="("+t+ye(")",e.internalWhitespace);return ye(r,e.leadingWhitespace)}default:return this.computeHashOfAstNode(e.left)+ye(Ee[e.type],e.leadingWhitespace)+this.computeHashOfAstNode(e.right)}}bindWhitespacesToTokens(e){const t=[],r=e[0];Object(H["tokenMatcher"])(r,this.lexerConfig.WhiteSpace)||t.push(r);for(let n=1;n<e.length;++n){const r=e[n];if(Object(H["tokenMatcher"])(r,this.lexerConfig.WhiteSpace))continue;const i=e[n-1];Object(H["tokenMatcher"])(i,this.lexerConfig.WhiteSpace)&&(r.leadingWhitespace=i),t.push(r)}return t}tokenizeFormula(e){return this.lexer.tokenizeFormula(e)}}
  669. /**
  670. * @license
  671. * Copyright (c) 2024 Handsoncode. All rights reserved.
  672. */const ht=(e,t,r,n)=>{switch(e.type){case W.EMPTY:case W.NUMBER:case W.STRING:case W.ERROR:return;case W.NAMED_EXPRESSION:return void(n&&r.push(new _t(e.expressionName)));case W.CELL_REFERENCE:return void(n&&r.push(new ft(e.reference)));case W.CELL_RANGE:return void(n&&e.start.sheet===e.end.sheet&&r.push(new mt(e.start,e.end)));case W.COLUMN_RANGE:return void(n&&e.start.sheet===e.end.sheet&&r.push(new At(e.start,e.end)));case W.ROW_RANGE:return void(n&&e.start.sheet===e.end.sheet&&r.push(new gt(e.start,e.end)));case W.PERCENT_OP:case W.PLUS_UNARY_OP:case W.MINUS_UNARY_OP:return void ht(e.value,t,r,!0);case W.CONCATENATE_OP:case W.EQUALS_OP:case W.NOT_EQUAL_OP:case W.LESS_THAN_OP:case W.GREATER_THAN_OP:case W.LESS_THAN_OR_EQUAL_OP:case W.GREATER_THAN_OR_EQUAL_OP:case W.MINUS_OP:case W.PLUS_OP:case W.TIMES_OP:case W.DIV_OP:case W.POWER_OP:return ht(e.left,t,r,!0),void ht(e.right,t,r,!0);case W.PARENTHESIS:return void ht(e.expression,t,r,n);case W.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};
  673. /**
  674. * @license
  675. * Copyright (c) 2024 Handsoncode. All rights reserved.
  676. */
  677. 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 At{constructor(e,t){this.start=e,this.end=t}absolutize(e){const t=this.start.toSimpleColumnAddress(e),r=this.end.toSimpleColumnAddress(e);return new Cn(t.sheet,t.col,r.col)}}class gt{constructor(e,t){this.start=e,this.end=t}absolutize(e){const t=this.start.toSimpleRowAddress(e),r=this.end.toSimpleRowAddress(e);return new Sn(t.sheet,t.row,r.row)}}class _t{constructor(e){this.name=e}absolutize(e){return this}}
  678. /**
  679. * @license
  680. * Copyright (c) 2024 Handsoncode. All rights reserved.
  681. */
  682. /**
  683. * @license
  684. * Copyright (c) 2024 Handsoncode. All rights reserved.
  685. */const vt=(e,t)=>e.map(e=>e.absolutize(t)),bt=e=>e.filter(e=>e instanceof _t||(e instanceof En?!(fn(e.start)||fn(e.end)):!fn(e))),wt=Symbol("Empty value");function yt(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 Ct(e,t){if("number"===typeof e)return t;{const r=e.fromNumber(t);return r.format=e.format,r}}class St extends Et{getDetailedType(){return Rt.NUMBER_DATE}}class Mt extends Et{getDetailedType(){return Rt.NUMBER_CURRENCY}}class xt extends Et{getDetailedType(){return Rt.NUMBER_TIME}}class Tt extends Et{getDetailedType(){return Rt.NUMBER_DATETIME}}class Ot extends Et{getDetailedType(){return Rt.NUMBER_PERCENT}}function Nt(e){return"number"===typeof e||e instanceof Et}var Rt,Lt;function It(e){return e instanceof Et?e.getDetailedType():Rt.NUMBER_RAW}function kt(e){return e instanceof Et?e.format:void 0}function Bt(e){return e instanceof Et?{type:e.getDetailedType(),format:e.format}:{type:Rt.NUMBER_RAW}}
  686. /**
  687. * @license
  688. * Copyright (c) 2024 Handsoncode. All rights reserved.
  689. */(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 Dt{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 Dt(e,t,r,!0)}static onlyNumbers(e){return new Dt(e,void 0,void 0,!0)}static onlyValues(e){return new Dt(e,void 0,void 0,void 0)}static onlyRange(e,t){return new Dt(void 0,e,t,void 0)}static fromScalar(e){return new Dt([[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 Dt?(this._hasOnlyNumbers=!1,new ln(Hr.VALUE,xe.ScalarExpected)):(Nt(t)||(this._hasOnlyNumbers=!1),t)}))}}
  690. /**
  691. * @license
  692. * Copyright (c) 2024 Handsoncode. All rights reserved.
  693. */class Ft{constructor(){this.changes=new Map}static empty(){return new Ft}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 Dt)for(const n of r.effectiveAddressesFromData(e))this.changes.delete(An(n));this.changes.set(An(e),t)}addInterpreterValue(e,t,r){this.add(t,{address:t,value:e,oldValue:r})}}
  694. /**
  695. * @license
  696. * Copyright (c) 2024 Handsoncode. All rights reserved.
  697. */class Pt{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 Pt(e,t,t+r-1)}static fromRowStartAndEnd(e,t,r){return new Pt(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 Pt(this.sheet,t,r)}firstRow(){return new Pt(this.sheet,this.rowStart,this.rowStart)}}class jt{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 jt(e,t,t+r-1)}static fromColumnStartAndEnd(e,t,r){return new jt(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 jt(this.sheet,t,r)}firstColumn(){return new jt(this.sheet,this.columnStart,this.columnStart)}}
  698. /**
  699. * @license
  700. * Copyright (c) 2024 Handsoncode. All rights reserved.
  701. */(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={}));
  702. /**
  703. * @license
  704. * Copyright (c) 2024 Handsoncode. All rights reserved.
  705. */
  706. class Ut{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)}}
  707. /**
  708. * @license
  709. * Copyright (c) 2024 Handsoncode. All rights reserved.
  710. */class Ht extends Ut{incrementCriterionFunctionFullCacheUsed(){}incrementCriterionFunctionPartialCacheUsed(){}start(e){}end(e){}}
  711. /**
  712. * @license
  713. * Copyright (c) 2024 Handsoncode. All rights reserved.
  714. */
  715. /**
  716. * @license
  717. * Copyright (c) 2024 Handsoncode. All rights reserved.
  718. */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 Wt extends Error{constructor(e){super(`Sheet with name ${e} already exists`)}}class Qt extends Error{constructor(){super("Sheet size limit exceeded")}}class zt extends Error{constructor(){super("This is not a formula")}}class qt extends Error{constructor(e){super(`Address (row = ${e.row}, col = ${e.col}) is invalid`)}}class Gt extends Error{constructor(e){super("Invalid arguments, expected "+e)}}class Kt extends Error{constructor(e,t){super(`Sheets ${e} and ${t} are not equal.`)}}class Xt 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 Zt extends Error{constructor(e){super(`Named Expression '${e}' does not exist`)}}class Jt 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 cr extends Error{constructor(){super("Computations are suspended")}}class ur 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 Ar extends Error{constructor(){super("Cannot perform this operation, source location has an array inside.")}}class gr extends Error{constructor(){super("Cannot perform this operation, target location has an array inside.")}}class _r extends Error{constructor(){super("Relative addresses not allowed in named expressions.")}}class vr extends Error{constructor(e,t){super(`Alias id ${e} in plugin ${t} already defined as a function or alias.`)}}
  719. /**
  720. * @license
  721. * Copyright (c) 2024 Handsoncode. All rights reserved.
  722. */class br{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?wt:t instanceof Mr?t.getArrayCellValue(e):t.getCellValue()}getRawValue(e){const t=this.getCell(e);return t instanceof Gr?t.getValues().rawValue:t instanceof Mr?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)}}
  723. /**
  724. * @license
  725. * Copyright (c) 2024 Handsoncode. All rights reserved.
  726. */class wr{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(An(e))}setArray(e,t){this.arrayMapping.set(An(e.start),t)}removeArray(e){"string"===typeof e?this.arrayMapping.delete(e):this.arrayMapping.delete(An(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)})}}
  727. /**
  728. * @license
  729. * Copyright (c) 2024 Handsoncode. All rights reserved.
  730. */class yr{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 Dt?e.data:[[e]])}simpleRangeValue(){return Dt.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(wt));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(wt));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 Cr{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}}
  731. /**
  732. * @license
  733. * Copyright (c) 2024 Handsoncode. All rights reserved.
  734. */class Sr{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 Mr(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 Mr extends Sr{constructor(e,t,r,n=0){super(e,t,n),r.isRef?this.array=new Cr(new ln(Hr.REF,xe.NoSpaceForArrayResult),ei.error()):this.array=new yr(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 yr)throw Error("Array not computed yet.");return this.array.simpleRangeValue()}valueOrUndef(){if(!(this.array instanceof yr))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(Hr.REF)}}getArrayCellRawValue(e){const t=this.getArrayCellValue(e);return t instanceof ln||t===wt?void 0:yt(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 Cr(new ln(Hr.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 yr)}columnsFromArray(){return jt.fromNumberOfColumns(this.cellAddress.sheet,this.cellAddress.col,this.width)}rowsFromArray(){return Pt.fromNumberOfRows(this.cellAddress.sheet,this.cellAddress.row,this.height)}ensureRecentData(e){}isLeftCorner(e){return vn(this.cellAddress,e)}setErrorValue(e){this.array=new Cr(e,this.array.size)}}class xr extends Sr{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}}
  735. /**
  736. * @license
  737. * Copyright (c) 2024 Handsoncode. All rights reserved.
  738. */class Tr{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}}
  739. /**
  740. * @license
  741. * Copyright (c) 2024 Handsoncode. All rights reserved.
  742. */const Or=(e,t,r,n,i)=>{if(t instanceof Tr){const e=t.range.intersectionWith(r);return void 0!==e?Array.from(e.addresses(i)):[]}let a,o;return t instanceof Sr?(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))):[]};
  743. /**
  744. * @license
  745. * Copyright (c) 2024 Handsoncode. All rights reserved.
  746. */var Nr;(function(e){e[e["ON_STACK"]=0]="ON_STACK",e[e["PROCESSED"]=1]="PROCESSED",e[e["POPPED"]=2]="POPPED"})(Nr||(Nr={}));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]=Nr.ON_STACK;const t=[e],r=[];while(t.length>0){const e=t[t.length-1];switch(this.nodeStatus[e]){case Nr.ON_STACK:this.handleOnStack(e,r,t);break;case Nr.PROCESSED:this.handleProcessed(e,r,t);break;case Nr.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]=Nr.ON_STACK)}),this.nodeStatus[e]=Nr.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]=Nr.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}}}
  747. /**
  748. * @license
  749. * Copyright (c) 2024 Handsoncode. All rights reserved.
  750. */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}}
  751. /**
  752. * @license
  753. * Copyright (c) 2024 Handsoncode. All rights reserved.
  754. */class Ir{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)}}
  755. /**
  756. * @license
  757. * Copyright (c) 2024 Handsoncode. All rights reserved.
  758. */class kr{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=Br(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=Br(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=Br(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)=>Fr(e[1],r[1],t));for(const[s,l]of n){const e=Dr(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 Br(e,t){return`${e.col},${e.row},${t.col},${t.row}`}function Dr(e){return Br(e.start,e.end)}const Fr=(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};
  759. /**
  760. * @license
  761. * Copyright (c) 2024 Handsoncode. All rights reserved.
  762. */class Pr{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 ur("functions."+e);return t}getMaybeFunctionTranslation(e){return this.functions[e]}getErrorTranslation(e){if(e===Hr.LIC)return`#${Hr.LIC}!`;const t=this.errors[e];if(void 0===t)throw new ur("errors."+e);return t}getUITranslation(e){const t=this.ui[e];if(void 0===t)throw new ur("ui."+e);return t}checkUI(){for(const e of Object.values(Ur))if(!(e in this.ui))throw new ur("ui."+e)}checkErrors(){for(const e of Object.values(Hr))if(!(e in this.errors)&&e!==Hr.LIC)throw new ur("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 jr(e){return new Pr(Object.assign({},e.functions),Object.assign({},e.errors),Object.assign({},e.ui))}
  763. /**
  764. * @license
  765. * Copyright (c) 2024 Handsoncode. All rights reserved.
  766. */var Ur,Hr,Vr;
  767. /**
  768. * @license
  769. * Copyright (c) 2024 Handsoncode. All rights reserved.
  770. */
  771. function Yr(e){return e.toLowerCase()}(function(e){e["NEW_SHEET_PREFIX"]="NEW_SHEET_PREFIX"})(Ur||(Ur={}));class Wr{constructor(e,t){this.id=e,this.displayName=t}get canonicalName(){return Yr(this.displayName)}}class Qr{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(Ur.NEW_SHEET_PREFIX)}addSheet(e=`${this.sheetNamePrefix}${this.lastSheetId+2}`){const t=Yr(e);if(this.mappingFromCanonicalName.has(t))throw new Wt(e);this.lastSheetId++;const r=new Wr(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 Wt(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}}
  772. /**
  773. * @license
  774. * Copyright (c) 2024 Handsoncode. All rights reserved.
  775. */class zr{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=Ft.empty(),this.dependencyQueryAddresses=e=>{if(e instanceof Tr)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 _t?this.namedExpressions.namedExpressionOrPlaceholder(t.name,e.sheet).address:gn(t)?t:yn(t.start,t.end))}return[]}},this.dependencyQueryVertices=e=>{if(e instanceof Tr)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 _t){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 Sr))return;r=e.getAddress(this.lazilyTransformingAstService),t=e.getFormula(this.lazilyTransformingAstService);const n=pt(t,this.functionRegistry);return[r,vt(n,r)]},this.graph=new Ir(this.dependencyQueryVertices)}static buildEmpty(e,t,r,n,i){return new zr(new br(t.chooseAddressMappingPolicy),new kr,new Qr(t.translationPackage),new wr,i,e,r,n)}setFormulaToCell(e,t,r,n,i,a){const o=Sr.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 Mr&&this.arrayMapping.removeArray(r.getRange()),r instanceof Gr){const e=r.getValues();e.rawValue!==t.rawValue&&(r.setValues(t),this.graph.markNodeAsDirty(r))}else{const n=new Gr(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 Ft.empty();if(this.graph.adjacentNodes(t).size>0){const r=new qr;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 Tr(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 _t){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 qr,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 Mr){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 Mr?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 Mr){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 qr)&&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 Tr&&!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 Tr&&!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=Or(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 Mr&&(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 Dt?new ln(Hr.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!==wt&&(yield[yt(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 Sr?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 Mr&&!t.isLeftCorner(e)}getAndClearContentChanges(){const e=this.changes;return this.changes=Ft.empty(),e}getAdjacentNodesAddresses(e){const t=this.graph.adjacentNodes(e),r=[];return t.forEach(e=>{const t=e;t instanceof Tr?r.push(yn(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 Mr&&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(Hr.REF),r,t):(this.addressMapping.removeCell(r),this.changes.addChange(wt,r,t)):this.changes.addChange(wt,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 _t||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 Sr||r instanceof Tr)&&(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 Tr(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 Mr&&this.setArray(r,e),this.exchangeOrAddGraphNode(n,e),this.addressMapping.setCell(t,e),e instanceof Mr){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 Mr))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(Pt.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(wt,i,s)}}}fixArraysAfterRemovingRows(e,t,r){if(this.arrayMapping.moveArrayVerticesAfterRowByRows(e,t,-r),!(t<=0))for(const[,n]of this.arrayMapping.arraysInRows(Pt.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(jt.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(wt,i,s)}}}fixArraysAfterRemovingColumns(e,t,r){if(this.arrayMapping.moveArrayVerticesAfterColumnByColumns(e,t,-r),!(t<=0))for(const[,n]of this.arrayMapping.arraysInCols(jt.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 Mr?(this.setNoSpaceIfArray(t),this.getCell(e)):t}setNoSpaceIfArray(e){e instanceof Mr&&(this.shrinkArrayToCorner(e),e.setNoSpace())}removeVertex(e){this.removeVertexAndCleanupDependencies(e),e instanceof Tr&&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 Tr||n instanceof qr)&&this.graph.removeNode(n).forEach(e=>t.add(e)),n instanceof Tr?this.rangeMapping.removeRange(n):n instanceof qr&&this.addressMapping.removeCell(r))}}}
  776. /**
  777. * @license
  778. * Copyright (c) 2024 Handsoncode. All rights reserved.
  779. */class qr{constructor(){}getCellValue(){return wt}}
  780. /**
  781. * @license
  782. * Copyright (c) 2024 Handsoncode. All rights reserved.
  783. */class Gr{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")}}
  784. /**
  785. * @license
  786. * Copyright (c) 2024 Handsoncode. All rights reserved.
  787. */class Kr{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}}
  788. /**
  789. * @license
  790. * Copyright (c) 2024 Handsoncode. All rights reserved.
  791. */class Xr{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)}}
  792. /**
  793. * @license
  794. * Copyright (c) 2024 Handsoncode. All rights reserved.
  795. */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++)void 0!==this.mapping[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++)void 0!==this.mapping[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]}}
  796. /**
  797. * @license
  798. * Copyright (c) 2024 Handsoncode. All rights reserved.
  799. */
  800. /**
  801. * @license
  802. * Copyright (c) 2024 Handsoncode. All rights reserved.
  803. */(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"})(Hr||(Hr={})),function(e){e["FORMULA"]="FORMULA",e["VALUE"]="VALUE",e["ARRAY"]="ARRAY",e["EMPTY"]="EMPTY",e["ARRAYFORMULA"]="ARRAYFORMULA"}(Vr||(Vr={}));const Zr=(e,t)=>e instanceof Mr?e.isLeftCorner(t)?Vr.ARRAYFORMULA:Vr.ARRAY:e instanceof xr||e instanceof Kr?Vr.FORMULA:e instanceof Gr?Vr.VALUE:Vr.EMPTY;var Jr,en;(function(e){e["EMPTY"]="EMPTY",e["NUMBER"]="NUMBER",e["STRING"]="STRING",e["BOOLEAN"]="BOOLEAN",e["ERROR"]="ERROR"})(Jr||(Jr={})),function(e){e["NUMBER"]="NUMBER"}(en||(en={}));const tn=Object.assign(Object.assign({},Jr),en),rn=Object.assign(Object.assign({},Jr),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===wt)return tn.EMPTY;if(e instanceof ln||e instanceof Dt)return tn.ERROR;if("string"===typeof e)return tn.STRING;if(Nt(e))return tn.NUMBER;if("boolean"===typeof e)return tn.BOOLEAN;throw new Error("Cell value not computed")},on=e=>Nt(e)?It(e):an(e),sn=e=>Nt(e)?kt(e):void 0;class ln{constructor(e,t,r){this.type=e,this.message=t,this.root=r}static parsingError(e){return new ln(Hr.ERROR,`${xe.ParseError}${e?" "+e:""}`)}attachRootVertex(e){return void 0===this.root?new ln(this.type,this.message,e):this}}const cn=(e,t)=>({sheet:e,row:t}),un=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),An=e=>`${e.sheet},${e.row},${e.col}`;function gn(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 _n=(e,t)=>{var r;return null!==(r=e.sheet)&&void 0!==r?r:t.sheet},vn=(e,t)=>e.sheet===t.sheet&&e.col===t.col&&e.row===t.row,bn="AbsoluteCellRange: Wrong range size";function wn(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&("start"in e&&gn(e.start)&&"end"in e&&gn(e.end))}const yn=(e,t)=>({start:e,end:t});class En{constructor(e,t){if(e.sheet!==t.sheet)throw new Kt(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 Kt(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 Sn(e.sheet,e.row,t.row):new Cn(e.sheet,e.col,t.col)}static fromAst(e,t){return e.type===W.CELL_RANGE?En.fromCellRange(e,t):e.type===W.COLUMN_RANGE?Cn.fromColumnRange(e,t):Sn.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(bn);return n}static spanFromOrUndef(e,t,r){if(!Number.isFinite(t)&&Number.isFinite(r)){if(0!==e.col)return;return new Sn(e.sheet,e.row,e.row+r-1)}if(!Number.isFinite(r)&&Number.isFinite(t)){if(0!==e.row)return;return new Cn(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 Pt?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 vn(this.start,e.start)&&vn(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 Cn 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 Kt(r.sheet,n.sheet);return new Cn(r.sheet,r.col,n.col)}shouldBeRemoved(){return this.width()<=0}shiftByRows(e){}expandByRows(e){}shifted(e,t){return new Cn(this.sheet,this.start.col+e,this.end.col+e)}rangeWithSameHeight(e,t){return new Cn(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 Sn 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 Kt(r.sheet,n.sheet);return new Sn(r.sheet,r.row,n.row)}shouldBeRemoved(){return this.height()<=0}shiftByColumns(e){}expandByColumns(e){}shifted(e,t){return new Sn(this.sheet,this.start.row+t,this.end.row+t)}rangeWithSameWidth(e,t){return new Sn(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){}}
  804. /**
  805. * @license
  806. * Copyright (c) 2024 Handsoncode. All rights reserved.
  807. */class Mn{constructor(e,t,r){this.formulaAddress=e,this.arraysFlag=t,this.formulaVertex=r}}
  808. /**
  809. * @license
  810. * Copyright (c) 2024 Handsoncode. All rights reserved.
  811. */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})}
  812. /**
  813. * @license
  814. * Copyright (c) 2024 Handsoncode. All rights reserved.
  815. */const Tn="i",On=/^\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij]))\s*(([+-])\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij])))?$/;class Nn{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(yt(e),yt(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=qn(e,t);return this.ExtendedNumberFactory(this.addWithEpsilonRaw(yt(e),yt(t)),r)},this.unaryMinus=e=>Ct(e,-yt(e)),this.unaryPlus=e=>e,this.unaryPercent=e=>new Ot(yt(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=qn(e,t),n=yt(e),i=yt(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=yt(e),n=yt(t);if(0===n)return new ln(Hr.DIV_BY_ZERO);{const i=Gn(e,t);return this.ExtendedNumberFactory(r/n,i)}},this.multiply=(e,t)=>{const r=Gn(e,t);return this.ExtendedNumberFactory(yt(e)*yt(t),r)},this.manyToExactComplex=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;if(Nt(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;Nt(r)&&t.push(yt(r))}return t},this.manyToOnlyNumbersDropNulls=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;if(Nt(r))t.push(yt(r));else if(r!==wt)return new ln(Hr.VALUE,xe.NumberExpected)}return t},this.manyToCoercedNumbersDropNulls=e=>{const t=[];for(const r of e){if(r instanceof ln)return r;if(r===wt)continue;const e=this.coerceScalarToNumberOrError(r);Nt(e)&&t.push(yt(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(Hn(r)||this.config.useRegularExpressions&&Yn(r))return!0}return!1}floatCmp(e,t){const r=yt(e),n=yt(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(Hr.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===wt)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 Nt(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 Ot(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 Mt(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 Dt)t.push(n);else if(n!==wt){const e=this.coerceScalarToComplex(n);if(e instanceof ln)return e;t.push(e)}const r=[];for(const n of t)if(n instanceof Dt){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===wt?[0,0]:Nt(e)?[yt(e),0]:"string"===typeof e?this.coerceStringToComplex(e):new ln(Hr.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 Mt(e,null!==n&&void 0!==n?n:this.config.currencySymbol[0]);case Rt.NUMBER_DATE:return new St(e,n);case Rt.NUMBER_DATETIME:return new Tt(e,n);case Rt.NUMBER_TIME:return new xt(e,n);case Rt.NUMBER_PERCENT:return new Ot(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?zn(e,this.config.caseSensitive):n?Wn(e,this.config.caseSensitive):Qn(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(Nt(r)&&Nt(n))return this.floatCmp(r,n)}return e===wt?e=kn(t):t===wt&&(t=kn(e)),"string"===typeof e&&"string"===typeof t?this.stringCmp(e,t):"boolean"===typeof e&&"boolean"===typeof t?Pn(In(e),In(t)):Nt(e)&&Nt(t)?this.floatCmp(e,t):e===wt&&t===wt?0:Pn(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 Dt)r.push(i);else{const e=yt(this.coerceScalarToNumberOrError(i));if(e instanceof ln)return e;r.push(e)}const n=[];for(const i of r)if(i instanceof Dt){const e=t(i.valuesFromTopLeftCorner());if(e instanceof ln)return e;n.push(...e)}else n.push(i);return n}coerceStringToComplex(e){const t=On.exec(e);if(null===t)return new ln(Hr.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(Hr.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=yt(this.coerceNonDateScalarToMaybeNumber(e));return void 0===r?new ln(Hr.NUM,xe.ComplexNumberExpected):""===t?[r,0]:[0,r]}}function Rn([e,t],r){if(!isFinite(e)||!isFinite(t))return new ln(Hr.NUM,xe.NaN);if(r=null!==r&&void 0!==r?r:Tn,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 Dt?e:Dt.fromScalar(e)}function In(e){return Number(e)}function kn(e){return"string"===typeof e?"":Nt(e)?0:"boolean"!==typeof e&&wt}function Bn(e){if(e instanceof ln||"boolean"===typeof e)return e;if(e===wt)return!1;if(Nt(e))return 0!==yt(e);{const t=e.toUpperCase();return"TRUE"===t||"FALSE"!==t&&(""!==t&&void 0)}}function Dn(e){return e instanceof ln||"string"===typeof e?e:e===wt?"":Nt(e)?yt(e).toString():e?"TRUE":"FALSE"}function Fn(e){return e===wt?0:e}function Pn(e,t){const r=yt(e),n=yt(t);return r>n?1:r<n?-1:0}function jn(e){return isNaN(e)||e===1/0||e===-1/0}function Un(e){return 0===e?0:e}function Hn(e){return["*","?"].includes(e)}const Vn=["{","}","[","]","(",")","<",">","=",".","+","-",",","\\","$","^","!"];function Yn(e){return Vn.includes(e)}function Wn(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);Hn(t)||Yn(t)?(r+="\\"+t,n++):(r+=t,n++)}else Hn(i)?r+="."+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);Hn(i)||Yn(i)?r+="\\"+i:r+=t?i:i.toLowerCase()}return r}function zn(e,t){let r="";for(let n=0;n<e.length;n++){const i=e.charAt(n);Hn(i)||Yn(i)?r+=i:r+=t?i:i.toLowerCase()}return r}function qn(e,t){const{type:r,format:n}=Bt(e),{type:i,format:a}=Bt(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 Gn(e,t){let{type:r,format:n}=Bt(e),{type:i,format:a}=Bt(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 Kn(e){return $n(e.toLowerCase(),"nfd").replace(/[\u0300-\u036f]/g,"")}function Xn(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())}
  816. /**
  817. * @license
  818. * Copyright (c) 2024 Handsoncode. All rights reserved.
  819. */var Zn;(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"})(Zn||(Zn={}));class Jn{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(Hr.NA,xe.WrongArgNumber);const[c,u]=l?this.calculateSizeOfVectorizedResultArray(a,s):[1,1];if(1===c&&1===u){const e=this.vectorizeAndBroadcastArgumentsIfNecessary(l,a,s,0,0);return this.calculateSingleCellOfResultArray(t,e,s,o,n,r.returnNumberType)}const d=[...Array(c).keys()].map(e=>[...Array(u).keys()].map(i=>{const c=this.vectorizeAndBroadcastArgumentsIfNecessary(l,a,s,e,i),u=this.calculateSingleCellOfResultArray(t,c,s,o,n,r.returnNumberType);if(u instanceof Dt)throw new Error("Function returning array cannot be vectorized.");return u}));return Dt.onlyValues(d)},this.runFunctionWithReferenceArgument=(e,t,r,n,i,a=(()=>new ln(Hr.NA,xe.CellRefExpected)))=>{if(0===e.length)return this.returnNumberWrapper(n(),r.returnNumberType);if(e.length>1)return new ln(Hr.NA,xe.WrongArgNumber);let o,s=e[0];while(s.type===W.PARENTHESIS)s=s.expression;if(s.type===W.CELL_REFERENCE)o=s.reference.toSimpleCellAddress(t.formulaAddress);else if(s.type===W.CELL_RANGE||s.type===W.COLUMN_RANGE||s.type===W.ROW_RANGE)try{o=En.fromAst(s,t.formulaAddress).start}catch(l){return new ln(Hr.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 Dt)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 Dt)switch(t.argumentType){case Zn.RANGE:case Zn.ANY:n=e;break;default:{const t=Xn(e,r);if(void 0===t)return;e=t}}if(!(e instanceof Dt))switch(t.argumentType){case Zn.INTEGER:case Zn.NUMBER:const r=this.coerceScalarToNumberOrError(e);if(!Nt(r)){n=r;break}const i=yt(r);if(void 0!==t.maxValue&&i>t.maxValue)return new ln(Hr.NUM,xe.ValueLarge);if(void 0!==t.minValue&&i<t.minValue)return new ln(Hr.NUM,xe.ValueSmall);if(void 0!==t.lessThan&&i>=t.lessThan)return new ln(Hr.NUM,xe.ValueLarge);if(void 0!==t.greaterThan&&i<=t.greaterThan)return new ln(Hr.NUM,xe.ValueSmall);if(t.argumentType===Zn.INTEGER&&!Number.isInteger(i))return new ln(Hr.NUM,xe.IntegerExpected);n=r;break;case Zn.STRING:n=Dn(e);break;case Zn.BOOLEAN:n=Bn(e);break;case Zn.SCALAR:case Zn.NOERROR:case Zn.ANY:n=e;break;case Zn.RANGE:if(e instanceof ln)return e;n=Ln(e);break;case Zn.COMPLEX:return this.arithmeticHelper.coerceScalarToComplex(yt(e))}return t.passSubtype||void 0===n?n:yt(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(Hr.VALUE,xe.WrongType);if(l instanceof ln&&o.argumentType!==Zn.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 Dt&&![Zn.RANGE,Zn.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&&Nt(e)?this.arithmeticHelper.ExtendedNumberFactory(yt(e),{type:t,format:r}):e}}
  820. /**
  821. * @license
  822. * Copyright (c) 2024 Handsoncode. All rights reserved.
  823. */
  824. /**
  825. * @license
  826. * Copyright (c) 2024 Handsoncode. All rights reserved.
  827. */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 W.FUNCTION_CALL:return this.checkArraySizeForFunction(e,t);case W.COLUMN_RANGE:case W.ROW_RANGE:case W.CELL_RANGE:{const r=En.fromAstOrUndef(e,t.formulaAddress);return void 0===r?ei.error():new ei(r.width(),r.height(),!0)}case W.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 W.STRING:case W.NUMBER:return ei.scalar();case W.CELL_REFERENCE:return new ei(1,1,!0);case W.DIV_OP:case W.CONCATENATE_OP:case W.EQUALS_OP:case W.GREATER_THAN_OP:case W.GREATER_THAN_OR_EQUAL_OP:case W.LESS_THAN_OP:case W.LESS_THAN_OR_EQUAL_OP:case W.MINUS_OP:case W.NOT_EQUAL_OP:case W.PLUS_OP:case W.POWER_OP:case W.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 W.MINUS_UNARY_OP:case W.PLUS_UNARY_OP:case W.PERCENT_OP:{const r=this.checkArraySizeForAst(e.value,t);return!t.arraysFlag&&(r.height>1||r.width>1)?ei.error():ri(r)}case W.PARENTHESIS:return this.checkArraySizeForAst(e.expression,t);case W.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 Mn(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!==Zn.RANGE&&a[l].argumentType!==Zn.ANY&&(s=Math.max(s,i[l].height),o=Math.max(o,i[l].width));return new ei(o,s)}}
  828. /**
  829. * @license
  830. * Copyright (c) 2024 Handsoncode. All rights reserved.
  831. */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}}
  832. /**
  833. * @license
  834. * Copyright (c) 2024 Handsoncode. All rights reserved.
  835. */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 ci(...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 ui(e,t,r){if(typeof e!==t)throw new ir(t,r)}
  836. /**
  837. * @license
  838. * Copyright (c) 2024 Handsoncode. All rights reserved.
  839. */const di=new RegExp("^ss(\\.(s+|0+))?$"),hi=new RegExp("^[0-9/.\\-: ]+[ap]?m?$"),pi=new RegExp("\\s+"),fi=new RegExp("[ /.-]"),mi=":",Ai=1e3,gi=Si(yi),_i=Si(Ei);function vi(e,t,r){if(void 0===t&&void 0===r)return;let n=e.replace(pi," ").trim().toLowerCase();if(!Ci(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 bi(o,r);if(1===o.length)return wi(a,t);const s=wi(a.slice(0,a.length-1),t),l=bi(o,r);return void 0===s||void 0===l?void 0:Object.assign(Object.assign({},s),l)}function bi(e,t){var r,n,i;if(void 0===t)return;const{itemsCount:a,hourItem:o,minuteItem:s,secondItem:l}=gi(t);let c=void 0;if("am"===e[e.length-1]||"a"===e[e.length-1]?(c=!1,e.pop()):"pm"!==e[e.length-1]&&"p"!==e[e.length-1]||(c=!0,e.pop()),e.length!==a)return;const u=Number(null!==(r=e[l])&&void 0!==r?r:"0");if(!Number.isFinite(u))return;const d=Math.round(u*Ai)/Ai,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!==c&&(p<0||p>12))return;const f=void 0!==c?p%12+(c?12:0):p;return{hours:f,minutes:h,seconds:d}}function wi(e,t){var r;if(void 0===t)return;const{itemsCount:n,dayItem:i,monthItem:a,shortYearItem:o,longYearItem:s}=_i(t);if(e.length!==n)return;const l=Number(e[i]);if(!Number.isFinite(l)||!Number.isInteger(l))return;const c=Number(e[a]);if(!Number.isFinite(c)||!Number.isInteger(c))return;if(e[s]&&e[o])return;const u=Number(null!==(r=e[s])&&void 0!==r?r:e[o]);return!Number.isFinite(u)||!Number.isInteger(u)||e[s]&&(u<1e3||u>9999)||e[o]&&(u<0||u>99)?void 0:{year:u,month:c,day:l}}function yi(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 Ci(e){return hi.test(e)}function Si(e){const t={};return r=>{const n=t[r];if(void 0!==n)return n;const i=e(r);return t[r]=i,i}}
  840. /**
  841. * @license
  842. * Copyright (c) 2024 Handsoncode. All rights reserved.
  843. */const Mi=[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],Ti=60,Oi=60,Ni=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 Ii={year:9999,month:12,day:31};class ki{constructor(e){this.config=e,this.minDateAbsoluteValue=this.dateToNumberFromZero(e.nullDate),this.maxDateValue=this.dateToNumber(Ii),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 Tt(Hi(t)+this.dateToNumber(t),r+" "+n):new xt(Hi(t),n):Ri(t)?new St(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<=Mi[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=Bi(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=Ui(e%1),r=Math.floor(t.hours/Ni);t.hours=t.hours%Ni;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:Mi[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 Bi(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 Di(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 Fi(e){return{year:e.year,month:e.month,day:Math.min(e.day,Mi[e.month-1])}}function Pi(e){return Math.round(3600*e*24)/86400}function ji(e,t=1){return Math.round(e*t)/t}function Ui(e){const t=e*Ni*Oi*Ti,r=ji(t%Ti,1e5)%Ti,n=(t-r)/Ti,i=Math.round(n%Oi)%Oi,a=(n-i)/Oi,o=Math.round(a);return{hours:o,minutes:i,seconds:r}}function Hi(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)}}
  844. /**
  845. * @license
  846. * Copyright (c) 2024 Handsoncode. All rights reserved.
  847. */class Yi{call(){return $r}}
  848. /**
  849. * @license
  850. * Copyright (c) 2024 Handsoncode. All rights reserved.
  851. */const Wi=/(\\.|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,Qi=/(\\.|[#0]+(\.[#0]*)?)/g;var zi,qi;function Gi(e,t){return{type:e,value:t}}function Ki(e){Wi.lastIndex=0;const t=[];let r;do{r=Wi.exec(e),null!==r&&t.push(r)}while(r);return t}function Xi(e){Qi.lastIndex=0;const t=Qi.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(Gi(zi.FREE_TEXT,e))}i[0].startsWith("\\")?r.push(Gi(zi.FREE_TEXT,i[0])):r.push(Gi(zi.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(Gi(zi.FREE_TEXT,e))}return r}function Zi(e){const t=Ki(e);return t.every(e=>ea(e))?void 0:{type:qi.DATE,tokens:$i(t,e)}}function Ji(e){const t=Xi(e);return t.every(e=>ea(e))?void 0:{type:qi.NUMBER,tokens:$i(t,e)}}function ea(e){return e[0].startsWith("\\")}
  852. /**
  853. * @license
  854. * Copyright (c) 2024 Handsoncode. All rights reserved.
  855. */function ta(e,t,r,n){const i=r.stringifyDateTime(n.numberToSimpleDateTime(e),t);if(void 0!==i)return i;const a=r.stringifyDuration(Ui(e),t);if(void 0!==a)return a;const o=Ji(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===zi.FREE_TEXT){r+=i.value;continue}const a=i.value.split("."),o=a[0],s=a[1]||"",l=a[1]?".":"",c=Number(t.toFixed(s.length)).toString().split(".");let u=c[0]||"",d=c[1]||"";if(o.length>u.length){const e=ia(o.substr(0,o.length-u.length),"0");u=ra(u,e+u.length)}const h=ia(s.substr(d.length,s.length-d.length),"0");d=na(d,h+d.length),r+=u+l+d}return r}function oa(e,t){const r=Zi(t);if(void 0===r)return;const n=r.tokens;let i="";for(const a of n)if(a.type!==zi.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=Zi(t);if(void 0===r)return;const n=r.tokens;let i="",a=!1;const o=n.some(e=>e.type===zi.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!==zi.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}
  856. /**
  857. * @license
  858. * Copyright (c) 2024 Handsoncode. All rights reserved.
  859. */(function(e){e["FORMAT"]="FORMAT",e["FREE_TEXT"]="FREE_TEXT"})(zi||(zi={})),function(e){e["DATE"]="DATE",e["NUMBER"]="NUMBER",e["STRING"]="STRING"}(qi||(qi={}));const la="length",ca=e=>parseInt(e,16),ua=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]?ca(ha(da(e),ca("12"),pa("F")))/(ca(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|=(ua(""+ua(ca(ha(e,t+n-(0===a?0:2),i+(a?2:0)))+(ca(ha(e,t+n+i,2))+[]).padStart(2,"0")))%97||2)>>1,t+=2,r),pa("A"))===[]+1>>1}
  860. /**
  861. * @license
  862. * Copyright (c) 2024 Handsoncode. All rights reserved.
  863. */const Aa={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 ga=!1;function _a(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]="18/07/2024".split("/"),a=Math.floor(new Date(`${n}/${r}/${i}`).getTime()/864e5),o=fa(e);t.vars.keyValidityDate=va(new Date(864e5*(o+1))),t.template=a>o?"expired":"valid"}else""!==e&&(t.template="invalid");return ga||"valid"===t.template||(console.warn(Aa[t.template](t.vars)),ga=!0),t.template}function va(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}`}
  864. /**
  865. * @license
  866. * Copyright (c) 2024 Handsoncode. All rights reserved.
  867. */var ba,wa,ya;function Ea(e){return e.startsWith("=")}function Ca(e){const t=e.toLowerCase();return"true"===t||"false"===t}function Sa(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=Ct(this.value,Un(yt(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})(ba||(ba={}));class Ma{constructor(e,t,r){this.config=e,this.dateHelper=t,this.numberLiteralsHelper=r}parse(e){if(void 0===e||null===e)return ba.Empty.getSingletonInstance();if("number"===typeof e)return jn(e)?new ba.Error(Hr.NUM,xe.ValueLarge):new ba.Number(e);if("boolean"===typeof e)return new ba.Boolean(e);if(e instanceof Date){const t=this.dateHelper.dateToNumber({day:e.getDate(),month:e.getMonth()+1,year:e.getFullYear()}),r=Hi({hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()+e.getMilliseconds()/1e3}),n=t+r;return n<0?new ba.Error(Hr.NUM,xe.DateBounds):n%1===0?new ba.Number(new St(n,"Date()")):n<1?new ba.Number(new xt(n,"Date()")):new ba.Number(new Tt(n,"Date()"))}if("string"===typeof e){if(Ca(e))return new ba.Boolean("true"===e.toLowerCase());if(Ea(e))return new ba.Formula(e);if(Sa(e,this.config.errorMapping))return new ba.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 Ot(i/100):2===n?new Mt(i,t):i,new ba.Number(e)}const a=this.dateHelper.dateStringToDateNumber(r);return void 0!==a?new ba.Number(a):new ba.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)]}}}
  868. /**
  869. * @license
  870. * Copyright (c) 2024 Handsoncode. All rights reserved.
  871. */(function(e){e[e["COPY"]=0]="COPY",e[e["CUT"]=1]="CUT"})(wa||(wa={})),function(e){e[e["VALUE"]=0]="VALUE",e[e["EMPTY"]=1]="EMPTY",e[e["FORMULA"]=2]="FORMULA",e[e["PARSING_ERROR"]=3]="PARSING_ERROR"}(ya||(ya={}));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 Ta{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,wa.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,wa.COPY,n)}abortCut(){this.clipboard&&this.clipboard.type===wa.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 Gt("a valid target address.");const t=En.spanFrom(e,this.clipboard.width,this.clipboard.height);if(t.exceedsSheetSizeLimits(this.maxColumns,this.maxRows))throw new Qt;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===wa.CUT}isCopyClipboard(){return void 0!==this.clipboard&&this.clipboard.type===wa.COPY}}
  872. /**
  873. * @license
  874. * Copyright (c) 2024 Handsoncode. All rights reserved.
  875. */class Oa{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 Oa(this.displayName,this.address,this.added,this.options)}}class Na{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 Na,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(`^${_}$`),r=new RegExp(`^${w}$`),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 Oa(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 Oa(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 Ia=e=>{switch(e.type){case W.EMPTY:case W.NUMBER:case W.STRING:case W.ERROR:case W.ERROR_WITH_RAW_INPUT:return!1;case W.CELL_REFERENCE:return!e.reference.isAbsolute();case W.CELL_RANGE:case W.COLUMN_RANGE:case W.ROW_RANGE:return!e.start.isAbsolute();case W.NAMED_EXPRESSION:return!1;case W.PERCENT_OP:case W.PLUS_UNARY_OP:case W.MINUS_UNARY_OP:return Ia(e.value);case W.CONCATENATE_OP:case W.EQUALS_OP:case W.NOT_EQUAL_OP:case W.LESS_THAN_OP:case W.GREATER_THAN_OP:case W.LESS_THAN_OR_EQUAL_OP:case W.GREATER_THAN_OR_EQUAL_OP:case W.MINUS_OP:case W.PLUS_OP:case W.TIMES_OP:case W.DIV_OP:case W.POWER_OP:return Ia(e.left)||Ia(e.right);case W.PARENTHESIS:return Ia(e.expression);case W.FUNCTION_CALL:return e.args.some(e=>Ia(e));case W.ARRAY:return e.args.some(e=>e.some(e=>Ia(e)))}};
  876. /**
  877. * @license
  878. * Copyright (c) 2024 Handsoncode. All rights reserved.
  879. */class ka{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 W.CELL_REFERENCE:return this.transformCellReferenceAst(e,t);case W.CELL_RANGE:return this.transformCellRangeAst(e,t);case W.COLUMN_RANGE:return this.transformColumnRangeAst(e,t);case W.ROW_RANGE:return this.transformRowRangeAst(e,t);case W.EMPTY:case W.ERROR:case W.NUMBER:case W.NAMED_EXPRESSION:case W.ERROR_WITH_RAW_INPUT:case W.STRING:return e;case W.PERCENT_OP:case W.MINUS_UNARY_OP:case W.PLUS_UNARY_OP:return Object.assign(Object.assign({},e),{value:this.transformAst(e.value,t)});case W.FUNCTION_CALL:return Object.assign(Object.assign({},e),{procedureName:e.procedureName,args:e.args.map(e=>this.transformAst(e,t))});case W.PARENTHESIS:return Object.assign(Object.assign({},e),{expression:this.transformAst(e.expression,t)});case W.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===Hr.REF?_e(new ln(Hr.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===Hr.REF?_e(new ln(Hr.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===Hr.REF?_e(new ln(Hr.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===Hr.REF?_e(new ln(Hr.REF)):e}}
  880. /**
  881. * @license
  882. * Copyright (c) 2024 Handsoncode. All rights reserved.
  883. */class Ba extends ka{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=_n(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===Hr.REF||i===Hr.REF?Hr.REF:!(!n&&!i)&&[n||e,i||t]}}
  884. /**
  885. * @license
  886. * Copyright (c) 2024 Handsoncode. All rights reserved.
  887. */class Da extends ka{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=_n(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===Hr.REF||i===Hr.REF?Hr.REF:!(!n&&!i)&&[n||e,i||t]}}
  888. /**
  889. * @license
  890. * Copyright (c) 2024 Handsoncode. All rights reserved.
  891. */class Fa extends ka{constructor(e){super(),this.sheet=e}isIrreversible(){return!0}fixNodeAddress(e){return e}transformCellAddress(e,t){return!!e.isInvalid(t)&&Hr.REF}transformCellRange(e,t,r){return!(!e.isInvalid(r)&&!t.isInvalid(r))&&Hr.REF}transformColumnRange(e,t,r){return!(!e.isInvalid(r)&&!t.isInvalid(r))&&Hr.REF}transformRowRange(e,t,r){return!(!e.isInvalid(r)&&!t.isInvalid(r))&&Hr.REF}}
  892. /**
  893. * @license
  894. * Copyright (c) 2024 Handsoncode. All rights reserved.
  895. */class Pa extends ka{constructor(e,t,r,n){super(),this.sourceRange=e,this.toRight=t,this.toBottom=r,this.toSheet=n,this.dependentFormulaTransformer=new ja(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 ja extends ka{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]}}
  896. /**
  897. * @license
  898. * Copyright (c) 2024 Handsoncode. All rights reserved.
  899. */class Ua extends ka{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=_n(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 Hr.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=_n(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 Hr.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===Hr.REF||s===Hr.REF)throw Error("Cannot happen");return[o||i,s||a]}}
  900. /**
  901. * @license
  902. * Copyright (c) 2024 Handsoncode. All rights reserved.
  903. */class Ha extends ka{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=_n(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 Hr.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=_n(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 Hr.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===Hr.REF||s===Hr.REF?Hr.REF:[o||i,s||a]}}
  904. /**
  905. * @license
  906. * Copyright (c) 2024 Handsoncode. All rights reserved.
  907. */class Va extends ka{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&&Hr.REF}}
  908. /**
  909. * @license
  910. * Copyright (c) 2024 Handsoncode. All rights reserved.
  911. */function Ya(e){if(!Array.isArray(e))throw new Gt("an array of arrays.");for(let t=0;t<e.length;t++)if(!Array.isArray(e[t]))throw new Gt("an array of arrays.")}function Wa(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}}
  912. /**
  913. * @license
  914. * Copyright (c) 2024 Handsoncode. All rights reserved.
  915. */class Qa{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return Xa(this.indexes)}rowsSpans(){return this.normalizedIndexes().map(e=>Pt.fromNumberOfRows(this.sheet,e[0],e[1]))}}class za{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return $a(this.indexes)}rowsSpans(){return this.normalizedIndexes().map(e=>Pt.fromNumberOfRows(this.sheet,e[0],e[1]))}}class qa{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return $a(this.indexes)}columnsSpans(){return this.normalizedIndexes().map(e=>jt.fromNumberOfColumns(this.sheet,e[0],e[1]))}}class Ga{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return Xa(this.indexes)}columnsSpans(){return this.normalizedIndexes().map(e=>jt.fromNumberOfColumns(this.sheet,e[0],e[1]))}}class Ka{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=Ft.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,Wa(r)),this.sheetMapping.fetchDisplayName(t)}renameSheet(e,t){return this.sheetMapping.renameSheet(e,t)}moveRows(e,t,r,n){const i=Pt.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=Pt.fromNumberOfRows(e,t,r);return this.doRemoveRows(s),this.lazilyTransformingAstService.commitCombinedMode()}moveColumns(e,t,r,n){const i=jt.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=jt.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,c=this.getRangeClipboardCells(a),u=this.dependencyGraph.rawValuesFromRange(a);this.columnSearch.removeValues(u);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 Pa(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:c,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 Zt(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 Zt(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)||!(Za(t)&&Za(r)||Ja(e,t,r))||fn(n)||!this.sheetMapping.hasSheetWithId(e.sheet)||!this.sheetMapping.hasSheetWithId(n.sheet))throw new Gt("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 Qt;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(i))throw new Ar;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(a))throw new gr}restoreClipboardCells(e,t){const r=[];for(const[n,i]of t)if(this.restoreCell(n,i),i.type===ya.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 ya.VALUE:this.setValueToCell(t,e);break;case ya.FORMULA:this.setFormulaToCellFromCache(t.hash,e);break;case ya.EMPTY:this.setCellEmpty(e);break;case ya.PARSING_ERROR:this.setParsingErrorToCell(t.rawInput,t.errors,e);break}}getOldContent(e){const t=this.dependencyGraph.getCell(e);if(void 0===t||t instanceof qr)return[e,{type:ya.EMPTY}];if(t instanceof Gr)return[e,Object.assign({type:ya.VALUE},t.getValues())];if(t instanceof Sr)return[t.getAddress(this.lazilyTransformingAstService),{type:ya.FORMULA,hash:this.parser.computeHashFromAst(t.getFormula(this.lazilyTransformingAstService))}];if(t instanceof Kr)return[e,{type:ya.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 qr)return{type:ya.EMPTY};if(t instanceof Gr)return Object.assign({type:ya.VALUE},t.getValues());if(t instanceof Mr){const r=t.getArrayCellValue(e);return r===wt?{type:ya.EMPTY}:{type:ya.VALUE,parsedValue:r,rawValue:t.getArrayCellRawValue(e)}}if(t instanceof xr)return{type:ya.FORMULA,hash:this.parser.computeHashFromAst(t.getFormula(this.lazilyTransformingAstService))};if(t instanceof Kr)return{type:ya.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 ba.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 ba.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 Kr(t,e),a=this.dependencyGraph.setParsingErrorToCell(r,i);this.columnSearch.remove(yt(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,vt(a,e),t,n,i);this.columnSearch.remove(yt(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(yt(r),yt(e.parsedValue),t),this.columnSearch.applyChanges(n.getChanges().filter(e=>!vn(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(yt(t),e),this.columnSearch.applyChanges(r.getChanges()),this.changes.addAll(r),this.changes.addChange(wt,e)}setFormulaToCellFromCache(e,t){const{ast:r,hasVolatileFunction:n,hasStructuralChangeFunction:i,dependencies:a}=this.parser.fetchCachedResult(e),o=vt(a,t),[s]=new Fa(t.sheet).transformSingleAst(r,t);this.parser.rememberNewAst(s);const l=bt(o),c=this.arraySizePredictor.checkArraySize(r,t);this.dependencyGraph.setFormulaToCell(t,s,l,c,n,i)}rowEffectivelyNotInSheet(e,t){const r=this.dependencyGraph.addressMapping.getHeight(t);return e>=r}getAndClearContentChanges(){const e=this.changes;return this.changes=Ft.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 Ha(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 Ua(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 Da(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 Ba(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),c=null!==l&&void 0!==l?l:this.dependencyGraph.graph.getNodeId(s);for(const u of this.dependencyGraph.graph.adjacentNodes(s))if(u instanceof xr&&u.getAddress(this.lazilyTransformingAstService).sheet===r){const t=u.getFormula(this.lazilyTransformingAstService),r=u.getAddress(this.lazilyTransformingAstService),{dependencies:n}=this.parser.fetchCachedResultForAst(t);for(const i of vt(n,r))i instanceof _t&&i.name.toLowerCase()===e.displayName.toLowerCase()&&(this.dependencyGraph.graph.removeEdge(c,u),this.dependencyGraph.graph.addEdge(a,u))}}storeNamedExpressionInCell(e,t){const r=this.cellContentParser.parse(t);if(r instanceof ba.Formula){const t=this.parser.parse(r.formula,pn(-1,0,0));if(Ia(t.ast))throw new _r;const{ast:n,hasVolatileFunction:i,hasStructuralChangeFunction:a,dependencies:o}=t;this.dependencyGraph.setFormulaToCell(e,n,vt(o,e),ei.scalar(),i,a)}else r instanceof ba.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 vt(r,t)){if(!(a instanceof _t))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 Xr(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,vt(o,n.address),ei.scalar(),i,a)}else t instanceof qr?this.setCellEmpty(n.address):t instanceof Gr&&this.setValueToCell(t.getValues(),n.address);return this.dependencyGraph.fetchCellOrCreateEmpty(n.address).vertex}}function Xa(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 Za(e){return Number.isInteger(e)&&e>0}function Ja(e,t,r){return 0===e.row&&Za(t)&&r===Number.POSITIVE_INFINITY||0===e.col&&Za(r)&&t===Number.POSITIVE_INFINITY}
  916. /**
  917. * @license
  918. * Copyright (c) 2024 Handsoncode. All rights reserved.
  919. */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 co extends eo{constructor(e){super(),this.command=e}doUndo(e){e.undoAddColumns(this)}doRedo(e){e.redoAddColumns(this)}}class uo 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 Ao extends eo{constructor(e){super(),this.cellContents=e}doUndo(e){e.undoSetCellContents(this)}doRedo(e){e.redoSetCellContents(this)}}class go 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 _o 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 vo 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 bo 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 wo 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 yo{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 wo}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 za(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 qa(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 Qa(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 Ga(e.command.sheet,[[n.columnStart,n.numberOfColumns]]))}}undoSetCellContents(e){for(const t of e.cellContents){const e=t.address,[r,n]=t.oldContent;vn(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)}}}
  920. /**
  921. * @license
  922. * Copyright (c) 2024 Handsoncode. All rights reserved.
  923. */class Eo{constructor(e,t,r,n,i,a,o,s,l,c){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=c,this.maxRows=e.maxRows,this.maxColumns=e.maxColumns}get sheetMapping(){return this.dependencyGraph.sheetMapping}addRows(e,...t){const r=new za(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 Qa(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 qa(e,t);this.ensureItIsPossibleToAddColumns(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.operations.addColumns(r),this.undoRedo.saveOperation(new co(r))}removeColumns(e,...t){const r=new Ga(e,t);this.ensureItIsPossibleToRemoveColumns(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const n=this.operations.removeColumns(r);this.undoRedo.saveOperation(new uo(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(!Co(t))throw new Gt("width to be positive integer.");if(!Co(r))throw new Gt("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 go(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 Gt("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 Ao(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 Ar}}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 Ar}}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 Gt(`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 Jt;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 _o(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 bo(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 vo(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 Zt(e);this.ensureNamedExpressionIsValid(t)}isItPossibleToRemoveNamedExpression(e,t){if(this.ensureScopeIdIsValid(t),void 0===this.namedExpressions.namedExpressionForScope(e,t))throw new Zt(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 Qt;for(const[i,a]of t)if(!So(i)||!Co(a))throw new Gt("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(!So(r)||!So(t))throw new Gt("starting and ending row to be nonnegative.");if(t<r)throw new Gt("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 Qt;for(const[i,a]of t)if(!So(i)||!Co(a))throw new Gt("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(!So(r)||!So(t))throw new Gt("starting and ending column to be nonnegative.");if(t<r)throw new Gt("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)||!Co(r)||n<=t+r&&n>=t)throw new Gt("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 Ar;if(n>0&&this.dependencyGraph.arrayMapping.isFormulaArrayInAllRows(Pt.fromNumberOfRows(e,n-1,2)))throw new gr}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)||!Co(r)||n<=t+r&&n>=t)throw new Gt("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 Ar;if(n>0&&this.dependencyGraph.arrayMapping.isFormulaArrayInAllColumns(jt.fromNumberOfColumns(e,n-1,2)))throw new gr}ensureItIsPossibleToAddSheet(e){if(this.sheetMapping.hasSheetWithName(e))throw new Wt(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 Wt(t)}ensureItIsPossibleToChangeContent(e){if(fn(e))throw new qt(e);if(!this.sheetMapping.hasSheetWithId(e.sheet))throw new Vt(e.sheet)}ensureItIsPossibleToChangeCellContents(e,t){const r=Wa(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=Wa(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 Qt}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(!So(i[o])||i[o]>=n)throw new Gt(`${r} numbers to be nonnegative integers and less than sheet ${"row"===r?"height":"width"}.`);if(i[o]===i[o+1])throw new Gt(`source ${r} numbers to be unique.`);if(i[o]!==a[o])throw new Gt(`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 Xt(e)}ensureNamedExpressionIsValid(e){const t=this.cellContentParser.parse(e);if(t instanceof ba.Formula){const e=this.parser.parse(t.formula,pn(-1,0,0));if(Ia(e.ast))throw new _r}}}function Co(e){return Number.isInteger(e)&&e>0}function So(e){return Number.isInteger(e)&&e>=0}
  924. /**
  925. * @license
  926. * Copyright (c) 2024 Handsoncode. All rights reserved.
  927. */class Mo{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=Ft.empty();return this.stats.measure(Lt.EVALUATION,()=>{this.dependencyGraph.graph.getTopSortedWithSccSubgraphFrom(e,e=>{if(e instanceof Sr){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(yt(r),yt(n),i),!0}return!1}return!(e instanceof Tr)||(e.clearCache(),!0)},e=>{if(e instanceof Tr)e.clearCache();else if(e instanceof Sr){const r=e.getAddress(this.lazilyTransformingAstService);this.columnSearch.remove(yt(e.valueOrUndef()),r);const n=new ln(Hr.CYCLE,void 0,e);e.setCellValue(n),t.addChange(n,r)}})}),t}runAndForget(e,t,r){const n=[];for(const a of vt(r,t))if(a instanceof En){const e=a;if(void 0===this.dependencyGraph.getRange(e.start,e.end)){const t=new Tr(e);this.dependencyGraph.rangeMapping.setRange(t),n.push(t)}}const i=this.evaluateAstToCellValue(e,new Mn(t,this.config.useArrayArithmetic));return n.forEach(e=>{this.dependencyGraph.rangeMapping.removeRange(e)}),i}recomputeFormulas(e,t){e.forEach(e=>{e instanceof Sr&&e.setCellValue(new ln(Hr.CYCLE,void 0,e))}),t.forEach(e=>{if(e instanceof Sr){const t=this.recomputeFormulaVertexValue(e),r=e.getAddress(this.lazilyTransformingAstService);this.columnSearch.add(yt(t),r)}else e instanceof Tr&&e.clearCache()})}recomputeFormulaVertexValue(e){const t=e.getAddress(this.lazilyTransformingAstService);if(e instanceof Mr&&(e.array.size.isRef||!this.dependencyGraph.isThereSpaceForArray(e)))return e.setNoSpace();{const r=e.getFormula(this.lazilyTransformingAstService),n=this.evaluateAstToCellValue(r,new Mn(t,this.config.useArrayArithmetic,e));return e.setCellValue(n)}}evaluateAstToCellValue(e,t){const r=this.interpreter.evaluateAst(e,t);return r instanceof Dt?r:r===wt&&this.config.evaluateNullToZero?0:r}}
  928. /**
  929. * @license
  930. * Copyright (c) 2024 Handsoncode. All rights reserved.
  931. */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 To{constructor(e,t){this.name=e,this.newValue=t}}class Oo{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 To(e.displayName,this.exportScalarOrRange(t))}if(t instanceof Dt){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 Dt?this.detailedError(new ln(Hr.VALUE,xe.ScalarExpected)):this.config.smartRounding&&Nt(e)?this.cellValueRounding(yt(e)):e instanceof ln?this.detailedError(e):e===wt?null:yt(e)}exportScalarOrRange(e){return e instanceof Dt?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:B(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}}
  932. /**
  933. * @license
  934. * Copyright (c) 2024 Handsoncode. All rights reserved.
  935. */class No{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 ba.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 Kr(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,vt(e.dependencies,o)),this.dependencyGraph.addVertex(o,r),e.hasVolatileFunction&&this.dependencyGraph.markAsVolatile(r),e.hasStructuralChangeFunction&&this.dependencyGraph.markAsDependentOnStructureChange(r)}else{const n=new Mr(e.ast,o,new ei(r.width,r.height));t.set(n,vt(e.dependencies,o)),this.dependencyGraph.addArrayVertex(o,n)}}}else if(s instanceof ba.Empty);else{this.shrinkArrayIfNeeded(o);const e=new Gr(s.value,a);this.columnIndex.add(yt(s.value),o),this.dependencyGraph.addVertex(o,e)}}}}return t}shrinkArrayIfNeeded(e){const t=this.dependencyGraph.getCell(e);t instanceof Mr&&this.dependencyGraph.shrinkArrayToCorner(t)}}
  936. /**
  937. * @license
  938. * Copyright (c) 2024 Handsoncode. All rights reserved.
  939. */const Lo=new Map([["gpl-v3",1],["missing",2],["invalid",3],["expired",4]]);class Io extends Jn{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}`})}}
  940. /**
  941. * @license
  942. * Copyright (c) 2024 Handsoncode. All rights reserved.
  943. */
  944. function ko(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 vr(e,t.name);n=t.implementedFunctions[i]}if(void 0===n)throw fr.functionNotDeclaredInPlugin(e,t.name);return n}Io.implementedFunctions={VERSION:{method:"version",parameters:[]}};class Bo{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)Bo.loadPluginFunctions(t,this.instancePlugins)}else this.instancePlugins=new Map(Bo.plugins);for(const[t,r]of Bo.protectedFunctions())Bo.loadFunctionUnprotected(r,t,this.instancePlugins);for(const[t,r]of this.instancePlugins.entries())this.categorizeFunction(t,ko(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=ko(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=ko(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(!Bo.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)Bo.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)}}
  945. /**
  946. * @license
  947. * Copyright (c) 2024 Handsoncode. All rights reserved.
  948. */
  949. var Do;Bo.plugins=new Map,Bo._protectedPlugins=new Map([["VERSION",Io],["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"}(Do||(Do={}));const Fo=(e,t)=>({operator:e,value:t});class Po{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:Ho(r,t)}:void 0}parseCriterion(e,t){if("number"===typeof e||"boolean"===typeof e)return Fo(Do.EQUAL,e);if("string"===typeof e){const r=jo.exec(e);let n,i;r?(i=Uo(r[1]),n=r[2]):(i=Do.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 Fo(i,null);if(void 0!==a)return Fo(i,yt(a));if(i===Do.EQUAL||i===Do.NOT_EQUAL)return Fo(i,null!==o&&void 0!==o?o:n)}}}const jo=/([<>=]+)(.*)/;function Uo(e){switch(e){case">":return Do.GREATER_THAN;case">=":return Do.GREATER_THAN_OR_EQUAL;case"<":return Do.LESS_THAN;case"<=":return Do.LESS_THAN_OR_EQUAL;case"<>":return Do.NOT_EQUAL;case"=":return Do.EQUAL;default:return}}const Ho=(e,t)=>{switch(e.operator){case Do.GREATER_THAN:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)>0:e=>!1;case Do.GREATER_THAN_OR_EQUAL:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)>=0:e=>!1;case Do.LESS_THAN:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)<0:e=>!1;case Do.LESS_THAN_OR_EQUAL:return"number"===typeof e.value?r=>"number"===typeof r&&t.floatCmp(r,e.value)<=0:e=>!1;case Do.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===wt;case Do.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!==wt}};
  950. /**
  951. * @license
  952. * Copyright (c) 2024 Handsoncode. All rights reserved.
  953. */class Vo{constructor(e,t,r,n,i,a,o,s,l,c){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=c,this.equalOp=(e,t)=>Wo(this.arithmeticHelper.eq,e,t),this.notEqualOp=(e,t)=>Wo(this.arithmeticHelper.neq,e,t),this.greaterThanOp=(e,t)=>Wo(this.arithmeticHelper.gt,e,t),this.lessThanOp=(e,t)=>Wo(this.arithmeticHelper.lt,e,t),this.greaterThanOrEqualOp=(e,t)=>Wo(this.arithmeticHelper.geq,e,t),this.lessThanOrEqualOp=(e,t)=>Wo(this.arithmeticHelper.leq,e,t),this.concatOp=(e,t)=>Wo(this.arithmeticHelper.concat,Dn(e),Dn(t)),this.plusOp=(e,t)=>Wo(this.arithmeticHelper.addWithEpsilon,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.minusOp=(e,t)=>Wo(this.arithmeticHelper.subtract,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.timesOp=(e,t)=>Wo(this.arithmeticHelper.multiply,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.powerOp=(e,t)=>Wo(this.arithmeticHelper.pow,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.divOp=(e,t)=>Wo(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 Po(e)}evaluateAst(e,t){let r=this.evaluateAstWithoutPostprocessing(e,t);if(Nt(r)){if(jn(yt(r)))return new ln(Hr.NUM,xe.NaN);r=Ct(r,Un(yt(r)))}return r instanceof Dt&&1===r.height()&&1===r.width()&&([[r]]=r.data),Qo(r,t.formulaVertex)}evaluateAstWithoutPostprocessing(e,t){switch(e.type){case W.EMPTY:return wt;case W.CELL_REFERENCE:{const r=e.reference.toSimpleCellAddress(t.formulaAddress);return fn(r)?new ln(Hr.REF,xe.BadRef):this.dependencyGraph.getCellValue(r)}case W.NUMBER:case W.STRING:return e.value;case W.CONCATENATE_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.concatOp,r,n,t)}case W.EQUALS_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.equalOp,r,n,t)}case W.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 W.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 W.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 W.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 W.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 W.PLUS_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.plusOp,r,n,t)}case W.MINUS_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.minusOp,r,n,t)}case W.TIMES_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.timesOp,r,n,t)}case W.POWER_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.powerOp,r,n,t)}case W.DIV_OP:{const r=this.evaluateAst(e.left,t),n=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.divOp,r,n,t)}case W.PLUS_UNARY_OP:{const r=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.unaryPlusOp,r,t)}case W.MINUS_UNARY_OP:{const r=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.unaryMinusOp,r,t)}case W.PERCENT_OP:{const r=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.percentOp,r,t)}case W.FUNCTION_CALL:{if("valid"!==this.config.licenseKeyValidityState&&!Bo.functionIsProtected(e.procedureName))return new ln(Hr.LIC,xe.LicenseKey(this.config.licenseKeyValidityState));const r=this.functionRegistry.getFunction(e.procedureName);return void 0!==r?r(e,new Mn(t.formulaAddress,t.arraysFlag||this.functionRegistry.isArrayFunction(e.procedureName),t.formulaVertex)):new ln(Hr.NAME,xe.FunctionName(e.procedureName))}case W.NAMED_EXPRESSION:{const r=this.namedExpressions.nearestNamedExpression(e.expressionName,t.formulaAddress.sheet);return r?this.dependencyGraph.getCellValue(r.address):new ln(Hr.NAME,xe.NamedExpressionName(e.expressionName))}case W.CELL_RANGE:{if(!this.rangeSpansOneSheet(e))return new ln(Hr.REF,xe.RangeManySheets);const r=En.fromCellRange(e,t.formulaAddress),n=this.dependencyGraph.getArray(r);if(n){const e=n.array;if(e instanceof yr)throw new Error("Array should be already computed");if(e instanceof ln)return e;if(e instanceof Er)return Dt.fromRange(e.raw(),r,this.dependencyGraph);throw new Error("Unknown array")}return Dt.onlyRange(r,this.dependencyGraph)}case W.COLUMN_RANGE:{if(!this.rangeSpansOneSheet(e))return new ln(Hr.REF,xe.RangeManySheets);const r=Cn.fromColumnRange(e,t.formulaAddress);return Dt.onlyRange(r,this.dependencyGraph)}case W.ROW_RANGE:{if(!this.rangeSpansOneSheet(e))return new ln(Hr.REF,xe.RangeManySheets);const r=Sn.fromRowRangeAst(e,t.formulaAddress);return Dt.onlyRange(r,this.dependencyGraph)}case W.PARENTHESIS:return this.evaluateAst(e.expression,t);case W.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(Hr.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(Hr.REF,xe.SizeMismatch);n.push(...a)}}return Dt.onlyValues(n)}case W.ERROR_WITH_RAW_INPUT:case W.ERROR:return e.error}}rangeSpansOneSheet(e){return e.start.sheet===e.end.sheet}unaryRangeWrapper(e,t,r){var n;if(t instanceof Dt&&!r.arraysFlag&&(t=null!==(n=Xn(t,r))&&void 0!==n?n:new ln(Hr.VALUE,xe.ScalarExpected)),t instanceof ln)return t;if(t instanceof Dt){const r=t.data.map(t=>t.map(e));return Dt.onlyValues(r)}return e(t)}binaryRangeWrapper(e,t,r,n){var i,a;if(t instanceof Dt&&!n.arraysFlag&&(t=null!==(i=Xn(t,n))&&void 0!==i?i:new ln(Hr.VALUE,xe.ScalarExpected)),t instanceof ln)return t;if(r instanceof Dt&&!n.arraysFlag&&(r=null!==(a=Xn(r,n))&&void 0!==a?a:new ln(Hr.VALUE,xe.ScalarExpected)),r instanceof ln)return r;if(t instanceof Dt||r instanceof Dt){if(!(t instanceof Dt)){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 Dt.onlyValues(n)}t=Dt.fromScalar(t)}if(!(r instanceof Dt)){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 Dt.onlyValues(n)}r=Dt.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 Dt.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 Dt.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,c=1!==r.width()?l:0;i<t.height()&&s<r.height()&&n<t.width()&&c<r.width()?a[o][l]=e(t.data[i][n],r.data[s][c]):a[o][l]=new ln(Hr.NA)}}return Dt.onlyValues(a)}return e(t,r)}}function Yo(e,t){return t instanceof ln?t:e(t)}function Wo(e,t,r){return t instanceof ln?t:r instanceof ln?r:e(t,r)}function Qo(e,t){return e instanceof ln&&void 0!==t?e.attachRootVertex(t):e}
  954. /**
  955. * @license
  956. * Copyright (c) 2024 Handsoncode. All rights reserved.
  957. */class zo{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}}
  958. /**
  959. * @license
  960. * Copyright (c) 2024 Handsoncode. All rights reserved.
  961. */class qo{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 zo(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)}}}
  962. /**
  963. * @license
  964. * Copyright (c) 2024 Handsoncode. All rights reserved.
  965. */const Go=-1;function Ko(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=>yt(a.getCellValue(pn(t.sheet,e,t.start.row))):e=>yt(a.getCellValue(pn(t.sheet,t.start.col,e))),c="asc"===n?(e,t)=>$o(e,t):(e,t)=>-$o(e,t),u=Xo(t=>c(e,l(t))>=0,o,s),d=l(u);return u===Go||typeof d!==typeof e||i&&d!==e?Go:u-o}function Xo(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:Go}function $o(e,t){return typeof e===typeof t?e===wt?0:e<t?-1:e>t?1:0:e===wt?-1:t===wt?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}
  966. /**
  967. * @license
  968. * Copyright (c) 2024 Handsoncode. All rights reserved.
  969. */class Zo{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(yt(r[i])))return i;return-1}basicFind(e,t,r,{ordering:n,matchExactly:i}){const a="string"===typeof e?Kn(e):e,o=t.range;return void 0===o?this.findNormalizedValue(a,t.valuesFromTopLeftCorner()):"none"===n?this.findNormalizedValue(a,this.dependencyGraph.computeListOfValuesInRange(o)):Ko(a,o,{searchCoordinate:r,orderingDirection:n,matchExactly:i},this.dependencyGraph)}findNormalizedValue(e,t){return t.map(yt).map(e=>"string"===typeof e?Kn(e):e).indexOf(e)}}
  970. /**
  971. * @license
  972. * Copyright (c) 2024 Handsoncode. All rights reserved.
  973. */class Jo extends Zo{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)}}
  974. /**
  975. * @license
  976. * Copyright (c) 2024 Handsoncode. All rights reserved.
  977. */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 Jo(e)}add(e,t){if(!(e===wt||e instanceof ln))if(e instanceof Dt)for(const[r,n]of e.entriesFromTopLeftCorner(t))this.addSingleCellValue(yt(r),n);else this.addSingleCellValue(e,t)}remove(e,t){if(void 0!==e)if(e instanceof Dt)for(const[r,n]of e.entriesFromTopLeftCorner(t))this.removeSingleValue(yt(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(yt(t.oldValue),yt(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?Kn(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 Da||t instanceof Ha));for(const o of a)o instanceof Da?this.addRows(t,o.rowsSpan,r):o instanceof Ha&&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=Kn(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=Kn(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}
  978. /**
  979. * @license
  980. * Copyright (c) 2024 Handsoncode. All rights reserved.
  981. */function rs(e,t,r){return t.useColumnIndex?new es(e,t,r):new Jo(e)}
  982. /**
  983. * @license
  984. * Copyright (c) 2024 Handsoncode. All rights reserved.
  985. */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)}}
  986. /**
  987. * @license
  988. * Copyright (c) 2024 Handsoncode. All rights reserved.
  989. */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 Mr){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 Kr)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 ct(e,ot(e),this.dependencyGraph.sheetMapping.fetchDisplayName,t);return new is(this.dependencyGraph,r,this.exporter)}}
  990. /**
  991. * @license
  992. * Copyright (c) 2024 Handsoncode. All rights reserved.
  993. */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(Ur.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 Ut:new Ht)){n.start(Lt.BUILD_ENGINE_TOTAL);const i=new La,a=new Bo(e),o=new qo(n),s=zr.buildEmpty(o,e,a,i,n),l=rs(s,e,n),c=s.sheetMapping,u=s.addressMapping;for(const M in t)if(Object.prototype.hasOwnProperty.call(t,M)){const r=t[M];Ya(r);const n=Wa(r);if(n.height>e.maxRows||n.width>e.maxColumns)throw new Qt;const i=c.addSheet(M);u.autoAddSheet(i,n)}const d=new dt(e,a,c.get);o.parser=d;const h=new ct(e,ot(e),c.fetchDisplayName,i),p=new ki(e),f=new ns(e),m=new Nn(e,p,f),A=new Ma(e,p,f),g=new ni(e,a),_=new Ka(e,s,l,A,d,n,o,i,g),v=new yo(e,_);o.undoRedo=v;const b=new Ta(e,s,_),w=new Eo(e,_,v,b,s,l,d,A,o,i);r.forEach(e=>{w.ensureItIsPossibleToAddNamedExpression(e.name,e.expression,e.scope),w.operations.addNamedExpression(e.name,e.expression,e.scope,e.options)});const y=new Oo(e,i,c.fetchDisplayName,o),E=new is(s,h,y),C=new Vo(e,s,l,n,m,a,i,E,g,p);n.measure(Lt.GRAPH_BUILD,()=>{const e=new No(s,l,d,A,n,g);e.buildGraph(t,n)});const S=new Mo(e,n,C,o,s,l);return S.run(),n.end(Lt.BUILD_ENGINE_TOTAL),{config:e,stats:n,dependencyGraph:s,columnSearch:l,parser:d,unparser:h,cellContentParser:A,evaluator:S,lazilyTransformingAstService:o,crudOperations:w,exporter:y,namedExpressions:i,serialization:E,functionRegistry:a}}}
  994. /**
  995. * @license
  996. * Copyright (c) 2024 Handsoncode. All rights reserved.
  997. */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,cs=r("c0e2");
  998. /**
  999. * @license
  1000. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1001. */(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 us extends cs["TinyEmitter"]{emit(e,...t){return super.emit(e,...t),this}}
  1002. /**
  1003. * @license
  1004. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1005. */class ds{constructor(e,t,r,n,i,a,o,s,l,c,u,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=c,this._exporter=u,this._namedExpressions=d,this._serialization=h,this._functionRegistry=p,this._emitter=new us,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){ui(e,"string","languageCode");const t=this.registeredLanguages.get(e);if(void 0===t)throw new hr;return t}static registerLanguage(e,t){if(ui(e,"string","languageCode"),this.registeredLanguages.has(e))throw new pr;this.registeredLanguages.set(e,jr(t))}static unregisterLanguage(e){if(ui(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){Bo.registerFunctionPlugin(e,t)}static unregisterFunctionPlugin(e){Bo.unregisterFunctionPlugin(e)}static registerFunction(e,t,r){ui(e,"string","functionId"),Bo.registerFunction(e,t,r)}static unregisterFunction(e){ui(e,"string","functionId"),Bo.unregisterFunction(e)}static unregisterAllFunctions(){Bo.unregisterAll()}static getRegisteredFunctionNames(e){ui(e,"string","code");const t=Bo.getRegisteredFunctionIds(),r=this.getLanguage(e);return r.getFunctionTranslations(t)}static getFunctionPlugin(e){return ui(e,"string","functionId"),Bo.getFunctionPlugin(e)}static getAllFunctionPlugins(){return Bo.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(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellValue(e)}getCellFormula(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return this._serialization.getCellFormula(e)}getCellHyperlink(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellHyperlink(e)}getCellSerialized(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellSerialized(e)}getSheetValues(e){return ui(e,"number","sheetId"),this.ensureEvaluationIsNotSuspended(),this._serialization.getSheetValues(e)}getSheetFormulas(e){return ui(e,"number","sheetId"),this._serialization.getSheetFormulas(e)}getSheetSerialized(e){return ui(e,"number","sheetId"),this.ensureEvaluationIsNotSuspended(),this._serialization.getSheetSerialized(e)}getAllSheetsDimensions(){return this._serialization.genericAllSheetsGetter(e=>this.getSheetDimensions(e))}getSheetDimensions(e){return ui(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(gn(e))t=new En(e,e);else{if(!wn(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 ui(e,"number","sheetId"),this._crudOperations.setRowOrder(e,t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToSwapRowIndexes(e,t){ui(e,"number","sheetId");try{return this._crudOperations.validateSwapRowIndexes(e,t),this._crudOperations.testRowOrderForArrays(e,t),!0}catch(r){return!1}}setRowOrder(e,t){ui(e,"number","sheetId");const r=this._crudOperations.mappingFromOrder(e,t,"row");return this.swapRowIndexes(e,r)}isItPossibleToSetRowOrder(e,t){ui(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 ui(e,"number","sheetId"),this._crudOperations.setColumnOrder(e,t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToSwapColumnIndexes(e,t){ui(e,"number","sheetId");try{return this._crudOperations.validateSwapColumnIndexes(e,t),this._crudOperations.testColumnOrderForArrays(e,t),!0}catch(r){return!1}}setColumnOrder(e,t){ui(e,"number","sheetId");const r=this._crudOperations.mappingFromOrder(e,t,"column");return this.swapColumnIndexes(e,r)}isItPossibleToSetColumnOrder(e,t){ui(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){ui(e,"number","sheetId");const r=$a(t);try{return this._crudOperations.ensureItIsPossibleToAddRows(e,...r),!0}catch(n){return!1}}addRows(e,...t){return ui(e,"number","sheetId"),this._crudOperations.addRows(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToRemoveRows(e,...t){ui(e,"number","sheetId");const r=Xa(t);try{return this._crudOperations.ensureItIsPossibleToRemoveRows(e,...r),!0}catch(n){return!1}}removeRows(e,...t){return ui(e,"number","sheetId"),this._crudOperations.removeRows(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToAddColumns(e,...t){ui(e,"number","sheetId");const r=$a(t);try{return this._crudOperations.ensureItIsPossibleToAddColumns(e,...r),!0}catch(n){return!1}}addColumns(e,...t){return ui(e,"number","sheetId"),this._crudOperations.addColumns(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToRemoveColumns(e,...t){ui(e,"number","sheetId");const r=Xa(t);try{return this._crudOperations.ensureItIsPossibleToRemoveColumns(e,...r),!0}catch(n){return!1}}removeColumns(e,...t){return ui(e,"number","sheetId"),this._crudOperations.removeColumns(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveCells(e,t){if(!gn(t))throw new ir("SimpleCellAddress","destinationLeftCorner");if(!wn(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(!gn(t))throw new ir("SimpleCellAddress","destinationLeftCorner");if(!wn(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){ui(e,"number","sheetId"),ui(t,"number","startRow"),ui(r,"number","numberOfRows"),ui(n,"number","targetRow");try{return this._crudOperations.ensureItIsPossibleToMoveRows(e,t,r,n),!0}catch(i){return!1}}moveRows(e,t,r,n){return ui(e,"number","sheetId"),ui(t,"number","startRow"),ui(r,"number","numberOfRows"),ui(n,"number","targetRow"),this._crudOperations.moveRows(e,t,r,n),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveColumns(e,t,r,n){ui(e,"number","sheetId"),ui(t,"number","startColumn"),ui(r,"number","numberOfColumns"),ui(n,"number","targetColumn");try{return this._crudOperations.ensureItIsPossibleToMoveColumns(e,t,r,n),!0}catch(i){return!1}}moveColumns(e,t,r,n){return ui(e,"number","sheetId"),ui(t,"number","startColumn"),ui(r,"number","numberOfColumns"),ui(n,"number","targetColumn"),this._crudOperations.moveColumns(e,t,r,n),this.recomputeIfDependencyGraphNeedsIt()}copy(e){if(!wn(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(!wn(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(!gn(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(!wn(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(!wn(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(!wn(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(!wn(e))throw new ir("SimpleCellRange","source");if(!wn(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){ui(e,"string","sheetName");try{return this._crudOperations.ensureItIsPossibleToAddSheet(e),!0}catch(t){return!1}}addSheet(e){void 0!==e&&ui(e,"string","sheetName");const t=this._crudOperations.addSheet(e);return this._emitter.emit(ls.SheetAdded,t),t}isItPossibleToRemoveSheet(e){ui(e,"number","sheetId");try{return this._crudOperations.ensureScopeIdIsValid(e),!0}catch(t){return!1}}removeSheet(e){ui(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){ui(e,"number","sheetId");try{return this._crudOperations.ensureScopeIdIsValid(e),!0}catch(t){return!1}}clearSheet(e){return ui(e,"number","sheetId"),this._crudOperations.clearSheet(e),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToReplaceSheetContent(e,t){ui(e,"number","sheetId");try{return this._crudOperations.ensureScopeIdIsValid(e),this._crudOperations.ensureItIsPossibleToChangeSheetContents(e,t),!0}catch(r){return!1}}setSheetContent(e,t){return ui(e,"number","sheetId"),this._crudOperations.setSheetContent(e,t),this.recomputeIfDependencyGraphNeedsIt()}simpleCellAddressFromString(e,t){return ui(e,"string","cellAddress"),ui(t,"number","sheetId"),I(this.sheetMapping.get,e,t)}simpleCellRangeFromString(e,t){return ui(e,"string","cellRange"),ui(t,"number","sheetId"),k(this.sheetMapping.get,e,t)}simpleCellAddressToString(e,t){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return ui(t,"number","sheetId"),B(this.sheetMapping.fetchDisplayName,e,t)}simpleCellRangeToString(e,t){if(!wn(e))throw new ir("SimpleCellRange","cellRange");return ui(t,"number","sheetId"),D(this.sheetMapping.fetchDisplayName,e,t)}getCellDependents(e){let t;if(gn(e))t=this._dependencyGraph.addressMapping.getCell(e);else{if(!wn(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(gn(e))t=this._dependencyGraph.addressMapping.getCell(e);else{if(!wn(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 ui(e,"number","sheetId"),this.sheetMapping.getDisplayName(e)}getSheetNames(){return this.sheetMapping.sheetNames()}getSheetId(e){return ui(e,"string","sheetName"),this.sheetMapping.get(e)}doesSheetExist(e){return ui(e,"string","sheetName"),this.sheetMapping.hasSheetWithName(e)}getCellType(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");const t=this.dependencyGraph.getCell(e);return Zr(t,e)}doesCellHaveSimpleValue(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return this.getCellType(e)===Vr.VALUE}doesCellHaveFormula(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");const t=this.getCellType(e);return t===Vr.FORMULA||t===Vr.ARRAYFORMULA}isCellEmpty(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");return this.getCellType(e)===Vr.EMPTY}isCellPartOfArray(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");const t=this.getCellType(e);return t===Vr.ARRAY||t===Vr.ARRAYFORMULA}getCellValueType(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return an(t)}getCellValueDetailedType(e){if(!gn(e))throw new ir("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return on(t)}getCellValueFormat(e){if(!gn(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){ui(e,"number","sheetId"),ui(t,"string","newName");try{return this._crudOperations.ensureItIsPossibleToRenameSheet(e,t),!0}catch(r){return!1}}renameSheet(e,t){ui(e,"number","sheetId"),ui(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){ui(e,"string","expressionName"),void 0!==r&&ui(r,"number","scope");try{return this._crudOperations.ensureItIsPossibleToAddNamedExpression(e,t,r),!0}catch(n){return!1}}addNamedExpression(e,t,r,n){ui(e,"string","expressionName"),void 0!==r&&ui(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){ui(e,"string","expressionName"),void 0!==t&&ui(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){ui(e,"string","expressionName"),void 0!==t&&ui(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){ui(e,"string","expressionName"),void 0!==t&&ui(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){ui(e,"string","expressionName"),void 0!==r&&ui(r,"number","scope");try{return this._crudOperations.ensureItIsPossibleToChangeNamedExpression(e,t,r),!0}catch(n){return!1}}changeNamedExpression(e,t,r,n){return ui(e,"string","expressionName"),void 0!==r&&ui(r,"number","scope"),this._crudOperations.changeNamedExpressionExpression(e,r,t,n),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToRemoveNamedExpression(e,t){ui(e,"string","expressionName"),void 0!==t&&ui(t,"number","scope");try{return this._crudOperations.isItPossibleToRemoveNamedExpression(e,t),!0}catch(r){return!1}}removeNamedExpression(e,t){ui(e,"string","expressionName"),void 0!==t&&ui(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&&ui(e,"number","scope"),this._crudOperations.ensureScopeIdIsValid(e),this._namedExpressions.getAllNamedExpressionsNamesInScope(e)}getAllNamedExpressionsSerialized(){return this._serialization.getAllNamedExpressionsSerialized()}normalizeFormula(e){ui(e,"string","formulaString");const{ast:t,address:r}=this.extractTemporaryFormula(e);if(void 0===t)throw new zt;return this._unparser.unparse(t,r)}calculateFormula(e,t){ui(e,"string","formulaString"),ui(t,"number","sheetId"),this._crudOperations.ensureScopeIdIsValid(t);const{ast:r,address:n,dependencies:i}=this.extractTemporaryFormula(e,t);if(void 0===r)throw new zt;const a=this.evaluator.runAndForget(r,n,i);return this._exporter.exportScalarOrRange(a)}getNamedExpressionsFromFormula(e){ui(e,"string","formulaString");const{ast:t,dependencies:r}=this.extractTemporaryFormula(e);if(void 0===t)throw new zt;const n=r.filter(e=>e instanceof _t).map(e=>e.name),i=[...new Set(n)];return i}validateFormula(e){ui(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 ui(e,"string","functionId"),this._functionRegistry.getFunctionPlugin(e)}getAllFunctionPlugins(){return this._functionRegistry.getPlugins()}numberToDateTime(e){return ui(e,"number","val"),this._evaluator.interpreter.dateTimeHelper.numberToSimpleDateTime(e)}numberToDate(e){return ui(e,"number","val"),this._evaluator.interpreter.dateTimeHelper.numberToSimpleDate(e)}numberToTime(e){return ui(e,"number","val"),Ui(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 cr}extractTemporaryFormula(e,t=1){const r=this._cellContentParser.parse(e),n={sheet:t,col:0,row:0};if(!(r instanceof ba.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.1",ds.buildDate="18/07/2024 11:23:17",ds.releaseDate="18/07/2024",ds.languages={},ds.registeredLanguages=new Map;
  1006. /**
  1007. * @license
  1008. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1009. */
  1010. 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:c,decimalSeparator:u,evaluateNullToZero:d,functionArgSeparator:h,functionPlugins:p,ignorePunctuation:f,leapYear1900:m,localeLang:A,language:g,ignoreWhiteSpace:_,licenseKey:v,matchWholeCell:b,arrayColumnSeparator:w,arrayRowSeparator:y,maxRows:E,maxColumns:C,nullYear:S,nullDate:M,parseDateTime:x,precisionEpsilon:T,precisionRounding:O,stringifyDateTime:N,stringifyDuration:R,smartRounding:L,timeFormats:I,thousandSeparator:k,useArrayArithmetic:B,useStats:D,undoLimit:F,useColumnIndex:P,useRegularExpressions:j,useWildcards:U}=e;t&&ps.warnDeprecatedOptions(e),this.useArrayArithmetic=ai(B,"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(c,Array.isArray,"array","dateFormats")],this.timeFormats=[...li(I,Array.isArray,"array","timeFormats")],this.functionArgSeparator=ai(h,"string","functionArgSeparator"),this.decimalSeparator=ai(u,[".",","],"decimalSeparator"),this.language=ai(g,"string","language"),this.ignoreWhiteSpace=ai(_,["standard","any"],"ignoreWhiteSpace"),this.licenseKey=ai(v,"string","licenseKey"),this.thousandSeparator=ai(k,["",","," ","."],"thousandSeparator"),this.arrayColumnSeparator=ai(w,[",",";"],"arrayColumnSeparator"),this.arrayRowSeparator=ai(y,[";","|"],"arrayRowSeparator"),this.localeLang=ai(A,"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(S,"number","nullYear"),oi(this.nullYear,"nullYear",0),si(this.nullYear,"nullYear",100),this.precisionRounding=ai(O,"number","precisionRounding"),oi(this.precisionRounding,"precisionRounding",0),this.precisionEpsilon=ai(T,"number","precisionEpsilon"),oi(this.precisionEpsilon,"precisionEpsilon",0),this.useColumnIndex=ai(P,"boolean","useColumnIndex"),this.useStats=ai(D,"boolean","useStats"),this.binarySearchThreshold=null!==n&&void 0!==n?n:ps.defaultConfig.binarySearchThreshold,this.parseDateTime=ai(x,"function","parseDateTime"),this.stringifyDateTime=ai(N,"function","stringifyDateTime"),this.stringifyDuration=ai(R,"function","stringifyDuration"),this.translationPackage=ds.getLanguage(this.language),this.errorMapping=this.translationPackage.buildErrorMapping(),this.nullDate=li(M,Ri,"IDate","nullDate"),this.leapYear1900=ai(m,"boolean","leapYear1900"),this.undoLimit=ai(F,"number","undoLimit"),this.useRegularExpressions=ai(j,"boolean","useRegularExpressions"),this.useWildcards=ai(U,"boolean","useWildcards"),this.matchWholeCell=ai(b,"boolean","matchWholeCell"),oi(this.undoLimit,"undoLimit",0),this.maxRows=ai(E,"number","maxRows"),oi(this.maxRows,"maxRows",1),this.maxColumns=ai(C,"number","maxColumns"),this.currencySymbol=this.setupCurrencySymbol(l),oi(this.maxColumns,"maxColumns",1),this.context=s,hs.set(this,{licenseKeyValidityState:_a(this.licenseKey)}),ci({value:this.decimalSeparator,name:"decimalSeparator"},{value:this.functionArgSeparator,name:"functionArgSeparator"},{value:this.thousandSeparator,name:"thousandSeparator"}),ci({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({})}
  1011. /**
  1012. * @license
  1013. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1014. */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:vi,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 As={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 gs,_s=As;
  1015. /**
  1016. * @license
  1017. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1018. */(function(e){e[e["FullyAbsolute"]=1]="FullyAbsolute",e[e["RowAbsoluteColRelative"]=2]="RowAbsoluteColRelative",e[e["RowRelativeColAbsolute"]=3]="RowRelativeColAbsolute",e[e["FullyRelative"]=4]="FullyRelative"})(gs||(gs={}));class vs extends Jn{verifyAddressArguments(e,t,r,n){if(n){if(e<1||t<1)return new ln(Hr.VALUE,xe.LessThanOne)}else if(gs.FullyAbsolute==r){if(e<1||t<1)return new ln(Hr.VALUE,xe.LessThanOne)}else if(gs.RowAbsoluteColRelative==r){if(e<1)return new ln(Hr.VALUE,xe.LessThanOne)}else if(gs.RowRelativeColAbsolute==r&&t<1)return new ln(Hr.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=P(t-1);let s="";void 0!==i&&null!==i&&(s=i+"!");const l=0==t?"C":`C[${t}]`,c=0==e?"R":`R[${e}]`;return gs.FullyRelative==r?n?`${s}${o}${e}`:`${s}${c}${l}`:gs.RowRelativeColAbsolute==r?n?`${s}$${o}${e}`:`${s}${c}C${t}`:gs.RowAbsoluteColRelative==r?n?`${s}${o}$${e}`:`${s}R${e}${l}`:n?`${s}$${o}$${e}`:`${s}R${e}C${t}`})}}vs.implementedFunctions={ADDRESS:{method:"address",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0,defaultValue:1,minValue:1,maxValue:4},{argumentType:Zn.BOOLEAN,optionalArg:!0,defaultValue:!0},{argumentType:Zn.STRING,optionalArg:!0}]}};
  1019. /**
  1020. * @license
  1021. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1022. */
  1023. class bs extends Jn{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 Mn(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 Dt.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 Mn(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===W.NUMBER&&(i=Math.min(i,e.args[1].value)),e.args[2].type===W.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(Hr.NA,xe.EqualLength);if(e.width()>1&&e.height()>1)return new ln(Hr.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=Bn(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?Dt.onlyValues(n):new ln(Hr.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 Mn(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)}}bs.implementedFunctions={ARRAYFORMULA:{method:"arrayformula",arraySizeMethod:"arrayformulaArraySize",arrayFunction:!0,parameters:[{argumentType:Zn.ANY}]},ARRAY_CONSTRAIN:{method:"arrayconstrain",arraySizeMethod:"arrayconstrainArraySize",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.INTEGER,minValue:1},{argumentType:Zn.INTEGER,minValue:1}],vectorizationForbidden:!0},FILTER:{method:"filter",arraySizeMethod:"filterArraySize",arrayFunction:!0,parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}],repeatLastArgs:1}};
  1024. /**
  1025. * @license
  1026. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1027. */
  1028. class ws extends Jn{abs(e,t){return this.runFunction(e.args,t,this.metadata("ABS"),Math.abs)}}ws.implementedFunctions={ABS:{method:"abs",parameters:[{argumentType:Zn.NUMBER}]}};
  1029. /**
  1030. * @license
  1031. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1032. */
  1033. const ys=0xffffffffffff,Es=-53,Cs=53;class Ss extends Jn{bitlshift(e,t){return this.runFunction(e.args,t,this.metadata("BITLSHIFT"),Ms)}bitrshift(e,t){return this.runFunction(e.args,t,this.metadata("BITRSHIFT"),xs)}}function Ms(e,t){return t<0?xs(e,-t):Ts(e*Math.pow(2,t))}function xs(e,t){return t<0?Ms(e,-t):Ts(Math.floor(e/Math.pow(2,t)))}function Ts(e){return e>ys?new ln(Hr.NUM,xe.BitshiftLong):e}
  1034. /**
  1035. * @license
  1036. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1037. */Ss.implementedFunctions={BITLSHIFT:{method:"bitlshift",parameters:[{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:Es,maxValue:Cs}]},BITRSHIFT:{method:"bitrshift",parameters:[{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:Es,maxValue:Cs}]}};class Os extends Jn{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)}}Os.implementedFunctions={BITAND:{method:"bitand",parameters:[{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:0}]},BITOR:{method:"bitor",parameters:[{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:0}]},BITXOR:{method:"bitxor",parameters:[{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:0}]}};
  1038. /**
  1039. * @license
  1040. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1041. */
  1042. class Ns extends Jn{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(Hr.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(Hr.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===Hr.NA?t:e)}choose(e,t){return this.runFunction(e.args,t,this.metadata("CHOOSE"),(e,...t)=>e>t.length?new ln(Hr.NUM,xe.Selector):t[e-1])}}Ns.implementedFunctions={TRUE:{method:"literalTrue",parameters:[]},FALSE:{method:"literalFalse",parameters:[]},IF:{method:"conditionalIf",parameters:[{argumentType:Zn.BOOLEAN},{argumentType:Zn.SCALAR,passSubtype:!0},{argumentType:Zn.SCALAR,defaultValue:!1,passSubtype:!0}]},IFS:{method:"ifs",parameters:[{argumentType:Zn.BOOLEAN},{argumentType:Zn.SCALAR,passSubtype:!0}],repeatLastArgs:2},AND:{method:"and",parameters:[{argumentType:Zn.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},OR:{method:"or",parameters:[{argumentType:Zn.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},XOR:{method:"xor",parameters:[{argumentType:Zn.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},NOT:{method:"not",parameters:[{argumentType:Zn.BOOLEAN}]},SWITCH:{method:"switch",parameters:[{argumentType:Zn.NOERROR},{argumentType:Zn.SCALAR,passSubtype:!0},{argumentType:Zn.SCALAR,passSubtype:!0}],repeatLastArgs:1},IFERROR:{method:"iferror",parameters:[{argumentType:Zn.SCALAR,passSubtype:!0},{argumentType:Zn.SCALAR,passSubtype:!0}]},IFNA:{method:"ifna",parameters:[{argumentType:Zn.SCALAR,passSubtype:!0},{argumentType:Zn.SCALAR,passSubtype:!0}]},CHOOSE:{method:"choose",parameters:[{argumentType:Zn.INTEGER,minValue:1},{argumentType:Zn.SCALAR,passSubtype:!0}],repeatLastArgs:1}};
  1043. /**
  1044. * @license
  1045. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1046. */
  1047. class Rs extends Jn{char(e,t){return this.runFunction(e.args,t,this.metadata("CHAR"),e=>e<1||e>=256?new ln(Hr.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(Hr.VALUE,xe.CharacterCodeBounds):String.fromCodePoint(Math.trunc(e)))}}Rs.implementedFunctions={CHAR:{method:"char",parameters:[{argumentType:Zn.NUMBER}]},UNICHAR:{method:"unichar",parameters:[{argumentType:Zn.NUMBER}]}};
  1048. /**
  1049. * @license
  1050. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1051. */
  1052. class Ls extends Jn{code(e,t){return this.runFunction(e.args,t,this.metadata("CODE"),e=>0===e.length?new ln(Hr.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(Hr.VALUE,xe.EmptyString)})}}Ls.implementedFunctions={CODE:{method:"code",parameters:[{argumentType:Zn.STRING}]},UNICODE:{method:"unicode",parameters:[{argumentType:Zn.STRING}]}};
  1053. /**
  1054. * @license
  1055. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1056. */
  1057. class Is extends Jn{countblank(e,t){return this.runFunction(e.args,t,this.metadata("COUNTBLANK"),(...e)=>{let t=0;return e.forEach(e=>{e===wt&&t++}),t})}}Is.implementedFunctions={COUNTBLANK:{method:"countblank",parameters:[{argumentType:Zn.SCALAR}],repeatLastArgs:1,expandRanges:!0}};
  1058. /**
  1059. * @license
  1060. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1061. */
  1062. class ks extends Jn{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})}}ks.implementedFunctions={COUNTUNIQUE:{method:"countunique",parameters:[{argumentType:Zn.SCALAR}],repeatLastArgs:1,expandRanges:!0}};
  1063. /**
  1064. * @license
  1065. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1066. */
  1067. class Bs extends Jn{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(Hr.NUM,xe.DateBounds):e}return new ln(Hr.VALUE,xe.InvalidDate)})}time(e,t){return this.runFunction(e.args,t,this.metadata("TIME"),(e,t,r)=>{const n=Hi({hours:Math.trunc(e),minutes:Math.trunc(t),seconds:Math.trunc(r)});return n<0?new ln(Hr.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(Di(r,t)));return n=this.dateTimeHelper.getWithinBounds(n),void 0===n?new ln(Hr.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=>Ui(Pi(e)%1).hours)}minute(e,t){return this.runFunction(e.args,t,this.metadata("MINUTE"),e=>Ui(Pi(e)%1).minutes)}second(e,t){return this.runFunction(e.args,t,this.metadata("SECOND"),e=>Ui(Pi(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=Ps.get(t);return void 0===n?new ln(Hr.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=Ps.get(t);return void 0===o?new ln(Hr.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(Hr.VALUE,xe.IncorrectDateTime):Ri(t)?(Li(t)?Math.trunc(Hi(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(Hr.VALUE,xe.IncorrectDateTime):yt(t)%1})}now(e,t){return this.runFunction(e.args,t,this.metadata("NOW"),()=>{const e=new Date(Date.now());return Hi({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=Fi(Di(r,t));let i=this.dateTimeHelper.dateToNumber(n);return i=this.dateTimeHelper.getWithinBounds(i),void 0===i?new ln(Hr.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(Hr.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(Hr.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=Fs(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=Fs(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-=Ds(t+1,n)-Ds(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!==wt){if(!Nt(a))return new ln(Hr.VALUE,xe.WrongType);i.push(Math.trunc(yt(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 Ds(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 Fs(e){var t;return"number"!==typeof e&&"string"!==typeof e?new ln(Hr.VALUE,xe.WrongType):"string"===typeof e?7===e.length&&/^(0|1)*$/.test(e)&&"1111111"!==e?e:new ln(Hr.NUM,xe.WeekendString):null!==(t=js.get(e))&&void 0!==t?t:new ln(Hr.NUM,xe.BadMode)}Bs.implementedFunctions={DATE:{method:"date",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_DATE},TIME:{method:"time",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_TIME},MONTH:{method:"month",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},YEAR:{method:"year",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},HOUR:{method:"hour",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},MINUTE:{method:"minute",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},SECOND:{method:"second",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},TEXT:{method:"text",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.STRING}]},EOMONTH:{method:"eomonth",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_DATE},DAY:{method:"day",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},DAYS:{method:"days",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0}]},WEEKDAY:{method:"weekday",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,defaultValue:1}]},WEEKNUM:{method:"weeknum",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,defaultValue:1}]},ISOWEEKNUM:{method:"isoweeknum",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},DATEVALUE:{method:"datevalue",parameters:[{argumentType:Zn.STRING}],returnNumberType:Rt.NUMBER_DATE},TIMEVALUE:{method:"timevalue",parameters:[{argumentType:Zn.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:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_DATE},DAYS360:{method:"days360",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.BOOLEAN,defaultValue:!1}]},DATEDIF:{method:"datedif",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.STRING}]},YEARFRAC:{method:"yearfrac",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.INTEGER,defaultValue:0,minValue:0,maxValue:4}]},INTERVAL:{method:"interval",parameters:[{argumentType:Zn.NUMBER,minValue:0}]},NETWORKDAYS:{method:"networkdays",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.RANGE,optionalArg:!0}]},"NETWORKDAYS.INTL":{method:"networkdaysintl",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NOERROR,defaultValue:1},{argumentType:Zn.RANGE,optionalArg:!0}]},WORKDAY:{method:"workday",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER},{argumentType:Zn.RANGE,optionalArg:!0}]},"WORKDAY.INTL":{method:"workdayintl",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER},{argumentType:Zn.NOERROR,defaultValue:1},{argumentType:Zn.RANGE,optionalArg:!0}]}};const Ps=new Map([[1,0],[2,1],[11,1],[12,2],[13,3],[14,4],[15,5],[16,6],[17,0]]),js=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"]]);
  1068. /**
  1069. * @license
  1070. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1071. */
  1072. class Us extends Jn{degrees(e,t){return this.runFunction(e.args,t,this.metadata("DEGREES"),e=>e*(180/Math.PI))}}Us.implementedFunctions={DEGREES:{method:"degrees",parameters:[{argumentType:Zn.NUMBER}]}};
  1073. /**
  1074. * @license
  1075. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1076. */
  1077. class Hs extends Jn{delta(e,t){return this.runFunction(e.args,t,this.metadata("DELTA"),(e,t)=>e===t?1:0)}}Hs.implementedFunctions={DELTA:{method:"delta",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0}]}};
  1078. /**
  1079. * @license
  1080. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1081. */
  1082. class Vs extends Jn{exp(e,t){return this.runFunction(e.args,t,this.metadata("EXP"),Math.exp)}}Vs.implementedFunctions={EXP:{method:"exp",parameters:[{argumentType:Zn.NUMBER}]}};
  1083. /**
  1084. * @license
  1085. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1086. */
  1087. class Ys extends Jn{pmt(e,t){return this.runFunction(e.args,t,this.metadata("PMT"),Ws)}ipmt(e,t){return this.runFunction(e.args,t,this.metadata("IPMT"),Qs)}ppmt(e,t){return this.runFunction(e.args,t,this.metadata("PPMT"),qs)}fv(e,t){return this.runFunction(e.args,t,this.metadata("FV"),zs)}cumipmt(e,t){return this.runFunction(e.args,t,this.metadata("CUMIPMT"),(e,t,r,n,i,a)=>{if(n>i)return new ln(Hr.NUM,xe.EndStartPeriod);let o=0;for(let s=n;s<=i;s++)o+=Qs(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(Hr.NUM,xe.EndStartPeriod);let o=0;for(let s=n;s<=i;s++)o+=qs(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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.VALUE);const o=1e-7,s=50;let l=a;i=i?1:0;for(let c=0;c<s;c++){if(l<=-1)return new ln(Hr.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(Hr.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?Hr.NUM:Hr.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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.NUM);const a=360-r*(t-e);return 0===a?0:a<0?new ln(Hr.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(Hr.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(Hr.NUM);const a=360-r*(t-e);return 0===a?0:a<0?new ln(Hr.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(Hr.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(Hr.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(Nt(n))e*=1+yt(n);else if(n!==wt)return new ln(Hr.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:Gs(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(Hr.DIV_BY_ZERO);const l=n.length,c=Gs(r,o);if(c instanceof ln)return c;const u=Gs(t,s);return u instanceof ln?u:Math.pow(-c*Math.pow(1+r,l)/u/(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 c of n)if("number"!==typeof c)return new ln(Hr.VALUE,xe.NumberExpected);const i=n,a=r.valuesFromTopLeftCorner();for(const c of a)if("number"!==typeof c)return new ln(Hr.VALUE,xe.NumberExpected);const o=a;if(o.length!==i.length)return new ln(Hr.NUM,xe.EqualLength);const s=o.length;let l=0;if(o[0]<0)return new ln(Hr.NUM,xe.ValueSmall);for(let c=0;c<s;c++){if(o[c]=Math.floor(o[c]),o[c]<o[0])return new ln(Hr.NUM,xe.ValueSmall);l+=i[c]/Math.pow(1+e,(o[c]-o[0])/365)}return l})}}function Ws(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 Qs(e,t,r,n,i,a){const o=Ws(e,r,n,i,a);return 1===t?e*(a?0:-n):e*(a?zs(e,t-2,o,n,a)-o:zs(e,t-1,o,n,a))}function zs(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 qs(e,t,r,n,i,a){return Ws(e,r,n,i,a)-Qs(e,t,r,n,i,a)}function Gs(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(Hr.DIV_BY_ZERO)}r/=1+e}return r}
  1088. /**
  1089. * @license
  1090. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1091. */Ys.implementedFunctions={PMT:{method:"pmt",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},IPMT:{method:"ipmt",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},PPMT:{method:"ppmt",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},FV:{method:"fv",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},CUMIPMT:{method:"cumipmt",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.INTEGER,minValue:1},{argumentType:Zn.INTEGER,minValue:1},{argumentType:Zn.INTEGER,minValue:0,maxValue:1}],returnNumberType:Rt.NUMBER_CURRENCY},CUMPRINC:{method:"cumprinc",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.INTEGER,minValue:1},{argumentType:Zn.INTEGER,minValue:1},{argumentType:Zn.INTEGER,minValue:0,maxValue:1}],returnNumberType:Rt.NUMBER_CURRENCY},DB:{method:"db",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.INTEGER,minValue:1,maxValue:12,defaultValue:12}],returnNumberType:Rt.NUMBER_CURRENCY},DDB:{method:"ddb",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.INTEGER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0,defaultValue:2}],returnNumberType:Rt.NUMBER_CURRENCY},DOLLARDE:{method:"dollarde",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:0}]},DOLLARFR:{method:"dollarfr",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:0}]},EFFECT:{method:"effect",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1}],returnNumberType:Rt.NUMBER_PERCENT},ISPMT:{method:"ispmt",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},NOMINAL:{method:"nominal",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1}],returnNumberType:Rt.NUMBER_PERCENT},NPER:{method:"nper",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0}]},PV:{method:"pv",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0}],returnNumberType:Rt.NUMBER_CURRENCY},RATE:{method:"rate",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:.1}],returnNumberType:Rt.NUMBER_PERCENT},RRI:{method:"rri",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_PERCENT},SLN:{method:"sln",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_CURRENCY},SYD:{method:"syd",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_CURRENCY},TBILLEQ:{method:"tbilleq",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_PERCENT},TBILLPRICE:{method:"tbillprice",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_CURRENCY},TBILLYIELD:{method:"tbillyield",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0}],returnNumberType:Rt.NUMBER_PERCENT},FVSCHEDULE:{method:"fvschedule",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.RANGE}],returnNumberType:Rt.NUMBER_CURRENCY},NPV:{method:"npv",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.ANY}],repeatLastArgs:1,returnNumberType:Rt.NUMBER_CURRENCY},MIRR:{method:"mirr",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}],returnNumberType:Rt.NUMBER_PERCENT},PDURATION:{method:"pduration",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0}]},XNPV:{method:"xnpv",parameters:[{argumentType:Zn.NUMBER,greaterThan:-1},{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]}};class Ks extends Jn{formulatext(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("FORMULATEXT"),()=>new ln(Hr.NA,xe.WrongArgNumber),e=>{var t;return null!==(t=this.serialization.getCellFormula(e))&&void 0!==t?t:new ln(Hr.NA,xe.Formula)})}}Ks.implementedFunctions={FORMULATEXT:{method:"formulatext",parameters:[{argumentType:Zn.NOERROR}],doesNotNeedArgumentsToBeComputed:!0,isDependentOnSheetStructureChange:!0,vectorizationForbidden:!0}};
  1092. /**
  1093. * @license
  1094. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1095. */
  1096. class Xs extends Jn{hyperlink(e,t){return this.runFunction(e.args,t,this.metadata("HYPERLINK"),(t,r)=>(e.hyperlink=t,null!==r&&void 0!==r?r:t))}}Xs.implementedFunctions={HYPERLINK:{method:"hyperlink",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.STRING,optionalArg:!0}]}};
  1097. /**
  1098. * @license
  1099. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1100. */
  1101. class $s extends Jn{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!==Hr.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(Hr.NA,xe.WrongArgNumber),e=>{const t=this.dependencyGraph.addressMapping.getCell(e);return t instanceof Sr})}isblank(e,t){return this.runFunction(e.args,t,this.metadata("ISBLANK"),e=>e===wt)}isna(e,t){return this.runFunction(e.args,t,this.metadata("ISNA"),e=>e instanceof ln&&e.type==Hr.NA)}isnumber(e,t){return this.runFunction(e.args,t,this.metadata("ISNUMBER"),Nt)}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==Hr.REF||e.type==Hr.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(Hr.NA,xe.WrongArgNumber);if(e.args.some(e=>e.type===W.EMPTY))return new ln(Hr.NUM,xe.EmptyArg);let r=e.args[0];while(r.type===W.PARENTHESIS)r=r.expression;if(r.type===W.CELL_RANGE||r.type===W.COLUMN_RANGE)return r.end.col-r.start.col+1;if(r.type===W.CELL_REFERENCE)return 1;if(r.type===W.ROW_RANGE)return this.config.maxColumns;{const e=this.evaluateAst(r,t);return e instanceof Dt?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(Hr.NA,xe.WrongArgNumber);if(e.args.some(e=>e.type===W.EMPTY))return new ln(Hr.NUM,xe.EmptyArg);let r=e.args[0];while(r.type===W.PARENTHESIS)r=r.expression;if(r.type===W.CELL_RANGE||r.type===W.ROW_RANGE)return r.end.row-r.start.row+1;if(r.type===W.CELL_REFERENCE)return 1;if(r.type===W.COLUMN_RANGE)return this.config.maxRows;{const e=this.evaluateAst(r,t);return e instanceof Dt?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(Hr.VALUE,xe.LessThanOne):r>e.width()||t>e.height()?new ln(Hr.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(Hr.VALUE,xe.CellRangeExpected)})}na(e,t){return new ln(Hr.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(Hr.NA,xe.SheetRef)})}sheets(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("SHEETS"),()=>this.dependencyGraph.sheetMapping.numberOfSheets(),()=>1,()=>new ln(Hr.VALUE,xe.CellRefExpected))}}$s.implementedFunctions={COLUMN:{method:"column",parameters:[{argumentType:Zn.NOERROR,optionalArg:!0}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},COLUMNS:{method:"columns",parameters:[{argumentType:Zn.RANGE}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ISBINARY:{method:"isbinary",parameters:[{argumentType:Zn.STRING}]},ISERR:{method:"iserr",parameters:[{argumentType:Zn.SCALAR}]},ISFORMULA:{method:"isformula",parameters:[{argumentType:Zn.NOERROR}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ISNA:{method:"isna",parameters:[{argumentType:Zn.SCALAR}]},ISREF:{method:"isref",parameters:[{argumentType:Zn.SCALAR}],vectorizationForbidden:!0},ISERROR:{method:"iserror",parameters:[{argumentType:Zn.SCALAR}]},ISBLANK:{method:"isblank",parameters:[{argumentType:Zn.SCALAR}]},ISNUMBER:{method:"isnumber",parameters:[{argumentType:Zn.SCALAR}]},ISLOGICAL:{method:"islogical",parameters:[{argumentType:Zn.SCALAR}]},ISTEXT:{method:"istext",parameters:[{argumentType:Zn.SCALAR}]},ISNONTEXT:{method:"isnontext",parameters:[{argumentType:Zn.SCALAR}]},INDEX:{method:"index",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:1}]},NA:{method:"na",parameters:[]},ROW:{method:"row",parameters:[{argumentType:Zn.NOERROR,optionalArg:!0}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ROWS:{method:"rows",parameters:[{argumentType:Zn.RANGE}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},SHEET:{method:"sheet",parameters:[{argumentType:Zn.STRING}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},SHEETS:{method:"sheets",parameters:[{argumentType:Zn.STRING}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0}};
  1102. /**
  1103. * @license
  1104. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1105. */
  1106. class Zs extends Jn{iseven(e,t){return this.runFunction(e.args,t,this.metadata("ISEVEN"),e=>e%2===0)}}Zs.implementedFunctions={ISEVEN:{method:"iseven",parameters:[{argumentType:Zn.NUMBER}]}};
  1107. /**
  1108. * @license
  1109. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1110. */
  1111. class Js extends Jn{isodd(e,t){return this.runFunction(e.args,t,this.metadata("ISODD"),e=>e%2===1)}}Js.implementedFunctions={ISODD:{method:"isodd",parameters:[{argumentType:Zn.NUMBER}]}};
  1112. /**
  1113. * @license
  1114. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1115. */
  1116. class el extends Jn{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:Zn.NUMBER}]},LOG:{method:"log",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,defaultValue:10,greaterThan:0}]},LN:{method:"ln",parameters:[{argumentType:Zn.NUMBER}]}};
  1117. /**
  1118. * @license
  1119. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1120. */
  1121. const tl=parseFloat(Math.PI.toFixed(14));class rl extends Jn{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))}}
  1122. /**
  1123. * @license
  1124. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1125. */
  1126. 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:Zn.NUMBER,minValue:0}]}};class al extends Jn{mmult(e,t){return this.runFunction(e.args,t,this.metadata("MMULT"),(e,t)=>{if(!e.hasOnlyNumbers()||!t.hasOnlyNumbers())return new ln(Hr.VALUE,xe.NumberRange);if(t.height()!==e.width())return new ln(Hr.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 Dt.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 Mn(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(Hr.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 Dt.onlyNumbers(i)})}medianpool(e,t){return this.runFunction(e.args,t,this.metadata("MEDIANPOOL"),(e,t,r=t)=>{if(!e.hasOnlyNumbers())return new ln(Hr.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,c=a,u=42;for(let d=0;d<32;d++){const r=(l+c)/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){u=r;break}a>s/2?l=r:c=r}else{if(a===(s-1)/2){u=r;break}a>(s-1)/2?l=r:c=r}}return u}),n)(e.rawNumbers(),t,r);return Dt.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 Mn(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===W.NUMBER?a.value:1;let s=o;if(3===e.args.length){const t=e.args[2];s=t.type===W.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 Dt.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 Mn(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:Zn.RANGE},{argumentType:Zn.RANGE}],vectorizationForbidden:!0},TRANSPOSE:{method:"transpose",arraySizeMethod:"transposeArraySize",parameters:[{argumentType:Zn.RANGE}],vectorizationForbidden:!0},MAXPOOL:{method:"maxpool",arraySizeMethod:"maxpoolArraySize",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0}],vectorizationForbidden:!0},MEDIANPOOL:{method:"medianpool",arraySizeMethod:"medianpoolArraySize",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0}],vectorizationForbidden:!0}};
  1127. /**
  1128. * @license
  1129. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1130. */
  1131. class ol extends Jn{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(Hr.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(Hr.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(Hr.NUM,xe.ValueLarge):r[t-1])})}}ol.implementedFunctions={MEDIAN:{method:"median",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},LARGE:{method:"large",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER,minValue:1}]},SMALL:{method:"small",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER,minValue:1}]}};
  1132. /**
  1133. * @license
  1134. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1135. */
  1136. class sl extends Jn{mod(e,t){return this.runFunction(e.args,t,this.metadata("MOD"),(e,t)=>0===t?new ln(Hr.DIV_BY_ZERO):e%t)}}
  1137. /**
  1138. * @license
  1139. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1140. */
  1141. function ll(e){return Nt(e)&&!Number.isFinite(yt(e))?0:e}sl.implementedFunctions={MOD:{method:"mod",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]}};class cl{constructor(e,t,r){this.sumsq=e,this.sum=t,this.count=r}static single(e){return new cl(e*e,e,1)}compose(e){return new cl(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}}cl.empty=new cl(0,0,0);class ul extends Jn{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(yt(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),yt,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),yt,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,cl.empty,"_AGGREGATE_A",(e,t)=>e.compose(t),e=>cl.single(yt(e)),hl);return n instanceof ln?n:null!==(r=n.averageValue())&&void 0!==r?r:new ln(Hr.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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.NA,xe.WrongArgNumber);const r=this.coerceToType(this.evaluateAst(e.args[0],t),{argumentType:Zn.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(Hr.VALUE,xe.BadMode)}}reduceAggregate(e,t){return this.reduce(e,t,cl.empty,"_AGGREGATE",(e,t)=>e.compose(t),e=>cl.single(yt(e)),dl)}reduceAggregateA(e,t){return this.reduce(e,t,cl.empty,"_AGGREGATE_A",(e,t)=>e.compose(t),e=>cl.single(yt(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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.DIV_BY_ZERO):Math.sqrt(e)}}doCount(e,t){return this.reduce(e,t,0,"COUNT",(e,t)=>e+t,yt,e=>Nt(e)?1:0)}doCounta(e,t){return this.reduce(e,t,0,"COUNTA",(e,t)=>e+t,yt,e=>e===wt?0:1)}doMax(e,t){const r=this.reduce(e,t,Number.NEGATIVE_INFINITY,"MAX",(e,t)=>Math.max(e,t),yt,dl);return ll(r)}doMin(e,t){const r=this.reduce(e,t,Number.POSITIVE_INFINITY,"MIN",(e,t)=>Math.min(e,t),yt,dl);return ll(r)}doSum(e,t){return this.reduce(e,t,0,"SUM",this.addWithEpsilonRaw,yt,dl)}doProduct(e,t){return this.reduce(e,t,1,"PRODUCT",(e,t)=>e*t,yt,dl)}reduce(e,t,r,n,i,a,o){return e.length<1?new ln(Hr.NA,xe.WrongArgNumber):e.reduce((e,s)=>{if(e instanceof ln)return e;if(s.type===W.CELL_RANGE||s.type===W.COLUMN_RANGE||s.type===W.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 Dt){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===W.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(u){if(u instanceof Kt)return new ln(Hr.REF,xe.RangeManySheets);throw u}const l=this.dependencyGraph.getRange(s.start,s.end);if(void 0===l)throw new Error("Range does not exists in graph");let c=l.getFunctionValue(n);if(void 0===c){const e=this.getRangeValues(n,s,l,a,o);c=e.reduce((e,t)=>e instanceof ln?e:t instanceof ln?t:i(e,t),r),l.setFunctionValue(n,c)}return c}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 c of l.addresses(this.dependencyGraph)){const e=i(this.dependencyGraph.getScalarValue(c));e instanceof ln?a.push(e):void 0!==e&&a.push(n(e))}return a}}function dl(e){return Nt(e)||e instanceof ln?e:void 0}function hl(e){return"boolean"===typeof e?In(e):Nt(e)||e instanceof ln?e:"string"===typeof e?0:void 0}
  1142. /**
  1143. * @license
  1144. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1145. */ul.implementedFunctions={SUM:{method:"sum",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},SUMSQ:{method:"sumsq",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},MAX:{method:"max",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},MIN:{method:"min",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},MAXA:{method:"maxa",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},MINA:{method:"mina",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},COUNT:{method:"count",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},COUNTA:{method:"counta",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},AVERAGE:{method:"average",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},AVERAGEA:{method:"averagea",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},PRODUCT:{method:"product",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},"VAR.S":{method:"vars",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},"VAR.P":{method:"varp",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},VARA:{method:"vara",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},VARPA:{method:"varpa",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},"STDEV.S":{method:"stdevs",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},"STDEV.P":{method:"stdevp",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},STDEVA:{method:"stdeva",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},STDEVPA:{method:"stdevpa",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},SUBTOTAL:{method:"subtotal",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.ANY}],repeatLastArgs:1}},ul.aliases={VAR:"VAR.S",VARP:"VAR.P",STDEV:"STDEV.S",STDEVP:"STDEV.P",VARS:"VAR.S",STDEVS:"STDEV.S"};class pl extends Jn{power(e,t){return this.runFunction(e.args,t,this.metadata("POWER"),Math.pow)}}pl.implementedFunctions={POWER:{method:"power",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]}};
  1146. /**
  1147. * @license
  1148. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1149. */
  1150. class fl extends Jn{radians(e,t){return this.runFunction(e.args,t,this.metadata("RADIANS"),e=>e*(Math.PI/180))}}fl.implementedFunctions={RADIANS:{method:"radians",parameters:[{argumentType:Zn.NUMBER}]}};
  1151. /**
  1152. * @license
  1153. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1154. */
  1155. const ml=10,Al=255,gl=2,_l=36,vl="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";class bl extends Jn{dec2bin(e,t){return this.runFunction(e.args,t,this.metadata("DEC2BIN"),(e,t)=>yl(e,2,t))}dec2oct(e,t){return this.runFunction(e.args,t,this.metadata("DEC2OCT"),(e,t)=>yl(e,8,t))}dec2hex(e,t){return this.runFunction(e.args,t,this.metadata("DEC2HEX"),(e,t)=>yl(e,16,t))}bin2dec(e,t){return this.runFunction(e.args,t,this.metadata("BIN2DEC"),e=>{const t=wl(e,2,ml);return void 0===t?new ln(Hr.NUM,xe.NotBinary):xl(t,2)})}bin2oct(e,t){return this.runFunction(e.args,t,this.metadata("BIN2OCT"),(e,t)=>{const r=wl(e,2,ml);return void 0===r?new ln(Hr.NUM,xe.NotBinary):yl(xl(r,2),8,t)})}bin2hex(e,t){return this.runFunction(e.args,t,this.metadata("BIN2HEX"),(e,t)=>{const r=wl(e,2,ml);return void 0===r?new ln(Hr.NUM,xe.NotBinary):yl(xl(r,2),16,t)})}oct2dec(e,t){return this.runFunction(e.args,t,this.metadata("OCT2DEC"),e=>{const t=wl(e,8,ml);return void 0===t?new ln(Hr.NUM,xe.NotOctal):xl(t,8)})}oct2bin(e,t){return this.runFunction(e.args,t,this.metadata("OCT2BIN"),(e,t)=>{const r=wl(e,8,ml);return void 0===r?new ln(Hr.NUM,xe.NotOctal):yl(xl(r,8),2,t)})}oct2hex(e,t){return this.runFunction(e.args,t,this.metadata("OCT2HEX"),(e,t)=>{const r=wl(e,8,ml);return void 0===r?new ln(Hr.NUM,xe.NotOctal):yl(xl(r,8),16,t)})}hex2dec(e,t){return this.runFunction(e.args,t,this.metadata("HEX2DEC"),e=>{const t=wl(e,16,ml);return void 0===t?new ln(Hr.NUM,xe.NotHex):xl(t,16)})}hex2bin(e,t){return this.runFunction(e.args,t,this.metadata("HEX2BIN"),(e,t)=>{const r=wl(e,16,ml);return void 0===r?new ln(Hr.NUM,xe.NotHex):yl(xl(r,16),2,t)})}hex2oct(e,t){return this.runFunction(e.args,t,this.metadata("HEX2OCT"),(e,t)=>{const r=wl(e,16,ml);return void 0===r?new ln(Hr.NUM,xe.NotHex):yl(xl(r,16),8,t)})}base(e,t){return this.runFunction(e.args,t,this.metadata("BASE"),Sl)}decimal(e,t){return this.runFunction(e.args,t,this.metadata("DECIMAL"),(e,t)=>{const r=wl(e,t,Al);return void 0===r?new ln(Hr.NUM,xe.NotHex):parseInt(r,t)})}}function wl(e,t,r){const n=vl.substr(0,t),i=new RegExp(`^[${n}]+$`);if(!(e.length>r)&&i.test(e))return e}function yl(e,t,r){if(e>Cl(t))return new ln(Hr.NUM,xe.ValueBaseLarge);if(e<El(t))return new ln(Hr.NUM,xe.ValueBaseSmall);const n=Ml(e,t);return void 0===r||e<0?n:n.length>r?new ln(Hr.NUM,xe.ValueBaseLong):ra(n,r)}function El(e){return-Math.pow(e,ml)/2}function Cl(e){return-El(e)-1}function Sl(e,t,r){const n=Ml(e,t);return void 0!==r&&r>n.length?ra(n,r):n}function Ml(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}
  1156. /**
  1157. * @license
  1158. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1159. */bl.implementedFunctions={DEC2BIN:{method:"dec2bin",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},DEC2OCT:{method:"dec2oct",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},DEC2HEX:{method:"dec2hex",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},BIN2DEC:{method:"bin2dec",parameters:[{argumentType:Zn.STRING}]},BIN2OCT:{method:"bin2oct",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},BIN2HEX:{method:"bin2hex",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},OCT2DEC:{method:"oct2dec",parameters:[{argumentType:Zn.STRING}]},OCT2BIN:{method:"oct2bin",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},OCT2HEX:{method:"oct2hex",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},HEX2DEC:{method:"hex2dec",parameters:[{argumentType:Zn.STRING}]},HEX2BIN:{method:"hex2bin",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},HEX2OCT:{method:"hex2oct",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},DECIMAL:{method:"decimal",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,minValue:gl,maxValue:_l}]},BASE:{method:"base",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:gl,maxValue:_l},{argumentType:Zn.NUMBER,optionalArg:!0,minValue:0,maxValue:Al}]}};class Tl extends Jn{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(Hr.NUM,xe.WrongOrder):(e=Math.ceil(e),t=Math.floor(t)+1,e===t&&(t+=1),e+Math.floor(Math.random()*(t-e))))}}
  1160. /**
  1161. * @license
  1162. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1163. */
  1164. function Ol(e){const t=Math.ceil(e);return t%2===1?t:t+1}function Nl(e){const t=Math.ceil(e);return t%2===0?t:t+1}Tl.implementedFunctions={RAND:{method:"rand",parameters:[],isVolatile:!0},RANDBETWEEN:{method:"randbetween",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}],isVolatile:!0}};class Rl extends Jn{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?-Nl(-e):Nl(e))}odd(e,t){return this.runFunction(e.args,t,this.metadata("ODD"),e=>e<0?-Ol(-e):Ol(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(Hr.DIV_BY_ZERO):e>0&&t<0?new ln(Hr.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(Hr.DIV_BY_ZERO):e>0&&t<0?new ln(Hr.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:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0}]},ROUNDDOWN:{method:"rounddown",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0}]},ROUND:{method:"round",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:0}]},INT:{method:"intFunc",parameters:[{argumentType:Zn.NUMBER}]},EVEN:{method:"even",parameters:[{argumentType:Zn.NUMBER}]},ODD:{method:"odd",parameters:[{argumentType:Zn.NUMBER}]},"CEILING.MATH":{method:"ceilingmath",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:1},{argumentType:Zn.NUMBER,defaultValue:0}]},CEILING:{method:"ceiling",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},"CEILING.PRECISE":{method:"ceilingprecise",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:1}]},"FLOOR.MATH":{method:"floormath",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:1},{argumentType:Zn.NUMBER,defaultValue:0}]},FLOOR:{method:"floor",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},"FLOOR.PRECISE":{method:"floorprecise",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,defaultValue:1}]}},Rl.aliases={"ISO.CEILING":"CEILING.PRECISE",TRUNC:"ROUNDDOWN"};
  1165. /**
  1166. * @license
  1167. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1168. */
  1169. class Ll extends Jn{sqrt(e,t){return this.runFunction(e.args,t,this.metadata("SQRT"),Math.sqrt)}}
  1170. /**
  1171. * @license
  1172. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1173. */
  1174. function*Il(){}function kl(e){const t=e[Symbol.iterator](),{done:r,value:n}=t.next();return r?{rest:Il()}:{value:n,rest:t}}Ll.implementedFunctions={SQRT:{method:"sqrt",parameters:[{argumentType:Zn.NUMBER}]}};
  1175. /**
  1176. * @license
  1177. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1178. */
  1179. const Bl=(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 Dl{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(Hr.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=jl(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}=Bl(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=jl(t,a.map(e=>Pl(this.dependencyGraph,e)),Array.from(Pl(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 Fl{constructor(e,t){this.conditionRange=e,this.criterionPackage=t}}function*Pl(e,t){for(const r of t.addresses(e))yield yt(e.getScalarValue(r))}function*jl(e,t,r){for(const n of r){const r=t.map(e=>kl(e));if(!r.every(e=>Object.prototype.hasOwnProperty.call(e,"value")))return;const i=r.map(e=>yt(e.value));Ul(i,e).every(([e,t])=>t(e))&&(yield n),t=r.map(e=>e.rest)}}function Ul(e,t){const r=[];for(let n=0;n<Math.min(e.length,t.length);n++)r.push([e[n],t[n]]);return r}
  1180. /**
  1181. * @license
  1182. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1183. */class Hl{constructor(e,t){this.sum=e,this.count=t}static single(e){return new Hl(e,1)}compose(e){return new Hl(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 Nt(e)&&!Number.isFinite(yt(e))?0:e}function Wl(e){return e instanceof ln?e:Nt(e)?yt(e):void 0}Hl.empty=new Hl(0,0);class Ql extends Jn{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),Wl);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),Wl);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,Hl.empty,(e,t)=>e.compose(t),e=>Nt(e)?Hl.single(yt(e)):Hl.empty);return i instanceof ln?i:i.averageValue()||new ln(Hr.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,Wl);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,Wl);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(Hr.VALUE,xe.BadCriterion);o.push(new Fl(e,r))}return new Dl(this.interpreter,Vl(r),n,i,a).compute(e,o)}}Ql.implementedFunctions={SUMIF:{method:"sumif",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR},{argumentType:Zn.RANGE,optionalArg:!0}]},COUNTIF:{method:"countif",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR}]},AVERAGEIF:{method:"averageif",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR},{argumentType:Zn.RANGE,optionalArg:!0}]},SUMIFS:{method:"sumifs",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR}],repeatLastArgs:2},COUNTIFS:{method:"countifs",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR}],repeatLastArgs:2},MINIFS:{method:"minifs",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR}],repeatLastArgs:2},MAXIFS:{method:"maxifs",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE},{argumentType:Zn.NOERROR}],repeatLastArgs:2}};
  1184. /**
  1185. * @license
  1186. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1187. */
  1188. class zl extends Jn{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(Hr.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);Nt(n)?e*=yt(n):e=0}n+=e}return n})}}zl.implementedFunctions={SUMPRODUCT:{method:"sumproduct",parameters:[{argumentType:Zn.RANGE}],repeatLastArgs:1}};
  1189. /**
  1190. * @license
  1191. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1192. */
  1193. class ql extends Jn{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(Hr.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(Hr.VALUE,xe.NegativeCount):e.repeat(t))}right(e,t){return this.runFunction(e.args,t,this.metadata("RIGHT"),(e,t)=>t<0?new ln(Hr.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(Hr.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(Hr.VALUE,xe.LessThanOne):r<0?new ln(Hr.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(Hr.VALUE,xe.LessThanOne):r<0?new ln(Hr.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(Hr.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(Hr.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(Hr.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(Hr.VALUE,xe.IndexBounds);const n=t.substring(r-1),i=n.indexOf(e)+r;return i>0?i:new ln(Hr.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,"\\$&")}}ql.implementedFunctions={CONCATENATE:{method:"concatenate",parameters:[{argumentType:Zn.STRING}],repeatLastArgs:1,expandRanges:!0},EXACT:{method:"exact",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.STRING}]},SPLIT:{method:"split",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER}]},LEN:{method:"len",parameters:[{argumentType:Zn.STRING}]},LOWER:{method:"lower",parameters:[{argumentType:Zn.STRING}]},MID:{method:"mid",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},TRIM:{method:"trim",parameters:[{argumentType:Zn.STRING}]},T:{method:"t",parameters:[{argumentType:Zn.SCALAR}]},PROPER:{method:"proper",parameters:[{argumentType:Zn.STRING}]},CLEAN:{method:"clean",parameters:[{argumentType:Zn.STRING}]},REPT:{method:"rept",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER}]},RIGHT:{method:"right",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,defaultValue:1}]},LEFT:{method:"left",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,defaultValue:1}]},REPLACE:{method:"replace",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.STRING}]},SEARCH:{method:"search",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,defaultValue:1}]},SUBSTITUTE:{method:"substitute",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.STRING},{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,optionalArg:!0}]},FIND:{method:"find",parameters:[{argumentType:Zn.STRING},{argumentType:Zn.STRING},{argumentType:Zn.NUMBER,defaultValue:1}]},UPPER:{method:"upper",parameters:[{argumentType:Zn.STRING}]}};
  1194. /**
  1195. * @license
  1196. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1197. */
  1198. class Gl extends Jn{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(Hr.DIV_BY_ZERO):Math.atan2(t,e))}cot(e,t){return this.runFunction(e.args,t,this.metadata("COT"),e=>0===e?new ln(Hr.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(Hr.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(Hr.DIV_BY_ZERO):1/Math.tanh(e))}acoth(e,t){return this.runFunction(e.args,t,this.metadata("ACOTH"),e=>0===e?new ln(Hr.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(Hr.DIV_BY_ZERO):1/Math.sinh(e))}}Gl.implementedFunctions={ACOS:{method:"acos",parameters:[{argumentType:Zn.NUMBER}]},ASIN:{method:"asin",parameters:[{argumentType:Zn.NUMBER}]},COS:{method:"cos",parameters:[{argumentType:Zn.NUMBER}]},SIN:{method:"sin",parameters:[{argumentType:Zn.NUMBER}]},TAN:{method:"tan",parameters:[{argumentType:Zn.NUMBER}]},ATAN:{method:"atan",parameters:[{argumentType:Zn.NUMBER}]},ATAN2:{method:"atan2",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},COT:{method:"cot",parameters:[{argumentType:Zn.NUMBER}]},SEC:{method:"sec",parameters:[{argumentType:Zn.NUMBER}]},CSC:{method:"csc",parameters:[{argumentType:Zn.NUMBER}]},SINH:{method:"sinh",parameters:[{argumentType:Zn.NUMBER}]},COSH:{method:"cosh",parameters:[{argumentType:Zn.NUMBER}]},TANH:{method:"tanh",parameters:[{argumentType:Zn.NUMBER}]},COTH:{method:"coth",parameters:[{argumentType:Zn.NUMBER}]},SECH:{method:"sech",parameters:[{argumentType:Zn.NUMBER}]},CSCH:{method:"csch",parameters:[{argumentType:Zn.NUMBER}]},ACOT:{method:"acot",parameters:[{argumentType:Zn.NUMBER}]},ASINH:{method:"asinh",parameters:[{argumentType:Zn.NUMBER}]},ACOSH:{method:"acosh",parameters:[{argumentType:Zn.NUMBER}]},ATANH:{method:"atanh",parameters:[{argumentType:Zn.NUMBER}]},ACOTH:{method:"acoth",parameters:[{argumentType:Zn.NUMBER}]}};
  1199. /**
  1200. * @license
  1201. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1202. */
  1203. class Kl extends Zo{constructor(e){super(e),this.dependencyGraph=e}find(e,t,r){return this.basicFind(e,t,"col",r)}}
  1204. /**
  1205. * @license
  1206. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1207. */class Xl extends Jn{constructor(){super(...arguments),this.rowSearch=new Kl(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(Hr.VALUE,xe.WrongType):r<1?new ln(Hr.VALUE,xe.LessThanOne):r>i.width()?new ln(Hr.REF,xe.IndexLarge):this.doVlookup(Fn(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(Hr.VALUE,xe.WrongType):r<1?new ln(Hr.VALUE,xe.LessThanOne):r>i.height()?new ln(Hr.REF,xe.IndexLarge):this.doHlookup(Fn(e),t,r-1,n)})}match(e,t){return this.runFunction(e.args,t,this.metadata("MATCH"),(e,t,r)=>this.doMatch(Fn(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?Dt.onlyValues(t.data.map(e=>[e[0]])):Dt.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(Hr.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 Dt?new ln(Hr.VALUE,xe.WrongType):s}doHlookup(e,t,r,n){const i=t.range;let a;a=void 0===i?Dt.onlyValues([t.data[0]]):Dt.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(Hr.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 Dt?new ln(Hr.VALUE,xe.WrongType):s}doMatch(e,t,r){if(![-1,0,1].includes(r))return new ln(Hr.VALUE,xe.BadMode);if(t.width()>1&&t.height()>1)return new ln(Hr.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(Hr.NA,xe.ValueNotFound):a+1}}Xl.implementedFunctions={VLOOKUP:{method:"vlookup",parameters:[{argumentType:Zn.NOERROR},{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.BOOLEAN,defaultValue:!0}]},HLOOKUP:{method:"hlookup",parameters:[{argumentType:Zn.NOERROR},{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.BOOLEAN,defaultValue:!0}]},MATCH:{method:"match",parameters:[{argumentType:Zn.NOERROR},{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER,defaultValue:1}]}};
  1208. /**
  1209. * @license
  1210. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1211. */
  1212. class $l extends Jn{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=yt(this.coerceScalarToNumberOrError(t)),t instanceof ln?t:(t=Math.trunc(t),t<0?new ln(Hr.VALUE,xe.ValueSmall):t>4?new ln(Hr.VALUE,xe.ValueLarge):Jl(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(Hr.VALUE,xe.InvalidRoman);const r={input:e,acc:0};return Zl(r,{token:"MMM",val:3e3},{token:"MM",val:2e3},{token:"M",val:1e3}),Zl(r,{token:"IM",val:999},{token:"VM",val:995},{token:"XM",val:990},{token:"LM",val:950},{token:"CM",val:900}),Zl(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}),Zl(r,{token:"CCC",val:300},{token:"CC",val:200},{token:"C",val:100}),Zl(r,{token:"IC",val:99},{token:"VC",val:95},{token:"XC",val:90}),Zl(r,{token:"L",val:50},{token:"IL",val:49},{token:"VL",val:45},{token:"XL",val:40}),Zl(r,{token:"XXX",val:30},{token:"XX",val:20},{token:"X",val:10}),Zl(r,{token:"IX",val:9}),Zl(r,{token:"V",val:5},{token:"IV",val:4}),Zl(r,{token:"III",val:3},{token:"II",val:2},{token:"I",val:1}),""!==r.input?new ln(Hr.VALUE,xe.InvalidRoman):t?-r.acc:r.acc})}}function Zl(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 Jl(e,t){const r={val:e%1e3,acc:"M".repeat(Math.floor(e/1e3))};return 4===t&&(ec(r,"IM",999,1e3),ec(r,"ID",499,500)),t>=3&&(ec(r,"VM",995,1e3),ec(r,"VD",495,500)),t>=2&&(ec(r,"XM",990,1e3),ec(r,"XD",490,500)),t>=1&&(ec(r,"LM",950,1e3),ec(r,"LD",450,500)),ec(r,"CM",900,1e3),ec(r,"CD",400,500),ec(r,"D",500,900),r.acc+="C".repeat(Math.floor(r.val/100)),r.val%=100,t>=2&&(ec(r,"IC",99,100),ec(r,"IL",49,50)),t>=1&&(ec(r,"VC",95,100),ec(r,"VL",45,50)),ec(r,"XC",90,100),ec(r,"XL",40,50),ec(r,"L",50,90),r.acc+="X".repeat(Math.floor(r.val/10)),r.val%=10,ec(r,"IX",9,10),ec(r,"IV",4,5),ec(r,"V",5,9),r.acc+="I".repeat(r.val),r.acc}function ec(e,t,r,n){e.val>=r&&e.val<n&&(e.val-=r,e.acc+=t)}
  1213. /**
  1214. * @license
  1215. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1216. */$l.implementedFunctions={ROMAN:{method:"roman",parameters:[{argumentType:Zn.NUMBER,minValue:1,lessThan:4e3},{argumentType:Zn.NOERROR,optionalArg:!0,defaultValue:0}]},ARABIC:{method:"arabic",parameters:[{argumentType:Zn.STRING}]}};class tc extends Jn{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)}}tc.implementedFunctions={"HF.ADD":{method:"add",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0},{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.CONCAT":{method:"concat",parameters:[{argumentType:Zn.STRING,passSubtype:!0},{argumentType:Zn.STRING,passSubtype:!0}]},"HF.DIVIDE":{method:"divide",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0},{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.EQ":{method:"eq",parameters:[{argumentType:Zn.NOERROR,passSubtype:!0},{argumentType:Zn.NOERROR,passSubtype:!0}]},"HF.GT":{method:"gt",parameters:[{argumentType:Zn.NOERROR,passSubtype:!0},{argumentType:Zn.NOERROR,passSubtype:!0}]},"HF.GTE":{method:"gte",parameters:[{argumentType:Zn.NOERROR,passSubtype:!0},{argumentType:Zn.NOERROR,passSubtype:!0}]},"HF.LT":{method:"lt",parameters:[{argumentType:Zn.NOERROR,passSubtype:!0},{argumentType:Zn.NOERROR,passSubtype:!0}]},"HF.LTE":{method:"lte",parameters:[{argumentType:Zn.NOERROR,passSubtype:!0},{argumentType:Zn.NOERROR,passSubtype:!0}]},"HF.MINUS":{method:"minus",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0},{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.MULTIPLY":{method:"multiply",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0},{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.NE":{method:"ne",parameters:[{argumentType:Zn.NOERROR,passSubtype:!0},{argumentType:Zn.NOERROR,passSubtype:!0}]},"HF.POW":{method:"pow",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0},{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.UMINUS":{method:"uminus",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.UNARY_PERCENT":{method:"upercent",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0}]},"HF.UPLUS":{method:"uplus",parameters:[{argumentType:Zn.NUMBER,passSubtype:!0}]}};
  1217. /**
  1218. * @license
  1219. bessel.js (C) 2013-present SheetJS -- http://sheetjs.com
  1220. Apache License
  1221. Version 2.0, January 2004
  1222. http://www.apache.org/licenses/
  1223. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  1224. 1. Definitions.
  1225. "License" shall mean the terms and conditions for use, reproduction,
  1226. and distribution as defined by Sections 1 through 9 of this document.
  1227. "Licensor" shall mean the copyright owner or entity authorized by
  1228. the copyright owner that is granting the License.
  1229. "Legal Entity" shall mean the union of the acting entity and all
  1230. other entities that control, are controlled by, or are under common
  1231. control with that entity. For the purposes of this definition,
  1232. "control" means (i) the power, direct or indirect, to cause the
  1233. direction or management of such entity, whether by contract or
  1234. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  1235. outstanding shares, or (iii) beneficial ownership of such entity.
  1236. "You" (or "Your") shall mean an individual or Legal Entity
  1237. exercising permissions granted by this License.
  1238. "Source" form shall mean the preferred form for making modifications,
  1239. including but not limited to software source code, documentation
  1240. source, and configuration files.
  1241. "Object" form shall mean any form resulting from mechanical
  1242. transformation or translation of a Source form, including but
  1243. not limited to compiled object code, generated documentation,
  1244. and conversions to other media types.
  1245. "Work" shall mean the work of authorship, whether in Source or
  1246. Object form, made available under the License, as indicated by a
  1247. copyright notice that is included in or attached to the work
  1248. (an example is provided in the Appendix below).
  1249. "Derivative Works" shall mean any work, whether in Source or Object
  1250. form, that is based on (or derived from) the Work and for which the
  1251. editorial revisions, annotations, elaborations, or other modifications
  1252. represent, as a whole, an original work of authorship. For the purposes
  1253. of this License, Derivative Works shall not include works that remain
  1254. separable from, or merely link (or bind by name) to the interfaces of,
  1255. the Work and Derivative Works thereof.
  1256. "Contribution" shall mean any work of authorship, including
  1257. the original version of the Work and any modifications or additions
  1258. to that Work or Derivative Works thereof, that is intentionally
  1259. submitted to Licensor for inclusion in the Work by the copyright owner
  1260. or by an individual or Legal Entity authorized to submit on behalf of
  1261. the copyright owner. For the purposes of this definition, "submitted"
  1262. means any form of electronic, verbal, or written communication sent
  1263. to the Licensor or its representatives, including but not limited to
  1264. communication on electronic mailing lists, source code control systems,
  1265. and issue tracking systems that are managed by, or on behalf of, the
  1266. Licensor for the purpose of discussing and improving the Work, but
  1267. excluding communication that is conspicuously marked or otherwise
  1268. designated in writing by the copyright owner as "Not a Contribution."
  1269. "Contributor" shall mean Licensor and any individual or Legal Entity
  1270. on behalf of whom a Contribution has been received by Licensor and
  1271. subsequently incorporated within the Work.
  1272. 2. Grant of Copyright License. Subject to the terms and conditions of
  1273. this License, each Contributor hereby grants to You a perpetual,
  1274. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  1275. copyright license to reproduce, prepare Derivative Works of,
  1276. publicly display, publicly perform, sublicense, and distribute the
  1277. Work and such Derivative Works in Source or Object form.
  1278. 3. Grant of Patent License. Subject to the terms and conditions of
  1279. this License, each Contributor hereby grants to You a perpetual,
  1280. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  1281. (except as stated in this section) patent license to make, have made,
  1282. use, offer to sell, sell, import, and otherwise transfer the Work,
  1283. where such license applies only to those patent claims licensable
  1284. by such Contributor that are necessarily infringed by their
  1285. Contribution(s) alone or by combination of their Contribution(s)
  1286. with the Work to which such Contribution(s) was submitted. If You
  1287. institute patent litigation against any entity (including a
  1288. cross-claim or counterclaim in a lawsuit) alleging that the Work
  1289. or a Contribution incorporated within the Work constitutes direct
  1290. or contributory patent infringement, then any patent licenses
  1291. granted to You under this License for that Work shall terminate
  1292. as of the date such litigation is filed.
  1293. 4. Redistribution. You may reproduce and distribute copies of the
  1294. Work or Derivative Works thereof in any medium, with or without
  1295. modifications, and in Source or Object form, provided that You
  1296. meet the following conditions:
  1297. (a) You must give any other recipients of the Work or
  1298. Derivative Works a copy of this License; and
  1299. (b) You must cause any modified files to carry prominent notices
  1300. stating that You changed the files; and
  1301. (c) You must retain, in the Source form of any Derivative Works
  1302. that You distribute, all copyright, patent, trademark, and
  1303. attribution notices from the Source form of the Work,
  1304. excluding those notices that do not pertain to any part of
  1305. the Derivative Works; and
  1306. (d) If the Work includes a "NOTICE" text file as part of its
  1307. distribution, then any Derivative Works that You distribute must
  1308. include a readable copy of the attribution notices contained
  1309. within such NOTICE file, excluding those notices that do not
  1310. pertain to any part of the Derivative Works, in at least one
  1311. of the following places: within a NOTICE text file distributed
  1312. as part of the Derivative Works; within the Source form or
  1313. documentation, if provided along with the Derivative Works; or,
  1314. within a display generated by the Derivative Works, if and
  1315. wherever such third-party notices normally appear. The contents
  1316. of the NOTICE file are for informational purposes only and
  1317. do not modify the License. You may add Your own attribution
  1318. notices within Derivative Works that You distribute, alongside
  1319. or as an addendum to the NOTICE text from the Work, provided
  1320. that such additional attribution notices cannot be construed
  1321. as modifying the License.
  1322. You may add Your own copyright statement to Your modifications and
  1323. may provide additional or different license terms and conditions
  1324. for use, reproduction, or distribution of Your modifications, or
  1325. for any such Derivative Works as a whole, provided Your use,
  1326. reproduction, and distribution of the Work otherwise complies with
  1327. the conditions stated in this License.
  1328. 5. Submission of Contributions. Unless You explicitly state otherwise,
  1329. any Contribution intentionally submitted for inclusion in the Work
  1330. by You to the Licensor shall be under the terms and conditions of
  1331. this License, without any additional terms or conditions.
  1332. Notwithstanding the above, nothing herein shall supersede or modify
  1333. the terms of any separate license agreement you may have executed
  1334. with Licensor regarding such Contributions.
  1335. 6. Trademarks. This License does not grant permission to use the trade
  1336. names, trademarks, service marks, or product names of the Licensor,
  1337. except as required for reasonable and customary use in describing the
  1338. origin of the Work and reproducing the content of the NOTICE file.
  1339. 7. Disclaimer of Warranty. Unless required by applicable law or
  1340. agreed to in writing, Licensor provides the Work (and each
  1341. Contributor provides its Contributions) on an "AS IS" BASIS,
  1342. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  1343. implied, including, without limitation, any warranties or conditions
  1344. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  1345. PARTICULAR PURPOSE. You are solely responsible for determining the
  1346. appropriateness of using or redistributing the Work and assume any
  1347. risks associated with Your exercise of permissions under this License.
  1348. 8. Limitation of Liability. In no event and under no legal theory,
  1349. whether in tort (including negligence), contract, or otherwise,
  1350. unless required by applicable law (such as deliberate and grossly
  1351. negligent acts) or agreed to in writing, shall any Contributor be
  1352. liable to You for damages, including any direct, indirect, special,
  1353. incidental, or consequential damages of any character arising as a
  1354. result of this License or out of the use or inability to use the
  1355. Work (including but not limited to damages for loss of goodwill,
  1356. work stoppage, computer failure or malfunction, or any and all
  1357. other commercial damages or losses), even if such Contributor
  1358. has been advised of the possibility of such damages.
  1359. 9. Accepting Warranty or Additional Liability. While redistributing
  1360. the Work or Derivative Works thereof, You may choose to offer,
  1361. and charge a fee for, acceptance of support, warranty, indemnity,
  1362. or other liability obligations and/or rights consistent with this
  1363. License. However, in accepting such obligations, You may act only
  1364. on Your own behalf and on Your sole responsibility, not on behalf
  1365. of any other Contributor, and only if You agree to indemnify,
  1366. defend, and hold each Contributor harmless for any liability
  1367. incurred by, or claims asserted against, such Contributor by reason
  1368. of your accepting any such warranty or additional liability.
  1369. END OF TERMS AND CONDITIONS
  1370. APPENDIX: How to apply the Apache License to your work.
  1371. To apply the Apache License to your work, attach the following
  1372. boilerplate notice, with the fields enclosed by brackets "{}"
  1373. replaced with your own identifying information. (Don't include
  1374. the brackets!) The text should be enclosed in the appropriate
  1375. comment syntax for the file format. We also recommend that a
  1376. file or class name and description of purpose be included on the
  1377. same "printed page" as the copyright notice for easier
  1378. identification within third-party archives.
  1379. Copyright (C) 2013-present SheetJS LLC
  1380. Licensed under the Apache License, Version 2.0 (the "License");
  1381. you may not use this file except in compliance with the License.
  1382. You may obtain a copy of the License at
  1383. http://www.apache.org/licenses/LICENSE-2.0
  1384. Unless required by applicable law or agreed to in writing, software
  1385. distributed under the License is distributed on an "AS IS" BASIS,
  1386. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1387. See the License for the specific language governing permissions and
  1388. limitations under the License.
  1389. */
  1390. var rc=Math;function nc(e,t){for(var r=0,n=0;r<e.length;++r)n=t*n+e[r];return n}function ic(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 ac(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 ic(r,a,o,s,i)}}var oc=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,c=a*a;if(a<8)s=nc(t,c),l=nc(r,c),o=s/l;else{var u=a-.785398164;c=64/c,s=nc(n,c),l=nc(i,c),o=rc.sqrt(e/a)*(rc.cos(u)*s-rc.sin(u)*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(),c=[.04687499995,-.0002002690873,8449199096e-15,-8.8228987e-7,1.05787412e-7].reverse();function u(t){var r=0,n=0,i=0,a=t*t,u=rc.abs(t)-2.356194491;return Math.abs(t)<8?(n=t*nc(o,a),i=nc(s,a),r=n/i):(a=64/a,n=nc(l,a),i=nc(c,a),r=rc.sqrt(e/rc.abs(t))*(rc.cos(u)*n-rc.sin(u)*i*8/rc.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 u(t);if(0===t)return 0;var n=0;if(t>r)n=ic(t,r,a(t),u(t),-1);else{for(var i=2*rc.floor((r+rc.floor(rc.sqrt(40*r)))/2),o=!1,s=0,l=0,c=1,d=0,h=2/t,p=i;p>0;p--)d=p*h*c-s,s=c,c=d,rc.abs(c)>1e10&&(c*=1e-10,s*=1e-10,n*=1e-10,l*=1e-10),o&&(l+=c),o=!o,p==r&&(n=s);l=2*l-c,n/=l}return n}}(),sc=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,c=a*a,u=a-.785398164;return a<8?(s=nc(t,c),l=nc(r,c),o=s/l+e*oc(a,0)*rc.log(a)):(c=64/c,s=nc(n,c),l=nc(i,c),o=rc.sqrt(e/a)*(rc.sin(u)*s+rc.cos(u)*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(),c=[.04687499995,-.0002002690873,8449199096e-15,-8.8228987e-7,1.05787412e-7].reverse();function u(t){var r=0,n=0,i=0,a=t*t,u=t-2.356194491;return t<8?(n=t*nc(o,a),i=nc(s,a),r=n/i+e*(oc(t,1)*rc.log(t)-1/t)):(a=64/a,n=nc(l,a),i=nc(c,a),r=rc.sqrt(e/t)*(rc.sin(u)*n+rc.cos(u)*i*8/t)),r}return ac(a,u,"BESSELY",1,-1)}(),lc=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?nc(e,r*r/14.0625):rc.exp(rc.abs(r))/rc.sqrt(rc.abs(r))*nc(t,3.75/rc.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*nc(n,e*e/14.0625):(e<0?-1:1)*rc.exp(rc.abs(e))/rc.sqrt(rc.abs(e))*nc(i,3.75/rc.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===rc.abs(t))return 0;if(t==1/0)return 1/0;var i,o=0,s=2/rc.abs(t),l=0,c=1,u=0,d=2*rc.round((n+rc.round(rc.sqrt(40*n)))/2);for(i=d;i>0;i--)u=i*s*c+l,l=c,c=u,rc.abs(c)>1e10&&(c*=1e-10,l*=1e-10,o*=1e-10),i==n&&(o=l);return o*=e(t,0)/c,t<0&&n%2?-o:o}}(),cc=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?-rc.log(r/2)*lc(r,0)+nc(e,r*r/4):rc.exp(-r)/rc.sqrt(r)*nc(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?rc.log(e/2)*lc(e,1)+1/e*nc(n,e*e/4):rc.exp(-e)/rc.sqrt(e)*nc(i,2/e)}return ac(r,a,"BESSELK",2,1)}();
  1391. /**
  1392. * @license
  1393. Copyright (c) 2013 jStat
  1394. Permission is hereby granted, free of charge, to any person obtaining a copy
  1395. of this software and associated documentation files (the "Software"), to deal
  1396. in the Software without restriction, including without limitation the rights
  1397. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1398. copies of the Software, and to permit persons to whom the Software is
  1399. furnished to do so, subject to the following conditions:
  1400. The above copyright notice and this permission notice shall be included in
  1401. all copies or substantial portions of the Software.
  1402. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1403. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1404. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1405. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1406. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1407. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  1408. THE SOFTWARE.
  1409. */
  1410. function uc(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,c=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-c+t[o],c=i;return a=r*Math.exp(-e*e+.5*(t[0]+n*l)-c),s?a-1:1-a}function dc(e){return 1-uc(e)}function hc(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=dc(t)-i,t+=r/(1.1283791670955126*Math.exp(-t*t)-t*r);return e<1?t:-t}const pc={pdf:(e,t)=>e<0?0:t*Math.exp(-t*e),cdf:(e,t)=>e<0?0:1-Math.exp(-t*e)};function fc(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,c=0,u=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)u=(u+t[n])*i,c=c*i+r[n];if(o=u/c+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 mc={pdf:function(e,t,r){return e<0?0:0===e&&1===t?1/r:Math.exp((t-1)*Math.log(e)-e/r-Ac(t)-t*Math.log(r))},cdf:function(e,t,r){return e<0?0:gc(t,e/r)},inv:function(e,t,r){return _c(e,t)*r}};function Ac(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 gc(e,t){const r=Ac(e);let n=e,i=1/e,a=i,o=t+1-e,s=1/1e-30,l=1/o,c=l,u=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(;u<=d;u++)i+=a*=t/++n;return i*Math.exp(-t+e*Math.log(t)-r)}for(;u<=d;u++)h=-u*(u-e),o+=2,l=h*l+o,s=o+h/s,l=1/l,c*=l*s;return 1-c*Math.exp(-t+e*Math.log(t)-r)}function _c(e,t){let r=0;const n=t-1,i=1e-8,a=Ac(t);let o,s,l,c,u,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),u=e<.5?e:1-e,l=Math.sqrt(-2*Math.log(u)),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=gc(t,o)-e,l=t>1?h*Math.exp(-(o-n)+n*(Math.log(o)-d)):Math.exp(-o+n*Math.log(o)-a),c=s/l,o-=l=c/(1-.5*Math.min(1,c*((t-1)/o-1))),o<=0&&(o=.5*(o+l)),Math.abs(l)<i*o)break}return o}const vc={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+uc((e-t)/Math.sqrt(2*r*r)))},inv:function(e,t,r){return-1.4142135623730951*r*hc(2*e)+t}},bc={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)/wc(t,r):Math.exp((t-1)*Math.log(e)+(r-1)*Math.log(1-e)-yc(t,r))},cdf:function(e,t,r){return e>1||e<0?+(e>1):Cc(e,t,r)},inv:function(e,t,r){return Ec(e,t,r)}};function wc(e,t){if(!(e<=0||t<=0))return e+t>170?Math.exp(yc(e,t)):fc(e)*fc(t)/fc(e+t)}function yc(e,t){return Ac(e)+Ac(t)-Ac(e+t)}function Ec(e,t,r){var n,i,a,o,s,l,c,u,d,h,p,f=1e-8,m=t-1,A=r-1,g=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)),c=(2.30753+.27061*o)/(1+o*(.99229+.04481*o))-o,e<.5&&(c=-c),u=(c*c-3)/6,d=2/(1/(2*t-1)+1/(2*r-1)),h=c*Math.sqrt(u+d)/d-(1/(2*r-1)-1/(2*t-1))*(u+5/6-2/(3*d)),c=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,c=e<o/h?Math.pow(t*h*e,1/t):1-Math.pow(r*h*(1-e),1/r)),p=-Ac(t)-Ac(r)+Ac(t+r);g<10;g++){if(0===c||1===c)return c;if(l=Cc(c,t,r)-e,o=Math.exp(m*Math.log(c)+A*Math.log(1-c)+p),s=l/o,c-=o=s/(1-.5*Math.min(1,s*(m/c-A/(1-c)))),c<=0&&(c=.5*(c+o)),c>=1&&(c=.5*(c+o+1)),Math.abs(o)<f*c&&g>0)break}return c}function Cc(e,t,r){var n=0===e||1===e?0:Math.exp(Ac(t+r)-Ac(t)-Ac(r)+t*Math.log(e)+r*Math.log(1-e));return!(e<0||e>1)&&(e<(t+1)/(t+r+2)?n*Sc(e,t,r)/t:1-n*Sc(1-e,r,t)/r)}function Sc(e,t,r){var n,i,a,o,s=1e-30,l=1,c=t+r,u=t+1,d=t-1,h=1,p=1-c*e/u;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)*(c+l)*e/((t+n)*(u+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 Mc={pdf:function(e,t,r){return 0===r||1===r?t*r===e?1:0:Tc(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,c=Math.exp(Ac(l)-Ac(s)-Ac(o)+o*Math.log(a)+s*Math.log(1-a));return n=a<(o+1)/(l+2)?c*xc(a,o,s,i):1-c*xc(1-a,s,o,i),Math.round(1/i*(1-n))/(1/i)}};function xc(e,t,r,n){var i,a=0,o=1,s=1,l=1,c=0,u=0;while(Math.abs((s-u)/s)>n)u=s,i=-(t+c)*(t+r+c)*e/(t+2*c)/(t+2*c+1),a=s+i*a,o=l+i*o,c+=1,i=c*(r-c)*e/(t+2*c-1)/(t+2*c),s=a+i*s,l=o+i*l,a/=l,o/=l,s/=l,l=1;return s/t}function Tc(e,t){return e>170||t>170?Math.exp(Oc(e,t)):Rc(e)/Rc(t)/Rc(e-t)}function Oc(e,t){return Nc(e)-Nc(t)-Nc(e-t)}function Nc(e){return e<0?NaN:Ac(e+1)}function Rc(e){return e<0?NaN:fc(e+1)}const Lc={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)-Ac(t/2))},cdf:function(e,t){return e<0?0:gc(t/2,e/2)},inv:function(e,t){return 2*_c(e,.5*t)}},Ic={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/wc(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*Mc.pdf((t-2)/2,(t+r-2)/2,n))},cdf:function(e,t,r){return e<0?0:Cc(t*e/(t*e+r),t/2,r/2)},inv:function(e,t,r){return r/(t*(1/Ec(e,t/2,r/2)-1))}},kc={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))}},Bc={pdf:function(e,t){return t<0||e%1!==0||e<0?0:Math.pow(t,e)*Math.exp(-t)/Rc(e)},cdf:function(e,t){var r=0;if(e<0)return 0;for(var n=0;r<=e;r++)n+=Bc.pdf(r,t);return n}},Dc={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?Dc.pdf(t-r-n+e,t,t-r,t-n):Dc.pdf(n-e,t,t-r,n);if(2*n>t)return Dc.pdf(r-e,t,r,t-n);if(r<n)return Dc.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-Dc.cdf(i-t-1,r,r-n,i);if(2*i>r)return 1-Dc.cdf(n-t-1,r,n,r-i);if(n<i)return Dc.cdf(t,r,i,n);for(var a=1,o=1,s=0,l=0;l<t;l++){while(a>1&&s<i){var c=1-n/(r-s);o*=c,a*=c,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))}},Fc={pdf:function(e,t){return t=t>1e100?1e100:t,1/(Math.sqrt(t)*wc(.5,t/2))*Math.pow(1+e*e/t,-(t+1)/2)},cdf:function(e,t){var r=t/2;return Cc((e+Math.sqrt(e*e+t))/(2*Math.sqrt(e*e+t)),r,r)},inv:function(e,t){var r=Ec(2*Math.min(e,1-e),.5*t,.5);return r=Math.sqrt(t*(1-r)/r),e>.5?r:-r}},Pc={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*uc((Math.log(e)-t)/Math.sqrt(2*r*r))},inv:function(e,t,r){return Math.exp(-1.4142135623730951*r*hc(2*e)+t)}},jc={pdf:function(e,t,r){return e===e>>>0&&(e<0?0:Tc(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+=jc.pdf(i,t,r);return n}};function Uc(e){var t=0,r=e.length;while(--r>=0)t+=e[r];return t}function Hc(e){return Uc(e)/e.length}function Vc(e){var t,r=Hc(e),n=0,i=e.length;while(--i>=0)t=e[i]-r,n+=t*t;return n}function Yc(e,t){return Vc(e)/(e.length-(t?1:0))}function Wc(e,t){return Math.sqrt(Yc(e,t))}function Qc(){var e,t=[].slice.call(arguments),r=new Array(2);return e=4===t.length?Math.abs(vc.inv(t[1]/2,0,1)*t[2]/Math.sqrt(t[3])):Math.abs(vc.inv(t[1]/2,0,1)*Wc(t[2])/Math.sqrt(t[2].length)),r[0]=t[0]-e,r[1]=t[0]+e,r}function zc(){var e,t=[].slice.call(arguments),r=new Array(2);return e=4===t.length?Math.abs(Fc.inv(t[1]/2,t[3]-1)*t[2]/Math.sqrt(t[3])):Math.abs(Fc.inv(t[1]/2,t[2].length-1)*Wc(t[2],!0)/Math.sqrt(t[2].length)),r[0]=t[0]-e,r[1]=t[0]+e,r}function qc(e){var t=1,r=e.length;while(--r>=0)t*=e[r];return t}function Gc(e){return Math.pow(qc(e),1/e.length)}function Kc(e,t){var r,n=Hc(e),i=Hc(t),a=e.length,o=new Array(a);for(r=0;r<a;r++)o[r]=(e[r]-n)*(t[r]-i);return Uc(o)/(a-1)}function Xc(e,t){return Kc(e,t)/Wc(e,1)/Wc(t,1)}
  1411. /**
  1412. * @license
  1413. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1414. */class $c extends Jn{erf(e,t){return this.runFunction(e.args,t,this.metadata("ERF"),(e,t)=>void 0===t?uc(e):uc(t)-uc(e))}erfc(e,t){return this.runFunction(e.args,t,this.metadata("ERFC"),dc)}expondist(e,t){return this.runFunction(e.args,t,this.metadata("EXPON.DIST"),(e,t,r)=>r?pc.cdf(e,t):pc.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"),fc)}gammadist(e,t){return this.runFunction(e.args,t,this.metadata("GAMMA.DIST"),(e,t,r,n)=>n?mc.cdf(e,t,r):mc.pdf(e,t,r))}gammaln(e,t){return this.runFunction(e.args,t,this.metadata("GAMMALN"),Ac)}gammainv(e,t){return this.runFunction(e.args,t,this.metadata("GAMMA.INV"),mc.inv)}gauss(e,t){return this.runFunction(e.args,t,this.metadata("GAUSS"),e=>vc.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(Hr.NUM,xe.ValueSmall):e>=a?new ln(Hr.NUM,xe.ValueLarge):(e=(e-i)/(a-i),n?bc.cdf(e,t,r):bc.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(Hr.NUM,xe.WrongOrder):bc.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(Hr.NUM,xe.WrongOrder):(e=Math.trunc(e),t=Math.trunc(t),n?Mc.cdf(e,t,r):Mc.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);Mc.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)=>lc(e,Math.trunc(t)))}besseljfn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELJ"),(e,t)=>oc(e,Math.trunc(t)))}besselkfn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELK"),(e,t)=>cc(e,Math.trunc(t)))}besselyfn(e,t){return this.runFunction(e.args,t,this.metadata("BESSELY"),(e,t)=>sc(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?Lc.cdf(e,t):Lc.pdf(e,t)))}chisqdistrt(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.DIST.RT"),(e,t)=>1-Lc.cdf(e,Math.trunc(t)))}chisqinv(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.INV"),(e,t)=>Lc.inv(e,Math.trunc(t)))}chisqinvrt(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.INV.RT"),(e,t)=>Lc.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?Ic.cdf(e,t,r):Ic.pdf(e,t,r)))}fdistrt(e,t){return this.runFunction(e.args,t,this.metadata("F.DIST.RT"),(e,t,r)=>1-Ic.cdf(e,Math.trunc(t),Math.trunc(r)))}finv(e,t){return this.runFunction(e.args,t,this.metadata("F.INV"),(e,t,r)=>Ic.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)=>Ic.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?kc.cdf(e,r,t):kc.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?Bc.cdf(e,t):Bc.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(Hr.NUM,xe.ValueLarge):(e=Math.trunc(e),t=Math.trunc(t),r=Math.trunc(r),n=Math.trunc(n),i?Dc.cdf(e,n,r,t):Dc.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?Fc.cdf(e,t):Fc.pdf(e,t)))}tdist2t(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST.2T"),(e,t)=>2*(1-Fc.cdf(e,Math.trunc(t))))}tdistrt(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST.RT"),(e,t)=>1-Fc.cdf(e,Math.trunc(t)))}tdistold(e,t){return this.runFunction(e.args,t,this.metadata("TDIST"),(e,t,r)=>r*(1-Fc.cdf(e,Math.trunc(t))))}tinv(e,t){return this.runFunction(e.args,t,this.metadata("T.INV"),(e,t)=>Fc.inv(e,Math.trunc(t)))}tinv2t(e,t){return this.runFunction(e.args,t,this.metadata("T.INV.2T"),(e,t)=>Fc.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?Pc.cdf(e,t,r):Pc.pdf(e,t,r))}lognorminv(e,t){return this.runFunction(e.args,t,this.metadata("LOGNORM.INV"),(e,t,r)=>Pc.inv(e,t,r))}normdist(e,t){return this.runFunction(e.args,t,this.metadata("NORM.DIST"),(e,t,r,n)=>n?vc.cdf(e,t,r):vc.pdf(e,t,r))}norminv(e,t){return this.runFunction(e.args,t,this.metadata("NORM.INV"),(e,t,r)=>vc.inv(e,t,r))}normsdist(e,t){return this.runFunction(e.args,t,this.metadata("NORM.S.DIST"),(e,t)=>t?vc.cdf(e,0,1):vc.pdf(e,0,1))}normsinv(e,t){return this.runFunction(e.args,t,this.metadata("NORM.S.INV"),e=>vc.inv(e,0,1))}phi(e,t){return this.runFunction(e.args,t,this.metadata("PHI"),e=>vc.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?jc.cdf(e,t,r):jc.pdf(e,t,r)))}confidencenorm(e,t){return this.runFunction(e.args,t,this.metadata("CONFIDENCE.NORM"),(e,t,r)=>Qc(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(Hr.DIV_BY_ZERO):zc(1,e,t,r)[1]-1))}standardize(e,t){return this.runFunction(e.args,t,this.metadata("STANDARDIZE"),(e,t,r)=>(e-t)/r)}}$c.implementedFunctions={ERF:{method:"erf",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0}]},ERFC:{method:"erfc",parameters:[{argumentType:Zn.NUMBER}]},"EXPON.DIST":{method:"expondist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN}]},FISHER:{method:"fisher",parameters:[{argumentType:Zn.NUMBER,greaterThan:-1,lessThan:1}]},FISHERINV:{method:"fisherinv",parameters:[{argumentType:Zn.NUMBER}]},GAMMA:{method:"gamma",parameters:[{argumentType:Zn.NUMBER}]},"GAMMA.DIST":{method:"gammadist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN}]},GAMMALN:{method:"gammaln",parameters:[{argumentType:Zn.NUMBER,greaterThan:0}]},"GAMMA.INV":{method:"gammainv",parameters:[{argumentType:Zn.NUMBER,minValue:0,lessThan:1},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0}]},GAUSS:{method:"gauss",parameters:[{argumentType:Zn.NUMBER}]},"BETA.DIST":{method:"betadist",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:1}]},"BETA.INV":{method:"betainv",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,maxValue:1},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,defaultValue:0},{argumentType:Zn.NUMBER,defaultValue:1}]},"BINOM.DIST":{method:"binomialdist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.BOOLEAN}]},"BINOM.INV":{method:"binomialinv",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1}]},BESSELI:{method:"besselifn",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:0}]},BESSELJ:{method:"besseljfn",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:0}]},BESSELK:{method:"besselkfn",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:0}]},BESSELY:{method:"besselyfn",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:0}]},"CHISQ.DIST":{method:"chisqdist",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:1,maxValue:1e10},{argumentType:Zn.BOOLEAN}]},"CHISQ.DIST.RT":{method:"chisqdistrt",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:1,maxValue:1e10}]},"CHISQ.INV":{method:"chisqinv",parameters:[{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.NUMBER,minValue:1,maxValue:1e10}]},"CHISQ.INV.RT":{method:"chisqinvrt",parameters:[{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.NUMBER,minValue:1}]},"F.DIST":{method:"fdist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.BOOLEAN}]},"F.DIST.RT":{method:"fdistrt",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.NUMBER,minValue:1}]},"F.INV":{method:"finv",parameters:[{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.NUMBER,minValue:1}]},"F.INV.RT":{method:"finvrt",parameters:[{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.NUMBER,minValue:1}]},"WEIBULL.DIST":{method:"weibulldist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN}]},"POISSON.DIST":{method:"poissondist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.BOOLEAN}]},"HYPGEOM.DIST":{method:"hypgeomdist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN}]},"T.DIST":{method:"tdist",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.BOOLEAN}]},"T.DIST.2T":{method:"tdist2t",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1}]},"T.DIST.RT":{method:"tdistrt",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,minValue:1}]},TDIST:{method:"tdistold",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.INTEGER,minValue:1,maxValue:2}]},"T.INV":{method:"tinv",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Zn.NUMBER,minValue:1}]},"T.INV.2T":{method:"tinv2t",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,maxValue:1},{argumentType:Zn.NUMBER,minValue:1}]},"LOGNORM.DIST":{method:"lognormdist",parameters:[{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN}]},"LOGNORM.INV":{method:"lognorminv",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0}]},"NORM.DIST":{method:"normdist",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.BOOLEAN}]},"NORM.INV":{method:"norminv",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0}]},"NORM.S.DIST":{method:"normsdist",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.BOOLEAN}]},"NORM.S.INV":{method:"normsinv",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1}]},PHI:{method:"phi",parameters:[{argumentType:Zn.NUMBER}]},"NEGBINOM.DIST":{method:"negbinomdist",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:1},{argumentType:Zn.NUMBER,minValue:0,maxValue:1},{argumentType:Zn.BOOLEAN}]},"CONFIDENCE.NORM":{method:"confidencenorm",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,minValue:1}]},"CONFIDENCE.T":{method:"confidencet",parameters:[{argumentType:Zn.NUMBER,greaterThan:0,lessThan:1},{argumentType:Zn.NUMBER,greaterThan:0},{argumentType:Zn.NUMBER,minValue:1}]},STANDARDIZE:{method:"standardize",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,greaterThan:0}]}},$c.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"};
  1415. /**
  1416. * @license
  1417. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1418. */
  1419. class Zc extends Jn{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(Hr.NUM,xe.WrongOrder):(e=Math.trunc(e),t=Math.trunc(t),Jc(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(Hr.NUM,xe.ValueLarge):0===e&&0===t?1:Jc(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(Hr.NUM,xe.ValueSmall);r=eu(r,Math.trunc(n))}return r>Number.MAX_SAFE_INTEGER?new ln(Hr.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(Hr.NUM,xe.ValueSmall);r=tu(r,Math.trunc(n))}return r>Number.MAX_SAFE_INTEGER?new ln(Hr.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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.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(Hr.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 Jc(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 eu(e,t){e<t&&([e,t]=[t,e]);while(t>0)[e,t]=[t,e%t];return e}function tu(e,t){return 0===e||0===t?0:e*(t/eu(e,t))}
  1420. /**
  1421. * @license
  1422. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1423. */Zc.implementedFunctions={FACT:{method:"fact",parameters:[{argumentType:Zn.NUMBER,minValue:0,maxValue:170}]},FACTDOUBLE:{method:"factdouble",parameters:[{argumentType:Zn.NUMBER,minValue:0,maxValue:288}]},COMBIN:{method:"combin",parameters:[{argumentType:Zn.NUMBER,minValue:0,lessThan:1030},{argumentType:Zn.NUMBER,minValue:0}]},COMBINA:{method:"combina",parameters:[{argumentType:Zn.NUMBER,minValue:0},{argumentType:Zn.NUMBER,minValue:0}]},GCD:{method:"gcd",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},LCM:{method:"lcm",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},MROUND:{method:"mround",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},MULTINOMIAL:{method:"multinomial",parameters:[{argumentType:Zn.NUMBER}],repeatLastArgs:1,expandRanges:!0},QUOTIENT:{method:"quotient",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER}]},SERIESSUM:{method:"seriessum",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.RANGE}]},SIGN:{method:"sign",parameters:[{argumentType:Zn.NUMBER}]},SUMX2MY2:{method:"sumx2my2",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},SUMX2PY2:{method:"sumx2py2",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},SUMXMY2:{method:"sumxmy2",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]}};class ru extends Jn{complex(e,t){return this.runFunction(e.args,t,this.metadata("COMPLEX"),(e,t,r)=>"i"!==r&&"j"!==r?new ln(Hr.VALUE,xe.ShouldBeIorJ):Rn([e,t],r))}imabs(e,t){return this.runFunction(e.args,t,this.metadata("IMABS"),hu)}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(Hr.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(su(e)))}imcosh(e,t){return this.runFunction(e.args,t,this.metadata("IMCOSH"),e=>Rn(lu(e)))}imcot(e,t){return this.runFunction(e.args,t,this.metadata("IMCOT"),e=>Rn(ou(su(e),cu(e))))}imcsc(e,t){return this.runFunction(e.args,t,this.metadata("IMCSC"),e=>Rn(ou([1,0],cu(e))))}imcsch(e,t){return this.runFunction(e.args,t,this.metadata("IMCSCH"),e=>Rn(ou([1,0],uu(e))))}imsec(e,t){return this.runFunction(e.args,t,this.metadata("IMSEC"),e=>Rn(ou([1,0],su(e))))}imsech(e,t){return this.runFunction(e.args,t,this.metadata("IMSECH"),e=>Rn(ou([1,0],lu(e))))}imsin(e,t){return this.runFunction(e.args,t,this.metadata("IMSIN"),e=>Rn(cu(e)))}imsinh(e,t){return this.runFunction(e.args,t,this.metadata("IMSINH"),e=>Rn(uu(e)))}imtan(e,t){return this.runFunction(e.args,t,this.metadata("IMTAN"),e=>Rn(ou(cu(e),su(e))))}imdiv(e,t){return this.runFunction(e.args,t,this.metadata("IMDIV"),(e,t)=>Rn(ou(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=au(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=nu(r,n);return Rn(r)})}imsub(e,t){return this.runFunction(e.args,t,this.metadata("IMSUB"),(e,t)=>Rn(iu(e,t)))}imexp(e,t){return this.runFunction(e.args,t,this.metadata("IMEXP"),e=>Rn(du(e)))}imln(e,t){return this.runFunction(e.args,t,this.metadata("IMLN"),e=>Rn(pu(e)))}imlog10(e,t){return this.runFunction(e.args,t,this.metadata("IMLOG10"),e=>{const[t,r]=pu(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]=pu(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(fu(e,t)))}imsqrt(e,t){return this.runFunction(e.args,t,this.metadata("IMSQRT"),e=>Rn(fu(e,.5)))}}function nu([e,t],[r,n]){return[e+r,t+n]}function iu([e,t],[r,n]){return[e-r,t-n]}function au([e,t],[r,n]){return[e*r-t*n,e*n+r*t]}function ou([e,t],[r,n]){const i=Math.pow(r,2)+Math.pow(n,2),[a,o]=au([e,t],[r,-n]);return[a/i,o/i]}function su([e,t]){return[Math.cos(e)*Math.cosh(t),-Math.sin(e)*Math.sinh(t)]}function lu([e,t]){return[Math.cosh(e)*Math.cos(t),Math.sinh(e)*Math.sin(t)]}function cu([e,t]){return[Math.sin(e)*Math.cosh(t),Math.cos(e)*Math.sinh(t)]}function uu([e,t]){return[Math.sinh(e)*Math.cos(t),Math.cosh(e)*Math.sin(t)]}function du([e,t]){return[Math.exp(e)*Math.cos(t),Math.exp(e)*Math.sin(t)]}function hu([e,t]){return Math.sqrt(e*e+t*t)}function pu([e,t]){return[Math.log(hu([e,t])),Math.atan2(t,e)]}function fu(e,t){const[r,n]=pu(e);return du([t*r,t*n])}
  1424. /**
  1425. * @license
  1426. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1427. */ru.implementedFunctions={COMPLEX:{method:"complex",parameters:[{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER},{argumentType:Zn.STRING,defaultValue:"i"}]},IMABS:{method:"imabs",parameters:[{argumentType:Zn.COMPLEX}]},IMAGINARY:{method:"imaginary",parameters:[{argumentType:Zn.COMPLEX}]},IMREAL:{method:"imreal",parameters:[{argumentType:Zn.COMPLEX}]},IMARGUMENT:{method:"imargument",parameters:[{argumentType:Zn.COMPLEX}]},IMCONJUGATE:{method:"imconjugate",parameters:[{argumentType:Zn.COMPLEX}]},IMCOS:{method:"imcos",parameters:[{argumentType:Zn.COMPLEX}]},IMCOSH:{method:"imcosh",parameters:[{argumentType:Zn.COMPLEX}]},IMCOT:{method:"imcot",parameters:[{argumentType:Zn.COMPLEX}]},IMCSC:{method:"imcsc",parameters:[{argumentType:Zn.COMPLEX}]},IMCSCH:{method:"imcsch",parameters:[{argumentType:Zn.COMPLEX}]},IMSEC:{method:"imsec",parameters:[{argumentType:Zn.COMPLEX}]},IMSECH:{method:"imsech",parameters:[{argumentType:Zn.COMPLEX}]},IMSIN:{method:"imsin",parameters:[{argumentType:Zn.COMPLEX}]},IMSINH:{method:"imsinh",parameters:[{argumentType:Zn.COMPLEX}]},IMTAN:{method:"imtan",parameters:[{argumentType:Zn.COMPLEX}]},IMDIV:{method:"imdiv",parameters:[{argumentType:Zn.COMPLEX},{argumentType:Zn.COMPLEX}]},IMPRODUCT:{method:"improduct",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},IMSUM:{method:"imsum",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},IMSUB:{method:"imsub",parameters:[{argumentType:Zn.COMPLEX},{argumentType:Zn.COMPLEX}]},IMEXP:{method:"imexp",parameters:[{argumentType:Zn.COMPLEX}]},IMLN:{method:"imln",parameters:[{argumentType:Zn.COMPLEX}]},IMLOG10:{method:"imlog10",parameters:[{argumentType:Zn.COMPLEX}]},IMLOG2:{method:"imlog2",parameters:[{argumentType:Zn.COMPLEX}]},IMPOWER:{method:"impower",parameters:[{argumentType:Zn.COMPLEX},{argumentType:Zn.NUMBER}]},IMSQRT:{method:"imsqrt",parameters:[{argumentType:Zn.COMPLEX}]}};class mu extends Jn{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(Hr.DIV_BY_ZERO);const r=Hc(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:Vc(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(Hr.NUM,xe.OneValue);for(const r of t)if(r<=0)return new ln(Hr.NUM,xe.ValueSmall);return Gc(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(Hr.NUM,xe.OneValue);for(const r of t)if(r<=0)return new ln(Hr.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(Hr.NA,xe.EqualLength);const r=Au(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Hr.DIV_BY_ZERO,xe.TwoValues):Xc(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(Hr.NA,xe.EqualLength);const r=Au(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Hr.DIV_BY_ZERO,xe.TwoValues):Math.pow(Xc(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(Hr.NA,xe.EqualLength);const r=Au(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<1?new ln(Hr.DIV_BY_ZERO,xe.OneValue):1===n?0:Kc(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(Hr.NA,xe.EqualLength);const r=Au(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Hr.DIV_BY_ZERO,xe.TwoValues):Kc(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(Hr.DIV_BY_ZERO,xe.TwoValues);r=Wc(n,!0)}return i<1?new ln(Hr.NA,xe.OneValue):0===r?new ln(Hr.DIV_BY_ZERO):1-vc.cdf((Hc(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(Hr.DIV_BY_ZERO);const i=Yc(r,!0),a=Yc(n,!0);if(0===i||0===a)return new ln(Hr.DIV_BY_ZERO);const o=i/a,s=Ic.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(Hr.NA,xe.EqualLength);const r=Au(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=2?new ln(Hr.DIV_BY_ZERO,xe.ThreeValues):Math.sqrt((Vc(r[0])-Math.pow(Kc(r[0],r[1])*(n-1),2)/Vc(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(Hr.NA,xe.EqualLength);const r=Au(e,t);if(r instanceof ln)return r;const n=r[0].length;return n<=1?new ln(Hr.DIV_BY_ZERO,xe.TwoValues):Kc(r[0],r[1])*(n-1)/Vc(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(Hr.NA,xe.EqualLength);const i=Au(e,t);if(i instanceof ln)return i;if(i[0].length<=1)return new ln(Hr.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(Hr.DIV_BY_ZERO);a+=Math.pow(i[0][o]-i[1][o],2)/i[1][o]}return a<0?new ln(Hr.NUM,xe.NaN):1-Lc.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(Hr.NA,xe.EqualLength);if(o<=1)return new ln(Hr.DIV_BY_ZERO,xe.TwoValues);const e=Array(o);for(let r=0;r<o;r++)e[r]=i[r]-a[r];const t=Wc(e,!0);if(0===t)return new ln(Hr.DIV_BY_ZERO);const n=Math.abs(Math.sqrt(o)*Hc(e)/t);return r*(1-Fc.cdf(n,o-1))}if(2===n){if(o<=1||s<=1)return new ln(Hr.DIV_BY_ZERO,xe.TwoValues);const e=(Vc(i)+Vc(a))/(o+s-2);if(0===e)return new ln(Hr.DIV_BY_ZERO);const t=Math.abs((Hc(i)-Hc(a))/Math.sqrt(e*(1/o+1/s)));return r*(1-Fc.cdf(t,o+s-2))}{if(o<=1||s<=1)return new ln(Hr.DIV_BY_ZERO,xe.TwoValues);const e=Yc(i,!0),t=Yc(a,!0);if(0===e&&0===t)return new ln(Hr.DIV_BY_ZERO);const n=Math.abs((Hc(i)-Hc(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-Fc.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(Hr.DIV_BY_ZERO,xe.ThreeValues);const n=Hc(t),i=Wc(t,!0);return 0===i?new ln(Hr.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(Hr.DIV_BY_ZERO,xe.ThreeValues);const n=Hc(t),i=Wc(t,!1);return 0===i?new ln(Hr.DIV_BY_ZERO):t.reduce((e,t)=>e+Math.pow((t-n)/i,3),0)/r})}}function Au(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;Nt(e)&&Nt(t)&&(o.push(yt(e)),s.push(yt(t)))}return[o,s]}
  1428. /**
  1429. * @license
  1430. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1431. */
  1432. /**
  1433. * @license
  1434. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1435. */mu.implementedFunctions={AVEDEV:{method:"avedev",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},DEVSQ:{method:"devsq",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},GEOMEAN:{method:"geomean",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},HARMEAN:{method:"harmean",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},CORREL:{method:"correl",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},RSQ:{method:"rsq",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},"COVARIANCE.P":{method:"covariancep",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},"COVARIANCE.S":{method:"covariances",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},"Z.TEST":{method:"ztest",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.NUMBER},{argumentType:Zn.NUMBER,optionalArg:!0}]},"F.TEST":{method:"ftest",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},STEYX:{method:"steyx",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},SLOPE:{method:"slope",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},"CHISQ.TEST":{method:"chisqtest",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE}]},"T.TEST":{method:"ttest",parameters:[{argumentType:Zn.RANGE},{argumentType:Zn.RANGE},{argumentType:Zn.INTEGER,minValue:1,maxValue:2},{argumentType:Zn.INTEGER,minValue:1,maxValue:3}]},SKEW:{method:"skew",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1},"SKEW.P":{method:"skewp",parameters:[{argumentType:Zn.ANY}],repeatLastArgs:1}},mu.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 gu extends ds{}gu.HyperFormula=ds,gu.ErrorType=Hr,gu.CellError=ln,gu.CellType=Vr,gu.CellValueType=tn,gu.CellValueDetailedType=rn,gu.DetailedCellError=ii,gu.ExportedCellChange=xo,gu.ExportedNamedExpressionChange=To,gu.ConfigValueTooBigError=sr,gu.ConfigValueTooSmallError=or,gu.EvaluationSuspendedError=cr,gu.ExpectedOneOfValuesError=lr,gu.ExpectedValueOfTypeError=ir,gu.ArraySize=ei,gu.SimpleRangeValue=Dt,gu.EmptyValue=wt,gu.FunctionPlugin=Jn,gu.FunctionArgumentType=Zn,gu.FunctionPluginValidationError=fr,gu.InvalidAddressError=qt,gu.InvalidArgumentsError=Gt,gu.LanguageNotRegisteredError=hr,gu.LanguageAlreadyRegisteredError=pr,gu.MissingTranslationError=ur,gu.NamedExpressionDoesNotExistError=Zt,gu.NamedExpressionNameIsAlreadyTakenError=Xt,gu.NamedExpressionNameIsInvalidError=$t,gu.NoOperationToRedoError=er,gu.NoOperationToUndoError=Jt,gu.NoRelativeAddressesAllowedError=_r,gu.NoSheetWithIdError=Vt,gu.NoSheetWithNameError=Yt,gu.NotAFormulaError=zt,gu.NothingToPasteError=tr,gu.ProtectedFunctionTranslationError=dr,gu.SheetNameAlreadyTakenError=Wt,gu.SheetSizeLimitExceededError=Qt,gu.SourceLocationHasArrayError=Ar,gu.TargetLocationHasArrayError=gr,gu.UnableToParseError=nr;const _u=ps.defaultConfig.language;ds.registerLanguage(_u,_s),ds.languages[_s.langCode]=_s;for(const vu of Object.getOwnPropertyNames(a))vu.startsWith("_")||ds.registerFunctionPlugin(a[vu])},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 c(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 u(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(u(e),"asciiEncode requires an ASCII string."),c(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 A(e){return e.replace(/[\n\r]/g,"")}function g(e){return e.replace(/\r\n/g,"\n").replace(/\r/g,"\n")}function _(e){return e.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function v(e){return _(e.replace(/[\t\n\f\r ]{2,}/g," "))}function b(e,t,r){if(!o.isArray(t))return b(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 w(e,t){b(e=>n.ASCIIWhiteSpace.test(e),e,t)}function y(e,t){if(!o.isArray(e))return y(Array.from(e),t);const r={position:0},n=[];let i=b(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=b(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=[];w(e,t);while(t.position<e.length){const i=b(e=>!n.ASCIIWhiteSpace.test(e),e,t);r.push(i),w(e,t)}return r}function C(e){if(!o.isArray(e))return C(Array.from(e));const t={position:0},r=[];while(t.position<e.length){const n=b(e=>","!==e,e,t);r.push(_(n)),t.position<e.length&&(console.assert(","===e[t.position],"splitAStringOnCommas found no delimiter in input string."),t.position++)}return r}function S(e,t=""){return 0===e.length?"":e.join(t)}t.isCodeUnitPrefix=s,t.isCodeUnitLessThan=l,t.isomorphicEncode=c,t.isASCIIString=u,t.asciiLowercase=d,t.asciiUppercase=h,t.asciiCaseInsensitiveMatch=p,t.asciiEncode=f,t.asciiDecode=m,t.stripNewlines=A,t.normalizeNewlines=g,t.stripLeadingAndTrailingASCIIWhitespace=_,t.stripAndCollapseASCIIWhitespace=v,t.collectASequenceOfCodePoints=b,t.skipASCIIWhitespace=w,t.strictlySplit=y,t.splitAStringOnASCIIWhitespace=E,t.splitAStringOnCommas=C,t.concatenate=S},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"}')},cdfc: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":"ÿ"}')},cedf:function(e,t,r){},cef7:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("14d9");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),[])}}},cf00:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"doc-attr"},[r("el-form",[r("el-form-item",{attrs:{label:"标题:"}},[r("el-input",{staticClass:"input-item",staticStyle:{width:"100%"},attrs:{placeholder:"请填写模版名称",disabled:e.articleId},model:{value:e.attrs.title,callback:function(t){e.$set(e.attrs,"title",t)},expression:"attrs.title"}})],1)],1)],1)},i=[],a=r("424e"),o=r("c4c8"),s=r("b775");function l(e){return Object(s["a"])({url:"/project/search",method:"post",data:e})}var c={name:"docAttr",props:{attrs:{type:Object,default:function(){return{category_id:"",title:"",linkProduct:[],linkProject:[]}}}},watch:{attrs:{handler:function(e){},immediate:!0,deep:!0}},data:function(){return{articleCategoryList:[],productList:[],projectList:[],articleId:0}},created:function(){this.initArticleCategoryList(),this.initProjectList(),this.initGoodsList(),this.articleId=this.$route.query.articleId},methods:{onChangeProduct:function(e){},onChangeProject:function(e){},initProjectList:function(){var e=this;l({page:1,pageSize:9999,status:5}).then((function(t){200==t.status&&(e.projectList=t.data.dataList)}))},initGoodsList:function(){var e=this;Object(o["a"])({page:1,pageSize:9999,status:5}).then((function(t){200==t.status&&(e.productList=t.data.dataList)}))},initArticleCategoryList:function(){var e=this;Object(a["i"])({page:1,pageSize:99,status:5}).then((function(t){200==t.status&&(e.articleCategoryList=t.data.dataList)}))}}},u=c,d=(r("a131"),r("2877")),h=Object(d["a"])(u,n,i,!1,null,null,null);t["default"]=h.exports},cf1e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1436. //! moment.js locale configuration
  1437. 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}))},cf51:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1438. //! moment.js locale configuration
  1439. 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";
  1440. //! moment.js locale configuration
  1441. 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 c,this.tree._init(e.body)}function c(e){a.Node.call(this,"der",e)}function u(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(c,a.Node),c.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=u(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)},c.prototype._decodeTag=function(e,t,r){var n=u(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+'"'))},c.prototype._skipUntilEnd=function(e,t){while(1){var r=u(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}},c.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},c.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")},c.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 c=t[n.join(" ")];void 0===c&&(c=t[n.join(".")]),void 0!==c&&(n=c)}return n},c.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)},c.prototype._decodeNull=function(e){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var r=e.raw(),n=new o(r);return t&&(n=t[n.toString(10)]||n),n},c.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,c=!0;if("length"in e&&o){var u=o(e,"length");u&&!u.configurable&&(n=!1),u&&!u.writable&&(c=!1)}return(n||c||!r)&&(a?i(e,"length",t,!0,!0):i(e,"length",t)),e}},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 c(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,u=r;u<s;u+=n)l=c(e,u,u+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=c(e,u,e.length,t),u=0;u<o;u++)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 u=["","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 c=1;c<n;c++){for(var u=l>>>26,d=67108863&l,h=Math.min(c,t.length-1),p=Math.max(0,c-e.length+1);p<=h;p++){var f=c-p|0;i=0|e.words[f],a=0|t.words[p],o=i*a+d,u+=o/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|u}return 0!==l?r.words[c]=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?u[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 c=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:u[c-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,c=new e(a),u=this.clone();if(l){for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[s]=o;for(;s<a;s++)c[s]=0}else{for(s=0;s<a-i;s++)c[s]=0;for(s=0;!u.isZero();s++)o=u.andln(255),u.iushrn(8),c[a-s-1]=o}return c},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,c=0,u=0|o[0],d=8191&u,h=u>>>13,p=0|o[1],f=8191&p,m=p>>>13,A=0|o[2],g=8191&A,_=A>>>13,v=0|o[3],b=8191&v,w=v>>>13,y=0|o[4],E=8191&y,C=y>>>13,S=0|o[5],M=8191&S,x=S>>>13,T=0|o[6],O=8191&T,N=T>>>13,R=0|o[7],L=8191&R,I=R>>>13,k=0|o[8],B=8191&k,D=k>>>13,F=0|o[9],P=8191&F,j=F>>>13,U=0|s[0],H=8191&U,V=U>>>13,Y=0|s[1],W=8191&Y,Q=Y>>>13,z=0|s[2],q=8191&z,G=z>>>13,K=0|s[3],X=8191&K,$=K>>>13,Z=0|s[4],J=8191&Z,ee=Z>>>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,ce=se>>>13,ue=0|s[8],de=8191&ue,he=ue>>>13,pe=0|s[9],fe=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,H),i=Math.imul(d,V),i=i+Math.imul(h,H)|0,a=Math.imul(h,V);var Ae=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(f,H),i=Math.imul(f,V),i=i+Math.imul(m,H)|0,a=Math.imul(m,V),n=n+Math.imul(d,W)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Q)|0;var ge=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,H),i=Math.imul(g,V),i=i+Math.imul(_,H)|0,a=Math.imul(_,V),n=n+Math.imul(f,W)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Q)|0,n=n+Math.imul(d,q)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,q)|0,a=a+Math.imul(h,G)|0;var _e=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(b,H),i=Math.imul(b,V),i=i+Math.imul(w,H)|0,a=Math.imul(w,V),n=n+Math.imul(g,W)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(f,q)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,G)|0,n=n+Math.imul(d,X)|0,i=i+Math.imul(d,$)|0,i=i+Math.imul(h,X)|0,a=a+Math.imul(h,$)|0;var ve=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(E,H),i=Math.imul(E,V),i=i+Math.imul(C,H)|0,a=Math.imul(C,V),n=n+Math.imul(b,W)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Q)|0,n=n+Math.imul(g,q)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,q)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(f,X)|0,i=i+Math.imul(f,$)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,$)|0,n=n+Math.imul(d,J)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,J)|0,a=a+Math.imul(h,ee)|0;var be=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,H),i=Math.imul(M,V),i=i+Math.imul(x,H)|0,a=Math.imul(x,V),n=n+Math.imul(E,W)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,q)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(w,q)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(g,X)|0,i=i+Math.imul(g,$)|0,i=i+Math.imul(_,X)|0,a=a+Math.imul(_,$)|0,n=n+Math.imul(f,J)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,J)|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 we=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(O,H),i=Math.imul(O,V),i=i+Math.imul(N,H)|0,a=Math.imul(N,V),n=n+Math.imul(M,W)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,Q)|0,n=n+Math.imul(E,q)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,X)|0,i=i+Math.imul(b,$)|0,i=i+Math.imul(w,X)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,J)|0,a=a+Math.imul(_,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 ye=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(L,H),i=Math.imul(L,V),i=i+Math.imul(I,H)|0,a=Math.imul(I,V),n=n+Math.imul(O,W)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(M,q)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(E,X)|0,i=i+Math.imul(E,$)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,J)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(w,J)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,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,ce)|0,i=i+Math.imul(h,le)|0,a=a+Math.imul(h,ce)|0;var Ee=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,H),i=Math.imul(B,V),i=i+Math.imul(D,H)|0,a=Math.imul(D,V),n=n+Math.imul(L,W)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(O,q)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(M,X)|0,i=i+Math.imul(M,$)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(E,J)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,J)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(g,ae)|0,i=i+Math.imul(g,oe)|0,i=i+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,a=a+Math.imul(m,ce)|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 Ce=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(P,H),i=Math.imul(P,V),i=i+Math.imul(j,H)|0,a=Math.imul(j,V),n=n+Math.imul(B,W)|0,i=i+Math.imul(B,Q)|0,i=i+Math.imul(D,W)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(L,q)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,G)|0,n=n+Math.imul(O,X)|0,i=i+Math.imul(O,$)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(M,J)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(x,J)|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(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,a=a+Math.imul(_,ce)|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 Se=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(P,W),i=Math.imul(P,Q),i=i+Math.imul(j,W)|0,a=Math.imul(j,Q),n=n+Math.imul(B,q)|0,i=i+Math.imul(B,G)|0,i=i+Math.imul(D,q)|0,a=a+Math.imul(D,G)|0,n=n+Math.imul(L,X)|0,i=i+Math.imul(L,$)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(O,J)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(N,J)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,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(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,le)|0,i=i+Math.imul(b,ce)|0,i=i+Math.imul(w,le)|0,a=a+Math.imul(w,ce)|0,n=n+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,a=a+Math.imul(_,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 Me=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(P,q),i=Math.imul(P,G),i=i+Math.imul(j,q)|0,a=Math.imul(j,G),n=n+Math.imul(B,X)|0,i=i+Math.imul(B,$)|0,i=i+Math.imul(D,X)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(L,J)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,J)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,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,ce)|0,i=i+Math.imul(C,le)|0,a=a+Math.imul(C,ce)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,he)|0,i=i+Math.imul(w,de)|0,a=a+Math.imul(w,he)|0,n=n+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,a=a+Math.imul(_,me)|0;var xe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(P,X),i=Math.imul(P,$),i=i+Math.imul(j,X)|0,a=Math.imul(j,$),n=n+Math.imul(B,J)|0,i=i+Math.imul(B,ee)|0,i=i+Math.imul(D,J)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(L,re)|0,i=i+Math.imul(L,ne)|0,i=i+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(M,le)|0,i=i+Math.imul(M,ce)|0,i=i+Math.imul(x,le)|0,a=a+Math.imul(x,ce)|0,n=n+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,he)|0,n=n+Math.imul(b,fe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(w,fe)|0,a=a+Math.imul(w,me)|0;var Te=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(P,J),i=Math.imul(P,ee),i=i+Math.imul(j,J)|0,a=Math.imul(j,ee),n=n+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,i=i+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(L,ae)|0,i=i+Math.imul(L,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(N,le)|0,a=a+Math.imul(N,ce)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,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(C,fe)|0,a=a+Math.imul(C,me)|0;var Oe=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(P,re),i=Math.imul(P,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(B,ae)|0,i=i+Math.imul(B,oe)|0,i=i+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,a=a+Math.imul(I,ce)|0,n=n+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,he)|0,n=n+Math.imul(M,fe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(x,fe)|0,a=a+Math.imul(x,me)|0;var Ne=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(P,ae),i=Math.imul(P,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(B,le)|0,i=i+Math.imul(B,ce)|0,i=i+Math.imul(D,le)|0,a=a+Math.imul(D,ce)|0,n=n+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(N,fe)|0,a=a+Math.imul(N,me)|0;var Re=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(P,le),i=Math.imul(P,ce),i=i+Math.imul(j,le)|0,a=Math.imul(j,ce),n=n+Math.imul(B,de)|0,i=i+Math.imul(B,he)|0,i=i+Math.imul(D,de)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,a=a+Math.imul(I,me)|0;var Le=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(P,de),i=Math.imul(P,he),i=i+Math.imul(j,de)|0,a=Math.imul(j,he),n=n+Math.imul(B,fe)|0,i=i+Math.imul(B,me)|0,i=i+Math.imul(D,fe)|0,a=a+Math.imul(D,me)|0;var Ie=(c+n|0)+((8191&i)<<13)|0;c=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(P,fe),i=Math.imul(P,me),i=i+Math.imul(j,fe)|0,a=Math.imul(j,me);var ke=(c+n|0)+((8191&i)<<13)|0;return c=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=ve,l[4]=be,l[5]=we,l[6]=ye,l[7]=Ee,l[8]=Ce,l[9]=Se,l[10]=Me,l[11]=xe,l[12]=Te,l[13]=Oe,l[14]=Ne,l[15]=Re,l[16]=Le,l[17]=Ie,l[18]=ke,0!==c&&(l[19]=c,r.length++),r};function A(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),c=Math.max(0,a-e.length+1);c<=l;c++){var u=a-c,d=0|e.words[u],h=0|t.words[c],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 g(e,t,r){var n=new _;return n.mulp(e,t,r)}function _(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?A(this,e,t):g(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),c=Math.sin(2*Math.PI/s),u=0;u<i;u+=s)for(var d=l,h=c,p=0;p<o;p++){var f=r[u+p],m=n[u+p],A=r[u+p+o],g=n[u+p+o],_=d*A-h*g;g=d*g+h*A,A=_,r[u+p]=f+A,n[u+p]=m+g,r[u+p+o]=f-A,n[u+p+o]=m-g,p!==s&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.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),c=new Array(n),u=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,c,n),this.transform(o,a,s,l,n,i),this.transform(c,a,u,d,n,i);for(var p=0;p<n;p++){var f=s[p]*u[p]-l[p]*d[p];l[p]=s[p]*d[p]+l[p]*u[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),g(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 c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var u=0;for(c=this.length-1;c>=0&&(0!==u||c>=i);c--){var d=0|this.words[c];this.words[c]=u<<26-a|d>>>a,u=d&s}return l&&0!==u&&(l.words[l.length++]=u),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,c=n.length-i.length;if("mod"!==t){l=new a(null),l.length=c+1,l.words=new Array(l.length);for(var u=0;u<l.length;u++)l.words[u]=0}var d=n.clone()._ishlnsubmul(i,1,c);0===d.negative&&(n=d,l&&(l.words[c]=1));for(var h=c-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),c=0;while(t.isEven()&&r.isEven())t.iushrn(1),r.iushrn(1),++c;var u=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(u),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(u),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(c)}},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 c=0,u=1;0===(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0){t.iushrn(c);while(c-- >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 S(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 v={k256:null,p224:null,p192:null,p25519:null};function b(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(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(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 M(e){S.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)}b.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.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},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),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},w.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(y,b),i(E,b),i(C,b),C.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(v[e])return v[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return v[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.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")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.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)},S.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},S.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)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.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(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new a(2*u*u).toRed(this);while(0!==this.pow(u,c).cmp(l))u.redIAdd(l);var d=this.pow(u,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,A=0;0!==m.cmp(s);A++)m=m.redSqr();n(A<f);var g=this.pow(d,new a(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.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,c=t.bitLength()%26;for(0===c&&(c=26),i=t.length-1;i>=0;i--){for(var u=t.words[i],d=c-1;d>=0;d--){var h=u>>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}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new M(e)},i(M,S),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.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)},M.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)},M.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))},d12a:function(module,__webpack_exports__,__webpack_require__){"use strict";var D_project_ui_ui_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("3835"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("2909"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("5530"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("b85c"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("c7eb"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("1da1"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("d9e2"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("99af"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("4de4"),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("7db0"),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("caad"),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("a15b"),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("d81d"),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("14d9"),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("fb6a"),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("4e82"),core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("a434"),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("e9c4"),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("b64b"),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("4d63"),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("c607"),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_23__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("ac1f"),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_24__),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("2c3e"),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_25___default=__webpack_require__.n(core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_25__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_26___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_26__),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("2532"),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_27__),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("3ca3"),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_28___default=__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_28__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("466d"),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_29___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_29__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("5319"),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_30___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_30__),core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("841c"),core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_31___default=__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_31__),core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("2ca0"),core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_32___default=__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_32__),core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("498a"),core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_33___default=__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_33__),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("0643"),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_34___default=__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_34__),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("2382"),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_35___default=__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_35__),core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("fffc"),core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_36___default=__webpack_require__.n(core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_36__),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("4e3e"),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_37___default=__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_37__),core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("a573"),core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_38___default=__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_38__),core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__("9a9a"),core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_39___default=__webpack_require__.n(core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_39__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_40__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_40___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_40__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_41__=__webpack_require__("ddb0"),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_41___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_41__),_api_sourceData__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__("1c4c"),_api_document__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__("424e"),_com_menus__WEBPACK_IMPORTED_MODULE_44__=__webpack_require__("02b5"),_com_editor__WEBPACK_IMPORTED_MODULE_45__=__webpack_require__("c4e1"),_com_components_Attribute__WEBPACK_IMPORTED_MODULE_46__=__webpack_require__("f539"),_com_components_Attribute_attributeVar_index_vue__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__("62cf"),_com_components_ProductAttr__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__("0d5e"),_api_template__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__("c621"),_com_components_Attribute_docAttr__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__("cf00"),_com_components_Attribute_comList__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__("7f31"),_com_components_Attribute_Directory__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__("1ab1"),_api_api__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__("4ec3"),_com_view__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__("3e4b"),_directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__("a888"),vuedraggable__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__("b76a"),vuedraggable__WEBPACK_IMPORTED_MODULE_56___default=__webpack_require__.n(vuedraggable__WEBPACK_IMPORTED_MODULE_56__),html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__("4f15"),html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_57___default=__webpack_require__.n(html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_57__),_api_formula__WEBPACK_IMPORTED_MODULE_58__=__webpack_require__("f9e5"),axios__WEBPACK_IMPORTED_MODULE_59__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_59___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_59__),_settings__WEBPACK_IMPORTED_MODULE_60__=__webpack_require__("83d6"),_settings__WEBPACK_IMPORTED_MODULE_60___default=__webpack_require__.n(_settings__WEBPACK_IMPORTED_MODULE_60__);__webpack_exports__["a"]={name:"create",components:{menus:_com_menus__WEBPACK_IMPORTED_MODULE_44__["default"],editor:_com_editor__WEBPACK_IMPORTED_MODULE_45__["default"],Attribute:_com_components_Attribute__WEBPACK_IMPORTED_MODULE_46__["default"],comList:_com_components_Attribute_comList__WEBPACK_IMPORTED_MODULE_51__["default"],docAttr:_com_components_Attribute_docAttr__WEBPACK_IMPORTED_MODULE_50__["default"],ViewForm:_com_view__WEBPACK_IMPORTED_MODULE_54__["default"],ProductAttr:_com_components_ProductAttr__WEBPACK_IMPORTED_MODULE_48__["default"],Directory:_com_components_Attribute_Directory__WEBPACK_IMPORTED_MODULE_52__["default"],draggable:vuedraggable__WEBPACK_IMPORTED_MODULE_56___default.a,attributeVar:_com_components_Attribute_attributeVar_index_vue__WEBPACK_IMPORTED_MODULE_47__["default"]},directives:{elDragDialog:_directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_55__["a"]},data:function(){return{activeNames:"-1",nestedActiveNames:[],articleList:[],activeModel:"",templateList:[],categoryList:[],coms:[],comIndex:9999,showProductAttr:!1,comList:[],docAttr:{id:0,category_id:"",title:"",content:"",status:5,links:"",linkProduct:[],linkProject:[],projects:""},insertCmd:null,showViewForm:!1,isAdmin:2,tabExt:{row:0,col:0},userInfo:null,articleId:0,loading:!1,showView:0,childrenList:"",value:[],AttributeIndex:0,catalogIndex:0,docuComIndex:3,type:"",docVisible:!1,docForm:{dcm_title:"",dcm_type:""},docRules:{dcm_title:[{required:!0,message:"请输文档名称",trigger:"blur"}],dcm_type:[{required:!0,message:"请选择文档分类",trigger:"change"}]},articleCategoryList:[],searchKey:"",currentScheme:"",expandedKeys:[],schemeData:[{label:"LED项目",children:[]},{label:"LCD项目",children:[]},{label:"集成项目",children:[{label:"方案一"},{label:"方案二"},{label:"方案三"}]}],defaultProps:{children:"children",label:"label"},resourceDialogVisible:!1,resourceSearchKey:"",activeCategories:["dlp","led","processor","service"],dlpProducts:[{id:1,name:"产品选型/DLP/单元/",selected:!1},{id:2,name:"产品选型/DLP/机芯/",selected:!0},{id:3,name:"产品选型/DLP/控制盒/",selected:!0}],ledProducts:[{id:4,name:"产品选型/LED/黄河系/",selected:!1},{id:5,name:"产品选型/LED/华夏系/",selected:!0},{id:6,name:"产品选型/LED/黄河单元/",selected:!1}],processors:[{id:7,name:"产品选型/处理器/D301/",selected:!1},{id:8,name:"产品选型/处理器/IPWH300/",selected:!1},{id:9,name:"产品选型/处理器/IPWD400/",selected:!1}],services:[{id:10,name:"产品选型/处理器/IPWH300/",selected:!1},{id:11,name:"产品选型/处理器/IPWH301/",selected:!1},{id:12,name:"产品选型/处理器/IPWD400/",selected:!1}],activeTab:"template",catalogData:[{label:"1. 概述 4",children:[{label:"1.1. 强大的显示功能",children:[{label:"1.1.1. 计算机信号显示"},{label:"1.1.2. 视频信号显示"},{label:"1.1.3. 海量流媒体信号接入"},{label:"1.1.4. 网络信号显示"},{label:"1.1.5. 信号综合处理"},{label:"1.1.6. 显示效果及图像拼接"}]},{label:"1.2. 任意开窗漫游显示"},{label:"1.3. 信号混合显示"},{label:"1.4. 全数字连接"}]},{label:"2. 系统设计",children:[{label:"2.1. 设计标准及规范"},{label:"2.2. 系统规模及尺寸"}]}],catalogProps:{children:"children",label:"label"}}},watch:{coms:{handler:function(e,t){this.updateAttrs(e,t)},immediate:!0,deep:!0},articleId:{handler:function(e){null==e||void 0==e||e<=0||("document"==this.$route.query.type?this.loadArticle(e):this.onTemplateInfo(e))},immediate:!0,deep:!0}},mounted:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function t(){var r;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.articleId=e.$route.query.articleId,e.type=e.$route.query.type,"module"==e.type&&(e.showView=1),e.searchArticle(),t.next=6,e.initCategoryList();case 6:return t.next=8,e.initCurrentUser();case 8:r=e.$route.query.templateId,r>0&&e.loadTemplateInfo(r),e.isAdmin=2,e.initArticleCategoryList(),"module"!==e.type&&"document"!==e.type&&(document.title="新建模版-"+_settings__WEBPACK_IMPORTED_MODULE_60___default.a.title),"module"!==e.type&&"document"!==e.type&&void 0!==e.articleId&&(document.title=e.docAttr.title+_settings__WEBPACK_IMPORTED_MODULE_60___default.a.title),e.$nextTick((function(){var e=document.querySelectorAll(".el-collapse-item__arrow");e.forEach((function(e){e.style.margin="0"}))}));case 15:case"end":return t.stop()}}),t)})))()},methods:{handleClick:function(e){var t=this;if("catalog"===e.name){var r=[];this.coms.forEach((function(e,n){var i=e.attrs.filter((function(e){return"Directory"===e.type})).sort((function(e,t){return e.level!==t.level?e.level-t.level:e.number.localeCompare(t.number,void 0,{numeric:!0})}));i.forEach((function(e){var i={label:"".concat(e.number," ").concat(e.content),level:e.level,moduleIndex:n,children:[]};if(1===e.level)r.push(i);else{var a=t.findParentDirectory(r,e.number);a&&a.children.push(i)}}))})),console.log(r),this.catalogData=r,this.$nextTick((function(){t.$forceUpdate()}))}},findParentDirectory:function(e,t){var r=t.split(".").slice(0,-1).join("."),n=function(e){var t,i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;if(a.label.startsWith(r+" "))return a;if(a.children){var o=n(a.children);if(o)return o}}}catch(s){i.e(s)}finally{i.f()}return null};return n(e)},handleNodeClick:function(e){this.currentScheme=e.label,this.resourceDialogVisible=!0},createScheme:function(){this.$message.success("新建方案")},createCategory:function(){this.$message.success("新建分类")},createResource:function(){this.$message.success("新建资源")},createResourceCategory:function(){this.$message.success("新建资源分类")},refreshResources:function(){this.$message.success("刷新资源列表")},handleCatalogClick:function(e){console.log("点击的目录项:",e)},handleItemVal:function(e){this.$forceUpdate(),this.loadChildren(e)},handleChildItemClick:function(e){e.children||this.loadChildren(e)},handleChildItemVal:function(e){this.$forceUpdate(),this.loadChildren(e)},handleGrandChildItemClick:function(e){e.children||this.loadChildren(e)},handleGrandChildItemVal:function(e){this.loadChildren(e),this.$forceUpdate()},handlegreatGrandChildItemVal:function(e){this.loadChildren(e),this.$forceUpdate()},loadChildren:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a,o;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n=e[e.length-1],r.prev=1,r.next=4,Object(_api_template__WEBPACK_IMPORTED_MODULE_49__["j"])({parent_id:n});case 4:if(i=r.sent,200==i.status&&0!=i.data.length){r.next=7;break}return r.abrupt("return");case 7:a=i.data,o=0;case 9:if(!(o<a.length)){r.next=16;break}return r.next=12,t.getTemplateList(a[o].id);case 12:a[o].dataList=r.sent;case 13:o++,r.next=9;break;case 16:t.insertChildrenById(t.categoryList,n,a),console.log(t.categoryList),t.$forceUpdate(),r.next=24;break;case 21:r.prev=21,r.t0=r["catch"](1),console.error("Error fetching template categories:",r.t0);case 24:case"end":return r.stop()}}),r,null,[[1,21]])})))()},insertChildrenById:function(e,t,r){var n,i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.id===t)return this.$set(a,"children",r),!0;if(a.children&&a.children.length>0){var o=this.insertChildrenById(a.children,t,r);if(o)return!0}}}catch(s){i.e(s)}finally{i.f()}return!1},closeDoc:function(){this.docVisible=!1,this.docForm={dcm_title:"",dcm_type:""}},submitDoc:function(){var e=this;this.$refs.docRef.validate((function(t){t&&(e.docAttr.dcm_title=e.docForm.dcm_title,e.docAttr.dcm_type=e.docForm.dcm_type,e.onSave())}))},initArticleCategoryList:function(){var e=this;Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["i"])({page:1,pageSize:99,status:5}).then((function(t){200==t.status&&(e.articleCategoryList=t.data.dataList)}))},updateAttrs:function(e,t){var r=this;console.log(e),e.forEach((function(e,n){var i=t[n];i&&e.attrs.forEach((function(e,t){var n=i.attrs[t];n&&e.content!==n.content&&r.updateGlobalAttr(e.name,e.content)}))}))},updateGlobalAttr:function(e,t){this.coms.forEach((function(r){r.attrs.forEach((function(r){r.name===e&&"variableNull"!==r.type&&(r.content=t)})),"TextArea"===r.type&&(r.content=r.content.replace(new RegExp("{{".concat(e,"}}"),"g"),(function(n){var i=r.attrs.find((function(t){return t.id===e}));return i&&"variableNull"!==i.type?t:n})))})),this.replaceData(this.coms),this.$forceUpdate()},replaceData:function replaceData(data){var _this7=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function _callee3(){var _iterator3,_step3,item,_iterator4,_step4,el,attrId,formual;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function _callee3$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_iterator3=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(_this7.coms),_context3.prev=1,_iterator3.s();case 3:if((_step3=_iterator3.n()).done){_context3.next=40;break}item=_step3.value,_iterator4=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(item.attrs),_context3.prev=6,_iterator4.s();case 8:if((_step4=_iterator4.n()).done){_context3.next=30;break}if(el=_step4.value,attrId=el.id,"formual"!==el.type){_context3.next=27;break}return _context3.prev=12,_context3.next=15,_this7.analysisFormual(el);case 15:return formual=_context3.sent,_context3.next=18,_this7.getRemote(formual);case 18:formual=_context3.sent,el.content=eval(formual),_context3.next=25;break;case 22:_context3.prev=22,_context3.t0=_context3["catch"](12),console.error("处理公式时出错:",_context3.t0);case 25:_context3.next=28;break;case 27:"variableNull"===el.type&&(el.content=el.content||"请输入");case 28:_context3.next=8;break;case 30:_context3.next=35;break;case 32:_context3.prev=32,_context3.t1=_context3["catch"](6),_iterator4.e(_context3.t1);case 35:return _context3.prev=35,_iterator4.f(),_context3.finish(35);case 38:_context3.next=3;break;case 40:_context3.next=45;break;case 42:_context3.prev=42,_context3.t2=_context3["catch"](1),_iterator3.e(_context3.t2);case 45:return _context3.prev=45,_iterator3.f(),_context3.finish(45);case 48:return _context3.abrupt("return",data);case 49:case"end":return _context3.stop()}}),_callee3,null,[[1,42,45,48],[6,32,35,38],[12,22]])})))()},analysisFormual:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/(\[.*?\]){3}/,a=e.formula,o=new RegExp(i);case 4:if(s=a.match(o),null!=s){r.next=8;break}return r.abrupt("break",22);case 8:return l=s[0],r.prev=9,r.next=12,n.getFormualData(l);case 12:c=r.sent,null===c||void 0===c||isNaN(c)?(console.warn("获取到的数据无效: ".concat(l)),a=a.replace(l,"(0)")):a=a.replace(l,"(".concat(parseFloat(c),")")),r.next=20;break;case 16:r.prev=16,r.t0=r["catch"](9),console.error("处理 ".concat(l," 时出错:"),r.t0),a=a.replace(l,"(0)");case 20:r.next=4;break;case 22:return r.abrupt("return",a);case 23:case"end":return r.stop()}}),r,null,[[9,16]])})))()},getFormualData:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i),o=e.match(a),s=0,!o||"T"!=o[1]){r.next=11;break}return r.next=8,n.getModuleData(o[2],o[3]);case 8:s=r.sent,r.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return r.abrupt("return",s);case 13:case"end":return r.stop()}}),r)})))()},getModuleData:function(e,t){var r=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function n(){var i,a,o;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=r,a=i.coms.filter((function(t){return t.name==e})),!(a.length>0)){n.next=6;break}if(o=a[0].attrs.filter((function(e){return e.name==t})),!(o.length>0)){n.next=6;break}return n.abrupt("return",parseFloat(o[0].content));case 6:return n.abrupt("return",0);case 7:case"end":return n.stop()}}),n)})))()},getRemote:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i);case 3:if(o=e.match(a),null!=o){r.next=7;break}return r.abrupt("break",18);case 7:if("R"!=o[1]){r.next=16;break}return s=o[4],s=o[4].split(","),r.next=12,n.getRemoteData(o[2],o[3],s[0],s[1]);case 12:l=r.sent,c=o[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")"),e=e.replace(c,"("+parseFloat(l)+")");case 16:r.next=3;break;case 18:return r.abrupt("return",e);case 19:case"end":return r.stop()}}),r)})))()},getRemoteData:function(e,t,r,n){var i=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function a(){var o,s,l;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i,o=0,s={code:e,sheetName:t,row:r,col:n},a.prev=3,a.next=6,Object(_api_sourceData__WEBPACK_IMPORTED_MODULE_42__["a"])(s);case 6:l=a.sent,200==l.status&&(o=l.data.result,"string"!==typeof o||isNaN(o)||(o=parseFloat(o))),a.next=13;break;case 10:a.prev=10,a.t0=a["catch"](3),console.error("获取远程数据错误:",a.t0);case 13:return a.abrupt("return",o);case 14:case"end":return a.stop()}}),a,null,[[3,10]])})))()},handleItemClick:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=t.categoryList.find((function(t){return t.id===e})),n){r.next=3;break}return r.abrupt("return");case 3:if(n.children){r.next=24;break}return r.prev=4,r.next=7,Object(_api_template__WEBPACK_IMPORTED_MODULE_49__["j"])({parent_id:e});case 7:if(i=r.sent,200==i.status&&0!=i.data.length){r.next=10;break}return r.abrupt("return");case 10:n.children=i.data,a=0;case 12:if(!(a<n.children.length)){r.next=19;break}return r.next=15,t.getTemplateList(n.children[a].id);case 15:n.children[a].dataList=r.sent;case 16:a++,r.next=12;break;case 19:r.next=24;break;case 21:r.prev=21,r.t0=r["catch"](4),console.error("Error fetching template categories:",r.t0);case 24:t.$set(n,"activeChildren",n.activeChildren||[]);case 25:case"end":return r.stop()}}),r,null,[[4,21]])})))()},viewDocument:function(){this.showView=0},viewModule:function(){this.showView=1},uptadeVariable:function(e){var t=e.id,r=e.value;this.coms.forEach((function(n){n.attrs.forEach((function(n){"variable"!==n.type&&"constant"!==n.type||n.data.id!==t||(n.content=r,n.data=e)}))}))},uptadeSearch:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function t(){var r,n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:r=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(e.coms);try{for(r.s();!(n=r.n()).done;){i=n.value,a=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(i.attrs);try{for(a.s();!(o=a.n()).done;)s=o.value,s.type}catch(l){a.e(l)}finally{a.f()}}}catch(l){r.e(l)}finally{r.f()}case 2:case"end":return t.stop()}}),t)})))()},retrieval:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t.loading=!0,r.prev=1,r.next=4,axios__WEBPACK_IMPORTED_MODULE_59___default.a.post("http://58.246.234.210:7860/api/v1/run/3f84a841-cefd-44b3-9555-568cc3b6c2d2?stream=false",{input_value:e.search,output_type:"chat",input_type:"chat",tweaks:{"ChatInput-em6qC":{},"ParseData-yO3YQ":{},"Prompt-Wj75b":{},"ChatOutput-zy9na":{},"SplitText-O1knk":{},"File-4j6Zd":{},"OllamaEmbeddings-xbYXX":{},"Chroma-OIejP":{},"OllamaModel-04mEO":{},"OllamaEmbeddings-UGvLP":{},"Chroma-HzukO":{}}},{headers:{"Content-Type":"application/json"}});case 4:n=r.sent,200===n.status&&(i=n.data.outputs[0].outputs[0].results.message.data.text,e.content=i),r.next=12;break;case 8:r.prev=8,r.t0=r["catch"](1),console.error("Error during retrieval:",r.t0),t.$message.error("检索失败,请稍后重试");case 12:return r.prev=12,t.loading=!1,r.finish(12);case 15:case"end":return r.stop()}}),r,null,[[1,8,12,15]])})))()},loadTemplateInfo:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Object(_api_template__WEBPACK_IMPORTED_MODULE_49__["g"])({id:e});case 3:return n=r.sent,i=n.data,i.attrs&&i.type||Object.assign(i,{attrs:"[]",content:"请填写内容",lay_id:"textArea",type:"TextArea"}),document.title=i.name?"".concat(i.name,"-").concat(_settings__WEBPACK_IMPORTED_MODULE_60___default.a.title):"新建模块-"+_settings__WEBPACK_IMPORTED_MODULE_60___default.a.title,i.attrs=JSON.parse(i.attrs),r.next=10,Object(_api_formula__WEBPACK_IMPORTED_MODULE_58__["d"])({page:1,pageSize:999});case 10:a=r.sent,o=a.data.dataList,console.log(i),i.attrs=i.attrs.map((function(e){var t=o.find((function(t){return t.id===e.id}));return t?Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},e),{},{formula:t.formula,data:t}):e})),s=(i.content.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()})),i.attrs=i.attrs.filter((function(e){return s.includes(e.id)})),t.coms=[i],r.next=22;break;case 19:r.prev=19,r.t0=r["catch"](0),console.error("加载模板信息失败:",r.t0);case 22:case"end":return r.stop()}}),r,null,[[0,19]])})))()},onExport:function(e){var t=this;t.comIndex=-1;t.$refs.tabHtml.innerHTML},onOpenView:function(e){console.log("this.coms",this.coms),this.showViewForm=!0},onClose:function(){this.$router.back()},loadArticle:function(e){var t=this;t.onLoadArticle(e)},handleDragStart:function(e){var t={};if("article"==e.target.dataset.type){var r=e.target.dataset.index;t={optType:e.target.dataset.type,item:this.articleList[r]}}else{var n=e.target.dataset.index,i=e.target.dataset.subIndex,a=this.categoryList[n].dataList[i];delete a.category,t=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},a),{},{optType:e.target.dataset.type,key:"addNew",attrs:JSON.parse(a.attrs)})}e.dataTransfer.setData("item",JSON.stringify(t)),this.operation="drag"},onRebuild:function(e){var t=this;this.coms=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(e),this.$nextTick((function(){t.$forceUpdate()}))},initCurrentUser:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function t(){var r,n;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e,t.next=3,Object(_api_api__WEBPACK_IMPORTED_MODULE_53__["a"])();case 3:if(n=t.sent,200==n.status){t.next=6;break}return t.abrupt("return");case 6:r.userInfo=n.data;case 7:case"end":return t.stop()}}),t)})))()},onLoadArticle:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,t.loading=!0,r.next=4,Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["g"])(e);case 4:if(n=r.sent,200===n.status){r.next=7;break}throw new Error("Invalid response status");case 7:return t.docAttr={dcm_id:n.data.dcm_id,dcm_type:Number(n.data.dcm_type),dcm_title:n.data.dcm_title,content:"",status:n.data.status,is_template:n.data.is_template,linkProduct:n.data.linkProduct,links:n.data.links,linkProject:n.data.linkProject,projects:n.data.projects},i="string"===typeof n.data.dcm_data?JSON.parse(n.data.dcm_data):n.data.dcm_data,r.next=11,Promise.all(i.map(function(){var e=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function e(t){var r,n;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(_api_formula__WEBPACK_IMPORTED_MODULE_58__["d"])({page:1,pageSize:999});case 2:return r=e.sent,n=t.attrs,n.forEach((function(e){if(e&&e.data&&e.data.id){var t=r.data.dataList.find((function(t){return t.id===e.data.id}));t&&(e.data=t,e.formula=t.formula)}})),e.abrupt("return",Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},t));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 11:a=r.sent,t.coms=a,console.log("coms",a),"document"===t.type&&void 0!==t.articleId&&(document.title="".concat(t.docAttr.title,"-").concat(_settings__WEBPACK_IMPORTED_MODULE_60___default.a.title)),t.uptadeSearch(),r.next=21;break;case 18:r.prev=18,r.t0=r["catch"](0),console.error("Error in onLoadArticle:",r.t0);case 21:return r.prev=21,t.loading=!1,r.finish(21);case 24:case"end":return r.stop()}}),r,null,[[0,18,21,24]])})))()},onTemplateInfo:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i,a;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,t.loading=!0,r.next=4,Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["g"])({id:e});case 4:if(n=r.sent,200===n.status&&n.data){r.next=7;break}throw new Error("无效的响应或未收到数据");case 7:return t.docAttr={id:t.docAttr.id,category_id:Number(t.docAttr.category_id),title:n.data.title,content:"",status:n.data.status,is_template:n.data.is_template,linkProduct:n.data.linkProduct||[],links:n.data.links||"",linkProject:n.data.linkProject||[],projects:n.data.projects||""},i=n.data.data?JSON.parse(n.data.data):[],console.log(i),r.next=12,Promise.all(i.map(function(){var e=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function e(t){var r,n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t&&t.id){e.next=3;break}return console.warn("无效的文档项:",t),e.abrupt("return",null);case 3:return e.next=5,Object(_api_template__WEBPACK_IMPORTED_MODULE_49__["g"])({id:t.id});case 5:return r=e.sent,e.next=8,Object(_api_formula__WEBPACK_IMPORTED_MODULE_58__["d"])({page:1,pageSize:999});case 8:return n=e.sent,i=r.data.content,a=r.data.attrs?JSON.parse(r.data.attrs).filter((function(e){return"Directory"!==e.type})):[],o=t.attrs.filter((function(e){return"Directory"===e.type})),a=[].concat(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(a),Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(o)),s=(i.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2)})),console.log("contentItems",s),s.forEach((function(e){if(e.startsWith("Directory_")&&!a.some((function(t){return t.id===e}))){var t=e.split("_"),r=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__["a"])(t,3),n=r[1],i=r[2];a.push({type:"Directory",id:e,name:"目录信息",intro:"目录信息",number:"",content:"",level:parseInt(i),moduleIndex:parseInt(n)})}})),a=a.map((function(e){if("formual"===e.type&&e.data&&e.data.id){var t=n.data.dataList.find((function(t){return t.id===e.data.id}));if(t)return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},e),{},{data:t,formula:t.formula})}return e})),e.abrupt("return",Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},r.data),{},{attrs:a,content:i}));case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 12:a=r.sent,t.coms=a.filter(Boolean),console.log("组件",t.coms),console.log("模版",t.docAttr),void 0!==t.articleId&&(document.title="".concat(t.docAttr.title,"-").concat(_settings__WEBPACK_IMPORTED_MODULE_60___default.a.title)),t.uptadeSearch(),r.next=24;break;case 20:r.prev=20,r.t0=r["catch"](0),console.error("加载模板信息时出错:",r.t0),t.$message.error("加载模板信息时出错,请稍后重试");case 24:return r.prev=24,t.loading=!1,r.finish(24);case 27:case"end":return r.stop()}}),r,null,[[0,20,24,27]])})))()},onRemove:function(e){this.coms.splice(e,1)},onCatalogIndex:function(e){var t=this;this.catalogIndex=e,(this.docuComIndex=3)&&(this.comIndex=0,this.AttributeIndex=0,this.docuComIndex=0),this.$nextTick((function(){t.$forceUpdate()}))},onSetActiveIndexs:function(e){this.docuComIndex=e,1!=this.AttributeIndex&&9998!=this.comIndex&&9997!=this.catalogIndex||(this.catalogIndex=0,this.AttributeIndex=0,this.comIndex=0)},onSetActiveIndex:function(e){this.comIndex=e,1!=this.AttributeIndex&&3!=this.docuComIndex&&9997!=this.catalogIndex||(this.catalogIndex=0,this.docuComIndex=0)},onAttributeIndex:function(e){this.AttributeIndex=e,(this.docuComIndex=3)&&(this.catalogIndex=0,this.comIndex=0,this.docuComIndex=0)},renew:function(){var e=this;e.docVisible=!0,this.docForm.dcm_title=e.docAttr.dcm_title,this.docForm.dcm_type=e.docAttr.dcm_type},onSaveAs:function(e){var t=this;t.coms.length<=0?t.$alert("请填写内容"):(t.docAttr.dcm_id="",t.docVisible=!0,this.docForm.dcm_title=t.docAttr.dcm_title,this.docForm.dcm_type=t.docAttr.dcm_type)},onSave:function(e){var t=this;t.coms.length<=0?t.$alert("增加组件"):""==t.docAttr.dcm_type||t.docAttr.dcm_type<=0?t.$alert("请选择文档分类"):""!=t.docAttr.dcm_title?(t.docAttr.links=JSON.stringify(t.docAttr.linkProduct),t.docAttr.projects=JSON.stringify(t.docAttr.linkProject),t.docAttr.dcm_data=JSON.stringify(t.coms),t.docAttr.is_template=0,t.docAttr.dcm_id>0?Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["l"])(t.docAttr).then((function(e){200===e.status&&(t.docAttr.id=e.data,t.$alert("文档更新成功"),t.docVisible=!1,t.docForm={dcm_title:"",dcm_type:""},t.searchArticle())})):Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["a"])(t.docAttr).then((function(e){200===e.status&&(t.docAttr.id=e.data,t.articleId=e.data,t.$alert("文档保存成功"),t.docVisible=!1,t.docForm={dcm_title:"",dcm_type:""},t.searchArticle())}))):t.$alert("请填写文档标题")},onUpload:function(){var e=this;e.coms.length<=0?e.$alert("增加组件"):""!=e.docAttr.title?(e.docAttr.links=JSON.stringify(e.docAttr.linkProduct),e.docAttr.projects=JSON.stringify(e.docAttr.linkProject),e.docAttr.data=JSON.stringify(e.coms),e.docAttr.is_template=1,e.docAttr.id=this.$route.query.articleId,Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["l"])(e.docAttr).then((function(t){200==t.status&&(e.docAttr.id=t.data,e.$alert("模版更新成功"),e.searchArticle())}))):e.$alert("请填写模版标题")},onSaveUpload:function(e){var t=this;t.coms.length<=0?t.$alert("增加组件"):""!=t.docAttr.title?(t.docAttr.links=JSON.stringify(t.docAttr.linkProduct),t.docAttr.projects=JSON.stringify(t.docAttr.linkProject),t.docAttr.data=JSON.stringify(t.coms),t.docAttr.is_template=1,Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["a"])(t.docAttr).then((function(e){200==e.status&&(t.docAttr.id=e.data,t.articleId=e.data,t.$alert("模版保存成功"),t.searchArticle())}))):t.$alert("请填写模版标题")},onSetComs:function(e){var t=this;t.coms=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(e)},onAddLayer:function(e,t){var r=this,n=r.categoryList[e].dataList[t],i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},n),{},{attrs:JSON.parse(n.attrs)});delete i.category,r.coms.push(i),r.comIndex=r.coms.length-1},onInsert:function(e){var t=this;switch(e.key){case"article":t.insertArticle();break;case"table":t.insertTable();break;case"sourceData":t.insertSourceData(e);break;case"formual":t.insertFormual(e);break;case"constant":t.insertConstant(e);break;case"variable":t.insertVariable(e);break;case"pager":t.insertPager();break;case"attr":this.insertProductAttr();break;case"Directory":t.insertDirectory(e);break;case"addNew":t.insertNew(e);break;case"InsertNull":t.insertVal();break;case"ai":t.insertAI(e);break}},insertVal:function(){var e=this;if(e.comIndex<0)return e.$alert("请选择插入图层"),!1;var t=e.coms[e.comIndex],r="val"+Date.now(),n={type:"variableNull",id:r,dataId:"",name:"非变量",intro:"",content:"请输入",data:""};t.attrs.push(n),"TextArea"==t.type?e.insertCmd={content:"{{"+n.id+"}}"}:e.comIndex>=0&&e.setTableData(n.id)},insertAI:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var r=t.coms[t.comIndex],n={type:"ai",id:"ai"+(r.attrs.length+1),dataId:"",name:"AI",intro:"插入AI",content:e.content.result,search:e.content.searchTerm};r.attrs.push(n),"TextArea"==r.type&&(t.insertCmd={content:"{{"+n.id+"}}"})},insertProductAttr:function(){if(this.docAttr.linkProduct.length<=0)return this.$alert("请选择文档关联商品信息"),!1;this.showProductAttr=!0},insertDirectory:function(e){var t=this,r=this;if(r.comIndex<0)return r.$alert("请选择插入图层"),!1;var n=r.coms[r.comIndex],i="Directory_".concat(r.comIndex,"_").concat(n.attrs.length+1),a=e.content.level||1,o=this.generateNumberedContent(r.comIndex,a),s=o.number,l=o.content,c={type:"Directory",id:i,name:"目录信息",intro:"目录信息",number:s,content:l,level:a,moduleIndex:r.comIndex};this.$set(n.attrs,n.attrs.length,c),this.$forceUpdate(),this.$nextTick((function(){n.attrs[n.attrs.length-1].content||(t.$set(n.attrs[n.attrs.length-1],"content",l),t.$forceUpdate())})),r.insertCmd={content:"{{".concat(i,"}}")}},generateNumberedContent:function(e,t){var r=this.generateLevelPrefix(e,t),n=(this.coms[e].type,"");return{number:r,content:n}},generateLevelPrefix:function(e,t){for(var r=[],n=this.coms[e],i=n.attrs.filter((function(e){return"Directory"===e.type})),a=i.filter((function(e){return e.level===t})).length+1,o=function(n){if(1===n)r.push(e+1);else if(n===t)r.push(a);else{var o=i.filter((function(e){return e.level===n-1})).pop();r.push(o?o.number.split(".")[n-1]:1)}},s=1;s<=t;s++)o(s);return r.join(".")},onInsertProductAttr:function(e){var t=this;if(this.showProductAttr=!1,t.comIndex<0)return t.$alert("请选择插入图层"),!1;var r=t.coms[t.comIndex],n={type:"ProductAttr",id:"ProductAttr"+(r.attrs.length+1),dataId:e.id,name:"商品属性",intor:"商品属性",content:"",attrs:e};r.attrs.push(n),t.insertCmd={content:"{{"+n.id+"}}"}},insertNew:function(e){var t=this;t.coms.push(e)},insertPager:function(){var e=this;if(e.comIndex<0)return e.$alert("请选择插入图层"),!1;var t=e.coms[e.comIndex],r={type:"pager",id:"pager"+(t.attrs.length+1),name:"分页符",intor:"强制分页",content:""};t.attrs.push(r),"TextArea"==t.type&&(e.insertCmd={content:"<div>{{"+r.id+"}}</div>"})},insertArticle:function(){var e=this,t={type:"TextArea",lay_id:"textArea",code:"模块名",name:"图文",intro:"图文介绍",isEdit:2,content:"请填写内容",attrs:[]};e.coms.push(t),e.comIndex=e.coms.length-1,console.log("New article added:",t),console.log("Current coms:",e.coms),console.log("New comIndex:",e.comIndex)},insertTable:function(){var e=this;e.coms.push({type:"Table",lay_id:"Table",code:"模块名",name:"图表名称",intro:"图表介绍",isEdit:2,tableHeader:this.initTableHeader(),tableData:[{}],htmlData:"",attrs:[]}),e.comIndex=e.coms.length-1},initTableHeader:function(){for(var e=65,t=[],r=e;r<=e+25;r++)t.push(String.fromCharCode(r));return t},insertConstant:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var r=t.coms[t.comIndex],n={type:"constant",id:e.content.code+(r.attrs.length+1),dataId:e.id,name:e.content.code,intro:e.content.intro,content:e.content.value,data:e.content};r.attrs.push(n),"TextArea"==r.type?t.insertCmd={content:"{{"+n.id+"}}"}:t.comIndex>=0&&t.setTableData(n.id)},insertVariable:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var r=t.coms[t.comIndex],n={type:"variable",id:e.content.code+(r.attrs.length+1),dataId:e.id,name:e.content.code,intro:e.content.intro,content:e.content.value,data:e.content};r.attrs.push(n),"TextArea"==r.type?t.insertCmd={content:"{{"+n.id+"}}"}:t.comIndex>=0&&t.setTableData(n.id)},insertSourceData:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var r=t.coms[t.comIndex],n={type:"sourceData",id:"sourceData"+(r.attrs.length+1),dataId:"",name:"源数据",intro:"插入源数据",formula:"[R]["+e.content.tb+"]["+e.content.sheet+"]["+e.content.r+","+e.content.c+"]",content:e.content.value,data:e.content};r.attrs.push(n),"TextArea"==r.type&&(t.insertCmd={content:"{{"+n.id+"}}"})},insertFormual:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var r=t.coms[t.comIndex],n={type:"formual",id:"formual"+(r.attrs.length+1),dataId:e.id,name:e.content.name,intro:e.content.intro,formula:e.content.formula,content:0,data:e.content};r.attrs.push(n),"TextArea"==r.type?t.insertCmd={content:"{{"+n.id+"}}"}:t.comIndex>=0&&t.setTableData(n.id)},initCategoryList:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function t(){var r,n;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e,t.prev=1,t.next=4,Object(_api_template__WEBPACK_IMPORTED_MODULE_49__["j"])({page:1,pageSize:99,parent_id:0,status:5});case 4:if(n=t.sent,200==n.status){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,Promise.all(n.data.dataList.map(function(){var e=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function e(t){var n,i;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r.getTemplateList(t.id);case 2:return n=e.sent,i=n.filter((function(e){return e.category_id===t.id})),e.abrupt("return",Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},t),{},{templates:i.map((function(e){return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__["a"])({},e),{},{selected:!1})}))}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 9:r.categoryList=t.sent,r.categoryList=r.categoryList.filter((function(e){return e.templates&&e.templates.length>0})),console.log("处理后的分类数据:",r.categoryList),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](1),console.error("初始化分类列表失败:",t.t0);case 17:case"end":return t.stop()}}),t,null,[[1,14]])})))()},getTemplateList:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function r(){var n,i;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t,r.next=3,Object(_api_template__WEBPACK_IMPORTED_MODULE_49__["i"])({page:1,pageSize:999,category_id:e,status:5});case 3:if(n=r.sent,200==n.status){r.next=6;break}return r.abrupt("return",[]);case 6:return i=n.data.dataList.map((function(e){e.attrs||(e.attrs="[]"),e.content||(e.content="");try{e.attrs="string"===typeof e.attrs?JSON.parse(e.attrs):e.attrs;var t=((e.content||"").match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()}));e.attrs=Array.isArray(e.attrs)?e.attrs:[],e.attrs=e.attrs.filter((function(e){return e&&e.id&&t.includes(e.id)}))}catch(r){console.error("Error processing template item:",r),e.attrs=[]}return e})),r.abrupt("return",i);case 8:case"end":return r.stop()}}),r)})))()},searchArticle:function(){var e=this;Object(_api_document__WEBPACK_IMPORTED_MODULE_43__["h"])({page:1,pageSize:99,isContentShow:!0}).then((function(t){200==t.status&&(e.articleList=t.data.dataList)}))},handleTemplateSelect:function(e,t,r){t.selected=r,console.log("Selected template:",{category:e.name,template:t.name,selected:r})}}}},d17b:function(e,t,r){e.exports=r("e372").Transform},d1b1:function(e,t,r){},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}},d26a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1442. //! moment.js locale configuration
  1443. 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";
  1444. //! moment.js locale configuration
  1445. 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}))},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 S}));r("d9e2"),r("14d9");var n=r("351d"),i=r("81ea"),a=r("24b5"),o=r("76ab"),s=r("491c"),l=r("3d76"),c=r("169f"),u=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))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){var t=A(e,"string");return"symbol"==typeof t?t:t+""}function A(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 g(e,t){return e.get(_(e,t))}function _(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=new Map([["plugin",a["c"]],["cell-type",o["c"]],["editor",s["d"]],["renderer",l["c"]],["validator",c["c"]]]),b="base",w=[];let y=null;var E=new WeakMap,C=new WeakSet;class S{static get PLUGIN_KEY(){return b}static get SETTING_KEYS(){return[this.PLUGIN_KEY]}constructor(e){d(this,C),f(this,"eventManager",new u["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}),y=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(!v.has(r))throw new Error(`Unknown plugin dependency type "${r}" was found.`);v.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("");w.push(t)}}y||(y=Object(a["b"])()),y.indexOf("UndoRedo")>=0&&y.splice(y.indexOf("UndoRedo"),1),y.indexOf(this.pluginName)>=0&&y.splice(y.indexOf(this.pluginName),1),this.hot.addHookOnce("afterPluginsInitialized",()=>{this.isEnabled&&this.isEnabled()&&this.enablePlugin()});const r=0===y.length;if(r){if(w.length>0){const e=[w.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,r){g(E,this)[e]=g(E,this)[e]||[];const n=g(E,this)[e];this.hot.addHook(e,t,r),n.push(t),g(E,this)[e]=n}removeHooks(e){Object(i["arrayEach"])(g(E,this)[e]||[],t=>{this.hot.removeHook(e,t)})}clearHooks(){const e=g(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=_(C,this,M).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 M(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}},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},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("e372"),a.Writable=r("2c63"),a.Duplex=r("0960"),a.Transform=r("d17b"),a.PassThrough=r("c2ae"),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 c(e){if(u(),0===n.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("error",c),e.on("error",c),r.on("end",u),r.on("close",u),e.on("close",u),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}},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},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}},d69a:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1446. //! moment.js locale configuration
  1447. 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";
  1448. //! moment.js locale configuration
  1449. 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},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"}')},d716:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1450. //! moment.js locale configuration
  1451. 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}))},d774:function(e,t,r){"use strict";r("8b18")},d7be:function(e,t,r){},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},d845:function(e,t,r){},d852:function(e,t,r){"use strict";r("d9e2"),r("14d9");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))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 c(e,t){return e.get(d(e,t))}function u(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(),u(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),c=Math.max(n.row,o.row),u=Math.max(n.col,o.col),d=this._createCellCoords(s,l),h=this._createCellCoords(c,u);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 c(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 c(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 c(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 c(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 c(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 c(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 c(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 c(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(c(h,this)?"left":"right"),t.bottom===r.bottom&&n.push("bottom"),t.left===r.left&&n.push(c(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,c(h,this))}toObject(){return{from:this.from.toObject(),to:this.to.toObject()}}_createCellCoords(e,t){return new n["a"](e,t,c(h,this))}}t["a"]=p},d8db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},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")}},d998:function(e,t,r){"use strict";var n=r("342f");e.exports=/MSIE|Trident/.test(n)},d9f8:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1452. //! moment.js locale configuration
  1453. 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)}},dad2:function(e,t,r){"use strict";var n=r("d066"),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=n("Set");try{(new t)[e](i(0));try{return(new t)[e](i(-1)),!1}catch(r){return!0}}catch(a){return!1}}},db29:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1454. //! moment.js locale configuration
  1455. 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";(function(t,n){var i=r("966d");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){D(t,e)}}e.exports=v;var o,s=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;v.WritableState=_;var l=Object.create(r("3a7c"));l.inherits=r("3fb5");var c={deprecate:r("b7d1")},u=r("429b"),d=r("a8f0").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,A=r("4681");function g(){}function _(e,t){o=o||r("b19a"),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 c=!1===e.decodeStrings;this.decodeStrings=!c,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 v(e){if(o=o||r("b19a"),!m.call(v,this)&&!(this instanceof o))return new v(e);this._writableState=new _(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)),u.call(this)}function b(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}function w(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 y(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=y(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 c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,s,n,i,a);return l}function C(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 S(e,t,r,n,a){--t.pendingcb,r?(i.nextTick(a,n),i.nextTick(k,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(a(n),e._writableState.errorEmitted=!0,e.emit("error",n),k(e,t))}function M(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(M(r),t)S(e,r,n,t,i);else{var a=R(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||N(e,r),n?s(T,e,r,a,i):T(e,r,a,i)}}function T(e,t,r,n){r||O(e,t),t.pendingcb--,n(),k(e,t)}function O(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function N(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,C(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 c=r.chunk,u=r.encoding,d=r.callback,h=t.objectMode?1:c.length;if(C(e,t,!1,h,c,u,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"),k(e,t)}))}function I(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 k(e,t){var r=R(t);return r&&(I(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function B(e,t,r){t.ending=!0,k(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function D(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(v,u),_.prototype.getBuffer=function(){var e=this.bufferedRequest,t=[];while(e)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:c.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(v,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===v&&(e&&e._writableState instanceof _)}})):m=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.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=g),n.ended?b(this,r):(a||w(this,n,e,r))&&(n.pendingcb++,i=E(this,n,a,e,t,r)),i},v.prototype.cork=function(){var e=this._writableState;e.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||N(this,e))},v.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(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.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||B(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=A.destroy,v.prototype._undestroy=A.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r("4362"),r("c8ba"))},dc148: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}}}},dc19:function(e,t,r){"use strict";var n=r("cb27").has;e.exports=function(e){return n(e),e}},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";
  1456. //! moment.js locale configuration
  1457. 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 c(e,t,r,n){}function u(e,t){}function d(e,t,r,i,a){n.dom.features.slots&&(b.call(e,e,t,r,i,a),v.call(e,e,t,r,i,a)),w.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){_.call(e,e,t)}function f(e){return s.has(e)}function m(e){return s.get(e)||new Set}function A(e){}function g(e){}function _(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 v(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 b(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 w(e,t,r,n){"id"===t&&null===n&&(e._uniqueIdentifier=r||void 0)}t.dom_runRemovingSteps=l,t.dom_runCloningSteps=c,t.dom_runAdoptingSteps=u,t.dom_runAttributeChangeSteps=d,t.dom_runInsertionSteps=h,t.dom_runNodeIteratorPreRemovingSteps=p,t.dom_hasSupportedTokens=f,t.dom_getSupportedTokens=m,t.dom_runEventConstructingSteps=A,t.dom_runChildTextContentChangeSteps=g},dc99:function(e,t,r){"use strict";e.exports=RangeError},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,c){n["a"].apply(this,[e,t,r,o,s,l,c]);let u=l;if(!u&&c.placeholder&&(u=c.placeholder),u=Object(a["stringify"])(u),c.trimWhitespace&&(u=u.trim()),c.rendererTemplate){Object(i["empty"])(t);const n=e.rootDocument.createElement("TEMPLATE");n.setAttribute("bind","{{}}"),n.innerHTML=c.rendererTemplate,HTMLTemplateElement.decorate(n),n.model=e.getSourceDataAtRow(r),t.appendChild(n)}else Object(i["fastInnerText"])(t,u)}s.RENDERER_TYPE=o},de03:function(module,__webpack_exports__,__webpack_require__){"use strict";var D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c7eb"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("1da1"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("99af"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("4de4"),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("7db0"),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("4d63"),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("c607"),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("ac1f"),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("2c3e"),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("3ca3"),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("466d"),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("5319"),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("0643"),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("2382"),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("fffc"),core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("4e3e"),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("ddb0"),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_21__),ckeditor4_vue__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("25ae"),ckeditor4_vue__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(ckeditor4_vue__WEBPACK_IMPORTED_MODULE_22__),_api_sourceData__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("1c4c");__webpack_exports__["a"]={name:"app",emits:["onUpdateData"],compnents:{},props:{coms:{type:Array,default:function(){return[]}},currentIndex:{type:Number,default:0},com:{type:Object,default:null}},watch:{com:{handler:function(e){e&&e.content&&this.updateProcessedContent()},immediate:!0,deep:!0}},data:function(){return{content:"",processedContent:""}},methods:{updateProcessedContent:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function t(){return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.replaceData(e.com.content);case 2:e.processedContent=t.sent;case 3:case"end":return t.stop()}}),t)})))()},replaceData:function replaceData(data){var _this3=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function _callee2(){var _this,_loop,l,i;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_this=_this3,_loop=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function _loop(){var attrId,item,dataItem,selectHtml,_item,_item2,prodAttrId,_dataItem,_selectHtml,formual,result,directoryContent,level,_attrId,directoryRegex;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function _loop$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(attrId=_this.com.attrs[i].id,"variable"!=_this.com.attrs[i].type){_context2.next=6;break}if(item=_this.com.attrs[i],2==item.data.value_type){for(dataItem=item.data.value_item.split(","),selectHtml='<select id="'+attrId+'" data-index="'+i+'" class="text-input-box">',l=0;l<dataItem.length;l++)item.content==dataItem[l]?selectHtml+='<option value="'+dataItem[l]+'" selected>'+dataItem[l]+"</option>":selectHtml+='<option value="'+dataItem[l]+'">'+dataItem[l]+"</option>";selectHtml+="</select>",data=data.replace("{{"+item.id+"}}",selectHtml)}else data=data.replace("{{"+attrId+"}}",'<input type="text" ref="input_'+attrId+'" name="'+_this.com.attrs[i].name+'" id="'+attrId+'" data-index="'+i+'" class="text-input-box" value="'+_this.com.attrs[i].content+'">');_context2.next=37;break;case 6:if("variableNull"!=_this.com.attrs[i].type){_context2.next=11;break}_item=_this.com.attrs[i],data=data.replace("{{"+attrId+"}}",'<input type="text" ref="input_'+attrId+'" name="'+_this.com.attrs[i].name+'" id="'+attrId+'" data-index="'+i+'" class="text-input-boxs auto-width" value="'+_this.com.attrs[i].content+'">'),_context2.next=37;break;case 11:if("ProductAttr"!=_this.com.attrs[i].type){_context2.next=18;break}if(_item2=_this.com.attrs[i],prodAttrId=_item2.id+"_"+i,""==_item2.content&&(_item2.content=_item2.attrs.value),1==_item2.attrs.type)data=data.replace("{{"+_item2.id+"}}",'<input type="text" id="'+prodAttrId+'" data-index="'+i+'" class="text-input-box" value="'+_item2.content+'">');else{for(_dataItem=_item2.attrs.valueItems.split(","),_selectHtml='<select id="'+prodAttrId+'" data-index="'+i+'" class="text-input-box">',l=0;l<_dataItem.length;l++)_item2.content==_dataItem[l]?_selectHtml+='<option value="'+_dataItem[l]+'" selected>'+_dataItem[l]+"</option>":_selectHtml+='<option value="'+_dataItem[l]+'">'+_dataItem[l]+"</option>";_selectHtml+="</select>",data=data.replace("{{"+_item2.id+"}}",_selectHtml)}_context2.next=37;break;case 18:if("formual"!=_this.com.attrs[i].type){_context2.next=29;break}return _context2.next=21,_this.analysisFormual(_this.com.attrs[i]);case 21:return formual=_context2.sent,_context2.next=24,_this.getRemote(formual);case 24:formual=_context2.sent,_this.com.attrs[i].content=eval(formual),data=data.replace("{{"+attrId+"}}",eval(formual)),_context2.next=37;break;case 29:if("sourceData"!=_this.com.attrs[i].type){_context2.next=36;break}return _context2.next=32,_this.getRemote1(_this.com.attrs[i].formula);case 32:result=_context2.sent,data=data.replace("{{"+attrId+"}}",result),_context2.next=37;break;case 36:"Directory"==_this.com.attrs[i].type?(directoryContent=_this.com.attrs[i].number+". "+_this.com.attrs[i].content,level=_this.com.attrs[i].level||1,_attrId=_this.com.attrs[i].id,directoryRegex=new RegExp("{{\\s*".concat(_attrId,"\\s*}}"),"g"),data=data.replace(directoryRegex,(function(e,t,r){var n="h".concat(Math.min(level,6)),i="directory-level-".concat(level);return"<".concat(n,' class="').concat(i,'">').concat(directoryContent,"</").concat(n,">")}))):data=data.replace("{{"+attrId+"}}",_this.com.attrs[i].content);case 37:case"end":return _context2.stop()}}),_loop)})),i=0;case 3:if(!(i<_this.com.attrs.length)){_context3.next=8;break}return _context3.delegateYield(_loop(),"t0",5);case 5:i++,_context3.next=3;break;case 8:return _this3.$nextTick((function(){_this3.addInputListeners(),_this3.autoWidths()})),_context3.abrupt("return",data);case 10:case"end":return _context3.stop()}}),_callee2)})))()},addInputListeners:function(){this.$el.addEventListener("input",this.adjustAutoWidth,!0)},autoWidths:function(){var e=this,t=this.$el.querySelectorAll(".text-input-boxs");t.forEach((function(t){return e.adjustAutoWidth({target:t})}))},adjustAutoWidth:function(e){if(e.target.classList.contains("text-input-boxs")){var t=e.target,r=document.createElement("span");r.className="size-calculator",r.textContent=t.value||t.placeholder||"0",document.body.appendChild(r);var n=window.getComputedStyle(t);r.style.font=n.font,r.style.fontSize=n.fontSize,r.style.fontWeight=n.fontWeight,r.style.letterSpacing=n.letterSpacing;var i=r.offsetWidth;t.style.width="".concat(i+10,"px"),document.body.removeChild(r)}},analysisFormual:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/(\[.*?\]){3}/,a=e.formula,o=new RegExp(i);case 4:if(s=a.match(o),null!=s){r.next=8;break}return r.abrupt("break",22);case 8:return l=s[0],r.prev=9,r.next=12,n.getFormualData(l);case 12:c=r.sent,null===c||void 0===c||isNaN(c)?(console.warn("获取到的数据无效: ".concat(l)),a=a.replace(l,"(0)")):a=a.replace(l,"(".concat(parseFloat(c),")")),r.next=20;break;case 16:r.prev=16,r.t0=r["catch"](9),console.error("处理 ".concat(l," 时出错:"),r.t0),a=a.replace(l,"(0)");case 20:r.next=4;break;case 22:return r.abrupt("return",a);case 23:case"end":return r.stop()}}),r,null,[[9,16]])})))()},getFormualData:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i),o=e.match(a),s=0,!o||"T"!=o[1]){r.next=11;break}return r.next=8,n.getModuleData(o[2],o[3]);case 8:s=r.sent,r.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return r.abrupt("return",s);case 13:case"end":return r.stop()}}),r)})))()},updateContent:function(e,t){var r=this.com.attrs.find((function(t){return t.id===e}));r&&(r.content=t.target.value)},analysisformula:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/(\[.*?\]){3}/,a=e.formula,o=new RegExp(i);case 4:if(s=a.match(o),null!=s){r.next=8;break}return r.abrupt("break",18);case 8:return l=s[0],r.next=11,n.getformulaData(l);case 11:return c=r.sent,r.next=14,n.getRemote(c);case 14:c=r.sent,a=a.replace(l,"("+parseFloat(c)+")"),r.next=4;break;case 18:return r.abrupt("return",a);case 19:case"end":return r.stop()}}),r)})))()},getformulaData:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i),o=e.match(a),s=0,"T"!=o[1]){r.next=9;break}return r.next=8,n.getModuleData(o[2],o[3]);case 8:s=r.sent;case 9:return r.abrupt("return",s);case 10:case"end":return r.stop()}}),r)})))()},getRemote:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i);case 3:if(o=e.match(a),null!=o){r.next=7;break}return r.abrupt("break",17);case 7:if("R"!=o[1]){r.next=15;break}return s=o[4],s=o[4].split(","),r.next=12,n.getRemoteData(o[2],o[3],s[0],s[1]);case 12:l=r.sent,c=o[0],e=e.replace(c,"("+parseFloat(l)+")");case 15:r.next=3;break;case 17:return r.abrupt("return",e);case 18:case"end":return r.stop()}}),r)})))()},getRemote1:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i);case 3:if(o=e.match(a),null!=o){r.next=7;break}return r.abrupt("break",17);case 7:if("R"!=o[1]){r.next=15;break}return s=o[4],s=o[4].split(","),r.next=12,n.getRemoteData(o[2],o[3],s[0],s[1]);case 12:l=r.sent,c=o[0],e=e.replace(c,parseFloat(l));case 15:r.next=3;break;case 17:return r.abrupt("return",e);case 18:case"end":return r.stop()}}),r)})))()},getRemoteData:function(e,t,r,n){var i=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function a(){var o,s,l;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i,0,o={code:e,sheetName:t,row:r,col:n},a.next=6,Object(_api_sourceData__WEBPACK_IMPORTED_MODULE_23__["a"])(o);case 6:if(s=a.sent,200!=s.status){a.next=12;break}if(console.log("result:",s.data),l=parseFloat(s.data.result),isNaN(l)){a.next=12;break}return a.abrupt("return",l);case 12:return a.abrupt("return",0);case 13:case"end":return a.stop()}}),a)})))()},getModuleData:function(e,t){var r=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function n(){var i,a,o;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=r,a=i.coms.filter((function(t){return t.name==e})),!(a.length>0)){n.next=6;break}if(o=a[0].attrs.filter((function(e){return e.name==t})),!(o.length>0)){n.next=6;break}return n.abrupt("return",parseFloat(o[0].content));case 6:return n.abrupt("return",0);case 7:case"end":return n.stop()}}),n)})))()}}}},de23:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-formual"},[r("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[r("el-form-item",{attrs:{label:"公式名称:"}},[r("el-input",{attrs:{placeholder:"请填写公式名称"},model:{value:e.queryForm.name,callback:function(t){e.$set(e.queryForm,"name",t)},expression:"queryForm.name"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:e.onBtnSearch}},[r("svg-icon",{attrs:{"icon-class":"search"}}),e._v(" 搜索")],1),r("el-button",{attrs:{type:"primary"},on:{click:e.onBtnCreate}},[r("svg-icon",{attrs:{"icon-class":"plus"}}),e._v(" 新增公式")],1)],1)],1),r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataList,"header-row-class-name":"headerBg","empty-text":"没有公式信息"}},[r("el-table-column",{attrs:{prop:"id",label:"ID",align:"center",width:"50"}}),r("el-table-column",{attrs:{prop:"name",label:"名称",align:"left"}}),r("el-table-column",{attrs:{prop:"intro",label:"介绍",align:"center"}}),r("el-table-column",{attrs:{prop:"formula",label:"内容",align:"center","min-width":"150"}}),r("el-table-column",{attrs:{label:"操作",align:"center",width:"350"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"btns"},[r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.btnPicked(t.row)}}},[r("svg-icon",{attrs:{"icon-class":"confirm"}}),e._v("使用")],1),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(r){return e.btnOnEdit(t.row.id)}}},[r("svg-icon",{attrs:{"icon-class":"edit"}}),e._v("编辑")],1),r("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(r){return e.btnDel(t.row.id)}}},[r("svg-icon",{attrs:{"icon-class":"delete"}}),e._v("删除")],1)],1)]}}])})],1),r("div",{staticClass:"page-info"},[r("el-pagination",{attrs:{currentPage:e.queryForm.page,"page-size":e.queryForm.pageSize,total:e.recordCount,"page-count":e.pageTotal,background:"",layout:"prev, pager, next"},on:{"current-change":e.ChangePage}})],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogVisible,"append-to-body":"","close-on-click-modal":!1,width:"300","custom-class":"prod-verify",title:e.title},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("dataInfo",{attrs:{id:e.dataId,list:e.comList},on:{onClose:e.onClose}})],1)],1)},i=[],a=(r("ac1f"),r("841c"),r("f9e5")),o=r("4a65"),s=r("a888"),l={name:"Formula",emits:["onPicked"],directives:{elDragDialog:s["a"]},components:{dataInfo:o["default"]},props:{comList:{type:Array,default:[]}},data:function(){return{dataId:0,dialogVisible:!1,title:"创建公式",queryForm:{page:1,pageSize:10,name:""},recordCount:0,pageTotal:1,dataList:[]}},mounted:function(){this.onBtnSearch()},methods:{onBtnCreate:function(e){var t=this;t.title="创建公式",t.dataId=0,t.dialogVisible=!0},btnOnEdit:function(e){this.title="编辑公式",this.dataId=e,this.dialogVisible=!0},onClose:function(e){var t=this;t.dialogVisible=!1,t.onBtnSearch()},onBtnSearch:function(e){var t=this;t.queryForm.page=1,t.search()},btnPicked:function(e){this.$emit("onPicked",e)},search:function(){var e=this;Object(a["d"])(e.queryForm).then((function(t){200==t.status&&(e.dataList=t.data.dataList,e.recordCount=t.data.totalPage,e.pageTotal=t.data.totalRecord)}))},ChangePage:function(e){var t=this;t.queryForm.page=e,t.search()},btnDel:function(e){var t=this;Object(a["b"])({id:e}).then((function(e){t.$message.success("删除成功!"),t.search()}))}}},c=l,u=(r("c29f"),r("2877")),d=Object(u["a"])(c,n,i,!1,null,null,null);t["default"]=d.exports},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){return e instanceof TouchEvent}function l(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,"isTouchEvent",(function(){return s})),r.d(t,"offsetRelativeTo",(function(){return l}))},ded3:function(e,t,r){"use strict";r("e8cf")},df7e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{}t.DocumentOrShadowRootImpl=n},dfa2:function(e,t,r){},e004:function(module,__webpack_exports__,__webpack_require__){"use strict";var D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c7eb"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("b85c"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("1da1"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("d9e2"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("4de4"),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("a630"),core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("a15b"),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("d81d"),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("e9c4"),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("b64b"),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("4d63"),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("c607"),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("ac1f"),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("2c3e"),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("3ca3"),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("466d"),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("5319"),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("5b81"),core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_es_string_replace_all_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("0643"),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("2382"),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_23__),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("4e3e"),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_24__),core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("a573"),core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_25___default=__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_25__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_26___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_26__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("ddb0"),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_27__),_api_document__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("424e"),_components_TextView__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("9daa"),html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("4f15"),html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_30___default=__webpack_require__.n(html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_30__),jspdf__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("8baf"),html2canvas__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("c0e9"),html2canvas__WEBPACK_IMPORTED_MODULE_32___default=__webpack_require__.n(html2canvas__WEBPACK_IMPORTED_MODULE_32__),_api_sourceData__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("1c4c"),html_to_docx__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("c515"),file_saver__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("21a6"),file_saver__WEBPACK_IMPORTED_MODULE_35___default=__webpack_require__.n(file_saver__WEBPACK_IMPORTED_MODULE_35__);__webpack_exports__["a"]={name:"Viewer",components:{TextArea:_components_TextView__WEBPACK_IMPORTED_MODULE_29__["default"]},props:{id:{type:Number,default:0},coms:{type:Array,default:null},docAttr:{type:Object,default:function(){return{title:""}}}},watch:{coms:{handler:function(e){null!=e&&(this.comList=JSON.parse(JSON.stringify(e)),this.replaceData(e))},immediate:!0,deep:!0}},data:function(){return{comList:[],content:"",exporting:!1,exportProgress:0}},methods:{replaceData:function replaceData(data){var _this2=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function _callee(){var _iterator,_step,item,_iterator2,_step2,el,attrId,formual;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_iterator=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__["a"])(_this2.comList),_context.prev=1,_iterator.s();case 3:if((_step=_iterator.n()).done){_context.next=39;break}item=_step.value,_iterator2=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__["a"])(item.attrs),_context.prev=6,_iterator2.s();case 8:if((_step2=_iterator2.n()).done){_context.next=29;break}if(el=_step2.value,attrId=el.id,"formual"!=el.type){_context.next=26;break}return _context.prev=12,_context.next=15,_this2.analysisFormual(el);case 15:return formual=_context.sent,_context.next=18,_this2.getRemote(formual);case 18:formual=_context.sent,el.content=eval(formual),_context.next=24;break;case 22:_context.prev=22,_context.t0=_context["catch"](12);case 24:_context.next=27;break;case 26:"variableNull"==el.type&&console.log(el);case 27:_context.next=8;break;case 29:_context.next=34;break;case 31:_context.prev=31,_context.t1=_context["catch"](6),_iterator2.e(_context.t1);case 34:return _context.prev=34,_iterator2.f(),_context.finish(34);case 37:_context.next=3;break;case 39:_context.next=44;break;case 41:_context.prev=41,_context.t2=_context["catch"](1),_iterator.e(_context.t2);case 44:return _context.prev=44,_iterator.f(),_context.finish(44);case 47:return _context.abrupt("return",data);case 48:case"end":return _context.stop()}}),_callee,null,[[1,41,44,47],[6,31,34,37],[12,22]])})))()},analysisFormual:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/(\[.*?\]){3}/,a=e.formula,o=new RegExp(i);case 4:if(s=a.match(o),null!=s){r.next=8;break}return r.abrupt("break",22);case 8:return l=s[0],r.prev=9,r.next=12,n.getFormualData(l);case 12:c=r.sent,null===c||void 0===c||isNaN(c)?(console.warn("获取到的数据无效: ".concat(l)),a=a.replace(l,"(0)")):a=a.replace(l,"(".concat(parseFloat(c),")")),r.next=20;break;case 16:r.prev=16,r.t0=r["catch"](9),console.error("处理 ".concat(l," 时出错:"),r.t0),a=a.replace(l,"(0)");case 20:r.next=4;break;case 22:return r.abrupt("return",a);case 23:case"end":return r.stop()}}),r,null,[[9,16]])})))()},getFormualData:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i),o=e.match(a),s=0,!o||"T"!=o[1]){r.next=11;break}return r.next=8,n.getModuleData(o[2],o[3]);case 8:s=r.sent,r.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return r.abrupt("return",s);case 13:case"end":return r.stop()}}),r)})))()},getModuleData:function(e,t){var r=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function n(){var i,a,o;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=r,a=i.comList.filter((function(t){return t.name==e})),!(a.length>0)){n.next=6;break}if(o=a[0].attrs.filter((function(e){return e.name==t})),!(o.length>0)){n.next=6;break}return n.abrupt("return",parseFloat(o[0].content));case 6:return n.abrupt("return",0);case 7:case"end":return n.stop()}}),n)})))()},getRemote:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){var n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:n=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,a=new RegExp(i);case 3:if(o=e.match(a),null!=o){r.next=7;break}return r.abrupt("break",18);case 7:if("R"!=o[1]){r.next=16;break}return s=o[4],s=o[4].split(","),r.next=12,n.getRemoteData(o[2],o[3],s[0],s[1]);case 12:l=r.sent,c=o[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")"),e=e.replace(c,"("+parseFloat(l)+")");case 16:r.next=3;break;case 18:return r.abrupt("return",e);case 19:case"end":return r.stop()}}),r)})))()},getRemoteData:function(e,t,r,n){var i=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function a(){var o,s,l;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i,o=0,s={code:e,sheetName:t,row:r,col:n},a.prev=3,a.next=6,Object(_api_sourceData__WEBPACK_IMPORTED_MODULE_33__["a"])(s);case 6:l=a.sent,200==l.status&&(o=l.data.result,"string"!==typeof o||isNaN(o)||(o=parseFloat(o))),a.next=13;break;case 10:a.prev=10,a.t0=a["catch"](3),console.error("获取远程数据错误:",a.t0);case 13:return a.abrupt("return",o);case 14:case"end":return a.stop()}}),a,null,[[3,10]])})))()},getComponentType:function(e){return"textarea"===e?_components_TextView__WEBPACK_IMPORTED_MODULE_29__["default"]:e},onUpdateData:function(e,t){this.comList[e].content=t,this.rebuildContent()},rebuildContent:function(){this.content=this.comList.map((function(e){return e.content})).join("")},onExport:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function t(){var r,n,i,a;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.exporting){t.next=2;break}return t.abrupt("return");case 2:return e.exporting=!0,t.prev=3,r=e.$refs.content.cloneNode(!0),r.querySelectorAll(".template-textarea"),r.querySelectorAll('input[type="text"]').forEach((function(e){var t=document.createElement("span");t.textContent=e.value,e.parentNode.replaceChild(t,e)})),n='<!DOCTYPE html><html><head><meta charset="UTF-8"><style>\n @page {\n size: A4;\n margin: 2cm;\n }\n body {\n font-family: Arial, sans-serif;\n font-size: 12pt;\n line-height: 1.5;\n }\n table {\n width: 100%;\n border-collapse: collapse;\n }\n td, th {\n border: 1px solid black;\n padding: 5px;\n }\n .template-textarea {\n page-break-after: always;\n }\n .toc-page {\n page-break-before: always;\n page-break-after: always;\n }\n .toc-content {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n padding-top: 100px;\n }\n .toc-item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n }\n .toc-text {\n margin-right: 10px;\n }\n .toc-page-num {\n flex-shrink: 0;\n }\n .toc-item::after {\n content: "";\n border-bottom: 1px dotted black;\n flex-grow: 1;\n order: 2;\n margin: 0 5px;\n position: relative;\n top: -5px;\n }\n .toc-text {\n order: 1;\n }\n .toc-page-num {\n order: 3;\n }\n \n .TOC {\n display: none !important;\n }\n </style></head><body>'.concat(r.innerHTML,"</body></html>"),n=n.replaceAll("<table ",'<table style="border-collapse: collapse;" ').replaceAll("<td>",'<td style="border: 1px solid black;">'),t.next=11,Object(_api_document__WEBPACK_IMPORTED_MODULE_28__["e"])({content:n,title:e.docAttr.title});case 11:if(i=t.sent,200==i.status){t.next=15;break}return e.$alert(i.errMsg),t.abrupt("return");case 15:a=document.createElement("a"),a.href=i.data.file_path,a.download=i.data.file_name,document.body.appendChild(a),a.click(),document.body.removeChild(a),t.next=26;break;case 23:t.prev=23,t.t0=t["catch"](3),e.$alert("导出文档时发生错误,请稍后重试。");case 26:return t.prev=26,e.exporting=!1,t.finish(26);case 29:case"end":return t.stop()}}),t,null,[[3,23,26,29]])})))()},onExports:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function t(){var r,n,i,a,o,s,l,c;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.exporting){t.next=2;break}return t.abrupt("return");case 2:e.exporting=!0,t.prev=3,r=e.$refs.content.cloneNode(!0),console.log("Original content:",r.innerHTML),r.querySelectorAll("span > img").forEach((function(e){var t=e.parentElement,r=t.parentElement;r.insertBefore(e,t),0===t.childNodes.length&&r.removeChild(t)})),r.querySelectorAll("table").forEach((function(e,t){e.style.cssText="\n border-collapse: separate !important;\n width: 100% !important;\n border: none !important;\n ",e.querySelectorAll("tr").forEach((function(e,t){e.querySelectorAll("td, th").forEach((function(e,r){var n="\n padding: 5px !important;\n border: 0.1px solid #000000 !important;\n ";0!==t&&(n+="border-top: none !important;"),0!==r&&(n+="border-left: none !important;"),e.style.cssText+=n}))}))})),n=r.querySelectorAll("img"),i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__["a"])(n),t.prev=10,i.s();case 12:if((a=i.n()).done){t.next=21;break}return o=a.value,t.next=16,e.convertImageToBase64(o);case 16:o.style.maxWidth="100%",o.style.height="auto","P"===o.parentElement.tagName&&(console.log(o),o.parentElement.style.textAlign=o===n[0]?"left":"right");case 19:t.next=12;break;case 21:t.next=26;break;case 23:t.prev=23,t.t0=t["catch"](10),i.e(t.t0);case 26:return t.prev=26,i.f(),t.finish(26);case 29:return console.log("Content after image processing:",r.innerHTML),r.querySelectorAll('input[type="text"]').forEach((function(e){var t=document.createElement("span");t.textContent=e.value,e.parentNode.replaceChild(t,e)})),s='\n <!DOCTYPE html>\n <html>\n <head>\n <meta charset="UTF-8">\n <style>\n @page {\n size: A4;\n margin: 2cm;\n }\n body {\n font-family: Arial, sans-serif;\n font-size: 12pt;\n line-height: 1.5;\n }\n .template-textarea {\n page-break-after: always;\n }\n img {\n max-width: 100%;\n height: auto;\n }\n </style>\n </head>\n <body>'.concat(r.innerHTML,"</body>\n </html>\n "),console.log("Final HTML content:",s),l={margin:{top:"2cm",right:"2cm",bottom:"2cm",left:"2cm"},table:{row:{cantSplit:!0}},footer:{default:'<p style="color: #444; font-size: 10pt">页码: {page} / {pages}</p>'},pageNumber:!0},t.next=36,Object(html_to_docx__WEBPACK_IMPORTED_MODULE_34__["a"])(s,null,l);case 36:c=t.sent,Object(file_saver__WEBPACK_IMPORTED_MODULE_35__["saveAs"])(c,"".concat(e.docAttr.title,".docx")),e.$message.success("文档导出成功"),t.next=45;break;case 41:t.prev=41,t.t1=t["catch"](3),console.error("导出文档时发生错误:",t.t1),e.$message.error("导出文档时发生错误,请稍后重试");case 45:return t.prev=45,e.exporting=!1,t.finish(45);case 48:case"end":return t.stop()}}),t,null,[[3,41,45,48],[10,23,26,29]])})))()},processAllTables:function(e){e.querySelectorAll("table").forEach((function(e){e.style.borderCollapse="separate",e.style.width="100%",e.style.border="none",e.style.backgroundColor="#000000",e.querySelectorAll("tr").forEach((function(e){e.querySelectorAll("td, th").forEach((function(e){e.style.padding="5px",e.style.borderRight="0.1px solid #ffffff",e.style.borderBottom="0.1px solid #ffffff",e.style.backgroundColor="#ffffff"}))}))}))},convertImageToBase64:function(e){var t=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function r(){return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise((function(r,n){e.complete?t.toDataURL(e.src,(function(t){e.src=t,r()})):(e.onload=function(){t.toDataURL(e.src,(function(t){e.src=t,r()}))},e.onerror=n)})));case 1:case"end":return r.stop()}}),r)})))()},toDataURL:function(e,t){var r=new XMLHttpRequest;r.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(r.response)},r.open("GET",e),r.responseType="blob",r.send()},onExportPDF:function(){var e=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function t(){var r,n,i,a,o,s;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.exporting){t.next=2;break}return t.abrupt("return");case 2:return e.exporting=!0,e.exportProgress=0,t.prev=4,r=e.$refs.content,console.log("Content element:",r),n={height:r.style.height,overflow:r.style.overflow,position:r.style.position},r.style.height="auto",r.style.overflow="visible",r.style.position="absolute",t.next=13,e.waitForImages(r);case 13:return i=new jspdf__WEBPACK_IMPORTED_MODULE_31__["a"]("p","pt","a4"),a=i.internal.pageSize.getHeight(),o=i.internal.pageSize.getWidth(),s=setTimeout((function(){throw new Error("PDF export timed out")}),6e4),t.next=19,e.addContentToPDF(r,i,o,a);case 19:clearTimeout(s),i.save("".concat(e.docAttr.title||"document",".pdf")),Object.assign(r.style,n),e.$message.success("PDF导出成功"),t.next=29;break;case 25:t.prev=25,t.t0=t["catch"](4),console.error("Export to PDF failed:",t.t0),e.$message.error("PDF导出失败:".concat(t.t0.message));case 29:return t.prev=29,e.exporting=!1,e.exportProgress=0,t.finish(29);case 33:case"end":return t.stop()}}),t,null,[[4,25,29,33]])})))()},waitForImages:function(e){return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function t(){var r,n;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.getElementsByTagName("img"),n=Array.from(r).map((function(e){return e.complete?Promise.resolve():new Promise((function(t){e.onload=e.onerror=t}))})),t.next=4,Promise.all(n);case 4:case"end":return t.stop()}}),t)})))()},addContentToPDF:function(e,t,r,n){var i=arguments,a=this;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function o(){var s,l,c,u,d,h;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return s=i.length>4&&void 0!==i[4]?i[4]:0,l=e.scrollHeight,o.next=4,html2canvas__WEBPACK_IMPORTED_MODULE_32___default()(e,{scale:2,useCORS:!0,logging:!1,windowWidth:r,windowHeight:n,y:s,ignoreElements:function(e){var t=window.getComputedStyle(e);return"none"!==t.getPropertyValue("-ms-high-contrast")},onclone:function(e){var t=e.body.querySelector(".content");t&&(t.style.height="auto",t.style.overflow="visible",t.style.position="static")}});case 4:if(c=o.sent,u=c.toDataURL("image/jpeg",1),d=r,h=c.height*d/c.width,t.addImage(u,"JPEG",0,0,d,h),a.exportProgress=Math.min(100,Math.round((s+n)/l*100)),!(c.height>n)){o.next=14;break}return t.addPage(),o.next=14,a.addContentToPDF(e,t,r,n,s+n);case 14:case"end":return o.stop()}}),o)})))()},onExportPdfApi:function(){return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function e(){return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()}}}},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"),c=r("8be6"),u=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,u],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 c=o.allocUnsafe(i+r+4);a.copy(c,0,0,i),this.ipad1=c,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=c(e,l,"Password"),t=c(t,l,"Salt"),i=i||"sha1";var a=new h(i,e,t.length),u=o.allocUnsafe(n),p=o.allocUnsafe(t.length+4);t.copy(p,0,0,t.length);for(var f=0,m=d[i],A=Math.ceil(n/m),g=1;g<=A;g++){p.writeUInt32BE(g,t.length);for(var _=a.run(p,a.ipad1),v=_,b=1;b<r;b++){v=a.run(v,a.ipad2);for(var w=0;w<m;w++)_[w]^=v[w]}_.copy(u,f),f+=m}return u}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";
  1458. //! moment.js locale configuration
  1459. 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}))},e1d3:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1460. //! moment.js locale configuration
  1461. 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)},e20c:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("2cf4").clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==a},{clearImmediate:a})},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},e315:function(e,t,r){"use strict";r("d7be")},e372:function(e,t,r){t=e.exports=r("ad71"),t.Stream=t,t.Readable=t,t.Writable=r("dc14"),t.Duplex=r("b19a"),t.Transform=r("27bf"),t.PassThrough=r("780f")},e437:function(e,t,r){"use strict";var n=r("c0d8"),i=r("8c7e"),a=r("87d6"),o=r("c5cd");r("d9e2");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,c,u,d,h,p=r("220a"),f=r("a776"),m=r("81ea"),A=r("63d8"),g=r("480c"),_=r("3eb5"),v=r("7dd0"),b=r("97b9"),w=r("7b9c"),y=r("ffec"),E=r("351d"),C=r("29b0"),S=r("f938"),M=r("5d7f"),x=r("de3b"),T=r("491c"),O=r("3d76"),N=r("169f"),R=r("76ab"),L=r("24b5"),I=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 k=[m,A,g,_,v,b,w,y,E,C,S,f],B=[M,x];n["a"].helper={},n["a"].dom={},m["arrayEach"](k,e=>{m["arrayEach"](Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(n["a"].helper[t]=e[t])})}),m["arrayEach"](B,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!==(c=n["a"].editors)&&void 0!==c?c:{},m["arrayEach"](Object(T["c"])(),e=>{n["a"].editors[C["toUpperCaseFirst"](e)+"Editor"]=Object(T["a"])(e)}),n["a"].editors.registerEditor=T["e"],n["a"].editors.getEditor=T["a"],n["a"].renderers=null!==(u=n["a"].renderers)&&void 0!==u?u:{},m["arrayEach"](Object(O["a"])(),e=>{const t=Object(O["b"])(e);"base"===e&&(n["a"].renderers.cellDecorator=t),n["a"].renderers[C["toUpperCaseFirst"](e)+"Renderer"]=t}),n["a"].renderers.registerRenderer=O["d"],n["a"].renderers.getRenderer=O["b"],n["a"].validators=null!==(d=n["a"].validators)&&void 0!==d?d:{},m["arrayEach"](Object(N["a"])(),e=>{n["a"].validators[C["toUpperCaseFirst"](e)+"Validator"]=Object(N["b"])(e)}),n["a"].validators.registerValidator=N["d"],n["a"].validators.getValidator=N["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[C["toUpperCaseFirst"](I["a"].PLUGIN_KEY)+"Plugin"]=I["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 c(e){return[...e.values()]}function u(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=c,t.size=u,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 c(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=c},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";
  1462. //! moment.js locale configuration
  1463. 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 c=n(r("be94"));t.list=c;const u=n(r("e4ae"));t.map=u;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},e8cf:function(e,t,r){},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))}},e9bc:function(e,t,r){"use strict";var n=r("dc19"),i=r("cb27").add,a=r("83b9e"),o=r("7f65"),s=r("5388");e.exports=function(e){var t=n(this),r=o(e).getIterator(),l=a(t);return s(r,(function(e){i(l,e)})),l}},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 c(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,c=[];for(o=0;o<n.length;o+=r.step){l=0;for(var u=o+r.step-1;u>=o;u--)l=(l<<1)+n[u];c.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<c.length;o++)l=c[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),c=o.length-1;c>=0;c--){for(var u=0;c>=0&&0===o[c];c--)u++;if(c>=0&&u++,l=l.dblp(u),c<0)break;var d=o[c];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,c,u=this._wnafT1,d=this._wnafT2,h=this._wnafT3,p=0;for(s=0;s<n;s++){c=t[s];var f=c._getNAFPoints(e);u[s]=f.wnd,d[s]=f.points}for(s=n-1;s>=1;s-=2){var m=s-1,A=s;if(1===u[m]&&1===u[A]){var g=[t[m],null,null,t[A]];0===t[m].y.cmp(t[A].y)?(g[1]=t[m].add(t[A]),g[2]=t[m].toJ().mixedAdd(t[A].neg())):0===t[m].y.cmp(t[A].y.redNeg())?(g[1]=t[m].toJ().mixedAdd(t[A]),g[2]=t[m].add(t[A].neg())):(g[1]=t[m].toJ().mixedAdd(t[A]),g[2]=t[m].toJ().mixedAdd(t[A].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],v=o(r[m],r[A]);for(p=Math.max(v[0].length,p),h[m]=new Array(p),h[A]=new Array(p),l=0;l<p;l++){var b=0|v[0][l],w=0|v[1][l];h[m][l]=_[3*(b+1)+(w+1)],h[A][l]=0,d[m]=g}}else h[m]=a(r[m],u[m],this._bitLength),h[A]=a(r[A],u[A],this._bitLength),p=Math.max(h[m].length,p),p=Math.max(h[A].length,p)}var y=this.jpoint(null,null,null),E=this._wnafT4;for(s=p;s>=0;s--){var C=0;while(s>=0){var S=!0;for(l=0;l<n;l++)E[l]=0|h[l][s],0!==E[l]&&(S=!1);if(!S)break;C++,s--}if(s>=0&&C++,y=y.dblp(C),s<0)break;for(l=0;l<n;l++){var M=E[l];0!==M&&(M>0?c=d[l][M-1>>1]:M<0&&(c=d[l][-M-1>>1].neg()),y="affine"===c.type?y.mixedAdd(c):y.add(c))}}for(s=0;s<n;s++)d[s]=null;return i?y:y.toP()},l.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.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")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.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))},c.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},c.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},c.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)},c.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}},c.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}},c.prototype._getBeta=function(){return null},c.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 s})),r.d(t,"b",(function(){return l}));r("d9e2"),r("14d9");var n=r("5714");function i(e,t,r){return(t=a(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)}const s=23;class l extends n["a"]{constructor(e){let{calculationTypes:t,viewportHeight:r,scrollOffset:n,totalRows:a,rowHeightFn:o,overrideFn:s,horizontalScrollbarHeight:l}=e;super(t),i(this,"viewportHeight",0),i(this,"scrollOffset",0),i(this,"zeroBasedScrollOffset",0),i(this,"totalRows",0),i(this,"rowHeightFn",null),i(this,"rowHeight",0),i(this,"overrideFn",null),i(this,"horizontalScrollbarHeight",0),i(this,"innerViewportHeight",0),i(this,"totalCalculatedHeight",0),i(this,"startPositions",[]),i(this,"needReverse",!0),this.viewportHeight=r,this.scrollOffset=n,this.zeroBasedScrollOffset=Math.max(n,0),this.totalRows=a,this.rowHeightFn=o,this.overrideFn=s,this.horizontalScrollbarHeight=null!==l&&void 0!==l?l:0,this.innerViewportHeight=this.zeroBasedScrollOffset+this.viewportHeight-this.horizontalScrollbarHeight,this.calculate()}calculate(){this._initialize(this);for(let e=0;e<this.totalRows;e++)if(this.rowHeight=this.getRowHeight(e),this._process(e,this),this.startPositions.push(this.totalCalculatedHeight),this.totalCalculatedHeight+=this.rowHeight,this.totalCalculatedHeight>=this.innerViewportHeight){this.needReverse=!1;break}this._finalize(this)}getRowHeight(e){const t=this.rowHeightFn(e);return isNaN(t)?s:t}}},ebe4:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1464. //! moment.js locale configuration
  1465. 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";
  1466. //! moment.js locale configuration
  1467. 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";
  1468. //! moment.js locale configuration
  1469. 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";
  1470. //! moment.js locale configuration
  1471. 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("0352"),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},f08f:function(e,t,r){var n=r("be1e"),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}})}))},f140: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":"‌"}')},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},f174: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 c})),r.d(t,"Style",(function(){return u})),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,c=n.Script,u=n.Style,d=n.Tag,h=n.CDATA,p=n.Doctype},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,c=Array.prototype.push,u=function(e,t){c.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={},A=function e(t,r,a,o,s,c,d,h,A,g,_,v,b,w,y,E,C,S){var M=t,x=S,T=0,O=!1;while(void 0!==(x=x.get(m))&&!O){var N=x.get(t);if(T+=1,"undefined"!==typeof N){if(N===T)throw new RangeError("Cyclic object value");O=!0}"undefined"===typeof x.get(m)&&(T=0)}if("function"===typeof g?M=g(r,M):M instanceof Date?M=b(M):"comma"===a&&l(M)&&(M=i.maybeMap(M,(function(e){return e instanceof Date?b(e):e}))),null===M){if(c)return A&&!E?A(r,p.encoder,C,"key",w):r;M=""}if(f(M)||i.isBuffer(M)){if(A){var R=E?r:A(r,p.encoder,C,"key",w);return[y(R)+"="+y(A(M,p.encoder,C,"value",w))]}return[y(r)+"="+y(String(M))]}var L,I=[];if("undefined"===typeof M)return I;if("comma"===a&&l(M))E&&A&&(M=i.maybeMap(M,A)),L=[{value:M.length>0?M.join(",")||null:void 0}];else if(l(g))L=g;else{var k=Object.keys(M);L=_?k.sort(_):k}var B=h?r.replace(/\./g,"%2E"):r,D=o&&l(M)&&1===M.length?B+"[]":B;if(s&&l(M)&&0===M.length)return D+"[]";for(var F=0;F<L.length;++F){var P=L[F],j="object"===typeof P&&"undefined"!==typeof P.value?P.value:M[P];if(!d||null!==j){var U=v&&h?P.replace(/\./g,"%2E"):P,H=l(M)?"function"===typeof a?a(D,U):D:D+(v?"."+U:"["+U+"]");S.set(t,T);var V=n();V.set(m,S),u(I,e(j,H,a,o,s,c,d,h,"comma"===a&&E&&l(M)?null:A,g,_,v,b,w,y,E,C,V))}}return I},g=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],c=p.filter;if(("function"===typeof e.filter||l(e.filter))&&(c=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 u="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:u,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:c,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=g(t);"function"===typeof o.filter?(i=o.filter,a=i("",a)):l(o.filter)&&(i=o.filter,r=i);var c=[];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]||u(c,A(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 _=c.join(o.delimiter),v=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),_.length>0?v+_:""}},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)},f260:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1472. //! moment.js locale configuration
  1473. 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}))},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,c=t.andln(3)+a&3;3===l&&(l=-1),3===c&&(c=-1),0===(1&l)?o=0:(n=e.andln(7)+i&7,o=3!==n&&5!==n||2!==c?l:-l),r[0].push(o),0===(1&c)?s=0:(n=t.andln(7)+a&7,s=3!==n&&5!==n||2!==l?c:-c),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 c(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}}function u(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=c,n.parseBytes=u,n.intFromLE=d},f3c0:function(e,t,r){"use strict";r("1fa3")},f3ff:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1474. //! moment.js locale configuration
  1475. 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}))},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)}},f471:function(e,t,r){"use strict";r("5aaf")},f539:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return null!=e.com?r("div",{staticClass:"editor-attribute"},[r("el-form",[r("el-form-item",{attrs:{label:"模块分类:"}},[r("el-cascader",{attrs:{options:e.categoryList,clearable:"",props:e.props,"show-all-levels":!1,placeholder:"请选择模块分类"},on:{change:e.onChangeCategory},model:{value:e.com.category_id,callback:function(t){e.$set(e.com,"category_id",t)},expression:"com.category_id"}})],1),r("el-form-item",{attrs:{label:"模块名称:"}},[r("el-input",{staticClass:"input-item",attrs:{placeholder:"请填写模块名称"},model:{value:e.com.name,callback:function(t){e.$set(e.com,"name",t)},expression:"com.name"}})],1),r("el-form-item",{attrs:{label:"模块描述:"}},[r("el-input",{staticClass:"input-item",attrs:{type:"textarea",placeholder:"请填写模块介绍"},model:{value:e.com.intro,callback:function(t){e.$set(e.com,"intro",t)},expression:"com.intro"}})],1),r("el-form-item",[r("div",{staticClass:"btn-save"},[r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.onSaveTemplate(e.com)}}},[e._v("保存模块")]),e.com.id>0?r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.onSaveAs(e.com)}}},[e._v("另存为")]):e._e()],1)])],1),r("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.dialogVisible,"append-to-body":"",width:"300","custom-class":"prod-verify",title:"编辑表头"},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("headerSetting",{attrs:{headerItemName:e.headerItemName},on:{onSetHeader:e.onSetHeader}})],1)],1):e._e()},i=[],a=r("2909"),o=r("c7eb"),s=r("1da1"),l=r("5530"),c=(r("d81d"),r("14d9"),r("a434"),r("b0c0"),r("e9c4"),r("4ec9"),r("b64b"),r("d3b7"),r("4d63"),r("c607"),r("ac1f"),r("2c3e"),r("25f0"),r("3ca3"),r("466d"),r("0643"),r("4e3e"),r("a573"),r("159b"),r("ddb0"),r("3721")),u=r("a888"),d=r("c621"),h=(r("1c4c"),r("424e"),{name:"attributes",components:{headerSetting:c["default"]},directives:{elDragDialog:u["a"]},emits:["onRefresh"],props:{com:{type:Object,default:function(){return null}}},watch:{},data:function(){return{dialogVisible:!1,activeNames:"0",categoryList:[],articleCategoryList:[],activeHeaderIndex:-1,headerItemName:"",props:{value:"id",label:"name",children:"children",checkStrictly:!0}}},mounted:function(){this.initCategoryList()},methods:{formatSourceData:function(e,t){var r=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,n=new RegExp(r),i=t.match(n),a=e+"="+i[2]+"."+i[3],o=i[4];return o=i[4].split(","),a+="."+String.fromCharCode(65+parseInt(o[1]))+(parseInt(o[0])+1),a},onSaveAs:function(e){this.saveAs=!0,this.onSaveTemplate()},onChangeCategory:function(e){this.com.category_id=e[e.length-1]},onSaveTemplate:function(e){var t=this,r=this,n=JSON.parse(JSON.stringify(e));n.attrs=JSON.stringify(n.attrs),n.code=n.name,n.status=5,n.category_id=this.com.category_id,void 0==n.id||this.saveAs?Object(d["a"])(n).then((function(e){200==e.status&&(n.id=e.data,r.com.id=e.data,r.$alert("模板信息保存成功"),r.$emit("onRefresh"),t.saveAs=!1)})):Object(d["l"])(n).then((function(e){200==e.status&&(r.$alert("模板信息更新成功"),r.$emit("onRefresh"))}))},processDataForCascader:function(e){console.log("Raw data:",e);var t=new Map,r=[];return e.forEach((function(e){var r=Object(l["a"])(Object(l["a"])({},e),{},{children:[]});t.set(e.id,r)})),e.forEach((function(e){if("0"===e.parent_id||0===e.parent_id)r.push(t.get(e.id));else{var n=t.get(parseInt(e.parent_id));n?n.children.push(t.get(e.id)):(console.warn("Parent with id ".concat(e.parent_id," not found for item:"),e),r.push(t.get(e.id)))}})),console.log("Processed data:",r),r},initCategoryList:function(){var e=this;return Object(s["a"])(Object(o["a"])().mark((function t(){var r;return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e,t.next=3,Object(d["e"])();case 3:r=t.sent,e.categoryList=e.processDataForCascader(r.data);case 5:case"end":return t.stop()}}),t)})))()},onModify:function(e,t,r){this.currentIndex=e,this.componentIndex=t,this.activeHeaderIndex=r,this.headerItemName=this.components[e].components[t].attrs.tableHeader[r],this.dialogVisible=!0},onSetHeader:function(e){this.currentIndex>=0&&(this.activeHeaderIndex>=0?this.components[this.currentIndex].components[this.componentIndex].attrs.tableHeader[this.activeHeaderIndex]=e:this.components[this.currentIndex].components[this.componentIndex].attrs.tableHeader.push(e)),this.$emit("onSetComponents",Object(a["a"])(this.components)),this.dialogVisible=!1},onInsert:function(e,t){this.currentIndex=e,this.componentIndex=t,this.headerItemName="",this.dialogVisible=!0},onDeleteHeaderItem:function(e,t,r){this.components[e].components[t].attrs.tableHeader.splice(r,1),this.$emit("onSetComponents",Object(a["a"])(this.components))},onSetActiveIndex:function(e){e==this.activeHeaderIndex?this.activeHeaderIndex=-1:this.activeHeaderIndex=e},getTemplateList:function(e){var t=this;return Object(s["a"])(Object(o["a"])().mark((function r(){var n,i;return Object(o["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return t,r.next=3,Object(d["i"])({page:1,pageSize:999,category_id:e,status:5});case 3:if(n=r.sent,200==n.status){r.next=6;break}return r.abrupt("return",[]);case 6:return i=n.data.dataList.map((function(e){return e.attrs=JSON.parse(e.attrs),e})),r.abrupt("return",i);case 8:case"end":return r.stop()}}),r)})))()}}}),p=h,f=(r("5bfe"),r("2877")),m=Object(f["a"])(p,n,i,!1,null,null,null);t["default"]=m.exports},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 c(e,t,r,n,i,a,o){return l(e+(t&r|~t&n)+i+a|0,o)+t|0}function u(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=c(r,n,i,a,e[0],3614090360,7),a=c(a,r,n,i,e[1],3905402710,12),i=c(i,a,r,n,e[2],606105819,17),n=c(n,i,a,r,e[3],3250441966,22),r=c(r,n,i,a,e[4],4118548399,7),a=c(a,r,n,i,e[5],1200080426,12),i=c(i,a,r,n,e[6],2821735955,17),n=c(n,i,a,r,e[7],4249261313,22),r=c(r,n,i,a,e[8],1770035416,7),a=c(a,r,n,i,e[9],2336552879,12),i=c(i,a,r,n,e[10],4294925233,17),n=c(n,i,a,r,e[11],2304563134,22),r=c(r,n,i,a,e[12],1804603682,7),a=c(a,r,n,i,e[13],4254626195,12),i=c(i,a,r,n,e[14],2792965006,17),n=c(n,i,a,r,e[15],1236535329,22),r=u(r,n,i,a,e[1],4129170786,5),a=u(a,r,n,i,e[6],3225465664,9),i=u(i,a,r,n,e[11],643717713,14),n=u(n,i,a,r,e[0],3921069994,20),r=u(r,n,i,a,e[5],3593408605,5),a=u(a,r,n,i,e[10],38016083,9),i=u(i,a,r,n,e[15],3634488961,14),n=u(n,i,a,r,e[4],3889429448,20),r=u(r,n,i,a,e[9],568446438,5),a=u(a,r,n,i,e[14],3275163606,9),i=u(i,a,r,n,e[3],4107603335,14),n=u(n,i,a,r,e[8],1163531501,20),r=u(r,n,i,a,e[13],2850285829,5),a=u(a,r,n,i,e[2],4243563512,9),i=u(i,a,r,n,e[7],1735328473,14),n=u(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},f654:function(e,t,r){"use strict";(function(t){var n=r("c8ba6")();
  1476. /*!
  1477. * The buffer module from node.js, for the browser.
  1478. *
  1479. * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
  1480. * @license MIT
  1481. */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,c=function(){return"foo"===function(){}.name}();function u(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=v,p=/\s*function\s+([^\(\s]*)\s*/;function f(e){if(o.isFunction(e)){if(c)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 A(e){if(c||!o.isFunction(e))return o.inspect(e);var t=f(e),r=t?": "+t:"";return"[Function"+r+"]"}function g(e){return m(A(e.actual),128)+" "+e.operator+" "+m(A(e.expected),128)}function _(e,t,r,n,i){throw new h.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function v(e,t){e||_(e,!0,t,"==",h.ok)}function b(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)&&u(e)===u(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),y(e,t,r,n))}return r?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function y(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=w(e),a=w(t);if(i&&!a||!i&&a)return!1;if(i)return e=l.call(e),t=l.call(t),b(e,t,r);var s,c,u=T(e),d=T(t);if(u.length!==d.length)return!1;for(u.sort(),d.sort(),c=u.length-1;c>=0;c--)if(u[c]!==d[c])return!1;for(c=u.length-1;c>=0;c--)if(s=u[c],!b(e[s],t[s],r,n))return!1;return!0}function E(e,t,r){b(e,t,!0)&&_(e,t,r,"notDeepStrictEqual",E)}function C(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 S(e){var t;try{e()}catch(r){t=r}return t}function M(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=S(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&_(i,r,"Missing expected exception"+n);var a="string"===typeof n,s=!e&&o.isError(i),l=!e&&i&&!r;if((s&&a&&C(i,r)||l)&&_(i,r,"Got unwanted exception"+n),e&&i&&r&&!C(i,r)||!e&&i)throw i}function x(e,t){e||_(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=g(this),this.generatedMessage=!0);var t=e.stackStartFunction||_;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=_,h.ok=v,h.equal=function(e,t,r){e!=t&&_(e,t,r,"==",h.equal)},h.notEqual=function(e,t,r){e==t&&_(e,t,r,"!=",h.notEqual)},h.deepEqual=function(e,t,r){b(e,t,!1)||_(e,t,r,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,r){b(e,t,!0)||_(e,t,r,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,r){b(e,t,!1)&&_(e,t,r,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=E,h.strictEqual=function(e,t,r){e!==t&&_(e,t,r,"===",h.strictEqual)},h.notStrictEqual=function(e,t,r){e===t&&_(e,t,r,"!==",h.notStrictEqual)},h.throws=function(e,t,r){M(!0,e,t,r)},h.doesNotThrow=function(e,t,r){M(!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 T=Object.keys||function(e){var t=[];for(var r in e)s.call(e,r)&&t.push(r);return t}}).call(this,r("c8ba"))},f67b:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"com-formual"},[r("el-form",[r("el-form-item",[r("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择模型",size:"large"},on:{change:e.onChangeTab},model:{value:e.tableCode,callback:function(t){e.tableCode=t},expression:"tableCode"}},[r("el-option",{attrs:{label:"测试模型",value:0}})],1)],1),r("el-form-item",[e.showSearch?r("el-input",{on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.retrieval(t)}},model:{value:e.dataIntro,callback:function(t){e.dataIntro=t},expression:"dataIntro"}},[r("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.retrieval},slot:"append"})],1):e._e()],1),e.fileLoadStatus?r("el-form-item",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"min-height":"200px"}},[r("div",[e._v("当前回答内容:"+e._s(e.textInfo))]),r("div",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"flex-end"}},[r("el-button",{attrs:{type:"primary"},on:{click:e.onConfirm}},[e._v(" 确认选择 ")])],1)]):e._e()],1)],1)},i=[],a=r("c7eb"),o=r("1da1"),s=r("1c4c"),l=r("bc3a"),c=r.n(l),u={name:"SourceAi",emits:["onPicked"],components:{},data:function(){return{tableCode:"",tableList:[],showConfirm:!1,fileLoadStatus:!1,showSearch:!1,position:{tb:"",c:0,r:0,sheet:"",value:""},dataIntro:"",textInfo:"",loading:!1,searchResult:{}}},mounted:function(){this.initTableList()},methods:{retrieval:function(){var e=this;return Object(o["a"])(Object(a["a"])().mark((function t(){var r;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.fileLoadStatus=!0,e.loading=!0,t.prev=2,t.next=5,c.a.post("http://58.246.234.210:7860/api/v1/run/c7ea3a2d-f50c-4936-b96c-3fe7c34fa062?stream=false",{input_value:e.dataIntro,output_type:"chat",input_type:"chat",tweaks:{"ChatInput-MbQRf":{},"ParseData-UiiZo":{},"Prompt-L8PiG":{},"ChatOutput-MdiWR":{},"SplitText-JIbWW":{},"File-1i88L":{},"OllamaEmbeddings-4TSqH":{},"Milvus-Wotjl":{},"OllamaModel-j2Vj0":{},"Milvus-fivEN":{},"OllamaEmbeddings-e409J":{}}},{headers:{"Content-Type":"application/json"}});case 5:r=t.sent,200===r.status&&(e.textInfo=r.data.outputs[0].outputs[0].results.message.data.text,e.searchResult={searchTerm:e.dataIntro,result:e.textInfo}),t.next=13;break;case 9:t.prev=9,t.t0=t["catch"](2),console.error("Error during retrieval:",t.t0),e.$message.error("检索失败,请稍后重试");case 13:return t.prev=13,e.loading=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,9,13,16]])})))()},onConfirm:function(e){this.$emit("onPicked",this.searchResult)},onChangeTab:function(e){var t=this;t.showSearch=!0},initTableList:function(){var e=this;Object(s["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}},d=u,h=(r("1cc6"),r("2877")),p=Object(h["a"])(d,n,i,!1,null,null,null);t["default"]=p.exports},f6b46:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1482. //! moment.js locale configuration
  1483. 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}))},f6ef: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 c(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 u(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(u(e),"asciiEncode requires an ASCII string."),c(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 A(e){return e.replace(/[\n\r]/g,"")}function g(e){return e.replace(/\r\n/g,"\n").replace(/\r/g,"\n")}function _(e){return e.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function v(e){return _(e.replace(/[\t\n\f\r ]{2,}/g," "))}function b(e,t,r){if(!o.isArray(t))return b(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 w(e,t){b(e=>n.ASCIIWhiteSpace.test(e),e,t)}function y(e,t){if(!o.isArray(e))return y(Array.from(e),t);const r={position:0},n=[];let i=b(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=b(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=[];w(e,t);while(t.position<e.length){const i=b(e=>!n.ASCIIWhiteSpace.test(e),e,t);r.push(i),w(e,t)}return r}function C(e){if(!o.isArray(e))return C(Array.from(e));const t={position:0},r=[];while(t.position<e.length){const n=b(e=>","!==e,e,t);r.push(_(n)),t.position<e.length&&(console.assert(","===e[t.position],"splitAStringOnCommas found no delimiter in input string."),t.position++)}return r}function S(e,t=""){return 0===e.length?"":e.join(t)}t.isCodeUnitPrefix=s,t.isCodeUnitLessThan=l,t.isomorphicEncode=c,t.isASCIIString=u,t.asciiLowercase=d,t.asciiUppercase=h,t.asciiCaseInsensitiveMatch=p,t.asciiEncode=f,t.asciiDecode=m,t.stripNewlines=A,t.normalizeNewlines=g,t.stripLeadingAndTrailingASCIIWhitespace=_,t.stripAndCollapseASCIIWhitespace=v,t.collectASequenceOfCodePoints=b,t.skipASCIIWhitespace=w,t.strictlySplit=y,t.splitAStringOnASCIIWhitespace=E,t.splitAStringOnCommas=C,t.concatenate=S},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 c})),r.d(t,"isCtrlMetaKey",(function(){return u})),r.d(t,"isKey",(function(){return d}));r("14d9");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 c(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 u(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}},f955:function(e,t,r){},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"),c=r("a45a"),u=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 u.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?c.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)},f9e5:function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"c",(function(){return s})),r.d(t,"b",(function(){return l}));var n=r("b775");function i(e){return Object(n["a"])({url:"/formula/search",method:"post",data:e})}function a(e){return Object(n["a"])({url:"/formula/create",method:"post",data:e})}function o(e){return Object(n["a"])({url:"/formula/update",method:"post",data:e})}function s(e){return Object(n["a"])({url:"/formula/info",method:"post",data:e})}function l(e){return Object(n["a"])({url:"/formula/delete",method:"post",data:e})}},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},fa68:function(e,t,r){"use strict";r("c11a")},fa83:function(e,t,r){"use strict";r.r(t),r.d(t,"VERSION",(function(){return n})),r.d(t,"Parser",(function(){return Xn})),r.d(t,"CstParser",(function(){return $n})),r.d(t,"EmbeddedActionsParser",(function(){return Zn})),r.d(t,"ParserDefinitionErrorType",(function(){return zn})),r.d(t,"EMPTY_ALT",(function(){return Kn})),r.d(t,"Lexer",(function(){return Ee})),r.d(t,"LexerDefinitionErrorType",(function(){return be})),r.d(t,"createToken",(function(){return De})),r.d(t,"createTokenInstance",(function(){return je})),r.d(t,"EOF",(function(){return Pe})),r.d(t,"tokenLabel",(function(){return Ce})),r.d(t,"tokenMatcher",(function(){return Ue})),r.d(t,"tokenName",(function(){return Se})),r.d(t,"defaultGrammarResolverErrorProvider",(function(){return Vr})),r.d(t,"defaultGrammarValidatorErrorProvider",(function(){return Yr})),r.d(t,"defaultParserErrorProvider",(function(){return Hr})),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 we})),r.d(t,"Alternation",(function(){return $e})),r.d(t,"Flat",(function(){return Qe})),r.d(t,"NonTerminal",(function(){return Ye})),r.d(t,"Option",(function(){return ze})),r.d(t,"Repetition",(function(){return Ke})),r.d(t,"RepetitionMandatory",(function(){return qe})),r.d(t,"RepetitionMandatoryWithSeparator",(function(){return Ge})),r.d(t,"RepetitionWithSeparator",(function(){return Xe})),r.d(t,"Rule",(function(){return We})),r.d(t,"Terminal",(function(){return Ze})),r.d(t,"serializeGrammar",(function(){return Je})),r.d(t,"serializeProduction",(function(){return et})),r.d(t,"GAstVisitor",(function(){return nt})),r.d(t,"assignOccurrenceIndices",(function(){return Kr})),r.d(t,"resolveGrammar",(function(){return qr})),r.d(t,"validateGrammar",(function(){return Gr})),r.d(t,"clearCache",(function(){return gi})),r.d(t,"createSyntaxDiagramsCode",(function(){return Jn})),r.d(t,"generateParserFactory",(function(){return mi})),r.d(t,"generateParserModule",(function(){return Ai}));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 c(){o={}}var u=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),c=s;c<=l;c++)t[c]=c}}}));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===_(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&&A(e,t)}function A(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 g(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 _(e){return!(!e.quantifier||0!==e.quantifier.atLeast)||!!e.value&&(Object(i["y"])(e.value)?Object(i["o"])(e.value,_):_(e.value))}var v=function(e){function t(t){var r=e.call(this)||this;return r.targetCharCodes=t,r.found=!1,r}return u(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===g(e,this.targetCharCodes)&&(this.found=!0):void 0!==g(e,this.targetCharCodes)&&(this.found=!0)},t}(a["BaseRegExpVisitor"]);function b(e,t){if(t instanceof RegExp){var r=l(t),n=new v(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 w=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)}}(),y="PATTERN",E="defaultMode",C="modes",S="boolean"===typeof new RegExp("(?:)").sticky;function M(e,t){t=Object(i["k"])(t,{useSticky:S,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[y]===Ee.NA}))}));var a,o,s,l,c,u,d,f,m,A,g,_=!1;n("Transform Patterns",(function(){_=!1,a=Object(i["I"])(r,(function(e){var r=e[y];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?W(r):Y(r):n[1]}if(Object(i["B"])(r))return _=!0,{exec:r};if(Object(i["w"])(r,"exec"))return _=!0,r;if("string"===typeof r){if(1===r.length)return r;var a=r.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),o=new RegExp(a);return t.useSticky?W(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}})),c=Object(i["I"])(r,(function(e){return e.PUSH_MODE})),u=Object(i["I"])(r,(function(e){return Object(i["w"])(e,"POP_MODE")}))})),n("Line Terminator Handling",(function(){var e=J(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)?b(e,t.PATTERN):void 0})))})),n("Misc Mapping #2",(function(){f=Object(i["I"])(r,G),m=Object(i["I"])(a,K),A=Object(i["O"])(r,(function(e,t){var r=t.GROUP;return Object(i["E"])(r)&&r!==Ee.SKIPPED&&(e[r]=[]),e}),{}),g=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:c[t],pop:u[t],tokenTypeIdx:o[t],tokenType:r[t]}}))}));var v=!0,w=[];return t.safeMode||n("First Char Optimization",(function(){w=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,g[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,g[n]))}))}else if(Object(i["D"])(r.PATTERN))if(r.PATTERN.unicode)v=!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)&&(v=!1),Object(i["u"])(l,(function(t){ee(e,t,g[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"),v=!1;return e}),[])})),n("ArrayPacking",(function(){w=Object(i["L"])(w)})),{emptyGroups:A,patternIdxToConfig:g,charCodeToPatternIdxToConfig:w,hasCustom:_,canBeOptimized:v}}function x(e,t){var r=[],n=O(e);r=r.concat(n.errors);var i=N(n.valid),a=i.valid;return r=r.concat(i.errors),r=r.concat(T(a)),r=r.concat(P(a)),r=r.concat(j(a,t)),r=r.concat(U(a)),r}function T(e){var t=[],r=Object(i["p"])(e,(function(e){return Object(i["D"])(e[y])}));return t=t.concat(L(r)),t=t.concat(B(r)),t=t.concat(D(r)),t=t.concat(F(r)),t=t.concat(I(r)),t}function O(e){var t=Object(i["p"])(e,(function(e){return!Object(i["w"])(e,y)})),r=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:be.MISSING_PATTERN,tokenTypes:[e]}})),n=Object(i["l"])(e,t);return{errors:r,valid:n}}function N(e){var t=Object(i["p"])(e,(function(e){var t=e[y];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:be.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 w(t,e),t.prototype.visitEndAnchor=function(e){this.found=!0},t}(a["BaseRegExpVisitor"]),r=Object(i["p"])(e,(function(e){var r=e[y];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:be.EOI_ANCHOR_FOUND,tokenTypes:[e]}}));return n}function I(e){var t=Object(i["p"])(e,(function(e){var t=e[y];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:be.EMPTY_MATCH_PATTERN,tokenTypes:[e]}}));return r}var k=/[^\\[][\^]|^\^/;function B(e){var t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.found=!1,t}return w(t,e),t.prototype.visitStartAnchor=function(e){this.found=!0},t}(a["BaseRegExpVisitor"]),r=Object(i["p"])(e,(function(e){var r=e[y];try{var n=l(r),i=new t;return i.visit(n),i.found}catch(a){return k.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:be.SOI_ANCHOR_FOUND,tokenTypes:[e]}}));return n}function D(e){var t=Object(i["p"])(e,(function(e){var t=e[y];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:be.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}}));return r}function F(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:be.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}}));return a}function P(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:be.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}}));return r}function j(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:be.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}}));return n}function U(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&&H(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:be.UNREACHABLE_PATTERN,tokenTypes:[e,o]})}}))})),t}function H(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 W(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}function Q(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:be.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Object(i["w"])(e,C)||n.push({message:"A MultiMode Lexer cannot be initialized without a <"+C+"> property in its definition\n",type:be.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Object(i["w"])(e,C)&&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:be.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Object(i["w"])(e,C)&&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:be.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})}))})),n}function z(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[y]===Ee.NA})),l=J(r);return t&&Object(i["u"])(s,(function(e){var t=$(e,l);if(!1!==t){var r=Z(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):b(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:be.NO_LINE_BREAKS_FLAGS}),n}function q(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 G(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 K(e){return!(!Object(i["E"])(e)||1!==e.length)&&e.charCodeAt(0)}var X={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{b(t,e.PATTERN)}catch(r){return{issue:be.IDENTIFY_TERMINATOR,errMsg:r.message}}return!1}if(Object(i["E"])(e.PATTERN))return!1;if(G(e))return{issue:be.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}function Z(e,t){if(t.issue===be.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===be.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 J(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 ce(e){var t=ue(e);de(t),pe(t),he(t),Object(i["u"])(t,(function(e){e.isParent=e.categoryMatches.length>0}))}function ue(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++),Ae(e)&&!Object(i["y"])(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Ae(e)||(e.CATEGORIES=[]),ge(e)||(e.categoryMatches=[]),_e(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 Ae(e){return Object(i["w"])(e,"CATEGORIES")}function ge(e){return Object(i["w"])(e,"categoryMatches")}function _e(e){return Object(i["w"])(e,"categoryMatchesMap")}function ve(e){return Object(i["w"])(e,"tokenTypeIdx")}var be,we={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"})(be||(be={}));var ye={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:we,traceInitPerf:!1,skipValidations:!1};Object.freeze(ye);var Ee=function(){function e(e,t){var r=this;if(void 0===t&&(t=ye),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"])(ye,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===ye.lineTerminatorsPattern)r.config.lineTerminatorsPattern=X;else if(r.config.lineTerminatorCharacters===ye.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(Q(n,r.trackStartLines,r.config.lineTerminatorCharacters))})),r.TRACE_INIT("performWarningRuntimeChecks",(function(){r.lexerDefinitionWarning=r.lexerDefinitionWarning.concat(z(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))&&(ce(e),r.TRACE_INIT("analyzeTokenTypes",(function(){a=M(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(S?(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(){c()})),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,c,u,d,h,p,f,m,A,g=this,_=e,v=_.length,b=0,w=0,y=this.hasCustom?0:Math.floor(e.length/10),E=new Array(y),C=[],S=this.trackStartLines?1:void 0,M=this.trackStartLines?1:void 0,x=q(this.emptyGroups),T=this.trackStartLines,O=this.config.lineTerminatorsPattern,N=0,R=[],L=[],I=[],k=[];Object.freeze(k);var B=void 0;function D(){return R}function F(e){var t=re(e),r=L[t];return void 0===r?k:r}var P,j=function(e){if(1===I.length&&void 0===e.tokenType.PUSH_MODE){var t=g.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);C.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{I.pop();var r=Object(i["H"])(I);R=g.patternIdxToConfig[r],L=g.charCodeToPatternIdxToConfig[r],N=R.length;var n=g.canModeBeOptimized[r]&&!1===g.config.safeMode;B=L&&n?F:D}};function U(e){I.push(e),L=this.charCodeToPatternIdxToConfig[e],R=this.patternIdxToConfig[e],N=R.length,N=R.length;var t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;B=L&&t?F:D}U.call(this,t);while(b<v){s=null;var H=_.charCodeAt(b),V=B(H),Y=V.length;for(r=0;r<Y;r++){P=V[r];var W=P.pattern;l=null;var Q=P.short;if(!1!==Q?H===Q&&(s=W):!0===P.isCustom?(A=W.exec(_,b,E,x),null!==A?(s=A[0],void 0!==A.payload&&(l=A.payload)):s=null):(this.updateLastIndex(W,b),s=this.match(W,e,b)),null!==s){if(o=P.longerAlt,void 0!==o){var z=R[o],G=z.pattern;c=null,!0===z.isCustom?(A=G.exec(_,b,E,x),null!==A?(a=A[0],void 0!==A.payload&&(c=A.payload)):a=null):(this.updateLastIndex(G,b),a=this.match(G,e,b)),a&&a.length>s.length&&(s=a,l=c,P=z)}break}}if(null!==s){if(u=s.length,d=P.group,void 0!==d&&(h=P.tokenTypeIdx,p=this.createTokenInstance(s,b,h,P.tokenType,S,M,u),this.handlePayload(p,l),!1===d?w=this.addToken(E,w,p):x[d].push(p)),e=this.chopInput(e,u),b+=u,M=this.computeNewColumn(M,u),!0===T&&!0===P.canLineTerminator){var K=0,X=void 0,$=void 0;O.lastIndex=0;do{X=O.test(s),!0===X&&($=O.lastIndex-1,K++)}while(!0===X);0!==K&&(S+=K,M=u-$,this.updateTokenEndLineColumnLocation(p,d,$,K,S,M,u))}this.handleModes(P,j,U,p)}else{var Z=b,J=S,ee=M,te=!1;while(!te&&b<v)for(_.charCodeAt(b),e=this.chopInput(e,1),b++,n=0;n<N;n++){var ne=R[n];W=ne.pattern,Q=ne.short;if(!1!==Q?_.charCodeAt(b)===Q&&(te=!0):!0===ne.isCustom?te=null!==W.exec(_,b,E,x):(this.updateLastIndex(W,b),te=null!==W.exec(e)),!0===te)break}f=b-Z,m=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(_,Z,f,J,ee),C.push({offset:Z,line:J,column:ee,length:f,message:m})}}return this.hasCustom||(E.length=w),{tokens:E,groups:x,errors:C}},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 Ce(e){return Me(e)?e.LABEL:e.name}function Se(e){return e.name}function Me(e){return Object(i["E"])(e.LABEL)&&""!==e.LABEL}var xe="parent",Te="categories",Oe="label",Ne="group",Re="push_mode",Le="pop_mode",Ie="longer_alt",ke="line_breaks",Be="start_chars_hint";function De(e){return Fe(e)}function Fe(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,Te)&&(r.CATEGORIES=e[Te]),ce([r]),Object(i["w"])(e,Oe)&&(r.LABEL=e[Oe]),Object(i["w"])(e,Ne)&&(r.GROUP=e[Ne]),Object(i["w"])(e,Le)&&(r.POP_MODE=e[Le]),Object(i["w"])(e,Re)&&(r.PUSH_MODE=e[Re]),Object(i["w"])(e,Ie)&&(r.LONGER_ALT=e[Ie]),Object(i["w"])(e,ke)&&(r.LINE_BREAKS=e[ke]),Object(i["w"])(e,Be)&&(r.START_CHARS_HINT=e[Be]),r}var Pe=De({name:"EOF",pattern:Ee.NA});function je(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 Ue(e,t){return ae(e,t)}ce([Pe]);var He=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 He(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),We=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 He(t,e),t}(Ve),Qe=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 He(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 He(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 He(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 He(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 He(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 He(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 He(t,e),t}(Ve),Ze=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 Je(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 Qe)return{type:"Flat",definition:t(e.definition)};if(e instanceof ze)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof qe)return{type:"RepetitionMandatory",name:e.name,idx:e.idx,definition:t(e.definition)};if(e instanceof Ge)return{type:"RepetitionMandatoryWithSeparator",name:e.name,idx:e.idx,separator:et(new Ze({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Xe)return{type:"RepetitionWithSeparator",name:e.name,idx:e.idx,separator:et(new Ze({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Ke)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 Ze){var r={type:"Terminal",name:e.terminalType.name,label:Ce(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 We)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 Ze)r.walkTerminal(n,o,t);else if(n instanceof Qe)r.walkFlat(n,o,t);else if(n instanceof ze)r.walkOption(n,o,t);else if(n instanceof qe)r.walkAtLeastOne(n,o,t);else if(n instanceof Ge)r.walkAtLeastOneSep(n,o,t);else if(n instanceof Xe)r.walkManySep(n,o,t);else if(n instanceof Ke)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 ze({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 ze({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 Qe({definition:[e]});n.walk(t,a)}))},e}();function rt(e,t,r){var n=[new ze({definition:[new Ze({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 Qe:return this.visitFlat(t);case ze:return this.visitOption(t);case qe:return this.visitRepetitionMandatory(t);case Ge:return this.visitRepetitionMandatoryWithSeparator(t);case Xe:return this.visitRepetitionWithSeparator(t);case Ke:return this.visitRepetition(t);case $e:return this.visitAlternation(t);case Ze:return this.visitTerminal(t);case We: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 Qe||e instanceof ze||e instanceof Ke||e instanceof qe||e instanceof Ge||e instanceof Xe||e instanceof Ze||e instanceof We}function ot(e,t){void 0===t&&(t=[]);var r=e instanceof ze||e instanceof Ke||e instanceof Xe;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 ze)return"OPTION";if(e instanceof $e)return"OR";if(e instanceof qe)return"AT_LEAST_ONE";if(e instanceof Ge)return"AT_LEAST_ONE_SEP";if(e instanceof Xe)return"MANY_SEP";if(e instanceof Ke)return"MANY";if(e instanceof Ze)return"CONSUME";throw Error("non exhaustive match")}var ct=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),ut=new ct;function dt(e){ut.reset(),e.accept(ut);var t=ut.dslMethods;return ut.reset(),t}function ht(e){if(e instanceof Ye)return ht(e.referencedRule);if(e instanceof Ze)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 At="_~IN~_",gt=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)}}(),_t=function(e){function t(t){var r=e.call(this)||this;return r.topProd=t,r.follows={},r}return gt(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=bt(e.referencedRule,e.idx)+this.topProd.name,i=t.concat(r),a=new Qe({definition:i}),o=ht(a);this.follows[n]=o},t}(tt);function vt(e){var t={};return Object(i["u"])(e,(function(e){var r=new _t(e).startWalking();Object(i["f"])(t,r)})),t}function bt(e,t){return e.name+t+At}var wt=4,yt=8,Et=8,Ct=1<<yt,St=2<<yt,Mt=3<<yt,xt=4<<yt,Tt=5<<yt,Ot=6<<yt;function Nt(e,t,r){return r|t|e}var Rt=32-Et;function Lt(e,t,r,n){var i=n+1<<Rt;return Nt(e,t,r)|i}var 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 kt(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset<t.endOffset===!0&&(e.endOffset=t.endOffset)}function Bt(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 Dt(e,t,r){void 0===e.children[r]?e.children[r]=[t]:e.children[r].push(t)}function Ft(e,t,r){void 0===e.children[t]?e.children[t]=[r]:e.children[t].push(r)}var Pt=function(e){function t(t){var r=e.call(this)||this;return r.result=[],r.ruleIdx=t,r}return It(t,e),t.prototype.collectNamedDSLMethod=function(e,t,r){if(!Object(i["F"])(e.name)){var n=void 0;if(e instanceof ze||e instanceof Ke||e instanceof qe||e instanceof $e)n=new t({definition:e.definition,idx:e.idx});else{if(!(e instanceof Ge||e instanceof Xe))throw Error("non exhaustive match");n=new t({definition:e.definition,idx:e.idx,separator:e.separator})}var a=[n],o=Nt(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,ze,St)},t.prototype.visitRepetition=function(e){this.collectNamedDSLMethod(e,Ke,Mt)},t.prototype.visitRepetitionMandatory=function(e){this.collectNamedDSLMethod(e,qe,xt)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.collectNamedDSLMethod(e,Ge,Ot)},t.prototype.visitRepetitionWithSeparator=function(e){this.collectNamedDSLMethod(e,Xe,Tt)},t.prototype.visitAlternation=function(e){var t=this;this.collectNamedDSLMethod(e,$e,Ct);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 ze({definition:n.definition})]:n.definition;var s=Lt(t.ruleIdx,Ct,e.idx,a);t.result.push({def:o,key:s,name:n.name,orgProd:n})}}))},t}(nt);function jt(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 Pt(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 Ut=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)}}(),Ht=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 Ut(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 Ut(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 Qe({definition:n});this.possibleTokTypes=ht(i),this.found=!0}},t}(Ht),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 Ut(t,e),t.prototype.startWalking=function(){return this.walk(this.topRule),this.result},t}(tt),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ut(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 Ze&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkMany.call(this,t,r,n)},t}(Yt),Qt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ut(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 Ze&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkManySep.call(this,t,r,n)},t}(Yt),zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ut(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 Ze&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkAtLeastOne.call(this,t,r,n)},t}(Yt),qt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ut(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 Ze&&(this.result.token=a.terminalType,this.result.occurrence=a.idx)}else e.prototype.walkAtLeastOneSep.call(this,t,r,n)},t}(Yt);function Gt(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=Gt(o(e),t,r);return n.concat(i)}while(r.length<t&&a<e.length){var l=e[a];if(l instanceof Qe)return s(l.definition);if(l instanceof Ye)return s(l.definition);if(l instanceof ze)n=s(l.definition);else{if(l instanceof qe){var c=l.definition.concat([new Ke({definition:l.definition})]);return s(c)}if(l instanceof Ge){c=[new Qe({definition:l.definition}),new Ke({definition:[new Ze({terminalType:l.separator})].concat(l.definition)})];return s(c)}if(l instanceof Xe){c=l.definition.concat([new Ke({definition:[new Ze({terminalType:l.separator})].concat(l.definition)})]);n=s(c)}else if(l instanceof Ke){c=l.definition.concat([new Ke({definition:l.definition})]);n=s(c)}else{if(l instanceof $e)return Object(i["u"])(l.definition,(function(e){n=s(e.definition)})),n;if(!(l instanceof Ze))throw Error("non exhaustive match");r.push(l.terminalType)}}a++}return n.push({partialPath:r,suffixDef:Object(i["m"])(e,a)}),n}function Kt(e,t,r,n){var a="EXIT_NONE_TERMINAL",o=[a],s="EXIT_ALTERNATIVE",l=!1,c=t.length,u=c-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,A=p.ruleStack,g=p.occurrenceStack;if(!Object(i["A"])(f)){var _=f[0];if(_===a){var v={idx:m,def:Object(i["m"])(f),ruleStack:Object(i["n"])(A),occurrenceStack:Object(i["n"])(g)};h.push(v)}else if(_ instanceof Ze)if(m<c-1){var b=m+1,w=t[b];if(r(w,_.terminalType)){v={idx:b,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(v)}}else{if(m!==c-1)throw Error("non exhaustive match");d.push({nextTokenType:_.terminalType,nextTokenOccurrence:_.idx,ruleStack:A,occurrenceStack:g}),l=!0}else if(_ instanceof Ye){var y=Object(i["g"])(A);y.push(_.nonTerminalName);var E=Object(i["g"])(g);E.push(_.idx);v={idx:m,def:_.definition.concat(o,Object(i["m"])(f)),ruleStack:y,occurrenceStack:E};h.push(v)}else if(_ instanceof ze){var C={idx:m,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(C),h.push(s);var S={idx:m,def:_.definition.concat(Object(i["m"])(f)),ruleStack:A,occurrenceStack:g};h.push(S)}else if(_ instanceof qe){var M=new Ke({definition:_.definition,idx:_.idx}),x=_.definition.concat([M],Object(i["m"])(f));v={idx:m,def:x,ruleStack:A,occurrenceStack:g};h.push(v)}else if(_ instanceof Ge){var T=new Ze({terminalType:_.separator});M=new Ke({definition:[T].concat(_.definition),idx:_.idx}),x=_.definition.concat([M],Object(i["m"])(f)),v={idx:m,def:x,ruleStack:A,occurrenceStack:g};h.push(v)}else if(_ instanceof Xe){C={idx:m,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(C),h.push(s);T=new Ze({terminalType:_.separator});var O=new Ke({definition:[T].concat(_.definition),idx:_.idx});x=_.definition.concat([O],Object(i["m"])(f)),S={idx:m,def:x,ruleStack:A,occurrenceStack:g};h.push(S)}else if(_ instanceof Ke){C={idx:m,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(C),h.push(s);O=new Ke({definition:_.definition,idx:_.idx}),x=_.definition.concat([O],Object(i["m"])(f)),S={idx:m,def:x,ruleStack:A,occurrenceStack:g};h.push(S)}else if(_ instanceof $e)for(var N=_.definition.length-1;N>=0;N--){var R=_.definition[N],L={idx:m,def:R.definition.concat(Object(i["m"])(f)),ruleStack:A,occurrenceStack:g};h.push(L),h.push(s)}else if(_ instanceof Qe)h.push({idx:m,def:_.definition.concat(Object(i["m"])(f)),ruleStack:A,occurrenceStack:g});else{if(!(_ instanceof We))throw Error("non exhaustive match");h.push(Xt(_,m,A,g))}}}else l&&Object(i["H"])(h).idx<=u&&h.pop()}return d}function Xt(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,Zt=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 Jt(e){if(e instanceof ze)return $t.OPTION;if(e instanceof Ke)return $t.REPETITION;if(e instanceof qe)return $t.REPETITION_MANDATORY;if(e instanceof Ge)return $t.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof Xe)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=ur(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,c=n[o];if(void 0===c||!1!==c.call(this))e:for(var u=0;u<l;u++){for(var d=s[u],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,c=0;c<l;c++){var u=this.LA(c+1);if(!1===r(u,s[c]))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 c=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===c[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 Zt(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 Zt(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 cr(e,t){for(var r=Object(i["I"])(e,(function(e){return Gt([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 c=function(e){for(var r=l[e],c=0;c<r.length;c++){var u=r[c].partialPath,d=r[c].suffixDef,h=sr(u),p=lr(a,h,e);if(p||Object(i["A"])(d)||u.length===t){var f=n[e];if(!1===hr(f,u)){f.push(u);for(var m=0;m<h.length;m++){var A=h[m];a[e][A]=!0}}}else{var g=Gt(d,s+1,u);o[e]=o[e].concat(g),Object(i["u"])(g,(function(t){var r=sr(t.partialPath);Object(i["u"])(r,(function(t){a[e][t]=!0}))}))}}},u=0;u<l.length;u++)c(u)}return n}function ur(e,t,r,n){var i=new ar(e,$t.ALTERNATION,n);return t.accept(i),cr(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 Qe({definition:a}),c=new Qe({definition:s});return cr([l,c],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 Ar(e,t,r,n,a,o){var s=i["I"](e,(function(e){return _r(e,a)})),l=i["I"](e,(function(e){return Or(e,e,a)})),c=[],u=[],d=[];Object(i["o"])(l,i["A"])&&(c=Object(i["I"])(e,(function(e){return Lr(e,a)})),u=Object(i["I"])(e,(function(e){return Ir(e,t,n,a)})),d=Dr(e,t,a));var h=jr(e,r,a),p=i["I"](r,(function(e){return Mr(e,a)})),f=gr(e,a),m=Ur(e,a),A=Object(i["I"])(e,(function(e){return Br(e,a)})),g=Object(i["I"])(e,(function(e){return Cr(e,a)})),_=Object(i["I"])(e,(function(t){return xr(t,e,o,a)}));return i["t"](s.concat(p,f,m,d,l,c,u,h,A,g,_))}function gr(e,t){var r=[];return Object(i["u"])(e,(function(e){var n=new Pt("");e.accept(n);var a=Object(i["I"])(n.result,(function(e){return e.orgProd}));r.push(Object(i["I"])(a,(function(r){return Sr(e,r,t)})))})),Object(i["t"])(r)}function _r(e,t){var r=new wr;e.accept(r);var n=r.allProductions,a=i["v"](n,vr),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:zn.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:o,occurrence:n.idx},l=br(n);return l&&(s.parameter=l),s}));return s}function vr(e){return lt(e)+"_#_"+e.idx+"_#_"+br(e)}function br(e){return e instanceof Ze?e.terminalType.name:e instanceof Ye?e.nonTerminalName:""}var wr=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),yr=/^[a-zA-Z_]\w*$/,Er=new RegExp(yr.source.replace("^","^\\$"));function Cr(e,t){var r=[],n=e.name;return n.match(yr)||r.push({message:t.buildInvalidRuleNameError({topLevelRule:e,expectedPattern:yr}),type:zn.INVALID_RULE_NAME,ruleName:n}),r}function Sr(e,t,r){var n,i=[];return t.name.match(Er)||(n=r.buildInvalidNestedRuleNameError(e,t),i.push({message:n,type:zn.INVALID_NESTED_RULE_NAME,ruleName:e.name})),i}function Mr(e,t){var r=[],n=e.name;return n.match(yr)||r.push({message:t.buildTokenNameError({tokenType:e,expectedPattern:yr}),type:zn.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:zn.DUPLICATE_RULE_NAME,ruleName:e.name})}return a}function Tr(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:zn.INVALID_RULE_OVERRIDE,ruleName:e})),a}function Or(e,t,r,n){void 0===n&&(n=[]);var a=[],o=Nr(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:zn.LEFT_RECURSION,ruleName:s});var c=i["l"](o,n.concat([e])),u=i["I"](c,(function(t){var a=i["g"](n);return a.push(t),Or(e,t,r,a)}));return a.concat(i["t"](u))}function Nr(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 Qe||r instanceof ze||r instanceof qe||r instanceof Ge||r instanceof Xe||r instanceof Ke)t=t.concat(Nr(r.definition));else if(r instanceof $e)t=i["t"](i["I"](r.definition,(function(e){return Nr(e.definition)})));else if(!(r instanceof Ze))throw Error("non exhaustive match");var n=ot(r),a=e.length>1;if(n&&a){var o=i["m"](e);return t.concat(Nr(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=Kt([r],[],null,1);return i["A"](o)?{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:n,emptyChoiceIdx:a}),type:zn.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:n.idx,alternative:a+1}:null}));return r.concat(i["i"](o))}),[]);return a}function Ir(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=ur(a,e,o,i),l=Fr(s,i,e,n),c=Pr(s,i,e,n);return r.concat(l,c)}),[]);return l}var kr=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 Br(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:zn.TOO_MANY_ALTS,ruleName:e.name,occurrence:n.idx}),r}),[]);return a}function Dr(e,t,r){var n=[];return Object(i["u"])(e,(function(e){var a=new kr;e.accept(a);var o=a.allProductions;Object(i["u"])(o,(function(a){var o=Jt(a),s=a.maxLookahead||t,l=a.idx,c=dr(l,e,o,s),u=c[0];if(Object(i["A"])(Object(i["t"])(u))){var d=r.buildEmptyRepetitionError({topLevelRule:e,repetition:a});n.push({message:d,type:zn.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}}))})),n}function Fr(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:zn.AMBIGUOUS_ALTS,ruleName:r.name,occurrence:t.idx,alternatives:[e.alts]}}));return s}function Pr(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,c=e.path,u=Object(i["r"])(o,(function(e){return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx<l&&pr(e.path,c)})),d=Object(i["I"])(u,(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:zn.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:a,alternatives:i}}));a=a.concat(d)}})),a}function jr(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:zn.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}})),n}function Ur(e,t){var r=[];return Object(i["u"])(e,(function(e){var n=new Pt("");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:zn.DUPLICATE_NESTED_NAME,ruleName:e.name})}))})),r}var Hr={buildMismatchTokenMessage:function(e){var t=e.expected,r=e.actual,n=(e.previous,e.ruleName,Me(t)),i=n?"--\x3e "+Ce(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)}),[]),c=Object(i["I"])(l,(function(e){return"["+Object(i["I"])(e,(function(e){return Ce(e)})).join(", ")+"]"})),u=Object(i["I"])(c,(function(e,t){return" "+(t+1)+". "+e})),d="one of these possible Token sequences:\n"+u.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 Ce(e)})).join(",")+"]"})),c="expecting at least one iteration which starts with one of these possible Token sequences::\n <"+l.join(" ,")+">";return a+c+s}};Object.freeze(Hr);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 Ze?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),c=o>0,u="->"+s+(c?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 u=u.replace(/[ \t]+/g," "),u=u.replace(/\s\s+/g,"\n"),u},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 Ce(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 Ce(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 We?e.topLevelRule.name:e.topLevelRule;var r="Duplicate definition, rule: ->"+t+"<- is already defined in the grammar: ->"+e.grammarName+"<-";return r}},Wr=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 Qr(e,t){var r=new zr(e,t);return r.resolveRefs(),r.errors}var zr=function(e){function t(t,r){var n=e.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=r,n.errors=[],n}return Wr(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:zn.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}},t}(nt);function qr(e){e=Object(i["k"])(e,{errMsgProvider:Vr});var t={};return Object(i["u"])(e.rules,(function(e){t[e.name]=e})),Qr(t,e.errMsgProvider)}function Gr(e){return e=Object(i["k"])(e,{errMsgProvider:Yr,ignoredIssues:{}}),Ar(e.rules,e.maxLookahead,e.tokenTypes,e.ignoredIssues,e.errMsgProvider,e.grammarName)}function Kr(e){Object(i["u"])(e.rules,(function(e){var t=new ct;e.accept(t),Object(i["u"])(t.dslMethods,(function(e){Object(i["u"])(e,(function(e,t){e.idx=t+1}))}))}))}var Xr="MismatchedTokenException",$r="NoViableAltException",Zr="EarlyExitException",Jr="NotAllInputParsedException",en=[Xr,$r,Zr,Jr];function tn(e){return Object(i["j"])(en,e.name)}function rn(e,t,r){this.name=Xr,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=Jr,this.message=e,this.token=t,this.resyncedTokens=[]}function on(e,t,r){this.name=Zr,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 cn(e){this.name=ln,this.message=e}cn.prototype=Error.prototype;var un=function(){function e(){}return e.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=Object(i["w"])(e,"recoveryEnabled")?e.recoveryEnabled:qn.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=dn)},e.prototype.getTokenToInsert=function(e){var t=je(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=[],c=!1,u=this.LA(1),d=this.LA(1),h=function(){var e=a.LA(0),t=a.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:u,previous:e,ruleName:a.getCurrRuleFullName()}),r=new rn(t,u,a.LA(0));r.resyncedTokens=Object(i["n"])(l),a.SAVE_ERROR(r)};while(!c){if(this.tokenMatcher(d,n))return void h();if(r.call(this))return h(),void e.apply(this,t);this.tokenMatcher(d,o)?c=!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 cn("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[Pe];var t=e.ruleName+e.idxInCallingRule+At+e.inRule;return this.resyncFollows[t]},e.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,Pe)||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 c=this.getCurrRuleFullName(),u=this.getGAstProductions()[c],d=new a(u,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=Pe,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:qn.dynamicTokensEnabled,this.maxLookahead=Object(i["w"])(e,"maxLookahead")?e.maxLookahead:qn.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,c=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=Nt(t.fullRuleNameToShort[e.name],Ct,r.idx);t.setLaFuncCache(i,n)}))})),Object(i["u"])(a,(function(r){t.computeLookaheadFunc(e,r.idx,Mt,$t.REPETITION,r.maxLookahead,lt(r))})),Object(i["u"])(o,(function(r){t.computeLookaheadFunc(e,r.idx,St,$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,Ot,$t.REPETITION_MANDATORY_WITH_SEPARATOR,r.maxLookahead,lt(r))})),Object(i["u"])(c,(function(r){t.computeLookaheadFunc(e,r.idx,Tt,$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=Nt(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 Nt(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 gn(e.constructor)}var fn,mn=/^\s*function\s*(\S*)\s*\(/,An="name";function gn(e){var t=e.name;if(t)return t;var r=e.toString().match(mn)[1];return r}function _n(e,t){var r=Object.getOwnPropertyDescriptor(e,An);return!(!Object(i["F"])(r)&&!r.configurable)&&(Object.defineProperty(e,An,{enumerable:!1,configurable:!0,writable:!1,value:t}),!0)}function vn(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,c=0;c<l;c++){var u=s[c];void 0===u.tokenTypeIdx&&(void 0!==u.fullName?this[u.fullName](u.children,t):this[u.name](u.children,t))}}function bn(e,t){var r=function(){};_n(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=yn(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 <"+gn(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 wn(e,t,r){var n=function(){};_n(n,e+"BaseSemanticsWithDefaults");var a=Object.create(r.prototype);return Object(i["u"])(t,(function(e){a[e]=vn})),n.prototype=a,n.prototype.constructor=n,n}function yn(e,t){var r=En(e,t),n=Sn(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 "+gn(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 Cn=["constructor","visit","validateVisitor"];function Sn(e,t){var r=[];for(var n in e)yr.test(n)&&Object(i["B"])(e[n])&&!Object(i["j"])(Cn,n)&&!Object(i["j"])(t,n)&&r.push({msg:"Redundant visitor method: <"+n+"> on "+gn(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 /"+yr.source+"/.",type:fn.REDUNDANT_METHOD,methodName:n});return r}var Mn=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:qn.outputCst,this.nodeLocationTracking=Object(i["w"])(e,"nodeLocationTracking")?e.nodeLocationTracking:qn.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Bt,this.setNodeLocationFromNode=Bt,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=kt,this.setNodeLocationFromNode=kt,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];Dt(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];Ft(r,t,e),this.setNodeLocationFromNode(r.location,e.location)}},e.prototype.getBaseCstVisitorConstructor=function(){if(Object(i["F"])(this.baseCstVisitorConstructor)){var e=bn(this.className,this.allRuleNames);return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},e.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if(Object(i["F"])(this.baseCstVisitorWithDefaultsConstructor)){var e=wn(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];Ft(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)):Qn},e.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Qn: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}(),Tn=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=Gn),Object(i["j"])(this.definedRulesNames,e)){var n=Yr.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),a={message:n,type:zn.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=Gn);var n=[];n=n.concat(Tr(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 Je(Object(i["U"])(this.gastProductionsCache))},e}(),On=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)),ve)){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"]=Pe;var a=Object(i["o"])(Object(i["U"])(e),(function(e){return Object(i["A"])(e.categoryMatches)}));this.tokenMatcher=a?oe:ae,ce(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:Gn.resyncEnabled,o=Object(i["w"])(r,"recoveryValueFunc")?r.recoveryValueFunc:Gn.recoveryValueFunc,s=this.ruleShortNameIdx<<wt+yt;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 c="ruleName";return n[c]=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(St,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(St,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,zt)},e.prototype.atLeastOneSepFirstInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Ot,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(Ot,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,qt],s,Ot,e,qt)},e.prototype.manyInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Mt,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(Mt,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,Mt,e,Wt,l)},e.prototype.manySepFirstInternal=function(e,t){var r=this.getKeyForAutomaticLookahead(Tt,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(Tt,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,Qt],s,Tt,e,Qt)}},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,Ot,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(Ct,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(Ct,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],c=this.nestedAltBeforeClause(l,t,Ct,s);try{return l.ALT.call(this)}finally{void 0!==c&&this.nestedRuleFinallyClause(c.shortName,c.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),Pe)},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}(),Nn=function(){function e(){}return e.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=Object(i["k"])(e.errorMessageProvider,qn.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 c=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:o,actual:s,previous:this.LA(0),customUserDescription:r,ruleName:n});throw this.SAVE_ERROR(new on(c,this.LA(1),this.LA(0)))},e.prototype.raiseNoAltException=function(e,t){for(var r=this.getCurrRuleFullName(),n=this.getGAstProductions()[r],i=ur(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 Kt([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 In=!0,kn=Math.pow(2,yt)-1,Bn=De({name:"RECORDING_PHASE_TOKEN",pattern:Ee.NA});ce([Bn]);var Dn=je(Bn,"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(Dn);var Fn={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:{}},Pn=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 Qn},e.prototype.topLevelRuleRecord=function(e,t){try{var r=new We({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 jn.call(this,ze,e,t)},e.prototype.atLeastOneInternalRecord=function(e,t){jn.call(this,qe,t,e)},e.prototype.atLeastOneSepFirstInternalRecord=function(e,t){jn.call(this,Ge,t,e,In)},e.prototype.manyInternalRecord=function(e,t){jn.call(this,Ke,t,e)},e.prototype.manySepFirstInternalRecord=function(e,t){jn.call(this,Xe,t,e,In)},e.prototype.orInternalRecord=function(e,t){return Un.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"+Hn(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?Fn:Ln},e.prototype.consumeInternalRecord=function(e,t,r){if(Vn(t),!me(e)){var n=new Error("<CONSUME"+Hn(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 Ze({idx:t,terminalType:e});return a.definition.push(o),Dn},e}();function jn(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 Un(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 Qe({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 Hn(e){return 0===e?"":""+e}function Vn(e){if(e<0||e>kn){var t=new Error("Invalid DSL Method idx value: <"+e+">\n\tIdx value must be a none negative value smaller than "+(kn+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=qn.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}(),Wn=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)}}(),Qn=je(Pe,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Qn);var zn,qn=Object.freeze({recoveryEnabled:!1,maxLookahead:4,ignoredIssues:{},dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:Hr,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),Gn=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});function Kn(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"})(zn||(zn={}));var Xn=function(){function e(e,t){void 0===t&&(t=qn),this.ignoredIssues=qn.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!==qn.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:qn.ignoredIssues,this.skipValidations=Object(i["w"])(t,"skipValidations")?t.skipValidations:qn.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=qr({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=Gr({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=vt(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=jt(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"])(Xn,[un,hn,Mn,xn,On,Tn,Nn,Rn,Pn,Yn]);var $n=function(e){function t(t,r){void 0===r&&(r=qn);var n=this,a=Object(i["h"])(r);return a.outputCst=!0,n=e.call(this,t,a)||this,n}return Wn(t,e),t}(Xn),Zn=function(e){function t(t,r){void 0===r&&(r=qn);var n=this,a=Object(i["h"])(r);return a.outputCst=!1,n=e.call(this,t,a)||this,n}return Wn(t,e),t}(Xn);function Jn(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',c="\n<link rel='stylesheet' href='"+s+"'>\n",u="\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+c+u+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 ci(e,t+1)}));return r+=n.join(","+ei),r+=ei+fi(t,"])"+ei),r}function ci(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 ui(e,t){if(e instanceof Ye)return si(e,t);if(e instanceof ze)return di("OPTION",e,t);if(e instanceof qe)return di("AT_LEAST_ONE",e,t);if(e instanceof Ge)return di("AT_LEAST_ONE_SEP",e,t);if(e instanceof Xe)return di("MANY_SEP",e,t);if(e instanceof Ke)return di("MANY",e,t);if(e instanceof $e)return li(e,t);if(e instanceof Ze)return oi(e,t);if(e instanceof Qe)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+=ui(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 Ai(e){return ti({name:e.name,rules:e.rules})}function gi(){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=b,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function u(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(u(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?v(i):g(i,i.length)}function A(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 g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function _(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function v(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function b(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))}y(e,t,a,{once:!0}),"error"!==t&&w(e,i,{once:!0})}))}function w(e,t,r){"function"===typeof e.on&&y(e,"error",t,r)}function y(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 c},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+".");c=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 c=l.length,u=g(l,c);for(r=0;r<c;++r)a(u[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 u(t),this.on(e,f(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},l.prototype.removeListener=function(e,t){var r,n,i,a,o;if(u(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():_(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):A.call(e,t)},l.prototype.listenerCount=A,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";
  1484. //! moment.js locale configuration
  1485. 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}))},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},fd7e:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1486. //! moment.js locale configuration
  1487. 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){}},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},fee6:function(e,t,r){var n=r("843f"),i=/\s+/g,a=r("be1e"),o=r("f08f");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},ff51b:function(e,t,r){var n=r("843f"),i=r("27c9"),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}},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 u(t,(e,t)=>{S(t)?n[e]=l(n[e],t,r):(r||void 0===n[e])&&(n[e]=t)}),n}function c(e,t,r){e.forEach(t,r)}function u(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 y(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(v(e))return e;if(w(e)){const t=[];for(const r of e)t.push(m(r));return t}if(b(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 A(e){return"boolean"===typeof e}function g(e){return"number"===typeof e}function _(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 w(e){return Array.isArray(e)}function y(e){return e instanceof Set}function E(e){return e instanceof Map}function C(e){if(w(e))return!e.length;if(y(e))return!e.size;if(E(e))return!e.size;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 M(e){return e&&"function"===typeof e[Symbol.iterator]}function x(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 O(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=c,t.forEachObject=u,t.arrayLength=d,t.objectLength=h,t.getObjectValue=p,t.removeObjectValue=f,t.clone=m,t.isBoolean=A,t.isNumber=g,t.isString=_,t.isFunction=v,t.isObject=b,t.isArray=w,t.isSet=y,t.isMap=E,t.isEmpty=C,t.isPlainObject=S,t.isIterable=M,t.getValue=x,t.utf8Encode=T,t.utf8Decode=O},ffd5:function(e,t,r){},ffec:function(e,t,r){"use strict";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}));r("1e70"),r("79a4"),r("c1a1"),r("8b00"),r("a4e7"),r("1e5a"),r("72c3");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(`^[+-]?(((${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}},ffff:function(e,t,r){(function(e,t){t(r("c1df"))})(0,(function(e){"use strict";
  1488. //! moment.js locale configuration
  1489. 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}))}}]);