chunk-a3fe419a.e3ac51b3.js 5.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a3fe419a","chunk-2d216214","chunk-4c04a414","chunk-540bf3bc","chunk-0548e8b8","chunk-e7e0bc78","chunk-63d48301","chunk-b8bb9516","chunk-68fb515a","chunk-168540e9","chunk-6157eab0","chunk-58ff19f5","chunk-3edf0b24","chunk-38db7d20","chunk-45c925bc","chunk-032dc8d4","chunk-7c9d0fa5","chunk-765d853e","chunk-f9e203b4","chunk-2311d2e0","chunk-39351b40","chunk-542a55d2","chunk-2124a8fb","chunk-384eca4c","chunk-db47984e","chunk-d8d97ca6","chunk-b4be1f56","chunk-4c04a414","chunk-55d2a48e","chunk-674896b0","chunk-53078e5c","chunk-ca61e3fe","chunk-669e4f68","chunk-f287a97a"],{"009c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("77f3"),i=n("69a8"),o=n("9688");class s extends r.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)||o.tree_rootNode(e._path[0].invocationTarget)!==this?this._host:null}static _create(e,t){return new s(t,"closed")}}t.ShadowRootImpl=s},"00ce":function(e,t,n){"use strict";var r,i=n("a645"),o=n("417f7"),s=n("dc99"),a=n("1409"),l=n("67ee"),c=n("0d25"),u=n("67d9"),d=Function,h=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(t){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(F){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=n("5156")(),g=n("0a36")(),_=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),b={},v="undefined"!==typeof Uint8Array&&_?_(Uint8Array):r,w={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":A&&_?_([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A&&_?_(_([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&A&&_?_((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&A&&_?_((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&_?_(""[Symbol.iterator]()):r,"%Symbol%":A?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":v,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet};if(_)try{null.error}catch(F){var y=_(_(F));w["%Error.prototype%"]=y}var R=function e(t){var n;if("%AsyncFunction%"===t)n=h("async function () {}");else if("%GeneratorFunction%"===t)n=h("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=h("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&_&&(n=_(i.prototype))}return w[t]=n,n},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=n("0f7c"),E=n("9671"),T=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),O=S.call(Function.call,String.prototype.replace),x=S.call(Function.call,String.prototype.slice),N=S.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,P=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,L,(function(e,t,n,i){r[r.length]=n?O(i,I,"$1"):t||e})),r},D=function(e,t){var n,r=e;if(E(M,r)&&(n=M[r],r="%"+n[0]+"%"),E(w,r)){var i=w[r];if(i===b&&(i=R(r)),"undefined"===typeof i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,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===N(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=P(e),r=n.length>0?n[0]:"",i=D("%"+r+"%",t),o=i.name,s=i.value,a=!1,u=i.alias;u&&(r=u[0],C(n,T([0,1],u)));for(var d=1,h=!0;d<n.length;d+=1){var f=n[d],m=x(f,0,1),A=x(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||(a=!0),r+="."+f,o="%"+r+"%",E(w,o))s=w[o];else if(null!=s){if(!(f in s)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&d+1>=n.length){var g=p(s,f);h=!!g,s=h&&"get"in g&&!("originalValue"in g.get)?g.get:s[f]}else h=E(s,f),s=s[f];h&&!a&&(w[o]=s)}}return s}},"00dc":function(e,t,n){(function(e){var r=n("58a2"),i=n("c24de"),o=n("561d");function s(t){var n=new e(i[t].prime,"hex"),r=new e(i[t].gen,"hex");return new o(n,r)}var a={binary:!0,hex:!0,base64:!0};function l(t,n,i,s){return e.isBuffer(n)||void 0===a[n]?l(t,"binary",n,i):(n=n||"binary",s=s||"binary",i=i||new e([2]),e.isBuffer(i)||(i=new e(i,s)),"number"===typeof t?new o(r(t,i),i,!0):(e.isBuffer(t)||(t=new e(t,n)),new o(t,i,!0)))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=s,t.createDiffieHellman=t.DiffieHellman=l}).call(this,n("b639").Buffer)},"00fd":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("14d9");var r=n("9f10"),i=n("81ea");class o extends r["a"]{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];super(e)}getTrimmedIndexes(){return Object(i["arrayReduce"])(this.getValues(),(e,t,n)=>(t&&e.push(n),e),[])}}},"0106":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(12).Buffer}catch(T){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.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},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,n=0!==o||s!==this.length-1?u[6-l.length]+l+n:l+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],p=h[e];n="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),n=f.isZero()?m+n:u[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,c=new e(o),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[a]=s;for(;a<o;a++)c[a]=0}else{for(a=0;a<o-i;a++)c[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[o-a-1]=s}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function A(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new _;return r.mulp(e,t,n)}function _(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?f(this,e,t):r<1024?A(this,e,t):g(this,e,t),n},_.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},_.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},_.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},_.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},_.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},_.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},_.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},_.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"===typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function R(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(w,v),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&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,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(R,v),i(M,v),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new R;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(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 o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},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},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"010e":function(e,t,n){(function(e,t){t(n("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,n){"use strict";var r=n("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 n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},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,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,n),n+=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,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},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(){r.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,n){var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n})),t},r.der=n("8b71")},"0213":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("605c");class i extends r.BaseCBWriter{constructor(e){super(e),this._lineLength=0}declaration(e,t,n){let r=this._beginLine()+"<?xml";return r+=' version="'+e+'"',void 0!==t&&(r+=' encoding="'+t+'"'),void 0!==n&&(r+=' standalone="'+(n?"yes":"no")+'"'),r+="?>",r}docType(e,t,n){let r=this._beginLine();return r+=t&&n?"<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+n+'">':t?"<!DOCTYPE "+e+' PUBLIC "'+t+'">':n?"<!DOCTYPE "+e+' SYSTEM "'+n+'">':"<!DOCTYPE "+e+">",r}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,n){return n?" />":t?this._writerOptions.allowEmptyTags?"></"+e+">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"}closeTag(e){return this._beginLine()+"</"+e+">"}attribute(e,t){let n=e+'="'+t+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+n.length>this._writerOptions.width?(n=this._beginLine()+this._indent(1)+n,this._lineLength=n.length,n):(this._lineLength+=1+n.length," "+n)}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},"022a":function(e,t,n){},"0283":function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MENU_ITEMS_NAMESPACE",(function(){return r})),n.d(t,"CONTEXTMENU_ITEMS_NO_ITEMS",(function(){return o})),n.d(t,"CONTEXTMENU_ITEMS_ROW_ABOVE",(function(){return s})),n.d(t,"CONTEXTMENU_ITEMS_ROW_BELOW",(function(){return a})),n.d(t,"CONTEXTMENU_ITEMS_INSERT_LEFT",(function(){return l})),n.d(t,"CONTEXTMENU_ITEMS_INSERT_RIGHT",(function(){return c})),n.d(t,"CONTEXTMENU_ITEMS_REMOVE_ROW",(function(){return u})),n.d(t,"CONTEXTMENU_ITEMS_REMOVE_COLUMN",(function(){return d})),n.d(t,"CONTEXTMENU_ITEMS_UNDO",(function(){return h})),n.d(t,"CONTEXTMENU_ITEMS_REDO",(function(){return p})),n.d(t,"CONTEXTMENU_ITEMS_READ_ONLY",(function(){return f})),n.d(t,"CONTEXTMENU_ITEMS_CLEAR_COLUMN",(function(){return m})),n.d(t,"CONTEXTMENU_ITEMS_COPY",(function(){return A})),n.d(t,"CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS",(function(){return g})),n.d(t,"CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS",(function(){return _})),n.d(t,"CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY",(function(){return b})),n.d(t,"CONTEXTMENU_ITEMS_CUT",(function(){return v})),n.d(t,"CONTEXTMENU_ITEMS_FREEZE_COLUMN",(function(){return w})),n.d(t,"CONTEXTMENU_ITEMS_UNFREEZE_COLUMN",(function(){return y})),n.d(t,"CONTEXTMENU_ITEMS_MERGE_CELLS",(function(){return R})),n.d(t,"CONTEXTMENU_ITEMS_UNMERGE_CELLS",(function(){return M})),n.d(t,"CONTEXTMENU_ITEMS_ADD_COMMENT",(function(){return S})),n.d(t,"CONTEXTMENU_ITEMS_EDIT_COMMENT",(function(){return E})),n.d(t,"CONTEXTMENU_ITEMS_REMOVE_COMMENT",(function(){return T})),n.d(t,"CONTEXTMENU_ITEMS_READ_ONLY_COMMENT",(function(){return C})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT",(function(){return O})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_LEFT",(function(){return x})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_CENTER",(function(){return N})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT",(function(){return L})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY",(function(){return I})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_TOP",(function(){return P})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE",(function(){return D})),n.d(t,"CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM",(function(){return F})),n.d(t,"CONTEXTMENU_ITEMS_BORDERS",(function(){return k})),n.d(t,"CONTEXTMENU_ITEMS_BORDERS_TOP",(function(){return B})),n.d(t,"CONTEXTMENU_ITEMS_BORDERS_RIGHT",(function(){return U})),n.d(t,"CONTEXTMENU_ITEMS_BORDERS_BOTTOM",(function(){return H})),n.d(t,"CONTEXTMENU_ITEMS_BORDERS_LEFT",(function(){return j})),n.d(t,"CONTEXTMENU_ITEMS_REMOVE_BORDERS",(function(){return V})),n.d(t,"CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD",(function(){return W})),n.d(t,"CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD",(function(){return Y})),n.d(t,"CONTEXTMENU_ITEMS_HIDE_COLUMN",(function(){return Q})),n.d(t,"CONTEXTMENU_ITEMS_SHOW_COLUMN",(function(){return X})),n.d(t,"CONTEXTMENU_ITEMS_HIDE_ROW",(function(){return K})),n.d(t,"CONTEXTMENU_ITEMS_SHOW_ROW",(function(){return G})),n.d(t,"FILTERS_NAMESPACE",(function(){return Z})),n.d(t,"FILTERS_CONDITIONS_NAMESPACE",(function(){return z})),n.d(t,"FILTERS_CONDITIONS_NONE",(function(){return q})),n.d(t,"FILTERS_CONDITIONS_EMPTY",(function(){return J})),n.d(t,"FILTERS_CONDITIONS_NOT_EMPTY",(function(){return $})),n.d(t,"FILTERS_CONDITIONS_EQUAL",(function(){return ee})),n.d(t,"FILTERS_CONDITIONS_NOT_EQUAL",(function(){return te})),n.d(t,"FILTERS_CONDITIONS_BEGINS_WITH",(function(){return ne})),n.d(t,"FILTERS_CONDITIONS_ENDS_WITH",(function(){return re})),n.d(t,"FILTERS_CONDITIONS_CONTAINS",(function(){return ie})),n.d(t,"FILTERS_CONDITIONS_NOT_CONTAIN",(function(){return oe})),n.d(t,"FILTERS_CONDITIONS_BY_VALUE",(function(){return se})),n.d(t,"FILTERS_CONDITIONS_GREATER_THAN",(function(){return ae})),n.d(t,"FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL",(function(){return le})),n.d(t,"FILTERS_CONDITIONS_LESS_THAN",(function(){return ce})),n.d(t,"FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL",(function(){return ue})),n.d(t,"FILTERS_CONDITIONS_BETWEEN",(function(){return de})),n.d(t,"FILTERS_CONDITIONS_NOT_BETWEEN",(function(){return he})),n.d(t,"FILTERS_CONDITIONS_AFTER",(function(){return pe})),n.d(t,"FILTERS_CONDITIONS_BEFORE",(function(){return fe})),n.d(t,"FILTERS_CONDITIONS_TODAY",(function(){return me})),n.d(t,"FILTERS_CONDITIONS_TOMORROW",(function(){return Ae})),n.d(t,"FILTERS_CONDITIONS_YESTERDAY",(function(){return ge})),n.d(t,"FILTERS_DIVS_FILTER_BY_CONDITION",(function(){return _e})),n.d(t,"FILTERS_DIVS_FILTER_BY_VALUE",(function(){return be})),n.d(t,"FILTERS_LABELS_CONJUNCTION",(function(){return ve})),n.d(t,"FILTERS_LABELS_DISJUNCTION",(function(){return we})),n.d(t,"FILTERS_VALUES_BLANK_CELLS",(function(){return ye})),n.d(t,"FILTERS_BUTTONS_SELECT_ALL",(function(){return Re})),n.d(t,"FILTERS_BUTTONS_CLEAR",(function(){return Me})),n.d(t,"FILTERS_BUTTONS_OK",(function(){return Se})),n.d(t,"FILTERS_BUTTONS_CANCEL",(function(){return Ee})),n.d(t,"FILTERS_BUTTONS_PLACEHOLDER_SEARCH",(function(){return Te})),n.d(t,"FILTERS_BUTTONS_PLACEHOLDER_VALUE",(function(){return Ce})),n.d(t,"FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE",(function(){return Oe})),n.d(t,"CHECKBOX_RENDERER_NAMESPACE",(function(){return xe})),n.d(t,"CHECKBOX_CHECKED",(function(){return Ne})),n.d(t,"CHECKBOX_UNCHECKED",(function(){return Le}));const r="ContextMenu:items",i=r,o=i+".noItems",s=i+".insertRowAbove",a=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",b=i+".copyHeadersOnly",v=i+".cut",w=i+".freezeColumn",y=i+".unfreezeColumn",R=i+".mergeCells",M=i+".unmergeCells",S=i+".addComment",E=i+".editComment",T=i+".removeComment",C=i+".readOnlyComment",O=i+".align",x=i+".align.left",N=i+".align.center",L=i+".align.right",I=i+".align.justify",P=i+".align.top",D=i+".align.middle",F=i+".align.bottom",k=i+".borders",B=i+".borders.top",U=i+".borders.right",H=i+".borders.bottom",j=i+".borders.left",V=i+".borders.remove",W=i+".nestedHeaders.insertChildRow",Y=i+".nestedHeaders.detachFromParent",Q=i+".hideColumn",X=i+".showColumn",K=i+".hideRow",G=i+".showRow",Z="Filters:",z=Z+"conditions",q=z+".none",J=z+".isEmpty",$=z+".isNotEmpty",ee=z+".isEqualTo",te=z+".isNotEqualTo",ne=z+".beginsWith",re=z+".endsWith",ie=z+".contains",oe=z+".doesNotContain",se=z+".byValue",ae=z+".greaterThan",le=z+".greaterThanOrEqualTo",ce=z+".lessThan",ue=z+".lessThanOrEqualTo",de=z+".isBetween",he=z+".isNotBetween",pe=z+".after",fe=z+".before",me=z+".today",Ae=z+".tomorrow",ge=z+".yesterday",_e=Z+"labels.filterByCondition",be=Z+"labels.filterByValue",ve=Z+"labels.conjunction",we=Z+"labels.disjunction",ye=Z+"values.blankCells",Re=Z+"buttons.selectAll",Me=Z+"buttons.clear",Se=Z+"buttons.ok",Ee=Z+"buttons.cancel",Te=Z+"buttons.placeholder.search",Ce=Z+"buttons.placeholder.value",Oe=Z+"buttons.placeholder.secondValue",xe="CheckboxRenderer:",Ne=xe+"checked",Le=xe+"unchecked"},"02b5":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-menus"},[n("div",{staticClass:"menus-out"},e._l(e.filteredMenus,(function(t,r){return n("div",{key:r,staticClass:"group-item",class:"group-item"+r},[n("div",{staticClass:"items-name"},[e._v(e._s(t.name))]),n("div",{staticClass:"menus"},[e._l(t.subMenus,(function(t,r){return[n("div",{key:r,staticClass:"menu",on:{click:function(n){return e.onClickMenus(t)}}},[n("div",{staticClass:"icon"},[t.icon?n("img",{staticClass:"menu-icon",attrs:{src:e.getIconPath(t.icon),alt:""}}):e._e()]),n("div",{staticClass:"menu-name"},[e._v(e._s(t.name))])])]}))],2)])})),0),n("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}}},[n("Formula",{attrs:{comList:e.comArr},on:{onPicked:e.onPickedFormula}})],1),n("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}}},[n("Variable",{attrs:{type:e.type},on:{onPicked:e.onPickedVariable,onData:e.btnbianl}})],1),n("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}}},[n("sourceData",{on:{onPicked:e.onPickedTab}})],1),n("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}}}),n("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}}},[n("sourceEs",{attrs:{TemList:e.comArr},on:{onPicked:e.onPickedAi}})],1),n("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}}},[n("el-form",{attrs:{model:e.directoryForm,"label-width":"100px"}},[n("el-form-item",{attrs:{label:"目录等级"}},[n("el-select",{attrs:{placeholder:"请选择目录等级"},model:{value:e.directoryForm.level,callback:function(t){e.$set(e.directoryForm,"level",t)},expression:"directoryForm.level"}},[n("el-option",{attrs:{label:"一级目录",value:1}}),n("el-option",{attrs:{label:"二级目录",value:2}}),n("el-option",{attrs:{label:"三级目录",value:3}}),n("el-option",{attrs:{label:"四级目录",value:4}}),n("el-option",{attrs:{label:"五级目录",value:5}}),n("el-option",{attrs:{label:"六级目录",value:6}})],1)],1)],1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.showDirectoryLevelDialog=!1}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.confirmDirectoryLevel}},[e._v("确 定")])],1)],1),n("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{visible:e.codeJsonData,"append-to-body":"",width:"300","close-on-click-modal":!1,top:"20px","custom-class":"prod-verify",title:"选择"},on:{"update:visible":function(t){e.codeJsonData=t}}},[n("CodeJson",{on:{onPicked:e.onPickedProduct}})],1)],1)},i=[],o=n("5530"),s=(n("4de4"),n("d81d"),n("d3b7"),n("0643"),n("2382"),n("a573"),n("de23")),a=n("7ab1"),l=n("f67b"),c=n("448c"),u=n("595f"),d=n("e5d1"),h=n("a888"),p=(n("4760"),{name:"menus",emits:["onEvents","onVariable"],components:{Formula:s["default"],Variable:u["default"],sourceData:a["default"],sourceAi:l["default"],sourceEs:c["default"],CodeJson:d["default"]},directives:{elDragDialog:h["a"]},props:{comArr:{type:Array,default:[]}},data:function(){var e=this;return{showDirectoryLevelDialog:!1,directoryForm:{level:1},codeJsonData:!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:"formual",name:"公式",icon:"公式"},{key:"variable",name:"变量",icon:"变量"},{key:"constant",name:"常量",icon:"常量"},{key:"attr",name:"产品",icon:"属性"},{key:"Directory",name:"目录",icon:"目录"},{key:"InsertNull",name:"插入空值",icon:"插入空值"}]}]}},computed:{filteredMenus:function(){return this.menus.map((function(e){return Object(o["a"])(Object(o["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){"attr"==e.key?this.codeJsonData=!0:"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}})},getIconPath:function(e){return n("5d88")("./".concat(e,".svg"))},onPickedProduct:function(e){if(e&&e.id){var t={type:"insert",key:"attr",content:e};try{this.$emit("onEvents",t),this.codeJsonData=!1}catch(n){console.error("插入商品信息失败:",n),this.$message.error("插入商品信息失败,请重试")}}else this.$message.error("商品信息不完整")}}}),f=p,m=(n("e2ce"),n("2877")),A=Object(m["a"])(f,r,i,!1,null,null,null);t["default"]=A.exports},"02fb":function(e,t,n){(function(e,t){t(n("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,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"0352":function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));n("d9e2");var r=n("13e1"),i=n("87d6"),o=n("63d8"),s=n("5d7f"),a=n("ffec");function l(e,t,n){e.addEventListener(t,n,!1)}function c(e,t,n){e.removeEventListener(t,n,!1)}function u(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function d(e){const t={minHeight:200,maxHeight:300,minWidth:100,maxWidth:300},n=e.body,r=e.createTextNode(""),i=e.createElement("span");let o;function s(){r.textContent=o.value,i.style.position="absolute",i.style.fontSize=u(o).fontSize,i.style.fontFamily=u(o).fontFamily,i.style.whiteSpace="pre",n.appendChild(i);const e=i.clientWidth+2;n.removeChild(i);const s=o.style;s.height=t.minHeight+"px",t.minWidth>e?s.width=t.minWidth+"px":e>t.maxWidth?s.width=t.maxWidth+"px":s.width=e+"px";const a=o.scrollHeight?o.scrollHeight-1:0;t.minHeight>a?s.height=t.minHeight+"px":t.maxHeight<a?(s.height=t.maxHeight+"px",s.overflowY="visible"):s.height=a+"px"}function a(){e.defaultView.setTimeout(s,0)}function d(e){if(e&&e.minHeight)if("inherit"===e.minHeight)t.minHeight=o.clientHeight;else{const n=parseInt(e.minHeight,10);isNaN(n)||(t.minHeight=n)}if(e&&e.maxHeight)if("inherit"===e.maxHeight)t.maxHeight=o.clientHeight;else{const n=parseInt(e.maxHeight,10);isNaN(n)||(t.maxHeight=n)}if(e&&e.minWidth)if("inherit"===e.minWidth)t.minWidth=o.clientWidth;else{const n=parseInt(e.minWidth,10);isNaN(n)||(t.minWidth=n)}if(e&&e.maxWidth)if("inherit"===e.maxWidth)t.maxWidth=o.clientWidth;else{const n=parseInt(e.maxWidth,10);isNaN(n)||(t.maxWidth=n)}i.firstChild||(i.className="autoResize",i.style.display="inline-block",i.appendChild(r))}function h(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o=e,d(n),"TEXTAREA"===o.nodeName&&(o.style.resize="none",o.style.height=t.minHeight+"px",o.style.minWidth=t.minWidth+"px",o.style.maxWidth=t.maxWidth+"px",o.style.overflowY="hidden"),r&&(l(o,"input",s),l(o,"keydown",a)),s()}return{init:h,resize:s,unObserve(){c(o,"input",s),c(o,"keydown",a)}}}var h=n("7b9c");function p(e,t){const n=Object(s["getCaretPosition"])(t),r=t.value.split("\n");let i=n,o=0;for(let s=0;s<r.length;s++){const t=r[s];0!==s&&(o+=r[s-1].length+1);const a=o+t.length;if("home"===e?i=o:"end"===e&&(i=a),n<=a)break}Object(s["setCaretPosition"])(t,i)}var f=n("8828");function m(e,t,n){return(t=A(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const _="ht_editor_visible",b="ht_editor_hidden",v="textEditor",w="text";class y extends r["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(s["isThisHotChild"])(this.hot.rootDocument.activeElement,this.hot.rootElement)&&this.hot.listen(),this.hideEditableElement(),this.unregisterShortcuts()}prepare(e,t,n,i,o,s){const a=this.state;if(super.prepare(e,t,n,i,o,s),!s.readOnly){this.refreshDimensions(!0);const{allowInvalid:e}=s;e&&!this.isOpened()&&(this.TEXTAREA.value=""),a===r["b"].FINISHED||this.isOpened()||this.hideEditableElement()}}beginEditing(e,t){this.state===r["b"].VIRGIN&&(this.TEXTAREA.value="",super.beginEditing(e,t))}focus(){this.TEXTAREA.select(),Object(s["setCaretPosition"])(this.TEXTAREA,this.TEXTAREA.value.length)}createElements(){const{rootDocument:e}=this.hot;this.TEXTAREA=e.createElement("TEXTAREA"),Object(s["setAttribute"])(this.TEXTAREA,[["data-hot-input",""],Object(f["L"])(-1)]),Object(s["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(s["addClass"])(this.TEXTAREA_PARENT,"handsontableInputHolder"),Object(s["hasClass"])(this.TEXTAREA_PARENT,this.layerClass)&&Object(s["removeClass"])(this.TEXTAREA_PARENT,this.layerClass),Object(s["addClass"])(this.TEXTAREA_PARENT,b),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}hideEditableElement(){Object(o["isEdge"])()&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",Object(s["removeClass"])(this.TEXTAREA_PARENT,this.layerClass),Object(s["addClass"])(this.TEXTAREA_PARENT,b)}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(a["rangeEach"])(e.length-1,n=>{const r=e[n];if(Object(s["hasClass"])(r,"handsontableEditor"))return t=!0,!1}),Object(s["hasClass"])(this.TEXTAREA_PARENT,b)&&Object(s["removeClass"])(this.TEXTAREA_PARENT,b),t?(this.layerClass=_,Object(s["addClass"])(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),Object(s["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!==r["b"].EDITING&&!e)return;if(this.TD=this.getEditedCell(),!this.TD)return void(e||this.close());const{top:t,start:n,width:i,maxWidth:o,height:a,maxHeight:l}=this.getEditedCellRect();this.textareaParentStyle.top=t+"px",this.textareaParentStyle[this.hot.isRtl()?"right":"left"]=n+"px",this.showEditableElement();const c=Object(s["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(s["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=a-h,m=o-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(o["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===r["b"].EDITING&&this.focus()}),this.addHook("afterRowResize",()=>{this.refreshDimensions(),this.state===r["b"].EDITING&&this.focus()})}allowKeyEventPropagation(){}destroy(){this.eventManager.destroy(),this.clearHooks()}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor"),n={runOnlyIf:()=>Object(h["isDefined"])(this.hot.getSelected()),group:v},r=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};t.addShortcuts([{keys:[["Control","Enter"]],callback:()=>(r(),!1),runOnlyIf:e=>!this.hot.selection.isMultiple()&&!e.altKey},{keys:[["Meta","Enter"]],callback:()=>(r(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(r(),!1)},{keys:[["Home"]],callback:(e,t)=>{let[n]=t;p(n,this.TEXTAREA)}},{keys:[["End"]],callback:(e,t)=>{let[n]=t;p(n,this.TEXTAREA)}}],n)}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(v)}}},"03ec":function(e,t,n){(function(e,t){t(n("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,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("2cf4").set,s=n("20cc"),a=i.setImmediate?s(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==a},{setImmediate:a})},"0428":function(e,t,n){"use strict";n("3e00")},"04be":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7316");class i{static asNode(e){if(r.Guard.isNode(e))return e;throw new Error("Invalid object. Node expected.")}}t.Cast=i},"04d1":function(e,t,n){"use strict";var r=n("342f"),i=r.match(/firefox\/(\d+)/i);e.exports=!!i&&+i[1]},"0558":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  8. //! moment.js locale configuration
  9. function t(e){return e%100===11||e%10!==1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}var r=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:n,ss:n,m:n,mm:n,h:"klukkustund",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 r}))},"05c6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("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 r.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 n=0;n<e.length;n++)if(e[n]===t)return n;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)t.push(n);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,n){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(e){return function(e,t,n){e[t]=n}}}(),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 n=t.contentWindow,r=n.eval,i=n.execScript;!r&&i&&(i.call(n,"null"),r=n.eval),forEach(Object_keys(e),(function(t){n[t]=e[t]})),forEach(globals,(function(t){e[t]&&(n[t]=e[t])}));var o=Object_keys(n),s=r.call(n,this.code);return forEach(Object_keys(n),(function(t){(t in e||-1===indexOf(o,t))&&(e[t]=n[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,n[t])})),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),n=this.runInContext(t);return e&&forEach(Object_keys(t),(function(n){e[n]=t[n]})),n},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var n=Script(t);return n[e].apply(n,[].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(n){t[n]=e[n]})),t}},"0716":function(e,t,n){"use strict";n("d9e2");function r(e,t,n){i(e,t),t.set(e,n)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function o(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){var t=a(e,"string");return"symbol"==typeof t?t:t+""}function a(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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,n){return e.set(u(e,t),n),n}function u(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var d=new WeakMap;class h{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o(this,"row",null),o(this,"col",null),r(this,d,!1),c(d,this,n),"undefined"!==typeof e&&"undefined"!==typeof t&&(this.row=e,this.col=t)}isValid(e){const{countRows:t,countCols:n,countRowHeaders:r,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<-r)&&!(this.row>=t||this.col>=n))}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,n){(function(e,t){t(n("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,n){(function(e,t){t(n("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,n){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,n){"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,n){"use strict";var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},"07f2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("6eed");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"07f44":function(e,t,n){"use strict";var r=n("be7f"),i=4,o=0,s=1,a=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,b=2*A+1,v=15,w=16,y=7,R=256,M=16,S=17,E=18,T=[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],C=[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],x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=512,L=new Array(2*(A+2));l(L);var I=new Array(2*g);l(I);var P=new Array(N);l(P);var D=new Array(p-h+1);l(D);var F=new Array(f);l(F);var k,B,U,H=new Array(g);function j(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function V(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function W(e){return e<256?P[e]:P[256+(e>>>7)]}function Y(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Q(e,t,n){e.bi_valid>w-n?(e.bi_buf|=t<<e.bi_valid&65535,Y(e,e.bi_buf),e.bi_buf=t>>w-e.bi_valid,e.bi_valid+=n-w):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function X(e,t,n){Q(e,n[2*t],n[2*t+1])}function K(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function G(e){16===e.bi_valid?(Y(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 Z(e,t){var n,r,i,o,s,a,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(o=0;o<=v;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<b;n++)r=e.heap[n],o=l[2*l[2*r+1]+1]+1,o>f&&(o=f,m++),l[2*r+1]=o,r>c||(e.bl_count[o]++,s=0,r>=p&&(s=h[r-p]),a=l[2*r],e.opt_len+=a*(o+s),d&&(e.static_len+=a*(u[2*r+1]+s)));if(0!==m){do{o=f-1;while(0===e.bl_count[o])o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(o=f;0!==o;o--){r=e.bl_count[o];while(0!==r)i=e.heap[--n],i>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}}function z(e,t,n){var r,i,o=new Array(v+1),s=0;for(r=1;r<=v;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=K(o[a]++,a))}}function q(){var e,t,n,r,i,o=new Array(v+1);for(n=0,r=0;r<f-1;r++)for(F[r]=n,e=0;e<1<<T[r];e++)D[n++]=r;for(D[n-1]=r,i=0,r=0;r<16;r++)for(H[r]=i,e=0;e<1<<C[r];e++)P[i++]=r;for(i>>=7;r<g;r++)for(H[r]=i<<7,e=0;e<1<<C[r]-7;e++)P[256+i++]=r;for(t=0;t<=v;t++)o[t]=0;e=0;while(e<=143)L[2*e+1]=8,e++,o[8]++;while(e<=255)L[2*e+1]=9,e++,o[9]++;while(e<=279)L[2*e+1]=7,e++,o[7]++;while(e<=287)L[2*e+1]=8,e++,o[8]++;for(z(L,A+1,o),e=0;e<g;e++)I[2*e+1]=5,I[2*e]=K(e,5);k=new j(L,T,m+1,A,v),B=new j(I,C,0,g,v),U=new j(new Array(0),O,0,_,y)}function J(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*R]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function $(e){e.bi_valid>8?Y(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function ee(e,t,n,i){$(e),i&&(Y(e,n),Y(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function te(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function ne(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,te(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function re(e,t,n){var r,i,o,s,a=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],i=e.pending_buf[e.l_buf+a],a++,0===r?X(e,i,t):(o=D[i],X(e,o+m+1,t),s=T[o],0!==s&&(i-=F[o],Q(e,i,s)),r--,o=W(r),X(e,o,n),s=C[o],0!==s&&(r-=H[o],Q(e,r,s)))}while(a<e.last_lit);X(e,R,t)}function ie(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=b,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)ne(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ne(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,ne(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Z(e,t),z(o,c,e.bl_count)}function oe(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<l&&i===s||(a<c?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*M]++):a<=10?e.bl_tree[2*S]++:e.bl_tree[2*E]++,a=0,o=i,0===s?(l=138,c=3):i===s?(l=6,c=3):(l=7,c=4))}function se(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<l&&i===s)){if(a<c)do{X(e,i,e.bl_tree)}while(0!==--a);else 0!==i?(i!==o&&(X(e,i,e.bl_tree),a--),X(e,M,e.bl_tree),Q(e,a-3,2)):a<=10?(X(e,S,e.bl_tree),Q(e,a-3,3)):(X(e,E,e.bl_tree),Q(e,a-11,7));a=0,o=i,0===s?(l=138,c=3):i===s?(l=6,c=3):(l=7,c=4)}}function ae(e){var t;for(oe(e,e.dyn_ltree,e.l_desc.max_code),oe(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=_-1;t>=3;t--)if(0!==e.bl_tree[2*x[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,n,r){var i;for(Q(e,t-257,5),Q(e,n-1,5),Q(e,r-4,4),i=0;i<r;i++)Q(e,e.bl_tree[2*x[i]+1],3);se(e,e.dyn_ltree,t-1),se(e,e.dyn_dtree,n-1)}function ce(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return s;for(t=32;t<m;t++)if(0!==e.dyn_ltree[2*t])return s;return o}l(H);var ue=!1;function de(e){ue||(q(),ue=!0),e.l_desc=new V(e.dyn_ltree,k),e.d_desc=new V(e.dyn_dtree,B),e.bl_desc=new V(e.bl_tree,U),e.bi_buf=0,e.bi_valid=0,J(e)}function he(e,t,n,r){Q(e,(c<<1)+(r?1:0),3),ee(e,t,n,!0)}function pe(e){Q(e,u<<1,3),X(e,R,L),G(e)}function fe(e,t,n,r){var o,s,l=0;e.level>0?(e.strm.data_type===a&&(e.strm.data_type=ce(e)),ie(e,e.l_desc),ie(e,e.d_desc),l=ae(e),o=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=o&&(o=s)):o=s=n+5,n+4<=o&&-1!==t?he(e,t,n,r):e.strategy===i||s===o?(Q(e,(u<<1)+(r?1:0),3),re(e,L,I)):(Q(e,(d<<1)+(r?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),re(e,e.dyn_ltree,e.dyn_dtree)),J(e),r&&$(e)}function me(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(D[n]+m+1)]++,e.dyn_dtree[2*W(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,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,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,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(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,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,a=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(n)+d(p,r,i,o)+a+t[h]+s[p]|0;a=o,o=i,i=u(r),r=n,n=f}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0},l.prototype._hash=function(){var e=o.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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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((n,r)=>e.call(t,r,n))}*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=r},"0960":function(e,t,n){e.exports=n("b19a")},"09f5":function(e,t,n){var r=n("39f5"),i=n("8707").Buffer,o=n("6430"),s=n("3fb5");function a(e,t,n,s){o.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._mode=e}s(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},"0a36":function(e,t,n){"use strict";var r={__proto__:null,foo:{}},i=Object;e.exports=function(){return{__proto__:r}.foo===r.foo&&!(r instanceof i)}},"0a3c":function(e,t,n){(function(e,t){t(n("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("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^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,o=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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:r,longMonthsParse:r,shortMonthsParse:r,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 o}))},"0a84":function(e,t,n){(function(e,t){t(n("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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},"0b16":function(e,t,n){"use strict";var r=n("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 o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\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},b=n("184d");function v(e,t,n){if(e&&"object"===typeof e&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}function w(e){return"string"===typeof e&&(e=v(e)),e instanceof i?e.format():i.prototype.format.call(e)}function y(e,t){return v(e,!1,!0).resolve(t)}function R(e,t){return e?v(e,!1,!0).resolveObject(t):t}i.prototype.parse=function(e,t,n){if("string"!==typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s),c=/\\/g;l[0]=l[0].replace(c,"/"),e=l.join(s);var v=e;if(v=v.trim(),!n&&1===e.split("#").length){var w=a.exec(v);if(w)return this.path=v,this.href=v,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var y=o.exec(v);if(y){y=y[0];var R=y.toLowerCase();this.protocol=R,v=v.substr(y.length)}if(n||y||v.match(/^\/\/[^@/]+@[^@/]+/)){var M="//"===v.substr(0,2);!M||y&&g[y]||(v=v.substr(2),this.slashes=!0)}if(!g[y]&&(M||y&&!_[y])){for(var S,E,T=-1,C=0;C<h.length;C++){var O=v.indexOf(h[C]);-1!==O&&(-1===T||O<T)&&(T=O)}E=-1===T?v.lastIndexOf("@"):v.lastIndexOf("@",T),-1!==E&&(S=v.slice(0,E),v=v.slice(E+1),this.auth=decodeURIComponent(S)),T=-1;for(C=0;C<d.length;C++){O=v.indexOf(d[C]);-1!==O&&(-1===T||O<T)&&(T=O)}-1===T&&(T=v.length),this.host=v.slice(0,T),v=v.slice(T),this.parseHost(),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x)for(var N=this.hostname.split(/\./),L=(C=0,N.length);C<L;C++){var I=N[C];if(I&&!I.match(f)){for(var P="",D=0,F=I.length;D<F;D++)I.charCodeAt(D)>127?P+="x":P+=I[D];if(!P.match(f)){var k=N.slice(0,C),B=N.slice(C+1),U=I.match(m);U&&(k.push(U[1]),B.unshift(U[2])),B.length&&(v="/"+B.join(".")+v),this.hostname=k.join(".");break}}}this.hostname.length>p?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=r.toASCII(this.hostname));var H=this.port?":"+this.port:"",j=this.hostname||"";this.host=j+H,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!A[R])for(C=0,L=u.length;C<L;C++){var V=u[C];if(-1!==v.indexOf(V)){var W=encodeURIComponent(V);W===V&&(W=escape(V)),v=v.split(V).join(W)}}var Y=v.indexOf("#");-1!==Y&&(this.hash=v.substr(Y),v=v.slice(0,Y));var Q=v.indexOf("?");if(-1!==Q?(this.search=v.substr(Q),this.query=v.substr(Q+1),t&&(this.query=b.parse(this.query)),v=v.slice(0,Q)):t&&(this.search="",this.query={}),v&&(this.pathname=v),_[R]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var X=this.search||"";this.path=H+X}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||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";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&&(o=b.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||_[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})),s=s.replace("#","%23"),t+i+n+s+r},i.prototype.resolve=function(e){return this.resolveObject(v(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 n=new i,r=Object.keys(this),o=0;o<r.length;o++){var s=r[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),l=0;l<a.length;l++){var c=a[l];"protocol"!==c&&(n[c]=e[c])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!_[e.protocol]){for(var u=Object.keys(e),d=0;d<u.length;d++){var h=u[d];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.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(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",m=n.search||"";n.path=f+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var A=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=b||A||n.host&&e.pathname,w=v,y=n.pathname&&n.pathname.split("/")||[],R=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!_[n.protocol]);if(R&&(n.hostname="",n.port=null,n.host&&(""===y[0]?y[0]=n.host:y.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),v=v&&(""===p[0]||""===y[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,y=p;else if(p.length)y||(y=[]),y.pop(),y=y.concat(p),n.search=e.search,n.query=e.query;else if(null!=e.search){if(R){n.host=y.shift(),n.hostname=n.host;var M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");M&&(n.auth=M.shift(),n.hostname=M.shift(),n.host=n.hostname)}return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!y.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=y.slice(-1)[0],E=(n.host||e.host||y.length>1)&&("."===S||".."===S)||""===S,T=0,C=y.length;C>=0;C--)S=y[C],"."===S?y.splice(C,1):".."===S?(y.splice(C,1),T++):T&&(y.splice(C,1),T--);if(!v&&!w)for(;T--;T)y.unshift("..");!v||""===y[0]||y[0]&&"/"===y[0].charAt(0)||y.unshift(""),E&&"/"!==y.join("/").substr(-1)&&y.push("");var O=""===y[0]||y[0]&&"/"===y[0].charAt(0);if(R){n.hostname=O?"":y.length?y.shift():"",n.host=n.hostname;M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");M&&(n.auth=M.shift(),n.hostname=M.shift(),n.host=n.hostname)}return v=v||n.host&&y.length,v&&!O&&y.unshift(""),y.length>0?n.pathname=y.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.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=v,t.resolve=y,t.resolveObject=R,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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  18. //! moment.js locale configuration
  19. function t(e,t,n,r){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 r?i[n][0]:i[n][1]}var n=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,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},"0cbb":function(e,t,n){"use strict";var r,i=t,o=n("7d92"),s=n("4136"),a=n("f3a3"),l=a.assert;function c(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.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 n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}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:o.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:o.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:o.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:o.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:o.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:o.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:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n("409b")}catch(d){r=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:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},"0d25":function(e,t,n){"use strict";e.exports=TypeError},"0d44":function(e,t,n){var r=n("843f"),i=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var o={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 s(e,t){return"function"===typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function a(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var i=Object.keys(e).map((function(t){var n=e[t];return t in o?o[t](n):s(t,n)}));return 0===i.length?[]:this.filter(i.reduce(a),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(s("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(o.tag_type(e),t,n,r)}},"0d5e":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-product-attr"},[n("el-tree",{attrs:{data:e.dataList,props:e.defaultProps},on:{"node-click":e.handleNodeClick}})],1)},i=[],o=n("5530"),s=(n("d81d"),n("b0c0"),n("e9c4"),n("b64b"),n("ac1f"),n("841c"),n("a573"),n("c4c8")),a={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(s["a"])(e.queryForm).then((function(t){t&&(e.dataList=t.data.dataList.map((function(e){var t=JSON.parse(e.attrs),n=t.map((function(t){return Object(o["a"])(Object(o["a"])({label:t.name},t),{},{parent:{id:e.id,name:e.name}})}));return{label:e.name,children:n}})))}))},ChangePage:function(e){var t=this;t.queryForm.page=e,t.search()}}},l=a,c=(n("f3c0"),n("2877")),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},"0da4":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o={};function s(e){r.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 a(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(o),r=0;r<n.length;r++){var s=n[r];t.prototype[s]=o[s]}return t.create=function(e){return new t(e)},t}t.instantiate=a,o._cbcInit=function(){var e=new s(this.options.iv);this._cbcState=e},o._update=function(e,t,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)s[a]^=e[t+a];o._update.call(this,s,0,n,r);for(a=0;a<this.blockSize;a++)s[a]=n[r+a]}else{o._update.call(this,e,t,n,r);for(a=0;a<this.blockSize;a++)n[r+a]^=s[a];for(a=0;a<this.blockSize;a++)s[a]=e[t+a]}}},"0e49":function(e,t,n){(function(e,t){t(n("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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("69a8");function i(e){return r.isBoolean(e)?e:e.capture||!1}function o(e){const t=i(e);let n=!1,o=!1;return r.isBoolean(e)||(n=e.once||!1,o=e.passive||!1),[t,o,n]}function s(e,t){if(null!==t.callback){for(let n=0;n<e._eventListenerList.length;n++){const r=e._eventListenerList[n];if(r.type===t.type&&r.callback.handleEvent===t.callback.handleEvent&&r.capture===t.capture)return}e._eventListenerList.push(t)}}function a(e,t,n){t.removed=!0,e._eventListenerList.splice(n,1)}function l(e){for(const t of e._eventListenerList)t.removed=!0;e._eventListenerList.length=0}t.eventTarget_flatten=i,t.eventTarget_flattenMore=o,t.eventTarget_addEventListener=s,t.eventTarget_removeEventListener=a,t.eventTarget_removeAllEventListeners=l},"0e6b":function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t}))},"0e81":function(e,t,n){(function(e,t){t(n("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ı"},n=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,n){return e<12?n?"öö":"ÖÖ":n?"ö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,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},"0ead":function(e,t,n){},"0f14":function(e,t,n){(function(e,t){t(n("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,n){var r=n("2aee"),i=n("f460"),o=n("83d5"),s=n("0106"),a=n("a958"),l=n("98e6"),c=n("5291"),u=n("8707").Buffer;function d(e,t){var n=e.modulus.byteLength(),r=l("sha1").update(u.alloc(0)).digest(),s=r.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),c=t.slice(s+1),d=o(a,i(c,s)),h=o(c,i(d,n-s-1));if(p(r,h.slice(0,s)))throw new Error("decryption error");var f=s;while(0===h[f])f++;if(1!==h[f++])throw new Error("decryption error");return h.slice(f)}function h(e,t,n){var r=t.slice(0,2),i=2,o=0;while(0!==t[i++])if(i>=t.length){o++;break}var s=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function p(e,t){e=u.from(e),t=u.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;while(++i<r)n+=e[i]^t[i];return n}e.exports=function(e,t,n){var i;i=e.padding?e.padding:n?1:4;var o,l=r(e),p=l.modulus.byteLength();if(t.length>p||new s(t).cmp(l.modulus)>=0)throw new Error("decryption error");o=n?c(new s(t),l):a(t,l);var f=u.alloc(p-o.length);if(o=u.concat([f,o],p),4===i)return d(l,o);if(1===i)return h(l,o,n);if(3===i)return o;throw new Error("unknown padding")}},"0f38":function(e,t,n){(function(e,t){t(n("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,n){"use strict";var r=n("688e");e.exports=Function.prototype.bind||r},"0fc1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e,t=""){super(t),this.name=e}}t.DOMException=r;class i extends r{constructor(e=""){super("DOMStringSizeError",e)}}t.DOMStringSizeError=i;class o extends r{constructor(e=""){super("WrongDocumentError","The object is in the wrong document. "+e)}}t.WrongDocumentError=o;class s extends r{constructor(e=""){super("NoDataAllowedError",e)}}t.NoDataAllowedError=s;class a extends r{constructor(e=""){super("NoModificationAllowedError","The object can not be modified. "+e)}}t.NoModificationAllowedError=a;class l extends r{constructor(e=""){super("NotSupportedError","The operation is not supported. "+e)}}t.NotSupportedError=l;class c extends r{constructor(e=""){super("InUseAttributeError",e)}}t.InUseAttributeError=c;class u extends r{constructor(e=""){super("InvalidStateError","The object is in an invalid state. "+e)}}t.InvalidStateError=u;class d extends r{constructor(e=""){super("InvalidModificationError","The object can not be modified in this way. "+e)}}t.InvalidModificationError=d;class h extends r{constructor(e=""){super("NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+e)}}t.NamespaceError=h;class p extends r{constructor(e=""){super("InvalidAccessError","The object does not support the operation or argument. "+e)}}t.InvalidAccessError=p;class f extends r{constructor(e=""){super("ValidationError",e)}}t.ValidationError=f;class m extends r{constructor(e=""){super("TypeMismatchError",e)}}t.TypeMismatchError=m;class A extends r{constructor(e=""){super("SecurityError","The operation is insecure. "+e)}}t.SecurityError=A;class g extends r{constructor(e=""){super("NetworkError","A network error occurred. "+e)}}t.NetworkError=g;class _ extends r{constructor(e=""){super("AbortError","The operation was aborted. "+e)}}t.AbortError=_;class b extends r{constructor(e=""){super("URLMismatchError","The given URL does not match another URL. "+e)}}t.URLMismatchError=b;class v extends r{constructor(e=""){super("QuotaExceededError","The quota has been exceeded. "+e)}}t.QuotaExceededError=v;class w extends r{constructor(e=""){super("TimeoutError","The operation timed out. "+e)}}t.TimeoutError=w;class y extends r{constructor(e=""){super("InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+e)}}t.InvalidNodeTypeError=y;class R extends r{constructor(e=""){super("DataCloneError","The object can not be cloned. "+e)}}t.DataCloneError=R;class M extends r{constructor(e=""){super("NotImplementedError","The DOM method is not implemented by this module. "+e)}}t.NotImplementedError=M;class S extends r{constructor(e=""){super("HierarchyRequestError","The operation would yield an incorrect node tree. "+e)}}t.HierarchyRequestError=S;class E extends r{constructor(e=""){super("NotFoundError","The object can not be found here. "+e)}}t.NotFoundError=E;class T extends r{constructor(e=""){super("IndexSizeError","The index is not in the allowed range. "+e)}}t.IndexSizeError=T;class C extends r{constructor(e=""){super("SyntaxError","The string did not match the expected pattern. "+e)}}t.SyntaxError=C;class O extends r{constructor(e=""){super("InvalidCharacterError","The string contains invalid characters. "+e)}}t.InvalidCharacterError=O},"0fe1":function(e,t,n){"use strict";n.r(t);var r=n("96c7"),i=n("c7cc");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("8127");var s=n("2877"),a=Object(s["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=a.exports},"0ff2":function(e,t,n){(function(e,t){t(n("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,n){"use strict";n("d9e2"),n("14d9"),n("73d9");var r=n("81ea"),i=n("351d"),o=n("29b0"),s=n("bd5e"),a=n("67a8"),l=n("97b9");function c(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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=a["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 b()}constructor(){c(this,"globalBucket",void 0),this.globalBucket=this.createEmptyBucket()}createEmptyBucket(){const e=Object.create(null);return Object(r["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 n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;if(Array.isArray(t))Object(r["arrayEach"])(t,t=>this.add(e,t,n));else{f.has(e)&&Object(s["b"])(Object(o["substitute"])(p,{hookName:e,removedInVersion:f.get(e)})),m.has(e)&&Object(s["b"])(m.get(e));const a=this.getBucket(n);if("undefined"===typeof a[e]&&(this.register(e),a[e]=[],this.initOrderMap(a,e)),t.skip=!1,-1===a[e].indexOf(t)){let n=!1;t.initialHook&&Object(r["arrayEach"])(a[e],(r,i)=>{if(r.initialHook)return a[e][i]=t,n=!0,!1}),n||a[e].push(t)}this.setCallbackOrderIndex(a,e,t,i),this.orderBucketByOrderIndex(a,e)}return this}once(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;Array.isArray(t)?Object(r["arrayEach"])(t,t=>this.once(e,t,n)):(t.runOnce=!0,this.add(e,t,n,i))}remove(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const r=this.getBucket(n);return"undefined"!==typeof r[e]&&r[e].indexOf(t)>=0&&(t.skip=!0,!0)}has(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=this.getBucket(t);return!(void 0===n[e]||!n[e].length)}run(e,t,n,r,i,o,s,a){{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,n,r,i,o,s,a);void 0!==u&&(n=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,n,r,i,o,s,a);void 0!==u&&(n=u),c[d]&&c[d].runOnce&&this.remove(t,c[d],e),d+=1}}return n}destroy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Object(i["objectEach"])(this.getBucket(e),(e,t,n)=>n[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,n,r){const i=Number.isInteger(r)?r:0,o=this.getCallbackOrderMap(e,t);o.set(i,[...o.get(i)||[],n])}orderBucketByOrderIndex(e,t){const n=this.getCallbackOrderMap(e,t);void 0===n||0===n.size||1===n.size&&n.has(0)||(e[t]=[...n].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 b(){return _}t["a"]=g},1034:function(e,t,n){},1096:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n("d9e2"),n("14d9");var r=n("ffec"),i=n("351d"),o=n("97b9"),s=n("7ae0");function a(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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;a(this,"indexedValues",[]),a(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(o["isFunction"])(this.initValueOrFn)?Object(r["rangeEach"])(e-1,e=>this.indexedValues.push(this.initValueOrFn(e))):Object(r["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,s["a"])},"10e8":function(e,t,n){(function(e,t){t(n("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,n){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,n){var r,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,n){"use strict";"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)})("undefined"!==typeof window?window:this,(function(n,o){"use strict";var s=[],a=Object.getPrototypeOf,l=s.slice,c=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},u=s.push,d=s.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},b=function(e){return null!=e&&e===e.window},v=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){n=n||v;var r,i,o=n.createElement("script");if(o.text=e,t)for(r in w)i=t[r]||t.getAttribute&&t.getAttribute(r),i&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function R(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?h[p.call(e)]||"object":typeof e}var M="3.7.1",S=/HTML$/i,E=function(e,t){return new E.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=R(e);return!_(e)&&!b(e)&&("array"===n||0===t||"number"===typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}E.fn=E.prototype={jquery:M,constructor:E,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=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,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(E.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:s.sort,splice:s.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"===typeof s&&(c=s,s=arguments[a]||{},a++),"object"===typeof s||_(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(c&&r&&(E.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||E.isPlainObject(n)?n:{},i=!1,s[t]=E.extend(c,o,r)):void 0!==r&&(s[t]=r));return s},E.extend({expando:"jQuery"+(M+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e))&&(t=a(e),!t||(n=f.call(t,"constructor")&&t.constructor,"function"===typeof n&&m.call(n)===A))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(T(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=E.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?E.merge(n,"string"===typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:d.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!S.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,s=e.length,a=!n;o<s;o++)r=!t(e[o],o),r!==a&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(T(e))for(r=e.length;o<r;o++)i=t(e[o],o,n),null!=i&&s.push(i);else for(o in e)i=t(e[o],o,n),null!=i&&s.push(i);return c(s)},guid:1,support:g}),"function"===typeof Symbol&&(E.fn[Symbol.iterator]=s[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){h["[object "+t+"]"]=t.toLowerCase()}));var O=s.pop,x=s.sort,N=s.splice,L="[\\x20\\t\\r\\n\\f]",I=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g");E.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var P=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}E.escapeSelector=function(e){return(e+"").replace(P,D)};var F=v,k=u;(function(){var e,t,r,i,o,a,c,u,h,p,m=k,A=E.expando,_=0,b=0,v=te(),w=te(),y=te(),R=te(),M=function(e,t){return e===t&&(o=!0),0},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",T="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",P="\\["+L+"*("+T+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+T+"))|)"+L+"*\\]",D=":("+T+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",B=new RegExp(L+"+","g"),U=new RegExp("^"+L+"*,"+L+"*"),H=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),j=new RegExp(L+"|>"),V=new RegExp(D),W=new RegExp("^"+T+"$"),Y={ID:new RegExp("^#("+T+")"),CLASS:new RegExp("^\\.("+T+")"),TAG:new RegExp("^("+T+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+D),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,X=/^h\d$/i,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,Z=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),z=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},q=function(){ce()},J=pe((function(e){return!0===e.disabled&&C(e,"fieldset")}),{dir:"parentNode",next:"legend"});function $(){try{return a.activeElement}catch(e){}}try{m.apply(s=l.call(F.childNodes),F.childNodes),s[F.childNodes.length].nodeType}catch(ye){m={apply:function(e,t){k.apply(e,l.call(t))},call:function(e){k.apply(e,l.call(arguments,1))}}}function ee(e,t,n,r){var i,o,s,l,c,d,p,f=t&&t.ownerDocument,_=t?t.nodeType:9;if(n=n||[],"string"!==typeof e||!e||1!==_&&9!==_&&11!==_)return n;if(!r&&(ce(t),t=t||a,u)){if(11!==_&&(c=K.exec(e)))if(i=c[1]){if(9===_){if(!(s=t.getElementById(i)))return n;if(s.id===i)return m.call(n,s),n}else if(f&&(s=f.getElementById(i))&&ee.contains(t,s)&&s.id===i)return m.call(n,s),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((i=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(i)),n}if(!R[e+" "]&&(!h||!h.test(e))){if(p=e,f=t,1===_&&(j.test(e)||H.test(e))){f=G.test(e)&&le(t.parentNode)||t,f==t&&g.scope||((l=t.getAttribute("id"))?l=E.escapeSelector(l):t.setAttribute("id",l=A)),d=de(e),o=d.length;while(o--)d[o]=(l?"#"+l:":scope")+" "+he(d[o]);p=d.join(",")}try{return m.apply(n,f.querySelectorAll(p)),n}catch(b){R(e,!0)}finally{l===A&&t.removeAttribute("id")}}}return we(e.replace(I,"$1"),t,n,r)}function te(){var e=[];function n(r,i){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=i}return n}function ne(e){return e[A]=!0,e}function re(e){var t=a.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 C(t,"input")&&t.type===e}}function oe(e){return function(t){return(C(t,"input")||C(t,"button"))&&t.type===e}}function se(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&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return ne((function(t){return t=+t,ne((function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function le(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function ce(e){var n,r=e?e.ownerDocument||e:F;return r!=a&&9===r.nodeType&&r.documentElement?(a=r,c=a.documentElement,u=!E.isXMLDoc(a),p=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&F!=a&&(n=a.defaultView)&&n.top!==n&&n.addEventListener("unload",q),g.getById=re((function(e){return c.appendChild(e).id=E.expando,!a.getElementsByName||!a.getElementsByName(E.expando).length})),g.disconnectedMatch=re((function(e){return p.call(e,"*")})),g.scope=re((function(){return a.querySelectorAll(":scope")})),g.cssHas=re((function(){try{return a.querySelector(":has(*,:jqfake)"),!1}catch(ye){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(Z,z);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&u){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Z,z);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&u){var n,r,i,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}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=[],re((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=a.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=a.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("|")),M=function(e,t){if(e===t)return o=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===a||e.ownerDocument==F&&ee.contains(F,e)?-1:t===a||t.ownerDocument==F&&ee.contains(F,t)?1:i?d.call(i,e)-d.call(i,t):0:4&n?-1:1)},a):a}for(e in ee.matches=function(e,t){return ee(e,null,null,t)},ee.matchesSelector=function(e,t){if(ce(e),u&&!R[t+" "]&&(!h||!h.test(t)))try{var n=p.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(ye){R(t,!0)}return ee(t,a,null,[e]).length>0},ee.contains=function(e,t){return(e.ownerDocument||e)!=a&&ce(e),E.contains(e,t)},ee.attr=function(e,n){(e.ownerDocument||e)!=a&&ce(e);var r=t.attrHandle[n.toLowerCase()],i=r&&f.call(t.attrHandle,n.toLowerCase())?r(e,n,!u):void 0;return void 0!==i?i:e.getAttribute(n)},ee.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},E.uniqueSort=function(e){var t,n=[],r=0,s=0;if(o=!g.sortStable,i=!g.sortStable&&l.call(e,0),x.call(e,M),o){while(t=e[s++])t===e[s]&&(r=n.push(s));while(r--)N.call(e,n[r],1)}return i=null,e},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(l.apply(this)))},t=E.expr={cacheLength:50,createPseudo:ne,match:Y,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(Z,z),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,z),"~="===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,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=de(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,z).toLowerCase();return"*"===e?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=v[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&v(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ee.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,p,f=o!==s?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,v=!1;if(m){if(o){while(f){d=t;while(d=d[f])if(a?C(d,g):1===d.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&b){u=m[A]||(m[A]={}),c=u[e]||[],h=c[0]===_&&c[1],v=h&&c[2],d=h&&m.childNodes[h];while(d=++h&&d&&d[f]||(v=h=0)||p.pop())if(1===d.nodeType&&++v&&d===t){u[e]=[_,h,v];break}}else if(b&&(u=t[A]||(t[A]={}),c=u[e]||[],h=c[0]===_&&c[1],v=h),!1===v)while(d=++h&&d&&d[f]||(v=h=0)||p.pop())if((a?C(d,g):1===d.nodeType)&&++v&&(b&&(u=d[A]||(d[A]={}),u[e]=[_,v]),d===t))break;return v-=i,v===r||v%r===0&&v/r>=0}}},PSEUDO:function(e,n){var r,i=t.pseudos[e]||t.setFilters[e.toLowerCase()]||ee.error("unsupported pseudo: "+e);return i[A]?i(n):i.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?ne((function(e,t){var r,o=i(e,n),s=o.length;while(s--)r=d.call(e,o[s]),e[r]=!(t[r]=o[s])})):function(e){return i(e,0,r)}):i}},pseudos:{not:ne((function(e){var t=[],n=[],r=ve(e.replace(I,"$1"));return r[A]?ne((function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ne((function(e){return function(t){return ee(e,t).length>0}})),contains:ne((function(e){return e=e.replace(Z,z),function(t){return(t.textContent||E.text(t)).indexOf(e)>-1}})),lang:ne((function(e){return W.test(e||"")||ee.error("unsupported lang: "+e),e=e.replace(Z,z).toLowerCase(),function(t){var n;do{if(n=u?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===$()&&a.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return C(e,"input")&&!!e.checked||C(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 X.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){return C(e,"input")&&"button"===e.type||C(e,"button")},text:function(e){var t;return C(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);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]=oe(e);function ue(){}function de(e,n){var r,i,o,s,a,l,c,u=w[e+" "];if(u)return n?0:u.slice(0);a=e,l=[],c=t.preFilter;while(a){for(s in r&&!(i=U.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(o=[])),r=!1,(i=H.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(I," ")}),a=a.slice(r.length)),t.filter)!(i=Y[s].exec(a))||c[s]&&!(i=c[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?ee.error(e):w(e,l).slice(0)}function he(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&"parentNode"===o,a=b++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,l){var c,u,d=[_,a];if(l){while(t=t[r])if((1===t.nodeType||s)&&e(t,n,l))return!0}else while(t=t[r])if(1===t.nodeType||s)if(u=t[A]||(t[A]={}),i&&C(t,i))t=t[r]||t;else{if((c=u[o])&&c[0]===_&&c[1]===a)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function me(e,t,n){for(var r=0,i=t.length;r<i;r++)ee(e,t[r],n);return n}function Ae(e,t,n,r,i){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),c&&t.push(a)));return s}function ge(e,t,n,r,i,o){return r&&!r[A]&&(r=ge(r)),i&&!i[A]&&(i=ge(i,o)),ne((function(o,s,a,l){var c,u,h,p,f=[],A=[],g=s.length,_=o||me(t||"*",a.nodeType?[a]:a,[]),b=!e||!o&&t?_:Ae(_,f,e,a,l);if(n?(p=i||(o?e:g||r)?[]:s,n(b,p,a,l)):p=b,r){c=Ae(p,A),r(c,[],a,l),u=c.length;while(u--)(h=c[u])&&(p[A[u]]=!(b[A[u]]=h))}if(o){if(i||e){if(i){c=[],u=p.length;while(u--)(h=p[u])&&c.push(b[u]=h);i(null,p=[],c,l)}u=p.length;while(u--)(h=p[u])&&(c=i?d.call(o,h):f[u])>-1&&(o[c]=!(s[c]=h))}}else p=Ae(p===s?p.splice(g,p.length):p),i?i(null,s,p,l):m.apply(s,p)}))}function _e(e){for(var n,i,o,s=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],c=a?1:0,u=pe((function(e){return e===n}),l,!0),h=pe((function(e){return d.call(n,e)>-1}),l,!0),p=[function(e,t,i){var o=!a&&(i||t!=r)||((n=t).nodeType?u(e,t,i):h(e,t,i));return n=null,o}];c<s;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(o=++c;o<s;o++)if(t.relative[e[o].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<o&&_e(e.slice(c,o)),o<s&&_e(e=e.slice(o)),o<s&&he(e))}p.push(i)}return fe(p)}function be(e,n){var i=n.length>0,o=e.length>0,s=function(s,l,c,d,h){var p,f,A,g=0,b="0",v=s&&[],w=[],y=r,R=s||o&&t.find.TAG("*",h),M=_+=null==y?1:Math.random()||.1,S=R.length;for(h&&(r=l==a||l||h);b!==S&&null!=(p=R[b]);b++){if(o&&p){f=0,l||p.ownerDocument==a||(ce(p),c=!u);while(A=e[f++])if(A(p,l||a,c)){m.call(d,p);break}h&&(_=M)}i&&((p=!A&&p)&&g--,s&&v.push(p))}if(g+=b,i&&b!==g){f=0;while(A=n[f++])A(v,w,l,c);if(s){if(g>0)while(b--)v[b]||w[b]||(w[b]=O.call(d));w=Ae(w)}m.apply(d,w),h&&!s&&w.length>0&&g+n.length>1&&E.uniqueSort(d)}return h&&(_=M,r=y),v};return i?ne(s):s}function ve(e,t){var n,r=[],i=[],o=y[e+" "];if(!o){t||(t=de(e)),n=t.length;while(n--)o=_e(t[n]),o[A]?r.push(o):i.push(o);o=y(e,be(i,r)),o.selector=e}return o}function we(e,n,r,i){var o,s,a,l,c,d="function"===typeof e&&e,h=!i&&de(e=d.selector||e);if(r=r||[],1===h.length){if(s=h[0]=h[0].slice(0),s.length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&u&&t.relative[s[1].type]){if(n=(t.find.ID(a.matches[0].replace(Z,z),n)||[])[0],!n)return r;d&&(n=n.parentNode),e=e.slice(s.shift().value.length)}o=Y.needsContext.test(e)?0:s.length;while(o--){if(a=s[o],t.relative[l=a.type])break;if((c=t.find[l])&&(i=c(a.matches[0].replace(Z,z),G.test(s[0].type)&&le(n.parentNode)||n))){if(s.splice(o,1),e=i.length&&he(s),!e)return m.apply(r,i),r;break}}}return(d||ve(e,h))(i,n,!u,r,!n||G.test(e)&&le(n.parentNode)||n),r}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue,g.sortStable=A.split("").sort(M).join("")===A,ce(),g.sortDetached=re((function(e){return 1&e.compareDocumentPosition(a.createElement("fieldset"))})),E.find=ee,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,ee.compile=ve,ee.select=we,ee.setDocument=ce,ee.tokenize=de,ee.escape=E.escapeSelector,ee.getText=E.text,ee.isXML=E.isXMLDoc,ee.selectors=E.expr,ee.support=E.support,ee.uniqueSort=E.uniqueSort})();var B=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r},U=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},H=E.expr.match.needsContext,j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(e,t,n){return _(t)?E.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?E.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?E.grep(e,(function(e){return d.call(t,e)>-1!==n})):E.filter(t,e,n)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!==typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t<r;t++)if(E.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)E.find(e,i[t],n);return r>1?E.uniqueSort(n):n},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&&H.test(e)?E(e):e||[],!1).length}});var W,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Q=E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||W,"string"===typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Y.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),j.test(r[1])&&E.isPlainObject(t))for(r in t)_(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=v.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)};Q.prototype=E.fn,W=E(v);var X=/^(?:parents|prev(?:Until|All))/,K={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){while((e=e[t])&&1!==e.nodeType);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!==typeof e&&E(e);if(!H.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(e){return e?"string"===typeof e?d.call(E(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(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return B(e,"parentNode")},parentsUntil:function(e,t,n){return B(e,"parentNode",n)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return B(e,"nextSibling")},prevAll:function(e){return B(e,"previousSibling")},nextUntil:function(e,t,n){return B(e,"nextSibling",n)},prevUntil:function(e,t,n){return B(e,"previousSibling",n)},siblings:function(e){return U((e.parentNode||{}).firstChild,e)},children:function(e){return U(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(n,r){var i=E.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(i=E.filter(r,i)),this.length>1&&(K[e]||E.uniqueSort(i),X.test(e)&&i.reverse()),this.pushStack(i)}}));var Z=/[^\x20\t\r\n\f]+/g;function z(e){var t={};return E.each(e.match(Z)||[],(function(e,n){t[n]=!0})),t}function q(e){return e}function J(e){throw e}function $(e,t,n,r){var i;try{e&&_(i=e.promise)?i.call(e).done(t).fail(n):e&&_(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"===typeof e?z(e):E.extend({},e);var t,n,r,i,o=[],s=[],a=-1,l=function(){for(i=i||e.once,r=t=!0;s.length;a=-1){n=s.shift();while(++a<o.length)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){E.each(n,(function(n,r){_(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==R(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return E.each(arguments,(function(e,t){var n;while((n=E.inArray(t,o,n))>-1)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?E.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(n){E.each(t,(function(t,r){var i=_(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&_(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function s(e,t,r,i){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(e<o)){if(n=r.apply(a,l),n===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"===typeof n||"function"===typeof n)&&n.then,_(c)?i?c.call(n,s(o,t,q,i),s(o,t,J,i)):(o++,c.call(n,s(o,t,q,i),s(o,t,J,i),s(o,t,q,t.notifyWith))):(r!==q&&(a=void 0,l=[n]),(i||t.resolveWith)(a,l))}},u=i?c:function(){try{c()}catch(n){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(n,u.error),e+1>=o&&(r!==J&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?u():(E.Deferred.getErrorHook?u.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(u.error=E.Deferred.getStackHook()),n.setTimeout(u))}}return E.Deferred((function(n){t[0][3].add(s(0,n,_(i)?i:q,n.notifyWith)),t[1][3].add(s(0,n,_(e)?e:q)),t[2][3].add(s(0,n,_(r)?r:J))})).promise()},promise:function(e){return null!=e?E.extend(e,i):i}},o={};return E.each(t,(function(e,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add((function(){r=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=l.call(arguments),o=E.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?l.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&($(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||_(i[n]&&i[n].then)))return o.then();while(n--)$(i[n],s(n),o.reject);return o.promise()}});var ee=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&ee.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){n.setTimeout((function(){throw e}))};var te=E.Deferred();function ne(){v.removeEventListener("DOMContentLoaded",ne),n.removeEventListener("load",ne),E.ready()}E.fn.ready=function(e){return te.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||te.resolveWith(v,[E]))}}),E.ready.then=te.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?n.setTimeout(E.ready):(v.addEventListener("DOMContentLoaded",ne),n.addEventListener("load",ne));var re=function(e,t,n,r,i,o,s){var a=0,l=e.length,c=null==n;if("object"===R(n))for(a in i=!0,n)re(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,_(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(E(e),n)})),t))for(;a<l;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:c?t.call(e):l?t(e[0],n):o},ie=/^-ms-/,oe=/-([a-z])/g;function se(e,t){return t.toUpperCase()}function ae(e){return e.replace(ie,"ms-").replace(oe,se)}var le=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ce(){this.expando=E.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,n){var r,i=this.cache(e);if("string"===typeof t)i[ae(t)]=n;else for(r in t)i[ae(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ae(t)]},access:function(e,t,n){return void 0===t||t&&"string"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(ae):(t=ae(t),t=t in r?[t]:t.match(Z)||[]),n=t.length;while(n--)delete r[t[n]]}(void 0===t||E.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.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,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(pe,"-$&").toLowerCase(),n=e.getAttribute(r),"string"===typeof n){try{n=fe(n)}catch(i){}de.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return de.hasData(e)||ue.hasData(e)},data:function(e,t,n){return de.access(e,t,n)},removeData:function(e,t){de.remove(e,t)},_data:function(e,t,n){return ue.access(e,t,n)},_removeData:function(e,t){ue.remove(e,t)}}),E.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=de.get(o),1===o.nodeType&&!ue.get(o,"hasDataAttrs"))){n=s.length;while(n--)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=ae(r.slice(5)),me(o,r,i[r])));ue.set(o,"hasDataAttrs",!0)}return i}return"object"===typeof e?this.each((function(){de.set(this,e)})):re(this,(function(t){var n;if(o&&void 0===t)return n=de.get(o,e),void 0!==n?n:(n=me(o,e),void 0!==n?n: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)}))}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ue.get(e,t),n&&(!r||Array.isArray(n)?r=ue.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,i=n.shift(),o=E._queueHooks(e,t),s=function(){E.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ue.get(e,n)||ue.access(e,n,{empty:E.Callbacks("once memory").add((function(){ue.remove(e,[t+"queue",n])}))})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length<n?E.queue(this[0],e):void 0===t?this:this.each((function(){var n=E.queue(this,e,t);E._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&E.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){E.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=E.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!==typeof e&&(t=e,e=void 0),e=e||"fx";while(s--)n=ue.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var Ae=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ge=new RegExp("^(?:([+-])=|)("+Ae+")([a-z%]*)$","i"),_e=["Top","Right","Bottom","Left"],be=v.documentElement,ve=function(e){return E.contains(e.ownerDocument,e)},we={composed:!0};be.getRootNode&&(ve=function(e){return E.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&&ve(e)&&"none"===E.css(e,"display")};function Re(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return E.css(e,t,"")},l=a(),c=n&&n[3]||(E.cssNumber[t]?"":"px"),u=e.nodeType&&(E.cssNumber[t]||"px"!==c&&+l)&&ge.exec(E.css(e,t));if(u&&u[3]!==c){l/=2,c=c||u[3],u=+l||1;while(s--)E.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,E.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var Me={};function Se(e){var t,n=e.ownerDocument,r=e.nodeName,i=Me[r];return i||(t=n.body.appendChild(n.createElement(r)),i=E.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Me[r]=i,i)}function Ee(e,t){for(var n,r,i=[],o=0,s=e.length;o<s;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=ue.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ye(r)&&(i[o]=Se(r))):"none"!==n&&(i[o]="none",ue.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}E.fn.extend({show:function(){return Ee(this,!0)},hide:function(){return Ee(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){ye(this)?E(this).show():E(this).hide()}))}});var Te=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Oe=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=v.createDocumentFragment(),t=e.appendChild(v.createElement("div")),n=v.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),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 xe={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 Ne(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?E.merge([e],n):n}function Le(e,t){for(var n=0,r=e.length;n<r;n++)ue.set(e[n],"globalEval",!t||ue.get(t[n],"globalEval"))}xe.tbody=xe.tfoot=xe.colgroup=xe.caption=xe.thead,xe.th=xe.td,g.option||(xe.optgroup=xe.option=[1,"<select multiple='multiple'>","</select>"]);var Ie=/<|&#?\w+;/;function Pe(e,t,n,r,i){for(var o,s,a,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if(o=e[p],o||0===o)if("object"===R(o))E.merge(h,o.nodeType?[o]:o);else if(Ie.test(o)){s=s||d.appendChild(t.createElement("div")),a=(Ce.exec(o)||["",""])[1].toLowerCase(),l=xe[a]||xe._default,s.innerHTML=l[1]+E.htmlPrefilter(o)+l[2],u=l[0];while(u--)s=s.lastChild;E.merge(h,s.childNodes),s=d.firstChild,s.textContent=""}else h.push(t.createTextNode(o));d.textContent="",p=0;while(o=h[p++])if(r&&E.inArray(o,r)>-1)i&&i.push(o);else if(c=ve(o),s=Ne(d.appendChild(o),"script"),c&&Le(s),n){u=0;while(o=s[u++])Oe.test(o.type||"")&&n.push(o)}return d}var De=/^([^.]*)(?:\.(.+)|)/;function Fe(){return!0}function ke(){return!1}function Be(e,t,n,r,i,o){var s,a;if("object"===typeof t){for(a in"string"!==typeof n&&(r=r||n,n=void 0),t)Be(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"===typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(s=i,i=function(e){return E().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=E.guid++)),e.each((function(){E.event.add(this,t,i,r,n)}))}function Ue(e,t,n){n?(ue.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var n,r=ue.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=l.call(arguments),ue.set(this,t,r),this[t](),n=ue.get(this,t),ue.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(ue.set(this,t,E.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Fe)}})):void 0===ue.get(e,t)&&E.event.add(e,t,Fe)}E.event={global:{},add:function(e,t,n,r,i){var o,s,a,l,c,u,d,h,p,f,m,A=ue.get(e);if(le(e)){n.handler&&(o=n,n=o.handler,i=o.selector),i&&E.find.matchesSelector(be,i),n.guid||(n.guid=E.guid++),(l=A.events)||(l=A.events=Object.create(null)),(s=A.handle)||(s=A.handle=function(t){return"undefined"!==typeof E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Z)||[""],c=t.length;while(c--)a=De.exec(t[c])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p&&(d=E.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=E.event.special[p]||{},u=E.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:f.join(".")},o),(h=l[p])||(h=l[p]=[],h.delegateCount=0,d.setup&&!1!==d.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(p,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,u):h.push(u),E.event.global[p]=!0)}},remove:function(e,t,n,r,i){var o,s,a,l,c,u,d,h,p,f,m,A=ue.hasData(e)&&ue.get(e);if(A&&(l=A.events)){t=(t||"").match(Z)||[""],c=t.length;while(c--)if(a=De.exec(t[c])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){d=E.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,h=l[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;while(o--)u=h[o],!i&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,A.handle)||E.removeEvent(e,p,A.handle),delete l[p])}else for(p in l)E.event.remove(e,p+t[c],n,r,!0);E.isEmptyObject(l)&&ue.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),l=E.event.fix(e),c=(ue.get(this,"events")||Object.create(null))[l.type]||[],u=E.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){s=E.event.handlers.call(this,l,c),t=0;while((i=s[t++])&&!l.isPropagationStopped()){l.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!l.isImmediatePropagationStopped())l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,r=((E.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),void 0!==r&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()))}return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,s,a=[],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(o=[],s={},n=0;n<l;n++)r=t[n],i=r.selector+" ",void 0===s[i]&&(s[i]=r.needsContext?E(i,this).index(c)>-1:E.find(i,this,null,[c]).length),s[i]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(E.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[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&C(t,"input")&&Ue(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&C(t,"input")&&Ue(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&C(t,"input")&&ue.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Fe:ke,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&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Fe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Fe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Fe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.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},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(v.documentMode){var n=ue.get(this,"handle"),r=E.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else E.event.simulate(t,e.target,E.event.fix(e))}E.event.special[e]={setup:function(){var r;if(Ue(this,e,!0),!v.documentMode)return!1;r=ue.get(this,t),r||this.addEventListener(t,n),ue.set(this,t,(r||0)+1)},trigger:function(){return Ue(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;e=ue.get(this,t)-1,e?ue.set(this,t,e):(this.removeEventListener(t,n),ue.remove(this,t))},_default:function(t){return ue.get(t.target,e)},delegateType:t},E.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,o=ue.get(i,t);o||(v.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),ue.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,o=ue.get(i,t)-1;o?ue.set(i,t,o):(v.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),ue.remove(i,t))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){E.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||E.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),E.fn.extend({on:function(e,t,n,r){return Be(this,e,t,n,r)},one:function(e,t,n,r){return Be(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!==typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each((function(){E.event.remove(this,e,n,t)}))}});var He=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,Ve=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function We(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ye(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 Xe(e,t){var n,r,i,o,s,a,l;if(1===t.nodeType){if(ue.hasData(e)&&(o=ue.get(e),l=o.events,l))for(i in ue.remove(t,"handle events"),l)for(n=0,r=l[i].length;n<r;n++)E.event.add(t,i,l[i][n]);de.hasData(e)&&(s=de.access(e),a=E.extend({},s),de.set(t,a))}}function Ke(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Te.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ge(e,t,n,r){t=c(t);var i,o,s,a,l,u,d=0,h=e.length,p=h-1,f=t[0],m=_(f);if(m||h>1&&"string"===typeof f&&!g.checkClone&&je.test(f))return e.each((function(i){var o=e.eq(i);m&&(t[0]=f.call(this,i,o.html())),Ge(o,t,n,r)}));if(h&&(i=Pe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=E.map(Ne(i,"script"),Ye),a=s.length;d<h;d++)l=i,d!==p&&(l=E.clone(l,!0,!0),a&&E.merge(s,Ne(l,"script"))),n.call(e[d],l,d);if(a)for(u=s[s.length-1].ownerDocument,E.map(s,Qe),d=0;d<a;d++)l=s[d],Oe.test(l.type||"")&&!ue.access(l,"globalEval")&&E.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&!l.noModule&&E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):y(l.textContent.replace(Ve,""),l,u))}return e}function Ze(e,t,n){for(var r,i=t?E.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||E.cleanData(Ne(r)),r.parentNode&&(n&&ve(r)&&Le(Ne(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),l=ve(e);if(!g.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!E.isXMLDoc(e))for(s=Ne(a),o=Ne(e),r=0,i=o.length;r<i;r++)Ke(o[r],s[r]);if(t)if(n)for(o=o||Ne(e),s=s||Ne(a),r=0,i=o.length;r<i;r++)Xe(o[r],s[r]);else Xe(e,a);return s=Ne(a,"script"),s.length>0&&Le(s,!l&&Ne(e,"script")),a},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if(le(n)){if(t=n[ue.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[ue.expando]=void 0}n[de.expando]&&(n[de.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Ze(this,e,!0)},remove:function(e){return Ze(this,e)},text:function(e){return re(this,(function(e){return void 0===e?E.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=We(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=We(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&&(E.cleanData(Ne(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return re(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!He.test(e)&&!xe[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(E.cleanData(Ne(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 n=this.parentNode;E.inArray(this,e)<0&&(E.cleanData(Ne(this)),n&&n.replaceChild(t,this))}),e)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){E.fn[e]=function(e){for(var n,r=[],i=E(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),E(i[s])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var ze=new RegExp("^("+Ae+")(?!px)[a-z%]+$","i"),qe=/^--/,Je=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},$e=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},et=new RegExp(_e.join("|"),"i");function tt(e,t,n){var r,i,o,s,a=qe.test(t),l=e.style;return n=n||Je(e),n&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(I,"$1")||void 0),""!==s||ve(e)||(s=E.style(e,t)),!g.pixelBoxStyles()&&ze.test(s)&&et.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==s?s+"":s}function nt(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%",be.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),be.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,a,l,c=v.createElement("div"),u=v.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,E.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==a&&(e=v.createElement("table"),t=v.createElement("tr"),r=v.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",r.style.height="9px",r.style.display="block",be.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,be.removeChild(e)),a}}))})();var rt=["Webkit","Moz","ms"],it=v.createElement("div").style,ot={};function st(e){var t=e[0].toUpperCase()+e.slice(1),n=rt.length;while(n--)if(e=rt[n]+t,e in it)return e}function at(e){var t=E.cssProps[e]||ot[e];return t||(e in it?e:ot[e]=st(e)||e)}var lt=/^(none|table(?!-c[ea]).+)/,ct={position:"absolute",visibility:"hidden",display:"block"},ut={letterSpacing:"0",fontWeight:"400"};function dt(e,t,n){var r=ge.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ht(e,t,n,r,i,o){var s="width"===t?1:0,a=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=E.css(e,n+_e[s],!0,i)),r?("content"===n&&(l-=E.css(e,"padding"+_e[s],!0,i)),"margin"!==n&&(l-=E.css(e,"border"+_e[s]+"Width",!0,i))):(l+=E.css(e,"padding"+_e[s],!0,i),"padding"!==n?l+=E.css(e,"border"+_e[s]+"Width",!0,i):a+=E.css(e,"border"+_e[s]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l+c}function pt(e,t,n){var r=Je(e),i=!g.boxSizingReliable()||n,o=i&&"border-box"===E.css(e,"boxSizing",!1,r),s=o,a=tt(e,t,r),l="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&C(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===E.css(e,"boxSizing",!1,r),s=l in e,s&&(a=e[l])),a=parseFloat(a)||0,a+ht(e,t,n||(o?"border":"content"),s,r,a)+"px"}function ft(e,t,n,r,i){return new ft.prototype.init(e,t,n,r,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=tt(e,"opacity");return""===n?"1":n}}}},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,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=ae(t),l=qe.test(t),c=e.style;if(l||(t=at(a)),s=E.cssHooks[t]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:c[t];o=typeof n,"string"===o&&(i=ge.exec(n))&&i[1]&&(n=Re(e,t,i),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=i&&i[3]||(E.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,s,a=ae(t),l=qe.test(t);return l||(t=at(a)),s=E.cssHooks[t]||E.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=tt(e,t,r)),"normal"===i&&t in ut&&(i=ut[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,r){if(n)return!lt.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?pt(e,t,r):$e(e,ct,(function(){return pt(e,t,r)}))},set:function(e,n,r){var i,o=Je(e),s=!g.scrollboxSize()&&"absolute"===o.position,a=s||r,l=a&&"border-box"===E.css(e,"boxSizing",!1,o),c=r?ht(e,t,r,l,o):0;return l&&s&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ht(e,t,"border",!1,o)-.5)),c&&(i=ge.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),dt(e,n,c)}}})),E.cssHooks.marginLeft=nt(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(tt(e,"marginLeft"))||e.getBoundingClientRect().left-$e(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"===typeof n?n.split(" "):[n];r<4;r++)i[e+_e[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(E.cssHooks[e+t].set=dt)})),E.fn.extend({css:function(e,t){return re(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=Je(e),i=t.length;s<i;s++)o[t[s]]=E.css(e,t[s],!1,r);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)}),e,t,arguments.length>1)}}),E.Tween=ft,ft.prototype={constructor:ft,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(E.cssNumber[n]?"":"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,n=ft.propHooks[this.prop];return this.options.duration?this.pos=t=E.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),n&&n.set?n.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=E.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[at(e.prop)]?e.elem[e.prop]=e.now:E.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)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=ft.prototype.init,E.fx.step={};var mt,At,gt=/^(?:toggle|show|hide)$/,_t=/queueHooks$/;function bt(){At&&(!1===v.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(bt):n.setTimeout(bt,E.fx.interval),E.fx.tick())}function vt(){return n.setTimeout((function(){mt=void 0})),mt=Date.now()}function wt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=_e[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function yt(e,t,n){for(var r,i=(St.tweeners[t]||[]).concat(St.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function Rt(e,t,n){var r,i,o,s,a,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(r in n.queue||(s=E._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,E.queue(e,"fx").length||s.empty.fire()}))}))),t)if(i=t[r],gt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!A||void 0===A[r])continue;m=!0}p[r]=A&&A[r]||E.style(e,r)}if(l=!E.isEmptyObject(t),l||!E.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],c=A&&A.display,null==c&&(c=ue.get(e,"display")),u=E.css(e,"display"),"none"===u&&(c?u=c:(Ee([e],!0),c=e.style.display||c,u=E.css(e,"display"),Ee([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===E.css(e,"float")&&(l||(h.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),l=!1,p)l||(A?"hidden"in A&&(m=A.hidden):A=ue.access(e,"fxshow",{display:c}),o&&(A.hidden=!m),m&&Ee([e],!0),h.done((function(){for(r in m||Ee([e]),ue.remove(e,"fxshow"),p)E.style(e,r,p[r])}))),l=yt(m?A[r]:0,r,h),r in A||(A[r]=l.start,m&&(l.end=l.start,l.start=0))}function Mt(e,t){var n,r,i,o,s;for(n in e)if(r=ae(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),s=E.cssHooks[r],s&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function St(e,t,n){var r,i,o=0,s=St.prefilters.length,a=E.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=mt||vt(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,o=1-r,s=0,l=c.tweens.length;s<l;s++)c.tweens[s].run(o);return a.notifyWith(e,[c,o,n]),o<1&&l?n:(l||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:E.extend({},t),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:t,originalOptions:n,startTime:mt||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=E.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(Mt(u,c.opts.specialEasing);o<s;o++)if(r=St.prefilters[o].call(c,e,u,c.opts),r)return _(r.stop)&&(E._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return E.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),E.fx.timer(E.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}E.Animation=E.extend(St,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return Re(n.elem,e,ge.exec(t),n),n}]},tweener:function(e,t){_(e)?(t=e,e=["*"]):e=e.match(Z);for(var n,r=0,i=e.length;r<i;r++)n=e[r],St.tweeners[n]=St.tweeners[n]||[],St.tweeners[n].unshift(t)},prefilters:[Rt],prefilter:function(e,t){t?St.prefilters.unshift(e):St.prefilters.push(e)}}),E.speed=function(e,t,n){var r=e&&"object"===typeof e?E.extend({},e):{complete:n||!n&&t||_(e)&&e,duration:e,easing:n&&t||t&&!_(t)&&t};return E.fx.off?r.duration=0:"number"!==typeof r.duration&&(r.duration in E.fx.speeds?r.duration=E.fx.speeds[r.duration]:r.duration=E.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){_(r.old)&&r.old.call(this),r.queue&&E.dequeue(this,r.queue)},r},E.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=E.isEmptyObject(e),o=E.speed(t,n,r),s=function(){var t=St(this,E.extend({},e),o);(i||ue.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=E.timers,s=ue.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&_t.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||E.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=ue.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=E.timers,s=r?r.length:0;for(n.finish=!0,E.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(e,t){var n=E.fn[t];E.fn[t]=function(e,r,i){return null==e||"boolean"===typeof e?n.apply(this,arguments):this.animate(wt(t,!0),e,r,i)}})),E.each({slideDown:wt("show"),slideUp:wt("hide"),slideToggle:wt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){E.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(mt=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),mt=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){At||(At=!0,bt())},E.fx.stop=function(){At=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(e,t){return e=E.fx&&E.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=v.createElement("input"),t=v.createElement("select"),n=t.appendChild(v.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=n.selected,e=v.createElement("input"),e.value="t",e.type="radio",g.radioValue="t"===e.value}();var Et,Tt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return re(this,E.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"===typeof e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(i=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?Et:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=E.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Z);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),Et={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Tt[t]||E.find.attr;Tt[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=Tt[s],Tt[s]=i,i=null!=n(e,t,r)?s:null,Tt[s]=o),i}}));var Ct=/^(?:input|select|textarea|button)$/i,Ot=/^(?:a|area)$/i;function xt(e){var t=e.match(Z)||[];return t.join(" ")}function Nt(e){return e.getAttribute&&e.getAttribute("class")||""}function Lt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(Z)||[]}E.fn.extend({prop:function(e,t){return re(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||Ot.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(E.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)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,n,r,i,o,s;return _(e)?this.each((function(t){E(this).addClass(e.call(this,t,Nt(this)))})):(t=Lt(e),t.length?this.each((function(){if(r=Nt(this),n=1===this.nodeType&&" "+xt(r)+" ",n){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");s=xt(n),r!==s&&this.setAttribute("class",s)}})):this)},removeClass:function(e){var t,n,r,i,o,s;return _(e)?this.each((function(t){E(this).removeClass(e.call(this,t,Nt(this)))})):arguments.length?(t=Lt(e),t.length?this.each((function(){if(r=Nt(this),n=1===this.nodeType&&" "+xt(r)+" ",n){for(o=0;o<t.length;o++){i=t[o];while(n.indexOf(" "+i+" ")>-1)n=n.replace(" "+i+" "," ")}s=xt(n),r!==s&&this.setAttribute("class",s)}})):this):this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,s=typeof e,a="string"===s||Array.isArray(e);return _(e)?this.each((function(n){E(this).toggleClass(e.call(this,n,Nt(this),t),t)})):"boolean"===typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=Lt(e),this.each((function(){if(a)for(o=E(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==s||(r=Nt(this),r&&ue.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":ue.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+xt(Nt(n))+" ").indexOf(t)>-1)return!0;return!1}});var It=/\r/g;E.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=_(e),this.each((function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,E(this).val()):e,null==i?i="":"number"===typeof i?i+="":Array.isArray(i)&&(i=E.map(i,(function(e){return null==e?"":e+""}))),t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"===typeof n?n.replace(It,""):null==n?"":n)):void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:xt(E.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=E(n).val(),s)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=E.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=E.inArray(E.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},g.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Pt=n.location,Dt={guid:Date.now()},Ft=/\?/;E.parseXML=function(e){var t,r;if(!e||"string"!==typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(i){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||E.error("Invalid XML: "+(r?E.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var kt=/^(?:focusinfocus|focusoutblur)$/,Bt=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,r,i){var o,s,a,l,c,u,d,h,p=[r||v],m=f.call(e,"type")?e.type:e,A=f.call(e,"namespace")?e.namespace.split("."):[];if(s=h=a=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!kt.test(m+E.event.triggered)&&(m.indexOf(".")>-1&&(A=m.split("."),m=A.shift(),A.sort()),c=m.indexOf(":")<0&&"on"+m,e=e[E.expando]?e:new E.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=r),t=null==t?[e]:E.makeArray(t,[e]),d=E.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!b(r)){for(l=d.delegateType||m,kt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(r.ownerDocument||v)&&p.push(a.defaultView||a.parentWindow||n)}o=0;while((s=p[o++])&&!e.isPropagationStopped())h=s,e.type=o>1?l:d.bindType||m,u=(ue.get(s,"events")||Object.create(null))[e.type]&&ue.get(s,"handle"),u&&u.apply(s,t),u=c&&s[c],u&&u.apply&&le(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!le(r)||c&&_(r[m])&&!b(r)&&(a=r[c],a&&(r[c]=null),E.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,Bt),r[m](),e.isPropagationStopped()&&h.removeEventListener(m,Bt),E.event.triggered=void 0,a&&(r[c]=a)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}});var Ut=/\[\]$/,Ht=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Vt=/^(?:input|select|textarea|keygen)/i;function Wt(e,t,n,r){var i;if(Array.isArray(t))E.each(t,(function(t,i){n||Ut.test(e)?r(e,i):Wt(e+"["+("object"===typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==R(t))r(e,t);else for(i in t)Wt(e+"["+i+"]",t[i],n,r)}E.param=function(e,t){var n,r=[],i=function(e,t){var n=_(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,(function(){i(this.name,this.value)}));else for(n in e)Wt(n,e[n],t,i);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Vt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Te.test(e))})).map((function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(e){return{name:t.name,value:e.replace(Ht,"\r\n")}})):{name:t.name,value:n.replace(Ht,"\r\n")}})).get()}});var Yt=/%20/g,Qt=/#.*$/,Xt=/([?&])_=[^&]*/,Kt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Gt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Zt=/^(?:GET|HEAD)$/,zt=/^\/\//,qt={},Jt={},$t="*/".concat("*"),en=v.createElement("a");function tn(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Z)||[];if(_(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function nn(e,t,n,r){var i={},o=e===Jt;function s(a){var l;return i[a]=!0,E.each(e[a]||[],(function(e,a){var c=a(t,n,r);return"string"!==typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),l}return s(t.dataTypes[0])||!i["*"]&&s("*")}function rn(e,t){var n,r,i=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}function on(e,t,n){var r,i,o,s,a=e.contents,l=e.dataTypes;while("*"===l[0])l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function sn(e,t,n,r){var i,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];o=u.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift(),o)if("*"===o)o=l;else if("*"!==l&&l!==o){if(s=c[l+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]],s)){!0===s?s=c[i]:!0!==c[i]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}en.href=Pt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pt.href,type:"GET",isLocal:Gt.test(Pt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?rn(rn(e,E.ajaxSettings),t):rn(E.ajaxSettings,e)},ajaxPrefilter:tn(qt),ajaxTransport:tn(Jt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,a,l,c,u,d,h,p=E.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?E(f):E.event,A=E.Deferred(),g=E.Callbacks("once memory"),_=p.statusCode||{},b={},w={},y="canceled",R={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Kt.exec(o))s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)R.always(e[R.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||y;return r&&r.abort(t),M(0,t),this}};if(A.promise(R),p.url=((e||p.url||Pt.href)+"").replace(zt,Pt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Z)||[""],null==p.crossDomain){l=v.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=en.protocol+"//"+en.host!==l.protocol+"//"+l.host}catch(S){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!==typeof p.data&&(p.data=E.param(p.data,p.traditional)),nn(qt,p,t,R),c)return R;for(d in u=E.event&&p.global,u&&0===E.active++&&E.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Zt.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(Yt,"+")):(h=p.url.slice(i.length),p.data&&(p.processData||"string"===typeof p.data)&&(i+=(Ft.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Xt,"$1"),h=(Ft.test(i)?"&":"?")+"_="+Dt.guid+++h),p.url=i+h),p.ifModified&&(E.lastModified[i]&&R.setRequestHeader("If-Modified-Since",E.lastModified[i]),E.etag[i]&&R.setRequestHeader("If-None-Match",E.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&R.setRequestHeader("Content-Type",p.contentType),R.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+$t+"; q=0.01":""):p.accepts["*"]),p.headers)R.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,R,p)||c))return R.abort();if(y="abort",g.add(p.complete),R.done(p.success),R.fail(p.error),r=nn(Jt,p,t,R),r){if(R.readyState=1,u&&m.trigger("ajaxSend",[R,p]),c)return R;p.async&&p.timeout>0&&(a=n.setTimeout((function(){R.abort("timeout")}),p.timeout));try{c=!1,r.send(b,M)}catch(S){if(c)throw S;M(-1,S)}}else M(-1,"No Transport");function M(e,t,s,l){var d,h,b,v,w,y=t;c||(c=!0,a&&n.clearTimeout(a),r=void 0,o=l||"",R.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(v=on(p,R,s)),!d&&E.inArray("script",p.dataTypes)>-1&&E.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),v=sn(p,v,R,d),d?(p.ifModified&&(w=R.getResponseHeader("Last-Modified"),w&&(E.lastModified[i]=w),w=R.getResponseHeader("etag"),w&&(E.etag[i]=w)),204===e||"HEAD"===p.type?y="nocontent":304===e?y="notmodified":(y=v.state,h=v.data,b=v.error,d=!b)):(b=y,!e&&y||(y="error",e<0&&(e=0))),R.status=e,R.statusText=(t||y)+"",d?A.resolveWith(f,[h,y,R]):A.rejectWith(f,[R,y,b]),R.statusCode(_),_=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[R,p,d?h:b]),g.fireWith(f,[R,y]),u&&(m.trigger("ajaxComplete",[R,p]),--E.active||E.event.trigger("ajaxStop")))}return R},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,n,r,i){return _(n)&&(i=i||r,r=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:i,data:n,success:r},E.isPlainObject(e)&&e))}})),E.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=E(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){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=_(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var an={0:200,1223:204},ln=E.ajaxSettings.xhr();g.cors=!!ln&&"withCredentials"in ln,g.ajax=ln=!!ln,E.ajaxTransport((function(e){var t,r;if(g.cors||ln&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!==typeof a.status?o(0,"error"):o(a.status,a.statusText):o(an[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!==typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.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 E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=E("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}}));var cn=[],un=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=cn.pop()||E.expando+"_"+Dt.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",(function(e,t,r){var i,o,s,a=!1!==e.jsonp&&(un.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&un.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=_(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(un,"$1"+i):!1!==e.jsonp&&(e.url+=(Ft.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||E.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always((function(){void 0===o?E(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,cn.push(i)),s&&_(o)&&o(s[0]),s=o=void 0})),"script"})),g.createHTMLDocument=function(){var e=v.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),E.parseHTML=function(e,t,n){return"string"!==typeof e?[]:("boolean"===typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?(t=v.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=v.location.href,t.head.appendChild(r)):t=v),i=j.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=Pe([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var r,i,o},E.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=xt(e.slice(a)),e=e.slice(0,a)),_(t)?(n=t,t=void 0):t&&"object"===typeof t&&(i="POST"),s.length>0&&E.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(r?E("<div>").append(E.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},E.expr.pseudos.animated=function(e){return E.grep(E.timers,(function(t){return e===t.elem})).length},E.offset={setOffset:function(e,t,n){var r,i,o,s,a,l,c,u=E.css(e,"position"),d=E(e),h={};"static"===u&&(e.style.position="relative"),a=d.offset(),o=E.css(e,"top"),l=E.css(e,"left"),c=("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1,c?(r=d.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(l)||0),_(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+i),"using"in t?t.using.call(e,h):d.css(h)}},E.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){E.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&(i=E(e).offset(),i.top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&"static"===E.css(e,"position"))e=e.offsetParent;return e||be}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;E.fn[e]=function(r){return re(this,(function(e,r,i){var o;if(b(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),E.each(["top","left"],(function(e,t){E.cssHooks[t]=nt(g.pixelPosition,(function(e,n){if(n)return n=tt(e,t),ze.test(n)?E(e).position()[t]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(e,t){E.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){E.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!==typeof i),a=n||(!0===i||!0===o?"margin":"border");return re(this,(function(t,n,i){var o;return b(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?E.css(t,n,a):E.style(t,n,i,a)}),t,s?i:void 0,s)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){E.fn[t]=function(e){return this.on(t,e)}})),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),E.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){E.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var dn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,r,i;if("string"===typeof t&&(n=e[t],t=e,e=n),_(e))return r=l.call(arguments,2),i=function(){return e.apply(t||this,r.concat(l.call(arguments)))},i.guid=e.guid=e.guid||E.guid++,i},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=C,E.isFunction=_,E.isWindow=b,E.camelCase=ae,E.type=R,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(dn,"$1")},r=[],i=function(){return E}.apply(t,r),void 0===i||(e.exports=i);var hn=n.jQuery,pn=n.$;return E.noConflict=function(e){return n.$===E&&(n.$=pn),e&&n.jQuery===E&&(n.jQuery=hn),E},"undefined"===typeof o&&(n.jQuery=n.$=E),E}))},"116d":function(e,t,n){"use strict";e.exports=n("b4e8")},1178:function(e,t,n){"use strict";function r(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(!(n>=97&&n<=122||n>=65&&n<=90||58===n||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===t||!(45===n||46===n||n>=48&&n<=57||183===n||n>=768&&n<=879||n>=8255&&n<=8256))){if(n>=55296&&n<=56319&&t<e.length-1){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343&&(n=1024*(n-55296)+r-56320+65536,t++,n>=65536&&n<=983039))continue}return!1}}return!0}function i(e){let t=!1;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(!(r>=97&&r<=122||r>=65&&r<=90||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===n||!(45===r||46===r||r>=48&&r<=57||183===r||r>=768&&r<=879||r>=8255&&r<=8256))){if(0===n||58!==r){if(r>=55296&&r<=56319&&n<e.length-1){const t=e.charCodeAt(n+1);if(t>=56320&&t<=57343&&(r=1024*(r-55296)+t-56320+65536,n++,r>=65536&&r<=983039))continue}return!1}if(t)return!1;if(n===e.length-1)return!1;t=!0}}return!0}function o(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(!(9===n||10===n||13===n||n>=32&&n<=55295||n>=57344&&n<=65533)){if(n>=55296&&n<=56319&&t<e.length-1){const r=e.charCodeAt(t+1);if(r>=56320&&r<=57343&&(n=1024*(n-55296)+r-56320+65536,t++,n>=65536&&n<=1114111))continue}return!1}}return!0}function s(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(!(n>=97&&n<=122||n>=65&&n<=90||n>=39&&n<=59||32===n||13===n||10===n||n>=35&&n<=37||33===n||61===n||63===n||64===n||95===n))return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.xml_isName=r,t.xml_isQName=i,t.xml_isLegalChar=o,t.xml_isPubidChar=s},"11dc":function(e,t,n){"use strict";(function(t,r){var i=65536,o=4294967295;function s(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var a=n("8707").Buffer,l=t.crypto||t.msCrypto;function c(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=a.allocUnsafe(e);if(e>0)if(e>i)for(var s=0;s<e;s+=i)l.getRandomValues(n.slice(s,s+i));else l.getRandomValues(n);return"function"===typeof t?r.nextTick((function(){t(null,n)})):n}l&&l.getRandomValues?e.exports=c:e.exports=s}).call(this,n("c8ba"),n("4362"))},12:function(e,t){},"12e2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("5fb5");function o(e,t){let n=t?e._current._firstChild:e._current._lastChild;while(null!==n){const o=i.traversal_filter(e,n);if(o===r.FilterResult.Accept)return e._current=n,n;if(o===r.FilterResult.Skip){const e=t?n._firstChild:n._lastChild;if(null!==e){n=e;continue}}while(null!==n){const r=t?n._nextSibling:n._previousSibling;if(null!==r){n=r;break}const i=n._parent;if(null===i||i===e._root||i===e._current)return null;n=i}}return null}function s(e,t){let n=e._current;if(n===e._root)return null;while(1){let o=t?n._nextSibling:n._previousSibling;while(null!==o){n=o;const s=i.traversal_filter(e,n);if(s===r.FilterResult.Accept)return e._current=n,n;o=t?n._firstChild:n._lastChild,s!==r.FilterResult.Reject&&null!==o||(o=t?n._nextSibling:n._previousSibling)}if(n=n._parent,null===n||n===e._root)return null;if(i.traversal_filter(e,n)===r.FilterResult.Accept)return null}}t.treeWalker_traverseChildren=o,t.treeWalker_traverseSiblings=s},"130f":function(e,t,n){"use strict";n("e20c"),n("0402")},"13e1":function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return m}));n("d9e2");var r=n("7b9c"),i=n("351d"),o=(n("14d9"),n("81ea"));const s="hooksRefRegisterer",a={_hooksStorage:Object.create(null),addHook(e,t){return this._hooksStorage[e]||(this._hooksStorage[e]=[]),this.hot.addHook(e,t),this._hooksStorage[e].push(t),this},removeHooksByKey(e){Object(o["arrayEach"])(this._hooksStorage[e]||[],t=>{this.hot.removeHook(e,t)})},clearHooks(){Object(i["objectEach"])(this._hooksStorage,(e,t)=>this.removeHooksByKey(t)),this._hooksStorage={}}};Object(i["defineGetter"])(a,"MIXIN_NAME",s,{writable:!1,enumerable:!1});var l=a,c=n("5d7f");function u(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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,n,r,i,o){this.TD=r,this.row=e,this.col=t,this.prop=n,this.originalValue=i,this.cellProperties=o,this.state=this.isOpened()?this.state:f.VIRGIN}extend(){return class extends this.constructor{}}saveValue(e,t){let n,r,i,o;if(t){const e=this.hot.getSelectedLast();n=Math.max(Math.min(e[0],e[2]),0),r=Math.max(Math.min(e[1],e[3]),0),i=Math.max(e[0],e[2]),o=Math.max(e[1],e[3])}else[n,r,i,o]=[this.row,this.col,null,null];const s=this.hot.runHooks("modifyGetCellCoords",n,r);Array.isArray(s)&&([n,r]=s),this.hot.populateFromArray(n,r,e,i,o,"edit")}beginEditing(e,t){if(this.state!==f.VIRGIN)return;const n=this.hot,i=n.rowIndexMapper.getRenderableFromVisualIndex(this.row),o=n.columnIndexMapper.getRenderableFromVisualIndex(this.col);if(n.view.scrollViewport(n._createCellCoords(i,o)),this.state=f.EDITING,this.isInFullEditMode()){const t="string"===typeof e?e:Object(r["stringify"])(this.originalValue);this.setValue(t)}this.open(t),this._opened=!0,this.focus(),n.view.render(),n.runHooks("afterBeginEditing",this.row,this.col)}finishEditing(e,t,n){let r;if(n){const e=this._closeCallback;this._closeCallback=t=>{e&&e(t),n(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 n=this.getValue();r=this.cellProperties.trimWhitespace?[["string"===typeof n?String.prototype.trim.call(n||""):n]]:[[n]],this.state=f.WAITING,this.saveValue(r,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:n,wtViewport:r}=this.hot.view._wt,i=this.hot.rootWindow,o=Object(c["offset"])(t),s=Object(c["outerWidth"])(t),a=Object(c["offset"])(this.hot.rootElement),l=Object(c["outerWidth"])(this.hot.rootElement),u=n.topOverlay.holder,d=n.inlineStartOverlay.holder,h=u!==i?u.scrollTop:0,p=d!==i?d.scrollLeft:0,f=i.innerWidth-a.left-l,{wtTable:m}=null!==(e=n.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,b=o.top===a.top?0:1;let v=o.top-a.top-b-g,w=0;w=this.hot.isRtl()?i.innerWidth-o.left-s-f-1+_:o.left-a.left-1-_,["top","top_inline_start_corner"].includes(A)&&(v+=n.topOverlay.getOverlayOffset()),["inline_start","top_inline_start_corner"].includes(A)&&(w+=Math.abs(n.inlineStartOverlay.getOverlayOffset()));const y=this.hot.hasColHeaders(),R=this.hot.rowIndexMapper.getRenderableFromVisualIndex(this.row),M=this.hot.columnIndexMapper.getRenderableFromVisualIndex(this.col),S=this.hot.rowIndexMapper.getRenderableIndexesLength(),E=S-this.hot.view._wt.getSetting("fixedRowsBottom");(y&&R<=0||R===E)&&(v+=1),M<=0&&(w+=1);const T=r.rowsRenderCalculator.startPosition,C=r.columnsRenderCalculator.startPosition,O=Math.abs(n.inlineStartOverlay.getScrollPosition()),x=n.topOverlay.getScrollPosition(),N=Object(c["getScrollbarWidth"])(this.hot.rootDocument);let L=t.offsetTop;if(["inline_start","master"].includes(A)&&(L+=T-x),["bottom","bottom_inline_start_corner"].includes(A)){const{wtViewport:e,wtTable:t}=n.bottomOverlay.clone;L+=e.getWorkspaceHeight()-t.getHeight()-N}let I=t.offsetLeft;this.hot.isRtl()?(I=I>=0?m.getWidth()-t.offsetLeft:Math.abs(I),I+=C-O-s):["top","master","bottom"].includes(A)&&(I+=C-O);const P=Object(c["getComputedStyle"])(this.TD,this.hot.rootWindow),D=this.hot.isRtl()?"borderRightWidth":"borderLeftWidth",F=parseInt(P[D],10)>0?0:1,k=parseInt(P.borderTopWidth,10)>0?0:1,B=Object(c["outerWidth"])(t)+F,U=Object(c["outerHeight"])(t)+k,H=Object(c["hasVerticalScrollbar"])(u)?N:0,j=Object(c["hasHorizontalScrollbar"])(d)?N:0,V=this.hot.view.maximumVisibleElementWidth(I)-H+F,W=Math.max(this.hot.view.maximumVisibleElementHeight(L)-j+k,23);return{top:v,start:w,height:U,maxHeight:W,width:B,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,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("aa56"),s=r.rotl32,a=r.sum32,l=r.sum32_5,c=o.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)}r.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 n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=s(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],u=this.h[2],h=this.h[3],p=this.h[4];for(r=0;r<n.length;r++){var f=~~(r/20),m=l(s(i,5),c(f,o,u,h),p,n[r],d[f]);p=h,h=u,u=s(o,30),o=i,i=m}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],u),this.h[3]=a(this.h[3],h),this.h[4]=a(this.h[4],p)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},"13e9":function(e,t,n){(function(e,t){t(n("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,n,r,i){var o,s=t.words[r];return 1===r.length?"y"===r&&n?"једна година":i||n?s[0]:s[1]:(o=t.correctGrammaticalCase(e,s),"yy"===r&&n&&"годину"===o?e+" година":e+" "+o)}},n=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 n}))},1409:function(e,t,n){"use strict";e.exports=ReferenceError},1545:function(e,t,n){"use strict";t.utils=n("5ee7"),t.Cipher=n("0184"),t.DES=n("4e2b"),t.CBC=n("0da4"),t.EDE=n("1fec")},1592:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"data-list",attrs:{"element-loading-text":"加载中..."}},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataList,"header-row-class-name":"headerBg","empty-text":"没有模板信息"}},[n("el-table-column",{attrs:{prop:"id",label:"ID",align:"center",width:"80"}}),n("el-table-column",{attrs:{prop:"title",label:"模板名称",align:"left"}}),n("el-table-column",{attrs:{prop:"create_time",label:"创建时间",align:"center"}}),n("el-table-column",{attrs:{prop:"status",label:"模板状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[5==t.row.status?n("div",[e._v("启用")]):e._e(),6==t.row.status?n("div",[e._v("停用")]):e._e()]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center",width:e.editWidth()},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"btns"},[e.allowEdit?n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return e.btnEdit(t.row.id)}}},[n("svg-icon",{attrs:{"icon-class":"edit"}}),e._v("编辑")],1):e._e(),e.allowDelete?n("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(n){return e.btnDelete(t.row.id)}}},[n("svg-icon",{attrs:{"icon-class":"delete"}}),e._v("删除")],1):e._e()],1)]}}])})],1),n("div",{staticClass:"page-info"},[n("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=[],o=(n("14d9"),n("ac1f"),n("841c"),n("424e")),s={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,n={id:e};t.$confirm("您是否确认删除该记录?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((function(e){Object(o["c"])(n).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(o["k"])(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()}}},a=s,l=(n("e315"),n("2877")),c=Object(l["a"])(a,r,i,!1,null,null,null);t["default"]=c.exports},"167b":function(e,t,n){(function(e,t){t(n("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 n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},1696:function(e,t,n){"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"),n=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(n))return!1;var r=42;for(t in e[t]=r,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 o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},"169f":function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return a}));n("d9e2");var r=n("9acd");const{register:i,getItem:o,hasItem:s,getNames:a,getValues:l}=Object(r["a"])("validators");function c(e){if("function"===typeof e)return e;if(!s(e))throw Error(`No registered validator found under "${e}" name`);return o(e)}function u(e,t){"string"!==typeof e&&(t=e,e=t.VALIDATOR_TYPE),i(e,t)}},"16ad":function(e,t,n){"use strict";n("3383")},"16b6":function(e,t,n){"use strict";var r=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=r(n("49dc")),o=u(i.default),s=d(o);t.encodeXML=b(o);var a=r(n("f140")),l=u(a.default),c=d(l);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function d(e){for(var t=[],n=[],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];1===o.length?t.push("\\"+o):n.push(o)}t.sort();for(var s=0;s<t.length-1;s++){var a=s;while(a<t.length-1&&t[a].charCodeAt(1)+1===t[a+1].charCodeAt(1))a+=1;var l=1+a-s;l<3||t.splice(s,l,t[s]+"-"+t[a])}return n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=m(l,c),t.encodeNonAsciiHTML=b(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(n){return n.replace(t,(function(t){return e[t]})).replace(h,f)}}var A=new RegExp(s.source+"|"+h.source,"g");function g(e){return e.replace(A,f)}function _(e){return e.replace(s,f)}function b(e){return function(t){return t.replace(A,(function(t){return e[t]||f(t)}))}}t.escape=g,t.escapeUTF8=_},"16cb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("0fc1"),o=n("9af8"),s=n("9389"),a=n("4b7d"),l=n("c598"),c=n("3d7e"),u=n("51f1"),d=n("ba82"),h=n("2f3c");function p(e){return e._startNode===e._endNode&&e._startOffset===e._endOffset}function f(e){return a.tree_rootNode(e._startNode)}function m(e,t){return a.tree_rootNode(e)===f(t)&&l.boundaryPoint_position([e,0],t._start)===r.BoundaryPosition.After&&l.boundaryPoint_position([e,a.tree_nodeLength(e)],t._end)===r.BoundaryPosition.Before}function A(e,t){const n=a.tree_isAncestorOf(t._startNode,e,!0),r=a.tree_isAncestorOf(t._endNode,e,!0);return n&&!r||!n&&r}function g(e,t,n){if(o.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(n>a.tree_nodeLength(t))throw new i.IndexSizeError;const s=[t,n];f(e)===a.tree_rootNode(t)&&l.boundaryPoint_position(s,e._end)!==r.BoundaryPosition.After||(e._end=s),e._start=s}function _(e,t,n){if(o.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(n>a.tree_nodeLength(t))throw new i.IndexSizeError;const s=[t,n];f(e)===a.tree_rootNode(t)&&l.boundaryPoint_position(s,e._start)!==r.BoundaryPosition.Before||(e._start=s),e._end=s}function b(e,t){const n=e._parent;if(null===n)throw new i.InvalidNodeTypeError;const r=a.tree_index(e);t._start=[n,r],t._end=[n,r+1]}function v(e){const t=s.create_documentFragment(e._startNode._nodeDocument);if(p(e))return t;const n=e._startNode,r=e._startOffset,l=e._endNode,h=e._endOffset;if(n===l&&o.Guard.isCharacterDataNode(n)){const e=u.node_clone(n);return e._data=c.characterData_substringData(n,r,h-r),d.mutation_append(e,t),c.characterData_replaceData(n,r,h-r,""),t}let f=n;while(!a.tree_isAncestorOf(l,f,!0)){if(null===f._parent)throw new Error("Parent node is null.");f=f._parent}let g=null;if(!a.tree_isAncestorOf(l,n,!0))for(const i of f._children)if(A(i,e)){g=i;break}let _=null;if(!a.tree_isAncestorOf(n,l,!0)){const t=[...f._children];for(let n=t.length-1;n>0;n--){const r=t[n];if(A(r,e)){_=r;break}}}const b=[];for(const s of f._children)if(m(s,e)){if(o.Guard.isDocumentTypeNode(s))throw new i.HierarchyRequestError;b.push(s)}let w,y;if(a.tree_isAncestorOf(l,n,!0))w=n,y=r;else{let e=n;while(null!==e._parent&&!a.tree_isAncestorOf(l,e._parent))e=e._parent;if(null===e._parent)throw new Error("Parent node is null.");w=e._parent,y=1+a.tree_index(e)}if(o.Guard.isCharacterDataNode(g)){const e=u.node_clone(n);e._data=c.characterData_substringData(n,r,a.tree_nodeLength(n)-r),d.mutation_append(e,t),c.characterData_replaceData(n,r,a.tree_nodeLength(n)-r,"")}else if(null!==g){const e=u.node_clone(g);d.mutation_append(e,t);const i=s.create_range([n,r],[g,a.tree_nodeLength(g)]),o=v(i);d.mutation_append(o,e)}for(const i of b)d.mutation_append(i,t);if(o.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 n=s.create_range([_,0],[l,h]),r=v(n);d.mutation_append(r,e)}return e._start=[w,y],e._end=[w,y],t}function w(e){const t=s.create_documentFragment(e._startNode._nodeDocument);if(p(e))return t;const n=e._startNode,r=e._startOffset,l=e._endNode,h=e._endOffset;if(n===l&&o.Guard.isCharacterDataNode(n)){const e=u.node_clone(n);e._data=c.characterData_substringData(n,r,h-r),d.mutation_append(e,t)}let f=n;while(!a.tree_isAncestorOf(l,f,!0)){if(null===f._parent)throw new Error("Parent node is null.");f=f._parent}let g=null;if(!a.tree_isAncestorOf(l,n,!0))for(const i of f._children)if(A(i,e)){g=i;break}let _=null;if(!a.tree_isAncestorOf(n,l,!0)){const t=[...f._children];for(let n=t.length-1;n>0;n--){const r=t[n];if(A(r,e)){_=r;break}}}const b=[];for(const s of f._children)if(m(s,e)){if(o.Guard.isDocumentTypeNode(s))throw new i.HierarchyRequestError;b.push(s)}if(o.Guard.isCharacterDataNode(g)){const e=u.node_clone(n);e._data=c.characterData_substringData(n,r,a.tree_nodeLength(n)-r),d.mutation_append(e,t)}else if(null!==g){const e=u.node_clone(g);d.mutation_append(e,t);const i=s.create_range([n,r],[g,a.tree_nodeLength(g)]),o=w(i);d.mutation_append(o,e)}for(const i of b){const e=u.node_clone(i);d.mutation_append(e,t)}if(o.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 n=s.create_range([_,0],[l,h]),r=v(n);d.mutation_append(r,e)}return t}function y(e,t){if(o.Guard.isProcessingInstructionNode(t._startNode)||o.Guard.isCommentNode(t._startNode)||o.Guard.isTextNode(t._startNode)&&null===t._startNode._parent||t._startNode===e)throw new i.HierarchyRequestError;let n,r=null;if(o.Guard.isTextNode(t._startNode))r=t._startNode;else{let e=0;for(const n of t._startNode._children){if(e===t._startOffset){r=n;break}e++}}if(null===r)n=t._startNode;else{if(null===r._parent)throw new Error("Parent node is null.");n=r._parent}d.mutation_ensurePreInsertionValidity(e,n,r),o.Guard.isTextNode(t._startNode)&&(r=h.text_split(t._startNode,t._startOffset)),e===r&&(r=e._nextSibling),null!==e._parent&&d.mutation_remove(e,e._parent);let s=null===r?a.tree_nodeLength(n):a.tree_index(r);o.Guard.isDocumentFragmentNode(e)?s+=a.tree_nodeLength(e):s++,d.mutation_preInsert(e,n,r),p(t)&&(t._end=[n,s])}function R(e){return{[Symbol.iterator]:()=>{const t=e.commonAncestorContainer;let n=a.tree_getFirstDescendantNode(t);return{next:()=>{while(n&&!m(n,e))n=a.tree_getNextDescendantNode(t,n);if(null===n)return{done:!0,value:null};{const e={done:!1,value:n};return n=a.tree_getNextDescendantNode(t,n),e}}}}}}function M(e){return{[Symbol.iterator]:()=>{const t=e.commonAncestorContainer;let n=a.tree_getFirstDescendantNode(t);return{next:()=>{while(n&&!A(n,e))n=a.tree_getNextDescendantNode(t,n);if(null===n)return{done:!0,value:null};{const e={done:!1,value:n};return n=a.tree_getNextDescendantNode(t,n),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=b,t.range_extract=v,t.range_cloneTheContents=w,t.range_insert=y,t.range_getContainedNodes=R,t.range_getPartiallyContainedNodes=M},"16e7":function(e,t,n){"use strict";var r=n("d6c7"),i=n("1696")(),o=n("545e"),s=Object,a=o("Array.prototype.push"),l=o("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 n=s(e);if(1===arguments.length)return n;for(var o=1;o<arguments.length;++o){var u=s(arguments[o]),d=r(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)&&a(d,m)}for(var A=0;A<d.length;++A){var g=d[A];if(l(u,g)){var _=u[g];n[g]=_}}}return n}},"184d":function(e,t,n){"use strict";var r=n("f177"),i=n("2500"),o=n("bbc7");e.exports={formats:o,parse:i,stringify:r}},"186a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9af8"),i=n("9688");class o{before(...e){const t=r.Cast.asNode(this),n=t._parent;if(null===n)return;let o=t._previousSibling,s=!0;while(s&&o){s=!1;for(let t=0;t<e.length;t++){const n=e[t];if(n===o){o=o._previousSibling,s=!0;break}}}const a=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);o=null===o?n._firstChild:o._nextSibling,i.mutation_preInsert(a,n,o)}after(...e){const t=r.Cast.asNode(this),n=t._parent;if(!n)return;let o=t._nextSibling,s=!0;while(s&&o){s=!1;for(let t=0;t<e.length;t++){const n=e[t];if(n===o){o=o._nextSibling,s=!0;break}}}const a=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);i.mutation_preInsert(a,n,o)}replaceWith(...e){const t=r.Cast.asNode(this),n=t._parent;if(!n)return;let o=t._nextSibling,s=!0;while(s&&o){s=!1;for(let t=0;t<e.length;t++){const n=e[t];if(n===o){o=o._nextSibling,s=!0;break}}}const a=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);t._parent===n?i.mutation_replace(t,a,n):i.mutation_preInsert(a,n,o)}remove(){const e=r.Cast.asNode(this),t=e._parent;t&&i.mutation_remove(e,t)}}t.ChildNodeImpl=o},"18cf":function(e,t,n){"use strict";n("0ead")},1985:function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(o){t&&t.nodeType,e&&e.nodeType;var s="object"==typeof r&&r;s.global!==s&&s.window!==s&&s.self;var a,l=2147483647,c=36,u=1,d=26,h=38,p=700,f=72,m=128,A="-",g=/^xn--/,_=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,v={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,R=String.fromCharCode;function M(e){throw new RangeError(v[e])}function S(e,t){var n=e.length,r=[];while(n--)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(b,".");var i=e.split("."),o=S(i,t).join(".");return r+o}function T(e){var t,n,r=[],i=0,o=e.length;while(i<o)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<o?(n=e.charCodeAt(i++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--)):r.push(t);return r}function C(e){return S(e,(function(e){var t="";return e>65535&&(e-=65536,t+=R(e>>>10&1023|55296),e=56320|1023&e),t+=R(e),t})).join("")}function O(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:c}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?y(e/p):e>>1,e+=y(e/t);e>w*d>>1;r+=c)e=y(e/w);return y(r+(w+1)*e/(e+h))}function L(e){var t,n,r,i,o,s,a,h,p,g,_=[],b=e.length,v=0,w=m,R=f;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&M("not-basic"),_.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<b;){for(o=v,s=1,a=c;;a+=c){if(i>=b&&M("invalid-input"),h=O(e.charCodeAt(i++)),(h>=c||h>y((l-v)/s))&&M("overflow"),v+=h*s,p=a<=R?u:a>=R+d?d:a-R,h<p)break;g=c-p,s>y(l/g)&&M("overflow"),s*=g}t=_.length+1,R=N(v-o,t,0==o),y(v/t)>l-w&&M("overflow"),w+=y(v/t),v%=t,_.splice(v++,0,w)}return C(_)}function I(e){var t,n,r,i,o,s,a,h,p,g,_,b,v,w,S,E=[];for(e=T(e),b=e.length,t=m,n=0,o=f,s=0;s<b;++s)_=e[s],_<128&&E.push(R(_));r=i=E.length,i&&E.push(A);while(r<b){for(a=l,s=0;s<b;++s)_=e[s],_>=t&&_<a&&(a=_);for(v=r+1,a-t>y((l-n)/v)&&M("overflow"),n+=(a-t)*v,t=a,s=0;s<b;++s)if(_=e[s],_<t&&++n>l&&M("overflow"),_==t){for(h=n,p=c;;p+=c){if(g=p<=o?u:p>=o+d?d:p-o,h<g)break;S=h-g,w=c-g,E.push(R(x(g+S%w,0))),h=y(S/w)}E.push(R(x(h,0))),o=N(n,v,r==i),n=0,++r}++n,++t}return E.join("")}function P(e){return E(e,(function(e){return g.test(e)?L(e.slice(4).toLowerCase()):e}))}function D(e){return E(e,(function(e){return _.test(e)?"xn--"+I(e):e}))}a={version:"1.4.1",ucs2:{decode:T,encode:C},decode:L,encode:I,toASCII:D,toUnicode:P},i=function(){return a}.call(t,n,t,e),void 0===i||(e.exports=i)})()}).call(this,n("62e4")(e),n("c8ba"))},"1a2a":function(e,t,n){"use strict";var r=n("3fb5"),i=n("d424"),o=n("6430"),s=n("8707").Buffer,a=n("5a76"),l=n("b5ca"),c=n("69f2"),u=s.alloc(128);function d(e,t){o.call(this,"digest"),"string"===typeof t&&(t=s.from(t));var n="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>n){var r="rmd160"===e?new l:c(e);t=r.update(t).digest()}else t.length<n&&(t=s.concat([t,u],n));for(var i=this._ipad=s.allocUnsafe(n),a=this._opad=s.allocUnsafe(n),d=0;d<n;d++)i[d]=54^t[d],a[d]=92^t[d];this._hash="rmd160"===e?new l:c(e),this._hash.update(i)}r(d,o),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(a,t):new d(e,t)}},"1ab1":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return null!=e.coms&&e.coms.length>0&&e.size>0?n("div",{staticClass:"com-directory"},[n("el-form",{staticClass:"dirceForm"},[e._l(e.coms,(function(t,r){return[e._l(t.attrs,(function(t,i){return["Directory"==t.type?n("el-form-item",{key:"item-"+r+"-"+i,attrs:{label:t.id+":"}},[n("el-input",{attrs:{type:"textarea"},model:{value:t.content,callback:function(n){e.$set(t,"content",n)},expression:"item.content"}})],1):e._e()]}))]}))],2),n("div",{staticClass:"com-title"},[e._v("目录信息")]),n("div",{staticClass:"com-items"},[e._l(e.coms,(function(t,r){return[e._l(t.attrs,(function(t,i){return["Directory"==t.type?n("div",{key:"item-"+r+"-"+i,staticClass:"com-item"},[n("div",{staticClass:"icon"},[n("svg-icon",{attrs:{"icon-class":"directory"}})],1),n("div",{staticClass:"name"},[e._v(" "+e._s(""!=t.content?t.content:t.name)+" ")])]):e._e()]}))]}))],2)],1):e._e()},i=[],o={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 n=0;n<e[t].attrs.length;n++)"Directory"==e[t].attrs[n].type&&this.size++}},immediate:!0,deep:!0}},data:function(){return{size:0}}},s=o,a=(n("be30"),n("2877")),l=Object(a["a"])(s,r,i,!1,null,null,null);t["default"]=l.exports},"1b1a":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("1096"),i=n("3d57"),o=n("a73f");class s extends r["a"]{constructor(){super(e=>e)}insert(e,t){const n=Object(o["b"])(this.indexedValues,t);this.indexedValues=Object(i["a"])(n,e,t),super.insert(e,t)}remove(e){const t=Object(i["b"])(this.indexedValues,e);this.indexedValues=Object(o["a"])(t,e),super.remove(e)}}},"1b45":function(e,t,n){(function(e,t){t(n("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,n){"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 r=n("2748"),i=n("16b6");function o(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)}function s(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)}function a(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)}t.decode=o,t.decodeStrict=s,t.encode=a;var l=n("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=n("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,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n("11dc"),t.createHash=t.Hash=n("98e6"),t.createHmac=t.Hmac=n("1a2a");var r=n("116d"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var s=n("a099");t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=n("956a");t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var l=n("00dc");t.DiffieHellmanGroup=l.DiffieHellmanGroup,t.createDiffieHellmanGroup=l.createDiffieHellmanGroup,t.getDiffieHellman=l.getDiffieHellman,t.createDiffieHellman=l.createDiffieHellman,t.DiffieHellman=l.DiffieHellman;var c=n("b692");t.createSign=c.createSign,t.Sign=c.Sign,t.createVerify=c.createVerify,t.Verify=c.Verify,t.createECDH=n("e1d30");var u=n("6442");t.publicEncrypt=u.publicEncrypt,t.privateEncrypt=u.privateEncrypt,t.publicDecrypt=u.publicDecrypt,t.privateDecrypt=u.privateDecrypt;var d=n("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,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n("b775");function i(e){return Object(r["a"])({url:"/source/data/search",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/source/data/info",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/source/data/find",method:"post",data:e})}},"1c59":function(e,t,n){"use strict";var r=n("6d61"),i=n("6566");r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"1c6d":function(e,t,n){"use strict";n("366c")},"1cc6":function(e,t,n){"use strict";n("2cb8")},"1cfd":function(e,t,n){(function(e,t){t(n("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"},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},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 عام"]},i=function(e){return function(t,i,o,s){var a=n(t),l=r[e][n(t)];return 2===a&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar-ly",{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,n){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 s}))},"1e3c":function(e,t,n){var r=n("6430"),i=n("1545"),o=n("3fb5"),s=n("8707").Buffer,a={"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){r.call(this);var t,n=e.mode.toLowerCase(),i=a[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;s.isBuffer(o)||(o=s.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=s.concat([o,o.slice(0,8)]));var l=e.iv;s.isBuffer(l)||(l=s.from(l)),this._des=i.create({key:o,iv:l,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=l,o(l,r),l.prototype._update=function(e){return s.from(this._des.update(e))},l.prototype._final=function(){return s.from(this._des.final())}},"1e5a":function(e,t,n){"use strict";var r=n("23e7"),i=n("9961"),o=n("dad2");r({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:i})},"1e70":function(e,t,n){"use strict";var r=n("23e7"),i=n("a5f7"),o=n("dad2");r({target:"Set",proto:!0,real:!0,forced:!o("difference")},{difference:i})},"1e8c":function(e,t,n){"use strict";n.d(t,"a",(function(){return te}));var r=n("c4fa");const i={name:"editorCloseAndSave",callback(e){const t=e._getEditorManager();t.closeEditorAndSaveChanges()}};var o=n("13e1");const s={name:"editorCloseAndSaveByArrowKeys",callback(e,t,n){const r=e._getEditorManager(),i=r.getActiveEditor();i.isInFullEditMode()&&i.state===o["b"].EDITING||(r.closeEditorAndSaveChanges(),e.getSelected()&&(n.includes("arrowdown")?e.selection.transformStart(1,0):n.includes("arrowup")?e.selection.transformStart(-1,0):n.includes("arrowleft")?e.selection.transformStart(0,-1*e.getDirectionFactor()):n.includes("arrowright")&&e.selection.transformStart(0,e.getDirectionFactor())),t.preventDefault())}},a={name:"editorCloseAndSaveByEnter",callback(e,t){const n=e._getEditorManager();n.closeEditorAndSaveChanges(t.ctrlKey||t.metaKey),n.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:n}=e.getSelectedRangeLast();n.isHeader()||e._getEditorManager().openEditor(null,t,!0)}};var u=n("de3b");const d={name:"editorOpen",callback(e,t,n){const r=e._getEditorManager(),i=e.getSelectedRangeLast(),{highlight:o}=i;if(e.selection.isMultiple()&&!i.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0){const r=e.getSettings(),i="function"===typeof r.enterMoves?r.enterMoves(t):r.enterMoves;n.includes("shift")?e.selection.transformFocus(-i.row,-i.col):e.selection.transformFocus(i.row,i.col)}else o.isHeader()||(e.getSettings().enterBeginsEditing?r.cellProperties.readOnly?r.moveSelectionAfterEnter(t):r.openEditor(null,t,!0):r.moveSelectionAfterEnter(t),Object(u["stopImmediatePropagation"])(t))}};function h(){return[i,s,a,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(),n=Math.min(t.row+e.countVisibleRows(),e.countRows()-1),r=e.rowIndexMapper.getNearestNotHiddenIndex(n,-1);if(null!==r){const n=e._createCellCoords(r,t.col),i=t.row-e.view.getFirstFullyVisibleRow(),o=Math.min(n.row-i,e.countRows()-1);e.selection.setRangeEnd(n),e.scrollViewportTo({row:o,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:n,to:r}=e.getSelectedRangeLast();e.selection.isSelectedByRowHeader()?e.selection.selectAll(!0,!0):e.selectColumns(n.col,r.col,t)}},_={name:"extendCellsSelectionToMostBottom",callback(e){const{selection:t,rowIndexMapper:n}=e,{highlight:r,from:i,to:o}=e.getSelectedRangeLast(),s=r.isHeader()&&e.selection.isSelectedByRowHeader();if(r.isCell()||s){const a=n.getNearestNotHiddenIndex(e.countRows()-1,-1),l=i.clone();l.row=r.row,t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByRowHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(a,o.col))}}},b={name:"extendCellsSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:n}=e,{highlight:r,from:i,to:o}=e.getSelectedRangeLast();if(!e.selection.isSelectedByRowHeader()&&!e.selection.isSelectedByCorner()&&r.isCell()){const s=n.getNearestNotHiddenIndex(e.countCols()-1,-1),a=i.clone();a.col=r.col,t.setRangeStart(a,void 0,!1,r.clone()),t.setRangeEnd(e._createCellCoords(o.row,s))}}},v={name:"extendCellsSelectionToMostInlineStart",callback(e){const{selection:t,columnIndexMapper:n}=e,{highlight:r,from:i,to:o}=e.getSelectedRangeLast();if(!e.selection.isSelectedByRowHeader()&&!e.selection.isSelectedByCorner()&&r.isCell()){const s=parseInt(e.getSettings().fixedColumnsStart,10),a=n.getNearestNotHiddenIndex(s,1),l=i.clone();l.col=r.col,t.setRangeStart(l,void 0,!1,r.clone()),t.setRangeEnd(e._createCellCoords(o.row,a))}}},w={name:"extendCellsSelectionToMostLeft",callback(e){const{selection:t,columnIndexMapper:n}=e,{highlight:r,from:i,to:o}=e.getSelectedRangeLast(),s=r.isHeader()&&e.selection.isSelectedByColumnHeader();if(r.isCell()||s){const a=n.getNearestNotHiddenIndex(...e.isRtl()?[e.countCols()-1,-1]:[0,1]),l=i.clone();l.col=r.col,t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByColumnHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(o.row,a))}}},y={name:"extendCellsSelectionToMostRight",callback(e){const{selection:t,columnIndexMapper:n}=e,{highlight:r,from:i,to:o}=e.getSelectedRangeLast(),s=r.isHeader()&&e.selection.isSelectedByColumnHeader();if(r.isCell()||s){const a=n.getNearestNotHiddenIndex(...e.isRtl()?[0,1]:[e.countCols()-1,-1]),l=i.clone();l.col=r.col,t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByColumnHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(o.row,a))}}},R={name:"extendCellsSelectionToMostTop",callback(e){const{selection:t,rowIndexMapper:n}=e,{highlight:r,from:i,to:o}=e.getSelectedRangeLast(),s=r.isHeader()&&e.selection.isSelectedByRowHeader();if(r.isCell()||s){const a=n.getNearestNotHiddenIndex(0,1),l=i.clone();l.row=r.row,t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByRowHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(a,o.col))}}},M={name:"extendCellsSelectionToRows",callback(e){const{highlight:t,from:n,to:r}=e.getSelectedRangeLast();e.selection.isSelectedByColumnHeader()?e.selection.selectAll(!0,!0):e.selectRows(n.row,r.row,t)}},S={name:"extendCellsSelectionUp",callback(e){const{highlight:t}=e.getSelectedRangeLast();e.selection.isSelectedByColumnHeader()||e.selection.isSelectedByCorner()||!(t.isCell()||t.isHeader()&&e.selection.isSelectedByRowHeader())||e.selection.transformEnd(-1,0)}},E={name:"extendCellsSelectionUpByViewportHeight",callback(e){const{to:t}=e.getSelectedRangeLast(),n=Math.max(t.row-e.countVisibleRows(),0),r=e.rowIndexMapper.getNearestNotHiddenIndex(n,1);if(null!==r){const n=e._createCellCoords(r,t.col),i=t.row-e.view.getFirstFullyVisibleRow(),o=Math.max(n.row-i,0);e.selection.setRangeEnd(n),e.scrollViewportTo({row:o,verticalSnap:"top",horizontalSnap:"start"})}}};function T(){return[p,f,m,A,g,_,b,v,w,y,R,M,S,E]}const C={name:"moveCellSelectionDown",callback(e){let{selection:t}=e;t.transformStart(1,0)}},O={name:"moveCellSelectionDownByViewportHeight",callback(e){const{navigableHeaders:t}=e.getSettings(),n=t?e.countColHeaders():0,{row:r}=e.getSelectedRangeLast().highlight;let i=e.countVisibleRows()+n;r===e.countRows()-1?i=1:r+i>e.countRows()&&(i=e.countRows()-r-1),e.selection.transformStart(i,0),e.getSelectedRangeLast().highlight.row<0&&e.scrollViewportTo({row:0})}},x={name:"moveCellSelectionInlineEnd",callback(e,t){const n=e.getSettings(),r=e.getSelectedRangeLast(),i="function"===typeof n.tabMoves?n.tabMoves(t):n.tabMoves;e.selection.isMultiple()&&!r.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0?e.selection.transformFocus(-i.row,-i.col):e.selection.transformStart(-i.row,-i.col)}},N={name:"moveCellSelectionInlineStart",callback(e,t){const n=e.getSettings(),r=e.getSelectedRangeLast(),i="function"===typeof n.tabMoves?n.tabMoves(t):n.tabMoves;e.selection.isMultiple()&&!r.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())}},P={name:"moveCellSelectionToMostBottom",callback(e){const{col:t}=e.getSelectedRangeLast().highlight;let n=e.rowIndexMapper.getNearestNotHiddenIndex(e.countRows()-1,-1);null===n&&(n=-1),e.selection.setRangeStart(e._createCellCoords(n,t))}},D={name:"moveCellSelectionToMostBottomInlineEnd",callback(e){const{selection:t,rowIndexMapper:n,columnIndexMapper:r}=e,i=parseInt(e.getSettings().fixedRowsBottom,10),o=n.getNearestNotHiddenIndex(e.countRows()-i-1,-1),s=r.getNearestNotHiddenIndex(e.countCols()-1,-1);t.setRangeStart(e._createCellCoords(o,s))}},F={name:"moveCellSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:n}=e;t.setRangeStart(e._createCellCoords(e.getSelectedRangeLast().highlight.row,n.getNearestNotHiddenIndex(e.countCols()-1,-1)))}},k={name:"moveCellSelectionToMostInlineStart",callback(e){const{selection:t,columnIndexMapper:n}=e,r=parseInt(e.getSettings().fixedColumnsStart,10),i=e.getSelectedRangeLast().highlight.row,o=n.getNearestNotHiddenIndex(r,1);t.setRangeStart(e._createCellCoords(i,o))}},B={name:"moveCellSelectionToMostLeft",callback(e){const{selection:t,columnIndexMapper:n}=e,r=e.getSelectedRangeLast().highlight.row;let i=n.getNearestNotHiddenIndex(...e.isRtl()?[e.countCols()-1,-1]:[0,1]);null===i&&(i=e.isRtl()?-1:-e.countRowHeaders()),t.setRangeStart(e._createCellCoords(r,i))}},U={name:"moveCellSelectionToMostRight",callback(e){const{selection:t,columnIndexMapper:n}=e,{row:r}=e.getSelectedRangeLast().highlight;let i=n.getNearestNotHiddenIndex(...e.isRtl()?[0,1]:[e.countCols()-1,-1]);null===i&&(i=e.isRtl()?-e.countRowHeaders():-1),t.setRangeStart(e._createCellCoords(r,i))}},H={name:"moveCellSelectionToMostTop",callback(e){const{col:t}=e.getSelectedRangeLast().highlight;let n=e.rowIndexMapper.getNearestNotHiddenIndex(0,1);null===n&&(n=-e.countColHeaders()),e.selection.setRangeStart(e._createCellCoords(n,t))}},j={name:"moveCellSelectionToMostTopInlineStart",callback(e){const{selection:t,rowIndexMapper:n,columnIndexMapper:r}=e,i=parseInt(e.getSettings().fixedRowsTop,10),o=parseInt(e.getSettings().fixedColumnsStart,10),s=n.getNearestNotHiddenIndex(i,1),a=r.getNearestNotHiddenIndex(o,1);t.setRangeStart(e._createCellCoords(s,a))}},V={name:"moveCellSelectionUp",callback(e){let{selection:t}=e;t.transformStart(-1,0)}},W={name:"moveCellSelectionUpByViewportHight",callback(e){const{navigableHeaders:t}=e.getSettings(),n=t?e.countColHeaders():0,{row:r}=e.getSelectedRangeLast().highlight;let i=-(e.countVisibleRows()+n);r===-n?i=-1:r+i<n&&(i=-(r+n)),e.selection.transformStart(i,0),e.getSelectedRangeLast().highlight.row<0&&e.scrollViewportTo({row:0})}};function Y(){return[C,O,x,N,L,I,P,D,F,k,B,U,H,j,V,W]}const Q={name:"emptySelectedCells",callback(e){e.emptySelectedCells(),e._getEditorManager().prepareEditor()}},X={name:"scrollToFocusedCell",callback(e){const{highlight:t}=e.getSelectedRangeLast(),n=e.view.getFirstFullyVisibleRow()-1,r=e.view.getFirstFullyVisibleColumn()-1,i=e.view.getLastFullyVisibleRow()+1,o=e.view.getLastFullyVisibleColumn()+1,s=e._createCellCoords(n,r),a=e._createCellCoords(i,o),l=e._createCellRange(s,s,a);if(!l.includes(t)&&(t.row>=0||t.col>=0)){const n={};if(t.col>=0){const r=Math.floor(e.countVisibleCols()/2);n.col=Math.max(t.col-r,0)}if(t.row>=0){const r=Math.floor(e.countVisibleRows()/2);n.row=Math.max(t.row-r,0)}e.scrollViewportTo({...n,verticalSnap:"top",horizontalSnap:"start"})}}},K={name:"selectAllCells",callback(e){e.selection.selectAll(!0,!0,{disableHeadersHighlight:!0})}},G={name:"selectAllCellsAndHeaders",callback(e){e.selection.selectAll(!0,!0,{disableHeadersHighlight:!1})}},Z={name:"populateSelectedCellsData",callback(e){const t=e.getSelectedRange(),{row:n,col:r}=t[t.length-1].highlight.normalize(),i=e.getDataAtCell(n,r),o=new Map;for(let s=0;s<t.length;s++)t[s].forAll((t,s)=>{if(t>=0&&s>=0&&(t!==n||s!==r)){const{readOnly:n}=e.getCellMeta(t,s);n||o.set(`${t}x${s}`,[t,s,i])}});e.setDataAtCell(Array.from(o.values()))}},z=[...h(),...T(),...Y(),Q,X,K,G,Z];function q(e){const t={};return z.forEach(n=>{let{name:r,callback:i}=n;t[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return i(e,...n)}}),t}function J(e){const t=e.getShortcutManager().addContext("editor"),n=q(e),i={group:r["a"]};t.addShortcuts([{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>n.editorCloseAndSaveByEnter(e,t)},{keys:[["Enter","Control/Meta"],["Enter","Control/Meta","Shift"]],captureCtrl:!0,callback:(e,t)=>n.editorCloseAndSaveByEnter(e,t)},{keys:[["Tab"],["Tab","Shift"],["PageDown"],["PageUp"]],forwardToContext:e.getShortcutManager().getContext("grid"),callback:(e,t)=>n.editorCloseAndSave(e,t)},{keys:[["ArrowDown"],["ArrowUp"],["ArrowLeft"],["ArrowRight"]],preventDefault:!1,callback:(e,t)=>n.editorCloseAndSaveByArrowKeys(e,t)},{keys:[["Escape"],["Escape","Control/Meta"]],callback:()=>n.editorCloseWithoutSaving()}],i)}var $=n("7b9c");function ee(e){const t=e.getShortcutManager().addContext("grid"),n=q(e),i={runOnlyIf:()=>{const{navigableHeaders:t}=e.getSettings();return Object($["isDefined"])(e.getSelected())&&(t||!t&&e.countRenderedRows()>0&&e.countRenderedCols()>0)},group:r["b"]};t.addShortcuts([{keys:[["F2"]],callback:e=>n.editorFastOpen(e)},{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>n.editorOpen(e,t)},{keys:[["Backspace"],["Delete"]],callback:()=>n.emptySelectedCells()}],{group:r["a"],runOnlyIf:()=>Object($["isDefined"])(e.getSelected())}),t.addShortcuts([{keys:[["Control/Meta","A"]],callback:()=>n.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:()=>n.selectAllCellsAndHeaders()},{keys:[["Control/Meta","Enter"]],callback:()=>n.populateSelectedCellsData(),runOnlyIf:()=>{var t,n;return!(null!==(t=e.getSelectedRangeLast())&&void 0!==t&&t.highlight.isHeader())&&(null===(n=e.getSelectedRangeLast())||void 0===n?void 0:n.getCellsCount())>1}},{keys:[["Control","Space"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToColumns()},{keys:[["Shift","Space"]],stopPropagation:!0,callback:()=>n.extendCellsSelectionToRows()},{keys:[["ArrowUp"]],callback:()=>n.moveCellSelectionUp()},{keys:[["ArrowUp","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostTop()},{keys:[["ArrowUp","Shift"]],callback:()=>n.extendCellsSelectionUp()},{keys:[["ArrowUp","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostTop(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByColumnHeader())},{keys:[["ArrowDown"]],callback:()=>n.moveCellSelectionDown()},{keys:[["ArrowDown","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostBottom()},{keys:[["ArrowDown","Shift"]],callback:()=>n.extendCellsSelectionDown()},{keys:[["ArrowDown","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostBottom(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByColumnHeader())},{keys:[["ArrowLeft"]],callback:()=>n.moveCellSelectionLeft()},{keys:[["ArrowLeft","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostLeft()},{keys:[["ArrowLeft","Shift"]],callback:()=>n.extendCellsSelectionLeft()},{keys:[["ArrowLeft","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostLeft(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByRowHeader())},{keys:[["ArrowRight"]],callback:()=>n.moveCellSelectionRight()},{keys:[["ArrowRight","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostRight()},{keys:[["ArrowRight","Shift"]],callback:()=>n.extendCellsSelectionRight()},{keys:[["ArrowRight","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostRight(),runOnlyIf:()=>!(e.selection.isSelectedByCorner()||e.selection.isSelectedByRowHeader())},{keys:[["Home"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostInlineStart(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["Home","Shift"]],callback:()=>n.extendCellsSelectionToMostInlineStart()},{keys:[["Home","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostTopInlineStart(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostInlineEnd(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End","Shift"]],callback:()=>n.extendCellsSelectionToMostInlineEnd()},{keys:[["End","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostBottomInlineEnd(),runOnlyIf:()=>e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["PageUp"]],callback:()=>n.moveCellSelectionUpByViewportHight()},{keys:[["PageUp","Shift"]],callback:()=>n.extendCellsSelectionUpByViewportHeight()},{keys:[["PageDown"]],callback:()=>n.moveCellSelectionDownByViewportHeight()},{keys:[["PageDown","Shift"]],callback:()=>n.extendCellsSelectionDownByViewportHeight()},{keys:[["Tab"]],preventDefault:!1,callback:e=>n.moveCellSelectionInlineStart(e)},{keys:[["Shift","Tab"]],preventDefault:!1,callback:e=>n.moveCellSelectionInlineEnd(e)},{keys:[["Control/Meta","Backspace"]],callback:()=>n.scrollToFocusedCell()}],i)}function te(e){[ee,J].forEach(t=>t(e))}},"1ef2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7b71"),i=n("0fc1"),o=n("9af8");class s extends r.AbstractRangeImpl{constructor(e){if(super(),o.Guard.isDocumentTypeNode(e.startContainer)||o.Guard.isAttrNode(e.startContainer)||o.Guard.isDocumentTypeNode(e.endContainer)||o.Guard.isAttrNode(e.endContainer))throw new i.InvalidNodeTypeError;this._start=[e.startContainer,e.startOffset],this._end=[e.endContainer,e.endOffset]}}t.StaticRangeImpl=s},"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,n){},"1fa5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9");class i{constructor(e){this._activeFlag=!1,this._root=e,this._whatToShow=r.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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  54. //! moment.js locale configuration
  55. function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}var r=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:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){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 r}))},"1fec":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o=n("0184"),s=n("4e2b");function a(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:n}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:o})]:[s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:n})]}function l(e){o.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}i(l,o),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=s.prototype._pad,l.prototype._unpad=s.prototype._unpad},2:function(e,t){},"201b":function(e,t,n){(function(e,t){t(n("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,n){return"ი"===n?t+"ში":t+n+"ში"}))},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,n){(function(t){var r,i,o=n("8707").Buffer,s=n("7d2a"),a=n("9f9d"),l=n("e07bf"),c=n("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];r=r||o.alloc(8);var n=m(r,r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=n,n}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,n,r,i){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.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,n,r,i,o,u){"function"===typeof o&&(u=o,o=void 0),o=o||"sha1";var h=d[o.toLowerCase()];if(h&&"function"===typeof t.Promise){if(s(r,i),e=c(e,a,"Password"),n=c(n,a,"Salt"),"function"!==typeof u)throw new Error("No callback provided to pbkdf2");A(p(h).then((function(t){return t?m(e,n,r,i,h):l(e,n,r,i,o)})),u)}else f()((function(){var t;try{t=l(e,n,r,i,o)}catch(s){return u(s)}u(null,t)}))}}).call(this,n("c8ba"))},"20cc":function(e,t,n){"use strict";var r=n("da84"),i=n("2ba4"),o=n("1626"),s=n("c6a7"),a=n("342f"),l=n("f36a"),c=n("d6d6"),u=r.Function,d=/MSIE .\./.test(a)||s&&function(){var e=r.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 n=t?2:1;return d?function(r,s){var a=c(arguments.length,1)>n,d=o(r)?r:u(r),h=a?l(arguments,n):[],p=a?function(){i(d,this,h)}:d;return t?e(p,s):e(p)}:e}},"20f6":function(e,t,n){var r=t;r.der=n("cfbd"),r.pem=n("8df7")},2137:function(e,t,n){"use strict";var r=n("c3c0"),i=n("da3e");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.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)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},"220a":function(e,t,n){"use strict";n("d9e2"),n("14d9");var r=n("5d7f"),i=n("81ea");function o(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){var t=a(e,"string");return"symbol"==typeof t?t:t+""}function a(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class l{constructor(e){o(this,"hot",null),o(this,"container",null),o(this,"injected",!1),o(this,"rows",[]),o(this,"columns",[]),o(this,"samples",null),o(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 n={row:e};this.rows.push(n),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),n.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 n={col:e};this.columns.push(n),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),n.table=this.table.table}getHeights(e){this.injected||this.injectTable(),Object(i["arrayEach"])(this.rows,t=>{const{height:n}=t.table.getBoundingClientRect();e(t.row,Math.ceil(n)-1)})}getWidths(e){this.injected||this.injectTable(),Object(i["arrayEach"])(this.columns,t=>{const{width:n}=t.table.getBoundingClientRect();e(t.col,Math.ceil(n))})}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(n=>{Object(i["arrayEach"])(n.strings,n=>{t.appendChild(this.createColElement(n.col,e))})}),t}createRow(e){const{rootDocument:t}=this.hot,n=t.createDocumentFragment(),r=t.createElement("th");return this.hot.hasRowHeaders()&&(this.hot.view.appendRowHeader(e,r),n.appendChild(r)),this.samples.forEach(r=>{Object(i["arrayEach"])(r.strings,r=>{const i=r.col,o=this.hot.getCellMeta(e,i),s=this.hot.getCellRenderer(o),a=t.createElement("td");a.setAttribute("ghost-table",1),s(this.hot,a,e,i,this.hot.colToProp(i),r.value,o),n.appendChild(a)})}),n}appendColumnHeadersRow(){const{rootDocument:e}=this.hot,t=e.createDocumentFragment(),n=[];if(this.hot.hasRowHeaders()){const r=e.createElement("th");n.push([-1,r]),t.appendChild(r)}this.samples.forEach(r=>{Object(i["arrayEach"])(r.strings,r=>{const i=r.col,o=e.createElement("th");n.push([i,o]),t.appendChild(o)})}),this.table.tHead.appendChild(t),Object(i["arrayEach"])(n,e=>{const[t,n]=e;this.hot.view.appendColHeader(t,n)})}createCol(e){const{rootDocument:t}=this.hot,n=t.createDocumentFragment();return this.samples.forEach(r=>{Object(i["arrayEach"])(r.strings,r=>{const i=r.row,o=this.hot.getCellMeta(i,e),s=this.hot.getCellRenderer(o),a=t.createElement("td"),l=t.createElement("tr");a.setAttribute("ghost-table",1),s(this.hot,a,i,e,this.hot.colToProp(e),r.value,o),l.appendChild(a),n.appendChild(l)})}),n}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 n=this.hot.rootDocument.createElement("col");let r=0;t>=0&&e>=0&&(r=this.hot.getCellMeta(t,e).colspan);let i=this.hot.getColWidth(e);if(r>1)for(let o=e+1;o<e+r;o++)i+=this.hot.getColWidth(o);return n.style.width=i+"px",n}createTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,n=t.createDocumentFragment(),i=t.createElement("table"),o=t.createElement("thead"),s=t.createElement("tbody"),a=t.createElement("colgroup"),l=t.createElement("tr"),c=t.createElement("th");return this.isVertical()&&i.appendChild(a),this.isHorizontal()&&(l.appendChild(c),o.appendChild(l),i.style.tableLayout="auto",i.style.width="auto"),i.appendChild(o),this.isVertical()&&s.appendChild(l),i.appendChild(s),Object(r["addClass"])(i,e),n.appendChild(i),{fragment:n,table:i,tHead:o,tBody:s,colGroup:a,tr:l,th:c}}createContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,n=t.createDocumentFragment(),i=t.createElement("div"),o="htGhostTable htAutoSize "+e.trim();return Object(r["addClass"])(i,o),n.appendChild(i),{fragment:n,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,n){(function(e,t){t(n("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,n){return e<12?"오전":"오후"}});return t}))},2421:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  60. //! moment.js locale configuration
  61. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:r,monthsShort:r,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,n){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 n[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 n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},"24b5":function(e,t,n){"use strict";n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return R})),n.d(t,"d",(function(){return M}));n("d9e2");var r=n("29b0"),i=n("ffec"),o=n("97b9");const s="asc",a="desc",l=new Map([[s,[-1,1]],[a,[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 n=new Map;function r(r,o){if(!Object(i["isNumeric"])(r))throw new Error(t(r));if(n.has(r))throw new Error(e(r));n.set(r,o)}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;const[t,r]=l.get(e)||l.get(s);return[...n].sort((e,n)=>e[0]<n[0]?t:r).map(e=>e[1])}return e=Object(o["isFunction"])(e)?e:c,t=Object(o["isFunction"])(t)?t:u,{addItem:r,getItems:a}}var h=n("6906");n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("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 n(n){if(t.has(n))throw new Error(e(n));t.add(n)}function r(){return[...t]}function i(){t.clear()}return e=Object(o["isFunction"])(e)?e:p,{addItem:n,clear:i,getItems:r}}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}),b=f({errorItemExists:m}),v=Object(h["a"])({errorIdExists:m});function w(){return[..._.getItems(),...b.getItems()]}function y(e){const t=Object(r["toUpperCaseFirst"])(e);return v.getItem(t)}function R(e){return!!y(e)}function M(e,t,n){[e,t,n]=E(e,t,n),void 0===y(e)&&S(e,t,n)}function S(e,t,n){const i=Object(r["toUpperCaseFirst"])(e);if(v.hasItem(i))throw new Error(m(i));void 0===n?b.addItem(i):_.addItem(n,i),v.addItem(i,t)}function E(e,t,n){return"function"===typeof e&&(t=e,e=t.PLUGIN_KEY,n=t.PLUGIN_PRIORITY),[e,t,n]}},"24f8":function(e,t,n){var r=n("9490"),i=n("0b16"),o=e.exports;for(var s in r)r.hasOwnProperty(s)&&(o[s]=r[s]);function a(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}o.request=function(e,t){return e=a(e),r.request.call(this,e,t)},o.get=function(e,t){return e=a(e),r.get.call(this,e,t)}},2500:function(e,t,n){"use strict";var r=n("a29f"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},a=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 n={__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,_,b=f[h],v=b.indexOf("]="),w=-1===v?b.indexOf("="):v+1;-1===w?(g=t.decoder(b,s.decoder,A,"key"),_=t.strictNullHandling?null:""):(g=t.decoder(b.slice(0,w),s.decoder,A,"key"),_=r.maybeMap(l(b.slice(w+1),t),(function(e){return t.decoder(e,s.decoder,A,"value")}))),_&&t.interpretNumericEntities&&"iso-8859-1"===A&&(_=a(_)),b.indexOf("[]=")>-1&&(_=o(_)?[_]:_);var y=i.call(n,g);y&&"combine"===t.duplicates?n[g]=r.combine(n[g],_):y&&"last"!==t.duplicates||(n[g]=_)}return n},h=function(e,t,n,r){for(var i=r?t:l(t,n),o=e.length-1;o>=0;--o){var s,a=e[o];if("[]"===a&&n.parseArrays)s=n.allowEmptyArrays&&(""===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{s=n.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,d=parseInt(u,10);n.parseArrays||""!==u?!isNaN(d)&&a!==u&&String(d)===u&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(s=[],s[d]=i):"__proto__"!==u&&(s[u]=i):s={0:i}}i=s}return i},p=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=n.depth>0&&s.exec(o),c=l?o.slice(0,l.index):o,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}var d=0;while(n.depth>0&&null!==(l=a.exec(o))&&d<n.depth){if(d+=1,!n.plainObjects&&i.call(Object.prototype,l[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(l[1])}if(l){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+o.slice(l.index)+"]")}return h(u,t,n,r)}},f=function(e){if(!e)return s;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?s.charset:e.charset,n="undefined"===typeof e.duplicates?s.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");var i="undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||s.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:s.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:s.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:s.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:s.plainObjects,strictDepth:"boolean"===typeof e.strictDepth?!!e.strictDepth:s.strictDepth,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}};e.exports=function(e,t){var n=f(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var i="string"===typeof e?d(e,n):e,o=n.plainObjects?Object.create(null):{},s=Object.keys(i),a=0;a<s.length;++a){var l=s[a],c=p(l,i[l],n,"string"===typeof e);o=r.merge(o,c,n)}return!0===n.allowSparse?o:r.compact(o)}},2533:function(e,t,n){var r=n("8098"),i=n("815f");e.exports=function(e,t){var n=r(e,t);return function(e,t){var r,o="undefined"===typeof t&&"string"===typeof e,s=!o,a=o?e:t,l=s?e.getVNodeKey:void 0,c=i(a);return r=c.length>1?c.map((function(e){return n.convert(e,l)})):n.convert(c[0],l),r}}},25548:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  62. //! moment.js locale configuration
  63. function t(e,t,n,r){switch(n){case"m":return t?"jedna minuta":r?"jednu minutu":"jedne minute"}}function n(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return"jedan sat";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var r=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:n,m:t,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"26d6":function(e,t,n){"use strict";function r(e){return e>=0&&e<=127}Object.defineProperty(t,"__esModule",{value:!0}),t.isASCIIByte=r},"26f9":function(e,t,n){(function(e,t){t(n("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 n(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function i(e){return e%10===0||e>10&&e<20}function o(e){return t[e].split("_")}function s(e,t,n,s){var a=e+" ";return 1===e?a+r(e,t,n[0],s):t?a+(i(e)?o(n)[1]:o(n)[0]):s?a+o(n)[1]:a+(i(e)?o(n)[1]:o(n)[2])}var a=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:n,ss:s,m:r,mm:s,h:r,hh:s,d:r,dd:s,M:r,MM:s,y:r,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return a}))},2714:function(e,t,n){(function(t){var r="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"===typeof i.get?i.get:null,s=r&&Map.prototype.forEach,a="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"===typeof l.get?l.get:null,u=a&&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,b=Function.prototype.toString,v=String.prototype.match,w=String.prototype.slice,y=String.prototype.replace,R=String.prototype.toUpperCase,M=String.prototype.toLowerCase,S=RegExp.prototype.test,E=Array.prototype.concat,T=Array.prototype.join,C=Array.prototype.slice,O=Math.floor,x="function"===typeof BigInt?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,L="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"===typeof Symbol&&"object"===typeof Symbol.iterator,P="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||"symbol")?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,F=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function k(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var i=String(r),o=w.call(t,i.length+1);return y.call(i,n,"$&_")+"."+y.call(y.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var B=n(1),U=B.custom,H=z(U)?U:null;function j(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function V(e){return y.call(String(e),/"/g,"&quot;")}function W(e){return"[object Array]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function Y(e){return"[object Date]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function Q(e){return"[object RegExp]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function X(e){return"[object Error]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function K(e){return"[object String]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function G(e){return"[object Number]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function Z(e){return"[object Boolean]"===ee(e)&&(!P||!("object"===typeof e&&P in e))}function z(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 q(e){if(!e||"object"!==typeof e||!x)return!1;try{return x.call(e),!0}catch(t){}return!1}e.exports=function e(n,r,i,a){var l=r||{};if($(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(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=!$(l,"customInspect")||l.customInspect;if("boolean"!==typeof d&&"symbol"!==d)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(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($(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 n)return"undefined";if(null===n)return"null";if("boolean"===typeof n)return n?"true":"false";if("string"===typeof n)return ce(n,l);if("number"===typeof n){if(0===n)return 1/0/n>0?"0":"-0";var p=String(n);return h?k(n,p):p}if("bigint"===typeof n){var f=String(n)+"n";return h?k(n,f):f}var m="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof i&&(i=0),i>=m&&m>0&&"object"===typeof n)return W(n)?"[Array]":"[Object]";var A=me(l,i);if("undefined"===typeof a)a=[];else if(ne(a,n)>=0)return"[Circular]";function _(t,n,r){if(n&&(a=C.call(a),a.push(n)),r){var o={depth:l.depth};return $(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,i+1,a)}return e(t,l,i+1,a)}if("function"===typeof n&&!Q(n)){var b=te(n),v=ge(n,_);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(v.length>0?" { "+T.call(v,", ")+" }":"")}if(z(n)){var R=I?y.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):L.call(n);return"object"!==typeof n||I?R:de(R)}if(le(n)){for(var S="<"+M.call(String(n.nodeName)),O=n.attributes||[],N=0;N<O.length;N++)S+=" "+O[N].name+"="+j(V(O[N].value),"double",l);return S+=">",n.childNodes&&n.childNodes.length&&(S+="..."),S+="</"+M.call(String(n.nodeName))+">",S}if(W(n)){if(0===n.length)return"[]";var U=ge(n,_);return A&&!fe(U)?"["+Ae(U,A)+"]":"[ "+T.call(U,", ")+" ]"}if(X(n)){var J=ge(n,_);return"cause"in Error.prototype||!("cause"in n)||D.call(n,"cause")?0===J.length?"["+String(n)+"]":"{ ["+String(n)+"] "+T.call(J,", ")+" }":"{ ["+String(n)+"] "+T.call(E.call("[cause]: "+_(n.cause),J),", ")+" }"}if("object"===typeof n&&d){if(H&&"function"===typeof n[H]&&B)return B(n,{depth:m-i});if("symbol"!==d&&"function"===typeof n.inspect)return n.inspect()}if(re(n)){var ue=[];return s&&s.call(n,(function(e,t){ue.push(_(t,n,!0)+" => "+_(e,n))})),pe("Map",o.call(n),ue,A)}if(se(n)){var _e=[];return u&&u.call(n,(function(e){_e.push(_(e,n))})),pe("Set",c.call(n),_e,A)}if(ie(n))return he("WeakMap");if(ae(n))return he("WeakSet");if(oe(n))return he("WeakRef");if(G(n))return de(_(Number(n)));if(q(n))return de(_(x.call(n)));if(Z(n))return de(g.call(n));if(K(n))return de(_(String(n)));if("undefined"!==typeof window&&n===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&n===globalThis||"undefined"!==typeof t&&n===t)return"{ [object globalThis] }";if(!Y(n)&&!Q(n)){var be=ge(n,_),ve=F?F(n)===Object.prototype:n instanceof Object||n.constructor===Object,we=n instanceof Object?"":"null prototype",ye=!ve&&P&&Object(n)===n&&P in n?w.call(ee(n),8,-1):we?"Object":"",Re=ve||"function"!==typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"",Me=Re+(ye||we?"["+T.call(E.call([],ye||[],we||[]),": ")+"] ":"");return 0===be.length?Me+"{}":A?Me+"{"+Ae(be,A)+"}":Me+"{ "+T.call(be,", ")+" }"}return String(n)};var J=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,t){return J.call(e,t)}function ee(e){return _.call(e)}function te(e){if(e.name)return e.name;var t=v.call(b.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function re(e){if(!o||!e||"object"!==typeof e)return!1;try{o.call(e);try{c.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}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(n){}return!1}function oe(e){if(!A||!e||"object"!==typeof e)return!1;try{return A.call(e),!0}catch(t){}return!1}function se(e){if(!c||!e||"object"!==typeof e)return!1;try{c.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function ae(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(n){}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 n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return ce(w.call(e,0,t.maxStringLength),t)+r}var i=y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ue);return j(i,"single",t)}function ue(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+R.call(t.toString(16))}function de(e){return"Object("+e+")"}function he(e){return e+" { ? }"}function pe(e,t,n,r){var i=r?Ae(n,r):T.call(n,", ");return e+" ("+t+") {"+i+"}"}function fe(e){for(var t=0;t<e.length;t++)if(ne(e[t],"\n")>=0)return!1;return!0}function me(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=T.call(Array(e.indent+1)," ")}return{base:n,prev:T.call(Array(t+1),n)}}function Ae(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+T.call(e,","+n)+"\n"+t.prev}function ge(e,t){var n=W(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=$(e,i)?t(e[i],e):""}var o,s="function"===typeof N?N(e):[];if(I){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var l in e)$(e,l)&&(n&&String(Number(l))===l&&l<e.length||I&&o["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"===typeof N)for(var c=0;c<s.length;c++)D.call(e,s[c])&&r.push("["+t(s[c])+"]: "+t(e[s[c]],e));return r}}).call(this,n("c8ba"))},2748:function(e,t,n){"use strict";var r=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=r(n("f140")),o=r(n("1f19")),s=r(n("49dc")),a=r(n("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(s.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 n=t.charAt(2);return"X"===n||"x"===n?a.default(parseInt(t.substr(3),16)):a.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(u),t=Object.keys(i.default).sort(u),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var s=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),a=d(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),a(e)}return function(e){return String(e).replace(s,l)}}()},"27bf":function(e,t,n){"use strict";e.exports=s;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);r.call(this,e),this._transformState={afterTransform:o.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",a)}function a(){var e=this;"function"===typeof this._flush?this._flush((function(t,n){l(e,t,n)})):l(this,null,null)}function l(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),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=n("3fb5"),i.inherits(s,r),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},s.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},s.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.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},s.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},"27c9":function(e,t,n){var r=n("f174"),i=n("1bc6"),o=n("8224");o.elementNames.__proto__=null,o.attributeNames.__proto__=null;var s={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function a(e,t){if(e){var n,r="";for(var s in e)n=e[s],r&&(r+=" "),"foreign"===t.xmlMode&&(s=o.attributeNames[s]||s),r+=s,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n.replace(/\"/g,"&quot;"))+'"');return r}}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 n="",i=0;i<e.length;i++){var o=e[i];"root"===o.type?n+=c(o.children,t):r.isTag(o)?n+=d(o,t):o.type===r.Directive?n+=h(o):o.type===r.Comment?n+=m(o):o.type===r.CDATA?n+=f(o):n+=p(o,t)}return n},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function d(e,t){"foreign"===t.xmlMode&&(e.name=o.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 n="<"+e.name,r=a(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=c(e.children,t)),l[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function h(e){return"<"+e.data+">"}function p(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in s||(n=i.encodeXML(n)),n}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,n){"use strict";n.r(t);var r=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",class:{collapsed:e.isSchemeCollapsed}},[r("div",{staticClass:"scheme-header"},[r("div",{staticClass:"title"},[e._v(" 请选择文档 "),r("i",{staticClass:"el-icon-menu",on:{click:e.toggleSchemePanel}})]),r("div",{staticClass:"search"},[r("el-input",{attrs:{placeholder:"请输入搜索","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.handleClear},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleSearch(t)}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}})],1),r("div",{staticClass:"current-scheme"},[e._v(" 当前文档: "+e._s(e.currentScheme||"已选择方案三")+" ")])]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isSchemeCollapsed,expression:"!isSchemeCollapsed"}],staticClass:"scheme-content"},[r("el-tree",{ref:"documentTree",attrs:{data:e.schemeData,props:e.defaultProps,"default-expanded-keys":e.expandedKeys,"node-key":"id"},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",{on:{click:function(t){return e.onLoadArticle(i.id)}}},[i.children?r("i",{staticClass:"el-icon-folder"}):r("i",{staticClass:"el-icon-document"}),e._v(" "+e._s(n.label)+" ")])])}}],null,!1,541549113)})],1)]):e._e(),r("div",{staticClass:"natural",class:{collapsed:e.isResourceCollapsed}},[r("div",{staticClass:"resource-header-title"},[e._m(1),r("i",{staticClass:"el-icon-menu",on:{click:e.toggleResourcePanel}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isResourceCollapsed,expression:"!isResourceCollapsed"}],staticClass:"resource-container"},[r("div",{staticClass:"resource-header"},[r("el-input",{attrs:{placeholder:"请输入选择","prefix-icon":"el-icon-search",clearable:""},on:{clear:e.handleResourceClear},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleTemplateSearch(t)}},model:{value:e.templateSearchKey,callback:function(t){e.templateSearchKey=t},expression:"templateSearchKey"}})],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},on:{end:e.handleDragEnd},model:{value:t.templates,callback:function(n){e.$set(t,"templates",n)},expression:"category.templates"}},[r("transition-group",e._l(t.templates,(function(n){return r("div",{key:n.dcb_id||n.name,staticClass:"resource-item",attrs:{"data-template-id":n.dcb_id}},[r("el-checkbox",{attrs:{disabled:e.isTemplateUsed(n)},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.dcb_name)+" ")])],1)})),0)],1)],1)],2)})),1)],1)])]),r("div",{staticClass:"leftContent"},[r("div",{staticClass:"catalog-content"},[r("el-tree",{attrs:{data:e.catalogData,props:e.catalogProps,"default-expand-all":"",draggable:"","allow-drop":e.allowDrop,"allow-drag":e.allowDrag},on:{"node-click":e.handleCatalogClick,"node-drag-end":e.handleDragEnd},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.data;return r("span",{staticClass:"custom-tree-node"},[n.isEditing?r("span",[r("el-input",{ref:"editInput",attrs:{size:"mini"},on:{blur:function(t){return e.handleEditComplete(n)}},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEditComplete(n)}},model:{value:n.editingContent,callback:function(t){e.$set(n,"editingContent",t)},expression:"data.editingContent"}})],1):r("span",{on:{dblclick:function(t){return e.handleStartEdit(n)}}},[e._v(" "+e._s(n.label)+" ")])])}}])})],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"},["catalog"===e.activeTab?r("el-tree",{attrs:{data:e.catalogData,props:{children:"children",label:"label"},"node-key":"id",draggable:""},on:{"node-drag-end":e.handleDirectoryDragEnd},scopedSlots:e._u([{key:"default",fn:function(t){t.node;var n=t.data;return r("span",{staticClass:"custom-tree-node"},[n.isEditing?[r("el-input",{ref:"directory-input-"+n.id,attrs:{size:"mini"},on:{blur:function(t){return e.handleDirectorySave(n)}},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleDirectorySave(n)}},model:{value:n.content,callback:function(t){e.$set(n,"content",t)},expression:"data.content"}})]:[r("span",{on:{dblclick:function(t){return e.handleDirectoryEdit(n)}}},[e._v(e._s(n.label))]),r("span",{staticClass:"directory-actions"},[r("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.handleDirectoryEdit(n)}}},[e._v(" 编辑 ")])],1)]],2)}}],null,!1,2982385391)}):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",{ref:"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("div",{staticClass:"module-list-container"},[r("draggable",{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.coms,callback:function(t){e.coms=t},expression:"coms"}},[r("transition-group",{staticStyle:{display:"block"}},[e._l(e.coms,(function(t,i){return[r("div",{key:i,staticClass:"module-item",class:e.comIndex==i?"active-module":""},[r("div",{staticClass:"drag-handle"},[r("img",{staticStyle:{width:"20px"},attrs:{src:n("9bbf"),"icon-class":"drag"}})]),r("div",{staticClass:"module-info"},[r("div",{staticClass:"module-content"},[r("div",{staticClass:"module-category"},[r("span",{staticClass:"label"},[e._v("模块分类:")]),r("span",{staticClass:"value"},[e._v(e._s(e.getCategory(t.category_id)))])]),r("div",{staticClass:"module-name"},[r("span",{staticClass:"label"},[e._v("模块名称:")]),r("span",{staticClass:"value"},[e._v(e._s(t.dcb_name))])])])]),r("div",{staticClass:"module-actions"},["document"!==e.type?r("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(n){return e.onSaveTemplate(t)}}},[r("i",{staticClass:"el-icon-document-add"}),e._v(" 保存 ")]):e._e(),r("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(n){return e.onEdit(i,1!==t.isEdit?1:2)}}},[r("i",{class:1!==t.isEdit?"el-icon-edit":"el-icon-view"}),e._v(" "+e._s(1!==t.isEdit?"编辑":"预览")+" ")]),r("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(t){return e.onRemoveMdel(i)}}},[r("i",{staticClass:"el-icon-delete"}),e._v(" 删除 ")])],1)])]}))],2)],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-width":"120px"}},[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),r("el-form-item",{attrs:{label:"文档分类:"}},[r("el-select",{staticStyle:{width:"60%"},attrs:{placeholder:"请选择文档模板类别",disabled:e.docAttr.id>0},model:{value:e.docForm.dcm_category_id,callback:function(t){e.$set(e.docForm,"dcm_category_id",t)},expression:"docForm.dcm_category_id"}},e._l(e.articleCategoryList,(function(e,t){return r("el-option",{key:t,attrs:{label:e.name,value:e.id}})})),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,n=e._self._c||t;return n("div",{staticClass:"creator"},[n("span",[e._v("创建者:")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title-left"},[n("span",[e._v("请选择模块")])])}],o=n("d12a"),s=o["a"],a=(n("8c75"),n("2877")),l=Object(a["a"])(s,r,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 n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},2921:function(e,t,n){(function(e,t){t(n("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,n){return e<12?n?"sa":"SA":n?"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,n){(function(e,t){t(n("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,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=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 n}))},2953:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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((n,r)=>e.call(t,r,n))}*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=r},"29b0":function(e,t,n){"use strict";n.r(t),n.d(t,"toUpperCaseFirst",(function(){return o})),n.d(t,"equalsIgnoreCase",(function(){return s})),n.d(t,"randomString",(function(){return a})),n.d(t,"isPercentValue",(function(){return l})),n.d(t,"substitute",(function(){return c})),n.d(t,"stripTags",(function(){return u})),n.d(t,"sanitize",(function(){return d}));n("14d9");var r=n("c0c4"),i=n("7b9c");function o(e){return e[0].toUpperCase()+e.substr(1)}function s(){const e=[];for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=n.length;while(o){o-=1;const t=Object(i["stringify"])(n[o]).toLowerCase();-1===e.indexOf(t)&&e.push(t)}return 1===e.length}function a(){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,n)=>"\\"===e.charAt(0)?e.substr(1,e.length-1):void 0===t[n]?"":t[n])}function u(e){return d(""+e,{ALLOWED_TAGS:[]})}function d(e,t){return r.sanitize(e,t)}},"2aa9":function(e,t,n){"use strict";var r=n("00ce"),i=r("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(o){i=null}e.exports=i},"2aee":function(e,t,n){"use strict";var r=n("4111"),i=n("d70e"),o=n("4dd0"),s=n("fda6"),a=n("a099"),l=n("8707").Buffer;function c(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,u=e.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,h=a.pbkdf2Sync(t,n,r,d,"sha1"),p=s.createDecipheriv(o,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 n,i,s=o(e,t),a=s.tag,u=s.data;switch(a){case"CERTIFICATE":i=r.certificate.decode(u,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=r.PublicKey.decode(u,"der")),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.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=r.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":u=r.EncryptedPrivateKey.decode(u,"der"),u=c(u,t);case"PRIVATE KEY":switch(i=r.PrivateKey.decode(u,"der"),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:r.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=r.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(u,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(u,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(u,"der")};case"EC PRIVATE KEY":return u=r.ECPrivateKey.decode(u,"der"),{curve:u.parameters.value,privateKey:u.privateKey};default:throw new Error("unknown key type "+a)}}u.signature=r.signature,e.exports=u},"2bc1":function(e,t,n){e.exports=Ae;var r=n("6306"),i=n("70fd"),o=n("cdfc"),s=n("6150"),a=0,l=a++,c=a++,u=a++,d=a++,h=a++,p=a++,f=a++,m=a++,A=a++,g=a++,_=a++,b=a++,v=a++,w=a++,y=a++,R=a++,M=a++,S=a++,E=a++,T=a++,C=a++,O=a++,x=a++,N=a++,L=a++,I=a++,P=a++,D=a++,F=a++,k=a++,B=a++,U=a++,H=a++,j=a++,V=a++,W=a++,Y=a++,Q=a++,X=a++,K=a++,G=a++,Z=a++,z=a++,q=a++,J=a++,$=a++,ee=a++,te=a++,ne=a++,re=a++,ie=a++,oe=a++,se=a++,ae=a++,le=a++,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,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function me(e,t){var n=e.toLowerCase();return function(r){r===n||r===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=M,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:B,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=U:(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=b,this._sectionStart=this._index+1):"'"===e?(this._state=v,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:R},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=E,this._sectionStart=this._index+1):this._state=R},Ae.prototype._stateInComment=function(e){"-"===e&&(this._state=T)},Ae.prototype._stateAfterComment1=function(e){this._state="-"===e?C:E},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=E)},Ae.prototype._stateBeforeCdata1=fe("C",x,R),Ae.prototype._stateBeforeCdata2=fe("D",N,R),Ae.prototype._stateBeforeCdata3=fe("A",L,R),Ae.prototype._stateBeforeCdata4=fe("T",I,R),Ae.prototype._stateBeforeCdata5=fe("A",P,R),Ae.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=D,this._sectionStart=this._index+1):(this._state=R,this._index--)},Ae.prototype._stateInCdata=function(e){"]"===e&&(this._state=F)},Ae.prototype._stateAfterCdata1=function(e){this._state="]"===e?k:D},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=D)},Ae.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=H:"t"===e||"T"===e?this._state=z:(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",j),Ae.prototype._stateBeforeScript2=me("I",V),Ae.prototype._stateBeforeScript3=me("P",W),Ae.prototype._stateBeforeScript4=me("T",Y),Ae.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=de),this._state=u,this._index--},Ae.prototype._stateAfterScript1=fe("R",X,l),Ae.prototype._stateAfterScript2=fe("I",K,l),Ae.prototype._stateAfterScript3=fe("P",G,l),Ae.prototype._stateAfterScript4=fe("T",Z,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",q),Ae.prototype._stateBeforeStyle2=me("L",J),Ae.prototype._stateBeforeStyle3=me("E",$),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",ne,l),Ae.prototype._stateAfterStyle3=fe("E",re,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("#",oe,se),Ae.prototype._stateBeforeNumericEntity=fe("X",le,ae),Ae.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?s: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 n=this._buffer.substr(e,t);if(o.hasOwnProperty(n))return this._emitPartial(o[n]),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 n=this._sectionStart+e;if(n!==this._index){var i=this._buffer.substring(n,this._index),o=parseInt(i,t);this._emitPartial(r(o)),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===b?this._stateInAttributeValueDoubleQuotes(e):this._state===v?this._stateInAttributeValueSingleQuotes(e):this._state===w?this._stateInAttributeValueNoQuotes(e):this._state===y?this._stateBeforeDeclaration(e):this._state===R?this._stateInDeclaration(e):this._state===M?this._stateInProcessingInstruction(e):this._state===S?this._stateBeforeComment(e):this._state===E?this._stateInComment(e):this._state===T?this._stateAfterComment1(e):this._state===C?this._stateAfterComment2(e):this._state===O?this._stateBeforeCdata1(e):this._state===x?this._stateBeforeCdata2(e):this._state===N?this._stateBeforeCdata3(e):this._state===L?this._stateBeforeCdata4(e):this._state===I?this._stateBeforeCdata5(e):this._state===P?this._stateBeforeCdata6(e):this._state===D?this._stateInCdata(e):this._state===F?this._stateAfterCdata1(e):this._state===k?this._stateAfterCdata2(e):this._state===B?this._stateBeforeSpecial(e):this._state===U?this._stateBeforeSpecialEnd(e):this._state===H?this._stateBeforeScript1(e):this._state===j?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===W?this._stateBeforeScript4(e):this._state===Y?this._stateBeforeScript5(e):this._state===Q?this._stateAfterScript1(e):this._state===X?this._stateAfterScript2(e):this._state===K?this._stateAfterScript3(e):this._state===G?this._stateAfterScript4(e):this._state===Z?this._stateAfterScript5(e):this._state===z?this._stateBeforeStyle1(e):this._state===q?this._stateBeforeStyle2(e):this._state===J?this._stateBeforeStyle3(e):this._state===$?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===ne?this._stateAfterStyle3(e):this._state===re?this._stateAfterStyle4(e):this._state===ie?this._stateBeforeEntity(e):this._state===oe?this._stateBeforeNumericEntity(e):this._state===se?this._stateInNamedEntity(e):this._state===ae?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===D||this._state===F||this._state===k?this._cbs.oncdata(e):this._state===E||this._state===T||this._state===C?this._cbs.oncomment(e):this._state!==se||this._xmlMode?this._state!==ae||this._xmlMode?this._state!==le||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==_&&this._state!==g&&this._state!==A&&this._state!==v&&this._state!==b&&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,n){(function(e,t){t(n("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,n){return e<12?n?"vm":"VM":n?"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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("591a"),i=n("d3a3"),o=n("e871"),s=n("0b16");let a;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){a=e}function A(e){void 0!==a&&a.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 b(e){return _(e.scheme)}function v(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 R(e,t=!1){let n=e.scheme+":";if(null!==e.host?(n+="//",w(e)&&(n+=e.username,""!==e.password&&(n+=":"+e.password),n+="@"),n+=M(e.host),null!==e.port&&(n+=":"+e.port)):null===e.host&&"file"===e.scheme&&(n+="//"),e._cannotBeABaseURLFlag)n+=e.path[0];else for(const r of e.path)n+="/"+r;return null!==e.query&&(n+="?"+e.query),t||null===e.fragment||(n+="#"+e.fragment),n}function M(e){return r.isNumber(e)?S(e):r.isArray(e)?"["+E(e)+"]":e}function S(e){let t="",n=e;for(let r=1;r<=4;r++)t=(n%256).toString()+t,4!==r&&(t="."+t),n=Math.floor(n/256);return t}function E(e){let t="",n=null,r=-1,i=0,o=0;for(let a=0;a<8;a++)if(0===e[a]){i=1;for(let t=a+1;t<8;t++){if(0!==e[t])break;i++}i>o&&(o=i,r=a)}o>1&&(n=r);let s=!1;for(let a=0;a<8;a++)s&&0===e[a]||(s&&(s=!1),n!==a?(t+=e[a].toString(16),7!==a&&(t+=":")):(t+=0===a?"::":":",s=!0));return t}function T(e,t,n){const r=C(e,t,n);if(null===r)return null;if("blob"!==r.scheme)return r;const i=V(r);return r._blobURLEntry=null!==i?i:null,r}function C(e,t,n,s,a){if(void 0===s){s=g();const t=/^[\u0000-\u001F\u0020]+/,n=/[\u0000-\u001F\u0020]+$/;(t.test(e)||n.test(e))&&A("Input string contains leading or trailing control characters or space."),e=e.replace(t,""),e=e.replace(n,"")}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===a?i.ParserState.SchemeStart:a;void 0===t&&(t=null);let m=void 0===n||"replacement"===n||"UTF-16BE"===n||"UTF-16LE"===n?"UTF-8":n,y="",R=!1,M=!1,S=!1;const E="",T=new r.StringWalker(e);while(1){switch(f){case i.ParserState.SchemeStart:if(o.codePoint.ASCIIAlpha.test(T.c()))y+=T.c().toLowerCase(),f=i.ParserState.Scheme;else{if(void 0!==a)return A("Invalid scheme start character."),null;f=i.ParserState.NoScheme,T.pointer--}break;case i.ParserState.Scheme:if(o.codePoint.ASCIIAlphanumeric.test(T.c())||"+"===T.c()||"-"===T.c()||"."===T.c())y+=T.c().toLowerCase();else{if(":"!==T.c()){if(void 0===a){y="",f=i.ParserState.NoScheme,T.pointer=0;continue}return A("Invalid input string."),null}if(void 0!==a){if(_(s.scheme)&&!_(y))return s;if(!_(s.scheme)&&_(y))return s;if((w(s)||null!==s.port)&&"file"===y)return s;if("file"===s.scheme&&(""===s.host||null===s.host))return s}if(s.scheme=y,void 0!==a)return s.port===v(s.scheme)&&(s.port=null),s;y="","file"===s.scheme?(T.remaining().startsWith("//")||A("Invalid file URL scheme, '//' expected."),f=i.ParserState.File):b(s)&&null!==t&&t.scheme===s.scheme?f=i.ParserState.SpecialRelativeOrAuthority:b(s)?f=i.ParserState.SpecialAuthoritySlashes:T.remaining().startsWith("/")?(f=i.ParserState.PathOrAuthority,T.pointer++):(s._cannotBeABaseURLFlag=!0,s.path.push(""),f=i.ParserState.CannotBeABaseURLPath)}break;case i.ParserState.NoScheme:if(null===t||t._cannotBeABaseURLFlag&&"#"!==T.c())return A("Invalid input string."),null;t._cannotBeABaseURLFlag&&"#"===T.c()?(s.scheme=t.scheme,s.path=o.list.clone(t.path),s.query=t.query,s.fragment="",s._cannotBeABaseURLFlag=!0,f=i.ParserState.Fragment):"file"!==t.scheme?(f=i.ParserState.Relative,T.pointer--):(f=i.ParserState.File,T.pointer--);break;case i.ParserState.SpecialRelativeOrAuthority:"/"===T.c()&&T.remaining().startsWith("/")?(f=i.ParserState.SpecialAuthorityIgnoreSlashes,T.pointer++):(A("Invalid input string."),f=i.ParserState.Relative,T.pointer--);break;case i.ParserState.PathOrAuthority:"/"===T.c()?f=i.ParserState.Authority:(f=i.ParserState.Path,T.pointer--);break;case i.ParserState.Relative:if(null===t)throw new Error("Invalid parser state. Base URL is null.");switch(s.scheme=t.scheme,T.c()){case E:s.username=t.username,s.password=t.password,s.host=t.host,s.port=t.port,s.path=o.list.clone(t.path),s.query=t.query;break;case"/":f=i.ParserState.RelativeSlash;break;case"?":s.username=t.username,s.password=t.password,s.host=t.host,s.port=t.port,s.path=o.list.clone(t.path),s.query="",f=i.ParserState.Query;break;case"#":s.username=t.username,s.password=t.password,s.host=t.host,s.port=t.port,s.path=o.list.clone(t.path),s.query=t.query,s.fragment="",f=i.ParserState.Fragment;break;default:b(s)&&"\\"===T.c()?(A("Invalid input string."),f=i.ParserState.RelativeSlash):(s.username=t.username,s.password=t.password,s.host=t.host,s.port=t.port,s.path=o.list.clone(t.path),0!==s.path.length&&s.path.splice(s.path.length-1,1),f=i.ParserState.Path,T.pointer--);break}break;case i.ParserState.RelativeSlash:if(!b(s)||"/"!==T.c()&&"\\"!==T.c())if("/"===T.c())f=i.ParserState.Authority;else{if(null===t)throw new Error("Invalid parser state. Base URL is null.");s.username=t.username,s.password=t.password,s.host=t.host,s.port=t.port,f=i.ParserState.Path,T.pointer--}else"\\"===T.c()&&A("Invalid input string."),f=i.ParserState.SpecialAuthorityIgnoreSlashes;break;case i.ParserState.SpecialAuthoritySlashes:"/"===T.c()&&T.remaining().startsWith("/")?(f=i.ParserState.SpecialAuthorityIgnoreSlashes,T.pointer++):(A("Expected '//'."),f=i.ParserState.SpecialAuthorityIgnoreSlashes,T.pointer--);break;case i.ParserState.SpecialAuthorityIgnoreSlashes:"/"!==T.c()&&"\\"!==T.c()?(f=i.ParserState.Authority,T.pointer--):A("Unexpected '/' or '\\'.");break;case i.ParserState.Authority:if("@"===T.c()){A("Unexpected '@'."),R&&(y="%40"+y),R=!0;for(const e of y){if(":"===e&&!S){S=!0;continue}const t=X(e,h);S?s.password+=t:s.username+=t}y=""}else if(T.c()===E||"/"===T.c()||"?"===T.c()||"#"===T.c()||b(s)&&"\\"===T.c()){if(R&&""===y)return A("Invalid input string."),null;T.pointer-=y.length+1,y="",f=i.ParserState.Host}else y+=T.c();break;case i.ParserState.Host:case i.ParserState.Hostname:if(void 0!==a&&"file"===s.scheme)T.pointer--,f=i.ParserState.FileHost;else if(":"!==T.c()||M)if(T.c()===E||"/"===T.c()||"?"===T.c()||"#"===T.c()||b(s)&&"\\"===T.c()){if(T.pointer--,b(s)&&""===y)return A("Invalid input string."),null;if(void 0!==a&&""===y&&(w(s)||null!==s.port))return A("Invalid input string."),s;const e=k(y,!b(s));if(null===e)return null;if(s.host=e,y="",f=i.ParserState.PathStart,void 0!==a)return s}else"["===T.c()&&(M=!0),"]"===T.c()&&(M=!1),y+=T.c();else{if(""===y)return A("Invalid input string."),null;const e=k(y,!b(s));if(null===e)return null;if(s.host=e,y="",f=i.ParserState.Port,a===i.ParserState.Hostname)return s}break;case i.ParserState.Port:if(o.codePoint.ASCIIDigit.test(T.c()))y+=T.c();else{if(!(T.c()===E||"/"===T.c()||"?"===T.c()||"#"===T.c()||b(s)&&"\\"===T.c()||a))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;s.port=e===v(s.scheme)?null:e,y=""}if(void 0!==a)return s;f=i.ParserState.PathStart,T.pointer--}break;case i.ParserState.File:if(s.scheme="file","/"===T.c()||"\\"===T.c())"\\"===T.c()&&A("Invalid input string."),f=i.ParserState.FileSlash;else if(null!==t&&"file"===t.scheme)switch(T.c()){case E:s.host=t.host,s.path=o.list.clone(t.path),s.query=t.query;break;case"?":s.host=t.host,s.path=o.list.clone(t.path),s.query="",f=i.ParserState.Query;break;case"#":s.host=t.host,s.path=o.list.clone(t.path),s.query=t.query,s.fragment="",f=i.ParserState.Fragment;break;default:F(T.substring())?A("Unexpected windows drive letter in input string."):(s.host=t.host,s.path=o.list.clone(t.path),I(s)),f=i.ParserState.Path,T.pointer--;break}else f=i.ParserState.Path,T.pointer--;break;case i.ParserState.FileSlash:"/"===T.c()||"\\"===T.c()?("\\"===T.c()&&A("Invalid input string."),f=i.ParserState.FileHost):(null===t||"file"!==t.scheme||F(T.substring())||(P(t.path[0])?s.path.push(t.path[0]):s.host=t.host),f=i.ParserState.Path,T.pointer--);break;case i.ParserState.FileHost:if(T.c()===E||"/"===T.c()||"\\"===T.c()||"?"===T.c()||"#"===T.c())if(T.pointer--,void 0===a&&D(y))A("Unexpected windows drive letter in input string."),f=i.ParserState.Path;else if(""===y){if(s.host="",void 0!==a)return s;f=i.ParserState.PathStart}else{let e=k(y,!b(s));if(null===e)return null;if("localhost"===e&&(e=""),s.host=e,void 0!==a)return s;y="",f=i.ParserState.PathStart}else y+=T.c();break;case i.ParserState.PathStart:b(s)?("\\"===T.c()&&A("Invalid input string."),f=i.ParserState.Path,"/"!==T.c()&&"\\"!==T.c()&&T.pointer--):void 0===a&&"?"===T.c()?(s.query="",f=i.ParserState.Query):void 0===a&&"#"===T.c()?(s.fragment="",f=i.ParserState.Fragment):T.c()!==E&&(f=i.ParserState.Path,"/"!==T.c()&&T.pointer--);break;case i.ParserState.Path:if(T.c()===E||"/"===T.c()||b(s)&&"\\"===T.c()||void 0===a&&("?"===T.c()||"#"===T.c())){if(b(s)&&"\\"===T.c()&&A("Invalid input string."),L(y))I(s),"/"===T.c()||b(s)&&"\\"===T.c()||s.path.push("");else if(!N(y)||"/"===T.c()||b(s)&&"\\"===T.c()){if(!N(y)){if("file"===s.scheme&&0===s.path.length&&D(y)){null!==s.host&&""!==s.host&&(A("Invalid input string."),s.host="");const e=Array.from(y);y=e.slice(0,1)+":"+e.slice(2)}s.path.push(y)}}else s.path.push("");if(y="","file"===s.scheme&&(T.c()===E||"?"===T.c()||"#"===T.c()))while(s.path.length>1&&""===s.path[0])A("Invalid input string."),s.path.splice(0,1);"?"===T.c()&&(s.query="",f=i.ParserState.Query),"#"===T.c()&&(s.fragment="",f=i.ParserState.Fragment)}else p.test(T.c())||"%"===T.c()||A("Character is not a URL code point or a percent encoded character."),"%"!==T.c()||/^[0-9a-fA-F][0-9a-fA-F]/.test(T.remaining())||A("Percent encoded character must be followed by two hex digits."),y+=X(T.c(),d);break;case i.ParserState.CannotBeABaseURLPath:"?"===T.c()?(s.query="",f=i.ParserState.Query):"#"===T.c()?(s.fragment="",f=i.ParserState.Fragment):(T.c()===E||p.test(T.c())||"%"===T.c()||A("Character is not a URL code point or a percent encoded character."),"%"!==T.c()||/^[0-9a-fA-F][0-9a-fA-F]/.test(T.remaining())||A("Percent encoded character must be followed by two hex digits."),T.c()!==E&&(s.path[0]+=X(T.c(),c)));break;case i.ParserState.Query:if("UTF-8"===m||b(s)&&"ws"!==s.scheme&&"wss"!==s.scheme||(m="UTF-8"),void 0===a&&"#"===T.c())s.fragment="",f=i.ParserState.Fragment;else if(T.c()!==E){if(p.test(T.c())||"%"===T.c()||A("Character is not a URL code point or a percent encoded character."),"%"!==T.c()||/^[0-9a-fA-F][0-9a-fA-F]/.test(T.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=r.utf8Encode(T.c());if(e.length>=3&&38===e[0]&&35===e[1]&&59===e[e.length-1])e=e.subarray(2,e.length-1),s.query+="%26%23"+o.byteSequence.isomorphicDecode(e)+"%3B";else for(const t of e)t<33||t>126||34===t||35===t||60===t||62===t||39===t&&b(s)?s.query+=W(t):s.query+=String.fromCharCode(t)}break;case i.ParserState.Fragment:T.c()===E||("\0"===T.c()?A("NULL character in input string."):(p.test(T.c())||"%"===T.c()||A("Unexpected character in fragment string."),"%"!==T.c()||/^[A-Za-z0-9][A-Za-z0-9]/.test(T.remaining())||A("Unexpected character in fragment string."),s.fragment+=X(T.c(),u)));break}if(T.eof)break;T.pointer++}return s}function O(e,t){let n="";for(const r of t)n+=X(r,h);e.username=n}function x(e,t){let n="";for(const r of t)n+=X(r,h);e.password=n}function N(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&&P(t[0])||e.path.splice(e.path.length-1,1))}function P(e){return e.length>=2&&o.codePoint.ASCIIAlpha.test(e[0])&&":"===e[1]}function D(e){return e.length>=2&&o.codePoint.ASCIIAlpha.test(e[0])&&(":"===e[1]||"|"===e[1])}function F(e){return e.length>=2&&D(e)&&(2===e.length||"/"===e[2]||"\\"===e[2]||"?"===e[2]||"#"===e[2])}function k(e,t=!1){if(e.startsWith("["))return e.endsWith("]")?H(e.substring(1,e.length-1)):(A("Expected ']' after '['."),null);if(t)return j(e);const n=r.utf8Decode(Q(e)),i=ee(n);if(null===i)return A("Invalid domain."),null;if(f.test(i))return A("Invalid domain."),null;const o=U(i);return null===o||r.isNumber(o)?o:i}function B(e,t={value:!1}){let n=10;if(e.startsWith("0x")||e.startsWith("0X")?(t.value=!0,e=e.substr(2),n=16):e.length>=2&&"0"===e[0]&&(t.value=!0,e=e.substr(1),n=8),""===e)return 0;const r=10===n?/^[0-9]+$/:16===n?/^[0-9A-Fa-f]+$/:/^[0-7]+$/;return r.test(e)?parseInt(e,n):null}function U(e){const t={value:!1},n=e.split(".");if(""===n[n.length-1]&&(t.value=!0,n.length>1&&n.pop()),n.length>4)return e;const r=[];for(const s of n){if(""===s)return e;const n=B(s,t);if(null===n)return e;r.push(n)}t.value&&A("Invalid IP v4 address.");for(let s=0;s<r.length;s++){const e=r[s];if(e>255&&(A("Invalid IP v4 address."),s<r.length-1))return null}if(r[r.length-1]>=Math.pow(256,5-r.length))return A("Invalid IP v4 address."),null;let i=r[r.length-1];r.pop();let o=0;for(const s of r)i+=s*Math.pow(256,3-o),o++;return i}function H(e){const t="",n=[0,0,0,0,0,0,0,0];let i=0,s=null;const a=new r.StringWalker(e);if(":"===a.c()){if(!a.remaining().startsWith(":"))return A("Invalid IP v6 address."),null;a.pointer+=2,i+=1,s=i}while(a.c()!==t){if(8===i)return A("Invalid IP v6 address."),null;if(":"===a.c()){if(null!==s)return A("Invalid IP v6 address."),null;a.pointer++,i++,s=i;continue}let e=0,r=0;while(r<4&&o.codePoint.ASCIIHexDigit.test(a.c()))e=16*e+parseInt(a.c(),16),a.pointer++,r++;if("."===a.c()){if(0===r)return A("Invalid IP v6 address."),null;if(a.pointer-=r,i>6)return A("Invalid IP v6 address."),null;let e=0;while(a.c()!==t){let t=null;if(e>0){if(!("."===a.c()&&e<4))return A("Invalid IP v6 address."),null;a.pointer++}if(!o.codePoint.ASCIIDigit.test(a.c()))return A("Invalid IP v6 address."),null;while(o.codePoint.ASCIIDigit.test(a.c())){const e=parseInt(a.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;a.pointer++}if(null===t)return A("Invalid IP v6 address."),null;n[i]=256*n[i]+t,e++,2!==e&&4!==e||i++}if(4!==e)return A("Invalid IP v6 address."),null;break}if(":"===a.c()){if(a.pointer++,a.c()===t)return A("Invalid IP v6 address."),null}else if(a.c()!==t)return A("Invalid IP v6 address."),null;n[i]=e,i++}if(null!==s){let e=i-s;i=7;while(0!==i&&e>0)[n[i],n[s+e-1]]=[n[s+e-1],n[i]],i--,e--}else if(null===s&&8!==i)return A("Invalid IP v6 address."),null;return n}function j(e){const t=/[\x00\t\f\r #/:?@\[\\\]]/;if(t.test(e))return A("Invalid host string."),null;let n="";for(const r of e)n+=X(r,c);return n}function V(e){return null}function W(e){return"%"+("00"+e.toString(16).toUpperCase()).slice(-2)}function Y(e){const t=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,n=new Uint8Array(e.length);let i=0;for(let o=0;o<e.length;o++){const s=e[o];if(37!==s)n[i]=s,i++;else if(37===s&&o>=e.length-2)n[i]=s,i++;else if(37!==s||t(e[o+1])&&t(e[o+2])){const t=parseInt(r.utf8Decode(Uint8Array.of(e[o+1],e[o+2])),16);n[i]=t,i++,o+=2}else n[i]=s,i++}return n.subarray(0,i)}function Q(e){return Y(r.utf8Encode(e))}function X(e,t){if(!t.test(e))return e;const n=r.utf8Encode(e);let i="";for(const r of n)i+=W(r);return i}function K(e,t){return e===t}function G(e,t,n=!1){return R(e,n)===R(t,n)}function Z(e){return z(r.utf8Encode(e))}function z(e){const t=[];let n=[];for(const r of e)38===r?(t.push(Uint8Array.from(n)),n=[]):n.push(r);0!==n.length&&t.push(Uint8Array.from(n));const i=[];for(const o of t){if(0===o.length)continue;const e=o.indexOf(61),t=-1!==e?o.slice(0,e):o,n=-1!==e?o.slice(e+1):new Uint8Array;for(let r=0;r<t.length;r++)43===t[r]&&(t[r]=32);for(let r=0;r<n.length;r++)43===n[r]&&(n[r]=32);const s=r.utf8Decode(t),a=r.utf8Decode(n);i.push([s,a])}return i}function q(e){let t="";for(const n of e)t+=32===n?"+":42===n||45===n||46===n||n>=48&&n<=57||n>=65&&n<=90||95===n||n>=97&&n<=122?String.fromCodePoint(n):W(n);return t}function J(e,t){const n=void 0===t||"replacement"===t||"UTF-16BE"===t||"UTF-16LE"===t?"UTF-8":t;if("UTF-8"!==n.toUpperCase())throw new Error("Only UTF-8 encoding is supported.");let i="";for(const o of e){const e=q(r.utf8Encode(o[0]));let t=o[1];t=q(r.utf8Encode(t)),""!==i&&(i+="&"),i+=e+"="+t}return i}function $(e){switch(e.scheme){case"blob":e._blobURLEntry;const t=C(e.path[0]);return null===t?i.OpaqueOrigin:$(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 n=s.domainToASCII(e);return""===n?(A("Invalid domain name."),null):n}function te(e,t=!1){const n=s.domainToUnicode(e);return""===n&&A("Invalid domain name."),n}function ne(e){if(""===e[0]&&""===e[1]&&null===e[2]&&null===e[3])return"null";let t=e[0]+"://"+M(e[1]);return null!==e[2]&&(t+=":"+e[2].toString()),t}t.setValidationErrorCallback=m,t.newURL=g,t.isSpecialScheme=_,t.isSpecial=b,t.defaultPort=v,t.includesCredentials=w,t.cannotHaveAUsernamePasswordPort=y,t.urlSerializer=R,t.hostSerializer=M,t.iPv4Serializer=S,t.iPv6Serializer=E,t.urlParser=T,t.basicURLParser=C,t.setTheUsername=O,t.setThePassword=x,t.isSingleDotPathSegment=N,t.isDoubleDotPathSegment=L,t.shorten=I,t.isNormalizedWindowsDriveLetter=P,t.isWindowsDriveLetter=D,t.startsWithAWindowsDriveLetter=F,t.hostParser=k,t.iPv4NumberParser=B,t.iPv4Parser=U,t.iPv6Parser=H,t.opaqueHostParser=j,t.resolveABlobURL=V,t.percentEncode=W,t.percentDecode=Y,t.stringPercentDecode=Q,t.utf8PercentEncode=X,t.hostEquals=K,t.urlEquals=G,t.urlEncodedStringParser=Z,t.urlEncodedParser=z,t.urlEncodedByteSerializer=q,t.urlEncodedSerializer=J,t.origin=$,t.domainToASCII=ee,t.domainToUnicode=te,t.asciiSerializationOfAnOrigin=ne},"2bfc":function(e,t,n){},"2c0f":function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n("44e8").EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.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,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},"2c53":function(e,t,n){},"2c63":function(e,t,n){e.exports=n("dc14")},"2c98":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("a45a");class s{constructor(e){this._nodeList=[],this._recordQueue=[],this._callback=e;const t=r.dom.window;o.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 n=!1;const r=t;for(const s of e._registeredObserverList)if(s.observer===this){n=!0;for(const e of this._nodeList)o.list.remove(e._registeredObserverList,e=>i.Guard.isTransientRegisteredObserver(e)&&e.source===s);s.options=r}n||(e._registeredObserverList.push({observer:this,options:t}),this._nodeList.push(e))}disconnect(){for(const e of this._nodeList)o.list.remove(e._registeredObserverList,e=>e.observer===this);this._recordQueue=[]}takeRecords(){const e=this._recordQueue;return this._recordQueue=[],e}}t.MutationObserverImpl=s},"2cb8":function(e,t,n){},"2ceb":function(e,t,n){"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,n){},"2e8c":function(e,t,n){(function(e,t){t(n("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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("0fc1"),s=n("9389"),a=n("4b7d"),l=n("3d7e"),c=n("ba82");function u(e,t=!1){return{[Symbol.iterator](){let n=e;while(n&&i.Guard.isTextNode(n._previousSibling))n=n._previousSibling;return{next(){if(n&&!t&&n===e&&(n=i.Guard.isTextNode(n._nextSibling)?n._nextSibling:null),null===n)return{done:!0,value:null};{const e={done:!1,value:n};return n=i.Guard.isTextNode(n._nextSibling)?n._nextSibling:null,e}}}}}}function d(e,t=!1){return{[Symbol.iterator](){let n=e;while(n&&i.Guard.isExclusiveTextNode(n._previousSibling))n=n._previousSibling;return{next(){if(n&&!t&&n===e&&(n=i.Guard.isExclusiveTextNode(n._nextSibling)?n._nextSibling:null),null===n)return{done:!0,value:null};{const e={done:!1,value:n};return n=i.Guard.isExclusiveTextNode(n._nextSibling)?n._nextSibling:null,e}}}}}}function h(e){let t="",n=a.tree_getFirstDescendantNode(e,!1,!1,e=>i.Guard.isTextNode(e));while(null!==n)t+=n._data,n=a.tree_getNextDescendantNode(e,n,!1,!1,e=>i.Guard.isTextNode(e));return t}function p(e,t){const n=e._data.length;if(t>n)throw new o.IndexSizeError;const i=n-t,u=l.characterData_substringData(e,t,i),d=s.create_text(e._nodeDocument,u),h=e._parent;if(null!==h){c.mutation_insert(d,h,e._nextSibling);for(const n of r.dom.rangeList){n._start[0]===e&&n._start[1]>t&&(n._start[0]=d,n._start[1]-=t),n._end[0]===e&&n._end[1]>t&&(n._end[0]=d,n._end[1]-=t);const r=a.tree_index(e);n._start[0]===h&&n._start[1]===r+1&&n._start[1]++,n._end[0]===h&&n._end[1]===r+1&&n._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,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(a(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,s=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),l=r[n];n<o;l=r[++n])b(l)||!E(l)?s+=" "+l:s+=" "+a(l);return s},t.deprecate=function(n,r){if("undefined"!==typeof e&&!0===e.noDeprecation)return n;if("undefined"===typeof e)return function(){return t.deprecate(n,r).apply(this,arguments)};var i=!1;function o(){if(!i){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}return o};var o,s={};function a(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),_(n)?r.showHidden=n:n&&t._extend(r,n),M(r.showHidden)&&(r.showHidden=!1),M(r.depth)&&(r.depth=2),M(r.colors)&&(r.colors=!1),M(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),d(r,e,r.depth)}function l(e,t){var n=a.styles[t];return n?"["+a.colors[n][0]+"m"+e+"["+a.colors[n][1]+"m":e}function c(e,t){return e}function u(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function d(e,n,r){if(e.customInspect&&n&&O(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return y(i)||(i=d(e,i,r)),i}var o=h(e,n);if(o)return o;var s=Object.keys(n),a=u(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),C(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(n);if(0===s.length){if(O(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(S(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(T(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return p(n)}var c,_="",b=!1,v=["{","}"];if(g(n)&&(b=!0,v=["[","]"]),O(n)){var w=n.name?": "+n.name:"";_=" [Function"+w+"]"}return S(n)&&(_=" "+RegExp.prototype.toString.call(n)),T(n)&&(_=" "+Date.prototype.toUTCString.call(n)),C(n)&&(_=" "+p(n)),0!==s.length||b&&0!=n.length?r<0?S(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=b?f(e,n,r,a,s):s.map((function(t){return m(e,n,r,a,t,b)})),e.seen.pop(),A(c,_,v)):v[0]+_+v[1]}function h(e,t){if(M(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return w(t)?e.stylize(""+t,"number"):_(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)D(t,String(s))?o.push(m(e,t,n,r,String(s),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(m(e,t,n,r,i,!0))})),o}function m(e,t,n,r,i,o){var s,a,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),D(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(l.value)<0?(a=b(n)?d(e,l.value,null):d(e,l.value,n-1),a.indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n"))):a=e.stylize("[Circular]","special")),M(s)){if(o&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function A(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function g(e){return Array.isArray(e)}function _(e){return"boolean"===typeof e}function b(e){return null===e}function v(e){return null==e}function w(e){return"number"===typeof e}function y(e){return"string"===typeof e}function R(e){return"symbol"===typeof e}function M(e){return void 0===e}function S(e){return E(e)&&"[object RegExp]"===N(e)}function E(e){return"object"===typeof e&&null!==e}function T(e){return E(e)&&"[object Date]"===N(e)}function C(e){return E(e)&&("[object Error]"===N(e)||e instanceof Error)}function O(e){return"function"===typeof e}function x(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function N(e){return Object.prototype.toString.call(e)}function L(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(M(o)&&(o=Object({NODE_ENV:"production",VUE_APP_BASE_API:"/prod-api",VUE_APP_TITLE:"GQY管理系统",BASE_URL:"/"}).NODE_DEBUG||""),n=n.toUpperCase(),!s[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;s[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else s[n]=function(){};return s[n]},t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=g,t.isBoolean=_,t.isNull=b,t.isNullOrUndefined=v,t.isNumber=w,t.isString=y,t.isSymbol=R,t.isUndefined=M,t.isRegExp=S,t.isObject=E,t.isDate=T,t.isError=C,t.isFunction=O,t.isPrimitive=x,t.isBuffer=n("d60a");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(){var e=new Date,t=[L(e.getHours()),L(e.getMinutes()),L(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function D(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",P(),t.format.apply(t,arguments))},t.inherits=n("28a0"),t._extend=function(e,t){if(!t||!E(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e};var F="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function B(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,s=function(){return i.apply(o,arguments)};t.apply(this,n).then((function(t){e.nextTick(s,null,t)}),(function(t){e.nextTick(k,t,s)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(F&&e[F]){var t=e[F];if("function"!==typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,F,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(s){n(s)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),F&&Object.defineProperty(t,F,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=F,t.callbackify=B}).call(this,n("4362"))},3030:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("4f09");function i(e,t){e.push(t)}function o(e,t){e.push(...t)}function s(e,t){e.unshift(t)}function a(e,t,n){let i=0;for(const o of e){if(r.isFunction(t))t.call(null,o)&&(e[i]=n);else if(o===t)return void(e[i]=n);i++}}function l(e,t,n){e.splice(n,0,t)}function c(e,t){let n=e.length;while(n--){const i=e[n];if(r.isFunction(t))t.call(null,i)&&e.splice(n,1);else if(i===t)return void e.splice(n,1)}}function u(e){e.length=0}function d(e,t){for(const n of e)if(r.isFunction(t)){if(t.call(null,n))return!0}else if(n===t)return!0;return!1}function h(e,t){if(void 0===t)return e.length;{let n=0;for(const r of e)t.call(null,r)&&n++;return n}}function p(e){return 0===e.length}function*f(e,t){if(void 0===t)yield*e;else for(const n of e)t.call(null,n)&&(yield n)}function m(e){return new Array(...e)}function A(e,t){return e.sort((e,n)=>t.call(null,e,n)?-1:1)}function g(e,t){return e.sort((e,n)=>t.call(null,e,n)?1:-1)}t.append=i,t.extend=o,t.prepend=s,t.replace=a,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("a45a"),o=n("9af8"),s=n("0fc1"),a=n("9389"),l=n("bcd6"),c=n("7c81"),u=n("dc6b"),d=n("ba82"),h=n("b777");function p(e,t){return-1!==t._attributeList._asArray().indexOf(e)}function f(e,t,n){r.dom.features.mutationObservers&&c.observer_queueAttributeMutationRecord(t,e._localName,e._namespace,e._value),r.dom.features.customElements&&o.Guard.isCustomElementNode(t)&&l.customElement_enqueueACustomElementCallbackReaction(t,"attributeChangedCallback",[e._localName,e._value,n,e._namespace]),r.dom.features.steps&&u.dom_runAttributeChangeSteps(t,e._localName,e._value,n,e._namespace),e._value=n}function m(e,t){r.dom.features.mutationObservers&&c.observer_queueAttributeMutationRecord(t,e._localName,e._namespace,null),r.dom.features.customElements&&o.Guard.isCustomElementNode(t)&&l.customElement_enqueueACustomElementCallbackReaction(t,"attributeChangedCallback",[e._localName,null,e._value,e._namespace]),r.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){r.dom.features.mutationObservers&&c.observer_queueAttributeMutationRecord(t,e._localName,e._namespace,e._value),r.dom.features.customElements&&o.Guard.isCustomElementNode(t)&&l.customElement_enqueueACustomElementCallbackReaction(t,"attributeChangedCallback",[e._localName,e._value,null,e._namespace]),r.dom.features.steps&&u.dom_runAttributeChangeSteps(t,e._localName,e._value,null,e._namespace);const n=t._attributeList._asArray().indexOf(e);t._attributeList._asArray().splice(n,1),e._element=null}function g(e,t,n){r.dom.features.mutationObservers&&c.observer_queueAttributeMutationRecord(n,e._localName,e._namespace,e._value),r.dom.features.customElements&&o.Guard.isCustomElementNode(n)&&l.customElement_enqueueACustomElementCallbackReaction(n,"attributeChangedCallback",[e._localName,e._value,t._value,e._namespace]),r.dom.features.steps&&u.dom_runAttributeChangeSteps(n,e._localName,e._value,t._value,e._namespace);const i=n._attributeList._asArray().indexOf(e);-1!==i&&(n._attributeList._asArray()[i]=t),e._element=null,t._element=n,n._nodeDocument._hasNamespaces||null===t._namespace&&null===t._namespacePrefix&&"xmlns"!==t._localName||(n._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 b(e,t,n){const r=e||null;return n._attributeList._asArray().find(e=>e._namespace===r&&e._localName===t)||null}function v(e,t,n=""){const r=b(n,t,e);return null===r?"":r._value}function w(e,t){if(null!==e._element&&e._element!==t)throw new s.InUseAttributeError(`This attribute already exists in the document: ${e._qualifiedName} as a child of ${e._element._qualifiedName}.`);const n=b(e._namespace||"",e._localName,t);return n===e?e:(null!==n?g(n,e,t):m(e,t),n)}function y(e,t,n,r=null,i=null){const o=b(i||"",t,e);if(null===o){const o=a.create_attr(e._nodeDocument,t);return o._namespace=i,o._namespacePrefix=r,o._value=n,void m(o,e)}f(o,e,n)}function R(e,t){const n=_(e,t);return null!==n&&A(n,t),n}function M(e,t,n){const r=b(e,t,n);return null!==r&&A(r,n),r}function S(e,t,n,o=null,c=null,u=!1){let d=null;if(!r.dom.features.customElements)return d=a.create_element(e,t,n,o),d._customElementState="uncustomized",d._customElementDefinition=null,d._is=c,d;const p=l.customElement_lookUpACustomElementDefinition(e,n,t,c);if(null!==p&&p.name!==p.localName){const n=h.document_elementInterface(t,i.namespace.HTML);d=new n,d._localName=t,d._namespace=i.namespace.HTML,d._namespacePrefix=o,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 n=p.constructor,r=new n;if(console.assert(void 0!==r._customElementState),console.assert(void 0!==r._customElementDefinition),console.assert(r._namespace===i.namespace.HTML),0!==r._attributeList.length)throw new s.NotSupportedError("Custom element already has attributes.");if(0!==r._children.size)throw new s.NotSupportedError("Custom element already has child nodes.");if(null!==r._parent)throw new s.NotSupportedError("Custom element already has a parent node.");if(r._nodeDocument!==e)throw new s.NotSupportedError("Custom element is already in a document.");if(r._localName!==t)throw new s.NotSupportedError("Custom element has a different local name.");r._namespacePrefix=o,r._is=null}catch(f){d=a.create_htmlUnknownElement(e,t,i.namespace.HTML,o),d._customElementState="failed",d._customElementDefinition=null,d._is=null}else d=a.create_htmlElement(e,t,i.namespace.HTML,o),d._customElementState="undefined",d._customElementDefinition=null,d._is=null,l.customElement_enqueueACustomElementUpgradeReaction(d,p);else{const r=h.document_elementInterface(t,n);d=new r,d._localName=t,d._namespace=n,d._namespacePrefix=o,d._customElementState="uncustomized",d._customElementDefinition=null,d._is=c,d._nodeDocument=e,n!==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 E(e,t,n){switch(t.toLowerCase()){case"beforebegin":return null===e._parent?null:d.mutation_preInsert(n,e._parent,e);case"afterbegin":return d.mutation_preInsert(n,e,e._firstChild);case"beforeend":return d.mutation_preInsert(n,e,null);case"afterend":return null===e._parent?null:d.mutation_preInsert(n,e._parent,e._nextSibling);default:throw new s.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=b,t.element_getAnAttributeValue=v,t.element_setAnAttribute=w,t.element_setAnAttributeValue=y,t.element_removeAnAttributeByName=R,t.element_removeAnAttributeByNamespaceAndLocalName=M,t.element_createAnElement=S,t.element_insertAdjacent=E},"32ac":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("0fc1");function i(e,t){throw new r.NotSupportedError}t.selectors_scopeMatchASelectorsString=i},"32d8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("42e9"),o=n("58c0"),s=n("9af8"),a=n("0fc1"),l=n("9688"),c=n("2bfb9"),u=n("68d5");class d extends o.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||r.dom.window._associatedDocument}set _nodeDocument(e){this._nodeDocumentOverride=e}get _registeredObserverList(){return this.__registeredObserverList||(this.__registeredObserverList=[])}get nodeType(){return this._nodeType}get nodeName(){return s.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:s.Guard.isAttrNode(this)?this._qualifiedName:s.Guard.isExclusiveTextNode(this)?"#text":s.Guard.isCDATASectionNode(this)?"#cdata-section":s.Guard.isProcessingInstructionNode(this)?this._target:s.Guard.isCommentNode(this)?"#comment":s.Guard.isDocumentNode(this)?"#document":s.Guard.isDocumentTypeNode(this)?this._name:s.Guard.isDocumentFragmentNode(this)?"#document-fragment":""}get baseURI(){return c.urlSerializer(this._nodeDocument._URL)}get isConnected(){return s.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&&s.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 s.Guard.isAttrNode(this)?this._value:s.Guard.isCharacterDataNode(this)?this._data:null}set nodeValue(e){null===e&&(e=""),s.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):s.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)}get textContent(){return s.Guard.isDocumentFragmentNode(this)||s.Guard.isElementNode(this)?l.text_descendantTextContent(this):s.Guard.isAttrNode(this)?this._value:s.Guard.isCharacterDataNode(this)?this._data:null}set textContent(e){null===e&&(e=""),s.Guard.isDocumentFragmentNode(this)||s.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):s.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):s.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=>s.Guard.isExclusiveTextNode(e));while(null!==t)e.push(t),t=l.tree_getNextDescendantNode(this,t,!1,!1,e=>s.Guard.isExclusiveTextNode(e));for(let n=0;n<e.length;n++){const t=e[n];if(null===t._parent)continue;let i=l.tree_nodeLength(t);if(0===i){l.mutation_remove(t,t._parent);continue}const o=[];let a="";for(const e of l.text_contiguousExclusiveTextNodes(t))o.push(e),a+=e._data;if(l.characterData_replaceData(t,i,0,a),0!==r.dom.rangeList.size){let e=t._nextSibling;while(null!==e&&s.Guard.isExclusiveTextNode(e)){const n=e,o=l.tree_index(n);for(const e of r.dom.rangeList)e._start[0]===n&&(e._start[0]=t,e._start[1]+=i),e._end[0]===n&&(e._end[0]=t,e._end[1]+=i),e._start[0]===n._parent&&e._start[1]===o&&(e._start[0]=t,e._start[1]=i),e._end[0]===n._parent&&e._end[1]===o&&(e._end[0]=t,e._end[1]=i);i+=l.tree_nodeLength(e),e=e._nextSibling}}for(let e=0;e<o.length;e++){const t=o[e];null!==t._parent&&l.mutation_remove(t,t._parent)}}}cloneNode(e=!1){if(s.Guard.isShadowRoot(this))throw new a.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,n=this,o=null,a=null;if(s.Guard.isAttrNode(t)&&(o=t,t=o._element),s.Guard.isAttrNode(n)&&(a=n,n=a._element,o&&t&&t===n))for(let r=0;r<n._attributeList.length;r++){const e=n._attributeList[r];if(l.node_equals(e,o))return i.Position.ImplementationSpecific|i.Position.Preceding;if(l.node_equals(e,a))return i.Position.ImplementationSpecific|i.Position.Following}return null===t||null===n||l.tree_rootNode(t)!==l.tree_rootNode(n)?i.Position.Disconnected|i.Position.ImplementationSpecific|(r.dom.compareCache.check(this,e)?i.Position.Preceding:i.Position.Following):!o&&l.tree_isAncestorOf(n,t)||a&&t===n?i.Position.Contains|i.Position.Preceding:!a&&l.tree_isDescendantOf(n,t)||o&&t===n?i.Position.ContainedBy|i.Position.Following:l.tree_isPreceding(n,t)?i.Position.Preceding:i.Position.Following}contains(e){return null!==e&&l.tree_isDescendantOf(this,e,!0)}lookupPrefix(e){return e?s.Guard.isElementNode(this)?l.node_locateANamespacePrefix(this,e):s.Guard.isDocumentNode(this)?null===this.documentElement?null:l.node_locateANamespacePrefix(this.documentElement,e):s.Guard.isDocumentTypeNode(this)||s.Guard.isDocumentFragmentNode(this)?null:s.Guard.isAttrNode(this)?null===this._element?null:l.node_locateANamespacePrefix(this._element,e):null!==this._parent&&s.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 s.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 s.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,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),s=n("ea53"),a=r.assert;function l(e){s.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,n,r){s.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(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,n,r){s.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(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(n,16),this.z=new i(r,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}o(l,s),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);t=o[0].cmp(o[1])<0?o[0]:o[1],t=t.toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?n=s[0]:(n=s[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n),s=r.redAdd(o).fromRed(),a=r.redSub(o).fromRed();return[s,a]},l.prototype._getEndoBasis=function(e){var t,n,r,o,s,a,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 b=p.div(h);c=p.sub(b.mul(h)),u=A.sub(b.mul(f));var v=g.sub(b.mul(m));if(!r&&c.cmp(d)<0)t=l.neg(),n=f,r=c.neg(),o=u;else if(r&&2===++_)break;l=c,p=h,h=c,A=f,f=u,g=m,m=v}s=c.neg(),a=u;var w=r.sqr().add(o.sqr()),y=s.sqr().add(a.sqr());return y.cmp(w)>=0&&(s=t,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),l=i.mul(n.b),c=o.mul(r.b),u=e.sub(s).sub(a),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 n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(t[o]),a=e[o],l=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),l=l.neg(!0)),r[2*o]=a,r[2*o+1]=l,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var c=this._wnafMulAdd(1,r,i,2*o,n),u=0;u<2*o;u++)r[u]=null,i[u]=null;return c},o(c,s.BasePoint),l.prototype.point=function(e,t,n){return new c(this,e,t,n)},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 n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}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,n){"string"===typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var o=t[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},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 n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},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,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},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,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},c.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,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 n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}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},o(u,s.BasePoint),l.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},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(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),l=o.redSub(s);if(0===a.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),d=r.redMul(c),h=l.redSqr().redIAdd(u).redISub(d).redISub(d),p=l.redMul(d.redISub(h)).redISub(o.redMul(u)),f=this.z.redMul(e.z).redMul(a);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(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),c=l.redMul(s),u=n.redMul(l),d=a.redSqr().redIAdd(c).redISub(u).redISub(u),h=a.redMul(u.redISub(d)).redISub(i.redMul(c)),p=this.z.redMul(s);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 n=this;for(t=0;t<e;t++)n=n.dbl();return n}var r=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,l=a.redSqr().redSqr(),c=s.redAdd(s);for(t=0;t<e;t++){var u=o.redSqr(),d=c.redSqr(),h=d.redSqr(),p=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(l)),f=o.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(a);t+1<e&&(l=l.redMul(h)),o=m,a=_,c=g}return this.curve.jpoint(o,c.redMul(i),a)},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,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(o);s=s.redIAdd(s);var a=r.redAdd(r).redIAdd(r),l=a.redSqr().redISub(s).redISub(s),c=o.redIAdd(o);c=c.redIAdd(c),c=c.redIAdd(c),e=l,t=a.redMul(s.redISub(l)).redISub(c),n=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),n=this.y.redMul(this.z),n=n.redIAdd(n)}return this.curve.jpoint(e,t,n)},u.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(o);s=s.redIAdd(s);var a=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),l=a.redSqr().redISub(s).redISub(s);e=l;var c=o.redIAdd(o);c=c.redIAdd(c),c=c.redIAdd(c),t=a.redMul(s.redISub(l)).redISub(c),n=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),n=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,n)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=t.redSqr(),s=n.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),l=t.redAdd(t);l=l.redIAdd(l);var c=l.redMul(s),u=a.redSqr().redISub(c.redAdd(c)),d=c.redISub(u),h=s.redSqr();h=h.redIAdd(h),h=h.redIAdd(h),h=h.redIAdd(h);var p=a.redMul(d).redISub(h),f=n.redAdd(n).redMul(r);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(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(r);s=s.redIAdd(s),s=s.redAdd(s).redIAdd(s),s=s.redISub(o);var a=s.redSqr(),l=r.redIAdd(r);l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var c=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(l),u=t.redMul(c);u=u.redIAdd(u),u=u.redIAdd(u);var d=this.x.redMul(a).redISub(u);d=d.redIAdd(d),d=d.redIAdd(d);var h=this.y.redMul(c.redMul(l.redISub(c)).redISub(s.redMul(a)));h=h.redIAdd(h),h=h.redIAdd(h),h=h.redIAdd(h);var p=this.z.redAdd(s).redSqr().redISub(n).redISub(a);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(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))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,n){"use strict";var r=t;r.version=n("2801").version,r.utils=n("f3a3"),r.rand=n("fdac"),r.curve=n("4136"),r.curves=n("0cbb"),r.ec=n("b9a8"),r.eddsa=n("945d")},"333d":function(e,t,n){"use strict";var r=n("1985"),i=n("49ba");e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a String");return e.replace(/&(#?[^;\W]+;?)/g,(function(e,t){var n=/^#(\d+);?$/.exec(t);if(n)return r.ucs2.encode([parseInt(n[1],10)]);var o=/^#[Xx]([A-Fa-f0-9]+);?/.exec(t);if(o)return r.ucs2.encode([parseInt(o[1],16)]);var s=/;$/.test(t),a=s?t.replace(/;$/,""):t,l=i[a]||s&&i[t];return"number"===typeof l?r.ucs2.encode([l]):"string"===typeof l?l:"&"+t}))}},3383:function(e,t,n){},"343e":function(e,t,n){var r=t;r.der=n("3768"),r.pem=n("85b3")},"34e1":function(e,t,n){"use strict";var r=n("c65b"),i=n("825a"),o=n("46c4"),s=n("35a1");e.exports=function(e,t){t&&"string"===typeof e||i(e);var n=s(e);return o(i(void 0!==n?r(n,e):e))}},3505:function(e,t,n){var r=n("8707").Buffer,i=n("8c8a");function o(e,t,n){var o=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){var i,s=r.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,o(e,t,n)]);break}i=e._cache.length,s=r.concat([s,o(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},"351d":function(e,t,n){"use strict";n.r(t),n.d(t,"duckSchema",(function(){return i})),n.d(t,"inherit",(function(){return o})),n.d(t,"extend",(function(){return s})),n.d(t,"deepExtend",(function(){return a})),n.d(t,"deepClone",(function(){return l})),n.d(t,"clone",(function(){return c})),n.d(t,"mixin",(function(){return u})),n.d(t,"isObjectEqual",(function(){return d})),n.d(t,"isObject",(function(){return h})),n.d(t,"defineGetter",(function(){return p})),n.d(t,"objectEach",(function(){return f})),n.d(t,"getProperty",(function(){return m})),n.d(t,"setProperty",(function(){return A})),n.d(t,"deepObjectSize",(function(){return g})),n.d(t,"createObjectPropListener",(function(){return _})),n.d(t,"hasOwnProperty",(function(){return b}));n("d9e2"),n("14d9"),n("e9c4");var r=n("81ea");function i(e){let t;return Array.isArray(e)?t=e.length?new Array(e.length).fill(null):[]:(t={},f(e,(e,n)=>{"__children"!==n&&(e&&"object"===typeof e&&!Array.isArray(e)?t[n]=i(e):Array.isArray(e)?e.length&&"object"===typeof e[0]&&!Array.isArray(e[0])?t[n]=[i(e[0])]:t[n]=[]:t[n]=null)})),t}function o(e,t){return t.prototype.constructor=t,e.prototype=new t,e.prototype.constructor=e,e}function s(e,t,n){const r=Array.isArray(n);return f(t,(t,i)=>{(!1===r||n.includes(i))&&(e[i]=t)}),e}function a(e,t){f(t,(n,r)=>{t[r]&&"object"===typeof t[r]?(e[r]||(Array.isArray(t[r])?e[r]=[]:"[object Date]"===Object.prototype.toString.call(t[r])?e[r]=t[r]:e[r]={}),a(e[r],t[r])):e[r]=t[r]})}function l(e){return"object"===typeof e?JSON.parse(JSON.stringify(e)):e}function c(e){const t={};return f(e,(e,n)=>{t[n]=e}),t}function u(e){e.MIXINS||(e.MIXINS=[]);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Object(r["arrayEach"])(n,t=>{e.MIXINS.push(t.MIXIN_NAME),f(t,(t,n)=>{if(void 0!==e.prototype[n])throw new Error(`Mixin conflict. Property '${n}' already exist and cannot be overwritten.`);if("function"===typeof t)e.prototype[n]=t;else{const r=function(e,t){const n="_"+e,r=e=>{let t=e;return(Array.isArray(t)||h(t))&&(t=l(t)),t};return function(){return void 0===this[n]&&(this[n]=r(t)),this[n]}},i=function(e){const t="_"+e;return function(e){this[t]=e}};Object.defineProperty(e.prototype,n,{get:r(n,t),set:i(n),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,n,r){r.value=n,r.writable=!1!==r.writable,r.enumerable=!1!==r.enumerable,r.configurable=!1!==r.configurable,Object.defineProperty(e,t,r)}function f(e,t){for(const n in e)if((!e.hasOwnProperty||e.hasOwnProperty&&Object.prototype.hasOwnProperty.call(e,n))&&!1===t(e[n],n,e))break;return e}function m(e,t){const n=t.split(".");let r=e;return f(n,e=>{if(r=r[e],void 0===r)return r=void 0,!1}),r}function A(e,t,n){const r=t.split(".");let i=e;r.forEach((e,t)=>{t!==r.length-1?(b(i,e)||(i[e]={}),i=i[e]):i[e]=n})}function g(e){if(!h(e))return 0;const t=function(e){let n=0;return h(e)?f(e,(e,r)=>{"__children"!==r&&(n+=t(e))}):n+=1,n};return t(e)}function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";const n="_"+t,r={_touched:!1,[n]:e,isTouched(){return this._touched}};return Object.defineProperty(r,t,{get(){return this[n]},set(e){this._touched=!0,this[n]=e},enumerable:!0,configurable:!0}),r}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},"366c":function(e,t,n){},"36f2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("32d8"),o=n("0fc1"),s=n("a45a"),a=n("9688"),l=n("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=a.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 a.element_getAnAttributeValue(this,"id")}set id(e){a.element_setAnAttributeValue(this,"id",e)}get className(){return a.element_getAnAttributeValue(this,"class")}set className(e){a.element_setAnAttributeValue(this,"class",e)}get classList(){let e=a.element_getAnAttributeByName("class",this);return null===e&&(e=a.create_attr(this._nodeDocument,"class")),a.create_domTokenList(this,e)}get slot(){return a.element_getAnAttributeValue(this,"slot")}set slot(e){a.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=a.element_getAnAttributeByName(e,this);return t?t._value:null}getAttributeNS(e,t){const n=a.element_getAnAttributeByNamespaceAndLocalName(e,t,this);return n?n._value:null}setAttribute(e,t){if(!a.xml_isName(e))throw new o.InvalidCharacterError;this._namespace===s.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toLowerCase());let n=null;for(let r=0;r<this._attributeList.length;r++){const t=this._attributeList[r];if(t._qualifiedName===e){n=t;break}}if(null===n)return n=a.create_attr(this._nodeDocument,e),n._value=t,void a.element_append(n,this);a.element_change(n,this,t)}setAttributeNS(e,t,n){const[r,i,o]=a.namespace_validateAndExtract(e,t);a.element_setAnAttributeValue(this,o,n,i,r)}removeAttribute(e){a.element_removeAnAttributeByName(e,this)}removeAttributeNS(e,t){a.element_removeAnAttributeByNamespaceAndLocalName(e,t,this)}hasAttribute(e){this._namespace===s.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toLowerCase());for(let t=0;t<this._attributeList.length;t++){const n=this._attributeList[t];if(n._qualifiedName===e)return!0}return!1}toggleAttribute(e,t){if(!a.xml_isName(e))throw new o.InvalidCharacterError;this._namespace===s.namespace.HTML&&"html"===this._nodeDocument._type&&(e=e.toLowerCase());let n=null;for(let r=0;r<this._attributeList.length;r++){const t=this._attributeList[r];if(t._qualifiedName===e){n=t;break}}return null===n?(void 0===t||!0===t)&&(n=a.create_attr(this._nodeDocument,e),n._value="",a.element_append(n,this),!0):void 0!==t&&!1!==t||(a.element_removeAnAttributeByName(e,this),!1)}hasAttributeNS(e,t){const n=e||null;for(let r=0;r<this._attributeList.length;r++){const e=this._attributeList[r];if(e._namespace===n&&e._localName===t)return!0}return!1}getAttributeNode(e){return a.element_getAnAttributeByName(e,this)}getAttributeNodeNS(e,t){return a.element_getAnAttributeByNamespaceAndLocalName(e,t,this)}setAttributeNode(e){return a.element_setAnAttribute(e,this)}setAttributeNodeNS(e){return a.element_setAnAttribute(e,this)}removeAttributeNode(e){let t=!1;for(let n=0;n<this._attributeList.length;n++){const r=this._attributeList[n];if(r===e){t=!0;break}}if(!t)throw new o.NotFoundError;return a.element_remove(e,this),e}attachShadow(e){if(this._namespace!==s.namespace.HTML)throw new o.NotSupportedError;if(!a.customElement_isValidCustomElementName(this._localName)&&!a.customElement_isValidShadowHostName(this._localName))throw new o.NotSupportedError;if(a.customElement_isValidCustomElementName(this._localName)||null!==this._is){const e=a.customElement_lookUpACustomElementDefinition(this._nodeDocument,this._namespace,this._localName,this._is);if(null!==e&&!0===e.disableShadow)throw new o.NotSupportedError}if(null!==this._shadowRoot)throw new o.NotSupportedError;const t=a.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 o.NotImplementedError}matches(e){throw new o.NotImplementedError}webkitMatchesSelector(e){return this.matches(e)}getElementsByTagName(e){return a.node_listOfElementsWithQualifiedName(e,this)}getElementsByTagNameNS(e,t){return a.node_listOfElementsWithNamespace(e,t,this)}getElementsByClassName(e){return a.node_listOfElementsWithClassNames(e,this)}insertAdjacentElement(e,t){return a.element_insertAdjacent(this,e,t)}insertAdjacentText(e,t){const n=a.create_text(this._nodeDocument,t);a.element_insertAdjacent(this,e,n)}get _qualifiedName(){return this._namespacePrefix?this._namespacePrefix+":"+this._localName:this._localName}get _htmlUppercasedQualifiedName(){let e=this._qualifiedName;return this._namespace===s.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,n=null,r=null){const i=new c;return i._localName=t,i._namespace=n,i._namespacePrefix=r,i._nodeDocument=e,i}}t.ElementImpl=c,l.idl_defineConst(c.prototype,"_nodeType",r.NodeType.Element)},3721:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-setting"},[n("el-input",{attrs:{placeholder:"请填写表头"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}}),n("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[n("el-button",{attrs:{type:"warning"},on:{click:e.btnSave}},[e._v("确认保存")])],1)],1)},i=[],o=(n("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)}}}),s=o,a=(n("16ad"),n("2877")),l=Object(a["a"])(s,r,i,!1,null,null,null);t["default"]=l.exports},3768:function(e,t,n){var r=n("3fb5"),i=n("b639").Buffer,o=n("7f7a"),s=o.base,a=o.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){s.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}function d(e,t,n,r){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=a.tagClassByName[n||"universal"]<<6,i)}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,s.Node),c.prototype._encodeComposite=function(e,t,n,r){var o=d(e,t,n,this.reporter);if(r.length<128){var s=new i(2);return s[0]=o,s[1]=r.length,this._createEncoderBuffer([s,r])}for(var a=1,l=r.length;l>=256;l>>=8)a++;s=new i(2+a);s[0]=o,s[1]=128|a;l=1+a;for(var c=r.length;c>0;l--,c>>=8)s[l]=255&c;return this._createEncoderBuffer([s,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new i(2*e.length),r=0;r<e.length;r++)n.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}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,n){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 r=0;r<e.length;r++)e[r]|=0}else if(Array.isArray(e)){e=e.slice();for(r=0;r<e.length;r++)e[r]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(r=0;r<e.length;r++){var s=e[r];for(o++;s>=128;s>>=7)o++}var a=new i(o),l=a.length-1;for(r=e.length-1;r>=0;r--){s=e[r];a[l--]=127&s;while((s>>=7)>0)a[l--]=128|127&s}return this._createEncoderBuffer(a)},c.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[u(r.getFullYear()),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[u(r.getFullYear()%100),u(r.getUTCMonth()+1),u(r.getUTCDate()),u(r.getUTCHours()),u(r.getUTCMinutes()),u(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"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 n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new i(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=new i(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);r=1;for(var s=e;s>=256;s>>=8)r++;for(o=new Array(r),s=o.length-1;s>=0;s--)o[s]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},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,n){var r,i=this._baseState;if(null===i["default"])return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i["default"],t,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r<o.length;r++)if(o[r]!==i.defaultBuffer[r])return!1;return!0}},"37e6":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(11).Buffer}catch(T){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.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},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,n=0!==o||s!==this.length-1?u[6-l.length]+l+n:l+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],p=h[e];n="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),n=f.isZero()?m+n:u[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,c=new e(o),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[a]=s;for(;a<o;a++)c[a]=0}else{for(a=0;a<o-i;a++)c[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[o-a-1]=s}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function A(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new _;return r.mulp(e,t,n)}function _(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?f(this,e,t):r<1024?A(this,e,t):g(this,e,t),n},_.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},_.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},_.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},_.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},_.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},_.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},_.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},_.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"===typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function R(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(w,v),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&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,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(R,v),i(M,v),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new R;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(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 o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},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},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"380f":function(e,t,n){"use strict";var r=n("f3a3"),i=r.assert,o=r.parseBytes,s=r.cachedProperty;function a(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}a.fromPublic=function(e,t){return t instanceof a?t:new a(e,{pub:t})},a.fromSecret=function(e,t){return t instanceof a?t:new a(e,{secret:t})},a.prototype.secret=function(){return this._secret},s(a,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),s(a,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(a,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(a,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(a,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(a,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),a.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},a.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},a.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},a.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=a},"384f":function(e,t,n){"use strict";var r=n("e330"),i=n("5388"),o=n("cb27"),s=o.Set,a=o.proto,l=r(a.forEach),c=r(a.keys),u=c(new s).next;e.exports=function(e,t,n){return n?i({iterator:c(e),next:u},t):l(e,t)}},3886:function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},3959:function(e,t,n){},"395e":function(e,t,n){"use strict";var r=n("dc19"),i=n("cb27").has,o=n("8e16"),s=n("7f65"),a=n("5388"),l=n("2a62");e.exports=function(e){var t=r(this),n=s(e);if(o(t)<n.size)return!1;var c=n.getIterator();return!1!==a(c,(function(e){if(!i(t,e))return l(c,"normal",!1)}))}},"399f":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(8).Buffer}catch(x){}function a(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,i){for(var o=0,s=0,a=Math.min(e.length,n),l=t;l<a;l++){var c=e.charCodeAt(l)-48;o*=i,s=c>=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&s<i,"Invalid character"),o+=s}return o}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},o.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},o.prototype._move=function(e){u(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype._strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(x){o.prototype.inspect=d}else o.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];o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,i+=2,i>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?h[6-l.length]+l+n:l+n}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=p[e],u=f[e];n="";var d=this.clone();d.negative=0;while(!d.isZero()){var m=d.modrn(u).toString(e);d=d.idivn(u),n=d.isZero()?m+n:h[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=e.words[r]>>>i&1}return t}function g(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=m(e,o),a="le"===t?"LE":"BE";return this["_toArrayLike"+a](s,i),s},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|r;e[n++]=255&s,n<e.length&&(e[n++]=s>>8&255),n<e.length&&(e[n++]=s>>16&255),6===o?(n<e.length&&(e[n++]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n<e.length){e[n++]=r;while(n<e.length)e[n++]=0}},o.prototype._toArrayLikeBE=function(e,t){for(var n=e.length-1,r=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|r;e[n--]=255&s,n>=0&&(e[n--]=s>>8&255),n>=0&&(e[n--]=s>>16&255),6===o?(n>=0&&(e[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0){e[n--]=r;while(n>=0)e[n--]=0}},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var _=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function v(e,t,n){return b(e,t,n)}function w(e,t){this.x=e,this.y=t}Math.imul||(_=g),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?_(this,e,t):r<63?g(this,e,t):r<1024?b(this,e,t):v(this,e,t),n},w.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},w.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},w.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},w.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},w.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},w.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},w.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},w.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},w.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},w.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),v(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"===typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,s=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=A(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(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 R(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){R.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){R.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){R.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){R.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}R.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},R.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},R.prototype.split=function(e,t){e.iushrn(this.n,0,t)},R.prototype.imulK=function(e){return e.imul(this.k)},i(M,R),M.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},M.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,R),i(E,R),i(T,R),T.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new M;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new T}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(1).iushln(f-A-1));h=h.redMul(g),d=g.redSqr(),p=p.redMul(d),f=A}return h},C.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,C),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 n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._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,n("62e4")(e))},"39a6":function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"39bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  78. //! moment.js locale configuration
  79. var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){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(n){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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[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,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},"39cd":function(e,t,n){var r=e.exports;[n("ff51b"),n("7f98"),n("2473"),n("8229"),n("0d44"),n("c8f7")].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},"39f4":function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n("5382"),o=n("484b"),s=n("9081"),a=r(r({},i.namedReferences),{all:i.namedReferences.html5});function l(e,t,n){t.lastIndex=0;var r,i=t.exec(e);if(i){r="";var o=0;do{o!==i.index&&(r+=e.substring(o,i.index));var s=i[0];r+=n(s),o=i.index+s.length}while(i=t.exec(e));o!==e.length&&(r+=e.substring(o))}else r=e;return r}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 n=void 0===t?u:t,r=n.mode,i=void 0===r?"specialChars":r,o=n.numeric,d=void 0===o?"decimal":o,h=n.level,p=void 0===h?"all":h;if(!e)return"";var f=c[i],m=a[p].characters,A="hexadecimal"===d;return l(e,f,(function(e){var t=m[e];if(!t){var n=e.length>1?s.getCodePoint(e,0):e.charCodeAt(0);t=(A?"&#x"+n.toString(16):"&#"+n)+";"}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=r(r({},m),{all:m.html5}),g=String.fromCharCode,_=g(65533),b={level:"all"};function v(e,t,n,r){var i=e,a=e[e.length-1];if(n&&"="===a)i=e;else if(r&&";"!==a)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?s.fromCodePoint(u):g(o.numericUnicodeMap[u]||u)}}return i}function w(e,t){var n=(void 0===t?b:t).level,r=void 0===n?"all":n;return e?v(e,a[r].entities,!1,!1):""}function y(e,t){var n=void 0===t?h:t,r=n.level,i=void 0===r?"all":r,o=n.scope,s=void 0===o?"xml"===i?"strict":"body":o;if(!e)return"";var c=A[i][s],u=a[i].entities,d="attribute"===s,p="strict"===s;return l(e,c,(function(e){return v(e,u,d,p)}))}t.decodeEntity=w,t.decode=y},"39f5":function(e,t,n){var r=n("8707").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function o(e){for(var t=0;t<e.length;e++)e[t]=0}function s(e,t,n,r,i){for(var o,s,a,l,c=n[0],u=n[1],d=n[2],h=n[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;_++)o=c[p>>>24]^u[f>>>16&255]^d[m>>>8&255]^h[255&A]^t[g++],s=c[f>>>24]^u[m>>>16&255]^d[A>>>8&255]^h[255&p]^t[g++],a=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=o,f=s,m=a,A=l;return o=(r[p>>>24]<<24|r[f>>>16&255]<<16|r[m>>>8&255]<<8|r[255&A])^t[g++],s=(r[f>>>24]<<24|r[m>>>16&255]<<16|r[A>>>8&255]<<8|r[255&p])^t[g++],a=(r[m>>>24]<<24|r[A>>>16&255]<<16|r[p>>>8&255]<<8|r[255&f])^t[g++],l=(r[A>>>24]<<24|r[p>>>16&255]<<16|r[f>>>8&255]<<8|r[255&m])^t[g++],o>>>=0,s>>>=0,a>>>=0,l>>>=0,[o,s,a,l]}var a=[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 n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,l=0;l<256;++l){var c=a^a<<1^a<<2^a<<3^a<<4;c=c>>>8^255&c^99,n[s]=c,r[c]=s;var u=e[s],d=e[u],h=e[d],p=257*e[c]^16843008*c;i[0][s]=p<<24|p>>>8,i[1][s]=p<<16|p>>>16,i[2][s]=p<<8|p>>>24,i[3][s]=p,p=16843009*h^65537*d^257*u^16843008*s,o[0][c]=p<<24|p>>>8,o[1][c]=p<<16|p>>>16,o[2][c]=p<<8|p>>>24,o[3][c]=p,0===s?s=a=1:(s=u^e[e[e[h^u]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();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,n=t+6,r=4*(n+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<r;o++){var s=i[o-1];o%t===0?(s=s<<8|s>>>24,s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t===4&&(s=l.SBOX[s>>>24]<<24|l.SBOX[s>>>16&255]<<16|l.SBOX[s>>>8&255]<<8|l.SBOX[255&s]),i[o]=i[o-t]^s}for(var c=[],u=0;u<r;u++){var d=r-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=n,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return e=i(e),s(e,this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},c.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=c},"3a39":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  80. //! moment.js locale configuration
  81. var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=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 n[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,n){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 r}))},"3a6c":function(e,t,n){(function(e,t){t(n("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,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<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,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===A(e)}function r(e){return"boolean"===typeof e}function i(e){return null===e}function o(e){return null==e}function s(e){return"number"===typeof e}function a(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=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=s,t.isString=a,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,n("b639").Buffer)},"3b1b":function(e,t,n){(function(e,t){t(n("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:"-ум"},n=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,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"3bc4":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));const r=/^(\r\n|\n\r|\r|\n)/,i=/^[^\t\r\n]+/,o=/^\t/;function s(e){const t=[[""]];if(0===e.length)return t;let n,s=0,a=0;while(e.length>0){if(n===e.length)break;if(n=e.length,e.match(o))e=e.replace(o,""),s+=1,t[a][s]="";else if(e.match(r))e=e.replace(r,""),s=0,a+=1,t[a]=[""];else{let n="";if(e.startsWith('"')){let t=0,r=!0;while(r){const i=e.slice(0,1);'"'===i&&(t+=1),n+=i,e=e.slice(1),(0===e.length||e.match(/^[\t\r\n]/)&&t%2===0)&&(r=!1)}n=n.replace(/^"/,"").replace(/"$/,"").replace(/["]*/g,e=>new Array(Math.floor(e.length/2)).fill('"').join(""))}else{const t=e.match(i);n=t?t[0]:"",e=e.slice(n.length)}t[a][s]=n}}return t}function a(e){let t,n,r,i,o,s="";for(t=0,n=e.length;t<n;t+=1){for(i=e[t].length,r=0;r<i;r+=1)r>0&&(s+="\t"),o=e[t][r],"string"===typeof o?o.indexOf("\n")>-1?s+=`"${o.replace(/"/g,'""')}"`:s+=o:s+=null===o||void 0===o?"":o;t!==n-1&&(s+="\n")}return s}},"3bc6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("42e9"),o=n("9af8"),s=n("8c5c"),a=n("802d"),l=n("0fc1"),c=n("4b7d"),u=n("7ef7"),d=n("dc6b");function h(e){e._cancelable&&!e._inPassiveListenerFlag&&(e._canceledFlag=!0)}function p(e,t,n,r){e._initializedFlag=!0,e._stopPropagationFlag=!1,e._stopImmediatePropagationFlag=!1,e._canceledFlag=!1,e._isTrusted=!1,e._target=null,e._type=t,e._bubbles=n,e._cancelable=r}function f(e,t){void 0===t&&(t=null);const n={},r=m(e,t,new Date,n);return r._isTrusted=!0,r}function m(e,t,n,i){const o=new e("");return o._initializedFlag=!0,o._timeStamp=n.getTime(),Object.assign(o,i),r.dom.features.steps&&d.dom_runEventConstructingSteps(o),o}function A(e,t,n=!1,r={value:!1}){let s=!1;e._dispatchFlag=!0;let a=t;if(n){const e=t._associatedDocument;o.Guard.isDocumentNode(e)&&(a=e)}let l=null,d=c.tree_retarget(e._relatedTarget,t);if(t!==d||t===e._relatedTarget){let n=[];for(const r of e._touchTargetList)n.push(c.tree_retarget(r,t));g(e,t,a,d,n,!1);const h=o.Guard.isMouseEvent(e)&&"click"===e._type;h&&void 0!==t._activationBehavior&&(l=t);let p=o.Guard.isSlotable(t)&&u.shadowTree_isAssigned(t)?t:null,f=!1,m=t._getTheParent(e);while(null!==m&&o.Guard.isNode(m)){if(null!==p){if(!o.Guard.isSlot(m))throw new Error("Parent node of a slotable should be a slot.");p=null;const e=c.tree_rootNode(m,!0);o.Guard.isShadowRoot(e)&&"closed"===e._mode&&(f=!0)}o.Guard.isSlotable(m)&&u.shadowTree_isAssigned(m)&&(p=m),d=c.tree_retarget(e._relatedTarget,m),n=[];for(const t of e._touchTargetList)n.push(c.tree_retarget(t,m));o.Guard.isWindow(m)||o.Guard.isNode(m)&&o.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,n,f)):m===d?m=null:(t=m,h&&null===l&&t._activationBehavior&&(l=t),g(e,m,t,d,n,f)),null!==m&&(m=m._getTheParent(e)),f=!1}let A=null;const b=e._path;for(let e=b.length-1;e>=0;e--){const t=b[e];if(null!==t.shadowAdjustedTarget){A=t;break}}if(null!==A)if(o.Guard.isNode(A.shadowAdjustedTarget)&&o.Guard.isShadowRoot(c.tree_rootNode(A.shadowAdjustedTarget,!0)))s=!0;else if(o.Guard.isNode(A.relatedTarget)&&o.Guard.isShadowRoot(c.tree_rootNode(A.relatedTarget,!0)))s=!0;else for(let e=0;e<A.touchTargetList.length;e++){const t=A.touchTargetList[e];if(o.Guard.isNode(t)&&o.Guard.isShadowRoot(c.tree_rootNode(t,!0))){s=!0;break}}null!==l&&void 0!==l._legacyPreActivationBehavior&&l._legacyPreActivationBehavior(e);for(let t=b.length-1;t>=0;t--){const n=b[t];null!==n.shadowAdjustedTarget?e._eventPhase=i.EventPhase.AtTarget:e._eventPhase=i.EventPhase.Capturing,_(n,e,"capturing",r)}for(let t=0;t<b.length;t++){const n=b[t];if(null!==n.shadowAdjustedTarget)e._eventPhase=i.EventPhase.AtTarget;else{if(!e._bubbles)continue;e._eventPhase=i.EventPhase.Bubbling}_(n,e,"bubbling",r)}}return e._eventPhase=i.EventPhase.None,e._currentTarget=null,e._path=[],e._dispatchFlag=!1,e._stopPropagationFlag=!1,e._stopImmediatePropagationFlag=!1,s&&(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,n,r,i,s){let a=!1;o.Guard.isNode(t)&&o.Guard.isShadowRoot(c.tree_rootNode(t))&&(a=!0);let l=!1;o.Guard.isShadowRoot(t)&&"closed"===t._mode&&(l=!0),e._path.push({invocationTarget:t,invocationTargetInShadowTree:a,shadowAdjustedTarget:n,relatedTarget:r,touchTargetList:i,rootOfClosedTree:l,slotInClosedTree:s})}function _(e,t,n,r={value:!1}){const i=t._path;let o=-1;for(let u=0;u<i.length;u++)if(i[u]===e){o=u;break}if(-1!==o){let e=i[o];null!==e.shadowAdjustedTarget?t._target=e.shadowAdjustedTarget:o>0&&(e=i[o-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 s=t._currentTarget,a=s._eventListenerList;let l=new Array(...a);const c=b(t,l,n,e,r);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"),b(t,l,n,e,r),t._type=i}}function b(e,t,n,r,i={value:!1}){let s=!1;for(let l=0;l<t.length;l++){const c=t[l];if(!c.removed){if(e._type!==c.type)continue;if(s=!0,"capturing"===n&&!c.capture)continue;if("bubbling"===n&&c.capture)continue;if(c.once&&null!==e._currentTarget){const t=e._currentTarget;let n=-1;for(let e=0;e<t._eventListenerList.length;e++)if(t._eventListenerList[e]===c){n=e;break}-1!==n&&t._eventListenerList.splice(n,1)}const t=void 0;let l=void 0;o.Guard.isWindow(t)&&(l=t._currentEvent,!1===r.invocationTargetInShadowTree&&(t._currentEvent=e)),c.passive&&(e._inPassiveListenerFlag=!0);try{c.callback.handleEvent.call(e._currentTarget,e)}catch(a){i.value=!0}if(c.passive&&(e._inPassiveListenerFlag=!1),o.Guard.isWindow(t)&&(t._currentEvent=l),e._stopImmediatePropagationFlag)return s}}return s}function v(e,t,n,r,i){void 0===n&&(n=a.EventImpl);const o=f(n);if(o._type=e,r)for(const s in r){const e=o;e[s]=r[s]}return A(o,t,i)}function w(e){let t=null;switch(e.toLowerCase()){case"beforeunloadevent":break;case"compositionevent":break;case"customevent":t=s.CustomEventImpl;break;case"devicemotionevent":break;case"deviceorientationevent":break;case"dragevent":break;case"event":case"events":t=a.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 n=new t("");return n._type="",n._timeStamp=(new Date).getTime(),n._isTrusted=!1,n._initializedFlag=!1,n}function y(e,t){const n=M(e,t);return null===n?null:S(n,t)}function R(e,t,n){const r=M(e,t);if(null!==r)if(null===n)T(r,t);else{const e=r._eventHandlerMap,i=e["onabort"];void 0!==i&&(i.value=n),E(r,t)}}function M(e,t){return null}function S(e,t){return null}function E(e,t){}function T(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=b,t.event_fireAnEvent=v,t.event_createLegacyEvent=w,t.event_getterEventHandlerIDLAttribute=y,t.event_setterEventHandlerIDLAttribute=R,t.event_determineTheTargetOfAnEventHandler=M,t.event_getTheCurrentValueOfAnEventHandler=S,t.event_activateAnEventHandler=E,t.event_deactivateAnEventHandler=T},"3c0d":function(e,t,n){(function(e,t){t(n("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/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^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 o(e){return e>1&&e<5&&1!==~~(e/10)}function s(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(o(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(o(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(o(e)?"roky":"let"):i+"lety"}}var a=e.defineLocale("cs",{months:t,monthsShort:n,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:r,longMonthsParse:r,shortMonthsParse:r,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:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"3c65":function(e,t,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),s=n("3a34"),a=n("083a"),l=n("3511"),c=1!==[].unshift(0),u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}},d=c||!u();r({target:"Array",proto:!0,arity:1,forced:d},{unshift:function(e){var t=i(this),n=o(t),r=arguments.length;if(r){l(n+r);var c=n;while(c--){var u=c+r;c in t?t[u]=t[c]:a(t,u)}for(var d=0;d<r;d++)t[d]=arguments[d]}return s(t,n+r)}})},"3d57":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("81ea");function i(e,t,n){return[...e.slice(0,t),...n,...e.slice(t)]}function o(e,t){return Object(r["arrayFilter"])(e,e=>!1===t.includes(e))}},"3d76":function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return a}));n("d9e2");var r=n("9acd");const{register:i,getItem:o,hasItem:s,getNames:a,getValues:l}=Object(r["a"])("renderers");function c(e){if("function"===typeof e)return e;if(!s(e))throw Error(`No registered renderer found under "${e}" name`);return o(e)}function u(e,t){"string"!==typeof e&&(t=e,e=t.RENDERER_TYPE),i(e,t)}},"3d7e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("0fc1"),s=n("4b7d"),a=n("7c81"),l=n("dc6b");function c(e,t,n,c){const u=s.tree_nodeLength(e);if(t>u)throw new o.IndexSizeError(`Offset exceeds character data length. Offset: ${t}, Length: ${u}, Node is ${e.nodeName}.`);t+n>u&&(n=u-t),r.dom.features.mutationObservers&&a.observer_queueMutationRecord("characterData",e,null,null,e._data,[],[],null,null);const d=e._data.substring(0,t)+c+e._data.substring(t+n);e._data=d;for(const i of r.dom.rangeList)i._start[0]===e&&i._start[1]>t&&i._start[1]<=t+n&&(i._start[1]=t),i._end[0]===e&&i._end[1]>t&&i._end[1]<=t+n&&(i._end[1]=t),i._start[0]===e&&i._start[1]>t+n&&(i._start[1]+=c.length-n),i._end[0]===e&&i._end[1]>t+n&&(i._end[1]+=c.length-n);r.dom.features.steps&&i.Guard.isTextNode(e)&&null!==e._parent&&l.dom_runChildTextContentChangeSteps(e._parent)}function u(e,t,n){const r=s.tree_nodeLength(e);if(t>r)throw new o.IndexSizeError(`Offset exceeds character data length. Offset: ${t}, Length: ${r}, Node is ${e.nodeName}.`);return t+n>r?e._data.substr(t):e._data.substr(t,n)}t.characterData_replaceData=c,t.characterData_substringData=u},"3daf":function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),s=n("ea53"),a=r.assert;function l(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,s.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),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function c(e,t,n,r,o){s.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(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(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,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()))))}o(l,s),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,n,r){return this.point(e,t,n,r)},l.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var l=a.fromRed().isOdd();return(t&&!l||!t&&l)&&(a=a.redNeg()),this.point(e,a)},l.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(c,s.BasePoint),l.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},l.prototype.point=function(e,t,n,r){return new c(this,e,t,n,r)},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(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),s=o.redSub(n),a=r.redSub(t),l=i.redMul(s),c=o.redMul(a),u=i.redMul(a),d=s.redMul(o);return this.curve.point(l,c,d,u)},c.prototype._projDbl=function(){var e,t,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){r=this.curve._mulA(a);var c=r.redAdd(l);this.zOne?(e=s.redSub(a).redSub(l).redMul(c.redSub(this.curve.two)),t=c.redMul(r.redSub(l)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),e=s.redSub(a).redISub(l).redMul(o),t=c.redMul(r.redSub(l)),n=c.redMul(o))}else r=a.redAdd(l),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(s.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(a.redISub(l)),n=r.redMul(o);return this.curve.point(e,t,n)},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)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),s=i.redSub(r),a=i.redAdd(r),l=n.redAdd(t),c=o.redMul(s),u=a.redMul(l),d=o.redMul(l),h=s.redMul(a);return this.curve.point(c,u,h,d)},c.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),l=i.redSub(a),c=i.redAdd(a),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),d=r.redMul(l).redMul(u);return this.curve.twisted?(t=r.redMul(c).redMul(s.redSub(this.curve._mulA(o))),n=l.redMul(c)):(t=r.redMul(c).redMul(s.redSub(o)),n=this.curve._mulC(l).redMul(c)),this.curve.point(d,t,n)},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,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},c.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],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 n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},"3de5":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  88. //! moment.js locale configuration
  89. var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=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 n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){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 r}))},"3de9":function(e,t,n){"use strict";var r=n("1985"),i=n("b2ed");e.exports=function(e,t){if("string"!==typeof e)throw new TypeError("Expected a String");t||(t={});var n=!0;t.named&&(n=!1),void 0!==t.numeric&&(n=t.numeric);for(var o=t.special||{'"':!0,"'":!0,"<":!0,">":!0,"&":!0},s=r.ucs2.decode(e),a=[],l=0;l<s.length;l++){var c=s[l],u=r.ucs2.encode([c]),d=i[c];d&&(c>=127||o[u])&&!n?a.push("&"+(/;$/.test(d)?d:d+";")):c<32||c>=127||o[u]?a.push("&#"+c+";"):a.push(u)}return a.join("")}},"3e00":function(e,t,n){},"3e3e":function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var r=n("b775");function i(e){return Object(r["a"])({url:"/params/search",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/params/create",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/params/update",method:"post",data:e})}function a(e){return Object(r["a"])({url:"/params/delete",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/params/info",method:"post",data:e})}},"3e4b":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-viewer"},[n("div",{ref:"content",staticClass:"content"},[e._l(e.coms,(function(t,r){return[n(t.type,{key:r,tag:"component",attrs:{com:t,coms:e.comList,currentIndex:r,isActive:!1},on:{onUpdateData:e.onUpdateData}})]}))],2),n("div",{staticClass:"export"},[n("el-button",{attrs:{type:"primary",loading:e.exporting,disabled:e.exporting},on:{click:e.onExports}},[e._v("导出")])],1)])},i=[],o=n("e004"),s=o["a"],a=(n("8ddb"),n("2877")),l=Object(a["a"])(s,r,i,!1,null,null,null);t["default"]=l.exports},"3e8f":function(e,t){},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  90. //! moment.js locale configuration
  91. var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},r=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 n[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,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return r}))},"3eb1":function(e,t,n){"use strict";var r=n("0f7c"),i=n("00ce"),o=n("d009"),s=n("0d25"),a=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(l,a),u=n("71c9"),d=i("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new s("a function is required");var t=c(r,l,arguments);return o(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return c(r,a,arguments)};u?u(e.exports,"apply",{value:h}):e.exports.apply=h},"3eb5":function(e,t,n){"use strict";function r(e){const t=new Date(e);return isNaN(new Date(e+"T00:00").getDate())?t:new Date(t.getTime()+6e4*t.getTimezoneOffset())}n.r(t),n.d(t,"getNormalizedDate",(function(){return r}))},"3f41":function(e,t,n){var r=n("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 r(e.VNode,e.VText)}},"3f62":function(e,t,n){var r=n("8707").Buffer,i=r.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function s(e){var t=r.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 a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){var t=-1;while(++t<e.length)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){var e,t,n,r=o(this.h),i=[0,0,0,0],a=-1;while(++a<128){for(t=0!==(this.state[~~(a/8)]&1<<7-a%8),t&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!==(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=s(i)},a.prototype.update=function(e){var t;this.cache=r.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(s([0,e,0,t])),this.state},e.exports=a},"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 n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},4:function(e,t){},4069:function(e,t,n){"use strict";var r=n("44d2");r("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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("4f09");function i(e,t){e.add(t)}function o(e,t){t.forEach(e.add,e)}function s(e,t){const n=new Set(e);e.clear(),e.add(t),n.forEach(e.add,e)}function a(e,t,n){const i=new Set;for(const o of e)r.isFunction(t)?t.call(null,o)?i.add(n):i.add(o):o===t?i.add(n):i.add(o);e.clear(),i.forEach(e.add,e)}function l(e,t,n){const r=new Set;let i=0;for(const o of e)i===n&&r.add(t),r.add(o),i++;e.clear(),r.forEach(e.add,e)}function c(e,t){if(r.isFunction(t)){const n=[];for(const r of e)t.call(null,r)&&n.push(r);for(const t of n)e.delete(t)}else e.delete(t)}function u(e){e.clear()}function d(e,t){if(!r.isFunction(t))return e.has(t);for(const n of e)if(t.call(null,n))return!0;return!1}function h(e,t){if(void 0===t)return e.size;{let n=0;for(const r of e)t.call(null,r)&&n++;return n}}function p(e){return 0===e.size}function*f(e,t){if(void 0===t)yield*e;else for(const n of e)t.call(null,n)&&(yield n)}function m(e){return new Set(e)}function A(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?-1:1),new Set(n)}function g(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?1:-1),new Set(n)}function _(e,t){for(const n of e)if(!t.has(n))return!1;return!0}function b(e,t){return _(t,e)}function v(e,t){const n=new Set;for(const r of e)t.has(r)&&n.add(r);return n}function w(e,t){const n=new Set(e);return t.forEach(n.add,n),n}function y(e,t){const n=new Set;for(let r=e;r<=t;r++)n.add(r);return n}t.append=i,t.extend=o,t.prepend=s,t.replace=a,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=b,t.intersection=v,t.union=w,t.range=y},4111:function(e,t,n){"use strict";var r=n("7f7a");t.certificate=n("56b5");var i=r.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 o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus")["int"](),this.key("publicExponent")["int"]())}));t.RSAPublicKey=o;var s=r.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())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var l=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version")["int"](),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=l;var c=r.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=r.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=r.define("DSAparam",(function(){this["int"]()}));var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),h=r.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=r.define("signature",(function(){this.seq().obj(this.key("r")["int"](),this.key("s")["int"]())}))},4136:function(e,t,n){"use strict";var r=t;r.base=n("ea53"),r.short=n("3300"),r.mont=n("676f"),r.edwards=n("3daf")},"417f7":function(e,t,n){"use strict";e.exports=EvalError},"41df":function(e,t,n){var r=t;r.Reporter=n("d1c8").Reporter,r.DecoderBuffer=n("6283").DecoderBuffer,r.EncoderBuffer=n("6283").EncoderBuffer,r.Node=n("8360")},4228:function(e,t,n){var r=n("82f0"),i=n("8707").Buffer,o=n("bac2"),s=n("09f5"),a=n("6430"),l=n("39f5"),c=n("ae84"),u=n("3fb5");function d(e,t,n){a.call(this),this._cache=new h,this._last=void 0,this._cipher=new l.AES(t),this._prev=i.from(n),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 n=-1;while(++n<t)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function f(e,t,n){var a=o[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"===typeof n&&(n=i.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);if("string"===typeof t&&(t=i.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new s(a.module,t,n,!0):"auth"===a.type?new r(a.module,t,n,!0):new d(a.module,t,n)}function m(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=c(t,!1,n.key,n.iv);return f(e,r.key,r.iv)}u(d,a),d.prototype._update=function(e){var t,n;this._cache.add(e);var r=[];while(t=this._cache.get(this._autopadding))n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},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,n){(function(e,t){t(n("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,n){"use strict";n.d(t,"i",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"m",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"j",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"f",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return A})),n.d(t,"h",(function(){return g}));var r=n("b775");function i(e){return Object(r["a"])({url:"/document/list",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/document/export",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/document/edit",method:"post",data:e})}function a(e){return Object(r["a"])({url:"/document/add",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/document/info/".concat(e),method:"get"})}function c(e){return Object(r["a"])({url:"/document/dele/".concat(e),method:"get"})}function u(e){return Object(r["a"])({url:"/document/category/search",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/document/category/create",method:"post",data:e})}function h(e){return Object(r["a"])({url:"/document/category/update",method:"post",data:e})}function p(e){return Object(r["a"])({url:"/document/category/info",method:"post",data:e})}function f(e){return Object(r["a"])({url:"/document/category/delete/".concat(e),method:"get"})}function m(e){return Object(r["a"])({url:"/template/searchList",method:"post",data:e})}function A(e){return Object(r["a"])({url:"/document/list",method:"post",data:e})}function g(e){return Object(r["a"])({url:"/product/getInfoDCPPNO/".concat(e),method:"get"})}},"429b":function(e,t,n){e.exports=n("faa1").EventEmitter},"42e9":function(e,t,n){"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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  94. //! moment.js locale configuration
  95. function t(e,t,n,r){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[n][0]:i[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return i(t)?"a "+e:"an "+e}function r(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,n=e/10;return i(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return i(e)}return e/=1e3,i(e)}var o=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:n,past:r,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 o}))},4478:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("14d9"),n("4ae1");var r=n("d967"),i=n("b380");function o(e,t,n){if(Object(r["a"])())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var s=new(e.bind.apply(e,o));return n&&Object(i["a"])(s,n.prototype),s}},"448c":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-formual"},[n("el-button",{on:{click:e.searchEx}},[e._v("检索")]),e.matchResults.length?n("div",{staticClass:"match-results"},[e._l(e.matchResults,(function(t,r){return n("div",{key:r,staticClass:"match-item"},[n("div",{staticClass:"match-content"},[n("span",[e._v("原始值: "+e._s(t))]),n("span",[e._v("替换后: "+e._s(t+"1"))])]),n("div",{staticClass:"actions"},[n("el-button",{attrs:{size:"small"},on:{click:function(n){return e.replaceItem(t)}}},[e._v("替换")])],1)])})),n("el-button",{attrs:{type:"primary"},on:{click:e.replaceAll}},[e._v("批量替换")])],2):e._e()],1)},i=[],o=n("2909"),s=(n("99af"),n("d3b7"),n("ac1f"),n("6062"),n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3"),n("3ca3"),n("466d"),n("0643"),n("4e3e"),n("159b"),n("ddb0"),n("1c4c")),a=(n("f7e6"),n("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 n=t.content.match(/\[[A-Z0-9]+-[A-Z0-9]+-[0-9]+-[0-9]+\]/g);n&&(e=[].concat(Object(o["a"])(e),Object(o["a"])(n)))})),this.matchResults=Object(o["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(s["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}}),l=a,c=(n("4b2c"),n("2877")),u=Object(c["a"])(l,r,i,!1,null,"162b1d64",null);t["default"]=u.exports},"44a3":function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.assert,s=i.cachedProperty,a=i.parseBytes;function l(e,t){this.eddsa=e,"object"!==typeof t&&(t=a(t)),Array.isArray(t)&&(o(t.length===2*e.encodingLength,"Signature has invalid size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(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,n){var r=n("9d30"),i=n("fee6");function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n("2bc1"),ElementType:n("843f"),DomHandler:i,get FeedHandler(){return o("FeedHandler",n("c13b"))},get Stream(){return o("Stream",n("464a"))},get WritableStream(){return o("WritableStream",n("4519"))},get ProxyHandler(){return o("ProxyHandler",n("2c0f"))},get DomUtils(){return o("DomUtils",n("39cd"))},get CollectingHandler(){return o("CollectingHandler",n("6727"))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new i(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var i=new e.exports.FeedHandler(n);return new r(i,n).end(t),i.dom},createDomStream:function(e,t,n){var o=new i(e,t,n);return new r(o,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,n){},4519:function(e,t,n){e.exports=a;var r=n("9d30"),i=n(2).Writable,o=n("7d72").StringDecoder,s=n("b639").Buffer;function a(e,t){var n=this._parser=new r(e,t),s=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(s.end())}))}n("3fb5")(a,i),a.prototype._write=function(e,t,n){e instanceof s&&(e=this._decoder.write(e)),this._parser.write(e),n()}},"464a":function(e,t,n){e.exports=i;var r=n("4519");function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n("3fb5")(i,r),i.prototype.readable=!0;var s=n("44e8").EVENTS;Object.keys(s).forEach((function(e){if(0===s[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===s[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==s[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},4678:function(e,t,n){var r={"./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=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="4678"},4681:function(e,t,n){"use strict";var r=n("966d");function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(s,this,e)):r.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(s,n,e)):r.nextTick(s,n,e):t&&t(e)})),this)}function o(){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 s(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},"470b":function(e,t,n){"use strict";(function(e){var r=n("b639").Buffer,i=n("d485").Transform,o=n("6b75e"),s=n("3022"),a=n("f654").ok,l=n("b639").kMaxLength,c="Cannot create final Buffer. It would be larger than 0x"+l.toString(16)+" bytes";o.Z_MIN_WINDOWBITS=8,o.Z_MAX_WINDOWBITS=15,o.Z_DEFAULT_WINDOWBITS=15,o.Z_MIN_CHUNK=64,o.Z_MAX_CHUNK=1/0,o.Z_DEFAULT_CHUNK=16384,o.Z_MIN_MEMLEVEL=1,o.Z_MAX_MEMLEVEL=9,o.Z_DEFAULT_MEMLEVEL=8,o.Z_MIN_LEVEL=-1,o.Z_MAX_LEVEL=9,o.Z_DEFAULT_LEVEL=o.Z_DEFAULT_COMPRESSION;for(var u=Object.keys(o),d=0;d<u.length;d++){var h=u[d];h.match(/^Z/)&&Object.defineProperty(t,h,{enumerable:!0,value:o[h],writable:!1})}for(var p={Z_OK:o.Z_OK,Z_STREAM_END:o.Z_STREAM_END,Z_NEED_DICT:o.Z_NEED_DICT,Z_ERRNO:o.Z_ERRNO,Z_STREAM_ERROR:o.Z_STREAM_ERROR,Z_DATA_ERROR:o.Z_DATA_ERROR,Z_MEM_ERROR:o.Z_MEM_ERROR,Z_BUF_ERROR:o.Z_BUF_ERROR,Z_VERSION_ERROR:o.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,n){var i=[],o=0;function s(){var t;while(null!==(t=e.read()))i.push(t),o+=t.length;e.once("readable",s)}function a(t){e.removeListener("end",u),e.removeListener("readable",s),n(t)}function u(){var t,s=null;o>=l?s=new RangeError(c):t=r.concat(i,o),i=[],e.close(),n(s,t)}e.on("error",a),e.on("end",u),e.end(t),s()}function _(e,t){if("string"===typeof t&&(t=r.from(t)),!r.isBuffer(t))throw new TypeError("Not a string or buffer");var n=e._finishFlushFlag;return e._processChunk(t,n)}function b(e){if(!(this instanceof b))return new b(e);T.call(this,e,o.DEFLATE)}function v(e){if(!(this instanceof v))return new v(e);T.call(this,e,o.INFLATE)}function w(e){if(!(this instanceof w))return new w(e);T.call(this,e,o.GZIP)}function y(e){if(!(this instanceof y))return new y(e);T.call(this,e,o.GUNZIP)}function R(e){if(!(this instanceof R))return new R(e);T.call(this,e,o.DEFLATERAW)}function M(e){if(!(this instanceof M))return new M(e);T.call(this,e,o.INFLATERAW)}function S(e){if(!(this instanceof S))return new S(e);T.call(this,e,o.UNZIP)}function E(e){return e===o.Z_NO_FLUSH||e===o.Z_PARTIAL_FLUSH||e===o.Z_SYNC_FLUSH||e===o.Z_FULL_FLUSH||e===o.Z_FINISH||e===o.Z_BLOCK}function T(e,n){var s=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||t.Z_DEFAULT_CHUNK,i.call(this,e),e.flush&&!E(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!E(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||o.Z_NO_FLUSH,this._finishFlushFlag="undefined"!==typeof e.finishFlush?e.finishFlush:o.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&&!r.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new o.Zlib(n);var a=this;this._hadError=!1,this._handle.onerror=function(e,n){C(a),a._hadError=!0;var r=new Error(e);r.errno=n,r.code=t.codes[n],a.emit("error",r)};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=r.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!s._handle},configurable:!0,enumerable:!0})}function C(t,n){n&&e.nextTick(n),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=b,t.Inflate=v,t.Gzip=w,t.Gunzip=y,t.DeflateRaw=R,t.InflateRaw=M,t.Unzip=S,t.createDeflate=function(e){return new b(e)},t.createInflate=function(e){return new v(e)},t.createDeflateRaw=function(e){return new R(e)},t.createInflateRaw=function(e){return new M(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,n){return"function"===typeof t&&(n=t,t={}),g(new b(t),e,n)},t.deflateSync=function(e,t){return _(new b(t),e)},t.gzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),g(new w(t),e,n)},t.gzipSync=function(e,t){return _(new w(t),e)},t.deflateRaw=function(e,t,n){return"function"===typeof t&&(n=t,t={}),g(new R(t),e,n)},t.deflateRawSync=function(e,t){return _(new R(t),e)},t.unzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),g(new S(t),e,n)},t.unzipSync=function(e,t){return _(new S(t),e)},t.inflate=function(e,t,n){return"function"===typeof t&&(n=t,t={}),g(new v(t),e,n)},t.inflateSync=function(e,t){return _(new v(t),e)},t.gunzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),g(new y(t),e,n)},t.gunzipSync=function(e,t){return _(new y(t),e)},t.inflateRaw=function(e,t,n){return"function"===typeof t&&(n=t,t={}),g(new M(t),e,n)},t.inflateRawSync=function(e,t){return _(new M(t),e)},s.inherits(T,i),T.prototype.params=function(n,r,i){if(n<t.Z_MIN_LEVEL||n>t.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+n);if(r!=t.Z_FILTERED&&r!=t.Z_HUFFMAN_ONLY&&r!=t.Z_RLE&&r!=t.Z_FIXED&&r!=t.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+r);if(this._level!==n||this._strategy!==r){var s=this;this.flush(o.Z_SYNC_FLUSH,(function(){a(s._handle,"zlib binding closed"),s._handle.params(n,r),s._hadError||(s._level=n,s._strategy=r,i&&i())}))}else e.nextTick(i)},T.prototype.reset=function(){return a(this._handle,"zlib binding closed"),this._handle.reset()},T.prototype._flush=function(e){this._transform(r.alloc(0),"",e)},T.prototype.flush=function(t,n){var i=this,s=this._writableState;("function"===typeof t||void 0===t&&!n)&&(n=t,t=o.Z_FULL_FLUSH),s.ended?n&&e.nextTick(n):s.ending?n&&this.once("end",n):s.needDrain?n&&this.once("drain",(function(){return i.flush(t,n)})):(this._flushFlag=t,this.write(r.alloc(0),"",n))},T.prototype.close=function(t){C(this,t),e.nextTick(O,this)},T.prototype._transform=function(e,t,n){var i,s=this._writableState,a=s.ending||s.ended,l=a&&(!e||s.length===e.length);return null===e||r.isBuffer(e)?this._handle?(l?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=s.length&&(this._flushFlag=this._opts.flush||o.Z_NO_FLUSH)),void this._processChunk(e,i,n)):n(new Error("zlib binding closed")):n(new Error("invalid input"))},T.prototype._processChunk=function(e,t,n){var i=e&&e.length,o=this._chunkSize-this._offset,s=0,u=this,d="function"===typeof n;if(!d){var h,p=[],f=0;this.on("error",(function(e){h=e})),a(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(t,e,s,i,this._buffer,this._offset,o)}while(!this._hadError&&_(m[0],m[1]));if(this._hadError)throw h;if(f>=l)throw C(this),new RangeError(c);var A=r.concat(p,f);return C(this),A}a(this._handle,"zlib binding closed");var g=this._handle.write(t,e,s,i,this._buffer,this._offset,o);function _(l,c){if(this&&(this.buffer=null,this.callback=null),!u._hadError){var h=o-c;if(a(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)&&(o=u._chunkSize,u._offset=0,u._buffer=r.allocUnsafe(u._chunkSize)),0===c){if(s+=i-l,i=l,!d)return!0;var A=u._handle.write(t,e,s,i,u._buffer,u._offset,u._chunkSize);return A.callback=_,void(A.buffer=e)}if(!d)return!1;n()}}g.buffer=e,g.callback=_},s.inherits(b,T),s.inherits(v,T),s.inherits(w,T),s.inherits(y,T),s.inherits(R,T),s.inherits(M,T),s.inherits(S,T)}).call(this,n("4362"))},4760:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"project-search"},[n("dataSearch",{on:{bindSetQuery:e.setQuery}}),n("dataList",{attrs:{queryForm:e.queryForm,allowEdit:e.checkAuth("/document/update"),allowDelete:e.checkAuth("/document/delete")}})],1)},i=[],o=n("5530"),s=n("2f62"),a=n("7369"),l={components:{dataSearch:a["dataSearch"],dataList:a["dataList"]},computed:Object(o["a"])({},Object(s["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=(n("9823"),n("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},"480c":function(e,t,n){"use strict";n.r(t),n.d(t,"spreadsheetColumnLabel",(function(){return s})),n.d(t,"spreadsheetColumnIndex",(function(){return a})),n.d(t,"createSpreadsheetData",(function(){return l})),n.d(t,"createSpreadsheetObjectData",(function(){return c})),n.d(t,"createEmptySpreadsheetData",(function(){return u})),n.d(t,"dataRowToChangesArray",(function(){return d})),n.d(t,"countFirstRowKeys",(function(){return h})),n.d(t,"isArrayOfArrays",(function(){return p})),n.d(t,"isArrayOfObjects",(function(){return f}));n("14d9");var r=n("351d");const i="ABCDEFGHIJKLMNOPQRSTUVWXYZ",o=i.length;function s(e){let t,n=e+1,r="";while(n>0)t=(n-1)%o,r=String.fromCharCode(65+t)+r,n=parseInt((n-t)/o,10);return r}function a(e){let t=0;if(e)for(let n=0,r=e.length-1;n<e.length;n+=1,r-=1)t+=o**r*(i.indexOf(e[n])+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 n=[];let r,i;for(r=0;r<e;r++){const e=[];for(i=0;i<t;i++)e.push(s(i)+(r+1));n.push(e)}return n}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 n=[];let r,i;for(r=0;r<e;r++){const e={};for(i=0;i<t;i++)e["prop"+i]=s(i)+(r+1);n.push(e)}return n}function u(e,t){const n=[];let r;for(let i=0;i<e;i++){r=[];for(let e=0;e<t;e++)r.push("");n.push(r)}return n}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e;const r=[];return Array.isArray(e)&&Array.isArray(e[0])||(n=[e]),n.forEach((e,n)=>{Array.isArray(e)?e.forEach((e,i)=>{r.push([n+t,i,e])}):Object.keys(e).forEach(i=>{r.push([n+t,i,e[i]])})}),r}function h(e){let t=0;return Array.isArray(e)&&(e[0]&&Array.isArray(e[0])?t=e[0].length:e[0]&&Object(r["isObject"])(e[0])&&(t=Object(r["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,n){"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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("5230"),i=n("ff74"),o=n("9af8"),s=n("cfc0"),a=n("a023"),l=n("3022"),c=n("cfc0");function u(e,t){const n=g(A(e)?e:r.DefaultBuilderOptions),i=o.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 r=new s.XMLBuilderImpl(i[t]);r.set(n),e.push(r)}return e}{const e=new s.XMLBuilderImpl(i);return e.set(n),e}}function d(e,t){const n=g(void 0===e||A(e)?e:r.DefaultBuilderOptions),o=A(e)?t:e;let l;if(void 0===o){const e=a.createDocument();l=new s.XMLBuilderImpl(e),_(e,n)}else if(i.isObject(o)){const e=a.createDocument();l=new s.XMLBuilderImpl(e),_(e,n),l.ele(o)}else if(/^\s*</.test(o)){const e=a.createParser(),t=e.parseFromString(a.sanitizeInput(o,n.invalidCharReplacement),"text/xml");a.throwIfParserError(t),l=new s.XMLBuilderImpl(t),_(t,n)}else{const e=a.createDocument();l=new s.XMLBuilderImpl(e),_(e,n);const t=JSON.parse(o);l.ele(t)}return l}function h(e,t){const n=g(void 0===e||A(e)?e:r.DefaultBuilderOptions),o=A(e)?t:e;let l;if(void 0===o){const e=a.createDocument();_(e,n,!0),l=new s.XMLBuilderImpl(e.createDocumentFragment())}else if(i.isObject(o)){const e=a.createDocument();_(e,n,!0),l=new s.XMLBuilderImpl(e.createDocumentFragment()),l.ele(o)}else if(/^\s*</.test(o)){const e=a.createParser(),t=e.parseFromString("<TEMP_ROOT>"+a.sanitizeInput(o,n.invalidCharReplacement)+"</TEMP_ROOT>","text/xml");if(a.throwIfParserError(t),_(t,n,!0),null===t.documentElement)throw new Error("Document element is null.");const r=t.createDocumentFragment();for(const n of t.documentElement.childNodes){const e=t.importNode(n,!0);r.appendChild(e)}l=new s.XMLBuilderImpl(r)}else{const e=a.createDocument();_(e,n,!0),l=new s.XMLBuilderImpl(e.createDocumentFragment());const t=JSON.parse(o);l.ele(t)}return l}function p(e,t,n){let i,o,s;return A(e)&&void 0!==t?(i=e,o=t,s=n):(i=r.DefaultBuilderOptions,o=e,s=t||void 0),d(i,o).end(s)}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)&&!r.XMLBuilderOptionKeys.has(t))return!1;return!0}function g(e={}){const t=i.applyDefaults(e,r.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,n){const r=e;r._xmlBuilderOptions=t,r._isFragment=n}t.builder=u,t.create=d,t.fragment=h,t.convert=p,t.createCB=f,t.fragmentCB=m},"485c":function(e,t,n){(function(e,t){t(n("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ı"},n=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,n){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 n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n}))},"48e6":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(5).Buffer}catch(T){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.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},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,n=0!==o||s!==this.length-1?u[6-l.length]+l+n:l+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],p=h[e];n="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),n=f.isZero()?m+n:u[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,c=new e(o),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[a]=s;for(;a<o;a++)c[a]=0}else{for(a=0;a<o-i;a++)c[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[o-a-1]=s}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function A(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new _;return r.mulp(e,t,n)}function _(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?f(this,e,t):r<1024?A(this,e,t):g(this,e,t),n},_.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},_.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},_.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},_.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},_.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},_.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},_.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},_.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"===typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function R(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(w,v),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&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,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(R,v),i(M,v),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new R;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(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 o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},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},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"48f5":function(e,t,n){"use strict";n("7d33")},"491c":function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c}));n("d9e2");var r=n("1004"),i=n("9acd");const o=new WeakMap,{register:s,getItem:a,hasItem:l,getNames:c,getValues:u}=Object(i["a"])("editors");function d(e){const t={},n=e;this.getConstructor=function(){return e},this.getInstance=function(e){return e.guid in t||(t[e.guid]=new n(e)),t[e.guid]},r["a"].getSingleton().add("afterDestroy",(function(){t[this.guid]=null}))}function h(e,t){let n;if("function"===typeof e)o.get(e)||f(null,e),n=o.get(e);else{if("string"!==typeof e)throw Error('Only strings and functions can be passed as "editor" parameter');n=a(e)}if(!n)throw Error(`No editor registered under name "${e}"`);return n.getInstance(t)}function p(e){if("function"===typeof e)return e;if(!l(e))throw Error(`No registered editor found under "${e}" name`);return a(e).getConstructor()}function f(e,t){e&&"string"!==typeof e&&(t=e,e=t.EDITOR_TYPE);const n=new d(t);"string"===typeof e&&s(e,n),o.set(t,n)}},"49ab":function(e,t,n){(function(e,t){t(n("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,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<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,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"data-info"},[n("el-card",[n("el-form",{attrs:{model:e.dataForm,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"公式名称:"}},[n("el-input",{model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),n("el-form-item",{attrs:{label:"公式:"}},[n("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"}}),n("div",{staticStyle:{display:"flex","justify-content":"flex-end"}},[n("el-button",{staticStyle:{"margin-top":"10px"},on:{click:e.InsertTableData}},[e._v("插入表格数据")]),n("el-button",{staticStyle:{"margin-top":"10px"},attrs:{type:"primary"},on:{click:e.InsertModule}},[e._v("插入模块变量")])],1),n("div",{staticClass:"intro"},[e._v(" 公式说明: "),n("div",[e._v(" 格式一:[T][模块引用名][属性引用名] "),n("span",[e._v("*")]),e._v("其中 [T]表示的是模块引用。 ")]),n("div",[e._v("目前仅支持+、-、*、/ 四种计算符合")]),n("div",[e._v("示例: [T][模块01][attr01]+[T][模块01][attr02]")]),n("div",[e._v(" 格式二:[T][模块引用名][属性引用名] IF(判断条件,true值,false值)"),n("span",[e._v("*")]),e._v("其中 [T]表示的是模块引用。 ")]),n("div",[e._v(" 示例: [T][图文][测试1]+IF([T][图文][测试1]>30,[T][图文][测试2],11) ")]),n("div",[e._v(" 嵌套示例: [T][图文][测试1] + IF([T][图文][测试2] > 50, IF([T][图文][测试1] > 30, [T][图文][测试3], 20), IF([T][图文][测试3] > 40, 15, [T][图文][测试2]) ) ")])])],1),n("el-form-item",{attrs:{label:"保留小数点:"}},[n("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),n("el-form-item",{attrs:{label:"介绍:"}},[n("el-input",{attrs:{type:"textarea"},model:{value:e.dataForm.intro,callback:function(t){e.$set(e.dataForm,"intro",t)},expression:"dataForm.intro"}})],1),n("el-form-item",{attrs:{label:"公式状态:"}},[n("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 n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),n("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[n("el-button",{attrs:{type:"warning"},on:{click:e.btnSave}},[e._v("确认保存")])],1),n("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}},[n("el-form",{ref:"insertRef",attrs:{model:e.insertForm,rules:e.insertRules}},[n("el-form-item",{attrs:{label:"模块名称:"}},[n("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 n("el-option",{key:e.id+"-"+t,attrs:{label:e.name,value:e.attrs}})})),1)],1),n("el-form-item",{attrs:{label:"属性名称:",prop:"Variable"}},[n("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 n("el-option",{key:e.id+"-"+t,attrs:{label:e.name,value:e.id}})})),1)],1)],1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"warning"},on:{click:e.btnInster}},[e._v("确认插入")])],1)],1),n("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}},[n("div",{staticClass:"com-formual"},[n("el-form",[n("el-form-item",[n("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 n("el-option",{key:e.id,attrs:{label:e.name,value:t}})})),1)],1),e.fileLoadStatus?n("el-form-item",{staticStyle:{"min-height":"500px"}},[n("div",{ref:"luckysheets",staticStyle:{width:"100%",height:"500px"},attrs:{id:"luckysheets"}})]):e._e()],1)],1)]),n("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[n("div",{staticClass:"dialog-footer"},[n("el-button",{on:{click:function(t){e.showConfirm=!1}}},[e._v("关闭")]),n("el-button",{attrs:{type:"primary"},on:{click:e.onConfirm}},[e._v("确认插入")])],1)]},proxy:!0}])},[n("div",[e._v("当前工作表:"+e._s(e.position.sheet))]),n("div",[e._v("当前取值:"+e._s(e.position.value))])])],1)},i=[],o=n("ade3"),s=(n("99af"),n("4de4"),n("7db0"),n("c740"),n("caad"),n("d81d"),n("14d9"),n("b0c0"),n("a9e3"),n("b64b"),n("d3b7"),n("ac1f"),n("6062"),n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3"),n("2532"),n("3ca3"),n("498a"),n("0643"),n("2382"),n("fffc"),n("a573"),n("9a9a"),n("ddb0"),n("f9e5")),a=n("1c4c"),l=(n("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,n=t.dataForm.id>0?s["e"]:s["a"];n(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,n={id:e};Object(s["c"])(n).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,n=/\{\{([\s\S]*?)\}\}/g,r=[];while(null!==(t=n.exec(e))){var i=t[1].trim();r.push(i)}return r},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 n=e.list.find((function(t){return t.attrs===e.insertForm.moduleName}));if(n){var r,i=n.name,o=null===(r=e.attrList.find((function(t){return t.id===e.insertForm.Variable})))||void 0===r?void 0:r.name;if(o){var s="[T][".concat(i,"][").concat(o,"]");e.dataForm.formula+=s,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,n=t.tableList[e];t.fileLoadStatus=!0,n.sourceData=JSON.parse(n.source_data),console.log(n.sourceData.exportJson.sheets),t.position.tb=n.code,t.$nextTick((function(){luckysheet.destroy(),luckysheet.create(Object(o["a"])(Object(o["a"])(Object(o["a"])({container:"luckysheets",data:n.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,n,r,i){t.position.sheet=r.name,t.position.r=n.r,t.position.c=n.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(a["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}}),c=l,u=(n("48f5"),n("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},"4b2c":function(e,t,n){"use strict";n("2e15")},"4b78":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("ff74"),i=n("42e9"),o=n("ad99"),s=n("9af8");class a extends o.BaseWriter{constructor(){super(...arguments),this._indentation={},this._lengthToLastNewline=0}serialize(e,t){return this._options=r.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,n){this._beginLine(),this._refs.markup+=t&&n?"<!DOCTYPE "+e+' PUBLIC "'+t+'" "'+n+'">':t?"<!DOCTYPE "+e+' PUBLIC "'+t+'">':n?"<!DOCTYPE "+e+' SYSTEM "'+n+'">':"<!DOCTYPE "+e+">",this._endLine()}openTagBegin(e){this._beginLine(),this._refs.markup+="<"+e}openTagEnd(e,t,n){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._options.prettyPrint&&!t&&!n){let e=!0,t=!0,n=this.currentNode.firstChild,r=0,i=0;while(n){if(s.Guard.isExclusiveTextNode(n))i++;else{if(!s.Guard.isCDATASectionNode(n)){e=!1,t=!1;break}r++}""!==n.data&&(t=!1),n=n.nextSibling}this._refs.suppressPretty=!this._options.indentTextOnlyNodes&&e&&(r<=1&&0===i||0===r),this._refs.emptyNode=t}(n||t||this._refs.emptyNode)&&this._options.allowEmptyTags?this._refs.markup+="></"+e+">":this._refs.markup+=n?" />":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 n=e+'="'+t+'"';this._options.prettyPrint&&this._options.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+n.length>this._options.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+n):this._refs.markup+=" "+n}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=a},"4b7d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9af8"),i=n("42e9");function o(e,t,n=!1){if(n&&r.Guard.isElementNode(t)&&r.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 s(){return{[Symbol.iterator]:()=>({next:()=>({done:!0,value:null})})}}function a(e,t=!1,n=!1,r){let i=t?e:o(e,e,n);while(i&&r&&!r(i))i=o(e,i,n);return i}function l(e,t,n=!1,r=!1,i){let s=o(e,t,r);while(s&&i&&!i(s))s=o(e,s,r);return s}function c(e,t=!1,n=!1,r){return t||0!==e._children.size?{[Symbol.iterator]:()=>{let i=t?e:o(e,e,n);return{next:()=>{while(i&&r&&!r(i))i=o(e,i,n);if(null===i)return{done:!0,value:null};{const t={done:!1,value:i};return i=o(e,i,n),t}}}}}:s()}function u(e,t=!1,n=!1,i){return t||0!==e._children.size?{[Symbol.iterator]:()=>{const o=c(e,t,n,e=>r.Guard.isElementNode(e))[Symbol.iterator]();let s=o.next().value;return{next(){while(s&&i&&!i(s))s=o.next().value;if(null===s)return{done:!0,value:null};{const e={done:!1,value:s};return s=o.next().value,e}}}}}:s()}function d(e,t=!1,n){return e._parent&&0!==e._parent._children.size?{[Symbol.iterator](){let r=e._parent?e._parent._firstChild:null;return{next(){while(r&&(n&&!n(r)||!t&&r===e))r=r._nextSibling;if(null===r)return{done:!0,value:null};{const e={done:!1,value:r};return r=r._nextSibling,e}}}}}:s()}function h(e,t=!1,n){let r=t?e:e._parent;while(r&&n&&!n(r))r=r._parent;return r}function p(e,t,n=!1,r){let i=t._parent;while(i&&r&&!r(i))i=i._parent;return i}function f(e,t=!1,n){return t||e._parent?{[Symbol.iterator](){let r=h(e,t,n);return{next(){if(null===r)return{done:!0,value:null};{const i={done:!1,value:r};return r=p(e,r,t,n),i}}}}}:s()}function m(e,t){if(e===t)return e._parent;const n=[],r=[];let i=h(e,!0);while(null!==i)n.push(i),i=p(e,i,!0);let o=h(t,!0);while(null!==o)r.push(o),o=p(t,o,!0);let s=n.length,a=r.length,l=null;for(let c=Math.min(s,a);c>0;c--){const e=n[--s],t=r[--a];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 n=t._parent;if(null===n||n===e)return null;if(n._nextSibling)return n._nextSibling;t=n}}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,n=!1;for(const r of e._children)switch(r._nodeType){case i.NodeType.ProcessingInstruction:case i.NodeType.Comment:break;case i.NodeType.DocumentType:if(t||n)return!1;t=!0;break;case i.NodeType.Element:if(n)return!1;n=!0;break;default:return!1}break;case i.NodeType.DocumentFragment:case i.NodeType.Element:for(const r of e._children)switch(r._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 b(e){return r.Guard.isDocumentTypeNode(e)?0:r.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function v(e){return 0===b(e)}function w(e,t=!1){if(t){const t=w(e,!1);return r.Guard.isShadowRoot(t)?w(t._host,!0):t}return e._parent?w(e._parent):e}function y(e,t,n=!1,r=!1){let i=a(e,n,r);while(null!==i){if(i===t)return!0;i=l(e,i,n,r)}return!1}function R(e,t,n=!1,i=!1){let o=n?e:i&&r.Guard.isShadowRoot(e)?e._host:e._parent;while(null!==o){if(o===t)return!0;o=i&&r.Guard.isShadowRoot(o)?o._host:o._parent}return!1}function M(e,t,n=!1){if(R(e,t,n))return!0;const i=w(e);return!(!r.Guard.isDocumentFragmentNode(i)||null===i._host||!M(i._host,t,n))}function S(e,t,n=!1){return e!==t?null!==e._parent&&e._parent===t._parent:!!n}function E(e,t){const n=P(e),r=P(t);return-1!==n&&-1!==r&&(w(e)===w(t)&&r<n)}function T(e,t){const n=P(e),r=P(t);return-1!==n&&-1!==r&&(w(e)===w(t)&&r>n)}function C(e,t){return e._parent===t}function O(e,t){return t._parent===e}function x(e){return e._previousSibling}function N(e){return e._nextSibling}function L(e){return e._firstChild}function I(e){return e._lastChild}function P(e){const t=w(e);let n=0,r=a(t);while(null!==r){if(n++,r===e)return n;r=l(t,r)}return-1}function D(e){let t=0;while(null!==e._previousSibling)t++,e=e._previousSibling;return t}function F(e,t){while(1){if(!e||!r.Guard.isNode(e))return e;const n=w(e);if(!r.Guard.isShadowRoot(n))return e;if(t&&r.Guard.isNode(t)&&R(n,t,!0,!0))return e;e=n.host}}t.tree_getFirstDescendantNode=a,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=b,t.tree_isEmpty=v,t.tree_rootNode=w,t.tree_isDescendantOf=y,t.tree_isAncestorOf=R,t.tree_isHostIncludingAncestorOf=M,t.tree_isSiblingOf=S,t.tree_isPreceding=E,t.tree_isFollowing=T,t.tree_isParentOf=C,t.tree_isChildOf=O,t.tree_previousSibling=x,t.tree_nextSibling=N,t.tree_firstChild=L,t.tree_lastChild=I,t.tree_treePosition=P,t.tree_index=D,t.tree_retarget=F},"4ba9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  100. //! moment.js locale configuration
  101. function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=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 n}))},"4bb4":function(e,t,n){},"4c4e":function(e,t,n){"use strict";function r(e){return e>=0&&e<=127}Object.defineProperty(t,"__esModule",{value:!0}),t.isASCIIByte=r},"4c98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  102. //! moment.js locale configuration
  103. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=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,n){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 n[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return n[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 r}))},"4dc6":function(e,t,n){"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,n){"use strict";var r=/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,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,s=n("ae84"),a=n("fda6"),l=n("8707").Buffer;e.exports=function(e,t){var n,c=e.toString(),u=c.match(r);if(u){var d="aes"+u[1],h=l.from(u[2],"hex"),p=l.from(u[3].replace(/[\r\n]/g,""),"base64"),f=s(t,h.slice(0,8),parseInt(u[1],10)).key,m=[],A=a.createDecipheriv(d,f,h);m.push(A.update(p)),m.push(A["final"]()),n=l.concat(m)}else{var g=c.match(o);n=l.from(g[2].replace(/[\r\n]/g,""),"base64")}var _=c.match(i)[1];return{tag:_,data:n}}},"4e2b":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o=n("5ee7"),s=n("0184");function a(){this.tmp=new Array(2),this.keys=null}function l(e){s.call(this,e);var t=new a;this._desState=t,this.deriveKeys(t,e.key)}i(l,s),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),r.equal(t.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var a=c[s>>>1];n=o.r28shl(n,a),i=o.r28shl(i,a),o.pc2(n,i,e.keys,s)}},l.prototype._update=function(e,t,n,r){var i=this._desState,s=o.readUInt32BE(e,t),a=o.readUInt32BE(e,t+4);o.ip(s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,s,a,i.tmp,0):this._decrypt(i,s,a,i.tmp,0),s=i.tmp[0],a=i.tmp[1],o.writeUInt32BE(n,s,r),o.writeUInt32BE(n,a,r+4)},l.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},l.prototype._unpad=function(e){if(!1===this.padding)return e;for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,n,r,i){for(var s=t,a=n,l=0;l<e.keys.length;l+=2){var c=e.keys[l],u=e.keys[l+1];o.expand(a,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=o.substitute(c,u),h=o.permute(d),p=a;a=(s^h)>>>0,s=p}o.rip(a,s,r,i)},l.prototype._decrypt=function(e,t,n,r,i){for(var s=n,a=t,l=e.keys.length-2;l>=0;l-=2){var c=e.keys[l],u=e.keys[l+1];o.expand(s,e.tmp,0),c^=e.tmp[0],u^=e.tmp[1];var d=o.substitute(c,u),h=o.permute(d),p=s;s=(a^h)>>>0,a=p}o.rip(s,a,r,i)}},"4e82":function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("59ed"),s=n("7b0b"),a=n("07fa"),l=n("083a"),c=n("577e"),u=n("d039"),d=n("addb"),h=n("a640"),p=n("04d1"),f=n("d998"),m=n("2d00"),A=n("512ce"),g=[],_=i(g.sort),b=i(g.push),v=u((function(){g.sort(void 0)})),w=u((function(){g.sort(null)})),y=h("sort"),R=!u((function(){if(m)return m<70;if(!(p&&p>3)){if(f)return!0;if(A)return A<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:t+r,v:n})}for(g.sort((function(e,t){return t.v-e.v})),r=0;r<g.length;r++)t=g[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}})),M=v||!w||!y||!R,S=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}};r({target:"Array",proto:!0,forced:M},{sort:function(e){void 0!==e&&o(e);var t=s(this);if(R)return void 0===e?_(t):_(t,e);var n,r,i=[],c=a(t);for(r=0;r<c;r++)r in t&&b(i,t[r]);d(i,S(e)),n=a(i),r=0;while(r<n)t[r]=i[r++];while(r<c)l(t,r++);return t}})},"4ec3":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("b775");function i(e){return Object(r["a"])({url:"/user/current",method:"post",data:e})}},"4ec9":function(e,t,n){"use strict";n("6f48")},"4f09":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("c027");t.FixedSizeSet=r.FixedSizeSet;var i=n("2953");t.ObjectCache=i.ObjectCache;var o=n("d7ff");t.CompareCache=o.CompareCache;var s=n("a086");function a(e,t,...n){Object.getOwnPropertyNames(t.prototype).forEach(r=>{if(n.includes(r)){const t=Object.getOwnPropertyDescriptor(e.prototype,r);t&&Object.defineProperty(e.prototype,"_"+r,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,r);i&&Object.defineProperty(e.prototype,r,i)})}function l(e,t,n=!1){const r=m(e||{});return u(t,(e,t)=>{v(t)?r[e]=l(r[e],t):(n||void 0===r[e])&&(r[e]=t)}),r}function c(e,t,n){e.forEach(t,n)}function u(e,t,n){if(R(e))e.forEach((e,r)=>t.call(n,r,e));else for(const r in e)e.hasOwnProperty(r)&&t.call(n,r,e[r])}function d(e){return y(e)?e.size:e.length}function h(e){return R(e)?e.size:Object.keys(e).length}function p(e,t){return R(e)?e.get(t):e[t]}function f(e,t){R(e)?e.delete(t):delete e[t]}function m(e){if(b(e))return e;if(w(e)){const t=[];for(const n of e)t.push(m(n));return t}if(v(e)){const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=m(r)}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 b(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function v(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 R(e){return e instanceof Map}function M(e){if(w(e))return!e.length;if(y(e))return!e.size;if(R(e))return!e.size;if(v(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function S(e){if(v(e)){const t=Object.getPrototypeOf(e),n=t.constructor;return t&&n&&"function"===typeof n&&n instanceof n&&Function.prototype.toString.call(n)===Function.prototype.toString.call(Object)}return!1}function E(e){return e&&"function"===typeof e[Symbol.iterator]}function T(e){return b(e.valueOf)?e.valueOf():e}function C(e){const t=new Uint8Array(4*e.length);let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i<128)t[n++]=i;else{if(i<2048)t[n++]=i>>6|192;else{if(i>55295&&i<56320){if(++r>=e.length)throw new Error("Incomplete surrogate pair.");const o=e.charCodeAt(r);if(o<56320||o>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&o),t[n++]=i>>18|240,t[n++]=i>>12&63|128}else t[n++]=i>>12|224;t[n++]=i>>6&63|128}t[n++]=63&i|128}}return t.subarray(0,n)}function O(e){let t="",n=0;while(n<e.length){var r=e[n++];if(r>127)if(r>191&&r<224){if(n>=e.length)throw new Error("Incomplete 2-byte sequence.");r=(31&r)<<6|63&e[n++]}else if(r>223&&r<240){if(n+1>=e.length)throw new Error("Incomplete 3-byte sequence.");r=(15&r)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(r>239&&r<248))throw new Error("Unknown multi-byte start.");if(n+2>=e.length)throw new Error("Incomplete 4-byte sequence.");r=(7&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}if(r<=65535)t+=String.fromCharCode(r);else{if(!(r<=1114111))throw new Error("Code point exceeds UTF-16 limit.");r-=65536,t+=String.fromCharCode(r>>10|55296),t+=String.fromCharCode(1023&r|56320)}}return t}t.Lazy=s.Lazy,t.applyMixin=a,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=b,t.isObject=v,t.isArray=w,t.isSet=y,t.isMap=R,t.isEmpty=M,t.isPlainObject=S,t.isIterable=E,t.getValue=T,t.utf8Encode=C,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,n,r){function i(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return require(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){var n=t[s][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,n){
  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 r=e("base64-js"),i=e("ieee754"),o=e("is-array");n.Buffer=a,n.SlowBuffer=a,n.INSPECT_MAX_BYTES=50,a.poolSize=8192;var s=1073741823;function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);var r,i,l,c=typeof e;if("number"===c)r=e>0?e>>>0:0;else if("string"===c)"base64"===t&&(e=O(e)),r=a.byteLength(e,t);else{if("object"!==c||null===e)throw new TypeError("must start with number, buffer, array or string");"Buffer"===e.type&&o(e.data)&&(e=e.data),r=+e.length>0?Math.floor(+e.length):0}if(this.length>s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");if(a.TYPED_ARRAY_SUPPORT?i=a._augment(new Uint8Array(r)):(i=this,i.length=r,i._isBuffer=!0),a.TYPED_ARRAY_SUPPORT&&"number"===typeof e.byteLength)i._set(e);else if(N(e))if(a.isBuffer(e))for(l=0;l<r;l++)i[l]=e.readUInt8(l);else for(l=0;l<r;l++)i[l]=(e[l]%256+256)%256;else if("string"===c)i.write(e,0,t);else if("number"===c&&!a.TYPED_ARRAY_SUPPORT&&!n)for(l=0;l<r;l++)i[l]=0;return i}function l(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;s++){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))throw new Error("Invalid hex string");e[n+s]=a}return s}function c(e,t,n,r){var i=k(I(t),e,n,r);return i}function u(e,t,n,r){var i=k(P(t),e,n,r);return i}function d(e,t,n,r){return u(e,t,n,r)}function h(e,t,n,r){var i=k(F(t),e,n,r);return i}function p(e,t,n,r){var i=k(D(t),e,n,r,2);return i}function f(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function m(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;o<n;o++)e[o]<=127?(r+=B(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+B(i)}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;i++)r+=String.fromCharCode(e[i]);return r}function g(e,t,n){return A(e,t,n)}function _(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;o++)i+=L(e[o]);return i}function b(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function v(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||t<o)throw new TypeError("value is out of bounds");if(n+r>e.length)throw new TypeError("index out of range")}function y(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function M(e,t,n,r,i,o){if(t>i||t<o)throw new TypeError("value is out of bounds");if(n+r>e.length)throw new TypeError("index out of range")}function S(e,t,n,r,o){return o||M(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function E(e,t,n,r,o){return o||M(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}a.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(n){return!1}}(),a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o&&e[i]===t[i];i++);return i!==o&&(n=e[i],r=t[i]),n<r?-1:r<n?1:0},a.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}},a.concat=function(e,t){if(!o(e))throw new TypeError("Usage: Buffer.concat(list[, length])");if(0===e.length)return new a(0);if(1===e.length)return e[0];var n;if(void 0===t)for(t=0,n=0;n<e.length;n++)t+=e[n].length;var r=new a(t),i=0;for(n=0;n<e.length;n++){var s=e[n];s.copy(r,i),i+=s.length}return r},a.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"ascii":case"binary":case"raw":n=e.length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;case"hex":n=e.length>>>1;break;case"utf8":case"utf-8":n=I(e).length;break;case"base64":n=F(e).length;break;default:n=e.length}return n},a.prototype.length=void 0,a.prototype.parent=void 0,a.prototype.toString=function(e,t,n){var r=!1;if(t>>>=0,n=void 0===n||n===1/0?this.length:n>>>0,e||(e="utf8"),t<0&&(t=0),n>this.length&&(n=this.length),n<=t)return"";while(1)switch(e){case"hex":return _(this,t,n);case"utf8":case"utf-8":return m(this,t,n);case"ascii":return A(this,t,n);case"binary":return g(this,t,n);case"base64":return f(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return 0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return a.compare(this,e)},a.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},a.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},a.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var i=r;r=t,t=n,n=i}t=Number(t)||0;var o,s=this.length-t;switch(n?(n=Number(n),n>s&&(n=s)):n=s,r=String(r||"utf8").toLowerCase(),r){case"hex":o=l(this,e,t,n);break;case"utf8":case"utf-8":o=c(this,e,t,n);break;case"ascii":o=u(this,e,t,n);break;case"binary":o=d(this,e,t,n);break;case"base64":o=h(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=p(this,e,t,n);break;default:throw new TypeError("Unknown encoding: "+r)}return o},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),a.TYPED_ARRAY_SUPPORT)return a._augment(this.subarray(e,t));for(var r=t-e,i=new a(r,void 0,!0),o=0;o<r;o++)i[o]=this[o+e];return i},a.prototype.readUInt8=function(e,t){return t||v(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||v(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||v(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readInt8=function(e,t){return t||v(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||v(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||v(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||v(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||v(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||v(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||v(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):y(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):y(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e):R(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e):R(this,e,t,!1),t+4},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):y(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):y(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e):R(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return S(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return S(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return E(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return E(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){var i=this;if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==i.length){if(r<n)throw new TypeError("sourceEnd < sourceStart");if(t<0||t>=e.length)throw new TypeError("targetStart out of bounds");if(n<0||n>=i.length)throw new TypeError("sourceStart out of bounds");if(r<0||r>i.length)throw new TypeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(var s=0;s<o;s++)e[s+t]=this[s+n];else e._set(this.subarray(n,n+o),t)}},a.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),n<t)throw new TypeError("end < start");if(n!==t&&0!==this.length){if(t<0||t>=this.length)throw new TypeError("start out of bounds");if(n<0||n>this.length)throw new TypeError("end out of bounds");var r;if("number"===typeof e)for(r=t;r<n;r++)this[r]=e;else{var i=I(e.toString()),o=i.length;for(r=t;r<n;r++)this[r]=i[r%o]}return this}},a.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(a.TYPED_ARRAY_SUPPORT)return new a(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var T=a.prototype;a._augment=function(e){return e.constructor=a,e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=T.get,e.set=T.set,e.write=T.write,e.toString=T.toString,e.toLocaleString=T.toString,e.toJSON=T.toJSON,e.equals=T.equals,e.compare=T.compare,e.copy=T.copy,e.slice=T.slice,e.readUInt8=T.readUInt8,e.readUInt16LE=T.readUInt16LE,e.readUInt16BE=T.readUInt16BE,e.readUInt32LE=T.readUInt32LE,e.readUInt32BE=T.readUInt32BE,e.readInt8=T.readInt8,e.readInt16LE=T.readInt16LE,e.readInt16BE=T.readInt16BE,e.readInt32LE=T.readInt32LE,e.readInt32BE=T.readInt32BE,e.readFloatLE=T.readFloatLE,e.readFloatBE=T.readFloatBE,e.readDoubleLE=T.readDoubleLE,e.readDoubleBE=T.readDoubleBE,e.writeUInt8=T.writeUInt8,e.writeUInt16LE=T.writeUInt16LE,e.writeUInt16BE=T.writeUInt16BE,e.writeUInt32LE=T.writeUInt32LE,e.writeUInt32BE=T.writeUInt32BE,e.writeInt8=T.writeInt8,e.writeInt16LE=T.writeInt16LE,e.writeInt16BE=T.writeInt16BE,e.writeInt32LE=T.writeInt32LE,e.writeInt32BE=T.writeInt32BE,e.writeFloatLE=T.writeFloatLE,e.writeFloatBE=T.writeFloatBE,e.writeDoubleLE=T.writeDoubleLE,e.writeDoubleBE=T.writeDoubleBE,e.fill=T.fill,e.inspect=T.inspect,e.toArrayBuffer=T.toArrayBuffer,e};var C=/[^+\/0-9A-z]/g;function O(e){e=x(e).replace(C,"");while(e.length%4!==0)e+="=";return e}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function N(e){return o(e)||a.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=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(r);else{var i=n;r>=55296&&r<=57343&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),s=0;s<o.length;s++)t.push(parseInt(o[s],16))}}return t}function P(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}function D(e){for(var t,n,r,i=[],o=0;o<e.length;o++)t=e.charCodeAt(o),n=t>>8,r=t%256,i.push(r),i.push(n);return i}function F(e){return r.toByteArray(e)}function k(e,t,n,r,i){i&&(r-=r%i);for(var o=0;o<r;o++){if(o+n>=t.length||o>=e.length)break;t[o+n]=e[o]}return o}function B(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}},{"base64-js":2,ieee754:3,"is-array":4}],2:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(e){"use strict";var t="undefined"!==typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),i="/".charCodeAt(0),o="0".charCodeAt(0),s="a".charCodeAt(0),a="A".charCodeAt(0);function l(e){var t=e.charCodeAt(0);return t===n?62:t===i?63:t<o?-1:t<o+10?t-o+26+26:t<a+26?t-a:t<s+26?t-s+26:void 0}function c(e){var n,r,i,o,s,a;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;s="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,a=new t(3*e.length/4-s),i=s>0?e.length-4:e.length;var u=0;function d(e){a[u++]=e}for(n=0,r=0;n<i;n+=4,r+=3)o=l(e.charAt(n))<<18|l(e.charAt(n+1))<<12|l(e.charAt(n+2))<<6|l(e.charAt(n+3)),d((16711680&o)>>16),d((65280&o)>>8),d(255&o);return 2===s?(o=l(e.charAt(n))<<2|l(e.charAt(n+1))>>4,d(255&o)):1===s&&(o=l(e.charAt(n))<<10|l(e.charAt(n+1))<<4|l(e.charAt(n+2))>>2,d(o>>8&255),d(255&o)),a}function u(e){var t,n,i,o=e.length%3,s="";function a(e){return r.charAt(e)}function l(e){return a(e>>18&63)+a(e>>12&63)+a(e>>6&63)+a(63&e)}for(t=0,i=e.length-o;t<i;t+=3)n=(e[t]<<16)+(e[t+1]<<8)+e[t+2],s+=l(n);switch(o){case 1:n=e[e.length-1],s+=a(n>>2),s+=a(n<<4&63),s+="==";break;case 2:n=(e[e.length-2]<<8)+e[e.length-1],s+=a(n>>10),s+=a(n>>4&63),s+=a(n<<2&63),s+="=";break}return s}e.toByteArray=c,e.fromByteArray=u})("undefined"===typeof n?this.base64js={}:n)},{}],3:[function(e,t,n){n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=h,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=c}return(p?-1:1)*s*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),t+=s+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+p]=255&a,p+=f,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[n+p]=255&s,p+=f,s/=256,c-=8);e[n+p-f]|=128*m}},{}],4:[function(e,t,n){var r=Array.isArray,i=Object.prototype.toString;t.exports=r||function(e){return!!e&&"[object Array]"==i.call(e)}},{}],5:[function(e,t,n){"use strict";var r=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 r,i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-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,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){var n,i,o,s,a,l,c,u="",d=0;while(d<e.length)n=e.charCodeAt(d++),i=e.charCodeAt(d++),o=e.charCodeAt(d++),s=n>>2,a=(3&n)<<4|i>>4,l=(15&i)<<2|o>>6,c=63&o,isNaN(i)?l=c=64:isNaN(o)&&(c=64),u=u+r.charAt(s)+r.charAt(a)+r.charAt(l)+r.charAt(c);return u},n.decode=function(e,t){var n,i,o,s,a,l,c,u="",d=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(d<e.length)s=r.indexOf(e.charAt(d++)),a=r.indexOf(e.charAt(d++)),l=r.indexOf(e.charAt(d++)),c=r.indexOf(e.charAt(d++)),n=s<<2|a>>4,i=(15&a)<<4|l>>2,o=(3&l)<<6|c,u+=String.fromCharCode(n),64!=l&&(u+=String.fromCharCode(i)),64!=c&&(u+=String.fromCharCode(o));return u}},{}],7:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],8:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e,t){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":13}],9:[function(e,t,n){"use strict";var r=e("./utils"),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if("undefined"===typeof e||!e.length)return 0;var n="string"!==r.getTypeOf(e);"undefined"==typeof t&&(t=0);var o=0,s=0,a=0;t^=-1;for(var l=0,c=e.length;l<c;l++)a=n?e[l]:e.charCodeAt(l),s=255&(t^a),o=i[s],t=t>>>8^o;return-1^t}},{"./utils":26}],10:[function(e,t,n){"use strict";var r=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,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=i},{"./utils":26}],11:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],12:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":26}],13:[function(e,t,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array,i=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e,t){return i.deflateRaw(e,{level:t.level||-1})},n.uncompress=function(e){return i.inflateRaw(e)}},{pako:29}],14:[function(e,t,n){"use strict";var r=e("./base64");function i(e,t){if(!(this instanceof i))return new i(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new i;for(var t in this)"function"!==typeof this[t]&&(e[t]=this[t]);return e}}i.prototype=e("./object"),i.prototype.load=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.utils=e("./deprecatedPublicUtils"),i.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},i.compressions=e("./compressions"),t.exports=i},{"./base64":6,"./compressions":8,"./defaults":11,"./deprecatedPublicUtils":12,"./load":15,"./object":18,"./support":22}],15:[function(e,t,n){"use strict";var r=e("./base64"),i=e("./utf8"),o=e("./utils"),s=e("./zipEntries");t.exports=function(e,t){var n,a,l,c;for(t=o.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),t.base64&&(e=r.decode(e)),a=new s(e,t),n=a.files,l=0;l<n.length;l++)c=n[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 a.zipComment.length&&(this.comment=a.zipComment),this}},{"./base64":6,"./utf8":25,"./utils":26,"./zipEntries":27}],16:[function(e,t,n){(function(e){"use strict";t.exports=function(t,n){return new e(t,n)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,e("buffer").Buffer)},{buffer:1}],17:[function(e,t,n){"use strict";var r=e("./uint8ArrayReader");function i(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0}i.prototype=new r,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,n){"use strict";var r=e("./support"),i=e("./utils"),o=e("./crc32"),s=e("./signature"),a=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),n=i.getTypeOf(t);return"string"===n?!e.options.binary&&r.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,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.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 b=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},v=function(e){return e=e||{},!0!==e.base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),e=i.extend(e,a),e.date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e},w=function(e,t,n){var r,o=i.getTypeOf(t);if(n=v(n),"string"===typeof n.unixPermissions&&(n.unixPermissions=parseInt(n.unixPermissions,8)),n.unixPermissions&&16384&n.unixPermissions&&(n.dir=!0),n.dosPermissions&&16&n.dosPermissions&&(n.dir=!0),n.dir&&(e=R(e)),n.createFolders&&(r=y(e))&&M.call(this,r,!0),n.dir||null===t||"undefined"===typeof t)n.base64=!1,n.binary=!1,t=null,o=null;else if("string"===o)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=i.string2binary(t));else{if(n.base64=!1,n.binary=!0,!o&&!(t instanceof u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===o&&(t=i.transformTo("uint8array",t))}var s=new _(e,t,n);return this.files[e]=s,s},y=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},R=function(e){return"/"!=e.slice(-1)&&(e+="/"),e},M=function(e,t){return t="undefined"!==typeof t&&t,e=R(e),this.files[e]||w.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},S=function(e,t,n){var r,s=new u;return e._data instanceof u?(s.uncompressedSize=e._data.uncompressedSize,s.crc32=e._data.crc32,0===s.uncompressedSize||e.dir?(t=c["STORE"],s.compressedContent="",s.crc32=0):e._data.compressionMethod===t.magic?s.compressedContent=e._data.getCompressedContent():(r=e._data.getContent(),s.compressedContent=t.compress(i.transformTo(t.compressInputType,r),n))):(r=A(e),r&&0!==r.length&&!e.dir||(t=c["STORE"],r=""),s.uncompressedSize=r.length,s.crc32=o(r),s.compressedContent=t.compress(i.transformTo(t.compressInputType,r),n)),s.compressedSize=s.compressedContent.length,s.compressionMethod=t.magic,s},E=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16},T=function(e,t){return 63&(e||0)},C=function(e,t,n,r,a,l){n.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)),v=i.transformTo("string",h.utf8encode(g)),w=A.length!==t.name.length,y=v.length!==g.length,R=t.options,M="",S="",C="";d=t._initialMetadata.dir!==t.dir?t.dir:R.dir,p=t._initialMetadata.date!==t.date?t.date:R.date;var O=0,x=0;d&&(O|=16),"UNIX"===a?(x=798,O|=E(t.unixPermissions,d)):(x=20,O|=T(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=b(1,1)+b(o(m),4)+A,M+="up"+b(S.length,2)+S),y&&(C=b(1,1)+b(this.crc32(_),4)+v,M+="uc"+b(C.length,2)+C);var N="";N+="\n\0",N+=f||!w&&!y?"\0\0":"\0\b",N+=n.compressionMethod,N+=b(c,2),N+=b(u,2),N+=b(n.crc32,4),N+=b(n.compressedSize,4),N+=b(n.uncompressedSize,4),N+=b(m.length,2),N+=b(M.length,2);var L=s.LOCAL_FILE_HEADER+N+m+M,I=s.CENTRAL_FILE_HEADER+b(x,2)+N+b(_.length,2)+"\0\0\0\0"+b(O,4)+b(r,4)+m+M+_;return{fileRecord:L,dirRecord:I,compressedObject:n}},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,n,r,o,s=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],o=new _(r.name,r._data,i.extend(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,o)&&s.push(o));return s},file:function(e,t,n){if(1===arguments.length){if(i.isRegExp(e)){var r=e;return this.filter((function(e,t){return!t.dir&&r.test(e)}))}return this.filter((function(t,n){return!n.dir&&t===e}))[0]||null}return e=this.root+e,w.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=M.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=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,n,r=[],o=0,a=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||{},v=S.call(this,m,g,_),w=C.call(this,d,m,v,o,e.platform,e.encodeFileName);o+=w.fileRecord.length+v.compressedSize,a+=w.dirRecord.length,r.push(w)}var y="";y=s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+b(r.length,2)+b(r.length,2)+b(a,4)+b(o,4)+b(u.length,2)+u;var R=e.type.toLowerCase();for(t="uint8array"===R||"arraybuffer"===R||"blob"===R||"nodebuffer"===R?new f(o+a+y.length):new p(o+a+y.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(y);var M=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),M);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",M),e.mimeType);case"base64":return e.base64?l.encode(M):M;default:return M}},crc32:function(e,t){return o(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,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],20:[function(e,t,n){"use strict";var r=e("./dataReader"),i=e("./utils");function o(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}o.prototype=new r,o.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},o.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=o},{"./dataReader":10,"./utils":26}],21:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":26}],22:[function(e,t,n){(function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array,n.nodebuffer="undefined"!==typeof e,n.uint8array="undefined"!==typeof Uint8Array,"undefined"===typeof ArrayBuffer)n.blob=!1;else{var t=new ArrayBuffer(0);try{n.blob=0===new Blob([t],{type:"application/zip"}).size}catch(o){try{var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,i=new r;i.append(t),n.blob=0===i.getBlob("application/zip").size}catch(o){n.blob=!1}}}}).call(this,e("buffer").Buffer)},{buffer:1}],23:[function(e,t,n){"use strict";var r=e("./arrayReader");function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0)}i.prototype=new r,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,n){"use strict";var r=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":26}],25:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodeBuffer"),s=new Array(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;s[254]=s[254]=1;var l=function(e){var t,n,r,o,s,a=e.length,l=0;for(o=0;o<a;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<a&&(r=e.charCodeAt(o+1),56320===(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),o++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),s=0,o=0;s<l;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<a&&(r=e.charCodeAt(o+1),56320===(64512&r)&&(n=65536+(n-55296<<10)+(r-56320),o++)),n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|63&n):n<65536?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|63&n):(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|63&n);return t},c=function(e,t){var n;t=t||e.length,t>e.length&&(t=e.length),n=t-1;while(n>=0&&128===(192&e[n]))n--;return n<0||0===n?t:n+s[e[n]]>t?n:t},u=function(e){var t,n,i,o,a=e.length,l=new Array(2*a);for(n=0,t=0;t<a;)if(i=e[t++],i<128)l[n++]=i;else if(o=s[i],o>4)l[n++]=65533,t+=o-1;else{i&=2===o?31:3===o?15:7;while(o>1&&t<a)i=i<<6|63&e[t++],o--;o>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return i.nodebuffer?o(e,"utf-8"):l(e)},n.utf8decode=function(e){if(i.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");e=r.transformTo(i.uint8array?"uint8array":"array",e);var t=[],n=0,o=e.length,s=65536;while(n<o){var a=c(e,Math.min(n+s,o));i.uint8array?t.push(u(e.subarray(n,a))):t.push(u(e.slice(n,a))),n=a}return t.join("")}},{"./nodeBuffer":16,"./support":22,"./utils":26}],26:[function(e,t,n){"use strict";var r=e("./support"),i=e("./compressions"),o=e("./nodeBuffer");function s(e){return e}function a(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function l(e){var t=65536,r=[],i=e.length,s=n.getTypeOf(e),a=0,l=!0;try{switch(s){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(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(a<i&&t>1)try{"array"===s||"nodebuffer"===s?r.push(String.fromCharCode.apply(null,e.slice(a,Math.min(a+t,i)))):r.push(String.fromCharCode.apply(null,e.subarray(a,Math.min(a+t,i)))),a+=t}catch(d){t=Math.floor(t/2)}return r.join("")}function c(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e,t){n.checkSupport("blob"),t=t||"application/zip";try{return new Blob([e],{type:t})}catch(o){try{var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,i=new r;return i.append(e),i.getBlob(t)}catch(o){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=l;var u={};u["string"]={string:s,array:function(e){return a(e,new Array(e.length))},arraybuffer:function(e){return u["string"]["uint8array"](e).buffer},uint8array:function(e){return a(e,new Uint8Array(e.length))},nodebuffer:function(e){return a(e,o(e.length))}},u["array"]={string:l,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(e)}},u["arraybuffer"]={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(new Uint8Array(e))}},u["uint8array"]={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o(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:s},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t),i=u[r][e](t);return i},n.getTypeOf=function(e){return"string"===typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.test(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){var t=r[e.toLowerCase()];if(!t)throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)t=e.charCodeAt(n),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&"undefined"===typeof n[t]&&(n[t]=arguments[e][t]);return n}},{"./compressions":8,"./nodeBuffer":16,"./support":22}],27:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./nodeBufferReader"),o=e("./uint8ArrayReader"),s=e("./arrayReader"),a=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 ("+a.pretty(t)+", expected "+a.pretty(e)+")")},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),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",n=a.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var e,t,n,r=this.zip64EndOfCentralSize-44,i=0;while(i<r)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(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 n=e;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(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 r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var i=n-r;if(i>0)this.isSignature(n,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=a.getTypeOf(e);if(a.checkSupport(t),"string"!==t||u.uint8array)if("nodebuffer"===t)this.reader=new i(e);else if(u.uint8array)this.reader=new o(a.transformTo("uint8array",e));else{if(!u.array)throw new Error("Unexpected error: unsupported type '"+t+"'");this.reader=new s(a.transformTo("array",e))}else this.reader=new r(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,n){"use strict";var r=e("./stringReader"),i=e("./utils"),o=e("./compressedObject"),s=e("./object"),a=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,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,r,o){return function(){var e=i.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==o)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(t=i.findCompression(this.compressionMethod),null===t)throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=i.transformTo("string",this.decompressed.getContent()),s.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 r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index;this.extraFields=this.extraFields||{};while(e.index<i+this.extraFieldsLength)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){var e=a.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 n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new r(e.value);return 1!==t.readInt(1)||s.crc32(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new r(e.value);return 1!==t.readInt(1)||s.crc32(this.fileComment)!==t.readInt(4)?null:s.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,n){"use strict";var r=e("./lib/utils/common").assign,i=e("./lib/deflate"),o=e("./lib/inflate"),s=e("./lib/zlib/constants"),a={};r(a,i,o,s),t.exports=a},{"./lib/deflate":30,"./lib/inflate":31,"./lib/utils/common":32,"./lib/zlib/constants":35}],30:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/messages"),a=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 a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==d)throw new Error(s[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"===typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,n=r.deflateSetDictionary(this.strm,c),n!==d)throw new Error(s[n]);this._dict_set=!0}}function _(e,t){var n=new g(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}function b(e,t){return t=t||{},t.raw=!0,_(e,t)}function v(e,t){return t=t||{},t.gzip=!0,_(e,t)}g.prototype.push=function(e,t){var n,s,a=this.strm,f=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?u:c,"string"===typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(f),a.next_out=0,a.avail_out=f),n=r.deflate(a,s),n!==h&&n!==d)return this.onEnd(n),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||s!==u&&s!==p)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&n!==h);return s===u?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===d):s!==p||(this.onEnd(d),a.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},n.Deflate=g,n.deflate=_,n.deflateRaw=b,n.gzip=v},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/constants"),a=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 n=r.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}function p(e,t){return t=t||{},t.raw=!0,h(e,t)}d.prototype.push=function(e,t){var n,a,l,c,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,A=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"===typeof e?p.input=o.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),n=r.inflate(p,s.Z_NO_FLUSH),n===s.Z_NEED_DICT&&m&&(h="string"===typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,h)),n===s.Z_BUF_ERROR&&!0===A&&(n=s.Z_OK,A=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),this.ended=!0,!1;p.next_out&&(0!==p.avail_out&&n!==s.Z_STREAM_END&&(0!==p.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(p.output,p.next_out),c=p.next_out-l,d=o.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)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),p.avail_out=0,!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=p,n.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,n){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;n.assign=function(e){var t=Array.prototype.slice.call(arguments,1);while(t.length){var n=t.shift();if(n){if("object"!==typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],33:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(c){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){o=!1}for(var s=new r.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<a&&(i=e.charCodeAt(o+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),o++)),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),s=0,o=0;s<l;o++)n=e.charCodeAt(o),55296===(64512&n)&&o+1<a&&(i=e.charCodeAt(o+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),o++)),n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|63&n):n<65536?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|63&n):(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,a=t||e.length,c=new Array(2*a);for(r=0,n=0;n<a;)if(i=e[n++],i<128)c[r++]=i;else if(o=s[i],o>4)c[r++]=65533,n+=o-1;else{i&=2===o?31:3===o?15:7;while(o>1&&n<a)i=i<<6|63&e[n++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(e,t){var n;t=t||e.length,t>e.length&&(t=e.length),n=t-1;while(n>=0&&128===(192&e[n]))n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":32}],34:[function(e,t,n){"use strict";function r(e,t,n,r){var i=65535&e|0,o=e>>>16&65535|0,s=0;while(0!==n){s=n>2e3?2e3:n,n-=s;do{i=i+t[r++]|0,o=o+i|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}t.exports=r},{}],35:[function(e,t,n){"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,n){"use strict";function r(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}var i=r();function o(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}t.exports=o},{}],37:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),c=0,u=1,d=3,h=4,p=5,f=0,m=1,A=-2,g=-3,_=-5,b=-1,v=1,w=2,y=3,R=4,M=0,S=2,E=8,T=9,C=15,O=8,x=29,N=256,L=N+1+x,I=30,P=19,D=2*L+1,F=15,k=3,B=258,U=B+k+1,H=32,j=42,V=69,W=73,Y=91,Q=103,X=113,K=666,G=1,Z=2,z=3,q=4,J=3;function $(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 ne(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function re(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ne(e.strm)}function ie(e,t){e.pending_buf[e.pending++]=t}function oe(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function se(e,t,n,r){var o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=s(e.adler,t,o,n):2===e.state.wrap&&(e.adler=a(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}function ae(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-U?e.strstart-(e.w_size-U):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+B,p=c[o+s-1],f=c[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(n=t,c[n+s]===f&&c[n+s-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<h);if(r=B-(h-o),o=h-B,r>s){if(e.match_start=t,s=r,r>=a)break;p=c[o+s-1],f=c[o+s]}}}while((t=d[t&u])>l&&0!==--i);return s<=e.lookahead?s:e.lookahead}function le(e){var t,n,r,o,s,a=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-U)){i.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);n=a,t=n;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);o+=a}if(0===e.strm.avail_in)break;if(n=se(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=k){s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+k-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,e.lookahead+e.insert<k)break}}while(e.lookahead<U&&0!==e.strm.avail_in)}function ce(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=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 r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,re(e,!1),0===e.strm.avail_out))return G;if(e.strstart-e.block_start>=e.w_size-U&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(re(e,!0),0===e.strm.avail_out?z:q):(e.strstart>e.block_start&&(re(e,!1),e.strm.avail_out),G)}function ue(e,t){for(var n,r;;){if(e.lookahead<U){if(le(e),e.lookahead<U&&t===c)return G;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-U&&(e.match_length=ae(e,n)),e.match_length>=k)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-k),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=k){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=e.strstart<k-1?e.strstart:k-1,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function de(e,t){for(var n,r,i;;){if(e.lookahead<U){if(le(e),e.lookahead<U&&t===c)return G;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=k-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-U&&(e.match_length=ae(e,n),e.match_length<=5&&(e.strategy===v||e.match_length===k&&e.strstart-e.match_start>4096)&&(e.match_length=k-1)),e.prev_length>=k&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-k,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-k),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+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=k-1,e.strstart++,r&&(re(e,!1),0===e.strm.avail_out))return G}else if(e.match_available){if(r=o._tr_tally(e,0,e.window[e.strstart-1]),r&&re(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&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function he(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=B){if(le(e),e.lookahead<=B&&t===c)return G;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&e.strstart>0&&(i=e.strstart-1,r=a[i],r===a[++i]&&r===a[++i]&&r===a[++i])){s=e.strstart+B;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=B-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(n=o._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function pe(e,t){for(var n;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===c)return G;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function fe(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function me(e){e.window_size=2*e.w_size,te(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=k-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=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*D),this.dyn_dtree=new i.Buf16(2*(2*I+1)),this.bl_tree=new i.Buf16(2*(2*P+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(F+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?j:X,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),f):$(e,A)}function _e(e){var t=ge(e);return t===f&&me(e.state),t}function be(e,t){return e&&e.state?2!==e.state.wrap?A:(e.state.gzhead=t,f):A}function ve(e,t,n,r,o,s){if(!e)return A;var a=1;if(t===b&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>T||n!==E||r<8||r>15||t<0||t>9||s<0||s>R)return $(e,A);8===r&&(r=9);var l=new Ae;return e.state=l,l.strm=e,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+k-1)/k),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<<o+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=s,l.method=n,_e(e)}function we(e,t){return ve(e,t,E,C,O,M)}function ye(e,t){var n,i,s,l;if(!e||!e.state||t>p||t<0)return e?$(e,A):A;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===K&&t!==h)return $(e,0===e.avail_out?_:A);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===j)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=a(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,J),i.status=X);else{var g=E+(i.w_bits-8<<4)<<8,b=-1;b=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3,g|=b<<6,0!==i.strstart&&(g|=H),g+=31-g%31,i.status=X,oe(i,g),0!==i.strstart&&(oe(i,e.adler>>>16),oe(i,65535&e.adler)),e.adler=1}if(i.status===V)if(i.gzhead.extra){s=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=i.pending,i.pending===i.pending_buf_size))break;ie(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=W)}else i.status=W;if(i.status===W)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=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>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.gzindex=0,i.status=Y)}else i.status=Y;if(i.status===Y)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=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>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.status=Q)}else i.status=Q;if(i.status===Q&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ne(e),i.pending+2<=i.pending_buf_size&&(ie(i,255&e.adler),ie(i,e.adler>>8&255),e.adler=0,i.status=X)):i.status=X),0!==i.pending){if(ne(e),0===e.avail_out)return i.last_flush=-1,f}else if(0===e.avail_in&&ee(t)<=ee(n)&&t!==h)return $(e,_);if(i.status===K&&0!==e.avail_in)return $(e,_);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==K){var v=i.strategy===w?pe(i,t):i.strategy===y?he(i,t):r[i.level].func(i,t);if(v!==z&&v!==q||(i.status=K),v===G||v===z)return 0===e.avail_out&&(i.last_flush=-1),f;if(v===Z&&(t===u?o._tr_align(i):t!==p&&(o._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))),ne(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)):(oe(i,e.adler>>>16),oe(i,65535&e.adler)),ne(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?f:m)}function Re(e){var t;return e&&e.state?(t=e.state.status,t!==j&&t!==V&&t!==W&&t!==Y&&t!==Q&&t!==X&&t!==K?$(e,A):(e.state=null,t===X?$(e,g):f)):A}function Me(e,t){var n,r,o,a,l,c,u,d,h=t.length;if(!e||!e.state)return A;if(n=e.state,a=n.wrap,2===a||1===a&&n.status!==j||n.lookahead)return A;1===a&&(e.adler=s(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===a&&(te(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,t,h-n.w_size,n.w_size,0),t=d,h=n.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(n);while(n.lookahead>=k){r=n.strstart,o=n.lookahead-(k-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+k-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=k-1,le(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=k-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=a,f}r=[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)],n.deflateInit=we,n.deflateInit2=ve,n.deflateReset=_e,n.deflateResetKeep=ge,n.deflateSetHeader=be,n.deflate=ye,n.deflateEnd=Re,n.deflateSetDictionary=Me,n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./messages":42,"./trees":43}],38:[function(e,t,n){"use strict";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=r},{}],39:[function(e,t,n){"use strict";var r=30,i=12;t.exports=function(e,t){var n,o,s,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C;n=e.state,o=e.next_in,T=e.input,s=o+(e.avail_in-5),a=e.next_out,C=e.output,l=a-(t-e.avail_out),c=a+(e.avail_out-257),u=n.dmax,d=n.wsize,h=n.whave,p=n.wnext,f=n.window,m=n.hold,A=n.bits,g=n.lencode,_=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{A<15&&(m+=T[o++]<<A,A+=8,m+=T[o++]<<A,A+=8),w=g[m&b];t:for(;;){if(y=w>>>24,m>>>=y,A-=y,y=w>>>16&255,0===y)C[a++]=65535&w;else{if(!(16&y)){if(0===(64&y)){w=g[(65535&w)+(m&(1<<y)-1)];continue t}if(32&y){n.mode=i;break e}e.msg="invalid literal/length code",n.mode=r;break e}R=65535&w,y&=15,y&&(A<y&&(m+=T[o++]<<A,A+=8),R+=m&(1<<y)-1,m>>>=y,A-=y),A<15&&(m+=T[o++]<<A,A+=8,m+=T[o++]<<A,A+=8),w=_[m&v];n: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 n}e.msg="invalid distance code",n.mode=r;break e}if(M=65535&w,y&=15,A<y&&(m+=T[o++]<<A,A+=8,A<y&&(m+=T[o++]<<A,A+=8)),M+=m&(1<<y)-1,M>u){e.msg="invalid distance too far back",n.mode=r;break e}if(m>>>=y,A-=y,y=a-l,M>y){if(y=M-y,y>h&&n.sane){e.msg="invalid distance too far back",n.mode=r;break e}if(S=0,E=f,0===p){if(S+=d-y,y<R){R-=y;do{C[a++]=f[S++]}while(--y);S=a-M,E=C}}else if(p<y){if(S+=d+p-y,y-=p,y<R){R-=y;do{C[a++]=f[S++]}while(--y);if(S=0,p<R){y=p,R-=y;do{C[a++]=f[S++]}while(--y);S=a-M,E=C}}}else if(S+=p-y,y<R){R-=y;do{C[a++]=f[S++]}while(--y);S=a-M,E=C}while(R>2)C[a++]=E[S++],C[a++]=E[S++],C[a++]=E[S++],R-=3;R&&(C[a++]=E[S++],R>1&&(C[a++]=E[S++]))}else{S=a-M;do{C[a++]=C[S++],C[a++]=C[S++],C[a++]=C[S++],R-=3}while(R>2);R&&(C[a++]=C[S++],R>1&&(C[a++]=C[S++]))}break}}break}}while(o<s&&a<c);R=A>>3,o-=R,A-=R<<3,m&=(1<<A)-1,e.next_in=o,e.next_out=a,e.avail_in=o<s?s-o+5:5-(o-s),e.avail_out=a<c?c-a+257:257-(a-c),n.hold=m,n.bits=A}},{}],40:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=e("./inftrees"),l=0,c=1,u=2,d=4,h=5,p=6,f=0,m=1,A=2,g=-2,_=-3,b=-4,v=-5,w=8,y=1,R=2,M=3,S=4,E=5,T=6,C=7,O=8,x=9,N=10,L=11,I=12,P=13,D=14,F=15,k=16,B=17,U=18,H=19,j=20,V=21,W=22,Y=23,Q=24,X=25,K=26,G=27,Z=28,z=29,q=30,J=31,$=32,ee=852,te=592,ne=15,re=ne;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function oe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function se(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 r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,f):g}function ae(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,se(e)):g}function le(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?g:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,ae(e))):g}function ce(e,t){var n,r;return e?(r=new oe,e.state=r,r.window=null,n=le(e,t),n!==f&&(e.state=null),n):g}function ue(e){return ce(e,re)}var de,he,pe=!0;function fe(e){if(pe){var t;de=new r.Buf32(512),he=new r.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;a(c,e.lens,0,288,de,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;a(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,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(o=s.wsize-s.wnext,o>i&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),i-=o,i?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}function Ae(e,t){var n,ee,te,ne,re,oe,se,ae,le,ce,ue,de,he,pe,Ae,ge,_e,be,ve,we,ye,Re,Me,Se,Ee=0,Te=new r.Buf8(4),Ce=[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;n=e.state,n.mode===I&&(n.mode=P),re=e.next_out,te=e.output,se=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,ae=n.hold,le=n.bits,ce=oe,ue=se,Re=f;e:for(;;)switch(n.mode){case y:if(0===n.wrap){n.mode=P;break}while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===ae){n.check=0,Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0),ae=0,le=0,n.mode=R;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&ae)<<8)+(ae>>8))%31){e.msg="incorrect header check",n.mode=q;break}if((15&ae)!==w){e.msg="unknown compression method",n.mode=q;break}if(ae>>>=4,le-=4,ye=8+(15&ae),0===n.wbits)n.wbits=ye;else if(ye>n.wbits){e.msg="invalid window size",n.mode=q;break}n.dmax=1<<ye,e.adler=n.check=1,n.mode=512&ae?N:I,ae=0,le=0;break;case R:while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(n.flags=ae,(255&n.flags)!==w){e.msg="unknown compression method",n.mode=q;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=q;break}n.head&&(n.head.text=ae>>8&1),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0)),ae=0,le=0,n.mode=M;case M:while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=ae),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,Te[2]=ae>>>16&255,Te[3]=ae>>>24&255,n.check=o(n.check,Te,4,0)),ae=0,le=0,n.mode=S;case S:while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&ae,n.head.os=ae>>8),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0)),ae=0,le=0,n.mode=E;case E:if(1024&n.flags){while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.length=ae,n.head&&(n.head.extra_len=ae),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0)),ae=0,le=0}else n.head&&(n.head.extra=null);n.mode=T;case T:if(1024&n.flags&&(de=n.length,de>oe&&(de=oe),de&&(n.head&&(ye=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,de,ye)),512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,n.length-=de),n.length))break e;n.length=0,n.mode=C;case C:if(2048&n.flags){if(0===oe)break e;de=0;do{ye=ee[ne+de++],n.head&&ye&&n.length<65536&&(n.head.name+=String.fromCharCode(ye))}while(ye&&de<oe);if(512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,ye)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=O;case O:if(4096&n.flags){if(0===oe)break e;de=0;do{ye=ee[ne+de++],n.head&&ye&&n.length<65536&&(n.head.comment+=String.fromCharCode(ye))}while(ye&&de<oe);if(512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,ye)break e}else n.head&&(n.head.comment=null);n.mode=x;case x:if(512&n.flags){while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae!==(65535&n.check)){e.msg="header crc mismatch",n.mode=q;break}ae=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=I;break;case N:while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}e.adler=n.check=ie(ae),ae=0,le=0,n.mode=L;case L:if(0===n.havedict)return e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,A;e.adler=n.check=1,n.mode=I;case I:if(t===h||t===p)break e;case P:if(n.last){ae>>>=7&le,le-=7&le,n.mode=G;break}while(le<3){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}switch(n.last=1&ae,ae>>>=1,le-=1,3&ae){case 0:n.mode=D;break;case 1:if(fe(n),n.mode=j,t===p){ae>>>=2,le-=2;break e}break;case 2:n.mode=B;break;case 3:e.msg="invalid block type",n.mode=q}ae>>>=2,le-=2;break;case D:ae>>>=7&le,le-=7&le;while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if((65535&ae)!==(ae>>>16^65535)){e.msg="invalid stored block lengths",n.mode=q;break}if(n.length=65535&ae,ae=0,le=0,n.mode=F,t===p)break e;case F:n.mode=k;case k:if(de=n.length,de){if(de>oe&&(de=oe),de>se&&(de=se),0===de)break e;r.arraySet(te,ee,ne,de,re),oe-=de,ne+=de,se-=de,re+=de,n.length-=de;break}n.mode=I;break;case B:while(le<14){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&ae),ae>>>=5,le-=5,n.ndist=1+(31&ae),ae>>>=5,le-=5,n.ncode=4+(15&ae),ae>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=q;break}n.have=0,n.mode=U;case U:while(n.have<n.ncode){while(le<3){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.lens[Ce[n.have++]]=7&ae,ae>>>=3,le-=3}while(n.have<19)n.lens[Ce[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Me={bits:n.lenbits},Re=a(l,n.lens,0,19,n.lencode,0,n.work,Me),n.lenbits=Me.bits,Re){e.msg="invalid code lengths set",n.mode=q;break}n.have=0,n.mode=H;case H:while(n.have<n.nlen+n.ndist){for(;;){if(Ee=n.lencode[ae&(1<<n.lenbits)-1],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(_e<16)ae>>>=Ae,le-=Ae,n.lens[n.have++]=_e;else{if(16===_e){Se=Ae+2;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae>>>=Ae,le-=Ae,0===n.have){e.msg="invalid bit length repeat",n.mode=q;break}ye=n.lens[n.have-1],de=3+(3&ae),ae>>>=2,le-=2}else if(17===_e){Se=Ae+3;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=Ae,le-=Ae,ye=0,de=3+(7&ae),ae>>>=3,le-=3}else{Se=Ae+7;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=Ae,le-=Ae,ye=0,de=11+(127&ae),ae>>>=7,le-=7}if(n.have+de>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=q;break}while(de--)n.lens[n.have++]=ye}}if(n.mode===q)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=q;break}if(n.lenbits=9,Me={bits:n.lenbits},Re=a(c,n.lens,0,n.nlen,n.lencode,0,n.work,Me),n.lenbits=Me.bits,Re){e.msg="invalid literal/lengths set",n.mode=q;break}if(n.distbits=6,n.distcode=n.distdyn,Me={bits:n.distbits},Re=a(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Me),n.distbits=Me.bits,Re){e.msg="invalid distances set",n.mode=q;break}if(n.mode=j,t===p)break e;case j:n.mode=V;case V:if(oe>=6&&se>=258){e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,s(e,ue),re=e.next_out,te=e.output,se=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,ae=n.hold,le=n.bits,n.mode===I&&(n.back=-1);break}for(n.back=0;;){if(Ee=n.lencode[ae&(1<<n.lenbits)-1],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ge&&0===(240&ge)){for(be=Ae,ve=ge,we=_e;;){if(Ee=n.lencode[we+((ae&(1<<be+ve)-1)>>be)],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,be+Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=be,le-=be,n.back+=be}if(ae>>>=Ae,le-=Ae,n.back+=Ae,n.length=_e,0===ge){n.mode=K;break}if(32&ge){n.back=-1,n.mode=I;break}if(64&ge){e.msg="invalid literal/length code",n.mode=q;break}n.extra=15&ge,n.mode=W;case W:if(n.extra){Se=n.extra;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.length+=ae&(1<<n.extra)-1,ae>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Y;case Y:for(;;){if(Ee=n.distcode[ae&(1<<n.distbits)-1],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(0===(240&ge)){for(be=Ae,ve=ge,we=_e;;){if(Ee=n.distcode[we+((ae&(1<<be+ve)-1)>>be)],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,be+Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=be,le-=be,n.back+=be}if(ae>>>=Ae,le-=Ae,n.back+=Ae,64&ge){e.msg="invalid distance code",n.mode=q;break}n.offset=_e,n.extra=15&ge,n.mode=Q;case Q:if(n.extra){Se=n.extra;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.offset+=ae&(1<<n.extra)-1,ae>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=q;break}n.mode=X;case X:if(0===se)break e;if(de=ue-se,n.offset>de){if(de=n.offset-de,de>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=q;break}de>n.wnext?(de-=n.wnext,he=n.wsize-de):he=n.wnext-de,de>n.length&&(de=n.length),pe=n.window}else pe=te,he=re-n.offset,de=n.length;de>se&&(de=se),se-=de,n.length-=de;do{te[re++]=pe[he++]}while(--de);0===n.length&&(n.mode=V);break;case K:if(0===se)break e;te[re++]=n.length,se--,n.mode=V;break;case G:if(n.wrap){while(le<32){if(0===oe)break e;oe--,ae|=ee[ne++]<<le,le+=8}if(ue-=se,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,re-ue):i(n.check,te,ue,re-ue)),ue=se,(n.flags?ae:ie(ae))!==n.check){e.msg="incorrect data check",n.mode=q;break}ae=0,le=0}n.mode=Z;case Z:if(n.wrap&&n.flags){while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=q;break}ae=0,le=0}n.mode=z;case z:Re=m;break e;case q:Re=_;break e;case J:return b;case $:default:return g}return e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,(n.wsize||ue!==e.avail_out&&n.mode<q&&(n.mode<G||t!==d))&&me(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=J,b):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,e.next_out-ue):i(n.check,te,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===I?128:0)+(n.mode===j||n.mode===F?256:0),(0===ce&&0===ue||t===d)&&Re===f&&(Re=v),Re)}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 n;return e&&e.state?(n=e.state,0===(2&n.wrap)?g:(n.head=t,t.done=!1,f)):g}function be(e,t){var n,r,o,s=t.length;return e&&e.state?(n=e.state,0!==n.wrap&&n.mode!==L?g:n.mode===L&&(r=1,r=i(r,t,s,0),r!==n.check)?_:(o=me(e,t,s,s),o?(n.mode=J,b):(n.havedict=1,f))):g}n.inflateReset=ae,n.inflateReset2=le,n.inflateResetKeep=se,n.inflateInit=ue,n.inflateInit2=ce,n.inflate=Ae,n.inflateEnd=ge,n.inflateGetHeader=_e,n.inflateSetDictionary=be,n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./inffast":39,"./inftrees":41}],41:[function(e,t,n){"use strict";var r=e("../utils/common"),i=15,o=852,s=592,a=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,n,f,m,A,g,_){var b,v,w,y,R,M,S,E,T,C=_.bits,O=0,x=0,N=0,L=0,I=0,P=0,D=0,F=0,k=0,B=0,U=null,H=0,j=new r.Buf16(i+1),V=new r.Buf16(i+1),W=null,Y=0;for(O=0;O<=i;O++)j[O]=0;for(x=0;x<f;x++)j[t[n+x]]++;for(I=C,L=i;L>=1;L--)if(0!==j[L])break;if(I>L&&(I=L),0===L)return m[A++]=20971520,m[A++]=20971520,_.bits=1,0;for(N=1;N<L;N++)if(0!==j[N])break;for(I<N&&(I=N),F=1,O=1;O<=i;O++)if(F<<=1,F-=j[O],F<0)return-1;if(F>0&&(e===a||1!==L))return-1;for(V[1]=0,O=1;O<i;O++)V[O+1]=V[O]+j[O];for(x=0;x<f;x++)0!==t[n+x]&&(g[V[t[n+x]]++]=x);if(e===a?(U=W=g,M=19):e===l?(U=u,H-=257,W=d,Y-=257,M=256):(U=h,W=p,M=-1),B=0,x=0,O=N,R=A,P=I,D=0,w=-1,k=1<<I,y=k-1,e===l&&k>o||e===c&&k>s)return 1;for(;;){S=O-D,g[x]<M?(E=0,T=g[x]):g[x]>M?(E=W[Y+g[x]],T=U[H+g[x]]):(E=96,T=0),b=1<<O-D,v=1<<P,N=v;do{v-=b,m[R+(B>>D)+v]=S<<24|E<<16|T|0}while(0!==v);b=1<<O-1;while(B&b)b>>=1;if(0!==b?(B&=b-1,B+=b):B=0,x++,0===--j[O]){if(O===L)break;O=t[n+g[x]]}if(O>I&&(B&y)!==w){0===D&&(D=I),R+=N,P=O-D,F=1<<P;while(P+D<L){if(F-=j[P+D],F<=0)break;P++,F<<=1}if(k+=1<<P,e===l&&k>o||e===c&&k>s)return 1;w=B&y,m[w]=I<<24|P<<16|R-A|0}}return 0!==B&&(m[R+B]=O-D<<24|64<<16|0),_.bits=I,0}},{"../utils/common":32}],42:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],43:[function(e,t,n){"use strict";var r=e("../utils/common"),i=4,o=0,s=1,a=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,b=2*A+1,v=15,w=16,y=7,R=256,M=16,S=17,E=18,T=[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],C=[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],x=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=512,L=new Array(2*(A+2));l(L);var I=new Array(2*g);l(I);var P=new Array(N);l(P);var D=new Array(p-h+1);l(D);var F=new Array(f);l(F);var k,B,U,H=new Array(g);function j(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function V(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function W(e){return e<256?P[e]:P[256+(e>>>7)]}function Y(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Q(e,t,n){e.bi_valid>w-n?(e.bi_buf|=t<<e.bi_valid&65535,Y(e,e.bi_buf),e.bi_buf=t>>w-e.bi_valid,e.bi_valid+=n-w):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function X(e,t,n){Q(e,n[2*t],n[2*t+1])}function K(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function G(e){16===e.bi_valid?(Y(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 Z(e,t){var n,r,i,o,s,a,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(o=0;o<=v;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<b;n++)r=e.heap[n],o=l[2*l[2*r+1]+1]+1,o>f&&(o=f,m++),l[2*r+1]=o,r>c||(e.bl_count[o]++,s=0,r>=p&&(s=h[r-p]),a=l[2*r],e.opt_len+=a*(o+s),d&&(e.static_len+=a*(u[2*r+1]+s)));if(0!==m){do{o=f-1;while(0===e.bl_count[o])o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(o=f;0!==o;o--){r=e.bl_count[o];while(0!==r)i=e.heap[--n],i>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}}function z(e,t,n){var r,i,o=new Array(v+1),s=0;for(r=1;r<=v;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=K(o[a]++,a))}}function q(){var e,t,n,r,i,o=new Array(v+1);for(n=0,r=0;r<f-1;r++)for(F[r]=n,e=0;e<1<<T[r];e++)D[n++]=r;for(D[n-1]=r,i=0,r=0;r<16;r++)for(H[r]=i,e=0;e<1<<C[r];e++)P[i++]=r;for(i>>=7;r<g;r++)for(H[r]=i<<7,e=0;e<1<<C[r]-7;e++)P[256+i++]=r;for(t=0;t<=v;t++)o[t]=0;e=0;while(e<=143)L[2*e+1]=8,e++,o[8]++;while(e<=255)L[2*e+1]=9,e++,o[9]++;while(e<=279)L[2*e+1]=7,e++,o[7]++;while(e<=287)L[2*e+1]=8,e++,o[8]++;for(z(L,A+1,o),e=0;e<g;e++)I[2*e+1]=5,I[2*e]=K(e,5);k=new j(L,T,m+1,A,v),B=new j(I,C,0,g,v),U=new j(new Array(0),O,0,_,y)}function J(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*R]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function $(e){e.bi_valid>8?Y(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function ee(e,t,n,i){$(e),i&&(Y(e,n),Y(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function te(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function ne(e,t,n){var r=e.heap[n],i=n<<1;while(i<=e.heap_len){if(i<e.heap_len&&te(t,e.heap[i+1],e.heap[i],e.depth)&&i++,te(t,r,e.heap[i],e.depth))break;e.heap[n]=e.heap[i],n=i,i<<=1}e.heap[n]=r}function re(e,t,n){var r,i,o,s,a=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],i=e.pending_buf[e.l_buf+a],a++,0===r?X(e,i,t):(o=D[i],X(e,o+m+1,t),s=T[o],0!==s&&(i-=F[o],Q(e,i,s)),r--,o=W(r),X(e,o,n),s=C[o],0!==s&&(r-=H[o],Q(e,r,s)))}while(a<e.last_lit);X(e,R,t)}function ie(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=b,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;while(e.heap_len<2)i=e.heap[++e.heap_len]=c<2?++c:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)ne(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ne(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,ne(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Z(e,t),z(o,c,e.bl_count)}function oe(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<l&&i===s||(a<c?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*M]++):a<=10?e.bl_tree[2*S]++:e.bl_tree[2*E]++,a=0,o=i,0===s?(l=138,c=3):i===s?(l=6,c=3):(l=7,c=4))}function se(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<l&&i===s)){if(a<c)do{X(e,i,e.bl_tree)}while(0!==--a);else 0!==i?(i!==o&&(X(e,i,e.bl_tree),a--),X(e,M,e.bl_tree),Q(e,a-3,2)):a<=10?(X(e,S,e.bl_tree),Q(e,a-3,3)):(X(e,E,e.bl_tree),Q(e,a-11,7));a=0,o=i,0===s?(l=138,c=3):i===s?(l=6,c=3):(l=7,c=4)}}function ae(e){var t;for(oe(e,e.dyn_ltree,e.l_desc.max_code),oe(e,e.dyn_dtree,e.d_desc.max_code),ie(e,e.bl_desc),t=_-1;t>=3;t--)if(0!==e.bl_tree[2*x[t]+1])break;return e.opt_len+=3*(t+1)+5+5+4,t}function le(e,t,n,r){var i;for(Q(e,t-257,5),Q(e,n-1,5),Q(e,r-4,4),i=0;i<r;i++)Q(e,e.bl_tree[2*x[i]+1],3);se(e,e.dyn_ltree,t-1),se(e,e.dyn_dtree,n-1)}function ce(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return s;for(t=32;t<m;t++)if(0!==e.dyn_ltree[2*t])return s;return o}l(H);var ue=!1;function de(e){ue||(q(),ue=!0),e.l_desc=new V(e.dyn_ltree,k),e.d_desc=new V(e.dyn_dtree,B),e.bl_desc=new V(e.bl_tree,U),e.bi_buf=0,e.bi_valid=0,J(e)}function he(e,t,n,r){Q(e,(c<<1)+(r?1:0),3),ee(e,t,n,!0)}function pe(e){Q(e,u<<1,3),X(e,R,L),G(e)}function fe(e,t,n,r){var o,s,l=0;e.level>0?(e.strm.data_type===a&&(e.strm.data_type=ce(e)),ie(e,e.l_desc),ie(e,e.d_desc),l=ae(e),o=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=o&&(o=s)):o=s=n+5,n+4<=o&&-1!==t?he(e,t,n,r):e.strategy===i||s===o?(Q(e,(u<<1)+(r?1:0),3),re(e,L,I)):(Q(e,(d<<1)+(r?1:0),3),le(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),re(e,e.dyn_ltree,e.dyn_dtree)),J(e),r&&$(e)}function me(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(D[n]+m+1)]++,e.dyn_dtree[2*W(t)]++),e.last_lit===e.lit_bufsize-1}n._tr_init=de,n._tr_stored_block=he,n._tr_flush_block=fe,n._tr_tally=me,n._tr_align=pe},{"../utils/common":32}],44:[function(e,t,n){"use strict";function r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=r},{}],45:[function(e,t,n){var r=e("lodash._root"),i=1/0,o="[object Symbol]",s=/[&<>"'`]/g,a=RegExp(s.source),l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"};function c(e){return l[e]}var u=Object.prototype,d=u.toString,h=r.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)==o}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&&a.test(e)?e.replace(s,c):e}t.exports=_},{"lodash._root":46}],46:[function(e,t,n){(function(e){var r={function:!0,object:!0},i=r[typeof n]&&n&&!n.nodeType?n:void 0,o=r[typeof t]&&t&&!t.nodeType?t:void 0,s=d(i&&o&&"object"==typeof e&&e),a=d(r[typeof self]&&self),l=d(r[typeof window]&&window),c=d(r[typeof this]&&this),u=s||l!==(c&&c.window)&&l||a||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,n){var r=e("lodash._arraycopy"),i=e("lodash._arrayeach"),o=e("lodash._createassigner"),s=e("lodash.isarguments"),a=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,n,r,o){if(!v(e))return e;var s=_(t)&&(a(t)||c(t)),l=s?void 0:u(t);return i(l||t,(function(i,a){if(l&&(a=i,i=t[a]),h(i))r||(r=[]),o||(o=[]),m(e,t,a,f,n,r,o);else{var c=e[a],u=n?n(c,i,a,e,t):void 0,d=void 0===u;d&&(u=i),void 0===u&&(!s||a in e)||!d&&(u===u?u===c:c!==c)||(e[a]=u)}})),e}function m(e,t,n,i,o,u,h){var p=u.length,f=t[n];while(p--)if(u[p]==f)return void(e[n]=h[p]);var m=e[n],A=o?o(m,f,n,e,t):void 0,g=void 0===A;g&&(A=f,_(f)&&(a(f)||c(f))?A=a(m)?m:_(m)?r(m):[]:l(f)||s(f)?A=s(m)?d(m):l(m)?m:{}:g=!1),u.push(f),h.push(A),g?e[n]=i(A,f,o,u,h):(A===A?A!==m:m===m)&&(e[n]=A)}function A(e){return function(t){return null==t?void 0:t[e]}}var g=A("length");function _(e){return null!=e&&b(g(e))}function b(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var w=o(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,n){function r(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++n<r)t[n]=e[n];return t}t.exports=r},{}],49:[function(e,t,n){function r(e,t){var n=-1,r=e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}t.exports=r},{}],50:[function(e,t,n){var r=e("lodash._bindcallback"),i=e("lodash._isiterateecall"),o=e("lodash.restparam");function s(e){return o((function(t,n){var o=-1,s=null==t?0:n.length,a=s>2?n[s-2]:void 0,l=s>2?n[2]:void 0,c=s>1?n[s-1]:void 0;"function"==typeof a?(a=r(a,c,5),s-=2):(a="function"==typeof c?c:void 0,s-=a?1:0),l&&i(n[0],n[1],l)&&(a=s<3?void 0:a,s=1);while(++o<s){var u=n[o];u&&e(t,u,a)}return t}))}t.exports=s},{"lodash._bindcallback":51,"lodash._isiterateecall":52,"lodash.restparam":53}],51:[function(e,t,n){function r(e,t,n){if("function"!=typeof e)return i;if(void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,s){return e.call(t,n,r,i,o,s)}}return function(){return e.apply(t,arguments)}}function i(e){return e}t.exports=r},{}],52:[function(e,t,n){var r=/^\d+$/,i=9007199254740991;function o(e){return function(t){return null==t?void 0:t[e]}}var s=o("length");function a(e){return null!=e&&u(s(e))}function l(e,t){return e="number"==typeof e||r.test(e)?+e:-1,t=null==t?i:t,e>-1&&e%1==0&&e<t}function c(e,t,n){if(!d(n))return!1;var r=typeof t;if("number"==r?a(n)&&l(t,n.length):"string"==r&&t in n){var i=n[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,n){var r="Expected a function",i=Math.max;function o(e,t){if("function"!=typeof e)throw new TypeError(r);return t=i(void 0===t?e.length-1:+t||0,0),function(){var n=arguments,r=-1,o=i(n.length-t,0),s=Array(o);while(++r<o)s[r]=n[t+r];switch(t){case 0:return e.call(this,s);case 1:return e.call(this,n[0],s);case 2:return e.call(this,n[0],n[1],s)}var a=Array(t+1);r=-1;while(++r<t)a[r]=n[r];return a[t]=s,e.apply(this,a)}}t.exports=o},{}],54:[function(e,t,n){var r="[object Function]",i=/^\[object .+?Constructor\]$/;function o(e){return!!e&&"object"==typeof e}var s=Object.prototype,a=Function.prototype.toString,l=s.hasOwnProperty,c=s.toString,u=RegExp("^"+a.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(e,t){var n=null==e?void 0:e[t];return f(n)?n:void 0}function h(e){return p(e)&&c.call(e)==r}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(e){return null!=e&&(h(e)?u.test(a.call(e)):o(e)&&i.test(e))}t.exports=d},{}],55:[function(e,t,n){var r=9007199254740991,i="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",a=Object.prototype,l=a.hasOwnProperty,c=a.toString,u=a.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 b(e)&&f(e)}function A(e){var t=_(e)?c.call(e):"";return t==o||t==s}function g(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){return!!e&&"object"==typeof e}t.exports=p},{}],56:[function(e,t,n){var r="[object Array]",i="[object Function]",o=/^\[object .+?Constructor\]$/;function s(e){return!!e&&"object"==typeof e}var a=Object.prototype,l=Function.prototype.toString,c=a.hasOwnProperty,u=a.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 n=null==e?void 0:e[t];return b(n)?n:void 0}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}var A=h||function(e){return s(e)&&m(e.length)&&u.call(e)==r};function g(e){return _(e)&&u.call(e)==i}function _(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){return null!=e&&(g(e)?d.test(l.call(e)):s(e)&&o.test(e))}t.exports=A},{}],57:[function(e,t,n){var r=e("lodash._basefor"),i=e("lodash.isarguments"),o=e("lodash.keysin"),s="[object Object]";function a(e){return!!e&&"object"==typeof e}var l=Object.prototype,c=l.hasOwnProperty,u=l.toString;function d(e,t){return r(e,t,o)}function h(e){var t,n;return!(!a(e)||u.call(e)!=s||i(e)||!(c.call(e,"constructor")||(t=e.constructor,"function"!=typeof t||t instanceof t)))&&(d(e,(function(e,t){n=t})),void 0===n||c.call(e,n))}t.exports=h},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(e,t,n){var r=i();function i(e){return function(t,n,r){var i=-1,o=Object(t),s=r(t),a=s.length;while(a--){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}t.exports=r},{}],59:[function(e,t,n){var r=9007199254740991,i="[object Arguments]",o="[object Array]",s="[object Boolean]",a="[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]",b="[object Float32Array]",v="[object Float64Array]",w="[object Int8Array]",y="[object Int16Array]",R="[object Int32Array]",M="[object Uint8Array]",S="[object Uint8ClampedArray]",E="[object Uint16Array]",T="[object Uint32Array]",C={};C[b]=C[v]=C[w]=C[y]=C[R]=C[M]=C[S]=C[E]=C[T]=!0,C[i]=C[o]=C[g]=C[s]=C[_]=C[a]=C[l]=C[c]=C[u]=C[d]=C[h]=C[p]=C[f]=C[m]=C[A]=!1;var O=Object.prototype,x=O.toString;function N(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function L(e){return!!e&&"object"==typeof e}function I(e){return L(e)&&N(e.length)&&!!C[x.call(e)]}t.exports=I},{}],60:[function(e,t,n){var r=e("lodash._getnative"),i=e("lodash.isarguments"),o=e("lodash.isarray"),s=/^\d+$/,a=Object.prototype,l=a.hasOwnProperty,c=r(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||s.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=b(e),n=t.length,r=n&&e.length,s=!!r&&m(r)&&(o(e)||i(e)),a=-1,c=[];while(++a<n){var u=t[a];(s&&f(u,r)||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 b(e){if(null==e)return[];g(e)||(e=Object(e));var t=e.length;t=t&&m(t)&&(o(e)||i(e))&&t||0;var n=e.constructor,r=-1,s="function"==typeof n&&n.prototype===e,a=Array(t),c=t>0;while(++r<t)a[r]=r+"";for(var u in e)c&&f(u,t)||"constructor"==u&&(s||!l.call(e,u))||a.push(u);return a}t.exports=_},{"lodash._getnative":54,"lodash.isarguments":55,"lodash.isarray":56}],61:[function(e,t,n){var r=e("lodash.isarguments"),i=e("lodash.isarray"),o=/^\d+$/,s=Object.prototype,a=s.hasOwnProperty,l=9007199254740991;function c(e,t){return e="number"==typeof e||o.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)||r(e))&&t||0;var n=e.constructor,o=-1,s="function"==typeof n&&n.prototype===e,l=Array(t),h=t>0;while(++o<t)l[o]=o+"";for(var p in e)h&&c(p,t)||"constructor"==p&&(s||!a.call(e,p))||l.push(p);return l}t.exports=h},{"lodash.isarguments":55,"lodash.isarray":56}],62:[function(e,t,n){var r=e("lodash._basecopy"),i=e("lodash.keysin");function o(e){return r(e,i(e))}t.exports=o},{"lodash._basecopy":63,"lodash.keysin":61}],63:[function(e,t,n){function r(e,t,n){n||(n={});var r=-1,i=t.length;while(++r<i){var o=t[r];n[o]=e[o]}return n}t.exports=r},{}],64:[function(e,t,n){var r,i;r=e("jszip"),i=e("./internal"),t.exports={asBlob:function(e,t){var n;return n=new r,i.addFiles(n,e,t),i.generateDocument(n)}}},{"./internal":65,jszip:14}],65:[function(e,t,n){(function(n,r){var i,o,s;i=e("./templates/document"),o=e("./utils"),s={merge:e("lodash.merge")},t.exports={generateDocument:function(e){var t;if(t=e.generate({type:"arraybuffer"}),n.Blob)return new Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});if(n.Buffer)return new r(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=s.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,n){return e.file("[Content_Types].xml",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8VHlwZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvY29udGVudC10eXBlcyI+CiAgPERlZmF1bHQgRXh0ZW5zaW9uPSJyZWxzIiBDb250ZW50VHlwZT0KICAgICJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtcGFja2FnZS5yZWxhdGlvbnNoaXBzK3htbCIgLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2RvY3VtZW50LnhtbCIgQ29udGVudFR5cGU9CiAgICAiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQubWFpbit4bWwiLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2FmY2h1bmsubWh0IiBDb250ZW50VHlwZT0ibWVzc2FnZS9yZmM4MjIiLz4KPC9UeXBlcz4K","base64")),e.folder("_rels").file(".rels",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwCiAgICAgIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvb2ZmaWNlRG9jdW1lbnQiCiAgICAgIFRhcmdldD0iL3dvcmQvZG9jdW1lbnQueG1sIiBJZD0iUjA5YzgzZmFmYzA2NzQ4OGUiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64")),e.folder("word").file("document.xml",this.renderDocumentFile(n)).file("afchunk.mht",o.getMHTdocument(t)).folder("_rels").file("document.xml.rels",r("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,n){var r,i;r=e("./templates/mht_document"),i=e("./templates/mht_part"),t.exports={getMHTdocument:function(e){var t,n;return n=this._prepareImageParts(e),e=n.htmlSource,t=n.imageContentParts,e=e.replace(/\=/g,"=3D"),r({htmlSource:e,contentParts:t.join("\n")})},_prepareImageParts:function(e){var t,n,r;if(t=[],r=/"data:(\w+\/\w+);(\w+),(\S+)"/g,n=function(e,n,r,o){var s,a,l;return l=t.length,a=n.split("/")[1],s="file:///C:/fake/image"+l+"."+a,t.push(i({contentType:n,contentEncoding:r,contentLocation:s,encodedContent:o})),'"'+s+'"'},"string"===typeof e)return/<img/g.test(e)?(e=e.replace(r,n),{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,n){"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,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,s=[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],a=new Array(160);function l(){this.init(),this._w=a,i.call(this,128,112)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(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}r(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,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,l=0|this._fh,_=0|this._gh,b=0|this._hh,v=0|this._al,w=0|this._bl,y=0|this._cl,R=0|this._dl,M=0|this._el,S=0|this._fl,E=0|this._gl,T=0|this._hl,C=0;C<32;C+=2)t[C]=e.readInt32BE(4*C),t[C+1]=e.readInt32BE(4*C+4);for(;C<160;C+=2){var O=t[C-30],x=t[C-30+1],N=p(O,x),L=f(x,O);O=t[C-4],x=t[C-4+1];var I=m(O,x),P=A(x,O),D=t[C-14],F=t[C-14+1],k=t[C-32],B=t[C-32+1],U=L+F|0,H=N+D+g(U,L)|0;U=U+P|0,H=H+I+g(U,P)|0,U=U+B|0,H=H+k+g(U,B)|0,t[C]=H,t[C+1]=U}for(var j=0;j<160;j+=2){H=t[j],U=t[j+1];var V=u(n,r,i),W=u(v,w,y),Y=d(n,v),Q=d(v,n),X=h(a,M),K=h(M,a),G=s[j],Z=s[j+1],z=c(a,l,_),q=c(M,S,E),J=T+K|0,$=b+X+g(J,T)|0;J=J+q|0,$=$+z+g(J,q)|0,J=J+Z|0,$=$+G+g(J,Z)|0,J=J+U|0,$=$+H+g(J,U)|0;var ee=Q+W|0,te=Y+V+g(ee,Q)|0;b=_,T=E,_=l,E=S,l=a,S=M,M=R+J|0,a=o+$+g(M,R)|0,o=i,R=y,i=r,y=w,r=n,w=v,v=J+ee|0,n=$+te+g(v,J)|0}this._al=this._al+v|0,this._bl=this._bl+w|0,this._cl=this._cl+y|0,this._dl=this._dl+R|0,this._el=this._el+M|0,this._fl=this._fl+S|0,this._gl=this._gl+E|0,this._hl=this._hl+T|0,this._ah=this._ah+n+g(this._al,v)|0,this._bh=this._bh+r+g(this._bl,w)|0,this._ch=this._ch+i+g(this._cl,y)|0,this._dh=this._dh+o+g(this._dl,R)|0,this._eh=this._eh+a+g(this._el,M)|0,this._fh=this._fh+l+g(this._fl,S)|0,this._gh=this._gh+_+g(this._gl,E)|0,this._hh=this._hh+b+g(this._hl,T)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+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,n){(function(e,t){t(n("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,n){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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("58c0"),i=n("69a8"),o=n("9688");class s extends r.EventTargetImpl{constructor(){super(),this._signalSlots=new Set,this._mutationObserverMicrotaskQueued=!1,this._mutationObservers=new Set,this._iteratorList=new i.FixedSizeSet,this._associatedDocument=o.create_document()}get document(){return this._associatedDocument}get event(){return this._currentEvent}static _create(){return new s}}t.WindowImpl=s},5120:function(e,t,n){(function(e,t){t(n("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"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["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"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],s=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,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 s}))},"512ce":function(e,t,n){"use strict";var r=n("342f"),i=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!i&&+i[1]},5156:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n("1696");e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},5165:function(e,t,n){(function(e){var r=n("8c8a");function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,n){while(t._cache.length<n.length)t._cache=e.concat([t._cache,i(t)]);var o=t._cache.slice(0,n.length);return t._cache=t._cache.slice(n.length),r(n,o)}}).call(this,n("b639").Buffer)},"51f1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("a45a"),s=n("9389"),a=n("79b1"),l=n("dc6b"),c=n("ba82"),u=n("321f");function d(e,t){let n=null;""!==e&&(n=s.create_text(t._nodeDocument,e)),c.mutation_replaceAll(n,t)}function h(e,t=null,n=!1){let o;if(null===t&&(t=e._nodeDocument),i.Guard.isElementNode(e)){o=u.element_createAnElement(t,e._localName,e._namespace,e._namespacePrefix,e._is,!1);for(const n of e._attributeList){const e=h(n,t);u.element_append(e,o)}}else if(i.Guard.isDocumentNode(e)){const t=s.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,o=t}else if(i.Guard.isDocumentTypeNode(e)){const n=s.create_documentType(t,e._name,e._publicId,e._systemId);o=n}else if(i.Guard.isAttrNode(e)){const n=s.create_attr(t,e.localName);n._namespace=e._namespace,n._namespacePrefix=e._namespacePrefix,n._value=e._value,o=n}else o=i.Guard.isExclusiveTextNode(e)?s.create_text(t,e._data):i.Guard.isCDATASectionNode(e)?s.create_cdataSection(t,e._data):i.Guard.isCommentNode(e)?s.create_comment(t,e._data):i.Guard.isProcessingInstructionNode(e)?s.create_processingInstruction(t,e._target,e._data):i.Guard.isDocumentFragmentNode(e)?s.create_documentFragment(t):Object.create(e);if(i.Guard.isDocumentNode(o)?(o._nodeDocument=o,t=o):o._nodeDocument=t,r.dom.features.steps&&l.dom_runCloningSteps(o,e,t,n),n)for(const r of e._children){const e=h(r,t,!0);c.mutation_append(e,o)}return o}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 n={};for(const t of e._attributeList)n[t._localName]=t;for(const e of t._attributeList){const t=n[e._localName];if(!t)return!1;if(!p(t,e))return!1}}if(e._children.size!==t._children.size)return!1;const n=e._children[Symbol.iterator](),r=t._children[Symbol.iterator]();let o=n.next(),s=r.next();while(!o.done&&!s.done){const e=o.value,t=s.value;if(!p(e,t))return!1;o=n.next(),s=r.next()}return!0}function f(e,t){return"*"===e?s.create_htmlCollection(t):"html"===t._nodeDocument._type?s.create_htmlCollection(t,(function(t){return t._namespace===o.namespace.HTML&&t._qualifiedName===e.toLowerCase()||t._namespace!==o.namespace.HTML&&t._qualifiedName===e})):s.create_htmlCollection(t,(function(t){return t._qualifiedName===e}))}function m(e,t,n){return""===e&&(e=null),"*"===e&&"*"===t?s.create_htmlCollection(n):"*"===e?s.create_htmlCollection(n,(function(e){return e._localName===t})):"*"===t?s.create_htmlCollection(n,(function(t){return t._namespace===e})):s.create_htmlCollection(n,(function(n){return n._localName===t&&n._namespace===e}))}function A(e,t){const n=a.orderedSet_parse(e);if(0===n.size)return s.create_htmlCollection(t,()=>!1);const r="quirks"!==t._nodeDocument._mode;return s.create_htmlCollection(t,(function(e){const t=e.classList;return a.orderedSet_contains(t._tokenSet,n,r)}))}function g(e,t){if(e._namespace===t&&null!==e._namespacePrefix)return e._namespacePrefix;for(let n=0;n<e._attributeList.length;n++){const r=e._attributeList[n];if("xmlns"===r._namespacePrefix&&r._value===t)return r._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 n=0;n<e._attributeList.length;n++){const r=e._attributeList[n];if(r._namespace===o.namespace.XMLNS&&"xmlns"===r._namespacePrefix&&r._localName===t)return r._value||null;if(null===t&&r._namespace===o.namespace.XMLNS&&null===r._namespacePrefix&&"xmlns"===r._localName)return r._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=_},5230:function(e,t,n){"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,n){var r=n("8707").Buffer;function i(e,t,n){var r,i,s,a=-1,l=8,c=0;while(++a<l)r=e._cipher.encryptBlock(e._prev),i=t&1<<7-a?128:0,s=r[0]^i,c+=(128&s)>>a%8,e._prev=o(e._prev,n?i:s);return c}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);e=r.concat([e,r.from([t])]);while(++i<n)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,n){var o=t.length,s=r.allocUnsafe(o),a=-1;while(++a<o)s[a]=i(e,t[a],n);return s}},5291:function(e,t,n){var r=n("0106"),i=n("8707").Buffer;function o(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}e.exports=o},5294:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  115. //! moment.js locale configuration
  116. var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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,n){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 r}))},5295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("a32f"),o=n("fea4"),s=n("0fc1"),a=n("a45a"),l=n("9688");class c{serializeToString(e){return this._xmlSerialization(e,!1)}_xmlSerialization(e,t){if(void 0===e._nodeDocument||e._nodeDocument._hasNamespaces){const r=null,i=new o.NamespacePrefixMap;i.set("xml",a.namespace.XML);const l={value:1};try{return this._serializeNodeNS(e,r,i,l,t)}catch(n){throw new s.InvalidStateError}}else try{return this._serializeNode(e,t)}catch(r){throw new s.InvalidStateError}}_serializeNodeNS(e,t,n,i,o){switch(e.nodeType){case r.NodeType.Element:return this._serializeElementNS(e,t,n,i,o);case r.NodeType.Document:return this._serializeDocumentNS(e,t,n,i,o);case r.NodeType.Comment:return this._serializeComment(e,o);case r.NodeType.Text:return this._serializeText(e,o);case r.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(e,t,n,i,o);case r.NodeType.DocumentType:return this._serializeDocumentType(e,o);case r.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,o);case r.NodeType.CData:return this._serializeCData(e,o);default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeNode(e,t){switch(e.nodeType){case r.NodeType.Element:return this._serializeElement(e,t);case r.NodeType.Document:return this._serializeDocument(e,t);case r.NodeType.Comment:return this._serializeComment(e,t);case r.NodeType.Text:return this._serializeText(e,t);case r.NodeType.DocumentFragment:return this._serializeDocumentFragment(e,t);case r.NodeType.DocumentType:return this._serializeDocumentType(e,t);case r.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(e,t);case r.NodeType.CData:return this._serializeCData(e,t);default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeElementNS(e,t,n,r,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 o="<",s="",u=!1,d=!1,h=n.copy(),p={},f=this._recordNamespaceInformation(e,h,p),m=t,A=e.namespaceURI;if(m===A)null!==f&&(d=!0),s=A===a.namespace.XML?"xml:"+e.localName:e.localName,o+=s;else{let t=e.prefix,n=null;if(null===t&&A===f||(n=h.get(t,A)),"xmlns"===t){if(i)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");n=t}null!==n?(s=n+":"+e.localName,null!==f&&f!==a.namespace.XML&&(m=f||null),o+=s):null!==t?(t in p&&(t=this._generatePrefix(A,h,r)),h.set(t,A),s+=t+":"+e.localName,o+=s,o+=" xmlns:"+t+'="'+this._serializeAttributeValue(A,i)+'"',null!==f&&(m=f||null)):null===f||null!==f&&f!==A?(d=!0,s+=e.localName,m=A,o+=s,o+=' xmlns="'+this._serializeAttributeValue(A,i)+'"'):(s+=e.localName,m=A,o+=s)}o+=this._serializeAttributesNS(e,h,r,p,d,i);const g=A===a.namespace.HTML;if(g&&0===e.childNodes.length&&c._VoidElementNames.has(e.localName)?(o+=" /",u=!0):g||0!==e.childNodes.length||(o+="/",u=!0),o+=">",u)return o;if(g&&"template"===e.localName);else for(const a of e._children||e.childNodes)o+=this._serializeNodeNS(a,m,h,r,i);return o+="</"+s+">",o}_serializeDocumentNS(e,t,n,r,i){if(i&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");let o="";for(const s of e._children||e.childNodes)o+=this._serializeNodeNS(s,t,n,r,i);return o}_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 n="";for(let r=0;r<e.data.length;r++){const t=e.data[r];n+="&"===t?"&amp;":"<"===t?"&lt;":">"===t?"&gt;":t}return n}_serializeDocumentFragmentNS(e,t,n,r,i){let o="";for(const s of e._children||e.childNodes)o+=this._serializeNodeNS(s,t,n,r,i);return o}_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,n,r,o,s){let c="";const u=s?new i.LocalNameSet:void 0;for(const i of e.attributes){if(!o&&!s&&null===i.namespaceURI){c+=" "+i.localName+'="'+this._serializeAttributeValue(i.value,s)+'"';continue}if(s&&u&&u.has(i.namespaceURI,i.localName))throw new Error("Element contains duplicate attributes (well-formed required).");s&&u&&u.set(i.namespaceURI,i.localName);let e=i.namespaceURI,d=null;if(null!==e)if(d=t.get(i.prefix,e),e===a.namespace.XMLNS){if(i.value===a.namespace.XML||null===i.prefix&&o||null!==i.prefix&&(!(i.localName in r)||r[i.localName]!==i.value)&&t.has(i.localName,i.value))continue;if(s&&i.value===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(s&&""===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,n):i.prefix,c+=" xmlns:"+d+'="'+this._serializeAttributeValue(e,s)+'"');if(c+=" ",null!==d&&(c+=d+":"),s&&(-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,s)+'"'}return c}_recordNamespaceInformation(e,t,n){let r=null;for(const i of e.attributes){let e=i.namespaceURI,o=i.prefix;if(e===a.namespace.XMLNS){if(null===o){r=i.value;continue}{let e=i.localName,r=i.value;if(r===a.namespace.XML)continue;if(""===r&&(r=null),t.has(e,r))continue;t.set(e,r),n[e]=r||""}}}return r}_generatePrefix(e,t,n){let r="ns"+n.value;return n.value++,t.set(r,e),r}_serializeAttributeValue(e,t){if(t&&null!==e&&!l.xml_isLegalChar(e))throw new Error("Invalid characters in attribute value.");if(null===e)return"";let n="";for(let r=0;r<e.length;r++){const t=e[r];n+='"'===t?"&quot;":"&"===t?"&amp;":"<"===t?"&lt;":">"===t?"&gt;":t}return n}_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 n=!1;const r=e.localName;let i="<"+r;if(i+=this._serializeAttributes(e,t),0===e._children.size&&(i+="/",n=!0),i+=">",n)return i;for(const o of e._children)i+=this._serializeNode(o,t);return i+="</"+r+">",i}_serializeDocument(e,t){if(t&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");let n="";for(const r of e._children)n+=this._serializeNode(r,t);return n}_serializeDocumentFragment(e,t){let n="";for(const r of e._children)n+=this._serializeNode(r,t);return n}_serializeAttributes(e,t){let n="";const r=t?{}:void 0;for(const i of e.attributes){if(t&&r&&i.localName in r)throw new Error("Element contains duplicate attributes (well-formed required).");if(t&&r&&(r[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).");n+=" "+i.localName+'="'+this._serializeAttributeValue(i.value,t)+'"'}return n}}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,n){(function(e,t){t(n("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,n){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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("8d23"),i=n("ff74"),o=n("ad99");class s extends o.BaseWriter{serialize(e,t){const n=i.applyDefaults(t,{wellFormed:!1,noDoubleEncoding:!1,prettyPrint:!1,indent:" ",newline:"\n",offset:0,group:!1}),o=i.applyDefaults(n,{format:"object",wellFormed:!1,noDoubleEncoding:!1}),s=new r.ObjectWriter(this._builderOptions),a=s.serialize(e,o);return this._beginLine(n,0)+this._convertObject(a,n)}_convertObject(e,t,n=0){let r="";const o=this._isLeafNode(e);if(i.isArray(e)){r+="[";const i=e.length;let o=0;for(const s of e)r+=this._endLine(t,n+1)+this._beginLine(t,n+1)+this._convertObject(s,t,n+1),o<i-1&&(r+=","),o++;r+=this._endLine(t,n)+this._beginLine(t,n),r+="]"}else if(i.isObject(e)){r+="{";const s=i.objectLength(e);let a=0;i.forEachObject(e,(e,i)=>{o&&t.prettyPrint?r+=" ":r+=this._endLine(t,n+1)+this._beginLine(t,n+1),r+='"'+e+'":',t.prettyPrint&&(r+=" "),r+=this._convertObject(i,t,n+1),a<s-1&&(r+=","),a++},this),o&&t.prettyPrint?r+=" ":r+=this._endLine(t,n)+this._beginLine(t,n),r+="}"}else r+='"'+e+'"';return r}_beginLine(e,t){if(!e.prettyPrint)return"";{const n=e.offset+t+1;if(n>0)return new Array(n).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,n)=>t+=this._descendantCount(n,t),this):t++,t}}t.JSONWriter=s},5382:function(e,t,n){"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,n){"use strict";var r=n("c65b");e.exports=function(e,t,n){var i,o,s=n?e:e.iterator,a=e.next;while(!(i=r(a,s)).done)if(o=t(i.value),void 0!==o)return o}},"53a8":function(e,t){e.exports=r;var n=Object.prototype.hasOwnProperty;function r(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e}},5402:function(e,t,n){"use strict";var r=n("00ce"),i=n("545e"),o=n("2714"),s=n("0d25"),a=r("%WeakMap%",!0),l=r("%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 n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},A=function(e,t){var n=m(e,t);return n&&n.value},g=function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},_=function(e,t){return!!m(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+o(e))},get:function(r){if(a&&r&&("object"===typeof r||"function"===typeof r)){if(e)return c(e,r)}else if(l){if(t)return h(t,r)}else if(n)return A(n,r)},has:function(r){if(a&&r&&("object"===typeof r||"function"===typeof r)){if(e)return d(e,r)}else if(l){if(t)return f(t,r)}else if(n)return _(n,r);return!1},set:function(r,i){a&&r&&("object"===typeof r||"function"===typeof r)?(e||(e=new a),u(e,r,i)):l?(t||(t=new l),p(t,r,i)):(n||(n={key:{},next:null}),g(n,r,i))}};return r}},"545e":function(e,t,n){"use strict";var r=n("00ce"),i=n("3eb1"),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},"55c9":function(e,t,n){(function(e,t){t(n("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("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^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,o=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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:r,longMonthsParse:r,shortMonthsParse:r,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 o}))},"561d":function(e,t,n){(function(t){var r=n("48e6"),i=n("7a10"),o=new i,s=new r(24),a=new r(11),l=new r(10),c=new r(3),u=new r(7),d=n("58a2"),h=n("11dc");function p(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._pub=new r(e),this}function f(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._priv=new r(e),this}e.exports=g;var m={};function A(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in m)return m[r];var i,h=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!o.test(e))return h+=1,h+="02"===n||"05"===n?8:4,m[r]=h,h;switch(o.test(e.shrn(1))||(h+=2),n){case"02":e.mod(s).cmp(a)&&(h+=8);break;case"05":i=e.mod(l),i.cmp(c)&&i.cmp(u)&&(h+=8);break;default:h+=4}return m[r]=h,h}function g(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=p,this.setPrivateKey=f):this._primeCode=8}function _(e,n){var r=new t(e.toArray());return n?r.toString(n):r}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 r(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){e=new r(e),e=e.toRed(this._prime);var n=e.redPow(this._priv).fromRed(),i=new t(n.toArray()),o=this.getPrime();if(i.length<o.length){var s=new t(o.length-i.length);s.fill(0),i=t.concat([s,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,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this.__gen=e,this._gen=new r(e),this}}).call(this,n("b639").Buffer)},"56b5":function(e,t,n){"use strict";var r=n("7f7a"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),l=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=r.define("RDNSequence",(function(){this.seqof(l)})),u=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),d=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),p=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0)["int"]().optional(),this.key("serialNumber")["int"](),this.key("signature").use(s),this.key("issuer").use(u),this.key("validity").use(d),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),f=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));e.exports=f},5714:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n("d9e2");function r(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=o(e,"string");return"symbol"==typeof t?t:t+""}function o(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class s{constructor(e){r(this,"calculationTypes",[]),r(this,"calculationResults",new Map),this.calculationTypes=e}_initialize(e){this.calculationTypes.forEach(t=>{let[n,r]=t;this.calculationResults.set(n,r),r.initialize(e)})}_process(e,t){this.calculationTypes.forEach(n=>{let[,r]=n;return r.process(e,t)})}_finalize(e){this.calculationTypes.forEach(t=>{let[,n]=t;return n.finalize(e)})}getResultsFor(e){return this.calculationResults.get(e)}}},"576c":function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"579c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9688"),i=n("6cb8");class o{parseFromString(e,t){if("text/html"===t)throw new Error("HTML parser not implemented.");try{const n=new i.XMLParserImpl,r=n.parse(e);return r._contentType=t,r}catch(n){const e="http://www.mozilla.org/newlayout/xml/parsererror.xml",t=r.create_xmlDocument(),i=t.createElementNS(e,"parsererror"),o=t.createElementNS(e,"error");return o.setAttribute("message",n.message),i.appendChild(o),t.appendChild(i),t}}}t.DOMParserImpl=o},"58a2":function(e,t,n){var r=n("11dc");e.exports=b,b.simpleSieve=g,b.fermatTest=_;var i=n("48e6"),o=new i(24),s=n("7a10"),a=new s,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 n=1,r=3;r<e;r+=2){for(var i=Math.ceil(Math.sqrt(r)),o=0;o<n&&t[o]<=i;o++)if(r%t[o]===0)break;n!==o&&t[o]<=i||(t[n++]=r)}return m=t,t}function g(e){for(var t=A(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function _(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function b(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,s;t=new i(t);while(1){n=new i(r(Math.ceil(e/8)));while(n.bitLength()>e)n.ishrn(1);if(n.isEven()&&n.iadd(l),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(u))while(n.mod(d).cmp(h))n.iadd(f)}else while(n.mod(o).cmp(p))n.iadd(f);if(s=n.shrn(1),g(s)&&g(n)&&_(s)&&_(n)&&a.test(s)&&a.test(n))return n}}},"58c0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("0fc1"),i=n("9af8"),o=n("9688");class s{constructor(){}get _eventListenerList(){return this.__eventListenerList||(this.__eventListenerList=[])}get _eventHandlerMap(){return this.__eventHandlerMap||(this.__eventHandlerMap={})}addEventListener(e,t,n={passive:!1,once:!1,capture:!1}){const[r,s,a]=o.eventTarget_flattenMore(n);let l;t&&(l=i.Guard.isEventListener(t)?t:{handleEvent:t},o.eventTarget_addEventListener(this,{type:e,callback:l,capture:r,passive:s,once:a,removed:!1}))}removeEventListener(e,t,n={capture:!1}){const r=o.eventTarget_flatten(n);if(t)for(let s=0;s<this._eventListenerList.length;s++){const n=this._eventListenerList[s];if(n.type===e&&n.capture===r){if(i.Guard.isEventListener(t)&&n.callback===t){o.eventTarget_removeEventListener(this,n,s);break}if(t&&n.callback.handleEvent===t){o.eventTarget_removeEventListener(this,n,s);break}}}}dispatchEvent(e){if(e._dispatchFlag||!e._initializedFlag)throw new r.InvalidStateError;return e._isTrusted=!1,o.event_dispatch(e,this)}_getTheParent(e){return null}}t.EventTargetImpl=s},5919:function(e,t,n){"use strict";t.sha1=n("13e2"),t.sha224=n("07f2"),t.sha256=n("6eed"),t.sha384=n("8b95"),t.sha512=n("b525")},"591a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("0a9e");t.ObjectCache=r.ObjectCache;var i=n("c733");t.CompareCache=i.CompareCache;var o=n("7d2b");function s(e,t,...n){Object.getOwnPropertyNames(t.prototype).forEach(r=>{if(n.includes(r)){const t=Object.getOwnPropertyDescriptor(e.prototype,r);t&&Object.defineProperty(e.prototype,"_"+r,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,r);i&&Object.defineProperty(e.prototype,r,i)})}function a(e,t,n=!1){const r=p(e||{});for(const[i,o]of c(t))_(o)?r[i]=a(r[i],o):(n||void 0===r[i])&&(r[i]=o);return r}function*l(e){yield*e}function*c(e){if(v(e))yield*e;else for(const t in e)e.hasOwnProperty(t)&&(yield[t,e[t]])}function u(e){return v(e)?e.size:Object.keys(e).length}function d(e,t){return v(e)?e.get(t):e[t]}function h(e,t){v(e)?e.delete(t):delete e[t]}function p(e){if(g(e))return e;if(b(e)){const t=[];for(const n of e)t.push(p(n));return t}if(_(e)){const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=p(r)}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 b(e){return Array.isArray(e)}function v(e){return e instanceof Map}function w(e){if(b(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),n=t.constructor;return t&&n&&"function"===typeof n&&n instanceof n&&Function.prototype.toString.call(n)===Function.prototype.toString.call(Object)}return!1}function R(e){return e&&"function"===typeof e[Symbol.iterator]}function M(e){return g(e.valueOf)?e.valueOf():e}function S(e){const t=new Uint8Array(4*e.length);let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i<128)t[n++]=i;else{if(i<2048)t[n++]=i>>6|192;else{if(i>55295&&i<56320){if(++r>=e.length)throw new Error("Incomplete surrogate pair.");const o=e.charCodeAt(r);if(o<56320||o>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&o),t[n++]=i>>18|240,t[n++]=i>>12&63|128}else t[n++]=i>>12|224;t[n++]=i>>6&63|128}t[n++]=63&i|128}}return t.subarray(0,n)}function E(e){let t="",n=0;while(n<e.length){var r=e[n++];if(r>127)if(r>191&&r<224){if(n>=e.length)throw new Error("Incomplete 2-byte sequence.");r=(31&r)<<6|63&e[n++]}else if(r>223&&r<240){if(n+1>=e.length)throw new Error("Incomplete 3-byte sequence.");r=(15&r)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(r>239&&r<248))throw new Error("Unknown multi-byte start.");if(n+2>=e.length)throw new Error("Incomplete 4-byte sequence.");r=(7&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}if(r<=65535)t+=String.fromCharCode(r);else{if(!(r<=1114111))throw new Error("Code point exceeds UTF-16 limit.");r-=65536,t+=String.fromCharCode(r>>10|55296),t+=String.fromCharCode(1023&r|56320)}}return t}t.StringWalker=o.StringWalker,t.applyMixin=s,t.applyDefaults=a,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=b,t.isMap=v,t.isEmpty=w,t.isPlainObject=y,t.isIterable=R,t.getValue=M,t.utf8Encode=S,t.utf8Decode=E},"595f":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-formual"},[1==e.type?n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[n("el-form-item",{attrs:{label:"类型:"}},[n("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 n("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})),1)],1),n("el-form-item",{attrs:{label:"变名称:"}},[n("el-input",{attrs:{placeholder:"请填写变量名称"},model:{value:e.queryForm.name,callback:function(t){e.$set(e.queryForm,"name",t)},expression:"queryForm.name"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onBtnSearch}},[n("svg-icon",{attrs:{"icon-class":"search"}}),e._v(" 搜索")],1),n("el-button",{attrs:{type:"primary"},on:{click:e.onBtnCreate}},[n("svg-icon",{attrs:{"icon-class":"plus"}}),e._v(" 新增变量")],1)],1)],1):e._e(),2==e.type?n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onBtnConst}},[n("svg-icon",{attrs:{"icon-class":"plus"}}),e._v(" 新增常量")],1)],1)],1):e._e(),n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataList,"header-row-class-name":"headerBg","empty-text":"没有数据信息"}},[n("el-table-column",{attrs:{prop:"id",label:"ID",align:"center"}}),n("el-table-column",{attrs:{prop:"code",label:"编码",align:"left"}}),n("el-table-column",{attrs:{prop:"name",label:"名称",align:"left"}}),1==e.type?n("el-table-column",{attrs:{prop:"value",label:"取值","show-overflow-tooltip":"",align:"left","min-width":"150"}}):e._e(),n("el-table-column",{attrs:{label:"操作",align:"center",width:"250"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"btns"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return e.btnPicked(t.row)}}},[n("svg-icon",{attrs:{"icon-class":"confirm"}}),e._v("使用")],1),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return e.btnOnEdit(t.row.id,t.row)}}},[n("svg-icon",{attrs:{"icon-class":"edit"}}),e._v("编辑")],1),n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(n){return e.btnOnDelete(t.row.id)}}},[n("svg-icon",{attrs:{"icon-class":"delete"}}),e._v("删除")],1)],1)]}}])})],1),n("div",{staticClass:"page-info"},[n("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),n("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}},[n("dataInfo",{ref:"dataInfoRef",attrs:{id:e.dataId,type:e.type},on:{onClose:e.onClose}})],1)],1)},i=[],o=(n("e9c4"),n("a9e3"),n("d3b7"),n("ac1f"),n("841c"),n("0643"),n("4e3e"),n("159b"),n("3e3e")),s=n("a888"),a=n("6242"),l={name:"searchParams",emits:["onPicked","onData"],directives:{elDragDialog:s["a"]},components:{dataInfo:a["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 n=this;e.forEach((function(e,r){JSON.stringify(e)!==JSON.stringify(t[r])&&n.$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 n=this;this.title=1==t.type?"修改变量":"修改常量",this.$nextTick((function(){n.dataId=e,n.dialogVisible=!0}))},btnOnDelete:function(e){var t=this,n={id:e};t.$confirm("您是否确认删除该记录?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then((function(e){Object(o["b"])(n).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(o["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=(n("f471"),n("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},"598a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  123. //! moment.js locale configuration
  124. var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,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,n){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 r}))},"5a76":function(e,t,n){var r=n("f576");e.exports=function(e){return(new r).update(e).digest()}},"5aaf":function(e,t,n){},"5aff":function(e,t,n){(function(e,t){t(n("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"},n=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,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},"5b14":function(e,t,n){(function(e,t){t(n("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 n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return i+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return i+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return i+(r||t?" év":" éve")}return""}function r(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,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",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},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},"5b81":function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("e330"),s=n("1d80"),a=n("1626"),l=n("7234"),c=n("44e7"),u=n("577e"),d=n("dc4a"),h=n("90d8"),p=n("0cb2"),f=n("b622"),m=n("c430"),A=f("replace"),g=TypeError,_=o("".indexOf),b=o("".replace),v=o("".slice),w=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,f,y,R,M,S,E,T=s(this),C=0,O=0,x="";if(!l(e)){if(n=c(e),n&&(r=u(s(h(e))),!~_(r,"g")))throw new g("`.replaceAll` does not allow non-global regexes");if(o=d(e,A),o)return i(o,e,T,t);if(m&&n)return b(u(T),e,t)}f=u(T),y=u(e),R=a(t),R||(t=u(t)),M=y.length,S=w(1,M),C=_(f,y);while(-1!==C)E=R?u(t(y,C,f)):p(y,f,C,[],void 0,t),x+=v(f,O,C)+E,O=C+M,C=C+S>f.length?-1:_(f,y,C+S);return O<f.length&&(x+=v(f,O)),x}})},"5bfe":function(e,t,n){"use strict";n("2bfc")},"5c3a":function(e,t,n){(function(e,t){t(n("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,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<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,n){(function(e,t){t(n("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,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5d7f":function(e,t,n){"use strict";n.r(t),n.d(t,"getParent",(function(){return o})),n.d(t,"isThisHotChild",(function(){return s})),n.d(t,"getFrameElement",(function(){return a})),n.d(t,"getParentWindow",(function(){return l})),n.d(t,"hasAccessToParentWindow",(function(){return c})),n.d(t,"closest",(function(){return u})),n.d(t,"closestDown",(function(){return d})),n.d(t,"isChildOf",(function(){return h})),n.d(t,"index",(function(){return p})),n.d(t,"overlayContainsElement",(function(){return f})),n.d(t,"hasClass",(function(){return g})),n.d(t,"addClass",(function(){return _})),n.d(t,"removeClass",(function(){return b})),n.d(t,"setAttribute",(function(){return v})),n.d(t,"removeAttribute",(function(){return w})),n.d(t,"removeTextNodes",(function(){return y})),n.d(t,"empty",(function(){return R})),n.d(t,"HTML_CHARACTERS",(function(){return M})),n.d(t,"fastInnerHTML",(function(){return S})),n.d(t,"fastInnerText",(function(){return E})),n.d(t,"isVisible",(function(){return T})),n.d(t,"offset",(function(){return C})),n.d(t,"getWindowScrollTop",(function(){return O})),n.d(t,"getWindowScrollLeft",(function(){return x})),n.d(t,"getScrollTop",(function(){return N})),n.d(t,"getScrollLeft",(function(){return L})),n.d(t,"getScrollableElement",(function(){return I})),n.d(t,"getMaximumScrollTop",(function(){return P})),n.d(t,"getMaximumScrollLeft",(function(){return D})),n.d(t,"getTrimmingContainer",(function(){return F})),n.d(t,"getStyle",(function(){return k})),n.d(t,"matchesCSSRules",(function(){return B})),n.d(t,"getComputedStyle",(function(){return U})),n.d(t,"outerWidth",(function(){return H})),n.d(t,"outerHeight",(function(){return j})),n.d(t,"innerHeight",(function(){return V})),n.d(t,"innerWidth",(function(){return W})),n.d(t,"addEvent",(function(){return Y})),n.d(t,"removeEvent",(function(){return Q})),n.d(t,"getCaretPosition",(function(){return X})),n.d(t,"getSelectionEndPosition",(function(){return K})),n.d(t,"getSelectionText",(function(){return G})),n.d(t,"clearTextSelection",(function(){return Z})),n.d(t,"setCaretPosition",(function(){return z})),n.d(t,"getScrollbarWidth",(function(){return $})),n.d(t,"hasVerticalScrollbar",(function(){return ee})),n.d(t,"hasHorizontalScrollbar",(function(){return te})),n.d(t,"setOverlayPosition",(function(){return ne})),n.d(t,"getCssTransform",(function(){return re})),n.d(t,"resetCssTransform",(function(){return ie})),n.d(t,"isInput",(function(){return oe})),n.d(t,"isOutsideInput",(function(){return se})),n.d(t,"selectElementIfAllowed",(function(){return ae})),n.d(t,"isDetached",(function(){return le})),n.d(t,"observeVisibilityChangeOnce",(function(){return ce})),n.d(t,"makeElementContentEditableAndSelectItsContent",(function(){return ue})),n.d(t,"removeContentEditableFromElementAndDeselect",(function(){return de})),n.d(t,"runWithSelectedContendEditableElement",(function(){return he}));n("d9e2"),n("14d9");var r=n("29b0"),i=n("8828");function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=null,i=e;while(null!==i){if(n===t){r=i;break}i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i=i.host:(n+=1,i=i.parentNode)}return r}function s(e,t){const n=e.closest(".handsontable");return!!n&&(n.parentNode===t||n===t)}function a(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function l(e){return a(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]:[],n=arguments.length>2?arguments[2]:void 0;const{ELEMENT_NODE:r,DOCUMENT_FRAGMENT_NODE:i}=Node;let o=e;while(null!==o&&void 0!==o&&o!==n){const{nodeType:e,nodeName:n}=o;if(e===r&&(t.includes(n)||t.includes(o)))return o;const{host:s}=o;o=s&&e===i?s:o.parentNode}return null}function d(e,t,n){const r=[];let i=e;while(i){if(i=u(i,t,n),!i||n&&!n.contains(i))break;r.push(i),i=i.host&&i.nodeType===Node.DOCUMENT_FRAGMENT_NODE?i.host:i.parentNode}const o=r.length;return o?r[o-1]:null}function h(e,t){let n=e.parentNode,r=[];"string"===typeof t?r=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):r.push(t);while(null!==n){if(r.indexOf(n)>-1)return!0;n=n.parentNode}return!1}function p(e){let t=0,n=e;if(n.previousSibling)while(n=n.previousSibling)t+=1;return t}function f(e,t,n){const r=n.parentElement.querySelector(".ht_clone_"+e);return r?r.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 n=[],r=[];return r.push(...e.filter(e=>{const r=e instanceof RegExp;return r&&t&&n.push(e),!r})),t?{regexFree:r,regexes:n}:r}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 b(e,t){"string"===typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);let{regexFree:n,regexes:r}=A(t,!0);n=m(n),n.length>0&&e.classList.remove(...n),r.forEach(t=>{e.classList.forEach(n=>{t.test(n)&&e.classList.remove(n)})})}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;Array.isArray(t)||(t=[[t,n]]),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:n,regexes:r}=A(t,!0);n.forEach(t=>{""!==t&&e.removeAttribute(t)}),r.forEach(t=>{e.getAttributeNames().forEach(n=>{t.test(n)&&e.removeAttribute(n)})})}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 R(e){let t;while(t=e.lastChild)e.removeChild(t)}const M=/(<(.*)>|&(.*);)/;function S(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];M.test(t)?e.innerHTML=n?Object(r["sanitize"])(t):t:E(e,t)}function E(e,t){const n=e.firstChild;n&&3===n.nodeType&&null===n.nextSibling?n.textContent=t:(R(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function T(e){const t=e.ownerDocument.documentElement;let n=e;while(n!==t){if(null===n)return!1;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(n.host){if(n.host.impl)return T(n.host.impl);if(n.host)return T(n.host);throw new Error("Lost in Web Components world")}return!1}if("none"===U(n).display)return!1;n=n.parentNode}return!0}function C(e){const t=e.ownerDocument,n=t.defaultView,r=t.documentElement;let i,o,s,a=e;i=a.offsetLeft,o=a.offsetTop,s=a;while(a=a.offsetParent){if(a===t.body)break;if(!("offsetLeft"in a))break;i+=a.offsetLeft,o+=a.offsetTop,s=a}return s&&"fixed"===s.style.position&&(i+=n.pageXOffset||r.scrollLeft,o+=n.pageYOffset||r.scrollTop),{left:i,top:o}}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return e.scrollY}function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return e.scrollX}function N(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?x(t):e.scrollLeft}function I(e){let t=e.ownerDocument,n=t?t.defaultView:void 0;t||(t=e.document?e.document:e,n=t.defaultView);const r=["auto","scroll"];let i=e.parentNode;while(i&&i.style&&t.body!==i){let{overflow:e,overflowX:t,overflowY:o}=i.style;if([e,t,o].includes("scroll"))return i;if(({overflow:e,overflowX:t,overflowY:o}=n.getComputedStyle(i)),r.includes(e)||r.includes(t)||r.includes(o))return i;if(i.clientHeight<=i.scrollHeight+1&&(r.includes(o)||r.includes(e)))return i;if(i.clientWidth<=i.scrollWidth+1&&(r.includes(t)||r.includes(e)))return i;i=i.parentNode}return n}function P(e){return e.scrollHeight-e.clientHeight}function D(e){return e.scrollWidth-e.clientWidth}function F(e){const t=e.ownerDocument,n=t.defaultView;let r=e.parentNode;while(r&&r.style&&t.body!==r){if("visible"!==r.style.overflow&&""!==r.style.overflow)return r;const e=U(r,n),t=["scroll","hidden","auto"],i=e.getPropertyValue("overflow"),o=e.getPropertyValue("overflow-y"),s=e.getPropertyValue("overflow-x");if(t.includes(i)||t.includes(o)||t.includes(s))return r;r=r.parentNode}return n}function k(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(!e)return;if(e===n)return"width"===t?n.innerWidth+"px":"height"===t?n.innerHeight+"px":void 0;const r=e.style[t];if(""!==r&&void 0!==r)return r;const i=U(e,n);return""!==i[t]&&void 0!==i[t]?i[t]:void 0}function B(e,t){const{selectorText:n}=t;let r=!1;return t.type===CSSRule.STYLE_RULE&&n&&(e.msMatchesSelector?r=e.msMatchesSelector(n):e.matches&&(r=e.matches(n))),r}function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return e.currentStyle||t.getComputedStyle(e)}function H(e){return e.offsetWidth}function j(e){return e.offsetHeight}function V(e){return e.clientHeight||e.innerHeight}function W(e){return e.clientWidth||e.innerWidth}function Y(e,t,n){e.addEventListener(t,n,!1)}function Q(e,t,n){e.removeEventListener(t,n,!1)}function X(e){return e.selectionStart?e.selectionStart:0}function K(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 n="";return e.getSelection?n=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(n=t.selection.createRange().text),n}function Z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;e.getSelection&&(e.getSelection().empty?e.getSelection().empty():e.getSelection().removeAllRanges&&e.getSelection().removeAllRanges())}function z(e,t,n){if(void 0===n&&(n=t),e.setSelectionRange){e.focus();try{e.setSelectionRange(t,n)}catch(r){const i=e.parentNode,o=i.style.display;i.style.display="block",e.setSelectionRange(t,n),i.style.display=o}}}let q;function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.createElement("div");t.style.height="200px",t.style.width="100%";const n=e.createElement("div");n.style.boxSizing="content-box",n.style.height="150px",n.style.left="0px",n.style.overflow="hidden",n.style.position="absolute",n.style.top="0px",n.style.width="200px",n.style.visibility="hidden",n.appendChild(t),(e.body||e.documentElement).appendChild(n);const r=t.offsetWidth;n.style.overflow="scroll";let i=t.offsetWidth;return r===i&&(i=n.clientWidth),(e.body||e.documentElement).removeChild(n),r-i}function $(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return void 0===q&&(q=J(e)),q}function ee(e){return e.offsetWidth!==e.clientWidth}function te(e){return e.offsetHeight!==e.clientHeight}function ne(e,t,n){e.style.transform=`translate3d(${t},${n},0)`}function re(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 oe(e){const t=["INPUT","SELECT","TEXTAREA"];return e&&(t.indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function se(e){return oe(e)&&!1===e.hasAttribute("data-hot-input")}function ae(e){const t=e.ownerDocument.activeElement;se(t)||e.select()}function le(e){return!e.parentNode}function ce(e,t){const n=new IntersectionObserver((n,r)=>{n.forEach(n=>{n.isIntersecting&&null!==e.offsetParent&&(t(),r.unobserve(e))})},{root:e.ownerDocument.body});n.observe(e)}function ue(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=e.ownerDocument,o=r.createRange(),s=r.defaultView.getSelection();v(e,"contenteditable",!0),n&&v(e,...Object(i["n"])()),t&&_(e,"invisibleSelection"),o.selectNodeContents(e),s.removeAllRanges(),s.addRange(o)}function de(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e.ownerDocument.defaultView.getSelection();e.hasAttribute("aria-hidden")&&e.removeAttribute("aria-hidden"),n.removeAllRanges(),t&&b(e,"invisibleSelection"),e.removeAttribute("contenteditable")}function he(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ue(e,n),t(),de(e,n)}},"5d88":function(e,t,n){var r={"./404.svg":"a14a","./AI.svg":"21be","./AI模块.svg":"c0a6","./CircleMinus.svg":"eb2a","./CirclePlus.svg":"1607","./applets.svg":"e7d9","./attr.svg":"5628","./bug.svg":"1779","./center.svg":"7429","./chanpin.svg":"f947","./chart.svg":"c829","./clipboard.svg":"bc35","./component.svg":"56d6","./config.svg":"18fc","./confirm.svg":"6048","./constant.svg":"6091","./dashBoard1.svg":"c18d","./dashboard.svg":"f782","./dashboards.svg":"33cc","./date.svg":"235f","./delete.svg":"59a1","./directory.svg":"e830","./documentation.svg":"90fb","./downAlign.svg":"243f","./drag.svg":"9bbf","./drash.svg":"226c","./edit.svg":"aa46","./education.svg":"ad1c","./email.svg":"cbb7","./example.svg":"30c3","./excel.svg":"6599","./exit-fullscreen.svg":"dbc7","./export.svg":"077e","./eye-open.svg":"d7ec","./eye.svg":"4df5","./file.svg":"b8b2","./form.svg":"eb1b","./fullscreen.svg":"9921","./guide.svg":"6683","./header.svg":"ba108","./icon.svg":"9d91","./insertArticle.svg":"ab4c","./insertAuth.svg":"cb49","./insertExcel.svg":"6c8e","./insertFav.svg":"8a99","./insertFormula.svg":"7ec8","./insertImage.svg":"45a9","./insertPage.svg":"24a7","./insertPager.svg":"74d8","./insertParams.svg":"3d0c","./insertShare.svg":"fbcb","./insertTemplate.svg":"8335","./international.svg":"17df","./kehu.svg":"da9c","./kehus.svg":"8456","./language.svg":"2580","./leftAlign.svg":"9b97","./link.svg":"18f0","./list.svg":"3289","./lock.svg":"ab00","./message.svg":"47ff","./midAlign.svg":"91a7","./money.svg":"3046","./nested.svg":"dcf8","./paizhao-01-20.svg":"ceac","./password.svg":"2a3d","./pdf.svg":"f9a1","./people.svg":"d056","./peoples.svg":"2f11","./project.svg":"69e4","./qq.svg":"1430","./rightAlign.svg":"d8a2","./sand.svg":"285c","./search.svg":"8e8d","./shopping.svg":"12a5","./size.svg":"8644","./skill.svg":"096e","./sourceData.svg":"e88f","./star.svg":"708a","./subject.svg":"fab3","./tab.svg":"8fb7","./table.svg":"47f1","./theme.svg":"e534","./tree-table.svg":"e7c8","./tree.svg":"93cd","./txtLeftAlign.svg":"b33d","./txtMidAlign.svg":"a2a1","./txtRightAlign.svg":"6c1a","./upAlign.svg":"bac5","./user.svg":"b3b5","./view.svg":"bb9c","./wechat.svg":"80da","./wendang.svg":"fd5e","./wendangs.svg":"a610","./word.svg":"bcb8","./xitong.svg":"23a3","./xitongs.svg":"cd59","./zhisk.svg":"861b","./zip.svg":"8aa6","./zujian.svg":"7fea","./公式.svg":"b38e","./变量.svg":"0da1","./图文.svg":"6b38","./属性.svg":"407b","./常量.svg":"9bee","./插入空值.svg":"d122","./目录.svg":"0ca8","./系统设置.svg":"8924"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="5d88"},"5db7":function(e,t,n){"use strict";var r=n("23e7"),i=n("a2bf"),o=n("59ed"),s=n("7b0b"),a=n("07fa"),l=n("65f0");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=s(this),r=a(n);return o(e),t=l(n,0),t.length=i(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},"5e1a":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n("a8f0").Buffer,o=n(4);function s(e,t,n){e.copy(t,n)}e.exports=function(){function e(){r(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,n=""+t.data;while(t=t.next)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return i.alloc(0);var t=i.allocUnsafe(e>>>0),n=this.head,r=0;while(n)s(n.data,t,r),r+=n.data.length,n=n.next;return t},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},"5ee7":function(e,t,n){"use strict";t.readUInt32BE=function(e,t){var n=e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t];return n>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,o=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}n[r+0]=i>>>0,n[r+1]=o>>>0},t.rip=function(e,t,n,r){for(var i=0,o=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.pc1=function(e,t,n,r){for(var i=0,o=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[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,n,i){for(var o=0,s=0,a=r.length>>>1,l=0;l<a;l++)o<<=1,o|=e>>>r[l]&1;for(l=a;l<r.length;l++)s<<=1,s|=t>>>r[l]&1;n[i+0]=o>>>0,n[i+1]=s>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+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 n=0,r=0;r<4;r++){var o=e>>>18-6*r&63,s=i[64*r+o];n<<=4,n|=s}for(r=0;r<4;r++){o=t>>>18-6*r&63,s=i[256+64*r+o];n<<=4,n|=s}return n>>>0};var o=[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,n=0;n<o.length;n++)t<<=1,t|=e>>>o[n]&1;return t>>>0},t.padSplit=function(e,t,n){var r=e.toString(2);while(r.length<t)r="0"+r;for(var i=[],o=0;o<t;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},"5f05":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9af8"),i=n("9688");class o{get children(){return i.create_htmlCollection(r.Cast.asNode(this))}get firstElementChild(){let e=r.Cast.asNode(this)._firstChild;while(e){if(r.Guard.isElementNode(e))return e;e=e._nextSibling}return null}get lastElementChild(){let e=r.Cast.asNode(this)._lastChild;while(e){if(r.Guard.isElementNode(e))return e;e=e._previousSibling}return null}get childElementCount(){let e=0;for(const t of r.Cast.asNode(this)._children)r.Guard.isElementNode(t)&&e++;return e}prepend(...e){const t=r.Cast.asNode(this),n=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);i.mutation_preInsert(n,t,t._firstChild)}append(...e){const t=r.Cast.asNode(this),n=i.parentNode_convertNodesIntoANode(e,t._nodeDocument);i.mutation_append(n,t)}querySelector(e){const t=r.Cast.asNode(this),n=i.selectors_scopeMatchASelectorsString(e,t);return 0===n.length?null:n[0]}querySelectorAll(e){const t=r.Cast.asNode(this),n=i.selectors_scopeMatchASelectorsString(e,t);return i.create_nodeListStatic(t,n)}}t.ParentNodeImpl=o},"5fb5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("0fc1");function o(e,t){if(e._activeFlag)throw new i.InvalidStateError;const n=t._nodeType-1,o=1<<n;if(0===(e.whatToShow&o))return r.FilterResult.Skip;if(!e.filter)return r.FilterResult.Accept;e._activeFlag=!0;let s=r.FilterResult.Reject;try{s=e.filter.acceptNode(t)}catch(a){throw e._activeFlag=!1,a}return e._activeFlag=!1,s}t.traversal_filter=o},"5fbc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("a45a"),i=n("9688"),o=n("9af8"),s=n("69a8");class a{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=>o.Guard.isElementNode(e)&&this._filter(e));while(null!==t)e++,t=i.tree_getNextDescendantNode(this._root,t,!1,!1,e=>o.Guard.isElementNode(e)&&this._filter(e));return e}item(e){let t=0,n=i.tree_getFirstDescendantNode(this._root,!1,!1,e=>o.Guard.isElementNode(e)&&this._filter(e));while(null!==n){if(t===e)return n;t++,n=i.tree_getNextDescendantNode(this._root,n,!1,!1,e=>o.Guard.isElementNode(e)&&this._filter(e))}return null}namedItem(e){if(""===e)return null;let t=i.tree_getFirstDescendantNode(this._root,!1,!1,e=>o.Guard.isElementNode(e)&&this._filter(e));while(null!=t){if(t._uniqueIdentifier===e)return t;if(t._namespace===r.namespace.HTML)for(let n=0;n<t._attributeList.length;n++){const r=t._attributeList[n];if("name"===r._localName&&null===r._namespace&&null===r._namespacePrefix&&r._value===e)return t}t=i.tree_getNextDescendantNode(this._root,t,!1,!1,e=>o.Guard.isElementNode(e)&&this._filter(e))}return null}[Symbol.iterator](){const e=this._root,t=this._filter;let n=i.tree_getFirstDescendantNode(e,!1,!1,e=>o.Guard.isElementNode(e)&&t(e));return{next(){if(null===n)return{done:!0,value:null};{const r={done:!1,value:n};return n=i.tree_getNextDescendantNode(e,n,!1,!1,e=>o.Guard.isElementNode(e)&&t(e)),r}}}}get(e,t,n){if(!s.isString(t)||-1!==a.reservedNames.indexOf(t))return Reflect.get(e,t,n);const r=Number(t);return isNaN(r)?e.namedItem(t)||void 0:e.item(r)||void 0}set(e,t,n,r){if(!s.isString(t)||-1!==a.reservedNames.indexOf(t))return Reflect.set(e,t,n,r);const o=Number(t),l=isNaN(o)?e.namedItem(t)||void 0:e.item(o)||void 0;return!(!l||!l._parent)&&(i.mutation_replace(l,n,l._parent),!0)}static _create(e,t=(()=>!0)){return new a(e,t)}}t.HTMLCollectionImpl=a,a.reservedNames=["_root","_live","_filter","length","item","namedItem","get","set"]},"5fbd":function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t}))},6:function(e,t){},"605c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e){this.level=0,this._builderOptions=e,this._writerOptions=e}}t.BaseCBWriter=r},6062:function(e,t,n){"use strict";n("1c59")},6117:function(e,t,n){(function(e,t){t(n("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,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<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,n){"use strict";function r(e,t){e.push(t)}function i(e){return e.shift()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.enqueue=r,t.dequeue=i},6150:function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},6189:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},6242:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"data-info"},[n("el-card",[n("el-form",{ref:"dataFormRef",attrs:{model:e.dataForm,rules:e.dataRule,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"名称 :"}},[n("el-input",{model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),n("el-form-item",{attrs:{label:"取值类型:"}},[n("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 n("el-option",{key:e.value,attrs:{label:e.name,value:e.value}})})),1)],1),1==e.dataForm.value_type?n("el-form-item",{attrs:{label:"取值:"}},[n("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?n("el-form-item",{attrs:{label:"取值:"}},[n("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?n("el-form-item",{attrs:{label:"取值:",prop:"value"}},[n("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?n("el-form-item",{attrs:{label:"取值:",prop:"value"}},[n("el-input",{model:{value:e.dataForm.value,callback:function(t){e.$set(e.dataForm,"value",t)},expression:"dataForm.value"}},[n("template",{slot:"append"},[e._v("%")])],2)],1):e._e(),5==e.dataForm.value_type?n("el-form-item",{attrs:{label:"取值:",prop:"value"}},[n("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?n("el-form-item",{attrs:{label:"取值范围:"}},[n("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(),n("el-form-item",{attrs:{label:"介绍:"}},[n("el-input",{attrs:{type:"textarea"},model:{value:e.dataForm.intro,callback:function(t){e.$set(e.dataForm,"intro",t)},expression:"dataForm.intro"}})],1),n("el-form-item",{attrs:{label:"状态:"}},[n("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 n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),n("div",{staticStyle:{"text-align":"right","margin-top":"20px"}},[n("el-button",{attrs:{type:"warning"},on:{click:e.btnSave}},[e._v("确认保存")])],1)],1)},i=[],o=(n("d9e2"),n("a15b"),n("14d9"),n("b0c0"),n("a9e3"),n("b680"),n("ac1f"),n("00b4"),n("498a"),n("3e3e")),s=(n("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,n,r){if(5==e.dataForm.value_type){var i=/^\d+$/;i.test(n)?r():r(new Error("请输入整数"))}else if(4==e.dataForm.value_type){var o=/^(?:100|\d{1,2}(?:\.\d+)?)$/;o.test(n)?r():r(new Error("请输入有效的百分数(0-100%)"))}else if(3==e.dataForm.value_type){var s=/^\d+(\.\d+)?$/;s.test(n)?r():r(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 n=parseFloat(t.dataForm.value),r=n.toFixed(2)+"%";t.dataForm.value=r}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(o["e"])(t.dataForm).then((function(e){200==e.status&&(t.resetForm(),t.$alert("信息更新成功"),t.$emit("onClose"))})):Object(o["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,n={id:e};Object(o["c"])(n).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}}}),a=s,l=(n("89a9"),n("2877")),c=Object(l["a"])(a,r,i,!1,null,null,null);t["default"]=c.exports},6283:function(e,t,n){var r=n("3fb5"),i=n("41df").Reporter,o=n("b639").Buffer;function s(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof a||(e=new a(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=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(s,i),t.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(e){var t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new s(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=a,a.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"===typeof this.value?e[t]=this.value:"string"===typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},"62c9":function(e,t,n){var r=n("8707").Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev),o=i[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:o])]),o}t.encrypt=function(e,t,n){var o=t.length,s=r.allocUnsafe(o),a=-1;while(++a<o)s[a]=i(e,t[a],n);return s}},"62cf":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return null!=e.com?n("div",{staticClass:"editor-attribute"},[n("el-form",[e._l(e.filteredAttrs,(function(t,r){return["TextArea"==e.com.type?[e.isTextAreaType(t.type)?[n("el-form-item",{attrs:{label:t.id+":"}},[n("span",{staticStyle:{cursor:"pointer"},on:{click:function(n){return e.toggleBackground(t.id)}}},[e._v(e._s(t.content))])])]:e._e(),"formual"==t.type?[n("el-form-item",{attrs:{label:t.id+":"}},[n("span",{staticStyle:{cursor:"pointer"},on:{click:function(n){return e.toggleBackground(t.id)}}},[e._v(e._s(t.formula))])])]:e._e(),"sourceData"==t.type?[n("el-form-item",{attrs:{label:t.id+":"}},[e._v(" "+e._s(e.formatSourceData(t.id,t.formula))+" ")])]:e._e()]:e._e()]}))],2),n("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}}},[n("headerSetting",{attrs:{headerItemName:e.headerItemName},on:{onSetHeader:e.onSetHeader}})],1)],1):e._e()},i=[],o=n("2909"),s=n("b85c"),a=n("c7eb"),l=n("5530"),c=n("1da1"),u=(n("99af"),n("4de4"),n("caad"),n("d81d"),n("14d9"),n("a434"),n("b0c0"),n("e9c4"),n("b64b"),n("d3b7"),n("ac1f"),n("2532"),n("466d"),n("498a"),n("0643"),n("2382"),n("a573"),n("3721")),d=n("a888"),h=n("c621"),p=(n("1c4c"),n("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(n){n.name==e.name&&(n.content=t)}))},isTextAreaType:function(e){return!["pager","constant","attr","formual","sourceData","Directory"].includes(e)},extractTemplates:function(e){var t,n=/\{\{(.*?)\}\}/g,r=[];while(null!==(t=n.exec(e)))r.push(t[1].trim());return r},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 n=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,r=t.match(n),i=r[4].split(",");return"".concat(e,"=").concat(r[2],".").concat(r[3],".").concat(String.fromCharCode(65+parseInt(i[1]))).concat(parseInt(i[0])+1)},onSaveTemplate:function(e){var t=this;return Object(c["a"])(Object(a["a"])().mark((function n(){var r,i,o;return Object(a["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=Object(l["a"])(Object(l["a"])({},e),{},{attrs:JSON.stringify(e.attrs),status:5}),delete r.category,void 0!==r.id&&!t.saveAs){n.next=9;break}return n.next=5,Object(h["a"])(r);case 5:i=n.sent,200===i.status&&(r.id=i.data,t.com.id=i.data,t.$alert("模板信息保存成功"),t.$emit("onRefresh"),t.saveAs=!1),n.next=13;break;case 9:return n.next=11,Object(h["l"])(r);case 11:o=n.sent,200===o.status&&(t.$alert("模板信息更新成功"),t.$emit("onRefresh"));case 13:case"end":return n.stop()}}),n)})))()},initCategoryList:function(){var e=this;return Object(c["a"])(Object(a["a"])().mark((function t(){var n,r,i,o;return Object(a["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(n=t.sent,200!==n.status){t.next=23;break}e.categoryList=n.data.dataList||[],r=Object(s["a"])(e.categoryList),t.prev=6,r.s();case 8:if((i=r.n()).done){t.next=15;break}return o=i.value,t.next=12,e.getTemplateList(o.id);case 12:o.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),r.e(t.t0);case 20:return t.prev=20,r.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(a["a"])().mark((function t(){var n;return Object(a["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(n=t.sent,200!==n.status){t.next=5;break}return t.abrupt("return",n.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,n){this.currentIndex=e,this.componentIndex=t,this.activeHeaderIndex=n,this.headerItemName=this.components[e].components[t].attrs.tableHeader[n],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(o["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,n){this.components[e].components[t].attrs.tableHeader.splice(n,1),this.$emit("onSetComponents",Object(o["a"])(this.components))},onSetActiveIndex:function(e){this.activeHeaderIndex=e===this.activeHeaderIndex?-1:e}}}),f=p,m=(n("a2ff"),n("2877")),A=Object(m["a"])(f,r,i,!1,null,null,null);t["default"]=A.exports},6306:function(e,t,n){var r=n("64b5");function i(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("0fc1"),o=n("a45a"),s=n("9688");class a{constructor(e,t){this._element=e,this._attribute=t,this._tokenSet=new Set;const n=t._localName,i=s.element_getAnAttributeValue(e,n),o=this;function a(e,t,n,r,i){t===o._attribute._localName&&null===i&&(r?o._tokenSet=s.orderedSet_parse(r):o._tokenSet.clear())}this._element._attributeChangeSteps.push(a),r.dom.features.steps&&s.dom_runAttributeChangeSteps(e,n,i,i,null)}get length(){return this._tokenSet.size}item(e){let t=0;for(const n of this._tokenSet){if(t===e)return n;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(o.codePoint.ASCIIWhiteSpace.test(t))throw new i.InvalidCharacterError("Token cannot contain whitespace.");this._tokenSet.add(t)}s.tokenList_updateSteps(this)}remove(...e){for(const t of e){if(""===t)throw new i.SyntaxError("Cannot remove an empty token.");if(o.codePoint.ASCIIWhiteSpace.test(t))throw new i.InvalidCharacterError("Token cannot contain whitespace.");this._tokenSet.delete(t)}s.tokenList_updateSteps(this)}toggle(e,t){if(""===e)throw new i.SyntaxError("Cannot toggle an empty token.");if(o.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),s.tokenList_updateSteps(this),!1):(void 0===t||!0===t)&&(this._tokenSet.add(e),s.tokenList_updateSteps(this),!0)}replace(e,t){if(""===e||""===t)throw new i.SyntaxError("Cannot replace an empty token.");if(o.codePoint.ASCIIWhiteSpace.test(e)||o.codePoint.ASCIIWhiteSpace.test(t))throw new i.InvalidCharacterError("Token cannot contain whitespace.");return!!this._tokenSet.has(e)&&(o.set.replace(this._tokenSet,e,t),s.tokenList_updateSteps(this),!0)}supports(e){return s.tokenList_validationSteps(this,e)}get value(){return s.tokenList_serializeSteps(this)}set value(e){s.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 a(e,t)}}t.DOMTokenListImpl=a},"63d8":function(e,t,n){"use strict";n.r(t),n.d(t,"setBrowserMeta",(function(){return l})),n.d(t,"setPlatformMeta",(function(){return c})),n.d(t,"isChrome",(function(){return u})),n.d(t,"isChromeWebKit",(function(){return d})),n.d(t,"isFirefox",(function(){return h})),n.d(t,"isFirefoxWebKit",(function(){return p})),n.d(t,"isSafari",(function(){return f})),n.d(t,"isEdge",(function(){return m})),n.d(t,"isEdgeWebKit",(function(){return A})),n.d(t,"isMobileBrowser",(function(){return g})),n.d(t,"isIOS",(function(){return _})),n.d(t,"isIpadOS",(function(){return b})),n.d(t,"isWindowsOS",(function(){return v})),n.d(t,"isMacOS",(function(){return w})),n.d(t,"isLinuxOS",(function(){return y}));var r=n("351d"),i=n("7dd0");const o=e=>{const t={value:!1,test:(n,r)=>{t.value=e(n,r)}};return t},s={chrome:o((e,t)=>/Chrome/.test(e)&&/Google/.test(t)),chromeWebKit:o(e=>/CriOS/.test(e)),edge:o(e=>/Edge/.test(e)),edgeWebKit:o(e=>/EdgiOS/.test(e)),firefox:o(e=>/Firefox/.test(e)),firefoxWebKit:o(e=>/FxiOS/.test(e)),mobile:o(e=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)),safari:o((e,t)=>/Safari/.test(e)&&/Apple Computer/.test(t))},a={mac:o(e=>/^Mac/.test(e)),win:o(e=>/^Win/.test(e)),linux:o(e=>/^Linux/.test(e)),ios:o(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(r["objectEach"])(s,n=>{let{test:r}=n;r(e,t)})}function c(){let{platform:e=navigator.platform}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r["objectEach"])(a,t=>{let{test:n}=t;n(e)})}function u(){return s.chrome.value}function d(){return s.chromeWebKit.value}function h(){return s.firefox.value}function p(){return s.firefoxWebKit.value}function f(){return s.safari.value}function m(){return s.edge.value}function A(){return s.edgeWebKit.value}function g(){return s.mobile.value}function _(){return a.ios.value}function b(){let{maxTouchPoints:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator;return e>2&&a.mac.value}function v(){return a.win.value}function w(){return a.mac.value}function y(){return a.linux.value}Object(i["isCSR"])()&&(l(),c())},6403:function(e,t,n){(function(e,t){t(n("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,n){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,n){var r=n("8707").Buffer,i=n("d485").Transform,o=n("7d72").StringDecoder,s=n("3fb5");function a(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}s(a,i),a.prototype.update=function(e,t,n){"string"===typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){r=i}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(n){t=n}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=a},6442:function(e,t,n){t.publicEncrypt=n("ad25"),t.privateDecrypt=n("0f2c"),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},"64b0":function(e,t,n){"use strict";var r=n("71c9"),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"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,n){"use strict";var r=n("7c73"),i=n("edd0"),o=n("6964"),s=n("0366"),a=n("19aa"),l=n("7234"),c=n("2266"),u=n("c6d2"),d=n("4754"),h=n("2626"),p=n("83ab"),f=n("f183").fastKey,m=n("69f3"),A=m.set,g=m.getterFor;e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,i){a(e,h),A(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),p||(e.size=0),l(i)||c(i,e[u],{that:e,AS_ENTRIES:n})})),h=d.prototype,m=g(t),_=function(e,t,n){var r,i,o=m(e),s=b(e,t);return s?s.value=n:(o.last=s={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),p?o.size++:e.size++,"F"!==i&&(o.index[i]=s)),e},b=function(e,t){var n,r=m(e),i=f(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===t)return n};return o(h,{clear:function(){var e=this,t=m(e),n=t.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;t.first=t.last=void 0,t.index=r(null),p?t.size=0:e.size=0},delete:function(e){var t=this,n=m(t),r=b(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===r&&(n.first=i),n.last===r&&(n.last=o),p?n.size--:t.size--}return!!r},forEach:function(e){var t,n=m(this),r=s(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),o(h,n?{get:function(e){var t=b(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,n){var r=t+" Iterator",i=g(t),o=g(r);u(e,t,(function(e,t){A(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=o(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=void 0,d(void 0,!0))}),n?"entries":"values",!n,!0),h(t)}}},"65db":function(e,t,n){(function(e,t){t(n("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,n){return e>11?n?"p.t.m.":"P.T.M.":n?"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}))},6727:function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n("44e8").EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.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,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.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 n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?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,n){},"676f":function(e,t,n){"use strict";var r=n("80af"),i=n("3fb5"),o=n("ea53"),s=n("f3a3");function a(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,o),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t),i=r.redSqrt();return 0===i.redSqr().cmp(r)},i(l,o.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},a.prototype.point=function(e,t){return new l(this,e,t)},a.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(),n=this.x.redSub(this.z),r=n.redSqr(),i=t.redSub(r),o=t.redMul(r),s=i.redMul(r.redAdd(this.curve.a24.redMul(i)));return this.curve.point(o,s)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z),s=o.redMul(n),a=i.redMul(r),l=t.z.redMul(s.redAdd(a).redSqr()),c=t.x.redMul(s.redISub(a).redSqr());return this.curve.point(l,c)},l.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=this,o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var s=o.length-1;s>=0;s--)0===o[s]?(n=n.diffAdd(r,i),r=r.dbl()):(r=n.diffAdd(r,i),n=n.dbl());return r},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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  141. //! moment.js locale configuration
  142. var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],r=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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,n){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 r}))},"67a8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("81ea");function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];const o=Object(r["arrayReduce"])(e,(e,t,r)=>{const i=t.replace(/\r?\n\s*/g,""),o=n[r]?n[r]:"";return e+i+o},"");return o.trim()}},"67d9":function(e,t,n){"use strict";e.exports=URIError},"67ee":function(e,t,n){"use strict";e.exports=SyntaxError},6853:function(e,t,n){"use strict";var r=n("be7f"),i=15,o=852,s=592,a=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,n,f,m,A,g,_){var b,v,w,y,R,M,S,E,T,C=_.bits,O=0,x=0,N=0,L=0,I=0,P=0,D=0,F=0,k=0,B=0,U=null,H=0,j=new r.Buf16(i+1),V=new r.Buf16(i+1),W=null,Y=0;for(O=0;O<=i;O++)j[O]=0;for(x=0;x<f;x++)j[t[n+x]]++;for(I=C,L=i;L>=1;L--)if(0!==j[L])break;if(I>L&&(I=L),0===L)return m[A++]=20971520,m[A++]=20971520,_.bits=1,0;for(N=1;N<L;N++)if(0!==j[N])break;for(I<N&&(I=N),F=1,O=1;O<=i;O++)if(F<<=1,F-=j[O],F<0)return-1;if(F>0&&(e===a||1!==L))return-1;for(V[1]=0,O=1;O<i;O++)V[O+1]=V[O]+j[O];for(x=0;x<f;x++)0!==t[n+x]&&(g[V[t[n+x]]++]=x);if(e===a?(U=W=g,M=19):e===l?(U=u,H-=257,W=d,Y-=257,M=256):(U=h,W=p,M=-1),B=0,x=0,O=N,R=A,P=I,D=0,w=-1,k=1<<I,y=k-1,e===l&&k>o||e===c&&k>s)return 1;for(;;){S=O-D,g[x]<M?(E=0,T=g[x]):g[x]>M?(E=W[Y+g[x]],T=U[H+g[x]]):(E=96,T=0),b=1<<O-D,v=1<<P,N=v;do{v-=b,m[R+(B>>D)+v]=S<<24|E<<16|T|0}while(0!==v);b=1<<O-1;while(B&b)b>>=1;if(0!==b?(B&=b-1,B+=b):B=0,x++,0===--j[O]){if(O===L)break;O=t[n+g[x]]}if(O>I&&(B&y)!==w){0===D&&(D=I),R+=N,P=O-D,F=1<<P;while(P+D<L){if(F-=j[P+D],F<=0)break;P++,F<<=1}if(k+=1<<P,e===l&&k>o||e===c&&k>s)return 1;w=B&y,m[w]=I<<24|P<<16|R-A|0}}return 0!==B&&(m[R+B]=O-D<<24|64<<16|0),_.bits=I,0}},6887:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  143. //! moment.js locale configuration
  144. function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?o(e):e}function o(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 s=[/^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],a=/^(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:a,monthsShortRegex:a,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,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:n},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,n){return e<12?"a.m.":"g.m."}});return p}))},"688b":function(e,t,n){(function(e,t){t(n("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,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,o=Math.max,s="[object Function]",a=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},l=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var t=this;if("function"!==typeof t||i.apply(t)!==s)throw new TypeError(r+t);for(var n,u=l(arguments,1),d=function(){if(this instanceof n){var r=t.apply(this,a(u,arguments));return Object(r)===r?r:this}return t.apply(e,a(u,arguments))},h=o(0,t.length-u.length),p=[],f=0;f<h;f++)p[f]="$"+f;if(n=Function("binder","return function ("+c(p,",")+"){ return binder.apply(this,arguments); }")(d),t.prototype){var m=function(){};m.prototype=t.prototype,n.prototype=new m,m.prototype=null}return n}},"68b1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("5230"),i=n("ff74"),o=n("f05c"),s=n("42e9"),a=n("9af8"),l=n("9688"),c=n("a023"),u=n("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),r.DefaultBuilderOptions),this}ele(e,t,n){let r,o,s,a=null;if(i.isString(e)&&/^\s*</.test(e)){const t="<TEMP_ROOT>"+e+"</TEMP_ROOT>",n=c.createParser(),r=n.parseFromString(c.sanitizeInput(t,this._options.invalidCharReplacement),"text/xml");if(null===r.documentElement)throw new Error("Document element is null.");c.throwIfParserError(r);for(const e of r.documentElement.childNodes){const t=r.importNode(e,!0);a=new d(t),this._domNode.appendChild(t)}if(null===a)throw new Error("Could not create any elements with: "+e.toString()+". "+this._debugInfo());return a}if(i.isString(e)&&/^\s*[\{\[]/.test(e)){const t=JSON.parse(e);return this.ele(t)}if(i.isObject(e))[r,o,s]=[void 0,e,void 0];else if((null===e||i.isString(e))&&i.isString(t))[r,o,s]=[e,t,n];else{if(null===e)throw new Error("Element name cannot be null. "+this._debugInfo());[r,o,s]=[void 0,e,i.isObject(t)?t:void 0]}if(s&&(s=i.getValue(s)),i.isFunction(o))a=this.ele(o.apply(this));else if(i.isArray(o)||i.isSet(o))i.forEachArray(o,e=>a=this.ele(e),this);else if(i.isMap(o)||i.isObject(o))i.forEachObject(o,(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)?a=this._dummy():(i.isMap(t)||i.isObject(t))&&i.isEmpty(t)?a=this.ele(e):this._options.keepNullNodes||null!=t?i.isArray(t)||i.isSet(t)?i.forEachArray(t,t=>{const n={};n[e]=t,a=this.ele(n)},this):i.isMap(t)||i.isObject(t)?(a=this.ele(e),a.ele(t)):t?(a=this.ele(e),a.txt(t)):a=this.ele(e):a=this._dummy();else if(i.isString(t)){const e=t.indexOf(" "),n=-1===e?t:t.substr(0,e),r=-1===e?"":t.substr(e+1);a=this.ins(n,r)}else a=this.ins(t);else i.isArray(t)||i.isSet(t)?i.forEachArray(t,e=>a=this.com(e),this):a=this.com(t);else i.isArray(t)||i.isSet(t)?i.forEachArray(t,e=>a=this.dat(e),this):a=this.dat(t);else a=i.isMap(t)||i.isObject(t)?this.ele(t):this.txt(t);else a=e===this._options.convert.att?this.att(t):this.att(e.substr(this._options.convert.att.length),t)},this);else{if([r,o]=this._extractNamespace(c.sanitizeInput(r,this._options.invalidCharReplacement),c.sanitizeInput(o,this._options.invalidCharReplacement),!0),void 0===r){const[e]=l.namespace_extractQName(o);r=this.node.lookupNamespaceURI(e)}const e=void 0!==r&&null!==r?this._doc.createElementNS(r,o):this._doc.createElement(o);this.node.appendChild(e),a=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)}s&&!i.isEmpty(s)&&a.att(s)}if(null===a)throw new Error("Could not create any elements with: "+o.toString()+". "+this._debugInfo());return a}remove(){const e=this.up();return e.node.removeChild(this.node),e}att(e,t,n){if(i.isMap(e)||i.isObject(e))return i.forEachObject(e,(e,t)=>this.att(e,t),this),this;let r,o,s;if(void 0!==e&&null!==e&&(e=i.getValue(e+"")),void 0!==t&&null!==t&&(t=i.getValue(t+"")),void 0!==n&&null!==n&&(n=i.getValue(n+"")),null!==e&&!i.isString(e)||!i.isString(t)||null!==n&&!i.isString(n)){if(!i.isString(e)||null!=t&&!i.isString(t))throw new Error("Attribute name and value not specified. "+this._debugInfo());[r,o,s]=[void 0,e,t]}else[r,o,s]=[e,t,n];if(this._options.keepNullAttributes&&null==s)s="";else if(null==s)return this;if(!a.Guard.isElementNode(this.node))throw new Error("An attribute can only be assigned to an element node.");let d=this.node;[r,o]=this._extractNamespace(r,o,!1),o=c.sanitizeInput(o,this._options.invalidCharReplacement),r=c.sanitizeInput(r,this._options.invalidCharReplacement),s=c.sanitizeInput(s,this._options.invalidCharReplacement);const[h,p]=l.namespace_extractQName(o),[f,m]=l.namespace_extractQName(d.prefix?d.prefix+":"+d.localName:d.localName);let A=null;if("xmlns"===h?(r=u.namespace.XMLNS,null===d.namespaceURI&&f===p&&(A=s)):null===h&&"xmlns"===p&&null===f&&(r=u.namespace.XMLNS,A=s),null!==A){const e=l.create_element(this._doc,m,A,f);for(const n of d.attributes)e.setAttributeNodeNS(n.cloneNode());for(const n of d.childNodes)e.appendChild(n.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!==r?d.setAttributeNS(r,o,s):d.setAttribute(o,s),this}removeAtt(e,t){if(!a.Guard.isElementNode(this.node))throw new Error("An attribute can only be removed from an element node.");let n,r;if(e=i.getValue(e),void 0!==t&&(t=i.getValue(t)),null!==e&&void 0===t)r=e;else{if(null!==e&&!i.isString(e)||void 0===t)throw new Error("Attribute namespace must be a string. "+this._debugInfo());n=e,r=t}return i.isArray(r)||i.isSet(r)?i.forEachArray(r,e=>void 0===n?this.removeAtt(e):this.removeAtt(n,e),this):void 0!==n?(r=c.sanitizeInput(r,this._options.invalidCharReplacement),n=c.sanitizeInput(n,this._options.invalidCharReplacement),this.node.removeAttributeNS(n,r)):(r=c.sanitizeInput(r,this._options.invalidCharReplacement),this.node.removeAttribute(r)),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(" "),n=-1===t?e:e.substr(0,t),r=-1===t?"":e.substr(t+1);this.ins(n,r)},this);else if(i.isMap(e)||i.isObject(e))i.forEachObject(e,(e,t)=>this.ins(e,t),this);else{const n=this._doc.createProcessingInstruction(c.sanitizeInput(e,this._options.invalidCharReplacement),c.sanitizeInput(t,this._options.invalidCharReplacement));this.node.appendChild(n)}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),n=c.sanitizeInput(e&&e.pubID||"",this._options.invalidCharReplacement),r=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,n,r);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,n=this._doc,r=e.node;if(a.Guard.isDocumentNode(r)){const e=r.documentElement;if(null===e)throw new Error("Imported document has no document element node. "+this._debugInfo());const i=n.importNode(e,!0);t.appendChild(i)}else if(a.Guard.isDocumentFragmentNode(r))for(const i of r.childNodes){const e=n.importNode(i,!0);t.appendChild(e)}else{const e=n.importNode(r,!0);t.appendChild(e)}return this}doc(){if(this._doc._isFragment){let e=this.node;while(e&&e.nodeType!==s.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,n=!1,r){let i=this._getFirstDescendantNode(this._domNode,t,n);while(i[0])e.call(r,new d(i[0]),i[1],i[2]),i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2]);return this}map(e,t=!1,n=!1,r){let i=[];return this.each((t,n,o)=>i.push(e.call(r,t,n,o)),t,n),i}reduce(e,t,n=!1,r=!1,i){let o=t;return this.each((t,n,r)=>o=e.call(i,o,t,n,r),n,r),o}find(e,t=!1,n=!1,r){let i=this._getFirstDescendantNode(this._domNode,t,n);while(i[0]){const t=new d(i[0]);if(e.call(r,t,i[1],i[2]))return t;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}}filter(e,t=!1,n=!1,r){let i=[];return this.each((t,n,o)=>{e.call(r,t,n,o)&&i.push(t)},t,n),i}every(e,t=!1,n=!1,r){let i=this._getFirstDescendantNode(this._domNode,t,n);while(i[0]){const t=new d(i[0]);if(!e.call(r,t,i[1],i[2]))return!1;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}return!0}some(e,t=!1,n=!1,r){let i=this._getFirstDescendantNode(this._domNode,t,n);while(i[0]){const t=new d(i[0]);if(e.call(r,t,i[1],i[2]))return!0;i=this._getNextDescendantNode(this._domNode,i[0],n,i[1],i[2])}return!1}toArray(e=!1,t=!1){let n=[];return this.each(e=>n.push(e),e,t),n}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,n){return t?[this._domNode,0,0]:n?this._getNextDescendantNode(e,e,n,0,0):[this._domNode.firstChild,0,1]}_getNextDescendantNode(e,t,n,r,i){if(!n)return e===t?[t.firstChild,0,i+1]:[t.nextSibling,r+1,i];{if(t.firstChild)return[t.firstChild,0,i+1];if(t===e)return[null,-1,-1];if(t.nextSibling)return[t.nextSibling,r+1,i];let n=t.parentNode;while(n&&n!==e){if(n.nextSibling)return[n.nextSibling,l.tree_index(n.nextSibling),i-1];n=n.parentNode,i--}}return[null,-1,-1]}_serialize(e){if("xml"===e.format){const t=new o.XMLWriter(this._options);return t.serialize(this.node,e)}if("map"===e.format){const t=new o.MapWriter(this._options);return t.serialize(this.node,e)}if("object"===e.format){const t=new o.ObjectWriter(this._options);return t.serialize(this.node,e)}if("json"===e.format){const t=new o.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,n){const r=t.indexOf("@");if(r>0&&(void 0===e&&(e=t.slice(r+1)),t=t.slice(0,r)),void 0===e)e=n?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(a.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,n=t.parentNode;e=e||t.nodeName;const r=n?n.nodeName:"";return r?"node: <"+e+">, parent: <"+r+">":"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,n){"use strict";function r(e,t,n){Object.defineProperty(e,t,{writable:!1,enumerable:!0,configurable:!1,value:n})}Object.defineProperty(t,"__esModule",{value:!0}),t.idl_defineConst=r},"68df":function(e,t,n){"use strict";var r=n("dc19"),i=n("8e16"),o=n("384f"),s=n("7f65");e.exports=function(e){var t=r(this),n=s(e);return!(i(t)>n.size)&&!1!==o(t,(function(e){if(!n.includes(e))return!1}),!0)}},6906:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("d9e2");var r=n("97b9");const i=e=>`The id '${e}' is already declared in a map.`;function o(){let{errorIdExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Map;function n(n,r){if(u(n))throw new Error(e(n));t.set(n,r)}function o(e){return t.delete(e)}function s(){t.clear()}function a(e){const[t]=c().find(t=>{let[n,r]=t;return e===r&&n})||[null];return t}function l(e){return t.get(e)}function c(){return[...t]}function u(e){return t.has(e)}return e=Object(r["isFunction"])(e)?e:i,{addItem:n,clear:s,getId:a,getItem:l,getItems:c,hasItem:u,removeItem:o}}},6909:function(e,t,n){(function(e,t){t(n("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,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("c091");t.FixedSizeSet=r.FixedSizeSet;var i=n("fa31");t.ObjectCache=i.ObjectCache;var o=n("9a32");t.CompareCache=o.CompareCache;var s=n("e718");function a(e,t,...n){Object.getOwnPropertyNames(t.prototype).forEach(r=>{if(n.includes(r)){const t=Object.getOwnPropertyDescriptor(e.prototype,r);t&&Object.defineProperty(e.prototype,"_"+r,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,r);i&&Object.defineProperty(e.prototype,r,i)})}function l(e,t,n=!1){const r=m(e||{});return u(t,(e,t)=>{v(t)?r[e]=l(r[e],t):(n||void 0===r[e])&&(r[e]=t)}),r}function c(e,t,n){e.forEach(t,n)}function u(e,t,n){if(R(e))e.forEach((e,r)=>t.call(n,r,e));else for(const r in e)e.hasOwnProperty(r)&&t.call(n,r,e[r])}function d(e){return y(e)?e.size:e.length}function h(e){return R(e)?e.size:Object.keys(e).length}function p(e,t){return R(e)?e.get(t):e[t]}function f(e,t){R(e)?e.delete(t):delete e[t]}function m(e){if(b(e))return e;if(w(e)){const t=[];for(const n of e)t.push(m(n));return t}if(v(e)){const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=m(r)}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 b(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function v(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 R(e){return e instanceof Map}function M(e){if(w(e))return!e.length;if(y(e))return!e.size;if(R(e))return!e.size;if(v(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function S(e){if(v(e)){const t=Object.getPrototypeOf(e),n=t.constructor;return t&&n&&"function"===typeof n&&n instanceof n&&Function.prototype.toString.call(n)===Function.prototype.toString.call(Object)}return!1}function E(e){return e&&"function"===typeof e[Symbol.iterator]}function T(e){return b(e.valueOf)?e.valueOf():e}function C(e){const t=new Uint8Array(4*e.length);let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i<128)t[n++]=i;else{if(i<2048)t[n++]=i>>6|192;else{if(i>55295&&i<56320){if(++r>=e.length)throw new Error("Incomplete surrogate pair.");const o=e.charCodeAt(r);if(o<56320||o>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&o),t[n++]=i>>18|240,t[n++]=i>>12&63|128}else t[n++]=i>>12|224;t[n++]=i>>6&63|128}t[n++]=63&i|128}}return t.subarray(0,n)}function O(e){let t="",n=0;while(n<e.length){var r=e[n++];if(r>127)if(r>191&&r<224){if(n>=e.length)throw new Error("Incomplete 2-byte sequence.");r=(31&r)<<6|63&e[n++]}else if(r>223&&r<240){if(n+1>=e.length)throw new Error("Incomplete 3-byte sequence.");r=(15&r)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(r>239&&r<248))throw new Error("Unknown multi-byte start.");if(n+2>=e.length)throw new Error("Incomplete 4-byte sequence.");r=(7&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}if(r<=65535)t+=String.fromCharCode(r);else{if(!(r<=1114111))throw new Error("Code point exceeds UTF-16 limit.");r-=65536,t+=String.fromCharCode(r>>10|55296),t+=String.fromCharCode(1023&r|56320)}}return t}t.Lazy=s.Lazy,t.applyMixin=a,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=b,t.isObject=v,t.isArray=w,t.isSet=y,t.isMap=R,t.isEmpty=M,t.isPlainObject=S,t.isIterable=E,t.getValue=T,t.utf8Encode=C,t.utf8Decode=O},"69f2":function(e,t,n){t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};t.sha=n("087f"),t.sha1=n("7e78"),t.sha224=n("72aa"),t.sha256=n("a255"),t.sha384=n("b837"),t.sha512=n("4fd1")},"6aa2":function(e,t,n){"use strict";var r=n("7d92"),i=n("7658"),o=n("da3e");function s(e){if(!(this instanceof s))return new s(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"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=s,s.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);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(r),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},s.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())},s.prototype.reseed=function(e,t,n,r){"string"!==typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},s.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));var o=[];while(o.length<e)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var s=o.slice(0,e);return this._update(n),this._reseed++,i.encode(s,t)}},"6ade":function(e,t,n){var r=n("8c8a"),i=n("8707").Buffer,o=n("bd9d");function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}var a=16;t.encrypt=function(e,t){var n=Math.ceil(t.length/a),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(n*a)]);for(var l=0;l<n;l++){var c=s(e),u=o+l*a;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),r(t,d)}},"6b4c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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 n=Math.random()<.5;if(n?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 n}}t.CompareCache=r},"6b75e":function(e,t,n){"use strict";(function(e,r){var i=n("f654"),o=n("8936"),s=n("a177"),a=n("9e6e"),l=n("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?s.deflateEnd(this.strm):this.mode!==t.INFLATE&&this.mode!==t.GUNZIP&&this.mode!==t.INFLATERAW&&this.mode!==t.UNZIP||a.inflateEnd(this.strm),this.mode=t.NONE,this.dictionary=null)},h.prototype.write=function(e,t,n,r,i,o,s){return this._write(!0,e,t,n,r,i,o,s)},h.prototype.writeSync=function(e,t,n,r,i,o,s){return this._write(!1,e,t,n,r,i,o,s)},h.prototype._write=function(n,o,s,a,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===o,"must provide flush value"),this.write_in_progress=!0,o!==t.Z_NO_FLUSH&&o!==t.Z_PARTIAL_FLUSH&&o!==t.Z_SYNC_FLUSH&&o!==t.Z_FULL_FLUSH&&o!==t.Z_FINISH&&o!==t.Z_BLOCK)throw new Error("Invalid flush value");if(null==s&&(s=e.alloc(0),l=0,a=0),this.strm.avail_in=l,this.strm.input=s,this.strm.next_in=a,this.strm.avail_out=d,this.strm.output=c,this.strm.next_out=u,this.flush=o,!n)return this._process(),this._checkError()?this._afterSync():void 0;var h=this;return r.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=s.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=a.inflate(this.strm,this.flush),this.err===t.Z_NEED_DICT&&this.dictionary&&(this.err=a.inflateSetDictionary(this.strm,this.dictionary),this.err===t.Z_OK?this.err=a.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=a.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,n,r,o,s){i(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),i(e>=8&&e<=15,"invalid windowBits"),i(n>=-1&&n<=9,"invalid compression level"),i(r>=1&&r<=9,"invalid memlevel"),i(o===t.Z_FILTERED||o===t.Z_HUFFMAN_ONLY||o===t.Z_RLE||o===t.Z_FIXED||o===t.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(n,e,r,o,s),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,n,r,i,l){switch(this.level=e,this.windowBits=n,this.memLevel=r,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 o,this.mode){case t.DEFLATE:case t.GZIP:case t.DEFLATERAW:this.err=s.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=a.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=s.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=s.deflateReset(this.strm);break;case t.INFLATE:case t.INFLATERAW:case t.GUNZIP:this.err=a.inflateReset(this.strm);break;default:break}this.err!==t.Z_OK&&this._error("Failed to reset stream")},t.Zlib=h}).call(this,n("b639").Buffer,n("4362"))},"6cb8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("86da"),i=n("88a4"),o=n("a45a"),s=n("9688"),a=n("a32f");class l{parse(e){const t=new r.XMLStringLexer(e,{skipWhitespaceOnlyText:!0}),n=s.create_document();let l=n,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(!s.xml_isPubidChar(t.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!s.xml_isLegalChar(t.sysId)||-1!==t.sysId.indexOf('"')&&-1!==t.sysId.indexOf("'"))throw new Error("DocType system identifier contains invalid characters.");l.appendChild(n.implementation.createDocumentType(t.name,t.pubId,t.sysId));break;case i.TokenType.CDATA:const r=c;if(!s.xml_isLegalChar(r.data)||-1!==r.data.indexOf("]]>"))throw new Error("CDATA contains invalid characters.");l.appendChild(n.createCDATASection(r.data));break;case i.TokenType.Comment:const u=c;if(!s.xml_isLegalChar(u.data)||-1!==u.data.indexOf("--")||u.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");l.appendChild(n.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(!s.xml_isLegalChar(d.data)||-1!==d.data.indexOf("?>"))throw new Error("Processing instruction data contains invalid characters.");l.appendChild(n.createProcessingInstruction(d.target,d.data));break;case i.TokenType.Text:const h=c;if(!s.xml_isLegalChar(h.data))throw new Error("Text data contains invalid characters.");l.appendChild(n.createTextNode(h.data));break;case i.TokenType.Element:const p=c,[f,m]=s.namespace_extractQName(p.name);if(-1!==m.indexOf(":")||!s.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[n,i]of p.attributes)if("xmlns"===n)A=i;else{const[e,t]=s.namespace_extractQName(n);"xmlns"===e&&(t===f&&(A=i),g[t]=i)}const _=null!==A?n.createElementNS(A,p.name):n.createElement(p.name);l.appendChild(_);const b=new a.LocalNameSet;for(const[n,i]of p.attributes){const[e,t]=s.namespace_extractQName(n);let r=null;if("xmlns"===e||null===e&&"xmlns"===t?r=o.namespace.XMLNS:(r=_.lookupNamespaceURI(e),null!==r&&_.isDefaultNamespace(r)?r=null:null===r&&null!==e&&(r=g[e]||null)),b.has(r,t))throw new Error("Element contains duplicate attributes.");if(b.set(r,t),r===o.namespace.XMLNS&&i===o.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(-1!==t.indexOf(":")||!s.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!==r?_.setAttributeNS(r,n,i):_.setAttribute(n,i)}p.selfClosing||(l=_);break;case i.TokenType.ClosingTag:const v=c;if(v.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 n}}t.XMLParserImpl=l},"6ce3":function(e,t,n){(function(e,t){t(n("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,n){(function(e,t){t(n("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:"-ші"},n=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 n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("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,n){(function(e,t){t(n("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,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("aa56"),s=n("da3e"),a=r.sum32,l=r.sum32_4,c=r.sum32_5,u=o.ch32,d=o.maj32,h=o.s0_256,p=o.s1_256,f=o.g0_256,m=o.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)}r.inherits(_,A),e.exports=_,_.blockSize=512,_.outSize=256,_.hmacStrength=192,_.padLength=64,_.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=l(m(n[r-2]),n[r-7],f(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],A=this.h[2],g=this.h[3],_=this.h[4],b=this.h[5],v=this.h[6],w=this.h[7];for(s(this.k.length===n.length),r=0;r<n.length;r++){var y=c(w,p(_),u(_,b,v),this.k[r],n[r]),R=a(h(i),d(i,o,A));w=v,v=b,b=_,_=a(g,y),g=A,A=o,o=i,i=a(y,R)}this.h[0]=a(this.h[0],i),this.h[1]=a(this.h[1],o),this.h[2]=a(this.h[2],A),this.h[3]=a(this.h[3],g),this.h[4]=a(this.h[4],_),this.h[5]=a(this.h[5],b),this.h[6]=a(this.h[6],v),this.h[7]=a(this.h[7],w)},_.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},"6f12":function(e,t,n){(function(e,t){t(n("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,n){"use strict";var r=n("6d61"),i=n("6566");r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"6f50":function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"6faa":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("5295");t.XMLSerializer=r.XMLSerializerImpl},"6fe7":function(e,t,n){"use strict";var r=n("8707").Buffer,i=n("1a2a"),o=n("a958"),s=n("3337").ec,a=n("399f"),l=n("2aee"),c=n("cd91"),u=1;function d(e,t,n,i,s){var a=l(t);if(a.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return h(e,a)}if("dsa"===a.type){if("dsa"!==i)throw new Error("wrong private key type");return p(e,a,n)}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=r.concat([s,e]);var c=a.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=o(d,a);return m}function h(e,t){var n=c[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new s(n),o=i.keyFromPrivate(t.privateKey),a=o.sign(e);return r.from(a.toDER())}function p(e,t,n){var r,i=t.params.priv_key,o=t.params.p,s=t.params.q,l=t.params.g,c=new a(0),u=A(e,s).mod(s),d=!1,h=m(i,s,e,n);while(!1===d)r=_(s,h,n),c=b(l,r,o,s),d=r.invm(s).imul(u.add(i.mul(c))).mod(s),0===d.cmpn(0)&&(d=!1,c=new a(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 n=e.length+t.length+4,i=[48,n,2,e.length];return i=i.concat(e,[2,t.length],t),r.from(i)}function m(e,t,n,o){if(e=r.from(e.toArray()),e.length<t.byteLength()){var s=r.alloc(t.byteLength()-e.length);e=r.concat([s,e])}var a=n.length,l=g(n,t),c=r.alloc(a);c.fill(1);var u=r.alloc(a);return u=i(o,u).update(c).update(r.from([0])).update(e).update(l).digest(),c=i(o,u).update(c).digest(),u=i(o,u).update(c).update(r.from([1])).update(e).update(l).digest(),c=i(o,u).update(c).digest(),{k:u,v:c}}function A(e,t){var n=new a(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function g(e,t){e=A(e,t),e=e.mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}function _(e,t,n){var o,s;do{o=r.alloc(0);while(8*o.length<e.bitLength())t.v=i(n,t.k).update(t.v).digest(),o=r.concat([o,t.v]);s=A(o,e),t.k=i(n,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(n,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}function b(e,t,n,r){return e.toRed(a.mont(n)).redPow(t).fromRed().mod(r)}e.exports=d,e.exports.getKey=m,e.exports.makeKey=_},7:function(e,t){},7037:function(e,t,n){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}n("a4d3"),n("e01a"),n("d28b"),n("d3b7"),n("3ca3"),n("ddb0"),e.exports=r,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,n){(function(e,t){t(n("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("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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 r}))},"71c9":function(e,t,n){"use strict";var r=n("00ce"),i=r("%Object.defineProperty%",!0)||!1;if(i)try{i({},"a",{value:1})}catch(o){i=!1}e.exports=i},"72aa":function(e,t,n){var r=n("3fb5"),i=n("a255"),o=n("b672"),s=n("8707").Buffer,a=new Array(64);function l(){this.init(),this._w=a,o.call(this,64,56)}r(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=s.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,n){"use strict";n.d(t,"b",(function(){return z})),n.d(t,"a",(function(){return q}));var r=Uint8Array,i=Uint16Array,o=Int32Array,s=new r([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]),a=new r([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 r([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 n=new i(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var s=new o(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)s[a]=a-n[r]<<5|r;return{b:n,r:s}},u=c(s,2),d=u.b,h=u.r;d[28]=258,h[258]=28;for(var p=c(a,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 b=function(e,t,n){for(var r=e.length,o=0,s=new i(t);o<r;++o)e[o]&&++s[e[o]-1];var a,l=new i(t);for(o=1;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;if(n){a=new i(1<<t);var c=15-t;for(o=0;o<r;++o)if(e[o])for(var u=o<<4|e[o],d=t-e[o],h=l[e[o]-1]++<<d,p=h|(1<<d)-1;h<=p;++h)a[A[h]>>c]=u}else for(a=new i(r),o=0;o<r;++o)e[o]&&(a[o]=A[l[e[o]-1]++]>>15-e[o]);return a},v=new r(288);for(g=0;g<144;++g)v[g]=8;for(g=144;g<256;++g)v[g]=9;for(g=256;g<280;++g)v[g]=7;for(g=280;g<288;++g)v[g]=8;var w=new r(32);for(g=0;g<32;++g)w[g]=5;var y=b(v,9,0),R=b(v,9,1),M=b(w,5,0),S=b(w,5,1),E=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},T=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},C=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},O=function(e){return(e+7)/8|0},x=function(e,t,n){return(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length),new r(e.subarray(t,n))},N=["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,n){var r=new Error(t||N[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,L),!n)throw r;return r},I=function(e,t,n,i){var o=e.length,c=i?i.length:0;if(!o||t.f&&!t.l)return n||new r(0);var u=!n,h=u||2!=t.i,p=t.i;u&&(n=new r(3*o));var m=function(e){var t=n.length;if(e>t){var i=new r(Math.max(2*t,e));i.set(n),n=i}},A=t.f||0,g=t.p||0,_=t.b||0,v=t.l,w=t.d,y=t.m,M=t.n,N=8*o;do{if(!v){A=T(e,g,1);var I=T(e,g+1,3);if(g+=3,!I){var P=O(g)+4,D=e[P-4]|e[P-3]<<8,F=P+D;if(F>o){p&&L(0);break}h&&m(_+D),n.set(e.subarray(P,F),_),t.b=_+=D,t.p=g=8*F,t.f=A;continue}if(1==I)v=R,w=S,y=9,M=5;else if(2==I){var k=T(e,g,31)+257,B=T(e,g+10,15)+4,U=k+T(e,g+5,31)+1;g+=14;for(var H=new r(U),j=new r(19),V=0;V<B;++V)j[l[V]]=T(e,g+3*V,7);g+=3*B;var W=E(j),Y=(1<<W)-1,Q=b(j,W,1);for(V=0;V<U;){var X=Q[T(e,g,Y)];g+=15&X;P=X>>4;if(P<16)H[V++]=P;else{var K=0,G=0;16==P?(G=3+T(e,g,3),g+=2,K=H[V-1]):17==P?(G=3+T(e,g,7),g+=3):18==P&&(G=11+T(e,g,127),g+=7);while(G--)H[V++]=K}}var Z=H.subarray(0,k),z=H.subarray(k);y=E(Z),M=E(z),v=b(Z,y,1),w=b(z,M,1)}else L(1);if(g>N){p&&L(0);break}}h&&m(_+131072);for(var q=(1<<y)-1,J=(1<<M)-1,$=g;;$=g){K=v[C(e,g)&q];var ee=K>>4;if(g+=15&K,g>N){p&&L(0);break}if(K||L(2),ee<256)n[_++]=ee;else{if(256==ee){$=g,v=null;break}var te=ee-254;if(ee>264){V=ee-257;var ne=s[V];te=T(e,g,(1<<ne)-1)+d[V],g+=ne}var re=w[C(e,g)&J],ie=re>>4;re||L(3),g+=15&re;z=f[ie];if(ie>3){ne=a[ie];z+=C(e,g)&(1<<ne)-1,g+=ne}if(g>N){p&&L(0);break}h&&m(_+131072);var oe=_+te;if(_<z){var se=c-z,ae=Math.min(z,oe);for(se+_<0&&L(3);_<ae;++_)n[_]=i[se+_]}for(;_<oe;++_)n[_]=n[_-z]}}t.l=v,t.p=$,t.b=_,t.f=A,v&&(A=1,t.m=y,t.d=w,t.n=M)}while(!A);return _!=n.length&&u?x(n,0,_):n.subarray(0,_)},P=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},D=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},F=function(e,t){for(var n=[],o=0;o<e.length;++o)e[o]&&n.push({s:o,f:e[o]});var s=n.length,a=n.slice();if(!s)return{t:W,l:0};if(1==s){var l=new r(n[0].s+1);return l[n[0].s]=1,{t:l,l:1}}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var c=n[0],u=n[1],d=0,h=1,p=2;n[0]={s:-1,f:c.f+u.f,l:c,r:u};while(h!=s-1)c=n[n[d].f<n[p].f?d++:p++],u=n[d!=h&&n[d].f<n[p].f?d++:p++],n[h++]={s:-1,f:c.f+u.f,l:c,r:u};var f=a[0].s;for(o=1;o<s;++o)a[o].s>f&&(f=a[o].s);var m=new i(f+1),A=k(n[h-1],m,0);if(A>t){o=0;var g=0,_=A-t,b=1<<_;for(a.sort((function(e,t){return m[t.s]-m[e.s]||e.f-t.f}));o<s;++o){var v=a[o].s;if(!(m[v]>t))break;g+=b-(1<<A-m[v]),m[v]=t}g>>=_;while(g>0){var w=a[o].s;m[w]<t?g-=1<<t-m[w]++-1:++o}for(;o>=0&&g;--o){var y=a[o].s;m[y]==t&&(--m[y],++g)}A=t}return{t:new r(m),l:A}},k=function(e,t,n){return-1==e.s?Math.max(k(e.l,t,n+1),k(e.r,t,n+1)):t[e.s]=n},B=function(e){var t=e.length;while(t&&!e[--t]);for(var n=new i(++t),r=0,o=e[0],s=1,a=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==o&&l!=t)++s;else{if(!o&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(o),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}while(s--)a(o);s=1,o=e[l]}return{c:n.subarray(0,r),n:t}},U=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},H=function(e,t,n){var r=n.length,i=O(t+2);e[i]=255&r,e[i+1]=r>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<r;++o)e[i+o+4]=n[o];return 8*(i+4+r)},j=function(e,t,n,r,o,c,u,d,h,p,f){P(t,f++,n),++o[256];for(var m=F(o,15),A=m.t,g=m.l,_=F(c,15),R=_.t,S=_.l,E=B(A),T=E.c,C=E.n,O=B(R),x=O.c,N=O.n,L=new i(19),I=0;I<T.length;++I)++L[31&T[I]];for(I=0;I<x.length;++I)++L[31&x[I]];for(var k=F(L,7),j=k.t,V=k.l,W=19;W>4&&!j[l[W-1]];--W);var Y,Q,X,K,G=p+5<<3,Z=U(o,v)+U(c,w)+u,z=U(o,A)+U(c,R)+u+14+3*W+U(L,j)+2*L[16]+3*L[17]+7*L[18];if(h>=0&&G<=Z&&G<=z)return H(t,f,e.subarray(h,h+p));if(P(t,f,1+(z<Z)),f+=2,z<Z){Y=b(A,g,0),Q=A,X=b(R,S,0),K=R;var q=b(j,V,0);P(t,f,C-257),P(t,f+5,N-1),P(t,f+10,W-4),f+=14;for(I=0;I<W;++I)P(t,f+3*I,j[l[I]]);f+=3*W;for(var J=[T,x],$=0;$<2;++$){var ee=J[$];for(I=0;I<ee.length;++I){var te=31&ee[I];P(t,f,q[te]),f+=j[te],te>15&&(P(t,f,ee[I]>>5&127),f+=ee[I]>>12)}}}else Y=y,Q=v,X=M,K=w;for(I=0;I<d;++I){var ne=r[I];if(ne>255){te=ne>>18&31;D(t,f,Y[te+257]),f+=Q[te+257],te>7&&(P(t,f,ne>>23&31),f+=s[te]);var re=31&ne;D(t,f,X[re]),f+=K[re],re>3&&(D(t,f,ne>>5&8191),f+=a[re])}else D(t,f,Y[ne]),f+=Q[ne]}return D(t,f,Y[256]),f+Q[256]},V=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),W=new r(0),Y=function(e,t,n,l,c,u){var d=u.z||e.length,p=new r(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],b=_>>13,v=8191&_,w=(1<<n)-1,y=u.p||new i(32768),R=u.h||new i(w+1),M=Math.ceil(n/3),S=2*M,E=function(t){return(e[t]^e[t+1]<<M^e[t+2]<<S)&w},T=new o(25e3),C=new i(288),N=new i(32),L=0,I=0,P=u.i||0,D=0,F=u.w||0,k=0;P+2<d;++P){var B=E(P),U=32767&P,W=R[B];if(y[U]=W,R[B]=U,F<=P){var Y=d-P;if((L>7e3||D>24576)&&(Y>423||!A)){g=j(e,f,0,T,C,N,I,D,k,P-k,g),D=L=I=0,k=P;for(var Q=0;Q<286;++Q)C[Q]=0;for(Q=0;Q<30;++Q)N[Q]=0}var X=2,K=0,G=v,Z=U-W&32767;if(Y>2&&B==E(P-Z)){var z=Math.min(b,Y)-1,q=Math.min(32767,P),J=Math.min(258,Y);while(Z<=q&&--G&&U!=W){if(e[P+X]==e[P+X-Z]){for(var $=0;$<J&&e[P+$]==e[P+$-Z];++$);if($>X){if(X=$,K=Z,$>z)break;var ee=Math.min(Z,$-2),te=0;for(Q=0;Q<ee;++Q){var ne=P-Z+Q&32767,re=y[ne],ie=ne-re&32767;ie>te&&(te=ie,W=ne)}}}U=W,W=y[U],Z+=U-W&32767}}if(K){T[D++]=268435456|h[X]<<18|m[K];var oe=31&h[X],se=31&m[K];I+=s[oe]+a[se],++C[257+oe],++N[se],F=P+X,++L}else T[D++]=e[P],++C[e[P]]}}for(P=Math.max(P,F);P<d;++P)T[D++]=e[P],++C[e[P]];g=j(e,f,A,T,C,N,I,D,k,P-k,g),A||(u.r=7&g|f[g/8|0]<<3,g-=7,u.h=R,u.p=y,u.i=P,u.w=F)}else{for(P=u.w||0;P<d+A;P+=65535){var ae=P+65535;ae>=d&&(f[g/8|0]=A,ae=d),g=H(f,g+1,e.subarray(P,ae))}u.i=d}return x(p,0,l+O(g)+c)},Q=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=0|n.length,s=0;s!=o;){for(var a=Math.min(s+2655,o);s<a;++s)i+=r+=n[s];r=(65535&r)+15*(r>>16),i=(65535&i)+15*(i>>16)}e=r,t=i},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},X=function(e,t,n,i,o){if(!o&&(o={l:1},t.dictionary)){var s=t.dictionary.subarray(-32768),a=new r(s.length+e.length);a.set(s),a.set(e,s.length),e=a,o.w=s.length}return Y(e,null==t.level?6:t.level,null==t.mem?o.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,i,o)},K=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},G=function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;if(e[0]=120,e[1]=r<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var i=Q();i.p(t.dictionary),K(e,2,i.d())}},Z=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 z(e,t){t||(t={});var n=Q();n.p(e);var r=X(e,t,t.dictionary?6:2,4);return G(r,t),K(r,r.length-4,n.d()),r}function q(e,t){return I(e.subarray(Z(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var J="undefined"!=typeof TextDecoder&&new TextDecoder;try{J.decode(W,{stream:!0}),1}catch($){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},"72c3":function(e,t,n){"use strict";var r=n("23e7"),i=n("e9bc"),o=n("dad2");r({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:i})},7316:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9");class i{static isNode(e){return!!e&&void 0!==e._nodeType}static isDocumentNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.Document}static isDocumentTypeNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.DocumentType}static isDocumentFragmentNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.DocumentFragment}static isAttrNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.Attribute}static isCharacterDataNode(e){if(!i.isNode(e))return!1;const t=e._nodeType;return t===r.NodeType.Text||t===r.NodeType.ProcessingInstruction||t===r.NodeType.Comment||t===r.NodeType.CData}static isTextNode(e){return i.isNode(e)&&(e._nodeType===r.NodeType.Text||e._nodeType===r.NodeType.CData)}static isExclusiveTextNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.Text}static isCDATASectionNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.CData}static isCommentNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.Comment}static isProcessingInstructionNode(e){return i.isNode(e)&&e._nodeType===r.NodeType.ProcessingInstruction}static isElementNode(e){return i.isNode(e)&&e._nodeType===r.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,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},7369:function(e,t,n){"use strict";n.r(t);var r=n("bfd6");n.d(t,"dataSearch",(function(){return r["default"]}));var i=n("1592");n.d(t,"dataList",(function(){return i["default"]}))},"73d6":function(e,t,n){"use strict";function r(e,t){e.push(t)}function i(e){return e.pop()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.push=r,t.pop=i},"73d9":function(e,t,n){"use strict";var r=n("44d2");r("flatMap")},"74a2":function(e,t,n){"use strict";function r(e,t){e.push(t)}function i(e){return e.shift()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.enqueue=r,t.dequeue=i},"74dc":function(e,t,n){(function(e,t){t(n("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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("42e9"),o=n("5fb5"),s=n("4b7d");function a(e,t){let n=e._reference,r=e._pointerBeforeReference;while(1){if(t)if(r)r=!1;else{const t=s.tree_getFollowingNode(e._root,n);if(!t)return null;n=t}else if(r){const t=s.tree_getPrecedingNode(e.root,n);if(!t)return null;n=t}else r=!0;const a=o.traversal_filter(e,n);if(a===i.FilterResult.Accept)break}return e._reference=n,e._pointerBeforeReference=r,n}function l(){return r.dom.window._iteratorList}t.nodeIterator_traverse=a,t.nodeIterator_iteratorList=l},7558:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  167. //! moment.js locale configuration
  168. function t(e,t,n,r){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[n][0]:i[n][1]}function n(e){e=""+e;var t=e.substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}var r=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,n){return e<12?n?"bn":"BN":n?"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 r=t.toLowerCase();return r.includes("w")||r.includes("m")?e+".":e+n(e)},week:{dow:1,doy:4}});return r}))},"75cc":function(e,t,n){"use strict";(function(e,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n("8707"),s=n("11dc"),a=o.Buffer,l=o.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,n){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>n||e>l)throw new RangeError("buffer too small")}function p(t,n,r,i){if(!a.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof n)i=n,n=0,r=t.length;else if("function"===typeof r)i=r,r=t.length-n;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return d(n,t.length),h(r,n,t.length),f(t,n,r,i)}function f(e,t,n,i){if(r.browser){var o=e.buffer,a=new Uint8Array(o,t,n);return c.getRandomValues(a),i?void r.nextTick((function(){i(null,e)})):e}if(!i){var l=s(n);return l.copy(e,t),e}s(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}function m(t,n,r){if("undefined"===typeof n&&(n=0),!a.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return d(n,t.length),void 0===r&&(r=t.length-n),h(r,n,t.length),f(t,n,r)}c&&c.getRandomValues||!r.browser?(t.randomFill=p,t.randomFillSync=m):(t.randomFill=i,t.randomFillSync=i)}).call(this,n("c8ba"),n("4362"))},7658:function(e,t,n){"use strict";var r=t;function i(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!==typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,s=255&i;o?n.push(o,s):n.push(s)}return n}function o(e){return 1===e.length?"0"+e:e}function s(e){for(var t="",n=0;n<e.length;n++)t+=o(e[n].toString(16));return t}r.toArray=i,r.zero2=o,r.toHex=s,r.encode=function(e,t){return"hex"===t?s(e):e}},"76ab":function(e,t,n){"use strict";n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return u}));n("d9e2");var r=n("9acd"),i=n("491c"),o=n("3d76"),s=n("169f");const{register:a,getItem:l,hasItem:c,getNames:u,getValues:d}=Object(r["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:n,renderer:r,validator:l}=t;n&&Object(i["e"])(e,n),r&&Object(o["d"])(e,r),l&&Object(s["d"])(e,l),a(e,t)}},7723:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("d287"),o=n("68d5");class s extends i.CharacterDataImpl{constructor(e,t){super(t),this._target=e}get target(){return this._target}static _create(e,t,n){const r=new s(t,n);return r._nodeDocument=e,r}}t.ProcessingInstructionImpl=s,o.idl_defineConst(s.prototype,"_nodeType",r.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,n){t.encode=n("3de9"),t.decode=n("333d")},"77aa":function(e,t,n){"use strict";function r(e){return e&&0===e.length}function i(e){return void 0===e||null===e?[]:Object.keys(e)}function o(e){for(var t=[],n=Object.keys(e),r=0;r<n.length;r++)t.push(e[n[r]]);return t}function s(e,t){for(var n=[],r=i(e),o=0;o<r.length;o++){var s=r[o];n.push(t.call(null,e[s],s))}return n}function a(e,t){for(var n=[],r=0;r<e.length;r++)n.push(t.call(null,e[r],r));return n}function l(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?t=t.concat(l(r)):t.push(r)}return t}function c(e){return r(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 n=0;n<e.length;n++)t.call(null,e[n],n);else{if(!L(e))throw Error("non exhaustive match");var r=i(e);for(n=0;n<r.length;n++){var o=r[n],s=e[o];t.call(null,s,o)}}}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 n=[];if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=e[r];t.call(null,i)&&n.push(i)}return n}function _(e,t){return g(e,(function(e){return!t(e)}))}function b(e,t){for(var n=Object.keys(e),r={},i=0;i<n.length;i++){var o=n[i],s=e[o];t(s)&&(r[o]=s)}return r}function v(e,t){return!!L(e)&&e.hasOwnProperty(t)}function w(e,t){return void 0!==M(e,(function(e){return e===t}))}function y(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t}function R(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function M(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t.call(null,r))return r}}function S(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];t.call(null,i)&&n.push(i)}return n}function E(e,t,n){for(var r=Array.isArray(e),s=r?e:o(e),a=r?[]:i(e),l=n,c=0;c<s.length;c++)l=t.call(null,l,s[c],r?c:a[c]);return l}function T(e){return _(e,(function(e){return null===e||void 0===e}))}function C(e,t){void 0===t&&(t=function(e){return e});var n=[];return E(e,(function(e,r){var i=t(r);return w(n,i)?e:(n.push(i),e.concat(r))}),[])}function O(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[null],i=r.concat(t);return Function.bind.apply(e,i)}function x(e){return Array.isArray(e)}function N(e){return e instanceof RegExp}function L(e){return e instanceof Object}function I(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0}function P(e,t){return _(e,(function(e){return w(t,e)}))}function D(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return!0;return!1}function F(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function k(e,t){var n=y(e);return n.sort((function(e,n){return t(e)-t(n)})),n}function B(e,t){if(e.length!==t.length)throw Error("can't zipObject with different number of keys and values!");for(var n={},r=0;r<e.length;r++)n[e[r]]=t[r];return n}function U(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)for(var o=t[r],s=i(o),a=0;a<s.length;a++){var l=s[a];e[l]=o[l]}return e}function H(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];if(!p(o))for(var s=i(o),a=0;a<s.length;a++){var l=s[a];v(e,l)||(e[l]=o[l])}}return e}function j(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return H.apply(null,[{}].concat(e))}function V(e,t){var n={};return d(e,(function(e){var r=t(e),i=n[r];i?i.push(e):n[r]=[e]})),n}function W(e,t){for(var n=R(e),r=i(t),o=0;o<r.length;o++){var s=r[o],a=t[s];n[s]=a}return n}function Y(){}function Q(e){return e}function X(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(void 0!==r?r:void 0)}return t}function K(e){console&&console.error&&console.error("Error: "+e)}function G(e){console&&console.warn&&console.warn("Warning: "+e)}function Z(){return"function"===typeof Map}function z(e,t){t.forEach((function(t){var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(r){if("constructor"!==r){var i=Object.getOwnPropertyDescriptor(n,r);i&&(i.get||i.set)?Object.defineProperty(e.prototype,r,i):e.prototype[r]=t.prototype[r]}}))}))}function q(e){function t(){}t.prototype=e;var n=new t;function r(){return typeof n.bar}return r(),r(),e}function J(e){return e[e.length-1]}function $(e){var t=(new Date).getTime(),n=e(),r=(new Date).getTime(),i=r-t;return{time:i,value:n}}n.d(t,"A",(function(){return r})),n.d(t,"G",(function(){return i})),n.d(t,"U",(function(){return o})),n.d(t,"J",(function(){return s})),n.d(t,"I",(function(){return a})),n.d(t,"t",(function(){return l})),n.d(t,"s",(function(){return c})),n.d(t,"H",(function(){return u})),n.d(t,"u",(function(){return d})),n.d(t,"E",(function(){return h})),n.d(t,"F",(function(){return p})),n.d(t,"B",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"n",(function(){return A})),n.d(t,"p",(function(){return g})),n.d(t,"P",(function(){return _})),n.d(t,"N",(function(){return b})),n.d(t,"w",(function(){return v})),n.d(t,"j",(function(){return w})),n.d(t,"g",(function(){return y})),n.d(t,"h",(function(){return R})),n.d(t,"q",(function(){return M})),n.d(t,"r",(function(){return S})),n.d(t,"O",(function(){return E})),n.d(t,"i",(function(){return T})),n.d(t,"T",(function(){return C})),n.d(t,"y",(function(){return x})),n.d(t,"D",(function(){return N})),n.d(t,"C",(function(){return L})),n.d(t,"o",(function(){return I})),n.d(t,"l",(function(){return P})),n.d(t,"Q",(function(){return D})),n.d(t,"x",(function(){return F})),n.d(t,"f",(function(){return U})),n.d(t,"k",(function(){return j})),n.d(t,"v",(function(){return V})),n.d(t,"K",(function(){return W})),n.d(t,"b",(function(){return Y})),n.d(t,"a",(function(){return Q})),n.d(t,"L",(function(){return X})),n.d(t,"c",(function(){return K})),n.d(t,"d",(function(){return G})),n.d(t,"z",(function(){return Z})),n.d(t,"e",(function(){return z})),n.d(t,"S",(function(){return q})),n.d(t,"M",(function(){return J})),n.d(t,"R",(function(){return $}))},"77f3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("32d8"),o=n("68d5");class s 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 n=new s(t);return n._nodeDocument=e,n}}t.DocumentFragmentImpl=s,o.idl_defineConst(s.prototype,"_nodeType",r.NodeType.DocumentFragment)},"780f":function(e,t,n){"use strict";e.exports=o;var r=n("27bf"),i=Object.create(n("3a7c"));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n("3fb5"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},"78e0":function(e,t,n){"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,n){"use strict";var r=n("71c9"),i=n("67ee"),o=n("0d25"),s=n("2aa9");e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new o("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var a=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=!!s&&s(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===a&&d?d.enumerable:!a,value:n,writable:null===l&&d?d.writable:!l});else{if(!u&&(a||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},"79a4":function(e,t,n){"use strict";var r=n("23e7"),i=n("d039"),o=n("953b"),s=n("dad2"),a=!s("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));r({target:"Set",proto:!0,real:!0,forced:a},{intersection:o})},"79b1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("a45a");function i(e){const t=r.string.splitAStringOnASCIIWhitespace(e);return new Set(t)}function o(e){return[...e].join(" ")}function s(e){return o(i(e))}function a(e,t,n){for(const r of t){let t=!1;for(const i of e)if(n){if(i===r){t=!0;break}}else if(i.toUpperCase()===r.toUpperCase()){t=!0;break}if(!t)return!1}return!0}t.orderedSet_parse=i,t.orderedSet_serialize=o,t.orderedSet_sanitize=s,t.orderedSet_contains=a},"7a10":function(e,t,n){var r=n("d0eb"),i=n("fdac");function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),s=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),l=0;!a.testn(l);l++);for(var c=e.shrn(l),u=a.toRed(o),d=!0;t>0;t--){var h=this._randrange(new r(2),a);n&&n(h);var p=h.toRed(o).redPow(c);if(0!==p.cmp(s)&&0!==p.cmp(u)){for(var f=1;f<l;f++){if(p=p.redSqr(),0===p.cmp(s))return!1;if(0===p.cmp(u))break}if(f===l)return!1}}return d},o.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var l=e.shrn(a),c=s.toRed(i);t>0;t--){var u=this._randrange(new r(2),s),d=e.gcd(u);if(0!==d.cmpn(1))return d;var h=u.toRed(i).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(c)){for(var p=1;p<a;p++){if(h=h.redSqr(),0===h.cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(c))break}if(p===a)return h=h.redSqr(),h.fromRed().subn(1).gcd(e)}}return!1}},"7a70":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("69a8"),i=n("9688");class o{constructor(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new r.CompareCache,this._rangeList=new r.FixedSizeSet}setFeatures(e){if(void 0===e&&(e=!0),r.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 o._instance||(o._instance=new o),o._instance}}t.dom=o.instance},"7a74":function(e,t,n){(function(t,n,r){var i;!function(t){e.exports=t()}((function(){return function e(t,n,r){function o(a,l){if(!n[a]){if(!t[a]){var c="function"==typeof i&&i;if(!l&&c)return i(a,!0);if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[a]={exports:{}};t[a][0].call(d.exports,(function(e){var n=t[a][1][e];return o(n||e)}),d,d.exports,e,t,n,r)}return n[a].exports}for(var s="function"==typeof i&&i,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,s,a,l,c,u=[],d=0,h=e.length,p=h,f="string"!==r.getTypeOf(e);d<e.length;)p=h-d,i=f?(t=e[d++],n=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),n=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),s=t>>2,a=(3&t)<<4|n>>4,l=1<p?(15&n)<<2|i>>6:64,c=2<p?63&i:64,u.push(o.charAt(s)+o.charAt(a)+o.charAt(l)+o.charAt(c));return u.join("")},n.decode=function(e){var t,n,r,s,a,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)===o.charAt(64)&&p--,e.charAt(e.length-2)===o.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=o.indexOf(e.charAt(c++))<<2|(s=o.indexOf(e.charAt(c++)))>>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(c++)))>>2,r=(3&a)<<6|(l=o.indexOf(e.charAt(c++))),h[u++]=t,64!==a&&(h[u++]=n),64!==l&&(h[u++]=r);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function a(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}a.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("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(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=r?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.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})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,s,u){var d,h,p=e.file,f=e.compression,m=u!==a.utf8encode,A=o.transformTo("string",u(p.name)),g=o.transformTo("string",a.utf8encode(p.name)),_=p.comment,b=o.transformTo("string",u(_)),v=o.transformTo("string",a.utf8encode(_)),w=g.length!==p.name.length,y=v.length!==_.length,R="",M="",S="",E=p.dir,T=p.date,C={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(C.crc32=e.crc32,C.compressedSize=e.compressedSize,C.uncompressedSize=e.uncompressedSize);var O=0;t&&(O|=8),m||!w&&!y||(O|=2048);var x=0,N=0;E&&(x|=16),"UNIX"===s?(N=798,x|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(N=20,x|=function(e){return 63&(e||0)}(p.dosPermissions)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,h=T.getUTCFullYear()-1980,h<<=4,h|=T.getUTCMonth()+1,h<<=5,h|=T.getUTCDate(),w&&(M=r(1,1)+r(l(A),4)+g,R+="up"+r(M.length,2)+M),y&&(S=r(1,1)+r(l(b),4)+v,R+="uc"+r(S.length,2)+S);var L="";return L+="\n\0",L+=r(O,2),L+=f.magic,L+=r(d,2),L+=r(h,2),L+=r(C.crc32,4),L+=r(C.compressedSize,4),L+=r(C.uncompressedSize,4),L+=r(A.length,2),L+=r(R.length,2),{fileRecord:c.LOCAL_FILE_HEADER+L+A+R,dirRecord:c.CENTRAL_FILE_HEADER+r(N,2)+L+r(b.length,2)+"\0\0\0\0"+r(x,4)+r(i,4)+A+R+b}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,r){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,s),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n: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 n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.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 n=this.bytesWritten-e,i=function(e,t,n,i,s){var a=o.transformTo("string",s(i));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(a.length,2)+a}(this.dirRecords.length,n,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!!s.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(!s.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){s.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,n){"use strict";var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new i(t.streamFiles,n,t.platform,t.encodeFileName),s=0;try{e.forEach((function(e,n){s++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(i,a).withStreamInfo("file",{name:e,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=s}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;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 r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./external"),o=e("./utf8"),s=e("./zipEntries"),a=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new i.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new a);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new s(t);return n.load(e),n})).then((function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return i.Promise.all(n)})).then((function(e){for(var i=e.shift(),o=i.files,s=0;s<o.length;s++){var a=o[s],l=a.fileNameStr,c=r.resolve(a.fileNameStr);n.file(c,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(n.file(c).unsafeOriginalName=l)}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,i),o.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()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),n&&n(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,n,r){"use strict";n.exports={isNode:"undefined"!=typeof t,newBufferFrom:function(e,n){if(t.from&&t.from!==Uint8Array.from)return t.from(e,n);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,n)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var n=new t(e);return n.fill(0),n},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,n){"use strict";function r(e,t,n){var r,i=o.getTypeOf(t),a=o.extend(n||{},l);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=m(e)),a.createFolders&&(r=f(e))&&A.call(this,r,!0);var d="string"===i&&!1===a.binary&&!1===a.base64;n&&void 0!==n.binary||(a.binary=!d),(t instanceof c&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var g=null;g=t instanceof c||t instanceof s?t:h.isNode&&h.isStream(t)?new p(e,t):o.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var _=new u(e,g,a);this.files[e]=_}var i=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),a=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]||r.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,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(g(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(g(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=A.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new s("error")).error(e)}return new a(t,n.type||"string",n.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,n){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[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,n){"use strict";var r=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,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},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,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),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,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),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,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),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,n){"use strict";var r=e("../utils"),i=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new a(e):i.uint8array?new l(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(o,i),o.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=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(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=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.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=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(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}r.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 n=0;n<this._listeners[e].length;n++)this._listeners[e][n].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=r},{}],29:[function(e,n,r){"use strict";var i=e("../utils"),o=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),l=e("../support"),c=e("../external"),u=null;if(l.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,n){return new c.Promise((function(r,o){var s=[],l=e._internalType,c=e._outputType,u=e._mimeType;e.on("data",(function(e,t){s.push(e),n&&n(t)})).on("error",(function(e){s=[],o(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return i.transformTo(e,t)}}(c,function(e,n){var r,i=0,o=null,s=0;for(r=0;r<n.length;r++)s+=n[r].length;switch(e){case"string":return n.join("");case"array":return Array.prototype.concat.apply([],n);case"uint8array":for(o=new Uint8Array(s),r=0;r<n.length;r++)o.set(n[r],i),i+=n[r].length;return o;case"nodebuffer":return t.concat(n);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,s),u);r(e)}catch(e){o(e)}s=[]})).resume()}))}function h(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new o(r)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,n)})),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)}},n.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,n,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof t,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),r.blob=0===o.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),s=e("./stream/GenericWorker"),a=new Array(256),l=0;l<256;l++)a[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){s.call(this,"utf-8 decode"),this.leftOver=null}function u(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,n.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),o=s=0;s<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,o,s=e.length,l=new Array(2*s);for(t=n=0;t<s;)if((i=e[t++])<128)l[n++]=i;else if(4<(o=a[i]))l[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<s;)i=i<<6|63&e[t++],o--;1<o?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(c,s),c.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}(t),l=t;s!==t.length&&(i.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(u,s),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),s=e("./external");function a(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=c.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return c.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var h={};h.string={string:a,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,o.allocBuffer(e.length))}},h.array={string:u,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.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:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.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:a,nodebuffer:function(e){return o.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:a},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return h[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,a,c){return s.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new s.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(c?t=i.decode(t):o&&!0!==a&&(t=function(e){return l(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):s.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,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),s=e("./zipEntry"),a=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 n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},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=a.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},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,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),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(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({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(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.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(o.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(o.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(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.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(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(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,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),s=e("./crc32"),a=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,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-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 o(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=r(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,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:a.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,n){"use strict";function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),s=e("./utf8"),a=e("./compressedObject"),l=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new i(t,n,"")},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 a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof l?this._data:new o(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++)r.prototype[c[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(u),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="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,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}t.exports=function(e){1!==c.push(e)||r||n()}}).call(this,"undefined"!=typeof n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var r=e("immediate");function i(){}var o={},s=["REJECTED"],a=["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,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}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 n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var s=f((function(){t(i,r)}));"error"===s.status&&r(s.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(i);return this.state!==l?d(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(h,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},c.reject=function(e){var t=new this(i);return o.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 n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,l=-1,c=new this(i);++l<n;)u(e[l],l);return c;function u(e,i){t.resolve(e).then((function(e){s[i]=e,++a!==n||r||(r=!0,o.resolve(c,s))}),(function(e){r||(r=!0,o.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 n=e.length,r=!1;if(!n)return this.resolve([]);for(var s,a=-1,l=new this(i);++a<n;)s=e[a],t.resolve(s).then((function(e){r||(r=!0,o.resolve(l,e))}),(function(e){r||(r=!0,o.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/messages"),a=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 a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c)throw new Error(s[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var f;if(f="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,f))!==c)throw new Error(s[n]);this._dict_set=!0}}function f(e,t){var n=new p(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}p.prototype.push=function(e,t){var n,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(u),a.next_out=0,a.avail_out=u),1!==(n=r.deflate(a,s))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((0<a.avail_in||0===a.avail_out)&&1!==n);return 4===s?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==s||(this.onEnd(c),!(a.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},n.Deflate=p,n.deflate=f,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.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,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/constants"),a=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 n=r.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(e,t){var n,a,l,c,d,h,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,A=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?p.input=o.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),(n=r.inflate(p,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(h="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,h)),n===s.Z_BUF_ERROR&&!0===A&&(n=s.Z_OK,A=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&n!==s.Z_STREAM_END&&(0!==p.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(p.output,p.next_out),c=p.next_out-l,d=o.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)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.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,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new r.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,i,o,s,a=e.length,l=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),o=s=0;s<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,a=t||e.length,c=new Array(2*a);for(n=r=0;n<a;)if((i=e[n++])<128)c[r++]=i;else if(4<(o=s[i]))c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<a;)i=i<<6|63&e[n++],o--;1<o?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3<n?2e3:n;o=o+(i=i+t[r++]|0)|0,--s;);i%=65521,o%=65521}return i|o<<16|0}},{}],44:[function(e,t,n){"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,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,s=i+n;e^=-1;for(var a=i;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),c=0,u=4,d=0,h=-2,p=-1,f=4,m=2,A=8,g=9,_=286,b=30,v=19,w=2*_+1,y=15,R=3,M=258,S=M+R+1,E=42,T=113,C=1,O=2,x=3,N=4;function L(e,t){return e.msg=l[t],t}function I(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function D(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function F(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,D(e.strm)}function k(e,t){e.pending_buf[e.pending++]=t}function B(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function U(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=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+M,p=c[o+s-1],f=c[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(c[(n=t)+s]===f&&c[n+s-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<h);if(r=M-(h-o),o=h-M,s<r){if(e.match_start=t,a<=(s=r))break;p=c[o+s-1],f=c[o+s]}}}while((t=d[t&u])>l&&0!=--i);return s<=e.lookahead?s:e.lookahead}function H(e){var t,n,r,o,l,c,u,d,h,p,f=e.w_size;do{if(o=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=n=e.hash_size;r=e.head[--t],e.head[t]=f<=r?r-f:0,--n;);for(t=n=f;r=e.prev[--t],e.prev[t]=f<=r?r-f:0,--n;);o+=f}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,d=e.strstart+e.lookahead,h=o,p=void 0,p=c.avail_in,h<p&&(p=h),n=0===p?0:(c.avail_in-=p,i.arraySet(u,c.input,c.next_in,p,d),1===c.state.wrap?c.adler=s(c.adler,u,p,d):2===c.state.wrap&&(c.adler=a(c.adler,u,p,d)),c.next_in+=p,c.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=R)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+R-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<R)););}while(e.lookahead<S&&0!==e.strm.avail_in)}function j(e,t){for(var n,r;;){if(e.lookahead<S){if(H(e),e.lookahead<S&&t===c)return C;if(0===e.lookahead)break}if(n=0,e.lookahead>=R&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+R-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-S&&(e.match_length=U(e,n)),e.match_length>=R)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-R),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=R){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+R-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(F(e,!1),0===e.strm.avail_out))return C}return e.insert=e.strstart<R-1?e.strstart:R-1,t===u?(F(e,!0),0===e.strm.avail_out?x:N):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?C:O}function V(e,t){for(var n,r,i;;){if(e.lookahead<S){if(H(e),e.lookahead<S&&t===c)return C;if(0===e.lookahead)break}if(n=0,e.lookahead>=R&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+R-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=R-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-S&&(e.match_length=U(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===R&&4096<e.strstart-e.match_start)&&(e.match_length=R-1)),e.prev_length>=R&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-R,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-R),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+R-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=R-1,e.strstart++,r&&(F(e,!1),0===e.strm.avail_out))return C}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&F(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return C}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<R-1?e.strstart:R-1,t===u?(F(e,!0),0===e.strm.avail_out?x:N):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?C:O}function W(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function Y(){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*b+1)),this.bl_tree=new i.Buf16(2*(2*v+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(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),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*_+1),P(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?E:T,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),d):L(e,h)}function X(e){var t=Q(e);return t===d&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=R-1,e.match_available=0,e.ins_h=0}(e.state),t}function K(e,t,n,r,o,s){if(!e)return h;var a=1;if(t===p&&(t=6),r<0?(a=0,r=-r):15<r&&(a=2,r-=16),o<1||g<o||n!==A||r<8||15<r||t<0||9<t||s<0||f<s)return L(e,h);8===r&&(r=9);var l=new Y;return(e.state=l).strm=e,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+R-1)/R),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<<o+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=s,l.method=n,X(e)}r=[new W(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(H(e),0===e.lookahead&&t===c)return C;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,F(e,!1),0===e.strm.avail_out))return C;if(e.strstart-e.block_start>=e.w_size-S&&(F(e,!1),0===e.strm.avail_out))return C}return e.insert=0,t===u?(F(e,!0),0===e.strm.avail_out?x:N):(e.strstart>e.block_start&&(F(e,!1),e.strm.avail_out),C)})),new W(4,4,8,4,j),new W(4,5,16,8,j),new W(4,6,32,32,j),new W(4,4,16,16,V),new W(8,16,32,32,V),new W(8,16,128,128,V),new W(8,32,128,256,V),new W(32,128,258,1024,V),new W(32,258,258,4096,V)],n.deflateInit=function(e,t){return K(e,t,A,15,8,0)},n.deflateInit2=K,n.deflateReset=X,n.deflateResetKeep=Q,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,d):h},n.deflate=function(e,t){var n,i,s,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,n=i.last_flush,i.last_flush=t,i.status===E)if(2===i.wrap)e.adler=0,k(i,31),k(i,139),k(i,8),i.gzhead?(k(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)),k(i,255&i.gzhead.time),k(i,i.gzhead.time>>8&255),k(i,i.gzhead.time>>16&255),k(i,i.gzhead.time>>24&255),k(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),k(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(k(i,255&i.gzhead.extra.length),k(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(k(i,0),k(i,0),k(i,0),k(i,0),k(i,0),k(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),k(i,3),i.status=T);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=T,B(i,p),0!==i.strstart&&(B(i,e.adler>>>16),B(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),D(e),s=i.pending,i.pending!==i.pending_buf_size));)k(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),D(e),s=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,k(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),D(e),s=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,k(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&D(e),i.pending+2<=i.pending_buf_size&&(k(i,255&e.adler),k(i,e.adler>>8&255),e.adler=0,i.status=T)):i.status=T),0!==i.pending){if(D(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&I(t)<=I(n)&&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 n;;){if(0===e.lookahead&&(H(e),0===e.lookahead)){if(t===c)return C;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(F(e,!1),0===e.strm.avail_out))return C}return e.insert=0,t===u?(F(e,!0),0===e.strm.avail_out?x:N):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?C:O}(i,t):3===i.strategy?function(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=M){if(H(e),e.lookahead<=M&&t===c)return C;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=R&&0<e.strstart&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){s=e.strstart+M;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=M-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=R?(n=o._tr_tally(e,1,e.match_length-R),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(F(e,!1),0===e.strm.avail_out))return C}return e.insert=0,t===u?(F(e,!0),0===e.strm.avail_out?x:N):e.last_lit&&(F(e,!1),0===e.strm.avail_out)?C:O}(i,t):r[i.level].func(i,t);if(f!==x&&f!==N||(i.status=666),f===C||f===x)return 0===e.avail_out&&(i.last_flush=-1),d;if(f===O&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(P(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),D(e),0===e.avail_out))return i.last_flush=-1,d}return t!==u?d:i.wrap<=0?1:(2===i.wrap?(k(i,255&e.adler),k(i,e.adler>>8&255),k(i,e.adler>>16&255),k(i,e.adler>>24&255),k(i,255&e.total_in),k(i,e.total_in>>8&255),k(i,e.total_in>>16&255),k(i,e.total_in>>24&255)):(B(i,e.adler>>>16),B(i,65535&e.adler)),D(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?d:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&69!==t&&73!==t&&91!==t&&103!==t&&t!==T&&666!==t?L(e,h):(e.state=null,t===T?L(e,-3):d):h},n.deflateSetDictionary=function(e,t){var n,r,o,a,l,c,u,p,f=t.length;if(!e||!e.state)return h;if(2===(a=(n=e.state).wrap)||1===a&&n.status!==E||n.lookahead)return h;for(1===a&&(e.adler=s(e.adler,t,f,0)),n.wrap=0,f>=n.w_size&&(0===a&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,f-n.w_size,n.w_size,0),t=p,f=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,H(n);n.lookahead>=R;){for(r=n.strstart,o=n.lookahead-(R-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+R-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=R-1,H(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=R-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=a,d},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"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,n){"use strict";t.exports=function(e,t){var n,r,i,o,s,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E;n=e.state,r=e.next_in,S=e.input,i=r+(e.avail_in-5),o=e.next_out,E=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,d=n.wnext,h=n.window,p=n.hold,f=n.bits,m=n.lencode,A=n.distcode,g=(1<<n.lenbits)-1,_=(1<<n.distbits)-1;e:do{f<15&&(p+=S[r++]<<f,f+=8,p+=S[r++]<<f,f+=8),b=m[p&g];t:for(;;){if(p>>>=v=b>>>24,f-=v,0===(v=b>>>16&255))E[o++]=65535&b;else{if(!(16&v)){if(0==(64&v)){b=m[(65535&b)+(p&(1<<v)-1)];continue t}if(32&v){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&b,(v&=15)&&(f<v&&(p+=S[r++]<<f,f+=8),w+=p&(1<<v)-1,p>>>=v,f-=v),f<15&&(p+=S[r++]<<f,f+=8,p+=S[r++]<<f,f+=8),b=A[p&_];n:for(;;){if(p>>>=v=b>>>24,f-=v,!(16&(v=b>>>16&255))){if(0==(64&v)){b=A[(65535&b)+(p&(1<<v)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(y=65535&b,f<(v&=15)&&(p+=S[r++]<<f,(f+=8)<v&&(p+=S[r++]<<f,f+=8)),l<(y+=p&(1<<v)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(p>>>=v,f-=v,(v=o-s)<y){if(u<(v=y-v)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(M=h,(R=0)===d){if(R+=c-v,v<w){for(w-=v;E[o++]=h[R++],--v;);R=o-y,M=E}}else if(d<v){if(R+=c+d-v,(v-=d)<w){for(w-=v;E[o++]=h[R++],--v;);if(R=0,d<w){for(w-=v=d;E[o++]=h[R++],--v;);R=o-y,M=E}}}else if(R+=d-v,v<w){for(w-=v;E[o++]=h[R++],--v;);R=o-y,M=E}for(;2<w;)E[o++]=M[R++],E[o++]=M[R++],E[o++]=M[R++],w-=3;w&&(E[o++]=M[R++],1<w&&(E[o++]=M[R++]))}else{for(R=o-y;E[o++]=E[R++],E[o++]=E[R++],E[o++]=E[R++],2<(w-=3););w&&(E[o++]=E[R++],1<w&&(E[o++]=E[R++]))}break}}break}}while(r<i&&o<a);r-=w=f>>3,p&=(1<<(f-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<a?a-o+257:257-(o-a),n.hold=p,n.bits=f}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=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 r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function 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 r.Buf32(p),t.distcode=t.distdyn=new r.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 b(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,_(e))):d}function v(e,t){var n,r;return e?(r=new A,(e.state=r).window=null,(n=b(e,t))!==u&&(e.state=null),n):d}var w,y,R=!0;function M(e){if(R){var t;for(w=new r.Buf32(512),y=new r.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(a(l,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(c,e.lens,0,32,y,0,e.work,{bits:5}),R=!1}e.lencode=w,e.lenbits=9,e.distcode=y,e.distbits=5}function S(e,t,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(o=s.wsize-s.wnext)&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),(i-=o)?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}n.inflateReset=_,n.inflateReset2=b,n.inflateResetKeep=g,n.inflateInit=function(e){return v(e,15)},n.inflateInit2=v,n.inflate=function(e,t){var n,p,f,A,g,_,b,v,w,y,R,E,T,C,O,x,N,L,I,P,D,F,k,B,U=0,H=new r.Buf8(4),j=[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===(n=e.state).mode&&(n.mode=13),g=e.next_out,f=e.output,b=e.avail_out,A=e.next_in,p=e.input,_=e.avail_in,v=n.hold,w=n.bits,y=_,R=b,F=u;e:for(;;)switch(n.mode){case h:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(2&n.wrap&&35615===v){H[n.check=0]=255&v,H[1]=v>>>8&255,n.check=o(n.check,H,2,0),w=v=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&v)<<8)+(v>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&v)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,D=8+(15&(v>>>=4)),0===n.wbits)n.wbits=D;else if(D>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<D,e.adler=n.check=1,n.mode=512&v?10:12,w=v=0;break;case 2:for(;w<16;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(n.flags=v,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=v>>8&1),512&n.flags&&(H[0]=255&v,H[1]=v>>>8&255,n.check=o(n.check,H,2,0)),w=v=0,n.mode=3;case 3:for(;w<32;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}n.head&&(n.head.time=v),512&n.flags&&(H[0]=255&v,H[1]=v>>>8&255,H[2]=v>>>16&255,H[3]=v>>>24&255,n.check=o(n.check,H,4,0)),w=v=0,n.mode=4;case 4:for(;w<16;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}n.head&&(n.head.xflags=255&v,n.head.os=v>>8),512&n.flags&&(H[0]=255&v,H[1]=v>>>8&255,n.check=o(n.check,H,2,0)),w=v=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}n.length=v,n.head&&(n.head.extra_len=v),512&n.flags&&(H[0]=255&v,H[1]=v>>>8&255,n.check=o(n.check,H,2,0)),w=v=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(_<(E=n.length)&&(E=_),E&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,p,A,E,D)),512&n.flags&&(n.check=o(n.check,p,E,A)),_-=E,A+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===_)break e;for(E=0;D=p[A+E++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D)),D&&E<_;);if(512&n.flags&&(n.check=o(n.check,p,E,A)),_-=E,A+=E,D)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===_)break e;for(E=0;D=p[A+E++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D)),D&&E<_;);if(512&n.flags&&(n.check=o(n.check,p,E,A)),_-=E,A+=E,D)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(v!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}w=v=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}e.adler=n.check=m(v),w=v=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=g,e.avail_out=b,e.next_in=A,e.avail_in=_,n.hold=v,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){v>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}switch(n.last=1&v,w-=1,3&(v>>>=1)){case 0:n.mode=14;break;case 1:if(M(n),n.mode=20,6!==t)break;v>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}v>>>=2,w-=2;break;case 14:for(v>>>=7&w,w-=7&w;w<32;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if((65535&v)!=(v>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&v,w=v=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(E=n.length){if(_<E&&(E=_),b<E&&(E=b),0===E)break e;r.arraySet(f,p,A,E,g),_-=E,A+=E,b-=E,g+=E,n.length-=E;break}n.mode=12;break;case 17:for(;w<14;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(n.nlen=257+(31&v),v>>>=5,w-=5,n.ndist=1+(31&v),v>>>=5,w-=5,n.ncode=4+(15&v),v>>>=4,w-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}n.lens[j[n.have++]]=7&v,v>>>=3,w-=3}for(;n.have<19;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},F=a(0,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,F){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;x=(U=n.lencode[v&(1<<n.lenbits)-1])>>>16&255,N=65535&U,!((O=U>>>24)<=w);){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(N<16)v>>>=O,w-=O,n.lens[n.have++]=N;else{if(16===N){for(B=O+2;w<B;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(v>>>=O,w-=O,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}D=n.lens[n.have-1],E=3+(3&v),v>>>=2,w-=2}else if(17===N){for(B=O+3;w<B;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}w-=O,D=0,E=3+(7&(v>>>=O)),v>>>=3,w-=3}else{for(B=O+7;w<B;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}w-=O,D=0,E=11+(127&(v>>>=O)),v>>>=7,w-=7}if(n.have+E>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;E--;)n.lens[n.have++]=D}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,k={bits:n.lenbits},F=a(l,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,F){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},F=a(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,F){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=_&&258<=b){e.next_out=g,e.avail_out=b,e.next_in=A,e.avail_in=_,n.hold=v,n.bits=w,s(e,R),g=e.next_out,f=e.output,b=e.avail_out,A=e.next_in,p=e.input,_=e.avail_in,v=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;x=(U=n.lencode[v&(1<<n.lenbits)-1])>>>16&255,N=65535&U,!((O=U>>>24)<=w);){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(x&&0==(240&x)){for(L=O,I=x,P=N;x=(U=n.lencode[P+((v&(1<<L+I)-1)>>L)])>>>16&255,N=65535&U,!(L+(O=U>>>24)<=w);){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}v>>>=L,w-=L,n.back+=L}if(v>>>=O,w-=O,n.back+=O,n.length=N,0===x){n.mode=26;break}if(32&x){n.back=-1,n.mode=12;break}if(64&x){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&x,n.mode=22;case 22:if(n.extra){for(B=n.extra;w<B;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}n.length+=v&(1<<n.extra)-1,v>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;x=(U=n.distcode[v&(1<<n.distbits)-1])>>>16&255,N=65535&U,!((O=U>>>24)<=w);){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(0==(240&x)){for(L=O,I=x,P=N;x=(U=n.distcode[P+((v&(1<<L+I)-1)>>L)])>>>16&255,N=65535&U,!(L+(O=U>>>24)<=w);){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}v>>>=L,w-=L,n.back+=L}if(v>>>=O,w-=O,n.back+=O,64&x){e.msg="invalid distance code",n.mode=30;break}n.offset=N,n.extra=15&x,n.mode=24;case 24:if(n.extra){for(B=n.extra;w<B;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}n.offset+=v&(1<<n.extra)-1,v>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===b)break e;if(E=R-b,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}T=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),C=n.window}else C=f,T=g-n.offset,E=n.length;for(b<E&&(E=b),b-=E,n.length-=E;f[g++]=C[T++],--E;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break e;f[g++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===_)break e;_--,v|=p[A++]<<w,w+=8}if(R-=b,e.total_out+=R,n.total+=R,R&&(e.adler=n.check=n.flags?o(n.check,f,R,g-R):i(n.check,f,R,g-R)),R=b,(n.flags?v:m(v))!==n.check){e.msg="incorrect data check",n.mode=30;break}w=v=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===_)break e;_--,v+=p[A++]<<w,w+=8}if(v!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}w=v=0}n.mode=29;case 29:F=1;break e;case 30:F=-3;break e;case 31:return-4;case 32:default:return d}return e.next_out=g,e.avail_out=b,e.next_in=A,e.avail_in=_,n.hold=v,n.bits=w,(n.wsize||R!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&S(e,e.output,e.next_out,R-e.avail_out)?(n.mode=31,-4):(y-=e.avail_in,R-=e.avail_out,e.total_in+=y,e.total_out+=R,n.total+=R,n.wrap&&R&&(e.adler=n.check=n.flags?o(n.check,f,R,e.next_out-R):i(n.check,f,R,e.next_out-R)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==y&&0===R||4===t)&&F===u&&(F=-5),F)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?d:((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&i(1,t,r,0)!==n.check?-3:S(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var r=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],o=[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],s=[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],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,d,h){var p,f,m,A,g,_,b,v,w,y=h.bits,R=0,M=0,S=0,E=0,T=0,C=0,O=0,x=0,N=0,L=0,I=null,P=0,D=new r.Buf16(16),F=new r.Buf16(16),k=null,B=0;for(R=0;R<=15;R++)D[R]=0;for(M=0;M<l;M++)D[t[n+M]]++;for(T=y,E=15;1<=E&&0===D[E];E--);if(E<T&&(T=E),0===E)return c[u++]=20971520,c[u++]=20971520,h.bits=1,0;for(S=1;S<E&&0===D[S];S++);for(T<S&&(T=S),R=x=1;R<=15;R++)if(x<<=1,(x-=D[R])<0)return-1;if(0<x&&(0===e||1!==E))return-1;for(F[1]=0,R=1;R<15;R++)F[R+1]=F[R]+D[R];for(M=0;M<l;M++)0!==t[n+M]&&(d[F[t[n+M]]++]=M);if(_=0===e?(I=k=d,19):1===e?(I=i,P-=257,k=o,B-=257,256):(I=s,k=a,-1),R=S,g=u,O=M=L=0,m=-1,A=(N=1<<(C=T))-1,1===e&&852<N||2===e&&592<N)return 1;for(;;){for(b=R-O,w=d[M]<_?(v=0,d[M]):d[M]>_?(v=k[B+d[M]],I[P+d[M]]):(v=96,0),p=1<<R-O,S=f=1<<C;c[g+(L>>O)+(f-=p)]=b<<24|v<<16|w|0,0!==f;);for(p=1<<R-1;L&p;)p>>=1;if(0!==p?(L&=p-1,L+=p):L=0,M++,0==--D[R]){if(R===E)break;R=t[n+d[M]]}if(T<R&&(L&A)!==m){for(0===O&&(O=T),g+=S,x=1<<(C=R-O);C+O<E&&!((x-=D[C+O])<=0);)C++,x<<=1;if(N+=1<<C,1===e&&852<N||2===e&&592<N)return 1;c[m=L&A]=T<<24|C<<16|g-u|0}}return 0!==L&&(c[g+L]=R-O<<24|64<<16|0),h.bits=T,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var r=e("../utils/common"),i=0,o=1;function s(e){for(var t=e.length;0<=--t;)e[t]=0}var a=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,b=17,v=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],R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=new Array(2*(u+2));s(S);var E=new Array(2*d);s(E);var T=new Array(512);s(T);var C=new Array(256);s(C);var O=new Array(l);s(O);var x,N,L,I=new Array(d);function P(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function D(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function F(e){return e<256?T[e]:T[256+(e>>>7)]}function k(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function B(e,t,n){e.bi_valid>m-n?(e.bi_buf|=t<<e.bi_valid&65535,k(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=n-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function U(e,t,n){B(e,n[2*t],n[2*t+1])}function H(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function j(e,t,n){var r,i,o=new Array(f+1),s=0;for(r=1;r<=f;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=H(o[a]++,a))}}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 W(e){8<e.bi_valid?k(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 Y(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function Q(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&Y(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Y(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function X(e,t,n){var r,i,o,s,a=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],i=e.pending_buf[e.l_buf+a],a++,0===r?U(e,i,t):(U(e,(o=C[i])+c+1,t),0!==(s=w[o])&&B(e,i-=O[o],s),U(e,o=F(--r),n),0!==(s=y[o])&&B(e,r-=I[o],s)),a<e.last_lit;);U(e,g,t)}function K(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=p,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)Q(e,o,n);for(i=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Q(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,s,a,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(o=0;o<=f;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<p;n++)A<(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)&&(o=A,g++),l[2*r+1]=o,c<r||(e.bl_count[o]++,s=0,m<=r&&(s=h[r-m]),a=l[2*r],e.opt_len+=a*(o+s),d&&(e.static_len+=a*(u[2*r+1]+s)));if(0!==g){do{for(o=A-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[A]--,g-=2}while(0<g);for(o=A;0!==o;o--)for(r=e.bl_count[o];0!==r;)c<(i=e.heap[--n])||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}(e,t),j(o,c,e.bl_count)}function G(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<l&&i===s||(a<c?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*_]++):a<=10?e.bl_tree[2*b]++:e.bl_tree[2*v]++,o=i,c=(a=0)===s?(l=138,3):i===s?(l=6,3):(l=7,4))}function Z(e,t,n){var r,i,o=-1,s=t[1],a=0,l=7,c=4;for(0===s&&(l=138,c=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<l&&i===s)){if(a<c)for(;U(e,i,e.bl_tree),0!=--a;);else 0!==i?(i!==o&&(U(e,i,e.bl_tree),a--),U(e,_,e.bl_tree),B(e,a-3,2)):a<=10?(U(e,b,e.bl_tree),B(e,a-3,3)):(U(e,v,e.bl_tree),B(e,a-11,7));o=i,c=(a=0)===s?(l=138,3):i===s?(l=6,3):(l=7,4)}}s(I);var z=!1;function q(e,t,n,i){B(e,(a<<1)+(i?1:0),3),function(e,t,n,i){W(e),i&&(k(e,n),k(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){z||(function(){var e,t,n,r,i,o=new Array(f+1);for(r=n=0;r<l-1;r++)for(O[r]=n,e=0;e<1<<w[r];e++)C[n++]=r;for(C[n-1]=r,r=i=0;r<16;r++)for(I[r]=i,e=0;e<1<<y[r];e++)T[i++]=r;for(i>>=7;r<d;r++)for(I[r]=i<<7,e=0;e<1<<y[r]-7;e++)T[256+i++]=r;for(t=0;t<=f;t++)o[t]=0;for(e=0;e<=143;)S[2*e+1]=8,e++,o[8]++;for(;e<=255;)S[2*e+1]=9,e++,o[9]++;for(;e<=279;)S[2*e+1]=7,e++,o[7]++;for(;e<=287;)S[2*e+1]=8,e++,o[8]++;for(j(S,u+1,o),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=H(e,5);x=new P(S,w,c+1,u,f),N=new P(E,y,0,d,f),L=new P(new Array(0),R,0,h,A)}(),z=!0),e.l_desc=new D(e.dyn_ltree,x),e.d_desc=new D(e.dyn_dtree,N),e.bl_desc=new D(e.bl_tree,L),e.bi_buf=0,e.bi_valid=0,V(e)},n._tr_stored_block=q,n._tr_flush_block=function(e,t,n,r){var s,a,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&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 o;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return o;return i}(e)),K(e,e.l_desc),K(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),K(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*M[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),s=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=s&&(s=a)):s=a=n+5,n+4<=s&&-1!==t?q(e,t,n,r):4===e.strategy||a===s?(B(e,2+(r?1:0),3),X(e,S,E)):(B(e,4+(r?1:0),3),function(e,t,n,r){var i;for(B(e,t-257,5),B(e,n-1,5),B(e,r-4,4),i=0;i<r;i++)B(e,e.bl_tree[2*M[i]+1],3);Z(e,e.dyn_ltree,t-1),Z(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),X(e,e.dyn_ltree,e.dyn_dtree)),V(e),r&&W(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(C[n]+c+1)]++,e.dyn_dtree[2*F(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){B(e,2,3),U(e,g,S),function(e){16===e.bi_valid?(k(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,n){"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 n,i,o,s,a=1,l={},c=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,n="[object process]"==={}.toString.call(e.process)?function(e){r.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(s="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",f,!1):e.attachEvent("onmessage",f),function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){o.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),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return l[a]=i,n(a),a++},d.clearImmediate=h}function h(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var n=l[e];if(n){c=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{h(e),c=!1}}}}function f(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this,n("b639").Buffer,n("c8ba"),n("4362"))},"7ab1":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"com-formual",attrs:{"element-loading-text":"数据加载中..."}},[n("el-form",[n("el-form-item",[n("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 n("el-option",{key:e.id,attrs:{label:e.name,value:t}})})),1)],1),e.fileLoadStatus?n("el-form-item",{staticStyle:{"min-height":"500px"}},[n("div",{ref:"luckysheet",staticStyle:{width:"100%",height:"500px"},attrs:{id:"luckysheet"}})]):e._e()],1),n("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[n("div",{staticClass:"dialog-footer"},[n("el-button",{on:{click:function(t){e.showConfirm=!1}}},[e._v("关闭")]),n("el-button",{attrs:{type:"primary"},on:{click:e.onConfirm}},[e._v(" 确认选择 ")])],1)]},proxy:!0}])},[n("div",[e._v("当前工作表:"+e._s(e.position.sheet))]),n("div",[e._v("当前取值:"+e._s(e.position.value))])])],1)},i=[],o=n("ade3"),s=(n("d81d"),n("b0c0"),n("b64b"),n("d3b7"),n("a573"),n("1c4c")),a=(n("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,n=t.tableList[e];t.loading=!0,Object(s["b"])({id:n.id}).then((function(e){200===e.status&&(t.fileLoadStatus=!0,n.sourceData=JSON.parse(e.data.source_data),t.position.tb=n.code,t.$nextTick((function(){luckysheet.destroy(),luckysheet.create(Object(o["a"])(Object(o["a"])(Object(o["a"])({container:"luckysheet",data:n.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,n,r,i){t.position.sheet=r.name,t.position.r=n.r,t.position.c=n.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,n,r,i){}}))})))})).finally((function(){t.loading=!1}))},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)}))}}}),l=a,c=(n("b7da"),n("2877")),u=Object(c["a"])(l,r,i,!1,null,null,null);t["default"]=u.exports},"7ae0":function(e,t,n){"use strict";n("14d9");var r=n("351d"),i=n("97b9");const o="localHooks",s={_localHooks:Object.create(null),addLocalHook(e,t){return this._localHooks[e]||(this._localHooks[e]=[]),this._localHooks[e].push(t),this},runLocalHooks(e,t,n,r,o,s,a){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,n,r,o,s,a)}},clearLocalHooks(){return this._localHooks={},this}};Object(r["defineGetter"])(s,"MIXIN_NAME",o,{writable:!1,enumerable:!1}),t["a"]=s},"7b71":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},"7b9c":function(e,t,n){"use strict";n.r(t),n.d(t,"stringify",(function(){return o})),n.d(t,"isDefined",(function(){return s})),n.d(t,"isUndefined",(function(){return a})),n.d(t,"isEmpty",(function(){return l})),n.d(t,"isRegExp",(function(){return c})),n.d(t,"_injectProductInfo",(function(){return w}));var r=n("c1df"),i=n("67a8");function o(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 s(e){return"undefined"!==typeof e}function a(e){return"undefined"===typeof e}function l(e){return null===e||""===e||a(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,n)=>e["substr"](t,n),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 b={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:n}=e;return i["a"]`
  171. The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
  172. version ${n}. 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:()=>""},v={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:n}=e;return i["a"]`
  181. The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
  182. version ${n}. <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 n=!l(e),i="string"===typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),o="14.6.1";let s,a="invalid",c="invalid";e=m(e||"");const u=y(e);if(n||i||u)if(u){const t=r("17/10/2024","DD/MM/YYYY"),n=Math.floor(t.toDate().getTime()/864e5),i=A(e);s=r(864e5*(i+1),"x").format("MMMM DD, YYYY"),n>i?(a="expired",c="expired"):(a="valid",c="valid")}else i?(a="non_commercial",c="valid"):(a="invalid",c="invalid");else a="missing",c="missing";if(g()&&(a="valid",c="valid"),!_&&"valid"!==a){const e=b[a]({keyValidityDate:s,hotVersion:o});e&&console["non_commercial"===a?"info":"warn"](b[a]({keyValidityDate:s,hotVersion:o})),_=!0}if("valid"!==c&&t.parentNode){const e=v[c]({keyValidityDate:s,hotVersion:o});if(e){const e=document.createElement("div");e.className="hot-display-license-info",e.innerHTML=v[c]({keyValidityDate:s,hotVersion:o}),t.parentNode.insertBefore(e,t.nextSibling)}}}function y(e){let t=[][u],n=t;if(e[u]!==f("Z"))return!1;for(let r="",i="B<H4P+".split(""),o=f(i.shift());o;o=f(i.shift()||"A"))--o<""[u]?n|=(h(""+h(d(r)+(d(p(e,Math.abs(o),2))+[]).padStart(2,"0")))%97||2)>>1:r=p(e,o,o?1===i[u]?9:8:6);return n===t}},"7be6":function(e,t,n){(function(e,t){t(n("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("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}var o=e.defineLocale("sk",{months:t,monthsShort:n,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 o}))},"7c81":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("a45a"),s=n("9389"),a=n("4b7d"),l=n("3bc6");function c(){const e=r.dom.window;e._mutationObserverMicrotaskQueued||(e._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(()=>{u()}))}function u(){const e=r.dom.window;e._mutationObserverMicrotaskQueued=!1;const t=o.set.clone(e._mutationObservers),n=o.set.clone(e._signalSlots);o.set.empty(e._signalSlots);for(const r of t){const e=o.list.clone(r._recordQueue);o.list.empty(r._recordQueue);for(let t=0;t<r._nodeList.length;t++){const e=r._nodeList[t];o.list.remove(e._registeredObserverList,e=>i.Guard.isTransientRegisteredObserver(e)&&e.observer===r)}if(!o.list.isEmpty(e))try{r._callback.call(r,e,r)}catch(s){}}if(r.dom.features.slots)for(const r of n)l.event_fireAnEvent("slotchange",r,void 0,{bubbles:!0})}function d(e,t,n,r,i,o,l,u,d){const h=new Map;let p=a.tree_getFirstAncestorNode(t,!0);while(null!==p){for(let o=0;o<p._registeredObserverList.length;o++){const s=p._registeredObserverList[o],a=s.options;if(p!==t&&!a.subtree)continue;if("attributes"===e&&!a.attributes)continue;if("attributes"===e&&a.attributeFilter&&(!a.attributeFilter.includes(n||"")||null!==r))continue;if("characterData"===e&&!a.characterData)continue;if("childList"===e&&!a.childList)continue;const l=s.observer;h.has(l)||h.set(l,null),("attributes"===e&&a.attributeOldValue||"characterData"===e&&a.characterDataOldValue)&&h.set(l,i)}p=a.tree_getNextAncestorNode(t,p,!0)}for(const[a,c]of h){const i=s.create_mutationRecord(e,t,s.create_nodeListStatic(t,o),s.create_nodeListStatic(t,l),u,d,n,r,c),h=a._recordQueue;h.push(i)}c()}function h(e,t,n,r,i){d("childList",e,null,null,null,t,n,r,i)}function p(e,t,n,r){d("attributes",e,t,n,r,[],[],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,n){"use strict";n.r(t);var r,i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-textarea"},[1==e.isEdit?[n("div",{staticClass:"editor-area sticky-editor"},[n("CanvasEditor",{key:e.keys,ref:"wordEditor",attrs:{"edit-mode":e.Modetype,"html-data":e.com.content,"doc-json":e.docJson},on:{save:e.save,"is-save":e.getSave}})],1)]:[n("div",{ref:"richEditor",staticClass:"rich-editor",class:{"view-mode":2==e.isEdit},domProps:{innerHTML:e._s(e.content)},on:{click:e.handleImageClick}})],e.loading?n("div",{staticClass:"overlay"},[n("el-progress",{staticClass:"full-width-progress",attrs:{percentage:e.progress}})],1):e._e()],2)},o=[],s=n("ade3"),a=n("4478"),l=n("2909"),c=n("b85c"),u=n("c7eb"),d=n("1da1"),h=(n("d9e2"),n("99af"),n("4de4"),n("7db0"),n("a630"),n("caad"),n("a15b"),n("d81d"),n("14d9"),n("b0c0"),n("a9e3"),n("b680"),n("b64b"),n("d3b7"),n("07ac"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("25f0"),n("2532"),n("3ca3"),n("466d"),n("5319"),n("498a"),n("0643"),n("2382"),n("fffc"),n("4e3e"),n("a573"),n("159b"),n("ddb0"),n("1c4c")),p=n("bc3a"),f=n.n(p),m=(n("1157"),n("22d6")),A={name:"app",emits:["onUpdate","onUpdateAttr","onUpdateProdAttr"],components:{CanvasEditor:m["a"]},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){console.log("isEdit:",e);var t=this;"2"==e?t.save():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 n(){var r,i;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=t,null!=e){n.next=3;break}return n.abrupt("return");case 3:if(void 0!=e.content&&null!=e.content){n.next=5;break}return n.abrupt("return");case 5:return n.prev=5,n.next=8,r.replaceData(e.content);case 8:i=n.sent,r.htmlData=i,r.content=i,r.$nextTick((function(){r.bindEvents(),r.initializeInputWidths()})),n.next=17;break;case 14:n.prev=14,n.t0=n["catch"](5),console.error("处理 com 时出错:",n.t0);case 17:case"end":return n.stop()}}),n,null,[[5,14]])})))()},immediate:!0,deep:!0},insertCmd:{handler:function(e){var t=this;null!=e&&1==this.isEdit&&this.$nextTick(Object(d["a"])(Object(u["a"])().mark((function n(){var r,i,o,s,a,l,c,d,h,p,f,m,A,g,_;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(n.prev=0,t.$refs.wordEditor){n.next=4;break}return console.warn("编辑器未就绪"),n.abrupt("return");case 4:if(s=t.$refs.wordEditor,a=t.com.content||"",l=e.content,"ProductAttr"!==e.type){n.next=24;break}if(d=null===(c=e.attrs)||void 0===c||null===(c=c.specifications)||void 0===c?void 0:c[0],!d){n.next=24;break}p="".concat(e.id,"_").concat((null===(h=t.com.attrs)||void 0===h?void 0:h.length)||0),f='\n <div class="product-attr-container">\n <div class="spec-label">'.concat(d.psp_name||"规格",':</div>\n <div class="spec-input">\n '),n.t0=d.psp_type,n.next="单选"===n.t0?15:"多选"===n.t0?18:21;break;case 15:return m=d.psp_value?d.psp_value.split(","):[],f+='\n <select \n id="'.concat(p,'" \n data-index="').concat((null===(r=t.com.attrs)||void 0===r?void 0:r.length)||0,'"\n class="text-input-box product-select"\n style="min-width: 120px;"\n >\n <option value="">请选择</option>\n ').concat(m.map((function(e){return'<option value="'.concat(e,'">').concat(e,"</option>")})).join(""),"\n </select>\n "),n.abrupt("break",22);case 18:return A=d.psp_value?d.psp_value.split(","):[],f+='\n <div class="checkbox-group" id="'.concat(p,'" data-index="').concat((null===(i=t.com.attrs)||void 0===i?void 0:i.length)||0,'">\n ').concat(A.map((function(e){var t;return'\n <label class="checkbox-item">\n <input \n type="checkbox" \n value="'.concat(e.trim(),'"\n ').concat(null!==(t=item.content)&&void 0!==t&&t.includes(e.trim())?"checked":"",'\n class="product-checkbox"\n >\n <span class="checkbox-label">').concat(e.trim(),"</span>\n </label>\n ")})).join(""),"\n </div>\n "),n.abrupt("break",22);case 21:f+='\n <input \n type="text" \n id="'.concat(p,'" \n data-index="').concat((null===(o=t.com.attrs)||void 0===o?void 0:o.length)||0,'"\n class="text-input-box auto-width" \n value="').concat(d.ps_name||"",'"\n placeholder="请输入').concat(d.psp_name||"",'"\n style="min-width: 120px;"\n >\n ');case 22:f+="\n </div>\n </div>\n ",l=f;case 24:return l.includes("{{")&&l.includes("}}")&&(l=" ".concat(l," ")),s.getSelection?(_=s.getSelection(),g=_?a.substring(0,_.start)+l+a.substring(_.end):a+l):g=a+l,t.com.content=g,s.setHtmlData&&s.setHtmlData(g),t.keys=(new Date).getTime(),n.next=31,t.save({main:g});case 31:t.$nextTick((function(){t.bindProductAttrEvents(),t.$forceUpdate()})),n.next=37;break;case 34:n.prev=34,n.t1=n["catch"](0),console.error("插入内容时出错:",n.t1);case 37:case"end":return n.stop()}}),n,null,[[0,34]])}))))},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:{},Modetype:"edit",htmlData:"",docJson:null,keys:(new Date).getTime()}},mounted:function(){var e=this;this.$nextTick((function(){e.initializeInputWidths(),e.syncContent(),e.bindProductAttrEvents()}))},updated:function(){var e=this;this.$nextTick((function(){"2"==e.isEdit?e.syncContent():e.bindProductAttrEvents()}))},beforeDestroy:function(){var e=this;this.$el.removeEventListener("input",this.handleInputChange),this.$el.removeEventListener("input",this.handleVariableNullInput),this.$el.removeEventListener("blur",this.handleVariableNullBlur,!0);var t=this.$el.querySelectorAll(".text-input-box");t.forEach((function(t){t.removeEventListener("change",e.handleProductAttrChange)}))},methods:(r={save:function(e){var t=this;return new Promise(function(){var n=Object(d["a"])(Object(u["a"])().mark((function n(r,i){var o;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,o=e?e.main:t.com.content,t.com.content=o,n.next=5,t.$nextTick();case 5:return n.next=7,t.syncContent();case 7:return t.$emit("onUpdate",t.currentIndex,t.com.content),n.next=10,t.$nextTick();case 10:r(!0),n.next=17;break;case 13:n.prev=13,n.t0=n["catch"](0),console.error("保存失败:",n.t0),i(n.t0);case 17:case"end":return n.stop()}}),n,null,[[0,13]])})));return function(e,t){return n.apply(this,arguments)}}())},getSave:function(e){console.log("是否已保存:",e)},replaceData:function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function n(){var r,i,o,s,d;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=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,n){return e?t:n}},o=Object(u["a"])().mark((function n(){var o,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C,O,x,N,L,I,P,D,F,k,B;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o=r.com.attrs[d].id,"variable"!=r.com.attrs[d].type){n.next=6;break}if(h=r.com.attrs[d],2==h.data.value_type){for(p=h.data.value_item.split(","),f='<select id="'+o+'" data-index="'+d+'" class="text-input-box">',s=0;s<p.length;s++)h.content==p[s]?f+='<option value="'+p[s]+'" selected>'+p[s]+"</option>":f+='<option value="'+p[s]+'">'+p[s]+"</option>";f+="</select>",e=e.replace("{{"+h.id+"}}",f)}else e=e.replace("{{"+o+"}}",'<input type="text" ref="input_'+o+'" name="'+r.com.attrs[d].name+'" id="'+o+'" data-index="'+d+'" class="text-input-box auto-width" value="'+r.com.attrs[d].content+'">');n.next=63;break;case 6:if("variableNull"!=r.com.attrs[d].type){n.next=12;break}m=r.com.attrs[d],t.variableNullInputs[o]=m.content,e=e.replace("{{"+o+"}}",'<input type="text" ref="input_'+o+'" name="'+m.name+'" id="'+o+'" data-index="'+d+'" data-attr-id="'+o+'" class="text-input-boxs auto-width" value="'+m.content+'">'),n.next=63;break;case 12:if("ProductAttr"!=r.com.attrs[d].type){n.next=39;break}if(g=r.com.attrs[d],_=g.id+"_"+d,b=null===(A=g.attrs)||void 0===A||null===(A=A.specifications)||void 0===A?void 0:A[0],b){n.next=19;break}return console.warn("No specifications found for ProductAttr:",g),n.abrupt("return",1);case 19:if(v='\n <div class="product-attr-container">\n <div class="spec-label">'.concat(b.psp_name||"规格",':</div>\n <div class="spec-input">\n '),"1"!=t.isEdit){n.next=24;break}v+='<span class="preview-content">'.concat(g.content||"","</span>"),n.next=35;break;case 24:console.log(b.psp_type),n.t0=b.psp_type,n.next="单选"===n.t0?28:"多选"===n.t0?31:34;break;case 28:return w=b.ps_name?b.ps_name.split(","):[],v+='\n <select \n id="'.concat(_,'" \n data-index="').concat(d,'" \n class="text-input-box product-select"\n style="min-width: 120px;"\n >\n <option value="">请选择</option>\n ').concat(w.map((function(e){return'\n <option \n value="'.concat(e,'" \n ').concat(g.content===e?"selected":"","\n >").concat(e,"</option>\n ")})).join(""),"\n </select>\n "),n.abrupt("break",35);case 31:return y=b.ps_name?b.ps_name.split(","):[],v+='\n <div class="checkbox-group" id="'.concat(_,'" data-index="').concat(d,'">\n ').concat(y.map((function(e){var t;return'\n <label class="checkbox-item">\n <input \n type="checkbox" \n value="'.concat(e.trim(),'"\n ').concat(null!==(t=g.content)&&void 0!==t&&t.includes(e.trim())?"checked":"",'\n class="product-checkbox"\n >\n <span class="checkbox-label">').concat(e.trim(),"</span>\n </label>\n ")})).join(""),"\n </div>\n "),n.abrupt("break",35);case 34:v+='\n <input \n id="'.concat(_,'" \n data-index="').concat(d,'" \n class="text-input-box auto-width" \n value="').concat(g.content||0,'"\n placeholder="请输入').concat(b.psp_name||"",'"\n style="min-width: 120px;"\n >\n ');case 35:v+="\n </div>\n </div>\n ",e=e.replace("{{"+g.id+"}}",v),n.next=63;break;case 39:if("formual"!=r.com.attrs[d].type){n.next=55;break}return n.next=42,r.analysisFormual(r.com.attrs[d]);case 42:return R=n.sent,M=r.com.attrs[d].data.point,n.next=46,r.getRemote(R);case 46:if(R=n.sent,S={},E=/\b[a-zA-Z_][a-zA-Z0-9_]*\b/g,T=R.match(E),T){C=Object(c["a"])(T);try{for(C.s();!(O=C.n()).done;)x=O.value,"IF"===x||Object.keys(i).includes(x)||(S[x]="".concat(x))}catch(u){C.e(u)}finally{C.f()}}N=function(e,t){var n=Object(a["a"])(Function,Object(l["a"])(Object.keys(i)).concat(Object(l["a"])(Object.keys(t)),["return ".concat(e)]));return n.apply(void 0,Object(l["a"])(Object.values(i)).concat(Object(l["a"])(Object.values(t))))};try{L=N(R,S),I="number"!==typeof L||isNaN(L)?"boolean"===typeof L?L?"1":"0":String(L):L.toFixed(M),r.com.attrs[d].content=I,e=e.replace("{{"+r.com.attrs[d].id+"}}",I)}catch(U){console.error("处理公式时出错:",U),console.error("错误的公式:",R),r.com.attrs[d].content="计算错误",e=e.replace("{{"+r.com.attrs[d].id+"}}","计算错误")}n.next=63;break;case 55:if("sourceData"!=r.com.attrs[d].type){n.next=62;break}return n.next=58,r.getRemote1(r.com.attrs[d].formula);case 58:P=n.sent,e=e.replace("{{"+o+"}}",P),n.next=63;break;case 62:"Directory"==r.com.attrs[d].type?(D=r.com.attrs[d].content,F=r.com.attrs[d].level||1,k=r.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,n){var r="h".concat(Math.min(F,6)),i="directory-level-".concat(F);return"<".concat(r,' class="').concat(i,'">').concat(D,"</").concat(r,">")})),e=e.replace(/{{([\w-]+)}}/g,(function(e,t){var n=r.com.attrs.find((function(e){return e.id===t}));if(n&&"Directory"===n.type){var i=n.level,o="h".concat(Math.min(i,6)),s="directory-level-".concat(i),a="".concat(n.content);return"<".concat(o,' class="').concat(s,'">').concat(a,"</").concat(o,">")}return e}))):e=e.replace("{{"+o+"}}",r.com.attrs[d].content);case 63:case"end":return n.stop()}}),n)})),d=0;case 4:if(!(d<r.com.attrs.length)){n.next=11;break}return n.delegateYield(o(),"t0",6);case 6:if(!n.t0){n.next=8;break}return n.abrupt("continue",8);case 8:d++,n.next=4;break;case 11:return t.$nextTick((function(){t.addInputListeners(),t.initializeInputWidths(),t.addVariableNullListeners()})),n.abrupt("return",e);case 13:case"end":return n.stop()}}),n)})))()},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,n=e.target.value;this.$set(this.variableNullInputs,t,n)}},handleVariableNullBlur:function(e){if(e.target.classList.contains("text-input-boxs")){var t=parseInt(e.target.dataset.index,10),n=e.target.dataset.attrId,r=this.variableNullInputs[n];this.updateVariableNullContent(t,n,r,!0)}},updateVariableNullContent:function(e,t,n){var r=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",n),this.$nextTick((function(){var e=r.$el.querySelector("#".concat(t));e&&(e.value=n)})),i&&this.$emit("onUpdata",this.currentIndex,e,t,n))},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,n=document.createElement("span");n.className="size-calculator",n.textContent=t.value||t.placeholder||"0",document.body.appendChild(n);var r=window.getComputedStyle(t);n.style.font=r.font,n.style.fontSize=r.fontSize,n.style.fontWeight=r.fontWeight,n.style.letterSpacing=r.letterSpacing;var i=n.offsetWidth;t.style.width="".concat(i+10,"px"),document.body.removeChild(n)}},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 n=e.target.name,r=parseInt(e.target.dataset.index,10),i=e.target.value;this.com&&this.com.attrs&&this.com.attrs[r]?(this.$set(this.com.attrs[r],"content",i),this.com.attrs.forEach((function(e){e.name===n&&t.$set(e,"content",i)})),this.$emit("onUpdateAttr",this.currentIndex,r,i)):console.warn("Unable to find attribute at index ".concat(r))}},bindEvents:function(){for(var e=this,t=0;t<e.com.attrs.length;t++){var n=e.com.attrs[t].id,r=e.com.attrs[t];if("variable"==e.com.attrs[t].type){var i=e.$el.querySelector("#"+n);i&&(2==r.data.value_type?i.addEventListener("change",e.handleInput):i.addEventListener("blur",e.handleInput))}else if("ProductAttr"==e.com.attrs[t].type){var o=r.id+"_"+t,s=e.$el.querySelector("#"+o);s&&(1==r.attrs.type?s.addEventListener("blur",e.handleInputProduct):s.addEventListener("change",e.handleChangeProduct))}}},analysisFormual:function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function n(){var r,i,o,s,a;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=t,i=e.formula,o=/\[T\]\[(.*?)\]\[(.*?)\]/g,n.next=5,t.replaceAsync(i,o,function(){var e=Object(d["a"])(Object(u["a"])().mark((function e(t,n,i){var o;return Object(u["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.getModuleData(n,i);case 3:if(o=e.sent,null!==o&&void 0!==o){e.next=9;break}return console.warn("获取到的数据无效: ".concat(t)),e.abrupt("return","''");case 9:return e.abrupt("return","string"===typeof o?"".concat(o):o);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,n,r){return e.apply(this,arguments)}}());case 5:i=n.sent,s=/IF\s*\((.*?),(.*?),(.*?)\)/gi,a=0;while(i.match(s)&&a<10)i=i.replace(s,(function(e,t,n,r){return n.includes("IF(")||r.includes("IF(")||n.includes("if(")||r.includes("if(")?"(".concat(t," ? (").concat(n,") : (").concat(r,"))"):"(".concat(t," ? ").concat(n," : ").concat(r,")")})),a++;return n.abrupt("return",i);case 10:case"end":return n.stop()}}),n)})))()},replaceAsync:function(e,t,n){return Object(d["a"])(Object(u["a"])().mark((function r(){var i,o;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=[],e.replace(t,(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var s=n.apply(void 0,[e].concat(r));i.push(s)})),r.next=4,Promise.all(i);case 4:return o=r.sent,r.abrupt("return",e.replace(t,(function(){return o.shift()})));case 6:case"end":return r.stop()}}),r)})))()}},Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(r,"replaceAsync",(function(e,t,n){return Object(d["a"])(Object(u["a"])().mark((function r(){var i,o;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=[],e.replace(t,(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var s=n.apply(void 0,[e].concat(r));i.push(s)})),r.next=4,Promise.all(i);case 4:return o=r.sent,r.abrupt("return",e.replace(t,(function(){return o.shift()})));case 6:case"end":return r.stop()}}),r)})))()})),"getFormualData",(function(e,t){var n=this;return Object(d["a"])(Object(u["a"])().mark((function t(){var r,i,o,s,a;return Object(u["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=n,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i),s=e.match(o),a=0,!s||"T"!=s[1]){t.next=11;break}return t.next=8,r.getModuleData(s[2],s[3]);case 8:a=t.sent,t.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return t.abrupt("return",a);case 13:case"end":return t.stop()}}),t)})))()})),"getRemote",(function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function n(){var r,i,o,s,a,l,c;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i);case 3:if(s=e.match(o),null!=s){n.next=7;break}return n.abrupt("break",18);case 7:if("R"!=s[1]){n.next=16;break}return a=s[4],a=s[4].split(","),n.next=12,r.getRemoteData(s[2],s[3],a[0],a[1]);case 12:l=n.sent,c=s[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")"),e=e.replace(c,"("+parseFloat(l)+")");case 16:n.next=3;break;case 18:return n.abrupt("return",e);case 19:case"end":return n.stop()}}),n)})))()})),"getRemote1",(function(e){var t=this;return Object(d["a"])(Object(u["a"])().mark((function n(){var r,i,o,s,a,l,c;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i);case 3:if(s=e.match(o),null!=s){n.next=7;break}return n.abrupt("break",17);case 7:if("R"!=s[1]){n.next=15;break}return a=s[4],a=s[4].split(","),n.next=12,r.getRemoteData(s[2],s[3],a[0],a[1]);case 12:l=n.sent,c=s[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")");case 15:n.next=3;break;case 17:return n.abrupt("return",e);case 18:case"end":return n.stop()}}),n)})))()})),"onFocus",(function(){this.isEditing=!0})),"onBlur",(function(){this.isEditing=!1})),"getRemoteData",(function(e,t,n,r){var i=this;return Object(d["a"])(Object(u["a"])().mark((function o(){var s,a,l;return Object(u["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return i,s=0,a={code:e,sheetName:t,row:n,col:r},o.prev=3,o.next=6,Object(h["a"])(a);case 6:if(l=o.sent,l){o.next=10;break}return console.warn("No response received from findData"),o.abrupt("return",s);case 10:200===l.status&&l.data?(s=l.data.result,"string"!==typeof s||isNaN(s)||(s=parseFloat(s))):console.warn("Invalid response format:",l),o.next=17;break;case 13:o.prev=13,o.t0=o["catch"](3),console.error("获取远程数据错误:",o.t0),i.$message&&i.$message.error("获取远程数据失败");case 17:return o.abrupt("return",s);case 18:case"end":return o.stop()}}),o,null,[[3,13]])})))()})),"getModuleData",(function(e,t){var n=this;return Object(d["a"])(Object(u["a"])().mark((function r(){var i,o,s;return Object(u["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(i=n,o=i.coms.filter((function(t){return t.name==e})),!(o.length>0)){r.next=6;break}if(s=o[0].attrs.filter((function(e){return e.name==t})),!(s.length>0)){r.next=6;break}return r.abrupt("return",s[0].content);case 6:return r.abrupt("return","");case 7:case"end":return r.stop()}}),r)})))()})),"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(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(r,"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 n;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(n=t.sent,console.log("Upload response:",n),200!==n.status||!n.data||!n.data.url){t.next=9;break}return t.abrupt("return",n.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 n(){var r,i,o;return Object(u["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.selectImage();case 3:if(r=n.sent,!r){n.next=12;break}return i=new FormData,i.append("upload",r),n.next=9,t.uploadImage(i);case 9:o=n.sent,e.src=o,t.$nextTick((function(){t.updateContentWithNewImage(e,o)}));case 12:n.next=17;break;case 14:n.prev=14,n.t0=n["catch"](0),console.error("Error replacing image:",n.t0);case 17:case"end":return n.stop()}}),n,null,[[0,14]])})))()})),"updateContentWithNewImage",(function(e,t){var n=this.$refs.richEditor,r=document.createElement("img");r.src=t;var i,o=Object(c["a"])(e.attributes);try{for(o.s();!(i=o.n()).done;){var s=i.value;"src"!==s.name&&r.setAttribute(s.name,s.value)}}catch(a){o.e(a)}finally{o.f()}e.parentNode.replaceChild(r,e),this.content=n.innerHTML,this.com.content=this.content,this.$emit("updateComContent",this.currentIndex,this.com)})),"syncContent",(function(){var e=this;return Object(d["a"])(Object(u["a"])().mark((function t(){var n,r;return Object(u["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("2"!=e.isEdit||!e.com||!e.com.content){t.next=11;break}return n=e.formatContent(e.com.content),t.next=4,e.replaceData(n);case 4:return r=t.sent,e.content=r,t.next=8,e.$nextTick();case 8:e.bindEvents(),e.initializeInputWidths(),e.com.attrs&&e.com.attrs.forEach((function(t,n){var r=e.$el.querySelector("#".concat(t.id));r&&(r.value=t.content||"",e.adjustInputWidth({target:r}))}));case 11:case"end":return t.stop()}}),t)})))()})),"getCursorPosition",(function(){var e=this.$refs.wordEditor;if(!e)return 0;if(e.getCursorPosition)return e.getCursorPosition();if(e.getSelection){var t=e.getSelection();return t&&t.start||0}return 0})),Object(s["a"])(Object(s["a"])(Object(s["a"])(Object(s["a"])(r,"formatContent",(function(e){return e.replace(/\s+/g," ").replace(/\n/g,"<br>")})),"handleProductAttrChange",(function(e){var t=e.target,n=t.closest(".checkbox-group, .product-select, .product-input");if(n){var r=parseInt(n.dataset.index),i=this.com.attrs[r];if(i&&"ProductAttr"===i.type){var o;if(n.classList.contains("checkbox-group")){var s=n.querySelectorAll('input[type="checkbox"]:checked');o=Array.from(s).map((function(e){return e.value})).filter(Boolean).join(",")}else o=t.multiple?Array.from(t.selectedOptions).map((function(e){return e.value})).filter(Boolean).join(","):t.value;this.$set(i,"content",o),this.$emit("onUpdateProdAttr",this.currentIndex,r,o)}}})),"handleProductAttrInput",(function(e){var t=e.target;t.classList.contains("product-input")&&this.adjustInputWidth({target:t})})),"bindProductAttrEvents",(function(){var e=this;this.$nextTick((function(){var t=e.$el.querySelectorAll(".product-input, .product-select, .product-checkbox");console.log("Found product inputs:",t.length),t.forEach((function(t){t.removeEventListener("change",e.handleProductAttrChange),t.removeEventListener("input",e.handleProductAttrInput),t.removeEventListener("blur",e.handleProductAttrChange),t.removeAttribute("readonly"),t.removeAttribute("disabled"),"checkbox"===t.type||"select"===t.tagName.toLowerCase()?t.addEventListener("change",e.handleProductAttrChange):(t.addEventListener("input",e.handleProductAttrInput),t.addEventListener("blur",e.handleProductAttrChange))}))}))})))},g=A,_=(n("0428"),n("2877")),b=Object(_["a"])(g,i,o,!1,null,"07f6e56c",null);t["default"]=b.exports},"7d2a":function(e,t){var n=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>n||t!==t)throw new TypeError("Bad key length")}},"7d2b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},"7d2e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("aa6e");t.ObjectCache=r.ObjectCache;var i=n("6b4c");function o(e,t,...n){Object.getOwnPropertyNames(t.prototype).forEach(r=>{if(n.includes(r)){const t=Object.getOwnPropertyDescriptor(e.prototype,r);t&&Object.defineProperty(e.prototype,"_"+r,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,r);i&&Object.defineProperty(e.prototype,r,i)})}function s(e,t,n=!1){const r=h(e||{});for(const[i,o]of l(t))g(o)?r[i]=s(r[i],o):(n||void 0===r[i])&&(r[i]=o);return r}function*a(e){yield*e}function*l(e){if(b(e))yield*e;else for(const t in e)e.hasOwnProperty(t)&&(yield[t,e[t]])}function c(e){return b(e)?e.size:Object.keys(e).length}function u(e,t){return b(e)?e.get(t):e[t]}function d(e,t){b(e)?e.delete(t):delete e[t]}function h(e){if(A(e))return e;if(_(e)){const t=[];for(const n of e)t.push(h(n));return t}if(g(e)){const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=h(r)}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 b(e){return e instanceof Map}function v(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),n=t.constructor;return t&&n&&"function"===typeof n&&n instanceof n&&Function.prototype.toString.call(n)===Function.prototype.toString.call(Object)}return!1}function y(e){return e&&"function"===typeof e[Symbol.iterator]}function R(e){return A(e.valueOf)?e.valueOf():e}t.CompareCache=i.CompareCache,t.applyMixin=o,t.applyDefaults=s,t.forEachArray=a,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=b,t.isEmpty=v,t.isPlainObject=w,t.isIterable=y,t.getValue=R},"7d33":function(e,t,n){},"7d72":function(e,t,n){"use strict";var r=n("8707").Buffer,i=r.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 o(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 s(e){var t=o(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function a(e){var t;switch(this.encoding=s(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=b)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.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,n){var r=t.length-1;if(r<n)return 0;var i=l(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function u(e,t,n){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,n=u(this,e,t);return void 0!==n?n: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 n=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}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 n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}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 n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function A(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?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-n))}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 b(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},a.prototype.end=p,a.prototype.text=h,a.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,n){var r=t;r.utils=n("c3c0"),r.common=n("edc9"),r.sha=n("5919"),r.ripemd=n("bb44"),r.hmac=n("2137"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},"7dd0":function(e,t,n){"use strict";function r(e){return window.requestAnimationFrame(e)}function i(e){window.cancelAnimationFrame(e)}function o(){return"ontouchstart"in window}function s(){return"undefined"!==typeof window}let a;function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a||(a="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,a)}n.r(t),n.d(t,"requestAnimationFrame",(function(){return r})),n.d(t,"cancelAnimationFrame",(function(){return i})),n.d(t,"isTouchSupported",(function(){return o})),n.d(t,"isCSR",(function(){return s})),n.d(t,"getComparisonFunction",(function(){return l}))},"7e78":function(e,t,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,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,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(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,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,a=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(n)+h(f,r,i,o)+a+t[p]+s[f]|0;a=o,o=i,i=d(r),r=n,n=m}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+this._e|0},l.prototype._hash=function(){var e=o.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,n){"use strict";var r=30,i=12;e.exports=function(e,t){var n,o,s,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C;n=e.state,o=e.next_in,T=e.input,s=o+(e.avail_in-5),a=e.next_out,C=e.output,l=a-(t-e.avail_out),c=a+(e.avail_out-257),u=n.dmax,d=n.wsize,h=n.whave,p=n.wnext,f=n.window,m=n.hold,A=n.bits,g=n.lencode,_=n.distcode,b=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{A<15&&(m+=T[o++]<<A,A+=8,m+=T[o++]<<A,A+=8),w=g[m&b];t:for(;;){if(y=w>>>24,m>>>=y,A-=y,y=w>>>16&255,0===y)C[a++]=65535&w;else{if(!(16&y)){if(0===(64&y)){w=g[(65535&w)+(m&(1<<y)-1)];continue t}if(32&y){n.mode=i;break e}e.msg="invalid literal/length code",n.mode=r;break e}R=65535&w,y&=15,y&&(A<y&&(m+=T[o++]<<A,A+=8),R+=m&(1<<y)-1,m>>>=y,A-=y),A<15&&(m+=T[o++]<<A,A+=8,m+=T[o++]<<A,A+=8),w=_[m&v];n: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 n}e.msg="invalid distance code",n.mode=r;break e}if(M=65535&w,y&=15,A<y&&(m+=T[o++]<<A,A+=8,A<y&&(m+=T[o++]<<A,A+=8)),M+=m&(1<<y)-1,M>u){e.msg="invalid distance too far back",n.mode=r;break e}if(m>>>=y,A-=y,y=a-l,M>y){if(y=M-y,y>h&&n.sane){e.msg="invalid distance too far back",n.mode=r;break e}if(S=0,E=f,0===p){if(S+=d-y,y<R){R-=y;do{C[a++]=f[S++]}while(--y);S=a-M,E=C}}else if(p<y){if(S+=d+p-y,y-=p,y<R){R-=y;do{C[a++]=f[S++]}while(--y);if(S=0,p<R){y=p,R-=y;do{C[a++]=f[S++]}while(--y);S=a-M,E=C}}}else if(S+=p-y,y<R){R-=y;do{C[a++]=f[S++]}while(--y);S=a-M,E=C}while(R>2)C[a++]=E[S++],C[a++]=E[S++],C[a++]=E[S++],R-=3;R&&(C[a++]=E[S++],R>1&&(C[a++]=E[S++]))}else{S=a-M;do{C[a++]=C[S++],C[a++]=C[S++],C[a++]=C[S++],R-=3}while(R>2);R&&(C[a++]=C[S++],R>1&&(C[a++]=C[S++]))}break}}break}}while(o<s&&a<c);R=A>>3,o-=R,A-=R<<3,m&=(1<<A)-1,e.next_in=o,e.next_out=a,e.avail_in=o<s?s-o+5:5-(o-s),e.avail_out=a<c?c-a+257:257-(a-c),n.hold=m,n.bits=A}},"7ed3":function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("825a"),s=n("861d"),a=n("c60d"),l=n("d039"),c=n("9bf2"),u=n("06cf"),d=n("e163"),h=n("5c6c");function p(e,t,n){var r,l,f,m=arguments.length<4?e:arguments[3],A=u.f(o(e),t);if(!A){if(s(l=d(e)))return p(l,t,n,m);A=h(0)}if(a(A)){if(!1===A.writable||!s(m))return!1;if(r=u.f(m,t)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,c.f(m,t,r)}else c.f(m,t,h(0,n))}else{if(f=A.set,void 0===f)return!1;i(f,m,n)}return!0}var f=l((function(){var e=function(){},t=c.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}));r({target:"Reflect",stat:!0,forced:f},{set:p})},"7ef7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("69a8"),s=n("4b7d"),a=n("7c81");function l(e){const t=r.dom.window;t._signalSlots.add(e),a.observer_queueAMutationObserverMicrotask()}function c(e){return i.Guard.isDocumentNode(s.tree_rootNode(e,!0))}function u(e){return null!==e._assignedSlot}function d(e,t=!1){const n=i.Cast.asNode(e),r=n._parent;if(null===r)return null;const o=r._shadowRoot||null;if(null===o)return null;if(t&&"open"!==o._mode)return null;let a=s.tree_getFirstDescendantNode(o,!1,!0,e=>i.Guard.isSlot(e));while(null!==a){if(a._name===e._name)return a;a=s.tree_getNextDescendantNode(o,a,!1,!0,e=>i.Guard.isSlot(e))}return null}function h(e){const t=[],n=s.tree_rootNode(e);if(!i.Guard.isShadowRoot(n))return t;const r=n._host;for(const o of r._children)if(i.Guard.isSlotable(o)){const n=d(o);n===e&&t.push(o)}return t}function p(e){const t=[],n=s.tree_rootNode(e);if(!i.Guard.isShadowRoot(n))return t;const r=h(e);if(o.isEmpty(r))for(const o of e._children)i.Guard.isSlotable(o)&&r.push(o);for(const o of r)if(i.Guard.isSlot(o)&&i.Guard.isShadowRoot(s.tree_rootNode(o))){const e=p(o);t.push(...e)}else t.push(o);return t}function f(e){const t=h(e);if(t.length===e._assignedNodes.length){let n=!0;for(let r=0;r<t.length;r++)if(t[r]!==e._assignedNodes[r]){n=!1;break}n||l(e)}e._assignedNodes=t;for(const n of t)n._assignedSlot=e}function m(e){let t=s.tree_getFirstDescendantNode(e,!0,!1,e=>i.Guard.isSlot(e));while(null!==t)f(t),t=s.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,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.coms.length>0?n("div",{staticClass:"com-list"},[n("div",{staticClass:"com-list-title"},[e._v("模块管理")]),n("div",{staticClass:"com-items"},[n("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,r){return[n("div",{key:r,staticClass:"com-item",attrs:{draggable:""}},[n("div",{staticClass:"icon"},[n("svg-icon",{attrs:{"icon-class":"dashBoard1"}})],1),n("div",{staticClass:"name",on:{click:function(t){return e.onSetActive(r)}}},[e._v(e._s(t.name))]),"document"!==e.type?n("div",{staticClass:"remove",on:{click:function(t){return e.onRemove(r)}}},[n("svg-icon",{staticStyle:{cursor:"pointer"},attrs:{"icon-class":"delete"}})],1):e._e()])]}))],2)],1)]):e._e()},i=[],o=n("c7eb"),s=n("1da1"),a=n("b76a"),l=n.n(a),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(s["a"])(Object(o["a"])().mark((function n(){var r;return Object(o["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.preventDefault(),r=t.coms,t.$emit("onRebuild",r);case 3:case"end":return n.stop()}}),n)})))()},onSetActive:function(e){this.$emit("onSetActive",e)},onRemove:function(e){this.$emit("onRemove",e)}}},u=c,d=(n("1c6d"),n("2877")),h=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=h.exports},"7f33":function(e,t,n){(function(e,t){t(n("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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("5230"),i=n("ff74"),o=n("4850"),s=n("9688"),a=n("a45a"),l=n("fea4"),c=n("a32f"),u=n("9af8"),d=n("0213"),h=n("83e1"),p=n("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||{},r.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",a.namespace.XML),this._prefixIndex={value:1}}ele(e,t,n){if(i.isObject(e)||i.isString(e)&&(/^\s*</.test(e)||/^\s*[\{\[]/.test(e))){const t=o.fragment().set(this._options);try{t.ele(e)}catch(r){return this.emit("error",r),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=o.fragment(this._builderOptions).ele(e,t,n)}catch(r){return this.emit("error",r),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,n){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,n)}catch(r){return this.emit("error",r),this}return this}com(e){let t;this._serializeOpenTag(!0);try{t=o.fragment(this._builderOptions).com(e).first().node}catch(n){return this.emit("error",n),this}return!this._options.wellFormed||s.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=o.fragment(this._builderOptions).txt(e).first().node}catch(r){return this.emit("error",r),this}if(this._options.wellFormed&&!s.xml_isLegalChar(t.data))return this.emit("error",new Error("Text data contains invalid characters (well-formed required).")),this;let n="";if(this._options.noDoubleEncoding)n=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];n+="&"===e?"&amp;":"<"===e?"&lt;":">"===e?"&gt;":e}return this._push(this._writer.text(n)),this}ins(e,t=""){let n;this._serializeOpenTag(!0);try{n=o.fragment(this._builderOptions).ins(e,t).first().node}catch(r){return this.emit("error",r),this}return this._options.wellFormed&&(-1!==n.target.indexOf(":")||/^xml$/i.test(n.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!s.xml_isLegalChar(n.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(n.target,n.data)),this)}dat(e){let t;this._serializeOpenTag(!0);try{t=o.fragment(this._builderOptions).dat(e).first().node}catch(n){return this.emit("error",n),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=o.create().dtd(e).first().node}catch(n){return this.emit("error",n),this}return this._options.wellFormed&&!s.xml_isPubidChar(t.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!s.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(":")||!s.xml_isName(t.localName)))return void this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."));let n="",r=!1,i=this._prefixMap.copy(),o={},l=this._recordNamespaceInformation(t,i,o),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&&(r=!0),n=u===a.namespace.XML?"xml:"+t.localName:t.localName,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n));else{let e=t.prefix,s=null;if(null===e&&u===l||(s=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)."));s=e}null!==s?(n=s+":"+t.localName,null!==l&&l!==a.namespace.XML&&(c=l||null),this._writer.beginElement(n),this._push(this._writer.openTagBegin(n))):null!==e?(e in o&&(e=this._generatePrefix(u,i,this._prefixIndex)),i.set(e,u),n+=e+":"+t.localName,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)),this._push(this._writer.attribute("xmlns:"+e,this._serializeAttributeValue(u,this._options.wellFormed))),null!==l&&(c=l||null)):null===l||null!==l&&l!==u?(r=!0,n+=t.localName,c=u,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(u,this._options.wellFormed)))):(n+=t.localName,c=u,this._writer.beginElement(n),this._push(this._writer.openTagBegin(n)))}this._serializeAttributes(t,i,this._prefixIndex,o,r,this._options.wellFormed);const d=u===a.namespace.HTML;d&&!e&&f._VoidElementNames.has(t.localName)?(this._push(this._writer.openTagEnd(n,!0,!0)),this._writer.endElement(n)):d||e?this._push(this._writer.openTagEnd(n,!1,!1)):(this._push(this._writer.openTagEnd(n,!0,!1)),this._writer.endElement(n)),this._currentElementSerialized=!0,this._openTags.push([n,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,n,r,i]=e;this._prefixMap=r,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 n of e.attributes){const e=n.prefix?n.prefix+":"+n.localName:n.localName;null!==n.namespaceURI?this.att(n.namespaceURI,e,n.value):this.att(e,n.value)}for(const n of e.childNodes)this._fromNode(n);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,n,r,i,o){const l=o?new c.LocalNameSet:void 0;for(const c of e.attributes){if(!o&&!i&&null===c.namespaceURI){this._push(this._writer.attribute(c.localName,this._serializeAttributeValue(c.value,this._options.wellFormed)));continue}if(o&&l&&l.has(c.namespaceURI,c.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));o&&l&&l.set(c.namespaceURI,c.localName);let e=c.namespaceURI,u=null;if(null!==e)if(u=t.get(c.prefix,e),e===a.namespace.XMLNS){if(c.value===a.namespace.XML||null===c.prefix&&i||null!==c.prefix&&(!(c.localName in r)||r[c.localName]!==c.value)&&t.has(c.localName,c.value))continue;if(o&&c.value===a.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(o&&""===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,n):c.prefix,this._push(this._writer.attribute("xmlns:"+u,this._serializeAttributeValue(e,this._options.wellFormed))));if(o&&(-1!==c.localName.indexOf(":")||!s.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&&!s.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 n=0;n<e.length;n++){const r=e[n];t+='"'===r?"&quot;":"&"===r?"&amp;":"<"===r?"&lt;":">"===r?"&gt;":r}return t}}_recordNamespaceInformation(e,t,n){let r=null;for(const i of e.attributes){let e=i.namespaceURI,o=i.prefix;if(e===a.namespace.XMLNS){if(null===o){r=i.value;continue}{let e=i.localName,r=i.value;if(r===a.namespace.XML)continue;if(""===r&&(r=null),t.has(e,r))continue;t.set(e,r),n[e]=r||""}}}return r}_generatePrefix(e,t,n){let r="ns"+n.value;return n.value++,t.set(r,e),r}_isPrefixMapModified(e,t){const n=e._items,r=t._items,i=e._nullItems,o=t._nullItems;for(const s in r){const e=n[s];if(void 0===e)return!0;const t=r[s];if(e.length!==t.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!0}if(i.length!==o.length)return!0;for(let s=0;s<i.length;s++)if(i[s]!==o[s])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,n){"use strict";var r=n("59ed"),i=n("825a"),o=n("c65b"),s=n("5926"),a=n("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=r(e.has),this.keys=r(e.keys)};h.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!==t)throw new u(l);var n=s(t);if(n<0)throw new c(l);return new h(e,n)}},"7f7a":function(e,t,n){var r=t;r.bignum=n("bc12"),r.define=n("ef3a").define,r.base=n("41df"),r.constants=n("0211"),r.decoders=n("20f6"),r.encoders=n("343e")},"7f98":function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("f17c"),i=n("42e9"),o=n("68d5");class s extends r.TextImpl{constructor(e){super(e)}static _create(e,t=""){const n=new s(t);return n._nodeDocument=e,n}}t.CDATASectionImpl=s,o.idl_defineConst(s.prototype,"_nodeType",i.NodeType.CData)},8:function(e,t){},"802d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("9688"),o=n("68d5");class s{constructor(e,t){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=r.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 n=this._currentTarget;if(null===n)throw new Error("Event currentTarget is null.");e.push(n);let r=0,i=0,o=t.length-1;while(o>=0){if(t[o].rootOfClosedTree&&i++,t[o].invocationTarget===n){r=o;break}t[o].slotInClosedTree&&i--,o--}let s=i,a=i;o=r-1;while(o>=0)t[o].rootOfClosedTree&&s++,s<=a&&e.unshift(t[o].invocationTarget),t[o].slotInClosedTree&&(s--,s<a&&(a=s)),o--;s=i,a=i,o=r+1;while(o<t.length)t[o].slotInClosedTree&&s++,s<=a&&e.push(t[o].invocationTarget),t[o].rootOfClosedTree&&(s--,s<a&&(a=s)),o++;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,n=!1){this._dispatchFlag||i.event_initialize(this,e,t,n)}}t.EventImpl=s,s.NONE=0,s.CAPTURING_PHASE=1,s.AT_TARGET=2,s.BUBBLING_PHASE=3,o.idl_defineConst(s.prototype,"NONE",0),o.idl_defineConst(s.prototype,"CAPTURING_PHASE",1),o.idl_defineConst(s.prototype,"AT_TARGET",2),o.idl_defineConst(s.prototype,"BUBBLING_PHASE",3)},8033:function(e,t,n){},8098:function(e,t,n){var r=n("7797").decode,i=n("ade0");e.exports=function(e,t){var n={convert:function(e,i){return"tag"===e.type||"script"===e.type||"style"===e.type?n.convertTag(e,i):"text"===e.type?new t(r(e.data)):new t("")},convertTag:function(t,r){var o,s=i(t);r&&(o=r(s));var a=Array.prototype.map.call(t.children||[],(function(e){return n.convert(e,r)}));return new e(t.name,s,a,o)}};return n}},"80af":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(9).Buffer}catch(T){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.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},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,n=0!==o||s!==this.length-1?u[6-l.length]+l+n:l+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],p=h[e];n="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),n=f.isZero()?m+n:u[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,c=new e(o),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[a]=s;for(;a<o;a++)c[a]=0}else{for(a=0;a<o-i;a++)c[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[o-a-1]=s}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function A(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new _;return r.mulp(e,t,n)}function _(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?f(this,e,t):r<1024?A(this,e,t):g(this,e,t),n},_.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},_.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},_.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},_.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},_.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},_.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},_.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},_.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"===typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function R(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(w,v),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&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,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(R,v),i(M,v),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new R;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(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 o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},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},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},8127:function(e,t,n){"use strict";n("f955")},8155:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  194. //! moment.js locale configuration
  195. function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund",i;case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami",i;case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami",i;case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi",i;case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci",i;case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti",i}}var n=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 n}))},"815f":function(e,t,n){var r=n("44e8"),i=function(e){var t=new r.DomHandler,n=new r.Parser(t,{lowerCaseAttributeNames:!1});return n.parseComplete(e),t.dom};e.exports=i},"81e9":function(e,t,n){(function(e,t){t(n("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(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var o="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":o=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta";break}return o=i(e,r)+" "+o,o}function i(e,r){return e<10?r?n[e]:t[e]:e}var o=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: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 o}))},"81ea":function(e,t,n){"use strict";n.r(t),n.d(t,"to2dArray",(function(){return r})),n.d(t,"extendArray",(function(){return i})),n.d(t,"pivot",(function(){return o})),n.d(t,"arrayReduce",(function(){return s})),n.d(t,"arrayFilter",(function(){return a})),n.d(t,"arrayMap",(function(){return l})),n.d(t,"arrayEach",(function(){return c})),n.d(t,"arraySum",(function(){return u})),n.d(t,"arrayMax",(function(){return d})),n.d(t,"arrayMin",(function(){return h})),n.d(t,"arrayAvg",(function(){return p})),n.d(t,"arrayFlatten",(function(){return f})),n.d(t,"arrayUnique",(function(){return m})),n.d(t,"getDifferenceOfArrays",(function(){return A})),n.d(t,"getIntersectionOfArrays",(function(){return g})),n.d(t,"getUnionOfArrays",(function(){return _})),n.d(t,"stringToArray",(function(){return b}));n("14d9"),n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3");function r(e){const t=e.length;let n=0;while(n<t)e[n]=[e[n]],n+=1}function i(e,t){const n=t.length;let r=0;while(r<n)e.push(t[r]),r+=1}function o(e){const t=[];if(!e||0===e.length||!e[0]||0===e[0].length)return t;const n=e.length,r=e[0].length;for(let i=0;i<n;i++)for(let n=0;n<r;n++)t[n]||(t[n]=[]),t[n][i]=e[i][n];return t}function s(e,t,n,r){let i=-1,o=e,s=n;Array.isArray(e)||(o=Array.from(e));const a=o.length;r&&a&&(i+=1,s=o[i]),i+=1;while(i<a)s=t(s,o[i],i,o),i+=1;return s}function a(e,t){let n=0,r=e;Array.isArray(e)||(r=Array.from(e));const i=r.length,o=[];let s=-1;while(n<i){const e=r[n];t(e,n,r)&&(s+=1,o[s]=e),n+=1}return o}function l(e,t){let n=0,r=e;Array.isArray(e)||(r=Array.from(e));const i=r.length,o=[];let s=-1;while(n<i){const e=r[n];s+=1,o[s]=t(e,n,r),n+=1}return o}function c(e,t){let n=0,r=e;Array.isArray(e)||(r=Array.from(e));const i=r.length;while(n<i){if(!1===t(r[n],n,r))break;n+=1}return e}function u(e){return s(e,(e,t)=>e+t,0)}function d(e){return s(e,(e,t)=>e>t?e:t,Array.isArray(e)?e[0]:void 0)}function h(e){return s(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 s(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),n=0;n<e;n++)t[n]=arguments[n];const[r,...i]=[...t];let o=r;return c(i,e=>{o=o.filter(t=>!e.includes(t))}),o}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[r,...i]=[...t];let o=r;return c(i,e=>{o=o.filter(t=>e.includes(t))}),o}function _(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[r,...i]=[...t],o=new Set(r);return c(i,e=>{c(e,e=>{o.has(e)||o.add(e)})}),Array.from(o)}function b(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,n){var r=n("843f").isTag;function i(e,t,n,r){return Array.isArray(t)||(t=[t]),"number"===typeof r&&isFinite(r)||(r=1/0),o(e,t,!1!==n,r)}function o(e,t,n,r){for(var i,s=[],a=0,l=t.length;a<l;a++){if(e(t[a])&&(s.push(t[a]),--r<=0))break;if(i=t[a].children,n&&i&&i.length>0&&(i=o(e,i,n,r),s=s.concat(i),r-=i.length,r<=0))break}return s}function s(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null}function a(e,t){for(var n=null,i=0,o=t.length;i<o&&!n;i++)r(t[i])&&(e(t[i])?n=t[i]:t[i].children.length>0&&(n=a(e,t[i].children)));return n}function l(e,t){for(var n=0,i=t.length;n<i;n++)if(r(t[n])&&(e(t[n])||t[n].children.length>0&&l(e,t[n].children)))return!0;return!1}function c(e,t){var n=[],i=t.slice();while(i.length){var o=i.shift();r(o)&&(o.children&&o.children.length>0&&i.unshift.apply(i,o.children),e(o)&&n.push(o))}return n}e.exports={filter:i,find:o,findOneChild:s,findOne:a,existsOne:l,findAll:c}},8230:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  198. //! moment.js locale configuration
  199. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=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,n){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 n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return r}))},"82f0":function(e,t,n){var r=n("39f5"),i=n("8707").Buffer,o=n("6430"),s=n("3fb5"),a=n("3f62"),l=n("8c8a"),c=n("bd9d");function u(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}function d(e,t,n){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 r=new a(n),o=t.length,s=o%16;r.update(t),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var l=8*o,u=i.alloc(8);u.writeUIntBE(l,0,8),r.update(u),e._finID=r.state;var d=i.from(e._finID);return c(d),d}function h(e,t,n,s){o.call(this);var l=i.alloc(4,0);this._cipher=new r.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new a(c),n=d(this,n,c),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}s(h,o),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 n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},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,n){var r=n("41df").Reporter,i=n("41df").EncoderBuffer,o=n("41df").DecoderBuffer,s=n("da3e"),a=["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(a),c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function u(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n["default"]=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.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(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},u.prototype._wrap=function(){var e=this._baseState;l.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},u.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(s(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(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(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n})),t})))},c.forEach((function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){u.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(n),this}})),u.prototype.use=function(e){s(e);var t=this._baseState;return s(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 s(null===t["default"]),t["default"]=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return s(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 s(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 s(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 s(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n["default"],s=!0,a=null;if(null!==n.key&&(a=e.enterKey(n.key)),n.optional){var l=null;if(null!==n.explicit?l=n.explicit:null!==n.implicit?l=n.implicit:null!==n.tag&&(l=n.tag),null!==l||n.any){if(s=this._peekTag(e,l,n.any),e.isError(s))return s}else{var c=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(f){s=!1}e.restore(c)}}if(n.obj&&s&&(r=e.enterObject()),s){if(null!==n.explicit){var u=this._decodeTag(e,n.explicit);if(e.isError(u))return u;e=u}var d=e.offset;if(null===n.use&&null===n.choice){if(n.any)c=e.save();var h=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(h))return h;n.any?i=e.raw(c):e=h}if(t&&t.track&&null!==n.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),i=n.any?i:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var p=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(p,t)}}return n.obj&&s&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,n.key,i),i},u.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),s(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},u.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(o){var s=e.save(),a=n.choice[o];try{var l=a._decode(e,t);if(e.isError(l))return!1;r={type:o,value:l},i=!0}catch(c){return e.restore(s),!1}return!0}),this),i?r:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r["default"]||r["default"]!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},u.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i["default"])return;e=i["default"]}var s=null,a=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,n)._encode(e,t),a=!0;else if(i.children)s=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var r=t.enterKey(n._baseState.key);if("object"!==typeof e)return t.error("Child expected, but input is not object");var i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);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,s=this._createEncoderBuffer(e.map((function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),l))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(s=this._encodePrimitive(i.tag,e),a=!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&&(o=this._encodeComposite(c,a,u,s))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.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,n.args&&n.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,n){"use strict";var r=n("cb27"),i=n("384f"),o=r.Set,s=r.add;e.exports=function(e){var t=new o;return i(e,(function(e){s(t,e)})),t}},"83d2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("32d8"),o=n("9688"),s=n("68d5");class a 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){o.attr_setAnExistingAttributeValue(this,e)}get _qualifiedName(){return null!==this._namespacePrefix?this._namespacePrefix+":"+this._localName:this._localName}static _create(e,t){const n=new a(t);return n._nodeDocument=e,n}}t.AttrImpl=a,s.idl_defineConst(a.prototype,"_nodeType",r.NodeType.Attribute),s.idl_defineConst(a.prototype,"specified",!0)},"83d5":function(e,t){e.exports=function(e,t){var n=e.length,r=-1;while(++r<n)e[r]^=t[r];return e}},"83e1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("605c");class i extends r.BaseCBWriter{constructor(e){super(e),this._hasChildren=[],this._additionalLevel=0}declaration(e,t,n){return""}docType(e,t,n){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,n){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,n){(function(e,t){t(n("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,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<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,n){var r=n("3fb5"),i=n("3768");function o(e){i.call(this,e),this.enc="pem"}r(o,i),e.exports=o,o.prototype.encode=function(e,t){for(var n=i.prototype.encode.call(this,e),r=n.toString("base64"),o=["-----BEGIN "+t.label+"-----"],s=0;s<r.length;s+=64)o.push(r.slice(s,s+64));return o.push("-----END "+t.label+"-----"),o.join("\n")}},"861dd":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l}));n("d9e2"),n("14d9");var r=n("5714");function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const a=50;class l extends r["a"]{constructor(e){let{calculationTypes:t,viewportWidth:n,scrollOffset:r,totalColumns:o,columnWidthFn:s,overrideFn:a,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=n,this.scrollOffset=r,this.zeroBasedScrollOffset=Math.max(r,0),this.totalColumns=o,this.columnWidthFn=s,this.overrideFn=a,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)?a:t}}},8689:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  202. //! moment.js locale configuration
  203. var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r=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 n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},"86da":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("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:r.TokenType.EOF};let e=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&e.type===r.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="",n="";while(!this.eof()){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:r.TokenType.Declaration,version:e,encoding:t,standalone:n};{const[r,i]=this.attribute();"version"===r?e=i:"encoding"===r?t=i:"standalone"===r?n=i:this.throwError("Invalid attribute name: "+r)}}this.throwError("Missing declaration end symbol `?>`")}doctype(){let e="",t="";this.skipSpace();const n=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:r.TokenType.DocType,name:n,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:r.TokenType.PI,target:e,data:""};const t=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:r.TokenType.PI,target:e,data:t}}text(){const e=this.takeUntil("<");return{type:r.TokenType.Text,data:e}}comment(){const e=this.takeUntilStartsWith("--\x3e");return this.eof()&&this.throwError("Missing comment end symbol `--\x3e`"),this.seek(3),{type:r.TokenType.Comment,data:e}}cdata(){const e=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:r.TokenType.CDATA,data:e}}openTag(){this.skipSpace();const e=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:r.TokenType.Element,name:e,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:r.TokenType.Element,name:e,attributes:[],selfClosing:!0};const t=[];while(!this.eof()){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:r.TokenType.Element,name:e,attributes:t,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:r.TokenType.Element,name:e,attributes:t,selfClosing:!0};const n=this.attribute();t.push(n)}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:r.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 n=0;n<t;n++)if(this._str[this._index+n]!==e[n])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 n=this._index;while(this._index<this._length){const n=this._str[this._index];if(n===e||t&&i.isSpace(n))break;this._index++}return this._str.slice(n,this._index)}takeUntil2(e,t,n=!1){const r=this._index;while(this._index<this._length){const r=this._str[this._index];if(r===e||r===t||n&&i.isSpace(r))break;this._index++}return this._str.slice(r,this._index)}takeUntilStartsWith(e,t=!1){const n=this._index,r=e.length;while(this._index<this._length){let o=!0;for(let s=0;s<r;s++){const r=this._str[this._index+s],a=e[s];if(t&&i.isSpace(r))return this._str.slice(n,this._index);if(r!==a){this._index++,o=!1;break}}if(o)return this._str.slice(n,this._index)}return this._index=this._length,this._str.slice(n)}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 n=0;n<t.length;n++){const e=t[n];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 n=null,r=0,i=0,o=this._str.length;while(null!==(n=t.exec(this._str))){if(null===n)break;if(r++,n.index<this._index&&(i=t.lastIndex),n.index>this._index){o=n.index;break}}throw this.err={line:r,col:this._index-i,index:this._index,str:this._str.substring(i,o)},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===r.TokenType.EOF?{done:!0,value:null}:{done:!1,value:e}}.bind(this)}}}t.XMLStringLexer=i},8707:function(e,t,n){
  204. /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
  205. var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},8722:function(e,t,n){var r;!function(t){e.exports=t()}((function(){return function e(t,n,i){function o(a,l){if(!n[a]){if(!t[a]){var c="function"==typeof r&&r;if(!l&&c)return r(a,!0);if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[a]={exports:{}};t[a][0].call(d.exports,(function(e){return o(t[a][1][e]||e)}),d,d.exports,e,t,n,i)}return n[a].exports}for(var s="function"==typeof r&&r,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(e,t,n){!function(e){"use strict";var n,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,o=Math.floor,s="[BigNumber Error] ",a=s+"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,n,r=1,i=e.length,o=e[0]+"";r<i;){for(t=e[r++]+"",n=c-t.length;n--;t="0"+t);o+=t}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function A(e,t){var n,r,i=e.c,o=t.c,s=e.s,a=t.s,l=e.e,c=t.e;if(!s||!a)return null;if(n=i&&!i[0],r=o&&!o[0],n||r)return n?r?0:-a:s;if(s!=a)return s;if(n=s<0,r=l==c,!i||!o)return r?0:!i^n?1:-1;if(!r)return c<l^n?1:-1;for(a=(l=i.length)<(c=o.length)?l:c,s=0;s<a;s++)if(i[s]!=o[s])return i[s]>o[s]^n?1:-1;return l==c?0:c<l^n?1:-1}function g(e,t,n,r){if(e<t||n<e||e!==(e<0?i(e):o(e)))throw Error(s+(r||"Argument")+("number"==typeof e?e<t||n<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 b(e,t){return(1<e.length?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function v(e,t,n){var r,i;if(t<0){for(i=n+".";++t;i+=n);e=i+e}else if(++t>(r=e.length)){for(i=n,t-=r;--t;i+=n);e+=i}else t<r&&(e=e.slice(0,t)+"."+e.slice(t));return e}(n=function e(t){var n,w,y,R,M,S,E,T,C,O,x=W.prototype={constructor:W,toString:null,valueOf:null},N=new W(1),L=20,I=4,P=-7,D=21,F=-1e7,k=1e7,B=!1,U=1,H=0,j={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},V="0123456789abcdefghijklmnopqrstuvwxyz";function W(e,t){var n,i,s,l,d,h,p,f,m=this;if(!(m instanceof W))return new W(e,t);if(null==t){if(e instanceof W)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),!r.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 K(m=new W(e instanceof W?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,W.DEBUG&&15<f.replace(/^0\.0*|\./,"").length)throw Error(a+e);h=!1}else m.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1;for(n=V.slice(0,t),l=d=0,p=f.length;d<p;d++)if(n.indexOf(i=f.charAt(d))<0){if("."==i){if(l<d){l=p;continue}}else if(!s&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){s=!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&&W.DEBUG&&15<p&&(u<e||e!==o(e)))throw Error(a+m.s*e);if(k<(l=l-d-1))m.c=m.e=null;else if(l<F)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 Y(e,t,n,r){var i,o,s,a,l;if(null==n?n=I:g(n,0,8),!e.c)return e.toString();if(i=e.c[0],s=e.e,null==t)l=m(e.c),l=1==r||2==r&&(s<=P||D<=s)?b(l,s):v(l,s,"0");else if(o=(e=K(new W(e),t,n)).e,a=(l=m(e.c)).length,1==r||2==r&&(t<=o||o<=P)){for(;a<t;l+="0",a++);l=b(l,o)}else if(t-=s,l=v(l,o,"0"),a<o+1){if(0<--t)for(l+=".";t--;l+="0");}else if(0<(t+=o-a))for(o+1==a&&(l+=".");t--;l+="0");return e.s<0&&i?"-"+l:l}function Q(e,t){for(var n,r=1,i=new W(e[0]);r<e.length;r++){if(!(n=new W(e[r])).s){i=n;break}t.call(i,n)&&(i=n)}return i}function X(e,t,n){for(var r=1,i=t.length;!t[--i];t.pop());for(i=t[0];10<=i;i/=10,r++);return(n=r+n*c-1)>k?e.c=e.e=null:e.c=n<F?[e.e=0]:(e.e=n,t),e}function K(e,t,n,r){var s,a,u,h,p,f,m,A=e.c,g=d;if(A){e:{for(s=1,h=A[0];10<=h;h/=10,s++);if((a=t-s)<0)a+=c,u=t,m=(p=A[f=0])/g[s-u-1]%10|0;else if((f=i((a+1)/c))>=A.length){if(!r)break e;for(;A.length<=f;A.push(0));p=m=0,u=(a%=c)-c+(s=1)}else{for(p=h=A[f],s=1;10<=h;h/=10,s++);m=(u=(a%=c)-c+s)<0?0:p/g[s-u-1]%10|0}if(r=r||t<0||null!=A[f+1]||(u<0?p:p%g[s-u-1]),r=n<4?(m||r)&&(0==n||n==(e.s<0?3:2)):5<m||5==m&&(4==n||r||6==n&&(0<a?0<u?p/g[s-u]:0:A[f-1])%10&1||n==(e.s<0?8:7)),t<1||!A[0])return A.length=0,r?(t-=e.e+1,A[0]=g[(c-t%c)%c],e.e=-t||0):A[0]=e.e=0,e;if(0==a?(A.length=f,h=1,f--):(A.length=f+1,h=g[c-a],A[f]=0<u?o(p/g[s-u]%g[u])*h:0),r)for(;;){if(0==f){for(a=1,u=A[0];10<=u;u/=10,a++);for(u=A[0]+=h,h=1;10<=u;u/=10,h++);a!=h&&(e.e++,A[0]==l&&(A[0]=1));break}if(A[f]+=h,A[f]!=l)break;A[f--]=0,h=1}for(a=A.length;0===A[--a];A.pop());}e.e>k?e.c=e.e=null:e.e<F&&(e.c=[e.e=0])}return e}function G(e){var t,n=e.e;return null===n?e.toString():(t=m(e.c),t=n<=P||D<=n?b(t,n):v(t,n,"0"),e.s<0?"-"+t:t)}return W.clone=e,W.ROUND_UP=0,W.ROUND_DOWN=1,W.ROUND_CEIL=2,W.ROUND_FLOOR=3,W.ROUND_HALF_UP=4,W.ROUND_HALF_DOWN=5,W.ROUND_HALF_EVEN=6,W.ROUND_HALF_CEIL=7,W.ROUND_HALF_FLOOR=8,W.EUCLID=9,W.config=W.set=function(e){var t,n;if(null!=e){if("object"!=typeof e)throw Error(s+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(g(n=e[t],0,p,t),L=n),e.hasOwnProperty(t="ROUNDING_MODE")&&(g(n=e[t],0,8,t),I=n),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((n=e[t])&&n.pop?(g(n[0],-p,0,t),g(n[1],0,p,t),P=n[0],D=n[1]):(g(n,-p,p,t),P=-(D=n<0?-n:n))),e.hasOwnProperty(t="RANGE"))if((n=e[t])&&n.pop)g(n[0],-p,-1,t),g(n[1],1,p,t),F=n[0],k=n[1];else{if(g(n,-p,p,t),!n)throw Error(s+t+" cannot be zero: "+n);F=-(k=n<0?-n:n)}if(e.hasOwnProperty(t="CRYPTO")){if((n=e[t])!==!!n)throw Error(s+t+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw B=!n,Error(s+"crypto unavailable");B=n}else B=n}if(e.hasOwnProperty(t="MODULO_MODE")&&(g(n=e[t],0,9,t),U=n),e.hasOwnProperty(t="POW_PRECISION")&&(g(n=e[t],0,p,t),H=n),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(n=e[t]))throw Error(s+t+" not an object: "+n);j=n}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(n=e[t])||/^.$|[+-.\s]|(.).*\1/.test(n))throw Error(s+t+" invalid: "+n);V=n}}return{DECIMAL_PLACES:L,ROUNDING_MODE:I,EXPONENTIAL_AT:[P,D],RANGE:[F,k],CRYPTO:B,MODULO_MODE:U,POW_PRECISION:H,FORMAT:j,ALPHABET:V}},W.isBigNumber=function(e){return e instanceof W||e&&!0===e._isBigNumber||!1},W.maximum=W.max=function(){return Q(arguments,x.lt)},W.minimum=W.min=function(){return Q(arguments,x.gt)},W.random=(R=9007199254740992,M=Math.random()*R&2097151?function(){return o(Math.random()*R)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,n,r,a,l,u=0,h=[],f=new W(N);if(null==e?e=L:g(e,0,p),a=i(e/c),B)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(a*=2));u<a;)9e15<=(l=131072*t[u]+(t[u+1]>>>11))?(n=crypto.getRandomValues(new Uint32Array(2)),t[u]=n[0],t[u+1]=n[1]):(h.push(l%1e14),u+=2);u=a/2}else{if(!crypto.randomBytes)throw B=!1,Error(s+"crypto unavailable");for(t=crypto.randomBytes(a*=7);u<a;)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=a/7}if(!B)for(;u<a;)(l=M())<9e15&&(h[u++]=l%1e14);for(a=h[--u],e%=c,a&&e&&(l=d[c-e],h[u]=o(a/l)*l);0===h[u];h.pop(),u--);if(u<0)h=[r=0];else{for(r=-1;0===h[0];h.splice(0,1),r-=c);for(u=1,l=h[0];10<=l;l/=10,u++);u<c&&(r-=c-u)}return f.e=r,f.c=h,f}),W.sum=function(){for(var e=1,t=arguments,n=new W(t[0]);e<t.length;)n=n.plus(t[e++]);return n},w=function(){var e="0123456789";function t(e,t,n,r){for(var i,o,s=[0],a=0,l=e.length;a<l;){for(o=s.length;o--;s[o]*=t);for(s[0]+=r.indexOf(e.charAt(a++)),i=0;i<s.length;i++)s[i]>n-1&&(null==s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/n|0,s[i]%=n)}return s.reverse()}return function(r,i,o,s,a){var l,c,u,d,h,p,f,A,g=r.indexOf("."),_=L,b=I;for(0<=g&&(d=H,H=0,r=r.replace(".",""),p=(A=new W(i)).pow(r.length-g),H=d,A.c=t(v(m(p.c),p.e,"0"),10,o,e),A.e=A.c.length),u=d=(f=t(r,i,o,a?(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=s,f=(p=n(p,A,_,b,o)).c,h=p.r,u=p.e),g=f[c=u+_+1],d=o/2,h=h||c<0||null!=f[c+1],h=b<4?(null!=g||h)&&(0==b||b==(p.s<0?3:2)):d<g||g==d&&(4==b||h||6==b&&1&f[c-1]||b==(p.s<0?8:7)),c<1||!f[0])r=h?v(l.charAt(1),-_,l.charAt(0)):l.charAt(0);else{if(f.length=c,h)for(--o;++f[--c]>o;)f[c]=0,c||(++u,f=[1].concat(f));for(d=f.length;!f[--d];);for(g=0,r="";g<=d;r+=l.charAt(f[g++]));r=v(r,u,l.charAt(0))}return r}}(),n=function(){function e(e,t,n){var r,i,o,s,a=0,l=e.length,c=t%h,u=t/h|0;for(e=e.slice();l--;)a=((i=c*(o=e[l]%h)+(r=u*o+(s=e[l]/h|0)*c)%h*h+a)/n|0)+(r/h|0)+u*s,e[l]=i%n;return a&&(e=[a].concat(e)),e}function t(e,t,n,r){var i,o;if(n!=r)o=r<n?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]<t[n]?1:0,e[n]=i*r+e[n]-t[n];for(;!e[0]&&1<e.length;e.splice(0,1));}return function(r,i,s,a,u){var d,h,p,m,A,g,_,b,v,w,y,R,M,S,E,T,C,O=r.s==i.s?1:-1,x=r.c,N=i.c;if(!(x&&x[0]&&N&&N[0]))return new W(r.s&&i.s&&(x?!N||x[0]!=N[0]:N)?x&&0==x[0]||!N?0*O:O/0:NaN);for(v=(b=new W(O)).c=[],O=s+(h=r.e-i.e)+1,u||(u=l,h=f(r.e/c)-f(i.e/c),O=O/c|0),p=0;N[p]==(x[p]||0);p++);if(N[p]>(x[p]||0)&&h--,O<0)v.push(1),m=!0;else{for(S=x.length,T=N.length,O+=2,1<(A=o(u/(N[p=0]+1)))&&(N=e(N,A,u),x=e(x,A,u),T=N.length,S=x.length),M=T,y=(w=x.slice(0,T)).length;y<T;w[y++]=0);C=N.slice(),C=[0].concat(C),E=N[0],N[1]>=u/2&&E++;do{if(A=0,(d=t(N,w,T,y))<0){if(R=w[0],T!=y&&(R=R*u+(w[1]||0)),1<(A=o(R/E)))for(u<=A&&(A=u-1),_=(g=e(N,A,u)).length,y=w.length;1==t(g,w,_,y);)A--,n(g,T<_?C:N,_,u),_=g.length,d=1;else 0==A&&(d=A=1),_=(g=N.slice()).length;if(_<y&&(g=[0].concat(g)),n(w,g,y,u),y=w.length,-1==d)for(;t(N,w,T,y)<1;)A++,n(w,T<y?C:N,y,u),y=w.length}else 0===d&&(A++,w=[0]);v[p++]=A,w[0]?w[y++]=x[M]||0:(w=[x[M]],y=1)}while((M++<S||null!=w[0])&&O--);m=null!=w[0],v[0]||v.splice(0,1)}if(u==l){for(p=1,O=v[0];10<=O;O/=10,p++);K(b,s+(b.e=p+h*c-1)+1,a,m)}else b.e=h,b.r=+m;return b}}(),S=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,T=/^\.([^.]+)$/,C=/^-?(Infinity|NaN)$/,O=/^\s*\+(?=[\w.])|^\s+|\s+$/g,y=function(e,t,n,r){var i,o=n?t:t.replace(O,"");if(C.test(o))e.s=isNaN(o)?null:o<0?-1:1,e.c=e.e=null;else{if(!n&&(o=o.replace(S,(function(e,t,n){return i="x"==(n=n.toLowerCase())?16:"b"==n?2:8,r&&r!=i?e:t})),r&&(i=r,o=o.replace(E,"$1").replace(T,"0.$1")),t!=o))return new W(o,i);if(W.DEBUG)throw Error(s+"Not a"+(r?" base "+r:"")+" number: "+t);e.c=e.e=e.s=null}},x.absoluteValue=x.abs=function(){var e=new W(this);return e.s<0&&(e.s=1),e},x.comparedTo=function(e,t){return A(this,new W(e,t))},x.decimalPlaces=x.dp=function(e,t){var n,r,i;if(null!=e)return g(e,0,p),null==t?t=I:g(t,0,8),K(new W(this),e+this.e+1,t);if(!(n=this.c))return null;if(r=((i=n.length-1)-f(this.e/c))*c,i=n[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},x.dividedBy=x.div=function(e,t){return n(this,new W(e,t),L,I)},x.dividedToIntegerBy=x.idiv=function(e,t){return n(this,new W(e,t),0,1)},x.exponentiatedBy=x.pow=function(e,t){var n,r,a,l,u,d,h,p,f=this;if((e=new W(e)).c&&!e.isInteger())throw Error(s+"Exponent not an integer: "+G(e));if(null!=t&&(t=new W(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 W(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 W(NaN);(r=!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 W(d?1/l:l);H&&(l=i(H/c+2))}for(h=u?(n=new W(.5),d&&(e.s=1),_(e)):(a=Math.abs(+G(e)))%2,p=new W(N);;){if(h){if(!(p=p.times(f)).c)break;l?p.c.length>l&&(p.c.length=l):r&&(p=p.mod(t))}if(a){if(0===(a=o(a/2)))break;h=a%2}else if(K(e=e.times(n),e.e+1,1),14<e.e)h=_(e);else{if(0==(a=+G(e)))break;h=a%2}f=f.times(f),l?f.c&&f.c.length>l&&(f.c.length=l):r&&(f=f.mod(t))}return r?p:(d&&(p=N.div(p)),t?p.mod(t):l?K(p,H,I,void 0):p)},x.integerValue=function(e){var t=new W(this);return null==e?e=I:g(e,0,8),K(t,t.e+1,e)},x.isEqualTo=x.eq=function(e,t){return 0===A(this,new W(e,t))},x.isFinite=function(){return!!this.c},x.isGreaterThan=x.gt=function(e,t){return 0<A(this,new W(e,t))},x.isGreaterThanOrEqualTo=x.gte=function(e,t){return 1===(t=A(this,new W(e,t)))||0===t},x.isInteger=function(){return!!this.c&&f(this.e/c)>this.c.length-2},x.isLessThan=x.lt=function(e,t){return A(this,new W(e,t))<0},x.isLessThanOrEqualTo=x.lte=function(e,t){return-1===(t=A(this,new W(e,t)))||0===t},x.isNaN=function(){return!this.s},x.isNegative=function(){return this.s<0},x.isPositive=function(){return 0<this.s},x.isZero=function(){return!!this.c&&0==this.c[0]},x.minus=function(e,t){var n,r,i,o,s=this,a=s.s;if(t=(e=new W(e,t)).s,!a||!t)return new W(NaN);if(a!=t)return e.s=-t,s.plus(e);var u=s.e/c,d=e.e/c,h=s.c,p=e.c;if(!u||!d){if(!h||!p)return h?(e.s=-t,e):new W(p?s:NaN);if(!h[0]||!p[0])return p[0]?(e.s=-t,e):new W(h[0]?s:3==I?-0:0)}if(u=f(u),d=f(d),h=h.slice(),a=u-d){for((i=(o=a<0)?(a=-a,h):(d=u,p)).reverse(),t=a;t--;i.push(0));i.reverse()}else for(r=(o=(a=h.length)<(t=p.length))?a:t,a=t=0;t<r;t++)if(h[t]!=p[t]){o=h[t]<p[t];break}if(o&&(i=h,h=p,p=i,e.s=-e.s),0<(t=(r=p.length)-(n=h.length)))for(;t--;h[n++]=0);for(t=l-1;a<r;){if(h[--r]<p[r]){for(n=r;n&&!h[--n];h[n]=t);--h[n],h[r]+=l}h[r]-=p[r]}for(;0==h[0];h.splice(0,1),--d);return h[0]?X(e,h,d):(e.s=3==I?-1:1,e.c=[e.e=0],e)},x.modulo=x.mod=function(e,t){var r,i,o=this;return e=new W(e,t),!o.c||!e.s||e.c&&!e.c[0]?new W(NaN):!e.c||o.c&&!o.c[0]?new W(o):(9==U?(i=e.s,e.s=1,r=n(o,e,0,3),e.s=i,r.s*=i):r=n(o,e,0,U),(e=o.minus(r.times(e))).c[0]||1!=U||(e.s=o.s),e)},x.multipliedBy=x.times=function(e,t){var n,r,i,o,s,a,u,d,p,m,A,g,_,b,v,w=this,y=w.c,R=(e=new W(e,t)).c;if(!(y&&R&&y[0]&&R[0]))return!w.s||!e.s||y&&!y[0]&&!R||R&&!R[0]&&!y?e.c=e.e=e.s=null:(e.s*=w.s,y&&R?(e.c=[0],e.e=0):e.c=e.e=null),e;for(r=f(w.e/c)+f(e.e/c),e.s*=w.s,(u=y.length)<(m=R.length)&&(_=y,y=R,R=_,i=u,u=m,m=i),i=u+m,_=[];i--;_.push(0));for(b=l,v=h,i=m;0<=--i;){for(n=0,A=R[i]%v,g=R[i]/v|0,o=i+(s=u);i<o;)n=((d=A*(d=y[--s]%v)+(a=g*d+(p=y[s]/v|0)*A)%v*v+_[o]+n)/b|0)+(a/v|0)+g*p,_[o--]=d%b;_[o]=n}return n?++r:_.splice(0,1),X(e,_,r)},x.negated=function(){var e=new W(this);return e.s=-e.s||null,e},x.plus=function(e,t){var n,r=this,i=r.s;if(t=(e=new W(e,t)).s,!i||!t)return new W(NaN);if(i!=t)return e.s=-t,r.minus(e);var o=r.e/c,s=e.e/c,a=r.c,u=e.c;if(!o||!s){if(!a||!u)return new W(i/0);if(!a[0]||!u[0])return u[0]?e:new W(a[0]?r:0*i)}if(o=f(o),s=f(s),a=a.slice(),i=o-s){for((n=0<i?(s=o,u):(i=-i,a)).reverse();i--;n.push(0));n.reverse()}for((i=a.length)-(t=u.length)<0&&(n=u,u=a,a=n,t=i),i=0;t;)i=(a[--t]=a[t]+u[t]+i)/l|0,a[t]=l===a[t]?0:a[t]%l;return i&&(a=[i].concat(a),++s),X(e,a,s)},x.precision=x.sd=function(e,t){var n,r,i;if(null!=e&&e!==!!e)return g(e,1,p),null==t?t=I:g(t,0,8),K(new W(this),e,t);if(!(n=this.c))return null;if(r=(i=n.length-1)*c+1,i=n[i]){for(;i%10==0;i/=10,r--);for(i=n[0];10<=i;i/=10,r++);}return e&&this.e+1>r&&(r=this.e+1),r},x.shiftedBy=function(e){return g(e,-u,u),this.times("1e"+e)},x.squareRoot=x.sqrt=function(){var e,t,r,i,o,s=this,a=s.c,l=s.s,c=s.e,u=L+4,d=new W("0.5");if(1!==l||!a||!a[0])return new W(!l||l<0&&(!a||a[0])?NaN:a?s:1/0);if((r=0==(l=Math.sqrt(+G(s)))||l==1/0?(((t=m(a)).length+c)%2==0&&(t+="0"),l=Math.sqrt(+t),c=f((c+1)/2)-(c<0||c%2),new W(t=l==1/0?"1e"+c:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+c)):new W(l+"")).c[0])for((l=(c=r.e)+u)<3&&(l=0);;)if(o=r,r=d.times(o.plus(n(s,o,u,1))),m(o.c).slice(0,l)===(t=m(r.c)).slice(0,l)){if(r.e<c&&--l,"9999"!=(t=t.slice(l-3,l+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(K(r,r.e+L+2,1),e=!r.times(r).eq(s));break}if(!i&&(K(o,o.e+L+2,0),o.times(o).eq(s))){r=o;break}u+=4,l+=4,i=1}return K(r,r.e+L+1,I,e)},x.toExponential=function(e,t){return null!=e&&(g(e,0,p),e++),Y(this,e,t,1)},x.toFixed=function(e,t){return null!=e&&(g(e,0,p),e=e+this.e+1),Y(this,e,t)},x.toFormat=function(e,t,n){var r;if(null==n)null!=e&&t&&"object"==typeof t?(n=t,t=null):e&&"object"==typeof e?(n=e,e=t=null):n=j;else if("object"!=typeof n)throw Error(s+"Argument not an object: "+n);if(r=this.toFixed(e,t),this.c){var i,o=r.split("."),a=+n.groupSize,l=+n.secondaryGroupSize,c=n.groupSeparator||"",u=o[0],d=o[1],h=this.s<0,p=h?u.slice(1):u,f=p.length;if(l&&(i=a,a=l,f-=l=i),0<a&&0<f){for(i=f%a||a,u=p.substr(0,i);i<f;i+=a)u+=c+p.substr(i,a);0<l&&(u+=c+p.slice(i)),h&&(u="-"+u)}r=d?u+(n.decimalSeparator||"")+((l=+n.fractionGroupSize)?d.replace(new RegExp("\\d{"+l+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):d):u}return(n.prefix||"")+r+(n.suffix||"")},x.toFraction=function(e){var t,r,i,o,a,l,u,h,p,f,A,g,_=this,b=_.c;if(null!=e&&(!(u=new W(e)).isInteger()&&(u.c||1!==u.s)||u.lt(N)))throw Error(s+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+G(u));if(!b)return new W(_);for(t=new W(N),p=r=new W(N),i=h=new W(N),g=m(b),a=t.e=g.length-_.e-1,t.c[0]=d[(l=a%c)<0?c+l:l],e=!e||0<u.comparedTo(t)?0<a?t:p:u,l=k,k=1/0,u=new W(g),h.c[0]=0;f=n(u,t,0,1),1!=(o=r.plus(f.times(i))).comparedTo(e);)r=i,i=o,p=h.plus(f.times(o=p)),h=o,t=u.minus(f.times(o=t)),u=o;return o=n(e.minus(r),i,0,1),h=h.plus(o.times(p)),r=r.plus(o.times(i)),h.s=p.s=_.s,A=n(p,i,a*=2,I).minus(_).abs().comparedTo(n(h,r,a,I).minus(_).abs())<1?[p,i]:[h,r],k=l,A},x.toNumber=function(){return+G(this)},x.toPrecision=function(e,t){return null!=e&&g(e,1,p),Y(this,e,t,2)},x.toString=function(e){var t,n=this,r=n.s,i=n.e;return null===i?r?(t="Infinity",r<0&&(t="-"+t)):t="NaN":(t=null==e?i<=P||D<=i?b(m(n.c),i):v(m(n.c),i,"0"):10===e?v(m((n=K(new W(n),L+i+1,I)).c),n.e,"0"):(g(e,2,V.length,"Base"),w(v(m(n.c),i,"0"),10,e,r,!0)),r<0&&n.c[0]&&(t="-"+t)),t},x.valueOf=x.toJSON=function(){return G(this)},x._isBigNumber=!0,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator&&(x[Symbol.toStringTag]="BigNumber",x[Symbol.for("nodejs.util.inspect.custom")]=x.valueOf),null!=t&&W.set(t),W}()).default=n.BigNumber=n,void 0!==t&&t.exports?t.exports=n:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=n)}(this)},{}],2:[function(e,t,n){"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,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=e("./globalState"),o=e("./validating"),s=e("./parsing"),a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],l={general:{scale:1024,suffixes:a,marker:"bd"},binary:{scale:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],marker:"b"},decimal:{scale:1e3,suffixes:a,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]:{},n=2<arguments.length?arguments[2]:void 0;if("string"==typeof t&&(t=s.parseFormat(t)),!o.validateFormat(t))return"ERROR: invalid format";var r=t.prefix||"",a=t.postfix||"",u=function(e,t,n){switch(t.output){case"currency":return t=m(t,i.currentCurrencyDefaultFormat()),function(e,t,n){var r=n.currentCurrency(),i=Object.assign({},c,t),o=void 0,s="",a=!!i.totalLength||!!i.forceAverage||i.average,l=t.currencyPosition||r.position,u=t.currencySymbol||r.symbol;i.spaceSeparated&&(s=" "),"infix"===l&&(o=s+u+s);var d=f({instance:e,providedFormat:t,state:n,decimalSeparator:o});return"prefix"===l&&(d=e._value<0&&"sign"===i.negative?"-".concat(s).concat(u).concat(d.slice(1)):u+s+d),l&&"postfix"!==l||(d=d+(s=a?"":s)+u),d}(e,t,i);case"percent":return t=m(t,i.currentPercentageDefaultFormat()),function(e,t,n,r){var i=t.prefixSymbol,o=f({instance:r(100*e._value),providedFormat:t,state:n}),s=Object.assign({},c,t);return i?"%".concat(s.spaceSeparated?" ":"").concat(o):"".concat(o).concat(s.spaceSeparated?" ":"","%")}(e,t,i,n);case"byte":return t=m(t,i.currentByteDefaultFormat()),v=e,y=i,R=n,M=(w=t).base||"binary",S=l[M],E=d(v._value,S.suffixes,S.scale),T=E.value,C=E.suffix,O=f({instance:R(T),providedFormat:w,state:y,defaults:y.currentByteDefaultFormat()}),x=y.currentAbbreviations(),"".concat(O).concat(x.spaced?" ":"").concat(C);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),b=Math.round(A._value-60*g*60-60*_),"".concat(g,":").concat(_<10?"0":"").concat(_,":").concat(b<10?"0":"").concat(b);case"ordinal":return t=m(t,i.currentOrdinalDefaultFormat()),r=e,o=t,a=(s=i).currentOrdinal(),u=Object.assign({},c,o),h=f({instance:r,providedFormat:o,state:s}),p=a(r._value),"".concat(h).concat(u.spaceSeparated?" ":"").concat(p);case"number":default:return f({instance:e,providedFormat:t,numbro:n})}var r,o,s,a,u,h,p,A,g,_,b,v,w,y,R,M,S,E,T,C,O,x}(e,t,n);return(u=r+u)+a}function d(e,t,n){var r=t[0],i=Math.abs(e);if(n<=i){for(var o=1;o<t.length;++o){var s=Math.pow(n,o),a=Math.pow(n,o+1);if(s<=i&&i<a){r=t[o],e/=s;break}}r===t[0]&&(e/=Math.pow(n,t.length-1),r=t[t.length-1])}return{value:e,suffix:r}}function h(e){for(var t="",n=0;n<e;n++)t+="0";return t}function p(e,t){return-1!==e.toString().indexOf("e")?function(e,t){var n=e.toString(),i=r(n.split("e"),2),o=i[0],s=i[1],a=r(o.split("."),2),l=a[0],c=a[1],u=void 0===c?"":c;if(0<+s)n=l+u+h(s-u.length);else{var d=".";d=+l<0?"-0".concat(d):"0".concat(d);var p=(h(-s-1)+Math.abs(l)+u).substr(0,t);p.length<t&&(p+=h(t-p.length)),n=d+p}return 0<+s&&0<t&&(n+=".".concat(h(t))),n}(e,t):(Math.round(+"".concat(e,"e+").concat(t))/Math.pow(10,t)).toFixed(t)}function f(e){var t=e.instance,n=e.providedFormat,o=e.state,s=void 0===o?i:o,a=e.decimalSeparator,l=e.defaults,u=void 0===l?s.currentDefaults():l,d=t._value;if(0===d&&s.hasZeroFormat())return s.getZeroFormat();if(!isFinite(d))return d.toString();var h,f,m,A,g,_,b,v,w=Object.assign({},c,u,n),y=w.totalLength,R=y?0:w.characteristic,M=w.optionalCharacteristic,S=w.forceAverage,E=!!y||!!S||w.average,T=y?-1:E&&void 0===n.mantissa?0:w.mantissa,C=!y&&(void 0===n.optionalMantissa?-1===T:w.optionalMantissa),O=w.trimMantissa,x=w.thousandSeparated,N=w.spaceSeparated,L=w.negative,I=w.forceSign,P=w.exponential,D="";if(E){var F=function(e){var t=e.value,n=e.forceAverage,r=e.abbreviations,i=e.spaceSeparated,o=void 0!==i&&i,s=e.totalLength,a=void 0===s?0:s,l="",c=Math.abs(t),u=-1;if(c>=Math.pow(10,12)&&!n||"trillion"===n?(l=r.trillion,t/=Math.pow(10,12)):c<Math.pow(10,12)&&c>=Math.pow(10,9)&&!n||"billion"===n?(l=r.billion,t/=Math.pow(10,9)):c<Math.pow(10,9)&&c>=Math.pow(10,6)&&!n||"million"===n?(l=r.million,t/=Math.pow(10,6)):(c<Math.pow(10,6)&&c>=Math.pow(10,3)&&!n||"thousand"===n)&&(l=r.thousand,t/=Math.pow(10,3)),l&&(l=(o?" ":"")+l),a){var d=t.toString().split(".")[0];u=Math.max(a-d.length,0)}return{value:t,abbreviation:l,mantissaPrecision:u}}({value:d,forceAverage:S,abbreviations:s.currentAbbreviations(),spaceSeparated:N,totalLength:y});d=F.value,D+=F.abbreviation,y&&(T=F.mantissaPrecision)}if(P){var k=(f=(h={value:d,characteristicPrecision:R}).value,m=h.characteristicPrecision,A=void 0===m?0:m,g=r(f.toExponential().split("e"),2),_=g[0],b=g[1],v=+_,A&&1<A&&(v*=Math.pow(10,A-1),b=0<=(b=+b-(A-1))?"+".concat(b):b),{value:v,abbreviation:"e".concat(b)});d=k.value,D=k.abbreviation+D}var B,U,H,j=function(e,t,n,i,o){if(-1===i)return e;var s=p(t,i),a=r(s.toString().split("."),2),l=a[0],c=a[1],u=void 0===c?"":c;if(u.match(/^0+$/)&&(n||o))return l;var d=u.match(/0+$/);return o&&d?"".concat(l,".").concat(u.toString().slice(0,d.index)):s.toString()}(d.toString(),d,C,T,O);return j=function(e,t,n,r,i){var o=r.currentDelimiters(),s=o.thousands;i=i||o.decimal;var a=o.thousandsSize||3,l=e.toString(),c=l.split(".")[0],u=l.split(".")[1];return n&&(t<0&&(c=c.slice(1)),function(e,t){for(var n=[],r=0,i=e;0<i;i--)r===t&&(n.unshift(i),r=0),r++;return n}(c.length,a).forEach((function(e,t){c=c.slice(0,e+t)+s+c.slice(e+t)})),t<0&&(c="-".concat(c))),u?c+i+u:c}(j=function(e,t,n,i){var o=e,s=r(o.toString().split("."),2),a=s[0],l=s[1];if(a.match(/^-?0$/)&&n)return l?"".concat(a.replace("0",""),".").concat(l):a.replace("0","");if(a.length<i)for(var c=i-a.length,u=0;u<c;u++)o="0".concat(o);return o.toString()}(j,0,M,R),d,x,s,a),(E||P)&&(j+=D),(I||d<0)&&(B=j,H=L,j=0===(U=d)?B:0==+B?B.replace("-",""):0<U?"+".concat(B):"sign"===H?B:"(".concat(B.replace("-",""),")")),j}function m(e,t){if(!e)return t;var n=Object.keys(e);return 1===n.length&&"output"===n[0]?t:e}t.exports=function(e){return{format:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return u.apply(void 0,n.concat([e]))},getByteUnit:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=l.general;return d(e._value,t.suffixes,t.scale).suffix}.apply(void 0,n.concat([e]))},getBinaryByteUnit:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=l.binary;return d(e._value,t.suffixes,t.scale).suffix}.apply(void 0,n.concat([e]))},getDecimalByteUnit:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=l.decimal;return d(e._value,t.suffixes,t.scale).suffix}.apply(void 0,n.concat([e]))},formatOrDefault:m}}},{"./globalState":4,"./parsing":8,"./validating":10}],4:[function(e,t,n){"use strict";var r=e("./en-US"),i=e("./validating"),o=e("./parsing"),s={},a=void 0,l={},c=null,u={};function d(e){a=e}function h(){return l[a]}s.languages=function(){return Object.assign({},l)},s.currentLanguage=function(){return a},s.currentCurrency=function(){return h().currency},s.currentAbbreviations=function(){return h().abbreviations},s.currentDelimiters=function(){return h().delimiters},s.currentOrdinal=function(){return h().ordinal},s.currentDefaults=function(){return Object.assign({},h().defaults,u)},s.currentOrdinalDefaultFormat=function(){return Object.assign({},s.currentDefaults(),h().ordinalFormat)},s.currentByteDefaultFormat=function(){return Object.assign({},s.currentDefaults(),h().byteFormat)},s.currentPercentageDefaultFormat=function(){return Object.assign({},s.currentDefaults(),h().percentageFormat)},s.currentCurrencyDefaultFormat=function(){return Object.assign({},s.currentDefaults(),h().currencyFormat)},s.currentTimeDefaultFormat=function(){return Object.assign({},s.currentDefaults(),h().timeFormat)},s.setDefaults=function(e){e=o.parseFormat(e),i.validateFormat(e)&&(u=e)},s.getZeroFormat=function(){return c},s.setZeroFormat=function(e){return c="string"==typeof e?e:null},s.hasZeroFormat=function(){return null!==c},s.languageData=function(e){if(e){if(l[e])return l[e];throw new Error('Unknown tag "'.concat(e,'"'))}return h()},s.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)},s.setLanguage=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:r.languageTag;if(!l[e]){var n=e.split("-")[0],i=Object.keys(l).find((function(e){return e.split("-")[0]===n}));return l[i]?void d(i):void d(t)}d(e)},s.registerLanguage(r),a=r.languageTag,t.exports=s},{"./en-US":2,"./parsing":8,"./validating":10}],5:[function(e,t,n){"use strict";t.exports=function(t){return{loadLanguagesInNode:function(n){return r=t,void n.forEach((function(t){var n=void 0;try{n=e("../languages/".concat(t))}catch(n){console.error('Unable to load "'.concat(t,'". No matching language file found.'))}n&&r.registerLanguage(n)}));var r}}}},{}],6:[function(e,t,n){"use strict";var r=e("bignumber.js");function i(e,t,n){var i=new r(e._value),o=t;return n.isNumbro(t)&&(o=t._value),o=new r(o),e._value=i.minus(o).toNumber(),e}t.exports=function(e){return{add:function(t,n){return o=n,s=e,a=new r((i=t)._value),l=o,s.isNumbro(o)&&(l=o._value),l=new r(l),i._value=a.plus(l).toNumber(),i;var i,o,s,a,l},subtract:function(t,n){return i(t,n,e)},multiply:function(t,n){return o=n,s=e,a=new r((i=t)._value),l=o,s.isNumbro(o)&&(l=o._value),l=new r(l),i._value=a.times(l).toNumber(),i;var i,o,s,a,l},divide:function(t,n){return o=n,s=e,a=new r((i=t)._value),l=o,s.isNumbro(o)&&(l=o._value),l=new r(l),i._value=a.dividedBy(l).toNumber(),i;var i,o,s,a,l},set:function(t,n){return r=t,o=i=n,e.isNumbro(i)&&(o=i._value),r._value=o,r;var r,i,o},difference:function(t,n){return r=n,i(s=(o=e)(t._value),r,o),Math.abs(s._value);var r,o,s}}}},{"bignumber.js":1}],7:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=e("./globalState"),o=e("./validating"),s=e("./loading")(p),a=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,n,o;return t=e,(n=[{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}}])&&r(t.prototype,n),o&&r(t,o),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=o.validate,p.loadLanguagesInNode=s.loadLanguagesInNode,p.unformat=a.unformat,t.exports=p},{"./formatting":3,"./globalState":4,"./loading":5,"./manipulating":6,"./parsing":8,"./unformatting":9,"./validating":10}],8:[function(e,t,n){"use strict";t.exports={parseFormat:function(e){var t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return"string"!=typeof e?e:(n=w,e=(r=(t=e).match(/^{([^}]*)}/))?(n.prefix=r[1],t.slice(r[0].length)):t,o=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=(s=(i=e).match(/{([^}]*)}$/))?(o.postfix=s[1],i.slice(0,-s[0].length)):i,w),a=w,(l=e.match(/[1-9]+[0-9]*/))&&(a.totalLength=+l[0]),c=w,(u=e.split(".")[0].match(/0+/))&&(c.characteristic=u[0].length),function(e,t){if(-1!==e.indexOf(".")){var n=e.split(".")[0];t.optionalCharacteristic=-1===n.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 n=e.split(".")[1];if(n){var r=n.match(/0+/);r&&(t.mantissa=r[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),b=w,(_=e).match(/^\+?\([^)]*\)$/)&&(b.negative="parenthesis"),_.match(/^\+?-/)&&(b.negative="sign"),v=w,e.match(/^\+/)&&(v.forceSign=!0),w)}}},{}],9:[function(e,t,n){"use strict";var r=[{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 o(e,t){var n=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,a=5<arguments.length?arguments[5]:void 0,l=6<arguments.length?arguments[6]:void 0;if(""!==e)return e===s?0:function e(t,n){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",s=3<arguments.length?arguments[3]:void 0,a=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,n,o,s,a,l,c);for(var h=0;h<r.length;h++){var p=r[h];if((u=t.replace(p.key,""))!==t)return e(u,n,o,s,a,l,c)*p.factor}if((u=t.replace("%",""))!==t)return e(u,n,o,s,a,l,c)/100;var f=parseFloat(t);if(!isNaN(f)){var m=s(f);if(m&&"."!==m&&(u=t.replace(new RegExp("".concat(i(m),"$")),""))!==t)return e(u,n,o,s,a,l,c);var A={};Object.keys(l).forEach((function(e){A[l[e]]=e}));for(var g=Object.keys(A).sort().reverse(),_=g.length,b=0;b<_;b++){var v=g[b],w=A[v];if((u=t.replace(v,""))!==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,n,o,s,a,l,c)*y}}}}(function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"",r=e.replace(n,"");return(r=r.replace(new RegExp("([0-9])".concat(i(t.thousands),"([0-9])"),"g"),"$1$2")).replace(t.decimal,".")}(e,t,n),t,n,o,s,a,l)}t.exports={unformat:function(t,n){var r,i,s,a=e("./globalState"),l=a.currentDelimiters(),c=a.currentCurrency().symbol,u=a.currentOrdinal(),d=a.getZeroFormat(),h=a.currentAbbreviations(),p=void 0;if("string"==typeof t)p=function(e,t){if(!e.indexOf(":")||":"===t.thousands)return!1;var n=e.split(":");if(3!==n.length)return!1;var r=+n[0],i=+n[1],o=+n[2];return!isNaN(r)&&!isNaN(i)&&!isNaN(o)}(t,l)?(r=t.split(":"),i=+r[0],s=+r[1],+r[2]+60*s+3600*i):o(t,l,c,u,d,h,n);else{if("number"!=typeof t)return;p=t}if(void 0!==p)return p}}},{"./globalState":4}],10:[function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(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 o=e("./unformatting"),s=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,a={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(s)},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!!o.unformat(e)}function u(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]&&arguments[3],s=Object.keys(e).map((function(r){if(!t[r])return console.error("".concat(n," Invalid key: ").concat(r)),!1;var o=e[r],s=t[r];if("string"==typeof s&&(s={type:s}),"format"===s.type){if(!u(o,a,"[Validate ".concat(r,"]"),!0))return!1}else if(i(o)!==s.type)return console.error("".concat(n," ").concat(r,' type mismatched: "').concat(s.type,'" expected, "').concat(i(o),'" provided')),!1;if(s.restrictions&&s.restrictions.length)for(var l=s.restrictions.length,c=0;c<l;c++){var d=s.restrictions[c],h=d.restriction,p=d.message;if(!h(o,e))return console.error("".concat(n," ").concat(r," invalid value: ").concat(p)),!1}return s.restriction&&!s.restriction(o,e)?(console.error("".concat(n," ").concat(r," invalid value: ").concat(s.message)),!1):s.validValues&&-1===s.validValues.indexOf(o)?(console.error("".concat(n," ").concat(r," invalid value: must be among ").concat(JSON.stringify(s.validValues),', "').concat(o,'" provided')),!1):!(s.children&&!u(o,s.children,"[Validate ".concat(r,"]")))}));return o||s.push.apply(s,r(Object.keys(t).map((function(r){var i=t[r];if("string"==typeof i&&(i={type:i}),i.mandatory){var o=i.mandatory;if("function"==typeof o&&(o=o(e)),o&&void 0===e[r])return console.error("".concat(n,' Missing mandatory key "').concat(r,'"')),!1}return!0})))),s.reduce((function(e,t){return e&&t}),!0)}function d(e){return u(e,a,"[Validate format]")}t.exports={validate:function(e,t){var n=c(e),r=d(t);return n&&r},validateFormat:d,validateInput:c,validateLanguage:function(e){return u(e,l,"[Validate language]")}}},{"./unformatting":9}]},{},[7])(7)}))},"87d6":function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));n("d9e2"),n("14d9");var r=n("de3b");function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}let a=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,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];function i(e){n.call(this,c(e))}return this.context.eventListeners.push({element:e,event:t,callback:n,callbackProxy:i,options:r,eventManager:this}),e.addEventListener(t,i,r),a+=1,()=>{this.removeEventListener(e,t,n)}}removeEventListener(e,t,n){let r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.context.eventListeners.length;while(o)if(o-=1,r=this.context.eventListeners[o],r.event===t&&r.element===e){if(n&&n!==r.callback)continue;if(i&&r.eventManager!==this)continue;this.context.eventListeners.splice(o,1),r.element.removeEventListener(r.event,r.callbackProxy,r.options),a-=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 n=this.context.eventListeners[t];e&&n.eventManager!==this||(this.context.eventListeners.splice(t,1),n.element.removeEventListener(n.event,n.callbackProxy,n.options),a-=1)}}clear(){this.clearEvents()}destroy(){this.clearEvents(),this.context=null}destroyWithOwnEventsOnly(){this.clearEvents(!0),this.context=null}fireEvent(e,t){let n=e.document,r=e;n||(n=e.ownerDocument?e.ownerDocument:e,r=n.defaultView);const i={bubbles:!0,cancelable:"mousemove"!==t,view:r,detail:0,screenX:0,screenY:0,clientX:1,clientY:1,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:void 0};let o;n.createEvent?(o=n.createEvent("MouseEvents"),o.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||n.body.parentNode)):o=n.createEventObject(),e.dispatchEvent?e.dispatchEvent(o):e.fireEvent("on"+t,o)}}function c(e){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.apply(this),Object(r["stopImmediatePropagation"])(this)},e}function u(){return a}t["a"]=l},"87ff":function(e,t,n){},8828:function(e,t,n){"use strict";n.d(t,"L",(function(){return r})),n.d(t,"N",(function(){return i})),n.d(t,"y",(function(){return o})),n.d(t,"l",(function(){return s})),n.d(t,"E",(function(){return a})),n.d(t,"D",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"B",(function(){return u})),n.d(t,"s",(function(){return d})),n.d(t,"t",(function(){return h})),n.d(t,"u",(function(){return p})),n.d(t,"h",(function(){return f})),n.d(t,"q",(function(){return m})),n.d(t,"w",(function(){return A})),n.d(t,"c",(function(){return g})),n.d(t,"G",(function(){return _})),n.d(t,"H",(function(){return b})),n.d(t,"M",(function(){return v})),n.d(t,"p",(function(){return w})),n.d(t,"n",(function(){return y})),n.d(t,"j",(function(){return R})),n.d(t,"v",(function(){return M})),n.d(t,"m",(function(){return S})),n.d(t,"C",(function(){return E})),n.d(t,"e",(function(){return T})),n.d(t,"F",(function(){return C})),n.d(t,"f",(function(){return O})),n.d(t,"k",(function(){return x})),n.d(t,"K",(function(){return N})),n.d(t,"z",(function(){return L})),n.d(t,"o",(function(){return I})),n.d(t,"d",(function(){return P})),n.d(t,"I",(function(){return D})),n.d(t,"b",(function(){return F})),n.d(t,"i",(function(){return k})),n.d(t,"a",(function(){return B})),n.d(t,"r",(function(){return U})),n.d(t,"A",(function(){return H})),n.d(t,"J",(function(){return j})),n.d(t,"x",(function(){return V}));const r=e=>["tabindex",e],i=()=>["role","treegrid"],o=()=>["role","presentation"],s=()=>["role","gridcell"],a=()=>["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"],b=()=>["scope","row"],v=()=>["type","text"],w=e=>["aria-label",e],y=()=>["aria-hidden","true"],R=()=>["aria-disabled","true"],M=()=>["aria-multiselectable","true"],S=e=>["aria-haspopup",e],E=e=>["aria-rowcount",e],T=e=>["aria-colcount",e],C=e=>["aria-rowindex",e],O=e=>["aria-colindex",e],x=e=>["aria-expanded",e],N=e=>["aria-sort",e],L=()=>["aria-readonly","true"],I=()=>["aria-invalid","true"],P=e=>["aria-checked",e],D=()=>["aria-selected","true"],F=()=>["aria-autocomplete","list"],k=e=>["aria-controls",e],B=e=>["aria-activedescendant",e],U=e=>["aria-live",e],H=e=>["aria-relevant",e],j=e=>["aria-setsize",e],V=e=>["aria-posinset",e]},8831:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("7723f")),o=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 s(e){return e>=55296&&e<=57343||e>1114111?"�":(e in i.default&&(e=i.default[e]),o(e))}t.default=s},8840:function(e,t,n){(function(e,t){t(n("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,n){"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,n){var r,i,o;(function(n,s){i=[],r=s,o="function"===typeof r?r.apply(t,i):r,void 0===o||(e.exports=o)})("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 n={type:"Flags",global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};while(this.isRegExpFlag())switch(this.popChar()){case"g":a(n,"global");break;case"i":a(n,"ignoreCase");break;case"m":a(n,"multiLine");break;case"u":a(n,"unicode");break;case"y":a(n,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,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 n=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:n,atMost:n};break;case",":var r;this.isDigit()?(r=this.integerIncludingZero(),t={atLeast:n,atMost:r}):t={atLeast:n,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:[o("\n"),o("\r"),o("\u2028"),o("\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=o("\f");break;case"n":e=o("\n");break;case"r":e=o("\r");break;case"t":e=o("\t");break;case"v":e=o("\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:o("\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:o(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:o(e)}}},e.prototype.characterClass=function(){var e=[],t=!1;this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),t=!0);while(this.isClassAtom()){var n=this.classAtom(),r="Character"===n.type;if(r&&this.isRangeDash()){this.consumeChar("-");var i=this.classAtom(),a="Character"===i.type;if(a){if(i.value<n.value)throw Error("Range out of order in character class");e.push({from:n.value,to:i.value})}else s(n.value,e),e.push(o("-")),s(i.value,e)}else s(n.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:o("\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 n={type:"Group",capturing:e,value:t};return e&&(n.idx=this.groupIdx),n},e.prototype.positiveInteger=function(){var e=this.popChar();if(!1===i.test(e))throw Error("Expecting a positive integer");while(r.test(this.peekChar(0)))e+=this.popChar();return parseInt(e,10)},e.prototype.integerIncludingZero=function(){var e=this.popChar();if(!1===r.test(e))throw Error("Expecting an integer");while(r.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:o(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 r.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="",r=0;r<e;r++){var i=this.popChar();if(!1===n.test(i))throw Error("Expecting a HexDecimal digits");t+=i}var o=parseInt(t,16);return{type:"Character",value:o}},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,n=/[0-9a-fA-F]/,r=/[0-9]/,i=/[1-9]/;function o(e){return e.charCodeAt(0)}function s(e,t){void 0!==e.length?e.forEach((function(e){t.push(e)})):t.push(e)}function a(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=o("0");t<=o("9");t++)u.push(t);var d=[o("_")].concat(u);for(t=o("a");t<=o("z");t++)d.push(t);for(t=o("A");t<=o("Z");t++)d.push(t);var h=[o(" "),o("\f"),o("\n"),o("\r"),o("\t"),o("\v"),o("\t"),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o(" "),o("\u2028"),o("\u2029"),o(" "),o(" "),o(" "),o("\ufeff")];function p(){}return p.prototype.visitChildren=function(e){for(var t in e){var n=e[t];e.hasOwnProperty(t)&&(void 0!==n.type?this.visit(n):Array.isArray(n)&&n.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,n){"use strict";function r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=r},8947:function(e,t,n){var r=n("bac2"),i=n("82f0"),o=n("8707").Buffer,s=n("09f5"),a=n("6430"),l=n("39f5"),c=n("ae84"),u=n("3fb5");function d(e,t,n){a.call(this),this._cache=new p,this._cipher=new l.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}u(d,a),d.prototype._update=function(e){var t,n;this._cache.add(e);var r=[];while(t=this._cache.get())n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var h=o.alloc(16,16);function p(){this.cache=o.allocUnsafe(0)}function f(e,t,n){var a=r[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof n&&(n=o.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new s(a.module,t,n):"auth"===a.type?new i(a.module,t,n):new d(a.module,t,n)}function m(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=c(t,!1,n.key,n.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=o.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=o.allocUnsafe(e),n=-1;while(++n<e)t.writeUInt8(e,n);return o.concat([this.cache,t])},t.createCipheriv=f,t.createCipher=m},"898b":function(e,t,n){(function(e,t){t(n("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("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^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,o=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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:r,longMonthsParse:r,shortMonthsParse:r,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 o}))},"89a9":function(e,t,n){"use strict";n("675b")},"89ea":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("42e9"),o=n("7b71"),s=n("0fc1"),a=n("9688"),l=n("68d5"),c=n("9af8");class u extends o.AbstractRangeImpl{constructor(){super();const e=r.dom.window._associatedDocument;this._start=[e,0],this._end=[e,0],r.dom.rangeList.add(this)}get commonAncestorContainer(){let e=this._start[0];while(!a.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){a.range_setTheStart(this,e,t)}setEnd(e,t){a.range_setTheEnd(this,e,t)}setStartBefore(e){let t=e._parent;if(null===t)throw new s.InvalidNodeTypeError;a.range_setTheStart(this,t,a.tree_index(e))}setStartAfter(e){let t=e._parent;if(null===t)throw new s.InvalidNodeTypeError;a.range_setTheStart(this,t,a.tree_index(e)+1)}setEndBefore(e){let t=e._parent;if(null===t)throw new s.InvalidNodeTypeError;a.range_setTheEnd(this,t,a.tree_index(e))}setEndAfter(e){let t=e._parent;if(null===t)throw new s.InvalidNodeTypeError;a.range_setTheEnd(this,t,a.tree_index(e)+1)}collapse(e){e?this._end=this._start:this._start=this._end}selectNode(e){a.range_select(e,this)}selectNodeContents(e){if(c.Guard.isDocumentTypeNode(e))throw new s.InvalidNodeTypeError;const t=a.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 s.NotSupportedError;if(a.range_root(this)!==a.range_root(t))throw new s.WrongDocumentError;let n,r;switch(e){case i.HowToCompare.StartToStart:n=this._start,r=t._start;break;case i.HowToCompare.StartToEnd:n=this._end,r=t._start;break;case i.HowToCompare.EndToEnd:n=this._end,r=t._end;break;case i.HowToCompare.EndToStart:n=this._start,r=t._end;break;default:throw new s.NotSupportedError}const o=a.boundaryPoint_position(n,r);return o===i.BoundaryPosition.Before?-1:o===i.BoundaryPosition.After?1:0}deleteContents(){if(a.range_collapsed(this))return;const e=this._startNode,t=this._startOffset,n=this._endNode,r=this._endOffset;if(e===n&&c.Guard.isCharacterDataNode(e))return void a.characterData_replaceData(e,t,r-t,"");const i=[];for(const l of a.range_getContainedNodes(this)){const e=l._parent;null!==e&&a.range_isContained(e,this)||i.push(l)}let o,s;if(a.tree_isAncestorOf(n,e,!0))o=e,s=t;else{let t=e;while(null!==t._parent&&!a.tree_isAncestorOf(n,t._parent,!0))t=t._parent;if(null===t._parent)throw new Error("Parent node is null.");o=t._parent,s=a.tree_index(t)+1}c.Guard.isCharacterDataNode(e)&&a.characterData_replaceData(e,t,a.tree_nodeLength(e)-t,"");for(const l of i)l._parent&&a.mutation_remove(l,l._parent);c.Guard.isCharacterDataNode(n)&&a.characterData_replaceData(n,0,r,""),this._start=[o,s],this._end=[o,s]}extractContents(){return a.range_extract(this)}cloneContents(){return a.range_cloneTheContents(this)}insertNode(e){return a.range_insert(e,this)}surroundContents(e){for(const n of a.range_getPartiallyContainedNodes(this))if(!c.Guard.isTextNode(n))throw new s.InvalidStateError;if(c.Guard.isDocumentNode(e)||c.Guard.isDocumentTypeNode(e)||c.Guard.isDocumentFragmentNode(e))throw new s.InvalidNodeTypeError;const t=a.range_extract(this);0!==e._children.size&&a.mutation_replaceAll(null,e),a.range_insert(e,this),a.mutation_append(t,e),a.range_select(e,this)}cloneRange(){return a.create_range(this._start,this._end)}detach(){r.dom.rangeList.delete(this)}isPointInRange(e,t){if(a.tree_rootNode(e)!==a.range_root(this))return!1;if(c.Guard.isDocumentTypeNode(e))throw new s.InvalidNodeTypeError;if(t>a.tree_nodeLength(e))throw new s.IndexSizeError;const n=[e,t];return a.boundaryPoint_position(n,this._start)!==i.BoundaryPosition.Before&&a.boundaryPoint_position(n,this._end)!==i.BoundaryPosition.After}comparePoint(e,t){if(a.tree_rootNode(e)!==a.range_root(this))throw new s.WrongDocumentError;if(c.Guard.isDocumentTypeNode(e))throw new s.InvalidNodeTypeError;if(t>a.tree_nodeLength(e))throw new s.IndexSizeError;const n=[e,t];return a.boundaryPoint_position(n,this._start)===i.BoundaryPosition.Before?-1:a.boundaryPoint_position(n,this._end)===i.BoundaryPosition.After?1:0}intersectsNode(e){if(a.tree_rootNode(e)!==a.range_root(this))return!1;const t=e._parent;if(null===t)return!0;const n=a.tree_index(e);return a.boundaryPoint_position([t,n],this._end)===i.BoundaryPosition.Before&&a.boundaryPoint_position([t,n+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 a.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 n=new u;return e&&(n._start=e),t&&(n._end=t),n}}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,n){"use strict";var r=n("23e7"),i=n("68df"),o=n("dad2");r({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:i})},"8b71":function(e,t,n){var r=n("0211");t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r._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=r._reverse(t.tag)},"8b95":function(e,t,n){"use strict";var r=n("c3c0"),i=n("b525");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},"8baf":function(e,t,n){"use strict";(function(e){var r=n("7037"),i=n.n(r),o=n("72ba"),s=function(){return"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:this}();function a(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var l={log:a,warn:function(e){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):a.call(null,arguments))},error:function(e){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):a(e))}};function c(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){f(r.response,t,n)},r.onerror=function(){l.error("could not download file")},r.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(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var h,p,f=s.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==s?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=s.URL||s.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,n):d(i,i.target="_blank"):d(i)):(i.href=r.createObjectURL(e),setTimeout((function(){r.revokeObjectURL(i.href)}),4e4),setTimeout((function(){d(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(u(e))c(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout((function(){d(r)}))}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,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return c(e,t,n);var o="application/octet-stream"===e.type,a=/constructor/i.test(s.HTMLElement)||s.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&a)&&"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;"),r?r.location.href=e:location=e,r=null},u.readAsDataURL(e)}else{var d=s.URL||s.webkitURL,h=d.createObjectURL(e);r?r.location=h:location.href=h,r=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 n=[{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)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,s=i.exec(e);s&&(t=o(s),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),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n
  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 n=e[0],r=e[1],i=e[2],o=e[3];n=_(n,r,i,o,t[0],7,-680876936),o=_(o,n,r,i,t[1],12,-389564586),i=_(i,o,n,r,t[2],17,606105819),r=_(r,i,o,n,t[3],22,-1044525330),n=_(n,r,i,o,t[4],7,-176418897),o=_(o,n,r,i,t[5],12,1200080426),i=_(i,o,n,r,t[6],17,-1473231341),r=_(r,i,o,n,t[7],22,-45705983),n=_(n,r,i,o,t[8],7,1770035416),o=_(o,n,r,i,t[9],12,-1958414417),i=_(i,o,n,r,t[10],17,-42063),r=_(r,i,o,n,t[11],22,-1990404162),n=_(n,r,i,o,t[12],7,1804603682),o=_(o,n,r,i,t[13],12,-40341101),i=_(i,o,n,r,t[14],17,-1502002290),n=b(n,r=_(r,i,o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),o=b(o,n,r,i,t[6],9,-1069501632),i=b(i,o,n,r,t[11],14,643717713),r=b(r,i,o,n,t[0],20,-373897302),n=b(n,r,i,o,t[5],5,-701558691),o=b(o,n,r,i,t[10],9,38016083),i=b(i,o,n,r,t[15],14,-660478335),r=b(r,i,o,n,t[4],20,-405537848),n=b(n,r,i,o,t[9],5,568446438),o=b(o,n,r,i,t[14],9,-1019803690),i=b(i,o,n,r,t[3],14,-187363961),r=b(r,i,o,n,t[8],20,1163531501),n=b(n,r,i,o,t[13],5,-1444681467),o=b(o,n,r,i,t[2],9,-51403784),i=b(i,o,n,r,t[7],14,1735328473),n=v(n,r=b(r,i,o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),o=v(o,n,r,i,t[8],11,-2022574463),i=v(i,o,n,r,t[11],16,1839030562),r=v(r,i,o,n,t[14],23,-35309556),n=v(n,r,i,o,t[1],4,-1530992060),o=v(o,n,r,i,t[4],11,1272893353),i=v(i,o,n,r,t[7],16,-155497632),r=v(r,i,o,n,t[10],23,-1094730640),n=v(n,r,i,o,t[13],4,681279174),o=v(o,n,r,i,t[0],11,-358537222),i=v(i,o,n,r,t[3],16,-722521979),r=v(r,i,o,n,t[6],23,76029189),n=v(n,r,i,o,t[9],4,-640364487),o=v(o,n,r,i,t[12],11,-421815835),i=v(i,o,n,r,t[15],16,530742520),n=w(n,r=v(r,i,o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),o=w(o,n,r,i,t[7],10,1126891415),i=w(i,o,n,r,t[14],15,-1416354905),r=w(r,i,o,n,t[5],21,-57434055),n=w(n,r,i,o,t[12],6,1700485571),o=w(o,n,r,i,t[3],10,-1894986606),i=w(i,o,n,r,t[10],15,-1051523),r=w(r,i,o,n,t[1],21,-2054922799),n=w(n,r,i,o,t[8],6,1873313359),o=w(o,n,r,i,t[15],10,-30611744),i=w(i,o,n,r,t[6],15,-1560198380),r=w(r,i,o,n,t[13],21,1309151649),n=w(n,r,i,o,t[4],6,-145523070),o=w(o,n,r,i,t[11],10,-1120210379),i=w(i,o,n,r,t[2],15,718787259),r=w(r,i,o,n,t[9],21,-343485551),e[0]=O(n,e[0]),e[1]=O(r,e[1]),e[2]=O(i,e[2]),e[3]=O(o,e[3])}function g(e,t,n,r,i,o){return t=O(O(t,e),O(r,o)),O(t<<i|t>>>32-i,n)}function _(e,t,n,r,i,o,s){return g(t&n|~t&r,e,t,i,o,s)}function b(e,t,n,r,i,o,s){return g(t&r|n&~r,e,t,i,o,s)}function v(e,t,n,r,i,o,s){return g(t^n^r,e,t,i,o,s)}function w(e,t,n,r,i,o,s){return g(n^(t|~r),e,t,i,o,s)}function y(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)A(r,R(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(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,A(r,i),r}function R(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}h=s.atob.bind(s),p=s.btoa.bind(s);var M="0123456789abcdef".split("");function S(e){for(var t="",n=0;n<4;n++)t+=M[e>>8*n+4&15]+M[e>>8*n&15];return t}function E(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function T(e){return y(e).map(E).join("")}var C="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(C){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}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 x(e,t){var n,r,i,o;if(e!==n){for(var s=(i=e,o=1+(256/e.length>>0),new Array(o+1).join(i)),a=[],l=0;l<256;l++)a[l]=l;var c=0;for(l=0;l<256;l++){var u=a[l];c=(c+u+s.charCodeAt(l))%256,a[l]=a[c],a[c]=u}n=e,r=a}else a=r;var d=t.length,h=0,p=0,f="";for(l=0;l<d;l++)p=(p+(u=a[h=(h+1)%256]))%256,a[h]=a[p],a[p]=u,s=a[(a[h]+a[p])%256],f+=String.fromCharCode(t.charCodeAt(l)^s);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 N={print:4,modify:8,copy:16,"annot-forms":32};function L(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach((function(e){if(void 0!==N.perm)throw new Error("Invalid permission: "+e);i+=N[e]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var o=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,s),this.P=-(1+(255^i)),this.encryptionKey=T(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=x(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="",n=e.length,r=0;r<n;r++){var i=e.charCodeAt(r);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[r]}return t}function P(e){if("object"!==i()(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)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]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[n]){var a=t[n][o];try{a[0].apply(e,r)}catch(n){s.console&&l.error("jsPDF PubSub Error",n.message,n)}a[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function D(e){if(!(this instanceof D))return new D(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function F(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function k(e,t,n,r,i){if(!(this instanceof k))return new k(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,F.call(this,r,i)}function B(e,t,n,r,i){if(!(this instanceof B))return new B(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,F.call(this,r,i)}function U(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],o=arguments[2],a=arguments[3],c=[],u=1,d=16,h="S",A=null;"object"===i()(e=e||{})&&(n=e.orientation,r=e.unit||r,o=e.format||o,a=e.compress||e.compressPdf||a,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===a?["FlateEncode"]:c),r=r||"mm",n=(""+(n||"P")).toLowerCase();var g=e.putOnlyUsedFonts||!1,_={},b={internal:{},__private__:{}};b.__private__.PubSub=P;var v="1.3",w=b.__private__.getPdfVersion=function(){return v};b.__private__.setPdfVersion=function(e){v=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]};b.__private__.getPageFormats=function(){return y};var R=b.__private__.getPageFormat=function(e){return y[e]};o=o||"a4";var M={COMPAT:"compat",ADVANCED:"advanced"},S=M.COMPAT;function E(){this.saveGraphicsState(),de(new Qe(Ee,0,0,-Ee,0,Hn()*Ee).toString()+" cm"),this.setFontSize(this.getFontSize()/Ee),h="n",S=M.ADVANCED}function T(){this.restoreGraphicsState(),h="S",S=M.COMPAT}var C=b.__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};b.advancedAPI=function(e){var t=S===M.COMPAT;return t&&E.call(this),"function"!=typeof e||(e(this),t&&T.call(this)),this},b.compatAPI=function(e){var t=S===M.ADVANCED;return t&&T.call(this),"function"!=typeof e||(e(this),t&&E.call(this)),this},b.isAdvancedAPI=function(){return S===M.ADVANCED};var O,x=function(e){if(S!==M.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},N=b.roundToPrecision=b.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};O=b.hpf=b.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return N(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return N(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return N(e,16)};var F=b.f2=b.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return N(e,2)},H=b.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return N(e,3)},j=b.scale=b.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return S===M.COMPAT?e*Ee:S===M.ADVANCED?e:void 0},V=function(e){return S===M.COMPAT?Hn()-e:S===M.ADVANCED?e:void 0},W=function(e){return j(V(e))};b.__private__.setPrecision=b.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var Y,Q="00000000000000000000000000000000",X=b.__private__.getFileId=function(){return Q},K=b.__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&&(Kt=new L(A.userPermissions,A.userPassword,A.ownerPassword,Q)),Q};b.setFileId=function(e){return K(e),this},b.getFileId=function(){return X()};var G=b.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),o=[n,$(r),"'",$(i),"'"].join("");return["D:",e.getFullYear(),$(e.getMonth()+1),$(e.getDate()),$(e.getHours()),$(e.getMinutes()),$(e.getSeconds()),o].join("")},Z=b.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),s=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,o,s,0)},z=b.__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 Y=t},q=b.__private__.getCreationDate=function(e){var t=Y;return"jsDate"===e&&(t=Z(Y)),t};b.setCreationDate=function(e){return z(e),this},b.getCreationDate=function(e){return q(e)};var J,$=b.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},ee=b.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},te=0,ne=[],re=[],ie=0,oe=[],se=[],ae=!1,le=re,ce=function(){te=0,ie=0,re=[],ne=[],oe=[],$e=ze(),et=ze()};b.__private__.setCustomOutputDestination=function(e){ae=!0,le=e};var ue=function(e){ae||(le=e)};b.__private__.resetCustomOutputDestination=function(){ae=!1,le=re};var de=b.__private__.out=function(e){return e=e.toString(),ie+=e.length+1,le.push(e),le},he=b.__private__.write=function(e){return de(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},pe=b.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},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]];b.__private__.getStandardFonts=function(){return fe};var me=e.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(e){return me=S===M.ADVANCED?e/Ee:e,this};var Ae,ge=b.__private__.getFontSize=b.getFontSize=function(){return S===M.COMPAT?me:me*Ee},_e=e.R2L||!1;b.__private__.setR2L=b.setR2L=function(e){return _e=e,this},b.__private__.getR2L=b.getR2L=function(){return _e};var be,ve=b.__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)};b.__private__.getZoomMode=function(){return Ae};var we,ye=b.__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.');be=e};b.__private__.getPageMode=function(){return be};var Re=b.__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};b.__private__.getLayoutMode=function(){return we},b.__private__.setDisplayMode=b.setDisplayMode=function(e,t,n){return ve(e),Re(t),ye(n),this};var Me={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(e){if(-1===Object.keys(Me).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Me[e]},b.__private__.getDocumentProperties=function(){return Me},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(e){for(var t in Me)Me.hasOwnProperty(t)&&e[t]&&(Me[t]=e[t]);return this},b.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(Me).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Me[e]=t};var Se,Ee,Te,Ce,Oe,xe={},Ne={},Le=[],Ie={},Pe={},De={},Fe={},ke=null,Be=0,Ue=[],He=new P(b),je=e.hotfixes||[],Ve={},We={},Ye=[],Qe=function e(t,n,r,i,o,s){if(!(this instanceof e))return new e(t,n,r,i,o,s);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(s)&&(s=0),this._matrix=[t,n,r,i,o,s]};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,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,s=e.tx*this.shy+e.ty*this.sy+this.ty;return new Qe(t,n,r,i,o,s)},Qe.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,s=Math.sqrt(e*e+t*t),a=(e/=s)*n+(t/=s)*r;n-=e*a,r-=t*a;var l=Math.sqrt(n*n+r*r);return a/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,a=-a,s=-s),{scale:new Qe(s,0,0,l,0,0),translate:new Qe(1,0,0,1,i,o),rotate:new Qe(e,t,-t,e,0,0),skew:new Qe(1,0,a,1,0,0)}},Qe.prototype.toString=function(e){return this.join(" ")},Qe.prototype.inversed=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,s=1/(e*r-t*n),a=r*s,l=-t*s,c=-n*s,u=e*s;return new Qe(a,l,c,u,-a*i-c*o,-l*i-u*o)},Qe.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new Ln(t,n)},Qe.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new Ln(e.x+e.w,e.y+e.h));return new In(t.x,t.y,n.x-t.x,n.y-t.y)},Qe.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty;return new Qe(e,t,n,r,i,o)},b.Matrix=Qe;var Xe=b.matrixMult=function(e,t){return t.multiply(e)},Ke=new Qe(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=Ke;var Ge=function(e,t){if(!Pe[e]){var n=(t instanceof k?"Sh":"P")+(Object.keys(Ie).length+1).toString(10);t.id=n,Pe[e]=n,Ie[n]=t,He.publish("addPattern",t)}};b.ShadingPattern=k,b.TilingPattern=B,b.addShadingPattern=function(e,t){return x("addShadingPattern()"),Ge(e,t),this},b.beginTilingPattern=function(e){x("beginTilingPattern()"),Dn(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},b.endTilingPattern=function(e,t){x("endTilingPattern()"),t.stream=se[J].join("\n"),Ge(e,t),He.publish("endTilingPattern",t),Ye.pop().restore()};var Ze=b.__private__.newObject=function(){var e=ze();return qe(e,!0),e},ze=b.__private__.newObjectDeferred=function(){return te++,ne[te]=function(){return ie},te},qe=function(e,t){return t="boolean"==typeof t&&t,ne[e]=ie,t&&de(e+" 0 obj"),e},Je=b.__private__.newAdditionalObject=function(){var e={objId:ze(),content:""};return oe.push(e),e},$e=ze(),et=ze(),tt=b.__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 n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(t[i])).toString(16)).slice(-2);return r},nt=b.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var n=e.ch1,r=e.ch2,o=e.ch3,s=e.ch4,a="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var l=new m(n);if(l.ok)n=l.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var c=parseInt(n.substr(1),16);n=c>>16&255,r=c>>8&255,o=255&c}if(void 0===r||void 0===s&&n===r&&r===o)if("string"==typeof n)t=n+" "+a[0];else switch(e.precision){case 2:t=F(n/255)+" "+a[0];break;case 3:default:t=H(n/255)+" "+a[0]}else if(void 0===s||"object"===i()(s)){if(s&&!isNaN(s.a)&&0===s.a)return["1.","1.","1.",a[1]].join(" ");if("string"==typeof n)t=[n,r,o,a[1]].join(" ");else switch(e.precision){case 2:t=[F(n/255),F(r/255),F(o/255),a[1]].join(" ");break;default:case 3:t=[H(n/255),H(r/255),H(o/255),a[1]].join(" ")}}else if("string"==typeof n)t=[n,r,o,s,a[2]].join(" ");else switch(e.precision){case 2:t=[F(n),F(r),F(o),F(s),a[2]].join(" ");break;case 3:default:t=[H(n),H(r),H(o),H(s),a[2]].join(" ")}return t},rt=b.__private__.getFilters=function(){return c},it=b.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||rt(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,o=t.length,s=e.objectId,a=function(e){return e};if(null!==A&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==A&&(a=Kt.encryptor(s,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==U.API.processDataByFilters?U.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===i&&c.push({key:"Length1",value:o})),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(a(l.data)),de("endstream"))},ot=b.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;qe(r,!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),He.publish("putPage",{objId:r,pageContext:Ue[t],pageNumber:t,page:n}),de("/Contents "+i+" 0 R"),de(">>"),de("endobj");var o=n.join("\n");return S===M.ADVANCED&&(o+="\nQ"),qe(i,!0),it({data:o,filters:rt(),objectId:i}),de("endobj"),r},st=b.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Be;e++)Ue[e].objId=ze(),Ue[e].contentsObjId=ze();for(e=1;e<=Be;e++)n.push(ot({number:e,data:se[e],objId:Ue[e].objId,contentsObjId:Ue[e].contentsObjId,mediaBox:Ue[e].mediaBox,cropBox:Ue[e].cropBox,bleedBox:Ue[e].bleedBox,trimBox:Ue[e].trimBox,artBox:Ue[e].artBox,userUnit:Ue[e].userUnit,rootDictionaryObjId:$e,resourceDictionaryObjId:et}));qe($e,!0),de("<</Type /Pages");var r="/Kids [";for(t=0;t<Be;t++)r+=n[t]+" 0 R ";de(r+"]"),de("/Count "+Be),de(">>"),de("endobj"),He.publish("postPutPages")},at=function(e){He.publish("putFont",{font:e,out:de,newObject:Ze,putStream:it}),!0!==e.isAlreadyPutted&&(e.objectNumber=Ze(),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 xe)xe.hasOwnProperty(e)&&(!1===g||!0===g&&_.hasOwnProperty(e))&&at(xe[e])},ct=function(e){e.objectNumber=Ze();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 n=e.pages[1].join("\n");it({data:n,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 n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var s={offset:1,color:e[e.length-1].color};e.push(s)}for(var a="",l=0,c=0;c<r.length;c++){for(n=r[c];n>e[l+1].offset;)l++;var u=e[l].offset,d=(n-u)/(e[l+1].offset-u),h=e[l].color,p=e[l+1].color;a+=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 a.trim()},ht=function(e,t){t||(t=21);var n=Ze(),r=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:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),de("endobj"),e.objectNumber=Ze(),de("<< /ShadingType "+e.type),de("/ColorSpace /DeviceRGB");var o="/Coords ["+O(parseFloat(e.coords[0]))+" "+O(parseFloat(e.coords[1]))+" ";2===e.type?o+=O(parseFloat(e.coords[2]))+" "+O(parseFloat(e.coords[3])):o+=O(parseFloat(e.coords[2]))+" "+O(parseFloat(e.coords[3]))+" "+O(parseFloat(e.coords[4]))+" "+O(parseFloat(e.coords[5])),de(o+="]"),e.matrix&&de("/Matrix ["+e.matrix.toString()+"]"),de("/Function "+n+" 0 R"),de("/Extend [true true]"),de(">>"),de("endobj")},pt=function(e,t){var n=ze(),r=Ze();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;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:n+" 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 k?ht(Ie[t]):Ie[t]instanceof B&&pt(Ie[t],e))},mt=function(e){for(var t in e.objectNumber=Ze(),de("<<"),e)switch(t){case"opacity":de("/ca "+F(e[t]));break;case"stroke-opacity":de("/CA "+F(e[t]))}de(">>"),de("endobj")},At=function(){var e;for(e in De)De.hasOwnProperty(e)&&mt(De[e])},gt=function(){for(var e in de("/XObject <<"),Ve)Ve.hasOwnProperty(e)&&Ve[e].objectNumber>=0&&de("/"+e+" "+Ve[e].objectNumber+" 0 R");He.publish("putXobjectDict"),de(">>")},_t=function(){Kt.oid=Ze(),de("<<"),de("/Filter /Standard"),de("/V "+Kt.v),de("/R "+Kt.r),de("/U <"+Kt.toHexString(Kt.U)+">"),de("/O <"+Kt.toHexString(Kt.O)+">"),de("/P "+Kt.P),de(">>"),de("endobj")},bt=function(){for(var e in de("/Font <<"),xe)xe.hasOwnProperty(e)&&(!1===g||!0===g&&_.hasOwnProperty(e))&&de("/"+e+" "+xe[e].objectNumber+" 0 R");de(">>")},vt=function(){if(Object.keys(Ie).length>0){for(var e in de("/Shading <<"),Ie)Ie.hasOwnProperty(e)&&Ie[e]instanceof k&&Ie[e].objectNumber>=0&&de("/"+e+" "+Ie[e].objectNumber+" 0 R");He.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 b.TilingPattern&&Ie[t].objectNumber>=0&&Ie[t].objectNumber<e&&de("/"+t+" "+Ie[t].objectNumber+" 0 R");He.publish("putTilingPatternDict"),de(">>")}},yt=function(){if(Object.keys(De).length>0){var e;for(e in de("/ExtGState <<"),De)De.hasOwnProperty(e)&&De[e].objectNumber>=0&&de("/"+e+" "+De[e].objectNumber+" 0 R");He.publish("putGStateDict"),de(">>")}},Rt=function(e){qe(e.resourcesOid,!0),de("<<"),de("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),bt(),vt(),wt(e.objectOid),yt(),gt(),de(">>"),de("endobj")},Mt=function(){var e=[];lt(),At(),ut(),ft(e),He.publish("putResources"),e.forEach(Rt),Rt({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),He.publish("postPutResources")},St=function(){He.publish("putAdditionalObjects");for(var e=0;e<oe.length;e++){var t=oe[e];qe(t.objId,!0),de(t.content),de("endobj")}He.publish("postPutAdditionalObjects")},Et=function(e){Ne[e.fontName]=Ne[e.fontName]||{},Ne[e.fontName][e.fontStyle]=e.id},Tt=function(e,t,n,r,i){var o={id:"F"+(Object.keys(xe).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return He.publish("addFont",{font:o,instance:this}),xe[o.id]=o,Et(o),o.id},Ct=function(e){for(var t=0,n=fe.length;t<n;t++){var r=Tt.call(this,e[t][0],e[t][1],e[t][2],fe[t][3],!0);!1===g&&(_[r]=!0);var i=e[t][0].split("-");Et({id:r,fontName:i[0],fontStyle:i[1]||""})}He.publish("addFonts",{fonts:xe,dictionary:Ne})},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 n="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!s.console)throw new Error(n);s.console.error(n,e),s.alert&&alert(n)}},e.foo.bar=e,e.foo},xt=function(e,t){var n,r,i,o,s,a,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",s=t.outputEncoding,(t.autoencode||s)&&xe[Se].metadata&&xe[Se].metadata[i]&&xe[Se].metadata[i].encoding&&(o=xe[Se].metadata[i].encoding,!s&&xe[Se].encoding&&(s=xe[Se].encoding),!s&&o.codePages&&(s=o.codePages[0]),"string"==typeof s&&(s=o[s]),s)){for(l=!1,a=[],n=0,r=e.length;n<r;n++)(c=s[e.charCodeAt(n)])?a.push(String.fromCharCode(c)):a.push(e[n]),a[n].charCodeAt(0)>>8&&(l=!0);e=a.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(a=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(u),a.push(c-(u<<8))}return String.fromCharCode.apply(void 0,a)},Nt=b.__private__.pdfEscape=b.pdfEscape=function(e,t){return xt(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Lt=b.__private__.beginPage=function(e){se[++Be]=[],Ue[Be]={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])}},Dt(Be),ue(se[J])},It=function(e,t){var r,i,s;switch(n=t||n,"string"==typeof e&&(r=R(e.toLowerCase()),Array.isArray(r)&&(i=r[0],s=r[1])),Array.isArray(e)&&(i=e[0]*Ee,s=e[1]*Ee),isNaN(i)&&(i=o[0],s=o[1]),(i>14400||s>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),s=Math.min(14400,s)),o=[i,s],n.substr(0,1)){case"l":s>i&&(o=[s,i]);break;case"p":i>s&&(o=[s,i])}Lt(o),mn(pn),de(Rn),0!==On&&de(On+" J"),0!==xn&&de(xn+" j"),He.publish("addPage",{pageNumber:Be})},Pt=function(e){e>0&&e<=Be&&(se.splice(e,1),Ue.splice(e,1),Be--,J>Be&&(J=Be),this.setPage(J))},Dt=function(e){e>0&&e<=Be&&(J=e)},Ft=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return se.length-1},kt=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:xe[Se].fontName,t=void 0!==t?t:xe[Se].fontStyle,r=e.toLowerCase(),void 0!==Ne[r]&&void 0!==Ne[r][t]?i=Ne[r][t]:void 0!==Ne[e]&&void 0!==Ne[e][t]?i=Ne[e][t]:!1===n.disableWarning&&l.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=Ne.times[t])&&(i=Ne.times.normal),i},Bt=b.__private__.putInfo=function(){var e=Ze(),t=function(e){return e};for(var n in null!==A&&(t=Kt.encryptor(e,0)),de("<<"),de("/Producer ("+Nt(t("jsPDF "+U.version))+")"),Me)Me.hasOwnProperty(n)&&Me[n]&&de("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+Nt(t(Me[n]))+")");de("/CreationDate ("+Nt(t(Y))+")"),de(">>"),de("endobj")},Ut=b.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||$e;switch(Ze(),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 n=""+Ae;"%"===n.substr(n.length-1)&&(Ae=parseInt(Ae)/100),"number"==typeof Ae&&de("/OpenAction [3 0 R /XYZ null null "+F(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")}be&&de("/PageMode /"+be),He.publish("putCatalog"),de(">>"),de("endobj")},Ht=b.__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 "+Kt.oid+" 0 R"),de("/ID [ <"+Q+"> <"+Q+"> ]"),de(">>")},jt=b.__private__.putHeader=function(){de("%PDF-"+v),de("%ºß¬à")},Vt=b.__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 ne[t]?de((e+ne[t]()).slice(-10)+" 00000 n "):void 0!==ne[t]?de((e+ne[t]).slice(-10)+" 00000 n "):de("0000000000 00000 n ")},Wt=b.__private__.buildDocument=function(){ce(),ue(re),He.publish("buildDocument"),jt(),st(),St(),Mt(),null!==A&&_t(),Bt(),Ut();var e=ie;return Vt(),Ht(),de("startxref"),de(""+e),de("%%EOF"),ue(se[J]),re.join("\n")},Yt=b.__private__.getBlob=function(e){return new Blob([pe(e)],{type:"application/pdf"})},Qt=b.output=b.__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 Wt();case"save":b.save(t.filename);break;case"arraybuffer":return pe(Wt());case"blob":return Yt(Wt());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Yt(Wt()))||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 n="",r=Wt();try{n=p(r)}catch(e){n=p(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,o="");var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",c=s.open();return null!==c&&c.document.write(a),c}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){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=s.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(s))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=s.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 s.document.location.href=this.output("datauristring",t);default:return null}})),Xt=function(e){return!0===Array.isArray(je)&&je.indexOf(e)>-1};switch(r){case"pt":Ee=1;break;case"mm":Ee=72/25.4;break;case"cm":Ee=72/2.54;break;case"in":Ee=72;break;case"px":Ee=1==Xt("px_scaling")?.75:96/72;break;case"pc":case"em":Ee=12;break;case"ex":Ee=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);Ee=r}var Kt=null;z(),K();var Gt=function(e){return null!==A?Kt.encryptor(e,0):function(e){return e}},Zt=b.__private__.getPageInfo=b.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Ue[e].objId,pageNumber:e,pageContext:Ue[e]}},zt=b.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Ue)if(Ue[t].objId===e)break;return Zt(t)},qt=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:Ue[J].objId,pageNumber:J,pageContext:Ue[J]}};b.addPage=function(){return It.apply(this,arguments),this},b.setPage=function(){return Dt.apply(this,arguments),ue.call(this,se[J]),this},b.insertPage=function(e){return this.addPage(),this.movePage(J,e),this},b.movePage=function(e,t){var n,r;if(e>t){n=se[e],r=Ue[e];for(var i=e;i>t;i--)se[i]=se[i-1],Ue[i]=Ue[i-1];se[t]=n,Ue[t]=r,this.setPage(t)}else if(e<t){n=se[e],r=Ue[e];for(var o=e;o<t;o++)se[o]=se[o+1],Ue[o]=Ue[o+1];se[t]=n,Ue[t]=r,this.setPage(t)}return this},b.deletePage=function(){return Pt.apply(this,arguments),this},b.__private__.text=b.text=function(e,t,n,r,o){var s,a,l,c,u,d,h,p,f,m=(r=r||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof n||Array.isArray(n))){var A=n;n=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),r={flags:h,angle:l,align:c})):(x("The transform parameter of text() with a Matrix value"),f=o),isNaN(t)||isNaN(n)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return m;var g="",b=!1,v="number"==typeof r.lineHeightFactor?r.lineHeightFactor:hn,w=m.internal.scaleFactor;function y(e){return e=e.split("\t").join(Array(r.TabLen||9).join(" ")),Nt(e,h)}function R(e){for(var t,n=e.concat(),r=[],i=n.length;i--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function E(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,i,o=e.concat(),s=[],a=o.length;a--;)"string"==typeof(r=o.shift())?s.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=t(r[0],r[1],r[2]),s.push([i[0],i[1],i[2]]));n=s}return n}var T=!1,C=!0;if("string"==typeof e)T=!0;else if(Array.isArray(e)){var N=e.concat();a=[];for(var L,I=N.length;I--;)("string"!=typeof(L=N.shift())||Array.isArray(L)&&"string"!=typeof L[0])&&(C=!1);T=C}if(!1===T)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 P=me/m.internal.scaleFactor,D=P*(v-1);switch(r.baseline){case"bottom":n-=D;break;case"top":n+=P-D;break;case"hanging":n+=P-2*D;break;case"middle":n+=P/2-D}if((d=r.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))}),[]))),s={text:e,x:t,y:n,options:r,mutex:{pdfEscape:Nt,activeFontKey:Se,fonts:xe,activeFontSize:me}},He.publish("preProcessText",s),e=s.text,l=(r=s.options).angle,f instanceof Qe==0&&l&&"number"==typeof l){l*=Math.PI/180,0===r.rotationDirection&&(l=-l),S===M.ADVANCED&&(l=-l);var F=Math.cos(l),k=Math.sin(l);f=new Qe(F,k,-k,F,0,0)}else l&&l instanceof Qe&&(f=l);S!==M.ADVANCED||f||(f=Ke),void 0!==(u=r.charSpace||Tn)&&(g+=O(j(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(p=r.horizontalScale)&&(g+=O(100*p)+" Tz\n"),r.lang;var B=-1,U=void 0!==r.renderingMode?r.renderingMode:r.stroke,H=m.internal.getCurrentPageInfo().pageContext;switch(U){case 0:case!1:case"fill":B=0;break;case 1:case!0:case"stroke":B=1;break;case 2:case"fillThenStroke":B=2;break;case 3:case"invisible":B=3;break;case 4:case"fillAndAddForClipping":B=4;break;case 5:case"strokeAndAddPathForClipping":B=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":B=6;break;case 7:case"addToPathForClipping":B=7}var V=void 0!==H.usedRenderingMode?H.usedRenderingMode:-1;-1!==B?g+=B+" Tr\n":-1!==V&&(g+="0 Tr\n"),-1!==B&&(H.usedRenderingMode=B),c=r.align||"left";var W,Y=me*v,Q=m.internal.pageSize.getWidth(),X=xe[Se];u=r.charSpace||Tn,d=r.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},r.flags);var K=[],G=function(e){return m.getStringUnitWidth(e,{font:X,charSpace:u,fontSize:me,doKerning:!1})*me/w};if("[object Array]"===Object.prototype.toString.call(e)){var Z;a=R(e),"left"!==c&&(W=a.map(G));var z,q=0;if("right"===c){t-=W[0],e=[],I=a.length;for(var J=0;J<I;J++)0===J?(z=bn(t),Z=vn(n)):(z=j(q-W[J]),Z=-Y),e.push([a[J],z,Z]),q=W[J]}else if("center"===c){t-=W[0]/2,e=[],I=a.length;for(var $=0;$<I;$++)0===$?(z=bn(t),Z=vn(n)):(z=j((q-W[$])/2),Z=-Y),e.push([a[$],z,Z]),q=W[$]}else if("left"===c){e=[],I=a.length;for(var ee=0;ee<I;ee++)e.push(a[ee])}else if("justify"===c&&"Identity-H"===X.encoding){e=[],I=a.length,d=0!==d?d:Q;for(var te=0,ne=0;ne<I;ne++)if(Z=0===ne?vn(n):-Y,z=0===ne?bn(t):te,ne<I-1){var re=j((d-W[ne])/(a[ne].split(" ").length-1)),ie=a[ne].split(" ");e.push([ie[0]+" ",z,Z]),te=0;for(var oe=1;oe<ie.length;oe++){var se=(G(ie[oe-1]+" "+ie[oe])-G(ie[oe]))*w+re;oe==ie.length-1?e.push([ie[oe],se,0]):e.push([ie[oe]+" ",se,0]),te-=se}}else e.push([a[ne],z,Z]);e.push(["",te,0])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(e=[],I=a.length,d=0!==d?d:Q,ne=0;ne<I;ne++)Z=0===ne?vn(n):-Y,z=0===ne?bn(t):0,ne<I-1?K.push(O(j((d-W[ne])/(a[ne].split(" ").length-1)))):K.push(0),e.push([a[ne],z,Z])}}var ae="boolean"==typeof r.R2L?r.R2L:_e;!0===ae&&(e=E(e,(function(e,t,n){return[e.split("").reverse().join(""),t,n]}))),s={text:e,x:t,y:n,options:r,mutex:{pdfEscape:Nt,activeFontKey:Se,fonts:xe,activeFontSize:me}},He.publish("postProcessText",s),e=s.text,b=s.mutex.isHex||!1;var le=xe[Se].encoding;"WinAnsiEncoding"!==le&&"StandardEncoding"!==le||(e=E(e,(function(e,t,n){return[y(e),t,n]}))),a=R(e),e=[];for(var ce,ue,he,pe=0,fe=1,Ae=Array.isArray(a[0])?fe:pe,ge="",be=function(e,t,n){var i="";return n instanceof Qe?(n="number"==typeof r.angle?Xe(n,new Qe(1,0,0,1,e,t)):Xe(new Qe(1,0,0,1,e,t),n),S===M.ADVANCED&&(n=Xe(new Qe(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=O(e)+" "+O(t)+" Td\n",i},ve=0;ve<a.length;ve++){switch(ge="",Ae){case fe:he=(b?"<":"(")+a[ve][0]+(b?">":")"),ce=parseFloat(a[ve][1]),ue=parseFloat(a[ve][2]);break;case pe:he=(b?"<":"(")+a[ve]+(b?">":")"),ce=bn(t),ue=vn(n)}void 0!==K&&void 0!==K[ve]&&(ge=K[ve]+" Tw\n"),0===ve?e.push(ge+be(ce,ue,f)+he):Ae===pe?e.push(ge+he):Ae===fe&&e.push(ge+be(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*v)+" TL\n",we+=Sn+"\n",we+=g,we+=e,de(we+="ET"),_[Se]=!0,m};var Jt=b.__private__.clip=b.clip=function(e){return de("evenodd"===e?"W*":"W"),this};b.clipEvenOdd=function(){return Jt("evenodd")},b.__private__.discardPath=b.discardPath=function(){return de("n"),this};var $t=b.__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};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(e){return $t(e)&&(h=e),this};var en=b.__private__.getStyle=b.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},tn=b.close=function(){return de("h"),this};b.stroke=function(){return de("S"),this},b.fill=function(e){return nn("f",e),this},b.fillEvenOdd=function(e){return nn("f*",e),this},b.fillStroke=function(e){return nn("B",e),this},b.fillStrokeEvenOdd=function(e){return nn("B*",e),this};var nn=function(e,t){"object"===i()(t)?sn(t,e):de(e)},rn=function(e){null===e||S===M.ADVANCED&&void 0===e||(e=en(e),de(e))};function on(e,t,n,r,i){var o=new B(t||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var s=e+"$$"+this.cloneIndex+++"$$";return Ge(s,o),o}var sn=function(e,t){var n=Pe[e.key],r=Ie[n];if(r instanceof k)de("q"),de(an(t)),r.gState&&b.setGState(r.gState),de(e.matrix.toString()+" cm"),de("/"+n+" sh"),de("Q");else if(r instanceof B){var i=new Qe(1,0,0,-1,0,Hn());e.matrix&&(i=i.multiply(e.matrix||Ke),n=on.call(r,e.key,e.boundingBox,e.xStep,e.yStep,i).id),de("q"),de("/Pattern cs"),de("/"+n+" scn"),r.gState&&b.setGState(r.gState),de(t),de("Q")}},an=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"}},ln=b.moveTo=function(e,t){return de(O(j(e))+" "+O(W(t))+" m"),this},cn=b.lineTo=function(e,t){return de(O(j(e))+" "+O(W(t))+" l"),this},un=b.curveTo=function(e,t,n,r,i,o){return de([O(j(e)),O(W(t)),O(j(n)),O(W(r)),O(j(i)),O(W(o)),"c"].join(" ")),this};b.__private__.line=b.line=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!$t(i))throw new Error("Invalid arguments passed to jsPDF.line");return S===M.COMPAT?this.lines([[n-e,r-t]],e,t,[1,1],i||"S"):this.lines([[n-e,r-t]],e,t,[1,1]).stroke()},b.__private__.lines=b.lines=function(e,t,n,r,i,o){var s,a,l,c,u,d,h,p,f,m,A,g;if("number"==typeof e&&(g=n,n=t,t=e,e=g),r=r||[1,1],o=o||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!$t(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(ln(t,n),s=r[0],a=r[1],c=e.length,m=t,A=n,l=0;l<c;l++)2===(u=e[l]).length?(m=u[0]*s+m,A=u[1]*a+A,cn(m,A)):(d=u[0]*s+m,h=u[1]*a+A,p=u[2]*s+m,f=u[3]*a+A,m=u[4]*s+m,A=u[5]*a+A,un(d,h,p,f,m,A));return o&&tn(),rn(i),this},b.path=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.c;switch(n.op){case"m":ln(r[0],r[1]);break;case"l":cn(r[0],r[1]);break;case"c":un.apply(this,r);break;case"h":tn()}}return this},b.__private__.rect=b.rect=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!$t(i))throw new Error("Invalid arguments passed to jsPDF.rect");return S===M.COMPAT&&(r=-r),de([O(j(e)),O(W(t)),O(j(n)),O(j(r)),"re"].join(" ")),rn(i),this},b.__private__.triangle=b.triangle=function(e,t,n,r,i,o,s){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!$t(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[i-n,o-r],[e-i,t-o]],e,t,[1,1],s,!0),this},b.__private__.roundedRect=b.roundedRect=function(e,t,n,r,i,o,s){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!$t(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var a=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),o=Math.min(o,.5*r),this.lines([[n-2*i,0],[i*a,0,i,o-o*a,i,o],[0,r-2*o],[0,o*a,-i*a,o,-i,o],[2*i-n,0],[-i*a,0,-i,-o*a,-i,-o],[0,2*o-r],[0,-o*a,i*a,-o,i,-o]],e+i,t,[1,1],s,!0),this},b.__private__.ellipse=b.ellipse=function(e,t,n,r,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!$t(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*n,s=4/3*(Math.SQRT2-1)*r;return ln(e+n,t),un(e+n,t-s,e+o,t-r,e,t-r),un(e-o,t-r,e-n,t-s,e-n,t),un(e-n,t+s,e-o,t+r,e,t+r),un(e+o,t+r,e+n,t+s,e+n,t),rn(i),this},b.__private__.circle=b.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!$t(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},b.setFont=function(e,t,n){return n&&(t=C(t,n)),Se=kt(e,t,{disableWarning:!1}),this};var dn=b.__private__.getFont=b.getFont=function(){return xe[kt.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var e,t,n={};for(e in Ne)if(Ne.hasOwnProperty(e))for(t in n[e]=[],Ne[e])Ne[e].hasOwnProperty(t)&&n[e].push(t);return n},b.addFont=function(e,t,n,r,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(n=C(n,r)),i=i||"Identity-H",Tt.call(this,e,t,n,i)};var hn,pn=e.lineWidth||.200025,fn=b.__private__.getLineWidth=b.getLineWidth=function(){return pn},mn=b.__private__.setLineWidth=b.setLineWidth=function(e){return pn=e,de(O(j(e))+" w"),this};b.__private__.setLineDash=U.API.setLineDash=U.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(j(e))})).join(" "),t=O(j(t)),de("["+e+"] "+t+" d"),this};var An=b.__private__.getLineHeight=b.getLineHeight=function(){return me*hn};b.__private__.getLineHeight=b.getLineHeight=function(){return me*hn};var gn=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(hn=e),this},_n=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return hn};gn(e.lineHeight);var bn=b.__private__.getHorizontalCoordinate=function(e){return j(e)},vn=b.__private__.getVerticalCoordinate=function(e){return S===M.ADVANCED?e:Ue[J].mediaBox.topRightY-Ue[J].mediaBox.bottomLeftY-j(e)},wn=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(e){return O(bn(e))},yn=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(e){return O(vn(e))},Rn=e.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return tt(Rn)},b.__private__.setStrokeColor=b.setDrawColor=function(e,t,n,r){return Rn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),de(Rn),this};var Mn=e.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return tt(Mn)},b.__private__.setFillColor=b.setFillColor=function(e,t,n,r){return Mn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),de(Mn),this};var Sn=e.textColor||"0 g",En=b.__private__.getTextColor=b.getTextColor=function(){return tt(Sn)};b.__private__.setTextColor=b.setTextColor=function(e,t,n,r){return Sn=nt({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var Tn=e.charSpace,Cn=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(Tn||0)};b.__private__.setCharSpace=b.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Tn=e,this};var On=0;b.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},b.__private__.setLineCap=b.setLineCap=function(e){var t=b.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 On=t,de(t+" J"),this};var xn=0;b.__private__.setLineJoin=b.setLineJoin=function(e){var t=b.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 xn=t,de(t+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return de(O(j(e))+" M"),this},b.GState=D,b.setGState=function(e){(e="string"==typeof e?De[Fe[e]]:Nn(null,e)).equals(ke)||(de("/"+e.id+" gs"),ke=e)};var Nn=function(e,t){if(!e||!Fe[e]){var n=!1;for(var r in De)if(De.hasOwnProperty(r)&&De[r].equals(t)){n=!0;break}if(n)t=De[r];else{var i="GS"+(Object.keys(De).length+1).toString(10);De[i]=t,t.id=i}return e&&(Fe[e]=t.id),He.publish("addGState",t),t}};b.addGState=function(e,t){return Nn(e,t),this},b.saveGraphicsState=function(){return de("q"),Le.push({key:Se,size:me,color:Sn}),this},b.restoreGraphicsState=function(){de("Q");var e=Le.pop();return Se=e.key,me=e.size,Sn=e.color,ke=null,this},b.setCurrentTransformationMatrix=function(e){return de(e.toString()+" cm"),this},b.comment=function(e){return de("#"+e),this};var Ln=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(e){i=e.toString()}}),this},In=function(e,t,n,r){Ln.call(this,e,t),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}});var o=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},Pn=function(){this.page=Be,this.currentPage=J,this.pages=se.slice(0),this.pagesContext=Ue.slice(0),this.x=Te,this.y=Ce,this.matrix=Oe,this.width=Bn(J),this.height=Hn(J),this.outputDestination=le,this.id="",this.objectNumber=-1};Pn.prototype.restore=function(){Be=this.page,J=this.currentPage,Ue=this.pagesContext,se=this.pages,Te=this.x,Ce=this.y,Oe=this.matrix,Un(J,this.width),jn(J,this.height),le=this.outputDestination};var Dn=function(e,t,n,r,i){Ye.push(new Pn),Be=J=0,se=[],Te=e,Ce=t,Oe=i,Lt([n,r])},Fn=function(e){if(We[e])Ye.pop().restore();else{var t=new Pn,n="Xo"+(Object.keys(Ve).length+1).toString(10);t.id=n,We[e]=n,Ve[n]=t,He.publish("addFormObject",t),Ye.pop().restore()}};for(var kn in b.beginFormObject=function(e,t,n,r,i){return Dn(e,t,n,r,i),this},b.endFormObject=function(e){return Fn(e),this},b.doFormObject=function(e,t){var n=Ve[We[e]];return de("q"),de(t.toString()+" cm"),de("/"+n.id+" Do"),de("Q"),this},b.getFormObject=function(e){var t=Ve[We[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},b.save=function(e,t){return e=e||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(f(Yt(Wt()),e),"function"==typeof f.unload&&s.setTimeout&&setTimeout(f.unload,911),this):new Promise((function(t,n){try{var r=f(Yt(Wt()),e);"function"==typeof f.unload&&s.setTimeout&&setTimeout(f.unload,911),t(r)}catch(e){n(e.message)}}))},U.API)U.API.hasOwnProperty(kn)&&("events"===kn&&U.API.events.length?function(e,t){var n,r,i;for(i=t.length-1;-1!==i;i--)n=t[i][0],r=t[i][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(He,U.API.events):b[kn]=U.API[kn]);var Bn=b.getPageWidth=function(e){return(Ue[e=e||J].mediaBox.topRightX-Ue[e].mediaBox.bottomLeftX)/Ee},Un=b.setPageWidth=function(e,t){Ue[e].mediaBox.topRightX=t*Ee+Ue[e].mediaBox.bottomLeftX},Hn=b.getPageHeight=function(e){return(Ue[e=e||J].mediaBox.topRightY-Ue[e].mediaBox.bottomLeftY)/Ee},jn=b.setPageHeight=function(e,t){Ue[e].mediaBox.topRightY=t*Ee+Ue[e].mediaBox.bottomLeftY};return b.internal={pdfEscape:Nt,getStyle:en,getFont:dn,getFontSize:ge,getCharSpace:Cn,getTextColor:En,getLineHeight:An,getLineHeightFactor:_n,getLineWidth:fn,write:he,getHorizontalCoordinate:bn,getVerticalCoordinate:vn,getCoordinateString:wn,getVerticalCoordinateString:yn,collections:{},newObject:Ze,newAdditionalObject:Je,newObjectDeferred:ze,newObjectDeferredBegin:qe,getFilters:rt,putStream:it,events:He,scaleFactor:Ee,pageSize:{getWidth:function(){return Bn(J)},setWidth:function(e){Un(J,e)},getHeight:function(){return Hn(J)},setHeight:function(e){jn(J,e)}},encryptionOptions:A,encryption:Kt,getEncryptor:Gt,output:Qt,getNumberOfPages:Ft,pages:se,out:de,f2:F,f3:H,getPageInfo:Zt,getPageInfoByObjId:zt,getCurrentPageInfo:qt,getPDFVersion:w,Point:Ln,Rectangle:In,Matrix:Qe,hasHotfix:Xt},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return Bn(J)},set:function(e){Un(J,e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return Hn(J)},set:function(e){jn(J,e)},enumerable:!0,configurable:!0}),Ct.call(b,fe),Se="F1",It(o,n),He.publish("initialized"),b}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=[],n=0;n<e.length;n+=2)t.push(String.fromCharCode(parseInt(e.substr(n,2),16)));return t.join("")},L.prototype.processOwnerPassword=function(e,t){return x(T(t).substr(0,5),e)},L.prototype.encryptor=function(e,t){var n=T(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return x(n,e)}},D.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||i()(e)!==i()(this))return!1;var r=0;for(t in this)if(!(n.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;r++}for(t in e)e.hasOwnProperty(t)&&n.indexOf(t)<0&&r--;return 0===r},U.API={events:[]},U.version="2.5.2";var H=U.API,j=1,V=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},W=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Y=function(e){return e.toFixed(2)},Q=function(e){return e.toFixed(5)};H.__acroform__={};var X=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},K=function(e){return e*j},G=function(e){var t=new he,n=Ee.internal.getHeight(e)||0,r=Ee.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Y(r)),Number(Y(n))],t},Z=H.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},z=H.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},q=H.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},J=H.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return q(e,t-1)},$=H.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Z(e,t-1)},ee=H.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return z(e,t-1)},te=H.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],o=e[1],s=e[2],a=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(o+a)||0,l.upperRight_X=n(i+s)||0,l.upperRight_Y=r(o)||0,[Number(Y(l.lowerLeft_X)),Number(Y(l.lowerLeft_Y)),Number(Y(l.upperRight_X)),Number(Y(l.upperRight_Y))]},ne=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=re(e,n),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+i+" "+Y(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=G(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},re=function(e,t){var n=0===e.fontSize?e.maxFontSize:e.fontSize,r={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 o=n,s=Ee.internal.getHeight(e)||0;s=s<0?-s:s;var a=Ee.internal.getWidth(e)||0;a=a<0?-a:a;var l=function(t,n,r){if(t+1<i.length){var o=n+" "+i[t+1][0];return ie(o,e,r).width<=a-4}return!1};o++;e:for(;o>0;){t="",o--;var c,u,d=ie("3",e,o).height,h=e.multiline?s-o:(s-d)/2,p=h+=2,f=0,m=0,A=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+ie(t,e,o=12).width+", FieldWidth:"+a+"\n";break}for(var g="",_=0,b=0;b<i.length;b++)if(i.hasOwnProperty(b)){var v=!1;if(1!==i[b].length&&A!==i[b].length-1){if((d+2)*(_+2)+2>s)continue e;g+=i[b][A],v=!0,m=b,b--}else{g=" "==(g+=i[b][A]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var w=parseInt(b),y=l(w,g,o),R=b>=i.length-1;if(y&&!R){g+=" ",A=0;continue}if(y||R){if(R)m=w;else if(e.multiline&&(d+2)*(_+2)+2>s)continue e}else{if(!e.multiline)continue e;if((d+2)*(_+2)+2>s)continue e;m=w}}for(var M="",S=f;S<=m;S++){var E=i[S];if(e.multiline){if(S===m){M+=E[A]+" ",A=(A+1)%E.length;continue}if(S===f){M+=E[E.length-1]+" ";continue}}M+=E[0]+" "}switch(M=" "==M.substr(M.length-1)?M.substr(0,M.length-1):M,u=ie(M,e,o).width,e.textAlign){case"right":c=a-u-2;break;case"center":c=(a-u)/2;break;case"left":default:c=2}t+=Y(c)+" "+Y(p)+" Td\n",t+="("+V(M)+") Tj\n",t+=-Y(c)+" 0 Td\n",p=-(o+2),u=0,f=v?m:m+1,_++,g=""}break}return r.text=t,r.fontSize=o,r},ie=function(e,t,n){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),i=t.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},oe={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},se=function(e,t){var n={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===n.type&&e.object===n.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(n)},ae=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=n,o=e[n];t.internal.newObjectDeferredBegin(o.objId,!0),"object"===i()(o)&&"function"==typeof o.putStream&&o.putStream(),delete e[r]}},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(oe)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");j=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 n in t)if(t.hasOwnProperty(n)){var r=t[n];r.objId=void 0,r.hasAnnotation&&se(r,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 n=!e;for(var r 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(r)){var o=e[r],s=[],a=o.Rect;if(o.Rect&&(o.Rect=te(o.Rect,t)),t.internal.newObjectDeferredBegin(o.objId,!0),o.DA=Ee.createDefaultAppearanceStream(o),"object"===i()(o)&&"function"==typeof o.getKeyValueListForStream&&(s=o.getKeyValueListForStream()),o.Rect=a,o.hasAppearanceStream&&!o.appearanceStreamContent){var l=ne(o);s.push({key:"AP",value:"<</N "+l+">>"}),t.internal.acroformPlugin.xForms.push(l)}if(o.appearanceStreamContent){var c="";for(var u in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(u)){var d=o.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(d).length>=1||Array.isArray(d)){for(var r in d)if(d.hasOwnProperty(r)){var h=d[r];"function"==typeof h&&(h=h.call(t,o)),c+="/"+r+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=d)&&(h=h.call(t,o)),c+="/"+r+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);c+=">>"}s.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:s,objectId:o.objId}),t.internal.out("endobj")}n&&ae(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}},ce=H.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(e){return e};if(Array.isArray(e)){for(var o="[",s=0;s<e.length;s++)switch(0!==s&&(o+=" "),i()(e[s])){case"boolean":case"number":case"object":o+=e[s].toString();break;case"string":"/"!==e[s].substr(0,1)?(void 0!==t&&n&&(r=n.internal.getEncryptor(t)),o+="("+V(r(e[s].toString()))+")"):o+=e[s].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ue=function(e,t,n){var r=function(e){return e};return void 0!==t&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+V(r(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 n in t)if(!1===Object.getOwnPropertyDescriptor(this,t[n]).configurable){var r=t[n],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:ce(i,this.objId,this.scope)}):i instanceof de?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&e.push({key:r,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}})};X(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}})};X(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(J(t,3))},set:function(e){!0===Boolean(e)?this.F=$(t,3):this.F=ee(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[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 o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof ye)return;o="FieldObject"+e.FieldNum++}var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+V(t(o))+")"},set:function(e){o=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(e){o=e}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(e){a=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/j: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 Me))return ue(d,this.objId,this.scope)},set:function(e){e=e.toString(),d=e}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof be==0?ue(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof be==0?"("===e.substr(0,1)?W(e.substr(1,e.length-2)):W(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof be==1?W(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof be==1?"/"+e:e}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof be==0?ue(p,this.objId,this.scope):p},set:function(e){e=e.toString(),p=this instanceof be==0?"("===e.substr(0,1)?W(e.substr(1,e.length-2)):W(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof be==1?W(p.substr(1,p.length-1)):p},set:function(e){e=e.toString(),p=this instanceof be==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var f,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(e){e=Boolean(e),m=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(f)return f},set:function(e){f=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,1):this.Ff=ee(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,2):this.Ff=ee(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=$(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}}})};X(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 n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,i=[];r=t.exec(e);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),t=r}}),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,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,18):this.Ff=ee(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=$(this.Ff,19):this.Ff=ee(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=$(this.Ff,20),t.sort()):this.Ff=ee(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,22):this.Ff=ee(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,27):this.Ff=ee(this.Ff,27)}}),this.hasAppearanceStream=!1};X(me,fe);var Ae=function(){me.call(this),this.fontName="helvetica",this.combo=!1};X(Ae,me);var ge=function(){Ae.call(this),this.combo=!0};X(ge,Ae);var _e=function(){ge.call(this),this.edit=!0};X(_e,ge);var be=function(){fe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,15):this.Ff=ee(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,16):this.Ff=ee(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,17):this.Ff=ee(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(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 n,r=[];for(n in r.push("<<"),t)r.push("/"+n+" ("+V(e(t[n]))+")");return r.push(">>"),r.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}})};X(be,fe);var ve=function(){be.call(this),this.pushButton=!0};X(ve,be);var we=function(){be.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};X(we,be);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 n,r={};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,n=[];for(t in n.push("<<"),r)n.push("/"+t+" ("+V(e(r[t]))+")");return n.push(">>"),n.join("\n")},set:function(e){"object"===i()(e)&&(r=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(e){"string"==typeof e&&(r.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Ee.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};X(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 n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},we.prototype.createOption=function(e){var t=new ye;return t.Parent=this,t.optionName=e,this.Kids.push(t),Te.call(this.scope,t),t};var Re=function(){be.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Ee.CheckBox.createAppearanceStream()};X(Re,be);var Me=function(){fe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,13):this.Ff=ee(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,21):this.Ff=ee(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,24):this.Ff=ee(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,25):this.Ff=ee(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(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}})};X(Me,fe);var Se=function(){Me.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,14):this.Ff=ee(this.Ff,14)}}),this.password=!0};X(Se,Me);var Ee={CheckBox:{createAppearanceStream:function(){return{N:{On:Ee.CheckBox.YesNormal},D:{On:Ee.CheckBox.YesPushDown,Off:Ee.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=G(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),o=re(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+Y(Ee.internal.getWidth(e))+" "+Y(Ee.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+Y(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=G(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],o=Ee.internal.getHeight(e),s=Ee.internal.getWidth(e),a=re(e,e.caption);return i.push("1 g"),i.push("0 0 "+Y(s)+" "+Y(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Y(s-1)+" "+Y(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+Y(a.fontSize)+" Tf "+r),i.push(a.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 n=[];return n.push("0.749023 g"),n.push("0 0 "+Y(Ee.internal.getWidth(e))+" "+Y(Ee.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:Ee.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=Ee.RadioButton.Circle.YesNormal,t.D[e]=Ee.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=G(e);t.scope=e.scope;var n=[],r=Ee.internal.getWidth(e)<=Ee.internal.getHeight(e)?Ee.internal.getWidth(e)/4:Ee.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Ee.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+Q(Ee.internal.getWidth(e)/2)+" "+Q(Ee.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=G(e);t.scope=e.scope;var n=[],r=Ee.internal.getWidth(e)<=Ee.internal.getHeight(e)?Ee.internal.getWidth(e)/4:Ee.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*Ee.internal.Bezier_C).toFixed(5)),s=Number((r*Ee.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Q(Ee.internal.getWidth(e)/2)+" "+Q(Ee.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+Q(Ee.internal.getWidth(e)/2)+" "+Q(Ee.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),n.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),n.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),n.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=G(e);t.scope=e.scope;var n=[],r=Ee.internal.getWidth(e)<=Ee.internal.getHeight(e)?Ee.internal.getWidth(e)/4:Ee.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*Ee.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+Q(Ee.internal.getWidth(e)/2)+" "+Q(Ee.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:Ee.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=Ee.RadioButton.Cross.YesNormal,t.D[e]=Ee.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=G(e);t.scope=e.scope;var n=[],r=Ee.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+Y(Ee.internal.getWidth(e)-2)+" "+Y(Ee.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Y(r.x1.x)+" "+Y(r.x1.y)+" m"),n.push(Y(r.x2.x)+" "+Y(r.x2.y)+" l"),n.push(Y(r.x4.x)+" "+Y(r.x4.y)+" m"),n.push(Y(r.x3.x)+" "+Y(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=G(e);t.scope=e.scope;var n=Ee.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Y(Ee.internal.getWidth(e))+" "+Y(Ee.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Y(Ee.internal.getWidth(e)-2)+" "+Y(Ee.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Y(n.x1.x)+" "+Y(n.x1.y)+" m"),r.push(Y(n.x2.x)+" "+Y(n.x2.y)+" l"),r.push(Y(n.x4.x)+" "+Y(n.x4.y)+" m"),r.push(Y(n.x3.x)+" "+Y(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=G(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Y(Ee.internal.getWidth(e))+" "+Y(Ee.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};Ee.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=Ee.internal.getWidth(e),n=Ee.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},Ee.internal.getWidth=function(e){var t=0;return"object"===i()(e)&&(t=K(e.Rect[2])),t},Ee.internal.getHeight=function(e){var t=0;return"object"===i()(e)&&(t=K(e.Rect[3])),t};var Te=H.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};H.AcroFormChoiceField=me,H.AcroFormListBox=Ae,H.AcroFormComboBox=ge,H.AcroFormEditBox=_e,H.AcroFormButton=be,H.AcroFormPushButton=ve,H.AcroFormRadioButton=we,H.AcroFormCheckBox=Re,H.AcroFormTextField=Me,H.AcroFormPasswordField=Se,H.AcroFormAppearance=Ee,H.AcroForm={ChoiceField:me,ListBox:Ae,ComboBox:ge,EditBox:_e,Button:be,PushButton:ve,RadioButton:we,CheckBox:Re,TextField:Me,PasswordField:Se,Appearance:Ee},U.AcroForm={ChoiceField:me,ListBox:Ae,ComboBox:ge,EditBox:_e,Button:be,PushButton:ve,RadioButton:we,CheckBox:Re,TextField:Me,PasswordField:Se,Appearance:Ee};U.AcroForm;function Ce(e){return e.reduce((function(e,t,n){return e[t]=n,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",n={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]]},r=e.__addimage__.getImageFileTypeByImageData=function(e,r){var i,o,s,a,l,c=t;if("RGBA"===(r=r||t)||void 0!==e.data&&e.data instanceof Uint8ClampedArray&&"height"in e&&"width"in e)return"RGBA";if(M(e))for(l in n)for(s=n[l],i=0;i<s.length;i+=1){for(a=!0,o=0;o<s[i].length;o+=1)if(void 0!==s[i][o]&&s[i][o]!==e[o]){a=!1;break}if(!0===a){c=l;break}}else for(l in n)for(s=n[l],i=0;i<s.length;i+=1){for(a=!0,o=0;o<s[i].length;o+=1)if(void 0!==s[i][o]&&s[i][o]!==e.charCodeAt(o)){a=!1;break}if(!0===a){c=l;break}}return c===t&&r!==t&&(c=r),c},o=function e(t){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.width}),o.push({key:"Height",value:t.height}),t.colorSpace===_.INDEXED?o.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]"}):(o.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===_.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var s="",a=0,l=t.transparency.length;a<l;a++)s+=t.transparency[a]+" "+t.transparency[a]+" ";o.push({key:"Mask",value:"["+s+"]"})}void 0!==t.sMask&&o.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:c,objectId:t.objectId}),n("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();r({data:E(new Uint8Array(t.palette)),objectId:h}),n("endobj")}},s=function(){var e=this.internal.collections.addImage_images;for(var t in e)o.call(this,e[t])},a=function(){var e,t=this.internal.collections.addImage_images,n=this.internal.write;for(var r in t)n("/I"+(e=t[r]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",a))},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,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return h(unescape(r).split("base64,").pop());var i=e.loadFile(r,!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 o;switch(n){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;case"JPEG":case"JPG":default:o="image/jpeg"}return h(t.toDataURL(o,1).split("base64,").pop())}},m=function(e){var t=this.internal.collections.addImage_images;if(t)for(var n in t)if(e===t[n].alias)return t[n]},A=function(e,t,n){return e||t||(e=-96,t=-96),e<0&&(e=-1*n.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.height*72/t/this.internal.scaleFactor),0===e&&(e=t*n.width/n.height),0===t&&(t=e*n.height/n.width),[e,t]},g=function(e,t,n,r,i,o){var s=A.call(this,n,r,i),a=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,u=c.call(this);if(n=s[0],r=s[1],u[i.index]=i,o){o*=Math.PI/180;var d=Math.cos(o),h=Math.sin(o),p=function(e){return e.toFixed(4)},f=[p(d),p(h),p(-1*h),p(d),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,a(e),l(t+r),"cm"].join(" ")),this.internal.write(f.join(" ")),this.internal.write([a(n),"0","0",a(r),"0","0","cm"].join(" "))):this.internal.write([a(n),"0","0",a(r),a(e),l(t+r),"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 b=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,n,r=0;if("string"==typeof e)for(n=e.length,t=0;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;else if(M(e))for(n=e.byteLength/2,t=0;t<n;t++)r=(r<<5)-r+e[t],r|=0;return r},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,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},R=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return R()&&e instanceof ArrayBuffer};var M=e.__addimage__.isArrayBufferView=function(e){return R()&&"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,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},E=e.__addimage__.arrayBufferToBinaryString=function(e){for(var t="",n=M(e)?e:new Uint8Array(e),r=0;r<n.length;r+=8192)t+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return t};e.addImage=function(){var e,n,r,o,s,a,c,u,d;if("number"==typeof arguments[1]?(n=t,r=arguments[1],o=arguments[2],s=arguments[3],a=arguments[4],c=arguments[5],u=arguments[6],d=arguments[7]):(n=arguments[1],r=arguments[2],o=arguments[3],s=arguments[4],a=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,n=h.format||n||t,r=h.x||r||0,o=h.y||o||0,s=h.w||h.width||s,a=h.h||h.height||a,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(r)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var m=T.call(this,e,n,c,u);return g.call(this,r,o,s,a,m,d),this};var T=function(n,i,o,s){var a,l,c;if("string"==typeof n&&r(n)===t){n=unescape(n);var h=C(n,!1);(""!==h||void 0!==(h=e.loadFile(n,!0)))&&(n=h)}if(p(n)&&(n=f(n,i)),i=r(n,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=o)||0===c.length)&&(o=function(e){return"string"==typeof e||M(e)?v(e):M(e.data)?v(e.data):null}(n)),(a=m.call(this,o))||(R()&&(n instanceof Uint8Array||"RGBA"===i||(l=n,n=S(n))),a=this["process"+i.toUpperCase()](n,u.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:b.NONE}(s),l)),!a)throw new Error("An unknown error occurred whilst processing the image.");return a},C=e.__addimage__.convertBase64ToBinaryString=function(e,t){var n;t="boolean"!=typeof t||t;var r,i="";if("string"==typeof e){r=null!==(n=y(e))?n.data:e;try{i=h(r)}catch(e){if(t)throw w(r)?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(n){var i,o,s="";if(p(n)&&(n=f(n)),"string"==typeof n&&r(n)===t&&(""===(s=C(n,!1))&&(s=e.loadFile(n)||""),n=s),o=r(n),!d(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!R()||n instanceof Uint8Array||(n=S(n)),!(i=this["process"+o.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=o,i}}(U.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};U.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,r,i,o=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,c=!1,u=0;u<l.length&&!c;u++)switch((n=l[u]).type){case"link":(t(n.options.url)||t(n.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++){n=l[d];var h=this.internal.pdfEscape,p=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var f=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),A=this.internal.getEncryptor(f.objId),g=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(n.bounds.x)+" "+s(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y)+"] ")+"/Contents ("+h(A(n.contents))+")",i+=" /Popup "+m.objId+" 0 R",i+=" /P "+a.objId+" 0 R",i+=" /T ("+h(A(g))+") >>",f.content=i;var _=f.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(n.bounds.x+30)+" "+s(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w+30)+" "+s(n.bounds.y)+"] ")+" /Parent "+_,n.open&&(i+=" /Open true"),i+=" >>",m.content=i,this.internal.write(f.objId,"0 R",m.objId,"0 R");break;case"freetext":r="/Rect ["+o(n.bounds.x)+" "+s(n.bounds.y)+" "+o(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y+n.bounds.h)+"] ";var b=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(p(n.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+b+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var v=this.annotations._nameMap[n.options.name];n.options.pageNumber=v.page,n.options.top=v.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(p(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;case"XYZ":default:var w=s(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+w+" "+n.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,n,r,i){var o=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:s(e),y:a(t),w:s(e+n),h:a(t+r)},options:i,type:"link"})},e.textWithLink=function(e,t,n,r){var i,o,s=this.getTextWidth(e),a=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){o=r.maxWidth;var l=this.splitTextToSize(e,o).length;i=Math.ceil(a*l)}else o=s,i=a;return this.text(e,t,n,r),n+=.2*a,"center"===r.align&&(t-=s/2),"right"===r.align&&(t-=s),this.link(t,n-a,o,i,r),s},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(U.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]},n={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}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},s=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},a=e.__arabicParser__.isArabicEndLetter=function(e){return s(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return s(e)&&i.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return s(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var c=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return s(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return s(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return s(e)&&o(e)&&4==t[e.charCodeAt(0)].length},d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i="",o=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(o++,"number"==typeof(r=r[e.charCodeAt(t)])&&(i+=String.fromCharCode(r),r=n,o=0),t===e.length-1&&(r=n,i+=e.charAt(t-(o-1)),t-=o-1,o=0)):(r=n,i+=e.charAt(t-o),t-=o,o=0);return i};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,n){return s(e)?!1===o(e)?-1:!c(e)||!s(t)&&!s(n)||!s(n)&&a(t)||a(e)&&!s(t)||a(e)&&l(t)||a(e)&&a(t)?0:u(e)&&s(t)&&!a(t)&&s(n)&&c(n)?3:a(e)||!s(n)?1:2:-1},p=function(e){var n=0,r=0,i=0,o="",a="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)o=c[n][r],a=c[n][r-1],l=c[n][r+1],s(o)?(i=h(o,a,l),u[n]+=-1!==i?String.fromCharCode(t[o.charCodeAt(0)][i]):o):u[n]+=o;u[n]=d(u[n])}return u.join(" ")},f=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(t)){var r=0;for(n=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?n.push([p(t[r][0]),t[r][1],t[r][2]]):n.push([p(t[r])]);e=n}else e=p(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",f])}(U.API),U.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 n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=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 n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);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}])}(U.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,r=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(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=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 n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(e){s=e}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){r.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),i=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,s=0,a=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++)s<(l=this.getStringUnitWidth(e[d],{font:i})*n)&&(s=l);return 0!==s&&(a=e.length),{w:s/=o,h:Math.max((a*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new s(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=e.cell=function(){var e;e=arguments[0]instanceof s?arguments[0]:new s(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,a=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+a.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=a.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===n?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-o,e.y+o,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+o,{align:"center",baseline:"top",maxWidth:e.width-o-o}):this.text(e.text,e.x+o,e.y+o,{align:"left",baseline:"top",maxWidth:e.width-o-o})),this.internal.__cell__.lastCell=e,this};e.table=function(e,n,c,u,d){if(r.call(this),!c)throw new Error("No data for PDF table.");var h,p,f,m,A=[],g=[],_=[],b={},v={},w=[],y=[],R=(d=d||{}).autoSize||!1,M=!1!==d.printHeaders,S=d.css&&void 0!==d.css["font-size"]?16*d.css["font-size"]:d.fontSize||12,E=d.margins||Object.assign({width:this.getPageWidth()},t),T="number"==typeof d.padding?d.padding:3,C=d.headerBackgroundColor||"#c8c8c8",O=d.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=M,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=S,this.internal.__cell__.padding=T,this.internal.__cell__.headerBackgroundColor=C,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)v[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(R||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<A.length;h+=1){for(b[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=b[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);v[m]=Math.max.apply(null,w)+T+T,w=[]}if(M){var x={};for(h=0;h<A.length;h+=1)x[A[h]]={},x[A[h]].text=g[h],x[A[h]].align=_[h];var N=l.call(this,x,v);y=A.map((function(t){return new s(e,n,v[t],N,x[t].text,void 0,x[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],v);for(f=0;f<A.length;f+=1){var P=c[h][A[f]];"cellStart"in d&&d.cellStart instanceof Function&&d.cellStart({row:h,col:f,data:P},this),a.call(this,new s(e,n,v[A[f]],I,P,h+2,L[A[f]]))}}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=n,this};var l=function(e,t){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(e).map((function(r){var i=e[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,t[r]-n-n)}),this).map((function(e){return this.getLineHeightFactor()*e.length*r/i+n+n}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){r.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new s(o[0],o[1],o[2],o[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),a.call(this,i),this.setTextColor(u)}l.length>0&&this.setTableHeaderRow(l),this.setFont(void 0,"normal"),n=!1}}(U.API);var Oe={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ne=Ce(xe),Le=[100,200,300,400,500,600,700,800,900],Ie=Ce(Le);function Pe(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(e){return Oe[e=e||"normal"]?e:"normal"}(e.style),r=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 Ne[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:n,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:t,style:[i,n,r].join(" ")}}}function De(e,t,n,r){var i;for(i=n;i>=0&&i<t.length;i+=r)if(e[t[i]])return e[t[i]];for(i=n;i>=0&&i<t.length;i-=r)if(e[t[i]])return e[t[i]]}var Fe={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},ke={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Be(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Ue(e,t,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Fe,n.genericFontFamilies||{}),o=null,s=null,a=0;a<t.length;++a)if(i[(o=Pe(t[a])).family]&&(o.family=i[o.family]),e.hasOwnProperty(o.family)){s=e[o.family];break}if(!(s=s||e[r]))throw new Error("Could not find a font-family for the rule '"+Be(o)+"' and default family '"+r+"'.");if(s=function(e,t){if(t[e])return t[e];var n=Ne[e],r=n<=Ne.normal?-1:1,i=De(t,xe,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+e);return i}(o.stretch,s),s=function(e,t){if(t[e])return t[e];for(var n=Oe[e],r=0;r<n.length;++r)if(t[n[r]])return t[n[r]];throw new Error("Could not find a matching font-style for "+e)}(o.style,s),!(s=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 n=Ie[e],r=De(t,Le,n,e<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+e);return r}(o.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Be(o)+"'.");return s}function He(e){return e.trimLeft()}function je(e,t){for(var n=0;n<e.length;){if(e.charAt(n)===t)return[e.substring(0,n),e.substring(n+1)];n+=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 We,Ye,Qe,Xe=["times"];!function(e){var t,n,r,o,s,a,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 a,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new a,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,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,a=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 n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(e){isNaN(e)||(i=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=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 s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(e){s=e}});var a=0;Object.defineProperty(this,"lastBreak",{get:function(){return a},set:function(e){a=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 n=function(e){var t=[];return Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=null;switch(e){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:e},t.push(r))}))})),t}(e.getFontList());u=function(e){for(var t={},n=0;n<e.length;++n){var r=Pe(e[n]),i=r.family,o=r.stretch,s=r.style,a=r.weight;t[i]=t[i]||{},t[i][o]=t[i][o]||{},t[i][o][s]=t[i][o][s]||{},t[i][o][s][a]=r}return t}(n.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 n=t[1],r=(t[2],t[3]),i=t[4],o=(t[5],t[6]),s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===s?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var a=function(e){var t,n,r=[],i=e.trim();if(""===i)return Xe;if(i in ke)return[ke[i]];for(;""!==i;){switch(n=null,t=(i=He(i)).charAt(0)){case'"':case"'":n=je(i.substring(1),t);break;default:n=Ve(i)}if(null===n)return Xe;if(r.push(n[0]),""!==(i=He(n[1]))&&","!==i.charAt(0))return Xe;i=i.replace(/^,/,"")}return r}(o);if(this.fontFaces){var l=Ue(p(this.pdf,this.fontFaces),a.map((function(e){return{family:e,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(l.ref.name,l.ref.style)}else{var c="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(c="bold"),"italic"===n&&(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<a.length;h++){if(void 0!==this.pdf.internal.getFont(a[h],c,{noFallback:!0,disableWarning:!0})){u=a[h];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(a[h],"bold",{noFallback:!0,disableWarning:!0}))u=a[h],c="bold";else if(void 0!==this.pdf.internal.getFont(a[h],"normal",{noFallback:!0,disableWarning:!0})){u=a[h],c="normal";break}}if(""===u)for(var f=0;f<a.length;f++)if(d[a[f]]){u=d[a[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,H.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(e){this.ctx.lineDash=e,H.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(){R.call(this,"fill",!1)},p.prototype.stroke=function(){R.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 n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(e,t)},p.prototype.closePath=function(){var e=new a(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 a(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(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 n=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(n.x,n.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),R.call(this,null,!0)},p.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||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 a(n,r)),o=this.ctx.transform.applyToPoint(new a(e,t));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new a(i.x,i.y)},p.prototype.bezierCurveTo=function(e,t,n,r,i,o){if(isNaN(i)||isNaN(o)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw l.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new a(i,o)),c=this.ctx.transform.applyToPoint(new a(e,t)),u=this.ctx.transform.applyToPoint(new a(n,r));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:u.x,y2:u.y,x:s.x,y:s.y}),this.ctx.lastPoint=new a(s.x,s.y)},p.prototype.arc=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i))throw l.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new a(e,t));e=s.x,t=s.y;var c=this.ctx.transform.applyToPoint(new a(0,n)),u=this.ctx.transform.applyToPoint(new a(0,0));n=Math.sqrt(Math.pow(c.x-u.x,2)+Math.pow(c.y-u.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:o})},p.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},p.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))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+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},p.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))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,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},p.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))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,n,r),this.stroke())},p.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))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,n,r))},p.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},p.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+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,n,r,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,n=0,r=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof e&&"#"!==e.charAt(0)){var s=new m(e);e=s.ok?s.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,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,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw l.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!A.call(this)){var i=k(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},p.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"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)){r=isNaN(r)?void 0:r;var i=k(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},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,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),i=t.getStringUnitWidth(e)*r/t.internal.scaleFactor,o=function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new o({width:i*=Math.round(96*n/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 n=new u(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},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 n=new u(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},p.prototype.transform=function(e,t,n,r,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o))throw l.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new u(e,t,n,r,i,o);this.ctx.transform=this.ctx.transform.multiply(s)},p.prototype.setTransform=function(e,t,n,r,i,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new u(e,t,n,r,i,o)};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,n,r,i,o,s,a,l){var d=this.pdf.getImageProperties(e),h=1,p=1,f=1,m=1;void 0!==r&&void 0!==a&&(f=a/r,m=l/i,h=d.width/r*a/r,p=d.height/i*l/i),void 0===o&&(o=t,s=n,t=0,n=0),void 0!==r&&void 0===a&&(a=r,l=i),void 0===r&&void 0===a&&(a=d.width,l=d.height);for(var A,g=this.ctx.transform.decompose(),v=k(g.rotate.shx),R=new u,S=(R=(R=(R=R.multiply(g.translate)).multiply(g.skew)).multiply(g.scale)).applyToRectangle(new c(o-t*f,s-n*m,r*h,i*p)),E=b.call(this,S),T=[],C=0;C<E.length;C+=1)-1===T.indexOf(E[C])&&T.push(E[C]);if(y(T),this.autoPaging)for(var O=T[0],x=T[T.length-1],N=O;N<x+1;N++){this.pdf.setPage(N);var L=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===N?this.posY+this.margin[0]:this.margin[0],P=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],D=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],F=1===N?0:P+(N-2)*D;if(0!==this.ctx.clip_path.length){var B=this.path;A=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(A,this.posX+this.margin[3],-F+I+this.ctx.prevPageLastElemOffset),M.call(this,"fill",!0),this.path=B}var U=JSON.parse(JSON.stringify(S));U=w([U],this.posX+this.margin[3],-F+I+this.ctx.prevPageLastElemOffset)[0];var H=(N>O||N<x)&&_.call(this);H&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],L,D,null).clip().discardPath()),this.pdf.addImage(e,"JPEG",U.x,U.y,U.w,U.h,null,null,v),H&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(e,"JPEG",S.x,S.y,S.w,S.h,null,null,v)};var b=function(e,t,n){var r=[];t=t||this.pdf.internal.pageSize.width,n=n||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":r.push(Math.floor((e.y+i)/n)+1);break;case"arc":r.push(Math.floor((e.y+i-e.radius)/n)+1),r.push(Math.floor((e.y+i+e.radius)/n)+1);break;case"qct":var o=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;case"bct":var s=U(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor((s.y+i)/n)+1),r.push(Math.floor((s.y+s.h+i)/n)+1);break;case"rect":r.push(Math.floor((e.y+i)/n)+1),r.push(Math.floor((e.y+e.h+i)/n)+1)}for(var a=0;a<r.length;a+=1)for(;this.pdf.internal.getNumberOfPages()<r[a];)v.call(this);return r},v=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=o},w=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;case"mt":case"lt":case"arc":default:e[r].x+=t,e[r].y+=n}return e},y=function(e){return e.sort((function(e,t){return e-t}))},R=function(e,t){for(var n,r,i=this.fillStyle,o=this.strokeStyle,s=this.lineCap,a=this.lineWidth,l=Math.abs(a*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=b.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];)v.call(this);if(y(h),this.autoPaging)for(var g=h[0],R=h[h.length-1],S=g;S<R+1;S++){this.pdf.setPage(S),this.fillStyle=i,this.strokeStyle=o,this.lineCap=s,this.lineWidth=l,this.lineJoin=c;var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],T=1===S?this.posY+this.margin[0]:this.margin[0],C=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],x=1===S?0:C+(S-2)*O;if(0!==this.ctx.clip_path.length){var N=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(n,this.posX+this.margin[3],-x+T+this.ctx.prevPageLastElemOffset),M.call(this,e,!0),this.path=N}if(r=JSON.parse(JSON.stringify(u)),this.path=w(r,this.posX+this.margin[3],-x+T+this.ctx.prevPageLastElemOffset),!1===t||0===S){var L=(S>g||S<R)&&_.call(this);L&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,O,null).clip().discardPath()),M.call(this,e,t),L&&this.pdf.restoreGraphicsState()}this.lineWidth=a}else this.lineWidth=l,M.call(this,e,t),this.lineWidth=a;this.path=u},M=function(e,t){if(("stroke"!==e||t||!g.call(this))&&("stroke"===e||t||!A.call(this))){for(var n,r,i=[],o=this.path,s=0;s<o.length;s++){var a=o[s];switch(a.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:a,deltas:[],abs:[]});break;case"lt":var l=i.length;if(o[s-1]&&!isNaN(o[s-1].x)&&(n=[a.x-o[s-1].x,a.y-o[s-1].y],l>0))for(;l>=0;l--)if(!0!==i[l-1].close&&!0!==i[l-1].begin){i[l-1].deltas.push(n),i[l-1].abs.push(a);break}break;case"bct":n=[a.x1-o[s-1].x,a.y1-o[s-1].y,a.x2-o[s-1].x,a.y2-o[s-1].y,a.x-o[s-1].x,a.y-o[s-1].y],i[i.length-1].deltas.push(n);break;case"qct":var c=o[s-1].x+2/3*(a.x1-o[s-1].x),u=o[s-1].y+2/3*(a.y1-o[s-1].y),d=a.x+2/3*(a.x1-a.x),h=a.y+2/3*(a.y1-a.y),p=a.x,f=a.y;n=[c-o[s-1].x,u-o[s-1].y,d-o[s-1].x,h-o[s-1].y,p-o[s-1].x,f-o[s-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(a)}}r=t?null:"stroke"===e?"stroke":"fill";for(var m=!1,_=0;_<i.length;_++)if(i[_].arc)for(var b=i[_].abs,v=0;v<b.length;v++){var w=b[v];"arc"===w.type?T.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,R=i[_].start.y;I.call(this,i[_].deltas,y,R),m=!0}r&&C.call(this,r),t&&O.call(this)}},S=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;case"ideographic":return e;case"alphabetic":default:return e}},E=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 T=function(e,t,n,r,i,o,s,a,l){for(var c=D.call(this,n,r,i,o),u=0;u<c.length;u++){var d=c[u];0===u&&(l?x.call(this,d.x1+e,d.y1+t):L.call(this,d.x1+e,d.y1+t)),P.call(this,e,t,d.x2,d.y2,d.x3,d.y3,d.x4,d.y4)}a?O.call(this):C.call(this,s)},C=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()},x=function(e,t){this.pdf.internal.out(n(e)+" "+r(t)+" m")},N=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 n=this.pdf.getTextDimensions(e.text),r=S.call(this,e.y),i=E.call(this,r)-n.h,o=this.ctx.transform.applyToPoint(new a(e.x,r)),s=this.ctx.transform.decompose(),l=new u;l=(l=(l=l.multiply(s.translate)).multiply(s.skew)).multiply(s.scale);for(var d,h,p,f=this.ctx.transform.applyToRectangle(new c(e.x,r,n.w,n.h)),m=l.applyToRectangle(new c(e.x,i,n.w,n.h)),A=b.call(this,m),g=[],v=0;v<A.length;v+=1)-1===g.indexOf(A[v])&&g.push(A[v]);if(y(g),this.autoPaging)for(var R=g[0],T=g[g.length-1],C=R;C<T+1;C++){this.pdf.setPage(C);var O=1===C?this.posY+this.margin[0]:this.margin[0],x=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],N=this.pdf.internal.pageSize.height-this.margin[2],L=N-this.margin[0],I=this.pdf.internal.pageSize.width-this.margin[1],P=I-this.margin[3],D=1===C?0:x+(C-2)*L;if(0!==this.ctx.clip_path.length){var F=this.path;d=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(d,this.posX+this.margin[3],-1*D+O),M.call(this,"fill",!0),this.path=F}var k=w([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-D+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 B="text"!==this.autoPaging;if(B||k.y+k.h<=N){if(B||k.y>=O&&k.x<=I){var U=B?e.text:this.pdf.splitTextToSize(e.text,e.maxWidth||I-k.x)[0],H=w([JSON.parse(JSON.stringify(f))],this.posX+this.margin[3],-D+O+this.ctx.prevPageLastElemOffset)[0],j=B&&(C>R||C<T)&&_.call(this);j&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],P,L,null).clip().discardPath()),this.pdf.text(U,H.x,H.y,{angle:e.angle,align:t,renderingMode:e.renderingMode}),j&&this.pdf.restoreGraphicsState()}}else k.y<N&&(this.ctx.prevPageLastElemOffset+=N-k.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,o.x+this.posX,o.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,o){i=i||0,o=o||0,this.pdf.internal.out(n(e+i)+" "+r(t+o)+" l")},I=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},P=function(e,n,r,i,a,l,c,u){this.pdf.internal.out([t(o(r+e)),t(s(i+n)),t(o(a+e)),t(s(l+n)),t(o(c+e)),t(s(u+n)),"c"].join(" "))},D=function(e,t,n,r){for(var i=2*Math.PI,o=Math.PI/2;t>n;)t-=i;var s=Math.abs(n-t);s<i&&r&&(s=i-s);for(var a=[],l=r?-1:1,c=t;s>1e-5;){var u=c+l*Math.min(s,o);a.push(F.call(this,e,c,u)),s-=Math.abs(u-c),c=u}return a},F=function(e,t,n){var r=(n-t)/2,i=e*Math.cos(r),o=e*Math.sin(r),s=i,a=-o,l=s*s+a*a,c=l+s*i+a*o,u=4/3*(Math.sqrt(2*l*c)-c)/(s*o-a*i),d=s-u*a,h=a+u*s,p=d,f=-h,m=r+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(n),y4:e*Math.sin(n)}},k=function(e){return 180*e/Math.PI},B=function(e,t,n,r,i,o){var s=e+.5*(n-e),a=t+.5*(r-t),l=i+.5*(n-i),u=o+.5*(r-o),d=Math.min(e,i,s,l),h=Math.max(e,i,s,l),p=Math.min(t,o,a,u),f=Math.max(t,o,a,u);return new c(d,p,h-d,f-p)},U=function(e,t,n,r,i,o,s,a){var l,u,d,h,p,f,m,A,g,_,b,v,w,y,R=n-e,M=r-t,S=i-n,E=o-r,T=s-i,C=a-o;for(u=0;u<41;u++)g=(m=(d=e+(l=u/40)*R)+l*((p=n+l*S)-d))+l*(p+l*(i+l*T-p)-m),_=(A=(h=t+l*M)+l*((f=r+l*E)-h))+l*(f+l*(o+l*C-f)-A),0==u?(b=g,v=_,w=g,y=_):(b=Math.min(b,g),v=Math.min(v,_),w=Math.max(w,g),y=Math.max(y,_));return new c(Math.round(b),Math.round(v),Math.round(w-b),Math.round(y-v))},H=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var e,t,n=(e=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:e,lineDashOffset:t}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(U.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,n,r,i,o,s,a,l,c,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,i=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;i>r;r+=4)0!==(o=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(s=(o=((o=((o=((o=(o-(u=o%85))/85)-(c=o%85))/85)-(l=o%85))/85)-(a=o%85))/85)%85,n.push(s+33,a+33,l+33,c+33,u+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,r,i,o,s=String,a="length",l=255,c="charCodeAt",u="slice",d="replace";for(e[u](-2),e=e[u](0,-2)[d](/\s/g,"")[d]("z","!!!!!"),r=[],i=0,o=(e+=t="uuuuu"[u](e[a]%5||5))[a];o>i;i+=5)n=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),r.push(l&n>>24,l&n>>16,l&n>>8,l&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(r,t[a]),s.fromCharCode.apply(s,r)},r=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 n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},i=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=Object(o["b"])(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,o){var s=0,a=e||"",l=[];for("string"==typeof(o=o||[])&&(o=[o]),s=0;s<o.length;s+=1)switch(o[s]){case"ASCII85Decode":case"/ASCII85Decode":a=n(a),l.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=t(a),l.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=r(a),l.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=a.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",l.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=i(a),l.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[s]+'" is not implemented')}return{data:a,reverseChain:l.reverse().join(" ")}}}(U.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,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(e,t,n){var r=new XMLHttpRequest,i=0,o=function(e){var t=e.length,n=[],r=String.fromCharCode;for(i=0;i<t;i+=1)n.push(r(255&e.charCodeAt(i)));return n.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?n(o(this.responseText)):n(void 0)}),r.send(null),t&&200===r.status)return o(r.responseText)}(e,t,n)}catch(e){}return r}(e,t,n)},e.loadImageFile=e.loadFile}(U.API),function(e){function t(){return(s.html2canvas?Promise.resolve(s.html2canvas):Promise.resolve().then(n.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 r(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):n.e("chunk-2d216214").then(n.t.bind(null,"c0c4",7))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var o=function(e){var t=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"},a=function(e,t){var n=document.createElement(e);for(var r in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[r]=t.style[r];return n},l=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)};(l.prototype=Object.create(Promise.prototype)).constructor=l,l.convert=function(e,t){return e.__proto__=t||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},l.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(r).then((function(t){return this.set({src:a("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,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(e(i,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r}(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=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(a("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,n=this.opt.fontFaces,r="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:r,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=n,n)for(var o=0;o<n.length;++o){var s=n[o],a=s.src.find((function(e){return"truetype"===e.format}));a&&t.addFont(a.url,s.ref.name,s.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,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},l.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},l.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},l.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in l.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},l.prototype.get=function(e,t){return this.then((function(){var n=e in l.template.prop?this.prop[e]:this.opt[e];return t?t(n):n}))},l.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||U.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,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},l.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,(function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return n.updateProgress(null,e),t})).then(e,t).then((function(e){return n.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:l.convert(Object.assign({},this),Promise.prototype),i=n.call(r,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,U.getPageSize=function(e,t,n){if("object"===i()(e)){var r=e;e=r.orientation,t=r.unit||t,n=r.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var o,s=(""+n).toLowerCase(),a={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":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+t}var l,c=0,u=0;if(a.hasOwnProperty(s))c=a[s][1]/o,u=a[s][0]/o;else try{c=n[1],u=n[0]}catch(d){throw new Error("Invalid format: "+n)}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:o,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(Pe):null;var n=new l(t);return t.worker?n:n.from(e).doCallback()}}(U.API),U.API.addJS=function(e){return Qe=e,this.internal.events.subscribe("postPutResources",(function(){We=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(We+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ye=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Qe+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==We&&void 0!==Ye&&this.internal.out("/Names <</JavaScript "+We+" 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,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),i=0;i<r.length;i++){var o=r[i],s=n.exec(o);if(null!=s){var a=s[1];e.internal.newObjectDeferredBegin(a,!1)}e.internal.write(o)}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,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},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 n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},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 n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var i=t.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+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 o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var s=e.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var a=0;a<t.children.length;a++)this.renderItems(t.children[a])},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 n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(U.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,n,r,i,o,s){var a,l=this.decode.DCT_DECODE,c=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(a=function(e){for(var n,r=256*e.charCodeAt(4)+e.charCodeAt(5),i=e.length,o={width:0,height:0,numcomponents:1},s=4;s<i;s+=2){if(s+=r,-1!==t.indexOf(e.charCodeAt(s+1))){n=256*e.charCodeAt(s+5)+e.charCodeAt(s+6),o={width:256*e.charCodeAt(s+7)+e.charCodeAt(s+8),height:n,numcomponents:e.charCodeAt(s+9)};break}r=256*e.charCodeAt(s+2)+e.charCodeAt(s+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}c={data:e,width:a.width,height:a.height,colorSpace:s,bitsPerComponent:8,filter:l,index:n,alias:r}}return c}}(U.API);var Ke,Ge,Ze,ze,qe,Je=function(){var e,t,n;function r(e){var t,n,r,i,o,s,a,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={},s=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":s&&this.animation.frames.push(s),this.pos+=4,s={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,s.delay=1e3*o/i,s.disposeOp=this.data[this.pos++],s.blendOp=this.data[this.pos++],s.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),e=(null!=s?s.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(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-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":a=(d=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,d.slice(0,a)),this.text[l]=String.fromCharCode.apply(String,d.slice(a+1));break;case"IEND":return s&&this.animation.frames.push(s),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,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,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")}}r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,i=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function s(o,s,a,l){var c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C,O,x=Math.ceil((i.width-o)/a),N=Math.ceil((i.height-s)/l),L=i.width==x&&i.height==N;for(y=t*x,v=L?n:new Uint8Array(y*N),f=e.length,w=0,u=0;w<N&&r<f;){switch(e[r++]){case 0:for(h=S=0;S<y;h=S+=1)v[u++]=e[r++];break;case 1:for(h=E=0;E<y;h=E+=1)c=e[r++],p=h<t?0:v[u-t],v[u++]=(c+p)%256;break;case 2:for(h=T=0;T<y;h=T+=1)c=e[r++],d=(h-h%t)/t,R=w&&v[(w-1)*y+d*t+h%t],v[u++]=(R+c)%256;break;case 3:for(h=C=0;C<y;h=C+=1)c=e[r++],d=(h-h%t)/t,p=h<t?0:v[u-t],R=w&&v[(w-1)*y+d*t+h%t],v[u++]=(c+Math.floor((p+R)/2))%256;break;case 4:for(h=O=0;O<y;h=O+=1)c=e[r++],d=(h-h%t)/t,p=h<t?0:v[u-t],0===w?R=M=0:(R=v[(w-1)*y+d*t+h%t],M=d&&v[(w-1)*y+(d-1)*t+h%t]),m=p+R-M,A=Math.abs(m-p),_=Math.abs(m-R),b=Math.abs(m-M),g=A<=_&&A<=b?p:_<=b?R:M,v[u++]=(c+g)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!L){var I=((s+w*l)*i.width+o)*t,P=w*y;for(h=0;h<x;h+=1){for(var D=0;D<t;D+=1)n[I++]=v[P++];I+=(a-1)*t}}w++}}return e=Object(o["a"])(e),1==i.interlaceMethod?(s(0,0,8,8),s(4,0,8,8),s(0,4,4,8),s(2,0,4,4),s(0,2,2,4),s(1,0,2,2),s(0,1,1,2)):s(0,0,1,1),n},r.prototype.decodePalette=function(){var e,t,n,r,i,o,s,a,l;for(n=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+n.length),r=0,e=0,t=s=0,a=n.length;s<a;t=s+=3)i[r++]=n[t],i[r++]=n[t+1],i[r++]=n[t+2],i[r++]=null!=(l=o[e++])?l:255;return i},r.prototype.copyToImageData=function(e,t){var n,r,i,o,s,a,l,c,u,d,h;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,n=!0),c=(i=e.data||e).length,s=u||t,o=a=0,1===r)for(;o<c;)l=u?4*t[o/4]:a,d=s[l++],i[o++]=d,i[o++]=d,i[o++]=d,i[o++]=n?s[l++]:255,a=l;else for(;o<c;)l=u?4*t[o/4]:a,i[o++]=s[l++],i[o++]=s[l++],i[o++]=s[l++],i[o++]=n?s[l++]:255,a=l},r.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(s)){try{t=s.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return!1}return!0}return!1};return i(),e=function(e){var r;if(!0===i())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(t){var n,r,i,o,s,a,l,c;if(this.animation){for(c=[],r=s=0,a=(l=this.animation.frames).length;s<a;r=++s)n=l[r],i=t.createImageData(n.width,n.height),o=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,o),n.imageData=i,c.push(n.image=e(i));return c}},r.prototype.renderFrame=function(e,t){var n,r,i;return n=(r=this.animation.frames)[t],i=r[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===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(e){var t,n,r,i,o,s,a=this;return n=0,s=this.animation,i=s.numFrames,r=s.frames,o=s.numPlays,(t=function(){var s,l;if(s=n++%i,l=r[s],a.renderFrame(e,s),i>1&&n/i<o)return a.animation._timeout=setTimeout(t,l.delay)})()},r.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},r.prototype.render=function(e){var t,n;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)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},r}();
  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 $e(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 n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,i=e[t++],o=i>>7,s=1<<1+(7&i);e[t++],e[t++];var a=null,l=null;o&&(a=t,l=s,t+=3*s);var c=!0,u=[],d=0,h=null,p=0,f=null;for(this.width=n,this.height=r;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(!((T=e[t++])>=0))throw Error("Invalid block size");if(0===T)break;t+=T}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(!((T=e[t++])>=0))throw Error("Invalid block size");if(0===T)break;t+=T}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,b=e[t++]|e[t++]<<8,v=e[t++],w=v>>6&1,y=1<<1+(7&v),R=a,M=l,S=!1;v>>7&&(S=!0,R=t,M=y,t+=3*y);var E=t;for(t++;;){var T;if(!((T=e[t++])>=0))throw Error("Invalid block size");if(0===T)break;t+=T}u.push({x:A,y:g,width:_,height:b,has_local_palette:S,palette_offset:R,palette_size:M,data_offset:E,data_length:t-E,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,r){var i=this.frameInfo(t),o=i.width*i.height,s=new Uint8Array(o);et(e,i.data_offset,s,o);var a=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,d=c,h=4*(i.y*n+i.x),p=4*((i.y+i.height)*n+i.x),f=h,m=4*u;!0===i.interlaced&&(m+=4*n*7);for(var A=8,g=0,_=s.length;g<_;++g){var b=s[g];if(0===d&&(d=c,(f+=m)>=p&&(m=4*u+4*n*(A-1),f=h+(c+u)*(A<<1),A>>=1)),b===l)f+=4;else{var v=e[a+3*b],w=e[a+3*b+1],y=e[a+3*b+2];r[f++]=y,r[f++]=w,r[f++]=v,r[f++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,r){var i=this.frameInfo(t),o=i.width*i.height,s=new Uint8Array(o);et(e,i.data_offset,s,o);var a=i.palette_offset,l=i.transparent_index;null===l&&(l=256);var c=i.width,u=n-c,d=c,h=4*(i.y*n+i.x),p=4*((i.y+i.height)*n+i.x),f=h,m=4*u;!0===i.interlaced&&(m+=4*n*7);for(var A=8,g=0,_=s.length;g<_;++g){var b=s[g];if(0===d&&(d=c,(f+=m)>=p&&(m=4*u+4*n*(A-1),f=h+(c+u)*(A<<1),A>>=1)),b===l)f+=4;else{var v=e[a+3*b],w=e[a+3*b+1],y=e[a+3*b+2];r[f++]=v,r[f++]=w,r[f++]=y,r[f++]=255}--d}}}function et(e,t,n,r){for(var i=e[t++],o=1<<i,s=o+1,a=s+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!==o){if(g===s)break;for(var _=g<a?g:A,b=0,v=_;v>o;)v=m[v]>>8,++b;var w=v;if(p+b+(_!==g?1:0)>r)return void l.log("Warning, gif stream longer than expected.");n[p++]=w;var y=p+=b;for(_!==g&&(n[p++]=w),v=_;b--;)v=m[v],n[--y]=255&v,v>>=8;null!==A&&a<4096&&(m[a++]=A<<8|w,a>=u+1&&c<12&&(++c,u=u<<1|1)),A=g}else a=s+1,u=(1<<(c=i+1))-1,A=null}return p!==r&&l.log("Warning, gif stream shorter than expected."),n}
  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,n,r,i,o,s=Math.floor,a=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),b=new Array(64),v=new Array(64),w=new Array(256),y=new Array(2048),R=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],M=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],T=[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],C=[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],x=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],N=[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 n=0,r=0,i=new Array,o=1;o<=16;o++){for(var s=1;s<=e[o];s++)i[t[r]]=[],i[t[r]][0]=n,i[t[r]][1]=o,r++,n++;n*=2}return i}function I(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(A|=1<<g),n--,--g<0&&(255==A?(P(255),P(0)):P(A),g=7,A=0)}function P(e){m.push(e)}function D(e){P(e>>8&255),P(255&e)}function F(e,t,n,r,i){for(var o,s=i[0],a=i[240],l=function(e,t){var n,r,i,o,s,a,l,c,u,d,h=0;for(u=0;u<8;++u){n=e[h],r=e[h+1],i=e[h+2],o=e[h+3],s=e[h+4],a=e[h+5],l=e[h+6];var f=n+(c=e[h+7]),m=n-c,A=r+l,g=r-l,_=i+a,b=i-a,v=o+s,w=o-s,y=f+v,R=f-v,M=A+_,S=A-_;e[h]=y+M,e[h+4]=y-M;var E=.707106781*(S+R);e[h+2]=R+E,e[h+6]=R-E;var T=.382683433*((y=w+b)-(S=g+m)),C=.5411961*y+T,O=1.306562965*S+T,x=.707106781*(M=b+g),N=m+x,L=m-x;e[h+5]=L+C,e[h+3]=L-C,e[h+1]=N+O,e[h+7]=N-O,h+=8}for(h=0,u=0;u<8;++u){n=e[h],r=e[h+8],i=e[h+16],o=e[h+24],s=e[h+32],a=e[h+40],l=e[h+48];var I=n+(c=e[h+56]),P=n-c,D=r+l,F=r-l,k=i+a,B=i-a,U=o+s,H=o-s,j=I+U,V=I-U,W=D+k,Y=D-k;e[h]=j+W,e[h+32]=j-W;var Q=.707106781*(Y+V);e[h+16]=V+Q,e[h+48]=V-Q;var X=.382683433*((j=H+B)-(Y=F+P)),K=.5411961*j+X,G=1.306562965*Y+X,Z=.707106781*(W=B+F),z=P+Z,q=P-Z;e[h+40]=q+K,e[h+24]=q-K,e[h+8]=z+G,e[h+56]=z-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[R[c]]=l[c];var u=f[0]-n;n=f[0],0==u?I(r[0]):(I(r[h[o=32767+u]]),I(d[o]));for(var m=63;m>0&&0==f[m];)m--;if(0==m)return I(s),n;for(var A,g=1;g<=m;){for(var _=g;0==f[g]&&g<=m;)++g;var b=g-_;if(b>=16){A=b>>4;for(var v=1;v<=A;++v)I(a);b&=15}o=32767+f[g],I(i[(b<<4)+h[o]]),I(d[o]),g++}return 63!=m&&I(s),n}function k(e){e=Math.min(Math.max(e,1),100),o!=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],n=0;n<64;n++){var r=s((t[n]*e+50)/100);r=Math.min(Math.max(r,1),255),a[R[n]]=r}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],o=0;o<64;o++){var d=s((i[o]*e+50)/100);d=Math.min(Math.max(d,1),255),l[R[o]]=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/(a[R[p]]*h[f]*h[m]*8),u[p]=1/(l[R[p]]*h[f]*h[m]*8),p++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){o&&k(o),m=new Array,A=0,g=7,D(65496),D(65504),D(16),P(74),P(70),P(73),P(70),P(0),P(1),P(1),P(0),D(1),D(1),P(0),P(0),function(){D(65499),D(132),P(0);for(var e=0;e<64;e++)P(a[e]);P(1);for(var t=0;t<64;t++)P(l[t])}(),function(e,t){D(65472),D(17),P(8),D(t),D(e),P(3),P(1),P(17),P(0),P(2),P(17),P(1),P(3),P(17),P(1)}(e.width,e.height),function(){D(65476),D(418),P(0);for(var e=0;e<16;e++)P(M[e+1]);for(var t=0;t<=11;t++)P(S[t]);P(16);for(var n=0;n<16;n++)P(E[n+1]);for(var r=0;r<=161;r++)P(T[r]);P(1);for(var i=0;i<16;i++)P(C[i+1]);for(var o=0;o<=11;o++)P(O[o]);P(17);for(var s=0;s<16;s++)P(x[s+1]);for(var a=0;a<=161;a++)P(N[a])}(),D(65498),D(12),P(3),P(1),P(0),P(2),P(17),P(3),P(17),P(0),P(63),P(0);var s=0,d=0,h=0;A=0,g=7,this.encode.displayName="_encode_";for(var p,f,w,R,L,B,U,H,j,V=e.data,W=e.width,Y=e.height,Q=4*W,X=0;X<Y;){for(p=0;p<Q;){for(L=Q*X+p,U=-1,H=0,j=0;j<64;j++)B=L+(H=j>>3)*Q+(U=4*(7&j)),X+H>=Y&&(B-=Q*(X+1+H-Y)),p+U>=Q&&(B-=p+U-Q+4),f=V[B++],w=V[B++],R=V[B++],_[j]=(y[f]+y[w+256>>0]+y[R+512>>0]>>16)-128,b[j]=(y[f+768>>0]+y[w+1024>>0]+y[R+1280>>0]>>16)-128,v[j]=(y[f+1280>>0]+y[w+1536>>0]+y[R+1792>>0]>>16)-128;s=F(_,c,s,t,r),d=F(b,u,d,n,i),h=F(v,u,h,n,i),p+=32}X+=8}if(g>=0){var K=[];K[1]=g+1,K[0]=(1<<g+1)-1,I(K)}return D(65497),new Uint8Array(m)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)w[t]=e(t)}(),t=L(M,S),n=L(C,O),r=L(E,T),i=L(x,N),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)h[32767+r]=n,d[32767+r]=[],d[32767+r][1]=n,d[32767+r][0]=r;for(var i=-(t-1);i<=-e;i++)h[32767+i]=n,d[32767+i]=[],d[32767+i][1]=n,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}(),k(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 nt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function rt(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var r=0;4>r;r++)if(e[t+r]!=n.charCodeAt(r))return!0;return!1}function r(e,t,n,r,i){for(var o=0;o<i;o++)e[t+o]=n[r+o]}function i(e,t,n,r){for(var i=0;i<r;i++)e[t+i]=n}function o(e){return new Int32Array(e)}function s(e,t){for(var n=[],r=0;r<e;r++)n.push(new t);return n}function a(e,t){var n=[];return function e(n,r,i){for(var o=i[r],s=0;s<o&&(n.push(i.length>r+1?[]:new t),!(i.length<r+1));s++)e(n[s],r+1,i)}(n,0,e),n}var l=function(){var e=this;function l(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function c(e,n,r,i,o){t(!(i%r));do{e[n+(i-=r)]=o}while(0<i)}function u(e,n,r,i,s){if(t(2328>=s),512>=s)var a=o(512);else if(null==(a=o(s)))return 0;return function(e,n,r,i,s,a){var u,h,p=n,f=1<<r,m=o(16),A=o(16);for(t(0!=s),t(null!=i),t(null!=e),t(0<r),h=0;h<s;++h){if(15<i[h])return 0;++m[i[h]]}if(m[0]==s)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<s;++h)u=i[h],0<i[h]&&(a[A[u]++]=h);if(1==A[15])return(i=new d).g=0,i.value=a[0],c(e,p,1,f,i),f;var g,_=-1,b=f-1,v=0,w=1,y=1,R=1<<r;for(h=0,u=1,s=2;u<=r;++u,s<<=1){if(w+=y<<=1,0>(y-=m[u]))return 0;for(;0<m[u];--m[u])(i=new d).g=u,i.value=a[h++],c(e,p+v,s,R,i),v=l(v,u)}for(u=r+1,s=2;15>=u;++u,s<<=1){if(w+=y<<=1,0>(y-=m[u]))return 0;for(;0<m[u];--m[u]){if(i=new d,(v&b)!=_){for(p+=R,g=1<<(_=u)-r;15>_&&!(0>=(g-=m[_]));)++_,g<<=1;f+=R=1<<(g=_-r),e[n+(_=v&b)].g=g+r,e[n+_].value=p-n-_}i.g=u-r,i.value=a[h++],c(e,p+(v>>r),s,R,i),v=l(v,u)}}return w!=2*A[15]-1?0:f}(e,n,r,i,s,a)}function d(){this.value=this.g=0}function h(){this.value=this.g=0}function p(){this.G=s(5,d),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(Un,h)}function f(e,n,r,i){t(null!=e),t(null!=n),t(2147483648>i),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=r,e.Jd=n,e.Yc=r+i,e.Zc=4<=i?r+i-4+1:r,E(e)}function m(e,t){for(var n=0;0<t--;)n|=C(e,128)<<t;return n}function A(e,t){var n=m(e,t);return T(e)?-n:n}function g(e,n,r,i){var o,s=0;for(t(null!=e),t(null!=n),t(4294967288>i),e.Sb=i,e.Ra=0,e.u=0,e.h=0,4<i&&(i=4),o=0;o<i;++o)s+=n[r+o]<<8*o;e.Ra=s,e.bb=i,e.oa=n,e.pa=r}function _(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Vn-8>>>0,++e.bb,e.u-=8;R(e)&&(e.h=1,e.u=0)}function b(e,n){if(t(0<=n),!e.h&&n<=jn){var r=y(e)&Hn[n];return e.u+=n,_(e),r}return e.h=1,e.u=0}function v(){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&Vn-1)>>>0}function R(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Vn}function M(e,t){e.u=t,e.h=R(e)}function S(e){e.u>=Wn&&(t(e.u>=Wn),_(e))}function E(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 T(e){return m(e,1)}function C(e,t){var n=e.Ca;0>e.b&&E(e);var r=e.b,i=n*t>>>8,o=(e.I>>>r>i)+0;for(o?(n-=i,e.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+Yn[r],e.b-=r,e.Ca=(n<<r)-1,o}function O(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n>>0&255}function x(e,t){return e[t+0]<<0|e[t+1]<<8}function N(e,t){return x(e,t)|e[t+2]<<16}function L(e,t){return x(e,t)|x(e,t+2)<<16}function I(e,n){var r=1<<n;return t(null!=e),t(0<n),e.X=o(r),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function P(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),r(n.X,0,e.X,0,1<<n.Xa)}function D(){this.X=[],this.Xa=this.Mb=0}function F(e,n,r,i){t(null!=r),t(null!=i);var o=r[0],s=i[0];return 0==o&&(o=(e*s+n/2)/n),0==s&&(s=(n*o+e/2)/e),0>=o||0>=s?0:(r[0]=o,i[0]=s,1)}function k(e,t){return e+(1<<t)-1>>>t}function B(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function U(t,n){e[n]=function(n,r,i,o,s,a,l){var c;for(c=0;c<s;++c){var u=e[t](a[l+c-1],i,o+c);a[l+c]=B(n[r+c],u)}}}function H(){this.ud=this.hd=this.jd=0}function j(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 W(e,t){return V(e+(e-t+.5>>1))}function Y(e,t,n){return Math.abs(t-n)-Math.abs(e-n)}function Q(e,t,n,r,i,o,s){for(r=o[s-1],n=0;n<i;++n)o[s+n]=r=B(e[t+n],r)}function X(e,t,n,r,i){var o;for(o=0;o<n;++o){var s=e[t+o],a=s>>8&255,l=16711935&(l=(l=16711935&s)+((a<<16)+a));r[i+o]=(4278255360&s)+l>>>0}}function K(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function G(e,t,n,r,i,o){var s;for(s=0;s<r;++s){var a=t[n+s],l=a>>>8,c=a,u=255&(u=(u=a>>>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[o+s]=(4278255360&a)+(u<<16)+c}}function Z(t,n,r,i,o){e[n]=function(e,t,n,r,s,a,l,c,u){for(r=l;r<c;++r)for(l=0;l<u;++l)s[a++]=o(n[i(e[t++])])},e[t]=function(t,n,s,a,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;n<s;++n){var m,A=0;for(m=0;m<h;++m)m&t||(A=i(a[l++])),c[u++]=o(p[A&f]),A>>=d}else e["VP8LMapColor"+r](a,l,p,f,c,u,n,s,h)}}function z(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255}}function q(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255,r[i++]=o>>24&255}}function J(e,t,n,r,i){for(n=t+n;t<n;){var o=(s=e[t++])>>16&240|s>>12&15,s=s>>0&240|s>>28&15;r[i++]=o,r[i++]=s}}function $(e,t,n,r,i){for(n=t+n;t<n;){var o=(s=e[t++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;r[i++]=o,r[i++]=s}}function ee(e,t,n,r,i){for(n=t+n;t<n;){var o=e[t++];r[i++]=o>>0&255,r[i++]=o>>8&255,r[i++]=o>>16&255}}function te(e,t,n,i,o,s){if(0==s)for(n=t+n;t<n;)O(i,((s=e[t++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),o+=32;else r(i,o,e,t,n)}function ne(t,n){e[n][0]=e[t+"0"],e[n][1]=e[t+"1"],e[n][2]=e[t+"2"],e[n][3]=e[t+"3"],e[n][4]=e[t+"4"],e[n][5]=e[t+"5"],e[n][6]=e[t+"6"],e[n][7]=e[t+"7"],e[n][8]=e[t+"8"],e[n][9]=e[t+"9"],e[n][10]=e[t+"10"],e[n][11]=e[t+"11"],e[n][12]=e[t+"12"],e[n][13]=e[t+"13"],e[n][14]=e[t+"0"],e[n][15]=e[t+"0"]}function re(e){return e==Wr||e==Yr||e==Qr||e==Xr}function ie(){this.eb=[],this.size=this.A=this.fb=0}function oe(){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 se(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new oe,this.sd=null}function ae(){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 n=e.T,i=t.ba.f.RGBA,o=i.eb,s=i.fb+e.ka*i.A,a=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,b=e.ka+e.T,v=e.U,w=v+1>>1;for(0==_?a(l,c,null,null,u,d,h,p,u,d,h,p,o,s,null,null,v):(a(t.ec,t.fc,l,c,f,m,A,g,u,d,h,p,o,s-i.A,o,s,v),++n);_+2<b;_+=2)f=u,m=d,A=h,g=p,d+=e.Rc,p+=e.Rc,s+=2*i.A,a(l,(c+=2*e.fa)-e.fa,l,c,f,m,A,g,u,d,h,p,o,s-i.A,o,s,v);return c+=e.fa,e.j+b<e.o?(r(t.ec,t.fc,l,c,v),r(t.cc,t.dc,u,d,w),r(t.Mc,t.Nc,h,p,w),n--):1&b||a(l,c,null,null,u,d,h,p,u,d,h,p,o,s+i.A,null,null,v),n}function de(e,n,r){var i=e.F,o=[e.J];if(null!=i){var s=e.U,a=n.ba.S,l=a==Hr||a==Qr;n=n.ba.f.RGBA;var c=[0],u=e.ka;c[0]=e.T,e.Kb&&(0==u?--c[0]:(--u,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(c[0]=e.o-e.j-u));var d=n.eb;u=n.fb+u*n.A,e=Sr(i,o[0],e.width,s,c,d,u+(l?0:3),n.A),t(r==c),e&&re(a)&&Rr(d,u,l,s,c,n.A)}return 0}function he(e){var t=e.ma,n=t.ba.S,r=11>n,i=n==kr||n==Ur||n==Hr||n==jr||12==n||re(n);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Fn(t.Oa,e,i?11:12))return 0;if(i&&re(n)&&bn(),e.da)alert("todo:use_scaling");else{if(r){if(t.Ib=ce,e.Kb){if(n=e.U+1>>1,t.memory=o(e.U+2*n),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+n,t.Ib=ue,bn()}}else alert("todo:EmitYUV");i&&(t.Jb=de,r&&gn())}if(r&&!Ni){for(e=0;256>e;++e)Li[e]=89858*(e-128)+Ei>>Si,Di[e]=-22014*(e-128)+Ei,Pi[e]=-45773*(e-128),Ii[e]=113618*(e-128)+Ei>>Si;for(e=Ti;e<Ci;++e)t=76283*(e-16)+Ei>>Si,Fi[e-Ti]=Qe(t,255),ki[e-Ti]=Qe(t+8>>4,15);Ni=1}return 1}function pe(e){var n=e.ma,r=e.U,i=e.T;return t(!(1&e.ka)),0>=r||0>=i?0:(r=n.Ib(e,n),null!=n.Jb&&n.Jb(e,n,r),n.Dc+=r,1)}function fe(e){e.ma.memory=null}function me(e,t,n,r){return 47!=b(e,8)?0:(t[0]=b(e,14)+1,n[0]=b(e,14)+1,r[0]=b(e,1),0!=b(e,3)?0:!e.h)}function Ae(e,t){if(4>e)return e+1;var n=e-2>>1;return(2+(1&e)<<n)+b(t,n)+1}function ge(e,t){return 120<t?t-120:1<=(n=((n=Jr[t-1])>>4)*e+(8-(15&n)))?n:1;var n}function _e(e,t,n){var r=y(n),i=e[t+=255&r].g-8;return 0<i&&(M(n,n.u+8),r=y(n),t+=e[t].value,t+=r&(1<<i)-1),M(n,n.u+e[t].g),e[t].value}function be(e,n,r){return r.g+=e.g,r.value+=e.value<<n>>>0,t(8>=r.g),e.g}function ve(e,n,r){var i=e.xc;return t((n=0==i?0:e.vc[e.md*(r>>i)+(n>>i)])<e.Wb),e.Ya[n]}function we(e,n,i,o){var s=e.ab,a=e.c*n,l=e.C;n=l+n;var c=i,u=o;for(o=e.Ta,i=e.Ua;0<s--;){var d=e.gc[s],h=l,p=n,f=c,m=u,A=(u=o,c=i,d.Ea);switch(t(h<p),t(p<=d.nc),d.hc){case 2:Kn(f,m,(p-h)*A,u,c);break;case 0:var g=h,_=p,b=u,v=c,w=(E=d).Ea;0==g&&(Qn(f,m,null,null,1,b,v),Q(f,m+1,0,0,w-1,b,v+1),m+=w,v+=w,++g);for(var y=1<<E.b,R=y-1,M=k(w,E.b),S=E.K,E=E.w+(g>>E.b)*M;g<_;){var T=S,C=E,O=1;for(Xn(f,m,b,v-w,1,b,v);O<w;){var x=(O&~R)+y;x>w&&(x=w),(0,Jn[T[C++]>>8&15])(f,m+ +O,b,v+O-w,x-O,b,v+O),O=x}m+=w,v+=w,++g&R||(E+=M)}p!=d.nc&&r(u,c-A,u,c+(p-h-1)*A,A);break;case 1:for(A=f,_=m,w=(f=d.Ea)-(v=f&~(b=(m=1<<d.b)-1)),g=k(f,d.b),y=d.K,d=d.w+(h>>d.b)*g;h<p;){for(R=y,M=d,S=new H,E=_+v,T=_+f;_<E;)K(R[M++],S),$n(S,A,_,m,u,c),_+=m,c+=m;_<T&&(K(R[M++],S),$n(S,A,_,w,u,c),_+=w,c+=w),++h&b||(d+=g)}break;case 3:if(f==u&&m==c&&0<d.b){for(_=u,f=A=c+(p-h)*A-(v=(p-h)*k(d.Ea,d.b)),m=u,b=c,g=[],v=(w=v)-1;0<=v;--v)g[v]=m[b+v];for(v=w-1;0<=v;--v)_[f+v]=g[v];Gn(d,h,p,u,A,u,c)}else Gn(d,h,p,f,m,u,c)}c=o,u=i}u!=i&&r(o,i,c,u,a)}function ye(e,n){var r=e.V,i=e.Ba+e.c*e.C,o=n-e.C;if(t(n<=e.l.o),t(16>=o),0<o){var s=e.l,a=e.Ta,l=e.Ua,c=s.width;if(we(e,o,r,i),o=l=[l],t((r=e.C)<(i=n)),t(s.v<s.va),i>s.o&&(i=s.o),r<s.j){var u=s.j-r;r=s.j,o[0]+=u*c}if(r>=i?r=0:(o[0]+=4*s.v,s.ka=r-s.j,s.U=s.va-s.v,s.T=i-r,r=1),r){if(l=l[0],11>(r=e.ca).S){var d=r.f.RGBA,h=(i=r.S,o=s.U,s=s.T,u=d.eb,d.A),p=s;for(d=d.fb+e.Ma*d.A;0<p--;){var f=a,m=l,A=o,g=u,_=d;switch(i){case Fr:er(f,m,A,g,_);break;case kr:tr(f,m,A,g,_);break;case Wr:tr(f,m,A,g,_),Rr(g,_,0,A,1,0);break;case Br:ir(f,m,A,g,_);break;case Ur:te(f,m,A,g,_,1);break;case Yr:te(f,m,A,g,_,1),Rr(g,_,0,A,1,0);break;case Hr:te(f,m,A,g,_,0);break;case Qr:te(f,m,A,g,_,0),Rr(g,_,1,A,1,0);break;case jr:nr(f,m,A,g,_);break;case Xr:nr(f,m,A,g,_),Mr(g,_,A,1,0);break;case Vr:rr(f,m,A,g,_);break;default:t(0)}l+=c,d+=h}e.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=r.height)}}e.C=n,t(e.C<=e.i)}function Re(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var n=e.Ya[t].G,r=e.Ya[t].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Me(e,n,r,i,o,s){if(0!=e.Z){var a=e.qd,l=e.rd;for(t(null!=Ai[e.Z]);n<r;++n)Ai[e.Z](a,l,i,o,i,o,s),a=i,l=o,o+=s;e.qd=a,e.rd=l}}function Se(e,n){var r=e.l.ma,i=0==r.Z||1==r.Z?e.l.j:e.C;if(i=e.C<i?i:e.C,t(n<=e.l.o),n>i){var o=e.l.width,s=r.ca,a=r.tb+o*i,l=e.V,c=e.Ba+e.c*i,u=e.gc;t(1==e.ab),t(3==u[0].hc),zn(u[0],i,n,l,c,s,a),Me(r,i,n,s,a,o)}e.C=e.Ma=n}function Ee(e,n,r,i,o,s,a){var l=e.$/i,c=e.$%i,u=e.m,d=e.s,h=r+e.$,p=h;o=r+i*o;var f=r+i*s,m=280+d.ua,A=e.Pb?l:16777216,g=0<d.ua?d.Wa:null,_=d.wc,b=h<f?ve(d,c,l):null;t(e.C<s),t(f<=o);var v=!1;e:for(;;){for(;v||h<f;){var w=0;if(l>=A){var E=h-r;t((A=e).Pb),A.wd=A.m,A.xd=E,0<A.s.ua&&P(A.s.Wa,A.s.vb),A=l+ei}if(c&_||(b=ve(d,c,l)),t(null!=b),b.Qb&&(n[h]=b.qb,v=!0),!v)if(S(u),b.jc){w=u,E=n;var T=h,C=b.pd[y(w)&Un-1];t(b.jc),256>C.g?(M(w,w.u+C.g),E[T]=C.value,w=0):(M(w,w.u+C.g-256),t(256<=C.value),w=C.value),0==w&&(v=!0)}else w=_e(b.G[0],b.H[0],u);if(u.h)break;if(v||256>w){if(!v)if(b.nd)n[h]=(b.qb|w<<8)>>>0;else{if(S(u),v=_e(b.G[1],b.H[1],u),S(u),E=_e(b.G[2],b.H[2],u),T=_e(b.G[3],b.H[3],u),u.h)break;n[h]=(T<<24|v<<16|w<<8|E)>>>0}if(v=!1,++h,++c>=i&&(c=0,++l,null!=a&&l<=s&&!(l%16)&&a(e,l),null!=g))for(;p<h;)w=n[p++],g.X[(506832829*w&4294967295)>>>g.Mb]=w}else if(280>w){if(w=Ae(w-256,u),E=_e(b.G[4],b.H[4],u),S(u),E=ge(i,E=Ae(E,u)),u.h)break;if(h-r<E||o-h<w)break e;for(T=0;T<w;++T)n[h+T]=n[h+T-E];for(h+=w,c+=w;c>=i;)c-=i,++l,null!=a&&l<=s&&!(l%16)&&a(e,l);if(t(h<=o),c&_&&(b=ve(d,c,l)),null!=g)for(;p<h;)w=n[p++],g.X[(506832829*w&4294967295)>>>g.Mb]=w}else{if(!(w<m))break e;for(v=w-280,t(null!=g);p<h;)w=n[p++],g.X[(506832829*w&4294967295)>>>g.Mb]=w;w=h,t(!(v>>>(E=g).Xa)),n[w]=E.X[v],v=!0}v||t(u.h==R(u))}if(e.Pb&&u.h&&h<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&P(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=a&&a(e,l>s?s:l),e.a=0,e.$=h-r}return 1}return e.a=3,0}function Te(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var n=e.Wa;null!=n&&(n.X=null),e.vb=null,t(null!=e)}function Ce(){var t=new an;return null==t?null:(t.a=0,t.xb=mi,ne("Predictor","VP8LPredictors"),ne("Predictor","VP8LPredictors_C"),ne("PredictorAdd","VP8LPredictorsAdd"),ne("PredictorAdd","VP8LPredictorsAdd_C"),Kn=X,$n=G,er=z,tr=q,nr=J,rr=$,ir=ee,e.VP8LMapColor32b=Zn,e.VP8LMapColor8b=qn,t)}function Oe(e,n,r,a,l){var c=1,h=[e],f=[n],m=a.m,A=a.s,g=null,_=0;e:for(;;){if(r)for(;c&&b(m,1);){var v=h,w=f,R=a,E=1,T=R.m,C=R.gc[R.ab],O=b(T,2);if(R.Oc&1<<O)c=0;else{switch(R.Oc|=1<<O,C.hc=O,C.Ea=v[0],C.nc=w[0],C.K=[null],++R.ab,t(4>=R.ab),O){case 0:case 1:C.b=b(T,3)+2,E=Oe(k(C.Ea,C.b),k(C.nc,C.b),0,R,C.K),C.K=C.K[0];break;case 3:var x,N=b(T,8)+1,L=16<N?0:4<N?1:2<N?2:3;if(v[0]=k(C.Ea,L),C.b=L,x=E=Oe(N,1,0,R,C.K)){var P,D=N,F=C,U=1<<(8>>F.b),H=o(U);if(null==H)x=0;else{var j=F.K[0],V=F.w;for(H[0]=F.K[0][0],P=1;P<1*D;++P)H[P]=B(j[V+P],H[P-1]);for(;P<4*U;++P)H[P]=0;F.K[0]=null,F.K[0]=H,x=1}}E=x;break;case 2:break;default:t(0)}c=E}}if(h=h[0],f=f[0],c&&b(m,1)&&!(c=1<=(_=b(m,4))&&11>=_)){a.a=3;break e}var W;if(W=c)t:{var Y,Q,X,K=a,G=h,Z=f,z=_,q=r,J=K.m,$=K.s,ee=[null],te=1,ne=0,re=$r[z];n:for(;;){if(q&&b(J,1)){var ie=b(J,3)+2,oe=k(G,ie),se=k(Z,ie),ae=oe*se;if(!Oe(oe,se,0,K,ee))break n;for(ee=ee[0],$.xc=ie,Y=0;Y<ae;++Y){var le=ee[Y]>>8&65535;ee[Y]=le,le>=te&&(te=le+1)}}if(J.h)break n;for(Q=0;5>Q;++Q){var ce=Zr[Q];!Q&&0<z&&(ce+=1<<z),ne<ce&&(ne=ce)}var ue=s(te*re,d),de=te,he=s(de,p);if(null==he)var pe=null;else t(65536>=de),pe=he;var fe=o(ne);if(null==pe||null==fe||null==ue){K.a=1;break n}var me=ue;for(Y=X=0;Y<te;++Y){var Ae=pe[Y],ge=Ae.G,_e=Ae.H,ve=0,we=1,ye=0;for(Q=0;5>Q;++Q){ce=Zr[Q],ge[Q]=me,_e[Q]=X,!Q&&0<z&&(ce+=1<<z);r:{var Re,Me=ce,Se=K,Ce=fe,xe=me,Ne=X,Le=0,Ie=Se.m,Pe=b(Ie,1);if(i(Ce,0,0,Me),Pe){var De=b(Ie,1)+1,Fe=b(Ie,1),ke=b(Ie,0==Fe?1:8);Ce[ke]=1,2==De&&(Ce[ke=b(Ie,8)]=1);var Be=1}else{var Ue=o(19),He=b(Ie,4)+4;if(19<He){Se.a=3;var je=0;break r}for(Re=0;Re<He;++Re)Ue[qr[Re]]=b(Ie,3);var Ve=void 0,We=void 0,Ye=Se,Qe=Ue,Xe=Me,Ke=Ce,Ge=0,Ze=Ye.m,ze=8,qe=s(128,d);i:for(;u(qe,0,7,Qe,19);){if(b(Ze,1)){var Je=2+2*b(Ze,3);if((Ve=2+b(Ze,Je))>Xe)break i}else Ve=Xe;for(We=0;We<Xe&&Ve--;){S(Ze);var $e=qe[0+(127&y(Ze))];M(Ze,Ze.u+$e.g);var et=$e.value;if(16>et)Ke[We++]=et,0!=et&&(ze=et);else{var tt=16==et,nt=et-16,rt=Gr[nt],it=b(Ze,Kr[nt])+rt;if(We+it>Xe)break i;for(var ot=tt?ze:0;0<it--;)Ke[We++]=ot}}Ge=1;break i}Ge||(Ye.a=3),Be=Ge}(Be=Be&&!Ie.h)&&(Le=u(xe,Ne,8,Ce,Me)),Be&&0!=Le?je=Le:(Se.a=3,je=0)}if(0==je)break n;if(we&&1==zr[Q]&&(we=0==me[X].g),ve+=me[X].g,X+=je,3>=Q){var st,at=fe[0];for(st=1;st<ce;++st)fe[st]>at&&(at=fe[st]);ye+=at}}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==ve&&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<Un;++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>>=be(ht,8,dt),ut>>=be(ct.G[1][ct.H[1]+ut],16,dt),ut>>=be(ct.G[2][ct.H[2]+ut],0,dt),be(ct.G[3][ct.H[3]+ut],24,dt))}}}$.vc=ee,$.Wb=te,$.Ya=pe,$.yc=ue,W=1;break t}W=0}if(!(c=W)){a.a=3;break e}if(0<_){if(A.ua=1<<_,!I(A.Wa,_)){a.a=1,c=0;break e}}else A.ua=0;var pt=a,ft=h,mt=f,At=pt.s,gt=At.xc;if(pt.c=ft,pt.i=mt,At.md=k(ft,gt),At.wc=0==gt?-1:(1<<gt)-1,r){a.xb=fi;break e}if(null==(g=o(h*f))){a.a=1,c=0;break e}c=(c=Ee(a,g,0,h,f,f,null))&&!m.h;break e}return c?(null!=l?l[0]=g:(t(null==g),t(r)),a.$=0,r||Te(A)):Te(A),c}function xe(e,n){var r=e.c*e.i,i=r+n+16*n;return t(e.c<=n),e.V=o(i),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+r+n,1)}function Ne(e,n){var r=e.C,i=n-r,o=e.V,s=e.Ba+e.c*r;for(t(n<=e.l.o);0<i;){var a=16<i?16:i,l=e.l.ma,c=e.l.width,u=c*a,d=l.ca,h=l.tb+c*r,p=e.Ta,f=e.Ua;we(e,a,o,s),Er(p,f,d,h,u),Me(l,r,r+a,d,h,c),i-=a,o+=a*e.c,r+=a}t(r==n),e.C=e.Ma=n}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 Pe(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function De(){this.Yb=function(){var e=[];return function e(t,n,r){for(var i=r[n],o=0;o<i&&(t.push(r.length>n+1?[]:0),!(r.length<n+1));o++)e(t[o],n+1,r)}(e,0,[3,11]),e}()}function Fe(){this.jb=o(3),this.Wc=a([4,8],De),this.Xc=a([4,17],De)}function ke(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Be(){this.ld=this.La=this.dd=this.tc=0}function Ue(){this.Na=this.la=0}function He(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function je(){this.ad=o(384),this.Za=0,this.Ob=o(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 Be),this.Y=0,this.ya=Array(new je),this.aa=0,this.l=new Xe}function We(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Ye(){this.cb=this.a=0,this.sc="",this.m=new v,this.Od=new Le,this.Kc=new Ie,this.ed=new ke,this.Qa=new Pe,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=s(8,v),this.ia=0,this.pb=s(4,He),this.Pa=new Fe,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new We),this.Hd=0,this.rb=Array(new Ue),this.sb=0,this.wa=Array(new Be),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 je),this.L=this.aa=0,this.gd=a([4,2],Be),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 Xe(){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 Ke(){var e=new Ye;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,ri||(ri=qe)),e}function Ge(e,t,n){return 0==e.a&&(e.a=t,e.sc=n,e.cb=0),0}function Ze(e,t,n){return 3<=n&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function ze(e,n){if(null==e)return 0;if(e.a=0,e.sc="OK",null==n)return Ge(e,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,o=n.w,s=n.ha;if(4>s)return Ge(e,7,"Truncated header.");var a=r[o+0]|r[o+1]<<8|r[o+2]<<16,l=e.Od;if(l.Rb=!(1&a),l.td=a>>1&7,l.yd=a>>4&1,l.ub=a>>5,3<l.td)return Ge(e,3,"Incorrect keyframe parameters.");if(!l.yd)return Ge(e,4,"Frame not displayable.");o+=3,s-=3;var c=e.Kc;if(l.Rb){if(7>s)return Ge(e,7,"cannot parse picture header");if(!Ze(r,o,s))return Ge(e,3,"Bad code word");c.c=16383&(r[o+4]<<8|r[o+3]),c.Td=r[o+4]>>6,c.i=16383&(r[o+6]<<8|r[o+5]),c.Ud=r[o+6]>>6,o+=7,s-=7,e.za=c.c+15>>4,e.Ub=c.i+15>>4,n.width=c.c,n.height=c.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((a=e.Pa).jb,0,255,a.jb.length),t(null!=(a=e.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,i(a.Zb,0,0,a.Zb.length),i(a.Lb,0,0,a.Lb)}if(l.ub>s)return Ge(e,7,"bad partition length");f(a=e.m,r,o,l.ub),o+=l.ub,s-=l.ub,l.Rb&&(c.Ld=T(a),c.Kd=T(a)),c=e.Qa;var u,d=e.Pa;if(t(null!=a),t(null!=c),c.Cb=T(a),c.Cb){if(c.Bb=T(a),T(a)){for(c.Fb=T(a),u=0;4>u;++u)c.Zb[u]=T(a)?A(a,7):0;for(u=0;4>u;++u)c.Lb[u]=T(a)?A(a,6):0}if(c.Bb)for(u=0;3>u;++u)d.jb[u]=T(a)?m(a,8):255}else c.Bb=0;if(a.Ka)return Ge(e,3,"cannot parse segment header");if((c=e.ed).zd=T(a),c.Tb=m(a,6),c.wb=m(a,3),c.Pc=T(a),c.Pc&&T(a)){for(d=0;4>d;++d)T(a)&&(c.vd[d]=A(a,6));for(d=0;4>d;++d)T(a)&&(c.od[d]=A(a,6))}if(e.L=0==c.Tb?0:c.zd?1:2,a.Ka)return Ge(e,3,"cannot parse filter header");var h=s;if(s=u=o,o=u+h,c=h,e.Xb=(1<<m(e.m,2))-1,h<3*(d=e.Xb))r=7;else{for(u+=3*d,c-=3*d,h=0;h<d;++h){var p=r[s+0]|r[s+1]<<8|r[s+2]<<16;p>c&&(p=c),f(e.Jc[+h],r,u,p),u+=p,c-=p,s+=3}f(e.Jc[+d],r,u,c),r=u<o?0:5}if(0!=r)return Ge(e,r,"cannot parse partitions");for(r=m(u=e.m,7),s=T(u)?A(u,4):0,o=T(u)?A(u,4):0,c=T(u)?A(u,4):0,d=T(u)?A(u,4):0,u=T(u)?A(u,4):0,h=e.Qa,p=0;4>p;++p){if(h.Cb){var g=h.Zb[p];h.Fb||(g+=r)}else{if(0<p){e.pb[p]=e.pb[0];continue}g=r}var _=e.pb[p];_.Sc[0]=ti[Qe(g+s,127)],_.Sc[1]=ni[Qe(g+0,127)],_.Eb[0]=2*ti[Qe(g+o,127)],_.Eb[1]=101581*ni[Qe(g+c,127)]>>16,8>_.Eb[1]&&(_.Eb[1]=8),_.Qc[0]=ti[Qe(g+d,117)],_.Qc[1]=ni[Qe(g+u,127)],_.lc=g+u}if(!l.Rb)return Ge(e,4,"Not a key frame.");for(T(a),l=e.Pa,r=0;4>r;++r){for(s=0;8>s;++s)for(o=0;3>o;++o)for(c=0;11>c;++c)d=C(a,ci[r][s][o][c])?m(a,8):ai[r][s][o][c],l.Wc[r][s].Yb[o][c]=d;for(s=0;17>s;++s)l.Xc[r][s]=l.Wc[r][ui[s]]}return e.kc=T(a),e.kc&&(e.Bd=m(a,8)),e.cb=1}function qe(e,t,n,r,i,o,s){var a=t[i].Yb[n];for(n=0;16>i;++i){if(!C(e,a[n+0]))return i;for(;!C(e,a[n+1]);)if(a=t[++i].Yb[0],n=0,16==i)return 16;var l=t[i+1].Yb;if(C(e,a[n+2])){var c=e,u=0;if(C(c,(h=a)[(d=n)+3]))if(C(c,h[d+6])){for(a=0,d=2*(u=C(c,h[d+8]))+(h=C(c,h[d+9+u])),u=0,h=ii[d];h[a];++a)u+=u+C(c,h[a]);u+=3+(8<<d)}else C(c,h[d+7])?(u=7+2*C(c,165),u+=C(c,145)):u=5+C(c,159);else u=C(c,h[d+4])?3+C(c,h[d+5]):2;a=l[2]}else u=1,a=l[1];l=s+oi[i],0>(c=e).b&&E(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,o[l]=((u^p)-p)*r[(0<i)+0]}return 16}function Je(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,i(e.zc,0,0,e.zc.length),e.ja=0}function $e(e,n){if(null==e)return 0;if(null==n)return Ge(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!ze(e,n))return 0;if(t(e.cb),null==n.ac||n.ac(n)){n.ob&&(e.L=0);var a=Ui[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=n.v-a>>4,e.zb=n.j-a>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=n.o+15+a>>4,e.Hb=n.va+15+a>>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(a=0;4>a;++a){var c;if(e.Qa.Cb){var u=e.Qa.Lb[a];e.Qa.Fb||(u+=l.Tb)}else u=l.Tb;for(c=0;1>=c;++c){var d=e.gd[a][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}}}a=0}else Ge(e,6,"Frame setup failed"),a=e.a;if(a=0==a){if(a){e.$c=0,0<e.Aa||(e.Ic=ji);e:{a=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*a+Ui[e.L])/2*f)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=d)a=0;else{if(d>e.Vb){if(e.Vb=0,e.Ec=o(d),e.Fc=0,null==e.Ec){a=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=s(f,We),e.Hd=0,e.rb=s(m+1,Ue),e.sb=1,e.wa=A?s(A,Be):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=s(g,je),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=Ui[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*a*e.R+f,e.Ha=e.qa,e.Ia=e.ra+8*a*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),Je(e),i(e.Ac,e.Bc,0,l),a=1}}if(a){if(n.ka=0,n.y=e.sa,n.O=e.ta,n.f=e.qa,n.N=e.ra,n.ea=e.Ha,n.Vd=e.Ia,n.fa=e.R,n.Rc=e.B,n.F=null,n.J=0,!Nr){for(a=-255;255>=a;++a)Tr[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)Cr[1020+a]=-128>a?-128:127<a?127:a;for(a=-112;112>=a;++a)Or[112+a]=-16>a?-16:15<a?15:a;for(a=-255;510>=a;++a)xr[255+a]=0>a?0:255<a?255:a;Nr=1}or=ct,sr=ot,lr=st,cr=at,ur=lt,ar=it,dr=Gt,hr=Zt,pr=Jt,fr=$t,mr=zt,Ar=qt,gr=en,_r=tn,br=Vt,vr=Wt,wr=Yt,yr=Qt,hi[0]=Mt,hi[1]=dt,hi[2]=yt,hi[3]=Rt,hi[4]=St,hi[5]=Tt,hi[6]=Et,hi[7]=Ct,hi[8]=xt,hi[9]=Ot,di[0]=gt,di[1]=pt,di[2]=ft,di[3]=mt,di[4]=_t,di[5]=bt,di[6]=vt,pi[0]=Pt,pi[1]=ht,pi[2]=Nt,pi[3]=Lt,pi[4]=Ft,pi[5]=Dt,pi[6]=kt,a=1}else a=0}a&&(a=function(e,n){for(e.M=0;e.M<e.Va;++e.M){var s,a=e.Jc[e.M&e.Xb],l=e.m,c=e;for(s=0;s<c.za;++s){var u=l,d=c,h=d.Ac,p=d.Bc+4*s,f=d.zc,m=d.ya[d.aa+s];if(d.Qa.Bb?m.$b=C(u,d.Pa.jb[0])?2+C(u,d.Pa.jb[2]):C(u,d.Pa.jb[1]):m.$b=0,d.kc&&(m.Ad=C(u,d.Bd)),m.Za=!C(u,145)+0,m.Za){var A=m.Ob,g=0;for(d=0;4>d;++d){var _,b=f[0+d];for(_=0;4>_;++_){b=li[h[p+_]][b];for(var v=si[C(u,b[0])];0<v;)v=si[2*v+C(u,b[v])];b=-v,h[p+_]=b}r(A,g,h,p,4),g+=4,f[0+d]=b}}else b=C(u,156)?C(u,128)?1:3:C(u,163)?2:0,m.Ob[0]=b,i(h,p,b,4),i(f,0,b,4);m.Dd=C(u,142)?C(u,114)?C(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=a,u=(l=e).rb[l.sb-1],h=l.rb[l.sb+l.ja],s=l.ya[l.aa+l.ja],p=l.kc?s.Ad:0)u.la=h.la=0,s.Za||(u.Na=h.Na=0),s.Hc=0,s.Gc=0,s.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],b=_=0,i(d,A,0,384),f.Za)var R=0,M=p[3];else{v=o(16);var S=u.Na+g.Na;if(S=ri(h,p[1],S,m.Eb,0,v,0),u.Na=g.Na=(0<S)+0,1<S)or(v,0,d,A);else{var E=v[0]+3>>3;for(v=0;256>v;v+=16)d[A+v]=E}R=1,M=p[0]}var T=15&u.la,O=15&g.la;for(v=0;4>v;++v){var x=1&O;for(E=y=0;4>E;++E)T=T>>1|(x=(S=ri(h,M,S=x+(1&T),m.Sc,R,d,A))>R)<<7,y=y<<2|(3<S?3:1<S?2:0!=d[A+0]),A+=16;T>>=4,O=O>>1|x<<7,_=(_<<8|y)>>>0}for(M=T,R=O>>4,w=0;4>w;w+=2){for(y=0,T=u.la>>4+w,O=g.la>>4+w,v=0;2>v;++v){for(x=1&O,E=0;2>E;++E)S=x+(1&T),T=T>>1|(x=0<(S=ri(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;T>>=2,O=O>>1|x<<5}b|=y<<4*w,M|=T<<4<<w,R|=(240&O)<<w}u.la=M,g.la=R,f.Hc=_,f.Gc=b,f.ia=43690&b?0:m.ia,p=!(_|b)}if(0<l.L&&(l.wa[l.Y+l.ja]=l.gd[s.$b][s.Za],l.wa[l.Y+l.ja].La|=!p),c.Ka)return Ge(e,7,"Premature end-of-file encountered.")}if(Je(e),l=n,c=1,s=(a=e).D,u=0<a.L&&a.M>=a.zb&&a.M<=a.Va,0==a.Aa)e:{if(s.M=a.M,s.uc=u,Pn(a,s),c=1,s=(y=a.D).Nb,u=(b=Ui[a.L])*a.R,h=b/2*a.B,v=16*s*a.R,E=8*s*a.B,p=a.sa,f=a.ta-u+v,m=a.qa,d=a.ra-h+E,A=a.Ha,g=a.Ia-h+E,O=0==(T=y.M),_=T>=a.Va-1,2==a.Aa&&Pn(a,y),y.uc)for(x=(S=a).D.M,t(S.D.uc),y=S.yb;y<S.Hb;++y){R=y,M=x;var N=(L=(j=S).D).Nb;w=j.R;var L=L.wa[L.Y+R],I=j.sa,P=j.ta+16*N*w+16*R,D=L.dd,F=L.tc;if(0!=F)if(t(3<=F),1==j.L)0<R&&vr(I,P,w,F+4),L.La&&yr(I,P,w,F),0<M&&br(I,P,w,F+4),L.La&&wr(I,P,w,F);else{var k=j.B,B=j.qa,U=j.ra+8*N*k+8*R,H=j.Ha,j=j.Ia+8*N*k+8*R;N=L.ld,0<R&&(hr(I,P,w,F+4,D,N),fr(B,U,H,j,k,F+4,D,N)),L.La&&(Ar(I,P,w,F,D,N),_r(B,U,H,j,k,F,D,N)),0<M&&(dr(I,P,w,F+4,D,N),pr(B,U,H,j,k,F+4,D,N)),L.La&&(mr(I,P,w,F,D,N),gr(B,U,H,j,k,F,D,N))}}if(a.ia&&alert("todo:DitherRow"),null!=l.put){if(y=16*T,T=16*(T+1),O?(l.y=a.sa,l.O=a.ta+v,l.f=a.qa,l.N=a.ra+E,l.ea=a.Ha,l.W=a.Ia+E):(y-=b,l.y=p,l.O=f,l.f=m,l.N=d,l.ea=A,l.W=g),_||(T-=b),T>l.o&&(T=l.o),l.F=null,l.J=null,null!=a.Fa&&0<a.Fa.length&&y<T&&(l.J=hn(a,l,y,T-y),l.F=a.mb,null==l.F&&0==l.F.length)){c=Ge(a,3,"Could not decode alpha data.");break e}y<l.j&&(b=l.j-y,y=l.j,t(!(1&b)),l.O+=a.R*b,l.N+=a.B*(b>>1),l.W+=a.B*(b>>1),null!=l.F&&(l.J+=l.width*b)),y<T&&(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=T-y,c=l.put(l))}s+1!=a.Ic||_||(r(a.sa,a.ta-u,p,f+16*a.R,u),r(a.qa,a.ra-h,m,d+8*a.B,h),r(a.Ha,a.Ia-h,A,g+8*a.B,h))}if(!c)return Ge(e,6,"Output aborted.")}return 1}(e,n)),null!=n.bc&&n.bc(n),a&=1}return a?(e.cb=0,a):0}function et(e,t,n,r,i){i=e[t+n+32*r]+(i>>3),e[t+n+32*r]=-256&i?0>i?0:255:i}function tt(e,t,n,r,i,o){et(e,t,0,n,r+i),et(e,t,1,n,r+o),et(e,t,2,n,r-o),et(e,t,3,n,r-i)}function nt(e){return(20091*e>>16)+e}function rt(e,t,n,r){var i,s=0,a=o(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)-nt(e[t+12]),d=nt(e[t+4])+(35468*e[t+12]>>16);a[s+0]=l+d,a[s+1]=c+u,a[s+2]=c-u,a[s+3]=l-d,s+=4,t++}for(i=s=0;4>i;++i)l=(e=a[s+0]+4)+a[s+8],c=e-a[s+8],u=(35468*a[s+4]>>16)-nt(a[s+12]),et(n,r,0,0,l+(d=nt(a[s+4])+(35468*a[s+12]>>16))),et(n,r,1,0,c+u),et(n,r,2,0,c-u),et(n,r,3,0,l-d),s++,r+=32}function it(e,t,n,r){var i=e[t+0]+4,o=35468*e[t+4]>>16,s=nt(e[t+4]),a=35468*e[t+1]>>16;tt(n,r,0,i+s,e=nt(e[t+1]),a),tt(n,r,1,i+o,e,a),tt(n,r,2,i-o,e,a),tt(n,r,3,i-s,e,a)}function ot(e,t,n,r,i){rt(e,t,n,r),i&&rt(e,t+16,n,r+4)}function st(e,t,n,r){sr(e,t+0,n,r,1),sr(e,t+32,n,r+128,1)}function at(e,t,n,r){var i;for(e=e[t+0]+4,i=0;4>i;++i)for(t=0;4>t;++t)et(n,r,t,i,e)}function lt(e,t,n,r){e[t+0]&&cr(e,t+0,n,r),e[t+16]&&cr(e,t+16,n,r+4),e[t+32]&&cr(e,t+32,n,r+128),e[t+48]&&cr(e,t+48,n,r+128+4)}function ct(e,t,n,r){var i,s=o(16);for(i=0;4>i;++i){var a=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];s[0+i]=a+l,s[8+i]=a-l,s[4+i]=u+c,s[12+i]=u-c}for(i=0;4>i;++i)a=(e=s[0+4*i]+3)+s[3+4*i],l=s[1+4*i]+s[2+4*i],c=s[1+4*i]-s[2+4*i],u=e-s[3+4*i],n[r+0]=a+l>>3,n[r+16]=u+c>>3,n[r+32]=a-l>>3,n[r+48]=u-c>>3,r+=64}function ut(e,t,n){var r,i=t-32,o=Pr,s=255-e[i-1];for(r=0;r<n;++r){var a,l=o,c=s+e[t-1];for(a=0;a<n;++a)e[t+a]=l[c+e[i+a]];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 n;for(n=0;16>n;++n)r(e,t+32*n,e,t-32,16)}function mt(e,t){var n;for(n=16;0<n;--n)i(e,t,e[t-1],16),t+=32}function At(e,t,n){var r;for(r=0;16>r;++r)i(t,n+32*r,e,16)}function gt(e,t){var n,r=16;for(n=0;16>n;++n)r+=e[t-1+32*n]+e[t+n-32];At(r>>5,e,t)}function _t(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t-1+32*n];At(r>>4,e,t)}function bt(e,t){var n,r=8;for(n=0;16>n;++n)r+=e[t+n-32];At(r>>4,e,t)}function vt(e,t){At(128,e,t)}function wt(e,t,n){return e+2*t+n+2>>2}function yt(e,t){var n,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])]),n=0;4>n;++n)r(e,t+32*n,i,0,i.length)}function Rt(e,t){var n=e[t-1],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];O(e,t+0,16843009*wt(e[t-1-32],n,r)),O(e,t+32,16843009*wt(n,r,i)),O(e,t+64,16843009*wt(r,i,o)),O(e,t+96,16843009*wt(i,o,o))}function Mt(e,t){var n,r=4;for(n=0;4>n;++n)r+=e[t+n-32]+e[t-1+32*n];for(r>>=3,n=0;4>n;++n)i(e,t+32*n,r,4)}function St(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],s=e[t+0-32],a=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+96]=wt(r,i,e[t-1+96]),e[t+1+96]=e[t+0+64]=wt(n,r,i),e[t+2+96]=e[t+1+64]=e[t+0+32]=wt(o,n,r),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=wt(s,o,n),e[t+3+64]=e[t+2+32]=e[t+1+0]=wt(a,s,o),e[t+3+32]=e[t+2+0]=wt(l,a,s),e[t+3+0]=wt(c,l,a)}function Et(e,t){var n=e[t+1-32],r=e[t+2-32],i=e[t+3-32],o=e[t+4-32],s=e[t+5-32],a=e[t+6-32],l=e[t+7-32];e[t+0+0]=wt(e[t+0-32],n,r),e[t+1+0]=e[t+0+32]=wt(n,r,i),e[t+2+0]=e[t+1+32]=e[t+0+64]=wt(r,i,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=wt(i,o,s),e[t+3+32]=e[t+2+64]=e[t+1+96]=wt(o,s,a),e[t+3+64]=e[t+2+96]=wt(s,a,l),e[t+3+96]=wt(a,l,l)}function Tt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1-32],s=e[t+0-32],a=e[t+1-32],l=e[t+2-32],c=e[t+3-32];e[t+0+0]=e[t+1+64]=o+s+1>>1,e[t+1+0]=e[t+2+64]=s+a+1>>1,e[t+2+0]=e[t+3+64]=a+l+1>>1,e[t+3+0]=l+c+1>>1,e[t+0+96]=wt(i,r,n),e[t+0+64]=wt(r,n,o),e[t+0+32]=e[t+1+96]=wt(n,o,s),e[t+1+32]=e[t+2+96]=wt(o,s,a),e[t+2+32]=e[t+3+96]=wt(s,a,l),e[t+3+32]=wt(a,l,c)}function Ct(e,t){var n=e[t+0-32],r=e[t+1-32],i=e[t+2-32],o=e[t+3-32],s=e[t+4-32],a=e[t+5-32],l=e[t+6-32],c=e[t+7-32];e[t+0+0]=n+r+1>>1,e[t+1+0]=e[t+0+64]=r+i+1>>1,e[t+2+0]=e[t+1+64]=i+o+1>>1,e[t+3+0]=e[t+2+64]=o+s+1>>1,e[t+0+32]=wt(n,r,i),e[t+1+32]=e[t+0+96]=wt(r,i,o),e[t+2+32]=e[t+1+96]=wt(i,o,s),e[t+3+32]=e[t+2+96]=wt(o,s,a),e[t+3+64]=wt(s,a,l),e[t+3+96]=wt(a,l,c)}function Ot(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96];e[t+0+0]=n+r+1>>1,e[t+2+0]=e[t+0+32]=r+i+1>>1,e[t+2+32]=e[t+0+64]=i+o+1>>1,e[t+1+0]=wt(n,r,i),e[t+3+0]=e[t+1+32]=wt(r,i,o),e[t+3+32]=e[t+1+64]=wt(i,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function xt(e,t){var n=e[t-1+0],r=e[t-1+32],i=e[t-1+64],o=e[t-1+96],s=e[t-1-32],a=e[t+0-32],l=e[t+1-32],c=e[t+2-32];e[t+0+0]=e[t+2+32]=n+s+1>>1,e[t+0+32]=e[t+2+64]=r+n+1>>1,e[t+0+64]=e[t+2+96]=i+r+1>>1,e[t+0+96]=o+i+1>>1,e[t+3+0]=wt(a,l,c),e[t+2+0]=wt(s,a,l),e[t+1+0]=e[t+3+32]=wt(n,s,a),e[t+1+32]=e[t+3+64]=wt(r,n,s),e[t+1+64]=e[t+3+96]=wt(i,r,n),e[t+1+96]=wt(o,i,r)}function Nt(e,t){var n;for(n=0;8>n;++n)r(e,t+32*n,e,t-32,8)}function Lt(e,t){var n;for(n=0;8>n;++n)i(e,t,e[t-1],8),t+=32}function It(e,t,n){var r;for(r=0;8>r;++r)i(t,n+32*r,e,8)}function Pt(e,t){var n,r=8;for(n=0;8>n;++n)r+=e[t+n-32]+e[t-1+32*n];It(r>>4,e,t)}function Dt(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t+n-32];It(r>>3,e,t)}function Ft(e,t){var n,r=4;for(n=0;8>n;++n)r+=e[t-1+32*n];It(r>>3,e,t)}function kt(e,t){It(128,e,t)}function Bt(e,t,n){var r=e[t-n],i=e[t+0],o=3*(i-r)+Lr[1020+e[t-2*n]-e[t+n]],s=Ir[112+(o+4>>3)];e[t-n]=Pr[255+r+Ir[112+(o+3>>3)]],e[t+0]=Pr[255+i-s]}function Ut(e,t,n,r){var i=e[t+0],o=e[t+n];return Dr[255+e[t-2*n]-e[t-n]]>r||Dr[255+o-i]>r}function Ht(e,t,n,r){return 4*Dr[255+e[t-n]-e[t+0]]+Dr[255+e[t-2*n]-e[t+n]]<=r}function jt(e,t,n,r,i){var o=e[t-3*n],s=e[t-2*n],a=e[t-n],l=e[t+0],c=e[t+n],u=e[t+2*n],d=e[t+3*n];return 4*Dr[255+a-l]+Dr[255+s-c]>r?0:Dr[255+e[t-4*n]-o]<=i&&Dr[255+o-s]<=i&&Dr[255+s-a]<=i&&Dr[255+d-u]<=i&&Dr[255+u-c]<=i&&Dr[255+c-l]<=i}function Vt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Ht(e,t+r,n,i)&&Bt(e,t+r,n)}function Wt(e,t,n,r){var i=2*r+1;for(r=0;16>r;++r)Ht(e,t+r*n,1,i)&&Bt(e,t+r*n,1)}function Yt(e,t,n,r){var i;for(i=3;0<i;--i)Vt(e,t+=4*n,n,r)}function Qt(e,t,n,r){var i;for(i=3;0<i;--i)Wt(e,t+=4,n,r)}function Xt(e,t,n,r,i,o,s,a){for(o=2*o+1;0<i--;){if(jt(e,t,n,o,s))if(Ut(e,t,n,a))Bt(e,t,n);else{var l=e,c=t,u=n,d=l[c-2*u],h=l[c-u],p=l[c+0],f=l[c+u],m=l[c+2*u],A=27*(_=Lr[1020+3*(p-h)+Lr[1020+d-f]])+63>>7,g=18*_+63>>7,_=9*_+63>>7;l[c-3*u]=Pr[255+l[c-3*u]+_],l[c-2*u]=Pr[255+d+g],l[c-u]=Pr[255+h+A],l[c+0]=Pr[255+p-A],l[c+u]=Pr[255+f-g],l[c+2*u]=Pr[255+m-_]}t+=r}}function Kt(e,t,n,r,i,o,s,a){for(o=2*o+1;0<i--;){if(jt(e,t,n,o,s))if(Ut(e,t,n,a))Bt(e,t,n);else{var l=e,c=t,u=n,d=l[c-u],h=l[c+0],p=l[c+u],f=Ir[112+(4+(m=3*(h-d))>>3)],m=Ir[112+(m+3>>3)],A=f+1>>1;l[c-2*u]=Pr[255+l[c-2*u]+A],l[c-u]=Pr[255+d+m],l[c+0]=Pr[255+h-f],l[c+u]=Pr[255+p-A]}t+=r}}function Gt(e,t,n,r,i,o){Xt(e,t,n,1,16,r,i,o)}function Zt(e,t,n,r,i,o){Xt(e,t,1,n,16,r,i,o)}function zt(e,t,n,r,i,o){var s;for(s=3;0<s;--s)Kt(e,t+=4*n,n,1,16,r,i,o)}function qt(e,t,n,r,i,o){var s;for(s=3;0<s;--s)Kt(e,t+=4,1,n,16,r,i,o)}function Jt(e,t,n,r,i,o,s,a){Xt(e,t,i,1,8,o,s,a),Xt(n,r,i,1,8,o,s,a)}function $t(e,t,n,r,i,o,s,a){Xt(e,t,1,i,8,o,s,a),Xt(n,r,1,i,8,o,s,a)}function en(e,t,n,r,i,o,s,a){Kt(e,t+4*i,i,1,8,o,s,a),Kt(n,r+4*i,i,1,8,o,s,a)}function tn(e,t,n,r,i,o,s,a){Kt(e,t+4,1,i,8,o,s,a),Kt(n,r+4,1,i,8,o,s,a)}function nn(){this.ba=new se,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 rn(){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 on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function sn(){this.ua=0,this.Wa=new D,this.vb=new D,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new p,this.yc=new d}function an(){this.xb=this.a=0,this.l=new Xe,this.ca=new se,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 sn,this.ab=0,this.gc=s(4,on),this.Oc=0}function ln(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Xe,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cn(e,t,n,r,i,o,s){for(e=null==e?0:e[t+0],t=0;t<s;++t)i[o+t]=e+n[r+t]&255,e=i[o+t]}function un(e,t,n,r,i,o,s){var a;if(null==e)cn(null,null,n,r,i,o,s);else for(a=0;a<s;++a)i[o+a]=e[t+a]+n[r+a]&255}function dn(e,t,n,r,i,o,s){if(null==e)cn(null,null,n,r,i,o,s);else{var a,l=e[t+0],c=l,u=l;for(a=0;a<s;++a)c=u+(l=e[t+a])-c,u=n[r+a]+(-256&c?0>c?0:255:c)&255,c=l,i[o+a]=u}}function hn(e,n,i,s){var a=n.width,l=n.o;if(t(null!=e&&null!=n),0>i||0>=s||i+s>l)return null;if(!e.Cc){if(null==e.ga){var c;if(e.ga=new ln,(c=null==e.ga)||(c=n.width*n.o,t(0==e.Gb.length),e.Gb=o(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!=n),Ai[0]=null,Ai[1]=cn,Ai[2]=un,Ai[3]=dn,c.ca=p,c.tb=f,c.c=n.width,c.i=n.height,t(0<c.c&&0<c.i),1>=h)n=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)n=0;else if(_.put=pe,_.ac=he,_.bc=fe,_.ma=c,_.width=n.width,_.height=n.height,_.Da=n.Da,_.v=n.v,_.va=n.va,_.j=n.j,_.o=n.o,c.$a)e:{t(1==c.$a),n=Ce();t:for(;;){if(null==n){n=0;break e}if(t(null!=c),c.mc=n,n.c=c.c,n.i=c.i,n.l=c.l,n.l.ma=c,n.l.width=c.c,n.l.height=c.i,n.a=0,g(n.m,u,m,A),!Oe(c.c,c.i,1,n,null))break t;if(1==n.ab&&3==n.gc[0].hc&&Re(n.s)?(c.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=o(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(c.ic=0,n=xe(n,c.c)),!n)break t;n=1;break e}c.mc=null,n=0}else n=A>=c.c*c.i;c=!n}if(c)return null;1!=e.ga.Lc?e.Ga=0:s=l-i}t(null!=e.ga),t(i+s<=l);e:{if(n=(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*n,h=e.mb,p=e.nb+i*n,t(d<=e.P+e.qc),0!=u.Z)for(t(null!=Ai[u.Z]),c=0;c<s;++c)Ai[u.Z](m,A,_,d,h,p,n),m=h,A=p,p+=n,d+=n;else for(c=0;c<s;++c)r(h,p,_,d,n),m=h,A=p,p+=n,d+=n;e.rc=m,e.Vc=A}else{if(t(null!=u.mc),n=i+s,t(null!=(c=u.mc)),t(n<=c.i),c.C>=n)n=1;else if(u.ic||gn(),u.ic){u=c.V,m=c.Ba,A=c.c;var b=c.i,v=(_=1,d=c.$/A,h=c.$%A,p=c.m,f=c.s,c.$),w=A*b,y=A*n,M=f.wc,E=v<y?ve(f,h,d):null;t(v<=w),t(n<=b),t(Re(f));t:for(;;){for(;!p.h&&v<y;){if(h&M||(E=ve(f,h,d)),t(null!=E),S(p),256>(b=_e(E.G[0],E.H[0],p)))u[m+v]=b,++v,++h>=A&&(h=0,++d<=n&&!(d%16)&&Se(c,d));else{if(!(280>b)){_=0;break t}b=Ae(b-256,p);var T,C=_e(E.G[4],E.H[4],p);if(S(p),!(v>=(C=ge(A,C=Ae(C,p)))&&w-v>=b)){_=0;break t}for(T=0;T<b;++T)u[m+v+T]=u[m+v+T-C];for(v+=b,h+=b;h>=A;)h-=A,++d<=n&&!(d%16)&&Se(c,d);v<y&&h&M&&(E=ve(f,h,d))}t(p.h==R(p))}Se(c,d>n?n:d);break t}!_||p.h&&v<w?(_=0,c.a=p.h?5:3):c.$=v,n=_}else n=Ee(c,c.V,c.Ba,c.c,c.i,n,Ne);if(!n){s=0;break e}}i+s>=l&&(e.Cc=1),s=1}if(!s)return null;if(e.Cc&&(null!=(s=e.ga)&&(s.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+i*a}function pn(e,t,n,r,i,o){for(;0<i--;){var s,a=e,l=t+(n?1:0),c=e,u=t+(n?0:3);for(s=0;s<r;++s){var d=c[u+4*s];255!=d&&(d*=32897,a[l+4*s+0]=a[l+4*s+0]*d>>23,a[l+4*s+1]=a[l+4*s+1]*d>>23,a[l+4*s+2]=a[l+4*s+2]*d>>23)}t+=o}}function fn(e,t,n,r,i){for(;0<r--;){var o;for(o=0;o<n;++o){var s=e[t+2*o+0],a=15&(c=e[t+2*o+1]),l=4369*a,c=(240&c|c>>4)*l>>16;e[t+2*o+0]=(240&s|s>>4)*l>>16&240|(15&s|s<<4)*l>>16>>4&15,e[t+2*o+1]=240&c|a}t+=i}}function mn(e,t,n,r,i,o,s,a){var l,c,u=255;for(c=0;c<i;++c){for(l=0;l<r;++l){var d=e[t+l];o[s+4*l]=d,u&=d}t+=n,s+=a}return 255!=u}function An(e,t,n,r,i){var o;for(o=0;o<i;++o)n[r+o]=e[t+o]>>8}function gn(){Rr=pn,Mr=fn,Sr=mn,Er=An}function _n(n,r,i){e[n]=function(e,n,o,s,a,l,c,u,d,h,p,f,m,A,g,_,b){var v,w=b-1>>1,y=a[l+0]|c[u+0]<<16,R=d[h+0]|p[f+0]<<16;t(null!=e);var M=3*y+R+131074>>2;for(r(e[n+0],255&M,M>>16,m,A),null!=o&&(M=3*R+y+131074>>2,r(o[s+0],255&M,M>>16,g,_)),v=1;v<=w;++v){var S=a[l+v]|c[u+v]<<16,E=d[h+v]|p[f+v]<<16,T=y+S+R+E+524296,C=T+2*(S+R)>>3;M=C+y>>1,y=(T=T+2*(y+E)>>3)+S>>1,r(e[n+2*v-1],255&M,M>>16,m,A+(2*v-1)*i),r(e[n+2*v-0],255&y,y>>16,m,A+(2*v-0)*i),null!=o&&(M=T+R>>1,y=C+E>>1,r(o[s+2*v-1],255&M,M>>16,g,_+(2*v-1)*i),r(o[s+2*v+0],255&y,y>>16,g,_+(2*v+0)*i)),y=S,R=E}1&b||(M=3*y+R+131074>>2,r(e[n+b-1],255&M,M>>16,m,A+(b-1)*i),null!=o&&(M=3*R+y+131074>>2,r(o[s+b-1],255&M,M>>16,g,_+(b-1)*i)))}}function bn(){gi[Fr]=_i,gi[kr]=vi,gi[Br]=bi,gi[Ur]=wi,gi[Hr]=yi,gi[jr]=Ri,gi[Vr]=Mi,gi[Wr]=vi,gi[Yr]=wi,gi[Qr]=yi,gi[Xr]=Ri}function vn(e){return e&~xi?0>e?0:255:e>>Oi}function wn(e,t){return vn((19077*e>>8)+(26149*t>>8)-14234)}function yn(e,t,n){return vn((19077*e>>8)-(6419*t>>8)-(13320*n>>8)+8708)}function Rn(e,t){return vn((19077*e>>8)+(33050*t>>8)-17685)}function Mn(e,t,n,r,i){r[i+0]=wn(e,n),r[i+1]=yn(e,t,n),r[i+2]=Rn(e,t)}function Sn(e,t,n,r,i){r[i+0]=Rn(e,t),r[i+1]=yn(e,t,n),r[i+2]=wn(e,n)}function En(e,t,n,r,i){var o=yn(e,t,n);t=o<<3&224|Rn(e,t)>>3,r[i+0]=248&wn(e,n)|o>>5,r[i+1]=t}function Tn(e,t,n,r,i){var o=240&Rn(e,t)|15;r[i+0]=240&wn(e,n)|yn(e,t,n)>>4,r[i+1]=o}function Cn(e,t,n,r,i){r[i+0]=255,Mn(e,t,n,r,i+1)}function On(e,t,n,r,i){Sn(e,t,n,r,i),r[i+3]=255}function xn(e,t,n,r,i){Mn(e,t,n,r,i),r[i+3]=255}function Qe(e,t){return 0>e?0:e>t?t:e}function Nn(t,n,r){e[t]=function(e,t,i,o,s,a,l,c,u){for(var d=c+(-2&u)*r;c!=d;)n(e[t+0],i[o+0],s[a+0],l,c),n(e[t+1],i[o+0],s[a+0],l,c+r),t+=2,++o,++a,c+=2*r;1&u&&n(e[t+0],i[o+0],s[a+0],l,c)}}function Ln(e,t,n){return 0==n?0==e?0==t?6:5:0==t?4:0:n}function In(e,t,n,r,i){switch(e>>>30){case 3:sr(t,n,r,i,0);break;case 2:ar(t,n,r,i);break;case 1:cr(t,n,r,i)}}function Pn(e,t){var n,o,s=t.M,a=t.Nb,l=e.oc,c=e.pc+40,u=e.oc,d=e.pc+584,h=e.oc,p=e.pc+600;for(n=0;16>n;++n)l[c+32*n-1]=129;for(n=0;8>n;++n)u[d+32*n-1]=129,h[p+32*n-1]=129;for(0<s?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)),o=0;o<e.za;++o){var f=t.ya[t.aa+o];if(0<o){for(n=-1;16>n;++n)r(l,c+32*n-4,l,c+32*n+12,4);for(n=-1;8>n;++n)r(u,d+32*n-4,u,d+32*n+4,4),r(h,p+32*n-4,h,p+32*n+4,4)}var m=e.Gd,A=e.Hd+o,g=f.ad,_=f.Hc;if(0<s&&(r(l,c-32,m[A].y,0,16),r(u,d-32,m[A].f,0,8),r(h,p-32,m[A].ea,0,8)),f.Za){var b=l,v=c-32+16;for(0<s&&(o>=e.za-1?i(b,v,m[A].y[15],4):r(b,v,m[A+1].y,0,4)),n=0;4>n;n++)b[v+128+n]=b[v+256+n]=b[v+384+n]=b[v+0+n];for(n=0;16>n;++n,_<<=2)b=l,v=c+Bi[n],hi[f.Ob[n]](b,v),In(_,g,16*+n,b,v)}else if(b=Ln(o,s,f.Ob[0]),di[b](l,c),0!=_)for(n=0;16>n;++n,_<<=2)In(_,g,16*+n,l,c+Bi[n]);for(n=f.Gc,b=Ln(o,s,f.Dd),pi[b](u,d),pi[b](h,p),_=g,b=u,v=d,255&(f=n>>0)&&(170&f?lr(_,256,b,v):ur(_,256,b,v)),f=h,_=p,255&(n>>=8)&&(170&n?lr(g,320,f,_):ur(g,320,f,_)),s<e.Ub-1&&(r(m[A].y,0,l,c+480,16),r(m[A].f,0,u,d+224,8),r(m[A].ea,0,h,p+224,8)),n=8*a*e.B,m=e.sa,A=e.ta+16*o+16*a*e.R,g=e.qa,f=e.ra+8*o+n,_=e.Ha,b=e.Ia+8*o+n,n=0;16>n;++n)r(m,A+n*e.R,l,c+32*n,16);for(n=0;8>n;++n)r(g,f+n*e.B,u,d+32*n,8),r(_,b+n*e.B,h,p+32*n,8)}}function Dn(e,r,i,o,s,a,l,c,u){var d=[0],h=[0],p=0,f=null!=u?u.kd:0,m=null!=u?u:new rn;if(null==e||12>i)return 7;m.data=e,m.w=r,m.ha=i,r=[r],i=[i],m.gb=[m.gb];e:{var A=r,_=i,b=m.gb;if(t(null!=e),t(null!=_),t(null!=b),b[0]=0,12<=_[0]&&!n(e,A[0],"RIFF")){if(n(e,A[0]+8,"WEBP")){b=3;break e}var v=L(e,A[0]+4);if(12>v||4294967286<v){b=3;break e}if(f&&v>_[0]-8){b=7;break e}b[0]=v,A[0]+=12,_[0]-=12}b=0}if(0!=b)return b;for(v=0<m.gb[0],i=i[0];;){e:{var y=e;_=r,b=i;var R=d,M=h,S=A=[0];if((C=p=[p])[0]=0,8>b[0])b=7;else{if(!n(y,_[0],"VP8X")){if(10!=L(y,_[0]+4)){b=3;break e}if(18>b[0]){b=7;break e}var E=L(y,_[0]+8),T=1+N(y,_[0]+12);if(2147483648<=T*(y=1+N(y,_[0]+15))){b=3;break e}null!=S&&(S[0]=E),null!=R&&(R[0]=T),null!=M&&(M[0]=y),_[0]+=18,b[0]-=18,C[0]=1}b=0}}if(p=p[0],A=A[0],0!=b)return b;if(_=!!(2&A),!v&&p)return 3;if(null!=a&&(a[0]=!!(16&A)),null!=l&&(l[0]=_),null!=c&&(c[0]=0),l=d[0],A=h[0],p&&_&&null==u){b=0;break}if(4>i){b=7;break}if(v&&p||!v&&!p&&!n(e,r[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];e:{E=e,b=r,v=i;var C=m.gb;R=m.na,M=m.P,S=m.Sa,T=22,t(null!=E),t(null!=v),y=b[0];var O=v[0];for(t(null!=R),t(null!=S),R[0]=null,M[0]=null,S[0]=0;;){if(b[0]=y,v[0]=O,8>O){b=7;break e}var x=L(E,y+4);if(4294967286<x){b=3;break e}var I=8+x+1&-2;if(T+=I,0<C&&T>C){b=3;break e}if(!n(E,y,"VP8 ")||!n(E,y,"VP8L")){b=0;break e}if(O[0]<I){b=7;break e}n(E,y,"ALPH")||(R[0]=E,M[0]=y+8,S[0]=x),y+=I,O-=I}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=b)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];e:if(C=e,b=r,v=i,R=m.gb[0],M=m.Ja,S=m.xa,E=b[0],y=!n(C,E,"VP8 "),T=!n(C,E,"VP8L"),t(null!=C),t(null!=v),t(null!=M),t(null!=S),8>v[0])b=7;else{if(y||T){if(C=L(C,E+4),12<=R&&C>R-12){b=3;break e}if(f&&C>v[0]-8){b=7;break e}M[0]=C,b[0]+=8,v[0]-=8,S[0]=T}else S[0]=5<=v[0]&&47==C[E+0]&&!(C[E+4]>>5),M[0]=v[0];b=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],r=r[0],0!=b)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){b=7;break}c=l,f=A,_=a,null==e||5>i?e=0:5<=i&&47==e[r+0]&&!(e[r+4]>>5)?(v=[0],C=[0],R=[0],g(M=new w,e,r,i),me(M,v,C,R)?(null!=c&&(c[0]=v[0]),null!=f&&(f[0]=C[0]),null!=_&&(_[0]=R[0]),e=1):e=0):e=0}else{if(10>i){b=7;break}c=A,null==e||10>i||!Ze(e,r+3,i-3)?e=0:(f=e[r+0]|e[r+1]<<8|e[r+2]<<16,_=16383&(e[r+7]<<8|e[r+6]),e=16383&(e[r+9]<<8|e[r+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=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-i));break}return 0==b||7==b&&p&&null==u?(null!=a&&(a[0]|=null!=m.na&&0<m.na.length),null!=o&&(o[0]=l),null!=s&&(s[0]=A),0):b}function Fn(e,t,n){var r=t.width,i=t.height,o=0,s=0,a=r,l=i;if(t.Da=null!=e&&0<e.Da,t.Da&&(a=e.cd,l=e.bd,o=e.v,s=e.j,11>n||(o&=-2,s&=-2),0>o||0>s||0>=a||0>=l||o+a>r||s+l>i))return 0;if(t.v=o,t.j=s,t.va=o+a,t.o=s+l,t.U=a,t.T=l,t.da=null!=e&&0<e.da,t.da){if(!F(a,l,n=[e.ib],o=[e.hb]))return 0;t.ib=n[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*i/4,t.Kb=0),1}function kn(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 Bn(e,t,n,r){if(null==r||0>=e||0>=t)return 2;if(null!=n){if(n.Da){var i=n.cd,s=n.bd,a=-2&n.v,l=-2&n.j;if(0>a||0>l||0>=i||0>=s||a+i>e||l+s>t)return 2;e=i,t=s}if(n.da){if(!F(e,t,i=[n.ib],s=[n.hb]))return 2;e=i[0],t=s[0]}}r.width=e,r.height=t;e:{var c=r.width,u=r.height;if(e=r.S,0>=c||0>=u||!(e>=Fr&&13>e))e=2;else{if(0>=r.Rd&&null==r.sd){a=s=i=t=0;var d=(l=c*Vi[e])*u;if(11>e||(s=(u+1)/2*(t=(c+1)/2),12==e&&(a=(i=c)*u)),null==(u=o(d+2*s+a))){e=1;break e}r.sd=u,11>e?((c=r.f.RGBA).eb=u,c.fb=0,c.A=l,c.size=d):((c=r.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=s,c.ea=u,c.W=0+d+s,c.Db=t,c.Ed=s,12==e&&(c.F=u,c.J=0+d+2*s),c.Tc=a,c.lb=i)}if(t=1,i=r.S,s=r.width,a=r.height,i>=Fr&&13>i)if(11>i)e=r.f.RGBA,t&=(l=Math.abs(e.A))*(a-1)+s<=e.size,t&=l>=s*Vi[i],t&=null!=e.eb;else{e=r.f.kb,l=(s+1)/2,d=(a+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*(a-1)+s;t&=c*(a-1)+s<=e.Fd,t&=u*(d-1)+l<=e.Cd,t=(t&=h*(d-1)+l<=e.Ed)&c>=s&u>=l&h>=l,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==i&&(t&=p>=s,t&=f<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=n&&n.fd&&(e=kn(r)),e}var Un=64,Hn=[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],jn=24,Vn=32,Wn=8,Yn=[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];U("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,n){return t[n+0]},e.Predictor3=function(e,t,n){return t[n+1]},e.Predictor4=function(e,t,n){return t[n-1]},e.Predictor5=function(e,t,n){return j(j(e,t[n+1]),t[n+0])},e.Predictor6=function(e,t,n){return j(e,t[n-1])},e.Predictor7=function(e,t,n){return j(e,t[n+0])},e.Predictor8=function(e,t,n){return j(t[n-1],t[n+0])},e.Predictor9=function(e,t,n){return j(t[n+0],t[n+1])},e.Predictor10=function(e,t,n){return j(j(e,t[n-1]),j(t[n+0],t[n+1]))},e.Predictor11=function(e,t,n){var r=t[n+0];return 0>=Y(r>>24&255,e>>24&255,(t=t[n-1])>>24&255)+Y(r>>16&255,e>>16&255,t>>16&255)+Y(r>>8&255,e>>8&255,t>>8&255)+Y(255&r,255&e,255&t)?r:e},e.Predictor12=function(e,t,n){var r=t[n+0];return(V((e>>24&255)+(r>>24&255)-((t=t[n-1])>>24&255))<<24|V((e>>16&255)+(r>>16&255)-(t>>16&255))<<16|V((e>>8&255)+(r>>8&255)-(t>>8&255))<<8|V((255&e)+(255&r)-(255&t)))>>>0},e.Predictor13=function(e,t,n){var r=t[n-1];return(W((e=j(e,t[n+0]))>>24&255,r>>24&255)<<24|W(e>>16&255,r>>16&255)<<16|W(e>>8&255,r>>8&255)<<8|W(e>>0&255,r>>0&255))>>>0};var Qn=e.PredictorAdd0;e.PredictorAdd1=Q,U("Predictor2","PredictorAdd2"),U("Predictor3","PredictorAdd3"),U("Predictor4","PredictorAdd4"),U("Predictor5","PredictorAdd5"),U("Predictor6","PredictorAdd6"),U("Predictor7","PredictorAdd7"),U("Predictor8","PredictorAdd8"),U("Predictor9","PredictorAdd9"),U("Predictor10","PredictorAdd10"),U("Predictor11","PredictorAdd11"),U("Predictor12","PredictorAdd12"),U("Predictor13","PredictorAdd13");var Xn=e.PredictorAdd2;Z("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),Z("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var Kn,Gn=e.ColorIndexInverseTransform,Zn=e.MapARGB,zn=e.VP8LColorIndexInverseTransformAlpha,qn=e.MapAlpha,Jn=e.VP8LPredictorsAdd=[];Jn.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var $n,er,tr,nr,rr,ir,or,sr,ar,lr,cr,ur,dr,hr,pr,fr,mr,Ar,gr,_r,br,vr,wr,yr,Rr,Mr,Sr,Er,Tr=o(511),Cr=o(2041),Or=o(225),xr=o(767),Nr=0,Lr=Cr,Ir=Or,Pr=xr,Dr=Tr,Fr=0,kr=1,Br=2,Ur=3,Hr=4,jr=5,Vr=6,Wr=7,Yr=8,Qr=9,Xr=10,Kr=[2,3,7],Gr=[3,3,11],Zr=[280,256,256,256,40],zr=[0,1,1,1,0],qr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jr=[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],$r=[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],ni=[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],ri=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]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],si=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ai=[[[[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=[];_n("UpsampleRgbLinePair",Mn,3),_n("UpsampleBgrLinePair",Sn,3),_n("UpsampleRgbaLinePair",xn,4),_n("UpsampleBgraLinePair",On,4),_n("UpsampleArgbLinePair",Cn,4),_n("UpsampleRgba4444LinePair",Tn,2),_n("UpsampleRgb565LinePair",En,2);var _i=e.UpsampleRgbLinePair,bi=e.UpsampleBgrLinePair,vi=e.UpsampleRgbaLinePair,wi=e.UpsampleBgraLinePair,yi=e.UpsampleArgbLinePair,Ri=e.UpsampleRgba4444LinePair,Mi=e.UpsampleRgb565LinePair,Si=16,Ei=1<<Si-1,Ti=-227,Ci=482,Oi=6,xi=(256<<Oi)-1,Ni=0,Li=o(256),Ii=o(256),Pi=o(256),Di=o(256),Fi=o(Ci-Ti),ki=o(Ci-Ti);Nn("YuvToRgbRow",Mn,3),Nn("YuvToBgrRow",Sn,3),Nn("YuvToRgbaRow",xn,4),Nn("YuvToBgraRow",On,4),Nn("YuvToArgbRow",Cn,4),Nn("YuvToRgba4444Row",Tn,2),Nn("YuvToRgb565Row",En,2);var Bi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ui=[0,2,8],Hi=[8,7,6,4,4,2,2,2,1,1,1,1],ji=1;this.WebPDecodeRGBA=function(e,n,r,i,o){var s=kr,a=new nn,l=new se;a.ba=l,l.S=s,l.width=[l.width],l.height=[l.height];var c=l.width,u=l.height,d=new ae;if(null==d||null==e)var h=2;else t(null!=d),h=Dn(e,n,r,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!=o&&(o[0]=l.height);e:{if(i=new Xe,(o=new rn).data=e,o.w=n,o.ha=r,o.kd=1,n=[0],t(null!=o),(0==(e=Dn(o.data,o.w,o.ha,null,null,null,n,null,o))||7==e)&&n[0]&&(e=4),0==(n=e)){if(t(null!=a),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=pe,i.ac=he,i.bc=fe,i.ma=a,o.xa){if(null==(e=Ce())){a=1;break e}if(function(e,n){var r=[0],i=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==n)return e.a=2,0;if(e.l=n,e.a=0,g(e.m,n.data,n.w,n.ha),!me(e.m,r,i,o)){e.a=3;break t}if(e.xb=mi,n.width=r[0],n.height=i[0],!Oe(r[0],i[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,i)){if(i=0==(n=Bn(i.width,i.height,a.Oa,a.ba))){t:{i=e;n: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!=(r=i.l)),t(null!=(o=r.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,t(null!=i.ca),!Fn(o.Oa,r,Ur)){i.a=2;break n}if(!xe(i,r.width))break n;if(r.da)break n;if((r.da||re(i.ca.S))&&gn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&gn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!I(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!Ee(i,i.V,i.Ba,i.c,i.i,r.o,ye))break n;o.Dc=i.Ma,i=1;break t}t(0!=i.a),i=0}i=!i}i&&(n=e.a)}else n=e.a}else{if(null==(e=new Ke)){a=1;break e}if(e.Fa=o.na,e.P=o.P,e.qc=o.Sa,ze(e,i)){if(0==(n=Bn(i.width,i.height,a.Oa,a.ba))){if(e.Aa=0,r=a.Oa,t(null!=(o=e)),null!=r){if(0<(c=0>(c=r.Md)?0:100<c?255:255*c/100)){for(u=d=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=c*Hi[0>h.lc?0:h.lc]>>3),d|=h.ia;d&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=r.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}$e(e,i)||(n=e.a)}}else n=e.a}0==n&&null!=a.Oa&&a.Oa.fd&&(n=kn(a.ba))}a=n}s=0!=a?null:11>s?l.f.RGBA.eb:l.f.kb.y}else s=null;return s};var Vi=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(e,t){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(e[t++]);return n}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 n={},r=0,i=!1,o=0,s=0;if(n.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,n,r){for(var i=0;i<r;i++)if(e[t+i]!=n.charCodeAt(i))return!0;return!1}(e,t,"RIFF",4)){var a,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===n.frames[r]&&(n.frames[r]={}),(g=n.frames[r]).src_off=i?s:t-8,g.src_size=o+p+8,r++,i&&(i=!1,o=0,s=0);break;case"VP8X":(g=n.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,o=f+8,s=t-8;break;case"ANIM":(g=n.header).bgcolor=d(e,t),m=t+4,g.loop_count=(a=e)[(l=m)+0]<<0|a[l+1]<<8,m+=2;break;case"ANMF":var A,g;(g=n.frames[r]={}).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 n}}(A,0);g.response=A,g.rgbaoutput=!0,g.dataurl=!1;var _=g.header?g.header:null,b=g.frames?g.frames:null;if(_){_.loop_counter=_.loop_count,h=[_.canvas_height],p=[_.canvas_width];for(var v=0;v<b.length&&0!=b[v].blend;v++);}var w=b[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 R=0;R<p[0]*h[0]*4;R++)f[R]=y[R];return this.width=p,this.height=h,this.data=f,this}!function(e){var t=function(){return"function"==typeof o["b"]},n=function(t,n,i,u){var d=4,h=a;switch(u){case e.image_compression.FAST:d=1,h=s;break;case e.image_compression.MEDIUM:d=6,h=l;break;case e.image_compression.SLOW:d=9,h=c}t=r(t,n,i,h);var p=Object(o["b"])(t,{level:d});return e.__addimage__.arrayBufferToBinaryString(p)},r=function(e,t,n,r){for(var i,o,s,a=e.length/t,l=new Uint8Array(e.length+a),c=d(),u=0;u<a;u+=1){if(s=u*t,i=e.subarray(s,s+t),r)l.set(r(i,n,o),s+u);else{for(var p,f=c.length,m=[];p<f;p+=1)m[p]=c[p](i,n,o);var A=h(m.concat());l.set(m[A],s+u)}o=i}return l},i=function(e){var t=Array.apply([],e);return t.unshift(0),t},s=function(e,t){var n,r=[],i=e.length;r[0]=1;for(var o=0;o<i;o+=1)n=e[o-t]||0,r[o+1]=e[o]-n+256&255;return r},a=function(e,t,n){var r,i=[],o=e.length;i[0]=2;for(var s=0;s<o;s+=1)r=n&&n[s]||0,i[s+1]=e[s]-r+256&255;return i},l=function(e,t,n){var r,i,o=[],s=e.length;o[0]=3;for(var a=0;a<s;a+=1)r=e[a-t]||0,i=n&&n[a]||0,o[a+1]=e[a]+256-(r+i>>>1)&255;return o},c=function(e,t,n){var r,i,o,s,a=[],l=e.length;a[0]=4;for(var c=0;c<l;c+=1)r=e[c-t]||0,i=n&&n[c]||0,o=n&&n[c-t]||0,s=u(r,i,o),a[c+1]=e[c]-s+256&255;return a},u=function(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),o=Math.abs(e+t-n-n);return r<=i&&r<=o?e:i<=o?t:n},d=function(){return[i,s,a,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(r,i,o,s){var a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y=this.decode.FLATE_DECODE,R="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new Je(r)).imgData,l=c.bits,a=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 M,S=c.pixelBitlength-c.bits;for(v=0,w=0;v<m;v++){for(b=f[v],M=0;M<S;)g[w++]=b>>>M&255,M+=c.bits;A[v]=b>>>M&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,v=0,w=0;for(var E=0;v<m;)b=f[v++],g[w++]=b>>>0&255,_&&(g[w++]=b>>>16&255,b=f[v++],g[w++]=b>>>0&255),A[E++]=b>>>16&255;l=8}s!==e.image_compression.NONE&&t()?(r=n(g,c.width*c.colors,c.colors,s),p=n(A,c.width,1,s)):(r=g,p=A,y=void 0)}if(3===c.colorType&&(a=this.color_spaces.INDEXED,h=c.palette,c.transparency.indexed)){var T=c.transparency.indexed,C=0;for(v=0,m=T.length;v<m;++v)C+=T[v];if((C/=255)===m-1&&-1!==T.indexOf(0))u=[T.indexOf(0)];else if(C!==m){for(f=c.decodePixels(),A=new Uint8Array(f.length),v=0,m=f.length;v<m;v++)A[v]=T[f[v]];p=n(A,c.width,1)}}var O=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13;break;case e.image_compression.SLOW:n=14;break;default:n=12}return n}(s);return y===this.decode.FLATE_DECODE&&(R="/Predictor "+O+" "),R+="/Colors "+d+" /BitsPerComponent "+l+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:o,data:r,index:i,filter:y,decodeParameters:R,transparency:u,palette:h,sMask:p,predictor:O,width:c.width,height:c.height,bitsPerComponent:l,colorSpace:a}}}}(U.API),function(e){e.processGIF89A=function(t,n,r,i){var o=new $e(t),s=o.width,a=o.height,l=[];o.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:s,height:a},u=new tt(100).encode(c,100);return e.processJPEG.call(this,u,n,r,i)},e.processGIF87A=e.processGIF89A}(U.API),nt.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 n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},nt.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)}},nt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++)for(var o=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var l=this.palette[o>>7-a&1];this.data[s+4*a]=l.blue,this.data[s+4*a+1]=l.green,this.data[s+4*a+2]=l.red,this.data[s+4*a+3]=255}0!==n&&(this.pos+=4-n)}},nt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<e;i++){var o=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*i*4,a=o>>4,l=15&o,c=this.palette[a];if(this.data[s]=c.blue,this.data[s+1]=c.green,this.data[s+2]=c.red,this.data[s+3]=255,2*i+1>=this.width)break;c=this.palette[l],this.data[s+4]=c.blue,this.data[s+4+1]=c.green,this.data[s+4+2]=c.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},nt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var s=this.palette[i];this.data[o]=s.red,this.data[o+1]=s.green,this.data[o+2]=s.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},nt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,a=(o>>5&t)/t*255|0,l=(o>>10&t)/t*255|0,c=o>>15?255:0,u=r*this.width*4+4*i;this.data[u]=l,this.data[u+1]=a,this.data[u+2]=s,this.data[u+3]=c}this.pos+=e}},nt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&t)/t*255|0,l=(s>>5&n)/n*255|0,c=(s>>11)/t*255|0,u=i*this.width*4+4*o;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=a,this.data[u+3]=255}this.pos+=e}},nt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},nt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=s}},nt.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,n,r,i){var o=new nt(t,!1),s=o.width,a=o.height,l={data:o.getData(),width:s,height:a},c=new tt(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(U.API),rt.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,n,r,i){var o=new rt(t,!1),s=o.width,a=o.height,l={data:o.getData(),width:s,height:a},c=new tt(100).encode(l,100);return e.processJPEG.call(this,c,n,r,i)}}(U.API),U.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,o=new Uint8Array(i/4*3),s=new Uint8Array(i/4),a=0,l=0,c=0;c<i;c+=4){var u=r[c],d=r[c+1],h=r[c+2],p=r[c+3];o[a++]=u,o[a++]=d,o[a++]=h,s[l++]=p}var f=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:f,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},U.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},Ke=U.API,Ge=Ke.getCharWidthsArray=function(e,t){var n,r,o=(t=t||{}).font||this.internal.getFont(),s=t.fontSize||this.internal.getFontSize(),a=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:o.metadata.Unicode.widths,c=l.fof?l.fof:1,u=t.kerning?t.kerning:o.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(n=0;n<f;n++)r=e.charCodeAt(n),"function"==typeof o.metadata.widthOfString?g.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(r))+a*(1e3/s)||0)/1e3):(p=h&&"object"===i()(u[r])&&!isNaN(parseInt(u[r][m],10))?u[r][m]/d:0,g.push((l[r]||A)/c+p)),m=r;return g},Ze=Ke.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),i=t.charSpace||this.internal.getCharSpace();return Ke.processArabic&&(e=Ke.processArabic(e)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,i)/n:Ge.apply(this,arguments).reduce((function(e,t){return e+t}),0)},ze=function(e,t,n,r){for(var i=[],o=0,s=e.length,a=0;o!==s&&a+t[o]<n;)a+=t[o],o++;i.push(e.slice(0,o));var l=o;for(a=0;o!==s;)a+t[o]>r&&(i.push(e.slice(l,o)),a=0,l=o),a+=t[o],o++;return l!==o&&i.push(e.slice(l,o)),i},qe=function(e,t,n){n||(n={});var r,i,o,s,a,l,c,u=[],d=[u],h=n.textIndent||0,p=0,f=0,m=e.split(" "),A=Ge.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?m[0].length+2:n.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=Ze.apply(this,[g,n])}for(o=0,s=m.length;o<s;o++){var b=0;if(r=m[o],l&&"\n"==r[0]&&(r=r.substr(1),b=1),h+p+(f=(i=Ge.apply(this,[r,n])).reduce((function(e,t){return e+t}),0))>t||b){if(f>t){for(a=ze.apply(this,[r,i,t-(h+p),t]),u.push(a.shift()),u=[a.pop()];a.length;)d.push([a.shift()]);f=i.slice(r.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[r];d.push(u),h=f+l,p=A}else u.push(r),h+=p+f,p=A}return c=l?function(e,t){return(t?g:"")+e.join(" ")}:function(e){return e.join(" ")},d.map(c)},Ke.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=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,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var a,l,c=[];for(a=0,l=r.length;a<l;a++)c=c.concat(qe.apply(this,[r[a],s,o]));return c},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",n={},r={},o=0;o<t.length;o++)n[t[o]]="0123456789abcdef"[o],r["0123456789abcdef"[o]]=t[o];var s=function(e){return"0x"+parseInt(e,10).toString(16)},a=e.__fontmetrics__.compress=function(e){var t,n,o,l,c=["{"];for(var u in e){if(t=e[u],isNaN(parseInt(u,10))?n="'"+u+"'":(u=parseInt(u,10),n=(n=s(u).slice(2)).slice(0,-1)+r[n.slice(-1)]),"number"==typeof t)t<0?(o=s(t).slice(3),l="-"):(o=s(t).slice(2),l=""),o=l+o.slice(0,-1)+r[o.slice(-1)];else{if("object"!==i()(t))throw new Error("Don't know what to do with value type "+i()(t)+".");o=a(t)}c.push(n+o)}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,r,i,o,s={},a=1,l=s,c=[],u="",d="",h=e.length-1,p=1;p<h;p+=1)"'"==(o=e[p])?t?(i=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(c.push([l,i]),l={},i=void 0):"}"==o?((r=c.pop())[0][r[1]]=l,i=void 0,l=r[0]):"-"==o?a=-1:void 0===i?n.hasOwnProperty(o)?(u+=n[o],i=parseInt(u,16)*a,a=1,u=""):u+=o:n.hasOwnProperty(o)?(d+=n[o],l[i]=parseInt(d,16)*a,a=1,i=void 0,d=""):d+=o;return s},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,n=d.Unicode[t.postScriptName];n&&(t.metadata.Unicode={},t.metadata.Unicode.widths=n.widths,t.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(U.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,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.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(n,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(h(r)),n.metadata=e.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(U),
  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(s.canvg?Promise.resolve(s.canvg):n.e("chunk-7648b79e").then(n.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}))}U.API.addSvgAsImage=function(e,n,r,i,o,s,a,c){if(isNaN(n)||isNaN(r))throw l.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))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=o;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),n,r,i,o,a,c)}))}}(),U.API.putTotalPages=function(e){var t,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),n=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(t,n);return this},U.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,o,s,a={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(a),c=[],u=0,d=0,h=0;function p(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var f=l.length;for(h=0;h<f;h+=1)n[l[h]].value=n[l[h]].defaultValue,n[l[h]].explicitSet=!1}if("object"===i()(e))for(o in e)if(s=e[o],p(l,o)&&void 0!==s){if("boolean"===n[o].type&&"boolean"==typeof s)n[o].value=s;else if("name"===n[o].type&&p(n[o].valueSet,s))n[o].value=s;else if("integer"===n[o].type&&Number.isInteger(s))n[o].value=s;else if("array"===n[o].type){for(u=0;u<s.length;u+=1)if(r=!0,1===s[u].length&&"number"==typeof s[u][0])c.push(String(s[u]-1));else if(s[u].length>1){for(d=0;d<s[u].length;d+=1)"number"!=typeof s[u][d]&&(r=!1);!0===r&&c.push([s[u][0]-1,s[u][1]-1].join(" "))}n[o].value="["+c.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in n)!0===n[e].explicitSet&&("name"===n[e].type?t.push("/"+e+" /"+n[e].value):t.push("/"+e+" "+n[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,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/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),s=n.length+r.length+i.length+t.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+o),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(U.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],s=0,a=e.length;s<a;++s){if(n=t.metadata.characterToGlyph(e.charCodeAt(s)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(s),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return o.join("");n=n.toString(16),o.push(i[4-n.length],n)}return o.join("")},r=function(e){var t,n,r,i,o,s,a;for(o="/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",r=[],s=0,a=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;s<a;s++)t=n[s],r.length>=100&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),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),r.push("<"+t+"><"+i+">"));return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var a=n.metadata.Unicode.widths,l=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),c="",u=0;u<l.length;u++)c+=String.fromCharCode(l[u]);var d=o();s({data:c,addLength1:!0,objectId:d}),i("endobj");var h=o();s({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var p=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+I(n.fontName)),i("/FontFile2 "+d+" 0 R"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var f=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+I(n.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+e.API.PDFObject.convert(a)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+I(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+f+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,i=t.out,o=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var a=n.metadata.rawData,l="",c=0;c<a.length;c++)l+=String.fromCharCode(a[c]);var u=o();s({data:l,addLength1:!0,objectId:u}),i("endobj");var d=o();s({data:r(n.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var h=o();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+u+" 0 R"),i("/Flags 96"),i("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+I(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=o();for(var p=0;p<n.metadata.hmtx.widths.length;p++)n.metadata.hmtx.widths[p]=parseInt(n.metadata.hmtx.widths[p]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+d+" 0 R/BaseFont/"+I(n.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(t)}]);var i=function(e){var t,r=e.text||"",i=e.x,o=e.y,s=e.options||{},a=e.mutex||{},l=a.pdfEscape,c=a.activeFontKey,u=a.fonts,d=c,h="",p=0,f="",m=u[d].encoding;if("Identity-H"!==u[d].encoding)return{text:r,x:i,y:o,options:s,mutex:a};for(f=r,d=c,Array.isArray(r)&&(f=r[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=n(h,u[d])),a.isHex=!0,{text:A,x:i,y:o,options:s,mutex:a}};t.events.push(["postProcessText",function(e){var t=e.text||"",n=[],r={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?n.push([i(Object.assign({},r,{text:t[o][0]})).text,t[o][1],t[o][2]]):n.push(i(Object.assign({},r,{text:t[o]})).text);e.text=n}else e.text=i(Object.assign({},r,{text:t})).text}])}(U),
  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,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(U.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 n,r,i,o,s,a,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(),n=t>>8,r=p[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":m.test(n)?"L":8===n?"R":"N"},b=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=_(e.charAt(n))))return!1;if("R"===t)return!0}return!1},v=function(e,t,s,a){var l,c,u,d,h=t[a];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":a<1||a+1>=t.length||"EN"!==(l=s[a-1])&&"AN"!==l||"EN"!==(c=t[a+1])&&"AN"!==c?h="N":A&&(c="AN"),h=c===l?c:"N";break;case"ES":h="EN"===(l=a>0?s[a-1]:"B")&&a+1<t.length&&"EN"===t[a+1]?"EN":"N";break;case"ET":if(a>0&&"EN"===s[a-1]){h="EN";break}if(A){h="N";break}for(u=a+1,d=t.length;u<d&&"ET"===t[u];)u++;h=u<d&&"EN"===t[u]?"EN":"N";break;case"NSM":if(i&&!o){for(d=t.length,u=a+1;u<d&&"NSM"===t[u];)u++;if(u<d){var p=e[a],f=p>=1425&&p<=2303||64286===p;if(l=t[u],f&&("R"===l||"AL"===l)){h="R";break}}}h=a<1||"B"===(l=t[a-1])?"N":s[a-1];break;case"B":A=!1,n=!0,h=g;break;case"S":r=!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,n){var r=e.split("");return n&&y(r,n,{hiLevel:g}),r.reverse(),t&&t.reverse(),r.join("")},y=function(e,t,i){var o,s,a,l,c,p=-1,f=e.length,m=0,b=[],w=g?d:u,y=[];for(A=!1,n=!1,r=!1,s=0;s<f;s++)y[s]=_(e[s]);for(a=0;a<f;a++){if(c=m,b[a]=v(e,y,b,a),o=240&(m=w[c][h[b[a]]]),m&=15,t[a]=l=w[m][5],o>0)if(16===o){for(s=p;s<a;s++)t[s]=1;p=-1}else p=-1;if(w[m][6])-1===p&&(p=a);else if(p>-1){for(s=p;s<a;s++)t[s]=l;p=-1}"B"===y[a]&&(t[a]=0),i.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=g;for(var i=r-1;i>=0&&"WS"===e[i];i--)t[i]=g}}(y,t,f)},R=function(e,t,r,i,o){if(!(o.hiLevel<e)){if(1===e&&1===g&&!n)return t.reverse(),void(r&&r.reverse());for(var s,a,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,a=l-1;c<a;c++,a--)s=t[c],t[c]=t[a],t[a]=s,r&&(s=r[c],r[c]=r[a],r[a]=s);d=l}d++}}},M=function(e,t,n){var r=e.split(""),i={hiLevel:g};return n||(n=[]),y(r,n,i),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,i=0;i<e.length;i++)1===t[i]&&(r=f.indexOf(e[i]))>=0&&(e[i]=f[r+1])}(r,n,i),R(2,r,t,n,i),R(1,r,t,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===o&&(o=b(e)),void 0===a&&(a=b(e))}(e,t),i||!s||a)if(i&&s&&o^a)g=o?1:0,e=w(e,t,n);else if(!i&&s&&a)g=o?1:0,e=M(e,t,n),e=w(e,t);else if(!i||o||s||a){if(i&&!s&&o^a)e=w(e,t),o?(g=0,e=M(e,t,n)):(g=1,e=M(e,t,n),e=w(e,t));else if(i&&o&&!s&&a)g=1,e=M(e,t,n),e=w(e,t);else if(!i&&!s&&o^a){var r=l;o?(g=1,e=M(e,t,n),g=0,l=!1,e=M(e,t,n),l=r):(g=0,e=M(e,t,n),e=w(e,t),g=1,l=!1,e=M(e,t,n),l=r,e=w(e,t))}}else g=0,e=M(e,t,n);else g=o?1:0,e=M(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(i=e.isInputVisual,s=e.isOutputVisual,o=e.isInputRtl,a=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"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),i=(e.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(i=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?i.push([n.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):i.push([n.doBidiReorder(t[o])]);e.text=i}else e.text=n.doBidiReorder(t);n.setOptions({isInputVisual:!0})}])}(U),U.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new ot(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Mt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new st(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 Rt(this),this.glyf=new vt(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,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,i;for(i=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],i.push(Math.round(e*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):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,n){var r,i,o,s;for(o=0,i=0,s=(e=""+e).length;0<=s?i<s:i>s;i=0<=s?++i:--i)r=e.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var it,ot=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,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r;for(r=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)r.push(this.writeByte(e.charCodeAt(t)));return r},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,i,o,s,a;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),s=this.readByte(),a=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^s)+(255^a)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*i+65536*o+256*s+a},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;n<r;n++)t=e[n],i.push(this.writeByte(t));return i},e}(),st=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)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 n,r,i,o,s,a,l,c,u,d,h,p,f;for(f in h=Object.keys(t).length,a=Math.log(2),u=16*Math.floor(Math.log(h)/a),o=Math.floor(u/a),c=16*h-u,(r=new ot).writeInt(this.scalarType),r.writeShort(h),r.writeShort(u),r.writeShort(o),r.writeShort(c),i=16*h,l=r.pos+i,s=null,p=[],t)for(d=t[f],r.writeString(f),r.writeInt(e(d)),r.writeInt(l),r.writeInt(d.length),p=p.concat(d),"head"===f&&(s=l),l+=d.length;l%4;)p.push(0),l++;return r.write(p),n=2981146554-e(r.data),r.pos=s+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,i;for(e=bt.call(e);e.length%4;)e.push(0);for(r=new ot(e),n=0,t=0,i=e.length;t<i;t=t+=4)n+=r.readUInt32();return 4294967295&n},t}(),at={}.hasOwnProperty,lt=function(e,t){for(var n in t)at.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,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 ot).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 n,r,i,o,s,a,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(a=0;a<256;++a)this.codeMap[a]=e.readByte();break;case 4:for(h=e.readUInt16(),d=h/2,e.pos+=6,i=function(){var t,n;for(n=[],a=t=0;0<=d?t<d:t>d;a=0<=d?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,f=function(){var t,n;for(n=[],a=t=0;0<=d?t<d:t>d;a=0<=d?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],a=t=0;0<=d?t<d:t>d;a=0<=d?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],a=t=0;0<=d?t<d:t>d;a=0<=d?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,s=function(){var t,n;for(n=[],a=t=0;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt16());return n}(),a=A=0,_=i.length;A<_;a=++A)for(m=i[a],n=g=p=f[a];p<=m?g<=m:g>=m;n=p<=m?++g:--g)0===c[a]?o=n+l[a]:0!==(o=s[c[a]/2+(n-p)-(d-a)]||0)&&(o+=l[a]),this.codeMap[n]=65535&o}e.pos=u}return e.encode=function(e,t){var n,r,i,o,s,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C,O,x,N,L,I,P,D,F,k,B,U,H,j,V,W,Y,Q,X,K;switch(O=new ot,o=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={},x=0,P=o.length;x<P;x++)null==g[Y=e[r=o[x]]]&&(g[Y]=++f),i[r]={old:e[r],new:g[e[r]]},m[r]=g[e[r]];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(T=[],u=[],_=0,g={},n={},A=l=null,N=0,D=o.length;N<D;N++)null==g[v=e[r=o[N]]]&&(g[v]=++_),n[r]={old:v,new:g[v]},s=g[v]-r,null!=A&&s===l||(A&&u.push(A),T.push(r),l=s),A=r;for(A&&u.push(A),u.push(65535),T.push(65535),S=2*(M=T.length),R=2*Math.pow(Math.log(M)/Math.LN2,2),d=Math.log(R/2)/Math.LN2,y=2*M-R,a=[],w=[],h=[],p=L=0,F=T.length;L<F;p=++L){if(E=T[p],c=u[p],65535===E){a.push(0),w.push(0);break}if(E-(C=n[E].new)>=32768)for(a.push(0),w.push(2*(h.length+M-p)),r=I=E;E<=c?I<=c:I>=c;r=E<=c?++I:--I)h.push(n[r].new);else a.push(C-E),w.push(0)}for(O.writeUInt16(3),O.writeUInt16(1),O.writeUInt32(12),O.writeUInt16(4),O.writeUInt16(16+8*M+2*h.length),O.writeUInt16(0),O.writeUInt16(S),O.writeUInt16(R),O.writeUInt16(d),O.writeUInt16(y),V=0,k=u.length;V<k;V++)r=u[V],O.writeUInt16(r);for(O.writeUInt16(0),W=0,B=T.length;W<B;W++)r=T[W],O.writeUInt16(r);for(Q=0,U=a.length;Q<U;Q++)s=a[Q],O.writeUInt16(s);for(X=0,H=w.length;X<H;X++)b=w[X],O.writeUInt16(b);for(K=0,j=h.length;K<j;K++)f=h[K],O.writeUInt16(f);return{charMap:n,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,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),r=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)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 n,r;return null==t&&(t="macroman"),n=ut.encode(e,t),(r=new ot).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},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,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),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,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),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,n,r;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(n=e.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],r=[];e.pos<this.offset+this.length;)t=e.readByte(),r.push(this.names.push(e.readString(t)));return r;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var t,n,r;for(r=[],i=t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:t>n;i=0<=n?++t:--t)r.push(e.readUInt32());return r}.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,n,r,i,o,s,a,l,c,u,d;for(e.pos=this.offset,e.readShort(),t=e.readShort(),s=e.readShort(),n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+s+e.readShort()});for(a={},i=c=0,u=n.length;c<u;i=++c)r=n[i],e.pos=r.offset,l=e.readString(r.length),o=new mt(l,r),null==a[d=r.nameID]&&(a[d]=[]),a[r.nameID].push(o);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[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,n,r,i,o,s,a;for(e.pos=this.offset,this.metrics=[],t=0,s=this.file.hhea.numberOfMetrics;0<=s?t<s:t>s;t=0<=s?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],t=n=0;0<=r?n<r:n>r;t=0<=r?++n:--n)i.push(e.readInt16());return i}(),this.widths=function(){var e,t,n,r;for(r=[],e=0,t=(n=this.metrics).length;e<t;e++)i=n[e],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],a=[],t=o=0;0<=r?o<r:o>r;t=0<=r?++o:--o)a.push(this.widths.push(n));return a},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),bt=[].slice,vt=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,n,r,i,o,s,a,l,c,u;return e in this.cache?this.cache[e]:(i=this.file.loca,t=this.file.contents,n=i.indexOf(e),0===(r=i.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,o=(s=new ot(t.read(r))).readShort(),l=s.readShort(),u=s.readShort(),a=s.readShort(),c=s.readShort(),this.cache[e]=-1===o?new yt(s,l,u,a,c):new wt(s,o,l,u,a,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,i,o,s,a;for(o=[],i=[],s=0,a=t.length;s<a;s++)r=e[t[s]],i.push(o.length),r&&(o=o.concat(r.encode(n)));return i.push(o.length),{table:o,offsets:i}},t}(),wt=function(){function e(e,t,n,r,i,o){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),yt=function(){function e(e,t,n,r,i){var o,s;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;s=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&s;)o.pos+=1&s?4:2,128&s?o.pos+=8:64&s?o.pos+=4:8&s&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,n;for(t=new ot(bt.call(this.raw.data)),e=0,n=this.glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Rt=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,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,r;for(r=[],n=0,t=this.length;n<t;n+=4)r.push(e.readUInt32());return r}.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 n=new Uint32Array(this.offsets.length),r=0,i=0,o=0;o<n.length;++o)if(n[o]=r,i<t.length&&t[i]==o){++i,n[o]=r;var s=this.offsets[o],a=this.offsets[o+1]-s;a>0&&(r+=a)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},t}(),Mt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,i;for(t in r=this.font.cmap.tables[0].codeMap,e={},i=this.subset)n=i[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,i,o,s,a;for(r={},o=0,s=e.length;o<s;o++)r[i=e[o]]=this.font.glyf.glyphFor(i);for(i in t=[],r)(null!=(n=r[i])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(i in a=this.glyphsFor(t))n=a[i],r[i]=n;return r},e.prototype.encode=function(e,t){var n,r,i,o,s,a,l,c,u,d,h,p,f,m,A;for(r in n=dt.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),h={0:0},A=n.charMap)h[(a=A[r]).old]=a.new;for(p in d=n.maxGlyphID,o)p in h||(h[p]=d++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(h),u=Object.keys(c).sort((function(e,t){return e-t})),f=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)s=u[e],n.push(c[s]);return n}(),i=this.font.glyf.encode(o,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}();U.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,i,o,s;if(Array.isArray(n))return"["+function(){var e,i,o;for(o=[],e=0,i=n.length;e<i;e++)r=n[e],o.push(t.convert(r));return o}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in o=["<<"],n)s=n[i],o.push("/"+i+" "+t.convert(s));return o.push(">>"),o.join("\n")}return""+n},t}(),t["a"]=U}).call(this,n("c8ba"))},"8be6":function(e,t,n){var r=n("8707").Buffer;e.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"===typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" 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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("802d"),i=n("9688");class o extends r.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,n=!1,r=null){this._dispatchFlag||(i.event_initialize(this,e,t,n),this._detail=r)}}t.CustomEventImpl=o},"8c75":function(e,t,n){"use strict";n("022a")},"8c7e":function(e,t,n){"use strict";n.d(t,"a",(function(){return IC}));n("d9e2"),n("14d9");var r=n("0352"),i=n("5d7f"),o=n("de3b"),s=n("351d"),a=n("c4fa");const l="handsontableEditor",c="handsontable";class u extends r["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,n,r,i,o){super.prepare(e,t,n,r,i,o);const a=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 n=this.getSourceData(t.row,t.col);void 0!==n&&a.setValue(n),a.hot.destroyEditor()},preventWheel:!0,layoutDirection:this.hot.isRtl()?"rtl":"ltr"};this.cellProperties.handsontable&&Object(s["extend"])(l,o.handsontable),this.htOptions=l}beginEditing(e,t){const n=this.hot.getSettings().onBeginEditing;n&&!1===n()||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,n){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,n)}assignHooks(){this.hot.addHook("afterDestroy",()=>{this.htEditor&&this.htEditor.destroy()})}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");super.registerShortcuts();const n={group:l,relativeToGroup:a["a"],position:"before"},r=(e,t)=>{const n=this.htEditor;if(void 0!==e&&(e<0||n.flipped&&e>n.countRows()-1?n.deselectCell():n.selectCell(e,0),n.getData().length))return t.preventDefault(),Object(o["stopImmediatePropagation"])(t),this.hot.listen(),this.TEXTAREA.focus(),!1};t.addShortcuts([{keys:[["ArrowUp"]],callback:e=>{const t=this.htEditor;let n,i;return!t.getSelectedLast()&&t.flipped?n=t.countRows()-1:t.getSelectedLast()&&(t.flipped?(i=t.getSelectedLast()[0],n=Math.max(0,i-1)):(i=t.getSelectedLast()[0],n=i-1)),r(n,e)},preventDefault:!1},{keys:[["ArrowDown"]],callback:e=>{const t=this.htEditor;let n,i;if(t.getSelectedLast()||t.flipped){if(t.getSelectedLast())if(t.flipped)n=t.getSelectedLast()[0]+1;else if(!t.flipped){const e=t.countRows()-1;i=t.getSelectedLast()[0],n=Math.min(e,i+1)}}else n=0;return r(n,e)},preventDefault:!1}],n)}unregisterShortcuts(){super.unregisterShortcuts();const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(l)}}var d=n("81ea"),h=n("7b9c"),p=n("29b0"),f=n("f938"),m=n("63d8"),A=n("dd49"),g=n("8828");function _(e,t,n){b(e,t),t.set(e,n)}function b(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function v(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function R(e,t){return e.get(M(e,t))}function M(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const S="autocomplete";var E=new WeakMap;class T extends u{constructor(){super(...arguments),v(this,"query",null),v(this,"strippedChoices",[]),v(this,"rawChoices",[]),_(this,E,this.hot.guid.slice(0,9)),v(this,"sortByRelevance",(function(e,t,n){const r=[],i=[],o=e.length;let s,a,l,c,u=t.length;if(0===o){for(l=0;l<u;l++)i.push(l);return i}for(l=0;l<u;l++){if(a=Object(p["stripTags"])(Object(h["stringify"])(t[l])),n)c=a.indexOf(e);else{const t=this.cellProperties.locale;c=a.toLocaleLowerCase(t).indexOf(e.toLocaleLowerCase(t))}-1!==c&&(s=a.length-c-o,r.push({baseIndex:l,index:c,charsLeft:s,value:a}))}for(r.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=r.length;l<u;l++)i.push(r[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,n,r,o,s){super.prepare(e,t,n,r,o,s),this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(this.TEXTAREA,[Object(g["k"])("false"),Object(g["i"])(`${R(E,this)}-listbox-${e}-${t}`)])}open(){super.open();const e=void 0===this.cellProperties.trimDropdown||this.cellProperties.trimDropdown,t=this.hot.getSettings().ariaTags,n=Array.isArray(this.cellProperties.source)?this.cellProperties.source:null,r=null===n||void 0===n?void 0:n.length,{row:o,col:s}=this;this.showEditableElement(),this.focus();let a=Object(i["getScrollbarWidth"])();0===a&&Object(m["isMacOS"])()&&(a+=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)+a:void 0,autoColumnSize:!0,renderer:(e,o,s,a,l,c,u)=>{Object(A["a"])(e,o,s,a,l,c,u);const{filteringCaseSensitive:d,allowHtml:p,locale:f}=this.cellProperties,m=this.query;let _,b,v=Object(h["stringify"])(c);v&&!p&&(_=!0===d?v.indexOf(m):v.toLocaleLowerCase(f).indexOf(m.toLocaleLowerCase(f)),-1!==_&&(b=v.substr(_,m.length),v=v.replace(b,`<strong>${b}</strong>`))),t&&Object(i["setAttribute"])(o,[Object(g["w"])(),...n?[Object(g["J"])(r)]:[],...n?[Object(g["x"])(n.indexOf(c)+1)]:[],["id",`${this.htEditor.rootElement.id}_${s}-${a}`]]),o.innerHTML=v},afterSelectionEnd:(e,n)=>{if(t){const t=this.htEditor.getCell(e,n,!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",`${R(E,this)}-listbox-${o}-${s}`]]),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),n=Object(i["getSelectionEndPosition"])(this.TEXTAREA),r=this.cellProperties.sortByRelevance,o=this.cellProperties.filter;let s=null,a=null,l=e;r&&(s=this.sortByRelevance(this.stripValueIfNeeded(this.getValue()),l,this.cellProperties.filteringCaseSensitive));const c=Array.isArray(s)?s.length:0;if(!1===o)c&&(a=s[0]);else{const e=[];for(let t=0,n=l.length;t<n;t++){if(r&&c<=t)break;c?e.push(l[s[t]]):e.push(l[t])}a=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(a)),this.hot.listen(),Object(i["setCaretPosition"])(this.TEXTAREA,t,t===n?void 0:n)}flipDropdownIfNeeded(){const e=Object(i["getTrimmingContainer"])(this.hot.view._wt.wtTable.TABLE),t=e===this.hot.rootWindow,n=this.cellProperties.preventOverflow;if(t||!t&&(n||"horizontal"===n))return!1;const r=Object(i["offset"])(this.TEXTAREA),o=Object(i["outerHeight"])(this.TEXTAREA),s=this.getDropdownHeight(),a=e.scrollTop,l=Object(i["outerHeight"])(this.hot.view._wt.wtTable.THEAD),c=Object(i["offset"])(e),u=r.top-c.top-l+a,d=e.scrollHeight-u-l-o,h=s>d&&u>d;return h?this.flipDropdown(s):this.unflipDropdown(),this.limitDropdownIfNeeded(h?u:d,s),h}limitDropdownIfNeeded(e,t){if(t>e){let n=0,r=0,i=0,o=null;do{i=this.htEditor.getRowHeight(r)||this.htEditor.view._wt.getSetting("defaultRowHeight"),n+=i,r+=1}while(n<e);o=n-i,this.htEditor.flipped&&(this.htEditor.rootElement.style.top=parseInt(this.htEditor.rootElement.style.top,10)+t-o+"px"),this.setDropdownHeight(n-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,n=Object(d["arrayMap"])(e,e=>Object(h["stringify"])(e)),r=Object(d["arrayMap"])(n,e=>t?e:Object(p["stripTags"])(e));return r}allowKeyEventPropagation(e){const t=this.htEditor.getSelectedRangeLast(),n={row:t?t.from.row:-1};let r=!1;return e===f["KEY_CODES"].ARROW_DOWN&&n.row>0&&n.row<this.htEditor.countRows()-1&&(r=!0),e===f["KEY_CODES"].ARROW_UP&&n.row>-1&&(r=!0),r}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 C=n("13e1");const O="checkbox";class x extends C["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 N=n("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,P=(e,t)=>window.setTimeout(e,t),D=function(e,t,n,r){e.addEventListener(t,n,!!r)},F=function(e,t,n,r){e.removeEventListener(t,n,!!r)},k=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},B=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},U=function(e,t){B(e,t)||(e.className=""===e.className?t:e.className+" "+t)},H=function(e,t){e.className=k((" "+e.className+" ").replace(" "+t+" "," "))},j=function(e){return/Array/.test(Object.prototype.toString.call(e))},V=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},W=function(e){let t=e.getDay();return 0===t||6===t},Y=function(e){return e%4===0&&e%100!==0||e%400===0},Q=function(e,t){return[31,Y(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},X=function(e){V(e)&&e.setHours(0,0,0,0)},K=function(e,t){return e.getTime()===t.getTime()},G=function(e,t,n){let r,i;for(r in t)i=void 0!==e[r],i&&"object"===typeof t[r]&&null!==t[r]&&void 0===t[r].nodeName?V(t[r])?n&&(e[r]=new Date(t[r].getTime())):j(t[r])?n&&(e[r]=t[r].slice(0)):e[r]=G({},t[r],n):!n&&i||(e[r]=t[r]);return e},Z=function(e,t,n){let r=I().createEvent("HTMLEvents");r.initEvent(t,!0,!1),r=G(r,n),e.dispatchEvent(r)},z=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},q={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},J=function(e,t,n){t+=e.firstDay;while(t>=7)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},$=function(e){let t=[],n="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"),n="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="'+n+'"><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 n=e.getDate(),r=e.getDay(),i=t,o=i-1,s=7,a=function(e){return(e+s-1)%s};e.setDate(n+o-a(r));let l=new Date(e.getFullYear(),0,i),c=864e5,u=(e.getTime()-l.getTime())/c,d=1+Math.round((u-o+a(l.getDay()))/s);return d},te=function(e,t,n,r,i){let o=new Date(r,n,t),s=e.hasMoment?e.moment(o).isoWeek():ee(o,i);return'<td class="pika-week">'+s+"</td>"},ne=function(e,t,n,r){return'<tr class="pika-row'+(n?" pick-whole-week":"")+(r?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"},re=function(e){return"<tbody>"+e.join("")+"</tbody>"},ie=function(e){let t,n=[];for(e.showWeekNumber&&n.push("<th></th>"),t=0;t<7;t++)n.push('<th scope="col"><abbr title="'+J(e,t)+'">'+J(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?n.reverse():n).join("")+"</tr></thead>"},oe=function(e,t,n,r,i,o){let s,a,l,c,u,d=e._o,h=n===d.minYear,p=n===d.maxYear,f='<div id="'+o+'" class="pika-title" role="heading" aria-live="polite">',m=!0,A=!0;for(l=[],s=0;s<12;s++)l.push('<option value="'+(n===i?s-t:12+s-t)+'"'+(s===r?' selected="selected"':"")+(h&&s<d.minMonth||p&&s>d.maxMonth?' disabled="disabled"':"")+">"+d.i18n.months[s]+"</option>");for(c='<div class="pika-label">'+d.i18n.months[r]+'<select class="pika-select pika-select-month" tabindex="-1">'+l.join("")+"</select></div>",j(d.yearRange)?(s=d.yearRange[0],a=d.yearRange[1]+1):(s=n-d.yearRange,a=1+n+d.yearRange),l=[];s<a&&s<=d.maxYear;s++)s>=d.minYear&&l.push('<option value="'+s+'"'+(s===n?' selected="selected"':"")+">"+s+"</option>");return u='<div class="pika-label">'+n+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===r||d.minMonth>=r)&&(m=!1),p&&(11===r||d.maxMonth<=r)&&(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>"},se=function(e,t,n){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+n+'">'+ie(e)+re(t)+"</table>"};function ae(e){let t=this,n=t.config(e);t._onMouseDown=function(e){if(!t._v)return;e=e||L().event;let r=e.target||e.srcElement;if(r)if(B(r,"is-disabled")||(!B(r,"pika-button")||B(r,"is-empty")||B(r.parentNode,"is-disabled")?B(r,"pika-prev")?t.prevMonth():B(r,"pika-next")&&t.nextMonth():(t.setDate(new Date(r.getAttribute("data-pika-year"),r.getAttribute("data-pika-month"),r.getAttribute("data-pika-day"))),n.bound&&P((function(){t.hide(),n.blurFieldOnSelect&&n.field&&n.field.blur()}),100))),B(r,"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 n=e.target||e.srcElement;n&&(B(n,"pika-select-month")?t.gotoMonth(n.value):B(n,"pika-select-year")&&t.gotoYear(n.value))},t._onKeyChange=function(e){if(e=e||L().event,t.isVisible())switch(e.keyCode){case 13:case 27:n.field&&n.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(n.parse)return n.parse(n.field.value,n.format);if(this.hasMoment){let e=this.moment(n.field.value,n.format,n.formatStrict);return e&&e.isValid()?e.toDate():null}return new Date(Date.parse(n.field.value))},t._onInputChange=function(e){let n;e.firedBy!==t&&(n=t._parseFieldValue(),V(n)&&t.setDate(n),t._v||t.show())},t._onInputFocus=function(){t.show()},t._onInputClick=function(){t.show()},t._onInputBlur=function(){let e=I().activeElement;do{if(B(e,"pika-single"))return}while(e=e.parentNode);t._c||(t._b=P((function(){t.hide()}),50)),t._c=!1},t._onClick=function(e){e=e||L().event;let r=e.target||e.srcElement,i=r;if(r){!hasEventListeners&&B(r,"pika-select")&&(r.onchange||(r.setAttribute("onchange","return;"),D(r,"change",t._onChange)));do{if(B(i,"pika-single")||i===n.trigger)return}while(i=i.parentNode);t._v&&r!==n.trigger&&i!==n.trigger&&t.hide()}},t.el=I().createElement("div"),t.el.className="pika-single"+(n.isRTL?" is-rtl":"")+(n.theme?" "+n.theme:""),D(t.el,"mousedown",t._onMouseDown,!0),D(t.el,"touchend",t._onMouseDown,!0),D(t.el,"change",t._onChange),n.keyboardInput&&D(I(),"keydown",t._onKeyChange),n.field&&(n.container?n.container.appendChild(t.el):n.bound?I().body.appendChild(t.el):n.field.parentNode.insertBefore(t.el,n.field.nextSibling),D(n.field,"change",t._onInputChange),n.defaultDate||(n.defaultDate=t._parseFieldValue(),n.setDefaultDate=!0));let r=n.defaultDate;V(r)?n.setDefaultDate?t.setDate(r,!0):t.gotoDate(r):t.gotoDate(new Date),n.bound?(this.hide(),t.el.className+=" is-bound",D(n.trigger,"click",t._onInputClick),D(n.trigger,"focus",t._onInputFocus),D(n.trigger,"blur",t._onInputBlur)):this.show()}function le(e,t,n){return(t=ce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}ae.prototype={config:function(e){this._o||(this._o=G({},q,!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 n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,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),j(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))||q.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="",Z(this._o.field,"change",{firedBy:this})),this.draw();if("string"===typeof e&&(e=new Date(Date.parse(e))),!V(e))return;let n=this._o.minDate,r=this._o.maxDate;V(n)&&e<n?e=n:V(r)&&e>r&&(e=r),this._d=new Date(e.getTime()),X(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),Z(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 n=new Date(this.calendars[0].year,this.calendars[0].month,1),r=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),i=e.getTime();r.setMonth(r.getMonth()+1),r.setDate(r.getDate()-1),t=i<n.getTime()||r.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 n,r=this.getDate()||new Date,i=24*parseInt(t)*60*60*1e3;"add"===e?n=new Date(r.valueOf()+i):"subtract"===e&&(n=new Date(r.valueOf()-i)),this.setDate(n)},adjustCalendars:function(){this.calendars[0]=z(this.calendars[0]);for(let e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=z({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(X(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=q.minDate,this._o.minYear=q.minYear,this._o.minMonth=q.minMonth,this._o.startRange=q.startRange),this.draw()},setMaxDate:function(e){e instanceof Date?(X(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=q.maxDate,this._o.maxYear=q.maxYear,this._o.maxMonth=q.maxMonth,this._o.endRange=q.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,n=this._o,r=n.minYear,i=n.maxYear,o=n.minMonth,s=n.maxMonth,a="";this._y<=r&&(this._y=r,!isNaN(o)&&this._m<o&&(this._m=o)),this._y>=i&&(this._y=i,!isNaN(s)&&this._m>s&&(this._m=s));for(let l=0;l<n.numberOfMonths;l++)t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2),a+='<div class="pika-lendar">'+oe(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=a,n.bound&&"hidden"!==n.field.type&&P((function(){n.trigger.focus()}),1),"function"===typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)},adjustPosition:function(){let e,t,n,r,i,o,s,a,l,c,u;this._o.container||(this.el.style.position="absolute",e=this._o.trigger,t=this.el.offsetWidth,n=this.el.offsetHeight,r=L().innerWidth||I().documentElement.clientWidth,i=L().innerHeight||I().documentElement.clientHeight,o=I().body.scrollTop||I().documentElement.scrollTop,c=!0,u=!0,l=e.getBoundingClientRect(),s=l.left+L().pageXOffset,a=l.bottom+L().pageYOffset,(this._o.reposition&&s+t>r||this._o.position.indexOf("right")>-1&&s-t+e.offsetWidth>0)&&(s=s-t+e.offsetWidth,c=!1),(this._o.reposition&&a+n>i+o||this._o.position.indexOf("top")>-1&&a-n-e.offsetHeight>0)&&(a=a-n-e.offsetHeight,u=!1),s<0&&(s=0),a<0&&(a=0),this.el.style.left=s+"px",this.el.style.top=a+"px",U(this.el,c?"left-aligned":"right-aligned"),U(this.el,u?"bottom-aligned":"top-aligned"),H(this.el,c?"right-aligned":"left-aligned"),H(this.el,u?"top-aligned":"bottom-aligned"))},render:function(e,t,n){let r=this._o,i=new Date,o=Q(e,t),s=new Date(e,t,1).getDay(),a=[],l=[];X(i),r.firstDay>0&&(s-=r.firstDay,s<0&&(s+=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=o+s,m=f;while(m>7)m-=7;f+=7-m;let A=!1;for(let g=0,_=0;g<f;g++){let n=new Date(e,t,g-s+1),f=!!V(this._d)&&K(n,this._d),m=K(n,i),b=-1!==r.events.indexOf(n.toDateString()),v=g<s||g>=o+s,w=g-s+1,y=t,R=e,M=r.startRange&&K(r.startRange,n),S=r.endRange&&K(r.endRange,n),E=r.startRange&&r.endRange&&r.startRange<n&&n<r.endRange,T=r.minDate&&n<r.minDate||r.maxDate&&n>r.maxDate||r.disableWeekends&&W(n)||r.disableDayFn&&r.disableDayFn(n);v&&(g<s?(w=p+w,y=c,R=d):(w-=o,y=u,R=h));let C={day:w,month:y,year:R,hasEvent:b,isSelected:f,isToday:m,isDisabled:T,isEmpty:v,isStartRange:M,isEndRange:S,isInRange:E,showDaysInNextAndPreviousMonths:r.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:r.enableSelectionDaysInNextAndPreviousMonths};r.pickWholeWeek&&f&&(A=!0),l.push($(C)),7===++_&&(r.showWeekNumber&&l.unshift(te(this,g-s,t,e,r.firstWeekOfYearMinDays)),a.push(ne(l,r.isRTL,r.pickWholeWeek,A)),l=[],_=0,A=!1)}return se(r,a,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),H(this.el,"is-hidden"),this._o.bound&&(D(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&&F(I(),"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),U(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(),F(this.el,"mousedown",this._onMouseDown,!0),F(this.el,"touchend",this._onMouseDown,!0),F(this.el,"change",this._onChange),e.keyboardInput&&F(I(),"keydown",this._onKeyChange),e.field&&(F(e.field,"change",this._onInputChange),e.bound&&(F(e.trigger,"click",this._onInputClick),F(e.trigger,"focus",this._onInputFocus),F(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}};const de="date",he="dateEditor";class pe extends r["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 N)throw new Error("You need to include moment.js to your project.");if("function"!==typeof ae)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,n,r,i,o){super.prepare(e,t,n,r,i,o)}open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=this.hot.getShortcutManager(),n=t.getContext("editor");this.showDatepicker(e),super.open(),n.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(),n=t.getContext("editor");n.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,n=this.hot.view.isMouseDown(),r=!!e&&Object(f["isFunctionKey"])(e.keyCode);let i;this.datePicker.style.display="block",this.$datePicker=new ae(this.getDatePickerConfig()),"function"===typeof this.$datePicker.useMoment&&this.$datePicker.useMoment(N),this.$datePicker._onInputFocus=function(){},this.originalValue?(i=this.originalValue,N(i,t,!0).isValid()&&this.$datePicker.setMoment(N(i,t),!0),this.getValue()!==this.originalValue&&this.setValue(this.originalValue),r||n||this.setValue("")):this.cellProperties.defaultDate?(i=this.cellProperties.defaultDate,N(i,t,!0).isValid()&&this.$datePicker.setMoment(N(i,t),!0),r||n||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(s["deepExtend"])(t,this.cellProperties.datePickerConfig);const n=t.onSelect,r=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=N(t).format(this.cellProperties.dateFormat||this.defaultDateFormat)),this.setValue(t),n&&n()},t.onClose=()=>{this.parentDestroyed||this.finishEditing(!1),r&&r()},t}refreshDimensions(e){var t;if(super.refreshDimensions(e),this.state!==C["b"].EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.hideDatepicker();const{rowIndexMapper:n,columnIndexMapper:r}=this.hot,{wtOverlays:o}=this.hot.view._wt,{wtTable:s}=null!==(t=o.getParentOverlay(this.TD))&&void 0!==t?t:this.hot.view._wt,a=n.getVisualFromRenderableIndex(s.getFirstPartiallyVisibleRow()),l=n.getVisualFromRenderableIndex(s.getLastPartiallyVisibleRow()),c=r.getVisualFromRenderableIndex(s.getFirstPartiallyVisibleColumn()),u=r.getVisualFromRenderableIndex(s.getLastPartiallyVisibleColumn());if(this.row>=a&&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=n("1004");const me="dropdown";class Ae extends T{static get EDITOR_TYPE(){return me}prepare(e,t,n,r,i,o){super.prepare(e,t,n,r,i,o),this.cellProperties.filter=!1,this.cellProperties.strict=!0}}fe["a"].getSingleton().add("beforeValidate",(function(e,t,n){const r=this.propToCol(n);if(Number.isInteger(r)){const e=this.getCellMeta(t,r);e.editor===Ae&&void 0===e.strict&&(e.filter=!1,e.strict=!0)}}));const ge="numeric";class _e extends r["a"]{static get EDITOR_TYPE(){return ge}}const be="password";class ve extends r["a"]{static get EDITOR_TYPE(){return be}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",Re="select";class Me extends C["a"]{static get EDITOR_TYPE(){return Re}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,n,r,o,a){super.prepare(e,t,n,r,o,a);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(s["objectEach"])(c,(e,t)=>{const n=this.hot.rootDocument.createElement("OPTION");n.value=t,Object(i["fastInnerHTML"])(n,e),this.select.appendChild(n)})}prepareOptions(e){let t={};if(Array.isArray(e))for(let n=0,r=e.length;n<r;n++)t[e[n]]=e[n];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!==C["b"].EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.close();const{top:e,start:t,width:n,height:r}=this.getEditedCellRect(),o=this.select.style;o.height=r+"px",o.width=n+"px",o.top=e+"px",o[this.hot.isRtl()?"right":"left"]=t+"px",o.margin="0px",Object(i["addClass"])(this.select,we)}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor"),n={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)}}],n)}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("editor");t.removeShortcutsByGroup(ye)}}const Se="time";class Ee extends r["a"]{static get EDITOR_TYPE(){return Se}prepare(e,t,n,r,i,o){super.prepare(e,t,n,r,i,o),this.TEXTAREA.dir="ltr"}}var Te=n("491c");function Ce(){Object(Te["e"])(C["a"]),Object(Te["e"])(T),Object(Te["e"])(x),Object(Te["e"])(pe),Object(Te["e"])(Ae),Object(Te["e"])(u),Object(Te["e"])(_e),Object(Te["e"])(ve),Object(Te["e"])(Me),Object(Te["e"])(r["a"]),Object(Te["e"])(Ee)}var Oe=n("a357");const xe="html";function Ne(e,t,n,r,o,s,a){Oe["a"].apply(this,[e,t,n,r,o,s,a]),Object(i["fastInnerHTML"])(t,null===s||void 0===s?"":s,!1)}Ne.RENDERER_TYPE=xe;var Le=n("87d6");const Ie="autocomplete";function Pe(e,t,n,r,o,s,a){const{rootDocument:l}=e,c=a.allowHtml?Ne: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,n,r,o,s,a]),t.firstChild||t.appendChild(l.createTextNode(String.fromCharCode(160))),t.insertBefore(u,t.firstChild),Object(i["addClass"])(t,"htAutocomplete"),!e.acArrowListener){const o=new Le["a"](e);e.acArrowListener=function(o){Object(i["hasClass"])(o.target,"htAutocompleteArrow")&&e.view._wt.getSetting("onCellDblClick",null,e._createCellCoords(n,r),t)},o.addEventListener(e.rootElement,"mousedown",e.acArrowListener),e.addHookOnce("afterDestroy",()=>{o.destroy()})}}Pe.RENDERER_TYPE=Ie;const De="dropdown";function Fe(e,t,n,r,i,o,s){Pe.apply(this,[e,t,n,r,i,o,s])}Fe.RENDERER_TYPE=De;var ke=n("0283");const Be=new WeakMap,Ue=new WeakMap,He="htBadValue",je="data-row",Ve="data-col",We="checkboxRenderer",Ye="checkbox";function Qe(e,t,n,r,o,s,l){const{rootDocument:c}=e,u=e.getSettings().ariaTags;Oe["a"].apply(this,[e,t,n,r,o,s,l]),Xe(e);let d=Ke(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),s===l.checkedTemplate||Object(h["stringify"])(s).toLocaleLowerCase(l.locale)===Object(h["stringify"])(l.checkedTemplate).toLocaleLowerCase(l.locale)?d.checked=!0:s===l.uncheckedTemplate||Object(h["stringify"])(s).toLocaleLowerCase(l.locale)===Object(h["stringify"])(l.uncheckedTemplate).toLocaleLowerCase(l.locale)?d.checked=!1:Object(h["isEmpty"])(s)?Object(i["addClass"])(d,"noValue"):(d.style.display="none",Object(i["addClass"])(d,He),f=!0),Object(i["setAttribute"])(d,[[je,n],[Ve,r]]),u&&Object(i["setAttribute"])(d,[Object(g["p"])(d.checked?e.getTranslatedPhrase(ke["CHECKBOX_CHECKED"]):e.getTranslatedPhrase(ke["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,n,r,o,s):p.value;else if(p.property){const t=e.getDataAtRowProp(n,p.property);i=null!==t?t:""}const a=Ge(c,i,!0!==p.separated);"before"===p.position?p.separated?(t.appendChild(a),t.appendChild(d)):(a.appendChild(d),d=a):p.position&&"after"!==p.position||(p.separated?(t.appendChild(d),t.appendChild(a)):(a.insertBefore(d,a.firstChild),d=a))}function m(){const t=e.getShortcutManager(),n=t.getContext("grid"),r={group:We,relativeToGroup:a["a"],position:"before"};n.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()}}],r)}function A(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const n=e.getSelectedRange(),r=[],i=new Map;let o=[],s=0;if(n){for(let a=0;a<n.length;a++){const{row:l,col:c}=n[a].getTopStartCorner(),{row:u,col:d}=n[a].getBottomEndCorner();for(let n=l;n<=u;n+=1)for(let a=c;a<=d;a+=1){const l=e.getCellMeta(n,a),c={checkedTemplate:l.checkedTemplate,uncheckedTemplate:l.uncheckedTemplate};if("checkbox"!==l.type){!0!==t||l.readOnly||(i.has(r.length)?i.set(r.length,[...i.get(r.length),[n,a,null]]):i.set(r.length,[[n,a,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(n,a);!1===t?[l.checkedTemplate,l.checkedTemplate.toString()].includes(u)?o.push([n,a,l.uncheckedTemplate,c]):[l.uncheckedTemplate,l.uncheckedTemplate.toString(),null,void 0].includes(u)&&o.push([n,a,l.checkedTemplate,c]):o.push([n,a,l.uncheckedTemplate,c]),s+=1}r.push(s),s=0}o=o.every(e=>{let[,,t]=e;return t===o[0][2]})?o.map(e=>{let[t,n,r]=e;return[t,n,r]}):o.map(e=>{let[t,n,,r]=e;return[t,n,r.checkedTemplate]}),o.length>0&&r.forEach((t,n)=>{let r=o.splice(0,t);i.size&&i.has(n)&&(r=[...r,...i.get(n)]),e.setDataAtCell(r)})}}function _(){const t=e.getSelectedRange();if(t){for(let n=0;n<t.length;n++){const r=t[n].getTopStartCorner(),i=t[n].getBottomEndCorner();for(let t=r.row;t<=i.row;t++)for(let n=r.col;n<=i.col;n++){const r=e.getCellMeta(t,n),i=e.getCell(t,n);if(null===i||void 0===i)return!0;{const e=i.querySelectorAll("input[type=checkbox]");if(e.length>0&&!r.readOnly)return!0}}}return!1}}(!p||p&&!p.separated)&&t.appendChild(d),f&&t.appendChild(c.createTextNode("#bad-value#")),Be.has(e)||(Be.set(e,!0),m())}function Xe(e){let t=Ue.get(e);if(!t){const{rootElement:n}=e;t=new Le["a"](e),t.addEventListener(n,"click",t=>ze(t,e)),t.addEventListener(n,"mouseup",t=>Ze(t,e)),t.addEventListener(n,"change",t=>qe(t,e)),Ue.set(e,t)}return t}function Ke(e){const t=e.createElement("input");return t.className="htCheckboxRendererInput",t.type="checkbox",t.setAttribute("tabindex","-1"),t.cloneNode(!1)}function Ge(e,t,n){const r=e.createElement("label");return r.className="htCheckboxRendererLabel "+(n?"fullWidth":""),r.appendChild(e.createTextNode(t)),r.cloneNode(!0)}function Ze(e,t){const{target:n}=e;Je(n)&&n.hasAttribute(je)&&n.hasAttribute(Ve)&&setTimeout(t.listen,10)}function ze(e,t){const{target:n}=e;if(!Je(n))return;if(!n.hasAttribute(je)||!n.hasAttribute(Ve))return;const r=parseInt(n.getAttribute(je),10),i=parseInt(n.getAttribute(Ve),10),o=t.getCellMeta(r,i);o.readOnly&&e.preventDefault()}function qe(e,t){const{target:n}=e;if(!Je(n))return;if(!n.hasAttribute(je)||!n.hasAttribute(Ve))return;const r=parseInt(n.getAttribute(je),10),i=parseInt(n.getAttribute(Ve),10),o=t.getCellMeta(r,i);if(!o.readOnly){let n=null;n=e.target.checked?void 0===o.uncheckedTemplate||o.checkedTemplate:void 0!==o.uncheckedTemplate&&o.uncheckedTemplate,t.setDataAtCell(r,i,n)}}function Je(e){return"INPUT"===e.tagName&&"checkbox"===e.getAttribute("type")}fe["a"].getSingleton().add("modifyAutoColumnSizeSeed",(function(e,t,n){const{label:r,type:i,row:o,column:s,prop:a}=t;if(i===Ye){if(r){const{value:t,property:i}=r;let l=n;if(t)l="function"===typeof t?t(o,s,a,n):t;else if(i){const e=this.getDataAtRowProp(o,i);l=null!==e?e:n}e=l}return e}})),Qe.RENDERER_TYPE=Ye;const $e="handsontable";function et(e,t,n,r,i,o,s){Pe.apply(this,[e,t,n,r,i,o,s])}et.RENDERER_TYPE=$e;var tt=n("8722"),nt=n("ffec");const rt="numeric";function it(e,t){if(Object(nt["isNumeric"])(e)){const n=t.numericFormat,r=n&&n.culture||"-",i=n&&n.pattern;if("undefined"!==typeof r&&!tt.languages()[r]){const e=r.replace("-",""),t=tt.allLanguages?tt.allLanguages[r]:tt[e];t&&tt.registerLanguage(t)}tt.setLanguage(r),e=tt(e).format(i||"0")}return e}function ot(e,t,n,r,i,o,s){let a=o;if(Object(nt["isNumeric"])(a)){const e=s.className||"",n=e.length?e.split(" "):[];a=it(a,s),n.indexOf("htLeft")<0&&n.indexOf("htCenter")<0&&n.indexOf("htRight")<0&&n.indexOf("htJustify")<0&&n.push("htRight"),n.indexOf("htNumeric")<0&&n.push("htNumeric"),s.className=n.join(" "),t.dir="ltr"}Object(A["a"])(e,t,n,r,i,a,s)}ot.RENDERER_TYPE=rt;const st="password";function at(e,t,n,r,o,s,a){A["a"].apply(this,[e,t,n,r,o,s,a]);const l=a.hashLength||t.innerHTML.length,c=a.hashSymbol||"*";let u="";Object(nt["rangeEach"])(l-1,()=>{u+=c}),Object(i["fastInnerHTML"])(t,u)}at.RENDERER_TYPE=st;const lt="select";function ct(e,t,n,r,i,o,s){A["a"].apply(this,[e,t,n,r,i,o,s])}ct.RENDERER_TYPE=lt;const ut="time";function dt(e,t,n,r,i,o,s){A["a"].apply(this,[e,t,n,r,i,o,s]),t.dir="ltr"}dt.RENDERER_TYPE=ut;var ht=n("3d76");function pt(){Object(ht["d"])(Pe),Object(ht["d"])(Oe["a"]),Object(ht["d"])(Qe),Object(ht["d"])(Fe),Object(ht["d"])(et),Object(ht["d"])(Ne),Object(ht["d"])(ot),Object(ht["d"])(at),Object(ht["d"])(ct),Object(ht["d"])(A["a"]),Object(ht["d"])(dt)}const ft="autocomplete";function mt(e,t){let n=e;null!==n&&void 0!==n||(n=""),this.allowEmpty&&""===n?t(!0):this.strict&&this.source?"function"===typeof this.source?this.source(n,At(n,t)):At(n,t)(this.source):t(!0)}function At(e,t){const n=e;return function(e){let r=!1;for(let t=0,i=e.length;t<i;t++)if(n===e[t]){r=!0;break}t(r)}}mt.VALIDATOR_TYPE=ft;var gt=n("3eb5");const _t="date";function bt(e,t){const n=Object(Te["b"])(de,this.instance);let r=e,i=!0;null!==r&&void 0!==r||(r="");let o=N(r,this.dateFormat||n.defaultDateFormat,!0).isValid(),s=N(new Date(r)).isValid()||o;if(this.allowEmpty&&""===r&&(s=!0,o=!0),s||(i=!1),!s&&o&&(i=!0),s&&!o)if(!0===this.correctFormat){const e=vt(r,this.dateFormat);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"dateValidator"),i=!0}else i=!1;t(i)}function vt(e,t){const n=N(Object(gt["getNormalizedDate"])(e)),r=N(e,t),i=e.search(/[A-z]/g)>-1;let o;return o=n.isValid()&&n.format("x")===r.format("x")||!r.isValid()||i?n:r,o.format(t)}bt.VALIDATOR_TYPE=_t;const wt="dropdown";function yt(e,t){mt.apply(this,[e,t])}yt.VALIDATOR_TYPE=wt;const Rt="numeric";function Mt(e,t){let n=e;null!==n&&void 0!==n||(n=""),this.allowEmpty&&""===n?t(!0):t(""!==n&&Object(nt["isNumeric"])(e))}Mt.VALIDATOR_TYPE=Rt;const St=["YYYY-MM-DDTHH:mm:ss.SSSZ","X","x"],Et="time";function Tt(e,t){const n=this.timeFormat||"h:mm:ss a";let r=!0,i=e;null===i&&(i=""),i=/^\d{3,}$/.test(i)?parseInt(i,10):i;const o=/^\d{1,2}$/.test(i);o&&(i+=":00");const s=N(i,St,!0).isValid()?N(i):N(i,n);let a=s.isValid(),l=N(i,n,!0).isValid()&&!o;if(this.allowEmpty&&""===i&&(a=!0,l=!0),a||(r=!1),!a&&l&&(r=!0),a&&!l)if(!0===this.correctFormat){const e=s.format(n);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"timeValidator"),r=!0}else r=!1;t(r)}Tt.VALIDATOR_TYPE=Et;var Ct=n("169f");function Ot(){Object(Ct["d"])(mt),Object(Ct["d"])(yt),Object(Ct["d"])(bt),Object(Ct["d"])(Mt),Object(Ct["d"])(Tt)}const xt="autocomplete",Nt={CELL_TYPE:xt,editor:T,renderer:Pe,validator:mt},Lt="checkbox",It={CELL_TYPE:Lt,editor:x,renderer:Qe},Pt="date";function Dt(e,t,n,r,i,o,s){Pe.apply(this,[e,t,n,r,i,o,s])}Dt.RENDERER_TYPE=Pt;const Ft="date",kt={CELL_TYPE:Ft,editor:pe,renderer:Dt,validator:bt},Bt="dropdown",Ut={CELL_TYPE:Bt,editor:Ae,renderer:Fe,validator:yt},Ht="handsontable",jt={CELL_TYPE:Ht,editor:u,renderer:et},Vt="numeric",Wt={CELL_TYPE:Vt,editor:_e,renderer:ot,validator:Mt,dataType:"number"},Yt="password",Qt={CELL_TYPE:Yt,editor:ve,renderer:at,copyable:!1},Xt="select",Kt={CELL_TYPE:Xt,editor:Me,renderer:ct};var Gt=n("ef07");const Zt="time",zt={CELL_TYPE:Zt,editor:Ee,renderer:dt,validator:Tt};var qt=n("76ab");function Jt(){Object(qt["d"])(Nt),Object(qt["d"])(It),Object(qt["d"])(kt),Object(qt["d"])(Ut),Object(qt["d"])(jt),Object(qt["d"])(Wt),Object(qt["d"])(Qt),Object(qt["d"])(Kt),Object(qt["d"])(Gt["a"]),Object(qt["d"])(zt)}var $t=n("d3c5"),en=n("7dd0"),tn=n("220a");function nn(e,t,n){return(t=rn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rn(e){var t=on(e,"string");return"symbol"==typeof t?t:t+""}function on(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class sn{static get SAMPLE_COUNT(){return 3}constructor(e){nn(this,"samples",null),nn(this,"dataFactory",null),nn(this,"customSampleCount",null),nn(this,"allowDuplicates",!1),this.dataFactory=e}getSampleCount(){return this.customSampleCount?this.customSampleCount:sn.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,n){const r=new Map,{from:i,to:o}="number"===typeof n?{from:n,to:n}:n;return Object(nt["rangeEach"])(i,o,n=>{const i=this.generateSample(e,t,n);r.set(n,i)}),r}generateSample(e,t,n){if("row"!==e&&"col"!==e)throw new Error("Unsupported sample type");const r=new Map,i="row"===e?"col":"row",o=[];return Object(nt["rangeEach"])(t.from,t.to,t=>{const a="row"===e?this.dataFactory(n,t):this.dataFactory(t,n);if(!1===a)return;const{value:l,bundleSeed:c}=a,u="string"===typeof c&&c.length>0;let d;d=u?c:Object(s["isObject"])(l)?""+Object.keys(l).length:Array.isArray(l)?""+l.length:""+Object(h["stringify"])(l).length,r.has(d)||r.set(d,{needed:this.getSampleCount(),strings:[]});const p=r.get(d);if(p.needed){const e=o.indexOf(l)>-1;(!e||this.allowDuplicates||u)&&(p.strings.push({value:l,[i]:t}),o.push(l),p.needed-=1)}}),r}}var an=sn,ln=n("861dd"),cn=n("9f10");function un(e,t){hn(e,t),t.add(e)}function dn(e,t,n){hn(e,t),t.set(e,n)}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,n){return(t=fn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function An(e,t){return e.get(_n(e,t))}function gn(e,t,n){return e.set(_n(e,t),n),n}function _n(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("modifyAutoColumnSizeSeed");const bn="autoColumnSize",vn=10,wn="autoColumnSize";var yn=new WeakMap,Rn=new WeakMap,Mn=new WeakSet;class Sn extends $t["a"]{static get PLUGIN_KEY(){return bn}static get PLUGIN_PRIORITY(){return vn}static get SETTING_KEYS(){return!0}static get CALCULATION_STEP(){return 50}static get SYNC_CALCULATION_LIMIT(){return 50}constructor(e){super(e),un(this,Mn),pn(this,"ghostTable",new tn["a"](this.hot)),pn(this,"samplesGenerator",new an((e,t)=>{const n=this.hot.toPhysicalRow(e),r=this.hot.toPhysicalColumn(t);if(this.hot.rowIndexMapper.isHidden(n)||this.hot.columnIndexMapper.isHidden(r))return!1;const i=this.hot.getCellMeta(e,t);let o="";i.spanned||(o=this.hot.getDataAtCell(e,t));let s="";return this.hot.hasHook("modifyAutoColumnSizeSeed")&&(s=this.hot.runHooks("modifyAutoColumnSizeSeed",s,i,o)),{value:o,bundleSeed:s}})),pn(this,"inProgress",!1),pn(this,"measuredColumns",0),pn(this,"columnWidthsMap",new cn["a"]),dn(this,yn,[]),dn(this,Rn,[]),this.hot.columnIndexMapper.registerMap(wn,this.columnWidthsMap),this.addHook("beforeColumnResize",(e,t,n)=>_n(Mn,this,xn).call(this,e,t,n))}isEnabled(){return!1!==this.hot.getSettings()[bn]&&!this.hot.getSettings().colWidths}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[bn];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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _n(Mn,e,Cn).call(e,...n)})),this.addHook("beforeChangeRender",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _n(Mn,e,On).call(e,...n)})),this.addHook("afterFormulasValuesUpdate",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _n(Mn,e,Ln).call(e,...n)})),this.addHook("beforeRender",()=>_n(Mn,this,Tn).call(this)),this.addHook("modifyColWidth",(e,t)=>this.getColumnWidth(t,e)),this.addHook("init",()=>_n(Mn,this,Nn).call(this)),super.enablePlugin()}updatePlugin(){gn(Rn,this,this.findColumnsWhereHeaderWasChanged()),super.updatePlugin()}disablePlugin(){super.disablePlugin(),this.addHook("beforeColumnResize",(e,t,n)=>_n(Mn,this,xn).call(this,e,t,n))}calculateVisibleColumnsWidth(){if(!this.hot.countRows())return;const e=this.getFirstVisibleColumn(),t=this.getLastVisibleColumn();if(-1===e||-1===t)return;const n=this.hot.renderCall;this.calculateColumnsWidth({from:e,to:t},void 0,n)}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},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r="number"===typeof e?{from:e,to:e}:e,i="number"===typeof t?{from:t,to:t}:t;Object(nt["rangeEach"])(r.from,r.to,e=>{let t=this.hot.toPhysicalColumn(e);if(null===t&&(t=e),n||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 n=this.hot.toPhysicalColumn(e);this.columnWidthsMap.setValueAtIndex(n,t)})},!0),this.measuredColumns=r.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],n=0;const r=this.hot.countCols()-1;let i=null;this.inProgress=!0;const o=()=>{if(!this.hot)return Object(en["cancelAnimationFrame"])(i),void(this.inProgress=!1);this.calculateColumnsWidth({from:n,to:Math.min(n+Sn.CALCULATION_STEP,r)},e,t),n=n+Sn.CALCULATION_STEP+1,n<r?i=Object(en["requestAnimationFrame"])(o):(Object(en["cancelAnimationFrame"])(i),this.inProgress=!1,this.hot.view.adjustElementsSize())},s=this.getSyncCalculationLimit();s>=0&&(this.calculateColumnsWidth({from:0,to:s},e,t),n=s+1),n<r?o():this.inProgress=!1}setSamplingOptions(){const e=this.hot.getSettings()[bn],t=e&&Object(s["hasOwnProperty"])(e,"samplingRatio")?e.samplingRatio:void 0,n=e&&Object(s["hasOwnProperty"])(e,"allowSampleDuplicates")?e.allowSampleDuplicates:void 0;t&&!isNaN(t)&&this.samplesGenerator.setSampleCount(parseInt(t,10)),n&&this.samplesGenerator.setAllowDuplicates(n)}recalculateAllColumnsWidth(){this.hot.view.isVisible()&&this.calculateAllColumnsWidth({from:0,to:this.hot.countRows()-1},!0)}getSyncCalculationLimit(){const e=this.hot.getSettings()[bn];let t=Sn.SYNC_CALCULATION_LIMIT;const n=this.hot.countCols()-1;return Object(s["isObject"])(e)&&(t=e.syncLimit,Object(p["isPercentValue"])(t)?t=Object(nt["valueAccordingPercent"])(n,t):t>>=0),Math.min(t,n)}getColumnWidth(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t;return void 0===r&&(r=this.columnWidthsMap.getValueAtIndex(this.hot.toPhysicalColumn(e)),n&&"number"===typeof r&&(r=Math.max(r,ln["a"]))),r}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,n)=>{const r=An(yn,this).length;return(r-1<n||An(yn,this)[n]!==t)&&e.push(this.hot.toVisualColumn(n)),r-1<n?An(yn,this).push(t):An(yn,this)[n]=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 En(e){const t={from:0,to:this.hot.countRows()-1};e.forEach(e=>{const n=this.hot.toPhysicalColumn(e);if(null!==n&&!this.hot._getColWidthFromSettings(n)){const n=this.samplesGenerator.generateColumnSamples(e,t);n.forEach((e,t)=>this.ghostTable.addColumn(t,e))}}),this.ghostTable.columns.length&&(this.hot.batchExecution(()=>{this.ghostTable.getWidths((e,t)=>{const n=this.hot.toPhysicalColumn(e);this.columnWidthsMap.setValueAtIndex(n,t)})},!0),this.ghostTable.clean())}function Tn(){this.calculateVisibleColumnsWidth(),this.inProgress||(_n(Mn,this,En).call(this,An(Rn,this)),gn(Rn,this,[]))}function Cn(e,t){t||this.recalculateAllColumnsWidth()}function On(e){const t=e.reduce((e,t)=>{let[,n]=t;const r=this.hot.propToCol(n);return Number.isInteger(r)&&-1===e.indexOf(r)&&e.push(r),e},[]);An(Rn,this).push(...t)}function xn(e,t,n){let r=e;return n&&(this.calculateColumnsWidth(t,void 0,!0),r=this.getColumnWidth(t,void 0,!1)),r}function Nn(){gn(yn,this,this.hot.getColHeader()),this.recalculateAllColumnsWidth()}function Ln(e){const t=e.reduce((e,t)=>{var n;const r=null===(n=t.address)||void 0===n?void 0:n.col;if(Number.isInteger(r)){const t=this.hot.toVisualColumn(r);-1===e.indexOf(t)&&e.push(t)}return e},[]);An(Rn,this).push(...t)}const In={horizontal:"horizontal",vertical:"vertical"};function Pn(e,t,n){let r,i,o;return t[0]===e[0]&&t[1]<e[1]?(o="left",r=n(t[0],t[1]),i=n(t[2],e[1]-1)):t[2]===e[2]&&t[0]===e[0]&&t[3]>e[3]?(o="right",r=n(t[0],e[3]+1),i=n(t[2],t[3])):t[0]<e[0]&&t[1]===e[1]?(o="up",r=n(t[0],t[1]),i=n(e[0]-1,t[3])):t[2]>e[2]&&t[1]===e[1]&&(o="down",r=n(e[2]+1,t[1]),i=n(t[2],t[3])),r&&r.normalize(),i&&i.normalize(),{directionOfDrag:o,startOfDragCoords:r,endOfDragCoords:i}}function Dn(e){const t={};return!0===e?(t.directions=Object.keys(In),t.autoInsertRow=!0):Object(s["isObject"])(e)?(Object(h["isDefined"])(e.autoInsertRow)?e.direction===In.horizontal?t.autoInsertRow=!1:t.autoInsertRow=e.autoInsertRow:t.autoInsertRow=!1,Object(h["isDefined"])(e.direction)?t.directions=[e.direction]:t.directions=Object.keys(In)):"string"===typeof e?(t.directions=[e],t.autoInsertRow=!0):(t.directions=[],t.autoInsertRow=!1),t}function Fn(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,n){return(t=Un(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e){var t=Hn(e,"string");return"symbol"==typeof t?t:t+""}function Hn(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function jn(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 Vn="autofill",Wn=20,Yn=["fillHandle"],Qn="insert_row_below",Xn=200;var Kn=new WeakSet;class Gn extends $t["a"]{constructor(){super(...arguments),Fn(this,Kn),Bn(this,"addingStarted",!1),Bn(this,"mouseDownOnCellCorner",!1),Bn(this,"mouseDragOutside",!1),Bn(this,"handleDraggedCells",0),Bn(this,"directions",[]),Bn(this,"autoInsertRow",!1)}static get PLUGIN_KEY(){return Vn}static get PLUGIN_PRIORITY(){return Wn}static get SETTING_KEYS(){return[Vn,...Yn]}isEnabled(){return this.hot.getSettings().fillHandle}enablePlugin(){this.enabled||(this.mapSettings(),this.registerEvents(),this.addHook("afterOnCellCornerMouseDown",e=>jn(Kn,this,zn).call(this,e)),this.addHook("afterOnCellCornerDblClick",e=>jn(Kn,this,Zn).call(this,e)),this.addHook("beforeOnCellMouseOver",(e,t)=>jn(Kn,this,qn).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:n}=e.getTopStartCorner(),{row:r,col:i}=e.getBottomEndCorner(),o=this.hot.runHooks("modifyCopyableRange",[{startRow:t,startCol:n,endRow:r,endCol:i}]),s=[],a=[],l=[];return Object(d["arrayEach"])(o,e=>{for(let t=e.startRow;t<=e.endRow;t+=1)-1===s.indexOf(t)&&s.push(t);for(let t=e.startCol;t<=e.endCol;t+=1)-1===a.indexOf(t)&&a.push(t)}),Object(d["arrayEach"])(s,e=>{const t=[];Object(d["arrayEach"])(a,n=>{t.push(this.hot.getCopyableData(e,n))}),l.push(t)}),l}fillIn(){if(this.hot.selection.highlight.getFill().isEmpty())return!1;const[e,t,n,r]=this.hot.selection.highlight.getFill().getVisualCorners(),i=this.hot.getSelectedRangeLast(),o=i.getTopStartCorner(),s=i.getBottomEndCorner();this.resetSelectionOfDraggedArea();const a=[o.row,o.col,s.row,s.col],l=this.hot.runHooks("modifyAutofillRange",[Math.min(o.row,e),Math.min(o.col,t),Math.max(s.row,n),Math.max(s.col,r)],a),{directionOfDrag:c,startOfDragCoords:u,endOfDragCoords:d}=Pn(a,l,(e,t)=>this.hot._createCellCoords(e,t));if(u&&u.row>-1&&u.col>-1){const e=this.getSelectionData(),t=i.clone(),n=this.hot._createCellRange(u,u,d),r=this.hot.runHooks("beforeAutofill",e,t,n,c);if(!1===r)return this.hot.selection.highlight.getFill().clear(),this.hot.render(),!1;let o=r;const s=r;if(["up","left"].indexOf(c)>-1&&(1!==s.length||0!==s[0].length))if(o=[],"up"===c){const e=d.row-u.row+1,t=e%s.length;for(let n=0;n<e;n++)o.push(s[(n+(s.length-t))%s.length])}else{const e=d.col-u.col+1,t=e%s[0].length;for(let n=0;n<s.length;n++){o.push([]);for(let r=0;r<e;r++)o[n].push(s[n][(r+(s[n].length-t))%s[n].length])}}this.hot.populateFromArray(u.row,u.col,o,d.row,d.col,this.pluginName+".fill",null),this.setSelection(l),this.hot.runHooks("afterAutofill",o,t,n,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(),n=t.getBottomEndCorner();let r=e;if(this.directions.includes(In.vertical)&&this.directions.includes(In.horizontal)){const i=t.getTopStartCorner();(n.col<=e.col||i.col>=e.col)&&(r=this.hot._createCellCoords(n.row,e.col)),(n.row<e.row||i.row>e.row)&&(r=this.hot._createCellCoords(e.row,n.col))}else if(this.directions.includes(In.vertical))r=this.hot._createCellCoords(e.row,n.col);else{if(!this.directions.includes(In.horizontal))return;r=this.hot._createCellCoords(n.row,e.col)}return this.reduceSelectionAreaIfNeeded(r)}showBorder(e){const t=this.getCoordsOfDragAndDropBorders(e);t&&this.redrawBorders(t)}addRow(){this.hot._registerTimeout(()=>{this.hot.alter(Qn,void 0,1,this.pluginName+".fill"),this.addingStarted=!1},Xn)}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(),n=this.hot.countRows();e[2]<n-1&&t[2]===n-1&&(this.addingStarted=!0,this.addRow())}}getIndexOfLastAdjacentFilledInRow(e){const t=this.hot.getData(),n=this.hot.countRows();let r;for(let i=e[2]+1;i<n;i++){for(let r=e[1];r<=e[3];r++){const e=t[i][r];if(!Object(h["isEmpty"])(e))return-1}const n=t[i][e[1]-1],o=t[i][e[3]+1];Object(h["isEmpty"])(n)&&Object(h["isEmpty"])(o)||(r=i)}return r}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,n=Object(i["offset"])(this.hot.table).top-(this.hot.rootWindow.pageYOffset||t.scrollTop)+Object(i["outerHeight"])(this.hot.table),r=Object(i["offset"])(this.hot.table).left-(this.hot.rootWindow.pageXOffset||t.scrollLeft)+Object(i["outerWidth"])(this.hot.table);return e.clientY>n&&e.clientX<=r}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mouseup",()=>jn(Kn,this,Jn).call(this)),this.eventManager.addEventListener(e,"mousemove",e=>jn(Kn,this,$n).call(this,e))}clearMappedSettings(){this.directions.length=0,this.autoInsertRow=!1}mapSettings(){const e=Dn(this.hot.getSettings().fillHandle);this.directions=e.directions,this.autoInsertRow=e.autoInsertRow}destroy(){super.destroy()}}function Zn(){const e=this.selectAdjacent();e&&this.fillIn()}function zn(){this.handleDraggedCells=1,this.mouseDownOnCellCorner=!0}function qn(e){this.mouseDownOnCellCorner&&!this.hot.view.isMouseDown()&&this.handleDraggedCells&&(this.handleDraggedCells+=1,this.showBorder(e),this.addNewRowIfNeeded())}function Jn(){this.handleDraggedCells&&(this.handleDraggedCells>1&&this.fillIn(),this.handleDraggedCells=0,this.mouseDownOnCellCorner=!1)}function $n(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 er(e,t){nr(e,t),t.add(e)}function tr(e,t,n){nr(e,t),t.set(e,n)}function nr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function rr(e,t,n){return(t=ir(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){var t=or(e,"string");return"symbol"==typeof t?t:t+""}function or(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function sr(e,t,n){return e.set(lr(e,t),n),n}function ar(e,t){return e.get(lr(e,t))}function lr(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const cr="autoRowSize",ur=40,dr="autoRowSize";var hr=new WeakMap,pr=new WeakSet;class fr extends $t["a"]{static get PLUGIN_KEY(){return cr}static get PLUGIN_PRIORITY(){return ur}static get SETTING_KEYS(){return!0}static get CALCULATION_STEP(){return 50}static get SYNC_CALCULATION_LIMIT(){return 500}constructor(e){super(e),er(this,pr),rr(this,"headerHeight",null),rr(this,"ghostTable",new tn["a"](this.hot)),rr(this,"samplesGenerator",new an((e,t)=>{const n=this.hot.toPhysicalRow(e),r=this.hot.toPhysicalColumn(t);if(this.hot.rowIndexMapper.isHidden(n)||this.hot.columnIndexMapper.isHidden(r))return!1;if(e>=0&&t>=0){const n=this.hot.getCellMeta(e,t);if(n.hidden)return!1}let i;return e>=0?i=this.hot.getDataAtCell(e,t):-1===e&&(i=this.hot.getColHeader(t)),{value:i}})),rr(this,"inProgress",!1),rr(this,"measuredRows",0),rr(this,"rowHeightsMap",new cn["a"]),tr(this,hr,[]),this.hot.rowIndexMapper.registerMap(dr,this.rowHeightsMap),this.addHook("beforeRowResize",(e,t,n)=>lr(pr,this,gr).call(this,e,t,n))}isEnabled(){const e=this.hot.getSettings()[cr];return!0===e||Object(s["isObject"])(e)}enablePlugin(){var e=this;this.enabled||(this.setSamplingOptions(),this.addHook("afterLoadData",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return lr(pr,e,_r).call(e,...n)})),this.addHook("beforeChangeRender",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return lr(pr,e,br).call(e,...n)})),this.addHook("beforeColumnResize",()=>this.recalculateAllRowsHeight()),this.addHook("afterFormulasValuesUpdate",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return lr(pr,e,wr).call(e,...n)})),this.addHook("beforeRender",()=>lr(pr,this,Ar).call(this)),this.addHook("modifyRowHeight",(e,t)=>this.getRowHeight(t,e)),this.addHook("init",()=>lr(pr,this,vr).call(this)),this.addHook("modifyColumnHeaderHeight",()=>this.getColumnHeaderHeight()),super.enablePlugin())}disablePlugin(){this.headerHeight=null,super.disablePlugin(),this.addHook("beforeRowResize",(e,t,n)=>lr(pr,this,gr).call(this,e,t,n))}calculateVisibleRowsHeight(){if(!this.hot.countCols())return;const e=this.getFirstVisibleRow(),t=this.getLastVisibleRow();if(-1===e||-1===t)return;const n=this.hot.renderCall;this.calculateRowsHeight({from:e,to:t},void 0,n)}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},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r="number"===typeof e?{from:e,to:e}:e,i="number"===typeof t?{from:t,to:t}:t;if(null!==this.hot.getColHeader(0)){const e=this.samplesGenerator.generateRowSamples(-1,i);this.ghostTable.addColumnHeadersRow(e.get(-1))}Object(nt["rangeEach"])(r.from,r.to,e=>{let t=this.hot.toPhysicalRow(e);if(null===t&&(t=e),n||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=r.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],n=0;const r=this.hot.countRows()-1;let i=null;this.inProgress=!0;const o=()=>{if(!this.hot)return Object(en["cancelAnimationFrame"])(i),void(this.inProgress=!1);this.calculateRowsHeight({from:n,to:Math.min(n+fr.CALCULATION_STEP,r)},e,t),n=n+fr.CALCULATION_STEP+1,n<r?i=Object(en["requestAnimationFrame"])(o):(Object(en["cancelAnimationFrame"])(i),this.inProgress=!1,this.hot.view.adjustElementsSize(),this.hot.view._wt.wtOverlays.inlineStartOverlay.needFullRender&&this.hot.view._wt.wtOverlays.inlineStartOverlay.clone.draw())},s=this.getSyncCalculationLimit();s>=0&&(this.calculateRowsHeight({from:0,to:s},e,t),n=s+1),n<r?o():(this.inProgress=!1,this.hot.view.adjustElementsSize())}setSamplingOptions(){const e=this.hot.getSettings()[cr],t=e&&Object(s["hasOwnProperty"])(e,"samplingRatio")?e.samplingRatio:void 0,n=e&&Object(s["hasOwnProperty"])(e,"allowSampleDuplicates")?e.allowSampleDuplicates:void 0;t&&!isNaN(t)&&this.samplesGenerator.setSampleCount(parseInt(t,10)),n&&this.samplesGenerator.setAllowDuplicates(n)}recalculateAllRowsHeight(){this.hot.view.isVisible()&&this.calculateAllRowsHeight({from:0,to:this.hot.countCols()-1},!0)}getSyncCalculationLimit(){const e=this.hot.getSettings()[cr];let t=fr.SYNC_CALCULATION_LIMIT;const n=this.hot.countRows()-1;return Object(s["isObject"])(e)&&(t=e.syncLimit,Object(p["isPercentValue"])(t)?t=Object(nt["valueAccordingPercent"])(n,t):t>>=0),Math.min(t,n)}getRowHeight(e,t){const n=e<0?this.headerHeight:this.rowHeightsMap.getValueAtIndex(this.hot.toPhysicalRow(e));let r=t;return null!==n&&n>(t||0)&&(r=n),r}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:n}="number"===typeof e?{from:e,to:e}:e;this.hot.batchExecution(()=>{Object(nt["rangeEach"])(Math.min(t,n),Math.max(t,n),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 mr(e){const t={from:0,to:this.hot.countCols()-1};e.forEach(e=>{const n=this.samplesGenerator.generateRowSamples(e,t);n.forEach((e,t)=>this.ghostTable.addRow(t,e))}),this.ghostTable.rows.length&&(this.hot.batchExecution(()=>{this.ghostTable.getHeights((e,t)=>{const n=this.hot.toPhysicalRow(e);this.rowHeightsMap.setValueAtIndex(n,t)})},!0),this.ghostTable.clean())}function Ar(){this.calculateVisibleRowsHeight(),this.inProgress||(lr(pr,this,mr).call(this,ar(hr,this)),sr(hr,this,[]))}function gr(e,t,n){let r=e;return n&&(this.calculateRowsHeight(t,void 0,!0),r=this.getRowHeight(t)),r}function _r(e,t){t||this.recalculateAllRowsHeight()}function br(e){const t=e.reduce((e,t)=>{let[n]=t;return-1===e.indexOf(n)&&e.push(n),e},[]);ar(hr,this).push(...t)}function vr(){this.recalculateAllRowsHeight()}function wr(e){const t=e.reduce((e,t)=>{var n;const r=null===(n=t.address)||void 0===n?void 0:n.row;if(Number.isInteger(r)){const t=this.hot.toVisualRow(r);-1===e.indexOf(t)&&e.push(t)}return e},[]);ar(hr,this).push(...t)}var yr=n("bdd7"),Rr=n("1096"),Mr=n("a73f");const{getListWithInsertedItems:Sr,getListWithRemovedItems:Er}=Object(yr["a"])("physicallyIndexed");class Tr extends Rr["a"]{constructor(){super(e=>e)}insert(e,t){const n=Object(Mr["b"])(this.indexedValues,t);this.indexedValues=Sr(n,e,t,this.initValueOrFn),super.insert(e,t)}remove(e){const t=Er(this.indexedValues,e);this.indexedValues=Object(Mr["a"])(t,e),super.remove(e)}}var Cr=Tr;const{getListWithInsertedItems:Or,getListWithRemovedItems:xr}=Object(yr["a"])("physicallyIndexed");class Nr extends Rr["a"]{constructor(){super(e=>e)}insert(e,t){this.indexedValues=Or(this.indexedValues,e,t,(e,t)=>this.getNextValue(t)),super.insert(e,t)}remove(e){this.indexedValues=xr(this.indexedValues,e),super.remove(e)}getNextValue(e){return Math.max(...this.getValues())+1+e}}var Lr=Nr;function Ir(e,t){Pr(e,t),t.add(e)}function Pr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Dr(e,t,n){return(t=Fr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){var t=kr(e,"string");return"symbol"==typeof t?t:t+""}function kr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Br(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const Ur="bindRowsWithHeaders",Hr=210,jr="loose",Vr=new Map([["loose",Cr],["strict",Lr]]);var Wr=new WeakSet;class Yr extends $t["a"]{constructor(){super(...arguments),Ir(this,Wr),Dr(this,"headerIndexes",null)}static get PLUGIN_KEY(){return Ur}static get PLUGIN_PRIORITY(){return Hr}isEnabled(){return!!this.hot.getSettings()[Ur]}enablePlugin(){if(this.enabled)return;let e=this.hot.getSettings()[Ur];"string"!==typeof e&&(e=jr);const t=Vr.get(e);this.headerIndexes=this.hot.rowIndexMapper.registerMap("bindRowsWithHeaders",new t),this.addHook("modifyRowHeader",e=>Br(Wr,this,Qr).call(this,e)),super.enablePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap("bindRowsWithHeaders"),super.disablePlugin()}destroy(){super.destroy()}}function Qr(e){return this.headerIndexes.getValueAtIndex(this.hot.toPhysicalRow(e))}var Xr=n("bd5e");function Kr(e,t){Zr(e,t),t.add(e)}function Gr(e,t,n){Zr(e,t),t.set(e,n)}function Zr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zr(e,t,n){return(t=qr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qr(e){var t=Jr(e,"string");return"symbol"==typeof t?t:t+""}function Jr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function $r(e,t){return e.get(ti(e,t))}function ei(e,t,n){return e.set(ti(e,t),n),n}function ti(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const ni="collapsibleColumns",ri=290,ii=["nestedHeaders"],oi="collapsibleIndicator",si=ni,ai=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 $t["a"]{constructor(){super(...arguments),Kr(this,ci),zr(this,"nestedHeadersPlugin",null),zr(this,"headerStateManager",null),Gr(this,li,null)}static get PLUGIN_KEY(){return ni}static get PLUGIN_PRIORITY(){return ri}static get PLUGIN_DEPS(){return["plugin:NestedHeaders"]}static get SETTING_KEYS(){return[ni,...ii]}isEnabled(){return!!this.hot.getSettings()[ni]}enablePlugin(){var e=this;if(this.enabled)return;const{nestedHeaders:t}=this.hot.getSettings();t||Object(Xr["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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ti(ci,e,fi).call(e,...n)})),this.addHook("afterGetColHeader",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ti(ci,e,di).call(e,...n)})),this.addHook("beforeOnCellMouseDown",(e,t,n)=>ti(ci,this,hi).call(this,e,t,n)),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:n}=this.hot.getSelectedRangeLast().highlight,{collapsible:r,isCollapsed:i,columnIndex:o}=null!==(e=this.headerStateManager.getHeaderTreeNodeData(t,n))&&void 0!==e?e:{};if(r)return i?this.expandSection({row:t,col:o}):this.collapseSection({row:t,col:o}),!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:si,relativeToGroup:a["a"],position:"before"})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(si)}clearButtons(){if(!this.hot.view)return;const e=this.hot.view._wt.getSetting("columnHeaders").length,t=this.hot.view._wt.wtTable.THEAD,n=this.hot.view._wt.wtOverlays.topOverlay.clone.wtTable.THEAD,r=this.hot.view._wt.wtOverlays.topInlineStartCornerOverlay?this.hot.view._wt.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.THEAD:null,i=function(e){e&&e.parentNode.removeChild(e)};Object(nt["rangeEach"])(0,e-1,e=>{const o=t.childNodes[e],s=n.childNodes[e],a=r?r.childNodes[e]:null;Object(nt["rangeEach"])(0,o.childNodes.length-1,e=>{let t=o.childNodes[e].querySelector("."+oi);i(t),s&&s.childNodes[e]&&(t=s.childNodes[e].querySelector("."+oi),i(t)),r&&a&&a.childNodes[e]&&(t=a.childNodes[e].querySelector("."+oi),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:n,origColspan:r,headerLevel:i,columnIndex:o,isCollapsed:s}=t;if(!0===n&&r>1&&(s&&"expand"===e||!s&&"collapse"===e))return{row:this.headerStateManager.levelToRowCoords(i),col:o}});this.toggleCollapsibleSection(t,e)}collapseAll(){this.toggleAllCollapsibleSections("collapse")}expandAll(){this.toggleAllCollapsibleSections("expand")}toggleCollapsibleSection(e,t){if(!ai.has(t))throw new Error(`Unsupported action is passed (${t}).`);if(!Array.isArray(e))return;const n=Object(d["arrayFilter"])(e,e=>{let{row:t}=e;return t<0});let r=n.length>0;Object(d["arrayEach"])(n,e=>{var n;let{row:i,col:o}=e;const{collapsible:s,isCollapsed:a}=null!==(n=this.headerStateManager.getHeaderSettings(i,o))&&void 0!==n?n:{};if(!s||a&&"collapse"===t||!a&&"expand"===t)return r=!1,!1});const i=[],o=[];r&&Object(d["arrayEach"])(n,e=>{let{row:n,col:r}=e;const{colspanCompensation:s,affectedColumns:a,rollbackModification:l}=this.headerStateManager.triggerNodeModification(t,n,r);s>0&&(o.push(...a),i.push(l))});const s=this.getCollapsedColumns();let a=[];"collapse"===t?a=Object(d["arrayUnique"])([...s,...o]):"expand"===t&&(a=Object(d["arrayFilter"])(s,e=>!o.includes(e)));const l=ai.get(t),c=this.hot.runHooks(l.beforeHook,s,a,r);if(!1===c)return void Object(d["arrayEach"])(i,e=>{e()});this.hot.batchExecution(()=>{Object(d["arrayEach"])(o,e=>{$r(li,this).setValueAtIndex(this.hot.toPhysicalColumn(e),l.hideColumn)})},!0);const u=this.getCollapsedColumns().length!==s.length,h=this.hot.getSelectedRangeLast();if("collapse"===t&&u&&h){const{row:e,col:t}=h.highlight,n=this.hot.rowIndexMapper.isHidden(e)||this.hot.columnIndexMapper.isHidden(t);if(n&&o.includes(t)){const n=e>=0?this.hot.rowIndexMapper.getNearestNotHiddenIndex(e,1,!0):e,r=t>=0?this.hot.columnIndexMapper.getNearestNotHiddenIndex(t,1,!0):t;null!==n&&null!==r&&this.hot.selectCell(n,r)}}this.hot.runHooks(l.afterHook,s,a,r,u),this.hot.render(),this.hot.view.adjustElementsSize()}getCollapsedColumns(){return $r(li,this).getHiddenIndexes()}destroy(){ei(li,this,null),super.destroy()}}function di(e,t,n){var r;const{collapsible:o,origColspan:s,isCollapsed:a}=null!==(r=this.headerStateManager.getHeaderSettings(n,e))&&void 0!==r?r:{},l=o&&s>1&&e>=this.hot.getSettings().fixedColumnsStart,c=this.hot.getSettings().ariaTags;let u=t.querySelector("."+oi);var d;(Object(i["removeAttribute"])(t,[Object(g["k"])("")[0]]),l)?(u||(u=this.hot.rootDocument.createElement("div"),Object(i["addClass"])(u,oi),t.querySelector("div:first-child").appendChild(u)),Object(i["removeClass"])(u,["collapsed","expanded"]),a?(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,oi)&&(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(o["stopImmediatePropagation"])(e))}function pi(){this.updatePlugin()}function fi(e,t){t||this.updatePlugin()}var mi=n("97b9"),Ai=n("1b1a"),gi=n("9056");function _i(e,t,n){return(t=bi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bi(e){var t=vi(e,"string");return"symbol"==typeof t?t:t+""}function vi(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const wi=["sortEmptyCells","indicator","headerAction","compareFunctionFactory"],yi=!1,Ri=!0,Mi=!0;class Si{constructor(e,t){_i(this,"hot",void 0),_i(this,"sortingStates",new gi["a"]),_i(this,"sortEmptyCells",yi),_i(this,"indicator",Ri),_i(this,"headerAction",Mi),_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(s["isObject"])(e)&&Object(s["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[n]=t;return n===e})}getNumberOfSortedColumns(){return this.sortingStates.getLength()}isListOfSortedColumnsEmpty(){return 0===this.getNumberOfSortedColumns()}isColumnSorted(e){return Object(s["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,n]=e;return{column:this.hot.toVisualColumn(t),...n}})}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}}n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3");function Ei(e,t,n){const r=t.locale;return function(t,i){const{sortEmptyCells:o}=n;return"string"===typeof t&&(t=t.toLocaleLowerCase(r)),"string"===typeof i&&(i=i.toLocaleLowerCase(r)),t===i?Wi:Object(h["isEmpty"])(t)?Object(h["isEmpty"])(i)?Wi:o&&"asc"===e?Yi:Qi:Object(h["isEmpty"])(i)?o&&"asc"===e?Qi:Yi:isNaN(t)&&!isNaN(i)?"asc"===e?Qi:Yi:!isNaN(t)&&isNaN(i)?"asc"===e?Yi:Qi:(isNaN(t)||isNaN(i)||(t=parseFloat(t),i=parseFloat(i)),t<i?"asc"===e?Yi:Qi:t>i?"asc"===e?Qi:Yi:Wi)}}const Ti="default";function Ci(e,t,n){return function(t,r){const i=parseFloat(t),o=parseFloat(r),{sortEmptyCells:s}=n;if(i===o||isNaN(i)&&isNaN(o))return Wi;if(s){if(Object(h["isEmpty"])(t))return"asc"===e?Yi:Qi;if(Object(h["isEmpty"])(r))return"asc"===e?Qi:Yi}return isNaN(i)?Qi:isNaN(o)?Yi:i<o?"asc"===e?Yi:Qi:i>o?"asc"===e?Qi:Yi:Wi}}const Oi="numeric";function xi(e,t,n){const r=t.checkedTemplate,i=t.uncheckedTemplate,{sortEmptyCells:o}=n;return function(s,a){const l=Object(h["isEmpty"])(s),c=Object(h["isEmpty"])(a),u=l?i:s,d=c?i:a,p=u===i||u===r,f=d===i||d===r;if(!1===o){if(l&&!1===c)return Qi;if(!1===l&&c)return Yi}return!1===p&&f?"asc"===e?Yi:Qi:p&&!1===f?"asc"===e?Qi:Yi:!1===p&&!1===f?Ei(e,t,n)(s,a):u===i&&d===r?"asc"===e?Yi:Qi:u===r&&d===i?"asc"===e?Qi:Yi:Wi}}const Ni="checkbox";function Li(e,t,n){return no(e,t.dateFormat,n)}const Ii="date";function Pi(e,t,n){return no(e,t.timeFormat,n)}const Di="time";var Fi=n("9acd");const{register:ki,getItem:Bi,hasItem:Ui}=Object(Fi["a"])("sorting.compareFunctionFactory"),{register:Hi,getItem:ji}=Object(Fi["a"])("sorting.mainSortComparator");function Vi(e){return Ui(e)?Bi(e):Bi(Ti)}ki(Ni,xi),ki(Ii,Li),ki(Ti,Ei),ki(Oi,Ci),ki(Di,Pi);const Wi=0,Yi=-1,Qi=1;function Xi(e,t){const n=ji(t);for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];e.sort(n(...i))}const Ki="asc",Gi="desc",Zi="colHeader";function zi(e){if(!1===Object(s["isObject"])(e))return!1;const{column:t,sortOrder:n}=e;return Number.isInteger(t)&&[Ki,Gi].includes(n)}function qi(e){if(e.some(e=>!1===zi(e)))return!1;const t=e.map(e=>{let{column:t}=e;return t});return new Set(t).size===t.length}function Ji(e){if(e!==Gi)return e===Ki?Gi:Ki}function $i(e){const t=e.querySelector("."+Zi);return t}function eo(e,t){if(e<0||!t.parentNode)return!1;const n=t.parentNode.parentNode.childNodes,r=Array.from(n).indexOf(t.parentNode)-n.length;return-1===r}function to(e,t,n){return-1===e&&t>=0&&!1===Object(o["isRightClick"])(n)}function no(e,t,n){return function(r,i){const{sortEmptyCells:o}=n;if(r===i)return Wi;if(Object(h["isEmpty"])(r))return Object(h["isEmpty"])(i)?Wi:o&&"asc"===e?Yi:Qi;if(Object(h["isEmpty"])(i))return o&&"asc"===e?Qi:Yi;const s=N(r,t),a=N(i,t);return s.isValid()?a.isValid()?a.isAfter(s)?"asc"===e?Yi:Qi:a.isBefore(s)?"asc"===e?Qi:Yi:Wi:Yi:Qi}}const ro="ascending",io="descending",oo="indicatorDisabled",so="columnSorting",ao="sortAction",lo=new Map([[Ki,ro],[Gi,io]]);function co(e,t,n,r){const i=[so];if(r&&i.push(ao),!1===n)return i.push(oo),i;const o=e.getSortOrderOfColumn(t);return Object(h["isDefined"])(o)&&i.push(lo.get(o)),i}function uo(){return Array.from(lo.values()).concat(ao,oo,so)}function ho(e,t){return function(n,r){const[,...i]=n,[,...o]=r;return function(n){const r=e[n],s=t[n],a=i[n],l=o[n],c=s.columnSorting,u=c.compareFunctionFactory?c.compareFunctionFactory:Vi(s.type),d=u(r,s,c)(a,l);return d}(0)}}function po(e,t){fo(e,t),t.add(e)}function fo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function mo(e,t,n){return(t=Ao(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ao(e){var t=go(e,"string");return"symbol"==typeof t?t:t+""}function go(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _o(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const bo="columnSorting",vo=50,wo="append",yo="replace",Ro=bo;Hi(bo,ho),fe["a"].getSingleton().register("beforeColumnSort"),fe["a"].getSingleton().register("afterColumnSort");var Mo=new WeakSet;class So extends $t["a"]{constructor(){super(...arguments),po(this,Mo),mo(this,"columnStatesManager",null),mo(this,"columnMetaCache",null),mo(this,"pluginKey",bo),mo(this,"indexesSequenceCache",null)}static get PLUGIN_KEY(){return bo}static get PLUGIN_PRIORITY(){return vo}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 cn["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)=>_o(Mo,this,To).call(this,e,t)),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _o(Mo,e,Oo).call(e,...n)})),this.addHook("afterOnCellMouseDown",(e,t)=>this.onAfterOnCellMouseDown(e,t)),this.addHook("afterInit",()=>_o(Mo,this,Eo).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _o(Mo,e,Co).call(e,...n)})),this.hot.view&&_o(Mo,this,Eo).call(this),this.registerShortcuts(),super.enablePlugin())}disablePlugin(){const e=(e,t)=>{const n=$i(t);!1!==eo(e,t)&&null!==n&&this.updateHeaderClasses(n)};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 n=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return n&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())&&this.hot.selection.isCellVisible(n)&&-1===n.row&&n.col>=0},relativeToGroup:a["a"],position:"before",group:Ro})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Ro)}sort(e){const t=this.getSortConfig(),n=this.getNormalizedSortConfigs(e),r=this.areValidSortConfigs(n),i=this.hot.runHooks("beforeColumnSort",t,n,r);!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())),r&&(this.columnStatesManager.setSortStates(n),this.sortByPresetSortStates(n),this.saveAllSortSettings(n)),this.hot.runHooks("afterColumnSort",t,r?n:t,r),r&&(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 qi(e)&&e.every(e=>{let{column:n}=e;return n<=t&&n>=0})}saveAllSortSettings(e){const t=this.columnStatesManager.getAllColumnsProperties(),n=e=>{let{column:t,...n}=e;return{column:this.hot.toPhysicalColumn(t),...n}};t.initialConfig=Object(d["arrayMap"])(e,n),this.hot.runHooks("persistentStateSave","columnSorting",t)}getAllSavedSortSettings(){const e={};this.hot.runHooks("persistentStateLoad","columnSorting",e);const t=e.value,n=e=>{let{column:t,...n}=e;return{column:this.hot.toVisualColumn(t),...n}};return Object(h["isDefined"])(t)&&Array.isArray(t.initialConfig)&&(t.initialConfig=Object(d["arrayMap"])(t.initialConfig,n)),t}getColumnNextConfig(e){const t=this.columnStatesManager.getSortOrderOfColumn(e);if(Object(h["isDefined"])(t)){const n=Ji(t);return Object(h["isDefined"])(n)?{column:e,sortOrder:n}:void 0}const n=this.hot.countCols();if(Number.isInteger(e)&&e>=0&&e<n)return{column:e,sortOrder:Ji()}}getNextSortConfig(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wo;const n=this.columnStatesManager.getIndexOfColumnInSortQueue(e),r=-1!==n,i=this.getSortConfig(),o=this.getColumnNextConfig(e);if(r){if(Object(h["isUndefined"])(o))return[...i.slice(0,n),...i.slice(n+1)];if(t===wo)return[...i.slice(0,n),...i.slice(n+1),o];if(t===yo)return[...i.slice(0,n),o,...i.slice(n+1)]}return Object(h["isDefined"])(o)?i.concat(o):i}getPluginColumnConfig(e){if(Object(s["isObject"])(e)){const t=e[this.pluginKey];if(Object(s["isObject"])(t))return t}return{}}getMergedPluginSettings(e){const t=this.hot.getSettings()[this.pluginKey],n=this.columnStatesManager.getAllColumnsProperties(),r=this.hot.getCellMeta(0,e),i=Object.getPrototypeOf(r);return Array.isArray(i.columns)?Object.assign(n,t,this.getPluginColumnConfig(i.columns[e])):Object(mi["isFunction"])(i.columns)?Object.assign(n,t,this.getPluginColumnConfig(i.columns(e))):Object.assign(n,t)}getFirstCellSettings(e){const t=this.hot.getCellMeta(0,e),n=Object.create(t);return n[this.pluginKey]=this.columnMetaCache.getValueAtIndex(this.hot.toPhysicalColumn(e)),n}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=[],n=this.hot.countRows(),r=t=>Object(d["arrayMap"])(e,e=>this.hot.getDataAtCell(t,e.column));for(let l=0;l<this.getNumberOfRowsToSort(n);l+=1)t.push([this.hot.toPhysicalRow(l)].concat(r(l)));const i=Object(d["arrayMap"])(t,e=>e[0]);Xi(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<n;l+=1)t.push([l].concat(r(l)));const o=Object(d["arrayMap"])(t,e=>e[0]),s=new Map(Object(d["arrayMap"])(i,(e,t)=>[e,o[t]])),a=Object(d["arrayMap"])(this.hot.rowIndexMapper.getIndexesSequence(),e=>s.has(e)?s.get(e):e);this.hot.rowIndexMapper.setIndexesSequence(a)}sortBySettings(e){if(Object(s["isObject"])(e)){this.columnStatesManager.updateAllColumnsProperties(e);const t=e.initialConfig;(Array.isArray(t)||Object(s["isObject"])(t))&&this.sort(t)}else this.hot.render()}updateHeaderClasses(e){if(Object(i["removeClass"])(e,uo(e)),!1!==this.enabled){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];Object(i["addClass"])(e,co(...n))}}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 n=this.getFirstCellSettings(t)[this.pluginKey],r=n.headerAction;return r&&Object(i["hasClass"])(e.target,Zi)}onAfterOnCellMouseDown(e,t){if(!1!==to(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(),n=this.getColumnNextConfig(t.col);null!==e&&void 0!==e&&e.isOpened()&&this.hot.getCellValidator(e.row,e.col)?this.hot.addHookOnce("postAfterValidate",()=>{this.sort(n)}):this.sort(n)}}destroy(){var e;null===(e=this.columnStatesManager)||void 0===e||e.destroy(),super.destroy()}}function Eo(){const e=this.getAllSavedSortSettings();if(Object(s["isObject"])(e))this.sortBySettings(e);else{const e=this.hot.getSettings()[this.pluginKey];this.sortBySettings(e)}}function To(e,t){const n=$i(t);if(!1===eo(e,t)||null===n)return;const r=this.getFirstCellSettings(e)[this.pluginKey],o=r.indicator,s=r.headerAction;if(this.updateHeaderClasses(n,this.columnStatesManager,e,o,s),this.hot.getSettings().ariaTags){const n=this.columnStatesManager.getSortOrderOfColumn(e);Object(i["setAttribute"])(t,...Object(g["K"])(n?n+"ending":"none"))}}function Co(e){!0===e&&this.hot.view&&_o(Mo,this,Eo).call(this)}function Oo(e,t,n,r){!1!==to(t.row,t.col,e)&&this.wasClickableHeaderClicked(e,t.col)&&this.hot.getShortcutManager().isCtrlPressed()&&(r.column=!0)}function xo(e,t,n){return(t=No(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function No(e){var t=Lo(e,"string");return"symbol"==typeof t?t:t+""}function Lo(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Io{constructor(e,t){xo(this,"plugin",void 0),xo(this,"hot",void 0),xo(this,"endpoints",[]),xo(this,"settings",void 0),xo(this,"settingsType","array"),xo(this,"currentEndpoint",null),xo(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 n=e;if(n||"function"!==typeof this.settings)return n||(n=this.settings),Object(d["arrayEach"])(n,e=>{const n={};this.assignSetting(e,n,"ranges",[[0,this.hot.countRows()-1]]),this.assignSetting(e,n,"reversedRowCoords",!1),this.assignSetting(e,n,"destinationRow",new Error("\n You must provide a destination row for the Column Summary plugin in order to work properly!\n ")),this.assignSetting(e,n,"destinationColumn",new Error("\n You must provide a destination column for the Column Summary plugin in order to work properly!\n ")),this.assignSetting(e,n,"sourceColumn",e.destinationColumn),this.assignSetting(e,n,"type","sum"),this.assignSetting(e,n,"forceNumeric",!1),this.assignSetting(e,n,"suppressDataTypeErrors",!0),this.assignSetting(e,n,"customFunction",null),this.assignSetting(e,n,"readOnly",!0),this.assignSetting(e,n,"roundFloat",!1),t.push(n)}),t;this.settingsType="function"}assignSetting(e,t,n,r){if("ranges"!==n||void 0!==e[n]){if("ranges"!==n||0!==e[n].length)if(void 0===e[n]){if(r instanceof Error)throw r;t[n]=r}else"destinationRow"===n&&t.reversedRowCoords?t[n]=this.hot.countRows()-e[n]-1:t[n]=e[n]}else t[n]=r}resetSetupBeforeStructureAlteration(e,t,n){if("function"!==this.settingsType)return;const r=e.indexOf("row")>-1?"row":"col",i=this.getAllEndpoints();Object(d["arrayEach"])(i,i=>{"row"===r&&i.destinationRow>=t&&("insert_row"===e?i.alterRowOffset=n:"remove_row"===e&&(i.alterRowOffset=-1*n)),"col"===r&&i.destinationColumn>=t&&("insert_col"===e?i.alterColumnOffset=n:"remove_col"===e&&(i.alterColumnOffset=-1*n))}),this.resetAllEndpoints(i,!1)}resetSetupAfterStructureAlteration(e,t,n,r,i){let o=!(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 s=e.indexOf("row")>-1?"row":"col",a=e.indexOf("remove")>-1?-1:1,l=this.getAllEndpoints(),c=0===e.indexOf("move_row"),u=t;Object(d["arrayEach"])(l,e=>{"row"===s&&e.destinationRow>=u&&(e.alterRowOffset=a*n),"col"===s&&e.destinationColumn>=u&&(e.alterColumnOffset=a*n)}),this.resetAllEndpoints(l,!c),c?Object(d["arrayEach"])(l,e=>{this.extendEndpointRanges(e,u,r[0],r.length),this.recreatePhysicalRanges(e),this.clearOffsetInformation(e)}):Object(d["arrayEach"])(l,e=>{this.shiftEndpointCoordinates(e,u)}),o&&this.refreshAllEndpoints()}clearOffsetInformation(e){e.alterRowOffset=void 0,e.alterColumnOffset=void 0}extendEndpointRanges(e,t,n,r){Object(d["arrayEach"])(e.ranges,e=>{e[1]&&(t>=e[0]&&t<=e[1]?n>e[1]?e[1]+=r:n<e[0]&&(e[0]-=r):n>=e[0]&&n<=e[1]&&(e[1]-=r,t<=e[0]&&(e[0]+=1,e[1]+=1)))})}recreatePhysicalRanges(e){const t=e.ranges,n=[],r=[];Object(d["arrayEach"])(t,e=>{const t=[];if(e[1])for(let n=e[0];n<=e[1];n++)t.push(this.hot.toPhysicalRow(n));else t.push(this.hot.toPhysicalRow(e[0]));r.push(t)}),Object(d["arrayEach"])(r,e=>{let t=[];Object(d["arrayEach"])(e,(r,i)=>{0===i?t.push(r):e[i]!==e[i-1]+1&&(t.push(e[i-1]),n.push(t),t=[],t.push(r)),i===e.length-1&&(t.push(r),n.push(t))})}),e.ranges=n}shiftEndpointCoordinates(e,t){e.alterRowOffset&&0!==e.alterRowOffset?(e.destinationRow+=e.alterRowOffset||0,Object(d["arrayEach"])(e.ranges,n=>{Object(d["arrayEach"])(n,(r,i)=>{r>=t&&(n[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 n=e.some(e=>{const t=e.alterRowOffset||0,n=e.alterColumnOffset||0;return e.destinationRow+t>=this.hot.countRows()||e.destinationColumn+n>=this.hot.countCols()});n||(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,n,r)=>{""+(e[2]||"")!==""+e[3]&&Object(d["arrayEach"])(this.getAllEndpoints(),(e,i)=>{this.hot.propToCol(r[n][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 n=this.hot.getCellMeta(t,e.destinationColumn);n.readOnly=e.readOnly,n.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 n=e.alterRowOffset||0,r=e.alterColumnOffset||0;this.cellsToSetCache.push([this.hot.toVisualRow(e.destinationRow+(t?n:0)),this.hot.toVisualColumn(e.destinationColumn+(t?r:0)),""])}setEndpointValue(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=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 n=this.hot.getCellMeta(i,e.destinationColumn);"init"!==t&&n.readOnly===e.readOnly||(n.readOnly=e.readOnly,n.className="columnSummaryResult")}if((!0===e.roundFloat||Number.isInteger(e.roundFloat))&&!isNaN(e.result)){const t=e.roundFloat;let n=0;Number.isInteger(t)&&(n=Math.min(Math.max(0,t),100)),e.result=e.result.toFixed(n)}n?this.hot.setDataAtCell(r,e.destinationColumn,e.result,"ColumnSummary.set"):this.cellsToSetCache.push([r,e.destinationColumn,e.result]),e.alterRowOffset=void 0,e.alterColumnOffset=void 0}throwOutOfBoundsWarning(){Object(Xr["b"])("One of the Column Summary plugins' destination points you provided is beyond the table boundaries!")}}var Po=Io,Do=n("67a8");function Fo(e){return null===e||void 0===e||isNaN(e)}function ko(e,t){Bo(e,t),t.add(e)}function Bo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Uo(e,t,n){return(t=Ho(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){var t=jo(e,"string");return"symbol"==typeof t?t:t+""}function jo(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Vo(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const Wo="columnSummary",Yo=220;var Qo=new WeakSet;class Xo extends $t["a"]{constructor(){super(...arguments),ko(this,Qo),Uo(this,"endpoints",null)}static get PLUGIN_KEY(){return Wo}static get PLUGIN_PRIORITY(){return Yo}isEnabled(){return!!this.hot.getSettings()[Wo]}enablePlugin(){var e=this;this.enabled||(this.settings=this.hot.getSettings()[Wo],this.endpoints=new Po(this,this.settings),this.addHook("afterInit",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vo(Qo,e,Ko).call(e,...n)})),this.addHook("afterChange",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vo(Qo,e,Zo).call(e,...n)})),this.addHook("afterUpdateSettings",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vo(Qo,e,Go).call(e,...n)})),this.addHook("beforeCreateRow",(e,t,n)=>this.endpoints.resetSetupBeforeStructureAlteration("insert_row",e,t,null,n)),this.addHook("beforeCreateCol",(e,t,n)=>this.endpoints.resetSetupBeforeStructureAlteration("insert_col",e,t,null,n)),this.addHook("beforeRemoveRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.endpoints.resetSetupBeforeStructureAlteration("remove_row",...n)})),this.addHook("beforeRemoveCol",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.endpoints.resetSetupBeforeStructureAlteration("remove_col",...n)})),this.addHook("afterCreateRow",(e,t,n)=>this.endpoints.resetSetupAfterStructureAlteration("insert_row",e,t,null,n)),this.addHook("afterCreateCol",(e,t,n)=>this.endpoints.resetSetupAfterStructureAlteration("insert_col",e,t,null,n)),this.addHook("afterRemoveRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.endpoints.resetSetupAfterStructureAlteration("remove_row",...n)})),this.addHook("afterRemoveCol",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.endpoints.resetSetupAfterStructureAlteration("remove_col",...n)})),this.addHook("afterRowMove",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vo(Qo,e,zo).call(e,...n)})),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(s["objectEach"])(e.ranges,n=>{t+=this.getPartialSum(n,e.sourceColumn)}),t}getPartialSum(e,t){let n=0,r=e[1]||e[0],i=null,o=0;do{if(i=this.getCellValue(r,t),i=Fo(i)?null:i,null!==i){const e=((""+i).split(".")[1]||[]).length||1;e>o&&(o=e)}n+=i||0,r-=1}while(r>=e[0]);return Math.round(n*10**o)/10**o}calculateMinMax(e,t){let n=null;return Object(s["objectEach"])(e.ranges,r=>{const i=this.getPartialMinMax(r,e.sourceColumn,t);if(null===n&&null!==i&&(n=i),null!==i)switch(t){case"min":n=Math.min(n,i);break;case"max":n=Math.max(n,i);break;default:break}}),null===n?"Not enough data":n}getPartialMinMax(e,t,n){let r,i=null,o=e[1]||e[0];do{if(r=this.getCellValue(o,t),r=Fo(r)?null:r,null===i)i=r;else if(null!==r)switch(n){case"min":i=Math.min(i,r);break;case"max":i=Math.max(i,r);break;default:break}o-=1}while(o>=e[0]);return i}countEmpty(e,t){let n,r=0,i=e[1]||e[0];do{n=this.getCellValue(i,t),n=Fo(n)?null:n,null===n&&(r+=1),i-=1}while(i>=e[0]);return r}countEntries(e){let t=0;const n=e.ranges;return Object(s["objectEach"])(n,n=>{const r=void 0===n[1]?1:n[1]-n[0]+1,i=this.countEmpty(n,e.sourceColumn);t+=r,t-=i}),t}calculateAverage(e){const t=this.calculateSum(e),n=this.countEntries(e);return t/n}getCellValue(e,t){const n=this.hot.toVisualRow(e),r=this.hot.toVisualColumn(t);let i=this.hot.getSourceDataAtCell(e,t),o="";if(null!==n&&null!==r&&(o=this.hot.getCellMeta(n,r).className||""),o.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(Do["a"]`ColumnSummary plugin: cell at (${e}, ${t}) is not in a\x20
  486. numeric format. Cannot do the calculation.`);return i}}function Ko(){this.endpoints.initEndpoints()}function Go(e){void 0!==e.columns&&this.endpoints.refreshCellMetas()}function Zo(e,t){e&&"ColumnSummary.reset"!==t&&"ColumnSummary.set"!==t&&"loadData"!==t&&this.endpoints.refreshChangedEndpoints(e)}function zo(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 qo=n("7ae0");function Jo(e,t){es(e,t),t.add(e)}function $o(e,t,n){es(e,t),t.set(e,n)}function es(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ts(e,t){return e.get(rs(e,t))}function ns(e,t,n){return e.set(rs(e,t),n),n}function rs(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var is=new WeakMap,os=new WeakMap,ss=new WeakMap,as=new WeakSet;class ls{constructor(){Jo(this,as),$o(this,is,!0),$o(this,os,null),$o(this,ss,new ResizeObserver(e=>rs(as,this,cs).call(this,e)))}setObservedElement(e){ns(os,this,e)}unobserve(){ts(ss,this).unobserve(ts(os,this))}observe(){ns(is,this,!0),ts(ss,this).observe(ts(os,this))}destroy(){ts(ss,this).disconnect()}}function cs(e){!ts(is,this)&&Array.isArray(e)&&e.length?e.forEach(e=>{let{borderBoxSize:t}=e;const{inlineSize:n,blockSize:r}=t[0];this.runLocalHooks("resize",n,r)}):ns(is,this,!1)}function us(e,t,n){ds(e,t),t.set(e,n)}function ds(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hs(e,t){return e.get(fs(e,t))}function ps(e,t,n){return e.set(fs(e,t),n),n}function fs(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}Object(s["mixin"])(ls,qo["a"]);var ms=new WeakMap,As=new WeakMap,gs=new WeakMap,_s=new WeakMap,bs=new WeakMap,vs=new WeakMap,ws=new WeakMap;class ys{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 n=this;us(this,ms,void 0),us(this,As,!1),us(this,gs,null),us(this,_s,void 0),us(this,bs,void 0),us(this,vs,!0),us(this,ws,new ls),ps(ms,this,e),ps(As,this,t),ps(_s,this,this.createEditor()),ps(bs,this,hs(_s,this).style),hs(ws,this).setObservedElement(this.getInputElement()),hs(ws,this).addLocalHook("resize",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("resize",...t)})),this.hide()}setPosition(e,t){hs(bs,this).left=e+"px",hs(bs,this).top=t+"px"}setSize(e,t){if(e&&t){const n=this.getInputElement();n.style.width=e+"px",n.style.height=t+"px"}}getSize(){return{width:Object(i["outerWidth"])(this.getInputElement()),height:Object(i["outerHeight"])(this.getInputElement())}}observeSize(){hs(ws,this).observe()}resetSize(){const e=this.getInputElement();e.style.width="",e.style.height=""}setReadOnlyState(e){const t=this.getInputElement();t.readOnly=e}show(){hs(bs,this).display="block",ps(vs,this,!1)}hide(){hs(ws,this).unobserve(),hs(vs,this)||(hs(bs,this).display="none"),ps(vs,this,!0)}isVisible(){return"block"===hs(bs,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 hs(ms,this).activeElement===this.getInputElement()}focus(){this.getInputElement().focus()}createEditor(){const e=hs(ms,this).createElement("div"),t=hs(ms,this).createElement("textarea");return e.style.display="none",ps(gs,this,hs(ms,this).createElement("div")),hs(gs,this).setAttribute("dir",hs(As,this)?"rtl":"ltr"),Object(i["addClass"])(hs(gs,this),ys.CLASS_EDITOR_CONTAINER),hs(ms,this).body.appendChild(hs(gs,this)),Object(i["addClass"])(e,ys.CLASS_EDITOR),Object(i["addClass"])(t,ys.CLASS_INPUT),t.setAttribute("data-hot-input",!0),e.appendChild(t),hs(gs,this).appendChild(e),e}getInputElement(){return hs(_s,this).querySelector("."+ys.CLASS_INPUT)}destroy(){const e=hs(gs,this)?hs(gs,this).parentNode:null;hs(_s,this).parentNode.removeChild(hs(_s,this)),ps(_s,this,null),ps(bs,this,null),hs(ws,this).destroy(),e&&e.removeChild(hs(gs,this))}}Object(s["mixin"])(ys,qo["a"]);var Rs=ys;function Ms(e,t,n){return(t=Ss(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ss(e){var t=Es(e,"string");return"symbol"==typeof t?t:t+""}function Es(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const Ts=250,Cs=250;class Os{constructor(e){Ms(this,"wasLastActionShow",!0),Ms(this,"showDebounced",null),Ms(this,"hidingTimer",null),this.updateDelay(e)}hide(){this.wasLastActionShow=!1,this.hidingTimer=setTimeout(()=>{!1===this.wasLastActionShow&&this.runLocalHooks("hide")},Cs)}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]:Ts;this.showDebounced=Object(mi["debounce"])(e=>{this.wasLastActionShow&&this.runLocalHooks("show",e.from.row,e.from.col)},e)}destroy(){this.clearLocalHooks()}}Object(s["mixin"])(Os,qo["a"]);var xs=Os;const Ns="---------";function Ls(){return{name:Ns}}function Is(e){return{key:"commentsAddEdit",name(){var t;const n=null===(t=this.getSelectedRangeLast())||void 0===t?void 0:t.highlight;return null!==n&&void 0!==n&&n.isCell()&&e.getCommentAtCell(n.row,n.col)?this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_EDIT_COMMENT"]):this.getTranslatedPhrase(ke["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 Ps(e){return{key:"commentsRemove",name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_REMOVE_COMMENT"])},callback(){const t=this.getSelectedRangeLast();t.forAll((t,n)=>{t>=0&&n>=0&&e.removeCommentAtCell(t,n,!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 Ds(e,t){if(-1!==e.indexOf(t))return e;const n=e.replace("htTop","").replace("htMiddle","").replace("htBottom","").replace(" ","");return`${n} ${t}`}function Fs(e,t){if(-1!==e.indexOf(t))return e;const n=e.replace("htLeft","").replace("htCenter","").replace("htRight","").replace("htJustify","").replace(" ","");return`${n} ${t}`}function ks(e,t){const n={};return Object(d["arrayEach"])(e,e=>{e.forAll((e,r)=>{e>=0&&r>=0&&(n[e]||(n[e]=[]),n[e][r]=t(e,r))})}),n}function Bs(e,t,n,r,i){Object(d["arrayEach"])(e,e=>{e.forAll((e,o)=>{e>=0&&o>=0&&Us(e,o,t,n,r,i)})})}function Us(e,t,n,r,i,o){const s=i(e,t);let a=r;s.className&&(a="vertical"===n?Ds(s.className,r):Fs(s.className,r)),o(e,t,"className",a)}function Hs(e){return`<span class="selected">${String.fromCharCode(10003)}</span>${e}`}function js(e,t){let n=!1;return Array.isArray(e)&&Object(d["arrayEach"])(e,e=>(e.forAll((e,r)=>{if(e>=0&&r>=0&&t(e,r))return n=!0,!1}),n)),n}function Vs(e,t){const n={top:0,left:0};if(t!==e.ownerDocument){const{frameElement:e}=t.defaultView,{top:r,left:i}=e.getBoundingClientRect();n.top=r,n.left=i}return n}function Ws(e){return function(t,n){const r=this.getCellMeta(t,n).className;return r&&-1!==r.indexOf(e)}}function Ys(e,t){return js(e.getSelectedRange(),Ws(t).bind(e))}function Qs(e){return{key:"commentsReadOnly",name(){const t=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_READ_ONLY_COMMENT"]),n=js(this.getSelectedRange(),(t,n)=>e.getCommentMeta(t,n,sa));return n?Hs(t):t},callback(){const t=this.getSelectedRangeLast();t.forAll((t,n)=>{if(t>=0&&n>=0){const r=!!e.getCommentMeta(t,n,sa);e.updateCommentMeta(t,n,{[sa]:!r})}})},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 Xs(e,t){Gs(e,t),t.add(e)}function Ks(e,t,n){Gs(e,t),t.set(e,n)}function Gs(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zs(e,t,n){return(t=zs(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zs(e){var t=qs(e,"string");return"symbol"==typeof t?t:t+""}function qs(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Js(e,t,n){return e.set(ea(e,t),n),n}function $s(e,t){return e.get(ea(e,t))}function ea(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const ta="comments",na=60,ra="comment",ia="value",oa="style",sa="readOnly",aa=ta,la="plugin:"+ta;var ca=new WeakMap,ua=new WeakMap,da=new WeakMap,ha=new WeakMap,pa=new WeakMap,fa=new WeakMap,ma=new WeakSet;class Aa extends $t["a"]{constructor(){super(...arguments),Xs(this,ma),Zs(this,"range",{}),Ks(this,ca,null),Ks(this,ua,null),Ks(this,da,!1),Ks(this,ha,!1),Ks(this,pa,null),Ks(this,fa,"")}static get PLUGIN_KEY(){return ta}static get PLUGIN_PRIORITY(){return na}isEnabled(){return!!this.hot.getSettings()[ta]}enablePlugin(){var e=this;this.enabled||($s(ca,this)||(Js(ca,this,new Rs(this.hot.rootDocument,this.hot.isRtl())),$s(ca,this).addLocalHook("resize",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ea(ma,e,Ra).call(e,...n)}))),$s(ua,this)||Js(ua,this,new xs(this.getDisplayDelaySetting())),this.addHook("afterContextMenuDefaultOptions",e=>this.addToContextMenu(e)),this.addHook("afterRenderer",(e,t,n,r,i,o)=>ea(ma,this,va).call(this,e,o)),this.addHook("afterScroll",()=>ea(ma,this,Sa).call(this)),this.addHook("afterBeginEditing",()=>this.hide()),this.addHook("afterDocumentKeyDown",e=>ea(ma,this,Ma).call(this,e)),$s(ua,this).addLocalHook("hide",()=>this.hide()),$s(ua,this).addLocalHook("show",(e,t)=>this.showAtCell(e,t)),this.registerShortcuts(),this.registerListeners(),super.enablePlugin())}updatePlugin(){$s(ua,this).updateDelay(this.getDisplayDelaySetting()),super.updatePlugin()}disablePlugin(){this.unregisterShortcuts(),super.disablePlugin()}registerShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid"),n=e.addContext(la);t.addShortcut({keys:[["Control","Alt","M"]],callback:()=>{const t=this.hot.getSelectedRangeLast();Js(ha,this,!0),this.hot.scrollToFocusedCell(()=>{this.setRange(t),this.show(),this.focusEditor(),e.setActiveContextName(la),this.hot._registerTimeout(()=>{Js(ha,this,!1)})})},stopPropagation:!0,runOnlyIf:()=>{var e;return(null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight.isCell())&&!$s(ca,this).isVisible()},group:aa}),n.addShortcut({keys:[["Escape"]],callback:()=>{$s(ca,this).setValue($s(fa,this)),this.hide(),e.setActiveContextName("grid")},runOnlyIf:()=>$s(ca,this).isVisible()&&$s(ca,this).isFocused(),group:aa}),n.addShortcut({keys:[["Control/Meta","Enter"]],callback:()=>{this.hide(),e.setActiveContextName("grid")},runOnlyIf:()=>$s(ca,this).isVisible()&&$s(ca,this).isFocused(),group:aa})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(aa)}registerListeners(){const{rootDocument:e}=this.hot,t=this.getEditorInputElement();this.eventManager.addEventListener(e,"mouseover",e=>ea(ma,this,_a).call(this,e)),this.eventManager.addEventListener(e,"mousedown",e=>ea(ma,this,ga).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>ea(ma,this,ba).call(this)),this.eventManager.addEventListener(t,"focus",()=>ea(ma,this,ya).call(this)),this.eventManager.addEventListener(t,"blur",()=>ea(ma,this,wa).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=$s(ca,this).getValue();let n="";null!==e&&void 0!==e?n=e:null!==t&&void 0!==t&&(n=t);const r=this.range.from.row,i=this.range.from.col;this.updateCommentMeta(r,i,{[ia]:n}),this.hot.render()}setCommentAtCell(e,t,n){this.setRange({from:this.hot._createCellCoords(e,t)}),this.setComment(n)}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,ra),e&&this.hot.render(),this.hide()}removeCommentAtCell(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.setRange({from:this.hot._createCellCoords(e,t)}),this.removeComment(n)}getComment(){const e=this.range.from.row,t=this.range.from.col;return this.getCommentMeta(e,t,ia)}getCommentAtCell(e,t){return this.getCommentMeta(e,t,ia)}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:n}}=this.range;if(t<0||t>this.hot.countSourceRows()-1||n<0||n>this.hot.countSourceCols()-1)return!1;const r=this.hot.getCellMeta(this.range.from.row,this.range.from.col);return $s(ua,this).cancelHiding(),$s(ca,this).setValue(null!==(e=r[ra]?r[ra][ia]:null)&&void 0!==e?e:""),$s(ca,this).show(),this.refreshEditor(!0),!0}showAtCell(e,t){return this.setRange({from:this.hot._createCellCoords(e,t)}),this.show()}hide(){$s(ca,this).hide()}refreshEditor(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!n&&(!this.range.from||!$s(ca,this).isVisible()))return;const{rowIndexMapper:r,columnIndexMapper:o}=this.hot,{row:s,col:a}=this.range.from;let l=r.getRenderableFromVisualIndex(s),c=o.getRenderableFromVisualIndex(a);const u=null===l;$s(ca,this).setPosition(0,0),null===l&&(l=r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,-1))),null===c&&(c=o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(a,-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(s,a,oa);g?$s(ca,this).setSize(g.width,g.height):$s(ca,this).resetSize();const _=h?0:m.getStretchedColumnWidth(c),b=u&&!d?Object(i["outerHeight"])(A):0,{left:v,top:w,width:y,height:R}=A.getBoundingClientRect(),{width:M,height:S}=$s(ca,this).getSize(),{innerWidth:E,innerHeight:T}=this.hot.rootWindow,C=this.hot.rootDocument.documentElement;let O=v+p.scrollX+_,x=w+p.scrollY+b;this.hot.isRtl()&&(O-=M+_),this.hot.isLtr()&&v+y+M>E?O=v+p.scrollX-M-1:this.hot.isRtl()&&O<-(C.scrollWidth-C.clientWidth)&&(O=v+p.scrollX+_+1),w+S>T&&(x-=S-R+1),$s(ca,this).setPosition(O,x),$s(ca,this).setReadOnlyState(this.getCommentMeta(s,a,sa)),$s(ca,this).observeSize()}focusEditor(){$s(ca,this).focus()}updateCommentMeta(e,t,n){const r=this.hot.getCellMeta(e,t)[ra];let i;r?(i=Object(s["deepClone"])(r),Object(s["deepExtend"])(i,n)):i=n,this.hot.setCellMeta(e,t,ra,i)}getCommentMeta(e,t,n){const r=this.hot.getCellMeta(e,t);if(r[ra])return r[ra][n]}addToContextMenu(e){e.items.push({name:Ns},Is(this),Ps(this),Qs(this))}getDisplayDelaySetting(){const e=this.hot.getSettings()[ta];if(Object(s["isObject"])(e))return e.displayDelay}getEditorInputElement(){return $s(ca,this).getInputElement()}destroy(){var e,t;null===(e=$s(ca,this))||void 0===e||e.destroy(),null===(t=$s(ua,this))||void 0===t||t.destroy(),super.destroy()}}function ga(e){if(this.hot.view&&this.hot.view._wt&&!$s(da,this)&&!this.targetIsCommentTextArea(e)){const t=Object(i["closest"])(e.target,"TD","TBODY");let n=null;t&&(n=this.hot.getCoords(t)),(!t||this.range.from&&n&&(this.range.from.row!==n.row||this.range.from.col!==n.col))&&this.hide()}}function _a(e){const{rootDocument:t}=this.hot;if(!($s(da,this)||$s(ca,this).isFocused()||Object(i["hasClass"])(e.target,"wtBorder")||$s(pa,this)===e.target)&&$s(ca,this))if(Js(pa,this,t.elementFromPoint(e.clientX,e.clientY)),this.targetIsCellWithComment(e)){const t=this.hot._createCellRange(this.hot.getCoords(e.target));$s(ua,this).show(t)}else Object(i["isChildOf"])(e.target,t)&&!this.targetIsCommentTextArea(e)&&$s(ua,this).hide()}function ba(){Js(da,this,!1)}function va(e,t){t[ra]&&t[ra][ia]&&Object(i["addClass"])(e,t.commentedCellClassName)}function wa(){Js(fa,this,""),this.hot.getShortcutManager().setActiveContextName("grid"),this.setComment()}function ya(){Js(fa,this,this.getComment()),this.hot.listen(),this.hot.getShortcutManager().setActiveContextName(la)}function Ra(e,t){this.updateCommentMeta(this.range.from.row,this.range.from.col,{[oa]:{width:e,height:t}})}function Ma(e){$s(ca,this).isVisible()&&Object(o["stopImmediatePropagation"])(e)}function Sa(){$s(ha,this)||this.hide()}n("3c65");function Ea(e,t,n){return(t=Ta(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){var t=Ca(e,"string");return"symbol"==typeof t?t:t+""}function Ca(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Oa{constructor(e){Ea(this,"hot",void 0),Ea(this,"commands",{}),Ea(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,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=e.split(":"),o=i[0],a=2===i.length?i[1]:null;let l=this.commands[o];if(!l)throw new Error(`Menu command '${o}' not exists.`);if(a&&l.submenu&&(l=xa(a,l.submenu.items)),!0===l.disabled)return;if("function"===typeof l.disabled&&!0===l.disabled.call(this.hot))return;if(Object(s["hasOwnProperty"])(l,"submenu"))return;const c=[];"function"===typeof l.callback&&c.push(l.callback),"function"===typeof this.commonCallback&&c.push(this.commonCallback),n.unshift(i.join(":")),Object(d["arrayEach"])(c,e=>e.apply(this.hot,n))}}function xa(e,t){let n;return Object(d["arrayEach"])(t,t=>{const r=t.key?t.key.split(":"):null;if(Array.isArray(r)&&r[1]===e)return n=t,!1}),n}const Na="alignment";function La(){return{key:Na,name(){return this.getTranslatedPhrase(ke["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:Na+":left",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"])},ariaChecked(){return Ys(this,"htLeft")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"]);return Ys(this,"htLeft")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="horizontal",r="htLeft";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1},{key:Na+":center",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"])},ariaChecked(){return Ys(this,"htCenter")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"]);return Ys(this,"htCenter")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="horizontal",r="htCenter";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1},{key:Na+":right",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"])},ariaChecked(){return Ys(this,"htRight")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"]);return Ys(this,"htRight")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="horizontal",r="htRight";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1},{key:Na+":justify",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"])},ariaChecked(){return Ys(this,"htJustify")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"]);return Ys(this,"htJustify")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="horizontal",r="htJustify";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1},{name:Ns},{key:Na+":top",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"])},ariaChecked(){return Ys(this,"htTop")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"]);return Ys(this,"htTop")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="vertical",r="htTop";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1},{key:Na+":middle",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"])},ariaChecked(){return Ys(this,"htMiddle")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"]);return Ys(this,"htMiddle")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="vertical",r="htMiddle";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1},{key:Na+":bottom",checkable:!0,ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"])},ariaChecked(){return Ys(this,"htBottom")},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"]);return Ys(this,"htBottom")&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=ks(e,(e,t)=>this.getCellMeta(e,t).className),n="vertical",r="htBottom";this.runHooks("beforeCellAlignment",t,e,n,r),Bs(e,n,r,(e,t)=>this.getCellMeta(e,t),(e,t,n,r)=>this.setCellMeta(e,t,n,r)),this.render()},disabled:!1}]}}}const Ia="clear_column";function Pa(){return{key:Ia,name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_CLEAR_COLUMN"])},callback(e,t){const n=t[0].start.col,r=t[0].end.col;this.countRows()&&this.populateFromArray(0,n,[[null]],Math.max(t[0].start.row,t[0].end.row),r,"ContextMenu.clearColumn")},disabled(){const e=this.getSelectedRangeLast();return!e||(!!(e.isSingleHeader()&&e.highlight.col<0)||!this.selection.isSelectedByColumnHeader())}}}const Da="col_left";function Fa(){return{key:Da,name(){return this.getTranslatedPhrase(ke["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 ka="col_right";function Ba(){return{key:ka,name(){return this.getTranslatedPhrase(ke["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 Ua="make_read_only";function Ha(){return{key:Ua,checkable:!0,ariaChecked(){const e=js(this.getSelectedRange(),(e,t)=>this.getCellMeta(e,t).readOnly);return e},ariaLabel(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_READ_ONLY"])},name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_READ_ONLY"]);const t=js(this.getSelectedRange(),(e,t)=>this.getCellMeta(e,t).readOnly);return t&&(e=Hs(e)),e},callback(){const e=this.getSelectedRange(),t=js(e,(e,t)=>this.getCellMeta(e,t).readOnly);Object(d["arrayEach"])(e,e=>{e.forAll((e,n)=>{e>=0&&n>=0&&this.setCellMeta(e,n,"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 ja="redo";function Va(){return{key:ja,name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_REDO"])},callback(){this.redo()},hidden(){const e=this.getPlugin("undoRedo");return!e||!e.isEnabled()},disabled(){return!this.getPlugin("undoRedo").isRedoAvailable()}}}var Wa=n("a952");const Ya="remove_col";function Qa(){return{key:Ya,name(){const e=this.getSelected();let t=0;if(e)if(e.length>1)t=1;else{const[,n,,r]=e[0];n-r!==0&&(t=1)}return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_REMOVE_COLUMN"],t)},callback(){this.alter("remove_col",Object(Wa["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 Xa="remove_row";function Ka(){return{key:Xa,name(){const e=this.getSelected();let t=0;if(e)if(e.length>1)t=1;else{const[n,,r]=e[0];n-r!==0&&(t=1)}return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_REMOVE_ROW"],t)},callback(){this.alter("remove_row",Object(Wa["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 Ga="row_above";function Za(){return{key:Ga,name(){return this.getTranslatedPhrase(ke["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 za="row_below";function qa(){return{key:za,name(){return this.getTranslatedPhrase(ke["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 Ja="no_items";function $a(){return{key:Ja,name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_NO_ITEMS"])},disabled:!0,isCommand:!1}}const el="undo";function tl(){return{key:el,name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_UNDO"])},callback(){this.undo()},hidden(){const e=this.getPlugin("undoRedo");return!e||!e.isEnabled()},disabled(){return!this.getPlugin("undoRedo").isUndoAvailable()}}}const nl=[Ga,za,Da,ka,Ia,Xa,Ya,el,ja,Ua,Na,Ns,Ja],rl={[Ns]:Ls,[Ja]:$a,[Ga]:Za,[za]:qa,[Da]:Fa,[ka]:Ba,[Ia]:Pa,[Xa]:Ka,[Ya]:Qa,[el]:tl,[ja]:Va,[Ua]:Ha,[Na]:La};function il(){const e={};return Object(s["objectEach"])(rl,(t,n)=>{e[n]=t()}),e}function ol(e,t,n){return(t=sl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e){var t=al(e,"string");return"symbol"==typeof t?t:t+""}function al(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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;ol(this,"hot",void 0),ol(this,"predefinedItems",il()),ol(this,"defaultOrderPattern",void 0),this.hot=e,this.defaultOrderPattern=t}setPredefinedItems(e){const t={};this.defaultOrderPattern.length=0,Object(s["objectEach"])(e,(e,n)=>{let r="";e.name===Ns?(t[Ns]=e,r=Ns):isNaN(parseInt(n,10))?(e.key=void 0===e.key?n:e.key,t[n]=e,r=e.key):(t[e.key]=e,r=e.key),this.defaultOrderPattern.push(r)}),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]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=[];let i=e;return i&&i.items?i=i.items:Array.isArray(i)||(i=t),Object(s["isObject"])(i)?Object(s["objectEach"])(i,(e,t)=>{let i=n["string"===typeof e?e:t];i||(i=e),Object(s["isObject"])(e)?Object(s["extend"])(i,e):"string"===typeof i&&(i={name:i}),void 0===i.key&&(i.key=t),r.push(i)}):Object(d["arrayEach"])(i,(e,t)=>{let i=n[e];!i&&nl.indexOf(e)>=0||(i||(i={name:e,key:""+t}),Object(s["isObject"])(e)&&Object(s["extend"])(i,e),void 0===i.key&&(i.key=t),r.push(i))}),r}function ul(e,t,n){return(t=dl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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 n=t.scrollY,r=t.scrollX;let i,o,s,a,l,c;this.rootWindow=t,this.type=this.getSourceType(e),"literal"===this.type?(i=parseInt(e.top,10),s=parseInt(e.left,10),l=e.height||0,c=e.width||0,o=i,a=s,i+=n,s+=r):"event"===this.type&&(i=parseInt(e.pageY,10),s=parseInt(e.pageX,10),l=e.target.clientHeight,c=e.target.clientWidth,o=i-n,a=s-r),this.top=i,this.topRelative=o,this.left=s,this.leftRelative=a,this.scrollTop=n,this.scrollLeft=r,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,n){ml(e,t),t.set(e,n)}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,n){return e.set(_l(e,t),n),n}function _l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var bl=new WeakMap,vl=new WeakMap,wl=new WeakMap,yl=new WeakMap,Rl=new WeakMap;class Ml{constructor(e){fl(this,bl,void 0),fl(this,vl,void 0),fl(this,wl,void 0),fl(this,yl,!1),fl(this,Rl,{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(Rl,this)[e]=t,this}setElement(e){return gl(bl,this,e),this}setParentElement(e){return gl(vl,this,e),this}updatePosition(e){gl(wl,this,new pl(e,Al(bl,this).ownerDocument.defaultView)),Al(yl,this)?(Al(wl,this).fitsBelow(Al(bl,this))?this.setPositionBelowCursor():Al(wl,this).fitsAbove(Al(bl,this))?this.setPositionAboveCursor():this.setPositionBelowCursor(),this.updateHorizontalPosition()):(this.setPositionBelowCursor(),this.setPositionOnRightOfCursor())}updateHorizontalPosition(){"rtl"===Al(bl,this).dir?Al(wl,this).fitsOnLeft(Al(bl,this))?this.setPositionOnLeftOfCursor():this.setPositionOnRightOfCursor():Al(wl,this).fitsOnRight(Al(bl,this))?this.setPositionOnRightOfCursor():this.setPositionOnLeftOfCursor()}setPositionAboveCursor(){let e=Al(Rl,this).above+Al(wl,this).top-Al(bl,this).offsetHeight;Al(vl,this)&&(e=Al(wl,this).top+Al(wl,this).cellHeight-Al(bl,this).offsetHeight+3),Al(bl,this).style.top=e+"px"}setPositionBelowCursor(){let e=Al(Rl,this).below+Al(wl,this).top+1;Al(vl,this)&&(e=Al(wl,this).top-1),Al(bl,this).style.top=e+"px"}setPositionOnRightOfCursor(){let e=Al(wl,this).left;if(Al(vl,this)){const t=Number.parseInt(getComputedStyle(Al(vl,this).querySelector(".htCore")).borderRightWidth,10);e+=Al(wl,this).cellWidth+t}else e+=Al(Rl,this).right;Al(bl,this).style.left=e+"px"}setPositionOnLeftOfCursor(){let e=Al(Rl,this).left+Al(wl,this).left-Al(bl,this).offsetWidth;if(Al(vl,this)){const t=Number.parseInt(getComputedStyle(Al(vl,this).querySelector(".htCore")).borderLeftWidth,10);e-=t}Al(bl,this).style.left=e+"px"}}function Sl(e){let{initialPage:t=-1,size:n=(()=>0),onItemSelect:r=(()=>{}),onClear:i=(()=>{})}=e;const o=new Set;let s=Object(nt["clamp"])(t,-1,f()-1);function a(e,t){const n=f()-1;if(e<0&&(e=n),e>n&&(e=0),o.has(e))return-1;o.add(e);const i=r(e,!1);return!1===i&&(e=a(1===t?++e:--e,t)),e}function l(e){e>-1&&e<f()&&!1!==r(e,!0)&&(s=e)}function c(){return s}function u(){f()>0&&(o.clear(),s=a(0,1))}function d(){f()>0&&(o.clear(),s=a(f()-1,-1))}function h(){f()>0&&(o.clear(),s=a(++s,1))}function p(){f()>0&&(o.clear(),s=a(--s,-1))}function f(){return Math.max(n(),0)}function m(){o.clear(),s=t,i()}return{setCurrentPage:l,getCurrentPage:c,toFirstItem:u,toLastItem:d,toNextItem:h,toPreviousItem:p,getSize:f,clear:m}}function El(e){return Object(d["arrayMap"])(e,e=>({start:e.getTopStartCorner(),end:e.getBottomEndCorner()}))}function Tl(e){return Object(s["hasOwnProperty"])(e,"submenu")}function Cl(e){return new RegExp(Ns,"i").test(e.name)}function Ol(e,t){return!0===e.disabled||"function"===typeof e.disabled&&!0===e.disabled.call(t)}function xl(e){return Object(s["hasOwnProperty"])(e,"disableSelection")}function Nl(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 Pl(e){return Object(i["hasClass"])(e,"htSelectionDisabled")}function Dl(e,t){return!e.hidden||!("function"===typeof e.hidden&&e.hidden.call(t))}function Fl(e,t){const n=e.slice(0);for(let r=0;r<n.length;){if(n[r].name!==t)break;n.shift()}return n}function kl(e,t){let n=e.slice(0);return n.reverse(),n=Fl(n,t),n.reverse(),n}function Bl(e){const t=[];return Object(d["arrayEach"])(e,(e,n)=>{n>0?t[t.length-1].name!==e.name&&t.push(e):t.push(e)}),t}function Ul(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ns,n=e.slice(0);return n=Fl(n,t),n=kl(n,t),n=Bl(n),n}function Hl(e){return!0===e.checkable}function jl(e){return Sl({size:()=>e.countRows(),onItemSelect(t,n){const r=e.getCell(t,0);if(!r||Nl(r)||Il(r)||Pl(r))return!1;e.selectCell(t,0,...n?[t,0,!1,!1]:[])},onClear(){e.deselectCell()}})}function Vl(e){const{hot:t,hotMenu:n}=e;return[{keys:[["Control/Meta","A"]],forwardToContext:t.getShortcutManager().getContext("grid"),callback:()=>e.close(!0)},{keys:[["Tab"],["Shift","Tab"]],callback:(n,r)=>{const i=t.getSettings(),o="function"===typeof i.tabMoves?i.tabMoves(n):i.tabMoves;r.includes("shift")?t.selection.transformStart(-o.row,-o.col):t.selection.transformStart(o.row,o.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=n.getSelectedLast();if(t){const n=e.openSubMenu(t[0]);n&&n.getNavigator().toFirstItem()}}},{keys:[["ArrowLeft"]],callback:()=>{const t=n.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 r=n.getSelectedLast();r&&(n.getSourceDataAtRow(r[0]).submenu?e.openSubMenu(r[0]).getNavigator().toFirstItem():(e.executeCommand(t),e.close(!0)))}},{keys:[["PageUp"]],callback:()=>{const t=n.getSelectedLast();t?n.selection.transformStart(-n.countVisibleRows(),0):e.getNavigator().toFirstItem()}},{keys:[["PageDown"]],callback:()=>{const t=n.getSelectedLast();t?n.selection.transformStart(n.countVisibleRows(),0):e.getNavigator().toLastItem()}}]}const Wl="menu",Yl=Wl;function Ql(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=[];function r(e,t){a(t).addShortcuts(e,{group:Wl})}function i(e,t){const i=a(t);e.forEach(e=>{let{keys:t}=e;t.forEach(e=>i.removeShortcutsByKeys(e))}),n.push({shortcuts:e,contextName:t}),r(e,t)}function o(){return[...n]}function s(e){return e?`${Yl}:${e}`:Yl}function a(t){var n;const r=e.hotMenu.getShortcutManager(),i=s(t);return null!==(n=r.getContext(i))&&void 0!==n?n:r.addContext(i)}function l(t){e.hotMenu.getShortcutManager().setActiveContextName(s(t))}return r(Vl(e)),t.forEach(e=>{let{shortcuts:t,contextName:n}=e;i(t,n)}),{addCustomShortcuts:i,getCustomShortcuts:o,getContext:a,listen:l}}function Xl(e){return(t,n,r,o,s,a)=>{const l=t.getSourceDataAtRow(r),c=e.rootDocument.createElement("div"),u="function"===typeof a?a.call(e):a,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"])(n),Object(i["addClass"])(c,"htItemWrapper"),e.getSettings().ariaTags){const t=!Ol(l,e)&&!xl(l)&&!Cl(l);Object(i["setAttribute"])(n,[...Hl(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"])()]:[],...Tl(l)?[Object(g["k"])(!1)]:[]])}n.className="",n.appendChild(c),Cl(l)?Object(i["addClass"])(n,"htSeparator"):"function"===typeof l.renderer?(Object(i["addClass"])(n,"htCustomMenuRenderer"),n.appendChild(l.renderer(t,c,r,o,s,u))):Object(i["fastInnerHTML"])(c,u),Ol(l,e)?Object(i["addClass"])(n,"htDisabled"):xl(l)?Object(i["addClass"])(n,"htSelectionDisabled"):Tl(l)&&Object(i["addClass"])(n,"htSubmenu")}}function Kl(e,t,n){Gl(e,t),t.set(e,n)}function Gl(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zl(e,t,n){return(t=zl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){var t=ql(e,"string");return"symbol"==typeof t?t:t+""}function ql(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Jl(e,t,n){return e.set(ec(e,t),n),n}function $l(e,t){return e.get(ec(e,t))}function ec(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const tc=215;var nc=new WeakMap,rc=new WeakMap,ic=new WeakMap;class oc{get tableBorderWidth(){return void 0===$l(ic,this)&&this.hotMenu&&Jl(ic,this,parseInt(Object(i["getComputedStyle"])(this.hotMenu.view._wt.wtTable.TABLE).borderWidth,10)),$l(ic,this)}constructor(e,t){var n=this;Zl(this,"hot",void 0),Zl(this,"options",void 0),Zl(this,"eventManager",new Le["a"](this)),Zl(this,"container",void 0),Zl(this,"positioner",void 0),Zl(this,"hotMenu",null),Zl(this,"hotSubMenus",{}),Zl(this,"parentMenu",void 0),Zl(this,"menuItems",null),Zl(this,"origOutsideClickDeselects",null),Kl(this,nc,void 0),Kl(this,rc,void 0),Kl(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 Ml(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),r=0;r<e;r++)t[r]=arguments[r];return n.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 $l(nc,this)}getKeyboardShortcutsCtrl(){return $l(rc,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 n=!1,r=Object(d["arrayFilter"])(this.menuItems,e=>(e.key===Ja&&(n=!0),Dl(e,this.hot)));if(r.length<1&&!n)r.push(il()[Ja]);else if(0===r.length)return;r=Ul(r,Ns);let i=!1;const s={data:r,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:Xl(this.hot)}],renderAllRows:!0,fragmentSelection:!1,outsideClickDeselects:!1,disableVisualSelection:"area",layoutDirection:this.hot.isRtl()?"rtl":"ltr",ariaTags:!1,beforeOnCellMouseOver:(e,t)=>{$l(nc,this).setCurrentPage(t.row)},afterOnCellMouseOver:(t,n)=>{this.isAllSubMenusClosed()?e(n.row):this.openSubMenu(n.row)},rowHeights:e=>r[e].name===Ns?1:void 0,afterOnCellContextMenu:e=>{e.preventDefault(),Object(m["isWindowsOS"])()&&i&&this.hasSelectedItem()&&this.close(!0)},afterSelection:(e,t,n,r,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(o["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,s),this.hotMenu.addHook("afterInit",()=>this.onAfterInit()),this.hotMenu.init(),Jl(nc,this,jl(this.hotMenu)),Jl(rc,this,Ql(this)),$l(rc,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($l(nc,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 n=this.hotMenu.getSourceDataAtRow(e),r=new oc(this.hot,{parent:this,name:n.name,className:this.options.className,keepInViewport:!0,container:this.options.container});return r.setMenuItems(n.submenu.items),r.open(),r.setPosition(t.getBoundingClientRect()),this.hotSubMenus[n.key]=r,this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(t,[Object(g["k"])(!0)]),r}closeSubMenu(e){const t=this.hotMenu.getSourceDataAtRow(e),n=this.hotSubMenus[t.key];if(n){n.destroy(),delete this.hotSubMenus[t.key];const r=this.hotMenu.getCell(e,0);this.hot.getSettings().ariaTags&&Object(i["setAttribute"])(r,[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 n=this.hot.getSelectedRange(),r=n?El(n):[];this.runLocalHooks("executeCommand",t.key,r,e),this.isSubMenu()&&this.parentMenu.runLocalHooks("executeCommand",t.key,r,e)}isCommandPassive(e){return!1===e.isCommand||Cl(e)||Ol(e,this.hot)||Tl(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,n=e.hider.style,r=e.holder.style,o=parseInt(n.width,10),s=Object(d["arrayReduce"])(t,(e,t,n)=>{const r=this.hotMenu.getCell(n,0),o=r?Object(i["outerHeight"])(this.hotMenu.getCell(n,0)):0;return e+(t.name===Ns?1:o)},0);r.width=o+3+"px",r.height=s+3+"px",n.height=r.height}createContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=this.options.container.ownerDocument;let n,r=e;return r&&(Object(mi["isFunction"])(r)&&(r=r.call(this.hot),r=null===r||Object(h["isUndefined"])(r)?"":r.toString()),r=r.replace(/[^A-z0-9]/g,"_"),r=`${this.options.className}Sub_${r}`,n=t.querySelector(`.${this.options.className}.${r}`)),n||(n=t.createElement("div"),Object(i["addClass"])(n,"htMenu "+this.options.className),r&&Object(i["addClass"])(n,r),this.options.container.appendChild(n)),n}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 sc(e,t){ac(e,t),t.add(e)}function ac(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function lc(e,t,n){return(t=cc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function dc(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}Object(s["mixin"])(oc,qo["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 $t["a"]{constructor(){super(...arguments),sc(this,mc),lc(this,"commandExecutor",new Oa(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[Ga,za,Ns,Da,ka,Ns,Xa,Ya,Ns,el,ja,Ns,Ua,Ns,Na]}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 oc(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,bc).call(this)),this.menu.addLocalHook("afterClose",()=>dc(mc,this,vc).call(this)),this.menu.addLocalHook("executeCommand",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.executeCommand.call(e,...n)})),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(),n=Vs(this.menu.container,this.hot.rootDocument);this.open({left:t.left+n.left,top:t.top+n.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 n=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 r=this.menu.tableBorderWidth>0;r||(n.below+=1,n.right+=1,n.above-=1,n.left-=1),Object(s["objectEach"])(n,(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,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.commandExecutor.execute(e,...n)}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 n=this.itemsFactory.getItems(e);this.hot.runHooks("beforeContextMenuSetItems",n),this.menu.setMenuItems(n),Object(d["arrayEach"])(n,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(),n=t.rowHeaders,r=t.colHeaders;function o(e){return"TD"===e.nodeName||"TD"===e.parentNode.nodeName}const s=e.target;if(this.close(),Object(i["hasClass"])(s,"handsontableInput"))return;if(e.preventDefault(),e.stopPropagation(),!n&&!r&&!o(s)&&(!Object(i["hasClass"])(s,"current")||!Object(i["hasClass"])(s,"wtBorder")))return;const a=Vs(this.menu.container,this.hot.rootDocument);this.open({top:e.clientY+a.top,left:e.clientX+a.left})}function _c(){this.hot.runHooks("beforeContextMenuShow",this)}function bc(){this.hot.runHooks("afterContextMenuShow",this)}function vc(){this.hot.listen(),this.hot.runHooks("afterContextMenuHide",this)}Ac.SEPARATOR={name:Ns};var wc=n("3bc4");function yc(e){return{key:"copy",name(){return this.getTranslatedPhrase(ke["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 Rc(e){return{key:"copy_column_headers_only",name(){const e=this.getSelectedRangeLast(),t=e?Object(nt["clamp"])(e.getWidth()-1,0,1):0;return this.getTranslatedPhrase(ke["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 Mc(e){return{key:"copy_with_column_group_headers",name(){const e=this.getSelectedRangeLast(),t=e?Object(nt["clamp"])(e.getWidth()-1,0,1):0;return this.getTranslatedPhrase(ke["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(nt["clamp"])(e.getWidth()-1,0,1):0;return this.getTranslatedPhrase(ke["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 Ec(e){return{key:"cut",name(){return this.getTranslatedPhrase(ke["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 Tc{constructor(){this.data={}}setData(e,t){this.data[e]=t}getData(e){return this.data[e]||void 0}}class Cc{constructor(){this.clipboardData=new Tc}preventDefault(){}}function Oc(e,t){Nc(e,t),t.add(e)}function xc(e,t,n){Nc(e,t),t.set(e,n)}function Nc(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(Pc(e,t))}function Ic(e,t,n){return e.set(Pc(e,t),n),n}function Pc(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Dc=new WeakMap,Fc=new WeakMap,kc=new WeakMap,Bc=new WeakMap,Uc=new WeakMap,Hc=new WeakMap,jc=new WeakSet;class Vc{constructor(e){let{countRows:t,countColumns:n,rowsLimit:r,columnsLimit:i,countColumnHeaders:o}=e;Oc(this,jc),xc(this,Dc,void 0),xc(this,Fc,void 0),xc(this,kc,void 0),xc(this,Bc,void 0),xc(this,Uc,void 0),xc(this,Hc,void 0),Ic(Fc,this,t),Ic(kc,this,n),Ic(Bc,this,r),Ic(Uc,this,i),Ic(Hc,this,o)}setSelectedRange(e){Ic(Dc,this,e)}getCellsRange(){if(0===Lc(Fc,this).call(this)||0===Lc(kc,this).call(this))return null;const{row:e,col:t}=Lc(Dc,this).getTopStartCorner(),{row:n,col:r}=Lc(Dc,this).getBottomEndCorner(),i=Pc(jc,this,Yc).call(this,e,n),o=Pc(jc,this,Wc).call(this,t,r),s=n!==i||r!==o;return{isRangeTrimmed:s,startRow:e,startCol:t,endRow:i,endCol:o}}getMostBottomColumnHeadersRange(){if(0===Lc(kc,this).call(this)||0===Lc(Hc,this).call(this))return null;const{col:e}=Lc(Dc,this).getTopStartCorner(),{col:t}=Lc(Dc,this).getBottomEndCorner(),n=Pc(jc,this,Wc).call(this,e,t),r=t!==n;return{isRangeTrimmed:r,startRow:-1,startCol:e,endRow:-1,endCol:n}}getAllColumnHeadersRange(){if(0===Lc(kc,this).call(this)||0===Lc(Hc,this).call(this))return null;const{col:e}=Lc(Dc,this).getTopStartCorner(),{col:t}=Lc(Dc,this).getBottomEndCorner(),n=Pc(jc,this,Wc).call(this,e,t),r=t!==n;return{isRangeTrimmed:r,startRow:-Lc(Hc,this).call(this),startCol:e,endRow:-1,endCol:n}}}function Wc(e,t){return Math.min(t,Math.max(e+Lc(Uc,this).call(this)-1,e))}function Yc(e,t){return Math.min(t,Math.max(e+Lc(Bc,this).call(this)-1,e))}function Qc(e){const t=[],n=[];return Object(d["arrayEach"])(e,e=>{const r=Math.min(e.startRow,e.endRow),i=Math.max(e.startRow,e.endRow);Object(nt["rangeEach"])(r,i,e=>{-1===t.indexOf(e)&&t.push(e)});const o=Math.min(e.startCol,e.endCol),s=Math.max(e.startCol,e.endCol);Object(nt["rangeEach"])(o,s,e=>{-1===n.indexOf(e)&&n.push(e)})}),{rows:t,columns:n}}var Xc=n("a776");function Kc(e,t){Zc(e,t),t.add(e)}function Gc(e,t,n){Zc(e,t),t.set(e,n)}function Zc(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zc(e,t,n){return(t=qc(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qc(e){var t=Jc(e,"string");return"symbol"==typeof t?t:t+""}function Jc(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function $c(e,t){return e.get(tu(e,t))}function eu(e,t,n){return e.set(tu(e,t),n),n}function tu(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 nu="copyPaste",ru=80,iu=["fragmentSelection"],ou=['<meta name="generator" content="Handsontable"/>','<style type="text/css">td{white-space:normal}br{mso-data-placement:same-cell}</style>'].join("");var su=new WeakMap,au=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 $t["a"]{constructor(){super(...arguments),Kc(this,fu),zc(this,"columnsLimit",1/0),zc(this,"rowsLimit",1/0),zc(this,"pasteMode","overwrite"),zc(this,"uiContainer",this.hot.rootDocument.body),Gc(this,su,!1),Gc(this,au,!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),zc(this,"copyableRanges",[])}static get PLUGIN_KEY(){return nu}static get SETTING_KEYS(){return[nu,...iu]}static get PLUGIN_PRIORITY(){return ru}isEnabled(){return!!this.hot.getSettings()[nu]}enablePlugin(){var e=this;if(this.enabled)return;const{[nu]:t}=this.hot.getSettings();var n,r;"object"===typeof t&&(this.pasteMode=null!==(n=t.pasteMode)&&void 0!==n?n:this.pasteMode,this.rowsLimit=isNaN(t.rowsLimit)?this.rowsLimit:t.rowsLimit,this.columnsLimit=isNaN(t.columnsLimit)?this.columnsLimit:t.columnsLimit,eu(su,this,!!t.copyColumnHeaders),eu(au,this,!!t.copyColumnGroupHeaders),eu(lu,this,!!t.copyColumnHeadersOnly),this.uiContainer=null!==(r=t.uiContainer)&&void 0!==r?r:this.uiContainer);this.addHook("afterContextMenuDefaultOptions",e=>tu(fu,this,vu).call(this,e)),this.addHook("afterSelection",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tu(fu,e,wu).call(e,...n)})),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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tu(fu,e,Ru).call(e,...n)})),this.eventManager.addEventListener(this.hot.rootDocument.body,"mouseleave",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tu(fu,e,Mu).call(e,...n)})),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:n,columns:r}=Qc(e);return Object(d["arrayEach"])(n,e=>{const n=[];Object(d["arrayEach"])(r,t=>{e<0?n.push(this.hot.getColHeader(t,e)):n.push(this.hot.getCopyableData(e,t))}),t.push(n)}),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 n=new Cc;e&&n.clipboardData.setData("text/plain",e),t&&n.clipboardData.setData("text/html",t),this.onPaste(n)}setCopyableText(){const e=this.hot.getSelectedRangeLast();if(!e)return;if(e.isSingleHeader())return void(this.copyableRanges=[]);$c(hu,this).setSelectedRange(e);const t=new Map([["headers",null],["cells",null]]);"column-headers-only"===$c(cu,this)?t.set("headers",$c(hu,this).getMostBottomColumnHeadersRange()):("with-column-headers"===$c(cu,this)?t.set("headers",$c(hu,this).getMostBottomColumnHeadersRange()):"with-column-group-headers"===$c(cu,this)&&t.set("headers",$c(hu,this).getAllColumnHeadersRange()),t.set("cells",$c(hu,this).getCellsRange())),this.copyableRanges=Array.from(t.values()).filter(e=>null!==e).map(e=>{let{startRow:t,startCol:n,endRow:r,endCol:i}=e;return{startRow:t,startCol:n,endRow:r,endCol:i}}),this.copyableRanges=this.hot.runHooks("modifyCopyableRange",this.copyableRanges);const n=t.get("cells");if(null!==n&&n.isRangeTrimmed){const{startRow:e,startCol:t,endRow:r,endCol:i}=n;this.hot.runHooks("afterCopyLimit",r-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 n=e.length,r=e[0].length,i=[],{row:o,col:s}=t.getTopStartCorner(),{row:a,col:l}=t.getBottomEndCorner();let c=o,u=s,d=o,h=s;while(i.length<n||c<=a){const{skipRowOnPaste:t,visualRow:a}=this.hot.getCellMeta(c,s);if(c=a+1,!0===t)continue;d=a,u=s;const p=[],f=i.length%n;while(p.length<r||u<=l){const{skipColumnOnPaste:t,visualCol:n}=this.hot.getCellMeta(o,u);if(u=n+1,!0===t)continue;h=n;const i=p.length%r;p.push(e[f][i])}i.push(p)}return eu(pu,this,!0),this.hot.populateFromArray(o,s,i,void 0,void 0,"CopyPaste.paste",this.pasteMode),[o,s,d,h]}onCopy(e){var t;const n=this.hot.getFocusManager().getRefocusElement(),r=null===(t=e.target)||void 0===t?void 0:t.hasAttribute("data-hot-input");if(!this.hot.isListening()&&!$c(uu,this)||this.isEditorOpened()||e.target instanceof HTMLElement&&(r&&e.target!==n||!r&&e.target!==this.hot.rootDocument.body))return;e.preventDefault(),this.setCopyableText(),eu(uu,this,!1);const i=this.getRangedData(this.copyableRanges),o=tu(fu,this,gu).call(this,this.copyableRanges),s=!!this.hot.runHooks("beforeCopy",i,this.copyableRanges,o);if(s){const t=Object(wc["b"])(i);if(e&&e.clipboardData){const n=Object(Xc["_dataToHTML"])(i,this.hot.rootDocument);e.clipboardData.setData("text/plain",t),e.clipboardData.setData("text/html",[ou,n].join(""))}else"undefined"===typeof ClipboardEvent&&this.hot.rootWindow.clipboardData.setData("Text",t);this.hot.runHooks("afterCopy",i,this.copyableRanges,o)}eu(cu,this,"cells-only")}onCut(e){var t;const n=this.hot.getFocusManager().getRefocusElement(),r=null===(t=e.target)||void 0===t?void 0:t.hasAttribute("data-hot-input");if(!this.hot.isListening()&&!$c(du,this)||this.isEditorOpened()||e.target instanceof HTMLElement&&(r&&e.target!==n||!r&&e.target!==this.hot.rootDocument.body))return;e.preventDefault(),this.setCopyableText(),eu(du,this,!1);const i=this.getRangedData(this.copyableRanges),o=!!this.hot.runHooks("beforeCut",i,this.copyableRanges);if(o){const t=Object(wc["b"])(i);if(e&&e.clipboardData){const n=Object(Xc["_dataToHTML"])(i,this.hot.rootDocument);e.clipboardData.setData("text/plain",t),e.clipboardData.setData("text/html",[ou,n].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 n=this.hot.getFocusManager().getRefocusElement(),r=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&&(r&&e.target!==n||!r&&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(Xc["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[o,s,a,l]=this.populateValues(i);this.hot.selectCell(o,s,Math.min(this.hot.countRows()-1,a),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:n,col:r}=t.highlight,o=this.hot.getCell(n,r,!0);o&&Object(i["runWithSelectedContendEditableElement"])(o,()=>{this.hot.rootDocument.execCommand(e)})}}else this.hot.rootDocument.execCommand(e)}function gu(e){const{rows:t}=Qc(e);let n=0;for(let r=0;r<t.length;r++){if(t[r]>=0)break;n+=1}return{columnHeadersCount:n}}function _u(){if(this.hot.isListening()){const e=this.hot.getSelectedRangeLast();if(e){const{row:t,col:n}=e.highlight,r=this.hot.getCell(t,n,!0);r&&Object(i["makeElementContentEditableAndSelectItsContent"])(r)}}}function bu(){if(this.hot.isListening()){const e=this.hot.getSelectedRangeLast();if(e){const{row:t,col:n}=e.highlight,r=this.hot.getCell(t,n,!0);null!==r&&void 0!==r&&r.hasAttribute("contenteditable")&&Object(i["removeContentEditableFromElementAndDeselect"])(r)}}}function vu(e){e.items.push({name:"---------"},yc(this)),$c(su,this)&&e.items.push(Sc(this)),$c(au,this)&&e.items.push(Mc(this)),$c(lu,this)&&e.items.push(Rc(this)),e.items.push(Ec(this))}function wu(e,t,n,r,i){$c(pu,this)&&(i.value=!0),eu(pu,this,!1)}function yu(){this.isEditorOpened()||this.hot.getSettings().fragmentSelection||this.setCopyableText()}function Ru(){tu(fu,this,bu).call(this)}function Mu(){tu(fu,this,_u).call(this)}function Su(){tu(fu,this,bu).call(this)}function Eu(e,t){return`border_row${e}col${t}`}function Tu(){return{width:1,color:"#000"}}function Cu(){return{hide:!0}}function Ou(){return{width:1,color:"#000",cornerVisible:!1}}function xu(e){var t,n;(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!==(n=e.end)&&void 0!==n?n:e.right);return delete e.left,delete e.right,e}function Nu(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:Eu(e,t),border:Ou(),row:e,col:t,top:Cu(),bottom:Cu(),start:Cu(),end:Cu()}}function Iu(e,t){return Object(s["hasOwnProperty"])(t,"border")&&t.border&&(e.border=t.border),Object(s["hasOwnProperty"])(t,"top")&&Object(h["isDefined"])(t.top)&&(t.top?(Object(s["isObject"])(t.top)||(t.top=Tu()),e.top=t.top):(t.top=Cu(),e.top=t.top)),Object(s["hasOwnProperty"])(t,"bottom")&&Object(h["isDefined"])(t.bottom)&&(t.bottom?(Object(s["isObject"])(t.bottom)||(t.bottom=Tu()),e.bottom=t.bottom):(t.bottom=Cu(),e.bottom=t.bottom)),Object(s["hasOwnProperty"])(t,"start")&&Object(h["isDefined"])(t.start)&&(t.start?(Object(s["isObject"])(t.start)||(t.start=Tu()),e.start=t.start):(t.start=Cu(),e.start=t.start)),Object(s["hasOwnProperty"])(t,"end")&&Object(h["isDefined"])(t.end)&&(t.end?(Object(s["isObject"])(t.end)||(t.end=Tu()),e.end=t.end):(t.end=Cu(),e.end=t.end)),e}function Pu(e,t){let n=!1;return Object(d["arrayEach"])(e.getSelectedRange(),r=>{r.forAll((r,i)=>{if(r<0||i<0)return;const o=e.getCellMeta(r,i).borders;if(o){if(!t)return n=!0,!1;if(!Object(s["hasOwnProperty"])(o[t],"hide")||!1===o[t].hide)return n=!0,!1}})}),n}function Du(e){return`<span class="selected">${String.fromCharCode(10003)}</span>${e}`}function Fu(e){return e.some(e=>Object(h["isDefined"])(e.left)||Object(h["isDefined"])(e.right))}function ku(e){return e.some(e=>Object(h["isDefined"])(e.start)||Object(h["isDefined"])(e.end))}const Bu=new Map([["left","start"],["right","end"]]);function Uu(e){var t;return null!==(t=Bu.get(e))&&void 0!==t?t:e}function Hu(e){return{key:"borders:top",name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_BORDERS_TOP"]);const t=Pu(this,"top");return t&&(e=Du(e)),e},callback(t,n){const r=Pu(this,"top");e.prepareBorder(n,"top",r)}}}function ju(e){const t=e.hot.isRtl()?"start":"end";return{key:"borders:right",name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_BORDERS_RIGHT"]);const n=Pu(this,t);return n&&(e=Du(e)),e},callback(n,r){const i=Pu(this,t);e.prepareBorder(r,t,i)}}}function Vu(e){return{key:"borders:bottom",name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_BORDERS_BOTTOM"]);const t=Pu(this,"bottom");return t&&(e=Du(e)),e},callback(t,n){const r=Pu(this,"bottom");e.prepareBorder(n,"bottom",r)}}}function Wu(e){const t=e.hot.isRtl()?"end":"start";return{key:"borders:left",name(){let e=this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_BORDERS_LEFT"]);const n=Pu(this,t);return n&&(e=Du(e)),e},callback(n,r){const i=Pu(this,t);e.prepareBorder(r,t,i)}}}function Yu(e){return{key:"borders:no_borders",name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_REMOVE_BORDERS"])},callback(t,n){e.prepareBorder(n,"noBorders")},disabled(){return!Pu(this)}}}function Qu(e,t){Xu(e,t),t.add(e)}function Xu(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ku(e,t,n){return(t=Gu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){var t=Zu(e,"string");return"symbol"==typeof t?t:t+""}function Zu(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function zu(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const qu="customBorders",Ju=90;var $u=new WeakSet;class ed extends $t["a"]{constructor(){super(...arguments),Qu(this,$u),Ku(this,"savedBorders",[])}static get PLUGIN_KEY(){return qu}static get PLUGIN_PRIORITY(){return Ju}isEnabled(){return!!this.hot.getSettings()[qu]}enablePlugin(){this.enabled||(this.addHook("afterContextMenuDefaultOptions",e=>zu($u,this,td).call(this,e)),this.addHook("init",()=>zu($u,this,nd).call(this)),super.enablePlugin())}disablePlugin(){this.hideBorders(),super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.changeBorderSettings(),super.updatePlugin()}setBorders(e,t){let n=["top","bottom","start","end"],r=null;t&&(this.checkSettingsCohesion([t]),n=Object.keys(t),r=xu(t));const i=Object(Wa["c"])(e),o=Object(Wa["d"])(i,{createCellCoords:this.hot._createCellCoords.bind(this.hot),createCellRange:this.hot._createCellRange.bind(this.hot)});Object(d["arrayEach"])(e,e=>{o(e).forAll((e,t)=>{Object(d["arrayEach"])(n,n=>{this.prepareBorderFromCustomAdded(e,t,r,Uu(n))})})}),this.hot.view.render()}getBorders(e){if(!Array.isArray(e))return this.savedBorders;const t=Object(Wa["c"])(e),n=Object(Wa["d"])(t,{createCellCoords:this.hot._createCellCoords.bind(this.hot),createCellRange:this.hot._createCellRange.bind(this.hot)}),r=[];return Object(d["arrayEach"])(e,e=>{n(e).forAll((e,t)=>{Object(d["arrayEach"])(this.savedBorders,n=>{n.row===e&&n.col===t&&r.push(Nu(n))})})}),r}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 n=this.checkSavedBorders(e);n||this.savedBorders.push(e);const r=this.hot._createCellRange(this.hot._createCellCoords(e.row,e.col)),i=this.checkCustomSelections(e,r,t);i||this.hot.selection.highlight.addCustomSelection({border:e,visualCellRange:r})}prepareBorderFromCustomAdded(e,t,n,r){const i=this.hot.countRows(),o=this.hot.countCols();if(e>=i||t>=o)return;let s=Lu(e,t);n&&(s=Iu(s,n),Object(d["arrayEach"])(this.hot.selection.highlight.customSelections,e=>{if(s.id===e.settings.id)return Object.assign(e.settings,n),s.id=e.settings.id,s.top=e.settings.top,s.bottom=e.settings.bottom,s.start=e.settings.start,s.end=e.settings.end,!1})),this.hot.setCellMeta(e,t,"borders",Nu(s)),this.insertBorderIntoSettings(s,r)}prepareBorderFromCustomAddedRange(e,t){const n=Math.min(e.to.row,this.hot.countRows()-1),r=Math.min(e.to.col,this.hot.countCols()-1);Object(nt["rangeEach"])(e.from.row,n,n=>{Object(nt["rangeEach"])(e.from.col,r,r=>{const i=Lu(n,r);let o=0;n===e.from.row&&Object(s["hasOwnProperty"])(t,"top")&&(o+=1,i.top=t.top),n===e.to.row&&Object(s["hasOwnProperty"])(t,"bottom")&&(o+=1,i.bottom=t.bottom),r===e.from.col&&Object(s["hasOwnProperty"])(t,"start")&&(o+=1,i.start=t.start),r===e.to.col&&Object(s["hasOwnProperty"])(t,"end")&&(o+=1,i.end=t.end),o>0&&(this.hot.setCellMeta(n,r,"borders",Nu(i)),this.insertBorderIntoSettings(i))})})}removeAllBorders(e,t){const n=Eu(e,t);this.spliceBorder(n),this.clearBordersFromSelectionSettings(n),this.clearNullCellRange(),this.hot.removeCellMeta(e,t,"borders")}setBorder(e,t,n,r){let i=this.hot.getCellMeta(e,t).borders;if(i=i&&void 0!==i.border?xu(i):Lu(e,t),r){i[n]=Cu();const o=this.countHide(i);if(4===o)this.removeAllBorders(e,t);else{const o=this.checkCustomSelectionsFromContextMenu(i,n,r);o||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",Nu(i))}}else{i[n]=Tu();const o=this.checkCustomSelectionsFromContextMenu(i,n,r);o||this.insertBorderIntoSettings(i),this.hot.setCellMeta(e,t,"borders",Nu(i))}}prepareBorder(e,t,n){Object(d["arrayEach"])(e,e=>{let{start:r,end:i}=e;if(r.row===i.row&&r.col===i.col)"noBorders"===t?this.removeAllBorders(r.row,r.col):this.setBorder(r.row,r.col,t,n);else switch(t){case"noBorders":Object(nt["rangeEach"])(r.col,i.col,e=>{Object(nt["rangeEach"])(r.row,i.row,t=>{this.removeAllBorders(t,e)})});break;case"top":Object(nt["rangeEach"])(r.col,i.col,e=>{this.setBorder(r.row,e,t,n)});break;case"bottom":Object(nt["rangeEach"])(r.col,i.col,e=>{this.setBorder(i.row,e,t,n)});break;case"start":Object(nt["rangeEach"])(r.row,i.row,e=>{this.setBorder(e,r.col,t,n)});break;case"end":Object(nt["rangeEach"])(r.row,i.row,e=>{this.setBorder(e,i.col,t,n)});break;default:break}})}createCustomBorders(e){Object(d["arrayEach"])(e,e=>{const t=xu(e);e.range?this.prepareBorderFromCustomAddedRange(e.range,t):this.prepareBorderFromCustomAdded(e.row,e.col,t)})}countHide(e){const{top:t,bottom:n,start:r,end:i}=e,o=[t,n,r,i];return Object(d["arrayReduce"])(o,(e,t)=>{let n=e;return t&&t.hide&&(n+=1),n},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 n=this.countHide(e);return 4===n?(this.spliceBorder(e.id),t=!0):Object(d["arrayEach"])(this.savedBorders,(n,r)=>{if(e.id===n.id)return this.savedBorders[r]=e,t=!0,!1}),t}checkCustomSelectionsFromContextMenu(e,t,n){let r=!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,n)}),r=!0,!1}}),r}checkCustomSelections(e,t,n){const r=this.countHide(e);let i=!1;return 4===r?(this.removeAllBorders(e.row,e.col),i=!0):Object(d["arrayEach"])(this.hot.selection.highlight.customSelections,r=>{if(e.id===r.settings.id){if(r.visualCellRange=t,r.commit(),n){const t=this.hot.view._wt.selectionManager.getBorderInstances(r);Object(d["arrayEach"])(t,t=>{t.changeBorderStyle(n,e)})}return i=!0,!1}}),i}changeBorderSettings(){const e=this.hot.getSettings()[qu];if(Array.isArray(e)){const t=Object(s["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=Fu(e),n=ku(e);if(t&&n)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()[qu]&&e.items.push({name:"---------"},{key:"borders",name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_BORDERS"])},disabled(){const e=this.getSelectedRangeLast();return!e||(!!e.isSingleHeader()||this.selection.isSelectedByCorner())},submenu:{items:[Hu(this),ju(this),Vu(this),Wu(this),Yu(this)]}})}function nd(){this.changeBorderSettings()}function rd(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 od(e,t,n){return(t=sd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sd(e){var t=ad(e,"string");return"symbol"==typeof t?t:t+""}function ad(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function ld(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const cd="dragToScroll",ud=100;var dd=new WeakSet;class hd extends $t["a"]{constructor(){super(...arguments),rd(this,dd),od(this,"boundaries",null),od(this,"callback",null),od(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 n=0,r=0;t<this.boundaries.top?r=t-this.boundaries.top:t>this.boundaries.bottom&&(r=t-this.boundaries.bottom),e<this.boundaries.left?n=e-this.boundaries.left:e>this.boundaries.right&&(n=e-this.boundaries.right),this.callback(n,r)}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(o["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,n)=>{var r,i;const o=null!==(r=t.scrollLeft)&&void 0!==r?r:t.scrollX,s=null!==(i=t.scrollTop)&&void 0!==i?i:t.scrollY;t.scroll(o+50*Math.sign(e),s+20*Math.sign(n))}),this.listen()}function fd(e,t){Ad(e,t),t.add(e)}function md(e,t,n){Ad(e,t),t.set(e,n)}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,n){return(t=_d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _d(e){var t=bd(e,"string");return"symbol"==typeof t?t:t+""}function bd(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function vd(e,t){return e.get(yd(e,t))}function wd(e,t,n){return e.set(yd(e,t),n),n}function yd(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 Rd="dropdownMenu",Md=230,Sd="changeType",Ed=Rd;var Td=new WeakMap,Cd=new WeakSet;class Od extends $t["a"]{static get PLUGIN_KEY(){return Rd}static get PLUGIN_PRIORITY(){return Md}static get PLUGIN_DEPS(){return["plugin:AutoColumnSize"]}static get DEFAULT_ITEMS(){return[Da,ka,Ns,Ya,Ns,Ia,Ns,Ua,Ns,Na]}constructor(e){super(e),fd(this,Cd),gd(this,"commandExecutor",new Oa(this.hot)),gd(this,"itemsFactory",null),gd(this,"menu",null),md(this,Td,!1),this.hot.addHook("afterGetColHeader",(e,t)=>yd(Cd,this,Ld).call(this,e,t))}isEnabled(){return this.hot.getSettings()[Rd]}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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yd(Cd,e,Bd).call(e,...n)})),this.addHook("beforeViewportScrollHorizontally",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yd(Cd,e,kd).call(e,...n)}));const t=this.hot.getSettings()[Rd],n={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",n),this.itemsFactory.setPredefinedItems(n.items);const r=this.itemsFactory.getItems(t);this.menu&&this.menu.destroy(),this.menu=new oc(this.hot,{className:"htDropdownMenu",keepInViewport:!0,container:t.uiContainer||this.hot.rootDocument.body}),this.hot.runHooks("beforeDropdownMenuSetItems",r),this.menu.setMenuItems(r),this.menu.addLocalHook("beforeOpen",()=>yd(Cd,this,Id).call(this)),this.menu.addLocalHook("afterOpen",()=>yd(Cd,this,Pd).call(this)),this.menu.addLocalHook("afterSubmenuOpen",e=>yd(Cd,this,Dd).call(this,e)),this.menu.addLocalHook("afterClose",()=>yd(Cd,this,Fd).call(this)),this.menu.addLocalHook("executeCommand",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.executeCommand.call(e,...n)})),Object(d["arrayEach"])(r,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(),n=Vs(this.menu.container,this.hot.rootDocument),r=this.hot.getCell(-1,t.col,!0).querySelector("."+Sd),i=r.getBoundingClientRect();this.open({left:i.left+n.left,top:i.top+r.offsetHeight+n.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:Ed},{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:Ed}])}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(Ed)}registerEvents(){this.eventManager.addEventListener(this.hot.rootElement,"click",e=>yd(Cd,this,Nd).call(this,e))}open(e){var t;let n=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(s["objectEach"])(n,(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,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.commandExecutor.execute(e,...n)}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 xd(e){e.getKeyboardShortcutsCtrl().addCustomShortcuts([{keys:[["Control/Meta","A"]],callback:()=>!1}])}function Nd(e){if(Object(i["hasClass"])(e.target,Sd)){const t=Vs(this.menu.container,this.hot.rootDocument),n=e.target.getBoundingClientRect();e.stopPropagation(),wd(Td,this,!1),this.open({left:n.left+t.left,top:n.top+e.target.offsetHeight+t.top},{left:n.width,right:0,above:0,below:3})}}function Ld(e,t){const n=t.parentNode;if(!n)return;const r=n.parentNode.childNodes,o=Array.prototype.indexOf.call(r,n);if(e<0||o!==r.length-1)return;const s=t.querySelector("."+Sd);if(this.enabled&&s)return;if(!this.enabled)return void(s&&s.parentNode.removeChild(s));const a=this.hot.rootDocument.createElement("button");a.className=Sd,a.type="button",a.tabIndex=-1,this.hot.getSettings().ariaTags&&(Object(i["setAttribute"])(a,[Object(g["n"])(),Object(g["p"])(" ")]),Object(i["setAttribute"])(t,[Object(g["m"])("menu")])),a.onclick=function(){return!1},t.firstChild.insertBefore(a,t.firstChild.firstChild)}function Id(){this.hot.runHooks("beforeDropdownMenuShow",this)}function Pd(){this.hot.runHooks("afterDropdownMenuShow",this),yd(Cd,this,xd).call(this,this.menu)}function Dd(e){yd(Cd,this,xd).call(this,e)}function Fd(){this.hot.listen(),this.hot.runHooks("afterDropdownMenuHide",this)}function kd(e){return vd(Td,this)?null:e}function Bd(e){Object(i["hasClass"])(e.target,Sd)&&wd(Td,this,!0)}function Ud(e,t,n){return(t=Hd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hd(e){var t=jd(e,"string");return"symbol"==typeof t?t:t+""}function jd(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Od.SEPARATOR={name:Ns};class Vd{constructor(e){Ud(this,"hot",void 0),Ud(this,"options",{}),this.hot=e}setOptions(e){this.options=e}getData(){const{startRow:e,startCol:t,endRow:n,endCol:r}=this._getDataRange(),i=this.options,o=[];return Object(nt["rangeEach"])(e,n,e=>{const n=[];!i.exportHiddenRows&&this._isHiddenRow(e)||(Object(nt["rangeEach"])(t,r,t=>{!i.exportHiddenColumns&&this._isHiddenColumn(t)||n.push(this.hot.getDataAtCell(e,t))}),o.push(n))}),o}getRowHeaders(){const e=[];if(this.options.rowHeaders){const{startRow:t,endRow:n}=this._getDataRange(),r=this.hot.getRowHeader();Object(nt["rangeEach"])(t,n,t=>{!this.options.exportHiddenRows&&this._isHiddenRow(t)||e.push(r[t])})}return e}getColumnHeaders(){const e=[];if(this.options.columnHeaders){const{startCol:t,endCol:n}=this._getDataRange(),r=this.hot.getColHeader();Object(nt["rangeEach"])(t,n,t=>{!this.options.exportHiddenColumns&&this._isHiddenColumn(t)||e.push(r[t])})}return e}_getDataRange(){const e=this.hot.countCols()-1,t=this.hot.countRows()-1;let[n=0,r=0,i=t,o=e]=this.options.range;return n=Math.max(n,0),r=Math.max(r,0),i=Math.min(i,t),o=Math.min(o,e),{startRow:n,startCol:r,endRow:i,endCol:o}}_isHiddenRow(e){return this.hot.rowIndexMapper.isHidden(this.hot.toPhysicalRow(e))}_isHiddenColumn(e){return this.hot.columnIndexMapper.isHidden(this.hot.toPhysicalColumn(e))}}var Wd=Vd;function Yd(e,t,n){return(t=Qd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qd(e){var t=Xd(e,"string");return"symbol"==typeof t?t:t+""}function Xd(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Kd{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){Yd(this,"dataProvider",void 0),Yd(this,"options",void 0),this.dataProvider=e,this.options=this._mergeOptions(t),this.dataProvider.setOptions(this.options)}_mergeOptions(e){let t=Object(s["clone"])(this.constructor.DEFAULT_OPTIONS);const n=new Date;return t=Object(s["extend"])(Object(s["clone"])(Kd.DEFAULT_OPTIONS),t),t=Object(s["extend"])(t,e),t.filename=Object(p["substitute"])(t.filename,{YYYY:n.getFullYear(),MM:(""+(n.getMonth()+1)).padStart(2,"0"),DD:(""+n.getDate()).padStart(2,"0")}),t}}var Gd=Kd;const Zd=String.fromCharCode(13),zd=String.fromCharCode(34),qd=String.fromCharCode(10);class Jd 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 n=this.dataProvider.getColumnHeaders();const r=n.length>0,i=this.dataProvider.getRowHeaders(),o=i.length>0;let s=e.bom?String.fromCharCode(65279):"";return r&&(n=Object(d["arrayMap"])(n,e=>this._escapeCell(e,!0)),o&&(s+=e.columnDelimiter),s+=n.join(e.columnDelimiter),s+=e.rowDelimiter),Object(d["arrayEach"])(t,(t,n)=>{n>0&&(s+=e.rowDelimiter),o&&(s+=this._escapeCell(i[n])+e.columnDelimiter),s+=t.map(e=>this._escapeCell(e)).join(e.columnDelimiter)}),s}_escapeCell(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(h["stringify"])(e);return""!==n&&(t||n.indexOf(Zd)>=0||n.indexOf(zd)>=0||n.indexOf(qd)>=0||n.indexOf(this.options.columnDelimiter)>=0)&&(n=n.replace(new RegExp('"',"g"),'""'),n=`"${n}"`),n}}var $d=Jd;const eh="csv",th={[eh]:$d};function nh(e,t,n){return"function"===typeof th[e]?new th[e](t,n):null}const rh="exportFile",ih=240;class oh extends $t["a"]{static get PLUGIN_KEY(){return rh}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:n,rootWindow:r}=this.hot,i=this._createTypeFormatter(e,t),o=this._createBlob(i),s=r.URL||r.webkitURL,a=n.createElement("a"),l=`${i.options.filename}.${i.options.fileExtension}`;if(void 0!==a.download){const e=s.createObjectURL(o);a.style.display="none",a.setAttribute("href",e),a.setAttribute("download",l),n.body.appendChild(a),a.dispatchEvent(new MouseEvent("click")),n.body.removeChild(a),setTimeout(()=>{s.revokeObjectURL(e)},100)}else navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob(o,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 nh(e,new Wd(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}}n("4069");function sh(e,t,n){return(t=ah(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ah(e){var t=lh(e,"string");return"symbol"==typeof t?t:t+""}function lh(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ch{constructor(e,t){let{id:n,stateless:r=!0}=t;sh(this,"hot",void 0),sh(this,"id",void 0),sh(this,"elements",[]),sh(this,"hidden",!1),sh(this,"stateId",""),sh(this,"state",void 0),this.hot=e,this.id=n,this.stateId="Filters.component."+this.id,this.state=r?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(s["mixin"])(ch,qo["a"]);const uh={};function dh(e,t){if(!uh[e])throw Error(`Filter condition "${e}" does not exist.`);const{condition:n,descriptor:r}=uh[e];let i=t;return r.inputValuesDecorator&&(i=r.inputValuesDecorator(i)),function(e){return n.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,n){n.key=e,uh[e]={condition:t,descriptor:n}}const fh="none";function mh(){return!0}ph(fh,mh,{name:ke["FILTERS_CONDITIONS_NONE"],inputsCount:0,showOperators:!1});const Ah="empty";function gh(e){return Object(h["isEmpty"])(e.value)}ph(Ah,gh,{name:ke["FILTERS_CONDITIONS_EMPTY"],inputsCount:0,showOperators:!0});const _h="not_empty";function bh(e,t){return!dh(Ah,t)(e)}ph(_h,bh,{name:ke["FILTERS_CONDITIONS_NOT_EMPTY"],inputsCount:0,showOperators:!0});const vh="eq";function wh(e,t){let[n]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale)===Object(h["stringify"])(n)}ph(vh,wh,{name:ke["FILTERS_CONDITIONS_EQUAL"],inputsCount:1,showOperators:!0});const yh="neq";function Rh(e,t){return!dh(vh,t)(e)}ph(yh,Rh,{name:ke["FILTERS_CONDITIONS_NOT_EQUAL"],inputsCount:1,showOperators:!0});const Mh="gt";function Sh(e,t){let[n]=t,r=n;return"numeric"===e.meta.type&&(r=parseFloat(r,10)),e.value>r}ph(Mh,Sh,{name:ke["FILTERS_CONDITIONS_GREATER_THAN"],inputsCount:1,showOperators:!0});const Eh="gte";function Th(e,t){let[n]=t,r=n;return"numeric"===e.meta.type&&(r=parseFloat(r,10)),e.value>=r}ph(Eh,Th,{name:ke["FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL"],inputsCount:1,showOperators:!0});const Ch="lt";function Oh(e,t){let[n]=t,r=n;return"numeric"===e.meta.type&&(r=parseFloat(r,10)),e.value<r}ph(Ch,Oh,{name:ke["FILTERS_CONDITIONS_LESS_THAN"],inputsCount:1,showOperators:!0});const xh="lte";function Nh(e,t){let[n]=t,r=n;return"numeric"===e.meta.type&&(r=parseFloat(r,10)),e.value<=r}ph(xh,Nh,{name:ke["FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL"],inputsCount:1,showOperators:!0});const Lh="date_after";function Ih(e,t){let[n]=t;const r=N(e.value,e.meta.dateFormat),i=N(n,e.meta.dateFormat);return!(!r.isValid()||!i.isValid())&&r.diff(i)>=0}ph(Lh,Ih,{name:ke["FILTERS_CONDITIONS_AFTER"],inputsCount:1,showOperators:!0});const Ph="date_before";function Dh(e,t){let[n]=t;const r=N(e.value,e.meta.dateFormat),i=N(n,e.meta.dateFormat);return!(!r.isValid()||!i.isValid())&&r.diff(i)<=0}ph(Ph,Dh,{name:ke["FILTERS_CONDITIONS_BEFORE"],inputsCount:1,showOperators:!0});const Fh="between";function kh(e,t){let[n,r]=t,i=n,o=r;if("numeric"===e.meta.type){const e=parseFloat(i,10),t=parseFloat(o,10);i=Math.min(e,t),o=Math.max(e,t)}else if("date"===e.meta.type){const t=dh(Ph,[o]),n=dh(Lh,[i]);return t(e)&&n(e)}return e.value>=i&&e.value<=o}ph(Fh,kh,{name:ke["FILTERS_CONDITIONS_BETWEEN"],inputsCount:2,showOperators:!0});const Bh="not_between";function Uh(e,t){return!dh(Fh,t)(e)}ph(Bh,Uh,{name:ke["FILTERS_CONDITIONS_NOT_BETWEEN"],inputsCount:2,showOperators:!0});const Hh="begins_with";function jh(e,t){let[n]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).startsWith(Object(h["stringify"])(n))}ph(Hh,jh,{name:ke["FILTERS_CONDITIONS_BEGINS_WITH"],inputsCount:1,showOperators:!0});const Vh="ends_with";function Wh(e,t){let[n]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).endsWith(Object(h["stringify"])(n))}ph(Vh,Wh,{name:ke["FILTERS_CONDITIONS_ENDS_WITH"],inputsCount:1,showOperators:!0});const Yh="contains";function Qh(e,t){let[n]=t;return Object(h["stringify"])(e.value).toLocaleLowerCase(e.meta.locale).indexOf(Object(h["stringify"])(n))>=0}ph(Yh,Qh,{name:ke["FILTERS_CONDITIONS_CONTAINS"],inputsCount:1,showOperators:!0});const Xh="not_contains";function Kh(e,t){return!dh(Yh,t)(e)}ph(Xh,Kh,{name:ke["FILTERS_CONDITIONS_NOT_CONTAIN"],inputsCount:1,showOperators:!0});const Gh="date_tomorrow";function Zh(e){const t=N(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(N().subtract(-1,"days").startOf("day"),"d")}ph(Gh,Zh,{name:ke["FILTERS_CONDITIONS_TOMORROW"],inputsCount:0});const zh="date_today";function qh(e){const t=N(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(N().startOf("day"),"d")}ph(zh,qh,{name:ke["FILTERS_CONDITIONS_TODAY"],inputsCount:0});const Jh="date_yesterday";function $h(e){const t=N(e.value,e.meta.dateFormat);return!!t.isValid()&&t.isSame(N().subtract(1,"days").startOf("day"),"d")}ph(Jh,$h,{name:ke["FILTERS_CONDITIONS_YESTERDAY"],inputsCount:0});const ep="numeric",tp="text",np="date",rp={[ep]:[fh,Ns,Ah,_h,Ns,vh,yh,Ns,Mh,Eh,Ch,xh,Fh,Bh],[tp]:[fh,Ns,Ah,_h,Ns,vh,yh,Ns,Hh,Vh,Ns,Yh,Xh],[np]:[fh,Ns,Ah,_h,Ns,vh,yh,Ns,Ph,Lh,Fh,Ns,Gh,zh,Jh]};function ip(e){const t=[];let n=e;return rp[n]||(n=tp),Object(d["arrayEach"])(rp[n],e=>{let n;n=e===Ns?{name:Ns}:Object(s["clone"])(hh(e)),t.push(n)}),t}function op(e,t,n){return(t=sp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sp(e){var t=ap(e,"string");return"symbol"==typeof t?t:t+""}function ap(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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(s["clone"])({className:"",value:"",tagName:"div",children:[],wrapIt:!0})}constructor(e,t){op(this,"hot",void 0),op(this,"eventManager",new Le["a"](this)),op(this,"options",void 0),op(this,"_element",void 0),op(this,"buildState",void 0),this.hot=e,this.options=Object(s["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(ke["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(s["objectEach"])(this.options,(e,n)=>{void 0!==t[n]&&"className"!==n&&"tagName"!==n&&"children"!==n&&(t[n]=this.translateIfPossible(e))}),this._element.appendChild(t),Object(d["arrayEach"])(up,n=>e(t,n))}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,n){fp(e,t),t.set(e,n)}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,n){return e.set(gp(e,t),n),n}function gp(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}Object(s["mixin"])(dp,qo["a"]);var _p=new WeakMap,bp=new WeakSet;class vp extends dp{static get DEFAULTS(){return Object(s["clone"])({placeholder:"",type:"text",tagName:"input",tabIndex:-1})}constructor(e,t){super(e,Object(s["extend"])(vp.DEFAULTS,t)),hp(this,bp),pp(this,_p,void 0),this.registerHooks()}registerHooks(){this.addLocalHook("keyup",e=>gp(bp,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){Mp(e,t),t.add(e)}function Rp(e,t,n){Mp(e,t),t.set(e,n)}function Mp(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Sp(e,t,n){return e.set(Tp(e,t),n),n}function Ep(e,t){return e.get(Tp(e,t))}function Tp(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Cp=new WeakMap,Op=new WeakMap,xp=new WeakMap,Np=new WeakMap,Lp=new WeakMap,Ip=new WeakSet;class Pp extends dp{static get DEFAULTS(){return Object(s["clone"])({className:"htUISelect",wrapIt:!1,tabIndex:-1})}constructor(e,t){super(e,Object(s["extend"])(Pp.DEFAULTS,t)),yp(this,Ip),Rp(this,Cp,null),Rp(this,Op,[]),Rp(this,xp,void 0),Rp(this,Np,void 0),Rp(this,Lp,void 0),this.registerHooks()}getMenu(){return Ep(Cp,this)}registerHooks(){this.addLocalHook("click",()=>Tp(Ip,this,kp).call(this))}setItems(e){Sp(Op,this,this.translateNames(e)),Ep(Cp,this)&&Ep(Cp,this).setMenuItems(Ep(Op,this))}translateNames(e){return Object(d["arrayEach"])(e,e=>{e.name=this.translateIfPossible(e.name)}),e}build(){super.build(),Sp(Cp,this,new oc(this.hot,{className:"htSelectUI htFiltersConditionsMenu",keepInViewport:!1,standalone:!0,container:this.options.menuContainer})),Ep(Cp,this).setMenuItems(Ep(Op,this));const e=new dp(this.hot,{className:"htUISelectCaption"}),t=new dp(this.hot,{className:"htUISelectDropdown"});Sp(xp,this,e),Sp(Np,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)),Ep(Cp,this).addLocalHook("select",e=>Tp(Ip,this,Dp).call(this,e)),Ep(Cp,this).addLocalHook("afterClose",()=>Tp(Ip,this,Fp).call(this)),this.update()}update(){if(!this.isBuilt())return;let e;e=this.options.value?this.options.value.name:Ep(Cp,this).hot.getTranslatedPhrase(ke["FILTERS_CONDITIONS_NONE"]),Ep(Np,this).textContent=e,super.update()}openOptions(){const e=this.element.getBoundingClientRect();Ep(Cp,this)&&(Ep(Cp,this).open(),Ep(Cp,this).setPosition({left:this.hot.isLtr()?e.left-5:e.left-31,top:e.top-1,width:e.width,height:e.height}),Ep(Cp,this).getNavigator().toFirstItem(),Ep(Cp,this).getKeyboardShortcutsCtrl().addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],callback:e=>{this.closeOptions(),this.runLocalHooks("tabKeydown",e)}},{keys:[["Control/Meta","A"]],callback:()=>!1}]))}closeOptions(){Ep(Cp,this)&&Ep(Cp,this).close()}focus(){this.isBuilt()&&this.element.focus()}destroy(){Ep(Cp,this)&&(Ep(Cp,this).destroy(),Sp(Cp,this,null)),Ep(xp,this)&&Ep(xp,this).destroy(),Ep(Lp,this)&&Ep(Lp,this).destroy(),super.destroy()}}function Dp(e){e.name!==Ns&&(this.options.value=e,this.update(),this.runLocalHooks("select",this.options.value))}function Fp(){this.runLocalHooks("afterClose")}function kp(){this.openOptions()}function Bp(e,t){Up(e,t),t.add(e)}function Up(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hp(e,t,n){return(t=jp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jp(e){var t=Vp(e,"string");return"symbol"==typeof t?t:t+""}function Vp(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Wp(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Yp=new WeakSet;class Qp extends ch{constructor(e,t){super(e,{id:t.id,stateless:!1}),Bp(this,Yp),Hp(this,"name",""),Hp(this,"addSeparator",!1),this.name=t.name,this.addSeparator=t.addSeparator,this.elements.push(new Pp(this.hot,{menuContainer:t.menuContainer})),this.elements.push(new vp(this.hot,{placeholder:ke["FILTERS_BUTTONS_PLACEHOLDER_VALUE"]})),this.elements.push(new vp(this.hot,{placeholder:ke["FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE"]})),this.registerHooks()}registerHooks(){this.getSelectElement().addLocalHook("select",e=>Wp(Yp,this,Xp).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=>Wp(Yp,this,Kp).call(this,e))})}setState(e){if(this.reset(),!e)return;const t=Object(s["clone"])(e.command);t.name.startsWith(ke["FILTERS_CONDITIONS_NAMESPACE"])&&(t.name=this.hot.getTranslatedPhrase(t.name)),this.getSelectElement().setValue(t),Object(d["arrayEach"])(e.args,(e,n)=>{if(n>t.inputsCount-1)return!1;const r=this.getInputElement(n);r.setValue(e),r[t.inputsCount>n?"show":"hide"](),n||this.hot._registerTimeout(()=>r.focus(),10)})}getState(){const e=this.getSelectElement().getValue()||hh(fh),t=[];return Object(d["arrayEach"])(this.getInputElements(),(n,r)=>{e.inputsCount>r&&t.push(n.getValue())}),{command:e,args:t}}updateState(e,t){const n=hh(e?e.name:fh);this.state.setValueAtIndex(t,{command:n,args:e?e.args:[]}),e||Object(d["arrayEach"])(this.getInputElements(),e=>e.setValue(null))}getSelectElement(){return this.elements.filter(e=>e instanceof Pp)[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 vp)}getMenuItemDescriptor(){return{key:this.id,name:this.name,isCommand:!1,disableSelection:!0,hidden:()=>this.isHidden(),renderer:(e,t,n,r,o,s)=>{Object(i["addClass"])(t.parentNode,"htFiltersMenuCondition"),this.addSeparator&&Object(i["addClass"])(t.parentNode,"border");const a=this.hot.rootDocument.createElement("div");return Object(i["addClass"])(a,"htFiltersMenuLabel"),a.textContent=s,t.appendChild(a),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:n}=e;t=ip(this.hot.getDataType(0,n,this.hot.countRows(),n))}Object(d["arrayEach"])(this.getInputElements(),e=>e.hide()),this.getSelectElement().setItems(t),super.reset(),this.getSelectElement().setValue(t[0])}}function Xp(e){Object(d["arrayEach"])(this.getInputElements(),(t,n)=>{t[e.inputsCount>n?"show":"hide"](),0===n&&this.hot._registerTimeout(()=>t.focus(),10)}),this.runLocalHooks("change",e)}function Kp(e){Object(f["isKey"])(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(o["stopImmediatePropagation"])(e))}const Gp={};function Zp(e){if(!Gp[e])throw Error(`Operation with id "${e}" does not exist.`);const t=Gp[e].func;return function(e,n){return t(e,n)}}function zp(e){return Gp[e].name}function qp(e,t,n){Gp[e]={name:t,func:n}}const Jp="conjunction",$p=ke["FILTERS_LABELS_CONJUNCTION"];function ef(e,t){return e.every(e=>e.func(t))}qp(Jp,$p,ef);const tf="disjunction",nf=ke["FILTERS_LABELS_DISJUNCTION"];function rf(e,t){return e.some(e=>e.func(t))}qp(tf,nf,rf);const of="disjunctionWithExtraCondition",sf=ke["FILTERS_LABELS_DISJUNCTION"];function af(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,n){cf(e,t),t.set(e,n)}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,n){return e.set(hf(e,t),n),n}function hf(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}qp(of,sf,af);var pf=new WeakMap,ff=new WeakMap;class mf extends dp{static get DEFAULTS(){return Object(s["clone"])({type:"radio",tagName:"input",className:"htUIRadio",label:{}})}constructor(e,t){super(e,Object(s["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,n){return(t=bf(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bf(e){var t=vf(e,"string");return"symbol"==typeof t?t:t+""}function vf(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function wf(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const yf=0;var Rf=new WeakSet;class Mf extends ch{constructor(e,t){super(e,{id:t.id,stateless:!1}),Af(this,Rf),_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=[Jp,tf];Object(d["arrayEach"])(e,t=>{const n=new mf(this.hot,{name:"operator",label:{htmlFor:t,textContent:zp(t)},value:t,checked:t===e[yf],id:t});n.addLocalHook("change",e=>wf(Rf,this,Sf).call(this,e)),this.elements.push(n)})}setChecked(e){if(this.elements.length<e)throw Error(Do["a"]`Radio button with index ${e} doesn't exist.`);Object(d["arrayEach"])(this.elements,(t,n)=>{t.setChecked(n===e)})}getActiveOperationId(){const e=this.elements.find(e=>e instanceof mf&&e.isChecked());return e?e.getValue():Jp}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]:Jp,t=arguments.length>1?arguments[1]:void 0,n=e;n===of&&(n=tf),this.state.setValueAtIndex(t,n)}reset(){this.setChecked(yf)}}function Sf(e){this.setState(e.target.value)}Object(en["getComparisonFunction"])();function Ef(e,t){let n=e;return""===n&&(n=`(${t})`),n}const Tf=new Set([1]).has(1),Cf=Tf&&"function"===typeof Array.from;function Of(e){let t=e;return Tf&&(t=new Set(t)),function(e){let n;return n=Tf?t.has(e):!!~t.indexOf(e),n}}function xf(e){return null===e||void 0===e?"":e}function Nf(e){let t=e;return t=Cf?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,n,r){const i=[],o=e===t;let s;return o||(s=Of(t)),Object(d["arrayEach"])(e,e=>{let t=!1;(o||s(e))&&(t=!0);const a={checked:t,value:e,visualValue:Ef(e,n)};r&&r(a),i.push(a)}),i}var If=n("480c");function Pf(e,t,n){Df(e,t),t.set(e,n)}function Df(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ff(e,t){return e.get(Bf(e,t))}function kf(e,t,n){return e.set(Bf(e,t),n),n}function Bf(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Uf=new WeakMap;class Hf extends dp{static get DEFAULTS(){return Object(s["clone"])({href:"#",tagName:"a",tabIndex:-1,role:"button"})}constructor(e,t){super(e,Object(s["extend"])(Hf.DEFAULTS,t)),Pf(this,Uf,void 0)}build(){super.build(),kf(Uf,this,this._element.firstChild)}update(){this.isBuilt()&&(Ff(Uf,this).textContent=this.translateIfPossible(this.options.textContent))}focus(){this.isBuilt()&&Ff(Uf,this).focus()}activate(){Ff(Uf,this).click()}}function jf(e,t){Wf(e,t),t.add(e)}function Vf(e,t,n){Wf(e,t),t.set(e,n)}function Wf(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Yf(e,t){return e.get(Xf(e,t))}function Qf(e,t,n){return e.set(Xf(e,t),n),n}function Xf(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const Kf="multipleSelect.itemBox";var Gf=new WeakMap,Zf=new WeakMap,zf=new WeakMap,qf=new WeakMap,Jf=new WeakMap,$f=new WeakMap,em=new WeakSet;class tm extends dp{static get DEFAULTS(){return Object(s["clone"])({className:"htUIMultipleSelect",value:[]})}constructor(e,t){super(e,Object(s["extend"])(tm.DEFAULTS,t)),jf(this,em),Vf(this,Gf,[]),Vf(this,Zf,void 0),Vf(this,zf,void 0),Vf(this,qf,void 0),Vf(this,Jf,void 0),Vf(this,$f,void 0),Qf(qf,this,new vp(this.hot,{placeholder:ke["FILTERS_BUTTONS_PLACEHOLDER_SEARCH"],className:"htUIMultipleSelectSearch"})),Qf(Jf,this,new Hf(this.hot,{textContent:ke["FILTERS_BUTTONS_SELECT_ALL"],className:"htUISelectAll"})),Qf($f,this,new Hf(this.hot,{textContent:ke["FILTERS_BUTTONS_CLEAR"],className:"htUIClearAll"})),this.registerHooks()}getItemsBox(){return Yf(Zf,this)}registerHooks(){Yf(qf,this).addLocalHook("keydown",e=>Xf(em,this,rm).call(this,e)),Yf(qf,this).addLocalHook("input",e=>Xf(em,this,nm).call(this,e)),Yf(Jf,this).addLocalHook("click",e=>Xf(em,this,im).call(this,e)),Yf($f,this).addLocalHook("click",e=>Xf(em,this,om).call(this,e))}setItems(e){var t;Qf(Gf,this,e),null===(t=Yf(Zf,this))||void 0===t||t.loadData(Yf(Gf,this))}setLocale(e){Qf(zf,this,e)}getLocale(){return Yf(zf,this)}getItems(){return[...Yf(Gf,this)]}getValue(){return am(Yf(Gf,this))}getSearchInputElement(){return Yf(qf,this)}getSelectAllElement(){return Yf(Jf,this)}getClearAllElement(){return Yf($f,this)}isSelectedAllValues(){return Yf(Gf,this).length===this.getValue().length}build(){super.build();const{rootDocument:e}=this.hot,t=e.createElement("div"),n=new dp(this.hot,{className:"htUISelectionControls",children:[Yf(Jf,this),Yf($f,this)]});this._element.appendChild(Yf(qf,this).element),this._element.appendChild(n.element),this._element.appendChild(t);const r=t=>{var n;if(!this._element)return;null===(n=Yf(Zf,this))||void 0===n||n.destroy(),Object(i["addClass"])(t,"htUIMultipleSelectHot"),Qf(Zf,this,new this.hot.constructor(t,{data:Yf(Gf,this),columns:[{data:"checked",type:"checkbox",label:{property:"visualValue",position:"after"}}],beforeRenderer:(e,t,n,r,i,o)=>{e.title=o.instance.getDataAtRowProp(t,o.label.property)},afterListen:()=>{this.runLocalHooks("focus",this)},beforeOnCellMouseUp:()=>{Yf(Zf,this).listen()},colWidths:()=>Yf(Zf,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"})),Yf(Zf,this).init();const r=Yf(Zf,this).getShortcutManager(),o=r.getContext("grid");o.removeShortcutsByKeys(["Tab"]),o.removeShortcutsByKeys(["Shift","Tab"]),o.addShortcut({keys:[["Escape"]],callback:e=>{this.runLocalHooks("keydown",e,this)},group:Kf}),o.addShortcut({keys:[["Tab"],["Shift","Tab"]],callback:e=>{Yf(Zf,this).deselectCell(),this.runLocalHooks("keydown",e,this),this.runLocalHooks("listTabKeydown",e,this)},group:Kf})};r(t),this.hot._registerTimeout(()=>r(t),100)}focus(){this.isBuilt()&&Yf(Zf,this).listen()}reset(){Yf(qf,this).reset(),Yf(Jf,this).reset(),Yf($f,this).reset()}update(){this.isBuilt()&&(Yf(Zf,this).loadData(sm(Yf(Gf,this),this.options.value)),super.update())}destroy(){var e;null===(e=Yf(Zf,this))||void 0===e||e.destroy(),Yf(qf,this).destroy(),Yf($f,this).destroy(),Yf(Jf,this).destroy(),Qf(qf,this,null),Qf($f,this,null),Qf(Jf,this,null),Qf(Zf,this,null),Qf(Gf,this,null),super.destroy()}}function nm(e){const t=e.target.value.toLocaleLowerCase(this.getLocale());let n;n=""===t?[...Yf(Gf,this)]:Yf(Gf,this).filter(e=>(""+e.value).toLocaleLowerCase(this.getLocale()).indexOf(t)>=0),Yf(Zf,this).loadData(n)}function rm(e){this.runLocalHooks("keydown",e,this);const t=Object(mi["partial"])(f["isKey"],e.keyCode);t("ARROW_DOWN")&&(e.preventDefault(),Object(o["stopImmediatePropagation"])(e),Yf(Zf,this).listen(),Yf(Zf,this).selectCell(0,0))}function im(e){const t=[];e.preventDefault(),Yf(Zf,this).getSourceData().forEach((e,n)=>{e.checked=!0,t.push(Object(If["dataRowToChangesArray"])(e,n)[0])}),Yf(Zf,this).setSourceDataAtCell(t)}function om(e){const t=[];e.preventDefault(),Yf(Zf,this).getSourceData().forEach((e,n)=>{e.checked=!1,t.push(Object(If["dataRowToChangesArray"])(e,n)[0])}),Yf(Zf,this).setSourceDataAtCell(t)}function sm(e,t){const n=Of(t);return e.map(e=>(e.checked=n(e.value),e))}function am(e){const t=[];return e.forEach(e=>{e.checked&&t.push(e.value)}),t}const lm="by_value";function cm(e,t){let[n]=t;return n(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,n){return(t=pm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function mm(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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,bm).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,n,r,i,o)=>{const[s]=Object(d["arrayFilter"])(n,e=>e.name===lm),a={},l=this.hot.getTranslatedPhrase(ke["FILTERS_VALUES_BLANK_CELLS"]);if(s){const n=i(t,o),c=Object(d["arrayMap"])(n,e=>e.value),u=new Map(n.map(e=>[e.value,this.hot.getCellMeta(e.meta.visualRow,e.meta.visualCol)])),h=Nf(c);r&&(s.args[0]=r);const p=[],f=Lf(h,s.args[0],l,e=>{e.checked&&p.push(e.value),mm(gm,this,vm).call(this,e,u)}),m=e.editedConditionStack.column;a.locale=this.hot.getCellMeta(0,m).locale,a.args=[p],a.command=hh(lm),a.itemsSnapshot=f}else a.args=[],a.command=hh(fh);this.state.setValueAtIndex(t,a)};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,n,r,o,s)=>{Object(i["addClass"])(t.parentNode,"htFiltersMenuValue");const a=this.hot.rootDocument.createElement("div");return Object(i["addClass"])(a,"htFiltersMenuLabel"),a.textContent=s,t.appendChild(a),t.parentElement.hasAttribute("ghost-table")||Object(d["arrayEach"])(this.elements,e=>t.appendChild(e.element)),t}}}reset(){const e=this.hot.getTranslatedPhrase(ke["FILTERS_VALUES_BLANK_CELLS"]),t=this._getColumnVisibleValues(),n=t.map(e=>e.value),r=new Map(t.map(e=>[e.value,e.meta])),i=Nf(n),o=Lf(i,i,e,e=>{mm(gm,this,vm).call(this,e,r)});this.getMultipleSelectElement().setItems(o),super.reset(),this.getMultipleSelectElement().setValue(i);const s=this.hot.getPlugin("filters").getSelectedColumn();null!==s&&this.getMultipleSelectElement().setLocale(this.hot.getCellMeta(0,s.visualIndex).locale)}_getColumnVisibleValues(){const e=this.hot.getPlugin("filters").getSelectedColumn();return null===e?[]:Object(d["arrayMap"])(this.hot.getDataAtCol(e.visualIndex),(t,n)=>({value:xf(t),meta:this.hot.getCellMeta(n,e.visualIndex)}))}}function bm(e){Object(f["isKey"])(e.keyCode,"ESCAPE")&&(this.runLocalHooks("cancel"),Object(o["stopImmediatePropagation"])(e))}function vm(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){Rm(e,t),t.add(e)}function Rm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Mm(e,t,n){return(t=Sm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sm(e){var t=Em(e,"string");return"symbol"==typeof t?t:t+""}function Em(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Tm(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Cm=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,Cm),Mm(this,"name",""),this.name=t.name,this.elements.push(new vp(this.hot,{type:"button",value:ke["FILTERS_BUTTONS_OK"],className:"htUIButton htUIButtonOK",identifier:Om.BUTTON_OK})),this.elements.push(new vp(this.hot,{type:"button",value:ke["FILTERS_BUTTONS_CANCEL"],className:"htUIButton htUIButtonCancel",identifier:Om.BUTTON_CANCEL})),this.registerHooks()}registerHooks(){Object(d["arrayEach"])(this.elements,e=>{e.addLocalHook("click",(e,t)=>Tm(Cm,this,xm).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 xm(e,t){t.options.identifier===Am.BUTTON_OK?this.accept():this.cancel()}function Nm(e,t,n){return(t=Lm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Am=Om;const Pm="ConditionCollection.filteringStates";class Dm{constructor(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Nm(this,"hot",void 0),Nm(this,"isMapRegistrable",void 0),Nm(this,"filteringStates",new gi["a"]),Nm(this,"previousConditionStack",null),this.hot=e,this.isMapRegistrable=t,!0===this.isMapRegistrable?this.hot.columnIndexMapper.registerMap(Pm,this.filteringStates):this.filteringStates.init(this.hot.columnIndexMapper.getNumberOfIndexes())}isEmpty(){return 0===this.getFilteredColumns().length}isMatch(e,t){var n;const r=this.filteringStates.getValueAtIndex(t),i=null!==(n=null===r||void 0===r?void 0:r.conditions)&&void 0!==n?n:[],o=null===r||void 0===r?void 0:r.operation;return this.isMatchInConditions(i,e,o)}isMatchInConditions(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jp;return!e.length||Zp(n)(e,t)}addCondition(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jp,r=arguments.length>3?arguments[3]:void 0;const i=this.hot.getCellMeta(0,e).locale,o=Object(d["arrayMap"])(t.args,e=>"string"===typeof e?e.toLocaleLowerCase(i):e),s=t.name||t.command.key;null===this.previousConditionStack&&this.setPreviousConditionStack(this.exportAllConditions()),this.runLocalHooks("beforeAdd",e);const a=this.getOperation(e);if(a){if(a!==n)throw Error(Do["a"]`The column of index ${e} has been already applied with a \`${a}\`\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[n]))throw new Error(Do["a"]`Unexpected operation named \`${n}\`. Possible ones are\x20
  490. \`disjunction\` and \`conjunction\`.`);const l=this.getConditions(e);0===l.length?this.filteringStates.setValueAtIndex(e,{operation:n,conditions:[{name:s,args:o,func:dh(s,o)}]},r):l.push({name:s,args:o,func:dh(s,o)}),this.runLocalHooks("afterAdd",e)}getConditions(e){var t,n;return null!==(t=null===(n=this.filteringStates.getValueAtIndex(e))||void 0===n?void 0:n.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[n,{operation:r,conditions:i}]=t;return e.push({column:n,operation:r,conditions:Object(d["arrayMap"])(i,e=>{let{name:t,args:n}=e;return{name:t,args:n}})}),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 n=this.getConditions(e);return t?n.some(e=>e.name===t):n.length>0}setPreviousConditionStack(e){this.previousConditionStack=e}destroy(){this.isMapRegistrable&&this.hot.columnIndexMapper.unregisterMap(Pm),this.filteringStates=null,this.clearLocalHooks()}}Object(s["mixin"])(Dm,qo["a"]);var Fm=Dm;function km(e,t,n){return(t=Bm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bm(e){var t=Um(e,"string");return"symbol"==typeof t?t:t+""}function Um(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Hm{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>[];km(this,"conditionCollection",void 0),km(this,"columnDataFactory",void 0),this.conditionCollection=e,this.columnDataFactory=t}filter(){let e=[];return Object(d["arrayEach"])(this.conditionCollection.getFilteredColumns(),(t,n)=>{let r=this.columnDataFactory(t);n&&(r=this._getIntersectData(r,e)),e=this.filterByColumn(t,r)}),e}filterByColumn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=[];return Object(d["arrayEach"])(t,t=>{void 0!==t&&this.conditionCollection.isMatch(t,e)&&n.push(t)}),n}_getIntersectData(e,t){const n=[];return Object(d["arrayEach"])(t,t=>{const r=t.meta.visualRow;void 0!==e[r]&&(n[r]=e[r])}),n}}var jm=Hm;function Vm(e,t){Wm(e,t),t.add(e)}function Wm(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ym(e,t,n){return(t=Qm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qm(e){var t=Xm(e,"string");return"symbol"==typeof t?t:t+""}function Xm(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Km(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Gm=new WeakSet;class Zm{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[];Vm(this,Gm),Ym(this,"hot",void 0),Ym(this,"conditionCollection",void 0),Ym(this,"columnDataFactory",void 0),Ym(this,"changes",[]),Ym(this,"grouping",!1),Ym(this,"latestEditedColumnPosition",-1),Ym(this,"latestOrderStack",[]),this.hot=e,this.conditionCollection=t,this.columnDataFactory=n,this.conditionCollection.addLocalHook("beforeRemove",e=>Km(Gm,this,zm).call(this,e)),this.conditionCollection.addLocalHook("afterRemove",e=>this.updateStatesAtColumn(e)),this.conditionCollection.addLocalHook("afterAdd",e=>this.updateStatesAtColumn(e)),this.conditionCollection.addLocalHook("beforeClean",()=>Km(Gm,this,qm).call(this)),this.conditionCollection.addLocalHook("afterClean",()=>Km(Gm,this,Jm).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 n=this;if(this.grouping)return void(-1===this.changes.indexOf(e)&&this.changes.push(e));const r=this.conditionCollection.exportAllConditions();let i=this.conditionCollection.getColumnStackPosition(e);-1===i&&(i=this.latestEditedColumnPosition);const o=r.slice(0,i),s=r.slice(i);s.length&&s[0].column===e&&s.shift();const a=Object(mi["curry"])((function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const i=new Fm(n.hot,!1),o=[].concat(e,r);i.importAllConditions(o);const s=n.columnDataFactory(t);let a;a=i.isEmpty()?s:new jm(i,e=>n.columnDataFactory(e)).filter(),a=Object(d["arrayMap"])(a,e=>e.meta.visualRow);const l=Of(a);return i.destroy(),Object(d["arrayFilter"])(s,e=>l(e.meta.visualRow))}))(o),l=[].concat(this.conditionCollection.getConditions(e));this.runLocalHooks("update",{editedConditionStack:{column:e,conditions:l},dependentConditionStacks:s,filteredRowsFactory:a,conditionArgsChange:t})}destroy(){this.clearLocalHooks(),Object(s["objectEach"])(this,(e,t)=>{this[t]=null})}}function zm(e){this.latestEditedColumnPosition=this.conditionCollection.getColumnStackPosition(e)}function qm(){this.latestOrderStack=this.conditionCollection.getFilteredColumns()}function Jm(){Object(d["arrayEach"])(this.latestOrderStack,e=>{this.updateStatesAtColumn(e)})}Object(s["mixin"])(Zm,qo["a"]);var $m=Zm;function eA(e){const t=Sl({initialPage:0,size:()=>e.length,onItemSelect:(t,n)=>{const r=e[t];return r instanceof tm?n:!(r.element&&!Object(i["isVisible"])(r.element))&&void r.focus()}});return t}const tA="filters";function nA(e,t){let n=-1;const r=eA(t),i=n=>()=>{e.isOpened()&&e.getKeyboardShortcutsCtrl().listen(tA),r.setCurrentPage(t.indexOf(n))};function o(i){const o=e.getKeyboardShortcutsCtrl(),s=i.getKeyboardShortcutsCtrl();r.clear(),s.addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],forwardToContext:o.getContext(tA),callback:()=>{i.isSubMenu()&&i.close(),o.listen(tA)}}]),i.isSubMenu()||o.addCustomShortcuts([{keys:[["Tab"],["Shift","Tab"]],callback:t=>{const i=e.getNavigator();i.getCurrentPage()>-1&&(n=i.getCurrentPage()),i.clear(),t.shiftKey?r.toPreviousItem():r.toNextItem()}},{keys:[["Escape"]],callback:()=>{e.close()}},{keys:[["Enter"],["Space"]],preventDefault:!1,callback:e=>{const n=t[r.getCurrentPage()];n instanceof Pp&&(n.openOptions(),e.preventDefault()),n instanceof Hf&&(n.activate(),e.preventDefault()),n instanceof dp||e.preventDefault()}}],tA)}function s(){e.focus(),e.getKeyboardShortcutsCtrl().listen(tA)}function a(){return n}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_")||r.clear()}),e.addLocalHook("afterSubmenuOpen",o),e.addLocalHook("afterOpen",o),{...r,listen:s,getLastMenuPage:a}}var rA=n("00fd");function iA(e,t){sA(e,t),t.add(e)}function oA(e,t,n){sA(e,t),t.set(e,n)}function sA(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function aA(e,t,n){return(t=lA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function uA(e,t,n){return e.set(hA(e,t),n),n}function dA(e,t){return e.get(hA(e,t))}function hA(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 $t["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),aA(this,"dropdownMenuPlugin",null),aA(this,"conditionCollection",null),aA(this,"conditionUpdateObserver",null),aA(this,"components",new Map([["filter_by_condition",null],["filter_operators",null],["filter_by_condition2",null],["filter_by_value",null],["filter_action_bar",null]])),aA(this,"filtersRowsMap",null),oA(this,AA,void 0),this.hot.addHook("afterGetColHeader",(e,t)=>hA(gA,this,EA).call(this,e,t))}isEnabled(){return!!this.hot.getSettings()[pA]}enablePlugin(){if(this.enabled)return;this.filtersRowsMap=this.hot.rowIndexMapper.registerMap(this.pluginName,new rA["a"]),this.dropdownMenuPlugin=this.hot.getPlugin("dropdownMenu");const e=this.hot.getSettings().dropdownMenu,t=e&&e.uiContainer||this.hot.rootDocument.body,n=e=>(e.addLocalHook("accept",()=>hA(gA,this,RA).call(this,"accept")),e.addLocalHook("cancel",()=>hA(gA,this,RA).call(this,"cancel")),e.addLocalHook("change",t=>hA(gA,this,MA).call(this,e,t)),e),r=()=>this.hot.getTranslatedPhrase(ke["FILTERS_DIVS_FILTER_BY_CONDITION"])+":",i=()=>this.hot.getTranslatedPhrase(ke["FILTERS_DIVS_FILTER_BY_VALUE"])+":";if(!this.components.get("filter_by_condition")){const e=new Qp(this.hot,{id:"filter_by_condition",name:r,addSeparator:!1,menuContainer:t});e.addLocalHook("afterClose",()=>hA(gA,this,SA).call(this)),this.components.set("filter_by_condition",n(e))}if(this.components.get("filter_operators")||this.components.set("filter_operators",new Mf(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",n(e))}if(this.components.get("filter_by_value")||this.components.set("filter_by_value",n(new _m(this.hot,{id:"filter_by_value",name:i}))),this.components.get("filter_action_bar")||this.components.set("filter_action_bar",n(new Om(this.hot,{id:"filter_action_bar",name:"Action bar"}))),this.conditionCollection||(this.conditionCollection=new Fm(this.hot)),this.conditionUpdateObserver||(this.conditionUpdateObserver=new $m(this.hot,this.conditionCollection,e=>this.getDataMapAtColumn(e)),this.conditionUpdateObserver.addLocalHook("update",e=>hA(gA,this,TA).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,vA).call(this)),this.addHook("afterDropdownMenuHide",()=>hA(gA,this,wA).call(this)),this.addHook("afterChange",e=>hA(gA,this,bA).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(),n=dA(AA,this).getLastMenuPage();e.focus(),n>0?t.setCurrentPage(n):t.toFirstItem()}},...Array.from(this.components).map(e=>{let[,t]=e;return t.getElements()}).flat()];uA(AA,this,nA(e,t));const n=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",n),this.components.get("filter_by_condition").addLocalHook("selectTabKeydown",n)}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,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Jp;const i=this.hot.toPhysicalColumn(e);this.conditionCollection.addCondition(i,{command:{key:t},args:n},r)}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(),n=!this.conditionCollection.isEmpty();let r=[];const i=this.conditionCollection.exportAllConditions(),o=this.hot.runHooks("beforeFilter",i,this.conditionCollection.previousConditionStack);if(!1!==o)if(n){const n=[];this.hot.batchExecution(()=>{this.filtersRowsMap.clear(),r=Object(d["arrayMap"])(t.filter(),e=>e.meta.visualRow);const e=Of(r);Object(nt["rangeEach"])(this.hot.countSourceRows()-1,t=>{e(t)||n.push(t)}),Object(d["arrayEach"])(n,e=>{this.filtersRowsMap.setValueAtIndex(e,!0)})},!0),e||r.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),n=[];return Object(d["arrayEach"])(this.hot.getSourceDataAtCol(t),(e,r)=>{var i;const{row:o,col:s,visualCol:a,visualRow:l,type:c,instance:u,dateFormat:d,locale:h}=this.hot.getCellMeta(r,t),p=null!==(i=this.hot.getDataAtCell(this.hot.toVisualRow(r),t))&&void 0!==i?i:e;n.push({meta:{row:o,col:s,visualCol:a,visualRow:l,type:c,instance:u,dateFormat:d,locale:h},value:xf(p)})}),n}updateValueComponentCondition(e){const t=this.hot.getDataAtCol(e),n=Nf(t);this.conditionUpdateObserver.updateStatesAtColumn(e,n)}restoreComponents(e){var t;const n=null===(t=this.getSelectedColumn())||void 0===t?void 0:t.physicalIndex;e.forEach(e=>{e.isHidden()||e.restoreState(n)}),this.updateDependentComponentsVisibility()}getOperationBasedOnArguments(e,t,n,r){let i=e;return i===tf&&t.command.key!==fh&&n.command.key!==fh&&r.command.key!==fh?i=of:r.command.key!==fh&&(t.command.key!==fh&&n.command.key!==fh||(i=Jp)),i}setListeningDropdownMenu(){this.dropdownMenuPlugin&&this.dropdownMenuPlugin.setListening()}updateDependentComponentsVisibility(){const e=this.components.get("filter_by_condition"),{command:t}=e.getState(),n=[this.components.get("filter_by_condition2"),this.components.get("filter_operators")];t.showOperators?this.showComponents(...n):this.hideComponents(...n)}_createDataFilter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.conditionCollection;return new jm(e,e=>this.getDataMapAtColumn(e))}getIndexesOfComponents(){const e=[];if(!this.dropdownMenuPlugin)return e;const t=this.dropdownMenuPlugin.menu;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Object(d["arrayEach"])(r,n=>{Object(d["arrayEach"])(t.menuItems,(t,r)=>{t.key===n.getMenuItemDescriptor().key&&e.push(r)})}),e}changeComponentsVisibility(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.dropdownMenuPlugin)return;const t=this.dropdownMenuPlugin.menu,n=t.hotMenu,r=n.getPlugin("hiddenRows");for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];const a=this.getIndexesOfComponents(...o);e?r.showRows(a):r.hideRows(a),n.render()}hideComponents(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.changeComponentsVisibility(!1,...t)}showComponents(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];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 bA(e){e&&Object(d["arrayEach"])(e,e=>{const[,t]=e,n=this.hot.propToCol(t);this.conditionCollection.hasConditions(n)&&this.updateValueComponentCondition(n)})}function vA(){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:Ns}),this.components.forEach(t=>{e.items.push(t.getMenuItemDescriptor())})}function RA(e){var t;if("accept"===e){const e=this.getSelectedColumn();var n;if(null===e)return void(null===(n=this.dropdownMenuPlugin)||void 0===n||n.close());const{physicalIndex:t}=e,r=this.components.get("filter_by_condition").getState(),i=this.components.get("filter_by_condition2").getState(),o=this.components.get("filter_by_value").getState(),s=this.getOperationBasedOnArguments(this.components.get("filter_operators").getActiveOperationId(),r,i,o);this.conditionUpdateObserver.groupChanges();let a=this.conditionCollection.getColumnStackPosition(t);-1===a&&(a=void 0),this.conditionCollection.removeConditions(t),r.command.key!==fh&&(this.conditionCollection.addCondition(t,r,s,a),i.command.key!==fh&&this.conditionCollection.addCondition(t,i,s,a)),o.command.key!==fh&&this.conditionCollection.addCondition(t,o,s,a),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 MA(e,t){this.updateDependentComponentsVisibility(),e.constructor!==Qp||t.inputsCount||this.setListeningDropdownMenu()}function SA(){this.setListeningDropdownMenu()}function EA(e,t){const n=this.hot.toPhysicalColumn(e);this.enabled&&this.conditionCollection.hasConditions(n)?Object(i["addClass"])(t,"htFiltersActive"):Object(i["removeClass"])(t,"htFiltersActive")}function TA(e){var t;if(null===(t=this.dropdownMenuPlugin)||void 0===t||!t.enabled)return;const{editedConditionStack:{conditions:n,column:r}}=e,i=n.filter(e=>e.name===lm),o=n.filter(e=>e.name!==lm);if(i.length>=2||o.length>=3)Object(Xr["b"])(Do["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(r);this.components.get("filter_by_condition").updateState(o[0],r),this.components.get("filter_by_condition2").updateState(o[1],r),this.components.get("filter_operators").updateState(t,r),this.components.get("filter_by_value").updateState(e)}}n("e9c4");const CA="internal-use-in-handsontable",OA={licenseKey:CA,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 xA(e){var t;return{maxColumns:e.maxColumns,maxRows:e.maxRows,language:null===(t=e[jg])||void 0===t||null===(t=t.language)||void 0===t?void 0:t.langCode}}function NA(e){return Object.keys(e).reduce((t,n)=>("hyperformula"!==n&&(t[n]=e[n]),t),{})}function LA(e){var t;const n=e[jg],r=NA(null!==n&&void 0!==n&&null!==(t=n.engine)&&void 0!==t&&t.hyperformula?n.engine:{}),i=xA(e);return{...OA,...r,...i}}function IA(e){var t;const n=e[jg],r=NA(null!==n&&void 0!==n&&null!==(t=n.engine)&&void 0!==t&&t.hyperformula?n.engine:{}),i=xA(e);return{...r,...i}}function PA(e,t){return Object.keys(t).some(n=>void 0!==t[n]&&t[n]!==e[n])}function DA(){const e="engine_relationship",t=Object(Fi["a"])(jg);return t.hasItem(e)||t.register(e,new Map),t.getItem(e)}function FA(){const e="shared_engine_usage",t=Object(Fi["a"])(jg);return t.hasItem(e)||t.register(e,new Map),t.getItem(e)}function kA(e){const t=e.getSettings(),n=t[jg],r=null===n||void 0===n?void 0:n.engine;if(!0===n)return null;if(Object(h["isUndefined"])(r))return null;var i;if("function"===typeof r.hyperformula||"function"===typeof r)return BA(null!==(i=r.hyperformula)&&void 0!==i?i:r,t,e);if("object"===typeof r&&Object(h["isUndefined"])(r.hyperformula)){const t=DA(),n=FA().get(r);return t.has(r)||t.set(r,[]),t.get(r).push(e),n&&n.push(e.guid),r.getConfig().licenseKey||r.updateConfig({licenseKey:CA}),r.getConfig().leapYear1900===OA.leapYear1900&&!1!==Object(s["isObjectEqual"])(r.getConfig().nullDate,OA.nullDate)||Object(Xr["b"])(Do["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.`),r}return null}function BA(e,t,n){const r=t[jg],i=LA(t),o=DA(),s=FA();jA(e,r.functions),VA(e,r.language);const a=e.buildEmpty(i);return o.set(a,[n]),s.set(a,[n.guid]),WA(a,r.namedExpressions),a.on("sheetAdded",()=>{a.rebuildAndRecalculate()}),a.on("sheetRemoved",()=>{a.rebuildAndRecalculate()}),a}function UA(e){var t;const n=DA(),r=0===n.size?[]:Array.from(null!==(t=n.get(e))&&void 0!==t?t:[]);return new Map(r.map(e=>[e.getPlugin("formulas").sheetId,e]))}function HA(e,t){if(e){const n=DA(),r=n.get(e),i=FA(),o=i.get(e);r&&r.includes(t)&&(r.splice(r.indexOf(t),1),0===r.length&&n.delete(e)),o&&o.includes(t.guid)&&(o.splice(o.indexOf(t.guid),1),0===o.length&&(i.delete(e),e.destroy()))}}function jA(e,t){t&&t.forEach(t=>{const{name:n,plugin:r,translations:i}=t;try{e.registerFunction(n,r,i)}catch(o){Object(Xr["b"])(o.message)}})}function VA(e,t){if(t){const{langCode:r}=t;try{e.registerLanguage(r,t)}catch(n){Object(Xr["b"])(n.message)}}}function WA(e,t){t&&(e.suspendEvaluation(),t.forEach(t=>{const{name:n,expression:r,scope:i,options:o}=t;try{e.addNamedExpression(n,r,i,o)}catch(s){Object(Xr["b"])(s.message)}}),e.resumeEvaluation())}function YA(e,t){return!Object(h["isUndefined"])(t)&&e.doesSheetExist(t)||(t=e.addSheet(t)),t}const QA="DD/MM/YYYY";function XA(e){return"string"===typeof e&&"'"===e.charAt(0)&&"="===e.charAt(1)}function KA(e){return XA(e)?e.substr(1):e}function GA(e){return"string"===typeof e&&e.startsWith("=")}function ZA(e,t){return"string"===typeof e&&"date"===t}function zA(e,t){return N(e,t,!0).isValid()}function qA(e,t){return N(e,t,!0).format(QA)}function JA(e,t){return N(e,QA,!0).format(t)}function $A(e,t){const n=-1,r=new Date(Date.UTC(0,0,e+n));return N(r).format(t)}function eg(e,t,n){const r=Array.from(Array(n).keys()).filter(t=>!1===e.includes(t));var i;return 0===t?null!==(i=r[t])&&void 0!==i?i:0:r[t-1]+1}function tg(e,t){const n=[];return e.forEach(e=>{const r={from:e,to:t};n.forEach(e=>{const t=e.from>e.to,n=e.to<=r.from,i=e.from>r.from;i&&n&&t&&(r.from+=1)}),r.from>=t&&(t+=1),n.push(r)}),n}function ng(e){return e.forEach((t,n)=>{const r=e.slice(n+1);r.forEach(e=>{const n=e.from<e.to;e.from>t.from&&n&&(e.from-=1)})}),e}function rg(e,t,n){const r=tg(e,eg(e,t,n));return ng(r)}function ig(e,t,n){og(e,t),t.set(e,n)}function og(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function sg(e,t){return e.get(lg(e,t))}function ag(e,t,n){return e.set(lg(e,t),n),n}function lg(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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,n){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,[]),ag(cg,this,e),ag(ug,this,t),ag(dg,this,n)}setRemovedHfIndexes(e){return ag(mg,this,e.map(e=>{const t=sg(ug,this).getVisualFromPhysicalIndex(e);return this.getHfIndexFromVisualIndex(t)})),sg(mg,this)}getRemovedHfIndexes(){return sg(mg,this)}getHfIndexFromVisualIndex(e){const t=sg(ug,this).getIndexesSequence(),n=sg(ug,this).getNotTrimmedIndexes();return t.indexOf(n[e])}syncMoves(e){const t=1,n=`move${Object(p["toUpperCaseFirst"])(sg(cg,this))}s`;sg(dg,this).getEngine().batch(()=>{e.forEach(e=>{const r=e.from!==e.to,i=e.from+1!==e.to;r&&i&&sg(dg,this).getEngine()[n](sg(dg,this).getSheetId(),e.from,t,e.to)})})}storeMovesInformation(e,t,n){!1!==n&&(ag(pg,this,e.map(e=>this.getHfIndexFromVisualIndex(e))),ag(fg,this,this.getHfIndexFromVisualIndex(t)))}calculateAndSyncMoves(e,t){if(sg(dg,this).isPerformingUndoRedo())return;if(!1===e||!1===t)return;const n=rg(sg(pg,this),sg(fg,this),sg(ug,this).getNumberOfIndexes());null===sg(dg,this).getSheetId()?sg(dg,this).getPostponeAction(()=>this.syncMoves(n)):this.syncMoves(n)}getIndexesChangeSyncMethod(){const e=`set${Object(p["toUpperCaseFirst"])(sg(cg,this))}Order`;return t=>{if(sg(dg,this).isPerformingUndoRedo())return;const n=sg(ug,this).getIndexesSequence();if("update"===t&&n.length>0){const t=sg(hg,this).map(e=>n.indexOf(e)),r=sg(dg,this).getEngine().getSheetDimensions(sg(dg,this).getSheetId());let i;i="row"===sg(cg,this)?r.height:r.width;const o=t.length;for(let e=o;e<i;e+=1)t.push(e);sg(dg,this).getEngine()[e](sg(dg,this).getSheetId(),t)}ag(hg,this,n)}}init(){ag(hg,this,sg(ug,this).getIndexesSequence())}}var gg=Ag;function _g(e,t,n){bg(e,t),t.set(e,n)}function bg(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function vg(e,t){return e.get(yg(e,t))}function wg(e,t,n){return e.set(yg(e,t),n),n}function yg(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Rg=new WeakMap,Mg=new WeakMap,Sg=new WeakMap,Eg=new WeakMap,Tg=new WeakMap,Cg=new WeakMap,Og=new WeakMap;class xg{constructor(e,t,n){_g(this,Rg,void 0),_g(this,Mg,void 0),_g(this,Sg,void 0),_g(this,Eg,!1),_g(this,Tg,!1),_g(this,Cg,null),_g(this,Og,null),wg(Rg,this,new gg("row",e,this)),wg(Mg,this,new gg("column",t,this)),wg(Sg,this,n)}getForAxis(e){return vg("row"===e?Rg:Mg,this)}setPerformUndo(e){wg(Eg,this,e)}setPerformRedo(e){wg(Tg,this,e)}isPerformingUndoRedo(){return vg(Eg,this)||vg(Tg,this)}getSheetId(){return vg(Og,this)}getEngine(){return vg(Cg,this)}getPostponeAction(){return vg(Sg,this)}setupSyncEndpoint(e,t){wg(Cg,this,e),wg(Og,this,t),vg(Rg,this).init(),vg(Mg,this).init()}}var Ng=xg;function Lg(e,t){kg(e,t),t.add(e)}function Ig(e,t,n){return(t=Pg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pg(e){var t=Dg(e,"string");return"symbol"==typeof t?t:t+""}function Dg(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Fg(e,t,n){kg(e,t),t.set(e,n)}function kg(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Bg(e,t,n){return e.set(Hg(e,t),n),n}function Ug(e,t){return e.get(Hg(e,t))}function Hg(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const jg="formulas",Vg=["maxRows","maxColumns","language"],Wg=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 Yg=e=>"UndoRedo.undo"===e||"UndoRedo.redo"===e||"auto"===e;var Qg=new WeakMap,Xg=new WeakMap,Kg=new WeakMap,Gg=new WeakSet;class Zg extends $t["a"]{constructor(){var e;super(...arguments),e=this,Lg(this,Gg),Fg(this,Qg,!1),Fg(this,Xg,!1),Fg(this,Kg,[["valuesUpdated",function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Gg,e,f_).call(e,...n)}],["namedExpressionAdded",function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Gg,e,m_).call(e,...n)}],["namedExpressionRemoved",function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Gg,e,A_).call(e,...n)}],["sheetAdded",function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Gg,e,g_).call(e,...n)}],["sheetRenamed",function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Gg,e,__).call(e,...n)}],["sheetRemoved",function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Gg,e,b_).call(e,...n)}]]),Ig(this,"staticRegister",Object(Fi["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 jg}static get PLUGIN_PRIORITY(){return Wg}static get SETTING_KEYS(){return[jg,...Vg]}get sheetId(){return null===this.sheetName?null:this.engine.getSheetId(this.sheetName)}isEnabled(){return!!this.hot.getSettings()[jg]}enablePlugin(){var e,t=this;if(!this.enabled)if(this.engine=null!==(e=kA(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,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,Jg).call(t,...n)})),this.addHook("afterLoadData",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,e_).call(t,...n)})),this.addHook("beforeUpdateData",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,Jg).call(t,...n)})),this.addHook("afterUpdateData",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,e_).call(t,...n)})),this.addHook("modifyData",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,t_).call(t,...n)})),this.addHook("modifySourceData",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,n_).call(t,...n)})),this.addHook("beforeValidate",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,zg).call(t,...n)})),this.addHook("afterSetSourceDataAtCell",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,i_).call(t,...n)})),this.addHook("afterSetDataAtCell",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,r_).call(t,...n)})),this.addHook("afterSetDataAtRowProp",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,r_).call(t,...n)})),this.addHook("beforeCreateRow",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,o_).call(t,...n)})),this.addHook("beforeCreateCol",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,s_).call(t,...n)})),this.addHook("afterCreateRow",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,c_).call(t,...n)})),this.addHook("afterCreateCol",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,u_).call(t,...n)})),this.addHook("beforeRemoveRow",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,a_).call(t,...n)})),this.addHook("beforeRemoveCol",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,l_).call(t,...n)})),this.addHook("afterRemoveRow",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,d_).call(t,...n)})),this.addHook("afterRemoveCol",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,h_).call(t,...n)})),this.indexSyncer=new Ng(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,n,r)=>{this.rowAxisSyncer.storeMovesInformation(e,t,r)}),this.hot.addHook("beforeColumnMove",(e,t,n,r)=>{this.columnAxisSyncer.storeMovesInformation(e,t,r)}),this.hot.addHook("afterRowMove",(e,t,n,r,i)=>{this.rowAxisSyncer.calculateAndSyncMoves(r,i)}),this.hot.addHook("afterColumnMove",(e,t,n,r,i)=>{this.columnAxisSyncer.calculateAndSyncMoves(r,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,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,$g).call(t,...n)})),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,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,p_).call(t,...n)})),this.addHook("beforeAutofill",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Hg(Gg,t,qg).call(t,...n)})),Ug(Kg,this).forEach(e=>{let[t,n]=e;return this.engine.on(t,n)}),super.enablePlugin()}else Object(Xr["b"])("Missing the required `engine` key in the Formulas settings. Please fill it with either an engine class or an engine instance.")}disablePlugin(){Ug(Kg,this).forEach(e=>{let[t,n]=e;return this.engine.off(t,n)}),HA(this.engine,this.hot),this.engine=null,super.disablePlugin()}updatePlugin(e){const t=IA(this.hot.getSettings());PA(this.engine.getConfig(),t)&&this.engine.updateConfig(t);const n=this.hot.getSettings()[jg];if(Object(h["isDefined"])(n)&&Object(h["isDefined"])(n.sheetName)&&n.sheetName!==this.sheetName&&this.switchSheet(n.sheetName),!e.data&&null===this.sheetName){const e=this.hot.getSettings()[jg].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(){Ug(Kg,this).forEach(e=>{var t;let[n,r]=e;return null===(t=this.engine)||void 0===t?void 0:t.off(n,r)}),Bg(Kg,this,null),HA(this.engine,this.hot),this.engine=null,super.destroy()}addSheet(e,t){if(Object(h["isDefined"])(t)&&!Object(If["isArrayOfArrays"])(t))return Object(Xr["b"])("The provided data should be an array of arrays."),!1;if(void 0!==e&&null!==e&&this.engine.doesSheetExist(e))return Object(Xr["b"])("Sheet with the provided name already exists."),!1;try{const n=this.engine.addSheet(null!==e&&void 0!==e?e:void 0);return t&&this.engine.setSheetContent(this.engine.getSheetId(n),t),n}catch(n){return Object(Xr["b"])(n.message),!1}}switchSheet(e){if(!this.engine.doesSheetExist(e))return void Object(Xr["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"])(jg)+".switchSheet")}getCellType(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.sheetId;const r=this.hot.toPhysicalRow(e),i=this.hot.toPhysicalColumn(t);return null!==r&&null!==i?this.engine.getCellType({sheet:n,row:this.rowAxisSyncer.getHfIndexFromVisualIndex(e),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t)}):"EMPTY"}isFormulaCellType(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.sheetId;return this.engine.doesCellHaveFormula({sheet:n,row:this.rowAxisSyncer.getHfIndexFromVisualIndex(e),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t)})}renderDependentSheets(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=new Set;e.forEach(e=>{var t;const r=null===e||void 0===e||null===(t=e.address)||void 0===t?void 0:t.sheet;void 0!==r&&(n.has(r)||n.add(r))}),UA(this.engine).forEach((e,r)=>{var i;(t||r!==this.sheetId)&&n.has(r)&&(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 n=e=>{var t;const{row:n,col:r,sheet:i}=null!==(t=null===e||void 0===e?void 0:e.address)&&void 0!==t?t:{};return Object(h["isDefined"])(i)?`${i}:${n}x${r}`:""},r=new Set(t.map(e=>n(e)));e.forEach(e=>{var t,i;const{row:o,col:s}=null!==(t=e.address)&&void 0!==t?t:{};if(!1===Object(h["isDefined"])(o)||!1===Object(h["isDefined"])(s)||o>=this.hot.countRows()||s>=this.hot.countCols())return;const a=null===e||void 0===e||null===(i=e.address)||void 0===i?void 0:i.sheet,l=n(e);if(void 0!==a&&!r.has(l)){const e=UA(this.engine).get(a);if(!e)return;e.validateCell(e.getDataAtCell(o,s),e.getCellMeta(o,s),()=>{})}})}syncChangeWithEngine(e,t,n){const r={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(e),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t),sheet:this.sheetId};if(!this.engine.isItPossibleToSetCellContents(r))return void Object(Xr["b"])("Not possible to set cell data at "+JSON.stringify(r));const i=this.hot.getCellMeta(e,t);return ZA(n,i.type)&&(zA(n,i.dateFormat)?n=qA(n,i.dateFormat):!1===GA(n)&&(n="'"+n)),this.engine.setCellContents(r,n)}}function zg(e,t,n){const r=this.hot.propToCol(n);if(this.isFormulaCellType(t,r)){const e={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(t),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(r),sheet:this.sheetId},n=this.hot.getCellMeta(t,r);let i=this.engine.getCellValue(e);return"date"===n.type&&Object(nt["isNumeric"])(i)&&(i=$A(i,n.dateFormat)),"object"===typeof i&&null!==i?i.value:i}return e}function qg(e,t,n){const{row:r,col:i}=t.getTopStartCorner(),{row:o,col:s}=t.getBottomEndCorner(),{row:a,col:l}=n.getTopStartCorner(),{row:c,col:u}=n.getBottomEndCorner(),d={start:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(r),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(i),sheet:this.sheetId},end:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(o),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(s),sheet:this.sheetId}},h={start:{row:this.rowAxisSyncer.getHfIndexFromVisualIndex(a),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,b=g-m+1;for(let v=0;v<p.length;v+=1)for(let e=0;e<p[v].length;e+=1){const t=p[v][e],n=f+v%_,r=m+e%b,i=this.hot.getCellMeta(n,r);ZA(t,i.type)&&(t.startsWith("'")?p[v][e]=t.slice(1):!1===this.isFormulaCellType(n,r,this.sheetId)&&(p[v][e]=JA(t,i.dateFormat)))}return p}function Jg(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";n.includes(Object(p["toUpperCaseFirst"])(jg))||Bg(Xg,this,Object(h["isUndefined"])(this.hot.getSettings().data))}function $g(){const e=this.hot.getSourceDataArray();let t=!1;e.forEach((n,r)=>{n.forEach((n,i)=>{const o=this.hot.getCellMeta(r,i),s=o.dateFormat;ZA(n,o.type)&&(t=!0,zA(n,s)?e[r][i]=qA(n,s):!1===this.isFormulaCellType(r,i)&&(e[r][i]="'"+n))})}),!0===t&&(Bg(Qg,this,!0),this.engine.setSheetContent(this.sheetId,e),Bg(Qg,this,!1))}function e_(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!n.includes(Object(p["toUpperCaseFirst"])(jg)))if(this.sheetName=YA(this.engine,this.hot.getSettings()[jg].sheetName),Ug(Xg,this))this.switchSheet(this.sheetName);else{const e=this.hot.getSourceDataArray();if(this.engine.isItPossibleToReplaceSheetContent(this.sheetId,e)){Bg(Qg,this,!0);const t=this.engine.setSheetContent(this.sheetId,e);this.indexSyncer.setupSyncEndpoint(this.engine,this.sheetId),this.renderDependentSheets(t),Bg(Qg,this,!1)}}}function t_(e,t,n,r){if("get"!==r||Ug(Qg,this)||null===this.sheetName||!this.engine.doesSheetExist(this.sheetName))return;const i=this.hot.toVisualRow(e);if(null===i||null===t)return;const o=this.isFormulaCellType(i,t);if(!o){const e=this.getCellType(i,t);if("ARRAY"!==e)return void(XA(n.value)&&(n.value=KA(n.value)))}const s={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(i),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(t),sheet:this.sheetId};let a=this.engine.getCellValue(s),l=this.hot.getCellsMeta().find(e=>e.visualRow===i&&e.visualCol===t);void 0===l&&(l={}),"date"===l.type&&Object(nt["isNumeric"])(a)&&(a=$A(a,l.dateFormat));const c="object"===typeof a&&null!==a?a.value:a;n.value=c}function n_(e,t,n,r){if("get"!==r||Ug(Qg,this)||null===this.sheetName||!this.engine.doesSheetExist(this.sheetName))return;const i=this.hot.toVisualRow(e),o=this.hot.propToCol(t);if(null===i||null===o)return;const s=this.isFormulaCellType(i,o);if(!s){const e=this.getCellType(i,o);if("ARRAY"!==e)return}const a=this.engine.getSheetDimensions(this.engine.getSheetId(this.sheetName));if(0===a.width&&0===a.height)return;const l={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(i),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(o),sheet:this.sheetId};n.value=this.engine.getCellSerialized(l)}function r_(e,t){if(Yg(t))return;const n=[],r=[],i=this.engine.batch(()=>{e.forEach(e=>{let[t,i,,o]=e;const s=this.hot.propToCol(i),a=this.hot.toPhysicalRow(t),l=this.hot.toPhysicalColumn(s),c={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(t),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(s),sheet:this.sheetId};null!==a&&null!==l?this.syncChangeWithEngine(t,s,o):n.push([t,s,o]),r.push({address:c})})});n.length&&this.hot.addHookOnce("afterChange",()=>{const e=this.engine.batch(()=>{n.forEach(e=>{let[t,n,r]=e;this.syncChangeWithEngine(t,n,r)})});this.renderDependentSheets(e,!0)}),this.renderDependentSheets(i),this.validateDependentCells(i,r)}function i_(e,t){if(Yg(t))return;const n=[],r=[];e.forEach(e=>{let[t,i,,o]=e;const s=this.hot.propToCol(i);if(!Object(nt["isNumeric"])(s))return;const a={row:this.rowAxisSyncer.getHfIndexFromVisualIndex(t),col:this.columnAxisSyncer.getHfIndexFromVisualIndex(s),sheet:this.sheetId};this.engine.isItPossibleToSetCellContents(a)?(r.push({address:a}),n.push(...this.engine.setCellContents(a,o))):Object(Xr["b"])("Not possible to set source cell data at "+JSON.stringify(a))}),this.renderDependentSheets(n),this.validateDependentCells(n,r)}function o_(e,t){let n=this.rowAxisSyncer.getHfIndexFromVisualIndex(e);if(e>=this.hot.countRows()&&(n=e),null===this.sheetId||!this.engine.doesSheetExist(this.sheetName)||!this.engine.isItPossibleToAddRows(this.sheetId,[n,t]))return!1}function s_(e,t){let n=this.columnAxisSyncer.getHfIndexFromVisualIndex(e);if(e>=this.hot.countCols()&&(n=e),null===this.sheetId||!this.engine.doesSheetExist(this.sheetName)||!this.engine.isItPossibleToAddColumns(this.sheetId,[n,t]))return!1}function a_(e,t,n){const r=this.rowAxisSyncer.setRemovedHfIndexes(n),i=r.every(e=>this.engine.isItPossibleToRemoveRows(this.sheetId,[e,1]));return!1!==i&&void 0}function l_(e,t,n){const r=this.columnAxisSyncer.setRemovedHfIndexes(n),i=r.every(e=>this.engine.isItPossibleToRemoveColumns(this.sheetId,[e,1]));return!1!==i&&void 0}function c_(e,t,n){if(Yg(n))return;const r=this.engine.addRows(this.sheetId,[this.rowAxisSyncer.getHfIndexFromVisualIndex(e),t]);this.renderDependentSheets(r)}function u_(e,t,n){if(Yg(n))return;const r=this.engine.addColumns(this.sheetId,[this.columnAxisSyncer.getHfIndexFromVisualIndex(e),t]);this.renderDependentSheets(r)}function d_(e,t,n,r){if(Yg(r))return;const i=this.rowAxisSyncer.getRemovedHfIndexes().sort((e,t)=>t-e),o=this.engine.batch(()=>{i.forEach(e=>{this.engine.removeRows(this.sheetId,[e,1])})});this.renderDependentSheets(o)}function h_(e,t,n,r){if(Yg(r))return;const i=this.columnAxisSyncer.getRemovedHfIndexes().sort((e,t)=>t-e),o=this.engine.batch(()=>{i.forEach(e=>{this.engine.removeColumns(this.sheetId,[e,1])})});this.renderDependentSheets(o)}function p_(e,t,n){var r;Bg(Qg,this,!0);const i=this.hot.getSourceDataArray(n,0,n+((null===(r=t.__children)||void 0===r?void 0:r.length)||0),this.hot.countSourceCols());Bg(Qg,this,!1),i.forEach((e,t)=>{e.forEach((e,r)=>{this.engine.setCellContents({col:r,row:n+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 b_(e,t){this.hot.runHooks("afterSheetRemoved",e,t)}function v_(e){return{key:"hidden_columns_hide",name(){const e=this.getSelectedLast();let t=0;if(Array.isArray(e)){const[,n,,r]=e;n-r!==0&&(t=1)}return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_HIDE_COLUMN"],t)},callback(){const{from:t,to:n}=this.getSelectedRangeLast(),r=Math.max(Math.min(t.col,n.col),0),i=Math.max(t.col,n.col),o=[];for(let e=r;e<=i;e+=1)o.push(e);e.hideColumns(o);const s=o[o.length-1],a=this.columnIndexMapper.getNearestNotHiddenIndex(s,1,!0);Number.isInteger(a)&&a>=0?this.selectColumns(a):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(ke["CONTEXTMENU_ITEMS_SHOW_COLUMN"],e)},callback(){var n,r;if(0===t.length)return;let i=t[0],o=t[t.length-1];i=null!==(n=this.columnIndexMapper.getNearestNotHiddenIndex(i-1,-1))&&void 0!==n?n:0,o=null!==(r=this.columnIndexMapper.getNearestNotHiddenIndex(o+1,1))&&void 0!==r?r:this.countCols()-1,e.showColumns(t),this.render(),this.view.adjustElementsSize();const s=o-i+1===this.countCols();s||this.selectColumns(i,o)},disabled:!1,hidden(){const n=Object(d["arrayMap"])(e.getHiddenColumns(),e=>this.toPhysicalColumn(e));if(!this.selection.isSelectedByColumnHeader()&&!this.selection.isSelectedByCorner()||n.length<1)return!0;t.length=0;const r=this.getSelectedRangeLast(),i=r.getTopStartCorner().col,o=r.getBottomEndCorner().col,s=this.columnIndexMapper,a=s.getRenderableFromVisualIndex(i),l=s.getRenderableFromVisualIndex(o),c=s.getNotTrimmedIndexes(),u=[];if(i!==o){const e=o-i+1,t=l-a+1;if(e>t){const e=c.slice(i,o+1);u.push(...e.filter(e=>n.includes(e)))}}else if(0===a&&a<i)u.push(...c.slice(0,i));else if(null===a)u.push(...c.slice(0,this.countCols()));else{const e=this.countCols()-1,t=s.getRenderableFromVisualIndex(s.getNearestNotHiddenIndex(e,-1));l===t&&e>o&&u.push(...c.slice(o+1))}return Object(d["arrayEach"])(u,e=>{t.push(this.toVisualColumn(e))}),0===t.length}}}var y_=n("cef7");function R_(e,t){S_(e,t),t.add(e)}function M_(e,t,n){S_(e,t),t.set(e,n)}function S_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function E_(e,t){return e.get(C_(e,t))}function T_(e,t,n){return e.set(C_(e,t),n),n}function C_(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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",x_=310;var N_=new WeakMap,L_=new WeakMap,I_=new WeakSet;class P_ extends $t["a"]{constructor(){super(...arguments),R_(this,I_),M_(this,N_,{}),M_(this,L_,null)}static get PLUGIN_KEY(){return O_}static get PLUGIN_PRIORITY(){return x_}isEnabled(){return!!this.hot.getSettings()[O_]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[O_];Object(s["isObject"])(t)&&(T_(N_,this,t),Object(h["isUndefined"])(t.copyPasteEnabled)&&(t.copyPasteEnabled=!0)),T_(L_,this,new y_["a"]),E_(L_,this).addLocalHook("init",()=>C_(I_,this,H_).call(this)),this.hot.columnIndexMapper.registerMap(this.pluginName,E_(L_,this)),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return C_(I_,e,U_).call(e,...n)})),this.addHook("afterGetCellMeta",(e,t,n)=>C_(I_,this,F_).call(this,e,t,n)),this.addHook("modifyColWidth",(e,t)=>C_(I_,this,D_).call(this,e,t),2),this.addHook("afterGetColHeader",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return C_(I_,e,B_).call(e,...n)})),this.addHook("modifyCopyableRange",e=>C_(I_,this,k_).call(this,e)),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.hot.columnIndexMapper.unregisterMap(this.pluginName),T_(N_,this,{}),super.disablePlugin(),this.resetCellsMeta()}showColumns(e){const t=this.getHiddenColumns(),n=this.isValidConfig(e);let r=t;const i=E_(L_,this).getValues().slice(),o=e.length>0;if(n&&o){const t=e.map(e=>this.hot.toPhysicalColumn(e));Object(d["arrayEach"])(t,e=>{i[e]=!1}),r=Object(d["arrayReduce"])(i,(e,t,n)=>(t&&e.push(this.hot.toVisualColumn(n)),e),[])}const s=this.hot.runHooks("beforeUnhideColumns",t,r,n&&o);!1!==s&&(n&&o&&E_(L_,this).setValues(i),this.hot.view.adjustElementsSize(),this.hot.runHooks("afterUnhideColumns",t,r,n&&o,n&&r.length<t.length))}showColumn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.showColumns(t)}hideColumns(e){const t=this.getHiddenColumns(),n=this.isValidConfig(e);let r=t;n&&(r=Array.from(new Set(t.concat(e))));const i=this.hot.runHooks("beforeHideColumns",t,r,n);!1!==i&&(n&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{E_(L_,this).setValueAtIndex(this.hot.toPhysicalColumn(e),!0)})},!0),this.hot.runHooks("afterHideColumns",t,r,n,n&&r.length>t.length))}hideColumn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.hideColumns(t)}getHiddenColumns(){return Object(d["arrayMap"])(E_(L_,this).getHiddenIndexes(),e=>this.hot.toVisualColumn(e))}isHidden(e){return E_(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(){T_(N_,this,null),T_(L_,this,null),super.destroy()}}function D_(e,t){return this.isHidden(t)?0:E_(N_,this).indicators&&(this.isHidden(t+1)||this.isHidden(t-1))&&"number"===typeof e&&this.hot.hasColHeaders()?e+15:void 0}function F_(e,t,n){if(!1===E_(N_,this).copyPasteEnabled&&this.isHidden(t)&&(n.skipColumnOnPaste=!0),this.isHidden(t-1))n.className=n.className||"",-1===n.className.indexOf("afterHiddenColumn")&&(n.className+=" afterHiddenColumn");else if(n.className){const e=n.className.split(" ");if(e.length>0){const t=e.indexOf("afterHiddenColumn");t>-1&&e.splice(t,1),n.className=e.join(" ")}}}function k_(e){if(E_(N_,this).copyPasteEnabled)return e;const t=[],n=(e,n,r,i)=>{t.push({startRow:e,endRow:n,startCol:r,endCol:i})};return Object(d["arrayEach"])(e,e=>{let t=!0,r=0;Object(nt["rangeEach"])(e.startCol,e.endCol,i=>{this.isHidden(i)?(t||n(e.startRow,e.endRow,r,i-1),t=!0):(t&&(r=i),i===e.endCol&&n(e.startRow,e.endRow,r,i),t=!1)})}),t}function B_(e,t){if(!E_(N_,this).indicators||e<0)return;const n=[];e>=1&&this.isHidden(e-1)&&n.push("afterHiddenColumn"),e<this.hot.countCols()-1&&this.isHidden(e+1)&&n.push("beforeHiddenColumn"),Object(i["addClass"])(t,n)}function U_(e){e.items.push({name:Ns},v_(this),w_(this))}function H_(){Array.isArray(E_(N_,this).columns)&&this.hideColumns(E_(N_,this).columns)}function j_(e){return{key:"hidden_rows_hide",name(){const e=this.getSelectedLast();let t=0;if(Array.isArray(e)){const[n,,r]=e;n-r!==0&&(t=1)}return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_HIDE_ROW"],t)},callback(){const{from:t,to:n}=this.getSelectedRangeLast(),r=Math.max(Math.min(t.row,n.row),0),i=Math.max(t.row,n.row),o=[];for(let e=r;e<=i;e+=1)o.push(e);e.hideRows(o);const s=o[o.length-1],a=this.rowIndexMapper.getNearestNotHiddenIndex(s,1,!0);Number.isInteger(a)&&a>=0?this.selectRows(a):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(ke["CONTEXTMENU_ITEMS_SHOW_ROW"],e)},callback(){var n,r;if(0===t.length)return;let i=t[0],o=t[t.length-1];i=null!==(n=this.rowIndexMapper.getNearestNotHiddenIndex(i-1,-1))&&void 0!==n?n:0,o=null!==(r=this.rowIndexMapper.getNearestNotHiddenIndex(o+1,1))&&void 0!==r?r:this.countRows()-1,e.showRows(t),this.render(),this.view.adjustElementsSize();const s=o-i+1===this.countRows();s||this.selectRows(i,o)},disabled:!1,hidden(){const n=Object(d["arrayMap"])(e.getHiddenRows(),e=>this.toPhysicalRow(e));if(!this.selection.isSelectedByRowHeader()&&!this.selection.isSelectedByCorner()||n.length<1)return!0;t.length=0;const r=this.getSelectedRangeLast(),i=r.getTopStartCorner().row,o=r.getBottomEndCorner().row,s=this.rowIndexMapper,a=s.getRenderableFromVisualIndex(i),l=s.getRenderableFromVisualIndex(o),c=s.getNotTrimmedIndexes(),u=[];if(i!==o){const e=o-i+1,t=l-a+1;if(e>t){const e=c.slice(i,o+1);u.push(...e.filter(e=>n.includes(e)))}}else if(0===a&&a<i)u.push(...c.slice(0,i));else if(null===a)u.push(...c.slice(0,this.countRows()));else{const e=this.countRows()-1,t=s.getRenderableFromVisualIndex(s.getNearestNotHiddenIndex(e,-1));l===t&&e>o&&u.push(...c.slice(o+1))}return Object(d["arrayEach"])(u,e=>{t.push(this.toVisualRow(e))}),0===t.length}}}function W_(e,t){Q_(e,t),t.add(e)}function Y_(e,t,n){Q_(e,t),t.set(e,n)}function Q_(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function X_(e,t){return e.get(G_(e,t))}function K_(e,t,n){return e.set(G_(e,t),n),n}function G_(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 Z_="hiddenRows",z_=320;var q_=new WeakMap,J_=new WeakMap,$_=new WeakSet;class eb extends $t["a"]{constructor(){super(...arguments),W_(this,$_),Y_(this,q_,{}),Y_(this,J_,null)}static get PLUGIN_KEY(){return Z_}static get PLUGIN_PRIORITY(){return z_}isEnabled(){return!!this.hot.getSettings()[Z_]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[Z_];Object(s["isObject"])(t)&&(K_(q_,this,t),Object(h["isUndefined"])(t.copyPasteEnabled)&&(t.copyPasteEnabled=!0)),K_(J_,this,new y_["a"]),X_(J_,this).addLocalHook("init",()=>G_($_,this,sb).call(this)),this.hot.rowIndexMapper.registerMap(this.pluginName,X_(J_,this)),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return G_($_,e,ob).call(e,...n)})),this.addHook("afterGetCellMeta",(e,t,n)=>G_($_,this,nb).call(this,e,t,n)),this.addHook("modifyRowHeight",(e,t)=>G_($_,this,tb).call(this,e,t)),this.addHook("afterGetRowHeader",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return G_($_,e,ib).call(e,...n)})),this.addHook("modifyCopyableRange",e=>G_($_,this,rb).call(this,e)),super.enablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){this.hot.rowIndexMapper.unregisterMap(this.pluginName),K_(q_,this,{}),super.disablePlugin(),this.resetCellsMeta()}showRows(e){const t=this.getHiddenRows(),n=this.isValidConfig(e);let r=t;const i=X_(J_,this).getValues().slice(),o=e.length>0;if(n&&o){const t=e.map(e=>this.hot.toPhysicalRow(e));Object(d["arrayEach"])(t,e=>{i[e]=!1}),r=Object(d["arrayReduce"])(i,(e,t,n)=>(t&&e.push(this.hot.toVisualRow(n)),e),[])}const s=this.hot.runHooks("beforeUnhideRows",t,r,n&&o);!1!==s&&(n&&o&&X_(J_,this).setValues(i),this.hot.runHooks("afterUnhideRows",t,r,n&&o,n&&r.length<t.length))}showRow(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.showRows(t)}hideRows(e){const t=this.getHiddenRows(),n=this.isValidConfig(e);let r=t;n&&(r=Array.from(new Set(t.concat(e))));const i=this.hot.runHooks("beforeHideRows",t,r,n);!1!==i&&(n&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{X_(J_,this).setValueAtIndex(this.hot.toPhysicalRow(e),!0)})},!0),this.hot.runHooks("afterHideRows",t,r,n,n&&r.length>t.length))}hideRow(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.hideRows(t)}getHiddenRows(){return Object(d["arrayMap"])(X_(J_,this).getHiddenIndexes(),e=>this.hot.toVisualRow(e))}isHidden(e){return X_(J_,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(){K_(q_,this,null),K_(J_,this,null),super.destroy()}}function tb(e,t){return this.isHidden(t)?0:e}function nb(e,t,n){if(!1===X_(q_,this).copyPasteEnabled&&this.isHidden(e)&&(n.skipRowOnPaste=!0),this.isHidden(e-1))n.className=n.className||"",-1===n.className.indexOf("afterHiddenRow")&&(n.className+=" afterHiddenRow");else if(n.className){const e=n.className.split(" ");if(e.length>0){const t=e.indexOf("afterHiddenRow");t>-1&&e.splice(t,1),n.className=e.join(" ")}}}function rb(e){if(X_(q_,this).copyPasteEnabled)return e;const t=[],n=(e,n,r,i)=>{t.push({startRow:e,endRow:n,startCol:r,endCol:i})};return Object(d["arrayEach"])(e,e=>{let t=!0,r=0;Object(nt["rangeEach"])(e.startRow,e.endRow,i=>{this.isHidden(i)?(t||n(r,i-1,e.startCol,e.endCol),t=!0):(t&&(r=i),i===e.endRow&&n(r,i,e.startCol,e.endCol),t=!1)})}),t}function ib(e,t){if(!X_(q_,this).indicators||e<0)return;const n=[];e>=1&&this.isHidden(e-1)&&n.push("afterHiddenRow"),e<this.hot.countRows()-1&&this.isHidden(e+1)&&n.push("beforeHiddenRow"),Object(i["addClass"])(t,n)}function ob(e){e.items.push({name:Ns},j_(this),V_(this))}function sb(){Array.isArray(X_(q_,this).rows)&&this.hideRows(X_(q_,this).rows)}function ab(e){return{key:"freeze_column",name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_FREEZE_COLUMN"])},callback(t,n){const[{start:{col:r}}]=n;e.freezeColumn(r),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 lb(e){return{key:"unfreeze_column",name(){return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_UNFREEZE_COLUMN"])},callback(t,n){const[{start:{col:r}}]=n;e.unfreezeColumn(r),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 cb(e,t){db(e,t),t.add(e)}function ub(e,t,n){db(e,t),t.set(e,n)}function db(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hb(e,t){return e.get(fb(e,t))}function pb(e,t,n){return e.set(fb(e,t),n),n}function fb(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 mb="manualColumnFreeze",Ab=110;var gb=new WeakMap,_b=new WeakSet;class bb extends $t["a"]{constructor(){super(...arguments),cb(this,_b),ub(this,gb,!1)}static get PLUGIN_KEY(){return mb}static get PLUGIN_PRIORITY(){return Ab}isEnabled(){return!!this.hot.getSettings()[mb]}enablePlugin(){this.enabled||(this.addHook("afterContextMenuDefaultOptions",e=>fb(_b,this,vb).call(this,e)),this.addHook("beforeColumnMove",(e,t)=>fb(_b,this,wb).call(this,e,t)),super.enablePlugin())}disablePlugin(){pb(gb,this,!1),super.disablePlugin()}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}freezeColumn(e){const t=this.hot.getSettings(),n=t.fixedColumnsStart<this.hot.countCols()&&e>t.fixedColumnsStart-1;hb(gb,this)||pb(gb,this,!0);const r=this.hot.runHooks("beforeColumnFreeze",e,n);!1!==r&&(n&&(this.hot.columnIndexMapper.moveIndexes(e,t.fixedColumnsStart),t._fixedColumnsStart+=1),this.hot.runHooks("afterColumnFreeze",e,n))}unfreezeColumn(e){const t=this.hot.getSettings(),n=t.fixedColumnsStart>0&&e<=t.fixedColumnsStart-1;hb(gb,this)||pb(gb,this,!0);const r=this.hot.runHooks("beforeColumnUnfreeze",e,n);!1!==r&&(n&&(t._fixedColumnsStart-=1,this.hot.columnIndexMapper.moveIndexes(e,t.fixedColumnsStart)),this.hot.runHooks("afterColumnUnfreeze",e,n))}}function vb(e){e.items.push({name:"---------"},ab(this),lb(this))}function wb(e,t){if(hb(gb,this)){const n=this.hot.getSettings().fixedColumnsStart;if(t<n)return!1;if(e.some(e=>e<n))return!1}}function yb(e,t,n){return(t=Rb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rb(e){var t=Mb(e,"string");return"symbol"==typeof t?t:t+""}function Mb(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const Sb=0,Eb=1,Tb=2,Cb="px";class Ob{constructor(e){yb(this,"hot",void 0),yb(this,"_element",null),yb(this,"state",Sb),yb(this,"inlineProperty",void 0),this.hot=e,this.inlineProperty=e.isRtl()?"right":"left"}appendTo(e){e.appendChild(this._element),this.state=Tb}build(){this.state===Sb&&(this._element=this.hot.rootDocument.createElement("div"),this.state=Eb)}destroy(){this.isAppended()&&this._element.parentElement.removeChild(this._element),this._element=null,this.state=Sb}isAppended(){return this.state===Tb}isBuilt(){return this.state>=Eb}setPosition(e,t){Object(nt["isNumeric"])(e)&&(this._element.style.top=e+Cb),Object(nt["isNumeric"])(t)&&(this._element.style[this.inlineProperty]=t+Cb)}getPosition(){const e=this._element.style;return{top:e.top?parseInt(e.top,10):0,start:e[this.inlineProperty]?parseInt(e[this.inlineProperty],10):0}}setSize(e,t){Object(nt["isNumeric"])(e)&&(this._element.style.width=e+Cb),Object(nt["isNumeric"])(t)&&(this._element.style.height=t+Cb)}getSize(){return{width:this._element.style.width?parseInt(this._element.style.width,10):0,height:this._element.style.height?parseInt(this._element.style.height,10):0}}setOffset(e,t){Object(nt["isNumeric"])(e)&&(this._element.style.marginTop=e+Cb),Object(nt["isNumeric"])(t)&&(this._element.style["margin"+Object(p["toUpperCaseFirst"])(this.inlineProperty)]=t+Cb)}getOffset(){const e=this._element.style,t="margin"+Object(p["toUpperCaseFirst"])(this.inlineProperty);return{top:e.marginTop?parseInt(e.marginTop,10):0,start:e[t]?parseInt(e[t],10):0}}}var xb=Ob;const Nb="ht__manualColumnMove--backlight";class Lb extends xb{build(){super.build(),Object(i["addClass"])(this._element,Nb)}}var Ib=Lb;const Pb="ht__manualColumnMove--guideline";class Db extends xb{build(){super.build(),Object(i["addClass"])(this._element,Pb)}}var Fb=Db;function kb(e,t){Ub(e,t),t.add(e)}function Bb(e,t,n){Ub(e,t),t.set(e,n)}function Ub(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hb(e,t,n){return e.set(Vb(e,t),n),n}function jb(e,t){return e.get(Vb(e,t))}function Vb(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}fe["a"].getSingleton().register("beforeColumnMove"),fe["a"].getSingleton().register("afterColumnMove");const Wb="manualColumnMove",Yb=120,Qb="ht__manualColumnMove",Xb="show-ui",Kb="on-moving--columns",Gb="after-selection--columns";var Zb=new WeakMap,zb=new WeakMap,qb=new WeakMap,Jb=new WeakMap,$b=new WeakMap,ev=new WeakMap,tv=new WeakMap,nv=new WeakMap,rv=new WeakMap,iv=new WeakMap,ov=new WeakMap,sv=new WeakSet;class av extends $t["a"]{constructor(){super(...arguments),kb(this,sv),Bb(this,Zb,new Ib(this.hot)),Bb(this,zb,new Fb(this.hot)),Bb(this,qb,[]),Bb(this,Jb,0),Bb(this,$b,!1),Bb(this,ev,{}),Bb(this,tv,void 0),Bb(this,nv,void 0),Bb(this,rv,void 0),Bb(this,iv,void 0),Bb(this,ov,void 0)}static get PLUGIN_KEY(){return Wb}static get PLUGIN_PRIORITY(){return Yb}isEnabled(){return!!this.hot.getSettings()[Wb]}enablePlugin(){var e=this;this.enabled||(this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vb(sv,e,lv).call(e,...n)})),this.addHook("beforeOnCellMouseOver",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vb(sv,e,uv).call(e,...n)})),this.addHook("afterScrollVertically",()=>Vb(sv,this,hv).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vb(sv,e,pv).call(e,...n)})),this.buildPluginUI(),this.registerEvents(),Object(i["addClass"])(this.hot.rootElement,Qb),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.moveBySettingsOrLoad(),super.updatePlugin()}disablePlugin(){Object(i["removeClass"])(this.hot.rootElement,Qb),this.unregisterEvents(),jb(Zb,this).destroy(),jb(zb,this).destroy(),super.disablePlugin()}moveColumn(e,t){return this.moveColumns([e],t)}moveColumns(e,t){const n=jb(tv,this),r=this.isMovePossible(e,t),i=this.hot.runHooks("beforeColumnMove",e,t,n,r);if(Hb(tv,this,void 0),!1===i)return;r&&this.hot.columnIndexMapper.moveIndexes(e,t);const o=r&&this.isColumnOrderChanged(e,t);return this.hot.runHooks("afterColumnMove",e,t,n,r,o),o}dragColumn(e,t){return this.dragColumns([e],t)}dragColumns(e,t){const n=this.countFinalIndex(e,t);return Hb(tv,this,t),this.moveColumns(e,n)}isMovePossible(e,t){const n=this.hot.columnIndexMapper.getNotTrimmedIndexesLength(),r=e.length+t>n,i=t<0,o=e.some(e=>e<0),s=e.some(e=>e>=n);return!(r||i||o||s)}isColumnOrderChanged(e,t){return e.some((e,n)=>e-n!==t)}countFinalIndex(e,t){const n=Object(d["arrayReduce"])(e,(e,n)=>(n<t&&(e+=1),e),0);return t-n}getColumnsWidth(e,t){const n=this.hot.columnIndexMapper;let r=0;for(let i=e;i<=t;i+=1){const e=n.getRenderableFromVisualIndex(i);i<0?r+=this.hot.view._wt.wtViewport.getRowHeaderWidth()||0:null!==e&&(r+=this.hot.view._wt.wtTable.getStretchedColumnWidth(e)||0)}return r}moveBySettingsOrLoad(){const e=this.hot.getSettings()[Wb];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 n=[];return Object(nt["rangeEach"])(e,t,e=>{n.push(e)}),n}refreshPositions(){const e=this.hot.view.getFirstFullyVisibleColumn();this.isFixedColumnsStart(jb(nv,this))&&e>0&&this.hot.scrollViewportTo({col:this.hot.columnIndexMapper.getNearestNotHiddenIndex(e-1,-1)});const t=this.hot.view._wt.wtTable,n=this.hot.view._wt.wtOverlays.scrollableElement,r="number"===typeof n.scrollX?n.scrollX:n.scrollLeft;let o=this.hot.view.THEAD.offsetLeft+this.getColumnsWidth(0,jb(nv,this)-1);const s=t.hider.offsetWidth,a=t.TBODY.offsetLeft,l=jb(Zb,this).getOffset().start,c=jb(Zb,this).getSize().width;let u=0,d=0;if(this.hot.isRtl()){const e=this.hot.rootWindow,t=Object(i["outerWidth"])(this.hot.rootElement),o=e.innerWidth-jb(rv,this)-t;d=e.innerWidth-jb(ev,this).eventPageX-o-(void 0===n.scrollX?r:0)}else d=jb(ev,this).eventPageX-(jb(rv,this)-(void 0===n.scrollX?r:0));if(jb(iv,this)&&(u=this.hot.view._wt.wtOverlays.inlineStartOverlay.clone.wtTable.getColumnHeader(-1).offsetWidth),this.isFixedColumnsStart(jb(nv,this))&&(o+=r),o+=u,jb(nv,this)<0)jb(ov,this)>0?jb(ev,this).col=0:jb(ev,this).col=e>0?e-1:e;else if(jb(ev,this).TD.offsetWidth/2+o<=d){const e=jb(nv,this)>=jb(Jb,this)?jb(Jb,this)-1:jb(nv,this);jb(ev,this).col=e+1,o+=jb(ev,this).TD.offsetWidth}else jb(ev,this).col=jb(nv,this);let h=d,p=o;d+c+l>=s?h=s-c-l:d+l<a+u&&(h=a+u+Math.abs(l)),o>=s-1?p=s-1:0===p?p=1:void 0!==n.scrollX&&jb(nv,this)<jb(ov,this)&&(p-=jb(rv,this)<=n.scrollX?jb(rv,this):0),jb(Zb,this).setPosition(null,h),jb(zb,this).setPosition(null,p)}registerEvents(){const{documentElement:e}=this.hot.rootDocument;this.eventManager.addEventListener(e,"mousemove",e=>Vb(sv,this,cv).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>Vb(sv,this,dv).call(this))}unregisterEvents(){this.eventManager.clear()}buildPluginUI(){jb(Zb,this).build(),jb(zb,this).build()}destroy(){jb(Zb,this).destroy(),jb(zb,this).destroy(),super.destroy()}}function lv(e,t,n,r){const s=this.hot.view._wt.wtTable,a=this.hot.selection.isSelectedByColumnHeader(),l=this.hot.getSelectedRangeLast(),c=Object(i["hasClass"])(e.target,"sortAction");if(!l||!a||jb($b,this)||0!==e.button||c)return Hb($b,this,!1),jb(qb,this).length=0,void Object(i["removeClass"])(this.hot.rootElement,[Kb,Xb]);const u=jb(zb,this).isBuilt()&&!jb(zb,this).isAppended(),d=jb(Zb,this).isBuilt()&&!jb(Zb,this).isAppended();u&&d&&(jb(zb,this).appendTo(s.hider),jb(Zb,this).appendTo(s.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){r.column=!0,Hb($b,this,!0);const a=n.firstChild?Object(o["offsetRelativeTo"])(e,n.firstChild).x:e.offsetX;jb(ev,this).eventPageX=e.pageX,Hb(nv,this,t.col),jb(ev,this).TD=n,jb(ev,this).col=t.col,Hb(qb,this,this.prepareColumnsToMoving(f,m)),Hb(iv,this,!!this.hot.getSettings().rowHeaders),Hb(Jb,this,this.hot.countCols()),Hb(ov,this,this.hot.getSettings().fixedColumnsStart),Hb(rv,this,Object(i["offset"])(this.hot.rootElement).left);const l=jb(iv,this)?-1:0,c=s.holder.scrollTop+s.getColumnHeaderHeight(0)+1,u=t.col<jb(ov,this),d=this.hot.view._wt.wtOverlays.inlineStartOverlay.getOverlayOffset(),h=Math.abs(a-(this.hot.isRtl()?n.offsetWidth:0)),p=this.getColumnsWidth(f,t.col-1)+h,A=this.getColumnsWidth(l,f-1)+(u?d:0)+p;jb(Zb,this).setPosition(c,A),jb(Zb,this).setSize(this.getColumnsWidth(f,m),s.hider.offsetHeight-c),jb(Zb,this).setOffset(null,-p),Object(i["addClass"])(this.hot.rootElement,Kb)}else Object(i["removeClass"])(this.hot.rootElement,Gb),Hb($b,this,!1),jb(qb,this).length=0}function cv(e){jb($b,this)&&(jb(ev,this).eventPageX=e.pageX,this.refreshPositions())}function uv(e,t,n,r){const o=this.hot.getSelectedRangeLast();o&&jb($b,this)&&(jb(qb,this).indexOf(t.col)>-1?Object(i["removeClass"])(this.hot.rootElement,Xb):Object(i["addClass"])(this.hot.rootElement,Xb),r.row=!0,r.column=!0,r.cell=!0,Hb(nv,this,t.col),jb(ev,this).TD=n)}function dv(){const e=jb(ev,this).col,t=jb(qb,this).length;if(Hb(nv,this,void 0),Hb($b,this,!1),Object(i["removeClass"])(this.hot.rootElement,[Kb,Xb,Gb]),this.hot.selection.isSelectedByColumnHeader()&&Object(i["addClass"])(this.hot.rootElement,Gb),t<1||void 0===e)return;const n=jb(qb,this)[0],r=this.hot.toPhysicalColumn(n),o=this.dragColumns(jb(qb,this),e);if(jb(qb,this).length=0,!0===o){this.persistentStateSave(),this.hot.render(),this.hot.view.adjustElementsSize();const e=this.hot.toVisualColumn(r),n=e+t-1;this.hot.selectColumns(e,n)}}function hv(){const e=this.hot.view._wt.wtTable,t=e.getColumnHeaderHeight(0)+1,n=e.holder.scrollTop,r=t+n;jb(Zb,this).setPosition(r),jb(Zb,this).setSize(null,e.hider.offsetHeight-r)}function pv(){this.moveBySettingsOrLoad()}function fv(e,t){Av(e,t),t.add(e)}function mv(e,t,n){Av(e,t),t.set(e,n)}function Av(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function gv(e,t,n){return e.set(bv(e,t),n),n}function _v(e,t){return e.get(bv(e,t))}function bv(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const vv="manualColumnResize",wv=130,yv="manualColumnWidths";var Rv=new WeakMap,Mv=new WeakMap,Sv=new WeakMap,Ev=new WeakMap,Tv=new WeakMap,Cv=new WeakMap,Ov=new WeakMap,xv=new WeakMap,Nv=new WeakMap,Lv=new WeakMap,Iv=new WeakMap,Pv=new WeakMap,Dv=new WeakMap,Fv=new WeakMap,kv=new WeakMap,Bv=new WeakMap,Uv=new WeakSet;class Hv extends $t["a"]{static get PLUGIN_KEY(){return vv}static get PLUGIN_PRIORITY(){return wv}constructor(e){super(e),fv(this,Uv),mv(this,Rv,null),mv(this,Mv,null),mv(this,Sv,[]),mv(this,Ev,null),mv(this,Tv,null),mv(this,Cv,null),mv(this,Ov,null),mv(this,xv,null),mv(this,Nv,this.hot.rootDocument.createElement("DIV")),mv(this,Lv,this.hot.rootDocument.createElement("DIV")),mv(this,Iv,null),mv(this,Pv,!1),mv(this,Dv,0),mv(this,Fv,null),mv(this,kv,void 0),mv(this,Bv,void 0),Object(i["addClass"])(_v(Nv,this),"manualColumnResizer"),Object(i["addClass"])(_v(Lv,this),"manualColumnResizerGuide")}get inlineDir(){return this.hot.isRtl()?"right":"left"}isEnabled(){return this.hot.getSettings()[vv]}enablePlugin(){this.enabled||(gv(kv,this,new cn["a"]),_v(kv,this).addLocalHook("init",()=>bv(Uv,this,jv).call(this)),this.hot.columnIndexMapper.registerMap(this.pluginName,_v(kv,this)),this.addHook("modifyColWidth",(e,t)=>bv(Uv,this,Kv).call(this,e,t),1),this.addHook("beforeStretchingColumnWidth",(e,t)=>bv(Uv,this,Gv).call(this,e,t)),this.addHook("beforeColumnResize",(e,t,n)=>bv(Uv,this,Zv).call(this,e,t,n)),this.bindEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){gv(Bv,this,_v(kv,this).getValues()),this.hot.columnIndexMapper.unregisterMap(this.pluginName),super.disablePlugin()}saveManualColumnWidths(){this.hot.runHooks("persistentStateSave",yv,_v(kv,this).getValues())}loadManualColumnWidths(){const e={};return this.hot.runHooks("persistentStateLoad",yv,e),e.value}setManualSize(e,t){const n=Math.max(t,20),r=this.hot.toPhysicalColumn(e);return _v(kv,this).setValueAtIndex(r,n),n}clearManualSize(e){const t=this.hot.toPhysicalColumn(e);_v(kv,this).setValueAtIndex(t,null)}setupHandlePosition(e){if(!e.parentNode)return;gv(Rv,this,e);const{_wt:t}=this.hot.view,n=t.wtTable.getCoords(_v(Rv,this)),r=n.col;if(r<0)return;const o=Object(i["outerHeight"])(_v(Rv,this)),s=_v(Rv,this).getBoundingClientRect(),a=r<t.getSetting("fixedColumnsStart");let l;a&&(l=t.wtOverlays.topInlineStartCornerOverlay.getRelativeCellPosition(_v(Rv,this),n.row,n.col)),l||(l=t.wtOverlays.topOverlay.getRelativeCellPosition(_v(Rv,this),n.row,n.col)),gv(Mv,this,this.hot.columnIndexMapper.getVisualFromRenderableIndex(r)),gv(Sv,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,n=e.getBottomEndCorner().col;Object(nt["rangeEach"])(t,n,e=>{_v(Sv,this).includes(e)||_v(Sv,this).push(e)})})}_v(Sv,this).includes(_v(Mv,this))||gv(Sv,this,[_v(Mv,this)]),gv(xv,this,l.start-6),gv(Ov,this,parseInt(s.width,10)),_v(Nv,this).style.top=l.top+"px",_v(Nv,this).style[this.inlineDir]=_v(xv,this)+_v(Ov,this)+"px",_v(Nv,this).style.height=o+"px",this.hot.rootElement.appendChild(_v(Nv,this))}refreshHandlePosition(){_v(Nv,this).style[this.inlineDir]=_v(xv,this)+_v(Ev,this)+"px"}setupGuidePosition(){const e=parseInt(Object(i["outerHeight"])(_v(Nv,this)),10),t=parseInt(_v(Nv,this).style.top,10)+e,n=parseInt(this.hot.view.maximumVisibleElementHeight(0),10);Object(i["addClass"])(_v(Nv,this),"active"),Object(i["addClass"])(_v(Lv,this),"active"),_v(Lv,this).style.top=t+"px",this.refreshGuidePosition(),_v(Lv,this).style.height=n-e+"px",this.hot.rootElement.appendChild(_v(Lv,this))}refreshGuidePosition(){_v(Lv,this).style[this.inlineDir]=_v(Nv,this).style[this.inlineDir]}hideHandleAndGuide(){Object(i["removeClass"])(_v(Nv,this),"active"),Object(i["removeClass"])(_v(Lv,this),"active")}checkIfColumnHeader(e){const t=Object(i["closest"])(e,["THEAD"],this.hot.rootElement),{topOverlay:n,topInlineStartCornerOverlay:r}=this.hot.view._wt.wtOverlays;return[n.clone.wtTable.THEAD,r.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,n)=>{const r=this.hot.runHooks("beforeColumnResize",_v(Tv,this),t,!0);void 0!==r&&gv(Tv,this,r),"all"===this.hot.getSettings().stretchH?this.clearManualSize(t):this.setManualSize(t,_v(Tv,this)),this.saveManualColumnWidths(),this.hot.runHooks("afterColumnResize",_v(Tv,this),t,!0),n&&e()};if(_v(Dv,this)>=2){const n=_v(Sv,this).length;n>1?(Object(d["arrayEach"])(_v(Sv,this),e=>{t(e)}),e()):Object(d["arrayEach"])(_v(Sv,this),e=>{t(e,!0)})}gv(Dv,this,0),gv(Fv,this,null)}bindEvents(){const{rootWindow:e,rootElement:t}=this.hot;this.eventManager.addEventListener(t,"mouseover",e=>bv(Uv,this,Vv).call(this,e)),this.eventManager.addEventListener(t,"mousedown",e=>bv(Uv,this,Wv).call(this,e)),this.eventManager.addEventListener(e,"mousemove",e=>bv(Uv,this,Yv).call(this,e)),this.eventManager.addEventListener(e,"mouseup",()=>bv(Uv,this,Qv).call(this)),this.eventManager.addEventListener(_v(Nv,this),"contextmenu",()=>bv(Uv,this,Xv).call(this))}destroy(){super.destroy()}}function jv(){const e=this.hot.getSettings()[vv],t=this.loadManualColumnWidths();"undefined"!==typeof t?this.hot.batchExecution(()=>{t.forEach((e,t)=>{_v(kv,this).setValueAtIndex(t,e)})},!0):Array.isArray(e)?(this.hot.batchExecution(()=>{e.forEach((e,t)=>{_v(kv,this).setValueAtIndex(t,e)})},!0),gv(Bv,this,e)):!0===e&&Array.isArray(_v(Bv,this))&&this.hot.batchExecution(()=>{_v(Bv,this).forEach((e,t)=>{_v(kv,this).setValueAtIndex(t,e)})},!0)}function Vv(e){if(!Object(i["isDetached"])(e.target)&&!0!==_v(Pv,this)&&this.checkIfColumnHeader(e.target)){const t=this.getClosestTHParent(e.target);if(!t)return;const n=t.getAttribute("colspan");!t||null!==n&&"1"!==n||_v(Iv,this)||this.setupHandlePosition(t)}}function Wv(e){e.target.parentNode===this.hot.rootElement&&Object(i["hasClass"])(e.target,"manualColumnResizer")&&(this.setupHandlePosition(_v(Rv,this)),this.setupGuidePosition(),gv(Iv,this,!0),null===_v(Fv,this)&&(gv(Fv,this,setTimeout(()=>this.afterMouseDownTimeout(),500)),this.hot._registerTimeout(_v(Fv,this))),gv(Dv,this,_v(Dv,this)+1),this.startX=e.pageX,gv(Tv,this,_v(Ov,this)))}function Yv(e){if(_v(Iv,this)){const t=(e.pageX-this.startX)*this.hot.getDirectionFactor();gv(Ev,this,_v(Ov,this)+t),Object(d["arrayEach"])(_v(Sv,this),e=>{gv(Tv,this,this.setManualSize(e,_v(Ev,this)))}),this.refreshHandlePosition(),this.refreshGuidePosition()}}function Qv(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize()},t=(t,n)=>{this.hot.runHooks("beforeColumnResize",_v(Tv,this),t,!1),n&&e(),this.saveManualColumnWidths(),this.hot.runHooks("afterColumnResize",_v(Tv,this),t,!1)};if(_v(Iv,this)){if(this.hideHandleAndGuide(),gv(Iv,this,!1),_v(Tv,this)!==_v(Ov,this)){const n=_v(Sv,this).length;n>1?(Object(d["arrayEach"])(_v(Sv,this),e=>{t(e)}),e()):Object(d["arrayEach"])(_v(Sv,this),e=>{t(e,!0)})}this.setupHandlePosition(_v(Rv,this))}}function Xv(){this.hideHandleAndGuide(),this.hot.rootElement.removeChild(_v(Nv,this)),this.hot.rootElement.removeChild(_v(Lv,this)),gv(Iv,this,!1),gv(Pv,this,!0),this.hot._registerImmediate(()=>{gv(Pv,this,!1)})}function Kv(e,t){let n=e;if(this.enabled){const e=this.hot.toPhysicalColumn(t),r=_v(kv,this).getValueAtIndex(e);this.hot.getSettings()[vv]&&r&&(n=r)}return n}function Gv(e,t){let n=_v(kv,this).getValueAtIndex(t);return null===n&&(n=e),n}function Zv(){this.hot.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked()}function zv(e,t,n){return(t=qv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qv(e){var t=Jv(e,"string");return"symbol"==typeof t?t:t+""}function Jv(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const $v=0,ew=1,tw=2,nw="px";class rw{constructor(e){zv(this,"hot",void 0),zv(this,"_element",null),zv(this,"state",$v),this.hot=e}appendTo(e){e.appendChild(this._element),this.state=tw}build(){this.state===$v&&(this._element=this.hot.rootDocument.createElement("div"),this.state=ew)}destroy(){this.isAppended()&&this._element.parentElement.removeChild(this._element),this._element=null,this.state=$v}isAppended(){return this.state===tw}isBuilt(){return this.state>=ew}setPosition(e,t){void 0!==e&&(this._element.style.top=e+nw),void 0!==t&&(this._element.style.left=t+nw)}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+nw),t&&(this._element.style.height=t+nw)}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+nw),t&&(this._element.style.marginLeft=t+nw)}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=rw;const ow="ht__manualRowMove--backlight";class sw extends iw{build(){super.build(),Object(i["addClass"])(this._element,ow)}}var aw=sw;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,n){pw(e,t),t.set(e,n)}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,n){return e.set(Aw(e,t),n),n}function mw(e,t){return e.get(Aw(e,t))}function Aw(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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,bw="ht__manualRowMove",vw="show-ui",ww="on-moving--rows",yw="after-selection--rows";var Rw=new WeakMap,Mw=new WeakMap,Sw=new WeakMap,Ew=new WeakMap,Tw=new WeakMap,Cw=new WeakMap,Ow=new WeakSet;class xw extends $t["a"]{constructor(){super(...arguments),dw(this,Ow),hw(this,Rw,new aw(this.hot)),hw(this,Mw,new uw(this.hot)),hw(this,Sw,[]),hw(this,Ew,void 0),hw(this,Tw,{}),hw(this,Cw,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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Aw(Ow,e,Nw).call(e,...n)})),this.addHook("beforeOnCellMouseOver",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Aw(Ow,e,Iw).call(e,...n)})),this.addHook("afterScrollHorizontally",()=>Aw(Ow,this,Dw).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Aw(Ow,e,Fw).call(e,...n)})),this.buildPluginUI(),this.registerEvents(),Object(i["addClass"])(this.hot.rootElement,bw),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),this.moveBySettingsOrLoad(),super.updatePlugin()}disablePlugin(){Object(i["removeClass"])(this.hot.rootElement,bw),this.unregisterEvents(),mw(Rw,this).destroy(),mw(Mw,this).destroy(),super.disablePlugin()}moveRow(e,t){return this.moveRows([e],t)}moveRows(e,t){const n=mw(Cw,this),r=this.isMovePossible(e,t),i=this.hot.runHooks("beforeRowMove",e,t,n,r);if(fw(Cw,this,void 0),!1===i)return;r&&this.hot.rowIndexMapper.moveIndexes(e,t);const o=r&&this.isRowOrderChanged(e,t);return this.hot.runHooks("afterRowMove",e,t,n,r,o),o}dragRow(e,t){return this.dragRows([e],t)}dragRows(e,t){const n=this.countFinalIndex(e,t);return fw(Cw,this,t),this.moveRows(e,n)}isMovePossible(e,t){const n=this.hot.rowIndexMapper.getNotTrimmedIndexesLength(),r=e.length+t>n,i=t<0,o=e.some(e=>e<0),s=e.some(e=>e>=n);return!(r||i||o||s)}isRowOrderChanged(e,t){return e.some((e,n)=>e-n!==t)}countFinalIndex(e,t){const n=Object(d["arrayReduce"])(e,(e,n)=>(n<t&&(e+=1),e),0);return t-n}getRowsHeight(e,t){const n=this.hot.rowIndexMapper;let r=0;for(let i=e;i<=t;i++){const e=n.getRenderableFromVisualIndex(i);null!==e&&(r+=this.hot.view._wt.wtTable.getRowHeight(e)||23)}return r}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:n,to:r}=e,i=Math.min(n.row,r.row),o=Math.max(n.row,r.row);return Object(nt["rangeEach"])(i,o,e=>{t.push(e)}),t}refreshPositions(){const e=mw(Tw,this).coords,t=this.hot.view.getFirstFullyVisibleRow(),n=this.hot.view.getLastFullyVisibleRow(),r=this.hot.countRows();this.isFixedRowTop(e.row)&&t>0&&this.hot.scrollViewportTo(this.hot.rowIndexMapper.getNearestNotHiddenIndex(t-1,-1)),this.isFixedRowBottom(e.row)&&n<r&&this.hot.scrollViewportTo(this.hot.rowIndexMapper.getNearestNotHiddenIndex(n+1,1),void 0,!0);const o=this.hot.view._wt.wtTable,s=mw(Tw,this).TD,a=this.hot.rootElement,l=Object(i["offset"])(a),c=Object(i["getTrimmingContainer"])(a),u=o.holder.scrollTop,d=this.hot.rootWindow!==c?c.scrollTop:0,h=l.top-d,p=mw(Tw,this).eventPageY-h+u,f=o.hider.offsetHeight,m=o.TBODY.offsetTop,A=mw(Rw,this).getOffset().top,g=mw(Rw,this).getSize().height,_=s.offsetHeight/2,b=s.offsetHeight;let v=this.hot.view.THEAD.offsetHeight+this.getRowsHeight(0,e.row-1);const w=p>=v+_;this.isFixedRowTop(e.row)&&(v+=this.hot.view._wt.wtOverlays.topOverlay.getOverlayOffset()),e.row<0?mw(Tw,this).row=t>0?t-1:t:w?(mw(Tw,this).row=e.row+1,v+=0===e.row?b-1:b):mw(Tw,this).row=e.row;let y=p,R=v;p+g+A>=f?y=f-g-A:p+A<m&&(y=m+Math.abs(A)),v>=f-1&&(R=f-1),mw(Rw,this).setPosition(y),mw(Mw,this).setPosition(R)}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,Pw).call(this))}unregisterEvents(){this.eventManager.clear()}buildPluginUI(){mw(Rw,this).build(),mw(Mw,this).build()}destroy(){mw(Rw,this).destroy(),mw(Mw,this).destroy(),super.destroy()}}function Nw(e,t,n,r){const{wtTable:o,wtViewport:s}=this.hot.view._wt,a=this.hot.selection.isSelectedByRowHeader(),l=this.hot.getSelectedRangeLast();if(!l||!a||mw(Ew,this)||0!==e.button)return fw(Ew,this,!1),mw(Sw,this).length=0,void Object(i["removeClass"])(this.hot.rootElement,[ww,vw]);const c=mw(Mw,this).isBuilt()&&!mw(Mw,this).isAppended(),u=mw(Rw,this).isBuilt()&&!mw(Rw,this).isAppended();c&&u&&(mw(Mw,this).appendTo(o.hider),mw(Rw,this).appendTo(o.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){r.row=!0,fw(Ew,this,!0),mw(Tw,this).eventPageY=e.pageY,mw(Tw,this).coords=t,mw(Tw,this).TD=n,fw(Sw,this,this.prepareRowsToMoving());const a=o.holder.scrollLeft+s.getRowHeaderWidth(),l=this.getRowsHeight(p,t.row-1)+e.offsetY;mw(Rw,this).setPosition(null,a),mw(Rw,this).setSize(o.hider.offsetWidth-a,this.getRowsHeight(p,f)),mw(Rw,this).setOffset(-l,null),Object(i["addClass"])(this.hot.rootElement,ww),this.refreshPositions()}else Object(i["removeClass"])(this.hot.rootElement,yw),fw(Ew,this,!1),mw(Sw,this).length=0}function Lw(e){mw(Ew,this)&&(mw(Tw,this).eventPageY=e.pageY,this.refreshPositions())}function Iw(e,t,n,r){const o=this.hot.getSelectedRangeLast();o&&mw(Ew,this)&&(mw(Sw,this).indexOf(t.row)>-1?Object(i["removeClass"])(this.hot.rootElement,vw):Object(i["addClass"])(this.hot.rootElement,vw),r.row=!0,r.column=!0,r.cell=!0,mw(Tw,this).coords=t,mw(Tw,this).TD=n)}function Pw(){const e=mw(Tw,this).row,t=mw(Sw,this).length;if(fw(Ew,this,!1),Object(i["removeClass"])(this.hot.rootElement,[ww,vw,yw]),this.hot.selection.isSelectedByRowHeader()&&Object(i["addClass"])(this.hot.rootElement,yw),t<1||void 0===e)return;const n=mw(Sw,this)[0],r=this.hot.toPhysicalRow(n),o=this.dragRows(mw(Sw,this),e);if(mw(Sw,this).length=0,!0===o){this.persistentStateSave(),this.hot.render(),this.hot.view.adjustElementsSize();const e=this.hot.toVisualRow(r),n=e+t-1;this.hot.selectRows(e,n)}}function Dw(){const e=this.hot.view._wt.wtTable,t=this.hot.view._wt.wtViewport.getRowHeaderWidth(),n=e.holder.scrollLeft,r=t+n;mw(Rw,this).setPosition(null,r),mw(Rw,this).setSize(e.hider.offsetWidth-r)}function Fw(){this.moveBySettingsOrLoad()}var kw=n("eb36");function Bw(e,t){Hw(e,t),t.add(e)}function Uw(e,t,n){Hw(e,t),t.set(e,n)}function Hw(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function jw(e,t,n){return e.set(Ww(e,t),n),n}function Vw(e,t){return e.get(Ww(e,t))}function Ww(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const Yw="manualRowResize",Qw=30,Xw="manualRowHeights";var Kw=new WeakMap,Gw=new WeakMap,Zw=new WeakMap,zw=new WeakMap,qw=new WeakMap,Jw=new WeakMap,$w=new WeakMap,ey=new WeakMap,ty=new WeakMap,ny=new WeakMap,ry=new WeakMap,iy=new WeakMap,oy=new WeakMap,sy=new WeakMap,ay=new WeakMap,ly=new WeakMap,cy=new WeakSet;class uy extends $t["a"]{static get PLUGIN_KEY(){return Yw}static get PLUGIN_PRIORITY(){return Qw}constructor(e){super(e),Bw(this,cy),Uw(this,Kw,null),Uw(this,Gw,null),Uw(this,Zw,[]),Uw(this,zw,null),Uw(this,qw,null),Uw(this,Jw,null),Uw(this,$w,null),Uw(this,ey,null),Uw(this,ty,this.hot.rootDocument.createElement("DIV")),Uw(this,ny,this.hot.rootDocument.createElement("DIV")),Uw(this,ry,!1),Uw(this,iy,!1),Uw(this,oy,0),Uw(this,sy,null),Uw(this,ay,void 0),Uw(this,ly,void 0),Object(i["addClass"])(Vw(ty,this),"manualRowResizer"),Object(i["addClass"])(Vw(ny,this),"manualRowResizerGuide")}get inlineDir(){return this.hot.isRtl()?"right":"left"}isEnabled(){return this.hot.getSettings()[Yw]}enablePlugin(){this.enabled||(jw(ay,this,new cn["a"]),Vw(ay,this).addLocalHook("init",()=>Ww(cy,this,gy).call(this)),this.hot.rowIndexMapper.registerMap(this.pluginName,Vw(ay,this)),this.addHook("modifyRowHeight",(e,t)=>Ww(cy,this,Ay).call(this,e,t)),this.bindEvents(),super.enablePlugin())}updatePlugin(){this.disablePlugin(),this.enablePlugin(),super.updatePlugin()}disablePlugin(){jw(ly,this,Vw(ay,this).getValues()),this.hot.rowIndexMapper.unregisterMap(this.pluginName),super.disablePlugin()}saveManualRowHeights(){this.hot.runHooks("persistentStateSave",Xw,Vw(ay,this).getValues())}loadManualRowHeights(){const e={};return this.hot.runHooks("persistentStateLoad",Xw,e),e.value}setManualSize(e,t){const n=this.hot.toPhysicalRow(e),r=Math.max(t,kw["a"]);return Vw(ay,this).setValueAtIndex(n,r),r}getLastDesiredRowHeight(){return Vw(zw,this)}setupHandlePosition(e){jw(Kw,this,e);const{view:t}=this.hot,{_wt:n}=t,r=n.wtTable.getCoords(Vw(Kw,this)),o=r.row;if(o<0)return;const s=Object(i["outerWidth"])(Vw(Kw,this)),a=Vw(Kw,this).getBoundingClientRect(),l=o<n.getSetting("fixedRowsTop"),c=o>=t.countNotHiddenRowIndexes(0,1)-n.getSetting("fixedRowsBottom");let u;l?u=n.wtOverlays.topInlineStartCornerOverlay.getRelativeCellPosition(Vw(Kw,this),r.row,r.col):c&&(u=n.wtOverlays.bottomInlineStartCornerOverlay.getRelativeCellPosition(Vw(Kw,this),r.row,r.col)),u||(u=n.wtOverlays.inlineStartOverlay.getRelativeCellPosition(Vw(Kw,this),r.row,r.col)),jw(Gw,this,this.hot.rowIndexMapper.getVisualFromRenderableIndex(o)),jw(Zw,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,n=e.getBottomStartCorner().row;Object(nt["rangeEach"])(t,n,e=>{Vw(Zw,this).includes(e)||Vw(Zw,this).push(e)})})}Vw(Zw,this).includes(Vw(Gw,this))||jw(Zw,this,[Vw(Gw,this)]),jw(ey,this,u.top-6),jw($w,this,parseInt(a.height,10)),Vw(ty,this).style.top=Vw(ey,this)+Vw($w,this)+"px",Vw(ty,this).style[this.inlineDir]=u.start+"px",Vw(ty,this).style.width=s+"px",this.hot.rootElement.appendChild(Vw(ty,this))}refreshHandlePosition(){Vw(ty,this).style.top=Vw(ey,this)+Vw(zw,this)+"px"}setupGuidePosition(){const e=parseInt(Object(i["outerWidth"])(Vw(ty,this)),10),t=parseInt(Vw(ty,this).style[this.inlineDir],10)+e,n=parseInt(this.hot.view.maximumVisibleElementWidth(0),10);Object(i["addClass"])(Vw(ty,this),"active"),Object(i["addClass"])(Vw(ny,this),"active"),Vw(ny,this).style.top=Vw(ty,this).style.top,Vw(ny,this).style[this.inlineDir]=t+"px",Vw(ny,this).style.width=n-e+"px",this.hot.rootElement.appendChild(Vw(ny,this))}refreshGuidePosition(){Vw(ny,this).style.top=Vw(ty,this).style.top}hideHandleAndGuide(){Object(i["removeClass"])(Vw(ty,this),"active"),Object(i["removeClass"])(Vw(ny,this),"active")}checkIfRowHeader(e){const t=Object(i["closest"])(e,["TBODY"],this.hot.rootElement),{inlineStartOverlay:n,topInlineStartCornerOverlay:r,bottomInlineStartCornerOverlay:o}=this.hot.view._wt.wtOverlays;return[n.clone.wtTable.TBODY,r.clone.wtTable.TBODY,o.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(qw,this)<t?t:Vw(qw,this)}afterMouseDownTimeout(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize()},t=(t,n)=>{const r=this.hot.runHooks("beforeRowResize",this.getActualRowHeight(t),t,!0);void 0!==r&&jw(qw,this,r),this.setManualSize(t,Vw(qw,this)),this.hot.runHooks("afterRowResize",this.getActualRowHeight(t),t,!0),n&&e()};if(Vw(oy,this)>=2){const n=Vw(Zw,this).length;n>1?(Object(d["arrayEach"])(Vw(Zw,this),e=>{t(e)}),e()):Object(d["arrayEach"])(Vw(Zw,this),e=>{t(e,!0)})}jw(oy,this,0),jw(sy,this,null)}bindEvents(){const{rootElement:e,rootWindow:t}=this.hot;this.eventManager.addEventListener(e,"mouseover",e=>Ww(cy,this,dy).call(this,e)),this.eventManager.addEventListener(e,"mousedown",e=>Ww(cy,this,hy).call(this,e)),this.eventManager.addEventListener(t,"mousemove",e=>Ww(cy,this,py).call(this,e)),this.eventManager.addEventListener(t,"mouseup",()=>Ww(cy,this,fy).call(this)),this.eventManager.addEventListener(Vw(ty,this),"contextmenu",()=>Ww(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(ry,this)||this.setupHandlePosition(t))}}function hy(e){Object(i["hasClass"])(e.target,"manualRowResizer")&&(this.setupHandlePosition(Vw(Kw,this)),this.setupGuidePosition(),jw(ry,this,!0),null===Vw(sy,this)&&(jw(sy,this,setTimeout(()=>this.afterMouseDownTimeout(),500)),this.hot._registerTimeout(Vw(sy,this))),jw(oy,this,Vw(oy,this)+1),jw(Jw,this,e.pageY),jw(qw,this,Vw($w,this)))}function py(e){Vw(ry,this)&&(jw(zw,this,Vw($w,this)+(e.pageY-Vw(Jw,this))),Object(d["arrayEach"])(Vw(Zw,this),e=>{jw(qw,this,this.setManualSize(e,Vw(zw,this)))}),this.refreshHandlePosition(),this.refreshGuidePosition())}function fy(){const e=()=>{this.hot.forceFullRender=!0,this.hot.view.render(),this.hot.view.adjustElementsSize()},t=(t,n)=>{this.hot.runHooks("beforeRowResize",this.getActualRowHeight(t),t,!1),n&&e(),this.saveManualRowHeights(),this.hot.runHooks("afterRowResize",this.getActualRowHeight(t),t,!1)};if(Vw(ry,this)){if(this.hideHandleAndGuide(),jw(ry,this,!1),Vw(qw,this)!==Vw($w,this)){const n=Vw(Zw,this).length;n>1?(Object(d["arrayEach"])(Vw(Zw,this),e=>{t(e)}),e()):Object(d["arrayEach"])(Vw(Zw,this),e=>{t(e,!0)})}this.setupHandlePosition(Vw(Kw,this))}}function my(){this.hideHandleAndGuide(),this.hot.rootElement.removeChild(Vw(ty,this)),this.hot.rootElement.removeChild(Vw(ny,this)),jw(ry,this,!1),jw(iy,this,!0),this.hot._registerImmediate(()=>{jw(iy,this,!1)})}function Ay(e,t){let n=e;if(this.enabled){const e=this.hot.toPhysicalRow(t),r=Vw(ay,this).getValueAtIndex(e);this.hot.getSettings()[Yw]&&r&&(n=r)}return n}function gy(){const e=this.hot.getSettings()[Yw],t=this.loadManualRowHeights();this.hot.batchExecution(()=>{"undefined"!==typeof t?t.forEach((e,t)=>{Vw(ay,this).setValueAtIndex(t,e)}):Array.isArray(e)?(e.forEach((e,t)=>{Vw(ay,this).setValueAtIndex(t,e)}),jw(ly,this,e)):!0===e&&Array.isArray(Vw(ly,this))&&Vw(ly,this).forEach((e,t)=>{Vw(ay,this).setValueAtIndex(t,e)})},!0)}n("73d9");function _y(e,t,n){by(e,t),t.set(e,n)}function by(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function vy(e,t,n){return(t=wy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Ry(e,t){return e.get(Sy(e,t))}function My(e,t,n){return e.set(Sy(e,t),n),n}function Sy(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Ey=new WeakMap;class Ty{constructor(e,t,n,r,i,o){vy(this,"row",void 0),vy(this,"col",void 0),vy(this,"rowspan",void 0),vy(this,"colspan",void 0),vy(this,"removed",!1),vy(this,"cellCoordsFactory",void 0),vy(this,"cellRangeFactory",void 0),_y(this,Ey,null),this.row=e,this.col=t,this.rowspan=n,this.colspan=r,this.cellCoordsFactory=i,this.cellRangeFactory=o}static NEGATIVE_VALUES_WARNING(e){let{row:t,col:n,rowspan:r,colspan:i}=e;return Do["a"]`The merged cell declared with {row: ${t}, col: ${n},\x20
  494. rowspan: ${r}, 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:n}=e;return Do["a"]`The merged cell declared at [${t}, ${n}] 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:n}=e;return Do["a"]`The merged cell declared at [${t}, ${n}] 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:n}=e;return Do["a"]`The merged cell declared at [${t}, ${n}] 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:n,rowspan:r,colspan:i}=e;return t<0||n<0||r<0||i<0}static isSingleCell(e){let{rowspan:t,colspan:n}=e;return 1===n&&1===t}static containsZeroSpan(e){let{rowspan:t,colspan:n}=e;return 0===n||0===t}static isOutOfBounds(e,t,n){return e.row<0||e.col<0||e.row>=t||e.row+e.rowspan-1>=t||e.col>=n||e.col+e.colspan-1>=n}normalize(e){const t=e.countRows(),n=e.countCols();this.row<0?this.row=0:this.row>t-1&&(this.row=t-1),this.col<0?this.col=0:this.col>n-1&&(this.col=n-1),this.row+this.rowspan>t-1&&(this.rowspan=t-this.row),this.col+this.colspan>n-1&&(this.colspan=n-this.col),My(Ey,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 n=e[0]||e[1],r=t+Math.abs(e[0]||e[1])-1,i=e[0]?"colspan":"rowspan",o=e[0]?"col":"row",s=Math.min(t,r),a=Math.max(t,r),l=this[o],c=this[o]+this[i]-1;if(l>=t&&(this[o]+=n),n>0)t<=c&&t>l&&(this[i]+=n);else if(n<0){if(s<=l&&a>=c)return this.removed=!0,My(Ey,this,null),!1;if(l>=s&&l<=a){const e=a-l+1,t=Math.abs(n)-e;this[o]-=t+n,this[i]-=e}else if(l<=s&&c>=a)this[i]+=n;else if(l<=s&&c>=s&&c<a){const e=c-s+1;this[i]-=e}}return My(Ey,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 Ry(Ey,this)||My(Ey,this,this.cellRangeFactory(this.cellCoordsFactory(this.row,this.col),this.cellCoordsFactory(this.row,this.col),this.cellCoordsFactory(this.getLastRow(),this.getLastColumn()))),Ry(Ey,this)}}var Cy=Ty;function Oy(e,t){xy(e,t),t.add(e)}function xy(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ny(e,t,n){return(t=Ly(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Py(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Dy=new WeakSet;class Fy{constructor(e){Oy(this,Dy),Ny(this,"plugin",void 0),Ny(this,"mergedCells",[]),Ny(this,"mergedCellsMatrix",new Map),Ny(this,"hot",void 0),this.plugin=e,this.hot=e.hot}static IS_OVERLAPPING_WARNING(e){let{row:t,col:n}=e;return Do["a"]`The merged cell declared at [${t}, ${n}], 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 n;return!!this.mergedCellsMatrix.has(e)&&(null!==(n=this.mergedCellsMatrix.get(e).get(t))&&void 0!==n&&n)}getByRange(e){let t=!1;return Object(d["arrayEach"])(this.mergedCells,n=>!(n.row<=e.from.row&&n.row+n.rowspan-1>=e.to.row&&n.col<=e.from.col&&n.col+n.colspan-1>=e.to.col)||(t=n,t)),t}filterOverlappingMergeCells(e){const t=new Set;this.mergedCells.forEach(e=>{const{row:n,col:r,colspan:i,rowspan:o}=e;for(let s=n;s<n+o;s++)for(let e=r;e<r+i;e++)t.add(`r${s},c${e}`)});const n=e.filter(e=>{const{row:n,col:r,colspan:i,rowspan:o}=e,s=new Set;let a=!1;for(let l=n;l<n+o;l++){for(let n=r;n<r+i;n++){const r=`r${l},c${n}`;if(t.has(r)){Object(Xr["b"])(Fy.IS_OVERLAPPING_WARNING(e)),a=!0;break}s.add(r)}if(a)break}return a||t.add(...s),!a});return n}getWithinRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{row:n,col:r}=e.getTopStartCorner(),{row:i,col:o}=e.getBottomEndCorner(),s=[];for(let a=n;a<=i;a++)for(let e=r;e<=o;e++){const n=this.get(a,e);n&&(t||!t&&n.row===a&&n.col===e)&&s.push(n)}return s}add(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e.row,r=e.col,i=e.rowspan,o=e.colspan,s=new Cy(n,r,i,o,this.hot._createCellCoords,this.hot._createCellRange),a=this.get(n,r),l=!t&&this.isOverlapping(s);return a||l?(Object(Xr["b"])(Fy.IS_OVERLAPPING_WARNING(s)),!1):(this.hot&&s.normalize(this.hot),this.mergedCells.push(s),Py(Dy,this,By).call(this,s),s)}remove(e,t){const n=this.get(e,t),r=n?this.mergedCells.indexOf(n):-1;return!(!n||-1===r)&&(this.mergedCells.splice(r,1),Py(Dy,this,Uy).call(this,n),n)}clear(){Object(d["arrayEach"])(this.mergedCells,e=>{let{row:t,col:n,rowspan:r,colspan:i}=e;Object(nt["rangeEach"])(t,t+r,e=>{Object(nt["rangeEach"])(n,n+i,t=>{const n=this.hot.getCell(e,t);n&&(n.removeAttribute("rowspan"),n.removeAttribute("colspan"),n.style.display="")})})}),this.mergedCells.length=0,this.mergedCellsMatrix=new Map}isOverlapping(e){const t=e.getRange();for(let n=0;n<this.mergedCells.length;n++){const e=this.mergedCells[n],r=e.getRange();if(r.overlaps(t))return!0}return!1}isFirstRenderableMergedCell(e,t){const n=this.get(e,t);return n&&this.hot.rowIndexMapper.getNearestNotHiddenIndex(n.row,1)===e&&this.hot.columnIndexMapper.getNearestNotHiddenIndex(n.col,1)===t}getFirstRenderableCoords(e,t){const n=this.get(e,t);if(!n||this.isFirstRenderableMergedCell(e,t))return this.hot._createCellCoords(e,t);const r=this.hot.rowIndexMapper.getNearestNotHiddenIndex(n.row,1),i=this.hot.columnIndexMapper.getNearestNotHiddenIndex(n.col,1);return this.hot._createCellCoords(r,i)}getStartMostColumnIndex(e,t){const n=Py(Dy,this,ky).call(this,e,"col",-1);let r=t;for(let i=0;i<n.length;i++)if(n[i]<=t){r=n[i];break}return r}getEndMostColumnIndex(e,t){const n=Py(Dy,this,ky).call(this,e,"col",1);let r=t;for(let i=0;i<n.length;i++)if(n[i]>=t){r=n[i];break}return r}getTopMostRowIndex(e,t){const n=Py(Dy,this,ky).call(this,e,"row",-1);let r=t;for(let i=0;i<n.length;i++)if(n[i]<=t){r=n[i];break}return r}getBottomMostRowIndex(e,t){const n=Py(Dy,this,ky).call(this,e,"row",1);let r=t;for(let i=0;i<n.length;i++)if(n[i]>=t){r=n[i];break}return r}shiftCollections(e,t,n){const r=[0,0];switch(e){case"right":r[0]+=n;break;case"left":r[0]-=n;break;case"down":r[1]+=n;break;case"up":r[1]-=n;break;default:}const i=[];this.mergedCells.forEach(e=>{e.shift(r,t),e.removed&&i.push(e)}),i.forEach(e=>{this.mergedCells.splice(this.mergedCells.indexOf(e),1)}),this.mergedCellsMatrix.clear(),this.mergedCells.forEach(e=>{Py(Dy,this,By).call(this,e)})}}function ky(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const r=new Map,i=1===n?e.getTopStartCorner():e.getBottomEndCorner(),o=1===n?e.getBottomEndCorner():e.getTopStartCorner();for(let s=i.row;1===n?s<=o.row:s>=o.row;s+=n)for(let e=i.col;1===n?e<=o.col:e>=o.col;e+=n){const i="row"===t?s:e,o=this.get(s,e);let a=i;o&&(a=1===n?o[t]+o[t+"span"]-1:o[t]),r.has(i)||r.set(i,new Set),r.get(i).add(a)}return Array.from(new Set(Array.from(r.entries()).filter(e=>{let[,t]=e;return 1===t.size}).flatMap(e=>{let[,t]=e;return Array.from(t)})))}function By(e){for(let t=e.row;t<e.row+e.rowspan;t++)for(let n=e.col;n<e.col+e.colspan;n++)this.mergedCellsMatrix.has(t)||this.mergedCellsMatrix.set(t,new Map),this.mergedCellsMatrix.get(t).set(n,e)}function Uy(e){for(let t=e.row;t<e.row+e.rowspan;t++)for(let n=e.col;n<e.col+e.colspan;n++)this.mergedCellsMatrix.get(t).delete(n)}var Hy=Fy;function jy(e,t,n){return(t=Vy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vy(e){var t=Wy(e,"string");return"symbol"==typeof t?t:t+""}function Wy(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Yy{constructor(e){jy(this,"plugin",void 0),jy(this,"mergedCellsCollection",void 0),jy(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 n=null;return n=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",n}snapDragArea(e,t,n,r){const i=t.slice(0),o=this.getAutofillSize(e,t,n),[s,a,l,c]=e,u=["up","down"].indexOf(n)>-1,d=u?l-s+1:c-a+1,h=Math.floor(o/d)*d,p=o-h,f=this.getFarthestCollection(e,t,n,r);if(f)if("down"===n){const e=f.row+f.rowspan-s-p,t=i[2]+e;t>=this.plugin.hot.countRows()?i[2]-=p:i[2]+=p?e:0}else if("right"===n){const e=f.col+f.colspan-a-p,t=i[3]+e;t>=this.plugin.hot.countCols()?i[3]-=p:i[3]+=p?e:0}else if("up"===n){const e=l-p-f.row+1,t=i[0]+e;t<0?i[0]+=p:i[0]-=p?e:0}else if("left"===n){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:n,foundMergedCells:r,fillSize:o,dragArea:i,cycleLength:d}),i}updateCurrentFillCache(e){this.currentFillData||(this.currentFillData={}),Object(s["extend"])(this.currentFillData,e)}getAutofillSize(e,t,n){const[r,i,o,s]=e,[a,l,c,u]=t;switch(n){case"up":return r-a;case"down":return c-o;case"left":return i-l;case"right":return u-s;default:return null}}getDragArea(e,t,n){const[r,i,o,s]=e,[a,l,c,u]=t;switch(n){case"up":return[a,l,r-1,s];case"down":return[o+1,i,c,s];case"left":return[a,l,o,i-1];case"right":return[r,s+1,c,u];default:return null}}getFarthestCollection(e,t,n,r){const[i,o,s,a]=e,l=["up","down"].indexOf(n)>-1,c=l?s:a,u=l?i:o,h=this.getAutofillSize(e,t,n),p=l?s-i+1:a-o+1,f=Math.floor(h/p)*p,m=h-f;let A=null,g=null,_=null;switch(n){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"])(r,e=>{e[A](_)&&e.isFarther(g,n)&&(g=e)}),g}recreateAfterDataPopulation(e){if(!this.currentFillData)return;const t=this.getRangeFromChanges(e),n=this.currentFillData.foundMergedCells,r=this.currentFillData.dragDirection,i=(e,n)=>{switch(r){case"up":return e.row-n>=t.from.row;case"down":return e.row+e.rowspan-1+n<=t.to.row;case"left":return e.col-n>=t.from.column;case"right":return e.col+e.colspan-1+n<=t.to.column;default:return null}};let o=0,s=null,a=1;do{for(let e=0;e<n.length;e+=1){if(s=n[e],o=a*this.currentFillData.cycleLength,i(s,o))switch(r){case"up":this.plugin.mergedCellsCollection.add({row:s.row-o,rowspan:s.rowspan,col:s.col,colspan:s.colspan});break;case"down":this.plugin.mergedCellsCollection.add({row:s.row+o,rowspan:s.rowspan,col:s.col,colspan:s.colspan});break;case"left":this.plugin.mergedCellsCollection.add({row:s.row,rowspan:s.rowspan,col:s.col-o,colspan:s.colspan});break;case"right":this.plugin.mergedCellsCollection.add({row:s.row,rowspan:s.rowspan,col:s.col+o,colspan:s.colspan});break;default:}e===n.length-1&&(a+=1)}}while(i(s,o));this.currentFillData=null,this.plugin.hot.render(),n.length>0&&this.plugin.ifChromeForceRepaint()}getRangeFromChanges(e){const t={min:null,max:null},n={min:null,max:null};return Object(d["arrayEach"])(e,e=>{const r=e[0],i=this.plugin.hot.propToCol(e[1]);(null===t.min||r<t.min)&&(t.min=r),(null===t.max||r>t.max)&&(t.max=r),(null===n.min||i<n.min)&&(n.min=i),(null===n.max||i>n.max)&&(n.max=i)}),{from:{row:t.min,column:n.min},to:{row:t.max,column:n.max}}}dragAreaOverlapsCollections(e,t,n){const r=this.getDragArea(e,t,n),[i,o,s,a]=r,l=this.plugin.hot._createCellCoords(i,o),c=this.plugin.hot._createCellCoords(s,a),u=this.plugin.hot._createCellRange(l,l,c);return this.mergedCellsCollection.getWithinRange(u,!0).length>0}}var Qy=Yy;function Xy(e,t,n){return(t=Ky(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ky(e){var t=Gy(e,"string");return"symbol"==typeof t?t:t+""}function Gy(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Zy{constructor(e){Xy(this,"plugin",void 0),Xy(this,"hot",void 0),Xy(this,"fullySelectedMergedCellClassName","fullySelectedMergedCell"),this.plugin=e,this.hot=e.hot}getSelectedMergedCellClassName(e,t,n,r){const i=Math.min(n[0],n[2]),o=Math.min(n[1],n[3]),s=Math.max(n[0],n[2]),a=Math.max(n[1],n[3]);if(void 0===r)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&&o<=c.col&&s>=u&&a>=d;return h?`${this.fullySelectedMergedCellClassName}-${r}`:this.isMergeCellFullySelected(c,this.plugin.hot.getSelectedRange())?this.fullySelectedMergedCellClassName+"-multiple":void 0}isMergeCellFullySelected(e,t){const n=[];if(!t||!e)return!1;for(let r=0;r<e.rowspan;r+=1)for(let t=0;t<e.colspan;t+=1)n.push(this.hot._createCellCoords(e.row+r,e.col+t));for(let r=0;r<n.length;r+=1){const e=[];for(let i=0;i<t.length;i+=1)e[i]=t[i].includes(n[r]);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 zy=Zy;function qy(e){return{key:"mergeCells",name(){const t=this.getSelectedLast();if(t){const n=e.mergedCellsCollection.get(t[0],t[1]);if(n.row===t[0]&&n.col===t[1]&&n.row+n.rowspan-1===t[2]&&n.col+n.colspan-1===t[3])return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_UNMERGE_CELLS"])}return this.getTranslatedPhrase(ke["CONTEXTMENU_ITEMS_MERGE_CELLS"])},callback(){const t=this.getSelectedRangeLast();if(!t)return;t.setDirection(this.isRtl()?"NE-SW":"NW-SE");const{from:n,to:r}=t;e.toggleMerge(t),this.selectCell(n.row,n.col,r.row,r.col,!1)},disabled(){const e=this.getSelectedLast();if(!e)return!0;const t=Cy.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 Jy(e,t,n){return(t=$y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $y(e){var t=eR(e,"string");return"symbol"==typeof t?t:t+""}function eR(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class tR{constructor(e){Jy(this,"data",void 0),Jy(this,"next",null),Jy(this,"prev",null),this.data=e}}class nR{constructor(){Jy(this,"first",null),Jy(this,"last",null)}push(e){const t=new tR(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 tR(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 n=e(t);if(t===this.last||!0===n)break;t=t.next}}remove(e){if(null===this.first)return!1;let t,n,r=this.first;while(r){if(r.data===e)return t=r.next,n=r.prev,t&&(t.prev=n),n&&(n.next=t),r===this.first&&(this.first=t),r===this.last&&(this.last=n),!0;r=r.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,n){n&&(e(n,n.next),n.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,n=this.first;while(t)e=t.next,t.next=n,n.prev=t,n=t,t=e;this.first.next=null,this.last.prev=null,e=this.first,this.first=n,this.last=e}}var rR=nR;function iR(e,t){sR(e,t),t.add(e)}function oR(e,t,n){sR(e,t),t.set(e,n)}function sR(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function aR(e,t){return e.get(cR(e,t))}function lR(e,t,n){return e.set(cR(e,t),n),n}function cR(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var uR=new WeakMap,dR=new WeakMap,hR=new WeakMap,pR=new WeakMap,fR=new WeakMap,mR=new WeakMap,AR=new WeakMap,gR=new WeakSet;class _R{constructor(e){let{mergedCellsGetter:t,rowIndexMapper:n,columnIndexMapper:r}=e;iR(this,gR),oR(this,uR,new rR),oR(this,dR,new rR),oR(this,hR,null),oR(this,pR,null),oR(this,fR,null),oR(this,mR,null),oR(this,AR,null),lR(fR,this,t),lR(mR,this,n),lR(AR,this,r)}getCurrentVerticalNode(){return aR(pR,this).data}getFirstVerticalNode(){return aR(dR,this).first.data}getNextVerticalNode(){return aR(pR,this).next.data}getPrevVerticalNode(){return aR(pR,this).prev.data}getCurrentHorizontalNode(){return aR(hR,this).data}getFirstHorizontalNode(){return aR(uR,this).first.data}getNextHorizontalNode(){return aR(hR,this).next.data}getPrevHorizontalNode(){return aR(hR,this).prev.data}setPrevNodeAsActive(){lR(pR,this,aR(pR,this).prev),lR(hR,this,aR(hR,this).prev)}setNextNodeAsActive(){lR(pR,this,aR(pR,this).next),lR(hR,this,aR(hR,this).next)}buildFocusOrder(e){const t=e.getTopStartCorner(),n=e.getBottomEndCorner(),r=new WeakSet;lR(uR,this,new rR);for(let o=t.row;o<=n.row;o++)if(!aR(mR,this).isHidden(o))for(let i=t.col;i<=n.col;i++){if(aR(AR,this).isHidden(i))continue;const t=cR(gR,this,bR).call(this,e,aR(uR,this),r,o,i);t&&lR(hR,this,t)}aR(uR,this).first&&(aR(uR,this).first.prev=aR(uR,this).last,aR(uR,this).last.next=aR(uR,this).first);const i=new WeakSet;lR(dR,this,new rR);for(let o=t.col;o<=n.col;o++)if(!aR(AR,this).isHidden(o))for(let r=t.row;r<=n.row;r++){if(aR(mR,this).isHidden(r))continue;const t=cR(gR,this,bR).call(this,e,aR(dR,this),i,r,o);t&&lR(pR,this,t)}aR(dR,this).first&&(aR(dR,this).first.prev=aR(dR,this).last,aR(dR,this).last.next=aR(dR,this).first)}setActiveNode(e,t){return aR(uR,this).inorder(n=>{const{rowStart:r,rowEnd:i,colStart:o,colEnd:s}=n.data;if(e>=r&&e<=i&&t>=o&&t<=s)return lR(hR,this,n),!1}),aR(dR,this).inorder(n=>{const{rowStart:r,rowEnd:i,colStart:o,colEnd:s}=n.data;if(e>=r&&e<=i&&t>=o&&t<=s)return lR(pR,this,n),!1}),this}}function bR(e,t,n,r,i){const o=e.getTopStartCorner(),s=e.getBottomEndCorner(),a=e.highlight.clone().normalize(),l=aR(fR,this).call(this,r,i);if(l&&n.has(l))return null;const c={colStart:i,colEnd:i,rowStart:r,rowEnd:r};if(l){if(n.add(l),l.row<o.row||l.row+l.rowspan-1>s.row||l.col<o.col||l.col+l.colspan-1>s.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 r===a.row&&i===a.col||l&&a.row>=l.row&&a.row<=l.row+l.rowspan-1&&a.col>=l.col&&a.col<=l.col+l.colspan-1?u:null}function vR(e){const{hot:t}=e,{rowIndexMapper:n,columnIndexMapper:r}=t;function i(){}function o(t,i,o){const a=e.mergedCellsCollection.get(i,o);if(!Object(s["isObject"])(a))return t.removeAttribute("rowspan"),t.removeAttribute("colspan"),void(t.style.display="");const{row:l,col:c,colspan:u,rowspan:d}=a,[h,p]=e.translateMergedCellToRenderable(l,d,c,u),f=n.getRenderableFromVisualIndex(i),m=r.getRenderableFromVisualIndex(o),A=h-f+1,g=p-m+1,_=n.getNearestNotHiddenIndex(l,1),b=r.getNearestNotHiddenIndex(c,1),v=Math.min(d,A),w=Math.min(u,g);_===i&&b===o?(t.setAttribute("rowspan",v),t.setAttribute("colspan",w)):(t.removeAttribute("rowspan"),t.removeAttribute("colspan"),t.style.display="none")}return{before:i,after:o}}function wR(e,t){RR(e,t),t.add(e)}function yR(e,t,n){RR(e,t),t.set(e,n)}function RR(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function MR(e,t,n){return(t=SR(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SR(e){var t=ER(e,"string");return"symbol"==typeof t?t:t+""}function ER(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function TR(e,t,n){return e.set(OR(e,t),n),n}function CR(e,t){return e.get(OR(e,t))}function OR(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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 xR="mergeCells",NR=150,LR=xR;var IR=new WeakMap,PR=new WeakMap,DR=new WeakMap,FR=new WeakMap,kR=new WeakSet;class BR extends $t["a"]{constructor(){super(...arguments),wR(this,kR),MR(this,"mergedCellsCollection",null),MR(this,"autofillCalculations",null),MR(this,"selectionCalculations",null),yR(this,IR,null),yR(this,PR,{row:0,col:0}),yR(this,DR,new _R({mergedCellsGetter:(e,t)=>this.mergedCellsCollection.get(e,t),rowIndexMapper:this.hot.rowIndexMapper,columnIndexMapper:this.hot.columnIndexMapper})),yR(this,FR,vR(this))}static get PLUGIN_KEY(){return xR}static get PLUGIN_PRIORITY(){return NR}isEnabled(){return!!this.hot.getSettings()[xR]}enablePlugin(){var e=this;this.enabled||(this.mergedCellsCollection=new Hy(this),this.autofillCalculations=new Qy(this),this.selectionCalculations=new zy(this),this.addHook("afterInit",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,UR).call(e,...n)})),this.addHook("modifyTransformFocus",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,jR).call(e,...n)})),this.addHook("modifyTransformStart",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,VR).call(e,...n)})),this.addHook("modifyTransformEnd",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,WR).call(e,...n)})),this.addHook("beforeSelectionHighlightSet",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,YR).call(e,...n)})),this.addHook("beforeSetRangeStart",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,KR).call(e,...n)})),this.addHook("beforeSetRangeStartOnly",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,KR).call(e,...n)})),this.addHook("beforeSelectionFocusSet",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,GR).call(e,...n)})),this.addHook("afterSelectionFocusSet",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,ZR).call(e,...n)})),this.addHook("afterSelectionEnd",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,zR).call(e,...n)})),this.addHook("modifyGetCellCoords",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,QR).call(e,...n)})),this.addHook("afterIsMultipleSelection",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,HR).call(e,...n)})),this.addHook("afterRenderer",(function(){return CR(FR,e).after(...arguments)})),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,XR).call(e,...n)})),this.addHook("afterGetCellMeta",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,qR).call(e,...n)})),this.addHook("afterViewportRowCalculatorOverride",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,JR).call(e,...n)})),this.addHook("afterViewportColumnCalculatorOverride",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,$R).call(e,...n)})),this.addHook("modifyAutofillRange",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,eM).call(e,...n)})),this.addHook("afterCreateCol",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,tM).call(e,...n)})),this.addHook("afterRemoveCol",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,nM).call(e,...n)})),this.addHook("afterCreateRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,rM).call(e,...n)})),this.addHook("afterRemoveRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,iM).call(e,...n)})),this.addHook("afterChange",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,oM).call(e,...n)})),this.addHook("beforeDrawBorders",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,sM).call(e,...n)})),this.addHook("afterDrawSelection",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,aM).call(e,...n)})),this.addHook("beforeRemoveCellClassNames",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,lM).call(e,...n)})),this.addHook("beforeBeginEditing",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,cM).call(e,...n)})),this.addHook("modifyRowHeightByOverlayName",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return OR(kR,e,uM).call(e,...n)})),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()[xR];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:n,rowspan:r}=e;for(let i=n+1;i<n+r;i++)t.push(i)}),t=[...new Set(t)],t.forEach(t=>{const n=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 r=t.getRow(n);r&&(r.style.background=Object(i["getStyle"])(r,"backgroundColor").replace(")",", 0.99)"),e.push(r))})}),this.hot._registerTimeout(()=>{e.forEach(e=>{e.style.background=Object(i["getStyle"])(e,"backgroundColor").replace(", 0.99)",")")})},1)}validateSetting(e){return!!e&&(Cy.containsNegativeValues(e)?(Object(Xr["b"])(Cy.NEGATIVE_VALUES_WARNING(e)),!1):Cy.isOutOfBounds(e,this.hot.countRows(),this.hot.countCols())?(Object(Xr["b"])(Cy.IS_OUT_OF_BOUNDS_WARNING(e)),!1):Cy.isSingleCell(e)?(Object(Xr["b"])(Cy.IS_SINGLE_CELL(e)),!1):!Cy.containsZeroSpan(e)||(Object(Xr["b"])(Cy.ZERO_SPAN_WARNING(e)),!1))}generateFromSettings(e){if(!Array.isArray(e))return;const t=e.filter(e=>this.validateSetting(e)),n=this.mergedCellsCollection.filterOverlappingMergeCells(t),r=[];n.forEach(e=>{const{row:t,col:n,rowspan:i,colspan:o}=e,s=this.hot._createCellCoords(t,n),a=this.hot._createCellCoords(t+i-1,n+o-1),l=this.hot._createCellRange(s,s,a);this.mergeRange(l,!0,!0);for(let c=t;c<t+i;c++)for(let e=n;e<n+o;e++)c===t&&e===n||r.push([c,e,null])}),0!==r.length&&this.hot.setDataAtCell(r,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:n}=e;this.unmergeRange(e,!0),this.mergeRange(e),this.hot.selectCell(t.row,t.col,n.row,n.col,!1)}unmergeSelection(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hot.getSelectedRangeLast();if(!e)return;const{from:t,to:n}=e;this.unmergeRange(e,!0),this.hot.selectCell(t.row,t.col,n.row,n.col,!1)}mergeRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e.getTopStartCorner(),i=e.getBottomEndCorner(),o={row:r.row,col:r.col,rowspan:i.row-r.row+1,colspan:i.col-r.col+1},s=[];let a=null;if(!this.canMergeRange(o,t))return!1;this.hot.runHooks("beforeMergeCells",e,t),Object(nt["rangeEach"])(0,o.rowspan-1,e=>{Object(nt["rangeEach"])(0,o.colspan-1,t=>{let n=null;s[e]||(s[e]=[]),0===e&&0===t?n=this.hot.getSourceDataAtCell(this.hot.toPhysicalRow(o.row),this.hot.toPhysicalColumn(o.col)):this.hot.setCellMeta(o.row+e,o.col+t,"hidden",!0),s[e][t]=n})}),this.hot.setCellMeta(o.row,o.col,"spanned",!0);const l=this.mergedCellsCollection.add(o,t);return!l||(n?a=[o.row,o.col,s]:this.hot.populateFromArray(o.row,o.col,s,void 0,void 0,this.pluginName),t||this.ifChromeForceRepaint(),this.hot.runHooks("afterMergeCells",e,o,t),a)}unmergeRange(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.mergedCellsCollection.getWithinRange(e);0!==n.length&&(this.hot.runHooks("beforeUnmergeCells",e,t),Object(d["arrayEach"])(n,e=>{this.mergedCellsCollection.remove(e.row,e.col),Object(nt["rangeEach"])(0,e.rowspan-1,t=>{Object(nt["rangeEach"])(0,e.colspan-1,n=>{this.hot.removeCellMeta(e.row+t,e.col+n,"hidden"),this.hot.removeCellMeta(e.row+t,e.col+n,"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),n=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;n?this.unmergeRange(e):this.mergeSelection(e)}merge(e,t,n,r){const i=this.hot._createCellCoords(e,t),o=this.hot._createCellCoords(n,r);this.mergeRange(this.hot._createCellRange(i,i,o))}unmerge(e,t,n,r){const i=this.hot._createCellCoords(e,t),o=this.hot._createCellCoords(n,r);this.unmergeRange(this.hot._createCellRange(i,i,o))}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:LR})}unregisterShortcuts(){const e=this.hot.getShortcutManager(),t=e.getContext("grid");t.removeShortcutsByGroup(LR)}modifyViewportRowStart(e,t){const n=this.hot.rowIndexMapper,r=n.getVisualFromRenderableIndex(e.startRow);for(let i=0;i<t;i+=1){const o=this.mergedCellsCollection.get(r,i);if(Object(s["isObject"])(o)){const r=n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o.row,1));if(r<e.startRow)return e.startRow=r,void this.modifyViewportRowStart(e,t)}}}modifyViewportRowEnd(e,t){const n=this.hot.rowIndexMapper,r=n.getVisualFromRenderableIndex(e.endRow);for(let i=0;i<t;i+=1){const o=this.mergedCellsCollection.get(r,i);if(Object(s["isObject"])(o)){const r=o.row+o.rowspan-1,i=n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(r,-1));if(i>e.endRow)return e.endRow=i,void this.modifyViewportRowEnd(e,t)}}}modifyViewportColumnStart(e,t){const n=this.hot.columnIndexMapper,r=n.getVisualFromRenderableIndex(e.startColumn);for(let i=0;i<t;i+=1){const o=this.mergedCellsCollection.get(i,r);if(Object(s["isObject"])(o)){const r=n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o.col,1));if(r<e.startColumn)return e.startColumn=r,void this.modifyViewportColumnStart(e,t)}}}modifyViewportColumnEnd(e,t){const n=this.hot.columnIndexMapper,r=n.getVisualFromRenderableIndex(e.endColumn);for(let i=0;i<t;i+=1){const o=this.mergedCellsCollection.get(i,r);if(Object(s["isObject"])(o)){const r=o.col+o.colspan-1,i=n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(r,-1));if(i>e.endColumn)return e.endColumn=i,void this.modifyViewportColumnEnd(e,t)}}}translateMergedCellToRenderable(e,t,n,r){const{rowIndexMapper:i,columnIndexMapper:o}=this.hot;let s,a;s=0===t?i.getNearestNotHiddenIndex(e,1):i.getNearestNotHiddenIndex(e+t-1,-1),a=0===r?o.getNearestNotHiddenIndex(n,1):o.getNearestNotHiddenIndex(n+r-1,-1);const l=e>=0?i.getRenderableFromVisualIndex(s):e,c=n>=0?o.getRenderableFromVisualIndex(a):n;return[l,c]}}function UR(){this.generateFromSettings(this.hot.getSettings()[xR]),this.hot.render()}function HR(e){if(e){const e=this.mergedCellsCollection.mergedCells,t=this.hot.getSelectedRangeLast(),n=t.getTopStartCorner(),r=t.getBottomEndCorner();for(let i=0;i<e.length;i+=1)if(n.row===e[i].row&&n.col===e[i].col&&r.row===e[i].row+e[i].rowspan-1&&r.col===e[i].col+e[i].colspan-1)return!1}return e}function jR(e){CR(PR,this).row=e.row,CR(PR,this).col=e.col}function VR(e){const t=this.hot.getSelectedRangeLast(),{highlight:n}=t,{columnIndexMapper:r,rowIndexMapper:i}=this.hot;CR(IR,this)&&(null!==i.getRenderableFromVisualIndex(CR(IR,this).row)&&(n.row=CR(IR,this).row),null!==r.getRenderableFromVisualIndex(CR(IR,this).col)&&(n.col=CR(IR,this).col),TR(IR,this,null));const o=this.mergedCellsCollection.get(n.row,n.col);if(!o)return;const s=o.col,a=o.col+o.colspan-1;if(e.col<0){const t=n.col>=s&&n.col<=a?s-1:a,i=r.getNearestNotHiddenIndex(t,-1);e.col=null===i?-this.hot.view.countRenderableColumnsInRange(0,n.col):-Math.max(this.hot.view.countRenderableColumnsInRange(i,n.col)-1,1)}else if(e.col>0){const t=n.col>=s&&n.col<=a?a+1:s,i=r.getNearestNotHiddenIndex(t,1);e.col=null===i?this.hot.view.countRenderableColumnsInRange(n.col,this.hot.countCols()):Math.max(this.hot.view.countRenderableColumnsInRange(n.col,i)-1,1)}const l=o.row,c=o.row+o.rowspan-1;if(e.row<0){const t=n.row>=l&&n.row<=c?l-1:c,r=i.getNearestNotHiddenIndex(t,-1);e.row=null===r?-this.hot.view.countRenderableRowsInRange(0,n.row):-Math.max(this.hot.view.countRenderableRowsInRange(r,n.row)-1,1)}else if(e.row>0){const t=n.row>=l&&n.row<=c?c+1:l,r=i.getNearestNotHiddenIndex(t,1);e.row=null===r?this.hot.view.countRenderableRowsInRange(n.row,this.hot.countRows()):Math.max(this.hot.view.countRenderableRowsInRange(n.row,r)-1,1)}}function WR(e){const t=this.hot.getSelectedRangeLast(),n=t.clone(),{to:r}=t,{columnIndexMapper:i,rowIndexMapper:o}=this.hot,s=(e,t)=>{n.expand(this.hot._createCellCoords(e,t));for(let r=0;r<this.mergedCellsCollection.mergedCells.length;r+=1)n.expandByRange(this.mergedCellsCollection.mergedCells[r].getRange())};if(e.col<0){let o=this.mergedCellsCollection.getStartMostColumnIndex(t,r.col)+e.col;s(r.row,o),"E-W"===t.getHorizontalDirection()&&"E-W"===n.getHorizontalDirection()&&(o=n.getTopStartCorner().col);const a=i.getNearestNotHiddenIndex(o,1);null!==a&&(e.col=-Math.max(this.hot.view.countRenderableColumnsInRange(a,r.col)-1,1))}else if(e.col>0){let o=this.mergedCellsCollection.getEndMostColumnIndex(t,r.col)+e.col;s(r.row,o),"W-E"===t.getHorizontalDirection()&&"W-E"===n.getHorizontalDirection()&&(o=n.getBottomEndCorner().col);const a=i.getNearestNotHiddenIndex(o,-1);null!==a&&(e.col=Math.max(this.hot.view.countRenderableColumnsInRange(r.col,a)-1,1))}if(e.row<0){let i=this.mergedCellsCollection.getTopMostRowIndex(t,r.row)+e.row;s(i,r.col),"S-N"===t.getVerticalDirection()&&"S-N"===n.getVerticalDirection()&&(i=n.getTopStartCorner().row);const a=o.getNearestNotHiddenIndex(i,1);null!==a&&(e.row=-Math.max(this.hot.view.countRenderableRowsInRange(a,r.row)-1,1))}else if(e.row>0){let i=this.mergedCellsCollection.getBottomMostRowIndex(t,r.row)+e.row;s(i,r.col),"N-S"===t.getVerticalDirection()&&"N-S"===n.getVerticalDirection()&&(i=n.getBottomStartCorner().row);const a=o.getNearestNotHiddenIndex(i,-1);null!==a&&(e.row=Math.max(this.hot.view.countRenderableRowsInRange(r.row,a)-1,1))}}function YR(){const e=this.hot.getSelectedRangeLast(),{highlight:t}=e;if(this.hot.selection.isSelectedByColumnHeader()||this.hot.selection.isSelectedByRowHeader())return void TR(IR,this,t.clone());for(let r=0;r<this.mergedCellsCollection.mergedCells.length;r+=1)e.expandByRange(this.mergedCellsCollection.mergedCells[r].getRange(),!1);for(let r=0;r<this.mergedCellsCollection.mergedCells.length;r+=1)e.expandByRange(this.mergedCellsCollection.mergedCells[r].getRange(),!1);const n=this.mergedCellsCollection.get(t.row,t.col);TR(IR,this,t.clone()),n&&t.assign(n)}function QR(e,t){if(e<0||t<0)return;const n=this.mergedCellsCollection.get(e,t);if(!n)return;const{row:r,col:i,colspan:o,rowspan:s}=n;return[r,i,r+s-1,i+o-1]}function XR(e){e.items.push({name:"---------"},qy(this))}function KR(){TR(IR,this,null)}function GR(){if(CR(IR,this).isCell())return;const e=this.hot.getSelectedRangeLast(),t=e.getVerticalDirection(),n=e.getHorizontalDirection(),r=CR(IR,this).clone().normalize();CR(DR,this).setActiveNode(r.row,r.col),CR(PR,this).row>0||CR(PR,this).col>0?CR(DR,this).setPrevNodeAsActive():("E-W"===n&&CR(PR,this).col<0||"S-N"===t&&CR(PR,this).row<0)&&CR(DR,this).setNextNodeAsActive()}function ZR(e,t){const n=this.hot.getSelectedRangeLast(),{columnIndexMapper:r,rowIndexMapper:i}=this.hot;let o=null,s=null;if(CR(PR,this).col<0){const{rowEnd:e,colEnd:t}=CR(DR,this).getPrevHorizontalNode();s=r.getNearestNotHiddenIndex(t,-1),o=i.getNearestNotHiddenIndex(e,-1)}else if(CR(PR,this).col>0){const{rowStart:e,colStart:t}=CR(DR,this).getNextHorizontalNode();s=r.getNearestNotHiddenIndex(t,1),o=i.getNearestNotHiddenIndex(e,1)}else if(CR(PR,this).row<0){const{rowEnd:e,colEnd:t}=CR(DR,this).getPrevVerticalNode();s=r.getNearestNotHiddenIndex(t,-1),o=i.getNearestNotHiddenIndex(e,-1)}else if(CR(PR,this).row>0){const{rowStart:e,colStart:t}=CR(DR,this).getNextVerticalNode();s=r.getNearestNotHiddenIndex(t,1),o=i.getNearestNotHiddenIndex(e,1)}if(null!==o||null!==s){const r=this.hot._createCellCoords(o,s),i=this.mergedCellsCollection.get(r.row,r.col),a=this.hot.selection.highlight.getFocus();e=r.row,t=r.col,i?n.highlight.assign({row:this.hot.rowIndexMapper.getNearestNotHiddenIndex(i.row,1),col:this.hot.columnIndexMapper.getNearestNotHiddenIndex(i.col,1)}):n.highlight.assign(r),a.clear(),a.add(r).commit()}CR(DR,this).setActiveNode(e,t),TR(PR,this,{row:0,col:0})}function zR(){const e=this.hot.getSelectedRangeLast();e.isHeader()||CR(DR,this).buildFocusOrder(this.hot.getSelectedRangeLast())}function qR(e,t,n){const r=this.mergedCellsCollection.get(e,t);r&&(r.row!==e||r.col!==t?n.copyable=!1:(n.rowspan=r.rowspan,n.colspan=r.colspan))}function JR(e){const t=this.hot.countCols();this.modifyViewportRowStart(e,t),this.modifyViewportRowEnd(e,t)}function $R(e){const t=this.hot.countRows();this.modifyViewportColumnStart(e,t),this.modifyViewportColumnEnd(e,t)}function eM(e,t){this.autofillCalculations.correctSelectionAreaSize(t);const n=this.autofillCalculations.getDirection(t,e);let r=e;if(this.autofillCalculations.dragAreaOverlapsCollections(t,r,n))return r=t,r;const i=this.hot._createCellCoords(t[0],t[1]),o=this.hot._createCellCoords(t[2],t[3]),s=this.hot._createCellRange(i,i,o),a=this.mergedCellsCollection.getWithinRange(s);return 0===a.length||(r=this.autofillCalculations.snapDragArea(t,r,n,a)),r}function tM(e,t){this.mergedCellsCollection.shiftCollections("right",e,t)}function nM(e,t){this.mergedCellsCollection.shiftCollections("left",e,t)}function rM(e,t,n){"auto"!==n&&this.mergedCellsCollection.shiftCollections("down",e,t)}function iM(e,t){this.mergedCellsCollection.shiftCollections("up",e,t)}function oM(e,t){"Autofill.fill"===t&&this.autofillCalculations.recreateAfterDataPopulation(e)}function sM(e,t){if(t&&"area"===t){const t=this.hot.getSelectedRangeLast(),n=this.mergedCellsCollection.getWithinRange(t);Object(d["arrayEach"])(n,n=>{t.getBottomEndCorner().row===n.getLastRow()&&t.getBottomEndCorner().col===n.getLastColumn()&&(e[2]=n.row,e[3]=n.col)})}}function aM(e,t,n,r){if(n)return this.selectionCalculations.getSelectedMergedCellClassName(e,t,n,r)}function lM(){return this.selectionCalculations.getSelectedMergedCellClassNameToRemove()}function cM(e,t,n,r){if(!(r instanceof MouseEvent))return;const i=this.hot.getSelectedRangeLast(),o=this.mergedCellsCollection.getByRange(i);if(!o)return;const s=this.hot._createCellCoords(o.row,o.col),a=this.hot._createCellCoords(o.row+o.rowspan-1,o.col+o.colspan-1);return 0===this.hot.selection.getLayerLevel()&&i.isEqual(this.hot._createCellRange(s,s,a))}function uM(e,t,n){if(this.hot.getSettings().rowHeaders||"bottom"===n||"bottom_inline_start_corner"===n)return e;let r,i;if("master"===n)r=this.hot.view.getFirstRenderedVisibleColumn(),i=this.hot.view.getLastRenderedVisibleColumn();else{const e=this.hot.view.getOverlayByName(n);r=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e.clone.wtTable.getFirstRenderedColumn()),i=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e.clone.wtTable.getLastRenderedColumn())}const o=this.mergedCellsCollection.get(t,r);if(!o)return e;const s=this.hot._createCellCoords(t,r),a=this.hot._createCellCoords(t,i),l=this.hot._createCellRange(s,s,a),c=this.mergedCellsCollection.getWithinRange(l),u=c.reduce((e,t)=>{let{rowspan:n}=t;return Math.max(e,n)},1);let d=0;return c.length>1&&c[0].rowspan<u&&(d=u-c[0].rowspan),c.forEach(r=>{var i;let{rowspan:o}=r,s=0;s="top"===n||"top_inline_start_corner"===n?Math.min(u,this.hot.view.countNotHiddenFixedRowsTop()-t):o-d,e=Math.max(null!==(i=e)&&void 0!==i?i:0,OR(kR,this,dM).call(this,t,s))}),e}function dM(e,t){const n=this.hot.view._wt.wtSettings.getSettingPure("defaultRowHeight"),r=this.hot.getPlugin("autoRowSize");let i=0;for(let s=e;s<e+t;s++){var o;if(!this.hot.rowIndexMapper.isHidden(s))i+=null!==(o=null===r||void 0===r?void 0:r.getRowHeight(s))&&void 0!==o?o:n}return i}function hM(e,t){return function(n,r){const[,...i]=n,[,...o]=r;return function n(r){const s=e[r],a=t[r],l=i[r],c=o[r],u=a.multiColumnSorting,d=u.compareFunctionFactory?u.compareFunctionFactory:Vi(a.type),h=d(s,a,u)(l,c);if(h===Wi){const e=r+1;if("undefined"!==typeof t[e])return n(e)}return h}(0)}}function pM(){Object(Xr["b"])(Do["a"]`Plugins \`columnSorting\` and \`multiColumnSorting\` should not be enabled simultaneously.
  501. Only \`multiColumnSorting\` will work. The \`columnSorting\` plugin will be disabled.`)}const fM="sort";function mM(e,t,n){const r=[];return!1===n||e.isColumnSorted(t)&&e.getNumberOfSortedColumns()>1&&r.push(`${fM}-${e.getIndexOfColumnInSortQueue(t)+1}`),r}function AM(e){const t=e.className.split(" "),n=new RegExp(`^${fM}-[0-9]{1,2}$`);return t.filter(e=>n.test(e))}function gM(e,t,n){return(t=_M(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _M(e){var t=bM(e,"string");return"symbol"==typeof t?t:t+""}function bM(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const vM="multiColumnSorting",wM=170,yM="columnSorting",RM=vM;Hi(vM,hM);class MM extends So{constructor(){super(...arguments),gM(this,"pluginKey",vM)}static get PLUGIN_KEY(){return vM}static get PLUGIN_PRIORITY(){return wM}isEnabled(){return super.isEnabled()}enablePlugin(){!this.enabled&&this.hot.getSettings()[this.pluginKey]&&this.hot.getSettings()[yM]&&(pM(),this.hot.getPlugin(yM).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,wo)),!1},runOnlyIf:()=>{var e,t;const n=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return n&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())&&this.hot.selection.isCellVisible(n)&&n.isHeader()},relativeToGroup:a["a"],position:"before",group:RM})}unregisterShortcuts(){super.unregisterShortcuts(),this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(RM)}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,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];super.updateHeaderClasses(e,...n),Object(i["removeClass"])(e,AM(e)),!1!==this.enabled&&Object(i["addClass"])(e,mM(...n))}onUpdateSettings(e){this.hot.getSettings()[this.pluginKey]&&this.hot.getSettings()[yM]&&pM(),super.onUpdateSettings(e)}onAfterOnCellMouseDown(e,t){!1!==to(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,wo))):this.sort(this.getColumnNextConfig(t.col)))}}function SM(e,t,n){return(t=EM(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EM(e){var t=TM(e,"string");return"symbol"==typeof t?t:t+""}function TM(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const CM="multipleSelectionHandles",OM=160;class xM extends $t["a"]{constructor(){super(...arguments),SM(this,"dragged",[]),SM(this,"lastSetCell",null)}static get PLUGIN_KEY(){return CM}static get PLUGIN_PRIORITY(){return OM}isEnabled(){return Object(m["isMobileBrowser"])()}enablePlugin(){this.enabled||(this.registerListeners(),super.enablePlugin())}registerListeners(){const e=this,{rootElement:t}=this.hot;function n(t){if(1===e.dragged.length)return e.dragged.splice(0,e.dragged.length),!0;const n=e.dragged.indexOf(t);if(-1===n)return!1;0===n?e.dragged=e.dragged.slice(0,1):1===n&&(e.dragged=e.dragged.slice(-1))}this.eventManager.addEventListener(t,"touchstart",t=>{let n;return Object(i["hasClass"])(t.target,"topSelectionHandle-HitArea")?(n=e.hot.getSelectedRangeLast(),e.dragged.push("top"),e.touchStartRange={width:n.getWidth(),height:n.getHeight(),direction:n.getDirection()},t.preventDefault(),!1):Object(i["hasClass"])(t.target,"bottomSelectionHandle-HitArea")?(n=e.hot.getSelectedRangeLast(),e.dragged.push("bottom"),e.touchStartRange={width:n.getWidth(),height:n.getHeight(),direction:n.getDirection()},t.preventDefault(),!1):void 0}),this.eventManager.addEventListener(t,"touchend",t=>Object(i["hasClass"])(t.target,"topSelectionHandle-HitArea")?(n.call(e,"top"),e.touchStartRange=void 0,t.preventDefault(),!1):Object(i["hasClass"])(t.target,"bottomSelectionHandle-HitArea")?(n.call(e,"bottom"),e.touchStartRange=void 0,t.preventDefault(),!1):void 0),this.eventManager.addEventListener(t,"touchmove",t=>{const{rootDocument:n}=this.hot;let r,i,o,s,a,l;if(0===e.dragged.length)return;const c=n.elementFromPoint(t.touches[0].clientX,t.touches[0].clientY);c&&c!==e.lastSetCell&&("TD"!==c.nodeName&&"TH"!==c.nodeName||(r=e.hot.getCoords(c),-1===r.col&&(r.col=0),i=e.hot.getSelectedRangeLast(),o=i.getWidth(),s=i.getHeight(),a=i.getDirection(),1===o&&1===s&&e.hot.selection.setRangeEnd(r),l=e.getCurrentRangeCoords(i,r,e.touchStartRange.direction,a,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,n,r,i){const o=e.getTopStartCorner(),s=e.getBottomEndCorner(),a=e.getBottomStartCorner(),l=e.getTopEndCorner();let c={start:null,end:null};switch(n){case"NE-SW":switch(r){case"NE-SW":case"NW-SE":c="top"===i?{start:this.hot._createCellCoords(t.row,e.highlight.col),end:this.hot._createCellCoords(a.row,t.col)}:{start:this.hot._createCellCoords(e.highlight.row,t.col),end:this.hot._createCellCoords(t.row,o.col)};break;case"SE-NW":"bottom"===i&&(c={start:this.hot._createCellCoords(s.row,t.col),end:this.hot._createCellCoords(t.row,o.col)});break;default:break}break;case"NW-SE":switch(r){case"NE-SW":"top"===i?c={start:t,end:a}:c.end=t;break;case"NW-SE":"top"===i?c={start:t,end:s}:c.end=t;break;case"SE-NW":"top"===i?c={start:t,end:o}: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(r){case"NW-SE":c="bottom"===i?{start:this.hot._createCellCoords(t.row,o.col),end:this.hot._createCellCoords(a.row,t.col)}:{start:this.hot._createCellCoords(o.row,t.col),end:this.hot._createCellCoords(t.row,s.col)};break;case"SW-NE":c="top"===i?{start:this.hot._createCellCoords(e.highlight.row,t.col),end:this.hot._createCellCoords(t.row,s.col)}:{start:this.hot._createCellCoords(t.row,o.col),end:this.hot._createCellCoords(o.row,t.col)};break;case"SE-NW":"bottom"===i?c={start:this.hot._createCellCoords(t.row,l.col),end:this.hot._createCellCoords(o.row,t.col)}:"top"===i&&(c={start:a,end:t});break;default:break}break;case"SE-NW":switch(r){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:o};break;default:break}break;default:break}return c}isDragged(){return this.dragged.length>0}}var NM=n("a309");function LM(){let{label:e="",colspan:t=1,origColspan:n=1,collapsible:r=!1,crossHiddenColumns:i=[],isCollapsed:o=!1,isHidden:s=!1,isRoot:a=!1,isPlaceholder:l=!1,headerClassNames:c=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{label:e,colspan:t,origColspan:n,collapsible:r,isCollapsed:o,crossHiddenColumns:i,isHidden:s,isRoot:a,isPlaceholder:l,headerClassNames:c}}function IM(){return{label:"",isPlaceholder:!0}}function PM(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;const n=[];if(0===t)return n;Object(d["arrayEach"])(e,e=>{const r=[];let i=0;n.push(r),Object(d["arrayEach"])(e,e=>{const n=LM();if(Object(s["isObject"])(e)){const{label:t,colspan:r,headerClassName:i}=e;n.label=Object(h["stringify"])(t),"number"===typeof r&&r>1&&(n.colspan=r,n.origColspan=r),"string"===typeof i&&(n.headerClassNames=[...i.split(" ")])}else n.label=Object(h["stringify"])(e);i+=n.origColspan;let o=!1;if(i>=t&&(n.colspan=n.origColspan-(i-t),n.origColspan=n.colspan,o=!0),r.push(n),n.colspan>1)for(let t=0;t<n.colspan-1;t++)r.push(IM());return!o})});const r=Math.max(...Object(d["arrayMap"])(n,e=>e.length));return Object(d["arrayEach"])(n,e=>{if(e.length<r){const t=Object(d["arrayMap"])(new Array(r-e.length),()=>LM());e.splice(e.length,0,...t)}}),n}function DM(e,t,n){FM(e,t),t.set(e,n)}function FM(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function kM(e,t){return e.get(UM(e,t))}function BM(e,t,n){return e.set(UM(e,t),n),n}function UM(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const HM=["label","collapsible"];var jM=new WeakMap,VM=new WeakMap,WM=new WeakMap;class YM{constructor(){DM(this,jM,[]),DM(this,VM,0),DM(this,WM,1/0)}setColumnsLimit(e){BM(WM,this,e)}setData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];BM(jM,this,PM(e,kM(WM,this))),BM(VM,this,kM(jM,this).length)}getData(){return kM(jM,this)}mergeWith(e){Object(d["arrayEach"])(e,e=>{let{row:t,col:n,...r}=e;const i=this.getHeaderSettings(t,n);null!==i&&Object(s["extend"])(i,r,HM)})}map(e){Object(d["arrayEach"])(kM(jM,this),t=>{Object(d["arrayEach"])(t,t=>{const n=e({...t});Object(s["isObject"])(n)&&Object(s["extend"])(t,n,HM)})})}getHeaderSettings(e,t){var n;if(e>=kM(VM,this)||e<0)return null;const r=kM(jM,this)[e];return!1===Array.isArray(r)||t>=r.length?null:null!==(n=r[t])&&void 0!==n?n:null}getHeadersSettings(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const r=[];if(e>=kM(VM,this)||e<0)return r;const i=kM(jM,this)[e];let o=0;for(let s=t;s<i.length;s++){const e=i[s];if(e.isPlaceholder)throw new Error("The first column settings cannot overlap the other header layers");if(o+=e.colspan,r.push(e),e.colspan>1&&(s+=e.colspan-1),o===n)break;if(o>n)throw new Error("The last column settings cannot overlap the other header layers")}return r}getLayersCount(){return kM(VM,this)}getColumnsCount(){return kM(VM,this)>0?kM(jM,this)[0].length:0}clear(){BM(jM,this,[]),BM(VM,this,0)}}function QM(e,t,n){return(t=XM(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XM(e){var t=KM(e,"string");return"symbol"==typeof t?t:t+""}function KM(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const GM="DF-pre-order";function ZM(e,t){let n=e.call(t,this);for(let r=0;r<this.childs.length;r++){if(!1===n)return!1;n=ZM.call(this.childs[r],e,t)}return n}const zM="DF-post-order";function qM(e,t){for(let n=0;n<this.childs.length;n++){const r=qM.call(this.childs[n],e,t);if(!1===r)return!1}return e.call(t,this)}const JM="BF";function $M(e,t){const n=[this];function r(){if(0===n.length)return;const i=n.shift();n.push(...i.childs),!1!==e.call(t,i)&&r()}r()}const eS=JM,tS=new Map([[GM,ZM],[zM,qM],[JM,$M]]);class nS{constructor(e){QM(this,"data",{}),QM(this,"parent",null),QM(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 nS({...e.data});for(let n=0;n<e.childs.length;n++)t.addChild(this.cloneTree(e.childs[n]));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,n=r=>{const i=e.call(t,r);!1!==i&&null!==r.parent&&n(r.parent)};n(this)}}function rS(e,t,n){iS(e,t),t.set(e,n)}function iS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function oS(e,t){return e.get(aS(e,t))}function sS(e,t,n){return e.set(aS(e,t),n),n}function aS(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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){rS(this,lS,new Map),rS(this,cS,new Map),rS(this,uS,null),sS(uS,this,e)}getRoots(){return Array.from(oS(lS,this).values())}getRootByColumn(e){let t;return oS(cS,this).has(e)&&(t=oS(lS,this).get(oS(cS,this).get(e))),t}getNode(e,t){const n=this.getRootByColumn(t);if(!n)return;const r=t-oS(cS,this).get(t);let i,o=0;return n.walkDown(n=>{const{data:{origColspan:s,headerLevel:a}}=n;if(e===a){if(r>=o&&r<=o+s-1)return i=n,i.data.isRoot=t===i.data.columnIndex,!1;o+=s}}),i}rebuildTreeIndex(){let e=0;oS(cS,this).clear(),Object(d["arrayEach"])(oS(lS,this),t=>{let[,{data:{colspan:n}}]=t;for(let r=e;r<e+n;r++)oS(cS,this).set(r,e);e+=n})}buildTree(){this.clear();const e=oS(uS,this).getColumnsCount();let t=0;while(t<e){const e=oS(uS,this).getHeaderSettings(0,t),n=new nS;oS(lS,this).set(t,n),this.buildLeaves(n,t,0,e.origColspan),t+=e.origColspan}this.rebuildTreeIndex()}buildLeaves(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;const i=oS(uS,this).getHeadersSettings(n,t,r);n+=1,Object(d["arrayEach"])(i,r=>{const i={...r,headerLevel:n-1,columnIndex:t};let o;1===n?(e.data=i,o=e):(o=new nS(i),e.addChild(o)),n<oS(uS,this).getLayersCount()&&this.buildLeaves(o,t,n,r.origColspan),t+=r.origColspan})}clear(){oS(lS,this).clear(),oS(cS,this).clear()}}function hS(e,t){e.walkDown(e=>{let{data:n,childs:r}=e;if(!n.isHidden&&(t(n.columnIndex),0===r.length))for(let i=1;i<n.colspan;i++)t(n.columnIndex+i)})}function pS(e,t){let{childs:n}=e;if(0!==n.length)return n[0].data[t]}function fS(e){return pS(e,"origColspan")===e.data.origColspan}function mS(e){const{data:t,childs:n}=e;if(!t.isCollapsed||t.isHidden||t.origColspan<=1)return{rollbackModification:()=>{},affectedColumns:[],colspanCompensation:0};const r=fS(e);if(r)return mS(n[0]);t.isCollapsed=!1;const i=n.slice(1),o=new Set;let s=0;if(i.length>0)Object(d["arrayEach"])(i,e=>{e.replaceTreeWith(e.data.clonedTree),e.data.clonedTree=null;const t=e.data;s+=t.colspan,hS(e,e=>{o.add(e)})});else{const{colspan:e,origColspan:n,columnIndex:r}=t;s=n-e;for(let t=1;t<n;t++)o.add(r+t)}return e.walkUp(e=>{const{data:t}=e;t.colspan+=s,t.colspan>=t.origColspan?(t.colspan=t.origColspan,t.isCollapsed=!1):fS(e)&&(t.isCollapsed=pS(e,"isCollapsed"))}),{rollbackModification:()=>AS(e),affectedColumns:Array.from(o),colspanCompensation:s}}function AS(e){var t;const{data:n,childs:r}=e;if(n.isCollapsed||n.isHidden||n.origColspan<=1)return{rollbackModification:()=>{},affectedColumns:[],colspanCompensation:0};const i=fS(e);if(i)return AS(r[0]);n.isCollapsed=!0;const o=r.slice(1),s=new Set;if(o.length>0)Object(d["arrayEach"])(o,e=>{hS(e,e=>{s.add(e)}),e.data.clonedTree=e.cloneTree(),e.walkDown(e=>{let{data:t}=e;t.isHidden=!0})});else{const{origColspan:e,columnIndex:t}=n;for(let n=1;n<e;n++){const e=t+n;s.add(e)}}const a=n.colspan-(null!==(t=pS(e,"colspan"))&&void 0!==t?t:1);return e.walkUp(e=>{const{data:t}=e;t.colspan-=a,t.colspan<=1?(t.colspan=1,t.isCollapsed=!0):fS(e)&&(t.isCollapsed=pS(e,"isCollapsed"))}),{rollbackModification:()=>mS(e),affectedColumns:Array.from(s),colspanCompensation:a}}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(Do["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:n}=e.data;if(n.includes(t))return;let r=!1;e.walkUp(e=>{const{data:{collapsible:t}}=e;if(t)return r=!0,!1}),r||e.walkUp(e=>{const{data:n}=e;n.crossHiddenColumns.push(t),n.colspan>1?n.colspan-=1:n.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(Do["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:n}=e.data;if(!n.includes(t))return;let r=!1;e.walkUp(e=>{const{data:{collapsible:t}}=e;if(t)return r=!0,!1}),r||e.walkUp(e=>{const{data:n}=e;n.crossHiddenColumns.splice(n.crossHiddenColumns.indexOf(t),1),!n.isHidden&&n.colspan<n.origColspan&&(n.colspan+=1),n.isHidden=!1})}const bS=new Map([["collapse",AS],["expand",mS],["hide-column",gS],["show-column",_S]]);function vS(e,t,n){if(!bS.has(e))throw new Error(`The node modifier action ("${e}") does not exist.`);return bS.get(e)(t,n)}function wS(e){const t=[];return Object(d["arrayEach"])(e,e=>{e.walkDown(e=>{const n=e.data,{origColspan:r,columnIndex:i,headerLevel:o,crossHiddenColumns:s}=n,a=RS(t,o);let l=!1;for(let t=i;t<i+r;t++){const e=s.includes(t);if(e||l)a.push(IM(n));else{const e=yS(n);e.isRoot=!0,a.push(e),l=!0}}})}),t}function yS(e){const{crossHiddenColumns:t,...n}=LM(e);return n}function RS(e,t){let n;return Array.isArray(e[t])?n=e[t]:(n=[],e[t]=n),n}function MS(e,t,n){SS(e,t),t.set(e,n)}function SS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ES(e,t,n){return e.set(CS(e,t),n),n}function TS(e,t){return e.get(CS(e,t))}function CS(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var OS=new WeakMap,xS=new WeakMap,NS=new WeakMap;class LS{constructor(){MS(this,OS,new YM),MS(this,xS,new dS(TS(OS,this))),MS(this,NS,[[]])}setState(e){TS(OS,this).setData(e);let t=!1;try{TS(xS,this).buildTree()}catch(n){TS(xS,this).clear(),TS(OS,this).clear(),t=!0}return ES(NS,this,wS(TS(xS,this).getRoots())),t}setColumnsLimit(e){TS(OS,this).setColumnsLimit(e)}mergeStateWith(e){const t=Object(d["arrayMap"])(e,e=>{let{row:t,...n}=e;return{row:t<0?this.rowCoordsToLevel(t):t,...n}});TS(OS,this).mergeWith(t),TS(xS,this).buildTree(),ES(NS,this,wS(TS(xS,this).getRoots()))}mapState(e){TS(OS,this).map(e),TS(xS,this).buildTree(),ES(NS,this,wS(TS(xS,this).getRoots()))}mapNodes(e){return Object(d["arrayReduce"])(TS(xS,this).getRoots(),(t,n)=>(n.walkDown(n=>{const r=e(n.data);void 0!==r&&t.push(r)}),t),[])}triggerNodeModification(e,t,n){t<0&&(t=this.rowCoordsToLevel(t));const r=TS(xS,this).getNode(t,n);let i;return r&&(i=vS(e,r,n),ES(NS,this,wS(TS(xS,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 n,r;return e<0&&(e=this.rowCoordsToLevel(e)),null===e||e>=this.getLayersCount()?null:null!==(n=null===(r=TS(NS,this)[e])||void 0===r?void 0:r[t])&&void 0!==n?n:null}getHeaderTreeNodeData(e,t){const n=this.getHeaderTreeNode(e,t);return n?{...n.data}:null}getHeaderTreeNode(e,t){if(e<0&&(e=this.rowCoordsToLevel(e)),null===e||e>=this.getLayersCount())return null;const n=TS(xS,this).getNode(e,t);return n||null}findTopMostEntireHeaderLevel(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const r=n-e+1;let i=!1,o=null;for(let s=e;s<=n;s++){const t=TS(xS,this).getRootByColumn(s);if(!t)break;i=!0,t.walkDown(t=>{const{columnIndex:i,headerLevel:s,origColspan:a,isHidden:l}=t.data;l||a<=r&&i>=e&&i+a-1<=n&&(null===o||s<o)&&(o=s)},GM)}return i&&null===o?-1:this.levelToRowCoords(null!==(t=o)&&void 0!==t?t:0)}findLeftMostColumnIndex(e,t){var n;const{isRoot:r}=null!==(n=this.getHeaderSettings(e,t))&&void 0!==n?n:{isRoot:!0};if(r)return t;let i=t-1;while(i>=0){var o;const{isRoot:t}=null!==(o=this.getHeaderSettings(e,i))&&void 0!==o?o:{isRoot:!0};if(t)break;i-=1}return i}findRightMostColumnIndex(e,t){var n;const{isRoot:r,origColspan:i}=null!==(n=this.getHeaderSettings(e,t))&&void 0!==n?n:{isRoot:!0,origColspan:1};if(r)return t+i-1;let o=t+1;while(o<this.getColumnsCount()){var s;const{isRoot:t}=null!==(s=this.getHeaderSettings(e,o))&&void 0!==s?s:{isRoot:!0};if(t)break;o+=1}return o-1}getLayersCount(){return TS(OS,this).getLayersCount()}getColumnsCount(){return TS(OS,this).getColumnsCount()}clear(){ES(NS,this,[]),TS(OS,this).clear(),TS(xS,this).clear()}}function IS(e,t,n){return(t=PS(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PS(e){var t=DS(e,"string");return"symbol"==typeof t?t:t+""}function DS(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class FS{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 n=0;n<t;n++){const t=this.hot.columnIndexMapper.getVisualFromRenderableIndex(n),r=this.hot.toPhysicalColumn(t);this.widthsMap.setValueAtIndex(r,e[n].offsetWidth)}this.container.parentNode.removeChild(this.container),this.container=null}_buildGhostTable(e){const{rootDocument:t,columnIndexMapper:n}=this.hot,r=t.createDocumentFragment(),o=t.createElement("table"),s=!!this.hot.getSettings().dropdownMenu,a=n.getRenderableIndexesLength();for(let l=0;l<this.layersCount;l++){const e=t.createElement("tr");for(let r=0;r<a;r++){let o=n.getVisualFromRenderableIndex(r);null===o&&(o=r);const a=t.createElement("th"),c=this.nestedHeaderSettingsGetter(l,o);if(c&&(!c.isPlaceholder||c.isHidden)){let t=c.label;s&&(t+='<button class="changeType"></button>'),Object(i["fastInnerHTML"])(a,t),a.colSpan=c.colspan,e.appendChild(a)}}o.appendChild(e)}r.appendChild(o),e.appendChild(r)}clear(){this.widthsMap.clear(),this.container=null}}var kS=FS;function BS(e,t){WS(e,t),t.add(e)}function US(e,t,n){return(t=HS(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HS(e){var t=jS(e,"string");return"symbol"==typeof t?t:t+""}function jS(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function VS(e,t,n){WS(e,t),t.set(e,n)}function WS(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function YS(e,t,n){return e.set(XS(e,t),n),n}function QS(e,t){return e.get(XS(e,t))}function XS(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const KS="nestedHeaders",GS=280;var ZS=new WeakMap,zS=new WeakMap,qS=new WeakMap,JS=new WeakMap,$S=new WeakSet;class eE extends $t["a"]{constructor(){super(...arguments),BS(this,$S),VS(this,ZS,new LS),VS(this,zS,null),VS(this,qS,null),VS(this,JS,!1),US(this,"ghostTable",new kS(this.hot,(e,t)=>this.getHeaderSettings(e,t))),US(this,"detectedOverlappedHeaders",!1)}static get PLUGIN_KEY(){return KS}static get PLUGIN_PRIORITY(){return GS}isEnabled(){return!!this.hot.getSettings()[KS]}enablePlugin(){var e=this;if(this.enabled)return;const{nestedHeaders:t}=this.hot.getSettings();Array.isArray(t)&&Array.isArray(t[0])||Object(Xr["b"])(Do["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",()=>XS($S,this,gE).call(this)),this.addHook("afterLoadData",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,_E).call(e,...n)})),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,oE).call(e,...n)})),this.addHook("afterOnCellMouseDown",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,sE).call(e,...n)})),this.addHook("beforeOnCellMouseOver",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,aE).call(e,...n)})),this.addHook("beforeOnCellMouseUp",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,lE).call(e,...n)})),this.addHook("beforeSelectionHighlightSet",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,cE).call(e,...n)})),this.addHook("modifyTransformStart",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,uE).call(e,...n)})),this.addHook("afterSelection",()=>XS($S,this,tE).call(this)),this.addHook("afterSelectionFocusSet",()=>XS($S,this,tE).call(this)),this.addHook("beforeViewportScrollHorizontally",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,nE).call(e,...n)})),this.addHook("afterGetColumnHeaderRenderers",e=>XS($S,this,hE).call(this,e)),this.addHook("modifyColWidth",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,fE).call(e,...n)})),this.addHook("modifyColumnHeaderValue",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,mE).call(e,...n)})),this.addHook("beforeHighlightingColumnHeader",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,rE).call(e,...n)})),this.addHook("beforeCopy",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,iE).call(e,...n)})),this.addHook("beforeSelectColumns",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,dE).call(e,...n)})),this.addHook("afterViewportColumnCalculatorOverride",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,pE).call(e,...n)})),this.addHook("modifyFocusedElement",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return XS($S,e,AE).call(e,...n)})),this.hot.columnIndexMapper.addLocalHook("cacheUpdated",()=>XS($S,this,tE).call(this)),this.hot.rowIndexMapper.addLocalHook("cacheUpdated",()=>XS($S,this,tE).call(this)),super.enablePlugin(),this.updatePlugin()}updatePlugin(){if(!this.hot.view)return;const{nestedHeaders:e}=this.hot.getSettings();QS(ZS,this).setColumnsLimit(this.hot.countCols()),Array.isArray(e)&&(this.detectedOverlappedHeaders=QS(ZS,this).setState(e)),this.detectedOverlappedHeaders&&Object(Xr["b"])(Do["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 n=!0===e?"hide-column":"show-column";QS(ZS,this).triggerColumnModification(n,t)}),!QS(zS,this)&&this.enabled&&YS(zS,this,this.hot.columnIndexMapper.createChangesObserver("hiding").subscribe(e=>{e.forEach(e=>{let{op:t,index:n,newValue:r}=e;if("replace"===t){const e=!0===r?"hide-column":"show-column";QS(ZS,this).triggerColumnModification(e,n)}}),this.ghostTable.buildWidthsMap()})),this.ghostTable.setLayersCount(this.getLayersCount()).buildWidthsMap(),super.updatePlugin()}disablePlugin(){this.clearColspans(),QS(ZS,this).clear(),QS(zS,this).unsubscribe(),YS(zS,this,null),this.ghostTable.clear(),super.disablePlugin()}getStateManager(){return QS(ZS,this)}getLayersCount(){return QS(ZS,this).getLayersCount()}getHeaderSettings(e,t){return QS(ZS,this).getHeaderSettings(e,t)}clearColspans(){if(!this.hot.view)return;const{_wt:e}=this.hot.view,t=e.getSetting("columnHeaders").length,n=e.wtTable.THEAD,r=e.wtOverlays.topOverlay.clone.wtTable.THEAD,o=e.wtOverlays.topInlineStartCornerOverlay?e.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.THEAD:null;for(let s=0;s<t;s++){const e=n.childNodes[s];if(!e)break;const t=r.childNodes[s],a=o?o.childNodes[s]:null;for(let n=0,r=e.childNodes.length;n<r;n++)e.childNodes[n].removeAttribute("colspan"),Object(i["removeClass"])(e.childNodes[n],"hiddenHeader"),t&&t.childNodes[n]&&(t.childNodes[n].removeAttribute("colspan"),Object(i["removeClass"])(t.childNodes[n],"hiddenHeader")),o&&a&&a.childNodes[n]&&(a.childNodes[n].removeAttribute("colspan"),Object(i["removeClass"])(a.childNodes[n],"hiddenHeader"))}}headerRendererFactory(e){var t=this;const n=this.hot.view._wt.getSetting("fixedColumnsStart");return(r,o)=>{var s;const{columnIndexMapper:a,view:l}=this.hot;let c=a.getVisualFromRenderableIndex(r);null===c&&(c=r),o.removeAttribute("colspan"),Object(i["removeClass"])(o,"hiddenHeader");const{colspan:u,isHidden:d,isPlaceholder:h,headerClassNames:p}=null!==(s=QS(ZS,this).getHeaderSettings(e,c))&&void 0!==s?s:{label:""};if(h||d)Object(i["addClass"])(o,"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(o),i=null===(m=e.inlineStartOverlay)||void 0===m?void 0:m.clone.wtTable.THEAD.contains(o),s=t||i?Math.min(u,n-r):u;s>1&&o.setAttribute("colspan",s)}if(this.hot.view.appendColHeader(c,o,(function(){return t.getColumnHeaderValue(...arguments)}),e),!h&&!d){const e=o.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 n;const{isHidden:r,isPlaceholder:i}=null!==(n=QS(ZS,this).getHeaderSettings(t,e))&&void 0!==n?n:{};return i||r?"":this.hot.getColHeader(e,t)}destroy(){YS(ZS,this,null),null!==QS(zS,this)&&(QS(zS,this).unsubscribe(),YS(zS,this,null)),super.destroy()}_getHeaderTreeNodeDataByCoords(e){if(!(e.row>=0||e.col<0))return QS(ZS,this).getHeaderTreeNodeData(e.row,e.col)}}function tE(){var e;const t=null===(e=this.hot)||void 0===e?void 0:e.getSelectedRangeLast();if(!t)return;const{highlight:n}=t,r=n.isHeader()&&n.col>=0;if(r){const e=QS(ZS,this).findLeftMostColumnIndex(n.row,n.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 nE(e){const t=this.hot.getSelectedRangeLast();if(!t)return e;const{highlight:n}=t,r=n.isHeader()&&n.col>=0;if(!r)return e;const i=this.hot.view.getFirstFullyVisibleColumn(),o=this.hot.view.getLastFullyVisibleColumn(),s=QS(ZS,this).findLeftMostColumnIndex(n.row,n.col),a=QS(ZS,this).findRightMostColumnIndex(n.row,n.col);return s<i&&a>o?e:s<i?s:a}function rE(e,t,n){const r=QS(ZS,this).getHeaderTreeNodeData(t,e);if(!r)return e;const{columnCursor:i,selectionType:o,selectionWidth:s}=n,{isRoot:a,colspan:l}=QS(ZS,this).getHeaderSettings(t,e);if(o===NM["g"]){if(!a)return r.columnIndex}else if(o===NM["a"]&&(l>s-i||!a))return null;return e}function iE(e,t,n){let{columnHeadersCount:r}=n;if(0!==r)for(let o=0;o<t.length;o++){const{startRow:n,startCol:r,endRow:s,endCol:a}=t[o],l=s-n+1,c=r-a+1;if(n>=0||1===c)break;for(let t=r;t<=a;t++)for(let o=n;o<=s;o++){var i;const n=l+o,s=t-r;if(0===s)continue;const a=null===(i=QS(ZS,this).getHeaderTreeNodeData(o,t))||void 0===i?void 0:i.isRoot;!1===a&&(e[n][s]="")}}}function oE(e,t,n,r){const i=this._getHeaderTreeNodeDataByCoords(t);i&&(r.column=!0)}function sE(e,t){const n=this._getHeaderTreeNodeDataByCoords(t);if(!n)return;YS(qS,this,t.clone()),YS(JS,this,!0);const{selection:r}=this.hot,i=r.isSelected()?r.getSelectedRange().current():null,s=[],{columnIndex:a,origColspan:l}=n,c=!r.inInSelection(t);e.shiftKey&&i?t.col<i.from.col?s.push(i.getTopEndCorner().col,a,t.row):t.col>i.from.col?s.push(i.getTopStartCorner().col,a+l-1,t.row):s.push(a,a+l-1,t.row):(Object(o["isLeftClick"])(e)||Object(o["isRightClick"])(e)&&c||Object(o["isTouchEvent"])(e))&&s.push(a,a+l-1,t.row),r.selectColumns(...s)}function aE(e,t,n,r){if(!this.hot.view.isMouseDown())return;const i=this._getHeaderTreeNodeDataByCoords(t);if(!i)return;const{columnIndex:o,origColspan:s}=i,a=this.hot.getSelectedRangeLast(),l=a.getTopStartCorner(),c=a.getBottomEndCorner(),{from:u}=a;r.column=!0,r.cell=!0;const d=[],h=Object(nt["clamp"])(t.row,-1/0,-1);t.col<u.col?d.push(c.col,o,h):t.col>u.col?d.push(l.col,o+s-1,h):d.push(o,o+s-1,h),this.hot.selection.selectColumns(...d)}function lE(){YS(JS,this,!1)}function cE(){const{navigableHeaders:e}=this.hot.getSettings();if(!this.hot.view.isMouseDown()||!QS(JS,this)||!e)return;const t=this.hot.getSelectedRangeLast(),n=t.getTopStartCorner().col,r=t.getBottomEndCorner().col,{columnIndex:i,origColspan:o}=QS(ZS,this).getHeaderTreeNodeData(QS(qS,this).row,QS(qS,this).col);if(t.setHighlight(QS(qS,this)),o>t.getWidth()||i<n||i+o-1>r){const e=QS(ZS,this).findTopMostEntireHeaderLevel(Object(nt["clamp"])(n,i,i+o-1),Object(nt["clamp"])(r,i,i+o-1));t.highlight.row=e,t.highlight.col=t.from.col}}function uE(e){const{highlight:t}=this.hot.getSelectedRangeLast(),n=this.hot._createCellCoords(t.row+e.row,t.col+e.col),r=n.isHeader()&&n.col>=0;if(!r)return;const i=QS(ZS,this).findLeftMostColumnIndex(n.row,n.col),o=QS(ZS,this).findRightMostColumnIndex(n.row,n.col);if(e.col<0){const n=t.col>=i&&t.col<=o?i-1:o,r=this.hot.columnIndexMapper.getNearestNotHiddenIndex(n,-1);e.col=null===r?-this.hot.view.countRenderableColumnsInRange(0,t.col):-Math.max(this.hot.view.countRenderableColumnsInRange(r,t.col)-1,1)}else if(e.col>0){const n=t.col>=i&&t.col<=o?o+1:i,r=this.hot.columnIndexMapper.getNearestNotHiddenIndex(n,1);e.col=null===r?this.hot.view.countRenderableColumnsInRange(t.col,this.hot.countCols()):Math.max(this.hot.view.countRenderableColumnsInRange(t.col,r)-1,1)}}function dE(e,t){const n=e.row,r=this._getHeaderTreeNodeDataByCoords({row:n,col:e.col}),i=this._getHeaderTreeNodeDataByCoords({row:n,col:t.col});t.col<e.col?(r&&(e.col=r.columnIndex+r.origColspan-1),i&&(t.col=i.columnIndex)):t.col>=e.col&&(r&&(e.col=r.columnIndex),i&&(t.col=i.columnIndex+i.origColspan-1))}function hE(e){e.length=0;for(let t=0;t<QS(ZS,this).getLayersCount();t++)e.push(this.headerRendererFactory(t))}function pE(e){const t=QS(ZS,this).getLayersCount();let n=e.startColumn,r=!!t;for(let i=0;i<t;i++){const t=QS(ZS,this).findLeftMostColumnIndex(i,e.startColumn),o=this.hot.columnIndexMapper.getRenderableFromVisualIndex(t);if(t>=0&&(r=!1),Object(nt["isNumeric"])(o)&&o<e.startColumn){n=o;break}}e.startColumn=r?QS(ZS,this).getHeaderTreeNodeData(0,n).columnIndex:n}function fE(e,t){const n=this.ghostTable.getWidth(t);return e>n?e:n}function mE(e,t,n){var r;const{label:i}=null!==(r=QS(ZS,this).getHeaderTreeNodeData(n,t))&&void 0!==r?r:{label:""};return i}function AE(e,t){if(e<0)return this.hot.getCell(e,QS(ZS,this).findLeftMostColumnIndex(e,t),!0)}function gE(){this.updatePlugin()}function _E(e,t){t||this.updatePlugin()}function bE(e,t,n){return(t=vE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vE(e){var t=wE(e,"string");return"symbol"==typeof t?t:t+""}function wE(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class yE{constructor(e,t){bE(this,"hot",void 0),bE(this,"data",null),bE(this,"plugin",void 0),bE(this,"parentReference",new WeakMap),bE(this,"cache",{levels:[],levelCount:0,rows:[],nodeInfo:new WeakMap}),this.hot=t,this.plugin=e}setData(e){this.data=e}getData(){return this.data}getRawSourceData(){let e=null;return this.plugin.disableCoreAPIModifiers(),e=this.hot.getSourceData(),this.plugin.enableCoreAPIModifiers(),e}updateWithData(e){this.setData(e),this.rewriteCache()}rewriteCache(){this.cache={levels:[],levelCount:0,rows:[],nodeInfo:new WeakMap},Object(nt["rangeEach"])(0,this.data.length-1,e=>{this.cacheNode(this.data[e],0,null)})}cacheNode(e,t,n){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:n,row:this.cache.rows.length-1,level:t}),this.hasChildren(e)&&Object(d["arrayEach"])(e.__children,n=>{this.cacheNode(n,t+1,e)})}getDataObject(e){return null===e||void 0===e?null:this.cache.rows[e]}readTreeNodes(e,t,n,r){let i=!1,o=t;if(isNaN(o)&&o.end)return o;let s=e;return s||(s={__children:this.data},i=!0,o-=1),null!==n&&void 0!==n&&o===n?{result:s,end:!0}:null!==r&&void 0!==r&&s===r?{result:o,end:!0}:(o+=1,s.__children&&Object(d["arrayEach"])(s.__children,e=>{if(this.parentReference.set(e,i?null:s),o=this.readTreeNodes(e,o,n,r),isNaN(o)&&o.end)return!1}),o)}mockParent(){const e=this.mockNode();return e.__children=this.data,e}mockNode(){const e={};return Object(s["objectEach"])(this.data[0],(t,n)=>{e[n]=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 n=this.getRowParent(e);return null===n||void 0===n?this.data.indexOf(t):n.__children.indexOf(t)}countAllRows(){const e={__children:this.data};return this.countChildren(e)}countChildren(e){let t=0,n=e;return isNaN(n)||(n=this.getDataObject(n)),n&&n.__children?(Object(d["arrayEach"])(n.__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 n;return(null===(n=e.__children)||void 0===n?void 0:n[t])||null}isRowHighestLevel(e){return!this.isChild(e)}isParent(e){var t;let n=e;return isNaN(n)||(n=this.getDataObject(n)),n&&!!n.__children&&0!==(null===(t=n.__children)||void 0===t?void 0:t.length)}addChild(e,t){let n=t;this.hot.runHooks("beforeAddChild",e,n);let r=null;e&&(r=this.getRowIndex(e)),this.hot.runHooks("beforeCreateRow",r+this.countChildren(e)+1,1);let i=e;e||(i=this.mockParent()),i.__children||(i.__children=[]),n||(n=this.mockNode()),i.__children.push(n),this.rewriteCache();const o=this.getRowIndex(n);this.hot.rowIndexMapper.insertIndexes(o,1),this.hot.runHooks("afterCreateRow",o,1),this.hot.runHooks("afterAddChild",e,n)}addChildAtIndex(e,t,n){let r,i=n;if(i||(i=this.mockNode()),this.hot.runHooks("beforeAddChild",e,i,t),e){const n=this.getRowIndex(e),o=n+t+1;this.hot.runHooks("beforeCreateRow",o,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(o,1),this.plugin.enableCoreAPIModifiers(),this.hot.runHooks("afterCreateRow",o,1),r=o}else this.plugin.disableCoreAPIModifiers(),this.hot.alter("insert_row_above",t,1,"NestedRows.addChildAtIndex"),this.plugin.enableCoreAPIModifiers(),r=this.getRowIndex(this.data[t]);i=this.getDataObject(r),this.hot.runHooks("afterAddChild",e,i,t)}addSibling(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"below";const n=this.translateTrimmedRow(e),r=this.getRowParent(n),i=this.getRowIndexWithinParent(n);switch(t){case"below":this.addChildAtIndex(r,i+1,null);break;case"above":this.addChildAtIndex(r,i,null);break;default:break}}detachFromParent(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=null;const r=[];Array.isArray(e)?(Object(nt["rangeEach"])(e[0],e[2],e=>{const t=this.translateTrimmedRow(e);r.push(this.getDataObject(t))}),Object(nt["rangeEach"])(0,r.length-2,e=>{this.detachFromParent(r[e],!1)}),n=r[r.length-1]):n=e;const i=this.getRowIndex(n),o=this.countChildren(n),s=this.getRowIndexWithinParent(n),a=this.getRowParent(n),l=this.getRowParent(a),c=this.getRowIndex(l);let u=null;if(this.hot.runHooks("beforeDetachChild",a,n),null!==s&&void 0!==s){const e=Array.from(new Array(i+o+1).keys()).splice(-1*(o+1));if(this.hot.runHooks("beforeRemoveRow",i,o+1,e,this.plugin.pluginName),a.__children.splice(s,1),this.rewriteCache(),this.hot.runHooks("afterRemoveRow",i,o+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,o+1,this.plugin.pluginName),l.__children.push(n)}else u=this.hot.countRows()+1,this.hot.runHooks("beforeCreateRow",u-2,o+1,this.plugin.pluginName),this.data.push(n)}this.rewriteCache(),this.hot.runHooks("afterCreateRow",u-2,o+1,this.plugin.pluginName),this.hot.runHooks("afterDetachChild",a,n,this.getRowIndex(n)),t&&this.hot.render()}filterData(e,t,n){const r=[];Object(d["arrayEach"])(n,e=>{r.push(this.getDataObject(e))}),Object(d["arrayEach"])(r,e=>{const t=this.getRowIndexWithinParent(e),n=this.getRowParent(e);null===n?this.data.splice(t,1):n.__children.splice(t,1)}),this.rewriteCache()}spliceData(e,t,n){const r=this.getDataObject(e-1);let i=null,o=e;r&&r.__children&&0===r.__children.length?(i=r,o=0):e<this.countAllRows()&&(i=this.getRowParent(e),o=this.getRowIndexWithinParent(e)),i?n?i.__children.splice(o,t,...n):i.__children.splice(o,t):n?this.data.splice(o,t,...n):this.data.splice(o,t),this.rewriteCache()}syncRowWithRawSource(e){let t=e,n=null;do{n=this.getRowParent(n),null!==n&&(t=n)}while(null!==n);this.plugin.disableCoreAPIModifiers(),this.hot.setSourceDataAtCell(this.getRowIndex(t),"__children",t.__children,"NestedRows.syncRowWithRawSource"),this.plugin.enableCoreAPIModifiers()}moveRow(e,t,n,r){const i=t===this.hot.countRows(),o=this.getRowParent(e),s=this.getRowIndexWithinParent(e),a=o.__children.slice(s,s+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||n||r?c.__children.length:this.getRowIndexWithinParent(t),d=o===c;c.__children.splice(u,0,a[0]),o.__children.splice(s+(l&&d?1:0),1),this.syncRowWithRawSource(o),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 RE=yE;function ME(e,t,n){return(t=SE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SE(e){var t=EE(e,"string");return"symbol"==typeof t?t:t+""}function EE(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class TE{constructor(e,t){ME(this,"hot",void 0),ME(this,"plugin",void 0),this.hot=t,this.plugin=e}}var CE=TE;class OE extends CE{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 n=this.hot.toPhysicalRow(e),r=this.dataManager.getRowLevel(n),o=this.dataManager.getDataObject(n),s=t.getElementsByTagName("DIV")[0],a=s.querySelector("span.rowHeader"),l=s.querySelectorAll('[class^="ht_nesting"]'),c=this.hot.getSettings().ariaTags;if(Object(d["arrayEach"])(l,e=>{e&&s.removeChild(e)}),Object(i["addClass"])(t,OE.CSS_CLASSES.indicatorContainer),r){const{rootDocument:e}=this.hot,t=a.cloneNode(!0);s.innerHTML="",Object(nt["rangeEach"])(0,r-1,()=>{const t=e.createElement("SPAN");Object(i["addClass"])(t,OE.CSS_CLASSES.emptyIndicator),s.appendChild(t)}),s.appendChild(t)}if(this.dataManager.hasChildren(o)){const e=this.hot.rootDocument.createElement("DIV");c&&Object(i["setAttribute"])(e,[Object(g["n"])()]),Object(i["addClass"])(t,OE.CSS_CLASSES.parent),this.collapsingUI.areChildrenCollapsed(n)?(Object(i["addClass"])(e,`${OE.CSS_CLASSES.button} ${OE.CSS_CLASSES.expandButton}`),c&&Object(i["setAttribute"])(t,[Object(g["k"])(!1)])):(Object(i["addClass"])(e,`${OE.CSS_CLASSES.button} ${OE.CSS_CLASSES.collapseButton}`),c&&Object(i["setAttribute"])(t,[Object(g["k"])(!0)])),s.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 xE=OE;class NE extends CE{constructor(e,t){var n;super(e,t),n=this,this.dataManager=this.plugin.dataManager,this.collapsedRows=[],this.collapsedRowsStash={stash:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n.lastCollapsedRows=n.collapsedRows.slice(0),n.expandMultipleChildren(n.lastCollapsedRows,e)},shiftStash:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;null!==t&&void 0!==t||(t=1/0),Object(d["arrayEach"])(n.lastCollapsedRows,(i,o)=>{i>=e&&i<t&&(n.lastCollapsedRows[o]=i+r)})},applyStash:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];n.collapseMultipleChildren(n.lastCollapsedRows,e),n.lastCollapsedRows=void 0},trimStash:(e,t)=>{Object(nt["rangeEach"])(e,e+t-1,e=>{const t=this.lastCollapsedRows.indexOf(e);t>-1&&this.lastCollapsedRows.splice(t,1)})}}}collapseChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];let i=null,o=null,s=null;return isNaN(e)?(i=e,o=this.dataManager.getRowIndex(i)):(i=this.dataManager.getDataObject(e),o=e),this.dataManager.hasChildren(i)&&Object(d["arrayEach"])(i.__children,e=>{r.push(this.dataManager.getRowIndex(e))}),s=this.collapseRows(r,!0,!1),n&&this.trimRows(s),t&&this.renderAndAdjust(),-1===this.collapsedRows.indexOf(o)&&this.collapsedRows.push(o),s}collapseMultipleChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];Object(d["arrayEach"])(e,e=>{r.push(...this.collapseChildren(e,!1,!1))}),n&&this.trimRows(r),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],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=[];return Object(d["arrayEach"])(e,e=>{r.push(e),t&&this.collapseChildRows(e,r)}),n&&this.trimRows(r),r}collapseChildRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.dataManager.hasChildren(e)){const n=this.dataManager.getDataObject(e);Object(d["arrayEach"])(n.__children,e=>{const n=this.dataManager.getRowIndex(e);t.push(n),this.collapseChildRows(n,t)})}n&&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],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=[];return Object(d["arrayEach"])(e,e=>{r.push(e),t&&this.expandChildRows(e,r)}),n&&this.untrimRows(r),r}expandChildRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.dataManager.hasChildren(e)){const n=this.dataManager.getDataObject(e);Object(d["arrayEach"])(n.__children,e=>{if(!this.isAnyParentCollapsed(e)){const n=this.dataManager.getRowIndex(e);t.push(n),this.expandChildRows(n,t)}})}n&&this.untrimRows(t)}expandChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];let i=null,o=null,s=null;return isNaN(e)?(i=e,o=this.dataManager.getRowIndex(e)):(i=this.dataManager.getDataObject(e),o=e),this.collapsedRows.splice(this.collapsedRows.indexOf(o),1),this.dataManager.hasChildren(i)&&Object(d["arrayEach"])(i.__children,e=>{const t=this.dataManager.getRowIndex(e);r.push(t)}),s=this.expandRows(r,!0,!1),n&&this.untrimRows(s),t&&this.renderAndAdjust(),s}expandMultipleChildren(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[];Object(d["arrayEach"])(e,e=>{r.push(...this.expandChildren(e,!1,!1))}),n&&this.untrimRows(r),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),n=!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 n=!1,!1}),n}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 n=this.translateTrimmedRow(t.row);Object(i["hasClass"])(e.target,xE.CSS_CLASSES.button)&&(this.areChildrenCollapsed(n)?this.expandChildren(n):this.collapseChildren(n),Object(o["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 LE=NE;function IE(e,t,n){PE(e,t),t.set(e,n)}function PE(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function DE(e,t,n){return(t=FE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FE(e){var t=kE(e,"string");return"symbol"==typeof t?t:t+""}function kE(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function BE(e,t){return e.get(UE(e,t))}function UE(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var HE=new WeakMap;class jE extends CE{constructor(){super(...arguments),DE(this,"dataManager",this.plugin.dataManager),IE(this,HE,{row_above:(e,t)=>{const n=t[t.length-1];this.dataManager.addSibling(n.start.row,"above")},row_below:(e,t)=>{const n=t[t.length-1];this.dataManager.addSibling(n.start.row,"below")}})}appendOptions(e){const t=[{key:"add_child",name(){return this.getTranslatedPhrase(ke["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(ke["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]),n=this.dataManager.getRowParent(t);return!n||!e||e[0]<0||this.hot.selection.isSelectedByColumnHeader()||this.hot.countRows()>=this.hot.getSettings().maxRows}},{name:"---------"}];return Object(nt["rangeEach"])(0,e.items.length-1,n=>{if(0===n)return Object(d["arrayEach"])(t,(t,r)=>{e.items.splice(n+r,0,t)}),!1}),this.modifyRowInsertingOptions(e)}modifyRowInsertingOptions(e){return Object(nt["rangeEach"])(0,e.items.length-1,t=>{const n=BE(HE,this)[e.items[t].key];null!==n&&void 0!==n&&(e.items[t].callback=n)}),e}}var VE=jE;function WE(e,t,n){return(t=YE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YE(e){var t=QE(e,"string");return"symbol"==typeof t?t:t+""}function QE(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class XE{constructor(e){WE(this,"plugin",void 0),WE(this,"hot",void 0),WE(this,"dataManager",void 0),WE(this,"collapsingUI",void 0),this.plugin=e,this.hot=e.hot,this.dataManager=e.dataManager,this.collapsingUI=e.collapsingUI}onBeforeRowMove(e,t,n,r){const i=this.displayAPICompatibilityWarning({rows:e,finalIndex:t,dropIndex:n,movePossible:r});if(i)return!1;this.movedToCollapsed=!1;const o=n===this.hot.countRows(),s=o?this.hot.countSourceRows():this.dataManager.translateTrimmedRow(n);let a=!0;const l=e.map(e=>{if(!a)return!1;const t=this.dataManager.translateTrimmedRow(e);return a=this.shouldAllowMoving(t,s),t}),c=-1===l.indexOf(s);if(!a||!c)return!1;const u=this.getBaseParent(l),d=this.getTargetParent(o,s),h=u===d;return this.movedToCollapsed=this.collapsingUI.areChildrenCollapsed(d),this.collapsingUI.collapsedRowsStash.stash(),this.shiftCollapsibleParentsLocations(l,s,h),this.moveRows(l,s,d),this.dataManager.rewriteCache(),this.moveCellsMeta(l,s),this.collapsingUI.collapsedRowsStash.applyStash(!1),this.hot.runHooks("afterRowMove",e,t,n,r,r&&this.isRowOrderChanged(e,t)),this.hot.render(),this.selectCells(e,n),!1}displayAPICompatibilityWarning(e){const{rows:t,finalIndex:n,dropIndex:r,movePossible:i}=e;let o=!1;return Object(h["isUndefined"])(r)&&(Object(Xr["b"])(Do["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,n,r,i,!1),o=!0),o}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 n=this.dataManager.getRowParent(e?t-1:t);return null!==n&&void 0!==n||(n=this.dataManager.getRowParent(t-1)),n}shiftCollapsibleParentsLocations(e,t,n){n||(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,n){const r=t===this.dataManager.getRowIndex(n)+this.dataManager.countChildren(n)+1;this.hot.batchRender(()=>{e.forEach(e=>{this.dataManager.moveRow(e,t,this.movedToCollapsed,r)})})}moveCellsMeta(e,t){const n=[],r=Math.max(...e)<t;e.forEach(e=>{n.push(this.hot.getCellMetaAtRow(e))}),this.hot.spliceCellsMeta(e[0],e.length),this.hot.spliceCellsMeta(t-(r?n.length:0),0,...n)}selectCells(e,t){const n=e.length;let r=0,i=0,o=null,s=null;if(this.movedToCollapsed){let o=null;o=e[n-1]<t?this.dataManager.translateTrimmedRow(t-n):this.dataManager.translateTrimmedRow(t);const s=this.dataManager.getRowParent(null===o?this.hot.countSourceRows()-1:o-1),a=this.dataManager.getRowIndex(s);r=this.dataManager.untranslateTrimmedRow(a),i=r}else e[n-1]<t?(i=t-1,r=i-n+1):(r=t,i=r+n-1);o=this.hot.selection,s=this.hot.countCols()-1,o.setRangeStart(this.hot._createCellCoords(r,0)),o.setRangeEnd(this.hot._createCellCoords(i,s),!0)}isRowOrderChanged(e,t){return e.some((e,n)=>e-n!==t)}}function KE(e,t){ZE(e,t),t.add(e)}function GE(e,t,n){ZE(e,t),t.set(e,n)}function ZE(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function zE(e,t,n){return(t=qE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qE(e){var t=JE(e,"string");return"symbol"==typeof t?t:t+""}function JE(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function $E(e,t){return e.get(tT(e,t))}function eT(e,t,n){return e.set(tT(e,t),n),n}function tT(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const nT="nestedRows",rT=300,iT=nT,oT="The Nested Rows plugin requires an Array of Objects as a dataset to be provided. The plugin has been disabled.";var sT=new WeakMap,aT=new WeakMap,lT=new WeakSet;class cT extends $t["a"]{constructor(){super(...arguments),KE(this,lT),zE(this,"dataManager",null),zE(this,"headersUI",null),zE(this,"collapsedRowsMap",null),GE(this,sT,!1),GE(this,aT,!1)}static get PLUGIN_KEY(){return nT}static get PLUGIN_PRIORITY(){return rT}isEnabled(){return!!this.hot.getSettings()[nT]}enablePlugin(){var e=this;this.enabled||(this.collapsedRowsMap=this.hot.rowIndexMapper.registerMap("nestedRows",new rA["a"]),this.dataManager=new RE(this,this.hot),this.collapsingUI=new LE(this,this.hot),this.headersUI=new xE(this,this.hot),this.contextMenuUI=new VE(this,this.hot),this.rowMoveController=new XE(this),this.addHook("afterInit",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,RT).call(e,...n)})),this.addHook("beforeViewRender",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,MT).call(e,...n)})),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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,hT).call(e,...n)})),this.addHook("afterContextMenuDefaultOptions",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,pT).call(e,...n)})),this.addHook("afterGetRowHeader",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,fT).call(e,...n)})),this.addHook("beforeOnCellMouseDown",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,dT).call(e,...n)})),this.addHook("beforeRemoveRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,gT).call(e,...n)})),this.addHook("afterRemoveRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,AT).call(e,...n)})),this.addHook("beforeAddChild",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,_T).call(e,...n)})),this.addHook("afterAddChild",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,bT).call(e,...n)})),this.addHook("beforeDetachChild",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,vT).call(e,...n)})),this.addHook("afterDetachChild",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,wT).call(e,...n)})),this.addHook("modifyRowHeaderWidth",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,mT).call(e,...n)})),this.addHook("afterCreateRow",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,yT).call(e,...n)})),this.addHook("beforeRowMove",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tT(lT,e,uT).call(e,...n)})),this.addHook("beforeLoadData",e=>tT(lT,this,ST).call(this,e)),this.addHook("beforeUpdateData",e=>tT(lT,this,ST).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 n=null===(e=this.hot.getSelectedRangeLast())||void 0===e?void 0:e.highlight;return n&&(null===(t=this.hot.getSelectedRangeLast())||void 0===t?void 0:t.isSingle())&&this.hot.selection.isCellVisible(n)&&-1===n.col&&n.row>=0},group:iT,relativeToGroup:a["a"],position:"before"})}unregisterShortcuts(){this.hot.getShortcutManager().getContext("grid").removeShortcutsByGroup(iT)}disableCoreAPIModifiers(){eT(aT,this,!0)}enableCoreAPIModifiers(){eT(aT,this,!1)}onModifyRowData(e){if(!$E(aT,this))return this.dataManager.getDataObject(e)}onModifySourceLength(){if(!$E(aT,this))return this.dataManager.countAllRows()}onBeforeDataSplice(e,t,n){return!(!$E(aT,this)&&!this.dataManager.isRowHighestLevel(e))||(this.dataManager.spliceData(e,t,n),!1)}destroy(){super.destroy()}}function uT(e,t,n,r){return this.rowMoveController.onBeforeRowMove(e,t,n,r)}function dT(e,t,n){this.collapsingUI.toggleState(e,t,n)}function hT(e,t,n){return this.collapsingUI.collapsedRowsStash.stash(),this.collapsingUI.collapsedRowsStash.trimStash(n[0],t),this.collapsingUI.collapsedRowsStash.shiftStash(n[0],null,-1*t),this.dataManager.filterData(e,t,n),eT(sT,this,!0),this.dataManager.getData().slice()}function pT(e){return this.contextMenuUI.appendOptions(e)}function fT(e,t){this.headersUI.appendLevelIndicators(e,t)}function mT(e){return Math.max(this.headersUI.rowHeaderWidthCache,e)}function AT(e,t,n,r){r!==this.pluginName&&this.hot._registerTimeout(()=>{eT(sT,this,!1),this.headersUI.updateRowHeaderWidth(),this.collapsingUI.collapsedRowsStash.applyStash()})}function gT(e,t,n){const r=Array.from(n.reduce((e,t)=>{if(this.dataManager.isParent(t)){const n=this.dataManager.getDataObject(t).__children;return e.add(t),Array.isArray(n)&&n.forEach(t=>e.add(this.dataManager.getRowIndex(t))),e}return e.add(t)},new Set));n.length=0,n.push(...r)}function _T(){this.collapsingUI.collapsedRowsStash.stash()}function bT(e,t){this.collapsingUI.collapsedRowsStash.shiftStash(this.dataManager.getRowIndex(t)),this.collapsingUI.collapsedRowsStash.applyStash(),this.headersUI.updateRowHeaderWidth()}function vT(){this.collapsingUI.collapsedRowsStash.stash()}function wT(e,t,n){this.collapsingUI.collapsedRowsStash.shiftStash(n,null,-1),this.collapsingUI.collapsedRowsStash.applyStash(),this.headersUI.updateRowHeaderWidth()}function yT(){this.dataManager.rewriteCache()}function RT(){this.headersUI.updateRowHeaderWidth()}function MT(e,t){$E(sT,this)&&(t.skipRender=!0)}function ST(e){if(!Object(If["isArrayOfObjects"])(e))return Object(Xr["a"])(oT),this.hot.getSettings()[nT]=!1,void this.disablePlugin();this.dataManager.setData(e),this.dataManager.rewriteCache()}function ET(e,t,n){return(t=TT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TT(e){var t=CT(e,"string");return"symbol"==typeof t?t:t+""}function CT(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class OT{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;ET(this,"rootWindow",void 0),ET(this,"prefix",void 0),ET(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 n="undefined"===typeof e?t:e,r=this.rootWindow.localStorage.getItem(`${this.prefix}_${n}`);return null===r?void 0:JSON.parse(r)}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 xT=OT;function NT(e,t,n){return(t=LT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LT(e){var t=IT(e,"string");return"symbol"==typeof t?t:t+""}function IT(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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 PT="persistentState",DT=0;class FT extends $t["a"]{constructor(){super(...arguments),NT(this,"storage",void 0)}static get PLUGIN_KEY(){return PT}static get PLUGIN_PRIORITY(){return DT}isEnabled(){return!!this.hot.getSettings()[PT]}enablePlugin(){this.enabled||(this.storage||(this.storage=new xT(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 kT(e,t){BT(e,t),t.add(e)}function BT(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function UT(e,t,n){return(t=HT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HT(e){var t=jT(e,"string");return"symbol"==typeof t?t:t+""}function jT(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function VT(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const WT="search",YT=190,QT="htSearchResult",XT=function(e,t,n,r,i){e.getCellMeta(t,n).isSearchResult=i},KT=function(e,t,n){return!(Object(h["isUndefined"])(e)||null===e||!e.toLocaleLowerCase||0===e.length)&&(!Object(h["isUndefined"])(t)&&null!==t&&-1!==t.toString().toLocaleLowerCase(n.locale).indexOf(e.toLocaleLowerCase(n.locale)))};var GT=new WeakSet;class ZT extends $t["a"]{constructor(){super(...arguments),kT(this,GT),UT(this,"callback",XT),UT(this,"queryMethod",KT),UT(this,"searchResultClass",QT)}static get PLUGIN_KEY(){return WT}static get PLUGIN_PRIORITY(){return YT}isEnabled(){return this.hot.getSettings()[WT]}enablePlugin(){var e=this;if(this.enabled)return;const t=this.hot.getSettings()[WT];this.updatePluginSettings(t),this.addHook("beforeRenderer",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return VT(GT,e,zT).call(e,...n)})),super.enablePlugin()}disablePlugin(){var e=this;const t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return VT(GT,e,zT).call(e,...n)};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(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getQueryMethod();const r=this.hot.countRows(),i=this.hot.countCols(),o=[],s=this.hot;return Object(nt["rangeEach"])(0,r-1,r=>{Object(nt["rangeEach"])(0,i-1,i=>{const a=this.hot.getDataAtCell(r,i),l=this.hot.getCellMeta(r,i),c=l.search.callback||t,u=l.search.queryMethod||n,d=u(e,a,l);if(d){const e={row:r,col:i,data:a};o.push(e)}c&&c(s,r,i,a,d)})}),o}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(s["isObject"])(e)&&(e.searchResultClass&&this.setSearchResultClass(e.searchResultClass),e.queryMethod&&this.setQueryMethod(e.queryMethod),e.callback&&this.setCallback(e.callback))}destroy(){super.destroy()}}function zT(e,t,n,r,i,o){const s=o.className||[];let a=[];"string"===typeof s?a=s.split(" "):a.push(...s),this.isEnabled()&&o.isSearchResult?a.includes(this.searchResultClass)||a.push(""+this.searchResultClass):a.includes(this.searchResultClass)&&a.splice(a.indexOf(this.searchResultClass),1),o.className=a.join(" ")}function qT(e,t){JT(e,t),t.add(e)}function JT(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $T(e,t,n){return(t=eC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eC(e){var t=tC(e,"string");return"symbol"==typeof t?t:t+""}function tC(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function nC(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const rC="touchScroll",iC=200;var oC=new WeakSet;class sC extends $t["a"]{constructor(){super(...arguments),qT(this,oC),$T(this,"scrollbars",[]),$T(this,"clones",[]),$T(this,"lockedCollection",!1),$T(this,"freezeOverlays",!1)}static get PLUGIN_KEY(){return rC}static get PLUGIN_PRIORITY(){return iC}static get SETTING_KEYS(){return!0}isEnabled(){return Object(en["isTouchSupported"])()}enablePlugin(){this.enabled||(this.addHook("afterViewRender",()=>nC(oC,this,aC).call(this)),this.registerEvents(),super.enablePlugin())}updatePlugin(){this.lockedCollection=!1,super.updatePlugin()}disablePlugin(){super.disablePlugin()}registerEvents(){this.addHook("beforeTouchScroll",()=>nC(oC,this,lC).call(this)),this.addHook("afterMomentumScroll",()=>nC(oC,this,cC).call(this))}}function aC(){if(this.lockedCollection)return;const{topOverlay:e,bottomOverlay:t,inlineStartOverlay:n,topInlineStartCornerOverlay:r,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(n),r&&this.scrollbars.push(r),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),n.needFullRender&&this.clones.push(n.clone.wtTable.holder.parentNode),r&&this.clones.push(r.clone.wtTable.holder.parentNode),i&&i.clone&&this.clones.push(i.clone.wtTable.holder.parentNode)}function lC(){this.freezeOverlays=!0,Object(d["arrayEach"])(this.clones,e=>{Object(i["addClass"])(e,"hide-tween")})}function cC(){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 uC(e,t){dC(e,t),t.add(e)}function dC(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function hC(e,t,n){return(t=pC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pC(e){var t=fC(e,"string");return"symbol"==typeof t?t:t+""}function fC(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function mC(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const AC="trimRows",gC=330;var _C=new WeakSet;class bC extends $t["a"]{constructor(){super(...arguments),uC(this,_C),hC(this,"trimmedRowsMap",null)}static get PLUGIN_KEY(){return AC}static get PLUGIN_PRIORITY(){return gC}isEnabled(){return!!this.hot.getSettings()[AC]}enablePlugin(){this.enabled||(this.trimmedRowsMap=this.hot.rowIndexMapper.registerMap("trimRows",new rA["a"]),this.trimmedRowsMap.addLocalHook("init",()=>mC(_C,this,vC).call(this)),super.enablePlugin())}updatePlugin(){const e=this.hot.getSettings()[AC];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(),n=this.isValidConfig(e);let r=t;n&&(r=Array.from(new Set(t.concat(e))));const i=this.hot.runHooks("beforeTrimRow",t,r,n);!1!==i&&(n&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.trimmedRowsMap.setValueAtIndex(e,!0)})},!0),this.hot.runHooks("afterTrimRow",t,r,n,n&&r.length>t.length))}trimRow(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.trimRows(t)}untrimRows(e){const t=this.getTrimmedRows(),n=this.isValidConfig(e);let r=t;const i=this.trimmedRowsMap.getValues().slice(),o=e.length>0;n&&o&&(Object(d["arrayEach"])(e,e=>{i[e]=!1}),r=Object(d["arrayReduce"])(i,(e,t,n)=>(t&&e.push(n),e),[]));const s=this.hot.runHooks("beforeUntrimRow",t,r,n&&o);!1!==s&&(n&&o&&this.trimmedRowsMap.setValues(i),this.hot.runHooks("afterUntrimRow",t,r,n&&o,n&&r.length<t.length))}untrimRow(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];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 vC(){const e=this.hot.getSettings()[AC];Array.isArray(e)&&this.hot.batchExecution(()=>{Object(d["arrayEach"])(e,e=>{this.trimmedRowsMap.setValueAtIndex(e,!0)})},!0)}n("c1f9");const wC="undoRedo",yC="undoRedo";function RC(e){const t=this;this.instance=e,this.doneActions=[],this.undoneActions=[],this.ignoreNewActions=!1,this.enabled=!1,e.addHook("afterChange",(function(n,r){const i=n&&n.length;if(!i)return;const o=n.find(e=>{const[,,t,n]=e;return t!==n});if(!o)return;const s=()=>{const t=n.reduce((e,t)=>(e.push([...t]),e),[]);Object(d["arrayEach"])(t,t=>{t[1]=e.propToCol(t[1])});const r=i>1?this.getSelected():[[t[0][0],t[0][1]]];return new RC.ChangeAction(t,r)};t.done(s,r)})),e.addHook("afterCreateRow",(e,n,r)=>{t.done(()=>new RC.CreateRowAction(e,n),r)});const n=(t,n,r,i)=>{const o=["visualRow","visualCol","row","col","prop"],s=o.length,a=[];return Object(nt["rangeEach"])(r,i,r=>{Object(nt["rangeEach"])(t,n,t=>{const n=e.getCellMeta(t,r);if(Object.keys(n).length!==s){const e=Object.fromEntries(Object.entries(n).filter(e=>{let[t]=e;return!1===o.includes(t)}));a.push([n.visualRow,n.visualCol,e])}})}),a};e.addHook("beforeRemoveRow",(r,i,o,a)=>{const l=()=>{const o=e.toPhysicalRow(r),a=o+i-1,l=Object(s["deepClone"])(t.instance.getSourceData(o,0,o+i-1,t.instance.countSourceCols()-1));return new RC.RemoveRowAction(o,l,e.getSettings().fixedRowsBottom,e.getSettings().fixedRowsTop,e.rowIndexMapper.getIndexesSequence(),n(o,a,0,e.countCols()-1))};t.done(l,a)}),e.addHook("afterCreateCol",(e,n,r)=>{t.done(()=>new RC.CreateColumnAction(e,n),r)}),e.addHook("beforeRemoveCol",(r,i,o,s)=>{const a=()=>{const o=t.instance.getSourceDataArray(),s=(t.instance.countCols()+r)%t.instance.countCols(),a=s+i-1,l=[],c=[],u=[];Object(nt["rangeEach"])(o.length-1,t=>{const n=[],r=o[t];Object(nt["rangeEach"])(s,a,t=>{n.push(r[e.toPhysicalColumn(t)])}),l.push(n)}),Object(nt["rangeEach"])(i-1,t=>{u.push(e.toPhysicalColumn(s+t))}),Array.isArray(e.getSettings().colHeaders)&&Object(nt["rangeEach"])(i-1,t=>{c.push(e.getSettings().colHeaders[e.toPhysicalColumn(s+t)]||null)});const d=e.columnIndexMapper.getIndexesSequence(),h=e.rowIndexMapper.getIndexesSequence();return new RC.RemoveColumnAction(s,u,l,c,d,h,e.getSettings().fixedColumnsStart,n(0,e.countRows(),s,a))};t.done(a,s)}),e.addHook("beforeCellAlignment",(e,n,r,i)=>{t.done(()=>new RC.CellAlignmentAction(e,n,r,i))}),e.addHook("beforeFilter",(e,n)=>{t.done(()=>new RC.FiltersAction(e,n))}),e.addHook("beforeRowMove",(e,n)=>{!1!==e&&t.done(()=>new RC.RowMoveAction(e,n))}),e.addHook("beforeColumnMove",(e,n)=>{!1!==e&&t.done(()=>new RC.ColumnMoveAction(e,n))}),e.addHook("beforeMergeCells",(n,r)=>{r||t.done(()=>new RC.MergeCellsAction(e,n))}),e.addHook("afterUnmergeCells",(n,r)=>{r||t.done(()=>new RC.UnmergeCellsAction(e,n))}),e.addHook("beforeColumnSort",(e,n,r)=>{r&&t.done(()=>new RC.ColumnSortAction(e,n))}),e.addHook("afterInit",()=>{t.init()})}RC.prototype.done=function(e,t){if(this.ignoreNewActions)return;const n="UndoRedo.undo"===t||"UndoRedo.redo"===t||"auto"===t;if(n)return;const r=this.doneActions.slice(),i=this.instance.runHooks("beforeUndoStackChange",r,t);if(!1===i)return;const o=e(),s=this.undoneActions.slice();this.doneActions.push(o),this.instance.runHooks("afterUndoStackChange",r,this.doneActions.slice()),this.instance.runHooks("beforeRedoStackChange",s),this.undoneActions.length=0,this.instance.runHooks("afterRedoStackChange",s,this.undoneActions.slice())},RC.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 n=Object(s["deepClone"])(t),r=this.instance.runHooks("beforeUndo",n);if(!1===r)return;this.ignoreNewActions=!0;const i=this,o=this.undoneActions.slice();this.instance.runHooks("beforeRedoStackChange",o),t.undo(this.instance,()=>{i.ignoreNewActions=!1,i.undoneActions.push(t)}),this.instance.runHooks("afterRedoStackChange",o,this.undoneActions.slice()),this.instance.runHooks("afterUndo",n)}},RC.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 n=Object(s["deepClone"])(t),r=this.instance.runHooks("beforeRedo",n);if(!1===r)return;this.ignoreNewActions=!0;const i=this,o=this.doneActions.slice();this.instance.runHooks("beforeUndoStackChange",o),t.redo(this.instance,()=>{i.ignoreNewActions=!1,i.doneActions.push(t)}),this.instance.runHooks("afterUndoStackChange",o,this.doneActions.slice()),this.instance.runHooks("afterRedo",n)}},RC.prototype.isUndoAvailable=function(){return this.doneActions.length>0},RC.prototype.isRedoAvailable=function(){return this.undoneActions.length>0},RC.prototype.clear=function(){this.doneActions.length=0,this.undoneActions.length=0},RC.prototype.isEnabled=function(){return this.enabled},RC.prototype.enable=function(){if(this.isEnabled())return;const e=this.instance;this.enabled=!0,TC(e),this.registerShortcuts(),e.addHook("afterChange",EC)},RC.prototype.disable=function(){if(!this.isEnabled())return;const e=this.instance;this.enabled=!1,CC(e),this.unregisterShortcuts(),e.removeHook("afterChange",EC)},RC.prototype.destroy=function(){this.clear(),this.instance=null,this.doneActions=null,this.undoneActions=null},RC.Action=function(){},RC.Action.prototype.undo=function(){},RC.Action.prototype.redo=function(){},RC.ChangeAction=function(e,t){this.changes=e,this.selected=t,this.actionType="change"},Object(s["inherit"])(RC.ChangeAction,RC.Action),RC.ChangeAction.prototype.undo=function(e,t){const n=Object(s["deepClone"])(this.changes),r=e.countEmptyRows(!0),i=e.countEmptyCols(!0);for(let s=0,a=n.length;s<a;s++)n[s].splice(3,1);e.addHookOnce("afterChange",t),e.setDataAtCell(n,null,null,"UndoRedo.undo");for(let s=0,a=n.length;s<a;s++){const[t,o]=n[s];e.getSettings().minSpareRows&&t+1+e.getSettings().minSpareRows===e.countRows()&&r===e.getSettings().minSpareRows&&(e.alter("remove_row",parseInt(t+1,10),e.getSettings().minSpareRows),e.undoRedo.doneActions.pop()),e.getSettings().minSpareCols&&o+1+e.getSettings().minSpareCols===e.countCols()&&i===e.getSettings().minSpareCols&&(e.alter("remove_col",parseInt(o+1,10),e.getSettings().minSpareCols),e.undoRedo.doneActions.pop())}const o=e.getSelectedLast();if(void 0!==o){const[t,r]=n[0],[i,s]=o,a=e.view.getFirstFullyVisibleRow(),l=e.view.getFirstFullyVisibleColumn(),c=t>=a,u=r>=l,d=c&&u,h=i!==t||s!==r;if(!1===d&&!0===h){const n={row:t,col:r};!1===c&&(n.verticalSnap="top"),!1===u&&(n.horizontalSnap="start"),e.scrollViewportTo(n)}}e.selectCells(this.selected,!1,!1)},RC.ChangeAction.prototype.redo=function(e,t){const n=Object(s["deepClone"])(this.changes);for(let r=0,i=n.length;r<i;r++)n[r].splice(2,1);e.addHookOnce("afterChange",t),e.setDataAtCell(n,null,null,"UndoRedo.redo"),this.selected&&e.selectCells(this.selected,!1,!1)},RC.CreateRowAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_row"},Object(s["inherit"])(RC.CreateRowAction,RC.Action),RC.CreateRowAction.prototype.undo=function(e,t){const n=e.countRows(),r=e.getSettings().minSpareRows;this.index>=n&&this.index-r<n&&(this.index-=r),e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.amount,"UndoRedo.undo")},RC.CreateRowAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateRow",t),e.alter("insert_row_above",this.index,this.amount,"UndoRedo.redo")},RC.RemoveRowAction=function(e,t,n,r,i,o){this.index=e,this.data=t,this.actionType="remove_row",this.fixedRowsBottom=n,this.fixedRowsTop=r,this.rowIndexesSequence=i,this.removedCellMetas=o},Object(s["inherit"])(RC.RemoveRowAction,RC.Action),RC.RemoveRowAction.prototype.undo=function(e,t){const n=e.getSettings(),r=[];n.fixedRowsBottom=this.fixedRowsBottom,n.fixedRowsTop=this.fixedRowsTop,this.data.forEach((e,t)=>{Object.keys(e).forEach(n=>{const i=parseInt(n,10);r.push([this.index+t,isNaN(i)?n:i,e[n]])})}),e.alter("insert_row_above",this.index,this.data.length,"UndoRedo.undo"),this.removedCellMetas.forEach(t=>{let[n,r,i]=t;e.setCellMetaObject(n,r,i)}),e.addHookOnce("afterViewRender",t),e.setSourceDataAtCell(r,null,null,"UndoRedo.undo"),e.rowIndexMapper.setIndexesSequence(this.rowIndexesSequence)},RC.RemoveRowAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveRow",t),e.alter("remove_row",this.index,this.data.length,"UndoRedo.redo")},RC.CreateColumnAction=function(e,t){this.index=e,this.amount=t,this.actionType="insert_col"},Object(s["inherit"])(RC.CreateColumnAction,RC.Action),RC.CreateColumnAction.prototype.undo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.undo")},RC.CreateColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterCreateCol",t),e.alter("insert_col_start",this.index,this.amount,"UndoRedo.redo")},RC.RemoveColumnAction=function(e,t,n,r,i,o,s,a){this.index=e,this.indexes=t,this.data=n,this.amount=this.data[0].length,this.headers=r,this.columnPositions=i.slice(0),this.rowPositions=o.slice(0),this.actionType="remove_col",this.fixedColumnsStart=s,this.removedCellMetas=a},Object(s["inherit"])(RC.RemoveColumnAction,RC.Action),RC.RemoveColumnAction.prototype.undo=function(e,t){const n=e.getSettings();n.fixedColumnsStart=this.fixedColumnsStart;const r=this.indexes.slice(0).sort(),i=(e,t,n)=>n[this.indexes.indexOf(r[t])],o=this.data.length,s=[];for(let c=0;c<o;c++)s.push(Object(d["arrayMap"])(this.data[c],i));const a=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"])(r,(n,r)=>{e[n]=s[t][r],l.push([t,n,e[n]])})}),e.setSourceDataAtCell(l,void 0,void 0,"UndoRedo.undo"),"undefined"!==typeof this.headers&&Object(d["arrayEach"])(a,(t,n)=>{e.getSettings().colHeaders[r[n]]=t}),this.removedCellMetas.forEach(t=>{let[n,r,i]=t;e.setCellMetaObject(n,r,i)}),e.batchExecution(()=>{e.rowIndexMapper.setIndexesSequence(this.rowPositions),e.columnIndexMapper.setIndexesSequence(this.columnPositions)},!0),e.addHookOnce("afterViewRender",t),e.render()},RC.RemoveColumnAction.prototype.redo=function(e,t){e.addHookOnce("afterRemoveCol",t),e.alter("remove_col",this.index,this.amount,"UndoRedo.redo")},RC.CellAlignmentAction=function(e,t,n,r){this.stateBefore=e,this.range=t,this.type=n,this.alignment=r},RC.CellAlignmentAction.prototype.undo=function(e,t){Object(d["arrayEach"])(this.range,t=>{t.forAll((t,n)=>{t>=0&&n>=0&&e.setCellMeta(t,n,"className",this.stateBefore[t][n]||" htLeft")})}),e.addHookOnce("afterViewRender",t),e.render()},RC.CellAlignmentAction.prototype.redo=function(e,t){Bs(this.range,this.type,this.alignment,(t,n)=>e.getCellMeta(t,n),(t,n,r,i)=>e.setCellMeta(t,n,r,i)),e.addHookOnce("afterViewRender",t),e.render()},RC.FiltersAction=function(e,t){this.previousConditionsStack=t,this.conditionsStack=e,this.actionType="filter"},Object(s["inherit"])(RC.FiltersAction,RC.Action),RC.FiltersAction.prototype.undo=function(e,t){const n=e.getPlugin("filters");e.addHookOnce("afterViewRender",t),this.previousConditionsStack&&n.conditionCollection.importAllConditions(this.previousConditionsStack),n.filter()},RC.FiltersAction.prototype.redo=function(e,t){const n=e.getPlugin("filters");e.addHookOnce("afterViewRender",t),n.conditionCollection.importAllConditions(this.conditionsStack),n.filter()};class MC extends RC.Action{constructor(e,t){super(),this.cellRange=t;const n=this.cellRange.getTopStartCorner(),r=this.cellRange.getBottomEndCorner();this.rangeData=e.getData(n.row,n.col,r.row,r.col)}undo(e,t){const n=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),n.unmergeRange(this.cellRange,!0);const r=this.cellRange.getTopStartCorner();e.populateFromArray(r.row,r.col,this.rangeData,void 0,void 0,"MergeCells")}redo(e,t){const n=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),n.mergeRange(this.cellRange)}}RC.MergeCellsAction=MC;class SC extends RC.Action{constructor(e,t){super(),this.cellRange=t}undo(e,t){const n=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),n.mergeRange(this.cellRange,!0)}redo(e,t){const n=e.getPlugin("mergeCells");e.addHookOnce("afterViewRender",t),n.unmergeRange(this.cellRange,!0),e.render()}}function EC(e,t){const n=this;if("loadData"===t)return n.undoRedo.clear()}function TC(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 CC(e){delete e.undo,delete e.redo,delete e.isUndoAvailable,delete e.isRedoAvailable,delete e.clearUndo}RC.UnmergeCellsAction=SC,RC.RowMoveAction=function(e,t){this.rows=e.slice(),this.finalRowIndex=t,this.actionType="row_move"},Object(s["inherit"])(RC.RowMoveAction,RC.Action),RC.RowMoveAction.prototype.undo=function(e,t){const n=e.getPlugin("manualRowMove");e.addHookOnce("afterViewRender",t);const r=rg(this.rows,this.finalRowIndex,e.rowIndexMapper.getNumberOfIndexes());r.reverse().forEach(e=>{let{from:t,to:r}=e;t<r&&(r-=1),n.moveRow(r,t)}),e.render(),e.deselectCell(),e.selectRows(this.rows[0],this.rows[0]+this.rows.length-1)},RC.RowMoveAction.prototype.redo=function(e,t){const n=e.getPlugin("manualRowMove");e.addHookOnce("afterViewRender",t),n.moveRows(this.rows.slice(),this.finalRowIndex),e.render(),e.deselectCell(),e.selectRows(this.finalRowIndex,this.finalRowIndex+this.rows.length-1)},RC.ColumnMoveAction=function(e,t){this.columns=e.slice(),this.finalColumnIndex=t,this.actionType="col_move"},Object(s["inherit"])(RC.ColumnMoveAction,RC.Action),RC.ColumnMoveAction.prototype.undo=function(e,t){const n=e.getPlugin("manualColumnMove");e.addHookOnce("afterViewRender",t);const r=rg(this.columns,this.finalColumnIndex,e.columnIndexMapper.getNumberOfIndexes());r.reverse().forEach(e=>{let{from:t,to:r}=e;t<r&&(r-=1),n.moveColumn(r,t)}),e.render(),e.deselectCell(),e.selectColumns(this.columns[0],this.columns[0]+this.columns.length-1)},RC.ColumnMoveAction.prototype.redo=function(e,t){const n=e.getPlugin("manualColumnMove");e.addHookOnce("afterViewRender",t),n.moveColumns(this.columns.slice(),this.finalColumnIndex),e.render(),e.deselectCell(),e.selectColumns(this.finalColumnIndex,this.finalColumnIndex+this.columns.length-1)},RC.ColumnSortAction=function(e,t){this.previousSortState=e,this.nextSortState=t},Object(s["inherit"])(RC.ColumnSortAction,RC.Action),RC.ColumnSortAction.prototype.undo=function(e,t){const n=e.getPlugin("columnSorting"),r=e.getPlugin("multiColumnSorting"),i=r.isEnabled()?r:n;this.previousSortState.length?i.sort(this.previousSortState):i.clearSort(),t()},RC.ColumnSortAction.prototype.redo=function(e,t){const n=e.getPlugin("columnSorting"),r=e.getPlugin("multiColumnSorting"),i=r.isEnabled()?r:n;i.sort(this.nextSortState),t()},RC.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()},RC.prototype.registerShortcuts=function(){const e=this.instance.getShortcutManager(),t=e.getContext("grid"),n=e=>!e.altKey,r={runOnlyIf:n,group:wC};t.addShortcuts([{keys:[["Control/Meta","z"]],callback:()=>{this.undo()}},{keys:[["Control/Meta","y"],["Control/Meta","Shift","z"]],callback:()=>{this.redo()}}],r)},RC.prototype.unregisterShortcuts=function(){const e=this.instance.getShortcutManager(),t=e.getContext("grid");t.removeShortcutsByGroup(wC)};const OC=fe["a"].getSingleton();OC.add("afterUpdateSettings",(function(){var e;null===(e=this.getPlugin("undoRedo"))||void 0===e||e.init()})),OC.register("beforeUndo"),OC.register("afterUndo"),OC.register("beforeRedo"),OC.register("afterRedo"),RC.PLUGIN_KEY=yC,RC.SETTING_KEYS=!0;var xC=RC,NC=n("24b5");function LC(){Object(NC["d"])(Sn),Object(NC["d"])(Gn),Object(NC["d"])(fr),Object(NC["d"])(Yr),Object(NC["d"])(ui),Object(NC["d"])(So),Object(NC["d"])(Xo),Object(NC["d"])(Aa),Object(NC["d"])(Ac),Object(NC["d"])(mu),Object(NC["d"])(ed),Object(NC["d"])(hd),Object(NC["d"])(Od),Object(NC["d"])(oh),Object(NC["d"])(_A),Object(NC["d"])(Zg),Object(NC["d"])(P_),Object(NC["d"])(eb),Object(NC["d"])(bb),Object(NC["d"])(av),Object(NC["d"])(Hv),Object(NC["d"])(xw),Object(NC["d"])(uy),Object(NC["d"])(BR),Object(NC["d"])(MM),Object(NC["d"])(xM),Object(NC["d"])(eE),Object(NC["d"])(cT),Object(NC["d"])(FT),Object(NC["d"])(ZT),Object(NC["d"])(sC),Object(NC["d"])(bC),Object(NC["d"])(xC)}function IC(){Ce(),pt(),Ot(),Jt(),LC()}},"8c8a":function(e,t,n){(function(t){e.exports=function(e,n){for(var r=Math.min(e.length,n.length),i=new t(r),o=0;o<r;++o)i[o]=e[o]^n[o];return i}}).call(this,n("b639").Buffer)},"8d23":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("ff74"),i=n("42e9"),o=n("ad99");class s extends o.BaseWriter{serialize(e,t){const n=r.applyDefaults(t,{format:"object",wellFormed:!1,noDoubleEncoding:!1,group:!1});return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(e,n.wellFormed,n.noDoubleEncoding),this._process(this._currentList,n)}_process(e,t){if(0===e.length)return{};const n={};let o=!1,s=0,a=0,l=0,c=0;for(let r=0;r<e.length;r++){const t=e[r],i=Object.keys(t)[0];switch(i){case"@":continue;case"#":s++;break;case"!":a++;break;case"?":l++;break;case"$":c++;break;default:n[i]?o=!0:n[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===s&&1===e.length&&r.isString(e[0]["#"]))return e[0]["#"];if(o){const n=[],i={[d]:n};for(let o=0;o<e.length;o++){const i=e[o],s=Object.keys(i)[0];switch(s){case"@":const e=i["@"],o=Object.keys(e);1===o.length?n.push({[u+o[0]]:e[o[0]]}):n.push({[u]:i["@"]});break;case"#":n.push({[d]:i["#"]});break;case"!":n.push({[h]:i["!"]});break;case"?":n.push({[p]:i["?"]});break;case"$":n.push({[f]:i["$"]});break;default:const a=i;if(0!==a[s].length&&r.isArray(a[s][0])){const e=[],r=a[s];for(let n=0;n<r.length;n++)e.push(this._process(r[n],t));n.push({[s]:e})}else n.push({[s]:this._process(a[s],t)});break}}return i}{let n=1,i=1,o=1,m=1;const A={};for(let g=0;g<e.length;g++){const _=e[g],b=Object.keys(_)[0];switch(b){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"#":n=this._processSpecItem(_["#"],A,t.group,d,s,n);break;case"!":i=this._processSpecItem(_["!"],A,t.group,h,a,i);break;case"?":o=this._processSpecItem(_["?"],A,t.group,p,l,o);break;case"$":m=this._processSpecItem(_["$"],A,t.group,f,c,m);break;default:const v=_;if(0!==v[b].length&&r.isArray(v[b][0])){const e=[],n=v[b];for(let r=0;r<n.length;r++)e.push(this._process(n[r],t));A[b]=e}else A[b]=this._process(v[b],t);break}}return A}}_processSpecItem(e,t,n,i,o,s){if(!n&&r.isArray(e)&&o+e.length>2)for(const r of e){const e=i+(s++).toString();t[e]=r}else{const n=o>1?i+(s++).toString():i;t[n]=e}return s}beginElement(e){const t=[];if(0===this._currentList.length)this._currentList.push({[e]:t});else{const n=this._currentList[this._currentList.length-1];if(this._isElementNode(n,e))if(0!==n[e].length&&r.isArray(n[e][0])){const r=n[e];r.push(t)}else n[e]=[n[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 n=this._currentList[this._currentList.length-1];this._isAttrNode(n)?n["@"][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)?r.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)?r.isArray(t["#"])?t["#"].push(e):t["#"]=[t["#"],e]:this._currentList.push({"#":e})}}instruction(e,t){const n=""===t?e:e+" "+t;if(0===this._currentList.length)this._currentList.push({"?":n});else{const e=this._currentList[this._currentList.length-1];this._isInstructionNode(e)?r.isArray(e["?"])?e["?"].push(n):e["?"]=[e["?"],n]:this._currentList.push({"?":n})}}cdata(e){if(0===this._currentList.length)this._currentList.push({$:e});else{const t=this._currentList[this._currentList.length-1];this._isCDATANode(t)?r.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=s},"8d2e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("a45a"),o=n("9688"),s=n("68d5");class a{constructor(e){this._associatedDocument=e||r.dom.window.document}createDocumentType(e,t,n){return o.namespace_validate(e),o.create_documentType(this._associatedDocument,e,t,n)}createDocument(e,t,n=null){const r=o.create_xmlDocument();let s=null;return t&&(s=o.document_internalCreateElementNS(r,e,t)),n&&r.appendChild(n),s&&r.appendChild(s),r._origin=this._associatedDocument._origin,e===i.namespace.HTML?r._contentType="application/xhtml+xml":e===i.namespace.SVG?r._contentType="image/svg+xml":r._contentType="application/xml",r}createHTMLDocument(e){const t=o.create_document();t._type="html",t._contentType="text/html",t.appendChild(o.create_documentType(t,"html","",""));const n=o.element_createAnElement(t,"html",i.namespace.HTML);t.appendChild(n);const r=o.element_createAnElement(t,"head",i.namespace.HTML);if(n.appendChild(r),void 0!==e){const n=o.element_createAnElement(t,"title",i.namespace.HTML);r.appendChild(n);const s=o.create_text(t,e);n.appendChild(s)}const s=o.element_createAnElement(t,"body",i.namespace.HTML);return n.appendChild(s),t._origin=this._associatedDocument._origin,t}hasFeature(){return!0}static _create(e){return new a(e)}}t.DOMImplementationImpl=a,s.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},"8d47":function(e,t,n){(function(e,t){t(n("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 n=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,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},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,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.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 n}))},"8d57":function(e,t,n){(function(e,t){t(n("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("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^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 o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesiące":"miesięcy");case"yy":return r+(i(e)?"lata":"lat")}}var s=e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"8ddb":function(e,t,n){"use strict";n("87ff")},"8df48":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  511. //! moment.js locale configuration
  512. var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=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,n){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 n[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 r}))},"8df7":function(e,t,n){var r=n("3fb5"),i=n("b639").Buffer,o=n("cfbd");function s(e){o.call(this,e),this.enc="pem"}r(s,o),e.exports=s,s.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,l=-1,c=0;c<n.length;c++){var u=n[c].match(s);if(null!==u&&u[2]===r){if(-1!==a){if("END"!==u[1])break;l=c;break}if("BEGIN"!==u[1])break;a=c}}if(-1===a||-1===l)throw new Error("PEM section not found for: "+r);var d=n.slice(a+1,l).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new i(d,"base64");return o.prototype.decode.call(this,h,t)}},"8e16":function(e,t,n){"use strict";var r=n("7282"),i=n("cb27");e.exports=r(i.proto,"size","get")||function(e){return e.size}},"8e73":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  513. //! moment.js locale configuration
  514. var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"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},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 عام"]},o=function(e){return function(t,n,o,s){var a=r(t),l=i[e][r(t)];return 2===a&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=e.defineLocale("ar",{months:s,monthsShort:s,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,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},9:function(e,t){},9043:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  515. //! moment.js locale configuration
  516. var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=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 n[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,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return r}))},9056:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n("d9e2");var r=n("1096"),i=n("e90f"),o=n("3d57"),s=n("a73f"),a=n("97b9");function l(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class d extends r["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 n=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(n,0,e),this.runLocalHooks("change"),!0)}clearValue(e){this.orderOfIndexes=Object(o["b"])(this.orderOfIndexes,[e]),Object(a["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(s["b"])(this.orderOfIndexes,t),super.insert(e,t)}remove(e){this.indexedValues=Object(i["b"])(this.indexedValues,e),this.orderOfIndexes=Object(o["b"])(this.orderOfIndexes,e),this.orderOfIndexes=Object(s["a"])(this.orderOfIndexes,e),super.remove(e)}getEntries(){return this.orderOfIndexes.map(e=>[e,this.getValueAtIndex(e)])}}},9081:function(e,t,n){"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,n){(function(e,t){t(n("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,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e,t,n,r,i,o,s,a,l){this._type=e,this._target=t,this._addedNodes=n,this._removedNodes=r,this._previousSibling=i,this._nextSibling=o,this._attributeName=s,this._attributeNamespace=a,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,n,i,o,s,a,l,c){return new r(e,t,n,i,o,s,a,l,c)}}t.MutationRecordImpl=r},9204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("321f");function i(e,t){null===e._element?e._value=t:r.element_change(e,e._element,t)}t.attr_setAnExistingAttributeValue=i},"925e":function(e,t,n){(function(t,r,i){var o=n("a9f1"),s=n("3fb5"),a=n("c90b"),l=n("e372"),c=n("d938"),u=a.IncomingMessage,d=a.readyStates;function h(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}var p=e.exports=function(e){var n,r=this;l.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){r.setHeader(t,e.headers[t])}));var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=h(n,i),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};function f(e){try{var t=e.status;return null!==t&&0!==t}catch(n){return!1}}s(p,l.Writable),p.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={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 n=e._opts,s=e._headers,a=null;"GET"!==n.method&&"HEAD"!==n.method&&(a=o.arraybuffer?c(t.concat(e._body)):o.blobConstructor?new r.Blob(e._body.map((function(e){return c(e)})),{type:(s["content-type"]||{}).value||""}):t.concat(e._body).toString());var l=[];if(Object.keys(s).forEach((function(e){var t=s[e].name,n=s[e].value;Array.isArray(n)?n.forEach((function(e){l.push([t,e])})):l.push([t,n])})),"fetch"===e._mode){var u=null;if(o.abortController){var h=new AbortController;u=h.signal,e._fetchAbortController=h,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:l,body:a||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:u}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var p=e._xhr=new r.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=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in p&&p.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(p.timeout=n.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(a)}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,n){var r=this;r._body.push(e),n()},p.prototype.abort=p.prototype.destroy=function(){var e=this;e._destroyed=!0,r.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,n){var r=this;"function"===typeof e&&(n=e,e=void 0),l.Writable.prototype.end.call(r,e,t,n)},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,n("b639").Buffer,n("c8ba"),n("4362"))},9389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("8d2e"),i=n("507d"),o=n("b246"),s=n("f9a6"),a=n("fc97"),l=n("a19d"),c=n("e85c"),u=n("36f2"),d=n("77f3"),h=n("009c"),p=n("83d2"),f=n("f17c"),m=n("7fbc"),A=n("af0d"),g=n("7723"),_=n("5fbc"),b=n("f91d"),v=n("9873"),w=n("c0a6e"),y=n("89ea"),R=n("e07b"),M=n("acd5"),S=n("ec01"),E=n("9140"),T=n("6394");function C(e){return r.DOMImplementationImpl._create(e)}function O(){return i.WindowImpl._create()}function x(){return new o.XMLDocumentImpl}function N(){return new s.DocumentImpl}function L(){return new a.AbortControllerImpl}function I(){return l.AbortSignalImpl._create()}function P(e,t,n,r){return c.DocumentTypeImpl._create(e,t,n,r)}function D(e,t,n,r){return u.ElementImpl._create(e,t,n,r)}function F(e,t,n,r){return u.ElementImpl._create(e,t,n,r)}function k(e,t,n,r){return u.ElementImpl._create(e,t,n,r)}function B(e){return d.DocumentFragmentImpl._create(e)}function U(e,t){return h.ShadowRootImpl._create(e,t)}function H(e,t){return p.AttrImpl._create(e,t)}function j(e,t){return f.TextImpl._create(e,t)}function V(e,t){return m.CDATASectionImpl._create(e,t)}function W(e,t){return A.CommentImpl._create(e,t)}function Y(e,t,n){return g.ProcessingInstructionImpl._create(e,t,n)}function Q(e,t=(()=>!0)){return _.HTMLCollectionImpl._create(e,t)}function X(e){return b.NodeListImpl._create(e)}function K(e,t){return v.NodeListStaticImpl._create(e,t)}function G(e){return w.NamedNodeMapImpl._create(e)}function Z(e,t){return y.RangeImpl._create(e,t)}function z(e,t,n){return R.NodeIteratorImpl._create(e,t,n)}function q(e,t){return M.TreeWalkerImpl._create(e,t)}function J(){return S.NodeFilterImpl._create()}function $(e,t,n,r,i,o,s,a,l){return E.MutationRecordImpl._create(e,t,n,r,i,o,s,a,l)}function ee(e,t){return T.DOMTokenListImpl._create(e,t)}t.create_domImplementation=C,t.create_window=O,t.create_xmlDocument=x,t.create_document=N,t.create_abortController=L,t.create_abortSignal=I,t.create_documentType=P,t.create_element=D,t.create_htmlElement=F,t.create_htmlUnknownElement=k,t.create_documentFragment=B,t.create_shadowRoot=U,t.create_attr=H,t.create_text=j,t.create_cdataSection=V,t.create_comment=W,t.create_processingInstruction=Y,t.create_htmlCollection=Q,t.create_nodeList=X,t.create_nodeListStatic=K,t.create_namedNodeMap=G,t.create_range=Z,t.create_nodeIterator=z,t.create_treeWalker=q,t.create_nodeFilter=J,t.create_mutationRecord=$,t.create_domTokenList=ee},"93e6":function(e,t,n){"use strict";var r=n("8707").Buffer,i=n("d485").Transform,o=n("3fb5");function s(e,t){if(!r.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}function a(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}o(a,i),a.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(i){r=i}n(r)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(n){t=n}e(t)},a.prototype.update=function(e,t){if(s(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));var n=this._block,i=0;while(this._blockOffset+e.length-i>=this._blockSize){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=e[i++];this._update(),this._blockOffset=0}while(i<e.length)n[this._blockOffset++]=e[i++];for(var a=0,l=8*e.length;l>0;++a)this._length[a]+=l,l=this._length[a]/4294967296|0,l>0&&(this._length[a]-=4294967296*l);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.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 n=0;n<4;++n)this._length[n]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},"945d":function(e,t,n){"use strict";var r=n("7d92"),i=n("0cbb"),o=n("f3a3"),s=o.assert,a=o.parseBytes,l=n("380f"),c=n("44a3");function u(e){if(s("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=r.sha512}e.exports=u,u.prototype.sign=function(e,t){e=a(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),s=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),l=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:o})},u.prototype.verify=function(e,t,n){if(e=a(e),t=this.makeSignature(t),t.S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S()),s=t.R().add(r.pub().mul(i));return s.eq(o)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.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=o.parseBytes(e);var t=e.length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!==(128&e[t]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return o.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}},9490:function(e,t,n){(function(e){var r=n("925e"),i=n("c90b"),o=n("53a8"),s=n("8c05"),a=n("0b16"),l=t;l.request=function(t,n){t="string"===typeof t?a.parse(t):o(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",s=t.protocol||i,l=t.hostname||t.host,c=t.port,u=t.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),t.url=(l?s+"//"+l:"")+(c?":"+c:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var d=new r(t);return n&&d.on("response",n),d},l.get=function(e,t){var n=l.request(e,t);return n.end(),n},l.ClientRequest=r,l.IncomingMessage=i.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=s,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,n("c8ba"))},"953b":function(e,t,n){"use strict";var r=n("dc19"),i=n("cb27"),o=n("8e16"),s=n("7f65"),a=n("384f"),l=n("5388"),c=i.Set,u=i.add,d=i.has;e.exports=function(e){var t=r(this),n=s(e),i=new c;return o(t)>n.size?l(n.getIterator(),(function(e){d(t,e)&&u(i,e)})):a(t,(function(e){n.includes(e)&&u(i,e)})),i}},"956a":function(e,t,n){var r=n("1e3c"),i=n("fda6"),o=n("bac2"),s=n("0be8"),a=n("ae84");function l(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");n=8*s[e].key,r=s[e].iv}var i=a(t,!1,n,r);return u(e,i.key,i.iv)}function c(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");n=8*s[e].key,r=s[e].iv}var i=a(t,!1,n,r);return d(e,i.key,i.iv)}function u(e,t,n){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function d(e,t,n){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function h(){return Object.keys(s).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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  519. //! moment.js locale configuration
  520. function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}var r=[/^янв/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:r,longMonthsParse:r,shortMonthsParse:r,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:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  521. //! moment.js locale configuration
  522. function t(e,t,n,r){switch(n){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 n=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,n){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 n}))},9609:function(e,t,n){(function(e,t){t(n("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:"-чү"},n=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 n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"966d":function(e,t,n){"use strict";(function(t){function n(e,n,r,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:o=new Array(a-1),s=0;while(s<o.length)o[s++]=arguments[s];return t.nextTick((function(){e.apply(null,o)}))}}"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:n}:e.exports=t}).call(this,n("4362"))},9671:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n("0f7c");e.exports=o.call(r,i)},9686:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  525. //! moment.js locale configuration
  526. var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=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 n[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,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return r}))},9688:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("c91e")),r(n("9204")),r(n("c598")),r(n("3d7e")),r(n("9389")),r(n("bcd6")),r(n("b777")),r(n("dc6b")),r(n("b1e1")),r(n("321f")),r(n("3bc6")),r(n("0e57")),r(n("ba82")),r(n("7c81")),r(n("f141")),r(n("51f1")),r(n("750a")),r(n("79b1")),r(n("bf76f")),r(n("16cb")),r(n("32ac")),r(n("7ef7")),r(n("2f3c")),r(n("5fb5")),r(n("4b7d")),r(n("12e2")),r(n("68d5")),r(n("1178"))},"96c7":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-empty"})},i=[]},"972c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  527. //! moment.js locale configuration
  528. function t(e,t,n){var r={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+r[n]}var n=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 n}))},9797:function(e,t,n){(function(e,t){t(n("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,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}});return t}))},"97b9":function(e,t,n){"use strict";n.r(t),n.d(t,"isFunction",(function(){return o})),n.d(t,"throttle",(function(){return s})),n.d(t,"throttleAfterHits",(function(){return a})),n.d(t,"debounce",(function(){return l})),n.d(t,"pipe",(function(){return c})),n.d(t,"partial",(function(){return u})),n.d(t,"curry",(function(){return d})),n.d(t,"curryRight",(function(){return h})),n.d(t,"fastCall",(function(){return p}));var r=n("81ea"),i=n("7b9c");function o(e){return"function"===typeof e}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=0;const r={lastCallThrottled:!0};let i=null;function o(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];const l=Date.now();let c=!1;r.lastCallThrottled=!0,n||(n=l,c=!0);const u=t-(l-n);return c?(r.lastCallThrottled=!1,e.apply(this,s)):(i&&clearTimeout(i),i=setTimeout(()=>{r.lastCallThrottled=!1,e.apply(this,s),n=0,i=void 0},u)),r}return o}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=s(e,t);let i=n;function o(){i=n}function a(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return i?(i-=1,e.apply(this,n)):r.apply(this,n)}return a.clearHits=o,a}function l(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=null;function i(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r&&clearTimeout(r),r=setTimeout(()=>{t=e.apply(this,o)},n),t}return i}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[i,...o]=t;return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(r["arrayReduce"])(o,(e,t)=>t(e),i.apply(this,t))}}function u(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return e.apply(this,n.concat(r))}}function d(e){const t=e.length;function n(r){return function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];const a=r.concat(o);let l;return l=a.length>=t?e.apply(this,a):n(a),l}}return n([])}function h(e){const t=e.length;function n(r){return function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];const a=r.concat(o.reverse());let l;return l=a.length>=t?e.apply(this,a):n(a),l}}return n([])}function p(e,t,n,r,o,s,a,l){return Object(i["isDefined"])(l)?e.call(t,n,r,o,s,a,l):Object(i["isDefined"])(a)?e.call(t,n,r,o,s,a):Object(i["isDefined"])(s)?e.call(t,n,r,o,s):Object(i["isDefined"])(o)?e.call(t,n,r,o):Object(i["isDefined"])(r)?e.call(t,n,r):Object(i["isDefined"])(n)?e.call(t,n):e.call(t)}},"980c":function(e,t,n){"use strict";var r=n("8707").Buffer,i=n("399f"),o=n("3337").ec,s=n("2aee"),a=n("cd91");function l(e,t,n,o,a){var l=s(n);if("ec"===l.type){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong public key type");return c(e,t,l)}if("dsa"===l.type){if("dsa"!==o)throw new Error("wrong public key type");return u(e,t,l)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong public key type");t=r.concat([a,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=r.from(h);var m=i.mont(l.modulus);e=new i(e).toRed(m),e=e.redPow(new i(l.publicExponent)),e=r.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,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),s=n.data.subjectPrivateKey.data;return i.verify(t,e,s)}function u(e,t,n){var r=n.data.p,o=n.data.q,a=n.data.g,l=n.data.pub_key,c=s.signature.decode(e,"der"),u=c.s,h=c.r;d(u,o),d(h,o);var p=i.mont(r),f=u.invm(o),m=a.toRed(p).redPow(new i(t).mul(f).mod(o)).fromRed().mul(l.toRed(p).redPow(h.mul(f).mod(o)).fromRed()).mod(r).mod(o);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,n){"use strict";n("d845")},9873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("69a8");class o{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 n=e.next();return n.done?{done:!0,value:null}:{done:!1,value:[t++,n.value]}}}}.bind(this)}}[Symbol.iterator](){const e=this._items[Symbol.iterator]();return{next(){return e.next()}}}forEach(e,t){void 0===t&&(t=r.dom.window);let n=0;for(const r of this._items)e.call(t,r,n++,this)}get(e,t,n){if(!i.isString(t))return Reflect.get(e,t,n);const r=Number(t);return isNaN(r)?Reflect.get(e,t,n):e._items[r]||void 0}set(e,t,n,r){if(!i.isString(t))return Reflect.set(e,t,n,r);const o=Number(t);return isNaN(o)?Reflect.set(e,t,n,r):o>=0&&o<e._items.length&&(e._items[o]=n,!0)}static _create(e,t){const n=new o(e);return n._items=t,n}}t.NodeListStaticImpl=o},"98e6":function(e,t,n){"use strict";var r=n("3fb5"),i=n("f576"),o=n("b5ca"),s=n("69f2"),a=n("6430");function l(e){a.call(this,"digest"),this._hash=e}r(l,a),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 o:new l(s(e))}},9961:function(e,t,n){"use strict";var r=n("dc19"),i=n("cb27"),o=n("83b9e"),s=n("7f65"),a=n("5388"),l=i.add,c=i.has,u=i.remove;e.exports=function(e){var t=r(this),n=s(e).getIterator(),i=o(t);return a(n,(function(e){c(t,e)?u(i,e):l(i,e)})),i}},"9a32":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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 n=Math.random()<.5;if(n?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 n}}t.CompareCache=r},"9acd":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const r=new Map;function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common";r.has(e)||r.set(e,new Map);const t=r.get(e);function n(e,n){t.set(e,n)}function i(e){return t.get(e)}function o(e){return t.has(e)}function s(){return[...t.keys()]}function a(){return[...t.values()]}return{register:n,getItem:i,hasItem:o,getNames:s,getValues:a}}},"9af8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("04be");t.Cast=r.Cast;var i=n("7316");t.Guard=i.Guard;var o=n("dc148");t.EmptySet=o.EmptySet},"9c78":function(e,t,n){"use strict";function r(e){const t=new Uint8Array(4*e.length);let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i<128)t[n++]=i;else{if(i<2048)t[n++]=i>>6|192;else{if(i>55295&&i<56320){if(++r>=e.length)throw new Error("Incomplete surrogate pair.");const o=e.charCodeAt(r);if(o<56320||o>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&o),t[n++]=i>>18|240,t[n++]=i>>12&63|128}else t[n++]=i>>12|224;t[n++]=i>>6&63|128}t[n++]=63&i|128}}return t.subarray(0,n)}function i(e){let t="",n=0;while(n<e.length){var r=e[n++];if(r>127)if(r>191&&r<224){if(n>=e.length)throw new Error("Incomplete 2-byte sequence.");r=(31&r)<<6|63&e[n++]}else if(r>223&&r<240){if(n+1>=e.length)throw new Error("Incomplete 3-byte sequence.");r=(15&r)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(r>239&&r<248))throw new Error("Unknown multi-byte start.");if(n+2>=e.length)throw new Error("Incomplete 4-byte sequence.");r=(7&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}if(r<=65535)t+=String.fromCharCode(r);else{if(!(r<=1114111))throw new Error("Code point exceeds UTF-16 limit.");r-=65536,t+=String.fromCharCode(r>>10|55296),t+=String.fromCharCode(1023&r|56320)}}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.utf8Encode=r,t.utf8Decode=i},"9ccc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("69a8"),i=n("fc97");t.AbortController=i.AbortControllerImpl;const o=n("a19d");t.AbortSignal=o.AbortSignalImpl;const s=n("7b71");t.AbstractRange=s.AbstractRangeImpl;const a=n("83d2");t.Attr=a.AttrImpl;const l=n("7fbc");t.CDATASection=l.CDATASectionImpl;const c=n("d287");t.CharacterData=c.CharacterDataImpl;const u=n("186a"),d=n("af0d");t.Comment=d.CommentImpl;const h=n("8c5c");t.CustomEvent=h.CustomEventImpl;const p=n("77f3");t.DocumentFragment=p.DocumentFragmentImpl;const f=n("f9a6");t.Document=f.DocumentImpl;const m=n("df7e"),A=n("e85c");t.DocumentType=A.DocumentTypeImpl;const g=n("7a70");t.dom=g.dom;const _=n("8d2e");t.DOMImplementation=_.DOMImplementationImpl;const b=n("6394");t.DOMTokenList=b.DOMTokenListImpl;const v=n("36f2");t.Element=v.ElementImpl;const w=n("802d");t.Event=w.EventImpl;const y=n("58c0");t.EventTarget=y.EventTargetImpl;const R=n("5fbc");t.HTMLCollection=R.HTMLCollectionImpl;const M=n("2c98");t.MutationObserver=M.MutationObserverImpl;const S=n("9140");t.MutationRecord=S.MutationRecordImpl;const E=n("c0a6e");t.NamedNodeMap=E.NamedNodeMapImpl;const T=n("ec01");t.NodeFilter=T.NodeFilterImpl;const C=n("32d8");t.Node=C.NodeImpl;const O=n("e07b");t.NodeIterator=O.NodeIteratorImpl;const x=n("f91d");t.NodeList=x.NodeListImpl;const N=n("9873");t.NodeListStatic=N.NodeListStaticImpl;const L=n("c606"),I=n("ff6b"),P=n("5f05"),D=n("7723");t.ProcessingInstruction=D.ProcessingInstructionImpl;const F=n("89ea");t.Range=F.RangeImpl;const k=n("009c");t.ShadowRoot=k.ShadowRootImpl;const B=n("05c6"),U=n("1ef2");t.StaticRange=U.StaticRangeImpl;const H=n("f17c");t.Text=H.TextImpl;const j=n("1fa5");t.Traverser=j.TraverserImpl;const V=n("acd5");t.TreeWalker=V.TreeWalkerImpl;const W=n("507d");t.Window=W.WindowImpl;const Y=n("b246");t.XMLDocument=Y.XMLDocumentImpl,r.applyMixin(v.ElementImpl,u.ChildNodeImpl),r.applyMixin(c.CharacterDataImpl,u.ChildNodeImpl),r.applyMixin(A.DocumentTypeImpl,u.ChildNodeImpl),r.applyMixin(f.DocumentImpl,m.DocumentOrShadowRootImpl),r.applyMixin(k.ShadowRootImpl,m.DocumentOrShadowRootImpl),r.applyMixin(v.ElementImpl,L.NonDocumentTypeChildNodeImpl),r.applyMixin(c.CharacterDataImpl,L.NonDocumentTypeChildNodeImpl),r.applyMixin(f.DocumentImpl,I.NonElementParentNodeImpl),r.applyMixin(p.DocumentFragmentImpl,I.NonElementParentNodeImpl),r.applyMixin(f.DocumentImpl,P.ParentNodeImpl),r.applyMixin(p.DocumentFragmentImpl,P.ParentNodeImpl),r.applyMixin(v.ElementImpl,P.ParentNodeImpl),r.applyMixin(H.TextImpl,B.SlotableImpl),r.applyMixin(v.ElementImpl,B.SlotableImpl)},"9d30":function(e,t,n){var r=n("2bc1"),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={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}},s={__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},a={__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&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n("3fb5")(u,n("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 o)for(var t;(t=this._stack[this._stack.length-1])in o[e];this.onclosetag(t));!this._options.xmlMode&&e in s||(this._stack.push(e),e in a?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 s&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in a||e in l)&&this._foreignContext.pop(),!this._stack.length||e in s&&!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),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},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,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-textarea"},[n("div",{staticClass:"rich-editor",domProps:{innerHTML:e._s(e.processedContent)}})])},i=[],o=n("de03"),s=o["a"],a=(n("fa68"),n("2877")),l=Object(a["a"])(s,r,i,!1,null,null,null);t["default"]=l.exports},"9e6e":function(e,t,n){"use strict";var r=n("be7f"),i=n("c834"),o=n("eeda"),s=n("7eb1"),a=n("6853"),l=0,c=1,u=2,d=4,h=5,p=6,f=0,m=1,A=2,g=-2,_=-3,b=-4,v=-5,w=8,y=1,R=2,M=3,S=4,E=5,T=6,C=7,O=8,x=9,N=10,L=11,I=12,P=13,D=14,F=15,k=16,B=17,U=18,H=19,j=20,V=21,W=22,Y=23,Q=24,X=25,K=26,G=27,Z=28,z=29,q=30,J=31,$=32,ee=852,te=592,ne=15,re=ne;function ie(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function oe(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function se(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 r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,f):g}function ae(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,se(e)):g}function le(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?g:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,ae(e))):g}function ce(e,t){var n,r;return e?(r=new oe,e.state=r,r.window=null,n=le(e,t),n!==f&&(e.state=null),n):g}function ue(e){return ce(e,re)}var de,he,pe=!0;function fe(e){if(pe){var t;de=new r.Buf32(512),he=new r.Buf32(32),t=0;while(t<144)e.lens[t++]=8;while(t<256)e.lens[t++]=9;while(t<280)e.lens[t++]=7;while(t<288)e.lens[t++]=8;a(c,e.lens,0,288,de,0,e.work,{bits:9}),t=0;while(t<32)e.lens[t++]=5;a(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,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(o=s.wsize-s.wnext,o>i&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),i-=o,i?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}function Ae(e,t){var n,ee,te,ne,re,oe,se,ae,le,ce,ue,de,he,pe,Ae,ge,_e,be,ve,we,ye,Re,Me,Se,Ee=0,Te=new r.Buf8(4),Ce=[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;n=e.state,n.mode===I&&(n.mode=P),re=e.next_out,te=e.output,se=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,ae=n.hold,le=n.bits,ce=oe,ue=se,Re=f;e:for(;;)switch(n.mode){case y:if(0===n.wrap){n.mode=P;break}while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===ae){n.check=0,Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0),ae=0,le=0,n.mode=R;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&ae)<<8)+(ae>>8))%31){e.msg="incorrect header check",n.mode=q;break}if((15&ae)!==w){e.msg="unknown compression method",n.mode=q;break}if(ae>>>=4,le-=4,ye=8+(15&ae),0===n.wbits)n.wbits=ye;else if(ye>n.wbits){e.msg="invalid window size",n.mode=q;break}n.dmax=1<<ye,e.adler=n.check=1,n.mode=512&ae?N:I,ae=0,le=0;break;case R:while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(n.flags=ae,(255&n.flags)!==w){e.msg="unknown compression method",n.mode=q;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=q;break}n.head&&(n.head.text=ae>>8&1),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0)),ae=0,le=0,n.mode=M;case M:while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=ae),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,Te[2]=ae>>>16&255,Te[3]=ae>>>24&255,n.check=o(n.check,Te,4,0)),ae=0,le=0,n.mode=S;case S:while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&ae,n.head.os=ae>>8),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0)),ae=0,le=0,n.mode=E;case E:if(1024&n.flags){while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.length=ae,n.head&&(n.head.extra_len=ae),512&n.flags&&(Te[0]=255&ae,Te[1]=ae>>>8&255,n.check=o(n.check,Te,2,0)),ae=0,le=0}else n.head&&(n.head.extra=null);n.mode=T;case T:if(1024&n.flags&&(de=n.length,de>oe&&(de=oe),de&&(n.head&&(ye=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,de,ye)),512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,n.length-=de),n.length))break e;n.length=0,n.mode=C;case C:if(2048&n.flags){if(0===oe)break e;de=0;do{ye=ee[ne+de++],n.head&&ye&&n.length<65536&&(n.head.name+=String.fromCharCode(ye))}while(ye&&de<oe);if(512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,ye)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=O;case O:if(4096&n.flags){if(0===oe)break e;de=0;do{ye=ee[ne+de++],n.head&&ye&&n.length<65536&&(n.head.comment+=String.fromCharCode(ye))}while(ye&&de<oe);if(512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,ye)break e}else n.head&&(n.head.comment=null);n.mode=x;case x:if(512&n.flags){while(le<16){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae!==(65535&n.check)){e.msg="header crc mismatch",n.mode=q;break}ae=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=I;break;case N:while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}e.adler=n.check=ie(ae),ae=0,le=0,n.mode=L;case L:if(0===n.havedict)return e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,A;e.adler=n.check=1,n.mode=I;case I:if(t===h||t===p)break e;case P:if(n.last){ae>>>=7&le,le-=7&le,n.mode=G;break}while(le<3){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}switch(n.last=1&ae,ae>>>=1,le-=1,3&ae){case 0:n.mode=D;break;case 1:if(fe(n),n.mode=j,t===p){ae>>>=2,le-=2;break e}break;case 2:n.mode=B;break;case 3:e.msg="invalid block type",n.mode=q}ae>>>=2,le-=2;break;case D:ae>>>=7&le,le-=7&le;while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if((65535&ae)!==(ae>>>16^65535)){e.msg="invalid stored block lengths",n.mode=q;break}if(n.length=65535&ae,ae=0,le=0,n.mode=F,t===p)break e;case F:n.mode=k;case k:if(de=n.length,de){if(de>oe&&(de=oe),de>se&&(de=se),0===de)break e;r.arraySet(te,ee,ne,de,re),oe-=de,ne+=de,se-=de,re+=de,n.length-=de;break}n.mode=I;break;case B:while(le<14){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&ae),ae>>>=5,le-=5,n.ndist=1+(31&ae),ae>>>=5,le-=5,n.ncode=4+(15&ae),ae>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=q;break}n.have=0,n.mode=U;case U:while(n.have<n.ncode){while(le<3){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.lens[Ce[n.have++]]=7&ae,ae>>>=3,le-=3}while(n.have<19)n.lens[Ce[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Me={bits:n.lenbits},Re=a(l,n.lens,0,19,n.lencode,0,n.work,Me),n.lenbits=Me.bits,Re){e.msg="invalid code lengths set",n.mode=q;break}n.have=0,n.mode=H;case H:while(n.have<n.nlen+n.ndist){for(;;){if(Ee=n.lencode[ae&(1<<n.lenbits)-1],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(_e<16)ae>>>=Ae,le-=Ae,n.lens[n.have++]=_e;else{if(16===_e){Se=Ae+2;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae>>>=Ae,le-=Ae,0===n.have){e.msg="invalid bit length repeat",n.mode=q;break}ye=n.lens[n.have-1],de=3+(3&ae),ae>>>=2,le-=2}else if(17===_e){Se=Ae+3;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=Ae,le-=Ae,ye=0,de=3+(7&ae),ae>>>=3,le-=3}else{Se=Ae+7;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=Ae,le-=Ae,ye=0,de=11+(127&ae),ae>>>=7,le-=7}if(n.have+de>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=q;break}while(de--)n.lens[n.have++]=ye}}if(n.mode===q)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=q;break}if(n.lenbits=9,Me={bits:n.lenbits},Re=a(c,n.lens,0,n.nlen,n.lencode,0,n.work,Me),n.lenbits=Me.bits,Re){e.msg="invalid literal/lengths set",n.mode=q;break}if(n.distbits=6,n.distcode=n.distdyn,Me={bits:n.distbits},Re=a(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Me),n.distbits=Me.bits,Re){e.msg="invalid distances set",n.mode=q;break}if(n.mode=j,t===p)break e;case j:n.mode=V;case V:if(oe>=6&&se>=258){e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,s(e,ue),re=e.next_out,te=e.output,se=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,ae=n.hold,le=n.bits,n.mode===I&&(n.back=-1);break}for(n.back=0;;){if(Ee=n.lencode[ae&(1<<n.lenbits)-1],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ge&&0===(240&ge)){for(be=Ae,ve=ge,we=_e;;){if(Ee=n.lencode[we+((ae&(1<<be+ve)-1)>>be)],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,be+Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=be,le-=be,n.back+=be}if(ae>>>=Ae,le-=Ae,n.back+=Ae,n.length=_e,0===ge){n.mode=K;break}if(32&ge){n.back=-1,n.mode=I;break}if(64&ge){e.msg="invalid literal/length code",n.mode=q;break}n.extra=15&ge,n.mode=W;case W:if(n.extra){Se=n.extra;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.length+=ae&(1<<n.extra)-1,ae>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Y;case Y:for(;;){if(Ee=n.distcode[ae&(1<<n.distbits)-1],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(0===(240&ge)){for(be=Ae,ve=ge,we=_e;;){if(Ee=n.distcode[we+((ae&(1<<be+ve)-1)>>be)],Ae=Ee>>>24,ge=Ee>>>16&255,_e=65535&Ee,be+Ae<=le)break;if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}ae>>>=be,le-=be,n.back+=be}if(ae>>>=Ae,le-=Ae,n.back+=Ae,64&ge){e.msg="invalid distance code",n.mode=q;break}n.offset=_e,n.extra=15&ge,n.mode=Q;case Q:if(n.extra){Se=n.extra;while(le<Se){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}n.offset+=ae&(1<<n.extra)-1,ae>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=q;break}n.mode=X;case X:if(0===se)break e;if(de=ue-se,n.offset>de){if(de=n.offset-de,de>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=q;break}de>n.wnext?(de-=n.wnext,he=n.wsize-de):he=n.wnext-de,de>n.length&&(de=n.length),pe=n.window}else pe=te,he=re-n.offset,de=n.length;de>se&&(de=se),se-=de,n.length-=de;do{te[re++]=pe[he++]}while(--de);0===n.length&&(n.mode=V);break;case K:if(0===se)break e;te[re++]=n.length,se--,n.mode=V;break;case G:if(n.wrap){while(le<32){if(0===oe)break e;oe--,ae|=ee[ne++]<<le,le+=8}if(ue-=se,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,re-ue):i(n.check,te,ue,re-ue)),ue=se,(n.flags?ae:ie(ae))!==n.check){e.msg="incorrect data check",n.mode=q;break}ae=0,le=0}n.mode=Z;case Z:if(n.wrap&&n.flags){while(le<32){if(0===oe)break e;oe--,ae+=ee[ne++]<<le,le+=8}if(ae!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=q;break}ae=0,le=0}n.mode=z;case z:Re=m;break e;case q:Re=_;break e;case J:return b;case $:default:return g}return e.next_out=re,e.avail_out=se,e.next_in=ne,e.avail_in=oe,n.hold=ae,n.bits=le,(n.wsize||ue!==e.avail_out&&n.mode<q&&(n.mode<G||t!==d))&&me(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=J,b):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,e.next_out-ue):i(n.check,te,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===I?128:0)+(n.mode===j||n.mode===F?256:0),(0===ce&&0===ue||t===d)&&Re===f&&(Re=v),Re)}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 n;return e&&e.state?(n=e.state,0===(2&n.wrap)?g:(n.head=t,t.done=!1,f)):g}function be(e,t){var n,r,o,s=t.length;return e&&e.state?(n=e.state,0!==n.wrap&&n.mode!==L?g:n.mode===L&&(r=1,r=i(r,t,s,0),r!==n.check)?_:(o=me(e,t,s,s),o?(n.mode=J,b):(n.havedict=1,f))):g}t.inflateReset=ae,t.inflateReset2=le,t.inflateResetKeep=se,t.inflateInit=ue,t.inflateInit2=ce,t.inflate=Ae,t.inflateEnd=ge,t.inflateGetHeader=_e,t.inflateSetDictionary=be,t.inflateInfo="pako inflate (from Nodeca project)"},"9f10":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("1096"),i=n("e90f");class o extends r["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,n){(function(e,t){t(n("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,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(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],o=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:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,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 o}))},"9f99":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("4f09");function i(e,t){return e.get(t)}function o(e,t,n){e.set(t,n)}function s(e,t){if(r.isFunction(t)){const n=[];for(const r of e)t.call(null,r)&&n.push(r[0]);for(const t of n)e.delete(t)}else e.delete(t)}function a(e,t){if(r.isFunction(t)){for(const n of e)if(t.call(null,n))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 n=0;for(const r of e)t.call(null,r)&&n++;return n}}function d(e){return 0===e.size}function*h(e,t){if(void 0===t)yield*e;else for(const n of e)t.call(null,n)&&(yield n)}function p(e){return new Map(e)}function f(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?-1:1),new Map(n)}function m(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?1:-1),new Map(n)}t.get=i,t.set=o,t.remove=s,t.contains=a,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,n){(function(t,n){var r;if(t.process&&t.process.browser)r="utf-8";else if(t.process&&t.process.version){var i=parseInt(n.version.split(".")[0].slice(1),10);r=i>=6?"utf-8":"binary"}else r="utf-8";e.exports=r}).call(this,n("c8ba"),n("4362"))},"9fdb":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return null!=e.com?n("div",{staticClass:"template-table"},[n("div",{staticClass:"table"},[n("hot-table",{ref:"hotTable",staticStyle:{width:"100%"},attrs:{settings:e.settings,licenseKey:"non-commercial-and-evaluation"}})],1)]):e._e()},i=[],o=n("ade3"),s=(n("4de4"),n("14d9"),n("a9e3"),n("d3b7"),n("ac1f"),n("5319"),n("0643"),n("2382"),n("e437"),n("c24d")),a=n("8c7e"),l=n("cc6f");n("8033"),n("c1cf"),l["a"].buildEmpty({licenseKey:"internal-use-in-handsontable",precisionRounding:10,nullDate:{year:1900,month:1,day:1}});var c={name:"table",components:{HotTable:s["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"),n=t.exportAsString("csv",{filename:"MyFile"});console.log("str",n)},initSetting:function(){var e,t=this,n=this;n.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:n.cellStyle,contextMenu:{callback:function(e,t,r){if(console.log("callback",e,t,r),void 0==n.cellStyle&&(n.cellStyle=[]),"importExcel"!=e)if("clearColor"!=e){if(e.length>=8){if("bgColor"==e.substr(0,7)){var i=e.replace("bgColor:",""),o="whiteBg";switch(i){case"red":o="redBg";break;case"gray":o="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 s=n.cellStyle.filter((function(e){return e.col==u&&e.row==d}));s.length>0?s[0].className.indexOf(o)<0&&(s[0].className+=" "+o):n.cellStyle.push({col:u,row:d,className:o})}return}if("fontColor"==e.substr(0,9)){var a=e.replace("fontColor:",""),l="blackFont";switch(a){case"white":l="whiteFont";break;case"black":l="blackFont";break}void 0==n.cellStyle&&(n.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=n.cellStyle.filter((function(e){return e.col==u&&e.row==d}));c.length>0?c[0].className.indexOf(l)<0&&(c[0].className+=" "+l):n.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++)n.cellStyle=n.cellStyle.filter((function(e){return e.col!=u&&e.row!=d}));n.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(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"])(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(o["a"])(e,"afterOnCellMouseDown",(function(e,n,r){t.currentFocus=n}))),Object(a["a"])()}}},u=c,d=(n("bf7d"),n("2877")),h=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=h.exports},a023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("c1f3"),i=n("9ccc"),o=n("3022");function s(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 n=e.getAttribute("message");if(null===n)throw new Error("Error parsing XML string.");throw new Error(n)}}function a(){const e=new r.DOMImplementation,t=e.createDocument(null,"root",null);return t.documentElement&&t.removeChild(t.documentElement),t}function l(){return new r.DOMParser}function c(e,t){if(null==e)return e;if(void 0===t)return e+"";{let n="";e+="";for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(9===i||10===i||13===i||i>=32&&i<=55295||i>=57344&&i<=65533)n+=e.charAt(r);else if(i>=55296&&i<=56319&&r<e.length-1){const s=e.charCodeAt(r+1);s>=56320&&s<=57343?(i=1024*(i-55296)+s-56320+65536,n+=i>=65536&&i<=1114111?String.fromCodePoint(i):o.isString(t)?t:t(String.fromCodePoint(i),r,e),r++):n+=o.isString(t)?t:t(e.charAt(r),r,e)}else n+=o.isString(t)?t:t(e.charAt(r),r,e)}return n}}i.dom.setFeatures(!1),t.throwIfParserError=s,t.createDocument=a,t.createParser=l,t.sanitizeInput=c},a086:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},a099:function(e,t,n){t.pbkdf2=n("206d"),t.pbkdf2Sync=n("e07bf")},a131:function(e,t,n){"use strict";n("2c53")},a177:function(e,t,n){"use strict";var r,i=n("be7f"),o=n("07f44"),s=n("c834"),a=n("eeda"),l=n("4dc6"),c=0,u=1,d=3,h=4,p=5,f=0,m=1,A=-2,g=-3,_=-5,b=-1,v=1,w=2,y=3,R=4,M=0,S=2,E=8,T=9,C=15,O=8,x=29,N=256,L=N+1+x,I=30,P=19,D=2*L+1,F=15,k=3,B=258,U=B+k+1,H=32,j=42,V=69,W=73,Y=91,Q=103,X=113,K=666,G=1,Z=2,z=3,q=4,J=3;function $(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 ne(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function re(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ne(e.strm)}function ie(e,t){e.pending_buf[e.pending++]=t}function oe(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function se(e,t,n,r){var o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=s(e.adler,t,o,n):2===e.state.wrap&&(e.adler=a(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}function ae(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-U?e.strstart-(e.w_size-U):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+B,p=c[o+s-1],f=c[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(n=t,c[n+s]===f&&c[n+s-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<h);if(r=B-(h-o),o=h-B,r>s){if(e.match_start=t,s=r,r>=a)break;p=c[o+s-1],f=c[o+s]}}}while((t=d[t&u])>l&&0!==--i);return s<=e.lookahead?s:e.lookahead}function le(e){var t,n,r,o,s,a=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-U)){i.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);n=a,t=n;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);o+=a}if(0===e.strm.avail_in)break;if(n=se(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=k){s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;while(e.insert)if(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+k-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,e.lookahead+e.insert<k)break}}while(e.lookahead<U&&0!==e.strm.avail_in)}function ce(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=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 r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,re(e,!1),0===e.strm.avail_out))return G;if(e.strstart-e.block_start>=e.w_size-U&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(re(e,!0),0===e.strm.avail_out?z:q):(e.strstart>e.block_start&&(re(e,!1),e.strm.avail_out),G)}function ue(e,t){for(var n,r;;){if(e.lookahead<U){if(le(e),e.lookahead<U&&t===c)return G;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-U&&(e.match_length=ae(e,n)),e.match_length>=k)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-k),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=k){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=e.strstart<k-1?e.strstart:k-1,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function de(e,t){for(var n,r,i;;){if(e.lookahead<U){if(le(e),e.lookahead<U&&t===c)return G;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=k-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-U&&(e.match_length=ae(e,n),e.match_length<=5&&(e.strategy===v||e.match_length===k&&e.strstart-e.match_start>4096)&&(e.match_length=k-1)),e.prev_length>=k&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-k,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-k),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+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=k-1,e.strstart++,r&&(re(e,!1),0===e.strm.avail_out))return G}else if(e.match_available){if(r=o._tr_tally(e,0,e.window[e.strstart-1]),r&&re(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&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function he(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=B){if(le(e),e.lookahead<=B&&t===c)return G;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&e.strstart>0&&(i=e.strstart-1,r=a[i],r===a[++i]&&r===a[++i]&&r===a[++i])){s=e.strstart+B;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=B-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(n=o._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function pe(e,t){for(var n;;){if(0===e.lookahead&&(le(e),0===e.lookahead)){if(t===c)return G;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(re(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===h?(re(e,!0),0===e.strm.avail_out?z:q):e.last_lit&&(re(e,!1),0===e.strm.avail_out)?G:Z}function fe(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function me(e){e.window_size=2*e.w_size,te(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=k-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=E,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*D),this.dyn_dtree=new i.Buf16(2*(2*I+1)),this.bl_tree=new i.Buf16(2*(2*P+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(F+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?j:X,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),f):$(e,A)}function _e(e){var t=ge(e);return t===f&&me(e.state),t}function be(e,t){return e&&e.state?2!==e.state.wrap?A:(e.state.gzhead=t,f):A}function ve(e,t,n,r,o,s){if(!e)return A;var a=1;if(t===b&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),o<1||o>T||n!==E||r<8||r>15||t<0||t>9||s<0||s>R)return $(e,A);8===r&&(r=9);var l=new Ae;return e.state=l,l.strm=e,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+k-1)/k),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<<o+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=s,l.method=n,_e(e)}function we(e,t){return ve(e,t,E,C,O,M)}function ye(e,t){var n,i,s,l;if(!e||!e.state||t>p||t<0)return e?$(e,A):A;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===K&&t!==h)return $(e,0===e.avail_out?_:A);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===j)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=a(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,J),i.status=X);else{var g=E+(i.w_bits-8<<4)<<8,b=-1;b=i.strategy>=w||i.level<2?0:i.level<6?1:6===i.level?2:3,g|=b<<6,0!==i.strstart&&(g|=H),g+=31-g%31,i.status=X,oe(i,g),0!==i.strstart&&(oe(i,e.adler>>>16),oe(i,65535&e.adler)),e.adler=1}if(i.status===V)if(i.gzhead.extra){s=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=i.pending,i.pending===i.pending_buf_size))break;ie(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=W)}else i.status=W;if(i.status===W)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=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>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.gzindex=0,i.status=Y)}else i.status=Y;if(i.status===Y)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),ne(e),s=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>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===l&&(i.status=Q)}else i.status=Q;if(i.status===Q&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ne(e),i.pending+2<=i.pending_buf_size&&(ie(i,255&e.adler),ie(i,e.adler>>8&255),e.adler=0,i.status=X)):i.status=X),0!==i.pending){if(ne(e),0===e.avail_out)return i.last_flush=-1,f}else if(0===e.avail_in&&ee(t)<=ee(n)&&t!==h)return $(e,_);if(i.status===K&&0!==e.avail_in)return $(e,_);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==K){var v=i.strategy===w?pe(i,t):i.strategy===y?he(i,t):r[i.level].func(i,t);if(v!==z&&v!==q||(i.status=K),v===G||v===z)return 0===e.avail_out&&(i.last_flush=-1),f;if(v===Z&&(t===u?o._tr_align(i):t!==p&&(o._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))),ne(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)):(oe(i,e.adler>>>16),oe(i,65535&e.adler)),ne(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?f:m)}function Re(e){var t;return e&&e.state?(t=e.state.status,t!==j&&t!==V&&t!==W&&t!==Y&&t!==Q&&t!==X&&t!==K?$(e,A):(e.state=null,t===X?$(e,g):f)):A}function Me(e,t){var n,r,o,a,l,c,u,d,h=t.length;if(!e||!e.state)return A;if(n=e.state,a=n.wrap,2===a||1===a&&n.status!==j||n.lookahead)return A;1===a&&(e.adler=s(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===a&&(te(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,t,h-n.w_size,n.w_size,0),t=d,h=n.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(n);while(n.lookahead>=k){r=n.strstart,o=n.lookahead-(k-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+k-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=k-1,le(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=k-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=a,f}r=[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=ve,t.deflateReset=_e,t.deflateResetKeep=ge,t.deflateSetHeader=be,t.deflate=ye,t.deflateEnd=Re,t.deflateSetDictionary=Me,t.deflateInfo="pako deflate (from Nodeca project)"},a19d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("58c0"),i=n("9688");class o extends r.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 o}}t.AbortSignalImpl=o},a255:function(e,t,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,s=[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],a=new Array(64);function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(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}r(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,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,a=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 b=A+h(a)+c(a,l,m)+s[_]+t[_]|0,v=d(n)+u(n,r,i)|0;A=m,m=l,l=a,a=o+b|0,o=i,i=r,r=n,n=b+v|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=a+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=o.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,n){"use strict";var r=n("bbc7"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);t.obj[t.prop]=r}}},l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)"undefined"!==typeof e[r]&&(n[r]=e[r]);return n},c=function e(t,n,r){if(!n)return t;if("object"!==typeof n){if(o(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=l(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var s=t[o];s&&"object"===typeof s&&n&&"object"===typeof n?t[o]=e(s,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var s=n[o];return i.call(t,o)?t[o]=e(t[o],s,r):t[o]=s,t}),s)},u=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},d=function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(i){return r}},h=1024,p=function(e,t,n,i,o){if(0===e.length)return e;var a=e;if("symbol"===typeof e?a=Symbol.prototype.toString.call(e):"string"!==typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<a.length;c+=h){for(var u=a.length>=h?a.slice(c,c+h):a,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||o===r.RFC1738&&(40===f||41===f)?d[d.length]=u.charAt(p):f<128?d[d.length]=s[f]:f<2048?d[d.length]=s[192|f>>6]+s[128|63&f]:f<55296||f>=57344?d[d.length]=s[224|f>>12]+s[128|f>>6&63]+s[128|63&f]:(p+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(p)),d[d.length]=s[240|f>>18]+s[128|f>>12&63]+s[128|f>>6&63]+s[128|63&f])}l+=d.join("")}return l},f=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],o=i.obj[i.prop],s=Object.keys(o),l=0;l<s.length;++l){var c=s[l],u=o[c];"object"===typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:o,prop:c}),n.push(u))}return a(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(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:l,assign:u,combine:g,compact:f,decode:d,encode:p,isBuffer:A,isRegExp:m,maybeMap:_,merge:c}},a2bf:function(e,t,n){"use strict";var r=n("e8b5"),i=n("07fa"),o=n("3511"),s=n("0366"),a=function(e,t,n,l,c,u,d,h){var p,f,m=c,A=0,g=!!d&&s(d,h);while(A<l)A in n&&(p=g?g(n[A],A,t):n[A],u>0&&r(p)?(f=i(p),m=a(e,t,p,f,m,u-1)-1):(o(m+1),e[m]=p),m++),A++;return m};e.exports=a},a2ff:function(e,t,n){"use strict";n("4502")},a309:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u}));const r="active-header",i="header",o="area",s="focus",a="fill",l="row",c="column",u="custom-selection"},a32f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},a356:function(e,t,n){(function(e,t){t(n("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},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 عام"]},r=function(e){return function(r,i,o,s){var a=t(r),l=n[e][t(r)];return 2===a&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=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,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return o}))},a357:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n("14d9");var r=n("5d7f"),i=n("8828");const o="base";function s(e,t,n,o,s,a,l){const c=l.ariaTags,u=[],d=[],h=[],p=[];l.className&&Object(r["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),!a&&l.placeholder&&u.push(l.placeholderCellClassName),Object(r["removeClass"])(t,d),Object(r["addClass"])(t,u),Object(r["removeAttribute"])(t,h),Object(r["setAttribute"])(t,p)}s.RENDERER_TYPE=o},a45a:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n("b55a"));t.base64=i;const o=r(n("26d6"));t.byte=o;const s=r(n("e564"));t.byteSequence=s;const a=r(n("07a0"));t.codePoint=a;const l=r(n("e2c6"));t.json=l;const c=r(n("3030"));t.list=c;const u=r(n("9f99"));t.map=u;const d=r(n("78e0"));t.namespace=d;const h=r(n("74a2"));t.queue=h;const p=r(n("409e"));t.set=p;const f=r(n("c592"));t.stack=f;const m=r(n("f6ef"));t.string=m},a4e7:function(e,t,n){"use strict";var r=n("23e7"),i=n("395e"),o=n("dad2");r({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:i})},a5f7:function(e,t,n){"use strict";var r=n("dc19"),i=n("cb27"),o=n("83b9e"),s=n("8e16"),a=n("7f65"),l=n("384f"),c=n("5388"),u=i.has,d=i.remove;e.exports=function(e){var t=r(this),n=a(e),i=o(t);return s(t)<=n.size?l(t,(function(e){n.includes(e)&&d(i,e)})):c(n.getIterator(),(function(e){u(t,e)&&d(i,e)})),i}},a616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7d2e");function i(e,t){e.add(t)}function o(e,t){t.forEach(e.add,e)}function s(e,t){const n=new Set(e);e.clear(),e.add(t),n.forEach(e.add,e)}function a(e,t,n){const i=new Set;for(const o of e)r.isFunction(t)?t.call(null,o)?i.add(n):i.add(o):o===t?i.add(n):i.add(o);e.clear(),i.forEach(e.add,e)}function l(e,t,n){const r=new Set;let i=0;for(const o of e)i===n&&r.add(t),r.add(o),i++;e.clear(),r.forEach(e.add,e)}function c(e,t){if(r.isFunction(t)){const n=[];for(const r of e)t.call(null,r)&&n.push(r);for(const t of n)e.delete(t)}else e.delete(t)}function u(e){e.clear()}function d(e,t){if(!r.isFunction(t))return e.has(t);for(const n of e)if(t.call(null,n))return!0;return!1}function h(e,t){if(void 0===t)return e.size;{let n=0;for(const r of e)t.call(null,r)&&n++;return n}}function p(e){return 0===e.size}function*f(e,t){if(void 0===t)yield*e;else for(const n of e)t.call(null,n)&&(yield n)}function m(e){return new Set(e)}function A(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?-1:1),new Set(n)}function g(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?1:-1),new Set(n)}function _(e,t){for(const n of e)if(!t.has(n))return!1;return!0}function b(e,t){return _(t,e)}function v(e,t){const n=new Set;for(const r of e)t.has(r)&&n.add(r);return n}function w(e,t){const n=new Set(e);return t.forEach(n.add,n),n}function y(e,t){const n=new Set;for(let r=e;r<=t;r++)n.add(r);return n}t.append=i,t.extend=o,t.prepend=s,t.replace=a,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=b,t.intersection=v,t.union=w,t.range=y},a645:function(e,t,n){"use strict";e.exports=Error},a73f:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("81ea");function i(e,t){return Object(r["arrayMap"])(e,e=>e-t.filter(t=>t<e).length)}function o(e,t){const n=t[0],i=t.length;return Object(r["arrayMap"])(e,e=>e>=n?e+i:e)}},a776:function(e,t,n){"use strict";n.r(t),n.d(t,"instanceToHTML",(function(){return a})),n.d(t,"_dataToHTML",(function(){return l})),n.d(t,"htmlToGridSettings",(function(){return c}));n("14d9"),n("5b81");var r=n("7b9c");const i={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">"},o=new RegExp(Object.keys(i).map(e=>`(${e})`).join("|"),"gi");function s(e){return"TABLE"===(e&&e.nodeName||"")}function a(e){const t=e.hasColHeaders(),n=e.hasRowHeaders(),i=[t?-1:0,n?-1:0,e.countRows()-1,e.countCols()-1],o=e.getData(...i),s=o.length,a=s>0?o[0].length:0,l=["<table>","</table>"],c=t?["<thead>","</thead>"]:[],u=["<tbody>","</tbody>"],d=n?1:0,h=t?1:0;for(let p=0;p<s;p+=1){const i=t&&0===p,s=[];for(let t=0;t<a;t+=1){const a=!i&&n&&0===t;let l="";if(i)l=`<th>${e.getColHeader(t-d)}</th>`;else if(a)l=`<th>${e.getRowHeader(p-h)}</th>`;else{const n=o[p][t],{hidden:i,rowspan:s,colspan:a}=e.getCellMeta(p-h,t-d);if(!i){const e=[];if(s&&e.push(`rowspan="${s}"`),a&&e.push(`colspan="${a}"`),Object(r["isEmpty"])(n))l=`<td ${e.join(" ")}></td>`;else{const t=n.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>`}}}s.push(l)}const l=["<tr>",...s,"</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,n=["<table>"];for(let i=0;i<t;i+=1){const o=e[i],s=o.length,a=[];0===i&&n.push("<tbody>");for(let e=0;e<s;e+=1){const t=o[e],n=Object(r["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;");a.push(`<td>${n}</td>`)}n.push("<tr>",...a,"</tr>"),i+1===t&&n.push("</tbody>")}return n.push("</table>"),n.join("")}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const n={},r=t.createDocumentFragment(),a=t.createElement("div");r.appendChild(a);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],n=/<p.*?>/g,r=e.substring(t.length,e.lastIndexOf("<")).trim().replaceAll(/\n\s+/g," ").replaceAll(n,"\n").replace("\n","").replaceAll(/<\/(.*)>\s+$/gm,"</$1>").replace(/(<(?!br)([^>]+)>)/gi,"").replaceAll(/^&nbsp;$/gm,""),i="</td>";return`${t}${r}${i}`});a.insertAdjacentHTML("afterbegin",""+e),l=a.querySelector("table")}if(!l||!s(l))return;const c=a.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?n.nestedHeaders=Array.from(e).reduce((e,t)=>{const n=Array.from(t.cells).reduce((e,t,n)=>{if(u&&0===n)return e;const{colSpan:r,innerHTML:i}=t,o=r>1?{label:i,colspan:r}:i;return e.push(o),e},[]);return e.push(n),e},[]):m&&(n.colHeaders=Array.from(e[0].children).reduce((e,t,n)=>(u&&0===n||e.push(t.innerHTML),e),[]))}f.length&&(n.fixedRowsTop=f.length),p.length&&(n.fixedRowsBottom=p.length);const _=[...f,...Array.from(l.tBodies).reduce((e,t)=>(e.push(...Array.from(t.rows)),e),[]),...p];g=_.length;const b=new Array(g);for(let i=0;i<g;i++)b[i]=new Array(h);const v=[],w=[];for(let s=0;s<g;s++){const e=_[s],t=Array.from(e.cells),n=t.length;for(let r=0;r<n;r++){const e=t[r],{nodeName:n,innerHTML:a,rowSpan:l,colSpan:u}=e,d=b[s].findIndex(e=>void 0===e);if("TD"===n){if(l>1||u>1){for(let e=s;e<s+l;e++)if(e<g)for(let t=d;t<d+u;t++)b[e][t]=null;const t=e.getAttribute("style"),n=t&&t.includes("mso-ignore:colspan");n||v.push({col:d,row:s,rowspan:l,colspan:u})}let t="";t=c&&/excel/gi.test(c.content)?a.replace(/[\r\n][\x20]{0,2}/g," ").replace(/<br(\s*|\/)>[\r\n]?[\x20]{0,3}/gim,"\r\n"):a.replace(/<br(\s*|\/)>[\r\n]?/gim,"\r\n"),b[s][d]=t.replace(o,e=>i[e])}else w.push(a)}}return v.length&&(n.mergeCells=v),w.length&&(n.rowHeaders=w),b.length&&(n.data=b),n}},a7fa:function(e,t,n){(function(e,t){t(n("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,n){"use strict";n("99af"),n("caad"),n("ac1f"),n("2532"),n("5319");var r={bind:function(e,t,n){var r=e.querySelector(".el-dialog__header"),i=e.querySelector(".el-dialog");r.style.cssText+=";cursor:move;",i.style.cssText+=";top:0px;";var o=function(){return window.document.currentStyle?function(e,t){return e.currentStyle[t]}:function(e,t){return getComputedStyle(e,!1)[t]}}();r.onmousedown=function(e){var t=e.clientX-r.offsetLeft,s=e.clientY-r.offsetTop,a=i.offsetWidth,l=i.offsetHeight,c=document.body.clientWidth,u=document.body.clientHeight,d=i.offsetLeft,h=c-i.offsetLeft-a,p=i.offsetTop,f=u-i.offsetTop-l,m=o(i,"left"),A=o(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 r=e.clientX-t,o=e.clientY-s;-r>d?r=-d:r>h&&(r=h),-o>p?o=-p:o>f&&(o=f),i.style.cssText+=";left:".concat(r+m,"px;top:").concat(o+A,"px;"),n.child.$emit("dragDialog")},document.onmouseup=function(e){document.onmousemove=null,document.onmouseup=null}}}},i=function(e){e.directive("el-drag-dialog",r)};window.Vue&&(window["el-drag-dialog"]=r,Vue.use(i)),r.install=i;t["a"]=r},a8f0:function(e,t,n){var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),o(i,s),s.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},a952:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return A})),n.d(t,"f",(function(){return g}));n("d9e2"),n("14d9"),n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3");var r=n("d852"),i=n("81ea"),o=n("7b9c");const s=0,a=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 n=Array.isArray(e),i=t===h;let o=s;if(n){const t=e[0];if(0===e.length)o=a;else if(i&&t instanceof r["a"])o=c;else if(i&&Array.isArray(t))o=f(t,p);else if(e.length>=2&&e.length<=4){const t=!e.some((e,t)=>!d[t].includes(typeof e));t&&(o=l)}}return o}function m(e){let{createCellCoords:t,createCellRange:n,keepDirection:r=!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(s){const a=e===c;let l=a?s.from.row:s[0],u=a?s.from.col:s[1],d=a?s.to.row:s[2],h=a?s.to.col:s[3];if("function"===typeof i&&("string"===typeof u&&(u=i(u)),"string"===typeof h&&(h=i(h))),Object(o["isUndefined"])(d)&&(d=l),Object(o["isUndefined"])(h)&&(h=u),!r){const e=l,t=u,n=d,r=h;l=Math.min(e,n),u=Math.min(t,r),d=Math.max(e,n),h=Math.max(t,r)}const p=t(l,u),f=t(d,h);return n(p,p,f)}}function A(e){const t=f(e.getSelected());if(t===s||t===a)return[];const n=m(t,{createCellCoords:e._createCellCoords.bind(e),createCellRange:e._createCellRange.bind(e)}),r=new Set;Object(i["arrayEach"])(e.getSelected(),e=>{const{from:t,to:o}=n(e),s=Math.max(t.col,0),a=o.col-s+1;Object(i["arrayEach"])(Array.from(new Array(a),(e,t)=>s+t),e=>{r.has(e)||r.add(e)})});const o=Array.from(r).sort((e,t)=>e-t),l=Object(i["arrayReduce"])(o,(e,t,n,r)=>(0!==n&&t===r[n-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===s||t===a)return[];const n=m(t,{createCellCoords:e._createCellCoords.bind(e),createCellRange:e._createCellRange.bind(e)}),r=new Set;Object(i["arrayEach"])(e.getSelected(),e=>{const{from:t,to:o}=n(e),s=Math.max(t.row,0),a=o.row-s+1;Object(i["arrayEach"])(Array.from(new Array(a),(e,t)=>s+t),e=>{r.has(e)||r.add(e)})});const o=Array.from(r).sort((e,t)=>e-t),l=Object(i["arrayReduce"])(o,(e,t,n,r)=>(0!==n&&t===r[n-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e),[]);return l}},a958:function(e,t,n){"use strict";var r=n("399f"),i=n("11dc"),o=n("8707").Buffer;function s(e){var t,n=e.modulus.byteLength();do{t=new r(i(n))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e){var t=s(e),n=t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed();return{blinder:n,unblinder:t.invm(e.modulus)}}function l(e,t){var n=a(t),i=t.modulus.byteLength(),s=new r(e).mul(n.blinder).umod(t.modulus),l=s.toRed(r.mont(t.prime1)),c=s.toRed(r.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(n.unblinder).umod(t.modulus).toArrayLike(o,"be",i)}l.getr=s,e.exports=l},a9f1:function(e,t,n){(function(e){t.fetch=a(e.fetch)&&a(e.ReadableStream),t.writableStream=a(e.WritableStream),t.abortController=a(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(l){}var n;function r(){if(void 0!==n)return n;if(e.XMLHttpRequest){n=new e.XMLHttpRequest;try{n.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(l){n=null}}else n=null;return n}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(l){}return!1}var o="undefined"!==typeof e.ArrayBuffer,s=o&&a(e.ArrayBuffer.prototype.slice);function a(e){return"function"===typeof e}t.arraybuffer=t.fetch||o&&i("arraybuffer"),t.msstream=!t.fetch&&s&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&a(r().overrideMimeType),t.vbArray=a(e.VBArray),n=null}).call(this,n("c8ba"))},aa56:function(e,t,n){"use strict";var r=n("c3c0"),i=r.rotr32;function o(e,t,n,r){return 0===e?s(t,n,r):1===e||3===e?l(t,n,r):2===e?a(t,n,r):void 0}function s(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function l(e,t,n){return e^t^n}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=o,t.ch32=s,t.maj32=a,t.p32=l,t.s0_256=c,t.s1_256=u,t.g0_256=d,t.g1_256=h},aa6e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},aaf2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  537. //! moment.js locale configuration
  538. function t(e,t,n,r){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 r?i[n][0]:i[n][1]}var n=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,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n}))},abe7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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(n=>e.call(t,n,n,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=r},acd5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("1fa5"),o=n("9688");class s 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&&o.traversal_filter(this,e)===r.FilterResult.Accept)return this._current=e,e;return null}firstChild(){return o.treeWalker_traverseChildren(this,!0)}lastChild(){return o.treeWalker_traverseChildren(this,!1)}nextSibling(){return o.treeWalker_traverseSiblings(this,!0)}previousNode(){let e=this._current;while(e!==this._root){let t=e._previousSibling;while(t){e=t;let n=o.traversal_filter(this,e);while(n!==r.FilterResult.Reject&&e._lastChild)e=e._lastChild,n=o.traversal_filter(this,e);if(n===r.FilterResult.Accept)return this._current=e,e;t=e._previousSibling}if(e===this._root||null===e._parent)return null;if(e=e._parent,o.traversal_filter(this,e)===r.FilterResult.Accept)return this._current=e,e}return null}previousSibling(){return o.treeWalker_traverseSiblings(this,!1)}nextNode(){let e=this._current,t=r.FilterResult.Accept;while(1){while(t!==r.FilterResult.Reject&&e._firstChild)if(e=e._firstChild,t=o.traversal_filter(this,e),t===r.FilterResult.Accept)return this._current=e,e;let n=null,i=e;while(null!==i){if(i===this._root)return null;if(n=i._nextSibling,null!==n){e=n;break}i=i._parent}if(t=o.traversal_filter(this,e),t===r.FilterResult.Accept)return this._current=e,e}}static _create(e,t){return new s(e,t)}}t.TreeWalkerImpl=s},ad25:function(e,t,n){var r=n("2aee"),i=n("11dc"),o=n("98e6"),s=n("f460"),a=n("83d5"),l=n("0106"),c=n("5291"),u=n("a958"),d=n("8707").Buffer;function h(e,t){var n=e.modulus.byteLength(),r=t.length,c=o("sha1").update(d.alloc(0)).digest(),u=c.length,h=2*u;if(r>n-h-2)throw new Error("message too long");var p=d.alloc(n-r-h-2),f=n-u-1,m=i(u),A=a(d.concat([c,p,d.alloc(1,1),t],f),s(m,f)),g=a(m,s(A,u));return new l(d.concat([d.alloc(1),g,A],n))}function p(e,t,n){var r,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");return r=n?d.alloc(o-i-3,255):f(o-i-3),new l(d.concat([d.from([0,n?1:2]),r,d.alloc(1),t],o))}function f(e){var t,n=d.allocUnsafe(e),r=0,o=i(2*e),s=0;while(r<e)s===o.length&&(o=i(2*e),s=0),t=o[s++],t&&(n[r++]=t);return n}e.exports=function(e,t,n){var i;i=e.padding?e.padding:n?1:4;var o,s=r(e);if(4===i)o=h(s,t);else if(1===i)o=p(s,t,n);else{if(3!==i)throw new Error("unknown padding");if(o=new l(t),o.cmp(s.modulus)>=0)throw new Error("data too long for modulus")}return n?u(o,s):c(o,s)}},ad71:function(e,t,n){"use strict";(function(t,r){var i=n("966d");e.exports=y;var o,s=n("d8db");y.ReadableState=w;n("faa1").EventEmitter;var a=function(e,t){return e.listeners(t).length},l=n("429b"),c=n("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(n("3a7c"));p.inherits=n("3fb5");var f=n(3),m=void 0;m=f&&f.debuglog?f.debuglog("stream"):function(){};var A,g=n("5e1a"),_=n("4681");p.inherits(y,l);var b=["error","close","destroy","pause","resume"];function v(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function w(e,t){o=o||n("b19a"),e=e||{};var r=t instanceof o;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(s||0===s)?s:a,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=n("7d72").StringDecoder),this.decoder=new A(e.encoding),this.encoding=e.encoding)}function y(e){if(o=o||n("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 R(e,t,n,r,i){var o,s=e._readableState;null===t?(s.reading=!1,x(e,s)):(i||(o=S(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=d(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):M(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?M(e,s,t,!1):I(e,s)):M(e,s,t,!1))):r||(s.reading=!1));return E(s)}function M(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&N(e)),I(e,t)}function S(e,t){var n;return h(t)||"string"===typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function E(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 n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof e&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=c.from(e,t),t=""),n=!0),R(this,e,t,!1,n)},y.prototype.unshift=function(e){return R(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return A||(A=n("7d72").StringDecoder),this._readableState.decoder=new A(e),this._readableState.encoding=e,this};var T=8388608;function C(e){return e>=T?e=T:(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=C(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,N(e)}}function N(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"),U(e)}function I(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(P,e,t))}function P(e,t){var n=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){if(m("maybeReadMore read 0"),e.read(0),n===t.length)break;n=t.length}t.readingMore=!1}function D(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,U(e))}}function F(e){m("readable nexttick read 0"),e.read(0)}function k(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(B,e,t))}function B(e,t){t.reading||(m("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),U(e),t.flowing&&!t.reading&&e.read(0)}function U(e){var t=e._readableState;m("flow",t.flowing);while(t.flowing&&null!==e.read());}function H(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=j(e,t.buffer,t.decoder),n);var n}function j(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?V(e,t):W(e,t),r}function V(e,t){var n=t.head,r=1,i=n.data;e-=i.length;while(n=n.next){var o=n.data,s=e>o.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),e-=s,0===e){s===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++r}return t.length-=r,i}function W(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;while(r=r.next){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),e-=s,0===e){s===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++i}return t.length-=i,n}function Y(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 X(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}y.prototype.read=function(e){m("read",e),e=parseInt(e,10);var t=this._readableState,n=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?Y(this):N(this),null;if(e=O(e,t),0===e&&t.ended)return 0===t.length&&Y(this),null;var r,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(n,t))),r=e>0?H(e,t):null,null===r?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Y(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e);break}o.pipesCount+=1,m("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,l=s?u:w;function c(e,t){m("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function u(){m("onend"),e.end()}o.endEmitted?i.nextTick(l):n.once("end",l),e.on("unpipe",c);var d=D(n);e.on("drain",d);var h=!1;function p(){m("cleanup"),e.removeListener("close",_),e.removeListener("finish",b),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",w),n.removeListener("data",A),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||d()}var f=!1;function A(t){m("ondata"),f=!1;var r=e.write(t);!1!==r||f||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==X(o.pipes,e))&&!h&&(m("false write response, pause",o.awaitDrain),o.awaitDrain++,f=!0),n.pause())}function g(t){m("onerror",t),w(),e.removeListener("error",g),0===a(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",b),w()}function b(){m("onfinish"),e.removeListener("close",_),w()}function w(){m("unpipe"),n.unpipe(e)}return n.on("data",A),v(e,"error",g),e.once("close",_),e.once("finish",b),e.emit("pipe",n),o.flowing||(m("pipe resume"),n.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,n={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,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=X(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},y.prototype.on=function(e,t){var n=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&N(this):i.nextTick(F,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(m("resume"),e.flowing=!0,k(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,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(m("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(m("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!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 o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){m("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=H}).call(this,n("c8ba"),n("4362"))},ad99:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("a32f"),o=n("fea4"),s=n("0fc1"),a=n("a45a"),l=n("9688");class c{constructor(e){this.level=0,this._builderOptions=e}docType(e,t,n){}comment(e){}text(e){}instruction(e,t){}cdata(e){}openTagBegin(e){}openTagEnd(e,t,n){}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,n){const r=void 0!==e._nodeDocument&&e._nodeDocument._hasNamespaces;if(this.level=0,this.currentNode=e,r){let r=null;const l=new o.NamespacePrefixMap;l.set("xml",a.namespace.XML);const c={value:1};try{this._serializeNodeNS(e,r,l,c,t,n)}catch(i){throw new s.InvalidStateError(i.message)}}else try{this._serializeNode(e,t,n)}catch(i){throw new s.InvalidStateError(i.message)}}_serializeNodeNS(e,t,n,i,o,s){switch(this.currentNode=e,e.nodeType){case r.NodeType.Element:this._serializeElementNS(e,t,n,i,o,s);break;case r.NodeType.Document:this._serializeDocumentNS(e,t,n,i,o,s);break;case r.NodeType.Comment:this._serializeComment(e,o,s);break;case r.NodeType.Text:this._serializeText(e,o,s);break;case r.NodeType.DocumentFragment:this._serializeDocumentFragmentNS(e,t,n,i,o,s);break;case r.NodeType.DocumentType:this._serializeDocumentType(e,o,s);break;case r.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,o,s);break;case r.NodeType.CData:this._serializeCData(e,o,s);break;default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeNode(e,t,n){switch(this.currentNode=e,e.nodeType){case r.NodeType.Element:this._serializeElement(e,t,n);break;case r.NodeType.Document:this._serializeDocument(e,t,n);break;case r.NodeType.Comment:this._serializeComment(e,t,n);break;case r.NodeType.Text:this._serializeText(e,t,n);break;case r.NodeType.DocumentFragment:this._serializeDocumentFragment(e,t,n);break;case r.NodeType.DocumentType:this._serializeDocumentType(e,t,n);break;case r.NodeType.ProcessingInstruction:this._serializeProcessingInstruction(e,t,n);break;case r.NodeType.CData:this._serializeCData(e,t,n);break;default:throw new Error("Unknown node type: "+e.nodeType)}}_serializeElementNS(e,t,n,r,i,o){const s=[];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=n.copy(),f={},m=this._recordNamespaceInformation(e,p,f),A=t,g=e.namespaceURI;if(A===g)null!==m&&(h=!0),u=g===a.namespace.XML?"xml:"+e.localName:e.localName,this.beginElement(u),this.openTagBegin(u);else{let t=e.prefix,n=null;if(null===t&&g===m||(n=p.get(t,g)),"xmlns"===t){if(i)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");n=t}null!==n?(u=n+":"+e.localName,null!==m&&m!==a.namespace.XML&&(A=m||null),this.beginElement(u),this.openTagBegin(u)):null!==t?(t in f&&(t=this._generatePrefix(g,p,r)),p.set(t,g),u+=t+":"+e.localName,this.beginElement(u),this.openTagBegin(u),s.push([null,"xmlns",t,this._serializeAttributeValue(g,i,o)]),null!==m&&(A=m||null)):null===m||null!==m&&m!==g?(h=!0,u+=e.localName,A=g,this.beginElement(u),this.openTagBegin(u),s.push([null,null,"xmlns",this._serializeAttributeValue(g,i,o)])):(u+=e.localName,A=g,this.beginElement(u),this.openTagBegin(u))}s.push(...this._serializeAttributesNS(e,p,r,f,h,i,o)),this.attributes(s);const _=g===a.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,r,i,o),this.level--;this.closeTag(u),this.endElement(u)}}_serializeElement(e,t,n){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 i=e.localName;this.beginElement(i),this.openTagBegin(i);const o=this._serializeAttributes(e,t,n);if(this.attributes(o),e.hasChildNodes()?this.openTagEnd(i,!1,!1):(this.openTagEnd(i,!0,!1),this.endElement(i),r=!0),!r){for(const r of e._children)this.level++,this._serializeNode(r,t,n),this.level--;this.closeTag(i),this.endElement(i)}}_serializeDocumentNS(e,t,n,r,i,o){if(i&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");for(const s of e.childNodes)this._serializeNodeNS(s,t,n,r,i,o)}_serializeDocument(e,t,n){if(t&&null===e.documentElement)throw new Error("Missing document element (well-formed required).");for(const r of e._children)this._serializeNode(r,t,n)}_serializeComment(e,t,n){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,n){if(t&&!l.xml_isLegalChar(e.data))throw new Error("Text data contains invalid characters (well-formed required).");let r="";if(n)r=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];r+="&"===t?"&amp;":"<"===t?"&lt;":">"===t?"&gt;":t}this.text(r)}_serializeDocumentFragmentNS(e,t,n,r,i,o){for(const s of e.childNodes)this._serializeNodeNS(s,t,n,r,i,o)}_serializeDocumentFragment(e,t,n){for(const r of e._children)this._serializeNode(r,t,n)}_serializeDocumentType(e,t,n){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,n){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,n){if(t&&-1!==e.data.indexOf("]]>"))throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(e.data)}_serializeAttributesNS(e,t,n,r,o,s,c){const u=[],d=s?new i.LocalNameSet:void 0;for(const i of e.attributes){if(!s&&!o&&null===i.namespaceURI){u.push([null,null,i.localName,this._serializeAttributeValue(i.value,s,c)]);continue}if(s&&d&&d.has(i.namespaceURI,i.localName))throw new Error("Element contains duplicate attributes (well-formed required).");s&&d&&d.set(i.namespaceURI,i.localName);let e=i.namespaceURI,h=null;if(null!==e)if(h=t.get(i.prefix,e),e===a.namespace.XMLNS){if(i.value===a.namespace.XML||null===i.prefix&&o||null!==i.prefix&&(!(i.localName in r)||r[i.localName]!==i.value)&&t.has(i.localName,i.value))continue;if(s&&i.value===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(s&&""===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,n):i.prefix,u.push([null,"xmlns",h,this._serializeAttributeValue(e,s,c)]));let p="";if(null!==h&&(p=h),s&&(-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,s,c)])}return u}_serializeAttributes(e,t,n){const r=[],i=t?{}:void 0;for(const o of e.attributes)if(t){if(t&&i&&o.localName in i)throw new Error("Element contains duplicate attributes (well-formed required).");if(t&&i&&(i[o.localName]=!0),t&&(-1!==o.localName.indexOf(":")||!l.xml_isName(o.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");r.push([null,null,o.localName,this._serializeAttributeValue(o.value,t,n)])}else r.push([null,null,o.localName,this._serializeAttributeValue(o.value,t,n)]);return r}_recordNamespaceInformation(e,t,n){let r=null;for(const i of e.attributes){let e=i.namespaceURI,o=i.prefix;if(e===a.namespace.XMLNS){if(null===o){r=i.value;continue}{let e=i.localName,r=i.value;if(r===a.namespace.XML)continue;if(""===r&&(r=null),t.has(e,r))continue;t.set(e,r),n[e]=r||""}}}return r}_generatePrefix(e,t,n){const r="ns"+n.value.toString();return n.value++,t.set(r,e),r}_serializeAttributeValue(e,t,n){if(t&&null!==e&&!l.xml_isLegalChar(e))throw new Error("Invalid characters in attribute value.");if(null===e)return"";if(n)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 n=0;n<e.length;n++){const r=e[n];t+='"'===r?"&quot;":"&"===r?"&amp;":"<"===r?"&lt;":">"===r?"&gt;":r}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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  539. //! moment.js locale configuration
  540. function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,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:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){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 o}))},addb:function(e,t,n){"use strict";var r=n("f36a"),i=Math.floor,o=function(e,t){var n=e.length;if(n<8){var s,a,l=1;while(l<n){a=l,s=e[l];while(a&&t(e[a-1],s)>0)e[a]=e[--a];a!==l++&&(e[a]=s)}}else{var c=i(n/2),u=o(r(e,0,c),t),d=o(r(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=o},ade0:function(e,t,n){var r=n("7797").decode,i=1,o=2,s=8,a=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|s,allowTransparency:i,alt:null,async:s,autoComplete:null,autoFocus:s,autoPlay:s,capture:i|s,cellPadding:null,cellSpacing:null,charSet:i,challenge:i,checked:o|s,classID:i,className:i,cols:i|l,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:o|s,coords:null,crossOrigin:null,data:null,dateTime:i,defer:s,dir:null,disabled:i|s,download:c,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:s,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|s,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:o,is:i,keyParams:i,keyType:i,label:null,lang:null,list:i,loop:o|s,low:null,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,minLength:i,multiple:o|s,muted:o|s,name:null,noValidate:s,open:s,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:o|s,rel:null,required:s,role:i,rows:i|l,rowSpan:null,sandbox:null,scope:null,scoped:s,scrolling:null,seamless:i|s,selected:o|s,shape:null,size:i|l,sizes:i,span:l,spellCheck:null,src:null,srcDoc:o,srcSet:i,start:a,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:o,width:i,wmode:i,autoCapitalize:null,autoCorrect:null,itemProp:i,itemScope:i|s,itemType:i,itemID:i,itemRef:i,property:null,unselectable:i}},p=function(e){var t=e.split(";"),n=t.reduce((function(e,t){var n=t.split(/:(.+)/);return n[0]&&n[1]&&(e[n[0].trim()]=n[1].trim()),e}),{});return n},f={className:"class",htmlFor:"for",httpEquiv:"http-equiv",acceptCharset:"accept-charset"},m={style:p,placeholder:r,title:r,alt:r},A=function(){var e={};return Object.keys(h.Properties).forEach((function(t){var n=h.Properties[t],r=f[t]||t.toLowerCase(),d={attributeName:r,propertyName:t,mustUseAttribute:u(n,i),mustUseProperty:u(n,o),hasBooleanValue:u(n,s),hasNumericValue:u(n,a),hasPositiveNumericValue:u(n,l),hasOverloadedBooleanValue:u(n,c)};e[r]=d})),function(t){return e[t]}}(),g=function(e){var t=e.attribs,n={attributes:{}};return Object.keys(t).forEach((function(e){var r=e.toLowerCase(),i=A(r),o=t[e];if(!d(e)&&i){var s,a=m[i.propertyName];if(a&&(o=a(o)),i.mustUseAttribute)i.hasBooleanValue?n.attributes[i.attributeName]="":n.attributes[i.attributeName]=o;else i.hasBooleanValue?(s=""===o||o.toLowerCase()===i.attributeName,n[i.propertyName]=!!s):i.hasOverloadedBooleanValue?(s=""===o,n[i.propertyName]=!!s||o):i.hasNumericValue||i.hasPositiveNumericValue?n[i.propertyName]=Number(o):n[i.propertyName]=o}else n.attributes[e]=o})),n};e.exports=g},ae84:function(e,t,n){var r=n("8707").Buffer,i=n("f576");function o(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");var s=n/8,a=r.alloc(s),l=r.alloc(o||0),c=r.alloc(0);while(s>0||o>0){var u=new i;u.update(c),u.update(e),t&&u.update(t),c=u.digest();var d=0;if(s>0){var h=a.length-s;d=Math.min(s,c.length),c.copy(a,h,0,d),s-=d}if(d<c.length&&o>0){var p=l.length-o,f=Math.min(o,c.length-d);c.copy(l,p,d,d+f),o-=f}}return c.fill(0),{key:a,iv:l}}e.exports=o},aed6:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ut})),n.d(t,"b",(function(){return Ht})),n.d(t,"c",(function(){return he})),n.d(t,"d",(function(){return Pn})),n.d(t,"e",(function(){return nt})),n.d(t,"f",(function(){return $e})),n.d(t,"g",(function(){return T})),n.d(t,"h",(function(){return ps})),n.d(t,"i",(function(){return j})),(()=>{(function(){try{if("undefined"!=typeof document){var e=document.createElement("style");e.id="canvas-editor-style",e.appendChild(document.createTextNode('.ce-select-control-popup{max-width:160px;min-width:69px;max-height:225px;position:absolute;z-index:1;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px #0000001a;box-sizing:border-box;margin:5px 0;overflow-y:auto}.ce-select-control-popup ul{list-style:none;padding:3px 0;margin:0;box-sizing:border-box}.ce-select-control-popup ul li{font-size:13px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#666;height:36px;line-height:36px;box-sizing:border-box;cursor:pointer}.ce-select-control-popup ul li:hover{background-color:#eef2fd}.ce-select-control-popup ul li.active{color:var(--COLOR-HOVER, #5175f4);font-weight:700}.ce-date-container{display:none;width:300px;overflow:hidden;left:0;right:0;position:absolute;z-index:1;color:#606266;background:#ffffff;border-radius:4px;padding:10px;user-select:none;border:1px solid #e4e7ed;box-shadow:0 2px 12px #0000001a}.ce-date-container.active{display:block}.ce-date-wrap{display:none}.ce-date-wrap.active{display:block}.ce-date-title{display:flex;justify-content:center;align-items:center;text-align:center;color:#606266;font-size:16px}.ce-date-title>span{display:inline-block}.ce-date-title>span:not(.ce-date-title__now){font-family:cursive;cursor:pointer}.ce-date-title>span:not(.ce-date-title__now):hover{color:#5175f4}.ce-date-title .ce-date-title__pre-year,.ce-date-title .ce-date-title__pre-month{width:15%}.ce-date-title .ce-date-title__now{width:40%}.ce-date-title .ce-date-title__next-year,.ce-date-title .ce-date-title__next-month{width:15%}.ce-date-week{width:100%;display:flex;justify-content:center;margin-top:15px;padding-bottom:5px;border-bottom:1px solid #e4e7ed}.ce-date-week>span{list-style:none;width:14.28571%;text-align:center;color:#606266;font-size:14px}.ce-date-day{width:100%;display:flex;flex-wrap:wrap;align-items:center;margin-top:5px}.ce-date-day>div{width:14.28571%;height:40px;text-align:center;color:#606266;font-size:14px;cursor:pointer;line-height:40px;border-radius:4px}.ce-date-day>div:hover{color:#5175f4;opacity:.8}.ce-date-day>div.active{color:#5175f4;font-weight:700}.ce-date-day>div.disable{color:#c0c4cc}.ce-date-day>div.select{color:#fff;background-color:#5175f4}.ce-time-wrap{display:none;padding:10px;height:286px}.ce-time-wrap ::-webkit-scrollbar{width:0}.ce-time-wrap.active{display:flex}.ce-time-wrap li{list-style:none}.ce-time-wrap>li{width:33.3%;height:100%;text-align:center}.ce-time-wrap>li>span{transform:translateY(-5px);display:inline-block}.ce-time-wrap>li>ol{height:calc(100% - 20px);overflow-y:auto;border:1px solid #e2e2e2;position:relative}.ce-time-wrap>li:first-child>ol{border-right:0}.ce-time-wrap>li:last-child>ol{border-left:0}.ce-time-wrap>li>ol>li{line-height:30px;cursor:pointer;transition:all .3s}.ce-time-wrap>li>ol>li:hover{background-color:#eaeaea}.ce-time-wrap>li>ol>li.active{color:#fff;background:#5175F4}.ce-date-menu{width:100%;height:28px;display:flex;justify-content:flex-end;align-items:center;padding-top:10px;position:relative;border-top:1px solid #e4e7ed}.ce-date-menu button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;appearance:none;text-align:center;box-sizing:border-box;outline:none;transition:.1s;font-weight:500;user-select:none;padding:7px 15px;font-size:12px;border-radius:3px;margin:0 0 0 10px}.ce-date-menu button:hover{color:#5175f4;border-color:#5175f4}.ce-date-menu button.ce-date-menu__time{border:1px solid transparent;position:absolute;left:0;margin-left:0}.ce-date-menu button.ce-date-menu__time:hover{color:#5175f4}.ce-block-item{position:absolute;z-index:0;overflow:hidden;border-radius:8px;background-color:#fff;border:1px solid rgb(235 236 240)}.ce-table-tool__row{position:absolute;width:12px;border-radius:6.5px;overflow:hidden;background-color:#e2e6ed}.ce-table-tool__row .ce-table-tool__row__item{width:100%;position:relative;cursor:pointer;transition:all .3s}.ce-table-tool__row .ce-table-tool__row__item:after{content:"";position:absolute;bottom:0;left:2px;width:8px;height:1px;background-color:#c0c6cf}.ce-table-tool__row .ce-table-tool__row__item:hover{background-color:#dadce0}.ce-table-tool__row .ce-table-tool__row__item:last-child:after{display:none}.ce-table-tool__quick__add{width:16px;height:16px;position:absolute;border-radius:50%;background-color:#e2e6ed;cursor:pointer}.ce-table-tool__quick__add:after{content:"+";color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-55%)}.ce-table-tool__select{width:16px;height:18px;position:absolute;border-radius:3px;cursor:pointer}.ce-table-tool__select:hover{background-color:#e2e6ed}.ce-table-tool__select:after{content:":::";color:#aaaaab;position:absolute;top:50%;left:50%;transform:translate(-75%,-50%) rotate(-90deg)}.ce-table-tool__col{position:absolute;height:12px;border-radius:6.5px;overflow:hidden;background-color:#e2e6ed;display:flex}.ce-table-tool__col .ce-table-tool__col__item{height:100%;position:relative;cursor:pointer;transition:all .3s}.ce-table-tool__col .ce-table-tool__col__item:after{content:"";position:absolute;top:2px;left:-1px;width:1px;height:8px;z-index:1;background-color:#c0c6cf}.ce-table-tool__col .ce-table-tool__col__item:hover{background-color:#dadce0}.ce-table-tool__col .ce-table-tool__col__item:first-child:after{display:none}.ce-table-tool__row .ce-table-tool__row__item.active,.ce-table-tool__col .ce-table-tool__col__item.active{background-color:#c4d7fa}.ce-table-tool__col .ce-table-tool__anchor{right:-5px;width:10px;height:12px;z-index:9;position:absolute;cursor:col-resize}.ce-table-tool__row .ce-table-tool__anchor{bottom:-5px;left:0;width:12px;height:10px;z-index:9;position:absolute;cursor:row-resize}.ce-table-anchor__line{z-index:9;position:absolute;border:1px dotted #000000}.ce-table-tool__border{position:absolute;z-index:1;background:transparent;pointer-events:none}.ce-table-tool__border__row{position:absolute;cursor:row-resize;pointer-events:auto}.ce-table-tool__border__col{position:absolute;cursor:col-resize;pointer-events:auto}.ce-resizer-selection{position:absolute;border:1px solid;pointer-events:none}.ce-resizer-selection .resizer-handle{position:absolute;z-index:9;width:10px;height:10px;box-shadow:0 1px 4px #0000004d;border-radius:5px;border:2px solid #ffffff;box-sizing:border-box;pointer-events:initial}.ce-resizer-selection .handle-0{cursor:nw-resize}.ce-resizer-selection .handle-1{cursor:n-resize}.ce-resizer-selection .handle-2{cursor:ne-resize}.ce-resizer-selection .handle-3{cursor:e-resize}.ce-resizer-selection .handle-4{cursor:se-resize}.ce-resizer-selection .handle-5{cursor:s-resize}.ce-resizer-selection .handle-6{cursor:sw-resize}.ce-resizer-selection .handle-7{cursor:w-resize}.ce-resizer-size-view{display:flex;align-items:center;height:20px;white-space:nowrap;position:absolute;z-index:9;top:-30px;left:0;opacity:.9;background-color:#000;padding:0 5px;border-radius:4px}.ce-resizer-size-view span{color:#fff;font-size:12px}.ce-resizer-image{position:absolute;opacity:.5}.ce-image-previewer{position:fixed;left:0;top:0;z-index:1000;width:100%;height:100%;overflow:hidden;background:#f2f4f7;display:flex;align-items:center;justify-content:center;animation:previewerAnimation .3s}@keyframes previewerAnimation{0%{opacity:.1}to{opacity:1}}.ce-image-previewer .image-close{width:24px;height:24px;display:inline-block;position:absolute;right:50px;top:30px;z-index:99;cursor:pointer;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIzLjk3IDdsMS40MTUgMS40MTQtNy43NzkgNy43NzggNy43NzkgNy43NzktMS40MTQgMS40MTQtNy43NzktNy43NzktNy43NzggNy43NzlMNyAyMy45N2w3Ljc3OC03Ljc3OUw3IDguNDE0IDguNDE0IDdsNy43NzggNy43NzhMMjMuOTcxIDd6IiBmaWxsPSIjM0Q0NzU3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=) no-repeat;background-size:100% 100%;transition:all .3s;border-radius:50%}.ce-image-previewer .image-close:hover{background-color:#e2e6ed}.ce-image-previewer .ce-image-container{position:relative}.ce-image-previewer .ce-image-container img{cursor:move;position:relative}.ce-image-previewer .ce-image-menu{height:50px;position:absolute;bottom:50px;z-index:99;display:flex;align-items:center;justify-content:center}.ce-image-previewer .ce-image-menu i{width:32px;height:32px;margin:0 8px;cursor:pointer;display:inline-block;background-repeat:no-repeat;background-size:100% 100%;transition:all .3s;border-radius:50%}.ce-image-previewer .ce-image-menu i:hover{background-color:#e2e6ed}.ce-image-previewer .ce-image-menu i.zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0IDE0di00aDJ2NGg0djJoLTR2NGgtMnYtNGgtNHYtMmg0em04Ljc0OSAxMC4xNjNBMTEuOTUyIDExLjk1MiAwIDAxMTUgMjdDOC4zNzMgMjcgMyAyMS42MjcgMyAxNVM4LjM3MyAzIDE1IDNzMTIgNS4zNzMgMTIgMTJjMCAyLjk1NC0xLjA2NyA1LjY1OC0yLjgzNyA3Ljc0OWw0LjkwOCA0LjkwOC0xLjQxNCAxLjQxNC00LjkwOC00LjkwOHpNMTUgMjVjNS41MjMgMCAxMC00LjQ3NyAxMC0xMFMyMC41MjMgNSAxNSA1IDUgOS40NzcgNSAxNXM0LjQ3NyAxMCAxMCAxMHoiIGZpbGw9IiMzRDQ3NTciLz48L3N2Zz4=)}.ce-image-previewer .ce-image-menu i.zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIyLjc0OSAyNC4xNjNBMTEuOTUyIDExLjk1MiAwIDAxMTUgMjdDOC4zNzMgMjcgMyAyMS42MjcgMyAxNVM4LjM3MyAzIDE1IDNzMTIgNS4zNzMgMTIgMTJjMCAyLjk1NC0xLjA2NyA1LjY1OC0yLjgzNyA3Ljc0OWw0LjkwOCA0LjkwOC0xLjQxNCAxLjQxNC00LjkwOC00LjkwOHpNMTUgMjVjNS41MjMgMCAxMC00LjQ3NyAxMC0xMFMyMC41MjMgNSAxNSA1IDUgOS40NzcgNSAxNXM0LjQ3NyAxMCAxMCAxMHptLTUtMTFoMTB2MkgxMHYtMnoiIGZpbGw9IiMzRDQ3NTciLz48L3N2Zz4=)}.ce-image-previewer .ce-image-menu i.rotate{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzNENDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTYgNGM2LjYyNyAwIDEyIDUuMzczIDEyIDEyYTExLjk3IDExLjk3IDAgMDEtNCA4Ljk0NFYyM2gtLjg2QTkuOTY4IDkuOTY4IDAgMDAyNiAxNmMwLTUuNTIzLTQuNDc3LTEwLTEwLTEwUzYgMTAuNDc3IDYgMTZjMCA1LjE4NSAzLjk0NyA5LjQ0OSA5IDkuOTV2Mi4wMDlDOC44NCAyNy40NTEgNCAyMi4yOTEgNCAxNiA0IDkuMzczIDkuMzczIDQgMTYgNHoiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik0xOS44NzkgMjcuMzI4bDEuNzY3LTYuNzE3IDQuOTUgNC45NXoiLz48L2c+PC9zdmc+)}.ce-image-previewer .ce-image-menu i.original-size{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQgNGgyNHYyNEg0VjR6bTIgMnYyMGgyMFY2SDZ6bTQgNWgydjEwaC0yVjExem01IDJoMnYyaC0ydi0yem0wIDRoMnYyaC0ydi0yem01LTZoMnYxMGgtMlYxMXoiIGZpbGw9IiMzRDQ3NTciLz48L3N2Zz4=)}.ce-image-previewer .ce-image-menu i.image-download{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuNSAxNXYzLjVoMTVWMTVIMjF2NUgzdi01aDEuNXptOC4yMzItMTEuMjI2djkuMTk2bDQuMDUtNC4wNSAxLjA2IDEuMDYtNS44MzQgNS44MzQtNS44MzMtNS44MzMgMS4wNi0xLjA2IDMuOTk4IDMuOTk2VjMuNzc0aDEuNXoiIGZpbGw9IiMzRDQ3NTciLz48L3N2Zz4=)}.ce-contextmenu-container{z-index:9;position:fixed;display:none;padding:4px;overflow-x:hidden;overflow-y:auto;background:#fff;box-shadow:0 2px 12px #38383833;border:1px solid #e2e6ed;border-radius:2px}.ce-contextmenu-content{display:flex;flex-direction:column}.ce-contextmenu-content .ce-contextmenu-sub-item:after{position:absolute;content:"";width:16px;height:16px;right:12px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMCAwaDE2djE2SDB6Ii8+PGcgZmlsbD0iIzc2N0M4NSI+PHBhdGggZD0iTTcgMTIuMjQzbC0uNzA3LS43MDcgNC4yNDMtNC4yNDMuNzA3LjcwN3oiLz48cGF0aCBkPSJNNi4yOTMgNC40NjRMNyAzLjc1NyAxMS4yNDMgOGwtLjcwNy43MDd6Ii8+PC9nPjwvZz48L3N2Zz4=)}.ce-contextmenu-content .ce-contextmenu-item{min-width:140px;padding:0 32px 0 16px;height:30px;display:flex;align-items:center;white-space:nowrap;box-sizing:border-box;cursor:pointer}.ce-contextmenu-content .ce-contextmenu-item.hover{background:rgba(25,55,88,.04)}.ce-contextmenu-content .ce-contextmenu-item span{max-width:300px;font-size:12px;color:#3d4757;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ce-contextmenu-content .ce-contextmenu-item span.ce-shortcut{color:#767c85;height:30px;flex:1;text-align:right;line-height:30px;margin-left:20px}.ce-contextmenu-content .ce-contextmenu-item i{width:16px;height:16px;vertical-align:middle;display:inline-block;background-repeat:no-repeat;background-size:100% 100%;flex-shrink:0;margin-right:8px}.ce-contextmenu-divider{background-color:#e2e6ed;margin:4px 16px;height:1px}.ce-contextmenu-print{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjM0Q0NzU3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiA0aC0xVjJINXYySDRWMmExIDEgMCAwMTEtMWg2YTEgMSAwIDAxMSAxdjJ6bTAgNXY0YTEgMSAwIDAxLTEgMUg1YTEgMSAwIDAxLTEtMVY5aDF2NGg2VjloMXoiLz48cGF0aCBkPSJNMTIgMTJ2LTFoMlY1SDJ2NmgydjFIMmExIDEgMCAwMS0xLTFWNWExIDEgMCAwMTEtMWgxMmExIDEgMCAwMTEgMXY2YTEgMSAwIDAxLTEgMWgtMnoiLz48cGF0aCBkPSJNMyA4aDEwdjFIM3ptOC0yaDJ2MWgtMnoiLz48L2c+PC9zdmc+)}.ce-contextmenu-image{background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSLlm77lsYJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3Qwe2ZpbGw6IzNkNDc1N308L3N0eWxlPjxnIGlkPSJfeDMwXzAt5YWs5YWxX3gyRl8wMuW3peWFt+agj194MkZf5o+S5YWl5Zu+54mHLTE2cHgtIj48ZyBpZD0iR3JvdXAtMTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiPjxwYXRoIGlkPSJDb21iaW5lZC1TaGFwZSIgY2xhc3M9InN0MCIgZD0iTTEgMGgxMmMuNiAwIDEgLjQgMSAxdjExYzAgLjYtLjQgMS0xIDFIMWMtLjYgMC0xLS40LTEtMVYxYzAtLjYuNC0xIDEtMXptMCAxdjExaDEyVjFIMXoiLz48Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGNsYXNzPSJzdDAiIGN4PSIxMCIgY3k9IjQiIHI9IjEiLz48cGF0aCBpZD0iUGF0aCIgY2xhc3M9InN0MCIgZD0iTTguNSAxMS4ybC00LTQuMUwxIDEwLjdWOS4yYzEuNy0xLjYgMi43LTIuNSAzLTIuOC40LS41LjctLjQgMSAwTDguNSAxMCAxMSA3LjNjLjQtLjUuNi0uNSAxLS4xbDIgMi44djEuNWwtMi41LTMuNC0zIDMuMXoiLz48L2c+PC9nPjwvc3ZnPg==)}.ce-contextmenu-image-change{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyIDQpIiBmaWxsPSIjM0Q0NzU3Ij48Y2lyY2xlIGZpbGwtcnVsZT0ibm9uemVybyIgY3g9IjMiIGN5PSIxIiByPSIxIi8+PHBhdGggZD0iTTcuNDczIDguMjIzTDMuNDcgNC4xMDcgMCA3LjY2N3YtMS41QzEuNzE1IDQuNiAyLjcwNyAzLjY2NCAyLjk3NSAzLjM1OGMuNDAyLS40NTcuNjUxLS4zOSAxLjA0MiAwTDcuNDczIDcgOS45NiA0LjM0OWMuNDE0LS40NjIuNjItLjQ2MiAxLjAxMS0uMDcxTDEzIDcuMDZ2MS41bC0yLjUxLTMuNDEtMy4wMTcgMy4wNzJ6Ii8+PC9nPjxwYXRoIGQ9Ik02IDEuNUgxLjV2MTJoMTN2LTRWMTNhLjUuNSAwIDAxLS41LjVIMmEuNS41IDAgMDEtLjUtLjVWMmEuNS41IDAgMDEuNS0uNWg0em04LjUgOFY2bC0uNS41aDFsLS41LS41djMuNXpNNiAxLjVoNEw5LjUgMXYxbC41LS41SDZ6IiBzdHJva2U9IiMzRDQ3NTciLz48cGF0aCBkPSJNMTMuMDg1IDEuMzE2bC0zLjgxNCA0YTEgMSAwIDAwMS40NTggMS4zNjhsMy44MTUtNGExIDEgMCAxMC0xLjQ1OS0xLjM2OHoiIGZpbGw9IiMzRDQ3NTciIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=)}.ce-contextmenu-insert-row-col{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBzdHJva2U9IiMzRDQ3NTciIGQ9Ik04LjUgNS41aDZ2NGgtNnoiLz48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNNCA3djFoMlY3em0tMyAuNUw0IDV2NXpNMSAxaDEydjFIMXptMCAxMmgxMnYxSDF6Ii8+PC9nPjwvc3ZnPg==)}.ce-contextmenu-insert-top-row{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNOCA1SDd2M2gxem0tLjUtM0wxMCA1SDV6Ii8+PHJlY3Qgc3Ryb2tlPSIjM0Q0NzU3IiB4PSIxLjUiIHk9IjEwLjUiIHdpZHRoPSIxMiIgaGVpZ2h0PSIzIiByeD0iMSIvPjwvZz48L3N2Zz4=)}.ce-contextmenu-insert-bottom-row{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNNyAxMWgxVjhIN3ptLjUgM0w1IDExaDV6Ii8+PHJlY3Qgc3Ryb2tlPSIjM0Q0NzU3IiB4PSIxLjUiIHk9IjIuNSIgd2lkdGg9IjEyIiBoZWlnaHQ9IjMiIHJ4PSIxIi8+PC9nPjwvc3ZnPg==)}.ce-contextmenu-insert-left-col{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNMTEgN3YxaDNWN3ptLTMgLjVMMTEgNXY1eiIvPjxyZWN0IHN0cm9rZT0iIzNENDc1NyIgdHJhbnNmb3JtPSJyb3RhdGUoOTAgNCA3LjUpIiB4PSItMiIgeT0iNiIgd2lkdGg9IjEyIiBoZWlnaHQ9IjMiIHJ4PSIxIi8+PC9nPjwvc3ZnPg==)}.ce-contextmenu-insert-right-col{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNNSA4VjdIMnYxem0zLS41TDUgMTBWNXoiLz48cmVjdCBzdHJva2U9IiMzRDQ3NTciIHRyYW5zZm9ybT0icm90YXRlKDkwIDEyIDcuNSkiIHg9IjYiIHk9IjYiIHdpZHRoPSIxMiIgaGVpZ2h0PSIzIiByeD0iMSIvPjwvZz48L3N2Zz4=)}.ce-contextmenu-delete-row-col{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBzdHJva2U9IiM5MjlBQTgiIGQ9Ik04LjUgNi41aDZ2MmgtNnoiLz48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNMiAxMmgxMXYxSDJ6TTIgMmgxMXYxSDJ6bS42MyAzTDcgOS4zNWwtLjYzNS42NUwyIDUuNjN6Ii8+PHBhdGggZmlsbD0iIzNENDc1NyIgZD0iTTIgOS4zNjNMNi4zNTUgNSA3IDUuNzA3IDIuNjk1IDEweiIvPjwvZz48L3N2Zz4=)}.ce-contextmenu-delete-row{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBzdHJva2U9IiM5MjlBQTgiIGQ9Ik04LjUgNS41aDZ2NGgtNnoiLz48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNMSAxM2gxMnYxSDF6TTEgMWgxMnYxSDF6bTAgNGgxdjFIMXptMSAxaDF2MUgyem0xIDFoMXYxSDN6bTEtMWgxdjFINHptMS0xaDF2MUg1ek00IDhoMXYxSDR6TTIgOGgxdjFIMnptMyAxaDF2MUg1ek0xIDloMXYxSDF6Ii8+PC9nPjwvc3ZnPg==)}.ce-contextmenu-delete-col{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBzdHJva2U9IiM5MjlBQTgiIGQ9Ik01LjUgNy41di02aDR2NnoiLz48cGF0aCBmaWxsPSIjM0Q0NzU3IiBkPSJNMTMgMTVWM2gxdjEyek0xIDE1VjNoMXYxMnptNCAwdi0xaDF2MXptMS0xdi0xaDF2MXptMS0xdi0xaDF2MXptLTEtMXYtMWgxdjF6bS0xLTF2LTFoMXYxem0zIDF2LTFoMXYxem0wIDJ2LTFoMXYxem0xLTN2LTFoMXYxem0wIDR2LTFoMXYxeiIvPjwvZz48L3N2Zz4=)}.ce-contextmenu-delete-table{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzNENDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQgMTNoLTF2LTNIMnYzSDF2LTNhMSAxIDAgMDExLTFoMTFhMSAxIDAgMDExIDF2M3oiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik01LjYyNSAyTDEwIDYuMzc1IDkuMzc1IDcgNSAyLjYyNXoiLz48cGF0aCBkPSJNNSA2LjM3NUw5LjM3NSAybC42MjUuNjI1TDUuNjI1IDd6Ii8+PC9nPjwvc3ZnPg==)}.ce-contextmenu-merge-cell{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzNENDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNiAxdjFIMnYxMWg0djFIMmExIDEgMCAwMS0xLTFWMmExIDEgMCAwMTEtMWg0em0zIDBoNGExIDEgMCAwMTEgMXYxMWExIDEgMCAwMS0xIDFIOXYtMWg0VjJIOVYxeiIvPjxwYXRoIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTYgMWgxdjRINnptMiAwaDF2NEg4eiIvPjxwYXRoIGQ9Ik04IDcuNUwxMCA2djN6bS0xIDBMNSA2djN6Ii8+PHBhdGggZD0iTTkgN2gzdjFIOXpNMyA3aDN2MUgzeiIvPjxwYXRoIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTggMTBoMXY0SDh6bS0yIDBoMXY0SDZ6Ii8+PC9nPjwvc3ZnPg==)}.ce-contextmenu-merge-cancel-cell{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzNENDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNiAxdjFIMnYxMWg0djFIMmExIDEgMCAwMS0xLTFWMmExIDEgMCAwMTEtMWg0em0zIDBoNGExIDEgMCAwMTEgMXYxMWExIDEgMCAwMS0xIDFIOXYtMWg0VjJIOVYxeiIvPjxwYXRoIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTYgMWgxdjRINnptMiAwaDF2NEg4eiIvPjxwYXRoIGQ9Ik0zIDcuNUw1IDZ2M3ptOSAwTDEwIDZ2M3oiLz48cGF0aCBkPSJNNCA3aDN2MUg0em00IDBoM3YxSDh6Ii8+PHBhdGggZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNOCAxMGgxdjRIOHptLTIgMGgxdjRINnoiLz48L2c+PC9zdmc+)}.ce-contextmenu-vertical-align{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHdpZHRoPSIxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMiAxM2gxMnYxSDJ6bTAtM2g4djFIMnptMC0zaDEydjFIMnptMC02aDEydjFIMnptMCAzaDh2MUgyeiIgZmlsbD0iIzNkNDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.ce-contextmenu-vertical-align-top{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggOEg3djZoMXptLS41LTNMMTAgOEg1ek0yIDNoMTF2MUgyeiIgZmlsbD0iIzNENDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.ce-contextmenu-vertical-align-middle{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOCAxMkg3djNoMXptLS41LTNsMi41IDNINXpNNyAzaDFWMEg3em0uNSAzTDUgM2g1ek0yIDdoMTF2MUgyeiIgZmlsbD0iIzNENDc1NyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.ce-contextmenu-vertical-align-bottom{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgOWgxVjNIN3ptLjUgM0w1IDloNXpNMiAxM2gxMXYxSDJ6IiBmaWxsPSIjM0Q0NzU3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ce-contextmenu-border-all{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iIzNENDc1NyIvPjxwYXRoIGZpbGw9IiMzRDQ3NTciIGQ9Ik0zIDhoMTF2MUgzeiIvPjxwYXRoIGZpbGw9IiMzRDQ3NTciIGQ9Ik05IDN2MTFIOFYzeiIvPjwvc3ZnPg==)}.ce-contextmenu-border-empty{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMyAzaC0xVjJoMWExIDEgMCAwMTEgMXYxaC0xVjN6bS0zLTF2MUg4LjV2MmgtMVYzSDZWMmg0ek00IDJ2MUgzdjFIMlYzYTEgMSAwIDAxMS0xaDF6TTIgNmgxdjEuNWgydjFIM1YxMEgyVjZ6bTAgNmgxdjFoMXYxSDNhMSAxIDAgMDEtMS0xdi0xem00IDJ2LTFoMS41di0yaDF2MkgxMHYxSDZ6bTYgMHYtMWgxdi0xaDF2MWExIDEgMCAwMS0xIDFoLTF6bTItNGgtMVY4LjVoLTJ2LTFoMlY2aDF2NHpNOC41IDcuNXYtMWgtMXYxaC0xdjFoMXYxaDF2LTFoMXYtMWgtMXoiIGZpbGw9IiNBQUFDQjAiLz48L3N2Zz4=)}.ce-contextmenu-border-dash{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMyAzaC0xVjJoMWExIDEgMCAwMTEgMXYxaC0xVjN6bS0zLTF2MUg4LjV2MmgtMVYzSDZWMmg0ek00IDJ2MUgzdjFIMlYzYTEgMSAwIDAxMS0xaDF6TTIgNmgxdjEuNWgydjFIM1YxMEgyVjZ6bTAgNmgxdjFoMXYxSDNhMSAxIDAgMDEtMS0xdi0xem00IDJ2LTFoMS41di0yaDF2MkgxMHYxSDZ6bTYgMHYtMWgxdi0xaDF2MWExIDEgMCAwMS0xIDFoLTF6bTItNGgtMVY4LjVoLTJ2LTFoMlY2aDF2NHpNOC41IDcuNXYtMWgtMXYxaC0xdjFoMXYxaDF2LTFoMXYtMWgtMXoiIGZpbGw9IiMwMDAwMDAiLz48L3N2Zz4=)}.ce-contextmenu-border-external{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iIzNENDc1NyIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOSA1VjNIOHYyaDF6bTAgOXYtMkg4djJoMXpNNSA4SDN2MWgyVjh6bTkgMGgtMnYxaDJWOHpNOSA3djFoMXYxSDl2MUg4VjlIN1Y4aDFWN2gxeiIgZmlsbD0iI0FBQUNCMCIvPjwvc3ZnPg==)}.ce-contextmenu-border-internal{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOSA1VjNIOHYyaDF6bTAgOXYtMkg4djJoMXpNNSA4SDN2MWgyVjh6bTkgMGgtMnYxaDJWOHpNOSA3djFoMXYxSDl2MUg4VjlIN1Y4aDFWN2gxeiIgZmlsbD0iIzNENDc1NyIvPjwvc3ZnPg==)}.ce-contextmenu-border-td{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIvPjxwYXRoIHN0cm9rZT0iIzNENDc1NyIgZD0iTTguNSAyLjUgdjYgaC02Ii8+PC9zdmc+)}.ce-contextmenu-border-td-top{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIvPjxwYXRoIHN0cm9rZT0iIzNENDc1NyIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNMi41IDMgaDEyIi8+PC9zdmc+)}.ce-contextmenu-border-td-left{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIvPjxwYXRoIHN0cm9rZT0iIzNENDc1NyIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNMyAzIHYxMSIvPjwvc3ZnPg==)}.ce-contextmenu-border-td-bottom{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIvPjxwYXRoIHN0cm9rZT0iIzNENDc1NyIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNMi41IDE0IGgxMiIvPjwvc3ZnPg==)}.ce-contextmenu-border-td-right{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIvPjxwYXRoIHN0cm9rZT0iIzNENDc1NyIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJNMTQgMyB2MTEiLz48L3N2Zz4=)}.ce-contextmenu-border-td-forward{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIgLz48cGF0aCBzdHJva2U9IiMzRDQ3NTciIGQ9Ik0xNCAzIGwtMTEgMTEiIC8+PC9zdmc+)}.ce-contextmenu-border-td-back{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIuNSAzYS41LjUgMCAwMS41LS41aDExYS41LjUgMCAwMS41LjV2MTFhLjUuNSAwIDAxLS41LjVIM2EuNS41IDAgMDEtLjUtLjVWM3oiIHN0cm9rZT0iI0FBQUNCMCIgLz48cGF0aCBzdHJva2U9IiMzRDQ3NTciIGQ9Ik0zIDMgbDExIDExIiAvPjwvc3ZnPg==)}.ce-hyperlink-popup{background:#fff;box-shadow:0 2px 12px #626b8433;border-radius:2px;color:#3d4757;padding:12px 16px;position:absolute;z-index:1;text-align:center;display:none}.ce-hyperlink-popup a{min-width:100px;max-width:300px;font-size:12px;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;text-decoration:none;border-bottom-width:1px;border-bottom-style:solid;color:#00f}.ce-zone-indicator>div{padding:3px 6px;color:#000;font-size:12px;background:rgb(218 231 252);position:absolute;transform-origin:0 0}.ce-zone-indicator-border__top,.ce-zone-indicator-border__bottom,.ce-zone-indicator-border__left,.ce-zone-indicator-border__right{display:block;position:absolute;z-index:0}.ce-zone-indicator-border__top{border-top:2px dashed rgb(238,238,238)}.ce-zone-indicator-border__bottom{border-top:2px dashed rgb(238,238,238);width:100%}.ce-zone-indicator-border__left{border-left:2px dashed rgb(238,238,238)}.ce-zone-indicator-border__right{border-right:2px dashed rgb(238,238,238)}.ce-zone-tip{display:none;align-items:center;height:30px;white-space:nowrap;position:fixed;opacity:.9;background-color:#000;padding:0 5px;border-radius:4px;z-index:9;transition:all .3s;outline:none;user-select:none;pointer-events:none;transform:translate(10px,10px)}.ce-zone-tip.show{display:flex}.ce-zone-tip span{color:#fff;font-size:12px}.ce-inputarea{width:100px;height:30px;min-width:0;min-height:0;margin:0;padding:0;left:0;top:0;letter-spacing:0;font-size:12px;position:absolute;z-index:-1;outline:none;resize:none;border:none;overflow:hidden;color:transparent;user-select:none;caret-color:transparent;background-color:transparent}.ce-cursor{width:1px;height:20px;left:0;right:0;position:absolute;outline:none;background-color:#000;pointer-events:none}.ce-cursor.ce-cursor--animation{animation-duration:1s;animation-iteration-count:infinite;animation-name:cursorAnimation}@keyframes cursorAnimation{0%{opacity:1}13%{opacity:0}50%{opacity:0}63%{opacity:1}to{opacity:1}}.ce-float-image{position:absolute;opacity:.5;pointer-events:none}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})()})();var r=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&c(e,n,t[n]);if(s)for(var n of s(t))l.call(t,n)&&c(e,n,t[n]);return e},d=(e,t)=>i(e,o(t)),h=(e,t,n)=>(c(e,"symbol"!==typeof t?t+"":t,n),n);const p="0.9.99";var f,m,A,g,_;(function(e){e["HALF"]="half",e["ONE_THIRD"]="one-third",e["QUARTER"]="quarter"})(f||(f={})),function(e){e["ARABIC"]="arabic",e["CHINESE"]="chinese"}(m||(m={})),function(e){e["INLINE"]="inline",e["BLOCK"]="block",e["SURROUND"]="surround",e["FLOAT_TOP"]="float-top",e["FLOAT_BOTTOM"]="float-bottom"}(A||(A={})),function(e){e["BEFORE"]="before",e["AFTER"]="after"}(g||(g={})),function(e){e["ROW"]="row",e["COLUMN"]="column"}(_||(_={}));const b="​",v="\n",w=" ",y="&nbsp;",R=["·","、",":",":",",",",",".","。",";",";","?","?","!","!"],M={[f.HALF]:.5,[f.ONE_THIRD]:1/3,[f.QUARTER]:1/4},S={ENGLISH:"A-Za-z",SPANISH:"A-Za-zÁÉÍÓÚáéíóúÑñÜü",FRENCH:"A-Za-zÀÂÇàâçÉéÈèÊêËëÎîÏïÔôÙùÛûŸÿ",GERMAN:"A-Za-zÄäÖöÜüß",RUSSIAN:"А-Яа-яЁё",PORTUGUESE:"A-Za-zÁÉÍÓÚáéíóúÃÕãõÇç",ITALIAN:"A-Za-zÀàÈèÉéÌìÍíÎîÓóÒòÙù",DUTCH:"A-Za-zÀàÁáÂâÄäÈèÉéÊêËëÌìÍíÎîÏïÓóÒòÔôÖöÙùÛûÜü",SWEDISH:"A-Za-zÅåÄäÖö",GREEK:"ΑαΒβΓγΔδΕεΖζΗηΘθΙιΚκΛλΜμΝνΞξΟοΠπΡρΣσςΤτΥυΦφΧχΨψΩω"},E="日";var T;(function(e){e["LEFT"]="left",e["CENTER"]="center",e["RIGHT"]="right",e["ALIGNMENT"]="alignment",e["JUSTIFY"]="justify"})(T||(T={}));const C=/[0-9.]/,O=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,x=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,N=new RegExp(`${x.source}|${O.source}`,"g"),L=/[、,。?!;:……「」“”‘’*()【】〔〕〖〗〘〙〚〛《》———﹝﹞–—\\/·.,!?;:`~<>()[\]{}'"|]/,I=new RegExp(`^[${b}\n]`);function P(e,t){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{e.apply(this,r)},t)}}function D(e,t){let n,r=0;return function(...i){const o=Date.now();o-r>=t?(window.clearTimeout(n),e.apply(this,i),r=o):(window.clearTimeout(n),n=window.setTimeout(()=>{e.apply(this,i),r=o},t))}}function F(e,t){if(!e||"object"!==typeof e)return e;let n={};return Array.isArray(e)?n=e.map(e=>F(e,t)):Object.keys(e).forEach(r=>{if(!t.includes(r))return n[r]=F(e[r],t)}),n}function k(e){if(!e||"object"!==typeof e)return e;let t={};return Array.isArray(e)?t=e.map(e=>k(e)):Object.keys(e).forEach(n=>t[n]=k(e[n])),t}function B(e){return e&&1===e.nodeType&&"body"===e.tagName.toLowerCase()}function U(e,t,n){if(e&&!B(e)){e=n?e:e.parentNode;while(e){if(!t||t(e)||B(e))return t&&!t(e)&&B(e)?null:e;e=e.parentNode}}return null}function H(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}function j(e){const t=[];if(Intl.Segmenter){const n=new Intl.Segmenter,r=n.segment(e);for(const{segment:e}of r)t.push(e)}else{const n=new Map;for(const t of e.matchAll(N))n.set(t.index,t[0]);let r=0;while(r<e.length){const i=n.get(r);i?(t.push(i),r+=i.length):(t.push(e[r]),r++)}}return t}function V(e,t){const n=document.createElement("a");n.href=e,n.download=t,n.click()}function W(e,t){Y(3,e,t)}function Y(e,t,n){let r=0,i=0;const o=function(t){const o=(new Date).getTime();r=o-i<300?r+1:0,i=(new Date).getTime(),r>=e-1&&(n(t),r=0)};t.addEventListener("click",o)}function Q(e){return"[object Object]"===Object.prototype.toString.call(e)}function X(e){return Array.isArray(e)}function K(e,t){if(Q(e)&&Q(t)){const n=t;for(const[t,r]of Object.entries(e))n[t]?n[t]=K(r,n[t]):n[t]=r}else X(e)&&X(t)&&t.push(...e);return t}function G(e){setTimeout(()=>{e()},0)}function Z(e){const t=["零","一","二","三","四","五","六","七","八","九"],n=["","十","百","千","万","十","百","千","亿","十","百","千","万","十","百","千","亿"];if(!e||isNaN(e))return"零";const r=e.toString().split("");let i="";for(let o=0;o<r.length;o++){const e=r.length-1-o;i=`${n[o]}${i}`,i=`${t[Number(r[e])]}${i}`}return i=i.replace(/零(千|百|十)/g,"零").replace(/十零/g,"十"),i=i.replace(/零+/g,"零"),i=i.replace(/零亿/g,"亿").replace(/零万/g,"万"),i=i.replace(/亿万/g,"亿"),i=i.replace(/零+$/,""),i=i.replace(/^一十/g,"十"),i}function z(e,t,n){for(let r=0;r<e.length;r++){const i=e[r],o=t[i];void 0!==o?n[i]=o:delete n[i]}}function q(e,t){const n={};for(const r in e)t.includes(r)&&(n[r]=e[r]);return n}function J(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function $(e){const t=new TextEncoder,n=t.encode(e),r=Array.from(n,e=>String.fromCharCode(e)),i=window.btoa(r.join(""));return i}function ee(e){let t=e.parentElement;while(t){const e=window.getComputedStyle(t),n=e.getPropertyValue("overflow-y");if(t.scrollHeight>t.clientHeight&&("auto"===n||"scroll"===n))return t;t=t.parentElement}return document.documentElement}function te(e,t){return e.length===t.length&&!e.some(e=>!t.includes(e))}function ne(e,t){if(!Q(e)||!Q(t))return!1;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&!n.some(n=>t[n]!==e[n])}function re(e,t){const n=e.x,r=e.x+e.width,i=e.y,o=e.y+e.height,s=t.x,a=t.x+t.width,l=t.y,c=t.y+t.height;return!(n>a||r<s||i>c||o<l)}function ie(e){return void 0===e||null===e}function oe(e){return e.replace(/\r\n|\r/g,"\n")}const se=12,ae={width:1,color:"#000000",dragWidth:2,dragColor:"#0000FF"},le="editor-component",ce="ce",ue=ce+"-clipboard";var de,he;(function(e){e["UP"]="top",e["DOWN"]="down",e["LEFT"]="left",e["RIGHT"]="right"})(de||(de={})),function(e){e["TEXT"]="text",e["IMAGE"]="image",e["TABLE"]="table",e["HYPERLINK"]="hyperlink",e["SUPERSCRIPT"]="superscript",e["SUBSCRIPT"]="subscript",e["SEPARATOR"]="separator",e["PAGE_BREAK"]="pageBreak",e["CONTROL"]="control",e["AREA"]="area",e["CHECKBOX"]="checkbox",e["RADIO"]="radio",e["LATEX"]="latex",e["TAB"]="tab",e["DATE"]="date",e["BLOCK"]="block",e["TITLE"]="title",e["LIST"]="list"}(he||(he={}));const pe=["bold","color","highlight","font","size","italic","underline","strikeout","textDecoration"],fe=["rowFlex","rowMargin"],me=["type","font","size","bold","color","italic","highlight","underline","strikeout","rowFlex","url","areaId","hyperlinkId","dateId","dateFormat","groupIds","rowMargin","textDecoration"],Ae=["type","font","size","bold","color","italic","highlight","underline","strikeout","rowFlex","rowMargin","dashArray","trList","borderType","borderColor","width","height","url","colgroup","valueList","control","checkbox","radio","dateFormat","block","level","title","listType","listStyle","listWrap","groupIds","conceptId","imgDisplay","imgFloatPosition","textDecoration","extension","externalId","areaId","area"],ge=["conceptId","extension","externalId","verticalAlign","backgroundColor","borderTypes","slashTypes"],_e=["tdId","trId","tableId"],be=["level","titleId","title"],ve=["listId","listType","listStyle"],we=["control","controlId","controlComponent"],ye=["font","size","bold","highlight","italic","strikeout"],Re=["areaId","area"],Me=[..._e,...be,...ve,...Re],Se=[he.TEXT,he.HYPERLINK,he.SUBSCRIPT,he.SUPERSCRIPT,he.CONTROL,he.DATE],Ee=[he.IMAGE,he.LATEX],Te=[he.BLOCK,he.PAGE_BREAK,he.SEPARATOR,he.TABLE],Ce=["HR","TABLE","UL","OL"],Oe=[he.TITLE,he.LIST];class xe{constructor(e){h(this,"draw"),h(this,"options"),h(this,"imageCache"),h(this,"container"),h(this,"floatImageContainer"),h(this,"floatImage"),this.draw=e,this.options=e.getOptions(),this.container=e.getContainer(),this.imageCache=new Map,this.floatImageContainer=null,this.floatImage=null}createFloatImage(e){const{scale:t}=this.options;let n=this.floatImageContainer,r=this.floatImage;n||(n=document.createElement("div"),n.classList.add(ce+"-float-image"),this.container.append(n),this.floatImageContainer=n),r||(r=document.createElement("img"),n.append(r),this.floatImage=r),n.style.display="none",r.style.width=e.width*t+"px",r.style.height=e.height*t+"px";const i=this.draw.getHeight(),o=this.draw.getPageGap(),s=this.draw.getPageNo()*(i+o),a=e.imgFloatPosition;n.style.left=a.x+"px",n.style.top=s+a.y+"px",r.src=e.value}dragFloatImage(e,t){if(!this.floatImageContainer)return;this.floatImageContainer.style.display="block";const n=parseFloat(this.floatImageContainer.style.left)+e,r=parseFloat(this.floatImageContainer.style.top)+t;this.floatImageContainer.style.left=n+"px",this.floatImageContainer.style.top=r+"px"}destroyFloatImage(){this.floatImageContainer&&(this.floatImageContainer.style.display="none")}addImageObserver(e){this.draw.getImageObserver().add(e)}getFallbackImage(e,t){const n=8,r=(e-Math.ceil(e/n)*n)/2,i=(t-Math.ceil(t/n)*n)/2,o=`<svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${t}" viewBox="0 0 ${e} ${t}">\n <rect width="${e}" height="${t}" fill="url(#mosaic)" />\n <defs>\n <pattern id="mosaic" x="${r}" y="${i}" width="${2*n}" height="${2*n}" patternUnits="userSpaceOnUse">\n <rect width="${n}" height="${n}" fill="#cccccc" />\n <rect width="${n}" height="${n}" fill="#cccccc" transform="translate(${n}, ${n})" />\n </pattern>\n </defs>\n </svg>`,s=new Image;return s.src="data:image/svg+xml;base64,"+$(o),s}render(e,t,n,r){const{scale:i}=this.options,o=t.width*i,s=t.height*i;if(this.imageCache.has(t.value)){const i=this.imageCache.get(t.value);e.drawImage(i,n,r,o,s)}else{const i=new Promise((i,a)=>{const l=new Image;l.setAttribute("crossOrigin","Anonymous"),l.src=t.value,l.onload=()=>{this.imageCache.set(t.value,l),i(t),t.imgDisplay===A.FLOAT_BOTTOM?this.draw.render({isCompute:!1,isSetCursor:!1,isSubmitHistory:!1}):e.drawImage(l,n,r,o,s)},l.onerror=i=>{const l=this.getFallbackImage(o,s);l.onload=()=>{e.drawImage(l,n,r,o,s),this.imageCache.set(t.value,l)},a(i)}});this.addImageObserver(i)}}}const Ne="R".charCodeAt(0);function Le(e){return null==Pe[e]&&Ie(e),Pe[e]}function Ie(e){const t=De[e];if(null==t)return;const n=t.substring(3,5),r=1*n.charCodeAt(0)-Ne,i=1*n.charCodeAt(1)-Ne,o=t.substring(5),s=[[]];let a=1/0,l=-1/0,c=1/0,u=-1/0,d=0;while(d<o.length){const e=o.substring(d,d+2);if(" R"==e)s.push([]);else{const t=e.charCodeAt(0)-Ne-r,n=e.charCodeAt(1)-Ne;a=Math.min(n,a),l=Math.max(n,l),c=Math.min(t,c),u=Math.max(t,u),s[s.length-1].push([t,n])}d+=2}Pe[e]={w:i-r,xmin:c,xmax:u,ymin:a,ymax:l,polylines:s}}const Pe={},De={1:" 9MWRMNV RRMVV RPSTS",2:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",3:" 11MXVNTMRMPNOPOSPURVTVVU",4:" 12MWOMOV ROMRMTNUPUSTURVOV",5:" 12MWOMOV ROMUM ROQSQ ROVUV",6:" 9MVOMOV ROMUM ROQSQ",7:" 15MXVNTMRMPNOPOSPURVTVVUVR RSRVR",8:" 9MWOMOV RUMUV ROQUQ",9:" 3PTRMRV",10:" 7NUSMSTRVPVOTOS",11:" 9MWOMOV RUMOS RQQUV",12:" 6MVOMOV ROVUV",13:" 12LXNMNV RNMRV RVMRV RVMVV",14:" 9MWOMOV ROMUV RUMUV",15:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",16:" 10MWOMOV ROMSMUNUQSROR",17:" 17MXRMPNOPOSPURVSVUUVSVPUNSMRM RSTVW",18:" 13MWOMOV ROMSMUNUQSROR RRRUV",19:" 13MWUNSMQMONOOPPTRUSUUSVQVOU",20:" 6MWRMRV RNMVM",21:" 9MXOMOSPURVSVUUVSVM",22:" 6MWNMRV RVMRV",23:" 12LXNMPV RRMPV RRMTV RVMTV",24:" 6MWOMUV RUMOV",25:" 7MWNMRQRV RVMRQ",26:" 9MWUMOV ROMUM ROVUV",27:" 9MWRMNV RRMVV RPSTS",28:" 16MWOMOV ROMSMUNUPSQ ROQSQURUUSVOV",29:" 6MVOMOV ROMUM",30:" 9MWRMNV RRMVV RNVVV",31:" 12MWOMOV ROMUM ROQSQ ROVUV",32:" 9MWUMOV ROMUM ROVUV",33:" 9MWOMOV RUMUV ROQUQ",34:" 20MXRMPNOPOSPURVSVUUVSVPUNSMRM RQQTR RTQQR",35:" 3PTRMRV",36:" 9MWOMOV RUMOS RQQUV",37:" 6MWRMNV RRMVV",38:" 12LXNMNV RNMRV RVMRV RVMVV",39:" 9MWOMOV ROMUV RUMUV",40:" 12MWOMUM RPQTR RTQPR ROVUV",41:" 14MXRMPNOPOSPURVSVUUVSVPUNSMRM",42:" 9MWOMOV RUMUV ROMUM",43:" 10MWOMOV ROMSMUNUQSROR",44:" 10MWOMRQOV ROMUM ROVUV",45:" 6MWRMRV RNMVM",46:" 15MWNONNOMPMQNRPRV RVOVNUMTMSNRP",47:" 13LXRMRV RPONPNSPTTTVSVPTOPO",48:" 6MWOMUV RUMOV",49:" 12LXRMRV RNOOPOSQTSTUSUPVO",50:" 13MXOVQVOROPPNRMSMUNVPVRTVVV",200:" 12MWRMPNOPOSPURVTUUSUPTNRM",201:" 4MWPORMRV",202:" 9MWONQMSMUNUPTROVUV",203:" 15MWONQMSMUNUPSQ RRQSQURUUSVQVOU",204:" 7MWSMSV RSMNSVS",205:" 14MWPMOQQPRPTQUSTURVQVOU RPMTM",206:" 14MWTMRMPNOPOSPURVTUUSTQRPPQOS",207:" 6MWUMQV ROMUM",208:" 19MWQMONOPQQSQUPUNSMQM RQQOROUQVSVUUURSQ",209:" 14MWUPTRRSPROPPNRMTNUPUSTURVPV",210:" 6PURURVSVSURU",211:" 7PUSVRVRUSUSWRY",212:" 12PURPRQSQSPRP RRURVSVSURU",213:" 13PURPRQSQSPRP RSVRVRUSUSWRY",214:" 12PURMRR RSMSR RRURVSVSURU",215:" 17NWPNRMSMUNUPRQRRSRSQUP RRURVSVSURU",216:" 3PTRMRQ",217:" 6NVPMPQ RTMTQ",218:" 10NVQMPNPPQQSQTPTNSMQM",219:" 16MWUNSMQMONOPQQTRUSUUSVQVOU RRLRW",220:" 3MWVLNW",221:" 7OVTLRNQPQSRUTW",222:" 7NUPLRNSPSSRUPW",223:" 3PTRLRW",224:" 3LXNRVR",225:" 6LXRNRV RNRVR",226:" 6LXNPVP RNTVT",227:" 6MWOOUU RUOOU",228:" 9MWRORU ROPUT RUPOT",229:" 6PURQRRSRSQRQ",230:" 7PUSMRORQSQSPRP",231:" 7PUSNRNRMSMSORQ",232:" 7LXSOVRSU RNRVR",233:" 12MXRLPW RULSW ROPVP ROSVS",234:" 21LXVRURTSSURVOVNUNSORRQSPSNRMPMONOPQSSUUVVV",235:" 20LXNNOQOSNV RVNUQUSVV RNNQOSOVN RNVQUSUVV",501:" 9I[RFJ[ RRFZ[ RMTWT",502:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",503:" 19H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV",504:" 16G\\KFK[ RKFRFUGWIXKYNYSXVWXUZR[K[",505:" 12H[LFL[ RLFYF RLPTP RL[Y[",506:" 9HZLFL[ RLFYF RLPTP",507:" 23H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZS RUSZS",508:" 9G]KFK[ RYFY[ RKPYP",509:" 3NVRFR[",510:" 11JZVFVVUYTZR[P[NZMYLVLT",511:" 9G\\KFK[ RYFKT RPOY[",512:" 6HYLFL[ RL[X[",513:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",514:" 9G]KFK[ RKFY[ RYFY[",515:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",516:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",517:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RSWY]",518:" 17G\\KFK[ RKFTFWGXHYJYLXNWOTPKP RRPY[",519:" 21H\\YIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",520:" 6JZRFR[ RKFYF",521:" 11G]KFKULXNZQ[S[VZXXYUYF",522:" 6I[JFR[ RZFR[",523:" 12F^HFM[ RRFM[ RRFW[ R\\FW[",524:" 6H\\KFY[ RYFK[",525:" 7I[JFRPR[ RZFRP",526:" 9H\\YFK[ RKFYF RK[Y[",527:" 9I[RFJ[ RRFZ[ RMTWT",528:" 24G\\KFK[ RKFTFWGXHYJYLXNWOTP RKPTPWQXRYTYWXYWZT[K[",529:" 6HYLFL[ RLFXF",530:" 9I[RFJ[ RRFZ[ RJ[Z[",531:" 12H[LFL[ RLFYF RLPTP RL[Y[",532:" 9H\\YFK[ RKFYF RK[Y[",533:" 9G]KFK[ RYFY[ RKPYP",534:" 25G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF ROPUP",535:" 3NVRFR[",536:" 9G\\KFK[ RYFKT RPOY[",537:" 6I[RFJ[ RRFZ[",538:" 12F^JFJ[ RJFR[ RZFR[ RZFZ[",539:" 9G]KFK[ RKFY[ RYFY[",540:" 9I[KFYF ROPUP RK[Y[",541:" 22G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF",542:" 9G]KFK[ RYFY[ RKFYF",543:" 14G\\KFK[ RKFTFWGXHYJYMXOWPTQKQ",544:" 10I[KFRPK[ RKFYF RK[Y[",545:" 6JZRFR[ RKFYF",546:" 19I[KKKILGMFOFPGQIRMR[ RYKYIXGWFUFTGSIRM",547:" 21H\\RFR[ RPKMLLMKOKRLTMUPVTVWUXTYRYOXMWLTKPK",548:" 6H\\KFY[ RK[YF",549:" 18G]RFR[ RILJLKMLQMSNTQUSUVTWSXQYMZL[L",550:" 17H\\K[O[LTKPKLLINGQFSFVGXIYLYPXTU[Y[",551:" 20G[G[IZLWOSSLVFV[UXSUQSNQLQKRKTLVNXQZT[Y[",552:" 41F]SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFXFZG[I[KZMYNWOTP RSPTPWQXRYTYWXYWZU[R[PZOX",553:" 24H\\TLTMUNWNYMZKZIYGWFTFQGOIMLLNKRKVLYMZO[Q[TZVXWV",554:" 35G^TFRGQIPMOSNVMXKZI[G[FZFXGWIWKXMZP[S[VZXXZT[O[KZHYGWFTFRHRJSMUPWRZT\\U",555:" 28H\\VJVKWLYLZKZIYGVFRFOGNINLONPOSPPPMQLRKTKWLYMZP[S[VZXXYV",556:" 28H\\RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV RQPZP",557:" 29G^G[IZMVPQQNRJRGQFPFOGNINLONQOUOXNYMZKZQYVXXVZS[O[LZJXIVIT",558:" 38F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX RMRVOXN[L]J^H^G]F\\FZHXLVRUWUZV[W[YZZY\\V",559:" 25IZWVUTSQROQLQIRGSFUFVGWIWLVQTVSXQZO[M[KZJXJVKUMUOV",560:" 25JYT^R[PVOPOJPGRFTFUGVJVMURR[PaOdNfLgKfKdLaN^P\\SZWX",561:" 39F^MMKLJJJIKGMFNFPGQIQKPONULYJ[H[GZGX R^I^G]F\\FZGXIVLTNROPO RROSQSXTZU[V[XZYY[V",562:" 29I\\MRORSQVOXMYKYHXFVFUGTISNRSQVPXNZL[J[IZIXJWLWNXQZT[V[YZ[X",563:" 45@aEMCLBJBICGEFFFHGIIIKHPGTE[ RGTJLLHMGOFPFRGSISKRPQTO[ RQTTLVHWGYFZF\\G]I]K\\PZWZZ[[\\[^Z_YaV",564:" 32E]JMHLGJGIHGJFKFMGNINKMPLTJ[ RLTOLQHRGTFVFXGYIYKXPVWVZW[X[ZZ[Y]V",565:" 29H]TFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGVFTFRHRKSNUQWSZU\\V",566:" 31F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFZF\\G]H^J^M]O\\PZQWQUPTO",567:" 32H^ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[YZ[X",568:" 38F_SHTITLSPRSQUOXMZK[J[IZIWJRKOLMNJPHRGUFYF[G\\H]J]M\\O[PYQVQSPTQUSUXVZX[ZZ[Y]V",569:" 28H\\H[JZLXOTQQSMTJTGSFRFQGPIPKQMSOVQXSYUYWXYWZT[P[MZKXJVJT",570:" 25H[RLPLNKMINGQFTFXG[G]F RXGVNTTRXPZN[L[JZIXIVJULUNV",571:" 33E]JMHLGJGIHGJFKFMGNINKMOLRKVKXLZN[P[RZSYUUXMZF RXMWQVWVZW[X[ZZ[Y]V",572:" 32F]KMILHJHIIGKFLFNGOIOKNOMRLVLYM[O[QZTWVTXPYMZIZGYFXFWGVIVKWNYP[Q",573:" 25C_HMFLEJEIFGHFIFKGLILLK[ RUFK[ RUFS[ RaF_G\\JYNVTS[",574:" 36F^NLLLKKKILGNFPFRGSISLQUQXRZT[V[XZYXYVXUVU R]I]G\\FZFXGVITLPUNXLZJ[H[GZGX",575:" 38F]KMILHJHIIGKFLFNGOIOKNOMRLVLXMZN[P[RZTXVUWSYM R[FYMVWT]RbPfNgMfMdNaP^S[VY[V",576:" 40H]ULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWTTWPZN[K[JZJXKWNWPXQYR[R^QaPcNfLgKfKdLaN^Q[TYZV",583:" 9I[JFR[ RZFR[ RJFZF",601:" 18I\\XMX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",602:" 18H[LFL[ RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",603:" 15I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX",604:" 18I\\XFX[ RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",605:" 18I[LSXSXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX",606:" 9MYWFUFSGRJR[ ROMVM",607:" 23I\\XMX]W`VaTbQbOa RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",608:" 11I\\MFM[ RMQPNRMUMWNXQX[",609:" 9NVQFRGSFREQF RRMR[",610:" 12MWRFSGTFSERF RSMS^RaPbNb",611:" 9IZMFM[ RWMMW RQSX[",612:" 3NVRFR[",613:" 19CaGMG[ RGQJNLMOMQNRQR[ RRQUNWMZM\\N]Q][",614:" 11I\\MMM[ RMQPNRMUMWNXQX[",615:" 18I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM",616:" 18H[LMLb RLPNNPMSMUNWPXSXUWXUZS[P[NZLX",617:" 18I\\XMXb RXPVNTMQMONMPLSLUMXOZQ[T[VZXX",618:" 9KXOMO[ ROSPPRNTMWM",619:" 18J[XPWNTMQMNNMPNRPSUTWUXWXXWZT[Q[NZMX",620:" 9MYRFRWSZU[W[ ROMVM",621:" 11I\\MMMWNZP[S[UZXW RXMX[",622:" 6JZLMR[ RXMR[",623:" 12G]JMN[ RRMN[ RRMV[ RZMV[",624:" 6J[MMX[ RXMM[",625:" 10JZLMR[ RXMR[P_NaLbKb",626:" 9J[XMM[ RMMXM RM[X[",627:" 24H]QMONMPLRKUKXLZN[P[RZUWWTYPZM RQMSMTNUPWXXZY[Z[",628:" 31I\\UFSGQIOMNPMTLZKb RUFWFYHYKXMWNUORO RROTPVRWTWWVYUZS[Q[OZNYMV",629:" 17I\\JPLNNMOMQNROSRSVR[ RZMYPXRR[P_Ob",630:" 24I[TMQMONMPLSLVMYNZP[R[TZVXWUWRVOTMRKQIQGRFTFVGXI",631:" 19JZWOVNTMQMONOPPRSS RSSOTMVMXNZP[S[UZWX",632:" 23JYTFRGQHQIRJUKXK RXKTMQONRMUMWNYP[S]T_TaSbQbP`",633:" 19H\\IQJOLMNMONOPNTL[ RNTPPRNTMVMXOXRWWTb",634:" 27G\\HQIOKMMMNNNPMUMXNZO[Q[SZUWVUWRXMXJWGUFSFRHRJSMUPWRZT",635:" 9LWRMPTOXOZP[R[TYUW",636:" 19I[OMK[ RYNXMWMUNQROSNS RNSPTQUSZT[U[VZ",637:" 9JZKFMFOGPHX[ RRML[",638:" 21H]OMIb RNQMVMYO[Q[SZUXWT RYMWTVXVZW[Y[[Y\\W",639:" 14I[LMOMNSMXL[ RYMXPWRUURXOZL[",640:" 29JZTFRGQHQIRJUKXK RUKRLPMOOOQQSTTVT RTTPUNVMXMZO\\S^T_TaRbPb",641:" 18J[RMPNNPMSMVNYOZQ[S[UZWXXUXRWOVNTMRM",642:" 13G]PML[ RUMVSWXX[ RIPKNNM[M",643:" 19I[MSMVNYOZQ[S[UZWXXUXRWOVNTMRMPNNPMSIb",644:" 18I][MQMONMPLSLVMYNZP[R[TZVXWUWRVOUNSM",645:" 8H\\SMP[ RJPLNOMZM",646:" 16H\\IQJOLMNMONOPMVMYO[Q[TZVXXTYPYM",647:" 21G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb",648:" 14I[KMMMOOU`WbYb RZMYOWRM]K`Jb",649:" 20F]VFNb RGQHOJMLMMNMPLULXMZO[Q[TZVXXUZP[M",650:" 23F]NMLNJQITIWJZK[M[OZQW RRSQWRZS[U[WZYWZTZQYNXM",651:" 22L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXVRUWUZV[W[YZZY\\V",652:" 23M[MVOSRNSLTITGSFQGPIOMNTNZO[P[RZTXUUURVVWWYW[V",653:" 14MXTTTSSRQROSNTMVMXNZP[S[VYXV",654:" 24L\\UUTSRRPRNSMTLVLXMZO[Q[SZTXZF RVRUWUZV[W[YZZY\\V",655:" 17NXOYQXRWSUSSRRQROSNUNXOZQ[S[UZVYXV",656:" 24OWOVSQUNVLWIWGVFTGSIQQNZKaJdJfKgMfNcOZP[R[TZUYWV",657:" 28L[UUTSRRPRNSMTLVLXMZO[Q[SZTY RVRTYPdOfMgLfLdMaP^S\\U[XY[V",658:" 29M\\MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUUXUZV[W[YZZY\\V",659:" 16PWSMSNTNTMSM RPVRRPXPZQ[R[TZUYWV",660:" 20PWSMSNTNTMSM RPVRRLdKfIgHfHdIaL^O\\Q[TYWV",661:" 33M[MVOSRNSLTITGSFQGPIOMNSM[ RM[NXOVQSSRURVSVUTVQV RQVSWTZU[V[XZYY[V",662:" 18OWOVQSTNULVIVGUFSGRIQMPTPZQ[R[TZUYWV",663:" 33E^EVGSIRJSJTIXH[ RIXJVLSNRPRQSQTPXO[ RPXQVSSURWRXSXUWXWZX[Y[[Z\\Y^V",664:" 23J\\JVLSNROSOTNXM[ RNXOVQSSRURVSVUUXUZV[W[YZZY\\V",665:" 23LZRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXWXYWZV",666:" 24KZKVMSNQMUGg RMUNSPRRRTSUUUWTYSZQ[ RMZO[R[UZWYZV",667:" 27L[UUTSRRPRNSMTLVLXMZO[Q[SZ RVRUUSZPaOdOfPgRfScS\\U[XY[V",668:" 15MZMVOSPQPSSSTTTVSYSZT[U[WZXYZV",669:" 16NYNVPSQQQSSVTXTZR[ RNZP[T[VZWYYV",670:" 16OXOVQSSO RVFPXPZQ[S[UZVYXV RPNWN",671:" 19L[LVNRLXLZM[O[QZSXUU RVRTXTZU[V[XZYY[V",672:" 17L[LVNRMWMZN[O[RZTXUUUR RURVVWWYW[V",673:" 25I^LRJTIWIYJ[L[NZPX RRRPXPZQ[S[UZWXXUXR RXRYVZW\\W^V",674:" 20JZJVLSNRPRQSQZR[U[XYZV RWSVRTRSSOZN[L[KZ",675:" 23L[LVNRLXLZM[O[QZSXUU RVRPdOfMgLfLdMaP^S\\U[XY[V",676:" 23LZLVNSPRRRTTTVSXQZN[P\\Q^QaPdOfMgLfLdMaP^S\\WYZV",677:" 22J\\K[NZQXSVUSWOXKXIWGUFSGRHQJPOPTQXRZT[V[XZYY",683:" 26I[WUWRVOUNSMQMONMPLSLVMYNZP[R[TZVXWUXPXKWHVGTFRFPGNI",684:" 16JZWNUMRMPNNPMSMVNYOZQ[T[VZ RMTUT",685:" 23J[TFRGPJOLNOMTMXNZO[Q[SZUWVUWRXMXIWGVFTF RNPWP",686:" 21H\\VFNb RQMNNLPKSKVLXNZQ[S[VZXXYUYRXPVNSMQM",687:" 16I[XOWNTMQMNNMOLQLSMUOWSZT\\T^S_Q_",700:" 18H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF",701:" 5H\\NJPISFS[",702:" 15H\\LKLJMHNGPFTFVGWHXJXLWNUQK[Y[",703:" 16H\\MFXFRNUNWOXPYSYUXXVZS[P[MZLYKW",704:" 7H\\UFKTZT RUFU[",705:" 18H\\WFMFLOMNPMSMVNXPYSYUXXVZS[P[MZLYKW",706:" 24H\\XIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQLT",707:" 6H\\YFO[ RKFYF",708:" 30H\\PFMGLILKMMONSOVPXRYTYWXYWZT[P[MZLYKWKTLRNPQOUNWMXKXIWGTFPF",709:" 24H\\XMWPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLX",710:" 6MWRYQZR[SZRY",711:" 9MWSZR[QZRYSZS\\R^Q_",712:" 12MWRMQNROSNRM RRYQZR[SZRY",713:" 15MWRMQNROSNRM RSZR[QZRYSZS\\R^Q_",714:" 9MWRFRT RRYQZR[SZRY",715:" 21I[LKLJMHNGPFTFVGWHXJXLWNVORQRT RRYQZR[SZRY",716:" 3NVRFRM",717:" 6JZNFNM RVFVM",718:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",719:" 27H\\PBP_ RTBT_ RYIWGTFPFMGKIKKLMMNOOUQWRXSYUYXWZT[P[MZKX",720:" 3G][BIb",721:" 11KYVBTDRGPKOPOTPYR]T`Vb",722:" 11KYNBPDRGTKUPUTTYR]P`Nb",723:" 3NVRBRb",724:" 3E_IR[R",725:" 6E_RIR[ RIR[R",726:" 6E_IO[O RIU[U",727:" 6G]KKYY RYKKY",728:" 9JZRLRX RMOWU RWOMU",729:" 6MWRQQRRSSRRQ",730:" 8MWSFRGQIQKRLSKRJ",731:" 8MWRHQGRFSGSIRKQL",732:" 9E_UMXP[RXTUW RIR[R",733:" 12H]SBLb RYBRb RLOZO RKUYU",734:" 35E_\\O\\N[MZMYNXPVUTXRZP[L[JZIYHWHUISJRQNRMSKSIRGPFNGMIMKNNPQUXWZY[[[\\Z\\Y",735:" 28G]IIJKKOKUJYI[ R[IZKYOYUZY[[ RIIKJOKUKYJ[I RI[KZOYUYYZ[[",737:" 6KYOBO[ RUBU[",738:" 6F^RBR[ RI[[[",739:" 4F^[BI[[[",740:" 18E_RIQJRKSJRI RIYHZI[JZIY R[YZZ[[\\Z[Y",741:" 33F^RHNLKPJSJUKWMXOXQWRU RRHVLYPZSZUYWWXUXSWRU RRUQYP\\ RRUSYT\\ RP\\T\\",742:" 26F^RNQKPINHMHKIJKJOKRLTNWR\\ RRNSKTIVHWHYIZKZOYRXTVWR\\",743:" 20F^RGPJLOIR RRGTJXO[R RIRLUPZR] R[RXUTZR]",744:" 48F^RTTWVXXXZW[U[SZQXPVPSQ RSQUOVMVKUISHQHOINKNMOOQQ RQQNPLPJQISIUJWLXNXPWRT RRTQYP\\ RRTSYT\\ RP\\T\\",745:" 55F^RRR[Q\\ RRVQ\\ RRIQHOHNINKONRR RRISHUHVIVKUNRR RRRNOLNJNIOIQJR RRRVOXNZN[O[QZR RRRNULVJVIUISJR RRRVUXVZV[U[SZR",746:" 55F^ISJSLTMVMXLZ RISIRJQLQMRNTNWMYLZ RRGPIOLOOQUQXPZR\\ RRGTIULUOSUSXTZR\\ R[S[RZQXQWRVTVWWYXZ R[SZSXTWVWXXZ RKVYV",750:" 18PSSRRSQSPRPQQPRPSQSSRUQV RQQQRRRRQQQ",751:" 16PTQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",752:" 9NVPOTU RTOPU RNRVR",753:" 28MWRKQMOPMR RRKSMUPWR RRMOQ RRMUQ RROPQ RROTQ RQQSQ RMRWR",754:" 26MWMRMQNOONQMSMUNVOWQWR RPNTN ROOUO RNPVP RNQVQ RMRWR",755:" 14LRLFLRRRLF RLIPQ RLLOR RLOMQ",756:" 10MWRKQMOPMR RRKSMUPWR",757:" 11MWWRWQVOUNSMQMONNOMQMR",758:" 13G]]R]P\\MZJWHTGPGMHJJHMGPGR",759:" 11MWMRMSNUOVQWSWUVVUWSWR",760:" 7LXLPNRQSSSVRXP",761:" 6RURUTTURTPRO",762:" 7RVRRUPVNVLUKTK",763:" 7NRRROPNNNLOKPK",764:" 21MWWHVGTFQFOGNHMJMLNNOOUSVTWVWXVZU[S\\P\\N[MZ",765:" 21G]IWHVGTGQHOINKMMMONPOTUUVWWYW[V\\U]S]P\\N[M",766:" 31G]RRTUUVWWYW[V\\U]S]Q\\O[NYMWMUNTOPUOVMWKWIVHUGSGQHOINKMMMONPORR",767:" 22H\\KFK[ RHF[FQP[Z RZV[Y\\[ RZVZY RWYZY RWYZZ\\[",768:" 30KYUARBPCNELHKLKRLUNWQXSXVWXUYR RKPLMNKQJSJVKXMYPYVXZV]T_R`Oa",796:" 3>f>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34<hP<K=G?DAAD?G=K<P<T=Y?]A`DcGeKgPhThYg]e`cc`e]gYhThPgKeGcD`A]?Y=T<P<",907:" 50){O)I*E+@-;073370;-@+E*I)O)U*[+_-d0i3m7q;t@wEyIzO{U{[z_ydwitmqqmtiwdy_z[{U{OzIyEw@t;q7m3i0d-_+[*U)O)",908:" 34>fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q<P@OFNNNVO^PdQhSnUs",2404:" 28I[L+O1R8T=UAVFWNWVV^UcTgRlOsLy RO1Q6S<T@UFVNVVU^TdShQnOs",2405:" 14I[M+MRMy RN+NRNy RM+X+ RMyXy",2406:" 14I[V+VRVy RW+WRWy RL+W+ RLyWy",2407:" 48I[V+S-Q/P1O4O8P<TDUGUJTMRP RS-Q0P4P8Q;UCVGVJUMRPNRRTUWVZV]UaQiPlPpQtSw RRTTWUZU]T`PhOlOpPsQuSwVy",2408:" 48I[N+Q-S/T1U4U8T<PDOGOJPMRP RQ-S0T4T8S;OCNGNJOMRPVRRTOWNZN]OaSiTlTpStQw RRTPWOZO]P`ThUlUpTsSuQwNy",2409:" 32I[V.S1Q4O8N=NCOIPMSXT\\UbUgTlSoQs RS1Q5P8O=OBPHQLTWU[VaVgUlSpQsNv",2410:" 32I[N.Q1S4U8V=VCUITMQXP\\ObOgPlQoSs RQ1S5T8U=UBTHSLPWO[NaNgOlQpSsVv",2411:' 147Z:RARRo R@RQo R?RRr RZ"VJRr',2412:" 57Ca].\\.[/[0\\1]1^0^.],[+Y+W,U.T0S3R:QJQjPsOv R\\/\\0]0]/\\/ RR:Rj RU.T1S:SZRjQqPtOvMxKyIyGxFvFtGsHsItIuHvGv RGtGuHuHtGt",2501:" 20H\\RFJ[ RRIK[J[ RRIY[Z[ RRFZ[ RMUWU RLVXV",2502:" 44H\\LFL[ RMGMZ RLFTFWGXHYJYMXOWPTQ RMGTGWHXJXMWOTP RMPTPWQXRYTYWXYWZT[L[ RMQTQWRXTXWWYTZMZ",2503:" 38H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZV RZKYKXIWHUGQGOHMKLNLSMVOYQZUZWYXXYVZV",2504:" 32H]LFL[ RMGMZ RLFSFVGXIYKZNZSYVXXVZS[L[ RMGSGVHWIXKYNYSXVWXVYSZMZ",2505:" 27I\\MFM[ RNGNZ RMFYF RNGYGYF RNPTPTQ RNQTQ RNZYZY[ RM[Y[",2506:" 21I[MFM[ RNGN[M[ RMFYF RNGYGYF RNPTPTQ RNQTQ",2507:" 44H]ZKYIWGUFQFOGMILKKNKSLVMXOZQ[U[WZYXZVZRUR RZKYKXIWHUGQGOHNIMKLNLSMVNXOYQZUZWYXXYVYSUSUR",2508:" 22G]KFK[ RKFLFL[K[ RYFXFX[Y[ RYFY[ RLPXP RLQXQ",2509:" 8NWRFR[S[ RRFSFS[",2510:" 20J[VFVVUYSZQZOYNVMV RVFWFWVVYUZS[Q[OZNYMV",2511:" 22H]LFL[M[ RLFMFM[ RZFYFMR RZFMS RPOY[Z[ RQOZ[",2512:" 14IZMFM[ RMFNFNZ RNZYZY[ RM[Y[",2513:" 26F^JFJ[ RKKK[J[ RKKR[ RJFRX RZFRX RYKR[ RYKY[Z[ RZFZ[",2514:" 20G]KFK[ RLIL[K[ RLIY[ RKFXX RXFXX RXFYFY[",2515:" 40G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG",2516:" 27H\\LFL[ RMGM[L[ RLFUFWGXHYJYMXOWPUQMQ RMGUGWHXJXMWOUPMP",2517:" 48G]PFNGLIKKJNJSKVLXNZP[T[VZXXYVZSZNYKXIVGTFPF RQGNHLKKNKSLVNYQZSZVYXVYSYNXKVHSGQG RSXX]Y] RSXTXY]",2518:" 34H\\LFL[ RMGM[L[ RLFTFWGXHYJYMXOWPTQMQ RMGTGWHXJXMWOTPMP RRQX[Y[ RSQY[",2519:" 43H\\YIWGTFPFMGKIKKLMMNOOTQVRWSXUXXWYTZPZNYMXKX RYIWIVHTGPGMHLILKMMONTPVQXSYUYXWZT[P[MZKX",2520:" 15J[RGR[ RSGS[R[ RLFYFYG RLFLGYG",2521:" 24G]KFKULXNZQ[S[VZXXYUYF RKFLFLUMXNYQZSZVYWXXUXFYF",2522:" 14H\\JFR[ RJFKFRX RZFYFRX RZFR[",2523:" 26E_GFM[ RGFHFMX RRFMX RRIM[ RRIW[ RRFWX R]F\\FWX R]FW[",2524:" 16H\\KFX[Y[ RKFLFY[ RYFXFK[ RYFL[K[",2525:" 17I\\KFRPR[S[ RKFLFSP RZFYFRP RZFSPS[",2526:" 20H\\XFK[ RYFL[ RKFYF RKFKGXG RLZYZY[ RK[Y[",2551:" 38E\\XFVHTKQPOSLWIZG[E[DZDXEWFXEY RXFWJUTT[ RXFU[ RT[TYSVRTPRNQLQKRKTLWOZR[V[XZ",2552:" 70F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFXFZG[I[KZMXNTORO RXFYGZIZKYMXN RTOWPXQYSYVXYWZU[S[RZRXSU RTOVPWQXSXVWYU[",2553:" 41H]KHJJJLKNNOQOUNWMYKZIZGYFWFTGQJOMMQLULXMZP[R[UZWXXVXTWRURSSRU RWFUGRJPMNQMUMXNZP[",2554:" 43F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWJWLXNZP[S[UZWXYTZOZLYIWGUFPFMGKIJKJMKNMNNMOK",2555:" 49I\\WIVJVLWMYMZKZIYGWFTFRGQHPJPLQNSO RTFRHQJQMSO RSOQONPLRKTKWLYMZO[R[UZWXXVXTWRURSSRU RQOOPMRLTLXMZ",2556:" 46G\\WHVJTORUQWOZM[ RQLPNNOLOKMKKLINGQF[FXGWHVKTSSVRXPZM[K[IZHYHXIWJXIY RSFWGXG ROSPRRQVQXPZMXT",2557:" 53G]JIIKIMJOLPOPROTNWKXHXGWFVFTGRIQKPNPQQSSTUTWSYQZO RWFUGSIRKQNQRST RZOYSWWUYSZO[L[JZIXIWJVKWJX RYSWVUXRZO[",2558:" 55F^LLKKKILGOFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RJTKSMRVOXN[L]J^H^G]F\\FZGXJWLURTVTYV[W[YZ[X R\\FZHXLVRUVUYV[",2559:" 33IYWHUKSPQUPWNZL[ RYLWNTOQOONNLNJOHQGUFYFWHVJTPRVQXOZL[J[IZIXJWKXJY",2560:" 34IZYFWHUKSPPYN] RYMWOTPQPOONMNKOIQGUFYFWIVKSTQXPZN]M^K_J^J\\KZMXOWRVVU",2561:" 59F^LLKKKIMGPFRFOQMWLYKZI[G[FZFXGWHXGY RRFOONRLWKYI[ RZGWKUMSNPO R]G\\H]I^H^G]F\\FZGWLVMTNPO RPOSPTRUYV[ RPORPSRTYV[W[YZ[X",2562:" 40I[MILKLMMOOPRPUOWNZK[H[GZFYFWGVHTKPUOWMZK[ RVHTLRSQVPXNZK[I[HZHXIWKWMXPZR[U[WZYX",2563:" 49D`RFNOKUIXGZE[C[BZBXCWDXCY RRFPMOQNVNZP[ RRFQJPOOVOZP[ R[FWORXP[ R[FYMXQWVWZY[Z[\\Z^X R[FZJYOXVXZY[",2564:" 38G^RFQJOPMULWJZH[F[EZEXFWGXFY RRFRKSVT[ RRFSKTVT[ R`G_H`IaHaG`F^F\\GZJYLWQUWT[",2565:" 34H]SFQGOIMLLNKRKVLYMZO[Q[TZVXXUYSZOZKYHXGWGUHSJQNPSPV RQGOJMNLRLVMYO[",2566:" 53F]UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFVFYGZH[J[MZOYPVQTQRP RVFXGYHZJZMYOXPVQ",2567:" 43H]UJULTNSOQPOPNNNLOIQGTFWFYGZIZMYPWSSWPYNZK[I[HZHXIWKWMXPZS[V[XZZX RWFXGYIYMXPVSSVOYK[",2568:" 65F^UGTHSJQOOUNWLZJ[ RTHSKQSPVOXMZJ[H[GZGXHWIXHY ROLNNMOKOJNJLKJMHOGRFWFZG[I[KZMYNVORO RWFYGZIZKYMXNVO RROUPVRWYX[ RROTPURVYX[Y[[Z]X",2569:" 36H\\NIMKMMNOPPSPVOXN[K\\H\\G[FZFXGWHVJUMSTRWPZN[ RVJUNTUSXQZN[K[IZHXHWIVJWIX",2570:" 38I[YHXJVOTUSWQZO[ RSLRNPONOMMMKNIPGSF\\FZGYHXKVSUVTXRZO[M[KZJYJXKWLXKY RUFYGZG",2571:" 39G]HJJGLFMFOHOKNNKVKYL[ RMFNHNKKSJVJYL[N[PZSWUTVR RZFVRUVUYW[X[ZZ\\X R[FWRVVVYW[",2572:" 36G\\HJJGLFMFOHOKNOLVLYM[ RMFNHNKLRKVKYM[N[QZTWVTXPYMZIZGYFXFWGVIVLWNYP[Q]Q",2573:" 41F]ILHLGKGIHGJFNFMHLLKUJ[ RLLLUK[ RVFTHRLOUMYK[ RVFUHTLSUR[ RTLTUS[ R`F^G\\IZLWUUYS[",2574:" 52H\\PKOLMLLKLIMGOFQFSGTITLSPQUOXMZJ[H[GZGXHWIXHY RQFRGSISLRPPUNXLZJ[ R]G\\H]I^H^G]F[FYGWIULSPRURXSZT[U[WZYX",2575:" 42G]JJLGNFOFQGQIOOORPT ROFPGPINONRPTRTUSWQYNZL R\\FZLWTUX R]F[LYQWUUXSZP[L[JZIXIWJVKWJX",2576:" 44G\\ZHYJWOVRUTSWQYOZL[ RSLRNPONOMMMKNIPGSF]F[GZHYKXOVUTXQZL[H[GZGXHWJWLXOZQ[T[WZYX RVFZG[G",2601:" 36H\\WMW[X[ RWMXMX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2602:" 36H\\LFL[M[ RLFMFM[ RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2603:" 32I[XPVNTMQMONMPLSLUMXOZQ[T[VZXX RXPWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2604:" 36H\\WFW[X[ RWFXFX[ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2605:" 36I[MTXTXQWOVNTMQMONMPLSLUMXOZQ[T[VZXX RMSWSWQVOTNQNOONPMSMUNXOYQZTZVYWWXX",2606:" 24LZWFUFSGRJR[S[ RWFWGUGSH RTGSJS[ ROMVMVN ROMONVN",2607:" 48H\\XMWMW\\V_U`SaQaO`N_L_ RXMX\\W_UaSbPbNaL_ RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2608:" 25H\\LFL[M[ RLFMFM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2609:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMR[S[ RRMSMS[",2610:" 24NWRFQGQHRISITHTGSFRF RRGRHSHSGRG RRMRbSb RRMSMSb",2611:" 22H[LFL[M[ RLFMFM[ RXMWMMW RXMMX RPTV[X[ RQSX[",2612:" 8NWRFR[S[ RRFSFS[",2613:" 42CbGMG[H[ RGMHMH[ RHQKNMMPMRNSQS[ RHQKOMNONQORQR[S[ RSQVNXM[M]N^Q^[ RSQVOXNZN\\O]Q][^[",2614:" 25H\\LML[M[ RLMMMM[ RMQPNRMUMWNXQX[ RMQPORNTNVOWQW[X[",2615:" 36I\\QMONMPLSLUMXOZQ[T[VZXXYUYSXPVNTMQM RQNOONPMSMUNXOYQZTZVYWXXUXSWPVOTNQN",2616:" 36H\\LMLbMb RLMMMMb RMPONQMTMVNXPYSYUXXVZT[Q[OZMX RMPQNTNVOWPXSXUWXVYTZQZMX",2617:" 36H\\WMWbXb RWMXMXb RWPUNSMPMNNLPKSKULXNZP[S[UZWX RWPSNPNNOMPLSLUMXNYPZSZWX",2618:" 21KYOMO[P[ ROMPMP[ RPSQPSNUMXM RPSQQSOUNXNXM",2619:" 50J[XPWNTMQMNNMPNRPSUUWV RVUWWWXVZ RWYTZQZNY ROZNXMX RXPWPVN RWOTNQNNO RONNPOR RNQPRUTWUXWXXWZT[Q[NZMX",2620:" 16MXRFR[S[ RRFSFS[ ROMVMVN ROMONVN",2621:" 25H\\LMLWMZO[R[TZWW RLMMMMWNYPZRZTYWW RWMW[X[ RWMXMX[",2622:" 14JZLMR[ RLMMMRY RXMWMRY RXMR[",2623:" 26F^IMN[ RIMJMNX RRMNX RRPN[ RRPV[ RRMVX R[MZMVX R[MV[",2624:" 16I[LMW[X[ RLMMMX[ RXMWML[ RXMM[L[",2625:" 17JZLMR[ RLMMMRY RXMWMRYNb RXMR[ObNb",2626:" 20I[VNL[ RXMNZ RLMXM RLMLNVN RNZXZX[ RL[X[",2651:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRTXTZV[XZYY[V RWRUXUZV[",2652:" 23LZLVNSPO RSFMXMZO[P[RZTXUUURVVWWXWZV RTFNXNZO[",2653:" 22LXTSSTTTTSSRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2654:" 33K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RZFTXTZV[XZYY[V R[FUXUZV[",2655:" 23LXOYQXRWSUSSRRQROSNTMVMXNZP[S[VYXV RQROTNVNYP[",2656:" 27OXRRUOWLXIXGWFUGTIKdKfLgNfOcPZQ[S[UZVYXV RTISNRRO[M`Kd",2657:" 38K[UUTSRRPRNSMTLVLXMZO[Q[SZTX RPRNTMVMYO[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2658:" 30L[LVNSPO RSFL[ RTFM[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2659:" 19NVSLRMSNTMSL RQROXOZQ[SZTYVV RRRPXPZQ[",2660:" 24NVSLRMSNTMSL RQRKd RRRO[M`KdJfHgGfGdHaJ_M]Q[TYVV",2661:" 31LZLVNSPO RSFL[ RTFM[ RURUSVSURTRRTOU ROURVSZT[ ROUQVRZT[U[XYZV",2662:" 17NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[",2663:" 45E^EVGSIRKSKUI[ RIRJSJUH[ RKUMSORPRRSRUP[ RPRQSQUO[ RRUTSVRWRYSYUXXXZY[ RWRXSXUWXWZY[[Z\\Y^V",2664:" 32I[IVKSMROSOUM[ RMRNSNUL[ ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2665:" 29KYRRPRNSMTLVLXMZO[Q[SZTYUWUUTSRRQSQURWTXVXXWYV RPRNTMVMYO[",2666:" 30L[LVNSPO RQLHg RRLIg ROUQSSRTRVSVUUXUZV[ RTRUSUUTXTZV[XZYY[V",2667:" 35K[UUTSRRPRNSMTLVLXMZO[Q[SZ RPRNTMVMYO[ RVRPdPfQgSfTcT[V[YY[V RWRT[R`Pd",2668:" 24LZLVNSPRRSRUP[ RPRQSQUO[ RRUTSVRWRVU RVRVUWWXWZV",2669:" 22NZNVPSQQQSTUUWUYTZR[ RQSSUTWTYR[ RNZP[U[XYZV",2670:" 20NVNVPSRO RUFOXOZQ[SZTYVV RVFPXPZQ[ RPNVN",2671:" 27K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRTXTZV[XZYY[V RWRUXUZV[",2672:" 23KZNRMTLWLZN[O[RZTXUUUR RORNTMWMZN[ RURVVWWXWZV",2673:" 36H]LRJTIWIZK[L[NZPX RMRKTJWJZK[ RRRPXPZR[S[UZWXXUXR RSRQXQZR[ RXRYVZW[W]V",2674:" 42JZJVLSNRPRQSQUPXOZM[L[KZKYLYKZ RWSVTWTWSVRURSSRUQXQZR[U[XYZV RQSRU RSSQU RPXQZ RQXOZ",2675:" 32K[NRLXLZN[O[QZSXUU RORMXMZN[ RVRPd RWRT[R`PdOfMgLfLdMaO_R]V[YY[V",2676:" 38LYLVNSPRRRTSTVSXPZN[ RRRSSSVRXPZ RN[P\\Q^QaPdNfLgKfKdLaO^R\\VYYV RN[O\\P^PaOdNf",2700:" 42H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF ROGMJLOLRMWOZ RNYQZSZVY RUZWWXRXOWJUG RVHSGQGNH",2701:" 12H\\NJPISFS[ RNJNKPJRHR[S[",2702:" 34H\\LKLJMHNGPFTFVGWHXJXLWNUQL[ RLKMKMJNHPGTGVHWJWLVNTQK[ RLZYZY[ RK[Y[",2703:" 48H\\MFXFQO RMFMGWG RWFPO RQNSNVOXQYTYUXXVZS[P[MZLYKWLW RPOSOVPXS RTOWQXTXUWXTZ RXVVYSZPZMYLW ROZLX",2704:" 18H\\UIU[V[ RVFV[ RVFKVZV RUILV RLUZUZV",2705:" 53H\\MFLO RNGMN RMFWFWG RNGWG RMNPMSMVNXPYSYUXXVZS[P[MZLYKWLW RLOMOONSNVOXR RTNWPXSXUWXTZ RXVVYSZPZMYLW ROZLX",2706:" 62H\\VGWIXIWGTFRFOGMJLOLTMXOZR[S[VZXXYUYTXQVOSNRNOOMQ RWHTGRGOH RPGNJMOMTNXQZ RMVOYRZSZVYXV RTZWXXUXTWQTO RXSVPSOROOPMS RQONQMT",2707:" 12H\\KFYFO[ RKFKGXG RXFN[O[",2708:" 68H\\PFMGLILKMMNNPOTPVQWRXTXWWYTZPZMYLWLTMRNQPPTOVNWMXKXIWGTFPF RNGMIMKNMPNTOVPXRYTYWXYWZT[P[MZLYKWKTLRNPPOTNVMWKWIVG RWHTGPGMH RLXOZ RUZXX",2709:" 62H\\WPURRSQSNRLPKMKLLINGQFRFUGWIXMXRWWUZR[P[MZLXMXNZ RWMVPSR RWNUQRRQRNQLN RPRMPLMLLMIPG RLKNHQGRGUHWK RSGVIWMWRVWTZ RUYRZPZMY",2710:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2711:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2712:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2713:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",2714:" 24MXRFRTST RRFSFST RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2715:" 58I\\LKLJMHNGQFTFWGXHYJYLXNWOUPRQ RLKMKMJNHQGTGWHXJXLWNUORP RMIPG RUGXI RXMTP RRPRTSTSP RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",2716:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",2717:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",2718:" 71F_\\MZMXNWPUVTXSYQZMZKYJWJUKSLRQOSMTKTISGQFPFNGMIMKNNPQUWXZZ[\\[ R\\M\\NZNXO RYNXPVVUXSZQ[M[KZJYIWIUJSLQQNRMSKSIRG RSHQGPGNH ROGNINKONQQVWXYZZ\\Z\\[",2719:" 51I\\RBR_S_ RRBSBS_ RWIYIWGTFQFNGLILKMMNNVRWSXUXWWYTZQZOYNX RWIVHTGQGNHMIMKNMVQXSYUYWXYWZT[Q[NZLXNX RXXUZ",2720:" 8G^[BIbJb R[B\\BJb",2721:" 24KYUBSDQGOKNPNTOYQ]S`UbVb RUBVBTDRGPKOPOTPYR]T`Vb",2722:" 24KYNBPDRGTKUPUTTYR]P`NbOb RNBOBQDSGUKVPVTUYS]Q`Ob",2723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",2724:" 8F_JQ[Q[R RJQJR[R",2725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",2726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",2727:" 11NWSFRGRM RSGRM RSFTGRM",2728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",2729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",2750:" 42H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RTFRGPINLMOLSLVMYO[ RQ[SZUXWUXRYNYKXHVF",2751:" 15H]TJO[ RVFP[ RVFSIPKNL RUIQKNL",2752:" 42H]OJPKOLNKNJOHPGSFVFYGZIZKYMWOTQPSMUKWI[ RVFXGYIYKXMVOPS RJYKXMXRZUZWYXW RMXR[U[WZXW",2753:" 50H]OJPKOLNKNJOHPGSFVFYGZIZKYMVOSP RVFXGYIYKXMVO RQPSPVQWRXTXWWYVZS[O[LZKYJWJVKULVKW RSPUQVRWTWWVYUZS[",2754:" 10H]XGR[ RYFS[ RYFJUZU",2755:" 39H]QFLP RQF[F RQGVG[F RLPMOPNSNVOWPXRXUWXUZR[O[LZKYJWJVKULVKW RSNUOVPWRWUVXTZR[",2756:" 46H]YIXJYKZJZIYGWFTFQGOIMLLOKSKWLYMZO[R[UZWXXVXSWQVPTOQOOPMRLT RTFRGPINLMOLSLXMZ RR[TZVXWVWRVP",2757:" 30H]NFLL R[FZIXLSRQUPWO[ RXLRRPUOWN[ RMIPFRFWI RNHPGRGWIYIZH[F",2758:" 63H]SFPGOHNJNMOOQPTPXOYNZLZIYGVFSF RSFQGPHOJOMPOQP RTPWOXNYLYIXGVF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RQPNQLSKUKXLZN[ RR[UZVYWWWSVQ",2759:" 46H]YMXOVQTRQROQNPMNMKNIPGSFVFXGYHZJZNYRXUVXTZQ[N[LZKXKWLVMWLX ROQNONKOIQGSF RXGYIYNXRWUUXSZQ[",2760:" 6MXPYOZP[QZPY",2761:" 8MXP[OZPYQZQ[P]N_",2762:" 11MXSMRNSOTNSM RPYOZP[QZ",2763:" 14MXSMRNSOTNSM RP[OZPYQZQ[P]N_",2764:" 17MXUFTGRS RUGRS RUFVGRS RPYOZP[QZPY",2765:" 34H]OJPKOLNKNJOHPGSFWFZG[I[KZMYNSPQQQSRTTT RWFYGZIZKYMXNVO RPYOZP[QZPY",2766:" 8MXVFTHSJSKTLUKTJ",2767:" 8MXUHTGUFVGVHUJSL",2768:" 55E_\\N[O\\P]O]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQUSXUZW[Y[ZYZX RK[IZHXHVITJSPP ROLPQQTSWUYWZYZZY",2769:" 41H]TBL_ RYBQ_ RZJYKZL[K[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJVKULVKW",2770:" 3G]_BEb",2771:" 20KZZBVESHQKOONTNXO]P`Qb RVESIQMPPOUOZP_Qb",2772:" 20JYSBTDUGVLVPUUSYQ\\N_Jb RSBTEUJUOTTSWQ[N_",2773:" 9J[TFTR ROIYO RYIOO",2774:" 3E_IR[R",2775:" 6E_RIR[ RIR[R",2776:" 6E_IO[O RIU[U",2777:" 6NWUFSM RVFSM",2778:" 12I[PFNM RQFNM RYFWM RZFWM",2779:" 14KZSFQGPIPKQMSNUNWMXKXIWGUFSF",2801:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2802:" 31G]LFL[ RMFM[ RIFYFYLXF RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2803:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2804:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2805:" 31F^NFNLMTLXKZJ[ RXFX[ RYFY[ RKF\\F RG[\\[ RG[Gb RH[Gb R[[\\b R\\[\\b",2806:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2807:" 71CbRFR[ RSFS[ ROFVF RGGHHGIFHFGGFHFIGJIKMLONPWPYOZM[I\\G]F^F_G_H^I]H^G RNPLQKSJXIZH[ RNPMQLSKXJZI[G[FZEX RWPYQZS[X\\Z][ RWPXQYSZX[Z\\[^[_Z`X RO[V[",2808:" 45H\\LIKFKLLINGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[O[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2809:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[",2810:" 37F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RXHLY RH[O[ RU[\\[ RN@N?M?M@NBPCTCVBW@",2811:" 43F^KFK[ RLFL[ RHFOF RLPSPUOVMWIXGYFZF[G[HZIYHZG RSPUQVSWXXZY[ RSPTQUSVXWZX[Z[[Z\\X RH[O[",2812:" 25E^MFMLLTKXJZI[H[GZGYHXIYHZ RXFX[ RYFY[ RJF\\F RU[\\[",2813:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2814:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2815:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2816:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2817:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2818:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2819:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2820:" 24H]KFRV RLFSV RZFSVQYPZN[M[LZLYMXNYMZ RIFOF RVF\\F",2821:" 48F_RFR[ RSFS[ ROFVF RPILJJLIOIRJULWPXUXYW[U\\R\\O[LYJUIPI RPIMJKLJOJRKUMWPX RUXXWZU[R[OZLXJUI RO[V[",2822:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2823:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RH[\\[ R[[\\b R\\[\\b",2824:" 28F]KFKQLSOTRTUSWQ RLFLQMSOT RWFW[ RXFX[ RHFOF RTF[F RT[[[",2825:" 30BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[",2826:" 36BcGFG[ RHFH[ RRFR[ RSFS[ R]F][ R^F^[ RDFKF ROFVF RZFaF RD[a[ R`[ab Ra[ab",2827:" 31F`PFP[ RQFQ[ RIFHLHFTF RQPXP[Q\\R]T]W\\Y[ZX[M[ RXPZQ[R\\T\\W[YZZX[",2828:" 41CaHFH[ RIFI[ REFLF RIPPPSQTRUTUWTYSZP[E[ RPPRQSRTTTWSYRZP[ R[F[[ R\\F\\[ RXF_F RX[_[",2829:" 29H]MFM[ RNFN[ RJFQF RNPUPXQYRZTZWYYXZU[J[ RUPWQXRYTYWXYWZU[",2830:" 39H]LIKFKLLINGQFSFVGXIYKZNZSYVXXVZS[P[MZLYKWKVLUMVLW RSFUGWIXKYNYSXVWXUZS[ RPPYP",2831:" 59CbHFH[ RIFI[ REFLF RE[L[ RVFSGQIPKOOORPVQXSZV[X[[Z]X^V_R_O^K]I[GXFVF RVFTGRIQKPOPRQVRXTZV[ RX[ZZ\\X]V^R^O]K\\IZGXF RIPOP",2832:" 45G]WFW[ RXFX[ R[FOFLGKHJJJLKNLOOPWP ROFMGLHKJKLLNMOOP RRPPQORLYKZJZIY RPQOSMZL[J[IYIX RT[[[",2901:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2902:" 48H\\XFWGQINKLNKQKULXNZQ[S[VZXXYUYSXPVNSMQMNNLPKS RXFWHUIQJNLLN RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2903:" 37H\\MMM[ RNMN[ RJMUMXNYPYQXSUT RUMWNXPXQWSUT RNTUTXUYWYXXZU[J[ RUTWUXWXXWZU[",2904:" 14HZMMM[ RNMN[ RJMXMXRWM RJ[Q[",2905:" 22F]NMNQMWLZK[ RWMW[ RXMX[ RKM[M RI[H`H[[[[`Z[",2906:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2907:" 59E`RMR[ RSMS[ ROMVM RJNIOHNIMJMKNMRNSPTUTWSXRZN[M\\M]N\\O[N RPTNUMVKZJ[ RPTNVLZK[I[HZGX RUTWUXVZZ[[ RUTWVYZZ[\\[]Z^X RO[V[",2908:" 42I[MOLMLQMONNPMTMWNXPXQWSTT RTMVNWPWQVSTT RQTTTWUXWXXWZT[P[MZLXLWMVNWMX RTTVUWWWXVZT[",2909:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ",2910:" 37G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[P[ RT[[[ RWNMZ ROGOFNFNGOIQJSJUIVG",2911:" 38H\\MMM[ RNMN[ RJMQM RNTPTSSTRVNWMXMYNXOWN RPTSUTVVZW[ RPTRUSVUZV[X[YZZX RJ[Q[",2912:" 22G]NMNQMWLZK[J[IZJYKZ RWMW[ RXMX[ RKM[M RT[[[",2913:" 30G^LML[ RLMR[ RMMRY RXMR[ RXMX[ RYMY[ RIMMM RXM\\M RI[O[ RU[\\[",2914:" 27G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RMTWT RI[P[ RT[[[",2915:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2916:" 21G]LML[ RMMM[ RWMW[ RXMX[ RIM[M RI[P[ RT[[[",2917:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2918:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2919:" 16I\\RMR[ RSMS[ RMMLRLMYMYRXM RO[V[",2920:" 22I[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2921:" 52H]RFRb RSFSb ROFSF RRPQNPMNMLNKQKWLZN[P[QZRX RNMMNLQLWMZN[ RWMXNYQYWXZW[ RSPTNUMWMYNZQZWYZW[U[TZSX RObVb",2922:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2923:" 23G]LML[ RMMM[ RWMW[ RXMX[ RIMPM RTM[M RI[[[[`Z[",2924:" 28G]LMLTMVPWRWUVWT RMMMTNVPW RWMW[ RXMX[ RIMPM RTM[M RT[[[",2925:" 30CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[",2926:" 32CbHMH[ RIMI[ RRMR[ RSMS[ R\\M\\[ R]M][ REMLM ROMVM RYM`M RE[`[``_[",2927:" 27H]QMQ[ RRMR[ RLMKRKMUM RRTVTYUZWZXYZV[N[ RVTXUYWYXXZV[",2928:" 37E_JMJ[ RKMK[ RGMNM RKTOTRUSWSXRZO[G[ ROTQURWRXQZO[ RYMY[ RZMZ[ RVM]M RV[][",2929:" 25J[OMO[ RPMP[ RLMSM RPTTTWUXWXXWZT[L[ RTTVUWWWXVZT[",2930:" 34I\\MOLMLQMONNPMSMVNXPYSYUXXVZS[P[NZLXLWMVNWMX RSMUNWPXSXUWXUZS[ RRTXT",2931:" 51DaIMI[ RJMJ[ RFMMM RF[M[ RVMSNQPPSPUQXSZV[X[[Z]X^U^S]P[NXMVM RVMTNRPQSQURXTZV[ RX[ZZ\\X]U]S\\PZNXM RJTPT",2932:" 40G\\VMV[ RWMW[ RZMOMLNKPKQLSOTVT ROMMNLPLQMSOT RTTQUPVNZM[ RTTRUQVOZN[L[KZJX RS[Z[",3001:" 36H\\RFKZ RQIW[ RRIX[ RRFY[ RMUVU RI[O[ RT[[[ RKZJ[ RKZM[ RWZU[ RWYV[ RXYZ[",3002:" 78G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUP RXHYJYLXN RUFWGXIXMWOUP RNPUPXQYRZTZWYYXZU[I[ RXRYTYWXY RUPWQXSXXWZU[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3003:" 37G\\XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXXYV RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[",3004:" 62G]LFL[ RMGMZ RNFN[ RIFSFVGXIYKZNZSYVXXVZS[I[ RWIXKYNYSXVWX RSFUGWJXNXSWWUZS[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3005:" 83G\\LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Y[YU RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[ RT[YZ RV[YY RW[YX RX[YU",3006:" 70G[LFL[ RMGMZ RNFN[ RIFYFYL RNPTP RTLTT RI[Q[ RJFLG RKFLH ROFNH RPFNG RTFYG RVFYH RWFYI RXFYL RTLSPTT RTNRPTR RTOPPTQ RLZJ[ RLYK[ RNYO[ RNZP[",3007:" 60G^XIYFYLXIVGTFQFNGLIKKJNJSKVLXNZQ[T[VZXZY[YS RMILKKNKSLVMX RQFOGMJLNLSMWOZQ[ RXTXY RWSWYVZ RTS\\S RUSWT RVSWU RZSYU R[SYT",3008:" 81F^KFK[ RLGLZ RMFM[ RWFW[ RXGXZ RYFY[ RHFPF RTF\\F RMPWP RH[P[ RT[\\[ RIFKG RJFKH RNFMH ROFMG RUFWG RVFWH RZFYH R[FYG RKZI[ RKYJ[ RMYN[ RMZO[ RWZU[ RWYV[ RYYZ[ RYZ[[",3009:" 39LXQFQ[ RRGRZ RSFS[ RNFVF RN[V[ ROFQG RPFQH RTFSH RUFSG RQZO[ RQYP[ RSYT[ RSZU[",3010:" 45JYSFSWRZQ[ RTGTWSZ RUFUWTZQ[O[MZLXLVMUNUOVOWNXMX RMVMWNWNVMV RPFXF RQFSG RRFSH RVFUH RWFUG",3011:" 69F\\KFK[ RLGLZ RMFM[ RXGMR RPPW[ RQPX[ RQNY[ RHFPF RUF[F RH[P[ RT[[[ RIFKG RJFKH RNFMH ROFMG RWFXG RZFXG RKZI[ RKYJ[ RMYN[ RMZO[ RWYU[ RWYZ[",3012:" 52I[NFN[ ROGOZ RPFP[ RKFSF RK[Z[ZU RLFNG RMFNH RQFPH RRFPG RNZL[ RNYM[ RPYQ[ RPZR[ RU[ZZ RW[ZY RX[ZX RY[ZU",3013:" 63E_JFJZ RJFQ[ RKFQX RLFRX RXFQ[ RXFX[ RYGYZ RZFZ[ RGFLF RXF]F RG[M[ RU[][ RHFJG R[FZH R\\FZG RJZH[ RJZL[ RXZV[ RXYW[ RZY[[ RZZ\\[",3014:" 39F^KFKZ RKFY[ RLFXX RMFYX RYGY[ RHFMF RVF\\F RH[N[ RIFKG RWFYG R[FYG RKZI[ RKZM[",3015:" 54G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF",3016:" 59G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZMYOXPUQNQ RXHYJYMXO RUFWGXIXNWPUQ RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3017:" 77G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RMILKKNKSLVMX RWXXVYSYNXKWI RQFOGMJLNLSMWOZQ[ RS[UZWWXSXNWJUGSF RNXOVQURUTVUXV^W`Y`Z^Z\\ RV\\W^X_Y_ RUXW]X^Y^Z]",3018:" 80G]LFL[ RMGMZ RNFN[ RIFUFXGYHZJZLYNXOUPNP RXHYJYLXN RUFWGXIXMWOUP RRPTQUSWYX[Z[[Y[W RWWXYYZZZ RTQURXXYYZY[X RI[Q[ RJFLG RKFLH ROFNH RPFNG RLZJ[ RLYK[ RNYO[ RNZP[",3019:" 44H\\XIYFYLXIVGSFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[Q[NZLXKUK[LX",3020:" 57H\\JFJL RQFQ[ RRGRZ RSFS[ RZFZL RJFZF RN[V[ RKFJL RLFJI RMFJH ROFJG RUFZG RWFZH RXFZI RYFZL RQZO[ RQYP[ RSYT[ RSZU[",3021:" 45F^KFKULXNZQ[S[VZXXYUYG RLGLVMX RMFMVNYOZQ[ RHFPF RVF\\F RIFKG RJFKH RNFMH ROFMG RWFYG R[FYG",3022:" 34H\\KFR[ RLFRXR[ RMFSX RYGR[ RIFPF RUF[F RJFLH RNFMH ROFMG RWFYG RZFYG",3023:" 55F^JFN[ RKFNVN[ RLFOV RRFOVN[ RRFV[ RSFVVV[ RTFWV RZGWVV[ RGFOF RRFTF RWF]F RHFKG RIFKH RMFLH RNFLG RXFZG R\\FZG",3024:" 54H\\KFW[ RLFX[ RMFY[ RXGLZ RIFPF RUF[F RI[O[ RT[[[ RJFMH RNFMH ROFMG RVFXG RZFXG RLZJ[ RLZN[ RWZU[ RWYV[ RWYZ[",3025:" 48G]JFQQQ[ RKFRQRZ RLFSQS[ RYGSQ RHFOF RVF\\F RN[V[ RIFKG RNFLG RWFYG R[FYG RQZO[ RQYP[ RSYT[ RSZU[",3026:" 41H\\YFKFKL RWFK[ RXFL[ RYFM[ RK[Y[YU RLFKL RMFKI RNFKH RPFKG RT[YZ RV[YY RW[YX RX[YU",3051:" 38H\\UFIZ RSJT[ RTHUZ RUFUHVYV[ RLUTU RF[L[ RQ[X[ RIZG[ RIZK[ RTZR[ RTYS[ RVYW[",3052:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVP RYGZIZKYNXO RWFXGYIYKXNVP RNPVPXQYSYUXXVZR[F[ RWQXSXUWXUZ RVPWRWUVXTZR[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3053:" 41H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RQHOJNLMOLSLWMY RTFRGPJOLNOMSMXNZP[",3054:" 63F]OFI[ RPFJ[ RQFK[ RLFUFXGYHZKZOYSWWUYSZO[F[ RWGXHYKYOXSVWTY RUFWHXKXOWSUWRZO[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3055:" 80F]OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[U[WV RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[ RP[UZ RR[UY RUYWV",3056:" 70F\\OFI[ RPFJ[ RQFK[ RULST RLF[FZL RNPTP RF[N[ RMFPG RNFOH RRFPH RSFPG RWFZG RXFZH RYFZI RZFZL RULSPST RTNRPSR RTOQPSQ RJZG[ RJYH[ RKYL[ RJZM[",3057:" 65H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RQHOJNLMOLSLWMY RVXWWXT RTFRGPJOLNOMSMXNZP[ RR[TZVWWT RTT\\T RUTWU RVTWW RZTXV R[TXU",3058:" 81E_NFH[ ROFI[ RPFJ[ RZFT[ R[FU[ R\\FV[ RKFSF RWF_F RLPXP RE[M[ RQ[Y[ RLFOG RMFNH RQFOH RRFOG RXF[G RYFZH R]F[H R^F[G RIZF[ RIYG[ RJYK[ RIZL[ RUZR[ RUYS[ RVYW[ RUZX[",3059:" 39KYTFN[ RUFO[ RVFP[ RQFYF RK[S[ RRFUG RSFTH RWFUH RXFUG ROZL[ ROYM[ RPYQ[ ROZR[",3060:" 47I\\WFRWQYO[ RXFTSSVRX RYFUSSXQZO[M[KZJXJVKULUMVMWLXKX RKVKWLWLVKV RTF\\F RUFXG RVFWH RZFXH R[FXG",3061:" 72F]OFI[ RPFJ[ RQFK[ R\\GMR RQOU[ RROV[ RSNWZ RLFTF RYF_F RF[N[ RR[Y[ RMFPG RNFOH RRFPH RSFPG RZF\\G R^F\\G RJZG[ RJYH[ RKYL[ RJZM[ RUZS[ RUYT[ RVYX[",3062:" 49H\\QFK[ RRFL[ RSFM[ RNFVF RH[W[YU ROFRG RPFQH RTFRH RUFRG RLZI[ RLYJ[ RMYN[ RLZO[ RR[WZ RT[XX RV[YU",3063:" 68D`MFGZ RMGNYN[ RNFOY ROFPX R[FPXN[ R[FU[ R\\FV[ R]FW[ RJFOF R[F`F RD[J[ RR[Z[ RKFMG RLFMH R^F\\H R_F\\G RGZE[ RGZI[ RVZS[ RVYT[ RWYX[ RVZY[",3064:" 43F_OFIZ ROFV[ RPFVX RQFWX R\\GWXV[ RLFQF RYF_F RF[L[ RMFPG RNFPH RZF\\G R^F\\G RIZG[ RIZK[",3065:" 56G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF",3066:" 60F]OFI[ RPFJ[ RQFK[ RLFXF[G\\I\\K[NYPUQMQ RZG[I[KZNXP RXFYGZIZKYNWPUQ RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3067:" 78G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF ROIMLLOKSKWLY RUXWUXRYNYJXH RSFQGOJNLMOLSLXMZN[ RQ[SZUWVUWRXNXIWGVF RLXMVOUPURVSXT]U^V^W] RT^U_V_ RSXS_T`V`W]W\\",3068:" 78F^OFI[ RPFJ[ RQFK[ RLFWFZG[I[KZNYOVPNP RYGZIZKYNXO RWFXGYIYKXNVP RRPTQURWXXYYYZX RWYXZYZ RURVZW[Y[ZXZW RF[N[ RMFPG RNFOH RRFPH RSFPG RJZG[ RJYH[ RKYL[ RJZM[",3069:" 44G^ZH[H\\F[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJUI[JYKY",3070:" 54G]TFN[ RUFO[ RVFP[ RMFKL R]F\\L RMF]F RK[S[ RNFKL RPFLI RRFMG RYF\\G RZF\\H R[F\\I R\\F\\L ROZL[ ROYM[ RPYQ[ ROZR[",3071:" 48F_NFKQJUJXKZN[R[UZWXXU\\G ROFLQKUKYLZ RPFMQLULYN[ RKFSF RYF_F RLFOG RMFNH RQFOH RRFOG RZF\\G R^F\\G",3072:" 35H\\NFNHOYO[ ROGPX RPFQW R[GO[ RLFSF RXF^F RMFNH RQFPH RRFOG RYF[G R]F[G",3073:" 57E_MFMHKYK[ RNGLX ROFMW RUFMWK[ RUFUHSYS[ RVGTX RWFUW R]GUWS[ RJFRF RUFWF RZF`F RKFNG RLFMH RPFNI RQFNG R[F]G R_F]G",3074:" 54G]NFT[ ROFU[ RPFV[ R[GIZ RLFSF RXF^F RF[L[ RQ[X[ RMFOH RQFPH RRFPG RYF[G R]F[G RIZG[ RIZK[ RTZR[ RTYS[ RUYW[",3075:" 51G]MFQPN[ RNFRPO[ ROFSPP[ R\\GSP RKFRF RYF_F RK[S[ RLFNG RPFOH RQFNG RZF\\G R^F\\G ROZL[ ROYM[ RPYQ[ ROZR[",3076:" 35G]ZFH[ R[FI[ R\\FJ[ R\\FNFLL RH[V[XU ROFLL RPFMI RRFNG RR[VZ RT[WX RU[XU",3101:" 54I]NPNOOOOQMQMONNPMTMVNWOXQXXYZZ[ RVOWQWXXZ RTMUNVPVXWZZ[[[ RVRUSPTMULWLXMZP[S[UZVX RNUMWMXNZ RUSQTOUNWNXOZP[",3102:" 47G\\LFL[MZOZ RMGMY RIFNFNZ RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RJFLG RKFLH",3103:" 34H[WQWPVPVRXRXPVNTMQMNNLPKSKULXNZQ[S[VZXX RMPLRLVMX RQMONNOMRMVNYOZQ[",3104:" 52H]VFV[[[ RWGWZ RSFXFX[ RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RTFVG RUFVH RXYY[ RXZZ[",3105:" 41H[MSXSXQWOVNSMQMNNLPKSKULXNZQ[S[VZXX RWRWQVO RMPLRLVMX RVSVPUNSM RQMONNOMRMVNYOZQ[",3106:" 40KYWHWGVGVIXIXGWFTFRGQHPKP[ RRHQKQZ RTFSGRIR[ RMMVM RM[U[ RPZN[ RPYO[ RRYS[ RRZT[",3107:" 89I\\XNYOZNYMXMVNUO RQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM ROONQNSOU RUUVSVQUO RQMPNOPOTPVQW RSWTVUTUPTNSM RNUMVLXLYM[N\\Q]U]X^Y_ RN[Q\\U\\X] RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[ RObMaL_L^M\\O[",3108:" 65G^LFL[ RMGMZ RIFNFN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJFLG RKFLH RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3109:" 43LXQFQHSHSFQF RRFRH RQGSG RQMQ[ RRNRZ RNMSMS[ RN[V[ ROMQN RPMQO RQZO[ RQYP[ RSYT[ RSZU[",3110:" 41KXRFRHTHTFRF RSFSH RRGTG RRMR^QaPb RSNS]R` ROMTMT]S`RaPbMbLaL_N_NaMaM` RPMRN RQMRO",3111:" 61G]LFL[ RMGMZ RIFNFN[ RWNNW RRSY[ RRTX[ RQTW[ RTM[M RI[Q[ RT[[[ RJFLG RKFLH RUMWN RZMWN RLZJ[ RLYK[ RNYO[ RNZP[ RWYU[ RVYZ[",3112:" 31LXQFQ[ RRGRZ RNFSFS[ RN[V[ ROFQG RPFQH RQZO[ RQYP[ RSYT[ RSZU[",3113:" 99AcFMF[ RGNGZ RCMHMH[ RHQIOJNLMOMQNROSRS[ RQORRRZ ROMPNQQQ[ RSQTOUNWMZM\\N]O^R^[ R\\O]R]Z RZM[N\\Q\\[ RC[K[ RN[V[ RY[a[ RDMFN REMFO RFZD[ RFYE[ RHYI[ RHZJ[ RQZO[ RQYP[ RSYT[ RSZU[ R\\ZZ[ R\\Y[[ R^Y_[ R^Z`[",3114:" 65G^LML[ RMNMZ RIMNMN[ RNQOOPNRMUMWNXOYRY[ RWOXRXZ RUMVNWQW[ RI[Q[ RT[\\[ RJMLN RKMLO RLZJ[ RLYK[ RNYO[ RNZP[ RWZU[ RWYV[ RYYZ[ RYZ[[",3115:" 46H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RMPLRLVMX RWXXVXRWP RQMONNOMRMVNYOZQ[ RS[UZVYWVWRVOUNSM",3116:" 60G\\LMLb RMNMa RIMNMNb RNPONQMSMVNXPYSYUXXVZS[Q[OZNX RWPXRXVWX RSMUNVOWRWVVYUZS[ RIbQb RJMLN RKMLO RLaJb RL`Kb RN`Ob RNaPb",3117:" 55H\\VNVb RWOWa RUNWNXMXb RVPUNSMQMNNLPKSKULXNZQ[S[UZVX RMPLRLVMX RQMONNOMRMVNYOZQ[ RSb[b RVaTb RV`Ub RX`Yb RXaZb",3118:" 43IZNMN[ RONOZ RKMPMP[ RWOWNVNVPXPXNWMUMSNQPPS RK[S[ RLMNN RMMNO RNZL[ RNYM[ RPYQ[ RPZR[",3119:" 43J[WOXMXQWOVNTMPMNNMOMQNSPTUUWVXY RNNMQ RNRPSUTWU RXVWZ RMONQPRUSWTXVXYWZU[Q[OZNYMWM[NY",3120:" 22KZPHPVQYRZT[V[XZYX RQHQWRY RPHRFRWSZT[ RMMVM",3121:" 43G^LMLVMYNZP[S[UZVYWW RMNMWNY RIMNMNWOZP[ RWMW[\\[ RXNXZ RTMYMY[ RJMLN RKMLO RYYZ[ RYZ[[",3122:" 31I[LMR[ RMMRY RNMSY RXNSYR[ RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3123:" 45F^JMN[ RKMNX RLMOX RRMOXN[ RRMV[ RSMVX RRMTMWX RZNWXV[ RGMOM RWM]M RHMKN RNMLN RXMZN R\\MZN",3124:" 48H\\LMV[ RMMW[ RNMX[ RWNMZ RJMQM RTMZM RJ[P[ RS[Z[ RKMMN RPMNN RUMWN RYMWN RMZK[ RMZO[ RVZT[ RWZY[",3125:" 40H[LMR[ RMMRY RNMSY RXNSYP_NaLbJbIaI_K_KaJaJ` RJMQM RTMZM RKMNO RPMNN RVMXN RYMXN",3126:" 41I[VML[ RWMM[ RXMN[ RXMLMLQ RL[X[XW RMMLQ RNMLP ROMLO RQMLN RS[XZ RU[XY RV[XX RW[XW",3151:" 50G]WMUTUXVZW[Y[[Y\\W RXMVTVZ RWMYMWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RNNLQKTKWLY RPMNOMQLTLWMZN[",3152:" 52I\\PFNMMSMWNYOZQ[S[VZXWYTYRXOWNUMSMQNPOOQNT RQFOMNQNWOZ RVYWWXTXQWO RMFRFPMNT RS[UYVWWTWQVNUM RNFQG ROFPH",3153:" 34I[WQWPVPVRXRXPWNUMRMONMQLTLVMYNZP[R[UZWW ROONQMTMWNY RRMPOOQNTNWOZP[",3154:" 58G]YFVQUUUXVZW[Y[[Y\\W RZFWQVUVZ RVF[FWTVX RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RWFZG RXFYH",3155:" 33I[MVQUTTWRXPWNUMRMONMQLTLVMYNZP[R[UZWX ROONQMTMWNY RRMPOOQNTNWOZP[",3156:" 45JZZHZGYGYI[I[GZFXFVGTISKRNQRO[N^M`Kb RTJSMRRP[O^ RXFVHUJTMSRQZP]O_MaKbIbHaH_J_JaIaI` RNMYM",3157:" 57H]XMT[S^QaOb RYMU[S_ RXMZMV[T_RaObLbJaI`I^K^K`J`J_ RVTVQUNSMQMNNLQKTKVLYMZO[Q[SZTYUWVT RNOMQLTLWMY RQMOONQMTMWNZO[",3158:" 41G]OFI[K[ RPFJ[ RLFQFK[ RMTOPQNSMUMWNXPXSVX RWNWRVVVZ RWPUUUXVZW[Y[[Y\\W RMFPG RNFOH",3159:" 35KXSFSHUHUFSF RTFTH RSGUG RLQMOOMQMRNSPSSQX RRNRRQVQZ RRPPUPXQZR[T[VYWW",3160:" 45KXUFUHWHWFUF RVFVH RUGWG RMQNOPMRMSNTPTSRZQ]P_NaLbJbIaI_K_KaJaJ` RSNSSQZP]O_ RSPRTP[O^N`Lb",3161:" 49G]OFI[K[ RPFJ[ RLFQFK[ RYOYNXNXPZPZNYMWMUNQROS RMSOSQTRUTYUZWZ RQUSYTZ ROSPTRZS[U[WZYW RMFPG RNFOH",3162:" 26LXTFQQPUPXQZR[T[VYWW RUFRQQUQZ RQFVFRTQX RRFUG RSFTH",3163:" 61@cAQBODMFMGNHPHSF[ RGNGSE[ RGPFTD[F[ RHSJPLNNMPMRNSPSSQ[ RRNRSP[ RRPQTO[Q[ RSSUPWNYM[M]N^P^S\\X R]N]R\\V\\Z R]P[U[X\\Z][_[aYbW",3164:" 42F^GQHOJMLMMNNPNSL[ RMNMSK[ RMPLTJ[L[ RNSPPRNTMVMXNYPYSWX RXNXRWVWZ RXPVUVXWZX[Z[\\Y]W",3165:" 46H\\QMNNLQKTKVLYMZP[S[VZXWYTYRXOWNTMQM RNOMQLTLWMY RVYWWXTXQWO RQMOONQMTMWNZP[ RS[UYVWWTWQVNTM",3166:" 66G]HQIOKMMMNNOPOSNWKb RNNNSMWJb RNPMTIb ROTPQQORNTMVMXNYOZRZTYWWZT[R[PZOWOT RXOYQYTXWWY RVMWNXQXTWWVYT[ RFbNb RJaGb RJ`Hb RK`Lb RJaMb",3167:" 57G\\WMQb RXMRb RWMYMSb RUTUQTNRMPMMNKQJTJVKYLZN[P[RZSYTWUT RMOLQKTKWLY RPMNOMQLTLWMZN[ RNbVb RRaOb RR`Pb RS`Tb RRaUb",3168:" 30I[JQKOMMOMPNQPQTO[ RPNPTN[ RPPOTM[O[ RYOYNXNXPZPZNYMWMUNSPQT",3169:" 47J[XPXOWOWQYQYOXNUMRMONNONQOSQTTUVVWX RONNQ RORQSTTVU RWVVZ RNOOQQRTSVTWVWXVZS[P[MZLYLWNWNYMYMX",3170:" 23KYTFQQPUPXQZR[T[VYWW RUFRQQUQZ RTFVFRTQX RNMXM",3171:" 42F^GQHOJMLMMNNPNSLX RMNMRLVLZ RMPKUKXLZN[P[RZTXVU RXMVUVXWZX[Z[\\Y]W RYMWUWZ RXMZMXTWX",3172:" 29H\\IQJOLMNMONPPPSNX RONORNVNZ ROPMUMXNZP[R[TZVXXUYQYMXMXNYP",3173:" 48CaDQEOGMIMJNKPKSIX RJNJRIVIZ RJPHUHXIZK[M[OZQXRU RTMRURXSZU[W[YZ[X]U^Q^M]M]N^P RUMSUSZ RTMVMTTSX",3174:" 51G]JQLNNMPMRNSPSR RPMQNQRPVOXMZK[I[HZHXJXJZIZIY RRORRQVQY RZOZNYNYP[P[NZMXMVNTPSRRVRZS[ RPVPXQZS[U[WZYW",3175:" 49G]HQIOKMMMNNOPOSMX RNNNRMVMZ RNPLULXMZO[Q[SZUXWT RYMU[T^RaPb RZMV[T_ RYM[MW[U_SaPbMbKaJ`J^L^L`K`K_",3176:" 39H\\YMXOVQNWLYK[ RXOOOMPLR RVORNONNO RVORMOMMOLR RLYUYWXXV RNYRZUZVY RNYR[U[WYXV",3200:" 50H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RNHMJLNLSMWNY RVYWWXSXNWJVH RQFOGNIMNMSNXOZQ[ RS[UZVXWSWNVIUGSF",3201:" 28H\\QHQ[ RRHRZ RSFS[ RSFPINJ RM[W[ RQZO[ RQYP[ RSYT[ RSZU[",3202:" 62H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RWHXJXLWN RTFVGWJWLVNTPPR RKYLXNXSYWYYX RNXSZWZXY RNXS[W[XZYXYV",3203:" 76H\\LJLKMKMJLJ RLIMINJNKMLLLKKKJLHMGPFTFWGXIXLWNTO RVGWIWLVN RSFUGVIVLUNSO RQOTOVPXRYTYWXYWZT[P[MZLYKWKVLUMUNVNWMXLX RWRXTXWWY RSOUPVQWTWWVZT[ RLVLWMWMVLV",3204:" 28H\\SIS[ RTHTZ RUFU[ RUFJUZU RP[X[ RSZQ[ RSYR[ RUYV[ RUZW[",3205:" 55H\\MFKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMUNVNWMXLX RWPXRXVWX RSMUNVOWRWVVYUZS[ RLVLWMWMVLV RMFWF RMGUG RMHQHUGWF",3206:" 69H\\VIVJWJWIVI RWHVHUIUJVKWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNQNOONPMR RNIMKLOLUMXNY RWXXVXSWQ RRFPGOHNJMNMUNXOZQ[ RS[UZVYWVWSVPUOSN",3207:" 43H\\KFKL RYFYIXLTQSSRWR[ RSRRTQWQ[ RXLSQQTPWP[R[ RKJLHNFPFUIWIXHYF RMHNGPGRH RKJLINHPHUI",3208:" 79H\\PFMGLILLMNPOTOWNXLXIWGTFPF RNGMIMLNN RVNWLWIVG RPFOGNINLONPO RTOUNVLVIUGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RMQLSLWMY RWYXWXSWQ RPONPMSMWNZP[ RT[VZWWWSVPTO",3209:" 69H\\MWMXNXNWMW RWOVQURSSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNVOWOXNYMY RMPLNLKMI RVHWIXLXRWVVX RQSORNQMNMKNHOGQF RSFUGVIWLWSVWUYTZR[",3210:" 16MXRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3211:" 24MXTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3212:" 32MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3213:" 40MXRMQNQORPSPTOTNSMRM RRNROSOSNRN RTZS[R[QZQYRXSXTYT\\S^Q_ RRYRZSZSYRY RS[T\\ RTZS^",3214:" 34MXRFQGQIRQ RRFRTST RRFSFST RSFTGTISQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3215:" 52I\\MKMJNJNLLLLJMHNGPFTFWGXHYJYLXNWOSQ RWHXIXMWN RTFVGWIWMVOUP RRQRTSTSQRQ RRXQYQZR[S[TZTYSXRX RRYRZSZSYRY",3216:" 24MXTFRGQIQLRMSMTLTKSJRJQK RRKRLSLSKRK RRGQK RQIRJ",3217:" 24MXTHSIRIQHQGRFSFTGTJSLQM RRGRHSHSGRG RSITJ RTHSL",3218:" 74E_[O[NZNZP\\P\\N[MZMYNXPVUTXRZP[L[JZIXIUJSPORMSKSIRGPFNGMIMLNOPRTWWZY[[[\\Y\\X RKZJXJUKSLR RRMSI RSKRG RNGMK RNNPQTVWYYZ RN[LZKXKULSPO RMINMQQUVXYZZ[Z\\Y",3219:" 56H\\PBP_ RTBT_ RXKXJWJWLYLYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RLLMNOOUQWRXT RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWKUMUMWLWLV",3220:" 8G^[BIbJb R[B\\BJb",3221:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3222:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3223:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3224:" 8F_JQ[Q[R RJQJR[R",3225:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3226:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3227:" 11NWSFRGRM RSGRM RSFTGRM",3228:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3229:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3250:" 58H]TFQGOIMLLOKSKVLYMZO[Q[TZVXXUYRZNZKYHXGVFTF RQHOJNLMOLSLWMY RTYVWWUXRYNYJXH RTFRGPJOLNOMSMXNZO[ RQ[SZUWVUWRXNXIWGVF",3251:" 20H]TJO[Q[ RWFUJP[ RWFQ[ RWFTIQKOL RTJRKOL",3252:" 52H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMWOMUKWI[ RXGYIYKXMVOSQ RVFWGXIXKWMUOMU RJYKXMXRYWYXX RMXRZWZ RMXR[U[WZXXXW",3253:" 64H]OKOJPJPLNLNJOHPGSFVFYGZIZKYMXNVOSP RXGYIYKXMWN RVFWGXIXKWMUOSP RQPSPVQWRXTXWWYUZR[O[LZKYJWJULULWKWKV RVRWTWWVY RSPUQVSVWUYTZR[",3254:" 15H]WJR[T[ RZFXJS[ RZFT[ RZFJUZU",3255:" 49H]QFLP RQF[F RQGYG RPHUHYG[F RLPMOPNSNVOWPXRXUWXUZQ[N[LZKYJWJULULWKWKV RVPWRWUVXTZ RSNUOVQVUUXSZQ[",3256:" 61H]YJYIXIXKZKZIYGWFTFQGOIMLLOKSKVLYMZO[R[UZWXXVXSWQVPTOQOOPNQMS RPINLMOLSLWMY RVXWVWSVQ RTFRGPJOLNOMSMXNZO[ RR[TZUYVVVRUPTO",3257:" 39H]NFLL R[FZIXLTQRTQWP[ RRSPWO[ RXLRRPUOWN[P[ RMIPFRFWI ROGRGWI RMIOHRHWIYIZH[F",3258:"104H]SFPGOHNJNMOOQPTPWOYNZLZIYGWFSF RUFPG RPHOJONPO ROORP RSPWO RXNYLYIXG RYGUF RSFQHPJPNQP RTPVOWNXLXHWF RQPMQKSJUJXKZN[R[VZWYXWXTWRVQTP RRPMQ RNQLSKUKXLZ RKZP[VZ RVYWWWTVR RVQSP RQPOQMSLULXMZN[ RR[TZUYVWVSUQTP",3259:" 61H]XNWPVQTRQROQNPMNMKNIPGSFVFXGYHZKZNYRXUVXTZQ[N[LZKXKVMVMXLXLW ROPNNNKOI RXHYJYNXRWUUX RQRPQOOOKPHQGSF RVFWGXIXNWRVUUWSZQ[",3260:" 16MXPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3261:" 22MXQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3262:" 32MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3263:" 38MXSMRNROSPTPUOUNTMSM RSNSOTOTNSN RQ[P[OZOYPXQXRYR[Q]P^N_ RPYPZQZQYPY RQ[Q\\P^",3264:" 34MXVFUFTGRT RVGUGRT RVGVHRT RVFWGWHRT RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3265:" 59H]OKOJPJPLNLNJOHPGSFWFZG[I[KZMYNWOSPQQQSSTTT RUFZG RYGZIZKYMXNVO RWFXGYIYKXMWNSPRQRSST RPXOYOZP[Q[RZRYQXPX RPYPZQZQYPY",3266:" 22MXWFUGTHSJSLTMUMVLVKUJTJ RUGTITJ RTKTLULUKTK",3267:" 22MXVIUITHTGUFVFWGWIVKULSM RUGUHVHVGUG RVIVJUL",3268:" 72E_\\O\\N[N[P]P]N\\M[MYNWPRXPZN[K[HZGXGVHTISKRPPROTMUKUITGRFPGOIOLPRQURWTZV[X[YYYX RL[HZ RIZHXHVITJSLR RPPQSTYVZ RK[JZIXIVJTKSMRRO ROLPOQRSVUYWZXZYY",3269:" 52H]TBL_ RYBQ_ RZKZJYJYL[L[JZHYGVFRFOGMIMLNNPPVSWUWXVZ RNLONVRWT ROGNINKOMUPWRXTXWWYVZS[O[LZKYJWJULULWKWKV",3270:" 8G^_BEbFb R_B`BFb",3271:" 32JZZBXCUERHPKNOMSMXN\\O_Qb RSHQKOONTN\\ RZBWDTGRJQLPOOSN\\ RNTO]P`Qb",3272:" 32JZSBUEVHWLWQVUTYR\\O_LaJb RVHVPUUSYQ\\ RSBTDUGVP RVHUQTUSXRZP]M`Jb",3273:" 39J[TFSGUQTR RTFTR RTFUGSQTR ROIPIXOYO ROIYO ROIOJYNYO RYIXIPOOO RYIOO RYIYJONOO",3274:" 8F_JQ[Q[R RJQJR[R",3275:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3276:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3277:" 11MWUFTGRM RUGRM RUFVGRM",3278:" 22H\\PFOGMM RPGMM RPFQGMM RZFYGWM RZGWM RZF[GWM",3279:" 30KZSFQGPIPKQMSNUNWMXKXIWGUFSF RSFPIQMUNXKWGSF RUFQGPKSNWMXIUF",3301:" 62F^IHJIIJHIIGKFMFOGPHQKQOPRNTLUIV ROHPKPPOR RMFNGOJOPNSLU RLVOY RKVOZ RIVN[UV R\\G[H\\H\\G[FYFWGVHUJUYW[[W RWHVJVXXZ RYFXGWJWWYY",3302:"101E_GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RYM[O\\R\\U[XYZV[S[PZJWIWHX RXNYN[P RVNYO[Q\\S RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3303:" 79F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G",3304:" 79E_HLHKIIKGNFRFUGWHYJ[M\\Q\\U[XYZV[S[PZJWIWHX RKHMGRGUHWIYK[N RTZRZLWKW RHKJIMHRHUIWJYL[O\\R RZYXZUZRYNWKVIVHXHZI[JZIY RPHMKLMLONSNU RMNMONQNR RMKMMOQOSNUMVKVJUJT",3305:" 95F^RHPFNFLGJJINIRJVLYNZQ[T[WZYY[W RLHKJJMJRKVMYPZ RNFMGLIKMKQLUMWOYRZUZXY[W RUFRHQIPKPLQNTPURUT RQKQLUPUQ RQIQJRLUNVPVRUTSURUPTOR RUFVGXHZH RUGVHWH RTGVIXIZH[G RUNYK RYKZL\\L RXLYMZM RWMXNZN\\L",3306:" 94F^MNKMJKJIKGNFQFTGXI RKHMGRGUH RJKKIMHRHXIZI[H[GZFYF RSHRIQKQMROVSWVWYV\\U]S^ RTPWSXVXYW[ RQMSOVQXSYVYYX[V]S^O^L]K\\JZJWLTLRKQ RL\\K[KWLU RO^M]L[LWMTMRLQJQIRIS RUPYL RYLZM\\M RXMYNZN RWNXOZO\\M",3307:" 99E_UJTHSGQFNFKGIJHNHRIUJWLYNZQ[T[WZYY[W\\T\\Q[NYL RKHJJIMIRJUKW RZW[U[QZNYM RNFLGKIJMJRKVLXNZ RWZYXZUZQYOWM RUFRHPJOLOMPOSQTSTU RPLPMTQTR RPJPKQMTOUQUSTURVQVOUNS RTOYLZJ R\\FZJ RYG]I R\\F[GYGZHZJ[I]I\\H\\F",3308:" 92F_RFPGNIMKMMNOPQQSQU RNLNMQQQR RNINKOMQORQRSQUPVNWLWJVIUHSHQIPJQIR RRFTHVHXG RQGSH RPGQHSIUIXG RRPYK RYK[N\\Q\\T[WYYVZR[ RXLZN[Q[UZW RVMWMYOZRZVYXXYVZ RVZTZRYPYNZM\\N^P_R_T^ RSZQZ RR[PZNZ",3309:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3310:" 83F_PPNPLOKNJLJJKHLGOFQFTGWJYK RLHNGRGTHUI RJJKIMHQHTIVJYK[K\\J\\H[GYG RJXKYJZIYIWJVLVNWPYR\\T^ RNXOYQ\\R] RLVMWNYP\\Q]S^V^X]Y\\ZZZWYUWRVPVO RYXYWVRVQ RX]Y[YYXWVTURUPWNYNZOZP",3311:" 81E_[KZIXGUFRFOGMILKLNMQPWPYN[ RMNMOPUPV RNHMJMMNOPSQVQXPZN[L[JZ RHVJZ RGYKW RHVHXGYIYJZJXKWIWHV RNONMOKQJTJVKXMYM RUKWM RRJTKULVN RYMPQ RUOYXZY[Y RTPXXZZ RSPWYY[\\X",3312:" 73G^ZSYTVTUSUQVOXLYJYH RVQVPYLYK RWTVSVRWPYNZLZJYHXGUFPFMGLHKJKLLNNQOSOTNV RLKLLOQOR RLHLJMLOOPQPSOUMWJY RMWOWRYUZXZZY RNXOXSZTZ RJYLXMXQZT[V[YZZY[W",3313:"128BbEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFKFMGOIPLPROUNWLYI[HZGZ RNIOLORNUMW RJZIYHY RKFMHNKNRMVLXKYJXIXF[ RNGPFRFTGVIWLWRVUUWSYQ[PZOZ RUIVLVRUV RRZQYPY RRFTHUKUSTWSYRXQXN[ RUHVGXFZF\\G]H^J_K R\\H]J RZF[G\\J]K_K R_K\\M[NZQZT[X][`X R\\N[P[T\\W^Z R_K]M\\O\\S]W_Y",3314:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGRISLSRRUQWOYL[KZIZG[ RQIRKRRQUPWOX RMZKYIY RNFPHQKQRPVNYLXJXG[ RRHSGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KYMXNWQWTXXZ[]X RYNXPXTYW[Z R\\KZMYOYSZW\\Y",3315:" 72D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZXXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RYYWZTZQYMWJVHVGXGZH[IZHY",3316:"100E`HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSU RSWS\\R^P_M_L^L\\M[N\\M] RQHRJR\\Q^ ROFPGQJQU RQWQ\\P^O_ RSJXF RXFZI[K\\O\\R[UYXV[ RWGZK[N[O RVHXJZM[P[SZVYX RWYUVSU RQUOVMX RWZUWSVPV RV[TXSW RQWOWMX",3317:" 88D`PFNGLIKKKMMQMS RLLLMMOMP RLILKNONQMSLTJTISIR RPFQGWIZK[M\\P\\S[VZX RXZU[R[OZIWHWGX RPGQHWJYKZL RPFPHQIWKYL[N\\P RSZQZKWJW RXZTZQYMWJVHVGXGZH[IZHY RTXVVXV\\Z]Z RWWXW[Z RUWVWZ[\\[^Y",3318:" 96D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRVQXOZM[K[IZ RPHQJQVPX RNFOGPJPVOYM[ RGVIZ RFYJW RGVGXFYHYIZIXJWHWGV RRISGUFWFYGZH[J\\K RYHZJ RWFXGYJZK\\K R\\KRP RTOXYZ[]X RUOYX[Z RVNZX[Y\\Y",3319:" 83E`\\H[G\\F]G]I\\KZKVISHOHKIIK RYJVHSGOGLH R]I\\JZJVGSFOFLGJIIKHNHRIUJWLYNZQ[U[XZZY\\W]T]Q\\OZNWNUOSRQSOS RLXNYQZUZYY RIUKWMXPYUYYX[W\\V]T RXOWOSSRS R]Q[OYOWPUSSTQTOSNQNOOMQL",3320:" 81F_LNJMIKIIJGMFRFUGYJ[J\\I RJHLGRGUHXJ RIKJILHRHUIYK[K\\I\\G[FZG[H RUIRLQNQPSTSV RRORPSRSS RRLRNTRTTSVRWPWOVOT RJYKZJ[IZIXJVLVOWSYVZYZ[Y RLWMWSZUZ RIXJWKWMXQZT[W[ZZ\\X",3321:" 45G]JHKHLILWJX RKGMHMXPZ RIILFNHNWPYRY RJXKXMYO[RYVV RTHUHVIVYX[[X RUGWHWYYZ RSIVFYHXIXXYYZY",3322:"100D`GQGRHSJSLRLOKMIJIHKF RKOIK RJSKRKPIMHKHIIGKFNFPGQHRJRRQUOW RPHQJQT RNFOGPJPUOW RRISGUFWFYG[J\\K RYHZJ RWFXGYJZK\\K RZKXKWLWNXP[R\\T RXO[Q RWMXN[P\\R\\V[XYZW[S[PZJWIWHX RTZRZLWKW RZYXZUZRYNWKVIVHXHZI[JZIY",3323:"143BcEQERFSHSJRJOIMGJGHIF RIOGK RHSIRIPGMFKFIGGIFLFNGOHPJPNOQMTKV RNHOJOONR RLFMGNJNOMSKV RNGPFSFUG RWFTGSISMTPVSWUWWVY RTMTNWSWT RWFUGTITLUNWQXTXVWXUZS[O[MZKXIWGWFX RNZKWJW RQ[OZLWJVGVFXFZG[HZGY RWFZF\\G^J_K R\\H]J RZF[G\\J]K_K R]K[KZLZN[P^R_T R[O^Q RZM[N^P_R_W^Y]Z[[X[UZ RYZXZVY R^Y\\ZZZXYWX",3324:" 86F^KHMHOIPJQMQO RQQQUPXM[KZI[ RNZLYKY ROYNYLXI[ RMGPHQIRLRUSWUYWZ RIINFPGRISLSO RSQSTTWUXWYYY RQURXTZV[[X RSLTIWFYG[F RVGXHYH RUHVHXI[F RKSMOQO RSOWOYM RMPWP RKSMQQQ RSQWQYM",3325:" 74E_HQHRISKSMRMOLMJJJHLF RLOJK RKSLRLPJMIKIIJGLFOFQGRHSJSORRQTQUSWTW RQHRJRPQSPUSX ROFPGQJQPPTOVRYUV RSJ[F RYGYZX] RZGZXY[ R[F[VZZY\\W^T_P_M^K\\JZKYLZK[",3326:" 74F^NIOGQFTFVGWHXJXMWOVPTQ RQQOPNN RVHWIWNVO RTFUGVIVNUPTQ RMUNSORQQTQWRYTZVZZY\\W^T_P_N^KZJY RXTYVYZX\\ RTQWSXUX[W]V^T_ RO^N]LZKY RR_P^O]MZLYIYHZH\\I]J]",3401:" 46J[TMQNOONPMSMVNYO[UX RNVOYPZ RQNOPNSNUOXQZ RRNSOUPUYW[ZX RSNVPVXXZ RTMUNWOXO RWPXO RWPWXXYYY",3402:" 50J[LHMINK RTFQGOINKNXMY RPIOKOXRZ RTFRGQHPKPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3403:" 27KXRNTPVOTMRNOPNRNWOYQ[UY RSNUO RPPOROWPYQZ RQOPQPVQXSZ",3404:" 47J[QFNINKOLSNVPWRWUVXTZ ROJOKSMVOWP ROHOIPJUMWOXRXUWXTZQ[ RRNNPNXMY ROPOXRZ RPOPXRYSZ RMYNYPZQ[",3405:" 27KXPUVQSMOPNRNWOYQ[UY RUQRN RPPOROWPYQZ RTRROQOPQPVQXSZ",3406:" 49LYXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKQMRNTOVOVP RNPPP RRPVP RPPPTQ` RSOPOQNQ[ RRPRTQ`",3407:" 53J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV[V]U_ RSNVPVZ RTMUNWOXO RWPXO RWPW\\V^U_S`P`N_M^M]N]N^",3408:" 50J[LHMINK RTFQGOINKNXMY RPIOKOYPZ RTFRGQHPKPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3409:" 39MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQYS[VX RPNRORXTZ RNPQMRNTO RSPTO RSPSXTYUY",3410:" 45MWRFQGQHRISHSGRF RQGSH RQHSG ROOPOQPQ[P^O_M` RPNROR[Q] RNPQMRNTO RSPTO RSPS[R]P_M` RS[T]U^",3411:" 63KYNHOIPK RUFSGQIPKPMOONP RPPPXOY RRIQKQM RQOPOQMQXSZ RUFSHRKRO RRPRXSYTY ROYQZR[UX RRLVIWJWLUNSO RUJVKVLUN RROWOWP RNPPP RRPWP",3412:" 29MWOHPIQK RWFTGRIQKQXPY RSIRKRYTZ RWFUGTHSKSXTYUY RPYRZS[VX",3413:" 74E_GOHOIPIXHYJ[ RHNJPJXIYJZKYJX RFPIMKOKXLYJ[ RNNPOQQQXPYR[ RPNQORQRXQYRZSYRX RKPNNPMRNSPSXTYR[ RVNWOYPYY[[^X RWNZPZX\\Z RSPVNXMYN[O\\O R[P\\O R[P[X\\Y]Y",3414:" 49I[KOLOMPMXLYN[ RLNNPNXMYNZOYNX RJPMMOOOXPYN[ RRNSOUPUYW[ZX RSNVPVXXZ ROPRNTMUNWOXO RWPXO RWPWXXYYY",3415:" 41J[NPNXMY ROPOXRZ RQOPPPXRYSZ RMYNYPZQ[TZ RNPQOVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3416:" 57J[OJMLMNNQNXLZ RNYO` RNMNNOQO[ RNKNLONPQPXQXSYTZ RPYO` RSZQY RTZR[PY RNYLZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3417:" 43J[TMQNOONPMSMVNYO[UX RNWOYPZ RQNOPNSNUOXQZ RRNSOUPUXV` RSNVPV[ RTMUNWOXO RWPXO RWPWXV`",3418:" 32KYNOOOPPPXOY RONQPQYSZ RMPPMRORXSYTY ROYQZR[UX RTNUPWOVMRO RUNVO",3419:" 42LWXFWGUGSFQFPHPMOONP RVHTHRGQG RXFWHVITIRHQHPI RPKRP RPPPTQ` RQOPOQNQ[ RRPRTQ` RNPPP",3420:" 37LXSIRLQNPONP RSISOVOVP RNPQP RSPVP RQPQXPY RROQORMRXTZ RSPSXTYUY RPYRZS[VX",3421:" 47I[KOLOMPMXLY RLNNPNXPZ RJPMMOOOXQYRZ RLYMYOZP[RZUX RVMTOUPUYW[ZX RVPWOVNUOVPVXXZ RVMXOWPWXXYYY",3422:" 47J[OKMMMONRNXMY RNNNOOROXRZ RNLNMOOPRPXRYSZ RMYNYPZQ[TZ RPPVMWOXRXUWXVYTZ RUNVOWQ RTNVPWSWUVXTZ",3423:" 72F_KKIMIOJRJXIYK[ RJNJOKRKXJYKZLYKX RJLJMKOLRLXMYK[ RONQORQRXQY RQNROSQSXVZ RLPONQMSNTPTXVYWZ RQYRYTZU[XZ RTPZM[O\\R\\T[XZYXZ RYNZO[Q RXNZP[S[UZXXZ",3424:" 44KZOOPOQPQXPXNYM[M]N_P`S`V_V^U^U_ RPNRPRXUZ RNPQMSOSXUYVZ RXYT[SZQYOYM[ RUNVPXOWMSO RVNWO",3425:" 47J[OKMMMONRNXMY RNNNOOROYQZ RNLNMOOPRPXQYRY RMYOZP[SX RPPVMWOXSXWWZV\\T^Q` RUNVOWR RTNVQWTWWV[T^",3426:" 43KYNPSMUNVPVRUTQV RSNUO RRNTOUQURTTSU RSUUWVYV]U_S`Q`O_N]N[OYQXWV RRVTWUY RQVTXUZU]T_S`",3427:" 61JZRMPNMPMRNU RNPNROT RPNOOORPT RPNROTOVNWMWKVJTJ RQNSN RRMTNVN RNUVRWUWWVYR[ RUSVUVXUY RTSUUUXTZ RTZRYOYL[ RSZQZ RR[PZNZL[",3428:" 78J[VFUGSGQFOFNHNMMOLP RTHRHPGOG RVFUHTIRIPHOHNI RNKPP RNPNTO` ROONOONO[ RPPPTO` RLPNP RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3429:" 62J[PIOLNNMOKP RPIPXQYO[ ROONOONOXNYOZPYOX RKPNPNXMYO[ RPPUMWNXPXRWTSV RUNWO RTNVOWQWRVTUU RUUWVXXX[W]U_R` RUVWW RSVTVVWWYW\\V^",3501:" 60G]LINGPFRFSGZW[X]X RQGRHYXZZ[YYX RNGPGQHXXYZZ[[[]X RLMMLOKPKQL RPLPM RMLOLPN RG[IYKXNXPY RJYNYOZ RG[JZMZN[PY RRJLX RNSVS",3502:"110F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RRIQJPLPU RQKQS RRIRRQTPU RRIXFZG[I[KYMUO RXGZIZK RVGXHYIYLWN RWNZP[R[X RYPZRZW RWNXOYQYX RJ[MYPXTXWY RLZOYTYVZ RJ[NZSZU[WYYX[X RUOUX RURYR RUUYU",3503:" 69E]NGLHJJILHOHSIVJXMZP[S[VZXYZW[U RJKINISKWNYQZTZWY RNGLIKKJNJRKUNXQYTYWXYW[U RPJPV RQJQT RRIRSQUPV RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RWIWX",3504:" 72G^IFWFYGZIZX RKGWGYIYW RIFJGLHWHXIXX ROKNLMNMOKOJPJRKQMQMV RNMNT RKPNP ROKOSNUMV RI[LYOXSXVY RKZNYSYUZ RI[MZRZT[VYXXZX RRHRX RRMTNVNXM RRSTRVRXS",3505:" 94G]IHKFMFOGQF RLGNG RIHKGMHOHQF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RQMRJSHTGVFXF[G RTHVGXGZH RRJSIUHWHYI[G RQURRSPTOVOXP RTPVPWQ RRRSQUQVRXP RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RQMQX",3506:" 91F]JHLFOFQGSF RMGPG RJHLGNHQHSF RPKOLNNNOLOKPKRLQNQNV ROMOT RLPOP RPKPSOUNV RSJSYRZQZMXKXIYG[ RTJTX RTPXP RPZOZMYJY RUIUOXO RXQUQUWTYP[N[LZJZG[ RSJUIXFZG\\G]F RWGYH[H RVHXIZI\\H]F RXIXW",3507:" 87E^NGLHJJILHOHRIUJWLYNZQ[U[XZZX[V[SZQYPWOUO RJKINISJV RNGLIKKJNJSKVLXNZ RYXZWZSYQ RU[WZXYYWYSXQWPUO RPJPW RQJQU RRIRTQVPW RPJRIUFWGYGZF RTGVHXH RSHUIWIYHZF RYHUOU[ RUSYS RUVYV",3508:"112F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZOYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOWNYLZM[P[TZXX[ RXMYNZPZUYX RWNXNYPYUX[ RUOUY RURYR RUUYU",3509:" 67I\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZSZOXMXKYI[ RWKWW RRZQZOYLY RYHXJXVWXUZS[P[NZKZI[",3510:" 65H\\LHNFQFTGVF ROGSG RLHNGQHTHVF RSKRLQNQOOONPNROQQQQV RRMRT ROPRP RSKSSRUQV RYHWJVMVXUZ RWKWW RYHXJXVWXUZR[O[LZJXJVKULUMVLWKW RJVMV",3511:"115F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXSXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRITGVFXFZG RWGXGYH RTGVGXIZG RUOXLYM[N RWMYN[N R[NYQWSUU RWSYTZX[Z\\Z RYVZZ RWSXTYZZ[[[\\Z RUOUY",3512:" 85G]IHKFNFPGRF RLGOG RIHKGMHPHRF RNKMLLNLOJOIPIRJQLQLW RMMMU RJPMP RNKNTMVLW RK[NYRXWX[Y RMZPYWYZZ RK[OZVZY[[Y RSIRJQLQU RRKRS RSISRRTQU RSIUGWFYF[G RXGYGZH RUGWGYI[G RWGWX",3513:"107D`LJKKJMJOHOGPGRHQJQJU RKLKS RHPKP RLJLRKTJU RE[GYIXKXMYNYOX RHYKYMZ RE[GZJZL[M[NZOX RLJPFTJTWUYVY RPGSJSXRYSZTYSX RPPSP RNHOHRKROOO ROQRQRXQYS[VYWX RTJXF\\J\\W]Y^Y RXG[J[X]Z RXP[P RVHWHZKZOWO RWQZQZY\\[^Y ROHOX RWHWX",3514:" 84E^GIIGKFMFOGQJVUXXYY RMGOIPKVWYZ RIGKGMHOKTVVYWZY[ RVHXIZI\\H]F RWGYH[H RVHXFZG\\G]F RKOIOHPHRIQKQ RIPKP RG[IYKXNXPY RJYMYOZ RG[JZMZN[PY RKGKX RYIY[ RRLSMUNWNYM RKTMSQSST",3515:" 79E_NFLGJIIKHNHRIUJWLYNZQ[S[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS",3516:" 70H^KFLGMIMOKOJPJRKQMQMYJ[MZMbO` RMHNJN` RKPNP RKFMGNHOJO` ROKRIVFZJZX RVGYJYX RTHUHXKXY RRXUXXY RSYUYWZ RRZTZV[XYZX RRIR_ RRMTNVNXM RRSTRVRXS",3517:" 99E_NFLGJIIKHNHRIUJWLYNZP[T[VZXYZW[U\\R\\N[KZIXGVFUGRIOJ RJJIMISJV RNFLHKJJMJSKVLXNZ RZV[S[MYIXH RVZXXYVZSZMYKWHUG ROJOW RPJPU RQJQTPVOW RUGUZ RUMWNXNZM RUSWRXRZS RP[QZRZT[X`Za[a RT\\V_XaYa RRZS[VaXbZb[a",3518:"108F^HHJFMFOGQF RKGNG RHHJGLHOHQF RMKLLKNKOIOHPHRIQKQKW RLMLU RIPLP RMKMTLVKW RJ[MYPXRXUY RLZNYRYTZ RJ[NZQZS[UY RRIQJPLPU RQKQS RRIRRQTPU RRIUGWFYGZIZLYNXOTQRR RWGXGYIYMXN RUGWHXJXMWOTQ RTQVRWSZX[Y\\Y RWTYX[Z RTQVSXYZ[\\Y",3519:" 94G^UITHRGOF RVHTG RWGSFOFLGKHJJKLLMONWNYOZPZRYU RKKLLOMXMZN[O[QZS RKHKJLKOLYL[M\\O\\QYUU[ RIOJPLQUQVRVSUU RJQLRTRUS RIOIPJRLSSSUTUU RI[LYPXSXVY RKZNYRYUZ RI[MZRZU[ RWGUISL RRNPQ ROSMUKVJVJUKV",3520:" 71E]JJILHOHSIVKYMZP[S[VZXYZW[U RISJVLXNYQZTZWY RJJIMIQJTLWNXQYTYWXYW[U RHIIGKFOFUGYG[F RPGTHXH RHIIHKGNGTIWIYH[F RSIRJPKPV RQKQT RRJRSQUPV RWIWX",3521:" 89F^HHJFLFOGQF RKGNG RHHJGMHOHQF RKJJLIOISJVKXMZP[S[VZXYZ[\\Y RJSKVNYQZTZ RKJJNJQKTLVNXQYUYXX RUIQJPLPV RQKQT RRJRSQUPV RUIWHYFZG\\HZIZW[Y\\Y RYIZHYGXHYIYX[Z RWHXIXX RUIUY RUNXN RURXR",3522:" 72G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXXZX RRJUIWHYFZG\\HZIZX RYIZHYGXHYIYW RWHXIXX RRJRX RRMTNVNXM RRSTRVRXS",3523:" 95E`HFIGJIJOHOGPGRHQJQJXHY RJHKJKX RHPKP RLYNYPZ RHFJGKHLJLXOXQY RHYKYNZO[QYTXVYW[YY\\X ROHRFTHTXWXYY RRGSHSX ROHQHRIRXQY RWYXZ RWHZF\\H\\X RZG[H[X RWHYHZIZXYY ROHOX RWHWX RONRN RORRR RWNZN RWRZR",3524:" 65G]HIJGLFNFOGWYXZZZ RMGNHVYWZ RJGLGMHUZV[X[ZZ\\X RWFYG[G\\F RWGXHZH RVHWIYI[H\\F RH[IYKXMXNY RJYLYMZ RH[IZKZM[ RWFSO RQRM[ RLPPP RSPXP",3525:" 86G^JFKGLILOJOIPIRJQLQLXJY RLHMJMX RJPMP RNYQYSZ RJFLGMHNJNXRXUY RJYMYPZR[UYXX RRJUIWHYFZG\\HZIZ^Y`WbUaQ`L` RYIZHYGXHYIYY RWHXIXXZ[ RXaV`S` RY`V_P_L` RRJRX RRMTNVNXM RRSTRVRXS",3526:" 57H\\XGWIROOSMWJ[ RVKNV RZFWJUNRRMXLZ RJHLFOGUGZF RKGOHSHWG RJHNIRIVHXG RLZNYRXVXZY RMZQYUYYZ RJ[OZUZX[ZY RMPQP RTPXP",3601:" 53J[PRNTMVMXNZP[RYUX RMVNXOYQZ RNTNVOXQYRY RNPPPSOUNVMXOWPWXXYYY RONNOQO RTOWOVNVYWZ RMOOMPNROUPUYW[YY RMORT",3602:" 44I[LHMJMXKY RNJMHNGNXQZ RLHOFOXQYRZ RKYMYOZP[RZUYWY ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3603:" 35JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMUNWOXO RSNTOVO RPORNTPVPXO",3604:" 41IZRMPNMOMXKY RNONXQZ RRMOOOXQYRZ RKYMYOZP[RZUYWY RMHPFQIWOWY RPINHOGPIVOVX RMHUPUY",3605:" 32JXNONXLYMYOZP[ ROOOYQZ RPOPXRYSYQZP[ RNORNTMWQURPU RSNVQ RPORNUR",3606:" 41JWNHNXLYMYOZP[ ROHOYQZ RPHPXRYSYQZP[ RNHQGSFTGVHWH RRGSHUH RPHQGSIUIWH RKMNM RPMTM",3607:" 56I[MOMXKYLYNZO[PZRYUX RNPNYPZ ROOOXQYRY RMOOORNTMUNWOYOWPW\\V_TaRbQaO`M` RSNVPV\\ RSaQ`P` RRNSOUPUZV]V_ RTaS`Q_O_M`",3608:" 47I[LHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPROTNUMVNXOYOWPWYU[T] RTNVOVYU[ RROSOUPUYT]T`UbVbT`",3609:" 35MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[UY RRPSORNQORPRYSZ RRMSNUOSPSXTYUY",3610:" 39MWRFPHRITHRF RRGQHSHRG RRMQNOOQPQYS[T] RRPSORNQORPRYS[ RRMSNUOSPSYT]T`RbPbPaRb",3611:" 50IZLHMJMXKYLYNZO[ RNJMHNGNYPZ RLHOFOXQYO[ ROPRNTMVPSROU RSNUP RRNTQ RSRTSVXWYXY RSSTTUYVZ RRSSTTYV[XY",3612:" 22MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[",3613:" 67E_GOHOIPIXGYHYJZK[ RINJOJYLZ RGOIMKOKXMYK[ RKPNOPNQMSOSXUYS[ RPNRORYTZ RNOOOQPQXPYRZS[ RSPVOXNYMZN\\O]O[P[X\\Y]Y RXNZOZY[Z RVOWOYPYY[[]Y",3614:" 45I[KOLOMPMXKYLYNZO[ RMNNONYPZ RKOMMOOOXQYO[ ROPROTNUMVNXOYOWPWXXYYY RTNVOVYWZ RROSOUPUYW[YY",3615:" 40I[MOMXKY RNPNXQZ ROOOXQYRZ RKYMYOZP[RZUYWY RMOOORNTMUNWOYOWPWY RSNVPVX RRNSOUPUY",3616:" 54I[LMMOMXKYMYMb RMNNONaO`N^ RNYOYQZ RLMNNOOOXQYRZ ROZP[RZUYWY ROZO^P`Mb ROPROTNUMVNXOYOWPWY RTNVOVX RROSOUPUY",3617:" 44I[MOMXKY RNPNYPZ ROOOXQYRY RKYLYNZO[PZRYUX RMOOORNTMUNWOYOWPWb RSNVPVaU`V^ RRNSOUPU^T`Wb",3618:" 38JXLOMONPNXLYMYOZP[ RMNOOOYQZ RLONMPOPXRYSYQZP[ RPOTMUNWOXO RSNTOVO RRNTPVPXO",3619:" 59JZMOMSOTUTWUWY RNONS RVUVY RPNOOOSQT RSTUUUYTZ RMOPNRMTNVNWM RQNSN RPNROTOVN RWYTZR[PZNZL[ RSZQZ RTZRYOYL[ RWMVOTROWL[",3620:" 28MWPHQJQXOYPYRZS[ RRJQHRGRYTZ RPHSFSXUYVYTZS[ RNMQM RSMVM",3621:" 47I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPWXXYYY RTNVOVYWZ RUMSOUPUYW[YY",3622:" 36I[LMMOMXP[RYUXWX RMNNONXQZ RLMNNOOOWPXRY RUMVNXOYOWPWX RTNVOVW RUMSOUPUX",3623:" 57E_HMIOIXL[NYQX RINJOJXMZ RHMJNKOKWLXNY RQMOOQPQXT[VYYX[X RPNRORXUZ RQMRNTOSPSWTXVY RYMZN\\O]O[P[X RXNZOZW RYMWOYPYX",3624:" 59H[KOLONPOQSYTZV[XY RMNOOTYVZ RKOMMONPOTWUXWYXY RRSUMVNXNYM RUNVOWO RTOVPXOYM RQUN[MZKZJ[ RNZMYLY ROYMXKYJ[ RMTPT RSTVT",3625:" 60I[KOLOMPMXKY RLNNONYPZ RKOMMOOOXQYRY RKYLYNZO[PZRYUX RUMVNXOYOWPW\\V_TaRbQaO`M` RTNVOV\\ RSaQ`P` RUMSOUPUZV]V_ RTaS`Q_O_M`",3626:" 38I[XML[ RLONPQPTOXM RMNOOSO RLONMPNTNXM RL[PYSXVXXY RQYUYWZ RL[PZTZV[XY RNTVT",3700:" 42H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJYLYNZO[QZVYXY",3701:" 27H\\OHPIQKQXOY RQIPHQGRIRYTZ ROHRFSHSXUYVY ROYPYRZS[TZVY",3702:" 48H\\LHNHPGQFSGVHXH RPHRG RLHNIPIRHSG RVHVP RWIWO RXHXPQPNQLSKVK[ RK[OYSXVXZY RNZQYVYYZ RK[PZUZX[ZY",3703:" 57H\\LHMHOGPFRGVHXH ROHQG RLHNIPIRG RVHVO RWIWN RXHXOVOSPQQ RQPSQVRXRXY RWSWX RVRVY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3704:" 41H\\UFKPKUTU RVUZU[V[TZU RLPLT RMNMU RTGTXRY RUJVHUGUYWZ RUFWHVJVXXYYY RRYSYUZV[WZYY",3705:" 53H\\LFLO RLFXF RMGVG RLHUHWGXF RVLUMSNOOLO RSNTNVOVY RUMWNWX RVLWMYNZNXOXY RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3706:" 59H\\LHLXJY RMIMXPZ RNHNXPYQZ RLHNHRGTFUGWHXH RSGUH RRGTIVIXH RNPOPSOUNVM RSOTOVPVY RUNWPWX RVMWNYOZOXPXY RJYLYNZO[QZVYXY",3707:" 38H\\KHMFPGUGZF RLGOHTHWG RKHOIRIVHZF RZFYHWKSOQRPUPXQ[ RRQQTQWRZ RUMSPRSRVSYQ[",3708:" 71H\\LILO RMJMN RNINO RLINISHUGVF RSHTHVIVO RUGWHWN RVFWGYHZHXIXO RLONOVRXR RXOVONRLR RLRLXJY RMSMXPZ RNRNXPYQZ RVRVY RWSWX RXRXY RJYLYNZO[QZVYXY",3709:" 60H\\LHLQJR RMIMROS RNHNQPRQR RLHNHSGUF RSGTHVIVY RTGWIWX RUFVGXHZHXIXY RJRKRMSNTOSQRUQVQ RKYMXOXQYRZ ROYQZ RKYMYOZP[RZVYXY",3710:" 11LXRXPZR[TZRX RRYQZSZRY",3711:" 14LXR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3712:" 22LXRMPORPTORM RRNQOSORN RRXPZR[TZRX RRYQZSZRY",3713:" 25LXRMPORPTORM RRNQOSORN RR^R\\PZRXSZS\\R^P_ RRYQZR[RY",3714:" 30LXRFQGOHQIRT RRISHRGQHRIRT RRFSGUHSIRT RRXPZR[TZRX RRYQZSZRY",3715:" 51I[LJMHNGQFSFVGWHXJXLWNUPSQ RMJNH RVHWIWMVN RLJNKNIOGQF RSFUGVIVMUOSQ RRQRTSQQQRT RRXPZR[TZRX RRYQZSZRY",3716:" 14LXTFRGQIQKRMTKRIRG RRJRLSKRJ",3717:" 14LXRLRJPHRFSHSJRLPM RRGQHRIRG",3718:" 62E_YNZO[O\\N RXOYP[P RXPYQZQ[P\\N RYNST RRUL[HVNP ROOSKOFJLPRTXVZX[Z[[Z\\X RLZIV RRKOG RKLPQTWVYXZ[Z RMZIU RRLNG RKKQQUWVXXY[Y\\X",3719:" 60H\\PBP_ RTBT_ RTFVGWIWKYJXHWGTFPFMGKIKLLNOPURWSXUXXWZ RXJWH RLLMNOOUQWRXT RMYLW RMGLILKMMONUPXRYTYWXYWZT[P[MZLYKWMVMXNZP[",3720:" 8G^[BIbJb R[B\\BJb",3721:" 27KYUBSDQGOKNPNTOYQ]S`Ub RQHPKOOOUPYQ\\ RSDRFQIPOPUQ[R^S`",3722:" 27KYOBQDSGUKVPVTUYS]Q`Ob RSHTKUOUUTYS\\ RQDRFSITOTUS[R^Q`",3723:" 39JZRFQGSQRR RRFRR RRFSGQQRR RMINIVOWO RMIWO RMIMJWNWO RWIVINOMO RWIMO RWIWJMNMO",3724:" 8F_JQ[Q[R RJQJR[R",3725:" 16F_RIRZSZ RRISISZ RJQ[Q[R RJQJR[R",3726:" 16F_JM[M[N RJMJN[N RJU[U[V RJUJV[V",3727:" 11NWSFRGRM RSGRM RSFTGRM",3728:" 22I[NFMGMM RNGMM RNFOGMM RWFVGVM RWGVM RWFXGVM",3729:" 30KYQFOGNINKOMQNSNUMVKVIUGSFQF RQFNIOMSNVKUGQF RSFOGNKQNUMVISF",3801:" 52E_NHLIJKIMHPHSIUKV RJLIOISJU RNHLJKLJOJRKVKXJZH[ RVHXHXYVY RYHYY RZGZZ RHFKGQHVHZG\\F RJPXP RH[KZQYVYZZ\\[",3802:" 65E_LGLZ RMGMZ RPFNGNZP[ RHJJHLGPFUFXGZIZKYM RXHYIYKXM RUFWGXIXKWL RQUOTNRNPONPMSLVLYM[O\\Q\\T[WYYWZT[P[LZJYHW RZO[Q[UZW RVLYNZQZUYXWZ",3803:" 60E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS",3804:" 46E_KGKZ RLGLZ RNFMGMZN[ RHKIIKGNFSFVGXHZJ[L\\O\\R[UZWXYVZS[N[KZIXHV RZK[N[SZV RVGXIYKZNZSYVXXVZ",3805:" 86E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[Y\\[ R[HZMZT[Y RZKYJ RZMXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RYWZV RVZXXYVZS RJPKONOUQXQZP RPPRQURWRYQ RMORRUSWSYRZP RZMYLXLWMXNYM",3806:" 69E_JHJZ RMGKHKY ROFMGLILYNY RHJJHLGOFSFVGXHYI\\F R\\F[HZLZO[S\\U RZIYK RVGXIYLZO RLPMOOOTPWPYO RQPTQVQXP RNOTRVRXQYOYLXKWKVLWMXL RH[JZNYSYYZ\\[",3807:" 90E_\\F[HZJXHVGSFQFNGLHJJILHOHRIUJWLYNZQ[T[VZXYYXZV[Y\\[ R[HZMZT[Y RZKYJ RZNYKXIVG RJKINISJV RNGLIKKJNJSKVLXNZ RXXYVYR RVZWYXVXQ RKSLRMSLTKTJS RJPKNMMOMRNUPWQ RKOMNONROTP RJPLOOOUQYQZP",3808:" 50E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKVKYL[N\\Q\\T[UYV RZN[P[SZU RVKXLYMZOZSYVYXZZ\\[ RH[LZPZU[",3809:" 23E_QIQY RRJRX RSISY RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3810:" 42E_TIVIVXUZS[ RWIWXVY RXHXY RHFLHPITIXH\\F RIOHQHUIXKZN[S[VZXYZW\\T RIUJXKY RHSJUKXLZN[",3811:" 70E_JGJZH[ RKHKZ RNHLHLZ RHFJGNHSHYG\\F RLPMNOLRKUKXLYMYOXPSRQSPTPUQVRUQT RWLXMXOWP RUKWMWOVPSR RSRVRYSZUZWYX RWSYUYW RSRVSXUYXZZ[[\\[ RH[LZPZU[",3812:" 45E_JGJZ RKHKY RNHLHLYNY R\\KZNYPXSXUYW[X RZOYRYUZW R\\K[MZQZT[X\\[ RHFJGNHSHYG\\F RH[JZNYSYYZ\\[",3813:" 68E_QIQY RRJRX RSISY RNYLWJVIUHRHMIJKHMGPFTFWGYH[J\\M\\R[UZVXWVY RJUIRIMJJ RLWKUJRJLKIMG RZJ[M[RZU RWGYIZLZRYUXW RHFLHPITIXH\\F RH[KZOYUYYZ\\[",3814:" 48E_JHJZH[ RLHKIKZ ROFMGLILZ RHJJHLGOFSFVGXHZJ[L\\O\\S[UYV RZK[N[RZU RVGXIYKZNZRYVYXZZ[[\\[ RH[LZPZU[",3815:" 54E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG",3816:" 51E_JIJZ RMHKJKY RQFOGMILKLYNY RHKJINGQFTFWGYH[J\\M\\O[RYTVURUOTMRLO RZJ[L[PZR RWGYIZLZPYSVU RH[JZNYSYYZ\\[",3817:" 74E_QFNGLHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXHVGSFQF RJKINISJV RNGLIKKJNJSKVLXNZ RZV[S[NZK RVZXXYVZSZNYKXIVG RJSKUNVTW[W\\X\\Z[[[Z\\Y RPWRW RKUNWQXSXTW",3818:" 69E_JIJZH[ RKIKZ RLHLZ RHKJILHNGQFUFYG[I\\K\\N[PZQ RYHZI[K[NZP RUFWGYIZKZOYQ RXRUSRSPRPPROUOXPZR\\U\\W[XZX RXQYR[V[WZT RTOVPXRYTZX[Z\\[ RH[LZPZU[",3819:" 94E_TFZG\\F[H[JYHWGTFPFMGJJIMIOJRLTOURUTTUSVQVP R[GZH[J RJPKRLSOTRTTS RKIJKJNKPMRPSRSTRVPWOXO RLQMQNPPNRMUMWNYPZRZUYXWZ RPMRLULXMZO[R[UZW RIWJYIZ RNPNOOMPLRKUKXL[O\\R\\T[WYYWZT[P[MZKYIWIYH[JZP[",3820:" 66E_QHMHKIJJILHOHSIVJXKYMZP[S[VZXYZW[U\\R\\N[KYIWH RUHTITKULVKUJ RISJVLXNYQZTZWY RJJINIQJTLWNXQYTYWXYW[T\\R RHFKI RKHLG RIGJGKFMGQHWHZG\\F",3821:" 51E_LHJJILHOHRIUJWLYNZQ[U[XZZY RKJJLIOISJV RKILJLKKMJPJSKVLXNZ RVHXHXXWZU[ RYHYXXY RZGZY\\[ RHFKGQHVHZG\\F",3822:" 31E_HFR[ RIGJHQWRY RJGKHRWSX R\\FR[ RWNUS RYLUQTTTV RHFJGOHUHZG\\F",3823:" 67E_LHJJILHOHRIUJWLYNZQ[S[VZXYZW[U\\R\\O[LZJXH RJLIOIRJUKW RJJKKKLJOJRKVLXNZ RYWZU[R[OZL RVZXXYVZRZOYLYKZJ RQIQ[ RRJRZ RSIS[ RHFLHPITIXH\\F",3824:" 41E_HFXYYZ RIGKHZZ RLH\\[ R\\FSP RQRJZ RPSMULW RQRMTLUKWKY RHFLHPITIXH\\F RH[JZNYSYYZ\\[",3825:" 47E_XHXZ RYHYY RZGZY RKHIJHMHPISKUMVPWSWVVXU RLUOVUV RHPIRKTNUTUVV RHFLHPITIXH\\F RHWJYLZP[T[XZ\\X",3826:" 73E_HFIGKHNHSFVFYGZIZKYM RXGYIYKXM RVFWGXIXL RXNTOROPNPLRKTKXL RTKVLWMVNTO RYM[O\\R\\T[WYYWZT[P[MZKYIWHTHRIOJNLMNMPNPPOQNPOO RXMZO[Q[UZW RXNYOZQZUYXWZ",3901:" 42J[PQMTMXP[TY RNTNXPZ ROROWRZ RRSMNNMONNO RONSNUMWOWXXY RUNVOVXUYVZWYVX RSNUPUXTYV[XY",3902:" 31IZNHLFMJMXP[UYWX RNHNXPZ RNHPFOJOWRZ ROOTMWPWX RTNVPVX RRNUQUY",3903:" 23KWNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMVOTPRN RSNUO",3904:" 32JZRMMPMXP[RZUYWY RNPNXPZ ROOOWRZ RPIPFQIWPWY RPIVPVX RPIMIPJUPUY",3905:" 25KXNPNYP[RY ROPOYPZ RPOPXQYRY RNPTMWQPU RSNVQ RRNUR",3906:" 32KWOIOXNYP[ RPIPXOYPZQYPX RQHQXRYP[ ROIUFWHUISG RTGVH RLMOM RQMUM",3907:" 41J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW]V_U`SaQaO`MaObQa RTNVPV]U_ RPaNa RRNUQU^T`Sa",3908:" 42I[NHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROORNTMWPWYT]T`UbVbT` RTNVPVYU[ RRNUQUZT]",3909:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQXPYR[ RRPSORNQORPRXQYRZSYRX RRMTOSPSXTYR[",3910:" 37MWRFPHRJTHRF RRGQHRISHRG RRMPOQPQYT] RRPSORNQORPRYS[ RRMTOSPSZT]T`RbPaPbRb",3911:" 51IZNHLFMJMXLYN[ RNHNXMYNZOYNX RNHPFOJOXPYN[ ROPRNTMVPSROU RSNUP RRNTQ RRSSTTYV[XY RSSTUUYVZ RSRTSVXWYXY",3912:" 21MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[",3913:" 66E_GOHOIPIXHYJ[ RINJOJXIYJZKYJX RGOIMKOKXLYJ[ RKONNPMSOSXTYR[ RPNRORXQYRZSYRX RNNQPQXPYR[ RSOVNXM[O[X\\YZ[ RXNZOZXYYZZ[YZX RVNYPYXXYZ[",3914:" 44I[KOLOMPMXLYN[ RMNNONXMYNZOYNX RKOMMOOOXPYN[ ROORNTMWOWXXYV[ RTNVOVXUYVZWYVX RRNUPUXTYV[",3915:" 28JZMPMXP[UYWX RNPNXPZ ROOOWRZ RMPOOTMWPWX RTNVPVX RRNUQUY",3916:" 47IZLMMOMXKYMYM_LbN` RNON` RLMNNOOOXQYRZ RNYOYQZ ROZP[UYWX ROZO_PbN` ROORNTMWPWX RTNVPVX RRNUQUY",3917:" 31J[MPMXP[UY RNPNXPZ ROOOWRZ RMPOOTMWPW_XbV` RTNVPV` RRNUQU_TbV`",3918:" 31KXMONOOPOXNYP[ RONPOPXOYPZQYPX RMOOMQOQXRYP[ RQOUMWOUPSN RTNVO",3919:" 41JZMPMSOUURWTWX RNPNSOT ROOOSPT RUSVTVX RTSUTUY RMPSMVNTOQN RRNUN RWXQ[MYOXSZ ROYQZ",3920:" 27MWRHPFQJQXPYR[ RRHRXQYRZSYRX RRHTFSJSXTYR[ RNMQM RSMVM",3921:" 40I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPWXXYYY RVPWOVNUOVPVYWZ RVMTOUPUYW[YY",3922:" 36I[LMMOMXQ[SYWW RMNNONXQZ RLMNNOOOWRYSY RVMXOWPWW RVPWOVNUOVPVW RVMTOUPUX",3923:" 59E_HMIOIXM[OYQX RINJOJXMZ RHMJNKOKWNYOY RRMPOQPQXU[WY[W RRPSORNQORPRXUZ RRMTOSPSWVYWY RZM\\O[P[W RZP[OZNYOZPZW RZMXOYPYX",3924:" 39I[LONPUZV[XY RMNOOUYWZ RLONMONVXXY RXMVMVOXOXMVOSS RQUNYL[N[NYLYL[ RNTQT RSTVT",3925:" 49I[KOLOMPMYP[UY RMNNONYPZ RKOMMOOOXRZ RVMXOWPW]V_U`SaQaO`MaObQa RVPWOVNUOVPV^U_ RPaNa RVMTOUPU^T`Sa",3926:" 43L[RNOPOORNTMWOWSRU RTNVOVS RRNUPUSTT RRUWWW]V_U`SaQaO`MaObQa RVWV^U_ RPaNa RTVUWU^T`Sa"},Fe={"\\frac":{glyph:0,arity:2,flags:{}},"\\binom":{glyph:0,arity:2,flags:{}},"\\sqrt":{glyph:2267,arity:1,flags:{opt:!0,xfl:!0,yfl:!0}},"^":{glyph:0,arity:1,flags:{}},_:{glyph:0,arity:1,flags:{}},"(":{glyph:2221,arity:0,flags:{yfl:!0}},")":{glyph:2222,arity:0,flags:{yfl:!0}},"[":{glyph:2223,arity:0,flags:{yfl:!0}},"]":{glyph:2224,arity:0,flags:{yfl:!0}},"\\langle":{glyph:2227,arity:0,flags:{yfl:!0}},"\\rangle":{glyph:2228,arity:0,flags:{yfl:!0}},"|":{glyph:2229,arity:0,flags:{yfl:!0}},"\\|":{glyph:2230,arity:0,flags:{yfl:!0}},"\\{":{glyph:2225,arity:0,flags:{yfl:!0}},"\\}":{glyph:2226,arity:0,flags:{yfl:!0}},"\\#":{glyph:2275,arity:0,flags:{}},"\\$":{glyph:2274,arity:0,flags:{}},"\\&":{glyph:2273,arity:0,flags:{}},"\\%":{glyph:2271,arity:0,flags:{}},"\\begin":{glyph:0,arity:1,flags:{}},"\\end":{glyph:0,arity:1,flags:{}},"\\left":{glyph:0,arity:1,flags:{}},"\\right":{glyph:0,arity:1,flags:{}},"\\middle":{glyph:0,arity:1,flags:{}},"\\cdot":{glyph:2236,arity:0,flags:{}},"\\pm":{glyph:2233,arity:0,flags:{}},"\\mp":{glyph:2234,arity:0,flags:{}},"\\times":{glyph:2235,arity:0,flags:{}},"\\div":{glyph:2237,arity:0,flags:{}},"\\leqq":{glyph:2243,arity:0,flags:{}},"\\geqq":{glyph:2244,arity:0,flags:{}},"\\leq":{glyph:2243,arity:0,flags:{}},"\\geq":{glyph:2244,arity:0,flags:{}},"\\propto":{glyph:2245,arity:0,flags:{}},"\\sim":{glyph:2246,arity:0,flags:{}},"\\equiv":{glyph:2240,arity:0,flags:{}},"\\dagger":{glyph:2277,arity:0,flags:{}},"\\ddagger":{glyph:2278,arity:0,flags:{}},"\\ell":{glyph:662,arity:0,flags:{}},"\\vec":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overrightarrow":{glyph:2261,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\overleftarrow":{glyph:2263,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\bar":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\overline":{glyph:2231,arity:1,flags:{hat:!0,xfl:!0}},"\\widehat":{glyph:2247,arity:1,flags:{hat:!0,xfl:!0,yfl:!0}},"\\hat":{glyph:2247,arity:1,flags:{hat:!0}},"\\acute":{glyph:2248,arity:1,flags:{hat:!0}},"\\grave":{glyph:2249,arity:1,flags:{hat:!0}},"\\breve":{glyph:2250,arity:1,flags:{hat:!0}},"\\tilde":{glyph:2246,arity:1,flags:{hat:!0}},"\\underline":{glyph:2231,arity:1,flags:{mat:!0,xfl:!0}},"\\not":{glyph:2220,arity:1,flags:{}},"\\neq":{glyph:2239,arity:1,flags:{}},"\\ne":{glyph:2239,arity:1,flags:{}},"\\exists":{glyph:2279,arity:0,flags:{}},"\\in":{glyph:2260,arity:0,flags:{}},"\\subset":{glyph:2256,arity:0,flags:{}},"\\supset":{glyph:2258,arity:0,flags:{}},"\\cup":{glyph:2257,arity:0,flags:{}},"\\cap":{glyph:2259,arity:0,flags:{}},"\\infty":{glyph:2270,arity:0,flags:{}},"\\partial":{glyph:2265,arity:0,flags:{}},"\\nabla":{glyph:2266,arity:0,flags:{}},"\\aleph":{glyph:2077,arity:0,flags:{}},"\\wp":{glyph:2190,arity:0,flags:{}},"\\therefore":{glyph:740,arity:0,flags:{}},"\\mid":{glyph:2229,arity:0,flags:{}},"\\sum":{glyph:2402,arity:0,flags:{big:!0}},"\\prod":{glyph:2401,arity:0,flags:{big:!0}},"\\bigoplus":{glyph:2284,arity:0,flags:{big:!0}},"\\bigodot":{glyph:2281,arity:0,flags:{big:!0}},"\\int":{glyph:2412,arity:0,flags:{yfl:!0}},"\\oint":{glyph:2269,arity:0,flags:{yfl:!0}},"\\oplus":{glyph:1284,arity:0,flags:{}},"\\odot":{glyph:1281,arity:0,flags:{}},"\\perp":{glyph:738,arity:0,flags:{}},"\\angle":{glyph:739,arity:0,flags:{}},"\\triangle":{glyph:842,arity:0,flags:{}},"\\Box":{glyph:841,arity:0,flags:{}},"\\rightarrow":{glyph:2261,arity:0,flags:{}},"\\to":{glyph:2261,arity:0,flags:{}},"\\leftarrow":{glyph:2263,arity:0,flags:{}},"\\gets":{glyph:2263,arity:0,flags:{}},"\\circ":{glyph:902,arity:0,flags:{}},"\\bigcirc":{glyph:904,arity:0,flags:{}},"\\bullet":{glyph:828,arity:0,flags:{}},"\\star":{glyph:856,arity:0,flags:{}},"\\diamond":{glyph:743,arity:0,flags:{}},"\\ast":{glyph:728,arity:0,flags:{}},"\\log":{glyph:0,arity:0,flags:{txt:!0}},"\\ln":{glyph:0,arity:0,flags:{txt:!0}},"\\exp":{glyph:0,arity:0,flags:{txt:!0}},"\\mod":{glyph:0,arity:0,flags:{txt:!0}},"\\lim":{glyph:0,arity:0,flags:{txt:!0,big:!0}},"\\sin":{glyph:0,arity:0,flags:{txt:!0}},"\\cos":{glyph:0,arity:0,flags:{txt:!0}},"\\tan":{glyph:0,arity:0,flags:{txt:!0}},"\\csc":{glyph:0,arity:0,flags:{txt:!0}},"\\sec":{glyph:0,arity:0,flags:{txt:!0}},"\\cot":{glyph:0,arity:0,flags:{txt:!0}},"\\sinh":{glyph:0,arity:0,flags:{txt:!0}},"\\cosh":{glyph:0,arity:0,flags:{txt:!0}},"\\tanh":{glyph:0,arity:0,flags:{txt:!0}},"\\csch":{glyph:0,arity:0,flags:{txt:!0}},"\\sech":{glyph:0,arity:0,flags:{txt:!0}},"\\coth":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsin":{glyph:0,arity:0,flags:{txt:!0}},"\\arccos":{glyph:0,arity:0,flags:{txt:!0}},"\\arctan":{glyph:0,arity:0,flags:{txt:!0}},"\\arccsc":{glyph:0,arity:0,flags:{txt:!0}},"\\arcsec":{glyph:0,arity:0,flags:{txt:!0}},"\\arccot":{glyph:0,arity:0,flags:{txt:!0}},"\\text":{glyph:0,arity:1,flags:{}},"\\mathnormal":{glyph:0,arity:1,flags:{}},"\\mathrm":{glyph:0,arity:1,flags:{}},"\\mathit":{glyph:0,arity:1,flags:{}},"\\mathbf":{glyph:0,arity:1,flags:{}},"\\mathsf":{glyph:0,arity:1,flags:{}},"\\mathtt":{glyph:0,arity:1,flags:{}},"\\mathfrak":{glyph:0,arity:1,flags:{}},"\\mathcal":{glyph:0,arity:1,flags:{}},"\\mathbb":{glyph:0,arity:1,flags:{}},"\\mathscr":{glyph:0,arity:1,flags:{}},"\\rm":{glyph:0,arity:1,flags:{}},"\\it":{glyph:0,arity:1,flags:{}},"\\bf":{glyph:0,arity:1,flags:{}},"\\sf":{glyph:0,arity:1,flags:{}},"\\tt":{glyph:0,arity:1,flags:{}},"\\frak":{glyph:0,arity:1,flags:{}},"\\cal":{glyph:0,arity:1,flags:{}},"\\bb":{glyph:0,arity:1,flags:{}},"\\scr":{glyph:0,arity:1,flags:{}},"\\quad":{glyph:0,arity:0,flags:{}},"\\,":{glyph:0,arity:0,flags:{}},"\\.":{glyph:0,arity:0,flags:{}},"\\;":{glyph:0,arity:0,flags:{}},"\\!":{glyph:0,arity:0,flags:{}},"\\alpha":{glyph:2127,flags:{}},"\\beta":{glyph:2128,flags:{}},"\\gamma":{glyph:2129,flags:{}},"\\delta":{glyph:2130,flags:{}},"\\varepsilon":{glyph:2131,flags:{}},"\\zeta":{glyph:2132,flags:{}},"\\eta":{glyph:2133,flags:{}},"\\vartheta":{glyph:2134,flags:{}},"\\iota":{glyph:2135,flags:{}},"\\kappa":{glyph:2136,flags:{}},"\\lambda":{glyph:2137,flags:{}},"\\mu":{glyph:2138,flags:{}},"\\nu":{glyph:2139,flags:{}},"\\xi":{glyph:2140,flags:{}},"\\omicron":{glyph:2141,flags:{}},"\\pi":{glyph:2142,flags:{}},"\\rho":{glyph:2143,flags:{}},"\\sigma":{glyph:2144,flags:{}},"\\tau":{glyph:2145,flags:{}},"\\upsilon":{glyph:2146,flags:{}},"\\varphi":{glyph:2147,flags:{}},"\\chi":{glyph:2148,flags:{}},"\\psi":{glyph:2149,flags:{}},"\\omega":{glyph:2150,flags:{}},"\\epsilon":{glyph:2184,flags:{}},"\\theta":{glyph:2185,flags:{}},"\\phi":{glyph:2186,flags:{}},"\\varsigma":{glyph:2187,flags:{}},"\\Alpha":{glyph:2027,flags:{}},"\\Beta":{glyph:2028,flags:{}},"\\Gamma":{glyph:2029,flags:{}},"\\Delta":{glyph:2030,flags:{}},"\\Epsilon":{glyph:2031,flags:{}},"\\Zeta":{glyph:2032,flags:{}},"\\Eta":{glyph:2033,flags:{}},"\\Theta":{glyph:2034,flags:{}},"\\Iota":{glyph:2035,flags:{}},"\\Kappa":{glyph:2036,flags:{}},"\\Lambda":{glyph:2037,flags:{}},"\\Mu":{glyph:2038,flags:{}},"\\Nu":{glyph:2039,flags:{}},"\\Xi":{glyph:2040,flags:{}},"\\Omicron":{glyph:2041,flags:{}},"\\Pi":{glyph:2042,flags:{}},"\\Rho":{glyph:2043,flags:{}},"\\Sigma":{glyph:2044,flags:{}},"\\Tau":{glyph:2045,flags:{}},"\\Upsilon":{glyph:2046,flags:{}},"\\Phi":{glyph:2047,flags:{}},"\\Chi":{glyph:2048,flags:{}},"\\Psi":{glyph:2049,flags:{}},"\\Omega":{glyph:2050,flags:{}}};function ke(e,t="math"){const n=e.charCodeAt(0);if(65<=n&&n<=90){const e=n-65;return"text"==t||"rm"==t?e+2001:"tt"==t?e+501:"bf"==t||"bb"==t?e+3001:"sf"==t?e+2501:"frak"==t?e+3301:"scr"==t||"cal"==t?e+2551:e+2051}if(97<=n&&n<=122){const e=n-97;return"text"==t||"rm"==t?e+2101:"tt"==t?e+601:"bf"==t||"bb"==t?e+3101:"sf"==t?e+2601:"frak"==t?e+3401:"scr"==t||"cal"==t?e+2651:e+2151}if(48<=n&&n<=57){const e=n-48;return"it"==t?e+2750:"bf"==t?e+3200:"tt"==t?e+700:e+2200}return{".":2210,",":2211,":":2212,";":2213,"!":2214,"?":2215,"'":2216,'"':2217,"*":2219,"/":2220,"-":2231,"+":2232,"=":2238,"<":2241,">":2242,"~":2246,"@":2273,"\\":804}[e]}const Be={SUB_SUP_SCALE:.5,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function Ue(e){e=e.replace(/\n/g," ");let t=0;const n=[];let r="";while(t<e.length)" "==e[t]?r.length&&(n.push(r),r=""):"\\"==e[t]?1==r.length&&"\\"==r[0]?(r+=e[t],n.push(r),r=""):(r.length&&n.push(r),r=e[t]):/[A-Za-z0-9\.]/.test(e[t])?r+=e[t]:(r.length&&"\\"!=r&&(n.push(r),r=""),r+=e[t],n.push(r),r=""),t++;return r.length&&n.push(r),n}function He(e){return{type:Fe[e]?"symb":"char",mode:"math",text:e,chld:[],bbox:null}}function je(e){let t=0,n={type:"node",text:"",mode:"math",chld:[],bbox:null};function r(){if("["!=e[t])return null;let n=0,r=t;while(r<e.length){if("["==e[r])n++;else if("]"==e[r]&&(n--,!n))break;r++}const i=je(e.slice(t+1,r));return t=r,i}function i(n){let r=t,i=r,o=0,s=0;const a=[];while(r<e.length){if("{"==e[r])o||(i=r),o++;else if("}"==e[r]){if(o--,!o&&(a.push(je(e.slice(i+1,r))),s++,s==n))break}else if(0==o&&(a.push(He(e[r])),s++,s==n))break;r++}return t=r,a}for(t=0;t<e.length;t++){const o=Fe[e[t]],s={type:"",text:e[t],mode:"math",chld:[],bbox:null};if(o)if(o.arity){t++,s.type="func";let e=null;o.flags.opt&&(e=r(),e&&t++);const n=i(o.arity);s.chld=n,e&&s.chld.push(e)}else s.type="symb";else"{"==e[t]?(s.type="node",s.text="",s.chld=i(1)):s.type="char";n.chld.push(s)}return 1==n.chld.length&&(n=n.chld[0]),n}function Ve(e){let t=0;while(t<e.length){if("\\begin"==e[t].text){let n;for(n=t;n<e.length;n++)if("\\end"==e[n].text)break;const r=e.splice(t+1,n-(t+1));Ve(r),e[t].text=e[t].chld[0].text,e[t].chld=r,e.splice(t+1,1)}t++}}function We(e,t,n,r,i,o){if(null==n&&(n=t),e.bbox){o&&(e.bbox.x*=t,e.bbox.y*=n),e.bbox.w*=t,e.bbox.h*=n;for(let r=0;r<e.chld.length;r++)We(e.chld[r],t,n,0,0,!0);e.bbox.x+=r,e.bbox.y+=i}}function Ye(e){let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let o=0;o<e.length;o++)e[o].bbox&&(t=Math.min(t,e[o].bbox.x),r=Math.min(r,e[o].bbox.y),n=Math.max(n,e[o].bbox.x+e[o].bbox.w),i=Math.max(i,e[o].bbox.y+e[o].bbox.h));return{x:t,y:r,w:n-t,h:i-r}}function Qe(e){if(!e.length)return null;const t=Ye(e);for(let r=0;r<e.length;r++)e[r].bbox&&(e[r].bbox.x-=t.x,e[r].bbox.y-=t.y);const n={type:"node",text:"",mode:"math",chld:e,bbox:t};return n}function Xe(e,t="center"){for(let c=0;c<e.length;c++)if("^"==e[c].text||"'"==e[c].text){let t=0,n=c;while(n>0&&("^"==e[n].text||"_"==e[n].text||"'"==e[n].text))n--;t=e[n].bbox.y,"'"==e[c].text?e[c].bbox.y=t:(We(e[c],Be.SUB_SUP_SCALE,null,0,0),Fe[e[n].text]&&Fe[e[n].text].flags.big?e[c].bbox.y=t-e[c].bbox.h:"\\int"==e[n].text?e[c].bbox.y=t:e[c].bbox.y=t-e[c].bbox.h/2)}else if("_"==e[c].text){let t=1,n=c;while(n>0&&("^"==e[n].text||"_"==e[n].text||"'"==e[n].text))n--;t=e[n].bbox.y+e[n].bbox.h,We(e[c],Be.SUB_SUP_SCALE,null,0,0),Fe[e[n].text]&&Fe[e[n].text].flags.big?e[c].bbox.y=t:"\\int"==e[n].text?e[c].bbox.y=t-e[c].bbox.h:e[c].bbox.y=t-e[c].bbox.h/2}function n(t,n,r,i,o){let s=t,a=o,l=1/0,c=-1/0;while(i>0?s<e.length:s>=0){if(e[s].text==n)a++;else if(e[s].text==r){if(a--,0==a)break}else"^"==e[s].text||"_"==e[s].text||e[s].bbox&&(l=Math.min(l,e[s].bbox.y),c=Math.max(c,e[s].bbox.y+e[s].bbox.h));s+=i}return[l,c]}for(let c=0;c<e.length;c++)if("\\left"==e[c].text){const[t,r]=n(c,"\\left","\\right",1,0);t!=1/0&&r!=-1/0&&(e[c].bbox.y=t,We(e[c],1,(r-t)/e[c].bbox.h,0,0))}else if("\\right"==e[c].text){const[t,r]=n(c,"\\right","\\left",-1,0);t!=1/0&&r!=-1/0&&(e[c].bbox.y=t,We(e[c],1,(r-t)/e[c].bbox.h,0,0))}else if("\\middle"==e[c].text){const[t,r]=n(c,"\\right","\\left",-1,1),[i,o]=n(c,"\\left","\\right",1,1),s=Math.min(t,i),a=Math.max(r,o);s!=1/0&&a!=-1/0&&(e[c].bbox.y=s,We(e[c],1,(a-s)/e[c].bbox.h,0,0))}if(!e.some(e=>"&"==e.text||"\\\\"==e.text))return;const r=[];let i=[],o=[];for(let c=0;c<e.length;c++)"&"==e[c].text?(i.push(o),o=[]):"\\\\"==e[c].text?(o.length&&(i.push(o),o=[]),r.push(i),i=[]):o.push(e[c]);o.length&&i.push(o),i.length&&r.push(i);const s=[],a=[];for(let c=0;c<r.length;c++){const e=[];for(let t=0;t<r[c].length;t++){const n=Qe(r[c][t]);n&&(s[t]=s[t]||0,s[t]=Math.max(n.bbox.w+1,s[t])),e[t]=n}a.push(e)}const l=[];for(let c=0;c<a.length;c++){let e=1/0,t=-1/0;for(let n=0;n<a[c].length;n++)a[c][n]&&(e=Math.min(e,a[c][n].bbox.y),t=Math.max(t,a[c][n].bbox.y+a[c][n].bbox.h));l.push([e,t])}for(let c=0;c<l.length;c++)l[c][0]!=1/0&&l[c][1]!=1/0||(l[c][0]=0==c?0:l[c-1][1],l[c][1]=l[c][0]+2);for(let c=1;c<a.length;c++){const e=l[c-1][1]-l[c][0]+Be.LINE_SPACING;for(let t=0;t<a[c].length;t++)a[c][t]&&(a[c][t].bbox.y+=e);l[c][0]+=e,l[c][1]+=e}e.splice(0,e.length);for(let c=0;c<a.length;c++){let n=0;for(let r=0;r<a[c].length;r++){const i=a[c][r];i?(i.bbox.x+=n,n+=s[r]-i.bbox.w,"center"==t?i.bbox.x+=(s[r]-i.bbox.w)/2:"left"==t||("right"==t||"equation"==t&&r!=a[c].length-1)&&(i.bbox.x+=s[r]-i.bbox.w),e.push(i)):n+=s[r]}}}function Ke(e,t="math"){var n,r,i;const o=null!=(n={"\\text":"text","\\mathnormal":"math","\\mathrm":"rm","\\mathit":"it","\\mathbf":"bf","\\mathsf":"sf","\\mathtt":"tt","\\mathfrak":"frak","\\mathcal":"cal","\\mathbb":"bb","\\mathscr":"scr","\\rm":"rm","\\it":"it","\\bf":"bf","\\sf":"tt","\\tt":"tt","\\frak":"frak","\\cal":"cal","\\bb":"bb","\\scr":"scr"}[e.text])?n:t;if(e.chld.length)if("\\frac"==e.text){const t=e.chld[0],n=e.chld[1],r=Be.FRAC_SCALE;Ke(t),Ke(n),t.bbox.x=0,t.bbox.y=0,n.bbox.x=0,n.bbox.y=0;const i=Math.max(t.bbox.w,n.bbox.w)*r;We(t,r,null,(i-t.bbox.w*r)/2,0),We(n,r,null,(i-n.bbox.w*r)/2,t.bbox.h+Be.FRAC_SPACING),e.bbox={x:0,y:1-t.bbox.h-Be.FRAC_SPACING/2,w:i,h:t.bbox.h+n.bbox.h+Be.FRAC_SPACING}}else if("\\binom"==e.text){const t=e.chld[0],n=e.chld[1];Ke(t),Ke(n),t.bbox.x=0,t.bbox.y=0,n.bbox.x=0,n.bbox.y=0;const r=Math.max(t.bbox.w,n.bbox.w);We(t,1,null,(r-t.bbox.w)/2+1,0),We(n,1,null,(r-n.bbox.w)/2+1,t.bbox.h),e.bbox={x:0,y:1-t.bbox.h,w:r+2,h:t.bbox.h+n.bbox.h}}else if("\\sqrt"==e.text){const t=e.chld[0];Ke(t);const n=e.chld[1];let r=0;n&&(Ke(n),r=Math.max(n.bbox.w*Be.SQRT_MAG_SCALE-.5,0),We(n,Be.SQRT_MAG_SCALE,null,0,.5)),We(t,1,null,1+r,.5),e.bbox={x:0,y:2-t.bbox.h-.5,w:t.bbox.w+1+r,h:t.bbox.h+.5}}else if(Fe[e.text]&&Fe[e.text].flags.hat){const t=e.chld[0];Ke(t);const n=t.bbox.y-.5;t.bbox.y=.5,e.bbox={x:0,y:n,w:t.bbox.w,h:t.bbox.h+.5}}else if(Fe[e.text]&&Fe[e.text].flags.mat){const t=e.chld[0];Ke(t),e.bbox={x:0,y:0,w:t.bbox.w,h:t.bbox.h+.5}}else{let n=0,s=0,a=1;for(let i=0;i<e.chld.length;i++){const l=e.chld[i],c=null!=(r={"\\quad":2,"\\,":6/18,"\\:":8/18,"\\;":10/18,"\\!":-6/18}[l.text])?r:null;if("\\\\"!=l.text){if("&"!=l.text)if(null==c){if(Ke(l,o),We(l,1,null,n,s),"^"==l.text||"_"==l.text||"'"==l.text){let t=i;while(t>0&&("^"==e.chld[t].text||"_"==e.chld[t].text||"'"==e.chld[t].text))t--;const r=Fe[e.chld[t].text]&&Fe[e.chld[t].text].flags.big;if("'"==l.text){let r=t+1,o=0;while(r<i)"'"==e.chld[r].text&&o++,r++;l.bbox.x=e.chld[t].bbox.x+e.chld[t].bbox.w+l.bbox.w*o,n=Math.max(n,l.bbox.x+l.bbox.w)}else if(r){const r=e.chld[t].bbox.x+(e.chld[t].bbox.w-l.bbox.w*Be.SUB_SUP_SCALE)/2;l.bbox.x=r,n=Math.max(n,e.chld[t].bbox.x+e.chld[t].bbox.w+(l.bbox.w*Be.SUB_SUP_SCALE-e.chld[t].bbox.w)/2)}else l.bbox.x=e.chld[t].bbox.x+e.chld[t].bbox.w,n=Math.max(n,l.bbox.x+l.bbox.w*Be.SUB_SUP_SCALE)}else n+=l.bbox.w;"text"==t&&(n+=1),a=Math.max(l.bbox.y+l.bbox.h-s,a)}else n+=c}else s+=a,n=0,a=1}s+=a;const l={bmatrix:["[","]"],pmatrix:["(",")"],Bmatrix:["\\{","\\}"],cases:["\\{"]},c=null!=(i={bmatrix:"center",pmatrix:"center",Bmatrix:"center",cases:"left",matrix:"center",aligned:"equation"}[e.text])?i:"left",u=!!l[e.text],d=!!l[e.text]&&l[e.text].length>1;Xe(e.chld,c);const h=Ye(e.chld);"\\text"==e.text&&(h.x-=1,h.w+=2);for(let t=0;t<e.chld.length;t++)We(e.chld[t],1,null,-h.x+(u?1.5:0),-h.y);e.bbox={x:0,y:0,w:h.w+1.5*Number(u)+1.5*Number(d),h:h.h},u&&e.chld.unshift({type:"symb",text:l[e.text][0],mode:e.mode,chld:[],bbox:{x:0,y:0,w:1,h:h.h}}),d&&e.chld.push({type:"symb",text:l[e.text][1],mode:e.mode,chld:[],bbox:{x:h.w+2,y:0,w:1,h:h.h}}),(u||d||"matrix"==e.text)&&(e.type="node",e.text="",e.bbox.y-=(e.bbox.h-2)/2)}else{if(Fe[e.text])if(Fe[e.text].flags.big)"\\lim"==e.text?e.bbox={x:0,y:0,w:3.5,h:2}:e.bbox={x:0,y:-.5,w:3,h:3};else if(Fe[e.text].flags.txt){let t=0;for(let n=1;n<e.text.length;n++)t+=Le(ke(e.text[n],"text")).w;t/=16,e.bbox={x:0,y:0,w:t,h:2}}else if(Fe[e.text].glyph){let t=Le(Fe[e.text].glyph).w;t/=16,"\\int"==e.text||"\\oint"==e.text?e.bbox={x:0,y:-1.5,w:t,h:5}:e.bbox={x:0,y:0,w:t,h:2}}else e.bbox={x:0,y:0,w:1,h:2};else{let t=0;for(let n=0;n<e.text.length;n++)Le(ke(e.text[n],o))&&(t+="tt"==o?16:Le(ke(e.text[n],o)).w);t/=16,e.bbox={x:0,y:0,w:t,h:2}}e.mode=o}}function Ge(e){function t(e,n,r){const i=[];if(e.bbox)if(n+=e.bbox.x,r+=e.bbox.y,"\\frac"==e.text){const t=e.chld[1].bbox.y-(e.chld[0].bbox.y+e.chld[0].bbox.h),o={type:"symb",mode:e.mode,text:"\\bar",bbox:{x:n,y:r+(e.chld[1].bbox.y-t/2)-t/2,w:e.bbox.w,h:t},chld:[]};i.push(o)}else if("\\sqrt"==e.text){const t=e.chld[0].bbox.y,o=Math.max(0,e.chld[0].bbox.x-e.chld[0].bbox.h/2),s={type:"symb",mode:e.mode,text:"\\sqrt",bbox:{x:n+o,y:r+t/2,w:e.chld[0].bbox.x-o,h:e.bbox.h-t/2},chld:[]};i.push(s),i.push({type:"symb",text:"\\bar",mode:e.mode,bbox:{x:n+e.chld[0].bbox.x,y:r,w:e.bbox.w-e.chld[0].bbox.x,h:t},chld:[]})}else if("\\binom"==e.text){const t=Math.min(e.chld[0].bbox.x,e.chld[1].bbox.x),o={type:"symb",mode:e.mode,text:"(",bbox:{x:n,y:r,w:t,h:e.bbox.h},chld:[]};i.push(o),i.push({type:"symb",text:")",mode:e.mode,bbox:{x:n+e.bbox.w-t,y:r,w:t,h:e.bbox.h},chld:[]})}else if(Fe[e.text]&&Fe[e.text].flags.hat){const t=e.chld[0].bbox.y,o={type:"symb",mode:e.mode,text:e.text,bbox:{x:n,y:r,w:e.bbox.w,h:t},chld:[]};i.push(o)}else if(Fe[e.text]&&Fe[e.text].flags.mat){const t=e.chld[0].bbox.h,o={type:"symb",text:e.text,mode:e.mode,bbox:{x:n,y:r+t,w:e.bbox.w,h:e.bbox.h-t},chld:[]};i.push(o)}else if("node"!=e.type&&"^"!=e.text&&"_"!=e.text){const t={type:"func"==e.type?"symb":e.type,text:e.text,mode:e.mode,bbox:{x:n,y:r,w:e.bbox.w,h:e.bbox.h},chld:[]};i.push(t)}for(let o=0;o<e.chld.length;o++){const s=t(e.chld[o],n,r);i.push(...s)}return i}const n=t(e,-e.bbox.x,-e.bbox.y);e.type="node",e.text="",e.chld=n}function Ze(e){const t=[];for(let n=0;n<e.chld.length;n++){const r=e.chld[n];let i=r.bbox.h/2,o=!1;if(Fe[r.text]&&Fe[r.text].flags.hat&&!Fe[r.text].flags.xfl&&!Fe[r.text].flags.yfl&&(i*=4,o=!0),Fe[r.text]&&Fe[r.text].glyph){const e=Le(Fe[r.text].glyph);for(let n=0;n<e.polylines.length;n++){const s=[];for(let t=0;t<e.polylines[n].length;t++){let a=e.polylines[n][t][0],l=e.polylines[n][t][1];if(Fe[r.text].flags.xfl)a=(a-e.xmin)/Math.max(e.xmax-e.xmin,1)*r.bbox.w,a+=r.bbox.x;else if(e.w/16*i>r.bbox.w)a=a/Math.max(e.w,1)*r.bbox.w,a+=r.bbox.x;else{a=a/16*i;const t=(r.bbox.w-e.w/16*i)/2;a+=r.bbox.x+t}if(Fe[r.text].flags.yfl)l=(l-e.ymin)/Math.max(e.ymax-e.ymin,1)*r.bbox.h,l+=r.bbox.y;else{if(l=l/16*i,o){const t=(e.ymax+e.ymin)/2;l-=t/16*i}l+=r.bbox.y+r.bbox.h/2}s.push([a,l])}t.push(s)}}else if(Fe[r.text]&&Fe[r.text].flags.txt||"char"==r.type){let e=r.bbox.x;const n=!(!Fe[r.text]||!Fe[r.text].flags.txt);for(let o=Number(n);o<r.text.length;o++){const s=Le(ke(r.text[o],n?"text":r.mode));if(s){for(let n=0;n<s.polylines.length;n++){const o=[];for(let t=0;t<s.polylines[n].length;t++){let a=s.polylines[n][t][0],l=s.polylines[n][t][1];a/=16,l/=16,a*=i,l*=i,"tt"==r.mode&&(s.w>16?a*=16/s.w:a+=(16-s.w)/2/16),a+=e,l+=r.bbox.y+r.bbox.h/2,o.push([a,l])}t.push(o)}"tt"==r.mode?e+=i:e+=s.w/16*i}else console.warn("unmapped character: "+r.text[o])}}}return t}function ze(e){return Math.round(100*e)/100}class qe{constructor(e){h(this,"_latex"),h(this,"_tree"),h(this,"_tokens"),h(this,"_polylines"),this._latex=e,this._tokens=Ue(e),this._tree=je(this._tokens),Ve(this._tree.chld),Ke(this._tree),Ge(this._tree),this._polylines=Ze(this._tree)}resolveScale(e){var t,n,r,i;if(void 0==e)return[16,16,16,16];let o=null!=(t=e.SCALE_X)?t:16,s=null!=(n=e.SCALE_Y)?n:16;if(void 0!=e.MIN_CHAR_H){let t=0;for(let e=0;e<this._tree.chld.length;e++){const n=this._tree.chld[e];("char"==n.type||Fe[n.text]&&(Fe[n.text].flags.txt||!Object.keys(Fe[n.text].flags).length))&&(t=Math.min(n.bbox.h,t))}const n=Math.max(1,e.MIN_CHAR_H/t);o*=n,s*=n}if(void 0!=e.MAX_W){const t=o;o=Math.min(o,e.MAX_W/this._tree.bbox.w),s*=o/t}if(void 0!=e.MAX_H){const t=s;s=Math.min(s,e.MAX_H/this._tree.bbox.h),o*=s/t}const a=null!=(r=e.MARGIN_X)?r:o,l=null!=(i=e.MARGIN_Y)?i:s;return[a,l,o,s]}polylines(e){e||(e={});const t=[],[n,r,i,o]=this.resolveScale(e);for(let s=0;s<this._polylines.length;s++){t.push([]);for(let e=0;e<this._polylines[s].length;e++){const[a,l]=this._polylines[s][e];t[t.length-1].push([n+a*i,r+l*o])}}return t}pathd(e){e||(e={});let t="";const[n,r,i,o]=this.resolveScale(e);for(let s=0;s<this._polylines.length;s++)for(let e=0;e<this._polylines[s].length;e++){const[a,l]=this._polylines[s][e];t+=e?"L":"M",t+=`${ze(n+a*i)} ${ze(r+l*o)}`}return t}svg(e){var t,n;e||(e={});const[r,i,o,s]=this.resolveScale(e),a=ze(this._tree.bbox.w*o+2*r),l=ze(this._tree.bbox.h*s+2*i);let c=`<svg\n xmlns="http://www.w3.org/2000/svg"\n width="${a}" height="${l}"\n fill="none" stroke="${null!=(t=e.FG_COLOR)?t:"black"}" stroke-width="${null!=(n=e.STROKE_W)?n:1}"\n stroke-linecap="round" stroke-linejoin="round"\n >`;e.BG_COLOR&&(c+=`<rect x="0" y="0" width="${a}" height="${l}" fill="${e.BG_COLOR}" stroke="none"></rect>`),c+='<path d="';for(let u=0;u<this._polylines.length;u++){c+="M";for(let e=0;e<this._polylines[u].length;e++){const[t,n]=this._polylines[u][e];c+=ze(r+t*o)+" "+ze(i+n*s)+" "}}return c+='"/>',c+="</svg>",{svg:"data:image/svg+xml;base64,"+window.btoa(c),width:Math.ceil(a),height:Math.ceil(l)}}pdf(e){var t;e||(e={});const[n,r,i,o]=this.resolveScale(e),s=ze(this._tree.bbox.w*i+2*n),a=ze(this._tree.bbox.h*o+2*r);let l=`%PDF-1.1\n%%¥±ë\n1 0 obj\n<< /Type /Catalog\n/Pages 2 0 R\n>>endobj\n 2 0 obj\n<< /Type /Pages\n/Kids [3 0 R]\n/Count 1\n/MediaBox [0 0 ${s} ${a}]\n>>\nendobj\n 3 0 obj\n<< /Type /Page\n/Parent 2 0 R\n/Resources\n<< /Font\n<< /F1\n<< /Type /Font\n /Subtype /Type1\n/BaseFont /Times-Roman\n>>\n>>\n>>\n/Contents [`,c="",u=4;for(let d=0;d<this._polylines.length;d++){c+=`${u} 0 obj \n<< /Length 0 >>\n stream\n 1 j 1 J ${null!=(t=e.STROKE_W)?t:1} w\n`;for(let e=0;e<this._polylines[d].length;e++){const[t,s]=this._polylines[d][e];c+=`${ze(n+t*i)} ${ze(a-(r+s*o))} ${e?"l":"m"} `}c+="\nS\nendstream\nendobj\n",l+=u+" 0 R ",u++}return l+="]\n>>\nendobj\n",c+="\ntrailer\n<< /Root 1 0 R \n /Size 0\n >>startxref\n\n%%EOF\n",l+c}boxes(e){e||(e={});const[t,n,r,i]=this.resolveScale(e),o=[];for(let s=0;s<this._tree.chld.length;s++){const{x:e,y:a,w:l,h:c}=this._tree.chld[s].bbox;o.push({x:t+e*r,y:n+a*i,w:l*r,h:c*i})}return o}box(e){e||(e={});const[t,n,r,i]=this.resolveScale(e);return{x:t+this._tree.bbox.x*r,y:n+this._tree.bbox.y*i,w:this._tree.bbox.w*r,h:this._tree.bbox.h*i}}}class Je extends xe{static convertLaTextToSVG(e){return new qe(e).svg({SCALE_X:10,SCALE_Y:10,MARGIN_X:0,MARGIN_Y:0})}render(e,t,n,r){const{scale:i}=this.options,o=t.width*i,s=t.height*i;if(this.imageCache.has(t.value)){const i=this.imageCache.get(t.value);e.drawImage(i,n,r,o,s)}else{const i=new Promise((i,a)=>{const l=new Image;l.src=t.laTexSVG,l.onload=()=>{e.drawImage(l,n,r,o,s),this.imageCache.set(t.value,l),i(t)},l.onerror=e=>{a(e)}});this.addImageObserver(i)}}}var $e,et,tt,nt;(function(e){e["UL"]="ul",e["OL"]="ol"})($e||($e={})),function(e){e["DISC"]="disc",e["CIRCLE"]="circle",e["SQUARE"]="square",e["CHECKBOX"]="checkbox"}(et||(et={})),function(e){e["DECIMAL"]="decimal"}(tt||(tt={})),function(e){e["DISC"]="disc",e["CIRCLE"]="circle",e["SQUARE"]="square",e["DECIMAL"]="decimal",e["CHECKBOX"]="checkbox"}(nt||(nt={}));const rt={[et.DISC]:"•",[et.CIRCLE]:"◦",[et.SQUARE]:"▫︎",[et.CHECKBOX]:"☑️"},it={[$e.OL]:"ol",[$e.UL]:"ul"},ot={[nt.DISC]:"disc",[nt.CIRCLE]:"circle",[nt.SQUARE]:"square",[nt.DECIMAL]:"decimal",[nt.CHECKBOX]:"checkbox"};var st;(function(e){e["FIRST"]="first",e["SECOND"]="second",e["THIRD"]="third",e["FOURTH"]="fourth",e["FIFTH"]="fifth",e["SIXTH"]="sixth"})(st||(st={}));const at={defaultFirstSize:26,defaultSecondSize:24,defaultThirdSize:22,defaultFourthSize:20,defaultFifthSize:18,defaultSixthSize:16},lt={[st.FIRST]:"defaultFirstSize",[st.SECOND]:"defaultSecondSize",[st.THIRD]:"defaultThirdSize",[st.FOURTH]:"defaultFourthSize",[st.FIFTH]:"defaultFifthSize",[st.SIXTH]:"defaultSixthSize"},ct={[st.FIRST]:1,[st.SECOND]:2,[st.THIRD]:3,[st.FOURTH]:4,[st.FIFTH]:5,[st.SIXTH]:6},ut={H1:st.FIRST,H2:st.SECOND,H3:st.THIRD,H4:st.FOURTH,H5:st.FIFTH,H6:st.SIXTH};var dt,ht,pt,ft,mt,At;(function(e){e["TEXT"]="text",e["SELECT"]="select",e["CHECKBOX"]="checkbox",e["RADIO"]="radio",e["DATE"]="date",e["NUMBER"]="number"})(dt||(dt={})),function(e){e["PREFIX"]="prefix",e["POSTFIX"]="postfix",e["PRE_TEXT"]="preText",e["POST_TEXT"]="postText",e["PLACEHOLDER"]="placeholder",e["VALUE"]="value",e["CHECKBOX"]="checkbox",e["RADIO"]="radio"}(ht||(ht={})),function(e){e["ROW_START"]="rowStart",e["VALUE_START"]="valueStart"}(pt||(pt={})),function(e){e["ACTIVE"]="active",e["INACTIVE"]="inactive"}(ft||(ft={})),function(e){e["CONTAIN"]="contain",e["COVER"]="cover"}(mt||(mt={})),function(e){e["REPEAT"]="repeat",e["NO_REPEAT"]="no-repeat",e["REPEAT_X"]="repeat-x",e["REPEAT_Y"]="repeat-y"}(At||(At={}));const gt={color:"#FFFFFF",image:"",size:mt.COVER,repeat:At.NO_REPEAT,applyPageNumbers:[]};var _t;(function(e){e["TOP"]="top",e["MIDDLE"]="middle",e["BOTTOM"]="bottom"})(_t||(_t={}));const bt={width:14,height:14,gap:5,lineWidth:1,fillStyle:"#5175f4",strokeStyle:"#ffffff",verticalAlign:_t.BOTTOM},vt={placeholderColor:"#9c9b9b",bracketColor:"#000000",prefix:"{",postfix:"}",borderWidth:1,borderColor:"#000000",activeBackgroundColor:""},wt={bottom:30,maxHeightRadio:f.HALF,disabled:!1,editable:!0},yt={opacity:.1,backgroundColor:"#E99D00",activeOpacity:.5,activeBackgroundColor:"#E99D00",disabled:!1},Rt={top:30,maxHeightRadio:f.HALF,disabled:!1,editable:!0},Mt={disabled:!0,color:"#CCCCCC",lineWidth:1.5},St={font:"Microsoft YaHei",fontSize:12,lineDash:[3,1]},Et={PAGE_NO:"{pageNo}",PAGE_COUNT:"{pageCount}"},Tt={bottom:60,size:12,font:"Microsoft YaHei",color:"#000000",rowFlex:T.CENTER,format:Et.PAGE_NO,numberType:m.ARABIC,disabled:!1,startPageNo:1,fromPageNo:0,maxPageNo:null},Ct={data:"",color:"#DCDFE6",opacity:1,size:16,font:"Microsoft YaHei"},Ot={width:14,height:14,gap:5,lineWidth:1,fillStyle:"#5175f4",strokeStyle:"#000000",verticalAlign:_t.BOTTOM},xt={lineWidth:1,strokeStyle:"#000000"},Nt={tdPadding:[0,5,5,5],defaultTrMinHeight:42,defaultColMinWidth:40,defaultBorderColor:"#000000"},Lt={data:"",color:"#AEB5C0",opacity:.3,size:200,font:"Microsoft YaHei",repeat:!1,gap:[10,10]},It={tipDisabled:!0};var Pt;(function(e){e["PAGE"]="page",e["CONTINUITY"]="continuity"})(Pt||(Pt={}));const Dt={size:12,font:"Microsoft YaHei",color:"#000000",disabled:!0,right:20,type:Pt.CONTINUITY},Ft={color:"#000000",lineWidth:1,padding:[0,5,0,5],disabled:!0};var kt,Bt,Ut,Ht,jt,Vt,Wt,Yt;(function(e){e["COMPONENT"]="component",e["MENU"]="menu",e["MAIN"]="main",e["FOOTER"]="footer",e["CONTEXTMENU"]="contextmenu",e["POPUP"]="popup",e["CATALOG"]="catalog",e["COMMENT"]="comment"})(kt||(kt={})),function(e){e["PAGE"]="page",e["TABLE"]="table"}(Bt||(Bt={})),function(e){e["EDIT"]="edit",e["CLEAN"]="clean",e["READONLY"]="readonly",e["FORM"]="form",e["PRINT"]="print",e["DESIGN"]="design"}(Ut||(Ut={})),function(e){e["HEADER"]="header",e["MAIN"]="main",e["FOOTER"]="footer"}(Ht||(Ht={})),function(e){e["PAGING"]="paging",e["CONTINUITY"]="continuity"}(jt||(jt={})),function(e){e["VERTICAL"]="vertical",e["HORIZONTAL"]="horizontal"}(Vt||(Vt={})),function(e){e["BREAK_ALL"]="break-all",e["BREAK_WORD"]="break-word"}(Wt||(Wt={})),function(e){e["SPEED"]="speed",e["COMPATIBILITY"]="compatibility"}(Yt||(Yt={}));const Qt={top:0,left:5};function Xt(e={}){const t=u(u({},Nt),e.table),n=u(u({},Rt),e.header),r=u(u({},wt),e.footer),i=u(u({},Tt),e.pageNumber),o=u(u({},Lt),e.watermark),s=u(u({},vt),e.control),a=u(u({},bt),e.checkbox),l=u(u({},Ot),e.radio),c=u(u({},ae),e.cursor),h=u(u({},at),e.title),p=u(u({},Ct),e.placeholder),f=u(u({},yt),e.group),m=u(u({},St),e.pageBreak),A=u(u({},It),e.zone),g=u(u({},gt),e.background),_=u(u({},Mt),e.lineBreak),b=u(u({},xt),e.separator),v=u(u({},Dt),e.lineNumber),w=u(u({},Ft),e.pageBorder),y=u(u({},Qt),e.badge);return d(u({mode:Ut.EDIT,defaultType:"TEXT",defaultColor:"#000000",defaultFont:"Microsoft YaHei",defaultSize:16,minSize:5,maxSize:72,defaultRowMargin:1,defaultBasicRowMarginHeight:8,defaultTabWidth:32,width:794,height:1123,scale:1,pageGap:20,underlineColor:"#000000",strikeoutColor:"#FF0000",rangeAlpha:.6,rangeColor:"#AECBFA",rangeMinWidth:5,searchMatchAlpha:.6,searchMatchColor:"#FFFF00",searchNavigateMatchColor:"#AAD280",highlightAlpha:.6,resizerColor:"#4182D9",resizerSize:5,marginIndicatorSize:35,marginIndicatorColor:"#BABABA",margins:[100,120,100,120],pageMode:jt.PAGING,renderMode:Yt.SPEED,defaultHyperlinkColor:"#0000FF",paperDirection:Vt.VERTICAL,inactiveAlpha:.6,historyMaxRecordCount:100,wordBreak:Wt.BREAK_WORD,printPixelRatio:3,maskMargin:[0,0,0,0],letterClass:[S.ENGLISH],contextMenuDisableKeys:[],scrollContainerSelector:""},e),{table:t,header:n,footer:r,pageNumber:i,watermark:o,control:s,checkbox:a,radio:l,cursor:c,title:h,placeholder:p,group:f,pageBreak:m,zone:A,background:g,lineBreak:_,separator:b,lineNumber:v,pageBorder:w,badge:y})}function Kt(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=j(r.value);for(let e=0;e<i.length;e++)t.push(d(u({},r),{value:i[e]}))}return t}function Gt(e,t){var n;const{isHandleFirstElement:r=!0,isForceCompensation:i=!1,editorOptions:o}=t,s=e[0];(i||r&&(null==s?void 0:s.type)!==he.LIST&&((null==s?void 0:s.type)&&s.type!==he.TEXT||!I.test(null==s?void 0:s.value)))&&e.unshift({value:b});let a=0;while(a<e.length){let r=e[a];if(r.type===he.TITLE){e.splice(a,1);const n=r.valueList||[];if(Gt(n,d(u({},t),{isHandleFirstElement:!1,isForceCompensation:!1})),n.length){const t=r.titleId||H(),i=o.title;for(let o=0;o<n.length;o++){const s=n[o];s.title=r.title,r.level&&(s.titleId=t,s.level=r.level),tn(s)&&(s.size||(s.size=i[lt[s.level]]),void 0===s.bold&&(s.bold=!0)),e.splice(a,0,s),a++}}a--}else if(r.type===he.LIST){e.splice(a,1);const n=r.valueList||[];if(Gt(n,d(u({},t),{isHandleFirstElement:!0,isForceCompensation:!1})),n.length){const t=H();for(let i=0;i<n.length;i++){const o=n[i];o.listId=t,o.listType=r.listType,o.listStyle=r.listStyle,e.splice(a,0,o),a++}}a--}else if(r.type===he.AREA){e.splice(a,1);const n=(null==r?void 0:r.valueList)||[];if(Gt(n,d(u({},t),{isHandleFirstElement:!1,isForceCompensation:!1})),n.length){const t=H();for(let i=0;i<n.length;i++){const o=n[i];if(o.areaId=r.areaId||t,o.area=r.area,o.type===he.TABLE){const e=o.trList;for(let n=0;n<e.length;n++){const i=e[n];for(let e=0;e<i.tdList.length;e++){const n=i.tdList[e],o=n.value;for(let e=0;e<o.length;e++){const n=o[e];n.areaId=r.areaId||t,n.area=r.area}}}}e.splice(a,0,o),a++}}a--}else if(r.type===he.TABLE){const e=r.id||H();if(r.id=e,r.trList){const{defaultTrMinHeight:n}=o.table;for(let i=0;i<r.trList.length;i++){const o=r.trList[i],s=o.id||H();o.id=s,(!o.minHeight||o.minHeight<n)&&(o.minHeight=n),o.height<o.minHeight&&(o.height=o.minHeight);for(let n=0;n<o.tdList.length;n++){const r=o.tdList[n],i=r.id||H();r.id=i,Gt(r.value,d(u({},t),{isHandleFirstElement:!0,isForceCompensation:!0}));for(let t=0;t<r.value.length;t++){const n=r.value[t];n.tdId=i,n.trId=s,n.tableId=e}}}}}else if(r.type===he.HYPERLINK){e.splice(a,1);const t=Kt(r.valueList||[]);if(t.length){const n=H();for(let i=0;i<t.length;i++){const o=t[i];o.type=r.type,o.url=r.url,o.hyperlinkId=n,e.splice(a,0,o),a++}}a--}else if(r.type===he.DATE){e.splice(a,1);const t=Kt(r.valueList||[]);if(t.length){const n=H();for(let i=0;i<t.length;i++){const o=t[i];o.type=r.type,o.dateFormat=r.dateFormat,o.dateId=n,e.splice(a,0,o),a++}}a--}else if(r.type===he.CONTROL){if(!r.control){a++;continue}const{prefix:n,postfix:i,preText:s,postText:l,value:c,placeholder:h,code:p,type:f,valueSets:m}=r.control,{editorOptions:{control:A,checkbox:g,radio:_}}=t,v=r.controlId||H();e.splice(a,1);const w=q(r,[...Me,...fe]),y=q(r.control,ye),R=d(u({},y),{color:o.control.bracketColor}),M=j(n||A.prefix);for(let t=0;t<M.length;t++){const n=M[t];e.splice(a,0,d(u(u({},w),R),{controlId:v,value:n,type:r.type,control:r.control,controlComponent:ht.PREFIX})),a++}if(s){const t=j(s);for(let n=0;n<t.length;n++){const i=t[n];e.splice(a,0,d(u(u({},w),y),{controlId:v,value:i,type:r.type,control:r.control,controlComponent:ht.PRE_TEXT})),a++}}if(c&&c.length||f===dt.CHECKBOX||f===dt.RADIO||f===dt.SELECT&&p&&(!c||!c.length)){let n=c||[];if(f===dt.CHECKBOX){const t=p?p.split(","):[];if(Array.isArray(m)&&m.length){const i=n.reduce((e,t)=>e.concat(t.value.split("").map(e=>d(u({},t),{value:e}))),[]);let o=0;for(let n=0;n<m.length;n++){const s=m[n];e.splice(a,0,d(u(u({},w),y),{controlId:v,value:"",type:r.type,control:r.control,controlComponent:ht.CHECKBOX,checkbox:{code:s.code,value:t.includes(s.code)}})),a++;const l=j(s.value);for(let t=0;t<l.length;t++){const n=l[t],s=t===l.length-1;e.splice(a,0,d(u(u(u({},w),y),i[o]),{controlId:v,value:"\n"===n?b:n,letterSpacing:s?g.gap:0,control:r.control,controlComponent:ht.VALUE})),o++,a++}}}}else if(f===dt.RADIO){if(Array.isArray(m)&&m.length){const t=n.reduce((e,t)=>e.concat(t.value.split("").map(e=>d(u({},t),{value:e}))),[]);let i=0;for(let n=0;n<m.length;n++){const o=m[n];e.splice(a,0,d(u(u({},w),y),{controlId:v,value:"",type:r.type,control:r.control,controlComponent:ht.RADIO,radio:{code:o.code,value:p===o.code}})),a++;const s=j(o.value);for(let n=0;n<s.length;n++){const o=s[n],l=n===s.length-1;e.splice(a,0,d(u(u(u({},w),y),t[i]),{controlId:v,value:"\n"===o?b:o,letterSpacing:l?_.gap:0,control:r.control,controlComponent:ht.VALUE})),i++,a++}}}}else{if((!c||!c.length)&&Array.isArray(m)&&m.length){const e=m.find(e=>e.code===p);e&&(n=[{value:e.value}])}Gt(n,d(u({},t),{isHandleFirstElement:!1,isForceCompensation:!1}));for(let t=0;t<n.length;t++){const i=n[t],o=i.value;e.splice(a,0,d(u(u(u({},w),y),i),{controlId:v,value:"\n"===o?b:o,type:i.type||he.TEXT,control:r.control,controlComponent:ht.VALUE})),a++}}}else if(h){const t=d(u({},y),{color:o.control.placeholderColor}),n=j(h);for(let i=0;i<n.length;i++){const o=n[i];e.splice(a,0,d(u(u({},w),t),{controlId:v,value:"\n"===o?b:o,type:r.type,control:r.control,controlComponent:ht.PLACEHOLDER})),a++}}if(l){const t=j(l);for(let n=0;n<t.length;n++){const i=t[n];e.splice(a,0,d(u(u({},w),y),{controlId:v,value:i,type:r.type,control:r.control,controlComponent:ht.POST_TEXT})),a++}}const S=j(i||A.postfix);for(let t=0;t<S.length;t++){const n=S[t];e.splice(a,0,d(u(u({},w),R),{controlId:v,value:n,type:r.type,control:r.control,controlComponent:ht.POSTFIX})),a++}a--}else if((!r.type||Se.includes(r.type))&&(null==(n=r.value)?void 0:n.length)>1){e.splice(a,1);const t=j(r.value);for(let n=0;n<t.length;n++)e.splice(a+n,0,d(u({},r),{value:t[n]}));r=e[a]}if("\n"!==r.value&&"\r\n"!=r.value||(r.value=b),r.type!==he.IMAGE&&r.type!==he.BLOCK||(r.id=r.id||H()),r.type===he.LATEX){const{svg:e,width:t,height:n}=Je.convertLaTextToSVG(r.value);r.width=r.width||t,r.height=r.height||n,r.laTexSVG=e,r.id=r.id||H()}a++}}function Zt(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if("value"!==r&&(!("groupIds"===r&&Array.isArray(e[r])&&Array.isArray(t[r])&&te(e[r],t[r]))&&e[r]!==t[r]))return!1}return!0}function zt(e,t={}){const{extraPickAttrs:n}=t,r=Ae;n&&r.push(...n);const i={value:e.value===b?"\n":e.value};return r.forEach(t=>{const n=e[t];void 0!==n&&(i[t]=n)}),i}function qt(e,t={}){const{extraPickAttrs:n,isClassifyArea:r=!1}=t,i=k(e),o=[];let s=0;while(s<i.length){let e=i[s];if(0===s&&e.value===b&&!e.listId&&(!e.type||e.type===he.TEXT)){s++;continue}if(e.titleId&&e.level){const n=e.titleId;if(n){const r=e.level,o={type:he.TITLE,title:e.title,titleId:n,value:"",level:r},a=[];while(s<i.length){const e=i[s];if(n!==e.titleId){s--;break}delete e.level,delete e.title,a.push(e),s++}o.valueList=qt(a,t),e=o}}else if(e.listId&&e.listType){const n=e.listId;if(n){const r=e.listType,o=e.listStyle,a={type:he.LIST,value:"",listId:n,listType:r,listStyle:o},l=[];while(s<i.length){const e=i[s];if(n!==e.listId){s--;break}delete e.listType,delete e.listStyle,l.push(e),s++}a.valueList=qt(l,t),e=a}}else if(e.areaId&&e.area){const n=e.areaId,a=e.area,l=[];while(s<i.length){const e=i[s];if(n!==e.areaId){s--;break}delete e.area,delete e.areaId,l.push(e),s++}const c=qt(l,t);if(!r){o.splice(s,0,...c);continue}{const t={type:he.AREA,value:"",areaId:n,area:a};t.valueList=c,e=t}}else if(e.type===he.TABLE){if(e.pagingId){let t=s+1,n=0;while(t<i.length){const r=i[t];if(r.pagingId!==e.pagingId)break;e.height+=r.height,e.trList.push(...r.trList),t++,n++}s+=n}if(e.trList)for(let n=0;n<e.trList.length;n++){const r=e.trList[n];delete r.id;for(let e=0;e<r.tdList.length;e++){const n=r.tdList[e],i={colspan:n.colspan,rowspan:n.rowspan,value:qt(n.value,d(u({},t),{isClassifyArea:!1}))};ge.forEach(e=>{const t=n[e];void 0!==t&&(i[e]=t)}),r.tdList[e]=i}}}else if(e.type===he.HYPERLINK){const n=e.hyperlinkId;if(n){const r={type:he.HYPERLINK,value:"",url:e.url},o=[];while(s<i.length){const e=i[s];if(n!==e.hyperlinkId){s--;break}delete e.type,delete e.url,o.push(e),s++}r.valueList=qt(o,t),e=r}}else if(e.type===he.DATE){const n=e.dateId;if(n){const r={type:he.DATE,value:"",dateFormat:e.dateFormat},o=[];while(s<i.length){const e=i[s];if(n!==e.dateId){s--;break}delete e.type,delete e.dateFormat,o.push(e),s++}r.valueList=qt(o,t),e=r}}else if(e.controlId){const r=e.controlId;if(e.controlComponent===ht.PREFIX){const o=[];let a=!1,l=s;while(l<i.length){const e=i[l];if(r!==e.controlId)break;e.controlComponent===ht.VALUE&&(delete e.control,delete e.controlId,o.push(e)),e.controlComponent===ht.POSTFIX&&(a=!0),l++}if(a){const i=q(e,ye),a=u(u({},e.control),i),c=d(u({},q(e,fe)),{type:he.CONTROL,value:"",control:a,controlId:r});c.control.value=qt(o,t),e=zt(c,{extraPickAttrs:n}),s+=l-s-1}}if(e.controlComponent&&(delete e.control,delete e.controlId,e.controlComponent!==ht.VALUE&&e.controlComponent!==ht.PRE_TEXT&&e.controlComponent!==ht.POST_TEXT)){s++;continue}}const a=zt(e,{extraPickAttrs:n});if(e.type&&e.type!==he.TEXT&&e.type!==he.SUBSCRIPT&&e.type!==he.SUPERSCRIPT)s++;else while(s<i.length){const e=i[s+1];if(s++,!e||!Zt(a,zt(e,{extraPickAttrs:n})))break;{const t=e.value===b?"\n":e.value;a.value+=t}}o.push(a)}return o}function Jt(e){const t=window.getComputedStyle(e).textAlign;switch(t){case"left":case"start":return T.LEFT;case"center":return T.CENTER;case"right":case"end":return T.RIGHT;case"justify":return T.ALIGNMENT;case"justify-all":return T.JUSTIFY;default:return T.LEFT}}function $t(e){return e===T.ALIGNMENT?"justify":e}function en(e){switch(e){case T.LEFT:return"flex-start";case T.CENTER:return"center";case T.RIGHT:return"flex-end";case T.ALIGNMENT:case T.JUSTIFY:return"space-between";default:return"flex-start"}}function tn(e){return!e.type||Se.includes(e.type)}function nn(e,t){const n=e[t];if(!n)return null;const r=e[t+1];return!n.listId&&n.value===b&&r&&r.value!==b&&n.areaId===r.areaId?r:n}function rn(e,t,n,r){var i,o,s;let a=nn(e,n);if(!a)return;const{isBreakWhenWrap:l=!1,editorOptions:c}=r||{},{mode:u}=c||{};u!==Ut.DESIGN&&(null==(i=a.title)?void 0:i.disabled)&&(a=J(a,be));let d=!1;for(let h=0;h<t.length;h++){const i=t[h];if(l&&!a.listId&&I.test(i.value)&&(d=!0),d||!a.listId&&i.type===he.LIST){const e=[..._e,...fe,...Re];z(e,a,i),null==(o=i.valueList)||o.forEach(t=>{z(e,a,t)});continue}(null==(s=i.valueList)?void 0:s.length)&&rn(e,i.valueList,n,r);const c=[...Me];pn(i)||c.push(...fe),z(c,a,i)}}function on(e,t){let n="span";e.type===he.SUPERSCRIPT?n="sup":e.type===he.SUBSCRIPT&&(n="sub");const r=document.createElement(n);return r.style.fontFamily=e.font||t.defaultFont,e.rowFlex&&(r.style.textAlign=$t(e.rowFlex)),e.color&&(r.style.color=e.color),e.bold&&(r.style.fontWeight="600"),e.italic&&(r.style.fontStyle="italic"),r.style.fontSize=(e.size||t.defaultSize)+"px",e.highlight&&(r.style.backgroundColor=e.highlight),e.underline&&(r.style.textDecoration="underline"),e.strikeout&&(r.style.textDecoration+=" line-through"),r.innerText=e.value.replace(new RegExp(""+b,"g"),"\n"),r}function sn(e){let t=0;const n=new Map;for(let r=0;r<e.length;r++){const i=e[r];if(0===r){if(i.checkbox)continue;i.value=i.value.replace(I,"")}if(i.listWrap){const e=n.get(t)||[];e.push(i),n.set(t,e)}else{const e=i.value.split("\n");for(let r=0;r<e.length;r++){r>0&&(t+=1);const o=e[r],s=n.get(t)||[];s.push(d(u({},i),{value:o})),n.set(t,s)}}}return n}function an(e){var t;const n=[];if(!e.length)return n;let r=(null==(t=e[0])?void 0:t.rowFlex)||null;n.push({rowFlex:r,data:[e[0]]});for(let i=1;i<e.length;i++){const t=e[i],o=t.rowFlex||null;if(r!==o||pn(t)||pn(e[i-1]))n.push({rowFlex:o,data:[t]}),r=o;else{const e=n[n.length-1];e.data.push(t)}}for(let i=0;i<n.length;i++){const e=n[i];e.data=qt(e.data)}return n}function ln(e,t){const n=Xt(t);function r(e){var i,o,s,a,l,c,u,d,h;const p=document.createElement("div");for(let f=0;f<e.length;f++){const m=e[f];if(m.type===he.TABLE){const e=document.createElement("table");e.setAttribute("cellSpacing","0"),e.setAttribute("cellpadding","0"),e.setAttribute("border","0");const n="1px solid #000000";m.borderType&&m.borderType!==_r.ALL?m.borderType===_r.EXTERNAL&&(e.style.border=n):(e.style.borderTop=n,e.style.borderLeft=n),e.style.width=m.width+"px";const r=document.createElement("colgroup");for(let t=0;t<m.colgroup.length;t++){const e=m.colgroup[t],n=document.createElement("col");n.setAttribute("width",""+e.width),r.append(n)}e.append(r);const l=m.trList;for(let c=0;c<l.length;c++){const r=document.createElement("tr"),u=l[c];r.style.height=u.height+"px";for(let e=0;e<u.tdList.length;e++){const l=document.createElement("td");m.borderType&&m.borderType!==_r.ALL||(l.style.borderBottom=l.style.borderRight="1px solid");const c=u.tdList[e];l.colSpan=c.colspan,l.rowSpan=c.rowspan,l.style.verticalAlign=c.verticalAlign||"top",(null==(i=c.borderTypes)?void 0:i.includes(br.TOP))&&(l.style.borderTop=n),(null==(o=c.borderTypes)?void 0:o.includes(br.RIGHT))&&(l.style.borderRight=n),(null==(s=c.borderTypes)?void 0:s.includes(br.BOTTOM))&&(l.style.borderBottom=n),(null==(a=c.borderTypes)?void 0:a.includes(br.LEFT))&&(l.style.borderLeft=n);const d=ln(c.value,t);l.innerHTML=d.innerHTML,c.backgroundColor&&(l.style.backgroundColor=c.backgroundColor),r.append(l)}e.append(r)}p.append(e)}else if(m.type===he.HYPERLINK){const e=document.createElement("a");e.innerText=m.valueList.map(e=>e.value).join(""),m.url&&(e.href=m.url),p.append(e)}else if(m.type===he.TITLE){const e=document.createElement("h"+ct[m.level]),t=r(m.valueList);e.innerHTML=t.innerHTML,p.append(e)}else if(m.type===he.LIST){const e=document.createElement(it[m.listType]);m.listStyle&&(e.style.listStyleType=ot[m.listStyle]);const t=qt(m.valueList),n=sn(t);n.forEach(t=>{const n=document.createElement("li"),i=r(t);n.innerHTML=i.innerHTML,e.append(n)}),p.append(e)}else if(m.type===he.IMAGE){const e=document.createElement("img");m.value&&(e.src=m.value,e.width=m.width,e.height=m.height),p.append(e)}else if(m.type===he.SEPARATOR){const e=document.createElement("hr");p.append(e)}else if(m.type===he.CHECKBOX){const e=document.createElement("input");e.type="checkbox",(null==(l=m.checkbox)?void 0:l.value)&&e.setAttribute("checked","true"),p.append(e)}else if(m.type===he.RADIO){const e=document.createElement("input");e.type="radio",(null==(c=m.radio)?void 0:c.value)&&e.setAttribute("checked","true"),p.append(e)}else if(m.type===he.TAB){const e=document.createElement("span");e.innerHTML=`${y}${y}`,p.append(e)}else if(m.type===he.CONTROL){const e=document.createElement("span"),t=r((null==(u=m.control)?void 0:u.value)||[]);e.innerHTML=t.innerHTML,p.append(e)}else if(!m.type||m.type===he.LATEX||Se.includes(m.type)){let t="";if(t=m.type===he.DATE?(null==(d=m.valueList)?void 0:d.map(e=>e.value).join(""))||"":m.value,!t)continue;const r=on(m,n);(null==(h=e[f-1])?void 0:h.type)===he.TITLE&&(t=t.replace(/^\n/,"")),r.innerText=t.replace(new RegExp(""+b,"g"),"\n"),p.append(r)}}return p}const i=document.createElement("div"),o=an(e);for(let s=0;s<o.length;s++){const e=o[s],t=!e.rowFlex||e.rowFlex===T.LEFT,n=document.createElement("div");if(!t){const t=e.data[0];pn(t)?(n.style.display="flex",n.style.justifyContent=en(t.rowFlex)):n.style.textAlign=$t(e.rowFlex)}n.innerHTML=r(e.data).innerHTML,t?n.childNodes.forEach(e=>{i.append(e.cloneNode(!0))}):i.append(n)}return i}function cn(e){if(!e||3!==e.nodeType)return null;const t=e.parentNode,n="FONT"===t.nodeName?t.parentNode:t,r=Jt(n),i=e.textContent,o=window.getComputedStyle(n);if(!i||"STYLE"===n.nodeName)return null;const s={value:i,color:o.color,bold:Number(o.fontWeight)>500,italic:o.fontStyle.includes("italic"),size:Math.floor(parseFloat(o.fontSize))};return"SUB"===n.nodeName||"sub"===o.verticalAlign?s.type=he.SUBSCRIPT:"SUP"!==n.nodeName&&"super"!==o.verticalAlign||(s.type=he.SUPERSCRIPT),r!==T.LEFT&&(s.rowFlex=r),"rgba(0, 0, 0, 0)"!==o.backgroundColor&&(s.highlight=o.backgroundColor),o.textDecorationLine.includes("underline")&&(s.underline=!0),o.textDecorationLine.includes("line-through")&&(s.strikeout=!0),s}function un(e,t){const n=[];function r(e){if(3===e.nodeType){const t=cn(e);t&&n.push(t)}else if(1===e.nodeType){const i=e.childNodes;for(let e=0;e<i.length;e++){const o=i[e];if("BR"===o.nodeName)n.push({value:"\n"});else if("A"===o.nodeName){const e=o,t=e.innerText;t&&n.push({type:he.HYPERLINK,value:"",valueList:[{value:t}],url:e.href})}else if(/H[1-6]/.test(o.nodeName)){const e=o,r=un(fn(e,"div").outerHTML,t);n.push({value:"",type:he.TITLE,level:ut[o.nodeName],valueList:r}),o.nextSibling&&!Ce.includes(o.nextSibling.nodeName)&&n.push({value:"\n"})}else if("UL"===o.nodeName||"OL"===o.nodeName){const e=o,r={value:"",type:he.LIST,valueList:[]};"OL"===o.nodeName?r.listType=$e.OL:(r.listType=$e.UL,r.listStyle=e.style.listStyleType),e.querySelectorAll("li").forEach(e=>{const n=un(e.innerHTML,t);n.forEach(e=>{"\n"===e.value&&(e.listWrap=!0)}),n.unshift({value:"\n"}),r.valueList.push(...n)}),n.push(r)}else if("HR"===o.nodeName)n.push({value:"\n",type:he.SEPARATOR});else if("IMG"===o.nodeName){const{src:e,width:t,height:r}=o;e&&t&&r&&n.push({width:t,height:r,value:e,type:he.IMAGE})}else if("TABLE"===o.nodeName){const e=o,r={type:he.TABLE,value:"\n",colgroup:[],trList:[]};if(e.querySelectorAll("tr").forEach(e=>{const n=window.getComputedStyle(e).height.replace("px",""),i={height:Number(n),tdList:[]};e.querySelectorAll("th,td").forEach(e=>{const n=e,r=un(n.innerHTML,t),o={colspan:n.colSpan,rowspan:n.rowSpan,value:r};n.style.backgroundColor&&(o.backgroundColor=n.style.backgroundColor),i.tdList.push(o)}),r.trList.push(i)}),r.trList.length){const e=r.trList[0].tdList.reduce((e,t)=>e+t.colspan,0),i=Math.ceil(t.innerWidth/e);for(let t=0;t<e;t++)r.colgroup.push({width:i});n.push(r)}}else if("INPUT"===o.nodeName&&o.type===ht.CHECKBOX)n.push({type:he.CHECKBOX,value:"",checkbox:{value:o.checked}});else if("INPUT"===o.nodeName&&o.type===ht.RADIO)n.push({type:he.RADIO,value:"",radio:{value:o.checked}});else if(r(o),1===o.nodeType&&e!==i.length-1){const e=window.getComputedStyle(o).display;"block"===e&&n.push({value:"\n"})}}}}const i=document.createElement("div");i.innerHTML=e,document.body.appendChild(i);const o=[];return i.childNodes.forEach(e=>{var t;1===e.nodeType||(null==(t=e.textContent)?void 0:t.trim())||o.push(e)}),o.forEach(e=>e.remove()),r(i),i.remove(),n}function dn(e){function t(e){var n,r,i,o,s,a,l;let c="";for(let u=0;u<e.length;u++){const d=e[u];if(d.type===he.TABLE){c+="\n";const e=d.trList;for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.tdList.length;e++){const n=r.tdList[e],i=t(qt(n.value)),o=0===e,s=r.tdList.length-1===e;c+=`${o?"":" "}${i}${s?"\n":""}`}}}else if(d.type===he.TAB)c+="\t";else if(d.type===he.HYPERLINK)c+=d.valueList.map(e=>e.value).join("");else if(d.type===he.TITLE)c+=""+t(qt(d.valueList));else if(d.type===he.LIST){const e=qt(d.valueList),n=sn(e);let r="";d.listType===$e.UL&&(r=rt[d.listStyle]),n.forEach((e,i)=>{const o=n.size-1===i;c+=`\n${r||i+1+"."}${t(e)}${o?"\n":""}`})}else if(d.type===he.CHECKBOX)c+=(null==(n=d.checkbox)?void 0:n.value)?"☑":"□";else if(d.type===he.RADIO)c+=(null==(r=d.radio)?void 0:r.value)?"☉":"○";else if(!d.type||d.type===he.LATEX||Se.includes(d.type)){let e="";if(d.type===he.CONTROL){const t=(null==(o=null==(i=d.control.value)?void 0:i[0])?void 0:o.value)||"";e=t?`${(null==(s=d.control)?void 0:s.preText)||""}${t}${(null==(a=d.control)?void 0:a.postText)||""}`:""}else e=d.type===he.DATE?(null==(l=d.valueList)?void 0:l.map(e=>e.value).join(""))||"":d.value;c+=e.replace(new RegExp(""+b,"g"),"\n")}}return c}return t(qt(e))}function hn(e){return F(e,["metrics","style"])}function pn(e){return!!(null==e?void 0:e.type)&&(Te.includes(e.type)||e.imgDisplay===A.INLINE)}function fn(e,t){const n=document.createElement(t);for(let r=0;r<e.attributes.length;r++){const t=e.attributes[r];n.setAttribute(t.name,t.value)}return n.innerHTML=e.innerHTML,n}function mn(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];r.imgDisplay===A.SURROUND&&t.push(r)}return t}function An(e,t){var n;for(let r=e.length-1;r>=0;r--){const i=e[r];(null==(n=i.imgFloatPosition)?void 0:n.pageNo)===t&&e.splice(r,1)}}function gn(e){localStorage.setItem(ue,JSON.stringify({text:e.text,elementList:e.elementList}))}function _n(){const e=localStorage.getItem(ue);return e?JSON.parse(e):null}function bn(){localStorage.removeItem(ue)}function vn(e,t,n){if(!e&&!t&&!n.length)return;const r=new Blob([e],{type:"text/plain"}),i=new Blob([t],{type:"text/html"});if(window.ClipboardItem){const e=new ClipboardItem({[r.type]:r,[i.type]:i});window.navigator.clipboard.write([e])}else{const e=document.createElement("div");e.setAttribute("contenteditable","true"),e.innerHTML=t,document.body.append(e);const n=window.getSelection(),r=document.createRange(),i=document.createElement("span");i.innerText="\n",e.append(i),r.selectNodeContents(e),null==n||n.removeAllRanges(),null==n||n.addRange(r),document.execCommand("copy"),e.remove()}gn({text:e,elementList:n})}function wn(e,t){const n=ln(e,t);document.body.append(n);const r=n.innerText;n.remove();const i=n.innerHTML;(r||i||e.length)&&vn(r,i,qt(e))}function yn(e){let t=!1;for(let n=0;n<e.items.length;n++){const r=e.items[n];if("file"===r.kind){t=!0;break}}return t}function Rn(e,t){const n=e.getDraw();if(n.isReadonly()||n.isDisabled()||n.getControl().getIsDisabledPasteControl())return;const r=n.getRange(),{startIndex:i}=r.getRange(),o=n.getElementList();if(~i&&!r.getIsSelectAll()){const e=o[i];if((null==e?void 0:e.titleId)||(null==e?void 0:e.listId)){let n=0;while(n<t.length){const r=t[n];if(e.titleId&&/^\n/.test(r.value))break;if(Oe.includes(r.type)){if(t.splice(n,1),r.valueList)for(let e=0;e<r.valueList.length;e++){const i=r.valueList[e];i.value!==b&&"\n"!==i.value&&(t.splice(n,0,i),n++)}n--}n++}}rn(o,t,i,{isBreakWhenWrap:!0,editorOptions:n.getOptions()})}n.insertElementList(t)}function Mn(e,t){const n=e.getDraw();if(n.isReadonly()||n.isDisabled())return;const r=un(t,{innerWidth:n.getOriginalInnerWidth()});Rn(e,r)}function Sn(e,t){const n=e.getDraw();if(n.isReadonly()||n.isDisabled())return;const r=n.getRange(),{startIndex:i}=r.getRange(),o=n.getElementList(),s=new FileReader;s.readAsDataURL(t),s.onload=()=>{const e=new Image,t=s.result;e.src=t,e.onload=()=>{const r={value:t,type:he.IMAGE,width:e.width,height:e.height};~i&&rn(o,[r],i,{editorOptions:n.getOptions()}),n.insertElementList([r])}}}function En(e,t){const n=e.getDraw();if(n.isReadonly()||n.isDisabled())return;const r=t.clipboardData;if(!r)return;const{paste:i}=n.getOverride();if(i){const e=i(t);if(!1!==(null==e?void 0:e.preventDefault))return}if(!yn(r)){const t=r.getData("text"),n=_n();if(n&&oe(t)===oe(n.text))return void Rn(e,n.elementList)}bn();let o=!1;for(let s=0;s<r.items.length;s++){const e=r.items[s];if("text/html"===e.type){o=!0;break}}for(let s=0;s<r.items.length;s++){const t=r.items[s];if("string"===t.kind){if("text/plain"===t.type&&!o){t.getAsString(t=>{e.input(t)});break}if("text/html"===t.type&&o){t.getAsString(t=>{Mn(e,t)});break}}else if("file"===t.kind&&t.type.includes("image")){const n=t.getAsFile();n&&Sn(e,n)}}}async function Tn(e,t){const n=e.getDraw();if(n.isReadonly()||n.isDisabled())return;const{paste:r}=n.getOverride();if(r){const e=r();if(!1!==(null==e?void 0:e.preventDefault))return}const i=await navigator.clipboard.readText(),o=_n();if(i!==(null==o?void 0:o.text))if(bn(),null==t?void 0:t.isPlainText)i&&e.input(i);else{const t=await navigator.clipboard.read();let n=!1;for(const e of t)if(e.types.includes("text/html")){n=!0;break}for(const r of t)if(r.types.includes("text/plain")&&!n){const t=await r.getType("text/plain"),n=await t.text();n&&e.input(n)}else if(r.types.includes("text/html")&&n){const t=await r.getType("text/html"),n=await t.text();n&&Mn(e,n)}else if(r.types.some(e=>e.startsWith("image/"))){const t=r.types.find(e=>e.startsWith("image/")),n=await r.getType(t);Sn(e,n)}}else Rn(e,o.elementList)}class Cn{constructor(e,t){h(this,"draw"),h(this,"container"),h(this,"agentCursorDom"),h(this,"canvasEvent"),this.draw=e,this.container=e.getContainer(),this.canvasEvent=t;const n=document.createElement("textarea");n.autocomplete="off",n.classList.add(ce+"-inputarea"),n.innerText="",this.container.append(n),this.agentCursorDom=n,n.onkeydown=e=>this._keyDown(e),n.oninput=P(this._input.bind(this),0),n.onpaste=e=>this._paste(e),n.addEventListener("compositionstart",this._compositionstart.bind(this)),n.addEventListener("compositionend",this._compositionend.bind(this))}getAgentCursorDom(){return this.agentCursorDom}_keyDown(e){this.canvasEvent.keydown(e)}_input(e){const t=e.data;t&&this.canvasEvent.input(t)}_paste(e){const t=this.draw.isReadonly();if(t)return;const n=e.clipboardData;n&&(En(this.canvasEvent,e),e.preventDefault())}_compositionstart(){this.canvasEvent.compositionstart()}_compositionend(e){this.canvasEvent.compositionend(e)}}class On{constructor(e,t){h(this,"ANIMATION_CLASS",ce+"-cursor--animation"),h(this,"draw"),h(this,"container"),h(this,"options"),h(this,"position"),h(this,"cursorDom"),h(this,"cursorAgent"),h(this,"blinkTimeout"),this.draw=e,this.container=e.getContainer(),this.position=e.getPosition(),this.options=e.getOptions(),this.cursorDom=document.createElement("div"),this.cursorDom.classList.add(ce+"-cursor"),this.container.append(this.cursorDom),this.cursorAgent=new Cn(e,t),this.blinkTimeout=null}getCursorDom(){return this.cursorDom}getAgentDom(){return this.cursorAgent.getAgentCursorDom()}getAgentIsActive(){return this.getAgentDom()===document.activeElement}getAgentDomValue(){return this.getAgentDom().value}clearAgentDomValue(){this.getAgentDom().value=""}_blinkStart(){this.cursorDom.classList.add(this.ANIMATION_CLASS)}_blinkStop(){this.cursorDom.classList.remove(this.ANIMATION_CLASS)}_setBlinkTimeout(){this._clearBlinkTimeout(),this.blinkTimeout=window.setTimeout(()=>{this._blinkStart()},500)}_clearBlinkTimeout(){this.blinkTimeout&&(this._blinkStop(),window.clearTimeout(this.blinkTimeout),this.blinkTimeout=null)}focus(){const e=this.cursorAgent.getAgentCursorDom();document.activeElement!==e&&(e.focus(),e.setSelectionRange(0,0))}drawCursor(e){let t=this.position.getCursorPosition();if(!t)return;const{scale:n,cursor:r}=this.options,{color:i,width:o,isShow:s=!0,isBlink:a=!0,isFocus:l=!0,hitLineStartIndex:c}=u(u({},r),e),d=this.draw.getHeight(),h=this.draw.getPageGap();if(c){const e=this.position.getPositionList();t=e[c]}const{metrics:p,coordinate:{leftTop:f,rightTop:m},ascent:A,pageNo:g}=t,_=this.draw.getZone(),b=_.isMainActive()?g:this.draw.getPageNo(),v=b*(d+h),w=se*n,y=Math.min(p.height/4,w),R=p.height+2*y,M=this.cursorAgent.getAgentCursorDom();l&&setTimeout(()=>{this.focus()});const S=p.boundingBoxDescent<0?0:p.boundingBoxDescent,E=f[1]+A+S-(R-y)+v,T=c?f[0]:m[0];if(M.style.left=T+"px",M.style.top=E+R-w+"px",!s)return void this.recoveryCursor();const C=this.draw.isReadonly();this.cursorDom.style.width=o*n+"px",this.cursorDom.style.backgroundColor=i,this.cursorDom.style.left=T+"px",this.cursorDom.style.top=E+"px",this.cursorDom.style.display=C?"none":"block",this.cursorDom.style.height=R+"px",a?this._setBlinkTimeout():this._clearBlinkTimeout()}recoveryCursor(){this.cursorDom.style.display="none",this._clearBlinkTimeout()}moveCursorToVisible(e){const{cursorPosition:t,direction:n}=e;if(!t||!n)return;const{pageNo:r,coordinate:{leftTop:i,leftBottom:o}}=t,s=r*(this.draw.getHeight()+this.draw.getPageGap())+this.container.getBoundingClientRect().top,a=n===de.UP,l=o[0],c=a?i[1]+s:o[1]+s,u=ee(this.container),d={left:0,right:0,top:0,bottom:0};if(u===document.documentElement)d.right=window.innerWidth,d.bottom=window.innerHeight;else{const{left:e,right:t,top:n,bottom:r}=u.getBoundingClientRect();d.left=e,d.right=t,d.top=n,d.bottom=r}const{maskMargin:h}=this.options;if(d.top+=h[0],d.bottom-=h[2],!(l>=d.left&&l<=d.right&&c>=d.top&&c<=d.bottom)){const{scrollLeft:e,scrollTop:t}=u;a?u.scroll(e,t-(d.top-c)):u.scroll(e,t+c-d.bottom)}}}var xn;(function(e){e[e["LEFT"]=0]="LEFT",e[e["CENTER"]=1]="CENTER",e[e["RIGHT"]=2]="RIGHT"})(xn||(xn={}));const Nn="undefined"!==typeof navigator&&/Mac OS X/.test(navigator.userAgent),Ln="undefined"!==typeof navigator&&/iPad|iPhone/.test(navigator.userAgent);function In(e){return Nn?e.metaKey:e.ctrlKey}var Pn;(function(e){e["Delete"]="Delete",e["Backspace"]="Backspace",e["Enter"]="Enter",e["Left"]="ArrowLeft",e["Right"]="ArrowRight",e["Up"]="ArrowUp",e["Down"]="ArrowDown",e["ESC"]="Escape",e["TAB"]="Tab",e["META"]="Meta",e["LEFT_BRACKET"]="[",e["RIGHT_BRACKET"]="]",e["COMMA"]=",",e["PERIOD"]=".",e["LEFT_ANGLE_BRACKET"]="<",e["RIGHT_ANGLE_BRACKET"]=">",e["EQUAL"]="=",e["MINUS"]="-",e["PLUS"]="+",e["A"]="a",e["B"]="b",e["C"]="c",e["D"]="d",e["E"]="e",e["F"]="f",e["G"]="g",e["H"]="h",e["I"]="i",e["J"]="j",e["K"]="k",e["L"]="l",e["M"]="m",e["N"]="n",e["O"]="o",e["P"]="p",e["Q"]="q",e["R"]="r",e["S"]="s",e["T"]="t",e["U"]="u",e["V"]="v",e["W"]="w",e["X"]="x",e["Y"]="y",e["Z"]="z",e["A_UPPERCASE"]="A",e["B_UPPERCASE"]="B",e["C_UPPERCASE"]="C",e["D_UPPERCASE"]="D",e["E_UPPERCASE"]="E",e["F_UPPERCASE"]="F",e["G_UPPERCASE"]="G",e["H_UPPERCASE"]="H",e["I_UPPERCASE"]="I",e["J_UPPERCASE"]="J",e["K_UPPERCASE"]="K",e["L_UPPERCASE"]="L",e["M_UPPERCASE"]="M",e["N_UPPERCASE"]="N",e["O_UPPERCASE"]="O",e["P_UPPERCASE"]="P",e["Q_UPPERCASE"]="Q",e["R_UPPERCASE"]="R",e["S_UPPERCASE"]="S",e["T_UPPERCASE"]="T",e["U_UPPERCASE"]="U",e["V_UPPERCASE"]="V",e["W_UPPERCASE"]="W",e["X_UPPERCASE"]="X",e["Y_UPPERCASE"]="Y",e["Z_UPPERCASE"]="Z",e["ZERO"]="0",e["ONE"]="1",e["TWO"]="2",e["THREE"]="3",e["FOUR"]="4",e["FIVE"]="5",e["SIX"]="6",e["SEVEN"]="7",e["EIGHT"]="8",e["NINE"]="9"})(Pn||(Pn={}));class Dn{constructor(e,t){h(this,"element"),h(this,"control"),this.element=e,this.control=t}setElement(e){this.element=e}getElement(){return this.element}getCode(){var e;return(null==(e=this.element.control)?void 0:e.code)||null}getValue(){const e=this.control.getElementList(),{startIndex:t}=this.control.getRange(),n=e[t],r=[];let i=t;while(i>0){const t=e[i];if(t.controlId!==n.controlId||t.controlComponent===ht.PREFIX||t.controlComponent===ht.PRE_TEXT)break;t.controlComponent===ht.VALUE&&r.unshift(t),i--}let o=t+1;while(o<e.length){const t=e[o];if(t.controlId!==n.controlId||t.controlComponent===ht.POSTFIX||t.controlComponent===ht.POST_TEXT)break;t.controlComponent===ht.VALUE&&r.push(t),o++}return r}setValue(){return-1}setSelect(e,t={},n={}){if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return;const{control:r}=this.element,i=t.elementList||this.control.getElementList(),{startIndex:o}=t.range||this.control.getRange(),s=i[o];let a=o;while(a>0){const t=i[a];if(t.controlId!==s.controlId||t.controlComponent===ht.PREFIX||t.controlComponent===ht.PRE_TEXT)break;if(t.controlComponent===ht.CHECKBOX){const n=t.checkbox;n.value=e.includes(n.code)}a--}let l=o+1;while(l<i.length){const t=i[l];if(t.controlId!==s.controlId||t.controlComponent===ht.POSTFIX||t.controlComponent===ht.POST_TEXT)break;if(t.controlComponent===ht.CHECKBOX){const n=t.checkbox;n.value=e.includes(n.code)}l++}r.code=e.join(","),this.control.repaintControl({curIndex:o,isSetCursor:!1})}keydown(e){if(this.control.getIsDisabledControl())return null;const t=this.control.getRange();this.control.shrinkBoundary();const{startIndex:n,endIndex:r}=t;return e.key===Pn.Backspace||e.key===Pn.Delete?this.control.removeControl(n):r}cut(){return-1}}class Fn extends Dn{setSelect(e,t={},n={}){if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return;const{control:r}=this.element,i=t.elementList||this.control.getElementList(),{startIndex:o}=t.range||this.control.getRange(),s=i[o];let a=o;while(a>0){const t=i[a];if(t.controlId!==s.controlId||t.controlComponent===ht.PREFIX||t.controlComponent===ht.PRE_TEXT)break;if(t.controlComponent===ht.RADIO){const n=t.radio;n.value=e.includes(n.code)}a--}let l=o+1;while(l<i.length){const t=i[l];if(t.controlId!==s.controlId||t.controlComponent===ht.POSTFIX||t.controlComponent===ht.POST_TEXT)break;if(t.controlComponent===ht.RADIO){const n=t.radio;n.value=e.includes(n.code)}l++}r.code=e.join(","),this.control.repaintControl({curIndex:o,isSetCursor:!1})}}function kn(e){const t=e.getDraw(),n=t.getPosition(),r=t.getRange();e.isAllowDrag=!0,e.cacheRange=k(r.getRange()),e.cacheElementList=t.getElementList(),e.cachePositionList=n.getPositionList(),e.cachePositionContext=n.getPositionContext()}function Bn(e,t){const{checkbox:n,control:r}=e;if(r){const e=(null==r?void 0:r.code)?r.code.split(","):[];if(null==n?void 0:n.value){const t=e.findIndex(e=>e===n.code);e.splice(t,1)}else(null==n?void 0:n.code)&&e.push(n.code);const i=t.getControl().getActiveControl();i instanceof Dn&&i.setSelect(e)}else t.getCheckboxParticle().setSelect(e)}function Un(e,t){const{radio:n,control:r}=e;if(r){const e=(null==n?void 0:n.code)?[n.code]:[],r=t.getControl().getActiveControl();r instanceof Fn&&r.setSelect(e)}else t.getRadioParticle().setSelect(e)}function Hn(e,t){var n,r;if(e.button===xn.RIGHT)return;const i=t.getDraw(),o=i.isReadonly(),s=i.getRange(),a=i.getPosition();if(!t.isAllowDrag){const n=s.getRange();if(!o&&n.startIndex!==n.endIndex){const n=s.getIsPointInRange(e.offsetX,e.offsetY);if(n)return void kn(t)}}const l=e.target,c=l.dataset.index;c&&i.setPageNo(Number(c)),t.isAllowSelection=!0;const h=k(a.getPositionContext()),p=a.adjustPositionContext({x:e.offsetX,y:e.offsetY});if(!p)return;const{index:f,isDirectHit:m,isCheckbox:g,isRadio:_,isImage:b,isTable:v,tdValueIndex:w,hitLineStartIndex:y}=p;t.mouseDownStartPosition=d(u({},p),{index:v?w:f,x:e.offsetX,y:e.offsetY});const R=i.getElementList(),M=a.getPositionList(),S=v?w:f,E=R[S],T=!(!m||!b),C=!(!m||!g),O=!(!m||!_);if(~f){let l=S,c=S;if(e.shiftKey){const{startIndex:e}=s.getRange();if(~e){const t=a.getPositionContext();t.tdId===h.tdId&&(S>e?l=e:c=e)}}if(s.setRange(l,c),a.setCursorPosition(M[S]),C&&!o)Bn(E,i);else if(O&&!o)Un(E,i);else if(E.controlComponent!==ht.VALUE||(null==(n=E.control)?void 0:n.type)!==dt.CHECKBOX&&(null==(r=E.control)?void 0:r.type)!==dt.RADIO)i.render({curIndex:S,isCompute:!1,isSubmitHistory:!1,isSetCursor:!T&&!C&&!O});else{let e=S;while(e>0){const t=R[e];if(t.controlComponent===ht.CHECKBOX){Bn(t,i);break}if(t.controlComponent===ht.RADIO){Un(t,i);break}e--}}y&&t.getDraw().getCursor().drawCursor({hitLineStartIndex:y})}const x=i.getPreviewer();if(x.clearResizer(),T){const e={dragDisable:o||!E.controlId&&i.getMode()===Ut.FORM};E.type===he.LATEX&&(e.mime="svg",e.srcKey="laTexSVG"),x.drawResizer(E,M[S],e),i.getCursor().drawCursor({isShow:!1}),kn(t),E.imgDisplay!==A.SURROUND&&E.imgDisplay!==A.FLOAT_TOP&&E.imgDisplay!==A.FLOAT_BOTTOM||i.getImageParticle().createFloatImage(E)}const N=i.getTableTool();N.dispose(),v&&!o&&i.getMode()!==Ut.FORM&&N.render();const L=i.getHyperlinkParticle();L.clearHyperlinkPopup(),E.type===he.HYPERLINK&&(In(e)?L.openHyperlink(E):L.drawHyperlinkPopup(E,M[S]));const I=i.getDateParticle();I.clearDatePicker(),E.type!==he.DATE||o||I.renderDatePicker(E,M[S])}function jn(e){const t=H();return Reflect.set(e,"dragId",t),t}function Vn(e,t){return t.findIndex(t=>t.dragId===e)}function Wn(e,t,n){const r=n.getDraw();if(e.imgDisplay===A.SURROUND||e.imgDisplay===A.FLOAT_TOP||e.imgDisplay===A.FLOAT_BOTTOM){const i=t.offsetX-n.mouseDownStartPosition.x,o=t.offsetY-n.mouseDownStartPosition.y,s=e.imgFloatPosition;e.imgFloatPosition={x:s.x+i,y:s.y+o,pageNo:r.getPageNo()}}r.getImageParticle().destroyFloatImage()}function Yn(e,t){var n,r,i,o;if(t.isAllowDrop){const s=t.getDraw();if(s.isReadonly()||s.isDisabled())return void t.mousedown(e);const a=s.getPosition(),l=a.getPositionList(),c=a.getPositionContext(),h=s.getRange(),p=t.cacheRange,f=t.cacheElementList,m=t.cachePositionList,g=h.getRange(),_=p.startIndex===p.endIndex,b=_?p.startIndex-1:p.startIndex,v=p.endIndex;if(g.startIndex>=b&&g.endIndex<=v&&(null==(n=t.cachePositionContext)?void 0:n.tdId)===c.tdId){s.clearSideEffect();let n=!1,r=!1;if(_){const i=f[v];if(i.type===he.IMAGE||i.type===he.LATEX){if(Wn(i,e,t),i.imgDisplay===A.SURROUND||i.imgDisplay===A.FLOAT_TOP||i.imgDisplay===A.FLOAT_BOTTOM)s.getPreviewer().drawResizer(i),n=!0;else{const e=m[v];s.getPreviewer().drawResizer(i,e)}r=i.imgDisplay===A.SURROUND}}return h.replaceRange(u({},p)),void s.render({isCompute:r,isSubmitHistory:n,isSetCursor:!1})}const w=f.slice(b+1,v+1),y=w.find(e=>e.controlId);if(y){const e=f[b+1],t=f[v],n=(!e.controlId||e.controlComponent===ht.PREFIX)&&(!t.controlId||t.controlComponent===ht.POSTFIX)||e.controlId===t.controlId&&e.controlComponent===ht.PREFIX&&t.controlComponent===ht.POSTFIX||(null==(r=e.control)?void 0:r.type)===dt.TEXT&&e.controlComponent===ht.VALUE&&(null==(i=t.control)?void 0:i.type)===dt.TEXT&&t.controlComponent===ht.VALUE;if(!n)return void s.render({curIndex:g.startIndex,isCompute:!1,isSubmitHistory:!1})}const R=s.getControl(),M=s.getElementList(),S=!y||!!M[g.startIndex].controlId||!R.getIsElementListContainFullControl(w),E=s.getOptions(),T=w.map(e=>{if(e.type&&e.type!==he.TEXT){let t=k(e);return S&&(t=J(t,we)),Gt([t],{isHandleFirstElement:!1,editorOptions:E}),t}{const t={value:e.value},n=pe;return S||n.push(...we),n.forEach(n=>{const r=e[n];void 0!==r&&(t[n]=r)}),t}});rn(M,T,g.startIndex,{editorOptions:s.getOptions()});const C=f[b],O=m[b],x=jn(f[b]),N=jn(f[v]),L=T.length;let I=g.startIndex,P=I+L;const D=R.getActiveControl();if(D&&f[I].controlComponent!==ht.POSTFIX?(P=D.setValue(T),I=P-L):s.spliceElementList(M,I+1,0,...T),!~P)return void s.render({isSetCursor:!1});const F=jn(M[I]),B=jn(M[P]),U=Vn(x,f),H=Vn(N,f),j=f[H];j.controlId&&j.controlComponent!==ht.POSTFIX?(h.replaceRange(d(u({},p),{startIndex:U,endIndex:H})),null==(o=R.getActiveControl())||o.cut()):s.spliceElementList(f,U+1,H-U);const V=M[g.startIndex],W=l[g.startIndex];let Y=c.index;Y&&(V.tableId&&!C.tableId?O.index<Y&&(Y-=L):!V.tableId&&C.tableId&&W.index<Y&&(Y+=L),a.setPositionContext(d(u({},c),{index:Y})));const Q=Vn(F,M),X=Vn(B,M);h.setRange(_?X:Q,X,g.tableId,g.startTdIndex,g.endTdIndex,g.startTrIndex,g.endTrIndex),s.clearSideEffect();let K=null;if(_){const n=s.getElementList(),r=n[X];r.type!==he.IMAGE&&r.type!==he.LATEX||(Wn(r,e,t),K=r)}if(s.render({isSetCursor:!1}),K)if(K.imgDisplay===A.SURROUND||K.imgDisplay===A.FLOAT_TOP||K.imgDisplay===A.FLOAT_BOTTOM)s.getPreviewer().drawResizer(K);else{const e=a.getPositionList(),t=e[X];s.getPreviewer().drawResizer(K,t)}}else t.isAllowDrag&&t.mousedown(e)}function Qn(e,t){const n=t.getDraw(),r=n.getPageContainer(),{x:i,y:o,width:s,height:a}=r.getBoundingClientRect();e.x>=i&&e.x<=i+s&&e.y>=o&&e.y<=o+a||t.setIsAllowSelection(!1)}function Xn(e,t){var n;const r=t.getDraw();if(t.isAllowDrag){const i=e.offsetX,o=e.offsetY,{startIndex:s,endIndex:a}=t.cacheRange,l=t.cachePositionList;for(let e=s+1;e<=a;e++){const{coordinate:{leftTop:t,rightBottom:n}}=l[e];if(i>=t[0]&&i<=n[0]&&o>=t[1]&&o<=n[1])return}const c=null==(n=t.cacheRange)?void 0:n.startIndex;if(c){const n=t.cacheElementList[c];(null==n?void 0:n.type)!==he.IMAGE||n.imgDisplay!==A.SURROUND&&n.imgDisplay!==A.FLOAT_TOP&&n.imgDisplay!==A.FLOAT_BOTTOM||(r.getPreviewer().clearResizer(),r.getImageParticle().dragFloatImage(e.movementX,e.movementY))}return t.dragover(e),void(t.isAllowDrop=!0)}if(!t.isAllowSelection||!t.mouseDownStartPosition)return;const i=e.target,o=i.dataset.index;o&&r.setPageNo(Number(o));const s=r.getPosition(),a=s.getPositionByXY({x:e.offsetX,y:e.offsetY});if(!~a.index)return;const{index:l,isTable:c,tdValueIndex:u,tdIndex:d,trIndex:h,tableId:p}=a,{index:f,isTable:m,tdIndex:g,trIndex:_,tableId:b}=t.mouseDownStartPosition,v=c?u:l,w=r.getRange();if(c&&m&&(d!==g||h!==_))w.setRange(v,v,p,g,d,_,h);else{let e=~v?v:0;if((m||c)&&b!==p)return;let t=f;if(t>e&&([t,e]=[e,t]),t===e)return;const n=r.getElementList(),i=n[t+1],o=n[e];if((null==i?void 0:i.controlComponent)===ht.PLACEHOLDER&&(null==o?void 0:o.controlComponent)===ht.PLACEHOLDER&&i.controlId===o.controlId)return;w.setRange(t,e)}r.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}function Kn(e,t){const n=t.getDraw();if(n.isReadonly())return;const r=n.getRange();if(!r.getIsCanInput())return;const{startIndex:i,endIndex:o,isCrossRowCol:s}=r.getRange(),a=n.getControl();let l;if(s){const e=n.getTableParticle().getRangeRowCol();if(!e)return;let t=!1;for(let r=0;r<e.length;r++){const i=e[r];for(let e=0;e<i.length;e++){const r=i[e];r.value.length>1&&(n.spliceElementList(r.value,1,r.value.length-1),t=!0)}}l=t?0:null}else if(a.getActiveControl()&&a.getIsRangeCanCaptureEvent())l=a.keydown(e);else{const t=n.getPosition(),s=t.getCursorPosition();if(!s)return;const{index:a}=s,c=r.getIsCollapsed(),u=n.getElementList();if(c&&0===a){const t=u[a];if(t.value===b)return t.listId&&n.getListParticle().unsetList(),void e.preventDefault()}const d=u[i];if(c&&d.rowFlex&&d.value===b){const e=r.getRangeRowElementList();if(e){const t=u[i-1];e.forEach(e=>{e.rowFlex=null==t?void 0:t.rowFlex})}}c?n.spliceElementList(u,a,1):n.spliceElementList(u,i+1,o-i),l=c?a-1:i}n.getGlobalEvent().setCanvasEventAbility(),null===l?(r.setRange(i,i),n.render({curIndex:i,isSubmitHistory:!1})):(r.setRange(l,l),n.render({curIndex:l}))}function Gn(e,t){var n;const r=t.getDraw();if(r.isReadonly())return;const i=r.getRange();if(!i.getIsCanInput())return;const{startIndex:o,endIndex:s,isCrossRowCol:a}=i.getRange(),l=r.getElementList(),c=r.getControl();let u;if(a){const e=r.getTableParticle().getRangeRowCol();if(!e)return;let t=!1;for(let n=0;n<e.length;n++){const i=e[n];for(let e=0;e<i.length;e++){const n=i[e];n.value.length>1&&(r.spliceElementList(n.value,1,n.value.length-1),t=!0)}}u=t?0:null}else if(c.getActiveControl()&&c.getIsRangeWithinControl())u=c.keydown(e);else if(null==(n=l[s+1])?void 0:n.controlId)u=c.removeControl(s+1);else{const e=r.getPosition(),t=e.getCursorPosition();if(!t)return;const{index:n}=t,a=e.getPositionContext();if(a.isDirectHit&&a.isImage)r.spliceElementList(l,n,1),u=n-1;else{const e=i.getIsCollapsed();if(e){if(!l[n+1])return;r.spliceElementList(l,n+1,1)}else r.spliceElementList(l,o+1,s-o);u=e?n:o}}r.getGlobalEvent().setCanvasEventAbility(),null===u?(i.setRange(o,o),r.render({curIndex:o,isSubmitHistory:!1})):(i.setRange(u,u),r.render({curIndex:u}))}function Zn(e,t){var n,r,i;const o=t.getDraw();if(o.isReadonly())return;const s=o.getRange();if(!s.getIsCanInput())return;const{startIndex:a,endIndex:l}=s.getRange(),c=s.getIsCollapsed(),u=o.getElementList(),d=u[a],h=u[l];if(c&&h.listId&&h.value===b&&(null==(n=u[l+1])?void 0:n.listId)!==h.listId)return void o.getListParticle().unsetList();let p={value:b};if(e.shiftKey&&d.listId&&(p.listWrap=!0),rn(u,[p],a,{isBreakWhenWrap:!0,editorOptions:o.getOptions()}),e.shiftKey&&h.areaId&&h.areaId!==(null==(r=u[l+1])?void 0:r.areaId)&&(p=J(p,Re)),!h.titleId||h.titleId===(null==(i=u[l+1])?void 0:i.titleId)){const e=s.getRangeAnchorStyle(u,l);if(e){const t=[...fe];e.controlComponent!==ht.POSTFIX&&t.push(...pe),t.forEach(t=>{const n=e[t];void 0!==n&&(p[t]=n)})}}const f=o.getControl(),m=f.getActiveControl();let A;if(m&&f.getIsRangeWithinControl())A=f.setValue([p]);else{const e=o.getPosition(),t=e.getCursorPosition();if(!t)return;const{index:n}=t;c?o.spliceElementList(u,n+1,0,p):o.spliceElementList(u,a+1,l-a,p),A=n+1}~A&&(s.setRange(A,A),o.render({curIndex:A})),e.preventDefault()}function zn(e,t){var n,r,i;const o=t.getDraw(),s=o.isReadonly();if(s)return;const a=o.getPosition(),l=a.getCursorPosition();if(!l)return;const c=a.getPositionContext(),{index:u}=l;if(u<=0&&!c.isTable)return;const d=o.getRange(),{startIndex:h,endIndex:p}=d.getRange(),f=d.getIsCollapsed(),m=o.getElementList(),A=o.getControl();if(o.getMode()===Ut.FORM&&A.getActiveControl()&&((null==(n=m[u])?void 0:n.controlComponent)===ht.PREFIX||(null==(r=m[u])?void 0:r.controlComponent)===ht.PRE_TEXT))return void A.initNextControl({direction:de.UP});let g=1;if(In(e)){const t=o.getLetterReg(),n=e.shiftKey&&!f&&h===(null==l?void 0:l.index)?p:h;if(t.test(null==(i=m[n])?void 0:i.value)){let e=n-1;while(e>0){const n=m[e];if(!t.test(n.value))break;g++,e--}}}const _=h-g;let b=_,v=_;if(e.shiftKey&&l&&(h!==p?h===l.index?(b=h,v=p-g):(b=_,v=p):v=p),!e.shiftKey){const e=m[h];if(e.type===he.TABLE){const t=e.trList,n=t.length-1,r=t[n],i=r.tdList.length-1,s=r.tdList[i];a.setPositionContext({isTable:!0,index:h,trIndex:n,tdIndex:i,tdId:s.id,trId:r.id,tableId:e.id}),b=s.value.length-1,v=b,o.getTableTool().render()}else if(e.tableId&&0===h){const t=o.getOriginalElementList(),n=t[c.index].trList;e:for(let r=0;r<n.length;r++){const t=n[r];if(t.id!==e.trId)continue;const i=t.tdList;for(let s=0;s<i.length;s++){const t=i[s];if(t.id===e.tdId){if(0===r&&0===s)a.setPositionContext({isTable:!1}),b=c.index-1,v=b,o.getTableTool().dispose();else{let t=r,i=s-1;i<0&&(t=r-1,i=n[t].tdList.length-1);const l=n[t],u=l.tdList[i];a.setPositionContext({isTable:!0,index:c.index,trIndex:t,tdIndex:i,tdId:u.id,trId:l.id,tableId:e.tableId}),b=u.value.length-1,v=b,o.getTableTool().render()}break e}}}}}if(!~b||!~v)return;d.setRange(b,v);const w=b===v;o.render({curIndex:w?b:void 0,isSetCursor:w,isSubmitHistory:!1,isCompute:!1}),e.preventDefault()}function qn(e,t){var n,r,i;const o=t.getDraw(),s=o.isReadonly();if(s)return;const a=o.getPosition(),l=a.getCursorPosition();if(!l)return;const{index:c}=l,u=a.getPositionList(),d=a.getPositionContext();if(c>u.length-1&&!d.isTable)return;const h=o.getRange(),{startIndex:p,endIndex:f}=h.getRange(),m=h.getIsCollapsed();let A=o.getElementList();const g=o.getControl();if(o.getMode()===Ut.FORM&&g.getActiveControl()&&((null==(n=A[c+1])?void 0:n.controlComponent)===ht.POSTFIX||(null==(r=A[c+1])?void 0:r.controlComponent)===ht.POST_TEXT))return void g.initNextControl({direction:de.DOWN});let _=1;if(In(e)){const t=o.getLetterReg(),n=e.shiftKey&&!m&&p===(null==l?void 0:l.index)?f:p;if(t.test(null==(i=A[n+1])?void 0:i.value)){let e=n+2;while(e<A.length){const n=A[e];if(!t.test(n.value))break;_++,e++}}}const b=f+_;let v=b,w=b;if(e.shiftKey&&l&&(p!==f?p===l.index?(v=p,w=b):(v=p+_,w=f):v=p),!e.shiftKey){const e=A[f],t=A[f+1];if((null==t?void 0:t.type)===he.TABLE){const e=t.trList,n=e[0],r=n.tdList[0];a.setPositionContext({isTable:!0,index:f+1,trIndex:0,tdIndex:0,tdId:r.id,trId:n.id,tableId:t.id}),v=0,w=0,o.getTableTool().render()}else if(e.tableId&&!t){const t=o.getOriginalElementList(),n=t[d.index].trList;e:for(let r=0;r<n.length;r++){const t=n[r];if(t.id!==e.trId)continue;const i=t.tdList;for(let s=0;s<i.length;s++){const t=i[s];if(t.id===e.tdId){if(r===n.length-1&&s===i.length-1)a.setPositionContext({isTable:!1}),v=d.index,w=v,A=o.getElementList(),o.getTableTool().dispose();else{let t=r,l=s+1;l>i.length-1&&(t=r+1,l=0);const c=n[t],u=c.tdList[l];a.setPositionContext({isTable:!0,index:d.index,trIndex:t,tdIndex:l,tdId:u.id,trId:c.id,tableId:e.tableId}),v=0,w=v,o.getTableTool().render()}break e}}}}}const y=A.length-1;if(v>y||w>y)return;h.setRange(v,w);const R=v===w;o.render({curIndex:R?v:void 0,isSetCursor:R,isSubmitHistory:!1,isCompute:!1}),e.preventDefault()}function Jn(e,t){const n=t.getDraw(),r=n.isReadonly();if(r)return;e.preventDefault();const i=n.getControl(),o=i.getActiveControl();if(o&&i.getIsRangeWithinControl())i.initNextControl({direction:e.shiftKey?de.UP:de.DOWN});else{const e={type:he.TAB,value:""},t=n.getRange(),{startIndex:r}=t.getRange(),i=n.getElementList();rn(i,[e],r,{editorOptions:n.getOptions()}),n.insertElementList([e])}}function $n(e){const{positionList:t,index:n,isUp:r,rowNo:i,cursorX:o}=e;let s=-1;const a=[];if(r){let e=n-1;while(e>=0){const n=t[e];if(e--,n.rowNo!==i){if(a[0]&&a[0].rowNo!==n.rowNo)break;a.unshift(n)}}}else{let e=n+1;while(e<t.length){const n=t[e];if(e++,n.rowNo!==i){if(a[0]&&a[0].rowNo!==n.rowNo)break;a.push(n)}}}for(let l=0;l<a.length;l++){const e=a[l],{coordinate:{leftTop:[t],rightTop:[n]}}=e;if(l===a.length-1&&(s=e.index),!(o<t||o>n)){s=e.index;break}}return s}function er(e,t){const n=t.getDraw(),r=n.isReadonly();if(r)return;const i=n.getPosition(),o=i.getCursorPosition();if(!o)return;const s=n.getRange(),{startIndex:a,endIndex:l}=s.getRange();let c=i.getPositionList();const u=e.key===Pn.Up;let d=-1,h=-1;const p=i.getPositionContext();if(!e.shiftKey&&p.isTable&&(u&&0===o.rowIndex||!u&&o.rowIndex===n.getRowCount()-1)){const{index:e,trIndex:t,tdIndex:r,tableId:o}=p;if(u)if(0===t)i.setPositionContext({isTable:!1}),d=e-1,h=d,n.getTableTool().dispose();else{let s=-1,a=-1;const l=n.getOriginalElementList(),c=l[e].trList,u=c[t].tdList[r].colIndex;e:for(let e=t-1;e>=0;e--){const t=c[e],n=t.tdList;for(let r=0;r<n.length;r++){const t=n[r];if(t.colIndex===u||t.colIndex+t.colspan-1>=u&&t.colIndex<=u){s=e,a=r;break e}}}if(!~s||!~a)return;const p=c[s],f=p.tdList[a];i.setPositionContext({isTable:!0,index:e,trIndex:s,tdIndex:a,tdId:f.id,trId:p.id,tableId:o}),d=f.value.length-1,h=d,n.getTableTool().render()}else{const s=n.getOriginalElementList(),a=s[e].trList;if(t===a.length-1)i.setPositionContext({isTable:!1}),d=e,h=d,n.getTableTool().dispose();else{let s=-1,l=-1;const c=a[t].tdList[r].colIndex;e:for(let e=t+1;e<a.length;e++){const t=a[e],n=t.tdList;for(let r=0;r<n.length;r++){const t=n[r];if(t.colIndex===c||t.colIndex+t.colspan-1>=c&&t.colIndex<=c){s=e,l=r;break e}}}if(!~s||!~l)return;const u=a[s],p=u.tdList[l];i.setPositionContext({isTable:!0,index:e,trIndex:s,tdIndex:l,tdId:p.id,trId:u.id,tableId:o}),d=p.value.length-1,h=d,n.getTableTool().render()}}}else{let t=o;e.shiftKey&&(t=a===o.index?c[l]:c[a]);const{index:r,rowNo:s,rowIndex:p,coordinate:{rightTop:[f]}}=t;if(u&&0===p||!u&&p===n.getRowCount()-1)return;const m=$n({positionList:c,index:r,rowNo:s,isUp:u,cursorX:f});if(m<0)return;d=m,h=m,e.shiftKey&&(a!==l?a===o.index?d=a:h=l:u?h=l:d=a);const A=n.getElementList(),g=A[m];if(g.type===he.TABLE){const{scale:e}=n.getOptions(),t=n.getMargins(),r=g.trList;let o=-1,s=-1,a=-1;if(u)e:for(let n=r.length-1;n>=0;n--){const i=r[n],l=i.tdList;for(let r=0;r<l.length;r++){const i=l[r],c=i.x*e+t[3],d=i.width*e;if(f>=c&&f<=c+d){const e=i.positionList,t=e[e.length-1],l=$n({positionList:e,index:t.index+1,rowNo:t.rowNo-1,isUp:u,cursorX:f})||t.index;o=n,s=r,a=l;break e}}}else e:for(let n=0;n<r.length;n++){const i=r[n],l=i.tdList;for(let r=0;r<l.length;r++){const i=l[r],c=i.x*e+t[3],d=i.width*e;if(f>=c&&f<=c+d){const e=i.positionList,t=$n({positionList:e,index:-1,rowNo:-1,isUp:u,cursorX:f})||0;o=n,s=r,a=t;break e}}}if(~o&&~s&&~a){const e=r[o],t=e.tdList[s];i.setPositionContext({isTable:!0,index:m,trIndex:o,tdIndex:s,tdId:t.id,trId:e.id,tableId:g.id}),d=a,h=d,c=i.getPositionList(),n.getTableTool().render()}}}if(!~d||!~h)return;d>h&&([d,h]=[h,d]),s.setRange(d,h);const f=d===h;n.render({curIndex:f?d:void 0,isSetCursor:f,isSubmitHistory:!1,isCompute:!1}),n.getCursor().moveCursorToVisible({cursorPosition:c[u?d:h],direction:u?de.UP:de.DOWN})}function tr(e,t){if(t.isComposing)return;const n=t.getDraw();if(e.key===Pn.Backspace)Kn(e,t);else if(e.key===Pn.Delete)Gn(e,t);else if(e.key===Pn.Enter)Zn(e,t);else if(e.key===Pn.Left)zn(e,t);else if(e.key===Pn.Right)qn(e,t);else if(e.key===Pn.Up||e.key===Pn.Down)er(e,t);else if(In(e)&&e.key===Pn.Z){if(n.isReadonly()&&n.getMode()!==Ut.FORM)return;n.getHistoryManager().undo(),e.preventDefault()}else if(In(e)&&e.key===Pn.Y){if(n.isReadonly()&&n.getMode()!==Ut.FORM)return;n.getHistoryManager().redo(),e.preventDefault()}else if(In(e)&&e.key===Pn.C)t.copy(),e.preventDefault();else if(In(e)&&e.key===Pn.X)t.cut(),e.preventDefault();else if(In(e)&&e.key===Pn.A)t.selectAll(),e.preventDefault();else if(In(e)&&e.key===Pn.S){if(n.isReadonly())return;const t=n.getListener();t.saved&&t.saved(n.getValue());const r=n.getEventBus();r.isSubscribe("saved")&&r.emit("saved",n.getValue()),e.preventDefault()}else if(e.key===Pn.ESC){t.clearPainterStyle();const r=n.getZone();r.isMainActive()||r.setZone(Ht.MAIN),e.preventDefault()}else e.key===Pn.TAB&&Jn(e,t)}function nr(e,t){var n;const r=t.getDraw();if(r.isReadonly()||r.isDisabled())return;const i=r.getPosition(),o=i.getCursorPosition();if(!e||!o)return;const s=t.isComposing;if(s&&(null==(n=t.compositionInfo)?void 0:n.value)===e)return;const a=r.getRange();if(!a.getIsCanInput())return;if(rr(t),!s){const e=r.getCursor();e.clearAgentDomValue()}const{TEXT:l,HYPERLINK:c,SUBSCRIPT:u,SUPERSCRIPT:d,DATE:h}=he,p=e.replaceAll("\n",b),{startIndex:f,endIndex:m}=a.getRange(),A=r.getElementList(),g=a.getRangeAnchorStyle(A,m);if(!g)return;const _=r.isDesignMode(),v=j(p).map(e=>{var t,n;const r={value:e};if(_||!(null==(t=g.title)?void 0:t.disabled)&&!(null==(n=g.control)?void 0:n.disabled)){const e=A[m+1];(!g.type||g.type===l||g.type===c&&(null==e?void 0:e.type)===c||g.type===h&&(null==e?void 0:e.type)===h||g.type===u&&(null==e?void 0:e.type)===u||g.type===d&&(null==e?void 0:e.type)===d)&&me.forEach(t=>{if("groupIds"===t&&!(null==e?void 0:e.groupIds))return;const n=g[t];void 0!==n&&(r[t]=n)}),s&&(r.underline=!0)}return r}),w=r.getControl();let y;if(w.getActiveControl()&&w.getIsRangeWithinControl())y=w.setValue(v);else{const e=f+1;f!==m&&r.spliceElementList(A,e,m-f),rn(A,v,f,{editorOptions:r.getOptions()}),r.spliceElementList(A,e,0,...v),y=f+v.length}~y&&(a.setRange(y,y),r.render({curIndex:y,isSubmitHistory:!s})),s&&(t.compositionInfo={elementList:A,value:p,startIndex:y-v.length,endIndex:y})}function rr(e){if(!e.compositionInfo)return;const{elementList:t,startIndex:n,endIndex:r}=e.compositionInfo;t.splice(n+1,r-n);const i=e.getDraw().getRange();i.setRange(n,n),e.compositionInfo=null}function ir(e){const t=e.getDraw(),n=t.getRange(),{startIndex:r,endIndex:i}=n.getRange();if(!~r&&!~r)return;if(t.isReadonly()||!n.getIsCanInput())return;const o=t.getElementList();let s=r,a=i;if(r===i){const e=t.getPosition(),n=e.getPositionList(),i=n[r],o=i.rowNo,l=i.pageNo,c=[];for(let t=0;t<n.length;t++){const e=n[t];if(e.pageNo>l)break;e.pageNo===l&&e.rowNo===o&&c.push(t)}const u=c[0]-1;s=u<0?0:u,a=c[c.length-1]}const l=t.getOptions();wn(o.slice(s+1,a+1),l);const c=t.getControl();let u;c.getActiveControl()&&c.getIsRangeWithinControl()?u=c.cut():(t.spliceElementList(o,s+1,a-s),u=s),n.setRange(u,u),t.render({curIndex:u})}function or(e,t){const n=e.getDraw(),{copy:r}=n.getOverride();if(r){const e=r();if(!1!==(null==e?void 0:e.preventDefault))return}const i=n.getRange();let o=null;const s=i.getRange();if(s.isCrossRowCol){const e=i.getRangeTableElement();if(!e)return;const t=n.getTableParticle().getRangeRowCol();if(!t)return;const r={type:he.TABLE,value:"",colgroup:[],trList:[]},s=t[0],a=s[0].colIndex,l=s[s.length-1],c=l.colIndex+l.colspan-1;for(let n=a;n<=c;n++)r.colgroup.push(e.colgroup[n]);for(let n=0;n<t.length;n++){const i=t[n],o=e.trList[i[0].rowIndex],s={tdList:[],height:o.height,minHeight:o.minHeight};for(let e=0;e<i.length;e++)s.tdList.push(i[e]);r.trList.push(s)}o=qt([r])}else o=i.getIsCollapsed()?i.getRangeRowElementList():i.getSelectionElementList();(null==t?void 0:t.isPlainText)&&(null==o?void 0:o.length)&&(o=[{value:dn(o)}]),(null==o?void 0:o.length)&&wn(o,n.getOptions())}function sr(e,t){var n,r;const i=t.getDraw(),{drop:o}=i.getOverride();if(o){const t=o(e);if(!1!==(null==t?void 0:t.preventDefault))return}e.preventDefault();const s=null==(n=e.dataTransfer)?void 0:n.getData("text");if(s)t.input(s);else{const n=null==(r=e.dataTransfer)?void 0:r.files;if(!n)return;for(let e=0;e<n.length;e++){const r=n[e];r.type.startsWith("image")&&Sn(t,r)}}}function ar(e){var t;if(!Intl.Segmenter)return null;const n=e.getDraw(),r=n.getPosition().getCursorPosition();if(!r)return null;const i=n.getRange(),o=i.getRangeParagraphInfo();if(!o)return null;const s=(null==(t=null==o?void 0:o.elementList)?void 0:t.map(e=>!e.type||e.type!==he.CONTROL&&Se.includes(e.type)?e.value:b).join(""))||"";if(!s)return null;const a=r.index,l=o.startIndex,c=new Intl.Segmenter(void 0,{granularity:"word"}),u=c.segment(s);let d=-1,h=-1;for(const{segment:p,index:f,isWordLike:m}of u){const e=f+l;if(m&&a>=e&&a<e+p.length){d=e-1,h=d+p.length;break}}return~d&&~h?{startIndex:d,endIndex:h}:null}function lr(e){const t=e.getDraw(),n=t.getPosition().getCursorPosition();if(!n)return null;const{value:r,index:i}=n,o=t.getLetterReg();let s=0,a=0;const l=C.test(r);if(l||o.test(r)){const e=t.getElementList();let n=i-1;while(n>0){const t=e[n].value;if(!(l&&C.test(t)||!l&&o.test(t)))break;s++,n--}let r=i+1;while(r<e.length){const t=e[r].value;if(!(l&&C.test(t)||!l&&o.test(t)))break;a++,r++}}const c=i-s-1;return c<0?null:{startIndex:c,endIndex:i+a}}function cr(e,t){const n=e.getDraw(),r=n.getPosition(),i=r.getPositionByXY({x:t.offsetX,y:t.offsetY});if(i.isImage&&i.isDirectHit)return void n.getPreviewer().render();if(n.getIsPagingMode()&&!~i.index&&i.zone)return n.getZone().setZone(i.zone),n.clearSideEffect(),void r.setPositionContext({isTable:!1});if((i.isCheckbox||i.isRadio)&&i.isDirectHit)return;const o=n.getRange(),s=ar(e)||lr(e);s&&(o.setRange(s.startIndex,s.endIndex),n.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1}),o.setRangeStyle())}function ur(e){var t,n;const r=e.getDraw(),i=r.getPosition(),o=i.getCursorPosition();if(!o)return;const{index:s}=o,a=r.getElementList();let l=0,c=0,u=s-1;while(u>0){const e=a[u],t=a[u-1];if(e.value===b&&!e.listWrap||e.listId!==(null==t?void 0:t.listId)||e.titleId!==(null==t?void 0:t.titleId))break;l++,u--}let d=s+1;while(d<a.length){const e=a[d],t=a[d+1];if(e.value===b&&!e.listWrap||e.listId!==(null==t?void 0:t.listId)||e.titleId!==(null==t?void 0:t.titleId))break;c++,d++}const h=r.getRange();let p=s-l-1;if((null==(t=a[p])?void 0:t.value)!==b&&(p-=1),p<0)return;let f=s+c+1;((null==(n=a[f])?void 0:n.value)===b||f>a.length-1)&&(f-=1),h.setRange(p,f),r.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}var dr={dblclick:cr,threeClick:ur};function hr(e){e.isComposing=!0}function pr(e,t){e.isComposing=!1;const n=e.getDraw();if(t.data)setTimeout(()=>{e.compositionInfo&&nr(t.data,e)},1);else{rr(e);const t=n.getRange(),{endIndex:r}=t.getRange();n.render({curIndex:r,isSubmitHistory:!1})}const r=n.getCursor();r.clearAgentDomValue()}var fr={compositionstart:hr,compositionend:pr};function mr(e,t){const n=t.getDraw(),r=n.isReadonly();if(r)return;e.preventDefault();const i=n.getPageContainer(),o=U(e.target,e=>e===i,!0);if(!o)return;const s=e.target,a=s.dataset.index;a&&n.setPageNo(Number(a));const l=n.getPosition(),c=l.adjustPositionContext({x:e.offsetX,y:e.offsetY});if(!c)return;const{isTable:u,tdValueIndex:d,index:h}=c,p=l.getPositionList(),f=u?d:h;if(~h){const e=n.getRange();e.setRange(f,f),l.setCursorPosition(p[f])}const m=n.getCursor(),{cursor:{dragColor:A,dragWidth:g}}=n.getOptions();m.drawCursor({width:g,color:A,isBlink:!1,isFocus:!1})}var Ar,gr,_r,br,vr,wr,yr={dragover:mr};class Rr{constructor(e){h(this,"isAllowSelection"),h(this,"isComposing"),h(this,"compositionInfo"),h(this,"isAllowDrag"),h(this,"isAllowDrop"),h(this,"cacheRange"),h(this,"cacheElementList"),h(this,"cachePositionList"),h(this,"cachePositionContext"),h(this,"mouseDownStartPosition"),h(this,"draw"),h(this,"pageContainer"),h(this,"pageList"),h(this,"range"),h(this,"position"),this.draw=e,this.pageContainer=e.getPageContainer(),this.pageList=e.getPageList(),this.range=this.draw.getRange(),this.position=this.draw.getPosition(),this.isAllowSelection=!1,this.isComposing=!1,this.compositionInfo=null,this.isAllowDrag=!1,this.isAllowDrop=!1,this.cacheRange=null,this.cacheElementList=null,this.cachePositionList=null,this.cachePositionContext=null,this.mouseDownStartPosition=null}getDraw(){return this.draw}register(){this.pageContainer.addEventListener("click",this.click.bind(this)),this.pageContainer.addEventListener("mousedown",this.mousedown.bind(this)),this.pageContainer.addEventListener("mouseup",this.mouseup.bind(this)),this.pageContainer.addEventListener("mouseleave",this.mouseleave.bind(this)),this.pageContainer.addEventListener("mousemove",this.mousemove.bind(this)),this.pageContainer.addEventListener("dblclick",this.dblclick.bind(this)),this.pageContainer.addEventListener("dragover",this.dragover.bind(this)),this.pageContainer.addEventListener("drop",this.drop.bind(this)),W(this.pageContainer,this.threeClick.bind(this))}setIsAllowSelection(e){this.isAllowSelection=e,e||this.applyPainterStyle()}setIsAllowDrag(e){this.isAllowDrag=e,this.isAllowDrop=e}clearPainterStyle(){this.pageList.forEach(e=>{e.style.cursor="text"}),this.draw.setPainterStyle(null)}applyPainterStyle(){const e=this.draw.getPainterStyle();if(!e)return;const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelection();if(!n)return;const r=Object.keys(e);n.forEach(t=>{r.forEach(n=>{const r=n;t[r]=e[r]})}),this.draw.render({isSetCursor:!1});const i=this.draw.getPainterOptions();i&&i.isDblclick||this.clearPainterStyle()}selectAll(){const e=this.position.getPositionList();this.range.setRange(0,e.length-1),this.draw.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1})}mousemove(e){Xn(e,this)}mousedown(e){Hn(e,this)}click(){Ln&&!this.draw.isReadonly()&&this.draw.getCursor().getAgentDom().focus()}mouseup(e){Yn(e,this)}mouseleave(e){Qn(e,this)}keydown(e){tr(e,this)}dblclick(e){dr.dblclick(this,e)}threeClick(){dr.threeClick(this)}input(e){nr(e,this)}cut(){ir(this)}copy(e){or(this,e)}compositionstart(){fr.compositionstart(this)}compositionend(e){fr.compositionend(this,e)}drop(e){sr(e,this)}dragover(e){yr.dragover(e,this)}}class Mr{constructor(e,t){h(this,"draw"),h(this,"options"),h(this,"cursor"),h(this,"canvasEvent"),h(this,"range"),h(this,"previewer"),h(this,"tableTool"),h(this,"hyperlinkParticle"),h(this,"control"),h(this,"dateParticle"),h(this,"imageParticle"),h(this,"dprMediaQueryList"),h(this,"clearSideEffect",e=>{if(!this.cursor)return;const t=(null==e?void 0:e.composedPath()[0])||e.target,n=this.draw.getPageList(),r=U(t,e=>n.includes(e),!0);if(r)return void this.setRangeStyle();const i=U(t,e=>!!e&&1===e.nodeType&&!!e.getAttribute(le),!0);if(i)return this.setRangeStyle(),void this.watchCursorActive();this.cursor.recoveryCursor(),this.range.recoveryRangeStyle(),this.previewer.clearResizer(),this.tableTool.dispose(),this.hyperlinkParticle.clearHyperlinkPopup(),this.control.destroyControl(),this.dateParticle.clearDatePicker(),this.imageParticle.destroyFloatImage()}),h(this,"setCanvasEventAbility",()=>{this.canvasEvent.setIsAllowDrag(!1),this.canvasEvent.setIsAllowSelection(!1)}),h(this,"setRangeStyle",()=>{this.range.setRangeStyle()}),h(this,"setPageScale",e=>{if(!e.ctrlKey)return;e.preventDefault();const{scale:t}=this.options;if(e.deltaY<0){const e=10*t+1;e<=30&&this.draw.setPageScale(e/10)}else{const e=10*t-1;e>=5&&this.draw.setPageScale(e/10)}}),h(this,"_handleVisibilityChange",()=>{if("visible"===document.visibilityState){const e=this.range.getRange(),t=!!~e.startIndex&&!!~e.endIndex&&e.startIndex===e.endIndex;this.range.replaceRange(e),this.draw.render({isSetCursor:t,isCompute:!1,isSubmitHistory:!1,curIndex:e.startIndex})}}),h(this,"_handleDprChange",()=>{this.draw.setPageDevicePixel()}),this.draw=e,this.options=e.getOptions(),this.canvasEvent=t,this.cursor=null,this.range=e.getRange(),this.previewer=e.getPreviewer(),this.tableTool=e.getTableTool(),this.hyperlinkParticle=e.getHyperlinkParticle(),this.dateParticle=e.getDateParticle(),this.imageParticle=e.getImageParticle(),this.control=e.getControl(),this.dprMediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`)}register(){this.cursor=this.draw.getCursor(),this.addEvent()}addEvent(){window.addEventListener("blur",this.clearSideEffect),document.addEventListener("keyup",this.setRangeStyle),document.addEventListener("click",this.clearSideEffect),document.addEventListener("mouseup",this.setCanvasEventAbility),document.addEventListener("wheel",this.setPageScale,{passive:!1}),document.addEventListener("visibilitychange",this._handleVisibilityChange),this.dprMediaQueryList.addEventListener("change",this._handleDprChange)}removeEvent(){window.removeEventListener("blur",this.clearSideEffect),document.removeEventListener("keyup",this.setRangeStyle),document.removeEventListener("click",this.clearSideEffect),document.removeEventListener("mouseup",this.setCanvasEventAbility),document.removeEventListener("wheel",this.setPageScale),document.removeEventListener("visibilitychange",this._handleVisibilityChange),this.dprMediaQueryList.removeEventListener("change",this._handleDprChange)}watchCursorActive(){this.range.getIsCollapsed()&&setTimeout(()=>{var e,t;(null==(e=this.cursor)?void 0:e.getAgentIsActive())||null==(t=this.cursor)||t.drawCursor({isFocus:!1,isBlink:!1})})}}class Sr{constructor(e){h(this,"undoStack",[]),h(this,"redoStack",[]),h(this,"maxRecordCount"),this.maxRecordCount=e.getOptions().historyMaxRecordCount+1}undo(){if(this.undoStack.length>1){const e=this.undoStack.pop();this.redoStack.push(e),this.undoStack.length&&this.undoStack[this.undoStack.length-1]()}}redo(){if(this.redoStack.length){const e=this.redoStack.pop();this.undoStack.push(e),e()}}execute(e){this.undoStack.push(e),this.redoStack.length&&(this.redoStack=[]);while(this.undoStack.length>this.maxRecordCount)this.undoStack.shift()}isCanUndo(){return this.undoStack.length>1}isCanRedo(){return!!this.redoStack.length}isStackEmpty(){return!this.undoStack.length&&!this.redoStack.length}recovery(){this.undoStack=[],this.redoStack=[]}popUndo(){return this.undoStack.pop()}}class Er{constructor(e){h(this,"cursorPosition"),h(this,"positionContext"),h(this,"positionList"),h(this,"floatPositionList"),h(this,"draw"),h(this,"eventBus"),h(this,"options"),this.positionList=[],this.floatPositionList=[],this.cursorPosition=null,this.positionContext={isTable:!1,isControl:!1},this.draw=e,this.eventBus=e.getEventBus(),this.options=e.getOptions()}getFloatPositionList(){return this.floatPositionList}getTablePositionList(e){const{index:t,trIndex:n,tdIndex:r}=this.positionContext;return e[t].trList[n].tdList[r].positionList||[]}getPositionList(){return this.positionContext.isTable?this.getTablePositionList(this.draw.getOriginalElementList()):this.getOriginalPositionList()}getMainPositionList(){return this.positionContext.isTable?this.getTablePositionList(this.draw.getOriginalMainElementList()):this.positionList}getOriginalPositionList(){const e=this.draw.getZone();if(e.isHeaderActive()){const e=this.draw.getHeader();return e.getPositionList()}if(e.isFooterActive()){const e=this.draw.getFooter();return e.getPositionList()}return this.positionList}getOriginalMainPositionList(){return this.positionList}getSelectionPositionList(){const{startIndex:e,endIndex:t}=this.draw.getRange().getRange();if(e===t)return null;const n=this.getPositionList();return n.slice(e+1,t+1)}setPositionList(e){this.positionList=e}setFloatPositionList(e){this.floatPositionList=e}computePageRowPosition(e){const{positionList:t,rowList:n,pageNo:r,startX:i,startY:o,startRowIndex:s,startIndex:a,innerWidth:l,zone:c}=e,{scale:u,table:{tdPadding:d}}=this.options;let h=i,p=o,f=a;for(let m=0;m<n.length;m++){const o=n[m];if(!o.isSurround){const e=o.width+(o.offsetX||0);o.rowFlex===T.CENTER?h+=(l-e)/2:o.rowFlex===T.RIGHT&&(h+=l-e)}h+=o.offsetX||0,p+=o.offsetY||0;const a=h,g=p;for(let n=0;n<o.elementList.length;n++){const i=o.elementList[n],l=i.metrics,_=i.imgDisplay!==A.INLINE&&i.type===he.IMAGE||i.type===he.LATEX?o.ascent-l.height:o.ascent;i.left&&(h+=i.left);const b={pageNo:r,index:f,value:i.value,rowIndex:s+m,rowNo:m,metrics:l,left:i.left||0,ascent:_,lineHeight:o.height,isFirstLetter:0===n,isLastLetter:n===o.elementList.length-1,coordinate:{leftTop:[h,p],leftBottom:[h,p+o.height],rightTop:[h+l.width,p],rightBottom:[h+l.width,p+o.height]}};if(i.imgDisplay===A.SURROUND||i.imgDisplay===A.FLOAT_TOP||i.imgDisplay===A.FLOAT_BOTTOM){const n=t[t.length-1];n&&(b.metrics=n.metrics,b.coordinate=n.coordinate),i.imgFloatPosition||(i.imgFloatPosition={x:h,y:p,pageNo:r}),this.floatPositionList.push({pageNo:r,element:i,position:b,isTable:e.isTable,index:e.index,tdIndex:e.tdIndex,trIndex:e.trIndex,tdValueIndex:f,zone:c})}if(t.push(b),f++,h+=l.width,i.type===he.TABLE){const e=d[1]+d[3],t=d[0]+d[2];for(let n=0;n<i.trList.length;n++){const o=i.trList[n];for(let i=0;i<o.tdList.length;i++){const s=o.tdList[i];s.positionList=[];const l=s.rowList,m=this.computePageRowPosition({positionList:s.positionList,rowList:l,pageNo:r,startRowIndex:0,startIndex:0,startX:(s.x+d[3])*u+a,startY:(s.y+d[0])*u+g,innerWidth:(s.width-e)*u,isTable:!0,index:f-1,tdIndex:i,trIndex:n,zone:c});if(s.verticalAlign===_t.MIDDLE||s.verticalAlign===_t.BOTTOM){const e=l.reduce((e,t)=>e+t.height,0),n=(s.height-t)*u-e,r=s.verticalAlign===_t.MIDDLE?n/2:n;Math.floor(r)>0&&s.positionList.forEach(e=>{const{coordinate:{leftTop:t,leftBottom:n,rightBottom:i,rightTop:o}}=e;t[1]+=r,n[1]+=r,i[1]+=r,o[1]+=r})}h=m.x,p=m.y}}h=a,p=g}}h=i,p+=o.height}return{x:h,y:p,index:f}}computePositionList(){var e;this.positionList=[];const t=this.draw.getInnerWidth(),n=this.draw.getPageRowList(),r=this.draw.getMargins(),i=r[3],o=this.draw.getHeader(),s=o.getExtraHeight(),a=r[0]+s;let l=0;for(let c=0;c<n.length;c++){const r=n[c],o=null==(e=r[0])?void 0:e.startIndex;this.computePageRowPosition({positionList:this.positionList,rowList:r,pageNo:c,startRowIndex:l,startIndex:o,startX:i,startY:a,innerWidth:t}),l+=r.length}}computeRowPosition(e){const{row:t,innerWidth:n}=e,r=[];return this.computePageRowPosition({positionList:r,innerWidth:n,rowList:[k(t)],pageNo:0,startX:0,startY:0,startIndex:0,startRowIndex:0}),r}setCursorPosition(e){this.cursorPosition=e}getCursorPosition(){return this.cursorPosition}getPositionContext(){return this.positionContext}setPositionContext(e){this.eventBus.emit("positionContextChange",{value:e,oldValue:this.positionContext}),this.positionContext=e}getPositionByXY(e){var t,n,r,i,o;const{x:s,y:a,isTable:l}=e;let{elementList:c,positionList:h}=e;c||(c=this.draw.getOriginalElementList()),h||(h=this.getOriginalPositionList());const p=this.draw.getZone(),f=null!=(t=e.pageNo)?t:this.draw.getPageNo(),m=p.isMainActive(),g=m?f:0;if(!l){const t=this.getFloatPositionByXY(d(u({},e),{imgDisplays:[A.FLOAT_TOP,A.SURROUND]}));if(t)return t}for(let u=0;u<h.length;u++){const{index:e,pageNo:t,left:n,isFirstLetter:r,coordinate:{leftTop:i,rightTop:o,leftBottom:l}}=h[u];if(g===t){if(t>g)break;if(i[0]-n<=s&&o[0]>=s&&i[1]<=a&&l[1]>=a){let t=u;const n=c[u];if(n.type===he.TABLE)for(let r=0;r<n.trList.length;r++){const t=n.trList[r];for(let i=0;i<t.tdList.length;i++){const o=t.tdList[i],l=this.getPositionByXY({x:s,y:a,td:o,pageNo:f,tablePosition:h[u],isTable:!0,elementList:o.value,positionList:o.positionList});if(~l.index){const{index:s,hitLineStartIndex:a}=l,c=o.value[s];return{index:e,isCheckbox:l.isCheckbox||c.type===he.CHECKBOX||c.controlComponent===ht.CHECKBOX,isRadio:c.type===he.RADIO||c.controlComponent===ht.RADIO,isControl:!!c.controlId,isImage:l.isImage,isDirectHit:l.isDirectHit,isTable:!0,tdIndex:i,trIndex:r,tdValueIndex:s,tdId:o.id,trId:t.id,tableId:n.id,hitLineStartIndex:a}}}}if(n.type===he.IMAGE||n.type===he.LATEX)return{index:t,isDirectHit:!0,isImage:!0};if(n.type===he.CHECKBOX||n.controlComponent===ht.CHECKBOX)return{index:t,isDirectHit:!0,isCheckbox:!0};if(n.type===he.RADIO||n.controlComponent===ht.RADIO)return{index:t,isDirectHit:!0,isRadio:!0};let l;if(c[e].value!==b){const e=o[0]-i[0];s<i[0]+e/2&&(t=u-1,r&&(l=u))}return{isDirectHit:!0,hitLineStartIndex:l,index:t,isControl:!!n.controlId}}}}if(!l){const t=this.getFloatPositionByXY(d(u({},e),{imgDisplays:[A.FLOAT_BOTTOM]}));if(t)return t}let _,v=!1,w=-1;if(l){const{scale:t}=this.options,{td:n,tablePosition:r}=e;if(n&&r){const{leftTop:e}=r.coordinate,i=n.x*t+e[0],o=n.y*t+e[1],l=n.width*t,c=n.height*t;if(!(i<s&&s<i+l&&o<a&&a<o+c))return{index:w}}}const y=h.filter(e=>e.isLastLetter&&e.pageNo===g);for(let u=0;u<y.length;u++){const{index:e,rowNo:t,coordinate:{leftTop:n,leftBottom:r}}=y[u];if(a>n[1]&&a<=r[1]){const r=h.findIndex(e=>e.pageNo===g&&e.rowNo===t),i=c[r],o=h[r],a=i.listStyle===nt.CHECKBOX?this.options.margins[3]:o.coordinate.leftTop[0];if(s<a)~r?o.value===b?w=r:(w=r-1,_=r):w=e;else{if(i.listStyle===nt.CHECKBOX&&s<n[0])return{index:r,isDirectHit:!0,isCheckbox:!0};w=e}v=!0;break}}if(!v){const e=this.draw.getHeader(),t=e.getHeight(),o=e.getHeaderTop()+t,l=this.draw.getFooter(),c=this.draw.getHeight(),u=c-(l.getFooterBottom()+l.getHeight());if(m){if(a<o)return{index:-1,zone:Ht.HEADER};if(a>u)return{index:-1,zone:Ht.FOOTER}}else if(a<=u&&a>=o)return{index:-1,zone:Ht.MAIN};const d=this.draw.getMargins();if(a<=d[0])for(let r=0;r<h.length;r++){const e=h[r];if(e.pageNo!==g||0!==e.rowNo)continue;const{leftTop:t,rightTop:i}=e.coordinate;if(s<=d[3]||s>=t[0]&&s<=i[0]||0!==(null==(n=h[r+1])?void 0:n.rowNo))return{index:e.index}}else{const e=y[y.length-1];if(e){const t=e.rowNo;for(let e=0;e<h.length;e++){const n=h[e];if(n.pageNo!==g||n.rowNo!==t)continue;const{leftTop:i,rightTop:o}=n.coordinate;if(s<=d[3]||s>=i[0]&&s<=o[0]||(null==(r=h[e+1])?void 0:r.rowNo)!==t)return{index:n.index}}}}return{index:(null==(i=y[y.length-1])?void 0:i.index)||h.length-1}}return{hitLineStartIndex:_,index:w,isControl:!!(null==(o=c[w])?void 0:o.controlId)}}getFloatPositionByXY(e){var t;const{x:n,y:r}=e,i=null!=(t=e.pageNo)?t:this.draw.getPageNo(),o=this.draw.getZone().getZone();for(let s=0;s<this.floatPositionList.length;s++){const{position:t,element:a,isTable:l,index:c,trIndex:u,tdIndex:d,tdValueIndex:h,zone:p,pageNo:f}=this.floatPositionList[s];if(i===f&&a.type===he.IMAGE&&a.imgDisplay&&e.imgDisplays.includes(a.imgDisplay)&&(!p||p===o)){const e=a.imgFloatPosition;if(n>=e.x&&n<=e.x+a.width&&r>=e.y&&r<=e.y+a.height)return l?{index:c,isDirectHit:!0,isImage:!0,isTable:l,trIndex:u,tdIndex:d,tdValueIndex:h,tdId:a.tdId,trId:a.trId,tableId:a.tableId}:{index:t.index,isDirectHit:!0,isImage:!0}}}}adjustPositionContext(e){const t=this.getPositionByXY(e);if(!~t.index)return null;if(t.isControl&&this.draw.getMode()!==Ut.READONLY){const{index:e,isTable:n,trIndex:r,tdIndex:i,tdValueIndex:o}=t,s=this.draw.getControl(),{newIndex:a}=s.moveCursor({index:e,isTable:n,trIndex:r,tdIndex:i,tdValueIndex:o});n?t.tdValueIndex=a:t.index=a}const{index:n,isCheckbox:r,isRadio:i,isControl:o,isImage:s,isDirectHit:a,isTable:l,trIndex:c,tdIndex:u,tdId:d,trId:h,tableId:p}=t;return this.setPositionContext({isTable:l||!1,isCheckbox:r||!1,isRadio:i||!1,isControl:o||!1,isImage:s||!1,isDirectHit:a||!1,index:n,trIndex:c,tdIndex:u,tdId:d,trId:h,tableId:p}),t}setSurroundPosition(e){var t;const{pageNo:n,row:r,rowElement:i,rowElementRect:o,surroundElementList:s,availableWidth:a}=e;let l=o.x,c=0;if(s.length&&!pn(i)&&!(null==(t=i.control)?void 0:t.minWidth))for(let h=0;h<s.length;h++){const e=s[h],t=e.imgFloatPosition;if(t.pageNo!==n)continue;const p=d(u({},t),{width:e.width,height:e.height});if(re(o,p)){r.isSurround=!0;const e=p.width+p.x-o.x;if(i.left=e,r.width+=e,c+=e,l=p.x+p.width,r.width+i.metrics.width>a){i.left=0,r.width-=c;break}}}return{x:l,rowIncreaseWidth:c}}}class Tr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"range"),h(this,"listener"),h(this,"eventBus"),h(this,"position"),h(this,"historyManager"),h(this,"defaultStyle"),this.draw=e,this.options=e.getOptions(),this.listener=e.getListener(),this.eventBus=e.getEventBus(),this.position=e.getPosition(),this.historyManager=e.getHistoryManager(),this.range={startIndex:-1,endIndex:-1},this.defaultStyle=null}getRange(){return this.range}clearRange(){this.setRange(-1,-1)}setDefaultStyle(e){this.defaultStyle=e?u(u({},this.defaultStyle),e):null}getDefaultStyle(){return this.defaultStyle}getRangeAnchorStyle(e,t){const n=nn(e,t);return n?u(u({},n),this.defaultStyle):null}getIsCollapsed(){const{startIndex:e,endIndex:t}=this.range;return e===t}getIsSelection(){const{startIndex:e,endIndex:t}=this.range;return!(!~e&&!~t)&&e!==t}getSelection(){const{startIndex:e,endIndex:t}=this.range;if(e===t)return null;const n=this.draw.getElementList();return n.slice(e+1,t+1)}getSelectionElementList(){if(this.range.isCrossRowCol){const e=this.draw.getTableParticle().getRangeRowCol();if(!e)return null;const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.length;e++){const n=r[e];t.push(...n.value)}}return t}return this.getSelection()}getTextLikeSelection(){const e=this.getSelection();return e?e.filter(e=>!e.type||Se.includes(e.type)):null}getTextLikeSelectionElementList(){const e=this.getSelectionElementList();return e?e.filter(e=>!e.type||Se.includes(e.type)):null}getRangeRow(){const{startIndex:e,endIndex:t}=this.range;if(!~e&&!~t)return null;const n=this.position.getPositionList(),r=new Map;for(let i=e;i<t+1;i++){const{pageNo:e,rowNo:t}=n[i],o=r.get(e);o?o.has(t)||o.add(t):r.set(e,new Set([t]))}return r}getRangeRowElementList(){const{startIndex:e,endIndex:t,isCrossRowCol:n}=this.range;if(!~e&&!~t)return null;if(n)return this.getSelectionElementList();const r=this.getRangeRow();if(!r)return null;const i=this.position.getPositionList(),o=this.draw.getElementList(),s=[];for(let a=0;a<i.length;a++){const e=i[a],t=r.get(e.pageNo);t&&(t.has(e.rowNo)&&s.push(o[a]))}return s}getRangeParagraph(){const{startIndex:e,endIndex:t}=this.range;if(!~e&&!~t)return null;const n=this.position.getPositionList(),r=this.draw.getElementList(),i=new Map;let o=e;while(o>=0){const{pageNo:e,rowNo:t}=n[o];let s=i.get(e);s||(s=[],i.set(e,s)),s.includes(t)||s.unshift(t);const a=r[o],l=r[o-1];if(a.value===b&&!a.listWrap||a.listId!==(null==l?void 0:l.listId)||a.titleId!==(null==l?void 0:l.titleId))break;o--}const s=e===t;if(!s){let r=e+1;while(r<t){const{pageNo:e,rowNo:t}=n[r];let o=i.get(e);o||(o=[],i.set(e,o)),o.includes(t)||o.push(t),r++}}let a=t;s&&r[e].value===b&&(a+=1);while(a<n.length){const e=r[a],t=r[a+1];if(e.value===b&&!e.listWrap||e.listId!==(null==t?void 0:t.listId)||e.titleId!==(null==t?void 0:t.titleId))break;const{pageNo:o,rowNo:s}=n[a];let l=i.get(o);l||(l=[],i.set(o,l)),l.includes(s)||l.push(s),a++}return i}getRangeParagraphInfo(){const{startIndex:e,endIndex:t}=this.range;if(!~e&&!~t)return null;let n=-1;const r=[],i=this.getRangeParagraph();if(!i)return null;const o=this.draw.getElementList(),s=this.position.getPositionList();for(let a=0;a<s.length;a++){const e=s[a],t=i.get(e.pageNo);t&&(t.includes(e.rowNo)&&(~n||(n=e.index),r.push(o[a])))}return r.length?{elementList:r,startIndex:n}:null}getRangeParagraphElementList(){var e;return(null==(e=this.getRangeParagraphInfo())?void 0:e.elementList)||null}getRangeTableElement(){const e=this.position.getPositionContext();if(!e.isTable)return null;const t=this.draw.getOriginalElementList();return t[e.index]}getIsSelectAll(){const e=this.draw.getElementList(),{startIndex:t,endIndex:n}=this.range;return 0===t&&e.length-1===n&&!this.position.getPositionContext().isTable}getIsPointInRange(e,t){const{startIndex:n,endIndex:r}=this.range,i=this.position.getPositionList();for(let o=n+1;o<=r;o++){const n=i[o];if(!n)break;const{coordinate:{leftTop:r,rightBottom:s}}=i[o];if(e>=r[0]&&e<=s[0]&&t>=r[1]&&t<=s[1])return!0}return!1}getKeywordRangeList(e){const t=this.draw.getSearch().getMatchList(e,this.draw.getOriginalElementList()),n=new Map;for(const i of t){const e=n.get(i.groupId);if(e)e.endIndex+=1;else{const{type:e,groupId:t,tableId:r,index:o,tdIndex:s,trIndex:a}=i,l={startIndex:o,endIndex:o};e===Bt.TABLE&&(l.tableId=r,l.startTdIndex=s,l.endTdIndex=s,l.startTrIndex=a,l.endTrIndex=a),n.set(t,l)}}const r=[];return n.forEach(e=>{r.push(e)}),r}getIsCanInput(){var e;const{startIndex:t,endIndex:n}=this.getRange();if(!~t&&!~n)return!1;const r=this.draw.getElementList(),i=r[t];if(t===n)return(i.controlComponent!==ht.PRE_TEXT||(null==(e=r[t+1])?void 0:e.controlComponent)!==ht.PRE_TEXT)&&i.controlComponent!==ht.POST_TEXT;const o=r[n];return!i.controlId&&!o.controlId||(!i.controlId||i.controlComponent===ht.POSTFIX)&&(!o.controlId||o.controlComponent===ht.POSTFIX)||!!i.controlId&&o.controlId===i.controlId&&o.controlComponent!==ht.PRE_TEXT&&o.controlComponent!==ht.POST_TEXT&&o.controlComponent!==ht.POSTFIX}setRange(e,t,n,r,i,o,s){this.range.startIndex=e,this.range.endIndex=t,this.range.tableId=n,this.range.startTdIndex=r,this.range.endTdIndex=i,this.range.startTrIndex=o,this.range.endTrIndex=s,this.range.isCrossRowCol=!!(r||i||o||s),this.setDefaultStyle(null),this.range.zone=this.draw.getZone().getZone();const a=this.draw.getControl();if(~e&&~t){const t=this.draw.getElementList(),n=t[e];if(null==n?void 0:n.controlId)return void a.initControl()}a.destroyControl()}replaceRange(e){this.setRange(e.startIndex,e.endIndex,e.tableId,e.startTdIndex,e.endTdIndex,e.startTrIndex,e.endTrIndex)}setRangeStyle(){var e,t;const n=this.listener.rangeStyleChange,r=this.eventBus.isSubscribe("rangeStyleChange");if(!n&&!r)return;const{startIndex:i,endIndex:o,isCrossRowCol:s}=this.range;if(!~i&&!~o)return;let a;if(s){const e=this.draw.getOriginalElementList(),t=this.position.getPositionContext();a=e[t.index]}else{const e=~o?o:0,t=this.draw.getElementList();a=this.getRangeAnchorStyle(t,e)}if(!a)return;const l=this.getSelection()||[a],c=a.type||he.TEXT,u=a.font||this.options.defaultFont,d=a.size||this.options.defaultSize,h=!~l.findIndex(e=>!e.bold),p=!~l.findIndex(e=>!e.italic),f=!~l.findIndex(e=>{var t;return!e.underline&&!(null==(t=e.control)?void 0:t.underline)}),m=!~l.findIndex(e=>!e.strikeout),A=a.color||null,g=a.highlight||null,_=a.rowFlex||null,b=null!=(e=a.rowMargin)?e:this.options.defaultRowMargin,v=a.dashArray||[],w=a.level||null,y=a.listType||null,R=a.listStyle||null,M=f&&a.textDecoration||null,S=!!this.draw.getPainterStyle(),E=this.historyManager.isCanUndo(),T=this.historyManager.isCanRedo(),C=a.groupIds||null,O=null!=(t=a.extension)?t:null,x={type:c,undo:E,redo:T,painter:S,font:u,size:d,bold:h,italic:p,underline:f,strikeout:m,color:A,highlight:g,rowFlex:_,rowMargin:b,dashArray:v,level:w,listType:y,listStyle:R,groupIds:C,textDecoration:M,extension:O};n&&n(x),r&&this.eventBus.emit("rangeStyleChange",x)}recoveryRangeStyle(){const e=this.listener.rangeStyleChange,t=this.eventBus.isSubscribe("rangeStyleChange");if(!e&&!t)return;const n=this.options.defaultFont,r=this.options.defaultSize,i=this.options.defaultRowMargin,o=!!this.draw.getPainterStyle(),s=this.historyManager.isCanUndo(),a=this.historyManager.isCanRedo(),l={type:null,undo:s,redo:a,painter:o,font:n,size:r,bold:!1,italic:!1,underline:!1,strikeout:!1,color:null,highlight:null,rowFlex:null,rowMargin:i,dashArray:[],level:null,listType:null,listStyle:null,groupIds:null,textDecoration:null,extension:null};e&&e(l),t&&this.eventBus.emit("rangeStyleChange",l)}shrinkBoundary(e={}){const t=e.elementList||this.draw.getElementList(),n=e.range||this.getRange(),{startIndex:r,endIndex:i}=n;if(!~r&&!~i)return;const o=t[r],s=t[i];if(r===i){if(o.controlComponent===ht.PLACEHOLDER){let e=r-1;while(e>0){const r=t[e];if(r.controlId!==o.controlId||r.controlComponent===ht.PREFIX||r.controlComponent===ht.PRE_TEXT){n.startIndex=e,n.endIndex=e;break}e--}}}else{if(o.controlComponent===ht.PLACEHOLDER||s.controlComponent===ht.PLACEHOLDER){let e=i-1;while(e>0){const r=t[e];if(r.controlId!==s.controlId||r.controlComponent===ht.PREFIX||r.controlComponent===ht.PRE_TEXT)return n.startIndex=e,void(n.endIndex=e);e--}}if(o.controlComponent===ht.PREFIX){let e=r+1;while(e<t.length){const r=t[e];if(r.controlId!==o.controlId||r.controlComponent===ht.VALUE){n.startIndex=e-1;break}if(r.controlComponent===ht.PLACEHOLDER)return n.startIndex=e-1,void(n.endIndex=e-1);e++}}if(s.controlComponent!==ht.VALUE){let e=r-1;while(e>0){const r=t[e];if(r.controlId!==o.controlId||r.controlComponent===ht.VALUE){n.startIndex=e;break}if(r.controlComponent===ht.PLACEHOLDER)return n.startIndex=e,void(n.endIndex=e);e--}}}}render(e,t,n,r,i){e.save(),e.globalAlpha=this.options.rangeAlpha,e.fillStyle=this.options.rangeColor,e.fillRect(t,n,r,i),e.restore()}toString(){const e=this.getTextLikeSelection();return e?e.map(e=>e.value).join("").replace(new RegExp(b,"g"),""):""}}class Cr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"imageCache"),this.draw=e,this.options=e.getOptions(),this.imageCache=new Map}_renderBackgroundColor(e,t,n,r){e.save(),e.fillStyle=t,e.fillRect(0,0,n,r),e.restore()}_drawImage(e,t,n,r){const{background:i,scale:o}=this.options;if(i.size===mt.CONTAIN){const s=t.width*o,a=t.height*o;if(i.repeat&&i.repeat!==At.NO_REPEAT){let l=0,c=0;const u=i.repeat===At.REPEAT||i.repeat===At.REPEAT_X?Math.ceil(n*o/s):1,d=i.repeat===At.REPEAT||i.repeat===At.REPEAT_Y?Math.ceil(r*o/a):1;for(let n=0;n<u;n++){for(let n=0;n<d;n++)e.drawImage(t,l,c,s,a),c+=a;c=0,l+=s}}else e.drawImage(t,0,0,s,a)}else e.drawImage(t,0,0,n*o,r*o)}_renderBackgroundImage(e,t,n){const{background:r}=this.options,i=this.imageCache.get(r.image);if(i)this._drawImage(e,i,t,n);else{const i=new Image;i.setAttribute("crossOrigin","Anonymous"),i.src=r.image,i.onload=()=>{this.imageCache.set(r.image,i),this._drawImage(e,i,t,n),this.draw.render({isCompute:!1,isSubmitHistory:!1})}}}render(e,t){const{background:{image:n,color:r,applyPageNumbers:i}}=this.options;if(!n||(null==i?void 0:i.length)&&!i.includes(t)){const n=this.draw.getCanvasWidth(t),i=this.draw.getCanvasHeight(t);this._renderBackgroundColor(e,r,n,i)}else{const{width:t,height:n}=this.options;this._renderBackgroundImage(e,t,n)}}}class Or{constructor(){h(this,"fillRect"),h(this,"fillColor"),h(this,"fillDecorationStyle"),this.fillRect=this.clearFillInfo()}clearFillInfo(){return this.fillColor=void 0,this.fillDecorationStyle=void 0,this.fillRect={x:0,y:0,width:0,height:0},this.fillRect}recordFillInfo(e,t,n,r,i,o,s){const a=!this.fillRect.width;if(!a&&(this.fillColor!==o||this.fillDecorationStyle!==s))return this.render(e),this.clearFillInfo(),void this.recordFillInfo(e,t,n,r,i,o,s);a&&(this.fillRect.x=t,this.fillRect.y=n),i&&this.fillRect.height<i&&(this.fillRect.height=i),this.fillRect.width+=r,this.fillColor=o,this.fillDecorationStyle=s}}class xr extends Or{constructor(e){super(),h(this,"options"),this.options=e.getOptions()}render(e){if(!this.fillRect.width)return;const{highlightAlpha:t}=this.options,{x:n,y:r,width:i,height:o}=this.fillRect;e.save(),e.globalAlpha=t,e.fillStyle=this.fillColor,e.fillRect(n,r,i,o),e.restore(),this.clearFillInfo()}}class Nr{constructor(e){h(this,"draw"),h(this,"options"),this.draw=e,this.options=e.getOptions()}render(e,t){const{marginIndicatorColor:n,pageMode:r}=this.options,i=this.draw.getWidth(),o=r===jt.CONTINUITY?this.draw.getCanvasHeight(t)/this.draw.getPagePixelRatio():this.draw.getHeight(),s=this.draw.getMargins(),a=this.draw.getMarginIndicatorSize();e.save(),e.translate(.5,.5),e.strokeStyle=n,e.beginPath();const l=[s[3],s[0]],c=[i-s[1],s[0]],u=[s[3],o-s[2]],d=[i-s[1],o-s[2]];e.moveTo(l[0]-a,l[1]),e.lineTo(...l),e.lineTo(l[0],l[1]-a),e.moveTo(c[0]+a,c[1]),e.lineTo(...c),e.lineTo(c[0],c[1]-a),e.moveTo(u[0]-a,u[1]),e.lineTo(...u),e.lineTo(u[0],u[1]+a),e.moveTo(d[0]+a,d[1]),e.lineTo(...d),e.lineTo(d[0],d[1]+a),e.stroke(),e.restore()}}class Lr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"position"),h(this,"searchKeyword"),h(this,"searchNavigateIndex"),h(this,"searchMatchList"),this.draw=e,this.options=e.getOptions(),this.position=e.getPosition(),this.searchNavigateIndex=null,this.searchKeyword=null,this.searchMatchList=[]}getSearchKeyword(){return this.searchKeyword}setSearchKeyword(e){this.searchKeyword=e,this.searchNavigateIndex=null}searchNavigatePre(){if(!this.searchMatchList.length||!this.searchKeyword)return null;if(null===this.searchNavigateIndex)this.searchNavigateIndex=0;else{let e=this.searchNavigateIndex-1,t=!1;const n=this.searchMatchList[this.searchNavigateIndex].groupId;while(e>=0){const r=this.searchMatchList[e];if(n!==r.groupId){t=!0,this.searchNavigateIndex=e-(this.searchKeyword.length-1);break}e--}if(!t){const e=this.searchMatchList[this.searchMatchList.length-1];if(e.groupId===n)return null;this.searchNavigateIndex=this.searchMatchList.length-1-(this.searchKeyword.length-1)}}return this.searchNavigateIndex}searchNavigateNext(){if(!this.searchMatchList.length||!this.searchKeyword)return null;if(null===this.searchNavigateIndex)this.searchNavigateIndex=0;else{let e=this.searchNavigateIndex+1,t=!1;const n=this.searchMatchList[this.searchNavigateIndex].groupId;while(e<this.searchMatchList.length){const r=this.searchMatchList[e];if(n!==r.groupId){t=!0,this.searchNavigateIndex=e;break}e++}if(!t){const e=this.searchMatchList[0];if(e.groupId===n)return null;this.searchNavigateIndex=0}}return this.searchNavigateIndex}searchNavigateScrollIntoView(e){const{coordinate:{leftTop:t,leftBottom:n,rightTop:r},pageNo:i}=e,o=this.draw.getHeight(),s=this.draw.getPageGap(),a=i*(o+s),l=document.createElement("div");l.style.position="absolute";const c=50;l.style.width=r[0]-t[0]+c+"px",l.style.height=n[1]-t[1]+c+"px",l.style.left=t[0]+"px",l.style.top=t[1]+a+"px",this.draw.getContainer().append(l),l.scrollIntoView(!1),l.remove()}getSearchNavigateIndexList(){return null!==this.searchNavigateIndex&&this.searchKeyword?new Array(this.searchKeyword.length).fill(this.searchNavigateIndex).map((e,t)=>e+t):[]}getSearchMatchList(){return this.searchMatchList}getSearchNavigateInfo(){if(!this.searchKeyword||!this.searchMatchList.length)return null;const e=null!==this.searchNavigateIndex?this.searchNavigateIndex/this.searchKeyword.length+1:0;let t=0,n=null;for(let r=0;r<this.searchMatchList.length;r++){const e=this.searchMatchList[r];n!==e.groupId&&(n=e.groupId,t+=1)}return{index:e,count:t}}getMatchList(e,t){const n=e.toLocaleLowerCase(),r=[],i=[],o=t.length,s=[];for(let u=0;u<o;u++){const e=t[u];e.type===he.TABLE&&s.push(u)}let a=0,l=0;while(l<o-1){const e=s.length?s[a]:o,n=t.slice(l,e);n.length&&i.push({index:l,type:Bt.PAGE,elementList:n});const r=t[e];r&&i.push({index:e,type:Bt.TABLE,elementList:[r]}),l=e+1,a++}function c(e,t,n,i){if(!e)return;const o=n.map(e=>!e.type||Se.includes(e.type)&&e.controlComponent!==ht.CHECKBOX?e.value:b).filter(Boolean).join("").toLocaleLowerCase(),s=[];let a=o.indexOf(e);while(-1!==a)s.push(a),a=o.indexOf(e,a+e.length);for(let l=0;l<s.length;l++){const n=s[l],o=H();for(let s=0;s<e.length;s++){const e=n+s+((null==i?void 0:i.startIndex)||0);r.push(u({type:t,index:e,groupId:o},i))}}}for(let u=0;u<i.length;u++){const e=i[u];if(e.type===Bt.TABLE){const t=e.elementList[0];for(let r=0;r<t.trList.length;r++){const i=t.trList[r];for(let o=0;o<i.tdList.length;o++){const s=i.tdList[o],a={tableId:t.id,tableIndex:e.index,trIndex:r,tdIndex:o,tdId:s.id};c(n,e.type,s.value,a)}}}else c(n,e.type,e.elementList,{startIndex:e.index})}return r}compute(e){this.searchMatchList=this.getMatchList(e,this.draw.getOriginalElementList())}render(e,t){var n,r;if(!this.searchMatchList||!this.searchMatchList.length||!this.searchKeyword)return;const{searchMatchAlpha:i,searchMatchColor:o,searchNavigateMatchColor:s}=this.options,a=this.position.getOriginalPositionList(),l=this.draw.getOriginalElementList();e.save(),e.globalAlpha=i;for(let c=0;c<this.searchMatchList.length;c++){const i=this.searchMatchList[c];let u=null;if(i.type===Bt.TABLE){const{tableIndex:e,trIndex:t,tdIndex:o,index:s}=i;u=null==(r=null==(n=l[e])?void 0:n.trList[t].tdList[o])?void 0:r.positionList[s]}else u=a[i.index];if(!u)continue;const{coordinate:{leftTop:d,leftBottom:h,rightTop:p},pageNo:f}=u;if(f!==t)continue;const m=this.getSearchNavigateIndexList();if(m.includes(c)){e.fillStyle=s;const t=this.searchMatchList[c-1];t&&t.groupId===i.groupId||this.searchNavigateScrollIntoView(u)}else e.fillStyle=o;const A=d[0],g=d[1],_=p[0]-d[0],b=h[1]-d[1];e.fillRect(A,g,_,b)}e.restore()}}class Ir extends Or{constructor(e){super(),h(this,"options"),this.options=e.getOptions()}render(e){if(!this.fillRect.width)return;const{scale:t,strikeoutColor:n}=this.options,{x:r,y:i,width:o}=this.fillRect;e.save(),e.lineWidth=t,e.strokeStyle=n;const s=i+.5;e.beginPath(),e.moveTo(r,s),e.lineTo(r+o,s),e.stroke(),e.restore(),this.clearFillInfo()}}(function(e){e["SOLID"]="solid",e["DOUBLE"]="double",e["DASHED"]="dashed",e["DOTTED"]="dotted",e["WAVY"]="wavy"})(Ar||(Ar={})),function(e){e["SOLID"]="solid",e["DASHED"]="dashed",e["DOTTED"]="dotted"}(gr||(gr={}));class Pr extends Or{constructor(e){super(),h(this,"options"),this.options=e.getOptions()}_drawLine(e,t,n,r,i){const o=t+r;switch(e.beginPath(),i){case gr.DASHED:e.setLineDash([3,1]);break;case gr.DOTTED:e.setLineDash([1,1]);break}e.moveTo(t,n),e.lineTo(o,n),e.stroke()}_drawDouble(e,t,n,r){const i=3,o=t+r,s=n+i*this.options.scale;e.beginPath(),e.moveTo(t,n),e.lineTo(o,n),e.stroke(),e.beginPath(),e.moveTo(t,s),e.lineTo(o,s),e.stroke()}_drawWave(e,t,n,r){const{scale:i}=this.options,o=1.2*i,s=1/i,a=n+2*o;e.beginPath();for(let l=0;l<r;l++){const n=o*Math.sin(s*l);e.lineTo(t+l,a+n)}e.stroke()}render(e){if(!this.fillRect.width)return;const{underlineColor:t,scale:n}=this.options,{x:r,y:i,width:o}=this.fillRect;e.save(),e.strokeStyle=this.fillColor||t,e.lineWidth=n;const s=Math.floor(i+2*e.lineWidth)+.5;switch(this.fillDecorationStyle){case Ar.WAVY:this._drawWave(e,r,s,o);break;case Ar.DOUBLE:this._drawDouble(e,r,s,o);break;case Ar.DASHED:this._drawLine(e,r,s,o,gr.DASHED);break;case Ar.DOTTED:this._drawLine(e,r,s,o,gr.DOTTED);break;default:this._drawLine(e,r,s,o);break}e.restore(),this.clearFillInfo()}}class Dr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"ctx"),h(this,"curX"),h(this,"curY"),h(this,"text"),h(this,"curStyle"),h(this,"curColor"),h(this,"cacheMeasureText"),this.draw=e,this.options=e.getOptions(),this.ctx=e.getCtx(),this.curX=-1,this.curY=-1,this.text="",this.curStyle="",this.cacheMeasureText=new Map}measureBasisWord(e,t){e.save(),e.font=t;const n=this.measureText(e,{value:E});return e.restore(),n}measureWord(e,t,n){const r=this.draw.getLetterReg();let i=0,o=t[n],s=n;while(s<t.length){const n=t[s];if(n.type&&n.type!==he.TEXT||!r.test(n.value)){o=n;break}i+=this.measureText(e,n).width,s++}return{width:i,endElement:o}}measurePunctuationWidth(e,t){return t&&R.includes(t.value)?this.measureText(e,t).width:0}measureText(e,t){if(t.width){const n=e.measureText(t.value);return{width:t.width,actualBoundingBoxAscent:n.actualBoundingBoxAscent,actualBoundingBoxDescent:n.actualBoundingBoxDescent,actualBoundingBoxLeft:n.actualBoundingBoxLeft,actualBoundingBoxRight:n.actualBoundingBoxRight,fontBoundingBoxAscent:n.fontBoundingBoxAscent,fontBoundingBoxDescent:n.fontBoundingBoxDescent}}const n=`${t.value}${e.font}`,r=this.cacheMeasureText.get(n);if(r)return r;const i=e.measureText(t.value);return this.cacheMeasureText.set(n,i),i}complete(){this._render(),this.text=""}record(e,t,n,r){if(this.ctx=e,this.options.renderMode===Yt.COMPATIBILITY)return this._setCurXY(n,r),this.text=t.value,this.curStyle=t.style,this.curColor=t.color,void this.complete();this.text||this._setCurXY(n,r),(this.curStyle&&t.style!==this.curStyle||t.color!==this.curColor)&&(this.complete(),this._setCurXY(n,r)),this.text+=t.value,this.curStyle=t.style,this.curColor=t.color}_setCurXY(e,t){this.curX=e,this.curY=t}_render(){this.text&&~this.curX&&~this.curX&&(this.ctx.save(),this.ctx.font=this.curStyle,this.ctx.fillStyle=this.curColor||this.options.defaultColor,this.ctx.fillText(this.text,this.curX,this.curY),this.ctx.restore())}}class Fr{constructor(e){h(this,"draw"),h(this,"options"),this.draw=e,this.options=e.getOptions()}render(e,t){const{scale:n,pageNumber:{size:r,font:i,color:o,rowFlex:s,numberType:a,format:l,startPageNo:c,fromPageNo:u}}=this.options;if(t<u)return;let d=l;const h=new RegExp(Et.PAGE_NO);if(h.test(d)){const e=t+c-u,n=a===m.CHINESE?Z(e):""+e;d=d.replace(h,n)}const p=new RegExp(Et.PAGE_COUNT);if(p.test(d)){const e=this.draw.getPageCount()-u,t=a===m.CHINESE?Z(e):""+e;d=d.replace(p,t)}const f=this.draw.getWidth(),A=this.draw.getHeight(),g=this.draw.getPageNumberBottom(),_=A-g;e.save(),e.fillStyle=o,e.font=`${r*n}px ${i}`;let b=0;const v=this.draw.getMargins(),{width:w}=e.measureText(d);b=s===T.CENTER?(f-w)/2:s===T.RIGHT?f-w-v[1]:v[3],e.fillText(d,b,_),e.restore()}}class kr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"scrollContainer"),h(this,"_observer",P(()=>{const{intersectionPageNo:e,visiblePageNoList:t}=this.getPageVisibleInfo();this.draw.setIntersectionPageNo(e),this.draw.setVisiblePageNoList(t)},150)),this.draw=e,this.options=e.getOptions(),this.scrollContainer=this.getScrollContainer(),setTimeout(()=>{window.scrollY||this._observer()}),this._addEvent()}getScrollContainer(){return this.options.scrollContainerSelector&&document.querySelector(this.options.scrollContainerSelector)||document}_addEvent(){this.scrollContainer.addEventListener("scroll",this._observer)}removeEvent(){this.scrollContainer.removeEventListener("scroll",this._observer)}getElementVisibleInfo(e){const t=e.getBoundingClientRect(),n=this.scrollContainer===document?Math.max(document.documentElement.clientHeight,window.innerHeight):this.scrollContainer.clientHeight,r=Math.min(t.bottom,n)-Math.max(t.top,0);return{intersectionHeight:r>0?r:0}}getPageVisibleInfo(){const e=this.draw.getPageList(),t=[];let n=0,r=0;for(let i=0;i<e.length;i++){const o=e[i],{intersectionHeight:s}=this.getElementVisibleInfo(o);if(r&&!s)break;s&&t.push(i),s>r&&(r=s,n=i)}return{intersectionPageNo:n,visiblePageNoList:t}}}class Br{constructor(e){h(this,"step",5),h(this,"thresholdPoints",[70,40,10,20]),h(this,"selectionContainer"),h(this,"rangeManager"),h(this,"requestAnimationFrameId"),h(this,"isMousedown"),h(this,"isMoving"),h(this,"clientWidth"),h(this,"clientHeight"),h(this,"containerRect"),h(this,"_mousedown",()=>{if(this.isMousedown=!0,this.clientWidth=this.selectionContainer instanceof Document?document.documentElement.clientWidth:this.selectionContainer.clientWidth,this.clientHeight=this.selectionContainer instanceof Document?document.documentElement.clientHeight:this.selectionContainer.clientHeight,!(this.selectionContainer instanceof Document)){const e=this.selectionContainer.getBoundingClientRect();this.containerRect=e}}),h(this,"_mouseup",()=>{this.isMousedown=!1,this._stopMove()}),h(this,"_mousemove",e=>{if(!this.isMousedown||this.rangeManager.getIsCollapsed())return;let{x:t,y:n}=e;this.containerRect&&(t-=this.containerRect.x,n-=this.containerRect.y),n<this.thresholdPoints[0]?this._startMove(de.UP):this.clientHeight-n<=this.thresholdPoints[1]?this._startMove(de.DOWN):t<this.thresholdPoints[2]?this._startMove(de.LEFT):this.clientWidth-t<this.thresholdPoints[3]?this._startMove(de.RIGHT):this._stopMove()}),this.rangeManager=e.getRange();const{scrollContainerSelector:t}=e.getOptions();this.selectionContainer=t&&document.querySelector(t)||document,this.requestAnimationFrameId=null,this.isMousedown=!1,this.isMoving=!1,this.clientWidth=0,this.clientHeight=0,this.containerRect=null,this._addEvent()}_addEvent(){const e=this.selectionContainer;e.addEventListener("mousedown",this._mousedown),e.addEventListener("mousemove",this._mousemove),e.addEventListener("mouseup",this._mouseup),document.addEventListener("mouseleave",this._mouseup)}removeEvent(){const e=this.selectionContainer;e.removeEventListener("mousedown",this._mousedown),e.removeEventListener("mousemove",this._mousemove),e.removeEventListener("mouseup",this._mouseup),document.removeEventListener("mouseleave",this._mouseup)}_move(e){const t=this.selectionContainer instanceof Document?window:this.selectionContainer,n=this.selectionContainer instanceof Document?window.scrollX:t.scrollLeft,r=this.selectionContainer instanceof Document?window.scrollY:t.scrollTop;e===de.DOWN?t.scrollTo(n,r+this.step):e===de.UP?t.scrollTo(n,r-this.step):e===de.LEFT?t.scrollTo(n-this.step,r):t.scrollTo(n+this.step,r),this.requestAnimationFrameId=window.requestAnimationFrame(this._move.bind(this,e))}_startMove(e){this.isMoving||(this.isMoving=!0,this._move(e))}_stopMove(){this.requestAnimationFrameId&&(window.cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null,this.isMoving=!1)}}(function(e){e["ALL"]="all",e["EMPTY"]="empty",e["EXTERNAL"]="external",e["INTERNAL"]="internal",e["DASH"]="dash"})(_r||(_r={})),function(e){e["TOP"]="top",e["RIGHT"]="right",e["BOTTOM"]="bottom",e["LEFT"]="left"}(br||(br={})),function(e){e["FORWARD"]="forward",e["BACK"]="back"}(vr||(vr={}));class Ur{constructor(e){h(this,"draw"),h(this,"range"),h(this,"options"),this.draw=e,this.range=e.getRange(),this.options=e.getOptions()}getTrListGroupByCol(e){var t;const n=k(e);for(let r=0;r<e.length;r++){const e=n[r];for(let r=e.tdList.length-1;r>=0;r--){const i=e.tdList[r],{rowspan:o,rowIndex:s,colIndex:a}=i,l=s+o-1;if(l!==r){const i=e.tdList.splice(r,1)[0];null==(t=n[l])||t.tdList.splice(a,0,i)}}}return n}getRangeRowCol(){const{isTable:e,index:t,trIndex:n,tdIndex:r}=this.draw.getPosition().getPositionContext();if(!e)return null;const{isCrossRowCol:i,startTdIndex:o,endTdIndex:s,startTrIndex:a,endTrIndex:l}=this.range.getRange(),c=this.draw.getOriginalElementList(),u=c[t],d=u.trList;if(!i)return[[d[n].tdList[r]]];let h=d[a].tdList[o],p=d[l].tdList[s];(h.x>p.x||h.y>p.y)&&([h,p]=[p,h]);const f=h.colIndex,m=p.colIndex+(p.colspan-1),A=h.rowIndex,g=p.rowIndex+(p.rowspan-1),_=[];for(let b=0;b<d.length;b++){const e=d[b],t=[];for(let n=0;n<e.tdList.length;n++){const r=e.tdList[n],i=r.colIndex,o=r.rowIndex;i>=f&&i<=m&&o>=A&&o<=g&&t.push(r)}t.length&&_.push(t)}return _.length?_:null}_drawOuterBorder(e){const{ctx:t,startX:n,startY:r,width:i,height:o,isDrawFullBorder:s}=e;t.beginPath();const a=Math.round(n),l=Math.round(r);t.translate(.5,.5),s?t.rect(a,l,i,o):(t.moveTo(a,l+o),t.lineTo(a,l),t.lineTo(a+i,l)),t.stroke(),t.translate(-.5,-.5)}_drawSlash(e,t,n,r){var i,o;const{scale:s}=this.options;e.save();const a=t.width*s,l=t.height*s,c=Math.round(t.x*s+n),u=Math.round(t.y*s+r);(null==(i=t.slashTypes)?void 0:i.includes(vr.FORWARD))&&(e.moveTo(c+a,u),e.lineTo(c,u+l)),(null==(o=t.slashTypes)?void 0:o.includes(vr.BACK))&&(e.moveTo(c,u),e.lineTo(c+a,u+l)),e.stroke(),e.restore()}_drawBorder(e,t,n,r){var i,o,s,a,l,c;const{colgroup:u,trList:d,borderType:h,borderColor:p}=t;if(!u||!d)return;const{scale:f,table:{defaultBorderColor:m}}=this.options,A=t.width*f,g=t.height*f,_=h===_r.EMPTY,b=h===_r.EXTERNAL,v=h===_r.INTERNAL;e.save(),h===_r.DASH&&e.setLineDash([3,3]),e.lineWidth=f,e.strokeStyle=p||m,_||v||this._drawOuterBorder({ctx:e,startX:n,startY:r,width:A,height:g,isDrawFullBorder:b});for(let w=0;w<d.length;w++){const t=d[w];for(let h=0;h<t.tdList.length;h++){const p=t.tdList[h];if((null==(i=p.slashTypes)?void 0:i.length)&&this._drawSlash(e,p,n,r),!(null==(o=p.borderTypes)?void 0:o.length)&&(_||b))continue;const m=p.width*f,A=p.height*f,g=Math.round(p.x*f+n+m),w=Math.round(p.y*f+r);e.translate(.5,.5),e.beginPath(),(null==(s=p.borderTypes)?void 0:s.includes(br.TOP))&&(e.moveTo(g-m,w),e.lineTo(g,w),e.stroke()),(null==(a=p.borderTypes)?void 0:a.includes(br.RIGHT))&&(e.moveTo(g,w),e.lineTo(g,w+A),e.stroke()),(null==(l=p.borderTypes)?void 0:l.includes(br.BOTTOM))&&(e.moveTo(g,w+A),e.lineTo(g-m,w+A),e.stroke()),(null==(c=p.borderTypes)?void 0:c.includes(br.LEFT))&&(e.moveTo(g-m,w),e.lineTo(g-m,w+A),e.stroke()),_||b||((!v||p.colIndex+p.colspan<u.length)&&(e.moveTo(g,w),e.lineTo(g,w+A)),(!v||p.rowIndex+p.rowspan<d.length)&&(e.moveTo(g,w+A),e.lineTo(g-m,w+A)),e.stroke()),e.translate(-.5,-.5)}}e.restore()}_drawBackgroundColor(e,t,n,r){const{trList:i}=t;if(!i)return;const{scale:o}=this.options;for(let s=0;s<i.length;s++){const t=i[s];for(let i=0;i<t.tdList.length;i++){const s=t.tdList[i];if(!s.backgroundColor)continue;e.save();const a=s.width*o,l=s.height*o,c=Math.round(s.x*o+n),u=Math.round(s.y*o+r);e.fillStyle=s.backgroundColor,e.fillRect(c,u,a,l),e.restore()}}}getTableWidth(e){return e.colgroup.reduce((e,t)=>e+t.width,0)}getTableHeight(e){const t=e.trList;return(null==t?void 0:t.length)?this.getTdListByColIndex(t,0).reduce((e,t)=>e+t.height,0):0}getRowCountByColIndex(e,t){return this.getTdListByColIndex(e,t).reduce((e,t)=>e+t.rowspan,0)}getTdListByColIndex(e,t){const n=[];for(let r=0;r<e.length;r++){const i=e[r].tdList;for(let e=0;e<i.length;e++){const r=i[e],o=r.colIndex,s=o+r.colspan-1;t>=o&&t<=s&&n.push(r)}}return n}getTdListByRowIndex(e,t){const n=[];for(let r=0;r<e.length;r++){const i=e[r].tdList;for(let e=0;e<i.length;e++){const r=i[e],o=r.rowIndex,s=o+r.rowspan-1;t>=o&&t<=s&&n.push(r)}}return n}computeRowColInfo(e){const{colgroup:t,trList:n}=e;if(!t||!n)return;let r=0;for(let i=0;i<n.length;i++){const e=n[i],o=n.length-1===i;for(let s=0;s<e.tdList.length;s++){const a=e.tdList[s];let l=0;if(n.length>1&&0!==i){const o=e.tdList[s-1],a=o?o.colIndex+o.colspan:s;for(let e=a;e<t.length;e++){const o=this.getRowCountByColIndex(n.slice(0,i),e);if(o===i){l=e;let n=0;for(let r=0;r<e;r++)n+=t[r].width;r=n;break}}}else{const t=e.tdList[s-1];t&&(l=t.colIndex+t.colspan)}let c=0;for(let e=0;e<a.colspan;e++)c+=t[e+l].width;let u=0;for(let e=0;e<a.rowspan;e++){const t=n[e+i]||n[i];u+=t.height}const d=e.tdList.length-1===s;let h=o;if(!h&&a.rowspan>1){const e=n.length-1-i;h=a.rowspan-1===e}const p=o&&d;a.isLastRowTd=d,a.isLastColTd=h,a.isLastTd=p,a.x=r;let f=0;for(let e=0;e<i;e++){const t=n[e].tdList;for(let e=0;e<t.length;e++){const n=t[e];if(l>=n.colIndex&&l<n.colIndex+n.colspan){f+=n.height;break}}}a.y=f,a.width=c,a.height=u,a.rowIndex=i,a.colIndex=l,a.trIndex=i,a.tdIndex=s,r+=c,d&&!p&&(r=0)}}}drawRange(e,t,n,r){const{scale:i,rangeAlpha:o,rangeColor:s}=this.options,{type:a,trList:l}=t;if(!l||a!==he.TABLE)return;const{isCrossRowCol:c,startTdIndex:u,endTdIndex:d,startTrIndex:h,endTrIndex:p}=this.range.getRange();if(!c)return;let f=l[h].tdList[u],m=l[p].tdList[d];(f.x>m.x||f.y>m.y)&&([f,m]=[m,f]);const A=f.colIndex,g=m.colIndex+(m.colspan-1),_=f.rowIndex,b=m.rowIndex+(m.rowspan-1);e.save();for(let v=0;v<l.length;v++){const t=l[v];for(let a=0;a<t.tdList.length;a++){const l=t.tdList[a],c=l.colIndex,u=l.rowIndex;if(c>=A&&c<=g&&u>=_&&u<=b){const t=l.x*i,a=l.y*i,c=l.width*i,u=l.height*i;e.globalAlpha=o,e.fillStyle=s,e.fillRect(t+n,a+r,c,u)}}}e.restore()}render(e,t,n,r){this._drawBackgroundColor(e,t,n,r),this._drawBorder(e,t,n,r)}}(function(e){e["ROW"]="row",e["COL"]="col"})(wr||(wr={}));class Hr{constructor(e){h(this,"MIN_TD_WIDTH",20),h(this,"ROW_COL_OFFSET",18),h(this,"ROW_COL_QUICK_WIDTH",16),h(this,"ROW_COL_QUICK_OFFSET",5),h(this,"ROW_COL_QUICK_POSITION",this.ROW_COL_OFFSET+(this.ROW_COL_OFFSET-this.ROW_COL_QUICK_WIDTH)/2),h(this,"BORDER_VALUE",4),h(this,"TABLE_SELECT_OFFSET",20),h(this,"draw"),h(this,"canvas"),h(this,"options"),h(this,"position"),h(this,"range"),h(this,"container"),h(this,"toolRowContainer"),h(this,"toolRowAddBtn"),h(this,"toolColAddBtn"),h(this,"toolTableSelectBtn"),h(this,"toolColContainer"),h(this,"toolBorderContainer"),h(this,"anchorLine"),h(this,"mousedownX"),h(this,"mousedownY"),this.draw=e,this.canvas=e.getPage(),this.options=e.getOptions(),this.position=e.getPosition(),this.range=e.getRange(),this.container=e.getContainer(),this.toolRowContainer=null,this.toolRowAddBtn=null,this.toolColAddBtn=null,this.toolTableSelectBtn=null,this.toolColContainer=null,this.toolBorderContainer=null,this.anchorLine=null,this.mousedownX=0,this.mousedownY=0}dispose(){var e,t,n,r,i,o;null==(e=this.toolRowContainer)||e.remove(),null==(t=this.toolRowAddBtn)||t.remove(),null==(n=this.toolColAddBtn)||n.remove(),null==(r=this.toolTableSelectBtn)||r.remove(),null==(i=this.toolColContainer)||i.remove(),null==(o=this.toolBorderContainer)||o.remove(),this.toolRowContainer=null,this.toolRowAddBtn=null,this.toolColAddBtn=null,this.toolTableSelectBtn=null,this.toolColContainer=null,this.toolBorderContainer=null}render(){const{isTable:e,index:t,trIndex:n,tdIndex:r}=this.position.getPositionContext();if(!e)return;this.dispose();const{scale:i}=this.options,o=this.draw.getOriginalElementList(),s=this.position.getOriginalPositionList(),a=o[t],l=s[t],{colgroup:c,trList:u}=a,{coordinate:{leftTop:d}}=l,h=this.draw.getHeight(),p=this.draw.getPageGap(),f=this.draw.getPageNo()*(h+p),m=d[0],A=d[1]+f,g=a.trList[n].tdList[r],_=g.rowIndex,b=g.colIndex,v=a.height*i,w=a.width*i,y=document.createElement("div");y.classList.add(ce+"-table-tool__select"),y.style.height=""+v*i,y.style.left=m+"px",y.style.top=A+"px",y.style.transform=`translate(-${this.TABLE_SELECT_OFFSET*i}px, ${-this.TABLE_SELECT_OFFSET*i}px)`,y.onclick=()=>{this.draw.getTableOperate().tableSelectAll()},this.container.append(y),this.toolTableSelectBtn=y;const R=u.map(e=>e.height),M=document.createElement("div");M.classList.add(ce+"-table-tool__row"),M.style.transform=`translateX(-${this.ROW_COL_OFFSET*i}px)`;for(let x=0;x<R.length;x++){const e=R[x]*i,n=document.createElement("div");n.classList.add(ce+"-table-tool__row__item"),x===_&&n.classList.add("active"),n.onclick=()=>{const e=this.draw.getTableParticle().getTdListByRowIndex(u,x),n=e[0],r=e[e.length-1];this.position.setPositionContext({index:t,isTable:!0,trIndex:n.trIndex,tdIndex:n.tdIndex,tableId:a.id}),this.range.setRange(0,0,a.id,n.tdIndex,r.tdIndex,n.trIndex,r.trIndex),this.draw.render({curIndex:0,isCompute:!1,isSubmitHistory:!1}),this._setAnchorActive(M,x)};const r=document.createElement("div");r.classList.add(ce+"-table-tool__anchor"),r.onmousedown=e=>{this._mousedown({evt:e,element:a,index:x,order:wr.ROW})},n.append(r),n.style.height=e+"px",M.append(n)}M.style.left=m+"px",M.style.top=A+"px",this.container.append(M),this.toolRowContainer=M;const S=document.createElement("div");S.classList.add(ce+"-table-tool__quick__add"),S.style.height=""+v*i,S.style.left=m+"px",S.style.top=A+v+"px",S.style.transform=`translate(-${this.ROW_COL_QUICK_POSITION*i}px, ${this.ROW_COL_QUICK_OFFSET*i}px)`,S.onclick=()=>{this.position.setPositionContext({index:t,isTable:!0,trIndex:u.length-1,tdIndex:0,tableId:a.id}),this.draw.getTableOperate().insertTableBottomRow()},this.container.append(S),this.toolRowAddBtn=S;const E=c.map(e=>e.width),T=document.createElement("div");T.classList.add(ce+"-table-tool__col"),T.style.transform=`translateY(-${this.ROW_COL_OFFSET*i}px)`;for(let x=0;x<E.length;x++){const e=E[x]*i,n=document.createElement("div");n.classList.add(ce+"-table-tool__col__item"),x===b&&n.classList.add("active"),n.onclick=()=>{const e=this.draw.getTableParticle().getTdListByColIndex(u,x),n=e[0],r=e[e.length-1];this.position.setPositionContext({index:t,isTable:!0,trIndex:n.trIndex,tdIndex:n.tdIndex,tableId:a.id}),this.range.setRange(0,0,a.id,n.tdIndex,r.tdIndex,n.trIndex,r.trIndex),this.draw.render({curIndex:0,isCompute:!1,isSubmitHistory:!1}),this._setAnchorActive(T,x)};const r=document.createElement("div");r.classList.add(ce+"-table-tool__anchor"),r.onmousedown=e=>{this._mousedown({evt:e,element:a,index:x,order:wr.COL})},n.append(r),n.style.width=e+"px",T.append(n)}T.style.left=m+"px",T.style.top=A+"px",this.container.append(T),this.toolColContainer=T;const C=document.createElement("div");C.classList.add(ce+"-table-tool__quick__add"),C.style.height=""+v*i,C.style.left=m+w+"px",C.style.top=A+"px",C.style.transform=`translate(${this.ROW_COL_QUICK_OFFSET*i}px, -${this.ROW_COL_QUICK_POSITION*i}px)`,C.onclick=()=>{this.position.setPositionContext({index:t,isTable:!0,trIndex:0,tdIndex:u[0].tdList.length-1||0,tableId:a.id}),this.draw.getTableOperate().insertTableRightCol()},this.container.append(C),this.toolColAddBtn=C;const O=document.createElement("div");O.classList.add(ce+"-table-tool__border"),O.style.height=v+"px",O.style.width=w+"px",O.style.left=m+"px",O.style.top=A+"px";for(let x=0;x<u.length;x++){const e=u[x];for(let t=0;t<e.tdList.length;t++){const n=e.tdList[t],r=document.createElement("div");r.classList.add(ce+"-table-tool__border__row"),r.style.width=n.width*i+"px",r.style.height=this.BORDER_VALUE+"px",r.style.top=(n.y+n.height)*i-this.BORDER_VALUE/2+"px",r.style.left=n.x*i+"px",r.onmousedown=e=>{this._mousedown({evt:e,element:a,index:n.rowIndex+n.rowspan-1,order:wr.ROW})},O.appendChild(r);const o=document.createElement("div");o.classList.add(ce+"-table-tool__border__col"),o.style.width=this.BORDER_VALUE+"px",o.style.height=n.height*i+"px",o.style.top=n.y*i+"px",o.style.left=(n.x+n.width)*i-this.BORDER_VALUE/2+"px",o.onmousedown=e=>{this._mousedown({evt:e,element:a,index:n.colIndex+n.colspan-1,order:wr.COL})},O.appendChild(o)}}this.container.append(O),this.toolBorderContainer=O}_setAnchorActive(e,t){const n=e.children;for(let r=0;r<n.length;r++){const e=n[r];r===t?e.classList.add("active"):e.classList.remove("active")}}_mousedown(e){const{evt:t,index:n,order:r,element:i}=e;this.canvas=this.draw.getPage();const{scale:o}=this.options,s=this.draw.getWidth(),a=this.draw.getHeight(),l=this.draw.getPageGap(),c=this.draw.getPageNo()*(a+l);this.mousedownX=t.x,this.mousedownY=t.y;const u=t.target,d=this.canvas.getBoundingClientRect(),h=window.getComputedStyle(u).cursor;document.body.style.cursor=h,this.canvas.style.cursor=h;let p=0,f=0;const m=document.createElement("div");m.classList.add(ce+"-table-anchor__line"),r===wr.ROW?(m.classList.add(ce+"-table-anchor__line__row"),m.style.width=s+"px",p=0,f=c+this.mousedownY-d.top):(m.classList.add(ce+"-table-anchor__line__col"),m.style.height=a+"px",p=this.mousedownX-d.left,f=c),m.style.left=p+"px",m.style.top=f+"px",this.container.append(m),this.anchorLine=m;let A=0,g=0;const _=e=>{const t=this._mousemove(e,r,p,f);t&&(A=t.dx,g=t.dy)};document.addEventListener("mousemove",_),document.addEventListener("mouseup",()=>{var e;let t=!1;if(r===wr.ROW){const e=i.trList,r=e[n]||e[n-1],{defaultTrMinHeight:o}=this.options.table;g<0&&r.height+g<o&&(g=o-r.height),g&&(r.height+=g,r.minHeight=r.height,t=!0)}else{const{colgroup:r}=i;if(r&&A){const s=this.draw.getInnerWidth(),a=r[n].width;A<0&&a+A<this.MIN_TD_WIDTH&&(A=this.MIN_TD_WIDTH-a);const l=null==(e=r[n+1])?void 0:e.width;A>0&&l&&l-A<this.MIN_TD_WIDTH&&(A=l-this.MIN_TD_WIDTH);const c=a+A;if(n===r.length-1){let e=0;for(let t=0;t<r.length;t++){const i=r[t];t===n+1&&(e-=A),t===n&&(e+=c),t!==n&&(e+=i.width)}if(e>s){const e=i.width;A=s-e}}A&&(r.length-1!==n&&(r[n+1].width-=A/o),r[n].width+=A/o,t=!0)}}t&&this.draw.render({isSetCursor:!1}),m.remove(),document.removeEventListener("mousemove",_),document.body.style.cursor="",this.canvas.style.cursor="text"},{once:!0}),t.preventDefault()}_mousemove(e,t,n,r){if(!this.anchorLine)return null;const i=e.x-this.mousedownX,o=e.y-this.mousedownY;return t===wr.ROW?this.anchorLine.style.top=r+o+"px":this.anchorLine.style.left=n+i+"px",e.preventDefault(),{dx:i,dy:o}}}class jr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"container"),h(this,"hyperlinkPopupContainer"),h(this,"hyperlinkDom"),this.draw=e,this.options=e.getOptions(),this.container=e.getContainer();const{hyperlinkPopupContainer:t,hyperlinkDom:n}=this._createHyperlinkPopupDom();this.hyperlinkDom=n,this.hyperlinkPopupContainer=t}_createHyperlinkPopupDom(){const e=document.createElement("div");e.classList.add(ce+"-hyperlink-popup");const t=document.createElement("a");return t.target="_blank",t.rel="noopener",e.append(t),this.container.append(e),{hyperlinkPopupContainer:e,hyperlinkDom:t}}drawHyperlinkPopup(e,t){const{coordinate:{leftTop:[n,r]},lineHeight:i}=t,o=this.draw.getHeight(),s=this.draw.getPageGap(),a=this.draw.getPageNo()*(o+s);this.hyperlinkPopupContainer.style.display="block",this.hyperlinkPopupContainer.style.left=n+"px",this.hyperlinkPopupContainer.style.top=r+a+i+"px";const l=e.url||"#";this.hyperlinkDom.href=l,this.hyperlinkDom.title=l,this.hyperlinkDom.innerText=l}clearHyperlinkPopup(){this.hyperlinkPopupContainer.style.display="none"}openHyperlink(e){const t=window.open(e.url,"_blank");t&&(t.opener=null)}render(e,t,n,r){e.save(),e.font=t.style,t.color||(t.color=this.options.defaultHyperlinkColor),e.fillStyle=t.color,void 0===t.underline&&(t.underline=!0),e.fillText(t.value,n,r),e.restore()}}class Vr{constructor(e,t){h(this,"draw"),h(this,"position"),h(this,"options"),h(this,"elementList"),h(this,"rowList"),h(this,"positionList"),this.draw=e,this.position=e.getPosition(),this.options=e.getOptions(),this.elementList=t||[],this.rowList=[],this.positionList=[]}getRowList(){return this.rowList}setElementList(e){this.elementList=e}getElementList(){return this.elementList}getPositionList(){return this.positionList}compute(){this.recovery(),this._computeRowList(),this._computePositionList()}recovery(){this.rowList=[],this.positionList=[]}_computeRowList(){const e=this.draw.getInnerWidth(),t=this.draw.getMargins(),n=mn(this.elementList);this.rowList=this.draw.computeRowList({startX:t[3],startY:this.getHeaderTop(),innerWidth:e,elementList:this.elementList,surroundElementList:n})}_computePositionList(){const e=this.getHeaderTop(),t=this.draw.getInnerWidth(),n=this.draw.getMargins(),r=n[3],i=e;this.position.computePageRowPosition({positionList:this.positionList,rowList:this.rowList,pageNo:0,startRowIndex:0,startIndex:0,startX:r,startY:i,innerWidth:t,zone:Ht.HEADER})}getHeaderTop(){const{header:{top:e,disabled:t},scale:n}=this.options;return t?0:Math.floor(e*n)}getMaxHeight(){const{header:{maxHeightRadio:e}}=this.options,t=this.draw.getHeight();return Math.floor(t*M[e])}getHeight(){const e=this.getMaxHeight(),t=this.getRowHeight();return t>e?e:t}getRowHeight(){return this.rowList.reduce((e,t)=>e+t.height,0)}getExtraHeight(){const e=this.draw.getMargins(),t=this.getHeight(),n=this.getHeaderTop(),r=n+t-e[0];return r<=0?0:r}render(e,t){e.globalAlpha=1;const n=this.draw.getInnerWidth(),r=this.getMaxHeight(),i=[];let o=0;for(let s=0;s<this.rowList.length;s++){const e=this.rowList[s];if(o+e.height>r)break;i.push(e),o+=e.height}this.draw.drawRow(e,{elementList:this.elementList,positionList:this.positionList,rowList:i,pageNo:t,startIndex:0,innerWidth:n,zone:Ht.HEADER})}}class Wr{getOffsetY(e){return-e.metrics.height/2}render(e,t,n,r){e.save(),e.font=t.style,t.color&&(e.fillStyle=t.color),e.fillText(t.value,n,r+this.getOffsetY(t)),e.restore()}}class Yr{getOffsetY(e){return e.metrics.height/2}render(e,t,n,r){e.save(),e.font=t.style,t.color&&(e.fillStyle=t.color),e.fillText(t.value,n,r+this.getOffsetY(t)),e.restore()}}class Qr{constructor(e){h(this,"options"),this.options=e.getOptions()}render(e,t,n,r){var i;e.save();const{scale:o,separator:{lineWidth:s,strokeStyle:a}}=this.options;e.lineWidth=s*o,e.strokeStyle=t.color||a,(null==(i=t.dashArray)?void 0:i.length)&&e.setLineDash(t.dashArray);const l=Math.round(r);e.translate(0,e.lineWidth/2),e.beginPath(),e.moveTo(n,l),e.lineTo(n+t.width*o,l),e.stroke(),e.restore()}}class Xr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"i18n"),this.draw=e,this.options=e.getOptions(),this.i18n=e.getI18n()}render(e,t,n,r){const{pageBreak:{font:i,fontSize:o,lineDash:s}}=this.options,a=this.i18n.t("pageBreak.displayName"),{scale:l,defaultRowMargin:c}=this.options,u=o*l,d=t.width*l,h=this.draw.getDefaultBasicRowMarginHeight()*c;e.save(),e.font=`${u}px ${i}`;const p=e.measureText(a),f=(d-p.width)/2;e.setLineDash(s),e.translate(0,.5+h),e.beginPath(),e.moveTo(n,r),e.lineTo(n+f,r),e.moveTo(n+f+p.width,r),e.lineTo(n+d,r),e.stroke(),e.fillText(a,n+f,r+p.actualBoundingBoxAscent-u/2),e.restore()}}class Kr{constructor(e){h(this,"draw"),h(this,"options"),this.draw=e,this.options=e.getOptions()}render(e){const{watermark:{data:t,opacity:n,font:r,size:i,color:o,repeat:s,gap:a},scale:l}=this.options,c=this.draw.getWidth(),u=this.draw.getHeight();e.save(),e.globalAlpha=n,e.font=`${i*l}px ${r}`;const d=e.measureText(t);if(s){const n=this.draw.getPagePixelRatio(),s=document.createElement("canvas"),h=s.getContext("2d"),p=d.width,f=d.actualBoundingBoxAscent+d.actualBoundingBoxDescent,m=Math.sqrt(Math.pow(p,2)+Math.pow(f,2)),A=m+2*a[0]*l,g=m+2*a[1]*l;s.width=A,s.height=g,s.style.width=A*n+"px",s.style.height=g*n+"px",h.translate(A/2,g/2),h.rotate(-45*Math.PI/180),h.translate(-A/2,-g/2),h.font=`${i*l}px ${r}`,h.fillStyle=o,h.fillText(t,(A-p)/2,(g-f)/2+d.actualBoundingBoxAscent);const _=e.createPattern(s,"repeat");_&&(e.fillStyle=_,e.fillRect(0,0,c,u))}else{const n=c/2,r=u/2;e.fillStyle=o,e.translate(n,r),e.rotate(-45*Math.PI/180),e.fillText(t,-d.width/2,d.actualBoundingBoxAscent-i/2)}e.restore()}}class Gr{constructor(e){h(this,"draw"),h(this,"options"),h(this,"highlightList"),h(this,"highlightMatchResult"),this.draw=e.getDraw(),this.options=this.draw.getOptions(),this.highlightList=[],this.highlightMatchResult=[]}getHighlightMatchResult(){return this.highlightMatchResult}getHighlightList(){return this.highlightList}setHighlightList(e){this.highlightList=e}computeHighlightList(){const e=this.draw.getSearch(),t=(n,r)=>{let i=0;while(i<n.length){const o=n[i];if(i++,o.type===he.TABLE){const e=o.trList;for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.tdList.length;e++){const s=r.tdList[e],a={tableId:o.id,tableIndex:i-1,trIndex:n,tdIndex:e,tdId:s.id};t(s.value,a)}}}const s=null==o?void 0:o.control;if(!s)continue;const a=this.highlightList.findIndex(e=>e.id===o.controlId||s.conceptId&&s.conceptId===e.conceptId);if(!~a)continue;const l=i;let c=i;while(c<n.length){const e=n[c];if(e.controlId!==o.controlId)break;c++}i=c;const h=n.slice(l,c).map(e=>e.controlComponent===ht.VALUE?e:{value:b}),p=this.highlightList[a],{ruleList:f}=p;for(let t=0;t<f.length;t++){const n=f[t],i=e.getMatchList(n.keyword,h);this.highlightMatchResult.push(...i.map(e=>d(u(u(u({},e),n),r),{index:e.index+l})))}}};this.highlightMatchResult=[],t(this.draw.getOriginalMainElementList())}renderHighlightList(e,t){var n,r,i;if(!(null==(n=this.highlightMatchResult)?void 0:n.length))return;const{searchMatchAlpha:o,searchMatchColor:s}=this.options,a=this.draw.getPosition().getOriginalPositionList(),l=this.draw.getOriginalElementList();e.save();for(let c=0;c<this.highlightMatchResult.length;c++){const n=this.highlightMatchResult[c];let u=null;if(n.tableId){const{tableIndex:e,trIndex:t,tdIndex:o,index:s}=n;u=null==(i=null==(r=l[e])?void 0:r.trList[t].tdList[o])?void 0:i.positionList[s]}else u=a[n.index];if(!u)continue;const{coordinate:{leftTop:d,leftBottom:h,rightTop:p},pageNo:f}=u;if(f!==t)continue;e.fillStyle=n.backgroundColor||s,e.globalAlpha=n.alpha||o;const m=d[0],A=d[1],g=p[0]-d[0],_=h[1]-d[1];e.fillRect(m,A,g,_)}e.restore()}}class Zr{constructor(e){h(this,"borderRect"),h(this,"options"),this.borderRect=this.clearBorderInfo(),this.options=e.getOptions()}clearBorderInfo(){return this.borderRect={x:0,y:0,width:0,height:0},this.borderRect}recordBorderInfo(e,t,n,r){const i=!this.borderRect.width;i&&(this.borderRect.x=e,this.borderRect.y=t,this.borderRect.height=r),this.borderRect.width+=n}render(e){if(!this.borderRect.width)return;const{scale:t,control:{borderWidth:n,borderColor:r}}=this.options,{x:i,y:o,width:s,height:a}=this.borderRect;e.save(),e.translate(0,1*t),e.lineWidth=n*t,e.strokeStyle=r,e.beginPath(),e.rect(i,o,s,a),e.stroke(),e.restore(),this.clearBorderInfo()}}class zr{constructor(e,t){h(this,"element"),h(this,"control"),h(this,"isPopup"),h(this,"selectDom"),h(this,"options"),h(this,"VALUE_DELIMITER",","),h(this,"DEFAULT_MULTI_SELECT_DELIMITER",",");const n=t.getDraw();this.options=n.getOptions(),this.element=e,this.control=t,this.isPopup=!1,this.selectDom=null}setElement(e){this.element=e}getElement(){return this.element}getIsPopup(){return this.isPopup}getCodes(){var e,t;return(null==(t=null==(e=this.element)?void 0:e.control)?void 0:t.code)?this.element.control.code.split(","):[]}getText(e){var t,n;if(!(null==(t=this.element)?void 0:t.control))return null;const r=this.element.control;if(!(null==(n=r.valueSets)?void 0:n.length))return null;const i=(null==r?void 0:r.multiSelectDelimiter)||this.DEFAULT_MULTI_SELECT_DELIMITER,o=r.valueSets,s=[];return e.forEach(e=>{const t=o.find(t=>t.code===e);t&&!ie(t.value)&&s.push(t.value)}),s.join(i)||null}getValue(e={}){const t=e.elementList||this.control.getElementList(),{startIndex:n}=e.range||this.control.getRange(),r=t[n],i=[];let o=n;while(o>0){const e=t[o];if(e.controlId!==r.controlId||e.controlComponent===ht.PREFIX||e.controlComponent===ht.PRE_TEXT)break;e.controlComponent===ht.VALUE&&i.unshift(e),o--}let s=n+1;while(s<t.length){const e=t[s];if(e.controlId!==r.controlId||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT)break;e.controlComponent===ht.VALUE&&i.push(e),s++}return i}setValue(e,t={},n={}){var r,i;if(!(null==(i=null==(r=this.element.control)?void 0:r.selectExclusiveOptions)?void 0:i.inputAble)||!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return-1;const o=t.elementList||this.control.getElementList(),s=t.range||this.control.getRange();this.control.shrinkBoundary(t);const{startIndex:a,endIndex:l}=s,c=this.control.getDraw();a!==l?c.spliceElementList(o,a+1,l-a):this.control.removePlaceholder(a,t);const h=o[a],p=h.type&&!Se.includes(h.type)||h.controlComponent===ht.PREFIX||h.controlComponent===ht.PRE_TEXT?q(h,["control","controlId",...ye]):J(h,["type"]),f=s.startIndex+1;for(let m=0;m<e.length;m++){const t=d(u(u({},p),e[m]),{controlComponent:ht.VALUE});rn(o,[t],a,{editorOptions:this.options}),c.spliceElementList(o,f+m,0,t)}return f+e.length-1}keydown(e){if(this.control.getIsDisabledControl())return null;const t=this.control.getElementList(),n=this.control.getRange();this.control.shrinkBoundary();const{startIndex:r,endIndex:i}=n,o=t[r],s=t[i];if(e.key===Pn.Backspace)return r!==i?this.clearSelect():o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT||s.controlComponent===ht.POSTFIX||s.controlComponent===ht.POST_TEXT||o.controlComponent===ht.PLACEHOLDER?this.control.removeControl(r):this.clearSelect();if(e.key===Pn.Delete){if(r!==i)return this.clearSelect();{const e=t[i+1];return(o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT)&&e.controlComponent===ht.PLACEHOLDER||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT||o.controlComponent===ht.PLACEHOLDER?this.control.removeControl(r):this.clearSelect()}}return i}cut(){if(this.control.getIsDisabledControl())return-1;this.control.shrinkBoundary();const{startIndex:e,endIndex:t}=this.control.getRange();return e===t?e:this.clearSelect()}clearSelect(e={},t={}){const{isIgnoreDisabledRule:n=!1,isAddPlaceholder:r=!0}=t;if(!n&&this.control.getIsDisabledControl(e))return-1;const i=e.elementList||this.control.getElementList(),{startIndex:o}=e.range||this.control.getRange(),s=i[o];let a=-1,l=-1,c=o;while(c>0){const e=i[c];if(e.controlId!==s.controlId||e.controlComponent===ht.PREFIX||e.controlComponent===ht.PRE_TEXT){a=c;break}c--}let u=o+1;while(u<i.length){const e=i[u];if(e.controlId!==s.controlId||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT){l=u-1;break}u++}if(!~a||!~l)return-1;const d=this.control.getDraw();return d.spliceElementList(i,a+1,l-a),r&&this.control.addPlaceholder(c,e),this.control.setControlProperties({code:null},{elementList:i,range:{startIndex:c,endIndex:c}}),c}setSelect(e,t={},n={}){var r;if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return;const i=t.elementList||this.control.getElementList(),o=t.range||this.control.getRange(),s=this.element.control,a=(null==e?void 0:e.split(this.VALUE_DELIMITER))||[],l=s.code,c=(null==(r=s.code)?void 0:r.split(this.VALUE_DELIMITER))||[],h=s.isMultiSelect;if(!h&&e===l||h&&te(c,a))return this.control.repaintControl({curIndex:o.startIndex,isCompute:!1,isSubmitHistory:!1}),void this.destroy();const p=s.valueSets;if(!Array.isArray(p)||!p.length)return;const f=this.getText(a);if(!f){if(l){const e=this.clearSelect(t);~e&&this.control.repaintControl({curIndex:e})}return}const m=this.getValue(t)[0],A=m?q(m,pe):q(i[o.startIndex],ye),g=this.clearSelect(t,{isAddPlaceholder:!1});if(!~g)return;l||this.control.removePlaceholder(g,t);const _=J(i[g],pe),b=g+1,v=j(f),w=this.control.getDraw();for(let y=0;y<v.length;y++){const e=d(u(u({},A),_),{type:he.TEXT,value:v[y],controlComponent:ht.VALUE});rn(i,[e],g,{editorOptions:this.options}),w.spliceElementList(i,b+y,0,e)}if(this.control.setControlProperties({code:e},{elementList:i,range:{startIndex:g,endIndex:g}}),!t.range){const e=b+v.length-1;this.control.repaintControl({curIndex:e}),h||this.destroy()}}_createSelectPopupDom(){const e=this.element.control,t=e.valueSets;if(!Array.isArray(t)||!t.length)return;const n=this.control.getPosition();if(!n)return;const r=document.createElement("div");r.classList.add(ce+"-select-control-popup"),r.setAttribute(le,kt.POPUP);const i=document.createElement("ul");for(let u=0;u<t.length;u++){const n=t[u],r=document.createElement("li");let o=this.getCodes();o.includes(n.code)&&r.classList.add("active"),r.onclick=()=>{const t=o.findIndex(e=>e===n.code);e.isMultiSelect?~t?o.splice(t,1):o.push(n.code):o=~t?[]:[n.code],this.setSelect(o.join(this.VALUE_DELIMITER))},r.append(document.createTextNode(n.value)),i.append(r)}r.append(i);const{coordinate:{leftTop:[o,s]},lineHeight:a}=n,l=this.control.getPreY();r.style.left=o+"px",r.style.top=s+l+a+"px";const c=this.control.getContainer();c.append(r),this.selectDom=r}awake(){var e;if(this.isPopup||this.control.getIsDisabledControl())return;const{startIndex:t}=this.control.getRange(),n=this.control.getElementList();(null==(e=n[t+1])?void 0:e.controlId)===this.element.controlId&&(this._createSelectPopupDom(),this.isPopup=!0)}destroy(){var e;this.isPopup&&(null==(e=this.selectDom)||e.remove(),this.isPopup=!1)}}class qr{constructor(e,t){h(this,"element"),h(this,"control"),h(this,"options");const n=t.getDraw();this.options=n.getOptions(),this.element=e,this.control=t}setElement(e){this.element=e}getElement(){return this.element}getValue(e={}){const t=e.elementList||this.control.getElementList(),{startIndex:n}=e.range||this.control.getRange(),r=t[n],i=[];let o=n;while(o>0){const e=t[o];if(e.controlId!==r.controlId||e.controlComponent===ht.PREFIX||e.controlComponent===ht.PRE_TEXT)break;e.controlComponent===ht.VALUE&&i.unshift(e),o--}let s=n+1;while(s<t.length){const e=t[s];if(e.controlId!==r.controlId||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT)break;e.controlComponent===ht.VALUE&&i.push(e),s++}return i}setValue(e,t={},n={}){if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return-1;const r=t.elementList||this.control.getElementList(),i=t.range||this.control.getRange();this.control.shrinkBoundary(t);const{startIndex:o,endIndex:s}=i,a=this.control.getDraw();o!==s?a.spliceElementList(r,o+1,s-o):this.control.removePlaceholder(o,t);const l=r[o],c=l.type&&!Se.includes(l.type)||l.controlComponent===ht.PREFIX||l.controlComponent===ht.PRE_TEXT?q(l,["control","controlId",...ye]):J(l,["type"]),h=i.startIndex+1;for(let p=0;p<e.length;p++){const t=d(u(u({},c),e[p]),{controlComponent:ht.VALUE});rn(r,[t],o,{editorOptions:this.options}),a.spliceElementList(r,h+p,0,t)}return h+e.length-1}clearValue(e={},t={}){if(!t.isIgnoreDisabledRule&&this.control.getIsDisabledControl(e))return-1;const n=e.elementList||this.control.getElementList(),r=e.range||this.control.getRange(),{startIndex:i,endIndex:o}=r;this.control.getDraw().spliceElementList(n,i+1,o-i);const s=this.getValue(e);return s.length||this.control.addPlaceholder(i,e),i}keydown(e){if(this.control.getIsDisabledControl())return null;const t=this.control.getElementList(),n=this.control.getRange();this.control.shrinkBoundary();const{startIndex:r,endIndex:i}=n,o=t[r],s=t[i],a=this.control.getDraw();if(e.key===Pn.Backspace){if(r!==i){a.spliceElementList(t,r+1,i-r);const e=this.getValue();return e.length||this.control.addPlaceholder(r),r}if(o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT||s.controlComponent===ht.POSTFIX||s.controlComponent===ht.POST_TEXT||o.controlComponent===ht.PLACEHOLDER)return this.control.removeControl(r);{a.spliceElementList(t,r,1);const e=this.getValue();return e.length||this.control.addPlaceholder(r-1),r-1}}if(e.key===Pn.Delete){if(r!==i){a.spliceElementList(t,r+1,i-r);const e=this.getValue();return e.length||this.control.addPlaceholder(r),r}{const e=t[i+1];if((o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT)&&e.controlComponent===ht.PLACEHOLDER||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT||o.controlComponent===ht.PLACEHOLDER)return this.control.removeControl(r);{a.spliceElementList(t,r+1,1);const e=this.getValue();return e.length||this.control.addPlaceholder(r),r}}}return i}cut(){if(this.control.getIsDisabledControl())return-1;this.control.shrinkBoundary();const{startIndex:e,endIndex:t}=this.control.getRange();if(e===t)return e;const n=this.control.getDraw(),r=this.control.getElementList();n.spliceElementList(r,e+1,t-e);const i=this.getValue();return i.length||this.control.addPlaceholder(e),e}}class Jr{constructor(e,t={}){h(this,"draw"),h(this,"options"),h(this,"now"),h(this,"dom"),h(this,"renderOptions"),h(this,"isDatePicker"),h(this,"pickDate"),h(this,"lang"),this.draw=e,this.options=t,this.lang=this._getLang(),this.now=new Date,this.dom=this._createDom(),this.renderOptions=null,this.isDatePicker=!0,this.pickDate=null,this._bindEvent()}_createDom(){const e=document.createElement("div");e.classList.add(ce+"-date-container"),e.setAttribute(le,kt.POPUP);const t=document.createElement("div");t.classList.add(ce+"-date-wrap");const n=document.createElement("div");n.classList.add(ce+"-date-title");const r=document.createElement("span");r.classList.add(ce+"-date-title__pre-year"),r.innerText="<<";const i=document.createElement("span");i.classList.add(ce+"-date-title__pre-month"),i.innerText="<";const o=document.createElement("span");o.classList.add(ce+"-date-title__now");const s=document.createElement("span");s.classList.add(ce+"-date-title__next-month"),s.innerText=">";const a=document.createElement("span");a.classList.add(ce+"-date-title__next-year"),a.innerText=">>",n.append(r),n.append(i),n.append(o),n.append(s),n.append(a);const l=document.createElement("div");l.classList.add(ce+"-date-week");const{weeks:{sun:c,mon:u,tue:d,wed:h,thu:p,fri:f,sat:m}}=this.lang,A=[c,u,d,h,p,f,m];A.forEach(e=>{const t=document.createElement("span");t.innerText=""+e,l.append(t)});const g=document.createElement("div");g.classList.add(ce+"-date-day"),t.append(n),t.append(l),t.append(g);const _=document.createElement("ul");let b,v,w;_.classList.add(ce+"-time-wrap");const y=[this.lang.hour,this.lang.minute,this.lang.second];y.forEach((e,t)=>{const n=document.createElement("li"),r=document.createElement("span");r.innerText=e,n.append(r);const i=document.createElement("ol"),o=0===t,s=1===t,a=o?24:60;for(let l=0;l<a;l++){const e=document.createElement("li");e.innerText=""+String(l).padStart(2,"0"),e.setAttribute("data-id",""+l),i.append(e)}o?b=i:s?v=i:w=i,n.append(i),_.append(n)});const R=document.createElement("div");R.classList.add(ce+"-date-menu");const M=document.createElement("button");M.classList.add(ce+"-date-menu__time"),M.innerText=this.lang.timeSelect;const S=document.createElement("button");S.classList.add(ce+"-date-menu__now"),S.innerText=this.lang.now;const E=document.createElement("button");return E.classList.add(ce+"-date-menu__submit"),E.innerText=this.lang.confirm,R.append(M),R.append(S),R.append(E),e.append(t),e.append(_),e.append(R),this.draw.getContainer().append(e),{container:e,dateWrap:t,datePickerWeek:l,timeWrap:_,title:{preYear:r,preMonth:i,now:o,nextMonth:s,nextYear:a},day:g,time:{hour:b,minute:v,second:w},menu:{time:M,now:S,submit:E}}}_bindEvent(){this.dom.title.preYear.onclick=()=>{this._preYear()},this.dom.title.preMonth.onclick=()=>{this._preMonth()},this.dom.title.nextMonth.onclick=()=>{this._nextMonth()},this.dom.title.nextYear.onclick=()=>{this._nextYear()},this.dom.menu.time.onclick=()=>{this.isDatePicker=!this.isDatePicker,this._toggleDateTimePicker()},this.dom.menu.now.onclick=()=>{this._now(),this._submit()},this.dom.menu.submit.onclick=()=>{this.dispose(),this._submit()},this.dom.time.hour.onclick=e=>{if(!this.pickDate)return;const t=e.target,n=t.dataset.id;n&&(this.pickDate.setHours(Number(n)),this._setTimePick(!1))},this.dom.time.minute.onclick=e=>{if(!this.pickDate)return;const t=e.target,n=t.dataset.id;n&&(this.pickDate.setMinutes(Number(n)),this._setTimePick(!1))},this.dom.time.second.onclick=e=>{if(!this.pickDate)return;const t=e.target,n=t.dataset.id;n&&(this.pickDate.setSeconds(Number(n)),this._setTimePick(!1))}}_setPosition(){if(!this.renderOptions)return;const{position:{coordinate:{leftTop:[e,t]},lineHeight:n,pageNo:r}}=this.renderOptions,i=this.draw.getHeight(),o=this.draw.getPageGap(),s=null!=r?r:this.draw.getPageNo(),a=s*(i+o);this.dom.container.style.left=e+"px",this.dom.container.style.top=t+a+n+"px"}isInvalidDate(e){return"Invalid Date"===e.toDateString()}_setValue(){var e;const t=null==(e=this.renderOptions)?void 0:e.value;if(t){const e=new Date(t);this.now=this.isInvalidDate(e)?new Date:e}else this.now=new Date;this.pickDate=new Date(this.now)}_getLang(){const e=this.draw.getI18n(),t=e.t.bind(e);return{now:t("datePicker.now"),confirm:t("datePicker.confirm"),return:t("datePicker.return"),timeSelect:t("datePicker.timeSelect"),weeks:{sun:t("datePicker.weeks.sun"),mon:t("datePicker.weeks.mon"),tue:t("datePicker.weeks.tue"),wed:t("datePicker.weeks.wed"),thu:t("datePicker.weeks.thu"),fri:t("datePicker.weeks.fri"),sat:t("datePicker.weeks.sat")},year:t("datePicker.year"),month:t("datePicker.month"),hour:t("datePicker.hour"),minute:t("datePicker.minute"),second:t("datePicker.second")}}_setLangChange(){this.dom.menu.time.innerText=this.lang.timeSelect,this.dom.menu.now.innerText=this.lang.now,this.dom.menu.submit.innerText=this.lang.confirm;const{weeks:{sun:e,mon:t,tue:n,wed:r,thu:i,fri:o,sat:s}}=this.lang,a=[e,t,n,r,i,o,s];this.dom.datePickerWeek.childNodes.forEach((e,t)=>{const n=e;n.innerText=a[t]});const l=this.dom.time.hour.previousElementSibling;l.innerText=this.lang.hour;const c=this.dom.time.minute.previousElementSibling;c.innerText=this.lang.minute;const u=this.dom.time.second.previousElementSibling;u.innerText=this.lang.second}_update(){const e=new Date,t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();let i=null,o=null,s=null;this.pickDate&&(i=this.pickDate.getFullYear(),o=this.pickDate.getMonth()+1,s=this.pickDate.getDate());const a=this.now.getFullYear(),l=this.now.getMonth()+1;this.dom.title.now.innerText=`${a}${this.lang.year} ${String(l).padStart(2,"0")}${this.lang.month}`;const c=new Date(a,l,0),u=c.getDate();let d=new Date(a,l-1,1).getDay();0===d&&(d=7);const h=new Date(a,l-1,0).getDate();this.dom.day.innerHTML="";const p=h-d+1;for(let m=p;m<=h;m++){const e=document.createElement("div");e.classList.add("disable"),e.innerText=""+m,e.onclick=()=>{const e=l-2;this.now=new Date(a,e,m),this._setDatePick(a,e,m)},this.dom.day.append(e)}for(let m=1;m<=u;m++){const e=document.createElement("div");t===a&&n===l&&r===m&&e.classList.add("active"),this.pickDate&&i===a&&o===l&&s===m&&e.classList.add("select"),e.innerText=""+m,e.onclick=e=>{const t=l-1;this.now=new Date(a,t,m),this._setDatePick(a,t,m),e.stopPropagation()},this.dom.day.append(e)}const f=42-d-u;for(let m=1;m<=f;m++){const e=document.createElement("div");e.classList.add("disable"),e.innerText=""+m,e.onclick=()=>{this.now=new Date(a,l,m),this._setDatePick(a,l,m)},this.dom.day.append(e)}}_toggleDateTimePicker(){this.isDatePicker?(this.dom.dateWrap.classList.add("active"),this.dom.timeWrap.classList.remove("active"),this.dom.menu.time.innerText=this.lang.timeSelect):(this.dom.dateWrap.classList.remove("active"),this.dom.timeWrap.classList.add("active"),this.dom.menu.time.innerText=this.lang.return,this._setTimePick())}_setDatePick(e,t,n){var r,i,o;this.now=new Date(e,t,n),null==(r=this.pickDate)||r.setFullYear(e),null==(i=this.pickDate)||i.setMonth(t),null==(o=this.pickDate)||o.setDate(n),this._update()}_setTimePick(e=!0){var t,n,r;const i=(null==(t=this.pickDate)?void 0:t.getHours())||0,o=(null==(n=this.pickDate)?void 0:n.getMinutes())||0,s=(null==(r=this.pickDate)?void 0:r.getSeconds())||0,{hour:a,minute:l,second:c}=this.dom.time,u=[a,l,c];u.forEach(e=>{e.querySelectorAll("li").forEach(e=>e.classList.remove("active"))});const d=[[a,i],[l,o],[c,s]];d.forEach(([t,n])=>{const r=t.querySelector(`[data-id='${n}']`);r.classList.add("active"),e&&this._scrollIntoView(t,r)})}_scrollIntoView(e,t){if(!t)return void(e.scrollTop=0);const n=[];let r=t.offsetParent;while(r&&e!==r&&e.contains(r))n.push(r),r=r.offsetParent;const i=t.offsetTop+n.reduce((e,t)=>e+t.offsetTop,0),o=i+t.offsetHeight,s=e.scrollTop,a=s+e.clientHeight;i<s?e.scrollTop=i:o>a&&(e.scrollTop=o-e.clientHeight)}_preMonth(){this.now.setMonth(this.now.getMonth()-1),this._update()}_nextMonth(){this.now.setMonth(this.now.getMonth()+1),this._update()}_preYear(){this.now.setFullYear(this.now.getFullYear()-1),this._update()}_nextYear(){this.now.setFullYear(this.now.getFullYear()+1),this._update()}_now(){this.pickDate=new Date,this.dispose()}_toggleVisible(e){e?this.dom.container.classList.add("active"):this.dom.container.classList.remove("active")}_submit(){var e;if(this.options.onSubmit&&this.pickDate){const t=null==(e=this.renderOptions)?void 0:e.dateFormat,n=this.formatDate(this.pickDate,t);this.options.onSubmit(n)}}formatDate(e,t="yyyy-MM-dd hh:mm:ss"){let n=t;const r={"y+":e.getFullYear().toString(),"M+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"h+":e.getHours().toString(),"m+":e.getMinutes().toString(),"s+":e.getSeconds().toString()};for(const i in r){const e=new RegExp("("+i+")").exec(t),o=i;e&&(n=n.replace(e[1],1===e[1].length?r[o]:r[o].padStart(e[1].length,"0")))}return n}render(e){this.renderOptions=e,this.lang=this._getLang(),this._setLangChange(),this._setValue(),this._update(),this._setPosition(),this.isDatePicker=!0,this._toggleDateTimePicker(),this._toggleVisible(!0)}dispose(){this._toggleVisible(!1)}destroy(){this.dom.container.remove()}}class $r{constructor(e,t){h(this,"draw"),h(this,"element"),h(this,"control"),h(this,"isPopup"),h(this,"datePicker"),h(this,"options");const n=t.getDraw();this.draw=n,this.options=n.getOptions(),this.element=e,this.control=t,this.isPopup=!1,this.datePicker=null}setElement(e){this.element=e}getElement(){return this.element}getIsPopup(){return this.isPopup}getValueRange(e={}){const t=e.elementList||this.control.getElementList(),{startIndex:n}=e.range||this.control.getRange(),r=t[n];let i=n;while(i>0){const e=t[i];if(e.controlId!==r.controlId||e.controlComponent===ht.PREFIX||e.controlComponent===ht.PRE_TEXT)break;i--}let o=n+1;while(o<t.length){const e=t[o];if(e.controlId!==r.controlId||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT)break;o++}return i===o?null:[i,o-1]}getValue(e={}){const t=e.elementList||this.control.getElementList(),n=this.getValueRange(e);if(!n)return[];const r=[],[i,o]=n;for(let s=i;s<=o;s++){const e=t[s];e.controlComponent===ht.VALUE&&r.push(e)}return r}setValue(e,t={},n={}){if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return-1;const r=t.elementList||this.control.getElementList(),i=t.range||this.control.getRange();this.control.shrinkBoundary(t);const{startIndex:o,endIndex:s}=i,a=this.control.getDraw();o!==s?a.spliceElementList(r,o+1,s-o):this.control.removePlaceholder(o,t);const l=r[o],c=l.type&&!Se.includes(l.type)||l.controlComponent===ht.PREFIX||l.controlComponent===ht.PRE_TEXT?q(l,["control","controlId",...ye]):J(l,["type"]),h=i.startIndex+1;for(let p=0;p<e.length;p++){const t=d(u(u({},c),e[p]),{controlComponent:ht.VALUE});rn(r,[t],o,{editorOptions:this.options}),a.spliceElementList(r,h+p,0,t)}return h+e.length-1}clearSelect(e={},t={}){const{isIgnoreDisabledRule:n=!1,isAddPlaceholder:r=!0}=t;if(!n&&this.control.getIsDisabledControl(e))return-1;const i=this.getValueRange(e);if(!i)return-1;const[o,s]=i;if(!~o||!~s)return-1;const a=e.elementList||this.control.getElementList(),l=this.control.getDraw();return l.spliceElementList(a,o+1,s-o),r&&this.control.addPlaceholder(o,e),o}setSelect(e,t={},n={}){if(!n.isIgnoreDisabledRule&&this.control.getIsDisabledControl(t))return;const r=t.elementList||this.control.getElementList(),i=t.range||this.control.getRange(),o=this.getValue(t)[0],s=o?q(o,pe):q(r[i.startIndex],ye),a=this.clearSelect(t,{isAddPlaceholder:!1});if(!~a)return;const l=J(r[a],pe),c=a+1,h=this.control.getDraw();for(let p=0;p<e.length;p++){const t=d(u(u({},s),l),{type:he.TEXT,value:e[p],controlComponent:ht.VALUE});rn(r,[t],a,{editorOptions:this.options}),h.spliceElementList(r,c+p,0,t)}if(!t.range){const t=c+e.length-1;this.control.repaintControl({curIndex:t}),this.destroy()}}keydown(e){if(this.control.getIsDisabledControl())return null;const t=this.control.getElementList(),n=this.control.getRange();this.control.shrinkBoundary();const{startIndex:r,endIndex:i}=n,o=t[r],s=t[i],a=this.control.getDraw();if(e.key===Pn.Backspace){if(r!==i){a.spliceElementList(t,r+1,i-r);const e=this.getValue();return e.length||this.control.addPlaceholder(r),r}if(o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT||s.controlComponent===ht.POSTFIX||s.controlComponent===ht.POST_TEXT||o.controlComponent===ht.PLACEHOLDER)return this.control.removeControl(r);{a.spliceElementList(t,r,1);const e=this.getValue();return e.length||this.control.addPlaceholder(r-1),r-1}}if(e.key===Pn.Delete){if(r!==i){a.spliceElementList(t,r+1,i-r);const e=this.getValue();return e.length||this.control.addPlaceholder(r),r}{const e=t[i+1];if((o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT)&&e.controlComponent===ht.PLACEHOLDER||e.controlComponent===ht.POSTFIX||e.controlComponent===ht.POST_TEXT||o.controlComponent===ht.PLACEHOLDER)return this.control.removeControl(r);{a.spliceElementList(t,r+1,1);const e=this.getValue();return e.length||this.control.addPlaceholder(r),r}}}return i}cut(){if(this.control.getIsDisabledControl())return-1;this.control.shrinkBoundary();const{startIndex:e,endIndex:t}=this.control.getRange();if(e===t)return e;const n=this.control.getDraw(),r=this.control.getElementList();n.spliceElementList(r,e+1,t-e);const i=this.getValue();return i.length||this.control.addPlaceholder(e),e}awake(){var e,t;if(this.isPopup||this.control.getIsDisabledControl())return;const n=this.control.getPosition();if(!n)return;const r=this.draw.getElementList(),{startIndex:i}=this.control.getRange();if((null==(e=r[i+1])?void 0:e.controlId)!==this.element.controlId)return;this.datePicker=new Jr(this.draw,{onSubmit:this._setDate.bind(this)});const o=this.getValue().map(e=>e.value).join("")||"",s=null==(t=this.element.control)?void 0:t.dateFormat;this.datePicker.render({value:o,position:n,dateFormat:s}),this.isPopup=!0}destroy(){var e;this.isPopup&&(null==(e=this.datePicker)||e.destroy(),this.isPopup=!1)}_setDate(e){e?this.setSelect(e):this.clearSelect(),this.destroy()}}class ei extends qr{}class ti{constructor(e){h(this,"controlBorder"),h(this,"draw"),h(this,"range"),h(this,"listener"),h(this,"eventBus"),h(this,"controlSearch"),h(this,"options"),h(this,"controlOptions"),h(this,"activeControl"),h(this,"activeControlValue"),this.controlBorder=new Zr(e),this.draw=e,this.range=e.getRange(),this.listener=e.getListener(),this.eventBus=e.getEventBus(),this.controlSearch=new Gr(this),this.options=e.getOptions(),this.controlOptions=this.options.control,this.activeControl=null,this.activeControlValue=[]}setHighlightList(e){this.controlSearch.setHighlightList(e)}computeHighlightList(){const e=this.controlSearch.getHighlightList();e.length&&this.controlSearch.computeHighlightList()}renderHighlightList(e,t){const n=this.controlSearch.getHighlightMatchResult();n.length&&this.controlSearch.renderHighlightList(e,t)}getDraw(){return this.draw}filterAssistElement(e){return e.filter((t,n)=>{var r,i,o;if(t.type===he.TABLE){const e=t.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];t.value=this.filterAssistElement(t.value)}}}if(!t.controlId)return!0;if(null==(r=t.control)?void 0:r.minWidth){if(t.controlComponent===ht.PREFIX||t.controlComponent===ht.POSTFIX)return t.value="",!0}else{if((null==(i=t.control)?void 0:i.preText)&&t.controlComponent===ht.PRE_TEXT){let r=!1,i=n+1;while(i<e.length){const n=e[i];if(t.controlId!==n.controlId)break;if(n.controlComponent===ht.VALUE){r=!0;break}i++}return r}if((null==(o=t.control)?void 0:o.postText)&&t.controlComponent===ht.POST_TEXT){let r=!1,i=n-1;while(i<e.length){const n=e[i];if(t.controlId!==n.controlId)break;if(n.controlComponent===ht.VALUE){r=!0;break}i--}return r}}return t.controlComponent!==ht.PREFIX&&t.controlComponent!==ht.POSTFIX&&t.controlComponent!==ht.PLACEHOLDER})}getIsRangeCanCaptureEvent(){if(!this.activeControl)return!1;const{startIndex:e,endIndex:t}=this.getRange();if(!~e&&!~t)return!1;const n=this.getElementList(),r=n[e];if(e===t&&r.controlComponent===ht.POSTFIX)return!0;const i=n[t];return!(!r.controlId||r.controlId!==i.controlId||i.controlComponent===ht.POSTFIX)}getIsRangeInPostfix(){if(!this.activeControl)return!1;const{startIndex:e,endIndex:t}=this.getRange();if(e!==t)return!1;const n=this.getElementList(),r=n[e];return r.controlComponent===ht.POSTFIX}getIsRangeWithinControl(){const{startIndex:e,endIndex:t}=this.getRange();if(!~e&&!~t)return!1;const n=this.getElementList(),r=n[e],i=n[t];return!(!r.controlId||r.controlId!==i.controlId||i.controlComponent===ht.POSTFIX)}getIsElementListContainFullControl(e){if(!e.some(e=>e.controlId))return!1;let t=0,n=0;for(let r=0;r<e.length;r++){const i=e[r];i.controlComponent===ht.PREFIX?t++:i.controlComponent===ht.POSTFIX&&n++}return!(!t||!n)&&t===n}getIsDisabledControl(e={}){var t,n;if(this.draw.isDesignMode()||!this.activeControl)return!1;const{startIndex:r,endIndex:i}=e.range||this.range.getRange();if(r===i&&~r&&~i){const t=e.elementList||this.getElementList(),n=t[r];if(n.controlComponent===ht.POSTFIX)return!1}return!!(null==(n=null==(t=this.activeControl.getElement())?void 0:t.control)?void 0:n.disabled)}getIsDisabledPasteControl(e={}){var t,n;if(this.draw.isDesignMode()||!this.activeControl)return!1;const{startIndex:r,endIndex:i}=e.range||this.range.getRange();if(r===i&&~r&&~i){const t=e.elementList||this.getElementList(),n=t[r];if(n.controlComponent===ht.POSTFIX)return!1}return!!(null==(n=null==(t=this.activeControl.getElement())?void 0:t.control)?void 0:n.pasteDisabled)}getContainer(){return this.draw.getContainer()}getElementList(){return this.draw.getElementList()}getPosition(){const e=this.draw.getPosition().getPositionList(),{endIndex:t}=this.range.getRange();return e[t]||null}getPreY(){var e,t;const n=this.draw.getHeight(),r=this.draw.getPageGap(),i=null!=(t=null==(e=this.getPosition())?void 0:e.pageNo)?t:this.draw.getPageNo();return i*(n+r)}getRange(){return this.range.getRange()}shrinkBoundary(e={}){this.range.shrinkBoundary(e)}getActiveControl(){return this.activeControl}getControlElementList(e={}){const t=e.elementList||this.getElementList(),{startIndex:n}=e.range||this.getRange(),r=t[n],i=[];let o=n;while(o>0){const e=t[o];if(e.controlId!==r.controlId)break;i.unshift(e),o--}let s=n+1;while(s<t.length){const e=t[s];if(e.controlId!==r.controlId)break;i.push(e),s++}return i}updateActiveControlValue(){this.activeControl&&(this.activeControlValue=this.getControlElementList())}initControl(){var e,t;const n=this.getElementList(),r=this.getRange(),i=n[r.startIndex];if(this.activeControl){(this.activeControl instanceof zr||this.activeControl instanceof $r)&&(i.controlComponent===ht.POSTFIX?this.activeControl.destroy():this.activeControl.awake());const e=this.activeControl.getElement();if(i.controlId===e.controlId)return void this.updateActiveControlValue()}this.destroyControl();const o=this.draw.isReadonly();if(o)return;const s=i.control;if(s.type===dt.TEXT)this.activeControl=new qr(i,this);else if(s.type===dt.SELECT){const e=new zr(i,this);this.activeControl=e,e.awake()}else if(s.type===dt.CHECKBOX)this.activeControl=new Dn(i,this);else if(s.type===dt.RADIO)this.activeControl=new Fn(i,this);else if(s.type===dt.DATE){const e=new $r(i,this);this.activeControl=e,e.awake()}else s.type===dt.NUMBER&&(this.activeControl=new ei(i,this));this.updateActiveControlValue();const a=this.eventBus.isSubscribe("controlChange");if(this.listener.controlChange||a){let n;const r=this.activeControlValue;(null==r?void 0:r.length)?n=qt(r)[0].control:(n=zt(k(i)).control,n.value=[]);const o={control:n,controlId:i.controlId,state:ft.ACTIVE};null==(t=(e=this.listener).controlChange)||t.call(e,o),a&&this.eventBus.emit("controlChange",o)}}destroyControl(e={}){var t,n;if(!this.activeControl)return;const{isEmitEvent:r=!0}=e;if((this.activeControl instanceof zr||this.activeControl instanceof $r)&&this.activeControl.destroy(),r){const e=this.eventBus.isSubscribe("controlChange");if(this.listener.controlChange||e){let r;const i=this.activeControlValue,o=this.activeControl.getElement();(null==i?void 0:i.length)?r=qt(i)[0].control:(r=zt(k(o)).control,r.value=[]);const s={control:r,controlId:o.controlId,state:ft.INACTIVE};null==(n=(t=this.listener).controlChange)||n.call(t,s),e&&this.eventBus.emit("controlChange",s)}}this.activeControl=null,this.activeControlValue=[]}repaintControl(e={}){const{curIndex:t,isCompute:n=!0,isSubmitHistory:r=!0,isSetCursor:i=!0}=e;void 0===t?(this.range.clearRange(),this.draw.render({isCompute:n,isSubmitHistory:r,isSetCursor:!1})):(this.range.setRange(t,t),this.draw.render({curIndex:t,isCompute:n,isSetCursor:i,isSubmitHistory:r}))}reAwakeControl(){if(!this.activeControl)return;const e=this.getElementList(),t=this.getRange(),n=e[t.startIndex];this.activeControl.setElement(n),(this.activeControl instanceof $r||this.activeControl instanceof zr)&&this.activeControl.getIsPopup()&&(this.activeControl.destroy(),this.activeControl.awake())}moveCursor(e){const{index:t,trIndex:n,tdIndex:r,tdValueIndex:i}=e;let o,s=this.draw.getOriginalElementList();const a=e.isTable?i:t;if(e.isTable?(s=s[t].trList[n].tdList[r].value,o=s[i]):o=s[t],o.controlComponent===ht.VALUE)return{newIndex:a,newElement:o};if(o.controlComponent===ht.POSTFIX){let e=a+1;while(e<s.length){const t=s[e];if(t.controlId!==o.controlId)return{newIndex:e-1,newElement:s[e-1]};e++}}else if(o.controlComponent===ht.PREFIX||o.controlComponent===ht.PRE_TEXT){let e=a+1;while(e<s.length){const t=s[e];if(t.controlId!==o.controlId||t.controlComponent!==ht.PREFIX&&t.controlComponent!==ht.PRE_TEXT)return{newIndex:e-1,newElement:s[e-1]};e++}}else if(o.controlComponent===ht.PLACEHOLDER||o.controlComponent===ht.POST_TEXT){let e=a-1;while(e>0){const t=s[e];if(t.controlId!==o.controlId||t.controlComponent===ht.VALUE||t.controlComponent===ht.PREFIX||t.controlComponent===ht.PRE_TEXT)return{newIndex:e,newElement:s[e]};e--}}return{newIndex:a,newElement:o}}removeControl(e,t={}){const n=t.elementList||this.getElementList(),r=n[e];if(!this.draw.isDesignMode()){const{deletable:e=!0}=r.control;if(!e)return null}let i=-1,o=-1,s=e;while(s>0){const e=n[s];if(e.controlId!==r.controlId){i=s;break}s--}let a=e+1;while(a<n.length){const e=n[a];if(e.controlId!==r.controlId){o=a-1;break}a++}return a===n.length&&(o=a-1),~i||~o?(i=~i?i:0,this.draw.spliceElementList(n,i+1,o-i),i):e}removePlaceholder(e,t={}){const n=t.elementList||this.getElementList(),r=n[e],i=n[e+1];if(r.controlComponent===ht.PLACEHOLDER||i.controlComponent===ht.PLACEHOLDER){let t=!1,i=e;while(i<n.length){const o=n[i];if(o.controlId!==r.controlId)break;o.controlComponent===ht.PLACEHOLDER?(t||(t=!0,this.draw.getHistoryManager().popUndo(),this.draw.submitHistory(e)),n.splice(i,1)):i++}}}addPlaceholder(e,t={}){const n=t.elementList||this.getElementList(),r=n[e],i=r.control;if(!i.placeholder)return;const o=j(i.placeholder),s=q(r,ye);for(let a=0;a<o.length;a++){const t=o[a],i=d(u({},s),{value:"\n"===t?b:t,controlId:r.controlId,type:he.CONTROL,control:r.control,controlComponent:ht.PLACEHOLDER,color:this.controlOptions.placeholderColor});rn(n,[i],e,{editorOptions:this.options}),this.draw.spliceElementList(n,e+a+1,0,i)}}setValue(e){if(!this.activeControl)throw new Error("active control is null");return this.activeControl.setValue(e)}setControlProperties(e,t={}){const n=t.elementList||this.getElementList(),{startIndex:r}=t.range||this.getRange(),i=n[r];let o=r;while(o>0){const t=n[o];if(t.controlId!==i.controlId)break;t.control=u(u({},t.control),e),o--}let s=r+1;while(s<n.length){const t=n[s];if(t.controlId!==i.controlId)break;t.control=u(u({},t.control),e),s++}}keydown(e){if(!this.activeControl)throw new Error("active control is null");return this.activeControl.keydown(e)}cut(){if(!this.activeControl)throw new Error("active control is null");return this.activeControl.cut()}getValueById(e){const{id:t,conceptId:n,areaId:r}=e,i=[];if(!t&&!n)return i;const o=(e,s)=>{let a=0;while(a<e.length){const l=e[a];if(a++,l.type===he.TABLE){const e=l.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];o(t.value,s)}}}if(!l.control||t&&l.controlId!==t||n&&l.control.conceptId!==n||r&&l.areaId!==r)continue;const{type:c,code:h,valueSets:p}=l.control;let f=a,m="";const A=[];while(f<e.length){const t=e[f];if(t.controlId!==l.controlId)break;c!==dt.TEXT&&c!==dt.DATE&&c!==dt.NUMBER||t.controlComponent!==ht.VALUE||(m+=t.value,A.push(J(t,we))),f++}if(c===dt.TEXT||c===dt.DATE||c===dt.NUMBER)i.push(d(u({},l.control),{zone:s,value:m||null,innerText:m||null,elementList:qt(A)}));else if(c===dt.SELECT||c===dt.CHECKBOX||c===dt.RADIO){const e=null==h?void 0:h.split(",").map(e=>{var t;return null==(t=null==p?void 0:p.find(t=>t.code===e))?void 0:t.value}).filter(Boolean).join("");i.push(d(u({},l.control),{zone:s,value:h||null,innerText:e||null}))}a=f}},s=[{zone:Ht.HEADER,elementList:this.draw.getHeaderElementList()},{zone:Ht.MAIN,elementList:this.draw.getOriginalMainElementList()},{zone:Ht.FOOTER,elementList:this.draw.getFooterElementList()}];for(const{zone:a,elementList:l}of s)o(l,a);return i}setValueById(e){let t=!1;const{id:n,conceptId:r,areaId:i,value:o}=e;if(!n&&!r)return;const s=e=>{let a=0;while(a<e.length){const l=e[a];if(a++,l.type===he.TABLE){const e=l.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];s(t.value)}}}if(!l.control||n&&l.controlId!==n||r&&l.control.conceptId!==r||i&&l.areaId!==i)continue;t=!0;const{type:c}=l.control;let u=a;while(u<e.length){const t=e[u];if(t.controlId!==l.controlId)break;u++}const d={startIndex:a-1,endIndex:u-2},h={range:d,elementList:e},p={isIgnoreDisabledRule:!0};if(c===dt.TEXT){const e=Array.isArray(o)?o:[{value:o}];Gt(e,{isHandleFirstElement:!1,editorOptions:this.options});const t=new qr(l,this);this.activeControl=t,o?t.setValue(e,h,p):t.clearValue(h,p)}else if(c===dt.SELECT){if(Array.isArray(o))continue;const e=new zr(l,this);this.activeControl=e,o?e.setSelect(o,h,p):e.clearSelect(h,p)}else if(c===dt.CHECKBOX){if(Array.isArray(o))continue;const e=new Dn(l,this);this.activeControl=e;const t=o?o.split(","):[];e.setSelect(t,h,p)}else if(c===dt.RADIO){if(Array.isArray(o))continue;const e=new Fn(l,this);this.activeControl=e;const t=o?[o]:[];e.setSelect(t,h,p)}else if(c===dt.DATE){if(Array.isArray(o))continue;const e=new $r(l,this);this.activeControl=e,o?e.setSelect(o,h,p):e.clearSelect(h,p)}else if(c===dt.NUMBER){const e=Array.isArray(o)?o:[{value:o}];Gt(e,{isHandleFirstElement:!1,editorOptions:this.options});const t=new ei(l,this);this.activeControl=t,o?t.setValue(e,h,p):t.clearValue(h,p)}this.activeControl=null;let f=a;while(f<e.length){const t=e[f];if(t.controlId!==l.controlId)break;f++}a=f}};this.destroyControl({isEmitEvent:!1});const a=[this.draw.getHeaderElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooterElementList()];for(const l of a)s(l);t&&this.draw.render({isSetCursor:!1})}setExtensionById(e){const{id:t,conceptId:n,areaId:r,extension:i}=e;if(!t&&!n)return;const o=e=>{let s=0;while(s<e.length){const a=e[s];if(s++,a.type===he.TABLE){const e=a.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];o(t.value)}}}if(!a.control||t&&a.controlId!==t||n&&a.control.conceptId!==n||r&&a.areaId!==r)continue;this.setControlProperties({extension:i},{elementList:e,range:{startIndex:s,endIndex:s}});let l=s;while(l<e.length){const t=e[l];if(t.controlId!==a.controlId)break;l++}s=l}},s=[this.draw.getHeaderElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooterElementList()];for(const a of s)o(a)}setPropertiesById(e){const{id:t,conceptId:n,areaId:r,properties:i}=e;if(!t&&!n)return;let o=!1;const s=e=>{let a=0;while(a<e.length){const l=e[a];if(a++,l.type===he.TABLE){const e=l.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];s(t.value)}}}if(!l.control||t&&l.controlId!==t||n&&l.control.conceptId!==n||r&&l.areaId!==r)continue;o=!0,this.setControlProperties(d(u(u({},l.control),i),{value:l.control.value}),{elementList:e,range:{startIndex:a,endIndex:a}}),ye.forEach(e=>{const t=i[e];t&&Reflect.set(l,e,t)});let c=a;while(c<e.length){const t=e[c];if(t.controlId!==l.controlId)break;c++}a=c}},a={header:this.draw.getHeaderElementList(),main:this.draw.getOriginalMainElementList(),footer:this.draw.getFooterElementList()};for(const l in a){const e=a[l];s(e)}if(o){for(const e in a){const t=e,n=qt(a[t],{isClassifyArea:!0});a[t]=n,Gt(n,{editorOptions:this.options,isForceCompensation:!0})}this.draw.setEditorData(a),this.draw.render({isSetCursor:!1})}}getList(){const e=[];function t(n){for(let r=0;r<n.length;r++){const i=n[r];if(i.type===he.TABLE){const e=i.trList;for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.tdList.length;e++){const n=r.tdList[e],i=n.value;t(i)}}}if(i.controlId){const t=J(i,[...be,...ve]);e.push(t)}}}const n=[this.draw.getHeader().getElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooter().getElementList()];for(const r of n)t(r);return qt(e,{extraPickAttrs:["controlId"]})}recordBorderInfo(e,t,n,r){this.controlBorder.recordBorderInfo(e,t,n,r)}drawBorder(e){this.controlBorder.render(e)}getPreControlContext(){if(!this.activeControl)return null;const e=this.draw.getPosition(),t=e.getPositionContext();if(!t)return null;const n=this.activeControl.getElement();function r(e,t){for(let i=t;i>0;i--){const t=e[i];if(t.type===he.TABLE){const e=t.trList||[];for(let n=e.length-1;n>=0;n--){const o=e[n],s=o.tdList;for(let e=s.length-1;e>=0;e--){const a=s[e],l=r(a.value,a.value.length-1);if(l)return{positionContext:{isTable:!0,index:i,trIndex:n,tdIndex:e,tdId:a.id,trId:o.id,tableId:t.id},nextIndex:l.nextIndex}}}}if(!t.controlId||t.controlId===n.controlId)continue;let o=i;while(o>0){const t=e[o];if(t.controlComponent===ht.VALUE||t.controlComponent===ht.PREFIX||t.controlComponent===ht.PRE_TEXT)break;o--}return{positionContext:{isTable:!1},nextIndex:o}}return null}const{startIndex:i}=this.range.getRange(),o=this.getElementList(),s=r(o,i);if(s)return{positionContext:t.isTable?t:s.positionContext,nextIndex:s.nextIndex};if(n.tableId){const e=this.draw.getOriginalElementList(),{index:i,trIndex:o,tdIndex:s}=t,a=e[i].trList;for(let c=o;c>=0;c--){const e=a[c],i=e.tdList;for(let a=i.length-1;a>=0;a--){if(o===c&&a>=s)continue;const l=i[a],u=r(l.value,l.value.length-1);if(u)return{positionContext:{isTable:!0,index:t.index,trIndex:c,tdIndex:a,tdId:l.id,trId:e.id,tableId:n.tableId},nextIndex:u.nextIndex}}}const l=r(e,i-1);if(l)return{positionContext:{isTable:!1},nextIndex:l.nextIndex}}return null}getNextControlContext(){if(!this.activeControl)return null;const e=this.draw.getPosition(),t=e.getPositionContext();if(!t)return null;const n=this.activeControl.getElement();function r(e,t){var i,o;for(let s=t;s<e.length;s++){const t=e[s];if(t.type===he.TABLE){const e=t.trList||[];for(let n=0;n<e.length;n++){const i=e[n],o=i.tdList;for(let e=0;e<o.length;e++){const a=o[e],l=r(a.value,0);if(l)return{positionContext:{isTable:!0,index:s,trIndex:n,tdIndex:e,tdId:a.id,trId:i.id,tableId:t.id},nextIndex:l.nextIndex}}}}if(t.controlId&&t.controlId!==n.controlId&&(null==(i=e[s+1])?void 0:i.controlComponent)!==ht.PREFIX&&(null==(o=e[s+1])?void 0:o.controlComponent)!==ht.PRE_TEXT)return{positionContext:{isTable:!1},nextIndex:s}}return null}const{endIndex:i}=this.range.getRange(),o=this.getElementList(),s=r(o,i);if(s)return{positionContext:t.isTable?t:s.positionContext,nextIndex:s.nextIndex};if(n.tableId){const e=this.draw.getOriginalElementList(),{index:i,trIndex:o,tdIndex:s}=t,a=e[i].trList;for(let c=o;c<a.length;c++){const e=a[c],i=e.tdList;for(let a=0;a<i.length;a++){if(o===c&&a<=s)continue;const l=i[a],u=r(l.value,0);if(u)return{positionContext:{isTable:!0,index:t.index,trIndex:c,tdIndex:a,tdId:l.id,trId:e.id,tableId:n.tableId},nextIndex:u.nextIndex}}}const l=r(e,i+1);if(l)return{positionContext:{isTable:!1},nextIndex:l.nextIndex}}return null}initNextControl(e={}){const{direction:t=de.DOWN}=e;let n=null;if(n=t===de.UP?this.getPreControlContext():this.getNextControlContext(),!n)return;const{nextIndex:r,positionContext:i}=n,o=this.draw.getPosition();o.setPositionContext(i),this.draw.getRange().replaceRange({startIndex:r,endIndex:r}),this.draw.render({curIndex:r,isCompute:!1,isSetCursor:!0,isSubmitHistory:!1});const s=o.getPositionList();this.draw.getCursor().moveCursorToVisible({cursorPosition:s[r],direction:t})}setMinWidthControlInfo(e){var t,n,r,i,o;const{row:s,rowElement:a,controlRealWidth:l,availableWidth:c}=e;if(!(null==(t=a.control)?void 0:t.minWidth))return;const{scale:u}=this.options,d=a.control.minWidth*u;let h=null;if((null==(n=a.control)?void 0:n.minWidth)&&((null==(r=a.control)?void 0:r.rowFlex)===T.CENTER||(null==(i=a.control)?void 0:i.rowFlex)===T.RIGHT)){let e=a.metrics.width,t=s.elementList.length-1;while(t>=0){const n=s.elementList[t];if(e+=n.metrics.width,(null==(o=s.elementList[t-1])?void 0:o.controlComponent)===ht.PREFIX){h=n;break}t--}h&&e<d&&(a.control.rowFlex===T.CENTER?h.left=(d-e)/2:a.control.rowFlex===T.RIGHT&&(h.left=d-e-a.metrics.width))}const p=d-l;if(p>0){const e=(null==h?void 0:h.left)||0,t=c-s.width-a.metrics.width,n=Math.min(t,p);a.left=n-e,s.width+=n-e}}}class ni{constructor(e){h(this,"draw"),h(this,"options"),this.draw=e,this.options=e.getOptions()}setSelect(e){const{checkbox:t}=e;t?t.value=!t.value:e.checkbox={value:!0},this.draw.render({isCompute:!1,isSetCursor:!1})}render(e){const{ctx:t,x:n,index:r,row:i}=e;let{y:o}=e;const{checkbox:{gap:s,lineWidth:a,fillStyle:l,strokeStyle:c,verticalAlign:u},scale:d}=this.options,{metrics:h,checkbox:p}=i.elementList[r];if(u===_t.TOP||u===_t.MIDDLE){let e=r+1,t=null;while(e<i.elementList.length){if(t=i.elementList[e],t.value!==b&&t.value!==w)break;e++}if(t){const{metrics:{boundingBoxAscent:e,boundingBoxDescent:n}}=t,r=e+n;r>h.height&&(u===_t.TOP?o-=e-h.height:u===_t.MIDDLE&&(o-=(r-h.height)/2))}}const f=Math.round(n+s*d),m=Math.round(o-h.height+a),A=h.width-2*s*d,g=h.height;t.save(),t.beginPath(),t.translate(.5,.5),(null==p?void 0:p.value)?(t.lineWidth=a,t.strokeStyle=l,t.rect(f,m,A,g),t.stroke(),t.beginPath(),t.fillStyle=l,t.fillRect(f,m,A,g),t.beginPath(),t.strokeStyle=c,t.lineWidth=2*a*d,t.moveTo(f+2*d,m+g/2),t.lineTo(f+A/2,m+g-3*d),t.lineTo(f+A-2*d,m+3*d),t.stroke()):(t.lineWidth=a,t.rect(f,m,A,g),t.stroke()),t.closePath(),t.restore()}}class ri{constructor(e){h(this,"draw"),h(this,"options"),this.draw=e,this.options=e.getOptions()}setSelect(e){const{radio:t}=e;t?t.value=!t.value:e.radio={value:!0},this.draw.render({isCompute:!1,isSetCursor:!1})}render(e){const{ctx:t,x:n,index:r,row:i}=e;let{y:o}=e;const{radio:{gap:s,lineWidth:a,fillStyle:l,strokeStyle:c,verticalAlign:u},scale:d}=this.options,{metrics:h,radio:p}=i.elementList[r];if(u===_t.TOP||u===_t.MIDDLE){let e=r+1,t=null;while(e<i.elementList.length){if(t=i.elementList[e],t.value!==b&&t.value!==w)break;e++}if(t){const{metrics:{boundingBoxAscent:e,boundingBoxDescent:n}}=t,r=e+n;r>h.height&&(u===_t.TOP?o-=e-h.height:u===_t.MIDDLE&&(o-=(r-h.height)/2))}}const f=Math.round(n+s*d),m=Math.round(o-h.height+a),A=h.width-2*s*d,g=h.height;t.save(),t.beginPath(),t.translate(.5,.5),t.strokeStyle=(null==p?void 0:p.value)?l:c,t.lineWidth=a,t.arc(f+A/2,m+g/2,A/2,0,2*Math.PI),t.stroke(),(null==p?void 0:p.value)&&(t.beginPath(),t.fillStyle=l,t.arc(f+A/2,m+g/2,A/3,0,2*Math.PI),t.fill()),t.closePath(),t.restore()}}const ii="KCgpPT57KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO3ZhciBmOyhmdW5jdGlvbih0KXt0LlRFWFQ9InRleHQiLHQuVEFCTEU9InRhYmxlIix0LkhZUEVSTElOSz0iaHlwZXJsaW5rIix0LkNPTlRST0w9ImNvbnRyb2wifSkoZnx8KGY9e30pKTt2YXIgcDsoZnVuY3Rpb24odCl7dC5WQUxVRT0idmFsdWUifSkocHx8KHA9e30pKTtjb25zdCBoPSJcdTIwMEIiLGc9YApgO2Z1bmN0aW9uIGEodCl7bGV0IGw9IiIsbj0wO2Zvcig7bjx0Lmxlbmd0aDspe2NvbnN0IG89dFtuXTtpZihvLnR5cGU9PT1mLlRBQkxFKXtpZihvLnRyTGlzdClmb3IobGV0IHI9MDtyPG8udHJMaXN0Lmxlbmd0aDtyKyspe2NvbnN0IHM9by50ckxpc3Rbcl07Zm9yKGxldCBlPTA7ZTxzLnRkTGlzdC5sZW5ndGg7ZSsrKXtjb25zdCBpPXMudGRMaXN0W2VdO2wrPWEoaS52YWx1ZSl9fX1lbHNlIGlmKG8udHlwZT09PWYuSFlQRVJMSU5LKXtjb25zdCByPW8uaHlwZXJsaW5rSWQscz1bXTtmb3IoO248dC5sZW5ndGg7KXtjb25zdCBlPXRbbl07aWYociE9PWUuaHlwZXJsaW5rSWQpe24tLTticmVha31kZWxldGUgZS50eXBlLHMucHVzaChlKSxuKyt9bCs9YShzKX1lbHNlIGlmKG8uY29udHJvbElkKXtjb25zdCByPW8uY29udHJvbElkLHM9W107Zm9yKDtuPHQubGVuZ3RoOyl7Y29uc3QgZT10W25dO2lmKHIhPT1lLmNvbnRyb2xJZCl7bi0tO2JyZWFrfWUuY29udHJvbENvbXBvbmVudD09PXAuVkFMVUUmJihkZWxldGUgZS5jb250cm9sSWQscy5wdXNoKGUpKSxuKyt9bCs9YShzKX1lbHNlKCFvLnR5cGV8fG8udHlwZT09PWYuVEVYVCkmJihsKz1vLnZhbHVlKTtuKyt9cmV0dXJuIGx9ZnVuY3Rpb24gZCh0KXtjb25zdCBsPVtdLG49L1swLTldLyxvPS9bQS1aYS16XS8scj0vXHMvO2xldCBzPSExLGU9ITEsaT0iIjtmdW5jdGlvbiB1KCl7aSYmKGwucHVzaChpKSxpPSIiKX1mb3IoY29uc3QgYyBvZiB0KW8udGVzdChjKT8oc3x8dSgpLGkrPWMscz0hMCxlPSExKTpuLnRlc3QoYyk/KGV8fHUoKSxpKz1jLHM9ITEsZT0hMCk6KHUoKSxzPSExLGU9ITEsci50ZXN0KGMpfHxsLnB1c2goYykpO3JldHVybiB1KCksbH1vbm1lc3NhZ2U9dD0+e2NvbnN0IGw9dC5kYXRhLG89YShsKS5yZXBsYWNlKG5ldyBSZWdFeHAoYF4ke2h9YCksIiIpLnJlcGxhY2UobmV3IFJlZ0V4cChoLCJnIiksZykscj1kKG8pO3Bvc3RNZXNzYWdlKHIubGVuZ3RoKX19KSgpO30pKCk7Cg==",oi="undefined"!==typeof window&&window.Blob&&new Blob([atob(ii)],{type:"text/javascript;charset=utf-8"});function si(){const e=oi&&(window.URL||window.webkitURL).createObjectURL(oi);try{return e?new Worker(e):new Worker("data:application/javascript;base64,"+ii,{type:"module"})}finally{e&&(window.URL||window.webkitURL).revokeObjectURL(e)}}const ai="KCgpPT57KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO3ZhciBhOyhmdW5jdGlvbih0KXt0LlRFWFQ9InRleHQiLHQuSU1BR0U9ImltYWdlIix0LlRBQkxFPSJ0YWJsZSIsdC5IWVBFUkxJTks9Imh5cGVybGluayIsdC5TVVBFUlNDUklQVD0ic3VwZXJzY3JpcHQiLHQuU1VCU0NSSVBUPSJzdWJzY3JpcHQiLHQuU0VQQVJBVE9SPSJzZXBhcmF0b3IiLHQuUEFHRV9CUkVBSz0icGFnZUJyZWFrIix0LkNPTlRST0w9ImNvbnRyb2wiLHQuQ0hFQ0tCT1g9ImNoZWNrYm94Iix0LlJBRElPPSJyYWRpbyIsdC5MQVRFWD0ibGF0ZXgiLHQuVEFCPSJ0YWIiLHQuREFURT0iZGF0ZSIsdC5CTE9DSz0iYmxvY2siLHQuVElUTEU9InRpdGxlIix0LkFSRUE9ImFyZWEiLHQuTElTVD0ibGlzdCJ9KShhfHwoYT17fSkpO3ZhciBsOyhmdW5jdGlvbih0KXt0LkZJUlNUPSJmaXJzdCIsdC5TRUNPTkQ9InNlY29uZCIsdC5USElSRD0idGhpcmQiLHQuRk9VUlRIPSJmb3VydGgiLHQuRklGVEg9ImZpZnRoIix0LlNJWFRIPSJzaXh0aCJ9KShsfHwobD17fSkpO2NvbnN0IGc9e1tsLkZJUlNUXToxLFtsLlNFQ09ORF06MixbbC5USElSRF06MyxbbC5GT1VSVEhdOjQsW2wuRklGVEhdOjUsW2wuU0lYVEhdOjZ9LEw9W2EuVEVYVCxhLkhZUEVSTElOSyxhLlNVQlNDUklQVCxhLlNVUEVSU0NSSVBULGEuQ09OVFJPTCxhLkRBVEVdLGQ9Ilx1MjAwQiI7ZnVuY3Rpb24gZih0KXtyZXR1cm4hdC50eXBlfHxMLmluY2x1ZGVzKHQudHlwZSl9ZnVuY3Rpb24gQyh0KXtjb25zdHtlbGVtZW50TGlzdDpuLHBvc2l0aW9uTGlzdDp2fT10LEk9W107bGV0IGk9MDtmb3IoO2k8bi5sZW5ndGg7KXtjb25zdCBzPW5baV07aWYocy50aXRsZUlkKXtjb25zdCBvPXMudGl0bGVJZCxlPXMubGV2ZWwsYz17dHlwZTphLlRJVExFLHZhbHVlOiIiLGxldmVsOmUsdGl0bGVJZDpvLHBhZ2VObzp2W2ldLnBhZ2VOb30scj1bXTtmb3IoO2k8bi5sZW5ndGg7KXtjb25zdCB1PW5baV07aWYobyE9PXUudGl0bGVJZCl7aS0tO2JyZWFrfXIucHVzaCh1KSxpKyt9Yy52YWx1ZT1yLmZpbHRlcih1PT5mKHUpKS5tYXAodT0+dS52YWx1ZSkuam9pbigiIikucmVwbGFjZShuZXcgUmVnRXhwKGQsImciKSwiIiksSS5wdXNoKGMpfWkrK31pZighSS5sZW5ndGgpcmV0dXJuIG51bGw7Y29uc3QgaD0ocyxvKT0+e2NvbnN0IGU9by5zdWJDYXRhbG9nW28uc3ViQ2F0YWxvZy5sZW5ndGgtMV0sYz1nW2U9PW51bGw/dm9pZCAwOmUubGV2ZWxdLHI9Z1tzLmxldmVsXTtlJiZyPmM/aChzLGUpOm8uc3ViQ2F0YWxvZy5wdXNoKHtpZDpzLnRpdGxlSWQsbmFtZTpzLnZhbHVlLGxldmVsOnMubGV2ZWwscGFnZU5vOnMucGFnZU5vLHN1YkNhdGFsb2c6W119KX0sUj1bXTtmb3IobGV0IHM9MDtzPEkubGVuZ3RoO3MrKyl7Y29uc3Qgbz1JW3NdLGU9UltSLmxlbmd0aC0xXSxjPWdbZT09bnVsbD92b2lkIDA6ZS5sZXZlbF0scj1nW28ubGV2ZWxdO2UmJnI+Yz9oKG8sZSk6Ui5wdXNoKHtpZDpvLnRpdGxlSWQsbmFtZTpvLnZhbHVlLGxldmVsOm8ubGV2ZWwscGFnZU5vOm8ucGFnZU5vLHN1YkNhdGFsb2c6W119KX1yZXR1cm4gUn1vbm1lc3NhZ2U9dD0+e2NvbnN0IG49dC5kYXRhLHY9QyhuKTtwb3N0TWVzc2FnZSh2KX19KSgpO30pKCk7Cg==",li="undefined"!==typeof window&&window.Blob&&new Blob([atob(ai)],{type:"text/javascript;charset=utf-8"});function ci(){const e=li&&(window.URL||window.webkitURL).createObjectURL(li);try{return e?new Worker(e):new Worker("data:application/javascript;base64,"+ai,{type:"module"})}finally{e&&(window.URL||window.webkitURL).revokeObjectURL(e)}}const ui="KCgpPT57KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO3ZhciBuOyhmdW5jdGlvbihvKXtvLlRBQkxFPSJ0YWJsZSJ9KShufHwobj17fSkpO2Z1bmN0aW9uIGMobyl7Y29uc3QgdD1bXTtmb3IoY29uc3QgcyBvZiBvKXtpZihzLnR5cGU9PT1uLlRBQkxFKXtjb25zdCBlPXMudHJMaXN0O2ZvcihsZXQgcj0wO3I8ZS5sZW5ndGg7cisrKXtjb25zdCBpPWVbcl07Zm9yKGxldCB1PTA7dTxpLnRkTGlzdC5sZW5ndGg7dSsrKXtjb25zdCBkPWkudGRMaXN0W3VdO3QucHVzaCguLi5jKGQudmFsdWUpKX19fWlmKCEhcy5ncm91cElkcylmb3IoY29uc3QgZSBvZiBzLmdyb3VwSWRzKXQuaW5jbHVkZXMoZSl8fHQucHVzaChlKX1yZXR1cm4gdH1vbm1lc3NhZ2U9bz0+e2NvbnN0IHQ9by5kYXRhLHM9Yyh0KTtwb3N0TWVzc2FnZShzKX19KSgpO30pKCk7Cg==",di="undefined"!==typeof window&&window.Blob&&new Blob([atob(ui)],{type:"text/javascript;charset=utf-8"});function hi(){const e=di&&(window.URL||window.webkitURL).createObjectURL(di);try{return e?new Worker(e):new Worker("data:application/javascript;base64,"+ui,{type:"module"})}finally{e&&(window.URL||window.webkitURL).revokeObjectURL(e)}}class pi{constructor(e){h(this,"draw"),h(this,"wordCountWorker"),h(this,"catalogWorker"),h(this,"groupWorker"),this.draw=e,this.wordCountWorker=new si,this.catalogWorker=new ci,this.groupWorker=new hi}getWordCount(){return new Promise((e,t)=>{this.wordCountWorker.onmessage=t=>{e(t.data)},this.wordCountWorker.onerror=e=>{t(e)};const n=this.draw.getOriginalMainElementList();this.wordCountWorker.postMessage(n)})}getCatalog(){return new Promise((e,t)=>{this.catalogWorker.onmessage=t=>{e(t.data)},this.catalogWorker.onerror=e=>{t(e)};const n=this.draw.getOriginalMainElementList(),r=this.draw.getPosition().getOriginalMainPositionList();this.catalogWorker.postMessage({elementList:n,positionList:r})})}getGroupIds(){return new Promise((e,t)=>{this.groupWorker.onmessage=t=>{e(t.data)},this.groupWorker.onerror=e=>{t(e)};const n=this.draw.getOriginalMainElementList();this.groupWorker.postMessage(n)})}}class fi{constructor(e){h(this,"container"),h(this,"canvas"),h(this,"draw"),h(this,"options"),h(this,"curElement"),h(this,"curElementSrc"),h(this,"previewerDrawOption"),h(this,"curPosition"),h(this,"resizerSelection"),h(this,"resizerHandleList"),h(this,"resizerImageContainer"),h(this,"resizerImage"),h(this,"resizerSize"),h(this,"width"),h(this,"height"),h(this,"mousedownX"),h(this,"mousedownY"),h(this,"curHandleIndex"),h(this,"previewerContainer"),h(this,"previewerImage"),h(this,"_keydown",()=>{"block"===this.resizerSelection.style.display&&(this.clearResizer(),document.removeEventListener("keydown",this._keydown))}),this.container=e.getContainer(),this.canvas=e.getPage(),this.draw=e,this.options=e.getOptions(),this.curElement=null,this.curElementSrc="",this.previewerDrawOption={},this.curPosition=null;const{resizerSelection:t,resizerHandleList:n,resizerImageContainer:r,resizerImage:i,resizerSize:o}=this._createResizerDom();this.resizerSelection=t,this.resizerHandleList=n,this.resizerImageContainer=r,this.resizerImage=i,this.resizerSize=o,this.width=0,this.height=0,this.mousedownX=0,this.mousedownY=0,this.curHandleIndex=0,this.previewerContainer=null,this.previewerImage=null}_getElementPosition(e,t=null){var n;let r=0,i=0;const o=this.draw.getHeight(),s=this.draw.getPageGap(),a=null!=(n=null==t?void 0:t.pageNo)?n:this.draw.getPageNo(),l=a*(o+s);if(e.imgFloatPosition)r=e.imgFloatPosition.x,i=e.imgFloatPosition.y+l;else if(t){const{coordinate:{leftTop:[e,n]},ascent:o}=t;r=e,i=n+l+o}return{x:r,y:i}}_createResizerDom(){const{scale:e}=this.options,t=document.createElement("div");t.classList.add(ce+"-resizer-selection"),t.style.display="none",t.style.borderColor=this.options.resizerColor,t.style.borderWidth=e+"px";const n=[];for(let a=0;a<8;a++){const e=document.createElement("div");e.style.background=this.options.resizerColor,e.classList.add("resizer-handle"),e.classList.add("handle-"+a),e.setAttribute("data-index",String(a)),e.onmousedown=this._mousedown.bind(this),t.append(e),n.push(e)}this.container.append(t);const r=document.createElement("div");r.classList.add(ce+"-resizer-size-view");const i=document.createElement("span");r.append(i),t.append(r);const o=document.createElement("div");o.classList.add(ce+"-resizer-image"),o.style.display="none";const s=document.createElement("img");return o.append(s),this.container.append(o),{resizerSelection:t,resizerHandleList:n,resizerImageContainer:o,resizerImage:s,resizerSize:i}}_mousedown(e){if(this.canvas=this.draw.getPage(),!this.curElement)return;const{scale:t}=this.options;this.mousedownX=e.x,this.mousedownY=e.y;const n=e.target;this.curHandleIndex=Number(n.dataset.index);const r=window.getComputedStyle(n).cursor;document.body.style.cursor=r,this.canvas.style.cursor=r,this.resizerImage.src=this.curElementSrc,this.resizerImageContainer.style.display="block";const{x:i,y:o}=this._getElementPosition(this.curElement,this.curPosition);this.resizerImageContainer.style.left=i+"px",this.resizerImageContainer.style.top=o+"px",this.resizerImage.style.width=this.curElement.width*t+"px",this.resizerImage.style.height=this.curElement.height*t+"px";const s=this._mousemove.bind(this);document.addEventListener("mousemove",s),document.addEventListener("mouseup",()=>{var e;this.curElement&&!this.previewerDrawOption.dragDisable&&(this.curElement.width=this.width,this.curElement.height=this.height,this.draw.render({isSetCursor:!0,curIndex:null==(e=this.curPosition)?void 0:e.index})),this.resizerImageContainer.style.display="none",document.removeEventListener("mousemove",s),document.body.style.cursor="",this.canvas.style.cursor="text"},{once:!0}),e.preventDefault()}_mousemove(e){if(!this.curElement||this.previewerDrawOption.dragDisable)return;const{scale:t}=this.options;let n=0,r=0;switch(this.curHandleIndex){case 0:{const t=this.mousedownX-e.x,i=this.mousedownY-e.y;n=Math.cbrt(t**3+i**3),r=this.curElement.height*n/this.curElement.width}break;case 1:r=this.mousedownY-e.y;break;case 2:{const t=e.x-this.mousedownX,i=this.mousedownY-e.y;n=Math.cbrt(t**3+i**3),r=this.curElement.height*n/this.curElement.width}break;case 4:{const t=e.x-this.mousedownX,i=e.y-this.mousedownY;n=Math.cbrt(t**3+i**3),r=this.curElement.height*n/this.curElement.width}break;case 3:n=e.x-this.mousedownX;break;case 5:r=e.y-this.mousedownY;break;case 6:{const t=this.mousedownX-e.x,i=e.y-this.mousedownY;n=Math.cbrt(t**3+i**3),r=this.curElement.height*n/this.curElement.width}break;case 7:n=this.mousedownX-e.x;break}const i=this.curElement.width+n/t,o=this.curElement.height+r/t;if(i<=0||o<=0)return;this.width=i,this.height=o;const s=i*t,a=o*t;this.resizerImage.style.width=s+"px",this.resizerImage.style.height=a+"px",this._updateResizerRect(s,a),this._updateResizerSizeView(s,a),e.preventDefault()}_drawPreviewer(){const e=document.createElement("div");e.classList.add(ce+"-image-previewer");const t=document.createElement("i");t.classList.add("image-close"),t.onclick=()=>{this._clearPreviewer()},e.append(t);const n=document.createElement("div");n.classList.add(ce+"-image-container");const r=document.createElement("img");r.src=this.curElementSrc,r.draggable=!1,n.append(r),this.previewerImage=r,e.append(n);let i=0,o=0,s=1,a=0;const l=document.createElement("div");l.classList.add(ce+"-image-menu");const c=document.createElement("i");c.classList.add("zoom-in"),c.onclick=()=>{s+=.1,this._setPreviewerTransform(s,a,i,o)},l.append(c);const u=document.createElement("i");u.onclick=()=>{s-.1<=.1||(s-=.1,this._setPreviewerTransform(s,a,i,o))},u.classList.add("zoom-out"),l.append(u);const d=document.createElement("i");d.classList.add("rotate"),d.onclick=()=>{a+=1,this._setPreviewerTransform(s,a,i,o)},l.append(d);const h=document.createElement("i");h.classList.add("original-size"),h.onclick=()=>{i=0,o=0,s=1,a=0,this._setPreviewerTransform(s,a,i,o)},l.append(h);const p=document.createElement("i");p.classList.add("image-download"),p.onclick=()=>{var e;const{mime:t}=this.previewerDrawOption;V(r.src,`${null==(e=this.curElement)?void 0:e.id}.${t||"png"}`)},l.append(p),e.append(l),this.previewerContainer=e,document.body.append(e);let f=0,m=0,A=!1;r.onmousedown=t=>{A=!0,f=t.x,m=t.y,e.style.cursor="move"},e.onmousemove=e=>{A&&(i+=e.x-f,o+=e.y-m,f=e.x,m=e.y,this._setPreviewerTransform(s,a,i,o))},e.onmouseup=()=>{A=!1,e.style.cursor="auto"},e.onwheel=e=>{if(e.preventDefault(),e.stopPropagation(),e.deltaY<0)s+=.1;else{if(s-.1<=.1)return;s-=.1}this._setPreviewerTransform(s,a,i,o)}}_setPreviewerTransform(e,t,n,r){this.previewerImage&&(this.previewerImage.style.left=n+"px",this.previewerImage.style.top=r+"px",this.previewerImage.style.transform=`scale(${e}) rotate(${90*t}deg)`)}_clearPreviewer(){var e;null==(e=this.previewerContainer)||e.remove(),this.previewerContainer=null,document.body.style.overflow="auto"}_updateResizerRect(e,t){const{resizerSize:n,scale:r}=this.options,i=this.draw.isReadonly();this.resizerSelection.style.width=e+"px",this.resizerSelection.style.height=t+"px";for(let o=0;o<8;o++){const s=0===o||6===o||7===o?-n:1===o||5===o?e/2:e-n,a=0===o||1===o||2===o?-n:3===o||7===o?t/2-n:t-n;this.resizerHandleList[o].style.transform=`scale(${r})`,this.resizerHandleList[o].style.left=s+"px",this.resizerHandleList[o].style.top=a+"px",this.resizerHandleList[o].style.display=i?"none":"block"}}_updateResizerSizeView(e,t){this.resizerSize.innerText=`${Math.round(e)} × ${Math.round(t)}`}render(){this._drawPreviewer(),document.body.style.overflow="hidden"}drawResizer(e,t=null,n={}){this.previewerDrawOption=n,this.curElementSrc=e[n.srcKey||"value"]||"",this.updateResizer(e,t),document.addEventListener("keydown",this._keydown)}updateResizer(e,t=null){const{scale:n}=this.options,r=e.width*n,i=e.height*n;this._updateResizerSizeView(r,i);const{x:o,y:s}=this._getElementPosition(e,t);this.resizerSelection.style.left=o+"px",this.resizerSelection.style.top=s+"px",this.resizerSelection.style.borderWidth=n+"px",this._updateResizerRect(r,i),this.resizerSelection.style.display="block",this.curElement=e,this.curPosition=t,this.width=r,this.height=i}clearResizer(){this.resizerSelection.style.display="none",document.removeEventListener("keydown",this._keydown)}}class mi{constructor(e){h(this,"draw"),h(this,"range"),h(this,"datePicker"),h(this,"options"),this.draw=e,this.options=e.getOptions(),this.range=e.getRange(),this.datePicker=new Jr(e,{onSubmit:this._setValue.bind(this)})}_setValue(e){if(!e)return;const t=this.getDateElementRange();if(!t)return;const[n,r]=t,i=this.draw.getElementList(),o=i[n+1];this.draw.spliceElementList(i,n+1,r-n),this.range.setRange(n,n);const s={type:he.DATE,value:"",dateFormat:o.dateFormat,valueList:[{value:e}]};rn(i,[s],n,{editorOptions:this.options}),this.draw.insertElementList([s])}getDateElementRange(){let e=-1,t=-1;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return null;const i=this.draw.getElementList(),o=i[n];if(o.type!==he.DATE)return null;let s=n;while(s>=0){const t=i[s];if(t.dateId!==o.dateId){e=s;break}s--}let a=n+1;while(a<i.length){const e=i[a];if(e.dateId!==o.dateId){t=a-1;break}a++}return a===i.length&&(t=a-1),~e&&~t?[e,t]:null}clearDatePicker(){this.datePicker.dispose()}renderDatePicker(e,t){const n=this.draw.getElementList(),r=this.getDateElementRange(),i=r?n.slice(r[0]+1,r[1]+1).map(e=>e.value).join(""):"";this.datePicker.render({value:i,position:t,dateFormat:e.dateFormat})}}var Ai;(function(e){e["IFRAME"]="iframe",e["VIDEO"]="video"})(Ai||(Ai={}));const gi=class{constructor(e){h(this,"element"),this.element=e}_defineIframeProperties(e){Object.defineProperties(e,{parent:{get:()=>null},__POWERED_BY_CANVAS_EDITOR__:{get:()=>!0}})}render(e){var t,n;const r=this.element.block,i=document.createElement("iframe");i.setAttribute("data-id",this.element.id),i.sandbox.add(...gi.sandbox),i.style.border="none",i.style.width="100%",i.style.height="100%",(null==(t=r.iframeBlock)?void 0:t.src)?i.src=r.iframeBlock.src:(null==(n=r.iframeBlock)?void 0:n.srcdoc)&&(i.srcdoc=r.iframeBlock.srcdoc),e.append(i),this._defineIframeProperties(i.contentWindow)}};let _i=gi;h(_i,"sandbox",["allow-scripts","allow-same-origin"]);class bi{constructor(e){h(this,"element"),this.element=e}render(e){var t;const n=this.element.block,r=document.createElement("video");r.style.width="100%",r.style.height="100%",r.style.objectFit="contain",r.src=(null==(t=n.videoBlock)?void 0:t.src)||"",r.controls=!0,r.crossOrigin="anonymous",e.append(r)}}class vi{constructor(e,t){h(this,"draw"),h(this,"element"),h(this,"block"),h(this,"blockContainer"),h(this,"blockItem"),this.draw=e.getDraw(),this.blockContainer=e.getBlockContainer(),this.element=t,this.block=null,this.blockItem=this._createBlockItem(),this.blockContainer.append(this.blockItem)}getBlockElement(){return this.element}_createBlockItem(){const e=document.createElement("div");return e.classList.add(ce+"-block-item"),e}render(){const e=this.element.block;e.type===Ai.IFRAME?(this.block=new _i(this.element),this.block.render(this.blockItem)):e.type===Ai.VIDEO&&(this.block=new bi(this.element),this.block.render(this.blockItem))}setClientRects(e,t,n){const r=this.draw.getHeight(),i=this.draw.getPageGap(),o=e*(r+i),{metrics:s}=this.element;this.blockItem.style.width=s.width+"px",this.blockItem.style.height=s.height+"px",this.blockItem.style.left=t+"px",this.blockItem.style.top=o+n+"px"}remove(){this.blockItem.remove()}}class wi{constructor(e){h(this,"draw"),h(this,"container"),h(this,"blockContainer"),h(this,"blockMap"),this.draw=e,this.container=e.getContainer(),this.blockMap=new Map,this.blockContainer=this._createBlockContainer(),this.container.append(this.blockContainer)}_createBlockContainer(){const e=document.createElement("div");return e.classList.add(ce+"-block-container"),e}getDraw(){return this.draw}getBlockContainer(){return this.blockContainer}render(e,t,n,r){const i=t.id,o=this.blockMap.get(i);if(o)o.setClientRects(e,n,r);else{const o=new vi(this,t);o.render(),o.setClientRects(e,n,r),this.blockMap.set(i,o)}}clear(){if(!this.blockMap.size)return;const e=this.draw.getElementList(),t=[];for(let n=0;n<e.length;n++){const r=e[n];r.type===he.BLOCK&&t.push(r.id)}this.blockMap.forEach(e=>{const n=e.getBlockElement().id;t.includes(n)||(e.remove(),this.blockMap.delete(n))})}}const yi={global:{cut:"剪切",copy:"复制",paste:"粘贴",selectAll:"全选",print:"打印"},control:{delete:"删除控件"},hyperlink:{delete:"删除链接",cancel:"取消链接",edit:"编辑链接"},image:{change:"更改图片",saveAs:"另存为图片",textWrap:"文字环绕",textWrapType:{embed:"嵌入型",upDown:"上下型环绕",surround:"四周型环绕",floatTop:"浮于文字上方",floatBottom:"衬于文字下方"}},table:{insertRowCol:"插入行列",insertTopRow:"上方插入1行",insertBottomRow:"下方插入1行",insertLeftCol:"左侧插入1列",insertRightCol:"右侧插入1列",deleteRowCol:"删除行列",deleteRow:"删除1行",deleteCol:"删除1列",deleteTable:"删除整个表格",mergeCell:"合并单元格",mergeCancelCell:"取消合并",verticalAlign:"垂直对齐",verticalAlignTop:"顶端对齐",verticalAlignMiddle:"垂直居中",verticalAlignBottom:"底端对齐",border:"表格边框",borderAll:"所有框线",borderEmpty:"无框线",borderDash:"虚框线",borderExternal:"外侧框线",borderInternal:"内侧框线",borderTd:"单元格边框",borderTdTop:"上边框",borderTdRight:"右边框",borderTdBottom:"下边框",borderTdLeft:"左边框",borderTdForward:"正斜线",borderTdBack:"反斜线"}},Ri={now:"此刻",confirm:"确定",return:"返回日期",timeSelect:"时间选择",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},year:"年",month:"月",hour:"时",minute:"分",second:"秒"},Mi={header:"页眉",footer:"页脚"},Si={displayName:"分页符"},Ei={headerTip:"双击编辑页眉",footerTip:"双击编辑页脚"};var Ti={contextmenu:yi,datePicker:Ri,frame:Mi,pageBreak:Si,zone:Ei};const Ci={global:{cut:"Cut",copy:"Copy",paste:"Paste",selectAll:"Select all",print:"Print"},control:{delete:"Delete control"},hyperlink:{delete:"Delete hyperlink",cancel:"Cancel hyperlink",edit:"Edit hyperlink"},image:{change:"Change image",saveAs:"Save as image",textWrap:"Text wrap",textWrapType:{embed:"Embed",upDown:"Up down",surround:"Surround",floatTop:"Float above text",floatBottom:"Float below text"}},table:{insertRowCol:"Insert row col",insertTopRow:"Insert top 1 row",insertBottomRow:"Insert bottom 1 row",insertLeftCol:"Insert left 1 col",insertRightCol:"Insert right 1 col",deleteRowCol:"Delete row col",deleteRow:"Delete 1 row",deleteCol:"Delete 1 col",deleteTable:"Delete table",mergeCell:"Merge cell",mergeCancelCell:"Cancel merge cell",verticalAlign:"Vertical align",verticalAlignTop:"Top",verticalAlignMiddle:"Middle",verticalAlignBottom:"Bottom",border:"Table border",borderAll:"All",borderEmpty:"Empty",borderDash:"Dash",borderExternal:"External",borderInternal:"Internal",borderTd:"Table cell border",borderTdTop:"Top",borderTdRight:"Right",borderTdBottom:"Bottom",borderTdLeft:"Left",borderTdForward:"Forward",borderTdBack:"Back"}},Oi={now:"Now",confirm:"Confirm",return:"Return",timeSelect:"Time select",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},year:" ",month:" ",hour:"Hour",minute:"Minute",second:"Second"},xi={header:"Header",footer:"Footer"},Ni={displayName:"Page Break"},Li={headerTip:"Double click to edit header",footerTip:"Double click to edit footer"};var Ii={contextmenu:Ci,datePicker:Oi,frame:xi,pageBreak:Ni,zone:Li};class Pi{constructor(){h(this,"langMap",new Map([["zhCN",Ti],["en",Ii]])),h(this,"currentLocale","zhCN")}registerLangMap(e,t){const n=this.langMap.get(e);this.langMap.set(e,K(n||Ti,t))}getLocale(){return this.currentLocale}setLocale(e){this.currentLocale=e}getLang(){return this.langMap.get(this.currentLocale)||Ti}t(e){const t=e.split(".");let n="",r=this.getLang();for(let i=0;i<t.length;i++){const e=t[i],o=Reflect.get(r,e);if(!o)return"";n=r=o}return n}}class Di{constructor(){h(this,"promiseList"),this.promiseList=[]}add(e){this.promiseList.push(e)}clearAll(){this.promiseList=[]}allSettled(){return Promise.allSettled(this.promiseList)}}class Fi{constructor(e,t){h(this,"draw"),h(this,"zone"),h(this,"i18n"),h(this,"container"),h(this,"pageContainer"),h(this,"isDisableMouseMove"),h(this,"tipContainer"),h(this,"tipContent"),h(this,"currentMoveZone"),this.draw=e,this.zone=t,this.i18n=e.getI18n(),this.container=e.getContainer(),this.pageContainer=e.getPageContainer();const{tipContainer:n,tipContent:r}=this._drawZoneTip();this.tipContainer=n,this.tipContent=r,this.isDisableMouseMove=!0,this.currentMoveZone=Ht.MAIN;const i=[],{header:o,footer:s}=e.getOptions();o.disabled||i.push(Ht.HEADER),s.disabled||i.push(Ht.FOOTER),i.length&&this._watchMouseMoveZoneChange(i)}_watchMouseMoveZoneChange(e){this.pageContainer.addEventListener("mousemove",D(t=>{if(!this.isDisableMouseMove&&this.draw.getIsPagingMode()&&t.offsetY)if(t.target instanceof HTMLCanvasElement){const n=this.zone.getZoneByY(t.offsetY);if(!e.includes(n))return void this._updateZoneTip(!1);this.currentMoveZone=n,this._updateZoneTip(this.zone.getZone()===Ht.MAIN&&(n===Ht.HEADER||n===Ht.FOOTER),t.x,t.y)}else this._updateZoneTip(!1)},250)),this.pageContainer.addEventListener("mouseenter",()=>{this.isDisableMouseMove=!1}),this.pageContainer.addEventListener("mouseleave",()=>{this.isDisableMouseMove=!0,this._updateZoneTip(!1)})}_drawZoneTip(){const e=document.createElement("div");e.classList.add(ce+"-zone-tip");const t=document.createElement("span");return e.append(t),this.container.append(e),{tipContainer:e,tipContent:t}}_updateZoneTip(e,t,n){e?(this.tipContainer.classList.add("show"),this.tipContainer.style.left=t+"px",this.tipContainer.style.top=n+"px",this.tipContent.innerText=this.i18n.t("zone."+(this.currentMoveZone===Ht.HEADER?"headerTip":"footerTip"))):this.tipContainer.classList.remove("show")}}class ki{constructor(e){h(this,"INDICATOR_PADDING",2),h(this,"INDICATOR_TITLE_TRANSLATE",[20,5]),h(this,"draw"),h(this,"options"),h(this,"i18n"),h(this,"container"),h(this,"currentZone"),h(this,"indicatorContainer"),this.draw=e,this.i18n=e.getI18n(),this.options=e.getOptions(),this.container=e.getContainer(),this.currentZone=Ht.MAIN,this.indicatorContainer=null,this.options.zone.tipDisabled||new Fi(e,this)}isHeaderActive(){return this.getZone()===Ht.HEADER}isMainActive(){return this.getZone()===Ht.MAIN}isFooterActive(){return this.getZone()===Ht.FOOTER}getZone(){return this.currentZone}setZone(e){const{header:t,footer:n}=this.options;!t.editable&&e===Ht.HEADER||!n.editable&&e===Ht.FOOTER||this.currentZone!==e&&(this.currentZone=e,this.draw.getRange().clearRange(),this.draw.render({isSubmitHistory:!1,isSetCursor:!1,isCompute:!1}),this.drawZoneIndicator(),G(()=>{const t=this.draw.getListener();t.zoneChange&&t.zoneChange(e);const n=this.draw.getEventBus();n.isSubscribe("zoneChange")&&n.emit("zoneChange",e)}))}getZoneByY(e){const t=this.draw.getHeader(),n=t.getHeaderTop()+t.getHeight(),r=this.draw.getFooter(),i=this.draw.getHeight(),o=i-(r.getFooterBottom()+r.getHeight());return e<n?Ht.HEADER:e>o?Ht.FOOTER:Ht.MAIN}drawZoneIndicator(){if(this._clearZoneIndicator(),!this.isHeaderActive()&&!this.isFooterActive())return;const{scale:e}=this.options,t=this.isHeaderActive(),[n,r]=this.INDICATOR_TITLE_TRANSLATE,i=this.draw.getPageList(),o=this.draw.getMargins(),s=this.draw.getInnerWidth(),a=this.draw.getHeight(),l=this.draw.getPageGap(),c=a+l;this.indicatorContainer=document.createElement("div"),this.indicatorContainer.classList.add(ce+"-zone-indicator");const u=this.draw.getHeader(),d=this.draw.getFooter(),h=t?u.getHeight():d.getHeight(),p=t?u.getHeaderTop():a-d.getFooterBottom()-h;for(let f=0;f<i.length;f++){const i=c*f+p,a=o[3]-this.INDICATOR_PADDING,l=o[3]+s+this.INDICATOR_PADDING,u=t?i-this.INDICATOR_PADDING:i+h+this.INDICATOR_PADDING,d=t?i+h+this.INDICATOR_PADDING:i-this.INDICATOR_PADDING,m=document.createElement("div");m.innerText=this.i18n.t("frame."+(t?"header":"footer")),m.style.top=d+"px",m.style.transform=`translate(${n*e}px, ${r*e}px) scale(${e})`,this.indicatorContainer.append(m);const A=document.createElement("span");A.classList.add(ce+"-zone-indicator-border__top"),A.style.top=u+"px",A.style.width=s+"px",A.style.marginLeft=o[3]+"px",this.indicatorContainer.append(A);const g=document.createElement("span");g.classList.add(ce+"-zone-indicator-border__left"),g.style.top=i+"px",g.style.height=h+"px",g.style.left=a+"px",this.indicatorContainer.append(g);const _=document.createElement("span");_.classList.add(ce+"-zone-indicator-border__bottom"),_.style.top=d+"px",this.indicatorContainer.append(_);const b=document.createElement("span");b.classList.add(ce+"-zone-indicator-border__right"),b.style.top=i+"px",b.style.height=h+"px",b.style.left=l+"px",this.indicatorContainer.append(b)}this.container.append(this.indicatorContainer)}_clearZoneIndicator(){var e;null==(e=this.indicatorContainer)||e.remove(),this.indicatorContainer=null}}class Bi{constructor(e,t){h(this,"draw"),h(this,"position"),h(this,"options"),h(this,"elementList"),h(this,"rowList"),h(this,"positionList"),this.draw=e,this.position=e.getPosition(),this.options=e.getOptions(),this.elementList=t||[],this.rowList=[],this.positionList=[]}getRowList(){return this.rowList}setElementList(e){this.elementList=e}getElementList(){return this.elementList}getPositionList(){return this.positionList}compute(){this.recovery(),this._computeRowList(),this._computePositionList()}recovery(){this.rowList=[],this.positionList=[]}_computeRowList(){const e=this.draw.getInnerWidth();this.rowList=this.draw.computeRowList({innerWidth:e,elementList:this.elementList})}_computePositionList(){const e=this.getFooterBottom(),t=this.draw.getInnerWidth(),n=this.draw.getMargins(),r=n[3],i=this.draw.getHeight(),o=this.getHeight(),s=i-e-o;this.position.computePageRowPosition({positionList:this.positionList,rowList:this.rowList,pageNo:0,startRowIndex:0,startIndex:0,startX:r,startY:s,innerWidth:t,zone:Ht.FOOTER})}getFooterBottom(){const{footer:{bottom:e,disabled:t},scale:n}=this.options;return t?0:Math.floor(e*n)}getMaxHeight(){const{footer:{maxHeightRadio:e}}=this.options,t=this.draw.getHeight();return Math.floor(t*M[e])}getHeight(){const e=this.getMaxHeight(),t=this.getRowHeight();return t>e?e:t}getRowHeight(){return this.rowList.reduce((e,t)=>e+t.height,0)}getExtraHeight(){const e=this.draw.getMargins(),t=this.getHeight(),n=this.getFooterBottom(),r=n+t-e[2];return r<=0?0:r}render(e,t){e.globalAlpha=1;const n=this.draw.getInnerWidth(),r=this.getMaxHeight(),i=[];let o=0;for(let s=0;s<this.rowList.length;s++){const e=this.rowList[s];if(o+e.height>r)break;i.push(e),o+=e.height}this.draw.drawRow(e,{elementList:this.elementList,positionList:this.positionList,rowList:i,pageNo:t,startIndex:0,innerWidth:n,zone:Ht.FOOTER})}}class Ui{constructor(e){h(this,"draw"),h(this,"range"),h(this,"options"),h(this,"UN_COUNT_STYLE_WIDTH",20),h(this,"MEASURE_BASE_TEXT","0"),h(this,"LIST_GAP",10),this.draw=e,this.range=e.getRange(),this.options=e.getOptions()}setList(e,t){const n=this.draw.isReadonly();if(n)return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const o=this.range.getRangeParagraphElementList();if(!o||!o.length)return;const s=o.find(n=>n.listType===e&&n.listStyle===t);if(s||!e)return void this.unsetList();const a=H();o.forEach(n=>{n.listId=a,n.listType=e,n.listStyle=t});const l=r===i,c=l?i:r;this.draw.render({curIndex:c,isSetCursor:l})}unsetList(){var e;const t=this.draw.isReadonly();if(t)return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;const i=null==(e=this.range.getRangeParagraphElementList())?void 0:e.filter(e=>e.listId);if(!i||!i.length)return;const o=this.draw.getElementList(),s=o[r];if(s.listId){let e=r+1;while(e<o.length){const t=o[e];if(t.value===b&&!t.listWrap)break;if(t.listId!==s.listId){this.draw.spliceElementList(o,e,0,{value:b});break}e++}}i.forEach(e=>{delete e.listId,delete e.listType,delete e.listStyle,delete e.listWrap});const a=n===r,l=a?r:n;this.draw.render({curIndex:l,isSetCursor:a})}computeListStyle(e,t){const n=new Map;let r=0,i=t[r].listId,o=[];const s=t.length;while(r<s){const s=t[r];if(i&&i===s.listId)o.push(s);else if(s.listId&&s.listId!==i){if(o.length){const t=this.getListStyleWidth(e,o);n.set(i,t)}i=s.listId,o=i?[s]:[]}r++}if(o.length){const t=this.getListStyleWidth(e,o);n.set(i,t)}return n}getListStyleWidth(e,t){const{scale:n,checkbox:r}=this.options,i=t[0];if(i.listStyle&&i.listStyle!==nt.DECIMAL)return i.listStyle===nt.CHECKBOX?(r.width+this.LIST_GAP)*n:this.UN_COUNT_STYLE_WIDTH*n;const o=t.reduce((e,t)=>(t.value===b&&(e+=1),e),0);if(!o)return 0;const s=`${this.MEASURE_BASE_TEXT.repeat(String(o).length)}${Pn.PERIOD}`,a=e.measureText(s);return Math.ceil((a.width+this.LIST_GAP)*n)}drawListStyle(e,t,n){var r;const{elementList:i,offsetX:o,listIndex:s,ascent:a}=t,l=i[0];if(l.value!==b||l.listWrap)return;let c=0;const{defaultTabWidth:h,scale:p,defaultFont:f,defaultSize:m}=this.options;for(let u=1;u<i.length;u++){const e=i[u];if((null==e?void 0:e.type)!==he.TAB)break;c+=h*p}const{coordinate:{leftTop:[A,g]}}=n,_=A-o+c,v=g+a;if(l.listStyle===nt.CHECKBOX){const{width:n,height:i,gap:o}=this.options.checkbox,s=d(u({},l),{checkbox:{value:!!(null==(r=l.checkbox)?void 0:r.value)},metrics:d(u({},l.metrics),{width:(n+2*o)*p,height:i*p})});this.draw.getCheckboxParticle().render({ctx:e,x:_-o*p,y:v,index:0,row:d(u({},t),{elementList:[s,...t.elementList]})})}else{let t="";if(t=l.listType===$e.UL?rt[l.listStyle]||rt[et.DISC]:`${s+1}${Pn.PERIOD}`,!t)return;e.save(),e.font=`${m*p}px ${f}`,e.fillText(t,_,v),e.restore()}}}const Hi=class{constructor(e){h(this,"options"),this.options=e.getOptions()}render(e,t,n,r){const{scale:i,lineBreak:{color:o,lineWidth:s}}=this.options;e.save(),e.beginPath();const a=r-Hi.HEIGHT*i/2,l=n+t.metrics.width;e.translate(l,a),e.scale(i,i),e.strokeStyle=o,e.lineWidth=s,e.lineCap="round",e.lineJoin="round",e.beginPath(),e.moveTo(8,0),e.lineTo(12,0),e.lineTo(12,6),e.lineTo(3,6),e.moveTo(3,6),e.lineTo(6,3),e.moveTo(3,6),e.lineTo(6,9),e.stroke(),e.closePath(),e.restore()}};let ji=Hi;h(ji,"WIDTH",12),h(ji,"HEIGHT",9),h(ji,"GAP",3);class Vi{constructor(e){h(this,"draw"),h(this,"position"),h(this,"options"),h(this,"elementList"),h(this,"rowList"),h(this,"positionList"),this.draw=e,this.position=e.getPosition(),this.options=e.getOptions(),this.elementList=[],this.rowList=[],this.positionList=[]}_recovery(){this.elementList=[],this.rowList=[],this.positionList=[]}_compute(){this._computeRowList(),this._computePositionList()}_computeRowList(){const e=this.draw.getInnerWidth();this.rowList=this.draw.computeRowList({innerWidth:e,elementList:this.elementList})}_computePositionList(){const{lineBreak:e,scale:t}=this.options,n=this.draw.getHeader().getExtraHeight(),r=this.draw.getInnerWidth(),i=this.draw.getMargins();let o=i[3];e.disabled||(o+=(ji.WIDTH+ji.GAP)*t);const s=i[0]+n;this.position.computePageRowPosition({positionList:this.positionList,rowList:this.rowList,pageNo:0,startRowIndex:0,startIndex:0,startX:o,startY:s,innerWidth:r})}render(e){const{placeholder:{data:t,font:n,size:r,color:i,opacity:o}}=this.options;if(!t)return;this._recovery(),this.elementList=[{value:t,font:n,size:r,color:i}],Gt(this.elementList,{editorOptions:this.options,isForceCompensation:!0}),this._compute();const s=this.draw.getInnerWidth();e.save(),e.globalAlpha=o,this.draw.drawRow(e,{elementList:this.elementList,positionList:this.positionList,rowList:this.rowList,pageNo:0,startIndex:0,innerWidth:s,isDrawLineBreak:!1}),e.restore()}}class Wi{constructor(e){h(this,"draw"),h(this,"options"),h(this,"range"),h(this,"fillRectMap"),this.draw=e,this.options=e.getOptions(),this.range=e.getRange(),this.fillRectMap=new Map}setGroup(){if(this.draw.isReadonly()||this.draw.getZone().getZone()!==Ht.MAIN)return null;const e=this.range.getSelection();if(!e)return null;const t=H();return e.forEach(e=>{Array.isArray(e.groupIds)||(e.groupIds=[]),e.groupIds.push(t)}),this.draw.render({isSetCursor:!1,isCompute:!1}),t}getElementListByGroupId(e,t){var n,r;const i=[];for(let o=0;o<e.length;o++){const s=e[o];if(s.type===he.TABLE){const e=s.trList;for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.tdList.length;e++){const n=r.tdList[e],o=this.getElementListByGroupId(n.value,t);if(o.length)return i.push(...o),i}}}if(null==(n=null==s?void 0:s.groupIds)?void 0:n.includes(t)){i.push(s);const n=e[o+1];if(!(null==(r=null==n?void 0:n.groupIds)?void 0:r.includes(t)))break}}return i}deleteGroup(e){if(this.draw.isReadonly())return;const t=this.draw.getOriginalMainElementList(),n=this.getElementListByGroupId(t,e);if(n.length){for(let t=0;t<n.length;t++){const r=n[t],i=r.groupIds,o=i.findIndex(t=>t===e);i.splice(o,1),i.length||delete r.groupIds}this.draw.render({isSetCursor:!1,isCompute:!1})}}getContextByGroupId(e,t){var n,r;for(let i=0;i<e.length;i++){const o=e[i];if(o.type===he.TABLE){const e=o.trList;for(let n=0;n<e.length;n++){const r=e[n];for(let e=0;e<r.tdList.length;e++){const s=r.tdList[e],a=this.getContextByGroupId(s.value,t);if(a)return d(u({},a),{isTable:!0,index:i,trIndex:n,tdIndex:e,tdId:s.id,trId:r.id,tableId:o.tableId})}}}const s=e[i+1];if((null==(n=o.groupIds)?void 0:n.includes(t))&&!(null==(r=null==s?void 0:s.groupIds)?void 0:r.includes(t)))return{isTable:!1,startIndex:i,endIndex:i}}return null}clearFillInfo(){this.fillRectMap.clear()}recordFillInfo(e,t,n,r,i){const o=e.groupIds;if(o)for(const s of o){const e=this.fillRectMap.get(s);e?e.width+=r:this.fillRectMap.set(s,{x:t,y:n,width:r,height:i})}}render(e){var t;if(!this.fillRectMap.size)return;const n=this.range.getRange(),r=this.draw.getElementList(),i=null==(t=r[n.endIndex])?void 0:t.groupIds,{group:{backgroundColor:o,opacity:s,activeOpacity:a,activeBackgroundColor:l}}=this.options;e.save(),this.fillRectMap.forEach((t,n)=>{const{x:r,y:c,width:u,height:d}=t;(null==i?void 0:i.includes(n))?(e.globalAlpha=a,e.fillStyle=l):(e.globalAlpha=s,e.fillStyle=o),e.fillRect(r,c,u,d)}),e.restore(),this.clearFillInfo()}}class Yi{constructor(e){h(this,"draw"),h(this,"eventBus"),h(this,"pageContainer"),this.draw=e,this.eventBus=this.draw.getEventBus(),this.pageContainer=this.draw.getPageContainer(),this.pageContainer.addEventListener("mousemove",this._mousemove.bind(this)),this.pageContainer.addEventListener("mouseenter",this._mouseenter.bind(this)),this.pageContainer.addEventListener("mouseleave",this._mouseleave.bind(this))}_mousemove(e){this.eventBus.isSubscribe("mousemove")&&this.eventBus.emit("mousemove",e)}_mouseenter(e){this.eventBus.isSubscribe("mouseenter")&&this.eventBus.emit("mouseenter",e)}_mouseleave(e){this.eventBus.isSubscribe("mouseleave")&&this.eventBus.emit("mouseleave",e)}}class Qi{constructor(e){h(this,"draw"),h(this,"options"),this.draw=e,this.options=e.getOptions()}render(e,t){const{scale:n,lineNumber:{color:r,size:i,font:o,right:s,type:a}}=this.options,l=this.draw.getTextParticle(),c=this.draw.getMargins(),u=this.draw.getPosition().getOriginalMainPositionList(),d=this.draw.getPageRowList(),h=d[t];e.save(),e.fillStyle=r,e.font=`${i*n}px ${o}`;for(let p=0;p<h.length;p++){const t=h[p],{coordinate:{leftBottom:r}}=u[t.startIndex],i=a===Pt.PAGE?p+1:t.rowIndex+1,o=l.measureText(e,{value:""+i}),d=c[3]-(o.width+s)*n,f=r[1]-o.actualBoundingBoxAscent*n;e.fillText(""+i,d,f)}e.restore()}}class Xi{constructor(e){h(this,"draw"),h(this,"header"),h(this,"footer"),h(this,"options"),this.draw=e,this.header=e.getHeader(),this.footer=e.getFooter(),this.options=e.getOptions()}render(e){const{scale:t,pageBorder:{color:n,lineWidth:r,padding:i}}=this.options;e.save(),e.translate(.5,.5),e.strokeStyle=n,e.lineWidth=r*t;const o=this.draw.getMargins(),s=o[3]-i[3]*t,a=o[0]+this.header.getExtraHeight()-i[0]*t,l=this.draw.getInnerWidth()+(i[1]+i[3])*t,c=this.draw.getHeight()-a-this.footer.getExtraHeight()-o[2]+i[2]*t;e.rect(s,a,l,c),e.stroke(),e.restore()}}function Ki(e,t){const{value:n,oldValue:r}=t;r.isTable&&!n.isTable&&e.getTableTool().dispose()}class Gi{constructor(e){h(this,"draw"),h(this,"eventBus"),this.draw=e,this.eventBus=e.getEventBus(),this.execute()}execute(){this.eventBus.on("positionContextChange",e=>{Ki(this.draw,e)})}}class Zi{constructor(e){h(this,"draw"),h(this,"range"),h(this,"position"),h(this,"tableTool"),h(this,"tableParticle"),h(this,"options"),this.draw=e,this.range=e.getRange(),this.position=e.getPosition(),this.tableTool=e.getTableTool(),this.tableParticle=e.getTableParticle(),this.options=e.getOptions()}insertTable(e,t){var n;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const{defaultTrMinHeight:o}=this.options.table,s=this.draw.getElementList();let a=0;if(null==(n=s[r])?void 0:n.listId){const e=this.position.getPositionList(),{rowIndex:t}=e[r],n=this.draw.getRowList(),i=n[t];a=(null==i?void 0:i.offsetX)||0}const l=this.draw.getContextInnerWidth()-a,c=[],u=l/t;for(let f=0;f<t;f++)c.push({width:u});const d=[];for(let f=0;f<e;f++){const e=[],n={height:o,tdList:e};for(let r=0;r<t;r++)e.push({colspan:1,rowspan:1,value:[]});d.push(n)}const h={type:he.TABLE,value:"",colgroup:c,trList:d};Gt([h],{editorOptions:this.options}),rn(s,[h],r,{editorOptions:this.options});const p=r+1;this.draw.spliceElementList(s,p,r===i?0:i-r,h),this.range.setRange(p,p),this.draw.render({curIndex:p,isSetCursor:!1})}insertTableTopRow(){const e=this.position.getPositionContext();if(!e.isTable)return;const{index:t,trIndex:n,tableId:r}=e,i=this.draw.getOriginalElementList(),o=i[t],s=o.trList,a=s[n];if(a.tdList.length<o.colgroup.length){const e=a.tdList[0].rowIndex;for(let t=0;t<n;t++){const n=s[t];for(let t=0;t<n.tdList.length;t++){const r=n.tdList[t];r.rowspan>1&&r.rowIndex+r.rowspan>=e+1&&(r.rowspan+=1)}}}const l=H(),c={height:a.height,id:l,tdList:[]};for(let u=0;u<a.tdList.length;u++){const e=a.tdList[u],t=H();c.tdList.push({id:t,rowspan:1,colspan:e.colspan,value:[{value:b,size:16,tableId:r,trId:l,tdId:t}]})}s.splice(n,0,c),this.position.setPositionContext({isTable:!0,index:t,trIndex:n,tdIndex:0,tdId:c.tdList[0].id,trId:c.id,tableId:r}),this.range.setRange(0,0),this.draw.render({curIndex:0}),this.tableTool.render()}insertTableBottomRow(){const e=this.position.getPositionContext();if(!e.isTable)return;const{index:t,trIndex:n,tableId:r}=e,i=this.draw.getOriginalElementList(),o=i[t],s=o.trList,a=s[n],l=s.length-1===n?a:s[n+1];if(l.tdList.length<o.colgroup.length){const e=l.tdList[0].rowIndex;for(let t=0;t<n+1;t++){const n=s[t];for(let t=0;t<n.tdList.length;t++){const r=n.tdList[t];r.rowspan>1&&r.rowIndex+r.rowspan>=e+1&&(r.rowspan+=1)}}}const c=H(),u={height:l.height,id:c,tdList:[]};for(let d=0;d<l.tdList.length;d++){const e=l.tdList[d],t=H();u.tdList.push({id:t,rowspan:1,colspan:e.colspan,value:[{value:b,size:16,tableId:r,trId:c,tdId:t}]})}s.splice(n+1,0,u),this.position.setPositionContext({isTable:!0,index:t,trIndex:n+1,tdIndex:0,tdId:u.tdList[0].id,trId:u.id,tableId:o.id}),this.range.setRange(0,0),this.draw.render({curIndex:0})}adjustColWidth(e){if(e.type!==he.TABLE)return;const{defaultColMinWidth:t}=this.options.table,n=e.colgroup,r=n.reduce((e,t)=>e+t.width,0),i=this.draw.getOriginalInnerWidth();if(r>i){const e=n.filter(e=>e.width>t),o=(r-i)/e.length;for(let r=0;r<n.length;r++){const e=n[r];e.width-o>=t&&(e.width-=o)}}}insertTableLeftCol(){const e=this.position.getPositionContext();if(!e.isTable)return;const{index:t,tdIndex:n,tableId:r}=e,i=this.draw.getOriginalElementList(),o=i[t],s=o.trList,a=n;for(let u=0;u<s.length;u++){const e=s[u],t=H();e.tdList.splice(a,0,{id:t,rowspan:1,colspan:1,value:[{value:b,size:16,tableId:r,trId:e.id,tdId:t}]})}const{defaultColMinWidth:l}=this.options.table,c=o.colgroup;c.splice(a,0,{width:l}),this.adjustColWidth(o),this.position.setPositionContext({isTable:!0,index:t,trIndex:0,tdIndex:a,tdId:s[0].tdList[a].id,trId:s[0].id,tableId:r}),this.range.setRange(0,0),this.draw.render({curIndex:0}),this.tableTool.render()}insertTableRightCol(){const e=this.position.getPositionContext();if(!e.isTable)return;const{index:t,tdIndex:n,tableId:r}=e,i=this.draw.getOriginalElementList(),o=i[t],s=o.trList,a=n+1;for(let u=0;u<s.length;u++){const e=s[u],t=H();e.tdList.splice(a,0,{id:t,rowspan:1,colspan:1,value:[{value:b,size:16,tableId:r,trId:e.id,tdId:t}]})}const{defaultColMinWidth:l}=this.options.table,c=o.colgroup;c.splice(a,0,{width:l}),this.adjustColWidth(o),this.position.setPositionContext({isTable:!0,index:t,trIndex:0,tdIndex:a,tdId:s[0].tdList[a].id,trId:s[0].id,tableId:o.id}),this.range.setRange(0,0),this.draw.render({curIndex:0})}deleteTableRow(){const e=this.position.getPositionContext();if(!e.isTable)return;const{index:t,trIndex:n,tdIndex:r}=e,i=this.draw.getOriginalElementList(),o=i[t],s=o.trList,a=s[n],l=a.tdList[r].rowIndex;if(s.length<=1)this.deleteTable();else{for(let e=0;e<l;e++){const t=s[e],n=t.tdList;for(let e=0;e<n.length;e++){const t=n[e];t.rowIndex+t.rowspan>l&&t.rowspan--}}for(let e=0;e<a.tdList.length;e++){const t=a.tdList[e];if(t.rowspan>1){const r=H(),i=s[n+1];i.tdList.splice(e,0,{id:r,rowspan:t.rowspan-1,colspan:t.colspan,value:[{value:b,size:16,tableId:o.id,trId:i.id,tdId:r}]})}}s.splice(n,1),this.position.setPositionContext({isTable:!1}),this.range.clearRange(),this.draw.render({curIndex:e.index}),this.tableTool.dispose()}}deleteTableCol(){var e;const t=this.position.getPositionContext();if(!t.isTable)return;const{index:n,tdIndex:r,trIndex:i}=t,o=this.draw.getOriginalElementList(),s=o[n],a=s.trList,l=a[i].tdList[r],c=l.colIndex,u=a.find(e=>e.tdList.length>1);if(u){for(let e=0;e<a.length;e++){const t=a[e];for(let e=0;e<t.tdList.length;e++){const n=t.tdList[e];n.colIndex<=c&&n.colIndex+n.colspan>c&&(n.colspan>1?n.colspan--:t.tdList.splice(e,1))}}null==(e=s.colgroup)||e.splice(c,1),this.position.setPositionContext({isTable:!1}),this.range.setRange(0,0),this.draw.render({curIndex:t.index}),this.tableTool.dispose()}else this.deleteTable()}deleteTable(){const e=this.position.getPositionContext();if(!e.isTable)return;const t=this.draw.getOriginalElementList();t.splice(e.index,1);const n=e.index-1;this.position.setPositionContext({isTable:!1,index:n}),this.range.setRange(n,n),this.draw.render({curIndex:n}),this.tableTool.dispose()}mergeTableCell(){const e=this.position.getPositionContext();if(!e.isTable)return;const{isCrossRowCol:t,startTdIndex:n,endTdIndex:r,startTrIndex:i,endTrIndex:o}=this.range.getRange();if(!t)return;const{index:s}=e,a=this.draw.getOriginalElementList(),l=a[s],c=l.trList;let h=c[i].tdList[n],p=c[o].tdList[r];(h.x>p.x||h.y>p.y)&&([h,p]=[p,h]);const f=h.colIndex,m=p.colIndex+(p.colspan-1),A=h.rowIndex,g=p.rowIndex+(p.rowspan-1),_=[];for(let u=0;u<c.length;u++){const e=c[u],t=[];for(let n=0;n<e.tdList.length;n++){const r=e.tdList[n],i=r.colIndex,o=r.rowIndex;i>=f&&i<=m&&o>=A&&o<=g&&t.push(r)}t.length&&_.push(t)}if(!_.length)return;const b=_[_.length-1],v=_[0][0],w=b[b.length-1],y=v.x,R=v.y,M=w.x+w.width,S=w.y+w.height;for(let u=0;u<_.length;u++){const e=_[u];for(let t=0;t<e.length;t++){const n=e[t],r=n.x,i=n.y,o=r+n.width,s=i+n.height;if(y>r||R>i||M<o||S<s)return}}const E=[],T=_[0][0];for(let u=0;u<_.length;u++){const e=_[u];for(let t=0;t<e.length;t++){const n=e[t],r=0===u&&0===t;r||E.push(n.id),0===u&&0!==t&&(T.colspan+=n.colspan),0!==u&&T.colIndex===n.colIndex&&(T.rowspan+=n.rowspan)}}for(let u=0;u<c.length;u++){const e=c[u];let t=0;while(t<e.tdList.length){const n=e.tdList[t];E.includes(n.id)&&(e.tdList.splice(t,1),t--),t++}}this.position.setPositionContext(d(u({},e),{trIndex:T.trIndex,tdIndex:T.tdIndex}));const C=T.value.length-1;this.range.setRange(C,C),this.draw.render(),this.tableTool.render()}cancelMergeTableCell(){const e=this.position.getPositionContext();if(!e.isTable)return;const{index:t,tdIndex:n,trIndex:r}=e,i=this.draw.getOriginalElementList(),o=i[t],s=o.trList,a=s[r],l=a.tdList[n];if(1===l.rowspan&&1===l.colspan)return;const c=l.colspan;if(l.colspan>1){for(let e=1;e<l.colspan;e++){const t=H();a.tdList.splice(n+e,0,{id:t,rowspan:1,colspan:1,value:[{value:b,size:16,tableId:o.id,trId:a.id,tdId:t}]})}l.colspan=1}if(l.rowspan>1){for(let e=1;e<l.rowspan;e++){const t=s[r+e];for(let e=0;e<c;e++){const e=H();t.tdList.splice(l.colIndex,0,{id:e,rowspan:1,colspan:1,value:[{value:b,size:16,tableId:o.id,trId:t.id,tdId:e}]})}}l.rowspan=1}const u=l.value.length-1;this.range.setRange(u,u),this.draw.render(),this.tableTool.render()}tableTdVerticalAlign(e){const t=this.tableParticle.getRangeRowCol();if(!t)return;for(let r=0;r<t.length;r++){const n=t[r];for(let t=0;t<n.length;t++){const r=n[t];r&&r.verticalAlign!==e&&(r.verticalAlign||e!==_t.TOP)&&(r.verticalAlign=e)}}const{endIndex:n}=this.range.getRange();this.draw.render({curIndex:n})}tableBorderType(e){const t=this.position.getPositionContext();if(!t.isTable)return;const{index:n}=t,r=this.draw.getOriginalElementList(),i=r[n];if(!i.borderType&&e===_r.ALL||i.borderType===e)return;i.borderType=e;const{endIndex:o}=this.range.getRange();this.draw.render({curIndex:o})}tableBorderColor(e){const t=this.position.getPositionContext();if(!t.isTable)return;const{index:n}=t,r=this.draw.getOriginalElementList(),i=r[n];if(!i.borderColor&&e===this.options.table.defaultBorderColor||i.borderColor===e)return;i.borderColor=e;const{endIndex:o}=this.range.getRange();this.draw.render({curIndex:o,isCompute:!1})}tableTdBorderType(e){const t=this.tableParticle.getRangeRowCol();if(!t)return;const n=t.flat(),r=n.some(t=>{var n;return!(null==(n=t.borderTypes)?void 0:n.includes(e))});n.forEach(t=>{t.borderTypes||(t.borderTypes=[]);const n=t.borderTypes.findIndex(t=>t===e);r?~n||t.borderTypes.push(e):~n&&t.borderTypes.splice(n,1),t.borderTypes.length||delete t.borderTypes});const{endIndex:i}=this.range.getRange();this.draw.render({curIndex:i})}tableTdSlashType(e){const t=this.tableParticle.getRangeRowCol();if(!t)return;const n=t.flat(),r=n.some(t=>{var n;return!(null==(n=t.slashTypes)?void 0:n.includes(e))});n.forEach(t=>{t.slashTypes||(t.slashTypes=[]);const n=t.slashTypes.findIndex(t=>t===e);r?~n||t.slashTypes.push(e):~n&&t.slashTypes.splice(n,1),t.slashTypes.length||delete t.slashTypes});const{endIndex:i}=this.range.getRange();this.draw.render({curIndex:i})}tableTdBackgroundColor(e){const t=this.tableParticle.getRangeRowCol();if(!t)return;for(let r=0;r<t.length;r++){const n=t[r];for(let t=0;t<n.length;t++){const r=n[t];r.backgroundColor=e}}const{endIndex:n}=this.range.getRange();this.range.setRange(n,n),this.draw.render({isCompute:!1})}tableSelectAll(){const e=this.position.getPositionContext(),{index:t,tableId:n,isTable:r}=e;if(!r||!n)return;const{startIndex:i,endIndex:o}=this.range.getRange(),s=this.draw.getOriginalElementList(),a=s[t].trList,l=a.length-1,c=a[l].tdList.length-1;this.range.replaceRange({startIndex:i,endIndex:o,tableId:n,startTdIndex:0,endTdIndex:c,startTrIndex:0,endTrIndex:l}),this.draw.render({isCompute:!1,isSubmitHistory:!1})}}var zi;(function(e){e["EDIT"]="edit",e["READONLY"]="readonly",e["FORM"]="form"})(zi||(zi={}));class qi{constructor(e){h(this,"draw"),h(this,"zone"),h(this,"range"),h(this,"position"),h(this,"areaInfoMap",new Map),this.draw=e,this.zone=e.getZone(),this.range=e.getRange(),this.position=e.getPosition()}getAreaInfo(){return this.areaInfoMap}getActiveAreaId(){if(!this.areaInfoMap.size)return null;const{startIndex:e}=this.range.getRange(),t=this.draw.getElementList(),n=t[e];return(null==n?void 0:n.areaId)||null}getActiveAreaInfo(){const e=this.getActiveAreaId();return e&&this.areaInfoMap.get(e)||null}isReadonly(){const e=this.getActiveAreaInfo();if(!(null==e?void 0:e.area))return!1;switch(e.area.mode){case zi.EDIT:return!1;case zi.READONLY:return!0;case zi.FORM:return!this.draw.getControl().getIsRangeWithinControl();default:return!1}}insertArea(e){this.zone.getZone()!==Ht.MAIN&&this.zone.setZone(Ht.MAIN),this.draw.getPosition().setPositionContext({isTable:!1});const{id:t,value:n,area:r,position:i}=e;if(i===g.BEFORE)this.range.setRange(0,0);else{const e=this.draw.getOriginalMainElementList(),t=e.length-1;this.range.setRange(t,t)}const o=t||H();return this.draw.insertElementList([{type:he.AREA,value:"",areaId:o,valueList:n,area:k(r)}]),o}render(e,t){if(!this.areaInfoMap.size)return;e.save();const n=this.draw.getMargins(),r=this.draw.getInnerWidth();for(const i of this.areaInfoMap){const{area:o,positionList:s}=i[1];if(!(null==o?void 0:o.backgroundColor)&&!(null==o?void 0:o.borderColor))continue;const a=s.filter(e=>e.pageNo===t);if(!a.length)continue;e.translate(.5,.5);const l=a[0],c=a[a.length-1],u=n[3],d=Math.ceil(l.coordinate.leftTop[1]),h=Math.ceil(c.coordinate.rightBottom[1]-d);o.backgroundColor&&(e.fillStyle=o.backgroundColor,e.fillRect(u,d,r,h)),o.borderColor&&(e.strokeStyle=o.borderColor,e.strokeRect(u,d,r,h))}e.restore()}compute(){this.areaInfoMap.clear();const e=this.draw.getOriginalMainElementList(),t=this.position.getOriginalMainPositionList();for(let n=0;n<e.length;n++){const r=e[n],i=r.areaId;if(i){const e=this.areaInfoMap.get(i);e?(e.elementList.push(r),e.positionList.push(t[n])):this.areaInfoMap.set(i,{id:i,area:r.area,elementList:[r],positionList:[t[n]]})}}}getAreaValue(e={}){const t=e.id||this.getActiveAreaId();if(!t)return null;const n=this.areaInfoMap.get(t);return n?{area:n.area,id:n.id,startPageNo:n.positionList[0].pageNo,endPageNo:n.positionList[n.positionList.length-1].pageNo,value:qt(n.elementList)}:null}setAreaProperties(e){const t=e.id||this.getActiveAreaId();if(!t)return;const n=this.areaInfoMap.get(t);if(!n)return;n.area||(n.area={});let r=!1;e.properties.mode&&(n.area.mode=e.properties.mode),e.properties.borderColor&&(n.area.borderColor=e.properties.borderColor),e.properties.backgroundColor&&(n.area.backgroundColor=e.properties.backgroundColor),ie(e.properties.top)||(r=!0,n.area.top=e.properties.top),this.draw.render({isCompute:r,isSetCursor:!1})}}class Ji{constructor(e){h(this,"draw"),h(this,"options"),h(this,"imageCache"),h(this,"mainBadge"),h(this,"areaBadgeMap"),this.draw=e,this.options=e.getOptions(),this.imageCache=new Map,this.mainBadge=null,this.areaBadgeMap=new Map}setMainBadge(e){this.mainBadge=e}setAreaBadgeMap(e){this.areaBadgeMap.clear(),e.forEach(e=>{this.areaBadgeMap.set(e.areaId,e.badge)})}_drawImage(e,t,n,r,i,o){if(this.imageCache.has(o)){const s=this.imageCache.get(o);e.drawImage(s,t,n,r,i)}else{const s=new Image;s.setAttribute("crossOrigin","Anonymous"),s.src=o,s.onload=()=>{this.imageCache.set(o,s),e.drawImage(s,t,n,r,i)}}}render(e,t){if(0===t&&this.mainBadge){const{scale:t,badge:n}=this.options,{left:r,top:i,width:o,height:s,value:a}=this.mainBadge,l=this.draw.getMargins()[0]+this.draw.getHeader().getExtraHeight(),c=(r||n.left)*t,u=(i||n.top)*t+l;this._drawImage(e,c,u,o*t,s*t,a)}if(this.areaBadgeMap.size){const n=this.draw.getArea().getAreaInfo();if(n.size){const{scale:r,badge:i}=this.options;for(const o of n){const{positionList:n}=o[1],s=n[0];if(s.pageNo!==t)continue;const a=this.areaBadgeMap.get(o[0]);if(!a)continue;const{left:l,top:c,width:u,height:d,value:h}=a,p=(l||i.left)*r,f=(c||i.top)*r+s.coordinate.leftTop[1];this._drawImage(e,p,f,u*r,d*r,h)}}}}}class $i{constructor(e,t,n,r,i,o){h(this,"container"),h(this,"pageContainer"),h(this,"pageList"),h(this,"ctxList"),h(this,"pageNo"),h(this,"pagePixelRatio"),h(this,"mode"),h(this,"options"),h(this,"position"),h(this,"zone"),h(this,"elementList"),h(this,"listener"),h(this,"eventBus"),h(this,"override"),h(this,"i18n"),h(this,"canvasEvent"),h(this,"globalEvent"),h(this,"cursor"),h(this,"range"),h(this,"margin"),h(this,"background"),h(this,"badge"),h(this,"search"),h(this,"group"),h(this,"area"),h(this,"underline"),h(this,"strikeout"),h(this,"highlight"),h(this,"historyManager"),h(this,"previewer"),h(this,"imageParticle"),h(this,"laTexParticle"),h(this,"textParticle"),h(this,"tableParticle"),h(this,"tableTool"),h(this,"tableOperate"),h(this,"pageNumber"),h(this,"lineNumber"),h(this,"waterMark"),h(this,"placeholder"),h(this,"header"),h(this,"footer"),h(this,"hyperlinkParticle"),h(this,"dateParticle"),h(this,"separatorParticle"),h(this,"pageBreakParticle"),h(this,"superscriptParticle"),h(this,"subscriptParticle"),h(this,"checkboxParticle"),h(this,"radioParticle"),h(this,"blockParticle"),h(this,"listParticle"),h(this,"lineBreakParticle"),h(this,"control"),h(this,"pageBorder"),h(this,"workerManager"),h(this,"scrollObserver"),h(this,"selectionObserver"),h(this,"imageObserver"),h(this,"LETTER_REG"),h(this,"WORD_LIKE_REG"),h(this,"rowList"),h(this,"pageRowList"),h(this,"painterStyle"),h(this,"painterOptions"),h(this,"visiblePageNoList"),h(this,"intersectionPageNo"),h(this,"lazyRenderIntersectionObserver"),h(this,"printModeData"),this.container=this._wrapContainer(e),this.pageList=[],this.ctxList=[],this.pageNo=0,this.pagePixelRatio=null,this.mode=t.mode,this.options=t,this.elementList=n.main,this.listener=r,this.eventBus=i,this.override=o,this._formatContainer(),this.pageContainer=this._createPageContainer(),this._createPage(0),this.i18n=new Pi,this.historyManager=new Sr(this),this.position=new Er(this),this.zone=new ki(this),this.range=new Tr(this),this.margin=new Nr(this),this.background=new Cr(this),this.badge=new Ji(this),this.search=new Lr(this),this.group=new Wi(this),this.area=new qi(this),this.underline=new Pr(this),this.strikeout=new Ir(this),this.highlight=new xr(this),this.previewer=new fi(this),this.imageParticle=new xe(this),this.laTexParticle=new Je(this),this.textParticle=new Dr(this),this.tableParticle=new Ur(this),this.tableTool=new Hr(this),this.tableOperate=new Zi(this),this.pageNumber=new Fr(this),this.lineNumber=new Qi(this),this.waterMark=new Kr(this),this.placeholder=new Vi(this),this.header=new Vr(this,n.header),this.footer=new Bi(this,n.footer),this.hyperlinkParticle=new jr(this),this.dateParticle=new mi(this),this.separatorParticle=new Qr(this),this.pageBreakParticle=new Xr(this),this.superscriptParticle=new Wr,this.subscriptParticle=new Yr,this.checkboxParticle=new ni(this),this.radioParticle=new ri(this),this.blockParticle=new wi(this),this.listParticle=new Ui(this),this.lineBreakParticle=new ji(this),this.control=new ti(this),this.pageBorder=new Xi(this),this.scrollObserver=new kr(this),this.selectionObserver=new Br(this),this.imageObserver=new Di,new Yi(this),this.canvasEvent=new Rr(this),this.cursor=new On(this,this.canvasEvent),this.canvasEvent.register(),this.globalEvent=new Mr(this,this.canvasEvent),this.globalEvent.register(),this.workerManager=new pi(this),new Gi(this);const{letterClass:s}=t;this.LETTER_REG=new RegExp(`[${s.join("")}]`),this.WORD_LIKE_REG=new RegExp(""+s.map(e=>`[^${e}][${e}]`).join("|")),this.rowList=[],this.pageRowList=[],this.painterStyle=null,this.painterOptions=null,this.visiblePageNoList=[],this.intersectionPageNo=0,this.lazyRenderIntersectionObserver=null,this.printModeData=null,this.render({isInit:!0,isSetCursor:!1,isFirstRender:!0})}getLetterReg(){return this.LETTER_REG}getMode(){return this.mode}setMode(e){if(this.mode!==e){if(e===Ut.PRINT){this.printModeData={header:this.header.getElementList(),main:this.elementList,footer:this.footer.getElementList()};const e=k(this.printModeData),t=["header","main","footer"];t.forEach(t=>{e[t]=this.control.filterAssistElement(e[t])}),this.setEditorData(e)}this.mode===Ut.PRINT&&this.printModeData&&(this.setEditorData(this.printModeData),this.printModeData=null),this.clearSideEffect(),this.range.clearRange(),this.mode=e,this.options.mode=e,this.render({isSetCursor:!1,isSubmitHistory:!1})}}isReadonly(){if(this.area.getActiveAreaId())return this.area.isReadonly();switch(this.mode){case Ut.DESIGN:return!1;case Ut.READONLY:case Ut.PRINT:return!0;case Ut.FORM:return!this.control.getIsRangeWithinControl();default:return!1}}isDisabled(){var e,t,n,r,i;if(this.mode===Ut.DESIGN)return!1;const{startIndex:o,endIndex:s}=this.range.getRange(),a=this.getElementList();if(null==(e=this.getTd())?void 0:e.disabled)return!0;if(o===s){const e=a[o],s=a[o+1];return!!((null==(t=null==e?void 0:e.title)?void 0:t.disabled)&&(null==(n=null==s?void 0:s.title)?void 0:n.disabled)||(null==(r=null==e?void 0:e.control)?void 0:r.disabled)&&(null==(i=null==s?void 0:s.control)?void 0:i.disabled))}const l=a.slice(o+1,s+1);return l.some(e=>{var t,n;return(null==(t=e.title)?void 0:t.disabled)||(null==(n=e.control)?void 0:n.disabled)})}isDesignMode(){return this.mode===Ut.DESIGN}getOriginalWidth(){const{paperDirection:e,width:t,height:n}=this.options;return e===Vt.VERTICAL?t:n}getOriginalHeight(){const{paperDirection:e,width:t,height:n}=this.options;return e===Vt.VERTICAL?n:t}getWidth(){return Math.floor(this.getOriginalWidth()*this.options.scale)}getHeight(){return Math.floor(this.getOriginalHeight()*this.options.scale)}getMainHeight(){const e=this.getHeight();return e-this.getMainOuterHeight()}getMainOuterHeight(){const e=this.getMargins(),t=this.header.getExtraHeight(),n=this.footer.getExtraHeight();return e[0]+e[2]+t+n}getCanvasWidth(e=-1){const t=this.getPage(e);return t.width}getCanvasHeight(e=-1){const t=this.getPage(e);return t.height}getInnerWidth(){const e=this.getWidth(),t=this.getMargins();return e-t[1]-t[3]}getOriginalInnerWidth(){const e=this.getOriginalWidth(),t=this.getOriginalMargins();return e-t[1]-t[3]}getContextInnerWidth(){const e=this.position.getPositionContext();if(e.isTable){const{index:t,trIndex:n,tdIndex:r}=e,i=this.getOriginalElementList(),o=i[t].trList[n].tdList[r],s=this.getTdPadding();return o.width-s[1]-s[3]}return this.getOriginalInnerWidth()}getMargins(){return this.getOriginalMargins().map(e=>e*this.options.scale)}getOriginalMargins(){const{margins:e,paperDirection:t}=this.options;return t===Vt.VERTICAL?e:[e[1],e[2],e[3],e[0]]}getPageGap(){return this.options.pageGap*this.options.scale}getOriginalPageGap(){return this.options.pageGap}getPageNumberBottom(){const{pageNumber:{bottom:e},scale:t}=this.options;return e*t}getMarginIndicatorSize(){return this.options.marginIndicatorSize*this.options.scale}getDefaultBasicRowMarginHeight(){return this.options.defaultBasicRowMarginHeight*this.options.scale}getTdPadding(){const{table:{tdPadding:e},scale:t}=this.options;return e.map(e=>e*t)}getContainer(){return this.container}getPageContainer(){return this.pageContainer}getVisiblePageNoList(){return this.visiblePageNoList}setVisiblePageNoList(e){this.visiblePageNoList=e,this.listener.visiblePageNoListChange&&this.listener.visiblePageNoListChange(this.visiblePageNoList),this.eventBus.isSubscribe("visiblePageNoListChange")&&this.eventBus.emit("visiblePageNoListChange",this.visiblePageNoList)}getIntersectionPageNo(){return this.intersectionPageNo}setIntersectionPageNo(e){this.intersectionPageNo=e,this.listener.intersectionPageNoChange&&this.listener.intersectionPageNoChange(this.intersectionPageNo),this.eventBus.isSubscribe("intersectionPageNoChange")&&this.eventBus.emit("intersectionPageNoChange",this.intersectionPageNo)}getPageNo(){return this.pageNo}setPageNo(e){this.pageNo=e}getPage(e=-1){return this.pageList[~e?e:this.pageNo]}getPageList(){return this.pageList}getPageCount(){return this.pageList.length}getTableRowList(e){const t=this.position.getPositionContext(),{index:n,trIndex:r,tdIndex:i}=t;return e[n].trList[r].tdList[i].rowList}getOriginalRowList(){const e=this.getZone();return e.isHeaderActive()?this.header.getRowList():e.isFooterActive()?this.footer.getRowList():this.rowList}getRowList(){const e=this.position.getPositionContext();return e.isTable?this.getTableRowList(this.getOriginalElementList()):this.getOriginalRowList()}getPageRowList(){return this.pageRowList}getCtx(){return this.ctxList[this.pageNo]}getOptions(){return this.options}getSearch(){return this.search}getGroup(){return this.group}getArea(){return this.area}getBadge(){return this.badge}getHistoryManager(){return this.historyManager}getPosition(){return this.position}getZone(){return this.zone}getRange(){return this.range}getLineBreakParticle(){return this.lineBreakParticle}getTextParticle(){return this.textParticle}getHeaderElementList(){return this.header.getElementList()}getTableElementList(e){var t;const n=this.position.getPositionContext(),{index:r,trIndex:i,tdIndex:o}=n;return(null==(t=e[r].trList)?void 0:t[i].tdList[o].value)||[]}getElementList(){const e=this.position.getPositionContext(),t=this.getOriginalElementList();return e.isTable?this.getTableElementList(t):t}getMainElementList(){const e=this.position.getPositionContext();return e.isTable?this.getTableElementList(this.elementList):this.elementList}getOriginalElementList(){const e=this.getZone();return e.isHeaderActive()?this.getHeaderElementList():e.isFooterActive()?this.getFooterElementList():this.elementList}getOriginalMainElementList(){return this.elementList}getFooterElementList(){return this.footer.getElementList()}getTd(){const e=this.position.getPositionContext(),{index:t,trIndex:n,tdIndex:r,isTable:i}=e;if(i){const e=this.getOriginalElementList();return e[t].trList[n].tdList[r]}return null}insertElementList(e){if(!e.length||!this.range.getIsCanInput())return;const{startIndex:t,endIndex:n}=this.range.getRange();if(!~t&&!~n)return;Gt(e,{isHandleFirstElement:!1,editorOptions:this.options});let r=-1,i=this.control.getActiveControl();if(!i&&this.control.getIsRangeWithinControl()&&(this.control.initControl(),i=this.control.getActiveControl()),i&&this.control.getIsRangeWithinControl())r=i.setValue(e,void 0,{isIgnoreDisabledRule:!0});else{const i=this.getElementList(),o=t===n,s=t+1;o||this.spliceElementList(i,s,n-t),this.spliceElementList(i,s,0,...e),r=t+e.length;const a=i[s-1];!e[0].listId||!a||a.listId||(null==a?void 0:a.value)!==b||a.type&&a.type!==he.TEXT||(i.splice(t,1),r-=1)}~r&&(this.range.setRange(r,r),this.render({curIndex:r}))}appendElementList(e,t={}){if(!e.length)return;let n;Gt(e,{isHandleFirstElement:!1,editorOptions:this.options});const{isPrepend:r}=t;r?(this.elementList.splice(1,0,...e),n=e.length):(this.elementList.push(...e),n=this.elementList.length-1),this.range.setRange(n,n),this.render({curIndex:n})}spliceElementList(e,t,n,...r){var i,o,s,a;const l=this.isDesignMode();if(n>0){const r=t+n,c=e[r],u=null==c?void 0:c.listId;if(u&&(null==(i=e[t-1])?void 0:i.listId)!==u){let t=r;while(t<e.length){const n=e[t];if(n.listId!==u||n.value===b)break;delete n.listId,delete n.listType,delete n.listStyle,t++}}if(this.control.getActiveControl())e.splice(t,n);else{const n=null==(o=this.getTd())?void 0:o.deletable;let i=r-1;while(i>=t){const t=e[i];(l||!1!==n&&!1!==(null==(s=null==t?void 0:t.control)?void 0:s.deletable)&&!1!==(null==(a=null==t?void 0:t.title)?void 0:a.deletable))&&e.splice(i,1),i--}}}for(let c=0;c<r.length;c++)e.splice(t+c,0,r[c])}getCanvasEvent(){return this.canvasEvent}getGlobalEvent(){return this.globalEvent}getListener(){return this.listener}getEventBus(){return this.eventBus}getOverride(){return this.override}getCursor(){return this.cursor}getPreviewer(){return this.previewer}getImageParticle(){return this.imageParticle}getTableTool(){return this.tableTool}getTableOperate(){return this.tableOperate}getTableParticle(){return this.tableParticle}getHeader(){return this.header}getFooter(){return this.footer}getHyperlinkParticle(){return this.hyperlinkParticle}getDateParticle(){return this.dateParticle}getListParticle(){return this.listParticle}getCheckboxParticle(){return this.checkboxParticle}getRadioParticle(){return this.radioParticle}getControl(){return this.control}getWorkerManager(){return this.workerManager}getImageObserver(){return this.imageObserver}getI18n(){return this.i18n}getRowCount(){return this.getRowList().length}async getDataURL(e={}){const{pixelRatio:t,mode:n}=e;t&&this.setPagePixelRatio(t);const r=this.mode,i=!!n&&r!==n;i&&this.setMode(n),this.render({isLazy:!1,isCompute:!1,isSetCursor:!1,isSubmitHistory:!1}),await this.imageObserver.allSettled();const o=this.pageList.map(e=>e.toDataURL());return t&&this.setPagePixelRatio(null),i&&this.setMode(r),o}getPainterStyle(){return this.painterStyle&&Object.keys(this.painterStyle).length?this.painterStyle:null}getPainterOptions(){return this.painterOptions}setPainterStyle(e,t){this.painterStyle=e,this.painterOptions=t||null,this.getPainterStyle()&&this.pageList.forEach(e=>e.style.cursor="copy")}setDefaultRange(){this.elementList.length&&setTimeout(()=>{const e=this.elementList.length-1;this.range.setRange(e,e),this.range.setRangeStyle()})}getIsPagingMode(){return this.options.pageMode===jt.PAGING}setPageMode(e){if(!e||this.options.pageMode===e)return;if(this.options.pageMode=e,e===jt.PAGING){const{height:e}=this.options,t=this.getPagePixelRatio(),n=this.pageList[0];n.style.height=e+"px",n.height=e*t,this._initPageContext(this.ctxList[0])}else this._disconnectLazyRender(),this.header.recovery(),this.footer.recovery(),this.zone.setZone(Ht.MAIN);const{startIndex:t}=this.range.getRange(),n=this.range.getIsCollapsed();this.render({isSetCursor:!0,curIndex:t,isSubmitHistory:!1}),n||this.cursor.drawCursor({isShow:!1}),setTimeout(()=>{this.listener.pageModeChange&&this.listener.pageModeChange(e),this.eventBus.isSubscribe("pageModeChange")&&this.eventBus.emit("pageModeChange",e)})}setPageScale(e){const t=this.getPagePixelRatio();this.options.scale=e;const n=this.getWidth(),r=this.getHeight();this.container.style.width=n+"px",this.pageList.forEach((e,i)=>{e.width=n*t,e.height=r*t,e.style.width=n+"px",e.style.height=r+"px",e.style.marginBottom=this.getPageGap()+"px",this._initPageContext(this.ctxList[i])});const i=this.position.getCursorPosition();this.render({isSubmitHistory:!1,isSetCursor:!!i,curIndex:null==i?void 0:i.index}),this.listener.pageScaleChange&&this.listener.pageScaleChange(e),this.eventBus.isSubscribe("pageScaleChange")&&this.eventBus.emit("pageScaleChange",e)}getPagePixelRatio(){return this.pagePixelRatio||window.devicePixelRatio}setPagePixelRatio(e){!this.pagePixelRatio&&e===window.devicePixelRatio||e===this.pagePixelRatio||(this.pagePixelRatio=e,this.setPageDevicePixel())}setPageDevicePixel(){const e=this.getPagePixelRatio(),t=this.getWidth(),n=this.getHeight();this.pageList.forEach((r,i)=>{r.width=t*e,r.height=n*e,this._initPageContext(this.ctxList[i])}),this.render({isSubmitHistory:!1,isSetCursor:!1})}setPaperSize(e,t){this.options.width=e,this.options.height=t;const n=this.getPagePixelRatio(),r=this.getWidth(),i=this.getHeight();this.container.style.width=r+"px",this.pageList.forEach((e,t)=>{e.width=r*n,e.height=i*n,e.style.width=r+"px",e.style.height=i+"px",this._initPageContext(this.ctxList[t])}),this.render({isSubmitHistory:!1,isSetCursor:!1})}setPaperDirection(e){const t=this.getPagePixelRatio();this.options.paperDirection=e;const n=this.getWidth(),r=this.getHeight();this.container.style.width=n+"px",this.pageList.forEach((e,i)=>{e.width=n*t,e.height=r*t,e.style.width=n+"px",e.style.height=r+"px",this._initPageContext(this.ctxList[i])}),this.render({isSubmitHistory:!1,isSetCursor:!1})}setPaperMargin(e){this.options.margins=e,this.render({isSubmitHistory:!1,isSetCursor:!1})}getValue(e={}){const{pageNo:t,extraPickAttrs:n}=e;let r=this.elementList;Number.isInteger(t)&&t>=0&&t<this.pageRowList.length&&(r=this.pageRowList[t].flatMap(e=>e.elementList));const i={header:qt(this.getHeaderElementList(),{extraPickAttrs:n}),main:qt(r,{extraPickAttrs:n,isClassifyArea:!0}),footer:qt(this.getFooterElementList(),{extraPickAttrs:n})};return{version:p,data:i,options:k(this.options)}}setValue(e,t){const{header:n,main:r,footer:i}=k(e);if(!n&&!r&&!i)return;const{isSetCursor:o=!1}=t||{},s=[n,r,i];s.forEach(e=>{e&&Gt(e,{editorOptions:this.options,isForceCompensation:!0})}),this.setEditorData({header:n,main:r,footer:i}),this.historyManager.recovery();const a=o?(null==r?void 0:r.length)?r.length-1:0:void 0;void 0!==a&&this.range.setRange(a,a),this.render({curIndex:a,isSetCursor:o,isFirstRender:!0})}setEditorData(e){const{header:t,main:n,footer:r}=e;t&&this.header.setElementList(t),n&&(this.elementList=n),r&&this.footer.setElementList(r)}_wrapContainer(e){const t=document.createElement("div");return e.append(t),t}_formatContainer(){this.container.style.position="relative",this.container.style.width=this.getWidth()+"px",this.container.setAttribute(le,kt.MAIN)}_createPageContainer(){const e=document.createElement("div");return e.classList.add(ce+"-page-container"),this.container.append(e),e}_createPage(e){const t=this.getWidth(),n=this.getHeight(),r=document.createElement("canvas");r.style.width=t+"px",r.style.height=n+"px",r.style.display="block",r.style.backgroundColor="#ffffff",r.style.marginBottom=this.getPageGap()+"px",r.setAttribute("data-index",String(e)),this.pageContainer.append(r);const i=this.getPagePixelRatio();r.width=t*i,r.height=n*i,r.style.cursor="text";const o=r.getContext("2d");this._initPageContext(o),this.pageList.push(r),this.ctxList.push(o)}_initPageContext(e){const t=this.getPagePixelRatio();e.scale(t,t),e.letterSpacing="0px",e.wordSpacing="0px",e.direction="ltr"}getElementFont(e,t=1){const{defaultSize:n,defaultFont:r}=this.options,i=e.font||r,o=e.actualSize||e.size||n;return`${e.italic?"italic ":""}${e.bold?"bold ":""}${o*t}px ${i}`}getElementSize(e){return e.actualSize||e.size||this.options.defaultSize}getElementRowMargin(e){var t;const{defaultBasicRowMarginHeight:n,defaultRowMargin:r,scale:i}=this.options;return n*(null!=(t=e.rowMargin)?t:r)*i}computeRowList(e){var t,n,r,i,o,s,a,l,c,u,d,h,p,f,m,g;const{innerWidth:v,elementList:w,isPagingMode:y=!1,isFromTable:R=!1,startX:M=0,startY:S=0,pageHeight:E=0,mainOuterHeight:C=0,surroundElementList:O=[]}=e,{defaultSize:x,defaultRowMargin:N,scale:L,table:{tdPadding:I,defaultTrMinHeight:P},defaultTabWidth:D}=this.options,F=this.getDefaultBasicRowMarginHeight(),B=document.createElement("canvas"),U=B.getContext("2d"),j=this.listParticle.computeListStyle(U,w),V=[];w.length&&V.push({width:0,height:0,ascent:0,elementList:[],startIndex:0,rowIndex:0,rowFlex:(null==(t=null==w?void 0:w[0])?void 0:t.rowFlex)||(null==(n=null==w?void 0:w[1])?void 0:n.rowFlex)});let W,Y=M,Q=S,X=0,K=0,G=0;for(let Z=0;Z<w.length;Z++){const e=V[V.length-1],t=w[Z],n=F*(null!=(r=t.rowMargin)?r:N),B={width:0,height:0,boundingBoxAscent:0,boundingBoxDescent:0},z=e.offsetX||t.listId&&j.get(t.listId)||0,q=v-z,J=1===e.elementList.length;if(Y+=J?z:0,Q+=J&&e.offsetY||0,t.type===he.IMAGE||t.type===he.LATEX){if(t.imgDisplay===A.SURROUND||t.imgDisplay===A.FLOAT_TOP||t.imgDisplay===A.FLOAT_BOTTOM)B.width=0,B.height=0,B.boundingBoxDescent=0;else{const e=t.width*L,n=t.height*L;if(e>q){const r=n*q/e;t.width=q/L,t.height=r/L,B.width=q,B.height=r,B.boundingBoxDescent=r}else B.width=e,B.height=n,B.boundingBoxDescent=n}B.boundingBoxAscent=0}else if(t.type===he.TABLE){const e=I[1]+I[3],r=I[0]+I[2];if(t.pagingId){let e=Z+1,n=0;while(e<w.length){const r=w[e];if(r.pagingId!==t.pagingId)break;{const i=r.trList.filter(e=>!e.pagingRepeat);t.trList.push(...i),t.height+=r.height,e++,n++}}n&&w.splice(Z+1,n)}t.pagingIndex=null!=(i=t.pagingIndex)?i:0;const l=t.trList;for(let t=0;t<l.length;t++){const e=l[t];e.height=e.minHeight||P}this.tableParticle.computeRowColInfo(t);for(let t=0;t<l.length;t++){const n=l[t];for(let i=0;i<n.tdList.length;i++){const o=n.tdList[i],s=this.computeRowList({innerWidth:(o.width-e)*L,elementList:o.value,isFromTable:!0,isPagingMode:y}),a=s.reduce((e,t)=>e+t.height,0);o.rowList=s;const c=a/L+r;if(o.height<c){const e=c-o.height,n=l[t+o.rowspan-1];n.height+=e,n.tdList.forEach(t=>{t.height+=e,t.realHeight?t.realHeight+=e:t.realHeight=t.height})}let u=0,d=0,h=0;while(h<o.rowspan){const e=l[h+t]||l[t];u+=e.minHeight,d+=e.height,h++}o.realMinHeight=u,o.realHeight=d,o.mainHeight=c}}const c=this.tableParticle.getTrListGroupByCol(l);for(let t=0;t<c.length;t++){const e=c[t];let n=-1;for(let t=0;t<e.tdList.length;t++){const r=e.tdList[t],i=r.realHeight,o=r.mainHeight,s=r.realMinHeight,a=o<s?i-s:i-o;(!~n||a<n)&&(n=a)}if(n>0){const e=l[t];e.height-=n,e.tdList.forEach(e=>{e.height-=n,e.realHeight-=n})}}this.tableParticle.computeRowColInfo(t);const u=this.tableParticle.getTableHeight(t),d=this.tableParticle.getTableWidth(t);t.width=d,t.height=u;const h=d*L,p=u*L;if(B.width=h,B.height=p,B.boundingBoxDescent=p,B.boundingBoxAscent=-n,(null==(o=w[Z+1])?void 0:o.type)===he.TABLE&&(B.boundingBoxAscent-=n),y){const e=this.getHeight(),r=this.getMainOuterHeight();let i=r;for(let t=0;t<V.length;t++){const n=V[t],o=n.offsetY||0;n.height+i+o>e||(null==(s=V[t-1])?void 0:s.isPageBreak)?i=r+n.height+o:i+=n.height+o}const o=2*n*L,l=t.trList[0].height*L;if((i+l+o>e||0!==t.pagingIndex&&t.trList[0].pagingRepeat)&&(i=r),i+o+p>e){const n=t.trList;let r=0,s=0,l=0;if(n.length>1)for(let c=0;c<n.length;c++){const u=n[c],d=u.height*L;if(i+o+l+d>e){const e=u.tdList.reduce((e,t)=>e+t.colspan,0);(null==(a=t.colgroup)?void 0:a.length)!==e&&(s=0);break}r=c+1,s=n.length-r,l+=d}if(s){const e=n.splice(r,s),i=e.reduce((e,t)=>e+t.height,0),o=i*L,a=t.pagingId||H();t.pagingId=a,t.height-=i,B.height-=o,B.boundingBoxDescent-=o;const l=k(t);l.pagingId=a,l.pagingIndex=t.pagingIndex+1;const c=n.filter(e=>e.pagingRepeat);if(c.length){const t=k(c);t.forEach(e=>e.id=H()),e.unshift(...t)}l.trList=e,l.id=H(),this.spliceElementList(w,Z+1,0,l)}}if(t.pagingId){const e=this.position.getPositionContext();if(e.isTable){let n=-1,r=-1,i=Z;while(i<w.length){const o=w[i];if(o.pagingId!==t.pagingId)break;const s=o.trList.findIndex(t=>t.id===e.trId);if(~s){n=i,r=s;break}i++}~n&&(e.index=n,e.trIndex=r,this.position.setPositionContext(e))}}}}else if(t.type===he.SEPARATOR){const{separator:{lineWidth:e}}=this.options;t.width=q/L,B.width=q,B.height=e*L,B.boundingBoxAscent=-n,B.boundingBoxDescent=-n+B.height}else if(t.type===he.PAGE_BREAK)t.width=q/L,B.width=q,B.height=x;else if(t.type===he.RADIO||t.controlComponent===ht.RADIO){const{width:e,height:n,gap:r}=this.options.radio,i=e+2*r;t.width=i,B.width=i*L,B.height=n*L}else if(t.type===he.CHECKBOX||t.controlComponent===ht.CHECKBOX){const{width:e,height:n,gap:r}=this.options.checkbox,i=e+2*r;t.width=i,B.width=i*L,B.height=n*L}else if(t.type===he.TAB)B.width=D*L,B.height=x*L,B.boundingBoxDescent=0,B.boundingBoxAscent=B.height;else if(t.type===he.BLOCK){if(t.width){const e=t.width*L;B.width=Math.min(e,q)}else B.width=q;B.height=t.height*L,B.boundingBoxDescent=B.height,B.boundingBoxAscent=0}else{const e=t.size||x;t.type!==he.SUPERSCRIPT&&t.type!==he.SUBSCRIPT||(t.actualSize=Math.ceil(.6*e)),B.height=(t.actualSize||e)*L,U.font=this.getElementFont(t);const n=this.textParticle.measureText(U,t);B.width=n.width*L,t.letterSpacing&&(B.width+=t.letterSpacing*L),B.boundingBoxAscent=(t.value===b?t.size||x:n.actualBoundingBoxAscent)*L,B.boundingBoxDescent=n.actualBoundingBoxDescent*L,t.type===he.SUPERSCRIPT?B.boundingBoxAscent+=B.height/2:t.type===he.SUBSCRIPT&&(B.boundingBoxDescent+=B.height/2)}const $=t.imgDisplay!==A.INLINE&&t.type===he.IMAGE||t.type===he.LATEX?B.height+n:B.boundingBoxAscent+n,ee=n+B.boundingBoxAscent+B.boundingBoxDescent+n,te=Object.assign(t,{metrics:B,left:0,style:this.getElementFont(t,L)});(null==(l=te.control)?void 0:l.minWidth)&&(te.controlComponent&&(G+=B.width),te.controlComponent===ht.POSTFIX&&(this.control.setMinWidthControlInfo({row:e,rowElement:te,availableWidth:q,controlRealWidth:G}),G=0));const ne=w[Z-1];let re=w[Z+1],ie=e.width+B.width;if(this.options.wordBreak===Wt.BREAK_WORD&&(!(null==ne?void 0:ne.type)||(null==ne?void 0:ne.type)===he.TEXT)&&(!t.type||t.type===he.TEXT)){const e=`${(null==ne?void 0:ne.value)||""}${t.value}`;if(this.WORD_LIKE_REG.test(e)){const{width:e,endElement:t}=this.textParticle.measureWord(U,w,Z),n=e*L;n<=q&&(ie+=n,re=t)}const n=this.textParticle.measurePunctuationWidth(U,re);ie+=n*L}t.listId&&(t.listId!==W?K=0:t.value!==b||t.listWrap||K++),W=t.listId;const oe=this.position.setSurroundPosition({pageNo:X,rowElement:te,row:e,rowElementRect:{x:Y,y:Q,height:ee,width:B.width},availableWidth:q,surroundElementList:O});Y=oe.x,ie+=oe.rowIncreaseWidth,Y+=B.width;const se=t.type===he.SEPARATOR||t.type===he.TABLE||(null==ne?void 0:ne.type)===he.TABLE||(null==ne?void 0:ne.type)===he.BLOCK||t.type===he.BLOCK||(null==ne?void 0:ne.imgDisplay)===A.INLINE||t.imgDisplay===A.INLINE||(null==ne?void 0:ne.listId)!==t.listId||(null==ne?void 0:ne.areaId)!==t.areaId||(null==(c=t.control)?void 0:c.flexDirection)===_.COLUMN&&(t.controlComponent===ht.CHECKBOX||t.controlComponent===ht.RADIO)&&(null==ne?void 0:ne.controlComponent)===ht.VALUE||0!==Z&&t.value===b,ae=ie>q,le=se||ae;if(le){const n={width:B.width,height:ee,startIndex:Z,elementList:[te],ascent:$,rowIndex:e.rowIndex+1,rowFlex:(null==(u=w[Z])?void 0:u.rowFlex)||(null==(d=w[Z+1])?void 0:d.rowFlex),isPageBreak:t.type===he.PAGE_BREAK};if(te.controlComponent!==ht.PREFIX&&(null==(h=te.control)?void 0:h.indentation)===pt.VALUE_START){const t=e.elementList.findIndex(e=>e.controlId===te.controlId&&e.controlComponent!==ht.PREFIX);if(~t){const r=this.position.computeRowPosition({row:e,innerWidth:this.getInnerWidth()}),i=r[t];i&&(n.offsetX=i.coordinate.leftTop[0])}}t.listId&&(n.isList=!0,n.offsetX=j.get(t.listId),n.listIndex=K),n.offsetY=!R&&(null==(p=t.area)?void 0:p.top)&&t.areaId!==(null==(f=w[Z-1])?void 0:f.areaId)?t.area.top*L:0,V.push(n)}else e.width+=B.width,0===Z&&(pn(w[1])||(null==(m=w[1])?void 0:m.areaId))?(e.height=F,e.ascent=F):e.height<ee&&(e.height=ee,e.ascent=$),e.elementList.push(te);if((le||Z===w.length-1)&&(e.isWidthNotEnough=ae&&!se,!e.isSurround&&((null==ne?void 0:ne.rowFlex)===T.JUSTIFY||(null==ne?void 0:ne.rowFlex)===T.ALIGNMENT&&e.isWidthNotEnough))){const t=(null==(g=e.elementList[0])?void 0:g.value)===b?e.elementList.slice(1):e.elementList,n=(q-e.width)/(t.length-1);for(let e=0;e<t.length-1;e++){const r=t[e];r.metrics.width+=n}e.width=q}if(le){Y=M,Q+=e.height,y&&!R&&E&&(Q-S+C+ee>E||t.type===he.PAGE_BREAK)&&(Q=S,An(O,X),X+=1),te.left=0;const n=V[V.length-1],r=this.position.setSurroundPosition({pageNo:X,rowElement:te,row:n,rowElementRect:{x:Y,y:Q,height:ee,width:B.width},availableWidth:q,surroundElementList:O});Y=r.x,Y+=B.width}}return V}_computePageList(){var e;const t=[[]],{pageMode:n,pageNumber:{maxPageNo:r}}=this.options,i=this.getHeight(),o=this.getMainOuterHeight();let s=o,a=0;if(n===jt.CONTINUITY){t[0]=this.rowList,s+=this.rowList.reduce((e,t)=>e+t.height+(t.offsetY||0),0);const e=this.getPagePixelRatio(),n=this.pageList[0],r=Number(n.style.height.replace("px",""));if(s>r)n.style.height=s+"px",n.height=s*e;else{const t=s<i?i:s;n.style.height=t+"px",n.height=t*e}this._initPageContext(this.ctxList[0])}else for(let l=0;l<this.rowList.length;l++){const n=this.rowList[l],c=n.offsetY||0;if(n.height+c+s>i||(null==(e=this.rowList[l-1])?void 0:e.isPageBreak)){if(Number.isInteger(r)&&a>=r){this.elementList=this.elementList.slice(0,n.startIndex);break}s=o+n.height+c,t.push([n]),a++}else s+=n.height+c,t[a].push(n)}return t}_drawHighlight(e,t){var n;const{control:{activeBackgroundColor:r}}=this.options,{rowList:i,positionList:o}=t,s=null==(n=this.control.getActiveControl())?void 0:n.getElement();for(let a=0;a<i.length;a++){const t=i[a];for(let n=0;n<t.elementList.length;n++){const i=t.elementList[n],a=t.elementList[n-1];if(i.highlight||r&&s&&i.controlId===s.controlId&&!this.control.getIsRangeInPostfix()){a&&a.highlight&&a.highlight!==i.highlight&&this.highlight.render(e);const{coordinate:{leftTop:[s,l]}}=o[t.startIndex+n],c=i.left||0;this.highlight.recordFillInfo(e,s-c,l,i.metrics.width+c,t.height,i.highlight||r)}else(null==a?void 0:a.highlight)&&this.highlight.render(e)}this.highlight.render(e)}}drawRow(e,t){var n,r,i,o,s,a,l;this._drawHighlight(e,t);const{scale:c,table:{tdPadding:u},group:d,lineBreak:h}=this.options,{rowList:p,pageNo:f,elementList:m,positionList:g,startIndex:_,zone:v,isDrawLineBreak:w=!h.disabled}=t,y=this.mode===Ut.PRINT,{isCrossRowCol:R,tableId:M}=this.range.getRange();let S=_;for(let E=0;E<p.length;E++){const t=p[E],h={x:0,y:0,width:0,height:0};let _=null;for(let p=0;p<t.elementList.length;p++){const M=t.elementList[p],E=M.metrics,{ascent:C,coordinate:{leftTop:[O,x]}}=g[t.startIndex+p],N=t.elementList[p-1];if(M.type===he.IMAGE)this.textParticle.complete(),M.imgDisplay!==A.SURROUND&&M.imgDisplay!==A.FLOAT_TOP&&M.imgDisplay!==A.FLOAT_BOTTOM&&this.imageParticle.render(e,M,O,x+C);else if(M.type===he.LATEX)this.textParticle.complete(),this.laTexParticle.render(e,M,O,x+C);else if(M.type===he.TABLE)R&&(h.x=O,h.y=x,_=M),this.tableParticle.render(e,M,O,x);else if(M.type===he.HYPERLINK)this.textParticle.complete(),this.hyperlinkParticle.render(e,M,O,x+C);else if(M.type===he.DATE){const n=t.elementList[p+1];N&&N.dateId===M.dateId||this.textParticle.complete(),this.textParticle.record(e,M,O,x+C),n&&n.dateId===M.dateId||this.textParticle.complete()}else M.type===he.SUPERSCRIPT?(this.textParticle.complete(),this.superscriptParticle.render(e,M,O,x+C)):M.type===he.SUBSCRIPT?(this.underline.render(e),this.textParticle.complete(),this.subscriptParticle.render(e,M,O,x+C)):M.type===he.SEPARATOR?this.separatorParticle.render(e,M,O,x):M.type===he.PAGE_BREAK?this.mode===Ut.CLEAN||y||this.pageBreakParticle.render(e,M,O,x):M.type===he.CHECKBOX||M.controlComponent===ht.CHECKBOX?(this.textParticle.complete(),this.checkboxParticle.render({ctx:e,x:O,y:x+C,index:p,row:t})):M.type===he.RADIO||M.controlComponent===ht.RADIO?(this.textParticle.complete(),this.radioParticle.render({ctx:e,x:O,y:x+C,index:p,row:t})):M.type===he.TAB?this.textParticle.complete():M.rowFlex===T.ALIGNMENT||M.rowFlex===T.JUSTIFY?(this.textParticle.record(e,M,O,x+C),this.textParticle.complete()):M.type===he.BLOCK?(this.textParticle.complete(),this.blockParticle.render(f,M,O,x)):(M.left&&this.textParticle.complete(),this.textParticle.record(e,M,O,x+C),(M.width||M.letterSpacing||L.test(M.value))&&this.textParticle.complete());if(!w||y||this.mode===Ut.CLEAN||t.isWidthNotEnough||p!==t.elementList.length-1||this.lineBreakParticle.render(e,M,O,x+t.height/2),null==(n=M.control)?void 0:n.border){(null==(r=null==N?void 0:N.control)?void 0:r.border)&&N.controlId!==M.controlId&&this.control.drawBorder(e);const n=this.getElementRowMargin(M);this.control.recordBorderInfo(O,x+n,M.metrics.width,t.height-2*n)}else(null==(i=null==N?void 0:N.control)?void 0:i.border)&&this.control.drawBorder(e);if(M.underline||(null==(o=M.control)?void 0:o.underline)){(null==N?void 0:N.type)===he.SUBSCRIPT&&M.type!==he.SUBSCRIPT&&this.underline.render(e);const n=this.getElementRowMargin(M),r=M.left||0;let i=0;M.type===he.SUBSCRIPT&&(i=this.subscriptParticle.getOffsetY(M));const o=(null==(s=M.control)?void 0:s.underline)?this.options.underlineColor:M.color;this.underline.recordFillInfo(e,O-r,x+t.height-n+i,E.width+r,0,o,null==(a=M.textDecoration)?void 0:a.style)}else((null==N?void 0:N.underline)||(null==(l=null==N?void 0:N.control)?void 0:l.underline))&&this.underline.render(e);if(M.strikeout){if(!M.type||Se.includes(M.type)){N&&(N.type===he.SUBSCRIPT&&M.type!==he.SUBSCRIPT||N.type===he.SUPERSCRIPT&&M.type!==he.SUPERSCRIPT||this.getElementSize(N)!==this.getElementSize(M))&&this.strikeout.render(e);const t=this.textParticle.measureBasisWord(e,this.getElementFont(M));let n=x+C+t.actualBoundingBoxDescent*c-E.height/2;M.type===he.SUBSCRIPT?n+=this.subscriptParticle.getOffsetY(M):M.type===he.SUPERSCRIPT&&(n+=this.superscriptParticle.getOffsetY(M)),this.strikeout.recordFillInfo(e,O,n,E.width)}}else(null==N?void 0:N.strikeout)&&this.strikeout.render(e);const{zone:I,startIndex:P,endIndex:D}=this.range.getRange();if(I===v&&P!==D&&P<=S&&S<=D){const e=this.position.getPositionContext();if(!e.isTable&&!M.tdId||e.tdId===M.tdId)if(P===S){const e=m[P+1];e&&e.value===b&&(h.x=O+E.width,h.y=x,h.height=t.height,h.width+=this.options.rangeMinWidth)}else{let e=E.width;0===e&&1===t.elementList.length&&(e=this.options.rangeMinWidth),h.width||(h.x=O,h.y=x,h.height=t.height),h.width+=e}}if(!d.disabled&&M.groupIds&&this.group.recordFillInfo(M,O,x,E.width,t.height),S++,M.type===he.TABLE){const t=u[1]+u[3];for(let n=0;n<M.trList.length;n++){const r=M.trList[n];for(let n=0;n<r.tdList.length;n++){const i=r.tdList[n];this.drawRow(e,{elementList:i.value,positionList:i.positionList,rowList:i.rowList,pageNo:f,startIndex:0,innerWidth:(i.width-t)*c,zone:v,isDrawLineBreak:w})}}}}if(t.isList&&this.listParticle.drawListStyle(e,t,g[t.startIndex]),this.textParticle.complete(),this.control.drawBorder(e),this.underline.render(e),this.strikeout.render(e),this.group.render(e),!y){if(h.width&&h.height){const{x:t,y:n,width:r,height:i}=h;this.range.render(e,t,n,r,i)}if(R&&_&&_.id===M){const{coordinate:{leftTop:[n,r]}}=g[t.startIndex];this.tableParticle.drawRange(e,_,n,r)}}}}_drawFloat(e,t){const{scale:n}=this.options,r=this.position.getFloatPositionList(),{imgDisplays:i,pageNo:o}=t;for(let s=0;s<r.length;s++){const t=r[s],a=t.element;if((o===t.pageNo||t.zone===Ht.HEADER||t.zone==Ht.FOOTER)&&a.imgDisplay&&i.includes(a.imgDisplay)&&a.type===he.IMAGE){const t=a.imgFloatPosition;this.imageParticle.render(e,a,t.x*n,t.y*n)}}}_clearPage(e){const t=this.ctxList[e],n=this.pageList[e];t.clearRect(0,0,Math.max(n.width,this.getWidth()),Math.max(n.height,this.getHeight())),this.blockParticle.clear()}_drawPage(e){var t,n;const{elementList:r,positionList:i,rowList:o,pageNo:s}=e,{inactiveAlpha:a,pageMode:l,header:c,footer:u,pageNumber:d,lineNumber:h,pageBorder:p}=this.options,f=this.mode===Ut.PRINT,m=this.getInnerWidth(),g=this.ctxList[s];g.globalAlpha=this.zone.isMainActive()?1:a,this._clearPage(s),this.background.render(g,s),f||this.area.render(g,s),f||this.margin.render(g,s),this._drawFloat(g,{pageNo:s,imgDisplays:[A.FLOAT_BOTTOM]}),f||this.control.renderHighlightList(g,s);const _=null==(t=o[0])?void 0:t.startIndex;this.drawRow(g,{elementList:r,positionList:i,rowList:o,pageNo:s,startIndex:_,innerWidth:m,zone:Ht.MAIN}),this.getIsPagingMode()&&(c.disabled||this.header.render(g,s),d.disabled||this.pageNumber.render(g,s),u.disabled||this.footer.render(g,s)),this._drawFloat(g,{pageNo:s,imgDisplays:[A.FLOAT_TOP,A.SURROUND]}),!f&&this.search.getSearchKeyword()&&this.search.render(g,s),l!==jt.CONTINUITY&&this.options.watermark.data&&this.waterMark.render(g),this.elementList.length<=1&&!(null==(n=this.elementList[0])?void 0:n.listId)&&this.placeholder.render(g),h.disabled||this.lineNumber.render(g,s),p.disabled||this.pageBorder.render(g),this.badge.render(g,s)}_disconnectLazyRender(){var e;null==(e=this.lazyRenderIntersectionObserver)||e.disconnect()}_lazyRender(){const e=this.position.getOriginalMainPositionList(),t=this.getOriginalMainElementList();this._disconnectLazyRender(),this.lazyRenderIntersectionObserver=new IntersectionObserver(n=>{n.forEach(n=>{if(n.isIntersecting){const r=Number(n.target.dataset.index);this._drawPage({elementList:t,positionList:e,rowList:this.pageRowList[r],pageNo:r})}})}),this.pageList.forEach(e=>{this.lazyRenderIntersectionObserver.observe(e)})}_immediateRender(){const e=this.position.getOriginalMainPositionList(),t=this.getOriginalMainElementList();for(let n=0;n<this.pageRowList.length;n++)this._drawPage({elementList:t,positionList:e,rowList:this.pageRowList[n],pageNo:n})}render(e){const{header:t,footer:n}=this.options,{isSubmitHistory:r=!0,isSetCursor:i=!0,isCompute:o=!0,isLazy:s=!0,isInit:a=!1,isSourceHistory:l=!1,isFirstRender:c=!1}=e||{};let{curIndex:u}=e||{};const d=this.getInnerWidth(),h=this.getIsPagingMode(),p=this.pageRowList.length;if(o){this.position.setFloatPositionList([]),h&&(t.disabled||this.header.compute(),n.disabled||this.footer.compute());const e=this.getMargins(),r=this.getHeight(),i=this.header.getExtraHeight(),o=this.getMainOuterHeight(),s=e[3],a=e[0]+i,l=mn(this.elementList);if(this.rowList=this.computeRowList({startX:s,startY:a,pageHeight:r,mainOuterHeight:o,isPagingMode:h,innerWidth:d,surroundElementList:l,elementList:this.elementList}),this.pageRowList=this._computePageList(),this.position.computePositionList(),this.area.compute(),this.mode!==Ut.PRINT){const e=this.search.getSearchKeyword();e&&this.search.compute(e),this.control.computeHighlightList()}}this.imageObserver.clearAll(),this.cursor.recoveryCursor();for(let A=0;A<this.pageRowList.length;A++)this.pageList[A]||this._createPage(A);const f=this.pageRowList.length,m=this.pageList.length;if(m>f){const e=m-f;this.ctxList.splice(f,e),this.pageList.splice(f,e).forEach(e=>e.remove())}s&&h?this._lazyRender():this._immediateRender(),i?u=this.setCursor(u):this.range.getIsSelection()&&this.cursor.focus(),(r&&!c||void 0!==u&&this.historyManager.isStackEmpty())&&this.submitHistory(u),G(()=>{o&&this.control.getActiveControl()&&this.control.reAwakeControl(),o&&!this.isReadonly()&&this.position.getPositionContext().isTable&&this.tableTool.render(),o&&!this.zone.isMainActive()&&this.zone.drawZoneIndicator(),p!==this.pageRowList.length&&(this.listener.pageSizeChange&&this.listener.pageSizeChange(this.pageRowList.length),this.eventBus.isSubscribe("pageSizeChange")&&this.eventBus.emit("pageSizeChange",this.pageRowList.length)),!r&&!l||a||(this.listener.contentChange&&this.listener.contentChange(),this.eventBus.isSubscribe("contentChange")&&this.eventBus.emit("contentChange"))})}setCursor(e){var t;const n=this.position.getPositionContext(),r=this.position.getPositionList();if(n.isTable){const{index:r,trIndex:i,tdIndex:o}=n,s=this.getOriginalElementList(),a=null==(t=s[r].trList)?void 0:t[i].tdList[o].positionList;void 0===e&&a&&(e=a.length-1);const l=null==a?void 0:a[e];this.position.setCursorPosition(l||null)}else this.position.setCursorPosition(void 0!==e?r[e]:null);let i=!0;if(void 0!==e&&n.isImage&&n.isDirectHit){const t=this.getElementList(),n=t[e];if(Ee.includes(n.type)){i=!1;const e=this.position.getCursorPosition();this.previewer.updateResizer(n,e)}}return this.cursor.drawCursor({isShow:i}),e}submitHistory(e){const t=this.position.getPositionContext(),n=hn(this.elementList),r=hn(this.header.getElementList()),i=hn(this.footer.getElementList()),o=k(this.range.getRange()),s=this.pageNo,a=k(t),l=this.zone.getZone();this.historyManager.execute(()=>{this.zone.setZone(l),this.setPageNo(s),this.position.setPositionContext(k(a)),this.header.setElementList(k(r)),this.footer.setElementList(k(i)),this.elementList=k(n),this.range.replaceRange(k(o)),this.render({curIndex:e,isSubmitHistory:!1,isSourceHistory:!0})})}destroy(){this.container.remove(),this.globalEvent.removeEvent(),this.scrollObserver.removeEvent(),this.selectionObserver.removeEvent()}clearSideEffect(){this.getPreviewer().clearResizer(),this.getTableTool().dispose(),this.getHyperlinkParticle().clearHyperlinkPopup(),this.getDateParticle().clearDatePicker()}}class eo{constructor(e){h(this,"executeMode"),h(this,"executeCut"),h(this,"executeCopy"),h(this,"executePaste"),h(this,"executeSelectAll"),h(this,"executeBackspace"),h(this,"executeSetRange"),h(this,"executeReplaceRange"),h(this,"executeSetPositionContext"),h(this,"executeForceUpdate"),h(this,"executeBlur"),h(this,"executeUndo"),h(this,"executeRedo"),h(this,"executePainter"),h(this,"executeApplyPainterStyle"),h(this,"executeFormat"),h(this,"executeFont"),h(this,"executeSize"),h(this,"executeSizeAdd"),h(this,"executeSizeMinus"),h(this,"executeBold"),h(this,"executeItalic"),h(this,"executeUnderline"),h(this,"executeStrikeout"),h(this,"executeSuperscript"),h(this,"executeSubscript"),h(this,"executeColor"),h(this,"executeHighlight"),h(this,"executeTitle"),h(this,"executeList"),h(this,"executeRowFlex"),h(this,"executeRowMargin"),h(this,"executeInsertTable"),h(this,"executeInsertTableTopRow"),h(this,"executeInsertTableBottomRow"),h(this,"executeInsertTableLeftCol"),h(this,"executeInsertTableRightCol"),h(this,"executeDeleteTableRow"),h(this,"executeDeleteTableCol"),h(this,"executeDeleteTable"),h(this,"executeMergeTableCell"),h(this,"executeCancelMergeTableCell"),h(this,"executeTableTdVerticalAlign"),h(this,"executeTableBorderType"),h(this,"executeTableBorderColor"),h(this,"executeTableTdBorderType"),h(this,"executeTableTdSlashType"),h(this,"executeTableTdBackgroundColor"),h(this,"executeTableSelectAll"),h(this,"executeImage"),h(this,"executeHyperlink"),h(this,"executeDeleteHyperlink"),h(this,"executeCancelHyperlink"),h(this,"executeEditHyperlink"),h(this,"executeSeparator"),h(this,"executePageBreak"),h(this,"executeAddWatermark"),h(this,"executeDeleteWatermark"),h(this,"executeSearch"),h(this,"executeSearchNavigatePre"),h(this,"executeSearchNavigateNext"),h(this,"executeReplace"),h(this,"executePrint"),h(this,"executeReplaceImageElement"),h(this,"executeSaveAsImageElement"),h(this,"executeChangeImageDisplay"),h(this,"executePageMode"),h(this,"executePageScale"),h(this,"executePageScaleRecovery"),h(this,"executePageScaleMinus"),h(this,"executePageScaleAdd"),h(this,"executePaperSize"),h(this,"executePaperDirection"),h(this,"executeSetPaperMargin"),h(this,"executeSetMainBadge"),h(this,"executeSetAreaBadge"),h(this,"executeInsertElementList"),h(this,"executeInsertArea"),h(this,"executeSetAreaProperties"),h(this,"executeAppendElementList"),h(this,"executeUpdateElementById"),h(this,"executeSetValue"),h(this,"executeRemoveControl"),h(this,"executeSetLocale"),h(this,"executeLocationCatalog"),h(this,"executeWordTool"),h(this,"executeSetHTML"),h(this,"executeSetGroup"),h(this,"executeDeleteGroup"),h(this,"executeLocationGroup"),h(this,"executeSetZone"),h(this,"executeSetControlValue"),h(this,"executeSetControlExtension"),h(this,"executeSetControlProperties"),h(this,"executeSetControlHighlight"),h(this,"executeLocationControl"),h(this,"executeInsertControl"),h(this,"executeUpdateOptions"),h(this,"executeInsertTitle"),h(this,"executeFocus"),h(this,"getCatalog"),h(this,"getImage"),h(this,"getOptions"),h(this,"getValue"),h(this,"getAreaValue"),h(this,"getHTML"),h(this,"getText"),h(this,"getWordCount"),h(this,"getCursorPosition"),h(this,"getRange"),h(this,"getRangeText"),h(this,"getRangeContext"),h(this,"getRangeRow"),h(this,"getRangeParagraph"),h(this,"getKeywordRangeList"),h(this,"getKeywordContext"),h(this,"getPaperMargin"),h(this,"getSearchNavigateInfo"),h(this,"getLocale"),h(this,"getGroupIds"),h(this,"getControlValue"),h(this,"getControlList"),h(this,"getContainer"),h(this,"getTitleValue"),h(this,"getPositionContextByEvent"),h(this,"getElementById"),this.executeMode=e.mode.bind(e),this.executeCut=e.cut.bind(e),this.executeCopy=e.copy.bind(e),this.executePaste=e.paste.bind(e),this.executeSelectAll=e.selectAll.bind(e),this.executeBackspace=e.backspace.bind(e),this.executeSetRange=e.setRange.bind(e),this.executeReplaceRange=e.replaceRange.bind(e),this.executeSetPositionContext=e.setPositionContext.bind(e),this.executeForceUpdate=e.forceUpdate.bind(e),this.executeBlur=e.blur.bind(e),this.executeUndo=e.undo.bind(e),this.executeRedo=e.redo.bind(e),this.executePainter=e.painter.bind(e),this.executeApplyPainterStyle=e.applyPainterStyle.bind(e),this.executeFormat=e.format.bind(e),this.executeFont=e.font.bind(e),this.executeSize=e.size.bind(e),this.executeSizeAdd=e.sizeAdd.bind(e),this.executeSizeMinus=e.sizeMinus.bind(e),this.executeBold=e.bold.bind(e),this.executeItalic=e.italic.bind(e),this.executeUnderline=e.underline.bind(e),this.executeStrikeout=e.strikeout.bind(e),this.executeSuperscript=e.superscript.bind(e),this.executeSubscript=e.subscript.bind(e),this.executeColor=e.color.bind(e),this.executeHighlight=e.highlight.bind(e),this.executeTitle=e.title.bind(e),this.executeList=e.list.bind(e),this.executeRowFlex=e.rowFlex.bind(e),this.executeRowMargin=e.rowMargin.bind(e),this.executeInsertTable=e.insertTable.bind(e),this.executeInsertTableTopRow=e.insertTableTopRow.bind(e),this.executeInsertTableBottomRow=e.insertTableBottomRow.bind(e),this.executeInsertTableLeftCol=e.insertTableLeftCol.bind(e),this.executeInsertTableRightCol=e.insertTableRightCol.bind(e),this.executeDeleteTableRow=e.deleteTableRow.bind(e),this.executeDeleteTableCol=e.deleteTableCol.bind(e),this.executeDeleteTable=e.deleteTable.bind(e),this.executeMergeTableCell=e.mergeTableCell.bind(e),this.executeCancelMergeTableCell=e.cancelMergeTableCell.bind(e),this.executeTableTdVerticalAlign=e.tableTdVerticalAlign.bind(e),this.executeTableBorderType=e.tableBorderType.bind(e),this.executeTableBorderColor=e.tableBorderColor.bind(e),this.executeTableTdBorderType=e.tableTdBorderType.bind(e),this.executeTableTdSlashType=e.tableTdSlashType.bind(e),this.executeTableTdBackgroundColor=e.tableTdBackgroundColor.bind(e),this.executeTableSelectAll=e.tableSelectAll.bind(e),this.executeImage=e.image.bind(e),this.executeHyperlink=e.hyperlink.bind(e),this.executeDeleteHyperlink=e.deleteHyperlink.bind(e),this.executeCancelHyperlink=e.cancelHyperlink.bind(e),this.executeEditHyperlink=e.editHyperlink.bind(e),this.executeSeparator=e.separator.bind(e),this.executePageBreak=e.pageBreak.bind(e),this.executeAddWatermark=e.addWatermark.bind(e),this.executeDeleteWatermark=e.deleteWatermark.bind(e),this.executeSearch=e.search.bind(e),this.executeSearchNavigatePre=e.searchNavigatePre.bind(e),this.executeSearchNavigateNext=e.searchNavigateNext.bind(e),this.executeReplace=e.replace.bind(e),this.executePrint=e.print.bind(e),this.executeReplaceImageElement=e.replaceImageElement.bind(e),this.executeSaveAsImageElement=e.saveAsImageElement.bind(e),this.executeChangeImageDisplay=e.changeImageDisplay.bind(e),this.executePageMode=e.pageMode.bind(e),this.executePageScale=e.pageScale.bind(e),this.executePageScaleRecovery=e.pageScaleRecovery.bind(e),this.executePageScaleMinus=e.pageScaleMinus.bind(e),this.executePageScaleAdd=e.pageScaleAdd.bind(e),this.executePaperSize=e.paperSize.bind(e),this.executePaperDirection=e.paperDirection.bind(e),this.executeSetPaperMargin=e.setPaperMargin.bind(e),this.executeSetMainBadge=e.setMainBadge.bind(e),this.executeSetAreaBadge=e.setAreaBadge.bind(e),this.getAreaValue=e.getAreaValue.bind(e),this.executeInsertArea=e.insertArea.bind(e),this.executeSetAreaProperties=e.setAreaProperties.bind(e),this.executeInsertElementList=e.insertElementList.bind(e),this.executeAppendElementList=e.appendElementList.bind(e),this.executeUpdateElementById=e.updateElementById.bind(e),this.executeSetValue=e.setValue.bind(e),this.executeRemoveControl=e.removeControl.bind(e),this.executeSetLocale=e.setLocale.bind(e),this.executeLocationCatalog=e.locationCatalog.bind(e),this.executeWordTool=e.wordTool.bind(e),this.executeSetHTML=e.setHTML.bind(e),this.executeSetGroup=e.setGroup.bind(e),this.executeDeleteGroup=e.deleteGroup.bind(e),this.executeLocationGroup=e.locationGroup.bind(e),this.executeSetZone=e.setZone.bind(e),this.executeUpdateOptions=e.updateOptions.bind(e),this.executeInsertTitle=e.insertTitle.bind(e),this.executeFocus=e.focus.bind(e),this.getImage=e.getImage.bind(e),this.getOptions=e.getOptions.bind(e),this.getValue=e.getValue.bind(e),this.getHTML=e.getHTML.bind(e),this.getText=e.getText.bind(e),this.getWordCount=e.getWordCount.bind(e),this.getCursorPosition=e.getCursorPosition.bind(e),this.getRange=e.getRange.bind(e),this.getRangeText=e.getRangeText.bind(e),this.getRangeContext=e.getRangeContext.bind(e),this.getRangeRow=e.getRangeRow.bind(e),this.getRangeParagraph=e.getRangeParagraph.bind(e),this.getKeywordRangeList=e.getKeywordRangeList.bind(e),this.getKeywordContext=e.getKeywordContext.bind(e),this.getCatalog=e.getCatalog.bind(e),this.getPaperMargin=e.getPaperMargin.bind(e),this.getSearchNavigateInfo=e.getSearchNavigateInfo.bind(e),this.getLocale=e.getLocale.bind(e),this.getGroupIds=e.getGroupIds.bind(e),this.getContainer=e.getContainer.bind(e),this.getTitleValue=e.getTitleValue.bind(e),this.getPositionContextByEvent=e.getPositionContextByEvent.bind(e),this.getElementById=e.getElementById.bind(e),this.executeSetControlValue=e.setControlValue.bind(e),this.executeSetControlExtension=e.setControlExtension.bind(e),this.executeSetControlProperties=e.setControlProperties.bind(e),this.executeSetControlHighlight=e.setControlHighlight.bind(e),this.getControlValue=e.getControlValue.bind(e),this.getControlList=e.getControlList.bind(e),this.executeLocationControl=e.locationControl.bind(e),this.executeInsertControl=e.insertControl.bind(e)}}function to(e,t){return 1125===e&&1593===t?{size:"a3",width:"297mm",height:"420mm"}:794===e&&1123===t?{size:"a4",width:"210mm",height:"297mm"}:565===e&&796===t?{size:"a5",width:"148mm",height:"210mm"}:{size:"",width:e+"px",height:t+"px"}}function no(e,t){const{width:n,height:r,direction:i=Vt.VERTICAL}=t,o=document.createElement("iframe");o.style.visibility="hidden",o.style.position="absolute",o.style.left="0",o.style.top="0",o.style.width="0",o.style.height="0",o.style.border="none",document.body.append(o);const s=o.contentWindow,a=s.document;a.open();const l=document.createElement("div"),c=to(n,r);e.forEach(e=>{const t=document.createElement("img");t.style.width=i===Vt.HORIZONTAL?c.height:c.width,t.style.height=i===Vt.HORIZONTAL?c.width:c.height,t.src=e,l.append(t)});const u=document.createElement("style"),d=`\n * {\n margin: 0;\n padding: 0;\n }\n @page {\n margin: 0;\n size: ${c.size} ${i===Vt.HORIZONTAL?"landscape":"portrait"};\n }`;u.append(document.createTextNode(d)),setTimeout(()=>{a.write(`${u.outerHTML}${l.innerHTML}`),s.print(),a.close(),window.addEventListener("mouseover",()=>{null==o||o.remove()},{once:!0})})}class ro{constructor(e){h(this,"draw"),h(this,"range"),h(this,"position"),h(this,"historyManager"),h(this,"canvasEvent"),h(this,"options"),h(this,"control"),h(this,"workerManager"),h(this,"searchManager"),h(this,"i18n"),h(this,"zone"),h(this,"tableOperate"),this.draw=e,this.range=e.getRange(),this.position=e.getPosition(),this.historyManager=e.getHistoryManager(),this.canvasEvent=e.getCanvasEvent(),this.options=e.getOptions(),this.control=e.getControl(),this.workerManager=e.getWorkerManager(),this.searchManager=e.getSearch(),this.i18n=e.getI18n(),this.zone=e.getZone(),this.tableOperate=e.getTableOperate()}mode(e){this.draw.setMode(e)}cut(){const e=this.draw.isReadonly()||this.draw.isDisabled();e||this.canvasEvent.cut()}copy(e){this.canvasEvent.copy(e)}paste(e){const t=this.draw.isReadonly()||this.draw.isDisabled();t||Tn(this.canvasEvent,e)}selectAll(){this.canvasEvent.selectAll()}backspace(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.draw.getElementList(),{startIndex:n,endIndex:r}=this.range.getRange(),i=n===r;if(i&&t[n].value===b&&0===n)return;i?this.draw.spliceElementList(t,n,1):this.draw.spliceElementList(t,n+1,r-n);const o=i?n-1:n;this.range.setRange(o,o),this.draw.render({curIndex:o})}setRange(e,t,n,r,i,o,s){if(e<0||t<0||t<e)return;this.range.setRange(e,t,n,r,i,o,s);const a=e===t;this.draw.render({curIndex:a?e:void 0,isCompute:!1,isSubmitHistory:!1,isSetCursor:a})}replaceRange(e){this.setRange(e.startIndex,e.endIndex,e.tableId,e.startTdIndex,e.endTdIndex,e.startTrIndex,e.endTrIndex)}setPositionContext(e){const{tableId:t,startTrIndex:n,startTdIndex:r}=e,i=this.draw.getOriginalElementList();if(t){const e=i.findIndex(e=>e.id===t);if(!~e)return;const o=i[e],s=o.trList[n],a=s.tdList[r];this.position.setPositionContext({isTable:!0,index:e,trIndex:n,tdIndex:r,tdId:a.id,trId:s.id,tableId:t})}else this.position.setPositionContext({isTable:!1})}forceUpdate(e){const{isSubmitHistory:t=!1}=e||{};this.range.clearRange(),this.draw.render({isSubmitHistory:t,isSetCursor:!1})}blur(){this.range.clearRange(),this.draw.getCursor().recoveryCursor()}undo(){const e=this.draw.isReadonly();e||this.historyManager.undo()}redo(){const e=this.draw.isReadonly();e||this.historyManager.redo()}painter(e){if(!e.isDblclick&&this.draw.getPainterStyle())return void this.canvasEvent.clearPainterStyle();const t=this.range.getSelection();if(!t)return;const n={};t.forEach(e=>{const t=pe;t.forEach(t=>{const r=t;void 0===n[r]&&(n[r]=e[r])})}),this.draw.setPainterStyle(n,e)}applyPainterStyle(){const e=this.draw.isReadonly()||this.draw.isDisabled();e||this.canvasEvent.applyPainterStyle()}format(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.range.getSelectionElementList();let n={},r=[];if(null==t?void 0:t.length)r=t,n={isSetCursor:!1};else{const{endIndex:e}=this.range.getRange(),t=this.draw.getElementList(),i=t[e];(null==i?void 0:i.value)===b&&(r.push(i),n={curIndex:e})}r.length&&(r.forEach(e=>{pe.forEach(t=>{delete e[t]})}),this.draw.render(n))}font(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelectionElementList();if(null==n?void 0:n.length)n.forEach(t=>{t.font=e}),this.draw.render({isSetCursor:!1});else{let t=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?i.font=e:(this.range.setDefaultStyle({font:e}),t=!1),this.draw.render({isSubmitHistory:t,curIndex:n,isCompute:!1})}}size(e){const{minSize:t,maxSize:n,defaultSize:r}=this.options;if(e<t||e>n)return;const i=this.draw.isReadonly()||this.draw.isDisabled();if(i)return;let o={},s=[];const a=this.range.getTextLikeSelectionElementList();if(null==a?void 0:a.length)s=a,o={isSetCursor:!1};else{const{endIndex:t}=this.range.getRange(),n=this.draw.getElementList(),r=n[t];(null==r?void 0:r.value)===b?(s.push(r),o={curIndex:t}):(this.range.setDefaultStyle({size:e}),this.draw.render({curIndex:t,isCompute:!1,isSubmitHistory:!1}))}if(!s.length)return;let l=!1;s.forEach(t=>{!t.size&&e===r||t.size&&t.size===e||(t.size=e,l=!0)}),l&&this.draw.render(o)}sizeAdd(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const{defaultSize:t,maxSize:n}=this.options,r=this.range.getTextLikeSelectionElementList();let i={},o=[];if(null==r?void 0:r.length)o=r,i={isSetCursor:!1};else{const{endIndex:e}=this.range.getRange(),r=this.draw.getElementList(),s=r[e];if((null==s?void 0:s.value)===b)o.push(s),i={curIndex:e};else{const r=this.range.getDefaultStyle(),i=(null==r?void 0:r.size)||s.size||t;this.range.setDefaultStyle({size:i+2>n?n:i+2}),this.draw.render({curIndex:e,isCompute:!1,isSubmitHistory:!1})}}if(!o.length)return;let s=!1;o.forEach(e=>{e.size||(e.size=t),e.size>=n||(e.size+2>n?e.size=n:e.size+=2,s=!0)}),s&&this.draw.render(i)}sizeMinus(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const{defaultSize:t,minSize:n}=this.options,r=this.range.getTextLikeSelectionElementList();let i={},o=[];if(null==r?void 0:r.length)o=r,i={isSetCursor:!1};else{const{endIndex:e}=this.range.getRange(),r=this.draw.getElementList(),s=r[e];if((null==s?void 0:s.value)===b)o.push(s),i={curIndex:e};else{const r=this.range.getDefaultStyle(),i=(null==r?void 0:r.size)||s.size||t;this.range.setDefaultStyle({size:i-2<n?n:i-2}),this.draw.render({curIndex:e,isCompute:!1,isSubmitHistory:!1})}}if(!o.length)return;let s=!1;o.forEach(e=>{e.size||(e.size=t),e.size<=n||(e.size-2<n?e.size=n:e.size-=2,s=!0)}),s&&this.draw.render(i)}bold(){var e;const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelectionElementList();if(null==n?void 0:n.length){const e=n.findIndex(e=>!e.bold);n.forEach(t=>{t.bold=!!~e}),this.draw.render({isSetCursor:!1})}else{let t=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?i.bold=!i.bold:(this.range.setDefaultStyle({bold:!i.bold&&!(null==(e=this.range.getDefaultStyle())?void 0:e.bold)}),t=!1),this.draw.render({isSubmitHistory:t,curIndex:n,isCompute:!1})}}italic(){var e;const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelectionElementList();if(null==n?void 0:n.length){const e=n.findIndex(e=>!e.italic);n.forEach(t=>{t.italic=!!~e}),this.draw.render({isSetCursor:!1})}else{let t=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?i.italic=!i.italic:(this.range.setDefaultStyle({italic:!i.italic&&!(null==(e=this.range.getDefaultStyle())?void 0:e.italic)}),t=!1),this.draw.render({isSubmitHistory:t,curIndex:n,isCompute:!1})}}underline(e){var t;const n=this.draw.isReadonly()||this.draw.isDisabled();if(n)return;const r=this.range.getSelectionElementList();if(null==r?void 0:r.length){const t=r.some(t=>!t.underline||!e&&t.textDecoration||e&&!t.textDecoration||e&&t.textDecoration&&!ne(t.textDecoration,e));r.forEach(n=>{n.underline=t,t&&e?n.textDecoration=e:delete n.textDecoration}),this.draw.render({isSetCursor:!1,isCompute:!1})}else{let e=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?i.underline=!i.underline:(this.range.setDefaultStyle({underline:!(null==i?void 0:i.underline)&&!(null==(t=this.range.getDefaultStyle())?void 0:t.underline)}),e=!1),this.draw.render({isSubmitHistory:e,curIndex:n,isCompute:!1})}}strikeout(){var e;const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelectionElementList();if(null==n?void 0:n.length){const e=n.findIndex(e=>!e.strikeout);n.forEach(t=>{t.strikeout=!!~e}),this.draw.render({isSetCursor:!1,isCompute:!1})}else{let t=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?i.strikeout=!i.strikeout:(this.range.setDefaultStyle({strikeout:!i.strikeout&&!(null==(e=this.range.getDefaultStyle())?void 0:e.strikeout)}),t=!1),this.draw.render({isSubmitHistory:t,curIndex:n,isCompute:!1})}}superscript(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.range.getSelectionElementList();if(!t)return;const n=t.findIndex(e=>e.type===he.SUPERSCRIPT);t.forEach(e=>{~n?e.type===he.SUPERSCRIPT&&(e.type=he.TEXT,delete e.actualSize):e.type&&e.type!==he.TEXT&&e.type!==he.SUBSCRIPT||(e.type=he.SUPERSCRIPT)}),this.draw.render({isSetCursor:!1})}subscript(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.range.getSelectionElementList();if(!t)return;const n=t.findIndex(e=>e.type===he.SUBSCRIPT);t.forEach(e=>{~n?e.type===he.SUBSCRIPT&&(e.type=he.TEXT,delete e.actualSize):e.type&&e.type!==he.TEXT&&e.type!==he.SUPERSCRIPT||(e.type=he.SUBSCRIPT)}),this.draw.render({isSetCursor:!1})}color(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelectionElementList();if(null==n?void 0:n.length)n.forEach(t=>{e?t.color=e:delete t.color}),this.draw.render({isSetCursor:!1,isCompute:!1});else{let t=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?e?i.color=e:delete i.color:(this.range.setDefaultStyle({color:e||void 0}),t=!1),this.draw.render({isSubmitHistory:t,curIndex:n,isCompute:!1})}}highlight(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.range.getSelectionElementList();if(null==n?void 0:n.length)n.forEach(t=>{e?t.highlight=e:delete t.highlight}),this.draw.render({isSetCursor:!1,isCompute:!1});else{let t=!0;const{endIndex:n}=this.range.getRange(),r=this.draw.getElementList(),i=r[n];(null==i?void 0:i.value)===b?e?i.highlight=e:delete i.highlight:(this.range.setDefaultStyle({highlight:e||void 0}),t=!1),this.draw.render({isSubmitHistory:t,curIndex:n,isCompute:!1})}}title(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;const i=this.draw.getElementList(),o=n===r?this.range.getRangeParagraphElementList():i.slice(n+1,r+1);if(!o||!o.length)return;const s=H(),a=this.draw.getOptions().title;o.forEach(t=>{(t.type||t.value!==b)&&(e?(t.level=e,t.titleId=s,tn(t)&&(t.size=a[lt[e]],t.bold=!0)):t.titleId&&(delete t.titleId,delete t.title,delete t.level,delete t.size,delete t.bold))});const l=n===r,c=l?r:n;this.draw.render({curIndex:c,isSetCursor:l})}list(e,t){const n=this.draw.isReadonly();n||this.draw.getListParticle().setList(e,t)}rowFlex(e){const t=this.draw.isReadonly();if(t)return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;const i=this.range.getRangeRowElementList();if(!i)return;i.forEach(t=>{t.rowFlex=e});const o=n===r,s=o?r:n;this.draw.render({curIndex:s,isSetCursor:o})}rowMargin(e){const t=this.draw.isReadonly();if(t)return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;const i=this.range.getRangeRowElementList();if(!i)return;i.forEach(t=>{t.rowMargin=e});const o=n===r,s=o?r:n;this.draw.render({curIndex:s,isSetCursor:o})}insertTable(e,t){const n=this.draw.isReadonly()||this.draw.isDisabled();if(n)return;const r=this.control.getActiveControl();r||this.tableOperate.insertTable(e,t)}insertTableTopRow(){const e=this.draw.isReadonly();e||this.tableOperate.insertTableTopRow()}insertTableBottomRow(){const e=this.draw.isReadonly();e||this.tableOperate.insertTableBottomRow()}insertTableLeftCol(){const e=this.draw.isReadonly();e||this.tableOperate.insertTableLeftCol()}insertTableRightCol(){const e=this.draw.isReadonly();e||this.tableOperate.insertTableRightCol()}deleteTableRow(){const e=this.draw.isReadonly();e||this.tableOperate.deleteTableRow()}deleteTableCol(){const e=this.draw.isReadonly();e||this.tableOperate.deleteTableCol()}deleteTable(){const e=this.draw.isReadonly();e||this.tableOperate.deleteTable()}mergeTableCell(){const e=this.draw.isReadonly();e||this.tableOperate.mergeTableCell()}cancelMergeTableCell(){const e=this.draw.isReadonly();e||this.tableOperate.cancelMergeTableCell()}tableTdVerticalAlign(e){const t=this.draw.isReadonly();t||this.tableOperate.tableTdVerticalAlign(e)}tableBorderType(e){const t=this.draw.isReadonly();t||this.tableOperate.tableBorderType(e)}tableBorderColor(e){const t=this.draw.isReadonly();t||this.tableOperate.tableBorderColor(e)}tableTdBorderType(e){const t=this.draw.isReadonly();t||this.tableOperate.tableTdBorderType(e)}tableTdSlashType(e){const t=this.draw.isReadonly();t||this.tableOperate.tableTdSlashType(e)}tableTdBackgroundColor(e){const t=this.draw.isReadonly();t||this.tableOperate.tableTdBackgroundColor(e)}tableSelectAll(){this.tableOperate.tableSelectAll()}hyperlink(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.control.getActiveControl();if(n)return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const o=this.draw.getElementList(),{valueList:s,url:a}=e,l=H(),c=null==s?void 0:s.map(e=>({url:a,hyperlinkId:l,value:e.value,type:he.HYPERLINK}));if(!c)return;const u=r+1;rn(o,c,r,{editorOptions:this.options}),this.draw.spliceElementList(o,u,r===i?0:i-r,...c);const d=u+c.length-1;this.range.setRange(d,d),this.draw.render({curIndex:d})}getHyperlinkRange(){let e=-1,t=-1;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return null;const i=this.draw.getElementList(),o=i[n];if(o.type!==he.HYPERLINK)return null;let s=n;while(s>0){const t=i[s];if(t.hyperlinkId!==o.hyperlinkId){e=s+1;break}s--}let a=n+1;while(a<i.length){const e=i[a];if(e.hyperlinkId!==o.hyperlinkId){t=a-1;break}a++}return a===i.length&&(t=a-1),~e&&~t?[e,t]:null}deleteHyperlink(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.getHyperlinkRange();if(!t)return;const n=this.draw.getElementList(),[r,i]=t;this.draw.spliceElementList(n,r,i-r+1),this.draw.getHyperlinkParticle().clearHyperlinkPopup();const o=r-1;this.range.setRange(o,o),this.draw.render({curIndex:o})}cancelHyperlink(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.getHyperlinkRange();if(!t)return;const n=this.draw.getElementList(),[r,i]=t;for(let s=r;s<=i;s++){const e=n[s];delete e.type,delete e.url,delete e.hyperlinkId,delete e.underline}this.draw.getHyperlinkParticle().clearHyperlinkPopup();const{endIndex:o}=this.range.getRange();this.draw.render({curIndex:o,isCompute:!1})}editHyperlink(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.getHyperlinkRange();if(!n)return;const r=this.draw.getElementList(),[i,o]=n;for(let a=i;a<=o;a++){const t=r[a];t.url=e}this.draw.getHyperlinkParticle().clearHyperlinkPopup();const{endIndex:s}=this.range.getRange();this.draw.render({curIndex:s,isCompute:!1})}separator(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=this.control.getActiveControl();if(n)return;const{startIndex:r,endIndex:i}=this.range.getRange();if(!~r&&!~i)return;const o=this.draw.getElementList();let s=-1;const a=o[i+1];if(a&&a.type===he.SEPARATOR){if(a.dashArray&&a.dashArray.join()===e.join())return;s=i,a.dashArray=e}else{const t={value:v,type:he.SEPARATOR,dashArray:e};rn(o,[t],r,{editorOptions:this.options}),0!==r&&o[r].value===b?(this.draw.spliceElementList(o,r,1,t),s=r-1):(this.draw.spliceElementList(o,r+1,0,t),s=r)}this.range.setRange(s,s),this.draw.render({curIndex:s})}pageBreak(){const e=this.draw.isReadonly()||this.draw.isDisabled();if(e)return;const t=this.control.getActiveControl();t||this.insertElementList([{type:he.PAGE_BREAK,value:v}])}addWatermark(e){const t=this.draw.isReadonly();if(t)return;const n=this.draw.getOptions(),{color:r,size:i,opacity:o,font:s,gap:a}=Lt;n.watermark.data=e.data,n.watermark.color=e.color||r,n.watermark.size=e.size||i,n.watermark.opacity=e.opacity||o,n.watermark.font=e.font||s,n.watermark.repeat=!!e.repeat,n.watermark.gap=e.gap||a,this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1})}deleteWatermark(){const e=this.draw.isReadonly();if(e)return;const t=this.draw.getOptions();t.watermark&&t.watermark.data&&(t.watermark=u({},Lt),this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1}))}image(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const{startIndex:n,endIndex:r}=this.range.getRange();if(!~n&&!~r)return;const{value:i,width:o,height:s,imgDisplay:a}=e;this.insertElementList([{value:i,width:o,height:s,id:H(),type:he.IMAGE,imgDisplay:a}])}search(e){this.searchManager.setSearchKeyword(e),this.draw.render({isSetCursor:!1,isSubmitHistory:!1})}searchNavigatePre(){const e=this.searchManager.searchNavigatePre();null!==e&&this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1,isLazy:!1})}searchNavigateNext(){const e=this.searchManager.searchNavigateNext();null!==e&&this.draw.render({isSetCursor:!1,isSubmitHistory:!1,isCompute:!1,isLazy:!1})}getSearchNavigateInfo(){return this.searchManager.getSearchNavigateInfo()}replace(e){const t=this.draw.isReadonly();if(t)return;if(!e||new RegExp(""+b,"g").test(e))return;const n=this.draw.getSearch().getSearchMatchList();if(!n.length)return;let r=0,i=0,o="",s="",a=-1;const l=this.draw.getOriginalElementList();for(let p=0;p<n.length;p++){const t=n[p];if(t.type===Bt.TABLE){const{tableIndex:n,trIndex:a,tdIndex:c,index:h,tdId:p}=t;s&&p!==s&&(i=0),s=p;const f=n+r,m=l[f].trList[a].tdList[c].value,A=h+i,g=m[A];if(o===t.groupId){this.draw.spliceElementList(m,A,1),i--;continue}for(let t=0;t<e.length;t++){const n=e[t];0===t?g.value=n:(this.draw.spliceElementList(m,A+t,0,d(u({},g),{value:n})),i++)}}else{const n=t.index+r,i=l[n];if(i.type===he.CONTROL&&i.controlComponent!==ht.VALUE)continue;if(~a||(a=p),o===t.groupId){this.draw.spliceElementList(l,n,1),r--;continue}for(let t=0;t<e.length;t++){const o=e[t];0===t?i.value=o:(this.draw.spliceElementList(l,n+t,0,d(u({},i),{value:o})),r++)}}o=t.groupId}if(!~a)return;const c=n[a],h=c.index+(e.length-1);if(c.type===Bt.TABLE){const{tableIndex:e,trIndex:t,tdIndex:n,index:r}=c,i=l[e].trList[t].tdList[n].value[r];this.position.setPositionContext({isTable:!0,index:e,trIndex:t,tdIndex:n,tdId:i.tdId,trId:i.trId,tableId:i.tableId})}else this.position.setPositionContext({isTable:!1});this.range.setRange(h,h),this.draw.render({curIndex:h})}async print(){const{scale:e,printPixelRatio:t,paperDirection:n,width:r,height:i}=this.options;1!==e&&this.draw.setPageScale(1);const o=await this.draw.getDataURL({pixelRatio:t,mode:Ut.PRINT});no(o,{width:r,height:i,direction:n}),1!==e&&this.draw.setPageScale(e)}replaceImageElement(e){const{startIndex:t}=this.range.getRange(),n=this.draw.getElementList(),r=n[t];r&&r.type===he.IMAGE&&(r.value=e,this.draw.render({isSetCursor:!1}))}saveAsImageElement(){const{startIndex:e}=this.range.getRange(),t=this.draw.getElementList(),n=t[e];n&&n.type===he.IMAGE&&V(n.value,n.id+".png")}changeImageDisplay(e,t){if(e.imgDisplay===t)return;e.imgDisplay=t;const{startIndex:n,endIndex:r}=this.range.getRange();if(t===A.SURROUND||t===A.FLOAT_TOP||t===A.FLOAT_BOTTOM){const t=this.position.getPositionList(),{pageNo:r,coordinate:{leftTop:i}}=t[n];e.imgFloatPosition={pageNo:r,x:i[0],y:i[1]}}else delete e.imgFloatPosition;this.draw.getPreviewer().clearResizer(),this.draw.render({isSetCursor:!0,curIndex:r})}getImage(e){return this.draw.getDataURL(e)}getOptions(){return this.options}getValue(e){return this.draw.getValue(e)}getAreaValue(e){return this.draw.getArea().getAreaValue(e)}getHTML(){const e=this.options,t=this.draw.getHeaderElementList(),n=this.draw.getOriginalMainElementList(),r=this.draw.getFooterElementList();return{header:ln(t,e).innerHTML,main:ln(n,e).innerHTML,footer:ln(r,e).innerHTML}}getText(){const e=this.draw.getHeaderElementList(),t=this.draw.getOriginalMainElementList(),n=this.draw.getFooterElementList();return{header:dn(e),main:dn(t),footer:dn(n)}}getWordCount(){return this.workerManager.getWordCount()}getCursorPosition(){return this.position.getCursorPosition()}getRange(){return k(this.range.getRange())}getRangeText(){return this.range.toString()}getRangeContext(){const e=this.range.getRange(),{startIndex:t,endIndex:n}=e;if(!~t&&!~n)return null;const r=t===n,i=this.range.toString(),o=qt(this.range.getSelectionElementList()||[]),s=this.draw.getElementList(),a=zt(s[r?t:t+1],{extraPickAttrs:["id"]}),l=zt(s[n],{extraPickAttrs:["id"]}),c=this.position.getPositionList(),u=c[t].pageNo,d=c[n].pageNo,h=[],p=this.draw.getOriginalHeight(),f=this.draw.getOriginalPageGap(),m=this.position.getSelectionPositionList();if(m){let e=null,t=0,n=null;for(let r=0;r<m.length;r++){const{rowNo:i,pageNo:o,coordinate:{leftTop:s,rightTop:a},lineHeight:l}=m[r];null===e||e!==i?(n&&h.push(n),n={x:s[0],y:s[1]+o*(p+f),width:a[0]-s[0],height:l},e=i,t=s[0]):n.width=a[0]-t,r===m.length-1&&n&&h.push(n)}}else{const e=this.position.getPositionList(),t=e[n],{coordinate:{rightTop:r},pageNo:i,lineHeight:o}=t;h.push({x:r[0],y:r[1]+i*(p+f),width:0,height:o})}const A=this.draw.getZone().getZone(),{isTable:g,trIndex:_,tdIndex:b,index:v}=this.position.getPositionContext();let w=null;if(g){const e=this.draw.getOriginalElementList(),t=e[v]||null;t&&(w=qt([t])[0])}let y=null,R=null,M=t-1;while(M>0){const e=s[M],t=s[M-1];if(e.titleId&&e.titleId!==(null==t?void 0:t.titleId)){y=e.titleId,R=c[M].pageNo;break}M--}return k({isCollapsed:r,startElement:a,endElement:l,startPageNo:u,endPageNo:d,rangeRects:h,zone:A,isTable:g,trIndex:null!=_?_:null,tdIndex:null!=b?b:null,tableElement:w,selectionText:i,selectionElementList:o,titleId:y,titleStartPageNo:R})}getRangeRow(){const e=this.range.getRangeRowElementList();return e?qt(e):null}getRangeParagraph(){const e=this.range.getRangeParagraphElementList();return e?qt(e):null}getKeywordRangeList(e){return this.range.getKeywordRangeList(e)}getKeywordContext(e){var t,n,r,i;const o=this.getKeywordRangeList(e);if(!o.length)return null;const s=[],a=this.position.getOriginalMainPositionList(),l=this.draw.getOriginalMainElementList();for(let c=0;c<o.length;c++){const e=o[c],{startIndex:u,endIndex:d,tableId:h,startTrIndex:p,startTdIndex:f}=e;let m=a;if(e.tableId){const e=l.find(e=>e.id===h);e&&(m=(null==(i=null==(r=null==(n=null==(t=e.trList)?void 0:t[p])?void 0:n.tdList)?void 0:r[f])?void 0:i.positionList)||[])}const A=k(m[u]),g=k(m[d]);s.push({range:e,startPosition:A,endPosition:g})}return s}pageMode(e){this.draw.setPageMode(e)}pageScale(e){e!==this.options.scale&&this.draw.setPageScale(e)}pageScaleRecovery(){const{scale:e}=this.options;1!==e&&this.draw.setPageScale(1)}pageScaleMinus(){const{scale:e}=this.options,t=10*e-1;t>=5&&this.draw.setPageScale(t/10)}pageScaleAdd(){const{scale:e}=this.options,t=10*e+1;t<=30&&this.draw.setPageScale(t/10)}paperSize(e,t){this.draw.setPaperSize(e,t)}paperDirection(e){this.draw.setPaperDirection(e)}getPaperMargin(){return this.options.margins}setPaperMargin(e){return this.draw.setPaperMargin(e)}setMainBadge(e){this.draw.getBadge().setMainBadge(e),this.draw.render({isCompute:!1,isSubmitHistory:!1})}setAreaBadge(e){this.draw.getBadge().setAreaBadgeMap(e),this.draw.render({isCompute:!1,isSubmitHistory:!1})}insertElementList(e){if(!e.length)return;const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=k(e),{startIndex:r}=this.range.getRange(),i=this.draw.getElementList();rn(i,n,r,{isBreakWhenWrap:!0,editorOptions:this.options}),this.draw.insertElementList(n)}appendElementList(e,t){if(!e.length)return;const n=this.draw.isReadonly();n||this.draw.appendElementList(k(e),t)}updateElementById(e){const{id:t,conceptId:n}=e;if(!t&&!n)return;function r(e){for(let r=0;r<e.length;r++){const i=e[r];if(t&&i.id===t||n&&i.conceptId===n)return r}return-1}const i=[this.draw.getOriginalMainElementList,this.draw.getHeaderElementList,this.draw.getFooterElementList];for(const o of i){const t=o.call(this.draw),n=r(t);if(~n){t[n]=u(u({},t[n]),e.properties),Gt(qt([t[n]]),{isHandleFirstElement:!1,editorOptions:this.options}),this.draw.render({isSetCursor:!1});break}}}getElementById(e){const{id:t,conceptId:n}=e,r=[];if(!t&&!n)return r;const i=e=>{let i=0;while(i<e.length){const o=e[i];i++,t&&o.controlId!==t||n&&o.conceptId!==n||r.push(o)}},o=[this.draw.getHeaderElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooterElementList()];for(const s of o)i(s);return qt(r,{extraPickAttrs:["id"]})}setValue(e,t){this.draw.setValue(e,t)}removeControl(e){if((null==e?void 0:e.id)||(null==e?void 0:e.conceptId)){const{id:t,conceptId:n}=e;let r=!1;const i=e=>{let o=e.length-1;while(o>=0){const s=e[o];if(s.type===he.TABLE){const e=s.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];i(t.value)}}}o--,!s.control||t&&s.controlId!==t||n&&s.control.conceptId!==n||(r=!0,e.splice(o+1,1))}},o=[this.draw.getHeaderElementList(),this.draw.getOriginalMainElementList(),this.draw.getFooterElementList()];for(const e of o)i(e);r&&this.draw.render({isSetCursor:!1})}else{const{startIndex:e,endIndex:t}=this.range.getRange();if(e!==t)return;const n=this.draw.getElementList(),r=n[e];if(!r.controlId)return;const i=this.draw.getControl(),o=i.removeControl(e);if(null===o)return;this.range.setRange(o,o),this.draw.render({curIndex:o})}}setLocale(e){this.i18n.setLocale(e)}getLocale(){return this.i18n.getLocale()}getCatalog(){return this.workerManager.getCatalog()}locationCatalog(e){var t;const n=this.draw.getOriginalMainElementList();let r=-1;for(let i=0;i<n.length;i++){const o=n[i];if(o.titleId===e&&(null==(t=n[i+1])?void 0:t.titleId)!==e){r=i;break}}~r&&(this.position.setPositionContext({isTable:!1}),this.range.setRange(r,r),this.draw.render({curIndex:r,isCompute:!1,isSubmitHistory:!1}))}wordTool(){const e=this.draw.getMainElementList();let t=!1;for(let n=0;n<e.length;n++){const r=e[n];if(r.value===b)while(n+1<e.length){const r=e[n+1];if(r.value!==b&&r.value!==w)break;e.splice(n+1,1),t=!0}}if(t)this.draw.render({isSetCursor:!1});else{const e=this.range.getIsCollapsed();this.draw.getCursor().drawCursor({isShow:e})}}setHTML(e){const{header:t,main:n,footer:r}=e,i=this.draw.getOriginalInnerWidth(),o=e=>void 0!==e?un(e,{innerWidth:i}):void 0;this.setValue({header:o(t),main:o(n),footer:o(r)})}setGroup(){const e=this.draw.isReadonly();return e?null:this.draw.getGroup().setGroup()}deleteGroup(e){const t=this.draw.isReadonly();t||this.draw.getGroup().deleteGroup(e)}getGroupIds(){return this.draw.getWorkerManager().getGroupIds()}locationGroup(e){const t=this.draw.getOriginalMainElementList(),n=this.draw.getGroup().getContextByGroupId(t,e);if(!n)return;const{isTable:r,index:i,trIndex:o,tdIndex:s,tdId:a,trId:l,tableId:c,endIndex:u}=n;this.position.setPositionContext({isTable:r,index:i,trIndex:o,tdIndex:s,tdId:a,trId:l,tableId:c}),this.range.setRange(u,u),this.draw.render({curIndex:u,isCompute:!1,isSubmitHistory:!1})}setZone(e){this.draw.getZone().setZone(e)}getControlValue(e){return this.draw.getControl().getValueById(e)}setControlValue(e){this.draw.getControl().setValueById(e)}setControlExtension(e){this.draw.getControl().setExtensionById(e)}setControlProperties(e){this.draw.getControl().setPropertiesById(e)}setControlHighlight(e){this.draw.getControl().setHighlightList(e),this.draw.render({isSubmitHistory:!1})}updateOptions(e){const t=Xt(e);Object.entries(t).forEach(([e,t])=>{Reflect.set(this.options,e,t)}),this.forceUpdate()}getControlList(){return this.draw.getControl().getList()}locationControl(e,t){const n=(null==t?void 0:t.position)===g.AFTER;function r(t,i){var o,s;let a=0;while(a<t.length){const l=t[a];if(a++,l.type===he.TABLE){const e=l.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const o=n.tdList[e],s=r(o.value,i);if(s)return d(u({},s),{positionContext:{isTable:!0,index:a-1,trIndex:t,tdIndex:e,tdId:l.tdId,trId:l.trId,tableId:l.tableId}})}}}if((null==l?void 0:l.controlId)!==e)continue;let c=a-1;if(n){if(c-=1,l.controlComponent!==ht.PLACEHOLDER&&l.controlComponent!==ht.POSTFIX&&l.controlComponent!==ht.POST_TEXT)continue}else if(l.controlComponent!==ht.PREFIX&&l.controlComponent!==ht.PRE_TEXT||(null==(o=t[a])?void 0:o.controlComponent)===ht.PREFIX||(null==(s=t[a])?void 0:s.controlComponent)===ht.PRE_TEXT)continue;return{zone:i,range:{startIndex:c,endIndex:c},positionContext:{isTable:!1}}}return null}const i=[{zone:Ht.HEADER,elementList:this.draw.getHeaderElementList()},{zone:Ht.MAIN,elementList:this.draw.getOriginalMainElementList()},{zone:Ht.FOOTER,elementList:this.draw.getFooterElementList()}];for(const o of i){const e=r(o.elementList,o.zone);if(e){this.setZone(e.zone),this.position.setPositionContext(e.positionContext),this.range.replaceRange(e.range),this.draw.render({curIndex:e.range.startIndex,isCompute:!1,isSubmitHistory:!1});break}}}insertControl(e){const t=this.draw.isReadonly()||this.draw.isDisabled();if(t)return;const n=k(e),{startIndex:r}=this.range.getRange(),i=this.draw.getElementList(),o=nn(i,r);if(!o)return;const s=[..._e,...fe,...ve,...Re];z(s,o,n),this.draw.insertElementList([n])}getContainer(){return this.draw.getContainer()}getTitleValue(e){const{conceptId:t}=e,n=[],r=(e,i)=>{var o;let s=0;while(s<e.length){const a=e[s];if(s++,a.type===he.TABLE){const e=a.trList;for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.tdList.length;e++){const t=n.tdList[e];r(t.value,i)}}}if((null==(o=null==a?void 0:a.title)?void 0:o.conceptId)!==t)continue;const l=[];let c=s;while(c<e.length){const t=e[c];if(c++,a.titleId!==t.titleId){if(t.level&&ct[t.level]<=ct[a.level])break;l.push(t)}}n.push(d(u({},a.title),{value:dn(l),elementList:qt(l),zone:i})),s=c}},i=[{zone:Ht.HEADER,elementList:this.draw.getHeaderElementList()},{zone:Ht.MAIN,elementList:this.draw.getOriginalMainElementList()},{zone:Ht.FOOTER,elementList:this.draw.getFooterElementList()}];for(const{zone:o,elementList:s}of i)r(s,o);return n}getPositionContextByEvent(e){var t,n,r;const i=null==(t=e.target)?void 0:t.dataset.index;if(!i)return null;const o=Number(i),s=this.position.getPositionByXY({x:e.offsetX,y:e.offsetY,pageNo:o}),{isDirectHit:a,isTable:l,index:c,trIndex:u,tdIndex:d,tdValueIndex:h,zone:p}=s;if(!a||p&&p!==this.zone.getZone())return null;let f=null;const m=this.draw.getOriginalElementList();let A=null;const g=this.position.getOriginalPositionList();if(l){const e=null==(n=m[c].trList)?void 0:n[u].tdList[d];f=(null==e?void 0:e.value[h])||null,A=(null==(r=null==e?void 0:e.positionList)?void 0:r[h])||null}else f=m[c]||null,A=g[c]||null;let _=null;if(A){const{pageNo:e,coordinate:{leftTop:t,rightTop:n},lineHeight:r}=A,i=this.draw.getOriginalHeight(),o=this.draw.getOriginalPageGap();_={x:t[0],y:t[1]+e*(i+o),width:n[0]-t[0],height:r}}return{pageNo:o,element:f,rangeRect:_}}insertTitle(e){var t;const n=this.draw.isReadonly()||this.draw.isDisabled();if(n)return;const r=k(e),{startIndex:i}=this.range.getRange(),o=this.draw.getElementList(),s=nn(o,i);if(!s)return;const a=[..._e,...fe,...ve,...Re];null==(t=r.valueList)||t.forEach(e=>{z(a,s,e)}),this.draw.insertElementList([r])}focus(e){const{position:t=g.AFTER}=e||{},n=t===g.BEFORE?0:this.draw.getOriginalMainElementList().length-1;this.range.setRange(n,n),this.draw.render({curIndex:n,isCompute:!1,isSubmitHistory:!1});const r=this.draw.getPosition().getPositionList();this.draw.getCursor().moveCursorToVisible({cursorPosition:r[n],direction:de.DOWN})}insertArea(e){return this.draw.getArea().insertArea(e)}setAreaProperties(e){this.draw.getArea().setAreaProperties(e)}}class io{constructor(){h(this,"rangeStyleChange"),h(this,"visiblePageNoListChange"),h(this,"intersectionPageNoChange"),h(this,"pageSizeChange"),h(this,"pageScaleChange"),h(this,"saved"),h(this,"contentChange"),h(this,"controlChange"),h(this,"pageModeChange"),h(this,"zoneChange"),this.rangeStyleChange=null,this.visiblePageNoListChange=null,this.intersectionPageNoChange=null,this.pageSizeChange=null,this.pageScaleChange=null,this.saved=null,this.contentChange=null,this.controlChange=null,this.pageModeChange=null,this.zoneChange=null}}class oo{constructor(e){h(this,"contextMenuList"),h(this,"getContextMenuList"),h(this,"shortcutList"),h(this,"langMap");const{contextMenu:t,shortcut:n,i18n:r}=e;this.contextMenuList=t.registerContextMenuList.bind(t),this.getContextMenuList=t.getContextMenuList.bind(t),this.shortcutList=n.registerShortcutList.bind(n),this.langMap=r.registerLangMap.bind(r)}}const so={SELECTED_TEXT:"%s"},ao={GLOBAL:{CUT:"globalCut",COPY:"globalCopy",PASTE:"globalPaste",SELECT_ALL:"globalSelectAll",PRINT:"globalPrint"},CONTROL:{DELETE:"controlDelete"},HYPERLINK:{DELETE:"hyperlinkDelete",CANCEL:"hyperlinkCancel",EDIT:"hyperlinkEdit"},IMAGE:{CHANGE:"imageChange",SAVE_AS:"imageSaveAs",TEXT_WRAP:"imageTextWrap",TEXT_WRAP_EMBED:"imageTextWrapEmbed",TEXT_WRAP_UP_DOWN:"imageTextWrapUpDown",TEXT_WRAP_SURROUND:"imageTextWrapSurround",TEXT_WRAP_FLOAT_TOP:"imageTextWrapFloatTop",TEXT_WRAP_FLOAT_BOTTOM:"imageTextWrapFloatBottom"},TABLE:{BORDER:"border",BORDER_ALL:"tableBorderAll",BORDER_EMPTY:"tableBorderEmpty",BORDER_DASH:"tableBorderDash",BORDER_EXTERNAL:"tableBorderExternal",BORDER_INTERNAL:"tableBorderInternal",BORDER_TD:"tableBorderTd",BORDER_TD_TOP:"tableBorderTdTop",BORDER_TD_RIGHT:"tableBorderTdRight",BORDER_TD_BOTTOM:"tableBorderTdBottom",BORDER_TD_LEFT:"tableBorderTdLeft",BORDER_TD_FORWARD:"tableBorderTdForward",BORDER_TD_BACK:"tableBorderTdBack",VERTICAL_ALIGN:"tableVerticalAlign",VERTICAL_ALIGN_TOP:"tableVerticalAlignTop",VERTICAL_ALIGN_MIDDLE:"tableVerticalAlignMiddle",VERTICAL_ALIGN_BOTTOM:"tableVerticalAlignBottom",INSERT_ROW_COL:"tableInsertRowCol",INSERT_TOP_ROW:"tableInsertTopRow",INSERT_BOTTOM_ROW:"tableInsertBottomRow",INSERT_LEFT_COL:"tableInsertLeftCol",INSERT_RIGHT_COL:"tableInsertRightCol",DELETE_ROW_COL:"tableDeleteRowCol",DELETE_ROW:"tableDeleteRow",DELETE_COL:"tableDeleteCol",DELETE_TABLE:"tableDeleteTable",MERGE_CELL:"tableMergeCell",CANCEL_MERGE_CELL:"tableCancelMergeCell"}},{CONTROL:{DELETE:lo}}=ao,co=[{key:lo,i18nPath:"contextmenu.control.delete",when:e=>{var t;return!e.isReadonly&&!e.editorHasSelection&&!!(null==(t=e.startElement)?void 0:t.controlId)&&e.options.mode!==Ut.FORM},callback:e=>{e.executeRemoveControl()}}],{GLOBAL:{CUT:uo,COPY:ho,PASTE:po,SELECT_ALL:fo,PRINT:mo}}=ao,Ao=[{key:uo,i18nPath:"contextmenu.global.cut",shortCut:(Nn?"⌘":"Ctrl")+" + X",when:e=>!e.isReadonly,callback:e=>{e.executeCut()}},{key:ho,i18nPath:"contextmenu.global.copy",shortCut:(Nn?"⌘":"Ctrl")+" + C",when:e=>e.editorHasSelection||e.isCrossRowCol,callback:e=>{e.executeCopy()}},{key:po,i18nPath:"contextmenu.global.paste",shortCut:(Nn?"⌘":"Ctrl")+" + V",when:e=>!e.isReadonly&&e.editorTextFocus,callback:e=>{e.executePaste()}},{key:fo,i18nPath:"contextmenu.global.selectAll",shortCut:(Nn?"⌘":"Ctrl")+" + A",when:e=>e.editorTextFocus,callback:e=>{e.executeSelectAll()}},{isDivider:!0},{key:mo,i18nPath:"contextmenu.global.print",icon:"print",when:()=>!0,callback:e=>{e.executePrint()}}],{HYPERLINK:{DELETE:go,CANCEL:_o,EDIT:bo}}=ao,vo=[{key:go,i18nPath:"contextmenu.hyperlink.delete",when:e=>{var t;return!e.isReadonly&&(null==(t=e.startElement)?void 0:t.type)===he.HYPERLINK},callback:e=>{e.executeDeleteHyperlink()}},{key:_o,i18nPath:"contextmenu.hyperlink.cancel",when:e=>{var t;return!e.isReadonly&&(null==(t=e.startElement)?void 0:t.type)===he.HYPERLINK},callback:e=>{e.executeCancelHyperlink()}},{key:bo,i18nPath:"contextmenu.hyperlink.edit",when:e=>{var t;return!e.isReadonly&&(null==(t=e.startElement)?void 0:t.type)===he.HYPERLINK},callback:(e,t)=>{var n;const r=window.prompt("编辑链接",null==(n=t.startElement)?void 0:n.url);r&&e.executeEditHyperlink(r)}}],{IMAGE:{CHANGE:wo,SAVE_AS:yo,TEXT_WRAP:Ro,TEXT_WRAP_EMBED:Mo,TEXT_WRAP_UP_DOWN:So,TEXT_WRAP_SURROUND:Eo,TEXT_WRAP_FLOAT_TOP:To,TEXT_WRAP_FLOAT_BOTTOM:Co}}=ao,Oo=[{key:wo,i18nPath:"contextmenu.image.change",icon:"image-change",when:e=>{var t;return!e.isReadonly&&!e.editorHasSelection&&(null==(t=e.startElement)?void 0:t.type)===he.IMAGE},callback:e=>{const t=document.createElement("input");t.type="file",t.accept=".png, .jpg, .jpeg",t.onchange=()=>{const n=t.files[0],r=new FileReader;r.readAsDataURL(n),r.onload=()=>{const t=r.result;e.executeReplaceImageElement(t)}},t.click()}},{key:yo,i18nPath:"contextmenu.image.saveAs",icon:"image",when:e=>{var t;return!e.editorHasSelection&&(null==(t=e.startElement)?void 0:t.type)===he.IMAGE},callback:e=>{e.executeSaveAsImageElement()}},{key:Ro,i18nPath:"contextmenu.image.textWrap",when:e=>{var t;return!e.isReadonly&&!e.editorHasSelection&&(null==(t=e.startElement)?void 0:t.type)===he.IMAGE},childMenus:[{key:Mo,i18nPath:"contextmenu.image.textWrapType.embed",when:()=>!0,callback:(e,t)=>{e.executeChangeImageDisplay(t.startElement,A.BLOCK)}},{key:So,i18nPath:"contextmenu.image.textWrapType.upDown",when:()=>!0,callback:(e,t)=>{e.executeChangeImageDisplay(t.startElement,A.INLINE)}},{key:Eo,i18nPath:"contextmenu.image.textWrapType.surround",when:()=>!0,callback:(e,t)=>{e.executeChangeImageDisplay(t.startElement,A.SURROUND)}},{key:To,i18nPath:"contextmenu.image.textWrapType.floatTop",when:()=>!0,callback:(e,t)=>{e.executeChangeImageDisplay(t.startElement,A.FLOAT_TOP)}},{key:Co,i18nPath:"contextmenu.image.textWrapType.floatBottom",when:()=>!0,callback:(e,t)=>{e.executeChangeImageDisplay(t.startElement,A.FLOAT_BOTTOM)}}]}],{TABLE:{BORDER:xo,BORDER_ALL:No,BORDER_EMPTY:Lo,BORDER_DASH:Io,BORDER_EXTERNAL:Po,BORDER_INTERNAL:Do,BORDER_TD:Fo,BORDER_TD_TOP:ko,BORDER_TD_LEFT:Bo,BORDER_TD_BOTTOM:Uo,BORDER_TD_RIGHT:Ho,BORDER_TD_BACK:jo,BORDER_TD_FORWARD:Vo,VERTICAL_ALIGN:Wo,VERTICAL_ALIGN_TOP:Yo,VERTICAL_ALIGN_MIDDLE:Qo,VERTICAL_ALIGN_BOTTOM:Xo,INSERT_ROW_COL:Ko,INSERT_TOP_ROW:Go,INSERT_BOTTOM_ROW:Zo,INSERT_LEFT_COL:zo,INSERT_RIGHT_COL:qo,DELETE_ROW_COL:Jo,DELETE_ROW:$o,DELETE_COL:es,DELETE_TABLE:ts,MERGE_CELL:ns,CANCEL_MERGE_CELL:rs}}=ao,is=[{isDivider:!0},{key:xo,i18nPath:"contextmenu.table.border",icon:"border-all",when:e=>!e.isReadonly&&e.isInTable&&e.options.mode!==Ut.FORM,childMenus:[{key:No,i18nPath:"contextmenu.table.borderAll",icon:"border-all",when:()=>!0,callback:e=>{e.executeTableBorderType(_r.ALL)}},{key:Lo,i18nPath:"contextmenu.table.borderEmpty",icon:"border-empty",when:()=>!0,callback:e=>{e.executeTableBorderType(_r.EMPTY)}},{key:Io,i18nPath:"contextmenu.table.borderDash",icon:"border-dash",when:()=>!0,callback:e=>{e.executeTableBorderType(_r.DASH)}},{key:Po,i18nPath:"contextmenu.table.borderExternal",icon:"border-external",when:()=>!0,callback:e=>{e.executeTableBorderType(_r.EXTERNAL)}},{key:Do,i18nPath:"contextmenu.table.borderInternal",icon:"border-internal",when:()=>!0,callback:e=>{e.executeTableBorderType(_r.INTERNAL)}},{key:Fo,i18nPath:"contextmenu.table.borderTd",icon:"border-td",when:()=>!0,childMenus:[{key:ko,i18nPath:"contextmenu.table.borderTdTop",icon:"border-td-top",when:()=>!0,callback:e=>{e.executeTableTdBorderType(br.TOP)}},{key:Ho,i18nPath:"contextmenu.table.borderTdRight",icon:"border-td-right",when:()=>!0,callback:e=>{e.executeTableTdBorderType(br.RIGHT)}},{key:Uo,i18nPath:"contextmenu.table.borderTdBottom",icon:"border-td-bottom",when:()=>!0,callback:e=>{e.executeTableTdBorderType(br.BOTTOM)}},{key:Bo,i18nPath:"contextmenu.table.borderTdLeft",icon:"border-td-left",when:()=>!0,callback:e=>{e.executeTableTdBorderType(br.LEFT)}},{key:Vo,i18nPath:"contextmenu.table.borderTdForward",icon:"border-td-forward",when:()=>!0,callback:e=>{e.executeTableTdSlashType(vr.FORWARD)}},{key:jo,i18nPath:"contextmenu.table.borderTdBack",icon:"border-td-back",when:()=>!0,callback:e=>{e.executeTableTdSlashType(vr.BACK)}}]}]},{key:Wo,i18nPath:"contextmenu.table.verticalAlign",icon:"vertical-align",when:e=>!e.isReadonly&&e.isInTable&&e.options.mode!==Ut.FORM,childMenus:[{key:Yo,i18nPath:"contextmenu.table.verticalAlignTop",icon:"vertical-align-top",when:()=>!0,callback:e=>{e.executeTableTdVerticalAlign(_t.TOP)}},{key:Qo,i18nPath:"contextmenu.table.verticalAlignMiddle",icon:"vertical-align-middle",when:()=>!0,callback:e=>{e.executeTableTdVerticalAlign(_t.MIDDLE)}},{key:Xo,i18nPath:"contextmenu.table.verticalAlignBottom",icon:"vertical-align-bottom",when:()=>!0,callback:e=>{e.executeTableTdVerticalAlign(_t.BOTTOM)}}]},{key:Ko,i18nPath:"contextmenu.table.insertRowCol",icon:"insert-row-col",when:e=>!e.isReadonly&&e.isInTable&&e.options.mode!==Ut.FORM,childMenus:[{key:Go,i18nPath:"contextmenu.table.insertTopRow",icon:"insert-top-row",when:()=>!0,callback:e=>{e.executeInsertTableTopRow()}},{key:Zo,i18nPath:"contextmenu.table.insertBottomRow",icon:"insert-bottom-row",when:()=>!0,callback:e=>{e.executeInsertTableBottomRow()}},{key:zo,i18nPath:"contextmenu.table.insertLeftCol",icon:"insert-left-col",when:()=>!0,callback:e=>{e.executeInsertTableLeftCol()}},{key:qo,i18nPath:"contextmenu.table.insertRightCol",icon:"insert-right-col",when:()=>!0,callback:e=>{e.executeInsertTableRightCol()}}]},{key:Jo,i18nPath:"contextmenu.table.deleteRowCol",icon:"delete-row-col",when:e=>!e.isReadonly&&e.isInTable&&e.options.mode!==Ut.FORM,childMenus:[{key:$o,i18nPath:"contextmenu.table.deleteRow",icon:"delete-row",when:()=>!0,callback:e=>{e.executeDeleteTableRow()}},{key:es,i18nPath:"contextmenu.table.deleteCol",icon:"delete-col",when:()=>!0,callback:e=>{e.executeDeleteTableCol()}},{key:ts,i18nPath:"contextmenu.table.deleteTable",icon:"delete-table",when:()=>!0,callback:e=>{e.executeDeleteTable()}}]},{key:ns,i18nPath:"contextmenu.table.mergeCell",icon:"merge-cell",when:e=>!e.isReadonly&&e.isCrossRowCol&&e.options.mode!==Ut.FORM,callback:e=>{e.executeMergeTableCell()}},{key:rs,i18nPath:"contextmenu.table.mergeCancelCell",icon:"merge-cancel-cell",when:e=>!e.isReadonly&&e.isInTable&&e.options.mode!==Ut.FORM,callback:e=>{e.executeCancelMergeTableCell()}}];class os{constructor(e,t){h(this,"options"),h(this,"draw"),h(this,"command"),h(this,"range"),h(this,"position"),h(this,"i18n"),h(this,"container"),h(this,"contextMenuList"),h(this,"contextMenuContainerList"),h(this,"contextMenuRelationShip"),h(this,"context"),h(this,"_proxyContextMenuEvent",e=>{this.context=this._getContext();const t=this._filterMenuList(this.contextMenuList),n=t.some(e=>!e.isDivider);n&&(this.dispose(),this._render({contextMenuList:t,left:e.x,top:e.y})),e.preventDefault()}),h(this,"_handleSideEffect",e=>{if(this.contextMenuContainerList.length){const t=(null==e?void 0:e.composedPath()[0])||e.target,n=U(t,e=>!!e&&1===e.nodeType&&e.getAttribute(le)===kt.CONTEXTMENU,!0);n||this.dispose()}}),this.options=e.getOptions(),this.draw=e,this.command=t,this.range=e.getRange(),this.position=e.getPosition(),this.i18n=e.getI18n(),this.container=e.getContainer(),this.context=null,this.contextMenuList=[...Ao,...is,...Oo,...co,...vo],this.contextMenuContainerList=[],this.contextMenuRelationShip=new Map,this._addEvent()}getContextMenuList(){return this.contextMenuList}_addEvent(){this.container.addEventListener("contextmenu",this._proxyContextMenuEvent),document.addEventListener("mousedown",this._handleSideEffect)}removeEvent(){this.container.removeEventListener("contextmenu",this._proxyContextMenuEvent),document.removeEventListener("mousedown",this._handleSideEffect)}_filterMenuList(e){var t;const{contextMenuDisableKeys:n}=this.options,r=[];for(let i=0;i<e.length;i++){const o=e[i];o.disable||o.key&&n.includes(o.key)||(o.isDivider||(null==(t=o.when)?void 0:t.call(o,this.context)))&&r.push(o)}return r}_getContext(){const e=this.draw.isReadonly(),{isCrossRowCol:t,startIndex:n,endIndex:r}=this.range.getRange(),i=!(!~n&&!~r),o=i&&n!==r,{isTable:s,trIndex:a,tdIndex:l,index:c}=this.position.getPositionContext();let u=null;if(s){const e=this.draw.getOriginalElementList(),t=e[c]||null;t&&(u=qt([t],{extraPickAttrs:["id"]})[0])}const d=s&&!!t,h=this.draw.getElementList(),p=h[n]||null,f=h[r]||null,m=this.draw.getZone().getZone();return{startElement:p,endElement:f,isReadonly:e,editorHasSelection:o,editorTextFocus:i,isCrossRowCol:d,zone:m,isInTable:s,trIndex:null!=a?a:null,tdIndex:null!=l?l:null,tableElement:u,options:this.options}}_createContextMenuContainer(){const e=document.createElement("div");return e.classList.add(ce+"-contextmenu-container"),e.setAttribute(le,kt.CONTEXTMENU),this.container.append(e),e}_render(e){var t;const{contextMenuList:n,left:r,top:i,parentMenuContainer:o}=e,s=this._createContextMenuContainer(),a=document.createElement("div");a.classList.add(ce+"-contextmenu-content");let l=null;o&&this.contextMenuRelationShip.set(o,s);for(let A=0;A<n.length;A++){const e=n[A];if(e.isDivider){if(0!==A&&A!==n.length-1&&!(null==(t=n[A-1])?void 0:t.isDivider)){const e=document.createElement("div");e.classList.add(ce+"-contextmenu-divider"),a.append(e)}}else{const t=document.createElement("div");if(t.classList.add(ce+"-contextmenu-item"),e.childMenus){const n=this._filterMenuList(e.childMenus),r=n.some(e=>!e.isDivider);r&&(t.classList.add(ce+"-contextmenu-sub-item"),t.onmouseenter=()=>{this._setHoverStatus(t,!0),this._removeSubMenu(s);const e=t.getBoundingClientRect(),r=e.left+e.width,i=e.top;l=this._render({contextMenuList:n,left:r,top:i,parentMenuContainer:s})},t.onmouseleave=e=>{l&&l.contains(e.relatedTarget)||this._setHoverStatus(t,!1)})}else t.onmouseenter=()=>{this._setHoverStatus(t,!0),this._removeSubMenu(s)},t.onmouseleave=()=>{this._setHoverStatus(t,!1)},t.onclick=()=>{e.callback&&this.context&&e.callback(this.command,this.context),this.dispose()};const n=document.createElement("i");t.append(n),e.icon&&n.classList.add(`${ce}-contextmenu-${e.icon}`);const r=document.createElement("span"),i=e.i18nPath?this._formatName(this.i18n.t(e.i18nPath)):this._formatName(e.name||"");if(r.append(document.createTextNode(i)),t.append(r),e.shortCut){const n=document.createElement("span");n.classList.add(ce+"-shortcut"),n.append(document.createTextNode(e.shortCut)),t.append(n)}a.append(t)}}s.append(a),s.style.display="block";const c=window.innerWidth,u=s.getBoundingClientRect(),d=u.width,h=r+d>c?r-d:r;s.style.left=h+"px";const p=window.innerHeight,f=u.height,m=i+f>p?i-f:i;return s.style.top=m+"px",this.contextMenuContainerList.push(s),s}_removeSubMenu(e){const t=this.contextMenuRelationShip.get(e);t&&(this._removeSubMenu(t),t.remove(),this.contextMenuRelationShip.delete(e))}_setHoverStatus(e,t){var n;t?(null==(n=e.parentNode)||n.querySelectorAll(ce+"-contextmenu-item").forEach(e=>e.classList.remove("hover")),e.classList.add("hover")):e.classList.remove("hover")}_formatName(e){const t=Object.values(so),n=new RegExp(""+t.join("|"));let r=e;if(n.test(r)){const e=new RegExp(so.SELECTED_TEXT,"g");if(e.test(r)){const t=this.range.toString();r=r.replace(e,t)}}return r}registerContextMenuList(e){this.contextMenuList.push(...e)}dispose(){this.contextMenuContainerList.forEach(e=>e.remove()),this.contextMenuContainerList=[],this.contextMenuRelationShip.clear()}}const ss=[{key:Pn.X,ctrl:!0,shift:!0,callback:e=>{e.executeStrikeout()}},{key:Pn.LEFT_BRACKET,mod:!0,callback:e=>{e.executeSizeAdd()}},{key:Pn.RIGHT_BRACKET,mod:!0,callback:e=>{e.executeSizeMinus()}},{key:Pn.B,mod:!0,callback:e=>{e.executeBold()}},{key:Pn.I,mod:!0,callback:e=>{e.executeItalic()}},{key:Pn.U,mod:!0,callback:e=>{e.executeUnderline()}},{key:Nn?Pn.COMMA:Pn.RIGHT_ANGLE_BRACKET,mod:!0,shift:!0,callback:e=>{e.executeSuperscript()}},{key:Nn?Pn.PERIOD:Pn.LEFT_ANGLE_BRACKET,mod:!0,shift:!0,callback:e=>{e.executeSubscript()}},{key:Pn.L,mod:!0,callback:e=>{e.executeRowFlex(T.LEFT)}},{key:Pn.E,mod:!0,callback:e=>{e.executeRowFlex(T.CENTER)}},{key:Pn.R,mod:!0,callback:e=>{e.executeRowFlex(T.RIGHT)}},{key:Pn.J,mod:!0,callback:e=>{e.executeRowFlex(T.ALIGNMENT)}},{key:Pn.J,mod:!0,shift:!0,callback:e=>{e.executeRowFlex(T.JUSTIFY)}}],as=[{key:Pn.ZERO,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(null)}},{key:Pn.ONE,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(st.FIRST)}},{key:Pn.TWO,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(st.SECOND)}},{key:Pn.THREE,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(st.THIRD)}},{key:Pn.FOUR,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(st.FOURTH)}},{key:Pn.FIVE,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(st.FIFTH)}},{key:Pn.SIX,alt:!0,ctrl:!0,callback:e=>{e.executeTitle(st.SIXTH)}}],ls=[{key:Pn.I,shift:!0,mod:!0,callback:e=>{e.executeList($e.UL,nt.DISC)}},{key:Pn.U,shift:!0,mod:!0,callback:e=>{e.executeList($e.OL)}}];class cs{constructor(e,t){h(this,"command"),h(this,"globalShortcutList"),h(this,"agentShortcutList"),h(this,"_globalKeydown",e=>{this.globalShortcutList.length&&this._execute(e,this.globalShortcutList)}),this.command=t,this.globalShortcutList=[],this.agentShortcutList=[],this._addShortcutList([...ss,...as,...ls]),this._addEvent();const n=e.getCursor().getAgentDom();n.addEventListener("keydown",this._agentKeydown.bind(this))}_addEvent(){document.addEventListener("keydown",this._globalKeydown)}removeEvent(){document.removeEventListener("keydown",this._globalKeydown)}_addShortcutList(e){for(let t=e.length-1;t>=0;t--){const n=e[t];n.isGlobal?this.globalShortcutList.unshift(n):this.agentShortcutList.unshift(n)}}registerShortcutList(e){this._addShortcutList(e)}_agentKeydown(e){this.agentShortcutList.length&&this._execute(e,this.agentShortcutList)}_execute(e,t){var n;for(let r=0;r<t.length;r++){const i=t[r];if((i.mod?In(e)===!!i.mod:e.ctrlKey===!!i.ctrl&&e.metaKey===!!i.meta)&&e.shiftKey===!!i.shift&&e.altKey===!!i.alt&&e.key.toLowerCase()===i.key.toLowerCase()){i.disable||(null==(n=null==i?void 0:i.callback)||n.call(i,this.command),e.preventDefault());break}}}}class us{constructor(e){h(this,"editor"),this.editor=e}use(e,t){e(this.editor,t)}}class ds{constructor(){h(this,"eventHub"),this.eventHub=new Map}on(e,t){if(!e||"function"!==typeof t)return;const n=this.eventHub.get(e)||new Set;n.add(t),this.eventHub.set(e,n)}emit(e,t){if(!e)return;const n=this.eventHub.get(e);if(n){if(1===n.size){const e=[...n];return e[0](t)}n.forEach(e=>e(t))}}off(e,t){if(!e||"function"!==typeof t)return;const n=this.eventHub.get(e);n&&n.delete(t)}isSubscribe(e){const t=this.eventHub.get(e);return!!t&&t.size>0}}class hs{constructor(){h(this,"paste"),h(this,"copy"),h(this,"drop")}}class ps{constructor(e,t,n={}){h(this,"command"),h(this,"listener"),h(this,"eventBus"),h(this,"override"),h(this,"register"),h(this,"destroy"),h(this,"use");const r=Xt(n);t=k(t);let i=[],o=[],s=[];Array.isArray(t)?o=t:(i=t.header||[],o=t.main,s=t.footer||[]);const a=[i,o,s];a.forEach(e=>{Gt(e,{editorOptions:r,isForceCompensation:!0})}),this.listener=new io,this.eventBus=new ds,this.override=new hs;const l=new $i(e,r,{header:i,main:o,footer:s},this.listener,this.eventBus,this.override);this.command=new eo(new ro(l));const c=new os(l,this.command),u=new cs(l,this.command);this.register=new oo({contextMenu:c,shortcut:u,i18n:l.getI18n()}),this.destroy=()=>{l.destroy(),u.removeEvent(),c.removeEvent()};const d=new us(this);this.use=d.use.bind(d)}}},af0d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("d287"),o=n("68d5");class s extends i.CharacterDataImpl{constructor(e=""){super(e)}static _create(e,t=""){const n=new s(t);return n._nodeDocument=e,n}}t.CommentImpl=s,o.idl_defineConst(s.prototype,"_nodeType",r.NodeType.Comment)},af11:function(e,t,n){},b189:function(e,t,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=n("d4ab"),a=Object.prototype.propertyIsEnumerable,l=!a.call({toString:null},"toString"),c=a.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}};r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===o.call(e),r=s(e),a=t&&"[object String]"===o.call(e),d=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(a&&e.length>0&&!i.call(e,0))for(var p=0;p<e.length;++p)d.push(String(p));if(r&&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=r},b19a:function(e,t,n){"use strict";var r=n("966d"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var o=Object.create(n("3a7c"));o.inherits=n("3fb5");var s=n("ad71"),a=n("dc14");o.inherits(d,s);for(var l=i(a.prototype),c=0;c<l.length;c++){var u=l[c];d.prototype[u]||(d.prototype[u]=a.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);s.call(this,e),a.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||r.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(),r.nextTick(t,e)}},b1e1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("79b1"),i=n("dc6b"),o=n("321f");function s(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 a(e){(e._element.hasAttribute(e._attribute._localName)||0!==e._tokenSet.size)&&o.element_setAnAttributeValue(e._element,e._attribute._localName,r.orderedSet_serialize(e._tokenSet))}function l(e){return o.element_getAnAttributeValue(e._element,e._attribute._localName)}t.tokenList_validationSteps=s,t.tokenList_updateSteps=a,t.tokenList_serializeSteps=l},b246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("f9a6");class i extends r.DocumentImpl{constructor(){super()}}t.XMLDocumentImpl=i},b29d:function(e,t,n){(function(e,t){t(n("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,n){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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  543. //! moment.js locale configuration
  544. function t(e,t,n,r){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[n][0]:i[n][1]}var n=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 n}))},b469:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  545. //! moment.js locale configuration
  546. function t(e,t,n,r){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[n][0]:i[n][1]}var n=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 n}))},b4bc:function(e,t,n){"use strict";var r=n("dc19"),i=n("cb27").has,o=n("8e16"),s=n("7f65"),a=n("384f"),l=n("5388"),c=n("2a62");e.exports=function(e){var t=r(this),n=s(e);if(o(t)<=n.size)return!1!==a(t,(function(e){if(n.includes(e))return!1}),!0);var u=n.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,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("da3e"),s=r.rotr64_hi,a=r.rotr64_lo,l=r.shr64_hi,c=r.shr64_lo,u=r.sum64,d=r.sum64_hi,h=r.sum64_lo,p=r.sum64_4_hi,f=r.sum64_4_lo,m=r.sum64_5_hi,A=r.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 b(){if(!(this instanceof b))return new b;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 v(e,t,n,r,i){var o=e&n^~e&i;return o<0&&(o+=4294967296),o}function w(e,t,n,r,i,o){var s=t&r^~t&o;return s<0&&(s+=4294967296),s}function y(e,t,n,r,i){var o=e&n^e&i^n&i;return o<0&&(o+=4294967296),o}function R(e,t,n,r,i,o){var s=t&r^t&o^r&o;return s<0&&(s+=4294967296),s}function M(e,t){var n=s(e,t,28),r=s(t,e,2),i=s(t,e,7),o=n^r^i;return o<0&&(o+=4294967296),o}function S(e,t){var n=a(e,t,28),r=a(t,e,2),i=a(t,e,7),o=n^r^i;return o<0&&(o+=4294967296),o}function E(e,t){var n=s(e,t,14),r=s(e,t,18),i=s(t,e,9),o=n^r^i;return o<0&&(o+=4294967296),o}function T(e,t){var n=a(e,t,14),r=a(e,t,18),i=a(t,e,9),o=n^r^i;return o<0&&(o+=4294967296),o}function C(e,t){var n=s(e,t,1),r=s(e,t,8),i=l(e,t,7),o=n^r^i;return o<0&&(o+=4294967296),o}function O(e,t){var n=a(e,t,1),r=a(e,t,8),i=c(e,t,7),o=n^r^i;return o<0&&(o+=4294967296),o}function x(e,t){var n=s(e,t,19),r=s(t,e,29),i=l(e,t,6),o=n^r^i;return o<0&&(o+=4294967296),o}function N(e,t){var n=a(e,t,19),r=a(t,e,29),i=c(e,t,6),o=n^r^i;return o<0&&(o+=4294967296),o}r.inherits(b,g),e.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=x(n[r-4],n[r-3]),o=N(n[r-4],n[r-3]),s=n[r-14],a=n[r-13],l=C(n[r-30],n[r-29]),c=O(n[r-30],n[r-29]),u=n[r-32],d=n[r-31];n[r]=p(i,o,s,a,l,c,u,d),n[r+1]=f(i,o,s,a,l,c,u,d)}},b.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],s=this.h[2],a=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],b=this.h[10],C=this.h[11],O=this.h[12],x=this.h[13],N=this.h[14],L=this.h[15];o(this.k.length===n.length);for(var I=0;I<n.length;I+=2){var P=N,D=L,F=E(g,_),k=T(g,_),B=v(g,_,b,C,O,x),U=w(g,_,b,C,O,x),H=this.k[I],j=this.k[I+1],V=n[I],W=n[I+1],Y=m(P,D,F,k,B,U,H,j,V,W),Q=A(P,D,F,k,B,U,H,j,V,W);P=M(r,i),D=S(r,i),F=y(r,i,s,a,l,c),k=R(r,i,s,a,l,c);var X=d(P,D,F,k),K=h(P,D,F,k);N=O,L=x,O=b,x=C,b=g,C=_,g=d(p,f,Y,Q),_=h(f,f,Y,Q),p=l,f=c,l=s,c=a,s=r,a=i,r=d(Y,Q,X,K),i=h(Y,Q,X,K)}u(this.h,0,r,i),u(this.h,2,s,a),u(this.h,4,l,c),u(this.h,6,p,f),u(this.h,8,g,_),u(this.h,10,b,C),u(this.h,12,O,x),u(this.h,14,N,L)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},b53d:function(e,t,n){(function(e,t){t(n("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,n){(function(e,t){t(n("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,n){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,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const r=n("07a0");function i(t){return e.from(t).toString("base64")}function o(t){return""===t?"":(t=t.replace(r.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=o}).call(this,n("b639").Buffer)},b5b7:function(e,t,n){(function(e,t){t(n("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("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^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,o=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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:r,longMonthsParse:r,shortMonthsParse:r,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 o}))},b5ca:function(e,t,n){"use strict";var r=n("b639").Buffer,i=n("3fb5"),o=n("93e6"),s=new Array(16),a=[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(){o.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,n,r,i,o,s,a){return f(e+(t^n^r)+o+s|0,a)+i|0}function A(e,t,n,r,i,o,s,a){return f(e+(t&n|~t&r)+o+s|0,a)+i|0}function g(e,t,n,r,i,o,s,a){return f(e+((t|~n)^r)+o+s|0,a)+i|0}function _(e,t,n,r,i,o,s,a){return f(e+(t&r|n&~r)+o+s|0,a)+i|0}function b(e,t,n,r,i,o,s,a){return f(e+(t^(n|~r))+o+s|0,a)+i|0}i(p,o),p.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,p=0|this._e,v=0|this._a,w=0|this._b,y=0|this._c,R=0|this._d,M=0|this._e,S=0;S<80;S+=1){var E,T;S<16?(E=m(n,r,i,o,p,e[a[S]],d[0],c[S]),T=b(v,w,y,R,M,e[l[S]],h[0],u[S])):S<32?(E=A(n,r,i,o,p,e[a[S]],d[1],c[S]),T=_(v,w,y,R,M,e[l[S]],h[1],u[S])):S<48?(E=g(n,r,i,o,p,e[a[S]],d[2],c[S]),T=g(v,w,y,R,M,e[l[S]],h[2],u[S])):S<64?(E=_(n,r,i,o,p,e[a[S]],d[3],c[S]),T=A(v,w,y,R,M,e[l[S]],h[3],u[S])):(E=b(n,r,i,o,p,e[a[S]],d[4],c[S]),T=m(v,w,y,R,M,e[l[S]],h[4],u[S])),n=p,p=o,o=f(i,10),i=r,r=E,v=M,M=R,R=f(y,10),y=w,w=T}var C=this._b+i+R|0;this._b=this._c+o+M|0,this._c=this._d+p+v|0,this._d=this._e+n+w|0,this._e=this._a+r+y|0,this._a=C},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=r.alloc?r.alloc(20):new r(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,n){var r=n("8707").Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,s=this._len,a=0;a<o;){for(var l=s%i,c=Math.min(o-a,i-l),u=0;u<c;u++)n[l+u]=e[a+u];s+=c,a+=c,s%i===0&&this._update(n)}return this._len+=o,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 n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},b692:function(e,t,n){"use strict";var r=n("8707").Buffer,i=n("98e6"),o=n("e372"),s=n("3fb5"),a=n("6fe7"),l=n("980c"),c=n("b4e8");function u(e){o.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){o.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=r.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),s(u,o.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,t){return this._hash.update("string"===typeof e?r.from(e,t):e),this},u.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=a(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},s(d,o.Writable),d.prototype._write=function(e,t,n){this._hash.update(e),n()},d.prototype.update=function(e,t){return this._hash.update("string"===typeof e?r.from(e,t):e),this},d.prototype.verify=function(e,t,n){var i="string"===typeof t?r.from(t,n):t;this.end();var o=this._hash.digest();return l(i,o,e,this._signType,this._tag)},e.exports={Sign:h,Verify:p,createSign:h,createVerify:p}},b73f:function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function l(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;if(0===e[t.place])return!1;for(var i=0,o=0,s=t.place;o<r;o++,s++)i<<=8,i|=e[s],i>>>=0;return!(i<=127)&&(t.place=s,i)}function c(e){var t=0,n=e.length-1;while(!e[t]&&!(128&e[t+1])&&t<n)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);e.push(128|n);while(--n)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new a;if(48!==e[n.place++])return!1;var o=l(e,n);if(!1===o)return!1;if(o+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var s=l(e,n);if(!1===s)return!1;if(0!==(128&e[n.place]))return!1;var c=e.slice(n.place,s+n.place);if(n.place+=s,2!==e[n.place++])return!1;var u=l(e,n);if(!1===u)return!1;if(e.length!==u+n.place)return!1;if(0!==(128&e[n.place]))return!1;var d=e.slice(n.place,u+n.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 r(c),this.s=new r(d),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=c(t),n=c(n);while(!n[0]&&!(128&n[1]))n=n.slice(1);var r=[2];u(r,t.length),r=r.concat(t),r.push(2),u(r,n.length);var o=r.concat(n),s=[48];return u(s,o.length),s=s.concat(o),i.encode(s,e)}},b777:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("9af8"),o=n("69a8"),s=n("36f2"),a=n("bcd6"),l=n("4b7d"),c=n("f141"),u=n("dc6b"),d=n("321f"),h=n("ba82");function p(e,t){return s.ElementImpl}function f(e,t,n,r){const[i,s,a]=c.namespace_validateAndExtract(t,n);let l=null;return void 0!==r&&(l=o.isString(r)?r:r.is),d.element_createAnElement(e,a,i,s,l,!0)}function m(e,t){if(e._nodeDocument===t&&null===e._parent)return;const n=e._nodeDocument;if(e._parent&&h.mutation_remove(e,e._parent),t!==n){let o=l.tree_getFirstDescendantNode(e,!0,!0);while(null!==o){if(o._nodeDocument=t,i.Guard.isElementNode(o))for(const e of o._attributeList._asArray())e._nodeDocument=t;r.dom.features.customElements&&i.Guard.isElementNode(o)&&"custom"===o._customElementState&&a.customElement_enqueueACustomElementCallbackReaction(o,"adoptedCallback",[n,t]),r.dom.features.steps&&u.dom_runAdoptingSteps(o,n),o=l.tree_getNextDescendantNode(e,o,!0,!0)}}}t.document_elementInterface=p,t.document_internalCreateElementNS=f,t.document_adopt=m},b7d1:function(e,t,n){(function(t){function n(e,t){if(r("noDeprecation"))return e;var n=!1;function i(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function r(e){try{if(!t.localStorage)return!1}catch(r){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,n("c8ba"))},b7da:function(e,t,n){"use strict";n("3959")},b7e9:function(e,t,n){(function(e,t){t(n("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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},b837:function(e,t,n){var r=n("3fb5"),i=n("4fd1"),o=n("b672"),s=n("8707").Buffer,a=new Array(160);function l(){this.init(),this._w=a,o.call(this,128,112)}r(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=s.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+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,n){(function(e,t){t(n("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,n){(function(e,t){t(n("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 n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}function o(e,t){return t?"dažas sekundes":"dažām sekundēm"}var s=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:o,ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},b9a8:function(e,t,n){"use strict";var r=n("80af"),i=n("6aa2"),o=n("f3a3"),s=n("0cbb"),a=n("fdac"),l=o.assert,c=n("bb34"),u=n("b73f");function d(e){if(!(this instanceof d))return new d(e);"string"===typeof e&&(l(Object.prototype.hasOwnProperty.call(s,e),"Unknown curve "+e),e=s[e]),e instanceof s.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||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var s=new r(t.generate(n));if(!(s.cmp(o)>0))return s.iaddn(1),this.keyFromPrivate(s)}},d.prototype._truncateToN=function(e,t,n){var i;if(r.isBN(e)||"number"===typeof e)e=new r(e,16),i=e.byteLength();else if("object"===typeof e)i=e.length,e=new r(e,16);else{var o=e.toString();i=o.length+1>>>1,e=new r(o,16)}"number"!==typeof n&&(n=8*i);var s=n-this.n.bitLength();return s>0&&(e=e.ushrn(s)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,n,o){"object"===typeof n&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(e,!1,o.msgBitLength);for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),l=e.toArray("be",s),c=new i({hash:this.hash,entropy:a,nonce:l,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new r(1)),h=0;;h++){var p=o.k?o.k(h):new r(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 o.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,n,r,i){i||(i={}),e=this._truncateToN(e,!1,i.msgBitLength),n=this.keyFromPublic(n,r),t=new u(t,"hex");var o=t.r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,l=s.invm(this.n),c=l.mul(e).umod(this.n),d=l.mul(o).umod(this.n);return this.curve._maxwellTrick?(a=this.g.jmulAdd(c,n.getPublic(),d),!a.isInfinity()&&a.eqXToP(o)):(a=this.g.mulAdd(c,n.getPublic(),d),!a.isInfinity()&&0===a.getX().umod(this.n).cmp(o))},d.prototype.recoverPubKey=function(e,t,n,i){l((3&n)===n,"The recovery param is more than two bits"),t=new u(t,i);var o=this.n,s=new r(e),a=t.r,c=t.s,d=1&n,h=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");a=h?this.curve.pointFromX(a.add(this.curve.n),d):this.curve.pointFromX(a,d);var p=t.r.invm(o),f=o.sub(s).mul(p).umod(o),m=c.mul(p).umod(o);return this.g.mulAdd(f,a,m)},d.prototype.getKeyRecoveryParam=function(e,t,n,r){if(t=new u(t,r),null!==t.recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},b9c5:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c}));var r=n("b775");function i(e){return Object(r["a"])({url:"/spec/getDcSpecList",method:"get",params:e})}function o(e){return Object(r["a"])({url:"/product/add",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/product/list",method:"get",params:e})}function a(e){return Object(r["a"])({url:"/product/getInfo/".concat(e),method:"get"})}function l(e){return Object(r["a"])({url:"/product/edit",method:"post",data:e})}function c(e){return Object(r["a"])({url:"/product/delete/".concat(e),method:"get"})}},ba82:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("0fc1"),o=n("42e9"),s=n("9af8"),a=n("69a8"),l=n("a45a"),c=n("bcd6"),u=n("4b7d"),d=n("750a"),h=n("7ef7"),p=n("7c81"),f=n("dc6b"),m=n("b777");function A(e,t,n){const r=t._nodeType,s=e._nodeType,a=n?n._nodeType:null;if(r!==o.NodeType.Document&&r!==o.NodeType.DocumentFragment&&r!==o.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!==n&&n._parent!==t)throw new i.NotFoundError(`The reference child node cannot be found under parent node. Child node is ${n.nodeName}, parent node is ${t.nodeName}.`);if(s!==o.NodeType.DocumentFragment&&s!==o.NodeType.DocumentType&&s!==o.NodeType.Element&&s!==o.NodeType.Text&&s!==o.NodeType.ProcessingInstruction&&s!==o.NodeType.CData&&s!==o.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(s===o.NodeType.Text&&r===o.NodeType.Document)throw new i.HierarchyRequestError(`Cannot insert a text node as a child of a document node. Node is ${e.nodeName}.`);if(s===o.NodeType.DocumentType&&r!==o.NodeType.Document)throw new i.HierarchyRequestError(`A document type node can only be inserted under a document node. Parent node is ${t.nodeName}.`);if(r===o.NodeType.Document)if(s===o.NodeType.DocumentFragment){let r=0;for(const t of e._children)if(t._nodeType===o.NodeType.Element)r++;else if(t._nodeType===o.NodeType.Text)throw new i.HierarchyRequestError(`Cannot insert text a node as a child of a document node. Node is ${t.nodeName}.`);if(r>1)throw new i.HierarchyRequestError(`A document node can only have one document element node. Document fragment to be inserted has ${r} element nodes.`);if(1===r){for(const e of t._children)if(e._nodeType===o.NodeType.Element)throw new i.HierarchyRequestError("The document node already has a document element node.");if(n){if(a===o.NodeType.DocumentType)throw new i.HierarchyRequestError("Cannot insert an element node before a document type node.");let e=n._nextSibling;while(e){if(e._nodeType===o.NodeType.DocumentType)throw new i.HierarchyRequestError("Cannot insert an element node before a document type node.");e=e._nextSibling}}}}else if(s===o.NodeType.Element){for(const n of t._children)if(n._nodeType===o.NodeType.Element)throw new i.HierarchyRequestError(`Document already has a document element node. Node is ${e.nodeName}.`);if(n){if(a===o.NodeType.DocumentType)throw new i.HierarchyRequestError(`Cannot insert an element node before a document type node. Node is ${e.nodeName}.`);let t=n._nextSibling;while(t){if(t._nodeType===o.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(s===o.NodeType.DocumentType){for(const n of t._children)if(n._nodeType===o.NodeType.DocumentType)throw new i.HierarchyRequestError(`Document already has a document type node. Node is ${e.nodeName}.`);if(n){let t=n._previousSibling;while(t){if(t._nodeType===o.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 n=t._firstChild;while(n){if(n._nodeType===o.NodeType.Element)throw new i.HierarchyRequestError(`Cannot insert a document type node before an element node. Node is ${e.nodeName}.`);n=n._nextSibling}}}}function g(e,t,n){A(e,t,n);let r=n;return r===e&&(r=e._nextSibling),m.document_adopt(e,t._nodeDocument),_(e,t,r),e}function _(e,t,n,i){if(null===n&&e._nodeType!==o.NodeType.DocumentFragment)return void b(e,t,i);const d=e._nodeType===o.NodeType.DocumentFragment?e._children.size:1;if(null!==n&&0!==r.dom.rangeList.size){const e=u.tree_index(n);for(const n of r.dom.rangeList)n._start[0]===t&&n._start[1]>e&&(n._start[1]+=d),n._end[0]===t&&n._end[1]>e&&(n._end[1]+=d)}const m=e._nodeType===o.NodeType.DocumentFragment?new Array(...e._children):[e];if(e._nodeType===o.NodeType.DocumentFragment)while(e._firstChild)M(e._firstChild,e,!0);r.dom.features.mutationObservers&&e._nodeType===o.NodeType.DocumentFragment&&p.observer_queueTreeMutationRecord(e,[],m,null,null);const A=n?n._previousSibling:t._lastChild;let g=null===n?-1:u.tree_index(n);for(let o=0;o<m.length;o++){const e=m[o];if(s.Guard.isElementNode(e)&&(s.Guard.isDocumentNode(t)&&(t._documentElement=e),e._nodeDocument._hasNamespaces||null===e._namespace&&null===e._namespacePrefix||(e._nodeDocument._hasNamespaces=!0)),e._parent=t,null===n?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 r=n?n._previousSibling:t._lastChild,i=n||null;e._previousSibling=r,e._nextSibling=i,r&&(r._nextSibling=e),i&&(i._previousSibling=e),r||(t._firstChild=e),i||(t._lastChild=e)}r.dom.features.slots&&null!==t._shadowRoot&&s.Guard.isSlotable(e)&&h.shadowTree_assignASlot(e),r.dom.features.steps&&s.Guard.isTextNode(e)&&f.dom_runChildTextContentChangeSteps(t),r.dom.features.slots&&s.Guard.isShadowRoot(u.tree_rootNode(t))&&s.Guard.isSlot(t)&&a.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),r.dom.features.slots&&h.shadowTree_assignSlotablesForATree(u.tree_rootNode(e));let i=u.tree_getFirstDescendantNode(e,!0,!0);while(null!==i)r.dom.features.steps&&f.dom_runInsertionSteps(i),r.dom.features.customElements&&s.Guard.isElementNode(i)&&h.shadowTree_isConnected(i)&&(s.Guard.isCustomElementNode(i)?c.customElement_enqueueACustomElementCallbackReaction(i,"connectedCallback",[]):c.customElement_tryToUpgrade(i)),i=u.tree_getNextDescendantNode(e,i,!0,!0)}r.dom.features.mutationObservers&&(i||p.observer_queueTreeMutationRecord(t,m,[],A,n))}function b(e,t,n){const i=t._lastChild;if(s.Guard.isElementNode(e)&&(s.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 n=t._lastChild;e._previousSibling=n,e._nextSibling=null,n&&(n._nextSibling=e),n||(t._firstChild=e),t._lastChild=e}r.dom.features.slots&&null!==t._shadowRoot&&s.Guard.isSlotable(e)&&h.shadowTree_assignASlot(e),r.dom.features.steps&&s.Guard.isTextNode(e)&&f.dom_runChildTextContentChangeSteps(t),r.dom.features.slots&&s.Guard.isShadowRoot(u.tree_rootNode(t))&&s.Guard.isSlot(t)&&a.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),r.dom.features.slots&&h.shadowTree_assignSlotablesForATree(u.tree_rootNode(e)),r.dom.features.steps&&f.dom_runInsertionSteps(e),r.dom.features.customElements&&s.Guard.isElementNode(e)&&h.shadowTree_isConnected(e)&&(s.Guard.isCustomElementNode(e)?c.customElement_enqueueACustomElementCallbackReaction(e,"connectedCallback",[]):c.customElement_tryToUpgrade(e)),r.dom.features.mutationObservers&&(n||p.observer_queueTreeMutationRecord(t,[e],[],i,null))}function v(e,t){return g(e,t,null)}function w(e,t,n){if(n._nodeType!==o.NodeType.Document&&n._nodeType!==o.NodeType.DocumentFragment&&n._nodeType!==o.NodeType.Element)throw new i.HierarchyRequestError(`Only document, document fragment and element nodes can contain child nodes. Parent node is ${n.nodeName}.`);if(u.tree_isHostIncludingAncestorOf(n,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 ${n.nodeName}.`);if(e._parent!==n)throw new i.NotFoundError(`The reference child node cannot be found under parent node. Child node is ${e.nodeName}, parent node is ${n.nodeName}.`);if(t._nodeType!==o.NodeType.DocumentFragment&&t._nodeType!==o.NodeType.DocumentType&&t._nodeType!==o.NodeType.Element&&t._nodeType!==o.NodeType.Text&&t._nodeType!==o.NodeType.ProcessingInstruction&&t._nodeType!==o.NodeType.CData&&t._nodeType!==o.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===o.NodeType.Text&&n._nodeType===o.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===o.NodeType.DocumentType&&n._nodeType!==o.NodeType.Document)throw new i.HierarchyRequestError(`A document type node can only be inserted under a document node. Parent node is ${n.nodeName}.`);if(n._nodeType===o.NodeType.Document)if(t._nodeType===o.NodeType.DocumentFragment){let r=0;for(const e of t._children)if(e._nodeType===o.NodeType.Element)r++;else if(e._nodeType===o.NodeType.Text)throw new i.HierarchyRequestError(`Cannot insert text a node as a child of a document node. Node is ${e.nodeName}.`);if(r>1)throw new i.HierarchyRequestError(`A document node can only have one document element node. Document fragment to be inserted has ${r} element nodes.`);if(1===r){for(const r of n._children)if(r._nodeType===o.NodeType.Element&&r!==e)throw new i.HierarchyRequestError("The document node already has a document element node.");let t=e._nextSibling;while(t){if(t._nodeType===o.NodeType.DocumentType)throw new i.HierarchyRequestError("Cannot insert an element node before a document type node.");t=t._nextSibling}}}else if(t._nodeType===o.NodeType.Element){for(const s of n._children)if(s._nodeType===o.NodeType.Element&&s!==e)throw new i.HierarchyRequestError(`Document already has a document element node. Node is ${t.nodeName}.`);let r=e._nextSibling;while(r){if(r._nodeType===o.NodeType.DocumentType)throw new i.HierarchyRequestError(`Cannot insert an element node before a document type node. Node is ${t.nodeName}.`);r=r._nextSibling}}else if(t._nodeType===o.NodeType.DocumentType){for(const s of n._children)if(s._nodeType===o.NodeType.DocumentType&&s!==e)throw new i.HierarchyRequestError(`Document already has a document type node. Node is ${t.nodeName}.`);let r=e._previousSibling;while(r){if(r._nodeType===o.NodeType.Element)throw new i.HierarchyRequestError(`Cannot insert a document type node before an element node. Node is ${t.nodeName}.`);r=r._previousSibling}}let s=e._nextSibling;s===t&&(s=t._nextSibling);let a=e._previousSibling;m.document_adopt(t,n._nodeDocument);const l=[];null!==e._parent&&(l.push(e),M(e,e._parent,!0));let c=[];return t._nodeType===o.NodeType.DocumentFragment?c=Array.from(t._children):c.push(t),_(t,n,s,!0),r.dom.features.mutationObservers&&p.observer_queueTreeMutationRecord(n,c,l,a,s),e}function y(e,t){null!==e&&m.document_adopt(e,t._nodeDocument);const n=Array.from(t._children);let i=[];e&&e._nodeType===o.NodeType.DocumentFragment?i=Array.from(e._children):null!==e&&i.push(e);for(const r of n)M(r,t,!0);null!==e&&_(e,t,null,!0),r.dom.features.mutationObservers&&p.observer_queueTreeMutationRecord(t,i,n,null,null)}function R(e,t){if(e._parent!==t)throw new i.NotFoundError(`The child node cannot be found under parent node. Child node is ${e.nodeName}, parent node is ${t.nodeName}.`);return M(e,t),e}function M(e,t,n){if(0!==r.dom.rangeList.size){const n=u.tree_index(e);for(const i of r.dom.rangeList)u.tree_isDescendantOf(e,i._start[0],!0)&&(i._start=[t,n]),u.tree_isDescendantOf(e,i._end[0],!0)&&(i._end=[t,n]),i._start[0]===t&&i._start[1]>n&&i._start[1]--,i._end[0]===t&&i._end[1]>n&&i._end[1]--;for(const e of r.dom.rangeList)e._start[0]===t&&e._start[1]>n&&(e._start[1]-=1),e._end[0]===t&&e._end[1]>n&&(e._end[1]-=1)}if(r.dom.features.steps)for(const r of d.nodeIterator_iteratorList())r._root._nodeDocument===e._nodeDocument&&f.dom_runNodeIteratorPreRemovingSteps(r,e);const i=e._previousSibling,o=e._nextSibling;s.Guard.isDocumentNode(t)&&s.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),r.dom.features.slots&&s.Guard.isSlotable(e)&&null!==e._assignedSlot&&h.shadowTree_isAssigned(e)&&h.shadowTree_assignSlotables(e._assignedSlot),r.dom.features.slots&&s.Guard.isShadowRoot(u.tree_rootNode(t))&&s.Guard.isSlot(t)&&a.isEmpty(t._assignedNodes)&&h.shadowTree_signalASlotChange(t),r.dom.features.slots){const n=u.tree_getFirstDescendantNode(e,!0,!1,e=>s.Guard.isSlot(e));null!==n&&(h.shadowTree_assignSlotablesForATree(u.tree_rootNode(t)),h.shadowTree_assignSlotablesForATree(e))}r.dom.features.steps&&f.dom_runRemovingSteps(e,t),r.dom.features.customElements&&s.Guard.isCustomElementNode(e)&&c.customElement_enqueueACustomElementCallbackReaction(e,"disconnectedCallback",[]);let A=u.tree_getFirstDescendantNode(e,!1,!0);while(null!==A)r.dom.features.steps&&f.dom_runRemovingSteps(A,e),r.dom.features.customElements&&s.Guard.isCustomElementNode(A)&&c.customElement_enqueueACustomElementCallbackReaction(A,"disconnectedCallback",[]),A=u.tree_getNextDescendantNode(e,A,!1,!0);if(r.dom.features.mutationObservers){let n=u.tree_getFirstAncestorNode(t,!0);while(null!==n){for(const t of n._registeredObserverList)t.options.subtree&&e._registeredObserverList.push({observer:t.observer,options:t.options,source:t});n=u.tree_getNextAncestorNode(t,n,!0)}}r.dom.features.mutationObservers&&(n||p.observer_queueTreeMutationRecord(t,[],[e],i,o)),r.dom.features.steps&&s.Guard.isTextNode(e)&&f.dom_runChildTextContentChangeSteps(t)}t.mutation_ensurePreInsertionValidity=A,t.mutation_preInsert=g,t.mutation_insert=_,t.mutation_append=v,t.mutation_replace=w,t.mutation_replaceAll=y,t.mutation_preRemove=R,t.mutation_remove=M},bac2:function(e,t,n){var r={ECB:n("0145"),CBC:n("c119"),CFB:n("3505"),CFB8:n("62c9"),CFB1:n("5239"),OFB:n("5165"),CTR:n("6ade"),GCM:n("6ade")},i=n("e85f");for(var o in i)i[o].module=r[i[o].mode];e.exports=i},bb34:function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.assert;function s(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=s,s.fromPublic=function(e,t,n){return t instanceof s?t:new s(e,{pub:t,pubEnc:n})},s.fromPrivate=function(e,t,n){return t instanceof s?t:new s(e,{priv:t,privEnc:n})},s.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"}},s.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},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(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)},s.prototype.derive=function(e){return e.validate()||o(e.validate(),"public point not validated"),e.mul(this.priv).getX()},s.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},s.prototype.verify=function(e,t,n){return this.ec.verify(e,t,this,void 0,n)},s.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},bb44:function(e,t,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=r.rotl32,s=r.sum32,a=r.sum32_3,l=r.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,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}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}r.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 n=this.h[0],r=this.h[1],i=this.h[2],c=this.h[3],u=this.h[4],_=n,b=r,v=i,w=c,y=u,R=0;R<80;R++){var M=s(o(l(n,d(R,r,i,c),e[f[R]+t],h(R)),A[R]),u);n=u,u=c,c=o(i,10),i=r,r=M,M=s(o(l(_,d(79-R,b,v,w),e[m[R]+t],p(R)),g[R]),y),_=y,y=w,w=o(v,10),v=b,b=M}M=a(this.h[1],i,w),this.h[1]=a(this.h[2],c,y),this.h[2]=a(this.h[3],u,_),this.h[3]=a(this.h[4],n,b),this.h[4]=a(this.h[0],r,v),this.h[0]=M},u.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  559. //! moment.js locale configuration
  560. function t(e,t,n,r){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[n][0]:i[n][1]}var n=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 n}))},bbc7:function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:o.RFC3986,formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},bc12:function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(10).Buffer}catch(T){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.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},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,n=0!==o||s!==this.length-1?u[6-l.length]+l+n:l+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],p=h[e];n="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),n=f.isZero()?m+n:u[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,c=new e(o),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[a]=s;for(;a<o;a++)c[a]=0}else{for(a=0;a<o-i;a++)c[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[o-a-1]=s}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function A(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new _;return r.mulp(e,t,n)}function _(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?f(this,e,t):r<1024?A(this,e,t):g(this,e,t),n},_.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},_.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},_.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},_.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},_.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},_.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},_.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},_.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"===typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function R(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(w,v),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&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,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(R,v),i(M,v),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new R;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(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 o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},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},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},bcd6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=/[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"]),o=new Set(["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"]),s=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),a=new Set(["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"]);function l(e){return!!r.test(e)&&!i.has(e)}function c(e){return o.has(e)}function u(e){return s.has(e)}function d(e){return a.has(e)}function h(e,t){}function p(e,t,n){}function f(e,t){}function m(e){}function A(e,t,n,r){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,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n("7b9c");function i(){Object(r["isDefined"])(console)&&console.warn(...arguments)}function o(){Object(r["isDefined"])(console)&&console.error(...arguments)}},bd9d:function(e,t){function n(e){var t,n=e.length;while(n--){if(t=e.readUInt8(n),255!==t){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}e.exports=n},bdd7:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n("d9e2");var r=n("3d57"),i=n("e90f");const o=new Map([["indexesSequence",{getListWithInsertedItems:r["a"],getListWithRemovedItems:r["b"]}],["physicallyIndexed",{getListWithInsertedItems:i["a"],getListWithRemovedItems:i["b"]}]]),s=e=>{if(!1===o.has(e))throw new Error(`Alter strategy with ID '${e}' does not exist.`);return o.get(e)}},be1e:function(e,t){var n=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}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var t=r[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},be30:function(e,t,n){"use strict";n("ffd5")},be7f:function(e,t,n){"use strict";var r="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 n=t.shift();if(n){if("object"!==typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(e[r]=n[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},s={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,o)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,s))},t.setTyped(r)},be94:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7d2e");function i(e,t){e.push(t)}function o(e,t){e.push(...t)}function s(e,t){e.unshift(t)}function a(e,t,n){let i=0;for(const o of e){if(r.isFunction(t))t.call(null,o)&&(e[i]=n);else if(o===t)return void(e[i]=n);i++}}function l(e,t,n){e.splice(n,0,t)}function c(e,t){let n=e.length;while(n--){const i=e[n];if(r.isFunction(t))t.call(null,i)&&e.splice(n,1);else if(i===t)return void e.splice(n,1)}}function u(e){e.length=0}function d(e,t){for(const n of e)if(r.isFunction(t)){if(t.call(null,n))return!0}else if(n===t)return!0;return!1}function h(e,t){if(void 0===t)return e.length;{let n=0;for(const r of e)t.call(null,r)&&n++;return n}}function p(e){return 0===e.length}function*f(e,t){if(void 0===t)yield*e;else for(const n of e)t.call(null,n)&&(yield n)}function m(e){return new Array(...e)}function A(e,t){return e.sort((e,n)=>t.call(null,e,n)?-1:1)}function g(e,t){return e.sort((e,n)=>t.call(null,e,n)?1:-1)}t.append=i,t.extend=o,t.prepend=s,t.replace=a,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("69a8"),i=n("9389");function o(e,t){let n=null;for(let o=0;o<e.length;o++){const n=e[o];if(r.isString(n)){const r=i.create_text(t,n);e[o]=r}}if(1===e.length)n=e[0];else{n=i.create_documentFragment(t);const r=n;for(const t of e)r.appendChild(t)}return n}t.parentNode_convertNodesIntoANode=o},bf7d:function(e,t,n){"use strict";n("dfa2")},bfd6:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"data-search"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[n("el-form-item",{attrs:{label:"文档标题:"}},[n("el-input",{attrs:{placeholder:"请填写文档标题"},model:{value:e.queryForm.title,callback:function(t){e.$set(e.queryForm,"title",t)},expression:"queryForm.title"}})],1),n("el-form-item",{attrs:{label:"所属分类:"}},[n("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 n("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),n("el-form-item",{attrs:{label:"文档状态:"}},[n("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 n("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[n("svg-icon",{attrs:{"icon-class":"search"}}),e._v(" 搜索")],1)],1),n("el-form-item",[n("el-button",{staticClass:"el-icon-circle-plus-outline",attrs:{type:"primary"},on:{click:e.addDocument}},[e._v(" 创建模版")])],1)],1)],1)},i=[],o=(n("14d9"),n("424e")),s={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(o["j"])({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")}}},a=s,l=(n("ded3"),n("2877")),c=Object(l["a"])(a,r,i,!1,null,null,null);t["default"]=c.exports},c027:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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(n=>e.call(t,n,n,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=r},c091:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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(n=>e.call(t,n,n,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=r},c0a6e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("0fc1"),i=n("9688");class o 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 r.NotFoundError;return t}removeNamedItemNS(e,t){const n=i.element_removeAnAttributeByNamespaceAndLocalName(e||"",t,this._element);if(null===n)throw new r.NotFoundError;return n}static _create(e){return new o(e)}}t.NamedNodeMapImpl=o},c0c4:function(e,t,n){
  561. /*! @license DOMPurify 2.5.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.7/LICENSE */
  562. (function(t,n){e.exports=n()})(0,(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,i,o){return r=n()?Reflect.construct:function(e,n,r){var i=[null];i.push.apply(i,n);var o=Function.bind.apply(e,i),s=new o;return r&&t(s,r.prototype),s},r.apply(null,arguments)}function i(e){return o(e)||s(e)||a(e)||c()}function o(e){if(Array.isArray(e))return l(e)}function s(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function a(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=Object.hasOwnProperty,d=Object.setPrototypeOf,h=Object.isFrozen,p=Object.getPrototypeOf,f=Object.getOwnPropertyDescriptor,m=Object.freeze,A=Object.seal,g=Object.create,_="undefined"!==typeof Reflect&&Reflect,b=_.apply,v=_.construct;b||(b=function(e,t,n){return e.apply(t,n)}),m||(m=function(e){return e}),A||(A=function(e){return e}),v||(v=function(e,t){return r(e,i(t))});var w=L(Array.prototype.forEach),y=L(Array.prototype.pop),R=L(Array.prototype.push),M=L(String.prototype.toLowerCase),S=L(String.prototype.toString),E=L(String.prototype.match),T=L(String.prototype.replace),C=L(String.prototype.indexOf),O=L(String.prototype.trim),x=L(RegExp.prototype.test),N=I(TypeError);function L(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return b(e,t,r)}}function I(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(e,n)}}function P(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:M,d&&d(e,null);var i=t.length;while(i--){var o=t[i];if("string"===typeof o){var s=n(o);s!==o&&(h(t)||(t[i]=s),o=s)}e[o]=!0}return e}function D(e){var t,n=g(null);for(t in e)!0===b(u,e,[t])&&(n[t]=e[t]);return n}function F(e,t){while(null!==e){var n=f(e,t);if(n){if(n.get)return L(n.get);if("function"===typeof n.value)return L(n.value)}e=p(e)}function r(e){return console.warn("fallback value for",e),null}return r}var k=m(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=m(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),U=m(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),H=m(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),j=m(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),V=m(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),W=m(["#text"]),Y=m(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Q=m(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),X=m(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),K=m(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=A(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Z=A(/<%[\w\W]*|[\w\W]*%>/gm),z=A(/\${[\w\W]*}/gm),q=A(/^data-[\-\w.\u00B7-\uFFFF]/),J=A(/^aria-[\-\w]+$/),$=A(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ee=A(/^(?:\w+script|data):/i),te=A(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ne=A(/^html$/i),re=A(/^[a-z][.\w]*(-[.\w]+)+$/i),ie=function(){return"undefined"===typeof window?null:window},oe=function(t,n){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(s){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function se(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie(),n=function(e){return se(e)};if(n.version="2.5.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,s=t.DocumentFragment,a=t.HTMLTemplateElement,l=t.Node,c=t.Element,u=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,p=t.HTMLFormElement,f=t.DOMParser,A=t.trustedTypes,g=c.prototype,_=F(g,"cloneNode"),b=F(g,"nextSibling"),v=F(g,"childNodes"),L=F(g,"parentNode");if("function"===typeof a){var I=o.createElement("template");I.content&&I.content.ownerDocument&&(o=I.content.ownerDocument)}var ae=oe(A,r),le=ae?ae.createHTML(""):"",ce=o,ue=ce.implementation,de=ce.createNodeIterator,he=ce.createDocumentFragment,pe=ce.getElementsByTagName,fe=r.importNode,me={};try{me=D(o).documentMode?o.documentMode:{}}catch(Ft){}var Ae={};n.isSupported="function"===typeof L&&ue&&void 0!==ue.createHTMLDocument&&9!==me;var ge,_e,be=G,ve=Z,we=z,ye=q,Re=J,Me=ee,Se=te,Ee=re,Te=$,Ce=null,Oe=P({},[].concat(i(k),i(B),i(U),i(j),i(W))),xe=null,Ne=P({},[].concat(i(Y),i(Q),i(X),i(K))),Le=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,Pe=null,De=!0,Fe=!0,ke=!1,Be=!0,Ue=!1,He=!0,je=!1,Ve=!1,We=!1,Ye=!1,Qe=!1,Xe=!1,Ke=!0,Ge=!1,Ze="user-content-",ze=!0,qe=!1,Je={},$e=null,et=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tt=null,nt=P({},["audio","video","img","source","image","track"]),rt=null,it=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",st="http://www.w3.org/2000/svg",at="http://www.w3.org/1999/xhtml",lt=at,ct=!1,ut=null,dt=P({},[ot,st,at],S),ht=["application/xhtml+xml","text/html"],pt="text/html",ft=null,mt=o.createElement("form"),At=function(e){return e instanceof RegExp||e instanceof Function},gt=function(t){ft&&ft===t||(t&&"object"===e(t)||(t={}),t=D(t),ge=ge=-1===ht.indexOf(t.PARSER_MEDIA_TYPE)?pt:t.PARSER_MEDIA_TYPE,_e="application/xhtml+xml"===ge?S:M,Ce="ALLOWED_TAGS"in t?P({},t.ALLOWED_TAGS,_e):Oe,xe="ALLOWED_ATTR"in t?P({},t.ALLOWED_ATTR,_e):Ne,ut="ALLOWED_NAMESPACES"in t?P({},t.ALLOWED_NAMESPACES,S):dt,rt="ADD_URI_SAFE_ATTR"in t?P(D(it),t.ADD_URI_SAFE_ATTR,_e):it,tt="ADD_DATA_URI_TAGS"in t?P(D(nt),t.ADD_DATA_URI_TAGS,_e):nt,$e="FORBID_CONTENTS"in t?P({},t.FORBID_CONTENTS,_e):et,Ie="FORBID_TAGS"in t?P({},t.FORBID_TAGS,_e):{},Pe="FORBID_ATTR"in t?P({},t.FORBID_ATTR,_e):{},Je="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Fe=!1!==t.ALLOW_DATA_ATTR,ke=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ue=t.SAFE_FOR_TEMPLATES||!1,He=!1!==t.SAFE_FOR_XML,je=t.WHOLE_DOCUMENT||!1,Ye=t.RETURN_DOM||!1,Qe=t.RETURN_DOM_FRAGMENT||!1,Xe=t.RETURN_TRUSTED_TYPE||!1,We=t.FORCE_BODY||!1,Ke=!1!==t.SANITIZE_DOM,Ge=t.SANITIZE_NAMED_PROPS||!1,ze=!1!==t.KEEP_CONTENT,qe=t.IN_PLACE||!1,Te=t.ALLOWED_URI_REGEXP||Te,lt=t.NAMESPACE||at,Le=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&At(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Le.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&At(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Le.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Le.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ue&&(Fe=!1),Qe&&(Ye=!0),Je&&(Ce=P({},i(W)),xe=[],!0===Je.html&&(P(Ce,k),P(xe,Y)),!0===Je.svg&&(P(Ce,B),P(xe,Q),P(xe,K)),!0===Je.svgFilters&&(P(Ce,U),P(xe,Q),P(xe,K)),!0===Je.mathMl&&(P(Ce,j),P(xe,X),P(xe,K))),t.ADD_TAGS&&(Ce===Oe&&(Ce=D(Ce)),P(Ce,t.ADD_TAGS,_e)),t.ADD_ATTR&&(xe===Ne&&(xe=D(xe)),P(xe,t.ADD_ATTR,_e)),t.ADD_URI_SAFE_ATTR&&P(rt,t.ADD_URI_SAFE_ATTR,_e),t.FORBID_CONTENTS&&($e===et&&($e=D($e)),P($e,t.FORBID_CONTENTS,_e)),ze&&(Ce["#text"]=!0),je&&P(Ce,["html","head","body"]),Ce.table&&(P(Ce,["tbody"]),delete Ie.tbody),m&&m(t),ft=t)},_t=P({},["mi","mo","mn","ms","mtext"]),bt=P({},["annotation-xml"]),vt=P({},["title","style","font","a","script"]),wt=P({},B);P(wt,U),P(wt,H);var yt=P({},j);P(yt,V);var Rt=function(e){var t=L(e);t&&t.tagName||(t={namespaceURI:lt,tagName:"template"});var n=M(e.tagName),r=M(t.tagName);return!!ut[e.namespaceURI]&&(e.namespaceURI===st?t.namespaceURI===at?"svg"===n:t.namespaceURI===ot?"svg"===n&&("annotation-xml"===r||_t[r]):Boolean(wt[n]):e.namespaceURI===ot?t.namespaceURI===at?"math"===n:t.namespaceURI===st?"math"===n&&bt[r]:Boolean(yt[n]):e.namespaceURI===at?!(t.namespaceURI===st&&!bt[r])&&(!(t.namespaceURI===ot&&!_t[r])&&(!yt[n]&&(vt[n]||!wt[n]))):!("application/xhtml+xml"!==ge||!ut[e.namespaceURI]))},Mt=function(e){R(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(Ft){try{e.outerHTML=le}catch(Ft){e.remove()}}},St=function(e,t){try{R(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(Ft){R(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!xe[e])if(Ye||Qe)try{Mt(t)}catch(Ft){}else try{t.setAttribute(e,"")}catch(Ft){}},Et=function(e){var t,n;if(We)e="<remove></remove>"+e;else{var r=E(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===ge&&lt===at&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=ae?ae.createHTML(e):e;if(lt===at)try{t=(new f).parseFromString(i,ge)}catch(Ft){}if(!t||!t.documentElement){t=ue.createDocument(lt,"template",null);try{t.documentElement.innerHTML=ct?le:i}catch(Ft){}}var s=t.body||t.documentElement;return e&&n&&s.insertBefore(o.createTextNode(n),s.childNodes[0]||null),lt===at?pe.call(t,je?"html":"body")[0]:je?t.documentElement:s},Tt=function(e){return de.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null,!1)},Ct=function(e){return e instanceof p&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof h)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore||"function"!==typeof e.hasChildNodes)},Ot=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},xt=function(e,t,r){Ae[e]&&w(Ae[e],(function(e){e.call(n,t,r,ft)}))},Nt=function(e){var t;if(xt("beforeSanitizeElements",e,null),Ct(e))return Mt(e),!0;if(x(/[\u0080-\uFFFF]/,e.nodeName))return Mt(e),!0;var r=_e(e.nodeName);if(xt("uponSanitizeElement",e,{tagName:r,allowedTags:Ce}),e.hasChildNodes()&&!Ot(e.firstElementChild)&&(!Ot(e.content)||!Ot(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return Mt(e),!0;if("select"===r&&x(/<template/i,e.innerHTML))return Mt(e),!0;if(7===e.nodeType)return Mt(e),!0;if(He&&8===e.nodeType&&x(/<[/\w]/g,e.data))return Mt(e),!0;if(!Ce[r]||Ie[r]){if(!Ie[r]&&It(r)){if(Le.tagNameCheck instanceof RegExp&&x(Le.tagNameCheck,r))return!1;if(Le.tagNameCheck instanceof Function&&Le.tagNameCheck(r))return!1}if(ze&&!$e[r]){var i=L(e)||e.parentNode,o=v(e)||e.childNodes;if(o&&i)for(var s=o.length,a=s-1;a>=0;--a){var l=_(o[a],!0);l.__removalCount=(e.__removalCount||0)+1,i.insertBefore(l,b(e))}}return Mt(e),!0}return e instanceof c&&!Rt(e)?(Mt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!x(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ue&&3===e.nodeType&&(t=e.textContent,t=T(t,be," "),t=T(t,ve," "),t=T(t,we," "),e.textContent!==t&&(R(n.removed,{element:e.cloneNode()}),e.textContent=t)),xt("afterSanitizeElements",e,null),!1):(Mt(e),!0)},Lt=function(e,t,n){if(Ke&&("id"===t||"name"===t)&&(n in o||n in mt))return!1;if(Fe&&!Pe[t]&&x(ye,t));else if(De&&x(Re,t));else if(!xe[t]||Pe[t]){if(!(It(e)&&(Le.tagNameCheck instanceof RegExp&&x(Le.tagNameCheck,e)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(e))&&(Le.attributeNameCheck instanceof RegExp&&x(Le.attributeNameCheck,t)||Le.attributeNameCheck instanceof Function&&Le.attributeNameCheck(t))||"is"===t&&Le.allowCustomizedBuiltInElements&&(Le.tagNameCheck instanceof RegExp&&x(Le.tagNameCheck,n)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(n))))return!1}else if(rt[t]);else if(x(Te,T(n,Se,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==C(n,"data:")||!tt[e]){if(ke&&!x(Me,T(n,Se,"")));else if(n)return!1}else;return!0},It=function(e){return"annotation-xml"!==e&&E(e,Ee)},Pt=function(t){var r,i,o,s;xt("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};s=a.length;while(s--){r=a[s];var c=r,u=c.name,d=c.namespaceURI;if(i="value"===u?r.value:O(r.value),o=_e(u),l.attrName=o,l.attrValue=i,l.keepAttr=!0,l.forceKeepAttr=void 0,xt("uponSanitizeAttribute",t,l),i=l.attrValue,!l.forceKeepAttr&&(St(u,t),l.keepAttr))if(Be||!x(/\/>/i,i)){Ue&&(i=T(i,be," "),i=T(i,ve," "),i=T(i,we," "));var h=_e(t.nodeName);if(Lt(h,o,i))if(!Ge||"id"!==o&&"name"!==o||(St(u,t),i=Ze+i),He&&x(/((--!?|])>)|<\/(style|title)/i,i))St(u,t);else{if(ae&&"object"===e(A)&&"function"===typeof A.getAttributeType)if(d);else switch(A.getAttributeType(h,o)){case"TrustedHTML":i=ae.createHTML(i);break;case"TrustedScriptURL":i=ae.createScriptURL(i);break}try{d?t.setAttributeNS(d,u,i):t.setAttribute(u,i),Ct(t)?Mt(t):y(n.removed)}catch(Ft){}}}else St(u,t)}xt("afterSanitizeAttributes",t,null)}},Dt=function e(t){var n,r=Tt(t);xt("beforeSanitizeShadowDOM",t,null);while(n=r.nextNode())xt("uponSanitizeShadowNode",n,null),Nt(n)||(n.content instanceof s&&e(n.content),Pt(n));xt("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(i){var o,a,c,u,d,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ct=!i,ct&&(i="\x3c!--\x3e"),"string"!==typeof i&&!Ot(i)){if("function"!==typeof i.toString)throw N("toString is not a function");if(i=i.toString(),"string"!==typeof i)throw N("dirty is not a string, aborting")}if(!n.isSupported){if("object"===e(t.toStaticHTML)||"function"===typeof t.toStaticHTML){if("string"===typeof i)return t.toStaticHTML(i);if(Ot(i))return t.toStaticHTML(i.outerHTML)}return i}if(Ve||gt(h),n.removed=[],"string"===typeof i&&(qe=!1),qe){if(i.nodeName){var p=_e(i.nodeName);if(!Ce[p]||Ie[p])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof l)o=Et("\x3c!----\x3e"),a=o.ownerDocument.importNode(i,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!Ye&&!Ue&&!je&&-1===i.indexOf("<"))return ae&&Xe?ae.createHTML(i):i;if(o=Et(i),!o)return Ye?null:Xe?le:""}o&&We&&Mt(o.firstChild);var f=Tt(qe?i:o);while(c=f.nextNode())3===c.nodeType&&c===u||Nt(c)||(c.content instanceof s&&Dt(c.content),Pt(c),u=c);if(u=null,qe)return i;if(Ye){if(Qe){d=he.call(o.ownerDocument);while(o.firstChild)d.appendChild(o.firstChild)}else d=o;return(xe.shadowroot||xe.shadowrootmod)&&(d=fe.call(r,d,!0)),d}var m=je?o.outerHTML:o.innerHTML;return je&&Ce["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&x(ne,o.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+m),Ue&&(m=T(m,be," "),m=T(m,ve," "),m=T(m,we," ")),ae&&Xe?ae.createHTML(m):m},n.setConfig=function(e){gt(e),Ve=!0},n.clearConfig=function(){ft=null,Ve=!1},n.isValidAttribute=function(e,t,n){ft||gt({});var r=_e(e),i=_e(t);return Lt(r,i,n)},n.addHook=function(e,t){"function"===typeof t&&(Ae[e]=Ae[e]||[],R(Ae[e],t))},n.removeHook=function(e){if(Ae[e])return y(Ae[e])},n.removeHooks=function(e){Ae[e]&&(Ae[e]=[])},n.removeAllHooks=function(){Ae={}},n}var ae=se();return ae}))},c0d8:function(e,t,n){"use strict";n("d9e2"),n("14d9"),n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3"),n("130f");var r=n("5d7f"),i=n("97b9"),o=n("7b9c"),s=n("63d8"),a=n("f938"),l=n("de3b"),c=n("491c"),u=n("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,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function A(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var g=new WeakSet;class _{constructor(e,t,n){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=n,this.eventManager=new u["a"](e),this.hot.addHook("afterDocumentKeyDown",e=>A(g,this,b).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,n)=>A(g,this,v).call(this,e,t,n))}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:n,col:r}=t,i=this.hot.runHooks("modifyGetCellCoords",n,r);let o=n,s=r;if(Array.isArray(i)&&([o,s]=i),this.cellProperties=this.hot.getCellMeta(o,s),!this.isCellEditable())return void this.clearActiveEditor();const a=this.hot.getCell(n,r,!0);if(a){const e=this.hot.getCellEditor(this.cellProperties),t=this.hot.colToProp(s),i=this.hot.getSourceDataAtCell(this.hot.toPhysicalRow(o),s);this.activeEditor=Object(c["b"])(e,this.hot),this.activeEditor.prepare(n,r,t,a,i,this.cellProperties)}}isEditorOpened(){return this.activeEditor&&this.activeEditor.isOpened()}openEditor(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this.isCellEditable())return void this.clearActiveEditor();const r=this.hot.getSelectedRangeLast();let i=this.hot.runHooks("beforeBeginEditing",r.highlight.row,r.highlight.col,e,t,n);t instanceof MouseEvent&&"boolean"!==typeof i&&(i=0===this.hot.selection.getLayerLevel()&&r.isSingle()),!1!==i?(this.activeEditor||(this.hot.scrollToFocusedCell(),this.prepareEditor()),this.activeEditor&&(n&&this.activeEditor.enableFullEditMode(),this.activeEditor.beginEditing(e,t))):this.clearActiveEditor()}closeEditor(e,t,n){this.activeEditor?this.activeEditor.finishEditing(e,t,n):n&&n(!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:n,col:r}=e.highlight,{rowIndexMapper:i,columnIndexMapper:o}=this.hot,s=i.isHidden(this.hot.toPhysicalRow(n))||o.isHidden(this.hot.toPhysicalColumn(r));return!(this.cellProperties.readOnly||!t||s)}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 b(e){const t=this.hot.getSelectedRangeLast();if(!this.hot.isListening()||!t||t.highlight.isHeader()||Object(l["isImmediatePropagationStopped"])(e))return;const{keyCode:n}=e,r=(e.ctrlKey||e.metaKey)&&!e.altKey;(!this.activeEditor||this.activeEditor&&!this.activeEditor.isWaiting())&&(Object(a["isFunctionKey"])(n)||Object(a["isCtrlMetaKey"])(n)||r||this.isEditorOpened()||this.openEditor("",e))}function v(e,t){t.isCell()&&this.openEditor(null,e,!0)}const w=new WeakMap;_.getInstance=function(e,t,n){let r=w.get(e);return r||(r=new _(e,t,n),w.set(e,r)),r};var y=_,R=n("351d"),M=n("bd5e");function S(e,t){T(e,t),t.add(e)}function E(e,t,n){T(e,t),t.set(e,n)}function T(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function C(e,t){return e.get(x(e,t))}function O(e,t,n){return e.set(x(e,t),n),n}function x(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const N=Object.freeze({CELL:"cell",MIXED:"mixed"});var L=new WeakMap,I=new WeakMap,P=new WeakMap,D=new WeakMap,F=new WeakMap,k=new WeakSet;class B{constructor(e){var t=this;S(this,k),E(this,L,void 0),E(this,I,void 0),E(this,P,1),E(this,D,null),E(this,F,new Map);const n=e.getSettings();O(L,this,e),O(I,this,n.imeFastEdit?N.MIXED:N.CELL),C(L,this).addHook("afterUpdateSettings",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return x(k,t,V).call(t,...n)})),C(L,this).addHook("afterSelection",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return x(k,t,H).call(t,...n)})),C(L,this).addHook("afterSelectionFocusSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return x(k,t,H).call(t,...n)})),C(L,this).addHook("afterSelectionEnd",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return x(k,t,j).call(t,...n)}))}getFocusMode(){return C(I,this)}setFocusMode(e){Object.values(N).includes(e)?O(I,this,e):Object(M["b"])(`"${e}" is not a valid focus mode.`)}getRefocusDelay(){return C(P,this)}setRefocusDelay(e){O(P,this,e)}setRefocusElementGetter(e){O(D,this,e)}getRefocusElement(){return"function"===typeof C(D,this)?C(D,this).call(this):null===(e=C(L,this).getActiveEditor())||void 0===e?void 0:e.TEXTAREA;var e}focusOnHighlightedCell(e){const t=e=>{var t,n;const r=null===(t=C(L,this).getSelectedRangeLast())||void 0===t?void 0:t.highlight;if(!r)return;let i=C(L,this).runHooks("modifyFocusedElement",r.row,r.col,e);i instanceof HTMLElement||(i=e),!i||null!==(n=C(L,this).getActiveEditor())&&void 0!==n&&n.isOpened()||i.focus({preventScroll:!0})};e?t(e):x(k,this,U).call(this,e=>t(e))}refocusToEditorTextarea(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C(P,this);const n=this.getRefocusElement();!C(L,this).getSettings().imeFastEdit||null!==(e=C(L,this).getActiveEditor())&&void 0!==e&&e.isOpened()||!n||(C(F,this).has(t)||C(F,this).set(t,Object(i["debounce"])(()=>{n.select()},t)),C(F,this).get(t)())}}function U(e){var t;const n=null===(t=C(L,this).getSelectedRangeLast())||void 0===t?void 0:t.highlight;if(!n||!C(L,this).selection.isCellVisible(n))return void e(null);const r=C(L,this).getCell(n.row,n.col,!0);null===r?C(L,this).addHookOnce("afterScroll",()=>{e(C(L,this).getCell(n.row,n.col,!0))}):e(r)}function H(){x(k,this,U).call(this,e=>{const{activeElement:t}=C(L,this).rootDocument;t&&Object(r["isOutsideInput"])(t)&&t.blur(),this.focusOnHighlightedCell(e)})}function j(){x(k,this,U).call(this,e=>{this.getFocusMode()===N.MIXED&&"TD"===e.nodeName&&this.refocusToEditorTextarea()})}function V(e){"boolean"===typeof e.imeFastEdit&&this.setFocusMode(e.imeFastEdit?N.MIXED:N.CELL)}var W=n("81ea"),Y=n("a776"),Q=n("24b5"),X=n("3d76"),K=n("169f"),G=n("29b0"),Z=n("ffec"),z=n("7dd0");function q(e,t,n){J(e,t),t.set(e,n)}function J(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $(e,t){return e.get(te(e,t))}function ee(e,t,n){return e.set(te(e,t),n),n}function te(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var ne=new WeakMap,re=new WeakMap,ie=new WeakMap,oe=new WeakMap,se=new WeakMap,ae=new WeakMap,le=new WeakMap,ce=new WeakMap,ue=new WeakMap,de=new WeakMap;class he{constructor(e,t,n,r,i,o){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;q(this,ne,void 0),q(this,re,void 0),q(this,ie,void 0),q(this,oe,void 0),q(this,se,void 0),q(this,ae,void 0),q(this,le,void 0),q(this,ce,void 0),q(this,ue,[null,null]),q(this,de,[null,null]),ee(ne,this,n),ee(re,this,t),ee(ie,this,i),ee(oe,this,o),ee(se,this,s),ee(ae,this,r),ee(le,this,e),this.registerEvents()}registerEvents(){$(ae,this).addEventListener($(ie,this).holder,"contextmenu",e=>this.onContextMenu(e)),$(ae,this).addEventListener($(ie,this).TABLE,"mouseover",e=>this.onMouseOver(e)),$(ae,this).addEventListener($(ie,this).TABLE,"mouseout",e=>this.onMouseOut(e));const e=()=>{$(ae,this).addEventListener($(ie,this).holder,"touchstart",e=>this.onTouchStart(e)),$(ae,this).addEventListener($(ie,this).holder,"touchend",e=>this.onTouchEnd(e)),this.momentumScrolling||(this.momentumScrolling={}),$(ae,this).addEventListener($(ie,this).holder,"scroll",()=>{clearTimeout(this.momentumScrolling._timeout),this.momentumScrolling.ongoing||$(ne,this).getSetting("onBeforeTouchScroll"),this.momentumScrolling.ongoing=!0,this.momentumScrolling._timeout=setTimeout(()=>{this.touchApplied||(this.momentumScrolling.ongoing=!1,$(ne,this).getSetting("onAfterMomentumScroll"))},200)})},t=()=>{$(ae,this).addEventListener($(ie,this).holder,"mouseup",e=>this.onMouseUp(e)),$(ae,this).addEventListener($(ie,this).holder,"mousedown",e=>this.onMouseDown(e))};Object(s["isMobileBrowser"])()?e():(Object(z["isTouchSupported"])()&&e(),t())}selectedCellWasTouched(e){const t=this.parentCell(e),n=t.coords;if($(ce,this)&&n){const[e,t]=[n.row,$(ce,this).from.row],[r,i]=[n.col,$(ce,this).from.col];return e===t&&r===i}return!1}parentCell(e){const t={},n=$(ie,this).TABLE,i=Object(r["closestDown"])(e,["TD","TH"],n);return i?(t.coords=$(ie,this).getCoords(i),t.TD=i):Object(r["hasClass"])(e,"wtBorder")&&Object(r["hasClass"])(e,"current")?(t.coords=$(oe,this).getFocusSelection().cellRange.highlight,t.TD=$(ie,this).getCell(t.coords)):Object(r["hasClass"])(e,"wtBorder")&&Object(r["hasClass"])(e,"area")&&$(oe,this).getAreaSelection().cellRange&&(t.coords=$(oe,this).getAreaSelection().cellRange.to,t.TD=$(ie,this).getCell(t.coords)),t}onMouseDown(e){const t=$(re,this).rootDocument.activeElement,n=Object(i["partial"])(r["getParent"],e.target),o=e.target;if(!["TD","TH"].includes(t.nodeName)&&(o===t||n(0)===t||n(1)===t))return;const s=this.parentCell(o);Object(r["hasClass"])(o,"corner")?$(ne,this).getSetting("onCellCornerMouseDown",e,o):s.TD&&$(ne,this).has("onCellMouseDown")&&this.callListener("onCellMouseDown",e,s.coords,s.TD),(0===e.button||this.touchApplied)&&s.TD&&($(de,this)[0]=s.TD,clearTimeout($(ue,this)[0]),$(ue,this)[0]=setTimeout(()=>{$(de,this)[0]=null},1e3))}onContextMenu(e){if($(ne,this).has("onCellContextMenu")){const t=this.parentCell(e.target);t.TD&&this.callListener("onCellContextMenu",e,t.coords,t.TD)}}onMouseOver(e){if(!$(ne,this).has("onCellMouseOver"))return;const t=$(ie,this).TABLE,n=Object(r["closestDown"])(e.target,["TD","TH"],t),i=$(se,this)||this;n&&n!==i.lastMouseOver&&Object(r["isChildOf"])(n,t)&&(i.lastMouseOver=n,this.callListener("onCellMouseOver",e,$(ie,this).getCoords(n),n))}onMouseOut(e){if(!$(ne,this).has("onCellMouseOut"))return;const t=$(ie,this).TABLE,n=Object(r["closestDown"])(e.target,["TD","TH"],t),i=Object(r["closestDown"])(e.relatedTarget,["TD","TH"],t),o=$(se,this)||this;n&&n!==i&&Object(r["isChildOf"])(n,t)&&(this.callListener("onCellMouseOut",e,$(ie,this).getCoords(n),n),null===i&&(o.lastMouseOver=null))}onMouseUp(e){const t=this.parentCell(e.target);t.TD&&$(ne,this).has("onCellMouseUp")&&this.callListener("onCellMouseUp",e,t.coords,t.TD),(0===e.button||this.touchApplied)&&(t.TD===$(de,this)[0]&&t.TD===$(de,this)[1]?(Object(r["hasClass"])(e.target,"corner")?this.callListener("onCellCornerDblClick",e,t.coords,t.TD):this.callListener("onCellDblClick",e,t.coords,t.TD),$(de,this)[0]=null,$(de,this)[1]=null):t.TD===$(de,this)[0]&&($(de,this)[1]=t.TD,clearTimeout($(ue,this)[1]),$(ue,this)[1]=setTimeout(()=>{$(de,this)[1]=null},500)))}onTouchStart(e){ee(ce,this,$(oe,this).getFocusSelection().cellRange),this.touchApplied=!0,this.onMouseDown(e)}onTouchEnd(e){var t;const n=e.target,r=null===(t=this.parentCell(n))||void 0===t?void 0:t.coords,i=Object(o["isDefined"])(r)&&r.row>=0&&r.col>=0,a=e.cancelable&&i&&$(ne,this).getSetting("isDataViewInstance");if(a){const t=["A","BUTTON","INPUT"];Object(s["isIOS"])()&&(Object(s["isChromeWebKit"])()||Object(s["isFirefoxWebKit"])())&&this.selectedCellWasTouched(n)&&!t.includes(n.tagName)?e.preventDefault():this.selectedCellWasTouched(n)||e.preventDefault()}this.onMouseUp(e),this.touchApplied=!1}callListener(e,t,n,r){const i=$(ne,this).getSettingPure(e);i&&i(t,n,r,$(le,this).call(this))}destroy(){clearTimeout($(ue,this)[0]),clearTimeout($(ue,this)[1]),$(ae,this).destroy()}}var pe=he;function fe(e,t,n){return(t=me(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ge{constructor(e,t,n){fe(this,"offset",void 0),fe(this,"total",void 0),fe(this,"countTH",void 0),this.offset=e,this.total=t,this.countTH=n}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 be(e,t,n){return(t=ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e){var t=we(e,"string");return"symbol"==typeof t?t:t+""}function we(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ye{constructor(e,t,n){be(this,"offset",void 0),be(this,"total",void 0),be(this,"countTH",void 0),this.offset=e,this.total=t,this.countTH=n}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 Re=ye;const Me=0,Se=1,Ee=2;function Te(e,t,n){return(t=Ce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e){var t=Oe(e,"string");return"symbol"==typeof t?t:t+""}function Oe(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class xe{constructor(){Te(this,"currentSize",0),Te(this,"nextSize",0),Te(this,"currentOffset",0),Te(this,"nextOffset",0)}setSize(e){this.currentSize=this.nextSize,this.nextSize=e}setOffset(e){this.currentOffset=this.nextOffset,this.nextOffset=e}}function Ne(e,t,n){return(t=Le(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Pe{constructor(){Ne(this,"size",new xe),Ne(this,"workingSpace",Me),Ne(this,"sharedSize",null)}setSize(e){this.size.setSize(e)}setOffset(e){this.size.setOffset(e)}getViewSize(){return this.size}isShared(){return this.sharedSize instanceof xe}isPlaceOn(e){return this.workingSpace===e}append(e){this.workingSpace=Se,e.workingSpace=Ee,this.sharedSize=e.getViewSize()}prepend(e){this.workingSpace=Ee,e.workingSpace=Se,this.sharedSize=e.getViewSize()}}function De(e,t,n){return(t=Fe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(e){var t=ke(e,"string");return"symbol"==typeof t?t:t+""}function ke(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Be{constructor(e,t,n){De(this,"rootNode",void 0),De(this,"nodesPool",void 0),De(this,"sizeSet",new Pe),De(this,"childNodeType",void 0),De(this,"visualIndex",0),De(this,"collectedNodes",[]),this.rootNode=e,this.nodesPool=t,this.childNodeType=n.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 n=0;if(this.isSharedViewSet()){let r=e.firstElementChild;while(r){if(r.tagName===this.childNodeType)n+=1;else if(t.isPlaceOn(Se))break;r=r.nextElementSibling}}else n=e.childElementCount;return n}start(){this.collectedNodes.length=0,this.visualIndex=0;const{rootNode:e,sizeSet:t}=this,n=this.isSharedViewSet(),{nextSize:r}=t.getViewSize();let i=this.getRenderedChildCount();while(i<r){const r=this.nodesPool();!n||n&&t.isPlaceOn(Ee)?e.appendChild(r):e.insertBefore(r,e.firstChild),i+=1}const o=n&&t.isPlaceOn(Se);while(i>r)e.removeChild(o?e.firstChild:e.lastChild),i-=1}render(){const{rootNode:e,sizeSet:t}=this;let n=this.visualIndex;this.isSharedViewSet()&&t.isPlaceOn(Ee)&&(n+=t.sharedSize.nextSize);let r=e.childNodes[n];if(r.tagName!==this.childNodeType){const t=this.nodesPool();e.replaceChild(t,r),r=t}this.collectedNodes.push(r),this.visualIndex+=1}end(){}}class Ue extends Be{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 He(e,t,n){return(t=je(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e){var t=Ve(e,"string");return"symbol"==typeof t?t:t+""}function Ve(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class We{constructor(e){He(this,"nodeType",void 0),this.nodeType=e.toUpperCase()}setRootDocument(e){this.rootDocument=e}obtain(){return this.rootDocument.createElement(this.nodeType)}}function Ye(e,t,n){return(t=Qe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e){var t=Xe(e,"string");return"symbol"==typeof t?t:t+""}function Xe(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ke{constructor(e,t){Ye(this,"nodesPool",null),Ye(this,"nodeType",void 0),Ye(this,"rootNode",void 0),Ye(this,"table",null),Ye(this,"renderedNodes",0),this.nodesPool="string"===typeof e?new We(e):null,this.nodeType=e,this.rootNode=t}setTable(e){this.nodesPool&&this.nodesPool.setRootDocument(e.rootDocument),this.table=e}adjust(){}render(){}}var Ge=n("8828");function Ze(e,t,n){return(t=ze(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){var t=qe(e,"string");return"symbol"==typeof t?t:t+""}function qe(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Je extends Ke{constructor(){super("TH"),Ze(this,"orderViews",new WeakMap),Ze(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new Ue(e,e=>this.nodesPool.obtain(this.sourceRowIndex,e),this.nodeType),this.orderViews.set(e,t)),t}render(){const{rowsToRender:e,rowHeaderFunctions:t,rowHeadersCount:n,rows:i,cells:o}=this.table;for(let s=0;s<e;s++){const e=this.table.renderedRowToSource(s),a=i.getRenderedNode(s);this.sourceRowIndex=e;const l=this.obtainOrderView(a),c=o.obtainOrderView(a);l.appendView(c).setSize(n).setOffset(this.table.renderedColumnToSource(0)).start();for(let i=0;i<n;i++){l.render();const n=l.getCurrentNode();n.className="",n.removeAttribute("style"),Object(r["removeAttribute"])(n,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.isAriaEnabled()&&Object(r["setAttribute"])(n,[Object(Ge["E"])(),Object(Ge["H"])(),Object(Ge["f"])(i+1),Object(Ge["L"])(-1)]),t[i](e,n,i)}l.end()}}}class $e extends Ke{constructor(e){super(null,e)}adjust(){const{columnHeadersCount:e,rowHeadersCount:t}=this.table;let n=this.rootNode.firstChild;if(e){const{columnsToRender:r}=this.table,i=r+t;for(let t=0,s=e;t<s;t++){n=this.rootNode.childNodes[t],n||(n=this.table.rootDocument.createElement("tr"),this.rootNode.appendChild(n)),this.renderedNodes=n.childNodes.length;while(this.renderedNodes<i)n.appendChild(this.table.rootDocument.createElement("th")),this.renderedNodes+=1;while(this.renderedNodes>i)n.removeChild(n.lastChild),this.renderedNodes-=1}const o=this.rootNode.childNodes.length;if(o>e)for(let t=e;t<o;t++)this.rootNode.removeChild(this.rootNode.lastChild)}else n&&Object(r["empty"])(n)}render(){const{columnHeadersCount:e}=this.table;this.table.isAriaEnabled()&&Object(r["setAttribute"])(this.rootNode,[Object(Ge["D"])()]);for(let t=0;t<e;t+=1){const{columnHeaderFunctions:e,columnsToRender:n,rowHeadersCount:i}=this.table,o=this.rootNode.childNodes[t];this.table.isAriaEnabled()&&Object(r["setAttribute"])(o,[Object(Ge["B"])(),Object(Ge["F"])(t+1)]);for(let s=-1*i;s<n;s+=1){const n=this.table.renderedColumnToSource(s),a=o.childNodes[s+i];a.className="",a.removeAttribute("style"),Object(r["removeAttribute"])(a,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.isAriaEnabled()&&Object(r["setAttribute"])(a,[Object(Ge["f"])(s+1+this.table.rowHeadersCount),Object(Ge["L"])(-1),Object(Ge["g"])(),...s>=0?[Object(Ge["G"])()]:[Object(Ge["B"])()]]),e[t](n,a,t)}}}}var et=n("67a8");let tt=!1;class nt extends Ke{constructor(e){super(null,e)}adjust(){const{columnsToRender:e,rowHeadersCount:t}=this.table,n=e+t;while(this.renderedNodes<n)this.rootNode.appendChild(this.table.rootDocument.createElement("col")),this.renderedNodes+=1;while(this.renderedNodes>n)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(M["b"])(et["a"]`Performance tip: Handsontable rendered more than 1000 visible columns.\x20
  563. Consider limiting the number of rendered columns by specifying the table width and/or\x20
  564. turning off the "renderAllColumns" option.`));for(let r=0;r<t;r++){const e=this.table.renderedColumnToSource(r),t=this.table.columnUtils.getHeaderWidth(e);this.rootNode.childNodes[r].style.width=t+"px"}for(let r=0;r<e;r++){const e=this.table.renderedColumnToSource(r),n=this.table.columnUtils.getStretchedColumnWidth(e);this.rootNode.childNodes[r+t].style.width=n+"px"}const n=this.rootNode.firstChild;n&&Object(r["addClass"])(n,"rowHeader")}}function rt(e,t,n){return(t=it(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e){var t=ot(e,"string");return"symbol"==typeof t?t:t+""}function ot(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const st={rowEven:"ht__row_even",rowOdd:"ht__row_odd"};let at=!1;class lt extends Ke{constructor(e){super("TR",e),rt(this,"orderView",void 0),this.orderView=new Be(e,e=>this.nodesPool.obtain(e),this.nodeType)}getRenderedNode(e){return this.orderView.getNode(e)}render(){const{rowsToRender:e}=this.table;!at&&e>1e3&&(at=!0,Object(M["b"])(et["a"]`Performance tip: Handsontable rendered more than 1000 visible rows.\x20
  565. Consider limiting the number of rendered rows by specifying the table height and/or\x20
  566. turning off the "renderAllRows" option.`)),this.table.isAriaEnabled()&&Object(r["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(),o=this.table.renderedRowToSource(i);var t,n;if(this.table.isAriaEnabled())Object(r["setAttribute"])(e,[Object(Ge["B"])(),Object(Ge["F"])(o+(null!==(t=null===(n=this.table.rowUtils)||void 0===n||null===(n=n.dataAccessObject)||void 0===n?void 0:n.columnHeaders.length)&&void 0!==t?t:0)+1)]);Object(r["removeClass"])(e,[st.rowEven,st.rowOdd]),(o+1)%2===0?Object(r["addClass"])(e,st.rowEven):Object(r["addClass"])(e,st.rowOdd)}this.orderView.end()}}function ct(e,t,n){return(t=ut(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ht extends Ke{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 Ue(e,e=>this.nodesPool.obtain(this.sourceRowIndex,e),this.nodeType),this.orderViews.set(e,t)),t}render(){const{rowsToRender:e,columnsToRender:t,rows:n,rowHeaders:i}=this.table;for(let a=0;a<e;a++){const e=this.table.renderedRowToSource(a),l=n.getRenderedNode(a);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 n=0;n<t;n++){c.render();const t=c.getCurrentNode(),i=this.table.renderedColumnToSource(n);var o,s;if(Object(r["hasClass"])(t,"hide")||(t.className=""),t.removeAttribute("style"),t.removeAttribute("dir"),Object(r["removeAttribute"])(t,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.cellRenderer(e,i,t),this.table.isAriaEnabled())Object(r["setAttribute"])(t,[...t.hasAttribute("role")?[]:[Object(Ge["l"])()],Object(Ge["L"])(-1),Object(Ge["f"])(i+(null!==(o=null===(s=this.table.rowUtils)||void 0===s||null===(s=s.dataAccessObject)||void 0===s?void 0:s.rowHeaders.length)&&void 0!==o?o:0)+1)])}c.end()}}}function pt(e,t,n){return(t=ft(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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:n,rows:r,cells:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.setTable(this),t.setTable(this),n.setTable(this),r.setTable(this),i.setTable(this),this.rowHeaders=e,this.columnHeaders=t,this.colGroup=n,this.rows=r,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 n=0;n<e;n++){const e=t.getRenderedNode(n);if(e.firstChild){const t=this.renderedRowToSource(n),r=this.rowUtils.getHeightByOverlayName(t,this.activeOverlayName);e.firstChild.style.height=r?r-1+"px":""}}}}class gt{constructor(){let{TABLE:e,THEAD:t,COLGROUP:n,TBODY:r,rowUtils:i,columnUtils:o,cellRenderer:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.renderer=new At(e,{cellRenderer:s}),this.renderer.setRenderers({rowHeaders:new Je,columnHeaders:new $e(t),colGroup:new nt(n),rows:new lt(r),cells:new ht}),this.renderer.setAxisUtils(i,o)}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=n("861dd");function bt(e,t,n){vt(e,t),t.set(e,n)}function vt(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function wt(e,t,n){return(t=yt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(e){var t=Rt(e,"string");return"symbol"==typeof t?t:t+""}function Rt(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Mt(e,t){return e.get(Et(e,t))}function St(e,t,n){return e.set(Et(e,t),n),n}function Et(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Tt=new WeakMap,Ct=new WeakMap,Ot=new WeakMap,xt=new WeakMap,Nt=new WeakMap;class Lt{constructor(e){let{totalColumns:t,stretchMode:n,stretchingColumnWidthFn:r,columnWidthFn:i}=e;wt(this,"stretchAllRatio",0),wt(this,"stretchLastWidth",0),wt(this,"stretchAllColumnsWidth",[]),bt(this,Tt,0),wt(this,"needVerifyLastColumnWidth",!0),bt(this,Ct,()=>0),bt(this,Ot,e=>e),bt(this,xt,e=>e),bt(this,Nt,()=>"none"),St(Ct,this,t),St(Nt,this,n),St(Ot,this,null!==r&&void 0!==r?r:Mt(Ot,this)),St(xt,this,null!==i&&void 0!==i?i:Mt(xt,this))}refreshStretching(e){if("none"===Mt(Nt,this).call(this))return;this.stretchAllRatio=0,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0,this.stretchLastWidth=0,St(Tt,this,e);let t=0;for(let r=0;r<Mt(Ct,this).call(this);r++){const n=this._getColumnWidth(r),i=Mt(Ot,this).call(this,void 0,r);"number"===typeof i?e-=i:t+=n}const n=e-t;if("all"===Mt(Nt,this).call(this)&&n>0)this.stretchAllRatio=e/t,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0;else if("last"===Mt(Nt,this).call(this)&&e!==1/0){const e=this._getColumnWidth(Mt(Ct,this).call(this)-1),t=n+e;this.stretchLastWidth=t>=0?t:e}}getStretchedColumnWidth(e,t){let n=null;return"all"===Mt(Nt,this).call(this)&&0!==this.stretchAllRatio?n=this._getStretchedAllColumnWidth(e,t):"last"===Mt(Nt,this).call(this)&&0!==this.stretchLastWidth&&(n=this._getStretchedLastColumnWidth(e)),n}_getStretchedAllColumnWidth(e,t){let n=0;if(!this.stretchAllColumnsWidth[e]){const n=Math.round(t*this.stretchAllRatio),r=Mt(Ot,this).call(this,n,e);this.stretchAllColumnsWidth[e]=void 0===r?n:isNaN(r)?this._getColumnWidth(e):r}if(this.stretchAllColumnsWidth.length===Mt(Ct,this).call(this)&&this.needVerifyLastColumnWidth){this.needVerifyLastColumnWidth=!1;for(let e=0;e<this.stretchAllColumnsWidth.length;e++)n+=this.stretchAllColumnsWidth[e];n!==Mt(Tt,this)&&(this.stretchAllColumnsWidth[this.stretchAllColumnsWidth.length-1]+=Mt(Tt,this)-n)}return this.stretchAllColumnsWidth[e]}_getStretchedLastColumnWidth(e){return e===Mt(Ct,this).call(this)-1?this.stretchLastWidth:null}_getColumnWidth(e){let t=Mt(xt,this).call(this,e);return isNaN(t)&&(t=_t["a"]),t}}function It(e,t,n){return(t=Pt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e){var t=Dt(e,"string");return"symbol"==typeof t?t:t+""}function Dt(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ft{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 n=this.stretching.getStretchedColumnWidth(e,t);return n&&(t=n),t}getHeaderHeight(e){let t=this.wtSettings.getSetting("defaultRowHeight");const n=this.dataAccessObject.wtViewport.oversizedColumnHeaders[e];return void 0!==n&&(t=t?Math.max(t,n):n),t}getHeaderWidth(e){return this.headerWidths.get(this.dataAccessObject.wtTable.columnFilter.sourceToRendered(e))}refreshStretching(){const{wtTable:e,wtViewport:t,cloneSource:n}=this.dataAccessObject,i=n?n.wtTable.holder:e.holder,o=i.offsetHeight<i.scrollHeight?Object(r["getScrollbarWidth"])():0;this.stretching.refreshStretching(t.getViewportWidth()-o)}calculateWidths(){const{wtSettings:e}=this;let t=e.getSetting("rowHeaderWidth");if(this.refreshStretching(),t=e.getSetting("onModifyRowHeaderWidth",t),null!==t&&void 0!==t){const n=e.getSetting("rowHeaders").length,r=e.getSetting("defaultColumnWidth");for(let e=0;e<n;e++){let n=Array.isArray(t)?t[e]:t;n=null===n||void 0===n?r:n,this.headerWidths.set(e,n)}}}}function kt(e,t,n){return(t=Bt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bt(e){var t=Ut(e,"string");return"symbol"==typeof t?t:t+""}function Ut(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ht{constructor(e,t){kt(this,"dataAccessObject",void 0),kt(this,"wtSettings",void 0),this.dataAccessObject=e,this.wtSettings=t}getHeight(e){let t=this.wtSettings.getSetting("rowHeight",e);const n=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==n&&(t=void 0===t?n:Math.max(t,n)),t}getHeightByOverlayName(e,t){let n=this.wtSettings.getSetting("rowHeightByOverlayName",e,t);const r=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==r&&(n=void 0===n?r:Math.max(n,r)),n}}const jt="top",Vt="bottom",Wt="inline_start",Yt="top_inline_start_corner",Qt="bottom_inline_start_corner",Xt=[jt,Vt,Wt,Yt,Qt],Kt=new Map([[jt,"ht_clone_"+jt],[Vt,"ht_clone_"+Vt],[Wt,`ht_clone_${Wt} ht_clone_left`],[Yt,`ht_clone_${Yt} ht_clone_top_left_corner`],[Qt,`ht_clone_${Qt} ht_clone_bottom_left_corner`]]);function Gt(e,t,n){return(t=Zt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zt(e){var t=zt(e,"string");return"symbol"==typeof t?t:t+""}function zt(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class qt{constructor(e,t,n,i,o){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=n,this.isMaster="master"===o,this.name=o,this.dataAccessObject=e,this.facadeGetter=t,this.wtSettings=i,this.instance=this.dataAccessObject.wot,this.wot=this.dataAccessObject.wot,this.TABLE=n.rootTable,Object(r["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 s=this.wtSettings.getSettingPure("rowHeaderWidth");this.wtSettings.update("rowHeaderWidth",()=>this._modifyRowHeaderWidth(s)),this.rowUtils=new Ht(this.dataAccessObject,this.wtSettings),this.columnUtils=new Ft(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 n;return t&&t.nodeType===Node.ELEMENT_NODE&&Object(r["hasClass"])(t,"wtHolder")||(n=this.domBindings.rootDocument.createElement("div"),n.className="wtSpreader",t&&t.insertBefore(n,e),n.appendChild(e)),n.style.position="relative",this.wtSettings.getSetting("ariaTags")&&Object(r["setAttribute"])(n,[Object(Ge["y"])()]),n}createHider(e){const t=e.parentNode;let n;return t&&t.nodeType===Node.ELEMENT_NODE&&Object(r["hasClass"])(t,"wtHolder")||(n=this.domBindings.rootDocument.createElement("div"),n.className="wtHider",t&&t.insertBefore(n,e),n.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&Object(r["setAttribute"])(n,[Object(Ge["y"])()]),n}createHolder(e){const t=e.parentNode;let n;return t&&t.nodeType===Node.ELEMENT_NODE&&Object(r["hasClass"])(t,"wtHolder")||(n=this.domBindings.rootDocument.createElement("div"),n.style.position="relative",n.className="wtHolder",t&&t.insertBefore(n,e),this.isMaster&&(n.parentNode.className+="ht_master handsontable",n.parentNode.setAttribute("dir",this.wtSettings.getSettingPure("rtlMode")?"rtl":"ltr"),this.wtSettings.getSetting("ariaTags")&&Object(r["setAttribute"])(n.parentNode,[Object(Ge["y"])()])),n.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&Object(r["setAttribute"])(n,[Object(Ge["y"])()]),n}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,{wtOverlays:n,wtViewport:i}=this.dataAccessObject,o=t.getSetting("totalRows"),s=t.getSetting("totalColumns"),a=t.getSetting("rowHeaders"),l=a.length,c=t.getSetting("columnHeaders"),u=c.length;let d=e;if(this.isMaster&&(n.beforeDraw(),this.holderOffset=Object(r["offset"])(this.holder),d=i.createCalculators(d),l&&!t.getSetting("fixedColumnsStart"))){const e=n.inlineStartOverlay.getScrollPosition(),t=this.correctHeaderWidth;this.correctHeaderWidth=0!==e,t!==this.correctHeaderWidth&&(d=!1)}if(d)this.isMaster&&n.refresh(!0);else{this.isMaster?this.tableOffset=Object(r["offset"])(this.TABLE):this.tableOffset=this.dataAccessObject.parentTableOffset;const e=o>0?this.getFirstRenderedRow():0,t=s>0?this.getFirstRenderedColumn():0;this.rowFilter=new Re(e,o,u),this.columnFilter=new _e(t,s,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(a,c),(this.is(Vt)||this.is(Qt))&&this.tableRenderer.setHeaderContentRenderers(a,[]),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(),n.refresh(!1),n.applyToDOM();const t=Object(r["outerWidth"])(this.hider),o=Object(r["outerWidth"])(this.TABLE);0!==t&&o!==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=n.topOverlay.resetFixedPosition(),n.bottomOverlay.clone&&(h=n.bottomOverlay.resetFixedPosition()||h),h=n.inlineStartOverlay.resetFixedPosition()||h,n.topInlineStartCornerOverlay&&n.topInlineStartCornerOverlay.resetFixedPosition(),n.bottomInlineStartCornerOverlay&&n.bottomInlineStartCornerOverlay.clone&&n.bottomInlineStartCornerOverlay.resetFixedPosition()),h?(n.refreshAll(),n.adjustElementsSize()):this.dataAccessObject.selectionManager.setActiveOverlay(this.facadeGetter()).render(d),this.isMaster&&n.afterDraw(),this.dataAccessObject.drawn=!0,this}markIfOversizedColumnHeader(e){const t=this.columnFilter.renderedToSource(e);let n=this.wtSettings.getSetting("columnHeaders").length;const i=this.wtSettings.getSetting("defaultRowHeight");let o,s,a;const l=this.wtSettings.getSetting("columnHeaderHeight")||[];while(n)n-=1,o=this.getColumnHeaderHeight(n),s=this.getColumnHeader(t,n),s&&(a=Object(r["innerHeight"])(s),(!o&&i<a||o<a)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[n]=a),Array.isArray(l)?null!==l[n]&&void 0!==l[n]&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[n]=l[n]):isNaN(l)||(this.dataAccessObject.wtViewport.oversizedColumnHeaders[n]=l),this.dataAccessObject.wtViewport.oversizedColumnHeaders[n]<(l[n]||l)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[n]=l[n]||l))}adjustColumnHeaderHeights(){const{wtSettings:e}=this,t=this.THEAD.childNodes,n=this.dataAccessObject.wtViewport.oversizedColumnHeaders,r=e.getSetting("columnHeaders");for(let i=0,o=r.length;i<o;i++)if(n[i]){if(!t[i]||0===t[i].childNodes.length)return;t[i].childNodes[0].style.height=n[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 n=0;n<e;n++){const e=this.rowFilter.renderedToSource(n);t.oversizedRows&&t.oversizedRows[e]&&(t.oversizedRows[e]=void 0)}}}getCell(e){let t=e.row,n=e.col;const r=this.wtSettings.getSetting("onModifyGetCellCoords",t,n);if(r&&Array.isArray(r)&&([t,n]=r),this.isRowBeforeRenderedRows(t))return-1;if(this.isRowAfterRenderedRows(t))return-2;if(this.isColumnBeforeRenderedColumns(n))return-3;if(this.isColumnAfterRenderedColumns(n))return-4;const i=this.getRow(t);if(!i&&t>=0)throw new Error("TR was expected to be rendered but is not");const o=i.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(n)];if(!o&&n>=0)throw new Error("TD or TH was expected to be rendered but is not");return o}getRow(e){let t=null,n=null;var r,i;e<0?(t=null===(r=this.rowFilter)||void 0===r?void 0:r.sourceRowToVisibleColHeadedRow(e),n=this.THEAD):(t=null===(i=this.rowFilter)||void 0===i?void 0:i.sourceToRendered(e),n=this.TBODY);return void 0!==t&&void 0!==n&&(!(n.childNodes.length<t+1)&&n.childNodes[t])}getColumnHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.THEAD.childNodes[t];return null===n||void 0===n?void 0:n.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e)]}getColumnHeaders(e){const t=[],n=this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e);return this.THEAD.childNodes.forEach(e=>{const r=e.childNodes[n];r&&t.push(r)}),t}getRowHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=this.wtSettings.getSetting("rowHeaders").length;if(t>=n)return;const r=this.rowFilter.sourceToRendered(e),i=r<0?this.rowFilter.sourceRowToVisibleColHeadedRow(e):r,o=r<0?this.THEAD:this.TBODY,s=o.childNodes[i];return null===s||void 0===s?void 0:s.childNodes[t]}getRowHeaders(e){const t=[],n=this.wtSettings.getSetting("rowHeaders").length;for(let r=0;r<n;r++){const n=this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)],i=null===n||void 0===n?void 0:n.childNodes[r];i&&t.push(i)}return t}getCoords(e){let t=e;if("TD"!==t.nodeName&&"TH"!==t.nodeName&&(t=Object(r["closest"])(t,["TD","TH"])),null===t)return null;const n=t.parentNode,i=n.parentNode;let o=Object(r["index"])(n),s=t.cellIndex;if(Object(r["overlayContainsElement"])(Yt,t,this.wtRootElement)||Object(r["overlayContainsElement"])(jt,t,this.wtRootElement))"THEAD"===i.nodeName&&(o-=i.childNodes.length);else if(Object(r["overlayContainsElement"])(Qt,t,this.wtRootElement)||Object(r["overlayContainsElement"])(Vt,t,this.wtRootElement)){const e=this.wtSettings.getSetting("totalRows");o=e-i.childNodes.length+o}else o=i===this.THEAD?this.rowFilter.visibleColHeadedRowToSourceRow(o):this.rowFilter.renderedToSource(o);return s=Object(r["overlayContainsElement"])(Yt,t,this.wtRootElement)||Object(r["overlayContainsElement"])(Wt,t,this.wtRootElement)||Object(r["overlayContainsElement"])(Qt,t,this.wtRootElement)?this.columnFilter.offsettedTH(s):this.columnFilter.visibleRowHeadedColumnToSourceColumn(s),this.wot.createCellCoords(o,s)}markOversizedRows(){if(this.wtSettings.getSetting("externalRowCalculator"))return;let e=this.TBODY.childNodes.length;const t=e*this.wtSettings.getSetting("defaultRowHeight"),n=Object(r["innerHeight"])(this.TBODY)-1;let i,o,s,a,l;if(t!==n||this.wtSettings.getSetting("fixedRowsBottom"))while(e)e-=1,s=this.rowFilter.renderedToSource(e),i=this.getRowHeight(s),a=this.getTrForRow(s),l=a.querySelector("th"),o=l?Object(r["innerHeight"])(l):Object(r["innerHeight"])(a)-1,(!i&&this.wtSettings.getSetting("defaultRowHeight")<o||i<o)&&(o+=1,this.dataAccessObject.wtViewport.oversizedRows[s]=o)}getTrForRow(e){return this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)]}isColumnHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("rowHeaders"),n=t.length;return Math.abs(e)<=n}isRowHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("columnHeaders"),n=t.length;return Math.abs(e)<=n}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(r["outerWidth"])(this.TABLE)}getHeight(){return Object(r["outerHeight"])(this.TABLE)}getTotalWidth(){const e=Object(r["outerWidth"])(this.hider);return 0!==e?e:this.getWidth()}getTotalHeight(){const e=Object(r["outerHeight"])(this.hider);return 0!==e?e:this.getHeight()}isVisible(){return Object(r["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 Jt=qt;const $t="stickyRowsTop",en={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(R["defineGetter"])(en,"MIXIN_NAME",$t,{writable:!1,enumerable:!1});var tn=en;const nn="calculatedColumns",rn={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(R["defineGetter"])(rn,"MIXIN_NAME",nn,{writable:!1,enumerable:!1});var on=rn;class sn extends Jt{constructor(e,t,n,r){super(e,t,n,r,jt)}}Object(R["mixin"])(sn,tn),Object(R["mixin"])(sn,on);var an=sn;function ln(e,t){cn(e,t),t.add(e)}function cn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function un(e,t,n){return(t=dn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dn(e){var t=hn(e,"string");return"symbol"==typeof t?t:t+""}function hn(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function pn(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var fn=new WeakSet;class mn{constructor(e){ln(this,fn),un(this,"dataAccessObject",void 0),this.dataAccessObject=e}scrollViewport(e,t,n,r,i){const o=this.scrollViewportHorizontally(e.col,n,i),s=this.scrollViewportVertically(e.row,t,r);return o||s}scrollViewportHorizontally(e,t,n){const{drawn:r,totalColumns:i}=this.dataAccessObject;if(!r||!Number.isInteger(e)||e<0||e>i)return!1;const o=void 0===t&&void 0===n,{fixedColumnsStart:s,inlineStartOverlay:a}=this.dataAccessObject;if(o&&e<s)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(o&&(e<l||e>c)||!o)&&(u=a.scrollTo(e,o?e>=this.getLastPartiallyVisibleColumn():t)),u}scrollViewportVertically(e,t,n){const{drawn:r,totalRows:i}=this.dataAccessObject;if(!r||!Number.isInteger(e)||e<0||e>i)return!1;const o=void 0===t&&void 0===n,{fixedRowsBottom:s,fixedRowsTop:a,topOverlay:l}=this.dataAccessObject;if(o&&(e<a||e>i-s-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(o&&(e<c||e>u)||!o)&&(d=l.scrollTo(e,o?e>=this.getLastPartiallyVisibleRow():n)),d}getFirstVisibleRow(){return this.dataAccessObject.wtTable.getFirstVisibleRow()}getLastVisibleRow(){return pn(fn,this,gn).call(this,this.dataAccessObject.wtTable.getLastVisibleRow())}getFirstPartiallyVisibleRow(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleRow()}getLastPartiallyVisibleRow(){return pn(fn,this,gn).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleRow())}getFirstVisibleColumn(){return this.dataAccessObject.wtTable.getFirstVisibleColumn()}getLastVisibleColumn(){return pn(fn,this,An).call(this,this.dataAccessObject.wtTable.getLastVisibleColumn())}getFirstPartiallyVisibleColumn(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleColumn()}getLastPartiallyVisibleColumn(){return pn(fn,this,An).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleColumn())}}function An(e){const{wtSettings:t,inlineStartOverlay:n,wtTable:i,wtViewport:o,totalColumns:s,rootWindow:a}=this.dataAccessObject;if(n.mainTableScrollableElement===a){const l=t.getSetting("rtlMode");let c=null;if(l){const e=i.TABLE.getBoundingClientRect(),t=this.dataAccessObject.rootWindow.document,n=t.documentElement.offsetWidth;c=Math.abs(e.right-n)}else{const e=Object(r["offset"])(i.wtRootElement);c=e.left}const u=Math.abs(Object(r["getScrollLeft"])(a,a));if(c>u){const t=Object(r["innerWidth"])(a);let i=o.getRowHeaderWidth();for(let r=1;r<=s;r++)if(i+=n.sumCellSizes(r-1,r),c+i-u>=t){e=r-2;break}}}return e}function gn(e){const{topOverlay:t,wtTable:n,wtViewport:i,totalRows:o,rootWindow:s}=this.dataAccessObject;if(t.mainTableScrollableElement===s){const a=Object(r["offset"])(n.wtRootElement),l=Object(r["getScrollTop"])(s,s);if(a.top>l){const n=Object(r["innerHeight"])(s);let c=i.getColumnHeaderHeight();for(let r=1;r<=o;r++)if(c+=t.sumCellSizes(r-1,r),a.top+c-l>=n){e=r-2;break}}}return e}var _n=mn,bn=n("0716"),vn=n("d852");function wn(e,t,n){return(t=yn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yn(e){var t=Rn(e,"string");return"symbol"==typeof t?t:t+""}function Rn(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Mn{get eventManager(){return new u["a"](this)}constructor(e,t){wn(this,"wtTable",void 0),wn(this,"wtScroll",void 0),wn(this,"wtViewport",void 0),wn(this,"wtOverlays",void 0),wn(this,"selectionManager",void 0),wn(this,"wtEvent",void 0),wn(this,"guid","wt_"+Object(G["randomString"])()),wn(this,"drawInterrupted",!1),wn(this,"drawn",!1),wn(this,"domBindings",void 0),wn(this,"wtSettings",void 0),this.domBindings={rootTable:e,rootDocument:e.ownerDocument,rootWindow:e.ownerDocument.defaultView},this.wtSettings=t,this.wtScroll=new _n(this.createScrollDao())}findOriginalHeaders(){const e=[];if(this.wtTable.THEAD.childNodes.length&&this.wtTable.THEAD.childNodes[0].childNodes.length){for(let t=0,n=this.wtTable.THEAD.childNodes[0].childNodes.length;t<n;t++)e.push(this.wtTable.THEAD.childNodes[0].childNodes[t].innerHTML);this.wtSettings.getSetting("columnHeaders").length||this.wtSettings.update("columnHeaders",[function(t,n){Object(r["fastInnerText"])(n,e[t])}])}}createCellCoords(e,t){return new bn["a"](e,t,this.wtSettings.getSetting("rtlMode"))}createCellRange(e,t,n){return new vn["a"](e,t,n,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 n=this.wtSettings.getSetting("totalRows"),r=this.wtSettings.getSetting("fixedRowsTop"),i=this.wtSettings.getSetting("fixedRowsBottom"),o=this.wtSettings.getSetting("fixedColumnsStart");if(e.row<r&&e.col<o)return this.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.getCell(e);if(e.row<r)return this.wtOverlays.topOverlay.clone.wtTable.getCell(e);if(e.col<o&&e.row>=n-i){if(this.wtOverlays.bottomInlineStartCornerOverlay&&this.wtOverlays.bottomInlineStartCornerOverlay.clone)return this.wtOverlays.bottomInlineStartCornerOverlay.clone.wtTable.getCell(e)}else{if(e.col<o)return this.wtOverlays.inlineStartOverlay.clone.wtTable.getCell(e);if(e.row<n&&e.row>=n-i&&this.wtOverlays.bottomOverlay&&this.wtOverlays.bottomOverlay.clone)return this.wtOverlays.bottomOverlay.clone.wtTable.getCell(e)}return this.wtTable.getCell(e)}scrollViewport(e,t,n,r,i){return!(e.col<0||e.row<0)&&this.wtScroll.scrollViewport(e,t,n,r,i)}scrollViewportHorizontally(e,t,n){return!(e<0)&&this.wtScroll.scrollViewportHorizontally(e,t,n)}scrollViewportVertically(e,t,n){return!(e<0)&&this.wtScroll.scrollViewportVertically(e,t,n)}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 Sn(e,t,n){return(t=En(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(e){var t=Tn(e,"string");return"symbol"==typeof t?t:t+""}function Tn(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Cn extends Mn{constructor(e,t,n){super(e,t),Sn(this,"cloneSource",void 0),Sn(this,"cloneOverlay",void 0);const r=this.wtSettings.getSetting("facade",this);this.cloneSource=n.source,this.cloneOverlay=n.overlay,this.wtTable=this.cloneOverlay.createTable(this.getTableDao(),r,this.domBindings,this.wtSettings),this.wtViewport=n.viewport,this.selectionManager=n.selectionManager,this.wtEvent=new pe(r,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager,n.event),this.findOriginalHeaders()}}function On(e,t,n){return(t=xn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xn(e){var t=Nn(e,"string");return"symbol"==typeof t?t:t+""}function Nn(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Ln{constructor(e,t,n,i,o){On(this,"wtSettings",null),Object(R["defineGetter"])(this,"wot",e,{writable:!1}),this.domBindings=o,this.facadeGetter=t,this.wtSettings=i;const{TABLE:s,hider:a,spreader:l,holder:c,wtRootElement:u}=this.wot.wtTable;this.instance=this.wot,this.type=n,this.mainTableScrollableElement=null,this.TABLE=s,this.hider=a,this.spreader=l,this.holder=c,this.wtRootElement=u,this.trimmingContainer=Object(r["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(r["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(r["getScrollableElement"])(e.TABLE)}getRelativeCellPosition(e,t,n){if(!1===this.clone.wtTable.holder.contains(e))return void Object(M["b"])(`The provided element is not a child of the ${this.type} overlay`);const r=this.mainTableScrollableElement===this.domBindings.rootWindow,i=n<this.wtSettings.getSetting("fixedColumnsStart"),o=t<this.wtSettings.getSetting("fixedRowsTop"),s=t>=this.wtSettings.getSetting("totalRows")-this.wtSettings.getSetting("fixedRowsBottom"),a=this.clone.wtTable.spreader,l={start:this.getRelativeStartPosition(a),top:a.offsetTop},c={start:this.getRelativeStartPosition(e),top:e.offsetTop};let u=null;return u=r?this.getRelativeCellPositionWithinWindow(o,i,c,l):this.getRelativeCellPositionWithinHolder(o,s,i,c,l),u}getRelativeStartPosition(e){return this.isRtl()?e.offsetParent.offsetWidth-e.offsetLeft-e.offsetWidth:e.offsetLeft}getRelativeCellPositionWithinWindow(e,t,n,i){const o=this.wot.wtTable.wtRootElement.getBoundingClientRect();let s=0,a=0;if(t){let e=o.left;this.isRtl()&&(e=this.domBindings.rootWindow.innerWidth-(o.left+o.width+Object(r["getScrollbarWidth"])())),s=e<=0?-1*e:0}else s=i.start;if(e){const e=this.clone.wtTable.TABLE.getBoundingClientRect();a=e.top-o.top}else a=i.top;return{start:n.start+s,top:n.top+a}}getRelativeCellPositionWithinHolder(e,t,n,r,i){const o={horizontal:this.wot.wtOverlays.inlineStartOverlay.getScrollPosition(),vertical:this.wot.wtOverlays.topOverlay.getScrollPosition()};let s=0,a=0;if(n||(s=o.horizontal-i.start),t){const e=this.wot.wtTable.wtRootElement.getBoundingClientRect(),t=this.clone.wtTable.TABLE.getBoundingClientRect();a=-1*t.top+e.top}else e||(a=o.vertical-i.top);return{start:r.start-s,top:r.top-a}}makeClone(){if(-1===Xt.indexOf(this.type))throw new Error(`Clone type "${this.type}" is not supported.`);const{wtTable:e,wtSettings:t}=this.wot,{rootDocument:n,rootWindow:i}=this.domBindings,o=n.createElement("div"),s=n.createElement("table"),a=e.wtRootElement.parentNode;o.className=Kt.get(this.type)+" handsontable",o.setAttribute("dir",this.isRtl()?"rtl":"ltr"),o.style.position="absolute",o.style.top=0,o.style.overflow="visible",this.isRtl()?o.style.right=0:o.style.left=0,t.getSetting("ariaTags")&&Object(r["setAttribute"])(o,[Object(Ge["y"])()]),s.className=e.TABLE.className;const l=e.TABLE.getAttribute("role");l&&s.setAttribute("role",e.TABLE.getAttribute("role")),o.appendChild(s),a.appendChild(o);const c=this.wtSettings.getSetting("preventOverflow");return!0===c||"horizontal"===c&&this.type===jt||"vertical"===c&&this.type===Wt?this.mainTableScrollableElement=i:"hidden"===i.getComputedStyle(a).getPropertyValue("overflow")?this.mainTableScrollableElement=e.holder:this.mainTableScrollableElement=Object(r["getScrollableElement"])(e.TABLE),new Cn(s,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,n=e.style,r=t.style,i=e.parentNode.style;[n,r,i].forEach(e=>{e.width="",e.height=""})}isRtl(){return this.wtSettings.getSetting("rtlMode")}destroy(){this.clone.eventManager.destroy()}}const In=Object.freeze({width:"6px",height:"6px",borderWidth:"1px",borderStyle:"solid",borderColor:"#FFF"});function Pn(e,t,n){return(t=Dn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class kn extends Ln{constructor(e,t,n,r){super(e,t,jt,n,r),Pn(this,"cachedFixedRowsTop",-1),this.cachedFixedRowsTop=this.wtSettings.getSetting("fixedRowsTop")}createTable(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new an(...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,n=this.wtSettings.getSetting("preventOverflow");let i=0,o=!1;if(this.trimmingContainer!==t||n&&"vertical"===n)i=this.getScrollPosition(),Object(r["resetCssTransform"])(e);else{const{wtTable:t}=this.wot,n=t.hider.getBoundingClientRect(),s=Math.ceil(n.bottom),a=e.offsetHeight;o=s===a,i=this.getOverlayOffset(),Object(r["setOverlayPosition"])(e,"0px",i+"px")}const s=this.adjustHeaderBordersPosition(i,o);return this.adjustElementsSize(),s}setScrollPosition(e){const t=this.domBindings.rootWindow;let n=!1;return this.mainTableScrollableElement===t&&t.scrollY!==e?(t.scrollTo(Object(r["getWindowScrollLeft"])(t),e),n=!0):this.mainTableScrollableElement.scrollTop!==e&&(this.mainTableScrollableElement.scrollTop=e,n=!0),n}onScroll(){this.wtSettings.getSetting("onScrollHorizontally")}sumCellSizes(e,t){const n=this.wtSettings.getSetting("defaultRowHeight");let r=e,i=0;while(r<t){const e=this.wot.wtTable.getRowHeight(r);i+=void 0===e?n:e,r+=1}return i}adjustElementsSize(){this.updateTrimmingContainer(),this.needFullRender&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e}=this.wot,{rootDocument:t,rootWindow:n}=this.domBindings,i=Object(r["getScrollbarWidth"])(t),o=this.clone.wtTable.holder.parentNode,s=o.style,a=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==n||"horizontal"===a){let t=this.wot.wtViewport.getWorkspaceWidth();this.wot.wtOverlays.hasScrollbarRight&&(t-=i),t=Math.min(t,e.wtRootElement.scrollWidth),s.width=t+"px"}else s.width="";this.clone.wtTable.holder.style.width=s.width;let l=Object(r["outerHeight"])(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(l=0),s.height=l+"px"}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable,t=this.wot.selectionManager.getFocusSelection()?parseInt(In.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:n,wtSettings:i}=this,o=n.cloneSource?n.cloneSource:n,s=o.wtTable.holder,a=i.getSetting("columnHeaders"),l=i.getSetting("fixedRowsTop"),c=0===l&&a.length>0&&!Object(r["hasClass"])(s.parentNode,"innerBorderTop")?1:0;let u=this.getTableParentOffset(),d=0;if(t){const n=this.wot.wtTable.getRowHeight(e),r=this.wot.wtViewport.getViewportHeight();n>r&&(t=!1)}if(t&&s.offsetHeight!==s.clientHeight&&(d=Object(r["getScrollbarWidth"])(this.domBindings.rootDocument)),t){const t=i.getSetting("fixedRowsBottom"),r=i.getSetting("totalRows");u+=this.sumCellSizes(0,e+1),u-=n.wtViewport.getViewportHeight()-this.sumCellSizes(r-t,r),u+=1,u+=c}else u+=this.sumCellSizes(i.getSetting("fixedRowsTop"),e);return u+=d,Object(r["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(r["getScrollTop"])(this.mainTableScrollableElement,this.domBindings.rootWindow)}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let n=0;if(this.trimmingContainer===e&&(!t||"vertical"!==t)){const e=this.wot.wtTable.getTotalHeight(),t=this.clone.wtTable.getTotalHeight(),r=e-t;n=Math.max(this.getScrollPosition()-this.getTableParentOffset(),0),n>r&&(n=0)}return n}adjustHeaderBordersPosition(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{wtSettings:n}=this,i=this.wot.wtTable.holder.parentNode,o=n.getSetting("totalColumns"),s="horizontal"===n.getSetting("preventOverflow");o?Object(r["removeClass"])(i,"emptyColumns"):Object(r["addClass"])(i,"emptyColumns");let a=!1;if(!t&&!s){const t=n.getSetting("fixedRowsTop"),o=this.cachedFixedRowsTop!==t,s=n.getSetting("columnHeaders");if((o||0===t)&&s.length>0){const t=Object(r["hasClass"])(i,"innerBorderTop");this.cachedFixedRowsTop=n.getSetting("fixedRowsTop"),e||0===n.getSetting("totalRows")?(Object(r["addClass"])(i,"innerBorderTop"),a=!t):(Object(r["removeClass"])(i,"innerBorderTop"),a=t)}}return a}}const Bn="stickyRowsBottom",Un={getFirstRenderedRow(){const e=this.wtSettings.getSetting("totalRows"),t=this.wtSettings.getSetting("fixedRowsBottom"),n=e-t;return 0===e||0===t?-1:n<0?0:n},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(R["defineGetter"])(Un,"MIXIN_NAME",Bn,{writable:!1,enumerable:!1});var Hn=Un;class jn extends Jt{constructor(e,t,n,r){super(e,t,n,r,Vt)}}Object(R["mixin"])(jn,Hn),Object(R["mixin"])(jn,on);var Vn=jn;function Wn(e,t,n){return(t=Yn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yn(e){var t=Qn(e,"string");return"symbol"==typeof t?t:t+""}function Qn(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Xn extends Ln{constructor(e,t,n,r){super(e,t,Vt,n,r),Wn(this,"cachedFixedRowsBottom",-1),this.cachedFixedRowsBottom=this.wtSettings.getSetting("fixedRowsBottom")}createTable(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new Vn(...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 n=0;const r=this.wtSettings.getSetting("preventOverflow");this.trimmingContainer!==e||r&&"vertical"===r?(n=this.getScrollPosition(),this.repositionOverlay()):(n=this.getOverlayOffset(),t.style.bottom=n+"px");const i=this.adjustHeaderBordersPosition(n);return this.adjustElementsSize(),i}repositionOverlay(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:n}=this.domBindings,i=this.clone.wtTable.holder.parentNode;let o=0;t.hasVerticalScroll()||(o+=t.getWorkspaceHeight()-e.getTotalHeight()),t.hasVerticalScroll()&&t.hasHorizontalScroll()&&(o+=Object(r["getScrollbarWidth"])(n)),i.style.bottom=o+"px"}setScrollPosition(e){const{rootWindow:t}=this.domBindings;let n=!1;return this.mainTableScrollableElement===t?(t.scrollTo(Object(r["getWindowScrollLeft"])(t),e),n=!0):this.mainTableScrollableElement.scrollTop!==e&&(this.mainTableScrollableElement.scrollTop=e,n=!0),n}onScroll(){this.wtSettings.getSetting("onScrollHorizontally")}sumCellSizes(e,t){const{wtTable:n,wtSettings:r}=this.wot,i=r.getSetting("defaultRowHeight");let o=e,s=0;while(o<t){const e=n.getRowHeight(o);s+=void 0===e?i:e,o+=1}return s}adjustElementsSize(){this.updateTrimmingContainer(),this.needFullRender&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:n,rootWindow:i}=this.domBindings,o=Object(r["getScrollbarWidth"])(n),s=this.clone.wtTable.holder.parentNode,a=s.style,l=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==i||"horizontal"===l){let n=t.getWorkspaceWidth();this.wot.wtOverlays.hasScrollbarRight&&(n-=o),n=Math.min(n,e.wtRootElement.scrollWidth),a.width=n+"px"}else a.width="";this.clone.wtTable.holder.style.width=a.width;let c=Object(r["outerHeight"])(this.clone.wtTable.TABLE);this.wot.wtTable.hasDefinedSize()||(c=0),a.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 n=this.getTableParentOffset();const i=this.wot.cloneSource?this.wot.cloneSource:this.wot,o=i.wtTable.holder;let s=0;t&&o.offsetHeight!==o.clientHeight&&(s=Object(r["getScrollbarWidth"])(this.domBindings.rootDocument)),t?(n+=this.sumCellSizes(0,e+1),n-=this.wot.wtViewport.getViewportHeight(),n+=1):n+=this.sumCellSizes(this.wtSettings.getSetting("fixedRowsBottom"),e),n+=s,this.setScrollPosition(n)}getTableParentOffset(){return this.mainTableScrollableElement===this.domBindings.rootWindow?this.wot.wtTable.holderOffset.top:0}getScrollPosition(){return Object(r["getScrollTop"])(this.mainTableScrollableElement,this.domBindings.rootWindow)}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let n=0;if(this.trimmingContainer===e&&(!t||"vertical"!==t)){const e=this.wot.wtTable.getTotalHeight(),t=this.clone.wtTable.getTotalHeight(),r=e-t,i=this.domBindings.rootDocument.documentElement.clientHeight;n=Math.max(this.getTableParentOffset()-this.getScrollPosition()-i+e,0),n>r&&(n=0)}return n}adjustHeaderBordersPosition(e){const t=this.wtSettings.getSetting("fixedRowsBottom"),n=this.cachedFixedRowsBottom!==t,i=this.wtSettings.getSetting("columnHeaders");let o=!1;if((n||0===t)&&i.length>0){const t=this.wot.wtTable.holder.parentNode,n=Object(r["hasClass"])(t,"innerBorderBottom");this.cachedFixedRowsBottom=this.wtSettings.getSetting("fixedRowsBottom"),e||0===this.wtSettings.getSetting("totalRows")?(Object(r["addClass"])(t,"innerBorderBottom"),o=!n):(Object(r["removeClass"])(t,"innerBorderBottom"),o=n)}return o}}const Kn="calculatedRows",Gn={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(R["defineGetter"])(Gn,"MIXIN_NAME",Kn,{writable:!1,enumerable:!1});var Zn=Gn;const zn="stickyColumnsStart",qn={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(R["defineGetter"])(qn,"MIXIN_NAME",zn,{writable:!1,enumerable:!1});var Jn=qn;class $n extends Jt{constructor(e,t,n,r){super(e,t,n,r,Wt)}}Object(R["mixin"])($n,Zn),Object(R["mixin"])($n,Jn);var er=$n;class tr extends Ln{constructor(e,t,n,r){super(e,t,Wt,n,r)}createTable(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new er(...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,n=this.clone.wtTable.holder.parentNode,i=this.wtSettings.getSetting("preventOverflow");let o=0;this.trimmingContainer!==t||i&&"horizontal"===i?(o=this.getScrollPosition(),Object(r["resetCssTransform"])(n)):(o=this.getOverlayOffset()*(this.isRtl()?-1:1),Object(r["setOverlayPosition"])(n,o+"px","0px"));const s=this.adjustHeaderBordersPosition(o);return this.adjustElementsSize(),s}setScrollPosition(e){const{rootWindow:t}=this.domBindings;let n=!1;return this.isRtl()&&(e=-e),this.mainTableScrollableElement===t&&t.scrollX!==e?(t.scrollTo(e,Object(r["getWindowScrollTop"])(t)),n=!0):this.mainTableScrollableElement.scrollLeft!==e&&(this.mainTableScrollableElement.scrollLeft=e,n=!0),n}onScroll(){this.wtSettings.getSetting("onScrollVertically")}sumCellSizes(e,t){const n=this.wtSettings.getSetting("defaultColumnWidth");let r=e,i=0;while(r<t)i+=this.wot.wtTable.getStretchedColumnWidth(r)||n,r+=1;return i}adjustElementsSize(){this.updateTrimmingContainer(),this.needFullRender&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e}=this.wot,{rootDocument:t,rootWindow:n}=this.domBindings,i=Object(r["getScrollbarWidth"])(t),o=this.clone.wtTable.holder.parentNode,s=o.style,a=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==n||"vertical"===a){let t=this.wot.wtViewport.getWorkspaceHeight();this.wot.wtOverlays.hasScrollbarBottom&&(t-=i),t=Math.min(t,e.wtRootElement.scrollHeight),s.height=t+"px"}else s.height="";this.clone.wtTable.holder.style.height=s.height;const l=Object(r["outerWidth"])(this.clone.wtTable.TABLE);s.width=l+"px"}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable,t=this.wot.selectionManager.getFocusSelection()?parseInt(In.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:n}=this,i=n.getSetting("rowHeaders"),o=n.getSetting("fixedColumnsStart"),s=this.wot.cloneSource?this.wot.cloneSource:this.wot,a=s.wtTable.holder,l=0===o&&i.length>0&&!Object(r["hasClass"])(a.parentNode,"innerBorderInlineStart")?1:0;let c=this.getTableParentOffset(),u=0;if(t){const n=this.wot.wtTable.getColumnWidth(e),r=this.wot.wtViewport.getViewportWidth();n>r&&(t=!1)}return t&&a.offsetWidth!==a.clientWidth&&(u=Object(r["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(r["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(r["getScrollLeft"])(this.mainTableScrollableElement,this.domBindings.rootWindow))}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let n=0;if(this.trimmingContainer===e&&(!t||"horizontal"!==t)){n=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(),r=e-t;n>r&&(n=0)}return n}adjustHeaderBordersPosition(e){const{wtSettings:t}=this,n=this.wot.wtTable.holder.parentNode,i=t.getSetting("rowHeaders"),o=t.getSetting("fixedColumnsStart"),s=t.getSetting("totalRows"),a="vertical"===t.getSetting("preventOverflow");s?Object(r["removeClass"])(n,"emptyRows"):Object(r["addClass"])(n,"emptyRows");let l=!1;if(!a)if(o&&!i.length)Object(r["addClass"])(n,"innerBorderLeft innerBorderInlineStart");else if(!o&&i.length){const t=Object(r["hasClass"])(n,"innerBorderInlineStart");e?(Object(r["addClass"])(n,"innerBorderLeft innerBorderInlineStart"),l=!t):(Object(r["removeClass"])(n,"innerBorderLeft innerBorderInlineStart"),l=t)}return l}}class nr extends Jt{constructor(e,t,n,r){super(e,t,n,r,Yt)}}Object(R["mixin"])(nr,tn),Object(R["mixin"])(nr,Jn);var rr=nr;function ir(e,t,n){return(t=or(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function or(e){var t=sr(e,"string");return"symbol"==typeof t?t:t+""}function sr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ar extends Ln{constructor(e,t,n,r,i,o){super(e,t,Yt,n,r),ir(this,"topOverlay",void 0),ir(this,"inlineStartOverlay",void 0),this.topOverlay=i,this.inlineStartOverlay=o}createTable(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new rr(...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),n=this.topOverlay.getOverlayOffset();Object(r["setOverlayPosition"])(e,t+"px",n+"px")}else Object(r["resetCssTransform"])(e);let t=Object(r["outerHeight"])(this.clone.wtTable.TABLE);const n=Object(r["outerWidth"])(this.clone.wtTable.TABLE);return this.wot.wtTable.hasDefinedSize()||(t=0),e.style.height=t+"px",e.style.width=n+"px",!1}}class lr extends Jt{constructor(e,t,n,r){super(e,t,n,r,Qt)}}Object(R["mixin"])(lr,Hn),Object(R["mixin"])(lr,Jn);var cr=lr;class ur extends Ln{constructor(e,t,n,r,i,o){super(e,t,Qt,n,r),this.bottomOverlay=i,this.inlineStartOverlay=o}createTable(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new cr(...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(),n=this.bottomOverlay.getOverlayOffset();t.style[this.isRtl()?"right":"left"]=e+"px",t.style.bottom=n+"px"}else Object(r["resetCssTransform"])(t),this.repositionOverlay();let n=Object(r["outerHeight"])(this.clone.wtTable.TABLE);const i=Object(r["outerWidth"])(this.clone.wtTable.TABLE);return this.wot.wtTable.hasDefinedSize()||(n=0),t.style.height=n+"px",t.style.width=i+"px",!1}repositionOverlay(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:n}=this.domBindings,i=this.clone.wtTable.holder.parentNode;let o=0;t.hasVerticalScroll()||(o+=t.getWorkspaceHeight()-e.getTotalHeight()),t.hasVerticalScroll()&&t.hasHorizontalScroll()&&(o+=Object(r["getScrollbarWidth"])(n)),i.style.bottom=o+"px"}}function dr(e,t,n){hr(e,t),t.set(e,n)}function hr(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pr(e,t,n){return(t=fr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fr(e){var t=mr(e,"string");return"symbol"==typeof t?t:t+""}function mr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Ar(e,t,n){return e.set(_r(e,t),n),n}function gr(e,t){return e.get(_r(e,t))}function _r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var br=new WeakMap,vr=new WeakMap,wr=new WeakMap,yr=new WeakMap;class Rr{constructor(e,t,n,i,o,s){pr(this,"wot",null),dr(this,br,[]),pr(this,"topOverlay",null),pr(this,"bottomOverlay",null),pr(this,"inlineStartOverlay",null),pr(this,"topInlineStartCornerOverlay",null),pr(this,"bottomInlineStartCornerOverlay",null),pr(this,"browserLineHeight",void 0),pr(this,"wtSettings",null),dr(this,vr,!1),dr(this,wr,0),dr(this,yr,null),pr(this,"resizeObserver",new ResizeObserver(e=>{Object(z["requestAnimationFrame"])(()=>{Array.isArray(e)&&e.length&&(Ar(wr,this,gr(wr,this)+1),100===gr(wr,this)&&(Object(M["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!==gr(yr,this)&&clearTimeout(gr(yr,this)),Ar(yr,this,setTimeout(()=>{Ar(wr,this,0)},100)),this.wtSettings.getSetting("onContainerElementResize"))})})),this.wot=e,this.wtSettings=i,this.domBindings=n,this.facadeGetter=t,this.wtTable=s;const{rootDocument:a,rootWindow:l}=this.domBindings;this.instance=this.wot,this.eventManager=o,this.scrollbarSize=Object(r["getScrollbarWidth"])(a);const c="hidden"===l.getComputedStyle(s.wtRootElement.parentNode).getPropertyValue("overflow");this.scrollableElement=c?s.holder:Object(r["getScrollableElement"])(s.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=[...gr(br,this)];return e&&t.push(this.wtTable),t}initBrowserLineHeight(){const{rootWindow:e,rootDocument:t}=this.domBindings,n=e.getComputedStyle(t.body),r=parseInt(n.lineHeight,10),i=1.2*parseInt(n.fontSize,10);this.browserLineHeight=r||i}initOverlays(){const e=[this.wot,this.facadeGetter,this.wtSettings,this.domBindings];this.topOverlay=new kn(...e),this.bottomOverlay=new Xn(...e),this.inlineStartOverlay=new tr(...e),this.topInlineStartCornerOverlay=new ar(...e,this.topOverlay,this.inlineStartOverlay),this.bottomInlineStartCornerOverlay=new ur(...e,this.bottomOverlay,this.inlineStartOverlay),Ar(br,this,[this.topOverlay,this.bottomOverlay,this.inlineStartOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay])}beforeDraw(){Ar(vr,this,gr(br,this).reduce((e,t)=>t.hasRenderingStateChanged()||e,!1)),gr(br,this).forEach(e=>e.updateStateOfRendering("before"))}afterDraw(){this.syncScrollWithMaster(),gr(br,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:n}=this.topOverlay,{mainTableScrollableElement:r}=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(n,"scroll",e=>this.onTableScroll(e),{passive:!0}),n!==r&&this.eventManager.addEventListener(r,"scroll",e=>this.onTableScroll(e),{passive:!0});const i=t.devicePixelRatio&&t.devicePixelRatio>1,o=this.scrollableElement===t,a=this.wtSettings.getSetting("preventWheel"),l={passive:o};(a||i||!Object(s["isChrome"])())&&this.eventManager.addEventListener(this.wtTable.wtRootElement,"wheel",e=>this.onCloneWheel(e,a),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,a),l)}}),this.eventManager.addEventListener(t,"resize",()=>{clearTimeout(u),u=setTimeout(()=>{this.wtSettings.getSetting("onWindowResize"),Ar(wr,this,0)},200)}),o||this.resizeObserver.observe(this.wtTable.wtRootElement.parentElement)}deregisterListeners(){this.eventManager.clearEvents(!0)}onTableScroll(e){const t=this.domBindings.rootWindow,n=this.inlineStartOverlay.mainTableScrollableElement,r=this.topOverlay.mainTableScrollableElement,i=e.target;this.keyPressed&&(r!==t&&i!==t&&!e.target.contains(r)||n!==t&&i!==t&&!e.target.contains(n))||this.syncScrollPositions(e)}onCloneWheel(e,t){const{rootWindow:n}=this.domBindings,r=this.inlineStartOverlay.mainTableScrollableElement,i=this.topOverlay.mainTableScrollableElement,o=e.target,s=i!==n&&o!==n&&!o.contains(i),a=r!==n&&o!==n&&!o.contains(r);if(this.keyPressed&&(s||a)||this.scrollableElement===n)return;const l=this.translateMouseWheelToScroll(e);(t||this.scrollableElement!==n&&l)&&e.preventDefault()}onKeyDown(e){this.keyPressed=Object(a["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,n=isNaN(e.deltaX)?-1*e.wheelDeltaX:e.deltaX;1===e.deltaMode&&(n+=n*this.browserLineHeight,t+=t*this.browserLineHeight);const r=this.scrollVertically(t),i=this.scrollHorizontally(n);return r||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,n=this.inlineStartOverlay.clone.wtTable.holder,[r,i]=[this.scrollableElement.scrollLeft,this.scrollableElement.scrollTop];if(this.horizontalScrolling=t.scrollLeft!==r||this.lastScrollX!==e.scrollX,this.verticalScrolling=n.scrollTop!==i||this.lastScrollY!==e.scrollY,this.lastScrollX=e.scrollX,this.lastScrollY=e.scrollY,this.horizontalScrolling){t.scrollLeft=r;const e=this.bottomOverlay.needFullRender?this.bottomOverlay.clone.wtTable.holder:null;e&&(e.scrollLeft=r)}this.verticalScrolling&&(n.scrollTop=i),this.refreshAll()}syncScrollWithMaster(){if(!gr(vr,this))return;const e=this.topOverlay.mainTableScrollableElement,{scrollLeft:t,scrollTop:n}=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=n),Ar(vr,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(r["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,n=e.clientHeight,r=t!==this.spreaderLastSize.width||n!==this.spreaderLastSize.height;return r&&(this.spreaderLastSize.width=t,this.spreaderLastSize.height=n),r}adjustElementsSize(){const{wtViewport:e}=this.wot,{wtTable:t}=this,{rootWindow:n}=this.domBindings,r=this.scrollableElement===n,i=this.wtSettings.getSetting("totalColumns"),o=this.wtSettings.getSetting("totalRows"),s=e.getRowHeaderWidth(),a=e.getColumnHeaderHeight(),l=a+this.topOverlay.sumCellSizes(0,o)+1,c=s+this.inlineStartOverlay.sumCellSizes(0,i),u=t.hider,d=u.style,h=()=>!r&&this.scrollableElement.scrollTop>Math.max(0,l-t.holder.clientHeight),p=()=>!r&&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:n}=t.wtRootElement,{scrollHeight:r,scrollWidth:i}=t.holder;this.hasScrollbarRight=e<r,this.hasScrollbarBottom=n<i,this.hasScrollbarRight&&t.hider.scrollWidth+this.scrollbarSize>n?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 n=null;return Object(W["arrayEach"])(t,t=>{t&&t.clone&&t.clone.wtTable.TABLE.contains(e)&&(n=t.clone)}),n}syncOverlayTableClassNames(){const e=this.wtTable.TABLE,t=[this.topOverlay,this.inlineStartOverlay,this.bottomOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];Object(W["arrayEach"])(t,t=>{t&&(t.clone.wtTable.TABLE.className=e.className)})}}var Mr=Rr;function Sr(e,t,n){return(t=Er(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e){var t=Tr(e,"string");return"symbol"==typeof t?t:t+""}function Tr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Cr{constructor(e){Sr(this,"settings",{}),Sr(this,"defaults",Object.freeze(this.getDefaults())),Object(R["objectEach"])(this.defaults,(t,n)=>{if(void 0!==e[n])this.settings[n]=e[n];else{if(void 0===t)throw new Error(`A required setting "${n}" was not provided`);this.settings[n]=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,n)=>{const i=this.getSetting("data",e,t);Object(r["fastInnerText"])(n,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(R["objectEach"])(e,(e,t)=>{this.settings[t]=e}):this.settings[e]=t,this}getSetting(e,t,n,r,i){return"function"===typeof this.settings[e]?this.settings[e](t,n,r,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 Or extends Jt{constructor(e,t,n,r){super(e,t,n,r,"master")}alignOverlaysWithTrimmingContainer(){const e=Object(r["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 n=e.parentElement,i=Object(r["getStyle"])(e,"height",t),o=Object(r["getStyle"])(e,"overflow",t),s=this.holder.style,{scrollWidth:a,scrollHeight:l}=e;let c=e.offsetWidth,u=e.offsetHeight;const d=["auto","hidden","scroll"];if(n&&d.includes(o)){const i=e.cloneNode(!1);i.style.overflow="auto",i.style.position="absolute",e.nextElementSibling?n.insertBefore(i,e.nextElementSibling):n.appendChild(i);const o=parseInt(Object(r["getComputedStyle"])(i,t).height,10);n.removeChild(i),0===o&&(u=0)}u=Math.min(u,l),s.height="auto"===i?"auto":u+"px",c=Math.min(c,a),s.width=c+"px",s.overflow="",this.hasTableHeight="auto"===s.height||u>0,this.hasTableWidth=c>0}this.isTableVisible=Object(r["isVisible"])(this.TABLE)}markOversizedColumnHeaders(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject,n="master",r=e.getSetting("columnHeaders"),i=r.length;if(i&&!t.hasOversizedColumnHeadersMarked[n]){const r=e.getSetting("rowHeaders"),o=r.length,s=this.getRenderedColumnsCount();for(let e=0;e<i;e++)for(let t=-1*o;t<s;t++)this.markIfOversizedColumnHeader(t);t.hasOversizedColumnHeadersMarked[n]=!0}}}Object(R["mixin"])(Or,Zn),Object(R["mixin"])(Or,on);var xr=Or;function Nr(e,t,n){return(t=Lr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lr(e){var t=Ir(e,"string");return"symbol"==typeof t?t:t+""}function Ir(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Pr{constructor(){Nr(this,"count",0),Nr(this,"startRow",0),Nr(this,"endRow",0),Nr(this,"startPosition",0),Nr(this,"isVisibleInTrimmingContainer",!0)}initialize(e){let{totalRows:t}=e;this.count=t,this.endRow=this.count-1}process(){}finalize(){}}n("33d1"),n("ea98");function Dr(e,t,n){return(t=Fr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fr(e){var t=kr(e,"string");return"symbol"==typeof t?t:t+""}function kr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Br{constructor(){Dr(this,"count",0),Dr(this,"startRow",null),Dr(this,"endRow",null),Dr(this,"startPosition",null),Dr(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedHeight:n,zeroBasedScrollOffset:r,innerViewportHeight:i}=t;n<=r&&(this.startRow=e),n>=r&&n<=i&&null===this.startRow&&(this.startRow=e),this.endRow=e}finalize(e){var t;const{scrollOffset:n,viewportHeight:r,horizontalScrollbarHeight:i,totalRows:o,needReverse:s,startPositions:a,rowHeight:l}=e;if(this.endRow===o-1&&s){this.startRow=this.endRow;while(this.startRow>0){const e=a[this.endRow]+l-a[this.startRow-1];if(this.startRow-=1,e>=r-i)break}}this.startPosition=null!==(t=a[this.startRow])&&void 0!==t?t:null;const c=n+r-i;c<0||n>a.at(-1)+l?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,o<this.endRow&&(this.endRow=o-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}class Ur extends Br{finalize(e){var t;super.finalize(e);const{overrideFn:n,totalRows:r,startPositions:i}=e;null!==this.startRow&&"function"===typeof n&&n(this),this.startRow<0&&(this.startRow=0),this.startPosition=null!==(t=i[this.startRow])&&void 0!==t?t:null,r<this.endRow&&(this.endRow=r-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}function Hr(e,t,n){return(t=jr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e){var t=Vr(e,"string");return"symbol"==typeof t?t:t+""}function Vr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Wr{constructor(){Hr(this,"count",0),Hr(this,"startRow",null),Hr(this,"endRow",null),Hr(this,"startPosition",null),Hr(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedHeight:n,zeroBasedScrollOffset:r,innerViewportHeight:i,rowHeight:o}=t;n>=r&&n+o<=i&&(null===this.startRow&&(this.startRow=e),this.endRow=e)}finalize(e){var t;const{scrollOffset:n,viewportHeight:r,horizontalScrollbarHeight:i,totalRows:o,needReverse:s,startPositions:a,rowHeight:l}=e;if(this.endRow===o-1&&s){this.startRow=this.endRow;while(this.startRow>0){const e=a[this.endRow]+l-a[this.startRow-1];if(e<=r-i&&(this.startRow-=1),e>=r-i)break}}this.startPosition=null!==(t=a[this.startRow])&&void 0!==t?t:null;const c=n+r-i,u=null===this.startRow?0:e.getRowHeight(this.startRow);c<u||n>a.at(-1)?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,o<this.endRow&&(this.endRow=o-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}function Yr(e,t,n){return(t=Qr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qr(e){var t=Xr(e,"string");return"symbol"==typeof t?t:t+""}function Xr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Kr{constructor(){Yr(this,"count",0),Yr(this,"startColumn",0),Yr(this,"endColumn",0),Yr(this,"startPosition",0),Yr(this,"isVisibleInTrimmingContainer",!0)}initialize(e){let{totalColumns:t}=e;this.count=t,this.endColumn=this.count-1}process(){}finalize(){}}function Gr(e,t,n){return(t=Zr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){var t=zr(e,"string");return"symbol"==typeof t?t:t+""}function zr(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class qr{constructor(){Gr(this,"count",0),Gr(this,"startColumn",null),Gr(this,"endColumn",null),Gr(this,"startPosition",null),Gr(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedWidth:n,zeroBasedScrollOffset:r,viewportWidth:i}=t;n<=r&&(this.startColumn=e);const o=r>0?i+1:i;n>=r&&n<=r+o&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=e)),this.endColumn=e}finalize(e){var t;const{scrollOffset:n,viewportWidth:r,inlineStartOffset:i,zeroBasedScrollOffset:o,totalColumns:s,needReverse:a,startPositions:l,columnWidth:c}=e;if(this.endColumn===s-1&&a){this.startColumn=this.endColumn;while(this.startColumn>0){const e=l[this.endColumn]+c-l[this.startColumn-1];if(this.startColumn-=1,e>r)break}}this.startPosition=null!==(t=l[this.startColumn])&&void 0!==t?t:null;const u=o>0?r+1:r,d=n+r-u;d<-1*i||n>l.at(-1)+c||-1*n-r>0?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,s<this.endColumn&&(this.endColumn=s-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}class Jr extends qr{finalize(e){var t;super.finalize(e);const{overrideFn:n,totalColumns:r,startPositions:i}=e;null!==this.startColumn&&"function"===typeof n&&n(this),this.startColumn<0&&(this.startColumn=0),this.startPosition=null!==(t=i[this.startColumn])&&void 0!==t?t:null,r<this.endColumn&&(this.endColumn=r-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}function $r(e,t,n){return(t=ei(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ni{constructor(){$r(this,"count",0),$r(this,"startColumn",null),$r(this,"endColumn",null),$r(this,"startPosition",null),$r(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedWidth:n,zeroBasedScrollOffset:r,viewportWidth:i,columnWidth:o}=t,s=r>0?i+1:i;n>=r&&n+o<=r+s&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=e),this.endColumn=e)}finalize(e){var t;const{scrollOffset:n,viewportWidth:r,inlineStartOffset:i,zeroBasedScrollOffset:o,totalColumns:s,needReverse:a,startPositions:l,columnWidth:c}=e;if(this.endColumn===s-1&&a){this.startColumn=this.endColumn;while(this.startColumn>0){const e=l[this.endColumn]+c-l[this.startColumn-1];if(e<=r&&(this.startColumn-=1),e>=r)break}}this.startPosition=null!==(t=l[this.startColumn])&&void 0!==t?t:null;const u=o>0?r+1:r,d=n+r-u,h=null===this.startColumn?0:e.getColumnWidth(this.startColumn);d<-1*i||n>l.at(-1)||-1*n-r>-1*h?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,s<this.endColumn&&(this.endColumn=s-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}var ri=n("eb36");class ii{constructor(e,t,n,r,i){this.dataAccessObject=e,this.wot=e.wot,this.instance=this.wot,this.domBindings=t,this.wtSettings=n,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 Pr:new Ur],["fullyVisible",()=>new Wr],["partiallyVisible",()=>new Br]]),this.columnsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllColumns")?new Kr:new Jr],["fullyVisible",()=>new ni],["partiallyVisible",()=>new qr]]),this.eventManager=r,this.eventManager.addEventListener(this.domBindings.rootWindow,"resize",()=>{this.clientHeight=this.getWorkspaceHeight()})}getWorkspaceHeight(){const e=this.domBindings.rootDocument,t=this.dataAccessObject.topOverlayTrimmingContainer;let n=0;if(t===this.domBindings.rootWindow)n=e.documentElement.clientHeight;else{const e=Object(r["outerHeight"])(t);n=e>0&&t.clientHeight>0?t.clientHeight:1/0}return n}getWorkspaceWidth(){const{wtSettings:e}=this,{rootDocument:t,rootWindow:n}=this.domBindings,i=this.dataAccessObject.inlineStartOverlayTrimmingContainer,o=t.documentElement.offsetWidth,s=e.getSetting("totalColumns"),a=e.getSetting("preventOverflow"),l=e.getSetting("rtlMode"),c=this.wtTable.TABLE.getBoundingClientRect(),u=l?c.right-o:c.left,d=o-u;let h,p;if(a)return Object(r["outerWidth"])(this.wtTable.wtRootElement);if(h=e.getSetting("freezeOverlays")?Math.min(d,o):Math.min(this.getContainerFillWidth(),d,o),i===n&&s>0&&this.sumColumnWidths(0,s-1)>h)return t.documentElement.clientWidth;if(i!==n&&(p=Object(r["getStyle"])(this.dataAccessObject.inlineStartOverlayTrimmingContainer,"overflow",n),"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(r["outerWidth"])(this.wtTable.TABLE))}hasVerticalScroll(){return this.wtTable.hider.offsetHeight>this.getWorkspaceHeight()}hasHorizontalScroll(){return this.wtTable.hider.offsetWidth>this.getWorkspaceWidth()}sumColumnWidths(e,t){let n=0,r=e;while(r<t)n+=this.wtTable.getColumnWidth(r),r+=1;return n}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 n=t.offsetWidth;return this.containerWidth=n,e.removeChild(t),n}getWorkspaceOffset(){return Object(r["offset"])(this.wtTable.TABLE)}getColumnHeaderHeight(){const e=this.wtSettings.getSetting("columnHeaders");return e.length?isNaN(this.columnHeaderHeight)&&(this.columnHeaderHeight=Object(r["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 n=0,r=t.length;n<r;n++)this.rowHeaderWidth+=e[n]||e}if(isNaN(this.rowHeaderWidth))if(t.length){let e=this.wtTable.TABLE.querySelector("TH");this.rowHeaderWidth=0;for(let n=0,i=t.length;n<i;n++)e?(this.rowHeaderWidth+=Object(r["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:n}=this;let i,o,s=this.getViewportHeight();this.rowHeaderWidth=NaN;let a=this.dataAccessObject.topScrollPosition-this.dataAccessObject.topParentOffset;const l=t.getSetting("fixedRowsTop"),c=t.getSetting("fixedRowsBottom"),u=t.getSetting("totalRows");return l&&a>=0&&(o=this.dataAccessObject.topOverlay.sumCellSizes(0,l),a+=o,s-=o),c&&this.dataAccessObject.bottomOverlay.clone&&(o=this.dataAccessObject.bottomOverlay.sumCellSizes(u-c,u),s-=o),i=n.holder.clientHeight===n.holder.offsetHeight?0:Object(r["getScrollbarWidth"])(this.domBindings.rootDocument),new ri["b"]({calculationTypes:e.map(e=>[e,this.rowsCalculatorTypes.get(e)()]),viewportHeight:s,scrollOffset:a,totalRows:t.getSetting("totalRows"),rowHeightFn:e=>n.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:n}=this;let i=this.getViewportWidth(),o=Math.abs(this.dataAccessObject.inlineStartScrollPosition)-this.dataAccessObject.inlineStartParentOffset;this.columnHeaderHeight=NaN;const s=t.getSetting("fixedColumnsStart");if(s&&o>=0){const e=this.dataAccessObject.inlineStartOverlay.sumCellSizes(0,s);o+=e,i-=e}return n.holder.clientWidth!==n.holder.offsetWidth&&(i-=Object(r["getScrollbarWidth"])(this.domBindings.rootDocument)),new _t["b"]({calculationTypes:e.map(e=>[e,this.columnsCalculatorTypes.get(e)()]),viewportWidth:i,scrollOffset:o,totalColumns:t.getSetting("totalColumns"),columnWidthFn:e=>n.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,n=this.createRowsCalculator(),r=this.createColumnsCalculator();if(e&&!t.getSetting("renderAllRows")){const t=n.getResultsFor("fullyVisible");e=this.areAllProposedVisibleRowsAlreadyRendered(t)}if(e&&!t.getSetting("renderAllColumns")){const t=r.getResultsFor("fullyVisible");e=this.areAllProposedVisibleColumnsAlreadyRendered(t)}return e||(this.rowsRenderCalculator=n.getResultsFor("rendered"),this.columnsRenderCalculator=r.getResultsFor("rendered")),this.rowsVisibleCalculator=n.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=r.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=n.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=r.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:n}=e;if(null===t&&null===n){if(!e.isVisibleInTrimmingContainer)return!0;t=this.rowsPartiallyVisibleCalculator.startRow,n=this.rowsPartiallyVisibleCalculator.endRow}const{startRow:r,endRow:i}=this.rowsRenderCalculator;return!(t<r||t===r&&t>0)&&!(n>i||n===i&&n<this.wtSettings.getSetting("totalRows")-1)}areAllProposedVisibleColumnsAlreadyRendered(e){if(!this.columnsVisibleCalculator)return!1;let{startColumn:t,endColumn:n}=e;if(null===t&&null===n){if(!e.isVisibleInTrimmingContainer)return!0;t=this.columnsPartiallyVisibleCalculator.startColumn,n=this.columnsPartiallyVisibleCalculator.endColumn}const{startColumn:r,endColumn:i}=this.columnsRenderCalculator;return!(t<r||t===r&&t>0)&&!(n>i||n===i&&n<this.wtSettings.getSetting("totalColumns")-1)}resetHasOversizedColumnHeadersMarked(){Object(R["objectEach"])(this.hasOversizedColumnHeadersMarked,(e,t,n)=>{n[t]=void 0})}}var oi=ii;n("4069");function si(e,t){li(e,t),t.add(e)}function ai(e,t,n){li(e,t),t.set(e,n)}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,n){return e.set(di(e,t),n),n}function di(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var hi=new WeakMap,pi=new WeakMap,fi=new WeakSet;class mi{constructor(){si(this,fi),ai(this,hi,void 0),ai(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,n,r,i]=ci(hi,this).getCorners(),{wtTable:o}=ci(pi,this),s=o.getRenderedColumnsCount(),a=o.getColumnHeadersCount();let l=0;for(let c=-o.getRowHeadersCount();c<s;c++){const s=o.columnFilter.renderedToSource(c);if(!(s<n||s>i)){for(let c=-a;c<0;c++){if(c<t||c>r)continue;const u=c+a;let d=o.getColumnHeader(s,u);const h=ci(pi,this).getSetting("onBeforeHighlightingColumnHeader",s,u,{selectionType:ci(hi,this).settings.selectionType,columnCursor:l,selectionWidth:i-n+1});null!==h&&(h!==s&&(d=o.getColumnHeader(h,u)),e(d))}l+=1}}}scanRowsInHeadersRange(e){const[t,n,r,i]=ci(hi,this).getCorners(),{wtTable:o}=ci(pi,this),s=o.getRenderedRowsCount(),a=o.getRowHeadersCount();let l=0;for(let c=-o.getColumnHeadersCount();c<s;c++){const s=o.rowFilter.renderedToSource(c);if(!(s<t||s>r)){for(let c=-a;c<0;c++){if(c<n||c>i)continue;const u=c+a;let d=o.getRowHeader(s,u);const h=ci(pi,this).getSetting("onBeforeHighlightingRowHeader",s,u,{selectionType:ci(hi,this).settings.selectionType,rowCursor:l,selectionHeight:r-t+1});null!==h&&(h!==s&&(d=o.getRowHeader(h,u)),e(d))}l+=1}}}scanCellsRange(e){const[t,n,i,o]=ci(hi,this).getCorners(),{wtTable:s}=ci(pi,this);di(fi,this,Ai).call(this,(a,l)=>{if(a>=t&&a<=i&&l>=n&&l<=o){const t=s.getCell(ci(pi,this).createCellCoords(a,l)),n=ci(pi,this).getSetting("onAfterDrawSelection",a,l,ci(hi,this).settings.layerLevel);"string"===typeof n&&Object(r["addClass"])(t,n),e(t)}})}scanRowsInCellsRange(e){const[t,,n]=ci(hi,this).getCorners(),{wtTable:r}=ci(pi,this);di(fi,this,Ai).call(this,(i,o)=>{if(i>=t&&i<=n){const t=r.getCell(ci(pi,this).createCellCoords(i,o));e(t)}})}scanColumnsInCellsRange(e){const[,t,,n]=ci(hi,this).getCorners(),{wtTable:r}=ci(pi,this);di(fi,this,Ai).call(this,(i,o)=>{if(o>=t&&o<=n){const t=r.getCell(ci(pi,this).createCellCoords(i,o));e(t)}})}}function Ai(e){const{wtTable:t}=ci(pi,this),n=t.getRenderedRowsCount(),r=t.getRenderedColumnsCount();for(let i=0;i<n;i+=1){const n=t.rowFilter.renderedToSource(i);for(let i=0;i<r;i+=1)e(n,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=In,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,n=this.main.childNodes.length;t<n;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 n=this,r=this.wot.rootDocument.body,i=t.getBoundingClientRect();function o(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 s(e){o(e)&&(n.eventManager.removeEventListener(r,"mousemove",s),t.style.display="block")}t.style.display="none",this.eventManager.addEventListener(r,"mousemove",s)}createBorders(e){const{rootDocument:t}=this.wot;this.main=t.createElement("div");const n=["top","start","bottom","end","corner"];let r=this.main.style;r.position="absolute",r.top=0,r.left=0;for(let s=0;s<5;s++){const i=n[s],o=t.createElement("div");o.className="wtBorder "+(this.settings.className||""),this.settings[i]&&this.settings[i].hide&&(o.className+=" hidden"),r=o.style,r.backgroundColor=this.settings[i]&&this.settings[i].color?this.settings[i].color:e.border.color,r.height=this.settings[i]&&this.settings[i].width?this.settings[i].width+"px":e.border.width+"px",r.width=this.settings[i]&&this.settings[i].width?this.settings[i].width+"px":e.border.width+"px",this.main.appendChild(o)}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(s["isMobileBrowser"])()&&this.instance.getSetting("isDataViewInstance")&&this.createMultipleSelectorHandles(),this.disappear();const{wtTable:i}=this.wot;let o=i.bordersHolder;o||(o=t.createElement("div"),o.className="htBorders",i.bordersHolder=o,i.spreader.appendChild(o)),o.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,n=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 r={position:"absolute",height:n+"px",width:n+"px","border-radius":parseInt(n/1.5,10)+"px"};Object(R["objectEach"])(r,(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(R["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 n=this.wot.selectionManager.getAreaSelection();return!(!n.cellRange||e===n.cellRange.to.row&&t===n.cellRange.to.col)}updateMultipleSelectionHandlesPosition(e,t,n,r,i,o){const s=this.wot.wtSettings.getSetting("rtlMode"),a=s?"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(n-p-1,10)+"px",l[a]=parseInt(r-p-1,10)+"px",c.top=parseInt(n-f/4*3,10)+"px",c[a]=parseInt(r-f/4*3,10)+"px";const g=Math.min(parseInt(r+i,10),m-p-2*h),_=Math.min(parseInt(r+i-f/4,10),m-f-2*h);u[a]=g+"px",d[a]=_+"px";const b=Math.min(parseInt(n+o,10),A-p-2*h),v=Math.min(parseInt(n+o-f/4,10),A-f-2*h);u.top=b+"px",d.top=v+"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:n,rootWindow:i}=this.wot;let o,a,l,c,u,d;const h=t.getRenderedRowsCount();for(let r=0;r<h;r+=1){const n=t.rowFilter.renderedToSource(r);if(n>=e[0]&&n<=e[2]){o=n,u=e[0];break}}for(let r=h-1;r>=0;r-=1){const n=t.rowFilter.renderedToSource(r);if(n>=e[0]&&n<=e[2]){a=n;break}}const p=t.getRenderedColumnsCount();for(let r=0;r<p;r+=1){const n=t.columnFilter.renderedToSource(r);if(n>=e[1]&&n<=e[3]){l=n,d=e[1];break}}for(let r=p-1;r>=0;r-=1){const n=t.columnFilter.renderedToSource(r);if(n>=e[1]&&n<=e[3]){c=n;break}}if(void 0===o||void 0===l)return void this.disappear();let f=t.getCell(this.wot.createCellCoords(o,l));const m=o!==a||l!==c,A=m?t.getCell(this.wot.createCellCoords(a,c)):f,g=Object(r["offset"])(f),_=m?Object(r["offset"])(A):g,b=Object(r["offset"])(t.TABLE),v=Object(r["outerWidth"])(t.TABLE),w=g.top,y=g.left,R=this.wot.wtSettings.getSetting("rtlMode");let M=0,S=0;if(R){const e=Object(r["outerWidth"])(f),t=i.innerWidth-b.left-v;S=y+e-_.left,M=i.innerWidth-y-e-t-1}else S=_.left+Object(r["outerWidth"])(A)-y,M=y-b.left-1;if(this.isEntireColumnSelected(o,a)){const e=this.getDimensionsFromHeader("columns",l,c,u,b);let t=null;e&&([t,M,S]=e),t&&(f=t)}let E=w-b.top-1,T=_.top+Object(r["outerHeight"])(A)-w;if(this.isEntireRowSelected(l,c)){const e=this.getDimensionsFromHeader("rows",o,a,d,b);let t=null;e&&([t,E,T]=e),t&&(f=t)}const C=Object(r["getComputedStyle"])(f,i);parseInt(C.borderTopWidth,10)>0&&(E+=1,T=T>0?T-1:0),parseInt(C[R?"borderRightWidth":"borderLeftWidth"],10)>0&&(M+=1,S=S>0?S-1:0);const O=R?"right":"left";this.topStyle.top=E+"px",this.topStyle[O]=M+"px",this.topStyle.width=S+"px",this.topStyle.display="block",this.startStyle.top=E+"px",this.startStyle[O]=M+"px",this.startStyle.height=T+"px",this.startStyle.display="block";const x=Math.floor(this.settings.border.width/2);this.bottomStyle.top=E+T-x+"px",this.bottomStyle[O]=M+"px",this.bottomStyle.width=S+"px",this.bottomStyle.display="block",this.endStyle.top=E+"px",this.endStyle[O]=M+S-x+"px",this.endStyle.height=T+1+"px",this.endStyle.display="block";let N=this.settings.border.cornerVisible;N="function"===typeof N?N(this.settings.layerLevel):N;const L=this.wot.getSetting("onModifyGetCellCoords",a,c);let[I,P]=[a,c];if(L&&Array.isArray(L)&&([,,I,P]=L),Object(s["isMobileBrowser"])()||!N||this.isPartRange(I,P))this.cornerStyle.display="none";else{this.cornerStyle.top=E+T+this.cornerCenterPointOffset-1+"px",this.cornerStyle[O]=M+S+this.cornerCenterPointOffset-1+"px",this.cornerStyle.borderRightWidth=this.cornerDefaultStyle.borderWidth,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.display="none";let e=Object(r["getTrimmingContainer"])(t.TABLE);const o=e===i;o&&(e=n.documentElement);const s=parseInt(this.cornerDefaultStyle.width,10)/2,l=parseInt(this.cornerDefaultStyle.height,10)/2;if(c===this.wot.getSetting("totalColumns")-1){const t=o?A.getBoundingClientRect().left:A.offsetLeft;let n=!1,i=0;R?(i=t-parseInt(this.cornerDefaultStyle.width,10)/2,n=i<0):(i=t+Object(r["outerWidth"])(A)+parseInt(this.cornerDefaultStyle.width,10)/2,n=i>=Object(r["innerWidth"])(e)),n&&(this.cornerStyle[O]=Math.floor(M+S+this.cornerCenterPointOffset-s)+"px",this.cornerStyle[R?"borderLeftWidth":"borderRightWidth"]=0)}if(a===this.wot.getSetting("totalRows")-1){const t=o?A.getBoundingClientRect().top:A.offsetTop,n=t+Object(r["outerHeight"])(A)+parseInt(this.cornerDefaultStyle.height,10)/2,i=n>=Object(r["innerHeight"])(e);i&&(this.cornerStyle.top=Math.floor(E+T+this.cornerCenterPointOffset-l)+"px",this.cornerStyle.borderBottomWidth=0)}this.cornerStyle.display="block"}Object(s["isMobileBrowser"])()&&this.instance.getSetting("isDataViewInstance")&&this.updateMultipleSelectionHandlesPosition(a,c,E,M,S,T)}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,n,i,o){const{wtTable:s}=this.wot,a=s.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 s.getRowHeader(...arguments)},c=function(){return Object(r["outerHeight"])(...arguments)},u="ht__selection--rows",p="top";break;case"columns":l=function(){return s.getColumnHeader(...arguments)},c=function(){return Object(r["outerWidth"])(...arguments)},u="ht__selection--columns",p="left";break;default:}if(a.classList.contains(u)){const e=this.wot.getSetting("columnHeaders").length;if(f=l(t,e-i),m=l(n,e-i),!f||!m)return!1;const s=Object(r["offset"])(f),a=Object(r["offset"])(m);return f&&m&&(d=s[p]-o[p]-1,h=a[p]+c(m)-s[p]),[f,d,h]}return!1}changeBorderStyle(e,t){const n=this[e].style,i=t[e];!i||i.hide?Object(r["addClass"])(this[e],"hidden"):(Object(r["hasClass"])(this[e],"hidden")&&Object(r["removeClass"])(this[e],"hidden"),n.backgroundColor=i.color,"top"!==e&&"bottom"!==e||(n.height=i.width+"px"),"start"!==e&&"end"!==e||(n.width=i.width+"px"))}changeBorderToDefaultStyle(e){const t={width:1,color:"#000"},n=this[e].style;n.backgroundColor=t.color,n.width=t.width+"px",n.height=t.width+"px"}toggleHiddenClass(e,t){this.changeBorderToDefaultStyle(e),t?Object(r["addClass"])(this[e],"hidden"):Object(r["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(s["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 bi(e,t){wi(e,t),t.add(e)}function vi(e,t,n){wi(e,t),t.set(e,n)}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(Mi(e,t))}function Ri(e,t,n){return e.set(Mi(e,t),n),n}function Mi(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Si=new WeakMap,Ei=new WeakMap,Ti=new WeakMap,Ci=new WeakMap,Oi=new WeakMap,xi=new WeakMap,Ni=new WeakSet;class Li{constructor(e){bi(this,Ni),vi(this,Si,void 0),vi(this,Ei,void 0),vi(this,Ti,new mi),vi(this,Ci,new WeakMap),vi(this,Oi,new WeakSet),vi(this,xi,new Map),Ri(Ei,this,e)}setActiveOverlay(e){return Ri(Si,this,e),yi(Ti,this).setActiveOverlay(yi(Si,this)),yi(Ci,this).has(yi(Si,this))||yi(Ci,this).set(yi(Si,this),new Set),this}getFocusSelection(){return null!==yi(Ei,this)?yi(Ei,this).getFocus():null}getAreaSelection(){return null!==yi(Ei,this)?yi(Ei,this).createLayeredArea():null}getBorderInstance(e){if(!e.settings.border)return null;if(yi(xi,this).has(e)){const t=yi(xi,this).get(e);if(t.has(yi(Si,this)))return t.get(yi(Si,this));const n=new _i(yi(Si,this),e.settings);return t.set(yi(Si,this),n),n}const t=new _i(yi(Si,this),e.settings);return yi(xi,this).set(e,new Map([[yi(Si,this),t]])),t}getBorderInstances(e){var t,n;return Array.from(null!==(t=null===(n=yi(xi,this).get(e))||void 0===n?void 0:n.values())&&void 0!==t?t:[])}destroyBorders(e){yi(xi,this).get(e).forEach(e=>e.destroy()),yi(xi,this).delete(e)}render(e){if(null===yi(Ei,this))return;e&&Mi(Ni,this,Ii).call(this);const t=Array.from(yi(Ei,this)),n=new Map,i=new Map;for(let r=0;r<t.length;r++){const e=t[r],{className:o,headerAttributes:s,createLayers:a,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(o){const t=yi(Ti,this).setActiveSelection(e).scan();t.forEach(e=>{if(n.has(e)){const t=n.get(e);t.has(o)&&!0===a?t.set(o,t.get(o)+1):t.set(o,1)}else n.set(e,new Map([[o,1]]));s&&(i.has(e)||i.set(e,[]),"TH"===e.nodeName&&i.get(e).push(...s))})}const u=e.getCorners();yi(Si,this).getSetting("onBeforeDrawBorders",u,l),null===c||void 0===c||c.appear(u)}n.forEach((e,t)=>{var n;const i=Array.from(e).map(e=>{let[t,n]=e;return 1===n?t:[t,...Array.from({length:n-1},(e,n)=>`${t}-${n+1}`)]}).flat();i.forEach(e=>yi(Ci,this).get(yi(Si,this)).add(e)),Object(r["addClass"])(t,i),"TD"===t.nodeName&&Array.isArray(null===(n=yi(Ei,this).options)||void 0===n?void 0:n.cellAttributes)&&Object(r["setAttribute"])(t,yi(Ei,this).options.cellAttributes)}),Array.from(i.keys()).forEach(e=>{Object(r["setAttribute"])(e,[...i.get(e)])})}}function Ii(){const e=yi(Ci,this).get(yi(Si,this)),t=yi(Si,this).wtSettings.getSetting("onBeforeRemoveCellClassNames");if(Array.isArray(t))for(let n=0;n<t.length;n++)e.add(t[n]);e.forEach(e=>{var t,n;const i=yi(Si,this).wtTable.TABLE.querySelectorAll("."+e);let o=[];Array.isArray(null===(t=yi(Ei,this).options)||void 0===t?void 0:t.cellAttributes)&&(o=yi(Ei,this).options.cellAttributes.map(e=>e[0])),Array.isArray(null===(n=yi(Ei,this).options)||void 0===n?void 0:n.headerAttributes)&&(o=[...o,...yi(Ei,this).options.headerAttributes.map(e=>e[0])]);for(let s=0,a=i.length;s<a;s++)Object(r["removeClass"])(i[s],e),Object(r["removeAttribute"])(i[s],o)}),e.clear()}class Pi extends Mn{constructor(e,t){super(e,new Cr(t));const n=this.wtSettings.getSetting("facade",this);this.wtTable=new xr(this.getTableDao(),n,this.domBindings,this.wtSettings),this.wtViewport=new oi(this.getViewportDao(),this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.selectionManager=new Li(this.wtSettings.getSetting("selections")),this.wtEvent=new pe(n,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager),this.wtOverlays=new Mr(this,n,this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.exportSettingsAsClassNames(),this.findOriginalHeaders()}exportSettingsAsClassNames(){const e={rowHeaders:"htRowHeaders",columnHeaders:"htColumnHeaders"},t=[],n=[];Object(R["objectEach"])(e,(e,r)=>{this.wtSettings.getSetting(r).length&&n.push(e),t.push(e)}),Object(r["removeClass"])(this.wtTable.wtRootElement.parentNode,t),Object(r["addClass"])(this.wtTable.wtRootElement.parentNode,n)}getOverlayByName(e){var t;if(!Xt.includes(e))return null;const n=e.replace(/_([a-z])/g,e=>e[1].toUpperCase());return null!==(t=this.wtOverlays[n+"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 Di{constructor(e){e instanceof Mn?this._wot=e:this._initFromSettings(e)}_initFromSettings(e){e.facade=e=>{const t=new Di(e);return()=>t},this._wot=new Pi(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,n){return this._wot.createCellRange(e,t,n)}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,n,r,i){return this._wot.scrollViewport(e,t,n,r,i)}scrollViewportHorizontally(e,t,n){return this._wot.scrollViewportHorizontally(e,t,n)}scrollViewportVertically(e,t,n){return this._wot.scrollViewportVertically(e,t,n)}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,n,r,i){return this._wot.wtSettings.getSetting(e,t,n,r,i)}hasSetting(e){return this._wot.wtSettings.hasSetting(e)}destroy(){this._wot.destroy()}}function Fi(e){let{isShiftKey:t,isLeftClick:n,isRightClick:r,coords:i,selection:o,controller:s,cellCoordsFactory:a}=e;const l=o.isSelected()?o.getSelectedRange().current():null,c=o.isSelectedByCorner(),u=o.isSelectedByRowHeader();if(o.markSource("mouse"),t&&l)i.row>=0&&i.col>=0&&!s.cell?o.setRangeEnd(i):(c||u)&&i.row>=0&&i.col>=0&&!s.cell?o.setRangeEnd(a(i.row,i.col)):c&&i.row<0&&!s.column?o.setRangeEnd(a(l.to.row,i.col)):u&&i.col<0&&!s.row?o.setRangeEnd(a(i.row,l.to.col)):(!c&&!u&&i.col<0||c&&i.col<0)&&!s.row?o.selectRows(Math.max(l.from.row,0),i.row,i.col):(!c&&!u&&i.row<0||u&&i.row<0)&&!s.column&&o.selectColumns(Math.max(l.from.col,0),i.col,i.row);else{const e=!o.inInSelection(i),t=n||r&&e;i.row<0&&i.col>=0&&!s.column?t&&o.selectColumns(i.col,i.col,i.row):i.col<0&&i.row>=0&&!s.row?t&&o.selectRows(i.row,i.row,i.col):i.col>=0&&i.row>=0&&!s.cell?t&&o.setRangeStart(i):i.col<0&&i.row<0&&o.selectAll(!0,!0,{disableHeadersHighlight:!0,focusPosition:{row:0,col:0}})}o.markEndSource()}function ki(e){let{isLeftClick:t,coords:n,selection:r,controller:i,cellCoordsFactory:o}=e;if(!t)return;const s=r.isSelectedByRowHeader(),a=r.isSelectedByColumnHeader(),l=r.tableProps.countCols(),c=r.tableProps.countRows();r.markSource("mouse"),a&&!i.column?r.setRangeEnd(o(c-1,n.col)):s&&!i.row?r.setRangeEnd(o(n.row,l-1)):i.cell||r.setRangeEnd(n),r.markEndSource()}const Bi=new Map([["mousedown",Fi],["mouseover",ki],["touchstart",Fi]]);function Ui(e,t){let{coords:n,selection:r,controller:i,cellCoordsFactory:o}=t;Bi.get(e.type)({coords:n,selection:r,controller:i,cellCoordsFactory:o,isShiftKey:e.shiftKey,isLeftClick:Object(l["isLeftClick"])(e)||"touchstart"===e.type,isRightClick:Object(l["isRightClick"])(e)})}const Hi=new WeakMap,ji=Symbol("rootInstance");function Vi(e){Hi.set(e,!0)}function Wi(e){return e===ji}function Yi(e){return Hi.has(e)}function Qi(e,t){Ki(e,t),t.add(e)}function Xi(e,t,n){Ki(e,t),t.set(e,n)}function Ki(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Gi(e,t,n){return(t=Zi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zi(e){var t=zi(e,"string");return"symbol"==typeof t?t:t+""}function zi(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function qi(e,t){return e.get($i(e,t))}function Ji(e,t,n){return e.set($i(e,t),n),n}function $i(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var eo=new WeakMap,to=new WeakMap,no=new WeakMap,ro=new WeakMap,io=new WeakMap,oo=new WeakMap,so=new WeakMap,ao=new WeakSet;class lo{constructor(e){Qi(this,ao),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),Xi(this,eo,0),Xi(this,to,0),Gi(this,"postponedAdjustElementsSize",!1),Xi(this,no,!1),Xi(this,ro,void 0),Xi(this,io,void 0),Xi(this,oo,0),Xi(this,so,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 n=this._wt.getCell(e,t);return n<0?null:n}scrollViewport(e,t,n,r,i){return this._wt.scrollViewport(e,t,n,r,i)}scrollViewportHorizontally(e,t,n){return this._wt.scrollViewportHorizontally(e,t,n)}scrollViewportVertically(e,t,n){return this._wt.scrollViewportVertically(e,t,n)}createElements(){const{rootElement:e,rootDocument:t}=this.hot,n=e.getAttribute("style");n&&e.setAttribute("data-originalstyle",n),Object(r["addClass"])(e,"handsontable"),Ji(io,this,t.createElement("TABLE")),Object(r["addClass"])(qi(io,this),"htCore"),this.hot.getSettings().tableClassName&&Object(r["addClass"])(qi(io,this),this.hot.getSettings().tableClassName),this.settings.ariaTags&&(Object(r["setAttribute"])(qi(io,this),[Object(Ge["y"])()]),Object(r["setAttribute"])(e,[Object(Ge["N"])(),Object(Ge["C"])(-1),Object(Ge["e"])(this.hot.countCols()),Object(Ge["v"])()])),this.THEAD=t.createElement("THEAD"),qi(io,this).appendChild(this.THEAD),this.TBODY=t.createElement("TBODY"),qi(io,this).appendChild(this.TBODY),this.hot.table=qi(io,this),this.hot.container.insertBefore(qi(io,this),this.hot.container.firstChild)}registerEvents(){const{rootElement:e,rootDocument:t,selection:n,rootWindow:i}=this.hot,o=t.documentElement;this.eventManager.addEventListener(e,"mousedown",e=>{Ji(no,this,!0),this.isTextSelectionAllowed(e.target)||(Object(r["clearTextSelection"])(i),e.preventDefault(),i.focus())}),this.eventManager.addEventListener(e,"mouseup",()=>{Ji(no,this,!1)}),this.eventManager.addEventListener(e,"mousemove",e=>{qi(no,this)&&!this.isTextSelectionAllowed(e.target)&&(this.settings.fragmentSelection&&Object(r["clearTextSelection"])(i),e.preventDefault())}),this.eventManager.addEventListener(o,"keyup",e=>{n.isInProgress()&&!e.shiftKey&&n.finish()}),this.eventManager.addEventListener(o,"mouseup",i=>{n.isInProgress()&&Object(l["isLeftClick"])(i)&&n.finish(),Ji(ro,this,!1);const o=Object(r["isOutsideInput"])(t.activeElement);Object(r["isInput"])(t.activeElement)&&!o||!o&&(n.isSelected()||n.isSelectedByAnyHeader()||e.contains(i.target)||Object(l["isRightClick"])(i))||this.hot.unlisten()}),this.eventManager.addEventListener(o,"contextmenu",e=>{n.isInProgress()&&Object(l["isRightClick"])(e)&&(n.finish(),Ji(ro,this,!1))}),this.eventManager.addEventListener(o,"touchend",()=>{n.isInProgress()&&n.finish(),Ji(ro,this,!1)}),this.eventManager.addEventListener(o,"mousedown",n=>{const i=n.target,s=n.x||n.clientX,a=n.y||n.clientY;let l=n.target;if(qi(ro,this)||!e||!this.hot.view)return;const{holder:c}=this._wt.wtTable;if(l===c){const e=Object(r["getScrollbarWidth"])(t);if(t.elementFromPoint(s+e,a)!==c||t.elementFromPoint(s,a+e)!==c)return}else while(l!==o){if(null===l){if(n.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 s=Object(r["getParentWindow"])(i);while(null!==s)this.eventManager.addEventListener(s.document.documentElement,"click",()=>{this.hot.unlisten()}),s=Object(r["getParentWindow"])(s);this.eventManager.addEventListener(qi(io,this),"selectstart",e=>{this.settings.fragmentSelection||Object(r["isInput"])(e.target)||e.preventDefault()})}translateFromRenderableToVisualCoords(e){let{row:t,col:n}=e;return this.hot._createCellCoords(...this.translateFromRenderableToVisualIndex(t,n))}translateFromRenderableToVisualIndex(e,t){let n=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e,r=t>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(t):t;return null===n&&(n=e),null===r&&(r=t),[n,r]}countRenderableIndexes(e,t){const n=Math.min(e.getNotTrimmedIndexesLength(),t),r=e.getNearestNotHiddenIndex(n-1,-1);return null===r?0:e.getRenderableFromVisualIndex(r)+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,n,r){if(isNaN(e)||e<0)return 0;const i=n.getNearestNotHiddenIndex(e,t),o=n.getRenderableFromVisualIndex(i);if(!Number.isInteger(o))return 0;let s=0;return t<0?s=o+1:t>0&&(s=r-o),s}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 n=0;for(let r=e;r<=t;r++)null!==this.hot.columnIndexMapper.getRenderableFromVisualIndex(r)&&(n+=1);return n}countRenderableRowsInRange(e,t){let n=0;for(let r=e;r<=t;r++)null!==this.hot.rowIndexMapper.getRenderableFromVisualIndex(r)&&(n+=1);return n}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:qi(io,this),isDataViewInstance:()=>Yi(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 n=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e;this.appendRowHeader(n,t)}),this.hot.runHooks("afterGetRowHeaderRenderers",e),Ji(to,this,e.length),this.hot.getSettings().ariaTags&&$i(ao,this,co).call(this)===this.hot.countCols()&&$i(ao,this,uo).call(this,qi(to,this)),e},columnHeaders:()=>{const e=[];return this.hot.hasColHeaders()&&e.push((e,t)=>{const n=e>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(e):e;this.appendColHeader(n,t)}),this.hot.runHooks("afterGetColumnHeaderRenderers",e),Ji(eo,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 n=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e),r=null===n?e:n;return this.hot.runHooks("modifyRowHeightByOverlayName",this.hot.getRowHeight(r),r,t)},cellRenderer:(e,t,n)=>{const[r,i]=this.translateFromRenderableToVisualIndex(e,t),o=this.hot.runHooks("modifyGetCellCoords",r,i);let s=r,a=i;Array.isArray(o)&&([s,a]=o);const l=this.hot.getCellMeta(s,a),c=this.hot.colToProp(a);let u=this.hot.getDataAtRowProp(s,c);this.hot.hasHook("beforeValueRender")&&(u=this.hot.runHooks("beforeValueRender",u,l)),this.hot.runHooks("beforeRenderer",n,r,i,c,u,l),this.hot.getCellRenderer(l)(this.hot,n,r,i,c,u,l),this.hot.runHooks("afterRenderer",n,r,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(r["isVisible"])(this.hot.rootElement)&&this.hot.refreshDimensions()},onCellMouseDown:(e,t,n,r)=>{const i=this.translateFromRenderableToVisualCoords(t),o={row:!1,column:!1,cell:!1};this.hot.listen(),this.activeWt=r,Ji(ro,this,!0),this.hot.runHooks("beforeOnCellMouseDown",e,i,n,o),Object(l["isImmediatePropagationStopped"])(e)||(Ui(e,{coords:i,selection:this.hot.selection,controller:o,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseDown",e,i,n),this.activeWt=this._wt)},onCellContextMenu:(e,t,n,r)=>{const i=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,Ji(ro,this,!1),this.hot.selection.isInProgress()&&this.hot.selection.finish(),this.hot.runHooks("beforeOnCellContextMenu",e,i,n),Object(l["isImmediatePropagationStopped"])(e)||(this.hot.runHooks("afterOnCellContextMenu",e,i,n),this.activeWt=this._wt)},onCellMouseOut:(e,t,n,r)=>{const i=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,this.hot.runHooks("beforeOnCellMouseOut",e,i,n),Object(l["isImmediatePropagationStopped"])(e)||(this.hot.runHooks("afterOnCellMouseOut",e,i,n),this.activeWt=this._wt)},onCellMouseOver:(e,t,n,r)=>{const i=this.translateFromRenderableToVisualCoords(t),o={row:!1,column:!1,cell:!1};this.activeWt=r,this.hot.runHooks("beforeOnCellMouseOver",e,i,n,o),Object(l["isImmediatePropagationStopped"])(e)||(qi(ro,this)&&Ui(e,{coords:i,selection:this.hot.selection,controller:o,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseOver",e,i,n),this.activeWt=this._wt)},onCellMouseUp:(e,t,n,r)=>{const i=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,this.hot.runHooks("beforeOnCellMouseUp",e,i,n),Object(l["isImmediatePropagationStopped"])(e)||this.hot.isDestroyed||(this.hot.runHooks("afterOnCellMouseUp",e,i,n),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,n=e<0;let r=e;return n||(r=t.getVisualFromRenderableIndex(e),null!==r)?(r=this.hot.runHooks("beforeViewportScrollVertically",r),this.hot.runHooks("beforeViewportScroll"),n?r:t.getRenderableFromVisualIndex(r)):e},onBeforeViewportScrollHorizontally:e=>{const t=this.hot.columnIndexMapper,n=e<0;let r=e;return n||(r=t.getVisualFromRenderableIndex(e),null!==r)?(r=this.hot.runHooks("beforeViewportScrollHorizontally",r),this.hot.runHooks("beforeViewportScroll"),n?r:t.getRenderableFromVisualIndex(r)):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,n)=>{const r=this.hot.rowIndexMapper,i=e<0;let o=e;i||(o=r.getVisualFromRenderableIndex(e));const s=this.hot.runHooks("beforeHighlightingRowHeader",o,t,n);return i?s:r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,1))},onBeforeHighlightingColumnHeader:(e,t,n)=>{const r=this.hot.columnIndexMapper,i=e<0;let o=e;i||(o=r.getVisualFromRenderableIndex(e));const s=this.hot.runHooks("beforeHighlightingColumnHeader",o,t,n);return i?s:r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,1))},onAfterDrawSelection:(e,t,n)=>{let r;const[i,o]=this.translateFromRenderableToVisualIndex(e,t),s=this.hot.selection.getSelectedRange(),a=s.size();if(a>0){const e=s.peekByIndex(null!==n&&void 0!==n?n:0);r=[e.from.row,e.from.col,e.to.row,e.to.col]}return this.hot.runHooks("afterDrawSelection",i,o,r,n)},onBeforeDrawBorders:(e,t)=>{const[n,r,i,o]=e,s=[this.hot.rowIndexMapper.getVisualFromRenderableIndex(n),this.hot.columnIndexMapper.getVisualFromRenderableIndex(r),this.hot.rowIndexMapper.getVisualFromRenderableIndex(i),this.hot.columnIndexMapper.getVisualFromRenderableIndex(o)];return this.hot.runHooks("beforeDrawBorders",s,t)},onBeforeTouchScroll:()=>this.hot.runHooks("beforeTouchScroll"),onAfterMomentumScroll:()=>this.hot.runHooks("afterMomentumScroll"),onBeforeStretchingColumnWidth:(e,t)=>{const n=this.hot.columnIndexMapper.getVisualFromRenderableIndex(t);return this.hot.runHooks("beforeStretchingColumnWidth",e,n)},onModifyRowHeaderWidth:e=>this.hot.runHooks("modifyRowHeaderWidth",e),onModifyGetCellCoords:(e,t,n)=>{const r=this.hot.rowIndexMapper,i=this.hot.columnIndexMapper,o=t>=0?i.getVisualFromRenderableIndex(t):t,s=e>=0?r.getVisualFromRenderableIndex(e):e,a=this.hot.runHooks("modifyGetCellCoords",s,o,n);if(Array.isArray(a)){const[e,t,n,o]=a;return[e>=0?r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(e,1)):e,t>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(t,1)):t,n>=0?r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(n,-1)):n,o>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(o,-1)):o]}},viewportRowCalculatorOverride:e=>{let t=this.settings.viewportRowRenderingOffset;if("auto"===t&&this.settings.fixedRowsTop&&(t=10),t>0||"auto"===t){const n=this.countRenderableRows(),r=e.startRow,i=e.endRow;if("number"===typeof t)e.startRow=Math.max(r-t,0),e.endRow=Math.min(i+t,n-1);else if("auto"===t){const t=Math.ceil(i/n*12);e.startRow=Math.max(r-t,0),e.endRow=Math.min(i+t,n-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 n=this.countRenderableColumns(),r=e.startColumn,i=e.endColumn;if("number"===typeof t&&(e.startColumn=Math.max(r-t,0),e.endColumn=Math.min(i+t,n-1)),"auto"===t){const t=Math.ceil(i/n*6);e.startColumn=Math.max(r-t,0),e.endColumn=Math.min(i+t,n-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 Di(e),this.activeWt=this._wt;const t=this._wt.wtTable.spreader,{width:n,height:i}=this.hot.rootElement.getBoundingClientRect();this.setLastSize(n,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(r["isInput"])(e))return!0;const t=Object(r["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 qi(ro,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 n=t.firstChild;if(!Object(r["hasClass"])(n,"relative"))return Object(r["empty"])(t),void this.appendRowHeader(e,t);this.updateCellHeader(n.querySelector(".rowHeader"),e,this.hot.getRowHeader)}else{const{rootDocument:n,getRowHeader:r}=this.hot,i=n.createElement("div"),o=n.createElement("span");i.className="relative",o.className="rowHeader",this.updateCellHeader(o,e,r),i.appendChild(o),t.appendChild(i)}this.hot.runHooks("afterGetRowHeader",e,t)}appendColHeader(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hot.getColHeader,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=()=>{const t=e>=0?this.hot.getColumnMeta(e).headerClassName:null;return t?t.split(" "):[]};if(t.firstChild){const s=t.firstChild;Object(r["hasClass"])(s,"relative")?(this.updateCellHeader(s.querySelector(".colHeader"),e,n,i),s.className="",Object(r["addClass"])(s,["relative",...o()])):(Object(r["empty"])(t),this.appendColHeader(e,t,n,i))}else{const{rootDocument:s}=this.hot,a=s.createElement("div"),l=s.createElement("span"),c=o();a.classList.add("relative",...c),l.className="colHeader",this.settings.ariaTags&&(Object(r["setAttribute"])(a,...Object(Ge["y"])()),Object(r["setAttribute"])(l,...Object(Ge["y"])())),this.updateCellHeader(l,e,n,i),a.appendChild(l),t.appendChild(a)}this.hot.runHooks("afterGetColHeader",e,t,i)}updateCellHeader(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=t;const s=this._wt.wtOverlays.getParentOverlay(e)||this._wt;e.parentNode&&(Object(r["hasClass"])(e,"colHeader")?o=s.wtTable.columnFilter.sourceToRendered(t):Object(r["hasClass"])(e,"rowHeader")&&(o=s.wtTable.rowFilter.sourceToRendered(t))),o>-1?Object(r["fastInnerHTML"])(e,n(t,i)):(Object(r["fastInnerText"])(e,String.fromCharCode(160)),Object(r["addClass"])(e,"cornerHeader"))}maximumVisibleElementWidth(e){const t=this._wt.wtViewport.getWorkspaceWidth(),n=t-e;return n>0?n:0}maximumVisibleElementHeight(e){const t=this._wt.wtViewport.getWorkspaceHeight(),n=t-e;return n>0?n:0}setLastSize(e,t){Ji(oo,this,e),Ji(so,this,t)}getLastSize(){return{width:qi(oo,this),height:qi(so,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 qi(eo,this)}getRowHeadersCount(){return qi(to,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 co(){return parseInt(this.hot.rootElement.getAttribute(Object(Ge["e"])()[0]),10)}function uo(e){const t=$i(ao,this,co).call(this)+e;Object(r["setAttribute"])(this.hot.rootElement,...Object(Ge["e"])(t))}var ho=lo,po=n("480c");function fo(e,t,n){return(t=mo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mo(e){var t=Ao(e,"string");return"symbol"==typeof t?t:t+""}function Ao(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class go{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];fo(this,"hot",void 0),fo(this,"data",void 0),fo(this,"dataType","array"),fo(this,"colToProp",()=>{}),fo(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(W["arrayEach"])(this.data,(n,r)=>{const i=this.getAtCell(r,e);t.push(i)}),t}getAtRow(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=void 0===t&&void 0===n,{dataDotNotation:s}=this.hot.getSettings();let a=null,l=null;if(a=this.modifyRowData(e),Array.isArray(a))l=[],o?a.forEach((t,n)=>{l[n]=this.getAtPhysicalCell(e,n,a)}):Object(Z["rangeEach"])(t,n,n=>{l[n-t]=this.getAtPhysicalCell(e,n,a)});else if(Object(R["isObject"])(a)||Object(i["isFunction"])(a))if(l=r?[]:{},!o||r){const i=0,o=this.countFirstRowKeys()-1;Object(Z["rangeEach"])(i,o,c=>{const u=this.colToProp(c);if(c>=(t||i)&&c<=(n||o)&&!Number.isInteger(u)){const t=this.getAtPhysicalCell(e,u,a);r?l.push(t):s?Object(R["setProperty"])(l,u,t):l[u]=t}})}else Object(R["objectEach"])(a,(t,n)=>{const r=this.getAtPhysicalCell(e,n,a);s?Object(R["setProperty"])(l,n,r):l[n]=r});return l}setAtCell(e,t,n){if(!(e>=this.countRows()||t>=this.countFirstRowKeys())){if(this.hot.hasHook("modifySourceData")){const r=Object(R["createObjectPropListener"])(n);this.hot.runHooks("modifySourceData",e,t,r,"set"),r.isTouched()&&(n=r.value)}Number.isInteger(t)?this.data[e][t]=n:Object(R["setProperty"])(this.data[e],t,n)}}getAtPhysicalCell(e,t,n){let r=null;if(n)if("string"===typeof t){const{dataDotNotation:e}=this.hot.getSettings();r=e?Object(R["getProperty"])(n,t):n[t]}else r="function"===typeof t?t(n):n[t];if(this.hot.hasHook("modifySourceData")){const n=Object(R["createObjectPropListener"])(r);this.hot.runHooks("modifySourceData",e,t,n,"get"),n.isTouched()&&(r=n.value)}return r}getAtCell(e,t){const n=this.modifyRowData(e);return this.getAtPhysicalCell(e,this.colToProp(t),n)}getByRange(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,i=null,o=null,s=null,a=null;null===e||null===t?(r=!0,i=0,s=this.countRows()-1):(i=Math.min(e.row,t.row),o=Math.min(e.col,t.col),s=Math.max(e.row,t.row),a=Math.max(e.col,t.col));const l=[];return Object(Z["rangeEach"])(i,s,e=>{l.push(r?this.getAtRow(e,void 0,void 0,n):this.getAtRow(e,o,a,n))}),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(po["countFirstRowKeys"])(this.data)}destroy(){this.data=null,this.hot=null}}var _o=go,bo=n("1b1a"),vo=n("cef7"),wo=n("1096"),yo=n("9056"),Ro=n("9f10"),Mo=n("00fd");const So=new Map([["hiding",vo["a"]],["index",wo["a"]],["linkedPhysicalIndexToValue",yo["a"]],["physicalIndexToValue",Ro["a"]],["trimming",Mo["a"]]]);function Eo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!So.has(e))throw new Error(`The provided map type ("${e}") does not exist.`);return new(So.get(e))(t)}var To=n("3d57"),Co=n("c5cd");function Oo(e,t,n){return(t=xo(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xo(e){var t=No(e,"string");return"symbol"==typeof t?t:t+""}function No(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Lo extends Co["a"]{constructor(e,t){super(),Oo(this,"mergedValuesCache",[]),Oo(this,"aggregationFunction",void 0),Oo(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(W["arrayMap"])(this.get(),e=>e.getValues()),n=[],r=Object(o["isDefined"])(t[0])&&t[0].length||0;for(let i=0;i<r;i+=1){const e=[];for(let n=0;n<this.getLength();n+=1)e.push(t[n][i]);n.push(e)}return Object(W["arrayMap"])(n,this.aggregationFunction)}getMergedValueAtIndex(e,t){const n=this.getMergedValues(t)[e];return Object(o["isDefined"])(n)?n:this.fallbackValue}updateCache(){this.mergedValuesCache=this.getMergedValues(!1)}}var Io=n("7ae0");function Po(e,t,n){Do(e,t),t.set(e,n)}function Do(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Fo(e,t,n){return e.set(Bo(e,t),n),n}function ko(e,t){return e.get(Bo(e,t))}function Bo(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Uo=new WeakMap;class Ho{constructor(){Po(this,Uo,[])}subscribe(e){return this.addLocalHook("change",e),this._write(ko(Uo,this)),this}unsubscribe(){return this.runLocalHooks("unsubscribe"),this.clearLocalHooks(),this}_write(e){return e.length>0&&this.runLocalHooks("change",e),this}_writeInitialChanges(e){Fo(Uo,this,e)}}function jo(e,t){const n=[];let r=0,i=0;for(;r<e.length&&i<t.length;r++,i++)e[r]!==t[i]&&n.push({op:"replace",index:i,oldValue:e[r],newValue:t[i]});for(;r<t.length;r++)n.push({op:"insert",index:r,oldValue:void 0,newValue:t[r]});for(;i<e.length;i++)n.push({op:"remove",index:i,oldValue:e[i],newValue:void 0});return n}function Vo(e,t,n){Wo(e,t),t.set(e,n)}function Wo(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Yo(e,t){return e.get(Xo(e,t))}function Qo(e,t,n){return e.set(Xo(e,t),n),n}function Xo(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}Object(R["mixin"])(Ho,Io["a"]);var Ko=new WeakMap,Go=new WeakMap,Zo=new WeakMap,zo=new WeakMap,qo=new WeakMap;class Jo{constructor(){let{initialIndexValue:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Vo(this,Ko,new Set),Vo(this,Go,[]),Vo(this,Zo,[]),Vo(this,zo,!1),Vo(this,qo,!1),Qo(qo,this,null!==e&&void 0!==e&&e)}createObserver(){const e=new Ho;return Yo(Ko,this).add(e),e.addLocalHook("unsubscribe",()=>{Yo(Ko,this).delete(e)}),e._writeInitialChanges(jo(Yo(Go,this),Yo(Zo,this))),e}emit(e){let t=Yo(Zo,this);Yo(zo,this)&&Yo(Go,this).length===e.length||(0===e.length?e=new Array(t.length).fill(Yo(qo,this)):Qo(Go,this,new Array(e.length).fill(Yo(qo,this))),Yo(zo,this)||(Qo(zo,this,!0),t=Yo(Go,this)));const n=jo(t,e);Yo(Ko,this).forEach(e=>e._write(n)),Qo(Zo,this,e)}}function $o(e,t,n){return(t=es(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function es(e){var t=ts(e,"string");return"symbol"==typeof t?t:t+""}function ts(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}new Set;class ns{constructor(){$o(this,"indexesSequence",new bo["a"]),$o(this,"trimmingMapsCollection",new Lo(e=>e.some(e=>!0===e),!1)),$o(this,"hidingMapsCollection",new Lo(e=>e.some(e=>!0===e),!1)),$o(this,"variousMapsCollection",new Co["a"]),$o(this,"hidingChangesObservable",new Jo({initialIndexValue:!1})),$o(this,"notTrimmedIndexesCache",[]),$o(this,"notHiddenIndexesCache",[]),$o(this,"isBatched",!1),$o(this,"indexesSequenceChanged",!1),$o(this,"indexesChangeSource",void 0),$o(this,"trimmedIndexesChanged",!1),$o(this,"hiddenIndexesChanged",!1),$o(this,"renderablePhysicalIndexesCache",[]),$o(this,"fromPhysicalToVisualIndexesCache",new Map),$o(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,n){return this.registerMap(e,Eo(t,n))}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 Mo["a"]?this.trimmingMapsCollection.register(e,t):t instanceof vo["a"]?this.hidingMapsCollection.register(e,t):this.variousMapsCollection.register(e,t);const n=this.getNumberOfIndexes();return n>0&&t.init(n),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(o["isDefined"])(t)?t:null}getPhysicalFromRenderableIndex(e){const t=this.renderablePhysicalIndexesCache[e];return Object(o["isDefined"])(t)?t:null}getVisualFromPhysicalIndex(e){const t=this.fromPhysicalToVisualIndexesCache.get(e);return Object(o["isDefined"])(t)?t:null}getVisualFromRenderableIndex(e){return this.getVisualFromPhysicalIndex(this.getPhysicalFromRenderableIndex(e))}getRenderableFromVisualIndex(e){const t=this.fromVisualToRenderableIndexesCache.get(e);return Object(o["isDefined"])(t)?t:null}getNearestNotHiddenIndex(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=this.getPhysicalFromVisualIndex(e);if(null===r)return null;if(this.fromVisualToRenderableIndexesCache.has(e))return e;const i=Array.from(this.fromVisualToRenderableIndexesCache.keys());let o=-1;return o=t>0?i.findIndex(t=>t>e):i.reverse().findIndex(t=>t<e),-1===o?n?this.getNearestNotHiddenIndex(e,-t,!1):null:i[o]}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 n=Object(W["arrayMap"])(e,e=>this.getPhysicalFromVisualIndex(e)),r=this.getNotTrimmedIndexesLength(),i=e.length,o=Object(To["b"])(this.getIndexesSequence(),n),s=o.filter(e=>!1===this.isTrimmed(e));let a=o.indexOf(s[s.length-1])+1;if(t+i<r){const e=s[t];a=o.indexOf(e)}this.indexesChangeSource="move",this.setIndexesSequence(Object(To["a"])(o,a,n)),this.indexesChangeSource=void 0}isTrimmed(e){return this.trimmingMapsCollection.getMergedValueAtIndex(e)}isHidden(e){return this.hidingMapsCollection.getMergedValueAtIndex(e)}insertIndexes(e,t){const n=this.getNotTrimmedIndexes()[e],r=Object(o["isDefined"])(n)?n:this.getNumberOfIndexes(),i=this.getIndexesSequence().includes(n)?this.getIndexesSequence().indexOf(n):this.getNumberOfIndexes(),s=Object(W["arrayMap"])(new Array(t).fill(r),(e,t)=>e+t);this.suspendOperations(),this.indexesChangeSource="insert",this.indexesSequence.insert(i,s),this.indexesChangeSource=void 0,this.trimmingMapsCollection.insertToEvery(i,s),this.hidingMapsCollection.insertToEvery(i,s),this.variousMapsCollection.insertToEvery(i,s),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),n=this.getVisualFromPhysicalIndex(e);this.fromVisualToRenderableIndexesCache.set(n,t)}}}Object(R["mixin"])(ns,Io["a"]);var rs=n("1004");function is(e,t){return Object(R["objectEach"])(t,(t,n)=>{Object(o["isUndefined"])(e[n])&&(e[n]=t)}),e}function os(e){const t=/^([a-zA-Z]{2})-([a-zA-Z]{2})$/,n=t.exec(e);return n?`${n[1].toLowerCase()}-${n[2].toUpperCase()}`:e}function ss(e){Object(o["isDefined"])(e)&&Object(M["a"])(et["a"]`Language with code "${e}" was not found. You should register particular language\x20
  567. before using it. Read more about this issue at: https://docs.handsontable.com/i18n/missing-language-code.`)}var as=n("9acd");function ls(e,t){const n=Array.isArray(e)&&Number.isInteger(t);return n?e[t]:e}const{register:cs,getValues:us}=Object(as["a"])("phraseFormatters");function ds(e,t){cs(e,t)}function hs(){return us()}ds("pluralize",ls);var ps=n("0283");
  568. /**
  569. * @preserve
  570. * Authors: Handsoncode
  571. * Last updated: Nov 15, 2017
  572. *
  573. * Description: Definition file for English - United States language-country.
  574. */const fs={languageCode:"en-US",[ps["CONTEXTMENU_ITEMS_NO_ITEMS"]]:"No available options",[ps["CONTEXTMENU_ITEMS_ROW_ABOVE"]]:"Insert row above",[ps["CONTEXTMENU_ITEMS_ROW_BELOW"]]:"Insert row below",[ps["CONTEXTMENU_ITEMS_INSERT_LEFT"]]:"Insert column left",[ps["CONTEXTMENU_ITEMS_INSERT_RIGHT"]]:"Insert column right",[ps["CONTEXTMENU_ITEMS_REMOVE_ROW"]]:["Remove row","Remove rows"],[ps["CONTEXTMENU_ITEMS_REMOVE_COLUMN"]]:["Remove column","Remove columns"],[ps["CONTEXTMENU_ITEMS_UNDO"]]:"Undo",[ps["CONTEXTMENU_ITEMS_REDO"]]:"Redo",[ps["CONTEXTMENU_ITEMS_READ_ONLY"]]:"Read only",[ps["CONTEXTMENU_ITEMS_CLEAR_COLUMN"]]:"Clear column",[ps["CONTEXTMENU_ITEMS_ALIGNMENT"]]:"Alignment",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_LEFT"]]:"Left",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_CENTER"]]:"Center",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_RIGHT"]]:"Right",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_JUSTIFY"]]:"Justify",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_TOP"]]:"Top",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_MIDDLE"]]:"Middle",[ps["CONTEXTMENU_ITEMS_ALIGNMENT_BOTTOM"]]:"Bottom",[ps["CONTEXTMENU_ITEMS_FREEZE_COLUMN"]]:"Freeze column",[ps["CONTEXTMENU_ITEMS_UNFREEZE_COLUMN"]]:"Unfreeze column",[ps["CONTEXTMENU_ITEMS_BORDERS"]]:"Borders",[ps["CONTEXTMENU_ITEMS_BORDERS_TOP"]]:"Top",[ps["CONTEXTMENU_ITEMS_BORDERS_RIGHT"]]:"Right",[ps["CONTEXTMENU_ITEMS_BORDERS_BOTTOM"]]:"Bottom",[ps["CONTEXTMENU_ITEMS_BORDERS_LEFT"]]:"Left",[ps["CONTEXTMENU_ITEMS_REMOVE_BORDERS"]]:"Remove border(s)",[ps["CONTEXTMENU_ITEMS_ADD_COMMENT"]]:"Add comment",[ps["CONTEXTMENU_ITEMS_EDIT_COMMENT"]]:"Edit comment",[ps["CONTEXTMENU_ITEMS_REMOVE_COMMENT"]]:"Delete comment",[ps["CONTEXTMENU_ITEMS_READ_ONLY_COMMENT"]]:"Read-only comment",[ps["CONTEXTMENU_ITEMS_MERGE_CELLS"]]:"Merge cells",[ps["CONTEXTMENU_ITEMS_UNMERGE_CELLS"]]:"Unmerge cells",[ps["CONTEXTMENU_ITEMS_COPY"]]:"Copy",[ps["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_HEADERS"]]:["Copy with header","Copy with headers"],[ps["CONTEXTMENU_ITEMS_COPY_WITH_COLUMN_GROUP_HEADERS"]]:["Copy with group header","Copy with group headers"],[ps["CONTEXTMENU_ITEMS_COPY_COLUMN_HEADERS_ONLY"]]:["Copy header only","Copy headers only"],[ps["CONTEXTMENU_ITEMS_CUT"]]:"Cut",[ps["CONTEXTMENU_ITEMS_NESTED_ROWS_INSERT_CHILD"]]:"Insert child row",[ps["CONTEXTMENU_ITEMS_NESTED_ROWS_DETACH_CHILD"]]:"Detach from parent",[ps["CONTEXTMENU_ITEMS_HIDE_COLUMN"]]:["Hide column","Hide columns"],[ps["CONTEXTMENU_ITEMS_SHOW_COLUMN"]]:["Show column","Show columns"],[ps["CONTEXTMENU_ITEMS_HIDE_ROW"]]:["Hide row","Hide rows"],[ps["CONTEXTMENU_ITEMS_SHOW_ROW"]]:["Show row","Show rows"],[ps["FILTERS_CONDITIONS_NONE"]]:"None",[ps["FILTERS_CONDITIONS_EMPTY"]]:"Is empty",[ps["FILTERS_CONDITIONS_NOT_EMPTY"]]:"Is not empty",[ps["FILTERS_CONDITIONS_EQUAL"]]:"Is equal to",[ps["FILTERS_CONDITIONS_NOT_EQUAL"]]:"Is not equal to",[ps["FILTERS_CONDITIONS_BEGINS_WITH"]]:"Begins with",[ps["FILTERS_CONDITIONS_ENDS_WITH"]]:"Ends with",[ps["FILTERS_CONDITIONS_CONTAINS"]]:"Contains",[ps["FILTERS_CONDITIONS_NOT_CONTAIN"]]:"Does not contain",[ps["FILTERS_CONDITIONS_GREATER_THAN"]]:"Greater than",[ps["FILTERS_CONDITIONS_GREATER_THAN_OR_EQUAL"]]:"Greater than or equal to",[ps["FILTERS_CONDITIONS_LESS_THAN"]]:"Less than",[ps["FILTERS_CONDITIONS_LESS_THAN_OR_EQUAL"]]:"Less than or equal to",[ps["FILTERS_CONDITIONS_BETWEEN"]]:"Is between",[ps["FILTERS_CONDITIONS_NOT_BETWEEN"]]:"Is not between",[ps["FILTERS_CONDITIONS_AFTER"]]:"After",[ps["FILTERS_CONDITIONS_BEFORE"]]:"Before",[ps["FILTERS_CONDITIONS_TODAY"]]:"Today",[ps["FILTERS_CONDITIONS_TOMORROW"]]:"Tomorrow",[ps["FILTERS_CONDITIONS_YESTERDAY"]]:"Yesterday",[ps["FILTERS_VALUES_BLANK_CELLS"]]:"Blank cells",[ps["FILTERS_DIVS_FILTER_BY_CONDITION"]]:"Filter by condition",[ps["FILTERS_DIVS_FILTER_BY_VALUE"]]:"Filter by value",[ps["FILTERS_LABELS_CONJUNCTION"]]:"And",[ps["FILTERS_LABELS_DISJUNCTION"]]:"Or",[ps["FILTERS_BUTTONS_SELECT_ALL"]]:"Select all",[ps["FILTERS_BUTTONS_CLEAR"]]:"Clear",[ps["FILTERS_BUTTONS_OK"]]:"OK",[ps["FILTERS_BUTTONS_CANCEL"]]:"Cancel",[ps["FILTERS_BUTTONS_PLACEHOLDER_SEARCH"]]:"Search",[ps["FILTERS_BUTTONS_PLACEHOLDER_VALUE"]]:"Value",[ps["FILTERS_BUTTONS_PLACEHOLDER_SECOND_VALUE"]]:"Second value",[ps["CHECKBOX_CHECKED"]]:"Checked",[ps["CHECKBOX_UNCHECKED"]]:"Unchecked"};var ms=fs;const As=ps,gs=ms.languageCode,{register:_s,getItem:bs,hasItem:vs,getValues:ws}=Object(as["a"])("languagesDictionaries");function ys(e,t){let n=e,r=t;return Object(R["isObject"])(e)&&(r=e,n=r.languageCode),Rs(n,r),_s(n,Object(R["deepClone"])(r)),Object(R["deepClone"])(r)}function Rs(e,t){e!==gs&&is(t,bs(gs))}function Ms(e){return Ss(e)?Object(R["deepClone"])(bs(e)):null}function Ss(e){return vs(e)}function Es(){return ws()}function Ts(e,t,n){const r=Ms(e);if(null===r)return null;const i=r[t];if(Object(o["isUndefined"])(i))return null;const s=Cs(i,n);return Array.isArray(s)?s[0]:s}function Cs(e,t){let n=e;return Object(W["arrayEach"])(hs(),r=>{n=r(e,t)}),n}function Os(e){let t=os(e);return Ss(t)||(t=gs,ss(e)),t}ys(ms);var xs=n("a309");class Ns{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(R["mixin"])(Ns,Io["a"]);var Ls=Ns;function Is(e,t,n){return(t=Ps(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ps(e){var t=Ds(e,"string");return"symbol"==typeof t?t:t+""}function Ds(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class Fs extends Ls{constructor(e,t){super(e,null),Is(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:n}=e,r=this.getNearestNotHiddenCoords(t,1),i=this.getNearestNotHiddenCoords(n,-1);return null===r||null===i?null:((r.row>i.row||r.col>i.col)&&(r=t,i=n),this.settings.createCellRange(r,r,i))}getNearestNotHiddenCoords(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;const r=this.getNearestNotHiddenIndex(this.settings.rowIndexMapper,e.row,t);if(null===r)return null;const i=this.getNearestNotHiddenIndex(this.settings.columnIndexMapper,e.col,n);return null===i?null:this.settings.createCellCoords(r,i)}getNearestNotHiddenIndex(e,t,n){return t<0?t:e.getNearestNotHiddenIndex(t,n)}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(),n="N-S"===e.getVerticalDirection()?1:-1,r="W-E"===e.getHorizontalDirection()?1:-1,i=this.settings.visualToRenderableCoords(this.visualCellRange.highlight);let o=null;if(null!==i&&null!==i.col&&null!==i.row||(o=this.getNearestNotHiddenCoords(t,n,r)),null!==o&&e.overlaps(o)){const t=e.highlight.clone();if(t.row>=0&&(t.row=o.row),t.col>=0&&(t.col=o.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===o&&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 n=this.settings.visualToRenderableCoords(e),r=this.settings.visualToRenderableCoords(t);return null===n.row||null===n.col||null===r.row||null===r.col?null:this.settings.createCellRange(n,n,r)}}var ks=Fs;function Bs(e){let{activeHeaderClassName:t,...n}=e;return new ks({className:t,...n,selectionType:xs["a"]})}function Us(e){let{areaCornerVisible:t,...n}=e;return new ks({className:"area",createLayers:!0,border:{width:1,color:"#4b89ff",cornerVisible:t},...n,selectionType:xs["b"]})}function Hs(e){let{...t}=e;return new ks({className:"highlight",...t,selectionType:xs["b"]})}function js(e){let{columnClassName:t,...n}=e;return new ks({className:t,...n,selectionType:xs["c"]})}function Vs(e){let{cellCornerVisible:t,...n}=e;return new ks({className:"current",headerAttributes:[Object(Ge["I"])()],border:{width:2,color:"#4b89ff",cornerVisible:t},...n,selectionType:xs["f"]})}function Ws(e){let{border:t,visualCellRange:n,...r}=e;return new ks({...t,...r,selectionType:xs["d"]},n)}function Ys(e){let{...t}=e;return new ks({className:"fill",border:{width:1,color:"#ff0000"},...t,selectionType:xs["e"]})}function Qs(e){let{headerClassName:t,...n}=e;return new ks({className:t,...n,selectionType:xs["g"]})}function Xs(e){let{rowClassName:t,...n}=e;return new ks({className:t,...n,selectionType:xs["h"]})}function Ks(e,t){Gs(e,t),t.add(e)}function Gs(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Zs(e,t,n){return(t=zs(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zs(e){var t=qs(e,"string");return"symbol"==typeof t?t:t+""}function qs(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Js(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var $s=new WeakSet;class ea{constructor(e){Ks(this,$s),Zs(this,"options",void 0),Zs(this,"layerLevel",0),Zs(this,"focus",void 0),Zs(this,"fill",void 0),Zs(this,"layeredAreas",new Map),Zs(this,"areas",new Map),Zs(this,"rowHeaders",new Map),Zs(this,"columnHeaders",new Map),Zs(this,"activeRowHeaders",new Map),Zs(this,"activeColumnHeaders",new Map),Zs(this,"activeCornerHeaders",new Map),Zs(this,"rowHighlights",new Map),Zs(this,"columnHighlights",new Map),Zs(this,"customSelections",[]),this.options=e,this.focus=Vs(e),this.fill=Ys(e)}isEnabledFor(e,t){let n=e;e===xs["f"]&&(n="current");let r=this.options.disabledCellSelection(t.row,t.col);return"string"===typeof r&&(r=[r]),!1===r||Array.isArray(r)&&!r.includes(n)}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 Js($s,this,ta).call(this,this.layeredAreas,Us)}getLayeredAreas(){return[...this.layeredAreas.values()]}createArea(){return Js($s,this,ta).call(this,this.areas,Hs)}getAreas(){return[...this.areas.values()]}createRowHeader(){return Js($s,this,ta).call(this,this.rowHeaders,Qs)}getRowHeaders(){return[...this.rowHeaders.values()]}createColumnHeader(){return Js($s,this,ta).call(this,this.columnHeaders,Qs)}getColumnHeaders(){return[...this.columnHeaders.values()]}createActiveRowHeader(){return Js($s,this,ta).call(this,this.activeRowHeaders,Bs)}getActiveRowHeaders(){return[...this.activeRowHeaders.values()]}createActiveColumnHeader(){return Js($s,this,ta).call(this,this.activeColumnHeaders,Bs)}getActiveColumnHeaders(){return[...this.activeColumnHeaders.values()]}createActiveCornerHeader(){return Js($s,this,ta).call(this,this.activeCornerHeaders,Bs)}getActiveCornerHeaders(){return[...this.activeCornerHeaders.values()]}createRowHighlight(){return Js($s,this,ta).call(this,this.rowHighlights,Xs)}getRowHighlights(){return[...this.rowHighlights.values()]}createColumnHighlight(){return Js($s,this,ta).call(this,this.columnHighlights,js)}getColumnHighlights(){return[...this.columnHighlights.values()]}getCustomSelections(){return[...this.customSelections.values()]}addCustomSelection(e){this.customSelections.push(Ws({...this.options,...e}))}clear(){this.focus.clear(),this.fill.clear(),Object(W["arrayEach"])(this.areas.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.layeredAreas.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.rowHeaders.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.columnHeaders.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.activeRowHeaders.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.activeColumnHeaders.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.activeCornerHeaders.values(),e=>{e.clear()}),Object(W["arrayEach"])(this.rowHighlights.values(),e=>{e.clear()}),Object(W["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 ta(e,t){const n=this.layerLevel;if(e.has(n))return e.get(n);const r=t({layerLevel:n,...this.options});return e.set(n,r),r}var na=ea;function ra(e,t,n){return(t=ia(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){var t=oa(e,"string");return"symbol"==typeof t?t:t+""}function oa(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class sa{constructor(e){ra(this,"ranges",[]),ra(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 aa=sa;function la(e,t){ua(e,t),t.add(e)}function ca(e,t,n){ua(e,t),t.set(e,n)}function ua(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function da(e,t){return e.get(pa(e,t))}function ha(e,t,n){return e.set(pa(e,t),n),n}function pa(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var fa=new WeakMap,ma=new WeakMap,Aa=new WeakMap,ga=new WeakSet;class _a{constructor(e,t){la(this,ga),ca(this,fa,void 0),ca(this,ma,void 0),ca(this,Aa,{x:0,y:0}),ha(fa,this,e),ha(ma,this,t)}transformStart(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=da(ma,this).createCellCoords(e,t);let i=da(fa,this).current().highlight;const o=da(ma,this).visualToRenderableCoords(i);let s=0,a=0;if(this.runLocalHooks("beforeTransformStart",r),null!==o.row&&null!==o.col){const{width:e,height:t}=pa(ga,this,va).call(this),{row:o,col:l}=pa(ga,this,Ra).call(this,i),c=da(ma,this).fixedRowsBottom(),u=da(ma,this).minSpareRows(),d=da(ma,this).minSpareCols(),h=da(ma,this).autoWrapRow(),p=da(ma,this).autoWrapCol(),f=da(ma,this).createCellCoords(o+r.row,l+r.col);if(f.row>=t){const r=Object(R["createObjectPropListener"])(n&&u>0&&0===c),i=f.col+1,o=da(ma,this).createCellCoords(f.row-t,i>=e?i-e:i);this.runLocalHooks("beforeColumnWrap",r,pa(ga,this,Ma).call(this,o),i>=e),r.value?this.runLocalHooks("insertRowRequire",da(ma,this).countRenderableRows()):p&&f.assign(o)}else if(f.row<0){const n=Object(R["createObjectPropListener"])(p),r=f.col-1,i=da(ma,this).createCellCoords(t+f.row,r<0?e+r:r);this.runLocalHooks("beforeColumnWrap",n,pa(ga,this,Ma).call(this,i),r<0),p&&f.assign(i)}if(f.col>=e){const r=Object(R["createObjectPropListener"])(n&&d>0),i=f.row+1,o=da(ma,this).createCellCoords(i>=t?i-t:i,f.col-e);this.runLocalHooks("beforeRowWrap",r,pa(ga,this,Ma).call(this,o),i>=t),r.value?this.runLocalHooks("insertColRequire",da(ma,this).countRenderableColumns()):h&&f.assign(o)}else if(f.col<0){const n=Object(R["createObjectPropListener"])(h),r=f.row-1,i=da(ma,this).createCellCoords(r<0?t+r:r,e+f.col);this.runLocalHooks("beforeRowWrap",n,pa(ga,this,Ma).call(this,i),r<0),h&&f.assign(i)}const{rowDir:m,colDir:A}=pa(ga,this,ba).call(this,f);s=m,a=A,i=pa(ga,this,Ma).call(this,f)}return this.runLocalHooks("afterTransformStart",i,s,a),i}transformEnd(e,t){const n=da(ma,this).createCellCoords(e,t),r=da(fa,this).current(),i=da(ma,this).visualToRenderableCoords(r.highlight),o=pa(ga,this,wa).call(this,r.to.row,r.from.row),s=pa(ga,this,ya).call(this,r.to.col,r.from.col),a=r.to.clone();let l=0,c=0;if(this.runLocalHooks("beforeTransformEnd",n),null!==i.row&&null!==i.col&&null!==o&&null!==s){const{row:e,col:t}=pa(ga,this,Ra).call(this,r.highlight),i=da(ma,this).createCellCoords(o+n.row,s+n.col),u=r.getTopStartCorner(),d=r.getTopEndCorner(),h=r.getBottomEndCorner();if(n.col<0&&s>=t&&i.col<t){const e=i.col-t;i.col=pa(ga,this,ya).call(this,u.col,d.col)+e}else if(n.col>0&&s<=t&&i.col>t){const e=pa(ga,this,ya).call(this,d.col,u.col),t=Math.max(i.col-e,1);i.col=e+t}if(n.row<0&&o>=e&&i.row<e){const t=i.row-e;i.row=pa(ga,this,wa).call(this,u.row,h.row)+t}else if(n.row>0&&o<=e&&i.row>e){const e=pa(ga,this,wa).call(this,h.row,u.row),t=Math.max(i.row-e,1);i.row=e+t}const{rowDir:p,colDir:f}=pa(ga,this,ba).call(this,i);l=p,c=f;const m=pa(ga,this,Ma).call(this,i);0===n.row&&0!==n.col?a.col=m.col:0!==n.row&&0===n.col?a.row=m.row:(a.row=m.row,a.col=m.col)}return this.runLocalHooks("afterTransformEnd",a,l,c),a}setOffsetSize(e){let{x:t,y:n}=e;ha(Aa,this,{x:t,y:n})}resetOffsetSize(){ha(Aa,this,{x:0,y:0})}}function ba(e){const{width:t,height:n}=pa(ga,this,va).call(this);let r=0,i=0;return e.row<0?(r=-1,e.row=0):e.row>0&&e.row>=n&&(r=1,e.row=n-1),e.col<0?(i=-1,e.col=0):e.col>0&&e.col>=t&&(i=1,e.col=t-1),{rowDir:r,colDir:i}}function va(){return{width:da(Aa,this).x+da(ma,this).countRenderableColumns(),height:da(Aa,this).y+da(ma,this).countRenderableRows()}}function wa(e,t){const n=da(ma,this).findFirstNonHiddenRenderableRow(e,t);return null===n?null:da(Aa,this).y+n}function ya(e,t){const n=da(ma,this).findFirstNonHiddenRenderableColumn(e,t);return null===n?null:da(Aa,this).x+n}function Ra(e){const{row:t,col:n}=da(ma,this).visualToRenderableCoords(e);if(null===t||null===n)throw new Error("Renderable coords are not visible.");return da(ma,this).createCellCoords(da(Aa,this).y+t,da(Aa,this).x+n)}function Ma(e){const t=e.clone();return t.col=e.col-da(Aa,this).x,t.row=e.row-da(Aa,this).y,da(ma,this).renderableToVisualCoords(t)}Object(R["mixin"])(_a,Io["a"]);var Sa=_a,Ea=n("a952");function Ta(e,t,n){Ca(e,t),t.set(e,n)}function Ca(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Oa(e,t,n){return(t=xa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xa(e){var t=Na(e,"string");return"symbol"==typeof t?t:t+""}function Na(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function La(e,t){return e.get(Pa(e,t))}function Ia(e,t,n){return e.set(Pa(e,t),n),n}function Pa(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Da=new WeakMap,Fa=new WeakMap,ka=new WeakMap,Ba=new WeakMap,Ua=new WeakMap,Ha=new WeakMap;class ja{constructor(e,t){var n=this;Oa(this,"settings",void 0),Oa(this,"tableProps",void 0),Oa(this,"inProgress",!1),Oa(this,"selectedRange",new aa((e,t,n)=>this.tableProps.createCellRange(e,t,n))),Oa(this,"highlight",void 0),Ta(this,Da,void 0),Ta(this,Fa,void 0),Oa(this,"selectedByRowHeader",new Set),Oa(this,"selectedByColumnHeader",new Set),Ta(this,ka,!1),Ta(this,Ba,!1),Ta(this,Ua,"unknown"),Ta(this,Ha,-1),this.settings=e,this.tableProps=t,this.highlight=new na({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 n.isCellCornerVisible(...arguments)},areaCornerVisible:function(){return n.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,n)=>this.tableProps.createCellRange(e,t,n)}),Ia(Da,this,new Sa(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 n.tableProps.findFirstNonHiddenRenderableRow(...arguments)},findFirstNonHiddenRenderableColumn:function(){return n.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})),Ia(Fa,this,new Sa(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 n.tableProps.findFirstNonHiddenRenderableRow(...arguments)},findFirstNonHiddenRenderableColumn:function(){return n.tableProps.findFirstNonHiddenRenderableColumn(...arguments)},createCellCoords:(e,t)=>this.tableProps.createCellCoords(e,t),fixedRowsBottom:()=>0,minSpareRows:()=>0,minSpareCols:()=>0,autoWrapRow:()=>!0,autoWrapCol:()=>!0})),La(Da,this).addLocalHook("beforeTransformStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("beforeModifyTransformStart",...t)})),La(Da,this).addLocalHook("afterTransformStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("afterModifyTransformStart",...t)})),La(Da,this).addLocalHook("beforeTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("beforeModifyTransformEnd",...t)})),La(Da,this).addLocalHook("afterTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("afterModifyTransformEnd",...t)})),La(Da,this).addLocalHook("insertRowRequire",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("insertRowRequire",...t)})),La(Da,this).addLocalHook("insertColRequire",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("insertColRequire",...t)})),La(Da,this).addLocalHook("beforeRowWrap",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("beforeRowWrap",...t)})),La(Da,this).addLocalHook("beforeColumnWrap",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("beforeColumnWrap",...t)})),La(Fa,this).addLocalHook("beforeTransformStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("beforeModifyTransformFocus",...t)})),La(Fa,this).addLocalHook("afterTransformStart",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.runLocalHooks("afterModifyTransformFocus",...t)}))}getSelectedRange(){return this.selectedRange}markSource(e){Ia(Ua,this,e)}markEndSource(){Ia(Ua,this,"unknown")}getSelectionSource(){return La(Ua,this)}setExpectedLayers(e){Ia(Ha,this,e)}begin(){this.inProgress=!0}finish(){this.runLocalHooks("afterSelectionFinished",Array.from(this.selectedRange)),this.inProgress=!1,Ia(Ha,this,-1)}isInProgress(){return this.inProgress}setRangeStart(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e;const i="multiple"===this.settings.selectionMode,s=Object(o["isUndefined"])(t)?this.tableProps.getShortcutManager().isCtrlPressed():t,a=e.clone();Ia(ka,this,!1),this.runLocalHooks("beforeSetRangeStart"+(n?"Only":""),a),(!i||i&&!s&&Object(o["isUndefined"])(t))&&this.selectedRange.clear(),this.selectedRange.add(a).current().setHighlight(r.clone()),0===this.getLayerLevel()&&(this.selectedByRowHeader.clear(),this.selectedByColumnHeader.clear()),n||this.setRangeEnd(e)}setRangeStartOnly(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;this.setRangeStart(e,t,!0,n)}setRangeEnd(e){if(this.selectedRange.isEmpty())return;const t=e.clone(),n=this.tableProps.countRows(),r=this.tableProps.countCols(),i=this.selectedRange.current().clone().setTo(e).isSingleHeader();if((n>0||r>0)&&(0===n&&t.col<0&&!i||0===r&&t.row<0&&!i))return;this.runLocalHooks("beforeSetRangeEnd",t),this.begin();const o=this.selectedRange.current();if(this.settings.navigableHeaders||o.highlight.normalize(),"single"===this.settings.selectionMode)o.setFrom(o.highlight),o.setTo(o.highlight);else{const e=o.getHorizontalDirection(),n=o.getVerticalDirection(),r=this.isMultiple();o.setTo(t),r&&(e!==o.getHorizontalDirection()||1===o.getWidth()&&!o.includes(o.highlight))&&o.from.assign({col:o.highlight.col}),r&&(n!==o.getVerticalDirection()||1===o.getHeight()&&!o.includes(o.highlight))&&o.from.assign({row:o.highlight.row})}n>0&&r>0&&(!this.settings.navigableHeaders||this.settings.navigableHeaders&&!o.isSingleHeader())&&o.to.normalize(),this.runLocalHooks("beforeHighlightSet"),this.setRangeFocus(this.selectedRange.current().highlight),this.applyAndCommit();const s=-1===La(Ha,this)||this.selectedRange.size()===La(Ha,this);this.runLocalHooks("afterSetRangeEnd",e,s)}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 n=this.tableProps.countRows(),r=this.tableProps.countCols();t<this.highlight.layerLevel&&(Object(W["arrayEach"])(this.highlight.getAreas(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getLayeredAreas(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getRowHeaders(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getColumnHeaders(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getActiveRowHeaders(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getActiveColumnHeaders(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getActiveCornerHeaders(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getRowHighlights(),e=>{e.clear()}),Object(W["arrayEach"])(this.highlight.getColumnHighlights(),e=>{e.clear()})),this.highlight.useLayerLevel(t);const i=this.highlight.createArea(),o=this.highlight.createLayeredArea(),s=this.highlight.createRowHeader(),a=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(),o.clear(),s.clear(),a.clear(),l.clear(),c.clear(),u.clear(),d.clear(),h.clear(),this.highlight.isEnabledFor(xs["b"],e.highlight)&&(this.isMultiple()||t>=1)&&(i.add(e.from).add(e.to).commit(),o.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(xs["g"],e.highlight)){if(!e.isSingleHeader()){const t=this.tableProps.createCellCoords(Math.max(e.from.row,0),-1),n=this.tableProps.createCellCoords(e.to.row,-1),r=this.tableProps.createCellCoords(-1,Math.max(e.from.col,0)),i=this.tableProps.createCellCoords(-1,e.to.col);"single"===this.settings.selectionMode?(s.add(t).commit(),a.add(r).commit(),d.add(t).commit(),h.add(r).commit()):(s.add(t).add(n).commit(),a.add(r).add(i).commit(),d.add(t).add(n).commit(),h.add(r).add(i).commit())}const t=!La(Ba,this)&&this.isEntireRowSelected()&&(r>0&&r===e.getWidth()||0===r&&this.isSelectedByRowHeader()),i=!La(Ba,this)&&this.isEntireColumnSelected()&&(n>0&&n===e.getHeight()||0===n&&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 n=this.highlight.getFocus();n.clear(),t.setHighlight(e),this.inProgress||this.runLocalHooks("beforeHighlightSet"),this.highlight.isEnabledFor(xs["f"],t.highlight)&&n.add(t.highlight).commit().syncWith(t),this.inProgress||(Ia(ka,this,!0),this.runLocalHooks("afterSetFocus",t.highlight))}transformStart(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.settings.navigableHeaders?La(Da,this).setOffsetSize({x:this.tableProps.countRowHeaders(),y:this.tableProps.countColHeaders()}):La(Da,this).resetOffsetSize(),this.setRangeStart(La(Da,this).transformStart(e,t,n))}transformEnd(e,t){this.settings.navigableHeaders?La(Da,this).setOffsetSize({x:this.tableProps.countRowHeaders(),y:this.tableProps.countColHeaders()}):La(Da,this).resetOffsetSize(),this.setRangeEnd(La(Da,this).transformEnd(e,t))}transformFocus(e,t){const n=this.selectedRange.current(),{row:r,col:i}=n.getOuterTopStartCorner(),o=this.tableProps.countRenderableColumnsInRange(0,i-1),s=this.tableProps.countRenderableRowsInRange(0,r-1);n.highlight.isHeader()?La(Fa,this).setOffsetSize({x:i<0?Math.abs(i):-o,y:r<0?Math.abs(r):-s}):La(Fa,this).setOffsetSize({x:i<0?0:-o,y:r<0?0:-s});const a=La(Fa,this).transformStart(e,t);this.setRangeFocus(a.normalize())}shiftRows(e,t){if(!this.isSelected())return;const n=this.selectedRange.current();if(this.isSelectedByCorner())this.selectAll(!0,!0,{disableHeadersHighlight:!0});else if(this.isSelectedByColumnHeader()||n.getOuterTopStartCorner().row>=e){const{from:r,to:i,highlight:o}=n,s=this.tableProps.countRows(),a=this.isSelectedByRowHeader(),l=this.isSelectedByColumnHeader(),c=l?-1:0,u=l?0:t;this.getSelectedRange().pop();const d=this.tableProps.createCellCoords(Object(Z["clamp"])(r.row+u,c,s-1),r.col),h=this.tableProps.createCellCoords(Object(Z["clamp"])(i.row+t,c,s-1),i.col);this.markSource("shift"),o.row>=e?this.setRangeStartOnly(d,!0,this.tableProps.createCellCoords(Object(Z["clamp"])(o.row+t,0,s-1),o.col)):this.setRangeStartOnly(d,!0),a&&this.selectedByRowHeader.add(this.getLayerLevel()),l&&this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.markEndSource()}}shiftColumns(e,t){if(!this.isSelected())return;const n=this.selectedRange.current();if(this.isSelectedByCorner())this.selectAll(!0,!0,{disableHeadersHighlight:!0});else if(this.isSelectedByRowHeader()||n.getOuterTopStartCorner().col>=e){const{from:r,to:i,highlight:o}=n,s=this.tableProps.countCols(),a=this.isSelectedByRowHeader(),l=this.isSelectedByColumnHeader(),c=a?-1:0,u=a?0:t;this.getSelectedRange().pop();const d=this.tableProps.createCellCoords(r.row,Object(Z["clamp"])(r.col+u,c,s-1)),h=this.tableProps.createCellCoords(i.row,Object(Z["clamp"])(i.col+t,c,s-1));this.markSource("shift"),o.col>=e?this.setRangeStartOnly(d,!0,this.tableProps.createCellCoords(o.row,Object(Z["clamp"])(o.col+t,0,s-1))):this.setRangeStartOnly(d,!0),a&&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(R["createObjectPropListener"])(!this.selectedRange.current().isSingle());return this.runLocalHooks("afterIsMultipleSelection",e),e.value}isFocusSelectionChanged(){return this.isSelected()&&La(ka,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(),n=this.tableProps.countRowHeaders(),r=this.tableProps.countCols();return(n>0&&t<0||0===n)&&e.getWidth()===r};if(-1===e)return Array.from(this.selectedRange).some(e=>t(e));const n=this.selectedRange.peekByIndex(e);return!!n&&t(n)}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(),n=this.tableProps.countColHeaders(),r=this.tableProps.countRows();return(n>0&&t<0||0===n)&&e.getHeight()===r};if(-1===e)return Array.from(this.selectedRange).some(e=>t(e));const n=this.selectedRange.peekByIndex(e);return!!n&&t(n)}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],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{focusPosition:!1,disableHeadersHighlight:!1};const i=this.tableProps.countRows(),o=this.tableProps.countCols(),s=this.tableProps.countRowHeaders(),a=this.tableProps.countColHeaders(),l=n?-a:0,c=t?-s:0;if(0===l&&0===c&&(0===i||0===o))return;let u=null===(e=this.getSelectedRange().current())||void 0===e?void 0:e.highlight;const{focusPosition:d,disableHeadersHighlight:h}=r;Ia(Ba,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(Z["clamp"])(d.row,l,i-1),Object(Z["clamp"])(d.col,c,o-1)));const p=this.tableProps.createCellCoords(l,c),f=this.tableProps.createCellCoords(i-1,o-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(),Ia(Ba,this,!1)}selectCells(e){var t=this;const n=Object(Ea["c"])(e);if(n===Ea["a"])return!1;if(n===Ea["b"])throw new Error(et["a"]`Unsupported format of the selection ranges was passed. To select cells pass\x20
  575. the coordinates as an array of arrays ([[rowStart, columnStart/columnPropStart, rowEnd,\x20
  576. columnEnd/columnPropEnd]]) or as an array of CellRange objects.`);const r=Object(Ea["d"])(n,{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,o={countRows:this.tableProps.countRows(),countCols:this.tableProps.countCols(),countRowHeaders:i?this.tableProps.countRowHeaders():0,countColHeaders:i?this.tableProps.countColHeaders():0},s=!e.some(e=>{const t=r(e),n=t.isValid(o);return!(n&&!t.containsHeaders()||n&&t.containsHeaders()&&t.isSingleHeader())});return s&&(this.clear(),this.setExpectedLayers(e.length),Object(W["arrayEach"])(e,e=>{const{from:t,to:n}=r(e);this.setRangeStartOnly(t.clone(),!1),this.setRangeEnd(n.clone())}),this.finish()),s}selectColumns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r="string"===typeof e?this.tableProps.propToCol(e):e,i="string"===typeof t?this.tableProps.propToCol(t):t,o=this.tableProps.countRows(),s=this.tableProps.countCols(),a=this.tableProps.countColHeaders(),l=0===a?0:-a,c=this.tableProps.createCellCoords(l,r),u=this.tableProps.createCellCoords(o-1,i),d=this.tableProps.createCellRange(c,c,u).isValid({countRows:o,countCols:s,countRowHeaders:0,countColHeaders:a});if(d){let e=0,t=0;Number.isInteger(null===n||void 0===n?void 0:n.row)&&Number.isInteger(null===n||void 0===n?void 0:n.col)?(e=Object(Z["clamp"])(n.row,l,o-1),t=Object(Z["clamp"])(n.col,Math.min(r,i),Math.max(r,i))):(e=Object(Z["clamp"])(n,l,o-1),t=r);const s=this.tableProps.createCellCoords(e,t),c=0===a?0:Object(Z["clamp"])(s.row,l,-1),u=o-1,d=this.tableProps.createCellCoords(c,r),h=this.tableProps.createCellCoords(u,i);this.runLocalHooks("beforeSelectColumns",d,h,s),d.row=c,h.row=u,this.setRangeStartOnly(d,void 0,s),this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(h),this.runLocalHooks("afterSelectColumns",d,h,s),this.finish()}return d}selectRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=this.tableProps.countRows(),i=this.tableProps.countCols(),o=this.tableProps.countRowHeaders(),s=0===o?0:-o,a=this.tableProps.createCellCoords(e,s),l=this.tableProps.createCellCoords(t,i-1),c=this.tableProps.createCellRange(a,a,l).isValid({countRows:r,countCols:i,countRowHeaders:o,countColHeaders:0});if(c){let r=0,a=0;Number.isInteger(null===n||void 0===n?void 0:n.row)&&Number.isInteger(null===n||void 0===n?void 0:n.col)?(r=Object(Z["clamp"])(n.row,Math.min(e,t),Math.max(e,t)),a=Object(Z["clamp"])(n.col,s,i-1)):(r=e,a=Object(Z["clamp"])(n,s,i-1));const l=this.tableProps.createCellCoords(r,a),c=0===o?0:Object(Z["clamp"])(l.col,s,-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 n=this.selectedRange.peekByIndex(this.selectedRange.size()-1),{from:r,to:i,highlight:o}=n;this.clear(),o.assign({row:Object(Z["clamp"])(o.row,-1/0,e-1),col:Object(Z["clamp"])(o.col,-1/0,t-1)}),r.assign({row:Object(Z["clamp"])(r.row,-1/0,e-1),col:Object(Z["clamp"])(r.col,-1/0,t-1)}),i.assign({row:Object(Z["clamp"])(i.row,0,e-1),col:Object(Z["clamp"])(i.col,0,t-1)}),this.selectedRange.ranges.push(n),this.highlight.getFocus().add(o).commit().syncWith(n),this.applyAndCommit(n)}commit(){const e=this.highlight.getCustomSelections();if(e.forEach(e=>{e.commit()}),!this.isSelected())return;const t=this.highlight.getFocus(),n=this.getLayerLevel();t.commit().syncWith(this.selectedRange.current());for(let r=0;r<this.selectedRange.size();r+=1){this.highlight.useLayerLevel(r);const e=this.highlight.createArea(),t=this.highlight.createLayeredArea(),n=this.highlight.createRowHeader(),i=this.highlight.createColumnHeader(),o=this.highlight.createActiveRowHeader(),s=this.highlight.createActiveColumnHeader(),a=this.highlight.createActiveCornerHeader(),l=this.highlight.createRowHighlight(),c=this.highlight.createColumnHighlight();e.commit(),t.commit(),n.commit(),i.commit(),o.commit(),s.commit(),a.commit(),l.commit(),c.commit()}this.highlight.useLayerLevel(n)}}Object(R["mixin"])(ja,Io["a"]);var Va=ja,Wa=n("76ab");function Ya(e,t){var n;return"CELL_TYPE"!==e&&((null===(n=t._automaticallyAssignedMetaProps)||void 0===n?void 0:n.has(e))||!Object(R["hasOwnProperty"])(t,e))}function Qa(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;const r="string"===typeof t.type?Object(Wa["a"])(t.type):t.type;if(e._automaticallyAssignedMetaProps&&Object(R["objectEach"])(t,(t,n)=>{e._automaticallyAssignedMetaProps.delete(n)}),!Object(R["isObject"])(r))return;n!==e||e._automaticallyAssignedMetaProps||(e._automaticallyAssignedMetaProps=new Set);const i={};Object(R["objectEach"])(r,(t,r)=>{var o;Ya(r,n)&&(i[r]=t,null===(o=e._automaticallyAssignedMetaProps)||void 0===o||o.add(r))}),Object(R["extend"])(e,i)}function Xa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];function n(){}Object(R["inherit"])(n,e);for(let r=0;r<t.length;r++)n.prototype[t[r]]=void 0;return n}function Ka(e){return Number.isInteger(e)&&e>=0}function Ga(e,t){if(!e())throw new Error("Assertion failed: "+t)}function Za(e){return null===e||void 0===e}var za=()=>({_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,n,r;for(t=0,n=this.countRows();t<n;t++)if(r=this.getDataAtCell(t,e),!1===Object(o["isEmpty"])(r))return!1;return!0},isEmptyRow(e){let t,n,r,i;for(t=0,n=this.countCols();t<n;t++)if(r=this.getDataAtCell(e,t),!1===Object(o["isEmpty"])(r))return"object"===typeof r&&(i=this.getCellMeta(e,t),Object(R["isObjectEqual"])(this.getSchema()[i.prop],r));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 qa(e,t,n){return(t=Ja(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ja(e){var t=$a(e,"string");return"symbol"==typeof t?t:t+""}function $a(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function el(){return class{}}class tl{constructor(e){qa(this,"metaCtor",el()),qa(this,"meta",void 0),this.meta=this.metaCtor.prototype,Object(R["extend"])(this.meta,za()),this.meta.instance=e}getMetaConstructor(){return this.metaCtor}getMeta(){return this.meta}updateMeta(e){var t;Object(R["extend"])(this.meta,e),Qa(this.meta,{...e,type:null!==(t=e.type)&&void 0!==t?t:this.meta.type},e)}}function nl(e,t,n){return(t=rl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){var t=il(e,"string");return"symbol"==typeof t?t:t+""}function il(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class ol{constructor(e){nl(this,"meta",void 0);const t=e.getMetaConstructor();this.meta=new t}getMeta(){return this.meta}updateMeta(e){Object(R["extend"])(this.meta,e),Qa(this.meta,e,e)}}function sl(e,t,n){return(t=al(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){var t=ll(e,"string");return"symbol"==typeof t?t:t+""}function ll(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class cl{constructor(e){sl(this,"valueFactory",void 0),sl(this,"data",[]),sl(this,"index",[]),sl(this,"holes",new Set),this.valueFactory=e}obtain(e){Ga(()=>Ka(e),"Expecting an unsigned number.");const t=this._getStorageIndexByKey(e);let n;if(t>=0)n=this.data[t],void 0===n&&(n=this.valueFactory(e),this.data[t]=n);else if(n=this.valueFactory(e),this.holes.size>0){const t=this.holes.values().next().value;this.holes.delete(t),this.data[t]=n,this.index[e]=t}else this.data.push(n),this.index[e]=this.data.length-1;return n}insert(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;Ga(()=>Ka(e)||Za(e),"Expecting an unsigned number or null/undefined argument.");const n=[],r=this.data.length;for(let o=0;o<t;o++)n.push(r+o),this.data.push(void 0);const i=Za(e)?this.index.length:e;this.index=[...this.index.slice(0,i),...n,...this.index.slice(i)]}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;Ga(()=>Ka(e)||Za(e),"Expecting an unsigned number or null/undefined argument.");const n=this.index.splice(Za(e)?this.index.length-t:e,t);for(let r=0;r<n.length;r++){const e=n[r];"number"===typeof e&&this.holes.add(e)}}size(){return this.data.length-this.holes.size}values(){return Object(W["arrayFilter"])(this.data,(e,t)=>!this.holes.has(t))[Symbol.iterator]()}entries(){const e=[];for(let n=0;n<this.data.length;n++){const t=this._getKeyByStorageIndex(n);-1!==t&&e.push([t,this.data[n]])}let t=0;return{next:()=>{if(t<e.length){const n=e[t];return t+=1,{value:n,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,n){return(t=dl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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 n=this.getMeta(e);Object(R["extend"])(n,t),Qa(n,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 Xa(this.globalMeta.getMetaConstructor(),pl).prototype}}function ml(e,t,n){return(t=Al(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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,n){const r=this.getMeta(e,t);Object(R["extend"])(r,n),Qa(r,n)}createRow(e,t){this.metas.insert(e,t)}createColumn(e,t){for(let n=0;n<this.metas.size();n++)this.metas.obtain(n).insert(e,t)}removeRow(e,t){this.metas.remove(e,t)}removeColumn(e,t){for(let n=0;n<this.metas.size();n++)this.metas.obtain(n).remove(e,t)}getMeta(e,t,n){const r=this.metas.obtain(e).obtain(t);return void 0===n?r:r[n]}setMeta(e,t,n,r){var i;const o=this.metas.obtain(e).obtain(t);null===(i=o._automaticallyAssignedMetaProps)||void 0===i||i.delete(n),o[n]=r}removeMeta(e,t,n){const r=this.metas.obtain(e).obtain(t);delete r[n]}getMetas(){const e=[],t=Array.from(this.metas.values());for(let n=0;n<t.length;n++)Object(o["isDefined"])(t[n])&&e.push(...t[n].values());return e}getMetasAtRow(e){Ga(()=>Ka(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 bl{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.hot=e,this.globalMeta=new tl(e),this.tableMeta=new ol(this.globalMeta),this.columnMeta=new fl(this.globalMeta),this.cellMeta=new _l(this.columnMeta),n.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,n){let{visualRow:r,visualColumn:i}=n;const o=this.cellMeta.getMeta(e,t);return o.visualRow=r,o.visualCol=i,o.row=e,o.col=t,this.runLocalHooks("afterGetCellMeta",o),o}getCellMetaKeyValue(e,t,n){if("string"!==typeof n)throw new Error("The passed cell meta object key is not a string");return this.cellMeta.getMeta(e,t,n)}setCellMeta(e,t,n,r){this.cellMeta.setMeta(e,t,n,r)}updateCellMeta(e,t,n){this.cellMeta.updateMeta(e,t,n)}removeCellMeta(e,t,n){this.cellMeta.removeMeta(e,t,n)}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 vl(e,t,n){return(t=wl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Object(R["mixin"])(bl,Io["a"]);class Rl{constructor(e){vl(this,"metaManager",void 0),vl(this,"metaSyncMemo",new Map),this.metaManager=e,e.addLocalHook("afterGetCellMeta",e=>this.extendCellMeta(e)),rs["a"].getSingleton().add("beforeRender",e=>{e&&this.metaSyncMemo.clear()},this.metaManager.hot)}extendCellMeta(e){var t;const{row:n,col:r}=e;if(null!==(t=this.metaSyncMemo.get(n))&&void 0!==t&&t.has(r))return;const{visualRow:o,visualCol:s}=e,a=this.metaManager.hot,l=a.colToProp(s);e.prop=l,a.runHooks("beforeGetCellMeta",o,s,e);const c=Object(R["hasOwnProperty"])(e,"type")?e.type:null;let u=Object(i["isFunction"])(e.cells)?e.cells(n,r,l):null;var d;c&&(u?u.type=null!==(d=u.type)&&void 0!==d?d:c:u={type:c});u&&this.metaManager.updateCellMeta(n,r,u),a.runHooks("afterGetCellMeta",o,s,e),this.metaSyncMemo.has(n)||this.metaSyncMemo.set(n,new Set),this.metaSyncMemo.get(n).add(r)}}function Ml(e,t,n){Sl(e,t),t.set(e,n)}function Sl(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function El(e,t,n){return(t=Tl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tl(e){var t=Cl(e,"string");return"symbol"==typeof t?t:t+""}function Cl(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Ol(e,t){return e.get(xl(e,t))}function xl(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Nl=new WeakMap;class Ll{constructor(e){El(this,"metaManager",void 0),El(this,"usageTracker",new Set),El(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}]])),Ml(this,Nl,(e,t,n)=>{if(!n)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:n,target:r,onChange:i}=e,o="string"===typeof r,s=o?r:t,a="_"+s;this.metaManager.globalMeta.meta[a]=this.metaManager.globalMeta.meta[s],i?(this.installPropWatcher(t,a,i),o&&this.installPropWatcher(r,a,i)):n&&(this.installPropWatcher(t,a,Ol(Nl,this)),this.metaManager.globalMeta.meta._initOnlySettings||(this.metaManager.globalMeta.meta._initOnlySettings=[]),this.metaManager.globalMeta.meta._initOnlySettings.push(t))})}installPropWatcher(e,t,n){const r=this;Object.defineProperty(this.metaManager.globalMeta.meta,e,{get(){return this[t]},set(i){const o=!r.usageTracker.has(e);r.usageTracker.add(e),n.call(r,e,i,o),this[t]=i},enumerable:!0,configurable:!0})}}var Il=n("3bc4");function Pl(e,t,n){return(t=Dl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dl(e){var t=Fl(e,"string");return"symbol"==typeof t?t:t+""}function Fl(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class kl{static get DESTINATION_RENDERER(){return 1}static get DESTINATION_CLIPBOARD_GENERATOR(){return 2}constructor(e,t,n){Pl(this,"hot",void 0),Pl(this,"metaManager",void 0),Pl(this,"tableMeta",void 0),Pl(this,"dataSource",void 0),Pl(this,"duckSchema",void 0),Pl(this,"colToPropCache",void 0),Pl(this,"propToColCache",void 0),this.hot=e,this.metaManager=n,this.tableMeta=n.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 n;if(this.colToPropCache=[],this.propToColCache=new Map,t){let r=0,i=0,o=!1;if("function"===typeof t){const t=Object(R["deepObjectSize"])(e);r=t>0?t:this.countFirstRowKeys(),o=!0}else{const e=this.tableMeta.maxCols;r=Math.min(e,t.length)}for(n=0;n<r;n++){const e=o?t(n):t[n];if(Object(R["isObject"])(e)){if("undefined"!==typeof e.data){const t=o?i:n;this.colToPropCache[t]=e.data,this.propToColCache.set(e.data,t)}i+=1}}}else this.recursiveDuckColumns(e)}countFirstRowKeys(){return Object(po["countFirstRowKeys"])(this.dataSource)}recursiveDuckColumns(e,t,n){let r,i=t,o=n;return"undefined"===typeof i&&(i=0,o=""),"object"!==typeof e||Array.isArray(e)||Object(R["objectEach"])(e,(e,t)=>{null===e?(r=o+t,this.colToPropCache.push(r),this.propToColCache.set(r,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(o["isDefined"])(this.colToPropCache[t])?this.colToPropCache[t]:t}propToCol(e){const t=this.propToColCache.get(e);if(Object(o["isDefined"])(t))return this.hot.toVisualColumn(t);const n=this.hot.toVisualColumn(e);return null===n?e:n}getSchema(){const e=this.tableMeta.dataSchema;return e?"function"===typeof e?e():e:this.duckSchema}createDuckSchema(){return this.dataSource&&this.dataSource[0]?Object(R["duckSchema"])(this.dataSource[0]):{}}refreshDuckSchema(){this.duckSchema=this.createDuckSchema()}createRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:n,mode:r="above"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=this.hot.countSourceRows();let o=i,s=0,a=e;("number"!==typeof a||a>=i)&&(a=i),a<this.hot.countRows()&&(o=this.hot.toPhysicalRow(a));const l=this.hot.runHooks("beforeCreateRow",a,t,n);if(!1===l||null===o)return{delta:0};const c=this.tableMeta.maxRows,u=this.getSchema().length,d=[];while(s<t&&i+s<c){let e=null;"array"===this.hot.dataType?this.tableMeta.dataSchema?e=Object(R["deepClone"])(this.getSchema()):(e=[],Object(Z["rangeEach"])(u-1,()=>e.push(null))):"function"===this.hot.dataType?e=this.tableMeta.dataSchema(a+s):(e={},Object(R["deepExtend"])(e,this.getSchema())),d.push(e),s+=1}this.hot.rowIndexMapper.insertIndexes(a,s),"below"===r&&(o=Math.min(o+1,i)),this.spliceData(o,0,d);const h=this.hot.toVisualRow(o);return this.hot.countSourceRows()===d.length&&this.hot.columnIndexMapper.initToLength(this.hot.getInitialColumnCount()),s>0&&(void 0===e||null===e?this.metaManager.createRow(null,s):"auto"!==n&&this.metaManager.createRow(o,t)),this.hot.runHooks("afterCreateRow",h,s,n),this.hot.forceFullRender=!0,{delta:s,startPhysicalIndex:o}}createCol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:n,mode:r="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,o=this.tableMeta.maxCols,s=this.hot.countSourceCols();let a=e;("number"!==typeof a||a>=s)&&(a=s);const l=this.hot.runHooks("beforeCreateCol",a,t,n);if(!1===l)return{delta:0};let c=s;a<this.hot.countCols()&&(c=this.hot.toPhysicalColumn(a));const u=this.hot.countSourceRows();let d=this.hot.countCols(),h=0,p=c;"end"===r&&(p=Math.min(p+1,s));const f=p;while(h<t&&d<o){if("number"!==typeof a||a>=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(a,h),h>0&&(void 0===e||null===e?this.metaManager.createColumn(null,h):"auto"!==n&&this.metaManager.createColumn(f,t));const m=this.hot.toVisualColumn(f);return this.hot.runHooks("afterCreateCol",m,h,n),this.hot.forceFullRender=!0,this.refreshDuckSchema(),{delta:h,startPhysicalIndex:f}}removeRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,r=Number.isInteger(e)?e:-t;const i=this.visualRowsToPhysical(r,t),s=this.hot.countSourceRows();r=(s+r)%s;const a=this.hot.runHooks("beforeRemoveRow",r,i.length,i,n);if(!1===a)return!1;const l=i.length;if(this.filterData(r,l,i),r<this.hot.countRows()){this.hot.rowIndexMapper.removeIndexes(i);const e=Object(o["isDefined"])(this.tableMeta.columns)||Object(o["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",r,l,i,n),this.hot.forceFullRender=!0,!0}removeCol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=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 r="number"!==typeof e?-t:e;r=(this.hot.countCols()+r)%this.hot.countCols();const i=this.visualColumnsToPhysical(r,t),o=i.slice(0).sort((e,t)=>t-e),s=this.hot.runHooks("beforeRemoveCol",r,t,i,n);if(!1===s)return!1;let a=!0;const l=o.length,c=this.dataSource;for(let u=0;u<l;u++)a&&i[0]!==i[u]-u&&(a=!1);if(a)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(o[e],1),0===u&&this.metaManager.removeColumn(o[e],1);return r<this.hot.countCols()&&(this.hot.columnIndexMapper.removeIndexes(i),0===this.hot.columnIndexMapper.getNotTrimmedIndexesLength()&&this.hot.rowIndexMapper.setIndexesSequence([])),this.hot.runHooks("afterRemoveCol",r,t,i,n),this.hot.forceFullRender=!0,this.refreshDuckSchema(),!0}spliceCol(e,t,n){const r=this.hot.getDataAtCol(e),i=r.slice(t,t+n),o=r.slice(t+n);for(var s=arguments.length,a=new Array(s>3?s-3:0),l=3;l<s;l++)a[l-3]=arguments[l];Object(W["extendArray"])(a,o);let c=0;while(c<n)a.push(null),c+=1;return Object(W["to2dArray"])(a),this.hot.populateFromArray(t,e,a,null,null,"spliceCol"),i}spliceRow(e,t,n){const r=this.hot.getSourceDataAtRow(e),i=r.slice(t,t+n),o=r.slice(t+n);for(var s=arguments.length,a=new Array(s>3?s-3:0),l=3;l<s;l++)a[l-3]=arguments[l];Object(W["extendArray"])(a,o);let c=0;while(c<n)a.push(null),c+=1;return this.hot.populateFromArray(e,t,[a],null,null,"spliceRow"),i}spliceData(e,t,n){const r=this.hot.runHooks("beforeDataSplice",e,t,n);if(!1!==r){const t=[...this.dataSource.slice(0,e),...n,...this.dataSource.slice(e)];this.dataSource.length=0,t.forEach(e=>this.dataSource.push(e))}}filterData(e,t,n){let r=this.hot.runHooks("filterData",e,t,n);!1===Array.isArray(r)&&(r=this.dataSource.filter((e,t)=>-1===n.indexOf(t))),this.dataSource.length=0,Array.prototype.push.apply(this.dataSource,r)}get(e,t){const n=this.hot.toPhysicalRow(e);let r=this.dataSource[n];const i=this.hot.runHooks("modifyRowData",n);r=isNaN(i)?i:r;const{dataDotNotation:o}=this.hot.getSettings();let s=null;if(r&&r.hasOwnProperty&&Object(R["hasOwnProperty"])(r,t))s=r[t];else if(o&&"string"===typeof t&&t.indexOf(".")>-1){let e=r;if(!e)return null;const n=t.split(".");for(let t=0,r=n.length;t<r;t++)if(e=e[n[t]],"undefined"===typeof e)return null;s=e}else"function"===typeof t&&(s=t(this.dataSource.slice(n,n+1)[0]));if(this.hot.hasHook("modifyData")){const e=Object(R["createObjectPropListener"])(s);this.hot.runHooks("modifyData",n,this.propToCol(t),e,"get"),e.isTouched()&&(s=e.value)}return s}getCopyable(e,t){return this.hot.getCellMeta(e,this.propToCol(t)).copyable?this.get(e,t):""}set(e,t,n){const r=this.hot.toPhysicalRow(e);let i=n,o=this.dataSource[r];const s=this.hot.runHooks("modifyRowData",r);if(o=isNaN(s)?s:o,this.hot.hasHook("modifyData")){const e=Object(R["createObjectPropListener"])(i);this.hot.runHooks("modifyData",r,this.propToCol(t),e,"set"),e.isTouched()&&(i=e.value)}const{dataDotNotation:a}=this.hot.getSettings();if(o&&o.hasOwnProperty&&Object(R["hasOwnProperty"])(o,t))o[t]=i;else if(a&&"string"===typeof t&&t.indexOf(".")>-1){let e,n=o,r=0;const s=t.split(".");for(r=0,e=s.length-1;r<e;r++)"undefined"===typeof n[s[r]]&&(n[s[r]]={}),n=n[s[r]];n[s[r]]=i}else"function"===typeof t?t(this.dataSource.slice(r,r+1)[0],i):o[t]=i}visualRowsToPhysical(e,t){const n=this.hot.countSourceRows(),r=[];let i,o=(n+e)%n,s=t;while(o<n&&s)i=this.hot.toPhysicalRow(o),r.push(i),s-=1,o+=1;return r}visualColumnsToPhysical(e,t){const n=this.hot.countCols(),r=[];let i=(n+e)%n,o=t;while(i<n&&o){const e=this.hot.toPhysicalColumn(i);r.push(e),o-=1,i+=1}return r}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 n=this.hot.rowIndexMapper.getNotTrimmedIndexesLength();return Math.min(n,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,kl.DESTINATION_RENDERER):[]}countCachedColumns(){return this.colToPropCache.length}getRange(e,t,n){const r=[];let i,o,s;const a=this.tableMeta.maxRows,l=this.tableMeta.maxCols;if(0===a||0===l)return[];const c=n===kl.DESTINATION_CLIPBOARD_GENERATOR?this.getCopyable:this.get,u=Math.min(Math.max(a-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++){s=[];const n=i>=0?this.hot.toPhysicalRow(i):i;for(o=Math.min(e.col,t.col);o<=d;o++){if(null===n)break;s.push(c.call(this,i,this.colToProp(o)))}null!==n&&r.push(s)}return r}getText(e,t){return Object(Il["b"])(this.getRange(e,t,kl.DESTINATION_RENDERER))}getCopyableText(e,t){return Object(Il["b"])(this.getRange(e,t,kl.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 Bl=kl;function Ul(e,t,n,o){const{hotInstance:s,dataMap:a,dataSource:l,internalSource:c,source:u,metaManager:d,firstRun:h}=o,p=Object(G["toUpperCaseFirst"])(c),f=s.getSettings();Array.isArray(f.dataSchema)?s.dataType="array":Object(i["isFunction"])(f.dataSchema)?s.dataType="function":s.dataType="object",a&&a.destroy(),e=s.runHooks("before"+p,e,h,u);const m=new Bl(s,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 n;e=[];let r=0,i=0;for(r=0,i=f.startRows;r<i;r++)if("object"!==s.dataType&&"function"!==s.dataType||!f.dataSchema)if("array"===s.dataType)n=Object(R["deepClone"])(t[0]),e.push(n);else{n=[];for(let e=0,t=f.startCols;e<t;e++)n.push(null);e.push(n)}else n=Object(R["deepClone"])(t),e.push(n)}}Array.isArray(e[0])&&(s.dataType="array"),f.data=e,m.dataSource=e,l.data=e,l.dataType=s.dataType,l.colToProp=m.colToProp.bind(m),l.propToCol=m.propToCol.bind(m),l.countCachedColumns=m.countCachedColumns.bind(m),n(m),s.runHooks("after"+p,e,h,u),h||(s.runHooks("afterChange",null,c),s.render()),s.getSettings().ariaTags&&Object(r["setAttribute"])(s.rootElement,[Object(Ge["C"])(-1),Object(Ge["e"])(s.countCols()+(s.view?s.countRowHeaders():0))])}function Hl(e){return t=>{let{col:n}=t;e.scrollViewportTo({col:n})}}function jl(){return()=>{}}function Vl(e){return t=>{e.scrollViewportTo(t.toObject())}}function Wl(e){return t=>{e.scrollViewportTo(t.toObject())}}function Yl(e){return t=>{e.scrollViewportTo(t.toObject())}}function Ql(e){return t=>{let{row:n}=t;e.scrollViewportTo({row:n})}}function Xl(e){return t=>{const n=e.selection.getSelectionSource(),{row:r,col:i}=t;if(r<0&&i>=0)e.scrollViewportTo({col:i});else if(i<0&&r>=0)e.scrollViewportTo({row:r});else{if("mouse"===n&&(i===e.view.getLastPartiallyVisibleColumn()||r===e.view.getLastPartiallyVisibleRow()))return;e.scrollViewportTo({row:r,col:i})}}}function Kl(e){const{selection:t}=e;let n=!1,r=!1;return{resume(){r=!1},suspend(){r=!0},skipNextScrollCycle(){n=!0},scrollTo(i){var o;if(n||r)return void(n=!1);let s;t.isFocusSelectionChanged()?s=Vl(e):t.isSelectedByCorner()?s=jl(e):t.isSelectedByRowHeader()?s=Ql(e):t.isSelectedByColumnHeader()?s=Hl(e):1===t.getSelectedRange().size()&&t.isMultiple()?s=Wl(e):1!==t.getSelectedRange().size()||t.isMultiple()?t.getSelectedRange().size()>1&&(s=Yl(e)):s=Xl(e),null===(o=s)||void 0===o||o(i)}}}var Gl=n("c4fa");function Zl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.rootElement,r=zl(e),i=zl(e);return r.addEventListener("focus",()=>null===t||void 0===t?void 0:t.onFocusFromTop()),i.addEventListener("focus",()=>null===t||void 0===t?void 0:t.onFocusFromBottom()),n.firstChild.before(r),n.lastChild.after(i),{activate(){e._registerTimeout(()=>{r.tabIndex=0,i.tabIndex=0},10)},deactivate(){e._registerTimeout(()=>{r.tabIndex=-1,i.tabIndex=-1},10)}}}function zl(e){const t=e.rootDocument,n=t.createElement("input");return n.type="text",n.classList.add("htFocusCatcher"),e.getSettings().ariaTags&&Object(r["setAttribute"])(n,[Object(Ge["y"])(),Object(Ge["n"])()]),n}function ql(e){const t=ec(e);let n;const{activate:r,deactivate:i}=Zl(e,{onFocusFromTop(){var r;const i=null!==(r=t(n))&&void 0!==r?r:Jl(e);i&&(e.runHooks("modifyFocusOnTabNavigation","from_above",i),e.selectCell(i.row,i.col)),e.listen()},onFocusFromBottom(){var r;const i=null!==(r=t(n))&&void 0!==r?r:$l(e);i&&(e.runHooks("modifyFocusOnTabNavigation","from_below",i),e.selectCell(i.row,i.col)),e.listen()}}),o={wrapped:!1,flipped:!1};let s=!0,a=!1,l=!1;function c(){o.wrapped=!1,o.flipped=!1,e.deselectCell(),e.unlisten()}e.addHook("afterListen",()=>i()),e.addHook("afterUnlisten",()=>r()),e.addHook("afterSelection",(t,r,i,c,u)=>{var d;(a&&(o.wrapped&&o.flipped||l)&&(l=!1,u.value=!0),s)&&(n=null===(d=e.getSelectedRangeLast())||void 0===d?void 0:d.highlight)}),e.addHook("beforeRowWrap",(e,t,n)=>{o.wrapped=!0,o.flipped=n});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();a=!0,e.getSelectedRangeLast()&&!t&&(s=!1),t||(l=!0)},position:"before"},{...u,callback:t=>{const{tabNavigation:r,autoWrapRow:i}=e.getSettings();if(a=!1,s=!0,!r||!e.selection.isSelected()||i&&o.wrapped&&o.flipped||!i&&o.wrapped)return i&&o.wrapped&&o.flipped&&(n=t.shiftKey?Jl(e):$l(e)),c(),!1;t.preventDefault()},position:"after"}])}function Jl(e){const{rowIndexMapper:t,columnIndexMapper:n}=e,{navigableHeaders:r}=e.getSettings();let i=r&&e.countColHeaders()>0?-e.countColHeaders():0,o=r&&e.countRowHeaders()>0?-e.countRowHeaders():0;return 0===i&&(i=t.getVisualFromRenderableIndex(i)),0===o&&(o=n.getVisualFromRenderableIndex(o)),null===i||null===o?null:e._createCellCoords(i,o)}function $l(e){var t,n;const{rowIndexMapper:r,columnIndexMapper:i}=e,{navigableHeaders:o}=e.getSettings();let s=r.getRenderableIndexesLength()-1,a=i.getRenderableIndexesLength()-1;if(s<0){if(!o||0===e.countColHeaders())return null;s=-1}if(a<0){if(!o||0===e.countColHeaders())return null;a=-1}return e._createCellCoords(null!==(t=r.getVisualFromRenderableIndex(s))&&void 0!==t?t:s,null!==(n=i.getVisualFromRenderableIndex(a))&&void 0!==n?n:a)}function ec(e){return t=>{if(!t)return null;const n=Jl(e),r=$l(e);return t.col<n.col&&(t.col=n.col),t.col>r.col&&(t.col=r.col),t.row<n.row&&(t.row=n.row),t.row>r.row&&(t.row=r.row),t}}var tc=n("6906");const nc=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"]]),rc=e=>e.map(e=>{const t=e.toLowerCase();return nc.has(t)?nc.get(t):t}).sort().join("+"),ic=e=>e.split("+"),oc=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"]]),sc=e=>{let{which:t,key:n}=e;if(oc.has(t))return oc.get(t);const r=String.fromCharCode(t).toLowerCase();return/^[a-z0-9]$/.test(r)?r:n.toLowerCase()},ac=Symbol("shortcut-context");function lc(e){return Object(R["isObject"])(e)&&e.__kindOf===ac}const cc=e=>{const t=Object(tc["a"])({errorIdExists:t=>`The "${t}" shortcut is already registered in the "${e}" context.`}),n=function(){let{keys:e,callback:n,group:r,runOnlyIf:s=(()=>!0),captureCtrl:a=!1,preventDefault:l=!0,stopPropagation:c=!1,relativeToGroup:u,position:d,forwardToContext:h}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object(o["isUndefined"])(r))throw new Error("You need to define the shortcut's group.");if(!1===Object(i["isFunction"])(n))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
  577. using the KeyboardEvent.key properties:\x20
  578. https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values.`);const p={callback:n,group:r,runOnlyIf:s,captureCtrl:a,preventDefault:l,stopPropagation:c};Object(o["isDefined"])(u)&&(p.relativeToGroup=u,p.position=d),lc(h)&&(p.forwardToContext=h),e.forEach(e=>{const n=rc(e),r=t.hasItem(n);if(r){const e=t.getItem(n);let r=e.findIndex(e=>e.group===u);-1!==r?"before"===d?r-=1:r+=1:r=e.length,e.splice(r,0,p)}else t.addItem(n,[p])})},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach(e=>{Object(R["objectEach"])(t,(n,r)=>{!1===Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=t[r])}),n(e)})},s=e=>{const n=rc(e);t.removeItem(n)},a=e=>{const n=t.getItems();n.forEach(t=>{let[n,r]=t;const i=r.filter(t=>t.group!==e);0===i.length?s(ic(n)):(r.length=0,r.push(...i))})},l=e=>{const n=rc(e),r=t.getItem(n);return Object(o["isDefined"])(r)?r.slice():[]},c=e=>{const n=rc(e);return t.hasItem(n)};return{__kindOf:ac,addShortcut:n,addShortcuts:r,getShortcuts:l,hasShortcut:c,removeShortcutsByKeys:s,removeShortcutsByGroup:a}};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,n,i,o){const a=e=>dc.includes(e),c=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[];return e.altKey&&n.push("alt"),t&&(e.ctrlKey||e.metaKey)?n.push("control/meta"):(e.ctrlKey&&n.push("control"),e.metaKey&&n.push("meta")),e.shiftKey&&n.push("shift"),n},u=e=>{if(!1===t(e))return;const r=n(e);if(229===e.keyCode||!1===r||Object(l["isImmediatePropagationStopped"])(e))return;const u=sc(e);let d=[];a(u)||(d=c(e));const h=[u].concat(d),p=o(e,h);!p&&(Object(s["isMacOS"])()&&d.includes("meta")||!Object(s["isMacOS"])()&&d.includes("control"))&&o(e,[u].concat(c(e,!0))),i(e)},d=e=>{if(e.key){const t=sc(e);a(t)&&hc.press(t)}},h=e=>{if(e.key){const t=sc(e);a(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(r["getParentWindow"])(t)},m=()=>{let t=e;fc-=1;while(t){if(0===fc){for(let e=0;e<pc.length;e++){const{event:n,listener:r}=pc[e];t.document.documentElement.removeEventListener(n,r)}pc.length=0}t.document.documentElement.removeEventListener("keydown",u),t.document.documentElement.removeEventListener("blur",p),t=Object(r["getParentWindow"])(t)}};return{mount:f,unmount:m,isPressed:e=>hc.isPressed(e),releasePressedKeys:()=>hc.releaseAll()}}const Ac=e=>{let{ownerWindow:t,handleEvent:n,beforeKeyDown:r,afterKeyDown:i}=e;const o=Object(tc["a"])({errorIdExists:e=>`The "${e}" context name is already registered.`});let s="grid";const a=e=>{const t=cc(e);return o.addItem(e,t),t},c=()=>s,u=e=>o.getItem(e),d=e=>{if(!o.hasItem(e))throw new Error(et["a"]`You've tried to activate the "${e}" shortcut context\x20
  579. that does not exist. Before activation, register the context using the "addContext" method.`);s=e};let h=!1;const p=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c();const r=lc(n)?n:u(n);let i=!1;if(!r.hasShortcut(t))return i;const o=r.getShortcuts(t);for(let s=0;s<o.length;s++){const{callback:n,runOnlyIf:r,preventDefault:a,stopPropagation:c,captureCtrl:u,forwardToContext:d}=o[s];if(!0===r(e)){if(h=u,i=!1===n(e,t),h=!1,a&&e.preventDefault(),c&&(Object(l["stopImmediatePropagation"])(e),e.stopPropagation()),i)break;d&&p(e,t,d)}}return i},f=mc(t,n,r,i,p);return f.mount(),{addContext:a,getActiveContextName:c,getContext:u,setActiveContextName:d,isCtrlPressed:()=>!h&&(f.isPressed("control")||f.isPressed("meta")),releasePressedKeys:()=>f.releasePressedKeys(),destroy:()=>f.unmount()}};var gc=n("1e8c");let _c=null;const bc=new Map;new Set;function vc(e,t){var n,a=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,_,b=!0;Wi(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 v=null!==(n=null===t||void 0===t?void 0:t.layoutDirection)&&void 0!==n?n:"inherit",w=["rtl","ltr"].includes(v)?v: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=Os(t.language);const M=new bl(d,t,[Rl,Ll]),S=M.getTableMeta(),E=M.getGlobalMeta(),T=Object(tc["a"])();this.container=this.rootDocument.createElement("div"),this.renderCall=!1,e.insertBefore(this.container,e.firstChild),Yi(this)&&Object(o["_injectProductInfo"])(t.licenseKey,e),this.guid="ht_"+Object(G["randomString"])(),bc.set(this.guid,this),this.columnIndexMapper=new ns,this.rowIndexMapper=new ns,this.columnIndexMapper.addLocalHook("indexesSequenceChange",e=>{d.runHooks("afterColumnSequenceChange",e)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",e=>{d.runHooks("afterRowSequenceChange",e)}),f=new _o(d),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);const C=e=>{const{row:t,col:n}=e;return d._createCellCoords(t>=0?d.rowIndexMapper.getRenderableFromVisualIndex(t):t,n>=0?d.columnIndexMapper.getRenderableFromVisualIndex(n):n)},O=e=>{const{row:t,col:n}=e;return d._createCellCoords(t>=0?d.rowIndexMapper.getVisualFromRenderableIndex(t):t,n>=0?d.columnIndexMapper.getVisualFromRenderableIndex(n):n)},x=(e,t)=>{const n=t>e?1:-1,r=Math.min(e,t),i=Math.max(e,t),o=d.rowIndexMapper.getNearestNotHiddenIndex(e,n);return null===o||1===n&&o>i||-1===n&&o<r?null:o>=0?d.rowIndexMapper.getRenderableFromVisualIndex(o):o},N=(e,t)=>{const n=t>e?1:-1,r=Math.min(e,t),i=Math.max(e,t),o=d.columnIndexMapper.getNearestNotHiddenIndex(e,n);return null===o||1===n&&o>i||-1===n&&o<r?null:o>=0?d.columnIndexMapper.getRenderableFromVisualIndex(o):o};let L=new Va(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 a.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return a.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>d.getShortcutManager(),createCellCoords:(e,t)=>d._createCellCoords(e,t),createCellRange:(e,t,n)=>d._createCellRange(e,t,n),visualToRenderableCoords:C,renderableToVisualCoords:O,findFirstNonHiddenRenderableRow:x,findFirstNonHiddenRenderableColumn:N,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 P(e){const t=os(e);Ss(t)?(d.runHooks("beforeLanguageChange",t),E.language=t,d.runHooks("afterLanguageChange",t)):ss(e)}function D(e,t){const n="className"===e?d.rootElement:d.table;if(b)Object(r["addClass"])(n,t);else{let i=[],o=[];E[e]&&(i=Array.isArray(E[e])?E[e]:Object(W["stringToArray"])(E[e])),t&&(o=Array.isArray(t)?t:Object(W["stringToArray"])(t));const s=Object(W["getDifferenceOfArrays"])(i,o),a=Object(W["getDifferenceOfArrays"])(o,i);s.length&&Object(r["removeClass"])(n,s),a.length&&Object(r["addClass"])(n,a)}E[e]=t}function F(){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 k(e){const t=e.replace(",",".");return!1===isNaN(parseFloat(t))?parseFloat(t):e}function U(e,t,n){if(!e.length)return void n();const r=d.getActiveEditor(),i=new F;let o=!0;i.onQueueEmpty=()=>{r&&o&&r.cancelChanges(),n()};for(let s=e.length-1;s>=0;s--){const[n,r,,a]=e[s],l=p.propToCol(r);let c;c=Number.isInteger(l)?d.getCellMeta(n,l):{...Object.getPrototypeOf(S),...S},"numeric"===c.type&&"string"===typeof a&&Object(Z["isNumericLike"])(a)&&(e[s][3]=k(a)),d.getCellValidator(c)&&(i.addValidatorToQueue(),d.validateCell(e[s][3],c,function(t,n){return function(r){if("boolean"!==typeof r)throw new Error("Validation error: result is not boolean");!1===r&&!1===n.allowInvalid&&(o=!1,e.splice(t,1),n.valid=!0),i.removeValidatorFormQueue()}}(s,c),t))}i.checkIfQueueIsEmpty()}function H(e,t){for(let r=e.length-1;r>=0;r--){let n=!1;if(null!==e[r]){if(null!==e[r][2]&&void 0!==e[r][2]||null!==e[r][3]&&void 0!==e[r][3]){if(S.allowInsertRow)while(e[r][0]>d.countRows()-1){const{delta:e}=p.createRow(void 0,void 0,{source:t});if(0===e){n=!0;break}}if("array"===d.dataType&&(!S.columns||0===S.columns.length)&&S.allowInsertColumn)while(p.propToCol(e[r][1])>d.countCols()-1){const{delta:e}=p.createCol(void 0,void 0,{source:t});if(0===e){n=!0;break}}n||p.set(e[r][0],e[r][1],e[r][3])}}else e.splice(r,1)}const n=e.length>0;if(d.forceFullRender=!0,n){m.adjustRowsAndCols(),d.runHooks("beforeChangeRender",e,t),A.closeEditor(),d.view.render(),A.prepareEditor(),d.view.adjustElementsSize(),d.runHooks("afterChange",e,t||"edit");const n=d.getActiveEditor();n&&Object(o["isDefined"])(n.refreshValue)&&n.refreshValue()}else d.view.render()}function j(e,t,n){return Array.isArray(e)?e:[[e,t,n]]}function V(e,t){const n=d.getActiveEditor(),r=d.runHooks("beforeChange",e,t||"edit"),i=e.filter(e=>null!==e);return!1===r||0===i.length?(n&&n.cancelChanges(),[]):i}this.columnIndexMapper.addLocalHook("cacheUpdated",I),this.rowIndexMapper.addLocalHook("cacheUpdated",I),this.selection.addLocalHook("afterSetRangeEnd",(e,t)=>{const n=Object(R["createObjectPropListener"])(!1),i=this.selection.getSelectedRange(),{from:o,to:s}=i.current(),a=i.size()-1;this.runHooks("afterSelection",o.row,o.col,s.row,s.col,n,a),this.runHooks("afterSelectionByProp",o.row,d.colToProp(o.col),s.row,d.colToProp(s.col),n,a),t&&(!n.isTouched()||n.isTouched()&&!n.value)&&_.scrollTo(e);const l=L.isSelectedByRowHeader(),c=L.isSelectedByColumnHeader();l&&c?Object(r["addClass"])(this.rootElement,["ht__selection--rows","ht__selection--columns"]):l?(Object(r["removeClass"])(this.rootElement,"ht__selection--columns"),Object(r["addClass"])(this.rootElement,"ht__selection--rows")):c?(Object(r["removeClass"])(this.rootElement,"ht__selection--rows"),Object(r["addClass"])(this.rootElement,"ht__selection--columns")):Object(r["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(R["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:n,to:r}=e[t];this.runHooks("afterSelectionEnd",n.row,n.col,r.row,r.col,t),this.runHooks("afterSelectionEndByProp",n.row,d.colToProp(n.col),r.row,d.colToProp(r.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(r["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),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("beforeSetRangeStart",...t)})).addLocalHook("beforeSetRangeStartOnly",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("beforeSetRangeStartOnly",...t)})).addLocalHook("beforeSetRangeEnd",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("beforeSetRangeEnd",...t)})).addLocalHook("beforeSelectColumns",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("beforeSelectColumns",...t)})).addLocalHook("afterSelectColumns",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("afterSelectColumns",...t)})).addLocalHook("beforeSelectRows",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("beforeSelectRows",...t)})).addLocalHook("afterSelectRows",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("afterSelectRows",...t)})).addLocalHook("beforeModifyTransformStart",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("modifyTransformStart",...t)})).addLocalHook("afterModifyTransformStart",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("afterModifyTransformStart",...t)})).addLocalHook("beforeModifyTransformFocus",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("modifyTransformFocus",...t)})).addLocalHook("afterModifyTransformFocus",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("afterModifyTransformFocus",...t)})).addLocalHook("beforeModifyTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("modifyTransformEnd",...t)})).addLocalHook("afterModifyTransformEnd",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("afterModifyTransformEnd",...t)})).addLocalHook("beforeRowWrap",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.runHooks("beforeRowWrap",...t)})).addLocalHook("beforeColumnWrap",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a.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 n,r;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;const l=e=>{if(0===e.length)return[];const t=[...e];t.sort((e,t)=>{let[n]=e,[r]=t;return n===r?0:n>r?1:-1});const n=Object(W["arrayReduce"])(t,(e,t)=>{let[n,r]=t;const i=e[e.length-1],[o,s]=i,a=o+s;if(n<=a){const e=Math.max(r-(a-n),0);i[1]+=e}else e.push([n,r]);return e},[t[0]]);return n};switch(e){case"insert_row_below":case"insert_row_above":const a=d.countSourceRows();if(S.maxRows===a)return;const c="insert_row_below"===e?"below":"above";t=null!==(n=t)&&void 0!==n?n:"below"===c?a:0;const{delta:u,startPhysicalIndex:h}=p.createRow(t,i,{source:s,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!==(r=t)&&void 0!==r?r:"end"===f?d.countSourceCols():0;const{delta:m,startPhysicalIndex:g}=p.createCol(t,i,{source:s,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(W["arrayEach"])(e,e=>{let[n,r]=e;const i=Object(o["isEmpty"])(n)?d.countRows()-1:Math.max(n-t,0);Number.isInteger(n)&&(n=Math.max(n-t,0));const a=p.removeRow(n,r,s);if(!a)return;if(L.isSelected()){const{row:e}=d.getSelectedRangeLast().highlight;e>=n&&e<=n+r-1&&A.closeEditor(!0)}const l=d.countRows();0===l?L.deselect():"ContextMenu.removeRow"===s?L.refresh():L.shiftRows(n,-r);const c=S.fixedRowsTop;c>=i+1&&(S.fixedRowsTop-=Math.min(r,c-i));const u=S.fixedRowsBottom;u&&i>=l-u&&(S.fixedRowsBottom-=Math.min(r,u)),t+=r})};Array.isArray(t)?_(l(t)):_([[t,i]]);break;case"remove_col":const b=e=>{let t=0;Object(W["arrayEach"])(e,e=>{let[n,r]=e;const i=Object(o["isEmpty"])(n)?d.countCols()-1:Math.max(n-t,0);let a=d.toPhysicalColumn(i);Number.isInteger(n)&&(n=Math.max(n-t,0));const l=p.removeCol(n,r,s);if(!l)return;if(L.isSelected()){const{col:e}=d.getSelectedRangeLast().highlight;e>=n&&e<=n+r-1&&A.closeEditor(!0)}const c=d.countCols();0===c?L.deselect():"ContextMenu.removeColumn"===s?L.refresh():L.shiftColumns(n,-r);const u=S.fixedColumnsStart;u>=i+1&&(S.fixedColumnsStart-=Math.min(r,u-i)),Array.isArray(S.colHeaders)&&("undefined"===typeof a&&(a=-1),S.colHeaders.splice(a,r)),t+=r})};Array.isArray(t)?b(l(t)):b([[t,i]]);break;default:throw new Error(`There is no such action "${e}"`)}d.view.render(),a||m.adjustRowsAndCols()},adjustRowsAndCols(){const e=S.minRows,t=S.minSpareRows,n=S.minCols,r=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 n=t-e,r=Math.min(n,S.maxRows-d.countSourceRows());p.createRow(d.countRows(),r,{source:"auto"})}}{let e;(n||r)&&(e=d.countEmptyCols(!0));let t=d.countCols();if(n&&!S.columns&&t<n){const r=n-t;e+=r,p.createCol(t,r,{source:"auto"})}if(r&&!S.columns&&"array"===d.dataType&&e<r){t=d.countCols();const n=r-e,i=Math.min(n,S.maxCols-t);p.createCol(t,i,{source:"auto"})}}d.view&&d.view.adjustElementsSize()},populateFromArray(e,t,n,r,i){let o,s,a,l;const c=[],u={},h=[],p=e.row,f=e.col;if(s=t.length,0===s)return!1;let m=0,A=0;switch(Object(R["isObject"])(n)&&(m=n.col-f+1,A=n.row-p+1),i){case"shift_down":const i=Object(W["pivot"])(t),g=i.length,_=Math.max(g,m),b=d.getData().slice(p),v=Object(W["pivot"])(b).slice(f,f+_);for(a=0;a<_;a+=1)if(a<g){for(o=0,s=i[a].length;o<A-s;o+=1)i[a].push(i[a][o%s]);a<v.length?h.push(i[a].concat(v[a])):h.push(i[a].concat(new Array(b.length).fill(null)))}else h.push(i[a%g].concat(v[a]));d.populateFromArray(p,f,Object(W["pivot"])(h));break;case"shift_right":const w=t.length,y=Math.max(w,A),M=d.getData().slice(p).map(e=>e.slice(f));for(o=0;o<y;o+=1)if(o<w){for(a=0,l=t[o].length;a<m-l;a+=1)t[o].push(t[o][a%l]);if(o<M.length)for(let e=0;e<M[o].length;e+=1)t[o].push(M[o][e]);else t[o].push(...new Array(M[0].length).fill(null))}else t.push(t[o%s].slice(0,y).concat(M[o]));d.populateFromArray(p,f,t);break;case"overwrite":default:u.row=e.row,u.col=e.col;let E,T=0,C=0,O=!0;const x=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=t[e%t.length];return null!==n?r[n%r.length]:r},N=t.length,L=n?n.row-e.row+1:0;for(s=n?L:Math.max(N,L),o=0;o<s;o++){if(n&&u.row>n.row&&L>N||!S.allowInsertRow&&u.row>d.countRows()-1||u.row>=S.maxRows)break;const t=o-T,i=x(t).length,h=n?n.col-e.col+1:0;if(l=n?h:Math.max(i,h),u.col=e.col,E=d.getCellMeta(u.row,u.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!E.skipRowOnPaste){for(C=0,a=0;a<l;a++){if(n&&u.col>n.col&&h>i||!S.allowInsertColumn&&u.col>d.countCols()-1||u.col>=S.maxCols)break;if(E=d.getCellMeta(u.row,u.col),("CopyPaste.paste"===r||"Autofill.fill"===r)&&E.skipColumnOnPaste){C+=1,u.col+=1,l+=1;continue}if(E.readOnly&&"UndoRedo.undo"!==r){u.col+=1;continue}const e=a-C;let o=x(t,e),s=d.getDataAtCell(u.row,u.col);if(null!==o&&"object"===typeof o)if(Array.isArray(o)&&null===s&&(s=[]),null===s||"object"!==typeof s)O=!1;else{const e=Object(R["duckSchema"])(Array.isArray(s)?s:s[0]||s),t=Object(R["duckSchema"])(Array.isArray(o)?o:o[0]||o);Object(R["isObjectEqual"])(e,t)||Array.isArray(e)&&Array.isArray(t)?o=Object(R["deepClone"])(o):O=!1}else null!==s&&"object"===typeof s&&(O=!1);O&&c.push([u.row,u.col,o]),O=!0,u.col+=1}u.row+=1}else T+=1,u.row+=1,s+=1}d.setDataAtCell(c,null,null,r||"populateFromArray");break}}},this.init=function(){f.setData(S.data),d.runHooks("beforeInit"),(Object(s["isMobileBrowser"])()||Object(s["isIpadOS"])())&&Object(r["addClass"])(d.rootElement,"mobile"),this.updateSettings(S,!0),this.view=new ho(this),A=y.getInstance(d,S,L),_=Kl(d),g=new B(d),Yi(this)&&ql(d),d.runHooks("init"),this.forceFullRender=!0,this.view.render(),b&&null===d.rootElement.offsetParent&&Object(r["observeVisibilityChangeOnce"])(d.rootElement,()=>{d.view._wt.wtOverlays.updateLastSpreaderSize(),d.render(),d.view.adjustElementsSize()}),"object"===typeof b&&(d.runHooks("afterChange",b[0],b[1]),b=!1),d.runHooks("afterInit")},this._createCellCoords=function(e,t){return d.view._wt.createCellCoords(e,t)},this._createCellRange=function(e,t,n){return d.view._wt.createCellRange(e,t,n)},this.validateCell=function(e,t,n,r){let s=d.getCellValidator(t);function a(e){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!r||!0===t.hidden)return void n(e);const i=t.visualCol,o=t.visualRow,s=d.getCell(o,i,!0);if(s&&"TH"!==s.nodeName){const e=d.rowIndexMapper.getRenderableFromVisualIndex(o),t=d.columnIndexMapper.getRenderableFromVisualIndex(i);d.view._wt.getSetting("cellRenderer",e,t,s)}n(e)}Object(o["isRegExp"])(s)&&(s=function(e){return function(t,n){n(e.test(t))}}(s)),Object(i["isFunction"])(s)?(e=d.runHooks("beforeValidate",e,t.visualRow,t.prop,r),d._registerImmediate(()=>{s.call(t,e,n=>{d&&(n=d.runHooks("afterValidate",n,e,t.visualRow,t.prop,r),t.valid=n,a(n),d.runHooks("postAfterValidate",n,e,t.visualRow,t.prop,r))})})):d._registerImmediate(()=>{t.valid=!0,a(t.valid,!1)})},this.setDataAtCell=function(e,t,n,r){const i=j(e,t,n),o=[];let s,a,l,c=r;for(s=0,a=i.length;s<a;s++){if("object"!==typeof i[s])throw new Error("Method `setDataAtCell` accepts row number or changes array of arrays as its first parameter");if("number"!==typeof i[s][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[s][1]>=this.countCols()?i[s][1]:p.colToProp(i[s][1]),o.push([i[s][0],l,f.getAtCell(this.toPhysicalRow(i[s][0]),i[s][1]),i[s][2]])}c||"object"!==typeof e||(c=t);const u=V(o,r);d.runHooks("afterSetDataAtCell",u,c),U(u,c,()=>{H(u,c)})},this.setDataAtRowProp=function(e,t,n,r){const i=j(e,t,n),o=[];let s,a,l=r;for(s=0,a=i.length;s<a;s++)o.push([i[s][0],i[s][1],f.getAtCell(this.toPhysicalRow(i[s][0]),i[s][1]),i[s][2]]);l||"object"!==typeof e||(l=t);const c=V(o,r);d.runHooks("afterSetDataAtRowProp",c,l),U(c,l,()=>{H(c,l)})},this.listen=function(){d&&!d.isListening()&&(bc.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,n,r,i,o,s){if("object"!==typeof n||"object"!==typeof n[0])throw new Error("populateFromArray parameter `input` must be an array of arrays");const a="number"===typeof r?d._createCellCoords(r,i):null;return m.populateFromArray(d._createCellCoords(e,t),n,a,o,s)},this.spliceCol=function(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];return p.spliceCol(e,t,n,...i)},this.spliceRow=function(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];return p.spliceRow(e,t,n,...i)},this.getSelected=function(){if(L.isSelected())return Object(W["arrayMap"])(L.getSelectedRange(),e=>{let{from:t,to:n}=e;return[t.row,t.col,n.row,n.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(W["arrayEach"])(L.getSelectedRange(),e=>{if(e.isSingleHeader())return;const n=e.getTopStartCorner(),r=e.getBottomEndCorner();Object(Z["rangeEach"])(n.row,r.row,e=>{Object(Z["rangeEach"])(n.col,r.col,n=>{this.getCellMeta(e,n).readOnly||t.push([e,n,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 n=e();return this.resumeExecution(t),n},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:n,height:r}=d.rootElement.getBoundingClientRect(),i=n!==e||r!==t,o=!1===d.runHooks("beforeRefreshDimensions",{width:e,height:t},{width:n,height:r},i);o||((i||d.view._wt.wtOverlays.scrollableElement===d.rootWindow)&&(d.view.setLastSize(n,r),d.render()),d.runHooks("afterRefreshDimensions",{width:e,height:t},{width:n,height:r},i))},this.updateData=function(e,t){Ul(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:M,firstRun:b})},this.loadData=function(e,t){Ul(e,e=>{p=e},()=>{M.clearCellsCache(),d.initIndexMappers(),m.adjustRowsAndCols(),L.refresh(),b&&(b=[null,"loadData"])},{hotInstance:d,dataMap:p,dataSource:f,internalSource:"loadData",source:t,metaManager:M,firstRun:b})},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 n=this.countSourceCols();for(let r=0;r<n;r+=1)e(r)&&(t+=1)}else"object"!==d.dataType&&"function"!==d.dataType||(t=p.colToPropCache.length);else if(Object(o["isDefined"])(S.dataSchema)){const e=p.getSchema();t=Array.isArray(e)?e.length:Object(R["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,n,r){return Object(o["isUndefined"])(e)?p.getAll():p.getRange(d._createCellCoords(e,t),d._createCellCoords(n,r),p.DESTINATION_RENDERER)},this.getCopyableText=function(e,t,n,r){return p.getCopyableText(d._createCellCoords(e,t),d._createCellCoords(n,r))},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 n=(b?d.loadData:d.updateData).bind(this);let r,s,a=!1;if(Object(o["isDefined"])(e.rows))throw new Error('The "rows" setting is no longer supported. Do you mean startRows, minRows or maxRows?');if(Object(o["isDefined"])(e.cols))throw new Error('The "cols" setting is no longer supported. Do you mean startCols, minCols or maxCols?');if(Object(o["isDefined"])(e.ganttChart))throw new Error('Since 8.0.0 the "ganttChart" setting is no longer supported.');for(r in e)"data"===r||("language"===r?P(e.language):"className"===r?D("className",e.className):"tableClassName"===r&&d.table?(D("tableClassName",e.tableClassName),d.view._wt.wtOverlays.syncOverlayTableClassNames()):rs["a"].getSingleton().isRegistered(r)||rs["a"].getSingleton().isDeprecated(r)?(Object(i["isFunction"])(e[r])||Array.isArray(e[r]))&&(e[r].initialHook=!0,d.addHook(r,e[r])):!t&&Object(R["hasOwnProperty"])(e,r)&&(E[r]=e[r]));void 0===e.data&&void 0===S.data?n(null,"updateSettings"):void 0!==e.data?n(e.data,"updateSettings"):void 0!==e.columns&&(p.createMap(),d.initIndexMappers());const l=d.countCols(),c=S.columns;if(c&&Object(i["isFunction"])(c)&&(a=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||M.clearCache(),l>0)for(r=0,s=0;r<l;r++){if(c){const e=a?c(r):c[s];e&&M.updateColumnMeta(s,e)}s+=1}Object(o["isDefined"])(e.cell)&&Object(R["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&&!b&&(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,n,r,i){m.alter(e,t,n,r,i)},this.getCell=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t,i=e;if(t>=0){if(this.columnIndexMapper.isHidden(this.toPhysicalColumn(t)))return null;r=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===r||void 0===i||void 0===r?null:d.view.getCellAtCoords(d._createCellCoords(i,r),n)},this.getCoords=function(e){const t=this.view._wt.wtTable.getCoords(e);if(null===t)return null;const{row:n,col:r}=t;let i=n,o=r;return n>=0&&(i=this.rowIndexMapper.getVisualFromRenderableIndex(n)),r>=0&&(o=this.columnIndexMapper.getVisualFromRenderableIndex(r)),d._createCellCoords(i,o)},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=[],n=p.getRange(d._createCellCoords(0,e),d._createCellCoords(S.data.length-1,e),p.DESTINATION_RENDERER);for(let r=0;r<n.length;r+=1)for(let e=0;e<n[r].length;e+=1)t.push(n[r][e]);return t},this.getDataAtProp=function(e){const t=[],n=p.getRange(d._createCellCoords(0,p.propToCol(e)),d._createCellCoords(S.data.length-1,p.propToCol(e)),p.DESTINATION_RENDERER);for(let r=0;r<n.length;r+=1)for(let e=0;e<n[r].length;e+=1)t.push(n[r][e]);return t},this.getSourceData=function(e,t,n,r){let i;return i=void 0===e?f.getData():f.getByRange(d._createCellCoords(e,t),d._createCellCoords(n,r)),i},this.getSourceDataArray=function(e,t,n,r){let i;return i=void 0===e?f.getData(!0):f.getByRange(d._createCellCoords(e,t),d._createCellCoords(n,r),!0),i},this.getSourceDataAtCol=function(e){return f.getAtColumn(e)},this.setSourceDataAtCell=function(e,t,n,r){const i=j(e,t,n),s=this.hasHook("afterSetSourceDataAtCell"),a=[];s&&Object(W["arrayEach"])(i,e=>{let[t,n,r]=e;a.push([t,n,f.getAtCell(t,n),r])}),Object(W["arrayEach"])(i,e=>{let[t,n,r]=e;f.setAtCell(t,n,r)}),s&&this.runHooks("afterSetSourceDataAtCell",a,r),this.render();const l=d.getActiveEditor();l&&Object(o["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,n,r){const i=void 0===e?[0,0,this.countRows(),this.countCols()]:[e,t,n,r],[o,s]=i;let[,,a,l]=i,c=null,u=null;void 0===a&&(a=o),void 0===l&&(l=s);let d="mixed";return Object(Z["rangeEach"])(Math.max(Math.min(o,a),0),Math.max(o,a),e=>{let t=!0;return Object(Z["rangeEach"])(Math.max(Math.min(s,l),0),Math.max(s,l),n=>{const r=this.getCellMeta(e,n);return u=r.type,c?t=c===u:c=u,t}),d=t?u:"mixed",t}),d},this.removeCellMeta=function(e,t,n){const[r,i]=[this.toPhysicalRow(e),this.toPhysicalColumn(t)];let o=M.getCellMetaKeyValue(r,i,n);const s=d.runHooks("beforeRemoveCellMeta",e,t,n,o);!1!==s&&(M.removeCellMeta(r,i,n),d.runHooks("afterRemoveCellMeta",e,t,n,o)),o=null},this.spliceCellsMeta=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(r.length>0&&!Array.isArray(r[0]))throw new Error("The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array.");t>0&&M.removeRow(this.toPhysicalRow(e),t),r.length>0&&Object(W["arrayEach"])(r.reverse(),t=>{M.createRow(this.toPhysicalRow(e)),Object(W["arrayEach"])(t,(t,n)=>this.setCellMetaObject(e,n,t))}),d.render()},this.setCellMetaObject=function(e,t,n){"object"===typeof n&&Object(R["objectEach"])(n,(n,r)=>{this.setCellMeta(e,t,r,n)})},this.setCellMeta=function(e,t,n,r){const i=d.runHooks("beforeSetCellMeta",e,t,n,r);if(!1===i)return;let o=e,s=t;e<this.countRows()&&(o=this.toPhysicalRow(e)),t<this.countCols()&&(s=this.toPhysicalColumn(t)),M.setCellMeta(o,s,n,r),d.runHooks("afterSetCellMeta",e,t,n,r)},this.getCellsMeta=function(){return M.getCellsMeta()},this.getCellMeta=function(e,t){let n=this.toPhysicalRow(e),r=this.toPhysicalColumn(t);return null===n&&(n=e),null===r&&(r=t),M.getCellMeta(n,r,{visualRow:e,visualColumn:t})},this.getColumnMeta=function(e){return M.getColumnMeta(this.toPhysicalColumn(e))},this.getCellMetaAtRow=function(e){return M.getCellsMetaAtRow(e)},this.isColumnModificationAllowed=function(){return!("object"===d.dataType||S.columns)},this.getCellRenderer=function(e,t){const n="number"===typeof e?d.getCellMeta(e,t).renderer:e.renderer;return"string"===typeof n?Object(X["b"])(n):Object(o["isUndefined"])(n)?Object(X["b"])("text"):n},this.getCellEditor=function(e,t){const n="number"===typeof e?d.getCellMeta(e,t).editor:e.editor;return"string"===typeof n?Object(c["a"])(n):Object(o["isUndefined"])(n)?Object(c["a"])("text"):n},this.getCellValidator=function(e,t){const n="number"===typeof e?d.getCellMeta(e,t).validator:e.validator;return"string"===typeof n?Object(K["b"])(n):n},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,n){const r=new F;e&&(r.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===n||-1!==n.indexOf(e)?(r.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&&(r.valid=!1),r.removeValidatorFormQueue()},"validateCells"),e-=1):e-=1;i-=1}r.checkIfQueueIsEmpty()},this.getRowHeader=function(e){let t=S.rowHeaders,n=e;return void 0!==n&&(n=d.runHooks("modifyRowHeader",n)),void 0===n?(t=[],Object(Z["rangeEach"])(d.countRows()-1,e=>{t.push(d.getRowHeader(e))})):Array.isArray(t)&&void 0!==t[n]?t=t[n]:Object(i["isFunction"])(t)?t=t(n):t&&"string"!==typeof t&&"number"!==typeof t&&(t=n+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 n=d.runHooks("modifyColHeader",e);if(void 0===n){const e=[],t=d.countCols();for(let n=0;n<t;n++)e.push(d.getColHeader(n));return e}let r=S.colHeaders;const o=function(e){const t=[],n=d.countCols();let r=0;for(;r<n;r++)Object(i["isFunction"])(S.columns)&&S.columns(r)&&t.push(r);return t[e]},s=d.toPhysicalColumn(n),a=o(s);return!1===S.colHeaders?r=null:S.columns&&Object(i["isFunction"])(S.columns)&&S.columns(a)&&S.columns(a).title?r=S.columns(a).title:S.columns&&S.columns[s]&&S.columns[s].title?r=S.columns[s].title:Array.isArray(S.colHeaders)&&void 0!==S.colHeaders[s]?r=S.colHeaders[s]:Object(i["isFunction"])(S.colHeaders)?r=S.colHeaders(s):S.colHeaders&&"string"!==typeof S.colHeaders&&"number"!==typeof S.colHeaders&&(r=Object(po["spreadsheetColumnLabel"])(n)),r=d.runHooks("modifyColumnHeaderValue",r,e,t),r},this._getColWidthFromSettings=function(e){let t;if(e>=0){const n=d.getCellMeta(0,e);t=n.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(Z["rangeEachReverse"])(d.countRows()-1,n=>{if(d.isEmptyRow(n))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(Z["rangeEachReverse"])(d.countCols()-1,n=>{if(d.isEmptyCol(n))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,n,r){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!Object(o["isUndefined"])(e)&&!Object(o["isUndefined"])(t)&&this.selectCells([[e,t,n,r]],i,s)},this.selectCells=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===t&&_.suspend();const r=L.selectCells(e);return r&&n&&d.listen(),_.resume(),r},this.selectColumns=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2?arguments[2]:void 0;return L.selectColumns(e,t,n)},this.selectRows=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2?arguments[2]:void 0;return L.selectRows(e,t,n)},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,n=arguments.length>2?arguments[2]:void 0;_.skipNextScrollCycle(),L.selectAll(e,t,n)};const z=(e,t)=>e.getNearestNotHiddenIndex(t,1,!0);function q(e){return()=>{throw new Error(`The "${e}" method cannot be called because this Handsontable instance has been destroyed`)}}this.scrollViewportTo=function(e){var t,n;"number"===typeof e&&(e={row:arguments[0],col:arguments[1],verticalSnap:arguments[2]?"bottom":"top",horizontalSnap:arguments[3]?"end":"start",considerHiddenIndexes:null===(n=arguments[4])||void 0===n||n});const{row:r,col:i,verticalSnap:o,horizontalSnap:s,considerHiddenIndexes:a}=null!==(t=e)&&void 0!==t?t:{};let l,c,u,h;void 0!==o&&(l="top"===o,c=!l),void 0!==s&&(u="start"===s,h=!u);let p=r,f=i;if(void 0===a||a){const e=Number.isInteger(r)&&r>=0,t=Number.isInteger(i)&&i>=0,n=e?z(this.rowIndexMapper,r):void 0,o=t?z(this.columnIndexMapper,i):void 0;if(null===n||null===o)return!1;p=e?d.rowIndexMapper.getRenderableFromVisualIndex(n):r,f=t?d.columnIndexMapper.getRenderableFromVisualIndex(o):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(),n=this.scrollViewportTo(t.toObject());n?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(),M.clearCache(),bc.delete(this.guid),Yi(d)){const e=this.rootDocument.querySelector(".hot-display-license-info");e&&e.parentNode.removeChild(e)}Object(r["empty"])(d.rootElement),h.destroy(),A&&A.destroy(),d.batchExecution(()=>{d.rowIndexMapper.unregisterAll(),d.columnIndexMapper.unregisterAll(),T.getItems().forEach(e=>{let[,t]=e;t.destroy()}),T.clear(),d.runHooks("afterDestroy")},!0),rs["a"].getSingleton().destroy(d),Object(R["objectEach"])(d,(e,t,n)=>{Object(i["isFunction"])(e)?n[t]=q(t):"guid"!==t&&(n[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:T.getItem(t)},this.getPluginName=function(e){return e===this.undoRedo?this.undoRedo.constructor.PLUGIN_KEY:T.getId(e)},this.getInstance=function(){return d},this.addHook=function(e,t,n){rs["a"].getSingleton().add(e,t,d,n)},this.hasHook=function(e){return rs["a"].getSingleton().has(e,d)||rs["a"].getSingleton().has(e)},this.addHookOnce=function(e,t,n){rs["a"].getSingleton().once(e,t,d,n)},this.removeHook=function(e,t){rs["a"].getSingleton().remove(e,t,d)},this.runHooks=function(e,t,n,r,i,o,s){return rs["a"].getSingleton().run(d,e,t,n,r,i,o,s)},this.getTranslatedPhrase=function(e,t){return Ts(S.language,e,t)},this.toHTML=()=>Object(Y["instanceToHTML"])(this),this.toTableElement=()=>{const e=this.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",Object(Y["instanceToHTML"])(this)),e.firstElementChild},this.timeouts=[],this._registerTimeout=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e;"function"===typeof n&&(n=setTimeout(n,t)),this.timeouts.push(n)},this._clearTimeouts=function(){Object(W["arrayEach"])(this.timeouts,e=>{clearTimeout(e)})},this.immediates=[],this._registerImmediate=function(e){this.immediates.push(setImmediate(e))},this._clearImmediates=function(){Object(W["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 J=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&&J.releasePressedKeys()}),this.getShortcutManager=function(){return J},this.getFocusManager=function(){return g},Object(Q["b"])().forEach(e=>{const t=Object(Q["a"])(e);T.addItem(e,new t(this))}),Object(gc["a"])(d),J.setActiveContextName("grid"),rs["a"].getSingleton().run(d,"construct")}var wc=n("ef07"),yc=n("13e1");function Rc(e,t){const n=new vc(e,t||{},ji);return n.init(),n}Object(Wa["d"])(wc["a"]),Rc.editors={BaseEditor:yc["a"]},Rc.Core=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new vc(e,t,ji)},Rc.DefaultSettings=za(),Rc.hooks=rs["a"].getSingleton(),Rc.CellCoords=bn["a"],Rc.CellRange=vn["a"],Rc.packageName="handsontable",Rc.buildDate="17/10/2024 09:16:16",Rc.version="14.6.1",Rc.languages={dictionaryKeys:As,getLanguageDictionary:Ms,getLanguagesDictionaries:Es,registerLanguageDictionary:ys,getTranslatedPhrase:Ts};t["a"]=Rc},c0e2:function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,s=r.length;o<s;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},c0e9:function(e,t,n){
  580. /*!
  581. * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
  582. * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
  583. * Released under MIT License
  584. */
  585. (function(t,n){e.exports=n()})(0,(function(){"use strict";
  586. /*! *****************************************************************************
  587. Copyright (c) Microsoft Corporation.
  588. Permission to use, copy, modify, and/or distribute this software for any
  589. purpose with or without fee is hereby granted.
  590. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  591. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  592. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  593. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  594. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  595. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  596. PERFORMANCE OF THIS SOFTWARE.
  597. ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};function r(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(Qt){o(Qt)}}function a(e){try{l(r["throw"](e))}catch(Qt){o(Qt)}}function l(e){e.done?n(e.value):i(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(Qt){o=[6,Qt],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}function o(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||t)}for(var s=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find((function(e){return 0!==e.width}));return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),a=function(e,t){return s.fromClientRect(e,t.getBoundingClientRect())},l=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new s(0,0,r,i)},c=function(e){var t=[],n=0,r=e.length;while(n<r){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320===(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}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 n=e.length;if(!n)return"";var r=[],i=-1,o="";while(++i<n){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},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,n,r,i,o,s=.75*e.length,a=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<a;t+=4)n=m[e.charCodeAt(t)],r=m[e.charCodeAt(t+1)],i=m[e.charCodeAt(t+2)],o=m[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c},_=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},b=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},v=5,w=11,y=2,R=w-v,M=65536>>v,S=1<<v,E=S-1,T=1024>>v,C=M+T,O=C,x=32,N=O+x,L=65536>>w,I=1<<R,P=I-1,D=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},F=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},k=function(e,t){var n=g(e),r=Array.isArray(n)?b(n):new Uint32Array(n),i=Array.isArray(n)?_(n):new Uint16Array(n),o=24,s=D(i,o/2,r[4]/2),a=2===r[5]?D(i,(o+r[4])/2):F(r,Math.ceil((o+r[4])/4));return new B(r[0],r[1],r[2],r[3],s,a)},B=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>v],t=(t<<y)+(e&E),this.data[t];if(e<=65535)return t=this.index[M+(e-55296>>v)],t=(t<<y)+(e&E),this.data[t];if(e<this.highStart)return t=N-L+(e>>w),t=this.index[t],t+=e>>v&P,t=this.index[t],t=(t<<y)+(e&E),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),U="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",H="undefined"===typeof Uint8Array?[]:new Uint8Array(256),j=0;j<U.length;j++)H[U.charCodeAt(j)]=j;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==",W=50,Y=1,Q=2,X=3,K=4,G=5,Z=7,z=8,q=9,J=10,$=11,ee=12,te=13,ne=14,re=15,ie=16,oe=17,se=18,ae=19,le=20,ce=21,ue=22,de=23,he=24,pe=25,fe=26,me=27,Ae=28,ge=29,_e=30,be=31,ve=32,we=33,ye=34,Re=35,Me=36,Se=37,Ee=38,Te=39,Ce=40,Oe=41,xe=42,Ne=43,Le=[9001,65288],Ie="!",Pe="×",De="÷",Fe=k(V),ke=[_e,Me],Be=[Y,Q,X,G],Ue=[J,z],He=[me,fe],je=Be.concat(Ue),Ve=[Ee,Te,Ce,ye,Re],We=[re,te],Ye=function(e,t){void 0===t&&(t="strict");var n=[],r=[],i=[];return e.forEach((function(e,o){var s=Fe.get(e);if(s>W?(i.push(!0),s-=W):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(ie);if(s===K||s===$){if(0===o)return r.push(o),n.push(_e);var a=n[o-1];return-1===je.indexOf(a)?(r.push(r[o-1]),n.push(a)):(r.push(o),n.push(_e))}return r.push(o),s===be?n.push("strict"===t?ce:Se):s===xe||s===ge?n.push(_e):s===Ne?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(Se):n.push(_e):void n.push(s)})),[r,n,i]},Qe=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i){var o=n;while(o<=r.length){o++;var s=r[o];if(s===t)return!0;if(s!==J)break}}if(i===J){o=n;while(o>0){o--;var a=r[o];if(Array.isArray(e)?-1!==e.indexOf(a):e===a){var l=n;while(l<=r.length){l++;s=r[l];if(s===t)return!0;if(s!==J)break}}if(a!==J)break}}return!1},Xe=function(e,t){var n=e;while(n>=0){var r=t[n];if(r!==J)return r;n--}return 0},Ke=function(e,t,n,r,i){if(0===n[r])return Pe;var o=r-1;if(Array.isArray(i)&&!0===i[o])return Pe;var s=o-1,a=o+1,l=t[o],c=s>=0?t[s]:0,u=t[a];if(l===Q&&u===X)return Pe;if(-1!==Be.indexOf(l))return Ie;if(-1!==Be.indexOf(u))return Pe;if(-1!==Ue.indexOf(u))return Pe;if(Xe(o,t)===z)return De;if(Fe.get(e[o])===$)return Pe;if((l===ve||l===we)&&Fe.get(e[a])===$)return Pe;if(l===Z||u===Z)return Pe;if(l===q)return Pe;if(-1===[J,te,re].indexOf(l)&&u===q)return Pe;if(-1!==[oe,se,ae,he,Ae].indexOf(u))return Pe;if(Xe(o,t)===ue)return Pe;if(Qe(de,ue,o,t))return Pe;if(Qe([oe,se],ce,o,t))return Pe;if(Qe(ee,ee,o,t))return Pe;if(l===J)return De;if(l===de||u===de)return Pe;if(u===ie||l===ie)return De;if(-1!==[te,re,ce].indexOf(u)||l===ne)return Pe;if(c===Me&&-1!==We.indexOf(l))return Pe;if(l===Ae&&u===Me)return Pe;if(u===le)return Pe;if(-1!==ke.indexOf(u)&&l===pe||-1!==ke.indexOf(l)&&u===pe)return Pe;if(l===me&&-1!==[Se,ve,we].indexOf(u)||-1!==[Se,ve,we].indexOf(l)&&u===fe)return Pe;if(-1!==ke.indexOf(l)&&-1!==He.indexOf(u)||-1!==He.indexOf(l)&&-1!==ke.indexOf(u))return Pe;if(-1!==[me,fe].indexOf(l)&&(u===pe||-1!==[ue,re].indexOf(u)&&t[a+1]===pe)||-1!==[ue,re].indexOf(l)&&u===pe||l===pe&&-1!==[pe,Ae,he].indexOf(u))return Pe;if(-1!==[pe,Ae,he,oe,se].indexOf(u)){var d=o;while(d>=0){var h=t[d];if(h===pe)return Pe;if(-1===[Ae,he].indexOf(h))break;d--}}if(-1!==[me,fe].indexOf(u)){d=-1!==[oe,se].indexOf(l)?s:o;while(d>=0){h=t[d];if(h===pe)return Pe;if(-1===[Ae,he].indexOf(h))break;d--}}if(Ee===l&&-1!==[Ee,Te,ye,Re].indexOf(u)||-1!==[Te,ye].indexOf(l)&&-1!==[Te,Ce].indexOf(u)||-1!==[Ce,Re].indexOf(l)&&u===Ce)return Pe;if(-1!==Ve.indexOf(l)&&-1!==[le,fe].indexOf(u)||-1!==Ve.indexOf(u)&&l===me)return Pe;if(-1!==ke.indexOf(l)&&-1!==ke.indexOf(u))return Pe;if(l===he&&-1!==ke.indexOf(u))return Pe;if(-1!==ke.concat(pe).indexOf(l)&&u===ue&&-1===Le.indexOf(e[a])||-1!==ke.concat(pe).indexOf(u)&&l===se)return Pe;if(l===Oe&&u===Oe){var p=n[o],f=1;while(p>0){if(p--,t[p]!==Oe)break;f++}if(f%2!==0)return Pe}return l===ve&&u===we?Pe:De},Ge=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=Ye(e,t.lineBreak),r=n[0],i=n[1],o=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(e){return-1!==[pe,_e,xe].indexOf(e)?Se:e})));var s="keep-all"===t.wordBreak?o.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[r,i,s]},Ze=function(){function e(e,t,n,r){this.codePoints=e,this.required=t===Ie,this.start=n,this.end=r}return e.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),ze=function(e,t){var n=c(e),r=Ge(n,t),i=r[0],o=r[1],s=r[2],a=n.length,l=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};var e=Pe;while(u<a&&(e=Ke(n,o,i,++u,s))===Pe);if(e!==Pe||u===a){var t=new Ze(n,e,l,u);return l=u,{value:t,done:!1}}return{done:!0,value:null}}}},qe=1,Je=2,$e=4,et=8,tt=10,nt=47,rt=92,it=9,ot=32,st=34,at=61,lt=35,ct=36,ut=37,dt=39,ht=40,pt=41,ft=95,mt=45,At=33,gt=60,_t=62,bt=64,vt=91,wt=93,yt=61,Rt=123,Mt=63,St=125,Et=124,Tt=126,Ct=128,Ot=65533,xt=42,Nt=43,Lt=44,It=58,Pt=59,Dt=46,Ft=0,kt=8,Bt=11,Ut=14,Ht=31,jt=127,Vt=-1,Wt=48,Yt=97,Qt=101,Xt=102,Kt=117,Gt=122,Zt=65,zt=69,qt=70,Jt=85,$t=90,en=function(e){return e>=Wt&&e<=57},tn=function(e){return e>=55296&&e<=57343},nn=function(e){return en(e)||e>=Zt&&e<=qt||e>=Yt&&e<=Xt},rn=function(e){return e>=Yt&&e<=Gt},on=function(e){return e>=Zt&&e<=$t},sn=function(e){return rn(e)||on(e)},an=function(e){return e>=Ct},ln=function(e){return e===tt||e===it||e===ot},cn=function(e){return sn(e)||an(e)||e===ft},un=function(e){return cn(e)||en(e)||e===mt},dn=function(e){return e>=Ft&&e<=kt||e===Bt||e>=Ut&&e<=Ht||e===jt},hn=function(e,t){return e===rt&&t!==tt},pn=function(e,t,n){return e===mt?cn(t)||hn(t,n):!!cn(e)||!(e!==rt||!hn(e,t))},fn=function(e,t,n){return e===Nt||e===mt?!!en(t)||t===Dt&&en(n):en(e===Dt?t:e)},mn=function(e){var t=0,n=1;e[t]!==Nt&&e[t]!==mt||(e[t]===mt&&(n=-1),t++);var r=[];while(en(e[t]))r.push(e[t++]);var i=r.length?parseInt(u.apply(void 0,r),10):0;e[t]===Dt&&t++;var o=[];while(en(e[t]))o.push(e[t++]);var s=o.length,a=s?parseInt(u.apply(void 0,o),10):0;e[t]!==zt&&e[t]!==Qt||t++;var l=1;e[t]!==Nt&&e[t]!==mt||(e[t]===mt&&(l=-1),t++);var c=[];while(en(e[t]))c.push(e[t++]);var d=c.length?parseInt(u.apply(void 0,c),10):0;return n*(i+a*Math.pow(10,-s))*Math.pow(10,l*d)},An={type:2},gn={type:3},_n={type:4},bn={type:13},vn={type:8},wn={type:21},yn={type:9},Rn={type:10},Mn={type:11},Sn={type:12},En={type:14},Tn={type:23},Cn={type:1},On={type:25},xn={type:24},Nn={type:26},Ln={type:27},In={type:28},Pn={type:29},Dn={type:31},Fn={type:32},kn=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!==Fn)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case st:return this.consumeStringToken(st);case lt:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(un(t)||hn(n,r)){var i=pn(t,n,r)?Je:qe,o=this.consumeName();return{type:5,value:o,flags:i}}break;case ct:if(this.peekCodePoint(0)===at)return this.consumeCodePoint(),bn;break;case dt:return this.consumeStringToken(dt);case ht:return An;case pt:return gn;case xt:if(this.peekCodePoint(0)===at)return this.consumeCodePoint(),En;break;case Nt:if(fn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Lt:return _n;case mt:var s=e,a=this.peekCodePoint(0),l=this.peekCodePoint(1);if(fn(s,a,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(pn(s,a,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===mt&&l===_t)return this.consumeCodePoint(),this.consumeCodePoint(),xn;break;case Dt:if(fn(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case nt:if(this.peekCodePoint(0)===xt){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===xt&&(c=this.consumeCodePoint(),c===nt))return this.consumeToken();if(c===Vt)return this.consumeToken()}}break;case It:return Nn;case Pt:return Ln;case gt:if(this.peekCodePoint(0)===At&&this.peekCodePoint(1)===mt&&this.peekCodePoint(2)===mt)return this.consumeCodePoint(),this.consumeCodePoint(),On;break;case bt:var d=this.peekCodePoint(0),h=this.peekCodePoint(1),p=this.peekCodePoint(2);if(pn(d,h,p)){o=this.consumeName();return{type:7,value:o}}break;case vt:return In;case rt:if(hn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case wt:return Pn;case yt:if(this.peekCodePoint(0)===at)return this.consumeCodePoint(),vn;break;case Rt:return Mn;case St:return Sn;case Kt:case Jt:var f=this.peekCodePoint(0),m=this.peekCodePoint(1);return f!==Nt||!nn(m)&&m!==Mt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Et:if(this.peekCodePoint(0)===at)return this.consumeCodePoint(),yn;if(this.peekCodePoint(0)===Et)return this.consumeCodePoint(),wn;break;case Tt:if(this.peekCodePoint(0)===at)return this.consumeCodePoint(),Rn;break;case Vt:return Fn}return ln(e)?(this.consumeWhiteSpace(),Dn):en(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):cn(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(nn(t)&&e.length<6)e.push(t),t=this.consumeCodePoint();var n=!1;while(t===Mt&&e.length<6)e.push(t),t=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(u.apply(void 0,e.map((function(e){return e===Mt?Wt:e}))),16),i=parseInt(u.apply(void 0,e.map((function(e){return e===Mt?qt:e}))),16);return{type:30,start:r,end:i}}var o=parseInt(u.apply(void 0,e),16);if(this.peekCodePoint(0)===mt&&nn(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var s=[];while(nn(t)&&s.length<6)s.push(t),t=this.consumeCodePoint();i=parseInt(u.apply(void 0,s),16);return{type:30,start:o,end:i}}return{type:30,start:o,end:o}},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===st){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt||this.peekCodePoint(0)===pt)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Tn)}while(1){var r=this.consumeCodePoint();if(r===Vt||r===pt)return{type:22,value:u.apply(void 0,e)};if(ln(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt||this.peekCodePoint(0)===pt?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Tn);if(r===st||r===dt||r===ht||dn(r))return this.consumeBadUrlRemnants(),Tn;if(r===rt){if(!hn(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Tn;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){while(ln(this.peekCodePoint(0)))this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){while(1){var e=this.consumeCodePoint();if(e===pt||e===Vt)return;hn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){var t=5e4,n="";while(e>0){var r=Math.min(t,e);n+=u.apply(void 0,this._value.splice(0,r)),e-=r}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){var t="",n=0;do{var r=this._value[n];if(r===Vt||void 0===r||r===e)return t+=this.consumeStringSlice(n),{type:0,value:t};if(r===tt)return this._value.splice(0,n),Cn;if(r===rt){var i=this._value[n+1];i!==Vt&&void 0!==i&&(i===tt?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):hn(r,i)&&(t+=this.consumeStringSlice(n),t+=u(this.consumeEscapedCodePoint()),n=-1))}n++}while(1)},e.prototype.consumeNumber=function(){var e=[],t=$e,n=this.peekCodePoint(0);n!==Nt&&n!==mt||e.push(this.consumeCodePoint());while(en(this.peekCodePoint(0)))e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===Dt&&en(r)){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(en(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===zt||n===Qt)&&((r===Nt||r===mt)&&en(i)||en(r))){e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=et;while(en(this.peekCodePoint(0)))e.push(this.consumeCodePoint())}return[mn(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(pn(r,i,o)){var s=this.consumeName();return{type:15,number:t,flags:n,unit:s}}return r===ut?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(nn(e)){var t=u(e);while(nn(this.peekCodePoint(0))&&t.length<6)t+=u(this.consumeCodePoint());ln(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||tn(n)||n>1114111?Ot:n}return e===Vt?Ot:e},e.prototype.consumeName=function(){var e="";while(1){var t=this.consumeCodePoint();if(un(t))e+=u(t);else{if(!hn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=u(this.consumeEscapedCodePoint())}}},e}(),Bn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new kn;return n.write(t),new e(n.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:[]},n=this.consumeToken();while(1){if(32===n.type||Kn(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){var t={name:e.value,values:[],type:18};while(1){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return"undefined"===typeof e?Fn:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Un=function(e){return 15===e.type},Hn=function(e){return 17===e.type},jn=function(e){return 20===e.type},Vn=function(e){return 0===e.type},Wn=function(e,t){return jn(e)&&e.value===t},Yn=function(e){return 31!==e.type},Qn=function(e){return 31!==e.type&&4!==e.type},Xn=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},Kn=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},Gn=function(e){return 17===e.type||15===e.type},Zn=function(e){return 16===e.type||Gn(e)},zn=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},qn={type:17,number:0,flags:$e},Jn={type:16,number:50,flags:$e},$n={type:16,number:100,flags:$e},er=function(e,t,n){var r=e[0],i=e[1];return[tr(r,t),tr("undefined"!==typeof i?i:r,n)]},tr=function(e,t){if(16===e.type)return e.number/100*t;if(Un(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},nr="deg",rr="grad",ir="rad",or="turn",sr={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case nr:return Math.PI*t.number/180;case rr:return Math.PI/200*t.number;case ir:return t.number;case or:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},ar=function(e){return 15===e.type&&(e.unit===nr||e.unit===rr||e.unit===ir||e.unit===or)},lr=function(e){var t=e.filter(jn).map((function(e){return e.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[qn,qn];case"to top":case"bottom":return cr(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[qn,$n];case"to right":case"left":return cr(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[$n,$n];case"to bottom":case"top":return cr(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[$n,qn];case"to left":case"right":return cr(270)}return 0},cr=function(e){return Math.PI*e/180},ur={name:"color",parse:function(e,t){if(18===t.type){var n=_r[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return pr(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var s=t.value.substring(3,4);return pr(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return pr(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),s=t.value.substring(6,8);return pr(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(s,16)/255)}}if(20===t.type){var a=vr[t.value.toUpperCase()];if("undefined"!==typeof a)return a}return vr.TRANSPARENT}},dr=function(e){return 0===(255&e)},hr=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},pr=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},fr=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},mr=function(e,t){var n=t.filter(Qn);if(3===n.length){var r=n.map(fr),i=r[0],o=r[1],s=r[2];return pr(i,o,s,1)}if(4===n.length){var a=n.map(fr),l=(i=a[0],o=a[1],s=a[2],a[3]);return pr(i,o,s,l)}return 0};function Ar(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var gr=function(e,t){var n=t.filter(Qn),r=n[0],i=n[1],o=n[2],s=n[3],a=(17===r.type?cr(r.number):sr.parse(e,r))/(2*Math.PI),l=Zn(i)?i.number/100:0,c=Zn(o)?o.number/100:0,u="undefined"!==typeof s&&Zn(s)?tr(s,1):1;if(0===l)return pr(255*c,255*c,255*c,1);var d=c<=.5?c*(l+1):c+l-c*l,h=2*c-d,p=Ar(h,d,a+1/3),f=Ar(h,d,a),m=Ar(h,d,a-1/3);return pr(255*p,255*f,255*m,u)},_r={hsl:gr,hsla:gr,rgb:mr,rgba:mr},br=function(e,t){return ur.parse(e,Bn.create(t).parseComponentValue())},vr={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},wr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(jn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},yr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Rr=function(e,t){var n=ur.parse(e,t[0]),r=t[1];return r&&Zn(r)?{color:n,stop:r}:{color:n,stop:null}},Mr=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=qn),null===r.stop&&(r.stop=$n);for(var i=[],o=0,s=0;s<e.length;s++){var a=e[s].stop;if(null!==a){var l=tr(a,t);l>o?i.push(l):i.push(o),o=l}else i.push(null)}var c=null;for(s=0;s<i.length;s++){var u=i[s];if(null===u)null===c&&(c=s);else if(null!==c){for(var d=s-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,n){var r=e.color;return{color:r,stop:Math.max(Math.min(1,i[n]/t),0)}}))},Sr=function(e,t,n){var r=t/2,i=n/2,o=tr(e[0],t)-r,s=i-tr(e[1],n);return(Math.atan2(s,o)+2*Math.PI)%(2*Math.PI)},Er=function(e,t,n){var r="number"===typeof e?e:Sr(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,s=n/2,a=i/2,l=Math.sin(r-Math.PI/2)*a,c=Math.cos(r-Math.PI/2)*a;return[i,o-c,o+c,s-l,s+l]},Tr=function(e,t){return Math.sqrt(e*e+t*t)},Cr=function(e,t,n,r,i){var o=[[0,0],[0,t],[e,0],[e,t]];return o.reduce((function(e,t){var o=t[0],s=t[1],a=Tr(n-o,r-s);return(i?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Or=function(e,t,n,r,i){var o=0,s=0;switch(e.size){case 0:0===e.shape?o=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=s=Math.min(Tr(t,n),Tr(t,n-i),Tr(t-r,n),Tr(t-r,n-i));else if(1===e.shape){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),l=Cr(r,i,t,n,!0),c=l[0],u=l[1];o=Tr(c-t,(u-n)/a),s=a*o}break;case 1:0===e.shape?o=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=s=Math.max(Tr(t,n),Tr(t,n-i),Tr(t-r,n),Tr(t-r,n-i));else if(1===e.shape){a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var d=Cr(r,i,t,n,!1);c=d[0],u=d[1];o=Tr(c-t,(u-n)/a),s=a*o}break}return Array.isArray(e.size)&&(o=tr(e.size[0],r),s=2===e.size.length?tr(e.size[1],i):o),[o,s]},xr=function(e,t){var n=cr(180),r=[];return Xn(t).forEach((function(t,i){if(0===i){var o=t[0];if(20===o.type&&"to"===o.value)return void(n=lr(t));if(ar(o))return void(n=sr.parse(e,o))}var s=Rr(e,t);r.push(s)})),{angle:n,stops:r,type:1}},Nr=function(e,t){var n=cr(180),r=[];return Xn(t).forEach((function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(n=lr(t));if(ar(o))return void(n=(sr.parse(e,o)+cr(270))%cr(360))}var s=Rr(e,t);r.push(s)})),{angle:n,stops:r,type:1}},Lr=function(e,t){var n=cr(180),r=[],i=1,o=0,s=3,a=[];return Xn(t).forEach((function(t,n){var o=t[0];if(0===n){if(jn(o)&&"linear"===o.value)return void(i=1);if(jn(o)&&"radial"===o.value)return void(i=2)}if(18===o.type)if("from"===o.name){var s=ur.parse(e,o.values[0]);r.push({stop:qn,color:s})}else if("to"===o.name){s=ur.parse(e,o.values[0]);r.push({stop:$n,color:s})}else if("color-stop"===o.name){var a=o.values.filter(Qn);if(2===a.length){s=ur.parse(e,a[1]);var l=a[0];Hn(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:s})}}})),1===i?{angle:(n+cr(180))%cr(360),stops:r,type:i}:{size:s,shape:o,stops:r,position:a,type:i}},Ir="closest-side",Pr="farthest-side",Dr="closest-corner",Fr="farthest-corner",kr="circle",Br="ellipse",Ur="cover",Hr="contain",jr=function(e,t){var n=0,r=3,i=[],o=[];return Xn(t).forEach((function(t,s){var a=!0;if(0===s){var l=!1;a=t.reduce((function(e,t){if(l)if(jn(t))switch(t.value){case"center":return o.push(Jn),e;case"top":case"left":return o.push(qn),e;case"right":case"bottom":return o.push($n),e}else(Zn(t)||Gn(t))&&o.push(t);else if(jn(t))switch(t.value){case kr:return n=0,!1;case Br:return n=1,!1;case"at":return l=!0,!1;case Ir:return r=0,!1;case Ur:case Pr:return r=1,!1;case Hr:case Dr:return r=2,!1;case Fr:return r=3,!1}else if(Gn(t)||Zn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),a)}if(a){var c=Rr(e,t);i.push(c)}})),{size:r,shape:n,stops:i,position:o,type:2}},Vr=function(e,t){var n=0,r=3,i=[],o=[];return Xn(t).forEach((function(t,s){var a=!0;if(0===s?a=t.reduce((function(e,t){if(jn(t))switch(t.value){case"center":return o.push(Jn),!1;case"top":case"left":return o.push(qn),!1;case"right":case"bottom":return o.push($n),!1}else if(Zn(t)||Gn(t))return o.push(t),!1;return e}),a):1===s&&(a=t.reduce((function(e,t){if(jn(t))switch(t.value){case kr:return n=0,!1;case Br:return n=1,!1;case Hr:case Ir:return r=0,!1;case Pr:return r=1,!1;case Dr:return r=2,!1;case Ur:case Fr:return r=3,!1}else if(Gn(t)||Zn(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e}),a)),a){var l=Rr(e,t);i.push(l)}})),{size:r,shape:n,stops:i,position:o,type:2}},Wr=function(e){return 1===e.type},Yr=function(e){return 2===e.type},Qr={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Gr[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Xr(e){return!(20===e.type&&"none"===e.value)&&(18!==e.type||!!Gr[e.name])}var Kr,Gr={"linear-gradient":xr,"-moz-linear-gradient":Nr,"-ms-linear-gradient":Nr,"-o-linear-gradient":Nr,"-webkit-linear-gradient":Nr,"radial-gradient":jr,"-moz-radial-gradient":Vr,"-ms-radial-gradient":Vr,"-o-radial-gradient":Vr,"-webkit-radial-gradient":Vr,"-webkit-gradient":Lr},Zr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Qn(e)&&Xr(e)})).map((function(t){return Qr.parse(e,t)}))}},zr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(jn(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},qr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Xn(t).map((function(e){return e.filter(Zn)})).map(zn)}},Jr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Xn(t).map((function(e){return e.filter(jn).map((function(e){return e.value})).join(" ")})).map($r)}},$r=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"})(Kr||(Kr={}));var ei,ti={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Xn(t).map((function(e){return e.filter(ni)}))}},ni=function(e){return jn(e)||Zn(e)},ri=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ii=ri("top"),oi=ri("right"),si=ri("bottom"),ai=ri("left"),li=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return zn(t.filter(Zn))}}},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 Un(t)?t.number:0}}},bi=_i("top"),vi=_i("right"),wi=_i("bottom"),yi=_i("left"),Ri={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Mi={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(jn).reduce((function(e,t){return e|Ei(t.value)}),0)}},Ei=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},Ti={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}},Ci={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,xi={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}}},Ni={name:"line-height",initialValue:"normal",prefix:!1,type:4},Li=function(e,t){return jn(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Zn(e)?tr(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:Qr.parse(e,t)}},Pi={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}}},Di={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}}},Fi=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},ki=Fi("top"),Bi=Fi("right"),Ui=Fi("bottom"),Hi=Fi("left"),ji={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(jn).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"}}},Wi=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Yi=Wi("top"),Qi=Wi("right"),Xi=Wi("bottom"),Ki=Wi("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}}},Zi={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}},zi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Wn(t[0],"none")?[]:Xn(t).map((function(t){for(var n={color:vr.TRANSPARENT,offsetX:qn,offsetY:qn,blur:qn},r=0,i=0;i<t.length;i++){var o=t[i];Gn(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=ur.parse(e,o)}return n}))}},qi={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}},Ji={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 n=to[t.name];if("undefined"===typeof n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},$i=function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number}));return 6===t.length?t:null},eo=function(e){var t=e.filter((function(e){return 17===e.type})).map((function(e){return e.number})),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],a=t[13];return t[14],t[15],16===t.length?[n,r,i,o,s,a]:null},to={matrix:$i,matrix3d:eo},no={type:16,number:50,flags:$e},ro=[no,no],io={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Zn);return 2!==n.length?ro:[n[0],n[1]]}},oo={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 so={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}}},ao={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(Hn(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},lo={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")}},co={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return Hn(t)?t.number:1}},uo={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ho={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(jn).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}))}},po={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach((function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0;break}})),n.length&&r.push(n.join(" ")),r.map((function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"}))}},fo={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},mo={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(Hn(t))return t.number;if(jn(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},Ao={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(jn).map((function(e){return e.value}))}},go={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"}}},_o=function(e,t){return 0!==(e&t)},bo={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},vo={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],i=t.filter(Yn),o=0;o<i.length;o++){var s=i[o],a=i[o+1];if(20===s.type){var l=a&&Hn(a)?a.number:1;r.push({counter:s.value,increment:l})}}return r}},wo={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(Yn),i=0;i<r.length;i++){var o=r[i],s=r[i+1];if(jn(o)&&"none"!==o.value){var a=s&&Hn(s)?s.number:0;n.push({counter:o.value,reset:a})}}return n}},yo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Un).map((function(t){return lo.parse(e,t)}))}},Ro={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],i=t.filter(Vn);if(i.length%2!==0)return null;for(var o=0;o<i.length;o+=2){var s=i[o].value,a=i[o+1].value;r.push({open:s,close:a})}return r}},Mo=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},So={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Wn(t[0],"none")?[]:Xn(t).map((function(t){for(var n={color:255,offsetX:qn,offsetY:qn,blur:qn,spread:qn,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];Wn(o,"inset")?n.inset=!0:Gn(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=ur.parse(e,o)}return n}))}},Eo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],r=[];return t.filter(jn).forEach((function(e){switch(e.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}})),n.forEach((function(e){-1===r.indexOf(e)&&r.push(e)})),r}},To={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Co={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Un(t)?t.number:0}},Oo=function(){function e(e,t){var n,r;this.animationDuration=Lo(e,yo,t.animationDuration),this.backgroundClip=Lo(e,wr,t.backgroundClip),this.backgroundColor=Lo(e,yr,t.backgroundColor),this.backgroundImage=Lo(e,Zr,t.backgroundImage),this.backgroundOrigin=Lo(e,zr,t.backgroundOrigin),this.backgroundPosition=Lo(e,qr,t.backgroundPosition),this.backgroundRepeat=Lo(e,Jr,t.backgroundRepeat),this.backgroundSize=Lo(e,ti,t.backgroundSize),this.borderTopColor=Lo(e,ii,t.borderTopColor),this.borderRightColor=Lo(e,oi,t.borderRightColor),this.borderBottomColor=Lo(e,si,t.borderBottomColor),this.borderLeftColor=Lo(e,ai,t.borderLeftColor),this.borderTopLeftRadius=Lo(e,ci,t.borderTopLeftRadius),this.borderTopRightRadius=Lo(e,ui,t.borderTopRightRadius),this.borderBottomRightRadius=Lo(e,di,t.borderBottomRightRadius),this.borderBottomLeftRadius=Lo(e,hi,t.borderBottomLeftRadius),this.borderTopStyle=Lo(e,fi,t.borderTopStyle),this.borderRightStyle=Lo(e,mi,t.borderRightStyle),this.borderBottomStyle=Lo(e,Ai,t.borderBottomStyle),this.borderLeftStyle=Lo(e,gi,t.borderLeftStyle),this.borderTopWidth=Lo(e,bi,t.borderTopWidth),this.borderRightWidth=Lo(e,vi,t.borderRightWidth),this.borderBottomWidth=Lo(e,wi,t.borderBottomWidth),this.borderLeftWidth=Lo(e,yi,t.borderLeftWidth),this.boxShadow=Lo(e,So,t.boxShadow),this.color=Lo(e,Ri,t.color),this.direction=Lo(e,Mi,t.direction),this.display=Lo(e,Si,t.display),this.float=Lo(e,Ti,t.cssFloat),this.fontFamily=Lo(e,po,t.fontFamily),this.fontSize=Lo(e,fo,t.fontSize),this.fontStyle=Lo(e,go,t.fontStyle),this.fontVariant=Lo(e,Ao,t.fontVariant),this.fontWeight=Lo(e,mo,t.fontWeight),this.letterSpacing=Lo(e,Ci,t.letterSpacing),this.lineBreak=Lo(e,xi,t.lineBreak),this.lineHeight=Lo(e,Ni,t.lineHeight),this.listStyleImage=Lo(e,Ii,t.listStyleImage),this.listStylePosition=Lo(e,Pi,t.listStylePosition),this.listStyleType=Lo(e,Di,t.listStyleType),this.marginTop=Lo(e,ki,t.marginTop),this.marginRight=Lo(e,Bi,t.marginRight),this.marginBottom=Lo(e,Ui,t.marginBottom),this.marginLeft=Lo(e,Hi,t.marginLeft),this.opacity=Lo(e,co,t.opacity);var i=Lo(e,ji,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=Lo(e,Vi,t.overflowWrap),this.paddingTop=Lo(e,Yi,t.paddingTop),this.paddingRight=Lo(e,Qi,t.paddingRight),this.paddingBottom=Lo(e,Xi,t.paddingBottom),this.paddingLeft=Lo(e,Ki,t.paddingLeft),this.paintOrder=Lo(e,Eo,t.paintOrder),this.position=Lo(e,Zi,t.position),this.textAlign=Lo(e,Gi,t.textAlign),this.textDecorationColor=Lo(e,uo,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=Lo(e,ho,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=Lo(e,zi,t.textShadow),this.textTransform=Lo(e,qi,t.textTransform),this.transform=Lo(e,Ji,t.transform),this.transformOrigin=Lo(e,io,t.transformOrigin),this.visibility=Lo(e,oo,t.visibility),this.webkitTextStrokeColor=Lo(e,To,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=Lo(e,Co,t.webkitTextStrokeWidth),this.wordBreak=Lo(e,so,t.wordBreak),this.zIndex=Lo(e,ao,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return dr(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 _o(this.display,4)||_o(this.display,33554432)||_o(this.display,268435456)||_o(this.display,536870912)||_o(this.display,67108864)||_o(this.display,134217728)},e}(),xo=function(){function e(e,t){this.content=Lo(e,bo,t.content),this.quotes=Lo(e,Ro,t.quotes)}return e}(),No=function(){function e(e,t){this.counterIncrement=Lo(e,vo,t.counterIncrement),this.counterReset=Lo(e,wo,t.counterReset)}return e}(),Lo=function(e,t,n){var r=new kn,i=null!==n&&"undefined"!==typeof n?n.toString():t.initialValue;r.write(i);var o=new Bn(r.read());switch(t.type){case 2:var s=o.parseComponentValue();return t.parse(e,jn(s)?s.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return sr.parse(e,o.parseComponentValue());case"color":return ur.parse(e,o.parseComponentValue());case"image":return Qr.parse(e,o.parseComponentValue());case"length":var a=o.parseComponentValue();return Gn(a)?a:qn;case"length-percentage":var l=o.parseComponentValue();return Zn(l)?l:qn;case"time":return lo.parse(e,o.parseComponentValue())}break}},Io="data-html2canvas-debug",Po=function(e){var t=e.getAttribute(Io);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Do=function(e,t){var n=Po(e);return 1===n||t===n},Fo=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Do(t,3),this.styles=new Oo(e,window.getComputedStyle(t,null)),xa(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=a(this.context,t),Do(t,4)&&(this.flags|=16)}return e}(),ko="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Bo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Uo="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ho=0;Ho<Bo.length;Ho++)Uo[Bo.charCodeAt(Ho)]=Ho;for(var jo=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,l=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<a;t+=4)n=Uo[e.charCodeAt(t)],r=Uo[e.charCodeAt(t+1)],i=Uo[e.charCodeAt(t+2)],o=Uo[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c},Vo=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},Wo=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},Yo=5,Qo=11,Xo=2,Ko=Qo-Yo,Go=65536>>Yo,Zo=1<<Yo,zo=Zo-1,qo=1024>>Yo,Jo=Go+qo,$o=Jo,es=32,ts=$o+es,ns=65536>>Qo,rs=1<<Ko,is=rs-1,os=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},ss=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},as=function(e,t){var n=jo(e),r=Array.isArray(n)?Wo(n):new Uint32Array(n),i=Array.isArray(n)?Vo(n):new Uint16Array(n),o=24,s=os(i,o/2,r[4]/2),a=2===r[5]?os(i,(o+r[4])/2):ss(r,Math.ceil((o+r[4])/4));return new ls(r[0],r[1],r[2],r[3],s,a)},ls=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Yo],t=(t<<Xo)+(e&zo),this.data[t];if(e<=65535)return t=this.index[Go+(e-55296>>Yo)],t=(t<<Xo)+(e&zo),this.data[t];if(e<this.highStart)return t=ts-ns+(e>>Qo),t=this.index[t],t+=e>>Yo&is,t=this.index[t],t=(t<<Xo)+(e&zo),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),cs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",us="undefined"===typeof Uint8Array?[]:new Uint8Array(256),ds=0;ds<cs.length;ds++)us[cs.charCodeAt(ds)]=ds;var hs,ps=1,fs=2,ms=3,As=4,gs=5,_s=7,bs=8,vs=9,ws=10,ys=11,Rs=12,Ms=13,Ss=14,Es=15,Ts=function(e){var t=[],n=0,r=e.length;while(n<r){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320===(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},Cs=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";var r=[],i=-1,o="";while(++i<n){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},Os=as(ko),xs="×",Ns="÷",Ls=function(e){return Os.get(e)},Is=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],s=t[n];if(o===fs&&s===ms)return xs;if(o===fs||o===ms||o===As)return Ns;if(s===fs||s===ms||s===As)return Ns;if(o===bs&&-1!==[bs,vs,ys,Rs].indexOf(s))return xs;if((o===ys||o===vs)&&(s===vs||s===ws))return xs;if((o===Rs||o===ws)&&s===ws)return xs;if(s===Ms||s===gs)return xs;if(s===_s)return xs;if(o===ps)return xs;if(o===Ms&&s===Ss){while(i===gs)i=t[--r];if(i===Ss)return xs}if(o===Es&&s===Es){var a=0;while(i===Es)a++,i=t[--r];if(a%2===0)return xs}return Ns},Ps=function(e){var t=Ts(e),n=t.length,r=0,i=0,o=t.map(Ls);return{next:function(){if(r>=n)return{done:!0,value:null};var e=xs;while(r<n&&(e=Is(t,o,++r))===xs);if(e!==xs||r===n){var s=Cs.apply(null,t.slice(i,r));return i=r,{value:s,done:!1}}return{done:!0,value:null}}}},Ds=function(e){var t,n=Ps(e),r=[];while(!(t=n.next()).done)t.value&&r.push(t.value.slice());return r},Fs=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),o=Math.round(i.height);if(e.body.removeChild(r),o===t)return!0}}return!1},ks=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 n=e.createRange();t.innerHTML="function"===typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,i=c(r.data).map((function(e){return u(e)})),o=0,s={},a=i.every((function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var a=i.x>s.x||i.y>s.y;return s=i,0===t||a}));return e.body.removeChild(t),a},Bs=function(){return"undefined"!==typeof(new Image).crossOrigin},Us=function(){return"string"===typeof(new XMLHttpRequest).responseType},Hs=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(Qt){return!1}return!0},js=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Vs=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var s=Ws(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),Ys(s).then((function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var s=e.createElement("div");return s.style.backgroundImage="url("+o+")",s.style.height=n+"px",js(i)?Ys(Ws(n,n,0,0,s)):Promise.reject(!1)})).then((function(e){return r.drawImage(e,0,0),js(r.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Ws=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",s=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",t.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",n.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(i),s},Ys=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Qs={get SUPPORT_RANGE_BOUNDS(){var e=Fs(document);return Object.defineProperty(Qs,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Qs.SUPPORT_RANGE_BOUNDS&&ks(document);return Object.defineProperty(Qs,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=Hs(document);return Object.defineProperty(Qs,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"===typeof Array.from&&"function"===typeof window.fetch?Vs(document):Promise.resolve(!1);return Object.defineProperty(Qs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=Bs();return Object.defineProperty(Qs,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Us();return Object.defineProperty(Qs,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Qs,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Qs,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Xs=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),Ks=function(e,t,n,r){var i=Js(t,n),o=[],a=0;return i.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Qs.SUPPORT_RANGE_BOUNDS){var i=Zs(r,a,t.length).getClientRects();if(i.length>1){var l=zs(t),c=0;l.forEach((function(t){o.push(new Xs(t,s.fromDOMRectList(e,Zs(r,c+a,t.length).getClientRects()))),c+=t.length}))}else o.push(new Xs(t,s.fromDOMRectList(e,i)))}else{var u=r.splitText(t.length);o.push(new Xs(t,Gs(e,r))),r=u}else Qs.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));a+=t.length})),o},Gs=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=a(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return s.EMPTY},Zs=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},zs=function(e){if(Qs.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 Ds(e)},qs=function(e,t){if(Qs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return ea(e,t)},Js=function(e,t){return 0!==t.letterSpacing?zs(e):qs(e,t)},$s=[32,160,4961,65792,65793,4153,4241],ea=function(e,t){var n,r=ze(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=c(e),r="";t.forEach((function(e){-1===$s.indexOf(e)?r+=u(e):(r.length&&i.push(r),i.push(u(e)),r="")})),r.length&&i.push(r)}};while(!(n=r.next()).done)o();return i},ta=function(){function e(e,t,n){this.text=na(t.data,n.textTransform),this.textBounds=Ks(e,this.text,n,t)}return e}(),na=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(ra,ia);case 2:return e.toUpperCase();default:return e}},ra=/(^|\s|:|-|\(|\))([a-z])/g,ia=function(e,t,n){return e.length>0?t+n.toUpperCase():e},oa=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(Fo),sa=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(Fo),aa=function(e){function n(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=a(t,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(Fo),la=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(Fo),ca=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"===typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(Fo),ua=[{type:15,flags:0,unit:"px",number:3}],da=[{type:16,flags:0,number:50}],ha=function(e){return e.width>e.height?new s(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new s(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},pa=function(e){var t=e.type===Aa?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t},fa="checkbox",ma="radio",Aa="password",ga=707406591,_a=function(e){function n(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=pa(n),r.type!==fa&&r.type!==ma||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=ha(r.bounds)),r.type){case fa:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=ua;break;case ma:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=da;break}return r}return t(n,e),n}(Fo),ba=function(e){function n(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return t(n,e),n}(Fo),va=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(Fo),wa=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=Sa(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?br(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):vr.TRANSPARENT,o=n.contentWindow.document.body?br(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):vr.TRANSPARENT;r.backgroundColor=dr(i)?dr(o)?r.styles.backgroundColor:o:i}}catch(Qt){}return r}return t(n,e),n}(Fo),ya=["OL","UL","MENU"],Ra=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,Ca(i)&&i.data.trim().length>0)n.textNodes.push(new ta(e,i,n.styles));else if(Oa(i))if(Xa(i)&&i.assignedNodes)i.assignedNodes().forEach((function(t){return Ra(e,t,n,r)}));else{var s=Ma(e,i);s.styles.isVisible()&&(Ea(i,s,r)?s.flags|=4:Ta(s.styles)&&(s.flags|=2),-1!==ya.indexOf(i.tagName)&&(s.flags|=8),n.elements.push(s),i.slot,i.shadowRoot?Ra(e,i.shadowRoot,s,r):Ya(i)||Fa(i)||Qa(i)||Ra(e,i,s,r))}},Ma=function(e,t){return Ha(t)?new oa(e,t):Ba(t)?new sa(e,t):Fa(t)?new aa(e,t):La(t)?new la(e,t):Ia(t)?new ca(e,t):Pa(t)?new _a(e,t):Qa(t)?new ba(e,t):Ya(t)?new va(e,t):ja(t)?new wa(e,t):new Fo(e,t)},Sa=function(e,t){var n=Ma(e,t);return n.flags|=4,Ra(e,t,n,n),n},Ea=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||ka(e)&&n.styles.isTransparent()},Ta=function(e){return e.isPositioned()||e.isFloating()},Ca=function(e){return e.nodeType===Node.TEXT_NODE},Oa=function(e){return e.nodeType===Node.ELEMENT_NODE},xa=function(e){return Oa(e)&&"undefined"!==typeof e.style&&!Na(e)},Na=function(e){return"object"===typeof e.className},La=function(e){return"LI"===e.tagName},Ia=function(e){return"OL"===e.tagName},Pa=function(e){return"INPUT"===e.tagName},Da=function(e){return"HTML"===e.tagName},Fa=function(e){return"svg"===e.tagName},ka=function(e){return"BODY"===e.tagName},Ba=function(e){return"CANVAS"===e.tagName},Ua=function(e){return"VIDEO"===e.tagName},Ha=function(e){return"IMG"===e.tagName},ja=function(e){return"IFRAME"===e.tagName},Va=function(e){return"STYLE"===e.tagName},Wa=function(e){return"SCRIPT"===e.tagName},Ya=function(e){return"TEXTAREA"===e.tagName},Qa=function(e){return"SELECT"===e.tagName},Xa=function(e){return"SLOT"===e.tagName},Ka=function(e){return e.tagName.indexOf("-")>0},Ga=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,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var o=[];return i&&r.forEach((function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),o},e}(),Za={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"]},za={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},qa={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Ja={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},$a=function(e,t,n,r,i,o){return e<t||e>n?hl(e,i,o.length>0):r.integers.reduce((function(t,n,i){while(e>=n)e-=n,t+=r.values[i];return t}),"")+o},el=function(e,t,n,r){var i="";do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},tl=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(el(Math.abs(e),o,r,(function(e){return u(Math.floor(e%o)+t)}))+i)},nl=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return el(Math.abs(e),r,!1,(function(e){return t[Math.floor(e%r)]}))+n},rl=1,il=2,ol=4,sl=8,al=function(e,t,n,r,i,o){if(e<-9999||e>9999)return hl(e,4,i.length>0);var s=Math.abs(e),a=i;if(0===s)return t[0]+a;for(var l=0;s>0&&l<=4;l++){var c=s%10;0===c&&_o(o,rl)&&""!==a?a=t[c]+a:c>1||1===c&&0===l||1===c&&1===l&&_o(o,il)||1===c&&1===l&&_o(o,ol)&&e>100||1===c&&l>1&&_o(o,sl)?a=t[c]+(l>0?n[l-1]:"")+a:1===c&&l>0&&(a=n[l-1]+a),s=Math.floor(s/10)}return(e<0?r:"")+a},ll="十百千萬",cl="拾佰仟萬",ul="マイナス",dl="마이너스",hl=function(e,t,n){var r=n?". ":"",i=n?"、":"",o=n?", ":"",s=n?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var a=tl(e,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return nl(e,"〇一二三四五六七八九",i);case 6:return $a(e,1,3999,Za,3,r).toLowerCase();case 7:return $a(e,1,3999,Za,3,r);case 8:return tl(e,945,969,!1,r);case 9:return tl(e,97,122,!1,r);case 10:return tl(e,65,90,!1,r);case 11:return tl(e,1632,1641,!0,r);case 12:case 49:return $a(e,1,9999,za,3,r);case 35:return $a(e,1,9999,za,3,r).toLowerCase();case 13:return tl(e,2534,2543,!0,r);case 14:case 30:return tl(e,6112,6121,!0,r);case 15:return nl(e,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return nl(e,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return al(e,"零一二三四五六七八九",ll,"負",i,il|ol|sl);case 47:return al(e,"零壹貳參肆伍陸柒捌玖",cl,"負",i,rl|il|ol|sl);case 42:return al(e,"零一二三四五六七八九",ll,"负",i,il|ol|sl);case 41:return al(e,"零壹贰叁肆伍陆柒捌玖",cl,"负",i,rl|il|ol|sl);case 26:return al(e,"〇一二三四五六七八九","十百千万",ul,i,0);case 25:return al(e,"零壱弐参四伍六七八九","拾百千万",ul,i,rl|il|ol);case 31:return al(e,"영일이삼사오육칠팔구","십백천만",dl,o,rl|il|ol);case 33:return al(e,"零一二三四五六七八九","十百千萬",dl,o,0);case 32:return al(e,"零壹貳參四五六七八九","拾百千",dl,o,rl|il|ol);case 18:return tl(e,2406,2415,!0,r);case 20:return $a(e,1,19999,Ja,3,r);case 21:return tl(e,2790,2799,!0,r);case 22:return tl(e,2662,2671,!0,r);case 22:return $a(e,1,10999,qa,3,r);case 23:return nl(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return nl(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return tl(e,3302,3311,!0,r);case 28:return nl(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return nl(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return tl(e,3792,3801,!0,r);case 37:return tl(e,6160,6169,!0,r);case 38:return tl(e,4160,4169,!0,r);case 39:return tl(e,2918,2927,!0,r);case 40:return tl(e,1776,1785,!0,r);case 43:return tl(e,3046,3055,!0,r);case 44:return tl(e,3174,3183,!0,r);case 45:return tl(e,3664,3673,!0,r);case 46:return tl(e,3872,3881,!0,r);case 3:default:return tl(e,48,57,!0,r)}},pl="data-html2canvas-ignore",fl=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Ga,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 n=this,o=Al(e,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var s=e.defaultView.pageXOffset,a=e.defaultView.pageYOffset,l=o.contentWindow,c=l.document,u=bl(o).then((function(){return r(n,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Ml),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,n=this.clonedReferenceElement,"undefined"===typeof n?[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:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,_l(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof e?[2,Promise.resolve().then((function(){return e(c,n)})).then((function(){return o}))]:[2,o]}}))}))}));return c.open(),c.write(yl(document.doctype)+"<html></html>"),Rl(this.referenceElement.ownerDocument,s,a),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},e.prototype.createElementClone=function(e){if(Do(e,2),Ba(e))return this.createCanvasClone(e);if(Ua(e))return this.createVideoClone(e);if(Va(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Ha(t)&&(Ha(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Ka(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 n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"===typeof t.cssText?e+t.cssText:e}),""),r=e.cloneNode(!1);return r.textContent=n,r}}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 n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(Qt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext("2d"),o=r.getContext("2d");if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var s=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(s){var a=s.getContextAttributes();!1===(null===a||void 0===a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}o.drawImage(e,0,0)}return r}catch(Qt){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(Qt){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){Oa(t)&&(Wa(t)||t.hasAttribute(pl)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&Oa(t)&&Va(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Oa(i)&&Xa(i)&&"function"===typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach((function(e){return r.appendChildNode(t,e,n)}))}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(Ca(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&Oa(e)&&(xa(e)||Na(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var i=n.getComputedStyle(e),o=n.getComputedStyle(e,":before"),s=n.getComputedStyle(e,":after");this.referenceElement===e&&xa(r)&&(this.clonedReferenceElement=r),ka(r)&&xl(r);var a=this.counters.parse(new No(this.context,i)),l=this.resolvePseudoContent(e,r,o,hs.BEFORE);Ka(e)&&(t=!0),Ua(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,s,hs.AFTER);return c&&r.appendChild(c),this.counters.pop(a),(i&&(this.options.copyStyles||Na(e))&&!ja(e)||t)&&wl(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(Ya(e)||Qa(e))&&(Ya(r)||Qa(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,s=t.ownerDocument;if(s&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new No(this.context,n));var a=new xo(this.context,n),l=s.createElement("html2canvaspseudoelement");wl(n,l),a.content.forEach((function(t){if(0===t.type)l.appendChild(s.createTextNode(t.value));else if(22===t.type){var n=s.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(jn);r.length&&l.appendChild(s.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Qn),c=o[0],u=o[1];if(c&&jn(c)){var d=i.counters.getCounterValue(c.value),h=u&&jn(u)?Di.parse(i.context,u.value):3;l.appendChild(s.createTextNode(hl(d,h,!1)))}}else if("counters"===t.name){var p=t.values.filter(Qn),f=(c=p[0],p[1]);u=p[2];if(c&&jn(c)){var m=i.counters.getCounterValues(c.value),A=u&&jn(u)?Di.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(s.createTextNode(_))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(s.createTextNode(Mo(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(s.createTextNode(Mo(a.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(s.createTextNode(t.value))}})),l.className=Tl+" "+Cl;var c=r===hs.BEFORE?" "+Tl:" "+Cl;return Na(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"})(hs||(hs={}));var ml,Al=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(pl,"true"),e.body.appendChild(n),n},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))},bl=function(e){return new Promise((function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),t(e))}),50)}}))},vl=["all","d","content"],wl=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===vl.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}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},Rl=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},Ml=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},Sl=":before",El=":after",Tl="___html2canvas___pseudoelement_before",Cl="___html2canvas___pseudoelement_after",Ol='{\n content: "" !important;\n display: none !important;\n}',xl=function(e){Nl(e,"."+Tl+Sl+Ol+"\n ."+Cl+El+Ol)},Nl=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},Ll=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.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:Hl(e)||kl(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 r(this,void 0,void 0,(function(){var t,n,r,o,s=this;return i(this,(function(i){switch(i.label){case 0:return t=Ll.isSameOrigin(e),n=!Bl(e)&&!0===this._options.useCORS&&Qs.SUPPORT_CORS_IMAGES&&!t,r=!Bl(e)&&!t&&!Hl(e)&&"string"===typeof this._options.proxy&&Qs.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Bl(e)||Hl(e)||r||n?(o=e,r?[4,this.proxy(o)]:[3,2]):[2];case 1:o=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 r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Ul(o)||n)&&(r.crossOrigin="anonymous"),r.src=o,!0===r.complete&&setTimeout((function(){return e(r)}),500),s._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._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,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise((function(i,o){var s=Qs.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if("text"===s)i(a.response);else{var e=new FileReader;e.addEventListener("load",(function(){return i(e.result)}),!1),e.addEventListener("error",(function(e){return o(e)}),!1),e.readAsDataURL(a.response)}else o("Failed to proxy resource "+r+" with status code "+a.status)},a.onerror=o;var l=n.indexOf("?")>-1?"&":"?";if(a.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+s),"text"!==s&&a instanceof XMLHttpRequest&&(a.responseType=s),t._options.imageTimeout){var c=t._options.imageTimeout;a.timeout=c,a.ontimeout=function(){return o("Timed out ("+c+"ms) proxying "+r)}}a.send()}))},e}(),Pl=/^data:image\/svg\+xml/i,Dl=/^data:image\/.*;base64,/i,Fl=/^data:image\/.*/i,kl=function(e){return Qs.SUPPORT_SVG_DRAWING||!jl(e)},Bl=function(e){return Fl.test(e)},Ul=function(e){return Dl.test(e)},Hl=function(e){return"blob"===e.substr(0,4)},jl=function(e){return"svg"===e.substr(-3).toLowerCase()||Pl.test(e)},Vl=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Wl=function(e,t,n){return new Vl(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},Yl=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Wl(this.start,this.startControl,t),i=Wl(this.startControl,this.endControl,t),o=Wl(this.endControl,this.end,t),s=Wl(r,i,t),a=Wl(i,o,t),l=Wl(s,a,t);return n?new e(this.start,r,s,l):new e(l,a,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ql=function(e){return 1===e.type},Xl=function(){function e(e){var t=e.styles,n=e.bounds,r=er(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],s=er(t.borderTopRightRadius,n.width,n.height),a=s[0],l=s[1],c=er(t.borderBottomRightRadius,n.width,n.height),u=c[0],d=c[1],h=er(t.borderBottomLeftRadius,n.width,n.height),p=h[0],f=h[1],m=[];m.push((i+a)/n.width),m.push((p+u)/n.width),m.push((o+f)/n.height),m.push((l+d)/n.height);var A=Math.max.apply(Math,m);A>1&&(i/=A,o/=A,a/=A,l/=A,u/=A,d/=A,p/=A,f/=A);var g=n.width-a,_=n.height-d,b=n.width-u,v=n.height-f,w=t.borderTopWidth,y=t.borderRightWidth,R=t.borderBottomWidth,M=t.borderLeftWidth,S=tr(t.paddingTop,e.bounds.width),E=tr(t.paddingRight,e.bounds.width),T=tr(t.paddingBottom,e.bounds.width),C=tr(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?Kl(n.left+M/3,n.top+w/3,i-M/3,o-w/3,ml.TOP_LEFT):new Vl(n.left+M/3,n.top+w/3),this.topRightBorderDoubleOuterBox=i>0||o>0?Kl(n.left+g,n.top+w/3,a-y/3,l-w/3,ml.TOP_RIGHT):new Vl(n.left+n.width-y/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=u>0||d>0?Kl(n.left+b,n.top+_,u-y/3,d-R/3,ml.BOTTOM_RIGHT):new Vl(n.left+n.width-y/3,n.top+n.height-R/3),this.bottomLeftBorderDoubleOuterBox=p>0||f>0?Kl(n.left+M/3,n.top+v,p-M/3,f-R/3,ml.BOTTOM_LEFT):new Vl(n.left+M/3,n.top+n.height-R/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?Kl(n.left+2*M/3,n.top+2*w/3,i-2*M/3,o-2*w/3,ml.TOP_LEFT):new Vl(n.left+2*M/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||o>0?Kl(n.left+g,n.top+2*w/3,a-2*y/3,l-2*w/3,ml.TOP_RIGHT):new Vl(n.left+n.width-2*y/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=u>0||d>0?Kl(n.left+b,n.top+_,u-2*y/3,d-2*R/3,ml.BOTTOM_RIGHT):new Vl(n.left+n.width-2*y/3,n.top+n.height-2*R/3),this.bottomLeftBorderDoubleInnerBox=p>0||f>0?Kl(n.left+2*M/3,n.top+v,p-2*M/3,f-2*R/3,ml.BOTTOM_LEFT):new Vl(n.left+2*M/3,n.top+n.height-2*R/3),this.topLeftBorderStroke=i>0||o>0?Kl(n.left+M/2,n.top+w/2,i-M/2,o-w/2,ml.TOP_LEFT):new Vl(n.left+M/2,n.top+w/2),this.topRightBorderStroke=i>0||o>0?Kl(n.left+g,n.top+w/2,a-y/2,l-w/2,ml.TOP_RIGHT):new Vl(n.left+n.width-y/2,n.top+w/2),this.bottomRightBorderStroke=u>0||d>0?Kl(n.left+b,n.top+_,u-y/2,d-R/2,ml.BOTTOM_RIGHT):new Vl(n.left+n.width-y/2,n.top+n.height-R/2),this.bottomLeftBorderStroke=p>0||f>0?Kl(n.left+M/2,n.top+v,p-M/2,f-R/2,ml.BOTTOM_LEFT):new Vl(n.left+M/2,n.top+n.height-R/2),this.topLeftBorderBox=i>0||o>0?Kl(n.left,n.top,i,o,ml.TOP_LEFT):new Vl(n.left,n.top),this.topRightBorderBox=a>0||l>0?Kl(n.left+g,n.top,a,l,ml.TOP_RIGHT):new Vl(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||d>0?Kl(n.left+b,n.top+_,u,d,ml.BOTTOM_RIGHT):new Vl(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=p>0||f>0?Kl(n.left,n.top+v,p,f,ml.BOTTOM_LEFT):new Vl(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?Kl(n.left+M,n.top+w,Math.max(0,i-M),Math.max(0,o-w),ml.TOP_LEFT):new Vl(n.left+M,n.top+w),this.topRightPaddingBox=a>0||l>0?Kl(n.left+Math.min(g,n.width-y),n.top+w,g>n.width+y?0:Math.max(0,a-y),Math.max(0,l-w),ml.TOP_RIGHT):new Vl(n.left+n.width-y,n.top+w),this.bottomRightPaddingBox=u>0||d>0?Kl(n.left+Math.min(b,n.width-M),n.top+Math.min(_,n.height-R),Math.max(0,u-y),Math.max(0,d-R),ml.BOTTOM_RIGHT):new Vl(n.left+n.width-y,n.top+n.height-R),this.bottomLeftPaddingBox=p>0||f>0?Kl(n.left+M,n.top+Math.min(v,n.height-R),Math.max(0,p-M),Math.max(0,f-R),ml.BOTTOM_LEFT):new Vl(n.left+M,n.top+n.height-R),this.topLeftContentBox=i>0||o>0?Kl(n.left+M+C,n.top+w+S,Math.max(0,i-(M+C)),Math.max(0,o-(w+S)),ml.TOP_LEFT):new Vl(n.left+M+C,n.top+w+S),this.topRightContentBox=a>0||l>0?Kl(n.left+Math.min(g,n.width+M+C),n.top+w+S,g>n.width+M+C?0:a-M+C,l-(w+S),ml.TOP_RIGHT):new Vl(n.left+n.width-(y+E),n.top+w+S),this.bottomRightContentBox=u>0||d>0?Kl(n.left+Math.min(b,n.width-(M+C)),n.top+Math.min(_,n.height+w+S),Math.max(0,u-(y+E)),d-(R+T),ml.BOTTOM_RIGHT):new Vl(n.left+n.width-(y+E),n.top+n.height-(R+T)),this.bottomLeftContentBox=p>0||f>0?Kl(n.left+M+C,n.top+v,Math.max(0,p-(M+C)),f-(R+T),ml.BOTTOM_LEFT):new Vl(n.left+M+C,n.top+n.height-(R+T))}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 Kl=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,s=n*o,a=r*o,l=e+n,c=t+r;switch(i){case ml.TOP_LEFT:return new Yl(new Vl(e,c),new Vl(e,c-a),new Vl(l-s,t),new Vl(l,t));case ml.TOP_RIGHT:return new Yl(new Vl(e,t),new Vl(e+s,t),new Vl(l,c-a),new Vl(l,c));case ml.BOTTOM_RIGHT:return new Yl(new Vl(l,t),new Vl(l,t+a),new Vl(e+s,c),new Vl(e,c));case ml.BOTTOM_LEFT:default:return new Yl(new Vl(l,c),new Vl(l-s,c),new Vl(e,t+a),new Vl(e,t))}},Gl=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Zl=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},zl=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},ql=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),Jl=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),$l=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},nc=function(e){return 2===e.type},rc=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},ic=function(e,t,n,r,i){return e.map((function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e}))},oc=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),sc=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new Xl(this.container),this.container.styles.opacity<1&&this.effects.push(new $l(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new ql(n,r,i))}if(0!==this.container.styles.overflowX){var o=Gl(this.curves),s=zl(this.curves);rc(o,s)?this.effects.push(new Jl(o,6)):(this.effects.push(new Jl(o,2)),this.effects.push(new Jl(s,4)))}}return e.prototype.getEffects=function(e){var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);while(n){var i=n.effects.filter((function(e){return!tc(e)}));if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=Gl(n.curves),s=zl(n.curves);rc(o,s)||r.unshift(new Jl(s,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter((function(t){return _o(t.target,e)}))},e}(),ac=function(e,t,n,r){e.container.elements.forEach((function(i){var o=_o(i.flags,4),s=_o(i.flags,2),a=new sc(i,e);_o(i.styles.display,2048)&&r.push(a);var l=_o(i.flags,8)?[]:r;if(o||s){var c=o||i.styles.isPositioned()?n:t,u=new oc(a);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);ac(a,u,o?u:n,l)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),ac(a,t,n,l);_o(i.flags,8)&&lc(i,l)}))},lc=function(e,t){for(var n=e instanceof ca?e.start:1,r=e instanceof ca&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof la&&"number"===typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=hl(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},cc=function(e){var t=new sc(e,null),n=new oc(t),r=[];return ac(t,n,n,r),lc(t.container,r),n},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 n=[];return Ql(e)?n.push(e.subdivide(.5,!1)):n.push(e),Ql(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},mc=function(e,t,n,r){var i=[];return Ql(e)?i.push(e.subdivide(.5,!1)):i.push(e),Ql(n)?i.push(n.subdivide(.5,!0)):i.push(n),Ql(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),Ql(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},Ac=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},gc=function(e){var t=e.styles,n=e.bounds,r=tr(t.paddingLeft,n.width),i=tr(t.paddingRight,n.width),o=tr(t.paddingTop,n.width),s=tr(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+s))},_c=function(e,t){return 0===e?t.bounds:2===e?gc(t):Ac(t)},bc=function(e,t){return 0===e?t.bounds:2===e?gc(t):Ac(t)},vc=function(e,t,n){var r=_c(Mc(e.styles.backgroundOrigin,t),e),i=bc(Mc(e.styles.backgroundClip,t),e),o=Rc(Mc(e.styles.backgroundSize,t),n,r),s=o[0],a=o[1],l=er(Mc(e.styles.backgroundPosition,t),r.width-s,r.height-a),c=Sc(Mc(e.styles.backgroundRepeat,t),l,o,r,i),u=Math.round(r.left+l[0]),d=Math.round(r.top+l[1]);return[c,u,d,s,a]},wc=function(e){return jn(e)&&e.value===Kr.AUTO},yc=function(e){return"number"===typeof e},Rc=function(e,t,n){var r=t[0],i=t[1],o=t[2],s=e[0],a=e[1];if(!s)return[0,0];if(Zn(s)&&a&&Zn(a))return[tr(s,n.width),tr(a,n.height)];var l=yc(o);if(jn(s)&&(s.value===Kr.CONTAIN||s.value===Kr.COVER)){if(yc(o)){var c=n.width/n.height;return c<o!==(s.value===Kr.COVER)?[n.width,n.width/o]:[n.height*o,n.height]}return[n.width,n.height]}var u=yc(r),d=yc(i),h=u||d;if(wc(s)&&(!a||wc(a))){if(u&&d)return[r,i];if(!l&&!h)return[n.width,n.height];if(h&&l){var p=u?r:i*o,f=d?i:r/o;return[p,f]}var m=u?r:n.width,A=d?i:n.height;return[m,A]}if(l){var g=0,_=0;return Zn(s)?g=tr(s,n.width):Zn(a)&&(_=tr(a,n.height)),wc(s)?g=_*o:a&&!wc(a)||(_=g/o),[g,_]}var b=null,v=null;if(Zn(s)?b=tr(s,n.width):a&&Zn(a)&&(v=tr(a,n.height)),null===b||a&&!wc(a)||(v=u&&d?b/r*i:n.height),null!==v&&wc(s)&&(b=u&&d?v/i*r:n.width),null!==b&&null!==v)return[b,v];throw new Error("Unable to calculate background-size for element")},Mc=function(e,t){var n=e[t];return"undefined"===typeof n?e[0]:n},Sc=function(e,t,n,r,i){var o=t[0],s=t[1],a=n[0],l=n[1];switch(e){case 2:return[new Vl(Math.round(r.left),Math.round(r.top+s)),new Vl(Math.round(r.left+r.width),Math.round(r.top+s)),new Vl(Math.round(r.left+r.width),Math.round(l+r.top+s)),new Vl(Math.round(r.left),Math.round(l+r.top+s))];case 3:return[new Vl(Math.round(r.left+o),Math.round(r.top)),new Vl(Math.round(r.left+o+a),Math.round(r.top)),new Vl(Math.round(r.left+o+a),Math.round(r.height+r.top)),new Vl(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new Vl(Math.round(r.left+o),Math.round(r.top+s)),new Vl(Math.round(r.left+o+a),Math.round(r.top+s)),new Vl(Math.round(r.left+o+a),Math.round(r.top+s+l)),new Vl(Math.round(r.left+o),Math.round(r.top+s+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))]}},Ec="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Tc="Hidden Text",Cc=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",o.appendChild(n),r.src=Ec,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Tc)),n.appendChild(i),n.appendChild(r);var s=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(Tc)),n.style.lineHeight="normal",r.style.verticalAlign="super";var a=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:s,middle:a}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return"undefined"===typeof this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),Oc=function(){function e(e,t){this.context=e,this.options=t}return e}(),xc=1e4,Nc=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new Cc(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){var t=this;while(this._activeEffects.length)this.popEffect();e.forEach((function(e){return t.applyEffect(e)}))},n.prototype.applyEffect=function(e){this.ctx.save(),nc(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)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:return t=e.element.container.styles,t.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},n.prototype.renderNode=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return _o(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]}}))}))},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;if(0===t)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n);else{var i=zs(e.text);i.reduce((function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width}),e.bounds.left)}},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter((function(e){return"normal"===e||"small-caps"===e})).join(""),n=Fc(e.fontFamily).join(", "),r=Un(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,(function(){var n,r,o,s,a,l,c,u,d=this;return i(this,(function(i){return n=this.createFontStyle(t),r=n[0],o=n[1],s=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(o,s),l=a.baseline,c=a.middle,u=t.paintOrder,e.textBounds.forEach((function(e){u.forEach((function(n){switch(n){case 0:d.ctx.fillStyle=hr(t.color),d.renderTextWithLetterSpacing(e,t.letterSpacing,l);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach((function(n){d.ctx.shadowColor=hr(n.color),d.ctx.shadowOffsetX=n.offsetX.number*d.options.scale,d.ctx.shadowOffsetY=n.offsetY.number*d.options.scale,d.ctx.shadowBlur=n.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=hr(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=hr(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]}))}))},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=gc(e),i=zl(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,(function(){var t,r,o,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,o=t.styles,a=0,l=t.textNodes,i.label=1;case 1:return a<l.length?(c=l[a],[4,this.renderTextNode(c,o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return a++,[3,1];case 4:if(!(t instanceof oa))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 b=i.sent(),this.renderReplacedElement(t,r,b),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof sa&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof aa))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 b=i.sent(),this.renderReplacedElement(t,r,b),[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 wa&&t.tree?(u=new n(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 _a&&(h=Math.min(t.bounds.width,t.bounds.height),t.type===fa?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=hr(ga),this.ctx.fill(),this.ctx.restore()):t.type===ma&&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=hr(ga),this.ctx.fill(),this.ctx.restore())),Lc(t)&&t.value.length){switch(p=this.createFontStyle(o),w=p[0],f=p[1],m=this.fontMetrics.getMetrics(w,f).baseline,this.ctx.font=w,this.ctx.fillStyle=hr(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Pc(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 Xs(t.value,g),o.letterSpacing,m),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!_o(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(_=t.styles.listStyleImage,0!==_.type)return[3,18];b=void 0,v=_.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(v)];case 16:return b=i.sent(),this.ctx.drawImage(b,t.bounds.left-(b.width+10),t.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+v),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(w=this.createFontStyle(o)[0],this.ctx.font=w,this.ctx.fillStyle=hr(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new s(t.bounds.left,t.bounds.top+tr(t.styles.paddingTop,t.bounds.width),t.bounds.width,Li(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Xs(e.listValue,y),o.letterSpacing,Li(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}}))}))},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,s,a,l,c,u,d,h,p,f,m,A;return i(this,(function(i){switch(i.label){case 0:return _o(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,n=e.negativeZIndex,i.label=2;case 2:return t<n.length?(A=n[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(),r=0,o=e.nonInlineLevel,i.label=7;case 7:return r<o.length?(A=o[r],[4,this.renderNode(A)]):[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:s=0,a=e.nonPositionedFloats,i.label=11;case 11:return s<a.length?(A=a[s],[4,this.renderStack(A)]):[3,14];case 12:i.sent(),i.label=13;case 13:return s++,[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]}}))}))},n.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()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach((function(e,n){var r=Ql(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Ql(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)}))},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document,o=i.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,n);var s=o.getContext("2d");return s.drawImage(e,0,0,e.width,e.height,0,0,t,n),o},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,s,a;return i(this,(function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var o,s,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C,O,x,N,L,I,P,D;return i(this,(function(i){switch(i.label){case 0:if(0!==n.type)return[3,5];o=void 0,s=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.context.cache.match(s)];case 2:return o=i.sent(),[3,4];case 3:return i.sent(),r.context.logger.error("Error loading background-image "+s),[3,4];case 4:return o&&(a=vc(e,t,[o.width,o.height,o.width/o.height]),v=a[0],E=a[1],T=a[2],R=a[3],M=a[4],_=r.ctx.createPattern(r.resizeImage(o,R,M),"repeat"),r.renderRepeat(v,_,E,T)),[3,6];case 5:Wr(n)?(l=vc(e,t,[null,null,null]),v=l[0],E=l[1],T=l[2],R=l[3],M=l[4],c=Er(n.angle,R,M),u=c[0],d=c[1],h=c[2],p=c[3],f=c[4],m=document.createElement("canvas"),m.width=R,m.height=M,A=m.getContext("2d"),g=A.createLinearGradient(d,p,h,f),Mr(n.stops,u).forEach((function(e){return g.addColorStop(e.stop,hr(e.color))})),A.fillStyle=g,A.fillRect(0,0,R,M),R>0&&M>0&&(_=r.ctx.createPattern(m,"repeat"),r.renderRepeat(v,_,E,T))):Yr(n)&&(b=vc(e,t,[null,null,null]),v=b[0],w=b[1],y=b[2],R=b[3],M=b[4],S=0===n.position.length?[Jn]:n.position,E=tr(S[0],R),T=tr(S[S.length-1],M),C=Or(n,E,T,R,M),O=C[0],x=C[1],O>0&&x>0&&(N=r.ctx.createRadialGradient(w+E,y+T,0,w+E,y+T,O),Mr(n.stops,2*O).forEach((function(e){return N.addColorStop(e.stop,hr(e.color))})),r.path(v),r.ctx.fillStyle=N,O!==x?(L=e.bounds.left+.5*e.bounds.width,I=e.bounds.top+.5*e.bounds.height,P=x/O,D=1/P,r.ctx.save(),r.ctx.translate(L,I),r.ctx.transform(1,0,0,P,0,0),r.ctx.translate(-L,-I),r.ctx.fillRect(w,D*(y-I)+I,R,M*D),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},r=this,o=0,s=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return o<s.length?(a=s[o],[5,n(a)]):[3,4];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[2]}}))}))},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){return this.path(uc(n,t)),this.ctx.fillStyle=hr(e),this.ctx.fill(),[2]}))}))},n.prototype.renderDoubleBorder=function(e,t,n,o){return r(this,void 0,void 0,(function(){var r,s;return i(this,(function(i){switch(i.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,o)]:[3,2];case 1:return i.sent(),[2];case 2:return r=dc(o,n),this.path(r),this.ctx.fillStyle=hr(e),this.ctx.fill(),s=hc(o,n),this.path(s),this.ctx.fill(),[2]}}))}))},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,(function(){var t,n,r,o,s,a,l,c,u=this;return i(this,(function(i){switch(i.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!dr(t.backgroundColor)||t.backgroundImage.length,r=[{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}],o=Ic(Mc(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),dr(t.backgroundColor)||(this.ctx.fillStyle=hr(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 n=Gl(e.curves),r=t.inset?0:xc,i=ic(n,-r+(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(n),u.ctx.clip(),u.mask(i)):(u.mask(n),u.ctx.clip(),u.path(i)),u.ctx.shadowOffsetX=t.offsetX.number+r,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=hr(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?hr(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),i.label=2;case 2:s=0,a=0,l=r,i.label=3;case 3:return a<l.length?(c=l[a],0!==c.style&&!dr(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,s,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,s,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,s,e.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,s,e.curves)];case 10:i.sent(),i.label=11;case 11:s++,i.label=12;case 12:return a++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,o,s){return r(this,void 0,void 0,(function(){var r,a,l,c,u,d,h,p,f,m,A,g,_,b,v,w;return i(this,(function(i){return this.ctx.save(),r=pc(o,n),a=uc(o,n),2===s&&(this.path(a),this.ctx.clip()),Ql(a[0])?(l=a[0].start.x,c=a[0].start.y):(l=a[0].x,c=a[0].y),Ql(a[1])?(u=a[1].end.x,d=a[1].end.y):(u=a[1].x,d=a[1].y),h=0===n||2===n?Math.abs(l-u):Math.abs(c-d),this.ctx.beginPath(),3===s?this.formatPath(r):this.formatPath(a.slice(0,2)),p=t<3?3*t:2*t,f=t<3?2*t:t,3===s&&(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),b=(h-(g+1)*p)/g,f=b<=0||Math.abs(f-_)<Math.abs(f-b)?_:b),m&&(3===s?this.ctx.setLineDash([0,p+f]):this.ctx.setLineDash([p,f])),3===s?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=hr(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===s&&(Ql(a[0])&&(v=a[3],w=a[0],this.ctx.beginPath(),this.formatPath([new Vl(v.end.x,v.end.y),new Vl(w.start.x,w.start.y)]),this.ctx.stroke()),Ql(a[1])&&(v=a[1],w=a[2],this.ctx.beginPath(),this.formatPath([new Vl(v.end.x,v.end.y),new Vl(w.start.x,w.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=hr(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 n.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},n}(Oc),Lc=function(e){return e instanceof va||(e instanceof ba||e instanceof _a&&e.type!==ma&&e.type!==fa)},Ic=function(e,t){switch(e){case 0:return Gl(t);case 2:return Zl(t);case 1:default:return zl(t)}},Pc=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Dc=["-apple-system","system-ui"],Fc=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter((function(e){return-1===Dc.indexOf(e)})):e},kc=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return t=Ws(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,Bc(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=hr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},n}(Oc),Bc=function(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},Uc=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,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,o([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,o([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,o([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,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),Hc=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new Uc({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new Il(this,t)}return e.instanceCount=1,e}(),jc=function(e,t){return void 0===t&&(t={}),Vc(e,t)};"undefined"!==typeof window&&Ll.setContext(window);var Vc=function(e,t){return r(void 0,void 0,void 0,(function(){var r,o,c,u,d,h,p,f,m,A,g,_,b,v,w,y,R,M,S,E,T,C,O,x,N,L,I,P,D,F,k,B,U,H,j,V,W,Y,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(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(o=r.defaultView,!o)throw new Error("Document is not attached to a Window");return c={allowTaint:null!==(O=t.allowTaint)&&void 0!==O&&O,imageTimeout:null!==(x=t.imageTimeout)&&void 0!==x?x:15e3,proxy:t.proxy,useCORS:null!==(N=t.useCORS)&&void 0!==N&&N},u=n({logging:null===(L=t.logging)||void 0===L||L,cache:t.cache},c),d={windowWidth:null!==(I=t.windowWidth)&&void 0!==I?I:o.innerWidth,windowHeight:null!==(P=t.windowHeight)&&void 0!==P?P:o.innerHeight,scrollX:null!==(D=t.scrollX)&&void 0!==D?D:o.pageXOffset,scrollY:null!==(F=t.scrollY)&&void 0!==F?F:o.pageYOffset},h=new s(d.scrollX,d.scrollY,d.windowWidth,d.windowHeight),p=new Hc(u,h),f=null!==(k=t.foreignObjectRendering)&&void 0!==k&&k,m={allowTaint:null!==(B=t.allowTaint)&&void 0!==B&&B,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(r,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return _=i.sent(),b=ka(g)||Da(g)?l(g.ownerDocument):a(p,g),v=b.width,w=b.height,y=b.left,R=b.top,M=Wc(p,g,t.backgroundColor),S={canvas:t.canvas,backgroundColor:M,scale:null!==(H=null!==(U=t.scale)&&void 0!==U?U:o.devicePixelRatio)&&void 0!==H?H:1,x:(null!==(j=t.x)&&void 0!==j?j:0)+y,y:(null!==(V=t.y)&&void 0!==V?V:0)+R,width:null!==(W=t.width)&&void 0!==W?W:Math.ceil(v),height:null!==(Y=t.height)&&void 0!==Y?Y:Math.ceil(w)},f?(p.logger.debug("Document cloned, using foreign object rendering"),C=new kc(p,S),[4,C.render(g)]):[3,3];case 2:return E=i.sent(),[3,5];case 3:return p.logger.debug("Document cloned, element located at "+y+","+R+" with size "+v+"x"+w+" using computed rendering"),p.logger.debug("Starting DOM parsing"),T=Sa(p,g),M===T.styles.backgroundColor&&(T.styles.backgroundColor=vr.TRANSPARENT),p.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),C=new Nc(p,S),[4,C.render(T)];case 4:E=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,E]}}))}))},Wc=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?br(e,getComputedStyle(r.documentElement).backgroundColor):vr.TRANSPARENT,o=r.body?br(e,getComputedStyle(r.body).backgroundColor):vr.TRANSPARENT,s="string"===typeof n?br(e,n):null===n?vr.TRANSPARENT:4294967295;return t===r.documentElement?dr(i)?dr(o)?s:o:i:s};return jc}))},c109:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  598. //! moment.js locale configuration
  599. 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,n){var r=n("8c8a");t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},c11a:function(e,t,n){},c13b:function(e,t,n){var r=n("fee6"),i=n("39cd");function o(e,t){this.init(e,t)}function s(e,t){return i.getElementsByTagName(e,t,!0)}function a(e,t){return i.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,n){return i.getText(i.getElementsByTagName(e,t,n,1)).trim()}function c(e,t,n,r,i){var o=l(n,r,i);o&&(e[t]=o)}n("3fb5")(o,r),o.prototype.init=r;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};o.prototype.onend=function(){var e,t,n={},i=a(u,this.dom);i&&("feed"===i.name?(t=i.children,n.type="atom",c(n,"id","id",t),c(n,"title","title",t),(e=a("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),c(n,"description","subtitle",t),(e=l("updated",t))&&(n.updated=new Date(e)),c(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return e=e.children,c(n,"id","id",e),c(n,"title","title",e),(t=a("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=l("summary",e)||l("content",e))&&(n.description=t),(t=l("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=a("channel",i.children).children,n.type=i.name.substr(0,3),n.id="",c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t),(e=l("lastBuildDate",t))&&(n.updated=new Date(e)),c(n,"author","managingEditor",t,!0),n.items=s("item",i.children).map((function(e){var t,n={};return e=e.children,c(n,"id","guid",e),c(n,"title","title",e),c(n,"link","link",e),c(n,"description","description",e),(t=l("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,r.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},e.exports=o},c1a1:function(e,t,n){"use strict";var r=n("23e7"),i=n("b4bc"),o=n("dad2");r({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:i})},c1b2:function(e,t,n){"use strict";function r(e){return e.length}function i(e){for(let t=0;t<e.length;t++){const n=e[t];n>=65&&n<=90&&(e[t]=n+32)}}function o(e){for(let t=0;t<e.length;t++){const n=e[t];n>=97&&n<=122&&(e[t]=n-32)}}function s(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r>=65&&r<=90&&(r+=32),i>=65&&i<=90&&(i+=32),r!==i)return!1}return!0}function a(e,t){let n=0;while(1){if(n>=e.length)return!1;if(n>=t.length)return!0;if(e[n]!==t[n])return!1;n++}}function l(e,t){let n=0;while(1){if(n>=e.length)return!1;if(n>=t.length)return!0;const r=e[n],i=t[n];if(r<i)return!0;if(r>i)return!1;n++}}function c(e){return String.fromCodePoint(...e)}Object.defineProperty(t,"__esModule",{value:!0}),t.length=r,t.byteLowercase=i,t.byteUppercase=o,t.byteCaseInsensitiveMatch=s,t.startsWith=a,t.byteLessThan=l,t.isomorphicDecode=c},c1cf:function(e,t,n){"use strict";var r=n("e437");
  600. /**
  601. * @preserve
  602. * Authors: soakit, HChenZi
  603. * Last updated: Mar 09, 2023
  604. *
  605. * Description: Definition file for Chinese - China language-country.
  606. */const i=r["a"].languages.dictionaryKeys,o={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]:"第二值"};r["a"].languages.registerLanguageDictionary(o)},c1df:function(e,t,n){(function(e){var t;//! moment.js
  607. //! version : 2.30.1
  608. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  609. //! license : MIT
  610. //! momentjs.com
  611. (function(t,n){e.exports=n()})(0,(function(){"use strict";var r,i;function o(){return r.apply(null,arguments)}function s(e){r=e}function a(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 n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function m(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function A(e,t,n,r){return zn(e,t,n,r,!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 b(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=_(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function v(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,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=o.momentProperties=[],y=!1;function R(e,t){var n,r,i,o=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),o>0)for(n=0;n<o;n++)r=w[n],i=t[r],d(i)||(e[r]=i);return e}function M(e){R(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,o.updateOffset(this),y=!1)}function S(e){return e instanceof M||null!=e&&null!=e._isAMomentObject}function E(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,s,a=[],l=arguments.length;for(i=0;i<l;i++){if(r="","object"===typeof arguments[i]){for(s in r+="\n["+i+"] ",arguments[0])c(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[i];a.push(r)}E(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,O={};function x(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),O[e]||(E(t),O[e]=!0)}function N(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)c(e,n)&&(t=e[n],N(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(e,t){var n,r=m({},e);for(n in t)c(t,n)&&(l(e[n])&&l(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&l(e[n])&&(r[n]=m({},r[n]));return r}function P(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var D={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return N(r)?r.call(t,n):r}function k(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var B=/(\[[^\[]*\])|(\\)?([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,U=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},j={};function V(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(j[e]=i),t&&(j[t[0]]=function(){return k(i.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Y(e){var t,n,r=e.match(B);for(t=0,n=r.length;t<n;t++)j[r[t]]?r[t]=j[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=N(r[i])?r[i].call(t,e):r[i];return o}}function Q(e,t){return e.isValid()?(t=X(t,e.localeData()),H[t]=H[t]||Y(t),H[t](e)):e.localeData().invalidDate()}function X(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}U.lastIndex=0;while(n>=0&&U.test(e))e=e.replace(U,r),U.lastIndex=0,n-=1;return e}var K={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],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(B).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Z="Invalid date";function z(){return this._invalidDate}var q="%d",J=/\d{1,2}/;function $(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,n,r){var i=this._relativeTime[n];return N(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return N(n)?n(t):n.replace(/%s/i,t)}var re={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?re[e]||re[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)c(e,n)&&(t=ie(n),t&&(r[t]=e[n]));return r}var se={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 ae(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:se[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}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}/,be=/[+-]?\d{1,6}/,ve=/\d+/,we=/[+-]?\d+/,ye=/Z|[+-]\d\d:?\d\d/gi,Re=/Z|[+-]\d\d(?::?\d\d)?/gi,Me=/[+-]?\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,Ee=/^[1-9]\d?/,Te=/^([1-9]\d|\d)/;function Ce(e,t,n){le[e]=N(t)?t:function(e,r){return e&&n?n:t}}function Oe(e,t){return c(le,e)?le[e](t._strict,t._locale):new RegExp(xe(e))}function xe(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ie(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Le(t)),n}le={};var Pe={};function De(e,t){var n,r,i=t;for("string"===typeof e&&(e=[e]),h(t)&&(i=function(e,n){n[t]=Ie(e)}),r=e.length,n=0;n<r;n++)Pe[e[n]]=i}function Fe(e,t){De(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function ke(e,t,n){null!=t&&c(Pe,e)&&Pe[e](t,n._a,n,e)}function Be(e){return e%4===0&&e%100!==0||e%400===0}var Ue=0,He=1,je=2,Ve=3,We=4,Ye=5,Qe=6,Xe=7,Ke=8;function Ge(e){return Be(e)?366:365}V("Y",0,0,(function(){var e=this.year();return e<=9999?k(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"),Ce("Y",we),Ce("YY",fe,ue),Ce("YYYY",_e,he),Ce("YYYYY",be,pe),Ce("YYYYYY",be,pe),De(["YYYYY","YYYYYY"],Ue),De("YYYY",(function(e,t){t[Ue]=2===e.length?o.parseTwoDigitYear(e):Ie(e)})),De("YY",(function(e,t){t[Ue]=o.parseTwoDigitYear(e)})),De("Y",(function(e,t){t[Ue]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return Ie(e)+(Ie(e)>68?1900:2e3)};var Ze,ze=Je("FullYear",!0);function qe(){return Be(this.year())}function Je(e,t){return function(n){return null!=n?(et(this,e,n),o.updateOffset(this,t),this):$e(this,e)}}function $e(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function et(e,t,n){var r,i,o,s,a;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,s=e.month(),a=e.date(),a=29!==a||1!==s||Be(o)?a:28,i?r.setUTCFullYear(o,s,a):r.setFullYear(o,s,a)}}function tt(e){return e=ie(e),N(this[e])?this[e]():this}function nt(e,t){if("object"===typeof e){e=oe(e);var n,r=ae(e),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(e=ie(e),N(this[e]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?Be(e)?29:28:31-n%7%2}Ze=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),V("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Ce("M",fe,Ee),Ce("MM",fe,ue),Ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ce("MMMM",(function(e,t){return t.monthsRegex(e)})),De(["M","MM"],(function(e,t){t[He]=Ie(e)-1})),De(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[He]=i:_(n).invalidMonth=e}));var ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),st="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),at=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=Se,ct=Se;function ut(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||at).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months["standalone"]}function dt(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[at.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ht(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=A([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=Ze.call(this._shortMonthsParse,s),-1!==i?i:null):(i=Ze.call(this._longMonthsParse,s),-1!==i?i:null):"MMM"===t?(i=Ze.call(this._shortMonthsParse,s),-1!==i?i:(i=Ze.call(this._longMonthsParse,s),-1!==i?i:null)):(i=Ze.call(this._longMonthsParse,s),-1!==i?i:(i=Ze.call(this._shortMonthsParse,s),-1!==i?i:null))}function pt(e,t,n){var r,i,o;if(this._monthsParseExact)return ht.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=A([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function 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 n=t,r=e.date();return r=r<29?r:Math.min(r,it(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function mt(e){return null!=e?(ft(this,e),o.updateOffset(this,!0),this):$e(this,"Month")}function At(){return it(this.year(),this.month())}function gt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||bt.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")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=ct),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r,i,o=[],s=[],a=[];for(t=0;t<12;t++)n=A([2e3,t]),r=Ne(this.monthsShort(n,"")),i=Ne(this.months(n,"")),o.push(r),s.push(i),a.push(i),a.push(r);o.sort(e),s.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function vt(e,t,n,r,i,o,s){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function wt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function yt(e,t,n){var r=7+t-n,i=(7+wt(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Rt(e,t,n,r,i){var o,s,a=(7+n-r)%7,l=yt(e,r,i),c=1+7*(t-1)+a+l;return c<=0?(o=e-1,s=Ge(o)+c):c>Ge(e)?(o=e+1,s=c-Ge(e)):(o=e,s=c),{year:o,dayOfYear:s}}function Mt(e,t,n){var r,i,o=yt(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?(i=e.year()-1,r=s+St(i,t,n)):s>St(e.year(),t,n)?(r=s-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function St(e,t,n){var r=yt(e,t,n),i=yt(e+1,t,n);return(Ge(e)-r+i)/7}function Et(e){return Mt(e,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),Ce("w",fe,Ee),Ce("ww",fe,ue),Ce("W",fe,Ee),Ce("WW",fe,ue),Fe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Ie(e)}));var Tt={dow:0,doy:6};function Ct(){return this._week.dow}function Ot(){return this._week.doy}function xt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Nt(e){var t=Mt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Lt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function It(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(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"),Ce("d",fe),Ce("e",fe),Ce("E",fe),Ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),Fe(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:_(n).invalidWeekday=e})),Fe(["d","e","E"],(function(e,t,n,r){t[r]=Ie(e)}));var Dt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ft="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Se,Ut=Se,Ht=Se;function jt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Vt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Wt(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=A([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Ze.call(this._weekdaysParse,s),-1!==i?i:null):"ddd"===t?(i=Ze.call(this._shortWeekdaysParse,s),-1!==i?i:null):(i=Ze.call(this._minWeekdaysParse,s),-1!==i?i:null):"dddd"===t?(i=Ze.call(this._weekdaysParse,s),-1!==i?i:(i=Ze.call(this._shortWeekdaysParse,s),-1!==i?i:(i=Ze.call(this._minWeekdaysParse,s),-1!==i?i:null))):"ddd"===t?(i=Ze.call(this._shortWeekdaysParse,s),-1!==i?i:(i=Ze.call(this._weekdaysParse,s),-1!==i?i:(i=Ze.call(this._minWeekdaysParse,s),-1!==i?i:null))):(i=Ze.call(this._minWeekdaysParse,s),-1!==i?i:(i=Ze.call(this._weekdaysParse,s),-1!==i?i:(i=Ze.call(this._shortWeekdaysParse,s),-1!==i?i:null)))}function Qt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=A([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Xt(e){if(!this.isValid())return null!=e?this:NaN;var t=$e(this,"Day");return null!=e?(e=Lt(e,this.localeData()),this.add(e-t,"d")):t}function Kt(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 Zt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function zt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ht),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=A([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),i=Ne(this.weekdaysShort(n,"")),o=Ne(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),c.push(r),c.push(i),c.push(o);s.sort(e),a.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("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function $t(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){V(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function nn(e,t){return t._meridiemParse}function rn(e){return"p"===(e+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,$t),V("k",["kk",2],0,en),V("hmm",0,0,(function(){return""+$t.apply(this)+k(this.minutes(),2)})),V("hmmss",0,0,(function(){return""+$t.apply(this)+k(this.minutes(),2)+k(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+k(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+k(this.minutes(),2)+k(this.seconds(),2)})),tn("a",!0),tn("A",!1),Ce("a",nn),Ce("A",nn),Ce("H",fe,Te),Ce("h",fe,Ee),Ce("k",fe,Ee),Ce("HH",fe,ue),Ce("hh",fe,ue),Ce("kk",fe,ue),Ce("hmm",me),Ce("hmmss",Ae),Ce("Hmm",me),Ce("Hmmss",Ae),De(["H","HH"],Ve),De(["k","kk"],(function(e,t,n){var r=Ie(e);t[Ve]=24===r?0:r})),De(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),De(["h","hh"],(function(e,t,n){t[Ve]=Ie(e),_(n).bigHour=!0})),De("hmm",(function(e,t,n){var r=e.length-2;t[Ve]=Ie(e.substr(0,r)),t[We]=Ie(e.substr(r)),_(n).bigHour=!0})),De("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=Ie(e.substr(0,r)),t[We]=Ie(e.substr(r,2)),t[Ye]=Ie(e.substr(i)),_(n).bigHour=!0})),De("Hmm",(function(e,t,n){var r=e.length-2;t[Ve]=Ie(e.substr(0,r)),t[We]=Ie(e.substr(r))})),De("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ve]=Ie(e.substr(0,r)),t[We]=Ie(e.substr(r,2)),t[Ye]=Ie(e.substr(i))}));var on=/[ap]\.?m?\.?/i,sn=Je("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ln,cn={calendar:D,longDateFormat:K,invalidDate:Z,ordinal:q,dayOfMonthOrdinalParse:J,relativeTime:ee,months:ot,monthsShort:st,week:Tt,weekdays:Dt,weekdaysMin:kt,weekdaysShort:Ft,meridiemParse:on},un={},dn={};function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function pn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){var t,n,r,i,o=0;while(o<e.length){i=pn(e[o]).split("-"),t=i.length,n=pn(e[o+1]),n=n?n.split("-"):null;while(t>0){if(r=An(i.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&hn(i,n)>=t-1)break;t--}o++}return ln}function mn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function An(r){var i=null;if(void 0===un[r]&&"undefined"!==typeof e&&e&&e.exports&&mn(r))try{i=ln._abbr,t,n("4678")("./"+r),gn(i)}catch(o){un[r]=null}return un[r]}function gn(e,t){var n;return e&&(n=d(t)?vn(e):_n(e,t),n?ln=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ln._abbr}function _n(e,t){if(null!==t){var n,r=cn;if(t.abbr=e,null!=un[e])x("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."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(n=An(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new P(I(r,t)),dn[e]&&dn[e].forEach((function(e){_n(e.name,e.config)})),gn(e),un[e]}return delete un[e],null}function bn(e,t){if(null!=t){var n,r,i=cn;null!=un[e]&&null!=un[e].parentLocale?un[e].set(I(un[e]._config,t)):(r=An(e),null!=r&&(i=r._config),t=I(i,t),null==r&&(t.abbr=e),n=new P(t),n.parentLocale=un[e],un[e]=n),gn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===gn()&&gn(e)):null!=un[e]&&delete un[e]);return un[e]}function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ln;if(!a(e)){if(t=An(e),t)return t;e=[e]}return fn(e)}function wn(){return C(un)}function yn(e){var t,n=e._a;return n&&-2===_(e).overflow&&(t=n[He]<0||n[He]>11?He:n[je]<1||n[je]>it(n[Ue],n[He])?je:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[We]||0!==n[Ye]||0!==n[Qe])?Ve:n[We]<0||n[We]>59?We:n[Ye]<0||n[Ye]>59?Ye:n[Qe]<0||n[Qe]>999?Qe:-1,_(e)._overflowDayOfYear&&(t<Ue||t>je)&&(t=je),_(e)._overflowWeeks&&-1===t&&(t=Xe),_(e)._overflowWeekday&&-1===t&&(t=Ke),_(e).overflow=t),e}var Rn=/^\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)?)?$/,Mn=/^\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)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,En=[["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]],Tn=[["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/]],Cn=/^\/?Date\((-?\d+)/i,On=/^(?:(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}))$/,xn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Nn(e){var t,n,r,i,o,s,a=e._i,l=Rn.exec(a)||Mn.exec(a),c=En.length,u=Tn.length;if(l){for(_(e).iso=!0,t=0,n=c;t<n;t++)if(En[t][1].exec(l[1])){i=En[t][0],r=!1!==En[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Tn[t][1].exec(l[3])){o=(l[2]||" ")+Tn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Wn(e)}else e._isValid=!1}function Ln(e,t,n,r,i,o){var s=[In(e),st.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function In(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Dn(e,t,n){if(e){var r=Ft.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(r!==i)return _(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Fn(e,t,n){if(e)return xn[e];if(t)return 0;var r=parseInt(n,10),i=r%100,o=(r-i)/100;return 60*o+i}function kn(e){var t,n=On.exec(Pn(e._i));if(n){if(t=Ln(n[4],n[3],n[2],n[5],n[6],n[7]),!Dn(n[1],t,e))return;e._a=t,e._tzm=Fn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function Bn(e){var t=Cn.exec(e._i);null===t?(Nn(e),!1===e._isValid&&(delete e._isValid,kn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Un(e,t,n){return null!=e?e:null!=t?t:n}function Hn(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function jn(e){var t,n,r,i,o,s=[];if(!e._d){for(r=Hn(e),e._w&&null==e._a[je]&&null==e._a[He]&&Vn(e),null!=e._dayOfYear&&(o=Un(e._a[Ue],r[Ue]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[He]=n.getUTCMonth(),e._a[je]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ve]&&0===e._a[We]&&0===e._a[Ye]&&0===e._a[Qe]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?wt:vt).apply(null,s),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 Vn(e){var t,n,r,i,o,s,a,l,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,s=4,n=Un(t.GG,e._a[Ue],Mt(qn(),1,4).year),r=Un(t.W,1),i=Un(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,c=Mt(qn(),o,s),n=Un(t.gg,e._a[Ue],c.year),r=Un(t.w,c.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>St(n,o,s)?_(e)._overflowWeeks=!0:null!=l?_(e)._overflowWeekday=!0:(a=Rt(n,r,i,o,s),e._a[Ue]=a.year,e._dayOfYear=a.dayOfYear)}function Wn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],_(e).empty=!0;var t,n,r,i,s,a,l,c=""+e._i,u=c.length,d=0;for(r=X(e._f,e._locale).match(B)||[],l=r.length,t=0;t<l;t++)i=r[t],n=(c.match(Oe(i,e))||[])[0],n&&(s=c.substr(0,c.indexOf(n)),s.length>0&&_(e).unusedInput.push(s),c=c.slice(c.indexOf(n)+n.length),d+=n.length),j[i]?(n?_(e).empty=!1:_(e).unusedTokens.push(i),ke(i,n,e)):e._strict&&!n&&_(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]=Yn(e._locale,e._a[Ve],e._meridiem),a=_(e).era,null!==a&&(e._a[Ue]=e._locale.erasConvertYear(a,e._a[Ue])),jn(e),yn(e)}else kn(e);else Nn(e)}function Yn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Qn(e){var t,n,r,i,o,s,a=!1,l=e._f.length;if(0===l)return _(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)o=0,s=!1,t=R({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Wn(t),b(t)&&(s=!0),o+=_(t).charsLeftOver,o+=10*_(t).unusedTokens.length,_(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));m(e,n||t)}function Xn(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),jn(e)}}function Kn(e){var t=new M(yn(Gn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gn(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new M(yn(t)):(p(t)?e._d=t:a(n)?Qn(e):n?Wn(e):Zn(e),b(e)||(e._d=null),e))}function Zn(e){var t=e._i;d(t)?e._d=new Date(o.now()):p(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Bn(e):a(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),jn(e)):l(t)?Xn(e):h(t)?e._d=new Date(t):o.createFromInputFallback(e)}function zn(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(l(e)&&u(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Kn(o)}function qn(e,t,n,r){return zn(e,t,n,r,!1)}o.createFromInputFallback=T("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":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Jn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),$n=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function er(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return qn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function tr(){var e=[].slice.call(arguments,0);return er("isBefore",e)}function nr(){var e=[].slice.call(arguments,0);return er("isAfter",e)}var rr=function(){return Date.now?Date.now():+new Date},ir=["year","quarter","month","week","day","hour","minute","second","millisecond"];function or(e){var t,n,r=!1,i=ir.length;for(t in e)if(c(e,t)&&(-1===Ze.call(ir,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[ir[n]]){if(r)return!1;parseFloat(e[ir[n]])!==Ie(e[ir[n]])&&(r=!0)}return!0}function sr(){return this._isValid}function ar(){return xr(NaN)}function lr(e){var t=oe(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=or(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function cr(e){return e instanceof lr}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&Ie(e[r])!==Ie(t[r]))&&s++;return s+o}function hr(e,t){V(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+k(~~(e/60),2)+t+k(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),Ce("Z",Re),Ce("ZZ",Re),De(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Re,e)}));var pr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(pr)||["-",0,0],i=60*r[1]+Ie(r[2]),0===i?0:"+"===r[0]?i:-i)}function mr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(S(e)||p(e)?e.valueOf():qn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):qn(e).local()}function Ar(e){return-Math.round(e._d.getTimezoneOffset())}function gr(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=fr(Re,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ar(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Dr(this,xr(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ar(this)}function _r(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ar(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=fr(ye,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yr(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Rr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mr(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return R(t,this),t=Gn(t),t._a?(e=t._isUTC?A(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&dr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function Er(){return!!this.isValid()&&this._isUTC}function Tr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Cr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Or=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xr(e,t){var n,r,i,o=e,s=null;return cr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Cr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:Ie(s[je])*n,h:Ie(s[Ve])*n,m:Ie(s[We])*n,s:Ie(s[Ye])*n,ms:Ie(ur(1e3*s[Qe]))*n}):(s=Or.exec(e))?(n="-"===s[1]?-1:1,o={y:Nr(s[2],n),M:Nr(s[3],n),w:Nr(s[4],n),d:Nr(s[5],n),h:Nr(s[6],n),m:Nr(s[7],n),s:Nr(s[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Ir(qn(o.from),qn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new lr(o),cr(e)&&c(e,"_locale")&&(r._locale=e._locale),cr(e)&&c(e,"_isValid")&&(r._isValid=e._isValid),r}function Nr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Lr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ir(e,t){var n;return e.isValid()&&t.isValid()?(t=mr(t,e),e.isBefore(t)?n=Lr(e,t):(n=Lr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pr(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=xr(n,r),Dr(this,i,e),this}}function Dr(e,t,n,r){var i=t._milliseconds,s=ur(t._days),a=ur(t._months);e.isValid()&&(r=null==r||r,a&&ft(e,$e(e,"Month")+a*n),s&&et(e,"Date",$e(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,s||a))}xr.fn=lr.prototype,xr.invalid=ar;var Fr=Pr(1,"add"),kr=Pr(-1,"subtract");function Br(e){return"string"===typeof e||e instanceof String}function Ur(e){return S(e)||p(e)||Br(e)||h(e)||jr(e)||Hr(e)||null===e||void 0===e}function Hr(e){var t,n,r=l(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s=o.length;for(t=0;t<s;t+=1)n=o[t],i=i||c(e,n);return r&&i}function jr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!h(t)&&Br(e)})).length),t&&n}function Vr(e){var t,n,r=l(e)&&!u(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||c(e,n);return r&&i}function Wr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){1===arguments.length&&(arguments[0]?Ur(arguments[0])?(e=arguments[0],t=void 0):Vr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||qn(),r=mr(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",s=t&&(N(t[i])?t[i].call(this,n):t[i]);return this.format(s||this.localeData().calendar(i,this,qn(n)))}function Qr(){return new M(this)}function Xr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Kr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Gr(e,t,n,r){var i=S(e)?e:qn(e),o=S(t)?t:qn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function Zr(e,t){var n,r=S(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&(t=ie(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function zr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(r=mr(e,this),!r.isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=ie(t),t){case"year":o=$r(this,r)/12;break;case"month":o=$r(this,r);break;case"quarter":o=$r(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:Le(o)}function $r(e,t){if(e.date()<t.date())return-$r(t,e);var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function 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,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Q(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Q(n,"Z")):Q(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ni(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ri(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=Q(this,e);return this.localeData().postformat(t)}function ii(e,t){return this.isValid()&&(S(e)&&e.isValid()||qn(e).isValid())?xr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.from(qn(),e)}function si(e,t){return this.isValid()&&(S(e)&&e.isValid()||qn(e).isValid())?xr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ai(e){return this.to(qn(),e)}function li(e){var t;return void 0===e?this._locale._abbr:(t=vn(e),null!=t&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ci=T("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,n){return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function _i(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:Ai,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(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),o.updateOffset(this,!0),this}function bi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:Ai,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(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),o.updateOffset(this,!0),this}function vi(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function yi(){return new Date(this.valueOf())}function Ri(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Mi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Si(){return this.isValid()?this.toISOString():null}function Ei(){return b(this)}function Ti(){return m({},_(this))}function Ci(){return _(this).overflow}function Oi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function xi(e,t){var n,r,i,s=this._eras||vn("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":i=o(s[n].since).startOf("day"),s[n].since=i.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":i=o(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf();break}}return s}function Ni(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r];break}else if([o,s,a].indexOf(e)>=0)return l[r]}function Li(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function Ii(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Pi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Di(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Fi(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()}function ki(e){return c(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Bi(e){return c(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ui(e){return c(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hi(e,t){return t.erasAbbrRegex(e)}function ji(e,t){return t.erasNameRegex(e)}function Vi(e,t){return t.erasNarrowRegex(e)}function Wi(e,t){return t._eraYearOrdinalRegex||ve}function Yi(){var e,t,n,r,i,o=[],s=[],a=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ne(c[e].name),r=Ne(c[e].abbr),i=Ne(c[e].narrow),s.push(n),o.push(r),a.push(i),l.push(n),l.push(r),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+s.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}function Qi(e,t){V(0,[e,e.length],0,t)}function Xi(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ki(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return St(this.year(),1,4)}function Zi(){return St(this.isoWeekYear(),1,4)}function zi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function qi(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,r,i){var o;return null==e?Mt(this,r,i).year:(o=St(e,r,i),t>o&&(t=o),$i.call(this,e,t,n,r,i))}function $i(e,t,n,r,i){var o=Rt(e,t,n,r,i),s=wt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function eo(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"),Ce("N",Hi),Ce("NN",Hi),Ce("NNN",Hi),Ce("NNNN",ji),Ce("NNNNN",Vi),De(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?_(n).era=i:_(n).invalidEra=e})),Ce("y",ve),Ce("yy",ve),Ce("yyy",ve),Ce("yyyy",ve),Ce("yo",Wi),De(["y","yy","yyy","yyyy"],Ue),De(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ue]=n._locale.eraYearOrdinalParse(e,i):t[Ue]=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"),Ce("G",we),Ce("g",we),Ce("GG",fe,ue),Ce("gg",fe,ue),Ce("GGGG",_e,he),Ce("gggg",_e,he),Ce("GGGGG",be,pe),Ce("ggggg",be,pe),Fe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Ie(e)})),Fe(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),V("Q",0,"Qo","quarter"),Ce("Q",ce),De("Q",(function(e,t){t[He]=3*(Ie(e)-1)})),V("D",["DD",2],"Do","date"),Ce("D",fe,Ee),Ce("DD",fe,ue),Ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),De(["D","DD"],je),De("Do",(function(e,t){t[je]=Ie(e.match(fe)[0])}));var to=Je("Date",!0);function no(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"),Ce("DDD",ge),Ce("DDDD",de),De(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Ie(e)})),V("m",["mm",2],0,"minute"),Ce("m",fe,Te),Ce("mm",fe,ue),De(["m","mm"],We);var ro=Je("Minutes",!1);V("s",["ss",2],0,"second"),Ce("s",fe,Te),Ce("ss",fe,ue),De(["s","ss"],Ye);var io,oo,so=Je("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()})),Ce("S",ge,ce),Ce("SS",ge,ue),Ce("SSS",ge,de),io="SSSS";io.length<=9;io+="S")Ce(io,ve);function ao(e,t){t[Qe]=Ie(1e3*("0."+e))}for(io="S";io.length<=9;io+="S")De(io,ao);function lo(){return this._isUTC?"UTC":""}function co(){return this._isUTC?"Coordinated Universal Time":""}oo=Je("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var uo=M.prototype;function ho(e){return qn(1e3*e)}function po(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Fr,uo.calendar=Yr,uo.clone=Qr,uo.diff=Jr,uo.endOf=bi,uo.format=ri,uo.from=ii,uo.fromNow=oi,uo.to=si,uo.toNow=ai,uo.get=tt,uo.invalidAt=Ci,uo.isAfter=Xr,uo.isBefore=Kr,uo.isBetween=Gr,uo.isSame=Zr,uo.isSameOrAfter=zr,uo.isSameOrBefore=qr,uo.isValid=Ei,uo.lang=ci,uo.locale=li,uo.localeData=ui,uo.max=$n,uo.min=Jn,uo.parsingFlags=Ti,uo.set=nt,uo.startOf=_i,uo.subtract=kr,uo.toArray=Ri,uo.toObject=Mi,uo.toDate=yi,uo.toISOString=ti,uo.inspect=ni,"undefined"!==typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Si,uo.toString=ei,uo.unix=wi,uo.valueOf=vi,uo.creationData=Oi,uo.eraName=Ii,uo.eraNarrow=Pi,uo.eraAbbr=Di,uo.eraYear=Fi,uo.year=ze,uo.isLeapYear=qe,uo.weekYear=Xi,uo.isoWeekYear=Ki,uo.quarter=uo.quarters=eo,uo.month=mt,uo.daysInMonth=At,uo.week=uo.weeks=xt,uo.isoWeek=uo.isoWeeks=Nt,uo.weeksInYear=zi,uo.weeksInWeekYear=qi,uo.isoWeeksInYear=Gi,uo.isoWeeksInISOWeekYear=Zi,uo.date=to,uo.day=uo.days=Xt,uo.weekday=Kt,uo.isoWeekday=Gt,uo.dayOfYear=no,uo.hour=uo.hours=sn,uo.minute=uo.minutes=ro,uo.second=uo.seconds=so,uo.millisecond=uo.milliseconds=oo,uo.utcOffset=gr,uo.utc=br,uo.local=vr,uo.parseZone=wr,uo.hasAlignedHourOffset=yr,uo.isDST=Rr,uo.isLocal=Sr,uo.isUtcOffset=Er,uo.isUtc=Tr,uo.isUTC=Tr,uo.zoneAbbr=lo,uo.zoneName=co,uo.dates=T("dates accessor is deprecated. Use date instead.",to),uo.months=T("months accessor is deprecated. Use month instead",mt),uo.years=T("years accessor is deprecated. Use year instead",ze),uo.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",_r),uo.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mr);var mo=P.prototype;function Ao(e,t,n,r){var i=vn(),o=A().set(r,t);return i[n](o,e)}function go(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return Ao(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Ao(e,r,n,"month");return i}function _o(e,t,n,r){"boolean"===typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var i,o=vn(),s=e?o._week.dow:0,a=[];if(null!=n)return Ao(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=Ao(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function vo(e,t){return go(e,t,"monthsShort")}function wo(e,t,n){return _o(e,t,n,"weekdays")}function yo(e,t,n){return _o(e,t,n,"weekdaysShort")}function Ro(e,t,n){return _o(e,t,n,"weekdaysMin")}mo.calendar=F,mo.longDateFormat=G,mo.invalidDate=z,mo.ordinal=$,mo.preparse=fo,mo.postformat=fo,mo.relativeTime=te,mo.pastFuture=ne,mo.set=L,mo.eras=xi,mo.erasParse=Ni,mo.erasConvertYear=Li,mo.erasAbbrRegex=Bi,mo.erasNameRegex=ki,mo.erasNarrowRegex=Ui,mo.months=ut,mo.monthsShort=dt,mo.monthsParse=pt,mo.monthsRegex=_t,mo.monthsShortRegex=gt,mo.week=Et,mo.firstDayOfYear=Ot,mo.firstDayOfWeek=Ct,mo.weekdays=jt,mo.weekdaysMin=Wt,mo.weekdaysShort=Vt,mo.weekdaysParse=Qt,mo.weekdaysRegex=Zt,mo.weekdaysShortRegex=zt,mo.weekdaysMinRegex=qt,mo.isPM=rn,mo.meridiem=an,gn("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,n=1===Ie(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),o.lang=T("moment.lang is deprecated. Use moment.locale instead.",gn),o.langData=T("moment.langData is deprecated. Use moment.localeData instead.",vn);var Mo=Math.abs;function So(){var e=this._data;return this._milliseconds=Mo(this._milliseconds),this._days=Mo(this._days),this._months=Mo(this._months),e.milliseconds=Mo(e.milliseconds),e.seconds=Mo(e.seconds),e.minutes=Mo(e.minutes),e.hours=Mo(e.hours),e.months=Mo(e.months),e.years=Mo(e.years),this}function Eo(e,t,n,r){var i=xr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function To(e,t){return Eo(this,e,t,1)}function Co(e,t){return Eo(this,e,t,-1)}function Oo(e){return e<0?Math.floor(e):Math.ceil(e)}function xo(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Oo(Lo(a)+s),s=0,a=0),l.milliseconds=o%1e3,e=Le(o/1e3),l.seconds=e%60,t=Le(e/60),l.minutes=t%60,n=Le(t/60),l.hours=n%24,s+=Le(n/24),i=Le(No(s)),a+=i,s-=Oo(Lo(i)),r=Le(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function No(e){return 4800*e/146097}function Lo(e){return 146097*e/4800}function Io(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+No(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Lo(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Po(e){return function(){return this.as(e)}}var Do=Po("ms"),Fo=Po("s"),ko=Po("m"),Bo=Po("h"),Uo=Po("d"),Ho=Po("w"),jo=Po("M"),Vo=Po("Q"),Wo=Po("y"),Yo=Do;function Qo(){return xr(this)}function Xo(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Ko(e){return function(){return this.isValid()?this._data[e]:NaN}}var Go=Ko("milliseconds"),Zo=Ko("seconds"),zo=Ko("minutes"),qo=Ko("hours"),Jo=Ko("days"),$o=Ko("months"),es=Ko("years");function ts(){return Le(this.days()/7)}var ns=Math.round,rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function is(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function os(e,t,n,r){var i=xr(e).abs(),o=ns(i.as("s")),s=ns(i.as("m")),a=ns(i.as("h")),l=ns(i.as("d")),c=ns(i.as("M")),u=ns(i.as("w")),d=ns(i.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||u<=1&&["w"]||u<n.w&&["ww",u]),h=h||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,is.apply(null,h)}function ss(e){return void 0===e?ns:"function"===typeof e&&(ns=e,!0)}function as(e,t){return void 0!==rs[e]&&(void 0===t?rs[e]:(rs[e]=t,"s"===e&&(rs.ss=t-1),!0))}function ls(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=rs;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},rs,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=os(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var cs=Math.abs;function us(e){return(e>0)-(e<0)||+e}function ds(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a,l=cs(this._milliseconds)/1e3,c=cs(this._days),u=cs(this._months),d=this.asSeconds();return d?(e=Le(l/60),t=Le(e/60),l%=60,e%=60,n=Le(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=us(this._months)!==us(d)?"-":"",s=us(this._days)!==us(d)?"-":"",a=us(this._milliseconds)!==us(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=lr.prototype;return hs.isValid=sr,hs.abs=So,hs.add=To,hs.subtract=Co,hs.as=Io,hs.asMilliseconds=Do,hs.asSeconds=Fo,hs.asMinutes=ko,hs.asHours=Bo,hs.asDays=Uo,hs.asWeeks=Ho,hs.asMonths=jo,hs.asQuarters=Vo,hs.asYears=Wo,hs.valueOf=Yo,hs._bubble=xo,hs.clone=Qo,hs.get=Xo,hs.milliseconds=Go,hs.seconds=Zo,hs.minutes=zo,hs.hours=qo,hs.days=Jo,hs.weeks=ts,hs.months=$o,hs.years=es,hs.humanize=ls,hs.toISOString=ds,hs.toString=ds,hs.toJSON=ds,hs.locale=li,hs.localeData=ui,hs.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ds),hs.lang=ci,V("X",0,0,"unix"),V("x",0,0,"valueOf"),Ce("x",we),Ce("X",Me),De("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),De("x",(function(e,t,n){n._d=new Date(Ie(e))})),
  612. //! moment.js
  613. o.version="2.30.1",s(qn),o.fn=uo,o.min=tr,o.max=nr,o.now=rr,o.utc=A,o.unix=ho,o.months=bo,o.isDate=p,o.locale=gn,o.invalid=v,o.duration=xr,o.isMoment=S,o.weekdays=wo,o.parseZone=po,o.localeData=vn,o.isDuration=cr,o.monthsShort=vo,o.weekdaysMin=Ro,o.defineLocale=_n,o.updateLocale=bn,o.locales=wn,o.weekdaysShort=yo,o.normalizeUnits=ie,o.relativeTimeRounding=ss,o.relativeTimeThreshold=as,o.calendarFormat=Wr,o.prototype=uo,o.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"},o}))}).call(this,n("62e4")(e))},c1f3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc");r.dom.setFeatures(!0);var i=n("9ccc");t.DOMImplementation=i.DOMImplementation;var o=n("e234");t.DOMParser=o.DOMParser;var s=n("6faa");t.XMLSerializer=s.XMLSerializer},c24d:function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var r=n("c0d8"),i=n("2b0e");function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return t=d(t),A(e,p()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,b(r.key),r)}}function c(e,t,n){return t&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,n){return(t=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,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 o(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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function b(e){var t=_(e,"string");return"symbol"==typeof t?t:t+""}function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}var w=Symbol("unassigned"),y=null,R="The Handsontable instance bound to this component was destroyed and cannot be used properly.";function M(e){e.hotInstance&&(e.hotInstance.addHook("beforeChange",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeCreateRow",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeCreateCol",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeRemoveRow",(function(){e.__internalEdit=!0})),e.hotInstance.addHook("beforeRemoveCol",(function(){e.__internalEdit=!0})))}function S(e){var t=r["a"].hooks.getRegistered(),n={};for(var i in Object.assign(n,r["a"].DefaultSettings),n)n[i]={default:w};for(var o=0;o<t.length;o++)n[t[o]]={default:w};return n.settings={default:w},"HotTable"===e&&(n.id={type:String,default:"hot-"+Math.random().toString(36).substring(5)},n.wrapperRendererCacheSize={type:Number,default:3e3}),n}function E(e){var t={},n=e["settings"];if(n!==w)for(var r in n)n.hasOwnProperty(r)&&n[r]!==w&&(t[r]=n[r]);for(var i in e)e.hasOwnProperty(i)&&"settings"!==i&&e[i]!==w&&(t[i]=e[i]);return t}function T(e,t){var n=E(e),r=e.settings?e.settings:n,i=e.settings?n:null,o={};for(var s in r)!r.hasOwnProperty(s)||void 0===r[s]||t&&"data"!==s&&N(t[s],r[s])||(o[s]=r[s]);for(var a in i)!i.hasOwnProperty(a)||"id"===a||"settings"===a||"wrapperRendererCacheSize"===a||void 0===i[a]||t&&"data"!==a&&N(t[a],i[a])||(o[a]=i[a]);return o}function C(e,t){var n=null;return e.every((function(e,r){return!e.data||!e.data.attrs||void 0===e.data.attrs[t]||(n=e,!1)})),n}function O(e){return e.filter((function(e){return"HotColumn"===e.$options.name}))}function x(e,t,n,r){var i=t.$el?t.$el.ownerDocument:document,o={propsData:n,parent:t,data:r};y||(y=i.createElement("DIV"),y.id="vueHotComponents",i.body.appendChild(y));var s=i.createElement("DIV");return y.appendChild(s),new e.componentOptions.Ctor(o).$mount(s)}function N(e,t){var n=function(e){var t=function(){var e=new WeakSet;return function(t,n){if("object"===v(n)&&null!==n){if(e.has(n))return;e.add(n)}return n}}();return JSON.stringify(e,t)};return"function"===typeof e&&"function"===typeof t?e.toString()===t.toString():v(e)===v(t)&&n(e)===n(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,n){var r=e;n(r)})(0,(function(e){var t=Symbol("newer"),n=Symbol("older");function r(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,r){this.key=e,this.value=r,this[t]=void 0,this[n]=void 0}e.LRUMap=r,r.prototype._markEntryAsUsed=function(e){e!==this.newest&&(e[t]&&(e===this.oldest&&(this.oldest=e[t]),e[t][n]=e[n]),e[n]&&(e[n][t]=e[t]),e[t]=void 0,e[n]=this.newest,this.newest&&(this.newest[t]=e),this.newest=e)},r.prototype.assign=function(e){var r,o=this.limit||Number.MAX_VALUE;this._keymap.clear();for(var s=e[Symbol.iterator](),a=s.next();!a.done;a=s.next()){var l=new i(a.value[0],a.value[1]);if(this._keymap.set(l.key,l),r?(r[t]=l,l[n]=r):this.oldest=l,r=l,0==o--)throw new Error("overflow")}this.newest=r,this.size=this._keymap.size},r.prototype.get=function(e){var t=this._keymap.get(e);if(t)return this._markEntryAsUsed(t),t.value},r.prototype.set=function(e,r){var o=this._keymap.get(e);return o?(o.value=r,this._markEntryAsUsed(o),this):(this._keymap.set(e,o=new i(e,r)),this.newest?(this.newest[t]=o,o[n]=this.newest):this.oldest=o,this.newest=o,++this.size,this.size>this.limit&&this.shift(),this)},r.prototype.shift=function(){var e=this.oldest;if(e)return this.oldest[t]?(this.oldest=this.oldest[t],this.oldest[n]=void 0):(this.oldest=void 0,this.newest=void 0),e[t]=e[n]=void 0,this._keymap["delete"](e.key),--this.size,[e.key,e.value]},r.prototype.has=function(e){return this._keymap.has(e)}}))})(I);var P={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(R),null)},set hotInstance(t){e.__hotInstance=t}}},computed:{mergedHotSettings:function(){return T(this.$props,this.hotInstance?this.hotInstance.getSettings():void 0)}},methods:{hotInit:function(){var e=this.getGlobalRendererVNode(),t=this.getGlobalEditorVNode(),n=T(this.$props);n.columns=this.columnSettings?this.columnSettings:n.columns,t&&(n.editor=this.getEditorClass(t,this),t.child.$destroy()),e&&(n.renderer=this.getRendererWrapper(e,this),e.child.$destroy()),this.hotInstance=new r["a"].Core(this.$el,n),this.hotInstance.init(),M(this),this.miscCache.currentSourceColumns=this.hotInstance.countSourceCols()},matchHotMappersSize:function(){var e=this;if(this.hotInstance){var t,n=this.hotInstance.getSourceData(),r=[],i=[],o=this.hotInstance.rowIndexMapper.getNumberOfIndexes(),s=this.hotInstance.isColumnModificationAllowed(),a=0;if(n&&n.length!==o&&n.length<o)for(var l=n.length;l<o;l++)r.push(l);if(s)if(a=this.hotInstance.columnIndexMapper.getNumberOfIndexes(),n&&n[0]&&(null===(t=n[0])||void 0===t?void 0:t.length)!==a&&n[0].length<a)for(var c=n[0].length;c<a;c++)i.push(c);this.hotInstance.batch((function(){r.length>0?e.hotInstance.rowIndexMapper.removeIndexes(r):e.hotInstance.rowIndexMapper.insertIndexes(o-1,n.length-o),s&&0!==n.length&&(i.length>0?e.hotInstance.columnIndexMapper.removeIndexes(i):e.hotInstance.columnIndexMapper.insertIndexes(a-1,n[0].length-a))}))}},getGlobalRendererVNode:function(){var e=this.$slots["default"]||[];return C(e,"hot-renderer")},getGlobalEditorVNode:function(){var e=this.$slots["default"]||[];return C(e,"hot-editor")},getColumnSettings:function(){var e=O(this.$children),t=!1,n=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."),n.length?n:void 0},getRendererWrapper:function(e,t){var n=this;return function(r,i,o,s,a,l,c){if(i&&!i.getAttribute("ghost-table")){var u=n.rendererCache,d={hotInstance:r,TD:i,row:o,col:s,prop:a,value:l,cellProperties:c,isRenderer:!0};if(u&&!u.has("".concat(o,"-").concat(s))){var h=x(e,t,e.componentOptions.propsData,d);u.set("".concat(o,"-").concat(s),{component:h,lastUsedTD:null})}var p=u.get("".concat(o,"-").concat(s)),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 n=e.key?e.key.toString():null,r=e.componentOptions.Ctor.options.name,i=n?"".concat(r,":").concat(n):r,o=this.editorCache,s=null;return o.has(i)?s=o.get(i):(s=x(e,t,e.componentOptions.propsData,{isEditor:!0}),o.set(i,s)),s.$data.hotCustomEditorClass}},mounted:function(){return this.columnSettings=this.getColumnSettings(),this.hotInit()},beforeDestroy:function(){this.hotInstance&&this.hotInstance.destroy()},version:L};function D(e,t,n,r,i,o,s,a,l,c){const u="function"===typeof n?n.options:n;return e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),n}var F=P,k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:e.id}},[e._t("default")],2)},B=[],U=void 0,H=void 0,j=!1,V=D({render:k,staticRenderFns:B},U,F,H,j);S("HotColumn");function W(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function Y(e){return Y="function"===typeof Symbol&&"symbol"===v(Symbol.iterator)?function(e){return v(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":v(e)},Y(e)}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e){return K(e)||G(e)||Z()}function K(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}function G(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function Z(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function z(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function q(e,t){J(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(n){J(e.prototype,t.prototype,n)})),Object.getOwnPropertyNames(t).forEach((function(n){J(e,t,n)}))}function J(e,t,n){var r=n?Reflect.getOwnMetadataKeys(t,n):Reflect.getOwnMetadataKeys(t);r.forEach((function(r){var i=n?Reflect.getOwnMetadata(r,t,n):Reflect.getOwnMetadata(r,t);n?Reflect.defineMetadata(r,i,e,n):Reflect.defineMetadata(r,i,e)}))}"function"===typeof SuppressedError&&SuppressedError;var $={__proto__:[]},ee=$ instanceof Array;function te(e){var t=Y(e);return null==e||"object"!==t&&"function"!==t}function ne(e,t){var n=t.prototype._init;t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach((function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t},configurable:!0})}))};var r=new t;t.prototype._init=n;var i={};return Object.keys(r).forEach((function(e){void 0!==r[e]&&(i[e]=r[e])})),i}var re=["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 n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(re.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"===typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return Q({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return ne(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var o=Object.getPrototypeOf(e.prototype),s=o instanceof i["default"]?o.constructor:i["default"],a=s.extend(t);return se(a,e,s),z()&&q(a,e),a}var oe={prototype:!0,arguments:!0,callee:!0,caller:!0};function se(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!oe[r]){var i=Object.getOwnPropertyDescriptor(e,r);if(!i||i.configurable){var o=Object.getOwnPropertyDescriptor(t,r);if(!ee){if("cid"===r)return;var s=Object.getOwnPropertyDescriptor(n,r);if(!te(o.value)&&s&&s.value===o.value)return}Object.defineProperty(e,r,o)}}}))}function ae(e){return"function"===typeof e?ie(e):function(t){return ie(t,e)}}ae.registerHooks=function(e){re.push.apply(re,X(e))};var le=function(e){function t(){var e;return a(this,t),e=s(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 n(t){var r;return a(this,n),r=s(this,n,[t]),e.$data.hotCustomEditorInstance=r,r}return h(n,t),c(n,[{key:"focus",value:function(){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(){}},{key:"open",value:function(){}},{key:"close",value:function(){}}])}(r["a"].editors.BaseEditor);return Object.getOwnPropertyNames(r["a"].editors.BaseEditor.prototype).forEach((function(n){"constructor"!==n&&(t.prototype[n]=function(){for(var t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(t=e[n]).call.apply(t,[this].concat(i))})})),t}()}},{key:"_fireCallbacks",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=r["a"].editors.BaseEditor.prototype._fireCallbacks).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"beginEditing",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.beginEditing).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"cancelChanges",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.cancelChanges).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"checkEditorSection",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.checkEditorSection).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"close",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.close).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"discardEditor",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.discardEditor).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"enableFullEditMode",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.enableFullEditMode).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"extend",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.extend).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"finishEditing",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.finishEditing).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"focus",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.focus).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"getValue",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.getValue).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"init",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.init).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"isInFullEditMode",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.isInFullEditMode).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"isOpened",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.isOpened).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"isWaiting",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.isWaiting).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"open",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.open).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"prepare",value:function(e,t,n,i,o,s){return this.$data.hotInstance=s.instance,this.$data.row=e,this.$data.col=t,this.$data.prop=n,this.$data.TD=i,this.$data.originalValue=o,this.$data.cellProperties=s,r["a"].editors.BaseEditor.prototype.prepare.call(this.$data.hotCustomEditorInstance,e,t,n,i,o,s)}},{key:"saveValue",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.saveValue).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"setValue",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.setValue).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"addHook",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.addHook).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"removeHooksByKey",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.removeHooksByKey).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"clearHooks",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.clearHooks).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"getEditedCell",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.getEditedCell).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellRect",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.getEditedCellRect).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellsZIndex",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.getEditedCellsZIndex).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}},{key:"getEditedCellsLayerClass",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=r["a"].editors.BaseEditor.prototype.getEditedCellsLayerClass).call.apply(e,[this.$data.hotCustomEditorInstance].concat(n))}}])}(i["default"]);le=W([ae({})],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,n){"use strict";n("4bb4")},c2ae:function(e,t,n){e.exports=n("e372").PassThrough},c3c0:function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5");function o(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function s(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];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)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):o(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n}function a(e){for(var t="",n=0;n<e.length;n++)t+=u(e[n].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 n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=l(i)),n+=d(i.toString(16))}return n}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,n,i){var o=n-t;r(o%4===0);for(var s=new Array(o/4),a=0,l=t;a<s.length;a++,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],s[a]=c>>>0}return s}function p(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n}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,n){return e+t+n>>>0}function _(e,t,n,r){return e+t+n+r>>>0}function b(e,t,n,r,i){return e+t+n+r+i>>>0}function v(e,t,n,r){var i=e[t],o=e[t+1],s=r+o>>>0,a=(s<r?1:0)+n+i;e[t]=a>>>0,e[t+1]=s}function w(e,t,n,r){var i=t+r>>>0,o=(i<t?1:0)+e+n;return o>>>0}function y(e,t,n,r){var i=t+r;return i>>>0}function R(e,t,n,r,i,o,s,a){var l=0,c=t;c=c+r>>>0,l+=c<t?1:0,c=c+o>>>0,l+=c<o?1:0,c=c+a>>>0,l+=c<a?1:0;var u=e+n+i+s+l;return u>>>0}function M(e,t,n,r,i,o,s,a){var l=t+r+o+a;return l>>>0}function S(e,t,n,r,i,o,s,a,l,c){var u=0,d=t;d=d+r>>>0,u+=d<t?1:0,d=d+o>>>0,u+=d<o?1:0,d=d+a>>>0,u+=d<a?1:0,d=d+c>>>0,u+=d<c?1:0;var h=e+n+i+s+l+u;return h>>>0}function E(e,t,n,r,i,o,s,a,l,c){var u=t+r+o+a+c;return u>>>0}function T(e,t,n){var r=t<<32-n|e>>>n;return r>>>0}function C(e,t,n){var r=e<<32-n|t>>>n;return r>>>0}function O(e,t,n){return e>>>n}function x(e,t,n){var r=e<<32-n|t>>>n;return r>>>0}t.inherits=i,t.toArray=s,t.toHex=a,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=b,t.sum64=v,t.sum64_hi=w,t.sum64_lo=y,t.sum64_4_hi=R,t.sum64_4_lo=M,t.sum64_5_hi=S,t.sum64_5_lo=E,t.rotr64_hi=T,t.rotr64_lo=C,t.shr64_hi=O,t.shr64_lo=x},c4c8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("b775");function i(e){return Object(r["a"])({url:"/product/search",method:"post",data:e})}},c4e1:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"editor"},[n("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"}},[n("transition-group",{staticStyle:{display:"block","min-height":"100vh"}},[e._l(e.comList,(function(t,r){return[n("div",{key:r,staticClass:"layers"},[n("div",{staticClass:"main",on:{click:function(t){return e.onSetActive(r)}}},[n(t.type,{ref:"component_"+r,refInFor:!0,tag:"component",attrs:{com:t,coms:e.comList,currentIndex:r,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?[n("div",{key:-1,staticClass:"editor-empty"},[n("el-empty",{attrs:{description:"请拖放组件至当前页面"}})],1)]:e._e()],2)],1)],1)},i=[],o=n("c7eb"),s=n("1da1"),a=n("53ca"),l=n("b85c"),c=n("5530"),u=n("2909"),d=(n("d9e2"),n("99af"),n("4de4"),n("7db0"),n("caad"),n("d81d"),n("14d9"),n("13d5"),n("fb6a"),n("4e82"),n("b0c0"),n("e9c4"),n("4ec9"),n("a9e3"),n("b64b"),n("d3b7"),n("ac1f"),n("25f0"),n("2532"),n("3ca3"),n("466d"),n("5319"),n("2ca0"),n("498a"),n("0643"),n("2382"),n("fffc"),n("4e3e"),n("a573"),n("9d4a"),n("9a9a"),n("159b"),n("ddb0"),n("b76a")),h=n.n(d),p=n("9fdb"),f=n("7cb9"),m=n("0fe1"),A=n("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){var t=this;if(!this.isSaving&&e&&Array.isArray(e))try{var n=e.length!==this.comList.length||e.some((function(e,n){var r=t.comList[n];return!r||(e.content!==r.content||e.dcb_nr!==r.dcb_nr||JSON.stringify(e.attrs)!==JSON.stringify(r.attrs)||JSON.stringify(e.dcb_attrs)!==JSON.stringify(r.dcb_attrs)||e.isEdit!==r.isEdit||e!==r)}));if(!n)return;var r=e.reduce((function(e,t){if(t.attrs&&Array.isArray(t.attrs)){var n=t.attrs.filter((function(e){return"Directory"===e.type}));e.push.apply(e,Object(u["a"])(n))}return e}),[]);this.$set(this,"extractedAttrs",r),console.log("extractedAttrs:",this.extractedAttrs);var i=e.map((function(e){return Object(c["a"])(Object(c["a"])({},e),{},{attrs:Array.isArray(e.attrs)?e.attrs:[],dcb_attrs:Array.isArray(e.dcb_attrs)?e.dcb_attrs:"string"===typeof e.dcb_attrs?JSON.parse(e.dcb_attrs||"[]"):[],content:e.content||e.dcb_nr||"",dcb_nr:e.content||e.dcb_nr||"",type:e.dcb_type||e.type,name:e.dcb_name||e.name})}));this.$set(this,"comList",i),this.$emit("onSetComs",this.comList),this.$nextTick((function(){t.updateDirectoryNumbers()}))}catch(o){console.error("处理组件数据时出错:",o),Array.isArray(this.comList)||this.$set(this,"comList",Array.isArray(e)?e:[])}},immediate:!0,deep:!0},comIndex:{handler:function(e){console.log(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:"",isSaving:!1,extractedAttrs:[]}},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(){setTimeout((function(){e.updateDirectoryNumbers(),e.$emit("onRebuild",e.comList)}),0)}))},updateDirectoryNumbers:function(){var e=this,t={};this.extractedAttrs.forEach((function(e,n){"Directory"===e.type&&(t[e.level]||(t[e.level]=[]),e.originalIndex=n,e.originalContent=e.content.replace(/^[\d.]+\s*/,"").trim(),t[e.level]=[].concat(Object(u["a"])(t[e.level]),[e]))})),Object.keys(t).sort((function(e,t){return Number(e)-Number(t)})).forEach((function(e){var n=t[e];"1"===e?n.forEach((function(e,t){e.number=(t+1).toString(),e.content="".concat(e.number," ").concat(e.originalContent)})):n.forEach((function(r){var i,o=(parseInt(e)-1).toString(),s=null,a=Object(l["a"])(t[o]||[]);try{for(a.s();!(i=a.n()).done;){var c=i.value;if(!(c.originalIndex<r.originalIndex))break;s=c}}catch(h){a.e(h)}finally{a.f()}if(s){var u=n.filter((function(e){var n=t[o].find((function(e){return e.originalIndex>s.originalIndex})),r=n?n.originalIndex:1/0;return e.originalIndex>s.originalIndex&&e.originalIndex<r})),d=u.indexOf(r)+1;r.number="".concat(s.number,".").concat(d),r.content="".concat(r.number," ").concat(r.originalContent)}}))})),this.comList.forEach((function(t){t.attrs&&t.attrs.forEach((function(t){if("Directory"===t.type){var n=e.extractedAttrs.find((function(e){var n=t.content.replace(/^[\d.]+\s*/,"").trim(),r=e.originalContent;return e.level===t.level&&n===r}));n&&(t.number=n.number,t.content=n.content)}}))})),this.extractedAttrs.forEach((function(e){delete e.originalIndex,delete e.originalContent}))},findParentByContent:function(e,t){var n=e.originalContent.trim(),r=e.number?e.number.split(".")[0]:"";return t.find((function(e){var t=e.originalContent.trim(),i=e.number?e.number.split(".")[0]:"";return n.startsWith(t+".")&&r===i}))},carefulCopy:function(e){return e.map((function(e){var t=Object(c["a"])({},e);return Array.isArray(t.attrs)&&(t.attrs=t.attrs.map((function(e){return Object(c["a"])({},e)}))),"object"===Object(a["a"])(t.content)&&null!==t.content&&(t.content=JSON.parse(JSON.stringify(t.content))),"Table"===t.type&&(t.tableHeader=Object(u["a"])(t.tableHeader),t.tableData=t.tableData.map((function(e){return Object(c["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,n){var r,i=Object(l["a"])(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.id===n)return o.name;if(o.children){var s=t(o.children,n);if(s)return s}}}catch(a){i.e(a)}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,n=this,r={};Object.keys(e).forEach((function(t){t.startsWith("dcb_")&&(r[t]=e[t])})),r.dcb_nr=e.content,r.dcb_attrs=JSON.stringify(e.attrs),r.dcb_type=e.type,r.dcb_name=e.name,Array.isArray(e.category_id)?r.category_id=e.category_id[e.category_id.length-1]:r.category_id=e.category_id,r.status=5,void 0==e.dcb_id||this.saveAs?Object(A["a"])(r).then((function(r){200==r.code&&(e.id=r.data,n.$alert("模块信息保存成功"),n.$emit("onRefresh"),t.saveAs=!1,e.selDisabled=!1,e.valDisabled=!1,t.$forceUpdate())})):Object(A["l"])(r).then((function(r){200==r.code&&(n.$alert("模块信息更新成功"),n.$emit("onRefresh"),e.selDisabled=!1,e.valDisabled=!1,t.$forceUpdate())}))},initCategoryList:function(){var e=this;return Object(s["a"])(Object(o["a"])().mark((function t(){var n;return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e,t.next=3,Object(A["k"])();case 3:n=t.sent,console.log(n),e.categoryList=n.data;case 6:case"end":return t.stop()}}),t)})))()},processDataForCascader:function(e){console.log("Raw data:",e);var t=new Map,n=[];return e.forEach((function(e){var n=Object(c["a"])(Object(c["a"])({},e),{},{children:[]});t.set(e.id,n)})),e.forEach((function(e){if("0"===e.parent_id||0===e.parent_id)n.push(t.get(e.id));else{var r=t.get(parseInt(e.parent_id));r?r.children.push(t.get(e.id)):(console.warn("Parent with id ".concat(e.parent_id," not found for item:"),e),n.push(t.get(e.id)))}})),console.log("Processed data:",n),n},onChangeCategory:function(e,t){var n=t[t.length-1];e.category_id=n},onUpdateProdAttr:function(e,t,n){this.comList[e].attrs[t].content=n;for(var r=this.comList[e].attrs[t].attrs.name,i=this.comList[e].attrs[t].attrs.type,o=0;o<this.comList.length;o++)for(var s=0;s<this.comList[o].attrs.length;s++)"ProductAttr"==this.comList[o].attrs[s].type&&this.comList[o].attrs[s].attrs.name==r&&this.comList[o].attrs[s].attrs.type==i&&(this.comList[o].attrs[s].content=n);this.$emit("onRebuild",this.comList)},onUpdateAttr:function(e,t,n){console.log(e,t,n),this.comList[e].attrs[t].content=n;for(var r=this.comList[e].attrs[t].type,i=this.comList[e].attrs[t].data,o=0;o<this.comList.length;o++)for(var s=0;s<this.comList[o].attrs.length;s++)this.comList[o].attrs[s].type==r&&this.comList[o].attrs[s].id==i&&(this.comList[o].attrs[s].content=n);this.$emit("onRebuild",this.comList)},onUpdata:function(e,t,n,r,i){var o=this,s=o.coms[e];if("variableNull"===i)s&&s.attrs&&s.attrs[t]&&s.attrs[t].id===n&&this.$set(s.attrs[t],"content",r);else for(var a=s.attrs[t].type,l=0;l<o.coms.length;l++)for(var c=0;c<o.coms[l].attrs.length;c++)o.coms[l].attrs[c].type==a&&o.coms[l].attrs[c].id==n&&(o.coms[l].attrs[c].content=r);o.$emit("onRebuild",o.coms)},onRemove:function(e){var t=this;this.$confirm("此操作将删除该模块, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.$emit("onDelete",e)})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},onEdit:function(e,t){var n=this;return Object(s["a"])(Object(o["a"])().mark((function r(){var i;return Object(o["a"])().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.prev=0,2!==t){r.next=34;break}if(n.isSaving=!0,i=n.$refs["component_".concat(e)],console.log("componentRef:",i),i&&i[0]){r.next=8;break}throw console.error("组件引用获取失败: component_".concat(e)),new Error("组件引用不存在");case 8:if("function"===typeof i[0].save){r.next=11;break}throw console.error("组件没有 save 方法:",i[0]),new Error("组件 save 方法不存在");case 11:return r.prev=11,console.log("开始保存组件内容..."),r.next=15,i[0].save();case 15:return console.log("组件内容保存完成"),console.log("开始更新父组件..."),r.next=19,new Promise((function(e){n.$nextTick(Object(s["a"])(Object(o["a"])().mark((function t(){return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$emit("onRebuild",n.comList);case 2:e();case 3:case"end":return t.stop()}}),t)}))))}));case 19:return console.log("父组件更新完成"),console.log("更新编辑状态..."),n.$set(n.comList[e],"isEdit",2),r.next=24,n.$nextTick();case 24:console.log("视图更新完成"),r.next=32;break;case 27:throw r.prev=27,r.t0=r["catch"](11),console.error("保存过程中出错:",r.t0),n.$message.error("保存失败:"+r.t0.message),r.t0;case 32:r.next=37;break;case 34:console.log("切换到编辑模式..."),n.comList=n.comList.map((function(r,i){return r.isEdit=2,i===e&&1===t&&n.filterAttrs(r),r})),1===t&&(n.comList[e].isEdit=1,n.onSetActive(e));case 37:return r.next=39,n.$emit("onRebuild",n.comList);case 39:console.log("重建完成"),r.next=46;break;case 42:r.prev=42,r.t1=r["catch"](0),console.error("切换模式失败:",r.t1),n.$message.error("切换模式失败:"+r.t1.message);case 46:return r.prev=46,n.isSaving=!1,console.log("操作完成,isSaving 重置为 false"),r.finish(46);case 50:case"end":return r.stop()}}),r,null,[[0,42,46,50],[11,27]])})))()},filterAttrs:function(e){if(e&&e.dcb_nr){var t=(e.dcb_nr.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()}));Array.isArray(e.attrs)&&(e.attrs=e.attrs.filter((function(e){return t.includes(e.id)})))}},onAdd:function(e){e.preventDefault(),e.stopPropagation();var t=this.comList.map((function(e){return Object(c["a"])(Object(c["a"])({},e),{},{attrs:Array.isArray(e.attrs)?e.attrs:[],dcb_attrs:Array.isArray(e.dcb_attrs)?e.dcb_attrs:"string"===typeof e.dcb_attrs?JSON.parse(e.dcb_attrs||"[]"):[],content:e.content||e.dcb_nr||"",dcb_nr:e.content||e.dcb_nr||"",type:e.dcb_type||e.type,name:e.dcb_name||e.name,isEdit:e.isEdit||2})}));this.$set(this,"comList",t),this.$emit("onRebuild",this.comList)},onDragEnd:function(e){e.preventDefault(),e.stopPropagation(),this.$emit("onRebuild",this.comList)},onUpdate:function(e,t){var n=this,r=this.debounce((function(e,t){n.coms&&Array.isArray(n.coms)?n.coms[e]&&(n.$set(n.coms[e],"content",t),n.$set(n.coms[e],"dcb_nr",t),n.$emit("onRebuild",n.coms)):console.warn("coms is not an array")}),300);r(e,t)},validateComponentRef:function(e,t){if(!e)throw new Error("组件引用为空 (index: ".concat(t,")"));if(!Array.isArray(e))throw new Error("组件引用不是数组 (index: ".concat(t,")"));if(!e[0])throw new Error("组件引用数组为空 (index: ".concat(t,")"));if(!e[0].save)throw new Error("组件没有 save 方法 (index: ".concat(t,")"))},debounce:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];n&&clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}},onSetActive:function(e){this.$emit("onSetActiveIndex",e)}}},_=g,b=(n("dcca"),n("2877")),v=Object(b["a"])(_,r,i,!1,null,null,null);t["default"]=v.exports},c4fa:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));const r="gridDefault",i="editorManager.handlingEditor"},c515:function(e,t,n){"use strict";(function(e,r,i){n.d(t,"a",(function(){return ci}));var o=n("7a74"),s=n.n(o),a=n("4850"),l=n("3f41"),c=n.n(l),u=n("39f4"),d=n("1c46"),h=n.n(d),p=n("3e8f"),f=n.n(p),m=n("df7c"),A=n.n(m),g=n("3022"),_=n.n(g),b=n("faa1"),v=n.n(b),w=n("d485"),y=n.n(w),R=n("9490"),M=n.n(R),S=n("0b16"),E=n.n(S),T=n("1985"),C=n.n(T),O=n("24f8"),x=n.n(O),N=n("470b"),L=n.n(N),I=n("4f4d"),P=n.n(I),D=function(e){return e&&"VirtualNode"===e.type&&"2"===e.version},F=function(e){return e&&"Widget"===e.type},k=function(e){return e&&"Thunk"===e.type},B=function(e){return e&&("function"==typeof e.hook&&!e.hasOwnProperty("hook")||"function"==typeof e.unhook&&!e.hasOwnProperty("unhook"))},U=V,H={},j=[];function V(e,t,n,r,i){this.tagName=e,this.properties=t||H,this.children=n||j,this.key=null!=r?String(r):void 0,this.namespace="string"==typeof i?i:null;var o,s=n&&n.length||0,a=0,l=!1,c=!1,u=!1;for(var d in t)if(t.hasOwnProperty(d)){var h=t[d];B(h)&&h.unhook&&(o||(o={}),o[d]=h)}for(var p=0;p<s;p++){var f=n[p];D(f)?(a+=f.count||0,!l&&f.hasWidgets&&(l=!0),!c&&f.hasThunks&&(c=!0),u||!f.hooks&&!f.descendantHooks||(u=!0)):!l&&F(f)?"function"==typeof f.destroy&&(l=!0):!c&&k(f)&&(c=!0)}this.count=s+a,this.hasWidgets=l,this.hasThunks=c,this.hooks=o,this.descendantHooks=u}V.prototype.version="2",V.prototype.type="VirtualNode";var W=Y;function Y(e){this.text=String(e)}Y.prototype.version="2",Y.prototype.type="VirtualText";const Q="http://schemas.openxmlformats.org/drawingml/2006/main",X="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing",K="http://purl.org/dc/elements/1.1/",G="http://purl.org/dc/dcmitype/",Z="http://purl.org/dc/terms/",z="urn:schemas-microsoft-com:office:office",q="http://schemas.openxmlformats.org/drawingml/2006/picture",J="http://schemas.openxmlformats.org/officeDocument/2006/relationships",$="urn:schemas-microsoft-com:vml",ee="http://schemas.openxmlformats.org/markup-compatibility/2006",te="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",ne="http://schemas.openxmlformats.org/wordprocessingml/2006/main",re="urn:schemas-microsoft-com:office:word",ie="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",oe="http://schemas.microsoft.com/office/word/2006/wordml",se="http://www.w3.org/2001/XMLSchema-instance",ae="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",be="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",ve="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 Re="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function Me(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Se(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function Ee(e){return e&&e.default||e}var Te=Se((function(e,t){(function(){var n="Expected a function",r="__lodash_placeholder__",i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],o="[object Arguments]",s="[object Array]",a="[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]",b="[object WeakMap]",v="[object ArrayBuffer]",w="[object DataView]",y="[object Float32Array]",R="[object Float64Array]",M="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",T="[object Uint8Array]",C="[object Uint8ClampedArray]",O="[object Uint16Array]",x="[object Uint32Array]",N=/\b__p \+= '';/g,L=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,D=/[&<>"']/g,F=RegExp(P.source),k=RegExp(D.source),B=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Y.source),X=/^\s+/,K=/\s/,G=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,z=/,? & /,q=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,J=/[()=,{}\[\]\/\s]/,$=/\\(\\)?/g,ee=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,te=/\w*$/,ne=/^[-+]0x[0-9a-f]+$/i,re=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,oe=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,ae=/[\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]",be="\\ud83c[\\udffb-\\udfff]",ve="[^\\ud800-\\udfff]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",ye="[\\ud800-\\udbff][\\udc00-\\udfff]",Me="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Se="(?:"+ge+"|"+_e+")",Ee="(?:"+Me+"|"+_e+")",Te="(?:"+fe+"|"+be+")?",Ce="[\\ufe0e\\ufe0f]?"+Te+"(?:\\u200d(?:"+[ve,we,ye].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*",Oe="(?:"+[Ae,we,ye].join("|")+")"+Ce,xe="(?:"+[ve+fe+"?",fe,we,ye,he].join("|")+")",Ne=RegExp("['’]","g"),Le=RegExp(fe,"g"),Ie=RegExp(be+"(?="+be+")|"+xe+Ce,"g"),Pe=RegExp([Me+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[pe,Me,"$"].join("|")+")",Ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[pe,Me+Se,"$"].join("|")+")",Me+"?"+Se+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Me+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",me,Oe].join("|"),"g"),De=RegExp("[\\u200d\\ud800-\\udfff"+ue+"\\ufe0e\\ufe0f]"),Fe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ke=["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"],Be=-1,Ue={};Ue[y]=Ue[R]=Ue[M]=Ue[S]=Ue[E]=Ue[T]=Ue["[object Uint8ClampedArray]"]=Ue[O]=Ue[x]=!0,Ue[o]=Ue[s]=Ue[v]=Ue[a]=Ue[w]=Ue[l]=Ue[c]=Ue[u]=Ue[h]=Ue[p]=Ue[f]=Ue[m]=Ue[A]=Ue[g]=Ue[b]=!1;var He={};He[o]=He[s]=He[v]=He[w]=He[a]=He[l]=He[y]=He[R]=He[M]=He[S]=He[E]=He[h]=He[p]=He[f]=He[m]=He[A]=He[g]=He[_]=He[T]=He["[object Uint8ClampedArray]"]=He[O]=He[x]=!0,He[c]=He[u]=He[b]=!1;var je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,We=parseInt,Ye="object"==typeof Re&&Re&&Re.Object===Object&&Re,Qe="object"==typeof self&&self&&self.Object===Object&&self,Xe=Ye||Qe||Function("return this")(),Ke=t&&!t.nodeType&&t,Ge=Ke&&e&&!e.nodeType&&e,Ze=Ge&&Ge.exports===Ke,ze=Ze&&Ye.process,qe=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||ze&&ze.binding&&ze.binding("util")}catch(t){}}(),Je=qe&&qe.isArrayBuffer,$e=qe&&qe.isDate,et=qe&&qe.isMap,tt=qe&&qe.isRegExp,nt=qe&&qe.isSet,rt=qe&&qe.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function ot(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function st(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function at(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function ct(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function ut(e,t){return!(null==e||!e.length)&&vt(e,t,0)>-1}function dt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function ht(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function pt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function ft(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function mt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var gt=Mt("length");function _t(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function bt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function vt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):bt(e,yt,n)}function wt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function yt(e){return e!=e}function Rt(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function Mt(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 Et(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Tt(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function Ct(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ot(e){return e?e.slice(0,Kt(e)+1).replace(X,""):e}function xt(e){return function(t){return e(t)}}function Nt(e,t){return ht(t,(function(t){return e[t]}))}function Lt(e,t){return e.has(t)}function It(e,t){for(var n=-1,r=e.length;++n<r&&vt(t,e[n],0)>-1;);return n}function Pt(e,t){for(var n=e.length;n--&&vt(t,e[n],0)>-1;);return n}function Dt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Ft=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"}),kt=St({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Bt(e){return"\\"+je[e]}function Ut(e){return De.test(e)}function Ht(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function jt(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,i=e.length,o=0,s=[];++n<i;){var a=e[n];a!==t&&a!==r||(e[n]=r,s[o++]=n)}return s}function Wt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Yt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Qt(e){return Ut(e)?function(e){for(var t=Ie.lastIndex=0;Ie.test(e);)++t;return t}(e):gt(e)}function Xt(e){return Ut(e)?function(e){return e.match(Ie)||[]}(e):function(e){return e.split("")}(e)}function Kt(e){for(var t=e.length;t--&&K.test(e.charAt(t)););return t}var Gt=St({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Zt=function e(t){var K,ue=(t=null==t?Xe:Zt.defaults(Xe.Object(),t,Zt.pick(Xe,ke))).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,be=ue.prototype,ve=pe.prototype,we=me.prototype,ye=t["__core-js_shared__"],Re=ve.toString,Me=we.hasOwnProperty,Se=0,Ee=(K=/[^.]+$/.exec(ye&&ye.keys&&ye.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",Te=we.toString,Ce=Re.call(me),Oe=Xe._,xe=Ae("^"+Re.call(Me).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ie=Ze?t.Buffer:void 0,De=t.Symbol,je=t.Uint8Array,Ye=Ie?Ie.allocUnsafe:void 0,Qe=jt(me.getPrototypeOf,me),Ke=me.create,Ge=we.propertyIsEnumerable,ze=be.splice,qe=De?De.isConcatSpreadable:void 0,gt=De?De.iterator:void 0,St=De?De.toStringTag:void 0,zt=function(){try{var e=to(me,"defineProperty");return e({},"",{}),e}catch(t){}}(),qt=t.clearTimeout!==Xe.clearTimeout&&t.clearTimeout,Jt=de&&de.now!==Xe.Date.now&&de.now,$t=t.setTimeout!==Xe.setTimeout&&t.setTimeout,en=fe.ceil,tn=fe.floor,nn=me.getOwnPropertySymbols,rn=Ie?Ie.isBuffer:void 0,on=t.isFinite,sn=be.join,an=jt(me.keys,me),ln=fe.max,cn=fe.min,un=de.now,dn=t.parseInt,hn=fe.random,pn=be.reverse,fn=to(t,"DataView"),mn=to(t,"Map"),An=to(t,"Promise"),gn=to(t,"Set"),_n=to(t,"WeakMap"),bn=to(me,"create"),vn=_n&&new _n,wn={},yn=Oo(fn),Rn=Oo(mn),Mn=Oo(An),Sn=Oo(gn),En=Oo(_n),Tn=De?De.prototype:void 0,Cn=Tn?Tn.valueOf:void 0,On=Tn?Tn.toString:void 0;function xn(e){if(Xs(e)&&!Ds(e)&&!(e instanceof Pn)){if(e instanceof In)return e;if(Me.call(e,"__wrapped__"))return xo(e)}return new In(e)}var Nn=function(){function e(){}return function(t){if(!Qs(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Ln(){}function In(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Pn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Bn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new kn;++t<n;)this.add(e[t])}function Un(e){var t=this.__data__=new Fn(e);this.size=t.size}function Hn(e,t){var n=Ds(e),r=!n&&Ps(e),i=!n&&!r&&Us(e),o=!n&&!r&&!i&&ea(e),s=n||r||i||o,a=s?Ct(e.length,ge):[],l=a.length;for(var c in e)!t&&!Me.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||lo(c,l))||a.push(c);return a}function jn(e){var t=e.length;return t?e[Br(0,t-1)]:void 0}function Vn(e,t){return Eo(bi(e),qn(t,0,e.length))}function Wn(e){return Eo(bi(e))}function Yn(e,t,n){(void 0!==n&&!Ns(e[t],n)||void 0===n&&!(t in e))&&Zn(e,t,n)}function Qn(e,t,n){var r=e[t];Me.call(e,t)&&Ns(r,n)&&(void 0!==n||t in e)||Zn(e,t,n)}function Xn(e,t){for(var n=e.length;n--;)if(Ns(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return nr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Gn(e,t){return e&&vi(t,ya(t),e)}function Zn(e,t,n){"__proto__"==t&&zt?zt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function zn(e,t){for(var n=-1,r=t.length,i=ue(r),o=null==e;++n<r;)i[n]=o?void 0:ga(e,t[n]);return i}function qn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,i,s){var c,b=1&t,N=2&t,L=4&t;if(n&&(c=i?n(e,r,i,s):n(e)),void 0!==c)return c;if(!Qs(e))return e;var I=Ds(e);if(I){if(c=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!b)return bi(e,c)}else{var P=io(e),D=P==u||P==d;if(Us(e))return pi(e,b);if(P==f||P==o||D&&!i){if(c=N||D?{}:so(e),!b)return N?function(e,t){return vi(e,ro(e),t)}(e,function(e,t){return e&&vi(t,Ra(t),e)}(c,e)):function(e,t){return vi(e,no(e),t)}(e,Gn(c,e))}else{if(!He[P])return i?e:{};c=function(e,t,n){var r,i=e.constructor;switch(t){case v:return fi(e);case a:case l:return new i(+e);case w:return function(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case y:case R:case M:case S:case E:case T:case C:case O:case x:return mi(e,n);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 r=e,Cn?me(Cn.call(r)):{}}}(e,P,b)}}s||(s=new Un);var F=s.get(e);if(F)return F;s.set(e,c),qs(e)?e.forEach((function(r){c.add(Jn(r,t,n,r,e,s))})):Ks(e)&&e.forEach((function(r,i){c.set(i,Jn(r,t,n,i,e,s))}));var k=I?void 0:(L?N?Gi:Ki:N?Ra:ya)(e);return st(k||e,(function(r,i){k&&(r=e[i=r]),Qn(c,i,Jn(r,t,n,i,e,s))})),c}function $n(e,t,n){var r=n.length;if(null==e)return!r;for(e=me(e);r--;){var i=n[r],o=t[i],s=e[i];if(void 0===s&&!(i in e)||!o(s))return!1}return!0}function er(e,t,r){if("function"!=typeof e)throw new _e(n);return yo((function(){e.apply(void 0,r)}),t)}function tr(e,t,n,r){var i=-1,o=ut,s=!0,a=e.length,l=[],c=t.length;if(!a)return l;n&&(t=ht(t,xt(n))),r?(o=dt,s=!1):t.length>=200&&(o=Lt,s=!1,t=new Bn(t));e:for(;++i<a;){var u=e[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,s&&d==d){for(var h=c;h--;)if(t[h]===d)continue e;l.push(u)}else o(t,d,r)||l.push(u)}return l}xn.templateSettings={escape:B,evaluate:U,interpolate:H,variable:"",imports:{_:xn}},xn.prototype=Ln.prototype,xn.prototype.constructor=xn,In.prototype=Nn(Ln.prototype),In.prototype.constructor=In,Pn.prototype=Nn(Ln.prototype),Pn.prototype.constructor=Pn,Dn.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Dn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Dn.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Me.call(t,e)?t[e]:void 0},Dn.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:Me.call(t,e)},Dn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},Fn.prototype.clear=function(){this.__data__=[],this.size=0},Fn.prototype.delete=function(e){var t=this.__data__,n=Xn(t,e);return!(n<0)&&(n==t.length-1?t.pop():ze.call(t,n,1),--this.size,!0)},Fn.prototype.get=function(e){var t=this.__data__,n=Xn(t,e);return n<0?void 0:t[n][1]},Fn.prototype.has=function(e){return Xn(this.__data__,e)>-1},Fn.prototype.set=function(e,t){var n=this.__data__,r=Xn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(mn||Fn),string:new Dn}},kn.prototype.delete=function(e){var t=$i(this,e).delete(e);return this.size-=t?1:0,t},kn.prototype.get=function(e){return $i(this,e).get(e)},kn.prototype.has=function(e){return $i(this,e).has(e)},kn.prototype.set=function(e,t){var n=$i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Bn.prototype.add=Bn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Bn.prototype.has=function(e){return this.__data__.has(e)},Un.prototype.clear=function(){this.__data__=new Fn,this.size=0},Un.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Un.prototype.get=function(e){return this.__data__.get(e)},Un.prototype.has=function(e){return this.__data__.has(e)},Un.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fn){var r=n.__data__;if(!mn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new kn(r)}return n.set(e,t),this.size=n.size,this};var nr=Ri(ur),rr=Ri(dr,!0);function ir(e,t){var n=!0;return nr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function or(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],s=t(o);if(null!=s&&(void 0===a?s==s&&!$s(s):n(s,a)))var a=s,l=o}return l}function sr(e,t){var n=[];return nr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function ar(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=ao),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?ar(a,t-1,n,r,i):pt(i,a):r||(i[i.length]=a)}return i}var lr=Mi(),cr=Mi(!0);function ur(e,t){return e&&lr(e,t,ya)}function dr(e,t){return e&&cr(e,t,ya)}function hr(e,t){return ct(t,(function(t){return Vs(e[t])}))}function pr(e,t){for(var n=0,r=(t=ci(t,e)).length;null!=e&&n<r;)e=e[Co(t[n++])];return n&&n==r?e:void 0}function fr(e,t,n){var r=t(e);return Ds(e)?r:pt(r,n(e))}function mr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":St&&St in me(e)?function(e){var t=Me.call(e,St),n=e[St];try{e[St]=void 0;var r=!0}catch(o){}var i=Te.call(e);return r&&(t?e[St]=n:delete e[St]),i}(e):function(e){return Te.call(e)}(e)}function Ar(e,t){return e>t}function gr(e,t){return null!=e&&Me.call(e,t)}function _r(e,t){return null!=e&&t in me(e)}function br(e,t,n){for(var r=n?dt:ut,i=e[0].length,o=e.length,s=o,a=ue(o),l=1/0,c=[];s--;){var u=e[s];s&&t&&(u=ht(u,xt(t))),l=cn(u.length,l),a[s]=!n&&(t||i>=120&&u.length>=120)?new Bn(s&&u):void 0}u=e[0];var d=-1,h=a[0];e:for(;++d<i&&c.length<l;){var p=u[d],f=t?t(p):p;if(p=n||0!==p?p:0,!(h?Lt(h,f):r(c,f,n))){for(s=o;--s;){var m=a[s];if(!(m?Lt(m,f):r(e[s],f,n)))continue e}h&&h.push(f),c.push(p)}}return c}function vr(e,t,n){var r=null==(e=_o(e,t=ci(t,e)))?e:e[Co(jo(t))];return null==r?void 0:it(r,e,n)}function wr(e){return Xs(e)&&mr(e)==o}function yr(e,t,n,r,i){return e===t||(null==e||null==t||!Xs(e)&&!Xs(t)?e!=e&&t!=t:function(e,t,n,r,i,u){var d=Ds(e),b=Ds(t),y=d?s:io(e),R=b?s:io(t),M=(y=y==o?f:y)==f,S=(R=R==o?f:R)==f,E=y==R;if(E&&Us(e)){if(!Us(t))return!1;d=!0,M=!1}if(E&&!M)return u||(u=new Un),d||ea(e)?Qi(e,t,n,r,i,u):function(e,t,n,r,i,o,s){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!o(new je(e),new je(t)));case a:case l:case p:return Ns(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case h:var u=Ht;case A:var d=1&r;if(u||(u=Wt),e.size!=t.size&&!d)return!1;var f=s.get(e);if(f)return f==t;r|=2,s.set(e,t);var b=Qi(u(e),u(t),r,i,o,s);return s.delete(e),b;case _:if(Cn)return Cn.call(e)==Cn.call(t)}return!1}(e,t,y,n,r,i,u);if(!(1&n)){var T=M&&Me.call(e,"__wrapped__"),C=S&&Me.call(t,"__wrapped__");if(T||C){var O=T?e.value():e,x=C?t.value():t;return u||(u=new Un),i(O,x,n,r,u)}}return!!E&&(u||(u=new Un),function(e,t,n,r,i,o){var s=1&n,a=Ki(e),l=a.length,c=Ki(t).length;if(l!=c&&!s)return!1;for(var u=l;u--;){var d=a[u];if(!(s?d in t:Me.call(t,d)))return!1}var h=o.get(e),p=o.get(t);if(h&&p)return h==t&&p==e;var f=!0;o.set(e,t),o.set(t,e);for(var m=s;++u<l;){var A=e[d=a[u]],g=t[d];if(r)var _=s?r(g,A,d,t,e,o):r(A,g,d,e,t,o);if(!(void 0===_?A===g||i(A,g,n,r,o):_)){f=!1;break}m||(m="constructor"==d)}if(f&&!m){var b=e.constructor,v=t.constructor;b==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v||(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,r,i,u))}(e,t,n,r,yr,i))}function Rr(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=me(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var l=(a=n[i])[0],c=e[l],u=a[1];if(s&&a[2]){if(void 0===c&&!(l in e))return!1}else{var d=new Un;if(r)var h=r(c,u,l,e,t,d);if(!(void 0===h?yr(u,c,3,r,d):h))return!1}}return!0}function Mr(e){return!(!Qs(e)||(t=e,Ee&&Ee in t))&&(Vs(e)?xe:ie).test(Oo(e));var t}function Sr(e){return"function"==typeof e?e:null==e?Ga:"object"==typeof e?Ds(e)?Nr(e[0],e[1]):xr(e):rl(e)}function Er(e){if(!fo(e))return an(e);var t=[];for(var n in me(e))Me.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Tr(e){if(!Qs(e))return function(e){var t=[];if(null!=e)for(var n in me(e))t.push(n);return t}(e);var t=fo(e),n=[];for(var r in e)("constructor"!=r||!t&&Me.call(e,r))&&n.push(r);return n}function Cr(e,t){return e<t}function Or(e,t){var n=-1,r=ks(e)?ue(e.length):[];return nr(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function xr(e){var t=eo(e);return 1==t.length&&t[0][2]?Ao(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Nr(e,t){return uo(e)&&mo(t)?Ao(Co(e),t):function(n){var r=ga(n,e);return void 0===r&&r===t?_a(n,e):yr(t,r,3)}}function Lr(e,t,n,r,i){e!==t&&lr(t,(function(o,s){if(i||(i=new Un),Qs(o))!function(e,t,n,r,i,o,s){var a=vo(e,n),l=vo(t,n),c=s.get(l);if(c)Yn(e,n,c);else{var u=o?o(a,l,n+"",e,t,s):void 0,d=void 0===u;if(d){var h=Ds(l),p=!h&&Us(l),f=!h&&!p&&ea(l);u=l,h||p||f?Ds(a)?u=a:Bs(a)?u=bi(a):p?(d=!1,u=pi(l,!0)):f?(d=!1,u=mi(l,!0)):u=[]:Zs(l)||Ps(l)?(u=a,Ps(a)?u=la(a):Qs(a)&&!Vs(a)||(u=so(l))):d=!1}d&&(s.set(l,u),i(u,l,r,o,s),s.delete(l)),Yn(e,n,u)}}(e,t,s,n,Lr,r,i);else{var a=r?r(vo(e,s),o,s+"",e,t,i):void 0;void 0===a&&(a=o),Yn(e,s,a)}}),Ra)}function Ir(e,t){var n=e.length;if(n)return lo(t+=t<0?n:0,n)?e[t]:void 0}function Pr(e,t,n){t=t.length?ht(t,(function(e){return Ds(e)?function(t){return pr(t,1===e.length?e[0]:e)}:e})):[Ga];var r=-1;t=ht(t,xt(Ji()));var i=Or(e,(function(e,n,i){var o=ht(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var l=Ai(i[r],o[r]);if(l)return r>=a?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Dr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=pr(e,s);n(a,s)&&Wr(o,ci(s,e),a)}return o}function Fr(e,t,n,r){var i=r?wt:vt,o=-1,s=t.length,a=e;for(e===t&&(t=bi(t)),n&&(a=ht(e,xt(n)));++o<s;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(a,u,l,r))>-1;)a!==e&&ze.call(a,l,1),ze.call(e,l,1);return e}function kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;lo(i)?ze.call(e,i,1):ti(e,i)}}return e}function Br(e,t){return e+tn(hn()*(t-e+1))}function Ur(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=tn(t/2))&&(e+=e)}while(t);return n}function Hr(e,t){return Ro(go(e,t,Ga),e+"")}function jr(e){return jn(Na(e))}function Vr(e,t){var n=Na(e);return Eo(n,qn(t,0,n.length))}function Wr(e,t,n,r){if(!Qs(e))return e;for(var i=-1,o=(t=ci(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var l=Co(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=s){var u=a[l];void 0===(c=r?r(u,l,a):void 0)&&(c=Qs(u)?u:lo(t[i+1])?[]:{})}Qn(a,l,c),a=a[l]}return e}var Yr=vn?function(e,t){return vn.set(e,t),e}:Ga,Qr=zt?function(e,t){return zt(e,"toString",{configurable:!0,enumerable:!1,value:Qa(t),writable:!0})}:Ga;function Xr(e){return Eo(Na(e))}function Kr(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=ue(i);++r<i;)o[r]=e[r+t];return o}function Gr(e,t){var n;return nr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function Zr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!$s(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return zr(e,t,Ga,n)}function zr(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,a=null===t,l=$s(t),c=void 0===t;i<o;){var u=tn((i+o)/2),d=n(e[u]),h=void 0!==d,p=null===d,f=d==d,m=$s(d);if(s)var A=r||f;else A=c?f&&(r||h):a?f&&h&&(r||!p):l?f&&h&&!p&&(r||!m):!p&&!m&&(r?d<=t:d<t);A?i=u+1:o=u}return cn(o,4294967294)}function qr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Ns(a,l)){var l=a;o[i++]=0===s?0:s}}return o}function Jr(e){return"number"==typeof e?e:$s(e)?NaN:+e}function $r(e){if("string"==typeof e)return e;if(Ds(e))return ht(e,$r)+"";if($s(e))return On?On.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ei(e,t,n){var r=-1,i=ut,o=e.length,s=!0,a=[],l=a;if(n)s=!1,i=dt;else if(o>=200){var c=t?null:Ui(e);if(c)return Wt(c);s=!1,i=Lt,l=new Bn}else l=t?[]:a;e:for(;++r<o;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,s&&d==d){for(var h=l.length;h--;)if(l[h]===d)continue e;t&&l.push(d),a.push(u)}else i(l,d,n)||(l!==a&&l.push(d),a.push(u))}return a}function ti(e,t){return null==(e=_o(e,t=ci(t,e)))||delete e[Co(jo(t))]}function ni(e,t,n,r){return Wr(e,t,n(pr(e,t)),r)}function ri(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kr(e,r?0:o,r?o+1:i):Kr(e,r?o+1:0,r?i:o)}function ii(e,t){var n=e;return n instanceof Pn&&(n=n.value()),ft(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function oi(e,t,n){var r=e.length;if(r<2)return r?ei(e[0]):[];for(var i=-1,o=ue(r);++i<r;)for(var s=e[i],a=-1;++a<r;)a!=i&&(o[i]=tr(o[i]||s,e[a],t,n));return ei(ar(o,1),t,n)}function si(e,t,n){for(var r=-1,i=e.length,o=t.length,s={};++r<i;){var a=r<o?t[r]:void 0;n(s,e[r],a)}return s}function ai(e){return Bs(e)?e:[]}function li(e){return"function"==typeof e?e:Ga}function ci(e,t){return Ds(e)?e:uo(e,t)?[e]:To(ca(e))}var ui=Hr;function di(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var hi=qt||function(e){return Xe.clearTimeout(e)};function pi(e,t){if(t)return e.slice();var n=e.length,r=Ye?Ye(n):new e.constructor(n);return e.copy(r),r}function fi(e){var t=new e.constructor(e.byteLength);return new je(t).set(new je(e)),t}function mi(e,t){var n=t?fi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=$s(e),s=void 0!==t,a=null===t,l=t==t,c=$s(t);if(!a&&!c&&!o&&e>t||o&&s&&l&&!a&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!l)return-1}return 0}function gi(e,t,n,r){for(var i=-1,o=e.length,s=n.length,a=-1,l=t.length,c=ln(o-s,0),u=ue(l+c),d=!r;++a<l;)u[a]=t[a];for(;++i<s;)(d||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[a++]=e[i++];return u}function _i(e,t,n,r){for(var i=-1,o=e.length,s=-1,a=n.length,l=-1,c=t.length,u=ln(o-a,0),d=ue(u+c),h=!r;++i<u;)d[i]=e[i];for(var p=i;++l<c;)d[p+l]=t[l];for(;++s<a;)(h||i<o)&&(d[p+n[s]]=e[i++]);return d}function bi(e,t){var n=-1,r=e.length;for(t||(t=ue(r));++n<r;)t[n]=e[n];return t}function vi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],l=r?r(n[a],e[a],a,n,e):void 0;void 0===l&&(l=e[a]),i?Zn(n,a,l):Qn(n,a,l)}return n}function wi(e,t){return function(n,r){var i=Ds(n)?ot:Kn,o=t?t():{};return i(n,e,Ji(r,2),o)}}function yi(e){return Hr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,s&&co(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=me(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t}))}function Ri(e,t){return function(n,r){if(null==n)return n;if(!ks(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=me(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Mi(e){return function(t,n,r){for(var i=-1,o=me(t),s=r(t),a=s.length;a--;){var l=s[e?a:++i];if(!1===n(o[l],l,o))break}return t}}function Si(e){return function(t){var n=Ut(t=ca(t))?Xt(t):void 0,r=n?n[0]:t.charAt(0),i=n?di(n,1).join(""):t.slice(1);return r[e]()+i}}function Ei(e){return function(t){return ft(Va(Pa(t).replace(Ne,"")),e,"")}}function Ti(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Nn(e.prototype),r=e.apply(n,t);return Qs(r)?r:n}}function Ci(e){return function(t,n,r){var i=me(t);if(!ks(t)){var o=Ji(n,3);t=ya(t),n=function(e){return o(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:void 0}}function Oi(e){return Xi((function(t){var r=t.length,i=r,o=In.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new _e(n);if(o&&!a&&"wrapper"==zi(s))var a=new In([],!0)}for(i=a?i:r;++i<r;){var l=zi(s=t[i]),c="wrapper"==l?Zi(s):void 0;a=c&&ho(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[zi(c[0])].apply(a,c[3]):1==s.length&&ho(s)?a[l]():a.thru(s)}return function(){var e=arguments,n=e[0];if(a&&1==e.length&&Ds(n))return a.plant(n).value();for(var i=0,o=r?t[i].apply(this,e):n;++i<r;)o=t[i].call(this,o);return o}}))}function xi(e,t,n,r,i,o,s,a,l,c){var u=128&t,d=1&t,h=2&t,p=24&t,f=512&t,m=h?void 0:Ti(e);return function A(){for(var g=arguments.length,_=ue(g),b=g;b--;)_[b]=arguments[b];if(p)var v=qi(A),w=Dt(_,v);if(r&&(_=gi(_,r,i,p)),o&&(_=_i(_,o,s,p)),g-=w,p&&g<c){var y=Vt(_,v);return ki(e,t,xi,A.placeholder,n,_,y,a,l,c-g)}var R=d?n:this,M=h?R[e]:e;return g=_.length,a?_=bo(_,a):f&&g>1&&_.reverse(),u&&l<g&&(_.length=l),this&&this!==Xe&&this instanceof A&&(M=m||Ti(M)),M.apply(R,_)}}function Ni(e,t){return function(n,r){return function(e,t,n,r){return ur(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Li(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=$r(n),r=$r(r)):(n=Jr(n),r=Jr(r)),i=e(n,r)}return i}}function Ii(e){return Xi((function(t){return t=ht(t,xt(Ji())),Hr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function Pi(e,t){var n=(t=void 0===t?" ":$r(t)).length;if(n<2)return n?Ur(t,e):t;var r=Ur(t,en(e/Qt(t)));return Ut(t)?di(Xt(r),0,e).join(""):r.slice(0,e)}function Di(e){return function(t,n,r){return r&&"number"!=typeof r&&co(t,n,r)&&(n=r=void 0),t=ia(t),void 0===n?(n=t,t=0):n=ia(n),function(e,t,n,r){for(var i=-1,o=ln(en((t-e)/(n||1)),0),s=ue(o);o--;)s[r?o:++i]=e,e+=n;return s}(t,n,r=void 0===r?t<n?1:-1:ia(r),e)}}function Fi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=aa(t),n=aa(n)),e(t,n)}}function ki(e,t,n,r,i,o,s,a,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,i,u?o:void 0,u?s:void 0,u?void 0:o,u?void 0:s,a,l,c],h=n.apply(void 0,d);return ho(e)&&wo(h,d),h.placeholder=r,Mo(h,e,t)}function Bi(e){var t=fe[e];return function(e,n){if(e=aa(e),(n=null==n?0:cn(oa(n),292))&&on(e)){var r=(ca(e)+"e").split("e");return+((r=(ca(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ui=gn&&1/Wt(new gn([,-0]))[1]==1/0?function(e){return new gn(e)}:$a;function Hi(e){return function(t){var n=io(t);return n==h?Ht(t):n==A?Yt(t):function(e,t){return ht(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ji(e,t,i,o,s,a,l,c){var u=2&t;if(!u&&"function"!=typeof e)throw new _e(n);var d=o?o.length:0;if(d||(t&=-97,o=s=void 0),l=void 0===l?l:ln(oa(l),0),c=void 0===c?c:oa(c),d-=s?s.length:0,64&t){var h=o,p=s;o=s=void 0}var f=u?void 0:Zi(e),m=[e,t,i,o,s,h,p,a,l,c];if(f&&function(e,t){var n=e[1],i=t[1],o=n|i,s=o<131,a=128==i&&8==n||128==i&&256==n&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!s&&!a)return e;1&i&&(e[2]=t[2],o|=1&n?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],r):t[4]}(l=t[5])&&(c=e[5],e[5]=c?_i(c,l,t[6]):l,e[6]=c?Vt(e[5],r):t[6]),(l=t[7])&&(e[7]=l),128&i&&(e[8]=null==e[8]?t[8]:cn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(m,f),e=m[0],t=m[1],i=m[2],o=m[3],s=m[4],!(c=m[9]=void 0===m[9]?u?0:e.length:ln(m[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)A=8==t||16==t?function(e,t,n){var r=Ti(e);return function i(){for(var o=arguments.length,s=ue(o),a=o,l=qi(i);a--;)s[a]=arguments[a];var c=o<3&&s[0]!==l&&s[o-1]!==l?[]:Vt(s,l);return(o-=c.length)<n?ki(e,t,xi,i.placeholder,void 0,s,c,void 0,void 0,n-o):it(this&&this!==Xe&&this instanceof i?r:e,this,s)}}(e,t,c):32!=t&&33!=t||s.length?xi.apply(void 0,m):function(e,t,n,r){var i=1&t,o=Ti(e);return function t(){for(var s=-1,a=arguments.length,l=-1,c=r.length,u=ue(c+a),d=this&&this!==Xe&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;a--;)u[l++]=arguments[++s];return it(d,i?n:this,u)}}(e,t,i,o);else var A=function(e,t,n){var r=1&t,i=Ti(e);return function t(){return(this&&this!==Xe&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,i);return Mo((f?Yr:wo)(A,m),e,t)}function Vi(e,t,n,r){return void 0===e||Ns(e,we[n])&&!Me.call(r,n)?t:e}function Wi(e,t,n,r,i,o){return Qs(e)&&Qs(t)&&(o.set(t,e),Lr(e,t,void 0,Wi,o),o.delete(t)),e}function Yi(e){return Zs(e)?void 0:e}function Qi(e,t,n,r,i,o){var s=1&n,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=2&n?new Bn:void 0;for(o.set(e,t),o.set(t,e);++d<a;){var f=e[d],m=t[d];if(r)var A=s?r(m,f,d,t,e,o):r(f,m,d,e,t,o);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,n,r,o)))return p.push(t)}))){h=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Xi(e){return Ro(go(e,void 0,Fo),e+"")}function Ki(e){return fr(e,ya,no)}function Gi(e){return fr(e,Ra,ro)}var Zi=vn?function(e){return vn.get(e)}:$a;function zi(e){for(var t=e.name+"",n=wn[t],r=Me.call(wn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function qi(e){return(Me.call(xn,"placeholder")?xn:e).placeholder}function Ji(){var e=xn.iteratee||Za;return e=e===Za?Sr:e,arguments.length?e(arguments[0],arguments[1]):e}function $i(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function eo(e){for(var t=ya(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,mo(i)]}return t}function to(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Mr(n)?n:void 0}var no=nn?function(e){return null==e?[]:(e=me(e),ct(nn(e),(function(t){return Ge.call(e,t)})))}:sl,ro=nn?function(e){for(var t=[];e;)pt(t,no(e)),e=Qe(e);return t}:sl,io=mr;function oo(e,t,n){for(var r=-1,i=(t=ci(t,e)).length,o=!1;++r<i;){var s=Co(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ys(i)&&lo(s,i)&&(Ds(e)||Ps(e))}function so(e){return"function"!=typeof e.constructor||fo(e)?{}:Nn(Qe(e))}function ao(e){return Ds(e)||Ps(e)||!!(qe&&e&&e[qe])}function lo(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&se.test(e))&&e>-1&&e%1==0&&e<t}function co(e,t,n){if(!Qs(n))return!1;var r=typeof t;return!!("number"==r?ks(n)&&lo(t,n.length):"string"==r&&t in n)&&Ns(n[t],e)}function uo(e,t){if(Ds(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!$s(e))||V.test(e)||!j.test(e)||null!=t&&e in me(t)}function ho(e){var t=zi(e),n=xn[t];if("function"!=typeof n||!(t in Pn.prototype))return!1;if(e===n)return!0;var r=Zi(n);return!!r&&e===r[0]}(fn&&io(new fn(new ArrayBuffer(1)))!=w||mn&&io(new mn)!=h||An&&"[object Promise]"!=io(An.resolve())||gn&&io(new gn)!=A||_n&&io(new _n)!=b)&&(io=function(e){var t=mr(e),n=t==f?e.constructor:void 0,r=n?Oo(n):"";if(r)switch(r){case yn:return w;case Rn:return h;case Mn:return"[object Promise]";case Sn:return A;case En:return b}return t});var po=ye?Vs:al;function fo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||we)}function mo(e){return e==e&&!Qs(e)}function Ao(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in me(n))}}function go(e,t,n){return t=ln(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ln(r.length-t,0),s=ue(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=ue(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),it(e,this,a)}}function _o(e,t){return t.length<2?e:pr(e,Kr(t,0,-1))}function bo(e,t){for(var n=e.length,r=cn(t.length,n),i=bi(e);r--;){var o=t[r];e[r]=lo(o,n)?i[o]:void 0}return e}function vo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var wo=So(Yr),yo=$t||function(e,t){return Xe.setTimeout(e,t)},Ro=So(Qr);function Mo(e,t,n){var r=t+"";return Ro(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(G,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(i,(function(n){var r="_."+n[0];t&n[1]&&!ut(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Z);return t?t[1].split(z):[]}(r),n)))}function So(e){var t=0,n=0;return function(){var r=un(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Eo(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=Br(n,i),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var To=function(e){var t=Ss(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,n,r,i){t.push(r?i.replace($,"$1"):n||e)})),t}));function Co(e){if("string"==typeof e||$s(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Oo(e){if(null!=e){try{return Re.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function xo(e){if(e instanceof Pn)return e.clone();var t=new In(e.__wrapped__,e.__chain__);return t.__actions__=bi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var No=Hr((function(e,t){return Bs(e)?tr(e,ar(t,1,Bs,!0)):[]})),Lo=Hr((function(e,t){var n=jo(t);return Bs(n)&&(n=void 0),Bs(e)?tr(e,ar(t,1,Bs,!0),Ji(n,2)):[]})),Io=Hr((function(e,t){var n=jo(t);return Bs(n)&&(n=void 0),Bs(e)?tr(e,ar(t,1,Bs,!0),void 0,n):[]}));function Po(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:oa(n);return i<0&&(i=ln(r+i,0)),bt(e,Ji(t,3),i)}function Do(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=oa(n),i=n<0?ln(r+i,0):cn(i,r-1)),bt(e,Ji(t,3),i,!0)}function Fo(e){return null!=e&&e.length?ar(e,1):[]}function ko(e){return e&&e.length?e[0]:void 0}var Bo=Hr((function(e){var t=ht(e,ai);return t.length&&t[0]===e[0]?br(t):[]})),Uo=Hr((function(e){var t=jo(e),n=ht(e,ai);return t===jo(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Ji(t,2)):[]})),Ho=Hr((function(e){var t=jo(e),n=ht(e,ai);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function jo(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Vo=Hr(Wo);function Wo(e,t){return e&&e.length&&t&&t.length?Fr(e,t):e}var Yo=Xi((function(e,t){var n=null==e?0:e.length,r=zn(e,t);return kr(e,ht(t,(function(e){return lo(e,n)?+e:e})).sort(Ai)),r}));function Qo(e){return null==e?e:pn.call(e)}var Xo=Hr((function(e){return ei(ar(e,1,Bs,!0))})),Ko=Hr((function(e){var t=jo(e);return Bs(t)&&(t=void 0),ei(ar(e,1,Bs,!0),Ji(t,2))})),Go=Hr((function(e){var t=jo(e);return t="function"==typeof t?t:void 0,ei(ar(e,1,Bs,!0),void 0,t)}));function Zo(e){if(!e||!e.length)return[];var t=0;return e=ct(e,(function(e){if(Bs(e))return t=ln(e.length,t),!0})),Ct(t,(function(t){return ht(e,Mt(t))}))}function zo(e,t){if(!e||!e.length)return[];var n=Zo(e);return null==t?n:ht(n,(function(e){return it(t,void 0,e)}))}var qo=Hr((function(e,t){return Bs(e)?tr(e,t):[]})),Jo=Hr((function(e){return oi(ct(e,Bs))})),$o=Hr((function(e){var t=jo(e);return Bs(t)&&(t=void 0),oi(ct(e,Bs),Ji(t,2))})),es=Hr((function(e){var t=jo(e);return t="function"==typeof t?t:void 0,oi(ct(e,Bs),void 0,t)})),ts=Hr(Zo),ns=Hr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,zo(e,n)}));function rs(e){var t=xn(e);return t.__chain__=!0,t}function is(e,t){return t(e)}var os=Xi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return zn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pn&&lo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:is,args:[i],thisArg:void 0}),new In(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)})),ss=wi((function(e,t,n){Me.call(e,n)?++e[n]:Zn(e,n,1)})),as=Ci(Po),ls=Ci(Do);function cs(e,t){return(Ds(e)?st:nr)(e,Ji(t,3))}function us(e,t){return(Ds(e)?at:rr)(e,Ji(t,3))}var ds=wi((function(e,t,n){Me.call(e,n)?e[n].push(t):Zn(e,n,[t])})),hs=Hr((function(e,t,n){var r=-1,i="function"==typeof t,o=ks(e)?ue(e.length):[];return nr(e,(function(e){o[++r]=i?it(t,e,n):vr(e,t,n)})),o})),ps=wi((function(e,t,n){Zn(e,n,t)}));function fs(e,t){return(Ds(e)?ht:Or)(e,Ji(t,3))}var ms=wi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),As=Hr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&co(e,t[0],t[1])?t=[]:n>2&&co(t[0],t[1],t[2])&&(t=[t[0]]),Pr(e,ar(t,1),[])})),gs=Jt||function(){return Xe.Date.now()};function _s(e,t,n){return t=n?void 0:t,ji(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function bs(e,t){var r;if("function"!=typeof t)throw new _e(n);return e=oa(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=void 0),r}}var vs=Hr((function(e,t,n){var r=1;if(n.length){var i=Vt(n,qi(vs));r|=32}return ji(e,r,t,n,i)})),ws=Hr((function(e,t,n){var r=3;if(n.length){var i=Vt(n,qi(ws));r|=32}return ji(t,r,e,n,i)}));function ys(e,t,r){var i,o,s,a,l,c,u=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new _e(n);function f(t){var n=i,r=o;return i=o=void 0,u=t,a=e.apply(r,n)}function m(e){return u=e,l=yo(g,t),d?f(e):a}function A(e){var n=e-c;return void 0===c||n>=t||n<0||h&&e-u>=s}function g(){var e=gs();if(A(e))return _(e);l=yo(g,function(e){var n=t-(e-c);return h?cn(n,s-(e-u)):n}(e))}function _(e){return l=void 0,p&&i?f(e):(i=o=void 0,a)}function b(){var e=gs(),n=A(e);if(i=arguments,o=this,c=e,n){if(void 0===l)return m(c);if(h)return hi(l),l=yo(g,t),f(c)}return void 0===l&&(l=yo(g,t)),a}return t=aa(t)||0,Qs(r)&&(d=!!r.leading,s=(h="maxWait"in r)?ln(aa(r.maxWait)||0,t):s,p="trailing"in r?!!r.trailing:p),b.cancel=function(){void 0!==l&&hi(l),u=0,i=c=o=l=void 0},b.flush=function(){return void 0===l?a:_(gs())},b}var Rs=Hr((function(e,t){return er(e,1,t)})),Ms=Hr((function(e,t,n){return er(e,aa(t)||0,n)}));function Ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new _e(n);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(Ss.Cache||kn),r}function Es(e){if("function"!=typeof e)throw new _e(n);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)}}Ss.Cache=kn;var Ts=ui((function(e,t){var n=(t=1==t.length&&Ds(t[0])?ht(t[0],xt(Ji())):ht(ar(t,1),xt(Ji()))).length;return Hr((function(r){for(var i=-1,o=cn(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return it(e,this,r)}))})),Cs=Hr((function(e,t){return ji(e,32,void 0,t,Vt(t,qi(Cs)))})),Os=Hr((function(e,t){return ji(e,64,void 0,t,Vt(t,qi(Os)))})),xs=Xi((function(e,t){return ji(e,256,void 0,void 0,void 0,t)}));function Ns(e,t){return e===t||e!=e&&t!=t}var Ls=Fi(Ar),Is=Fi((function(e,t){return e>=t})),Ps=wr(function(){return arguments}())?wr:function(e){return Xs(e)&&Me.call(e,"callee")&&!Ge.call(e,"callee")},Ds=ue.isArray,Fs=Je?xt(Je):function(e){return Xs(e)&&mr(e)==v};function ks(e){return null!=e&&Ys(e.length)&&!Vs(e)}function Bs(e){return Xs(e)&&ks(e)}var Us=rn||al,Hs=$e?xt($e):function(e){return Xs(e)&&mr(e)==l};function js(e){if(!Xs(e))return!1;var t=mr(e);return t==c||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Zs(e)}function Vs(e){if(!Qs(e))return!1;var t=mr(e);return t==u||t==d||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ws(e){return"number"==typeof e&&e==oa(e)}function Ys(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Qs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Xs(e){return null!=e&&"object"==typeof e}var Ks=et?xt(et):function(e){return Xs(e)&&io(e)==h};function Gs(e){return"number"==typeof e||Xs(e)&&mr(e)==p}function Zs(e){if(!Xs(e)||mr(e)!=f)return!1;var t=Qe(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==Ce}var zs=tt?xt(tt):function(e){return Xs(e)&&mr(e)==m},qs=nt?xt(nt):function(e){return Xs(e)&&io(e)==A};function Js(e){return"string"==typeof e||!Ds(e)&&Xs(e)&&mr(e)==g}function $s(e){return"symbol"==typeof e||Xs(e)&&mr(e)==_}var ea=rt?xt(rt):function(e){return Xs(e)&&Ys(e.length)&&!!Ue[mr(e)]},ta=Fi(Cr),na=Fi((function(e,t){return e<=t}));function ra(e){if(!e)return[];if(ks(e))return Js(e)?Xt(e):bi(e);if(gt&&e[gt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[gt]());var t=io(e);return(t==h?Ht:t==A?Wt:Na)(e)}function ia(e){return e?1/0===(e=aa(e))||-1/0===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oa(e){var t=ia(e),n=t%1;return t==t?n?t-n:t:0}function sa(e){return e?qn(oa(e),0,4294967295):0}function aa(e){if("number"==typeof e)return e;if($s(e))return NaN;if(Qs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ot(e);var n=re.test(e);return n||oe.test(e)?We(e.slice(2),n?2:8):ne.test(e)?NaN:+e}function la(e){return vi(e,Ra(e))}function ca(e){return null==e?"":$r(e)}var ua=yi((function(e,t){if(fo(t)||ks(t))vi(t,ya(t),e);else for(var n in t)Me.call(t,n)&&Qn(e,n,t[n])})),da=yi((function(e,t){vi(t,Ra(t),e)})),ha=yi((function(e,t,n,r){vi(t,Ra(t),e,r)})),pa=yi((function(e,t,n,r){vi(t,ya(t),e,r)})),fa=Xi(zn),ma=Hr((function(e,t){e=me(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&co(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=Ra(o),a=-1,l=s.length;++a<l;){var c=s[a],u=e[c];(void 0===u||Ns(u,we[c])&&!Me.call(e,c))&&(e[c]=o[c])}return e})),Aa=Hr((function(e){return e.push(void 0,Wi),it(Sa,void 0,e)}));function ga(e,t,n){var r=null==e?void 0:pr(e,t);return void 0===r?n:r}function _a(e,t){return null!=e&&oo(e,t,_r)}var ba=Ni((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),e[t]=n}),Qa(Ga)),va=Ni((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),Me.call(e,t)?e[t].push(n):e[t]=[n]}),Ji),wa=Hr(vr);function ya(e){return ks(e)?Hn(e):Er(e)}function Ra(e){return ks(e)?Hn(e,!0):Tr(e)}var Ma=yi((function(e,t,n){Lr(e,t,n)})),Sa=yi((function(e,t,n,r){Lr(e,t,n,r)})),Ea=Xi((function(e,t){var n={};if(null==e)return n;var r=!1;t=ht(t,(function(t){return t=ci(t,e),r||(r=t.length>1),t})),vi(e,Gi(e),n),r&&(n=Jn(n,7,Yi));for(var i=t.length;i--;)ti(n,t[i]);return n})),Ta=Xi((function(e,t){return null==e?{}:function(e,t){return Dr(e,t,(function(t,n){return _a(e,n)}))}(e,t)}));function Ca(e,t){if(null==e)return{};var n=ht(Gi(e),(function(e){return[e]}));return t=Ji(t),Dr(e,n,(function(e,n){return t(e,n[0])}))}var Oa=Hi(ya),xa=Hi(Ra);function Na(e){return null==e?[]:Nt(e,ya(e))}var La=Ei((function(e,t,n){return t=t.toLowerCase(),e+(n?Ia(t):t)}));function Ia(e){return ja(ca(e).toLowerCase())}function Pa(e){return(e=ca(e))&&e.replace(ae,Ft).replace(Le,"")}var Da=Ei((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Fa=Ei((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ka=Si("toLowerCase"),Ba=Ei((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ua=Ei((function(e,t,n){return e+(n?" ":"")+ja(t)})),Ha=Ei((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ja=Si("toUpperCase");function Va(e,t,n){return e=ca(e),void 0===(t=n?void 0:t)?function(e){return Fe.test(e)}(e)?function(e){return e.match(Pe)||[]}(e):function(e){return e.match(q)||[]}(e):e.match(t)||[]}var Wa=Hr((function(e,t){try{return it(e,void 0,t)}catch(n){return js(n)?n:new he(n)}})),Ya=Xi((function(e,t){return st(t,(function(t){t=Co(t),Zn(e,t,vs(e[t],e))})),e}));function Qa(e){return function(){return e}}var Xa=Oi(),Ka=Oi(!0);function Ga(e){return e}function Za(e){return Sr("function"==typeof e?e:Jn(e,1))}var za=Hr((function(e,t){return function(n){return vr(n,e,t)}})),qa=Hr((function(e,t){return function(n){return vr(e,n,t)}}));function Ja(e,t,n){var r=ya(t),i=hr(t,r);null!=n||Qs(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=hr(t,ya(t)));var o=!(Qs(n)&&"chain"in n&&!n.chain),s=Vs(e);return st(i,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=bi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function $a(){}var el=Ii(ht),tl=Ii(lt),nl=Ii(At);function rl(e){return uo(e)?Mt(Co(e)):function(e){return function(t){return pr(t,e)}}(e)}var il=Di(),ol=Di(!0);function sl(){return[]}function al(){return!1}var ll,cl=Li((function(e,t){return e+t}),0),ul=Bi("ceil"),dl=Li((function(e,t){return e/t}),1),hl=Bi("floor"),pl=Li((function(e,t){return e*t}),1),fl=Bi("round"),ml=Li((function(e,t){return e-t}),0);return xn.after=function(e,t){if("function"!=typeof t)throw new _e(n);return e=oa(e),function(){if(--e<1)return t.apply(this,arguments)}},xn.ary=_s,xn.assign=ua,xn.assignIn=da,xn.assignInWith=ha,xn.assignWith=pa,xn.at=fa,xn.before=bs,xn.bind=vs,xn.bindAll=Ya,xn.bindKey=ws,xn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ds(e)?e:[e]},xn.chain=rs,xn.chunk=function(e,t,n){t=(n?co(e,t,n):void 0===t)?1:ln(oa(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,s=ue(en(r/t));i<r;)s[o++]=Kr(e,i,i+=t);return s},xn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},xn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ue(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return pt(Ds(n)?bi(n):[n],ar(t,1))},xn.cond=function(e){var t=null==e?0:e.length,r=Ji();return e=t?ht(e,(function(e){if("function"!=typeof e[1])throw new _e(n);return[r(e[0]),e[1]]})):[],Hr((function(n){for(var r=-1;++r<t;){var i=e[r];if(it(i[0],this,n))return it(i[1],this,n)}}))},xn.conforms=function(e){return function(e){var t=ya(e);return function(n){return $n(n,e,t)}}(Jn(e,1))},xn.constant=Qa,xn.countBy=ss,xn.create=function(e,t){var n=Nn(e);return null==t?n:Gn(n,t)},xn.curry=function e(t,n,r){var i=ji(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},xn.curryRight=function e(t,n,r){var i=ji(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},xn.debounce=ys,xn.defaults=ma,xn.defaultsDeep=Aa,xn.defer=Rs,xn.delay=Ms,xn.difference=No,xn.differenceBy=Lo,xn.differenceWith=Io,xn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:oa(t))<0?0:t,r):[]},xn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:oa(t)))<0?0:t):[]},xn.dropRightWhile=function(e,t){return e&&e.length?ri(e,Ji(t,3),!0,!0):[]},xn.dropWhile=function(e,t){return e&&e.length?ri(e,Ji(t,3),!0):[]},xn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&co(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=oa(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:oa(r))<0&&(r+=i),r=n>r?0:sa(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},xn.filter=function(e,t){return(Ds(e)?ct:sr)(e,Ji(t,3))},xn.flatMap=function(e,t){return ar(fs(e,t),1)},xn.flatMapDeep=function(e,t){return ar(fs(e,t),1/0)},xn.flatMapDepth=function(e,t,n){return n=void 0===n?1:oa(n),ar(fs(e,t),n)},xn.flatten=Fo,xn.flattenDeep=function(e){return null!=e&&e.length?ar(e,1/0):[]},xn.flattenDepth=function(e,t){return null!=e&&e.length?ar(e,t=void 0===t?1:oa(t)):[]},xn.flip=function(e){return ji(e,512)},xn.flow=Xa,xn.flowRight=Ka,xn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},xn.functions=function(e){return null==e?[]:hr(e,ya(e))},xn.functionsIn=function(e){return null==e?[]:hr(e,Ra(e))},xn.groupBy=ds,xn.initial=function(e){return null!=e&&e.length?Kr(e,0,-1):[]},xn.intersection=Bo,xn.intersectionBy=Uo,xn.intersectionWith=Ho,xn.invert=ba,xn.invertBy=va,xn.invokeMap=hs,xn.iteratee=Za,xn.keyBy=ps,xn.keys=ya,xn.keysIn=Ra,xn.map=fs,xn.mapKeys=function(e,t){var n={};return t=Ji(t,3),ur(e,(function(e,r,i){Zn(n,t(e,r,i),e)})),n},xn.mapValues=function(e,t){var n={};return t=Ji(t,3),ur(e,(function(e,r,i){Zn(n,r,t(e,r,i))})),n},xn.matches=function(e){return xr(Jn(e,1))},xn.matchesProperty=function(e,t){return Nr(e,Jn(t,1))},xn.memoize=Ss,xn.merge=Ma,xn.mergeWith=Sa,xn.method=za,xn.methodOf=qa,xn.mixin=Ja,xn.negate=Es,xn.nthArg=function(e){return e=oa(e),Hr((function(t){return Ir(t,e)}))},xn.omit=Ea,xn.omitBy=function(e,t){return Ca(e,Es(Ji(t)))},xn.once=function(e){return bs(2,e)},xn.orderBy=function(e,t,n,r){return null==e?[]:(Ds(t)||(t=null==t?[]:[t]),Ds(n=r?void 0:n)||(n=null==n?[]:[n]),Pr(e,t,n))},xn.over=el,xn.overArgs=Ts,xn.overEvery=tl,xn.overSome=nl,xn.partial=Cs,xn.partialRight=Os,xn.partition=ms,xn.pick=Ta,xn.pickBy=Ca,xn.property=rl,xn.propertyOf=function(e){return function(t){return null==e?void 0:pr(e,t)}},xn.pull=Vo,xn.pullAll=Wo,xn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Fr(e,t,Ji(n,2)):e},xn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Fr(e,t,void 0,n):e},xn.pullAt=Yo,xn.range=il,xn.rangeRight=ol,xn.rearg=xs,xn.reject=function(e,t){return(Ds(e)?ct:sr)(e,Es(Ji(t,3)))},xn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Ji(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return kr(e,i),n},xn.rest=function(e,t){if("function"!=typeof e)throw new _e(n);return Hr(e,t=void 0===t?t:oa(t))},xn.reverse=Qo,xn.sampleSize=function(e,t,n){return t=(n?co(e,t,n):void 0===t)?1:oa(t),(Ds(e)?Vn:Vr)(e,t)},xn.set=function(e,t,n){return null==e?e:Wr(e,t,n)},xn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Wr(e,t,n,r)},xn.shuffle=function(e){return(Ds(e)?Wn:Xr)(e)},xn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&co(e,t,n)?(t=0,n=r):(t=null==t?0:oa(t),n=void 0===n?r:oa(n)),Kr(e,t,n)):[]},xn.sortBy=As,xn.sortedUniq=function(e){return e&&e.length?qr(e):[]},xn.sortedUniqBy=function(e,t){return e&&e.length?qr(e,Ji(t,2)):[]},xn.split=function(e,t,n){return n&&"number"!=typeof n&&co(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ca(e))&&("string"==typeof t||null!=t&&!zs(t))&&!(t=$r(t))&&Ut(e)?di(Xt(e),0,n):e.split(t,n):[]},xn.spread=function(e,t){if("function"!=typeof e)throw new _e(n);return t=null==t?0:ln(oa(t),0),Hr((function(n){var r=n[t],i=di(n,0,t);return r&&pt(i,r),it(e,this,i)}))},xn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},xn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:oa(t))<0?0:t):[]},xn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:oa(t)))<0?0:t,r):[]},xn.takeRightWhile=function(e,t){return e&&e.length?ri(e,Ji(t,3),!1,!0):[]},xn.takeWhile=function(e,t){return e&&e.length?ri(e,Ji(t,3)):[]},xn.tap=function(e,t){return t(e),e},xn.throttle=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new _e(n);return Qs(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),ys(e,t,{leading:i,maxWait:t,trailing:o})},xn.thru=is,xn.toArray=ra,xn.toPairs=Oa,xn.toPairsIn=xa,xn.toPath=function(e){return Ds(e)?ht(e,Co):$s(e)?[e]:bi(To(ca(e)))},xn.toPlainObject=la,xn.transform=function(e,t,n){var r=Ds(e),i=r||Us(e)||ea(e);if(t=Ji(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:Qs(e)&&Vs(o)?Nn(Qe(e)):{}}return(i?st:ur)(e,(function(e,r,i){return t(n,e,r,i)})),n},xn.unary=function(e){return _s(e,1)},xn.union=Xo,xn.unionBy=Ko,xn.unionWith=Go,xn.uniq=function(e){return e&&e.length?ei(e):[]},xn.uniqBy=function(e,t){return e&&e.length?ei(e,Ji(t,2)):[]},xn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?ei(e,void 0,t):[]},xn.unset=function(e,t){return null==e||ti(e,t)},xn.unzip=Zo,xn.unzipWith=zo,xn.update=function(e,t,n){return null==e?e:ni(e,t,li(n))},xn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ni(e,t,li(n),r)},xn.values=Na,xn.valuesIn=function(e){return null==e?[]:Nt(e,Ra(e))},xn.without=qo,xn.words=Va,xn.wrap=function(e,t){return Cs(li(t),e)},xn.xor=Jo,xn.xorBy=$o,xn.xorWith=es,xn.zip=ts,xn.zipObject=function(e,t){return si(e||[],t||[],Qn)},xn.zipObjectDeep=function(e,t){return si(e||[],t||[],Wr)},xn.zipWith=ns,xn.entries=Oa,xn.entriesIn=xa,xn.extend=da,xn.extendWith=ha,Ja(xn,xn),xn.add=cl,xn.attempt=Wa,xn.camelCase=La,xn.capitalize=Ia,xn.ceil=ul,xn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=aa(n))==n?n:0),void 0!==t&&(t=(t=aa(t))==t?t:0),qn(aa(e),t,n)},xn.clone=function(e){return Jn(e,4)},xn.cloneDeep=function(e){return Jn(e,5)},xn.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},xn.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},xn.conformsTo=function(e,t){return null==t||$n(e,t,ya(t))},xn.deburr=Pa,xn.defaultTo=function(e,t){return null==e||e!=e?t:e},xn.divide=dl,xn.endsWith=function(e,t,n){e=ca(e),t=$r(t);var r=e.length,i=n=void 0===n?r:qn(oa(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},xn.eq=Ns,xn.escape=function(e){return(e=ca(e))&&k.test(e)?e.replace(D,kt):e},xn.escapeRegExp=function(e){return(e=ca(e))&&Q.test(e)?e.replace(Y,"\\$&"):e},xn.every=function(e,t,n){var r=Ds(e)?lt:ir;return n&&co(e,t,n)&&(t=void 0),r(e,Ji(t,3))},xn.find=as,xn.findIndex=Po,xn.findKey=function(e,t){return _t(e,Ji(t,3),ur)},xn.findLast=ls,xn.findLastIndex=Do,xn.findLastKey=function(e,t){return _t(e,Ji(t,3),dr)},xn.floor=hl,xn.forEach=cs,xn.forEachRight=us,xn.forIn=function(e,t){return null==e?e:lr(e,Ji(t,3),Ra)},xn.forInRight=function(e,t){return null==e?e:cr(e,Ji(t,3),Ra)},xn.forOwn=function(e,t){return e&&ur(e,Ji(t,3))},xn.forOwnRight=function(e,t){return e&&dr(e,Ji(t,3))},xn.get=ga,xn.gt=Ls,xn.gte=Is,xn.has=function(e,t){return null!=e&&oo(e,t,gr)},xn.hasIn=_a,xn.head=ko,xn.identity=Ga,xn.includes=function(e,t,n,r){e=ks(e)?e:Na(e),n=n&&!r?oa(n):0;var i=e.length;return n<0&&(n=ln(i+n,0)),Js(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&vt(e,t,n)>-1},xn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:oa(n);return i<0&&(i=ln(r+i,0)),vt(e,t,i)},xn.inRange=function(e,t,n){return t=ia(t),void 0===n?(n=t,t=0):n=ia(n),function(e,t,n){return e>=cn(t,n)&&e<ln(t,n)}(e=aa(e),t,n)},xn.invoke=wa,xn.isArguments=Ps,xn.isArray=Ds,xn.isArrayBuffer=Fs,xn.isArrayLike=ks,xn.isArrayLikeObject=Bs,xn.isBoolean=function(e){return!0===e||!1===e||Xs(e)&&mr(e)==a},xn.isBuffer=Us,xn.isDate=Hs,xn.isElement=function(e){return Xs(e)&&1===e.nodeType&&!Zs(e)},xn.isEmpty=function(e){if(null==e)return!0;if(ks(e)&&(Ds(e)||"string"==typeof e||"function"==typeof e.splice||Us(e)||ea(e)||Ps(e)))return!e.length;var t=io(e);if(t==h||t==A)return!e.size;if(fo(e))return!Er(e).length;for(var n in e)if(Me.call(e,n))return!1;return!0},xn.isEqual=function(e,t){return yr(e,t)},xn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?yr(e,t,void 0,n):!!r},xn.isError=js,xn.isFinite=function(e){return"number"==typeof e&&on(e)},xn.isFunction=Vs,xn.isInteger=Ws,xn.isLength=Ys,xn.isMap=Ks,xn.isMatch=function(e,t){return e===t||Rr(e,t,eo(t))},xn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Rr(e,t,eo(t),n)},xn.isNaN=function(e){return Gs(e)&&e!=+e},xn.isNative=function(e){if(po(e))throw new he("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Mr(e)},xn.isNil=function(e){return null==e},xn.isNull=function(e){return null===e},xn.isNumber=Gs,xn.isObject=Qs,xn.isObjectLike=Xs,xn.isPlainObject=Zs,xn.isRegExp=zs,xn.isSafeInteger=function(e){return Ws(e)&&e>=-9007199254740991&&e<=9007199254740991},xn.isSet=qs,xn.isString=Js,xn.isSymbol=$s,xn.isTypedArray=ea,xn.isUndefined=function(e){return void 0===e},xn.isWeakMap=function(e){return Xs(e)&&io(e)==b},xn.isWeakSet=function(e){return Xs(e)&&"[object WeakSet]"==mr(e)},xn.join=function(e,t){return null==e?"":sn.call(e,t)},xn.kebabCase=Da,xn.last=jo,xn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=oa(n))<0?ln(r+i,0):cn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):bt(e,yt,i,!0)},xn.lowerCase=Fa,xn.lowerFirst=ka,xn.lt=ta,xn.lte=na,xn.max=function(e){return e&&e.length?or(e,Ga,Ar):void 0},xn.maxBy=function(e,t){return e&&e.length?or(e,Ji(t,2),Ar):void 0},xn.mean=function(e){return Rt(e,Ga)},xn.meanBy=function(e,t){return Rt(e,Ji(t,2))},xn.min=function(e){return e&&e.length?or(e,Ga,Cr):void 0},xn.minBy=function(e,t){return e&&e.length?or(e,Ji(t,2),Cr):void 0},xn.stubArray=sl,xn.stubFalse=al,xn.stubObject=function(){return{}},xn.stubString=function(){return""},xn.stubTrue=function(){return!0},xn.multiply=pl,xn.nth=function(e,t){return e&&e.length?Ir(e,oa(t)):void 0},xn.noConflict=function(){return Xe._===this&&(Xe._=Oe),this},xn.noop=$a,xn.now=gs,xn.pad=function(e,t,n){e=ca(e);var r=(t=oa(t))?Qt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Pi(tn(i),n)+e+Pi(en(i),n)},xn.padEnd=function(e,t,n){e=ca(e);var r=(t=oa(t))?Qt(e):0;return t&&r<t?e+Pi(t-r,n):e},xn.padStart=function(e,t,n){e=ca(e);var r=(t=oa(t))?Qt(e):0;return t&&r<t?Pi(t-r,n)+e:e},xn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),dn(ca(e).replace(X,""),t||0)},xn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&co(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ia(e),void 0===t?(t=e,e=0):t=ia(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=hn();return cn(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return Br(e,t)},xn.reduce=function(e,t,n){var r=Ds(e)?ft:Et,i=arguments.length<3;return r(e,Ji(t,4),n,i,nr)},xn.reduceRight=function(e,t,n){var r=Ds(e)?mt:Et,i=arguments.length<3;return r(e,Ji(t,4),n,i,rr)},xn.repeat=function(e,t,n){return t=(n?co(e,t,n):void 0===t)?1:oa(t),Ur(ca(e),t)},xn.replace=function(){var e=arguments,t=ca(e[0]);return e.length<3?t:t.replace(e[1],e[2])},xn.result=function(e,t,n){var r=-1,i=(t=ci(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[Co(t[r])];void 0===o&&(r=i,o=n),e=Vs(o)?o.call(e):o}return e},xn.round=fl,xn.runInContext=e,xn.sample=function(e){return(Ds(e)?jn:jr)(e)},xn.size=function(e){if(null==e)return 0;if(ks(e))return Js(e)?Qt(e):e.length;var t=io(e);return t==h||t==A?e.size:Er(e).length},xn.snakeCase=Ba,xn.some=function(e,t,n){var r=Ds(e)?At:Gr;return n&&co(e,t,n)&&(t=void 0),r(e,Ji(t,3))},xn.sortedIndex=function(e,t){return Zr(e,t)},xn.sortedIndexBy=function(e,t,n){return zr(e,t,Ji(n,2))},xn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Zr(e,t);if(r<n&&Ns(e[r],t))return r}return-1},xn.sortedLastIndex=function(e,t){return Zr(e,t,!0)},xn.sortedLastIndexBy=function(e,t,n){return zr(e,t,Ji(n,2),!0)},xn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=Zr(e,t,!0)-1;if(Ns(e[n],t))return n}return-1},xn.startCase=Ua,xn.startsWith=function(e,t,n){return e=ca(e),n=null==n?0:qn(oa(n),0,e.length),t=$r(t),e.slice(n,n+t.length)==t},xn.subtract=ml,xn.sum=function(e){return e&&e.length?Tt(e,Ga):0},xn.sumBy=function(e,t){return e&&e.length?Tt(e,Ji(t,2)):0},xn.template=function(e,t,n){var r=xn.templateSettings;n&&co(e,t,n)&&(t=void 0),e=ca(e),t=ha({},t,r,Vi);var i,o,s=ha({},t.imports,r.imports,Vi),a=ya(s),l=Nt(s,a),c=0,u=t.interpolate||le,d="__p += '",h=Ae((t.escape||le).source+"|"+u.source+"|"+(u===H?ee:le).source+"|"+(t.evaluate||le).source+"|$","g"),p="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Be+"]")+"\n";e.replace(h,(function(t,n,r,s,a,l){return r||(r=s),d+=e.slice(c,l).replace(ce,Bt),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(o=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t})),d+="';\n";var f=Me.call(t,"variable")&&t.variable;if(f){if(J.test(f))throw new he("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(N,""):d).replace(L,"$1").replace(I,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Wa((function(){return pe(a,p+"return "+d).apply(void 0,l)}));if(m.source=d,js(m))throw m;return m},xn.times=function(e,t){if((e=oa(e))<1||e>9007199254740991)return[];var n=4294967295,r=cn(e,4294967295);e-=4294967295;for(var i=Ct(r,t=Ji(t));++n<e;)t(n);return i},xn.toFinite=ia,xn.toInteger=oa,xn.toLength=sa,xn.toLower=function(e){return ca(e).toLowerCase()},xn.toNumber=aa,xn.toSafeInteger=function(e){return e?qn(oa(e),-9007199254740991,9007199254740991):0===e?e:0},xn.toString=ca,xn.toUpper=function(e){return ca(e).toUpperCase()},xn.trim=function(e,t,n){if((e=ca(e))&&(n||void 0===t))return Ot(e);if(!e||!(t=$r(t)))return e;var r=Xt(e),i=Xt(t);return di(r,It(r,i),Pt(r,i)+1).join("")},xn.trimEnd=function(e,t,n){if((e=ca(e))&&(n||void 0===t))return e.slice(0,Kt(e)+1);if(!e||!(t=$r(t)))return e;var r=Xt(e);return di(r,0,Pt(r,Xt(t))+1).join("")},xn.trimStart=function(e,t,n){if((e=ca(e))&&(n||void 0===t))return e.replace(X,"");if(!e||!(t=$r(t)))return e;var r=Xt(e);return di(r,It(r,Xt(t))).join("")},xn.truncate=function(e,t){var n=30,r="...";if(Qs(t)){var i="separator"in t?t.separator:i;n="length"in t?oa(t.length):n,r="omission"in t?$r(t.omission):r}var o=(e=ca(e)).length;if(Ut(e)){var s=Xt(e);o=s.length}if(n>=o)return e;var a=n-Qt(r);if(a<1)return r;var l=s?di(s,0,a).join(""):e.slice(0,a);if(void 0===i)return l+r;if(s&&(a+=l.length-a),zs(i)){if(e.slice(a).search(i)){var c,u=l;for(i.global||(i=Ae(i.source,ca(te.exec(i))+"g")),i.lastIndex=0;c=i.exec(u);)var d=c.index;l=l.slice(0,void 0===d?a:d)}}else if(e.indexOf($r(i),a)!=a){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r},xn.unescape=function(e){return(e=ca(e))&&F.test(e)?e.replace(P,Gt):e},xn.uniqueId=function(e){var t=++Se;return ca(e)+t},xn.upperCase=Ha,xn.upperFirst=ja,xn.each=cs,xn.eachRight=us,xn.first=ko,Ja(xn,(ll={},ur(xn,(function(e,t){Me.call(xn.prototype,t)||(ll[t]=e)})),ll),{chain:!1}),xn.VERSION="4.17.21",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){xn[e].placeholder=xn})),st(["drop","take"],(function(e,t){Pn.prototype[e]=function(n){n=void 0===n?1:ln(oa(n),0);var r=this.__filtered__&&!t?new Pn(this):this.clone();return r.__filtered__?r.__takeCount__=cn(n,r.__takeCount__):r.__views__.push({size:cn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Pn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Pn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ji(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Pn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Pn.prototype[e]=function(){return this.__filtered__?new Pn(this):this[n](1)}})),Pn.prototype.compact=function(){return this.filter(Ga)},Pn.prototype.find=function(e){return this.filter(e).head()},Pn.prototype.findLast=function(e){return this.reverse().find(e)},Pn.prototype.invokeMap=Hr((function(e,t){return"function"==typeof e?new Pn(this):this.map((function(n){return vr(n,e,t)}))})),Pn.prototype.reject=function(e){return this.filter(Es(Ji(e)))},Pn.prototype.slice=function(e,t){e=oa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Pn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oa(t))<0?n.dropRight(-t):n.take(t-e)),n)},Pn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pn.prototype.toArray=function(){return this.take(4294967295)},ur(Pn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=xn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(xn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,a=t instanceof Pn,l=s[0],c=a||Ds(t),u=function(e){var t=i.apply(xn,pt([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof l&&1!=l.length&&(a=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=o&&!d,f=a&&!h;if(!o&&c){t=f?t:new Pn(this);var m=e.apply(t,s);return m.__actions__.push({func:is,args:[u],thisArg:void 0}),new In(m,d)}return p&&f?e.apply(this,s):(m=this.thru(u),p?r?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=be[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);xn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ds(i)?i:[],e)}return this[n]((function(n){return t.apply(Ds(n)?n:[],e)}))}})),ur(Pn.prototype,(function(e,t){var n=xn[t];if(n){var r=n.name+"";Me.call(wn,r)||(wn[r]=[]),wn[r].push({name:t,func:n})}})),wn[xi(void 0,2).name]=[{name:"wrapper",func:void 0}],Pn.prototype.clone=function(){var e=new Pn(this.__wrapped__);return e.__actions__=bi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=bi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=bi(this.__views__),e},Pn.prototype.reverse=function(){if(this.__filtered__){var e=new Pn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Pn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ds(e),r=t<0,i=n?e.length:0,o=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=cn(t,e+s);break;case"takeRight":e=ln(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=o.start,a=o.end,l=a-s,c=r?a:s-1,u=this.__iteratees__,d=u.length,h=0,p=cn(l,this.__takeCount__);if(!n||!r&&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,b=g.type,v=_(A);if(2==b)A=v;else if(!v){if(1==b)continue e;break e}}f[h++]=A}return f},xn.prototype.at=os,xn.prototype.chain=function(){return rs(this)},xn.prototype.commit=function(){return new In(this.value(),this.__chain__)},xn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ra(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},xn.prototype.plant=function(e){for(var t,n=this;n instanceof Ln;){var r=xo(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},xn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Pn){var t=e;return this.__actions__.length&&(t=new Pn(this)),(t=t.reverse()).__actions__.push({func:is,args:[Qo],thisArg:void 0}),new In(t,this.__chain__)}return this.thru(Qo)},xn.prototype.toJSON=xn.prototype.valueOf=xn.prototype.value=function(){return ii(this.__wrapped__,this.__actions__)},xn.prototype.first=xn.prototype.head,gt&&(xn.prototype[gt]=function(){return this}),xn}();Ge?((Ge.exports=Zt)._=Zt,Ke._=Zt):Xe._=Zt}).call(Re)}));const Ce={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},xe={orientation:"portrait",margins:Te.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"},Ne={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"],Pe=`\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="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="${be}" Target="webSettings.xml"/>\n <Relationship Id="rId5" Type="${le}" Target="fontTable.xml"/>\n </Relationships>\n`,De=`\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`,Fe=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:fonts\n xmlns:r="${J}"\n xmlns:w="${ne}"\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`,ke=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:settings xmlns:w="${ne}" xmlns:o="${z}" xmlns:r="${J}" xmlns:v="${$}" xmlns:w10="${re}" xmlns:sl="${ve}">\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`,Be=`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:webSettings xmlns:w="${ne}" xmlns:r="${J}">\n </w:webSettings>\n`;let Ue,He,je=(e=21)=>{var t;t=e-=0,!Ue||Ue.length<t?(Ue=r.allocUnsafe(128*t),h.a.randomFillSync(Ue),He=0):He+t>Ue.length&&(h.a.randomFillSync(Ue),He=0),He+=t;let n="";for(let r=He-e;r<He;r++)n+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&Ue[r]];return n};var Ve=function(e){return e&&"VirtualText"===e.type&&"2"===e.version},We=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 n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),Ye=Se((function(e){try{var t=_.a;if("function"!=typeof t.inherits)throw"";e.exports=t.inherits}catch(n){e.exports=We}})),Qe=v.a.EventEmitter,Xe=Ge,Ke=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 Ze(){for(var e in this.timers){var t=this.timers[e];delete this.timers[e],clearTimeout(t)}}function ze(e){var t=this;function n(e){t.end(e)}this.on("error",n),this.on("end",(function r(i){t.removeListener("error",n),t.removeListener("end",r),e(i,this.results)}))}function qe(e){this.session++,this.running=!1,this.emit("end",e)}Ye(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&&ze.call(this,e),this.running=!0,!(this.pending>=this.concurrency))if(0!==this.jobs.length){var t=this,n=this.jobs.shift(),r=!0,i=this.session,o=null,s=!1,a=null,l=n.hasOwnProperty("timeout")?n.timeout:this.timeout;l&&(o=setTimeout((function(){s=!0,t.listeners("timeout").length>0?t.emit("timeout",u,n):u()}),l),this.timers[o]=o),this.results&&(a=this.results.length,this.results[a]=null),this.pending++,t.emit("start",n);var c=n(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&&qe.call(this);function u(e,l){r&&t.session===i&&(r=!1,t.pending--,null!==o&&(delete t.timers[o],clearTimeout(o)),e?t.emit("error",e,n):!1===s&&(null!==a&&(t.results[a]=Array.prototype.slice.call(arguments,1)),t.emit("success",l,n)),t.session===i&&(0===t.pending&&0===t.jobs.length?qe.call(t):t.running&&t.start()))}},Ge.prototype.stop=function(){this.running=!1},Ge.prototype.end=function(e){Ze.call(this),this.jobs.length=0,this.pending=0,qe.call(this,e)},Xe.default=Ke;var Je=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)})}}));Me(Je),Je.BMP;var $e=Se((function(e,t){function n(e,t){const n=e.readUInt8(t);return 0===n?256:n}function r(e,t){const r=6+16*t;return{height:n(e,r+1),width:n(e,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.ICO=void 0,t.ICO={validate(e){const t=e.readUInt16LE(0),n=e.readUInt16LE(4);return 0===t&&0!==n&&1===e.readUInt16LE(2)},calculate(e){const t=e.readUInt16LE(4),n=r(e,0);if(1===t)return n;const i=[n];for(let o=1;o<t;o+=1)i.push(r(e,o));return{height:n.height,images:i,width:n.width}}}}));Me($e),$e.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),n=e.readUInt16LE(4);return 0===t&&0!==n&&2===e.readUInt16LE(2)},calculate:e=>$e.ICO.calculate(e)}}));Me(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)})}}));Me(tt),tt.DDS;var nt=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GIF=void 0;const n=/^GIF8[79]a/;t.GIF={validate(e){const t=e.toString("ascii",0,6);return n.test(t)},calculate:e=>({height:e.readUInt16LE(8),width:e.readUInt16LE(6)})}}));Me(nt),nt.GIF;var rt=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ICNS=void 0;const n={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 r(e,t){const n=t+4;return[e.toString("ascii",t,n),e.readUInt32BE(n)]}function i(e){const t=n[e];return{width:t,height:t,type:e}}t.ICNS={validate:e=>"icns"===e.toString("ascii",0,4),calculate(e){const t=e.length,n=e.readUInt32BE(4);let o=8,s=r(e,o),a=i(s[0]);if(o+=s[1],o===n)return a;const l={height:a.height,images:[a],width:a.width};for(;o<n&&o<t;)s=r(e,o),a=i(s[0]),o+=s[1],l.images.push(a);return l}}}));Me(rt),rt.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)})}}));Me(it),it.J2C;var ot=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.JP2=void 0;const n="66747970",r="6a703268",i="6a502020",o="72726571",s=e=>({height:e.readUInt32BE(4),width:e.readUInt32BE(8)});t.JP2={validate(e){const t=e.toString("hex",4,8),r=e.readUInt32BE(0);if(t!==i||r<1)return!1;const o=r+4,s=e.readUInt32BE(r);return e.slice(o,o+s).toString("hex",0,4)===n},calculate(e){const t=e.readUInt32BE(0);let n=t+4+e.readUInt16BE(t+2);switch(e.toString("hex",n,n+4)){case o:return n=n+4+4+(e=>{const t=e.readUInt8(0);let n=1+2*t;return n=n+2+e.readUInt16BE(n)*(2+t),n+2+e.readUInt16BE(n)*(16+t)})(e.slice(n+4)),s(e.slice(n+8,n+24));case r:return s(e.slice(n+8,n+24));default:throw new TypeError("Unsupported header found: "+e.toString("ascii",n,n+4))}}}}));Me(ot),ot.JP2;var st=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.readUInt=void 0,t.readUInt=function(e,t,n,r){return n=n||0,e["readUInt"+t+(r?"BE":"LE")].call(e,n)}}));Me(st),st.readUInt;var at=Se((function(e,t){function n(e){return"45786966"===e.toString("hex",2,6)}function r(e,t){return{height:e.readUInt16BE(t),width:e.readUInt16BE(t+2)}}function i(e,t){const n=e.slice(2,t),r=n.toString("hex",6,8),i="4d4d"===r;if(i||"4949"===r)return function(e,t){const n=(0,st.readUInt)(e,16,14,t);for(let r=0;r<n;r++){const n=16+12*r,i=n+12;if(n>e.length)return;const o=e.slice(n,i);if(274===(0,st.readUInt)(o,16,0,t)){if(3!==(0,st.readUInt)(o,16,2,t))return;if(1!==(0,st.readUInt)(o,32,4,t))return;return(0,st.readUInt)(o,16,8,t)}}}(n,i)}function o(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,s;for(e=e.slice(4);e.length;){const a=e.readUInt16BE(0);if(n(e)&&(t=i(e,a)),o(e,a),s=e[a+1],192===s||193===s||194===s){const n=r(e,a+5);return t?{height:n.height,orientation:t,width:n.width}:n}e=e.slice(a+2)}throw new TypeError("Invalid JPG, no size found")}}}));Me(at),at.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)})}}));Me(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)}}}));Me(ct),ct.PNG;var ut=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PNM=void 0;const n={P1:"pbm/ascii",P2:"pgm/ascii",P3:"ppm/ascii",P4:"pbm",P5:"pgm",P6:"ppm",P7:"pam",PF:"pfm"},r=Object.keys(n),i={default:e=>{let t=[];for(;e.length>0;){const n=e.shift();if("#"!==n[0]){t=n.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 n=e.shift();if(n.length>16||n.charCodeAt(0)>128)continue;const[r,i]=n.split(" ");if(r&&i&&(t[r.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 r.includes(t)},calculate(e){const t=e.toString("ascii",0,2),r=n[t],o=e.toString("ascii",3).split(/[\r\n]+/);return(i[r]||i.default)(o)}}}));Me(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)})}}));Me(dt),dt.PSD;var ht=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SVG=void 0;const n=/<svg\s([^>"']|"[^"]*"|'[^']*')*>/,r={height:/\sheight=(['"])([^%]+?)\1/,root:n,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},o=new RegExp(`^([0-9.]+(?:e\\d+)?)(${Object.keys(i).join("|")})?$`);function s(e){const t=o.exec(e);if(t)return Math.round(Number(t[1])*(i[t[2]]||1))}function a(e){const t=e.split(" ");return{height:s(t[3]),width:s(t[2])}}t.SVG={validate(e){const t=String(e);return n.test(t)},calculate(e){const t=e.toString("utf8").match(r.root);if(t){const e=function(e){const t=e.match(r.width),n=e.match(r.height),i=e.match(r.viewbox);return{height:n&&s(n[2]),viewbox:i&&a(i[2]),width:t&&s(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 n=t.width/t.height;return e.width?{height:Math.floor(e.width/n),width:e.width}:e.height?{height:e.height,width:Math.floor(e.height*n)}:{height:t.height,width:t.width}}(e,e.viewbox)}throw new TypeError("Invalid SVG")}}}));Me(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)})}}));Me(pt),pt.TGA;var ft=Se((function(e,t){function n(e,t){const n=(0,st.readUInt)(e,16,8,t);return((0,st.readUInt)(e,16,10,t)<<16)+n}function i(e){if(e.length>24)return e.slice(12)}Object.defineProperty(t,"__esModule",{value:!0}),t.TIFF=void 0;const o=["49492a00","4d4d002a"];t.TIFF={validate:e=>o.includes(e.toString("hex",0,4)),calculate(e,t){if(!t)throw new TypeError("Tiff doesn't support buffer");const o="BE"===function(e){const t=e.toString("ascii",0,2);return"II"===t?"LE":"MM"===t?"BE":void 0}(e),s=function(e,t,n){const i=(0,st.readUInt)(e,32,4,n);let o=1024;const s=f.a.statSync(t).size;i+o>s&&(o=s-i-10);const a=r.alloc(o),l=f.a.openSync(t,"r");return f.a.readSync(l,a,0,o,i),f.a.closeSync(l),a.slice(2)}(e,t,o),a=function(e,t){const r={};let o=e;for(;o&&o.length;){const e=(0,st.readUInt)(o,16,0,t),s=(0,st.readUInt)(o,16,2,t),a=(0,st.readUInt)(o,32,4,t);if(0===e)break;1!==a||3!==s&&4!==s||(r[e]=n(o,t)),o=i(o)}return r}(s,o),l=a[256],c=a[257];if(!l||!c)throw new TypeError("Invalid Tiff. Missing tags");return{height:c,width:l}}}}));Me(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),n="WEBP"===e.toString("ascii",8,12),r="VP8"===e.toString("ascii",12,15);return t&&n&&r},calculate(e){const t=e.toString("ascii",12,16);if(e=e.slice(20,30),"VP8X"===t){const t=e[0],n=0==(1&t);if(0==(192&t)&&n)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 n=e.toString("hex",3,6);if("VP8L"===t&&"9d012a"!==n)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")}}}));Me(mt),mt.WEBP;var At=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.typeHandlers=void 0,t.typeHandlers={bmp:Je.BMP,cur:et.CUR,dds:tt.DDS,gif:nt.GIF,icns:rt.ICNS,ico:$e.ICO,j2c:it.J2C,jp2:ot.JP2,jpg:at.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}}));Me(At),At.typeHandlers;var gt=Se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.detector=void 0;const n=Object.keys(At.typeHandlers),r={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 r){const n=r[t];if(n&&At.typeHandlers[n].validate(e))return n}return n.find(t=>At.typeHandlers[t].validate(e))}}));Me(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 n=new Xe.default({concurrency:100,autostart:!0}),o={disabledFS:!1,disabledTypes:[]};function s(e,t){const n=(0,gt.detector)(e);if(void 0!==n){if(o.disabledTypes.indexOf(n)>-1)throw new TypeError("disabled file type: "+n);if(n in At.typeHandlers){const r=At.typeHandlers[n].calculate(e,t);if(void 0!==r)return r.type=n,r}}throw new TypeError("unsupported file type: "+n+" (file: "+t+")")}function a(e,t){if(r.isBuffer(e))return s(e);if("string"!=typeof e||o.disabledFS)throw new TypeError("invalid invocation. input should be a Buffer");const a=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 n=Math.min(e,524288),i=r.alloc(n);return f.a.readSync(t,i,0,n,0),i}finally{f.a.closeSync(t)}}(a);return s(e,a)}n.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 n=Math.min(e,524288),i=r.alloc(n);return await t.read(i,0,n,0),i}finally{await t.close()}}(a).then(e=>i.nextTick(t,null,s(e,a))).catch(t))}e.exports=t=a,t.default=a,t.imageSize=a,t.disableFS=e=>{o.disabledFS=e},t.disableTypes=e=>{o.disabledTypes=e},t.setConcurrency=e=>{n.concurrency=e},t.types=Object.keys(At.typeHandlers)})),bt=Me(_t);_t.types,_t.setConcurrency,_t.disableTypes,_t.disableFS,_t.imageSize;var vt={},wt=vt;function yt(e){return e<0?-1:1}function Rt(e,t){t.unsigned||--e;const n=t.unsigned?0:-Math.pow(2,e),r=Math.pow(2,e)-1,i=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),o=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let a=+e;if(s.enforceRange){if(!Number.isFinite(a))throw new TypeError("Argument is not a finite number");if(a=yt(a)*Math.floor(Math.abs(a)),a<n||a>r)throw new TypeError("Argument is not in byte range");return a}if(!isNaN(a)&&s.clamp)return a=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(a),a<n&&(a=n),a>r&&(a=r),a;if(!Number.isFinite(a)||0===a)return 0;if(a=yt(a)*Math.floor(Math.abs(a)),a%=i,!t.unsigned&&a>=o)return a-i;if(t.unsigned)if(a<0)a+=i;else if(-0===a)return 0;return a}}vt.void=function(){},vt.boolean=function(e){return!!e},vt.byte=Rt(8,{unsigned:!1}),vt.octet=Rt(8,{unsigned:!0}),vt.short=Rt(16,{unsigned:!1}),vt["unsigned short"]=Rt(16,{unsigned:!0}),vt.long=Rt(32,{unsigned:!1}),vt["unsigned long"]=Rt(32,{unsigned:!0}),vt["long long"]=Rt(32,{unsigned:!1,moduloBitLength:64}),vt["unsigned long long"]=Rt(32,{unsigned:!0,moduloBitLength:64}),vt.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},vt["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},vt.float=vt.double,vt["unrestricted float"]=vt["unrestricted double"],vt.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},vt.ByteString=function(e,t){const n=String(e);let r;for(let i=0;void 0!==(r=n.codePointAt(i));++i)if(r>255)throw new TypeError("Argument is not a valid bytestring");return n},vt.USVString=function(e){const t=String(e),n=t.length,r=[];for(let i=0;i<n;++i){const e=t.charCodeAt(i);if(e<55296||e>57343)r.push(String.fromCodePoint(e));else if(56320<=e&&e<=57343)r.push(String.fromCodePoint(65533));else if(i===n-1)r.push(String.fromCodePoint(65533));else{const n=t.charCodeAt(i+1);if(56320<=n&&n<=57343){const t=1023&e,o=1023&n;r.push(String.fromCodePoint(65536+1024*t+o)),++i}else r.push(String.fromCodePoint(65533))}}return r.join("")},vt.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},vt.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e};var Mt=Se((function(e){e.exports.mixin=function(e,t){const n=Object.getOwnPropertyNames(t);for(let r=0;r<n.length;++r)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]))},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]}}));Mt.mixin,Mt.wrapperSymbol,Mt.implSymbol,Mt.wrapperForImpl,Mt.implForWrapper;var St=Ee(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"]]})),Et={TRANSITIONAL:0,NONTRANSITIONAL:1};function Tt(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function Ct(e){for(var t=0,n=St.length-1;t<=n;){var r=Math.floor((t+n)/2),i=St[r];if(i[0][0]<=e&&i[0][1]>=e)return i;i[0][0]>e?n=r-1:t=r+1}return null}var Ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function xt(e){return e.replace(Ot,"_").length}var Nt=/[\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=C.a.toUnicode(e));var n=!1;(Tt(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(Nt))&&(n=!0);for(var r=xt(e),i=0;i<r;++i){var o=Ct(e.codePointAt(i));if(It===Et.TRANSITIONAL&&"valid"!==o[1]||It===Et.NONTRANSITIONAL&&"valid"!==o[1]&&"deviation"!==o[1]){n=!0;break}}return{label:e,error:n}}function It(e,t,n){var r=function(e,t,n){for(var r=!1,i="",o=xt(e),s=0;s<o;++s){var a=e.codePointAt(s),l=Ct(a);switch(l[1]){case"disallowed":r=!0,i+=String.fromCodePoint(a);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,l[2]);break;case"deviation":i+=n===Et.TRANSITIONAL?String.fromCodePoint.apply(String,l[2]):String.fromCodePoint(a);break;case"valid":i+=String.fromCodePoint(a);break;case"disallowed_STD3_mapped":t?(r=!0,i+=String.fromCodePoint(a)):i+=String.fromCodePoint.apply(String,l[2]);break;case"disallowed_STD3_valid":t&&(r=!0),i+=String.fromCodePoint(a)}}return{string:i,error:r}}(e,t,n);r.string=Tt(r.string);for(var i=r.string.split("."),o=0;o<i.length;++o)try{var s=Lt(i[o]);i[o]=s.label,r.error=r.error||s.error}catch(a){r.error=!0}return{string:i.join("."),error:r.error}}var Pt={toASCII:function(e,t,n,r){var i=It(e,t,n),o=i.string.split(".");if(o=o.map((function(e){try{return C.a.toASCII(e)}catch(t){return i.error=!0,e}})),r){var s=o.slice(0,o.length-1).join(".").length;(s.length>253||0===s.length)&&(i.error=!0);for(var a=0;a<o.length;++a)if(o.length>63||0===o.length){i.error=!0;break}}return i.error?null:o.join(".")},toUnicode:function(e,t){var n=It(e,t,Et.NONTRANSITIONAL);return{domain:n.string,error:n.error}},PROCESSING_OPTIONS:Et},Dt=Se((function(e){const t={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},n=Symbol("failure");function i(e){return C.a.ucs2.decode(e).length}function o(e,t){const n=e[t];return isNaN(n)?void 0:String.fromCodePoint(n)}function s(e){return e>=48&&e<=57}function a(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e){return s(e)||e>=65&&e<=70||e>=97&&e<=102}function c(e){return"."===e||"%2e"===e.toLowerCase()}function u(e){return 2===e.length&&a(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 b(e,t){const n=String.fromCodePoint(e);return t(e)?function(e){const t=new r(e);let n="";for(let r=0;r<t.length;++r)n+=p(t[r]);return n}(n):n}function v(e){let t=10;return e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e?0:(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?n:parseInt(e,t)}function w(e,t){if("["===e[0])return"]"!==e[e.length-1]?n:function(e){const t=[0,0,0,0,0,0,0,0];let r=0,i=null,a=0;if(58===(e=C.a.ucs2.decode(e))[a]){if(58!==e[a+1])return n;a+=2,++r,i=r}for(;a<e.length;){if(8===r)return n;if(58===e[a]){if(null!==i)return n;++a,++r,i=r;continue}let c=0,u=0;for(;u<4&&l(e[a]);)c=16*c+parseInt(o(e,a),16),++a,++u;if(46===e[a]){if(0===u)return n;if(a-=u,r>6)return n;let i=0;for(;void 0!==e[a];){let l=null;if(i>0){if(!(46===e[a]&&i<4))return n;++a}if(!s(e[a]))return n;for(;s(e[a]);){const t=parseInt(o(e,a));if(null===l)l=t;else{if(0===l)return n;l=10*l+t}if(l>255)return n;++a}t[r]=256*t[r]+l,++i,2!==i&&4!==i||++r}if(4!==i)return n;break}if(58===e[a]){if(++a,void 0===e[a])return n}else if(void 0!==e[a])return n;t[r]=c,++r}if(null!==i){let e=r-i;for(r=7;0!==r&&e>0;){const n=t[i+e-1];t[i+e-1]=t[r],t[r]=n,--r,--e}}else if(null===i&&8!==r)return n;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(t=e,-1!==t.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return n;var t;let r="";const i=C.a.ucs2.decode(e);for(let n=0;n<i.length;++n)r+=b(i[n],f);return r}(e);const i=function(e){const t=new r(e),n=[];for(let r=0;r<t.length;++r)37!==t[r]?n.push(t[r]):37===t[r]&&l(t[r+1])&&l(t[r+2])?(n.push(parseInt(t.slice(r+1,r+3).toString(),16)),r+=2):n.push(t[r]);return new r(n).toString()}(e),a=Pt.toASCII(i,!1,Pt.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===a)return n;if(-1!==a.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return n;const c=function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return e;const r=[];for(const s of t){if(""===s)return e;const t=v(s);if(t===n)return e;r.push(t)}for(let s=0;s<r.length-1;++s)if(r[s]>255)return n;if(r[r.length-1]>=Math.pow(256,5-r.length))return n;let i=r.pop(),o=0;for(const n of r)i+=n*Math.pow(256,3-o),++o;return i}(a);return"number"==typeof c||c===n?c:a}function y(e){return"number"==typeof e?function(e){let t="",n=e;for(let r=1;r<=4;++r)t=String(n%256)+t,4!==r&&(t="."+t),n=Math.floor(n/256);return t}(e):e instanceof Array?"["+function(e){let t="";const n=function(e){let t=null,n=1,r=null,i=0;for(let o=0;o<e.length;++o)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),{idx:t,len:n}}(e).idx;let r=!1;for(let i=0;i<=7;++i)r&&0===e[i]||(r&&(r=!1),n!==i?(t+=e[i].toString(16),7!==i&&(t+=":")):(t+=0===i?"::":":",r=!0));return t}(e)+"]":e}function R(e){const t=e.path;var n;0!==t.length&&("file"===e.scheme&&1===t.length&&(n=t[0],/^[A-Za-z]:$/.test(n))||t.pop())}function M(e){return""!==e.username||""!==e.password}function S(e,t,r,i,o){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=r||"utf-8",this.stateOverride=o,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 s=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(s!==this.input&&(this.parseError=!0),this.input=s,this.state=o||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=C.a.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),r=this["parse "+this.state](e,t);if(!r)break;if(r===n){this.failure=!0;break}}}S.prototype["parse scheme start"]=function(e,t){if(a(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,n;this.state="no scheme",--this.pointer}return!0},S.prototype["parse scheme"]=function(e,t){if(function(e){return a(e)||s(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((M(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):h(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":h(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,n;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},S.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?n:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},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 n=b(e,_);this.passwordTokenSeenFlag?this.url.password+=n:this.url.username+=n}this.buffer=""}else if(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e){if(this.atFlag&&""===this.buffer)return this.parseError=!0,n;this.pointer-=i(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},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,n;if(this.stateOverride&&""===this.buffer&&(M(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=w(this.buffer,h(this.url));if(e===n)return n;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else 91===e?this.arrFlag=!0:93===e&&(this.arrFlag=!1),this.buffer+=t;else{if(""===this.buffer)return this.parseError=!0,n;const e=w(this.buffer,h(this.url));if(e===n)return n;if(this.url.host=e,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},S.prototype["parse port"]=function(e,r){if(s(e))this.buffer+=r;else{if(!(isNaN(e)||47===e||63===e||35===e||h(this.url)&&92===e||this.stateOverride))return this.parseError=!0,n;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1)return this.parseError=!0,n;this.url.port=e===(i=this.url.scheme,t[i])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var i;return!0};const E=new Set([47,92,63,35]);S.prototype["parse file"]=function(e){var t,n;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,n=this.input[this.pointer+1],!a(t)||58!==n&&124!==n)||this.input.length-this.pointer-1>=2&&!E.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),R(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&&a(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===n)return n;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},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?(R(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+=b(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]+b(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 r(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+=b(e,f))),!0},e.exports.serializeURL=function(e,t){let n=e.scheme+":";if(null!==e.host?(n+="//",""===e.username&&""===e.password||(n+=e.username,""!==e.password&&(n+=":"+e.password),n+="@"),n+=y(e.host),null!==e.port&&(n+=":"+e.port)):null===e.host&&"file"===e.scheme&&(n+="//"),e.cannotBeABaseURL)n+=e.path[0];else for(const r of e.path)n+="/"+r;return null!==e.query&&(n+="?"+e.query),t||null===e.fragment||(n+="#"+e.fragment),n},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(n){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 n=new S(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return n.failure?"failure":n.url},e.exports.setTheUsername=function(e,t){e.username="";const n=C.a.ucs2.decode(t);for(let r=0;r<n.length;++r)e.username+=b(n[r],_)},e.exports.setThePassword=function(e,t){e.password="";const n=C.a.ucs2.decode(t);for(let r=0;r<n.length;++r)e.password+=b(n[r],_)},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,n){return void 0===n&&(n={}),e.exports.basicURLParse(t,{baseURL:n.baseURL,encodingOverride:n.encodingOverride})}}));Dt.serializeURL,Dt.serializeURLOrigin,Dt.basicURLParse,Dt.setTheUsername,Dt.setThePassword,Dt.serializeHost,Dt.cannotHaveAUsernamePasswordPort,Dt.serializeInteger,Dt.parseURL;var Ft=class{constructor(e){const t=e[0],n=e[1];let r=null;if(void 0!==n&&(r=Dt.basicURLParse(n),"failure"===r))throw new TypeError("Invalid base URL");const i=Dt.basicURLParse(t,{baseURL:r});if("failure"===i)throw new TypeError("Invalid URL");this._url=i}get href(){return Dt.serializeURL(this._url)}set href(e){const t=Dt.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return Dt.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){Dt.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){Dt.cannotHaveAUsernamePasswordPort(this._url)||Dt.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){Dt.cannotHaveAUsernamePasswordPort(this._url)||Dt.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?Dt.serializeHost(e.host):Dt.serializeHost(e.host)+":"+Dt.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||Dt.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":Dt.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||Dt.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":Dt.serializeInteger(this._url.port)}set port(e){Dt.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:Dt.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=[],Dt.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 n="?"===e[0]?e.substring(1):e;t.query="",Dt.basicURLParse(n,{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="",Dt.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}},kt=Se((function(e){const t=Mt.implSymbol;function n(r){if(!this||this[t]||!(this instanceof n))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)}n.prototype.toJSON=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");const n=[];for(let e=0;e<arguments.length&&e<0;++e)n[e]=arguments[e];return this[t].toJSON.apply(this[t],n)},Object.defineProperty(n.prototype,"href",{get(){return this[t].href},set(e){e=wt.USVString(e),this[t].href=e},enumerable:!0,configurable:!0}),n.prototype.toString=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");return this.href},Object.defineProperty(n.prototype,"origin",{get(){return this[t].origin},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"protocol",{get(){return this[t].protocol},set(e){e=wt.USVString(e),this[t].protocol=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"username",{get(){return this[t].username},set(e){e=wt.USVString(e),this[t].username=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"password",{get(){return this[t].password},set(e){e=wt.USVString(e),this[t].password=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"host",{get(){return this[t].host},set(e){e=wt.USVString(e),this[t].host=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hostname",{get(){return this[t].hostname},set(e){e=wt.USVString(e),this[t].hostname=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"port",{get(){return this[t].port},set(e){e=wt.USVString(e),this[t].port=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathname",{get(){return this[t].pathname},set(e){e=wt.USVString(e),this[t].pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"search",{get(){return this[t].search},set(e){e=wt.USVString(e),this[t].search=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.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 Ft,create(e,t){let r=Object.create(n.prototype);return this.setup(r,e,t),r},setup(e,n,r){r||(r={}),r.wrapper=e,e[t]=new Ft(n,r),e[t][Mt.wrapperSymbol]=e},interface:n,expose:{Window:{URL:n},Worker:{URL:n}}}}));kt.is,kt.create,kt.setup,kt.expose;var Bt={URL:kt.interface,serializeURL:Dt.serializeURL,serializeURLOrigin:Dt.serializeURLOrigin,basicURLParse:Dt.basicURLParse,setTheUsername:Dt.setTheUsername,setThePassword:Dt.setThePassword,serializeHost:Dt.serializeHost,serializeInteger:Dt.serializeInteger,parseURL:Dt.parseURL};const Ut=y.a.Readable,Ht=Symbol("buffer"),jt=Symbol("type");class Vt{constructor(){this[jt]="";const e=arguments[0],t=arguments[1],n=[];let i=0;if(e){const t=e,o=Number(t.length);for(let e=0;e<o;e++){const o=t[e];let s;s=o instanceof r?o:ArrayBuffer.isView(o)?r.from(o.buffer,o.byteOffset,o.byteLength):o instanceof ArrayBuffer?r.from(o):o instanceof Vt?o[Ht]:r.from("string"==typeof o?o:String(o)),i+=s.length,n.push(s)}}this[Ht]=r.concat(n);let o=t&&void 0!==t.type&&String(t.type).toLowerCase();o&&!/[^\u0020-\u007E]/.test(o)&&(this[jt]=o)}get size(){return this[Ht].length}get type(){return this[jt]}text(){return Promise.resolve(this[Ht].toString())}arrayBuffer(){const e=this[Ht],t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new Ut;return e._read=function(){},e.push(this[Ht]),e.push(null),e}toString(){return"[object Blob]"}slice(){const e=this.size,t=arguments[0],n=arguments[1];let r,i;r=void 0===t?0:t<0?Math.max(e+t,0):Math.min(t,e),i=void 0===n?e:n<0?Math.max(e+n,0):Math.min(n,e);const o=Math.max(i-r,0),s=this[Ht].slice(r,r+o),a=new Vt([],{type:arguments[2]});return a[Ht]=s,a}}function Wt(e,t,n){Error.call(this,e),this.message=e,this.type=t,n&&(this.code=this.errno=n.code),Error.captureStackTrace(this,this.constructor)}let Yt;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}),Wt.prototype=Object.create(Error.prototype),Wt.prototype.constructor=Wt,Wt.prototype.name="FetchError";try{Yt=n(!function(){var e=new Error("Cannot find module 'encoding'");throw e.code="MODULE_NOT_FOUND",e}()).convert}catch(ui){}const Qt=Symbol("Body internals"),Xt=y.a.PassThrough;function Kt(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.size;let o=void 0===i?0:i;var s=n.timeout;let a=void 0===s?0:s;null==e?e=null:Zt(e)?e=r.from(e.toString()):zt(e)||r.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=r.from(e):ArrayBuffer.isView(e)?e=r.from(e.buffer,e.byteOffset,e.byteLength):e instanceof y.a||(e=r.from(String(e)))),this[Qt]={body:e,disturbed:!1,error:null},this.size=o,this.timeout=a,e instanceof y.a&&e.on("error",(function(e){const n="AbortError"===e.name?e:new Wt(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[Qt].error=n}))}function Gt(){var e=this;if(this[Qt].disturbed)return Kt.Promise.reject(new TypeError("body used already for: "+this.url));if(this[Qt].disturbed=!0,this[Qt].error)return Kt.Promise.reject(this[Qt].error);let t=this.body;if(null===t)return Kt.Promise.resolve(r.alloc(0));if(zt(t)&&(t=t.stream()),r.isBuffer(t))return Kt.Promise.resolve(t);if(!(t instanceof y.a))return Kt.Promise.resolve(r.alloc(0));let n=[],i=0,o=!1;return new Kt.Promise((function(s,a){let l;e.timeout&&(l=setTimeout((function(){o=!0,a(new Wt(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(o=!0,a(t)):a(new Wt(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!o&&null!==t){if(e.size&&i+t.length>e.size)return o=!0,void a(new Wt(`content size at ${e.url} over limit: ${e.size}`,"max-size"));i+=t.length,n.push(t)}})),t.on("end",(function(){if(!o){clearTimeout(l);try{s(r.concat(n,i))}catch(t){a(new Wt(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function Zt(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 zt(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 qt(e){let t,n,r=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return r instanceof y.a&&"function"!=typeof r.getBoundary&&(t=new Xt,n=new Xt,r.pipe(t),r.pipe(n),e[Qt].body=t,r=n),r}function Jt(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":Zt(e)?"application/x-www-form-urlencoded;charset=UTF-8":zt(e)?e.type||null:r.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 $t(e){const t=e.body;return null===t?0:zt(t)?t.size:r.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}Kt.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()}),{[Ht]:t})}))},json(){var e=this;return Gt.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(n){return Kt.Promise.reject(new Wt(`invalid json response body at ${e.url} reason: ${n.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 Yt)throw new Error("The package `encoding` must be installed to use the textConverted() function");const n=t.get("content-type");let r,i,o="utf-8";return n&&(r=/charset=([^;]*)/i.exec(n)),i=e.slice(0,1024).toString(),!r&&i&&(r=/<meta.+?charset=(['"])(.+?)\1/i.exec(i)),!r&&i&&(r=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(i),r||(r=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(i),r&&r.pop()),r&&(r=/charset=(.*)/i.exec(r.pop()))),!r&&i&&(r=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(i)),r&&(o=r.pop(),"gb2312"!==o&&"gbk"!==o||(o="gb18030")),Yt(e,"UTF-8",o).toString()}(t,e.headers)}))}},Object.defineProperties(Kt.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),Kt.mixIn=function(e){for(const t of Object.getOwnPropertyNames(Kt.prototype))if(!(t in e)){const n=Object.getOwnPropertyDescriptor(Kt.prototype,t);Object.defineProperty(e,t,n)}},Kt.Promise=e.Promise;const en=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,tn=/[^\t\x20-\x7e\x80-\xff]/;function nn(e){if(e=""+e,en.test(e)||""===e)throw new TypeError(e+" is not a legal HTTP header name")}function rn(e){if(e=""+e,tn.test(e))throw new TypeError(e+" is not a legal HTTP header value")}function on(e,t){t=t.toLowerCase();for(const n in e)if(n.toLowerCase()===t)return n}const sn=Symbol("map");class an{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[sn]=Object.create(null),e instanceof an){const t=e.raw(),n=Object.keys(t);for(const e of n)for(const n of t[e])this.append(e,n)}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 n=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");n.push(Array.from(t))}for(const e of n){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 n of Object.keys(e)){const t=e[n];this.append(n,t)}}}}get(e){nn(e=""+e);const t=on(this[sn],e);return void 0===t?null:this[sn][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=ln(this),r=0;for(;r<n.length;){var i=n[r];const o=i[0],s=i[1];e.call(t,s,o,this),n=ln(this),r++}}set(e,t){t=""+t,nn(e=""+e),rn(t);const n=on(this[sn],e);this[sn][void 0!==n?n:e]=[t]}append(e,t){t=""+t,nn(e=""+e),rn(t);const n=on(this[sn],e);void 0!==n?this[sn][n].push(t):this[sn][e]=[t]}has(e){return nn(e=""+e),void 0!==on(this[sn],e)}delete(e){nn(e=""+e);const t=on(this[sn],e);void 0!==t&&delete this[sn][t]}raw(){return this[sn]}keys(){return un(this,"key")}values(){return un(this,"value")}[Symbol.iterator](){return un(this,"key+value")}}function ln(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key+value";const n=Object.keys(e[sn]).sort();return n.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[sn][t].join(", ")}:function(t){return[t.toLowerCase(),e[sn][t].join(", ")]})}an.prototype.entries=an.prototype[Symbol.iterator],Object.defineProperty(an.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(an.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 cn=Symbol("internal");function un(e,t){const n=Object.create(dn);return n[cn]={target:e,kind:t,index:0},n}const dn=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==dn)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[cn];const t=e.target,n=e.kind,r=e.index,i=ln(t,n);return r>=i.length?{value:void 0,done:!0}:(this[cn].index=r+1,{value:i[r],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function hn(e){const t=Object.assign({__proto__:null},e[sn]),n=on(e[sn],"Host");return void 0!==n&&(t[n]=t[n][0]),t}Object.defineProperty(dn,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const pn=Symbol("Response internals"),fn=M.a.STATUS_CODES;class mn{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kt.call(this,e,t);const n=t.status||200,r=new an(t.headers);if(null!=e&&!r.has("Content-Type")){const t=Jt(e);t&&r.append("Content-Type",t)}this[pn]={url:t.url,status:n,statusText:t.statusText||fn[n],headers:r,counter:t.counter}}get url(){return this[pn].url||""}get status(){return this[pn].status}get ok(){return this[pn].status>=200&&this[pn].status<300}get redirected(){return this[pn].counter>0}get statusText(){return this[pn].statusText}get headers(){return this[pn].headers}clone(){return new mn(qt(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Kt.mixIn(mn.prototype),Object.defineProperties(mn.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(mn.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const An=Symbol("Request internals"),gn=E.a.URL||Bt.URL,_n=E.a.parse,bn=E.a.format;function vn(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new gn(e).toString()),_n(e)}const wn="destroy"in y.a.Readable.prototype;function yn(e){return"object"==typeof e&&"object"==typeof e[An]}class Rn{constructor(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};yn(e)?t=vn(e.url):(t=e&&e.href?vn(e.href):vn(""+e),e={});let r=n.method||e.method||"GET";if(r=r.toUpperCase(),(null!=n.body||yn(e)&&null!==e.body)&&("GET"===r||"HEAD"===r))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=n.body?n.body:yn(e)&&null!==e.body?qt(e):null;Kt.call(this,i,{timeout:n.timeout||e.timeout||0,size:n.size||e.size||0});const o=new an(n.headers||e.headers||{});if(null!=i&&!o.has("Content-Type")){const e=Jt(i);e&&o.append("Content-Type",e)}let s=yn(e)?e.signal:null;if("signal"in n&&(s=n.signal),null!=s&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(s))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[An]={method:r,redirect:n.redirect||e.redirect||"follow",headers:o,parsedURL:t,signal:s},this.follow=void 0!==n.follow?n.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==n.compress?n.compress:void 0===e.compress||e.compress,this.counter=n.counter||e.counter||0,this.agent=n.agent||e.agent}get method(){return this[An].method}get url(){return bn(this[An].parsedURL)}get headers(){return this[An].headers}get redirect(){return this[An].redirect}get signal(){return this[An].signal}clone(){return new Rn(this)}}function Mn(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}Kt.mixIn(Rn.prototype),Object.defineProperty(Rn.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(Rn.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),Mn.prototype=Object.create(Error.prototype),Mn.prototype.constructor=Mn,Mn.prototype.name="AbortError";const Sn=E.a.URL||Bt.URL,En=y.a.PassThrough;function Tn(e,t){if(!Tn.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return Kt.Promise=Tn.Promise,new Tn.Promise((function(n,i){const o=new Rn(e,t),s=function(e){const t=e[An].parsedURL,n=new an(e[An].headers);if(n.has("Accept")||n.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&&!wn)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let r=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(r="0"),null!=e.body){const t=$t(e);"number"==typeof t&&(r=String(t))}r&&n.set("Content-Length",r),n.has("User-Agent")||n.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!n.has("Accept-Encoding")&&n.set("Accept-Encoding","gzip,deflate");let i=e.agent;return"function"==typeof i&&(i=i(t)),n.has("Connection")||i||n.set("Connection","close"),Object.assign({},t,{method:e.method,headers:hn(n),agent:i})}(o),a=("https:"===s.protocol?x.a:M.a).request,l=o.signal;let c=null;const u=function(){let e=new Mn("The user aborted a request.");i(e),o.body&&o.body instanceof y.a.Readable&&o.body.destroy(e),c&&c.body&&c.body.emit("error",e)};if(l&&l.aborted)return void u();const d=function(){u(),f()},h=a(s);let p;function f(){h.abort(),l&&l.removeEventListener("abort",d),clearTimeout(p)}l&&l.addEventListener("abort",d),o.timeout&&h.once("socket",(function(e){p=setTimeout((function(){i(new Wt("network timeout at: "+o.url,"request-timeout")),f()}),o.timeout)})),h.on("error",(function(e){i(new Wt(`request to ${o.url} failed, reason: ${e.message}`,"system",e)),f()})),h.on("response",(function(e){clearTimeout(p);const t=function(e){const t=new an;for(const n of Object.keys(e))if(!en.test(n))if(Array.isArray(e[n]))for(const r of e[n])tn.test(r)||(void 0===t[sn][n]?t[sn][n]=[r]:t[sn][n].push(r));else tn.test(e[n])||(t[sn][n]=[e[n]]);return t}(e.headers);if(Tn.isRedirect(e.statusCode)){const r=t.get("Location");let s=null;try{s=null===r?null:new Sn(r,o.url).toString()}catch(h){if("manual"!==o.redirect)return i(new Wt("uri requested responds with an invalid redirect URL: "+r,"invalid-redirect")),void f()}switch(o.redirect){case"error":return i(new Wt("uri requested responds with a redirect, redirect mode is set to error: "+o.url,"no-redirect")),void f();case"manual":if(null!==s)try{t.set("Location",s)}catch(h){i(h)}break;case"follow":if(null===s)break;if(o.counter>=o.follow)return i(new Wt("maximum redirect reached at: "+o.url,"max-redirect")),void f();const r={headers:new an(o.headers),follow:o.follow,counter:o.counter+1,agent:o.agent,compress:o.compress,method:o.method,body:o.body,signal:o.signal,timeout:o.timeout,size:o.size};if(!function(e,t){const n=new Sn(t).hostname,r=new Sn(e).hostname;return n===r||"."===n[n.length-r.length-1]&&n.endsWith(r)}(o.url,s))for(const e of["authorization","www-authenticate","cookie","cookie2"])r.headers.delete(e);return 303!==e.statusCode&&o.body&&null===$t(o)?(i(new Wt("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void f()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==o.method)||(r.method="GET",r.body=void 0,r.headers.delete("content-length")),n(Tn(new Rn(s,r))),void f())}}e.once("end",(function(){l&&l.removeEventListener("abort",d)}));let r=e.pipe(new En);const s={url:o.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:o.size,timeout:o.timeout,counter:o.counter},a=t.get("Content-Encoding");if(!o.compress||"HEAD"===o.method||null===a||204===e.statusCode||304===e.statusCode)return c=new mn(r,s),void n(c);const u={flush:L.a.Z_SYNC_FLUSH,finishFlush:L.a.Z_SYNC_FLUSH};if("gzip"==a||"x-gzip"==a)return r=r.pipe(L.a.createGunzip(u)),c=new mn(r,s),void n(c);if("deflate"!=a&&"x-deflate"!=a){if("br"==a&&"function"==typeof L.a.createBrotliDecompress)return r=r.pipe(L.a.createBrotliDecompress()),c=new mn(r,s),void n(c);c=new mn(r,s),n(c)}else e.pipe(new En).once("data",(function(e){r=8==(15&e[0])?r.pipe(L.a.createInflate()):r.pipe(L.a.createInflateRaw()),c=new mn(r,s),n(c)}))})),function(e,t){const n=t.body;null===n?e.end():zt(n)?n.stream().pipe(e):r.isBuffer(n)?(e.write(n),e.end()):n.pipe(e)}(h,o)}))}Tn.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},Tn.Promise=e.Promise;var Cn=Ee(Object.freeze({__proto__:null,default:Tn,Headers:an,Request:Rn,Response:mn,FetchError:Wt}));function On(e){return e.toString("base64")}function xn(e){return function(e){return/(?<=\S+)\.(jpg|png|jpeg)/gi.test(e)}(e)?Promise.resolve(function(e){var t=f.a,n=A.a;return t.statSync(e).isFile()?On(t.readFileSync(n.resolve(e)).toString("base64")):null}(e)):Promise.reject("[*] Occurent some error... [validTypeImage] == false")}var Nn=function(e){return function(e){return/http(s)?:\/\/(\w+:?\w*@)?(\S+)(:\d+)?((?<=\.)\w+)+(\/([\w#!:.?+=&%@!\-/])*)?/gi.test(e)}(e)?Cn(e).then((function(e){return e.buffer()})).then(On):xn(e)},Ln=Ee(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}}})),In=Se((function(e,t){var n=A.a.extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;function o(e){if(!e||"string"!=typeof e)return!1;var t=r.exec(e),n=t&&Ln[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!i.test(t[1]))&&"UTF-8"}t.charset=o,t.charsets={lookup:o},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=r.exec(e),i=n&&t.extensions[n[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 r=n("x."+e).toLowerCase().substr(1);return r&&t.types[r]||!1},t.types=Object.create(null),function(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(Ln).forEach((function(r){var i=Ln[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var s=0;s<o.length;s++){var a=o[s];if(t[a]){var l=n.indexOf(Ln[t[a]].source),c=n.indexOf(i.source);if("application/octet-stream"!==t[a]&&(l>c||l===c&&"application/"===t[a].substr(0,12)))continue}t[a]=r}}}))}(t.extensions,t.types)}));In.charset,In.charsets,In.contentType,In.extension,In.extensions,In.lookup,In.types;const Pn=/rgb\((\d+),\s*([\d.]+),\s*([\d.]+)\)/i,Dn=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/i,Fn=/#([0-9A-F]{6})/i,kn=/#([0-9A-F])([0-9A-F])([0-9A-F])/i,Bn=(e,t,n)=>[e,t,n].map(e=>1===(e=parseInt(e).toString(16)).length?"0"+e:e).join(""),Un=/([\d.]+)px/i,Hn=/([\d.]+)%/i,jn=/([\d.]+)pt/i,Vn=/([\d.]+)cm/i,Wn=/([\d.]+)in/i,Yn=e=>Math.round(9525*e),Qn=e=>Math.round(e/635),Xn=e=>Math.round(20*e),Kn=e=>Math.round(2*e),Gn=e=>Qn(Yn(e)),Zn=e=>{return t=Qn(Yn(e)),Math.round(t/10);var t},zn=e=>Xn((e=>Math.round(72*e))(e)),qn=e=>zn((e=>.3937008*e)(e)),Jn=e=>{return t=Zn(e),Math.round(t/2);var t},$n=e=>Math.round(8*e),er=e=>e&&e.children&&Array.isArray(e.children)&&e.children.length,tr=e=>Boolean(/http(s)?:\/\/(\w+:?\w*@)?(\S+)(:\d+)?((?<=\.)\w+)+(\/([\w#!:.?+=&%@!\-/])*)?/gi.test(e)),nr=e=>{if(Object.prototype.hasOwnProperty.call(P.a,e.toLowerCase())){const[t,n,r]=P.a[e.toLowerCase()];return Bn(t,n,r)}if(Pn.test(e)){const t=e.match(Pn),n=t[1],r=t[2],i=t[3];return Bn(n,r,i)}if(Dn.test(e)){const t=e.match(Dn);return((e,t,n)=>{let r,i,o;if(e/=360,n/=100,0==(t/=100))r=i=o=n;else{const s=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=s(l,a,e+1/3),i=s(l,a,e),o=s(l,a,e-1/3)}return[r,i,o].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(Fn.test(e))return e.match(Fn)[1];if(kn.test(e)){const t=e.match(kn);return((e,t,n)=>[e,t,n].map(e=>`${e}${e}`).join(""))(t[1],t[2],t[3])}return"000000"},rr=(e="Times New Roman")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","rFonts").att("@w","ascii",e).att("@w","hAnsi",e).up(),ir=e=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","shd").att("@w","val","clear").att("@w","fill",e).up(),or=(e="yellow")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","highlight").att("@w","val",e).up(),sr=(e="baseline")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","vertAlign").att("@w","val",e).up(),ar=(e="top",t=0,n=0,r=nr("black"),i="single")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w",e).att("@w","val",i).att("@w","sz",t).att("@w","space",n).att("@w","color",r).up(),lr=e=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","t").att("@xml","space","preserve").txt(e).up(),cr=(e,t)=>{return isNaN(e)?240:t?(n=+e*t,Math.round(10*n)):240*+e;var n},ur=e=>{if(jn.test(e)){const t=e.match(jn);return Kn(t[1])}if(Un.test(e)){const t=e.match(Un);return Zn(t[1])}},dr=e=>{if(jn.test(e)){const t=e.match(jn);return Xn(t[1])}if(Un.test(e)){const t=e.match(Un);return Gn(t[1])}},hr=(e,t,n,r)=>{const i={...n};if(D(t)&&t.properties&&t.properties.style){if(t.properties.style.color&&!Le.includes(t.properties.style.color)&&(i.color=nr(t.properties.style.color)),t.properties.style["background-color"]&&!Le.includes(t.properties.style["background-color"])&&(i.backgroundColor=nr(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=ur(t.properties.style["font-size"])),t.properties.style["line-height"]&&(i.lineHeight=cr(t.properties.style["line-height"],t.properties.style["font-size"]?ur(t.properties.style["font-size"]):null)),t.properties.style["margin-left"]||t.properties.style["margin-right"]){const e=dr(t.properties.style["margin-left"]),n=dr(t.properties.style["margin-right"]),r={};e&&(r.left=e),n&&(r.right=n),(e||n)&&(i.indentation=r)}t.properties.style.display&&(i.display=t.properties.style.display),t.properties.style.width&&(i.width=t.properties.style.width)}return r&&r.isParagraph&&(D(t)&&"blockquote"===t.tagName?(i.indentation={left:284},i.textAlign="justify"):D(t)&&"code"===t.tagName?i.highlightColor="lightGray":D(t)&&"pre"===t.tagName&&(i.font="Courier")),i},pr=(e,t)=>{switch(e){case"strong":case"b":return Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","b").up();case"em":case"i":return Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","i").up();case"ins":case"u":return((e="single")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","u").att("@w","val",e).up())();case"strike":case"del":case"s":return Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","strike").att("@w","val",!0).up();case"sub":return sr("subscript");case"sup":return sr("superscript");case"mark":return or();case"code":return or("lightGray");case"highlightColor":return or(t&&t.color?t.color:"lightGray");case"font":return rr(t.font);case"pre":return rr("Courier");case"color":return r=t&&t.color?t.color:"black",Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","color").att("@w","val",r).up();case"backgroundColor":return ir(t&&t.color?t.color:"black");case"fontSize":return n=t&&t.fontSize?t.fontSize:10,Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","sz").att("@w","val",n).up();case"hyperlink":return((e="Hyperlink")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","rStyle").att("@w","val",e).up())("Hyperlink")}var n,r;return null},fr=e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","rPr");return e&&e.constructor===Object&&Object.keys(e).forEach(n=>{const r={};"color"!==n&&"backgroundColor"!==n&&"highlightColor"!==n||(r.color=e[n]),"fontSize"!==n&&"font"!==n||(r[n]=e[n]);const i=pr(n,r);i&&t.import(i)}),t.up(),t},mr=async(e,t,n)=>{const i=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","r"),o=fr(Te.cloneDeep(t));if(D(e)&&"span"===e.tagName)return Ar(e,t,n);if(D(e)&&["strong","b","em","i","u","ins","strike","del","s","sub","sup","mark","blockquote","code","pre"].includes(e.tagName)){const r=[];let i=[e],s=Te.cloneDeep(t),l=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","r");for(;i.length;){const e=i.shift();if(Ve(e)){const n=lr(e.text),i=fr({...t,...s});l.import(i),l.import(n),r.push(l),s=Te.cloneDeep(t),l=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","r")}else if(D(e))if(["strong","b","em","i","u","ins","strike","del","s","sub","sup","mark","code","pre"].includes(e.tagName)){switch(s={},e.tagName){case"strong":case"b":s.strong=!0;break;case"i":s.i=!0;break;case"u":s.u=!0;break;case"sub":s.sub=!0;break;case"sup":s.sup=!0}const t=pr(e);t&&o.import(t)}else if("span"===e.tagName){const i=await Ar(e,{...t,...s},n);Array.isArray(i)?(i.flat(1/0),r.push(...i)):r.push(i);continue}e.children&&e.children.length&&(e.children.length>1&&(t={...t,...s}),i=e.children.slice().concat(i))}if(r.length)return r}if(i.import(o),Ve(e)){const t=lr(e.text);i.import(t)}else if(t&&"picture"===t.type){let o=null;const s=decodeURIComponent(e.properties.src);if(s&&(o=n.createMediaFile(s)),o){n.zip.folder("word").folder("media").file(o.fileNameWithExtension,r.from(o.fileContent,"base64"),{createFolders:!1});const e=n.createDocumentRelationships(n.relationshipFilename,"image","media/"+o.fileNameWithExtension,"Internal");t.inlineOrAnchored=!0,t.relationshipId=e,t.id=o.id,t.fileContent=o.fileContent,t.fileNameWithExtension=o.fileNameWithExtension}const{type:a,inlineOrAnchored:l,...c}=t,u=Kr(l,a,c);i.import(u)}else if(D(e)&&"br"===e.tagName){const e=((e="textWrapping")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","br").att("@w","type",e).up())();i.import(e)}return i.up(),i},Ar=async(e,t,n)=>{if(D(e)&&"span"===e.tagName){let r=[];for(let i=0;i<e.children.length;i++){const o=e.children[i],s=hr(n,e,t),a=await mr(o,s,n);r=r.concat(Array.isArray(a)?a:[a])}return r}return await mr(e,t,n)},gr=async(e,t,n)=>{if(D(e)&&"a"===e.tagName){const r=n.createDocumentRelationships(n.relationshipFilename,"hyperlink",e.properties&&e.properties.href?e.properties.href:""),i=Object(a["fragment"])({namespaceAlias:{w:ne,r:J}}).ele("@w","hyperlink").att("@r","id","rId"+r),o={...t};o.hyperlink=!0;const s=await Ar(e.children[0],o,n);if(Array.isArray(s))for(let e=0;e<s.length;e++){const t=s[e];i.import(t)}else i.import(s);return i.up(),i}return await Ar(e,t,n)},_r=e=>("justify"===e&&(e="both"),Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","jc").att("@w","val",e).up()),br=e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","pPr");if(e&&e.constructor===Object){Object.keys(e).forEach(n=>{switch(n){case"numbering":const{levelId:r,numberingId:i}=e[n],o=((e,t)=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","numPr").ele("@w","ilvl").att("@w","val",String(e)).up().ele("@w","numId").att("@w","val",String(t)).up().up())(r,i);t.import(o),delete e.numbering;break;case"textAlign":const s=_r(e[n]);t.import(s),delete e.textAlign;break;case"backgroundColor":if("block"===e.display){const r=ir(e[n]);t.import(r);const i=(()=>{const e=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","pBdr"),t=Te.cloneDeep(Ne);return Object.keys(t).forEach(n=>{if(t[n]){const{size:r,spacing:i,color:o}=t[n],s=ar(n,r,i,o);e.import(s)}}),e.up(),e})();t.import(i),delete e.backgroundColor}break;case"paragraphStyle":const l=((e="Normal")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).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 n=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","ind");return e&&n.att("@w","left",e),t&&n.att("@w","right",t),n.up(),n})(e[n]);t.import(c),delete e.indentation}});const n=((e,t,n)=>{const r=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","spacing");return e&&r.att("@w","line",e),t&&r.att("@w","before",t),n&&r.att("@w","after",n),r.att("@w","lineRule","auto").up(),r})(e.lineHeight,e.beforeSpacing,e.afterSpacing);delete e.lineHeight,delete e.beforeSpacing,delete e.afterSpacing,t.import(n)}return t.up(),t},vr=(e,t)=>{const{maximumWidth:n,originalWidth:r,originalHeight:i}=t,o=r/i,s=(a=n,Math.round(635*a));var a;let l,c,u=Yn(r),d=Yn(i);if(u>s&&(u=s,d=Math.round(u/o)),e.properties&&e.properties.style){if(e.properties.style.width)if("auto"!==e.properties.style.width){if(Un.test(e.properties.style.width))c=Yn(e.properties.style.width.match(Un)[1]);else if(Hn.test(e.properties.style.width)){const t=e.properties.style.width.match(Hn)[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(Un.test(e.properties.style.height))l=Yn(e.properties.style.height.match(Un)[1]);else if(Hn.test(e.properties.style.height)){const t=e.properties.style.width.match(Hn)[1];l=Math.round(t/100*d),c||(c=Math.round(l*o))}}else c?l||(l=Math.round(c/o)):(l=d,c=u);c&&!l?l=Math.round(c/o):l&&!c&&(c=Math.round(l*o))}else c=u,l=d;t.width=c,t.height=l},wr=async(e,t,n)=>{const i=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","p"),o=hr(n,e,t,{isParagraph:!0}),s=br(o);if(i.import(s),D(e)&&er(e))if(["span","strong","b","em","i","u","ins","strike","del","s","sub","sup","mark","a","code","pre"].includes(e.tagName)){const t=await gr(e,o,n);if(Array.isArray(t))for(let e=0;e<t.length;e++){const n=t[e];i.import(n)}else i.import(t)}else if("blockquote"===e.tagName){const n=await mr(e,t);if(Array.isArray(n))for(let e=0;e<n.length;e++)i.import(n[e]);else i.import(n)}else for(let a=0;a<e.children.length;a++){const t=e.children[a];if("img"===t.tagName){let e;const i=t.properties.src;if(tr(i)){if(e=await Nn(i).catch(e=>{console.warning("skipping image download and conversion due to "+e)}),!e||!In.lookup(i))break;t.properties.src=`data:${In.lookup(i)};base64, ${e}`}else e=i.match(/^data:([A-Za-z-+\/]+);base64,(.+)$/)[2];const s=r.from(decodeURIComponent(e),"base64"),a=bt(s);o.maximumWidth=o.maximumWidth||n.availableDocumentSpace,o.originalWidth=a.width,o.originalHeight=a.height,vr(t,o)}const s=await gr(t,D(t)&&"img"===t.tagName?{...o,type:"picture",description:t.properties.alt}:o,n);if(Array.isArray(s))for(let e=0;e<s.length;e++){const t=s[e];i.import(t)}else i.import(s)}else{if(D(e)&&"img"===e.tagName){const t=e.properties.src;let s=t;if(tr(t)){if(s=await Nn(t).catch(e=>{console.warning("skipping image download and conversion due to "+e)}),!s||!In.lookup(t))return i.up(),i;e.properties.src=`data:${In.lookup(t)};base64, ${s}`}else s=s.match(/^data:([A-Za-z-+\/]+);base64,(.+)$/)[2];const a=r.from(decodeURIComponent(s),"base64"),l=bt(a);o.maximumWidth=o.maximumWidth||n.availableDocumentSpace,o.originalWidth=l.width,o.originalHeight=l.height,vr(e,o)}const t=await Ar(e,o,n);if(Array.isArray(t))for(let e=0;e<t.length;e++){const n=t[e];i.import(n)}else i.import(t)}return i.up(),i},yr=e=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tcW").att("@w","w",(e=>{if(jn.test(e)){const t=e.match(jn);return Xn(t[1])}if(Un.test(e)){const t=e.match(Un);return Gn(t[1])}if(Vn.test(e)){const t=e.match(Vn);return qn(t[1])}if(Wn.test(e)){const t=e.match(Wn);return zn(t[1])}})(e)).att("@w","type","dxa").up(),Rr=e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tcPr");return e&&e.constructor===Object&&Object.keys(e).forEach(n=>{switch(n){case"backgroundColor":const o=ir(e[n]);t.import(o),delete e.backgroundColor;break;case"verticalAlign":const s=("middle"===(i=e[n]).toLowerCase()&&(i="center"),Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","vAlign").att("@w","val",i).up());t.import(s),delete e.verticalAlign;break;case"colSpan":const l=(r=e[n],Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","gridSpan").att("@w","val",r).up());t.import(l),delete e.colSpan;break;case"tableCellBorder":const c=(e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tcBorders"),{color:n,stroke:r,...i}=e;return Object.keys(i).forEach(i=>{if(e[i]){const o=ar(i,e[i],0,n,r);t.import(o)}}),t.up(),t})(e[n]);t.import(c),delete e.tableCellBorder;break;case"rowSpan":const u=((e="continue")=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","vMerge").att("@w","val",e).up())(e[n]);t.import(u),delete e.rowSpan;break;case"width":const d=yr(e[n]);t.import(d),delete e.width}var r,i}),t.up(),t},Mr=(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[n,r,i]=Pr(e.properties.style.border);t.tableCellBorder={top:n,left:n,bottom:n,right:n,color:i,stroke:r}}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[n,r,i]=Pr(e.properties.style["border-top"]);t.tableCellBorder={...t.tableCellBorder,top:n,color:i,stroke:r}}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[n,r,i]=Pr(e.properties.style["border-left"]);t.tableCellBorder={...t.tableCellBorder,left:n,color:i,stroke:r}}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[n,r,i]=Pr(e.properties.style["border-bottom"]);t.tableCellBorder={...t.tableCellBorder,bottom:n,color:i,stroke:r}}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[n,r,i]=Pr(e.properties.style["border-right"]);t.tableCellBorder={...t.tableCellBorder,right:n,color:i,stroke:r}}},Sr=async(e,t,n,r,i)=>{const o=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tc");let s={...t};if(D(e)&&e.properties){if(e.properties.rowSpan)n.set(r.index,{rowSpan:e.properties.rowSpan-1,colSpan:0}),s.rowSpan="restart";else{const e=n.get(r.index);n.set(r.index,Object.assign({},e,{rowSpan:0,colSpan:e&&e.colSpan||0}))}if(e.properties.colSpan||e.properties.style&&e.properties.style["column-span"]){s.colSpan=e.properties.colSpan||e.properties.style&&e.properties.style["column-span"];const t=n.get(r.index);n.set(r.index,Object.assign({},t,{colSpan:parseInt(s.colSpan)||0})),r.index+=parseInt(s.colSpan)-1}e.properties.style&&(s={...s,...hr(i,e,t)},Mr(e,s))}const l=Rr(s);if(o.import(l),er(e))for(let a=0;a<e.children.length;a++){const t=e.children[a];if(D(t)&&"img"===t.tagName){const e=await Zr(i,t,s.maximumWidth);e&&o.import(e)}else if(D(t)&&"figure"===t.tagName){if(er(t))for(let e=0;e<t.children.length;e++){const n=t.children[e];if("img"===n.tagName){const e=await Zr(i,n,s.maximumWidth);e&&o.import(e)}}}else if(D(t)&&["ul","ol"].includes(t.tagName))er(t)&&await zr(t,i,o);else{const e=await wr(t,s,i);o.import(e)}}else{const e=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","p").up();o.import(e)}return o.up(),o},Er=(e,t,n)=>{const r=[];let i=e.get(t.index);for(;i&&i.rowSpan;){const o=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tc"),s=Rr({...n,rowSpan:"continue",colSpan:i.colSpan?i.colSpan:0});o.import(s);const l=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","p").up();o.import(l),o.up(),r.push(o),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 r},Tr=e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","trPr");return e&&e.constructor===Object&&Object.keys(e).forEach(n=>{switch(n){case"tableRowHeight":const i=(r=e[n],Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","trHeight").att("@w","val",r).att("@w","hRule","atLeast").up());t.import(i),delete e.tableRowHeight;break;case"rowCantSplit":if(e.rowCantSplit){const n=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","cantSplit").up();t.import(n),delete e.rowCantSplit}}var r}),t.up(),t},Cr=async(e,t,n,r)=>{const i=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tr"),o={...t};D(e)&&e.properties&&((e.properties.style&&e.properties.style.height||e.children[0]&&D(e.children[0])&&e.children[0].properties.style&&e.children[0].properties.style.height)&&(o.tableRowHeight=(e=>{if(jn.test(e)){const t=e.match(jn);return Xn(t[1])}if(Un.test(e)){const t=e.match(Un);return Gn(t[1])}if(Vn.test(e)){const t=e.match(Vn);return qn(t[1])}if(Wn.test(e)){const t=e.match(Wn);return zn(t[1])}})(e.properties.style&&e.properties.style.height||(e.children[0]&&D(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&&Mr(e,o));const s=Tr(o);i.import(s);const l={index:0};if(er(e)){const t=e.children.filter(e=>["td","th"].includes(e.tagName)),s=r.availableDocumentSpace/t.length;for(const e of t){const t=Er(n,l,o);if(Array.isArray(t))for(let e=0;e<t.length;e++){const n=t[e];i.import(n)}const a=await Sr(e,{...o,maximumWidth:s},n,l,r);l.index++,i.import(a)}}if(l.index<n.size){const e=Er(n,l,o);if(Array.isArray(e))for(let t=0;t<e.length;t++){const n=e[t];i.import(n)}}return i.up(),i},Or=e=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","gridCol").att("@w","w",String(e)),xr=(e,t)=>{const n=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblGrid");if(er(e)){const r=e.children.filter(e=>"col"===e.tagName),i=t.maximumWidth/r.length;for(let e=0;e<r.length;e++){const e=Or(i);n.import(e)}}return n.up(),n},Nr=(e,t)=>{const n=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblGrid");if(er(e)){const r=e.children.reduce((e,t)=>{const n=t.properties.colSpan||t.properties.style&&t.properties.style["column-span"];return e+(n?parseInt(n):1)},0),i=t.maximumWidth/r;for(let e=0;e<r;e++){const e=Or(i);n.import(e)}}return n.up(),n},Lr=(e,t)=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w",e).att("@w","type","dxa").att("@w","w",String(t)).up(),Ir=e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblPr");e&&e.constructor===Object&&Object.keys(e).forEach(n=>{switch(n){case"tableBorder":const i=(e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblBorders"),{color:n,stroke:r,...i}=e;return Object.keys(i).forEach(e=>{if(i[e]){const o=ar(e,i[e],0,n,r);t.import(o)}}),t.up(),t})(e[n]);t.import(i),delete e.tableBorder;break;case"tableCellSpacing":const o=((e=0)=>Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblCellSpacing").att("@w","w",e).att("@w","type","dxa").up())(e[n]);t.import(o),delete e.tableCellSpacing;break;case"width":if(e[n]){const i=(r=e[n],Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblW").att("@w","type","dxa").att("@w","w",String(r)).up());t.import(i)}delete e.width}var r});const n=(e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tblCellMar");return["top","bottom"].forEach(n=>{const r=Lr(n,e/2);t.import(r)}),["left","right"].forEach(n=>{const r=Lr(n,e);t.import(r)}),t})(160);t.import(n);const r=_r("center");return t.import(r),t.up(),t},Pr=e=>{let[t,n,r]=e.split(" ");if(jn.test(t)){const e=t.match(jn);t=$n(e[1])}else if(Un.test(t)){const e=t.match(Un);i=e[1],t=$n(Jn(i))}var i;return n=n&&["dashed","dotted","double"].includes(n)?n:"single",r=r&&nr(r).toUpperCase(),[t,n,r]},Dr=async(e,t,n)=>{const r=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","tbl"),i={...t};if(D(e)&&e.properties){const n=e.properties.attributes||{},r=e.properties.style||{},o={},s={};let a,l,c,[u,d,h]=[2,"single","000000"];if(isNaN(n.border)||(u=parseInt(n.border,10)),r.border){const[e,t,n]=Pr(r.border);u=e||u,h=n||h,d=t||d}if(o.top=u,o.bottom=u,o.left=u,o.right=u,o.stroke=d,o.color=h,"collapse"===r["border-collapse"]?(o.insideV=u,o.insideH=u):(o.insideV=0,o.insideH=0,s.top=1,s.bottom=1,s.left=1,s.right=1),i.tableBorder=o,i.tableCellSpacing=0,Object.keys(s).length&&(i.tableCellBorder=s),Un.test(r["min-width"]))a=Gn(r["min-width"].match(Un)[1]);else if(Hn.test(r["min-width"])){const e=r["min-width"].match(Hn)[1];a=Math.round(e/100*t.maximumWidth)}if(Un.test(r["max-width"]))Un.lastIndex=0,l=Gn(r["max-width"].match(Un)[1]);else if(Hn.test(r["max-width"])){Hn.lastIndex=0;const e=r["max-width"].match(Hn)[1];l=Math.round(e/100*t.maximumWidth)}if(Un.test(r.width))Un.lastIndex=0,c=Gn(r.width.match(Un)[1]);else if(Hn.test(r.width)){Hn.lastIndex=0;const e=r.width.match(Hn)[1];c=Math.round(e/100*t.maximumWidth)}c?(i.width=c,l&&(i.width=Math.min(i.width,l)),a&&(i.width=Math.max(i.width,a))):a&&(i.width=a),i.width&&(i.width=Math.min(i.width,t.maximumWidth))}const o=Ir(i);r.import(o);const s=new Map;if(er(e))for(let a=0;a<e.children.length;a++){const t=e.children[a];if("colgroup"===t.tagName){const e=xr(t,i);r.import(e)}else if("thead"===t.tagName)for(let e=0;e<t.children.length;e++){const o=t.children[e];if("tr"===o.tagName){if(0===e){const e=Nr(o,i);r.import(e)}const t=await Cr(o,i,s,n);r.import(t)}}else if("tbody"===t.tagName)for(let e=0;e<t.children.length;e++){const o=t.children[e];if("tr"===o.tagName){if(0===e){const e=Nr(o,i);r.import(e)}const t=await Cr(o,i,s,n);r.import(t)}}else if("tr"===t.tagName){if(0===a){const e=Nr(t,i);r.import(e)}const e=await Cr(t,i,s,n);r.import(e)}}return r.up(),r},Fr=e=>{const t=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","xfrm"),n=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","off").att("x","0").att("y","0").up();t.import(n);const r=(({width:e,height:t})=>Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","ext").att("cx",e).att("cy",t).up())(e);return t.import(r),t.up(),t},kr=e=>{const t=Object(a["fragment"])({namespaceAlias:{pic:q}}).ele("@pic","spPr"),n=Fr(e);t.import(n);const r=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","prstGeom").att("prst","rect").up();return t.import(r),t.up(),t},Br=()=>{const e=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","stretch"),t=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","fillRect").up();return e.import(t),e.up(),e},Ur=e=>{const t=Object(a["fragment"])({namespaceAlias:{pic:q}}).ele("@pic","blipFill"),n=(e=>Object(a["fragment"])({namespaceAlias:{a:Q,r:J}}).ele("@a","blip").att("@r","embed","rId"+e).att("cstate","print").up())(e);t.import(n);const r=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","srcRect").att("b","0").att("l","0").att("r","0").att("t","0").up();t.import(r);const i=Br();return t.import(i),t.up(),t},Hr=(e,t,n)=>{const r=Object(a["fragment"])({namespaceAlias:{pic:q}}).ele("@pic","nvPicPr"),i=((e,t,n="")=>Object(a["fragment"])({namespaceAlias:{pic:q}}).ele("@pic","cNvPr").att("id",e).att("name",t).att("descr",n).up())(e,t,n);r.import(i);const o=Object(a["fragment"])({namespaceAlias:{pic:q}}).ele("@pic","cNvPicPr").up();return r.import(o),r.up(),r},jr=(e,t)=>{const n=Object(a["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:n,relationshipId:r,width:i,height:o})=>{const s=Object(a["fragment"])({namespaceAlias:{pic:q}}).ele("@pic","pic"),l=Hr(e,t,n);s.import(l);const c=Ur(r);s.import(c);const u=kr({width:i,height:o});return s.import(u),s.up(),s})(t);n.import(e)}return n.up(),n},Vr=(e,t)=>{const n=Object(a["fragment"])({namespaceAlias:{a:Q}}).ele("@a","graphic"),r=jr(e,t);return n.import(r),n.up(),n},Wr=(e,t)=>Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","docPr").att("id",e).att("name",t).up(),Yr=()=>Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","effectExtent").att("b","0").att("l","0").att("r","0").att("t","0").up(),Qr=({width:e,height:t})=>Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","extent").att("cx",e).att("cy",t).up(),Xr=(e,t)=>{const n=Object(a["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"),r=Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","simplePos").att("x","0").att("y","0").up();n.import(r);const i=Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","positionH").att("relativeFrom","column").ele("@wp","posOffset").txt("19050").up().up();n.import(i);const o=Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","positionV").att("relativeFrom","paragraph").ele("@wp","posOffset").txt("19050").up().up();n.import(o);const s=Qr({width:t.width,height:t.height});n.import(s);const l=Yr();n.import(l);const c=Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","wrapSquare").att("wrapText","bothSides").att("distB","228600").att("distT","228600").att("distL","228600").att("distR","228600").up();n.import(c);const u=Wr(t.id,t.fileNameWithExtension);n.import(u);const d=Vr(e,t);return n.import(d),n.up(),n},Kr=(e=!1,t,n)=>{const r=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","drawing"),i=e?((e,t)=>{const n=Object(a["fragment"])({namespaceAlias:{wp:ie}}).ele("@wp","inline").att("distB","0").att("distL","0").att("distR","0").att("distT","0"),r=Qr({width:t.width,height:t.height});n.import(r);const i=Yr();n.import(i);const o=Wr(t.id,t.fileNameWithExtension);n.import(o);const s=Vr(e,t);return n.import(s),n.up(),n})(t,n):Xr(t,n);return r.import(i),r.up(),r},Gr=c()({VNode:U,VText:W}),Zr=async(e,t,n=null)=>{let i=null,o=null;try{const n=t.properties.src;if(tr(n)){const e=await Nn(n).catch(e=>{console.warning("skipping image download and conversion due to "+e)});e&&(o=`data:${In.lookup(n)};base64, ${e}`)}else o=decodeURIComponent(t.properties.src);o&&(i=e.createMediaFile(o))}catch(s){}if(i){e.zip.folder("word").folder("media").file(i.fileNameWithExtension,r.from(i.fileContent,"base64"),{createFolders:!1});const o=e.createDocumentRelationships(e.relationshipFilename,"image","media/"+i.fileNameWithExtension,"Internal"),s=r.from(i.fileContent,"base64"),a=bt(s);return await wr(t,{type:"picture",inlineOrAnchored:!0,relationshipId:o,...i,description:t.properties.alt,maximumWidth:n||e.availableDocumentSpace,originalWidth:a.width,originalHeight:a.height},e)}},zr=async(e,t,n)=>{let r=[{node:e,level:0,type:e.tagName,numberingId:t.createNumbering(e.tagName,e.properties)}];for(;r.length;){const e=r.shift();if(Ve(e.node)||D(e.node)&&!["ul","ol","li"].includes(e.node.tagName)){const r=await wr(e.node,{numbering:{levelId:e.level,numberingId:e.numberingId}},t);n.import(r)}e.node.children&&e.node.children.length&&["ul","ol","li"].includes(e.node.tagName)&&(r=e.node.children.reduce((n,r)=>{if(["ul","ol"].includes(r.tagName))n.push({node:r,level:e.level+1,type:r.tagName,numberingId:t.createNumbering(r.tagName,r.properties)});else if(n.length>0&&D(n[n.length-1].node)&&"p"===n[n.length-1].node.tagName.toLowerCase())n[n.length-1].node.children.push(r);else{const t=new U("p",null,Ve(r)?[r]:D(r)?"li"===r.tagName.toLowerCase()?[...r.children]:[r]:[]);n.push({node:D(r)?"li"===r.tagName.toLowerCase()?r:"p"!==r.tagName.toLowerCase()?t:r:t,level:e.level,type:e.type,numberingId:e.numberingId})}return n},[]).concat(r))}return[]};async function qr(e,t,n){if(!t)return"";if(Array.isArray(t)&&t.length)for(let r=0;r<t.length;r++){const i=t[r];await qr(e,i,n)}else if(D(t))await async function(e,t,n){if("div"===t.tagName&&("page-break"===t.properties.attributes.class||t.properties.style&&t.properties.style["page-break-after"])){const e=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","p").ele("@w","r").ele("@w","br").att("@w","type","page").up().up().up();n.import(e)}else{switch(t.tagName){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":const r=await wr(t,{paragraphStyle:"Heading"+t.tagName[1]},e);return void n.import(r);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 wr(t,{},e);return void n.import(i);case"figure":if(er(t))for(let c=0;c<t.children.length;c++){const r=t.children[c];if("table"===r.tagName){const t=await Dr(r,{maximumWidth:e.availableDocumentSpace,rowCantSplit:e.tableRowCantSplit},e);n.import(t);const i=await wr(null,{});n.import(i)}else if("img"===r.tagName){const t=await Zr(e,r);t&&n.import(t)}}return;case"table":const o=await Dr(t,{maximumWidth:e.availableDocumentSpace,rowCantSplit:e.tableRowCantSplit},e);n.import(o);const s=await wr(null,{});return void n.import(s);case"ol":case"ul":return void await zr(t,e,n);case"img":const a=await Zr(e,t);return void(a&&n.import(a));case"br":const l=await wr(null,{});return void n.import(l);case"head":return}if(er(t))for(let r=0;r<t.children.length;r++){const i=t.children[r];await qr(e,i,n)}}}(e,t,n);else if(Ve(t)){const r=await wr(t,{},e);n.import(r)}return n}class Jr{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 n=this.defaults.defaultOrderedListStyleType;switch(e&&e["list-style-type"]&&(n=e["list-style-type"]),n){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 $r=/(["'])(.*?)\1/;function ei(e,t,n){n&&Array.isArray(n)&&n.forEach(n=>{const r=Object(a["fragment"])({defaultNamespace:{ele:we}}).ele("Override").att("PartName",`/word/${t}${n[t+"Id"]}.xml`).att("ContentType",`application/vnd.openxmlformats-officedocument.wordprocessingml.${t}+xml`).up();e.root().import(r)})}function ti(e,t,n,r){if(r&&n&&Array.isArray(n)&&n.length){const r=Object(a["fragment"])();n.forEach(({relationshipId:e,type:n})=>{const i=Object(a["fragment"])({namespaceAlias:{w:ne,r:J}}).ele("@w",t+"Reference").att("@r","id","rId"+e).att("@w","type",n).up();r.import(i)}),e.root().first().first().import(r)}}function ni(e){return Object(a["create"])({encoding:"UTF-8",standalone:!0},e).toString({prettyPrint:!0})}async function ri(e,t="header"){const n=Object(a["create"])({encoding:"UTF-8",standalone:!0,namespaceAlias:{w:ne,ve:ee,o:z,r:J,v:$,wp:ie,w10:re}}).ele("@w","header"===t?"hdr":"ftr"),r=Object(a["fragment"])();await qr(this,e,r),"footer"===t&&"p"===r.first().node.tagName&&this.pageNumber&&r.first().import(Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","fldSimple").att("@w","instr","PAGE").ele("@w","r").up().up()),n.root().import(r);const i="header"===t?"Header":"Footer";return this[`last${i}Id`]+=1,{[t+"Id"]:this[`last${i}Id`],[t+"XML"]:n}}class ii{constructor(e){this.zip=e.zip,this.htmlString=e.htmlString,this.orientation=e.orientation,this.pageSize=e.pageSize||xe.pageSize;const t="portrait"===this.orientation,n=this.pageSize.height?this.pageSize.height:12240,r=this.pageSize.width?this.pageSize.width:15840;this.width=t?r:n,this.height=t?n:r;const i=e.margins;this.margins=i&&Object.keys(i).length?i:t?Oe:Ce,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=ri.bind(this),this.ListStyleBuilder=new Jr(e.numbering)}generateContentTypesXML(){const e=Object(a["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(a["create"])({encoding:"UTF-8",standalone:!0},(t=this.width,n=this.height,r=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="${X}"\n xmlns:o="${z}"\n xmlns:pic="${q}"\n xmlns:r="${J}"\n xmlns:v="${$}"\n xmlns:ve="${ee}"\n xmlns:vt="${te}"\n xmlns:w="${ne}"\n xmlns:w10="${re}"\n xmlns:wp="${ie}"\n xmlns:wne="${oe}"\n >\n <w:body>\n <w:sectPr>\n <w:pgSz w:w="${t}" w:h="${n}" w:orient="${r}" />\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,n,r,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(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","titlePg")),this.lineNumber){const{countBy:t,start:n,restart:r}=this.lineNumber;e.root().first().first().import(Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","lnNumType").att("@w","countBy",t).att("@w","start",n).att("@w","restart",r))}return e.toString({prettyPrint:!0})}generateCoreXML(){return ni(((e="",t="",n="html-to-docx",r=["html-to-docx"],i="",o="html-to-docx",s=1,a=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="${K}"\n xmlns:dcterms="${Z}"\n xmlns:dcmitype="${G}"\n xmlns:xsi="${se}"\n >\n <dc:title>${e}</dc:title>\n <dc:subject>${t}</dc:subject>\n <dc:creator>${n}</dc:creator>\n ${r&&Array.isArray(r)?`<cp:keywords>${r.join(", ")}</cp:keywords>`:""}\n <dc:description>${i}</dc:description>\n <cp:lastModifiedBy>${o}</cp:lastModifiedBy>\n <cp:revision>${s}</cp:revision>\n <dcterms:created xsi:type="dcterms:W3CDTF">${a instanceof Date?a.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 ni(ke)}generateWebSettingsXML(){return ni(Be)}generateStylesXML(){return ni(((e="Times New Roman",t=22,n=22,r="en-US")=>`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:styles xmlns:w="${ne}" xmlns:r="${J}">\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="${n}" />\n\t\t <w:lang w:val="${r}" w:eastAsia="${r}" 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(a["create"])({encoding:"UTF-8",standalone:!0},Fe),t=["Arial","Calibri","Calibri Light","Courier New","Symbol","Times New Roman"];return this.fontTableObjects.forEach(({fontName:n,genericFontName:r})=>{if(!t.includes(n)){t.push(n);const i=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","font").att("@w","name",n);switch(r){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 ni(((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(a["create"])({encoding:"UTF-8",standalone:!0},`\n <?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n\n <w:numbering\n xmlns:w="${ne}"\n xmlns:ve="${ee}"\n xmlns:o="${z}"\n xmlns:r="${J}"\n xmlns:v="${$}"\n xmlns:wp="${ie}"\n xmlns:w10="${re}"\n xmlns:wne="${oe}">\n </w:numbering>\n `),t=Object(a["fragment"])(),n=Object(a["fragment"])();return this.numberingObjects.forEach(({numberingId:e,type:r,properties:i})=>{const o=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","abstractNum").att("@w","abstractNumId",String(e));[...Array(8).keys()].forEach(e=>{const t=Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","lvl").att("@w","ilvl",e).ele("@w","start").att("@w","val","ol"===r?i.attributes&&i.attributes["data-start"]||1:"1").up().ele("@w","numFmt").att("@w","val","ol"===r?this.ListStyleBuilder.getListStyleType(i.style&&i.style["list-style-type"]):"bullet").up().ele("@w","lvlText").att("@w","val","ol"===r?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"===r&&t.last().import(Object(a["fragment"])({namespaceAlias:{w:ne}}).ele("@w","rPr").ele("@w","rFonts").att("@w","ascii","Symbol").att("@w","hAnsi","Symbol").att("@w","hint","default").up().up()),o.import(t)}),o.up(),t.import(o),n.import(Object(a["fragment"])({namespaceAlias:{w:ne}}).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(n),e.toString({prettyPrint:!0})}appendRelationships(e,t){t.forEach(({relationshipId:t,type:n,target:r,targetMode:i})=>{e.import(Object(a["fragment"])({defaultNamespace:{ele:ye}}).ele("Relationship").att("Id","rId"+t).att("Type",n).att("Target",r).att("TargetMode",i).up())})}generateRelsXML(){return this.relationships.map(({fileName:e,rels:t})=>{const n=Object(a["create"])({encoding:"UTF-8",standalone:!0},"document"===e?Pe:'\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(n.root(),t),{fileName:e,xmlString:n.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 n=e?e.split(",").map(e=>{const t=e.trim();return $r.test(t)?t.match($r)[2]:t}):[t];return{fontName:n[0],genericFontName:n[n.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 n=t[2],r="octet-stream"===t[1].match(/\/(.*?)$/)[1]?"png":t[1].match(/\/(.*?)$/)[1],i=`image-${je()}.${r}`;return this.lastMediaId+=1,{id:this.lastMediaId,fileContent:n,fileNameWithExtension:i}}createDocumentRelationships(e="document",t,n,r="External"){let i,o=this.relationships.find(t=>t.fileName===e),s=1;switch(o?(s=o.lastRelsId+1,o.lastRelsId=s):(o={fileName:e,lastRelsId:s,rels:[]},this.relationships.push(o)),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 o.rels.push({relationshipId:s,type:i,target:n,targetMode:r}),s}generateHeaderXML(e){return this.generateSectionXML(e,"header")}generateFooterXML(e){return this.generateSectionXML(e,"footer")}}const oi=c()({VNode:U,VText:W}),si=e=>{const t={...e};return Object.keys(e).forEach(n=>{switch(n){case"pageSize":case"margins":t[n]=((e,t)=>{let n={};return"object"==typeof e&&null!==e?Object.keys(e).forEach(r=>{if(Un.test(e[r])){const t=e[r].match(Un);n[r]=Gn(t[1])}else if(Vn.test(e[r])){const t=e[r].match(Vn);n[r]=qn(t[1])}else if(Wn.test(e[r])){const t=e[r].match(Wn);n[r]=zn(t[1])}else e[r]?n[r]=e[r]:n[r]=t[r]}):n=null,n})(e[n],xe[n]);break;case"fontSize":case"complexScriptFontSize":t[n]=(e=>{let t;if(jn.test(e)){const n=e.match(jn);t=Kn(n[1])}else t=e||null;return t})(e[n])}}),t};async function ai(e,t,n,r,i){const o=si(n),s=(l=xe,c=o,{...l,...c});var l,c;s.header&&!r&&(r="<p></p>"),s.footer&&!i&&(i="<p></p>"),s.decodeUnicode&&(r=Object(u["decode"])(r),t=Object(u["decode"])(t),i=Object(u["decode"])(i));const d=new ii({zip:e,htmlString:t,...s});if(d.documentXML=await async function(e){const t=Gr(e.htmlString),n=Object(a["fragment"])({namespaceAlias:{w:ne}});return await qr(e,t,n)}(d),e.folder("_rels").file(".rels",Object(a["create"])({encoding:"UTF-8",standalone:!0},De).toString({prettyPrint:!0}),{createFolders:!1}),e.folder("docProps").file("core.xml",d.generateCoreXML(),{createFolders:!1}),d.header&&r){const t=oi(r);d.relationshipFilename="header1";const{headerId:n,headerXML:i}=await d.generateHeaderXML(t);d.relationshipFilename="document";const o=`header${n}.xml`,s=d.createDocumentRelationships(d.relationshipFilename,"header",o,"Internal");e.folder("word").file(o,i.toString({prettyPrint:!0}),{createFolders:!1}),d.headerObjects.push({headerId:n,relationshipId:s,type:d.headerType})}if(d.footer&&i){const t=oi(i);d.relationshipFilename="footer1";const{footerId:n,footerXML:r}=await d.generateFooterXML(t);d.relationshipFilename="document";const o=`footer${n}.xml`,s=d.createDocumentRelationships(d.relationshipFilename,"footer",o,"Internal");e.folder("word").file(o,r.toString({prettyPrint:!0}),{createFolders:!1}),d.footerObjects.push({footerId:n,relationshipId:s,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:n})=>{e.folder("word").folder("_rels").file(t+".xml.rels",n,{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,n,i={},o){const a=new s.a;let l=t,c=n,u=o;t&&(l=li(l)),n&&(c=li(c)),o&&(u=li(u)),await ai(a,l,i,c,u);const d=await a.generateAsync({type:"arraybuffer"});if(Object.prototype.hasOwnProperty.call(e,"Buffer"))return r.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,n("c8ba"),n("b639").Buffer,n("4362"))},c592:function(e,t,n){"use strict";function r(e,t){e.push(t)}function i(e){return e.pop()||null}Object.defineProperty(t,"__esModule",{value:!0}),t.push=r,t.pop=i},c598:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("4b7d");function o(e,t){const n=e[0],s=e[1],a=t[0],l=t[1];if(console.assert(i.tree_rootNode(n)===i.tree_rootNode(a),"Boundary points must share the same root node."),n===a)return s===l?r.BoundaryPosition.Equal:s<l?r.BoundaryPosition.Before:r.BoundaryPosition.After;if(i.tree_isFollowing(a,n)){const e=o([a,l],[n,s]);if(e===r.BoundaryPosition.Before)return r.BoundaryPosition.After;if(e===r.BoundaryPosition.After)return r.BoundaryPosition.Before}if(i.tree_isAncestorOf(a,n)){let e=a;while(!i.tree_isChildOf(n,e))null!==e._parent&&(e=e._parent);if(i.tree_index(e)<s)return r.BoundaryPosition.After}return r.BoundaryPosition.Before}t.boundaryPoint_position=o},c5cd:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));n("d9e2");var r=n("7b9c"),i=n("351d"),o=n("7ae0");function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=l(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}let c=0;class u{constructor(){s(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(r["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(r["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(n=>{n.insert(e,t)})}initEvery(e){this.collection.forEach(t=>{t.init(e)})}}function d(){return c}Object(i["mixin"])(u,o["a"])},c5d0:function(e,t,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("italics")},{italics:function(){return i(this,"i","","")}})},c606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9af8");class i{get previousElementSibling(){let e=r.Cast.asNode(this)._previousSibling;while(e){if(r.Guard.isElementNode(e))return e;e=e._previousSibling}return null}get nextElementSibling(){let e=r.Cast.asNode(this)._nextSibling;while(e){if(r.Guard.isElementNode(e))return e;e=e._nextSibling}return null}}t.NonDocumentTypeChildNodeImpl=i},c621:function(e,t,n){"use strict";n.d(t,"j",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"m",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"d",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return u})),n.d(t,"g",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"a",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"k",(function(){return A}));var r=n("b775");function i(e){return Object(r["a"])({url:"/template/category/search",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/template/category/create",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/template/category/update",method:"post",data:e})}function a(e){return Object(r["a"])({url:"/template/category/info",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/template/category/delete/".concat(e),method:"get"})}function c(e){return Object(r["a"])({url:"/document/block/list",method:"post",data:e})}function u(e){return Object(r["a"])({url:"/template/search",method:"post",data:e})}function d(e){return Object(r["a"])({url:"/document/block/info/".concat(e),method:"get"})}function h(e){return Object(r["a"])({url:"/document/block/dele/".concat(e),method:"get"})}function p(e){return Object(r["a"])({url:"/document/block/add",method:"post",data:e})}function f(e){return Object(r["a"])({url:"/document/block/edit",method:"post",data:e})}function m(e){return Object(r["a"])({url:"/template/category/allList",method:"post",data:e})}function A(e){return Object(r["a"])({url:"/template/category/treeCategory",method:"post",data:e})}},c6a7:function(e,t,n){"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},c733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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 n=Math.random()<.5;if(n?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 n}}t.CompareCache=r},c7aa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  614. //! moment.js locale configuration
  615. 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,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},c7cc:function(e,t,n){"use strict";n.r(t);var r=n("c88e"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=i.a},c834:function(e,t,n){"use strict";function r(e,t,n,r){var i=65535&e|0,o=e>>>16&65535|0,s=0;while(0!==n){s=n>2e3?2e3:n,n-=s;do{i=i+t[r++]|0,o=o+i|0}while(--s);i%=65521,o%=65521}return i|o<<16|0}e.exports=r},c88e:function(e,t){},c8ba6:function(e,t,n){"use strict";var r=n("16e7"),i=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var i=Object.assign({},n),o="";for(var s in i)o+=s;return e!==o},o=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()||o()?r:Object.assign:r}},c8f3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  616. //! moment.js locale configuration
  617. 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,n){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,n,r,i=e.length;while(--i>-1){t=n=e[i],e[i]=null,r=!0;while(n){if(e.indexOf(n)>-1){r=!1,e.splice(i,1);break}n=n.parent}r&&(e[i]=t)}return e};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},r=t.compareDocumentPosition=function(e,t){var r,i,o,s,a,l,c=[],u=[];if(e===t)return 0;r=e;while(r)c.unshift(r),r=r.parent;r=t;while(r)u.unshift(r),r=r.parent;l=0;while(c[l]===u[l])l++;return 0===l?n.DISCONNECTED:(i=c[l-1],o=i.children,s=c[l],a=u[l],o.indexOf(s)>o.indexOf(a)?i===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:i===e?n.PRECEDING|n.CONTAINS:n.PRECEDING)};t.uniqueSort=function(e){var t,i,o=e.length;e=e.slice();while(--o>-1)t=e[o],i=e.indexOf(t),i>-1&&i<o&&e.splice(o,1);return e.sort((function(e,t){var i=r(e,t);return i&n.PRECEDING?-1:i&n.FOLLOWING?1:0})),e}},c90b:function(e,t,n){(function(e,r,i){var o=n("a9f1"),s=n("3fb5"),a=n("e372"),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,n,s,l){var c=this;if(a.Readable.call(c),c._mode=s,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){e.nextTick((function(){c.emit("close")}))})),"fetch"===s){if(c._fetchResponse=n,c.url=n.url,c.statusCode=n.status,c.statusMessage=n.statusText,n.headers.forEach((function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)})),o.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,n){c._destroyed?n():c.push(new r(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 n.body.pipeTo(u).catch((function(e){i.clearTimeout(l),c._destroyed||c.emit("error",e)}))}catch(A){}}var d=n.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 r(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 n=t[1].toLowerCase();"set-cookie"===n?(void 0===c.headers[n]&&(c.headers[n]=[]),c.headers[n].push(t[2])):void 0!==c.headers[n]?c.headers[n]+=", "+t[2]:c.headers[n]=t[2],c.rawHeaders.push(t[1],t[2])}})),c._charset="x-user-defined",!o.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")}}};s(c,a.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,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==l.DONE)break;try{n=new i.VBArray(t.responseBody).toArray()}catch(u){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(u){e._mode="text:vbarray";break}if(n.length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var s=new r(o.length),a=0;a<o.length;a++)s[a]=255&o.charCodeAt(a);e.push(s)}else e.push(o,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==l.DONE||!t.response)break;n=t.response,e.push(new r(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==l.LOADING||!n)break;e.push(new r(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==l.LOADING)break;var c=new i.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(new r(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(n);break}e._xhr.readyState===l.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,n("4362"),n("b639").Buffer,n("c8ba"))},c91e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("3bc6");function i(e,t){t._abortedFlag||t._abortAlgorithms.add(e)}function o(e,t){t._abortAlgorithms.delete(e)}function s(e){if(!e._abortedFlag){e._abortedFlag=!0;for(const t of e._abortAlgorithms)t.call(e);e._abortAlgorithms.clear(),r.event_fireAnEvent("abort",e)}}t.abort_add=i,t.abort_remove=o,t.abort_signalAbort=s},caa7:function(e,t,n){"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,n){"use strict";var r=n("e330"),i=Set.prototype;e.exports={Set:Set,add:r(i.add),has:r(i.has),remove:r(i["delete"]),proto:i}},cc6f:function(e,t,n){"use strict";n.d(t,"a",(function(){return da})),n.d(t,"b",(function(){return Vt}));var r,i,o={};n.r(o),n.d(o,"AddressPlugin",(function(){return ba})),n.d(o,"ArrayPlugin",(function(){return va})),n.d(o,"AbsPlugin",(function(){return wa})),n.d(o,"BitShiftPlugin",(function(){return Sa})),n.d(o,"BitwiseLogicOperationsPlugin",(function(){return Oa})),n.d(o,"BooleanPlugin",(function(){return xa})),n.d(o,"CharPlugin",(function(){return Na})),n.d(o,"CodePlugin",(function(){return La})),n.d(o,"CountBlankPlugin",(function(){return Ia})),n.d(o,"CountUniquePlugin",(function(){return Pa})),n.d(o,"DateTimePlugin",(function(){return Da})),n.d(o,"DegreesPlugin",(function(){return Ha})),n.d(o,"DeltaPlugin",(function(){return ja})),n.d(o,"ExpPlugin",(function(){return Va})),n.d(o,"FinancialPlugin",(function(){return Wa})),n.d(o,"FormulaTextPlugin",(function(){return Za})),n.d(o,"HyperlinkPlugin",(function(){return za})),n.d(o,"InformationPlugin",(function(){return qa})),n.d(o,"IsEvenPlugin",(function(){return Ja})),n.d(o,"IsOddPlugin",(function(){return $a})),n.d(o,"LogarithmPlugin",(function(){return el})),n.d(o,"MathConstantsPlugin",(function(){return nl})),n.d(o,"MatrixPlugin",(function(){return ol})),n.d(o,"MedianPlugin",(function(){return sl})),n.d(o,"ModuloPlugin",(function(){return al})),n.d(o,"NumericAggregationPlugin",(function(){return ul})),n.d(o,"PowerPlugin",(function(){return pl})),n.d(o,"RadiansPlugin",(function(){return fl})),n.d(o,"RadixConversionPlugin",(function(){return vl})),n.d(o,"RandomPlugin",(function(){return Cl})),n.d(o,"RoundingPlugin",(function(){return Nl})),n.d(o,"SqrtPlugin",(function(){return Ll})),n.d(o,"ConditionalAggregationPlugin",(function(){return Ql})),n.d(o,"SumprodPlugin",(function(){return Xl})),n.d(o,"TextPlugin",(function(){return Kl})),n.d(o,"TrigonometryPlugin",(function(){return Gl})),n.d(o,"LookupPlugin",(function(){return zl})),n.d(o,"RomanPlugin",(function(){return ql})),n.d(o,"SimpleArithmerticPlugin",(function(){return tc})),n.d(o,"StatisticalPlugin",(function(){return qc})),n.d(o,"MathPlugin",(function(){return Jc})),n.d(o,"ComplexPlugin",(function(){return nu})),n.d(o,"StatisticalAggregationPlugin",(function(){return mu})),function(e){e["RELATIVE"]="RELATIVE",e["ABSOLUTE"]="ABSOLUTE"}(r||(r={}));class s{constructor(e,t,n){this.type=e,this.col=t,this.sheet=n}static absolute(e,t){return new s(r.ABSOLUTE,e,t)}static relative(e,t){return new s(r.RELATIVE,e,t)}static compareByAbsoluteAddress(e){return(t,n)=>t.toSimpleColumnAddress(e).col-n.toSimpleColumnAddress(e).col}isColumnAbsolute(){return this.type===r.ABSOLUTE}isColumnRelative(){return this.type===r.RELATIVE}isAbsolute(){return this.type===r.ABSOLUTE&&void 0!==this.sheet}moved(e,t,n){const r=void 0===this.sheet?void 0:e;return new s(this.type,this.col+t,r)}shiftedByColumns(e){return new s(this.type,this.col+e,this.sheet)}toSimpleColumnAddress(e){const t=_r(this,e);let n=this.col;return this.isColumnRelative()&&(n=e.col+this.col),dr(t,n)}shiftRelativeDimensions(e,t){const n=this.isColumnRelative()?this.col+e:this.col;return new s(this.type,n,this.sheet)}shiftAbsoluteDimensions(e,t){const n=this.isColumnAbsolute()?this.col+e:this.col;return new s(this.type,n,this.sheet)}withSheet(e){return new s(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 r.RELATIVE:return`${t}#COLR${this.col}`;case r.ABSOLUTE:return`${t}#COLA${this.col}`}}unparse(e){const t=this.toSimpleColumnAddress(e);if(hr(t))return;const n=B(t.col),i=this.type===r.ABSOLUTE?"$":"";return`${i}${n}`}exceedsSheetSizeLimits(e){return this.col>=e}}
  618. /**
  619. * @license
  620. * Copyright (c) 2024 Handsoncode. All rights reserved.
  621. */class a{constructor(e,t,n){this.type=e,this.row=t,this.sheet=n}static absolute(e,t){return new a(r.ABSOLUTE,e,t)}static relative(e,t){return new a(r.RELATIVE,e,t)}static compareByAbsoluteAddress(e){return(t,n)=>t.toSimpleRowAddress(e).row-n.toSimpleRowAddress(e).row}isRowAbsolute(){return this.type===r.ABSOLUTE}isRowRelative(){return this.type===r.RELATIVE}isAbsolute(){return this.type===r.ABSOLUTE&&void 0!==this.sheet}moved(e,t,n){const r=void 0===this.sheet?void 0:e;return new a(this.type,this.row+n,r)}shiftedByRows(e){return new a(this.type,this.row+e,this.sheet)}toSimpleRowAddress(e){const t=_r(this,e);let n=this.row;return this.isRowRelative()&&(n=e.row+this.row),cr(t,n)}shiftRelativeDimensions(e,t){const n=this.isRowRelative()?this.row+t:this.row;return new a(this.type,n,this.sheet)}shiftAbsoluteDimensions(e,t){const n=this.isRowAbsolute()?this.row+t:this.row;return new a(this.type,n,this.sheet)}withSheet(e){return new a(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 r.RELATIVE:return`${t}#ROWR${this.row}`;case r.ABSOLUTE:return`${t}#ROWA${this.row}`}}unparse(e){const t=this.toSimpleRowAddress(e);if(ur(t))return;const n=this.type===r.ABSOLUTE?"$":"";return`${n}${t.row+1}`}exceedsSheetSizeLimits(e){return this.row>=e}}
  622. /**
  623. * @license
  624. * Copyright (c) 2024 Handsoncode. All rights reserved.
  625. */(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,n,r){this.col=e,this.row=t,this.type=n,this.sheet=r}static fromColAndRow(e,t,n){const r=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 r(e.col,t.row,n)}static relative(e,t,n){return new l(e,t,i.CELL_REFERENCE_RELATIVE,n)}static absolute(e,t,n){return new l(e,t,i.CELL_REFERENCE_ABSOLUTE,n)}static absoluteCol(e,t,n){return new l(e,t,i.CELL_REFERENCE_ABSOLUTE_COL,n)}static absoluteRow(e,t,n){return new l(e,t,i.CELL_REFERENCE_ABSOLUTE_ROW,n)}toSimpleCellAddress(e){const t=_r(this,e);return this.type===i.CELL_REFERENCE_ABSOLUTE?pr(t,this.col,this.row):this.type===i.CELL_REFERENCE_ABSOLUTE_ROW?pr(t,e.col+this.col,this.row):this.type===i.CELL_REFERENCE_ABSOLUTE_COL?pr(t,this.col,e.row+this.row):pr(t,e.col+this.col,e.row+this.row)}toColumnAddress(){const e=this.isColumnRelative()?r.RELATIVE:r.ABSOLUTE;return new s(e,this.col,this.sheet)}toRowAddress(){const e=this.isRowRelative()?r.RELATIVE:r.ABSOLUTE;return new a(e,this.row,this.sheet)}toSimpleColumnAddress(e){const t=_r(this,e);let n=this.col;return this.isColumnRelative()&&(n+=e.col),dr(t,n)}toSimpleRowAddress(e){const t=_r(this,e);let n=this.row;return this.isRowRelative()&&(n+=e.row),cr(t,n)}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,n){const r=void 0===this.sheet?void 0:e;return new l(this.col+t,this.row+n,this.type,r)}withSheet(e){return new l(this.col,this.row,this.type,e)}isInvalid(e){return fr(this.toSimpleCellAddress(e))}shiftRelativeDimensions(e,t){const n=this.isColumnAbsolute()?this.col:this.col+e,r=this.isRowAbsolute()?this.row:this.row+t;return new l(n,r,this.type,this.sheet)}shiftAbsoluteDimensions(e,t){const n=this.isColumnRelative()?this.col:this.col+e,r=this.isRowRelative()?this.row:this.row+t;return new l(n,r,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(fr(t))return;const n=B(t.col),r=this.type===i.CELL_REFERENCE_ABSOLUTE||this.type===i.CELL_REFERENCE_ABSOLUTE_ROW?"$":"",o=this.type===i.CELL_REFERENCE_ABSOLUTE||this.type===i.CELL_REFERENCE_ABSOLUTE_COL?"$":"";return`${o}${n}${r}${t.row+1}`}exceedsSheetSizeLimits(e,t){return this.row>=t||this.col>=e}}
  626. /**
  627. * @license
  628. * Copyright (c) 2024 Handsoncode. All rights reserved.
  629. */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]+`,b=`(${g})?\\${u}?[A-Za-z]+`,v=`(${g})?\\${u}?[0-9]+`,w="[rR][0-9]*[cC][0-9]*",y=`(${_})[^${f}]`,R=`[${p}_][${f}]*`,M=["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)),E=new RegExp(`^(${g})?(\\${u}?)([A-Za-z]+)(\\${u}?)([0-9]+)$`),T=new RegExp(`^(${g})?(\\${u}?)([A-Za-z]+)$`),C=new RegExp(`^(${g})?(\\${u}?)([0-9]+)$`),O=new RegExp(`^${m}$`),x=(e,t,n)=>{const r=E.exec(t),i=k(r[6]);let o=H(r,e);if(void 0===o)return;null===o&&(o=void 0);const s=Number(r[8])-1;return r[5]===u&&r[7]===u?l.absolute(i,s,o):r[5]===u?l.absoluteCol(i,s-n.row,o):r[7]===u?l.absoluteRow(i-n.col,s,o):l.relative(i-n.col,s-n.row,o)},N=(e,t,n)=>{const r=T.exec(t);let i=H(r,e);if(void 0===i)return;null===i&&(i=void 0);const o=k(r[6]);return r[5]===u?s.absolute(o,i):s.relative(o-n.col,i)},L=(e,t,n)=>{const r=C.exec(t);let i=H(r,e);if(void 0===i)return;null===i&&(i=void 0);const o=Number(r[6])-1;return r[5]===u?a.absolute(o,i):a.relative(o-n.row,i)},I=(e,t,n)=>{const r=E.exec(t);if(!r)return;const i=k(r[6]);let o=H(r,e);if(void 0===o)return;null===o&&(o=n);const s=Number(r[8])-1;return pr(o,i,s)},P=(e,t,n)=>{const r=t.split(c);if(2!==r.length)return;const[i,o]=r,s=I(e,i,n);if(void 0===s)return;const a=I(e,o,s.sheet);return void 0!==a&&s.sheet===a.sheet?yr(s,a):void 0},D=(e,t,n)=>{const r=B(t.col),i=U(t.sheet,e);if(void 0!==i)return n!==t.sheet?`${i}!${r}${t.row+1}`:`${r}${t.row+1}`},F=(e,t,n)=>{const r=D(e,t.start,n),i=D(e,t.end,t.start.sheet);return void 0===r||void 0===i?void 0:`${r}${c}${i}`};function k(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 B(e){let t="";while(e>=0)t=String.fromCharCode(e%26+97)+t,e=Math.floor(e/26)-1;return t.toUpperCase()}function U(e,t){let n=t(e);if(void 0!==n)return O.test(n)?n:(n=n.replace(/'/g,"''"),`'${n}'`)}function H(e,t){var n;let r=null!==(n=e[3])&&void 0!==n?n:e[2];return r?(r=r.replace(/''/g,"'"),t(r)):null}var j=n("fa83");
  630. /**
  631. * @license
  632. * Copyright (c) 2024 Handsoncode. All rights reserved.
  633. */const V=(e,t)=>({type:e,message:t});var W,Y,Q;(function(e){e["LexingError"]="LexingError",e["ParserError"]="ParsingError",e["StaticOffsetError"]="StaticOffsetError",e["StaticOffsetOutOfRangeError"]="StaticOffsetOutOfRangeError",e["RangeOffsetNotAllowed"]="RangeOffsetNotAllowed",e["InvalidRangeSize"]="InvalidRangeSize"})(W||(W={})),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"}(Y||(Y={})),function(e){e[e["RELATIVE"]=0]="RELATIVE",e[e["START_ABSOLUTE"]=1]="START_ABSOLUTE",e[e["BOTH_ABSOLUTE"]=2]="BOTH_ABSOLUTE"}(Q||(Q={}));const X=e=>({type:Y.EMPTY,leadingWhitespace:null===e||void 0===e?void 0:e.image}),K=(e,t)=>({type:Y.NUMBER,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),G=e=>{var t;return{type:Y.STRING,value:e.image.slice(1,-1),leadingWhitespace:null===(t=e.leadingWhitespace)||void 0===t?void 0:t.image}},Z=(e,t)=>({type:Y.CELL_REFERENCE,reference:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),z=(e,t,n,r)=>(we(e,t,n),{type:Y.CELL_RANGE,start:e,end:t,sheetReferenceType:n,leadingWhitespace:r}),q=(e,t,n,r)=>(we(e,t,n),{type:Y.COLUMN_RANGE,start:e,end:t,sheetReferenceType:n,leadingWhitespace:null===r||void 0===r?void 0:r.image}),J=(e,t,n,r)=>(we(e,t,n),{type:Y.ROW_RANGE,start:e,end:t,sheetReferenceType:n,leadingWhitespace:null===r||void 0===r?void 0:r.image}),$=(e,t,n)=>({type:Y.CONCATENATE_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ee=(e,t,n)=>({type:Y.EQUALS_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),te=(e,t,n)=>({type:Y.NOT_EQUAL_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ne=(e,t,n)=>({type:Y.GREATER_THAN_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),re=(e,t,n)=>({type:Y.LESS_THAN_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ie=(e,t,n)=>({type:Y.GREATER_THAN_OR_EQUAL_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),oe=(e,t,n)=>({type:Y.LESS_THAN_OR_EQUAL_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),se=(e,t,n)=>({type:Y.PLUS_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ae=(e,t,n)=>({type:Y.MINUS_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),le=(e,t,n)=>({type:Y.TIMES_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ce=(e,t,n)=>({type:Y.DIV_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ue=(e,t,n)=>({type:Y.POWER_OP,left:e,right:t,leadingWhitespace:null===n||void 0===n?void 0:n.image}),de=(e,t)=>({type:Y.MINUS_UNARY_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),he=(e,t)=>({type:Y.PLUS_UNARY_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),pe=(e,t)=>({type:Y.PERCENT_OP,value:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),fe=(e,t,n,r,i)=>({type:Y.FUNCTION_CALL,procedureName:e,args:t,leadingWhitespace:null===n||void 0===n?void 0:n.image,internalWhitespace:null===r||void 0===r?void 0:r.image,hyperlink:i}),me=(e,t,n)=>({type:Y.ARRAY,args:e,leadingWhitespace:null===t||void 0===t?void 0:t.image,internalWhitespace:null===n||void 0===n?void 0:n.image}),Ae=(e,t)=>({type:Y.NAMED_EXPRESSION,expressionName:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),ge=(e,t,n)=>({type:Y.PARENTHESIS,expression:e,leadingWhitespace:null===t||void 0===t?void 0:t.image,internalWhitespace:null===n||void 0===n?void 0:n.image}),_e=(e,t)=>({type:Y.ERROR,error:e,leadingWhitespace:null===t||void 0===t?void 0:t.image}),be=(e,t,n)=>({type:Y.ERROR_WITH_RAW_INPUT,error:t,rawInput:e,leadingWhitespace:null===n||void 0===n?void 0:n.image}),ve=()=>({type:Y.ERROR,error:lr.parsingError()});function we(e,t,n){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&&n!==Q.RELATIVE||void 0!==e.sheet&&n===Q.RELATIVE)throw new Error("Sheet address inconsistent with sheet reference type")}function ye(e,t){return(null!==t&&void 0!==t?t:"")+e}
  634. /**
  635. * @license
  636. * Copyright (c) 2024 Handsoncode. All rights reserved.
  637. */const Re={[Y.PLUS_OP]:"+",[Y.MINUS_OP]:"-",[Y.TIMES_OP]:"*",[Y.DIV_OP]:"/",[Y.CONCATENATE_OP]:"&",[Y.POWER_OP]:"^",[Y.EQUALS_OP]:"=",[Y.NOT_EQUAL_OP]:"<>",[Y.GREATER_THAN_OP]:">",[Y.GREATER_THAN_OR_EQUAL_OP]:">=",[Y.LESS_THAN_OP]:"<",[Y.LESS_THAN_OR_EQUAL_OP]:"<="},Me=(e,t,n,r)=>({ast:e,relativeDependencies:t,hasVolatileFunction:n,hasStructuralChangeFunction:r});
  638. /**
  639. * @license
  640. * Copyright (c) 2024 Handsoncode. All rights reserved.
  641. */class Se{constructor(e){this.functionRegistry=e,this.cache=new Map}set(e,t){const n=pt(t,this.functionRegistry),r=Me(t,n,Ee(t,this.functionRegistry.isFunctionVolatile),Ee(t,this.functionRegistry.isFunctionDependentOnSheetStructureChange));return this.cache.set(e,r),r}get(e){return this.cache.get(e)}maybeSetAndThenGet(e,t){const n=this.cache.get(e);return void 0!==n?n.ast:(this.set(e,t),t)}}const Ee=(e,t)=>{switch(e.type){case Y.EMPTY:case Y.NUMBER:case Y.STRING:case Y.ERROR:case Y.ERROR_WITH_RAW_INPUT:case Y.CELL_REFERENCE:case Y.CELL_RANGE:case Y.COLUMN_RANGE:case Y.ROW_RANGE:case Y.NAMED_EXPRESSION:return!1;case Y.PERCENT_OP:case Y.PLUS_UNARY_OP:case Y.MINUS_UNARY_OP:return Ee(e.value,t);case Y.CONCATENATE_OP:case Y.EQUALS_OP:case Y.NOT_EQUAL_OP:case Y.LESS_THAN_OP:case Y.GREATER_THAN_OP:case Y.LESS_THAN_OR_EQUAL_OP:case Y.GREATER_THAN_OR_EQUAL_OP:case Y.MINUS_OP:case Y.PLUS_OP:case Y.TIMES_OP:case Y.DIV_OP:case Y.POWER_OP:return Ee(e.left,t)||Ee(e.right,t);case Y.PARENTHESIS:return Ee(e.expression,t);case Y.FUNCTION_CALL:return!!t(e.procedureName)||e.args.some(e=>Ee(e,t));case Y.ARRAY:return e.args.some(e=>e.some(e=>Ee(e,t)))}};
  642. /**
  643. * @license
  644. * Copyright (c) 2024 Handsoncode. All rights reserved.
  645. */class Te{}Te.DistinctSigns="Distinct signs.",Te.WrongArgNumber="Wrong number of arguments.",Te.EmptyArg="Empty function argument.",Te.EmptyArray="Empty array not allowed.",Te.ArrayDimensions="Array dimensions are not compatible.",Te.NoSpaceForArrayResult="No space for array result.",Te.ValueSmall="Value too small.",Te.ValueLarge="Value too large.",Te.BadCriterion="Incorrect criterion.",Te.RangeManySheets="Range spans more than one sheet.",Te.CellRangeExpected="Cell range expected.",Te.WrongDimension="Wrong range dimension.",Te.ScalarExpected="Cell range not allowed.",Te.NumberCoercion="Value cannot be coerced to number.",Te.NumberExpected="Number argument expected.",Te.IntegerExpected="Value needs to be an integer.",Te.BadMode="Mode not recognized.",Te.DateBounds="Date outside of bounds.",Te.OutOfSheet="Resulting reference is out of the sheet.",Te.WrongType="Wrong type of argument.",Te.NaN="NaN or infinite value encountered.",Te.EqualLength="Ranges need to be of equal length.",Te.Negative="Value cannot be negative.",Te.NotBinary="String does not represent a binary number.",Te.NotOctal="String does not represent an octal number.",Te.NotHex="String does not represent a hexadecimal number.",Te.EndStartPeriod="End period needs to be at least start period.",Te.CellRefExpected="Cell reference expected.",Te.EmptyRange="Empty range not allowed.",Te.BadRef="Address is not correct.",Te.NumberRange="Number-only range expected.",Te.ValueNotFound="Value not found.",Te.ValueBaseLarge="Value in base too large.",Te.ValueBaseSmall="Value in base too small.",Te.ValueBaseLong="Value in base too long.",Te.NegativeLength="Length cannot be negative.",Te.PatternNotFound="Pattern not found.",Te.OneValue="Needs at least one value.",Te.TwoValues="Range needs to contain at least two elements.",Te.ThreeValues="Range needs to contain at least three elements.",Te.IndexBounds="Index out of bounds.",Te.IndexLarge="Index too large.",Te.Formula="Expected formula.",Te.NegativeCount="Count cannot be negative.",Te.ParseError="Parsing error.",Te.SheetRef="Sheet does not exist.",Te.PeriodLong="Period number cannot exceed life length.",Te.InvalidDate="Invalid date.",Te.BitshiftLong="Result of bitshift is too long.",Te.EmptyString="Empty-string argument not allowed.",Te.LengthBounds="Length out of bounds.",Te.NegativeTime="Time cannot be negative.",Te.NoDefault="No default option.",Te.NoConditionMet="None of the conditions were met.",Te.Selector="Selector cannot exceed the number of arguments.",Te.StartEndDate="Start date needs to be earlier than end date.",Te.IncorrectDateTime="String does not represent correct DateTime.",Te.CharacterCodeBounds="Character code out of bounds.",Te.NonZero="Argument cannot be 0.",Te.LessThanOne="Argument cannot be less than 1.",Te.WeekendString="Incorrect weekend bitmask string.",Te.InvalidRoman="Invalid roman numeral.",Te.WrongOrder="Wrong order of values.",Te.ComplexNumberExpected="Complex number expected.",Te.ShouldBeIorJ="Should be 'i' or 'j'.",Te.SizeMismatch="Array dimensions mismatched.",Te.FunctionName=e=>`Function name ${e} not recognized.`,Te.NamedExpressionName=e=>`Named expression ${e} not recognized.`,Te.LicenseKey=e=>`License key is ${e}.`
  646. /**
  647. * @license
  648. * Copyright (c) 2024 Handsoncode. All rights reserved.
  649. */;class Ce{constructor(){this.POSSIBLE_START_CHARACTERS=[...S,...M,u,"'","_"],this.cellReferenceRegexp=new RegExp(y,"y")}match(e,t){this.cellReferenceRegexp.lastIndex=t;const n=this.cellReferenceRegexp.exec(e+"@");return null==n||null==n[1]?null:(n[0]=n[1],n)}}
  650. /**
  651. * @license
  652. * Copyright (c) 2024 Handsoncode. All rights reserved.
  653. */class Oe{constructor(){this.POSSIBLE_START_CHARACTERS=[...S,"_"],this.namedExpressionRegexp=new RegExp(R,"y"),this.r1c1CellRefRegexp=new RegExp(`^${w}$`)}match(e,t){this.namedExpressionRegexp.lastIndex=t;const n=this.namedExpressionRegexp.exec(e);return null==n||null==n[0]||this.r1c1CellRefRegexp.test(n[0])?null:n}}
  654. /**
  655. * @license
  656. * Copyright (c) 2024 Handsoncode. All rights reserved.
  657. */const xe=Object(j["createToken"])({name:"AdditionOp",pattern:j["Lexer"].NA}),Ne=Object(j["createToken"])({name:"PlusOp",pattern:/\+/,categories:xe}),Le=Object(j["createToken"])({name:"MinusOp",pattern:/-/,categories:xe}),Ie=Object(j["createToken"])({name:"MultiplicationOp",pattern:j["Lexer"].NA}),Pe=Object(j["createToken"])({name:"TimesOp",pattern:/\*/,categories:Ie}),De=Object(j["createToken"])({name:"DivOp",pattern:/\//,categories:Ie}),Fe=Object(j["createToken"])({name:"PowerOp",pattern:/\^/}),ke=Object(j["createToken"])({name:"PercentOp",pattern:/%/}),Be=Object(j["createToken"])({name:"BooleanOp",pattern:j["Lexer"].NA}),Ue=Object(j["createToken"])({name:"EqualsOp",pattern:/=/,categories:Be}),He=Object(j["createToken"])({name:"NotEqualOp",pattern:/<>/,categories:Be}),je=Object(j["createToken"])({name:"GreaterThanOp",pattern:/>/,categories:Be}),Ve=Object(j["createToken"])({name:"LessThanOp",pattern:/</,categories:Be}),We=Object(j["createToken"])({name:"GreaterThanOrEqualOp",pattern:/>=/,categories:Be}),Ye=Object(j["createToken"])({name:"LessThanOrEqualOp",pattern:/<=/,categories:Be}),Qe=Object(j["createToken"])({name:"ConcatenateOp",pattern:/&/}),Xe=Object(j["createToken"])({name:"LParen",pattern:/\(/}),Ke=Object(j["createToken"])({name:"RParen",pattern:/\)/}),Ge=Object(j["createToken"])({name:"ArrayLParen",pattern:/{/}),Ze=Object(j["createToken"])({name:"ArrayRParen",pattern:/}/}),ze=Object(j["createToken"])({name:"StringLiteral",pattern:/"([^"\\]*(\\.[^"\\]*)*)"/}),qe=Object(j["createToken"])({name:"ErrorLiteral",pattern:/#[A-Za-z0-9\/]+[?!]?/}),Je=Object(j["createToken"])({name:"RangeSeparator",pattern:new RegExp(c)}),$e=Object(j["createToken"])({name:"ColumnRange",pattern:new RegExp(`${b}${c}${b}`)}),et=Object(j["createToken"])({name:"RowRange",pattern:new RegExp(`${v}${c}${v}`)}),tt=Object(j["createToken"])({name:"ProcedureName",pattern:new RegExp(`([${p}][${f}]*)\\(`)}),nt=new Ce,rt=Object(j["createToken"])({name:"CellReference",pattern:nt.match.bind(nt),start_chars_hint:nt.POSSIBLE_START_CHARACTERS,line_breaks:!1}),it=new Oe,ot=Object(j["createToken"])({name:"NamedExpression",pattern:it.match.bind(it),start_chars_hint:it.POSSIBLE_START_CHARACTERS,line_breaks:!1}),st=e=>{const t=e.translationPackage.getFunctionTranslation("OFFSET"),n=e.errorMapping,r=e.translationPackage.buildFunctionMapping(),i=new RegExp("standard"===e.ignoreWhiteSpace?h:d),o=Object(j["createToken"])({name:"WhiteSpace",pattern:i}),s=Object(j["createToken"])({name:"ArrayRowSep",pattern:e.arrayRowSeparator}),a=Object(j["createToken"])({name:"ArrayColSep",pattern:e.arrayColumnSeparator}),l=Object(j["createToken"])({name:"NumberLiteral",pattern:new RegExp(`(([${e.decimalSeparator}]\\d+)|(\\d+([${e.decimalSeparator}]\\d*)?))(e[+-]?\\d+)?`)}),c=Object(j["createToken"])({name:"OffsetProcedureName",pattern:new RegExp(t,"i")});let u,p;e.functionArgSeparator===e.arrayColumnSeparator?(u=a,p=[]):e.functionArgSeparator===e.arrayRowSeparator?(u=s,p=[]):(u=Object(j["createToken"])({name:"ArgSeparator",pattern:e.functionArgSeparator}),p=[u]);const f=[o,Ne,Le,Pe,De,Fe,Ue,He,ke,We,Ye,je,Ve,Xe,Ke,Ge,Ze,c,tt,Je,...p,$e,et,l,ze,qe,Qe,Be,xe,Ie,rt,ot,s,a];return{ArgSeparator:u,NumberLiteral:l,OffsetProcedureName:c,ArrayRowSeparator:s,ArrayColSeparator:a,WhiteSpace:o,allTokens:f,errorMapping:n,functionMapping:r,decimalSeparator:e.decimalSeparator,maxColumns:e.maxColumns,maxRows:e.maxRows}};
  658. /**
  659. * @license
  660. * Copyright (c) 2024 Handsoncode. All rights reserved.
  661. */
  662. class at extends j["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(j["EMPTY_ALT"])(X())}])),this.procedureExpression=this.RULE("procedureExpression",()=>{var e;const t=this.CONSUME(tt),n=t.image.toUpperCase().slice(0,-1),r=null!==(e=this.lexerConfig.functionMapping[n])&&void 0!==e?e:n,i=[];let o=this.SUBRULE(this.booleanExpressionOrEmpty);this.MANY(()=>{var e;const t=this.CONSUME(this.lexerConfig.ArgSeparator);o.type===Y.EMPTY&&(o.leadingWhitespace=null===(e=t.leadingWhitespace)||void 0===e?void 0:e.image),i.push(o),o=this.SUBRULE2(this.booleanExpressionOrEmpty)}),i.push(o),1===i.length&&i[0].type===Y.EMPTY&&(i.length=0);const s=this.CONSUME(Ke);return fe(r,i,t.leadingWhitespace,s.leadingWhitespace)}),this.namedExpressionExpression=this.RULE("namedExpressionExpression",()=>{const e=this.CONSUME(ot);return Ae(e.image,e.leadingWhitespace)}),this.offsetProcedureExpression=this.RULE("offsetProcedureExpression",()=>{const e=[];return this.CONSUME(this.lexerConfig.OffsetProcedureName),this.CONSUME(Xe),this.MANY_SEP({SEP:this.lexerConfig.ArgSeparator,DEF:()=>{e.push(this.SUBRULE(this.booleanExpression))}}),this.CONSUME(Ke),this.handleOffsetHeuristic(e)}),this.columnRangeExpression=this.RULE("columnRangeExpression",()=>{const e=this.CONSUME($e),[t,n]=e.image.split(":"),r=this.ACTION(()=>N(this.sheetMapping,t,this.formulaAddress)),i=this.ACTION(()=>N(this.sheetMapping,n,this.formulaAddress));if(void 0===r||void 0===i)return _e(new lr(Vn.REF));if(r.exceedsSheetSizeLimits(this.lexerConfig.maxColumns)||i.exceedsSheetSizeLimits(this.lexerConfig.maxColumns))return be(e.image,new lr(Vn.NAME),e.leadingWhitespace);if(void 0===r.sheet&&void 0!==i.sheet)return this.parsingError(W.ParserError,"Malformed range expression");const{firstEnd:o,secondEnd:s,sheetRefType:a}=at.fixSheetIdsForRangeEnds(r,i);return q(o,s,a,e.leadingWhitespace)}),this.rowRangeExpression=this.RULE("rowRangeExpression",()=>{const e=this.CONSUME(et),[t,n]=e.image.split(":"),r=this.ACTION(()=>L(this.sheetMapping,t,this.formulaAddress)),i=this.ACTION(()=>L(this.sheetMapping,n,this.formulaAddress));if(void 0===r||void 0===i)return _e(new lr(Vn.REF));if(r.exceedsSheetSizeLimits(this.lexerConfig.maxRows)||i.exceedsSheetSizeLimits(this.lexerConfig.maxRows))return be(e.image,new lr(Vn.NAME),e.leadingWhitespace);if(void 0===r.sheet&&void 0!==i.sheet)return this.parsingError(W.ParserError,"Malformed range expression");const{firstEnd:o,secondEnd:s,sheetRefType:a}=at.fixSheetIdsForRangeEnds(r,i);return J(o,s,a,e.leadingWhitespace)}),this.cellReference=this.RULE("cellReference",()=>{const e=this.CONSUME(rt),t=this.ACTION(()=>x(this.sheetMapping,e.image,this.formulaAddress));return void 0===t?be(e.image,new lr(Vn.REF),e.leadingWhitespace):t.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)?be(e.image,new lr(Vn.NAME),e.leadingWhitespace):Z(t,e.leadingWhitespace)}),this.endRangeReference=this.RULE("endRangeReference",e=>{var t;const n=this.CONSUME(rt),r=this.ACTION(()=>x(this.sheetMapping,e.image,this.formulaAddress)),i=this.ACTION(()=>x(this.sheetMapping,n.image,this.formulaAddress));return void 0===r||void 0===i?this.ACTION(()=>be(`${e.image}:${n.image}`,new lr(Vn.REF),e.leadingWhitespace)):r.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)||i.exceedsSheetSizeLimits(this.lexerConfig.maxColumns,this.lexerConfig.maxRows)?this.ACTION(()=>be(`${e.image}:${n.image}`,new lr(Vn.NAME),e.leadingWhitespace)):this.buildCellRange(r,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 n=this.SUBRULE(this.offsetProcedureExpression),r=this.ACTION(()=>x(this.sheetMapping,e.image,this.formulaAddress));return void 0===r?_e(new lr(Vn.REF)):n.type===Y.CELL_REFERENCE?this.buildCellRange(r,n.reference,null===(t=e.leadingWhitespace)||void 0===t?void 0:t.image):this.parsingError(W.RangeOffsetNotAllowed,"Range offset not allowed here")}}])),this.cellRangeExpression=this.RULE("cellRangeExpression",()=>{const e=this.CONSUME(rt);return this.CONSUME2(Je),this.SUBRULE(this.endOfRangeExpression,{ARGS:[e]})}),this.endRangeWithOffsetStartReference=this.RULE("endRangeWithOffsetStartReference",e=>{const t=this.CONSUME(rt),n=this.ACTION(()=>x(this.sheetMapping,t.image,this.formulaAddress));return void 0===n?this.ACTION(()=>_e(new lr(Vn.REF))):this.buildCellRange(e.reference,n,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===Y.CELL_REFERENCE?this.buildCellRange(e.reference,t.reference,e.leadingWhitespace):this.parsingError(W.RangeOffsetNotAllowed,"Range offset not allowed here")}}])),this.offsetExpression=this.RULE("offsetExpression",()=>{const e=this.SUBRULE(this.offsetProcedureExpression);let t;return this.OPTION(()=>{this.CONSUME(Je),t=e.type===Y.CELL_RANGE?this.parsingError(W.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(Xe),t=this.SUBRULE(this.booleanExpression),n=this.CONSUME(Ke);return ge(t,e.leadingWhitespace,n.leadingWhitespace)}),this.arrayExpression=this.RULE("arrayExpression",()=>this.OR([{ALT:()=>{const e=this.CONSUME(Ge),t=this.SUBRULE(this.insideArrayExpression),n=this.CONSUME(Ze);return me(t.args,e.leadingWhitespace,n.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 K(this.numericStringToNumber(e.image),e.leadingWhitespace)}},{ALT:()=>{const e=this.CONSUME(ze);return G(e)}},{ALT:()=>{const e=this.CONSUME(qe),t=e.image.toUpperCase(),n=this.lexerConfig.errorMapping[t];return n?_e(new lr(n),e.leadingWhitespace):this.parsingError(W.ParserError,"Unknown error literal")}}])}),this.rightUnaryOpAtomicExpression=this.RULE("rightUnaryOpAtomicExpression",()=>{const e=this.SUBRULE(this.positiveAtomicExpression),t=this.OPTION(()=>this.CONSUME(ke));return t?pe(e,t.leadingWhitespace):e}),this.atomicExpression=this.RULE("atomicExpression",()=>this.OR([{ALT:()=>{const e=this.CONSUME(xe),t=this.SUBRULE(this.atomicExpression);return Object(j["tokenMatcher"])(e,Ne)?he(t,e.leadingWhitespace):Object(j["tokenMatcher"])(e,Le)?de(t,e.leadingWhitespace):(this.customParsingError=V(W.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(Fe),n=this.SUBRULE2(this.atomicExpression);Object(j["tokenMatcher"])(t,Fe)?e=ue(e,n,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),n=this.SUBRULE2(this.powerExpression);Object(j["tokenMatcher"])(t,Pe)?e=le(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,De)?e=ce(e,n,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(xe),n=this.SUBRULE2(this.multiplicationExpression);Object(j["tokenMatcher"])(t,Ne)?e=se(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,Le)?e=ae(e,n,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),n=this.SUBRULE2(this.additionExpression);e=$(e,n,t.leadingWhitespace)}),e}),this.booleanExpression=this.RULE("booleanExpression",()=>{let e=this.SUBRULE(this.concatenateExpression);return this.MANY(()=>{const t=this.CONSUME(Be),n=this.SUBRULE2(this.concatenateExpression);Object(j["tokenMatcher"])(t,Ue)?e=ee(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,He)?e=te(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,je)?e=ne(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,Ve)?e=re(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,We)?e=ie(e,n,t.leadingWhitespace):Object(j["tokenMatcher"])(t,Ye)?e=oe(e,n,t.leadingWhitespace):this.ACTION(()=>{throw Error("Operator not supported")})}),e}),this.formula=this.RULE("formula",()=>(this.CONSUME(Ue),this.SUBRULE(this.booleanExpression))),this.lexerConfig=e,this.sheetMapping=t,this.formulaAddress=pr(0,0,0),this.performSelfAnalysis()}parseFromTokens(e,t){this.input=e;let n=this.formulaWithContext(t),r=[];return this.customParsingError&&r.push(this.customParsingError),r=r.concat(this.errors.map(e=>({type:W.ParserError,message:e.message}))),r.length>0&&(n=ve()),{ast:n,errors:r}}reset(){super.reset(),this.customParsingError=void 0}formulaWithContext(e){return this.formulaAddress=e,this.formula()}buildCellRange(e,t,n){if(void 0===e.sheet&&void 0!==t.sheet)return this.parsingError(W.ParserError,"Malformed range expression");const{firstEnd:r,secondEnd:i,sheetRefType:o}=at.fixSheetIdsForRangeEnds(e,t);return z(r,i,o,n)}static fixSheetIdsForRangeEnds(e,t){const n=at.rangeSheetReferenceType(e.sheet,t.sheet),r=void 0!==e.sheet&&void 0===t.sheet?t.withSheet(e.sheet):t;return{firstEnd:e,secondEnd:r,sheetRefType:n}}handleOffsetHeuristic(e){const t=e[0];if(t.type!==Y.CELL_REFERENCE)return this.parsingError(W.StaticOffsetError,"First argument to OFFSET is not a reference");const n=e[1];let r;if(n.type===Y.NUMBER&&Number.isInteger(n.value))r=n.value;else if(n.type===Y.PLUS_UNARY_OP&&n.value.type===Y.NUMBER&&Number.isInteger(n.value.value))r=n.value.value;else{if(n.type!==Y.MINUS_UNARY_OP||n.value.type!==Y.NUMBER||!Number.isInteger(n.value.value))return this.parsingError(W.StaticOffsetError,"Second argument to OFFSET is not a static number");r=-n.value.value}const o=e[2];let s;if(o.type===Y.NUMBER&&Number.isInteger(o.value))s=o.value;else if(o.type===Y.PLUS_UNARY_OP&&o.value.type===Y.NUMBER&&Number.isInteger(o.value.value))s=o.value.value;else{if(o.type!==Y.MINUS_UNARY_OP||o.value.type!==Y.NUMBER||!Number.isInteger(o.value.value))return this.parsingError(W.StaticOffsetError,"Third argument to OFFSET is not a static number");s=-o.value.value}const a=e[3];let c;if(void 0===a)c=1;else{if(a.type!==Y.NUMBER)return this.parsingError(W.StaticOffsetError,"Fourth argument to OFFSET is not a static number");if(c=a.value,c<1)return this.parsingError(W.StaticOffsetError,"Fourth argument to OFFSET is too small number");if(!Number.isInteger(c))return this.parsingError(W.StaticOffsetError,"Fourth argument to OFFSET is not integer")}const u=e[4];let d;if(void 0===u)d=1;else{if(u.type!==Y.NUMBER)return this.parsingError(W.StaticOffsetError,"Fifth argument to OFFSET is not a static number");if(d=u.value,d<1)return this.parsingError(W.StaticOffsetError,"Fifth argument to OFFSET is too small number");if(!Number.isInteger(d))return this.parsingError(W.StaticOffsetError,"Fifth argument to OFFSET is not integer")}const h=new l(t.reference.col+s,t.reference.row+r,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 lr(Vn.REF,Te.OutOfSheet));if(1===d&&1===c)return Z(h);{const e=new l(h.col+d-1,h.row+c-1,h.type);return z(h,e,Q.RELATIVE)}}parsingError(e,t){return this.customParsingError=V(e,t),ve()}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 j["Lexer"](e.allTokens,{ensureOptimizations:!0})}tokenizeFormula(e){const t=this.lexer.tokenize(e);let n=t.tokens;return n=this.trimTrailingWhitespaces(n),n=this.skipWhitespacesInsideRanges(n),n=this.skipWhitespacesBeforeArgSeparators(n),t.tokens=n,t}skipWhitespacesInsideRanges(e){return lt.filterTokensByNeighbors(e,(e,t,n)=>(Object(j["tokenMatcher"])(e,rt)||Object(j["tokenMatcher"])(e,Je))&&Object(j["tokenMatcher"])(t,this.lexerConfig.WhiteSpace)&&(Object(j["tokenMatcher"])(n,rt)||Object(j["tokenMatcher"])(n,Je)))}skipWhitespacesBeforeArgSeparators(e){return lt.filterTokensByNeighbors(e,(e,t,n)=>!Object(j["tokenMatcher"])(e,this.lexerConfig.ArgSeparator)&&Object(j["tokenMatcher"])(t,this.lexerConfig.WhiteSpace)&&Object(j["tokenMatcher"])(n,this.lexerConfig.ArgSeparator))}static filterTokensByNeighbors(e,t){if(e.length<3)return e;let n=0;const r=[e[n++]];while(n<e.length-1)t(e[n-1],e[n],e[n+1])||r.push(e[n]),++n;return r.push(e[n]),r}trimTrailingWhitespaces(e){return e.length>0&&Object(j["tokenMatcher"])(e[e.length-1],this.lexerConfig.WhiteSpace)&&e.pop(),e}}
  663. /**
  664. * @license
  665. * Copyright (c) 2024 Handsoncode. All rights reserved.
  666. */class ct{constructor(e,t,n,r){this.config=e,this.lexerConfig=t,this.sheetMappingFn=n,this.namedExpressions=r}unparse(e,t){return"="+this.unparseAst(e,t)}unparseAst(e,t){var n,r;switch(e.type){case Y.EMPTY:return ye("",e.leadingWhitespace);case Y.NUMBER:return ye(ut(e.value,this.config.decimalSeparator),e.leadingWhitespace);case Y.STRING:return ye('"'+e.value+'"',e.leadingWhitespace);case Y.FUNCTION_CALL:{const n=e.args.map(e=>void 0!==e?this.unparseAst(e,t):"").join(this.config.functionArgSeparator),r=this.config.translationPackage.isFunctionTranslated(e.procedureName)?this.config.translationPackage.getFunctionTranslation(e.procedureName):e.procedureName,i=r+"("+n+ye(")",e.internalWhitespace);return ye(i,e.leadingWhitespace)}case Y.NAMED_EXPRESSION:{const r=null===(n=this.namedExpressions.nearestNamedExpression(e.expressionName,t.sheet))||void 0===n?void 0:n.displayName;return ye(r||e.expressionName,e.leadingWhitespace)}case Y.CELL_REFERENCE:{let n;return n=void 0!==e.reference.sheet?this.unparseSheetName(e.reference.sheet)+"!":"",n+=null!==(r=e.reference.unparse(t))&&void 0!==r?r:this.config.translationPackage.getErrorTranslation(Vn.REF),ye(n,e.leadingWhitespace)}case Y.COLUMN_RANGE:case Y.ROW_RANGE:case Y.CELL_RANGE:return ye(this.formatRange(e,t),e.leadingWhitespace);case Y.PLUS_UNARY_OP:{const n=this.unparseAst(e.value,t);return ye("+",e.leadingWhitespace)+n}case Y.MINUS_UNARY_OP:{const n=this.unparseAst(e.value,t);return ye("-",e.leadingWhitespace)+n}case Y.PERCENT_OP:return this.unparseAst(e.value,t)+ye("%",e.leadingWhitespace);case Y.ERROR:{const t=this.config.translationPackage.getErrorTranslation(e.error?e.error.type:Vn.ERROR);return ye(t,e.leadingWhitespace)}case Y.ERROR_WITH_RAW_INPUT:return ye(e.rawInput,e.leadingWhitespace);case Y.PARENTHESIS:{const n=this.unparseAst(e.expression,t),r="("+n+ye(")",e.internalWhitespace);return ye(r,e.leadingWhitespace)}case Y.ARRAY:{const n="{"+e.args.map(e=>e.map(e=>this.unparseAst(e,t)).join(this.config.arrayColumnSeparator)).join(this.config.arrayRowSeparator)+ye("}",e.internalWhitespace);return ye(n,e.leadingWhitespace)}default:{const n=this.unparseAst(e.left,t),r=this.unparseAst(e.right,t);return n+ye(Re[e.type],e.leadingWhitespace)+r}}}unparseSheetName(e){const t=U(e,this.sheetMappingFn);if(void 0===t)throw new Vt(e);return t}formatRange(e,t){let n="",r="";void 0!==e.start.sheet&&e.sheetReferenceType!==Q.RELATIVE&&(n=this.unparseSheetName(e.start.sheet)+"!"),void 0!==e.end.sheet&&e.sheetReferenceType===Q.BOTH_ABSOLUTE&&(r=this.unparseSheetName(e.end.sheet)+"!");const i=e.start.unparse(t),o=e.end.unparse(t);return void 0===i||void 0===o?this.config.translationPackage.getErrorTranslation(Vn.REF):`${n}${i}:${r}${o}`}}function ut(e,t){const n=e.toString();return n.replace(".",t)}
  667. /**
  668. * @license
  669. * Copyright (c) 2024 Handsoncode. All rights reserved.
  670. */class dt{constructor(e,t,n){this.config=e,this.functionRegistry=t,this.sheetMapping=n,this.statsCacheUsed=0,this.lexerConfig=st(e),this.lexer=new lt(this.lexerConfig),this.formulaParser=new at(this.lexerConfig,this.sheetMapping),this.cache=new Se(this.functionRegistry)}parse(e,t){this.formulaAddress=t;const n=this.tokenizeFormula(e);if(n.errors.length>0){const e=n.errors.map(e=>({type:W.LexingError,message:e.message}));return{ast:ve(),errors:e,hasVolatileFunction:!1,hasStructuralChangeFunction:!1,dependencies:[]}}const r=this.computeHashFromTokens(n.tokens,t);let i=this.cache.get(r);if(void 0!==i)++this.statsCacheUsed;else{const e=this.bindWhitespacesToTokens(n.tokens),o=this.formulaParser.parseFromTokens(e,t);if(o.errors.length>0)return Object.assign(Object.assign({},o),{hasVolatileFunction:!1,hasStructuralChangeFunction:!1,dependencies:[]});i=this.cache.set(r,o.ast)}const{ast:o,hasVolatileFunction:s,hasStructuralChangeFunction:a}=i,l=this.convertReversedRangesToRegularRanges(o),c=pt(l,this.functionRegistry);return{ast:l,errors:[],hasVolatileFunction:s,hasStructuralChangeFunction:a,dependencies:c}}convertReversedRangesToRegularRanges(e){switch(e.type){case Y.EMPTY:case Y.NUMBER:case Y.STRING:case Y.ERROR:case Y.ERROR_WITH_RAW_INPUT:case Y.CELL_REFERENCE:case Y.NAMED_EXPRESSION:return e;case Y.CELL_RANGE:{const{start:t,end:n}=e,r=this.orderCellRangeEnds(t,n);return Object.assign(Object.assign({},e),{start:r.start,end:r.end})}case Y.COLUMN_RANGE:{const{start:t,end:n}=e,r=this.orderColumnRangeEnds(t,n);return Object.assign(Object.assign({},e),{start:r.start,end:r.end})}case Y.ROW_RANGE:{const{start:t,end:n}=e,r=this.orderRowRangeEnds(t,n);return Object.assign(Object.assign({},e),{start:r.start,end:r.end})}case Y.PERCENT_OP:case Y.PLUS_UNARY_OP:case Y.MINUS_UNARY_OP:{const t=this.convertReversedRangesToRegularRanges(e.value);return Object.assign(Object.assign({},e),{value:t})}case Y.CONCATENATE_OP:case Y.EQUALS_OP:case Y.NOT_EQUAL_OP:case Y.LESS_THAN_OP:case Y.GREATER_THAN_OP:case Y.LESS_THAN_OR_EQUAL_OP:case Y.GREATER_THAN_OR_EQUAL_OP:case Y.MINUS_OP:case Y.PLUS_OP:case Y.TIMES_OP:case Y.DIV_OP:case Y.POWER_OP:{const t=this.convertReversedRangesToRegularRanges(e.left),n=this.convertReversedRangesToRegularRanges(e.right);return Object.assign(Object.assign({},e),{left:t,right:n})}case Y.PARENTHESIS:{const t=this.convertReversedRangesToRegularRanges(e.expression);return Object.assign(Object.assign({},e),{expression:t})}case Y.FUNCTION_CALL:{const t=e.args.map(e=>this.convertReversedRangesToRegularRanges(e));return Object.assign(Object.assign({},e),{args:t})}case Y.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 n=[e,t],[r,i]=n.map(e=>e.toColumnAddress()).sort(s.compareByAbsoluteAddress(this.formulaAddress)),[o,c]=n.map(e=>e.toRowAddress()).sort(a.compareByAbsoluteAddress(this.formulaAddress)),[u,d]=n.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:l.fromColAndRow(r,o,u),end:l.fromColAndRow(i,c,d)}}orderColumnRangeEnds(e,t){const n=[e,t],[r,i]=n.sort(s.compareByAbsoluteAddress(this.formulaAddress)),[o,a]=n.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:new s(r.type,r.col,o),end:new s(i.type,i.col,a)}}orderRowRangeEnds(e,t){const n=[e,t],[r,i]=n.sort(a.compareByAbsoluteAddress(this.formulaAddress)),[o,s]=n.map(e=>e.sheet).sort(dt.compareSheetIds.bind(this));return{start:new a(r.type,r.row,o),end:new a(i.type,i.row,s)}}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:n,hasStructuralChangeFunction:r,relativeDependencies:i}=t;return{ast:e,errors:[],hasVolatileFunction:n,hasStructuralChangeFunction:r,dependencies:i}}}computeHashFromTokens(e,t){var n;let r="",i=0;while(i<e.length){const o=e[i];if(Object(j["tokenMatcher"])(o,rt)){const e=x(this.sheetMapping,o.image,t);r=void 0===e?r.concat(o.image):r.concat(e.hash(!0))}else if(Object(j["tokenMatcher"])(o,tt)){const e=o.image.toUpperCase().slice(0,-1),t=null!==(n=this.lexerConfig.functionMapping[e])&&void 0!==n?n:e;r=r.concat(t,"(")}else if(Object(j["tokenMatcher"])(o,$e)){const[e,n]=o.image.split(":"),i=N(this.sheetMapping,e,t),s=N(this.sheetMapping,n,t);r=void 0===i||void 0===s?r.concat("!REF"):r.concat(i.hash(!0),":",s.hash(!0))}else if(Object(j["tokenMatcher"])(o,et)){const[e,n]=o.image.split(":"),i=L(this.sheetMapping,e,t),s=L(this.sheetMapping,n,t);r=void 0===i||void 0===s?r.concat("!REF"):r.concat(i.hash(!0),":",s.hash(!0))}else r=r.concat(o.image);i++}return r}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 Y.EMPTY:return e.leadingWhitespace||"";case Y.NUMBER:return ye(ut(e.value,this.config.decimalSeparator),e.leadingWhitespace);case Y.STRING:return ye('"'+e.value+'"',e.leadingWhitespace);case Y.NAMED_EXPRESSION:return ye(e.expressionName,e.leadingWhitespace);case Y.FUNCTION_CALL:{const t=e.args.map(e=>this.computeHashOfAstNode(e)).join(this.config.functionArgSeparator),n=e.procedureName+"("+t+ye(")",e.internalWhitespace);return ye(n,e.leadingWhitespace)}case Y.CELL_REFERENCE:return ye(e.reference.hash(!0),e.leadingWhitespace);case Y.COLUMN_RANGE:case Y.ROW_RANGE:case Y.CELL_RANGE:{const t=e.start.hash(e.sheetReferenceType!==Q.RELATIVE),n=e.end.hash(e.sheetReferenceType===Q.BOTH_ABSOLUTE);return ye(t+":"+n,e.leadingWhitespace)}case Y.MINUS_UNARY_OP:return ye("-"+this.computeHashOfAstNode(e.value),e.leadingWhitespace);case Y.PLUS_UNARY_OP:return ye("+"+this.computeHashOfAstNode(e.value),e.leadingWhitespace);case Y.PERCENT_OP:return this.computeHashOfAstNode(e.value)+ye("%",e.leadingWhitespace);case Y.ERROR:{const t=this.config.translationPackage.getErrorTranslation(e.error?e.error.type:Vn.ERROR);return ye(t,e.leadingWhitespace)}case Y.ERROR_WITH_RAW_INPUT:return ye(e.rawInput,e.leadingWhitespace);case Y.ARRAY:{const t=e.args.map(e=>e.map(e=>this.computeHashOfAstNode(e)).join(",")).join(";");return ye("{"+t+ye("}",e.internalWhitespace),e.leadingWhitespace)}case Y.PARENTHESIS:{const t=this.computeHashOfAstNode(e.expression),n="("+t+ye(")",e.internalWhitespace);return ye(n,e.leadingWhitespace)}default:return this.computeHashOfAstNode(e.left)+ye(Re[e.type],e.leadingWhitespace)+this.computeHashOfAstNode(e.right)}}bindWhitespacesToTokens(e){const t=[],n=e[0];Object(j["tokenMatcher"])(n,this.lexerConfig.WhiteSpace)||t.push(n);for(let r=1;r<e.length;++r){const n=e[r];if(Object(j["tokenMatcher"])(n,this.lexerConfig.WhiteSpace))continue;const i=e[r-1];Object(j["tokenMatcher"])(i,this.lexerConfig.WhiteSpace)&&(n.leadingWhitespace=i),t.push(n)}return t}tokenizeFormula(e){return this.lexer.tokenizeFormula(e)}}
  671. /**
  672. * @license
  673. * Copyright (c) 2024 Handsoncode. All rights reserved.
  674. */const ht=(e,t,n,r)=>{switch(e.type){case Y.EMPTY:case Y.NUMBER:case Y.STRING:case Y.ERROR:return;case Y.NAMED_EXPRESSION:return void(r&&n.push(new _t(e.expressionName)));case Y.CELL_REFERENCE:return void(r&&n.push(new ft(e.reference)));case Y.CELL_RANGE:return void(r&&e.start.sheet===e.end.sheet&&n.push(new mt(e.start,e.end)));case Y.COLUMN_RANGE:return void(r&&e.start.sheet===e.end.sheet&&n.push(new At(e.start,e.end)));case Y.ROW_RANGE:return void(r&&e.start.sheet===e.end.sheet&&n.push(new gt(e.start,e.end)));case Y.PERCENT_OP:case Y.PLUS_UNARY_OP:case Y.MINUS_UNARY_OP:return void ht(e.value,t,n,!0);case Y.CONCATENATE_OP:case Y.EQUALS_OP:case Y.NOT_EQUAL_OP:case Y.LESS_THAN_OP:case Y.GREATER_THAN_OP:case Y.LESS_THAN_OR_EQUAL_OP:case Y.GREATER_THAN_OR_EQUAL_OP:case Y.MINUS_OP:case Y.PLUS_OP:case Y.TIMES_OP:case Y.DIV_OP:case Y.POWER_OP:return ht(e.left,t,n,!0),void ht(e.right,t,n,!0);case Y.PARENTHESIS:return void ht(e.expression,t,n,r);case Y.FUNCTION_CALL:{const r=!t.doesFunctionNeedArgumentToBeComputed(e.procedureName);return void e.args.forEach(e=>ht(e,t,n,r))}}},pt=(e,t)=>{const n=new Array;return ht(e,t,n,!0),n};
  675. /**
  676. * @license
  677. * Copyright (c) 2024 Handsoncode. All rights reserved.
  678. */
  679. 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 Rr(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),n=this.end.toSimpleColumnAddress(e);return new Mr(t.sheet,t.col,n.col)}}class gt{constructor(e,t){this.start=e,this.end=t}absolutize(e){const t=this.start.toSimpleRowAddress(e),n=this.end.toSimpleRowAddress(e);return new Sr(t.sheet,t.row,n.row)}}class _t{constructor(e){this.name=e}absolutize(e){return this}}
  680. /**
  681. * @license
  682. * Copyright (c) 2024 Handsoncode. All rights reserved.
  683. */
  684. /**
  685. * @license
  686. * Copyright (c) 2024 Handsoncode. All rights reserved.
  687. */const bt=(e,t)=>e.map(e=>e.absolutize(t)),vt=e=>e.filter(e=>e instanceof _t||(e instanceof Rr?!(fr(e.start)||fr(e.end)):!fr(e))),wt=Symbol("Empty value");function yt(e){return e instanceof Rt?e.val:e}class Rt{constructor(e,t){this.val=e,this.format=t}fromNumber(e){return new this.constructor(e)}}function Mt(e,t){if("number"===typeof e)return t;{const n=e.fromNumber(t);return n.format=e.format,n}}class St extends Rt{getDetailedType(){return Nt.NUMBER_DATE}}class Et extends Rt{getDetailedType(){return Nt.NUMBER_CURRENCY}}class Tt extends Rt{getDetailedType(){return Nt.NUMBER_TIME}}class Ct extends Rt{getDetailedType(){return Nt.NUMBER_DATETIME}}class Ot extends Rt{getDetailedType(){return Nt.NUMBER_PERCENT}}function xt(e){return"number"===typeof e||e instanceof Rt}var Nt,Lt;function It(e){return e instanceof Rt?e.getDetailedType():Nt.NUMBER_RAW}function Pt(e){return e instanceof Rt?e.format:void 0}function Dt(e){return e instanceof Rt?{type:e.getDetailedType(),format:e.format}:{type:Nt.NUMBER_RAW}}
  688. /**
  689. * @license
  690. * Copyright (c) 2024 Handsoncode. All rights reserved.
  691. */(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"})(Nt||(Nt={}));class Ft{constructor(e,t,n,r){this._data=e,this.range=t,this.dependencyGraph=n,this._hasOnlyNumbers=r,this.size=void 0===e?new ei(t.effectiveWidth(n),t.effectiveHeight(n)):new ei(e[0].length,e.length)}get data(){return this.ensureThatComputed(),this._data}static fromRange(e,t,n){return new Ft(e,t,n,!0)}static onlyNumbers(e){return new Ft(e,void 0,void 0,!0)}static onlyValues(e){return new Ft(e,void 0,void 0,void 0)}static onlyRange(e,t){return new Ft(void 0,e,t,void 0)}static fromScalar(e){return new Ft([[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 n=0;n<this._data[0].length;n++)e.push(this._data[t][n]);return e}*effectiveAddressesFromData(e){for(let t=0;t<this.data.length;++t){const n=this.data[t];for(let r=0;r<n.length;++r)yield pr(e.sheet,e.col+r,e.row+t)}}*entriesFromTopLeftCorner(e){this.ensureThatComputed();for(let t=0;t<this.size.height;++t)for(let n=0;n<this.size.width;++n)yield[this._data[t][n],pr(e.sheet,e.col+n,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 Ft?(this._hasOnlyNumbers=!1,new lr(Vn.VALUE,Te.ScalarExpected)):(xt(t)||(this._hasOnlyNumbers=!1),t)}))}}
  692. /**
  693. * @license
  694. * Copyright (c) 2024 Handsoncode. All rights reserved.
  695. */class kt{constructor(){this.changes=new Map}static empty(){return new kt}addAll(e){for(const t of e.changes.values())this.add(t.address,t);return this}addChange(e,t,n){this.addInterpreterValue(e,t,n)}exportChanges(e){let t=[];return this.changes.forEach(n=>{const r=e.exportChange(n);Array.isArray(r)?t=t.concat(r):t.push(r)}),t}getChanges(){return Array.from(this.changes.values())}isEmpty(){return 0===this.changes.size}add(e,t){const n=t.value;if(n instanceof Ft)for(const r of n.effectiveAddressesFromData(e))this.changes.delete(Ar(r));this.changes.set(Ar(e),t)}addInterpreterValue(e,t,n){this.add(t,{address:t,value:e,oldValue:n})}}
  696. /**
  697. * @license
  698. * Copyright (c) 2024 Handsoncode. All rights reserved.
  699. */class Bt{constructor(e,t,n){if(this.sheet=e,this.rowStart=t,this.rowEnd=n,t<0)throw Error("Starting row cant be less than 0");if(n<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,n){return new Bt(e,t,t+n-1)}static fromRowStartAndEnd(e,t,n){return new Bt(e,t,n)}*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),n=Math.min(this.rowEnd,e.rowEnd);return t>n?null:new Bt(this.sheet,t,n)}firstRow(){return new Bt(this.sheet,this.rowStart,this.rowStart)}}class Ut{constructor(e,t,n){if(this.sheet=e,this.columnStart=t,this.columnEnd=n,t<0)throw Error("Starting column cant be less than 0");if(n<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,n){return new Ut(e,t,t+n-1)}static fromColumnStartAndEnd(e,t,n){return new Ut(e,t,n)}*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),n=Math.min(this.columnEnd,e.columnEnd);return t>n?null:new Ut(this.sheet,t,n)}firstColumn(){return new Ut(this.sheet,this.columnStart,this.columnStart)}}
  700. /**
  701. * @license
  702. * Copyright (c) 2024 Handsoncode. All rights reserved.
  703. */(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={}));
  704. /**
  705. * @license
  706. * Copyright (c) 2024 Handsoncode. All rights reserved.
  707. */
  708. class Ht{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 n=Date.now(),r=this.startTimes.get(e);if(!r)throw Error(`Statistics ${e} not started`);{let i=null!==(t=this.stats.get(e))&&void 0!==t?t:0;i+=n-r,this.stats.set(e,i),this.startTimes.delete(e)}}measure(e,t){this.start(e);const n=t();return this.end(e),n}snapshot(){return new Map(this.stats)}}
  709. /**
  710. * @license
  711. * Copyright (c) 2024 Handsoncode. All rights reserved.
  712. */class jt extends Ht{incrementCriterionFunctionFullCacheUsed(){}incrementCriterionFunctionPartialCacheUsed(){}start(e){}end(e){}}
  713. /**
  714. * @license
  715. * Copyright (c) 2024 Handsoncode. All rights reserved.
  716. */
  717. /**
  718. * @license
  719. * Copyright (c) 2024 Handsoncode. All rights reserved.
  720. */class Vt extends Error{constructor(e){super("There's no sheet with id = "+e)}}class Wt extends Error{constructor(e){super(`There's no sheet with name '${e}'`)}}class Yt extends Error{constructor(e){super(`Sheet with name ${e} already exists`)}}class Qt extends Error{constructor(){super("Sheet size limit exceeded")}}class Xt extends Error{constructor(){super("This is not a formula")}}class Kt 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 Zt extends Error{constructor(e,t){super(`Sheets ${e} and ${t} are not equal.`)}}class zt extends Error{constructor(e){super(`Name of Named Expression '${e}' is already present`)}}class qt extends Error{constructor(e){super(`Name of Named Expression '${e}' is invalid`)}}class Jt extends Error{constructor(e){super(`Named Expression '${e}' does not exist`)}}class $t extends Error{constructor(){super("There is no operation to undo")}}class en extends Error{constructor(){super("There is no operation to redo")}}class tn extends Error{constructor(){super("There is nothing to paste")}}function nn(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 rn extends Error{constructor(e){super("Unable to parse value: "+JSON.stringify(e,nn,4))}}class on extends Error{constructor(e,t){super(`Expected value of type: ${e} for config parameter: ${t}`)}}class sn extends Error{constructor(e){super(`Config parameter ${e} cannot be empty.`)}}class an extends Error{constructor(e,t){super(`Config parameter ${e} should be at least ${t}`)}}class ln extends Error{constructor(e,t){super(`Config parameter ${e} should be at most ${t}`)}}class cn extends Error{constructor(e,t){super(`Expected one of ${e} for config parameter: ${t}`)}}class un extends Error{constructor(){super("Computations are suspended")}}class dn extends Error{constructor(e){super(`Translation for ${e} is missing in the translation package you're using.`)}}class hn extends Error{constructor(e){super("Cannot register translation for function with id: "+e)}}class pn extends Error{constructor(){super("Language not registered.")}}class fn extends Error{constructor(){super("Language already registered.")}}class mn extends Error{static functionNotDeclaredInPlugin(e,t){return new mn(`Function with id ${e} not declared in plugin ${t}`)}static functionMethodNotFound(e,t){return new mn(`Function method ${e} not found in plugin ${t}`)}}class An extends Error{static cannotRegisterFunctionWithId(e){return new An("Cannot register function with id "+e)}static cannotUnregisterFunctionWithId(e){return new An("Cannot unregister function with id "+e)}static cannotUnregisterProtectedPlugin(){return new An("Cannot unregister protected plugin")}}class gn extends Error{constructor(){super("Cannot perform this operation, source location has an array inside.")}}class _n extends Error{constructor(){super("Cannot perform this operation, target location has an array inside.")}}class bn extends Error{constructor(){super("Relative addresses not allowed in named expressions.")}}class vn extends Error{constructor(e,t){super(`Alias id ${e} in plugin ${t} already defined as a function or alias.`)}}
  721. /**
  722. * @license
  723. * Copyright (c) 2024 Handsoncode. All rights reserved.
  724. */class wn{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 n=t.getCell(e);if(!n)throw Error("Vertex for address missing in AddressMapping");return n}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:n,width:r,fill:i}=t,o=this.policy.call(i);this.addSheet(e,new o(r,n))}getCellValue(e){const t=this.getCell(e);return void 0===t?wt:t instanceof Tn?t.getArrayCellValue(e):t.getCellValue()}getRawValue(e){const t=this.getCell(e);return t instanceof Zn?t.getValues().rawValue:t instanceof Tn?t.getArrayCellRawValue(e):null}setCell(e,t){const n=this.mapping.get(e.sheet);if(!n)throw Error("Sheet not initialized");n.setCell(e,t)}moveCell(e,t){const n=this.mapping.get(e.sheet);if(!n)throw Error("Sheet not initialized.");if(e.sheet!==t.sheet)throw Error("Cannot move cells between sheets.");if(n.has(t))throw new Error("Cannot move cell. Destination already occupied.");const r=n.getCell(e);if(void 0===r)throw new Error("Cannot move cell. No cell with such address.");this.setCell(t,r),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,n){const r=this.mapping.get(e);if(void 0===r)throw new Vt(e);r.addRows(t,n)}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,n){const r=this.mapping.get(e);if(void 0===r)throw new Vt(e);r.addColumns(t,n)}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)}}
  725. /**
  726. * @license
  727. * Copyright (c) 2024 Handsoncode. All rights reserved.
  728. */class yn{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(Ar(e))}setArray(e,t){this.arrayMapping.set(Ar(e.start),t)}removeArray(e){"string"===typeof e?this.arrayMapping.delete(e):this.arrayMapping.delete(Ar(e.start))}count(){return this.arrayMapping.size}*arraysInRows(e){for(const[t,n]of this.arrayMapping.entries())n.spansThroughSheetRows(e.sheet,e.rowStart,e.rowEnd)&&(yield[t,n])}*arraysInCols(e){for(const[t,n]of this.arrayMapping.entries())n.spansThroughSheetColumn(e.sheet,e.columnStart,e.columnEnd)&&(yield[t,n])}isFormulaArrayInRow(e,t){for(const n of this.arrayMapping.values())if(n.spansThroughSheetRows(e,t))return!0;return!1}isFormulaArrayInAllRows(e){let t=!0;for(const n of e.rows())this.isFormulaArrayInRow(e.sheet,n)||(t=!1);return t}isFormulaArrayInColumn(e,t){for(const n of this.arrayMapping.values())if(n.spansThroughSheetColumn(e,t))return!0;return!1}isFormulaArrayInAllColumns(e){let t=!0;for(const n of e.columns())this.isFormulaArrayInColumn(e.sheet,n)||(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,n){this.updateArrayVerticesInSheet(e,(e,r)=>{const i=r.getRange();return t<=i.start.row?[i.shifted(0,n),r]:void 0})}moveArrayVerticesAfterColumnByColumns(e,t,n){this.updateArrayVerticesInSheet(e,(e,r)=>{const i=r.getRange();return t<=i.start.col?[i.shifted(n,0),r]:void 0})}updateArrayVerticesInSheet(e,t){const n=Array();for(const[r,i]of this.arrayMapping.entries()){if(i.sheet!==e)continue;const o=t(r,i);void 0!==o&&(this.removeArray(r),n.push(o))}n.forEach(([e,t])=>{this.setArray(e,t)})}}
  729. /**
  730. * @license
  731. * Copyright (c) 2024 Handsoncode. All rights reserved.
  732. */class Rn{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 Mn{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 Mn(e instanceof Ft?e.data:[[e]])}simpleRangeValue(){return Ft.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 n=0;n<this.height();n++)this.array[n].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 n=t-e+1;this.array.splice(e,n),this.size.height-=n}removeColumns(e,t){if(this.outOfBound(e,0)||this.outOfBound(t,0))throw Error("Array index out of bound");const n=t-e+1;for(const r of this.array)r.splice(e,n);this.size.width-=n}nullArrays(e,t){const n=[];for(let r=0;r<e;++r)n.push(new Array(t).fill(wt));return n}get(e,t){if(this.outOfBound(e,t))throw Error("Array index out of bound");return this.array[t][e]}set(e,t,n){if(this.outOfBound(e,t))throw Error("Array index out of bound");this.array[t][e]=n}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 Sn{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}}
  733. /**
  734. * @license
  735. * Copyright (c) 2024 Handsoncode. All rights reserved.
  736. */class En{constructor(e,t,n){this.formula=e,this.cellAddress=t,this.version=n}get width(){return 1}get height(){return 1}static fromAst(e,t,n,r){return n.isScalar()?new Cn(e,t,r):new Tn(e,t,n,r)}getFormula(e){return this.ensureRecentData(e),this.formula}ensureRecentData(e){if(this.version!=e.version()){const[t,n,r]=e.applyTransformations(this.formula,this.cellAddress,this.version);this.formula=t,this.cellAddress=n,this.version=r}}getAddress(e){return this.ensureRecentData(e),this.cellAddress}}class Tn extends En{constructor(e,t,n,r=0){super(e,t,r),n.isRef?this.array=new Sn(new lr(Vn.REF,Te.NoSpaceForArrayResult),ei.error()):this.array=new Rn(n)}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 lr)return this.setErrorValue(e),e;const t=Mn.fromInterpreterValue(e);return t.resize(this.array.size),this.array=t,e}getCellValue(){if(this.array instanceof Rn)throw Error("Array not computed yet.");return this.array.simpleRangeValue()}valueOrUndef(){if(!(this.array instanceof Rn))return this.array.simpleRangeValue()}getArrayCellValue(e){const t=e.col-this.cellAddress.col,n=e.row-this.cellAddress.row;try{return this.array.get(t,n)}catch(r){return new lr(Vn.REF)}}getArrayCellRawValue(e){const t=this.getArrayCellValue(e);return t instanceof lr||t===wt?void 0:yt(t)}setArrayCellValue(e,t){const n=e.col-this.cellAddress.col,r=e.row-this.cellAddress.row;this.array instanceof Mn&&this.array.set(n,r,t)}setNoSpace(){return this.array=new Sn(new lr(Vn.SPILL,Te.NoSpaceForArrayResult),ei.error()),this.getCellValue()}getRange(){return Rr.spanFrom(this.cellAddress,this.width,this.height)}getRangeOrUndef(){return Rr.spanFromOrUndef(this.cellAddress,this.width,this.height)}setAddress(e){this.cellAddress=e}setFormula(e){this.formula=e}spansThroughSheetRows(e,t,n=t){return this.cellAddress.sheet===e&&this.cellAddress.row<=n&&t<this.cellAddress.row+this.height}spansThroughSheetColumn(e,t,n=t){return this.cellAddress.sheet===e&&this.cellAddress.col<=n&&t<this.cellAddress.col+this.width}isComputed(){return!(this.array instanceof Rn)}columnsFromArray(){return Ut.fromNumberOfColumns(this.cellAddress.sheet,this.cellAddress.col,this.width)}rowsFromArray(){return Bt.fromNumberOfRows(this.cellAddress.sheet,this.cellAddress.row,this.height)}ensureRecentData(e){}isLeftCorner(e){return br(this.cellAddress,e)}setErrorValue(e){this.array=new Sn(e,this.array.size)}}class Cn extends En{constructor(e,t,n){super(e,t,n)}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}}
  737. /**
  738. * @license
  739. * Copyright (c) 2024 Handsoncode. All rights reserved.
  740. */class On{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 n;return null===(n=this.getCriterionFunctionValues(e).get(t))||void 0===n?void 0:n[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}}
  741. /**
  742. * @license
  743. * Copyright (c) 2024 Handsoncode. All rights reserved.
  744. */const xn=(e,t,n,r,i)=>{if(t instanceof On){const e=t.range.intersectionWith(n);return void 0!==e?Array.from(e.addresses(i)):[]}let o,s;return t instanceof En?(o=t.getFormula(r),s=t.getAddress(r),pt(o,e).filter(e=>e instanceof ft).map(e=>e.dependency.toSimpleCellAddress(s)).filter(e=>n.addressInRange(e))):[]};
  745. /**
  746. * @license
  747. * Copyright (c) 2024 Handsoncode. All rights reserved.
  748. */var Nn;(function(e){e[e["ON_STACK"]=0]="ON_STACK",e[e["PROCESSED"]=1]="PROCESSED",e[e["POPPED"]=2]="POPPED"})(Nn||(Nn={}));class Ln{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,n){const r=e.reverse();return r.forEach(e=>this.runDFS(e)),this.postprocess(r,n,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]=Nn.ON_STACK;const t=[e],n=[];while(t.length>0){const e=t[t.length-1];switch(this.nodeStatus[e]){case Nn.ON_STACK:this.handleOnStack(e,n,t);break;case Nn.PROCESSED:this.handleProcessed(e,n,t);break;case Nn.POPPED:t.pop();break}}}handleOnStack(e,t,n){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]&&(n.push(t),this.parent[t]=e,this.nodeStatus[t]=Nn.ON_STACK)}),this.nodeStatus[e]=Nn.PROCESSED}handleProcessed(e,t,n){let r=this.entranceTime[e];if(this.getAdjacentNodeIds(e).forEach(t=>{this.inSCC[t]||(r=this.parent[t]===e?Math.min(r,this.low[t]):Math.min(r,this.entranceTime[t]))}),this.low[e]=r,r===this.entranceTime[e]){const n=[];do{n.push(t[t.length-1]),t.pop()}while(n[n.length-1]!==e);n.forEach(e=>{this.inSCC[e]=!0}),this.order.push(...n),n.length>1&&n.forEach(e=>{this.sccNonSingletons[e]=!0})}n.pop(),this.nodeStatus[e]=Nn.POPPED}postprocess(e,t,n){const r=[];e.forEach(e=>{r[e]=!0});const i=[],o=[];return this.order.reverse(),this.order.forEach(e=>{const s=this.getAdjacentNodeIds(e);this.sccNonSingletons[e]||s.includes(e)?(o.push(this.nodesSparseArray[e]),t(this.nodesSparseArray[e]),s.forEach(e=>r[e]=!0)):(i.push(this.nodesSparseArray[e]),r[e]&&n(this.nodesSparseArray[e])&&s.forEach(e=>r[e]=!0))}),{sorted:i,cycled:o}}}
  749. /**
  750. * @license
  751. * Copyright (c) 2024 Handsoncode. All rights reserved.
  752. */class In{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}}
  753. /**
  754. * @license
  755. * Copyright (c) 2024 Handsoncode. All rights reserved.
  756. */class Pn{constructor(e){this.dependencyQuery=e,this.nodesSparseArray=[],this.edgesSparseArray=[],this.nodesIds=new Map,this.dirtyAndVolatileNodeIds=new In({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 n=this.getNodeId(e),r=this.getNodeId(t);return void 0!==n&&void 0!==r&&this.edgesSparseArray[n].includes(r)}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 n=this.nextId;return this.nextId++,this.nodesSparseArray[n]=e,this.edgesSparseArray[n]=[],this.nodesIds.set(e,n),n}addEdge(e,t){const n=this.getNodeIdIfNotNumber(e),r=this.getNodeIdIfNotNumber(t);if(void 0===n)throw this.missingNodeError(e);if(void 0===r)throw this.missingNodeError(t);this.edgesSparseArray[n].includes(r)||this.edgesSparseArray[n].push(r)}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 n=this.removeDependencies(e);return delete this.nodesSparseArray[t],delete this.edgesSparseArray[t],this.infiniteRangeIds.delete(t),this.nodesIds.delete(e),n}removeEdge(e,t){const n=this.getNodeIdIfNotNumber(e),r=this.getNodeIdIfNotNumber(t);if(void 0===n)throw this.missingNodeError(e);if(void 0===r)throw this.missingNodeError(t);const i=this.edgesSparseArray[n].indexOf(r);if(-1===i)throw new Error("Edge does not exist");delete this.edgesSparseArray[n][i]}removeEdgeIfExists(e,t){const n=this.getNodeId(e),r=this.getNodeId(t);if(void 0===n)return;if(void 0===r)return;const i=this.edgesSparseArray[n].indexOf(r);-1!==i&&delete this.edgesSparseArray[n][i]}topSortWithScc(){return this.getTopSortedWithSccSubgraphFrom(this.getNodes(),()=>!0,()=>{})}getTopSortedWithSccSubgraphFrom(e,t,n){const r=new Ln(this.nodesSparseArray,this.edgesSparseArray),i=e.map(e=>this.getNodeId(e)).filter(e=>void 0!==e);return r.getTopSortedWithSccSubgraphFrom(i,t,n)}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,n])=>{this.removeEdgeIfExists(n,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)}}
  757. /**
  758. * @license
  759. * Copyright (c) 2024 Handsoncode. All rights reserved.
  760. */class Dn{constructor(){this.rangeMapping=new Map}getMappingSize(e){var t,n;return null!==(n=null===(t=this.rangeMapping.get(e))||void 0===t?void 0:t.size)&&void 0!==n?n: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 n=Fn(e.getStart(),e.getEnd());t.set(n,e)}removeRange(e){const t=e.getStart().sheet,n=this.rangeMapping.get(t);if(void 0===n)return;const r=Fn(e.getStart(),e.getEnd());n.delete(r),0===n.size&&this.rangeMapping.delete(t)}getRange(e,t){const n=this.rangeMapping.get(e.sheet),r=Fn(e,t);return null===n||void 0===n?void 0:n.get(r)}fetchRange(e,t){const n=this.getRange(e,t);if(!n)throw Error("Range does not exist");return n}truncateRanges(e,t){const n=Array(),r=Array(),i=Array(),o=e.sheet;for(const[a,l]of this.entriesFromSheet(e.sheet)){const s=l.range;e.start<=t(l.range.end)&&(s.removeSpan(e),s.shouldBeRemoved()?(this.removeByKey(o,a),n.push(l)):r.push([a,l]),i.push(l))}const s=[];r.sort((e,n)=>Bn(e[1],n[1],t));for(const[a,l]of r){const e=kn(l.range);if(e===a)continue;const t=this.getByKey(o,e);this.removeByKey(o,a),void 0!==t&&l!=t?s.push([t,l]):this.setRange(l)}return{verticesToRemove:n,verticesToMerge:s,verticesWithChangedSize:i}}moveAllRangesInSheetAfterRowByRows(e,t,n){return this.updateVerticesFromSheet(e,(e,r)=>t<=r.start.row?(r.range.shiftByRows(n),{changedSize:!1,vertex:r}):t>r.start.row&&t<=r.end.row?(r.range.expandByRows(n),{changedSize:!0,vertex:r}):void 0)}moveAllRangesInSheetAfterColumnByColumns(e,t,n){return this.updateVerticesFromSheet(e,(e,r)=>t<=r.start.col?(r.range.shiftByColumns(n),{changedSize:!1,vertex:r}):t>r.start.col&&t<=r.end.col?(r.range.expandByColumns(n),{changedSize:!0,vertex:r}):void 0)}moveRangesInsideSourceRange(e,t,n,r){this.updateVerticesFromSheet(e.sheet,(i,o)=>e.containsRange(o.range)?(o.range.shiftByColumns(t),o.range.shiftByRows(n),o.range.moveToSheet(r),{changedSize:!1,vertex:o}):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=pr(e.end.sheet,e.end.col,e.end.row-1),n=this.getRange(e.start,t);if(void 0!==n){const t=Rr.fromSimpleCellAddresses(pr(e.start.sheet,e.start.col,e.end.row),e.end);return{smallerRangeVertex:n,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 n;return null===(n=this.rangeMapping.get(e))||void 0===n?void 0:n.get(t)}updateVerticesFromSheet(e,t){const n=Array();for(const[r,i]of this.entriesFromSheet(e)){const o=t(r,i);void 0!==o&&(this.removeByKey(e,r),n.push(o))}return n.forEach(e=>{this.setRange(e.vertex)}),{verticesWithChangedSize:n.filter(e=>e.changedSize).map(e=>e.vertex)}}}function Fn(e,t){return`${e.col},${e.row},${t.col},${t.row}`}function kn(e){return Fn(e.start,e.end)}const Bn=(e,t,n)=>{const r=n(e.range.start),i=n(e.range.start);if(r===i){const r=n(e.range.end),i=n(t.range.end);return r-i}return r-i};
  761. /**
  762. * @license
  763. * Copyright (c) 2024 Handsoncode. All rights reserved.
  764. */class Un{constructor(e,t,n){this.functions=e,this.errors=t,this.ui=n,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 n of e)this.isFunctionTranslated(n)&&t.push(this.functions[n]);return t}getFunctionTranslation(e){const t=this.functions[e];if(void 0===t)throw new dn("functions."+e);return t}getMaybeFunctionTranslation(e){return this.functions[e]}getErrorTranslation(e){if(e===Vn.LIC)return`#${Vn.LIC}!`;const t=this.errors[e];if(void 0===t)throw new dn("errors."+e);return t}getUITranslation(e){const t=this.ui[e];if(void 0===t)throw new dn("ui."+e);return t}checkUI(){for(const e of Object.values(jn))if(!(e in this.ui))throw new dn("ui."+e)}checkErrors(){for(const e of Object.values(Vn))if(!(e in this.errors)&&e!==Vn.LIC)throw new dn("errors."+e)}checkFunctionTranslations(e){const t=new Set(Object.getOwnPropertyNames(e));for(const n of Object.getOwnPropertyNames(this._protectedTranslations))if(t.has(n))throw new hn(n)}}function Hn(e){return new Un(Object.assign({},e.functions),Object.assign({},e.errors),Object.assign({},e.ui))}
  765. /**
  766. * @license
  767. * Copyright (c) 2024 Handsoncode. All rights reserved.
  768. */var jn,Vn,Wn;
  769. /**
  770. * @license
  771. * Copyright (c) 2024 Handsoncode. All rights reserved.
  772. */
  773. function Yn(e){return e.toLowerCase()}(function(e){e["NEW_SHEET_PREFIX"]="NEW_SHEET_PREFIX"})(jn||(jn={}));class Qn{constructor(e,t){this.id=e,this.displayName=t}get canonicalName(){return Yn(this.displayName)}}class Xn{constructor(e){this.languages=e,this.mappingFromCanonicalName=new Map,this.mappingFromId=new Map,this.lastSheetId=-1,this.fetch=e=>{const t=this.mappingFromCanonicalName.get(Yn(e));if(void 0===t)throw new Wt(e);return t.id},this.get=e=>{var t;return null===(t=this.mappingFromCanonicalName.get(Yn(e)))||void 0===t?void 0:t.id},this.fetchDisplayName=e=>this.fetchSheetById(e).displayName,this.sheetNamePrefix=e.getUITranslation(jn.NEW_SHEET_PREFIX)}addSheet(e=`${this.sheetNamePrefix}${this.lastSheetId+2}`){const t=Yn(e);if(this.mappingFromCanonicalName.has(t))throw new Yt(e);this.lastSheetId++;const n=new Qn(this.lastSheetId,e);return this.store(n),n.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(Yn(e))}renameSheet(e,t){const n=this.fetchSheetById(e),r=n.displayName;if(r===t)return;const i=this.mappingFromCanonicalName.get(Yn(t));if(void 0!==i&&i.id!==n.id)throw new Yt(t);const o=n.canonicalName;return this.mappingFromCanonicalName.delete(o),n.displayName=t,this.store(n),r}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}}
  774. /**
  775. * @license
  776. * Copyright (c) 2024 Handsoncode. All rights reserved.
  777. */class Kn{constructor(e,t,n,r,i,o,s,a){this.addressMapping=e,this.rangeMapping=t,this.sheetMapping=n,this.arrayMapping=r,this.stats=i,this.lazilyTransformingAstService=o,this.functionRegistry=s,this.namedExpressions=a,this.changes=kt.empty(),this.dependencyQueryAddresses=e=>{if(e instanceof On)return this.rangeDependencyQuery(e).map(([e,t])=>e);{const t=this.formulaDependencyQuery(e);if(void 0!==t){const[e,n]=t;return n.map(t=>t instanceof _t?this.namedExpressions.namedExpressionOrPlaceholder(t.name,e.sheet).address:gr(t)?t:yr(t.start,t.end))}return[]}},this.dependencyQueryVertices=e=>{if(e instanceof On)return this.rangeDependencyQuery(e);{const t=this.formulaDependencyQuery(e);if(void 0!==t){const[e,n]=t;return n.map(t=>{if(t instanceof Rr)return[t.start,this.rangeMapping.fetchRange(t.start,t.end)];if(t instanceof _t){const n=this.namedExpressions.namedExpressionOrPlaceholder(t.name,e.sheet);return[n.address,this.addressMapping.fetchCell(n.address)]}return[t,this.addressMapping.fetchCell(t)]})}return[]}},this.rangeDependencyQuery=e=>{const t=[],{smallerRangeVertex:n,restRange:r}=this.rangeMapping.findSmallerRange(e.range);let i;void 0!==n&&this.graph.adjacentNodes(n).has(e)?(i=r,t.push([new Rr(n.start,n.end),n])):i=e.range;for(const o of i.addresses(this)){const e=this.addressMapping.getCell(o);void 0!==e&&t.push([o,e])}return t},this.formulaDependencyQuery=e=>{let t,n;if(!(e instanceof En))return;n=e.getAddress(this.lazilyTransformingAstService),t=e.getFormula(this.lazilyTransformingAstService);const r=pt(t,this.functionRegistry);return[n,bt(r,n)]},this.graph=new Pn(this.dependencyQueryVertices)}static buildEmpty(e,t,n,r,i){return new Kn(new wn(t.chooseAddressMappingPolicy),new Dn,new Xn(t.translationPackage),new yn,i,e,n,r)}setFormulaToCell(e,t,n,r,i,o){const s=En.fromAst(t,e,r,this.lazilyTransformingAstService.version());return this.exchangeOrAddFormulaVertex(s),this.processCellDependencies(n,s),this.graph.markNodeAsDirty(s),i&&this.markAsVolatile(s),o&&this.markAsDependentOnStructureChange(s),this.correctInfiniteRangesDependency(e),this.getAndClearContentChanges()}setParsingErrorToCell(e,t){const n=this.shrinkPossibleArrayAndGetCell(e);return this.exchangeOrAddGraphNode(n,t),this.addressMapping.setCell(e,t),this.graph.markNodeAsDirty(t),this.correctInfiniteRangesDependency(e),this.getAndClearContentChanges()}setValueToCell(e,t){const n=this.shrinkPossibleArrayAndGetCell(e);if(n instanceof Tn&&this.arrayMapping.removeArray(n.getRange()),n instanceof Zn){const e=n.getValues();e.rawValue!==t.rawValue&&(n.setValues(t),this.graph.markNodeAsDirty(n))}else{const r=new Zn(t.parsedValue,t.rawValue);this.exchangeOrAddGraphNode(n,r),this.addressMapping.setCell(e,r),this.graph.markNodeAsDirty(r)}return this.correctInfiniteRangesDependency(e),this.getAndClearContentChanges()}setCellEmpty(e){const t=this.shrinkPossibleArrayAndGetCell(e);if(void 0===t)return kt.empty();if(this.graph.adjacentNodes(t).size>0){const n=new Gn;this.exchangeGraphNode(t,n),0===this.graph.adjacentNodesCount(n)?(this.removeVertex(n),this.addressMapping.removeCell(e)):(this.graph.markNodeAsDirty(n),this.addressMapping.setCell(e,n))}else this.removeVertex(t),this.addressMapping.removeCell(e);return this.getAndClearContentChanges()}clearDirtyVertices(){this.graph.clearDirtyNodes()}verticesToRecompute(){return this.graph.getDirtyAndVolatileNodes()}processCellDependencies(e,t){const n=this.graph.getNodeId(t);e.forEach(e=>{if(e instanceof Rr){const t=e;let r=this.getRange(t.start,t.end);void 0===r&&(r=new On(t),this.rangeMapping.setRange(r)),this.graph.addNodeAndReturnId(r);const i=this.graph.getNodeId(r);t.isFinite()||this.graph.markNodeAsInfiniteRange(i);const{smallerRangeVertex:o,restRange:s}=this.rangeMapping.findSmallerRange(t);if(void 0!==o){if(this.graph.addEdge(o,i),r.bruteForce){r.bruteForce=!1;for(const e of t.addresses(this))this.graph.removeEdge(this.fetchCell(e),i)}}else r.bruteForce=!0;const a=this.arrayMapping.getArray(s);if(void 0!==a)this.graph.addEdge(a,i);else for(const e of s.addresses(this)){const{vertex:t,id:n}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==n&&void 0!==n?n:t,i)}this.graph.addEdge(i,n),t.isFinite()&&this.correctInfiniteRangesDependenciesByRangeVertex(r)}else if(e instanceof _t){const r=t.getAddress(this.lazilyTransformingAstService).sheet,{vertex:i,id:o}=this.fetchNamedExpressionVertex(e.name,r);this.graph.addEdge(null!==o&&void 0!==o?o:i,n)}else{const{vertex:t,id:r}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==r&&void 0!==r?r:t,n)}})}fetchNamedExpressionVertex(e,t){const n=this.namedExpressions.namedExpressionOrPlaceholder(e,t);return this.fetchCellOrCreateEmpty(n.address)}exchangeNode(e,t){const n=this.fetchCellOrCreateEmpty(e).vertex,r=this.fetchCellOrCreateEmpty(t).vertex;this.addressMapping.removeCell(e),this.exchangeGraphNode(n,r)}fetchCellOrCreateEmpty(e){const t=this.addressMapping.getCell(e);if(void 0!==t)return{vertex:t,id:void 0};const n=new Gn,r=this.graph.addNodeAndReturnId(n);return this.addressMapping.setCell(e,n),{vertex:n,id:r}}removeRows(e){this.stats.measure(Lt.ADJUSTING_GRAPH,()=>{for(const[t,n]of this.addressMapping.entriesFromRowsSpan(e)){for(const e of this.graph.adjacentNodes(n))this.graph.markNodeAsDirty(e);if(n instanceof Tn){if(!n.isLeftCorner(t))continue;this.shrinkArrayToCorner(n),this.arrayMapping.removeArray(n.getRange())}this.removeVertex(n)}}),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,n]of this.addressMapping.sheetEntries(e)){for(const e of this.graph.adjacentNodes(n))this.graph.markNodeAsDirty(e);this.removeVertex(n),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[n,r]of this.addressMapping.sheetEntries(e))r instanceof Tn?t.add(r):this.setCellEmpty(n);for(const n of t.values())this.setArrayEmpty(n);this.addStructuralNodesToChangeSet()}removeColumns(e){this.stats.measure(Lt.ADJUSTING_GRAPH,()=>{for(const[t,n]of this.addressMapping.entriesFromColumnsSpan(e)){for(const e of this.graph.adjacentNodes(n))this.graph.markNodeAsDirty(e);if(n instanceof Tn){if(!n.isLeftCorner(t))continue;this.shrinkArrayToCorner(n),this.arrayMapping.removeArray(n.getRange())}this.removeVertex(n)}}),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 n of this.addressMapping.verticesFromRowsSpan(e))this.graph.markNodeAsDirty(n);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 n of this.addressMapping.verticesFromColumnsSpan(e))this.graph.markNodeAsDirty(n);return this.addStructuralNodesToChangeSet(),{affectedArrays:t,contentChanges:this.getAndClearContentChanges()}}isThereSpaceForArray(e){const t=e.getRangeOrUndef();if(void 0===t)return!1;for(const n of t.addresses(this)){const t=this.addressMapping.getCell(n);if(void 0!==t&&!(t instanceof Gn)&&t!==e)return!1}return!0}moveCells(e,t,n,r){for(const i of e.addressesWithDirection(t,n,this)){const o=pr(r,i.col+t,i.row+n);let s=this.addressMapping.getCell(i);const a=this.addressMapping.getCell(o);if(this.addressMapping.removeCell(i),void 0!==s){this.graph.markNodeAsDirty(s),this.addressMapping.setCell(o,s);let t=void 0;for(const n of this.graph.adjacentNodes(s))n instanceof On&&!e.containsRange(n.range)&&(t=null!==t&&void 0!==t?t:this.fetchCellOrCreateEmpty(i).vertex,this.graph.addEdge(t,n),this.graph.removeEdge(s,n));t&&(this.graph.markNodeAsDirty(t),this.addressMapping.setCell(i,t))}if(void 0!==a){void 0===s&&this.addressMapping.removeCell(o);for(const e of this.graph.adjacentNodes(a))s=null!==s&&void 0!==s?s:this.fetchCellOrCreateEmpty(o).vertex,this.graph.addEdge(s,e),this.graph.markNodeAsDirty(s);this.removeVertex(a)}}for(const i of this.rangeMapping.rangeVerticesContainedInRange(e))for(const t of this.graph.adjacentNodes(i))if(t instanceof On&&!e.containsRange(t.range)){this.graph.removeEdge(i,t);for(const e of i.range.addresses(this)){const{vertex:n,id:r}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==r&&void 0!==r?r:n,t),this.addressMapping.setCell(e,n),this.graph.markNodeAsDirty(n)}}this.rangeMapping.moveRangesInsideSourceRange(e,t,n,r)}setArrayEmpty(e){const t=Rr.spanFrom(e.getAddress(this.lazilyTransformingAstService),e.width,e.height),n=this.graph.adjacentNodes(e);for(const r of t.addresses(this))this.addressMapping.removeCell(r);for(const r of n.values()){const t=xn(this.functionRegistry,r,e.getRange(),this.lazilyTransformingAstService,this);for(const e of t){const{vertex:t,id:n}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==n&&void 0!==n?n:t,r)}t.length>0&&this.graph.markNodeAsDirty(r)}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 Tn&&(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 Ft?new lr(Vn.VALUE,Te.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 Cn&&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 n of e.addresses(this)){const e=this.getScalarValue(n);t.push(e)}return t}shrinkArrayToCorner(e){this.cleanAddressMappingUnderArray(e);for(const t of this.adjacentArrayVertices(e)){let n;n=t instanceof En?this.formulaDirectDependenciesToArray(t,e):this.rangeDirectDependenciesToArray(t,e);let r=!1;for(const[i,o]of n)e.isLeftCorner(i)&&(r=!0),this.graph.addEdge(o,t),this.graph.markNodeAsDirty(o);r||this.graph.removeEdge(e,t)}this.graph.markNodeAsDirty(e)}isArrayInternalCell(e){const t=this.getCell(e);return t instanceof Tn&&!t.isLeftCorner(e)}getAndClearContentChanges(){const e=this.changes;return this.changes=kt.empty(),e}getAdjacentNodesAddresses(e){const t=this.graph.adjacentNodes(e),n=[];return t.forEach(e=>{const t=e;t instanceof On?n.push(yr(t.start,t.end)):n.push(t.getAddress(this.lazilyTransformingAstService))}),n}exchangeGraphNode(e,t){this.graph.addNodeAndReturnId(t);const n=this.graph.adjacentNodes(e);this.removeVertex(e),n.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:n,id:r}=this.fetchCellOrCreateEmpty(e),i=null!==r&&void 0!==r?r:this.graph.getNodeId(n);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 Tn&&t.add(e)})}),t}correctInfiniteRangesDependenciesByRangeVertex(e){this.graph.getInfiniteRanges().forEach(({id:t,node:n})=>{const r=e.range.intersectionWith(n.range);void 0!==r&&r.addresses(this).forEach(e=>{const{vertex:n,id:r}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==r&&void 0!==r?r:n,t)})})}cleanAddressMappingUnderArray(e){const t=e.getRange();for(const n of t.addresses(this)){const t=e.getArrayCellValue(n);this.getCell(n)===e?e.isLeftCorner(n)?this.changes.addChange(new lr(Vn.REF),n,t):(this.addressMapping.removeCell(n),this.changes.addChange(wt,n,t)):this.changes.addChange(wt,n,t)}}*formulaDirectDependenciesToArray(e,t){var n;const[,r]=null!==(n=this.formulaDependencyQuery(e))&&void 0!==n?n:[];if(void 0!==r)for(const i of r)if(!(i instanceof _t||i instanceof Rr)&&t.getRange().addressInRange(i)){const e=this.fetchCellOrCreateEmpty(i).vertex;yield[i,e]}}*rangeDirectDependenciesToArray(e,t){const{restRange:n}=this.rangeMapping.findSmallerRange(e.range);for(const r of n.addresses(this))if(t.getRange().addressInRange(r)){const e=this.fetchCellOrCreateEmpty(r).vertex;yield[r,e]}}*adjacentArrayVertices(e){const t=this.graph.adjacentNodes(e);for(const n of t)(n instanceof En||n instanceof On)&&(yield n)}addStructuralNodesToChangeSet(){this.graph.markChangingWithStructureNodesAsDirty()}fixRangesWhenAddingRows(e,t,n){const r=Array.from(this.rangeMapping.rangesInSheet(e));for(const i of r)if(i.range.includesRow(t+n))if(i.bruteForce){const e=i.range.rangeWithSameWidth(t,n);for(const t of e.addresses(this)){const{vertex:e,id:n}=this.fetchCellOrCreateEmpty(t);this.graph.addEdge(null!==n&&void 0!==n?n:e,i)}}else{let e=i,t=this.rangeMapping.findSmallerRange(e.range);if(void 0!==t.smallerRangeVertex)continue;while(void 0===t.smallerRangeVertex){const n=new On(Rr.spanFrom(e.range.start,e.range.width(),e.range.height()-1));this.rangeMapping.setRange(n),this.graph.addNodeAndReturnId(n);const r=new Rr(pr(e.range.start.sheet,e.range.start.col,e.range.end.row),e.range.end);this.addAllFromRange(r,e),this.graph.addEdge(n,e),e=n,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 n of e.addresses(this)){const{vertex:e,id:r}=this.fetchCellOrCreateEmpty(n);this.graph.addEdge(null!==r&&void 0!==r?r:e,t)}}fixRangesWhenAddingColumns(e,t,n){for(const r of this.rangeMapping.rangesInSheet(e))if(r.range.includesColumn(t+n)){let i;i=r.bruteForce?r.range.rangeWithSameHeight(t,n):Rr.spanFrom(pr(e,t,r.range.end.row),n,1);for(const e of i.addresses(this)){const{vertex:t,id:n}=this.fetchCellOrCreateEmpty(e);this.graph.addEdge(null!==n&&void 0!==n?n:t,r)}}}exchangeOrAddFormulaVertex(e){const t=e.getAddress(this.lazilyTransformingAstService),n=Rr.spanFrom(t,e.width,e.height),r=this.shrinkPossibleArrayAndGetCell(t);if(e instanceof Tn&&this.setArray(n,e),this.exchangeOrAddGraphNode(r,e),this.addressMapping.setCell(t,e),e instanceof Tn){if(!this.isThereSpaceForArray(e))return;for(const t of n.addresses(this)){if(e.isLeftCorner(t))continue;const n=this.getCell(t);this.exchangeOrAddGraphNode(n,e)}}for(const i of n.addresses(this))this.addressMapping.setCell(i,e)}setAddressMappingForArrayVertex(e,t){if(this.addressMapping.setCell(t,e),!(e instanceof Tn))return;const n=Rr.spanFromOrUndef(t,e.width,e.height);if(void 0!==n&&(this.setArray(n,e),this.isThereSpaceForArray(e)))for(const r of n.addresses(this))this.addressMapping.setCell(r,e)}truncateRanges(e,t){const{verticesToRemove:n,verticesToMerge:r,verticesWithChangedSize:i}=this.rangeMapping.truncateRanges(e,t);for(const[o,s]of r)this.mergeRangeVertices(o,s);for(const o of n)this.removeVertexAndCleanupDependencies(o);return i}fixArraysAfterAddingRow(e,t,n){if(this.arrayMapping.moveArrayVerticesAfterRowByRows(e,t,n),!(t<=0))for(const[,r]of this.arrayMapping.arraysInRows(Bt.fromRowStartAndEnd(e,t-1,t-1))){const i=r.getRange();for(let o=i.start.col;o<=i.end.col;++o)for(let s=t;s<=i.end.row;++s){const t=pr(e,o,s),i=pr(e,o,s+n),a=r.getArrayCellValue(t);this.addressMapping.moveCell(i,t),this.changes.addChange(wt,i,a)}}}fixArraysAfterRemovingRows(e,t,n){if(this.arrayMapping.moveArrayVerticesAfterRowByRows(e,t,-n),!(t<=0))for(const[,r]of this.arrayMapping.arraysInRows(Bt.fromRowStartAndEnd(e,t-1,t-1)))if(this.isThereSpaceForArray(r))for(const e of r.getRange().addresses(this))this.addressMapping.setCell(e,r);else this.setNoSpaceIfArray(r)}fixArraysAfterAddingColumn(e,t,n){if(this.arrayMapping.moveArrayVerticesAfterColumnByColumns(e,t,n),!(t<=0))for(const[,r]of this.arrayMapping.arraysInCols(Ut.fromColumnStartAndEnd(e,t-1,t-1))){const i=r.getRange();for(let o=i.start.row;o<=i.end.row;++o)for(let s=t;s<=i.end.col;++s){const t=pr(e,s,o),i=pr(e,s+n,o),a=r.getArrayCellValue(t);this.addressMapping.moveCell(i,t),this.changes.addChange(wt,i,a)}}}fixArraysAfterRemovingColumns(e,t,n){if(this.arrayMapping.moveArrayVerticesAfterColumnByColumns(e,t,-n),!(t<=0))for(const[,r]of this.arrayMapping.arraysInCols(Ut.fromColumnStartAndEnd(e,t-1,t-1)))if(this.isThereSpaceForArray(r))for(const e of r.getRange().addresses(this))this.addressMapping.setCell(e,r);else this.setNoSpaceIfArray(r)}shrinkPossibleArrayAndGetCell(e){const t=this.getCell(e);return t instanceof Tn?(this.setNoSpaceIfArray(t),this.getCell(e)):t}setNoSpaceIfArray(e){e instanceof Tn&&(this.shrinkArrayToCorner(e),e.setNoSpace())}removeVertex(e){this.removeVertexAndCleanupDependencies(e),e instanceof On&&this.rangeMapping.removeRange(e)}mergeRangeVertices(e,t){const n=this.graph.adjacentNodes(t);this.removeVertexAndCleanupDependencies(t),this.graph.removeEdgeIfExists(e,t),n.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[n,r]=e;this.graph.hasNode(r)&&0===this.graph.adjacentNodesCount(r)&&((r instanceof On||r instanceof Gn)&&this.graph.removeNode(r).forEach(e=>t.add(e)),r instanceof On?this.rangeMapping.removeRange(r):r instanceof Gn&&this.addressMapping.removeCell(n))}}}
  778. /**
  779. * @license
  780. * Copyright (c) 2024 Handsoncode. All rights reserved.
  781. */class Gn{constructor(){}getCellValue(){return wt}}
  782. /**
  783. * @license
  784. * Copyright (c) 2024 Handsoncode. All rights reserved.
  785. */class Zn{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")}}
  786. /**
  787. * @license
  788. * Copyright (c) 2024 Handsoncode. All rights reserved.
  789. */class zn{constructor(e,t){this.errors=e,this.rawInput=t}getCellValue(){const e=this.errors.map(e=>e.message).find(e=>e);return lr.parsingError(e)}getFormula(){return this.rawInput}}
  790. /**
  791. * @license
  792. * Copyright (c) 2024 Handsoncode. All rights reserved.
  793. */class qn{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 n=this.mapping.get(e.col);n||(n=new Map,this.mapping.set(e.col,n)),n.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(n=>{const r=new Map;n.forEach((i,o)=>{o>=e&&(r.set(o+t,i),n.delete(o))}),r.forEach((e,t)=>{n.set(t,e)})}),this.height+=t}addColumns(e,t){const n=new Map;this.mapping.forEach((r,i)=>{i>=e&&(n.set(i+t,r),this.mapping.delete(i))}),n.forEach((e,t)=>{this.mapping.set(t,e)}),this.width+=t}removeRows(e){this.mapping.forEach(t=>{const n=new Map;t.forEach((r,i)=>{i>=e.rowStart&&(t.delete(i),i>e.rowEnd&&n.set(i-e.numberOfRows,r))}),n.forEach((e,n)=>{t.set(n,e)})});const t=Math.min(this.height-1,e.rowEnd),n=Math.max(0,t-e.rowStart+1);this.height=Math.max(0,this.height-n)}removeColumns(e){const t=new Map;this.mapping.forEach((n,r)=>{r>=e.columnStart&&(this.mapping.delete(r),r>e.columnEnd&&t.set(r-e.numberOfColumns,n))}),t.forEach((e,t)=>{this.mapping.set(t,e)});const n=Math.min(this.width-1,e.columnEnd),r=Math.max(0,n-e.columnStart+1);this.width=Math.max(0,this.width-r)}*getEntries(e){for(const[t,n]of this.mapping)for(const[r,i]of n)yield[pr(e,t,r),i]}*verticesFromColumn(e){const t=this.mapping.get(e);if(void 0!==t)for(const[n,r]of t)yield r}*verticesFromRow(e){for(const t of this.mapping.values()){const n=t.get(e);void 0!==n&&(yield n)}}*verticesFromColumnsSpan(e){for(const t of e.columns()){const e=this.mapping.get(t);if(void 0!==e)for(const[t,n]of e)yield n}}*verticesFromRowsSpan(e){for(const t of this.mapping.values())for(const n of e.rows()){const e=t.get(n);void 0!==e&&(yield e)}}*entriesFromRowsSpan(e){for(const[t,n]of this.mapping.entries())for(const r of e.rows()){const i=n.get(r);void 0!==i&&(yield[pr(e.sheet,t,r),i])}}*entriesFromColumnsSpan(e){for(const t of e.columns()){const n=this.mapping.get(t);if(void 0!==n)for(const[r,i]of n.entries())yield[pr(e.sheet,t,r),i]}}*vertices(){for(const[e,t]of this.mapping)for(const[n,r]of t)void 0!==r&&(yield r)}}
  794. /**
  795. * @license
  796. * Copyright (c) 2024 Handsoncode. All rights reserved.
  797. */class Jn{constructor(e,t){this.width=e,this.height=t,this.mapping=new Array(t);for(let n=0;n<t;n++)this.mapping[n]=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 n=this.mapping[e.row];n||(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 n=[];for(let r=0;r<t;r++)n.push(new Array(this.width));this.mapping.splice(e,0,...n),this.height+=t}addColumns(e,t){for(let n=0;n<this.height;n++)void 0!==this.mapping[n]&&this.mapping[n].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),n=Math.max(0,t-e.rowStart+1);this.height=Math.max(0,this.height-n)}removeColumns(e){for(let r=0;r<this.height;r++)void 0!==this.mapping[r]&&this.mapping[r].splice(e.columnStart,e.numberOfColumns);const t=Math.min(this.width-1,e.columnEnd),n=Math.max(0,t-e.columnStart+1);this.width=Math.max(0,this.width-n)}*getEntries(e){for(let t=0;t<this.height;++t)for(let n=0;n<this.width;++n){const r=this.getCellVertex(n,t);r&&(yield[pr(e,n,t),r])}}*verticesFromColumn(e){for(let t=0;t<this.height;++t){const n=this.getCellVertex(e,t);n&&(yield n)}}*verticesFromRow(e){for(let t=0;t<this.width;++t){const n=this.getCellVertex(t,e);n&&(yield n)}}*verticesFromColumnsSpan(e){for(let t=e.columnStart;t<=e.columnEnd;++t)for(let e=0;e<this.height;++e){const n=this.getCellVertex(t,e);n&&(yield n)}}*verticesFromRowsSpan(e){for(let t=0;t<this.width;++t)for(let n=e.rowStart;n<=e.rowEnd;++n){const e=this.getCellVertex(t,n);e&&(yield e)}}*entriesFromRowsSpan(e){for(let t=0;t<this.width;++t)for(let n=e.rowStart;n<=e.rowEnd;++n){const r=this.getCellVertex(t,n);r&&(yield[pr(e.sheet,t,n),r])}}*entriesFromColumnsSpan(e){for(let t=e.columnStart;t<=e.columnEnd;++t)for(let n=0;n<this.height;++n){const r=this.getCellVertex(t,n);r&&(yield[pr(e.sheet,t,n),r])}}*vertices(){for(let e=0;e<this.height;++e)for(let t=0;t<this.width;++t){const n=this.getCellVertex(t,e);n&&(yield n)}}getCellVertex(e,t){var n;return null===(n=this.mapping[t])||void 0===n?void 0:n[e]}}
  798. /**
  799. * @license
  800. * Copyright (c) 2024 Handsoncode. All rights reserved.
  801. */
  802. /**
  803. * @license
  804. * Copyright (c) 2024 Handsoncode. All rights reserved.
  805. */(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"})(Vn||(Vn={})),function(e){e["FORMULA"]="FORMULA",e["VALUE"]="VALUE",e["ARRAY"]="ARRAY",e["EMPTY"]="EMPTY",e["ARRAYFORMULA"]="ARRAYFORMULA"}(Wn||(Wn={}));const $n=(e,t)=>e instanceof Tn?e.isLeftCorner(t)?Wn.ARRAYFORMULA:Wn.ARRAY:e instanceof Cn||e instanceof zn?Wn.FORMULA:e instanceof Zn?Wn.VALUE:Wn.EMPTY;var er,tr;(function(e){e["EMPTY"]="EMPTY",e["NUMBER"]="NUMBER",e["STRING"]="STRING",e["BOOLEAN"]="BOOLEAN",e["ERROR"]="ERROR"})(er||(er={})),function(e){e["NUMBER"]="NUMBER"}(tr||(tr={}));const nr=Object.assign(Object.assign({},er),tr),rr=Object.assign(Object.assign({},er),Nt),ir=e=>{switch(e){case nr.EMPTY:return 0;case nr.NUMBER:return 1;case nr.STRING:return 2;case nr.BOOLEAN:return 3;case nr.ERROR:return 4}throw new Error("Cell value not computed")},or=e=>{if(e===wt)return nr.EMPTY;if(e instanceof lr||e instanceof Ft)return nr.ERROR;if("string"===typeof e)return nr.STRING;if(xt(e))return nr.NUMBER;if("boolean"===typeof e)return nr.BOOLEAN;throw new Error("Cell value not computed")},sr=e=>xt(e)?It(e):or(e),ar=e=>xt(e)?Pt(e):void 0;class lr{constructor(e,t,n){this.type=e,this.message=t,this.root=n}static parsingError(e){return new lr(Vn.ERROR,`${Te.ParseError}${e?" "+e:""}`)}attachRootVertex(e){return void 0===this.root?new lr(this.type,this.message,e):this}}const cr=(e,t)=>({sheet:e,row:t}),ur=e=>e.row<0,dr=(e,t)=>({sheet:e,col:t}),hr=e=>e.col<0,pr=(e,t,n)=>({sheet:e,col:t,row:n}),fr=e=>e.col<0||e.row<0,mr=(e,t,n,r)=>pr(t,e.col+n,e.row+r),Ar=e=>`${e.sheet},${e.row},${e.col}`;function gr(e){var t,n,r;return e&&("object"===typeof e||"function"===typeof e)&&"number"===typeof(null===(t=e)||void 0===t?void 0:t.sheet)&&"number"===typeof(null===(n=e)||void 0===n?void 0:n.col)&&"number"===typeof(null===(r=e)||void 0===r?void 0:r.row)}const _r=(e,t)=>{var n;return null!==(n=e.sheet)&&void 0!==n?n:t.sheet},br=(e,t)=>e.sheet===t.sheet&&e.col===t.col&&e.row===t.row,vr="AbsoluteCellRange: Wrong range size";function wr(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&("start"in e&&gr(e.start)&&"end"in e&&gr(e.end))}const yr=(e,t)=>({start:e,end:t});class Rr{constructor(e,t){if(e.sheet!==t.sheet)throw new Zt(e.sheet,t.sheet);this.start=pr(e.sheet,e.col,e.row),this.end=pr(t.sheet,t.col,t.row)}get sheet(){return this.start.sheet}static fromSimpleCellAddresses(e,t){if(e.sheet!==t.sheet)throw new Zt(e.sheet,t.sheet);const n=t.col-e.col,r=t.row-e.row;return Number.isFinite(r)&&Number.isFinite(n)?new Rr(e,t):Number.isFinite(r)?new Sr(e.sheet,e.row,t.row):new Mr(e.sheet,e.col,t.col)}static fromAst(e,t){return e.type===Y.CELL_RANGE?Rr.fromCellRange(e,t):e.type===Y.COLUMN_RANGE?Mr.fromColumnRange(e,t):Sr.fromRowRangeAst(e,t)}static fromAstOrUndef(e,t){try{return Rr.fromAst(e,t)}catch(n){return}}static fromCellRange(e,t){return new Rr(e.start.toSimpleCellAddress(t),e.end.toSimpleCellAddress(t))}static spanFrom(e,t,n){const r=Rr.spanFromOrUndef(e,t,n);if(void 0===r)throw new Error(vr);return r}static spanFromOrUndef(e,t,n){if(!Number.isFinite(t)&&Number.isFinite(n)){if(0!==e.col)return;return new Sr(e.sheet,e.row,e.row+n-1)}if(!Number.isFinite(n)&&Number.isFinite(t)){if(0!==e.row)return;return new Mr(e.sheet,e.col,e.col+t-1)}if(Number.isFinite(n)&&Number.isFinite(t))return new Rr(e,pr(e.sheet,e.col+t-1,e.row+n-1))}static fromCoordinates(e,t,n,r,i){return new Rr(pr(e,t,n),pr(e,r,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),n=Math.min(this.end.row,e.end.row),r=Math.max(this.start.col,e.start.col),i=Math.min(this.end.col,e.end.col);return t>n||r>i?void 0:new Rr(pr(this.sheet,r,t),pr(this.sheet,i,n))}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 Rr.spanFrom(pr(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 Bt?this.removeRows(e.start,e.end):this.removeColumns(e.start,e.end)}shouldBeRemoved(){return this.width()<=0||this.height()<=0}rangeWithSameWidth(e,t){return Rr.spanFrom(pr(this.sheet,this.start.col,e),this.width(),t)}rangeWithSameHeight(e,t){return Rr.spanFrom(pr(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 n=0;n<this.width();++n){const r=pr(this.sheet,this.start.col+n,this.start.row+t);e[t].push(r)}}return e}withStart(e){return new Rr(e,this.end)}sameDimensionsAs(e){return this.width()===e.width()&&this.height()===e.height()}sameAs(e){return br(this.start,e.start)&&br(this.end,e.end)}addressesArrayMap(e,t){const n=[];let r=this.start.row;while(r<=this.effectiveEndRow(e)){let i=this.start.col;const o=[];while(i<=this.effectiveEndColumn(e))o.push(t(pr(this.start.sheet,i,r))),i++;n.push(o),r++}return n}addresses(e){const t=[];let n=this.start.row;const r=this.effectiveEndRow(e),i=this.effectiveEndColumn(e);while(n<=r){let e=this.start.col;while(e<=i)t.push(pr(this.start.sheet,e,n)),e++;n++}return t}*addressesWithDirection(e,t,n){if(e>0)if(t>0){let e=this.effectiveEndRow(n);while(e>=this.start.row){let t=this.effectiveEndColumn(n);while(t>=this.start.col)yield pr(this.start.sheet,t,e),t-=1;e-=1}}else{let e=this.start.row;while(e<=this.effectiveEndRow(n)){let t=this.effectiveEndColumn(n);while(t>=this.start.col)yield pr(this.start.sheet,t,e),t-=1;e+=1}}else if(t>0){let e=this.effectiveEndRow(n);while(e>=this.start.row){let t=this.start.col;while(t<=this.effectiveEndColumn(n))yield pr(this.start.sheet,t,e),t+=1;e-=1}}else{let e=this.start.row;while(e<=this.effectiveEndRow(n)){let t=this.start.col;while(t<=this.effectiveEndColumn(n))yield pr(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 pr(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 n=t-e+1;return this.shiftByRows(-n)}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 n=t-e+1;return this.shiftByColumns(-n)}e<=this.start.col&&(this.start.col=e),this.end.col-=Math.min(t,this.end.col)-e+1}}}class Mr extends Rr{constructor(e,t,n){super(pr(e,t,0),pr(e,n,Number.POSITIVE_INFINITY))}static fromColumnRange(e,t){const n=e.start.toSimpleColumnAddress(t),r=e.end.toSimpleColumnAddress(t);if(n.sheet!==r.sheet)throw new Zt(n.sheet,r.sheet);return new Mr(n.sheet,n.col,r.col)}shouldBeRemoved(){return this.width()<=0}shiftByRows(e){}expandByRows(e){}shifted(e,t){return new Mr(this.sheet,this.start.col+e,this.end.col+e)}rangeWithSameHeight(e,t){return new Mr(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 Sr extends Rr{constructor(e,t,n){super(pr(e,0,t),pr(e,Number.POSITIVE_INFINITY,n))}static fromRowRangeAst(e,t){const n=e.start.toSimpleRowAddress(t),r=e.end.toSimpleRowAddress(t);if(n.sheet!==r.sheet)throw new Zt(n.sheet,r.sheet);return new Sr(n.sheet,n.row,r.row)}shouldBeRemoved(){return this.height()<=0}shiftByColumns(e){}expandByColumns(e){}shifted(e,t){return new Sr(this.sheet,this.start.row+t,this.end.row+t)}rangeWithSameWidth(e,t){return new Sr(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){}}
  806. /**
  807. * @license
  808. * Copyright (c) 2024 Handsoncode. All rights reserved.
  809. */class Er{constructor(e,t,n){this.formulaAddress=e,this.arraysFlag=t,this.formulaVertex=n}}
  810. /**
  811. * @license
  812. * Copyright (c) 2024 Handsoncode. All rights reserved.
  813. */function Tr(e){const t=e.caseSensitive?e.accentSensitive?"variant":"case":e.accentSensitive?"accent":"base",n=e.caseFirst,r=e.ignorePunctuation;return new Intl.Collator(e.localeLang,{sensitivity:t,caseFirst:n,ignorePunctuation:r})}
  814. /**
  815. * @license
  816. * Copyright (c) 2024 Handsoncode. All rights reserved.
  817. */const Cr="i",Or=/^\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij]))\s*(([+-])\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij])))?$/;class xr{constructor(e,t,n){this.config=e,this.dateTimeHelper=t,this.numberLiteralsHelper=n,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 n=e+t;return Math.abs(n)<this.actualEps*Math.abs(e)?0:n},this.addWithEpsilon=(e,t)=>{const n=Kr(e,t);return this.ExtendedNumberFactory(this.addWithEpsilonRaw(yt(e),yt(t)),n)},this.unaryMinus=e=>Mt(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 lr?e:t instanceof lr?t:"number"===typeof e?"number"===typeof t?this.addWithEpsilonRaw(e,t):e:"number"===typeof t?t:0,this.subtract=(e,t)=>{const n=Kr(e,t),r=yt(e),i=yt(t);let o=r-i;return Math.abs(o)<this.actualEps*Math.abs(r)&&(o=0),this.ExtendedNumberFactory(o,n)},this.divide=(e,t)=>{const n=yt(e),r=yt(t);if(0===r)return new lr(Vn.DIV_BY_ZERO);{const i=Gr(e,t);return this.ExtendedNumberFactory(n/r,i)}},this.multiply=(e,t)=>{const n=Gr(e,t);return this.ExtendedNumberFactory(yt(e)*yt(t),n)},this.manyToExactComplex=e=>{const t=[];for(const n of e){if(n instanceof lr)return n;if(xt(n)||"string"===typeof n){const e=this.coerceScalarToComplex(n);e instanceof lr||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 n of e){if(n instanceof lr)return n;xt(n)&&t.push(yt(n))}return t},this.manyToOnlyNumbersDropNulls=e=>{const t=[];for(const n of e){if(n instanceof lr)return n;if(xt(n))t.push(yt(n));else if(n!==wt)return new lr(Vn.VALUE,Te.NumberExpected)}return t},this.manyToCoercedNumbersDropNulls=e=>{const t=[];for(const n of e){if(n instanceof lr)return n;if(n===wt)continue;const e=this.coerceScalarToNumberOrError(n);xt(e)&&t.push(yt(e))}return t},this.collator=Tr(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 n;const r=this.buildRegex(e,!1),i=r.exec(t);return null!==(n=null===i||void 0===i?void 0:i.index)&&void 0!==n?n:-1}requiresRegex(e){if(!this.config.useRegularExpressions&&!this.config.useWildcards)return!this.config.matchWholeCell;for(let t=0;t<e.length;t++){const n=e.charAt(t);if(jr(n)||this.config.useRegularExpressions&&Wr(n))return!0}return!1}floatCmp(e,t){const n=yt(e),r=yt(t),i=1+this.actualEps;return r>=0&&n*i>=r&&n<=r*i||r<=0&&n*i<=r&&n>=r*i?0:n>r?1:-1}coerceScalarToNumberOrError(e){var t;return e instanceof lr?e:null!==(t=this.coerceToMaybeNumber(e))&&void 0!==t?t:new lr(Vn.VALUE,Te.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 n=this.coerceStringToMaybeCurrencyNumber(e);return void 0!==n?n:this.numberLiteralsHelper.numericStringToMaybeNumber(e.trim())}return xt(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(),n=this.numberLiteralsHelper.numericStringToMaybeNumber(e);if(void 0!==n)return new Ot(n/100)}}coerceStringToMaybeCurrencyNumber(e){const t=this.currencyMatcher(e.trim());if(void 0!==t){const[e,n]=t,r=this.numberLiteralsHelper.numericStringToMaybeNumber(n);if(void 0!==r)return new Et(r,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 r of e)if(r instanceof Ft)t.push(r);else if(r!==wt){const e=this.coerceScalarToComplex(r);if(e instanceof lr)return e;t.push(e)}const n=[];for(const r of t)if(r instanceof Ft){const e=this.manyToExactComplex(r.valuesFromTopLeftCorner());if(e instanceof lr)return e;n.push(...e)}else n.push(r);return n}coerceScalarToComplex(e){return e instanceof lr?e:e===wt?[0,0]:xt(e)?[yt(e),0]:"string"===typeof e?this.coerceStringToComplex(e):new lr(Vn.NUM,Te.ComplexNumberExpected)}ExtendedNumberFactory(e,t){const{type:n,format:r}=t;switch(n){case Nt.NUMBER_RAW:return e;case Nt.NUMBER_CURRENCY:return new Et(e,null!==r&&void 0!==r?r:this.config.currencySymbol[0]);case Nt.NUMBER_DATE:return new St(e,r);case Nt.NUMBER_DATETIME:return new Ct(e,r);case Nt.NUMBER_TIME:return new Tt(e,r);case Nt.NUMBER_PERCENT:return new Ot(e,r)}}buildRegex(e,t=!0){let n;e=this.normalizeString(e);let r=this.config.useWildcards,i=this.config.useRegularExpressions;if(i)try{RegExp(e)}catch(o){i=!1,r=!1}return n=i?Xr(e,this.config.caseSensitive):r?Yr(e,this.config.caseSensitive):Qr(e,this.config.caseSensitive),this.config.matchWholeCell&&t?RegExp("^("+n+")$"):RegExp(n)}normalizeString(e){return this.config.caseSensitive||(e=e.toLowerCase()),this.config.accentSensitive||(e=qr(e,"nfd").replace(/[\u0300-\u036f]/g,"")),e}compare(e,t){if("string"===typeof e||"string"===typeof t){const n="string"===typeof e?this.dateTimeHelper.dateStringToDateNumber(e):e,r="string"===typeof t?this.dateTimeHelper.dateStringToDateNumber(t):t;if(xt(n)&&xt(r))return this.floatCmp(n,r)}return e===wt?e=Pr(t):t===wt&&(t=Pr(e)),"string"===typeof e&&"string"===typeof t?this.stringCmp(e,t):"boolean"===typeof e&&"boolean"===typeof t?Br(Ir(e),Ir(t)):xt(e)&&xt(t)?this.floatCmp(e,t):e===wt&&t===wt?0:Br(ir(or(e)),ir(or(t)))}stringCmp(e,t){return this.collator.compare(e,t)}manyToNumbers(e,t){const n=[];for(const i of e)if(i instanceof Ft)n.push(i);else{const e=yt(this.coerceScalarToNumberOrError(i));if(e instanceof lr)return e;n.push(e)}const r=[];for(const i of n)if(i instanceof Ft){const e=t(i.valuesFromTopLeftCorner());if(e instanceof lr)return e;r.push(...e)}else r.push(i);return r}coerceStringToComplex(e){const t=Or.exec(e);if(null===t)return new lr(Vn.NUM,Te.ComplexNumberExpected);let n,r;return n=void 0!==t[6]?"-"===t[1]?[0,-1]:[0,1]:this.parseComplexToken(t[1]+t[3],t[5]),n instanceof lr||void 0===t[8]?n:(r=void 0!==t[14]?"-"===t[9]?[0,-1]:[0,1]:this.parseComplexToken(t[9]+t[11],t[13]),r instanceof lr?r:""!==t[5]||""===t[13]?new lr(Vn.NUM,Te.ComplexNumberExpected):"+"===t[8]?[n[0]+r[0],n[1]+r[1]]:[n[0]-r[0],n[1]-r[1]])}parseComplexToken(e,t){const n=yt(this.coerceNonDateScalarToMaybeNumber(e));return void 0===n?new lr(Vn.NUM,Te.ComplexNumberExpected):""===t?[n,0]:[0,n]}}function Nr([e,t],n){if(!isFinite(e)||!isFinite(t))return new lr(Vn.NUM,Te.NaN);if(n=null!==n&&void 0!==n?n:Cr,0===t)return""+e;const r=`${-1===t||1===t?"":Math.abs(t)}${n}`;return 0===e?`${t<0?"-":""}${r}`:`${e}${t<0?"-":"+"}${r}`}function Lr(e){return e instanceof Ft?e:Ft.fromScalar(e)}function Ir(e){return Number(e)}function Pr(e){return"string"===typeof e?"":xt(e)?0:"boolean"!==typeof e&&wt}function Dr(e){if(e instanceof lr||"boolean"===typeof e)return e;if(e===wt)return!1;if(xt(e))return 0!==yt(e);{const t=e.toUpperCase();return"TRUE"===t||"FALSE"!==t&&(""!==t&&void 0)}}function Fr(e){return e instanceof lr||"string"===typeof e?e:e===wt?"":xt(e)?yt(e).toString():e?"TRUE":"FALSE"}function kr(e){return e===wt?0:e}function Br(e,t){const n=yt(e),r=yt(t);return n>r?1:n<r?-1:0}function Ur(e){return isNaN(e)||e===1/0||e===-1/0}function Hr(e){return 0===e?0:e}function jr(e){return["*","?"].includes(e)}const Vr=["{","}","[","]","(",")","<",">","=",".","+","-",",","\\","$","^","!"];function Wr(e){return Vr.includes(e)}function Yr(e,t){let n="";for(let r=0;r<e.length;r++){const i=e.charAt(r);if("~"===i){if(r==e.length-1){n+="~";continue}const t=e.charAt(r+1);jr(t)||Wr(t)?(n+="\\"+t,r++):(n+=t,r++)}else jr(i)?n+="."+i:Wr(i)?n+="\\"+i:n+=t?i:i.toLowerCase()}return n}function Qr(e,t){let n="";for(let r=0;r<e.length;r++){const i=e.charAt(r);jr(i)||Wr(i)?n+="\\"+i:n+=t?i:i.toLowerCase()}return n}function Xr(e,t){let n="";for(let r=0;r<e.length;r++){const i=e.charAt(r);jr(i)||Wr(i)?n+=i:n+=t?i:i.toLowerCase()}return n}function Kr(e,t){const{type:n,format:r}=Dt(e),{type:i,format:o}=Dt(t);if(n===Nt.NUMBER_RAW)return{type:i,format:o};if(i===Nt.NUMBER_RAW)return{type:n,format:r};if((n===Nt.NUMBER_DATETIME||n===Nt.NUMBER_DATE)&&(i===Nt.NUMBER_DATETIME||i===Nt.NUMBER_DATE))return{type:Nt.NUMBER_RAW};if(n===Nt.NUMBER_TIME){if(i===Nt.NUMBER_DATE)return{type:Nt.NUMBER_DATETIME,format:`${o} ${r}`};if(i===Nt.NUMBER_DATETIME)return{type:Nt.NUMBER_DATETIME,format:o}}if(i===Nt.NUMBER_TIME){if(n===Nt.NUMBER_DATE)return{type:Nt.NUMBER_DATETIME,format:`${r} ${o}`};if(n===Nt.NUMBER_DATETIME)return{type:Nt.NUMBER_DATETIME,format:r}}return{type:n,format:r}}function Gr(e,t){let{type:n,format:r}=Dt(e),{type:i,format:o}=Dt(t);return n===Nt.NUMBER_PERCENT&&(n=Nt.NUMBER_RAW,r=void 0),i===Nt.NUMBER_PERCENT&&(i=Nt.NUMBER_RAW,o=void 0),n===Nt.NUMBER_RAW?{type:i,format:o}:i===Nt.NUMBER_RAW?{type:n,format:r}:{type:Nt.NUMBER_RAW}}function Zr(e){return qr(e.toLowerCase(),"nfd").replace(/[\u0300-\u036f]/g,"")}function zr(e,t){var n;if(e.isAdHoc())return null===(n=e.data[0])||void 0===n?void 0:n[0];const r=e.range;if(t.formulaAddress.sheet===r.sheet)if(1===r.width()){const n=t.formulaAddress.row-r.start.row;if(n>=0&&n<r.height())return e.data[n][0]}else if(1===r.height()){const n=t.formulaAddress.col-r.start.col;if(n>=0&&n<r.width())return e.data[0][n]}}function qr(e,t){return e.normalize(t.toUpperCase())}
  818. /**
  819. * @license
  820. * Copyright (c) 2024 Handsoncode. All rights reserved.
  821. */var Jr;(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"})(Jr||(Jr={}));class $r{constructor(e){this.coerceScalarToNumberOrError=e=>this.arithmeticHelper.coerceScalarToNumberOrError(e),this.runFunction=(e,t,n,r)=>{const i=this.evaluateArguments(e,t,n),o=i.map(([e,t])=>e),s=i.map(([e,t])=>t),a=this.buildMetadataForEachArgumentValue(o.length,n),l=t.arraysFlag&&!n.vectorizationForbidden;if(!this.isNumberOfArgumentValuesValid(a,o.length))return new lr(Vn.NA,Te.WrongArgNumber);const[c,u]=l?this.calculateSizeOfVectorizedResultArray(o,a):[1,1];if(1===c&&1===u){const e=this.vectorizeAndBroadcastArgumentsIfNecessary(l,o,a,0,0);return this.calculateSingleCellOfResultArray(t,e,a,s,r,n.returnNumberType)}const d=[...Array(c).keys()].map(e=>[...Array(u).keys()].map(i=>{const c=this.vectorizeAndBroadcastArgumentsIfNecessary(l,o,a,e,i),u=this.calculateSingleCellOfResultArray(t,c,a,s,r,n.returnNumberType);if(u instanceof Ft)throw new Error("Function returning array cannot be vectorized.");return u}));return Ft.onlyValues(d)},this.runFunctionWithReferenceArgument=(e,t,n,r,i,o=(()=>new lr(Vn.NA,Te.CellRefExpected)))=>{if(0===e.length)return this.returnNumberWrapper(r(),n.returnNumberType);if(e.length>1)return new lr(Vn.NA,Te.WrongArgNumber);let s,a=e[0];while(a.type===Y.PARENTHESIS)a=a.expression;if(a.type===Y.CELL_REFERENCE)s=a.reference.toSimpleCellAddress(t.formulaAddress);else if(a.type===Y.CELL_RANGE||a.type===Y.COLUMN_RANGE||a.type===Y.ROW_RANGE)try{s=Rr.fromAst(a,t.formulaAddress).start}catch(l){return new lr(Vn.REF,Te.CellRefExpected)}return void 0!==s?this.returnNumberWrapper(i(s),n.returnNumberType):this.runFunction(e,t,n,o)},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 n=[];for(const r of e){const e=this.evaluateAst(r,t);if(e instanceof Ft)for(const t of e.valuesFromTopLeftCorner())n.push([t,!0]);else n.push([e,!1])}return n}coerceToType(e,t,n){let r;if(e instanceof Ft)switch(t.argumentType){case Jr.RANGE:case Jr.ANY:r=e;break;default:{const t=zr(e,n);if(void 0===t)return;e=t}}if(!(e instanceof Ft))switch(t.argumentType){case Jr.INTEGER:case Jr.NUMBER:const n=this.coerceScalarToNumberOrError(e);if(!xt(n)){r=n;break}const i=yt(n);if(void 0!==t.maxValue&&i>t.maxValue)return new lr(Vn.NUM,Te.ValueLarge);if(void 0!==t.minValue&&i<t.minValue)return new lr(Vn.NUM,Te.ValueSmall);if(void 0!==t.lessThan&&i>=t.lessThan)return new lr(Vn.NUM,Te.ValueLarge);if(void 0!==t.greaterThan&&i<=t.greaterThan)return new lr(Vn.NUM,Te.ValueSmall);if(t.argumentType===Jr.INTEGER&&!Number.isInteger(i))return new lr(Vn.NUM,Te.IntegerExpected);r=n;break;case Jr.STRING:r=Fr(e);break;case Jr.BOOLEAN:r=Dr(e);break;case Jr.SCALAR:case Jr.NOERROR:case Jr.ANY:r=e;break;case Jr.RANGE:if(e instanceof lr)return e;r=Lr(e);break;case Jr.COMPLEX:return this.arithmeticHelper.coerceScalarToComplex(yt(e))}return t.passSubtype||void 0===r?r:yt(r)}calculateSingleCellOfResultArray(e,t,n,r,i,o){const s=this.coerceArgumentsToRequiredTypes(e,t,n,r);if(s instanceof lr)return s;const a=i(...s);return this.returnNumberWrapper(a,o)}coerceArgumentsToRequiredTypes(e,t,n,r){const i=[];for(let o=0;o<n.length;o++){const s=n[o],a=void 0!==t[o]?t[o]:null===s||void 0===s?void 0:s.defaultValue;if(void 0===a){i.push(void 0);continue}const l=this.coerceToType(a,s,e);if(void 0===l&&!r[o])return new lr(Vn.VALUE,Te.WrongType);if(l instanceof lr&&s.argumentType!==Jr.SCALAR)return l;i.push(l)}return i}vectorizeAndBroadcastArgumentsIfNecessary(e,t,n,r,i){return t.map((t,o)=>e&&this.isRangePassedAsAScalarArgument(t,n[o])?this.vectorizeAndBroadcastRangeArgument(t,r,i):t)}vectorizeAndBroadcastRangeArgument(e,t,n){var r;const i=1===e.height()?0:t,o=1===e.width()?0:n;return null===(r=e.data[i])||void 0===r?void 0:r[o]}evaluateArguments(e,t,n){return n.expandRanges?this.listOfScalarValues(e,t):e.map(e=>[this.evaluateAst(e,t),!1])}buildMetadataForEachArgumentValue(e,t){const n=t.parameters?[...t.parameters]:[],r=void 0!==t.repeatLastArgs&&Number.isInteger(t.repeatLastArgs)&&t.repeatLastArgs>0;if(r)while(e>n.length)n.push(...n.slice(n.length-t.repeatLastArgs));return n}isNumberOfArgumentValuesValid(e,t){if(t>e.length)return!1;if(t<e.length){const n=e.slice(t),r=n.every(e=>(null===e||void 0===e?void 0:e.optionalArg)||void 0!==(null===e||void 0===e?void 0:e.defaultValue));return r}return!0}calculateSizeOfVectorizedResultArray(e,t){const n=e.filter((e,n)=>this.isRangePassedAsAScalarArgument(e,t[n])),r=Math.max(1,...n.map(e=>e.height())),i=Math.max(1,...n.map(e=>e.width()));return[r,i]}isRangePassedAsAScalarArgument(e,t){return null!=e&&null!=t&&(e instanceof Ft&&![Jr.RANGE,Jr.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,n){return void 0!==t&&xt(e)?this.arithmeticHelper.ExtendedNumberFactory(yt(e),{type:t,format:n}):e}}
  822. /**
  823. * @license
  824. * Copyright (c) 2024 Handsoncode. All rights reserved.
  825. */
  826. /**
  827. * @license
  828. * Copyright (c) 2024 Handsoncode. All rights reserved.
  829. */class ei{constructor(e,t,n=!1){this.width=e,this.height=t,this.isRef=n}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 ni(e){return new ei(e.width,e.height)}class ri{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 Y.FUNCTION_CALL:return this.checkArraySizeForFunction(e,t);case Y.COLUMN_RANGE:case Y.ROW_RANGE:case Y.CELL_RANGE:{const n=Rr.fromAstOrUndef(e,t.formulaAddress);return void 0===n?ei.error():new ei(n.width(),n.height(),!0)}case Y.ARRAY:{const n=[],r=[];for(const s of e.args){const e=s.map(e=>this.checkArraySizeForAst(e,t)),i=Math.min(...e.map(e=>e.height)),o=e.reduce((e,t)=>e+t.width,0);n.push(i),r.push(o)}const i=n.reduce((e,t)=>e+t,0),o=Math.min(...r);return new ei(o,i)}case Y.STRING:case Y.NUMBER:return ei.scalar();case Y.CELL_REFERENCE:return new ei(1,1,!0);case Y.DIV_OP:case Y.CONCATENATE_OP:case Y.EQUALS_OP:case Y.GREATER_THAN_OP:case Y.GREATER_THAN_OR_EQUAL_OP:case Y.LESS_THAN_OP:case Y.LESS_THAN_OR_EQUAL_OP:case Y.MINUS_OP:case Y.NOT_EQUAL_OP:case Y.PLUS_OP:case Y.POWER_OP:case Y.TIMES_OP:{const n=this.checkArraySizeForAst(e.left,t),r=this.checkArraySizeForAst(e.right,t);return!t.arraysFlag&&(n.height>1||n.width>1||r.height>1||r.width>1)?ei.error():ti(n,r)}case Y.MINUS_UNARY_OP:case Y.PLUS_UNARY_OP:case Y.PERCENT_OP:{const n=this.checkArraySizeForAst(e.value,t);return!t.arraysFlag&&(n.height>1||n.width>1)?ei.error():ni(n)}case Y.PARENTHESIS:return this.checkArraySizeForAst(e.expression,t);case Y.EMPTY:return ei.error();default:return ei.error()}}checkArraySizeForFunction(e,t){const n=this.functionRegistry.getArraySizeFunction(e.procedureName);if(void 0!==n)return n(e,t);const r=this.functionRegistry.getMetadata(e.procedureName);if(void 0===r||r.expandRanges||!t.arraysFlag||r.vectorizationForbidden||void 0===r.parameters)return new ei(1,1);const i=e.args.map(e=>{var n;return this.checkArraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(n=null===r||void 0===r?void 0:r.arrayFunction)&&void 0!==n&&n))}),o=[...r.parameters];if(void 0!==r.repeatLastArgs&&o.length<i.length&&(i.length-o.length)%r.repeatLastArgs!==0)return ei.error();while(o.length<i.length){if(void 0===r.repeatLastArgs)return ei.error();o.push(...o.slice(o.length-r.repeatLastArgs))}let s=1,a=1;for(let l=0;l<i.length;l++)o[l].argumentType!==Jr.RANGE&&o[l].argumentType!==Jr.ANY&&(a=Math.max(a,i[l].height),s=Math.max(s,i[l].width));return new ei(s,a)}}
  830. /**
  831. * @license
  832. * Copyright (c) 2024 Handsoncode. All rights reserved.
  833. */class ii{constructor(e,t,n){var r;this.value=t,this.address=n,this.type=e.type,this.message=null!==(r=e.message)&&void 0!==r?r:""}toString(){return this.value}valueOf(){return this.value}}
  834. /**
  835. * @license
  836. * Copyright (c) 2024 Handsoncode. All rights reserved.
  837. */function oi(e,t,n){if("undefined"===typeof e)return pa.defaultConfig[n];if("string"===typeof t){if(typeof e===t)return e;throw new on(t,n)}if(t.includes(e))return e;throw new cn(t.map(e=>`'${e}'`).join(" "),n)}function si(e,t,n){if(e<n)throw new an(t,n)}function ai(e,t,n){if(e>n)throw new ln(t,n)}function li(e,t,n,r){if(t(e))return e;if("undefined"===typeof e)return pa.defaultConfig[r];throw new on(n,r)}function ci(...e){const t=new Map;e.forEach(e=>{const n=t.get(e.value)||[];n.push(e.name),t.set(e.value,n)});const n=[];for(const r of t.values())r.length>1&&n.push(r);if(n.length>0){n.forEach(e=>e.sort());const e=n.map(e=>`[${e}]`).join("; ");throw new Error("Config initialization failed. Parameters in conflict: "+e)}}function ui(e,t,n){if(typeof e!==t)throw new on(t,n)}
  838. /**
  839. * @license
  840. * Copyright (c) 2024 Handsoncode. All rights reserved.
  841. */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(Ri);function bi(e,t,n){if(void 0===t&&void 0===n)return;let r=e.replace(pi," ").trim().toLowerCase();if(!Mi(r))return;let i=r.substring(r.length-2);"am"===i||"pm"===i?r=r.substring(0,r.length-2).trim():(i=r.substring(r.length-1),"a"===i||"p"===i?r=r.substring(0,r.length-1).trim():i=void 0);const o=r.split(fi);o.length>=2&&o[o.length-2].includes(mi)&&(o[o.length-2]=o[o.length-2]+"."+o[o.length-1],o.pop());const s=o[o.length-1].split(mi);if(void 0!==i&&s.push(i),1===o.length)return vi(s,n);if(1===s.length)return wi(o,t);const a=wi(o.slice(0,o.length-1),t),l=vi(s,n);return void 0===a||void 0===l?void 0:Object.assign(Object.assign({},a),l)}function vi(e,t){var n,r,i;if(void 0===t)return;const{itemsCount:o,hourItem:s,minuteItem:a,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!==o)return;const u=Number(null!==(n=e[l])&&void 0!==n?n:"0");if(!Number.isFinite(u))return;const d=Math.round(u*Ai)/Ai,h=Number(null!==(r=e[a])&&void 0!==r?r:"0");if(!Number.isFinite(h)||!Number.isInteger(h))return;const p=Number(null!==(i=e[s])&&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 n;if(void 0===t)return;const{itemsCount:r,dayItem:i,monthItem:o,shortYearItem:s,longYearItem:a}=_i(t);if(e.length!==r)return;const l=Number(e[i]);if(!Number.isFinite(l)||!Number.isInteger(l))return;const c=Number(e[o]);if(!Number.isFinite(c)||!Number.isInteger(c))return;if(e[a]&&e[s])return;const u=Number(null!==(n=e[a])&&void 0!==n?n:e[s]);return!Number.isFinite(u)||!Number.isInteger(u)||e[a]&&(u<1e3||u>9999)||e[s]&&(u<0||u>99)?void 0:{year:u,month:c,day:l}}function yi(e){const t=e.toLowerCase().trim(),n=t.endsWith("am/pm")?t.substring(0,t.length-5):t.endsWith("a/p")?t.substring(0,e.length-3):t,r=n.trim().split(mi);return{itemsCount:r.length,hourItem:r.indexOf("hh"),minuteItem:r.indexOf("mm"),secondItem:r.findIndex(e=>di.test(e))}}function Ri(e){const t=e.toLowerCase().trim().split(fi);return{itemsCount:t.length,dayItem:t.indexOf("dd"),monthItem:t.indexOf("mm"),shortYearItem:t.indexOf("yy"),longYearItem:t.indexOf("yyyy")}}function Mi(e){return hi.test(e)}function Si(e){const t={};return n=>{const r=t[n];if(void 0!==r)return r;const i=e(n);return t[n]=i,i}}
  842. /**
  843. * @license
  844. * Copyright (c) 2024 Handsoncode. All rights reserved.
  845. */const Ei=[31,28,31,30,31,30,31,31,30,31,30,31],Ti=[0,31,59,90,120,151,181,212,243,273,304,334],Ci=60,Oi=60,xi=24;function Ni(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 Pi{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:n="",timeFormat:r=""}=this.parseDateTimeFromConfigFormats(e);if(void 0!==t)return Li(t)?Ni(t)?new Ct(ji(t)+this.dateToNumber(t),n+" "+r):new Tt(ji(t),r):Ni(t)?new St(this.dateToNumber(t),n):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<=Ei[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 n=Math.floor(t/365.2425);this.dateToNumberFromZero({year:n+1,month:1,day:1})<=t?n++:this.dateToNumberFromZero({year:n-1,month:1,day:1})>t&&n--;const r=t-this.dateToNumberFromZero({year:n,month:1,day:1}),i=Di(r-(this.isLeapYear(n)&&r>=59?1:0)),o=r-Ti[i]-(this.isLeapYear(n)&&i>1?1:0);return{year:n,month:i+1,day:o+1}}numberToSimpleDateTime(e){const t=Hi(e%1),n=Math.floor(t.hours/xi);t.hours=t.hours%xi;const r=this.numberToSimpleDate(Math.floor(e)+n);return Object.assign(Object.assign({},r),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:Ei[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,n){const r=this.parseDateTime(e,t,n);if(!Ni(r)||(r.year>=0&&r.year<100&&(r.year<this.getNullYear()?r.year+=2e3:r.year+=1900),this.isValidDate(r)))return r}parseDateTimeFromFormats(e,t,n){const r=0===t.length?[void 0]:t,i=0===n.length?[void 0]:n;for(const o of r)for(const t of i){const n=this.parseSingleFormat(e,o,t);if(void 0!==n)return{dateTime:n,timeFormat:t,dateFormat:o}}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+Ti[e.month-1]+e.day-1+(e.month<=2?this.leapYearsCount(e.year-1):this.leapYearsCount(e.year))}isLeapYear(e){return!(e%4)&&(!!(e%100)||(!(e%400)||1900===e&&this.config.leapYear1900))}}function Di(e){let t=0;return Ti[t+6]<=e&&(t+=6),Ti[t+3]<=e&&(t+=3),Ti[t+2]<=e?t+=2:Ti[t+1]<=e&&(t+=1),t}function Fi(e,t){const n=12*e.year+e.month-1+t;return{year:Math.floor(n/12),month:n%12+1,day:e.day}}function ki(e){return{year:e.year,month:e.month,day:Math.min(e.day,Ei[e.month-1])}}function Bi(e){return Math.round(3600*e*24)/86400}function Ui(e,t=1){return Math.round(e*t)/t}function Hi(e){const t=e*xi*Oi*Ci,n=Ui(t%Ci,1e5)%Ci,r=(t-n)/Ci,i=Math.round(r%Oi)%Oi,o=(r-i)/Oi,s=Math.round(o);return{hours:s,minutes:i,seconds:n}}function ji(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)}}
  846. /**
  847. * @license
  848. * Copyright (c) 2024 Handsoncode. All rights reserved.
  849. */class Wi{call(){return Jn}}
  850. /**
  851. * @license
  852. * Copyright (c) 2024 Handsoncode. All rights reserved.
  853. */const Yi=/(\\.|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 Xi,Ki;function Gi(e,t){return{type:e,value:t}}function Zi(e){Yi.lastIndex=0;const t=[];let n;do{n=Yi.exec(e),null!==n&&t.push(n)}while(n);return t}function zi(e){Qi.lastIndex=0;const t=Qi.exec(e);return null!==t?[t]:[]}function qi(e,t){const n=[];let r=0;for(let o=0;o<e.length;++o){const i=e[o];if(i.index!==r){const e=t.substr(r,i.index-r);n.push(Gi(Xi.FREE_TEXT,e))}i[0].startsWith("\\")?n.push(Gi(Xi.FREE_TEXT,i[0])):n.push(Gi(Xi.FORMAT,i[0])),r=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);n.push(Gi(Xi.FREE_TEXT,e))}return n}function Ji(e){const t=Zi(e);return t.every(e=>eo(e))?void 0:{type:Ki.DATE,tokens:qi(t,e)}}function $i(e){const t=zi(e);return t.every(e=>eo(e))?void 0:{type:Ki.NUMBER,tokens:qi(t,e)}}function eo(e){return e[0].startsWith("\\")}
  854. /**
  855. * @license
  856. * Copyright (c) 2024 Handsoncode. All rights reserved.
  857. */function to(e,t,n,r){const i=n.stringifyDateTime(r.numberToSimpleDateTime(e),t);if(void 0!==i)return i;const o=n.stringifyDuration(Hi(e),t);if(void 0!==o)return o;const s=$i(t);return void 0!==s?oo(s.tokens,e):t}function no(e,t){let n=""+e;while(n.length<t)n="0"+n;return n}function ro(e,t){let n=""+e;while(n.length<t)n+="0";return n}function io(e,t){return e.split(t).length-1}function oo(e,t){let n="";for(let r=0;r<e.length;++r){const i=e[r];if(i.type===Xi.FREE_TEXT){n+=i.value;continue}const o=i.value.split("."),s=o[0],a=o[1]||"",l=o[1]?".":"",c=Number(t.toFixed(a.length)).toString().split(".");let u=c[0]||"",d=c[1]||"";if(s.length>u.length){const e=io(s.substr(0,s.length-u.length),"0");u=no(u,e+u.length)}const h=io(a.substr(d.length,a.length-d.length),"0");d=ro(d,h+d.length),n+=u+l+d}return n}function so(e,t){const n=Ji(t);if(void 0===n)return;const r=n.tokens;let i="";for(const o of r)if(o.type!==Xi.FREE_TEXT)switch(o.value.toLowerCase()){case"h":case"hh":i+=no(e.hours,o.value.length),e.hours=0;break;case"[hh]":i+=no(e.hours,o.value.length-2),e.hours=0;break;case"m":case"mm":i+=no(e.minutes,o.value.length),e.minutes=0;break;case"[mm]":i+=no(e.minutes+60*e.hours,o.value.length-2),e.minutes=0,e.hours=0;break;case"s":case"ss":i+=no(Math.floor(e.seconds),o.value.length);break;default:if(di.test(o.value)){const t=Math.max(o.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+=o.value;return i}function ao(e,t){const n=Ji(t);if(void 0===n)return;const r=n.tokens;let i="",o=!1;const s=r.some(e=>e.type===Xi.FORMAT&&("a/p"===e.value||"A/P"===e.value||"am/pm"===e.value||"AM/PM"===e.value));for(let a=0;a<r.length;a++){const t=r[a];if(t.type!==Xi.FREE_TEXT)switch(t.value.toLowerCase()){case"h":case"hh":o=!0,i+=no(s?(e.hours+11)%12+1:e.hours,t.value.length);break;case"d":case"dd":i+=no(e.day,t.value.length);break;case"s":case"ss":i+=no(Math.floor(e.seconds),t.value.length);break;case"m":case"mm":a+1<r.length&&r[a+1].value.startsWith(":")&&(o=!0),i+=no(o?e.minutes:e.month,t.value.length),o=!0;break;case"yy":i+=no(e.year%100,t.value.length);break;case"yyyy":i+=e.year;break;case"am/pm":case"a/p":{const[n,r]=t.value.split("/");i+=e.hours<12?n:r;break}default:if(di.test(t.value)){const n=t.value.length-3;i+=`${e.seconds<10?"0":""}${Math.floor(e.seconds*Math.pow(10,n))/Math.pow(10,n)}`;continue}return}else i+=t.value}return i}
  858. /**
  859. * @license
  860. * Copyright (c) 2024 Handsoncode. All rights reserved.
  861. */(function(e){e["FORMAT"]="FORMAT",e["FREE_TEXT"]="FREE_TEXT"})(Xi||(Xi={})),function(e){e["DATE"]="DATE",e["NUMBER"]="NUMBER",e["STRING"]="STRING"}(Ki||(Ki={}));const lo="length",co=e=>parseInt(e,16),uo=e=>parseInt(e,10),ho=e=>(e+"").replace(/\-/g,""),po=(e,t,n)=>e["substr"](t,n),fo=e=>e["codePointAt"](0)-65;function mo(e){return 25===ho(e)[lo]?co(po(ho(e),co("12"),fo("F")))/(co(po(ho(e),fo("C"),fo("Y")>>4))||1+(~~![][lo]<<3)):0}function Ao(e){if(e=(e+"").replace(/\-/g,""),e[lo]!==fo("Z"))return!1;let t=0;return[[0,fo("G")+1],[fo("H"),fo("H")-1],[fo("G")+fo("H"),fo("G")]].reduce((n,[r,i],o)=>(n|=(uo(""+uo(co(po(e,t+r-(0===o?0:2),i+(o?2:0)))+(co(po(e,t+r+i,2))+[]).padStart(2,"0")))%97||2)>>1,t+=2,n),fo("A"))===[]+1>>1}
  862. /**
  863. * @license
  864. * Copyright (c) 2024 Handsoncode. All rights reserved.
  865. */const go={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 _o=!1;function bo(e){const t={template:"missing",vars:{}};if("gpl-v3"===e||"internal-use-in-handsontable"===e)t.template="valid";else if("string"===typeof e&&Ao(e)){const[n,r,i]="18/07/2024".split("/"),o=Math.floor(new Date(`${r}/${n}/${i}`).getTime()/864e5),s=mo(e);t.vars.keyValidityDate=vo(new Date(864e5*(s+1))),t.template=o>s?"expired":"valid"}else""!==e&&(t.template="invalid");return _o||"valid"===t.template||(console.warn(go[t.template](t.vars)),_o=!0),t.template}function vo(e){const t=["January","February","March","April","May","June","July","August","September","October","November","December"],n=t[e.getMonth()],r=e.getDate(),i=e.getFullYear();return`${n} ${r}, ${i}`}
  866. /**
  867. * @license
  868. * Copyright (c) 2024 Handsoncode. All rights reserved.
  869. */var wo,yo,Ro;function Mo(e){return e.startsWith("=")}function So(e){const t=e.toLowerCase();return"true"===t||"false"===t}function Eo(e,t){const n=e.toUpperCase(),r=/#[A-Za-z0-9\/]+[?!]?/;return r.test(n)&&Object.prototype.hasOwnProperty.call(t,n)}(function(e){class t{constructor(e){this.value=e,this.value=Mt(this.value,Hr(yt(this.value)))}}e.Number=t;class n{constructor(e){this.value=e}}e.String=n;class r{constructor(e){this.value=e}}e.Boolean=r;class i{static getSingletonInstance(){return i.instance||(i.instance=new i),i.instance}}e.Empty=i;class o{constructor(e){this.formula=e}}e.Formula=o;class s{constructor(e,t){this.value=new lr(e,t)}}e.Error=s})(wo||(wo={}));class To{constructor(e,t,n){this.config=e,this.dateHelper=t,this.numberLiteralsHelper=n}parse(e){if(void 0===e||null===e)return wo.Empty.getSingletonInstance();if("number"===typeof e)return Ur(e)?new wo.Error(Vn.NUM,Te.ValueLarge):new wo.Number(e);if("boolean"===typeof e)return new wo.Boolean(e);if(e instanceof Date){const t=this.dateHelper.dateToNumber({day:e.getDate(),month:e.getMonth()+1,year:e.getFullYear()}),n=ji({hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()+e.getMilliseconds()/1e3}),r=t+n;return r<0?new wo.Error(Vn.NUM,Te.DateBounds):r%1===0?new wo.Number(new St(r,"Date()")):r<1?new wo.Number(new Tt(r,"Date()")):new wo.Number(new Ct(r,"Date()"))}if("string"===typeof e){if(So(e))return new wo.Boolean("true"===e.toLowerCase());if(Mo(e))return new wo.Formula(e);if(Eo(e,this.config.errorMapping))return new wo.Error(this.config.errorMapping[e.toUpperCase()]);{let t,n=e.trim(),r=0;if(n.endsWith("%"))r=1,n=n.slice(0,n.length-1);else{const e=this.currencyMatcher(n);void 0!==e&&(r=2,[t,n]=e)}const i=this.numberLiteralsHelper.numericStringToMaybeNumber(n);if(void 0!==i){let e;return e=1===r?new Ot(i/100):2===r?new Et(i,t):i,new wo.Number(e)}const o=this.dateHelper.dateStringToDateNumber(n);return void 0!==o?new wo.Number(o):new wo.String(e.startsWith("'")?e.slice(1):e)}}throw new rn(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)]}}}
  870. /**
  871. * @license
  872. * Copyright (c) 2024 Handsoncode. All rights reserved.
  873. */(function(e){e[e["COPY"]=0]="COPY",e[e["CUT"]=1]="CUT"})(yo||(yo={})),function(e){e[e["VALUE"]=0]="VALUE",e[e["EMPTY"]=1]="EMPTY",e[e["FORMULA"]=2]="FORMULA",e[e["PARSING_ERROR"]=3]="PARSING_ERROR"}(Ro||(Ro={}));class Co{constructor(e,t,n,r,i){this.sourceLeftCorner=e,this.width=t,this.height=n,this.type=r,this.content=i}*getContent(e){if(void 0!==this.content)for(let t=0;t<this.height;++t)for(let n=0;n<this.width;++n)yield[pr(e.sheet,e.col+n,e.row+t),this.content[t][n]]}}class Oo{constructor(e,t,n){this.dependencyGraph=t,this.operations=n,this.maxRows=e.maxRows,this.maxColumns=e.maxColumns}cut(e,t,n){this.clipboard=new Co(e,t,n,yo.CUT)}copy(e,t,n){const r=[];for(let i=0;i<n;++i){r[i]=[];for(let n=0;n<t;++n){const t=this.operations.getClipboardCell(pr(e.sheet,e.col+n,e.row+i));r[i].push(t)}}this.clipboard=new Co(e,t,n,yo.COPY,r)}abortCut(){this.clipboard&&this.clipboard.type===yo.CUT&&this.clear()}clear(){this.clipboard=void 0}ensureItIsPossibleToCopyPaste(e){if(void 0===this.clipboard)return;if(fr(e)||!this.dependencyGraph.sheetMapping.hasSheetWithId(e.sheet))throw new Gt("a valid target address.");const t=Rr.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===yo.CUT}isCopyClipboard(){return void 0!==this.clipboard&&this.clipboard.type===yo.COPY}}
  874. /**
  875. * @license
  876. * Copyright (c) 2024 Handsoncode. All rights reserved.
  877. */class xo{constructor(e,t,n,r){this.displayName=e,this.address=t,this.added=n,this.options=r}normalizeExpressionName(){return this.displayName.toLowerCase()}copy(){return new xo(this.displayName,this.address,this.added,this.options)}}class No{constructor(){this.mapping=new Map}has(e){return this.mapping.has(this.normalizeExpressionName(e))}isNameAvailable(e){const t=this.normalizeExpressionName(e),n=this.mapping.get(t);return!(n&&n.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),n=this.mapping.get(t);n&&(n.added=!1)}getAllNamedExpressions(){return Array.from(this.mapping.values()).filter(e=>e.added)}normalizeExpressionName(e){return e.toLowerCase()}}class Lo{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),n=this.mapping.get(t);n&&this.mapping.delete(t)}normalizeExpressionName(e){return e.toLowerCase()}}class Io{constructor(){this.nextNamedExpressionRow=0,this.workbookStore=new No,this.worksheetStores=new Map,this.addressCache=new Map}isNameAvailable(e,t){var n,r;return void 0===t?this.workbookStore.isNameAvailable(e):null===(r=null===(n=this.worksheetStore(t))||void 0===n?void 0:n.isNameAvailable(e))||void 0===r||r}namedExpressionInAddress(e){const t=this.addressCache.get(e);return t&&t.added?t:void 0}namedExpressionForScope(e,t){var n;return void 0===t?this.workbookStore.getExisting(e):null===(n=this.worksheetStore(t))||void 0===n?void 0:n.get(e)}nearestNamedExpression(e,t){var n,r;return null!==(r=null===(n=this.worksheetStore(t))||void 0===n?void 0:n.get(e))&&void 0!==r?r:this.workbookStore.getExisting(e)}isExpressionInScope(e,t){var n,r;return null!==(r=null===(n=this.worksheetStore(t))||void 0===n?void 0:n.has(e))&&void 0!==r&&r}isNameValid(e){const t=new RegExp(`^${_}$`),n=new RegExp(`^${w}$`),r=new RegExp(`^${R}$`);return!t.test(e)&&!n.test(e)&&r.test(e)}addNamedExpression(e,t,n){const r=void 0===t?this.workbookStore:this.worksheetStoreOrCreate(t);let i=r.get(e);return void 0!==i?(i.added=!0,i.displayName=e,i.options=n):(i=new xo(e,this.nextAddress(),!0,n),r.add(i)),this.addressCache.set(i.address.row,i),i}restoreNamedExpression(e,t){const n=void 0===t?this.workbookStore:this.worksheetStoreOrCreate(t);return e.added=!0,n.add(e),this.addressCache.set(e.address.row,e),e}namedExpressionOrPlaceholder(e,t){var n;return null!==(n=this.worksheetStoreOrCreate(t).get(e))&&void 0!==n?n:this.workbookNamedExpressionOrPlaceholder(e)}workbookNamedExpressionOrPlaceholder(e){let t=this.workbookStore.get(e);return void 0===t&&(t=new xo(e,this.nextAddress(),!1),this.workbookStore.add(t)),t}remove(e,t){let n;n=void 0===t?this.workbookStore:this.worksheetStore(t);const r=null===n||void 0===n?void 0:n.get(e);if(void 0===n||void 0===r||!r.added)throw Error("Named expression does not exist");n.remove(e),n instanceof Lo&&0===n.mapping.size&&this.worksheetStores.delete(t),this.addressCache.delete(r.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,n)=>{t.getAllNamedExpressions().forEach(t=>{e.push({expression:t,scope:n})})}),e}getAllNamedExpressionsForScope(e){var t,n;return void 0===e?this.workbookStore.getAllNamedExpressions():null!==(n=null===(t=this.worksheetStores.get(e))||void 0===t?void 0:t.getAllNamedExpressions())&&void 0!==n?n:[]}worksheetStoreOrCreate(e){let t=this.worksheetStores.get(e);return t||(t=new Lo,this.worksheetStores.set(e,t)),t}worksheetStore(e){return this.worksheetStores.get(e)}nextAddress(){return pr(Io.SHEET_FOR_WORKBOOK_EXPRESSIONS,0,this.nextNamedExpressionRow++)}}Io.SHEET_FOR_WORKBOOK_EXPRESSIONS=-1;const Po=e=>{switch(e.type){case Y.EMPTY:case Y.NUMBER:case Y.STRING:case Y.ERROR:case Y.ERROR_WITH_RAW_INPUT:return!1;case Y.CELL_REFERENCE:return!e.reference.isAbsolute();case Y.CELL_RANGE:case Y.COLUMN_RANGE:case Y.ROW_RANGE:return!e.start.isAbsolute();case Y.NAMED_EXPRESSION:return!1;case Y.PERCENT_OP:case Y.PLUS_UNARY_OP:case Y.MINUS_UNARY_OP:return Po(e.value);case Y.CONCATENATE_OP:case Y.EQUALS_OP:case Y.NOT_EQUAL_OP:case Y.LESS_THAN_OP:case Y.GREATER_THAN_OP:case Y.LESS_THAN_OR_EQUAL_OP:case Y.GREATER_THAN_OR_EQUAL_OP:case Y.MINUS_OP:case Y.PLUS_OP:case Y.TIMES_OP:case Y.DIV_OP:case Y.POWER_OP:return Po(e.left)||Po(e.right);case Y.PARENTHESIS:return Po(e.expression);case Y.FUNCTION_CALL:return e.args.some(e=>Po(e));case Y.ARRAY:return e.args.some(e=>e.some(e=>Po(e)))}};
  878. /**
  879. * @license
  880. * Copyright (c) 2024 Handsoncode. All rights reserved.
  881. */class Do{performEagerTransformations(e,t){for(const n of e.arrayFormulaNodes()){const[r,i]=this.transformSingleAst(n.getFormula(e.lazilyTransformingAstService),n.getAddress(e.lazilyTransformingAstService)),o=t.rememberNewAst(r);n.setFormula(o),n.setAddress(i)}}transformSingleAst(e,t){const n=this.transformAst(e,t),r=this.fixNodeAddress(t);return[n,r]}transformAst(e,t){switch(e.type){case Y.CELL_REFERENCE:return this.transformCellReferenceAst(e,t);case Y.CELL_RANGE:return this.transformCellRangeAst(e,t);case Y.COLUMN_RANGE:return this.transformColumnRangeAst(e,t);case Y.ROW_RANGE:return this.transformRowRangeAst(e,t);case Y.EMPTY:case Y.ERROR:case Y.NUMBER:case Y.NAMED_EXPRESSION:case Y.ERROR_WITH_RAW_INPUT:case Y.STRING:return e;case Y.PERCENT_OP:case Y.MINUS_UNARY_OP:case Y.PLUS_UNARY_OP:return Object.assign(Object.assign({},e),{value:this.transformAst(e.value,t)});case Y.FUNCTION_CALL:return Object.assign(Object.assign({},e),{procedureName:e.procedureName,args:e.args.map(e=>this.transformAst(e,t))});case Y.PARENTHESIS:return Object.assign(Object.assign({},e),{expression:this.transformAst(e.expression,t)});case Y.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 n=this.transformCellAddress(e.reference,t);return n instanceof l?Object.assign(Object.assign({},e),{reference:n}):n===Vn.REF?_e(new lr(Vn.REF)):e}transformCellRangeAst(e,t){const n=this.transformCellRange(e.start,e.end,t);return Array.isArray(n)?Object.assign(Object.assign({},e),{start:n[0],end:n[1]}):n===Vn.REF?_e(new lr(Vn.REF)):e}transformColumnRangeAst(e,t){const n=this.transformColumnRange(e.start,e.end,t);return Array.isArray(n)?Object.assign(Object.assign({},e),{start:n[0],end:n[1]}):n===Vn.REF?_e(new lr(Vn.REF)):e}transformRowRangeAst(e,t){const n=this.transformRowRange(e.start,e.end,t);return Array.isArray(n)?Object.assign(Object.assign({},e),{start:n[0],end:n[1]}):n===Vn.REF?_e(new lr(Vn.REF)):e}}
  882. /**
  883. * @license
  884. * Copyright (c) 2024 Handsoncode. All rights reserved.
  885. */class Fo extends Do{constructor(e){super(),this.columnsSpan=e}get sheet(){return this.columnsSpan.sheet}isIrreversible(){return!1}transformRowRangeAst(e,t){return e}transformCellRange(e,t,n){return this.transformRange(e,t,n)}transformRowRange(e,t,n){throw Error("Not implemented")}transformColumnRange(e,t,n){return this.transformRange(e,t,n)}transformCellAddress(e,t){const n=_r(e,t);if(n!==this.columnsSpan.sheet&&t.sheet!==this.columnsSpan.sheet)return!1;const r=e.toSimpleColumnAddress(t);if(n===this.columnsSpan.sheet&&t.sheet!==this.columnsSpan.sheet)return this.columnsSpan.columnStart<=r.col&&e.shiftedByColumns(this.columnsSpan.numberOfColumns);if(t.sheet===this.columnsSpan.sheet&&n!==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 n=e.toSimpleColumnAddress(t);return n.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,n){const r=this.transformCellAddress(e,n),i=this.transformCellAddress(t,n);return r===Vn.REF||i===Vn.REF?Vn.REF:!(!r&&!i)&&[r||e,i||t]}}
  886. /**
  887. * @license
  888. * Copyright (c) 2024 Handsoncode. All rights reserved.
  889. */class ko extends Do{constructor(e){super(),this.rowsSpan=e}get sheet(){return this.rowsSpan.sheet}isIrreversible(){return!1}transformColumnRangeAst(e,t){return e}transformCellRange(e,t,n){return this.transformRange(e,t,n)}transformRowRange(e,t,n){return this.transformRange(e,t,n)}transformColumnRange(e,t,n){throw Error("Not implemented")}transformCellAddress(e,t){const n=_r(e,t);if(n!==this.rowsSpan.sheet&&t.sheet!==this.rowsSpan.sheet)return!1;const r=e.toSimpleRowAddress(t);return n===this.rowsSpan.sheet&&t.sheet!==this.rowsSpan.sheet?this.rowsSpan.rowStart<=r.row&&e.shiftedByRows(this.rowsSpan.numberOfRows):t.sheet===this.rowsSpan.sheet&&n!==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):r.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,n){const r=this.transformCellAddress(e,n),i=this.transformCellAddress(t,n);return r===Vn.REF||i===Vn.REF?Vn.REF:!(!r&&!i)&&[r||e,i||t]}}
  890. /**
  891. * @license
  892. * Copyright (c) 2024 Handsoncode. All rights reserved.
  893. */class Bo extends Do{constructor(e){super(),this.sheet=e}isIrreversible(){return!0}fixNodeAddress(e){return e}transformCellAddress(e,t){return!!e.isInvalid(t)&&Vn.REF}transformCellRange(e,t,n){return!(!e.isInvalid(n)&&!t.isInvalid(n))&&Vn.REF}transformColumnRange(e,t,n){return!(!e.isInvalid(n)&&!t.isInvalid(n))&&Vn.REF}transformRowRange(e,t,n){return!(!e.isInvalid(n)&&!t.isInvalid(n))&&Vn.REF}}
  894. /**
  895. * @license
  896. * Copyright (c) 2024 Handsoncode. All rights reserved.
  897. */class Uo extends Do{constructor(e,t,n,r){super(),this.sourceRange=e,this.toRight=t,this.toBottom=n,this.toSheet=r,this.dependentFormulaTransformer=new Ho(e,t,n,r)}get sheet(){return this.sourceRange.sheet}isIrreversible(){return!0}transformSingleAst(e,t){if(this.sourceRange.addressInRange(t)){const n=this.transformAst(e,t);return[n,this.fixNodeAddress(t)]}return this.dependentFormulaTransformer.transformSingleAst(e,t)}fixNodeAddress(e){return pr(this.toSheet,e.col+this.toRight,e.row+this.toBottom)}transformCellAddress(e,t){return this.transformAddress(e,t)}transformCellRange(e,t,n){return this.transformRange(e,t,n)}transformColumnRange(e,t,n){return this.transformRange(e,t,n)}transformRowRange(e,t,n){return this.transformRange(e,t,n)}transformAddress(e,t){const n=this.sourceRange;if(e instanceof l){const r=e.toSimpleCellAddress(t);if(n.addressInRange(r))return e.shiftAbsoluteDimensions(this.toRight,this.toBottom)}return e.shiftRelativeDimensions(-this.toRight,-this.toBottom)}transformRange(e,t,n){const r=this.sourceRange;if(e instanceof l&&t instanceof l){const i=e.toSimpleCellAddress(n),o=t.toSimpleCellAddress(n);if(r.addressInRange(i)&&r.addressInRange(o))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 Ho extends Do{constructor(e,t,n,r){super(),this.sourceRange=e,this.toRight=t,this.toBottom=n,this.toSheet=r}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,n){return this.transformRange(e,t,n)}transformColumnRange(e,t,n){return this.transformRange(e,t,n)}transformRowRange(e,t,n){return this.transformRange(e,t,n)}shouldMove(e,t){return e instanceof l?this.sourceRange.addressInRange(e.toSimpleCellAddress(t)):e instanceof a?this.sourceRange.rowInRange(e.toSimpleRowAddress(t))&&!this.sourceRange.isFinite():this.sourceRange.columnInRange(e.toSimpleColumnAddress(t))&&!this.sourceRange.isFinite()}transformRange(e,t,n){const r=this.transformCellAddress(e,n),i=this.transformCellAddress(t,n);return!(!r||!i)&&[r,i]}}
  898. /**
  899. * @license
  900. * Copyright (c) 2024 Handsoncode. All rights reserved.
  901. */class jo extends Do{constructor(e){super(),this.columnsSpan=e}get sheet(){return this.columnsSpan.sheet}isIrreversible(){return!0}transformRowRangeAst(e,t){return e}transformCellRange(e,t,n){return this.transformRange(e,t,n)}transformRowRange(e,t,n){throw Error("Not implemented")}transformColumnRange(e,t,n){return this.transformRange(e,t,n)}transformCellAddress(e,t){const n=_r(e,t);if(this.columnsSpan.sheet!==t.sheet&&this.columnsSpan.sheet!==n)return!1;if(this.columnsSpan.sheet!==t.sheet&&this.columnsSpan.sheet===n){const n=e.toSimpleColumnAddress(t);if(n.col<this.columnsSpan.columnStart)return!1;if(n.col>this.columnsSpan.columnEnd)return e.shiftedByColumns(-this.columnsSpan.numberOfColumns)}if(this.columnsSpan.sheet===t.sheet&&this.columnsSpan.sheet!==n){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===n)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 n=e.toSimpleColumnAddress(t);if(n.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(n.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 Vn.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,n){const r=_r(e,n);let i=e,o=t;if(this.columnsSpan.sheet===r){const r=e.toSimpleColumnAddress(n),s=t.toSimpleColumnAddress(n);if(this.columnsSpan.columnStart<=r.col&&this.columnsSpan.columnEnd>=s.col)return Vn.REF;r.col>=this.columnsSpan.columnStart&&r.col<=this.columnsSpan.columnEnd&&(i=e.shiftedByColumns(this.columnsSpan.columnEnd-r.col+1)),s.col>=this.columnsSpan.columnStart&&s.col<=this.columnsSpan.columnEnd&&(o=t.shiftedByColumns(-(s.col-this.columnsSpan.columnStart+1)))}const s=this.transformCellAddress(i,n),a=this.transformCellAddress(o,n);if(!1===s&&!1===a)return[i,o];if(s===Vn.REF||a===Vn.REF)throw Error("Cannot happen");return[s||i,a||o]}}
  902. /**
  903. * @license
  904. * Copyright (c) 2024 Handsoncode. All rights reserved.
  905. */class Vo extends Do{constructor(e){super(),this.rowsSpan=e}get sheet(){return this.rowsSpan.sheet}isIrreversible(){return!0}transformColumnRangeAst(e,t){return e}transformCellAddress(e,t){const n=_r(e,t);if(this.rowsSpan.sheet!==t.sheet&&this.rowsSpan.sheet!==n)return!1;if(this.rowsSpan.sheet!==t.sheet&&this.rowsSpan.sheet===n){const n=e.toSimpleRowAddress(t);if(n.row<this.rowsSpan.rowStart)return!1;if(n.row>this.rowsSpan.rowEnd)return e.shiftedByRows(-this.rowsSpan.numberOfRows)}if(this.rowsSpan.sheet===t.sheet&&this.rowsSpan.sheet!==n){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===n)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 n=e.toSimpleRowAddress(t);if(n.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(n.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 Vn.REF}transformCellRange(e,t,n){return this.transformRange(e,t,n)}transformRowRange(e,t,n){return this.transformRange(e,t,n)}transformColumnRange(e,t,n){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,n){const r=_r(e,n);let i=e,o=t;if(this.rowsSpan.sheet===r){const r=e.toSimpleRowAddress(n),s=t.toSimpleRowAddress(n);if(this.rowsSpan.rowStart<=r.row&&this.rowsSpan.rowEnd>=s.row)return Vn.REF;r.row>=this.rowsSpan.rowStart&&r.row<=this.rowsSpan.rowEnd&&(i=e.shiftedByRows(this.rowsSpan.rowEnd-r.row+1)),s.row>=this.rowsSpan.rowStart&&s.row<=this.rowsSpan.rowEnd&&(o=t.shiftedByRows(-(s.row-this.rowsSpan.rowStart+1)))}const s=this.transformCellAddress(i,n),a=this.transformCellAddress(o,n);return!1===s&&!1===a?[i,o]:s===Vn.REF||a===Vn.REF?Vn.REF:[s||i,a||o]}}
  906. /**
  907. * @license
  908. * Copyright (c) 2024 Handsoncode. All rights reserved.
  909. */class Wo extends Do{constructor(e){super(),this.sheet=e}isIrreversible(){return!0}performEagerTransformations(e,t){for(const n of e.arrayFormulaNodes()){const[t]=this.transformSingleAst(n.getFormula(e.lazilyTransformingAstService),n.getAddress(e.lazilyTransformingAstService));n.setFormula(t)}}fixNodeAddress(e){return e}transformCellAddress(e,t){return this.transformAddress(e)}transformCellRange(e,t,n){return this.transformAddress(e)}transformColumnRange(e,t,n){return this.transformAddress(e)}transformRowRange(e,t,n){return this.transformAddress(e)}transformAddress(e){return e.sheet===this.sheet&&Vn.REF}}
  910. /**
  911. * @license
  912. * Copyright (c) 2024 Handsoncode. All rights reserved.
  913. */function Yo(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 Qo(e){let t=0,n=0,r=0;for(let o=0;o<e.length;o++){let i=0;for(let t=0;t<e[o].length;t++){const n=e[o][t];void 0!==n&&null!==n&&(i=t+1,++r)}t=Math.max(t,i),i>0&&(n=o+1)}const i=t*n;return{height:n,width:t,fill:0===i?0:r/i}}
  914. /**
  915. * @license
  916. * Copyright (c) 2024 Handsoncode. All rights reserved.
  917. */class Xo{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return qo(this.indexes)}rowsSpans(){return this.normalizedIndexes().map(e=>Bt.fromNumberOfRows(this.sheet,e[0],e[1]))}}class Ko{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return Jo(this.indexes)}rowsSpans(){return this.normalizedIndexes().map(e=>Bt.fromNumberOfRows(this.sheet,e[0],e[1]))}}class Go{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return Jo(this.indexes)}columnsSpans(){return this.normalizedIndexes().map(e=>Ut.fromNumberOfColumns(this.sheet,e[0],e[1]))}}class Zo{constructor(e,t){this.sheet=e,this.indexes=t}normalizedIndexes(){return qo(this.indexes)}columnsSpans(){return this.normalizedIndexes().map(e=>Ut.fromNumberOfColumns(this.sheet,e[0],e[1]))}}class zo{constructor(e,t,n,r,i,o,s,a,l){this.dependencyGraph=t,this.columnSearch=n,this.cellContentParser=r,this.parser=i,this.stats=o,this.lazilyTransformingAstService=s,this.namedExpressions=a,this.arraySizePredictor=l,this.changes=kt.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 n of e.rowsSpans()){const e=this.doRemoveRows(n);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 n of e.columnsSpans()){const e=this.doRemoveColumns(n);e&&t.push(e)}return t}removeSheet(e){this.dependencyGraph.removeSheet(e);let t=0;this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const n=new Wo(e);n.performEagerTransformations(this.dependencyGraph,this.parser),t=this.lazilyTransformingAstService.addTransformation(n)}),this.sheetMapping.removeSheet(e),this.columnSearch.removeSheet(e);const n=this.namedExpressions.getAllNamedExpressionsForScope(e).map(t=>this.removeNamedExpression(t.normalizeExpressionName(),e));return{version:t,scopedNamedExpressions:n}}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),n=[];return this.dependencyGraph.addressMapping.autoAddSheet(t,Qo(n)),this.sheetMapping.fetchDisplayName(t)}renameSheet(e,t){return this.sheetMapping.renameSheet(e,t)}moveRows(e,t,n,r){const i=Bt.fromNumberOfRows(e,r,n);this.lazilyTransformingAstService.beginCombinedMode(e),this.doAddRows(i),r<t&&(t+=n);const o=pr(e,0,t),s=pr(e,0,r);this.moveCells(o,Number.POSITIVE_INFINITY,n,s);const a=Bt.fromNumberOfRows(e,t,n);return this.doRemoveRows(a),this.lazilyTransformingAstService.commitCombinedMode()}moveColumns(e,t,n,r){const i=Ut.fromNumberOfColumns(e,r,n);this.lazilyTransformingAstService.beginCombinedMode(e),this.doAddColumns(i),r<t&&(t+=n);const o=pr(e,t,0),s=pr(e,r,0);this.moveCells(o,n,Number.POSITIVE_INFINITY,s);const a=Ut.fromNumberOfColumns(e,t,n);return this.doRemoveColumns(a),this.lazilyTransformingAstService.commitCombinedMode()}moveCells(e,t,n,r){this.ensureItIsPossibleToMoveCells(e,t,n,r);const i=Rr.spanFrom(e,t,n),o=Rr.spanFrom(r,t,n),s=r.col-e.col,a=r.row-e.row,l=r.sheet,c=this.getRangeClipboardCells(o),u=this.dependencyGraph.rawValuesFromRange(o);this.columnSearch.removeValues(u);const d=this.dependencyGraph.rawValuesFromRange(i);this.columnSearch.moveValues(d,s,a,l);let h=0;this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const e=new Uo(i,s,a,l);e.performEagerTransformations(this.dependencyGraph,this.parser),h=this.lazilyTransformingAstService.addTransformation(e)}),this.dependencyGraph.moveCells(i,s,a,l);const p=this.updateNamedExpressionsForMovedCells(e,t,n,r);return{version:h,overwrittenCellsData:c,addedGlobalNamedExpressions:p}}setRowOrder(e,t){const n=[];let r=[];for(const[i,o]of t)if(i!==o){const t=Rr.spanFrom({sheet:e,col:0,row:i},1/0,1),s=this.getRangeClipboardCells(t);r=r.concat(s),n.push(s.map(([{sheet:e,col:t},n])=>[{sheet:e,col:t,row:o},n]))}return n.forEach(t=>this.restoreClipboardCells(e,t.values())),r}setColumnOrder(e,t){const n=[];let r=[];for(const[i,o]of t)if(i!==o){const t=Rr.spanFrom({sheet:e,col:i,row:0},1,1/0),s=this.getRangeClipboardCells(t);r=r.concat(s),n.push(s.map(([{sheet:e,col:t,row:n},r])=>[{sheet:e,col:o,row:n},r]))}return n.forEach(t=>this.restoreClipboardCells(e,t.values())),r}addNamedExpression(e,t,n,r){const i=this.namedExpressions.addNamedExpression(e,n,r);this.storeNamedExpressionInCell(i.address,t),this.adjustNamedExpressionEdges(i,e,n)}restoreNamedExpression(e,t,n){const r=e.displayName;this.restoreCell(e.address,t);const i=this.namedExpressions.restoreNamedExpression(e,n);this.adjustNamedExpressionEdges(i,r,n)}changeNamedExpressionExpression(e,t,n,r){const i=this.namedExpressions.namedExpressionForScope(e,n);if(!i)throw new Jt(e);const o=i.copy();i.options=r;const s=this.getClipboardCell(i.address);return this.storeNamedExpressionInCell(i.address,t),[o,s]}removeNamedExpression(e,t){const n=this.namedExpressions.namedExpressionForScope(e,t);if(!n)throw new Jt(e);this.namedExpressions.remove(n.displayName,t);const r=this.getClipboardCell(n.address);if(void 0!==t){const t=this.namedExpressions.workbookNamedExpressionOrPlaceholder(e);this.dependencyGraph.exchangeNode(n.address,t.address)}else this.dependencyGraph.setCellEmpty(n.address);return[n,r]}ensureItIsPossibleToMoveCells(e,t,n,r){if(fr(e)||!($o(t)&&$o(n)||es(e,t,n))||fr(r)||!this.sheetMapping.hasSheetWithId(e.sheet)||!this.sheetMapping.hasSheetWithId(r.sheet))throw new Gt("a valid range of cells to move.");const i=Rr.spanFrom(e,t,n),o=Rr.spanFrom(r,t,n);if(o.exceedsSheetSizeLimits(this.maxColumns,this.maxRows))throw new Qt;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(i))throw new gn;if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(o))throw new _n}restoreClipboardCells(e,t){const n=[];for(const[r,i]of t)if(this.restoreCell(r,i),i.type===Ro.FORMULA){const{dependencies:t}=this.parser.fetchCachedResult(i.hash);n.push(...this.updateNamedExpressionsForTargetAddress(e,r,t))}return n}restoreCell(e,t){switch(t.type){case Ro.VALUE:this.setValueToCell(t,e);break;case Ro.FORMULA:this.setFormulaToCellFromCache(t.hash,e);break;case Ro.EMPTY:this.setCellEmpty(e);break;case Ro.PARSING_ERROR:this.setParsingErrorToCell(t.rawInput,t.errors,e);break}}getOldContent(e){const t=this.dependencyGraph.getCell(e);if(void 0===t||t instanceof Gn)return[e,{type:Ro.EMPTY}];if(t instanceof Zn)return[e,Object.assign({type:Ro.VALUE},t.getValues())];if(t instanceof En)return[t.getAddress(this.lazilyTransformingAstService),{type:Ro.FORMULA,hash:this.parser.computeHashFromAst(t.getFormula(this.lazilyTransformingAstService))}];if(t instanceof zn)return[e,{type:Ro.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 Gn)return{type:Ro.EMPTY};if(t instanceof Zn)return Object.assign({type:Ro.VALUE},t.getValues());if(t instanceof Tn){const n=t.getArrayCellValue(e);return n===wt?{type:Ro.EMPTY}:{type:Ro.VALUE,parsedValue:n,rawValue:t.getArrayCellRawValue(e)}}if(t instanceof Cn)return{type:Ro.FORMULA,hash:this.parser.computeHashFromAst(t.getFormula(this.lazilyTransformingAstService))};if(t instanceof zn)return{type:Ro.PARSING_ERROR,rawInput:t.rawInput,errors:t.errors};throw Error("Trying to copy unsupported type")}getSheetClipboardCells(e){const t=this.dependencyGraph.getSheetHeight(e),n=this.dependencyGraph.getSheetWidth(e),r=new Array(t);for(let i=0;i<t;i++){r[i]=new Array(n);for(let t=0;t<n;t++){const n=pr(e,t,i);r[i][t]=this.getClipboardCell(n)}}return r}getRangeClipboardCells(e){const t=[];for(const n of e.addresses(this.dependencyGraph))t.push([n,this.getClipboardCell(n)]);return t}setCellContent(e,t){const n=this.cellContentParser.parse(t),r=this.getOldContent(e);if(n instanceof wo.Formula){const t=this.parser.parse(n.formula,e),{ast:r,errors:o}=t;if(o.length>0)this.setParsingErrorToCell(n.formula,o,e);else try{const n=this.arraySizePredictor.checkArraySize(r,e);if(n.width<=0||n.height<=0)throw Error("Incorrect array size");this.setFormulaToCell(e,n,t)}catch(i){if(!i.message)throw i;const t={type:W.InvalidRangeSize,message:"Invalid range size."};this.setParsingErrorToCell(n.formula,[t],e)}}else n instanceof wo.Empty?this.setCellEmpty(e):this.setValueToCell({parsedValue:n.value,rawValue:t},e);return r}setSheetContent(e,t){this.clearSheet(e);for(let n=0;n<t.length;n++)for(let r=0;r<t[n].length;r++){const i=pr(e,r,n);this.setCellContent(i,t[n][r])}}setParsingErrorToCell(e,t,n){const r=this.dependencyGraph.getCellValue(n),i=new zn(t,e),o=this.dependencyGraph.setParsingErrorToCell(n,i);this.columnSearch.remove(yt(r),n),this.columnSearch.applyChanges(o.getChanges()),this.changes.addAll(o),this.changes.addChange(i.getCellValue(),n)}setFormulaToCell(e,t,{ast:n,hasVolatileFunction:r,hasStructuralChangeFunction:i,dependencies:o}){const s=this.dependencyGraph.getCellValue(e),a=this.dependencyGraph.setFormulaToCell(e,n,bt(o,e),t,r,i);this.columnSearch.remove(yt(s),e),this.columnSearch.applyChanges(a.getChanges()),this.changes.addAll(a)}setValueToCell(e,t){const n=this.dependencyGraph.getCellValue(t),r=this.dependencyGraph.setValueToCell(t,e);this.columnSearch.change(yt(n),yt(e.parsedValue),t),this.columnSearch.applyChanges(r.getChanges().filter(e=>!br(e.address,t))),this.changes.addAll(r),this.changes.addChange(e.parsedValue,t)}setCellEmpty(e){if(this.dependencyGraph.isArrayInternalCell(e))return;const t=this.dependencyGraph.getCellValue(e),n=this.dependencyGraph.setCellEmpty(e);this.columnSearch.remove(yt(t),e),this.columnSearch.applyChanges(n.getChanges()),this.changes.addAll(n),this.changes.addChange(wt,e)}setFormulaToCellFromCache(e,t){const{ast:n,hasVolatileFunction:r,hasStructuralChangeFunction:i,dependencies:o}=this.parser.fetchCachedResult(e),s=bt(o,t),[a]=new Bo(t.sheet).transformSingleAst(n,t);this.parser.rememberNewAst(a);const l=vt(s),c=this.arraySizePredictor.checkArraySize(n,t);this.dependencyGraph.setFormulaToCell(t,a,l,c,r,i)}rowEffectivelyNotInSheet(e,t){const n=this.dependencyGraph.addressMapping.getHeight(t);return e>=n}getAndClearContentChanges(){const e=this.changes;return this.changes=kt.empty(),e}forceApplyPostponedTransformations(){this.dependencyGraph.forceApplyPostponedTransformations()}doRemoveRows(e){if(this.rowEffectivelyNotInSheet(e.rowStart,e.sheet))return;const t=[];for(const[o]of this.dependencyGraph.entriesFromRowsSpan(e))t.push({address:o,cellType:this.getClipboardCell(o)});const{affectedArrays:n,contentChanges:r}=this.dependencyGraph.removeRows(e);this.columnSearch.applyChanges(r.getChanges());let i=0;return this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new Vo(e);t.performEagerTransformations(this.dependencyGraph,this.parser),i=this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(n),{version:i,removedCells:t,rowFrom:e.rowStart,rowCount:e.numberOfRows}}doRemoveColumns(e){if(this.columnEffectivelyNotInSheet(e.columnStart,e.sheet))return;const t=[];for(const[o]of this.dependencyGraph.entriesFromColumnsSpan(e))t.push({address:o,cellType:this.getClipboardCell(o)});const{affectedArrays:n,contentChanges:r}=this.dependencyGraph.removeColumns(e);this.columnSearch.applyChanges(r.getChanges()),this.columnSearch.removeColumns(e);let i=0;return this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new jo(e);t.performEagerTransformations(this.dependencyGraph,this.parser),i=this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(n),{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 ko(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),n=t.getAddress(this.lazilyTransformingAstService),r=this.parser.computeHashFromAst(e);this.setFormulaToCellFromCache(r,n)}}doAddColumns(e){if(this.columnEffectivelyNotInSheet(e.columnStart,e.sheet))return;const{affectedArrays:t,contentChanges:n}=this.dependencyGraph.addColumns(e);this.columnSearch.addColumns(e),this.columnSearch.applyChanges(n.getChanges()),this.stats.measure(Lt.TRANSFORM_ASTS,()=>{const t=new Fo(e);t.performEagerTransformations(this.dependencyGraph,this.parser),this.lazilyTransformingAstService.addTransformation(t)}),this.rewriteAffectedArrays(t)}columnEffectivelyNotInSheet(e,t){const n=this.dependencyGraph.addressMapping.getWidth(t);return e>=n}adjustNamedExpressionEdges(e,t,n){if(void 0===n)return;const{vertex:r,id:i}=this.dependencyGraph.fetchCellOrCreateEmpty(e.address),o=null!==i&&void 0!==i?i:this.dependencyGraph.graph.getNodeId(r),s=this.namedExpressions.workbookNamedExpressionOrPlaceholder(t),{vertex:a,id:l}=this.dependencyGraph.fetchCellOrCreateEmpty(s.address),c=null!==l&&void 0!==l?l:this.dependencyGraph.graph.getNodeId(a);for(const u of this.dependencyGraph.graph.adjacentNodes(a))if(u instanceof Cn&&u.getAddress(this.lazilyTransformingAstService).sheet===n){const t=u.getFormula(this.lazilyTransformingAstService),n=u.getAddress(this.lazilyTransformingAstService),{dependencies:r}=this.parser.fetchCachedResultForAst(t);for(const i of bt(r,n))i instanceof _t&&i.name.toLowerCase()===e.displayName.toLowerCase()&&(this.dependencyGraph.graph.removeEdge(c,u),this.dependencyGraph.graph.addEdge(o,u))}}storeNamedExpressionInCell(e,t){const n=this.cellContentParser.parse(t);if(n instanceof wo.Formula){const t=this.parser.parse(n.formula,pr(-1,0,0));if(Po(t.ast))throw new bn;const{ast:r,hasVolatileFunction:i,hasStructuralChangeFunction:o,dependencies:s}=t;this.dependencyGraph.setFormulaToCell(e,r,bt(s,e),ei.scalar(),i,o)}else n instanceof wo.Empty?this.setCellEmpty(e):this.setValueToCell({parsedValue:n.value,rawValue:t},e)}updateNamedExpressionsForMovedCells(e,t,n,r){if(e.sheet===r.sheet)return[];const i=[],o=Rr.spanFrom(r,t,n);for(const s of o.addresses(this.dependencyGraph)){const t=this.addressMapping.fetchCell(s);if(t instanceof Cn&&s.sheet!==e.sheet){const n=t.getFormula(this.lazilyTransformingAstService),{dependencies:r}=this.parser.fetchCachedResultForAst(n);i.push(...this.updateNamedExpressionsForTargetAddress(e.sheet,s,r))}}return i}updateNamedExpressionsForTargetAddress(e,t,n){if(e===t.sheet)return[];const r=[],i=this.addressMapping.fetchCell(t);for(const o of bt(n,t)){if(!(o instanceof _t))continue;const n=o.name,s=this.dependencyGraph.fetchNamedExpressionVertex(n,e).vertex,a=this.namedExpressions.isExpressionInScope(n,t.sheet),l=a?this.dependencyGraph.fetchNamedExpressionVertex(n,t.sheet).vertex:this.copyOrFetchGlobalNamedExpressionVertex(n,s,r);l!==s&&(this.dependencyGraph.graph.removeEdgeIfExists(s,i),this.dependencyGraph.graph.addEdge(l,i))}return r}allocateNamedExpressionAddressSpace(){this.dependencyGraph.addressMapping.addSheet(Io.SHEET_FOR_WORKBOOK_EXPRESSIONS,new qn(0,0))}copyOrFetchGlobalNamedExpressionVertex(e,t,n){let r=this.namedExpressions.namedExpressionForScope(e);if(void 0===r)if(r=this.namedExpressions.addNamedExpression(e),n.push(r.normalizeExpressionName()),t instanceof Cn){const e=this.parser.fetchCachedResultForAst(t.getFormula(this.lazilyTransformingAstService)),{ast:n,hasVolatileFunction:i,hasStructuralChangeFunction:o,dependencies:s}=e;this.dependencyGraph.setFormulaToCell(r.address,n,bt(s,r.address),ei.scalar(),i,o)}else t instanceof Gn?this.setCellEmpty(r.address):t instanceof Zn&&this.setValueToCell(t.getValues(),r.address);return this.dependencyGraph.fetchCellOrCreateEmpty(r.address).vertex}}function qo(e){if(e.length<=1)return e;const t=[...e].sort(([e],[t])=>e-t),n=t.reduce((e,[t,n])=>{const r=e[e.length-1],i=r[0]+r[1];return t<=i?r[1]+=Math.max(0,n-(i-t)):e.push([t,n]),e},[t[0]]);let r=0;for(let i=0;i<n.length;++i)n[i][0]-=r,r+=n[i][1];return n}function Jo(e){if(e.length<=1)return e;const t=[...e].sort(([e],[t])=>e-t),n=t.reduce((e,[t,n])=>{const r=e[e.length-1];return t===r[0]?r[1]=Math.max(r[1],n):e.push([t,n]),e},[t[0]]);let r=0;for(let i=0;i<n.length;++i)n[i][0]+=r,r+=n[i][1];return n}function $o(e){return Number.isInteger(e)&&e>0}function es(e,t,n){return 0===e.row&&$o(t)&&n===Number.POSITIVE_INFINITY||0===e.col&&$o(n)&&t===Number.POSITIVE_INFINITY}
  918. /**
  919. * @license
  920. * Copyright (c) 2024 Handsoncode. All rights reserved.
  921. */class ts{}class ns extends ts{constructor(e,t){super(),this.command=e,this.rowsRemovals=t}doUndo(e){e.undoRemoveRows(this)}doRedo(e){e.redoRemoveRows(this)}}class rs extends ts{constructor(e,t,n,r,i,o,s){super(),this.sourceLeftCorner=e,this.width=t,this.height=n,this.destinationLeftCorner=r,this.overwrittenCellsData=i,this.addedGlobalNamedExpressions=o,this.version=s}doUndo(e){e.undoMoveCells(this)}doRedo(e){e.redoMoveCells(this)}}class is extends ts{constructor(e){super(),this.command=e}doUndo(e){e.undoAddRows(this)}doRedo(e){e.redoAddRows(this)}}class os extends ts{constructor(e,t,n){super(),this.sheetId=e,this.rowMapping=t,this.oldContent=n}doUndo(e){e.undoSetRowOrder(this)}doRedo(e){e.redoSetRowOrder(this)}}class ss extends ts{constructor(e,t,n){super(),this.sheetId=e,this.columnMapping=t,this.oldContent=n}doUndo(e){e.undoSetColumnOrder(this)}doRedo(e){e.redoSetColumnOrder(this)}}class as extends ts{constructor(e,t,n){super(),this.sheetId=e,this.oldSheetContent=t,this.newSheetContent=n}doUndo(e){e.undoSetSheetContent(this)}doRedo(e){e.redoSetSheetContent(this)}}class ls extends ts{constructor(e,t,n,r,i){super(),this.sheet=e,this.startRow=t,this.numberOfRows=n,this.targetRow=r,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 cs extends ts{constructor(e,t,n,r,i){super(),this.sheet=e,this.startColumn=t,this.numberOfColumns=n,this.targetColumn=r,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 us extends ts{constructor(e){super(),this.command=e}doUndo(e){e.undoAddColumns(this)}doRedo(e){e.redoAddColumns(this)}}class ds extends ts{constructor(e,t){super(),this.command=e,this.columnsRemovals=t}doUndo(e){e.undoRemoveColumns(this)}doRedo(e){e.redoRemoveColumns(this)}}class hs extends ts{constructor(e){super(),this.sheetName=e}doUndo(e){e.undoAddSheet(this)}doRedo(e){e.redoAddSheet(this)}}class ps extends ts{constructor(e,t,n,r,i){super(),this.sheetName=e,this.sheetId=t,this.oldSheetContent=n,this.scopedNamedExpressions=r,this.version=i}doUndo(e){e.undoRemoveSheet(this)}doRedo(e){e.redoRemoveSheet(this)}}class fs extends ts{constructor(e,t,n){super(),this.sheetId=e,this.oldName=t,this.newName=n}doUndo(e){e.undoRenameSheet(this)}doRedo(e){e.redoRenameSheet(this)}}class ms extends ts{constructor(e,t){super(),this.sheetId=e,this.oldSheetContent=t}doUndo(e){e.undoClearSheet(this)}doRedo(e){e.redoClearSheet(this)}}class As extends ts{constructor(e){super(),this.cellContents=e}doUndo(e){e.undoSetCellContents(this)}doRedo(e){e.redoSetCellContents(this)}}class gs extends ts{constructor(e,t,n,r){super(),this.targetLeftCorner=e,this.oldContent=t,this.newContent=n,this.addedGlobalNamedExpressions=r}doUndo(e){e.undoPaste(this)}doRedo(e){e.redoPaste(this)}}class _s extends ts{constructor(e,t,n,r){super(),this.name=e,this.newContent=t,this.scope=n,this.options=r}doUndo(e){e.undoAddNamedExpression(this)}doRedo(e){e.redoAddNamedExpression(this)}}class bs extends ts{constructor(e,t,n){super(),this.namedExpression=e,this.content=t,this.scope=n}doUndo(e){e.undoRemoveNamedExpression(this)}doRedo(e){e.redoRemoveNamedExpression(this)}}class vs extends ts{constructor(e,t,n,r,i){super(),this.namedExpression=e,this.newContent=t,this.oldContent=n,this.scope=r,this.options=i}doUndo(e){e.undoChangeNamedExpression(this)}doRedo(e){e.redoChangeNamedExpression(this)}}class ws extends ts{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 ys{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 ws}commitBatchMode(){if(void 0===this.batchUndoEntry)throw Error("Batch mode wasn't started");this.addUndoEntry(this.batchUndoEntry),this.batchUndoEntry=void 0}storeDataForVersion(e,t,n){this.oldData.has(e)||this.oldData.set(e,[]);const r=this.oldData.get(e);r.push([t,n])}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:n}=e;for(let r=n.length-1;r>=0;--r){const e=n[r];this.operations.addRows(new Ko(t,[[e.rowFrom,e.rowCount]]));for(const{address:t,cellType:n}of e.removedCells)this.operations.restoreCell(t,n);this.restoreOldDataFromVersion(e.version-1)}}undoRemoveColumns(e){this.operations.forceApplyPostponedTransformations();const{command:{sheet:t},columnsRemovals:n}=e;for(let r=n.length-1;r>=0;--r){const e=n[r];this.operations.addColumns(new Go(t,[[e.columnFrom,e.columnCount]]));for(const{address:t,cellType:n}of e.removedCells)this.operations.restoreCell(t,n);this.restoreOldDataFromVersion(e.version-1)}}undoAddRows(e){const t=e.command.rowsSpans();for(let n=t.length-1;n>=0;--n){const r=t[n];this.operations.removeRows(new Xo(e.command.sheet,[[r.rowStart,r.numberOfRows]]))}}undoAddColumns(e){const t=e.command.columnsSpans();for(let n=t.length-1;n>=0;--n){const r=t[n];this.operations.removeColumns(new Zo(e.command.sheet,[[r.columnStart,r.numberOfColumns]]))}}undoSetCellContents(e){for(const t of e.cellContents){const e=t.address,[n,r]=t.oldContent;br(e,n)||this.operations.setCellEmpty(e),this.operations.restoreCell(n,r)}}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:n}=e;this.operations.addSheet(e.sheetName);for(let r=0;r<t.length;r++){const e=t[r];for(let t=0;t<e.length;t++){const i=e[t],o=pr(n,t,r);this.operations.restoreCell(o,i)}}for(const[r,i]of e.scopedNamedExpressions)this.operations.restoreNamedExpression(r,i,n);this.restoreOldDataFromVersion(e.version-1)}undoRenameSheet(e){this.operations.renameSheet(e.sheetId,e.oldName)}undoClearSheet(e){const{oldSheetContent:t,sheetId:n}=e;for(let r=0;r<t.length;r++){const e=t[r];for(let t=0;t<e.length;t++){const i=e[t],o=pr(n,t,r);this.operations.restoreCell(o,i)}}}undoSetSheetContent(e){const{oldSheetContent:t,sheetId:n}=e;this.operations.clearSheet(n);for(let r=0;r<t.length;r++){const e=t[r];for(let t=0;t<e.length;t++){const i=e[t],o=pr(n,t,r);this.operations.restoreCell(o,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:n}=e,r=n.length,i=n[0].length;for(let o=0;o<r;++o)for(let e=0;e<i;++e){const r=pr(t.sheet,t.col+e,t.row+o);this.operations.restoreCell(r,n[o][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:n}=e;this.operations.setSheetContent(t,n)}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,n]of e)this.operations.restoreCell(t,n)}redoEntry(e){e.doRedo(this)}restoreOldDataFromVersion(e){const t=this.oldData.get(e)||[];for(const n of t){const[e,t]=n;this.operations.setFormulaToCellFromCache(t,e)}}}
  922. /**
  923. * @license
  924. * Copyright (c) 2024 Handsoncode. All rights reserved.
  925. */class Rs{constructor(e,t,n,r,i,o,s,a,l,c){this.operations=t,this.undoRedo=n,this.clipboardOperations=r,this.dependencyGraph=i,this.columnSearch=o,this.parser=s,this.cellContentParser=a,this.lazilyTransformingAstService=l,this.namedExpressions=c,this.maxRows=e.maxRows,this.maxColumns=e.maxColumns}get sheetMapping(){return this.dependencyGraph.sheetMapping}addRows(e,...t){const n=new Ko(e,t);this.ensureItIsPossibleToAddRows(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.operations.addRows(n),this.undoRedo.saveOperation(new is(n))}removeRows(e,...t){const n=new Xo(e,t);this.ensureItIsPossibleToRemoveRows(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const r=this.operations.removeRows(n);this.undoRedo.saveOperation(new ns(n,r))}addColumns(e,...t){const n=new Go(e,t);this.ensureItIsPossibleToAddColumns(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.operations.addColumns(n),this.undoRedo.saveOperation(new us(n))}removeColumns(e,...t){const n=new Zo(e,t);this.ensureItIsPossibleToRemoveColumns(e,...t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const r=this.operations.removeColumns(n);this.undoRedo.saveOperation(new ds(n,r))}moveCells(e,t,n,r){this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const{version:i,overwrittenCellsData:o,addedGlobalNamedExpressions:s}=this.operations.moveCells(e,t,n,r);this.undoRedo.saveOperation(new rs(e,t,n,r,o,s,i))}moveRows(e,t,n,r){this.ensureItIsPossibleToMoveRows(e,t,n,r),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const i=this.operations.moveRows(e,t,n,r);this.undoRedo.saveOperation(new ls(e,t,n,r,i))}moveColumns(e,t,n,r){this.ensureItIsPossibleToMoveColumns(e,t,n,r),this.undoRedo.clearRedoStack();const i=this.operations.moveColumns(e,t,n,r);this.undoRedo.saveOperation(new cs(e,t,n,r,i))}cut(e,t,n){this.clipboardOperations.cut(e,t,n)}ensureItIsPossibleToCopy(e,t,n){if(!Ms(t))throw new Gt("width to be positive integer.");if(!Ms(n))throw new Gt("height to be positive integer.")}copy(e,t,n){this.ensureItIsPossibleToCopy(e,t,n),this.clipboardOperations.copy(e,t,n)}paste(e){const t=this.clipboardOperations.clipboard;if(void 0===t)throw new tn;if(this.clipboardOperations.isCutClipboard())this.moveCells(t.sourceLeftCorner,t.width,t.height,e);else if(this.clipboardOperations.isCopyClipboard()){this.clipboardOperations.ensureItIsPossibleToCopyPaste(e);const n=Rr.spanFrom(e,t.width,t.height),r=this.operations.getRangeClipboardCells(n);this.undoRedo.clearRedoStack();const i=this.operations.restoreClipboardCells(t.sourceLeftCorner.sheet,t.getContent(e));this.undoRedo.saveOperation(new gs(e,r,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 hs(t)),t}removeSheet(e){this.ensureScopeIdIsValid(e),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const t=this.sheetMapping.fetchDisplayName(e),n=this.operations.getSheetClipboardCells(e),{version:r,scopedNamedExpressions:i}=this.operations.removeSheet(e);this.undoRedo.saveOperation(new ps(t,e,n,i,r))}renameSheet(e,t){this.ensureItIsPossibleToRenameSheet(e,t);const n=this.operations.renameSheet(e,t);return void 0!==n&&(this.undoRedo.clearRedoStack(),this.undoRedo.saveOperation(new fs(e,n,t))),n}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 ms(e,t))}setCellContents(e,t){if(t instanceof Array){for(let r=0;r<t.length;r++)if(!(t[r]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 n=[];for(let r=0;r<t.length;r++)for(let i=0;i<t[r].length;i++){const o={sheet:e.sheet,row:e.row+r,col:e.col+i},s=t[r][i];this.clipboardOperations.abortCut();const a=this.operations.setCellContent(o,s);n.push({address:o,newContent:s,oldContent:a})}this.undoRedo.saveOperation(new As(n))}setSheetContent(e,t){this.ensureScopeIdIsValid(e),this.ensureItIsPossibleToChangeSheetContents(e,t),Yo(t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const n=this.operations.getSheetClipboardCells(e);this.operations.setSheetContent(e,t),this.undoRedo.saveOperation(new as(e,n,t))}setRowOrder(e,t){this.validateSwapRowIndexes(e,t),this.testRowOrderForArrays(e,t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const n=this.operations.setRowOrder(e,t);this.undoRedo.saveOperation(new os(e,t,n))}validateSwapRowIndexes(e,t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);this.validateRowOrColumnMapping(e,t,"row")}testColumnOrderForArrays(e,t){for(const[n,r]of t)if(n!==r){const t=Rr.spanFrom({sheet:e,col:n,row:0},1,1/0);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(t))throw new gn}}setColumnOrder(e,t){this.validateSwapColumnIndexes(e,t),this.testColumnOrderForArrays(e,t),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut();const n=this.operations.setColumnOrder(e,t);this.undoRedo.saveOperation(new ss(e,t,n))}validateSwapColumnIndexes(e,t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);this.validateRowOrColumnMapping(e,t,"column")}testRowOrderForArrays(e,t){for(const[n,r]of t)if(n!==r){const t=Rr.spanFrom({sheet:e,col:0,row:n},1/0,1);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(t))throw new gn}}mappingFromOrder(e,t,n){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const r="row"===n?this.dependencyGraph.getSheetHeight(e):this.dependencyGraph.getSheetWidth(e);if(t.length!==r)throw new Gt(`number of ${n}s provided to be sheet ${"row"===n?"height":"width"}.`);const i=[];for(let o=0;o<r;o++)t[o]!==o&&i.push([o,t[o]]);return i}undo(){if(this.undoRedo.isUndoStackEmpty())throw new $t;this.clipboardOperations.abortCut(),this.undoRedo.undo()}redo(){if(this.undoRedo.isRedoStackEmpty())throw new en;this.clipboardOperations.abortCut(),this.undoRedo.redo()}addNamedExpression(e,t,n,r){this.ensureItIsPossibleToAddNamedExpression(e,t,n),this.operations.addNamedExpression(e,t,n,r),this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.undoRedo.saveOperation(new _s(e,t,n,r))}changeNamedExpressionExpression(e,t,n,r){this.ensureItIsPossibleToChangeNamedExpression(e,n,t);const[i,o]=this.operations.changeNamedExpressionExpression(e,n,t,r);this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.undoRedo.saveOperation(new vs(i,n,o,t,r))}removeNamedExpression(e,t){this.ensureScopeIdIsValid(t);const[n,r]=this.operations.removeNamedExpression(e,t);return this.undoRedo.clearRedoStack(),this.clipboardOperations.abortCut(),this.undoRedo.saveOperation(new bs(n,r,t)),n}ensureItIsPossibleToAddNamedExpression(e,t,n){this.ensureScopeIdIsValid(n),this.ensureNamedExpressionNameIsValid(e,n),this.ensureNamedExpressionIsValid(t)}ensureItIsPossibleToChangeNamedExpression(e,t,n){if(this.ensureScopeIdIsValid(n),void 0===this.namedExpressions.namedExpressionForScope(e,n))throw new Jt(e);this.ensureNamedExpressionIsValid(t)}isItPossibleToRemoveNamedExpression(e,t){if(this.ensureScopeIdIsValid(t),void 0===this.namedExpressions.namedExpressionForScope(e,t))throw new Jt(e)}ensureItIsPossibleToAddRows(e,...t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const n=this.dependencyGraph.getSheetHeight(e),r=t.map(e=>e[1]).reduce((e,t)=>e+t,0);if(n+r>this.maxRows)throw new Qt;for(const[i,o]of t)if(!Ss(i)||!Ms(o))throw new Gt("row number to be nonnegative and number of rows to add to be positive.")}ensureItIsPossibleToRemoveRows(e,...t){for(const[n,r]of t){const t=n+r-1;if(!Ss(n)||!Ss(t))throw new Gt("starting and ending row to be nonnegative.");if(t<n)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 n=this.dependencyGraph.getSheetWidth(e),r=t.map(e=>e[1]).reduce((e,t)=>e+t,0);if(n+r>this.maxColumns)throw new Qt;for(const[i,o]of t)if(!Ss(i)||!Ms(o))throw new Gt("column number to be nonnegative and number of columns to add to be positive.")}ensureItIsPossibleToRemoveColumns(e,...t){for(const[n,r]of t){const t=n+r-1;if(!Ss(n)||!Ss(t))throw new Gt("starting and ending column to be nonnegative.");if(t<n)throw new Gt("starting column to be smaller than the ending column.");if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e)}}ensureItIsPossibleToMoveRows(e,t,n,r){this.ensureItIsPossibleToAddRows(e,[r,n]);const i=pr(e,0,t),o=pr(e,0,r);if(!this.sheetMapping.hasSheetWithId(e)||fr(i)||fr(o)||!Ms(n)||r<=t+n&&r>=t)throw new Gt("a valid range of rows to move.");const s=this.dependencyGraph.getSheetWidth(e),a=Rr.spanFrom(i,s,n);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(a))throw new gn;if(r>0&&this.dependencyGraph.arrayMapping.isFormulaArrayInAllRows(Bt.fromNumberOfRows(e,r-1,2)))throw new _n}ensureItIsPossibleToMoveColumns(e,t,n,r){this.ensureItIsPossibleToAddColumns(e,[r,n]);const i=pr(e,t,0),o=pr(e,r,0);if(!this.sheetMapping.hasSheetWithId(e)||fr(i)||fr(o)||!Ms(n)||r<=t+n&&r>=t)throw new Gt("a valid range of columns to move.");const s=this.dependencyGraph.getSheetHeight(e),a=Rr.spanFrom(i,n,s);if(this.dependencyGraph.arrayMapping.isFormulaArrayInRange(a))throw new gn;if(r>0&&this.dependencyGraph.arrayMapping.isFormulaArrayInAllColumns(Ut.fromNumberOfColumns(e,r-1,2)))throw new _n}ensureItIsPossibleToAddSheet(e){if(this.sheetMapping.hasSheetWithName(e))throw new Yt(e)}ensureItIsPossibleToRenameSheet(e,t){if(!this.sheetMapping.hasSheetWithId(e))throw new Vt(e);const n=this.sheetMapping.get(t);if(void 0!==n&&n!==e)throw new Yt(t)}ensureItIsPossibleToChangeContent(e){if(fr(e))throw new Kt(e);if(!this.sheetMapping.hasSheetWithId(e.sheet))throw new Vt(e.sheet)}ensureItIsPossibleToChangeCellContents(e,t){const n=Qo(t),r=Rr.spanFrom(e,n.width,n.height);this.ensureRangeInSizeLimits(r);for(const i of r.addresses(this.dependencyGraph))this.ensureItIsPossibleToChangeContent(i)}ensureItIsPossibleToChangeSheetContents(e,t){const n=Qo(t),r=Rr.spanFrom(pr(e,0,0),n.width,n.height);this.ensureRangeInSizeLimits(r)}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,n){const r="row"===n?this.dependencyGraph.getSheetHeight(e):this.dependencyGraph.getSheetWidth(e),i=t.map(([e,t])=>e).sort((e,t)=>e-t),o=t.map(([e,t])=>t).sort((e,t)=>e-t);for(let s=0;s<i.length;s++){if(!Ss(i[s])||i[s]>=r)throw new Gt(`${n} numbers to be nonnegative integers and less than sheet ${"row"===n?"height":"width"}.`);if(i[s]===i[s+1])throw new Gt(`source ${n} numbers to be unique.`);if(i[s]!==o[s])throw new Gt(`target ${n} numbers to be permutation of source ${n} numbers.`)}}ensureNamedExpressionNameIsValid(e,t){if(!this.namedExpressions.isNameValid(e))throw new qt(e);if(!this.namedExpressions.isNameAvailable(e,t))throw new zt(e)}ensureNamedExpressionIsValid(e){const t=this.cellContentParser.parse(e);if(t instanceof wo.Formula){const e=this.parser.parse(t.formula,pr(-1,0,0));if(Po(e.ast))throw new bn}}}function Ms(e){return Number.isInteger(e)&&e>0}function Ss(e){return Number.isInteger(e)&&e>=0}
  926. /**
  927. * @license
  928. * Copyright (c) 2024 Handsoncode. All rights reserved.
  929. */class Es{constructor(e,t,n,r,i,o){this.config=e,this.stats=t,this.interpreter=n,this.lazilyTransformingAstService=r,this.dependencyGraph=i,this.columnSearch=o}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=kt.empty();return this.stats.measure(Lt.EVALUATION,()=>{this.dependencyGraph.graph.getTopSortedWithSccSubgraphFrom(e,e=>{if(e instanceof En){const n=e.isComputed()?e.getCellValue():void 0,r=this.recomputeFormulaVertexValue(e);if(r!==n){const i=e.getAddress(this.lazilyTransformingAstService);return t.addChange(r,i),this.columnSearch.change(yt(n),yt(r),i),!0}return!1}return!(e instanceof On)||(e.clearCache(),!0)},e=>{if(e instanceof On)e.clearCache();else if(e instanceof En){const n=e.getAddress(this.lazilyTransformingAstService);this.columnSearch.remove(yt(e.valueOrUndef()),n);const r=new lr(Vn.CYCLE,void 0,e);e.setCellValue(r),t.addChange(r,n)}})}),t}runAndForget(e,t,n){const r=[];for(const o of bt(n,t))if(o instanceof Rr){const e=o;if(void 0===this.dependencyGraph.getRange(e.start,e.end)){const t=new On(e);this.dependencyGraph.rangeMapping.setRange(t),r.push(t)}}const i=this.evaluateAstToCellValue(e,new Er(t,this.config.useArrayArithmetic));return r.forEach(e=>{this.dependencyGraph.rangeMapping.removeRange(e)}),i}recomputeFormulas(e,t){e.forEach(e=>{e instanceof En&&e.setCellValue(new lr(Vn.CYCLE,void 0,e))}),t.forEach(e=>{if(e instanceof En){const t=this.recomputeFormulaVertexValue(e),n=e.getAddress(this.lazilyTransformingAstService);this.columnSearch.add(yt(t),n)}else e instanceof On&&e.clearCache()})}recomputeFormulaVertexValue(e){const t=e.getAddress(this.lazilyTransformingAstService);if(e instanceof Tn&&(e.array.size.isRef||!this.dependencyGraph.isThereSpaceForArray(e)))return e.setNoSpace();{const n=e.getFormula(this.lazilyTransformingAstService),r=this.evaluateAstToCellValue(n,new Er(t,this.config.useArrayArithmetic,e));return e.setCellValue(r)}}evaluateAstToCellValue(e,t){const n=this.interpreter.evaluateAst(e,t);return n instanceof Ft?n:n===wt&&this.config.evaluateNullToZero?0:n}}
  930. /**
  931. * @license
  932. * Copyright (c) 2024 Handsoncode. All rights reserved.
  933. */class Ts{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 Cs{constructor(e,t){this.name=e,this.newValue=t}}class Os{constructor(e,t,n,r){this.config=e,this.namedExpressions=t,this.sheetIndexMapping=n,this.lazilyTransformingService=r}exportChange(e){const t=e.value,n=e.address;if(n.sheet===Io.SHEET_FOR_WORKBOOK_EXPRESSIONS){const e=this.namedExpressions.namedExpressionInAddress(n.row);if(!e)throw new Error("Missing named expression");return new Cs(e.displayName,this.exportScalarOrRange(t))}if(t instanceof Ft){const e=[];for(const[r,i]of t.entriesFromTopLeftCorner(n))e.push(new Ts(i,this.exportValue(r)));return e}return new Ts(n,this.exportValue(t))}exportValue(e){return e instanceof Ft?this.detailedError(new lr(Vn.VALUE,Te.ScalarExpected)):this.config.smartRounding&&xt(e)?this.cellValueRounding(yt(e)):e instanceof lr?this.detailedError(e):e===wt?null:yt(e)}exportScalarOrRange(e){return e instanceof Ft?e.rawData().map(e=>e.map(e=>this.exportValue(e))):this.exportValue(e)}detailedError(e){var t,n;let r=void 0;const i=null===(t=e.root)||void 0===t?void 0:t.getAddress(this.lazilyTransformingService);return void 0!==i&&(r=i.sheet===Io.SHEET_FOR_WORKBOOK_EXPRESSIONS?null===(n=this.namedExpressions.namedExpressionInAddress(i.row))||void 0===n?void 0:n.displayName:D(this.sheetIndexMapping,i,-1)),new ii(e,this.config.translationPackage.getErrorTranslation(e.type),r)}cellValueRounding(e){if(0===e)return e;const t=Math.floor(Math.log10(Math.abs(e))),n=Math.pow(10,this.config.precisionRounding-t);return e<0?-Math.round(-e*n)/n:Math.round(e*n)/n}}
  934. /**
  935. * @license
  936. * Copyright (c) 2024 Handsoncode. All rights reserved.
  937. */class xs{constructor(e,t,n,r,i,o){this.dependencyGraph=e,this.columnSearch=t,this.parser=n,this.cellContentParser=r,this.stats=i,this.arraySizePredictor=o,this.buildStrategy=new Ns(e,t,n,i,r,o)}buildGraph(e,t){const n=t.measure(Lt.COLLECT_DEPENDENCIES,()=>this.buildStrategy.run(e));this.dependencyGraph.getAndClearContentChanges(),t.measure(Lt.PROCESS_DEPENDENCIES,()=>this.processDependencies(n))}processDependencies(e){e.forEach((e,t)=>{this.dependencyGraph.processCellDependencies(e,t)})}}class Ns{constructor(e,t,n,r,i,o){this.dependencyGraph=e,this.columnIndex=t,this.parser=n,this.stats=r,this.cellContentParser=i,this.arraySizePredictor=o}run(e){const t=new Map;for(const n in e){const r=this.dependencyGraph.getSheetId(n),i=e[n];for(let e=0;e<i.length;++e){const n=i[e];for(let i=0;i<n.length;++i){const o=n[i],s=pr(r,i,e),a=this.cellContentParser.parse(o);if(a instanceof wo.Formula){const e=this.stats.measure(Lt.PARSER,()=>this.parser.parse(a.formula,s));if(e.errors.length>0){this.shrinkArrayIfNeeded(s);const t=new zn(e.errors,a.formula);this.dependencyGraph.addVertex(s,t)}else{this.shrinkArrayIfNeeded(s);const n=this.arraySizePredictor.checkArraySize(e.ast,s);if(n.isScalar()){const n=new Cn(e.ast,s,0);t.set(n,bt(e.dependencies,s)),this.dependencyGraph.addVertex(s,n),e.hasVolatileFunction&&this.dependencyGraph.markAsVolatile(n),e.hasStructuralChangeFunction&&this.dependencyGraph.markAsDependentOnStructureChange(n)}else{const r=new Tn(e.ast,s,new ei(n.width,n.height));t.set(r,bt(e.dependencies,s)),this.dependencyGraph.addArrayVertex(s,r)}}}else if(a instanceof wo.Empty);else{this.shrinkArrayIfNeeded(s);const e=new Zn(a.value,o);this.columnIndex.add(yt(a.value),s),this.dependencyGraph.addVertex(s,e)}}}}return t}shrinkArrayIfNeeded(e){const t=this.dependencyGraph.getCell(e);t instanceof Tn&&this.dependencyGraph.shrinkArrayToCorner(t)}}
  938. /**
  939. * @license
  940. * Copyright (c) 2024 Handsoncode. All rights reserved.
  941. */const Ls=new Map([["gpl-v3",1],["missing",2],["invalid",3],["expired",4]]);class Is extends $r{version(e,t){return this.runFunction(e.args,t,this.metadata("VERSION"),()=>{const{licenseKeyValidityState:e,licenseKey:t}=this.config;let n;return Ls.has(t)?n=Ls.get(t):Ls.has(e)?n=Ls.get(e):"valid"===e&&(n=t.slice(-5)),`HyperFormula v${da.version}, ${n}`})}}
  942. /**
  943. * @license
  944. * Copyright (c) 2024 Handsoncode. All rights reserved.
  945. */
  946. function Ps(e,t){var n;let r=t.implementedFunctions[e];const i=null===(n=t.aliases)||void 0===n?void 0:n[e];if(void 0!==i){if(void 0!==r)throw new vn(e,t.name);r=t.implementedFunctions[i]}if(void 0===r)throw mn.functionNotDeclaredInPlugin(e,t.name);return r}Is.implementedFunctions={VERSION:{method:"version",parameters:[]}};class Ds{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)Ds.loadPluginFunctions(t,this.instancePlugins)}else this.instancePlugins=new Map(Ds.plugins);for(const[t,n]of Ds.protectedFunctions())Ds.loadFunctionUnprotected(n,t,this.instancePlugins);for(const[t,n]of this.instancePlugins.entries())this.categorizeFunction(t,Ps(t,n))}static registerFunctionPlugin(e,t){this.loadPluginFunctions(e,this.plugins),void 0!==t&&this.loadTranslations(t)}static registerFunction(e,t,n){this.loadPluginFunction(t,e,this.plugins),void 0!==n&&this.loadTranslations(n)}static unregisterFunction(e){if(this.functionIsProtected(e))throw An.cannotUnregisterFunctionWithId(e);this.plugins.delete(e)}static unregisterFunctionPlugin(e){for(const t of this.protectedPlugins())if(t===e)throw An.cannotUnregisterProtectedPlugin();for(const[t,n]of this.plugins.entries())n===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(da.getRegisteredLanguagesCodes());Object.keys(e).forEach(n=>{t.has(n)&&da.getLanguage(n).extendFunctions(e[n])})}static loadPluginFunctions(e,t){Object.keys(e.implementedFunctions).forEach(n=>{this.loadPluginFunction(e,n,t)}),void 0!==e.aliases&&Object.keys(e.aliases).forEach(n=>{this.loadPluginFunction(e,n,t)})}static loadPluginFunction(e,t,n){if(this.functionIsProtected(t))throw An.cannotRegisterFunctionWithId(t);this.loadFunctionUnprotected(e,t,n)}static loadFunctionUnprotected(e,t,n){const r=Ps(t,e).method;if(!Object.prototype.hasOwnProperty.call(e.prototype,r))throw mn.functionMethodNotFound(r,e.name);n.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[n,r]of this.instancePlugins.entries()){let i=t.find(e=>e instanceof r);void 0===i&&(i=new r(e),t.push(i));const o=Ps(n,r),s=o.method;this.functions.set(n,[s,i]);const a=o.arraySizeMethod;void 0!==a&&this.arraySizeFunctions.set(n,[a,i])}}getFunctionPlugin(e){if(!Ds.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,n]=t;return(t,r)=>n[e](t,r)}}getArraySizeFunction(e){const t=this.arraySizeFunctions.get(e);if(void 0!==t&&this.config.translationPackage.isFunctionTranslated(e)){const[e,n]=t;return(t,r)=>n[e](t,r)}}getMetadata(e){return this.functionsMetadata.get(e)}getPlugins(){const e=new Set;for(const[t,n]of this.instancePlugins)Ds.functionIsProtected(t)||e.add(n);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)}}
  947. /**
  948. * @license
  949. * Copyright (c) 2024 Handsoncode. All rights reserved.
  950. */
  951. var Fs;Ds.plugins=new Map,Ds._protectedPlugins=new Map([["VERSION",Is],["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"}(Fs||(Fs={}));const ks=(e,t)=>({operator:e,value:t});class Bs{constructor(e){var t,n,r,i;this.trueString=null!==(n=null===(t=e.translationPackage.getMaybeFunctionTranslation("TRUE"))||void 0===t?void 0:t.toLowerCase())&&void 0!==n?n:"true",this.falseString=null!==(i=null===(r=e.translationPackage.getMaybeFunctionTranslation("FALSE"))||void 0===r?void 0:r.toLowerCase())&&void 0!==i?i:"false"}fromCellValue(e,t){if("string"!==typeof e&&"boolean"!==typeof e&&"number"!==typeof e)return;const n=this.parseCriterion(e,t);return void 0!==n?{raw:e,lambda:js(n,t)}:void 0}parseCriterion(e,t){if("number"===typeof e||"boolean"===typeof e)return ks(Fs.EQUAL,e);if("string"===typeof e){const n=Us.exec(e);let r,i;n?(i=Hs(n[1]),r=n[2]):(i=Fs.EQUAL,r=e);const o=t.coerceToMaybeNumber(r),s=r.toLowerCase()===this.trueString||r.toLowerCase()!==this.falseString&&void 0;if(void 0===i)return;if(""===r)return ks(i,null);if(void 0!==o)return ks(i,yt(o));if(i===Fs.EQUAL||i===Fs.NOT_EQUAL)return ks(i,null!==s&&void 0!==s?s:r)}}}const Us=/([<>=]+)(.*)/;function Hs(e){switch(e){case">":return Fs.GREATER_THAN;case">=":return Fs.GREATER_THAN_OR_EQUAL;case"<":return Fs.LESS_THAN;case"<=":return Fs.LESS_THAN_OR_EQUAL;case"<>":return Fs.NOT_EQUAL;case"=":return Fs.EQUAL;default:return}}const js=(e,t)=>{switch(e.operator){case Fs.GREATER_THAN:return"number"===typeof e.value?n=>"number"===typeof n&&t.floatCmp(n,e.value)>0:e=>!1;case Fs.GREATER_THAN_OR_EQUAL:return"number"===typeof e.value?n=>"number"===typeof n&&t.floatCmp(n,e.value)>=0:e=>!1;case Fs.LESS_THAN:return"number"===typeof e.value?n=>"number"===typeof n&&t.floatCmp(n,e.value)<0:e=>!1;case Fs.LESS_THAN_OR_EQUAL:return"number"===typeof e.value?n=>"number"===typeof n&&t.floatCmp(n,e.value)<=0:e=>!1;case Fs.EQUAL:return"number"===typeof e.value?n=>{if("number"===typeof n)return 0===t.floatCmp(n,e.value);if("string"===typeof n){if(""===n)return!1;const r=t.coerceToMaybeNumber(n);return void 0!==r&&0===t.floatCmp(r,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 Fs.NOT_EQUAL:return"number"===typeof e.value?n=>{if("number"===typeof n)return 0!==t.floatCmp(n,e.value);if("string"===typeof n){if(""===n)return!0;const r=t.coerceToMaybeNumber(n);return void 0===r||0!==t.floatCmp(r,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}};
  952. /**
  953. * @license
  954. * Copyright (c) 2024 Handsoncode. All rights reserved.
  955. */class Vs{constructor(e,t,n,r,i,o,s,a,l,c){this.config=e,this.dependencyGraph=t,this.columnSearch=n,this.stats=r,this.arithmeticHelper=i,this.functionRegistry=o,this.namedExpressions=s,this.serialization=a,this.arraySizePredictor=l,this.dateTimeHelper=c,this.equalOp=(e,t)=>Ys(this.arithmeticHelper.eq,e,t),this.notEqualOp=(e,t)=>Ys(this.arithmeticHelper.neq,e,t),this.greaterThanOp=(e,t)=>Ys(this.arithmeticHelper.gt,e,t),this.lessThanOp=(e,t)=>Ys(this.arithmeticHelper.lt,e,t),this.greaterThanOrEqualOp=(e,t)=>Ys(this.arithmeticHelper.geq,e,t),this.lessThanOrEqualOp=(e,t)=>Ys(this.arithmeticHelper.leq,e,t),this.concatOp=(e,t)=>Ys(this.arithmeticHelper.concat,Fr(e),Fr(t)),this.plusOp=(e,t)=>Ys(this.arithmeticHelper.addWithEpsilon,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.minusOp=(e,t)=>Ys(this.arithmeticHelper.subtract,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.timesOp=(e,t)=>Ys(this.arithmeticHelper.multiply,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.powerOp=(e,t)=>Ys(this.arithmeticHelper.pow,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.divOp=(e,t)=>Ys(this.arithmeticHelper.divide,this.arithmeticHelper.coerceScalarToNumberOrError(e),this.arithmeticHelper.coerceScalarToNumberOrError(t)),this.unaryMinusOp=e=>Ws(this.arithmeticHelper.unaryMinus,this.arithmeticHelper.coerceScalarToNumberOrError(e)),this.percentOp=e=>Ws(this.arithmeticHelper.unaryPercent,this.arithmeticHelper.coerceScalarToNumberOrError(e)),this.unaryPlusOp=e=>this.arithmeticHelper.unaryPlus(e),this.functionRegistry.initializePlugins(this),this.criterionBuilder=new Bs(e)}evaluateAst(e,t){let n=this.evaluateAstWithoutPostprocessing(e,t);if(xt(n)){if(Ur(yt(n)))return new lr(Vn.NUM,Te.NaN);n=Mt(n,Hr(yt(n)))}return n instanceof Ft&&1===n.height()&&1===n.width()&&([[n]]=n.data),Qs(n,t.formulaVertex)}evaluateAstWithoutPostprocessing(e,t){switch(e.type){case Y.EMPTY:return wt;case Y.CELL_REFERENCE:{const n=e.reference.toSimpleCellAddress(t.formulaAddress);return fr(n)?new lr(Vn.REF,Te.BadRef):this.dependencyGraph.getCellValue(n)}case Y.NUMBER:case Y.STRING:return e.value;case Y.CONCATENATE_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.concatOp,n,r,t)}case Y.EQUALS_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.equalOp,n,r,t)}case Y.NOT_EQUAL_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.notEqualOp,n,r,t)}case Y.GREATER_THAN_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.greaterThanOp,n,r,t)}case Y.LESS_THAN_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.lessThanOp,n,r,t)}case Y.GREATER_THAN_OR_EQUAL_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.greaterThanOrEqualOp,n,r,t)}case Y.LESS_THAN_OR_EQUAL_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.lessThanOrEqualOp,n,r,t)}case Y.PLUS_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.plusOp,n,r,t)}case Y.MINUS_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.minusOp,n,r,t)}case Y.TIMES_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.timesOp,n,r,t)}case Y.POWER_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.powerOp,n,r,t)}case Y.DIV_OP:{const n=this.evaluateAst(e.left,t),r=this.evaluateAst(e.right,t);return this.binaryRangeWrapper(this.divOp,n,r,t)}case Y.PLUS_UNARY_OP:{const n=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.unaryPlusOp,n,t)}case Y.MINUS_UNARY_OP:{const n=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.unaryMinusOp,n,t)}case Y.PERCENT_OP:{const n=this.evaluateAst(e.value,t);return this.unaryRangeWrapper(this.percentOp,n,t)}case Y.FUNCTION_CALL:{if("valid"!==this.config.licenseKeyValidityState&&!Ds.functionIsProtected(e.procedureName))return new lr(Vn.LIC,Te.LicenseKey(this.config.licenseKeyValidityState));const n=this.functionRegistry.getFunction(e.procedureName);return void 0!==n?n(e,new Er(t.formulaAddress,t.arraysFlag||this.functionRegistry.isArrayFunction(e.procedureName),t.formulaVertex)):new lr(Vn.NAME,Te.FunctionName(e.procedureName))}case Y.NAMED_EXPRESSION:{const n=this.namedExpressions.nearestNamedExpression(e.expressionName,t.formulaAddress.sheet);return n?this.dependencyGraph.getCellValue(n.address):new lr(Vn.NAME,Te.NamedExpressionName(e.expressionName))}case Y.CELL_RANGE:{if(!this.rangeSpansOneSheet(e))return new lr(Vn.REF,Te.RangeManySheets);const n=Rr.fromCellRange(e,t.formulaAddress),r=this.dependencyGraph.getArray(n);if(r){const e=r.array;if(e instanceof Rn)throw new Error("Array should be already computed");if(e instanceof lr)return e;if(e instanceof Mn)return Ft.fromRange(e.raw(),n,this.dependencyGraph);throw new Error("Unknown array")}return Ft.onlyRange(n,this.dependencyGraph)}case Y.COLUMN_RANGE:{if(!this.rangeSpansOneSheet(e))return new lr(Vn.REF,Te.RangeManySheets);const n=Mr.fromColumnRange(e,t.formulaAddress);return Ft.onlyRange(n,this.dependencyGraph)}case Y.ROW_RANGE:{if(!this.rangeSpansOneSheet(e))return new lr(Vn.REF,Te.RangeManySheets);const n=Sr.fromRowRangeAst(e,t.formulaAddress);return Ft.onlyRange(n,this.dependencyGraph)}case Y.PARENTHESIS:return this.evaluateAst(e.expression,t);case Y.ARRAY:{let n=void 0;const r=[];for(const i of e.args){let e=void 0;const o=[];for(const n of i){const r=Lr(this.evaluateAst(n,t)),i=r.height();if(void 0===e)e=i,o.push(...r.data);else{if(e!==i)return new lr(Vn.REF,Te.SizeMismatch);for(let e=0;e<i;e++)o[e].push(...r.data[e])}}const s=o[0].length;if(void 0===n)n=s,r.push(...o);else{if(n!==s)return new lr(Vn.REF,Te.SizeMismatch);r.push(...o)}}return Ft.onlyValues(r)}case Y.ERROR_WITH_RAW_INPUT:case Y.ERROR:return e.error}}rangeSpansOneSheet(e){return e.start.sheet===e.end.sheet}unaryRangeWrapper(e,t,n){var r;if(t instanceof Ft&&!n.arraysFlag&&(t=null!==(r=zr(t,n))&&void 0!==r?r:new lr(Vn.VALUE,Te.ScalarExpected)),t instanceof lr)return t;if(t instanceof Ft){const n=t.data.map(t=>t.map(e));return Ft.onlyValues(n)}return e(t)}binaryRangeWrapper(e,t,n,r){var i,o;if(t instanceof Ft&&!r.arraysFlag&&(t=null!==(i=zr(t,r))&&void 0!==i?i:new lr(Vn.VALUE,Te.ScalarExpected)),t instanceof lr)return t;if(n instanceof Ft&&!r.arraysFlag&&(n=null!==(o=zr(n,r))&&void 0!==o?o:new lr(Vn.VALUE,Te.ScalarExpected)),n instanceof lr)return n;if(t instanceof Ft||n instanceof Ft){if(!(t instanceof Ft)){if(n.isAdHoc()){const r=n.data;for(let n=0;n<r.length;n++)for(let i=0;i<r[0].length;i++)r[n][i]=e(t,r[n][i]);return Ft.onlyValues(r)}t=Ft.fromScalar(t)}if(!(n instanceof Ft)){if(t.isAdHoc()){const r=t.data;for(let t=0;t<r.length;t++)for(let i=0;i<r[0].length;i++)r[t][i]=e(r[t][i],n);return Ft.onlyValues(r)}n=Ft.fromScalar(n)}if(t.width()===n.width()&&t.height()===n.height()){if(t.isAdHoc()){const r=t.data,i=n.data;for(let t=0;t<r.length;t++)for(let n=0;n<r[0].length;n++)r[t][n]=e(r[t][n],i[t][n]);return Ft.onlyValues(r)}if(n.isAdHoc()){const r=t.data,i=n.data;for(let t=0;t<r.length;t++)for(let n=0;n<r[0].length;n++)i[t][n]=e(r[t][n],i[t][n]);return Ft.onlyValues(i)}}const r=Math.max(t.width(),n.width()),i=Math.max(t.height(),n.height()),o=Array(i);for(let e=0;e<i;e++)o[e]=Array(r);for(let s=0;s<i;s++){const i=1!==t.height()?s:0,a=1!==n.height()?s:0;for(let l=0;l<r;l++){const r=1!==t.width()?l:0,c=1!==n.width()?l:0;i<t.height()&&a<n.height()&&r<t.width()&&c<n.width()?o[s][l]=e(t.data[i][r],n.data[a][c]):o[s][l]=new lr(Vn.NA)}}return Ft.onlyValues(o)}return e(t,n)}}function Ws(e,t){return t instanceof lr?t:e(t)}function Ys(e,t,n){return t instanceof lr?t:n instanceof lr?n:e(t,n)}function Qs(e,t){return e instanceof lr&&void 0!==t?e.attachRootVertex(t):e}
  956. /**
  957. * @license
  958. * Copyright (c) 2024 Handsoncode. All rights reserved.
  959. */class Xs{constructor(e){this.sheet=e,this.transformations=[]}add(e){this.transformations.push(e)}performEagerTransformations(e,t){this.transformations.forEach(n=>n.performEagerTransformations(e,t))}transformSingleAst(e,t){let[n,r]=[e,t];return this.transformations.forEach(e=>{[n,r]=e.transformSingleAst(n,r)}),[n,r]}isIrreversible(){return!0}}
  960. /**
  961. * @license
  962. * Copyright (c) 2024 Handsoncode. All rights reserved.
  963. */class Ks{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 Xs(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,n){this.stats.start(Lt.TRANSFORM_ASTS_POSTPONED);for(let i=n;i<this.transformations.length;i++){const n=this.transformations[i];n.isIrreversible()&&(this.undoRedo.storeDataForVersion(i,t,this.parser.computeHashFromAst(e)),this.parser.rememberNewAst(e));const[r,o]=n.transformSingleAst(e,t);e=r,t=o}const r=this.parser.rememberNewAst(e);return this.stats.end(Lt.TRANSFORM_ASTS_POSTPONED),[r,t,this.transformations.length]}*getTransformationsFrom(e,t){for(let n=e;n<this.transformations.length;n++){const e=this.transformations[n];t&&!t(e)||(yield e)}}}
  964. /**
  965. * @license
  966. * Copyright (c) 2024 Handsoncode. All rights reserved.
  967. */const Gs=-1;function Zs(e,t,{searchCoordinate:n,orderingDirection:r,matchExactly:i},o){const s=t.start[n],a="col"===n?t.effectiveEndColumn(o):t.effectiveEndRow(o),l="col"===n?e=>yt(o.getCellValue(pr(t.sheet,e,t.start.row))):e=>yt(o.getCellValue(pr(t.sheet,t.start.col,e))),c="asc"===r?(e,t)=>qs(e,t):(e,t)=>-qs(e,t),u=zs(t=>c(e,l(t))>=0,s,a),d=l(u);return u===Gs||typeof d!==typeof e||i&&d!==e?Gs:u-s}function zs(e,t,n){let r=t,i=n;while(r<i){const t=Math.ceil((r+i)/2);e(t)?r=t:i=t-1}return r===i&&e(r)?r:Gs}function qs(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 lr||"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}
  968. /**
  969. * @license
  970. * Copyright (c) 2024 Handsoncode. All rights reserved.
  971. */class Js{constructor(e){this.dependencyGraph=e}advancedFind(e,t){let n;const r=t.range;n=void 0===r?t.valuesFromTopLeftCorner():this.dependencyGraph.computeListOfValuesInRange(r);for(let i=0;i<n.length;i++)if(e(yt(n[i])))return i;return-1}basicFind(e,t,n,{ordering:r,matchExactly:i}){const o="string"===typeof e?Zr(e):e,s=t.range;return void 0===s?this.findNormalizedValue(o,t.valuesFromTopLeftCorner()):"none"===r?this.findNormalizedValue(o,this.dependencyGraph.computeListOfValuesInRange(s)):Zs(o,s,{searchCoordinate:n,orderingDirection:r,matchExactly:i},this.dependencyGraph)}findNormalizedValue(e,t){return t.map(yt).map(e=>"string"===typeof e?Zr(e):e).indexOf(e)}}
  972. /**
  973. * @license
  974. * Copyright (c) 2024 Handsoncode. All rights reserved.
  975. */class $s extends Js{constructor(e){super(e),this.dependencyGraph=e}add(e,t){}remove(e,t){}change(e,t,n){}applyChanges(e){}addColumns(e){}removeColumns(e){}removeSheet(e){}moveValues(e,t,n,r){}removeValues(e){}find(e,t,n){return this.basicFind(e,t,"row",n)}}
  976. /**
  977. * @license
  978. * Copyright (c) 2024 Handsoncode. All rights reserved.
  979. */class ea{constructor(e,t,n){this.dependencyGraph=e,this.config=t,this.stats=n,this.index=new Map,this.transformingService=this.dependencyGraph.lazilyTransformingAstService,this.binarySearchStrategy=new $s(e)}add(e,t){if(!(e===wt||e instanceof lr))if(e instanceof Ft)for(const[n,r]of e.entriesFromTopLeftCorner(t))this.addSingleCellValue(yt(n),r);else this.addSingleCellValue(e,t)}remove(e,t){if(void 0!==e)if(e instanceof Ft)for(const[n,r]of e.entriesFromTopLeftCorner(t))this.removeSingleValue(yt(n),r);else this.removeSingleValue(e,t)}change(e,t,n){e!==t&&(this.remove(e,n),this.add(t,n))}applyChanges(e){for(const t of e)void 0!==t.oldValue&&this.change(yt(t.oldValue),yt(t.value),t.address)}moveValues(e,t,n,r){for(const[i,o]of e){const e=mr(o,r,t,n);this.remove(i,o),this.add(i,e)}}removeValues(e){for(const[t,n]of e)this.remove(t,n)}find(e,t,{ordering:n,matchExactly:r}){const i=!0===r?"findFirst":"findLast",o=this.findUsingColumnIndex(e,t,i);return void 0!==o?o:this.binarySearchStrategy.find(e,t,{ordering:n,matchExactly:r})}findUsingColumnIndex(e,t,n){const r=t.range;if(void 0===r)return;this.ensureRecentData(r.sheet,r.start.col,e);const i=this.getColumnMap(r.sheet,r.start.col);if(!i)return-1;const o="string"===typeof e?Zr(e):e,s=i.get(o);if(!s||!s.index||0===s.index.length)return;const a=ea.findRowBelongingToRange(s,r,n);return void 0!==a?a-r.start.row:void 0}static findRowBelongingToRange(e,t,n){const r=t.start.row,i=t.end.row,o="findFirst"===n?ta(r,e.index,"upperBound"):ta(i,e.index,"lowerBound");if(-1===o)return;const s=e.index[o],a=s>=r&&s<=i;return a?s: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 n=this.index.get(e);let r=n[t];return r||(r=new Map,n[t]=r),r}getValueIndex(e,t,n){const r=this.getColumnMap(e,t);let i=this.getColumnMap(e,t).get(n);return i||(i={version:this.transformingService.version(),index:[]},r.set(n,i)),i}ensureRecentData(e,t,n){const r=this.getValueIndex(e,t,n),i=this.transformingService.version();if(r.version===i)return;const o=this.transformingService.getTransformationsFrom(r.version,t=>t.sheet===e&&(t instanceof ko||t instanceof Vo));for(const s of o)s instanceof ko?this.addRows(t,s.rowsSpan,n):s instanceof Vo&&this.removeRows(t,s.rowsSpan,n);r.version=i}addSingleCellValue(e,t){this.stats.measure(Lt.BUILD_COLUMN_INDEX,()=>{this.ensureRecentData(t.sheet,t.col,e),"string"===typeof e&&(e=Zr(e));const n=this.getValueIndex(t.sheet,t.col,e);ea.addValue(n,t.row)})}removeSingleValue(e,t){this.stats.measure(Lt.BUILD_COLUMN_INDEX,()=>{this.ensureRecentData(t.sheet,t.col,e);const n=this.getColumnMap(t.sheet,t.col);"string"===typeof e&&(e=Zr(e));const r=n.get(e);if(!r)return;const i=ta(t.row,r.index);i>-1&&r.index.splice(i,1),0===r.index.length&&n.delete(e),0===n.size&&delete this.index.get(t.sheet)[t.col]})}addRows(e,t,n){const r=this.getValueIndex(t.sheet,e,n);ea.shiftRows(r,t.rowStart,t.numberOfRows)}removeRows(e,t,n){const r=this.getValueIndex(t.sheet,e,n);ea.removeRowsFromValues(r,t),ea.shiftRows(r,t.rowEnd+1,-t.numberOfRows)}static addValue(e,t){const n=ta(t,e.index,"lowerBound"),r=e.index[n]===t;r||e.index.splice(n+1,0,t)}static removeRowsFromValues(e,t){const n=ta(t.rowStart,e.index,"upperBound"),r=ta(t.rowEnd,e.index,"lowerBound"),i=n>-1&&r>-1&&n<=r&&e.index[n]<=t.rowEnd;i&&e.index.splice(n,r-n+1)}static shiftRows(e,t,n){const r=ta(t,e.index,"upperBound");if(-1!==r)for(let i=r;i<e.index.length;++i)e.index[i]+=n}}function ta(e,t,n="upperBound"){let r=0,i=t.length-1;while(r<=i){const n=Math.floor((r+i)/2);if(e>t[n])r=n+1;else{if(!(e<t[n]))return n;i=n-1}}const o="lowerBound"===n?i:r,s=o>=0&&o<=t.length;return s?o:-1}
  980. /**
  981. * @license
  982. * Copyright (c) 2024 Handsoncode. All rights reserved.
  983. */function na(e,t,n){return t.useColumnIndex?new ea(e,t,n):new $s(e)}
  984. /**
  985. * @license
  986. * Copyright (c) 2024 Handsoncode. All rights reserved.
  987. */class ra{constructor(e){this.config=e;const t="."===this.config.thousandSeparator?"\\"+this.config.thousandSeparator:this.config.thousandSeparator,n="."===this.config.decimalSeparator?"\\"+this.config.decimalSeparator:this.config.decimalSeparator;this.numberPattern=new RegExp(`^([+-]?((${n}\\d+)|(\\d+(${t}\\d{3,})*(${n}\\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)}}
  988. /**
  989. * @license
  990. * Copyright (c) 2024 Handsoncode. All rights reserved.
  991. */class ia{constructor(e,t,n){this.dependencyGraph=e,this.unparser=t,this.exporter=n}getCellHyperlink(e){const t=this.dependencyGraph.getCell(e);if(t instanceof Cn){const e=t.getFormula(this.dependencyGraph.lazilyTransformingAstService);if("HYPERLINK"===e.procedureName)return e.hyperlink}}getCellFormula(e,t){const n=this.dependencyGraph.getCell(e);if(n instanceof Cn){const r=n.getFormula(this.dependencyGraph.lazilyTransformingAstService);return t=null!==t&&void 0!==t?t:e,this.unparser.unparse(r,t)}if(n instanceof Tn){const r=n.getAddress(this.dependencyGraph.lazilyTransformingAstService);if(r.row!==e.row||r.col!==e.col||r.sheet!==e.sheet)return;t=null!==t&&void 0!==t?t:e;const i=n.getFormula(this.dependencyGraph.lazilyTransformingAstService);if(void 0!==i)return this.unparser.unparse(i,t)}else if(n instanceof zn)return n.getFormula()}getCellSerialized(e,t){var n;return null!==(n=this.getCellFormula(e,t))&&void 0!==n?n: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 n=this.dependencyGraph.getSheetHeight(e),r=this.dependencyGraph.getSheetWidth(e),i=new Array(n);for(let o=0;o<n;o++){i[o]=new Array(r);for(let n=0;n<r;n++){const r=pr(e,n,o);i[o][n]=t(r)}for(let e=r-1;e>=0;e--){if(null!==i[o][e]&&void 0!==i[o][e])break;i[o].pop()}}for(let o=n-1;o>=0;o--){if(0!==i[o].length)break;i.pop()}return i}genericAllSheetsGetter(e){const t={};for(const n of this.dependencyGraph.sheetMapping.displayNames()){const r=this.dependencyGraph.sheetMapping.fetch(n);t[n]=e(r)}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 n of this.dependencyGraph.sheetMapping.displayNames()){const r=this.dependencyGraph.sheetMapping.fetch(n);e[r]=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 n=new ct(e,st(e),this.dependencyGraph.sheetMapping.fetchDisplayName,t);return new ia(this.dependencyGraph,n,this.exporter)}}
  992. /**
  993. * @license
  994. * Copyright (c) 2024 Handsoncode. All rights reserved.
  995. */class oa{static buildFromSheets(e,t={},n=[]){const r=new pa(t);return this.buildEngine(r,e,n)}static buildFromSheet(e,t={},n=[]){const r=new pa(t),i=r.translationPackage.getUITranslation(jn.NEW_SHEET_PREFIX)+"1";return this.buildEngine(r,{[i]:e},n)}static buildEmpty(e={},t=[]){return this.buildEngine(new pa(e),{},t)}static rebuildWithConfig(e,t,n,r){return this.buildEngine(e,t,n,r)}static buildEngine(e,t={},n=[],r=(e.useStats?new Ht:new jt)){r.start(Lt.BUILD_ENGINE_TOTAL);const i=new Io,o=new Ds(e),s=new Ks(r),a=Kn.buildEmpty(s,e,o,i,r),l=na(a,e,r),c=a.sheetMapping,u=a.addressMapping;for(const E in t)if(Object.prototype.hasOwnProperty.call(t,E)){const n=t[E];Yo(n);const r=Qo(n);if(r.height>e.maxRows||r.width>e.maxColumns)throw new Qt;const i=c.addSheet(E);u.autoAddSheet(i,r)}const d=new dt(e,o,c.get);s.parser=d;const h=new ct(e,st(e),c.fetchDisplayName,i),p=new Pi(e),f=new ra(e),m=new xr(e,p,f),A=new To(e,p,f),g=new ri(e,o),_=new zo(e,a,l,A,d,r,s,i,g),b=new ys(e,_);s.undoRedo=b;const v=new Oo(e,a,_),w=new Rs(e,_,b,v,a,l,d,A,s,i);n.forEach(e=>{w.ensureItIsPossibleToAddNamedExpression(e.name,e.expression,e.scope),w.operations.addNamedExpression(e.name,e.expression,e.scope,e.options)});const y=new Os(e,i,c.fetchDisplayName,s),R=new ia(a,h,y),M=new Vs(e,a,l,r,m,o,i,R,g,p);r.measure(Lt.GRAPH_BUILD,()=>{const e=new xs(a,l,d,A,r,g);e.buildGraph(t,r)});const S=new Es(e,r,M,s,a,l);return S.run(),r.end(Lt.BUILD_ENGINE_TOTAL),{config:e,stats:r,dependencyGraph:a,columnSearch:l,parser:d,unparser:h,cellContentParser:A,evaluator:S,lazilyTransformingAstService:s,crudOperations:w,exporter:y,namedExpressions:i,serialization:R,functionRegistry:o}}}
  996. /**
  997. * @license
  998. * Copyright (c) 2024 Handsoncode. All rights reserved.
  999. */function sa(e){for(const[t,n]of Object.entries(e))n instanceof Function?e[t]=aa(n):delete e[t]}function aa(e){return()=>{throw new Error(`The "${e}" method cannot be called because this HyperFormula instance has been destroyed`)}}var la,ca=n("c0e2");
  1000. /**
  1001. * @license
  1002. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1003. */(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"})(la||(la={}));class ua extends ca["TinyEmitter"]{emit(e,...t){return super.emit(e,...t),this}}
  1004. /**
  1005. * @license
  1006. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1007. */class da{constructor(e,t,n,r,i,o,s,a,l,c,u,d,h,p){this._config=e,this._stats=t,this._dependencyGraph=n,this._columnSearch=r,this._parser=i,this._unparser=o,this._cellContentParser=s,this._evaluator=a,this._lazilyTransformingAstService=l,this._crudOperations=c,this._exporter=u,this._namedExpressions=d,this._serialization=h,this._functionRegistry=p,this._emitter=new ua,this._evaluationSuspended=!1}static get defaultConfig(){return ma()}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={},n=[]){return this.buildFromEngineState(oa.buildFromSheet(e,t,n))}static buildFromSheets(e,t={},n=[]){return this.buildFromEngineState(oa.buildFromSheets(e,t,n))}static buildEmpty(e={},t=[]){return this.buildFromEngineState(oa.buildEmpty(e,t))}static getLanguage(e){ui(e,"string","languageCode");const t=this.registeredLanguages.get(e);if(void 0===t)throw new pn;return t}static registerLanguage(e,t){if(ui(e,"string","languageCode"),this.registeredLanguages.has(e))throw new fn;this.registeredLanguages.set(e,Hn(t))}static unregisterLanguage(e){if(ui(e,"string","languageCode"),!this.registeredLanguages.has(e))throw new pn;this.registeredLanguages.delete(e)}static getRegisteredLanguagesCodes(){return Array.from(this.registeredLanguages.keys())}static registerFunctionPlugin(e,t){Ds.registerFunctionPlugin(e,t)}static unregisterFunctionPlugin(e){Ds.unregisterFunctionPlugin(e)}static registerFunction(e,t,n){ui(e,"string","functionId"),Ds.registerFunction(e,t,n)}static unregisterFunction(e){ui(e,"string","functionId"),Ds.unregisterFunction(e)}static unregisterAllFunctions(){Ds.unregisterAll()}static getRegisteredFunctionNames(e){ui(e,"string","code");const t=Ds.getRegisteredFunctionIds(),n=this.getLanguage(e);return n.getFunctionTranslations(t)}static getFunctionPlugin(e){return ui(e,"string","functionId"),Ds.getFunctionPlugin(e)}static getAllFunctionPlugins(){return Ds.getPlugins()}static buildFromEngineState(e){return new da(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(!gr(e))throw new on("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellValue(e)}getCellFormula(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");return this._serialization.getCellFormula(e)}getCellHyperlink(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");return this.ensureEvaluationIsNotSuspended(),this._serialization.getCellHyperlink(e)}getCellSerialized(e){if(!gr(e))throw new on("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(gr(e))t=new Rr(e,e);else{if(!wr(e))throw new on("SimpleCellAddress | SimpleCellRange","address");t=new Rr(e.start,e.end)}try{this._crudOperations.ensureRangeInSizeLimits(t);for(const e of t.addresses(this._dependencyGraph))this._crudOperations.ensureItIsPossibleToChangeContent(e)}catch(n){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(n){return!1}}setRowOrder(e,t){ui(e,"number","sheetId");const n=this._crudOperations.mappingFromOrder(e,t,"row");return this.swapRowIndexes(e,n)}isItPossibleToSetRowOrder(e,t){ui(e,"number","sheetId");try{const n=this._crudOperations.mappingFromOrder(e,t,"row");return this._crudOperations.validateSwapRowIndexes(e,n),this._crudOperations.testRowOrderForArrays(e,n),!0}catch(n){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(n){return!1}}setColumnOrder(e,t){ui(e,"number","sheetId");const n=this._crudOperations.mappingFromOrder(e,t,"column");return this.swapColumnIndexes(e,n)}isItPossibleToSetColumnOrder(e,t){ui(e,"number","sheetId");try{const n=this._crudOperations.mappingFromOrder(e,t,"column");return this._crudOperations.validateSwapColumnIndexes(e,n),this._crudOperations.testColumnOrderForArrays(e,n),!0}catch(n){return!1}}isItPossibleToAddRows(e,...t){ui(e,"number","sheetId");const n=Jo(t);try{return this._crudOperations.ensureItIsPossibleToAddRows(e,...n),!0}catch(r){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 n=qo(t);try{return this._crudOperations.ensureItIsPossibleToRemoveRows(e,...n),!0}catch(r){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 n=Jo(t);try{return this._crudOperations.ensureItIsPossibleToAddColumns(e,...n),!0}catch(r){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 n=qo(t);try{return this._crudOperations.ensureItIsPossibleToRemoveColumns(e,...n),!0}catch(r){return!1}}removeColumns(e,...t){return ui(e,"number","sheetId"),this._crudOperations.removeColumns(e,...t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveCells(e,t){if(!gr(t))throw new on("SimpleCellAddress","destinationLeftCorner");if(!wr(e))throw new on("SimpleCellRange","source");try{const n=new Rr(e.start,e.end);return this._crudOperations.operations.ensureItIsPossibleToMoveCells(n.start,n.width(),n.height(),t),!0}catch(n){return!1}}moveCells(e,t){if(!gr(t))throw new on("SimpleCellAddress","destinationLeftCorner");if(!wr(e))throw new on("SimpleCellRange","source");const n=new Rr(e.start,e.end);return this._crudOperations.moveCells(n.start,n.width(),n.height(),t),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveRows(e,t,n,r){ui(e,"number","sheetId"),ui(t,"number","startRow"),ui(n,"number","numberOfRows"),ui(r,"number","targetRow");try{return this._crudOperations.ensureItIsPossibleToMoveRows(e,t,n,r),!0}catch(i){return!1}}moveRows(e,t,n,r){return ui(e,"number","sheetId"),ui(t,"number","startRow"),ui(n,"number","numberOfRows"),ui(r,"number","targetRow"),this._crudOperations.moveRows(e,t,n,r),this.recomputeIfDependencyGraphNeedsIt()}isItPossibleToMoveColumns(e,t,n,r){ui(e,"number","sheetId"),ui(t,"number","startColumn"),ui(n,"number","numberOfColumns"),ui(r,"number","targetColumn");try{return this._crudOperations.ensureItIsPossibleToMoveColumns(e,t,n,r),!0}catch(i){return!1}}moveColumns(e,t,n,r){return ui(e,"number","sheetId"),ui(t,"number","startColumn"),ui(n,"number","numberOfColumns"),ui(r,"number","targetColumn"),this._crudOperations.moveColumns(e,t,n,r),this.recomputeIfDependencyGraphNeedsIt()}copy(e){if(!wr(e))throw new on("SimpleCellRange","source");const t=new Rr(e.start,e.end);return this._crudOperations.copy(t.start,t.width(),t.height()),this.getRangeValues(e)}cut(e){if(!wr(e))throw new on("SimpleCellRange","source");const t=new Rr(e.start,e.end);return this._crudOperations.cut(t.start,t.width(),t.height()),this.getRangeValues(e)}paste(e){if(!gr(e))throw new on("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(!wr(e))throw new on("SimpleCellRange","source");const t=new Rr(e.start,e.end);return t.arrayOfAddressesInRange().map(e=>e.map(e=>this.getCellValue(e)))}getRangeFormulas(e){if(!wr(e))throw new on("SimpleCellRange","source");const t=new Rr(e.start,e.end);return t.arrayOfAddressesInRange().map(e=>e.map(e=>this.getCellFormula(e)))}getRangeSerialized(e){if(!wr(e))throw new on("SimpleCellRange","source");const t=new Rr(e.start,e.end);return t.arrayOfAddressesInRange().map(e=>e.map(e=>this.getCellSerialized(e)))}getFillRangeData(e,t,n=!1){if(!wr(e))throw new on("SimpleCellRange","source");if(!wr(t))throw new on("SimpleCellRange","target");const r=new Rr(e.start,e.end),i=new Rr(t.start,t.end);return this.ensureEvaluationIsNotSuspended(),i.arrayOfAddressesInRange().map(i=>i.map(i=>{const o=((i.row-(n?t:e).start.row)%r.height()+r.height())%r.height()+e.start.row,s=((i.col-(n?t:e).start.col)%r.width()+r.width())%r.width()+e.start.col;return this._serialization.getCellSerialized({row:o,col:s,sheet:r.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(la.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 n=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(la.SheetRemoved,t,n),n}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(n){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"),P(this.sheetMapping.get,e,t)}simpleCellAddressToString(e,t){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");return ui(t,"number","sheetId"),D(this.sheetMapping.fetchDisplayName,e,t)}simpleCellRangeToString(e,t){if(!wr(e))throw new on("SimpleCellRange","cellRange");return ui(t,"number","sheetId"),F(this.sheetMapping.fetchDisplayName,e,t)}getCellDependents(e){let t;if(gr(e))t=this._dependencyGraph.addressMapping.getCell(e);else{if(!wr(e))throw new on("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(gr(e))t=this._dependencyGraph.addressMapping.getCell(e);else{if(!wr(e))throw new on("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(!gr(e))throw new on("SimpleCellAddress","cellAddress");const t=this.dependencyGraph.getCell(e);return $n(t,e)}doesCellHaveSimpleValue(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");return this.getCellType(e)===Wn.VALUE}doesCellHaveFormula(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");const t=this.getCellType(e);return t===Wn.FORMULA||t===Wn.ARRAYFORMULA}isCellEmpty(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");return this.getCellType(e)===Wn.EMPTY}isCellPartOfArray(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");const t=this.getCellType(e);return t===Wn.ARRAY||t===Wn.ARRAYFORMULA}getCellValueType(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return or(t)}getCellValueDetailedType(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return sr(t)}getCellValueFormat(e){if(!gr(e))throw new on("SimpleCellAddress","cellAddress");this.ensureEvaluationIsNotSuspended();const t=this.dependencyGraph.getCellValue(e);return ar(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(n){return!1}}renameSheet(e,t){ui(e,"number","sheetId"),ui(t,"string","newName");const n=this._crudOperations.renameSheet(e,t);void 0!==n&&this._emitter.emit(la.SheetRenamed,n,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(la.EvaluationSuspended)}resumeEvaluation(){this._evaluationSuspended=!1;const e=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(la.EvaluationResumed,e),e}isEvaluationSuspended(){return this._evaluationSuspended}isItPossibleToAddNamedExpression(e,t,n){ui(e,"string","expressionName"),void 0!==n&&ui(n,"number","scope");try{return this._crudOperations.ensureItIsPossibleToAddNamedExpression(e,t,n),!0}catch(r){return!1}}addNamedExpression(e,t,n,r){ui(e,"string","expressionName"),void 0!==n&&ui(n,"number","scope"),this._crudOperations.addNamedExpression(e,t,n,r);const i=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(la.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 n=this._namedExpressions.namedExpressionForScope(e,t);return n?this._serialization.getCellValue(n.address):void 0}getNamedExpressionFormula(e,t){ui(e,"string","expressionName"),void 0!==t&&ui(t,"number","scope"),this._crudOperations.ensureScopeIdIsValid(t);const n=this._namedExpressions.namedExpressionForScope(e,t);return void 0===n?void 0:this._serialization.getCellFormula(n.address)}getNamedExpression(e,t){ui(e,"string","expressionName"),void 0!==t&&ui(t,"number","scope");const n=this._namedExpressions.namedExpressionForScope(e,t);if(void 0===n)return;const r=this._serialization.getCellFormula(n.address);return{name:e,scope:t,expression:r,options:n.options}}isItPossibleToChangeNamedExpression(e,t,n){ui(e,"string","expressionName"),void 0!==n&&ui(n,"number","scope");try{return this._crudOperations.ensureItIsPossibleToChangeNamedExpression(e,t,n),!0}catch(r){return!1}}changeNamedExpression(e,t,n,r){return ui(e,"string","expressionName"),void 0!==n&&ui(n,"number","scope"),this._crudOperations.changeNamedExpressionExpression(e,n,t,r),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(n){return!1}}removeNamedExpression(e,t){ui(e,"string","expressionName"),void 0!==t&&ui(t,"number","scope");const n=this._crudOperations.removeNamedExpression(e,t);if(n){const e=this.recomputeIfDependencyGraphNeedsIt();return this._emitter.emit(la.NamedExpressionRemoved,n.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:n}=this.extractTemporaryFormula(e);if(void 0===t)throw new Xt;return this._unparser.unparse(t,n)}calculateFormula(e,t){ui(e,"string","formulaString"),ui(t,"number","sheetId"),this._crudOperations.ensureScopeIdIsValid(t);const{ast:n,address:r,dependencies:i}=this.extractTemporaryFormula(e,t);if(void 0===n)throw new Xt;const o=this.evaluator.runAndForget(n,r,i);return this._exporter.exportScalarOrRange(o)}getNamedExpressionsFromFormula(e){ui(e,"string","formulaString");const{ast:t,dependencies:n}=this.extractTemporaryFormula(e);if(void 0===t)throw new Xt;const r=n.filter(e=>e instanceof _t).map(e=>e.name),i=[...new Set(r)];return i}validateFormula(e){ui(e,"string","formulaString");const{ast:t}=this.extractTemporaryFormula(e);return void 0!==t}getRegisteredFunctionNames(){const e=da.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"),Hi(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(){sa(this)}ensureEvaluationIsNotSuspended(){if(this._evaluationSuspended)throw new un}extractTemporaryFormula(e,t=1){const n=this._cellContentParser.parse(e),r={sheet:t,col:0,row:0};if(!(n instanceof wo.Formula))return{address:r,dependencies:[]};const{ast:i,errors:o,dependencies:s}=this._parser.parse(n.formula,r);return o.length>0?{address:r,dependencies:[]}:{ast:i,address:r,dependencies:s}}rebuildWithConfig(e){const t=this._config.mergeConfig(e),n=this._config.mergeConfig({language:e.language}),r=this._serialization.withNewConfig(n,this._namedExpressions).getAllSheetsSerialized(),i=this._serialization.getAllNamedExpressionsSerialized(),o=oa.rebuildWithConfig(t,r,i,this._stats);this._config=o.config,this._stats=o.stats,this._dependencyGraph=o.dependencyGraph,this._columnSearch=o.columnSearch,this._parser=o.parser,this._unparser=o.unparser,this._cellContentParser=o.cellContentParser,this._evaluator=o.evaluator,this._lazilyTransformingAstService=o.lazilyTransformingAstService,this._crudOperations=o.crudOperations,this._exporter=o.exporter,this._namedExpressions=o.namedExpressions,this._serialization=o.serialization,this._functionRegistry=o.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 n=e.exportChanges(this._exporter);return e.isEmpty()||this._emitter.emit(la.ValuesUpdated,n),n}}}da.version="2.7.1",da.buildDate="18/07/2024 11:23:17",da.releaseDate="18/07/2024",da.languages={},da.registeredLanguages=new Map;
  1008. /**
  1009. * @license
  1010. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1011. */
  1012. const ha=new WeakMap;class pa{constructor(e={},t=!0){const{accentSensitive:n,binarySearchThreshold:r,caseSensitive:i,caseFirst:o,chooseAddressMappingPolicy:s,context:a,currencySymbol:l,dateFormats:c,decimalSeparator:u,evaluateNullToZero:d,functionArgSeparator:h,functionPlugins:p,ignorePunctuation:f,leapYear1900:m,localeLang:A,language:g,ignoreWhiteSpace:_,licenseKey:b,matchWholeCell:v,arrayColumnSeparator:w,arrayRowSeparator:y,maxRows:R,maxColumns:M,nullYear:S,nullDate:E,parseDateTime:T,precisionEpsilon:C,precisionRounding:O,stringifyDateTime:x,stringifyDuration:N,smartRounding:L,timeFormats:I,thousandSeparator:P,useArrayArithmetic:D,useStats:F,undoLimit:k,useColumnIndex:B,useRegularExpressions:U,useWildcards:H}=e;t&&pa.warnDeprecatedOptions(e),this.useArrayArithmetic=oi(D,"boolean","useArrayArithmetic"),this.accentSensitive=oi(n,"boolean","accentSensitive"),this.caseSensitive=oi(i,"boolean","caseSensitive"),this.caseFirst=oi(o,["upper","lower","false"],"caseFirst"),this.ignorePunctuation=oi(f,"boolean","ignorePunctuation"),this.chooseAddressMappingPolicy=null!==s&&void 0!==s?s:pa.defaultConfig.chooseAddressMappingPolicy,this.dateFormats=[...li(c,Array.isArray,"array","dateFormats")],this.timeFormats=[...li(I,Array.isArray,"array","timeFormats")],this.functionArgSeparator=oi(h,"string","functionArgSeparator"),this.decimalSeparator=oi(u,[".",","],"decimalSeparator"),this.language=oi(g,"string","language"),this.ignoreWhiteSpace=oi(_,["standard","any"],"ignoreWhiteSpace"),this.licenseKey=oi(b,"string","licenseKey"),this.thousandSeparator=oi(P,["",","," ","."],"thousandSeparator"),this.arrayColumnSeparator=oi(w,[",",";"],"arrayColumnSeparator"),this.arrayRowSeparator=oi(y,[";","|"],"arrayRowSeparator"),this.localeLang=oi(A,"string","localeLang"),this.functionPlugins=[...null!==p&&void 0!==p?p:pa.defaultConfig.functionPlugins],this.smartRounding=oi(L,"boolean","smartRounding"),this.evaluateNullToZero=oi(d,"boolean","evaluateNullToZero"),this.nullYear=oi(S,"number","nullYear"),si(this.nullYear,"nullYear",0),ai(this.nullYear,"nullYear",100),this.precisionRounding=oi(O,"number","precisionRounding"),si(this.precisionRounding,"precisionRounding",0),this.precisionEpsilon=oi(C,"number","precisionEpsilon"),si(this.precisionEpsilon,"precisionEpsilon",0),this.useColumnIndex=oi(B,"boolean","useColumnIndex"),this.useStats=oi(F,"boolean","useStats"),this.binarySearchThreshold=null!==r&&void 0!==r?r:pa.defaultConfig.binarySearchThreshold,this.parseDateTime=oi(T,"function","parseDateTime"),this.stringifyDateTime=oi(x,"function","stringifyDateTime"),this.stringifyDuration=oi(N,"function","stringifyDuration"),this.translationPackage=da.getLanguage(this.language),this.errorMapping=this.translationPackage.buildErrorMapping(),this.nullDate=li(E,Ni,"IDate","nullDate"),this.leapYear1900=oi(m,"boolean","leapYear1900"),this.undoLimit=oi(k,"number","undoLimit"),this.useRegularExpressions=oi(U,"boolean","useRegularExpressions"),this.useWildcards=oi(H,"boolean","useWildcards"),this.matchWholeCell=oi(v,"boolean","matchWholeCell"),si(this.undoLimit,"undoLimit",0),this.maxRows=oi(R,"number","maxRows"),si(this.maxRows,"maxRows",1),this.maxColumns=oi(M,"number","maxColumns"),this.currencySymbol=this.setupCurrencySymbol(l),si(this.maxColumns,"maxColumns",1),this.context=a,ha.set(this,{licenseKeyValidityState:bo(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 on("string[]","currencySymbol");if(""===e)throw new sn("currencySymbol")}),t}get licenseKeyValidityState(){return ha.get(this).licenseKeyValidityState}getConfig(){return fa(this)}mergeConfig(e){const t=Object.assign({},this.getConfig(),e);return pa.warnDeprecatedOptions(e),new pa(t,!1)}static warnDeprecatedOptions(e){pa.warnDeprecatedIfUsed(e.binarySearchThreshold,"binarySearchThreshold","1.1")}static warnDeprecatedIfUsed(e,t,n,r){void 0!==e&&(void 0===r?console.warn(`${t} option is deprecated since ${n}`):console.warn(`${t} option is deprecated since ${n}, please use ${r}`))}}function fa(e){var t;const n={};for(const r in pa.defaultConfig){const i=null!==(t=e[r])&&void 0!==t?t:pa.defaultConfig[r];Array.isArray(i)?n[r]=[...i]:n[r]=i}return n}function ma(){return fa({})}
  1013. /**
  1014. * @license
  1015. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1016. */pa.defaultConfig={accentSensitive:!1,binarySearchThreshold:20,currencySymbol:["$"],caseSensitive:!1,caseFirst:"lower",context:void 0,chooseAddressMappingPolicy:new Wi,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:bi,precisionEpsilon:1e-13,precisionRounding:14,smartRounding:!0,stringifyDateTime:ao,stringifyDuration:so,timeFormats:["hh:mm","hh:mm:ss.sss"],thousandSeparator:"",undoLimit:20,useRegularExpressions:!1,useWildcards:!0,useColumnIndex:!1,useStats:!1,useArrayArithmetic:!1};const Aa={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 ga,_a=Aa;
  1017. /**
  1018. * @license
  1019. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1020. */(function(e){e[e["FullyAbsolute"]=1]="FullyAbsolute",e[e["RowAbsoluteColRelative"]=2]="RowAbsoluteColRelative",e[e["RowRelativeColAbsolute"]=3]="RowRelativeColAbsolute",e[e["FullyRelative"]=4]="FullyRelative"})(ga||(ga={}));class ba extends $r{verifyAddressArguments(e,t,n,r){if(r){if(e<1||t<1)return new lr(Vn.VALUE,Te.LessThanOne)}else if(ga.FullyAbsolute==n){if(e<1||t<1)return new lr(Vn.VALUE,Te.LessThanOne)}else if(ga.RowAbsoluteColRelative==n){if(e<1)return new lr(Vn.VALUE,Te.LessThanOne)}else if(ga.RowRelativeColAbsolute==n&&t<1)return new lr(Vn.VALUE,Te.LessThanOne)}address(e,t){return this.runFunction(e.args,t,this.metadata("ADDRESS"),(e,t,n,r,i)=>{const o=this.verifyAddressArguments(e,t,n,r);if(void 0!==o)return o;const s=B(t-1);let a="";void 0!==i&&null!==i&&(a=i+"!");const l=0==t?"C":`C[${t}]`,c=0==e?"R":`R[${e}]`;return ga.FullyRelative==n?r?`${a}${s}${e}`:`${a}${c}${l}`:ga.RowRelativeColAbsolute==n?r?`${a}$${s}${e}`:`${a}${c}C${t}`:ga.RowAbsoluteColRelative==n?r?`${a}${s}$${e}`:`${a}R${e}${l}`:r?`${a}$${s}$${e}`:`${a}R${e}C${t}`})}}ba.implementedFunctions={ADDRESS:{method:"address",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0,defaultValue:1,minValue:1,maxValue:4},{argumentType:Jr.BOOLEAN,optionalArg:!0,defaultValue:!0},{argumentType:Jr.STRING,optionalArg:!0}]}};
  1021. /**
  1022. * @license
  1023. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1024. */
  1025. class va extends $r{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 n=this.metadata("ARRAYFORMULA"),r=e.args.map(e=>{var r;return this.arraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))});return r[0]}arrayconstrain(e,t){return this.runFunction(e.args,t,this.metadata("ARRAY_CONSTRAIN"),(e,t,n)=>{t=Math.min(t,e.height()),n=Math.min(n,e.width());const r=e.data,i=[];for(let o=0;o<t;o++)i.push(r[o].slice(0,n));return Ft.onlyValues(i)})}arrayconstrainArraySize(e,t){if(3!==e.args.length)return ei.error();const n=this.metadata("ARRAY_CONSTRAIN"),r=e.args.map(e=>{var r;return this.arraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))});let{height:i,width:o}=r[0];return e.args[1].type===Y.NUMBER&&(i=Math.min(i,e.args[1].value)),e.args[2].type===Y.NUMBER&&(o=Math.min(o,e.args[2].value)),i<1||o<1||!Number.isInteger(i)||!Number.isInteger(o)?ei.error():new ei(o,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 lr(Vn.NA,Te.EqualLength);if(e.width()>1&&e.height()>1)return new lr(Vn.NA,Te.WrongDimension);const n=e.data,r=[];for(let i=0;i<e.height();i++){const o=[];for(let r=0;r<e.width();r++){let e=!0;for(const n of t){const t=Dr(n.data[i][r]);if(!0!==t){e=!1;break}}e&&o.push(n[i][r])}o.length>0&&r.push(o)}return r.length>0?Ft.onlyValues(r):new lr(Vn.NA,Te.EmptyRange)})}filterArraySize(e,t){if(e.args.length<=1)return ei.error();const n=this.metadata("FILTER"),r=e.args.map(e=>{var r;return this.arraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))}),i=Math.max(...r.map(e=>e.width)),o=Math.max(...r.map(e=>e.height));return new ei(i,o)}}va.implementedFunctions={ARRAYFORMULA:{method:"arrayformula",arraySizeMethod:"arrayformulaArraySize",arrayFunction:!0,parameters:[{argumentType:Jr.ANY}]},ARRAY_CONSTRAIN:{method:"arrayconstrain",arraySizeMethod:"arrayconstrainArraySize",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.INTEGER,minValue:1},{argumentType:Jr.INTEGER,minValue:1}],vectorizationForbidden:!0},FILTER:{method:"filter",arraySizeMethod:"filterArraySize",arrayFunction:!0,parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}],repeatLastArgs:1}};
  1026. /**
  1027. * @license
  1028. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1029. */
  1030. class wa extends $r{abs(e,t){return this.runFunction(e.args,t,this.metadata("ABS"),Math.abs)}}wa.implementedFunctions={ABS:{method:"abs",parameters:[{argumentType:Jr.NUMBER}]}};
  1031. /**
  1032. * @license
  1033. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1034. */
  1035. const ya=0xffffffffffff,Ra=-53,Ma=53;class Sa extends $r{bitlshift(e,t){return this.runFunction(e.args,t,this.metadata("BITLSHIFT"),Ea)}bitrshift(e,t){return this.runFunction(e.args,t,this.metadata("BITRSHIFT"),Ta)}}function Ea(e,t){return t<0?Ta(e,-t):Ca(e*Math.pow(2,t))}function Ta(e,t){return t<0?Ea(e,-t):Ca(Math.floor(e/Math.pow(2,t)))}function Ca(e){return e>ya?new lr(Vn.NUM,Te.BitshiftLong):e}
  1036. /**
  1037. * @license
  1038. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1039. */Sa.implementedFunctions={BITLSHIFT:{method:"bitlshift",parameters:[{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:Ra,maxValue:Ma}]},BITRSHIFT:{method:"bitrshift",parameters:[{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:Ra,maxValue:Ma}]}};class Oa extends $r{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)}}Oa.implementedFunctions={BITAND:{method:"bitand",parameters:[{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:0}]},BITOR:{method:"bitor",parameters:[{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:0}]},BITXOR:{method:"bitxor",parameters:[{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:0}]}};
  1040. /**
  1041. * @license
  1042. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1043. */
  1044. class xa extends $r{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,n)=>e?t:n)}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 lr(Vn.NA,Te.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 n=t.length;let r=0;for(;r+1<n;r+=2)if(!(t[r]instanceof lr)&&this.arithmeticHelper.eq(e,t[r]))return t[r+1];return r<n?t[r]:new lr(Vn.NA,Te.NoDefault)})}iferror(e,t){return this.runFunction(e.args,t,this.metadata("IFERROR"),(e,t)=>e instanceof lr?t:e)}ifna(e,t){return this.runFunction(e.args,t,this.metadata("IFNA"),(e,t)=>e instanceof lr&&e.type===Vn.NA?t:e)}choose(e,t){return this.runFunction(e.args,t,this.metadata("CHOOSE"),(e,...t)=>e>t.length?new lr(Vn.NUM,Te.Selector):t[e-1])}}xa.implementedFunctions={TRUE:{method:"literalTrue",parameters:[]},FALSE:{method:"literalFalse",parameters:[]},IF:{method:"conditionalIf",parameters:[{argumentType:Jr.BOOLEAN},{argumentType:Jr.SCALAR,passSubtype:!0},{argumentType:Jr.SCALAR,defaultValue:!1,passSubtype:!0}]},IFS:{method:"ifs",parameters:[{argumentType:Jr.BOOLEAN},{argumentType:Jr.SCALAR,passSubtype:!0}],repeatLastArgs:2},AND:{method:"and",parameters:[{argumentType:Jr.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},OR:{method:"or",parameters:[{argumentType:Jr.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},XOR:{method:"xor",parameters:[{argumentType:Jr.BOOLEAN}],repeatLastArgs:1,expandRanges:!0},NOT:{method:"not",parameters:[{argumentType:Jr.BOOLEAN}]},SWITCH:{method:"switch",parameters:[{argumentType:Jr.NOERROR},{argumentType:Jr.SCALAR,passSubtype:!0},{argumentType:Jr.SCALAR,passSubtype:!0}],repeatLastArgs:1},IFERROR:{method:"iferror",parameters:[{argumentType:Jr.SCALAR,passSubtype:!0},{argumentType:Jr.SCALAR,passSubtype:!0}]},IFNA:{method:"ifna",parameters:[{argumentType:Jr.SCALAR,passSubtype:!0},{argumentType:Jr.SCALAR,passSubtype:!0}]},CHOOSE:{method:"choose",parameters:[{argumentType:Jr.INTEGER,minValue:1},{argumentType:Jr.SCALAR,passSubtype:!0}],repeatLastArgs:1}};
  1045. /**
  1046. * @license
  1047. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1048. */
  1049. class Na extends $r{char(e,t){return this.runFunction(e.args,t,this.metadata("CHAR"),e=>e<1||e>=256?new lr(Vn.VALUE,Te.CharacterCodeBounds):String.fromCharCode(Math.trunc(e)))}unichar(e,t){return this.runFunction(e.args,t,this.metadata("CHAR"),e=>e<1||e>=1114112?new lr(Vn.VALUE,Te.CharacterCodeBounds):String.fromCodePoint(Math.trunc(e)))}}Na.implementedFunctions={CHAR:{method:"char",parameters:[{argumentType:Jr.NUMBER}]},UNICHAR:{method:"unichar",parameters:[{argumentType:Jr.NUMBER}]}};
  1050. /**
  1051. * @license
  1052. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1053. */
  1054. class La extends $r{code(e,t){return this.runFunction(e.args,t,this.metadata("CODE"),e=>0===e.length?new lr(Vn.VALUE,Te.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 lr(Vn.VALUE,Te.EmptyString)})}}La.implementedFunctions={CODE:{method:"code",parameters:[{argumentType:Jr.STRING}]},UNICODE:{method:"unicode",parameters:[{argumentType:Jr.STRING}]}};
  1055. /**
  1056. * @license
  1057. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1058. */
  1059. class Ia extends $r{countblank(e,t){return this.runFunction(e.args,t,this.metadata("COUNTBLANK"),(...e)=>{let t=0;return e.forEach(e=>{e===wt&&t++}),t})}}Ia.implementedFunctions={COUNTBLANK:{method:"countblank",parameters:[{argumentType:Jr.SCALAR}],repeatLastArgs:1,expandRanges:!0}};
  1060. /**
  1061. * @license
  1062. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1063. */
  1064. class Pa extends $r{countunique(e,t){return this.runFunction(e.args,t,this.metadata("COUNTUNIQUE"),(...e)=>{const t=new Set,n=new Set;for(const r of e)r instanceof lr?n.add(r.type):""!==r&&t.add(r);return t.size+n.size})}}Pa.implementedFunctions={COUNTUNIQUE:{method:"countunique",parameters:[{argumentType:Jr.SCALAR}],repeatLastArgs:1,expandRanges:!0}};
  1065. /**
  1066. * @license
  1067. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1068. */
  1069. class Da extends $r{constructor(){super(...arguments),this.isoweeknumCore=e=>{const t=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e)),n=this.dateTimeHelper.numberToSimpleDate(e),r=this.dateTimeHelper.dateToNumber({year:n.year,month:1,day:1}),i=this.dateTimeHelper.relativeNumberToAbsoluteNumber(r),o=i+((4-i)%7+7)%7,s=Math.floor((t-1)/7)-Math.floor((o-1)/7)+1;return 0===s?this.isoweeknumCore(e-7)+1:s},this.days360Core=(e,t,n)=>{const r=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);let o,s;return n?(o=Vi(r),s=Vi(i)):[o,s]=this.dateTimeHelper.toBasisUS(r,i),360*(s.year-o.year)+30*(s.month-o.month)+s.day-o.day}}date(e,t){return this.runFunction(e.args,t,this.metadata("DATE"),(e,t,n)=>{const r=Math.trunc(n);let i=Math.trunc(t),o=Math.trunc(e);o<this.dateTimeHelper.getEpochYearZero()&&(o+=this.dateTimeHelper.getEpochYearZero());const s=Math.floor((i-1)/12);o+=s,i-=12*s;const a={year:o,month:i,day:1};if(this.dateTimeHelper.isValidDate(a)){let e=this.dateTimeHelper.dateToNumber(a)+(r-1);return e=this.dateTimeHelper.getWithinBounds(e),void 0===e?new lr(Vn.NUM,Te.DateBounds):e}return new lr(Vn.VALUE,Te.InvalidDate)})}time(e,t){return this.runFunction(e.args,t,this.metadata("TIME"),(e,t,n)=>{const r=ji({hours:Math.trunc(e),minutes:Math.trunc(t),seconds:Math.trunc(n)});return r<0?new lr(Vn.NUM,Te.NegativeTime):r%1})}eomonth(e,t){return this.runFunction(e.args,t,this.metadata("EOMONTH"),(e,t)=>{const n=this.dateTimeHelper.numberToSimpleDate(e);let r=this.dateTimeHelper.dateToNumber(this.dateTimeHelper.endOfMonth(Fi(n,t)));return r=this.dateTimeHelper.getWithinBounds(r),void 0===r?new lr(Vn.NUM,Te.DateBounds):r})}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=>Hi(Bi(e)%1).hours)}minute(e,t){return this.runFunction(e.args,t,this.metadata("MINUTE"),e=>Hi(Bi(e)%1).minutes)}second(e,t){return this.runFunction(e.args,t,this.metadata("SECOND"),e=>Hi(Bi(e)%1).seconds)}text(e,t){return this.runFunction(e.args,t,this.metadata("TEXT"),(e,t)=>to(e,t,this.config,this.dateTimeHelper))}weekday(e,t){return this.runFunction(e.args,t,this.metadata("WEEKDAY"),(e,t)=>{const n=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e));if(3===t)return(n-1)%7;const r=Ba.get(t);return void 0===r?new lr(Vn.NUM,Te.BadMode):(n-r)%7+1})}weeknum(e,t){return this.runFunction(e.args,t,this.metadata("WEEKNUM"),(e,t)=>{const n=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e)),r=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.dateToNumber({year:r.year,month:1,day:1}),o=this.dateTimeHelper.relativeNumberToAbsoluteNumber(i);if(21===t)return this.isoweeknumCore(e);const s=Ba.get(t);return void 0===s?new lr(Vn.NUM,Te.BadMode):Math.floor((n-s)/7)-Math.floor((o-s)/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 lr(Vn.VALUE,Te.IncorrectDateTime):Ni(t)?(Li(t)?Math.trunc(ji(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 lr(Vn.VALUE,Te.IncorrectDateTime):yt(t)%1})}now(e,t){return this.runFunction(e.args,t,this.metadata("NOW"),()=>{const e=new Date(Date.now());return ji({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 n=this.dateTimeHelper.numberToSimpleDate(e),r=ki(Fi(n,t));let i=this.dateTimeHelper.dateToNumber(r);return i=this.dateTimeHelper.getWithinBounds(i),void 0===i?new lr(Vn.NUM,Te.DateBounds):i})}datedif(e,t){return this.runFunction(e.args,t,this.metadata("DATEDIF"),(e,t,n)=>{if(e>t)return new lr(Vn.NUM,Te.StartEndDate);if("D"===n)return Math.floor(t)-Math.floor(e);const r=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);switch(n){case"M":return 12*(i.year-r.year)+(i.month-r.month)-(i.day<r.day?1:0);case"YM":return(i.month-r.month+12-(i.day<r.day?1:0))%12;case"Y":return i.month>r.month||i.month===r.month&&i.day>=r.day?i.year-r.year:i.year-r.year-1;case"MD":if(i.day>=r.day)return i.day-r.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-r.day}case"YD":return i.month>r.month||i.month===r.month&&i.day>=r.day?Math.floor(t)-this.dateTimeHelper.dateToNumber({year:i.year,month:r.month,day:r.day}):Math.floor(t)-Math.floor(e)-365*(i.year-r.year-1)-this.dateTimeHelper.leapYearsCount(i.year-1)+this.dateTimeHelper.leapYearsCount(r.year);default:return new lr(Vn.NUM,Te.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,n)=>{switch(e=Math.trunc(e),t=Math.trunc(t),e>t&&([e,t]=[t,e]),n){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 n=e%60;e=Math.trunc(e/60);const r=e%24;e=Math.trunc(e/24);const i=e%30;e=Math.trunc(e/30);const o=e%12,s=Math.trunc(e/12);return"P"+(s>0?s+"Y":"")+(o>0?o+"M":"")+(i>0?i+"D":"")+"T"+(r>0?r+"H":"")+(n>0?n+"M":"")+(t>0?t+"S":"")})}networkdays(e,t){return this.runFunction(e.args,t,this.metadata("NETWORKDAYS"),(e,t,n)=>this.networkdayscore(e,t,1,n))}networkdaysintl(e,t){return this.runFunction(e.args,t,this.metadata("NETWORKDAYS.INTL"),(e,t,n,r)=>this.networkdayscore(e,t,n,r))}workday(e,t){return this.runFunction(e.args,t,this.metadata("WORKDAY"),(e,t,n)=>this.workdaycore(e,t,1,n))}workdayintl(e,t){return this.runFunction(e.args,t,this.metadata("WORKDAY.INTL"),(e,t,n,r)=>this.workdaycore(e,t,n,r))}networkdayscore(e,t,n,r){e=Math.trunc(e),t=Math.trunc(t);let i=1;e>t&&([e,t]=[t,e],i=-1);const o=ka(n);if(o instanceof lr)return o;const s=this.simpleRangeToFilteredHolidays(o,r);return s instanceof lr?s:i*this.countWorkdays(e,t,o,s)}workdaycore(e,t,n,r){e=Math.trunc(e),t=Math.trunc(t);const i=ka(n);if(i instanceof lr)return i;const o=this.simpleRangeToFilteredHolidays(i,r);if(o instanceof lr)return o;if(t>0){let n=1;while(this.countWorkdays(e+1,e+n,i,o)<t)n*=2;let r=1;while(r+1<n){const s=Math.trunc((r+n)/2);this.countWorkdays(e+1,e+s,i,o)<t?r=s:n=s}return e+n}if(t<0){t*=-1;let n=1;while(this.countWorkdays(e-n,e-1,i,o)<t)n*=2;let r=1;while(r+1<n){const s=Math.trunc((r+n)/2);this.countWorkdays(e-s,e-1,i,o)<t?r=s:n=s}return e-n}return e}countWorkdays(e,t,n,r){const i=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(t)),o=Math.floor(this.dateTimeHelper.relativeNumberToAbsoluteNumber(e));let s=0;for(let a=0;a<7;a++)"0"===n.charAt(a)&&(s+=Math.floor((i+6-a)/7),s-=Math.floor((o-1+6-a)/7));return s-=Fa(t+1,r)-Fa(e,r),s}simpleRangeToFilteredHolidays(e,t){var n;const r=null!==(n=null===t||void 0===t?void 0:t.valuesFromTopLeftCorner())&&void 0!==n?n:[];for(const o of r)if(o instanceof lr)return o;const i=[];for(const o of r)if(o!==wt){if(!xt(o))return new lr(Vn.VALUE,Te.WrongType);i.push(Math.trunc(yt(o)))}return[...new Set(i)].sort((e,t)=>e-t).filter(t=>{const n=this.dateTimeHelper.relativeNumberToAbsoluteNumber(t),r=(n-1)%7;return"0"===e.charAt(r)})}}function Fa(e,t){if(0===t.length)return 0;if(e<=t[0])return 0;if(t[t.length-1]<e)return t.length;let n=0,r=t.length-1;while(n+1<r){const i=Math.floor((r+n)/2);t[i]>=e?r=i:n=i}return r}function ka(e){var t;return"number"!==typeof e&&"string"!==typeof e?new lr(Vn.VALUE,Te.WrongType):"string"===typeof e?7===e.length&&/^(0|1)*$/.test(e)&&"1111111"!==e?e:new lr(Vn.NUM,Te.WeekendString):null!==(t=Ua.get(e))&&void 0!==t?t:new lr(Vn.NUM,Te.BadMode)}Da.implementedFunctions={DATE:{method:"date",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_DATE},TIME:{method:"time",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_TIME},MONTH:{method:"month",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},YEAR:{method:"year",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},HOUR:{method:"hour",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},MINUTE:{method:"minute",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},SECOND:{method:"second",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},TEXT:{method:"text",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.STRING}]},EOMONTH:{method:"eomonth",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_DATE},DAY:{method:"day",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},DAYS:{method:"days",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0}]},WEEKDAY:{method:"weekday",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,defaultValue:1}]},WEEKNUM:{method:"weeknum",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,defaultValue:1}]},ISOWEEKNUM:{method:"isoweeknum",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},DATEVALUE:{method:"datevalue",parameters:[{argumentType:Jr.STRING}],returnNumberType:Nt.NUMBER_DATE},TIMEVALUE:{method:"timevalue",parameters:[{argumentType:Jr.STRING}],returnNumberType:Nt.NUMBER_TIME},NOW:{method:"now",parameters:[],isVolatile:!0,returnNumberType:Nt.NUMBER_DATETIME},TODAY:{method:"today",parameters:[],isVolatile:!0,returnNumberType:Nt.NUMBER_DATE},EDATE:{method:"edate",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_DATE},DAYS360:{method:"days360",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.BOOLEAN,defaultValue:!1}]},DATEDIF:{method:"datedif",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.STRING}]},YEARFRAC:{method:"yearfrac",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.INTEGER,defaultValue:0,minValue:0,maxValue:4}]},INTERVAL:{method:"interval",parameters:[{argumentType:Jr.NUMBER,minValue:0}]},NETWORKDAYS:{method:"networkdays",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.RANGE,optionalArg:!0}]},"NETWORKDAYS.INTL":{method:"networkdaysintl",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NOERROR,defaultValue:1},{argumentType:Jr.RANGE,optionalArg:!0}]},WORKDAY:{method:"workday",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER},{argumentType:Jr.RANGE,optionalArg:!0}]},"WORKDAY.INTL":{method:"workdayintl",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER},{argumentType:Jr.NOERROR,defaultValue:1},{argumentType:Jr.RANGE,optionalArg:!0}]}};const Ba=new Map([[1,0],[2,1],[11,1],[12,2],[13,3],[14,4],[15,5],[16,6],[17,0]]),Ua=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"]]);
  1070. /**
  1071. * @license
  1072. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1073. */
  1074. class Ha extends $r{degrees(e,t){return this.runFunction(e.args,t,this.metadata("DEGREES"),e=>e*(180/Math.PI))}}Ha.implementedFunctions={DEGREES:{method:"degrees",parameters:[{argumentType:Jr.NUMBER}]}};
  1075. /**
  1076. * @license
  1077. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1078. */
  1079. class ja extends $r{delta(e,t){return this.runFunction(e.args,t,this.metadata("DELTA"),(e,t)=>e===t?1:0)}}ja.implementedFunctions={DELTA:{method:"delta",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0}]}};
  1080. /**
  1081. * @license
  1082. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1083. */
  1084. class Va extends $r{exp(e,t){return this.runFunction(e.args,t,this.metadata("EXP"),Math.exp)}}Va.implementedFunctions={EXP:{method:"exp",parameters:[{argumentType:Jr.NUMBER}]}};
  1085. /**
  1086. * @license
  1087. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1088. */
  1089. class Wa extends $r{pmt(e,t){return this.runFunction(e.args,t,this.metadata("PMT"),Ya)}ipmt(e,t){return this.runFunction(e.args,t,this.metadata("IPMT"),Qa)}ppmt(e,t){return this.runFunction(e.args,t,this.metadata("PPMT"),Ka)}fv(e,t){return this.runFunction(e.args,t,this.metadata("FV"),Xa)}cumipmt(e,t){return this.runFunction(e.args,t,this.metadata("CUMIPMT"),(e,t,n,r,i,o)=>{if(r>i)return new lr(Vn.NUM,Te.EndStartPeriod);let s=0;for(let a=r;a<=i;a++)s+=Qa(e,a,t,n,0,o);return s})}cumprinc(e,t){return this.runFunction(e.args,t,this.metadata("CUMPRINC"),(e,t,n,r,i,o)=>{if(r>i)return new lr(Vn.NUM,Te.EndStartPeriod);let s=0;for(let a=r;a<=i;a++)s+=Ka(e,a,t,n,0,o);return s})}db(e,t){return this.runFunction(e.args,t,this.metadata("DB"),(e,t,n,r,i)=>{if(12===i&&r>n||r>n+1)return new lr(Vn.NUM,Te.PeriodLong);if(t>=e)return 0;const o=Math.round(1e3*(1-Math.pow(t/e,1/n)))/1e3,s=e*o*i/12;if(1===r)return s;let a=s;for(let l=0;l<r-2;l++)a+=(e-a)*o;return r===n+1?(e-a)*o*(12-i)/12:(e-a)*o})}ddb(e,t){return this.runFunction(e.args,t,this.metadata("DDB"),(e,t,n,r,i)=>{if(r>n)return new lr(Vn.NUM);let o,s=i/n;s>=1?(s=1,o=1===r?e:0):o=e*Math.pow(1-s,r-1);const a=e*Math.pow(1-s,r);return Math.max(o-Math.max(t,a),0)})}dollarde(e,t){return this.runFunction(e.args,t,this.metadata("DOLLARDE"),(e,t)=>{if(t<1)return new lr(Vn.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 lr(Vn.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,n,r)=>0===n?new lr(Vn.DIV_BY_ZERO):r*e*(t/n-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,n,r,i)=>0===e?0===t?new lr(Vn.DIV_BY_ZERO):(-n-r)/t:(i&&(t*=1+e),Math.log((t-r*e)/(n*e+t))/Math.log(1+e)))}rate(e,t){return this.runFunction(e.args,t,this.metadata("RATE"),(e,t,n,r,i,o)=>{if(o<=-1)return new lr(Vn.VALUE);const s=1e-7,a=50;let l=o;i=i?1:0;for(let c=0;c<a;c++){if(l<=-1)return new lr(Vn.NUM);let o,a;if(Math.abs(l)<s)o=n*(1+e*l)+t*(1+l*i)*e+r;else{const s=Math.pow(1+l,e);o=n*s+t*(1/l+i)*(s-1)+r}if(Math.abs(o)<s)return l;if(Math.abs(l)<s)a=n*e+t*i*e;else{const r=Math.pow(1+l,e),o=e*Math.pow(1+l,e-1);a=n*o+t*(1/l+i)*o+t*(-1/(l*l))*(r-1)}l-=o/a}return new lr(Vn.NUM)})}pv(e,t){return this.runFunction(e.args,t,this.metadata("PV"),(e,t,n,r,i)=>(i=i?1:0,-1===e?new lr(0===t?Vn.NUM:Vn.DIV_BY_ZERO):0===e?-n*t-r:((1-Math.pow(1+e,t))*n*(1+e*i)/e-r)/Math.pow(1+e,t)))}rri(e,t){return this.runFunction(e.args,t,this.metadata("RRI"),(e,t,n)=>0===t||n<0&&t>0||n>0&&t<0?new lr(Vn.NUM):Math.pow(n/t,1/e)-1)}sln(e,t){return this.runFunction(e.args,t,this.metadata("SLN"),(e,t,n)=>0===n?new lr(Vn.DIV_BY_ZERO):(e-t)/n)}syd(e,t){return this.runFunction(e.args,t,this.metadata("SYD"),(e,t,n,r)=>r>n?new lr(Vn.NUM):(e-t)*(n-r+1)*2/(n*(n+1)))}tbilleq(e,t){return this.runFunction(e.args,t,this.metadata("TBILLEQ"),(e,t,n)=>{if(e=Math.round(e),t=Math.round(t),e>=t)return new lr(Vn.NUM);const r=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);if(i.year>r.year+1||i.year===r.year+1&&(i.month>r.month||i.month===r.month&&i.day>r.day))return new lr(Vn.NUM);const o=360-n*(t-e);return 0===o?0:o<0?new lr(Vn.NUM):365*n/o})}tbillprice(e,t){return this.runFunction(e.args,t,this.metadata("TBILLPRICE"),(e,t,n)=>{if(e=Math.round(e),t=Math.round(t),e>=t)return new lr(Vn.NUM);const r=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);if(i.year>r.year+1||i.year===r.year+1&&(i.month>r.month||i.month===r.month&&i.day>r.day))return new lr(Vn.NUM);const o=360-n*(t-e);return 0===o?0:o<0?new lr(Vn.NUM):100*(1-n*(t-e)/360)})}tbillyield(e,t){return this.runFunction(e.args,t,this.metadata("TBILLYIELD"),(e,t,n)=>{if(e=Math.round(e),t=Math.round(t),e>=t)return new lr(Vn.NUM);const r=this.dateTimeHelper.numberToSimpleDate(e),i=this.dateTimeHelper.numberToSimpleDate(t);return i.year>r.year+1||i.year===r.year+1&&(i.month>r.month||i.month===r.month&&i.day>r.day)?new lr(Vn.NUM):360*(100-n)/(n*(t-e))})}fvschedule(e,t){return this.runFunction(e.args,t,this.metadata("FVSCHEDULE"),(e,t)=>{const n=t.valuesFromTopLeftCorner();for(const r of n)if(r instanceof lr)return r;for(const r of n)if(xt(r))e*=1+yt(r);else if(r!==wt)return new lr(Vn.VALUE,Te.NumberExpected);return e})}npv(e,t){return this.runFunction(e.args,t,this.metadata("NPV"),(e,...t)=>{const n=this.arithmeticHelper.coerceNumbersExactRanges(t);return n instanceof lr?n:Ga(e,n)})}mirr(e,t){return this.runFunction(e.args,t,this.metadata("MIRR"),(e,t,n)=>{const r=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());if(r instanceof lr)return r;let i=!1,o=!1;const s=[],a=[];for(const d of r)d>0?(i=!0,s.push(d),a.push(0)):d<0?(o=!0,a.push(d),s.push(0)):(a.push(0),s.push(0));if(!i||!o)return new lr(Vn.DIV_BY_ZERO);const l=r.length,c=Ga(n,s);if(c instanceof lr)return c;const u=Ga(t,a);return u instanceof lr?u:Math.pow(-c*Math.pow(1+n,l)/u/(1+t),1/(l-1))-1})}pduration(e,t){return this.runFunction(e.args,t,this.metadata("PDURATION"),(e,t,n)=>(Math.log(n)-Math.log(t))/Math.log(1+e))}xnpv(e,t){return this.runFunction(e.args,t,this.metadata("XNPV"),(e,t,n)=>{const r=t.valuesFromTopLeftCorner();for(const c of r)if("number"!==typeof c)return new lr(Vn.VALUE,Te.NumberExpected);const i=r,o=n.valuesFromTopLeftCorner();for(const c of o)if("number"!==typeof c)return new lr(Vn.VALUE,Te.NumberExpected);const s=o;if(s.length!==i.length)return new lr(Vn.NUM,Te.EqualLength);const a=s.length;let l=0;if(s[0]<0)return new lr(Vn.NUM,Te.ValueSmall);for(let c=0;c<a;c++){if(s[c]=Math.floor(s[c]),s[c]<s[0])return new lr(Vn.NUM,Te.ValueSmall);l+=i[c]/Math.pow(1+e,(s[c]-s[0])/365)}return l})}}function Ya(e,t,n,r,i){if(0===e)return(-n-r)/t;{const o=Math.pow(1+e,t);return(r*e+n*e*o)*(i?1/(1+e):1)/(1-o)}}function Qa(e,t,n,r,i,o){const s=Ya(e,n,r,i,o);return 1===t?e*(o?0:-r):e*(o?Xa(e,t-2,s,r,o)-s:Xa(e,t-1,s,r,o))}function Xa(e,t,n,r,i){if(0===e)return-r-n*t;{const o=Math.pow(1+e,t);return n*(i?1+e:1)*(1-o)/e-r*o}}function Ka(e,t,n,r,i,o){return Ya(e,n,r,i,o)-Qa(e,t,n,r,i,o)}function Ga(e,t){let n=0;for(let r=t.length-1;r>=0;r--){if(n+=t[r],-1===e){if(0===n)continue;return new lr(Vn.DIV_BY_ZERO)}n/=1+e}return n}
  1090. /**
  1091. * @license
  1092. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1093. */Wa.implementedFunctions={PMT:{method:"pmt",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0}],returnNumberType:Nt.NUMBER_CURRENCY},IPMT:{method:"ipmt",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0}],returnNumberType:Nt.NUMBER_CURRENCY},PPMT:{method:"ppmt",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0}],returnNumberType:Nt.NUMBER_CURRENCY},FV:{method:"fv",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0}],returnNumberType:Nt.NUMBER_CURRENCY},CUMIPMT:{method:"cumipmt",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.INTEGER,minValue:1},{argumentType:Jr.INTEGER,minValue:1},{argumentType:Jr.INTEGER,minValue:0,maxValue:1}],returnNumberType:Nt.NUMBER_CURRENCY},CUMPRINC:{method:"cumprinc",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.INTEGER,minValue:1},{argumentType:Jr.INTEGER,minValue:1},{argumentType:Jr.INTEGER,minValue:0,maxValue:1}],returnNumberType:Nt.NUMBER_CURRENCY},DB:{method:"db",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.INTEGER,minValue:1,maxValue:12,defaultValue:12}],returnNumberType:Nt.NUMBER_CURRENCY},DDB:{method:"ddb",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.INTEGER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0,defaultValue:2}],returnNumberType:Nt.NUMBER_CURRENCY},DOLLARDE:{method:"dollarde",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:0}]},DOLLARFR:{method:"dollarfr",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:0}]},EFFECT:{method:"effect",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1}],returnNumberType:Nt.NUMBER_PERCENT},ISPMT:{method:"ispmt",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},NOMINAL:{method:"nominal",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1}],returnNumberType:Nt.NUMBER_PERCENT},NPER:{method:"nper",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0}]},PV:{method:"pv",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0}],returnNumberType:Nt.NUMBER_CURRENCY},RATE:{method:"rate",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:.1}],returnNumberType:Nt.NUMBER_PERCENT},RRI:{method:"rri",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_PERCENT},SLN:{method:"sln",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_CURRENCY},SYD:{method:"syd",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0}],returnNumberType:Nt.NUMBER_CURRENCY},TBILLEQ:{method:"tbilleq",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0}],returnNumberType:Nt.NUMBER_PERCENT},TBILLPRICE:{method:"tbillprice",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0}],returnNumberType:Nt.NUMBER_CURRENCY},TBILLYIELD:{method:"tbillyield",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0}],returnNumberType:Nt.NUMBER_PERCENT},FVSCHEDULE:{method:"fvschedule",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.RANGE}],returnNumberType:Nt.NUMBER_CURRENCY},NPV:{method:"npv",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.ANY}],repeatLastArgs:1,returnNumberType:Nt.NUMBER_CURRENCY},MIRR:{method:"mirr",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}],returnNumberType:Nt.NUMBER_PERCENT},PDURATION:{method:"pduration",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0}]},XNPV:{method:"xnpv",parameters:[{argumentType:Jr.NUMBER,greaterThan:-1},{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]}};class Za extends $r{formulatext(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("FORMULATEXT"),()=>new lr(Vn.NA,Te.WrongArgNumber),e=>{var t;return null!==(t=this.serialization.getCellFormula(e))&&void 0!==t?t:new lr(Vn.NA,Te.Formula)})}}Za.implementedFunctions={FORMULATEXT:{method:"formulatext",parameters:[{argumentType:Jr.NOERROR}],doesNotNeedArgumentsToBeComputed:!0,isDependentOnSheetStructureChange:!0,vectorizationForbidden:!0}};
  1094. /**
  1095. * @license
  1096. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1097. */
  1098. class za extends $r{hyperlink(e,t){return this.runFunction(e.args,t,this.metadata("HYPERLINK"),(t,n)=>(e.hyperlink=t,null!==n&&void 0!==n?n:t))}}za.implementedFunctions={HYPERLINK:{method:"hyperlink",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.STRING,optionalArg:!0}]}};
  1099. /**
  1100. * @license
  1101. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1102. */
  1103. class qa extends $r{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 lr&&e.type!==Vn.NA)}iserror(e,t){return this.runFunction(e.args,t,this.metadata("ISERROR"),e=>e instanceof lr)}isformula(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("ISFORMULA"),()=>new lr(Vn.NA,Te.WrongArgNumber),e=>{const t=this.dependencyGraph.addressMapping.getCell(e);return t instanceof En})}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 lr&&e.type==Vn.NA)}isnumber(e,t){return this.runFunction(e.args,t,this.metadata("ISNUMBER"),xt)}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 lr&&(e.type==Vn.REF||e.type==Vn.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 lr(Vn.NA,Te.WrongArgNumber);if(e.args.some(e=>e.type===Y.EMPTY))return new lr(Vn.NUM,Te.EmptyArg);let n=e.args[0];while(n.type===Y.PARENTHESIS)n=n.expression;if(n.type===Y.CELL_RANGE||n.type===Y.COLUMN_RANGE)return n.end.col-n.start.col+1;if(n.type===Y.CELL_REFERENCE)return 1;if(n.type===Y.ROW_RANGE)return this.config.maxColumns;{const e=this.evaluateAst(n,t);return e instanceof Ft?e.width():e instanceof lr?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 lr(Vn.NA,Te.WrongArgNumber);if(e.args.some(e=>e.type===Y.EMPTY))return new lr(Vn.NUM,Te.EmptyArg);let n=e.args[0];while(n.type===Y.PARENTHESIS)n=n.expression;if(n.type===Y.CELL_RANGE||n.type===Y.ROW_RANGE)return n.end.row-n.start.row+1;if(n.type===Y.CELL_REFERENCE)return 1;if(n.type===Y.COLUMN_RANGE)return this.config.maxRows;{const e=this.evaluateAst(n,t);return e instanceof Ft?e.height():e instanceof lr?e:1}}index(e,t){return this.runFunction(e.args,t,this.metadata("INDEX"),(e,t,n)=>{var r,i,o,s,a,l;return n<1||t<1?new lr(Vn.VALUE,Te.LessThanOne):n>e.width()||t>e.height()?new lr(Vn.NUM,Te.ValueLarge):null!==(l=null!==(o=null===(i=null===(r=null===e||void 0===e?void 0:e.data)||void 0===r?void 0:r[t-1])||void 0===i?void 0:i[n-1])&&void 0!==o?o:null===(a=null===(s=null===e||void 0===e?void 0:e.data)||void 0===s?void 0:s[0])||void 0===a?void 0:a[0])&&void 0!==l?l:new lr(Vn.VALUE,Te.CellRangeExpected)})}na(e,t){return new lr(Vn.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 lr(Vn.NA,Te.SheetRef)})}sheets(e,t){return this.runFunctionWithReferenceArgument(e.args,t,this.metadata("SHEETS"),()=>this.dependencyGraph.sheetMapping.numberOfSheets(),()=>1,()=>new lr(Vn.VALUE,Te.CellRefExpected))}}qa.implementedFunctions={COLUMN:{method:"column",parameters:[{argumentType:Jr.NOERROR,optionalArg:!0}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},COLUMNS:{method:"columns",parameters:[{argumentType:Jr.RANGE}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ISBINARY:{method:"isbinary",parameters:[{argumentType:Jr.STRING}]},ISERR:{method:"iserr",parameters:[{argumentType:Jr.SCALAR}]},ISFORMULA:{method:"isformula",parameters:[{argumentType:Jr.NOERROR}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ISNA:{method:"isna",parameters:[{argumentType:Jr.SCALAR}]},ISREF:{method:"isref",parameters:[{argumentType:Jr.SCALAR}],vectorizationForbidden:!0},ISERROR:{method:"iserror",parameters:[{argumentType:Jr.SCALAR}]},ISBLANK:{method:"isblank",parameters:[{argumentType:Jr.SCALAR}]},ISNUMBER:{method:"isnumber",parameters:[{argumentType:Jr.SCALAR}]},ISLOGICAL:{method:"islogical",parameters:[{argumentType:Jr.SCALAR}]},ISTEXT:{method:"istext",parameters:[{argumentType:Jr.SCALAR}]},ISNONTEXT:{method:"isnontext",parameters:[{argumentType:Jr.SCALAR}]},INDEX:{method:"index",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:1}]},NA:{method:"na",parameters:[]},ROW:{method:"row",parameters:[{argumentType:Jr.NOERROR,optionalArg:!0}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},ROWS:{method:"rows",parameters:[{argumentType:Jr.RANGE}],isDependentOnSheetStructureChange:!0,doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},SHEET:{method:"sheet",parameters:[{argumentType:Jr.STRING}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0},SHEETS:{method:"sheets",parameters:[{argumentType:Jr.STRING}],doesNotNeedArgumentsToBeComputed:!0,vectorizationForbidden:!0}};
  1104. /**
  1105. * @license
  1106. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1107. */
  1108. class Ja extends $r{iseven(e,t){return this.runFunction(e.args,t,this.metadata("ISEVEN"),e=>e%2===0)}}Ja.implementedFunctions={ISEVEN:{method:"iseven",parameters:[{argumentType:Jr.NUMBER}]}};
  1109. /**
  1110. * @license
  1111. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1112. */
  1113. class $a extends $r{isodd(e,t){return this.runFunction(e.args,t,this.metadata("ISODD"),e=>e%2===1)}}$a.implementedFunctions={ISODD:{method:"isodd",parameters:[{argumentType:Jr.NUMBER}]}};
  1114. /**
  1115. * @license
  1116. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1117. */
  1118. class el extends $r{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:Jr.NUMBER}]},LOG:{method:"log",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,defaultValue:10,greaterThan:0}]},LN:{method:"ln",parameters:[{argumentType:Jr.NUMBER}]}};
  1119. /**
  1120. * @license
  1121. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1122. */
  1123. const tl=parseFloat(Math.PI.toFixed(14));class nl extends $r{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))}}
  1124. /**
  1125. * @license
  1126. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1127. */
  1128. function rl(e,t){return new ei(t.width,e.height)}function il(e,t,n){return new ei(1+(e.width-t)/n,1+(e.height-t)/n)}nl.implementedFunctions={PI:{method:"pi",parameters:[]},SQRTPI:{method:"sqrtpi",parameters:[{argumentType:Jr.NUMBER,minValue:0}]}};class ol extends $r{mmult(e,t){return this.runFunction(e.args,t,this.metadata("MMULT"),(e,t)=>{if(!e.hasOnlyNumbers()||!t.hasOnlyNumbers())return new lr(Vn.VALUE,Te.NumberRange);if(t.height()!==e.width())return new lr(Vn.VALUE,Te.ArrayDimensions);const n=rl(e.size,t.size),r=this.createKernel((function(e,t,n){let r=0;for(let i=0;i<n;++i)r+=e[this.thread.y][i]*t[i][this.thread.x];return r}),n)(e.rawNumbers(),t.rawNumbers(),e.width());return Ft.onlyNumbers(r)})}mmultArraySize(e,t){if(2!==e.args.length)return ei.error();const n=this.metadata("MMULT"),r=e.args.map(e=>{var r;return this.arraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))}),[i,o]=r;return rl(i,o)}maxpool(e,t){return this.runFunction(e.args,t,this.metadata("MAXPOOL"),(e,t,n=t)=>{if(!e.hasOnlyNumbers())return new lr(Vn.VALUE,Te.NumberRange);const r=il(e.size,t,n),i=this.createKernel((function(e,t,n){const r=this.thread.x*n,i=this.thread.y*n;let o=e[i][r];for(let s=0;s<t;s++)for(let n=0;n<t;n++)o=Math.max(o,e[i+s][r+n]);return o}),r)(e.rawNumbers(),t,n);return Ft.onlyNumbers(i)})}medianpool(e,t){return this.runFunction(e.args,t,this.metadata("MEDIANPOOL"),(e,t,n=t)=>{if(!e.hasOnlyNumbers())return new lr(Vn.VALUE,Te.NumberRange);const r=il(e.size,t,n),i=this.createKernel((function(e,t,n){const r=this.thread.x*n,i=this.thread.y*n;let o=e[i][r];for(let d=0;d<t;d++)for(let n=0;n<t;n++)o=Math.max(o,e[i+d][r+n]);let s=e[i][r];for(let d=0;d<t;d++)for(let n=0;n<t;n++)s=Math.min(s,e[i+d][r+n]);const a=t*t;let l=s,c=o,u=42;for(let d=0;d<32;d++){const n=(l+c)/2;let o=0;for(let s=0;s<t;s++)for(let a=0;a<t;a++)e[i+s][r+a]>n&&o++;if(t%2===0){if(o===a/2){u=n;break}o>a/2?l=n:c=n}else{if(o===(a-1)/2){u=n;break}o>(a-1)/2?l=n:c=n}}return u}),r)(e.rawNumbers(),t,n);return Ft.onlyNumbers(i)})}maxpoolArraySize(e,t){if(e.args.length<2||e.args.length>3)return ei.error();const n=this.metadata("MAXPOOL"),r=e.args.map(e=>{var r;return this.arraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))}),i=r[0],o=e.args[1];let s;s=o.type===Y.NUMBER?o.value:1;let a=s;if(3===e.args.length){const t=e.args[2];a=t.type===Y.NUMBER?t.value:1}return s>i.width||s>i.height||a>s||(i.width-s)%a!==0||(i.height-s)%a!==0?ei.error():il(i,s,a)}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(),n=e.size,r=[];for(let i=0;i<n.width;++i){r[i]=[];for(let e=0;e<n.height;++e)r[i][e]=t[e][i]}return Ft.onlyValues(r)})}transposeArraySize(e,t){if(1!==e.args.length)return ei.error();const n=this.metadata("TRANSPOSE"),r=e.args.map(e=>{var r;return this.arraySizeForAst(e,new Er(t.formulaAddress,t.arraysFlag||null!==(r=null===n||void 0===n?void 0:n.arrayFunction)&&void 0!==r&&r))}),[i]=r;return new ei(i.height,i.width)}createKernel(e,t){return function(...n){const r=[];for(let i=0;i<t.height;++i){r.push([]);for(let o=0;o<t.width;++o)r[i][o]=e.apply({thread:{x:o,y:i}},n)}return r}}}ol.implementedFunctions={MMULT:{method:"mmult",arraySizeMethod:"mmultArraySize",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}],vectorizationForbidden:!0},TRANSPOSE:{method:"transpose",arraySizeMethod:"transposeArraySize",parameters:[{argumentType:Jr.RANGE}],vectorizationForbidden:!0},MAXPOOL:{method:"maxpool",arraySizeMethod:"maxpoolArraySize",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0}],vectorizationForbidden:!0},MEDIANPOOL:{method:"medianpool",arraySizeMethod:"medianpoolArraySize",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0}],vectorizationForbidden:!0}};
  1129. /**
  1130. * @license
  1131. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1132. */
  1133. class sl extends $r{median(e,t){return this.runFunction(e.args,t,this.metadata("MEDIAN"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);return t instanceof lr?t:0===t.length?new lr(Vn.NUM,Te.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 n=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());return n instanceof lr?n:(n.sort((e,t)=>e-t),t=Math.trunc(t),t>n.length?new lr(Vn.NUM,Te.ValueLarge):n[n.length-t])})}small(e,t){return this.runFunction(e.args,t,this.metadata("SMALL"),(e,t)=>{const n=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());return n instanceof lr?n:(n.sort((e,t)=>e-t),t=Math.trunc(t),t>n.length?new lr(Vn.NUM,Te.ValueLarge):n[t-1])})}}sl.implementedFunctions={MEDIAN:{method:"median",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},LARGE:{method:"large",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER,minValue:1}]},SMALL:{method:"small",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER,minValue:1}]}};
  1134. /**
  1135. * @license
  1136. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1137. */
  1138. class al extends $r{mod(e,t){return this.runFunction(e.args,t,this.metadata("MOD"),(e,t)=>0===t?new lr(Vn.DIV_BY_ZERO):e%t)}}
  1139. /**
  1140. * @license
  1141. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1142. */
  1143. function ll(e){return xt(e)&&!Number.isFinite(yt(e))?0:e}al.implementedFunctions={MOD:{method:"mod",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]}};class cl{constructor(e,t,n){this.sumsq=e,this.sum=t,this.count=n}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 $r{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 n=this.reduce(e.args,t,Number.NEGATIVE_INFINITY,"MAXA",(e,t)=>Math.max(e,t),yt,hl);return ll(n)}min(e,t){return this.doMin(e.args,t)}mina(e,t){const n=this.reduce(e.args,t,Number.POSITIVE_INFINITY,"MINA",(e,t)=>Math.min(e,t),yt,hl);return ll(n)}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 n;const r=this.reduce(e.args,t,cl.empty,"_AGGREGATE_A",(e,t)=>e.compose(t),e=>cl.single(yt(e)),hl);return r instanceof lr?r:null!==(n=r.averageValue())&&void 0!==n?n:new lr(Vn.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 n;const r=this.reduceAggregateA(e.args,t);return r instanceof lr?r:null!==(n=r.varSValue())&&void 0!==n?n:new lr(Vn.DIV_BY_ZERO)}varpa(e,t){var n;const r=this.reduceAggregateA(e.args,t);return r instanceof lr?r:null!==(n=r.varPValue())&&void 0!==n?n:new lr(Vn.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 n=this.reduceAggregateA(e.args,t);if(n instanceof lr)return n;{const e=n.varSValue();return void 0===e?new lr(Vn.DIV_BY_ZERO):Math.sqrt(e)}}stdevpa(e,t){const n=this.reduceAggregateA(e.args,t);if(n instanceof lr)return n;{const e=n.varPValue();return void 0===e?new lr(Vn.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 lr(Vn.NA,Te.WrongArgNumber);const n=this.coerceToType(this.evaluateAst(e.args[0],t),{argumentType:Jr.NUMBER},t),r=e.args.slice(1);switch(n){case 1:case 101:return this.doAverage(r,t);case 2:case 102:return this.doCount(r,t);case 3:case 103:return this.doCounta(r,t);case 4:case 104:return this.doMax(r,t);case 5:case 105:return this.doMin(r,t);case 6:case 106:return this.doProduct(r,t);case 7:case 107:return this.doStdevS(r,t);case 8:case 108:return this.doStdevP(r,t);case 9:case 109:return this.doSum(r,t);case 10:case 110:return this.doVarS(r,t);case 11:case 111:return this.doVarP(r,t);default:return new lr(Vn.VALUE,Te.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 n;const r=this.reduceAggregate(e,t);return r instanceof lr?r:null!==(n=r.averageValue())&&void 0!==n?n:new lr(Vn.DIV_BY_ZERO)}doVarS(e,t){var n;const r=this.reduceAggregate(e,t);return r instanceof lr?r:null!==(n=r.varSValue())&&void 0!==n?n:new lr(Vn.DIV_BY_ZERO)}doVarP(e,t){var n;const r=this.reduceAggregate(e,t);return r instanceof lr?r:null!==(n=r.varPValue())&&void 0!==n?n:new lr(Vn.DIV_BY_ZERO)}doStdevS(e,t){const n=this.reduceAggregate(e,t);if(n instanceof lr)return n;{const e=n.varSValue();return void 0===e?new lr(Vn.DIV_BY_ZERO):Math.sqrt(e)}}doStdevP(e,t){const n=this.reduceAggregate(e,t);if(n instanceof lr)return n;{const e=n.varPValue();return void 0===e?new lr(Vn.DIV_BY_ZERO):Math.sqrt(e)}}doCount(e,t){return this.reduce(e,t,0,"COUNT",(e,t)=>e+t,yt,e=>xt(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 n=this.reduce(e,t,Number.NEGATIVE_INFINITY,"MAX",(e,t)=>Math.max(e,t),yt,dl);return ll(n)}doMin(e,t){const n=this.reduce(e,t,Number.POSITIVE_INFINITY,"MIN",(e,t)=>Math.min(e,t),yt,dl);return ll(n)}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,n,r,i,o,s){return e.length<1?new lr(Vn.NA,Te.WrongArgNumber):e.reduce((e,a)=>{if(e instanceof lr)return e;if(a.type===Y.CELL_RANGE||a.type===Y.COLUMN_RANGE||a.type===Y.ROW_RANGE){const l=this.evaluateRange(a,t,n,r,i,o,s);return l instanceof lr?l:i(l,e)}let l;if(l=this.evaluateAst(a,t),l instanceof Ft){const t=Array.from(l.valuesFromTopLeftCorner()).map(s).filter(e=>void 0!==e);return t.map(e=>e instanceof lr?e:o(e)).reduce((e,t)=>e instanceof lr?e:t instanceof lr?t:i(e,t),e)}if(a.type===Y.CELL_REFERENCE){if(l=s(l),void 0===l)return e}else if(l=this.coerceScalarToNumberOrError(l),l=s(l),void 0===l)return e;return l instanceof lr?l:i(e,o(l))},n)}evaluateRange(e,t,n,r,i,o,s){let a;try{a=Rr.fromAst(e,t.formulaAddress)}catch(u){if(u instanceof Zt)return new lr(Vn.REF,Te.RangeManySheets);throw u}const l=this.dependencyGraph.getRange(a.start,a.end);if(void 0===l)throw new Error("Range does not exists in graph");let c=l.getFunctionValue(r);if(void 0===c){const e=this.getRangeValues(r,a,l,o,s);c=e.reduce((e,t)=>e instanceof lr?e:t instanceof lr?t:i(e,t),n),l.setFunctionValue(r,c)}return c}getRangeValues(e,t,n,r,i){const o=[],{smallerRangeVertex:s,restRange:a}=this.dependencyGraph.rangeMapping.findSmallerRange(t);let l;if(void 0!==s&&this.dependencyGraph.existsEdge(s,n)){const t=s.getFunctionValue(e);if(void 0!==t)o.push(t);else for(const e of s.range.addresses(this.dependencyGraph)){const t=i(this.dependencyGraph.getScalarValue(e));t instanceof lr?o.push(t):void 0!==t&&o.push(r(t))}l=a}else l=t;for(const c of l.addresses(this.dependencyGraph)){const e=i(this.dependencyGraph.getScalarValue(c));e instanceof lr?o.push(e):void 0!==e&&o.push(r(e))}return o}}function dl(e){return xt(e)||e instanceof lr?e:void 0}function hl(e){return"boolean"===typeof e?Ir(e):xt(e)||e instanceof lr?e:"string"===typeof e?0:void 0}
  1144. /**
  1145. * @license
  1146. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1147. */ul.implementedFunctions={SUM:{method:"sum",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},SUMSQ:{method:"sumsq",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},MAX:{method:"max",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},MIN:{method:"min",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},MAXA:{method:"maxa",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},MINA:{method:"mina",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},COUNT:{method:"count",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},COUNTA:{method:"counta",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},AVERAGE:{method:"average",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},AVERAGEA:{method:"averagea",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},PRODUCT:{method:"product",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},"VAR.S":{method:"vars",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},"VAR.P":{method:"varp",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},VARA:{method:"vara",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},VARPA:{method:"varpa",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},"STDEV.S":{method:"stdevs",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},"STDEV.P":{method:"stdevp",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},STDEVA:{method:"stdeva",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},STDEVPA:{method:"stdevpa",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},SUBTOTAL:{method:"subtotal",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.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 $r{power(e,t){return this.runFunction(e.args,t,this.metadata("POWER"),Math.pow)}}pl.implementedFunctions={POWER:{method:"power",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]}};
  1148. /**
  1149. * @license
  1150. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1151. */
  1152. class fl extends $r{radians(e,t){return this.runFunction(e.args,t,this.metadata("RADIANS"),e=>e*(Math.PI/180))}}fl.implementedFunctions={RADIANS:{method:"radians",parameters:[{argumentType:Jr.NUMBER}]}};
  1153. /**
  1154. * @license
  1155. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1156. */
  1157. const ml=10,Al=255,gl=2,_l=36,bl="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";class vl extends $r{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 lr(Vn.NUM,Te.NotBinary):Tl(t,2)})}bin2oct(e,t){return this.runFunction(e.args,t,this.metadata("BIN2OCT"),(e,t)=>{const n=wl(e,2,ml);return void 0===n?new lr(Vn.NUM,Te.NotBinary):yl(Tl(n,2),8,t)})}bin2hex(e,t){return this.runFunction(e.args,t,this.metadata("BIN2HEX"),(e,t)=>{const n=wl(e,2,ml);return void 0===n?new lr(Vn.NUM,Te.NotBinary):yl(Tl(n,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 lr(Vn.NUM,Te.NotOctal):Tl(t,8)})}oct2bin(e,t){return this.runFunction(e.args,t,this.metadata("OCT2BIN"),(e,t)=>{const n=wl(e,8,ml);return void 0===n?new lr(Vn.NUM,Te.NotOctal):yl(Tl(n,8),2,t)})}oct2hex(e,t){return this.runFunction(e.args,t,this.metadata("OCT2HEX"),(e,t)=>{const n=wl(e,8,ml);return void 0===n?new lr(Vn.NUM,Te.NotOctal):yl(Tl(n,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 lr(Vn.NUM,Te.NotHex):Tl(t,16)})}hex2bin(e,t){return this.runFunction(e.args,t,this.metadata("HEX2BIN"),(e,t)=>{const n=wl(e,16,ml);return void 0===n?new lr(Vn.NUM,Te.NotHex):yl(Tl(n,16),2,t)})}hex2oct(e,t){return this.runFunction(e.args,t,this.metadata("HEX2OCT"),(e,t)=>{const n=wl(e,16,ml);return void 0===n?new lr(Vn.NUM,Te.NotHex):yl(Tl(n,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 n=wl(e,t,Al);return void 0===n?new lr(Vn.NUM,Te.NotHex):parseInt(n,t)})}}function wl(e,t,n){const r=bl.substr(0,t),i=new RegExp(`^[${r}]+$`);if(!(e.length>n)&&i.test(e))return e}function yl(e,t,n){if(e>Ml(t))return new lr(Vn.NUM,Te.ValueBaseLarge);if(e<Rl(t))return new lr(Vn.NUM,Te.ValueBaseSmall);const r=El(e,t);return void 0===n||e<0?r:r.length>n?new lr(Vn.NUM,Te.ValueBaseLong):no(r,n)}function Rl(e){return-Math.pow(e,ml)/2}function Ml(e){return-Rl(e)-1}function Sl(e,t,n){const r=El(e,t);return void 0!==n&&n>r.length?no(r,n):r}function El(e,t){const n=e<0?Math.pow(t,ml):0;return(e+n).toString(t).toUpperCase()}function Tl(e,t){const n=parseInt(e,t),r=Math.pow(t,ml);return n>=r/2?n-r:n}
  1158. /**
  1159. * @license
  1160. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1161. */vl.implementedFunctions={DEC2BIN:{method:"dec2bin",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},DEC2OCT:{method:"dec2oct",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},DEC2HEX:{method:"dec2hex",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:1,maxValue:10}]},BIN2DEC:{method:"bin2dec",parameters:[{argumentType:Jr.STRING}]},BIN2OCT:{method:"bin2oct",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},BIN2HEX:{method:"bin2hex",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},OCT2DEC:{method:"oct2dec",parameters:[{argumentType:Jr.STRING}]},OCT2BIN:{method:"oct2bin",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},OCT2HEX:{method:"oct2hex",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},HEX2DEC:{method:"hex2dec",parameters:[{argumentType:Jr.STRING}]},HEX2BIN:{method:"hex2bin",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},HEX2OCT:{method:"hex2oct",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:ml}]},DECIMAL:{method:"decimal",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,minValue:gl,maxValue:_l}]},BASE:{method:"base",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:gl,maxValue:_l},{argumentType:Jr.NUMBER,optionalArg:!0,minValue:0,maxValue:Al}]}};class Cl extends $r{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 lr(Vn.NUM,Te.WrongOrder):(e=Math.ceil(e),t=Math.floor(t)+1,e===t&&(t+=1),e+Math.floor(Math.random()*(t-e))))}}
  1162. /**
  1163. * @license
  1164. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1165. */
  1166. function Ol(e){const t=Math.ceil(e);return t%2===1?t:t+1}function xl(e){const t=Math.ceil(e);return t%2===0?t:t+1}Cl.implementedFunctions={RAND:{method:"rand",parameters:[],isVolatile:!0},RANDBETWEEN:{method:"randbetween",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}],isVolatile:!0}};class Nl extends $r{roundup(e,t){return this.runFunction(e.args,t,this.metadata("ROUNDDOWN"),(e,t)=>{const n=Math.pow(10,t);return e<0?-Math.ceil(-e*n)/n:Math.ceil(e*n)/n})}rounddown(e,t){return this.runFunction(e.args,t,this.metadata("ROUNDDOWN"),(e,t)=>{const n=Math.pow(10,t);return e<0?-Math.floor(-e*n)/n:Math.floor(e*n)/n})}round(e,t){return this.runFunction(e.args,t,this.metadata("ROUND"),(e,t)=>{const n=Math.pow(10,t);return e<0?-Math.round(-e*n)/n:Math.round(e*n)/n})}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?-xl(-e):xl(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,n)=>0===t||0===e?0:(t=Math.abs(t),1===n&&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 lr(Vn.DIV_BY_ZERO):e>0&&t<0?new lr(Vn.NUM,Te.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,n)=>0===t||0===e?0:(t=Math.abs(t),1===n&&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 lr(Vn.DIV_BY_ZERO):e>0&&t<0?new lr(Vn.NUM,Te.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))}}Nl.implementedFunctions={ROUNDUP:{method:"roundup",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0}]},ROUNDDOWN:{method:"rounddown",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0}]},ROUND:{method:"round",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:0}]},INT:{method:"intFunc",parameters:[{argumentType:Jr.NUMBER}]},EVEN:{method:"even",parameters:[{argumentType:Jr.NUMBER}]},ODD:{method:"odd",parameters:[{argumentType:Jr.NUMBER}]},"CEILING.MATH":{method:"ceilingmath",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:1},{argumentType:Jr.NUMBER,defaultValue:0}]},CEILING:{method:"ceiling",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},"CEILING.PRECISE":{method:"ceilingprecise",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:1}]},"FLOOR.MATH":{method:"floormath",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:1},{argumentType:Jr.NUMBER,defaultValue:0}]},FLOOR:{method:"floor",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},"FLOOR.PRECISE":{method:"floorprecise",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,defaultValue:1}]}},Nl.aliases={"ISO.CEILING":"CEILING.PRECISE",TRUNC:"ROUNDDOWN"};
  1167. /**
  1168. * @license
  1169. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1170. */
  1171. class Ll extends $r{sqrt(e,t){return this.runFunction(e.args,t,this.metadata("SQRT"),Math.sqrt)}}
  1172. /**
  1173. * @license
  1174. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1175. */
  1176. function*Il(){}function Pl(e){const t=e[Symbol.iterator](),{done:n,value:r}=t.next();return n?{rest:Il()}:{value:r,rest:t}}Ll.implementedFunctions={SQRT:{method:"sqrt",parameters:[{argumentType:Jr.NUMBER}]}};
  1177. /**
  1178. * @license
  1179. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1180. */
  1181. const Dl=(e,t,n)=>{if(n.end.row>n.start.row){const r=pr(n.end.sheet,n.end.col,n.end.row-1),i=e.getRange(n.start,r);if(void 0!==i)return{smallerRangeVertex:i,restValuesRange:n.withStart(pr(n.start.sheet,n.start.col,n.end.row)),restConditionRanges:t.map(e=>e.withStart(pr(e.start.sheet,e.start.col,e.end.row)))}}return{restValuesRange:n,restConditionRanges:t}};class Fl{constructor(e,t,n,r,i){this.interpreter=e,this.cacheKey=t,this.reduceInitialValue=n,this.composeFunction=r,this.mapFunction=i,this.dependencyGraph=this.interpreter.dependencyGraph}compute(e,t){for(const i of t)if(!i.conditionRange.sameDimensionsAs(e))return new lr(Vn.VALUE,Te.EqualLength);const n=this.tryToGetRangeVertexForRangeValue(e),r=t.map(e=>this.tryToGetRangeVertexForRangeValue(e.conditionRange));if(n&&r.every(e=>void 0!==e)){const i=t.map(e=>e.criterionPackage.raw).join(","),o=this.findAlreadyComputedValueInCache(n,this.cacheKey(t),i);if(void 0!==o)return this.interpreter.stats.incrementCriterionFunctionFullCacheUsed(),o;const s=this.buildNewCriterionCache(this.cacheKey(t),t.map(e=>e.conditionRange.range),e.range);return s.has(i)||s.set(i,[this.evaluateRangeValue(e,t),t.map(e=>e.criterionPackage.lambda)]),n.setCriterionFunctionValues(this.cacheKey(t),s),r.forEach(e=>{void 0!==e&&e.addDependentCacheRange(n)}),s.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 n of e)t=this.composeFunction(t,n);return t}findAlreadyComputedValueInCache(e,t,n){return e.getCriterionFunctionValue(t,n)}evaluateRangeValue(e,t){const n=t.map(e=>e.criterionPackage.lambda),r=Array.from(e.valuesFromTopLeftCorner()).map(this.mapFunction)[Symbol.iterator](),i=t.map(e=>e.conditionRange.iterateValuesFromTopLeftCorner()),o=Ul(n,i,r);return this.reduceFunction(o)}buildNewCriterionCache(e,t,n){const r=this.dependencyGraph.getRange(n.start,n.end),{smallerRangeVertex:i,restConditionRanges:o,restValuesRange:s}=Dl(this.dependencyGraph,t,n);let a;a=void 0!==i&&this.dependencyGraph.existsEdge(i,r)?i.getCriterionFunctionValues(e):new Map;const l=new Map;return a.forEach(([e,t],n)=>{const r=Ul(t,o.map(e=>Bl(this.dependencyGraph,e)),Array.from(Bl(this.dependencyGraph,s)).map(this.mapFunction)[Symbol.iterator]()),i=this.composeFunction(e,this.reduceFunction(r));this.interpreter.stats.incrementCriterionFunctionPartialCacheUsed(),l.set(n,[i,t])}),l}}class kl{constructor(e,t){this.conditionRange=e,this.criterionPackage=t}}function*Bl(e,t){for(const n of t.addresses(e))yield yt(e.getScalarValue(n))}function*Ul(e,t,n){for(const r of n){const n=t.map(e=>Pl(e));if(!n.every(e=>Object.prototype.hasOwnProperty.call(e,"value")))return;const i=n.map(e=>yt(e.value));Hl(i,e).every(([e,t])=>t(e))&&(yield r),t=n.map(e=>e.rest)}}function Hl(e,t){const n=[];for(let r=0;r<Math.min(e.length,t.length);r++)n.push([e[r],t[r]]);return n}
  1182. /**
  1183. * @license
  1184. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1185. */class jl{constructor(e,t){this.sum=e,this.count=t}static single(e){return new jl(e,1)}compose(e){return new jl(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 n=t.map(e=>`${e.conditionRange.range.sheet},${e.conditionRange.range.start.col},${e.conditionRange.range.start.row}`);return[e,...n].join(",")}}function Wl(e){return xt(e)&&!Number.isFinite(yt(e))?0:e}function Yl(e){return e instanceof lr?e:xt(e)?yt(e):void 0}jl.empty=new jl(0,0);class Ql extends $r{sumif(e,t){const n="SUMIF",r=(e,t,r)=>this.computeConditionalAggregationFunction(null!==r&&void 0!==r?r:e,[e,t],n,0,(e,t)=>this.arithmeticHelper.nonstrictadd(e,t),Yl);return this.runFunction(e.args,t,this.metadata(n),r)}sumifs(e,t){const n="SUMIFS",r=(e,...t)=>this.computeConditionalAggregationFunction(e,t,n,0,(e,t)=>this.arithmeticHelper.nonstrictadd(e,t),Yl);return this.runFunction(e.args,t,this.metadata(n),r)}averageif(e,t){const n="AVERAGEIF",r=(e,t,r)=>{const i=this.computeConditionalAggregationFunction(null!==r&&void 0!==r?r:e,[e,t],n,jl.empty,(e,t)=>e.compose(t),e=>xt(e)?jl.single(yt(e)):jl.empty);return i instanceof lr?i:i.averageValue()||new lr(Vn.DIV_BY_ZERO)};return this.runFunction(e.args,t,this.metadata(n),r)}countif(e,t){const n="COUNTIF",r=(e,t)=>this.computeConditionalAggregationFunction(e,[e,t],n,0,(e,t)=>e+t,()=>1);return this.runFunction(e.args,t,this.metadata(n),r)}countifs(e,t){const n="COUNTIFS",r=(...e)=>this.computeConditionalAggregationFunction(e[0],e,n,0,(e,t)=>e+t,()=>1);return this.runFunction(e.args,t,this.metadata(n),r)}minifs(e,t){const n="MINIFS",r=(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,n,Number.POSITIVE_INFINITY,r,Yl);return Wl(i)};return this.runFunction(e.args,t,this.metadata(n),i)}maxifs(e,t){const n="MAXIFS",r=(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,n,Number.NEGATIVE_INFINITY,r,Yl);return Wl(i)};return this.runFunction(e.args,t,this.metadata(n),i)}computeConditionalAggregationFunction(e,t,n,r,i,o){const s=[];for(let a=0;a<t.length;a+=2){const e=t[a],n=this.interpreter.criterionBuilder.fromCellValue(t[a+1],this.arithmeticHelper);if(void 0===n)return new lr(Vn.VALUE,Te.BadCriterion);s.push(new kl(e,n))}return new Fl(this.interpreter,Vl(n),r,i,o).compute(e,s)}}Ql.implementedFunctions={SUMIF:{method:"sumif",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR},{argumentType:Jr.RANGE,optionalArg:!0}]},COUNTIF:{method:"countif",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR}]},AVERAGEIF:{method:"averageif",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR},{argumentType:Jr.RANGE,optionalArg:!0}]},SUMIFS:{method:"sumifs",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR}],repeatLastArgs:2},COUNTIFS:{method:"countifs",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR}],repeatLastArgs:2},MINIFS:{method:"minifs",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR}],repeatLastArgs:2},MAXIFS:{method:"maxifs",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE},{argumentType:Jr.NOERROR}],repeatLastArgs:2}};
  1186. /**
  1187. * @license
  1188. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1189. */
  1190. class Xl extends $r{sumproduct(e,t){return this.runFunction(e.args,t,this.metadata("SUMPRODUCT"),(...e)=>{const t=e[0].width(),n=e[0].height();for(const o of e)if(o.width()!==t||o.height()!==n)return new lr(Vn.VALUE,Te.EqualLength);let r=0;const i=e.map(e=>e.iterateValuesFromTopLeftCorner());for(let o=0;o<t*n;o++){let e=1;for(const t of i){const n=t.next().value;if(n instanceof lr)return n;const r=this.coerceScalarToNumberOrError(n);xt(r)?e*=yt(r):e=0}r+=e}return r})}}Xl.implementedFunctions={SUMPRODUCT:{method:"sumproduct",parameters:[{argumentType:Jr.RANGE}],repeatLastArgs:1}};
  1191. /**
  1192. * @license
  1193. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1194. */
  1195. class Kl extends $r{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 n=e.split(" ");return t>=n.length||t<0?new lr(Vn.VALUE,Te.IndexBounds):n[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 lr(Vn.VALUE,Te.NegativeCount):e.repeat(t))}right(e,t){return this.runFunction(e.args,t,this.metadata("RIGHT"),(e,t)=>t<0?new lr(Vn.VALUE,Te.NegativeLength):0===t?"":e.slice(-t))}left(e,t){return this.runFunction(e.args,t,this.metadata("LEFT"),(e,t)=>t<0?new lr(Vn.VALUE,Te.NegativeLength):e.slice(0,t))}mid(e,t){return this.runFunction(e.args,t,this.metadata("MID"),(e,t,n)=>t<1?new lr(Vn.VALUE,Te.LessThanOne):n<0?new lr(Vn.VALUE,Te.NegativeLength):e.substring(t-1,t+n-1))}replace(e,t){return this.runFunction(e.args,t,this.metadata("REPLACE"),(e,t,n,r)=>t<1?new lr(Vn.VALUE,Te.LessThanOne):n<0?new lr(Vn.VALUE,Te.NegativeLength):e.substring(0,t-1)+r+e.substring(t+n-1))}search(e,t){return this.runFunction(e.args,t,this.metadata("SEARCH"),(e,t,n)=>{if(n<1||n>t.length)return new lr(Vn.VALUE,Te.LengthBounds);const r=e.toLowerCase(),i=t.substring(n-1).toLowerCase(),o=this.arithmeticHelper.requiresRegex(r)?this.arithmeticHelper.searchString(r,i):i.indexOf(r);return o>-1?o+n:new lr(Vn.VALUE,Te.PatternNotFound)})}substitute(e,t){return this.runFunction(e.args,t,this.metadata("SUBSTITUTE"),(e,t,n,r)=>{const i=this.escapeRegExpSpecialCharacters(t),o=new RegExp(i,"g");if(void 0===r)return e.replace(o,n);if(r<1)return new lr(Vn.VALUE,Te.LessThanOne);let s,a=0;while(null!==(s=o.exec(e)))if(r===++a)return e.substring(0,s.index)+n+e.substring(o.lastIndex);return e})}find(e,t){return this.runFunction(e.args,t,this.metadata("FIND"),(e,t,n)=>{if(n<1||n>t.length)return new lr(Vn.VALUE,Te.IndexBounds);const r=t.substring(n-1),i=r.indexOf(e)+n;return i>0?i:new lr(Vn.VALUE,Te.PatternNotFound)})}t(e,t){return this.runFunction(e.args,t,this.metadata("T"),e=>e instanceof lr||"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,"\\$&")}}Kl.implementedFunctions={CONCATENATE:{method:"concatenate",parameters:[{argumentType:Jr.STRING}],repeatLastArgs:1,expandRanges:!0},EXACT:{method:"exact",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.STRING}]},SPLIT:{method:"split",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER}]},LEN:{method:"len",parameters:[{argumentType:Jr.STRING}]},LOWER:{method:"lower",parameters:[{argumentType:Jr.STRING}]},MID:{method:"mid",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},TRIM:{method:"trim",parameters:[{argumentType:Jr.STRING}]},T:{method:"t",parameters:[{argumentType:Jr.SCALAR}]},PROPER:{method:"proper",parameters:[{argumentType:Jr.STRING}]},CLEAN:{method:"clean",parameters:[{argumentType:Jr.STRING}]},REPT:{method:"rept",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER}]},RIGHT:{method:"right",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,defaultValue:1}]},LEFT:{method:"left",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,defaultValue:1}]},REPLACE:{method:"replace",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.STRING}]},SEARCH:{method:"search",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,defaultValue:1}]},SUBSTITUTE:{method:"substitute",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.STRING},{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,optionalArg:!0}]},FIND:{method:"find",parameters:[{argumentType:Jr.STRING},{argumentType:Jr.STRING},{argumentType:Jr.NUMBER,defaultValue:1}]},UPPER:{method:"upper",parameters:[{argumentType:Jr.STRING}]}};
  1196. /**
  1197. * @license
  1198. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1199. */
  1200. class Gl extends $r{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 lr(Vn.DIV_BY_ZERO):Math.atan2(t,e))}cot(e,t){return this.runFunction(e.args,t,this.metadata("COT"),e=>0===e?new lr(Vn.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 lr(Vn.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 lr(Vn.DIV_BY_ZERO):1/Math.tanh(e))}acoth(e,t){return this.runFunction(e.args,t,this.metadata("ACOTH"),e=>0===e?new lr(Vn.NUM,Te.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 lr(Vn.DIV_BY_ZERO):1/Math.sinh(e))}}Gl.implementedFunctions={ACOS:{method:"acos",parameters:[{argumentType:Jr.NUMBER}]},ASIN:{method:"asin",parameters:[{argumentType:Jr.NUMBER}]},COS:{method:"cos",parameters:[{argumentType:Jr.NUMBER}]},SIN:{method:"sin",parameters:[{argumentType:Jr.NUMBER}]},TAN:{method:"tan",parameters:[{argumentType:Jr.NUMBER}]},ATAN:{method:"atan",parameters:[{argumentType:Jr.NUMBER}]},ATAN2:{method:"atan2",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},COT:{method:"cot",parameters:[{argumentType:Jr.NUMBER}]},SEC:{method:"sec",parameters:[{argumentType:Jr.NUMBER}]},CSC:{method:"csc",parameters:[{argumentType:Jr.NUMBER}]},SINH:{method:"sinh",parameters:[{argumentType:Jr.NUMBER}]},COSH:{method:"cosh",parameters:[{argumentType:Jr.NUMBER}]},TANH:{method:"tanh",parameters:[{argumentType:Jr.NUMBER}]},COTH:{method:"coth",parameters:[{argumentType:Jr.NUMBER}]},SECH:{method:"sech",parameters:[{argumentType:Jr.NUMBER}]},CSCH:{method:"csch",parameters:[{argumentType:Jr.NUMBER}]},ACOT:{method:"acot",parameters:[{argumentType:Jr.NUMBER}]},ASINH:{method:"asinh",parameters:[{argumentType:Jr.NUMBER}]},ACOSH:{method:"acosh",parameters:[{argumentType:Jr.NUMBER}]},ATANH:{method:"atanh",parameters:[{argumentType:Jr.NUMBER}]},ACOTH:{method:"acoth",parameters:[{argumentType:Jr.NUMBER}]}};
  1201. /**
  1202. * @license
  1203. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1204. */
  1205. class Zl extends Js{constructor(e){super(e),this.dependencyGraph=e}find(e,t,n){return this.basicFind(e,t,"col",n)}}
  1206. /**
  1207. * @license
  1208. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1209. */class zl extends $r{constructor(){super(...arguments),this.rowSearch=new Zl(this.dependencyGraph)}vlookup(e,t){return this.runFunction(e.args,t,this.metadata("VLOOKUP"),(e,t,n,r)=>{const i=t.range;return void 0===i?new lr(Vn.VALUE,Te.WrongType):n<1?new lr(Vn.VALUE,Te.LessThanOne):n>i.width()?new lr(Vn.REF,Te.IndexLarge):this.doVlookup(kr(e),t,n-1,r)})}hlookup(e,t){return this.runFunction(e.args,t,this.metadata("HLOOKUP"),(e,t,n,r)=>{const i=t.range;return void 0===i?new lr(Vn.VALUE,Te.WrongType):n<1?new lr(Vn.VALUE,Te.LessThanOne):n>i.height()?new lr(Vn.REF,Te.IndexLarge):this.doHlookup(kr(e),t,n-1,r)})}match(e,t){return this.runFunction(e.args,t,this.metadata("MATCH"),(e,t,n)=>this.doMatch(kr(e),t,n))}searchInRange(e,t,n,r){if(!n&&"string"===typeof e&&this.arithmeticHelper.requiresRegex(e))return r.advancedFind(this.arithmeticHelper.eqMatcherFunction(e),t);{const i=n?{ordering:"asc"}:{ordering:"none",matchExactly:!0};return r.find(e,t,i)}}doVlookup(e,t,n,r){this.dependencyGraph.stats.start(Lt.VLOOKUP);const i=t.range;let o;o=void 0===i?Ft.onlyValues(t.data.map(e=>[e[0]])):Ft.onlyRange(Rr.spanFrom(i.start,1,i.height()),this.dependencyGraph);const s=this.searchInRange(e,o,r,this.columnSearch);if(this.dependencyGraph.stats.end(Lt.VLOOKUP),-1===s)return new lr(Vn.NA,Te.ValueNotFound);let a;if(void 0===i)a=t.data[s][n];else{const e=pr(i.sheet,i.start.col+n,i.start.row+s);a=this.dependencyGraph.getCellValue(e)}return a instanceof Ft?new lr(Vn.VALUE,Te.WrongType):a}doHlookup(e,t,n,r){const i=t.range;let o;o=void 0===i?Ft.onlyValues([t.data[0]]):Ft.onlyRange(Rr.spanFrom(i.start,i.width(),1),this.dependencyGraph);const s=this.searchInRange(e,o,r,this.rowSearch);if(-1===s)return new lr(Vn.NA,Te.ValueNotFound);let a;if(void 0===i)a=t.data[n][s];else{const e=pr(i.sheet,i.start.col+s,i.start.row+n);a=this.dependencyGraph.getCellValue(e)}return a instanceof Ft?new lr(Vn.VALUE,Te.WrongType):a}doMatch(e,t,n){if(![-1,0,1].includes(n))return new lr(Vn.VALUE,Te.BadMode);if(t.width()>1&&t.height()>1)return new lr(Vn.NA);const r=1===t.width()?this.columnSearch:this.rowSearch,i=0===n?{ordering:"none",matchExactly:!0}:{ordering:-1===n?"desc":"asc"},o=r.find(e,t,i);return-1===o?new lr(Vn.NA,Te.ValueNotFound):o+1}}zl.implementedFunctions={VLOOKUP:{method:"vlookup",parameters:[{argumentType:Jr.NOERROR},{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.BOOLEAN,defaultValue:!0}]},HLOOKUP:{method:"hlookup",parameters:[{argumentType:Jr.NOERROR},{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.BOOLEAN,defaultValue:!0}]},MATCH:{method:"match",parameters:[{argumentType:Jr.NOERROR},{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER,defaultValue:1}]}};
  1210. /**
  1211. * @license
  1212. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1213. */
  1214. class ql extends $r{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 lr?t:(t=Math.trunc(t),t<0?new lr(Vn.VALUE,Te.ValueSmall):t>4?new lr(Vn.VALUE,Te.ValueLarge):$l(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 lr(Vn.VALUE,Te.InvalidRoman);const n={input:e,acc:0};return Jl(n,{token:"MMM",val:3e3},{token:"MM",val:2e3},{token:"M",val:1e3}),Jl(n,{token:"IM",val:999},{token:"VM",val:995},{token:"XM",val:990},{token:"LM",val:950},{token:"CM",val:900}),Jl(n,{token:"D",val:500},{token:"ID",val:499},{token:"VD",val:495},{token:"XD",val:490},{token:"LD",val:450},{token:"CD",val:400}),Jl(n,{token:"CCC",val:300},{token:"CC",val:200},{token:"C",val:100}),Jl(n,{token:"IC",val:99},{token:"VC",val:95},{token:"XC",val:90}),Jl(n,{token:"L",val:50},{token:"IL",val:49},{token:"VL",val:45},{token:"XL",val:40}),Jl(n,{token:"XXX",val:30},{token:"XX",val:20},{token:"X",val:10}),Jl(n,{token:"IX",val:9}),Jl(n,{token:"V",val:5},{token:"IV",val:4}),Jl(n,{token:"III",val:3},{token:"II",val:2},{token:"I",val:1}),""!==n.input?new lr(Vn.VALUE,Te.InvalidRoman):t?-n.acc:n.acc})}}function Jl(e,...t){for(const n of t)if(e.input.startsWith(n.token)){e.input=e.input.slice(n.token.length),e.acc+=n.val;break}}function $l(e,t){const n={val:e%1e3,acc:"M".repeat(Math.floor(e/1e3))};return 4===t&&(ec(n,"IM",999,1e3),ec(n,"ID",499,500)),t>=3&&(ec(n,"VM",995,1e3),ec(n,"VD",495,500)),t>=2&&(ec(n,"XM",990,1e3),ec(n,"XD",490,500)),t>=1&&(ec(n,"LM",950,1e3),ec(n,"LD",450,500)),ec(n,"CM",900,1e3),ec(n,"CD",400,500),ec(n,"D",500,900),n.acc+="C".repeat(Math.floor(n.val/100)),n.val%=100,t>=2&&(ec(n,"IC",99,100),ec(n,"IL",49,50)),t>=1&&(ec(n,"VC",95,100),ec(n,"VL",45,50)),ec(n,"XC",90,100),ec(n,"XL",40,50),ec(n,"L",50,90),n.acc+="X".repeat(Math.floor(n.val/10)),n.val%=10,ec(n,"IX",9,10),ec(n,"IV",4,5),ec(n,"V",5,9),n.acc+="I".repeat(n.val),n.acc}function ec(e,t,n,r){e.val>=n&&e.val<r&&(e.val-=n,e.acc+=t)}
  1215. /**
  1216. * @license
  1217. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1218. */ql.implementedFunctions={ROMAN:{method:"roman",parameters:[{argumentType:Jr.NUMBER,minValue:1,lessThan:4e3},{argumentType:Jr.NOERROR,optionalArg:!0,defaultValue:0}]},ARABIC:{method:"arabic",parameters:[{argumentType:Jr.STRING}]}};class tc extends $r{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:Jr.NUMBER,passSubtype:!0},{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.CONCAT":{method:"concat",parameters:[{argumentType:Jr.STRING,passSubtype:!0},{argumentType:Jr.STRING,passSubtype:!0}]},"HF.DIVIDE":{method:"divide",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0},{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.EQ":{method:"eq",parameters:[{argumentType:Jr.NOERROR,passSubtype:!0},{argumentType:Jr.NOERROR,passSubtype:!0}]},"HF.GT":{method:"gt",parameters:[{argumentType:Jr.NOERROR,passSubtype:!0},{argumentType:Jr.NOERROR,passSubtype:!0}]},"HF.GTE":{method:"gte",parameters:[{argumentType:Jr.NOERROR,passSubtype:!0},{argumentType:Jr.NOERROR,passSubtype:!0}]},"HF.LT":{method:"lt",parameters:[{argumentType:Jr.NOERROR,passSubtype:!0},{argumentType:Jr.NOERROR,passSubtype:!0}]},"HF.LTE":{method:"lte",parameters:[{argumentType:Jr.NOERROR,passSubtype:!0},{argumentType:Jr.NOERROR,passSubtype:!0}]},"HF.MINUS":{method:"minus",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0},{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.MULTIPLY":{method:"multiply",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0},{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.NE":{method:"ne",parameters:[{argumentType:Jr.NOERROR,passSubtype:!0},{argumentType:Jr.NOERROR,passSubtype:!0}]},"HF.POW":{method:"pow",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0},{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.UMINUS":{method:"uminus",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.UNARY_PERCENT":{method:"upercent",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0}]},"HF.UPLUS":{method:"uplus",parameters:[{argumentType:Jr.NUMBER,passSubtype:!0}]}};
  1219. /**
  1220. * @license
  1221. bessel.js (C) 2013-present SheetJS -- http://sheetjs.com
  1222. Apache License
  1223. Version 2.0, January 2004
  1224. http://www.apache.org/licenses/
  1225. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  1226. 1. Definitions.
  1227. "License" shall mean the terms and conditions for use, reproduction,
  1228. and distribution as defined by Sections 1 through 9 of this document.
  1229. "Licensor" shall mean the copyright owner or entity authorized by
  1230. the copyright owner that is granting the License.
  1231. "Legal Entity" shall mean the union of the acting entity and all
  1232. other entities that control, are controlled by, or are under common
  1233. control with that entity. For the purposes of this definition,
  1234. "control" means (i) the power, direct or indirect, to cause the
  1235. direction or management of such entity, whether by contract or
  1236. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  1237. outstanding shares, or (iii) beneficial ownership of such entity.
  1238. "You" (or "Your") shall mean an individual or Legal Entity
  1239. exercising permissions granted by this License.
  1240. "Source" form shall mean the preferred form for making modifications,
  1241. including but not limited to software source code, documentation
  1242. source, and configuration files.
  1243. "Object" form shall mean any form resulting from mechanical
  1244. transformation or translation of a Source form, including but
  1245. not limited to compiled object code, generated documentation,
  1246. and conversions to other media types.
  1247. "Work" shall mean the work of authorship, whether in Source or
  1248. Object form, made available under the License, as indicated by a
  1249. copyright notice that is included in or attached to the work
  1250. (an example is provided in the Appendix below).
  1251. "Derivative Works" shall mean any work, whether in Source or Object
  1252. form, that is based on (or derived from) the Work and for which the
  1253. editorial revisions, annotations, elaborations, or other modifications
  1254. represent, as a whole, an original work of authorship. For the purposes
  1255. of this License, Derivative Works shall not include works that remain
  1256. separable from, or merely link (or bind by name) to the interfaces of,
  1257. the Work and Derivative Works thereof.
  1258. "Contribution" shall mean any work of authorship, including
  1259. the original version of the Work and any modifications or additions
  1260. to that Work or Derivative Works thereof, that is intentionally
  1261. submitted to Licensor for inclusion in the Work by the copyright owner
  1262. or by an individual or Legal Entity authorized to submit on behalf of
  1263. the copyright owner. For the purposes of this definition, "submitted"
  1264. means any form of electronic, verbal, or written communication sent
  1265. to the Licensor or its representatives, including but not limited to
  1266. communication on electronic mailing lists, source code control systems,
  1267. and issue tracking systems that are managed by, or on behalf of, the
  1268. Licensor for the purpose of discussing and improving the Work, but
  1269. excluding communication that is conspicuously marked or otherwise
  1270. designated in writing by the copyright owner as "Not a Contribution."
  1271. "Contributor" shall mean Licensor and any individual or Legal Entity
  1272. on behalf of whom a Contribution has been received by Licensor and
  1273. subsequently incorporated within the Work.
  1274. 2. Grant of Copyright License. Subject to the terms and conditions of
  1275. this License, each Contributor hereby grants to You a perpetual,
  1276. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  1277. copyright license to reproduce, prepare Derivative Works of,
  1278. publicly display, publicly perform, sublicense, and distribute the
  1279. Work and such Derivative Works in Source or Object form.
  1280. 3. Grant of Patent License. Subject to the terms and conditions of
  1281. this License, each Contributor hereby grants to You a perpetual,
  1282. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  1283. (except as stated in this section) patent license to make, have made,
  1284. use, offer to sell, sell, import, and otherwise transfer the Work,
  1285. where such license applies only to those patent claims licensable
  1286. by such Contributor that are necessarily infringed by their
  1287. Contribution(s) alone or by combination of their Contribution(s)
  1288. with the Work to which such Contribution(s) was submitted. If You
  1289. institute patent litigation against any entity (including a
  1290. cross-claim or counterclaim in a lawsuit) alleging that the Work
  1291. or a Contribution incorporated within the Work constitutes direct
  1292. or contributory patent infringement, then any patent licenses
  1293. granted to You under this License for that Work shall terminate
  1294. as of the date such litigation is filed.
  1295. 4. Redistribution. You may reproduce and distribute copies of the
  1296. Work or Derivative Works thereof in any medium, with or without
  1297. modifications, and in Source or Object form, provided that You
  1298. meet the following conditions:
  1299. (a) You must give any other recipients of the Work or
  1300. Derivative Works a copy of this License; and
  1301. (b) You must cause any modified files to carry prominent notices
  1302. stating that You changed the files; and
  1303. (c) You must retain, in the Source form of any Derivative Works
  1304. that You distribute, all copyright, patent, trademark, and
  1305. attribution notices from the Source form of the Work,
  1306. excluding those notices that do not pertain to any part of
  1307. the Derivative Works; and
  1308. (d) If the Work includes a "NOTICE" text file as part of its
  1309. distribution, then any Derivative Works that You distribute must
  1310. include a readable copy of the attribution notices contained
  1311. within such NOTICE file, excluding those notices that do not
  1312. pertain to any part of the Derivative Works, in at least one
  1313. of the following places: within a NOTICE text file distributed
  1314. as part of the Derivative Works; within the Source form or
  1315. documentation, if provided along with the Derivative Works; or,
  1316. within a display generated by the Derivative Works, if and
  1317. wherever such third-party notices normally appear. The contents
  1318. of the NOTICE file are for informational purposes only and
  1319. do not modify the License. You may add Your own attribution
  1320. notices within Derivative Works that You distribute, alongside
  1321. or as an addendum to the NOTICE text from the Work, provided
  1322. that such additional attribution notices cannot be construed
  1323. as modifying the License.
  1324. You may add Your own copyright statement to Your modifications and
  1325. may provide additional or different license terms and conditions
  1326. for use, reproduction, or distribution of Your modifications, or
  1327. for any such Derivative Works as a whole, provided Your use,
  1328. reproduction, and distribution of the Work otherwise complies with
  1329. the conditions stated in this License.
  1330. 5. Submission of Contributions. Unless You explicitly state otherwise,
  1331. any Contribution intentionally submitted for inclusion in the Work
  1332. by You to the Licensor shall be under the terms and conditions of
  1333. this License, without any additional terms or conditions.
  1334. Notwithstanding the above, nothing herein shall supersede or modify
  1335. the terms of any separate license agreement you may have executed
  1336. with Licensor regarding such Contributions.
  1337. 6. Trademarks. This License does not grant permission to use the trade
  1338. names, trademarks, service marks, or product names of the Licensor,
  1339. except as required for reasonable and customary use in describing the
  1340. origin of the Work and reproducing the content of the NOTICE file.
  1341. 7. Disclaimer of Warranty. Unless required by applicable law or
  1342. agreed to in writing, Licensor provides the Work (and each
  1343. Contributor provides its Contributions) on an "AS IS" BASIS,
  1344. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  1345. implied, including, without limitation, any warranties or conditions
  1346. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  1347. PARTICULAR PURPOSE. You are solely responsible for determining the
  1348. appropriateness of using or redistributing the Work and assume any
  1349. risks associated with Your exercise of permissions under this License.
  1350. 8. Limitation of Liability. In no event and under no legal theory,
  1351. whether in tort (including negligence), contract, or otherwise,
  1352. unless required by applicable law (such as deliberate and grossly
  1353. negligent acts) or agreed to in writing, shall any Contributor be
  1354. liable to You for damages, including any direct, indirect, special,
  1355. incidental, or consequential damages of any character arising as a
  1356. result of this License or out of the use or inability to use the
  1357. Work (including but not limited to damages for loss of goodwill,
  1358. work stoppage, computer failure or malfunction, or any and all
  1359. other commercial damages or losses), even if such Contributor
  1360. has been advised of the possibility of such damages.
  1361. 9. Accepting Warranty or Additional Liability. While redistributing
  1362. the Work or Derivative Works thereof, You may choose to offer,
  1363. and charge a fee for, acceptance of support, warranty, indemnity,
  1364. or other liability obligations and/or rights consistent with this
  1365. License. However, in accepting such obligations, You may act only
  1366. on Your own behalf and on Your sole responsibility, not on behalf
  1367. of any other Contributor, and only if You agree to indemnify,
  1368. defend, and hold each Contributor harmless for any liability
  1369. incurred by, or claims asserted against, such Contributor by reason
  1370. of your accepting any such warranty or additional liability.
  1371. END OF TERMS AND CONDITIONS
  1372. APPENDIX: How to apply the Apache License to your work.
  1373. To apply the Apache License to your work, attach the following
  1374. boilerplate notice, with the fields enclosed by brackets "{}"
  1375. replaced with your own identifying information. (Don't include
  1376. the brackets!) The text should be enclosed in the appropriate
  1377. comment syntax for the file format. We also recommend that a
  1378. file or class name and description of purpose be included on the
  1379. same "printed page" as the copyright notice for easier
  1380. identification within third-party archives.
  1381. Copyright (C) 2013-present SheetJS LLC
  1382. Licensed under the Apache License, Version 2.0 (the "License");
  1383. you may not use this file except in compliance with the License.
  1384. You may obtain a copy of the License at
  1385. http://www.apache.org/licenses/LICENSE-2.0
  1386. Unless required by applicable law or agreed to in writing, software
  1387. distributed under the License is distributed on an "AS IS" BASIS,
  1388. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1389. See the License for the specific language governing permissions and
  1390. limitations under the License.
  1391. */
  1392. var nc=Math;function rc(e,t){for(var n=0,r=0;n<e.length;++n)r=t*r+e[n];return r}function ic(e,t,n,r,i){if(0===t)return n;if(1===t)return r;for(var o=2/e,s=r,a=1;a<t;++a)s=r*a*o+i*n,n=r,r=s;return s}function oc(e,t,n,r,i){return function(n,o){if(r){if(0===n)return 1==r?-1/0:1/0;if(n<0)return NaN}if(0===o)return e(n);if(1===o)return t(n);if(o<0)return NaN;o|=0;var s=e(n),a=t(n);return ic(n,o,s,a,i)}}var sc=function(){var e=.636619772,t=[57568490574,-13362590354,651619640.7,-11214424.18,77392.33017,-184.9052456].reverse(),n=[57568490411,1029532985,9494680.718,59272.64853,267.8532712,1].reverse(),r=[1,-.001098628627,2734510407e-14,-2073370639e-15,2.093887211e-7].reverse(),i=[-.01562499995,.0001430488765,-6911147651e-15,7.621095161e-7,-9.34935152e-8].reverse();function o(o){var s=0,a=0,l=0,c=o*o;if(o<8)a=rc(t,c),l=rc(n,c),s=a/l;else{var u=o-.785398164;c=64/c,a=rc(r,c),l=rc(i,c),s=nc.sqrt(e/o)*(nc.cos(u)*a-nc.sin(u)*l*8/o)}return s}var s=[72362614232,-7895059235,242396853.1,-2972611.439,15704.4826,-30.16036606].reverse(),a=[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 n=0,r=0,i=0,o=t*t,u=nc.abs(t)-2.356194491;return Math.abs(t)<8?(r=t*rc(s,o),i=rc(a,o),n=r/i):(o=64/o,r=rc(l,o),i=rc(c,o),n=nc.sqrt(e/nc.abs(t))*(nc.cos(u)*r-nc.sin(u)*i*8/nc.abs(t)),t<0&&(n=-n)),n}return function e(t,n){if(n=Math.round(n),!isFinite(t))return isNaN(t)?t:0;if(n<0)return(n%2?-1:1)*e(t,-n);if(t<0)return(n%2?-1:1)*e(-t,n);if(0===n)return o(t);if(1===n)return u(t);if(0===t)return 0;var r=0;if(t>n)r=ic(t,n,o(t),u(t),-1);else{for(var i=2*nc.floor((n+nc.floor(nc.sqrt(40*n)))/2),s=!1,a=0,l=0,c=1,d=0,h=2/t,p=i;p>0;p--)d=p*h*c-a,a=c,c=d,nc.abs(c)>1e10&&(c*=1e-10,a*=1e-10,r*=1e-10,l*=1e-10),s&&(l+=c),s=!s,p==n&&(r=a);l=2*l-c,r/=l}return r}}(),ac=function(){var e=.636619772,t=[-2957821389,7062834065,-512359803.6,10879881.29,-86327.92757,228.4622733].reverse(),n=[40076544269,745249964.8,7189466.438,47447.2647,226.1030244,1].reverse(),r=[1,-.001098628627,2734510407e-14,-2073370639e-15,2.093887211e-7].reverse(),i=[-.01562499995,.0001430488765,-6911147651e-15,7.621095161e-7,-9.34945152e-8].reverse();function o(o){var s=0,a=0,l=0,c=o*o,u=o-.785398164;return o<8?(a=rc(t,c),l=rc(n,c),s=a/l+e*sc(o,0)*nc.log(o)):(c=64/c,a=rc(r,c),l=rc(i,c),s=nc.sqrt(e/o)*(nc.sin(u)*a+nc.cos(u)*l*8/o)),s}var s=[-4900604943e3,127527439e4,-51534381390,734926455.1,-4237922.726,8511.937935].reverse(),a=[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 n=0,r=0,i=0,o=t*t,u=t-2.356194491;return t<8?(r=t*rc(s,o),i=rc(a,o),n=r/i+e*(sc(t,1)*nc.log(t)-1/t)):(o=64/o,r=rc(l,o),i=rc(c,o),n=nc.sqrt(e/t)*(nc.sin(u)*r+nc.cos(u)*i*8/t)),n}return oc(o,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 n(n){return n<=3.75?rc(e,n*n/14.0625):nc.exp(nc.abs(n))/nc.sqrt(nc.abs(n))*rc(t,3.75/nc.abs(n))}var r=[.5,.87890594,.51498869,.15084934,.02658733,.00301532,32411e-8].reverse(),i=[.39894228,-.03988024,-.00362018,.00163801,-.01031555,.02282967,-.02895312,.01787654,-.00420059].reverse();function o(e){return e<3.75?e*rc(r,e*e/14.0625):(e<0?-1:1)*nc.exp(nc.abs(e))/nc.sqrt(nc.abs(e))*rc(i,3.75/nc.abs(e))}return function e(t,r){if(r=Math.round(r),0===r)return n(t);if(1===r)return o(t);if(r<0)return NaN;if(0===nc.abs(t))return 0;if(t==1/0)return 1/0;var i,s=0,a=2/nc.abs(t),l=0,c=1,u=0,d=2*nc.round((r+nc.round(nc.sqrt(40*r)))/2);for(i=d;i>0;i--)u=i*a*c+l,l=c,c=u,nc.abs(c)>1e10&&(c*=1e-10,l*=1e-10,s*=1e-10),i==r&&(s=l);return s*=e(t,0)/c,t<0&&r%2?-s:s}}(),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 n(n){return n<=2?-nc.log(n/2)*lc(n,0)+rc(e,n*n/4):nc.exp(-n)/nc.sqrt(n)*rc(t,2/n)}var r=[1,.15443144,-.67278579,-.18156897,-.01919402,-.00110404,-4686e-8].reverse(),i=[1.25331414,.23498619,-.0365562,.01504268,-.00780353,.00325614,-68245e-8].reverse();function o(e){return e<=2?nc.log(e/2)*lc(e,1)+1/e*rc(r,e*e/4):nc.exp(-e)/nc.sqrt(e)*rc(i,2/e)}return oc(n,o,"BESSELK",2,1)}();
  1393. /**
  1394. * @license
  1395. Copyright (c) 2013 jStat
  1396. Permission is hereby granted, free of charge, to any person obtaining a copy
  1397. of this software and associated documentation files (the "Software"), to deal
  1398. in the Software without restriction, including without limitation the rights
  1399. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1400. copies of the Software, and to permit persons to whom the Software is
  1401. furnished to do so, subject to the following conditions:
  1402. The above copyright notice and this permission notice shall be included in
  1403. all copies or substantial portions of the Software.
  1404. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1405. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1406. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1407. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1408. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1409. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  1410. THE SOFTWARE.
  1411. */
  1412. 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 n,r,i,o,s=t.length-1,a=!1,l=0,c=0;if(0===e)return 0;for(e<0&&(e=-e,a=!0),n=2/(2+e),r=4*n-2;s>0;s--)i=l,l=r*l-c+t[s],c=i;return o=n*Math.exp(-e*e+.5*(t[0]+r*l)-c),a?o-1:1-o}function dc(e){return 1-uc(e)}function hc(e){let t,n,r,i,o=0;if(e>=2)return-100;if(e<=0)return 100;for(i=e<1?e:2-e,r=Math.sqrt(-2*Math.log(i/2)),t=-.70711*((2.30753+.27061*r)/(1+r*(.99229+.04481*r))-r);o<2;o++)n=dc(t)-i,t+=n/(1.1283791670955126*Math.exp(-t*t)-t*n);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],n=[-30.8402300119739,315.35062697960416,-1015.1563674902192,-3107.771671572311,22538.11842098015,4755.846277527881,-134659.9598649693,-115132.2596755535];let r,i,o,s,a=!1,l=0,c=0,u=0,d=e;if(e>171.6243769536076)return 1/0;if(d<=0){if(s=d%1,!s)return 1/0;a=(1&d?-1:1)*Math.PI/Math.sin(Math.PI*s),d=1-d}for(o=d,i=d<1?d++:(d-=l=(0|d)-1)-1,r=0;r<8;++r)u=(u+t[r])*i,c=c*i+n[r];if(s=u/c+1,o<d)s/=o;else if(o>d)for(r=0;r<l;++r)s*=d,d++;return a&&(s=a/s),s}const mc={pdf:function(e,t,n){return e<0?0:0===e&&1===t?1/n:Math.exp((t-1)*Math.log(e)-e/n-Ac(t)-t*Math.log(n))},cdf:function(e,t,n){return e<0?0:gc(t,e/n)},inv:function(e,t,n){return _c(e,t)*n}};function Ac(e){let t=0;const n=[76.18009172947146,-86.50532032941678,24.01409824083091,-1.231739572450155,.001208650973866179,-5395239384953e-18];let r,i,o,s=1.000000000190015;for(o=(i=r=e)+5.5,o-=(r+.5)*Math.log(o);t<6;t++)s+=n[t]/++i;return Math.log(2.5066282746310007*s/r)-o}function gc(e,t){const n=Ac(e);let r=e,i=1/e,o=i,s=t+1-e,a=1/1e-30,l=1/s,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+=o*=t/++r;return i*Math.exp(-t+e*Math.log(t)-n)}for(;u<=d;u++)h=-u*(u-e),s+=2,l=h*l+s,a=s+h/a,l=1/l,c*=l*a;return 1-c*Math.exp(-t+e*Math.log(t)-n)}function _c(e,t){let n=0;const r=t-1,i=1e-8,o=Ac(t);let s,a,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(r),h=Math.exp(r*(d-1)-o),u=e<.5?e:1-e,l=Math.sqrt(-2*Math.log(u)),s=(2.30753+.27061*l)/(1+l*(.99229+.04481*l))-l,e<.5&&(s=-s),s=Math.max(.001,t*Math.pow(1-1/(9*t)-s/(3*Math.sqrt(t)),3))):(l=1-t*(.253+.12*t),s=e<l?Math.pow(e/l,1/t):1-Math.log(1-(e-l)/(1-l)));n<12;n++){if(s<=0)return 0;if(a=gc(t,s)-e,l=t>1?h*Math.exp(-(s-r)+r*(Math.log(s)-d)):Math.exp(-s+r*Math.log(s)-o),c=a/l,s-=l=c/(1-.5*Math.min(1,c*((t-1)/s-1))),s<=0&&(s=.5*(s+l)),Math.abs(l)<i*s)break}return s}const bc={pdf:function(e,t,n){return Math.exp(-.5*Math.log(2*Math.PI)-Math.log(n)-Math.pow(e-t,2)/(2*n*n))},cdf:function(e,t,n){return.5*(1+uc((e-t)/Math.sqrt(2*n*n)))},inv:function(e,t,n){return-1.4142135623730951*n*hc(2*e)+t}},vc={pdf:function(e,t,n){return e>1||e<0?0:1==t&&1==n?1:t<512&&n<512?Math.pow(e,t-1)*Math.pow(1-e,n-1)/wc(t,n):Math.exp((t-1)*Math.log(e)+(n-1)*Math.log(1-e)-yc(t,n))},cdf:function(e,t,n){return e>1||e<0?+(e>1):Mc(e,t,n)},inv:function(e,t,n){return Rc(e,t,n)}};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 Rc(e,t,n){var r,i,o,s,a,l,c,u,d,h,p,f=1e-8,m=t-1,A=n-1,g=0;if(e<=0)return 0;if(e>=1)return 1;for(t>=1&&n>=1?(o=e<.5?e:1-e,s=Math.sqrt(-2*Math.log(o)),c=(2.30753+.27061*s)/(1+s*(.99229+.04481*s))-s,e<.5&&(c=-c),u=(c*c-3)/6,d=2/(1/(2*t-1)+1/(2*n-1)),h=c*Math.sqrt(u+d)/d-(1/(2*n-1)-1/(2*t-1))*(u+5/6-2/(3*d)),c=t/(t+n*Math.exp(2*h))):(r=Math.log(t/(t+n)),i=Math.log(n/(t+n)),s=Math.exp(t*r)/t,a=Math.exp(n*i)/n,h=s+a,c=e<s/h?Math.pow(t*h*e,1/t):1-Math.pow(n*h*(1-e),1/n)),p=-Ac(t)-Ac(n)+Ac(t+n);g<10;g++){if(0===c||1===c)return c;if(l=Mc(c,t,n)-e,s=Math.exp(m*Math.log(c)+A*Math.log(1-c)+p),a=l/s,c-=s=a/(1-.5*Math.min(1,a*(m/c-A/(1-c)))),c<=0&&(c=.5*(c+s)),c>=1&&(c=.5*(c+s+1)),Math.abs(s)<f*c&&g>0)break}return c}function Mc(e,t,n){var r=0===e||1===e?0:Math.exp(Ac(t+n)-Ac(t)-Ac(n)+t*Math.log(e)+n*Math.log(1-e));return!(e<0||e>1)&&(e<(t+1)/(t+n+2)?r*Sc(e,t,n)/t:1-r*Sc(1-e,n,t)/n)}function Sc(e,t,n){var r,i,o,s,a=1e-30,l=1,c=t+n,u=t+1,d=t-1,h=1,p=1-c*e/u;for(Math.abs(p)<a&&(p=a),p=1/p,s=p;l<=100;l++)if(r=2*l,i=l*(n-l)*e/((d+r)*(t+r)),p=1+i*p,Math.abs(p)<a&&(p=a),h=1+i/h,Math.abs(h)<a&&(h=a),p=1/p,s*=p*h,i=-(t+l)*(c+l)*e/((t+r)*(u+r)),p=1+i*p,Math.abs(p)<a&&(p=a),h=1+i/h,Math.abs(h)<a&&(h=a),p=1/p,o=p*h,s*=o,Math.abs(o-1)<3e-7)break;return s}const Ec={pdf:function(e,t,n){return 0===n||1===n?t*n===e?1:0:Cc(t,e)*Math.pow(n,e)*Math.pow(1-n,t-e)},cdf:function(e,t,n){var r,i=1e-10;if(e<0)return 0;if(e>=t)return 1;if(n<0||n>1||t<=0)return NaN;e=Math.floor(e);var o=n,s=e+1,a=t-e,l=s+a,c=Math.exp(Ac(l)-Ac(a)-Ac(s)+s*Math.log(o)+a*Math.log(1-o));return r=o<(s+1)/(l+2)?c*Tc(o,s,a,i):1-c*Tc(1-o,a,s,i),Math.round(1/i*(1-r))/(1/i)}};function Tc(e,t,n,r){var i,o=0,s=1,a=1,l=1,c=0,u=0;while(Math.abs((a-u)/a)>r)u=a,i=-(t+c)*(t+n+c)*e/(t+2*c)/(t+2*c+1),o=a+i*o,s=l+i*s,c+=1,i=c*(n-c)*e/(t+2*c-1)/(t+2*c),a=o+i*a,l=s+i*l,o/=l,s/=l,a/=l,l=1;return a/t}function Cc(e,t){return e>170||t>170?Math.exp(Oc(e,t)):Nc(e)/Nc(t)/Nc(e-t)}function Oc(e,t){return xc(e)-xc(t)-xc(e-t)}function xc(e){return e<0?NaN:Ac(e+1)}function Nc(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,n){var r,i,o;return e<0?0:t<=2?0===e&&t<2?1/0:0===e&&2===t?1:1/wc(t/2,n/2)*Math.pow(t/n,t/2)*Math.pow(e,t/2-1)*Math.pow(1+t/n*e,-(t+n)/2):(r=t*e/(n+e*t),i=n/(n+e*t),o=t*i/2,o*Ec.pdf((t-2)/2,(t+n-2)/2,r))},cdf:function(e,t,n){return e<0?0:Mc(t*e/(t*e+n),t/2,n/2)},inv:function(e,t,n){return n/(t*(1/Rc(e,t/2,n/2)-1))}},Pc={pdf:function(e,t,n){return e<0||t<0||n<0?0:n/t*Math.pow(e/t,n-1)*Math.exp(-Math.pow(e/t,n))},cdf:function(e,t,n){return e<0?0:1-Math.exp(-Math.pow(e/t,n))}},Dc={pdf:function(e,t){return t<0||e%1!==0||e<0?0:Math.pow(t,e)*Math.exp(-t)/Nc(e)},cdf:function(e,t){var n=0;if(e<0)return 0;for(var r=0;n<=e;n++)r+=Dc.pdf(n,t);return r}},Fc={pdf:function(e,t,n,r){if(e<0||e<n-(t-r))return 0;if(e>r||e>n)return 0;if(2*n>t)return 2*r>t?Fc.pdf(t-n-r+e,t,t-n,t-r):Fc.pdf(r-e,t,t-n,r);if(2*r>t)return Fc.pdf(n-e,t,n,t-r);if(n<r)return Fc.pdf(e,t,r,n);for(var i=1,o=0,s=0;s<e;s++){while(i>1&&o<r)i*=1-n/(t-o),o++;i*=(r-s)*(n-s)/((s+1)*(t-n-r+s+1))}for(;o<r;o++)i*=1-n/(t-o);return Math.min(1,Math.max(0,i))},cdf:function e(t,n,r,i){if(t<0||t<r-(n-i))return 0;if(t>=i||t>=r)return 1;if(2*r>n)return 2*i>n?e(n-r-i+t,n,n-r,n-i):1-Fc.cdf(i-t-1,n,n-r,i);if(2*i>n)return 1-Fc.cdf(r-t-1,n,r,n-i);if(r<i)return Fc.cdf(t,n,i,r);for(var o=1,s=1,a=0,l=0;l<t;l++){while(o>1&&a<i){var c=1-r/(n-a);s*=c,o*=c,a++}s*=(i-l)*(r-l)/((l+1)*(n-r-i+l+1)),o+=s}for(;a<i;a++)o*=1-r/(n-a);return Math.min(1,Math.max(0,o))}},kc={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 n=t/2;return Mc((e+Math.sqrt(e*e+t))/(2*Math.sqrt(e*e+t)),n,n)},inv:function(e,t){var n=Rc(2*Math.min(e,1-e),.5*t,.5);return n=Math.sqrt(t*(1-n)/n),e>.5?n:-n}},Bc={pdf:function(e,t,n){return e<=0?0:Math.exp(-Math.log(e)-.5*Math.log(2*Math.PI)-Math.log(n)-Math.pow(Math.log(e)-t,2)/(2*n*n))},cdf:function(e,t,n){return e<0?0:.5+.5*uc((Math.log(e)-t)/Math.sqrt(2*n*n))},inv:function(e,t,n){return Math.exp(-1.4142135623730951*n*hc(2*e)+t)}},Uc={pdf:function(e,t,n){return e===e>>>0&&(e<0?0:Cc(e+t-1,t-1)*Math.pow(1-n,e)*Math.pow(n,t))},cdf:function(e,t,n){var r=0,i=0;if(e<0)return 0;for(;i<=e;i++)r+=Uc.pdf(i,t,n);return r}};function Hc(e){var t=0,n=e.length;while(--n>=0)t+=e[n];return t}function jc(e){return Hc(e)/e.length}function Vc(e){var t,n=jc(e),r=0,i=e.length;while(--i>=0)t=e[i]-n,r+=t*t;return r}function Wc(e,t){return Vc(e)/(e.length-(t?1:0))}function Yc(e,t){return Math.sqrt(Wc(e,t))}function Qc(){var e,t=[].slice.call(arguments),n=new Array(2);return e=4===t.length?Math.abs(bc.inv(t[1]/2,0,1)*t[2]/Math.sqrt(t[3])):Math.abs(bc.inv(t[1]/2,0,1)*Yc(t[2])/Math.sqrt(t[2].length)),n[0]=t[0]-e,n[1]=t[0]+e,n}function Xc(){var e,t=[].slice.call(arguments),n=new Array(2);return e=4===t.length?Math.abs(kc.inv(t[1]/2,t[3]-1)*t[2]/Math.sqrt(t[3])):Math.abs(kc.inv(t[1]/2,t[2].length-1)*Yc(t[2],!0)/Math.sqrt(t[2].length)),n[0]=t[0]-e,n[1]=t[0]+e,n}function Kc(e){var t=1,n=e.length;while(--n>=0)t*=e[n];return t}function Gc(e){return Math.pow(Kc(e),1/e.length)}function Zc(e,t){var n,r=jc(e),i=jc(t),o=e.length,s=new Array(o);for(n=0;n<o;n++)s[n]=(e[n]-r)*(t[n]-i);return Hc(s)/(o-1)}function zc(e,t){return Zc(e,t)/Yc(e,1)/Yc(t,1)}
  1413. /**
  1414. * @license
  1415. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1416. */class qc extends $r{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,n)=>n?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,n,r)=>r?mc.cdf(e,t,n):mc.pdf(e,t,n))}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=>bc.cdf(e,0,1)-.5)}betadist(e,t){return this.runFunction(e.args,t,this.metadata("BETA.DIST"),(e,t,n,r,i,o)=>e<=i?new lr(Vn.NUM,Te.ValueSmall):e>=o?new lr(Vn.NUM,Te.ValueLarge):(e=(e-i)/(o-i),r?vc.cdf(e,t,n):vc.pdf(e,t,n)))}betainv(e,t){return this.runFunction(e.args,t,this.metadata("BETA.INV"),(e,t,n,r,i)=>r>=i?new lr(Vn.NUM,Te.WrongOrder):vc.inv(e,t,n)*(i-r)+r)}binomialdist(e,t){return this.runFunction(e.args,t,this.metadata("BINOM.DIST"),(e,t,n,r)=>e>t?new lr(Vn.NUM,Te.WrongOrder):(e=Math.trunc(e),t=Math.trunc(t),r?Ec.cdf(e,t,n):Ec.pdf(e,t,n)))}binomialinv(e,t){return this.runFunction(e.args,t,this.metadata("BINOM.INV"),(e,t,n)=>{e=Math.trunc(e);let r=-1,i=e;while(i>r+1){const o=Math.trunc((r+i)/2);Ec.cdf(o,e,t)>=n?i=o:r=o}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)=>sc(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)=>ac(e,Math.trunc(t)))}chisqdist(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.DIST"),(e,t,n)=>(t=Math.trunc(t),n?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,n,r)=>(t=Math.trunc(t),n=Math.trunc(n),r?Ic.cdf(e,t,n):Ic.pdf(e,t,n)))}fdistrt(e,t){return this.runFunction(e.args,t,this.metadata("F.DIST.RT"),(e,t,n)=>1-Ic.cdf(e,Math.trunc(t),Math.trunc(n)))}finv(e,t){return this.runFunction(e.args,t,this.metadata("F.INV"),(e,t,n)=>Ic.inv(e,Math.trunc(t),Math.trunc(n)))}finvrt(e,t){return this.runFunction(e.args,t,this.metadata("F.INV.RT"),(e,t,n)=>Ic.inv(1-e,Math.trunc(t),Math.trunc(n)))}weibulldist(e,t){return this.runFunction(e.args,t,this.metadata("WEIBULL.DIST"),(e,t,n,r)=>r?Pc.cdf(e,n,t):Pc.pdf(e,n,t))}poissondist(e,t){return this.runFunction(e.args,t,this.metadata("POISSON.DIST"),(e,t,n)=>(e=Math.trunc(e),n?Dc.cdf(e,t):Dc.pdf(e,t)))}hypgeomdist(e,t){return this.runFunction(e.args,t,this.metadata("HYPGEOM.DIST"),(e,t,n,r,i)=>e>t||e>n||t>r||n>r||e+r<n+t?new lr(Vn.NUM,Te.ValueLarge):(e=Math.trunc(e),t=Math.trunc(t),n=Math.trunc(n),r=Math.trunc(r),i?Fc.cdf(e,r,n,t):Fc.pdf(e,r,n,t)))}tdist(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST"),(e,t,n)=>(t=Math.trunc(t),n?kc.cdf(e,t):kc.pdf(e,t)))}tdist2t(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST.2T"),(e,t)=>2*(1-kc.cdf(e,Math.trunc(t))))}tdistrt(e,t){return this.runFunction(e.args,t,this.metadata("T.DIST.RT"),(e,t)=>1-kc.cdf(e,Math.trunc(t)))}tdistold(e,t){return this.runFunction(e.args,t,this.metadata("TDIST"),(e,t,n)=>n*(1-kc.cdf(e,Math.trunc(t))))}tinv(e,t){return this.runFunction(e.args,t,this.metadata("T.INV"),(e,t)=>kc.inv(e,Math.trunc(t)))}tinv2t(e,t){return this.runFunction(e.args,t,this.metadata("T.INV.2T"),(e,t)=>kc.inv(1-e/2,Math.trunc(t)))}lognormdist(e,t){return this.runFunction(e.args,t,this.metadata("LOGNORM.DIST"),(e,t,n,r)=>r?Bc.cdf(e,t,n):Bc.pdf(e,t,n))}lognorminv(e,t){return this.runFunction(e.args,t,this.metadata("LOGNORM.INV"),(e,t,n)=>Bc.inv(e,t,n))}normdist(e,t){return this.runFunction(e.args,t,this.metadata("NORM.DIST"),(e,t,n,r)=>r?bc.cdf(e,t,n):bc.pdf(e,t,n))}norminv(e,t){return this.runFunction(e.args,t,this.metadata("NORM.INV"),(e,t,n)=>bc.inv(e,t,n))}normsdist(e,t){return this.runFunction(e.args,t,this.metadata("NORM.S.DIST"),(e,t)=>t?bc.cdf(e,0,1):bc.pdf(e,0,1))}normsinv(e,t){return this.runFunction(e.args,t,this.metadata("NORM.S.INV"),e=>bc.inv(e,0,1))}phi(e,t){return this.runFunction(e.args,t,this.metadata("PHI"),e=>bc.pdf(e,0,1))}negbinomdist(e,t){return this.runFunction(e.args,t,this.metadata("NEGBINOM.DIST"),(e,t,n,r)=>(e=Math.trunc(e),t=Math.trunc(t),r?Uc.cdf(e,t,n):Uc.pdf(e,t,n)))}confidencenorm(e,t){return this.runFunction(e.args,t,this.metadata("CONFIDENCE.NORM"),(e,t,n)=>Qc(1,e,t,Math.trunc(n))[1]-1)}confidencet(e,t){return this.runFunction(e.args,t,this.metadata("CONFIDENCE.T"),(e,t,n)=>(n=Math.trunc(n),1===n?new lr(Vn.DIV_BY_ZERO):Xc(1,e,t,n)[1]-1))}standardize(e,t){return this.runFunction(e.args,t,this.metadata("STANDARDIZE"),(e,t,n)=>(e-t)/n)}}qc.implementedFunctions={ERF:{method:"erf",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0}]},ERFC:{method:"erfc",parameters:[{argumentType:Jr.NUMBER}]},"EXPON.DIST":{method:"expondist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN}]},FISHER:{method:"fisher",parameters:[{argumentType:Jr.NUMBER,greaterThan:-1,lessThan:1}]},FISHERINV:{method:"fisherinv",parameters:[{argumentType:Jr.NUMBER}]},GAMMA:{method:"gamma",parameters:[{argumentType:Jr.NUMBER}]},"GAMMA.DIST":{method:"gammadist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN}]},GAMMALN:{method:"gammaln",parameters:[{argumentType:Jr.NUMBER,greaterThan:0}]},"GAMMA.INV":{method:"gammainv",parameters:[{argumentType:Jr.NUMBER,minValue:0,lessThan:1},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0}]},GAUSS:{method:"gauss",parameters:[{argumentType:Jr.NUMBER}]},"BETA.DIST":{method:"betadist",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:1}]},"BETA.INV":{method:"betainv",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,maxValue:1},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,defaultValue:0},{argumentType:Jr.NUMBER,defaultValue:1}]},"BINOM.DIST":{method:"binomialdist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.BOOLEAN}]},"BINOM.INV":{method:"binomialinv",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1}]},BESSELI:{method:"besselifn",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:0}]},BESSELJ:{method:"besseljfn",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:0}]},BESSELK:{method:"besselkfn",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:0}]},BESSELY:{method:"besselyfn",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:0}]},"CHISQ.DIST":{method:"chisqdist",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:1,maxValue:1e10},{argumentType:Jr.BOOLEAN}]},"CHISQ.DIST.RT":{method:"chisqdistrt",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:1,maxValue:1e10}]},"CHISQ.INV":{method:"chisqinv",parameters:[{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.NUMBER,minValue:1,maxValue:1e10}]},"CHISQ.INV.RT":{method:"chisqinvrt",parameters:[{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.NUMBER,minValue:1}]},"F.DIST":{method:"fdist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.BOOLEAN}]},"F.DIST.RT":{method:"fdistrt",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.NUMBER,minValue:1}]},"F.INV":{method:"finv",parameters:[{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.NUMBER,minValue:1}]},"F.INV.RT":{method:"finvrt",parameters:[{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.NUMBER,minValue:1}]},"WEIBULL.DIST":{method:"weibulldist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN}]},"POISSON.DIST":{method:"poissondist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.BOOLEAN}]},"HYPGEOM.DIST":{method:"hypgeomdist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN}]},"T.DIST":{method:"tdist",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.BOOLEAN}]},"T.DIST.2T":{method:"tdist2t",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1}]},"T.DIST.RT":{method:"tdistrt",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,minValue:1}]},TDIST:{method:"tdistold",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.INTEGER,minValue:1,maxValue:2}]},"T.INV":{method:"tinv",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jr.NUMBER,minValue:1}]},"T.INV.2T":{method:"tinv2t",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,maxValue:1},{argumentType:Jr.NUMBER,minValue:1}]},"LOGNORM.DIST":{method:"lognormdist",parameters:[{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN}]},"LOGNORM.INV":{method:"lognorminv",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0}]},"NORM.DIST":{method:"normdist",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.BOOLEAN}]},"NORM.INV":{method:"norminv",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0}]},"NORM.S.DIST":{method:"normsdist",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.BOOLEAN}]},"NORM.S.INV":{method:"normsinv",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1}]},PHI:{method:"phi",parameters:[{argumentType:Jr.NUMBER}]},"NEGBINOM.DIST":{method:"negbinomdist",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:1},{argumentType:Jr.NUMBER,minValue:0,maxValue:1},{argumentType:Jr.BOOLEAN}]},"CONFIDENCE.NORM":{method:"confidencenorm",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,minValue:1}]},"CONFIDENCE.T":{method:"confidencet",parameters:[{argumentType:Jr.NUMBER,greaterThan:0,lessThan:1},{argumentType:Jr.NUMBER,greaterThan:0},{argumentType:Jr.NUMBER,minValue:1}]},STANDARDIZE:{method:"standardize",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,greaterThan:0}]}},qc.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"};
  1417. /**
  1418. * @license
  1419. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1420. */
  1421. class Jc extends $r{fact(e,t){return this.runFunction(e.args,t,this.metadata("FACT"),e=>{e=Math.trunc(e);let t=1;for(let n=1;n<=e;n++)t*=n;return t})}factdouble(e,t){return this.runFunction(e.args,t,this.metadata("FACTDOUBLE"),e=>{e=Math.trunc(e);let t=1;for(let n=e;n>=1;n-=2)t*=n;return t})}combin(e,t){return this.runFunction(e.args,t,this.metadata("COMBIN"),(e,t)=>t>e?new lr(Vn.NUM,Te.WrongOrder):(e=Math.trunc(e),t=Math.trunc(t),$c(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 lr(Vn.NUM,Te.ValueLarge):0===e&&0===t?1:$c(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 lr)return t;let n=0;for(const r of t){if(r<0)return new lr(Vn.NUM,Te.ValueSmall);n=eu(n,Math.trunc(r))}return n>Number.MAX_SAFE_INTEGER?new lr(Vn.NUM,Te.ValueLarge):n})}lcm(e,t){return this.runFunction(e.args,t,this.metadata("LCM"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersCoerceRangesDropNulls(e);if(t instanceof lr)return t;let n=1;for(const r of t){if(r<0)return new lr(Vn.NUM,Te.ValueSmall);n=tu(n,Math.trunc(r))}return n>Number.MAX_SAFE_INTEGER?new lr(Vn.NUM,Te.ValueLarge):n})}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 lr(Vn.NUM,Te.DistinctSigns):Math.round(e/t)*t)}multinomial(e,t){return this.runFunction(e.args,t,this.metadata("MULTINOMIAL"),(...e)=>{let t=0,n=1;for(let r of e){if(r<0)return new lr(Vn.NUM,Te.ValueSmall);r=Math.trunc(r);for(let e=1;e<=r;e++)n*=(t+e)/e;t+=r}return Math.round(n)})}quotient(e,t){return this.runFunction(e.args,t,this.metadata("QUOTIENT"),(e,t)=>0===t?new lr(Vn.DIV_BY_ZERO):Math.trunc(e/t))}seriessum(e,t){return this.runFunction(e.args,t,this.metadata("SERIESSUM"),(e,t,n,r)=>{const i=this.arithmeticHelper.manyToOnlyNumbersDropNulls(r.valuesFromTopLeftCorner());if(i instanceof lr)return i;let o=0;i.reverse();for(const s of i)o*=Math.pow(e,n),o+=s;return o*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 n=e.valuesFromTopLeftCorner(),r=t.valuesFromTopLeftCorner();if(n.length!==r.length)return new lr(Vn.NA,Te.EqualLength);const i=n.length;let o=0;for(let s=0;s<i;s++){const e=n[s],t=r[s];if(e instanceof lr)return e;if(t instanceof lr)return t;"number"===typeof e&&"number"===typeof t&&(o+=Math.pow(e,2)-Math.pow(t,2))}return o})}sumx2py2(e,t){return this.runFunction(e.args,t,this.metadata("SUMX2PY2"),(e,t)=>{const n=e.valuesFromTopLeftCorner(),r=t.valuesFromTopLeftCorner();if(n.length!==r.length)return new lr(Vn.NA,Te.EqualLength);const i=n.length;let o=0;for(let s=0;s<i;s++){const e=n[s],t=r[s];if(e instanceof lr)return e;if(t instanceof lr)return t;"number"===typeof e&&"number"===typeof t&&(o+=Math.pow(e,2)+Math.pow(t,2))}return o})}sumxmy2(e,t){return this.runFunction(e.args,t,this.metadata("SUMXMY2"),(e,t)=>{const n=e.valuesFromTopLeftCorner(),r=t.valuesFromTopLeftCorner();if(n.length!==r.length)return new lr(Vn.NA,Te.EqualLength);const i=n.length;let o=0;for(let s=0;s<i;s++){const e=n[s],t=r[s];if(e instanceof lr)return e;if(t instanceof lr)return t;"number"===typeof e&&"number"===typeof t&&(o+=Math.pow(e-t,2))}return o})}}function $c(e,t){2*t>e&&(t=e-t);let n=1;for(let r=1;r<=t;r++)n*=(e-t+r)/r;return Math.round(n)}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))}
  1422. /**
  1423. * @license
  1424. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1425. */Jc.implementedFunctions={FACT:{method:"fact",parameters:[{argumentType:Jr.NUMBER,minValue:0,maxValue:170}]},FACTDOUBLE:{method:"factdouble",parameters:[{argumentType:Jr.NUMBER,minValue:0,maxValue:288}]},COMBIN:{method:"combin",parameters:[{argumentType:Jr.NUMBER,minValue:0,lessThan:1030},{argumentType:Jr.NUMBER,minValue:0}]},COMBINA:{method:"combina",parameters:[{argumentType:Jr.NUMBER,minValue:0},{argumentType:Jr.NUMBER,minValue:0}]},GCD:{method:"gcd",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},LCM:{method:"lcm",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},MROUND:{method:"mround",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},MULTINOMIAL:{method:"multinomial",parameters:[{argumentType:Jr.NUMBER}],repeatLastArgs:1,expandRanges:!0},QUOTIENT:{method:"quotient",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER}]},SERIESSUM:{method:"seriessum",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.RANGE}]},SIGN:{method:"sign",parameters:[{argumentType:Jr.NUMBER}]},SUMX2MY2:{method:"sumx2my2",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},SUMX2PY2:{method:"sumx2py2",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},SUMXMY2:{method:"sumxmy2",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]}};class nu extends $r{complex(e,t){return this.runFunction(e.args,t,this.metadata("COMPLEX"),(e,t,n)=>"i"!==n&&"j"!==n?new lr(Vn.VALUE,Te.ShouldBeIorJ):Nr([e,t],n))}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 lr(Vn.DIV_BY_ZERO):Math.atan2(t,e))}imconjugate(e,t){return this.runFunction(e.args,t,this.metadata("IMCONJUGATE"),([e,t])=>Nr([e,-t]))}imcos(e,t){return this.runFunction(e.args,t,this.metadata("IMCOS"),e=>Nr(au(e)))}imcosh(e,t){return this.runFunction(e.args,t,this.metadata("IMCOSH"),e=>Nr(lu(e)))}imcot(e,t){return this.runFunction(e.args,t,this.metadata("IMCOT"),e=>Nr(su(au(e),cu(e))))}imcsc(e,t){return this.runFunction(e.args,t,this.metadata("IMCSC"),e=>Nr(su([1,0],cu(e))))}imcsch(e,t){return this.runFunction(e.args,t,this.metadata("IMCSCH"),e=>Nr(su([1,0],uu(e))))}imsec(e,t){return this.runFunction(e.args,t,this.metadata("IMSEC"),e=>Nr(su([1,0],au(e))))}imsech(e,t){return this.runFunction(e.args,t,this.metadata("IMSECH"),e=>Nr(su([1,0],lu(e))))}imsin(e,t){return this.runFunction(e.args,t,this.metadata("IMSIN"),e=>Nr(cu(e)))}imsinh(e,t){return this.runFunction(e.args,t,this.metadata("IMSINH"),e=>Nr(uu(e)))}imtan(e,t){return this.runFunction(e.args,t,this.metadata("IMTAN"),e=>Nr(su(cu(e),au(e))))}imdiv(e,t){return this.runFunction(e.args,t,this.metadata("IMDIV"),(e,t)=>Nr(su(e,t)))}improduct(e,t){return this.runFunction(e.args,t,this.metadata("IMPRODUCT"),(...e)=>{const t=this.arithmeticHelper.coerceComplexExactRanges(e);if(t instanceof lr)return t;let n=[1,0];for(const r of t)n=ou(n,r);return Nr(n)})}imsum(e,t){return this.runFunction(e.args,t,this.metadata("IMSUM"),(...e)=>{const t=this.arithmeticHelper.coerceComplexExactRanges(e);if(t instanceof lr)return t;let n=[0,0];for(const r of t)n=ru(n,r);return Nr(n)})}imsub(e,t){return this.runFunction(e.args,t,this.metadata("IMSUB"),(e,t)=>Nr(iu(e,t)))}imexp(e,t){return this.runFunction(e.args,t,this.metadata("IMEXP"),e=>Nr(du(e)))}imln(e,t){return this.runFunction(e.args,t,this.metadata("IMLN"),e=>Nr(pu(e)))}imlog10(e,t){return this.runFunction(e.args,t,this.metadata("IMLOG10"),e=>{const[t,n]=pu(e),r=Math.log(10);return Nr([t/r,n/r])})}imlog2(e,t){return this.runFunction(e.args,t,this.metadata("IMLOG2"),e=>{const[t,n]=pu(e),r=Math.log(2);return Nr([t/r,n/r])})}impower(e,t){return this.runFunction(e.args,t,this.metadata("IMPOWER"),(e,t)=>Nr(fu(e,t)))}imsqrt(e,t){return this.runFunction(e.args,t,this.metadata("IMSQRT"),e=>Nr(fu(e,.5)))}}function ru([e,t],[n,r]){return[e+n,t+r]}function iu([e,t],[n,r]){return[e-n,t-r]}function ou([e,t],[n,r]){return[e*n-t*r,e*r+n*t]}function su([e,t],[n,r]){const i=Math.pow(n,2)+Math.pow(r,2),[o,s]=ou([e,t],[n,-r]);return[o/i,s/i]}function au([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[n,r]=pu(e);return du([t*n,t*r])}
  1426. /**
  1427. * @license
  1428. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1429. */nu.implementedFunctions={COMPLEX:{method:"complex",parameters:[{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER},{argumentType:Jr.STRING,defaultValue:"i"}]},IMABS:{method:"imabs",parameters:[{argumentType:Jr.COMPLEX}]},IMAGINARY:{method:"imaginary",parameters:[{argumentType:Jr.COMPLEX}]},IMREAL:{method:"imreal",parameters:[{argumentType:Jr.COMPLEX}]},IMARGUMENT:{method:"imargument",parameters:[{argumentType:Jr.COMPLEX}]},IMCONJUGATE:{method:"imconjugate",parameters:[{argumentType:Jr.COMPLEX}]},IMCOS:{method:"imcos",parameters:[{argumentType:Jr.COMPLEX}]},IMCOSH:{method:"imcosh",parameters:[{argumentType:Jr.COMPLEX}]},IMCOT:{method:"imcot",parameters:[{argumentType:Jr.COMPLEX}]},IMCSC:{method:"imcsc",parameters:[{argumentType:Jr.COMPLEX}]},IMCSCH:{method:"imcsch",parameters:[{argumentType:Jr.COMPLEX}]},IMSEC:{method:"imsec",parameters:[{argumentType:Jr.COMPLEX}]},IMSECH:{method:"imsech",parameters:[{argumentType:Jr.COMPLEX}]},IMSIN:{method:"imsin",parameters:[{argumentType:Jr.COMPLEX}]},IMSINH:{method:"imsinh",parameters:[{argumentType:Jr.COMPLEX}]},IMTAN:{method:"imtan",parameters:[{argumentType:Jr.COMPLEX}]},IMDIV:{method:"imdiv",parameters:[{argumentType:Jr.COMPLEX},{argumentType:Jr.COMPLEX}]},IMPRODUCT:{method:"improduct",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},IMSUM:{method:"imsum",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},IMSUB:{method:"imsub",parameters:[{argumentType:Jr.COMPLEX},{argumentType:Jr.COMPLEX}]},IMEXP:{method:"imexp",parameters:[{argumentType:Jr.COMPLEX}]},IMLN:{method:"imln",parameters:[{argumentType:Jr.COMPLEX}]},IMLOG10:{method:"imlog10",parameters:[{argumentType:Jr.COMPLEX}]},IMLOG2:{method:"imlog2",parameters:[{argumentType:Jr.COMPLEX}]},IMPOWER:{method:"impower",parameters:[{argumentType:Jr.COMPLEX},{argumentType:Jr.NUMBER}]},IMSQRT:{method:"imsqrt",parameters:[{argumentType:Jr.COMPLEX}]}};class mu extends $r{avedev(e,t){return this.runFunction(e.args,t,this.metadata("AVEDEV"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof lr)return t;if(0===t.length)return new lr(Vn.DIV_BY_ZERO);const n=jc(t);return t.reduce((e,t)=>e+Math.abs(t-n),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 lr?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 lr)return t;if(0===t.length)return new lr(Vn.NUM,Te.OneValue);for(const n of t)if(n<=0)return new lr(Vn.NUM,Te.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 lr)return t;if(0===t.length)return new lr(Vn.NUM,Te.OneValue);for(const n of t)if(n<=0)return new lr(Vn.NUM,Te.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 lr(Vn.NA,Te.EqualLength);const n=Au(e,t);if(n instanceof lr)return n;const r=n[0].length;return r<=1?new lr(Vn.DIV_BY_ZERO,Te.TwoValues):zc(n[0],n[1])})}rsq(e,t){return this.runFunction(e.args,t,this.metadata("RSQ"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new lr(Vn.NA,Te.EqualLength);const n=Au(e,t);if(n instanceof lr)return n;const r=n[0].length;return r<=1?new lr(Vn.DIV_BY_ZERO,Te.TwoValues):Math.pow(zc(n[0],n[1]),2)})}covariancep(e,t){return this.runFunction(e.args,t,this.metadata("COVARIANCE.P"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new lr(Vn.NA,Te.EqualLength);const n=Au(e,t);if(n instanceof lr)return n;const r=n[0].length;return r<1?new lr(Vn.DIV_BY_ZERO,Te.OneValue):1===r?0:Zc(n[0],n[1])*(r-1)/r})}covariances(e,t){return this.runFunction(e.args,t,this.metadata("COVARIANCE.S"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new lr(Vn.NA,Te.EqualLength);const n=Au(e,t);if(n instanceof lr)return n;const r=n[0].length;return r<=1?new lr(Vn.DIV_BY_ZERO,Te.TwoValues):Zc(n[0],n[1])})}ztest(e,t){return this.runFunction(e.args,t,this.metadata("Z.TEST"),(e,t,n)=>{const r=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner());if(r instanceof lr)return r;const i=r.length;if(void 0===n){if(i<2)return new lr(Vn.DIV_BY_ZERO,Te.TwoValues);n=Yc(r,!0)}return i<1?new lr(Vn.NA,Te.OneValue):0===n?new lr(Vn.DIV_BY_ZERO):1-bc.cdf((jc(r)-t)/(n/Math.sqrt(i)),0,1)})}ftest(e,t){return this.runFunction(e.args,t,this.metadata("F.TEST"),(e,t)=>{const n=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner()),r=this.arithmeticHelper.manyToExactNumbers(t.valuesFromTopLeftCorner());if(n instanceof lr)return n;if(r instanceof lr)return r;if(n.length<=1||r.length<=1)return new lr(Vn.DIV_BY_ZERO);const i=Wc(n,!0),o=Wc(r,!0);if(0===i||0===o)return new lr(Vn.DIV_BY_ZERO);const s=i/o,a=Ic.cdf(s,n.length-1,r.length-1);return 2*Math.min(a,1-a)})}steyx(e,t){return this.runFunction(e.args,t,this.metadata("STEYX"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new lr(Vn.NA,Te.EqualLength);const n=Au(e,t);if(n instanceof lr)return n;const r=n[0].length;return r<=2?new lr(Vn.DIV_BY_ZERO,Te.ThreeValues):Math.sqrt((Vc(n[0])-Math.pow(Zc(n[0],n[1])*(r-1),2)/Vc(n[1]))/(r-2))})}slope(e,t){return this.runFunction(e.args,t,this.metadata("SLOPE"),(e,t)=>{if(e.numberOfElements()!==t.numberOfElements())return new lr(Vn.NA,Te.EqualLength);const n=Au(e,t);if(n instanceof lr)return n;const r=n[0].length;return r<=1?new lr(Vn.DIV_BY_ZERO,Te.TwoValues):Zc(n[0],n[1])*(r-1)/Vc(n[1])})}chisqtest(e,t){return this.runFunction(e.args,t,this.metadata("CHISQ.TEST"),(e,t)=>{const n=e.height(),r=e.width();if(t.height()!==n||t.width()!==r)return new lr(Vn.NA,Te.EqualLength);const i=Au(e,t);if(i instanceof lr)return i;if(i[0].length<=1)return new lr(Vn.DIV_BY_ZERO,Te.TwoValues);let o=0;for(let s=0;s<i[0].length;s++){if(0===i[1][s])return new lr(Vn.DIV_BY_ZERO);o+=Math.pow(i[0][s]-i[1][s],2)/i[1][s]}return o<0?new lr(Vn.NUM,Te.NaN):1-Lc.cdf(o,n>1&&r>1?(n-1)*(r-1):n*r-1)})}ttest(e,t){return this.runFunction(e.args,t,this.metadata("T.TEST"),(e,t,n,r)=>{const i=this.arithmeticHelper.manyToExactNumbers(e.valuesFromTopLeftCorner()),o=this.arithmeticHelper.manyToExactNumbers(t.valuesFromTopLeftCorner());if(i instanceof lr)return i;if(o instanceof lr)return o;const s=i.length,a=o.length;if(1===r){if(a!==s)return new lr(Vn.NA,Te.EqualLength);if(s<=1)return new lr(Vn.DIV_BY_ZERO,Te.TwoValues);const e=Array(s);for(let n=0;n<s;n++)e[n]=i[n]-o[n];const t=Yc(e,!0);if(0===t)return new lr(Vn.DIV_BY_ZERO);const r=Math.abs(Math.sqrt(s)*jc(e)/t);return n*(1-kc.cdf(r,s-1))}if(2===r){if(s<=1||a<=1)return new lr(Vn.DIV_BY_ZERO,Te.TwoValues);const e=(Vc(i)+Vc(o))/(s+a-2);if(0===e)return new lr(Vn.DIV_BY_ZERO);const t=Math.abs((jc(i)-jc(o))/Math.sqrt(e*(1/s+1/a)));return n*(1-kc.cdf(t,s+a-2))}{if(s<=1||a<=1)return new lr(Vn.DIV_BY_ZERO,Te.TwoValues);const e=Wc(i,!0),t=Wc(o,!0);if(0===e&&0===t)return new lr(Vn.DIV_BY_ZERO);const r=Math.abs((jc(i)-jc(o))/Math.sqrt(e/s+t/a)),l=Math.pow(e/s+t/a,2)/(Math.pow(e/s,2)/(s-1)+Math.pow(t/a,2)/(a-1));return n*(1-kc.cdf(r,l))}})}skew(e,t){return this.runFunction(e.args,t,this.metadata("SKEW"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof lr)return t;const n=t.length;if(n<3)return new lr(Vn.DIV_BY_ZERO,Te.ThreeValues);const r=jc(t),i=Yc(t,!0);return 0===i?new lr(Vn.DIV_BY_ZERO):t.reduce((e,t)=>e+Math.pow((t-r)/i,3),0)*n/(n-1)/(n-2)})}skewp(e,t){return this.runFunction(e.args,t,this.metadata("SKEW.P"),(...e)=>{const t=this.arithmeticHelper.coerceNumbersExactRanges(e);if(t instanceof lr)return t;const n=t.length;if(n<3)return new lr(Vn.DIV_BY_ZERO,Te.ThreeValues);const r=jc(t),i=Yc(t,!1);return 0===i?new lr(Vn.DIV_BY_ZERO):t.reduce((e,t)=>e+Math.pow((t-r)/i,3),0)/n})}}function Au(e,t){const n=e.iterateValuesFromTopLeftCorner(),r=t.iterateValuesFromTopLeftCorner();let i,o;const s=[],a=[];while(i=n.next(),o=r.next(),!i.done&&!o.done){const e=i.value,t=o.value;if(e instanceof lr)return e;if(t instanceof lr)return t;xt(e)&&xt(t)&&(s.push(yt(e)),a.push(yt(t)))}return[s,a]}
  1430. /**
  1431. * @license
  1432. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1433. */
  1434. /**
  1435. * @license
  1436. * Copyright (c) 2024 Handsoncode. All rights reserved.
  1437. */mu.implementedFunctions={AVEDEV:{method:"avedev",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},DEVSQ:{method:"devsq",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},GEOMEAN:{method:"geomean",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},HARMEAN:{method:"harmean",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},CORREL:{method:"correl",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},RSQ:{method:"rsq",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},"COVARIANCE.P":{method:"covariancep",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},"COVARIANCE.S":{method:"covariances",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},"Z.TEST":{method:"ztest",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.NUMBER},{argumentType:Jr.NUMBER,optionalArg:!0}]},"F.TEST":{method:"ftest",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},STEYX:{method:"steyx",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},SLOPE:{method:"slope",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},"CHISQ.TEST":{method:"chisqtest",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE}]},"T.TEST":{method:"ttest",parameters:[{argumentType:Jr.RANGE},{argumentType:Jr.RANGE},{argumentType:Jr.INTEGER,minValue:1,maxValue:2},{argumentType:Jr.INTEGER,minValue:1,maxValue:3}]},SKEW:{method:"skew",parameters:[{argumentType:Jr.ANY}],repeatLastArgs:1},"SKEW.P":{method:"skewp",parameters:[{argumentType:Jr.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 da{}gu.HyperFormula=da,gu.ErrorType=Vn,gu.CellError=lr,gu.CellType=Wn,gu.CellValueType=nr,gu.CellValueDetailedType=rr,gu.DetailedCellError=ii,gu.ExportedCellChange=Ts,gu.ExportedNamedExpressionChange=Cs,gu.ConfigValueTooBigError=ln,gu.ConfigValueTooSmallError=an,gu.EvaluationSuspendedError=un,gu.ExpectedOneOfValuesError=cn,gu.ExpectedValueOfTypeError=on,gu.ArraySize=ei,gu.SimpleRangeValue=Ft,gu.EmptyValue=wt,gu.FunctionPlugin=$r,gu.FunctionArgumentType=Jr,gu.FunctionPluginValidationError=mn,gu.InvalidAddressError=Kt,gu.InvalidArgumentsError=Gt,gu.LanguageNotRegisteredError=pn,gu.LanguageAlreadyRegisteredError=fn,gu.MissingTranslationError=dn,gu.NamedExpressionDoesNotExistError=Jt,gu.NamedExpressionNameIsAlreadyTakenError=zt,gu.NamedExpressionNameIsInvalidError=qt,gu.NoOperationToRedoError=en,gu.NoOperationToUndoError=$t,gu.NoRelativeAddressesAllowedError=bn,gu.NoSheetWithIdError=Vt,gu.NoSheetWithNameError=Wt,gu.NotAFormulaError=Xt,gu.NothingToPasteError=tn,gu.ProtectedFunctionTranslationError=hn,gu.SheetNameAlreadyTakenError=Yt,gu.SheetSizeLimitExceededError=Qt,gu.SourceLocationHasArrayError=gn,gu.TargetLocationHasArrayError=_n,gu.UnableToParseError=rn;const _u=pa.defaultConfig.language;da.registerLanguage(_u,_a),da.languages[_a.langCode]=_a;for(const bu of Object.getOwnPropertyNames(o))bu.startsWith("_")||da.registerFunctionPlugin(o[bu])},cc71:function(e,t,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("bold")},{bold:function(){return i(this,"b","","")}})},ccac:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("e0c1"),i=n("c1b2"),o=n("4c4e"),s=n("7d2e");function a(e,t){let n=0;while(1){const r=n<e.length?e.charCodeAt(n):null,i=n<t.length?t.charCodeAt(n):null;if(null===r)return!0;if(r!==i)return!1;n++}}function l(e,t){if(a(t,e))return!1;if(a(e,t))return!0;for(let n=0;n<Math.min(e.length,t.length);n++){const r=e.charCodeAt(n),i=t.charCodeAt(n);if(r!==i)return r<i}return!1}function c(e){const t=Array.from(e),n=new Uint8Array(t.length);let r=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&&(n[r++]=e)}return n}function u(e){return/^[\u0000-\u007F]*$/.test(e)}function d(e){let t="";for(const n of e){const e=n.codePointAt(0);t+=void 0!==e&&e>=65&&e<=90?String.fromCodePoint(e+32):n}return t}function h(e){let t="";for(const n of e){const e=n.codePointAt(0);t+=void 0!==e&&e>=97&&e<=122?String.fromCodePoint(e-32):n}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(o.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 b(e){return _(e.replace(/[\t\n\f\r ]{2,}/g," "))}function v(e,t,n){if(!s.isArray(t))return v(e,Array.from(t),n);let r="";while(n.position<t.length&&e.call(null,t[n.position]))r+=t[n.position],n.position++;return r}function w(e,t){v(e=>r.ASCIIWhiteSpace.test(e),e,t)}function y(e,t){if(!s.isArray(e))return y(Array.from(e),t);const n={position:0},r=[];let i=v(e=>t!==e,e,n);r.push(i);while(n.position<e.length)console.assert(e[n.position]===t,"strictlySplit found no delimiter in input string."),n.position++,i=v(e=>t!==e,e,n),r.push(i);return r}function R(e){if(!s.isArray(e))return R(Array.from(e));const t={position:0},n=[];w(e,t);while(t.position<e.length){const i=v(e=>!r.ASCIIWhiteSpace.test(e),e,t);n.push(i),w(e,t)}return n}function M(e){if(!s.isArray(e))return M(Array.from(e));const t={position:0},n=[];while(t.position<e.length){const r=v(e=>","!==e,e,t);n.push(_(r)),t.position<e.length&&(console.assert(","===e[t.position],"splitAStringOnCommas found no delimiter in input string."),t.position++)}return n}function S(e,t=""){return 0===e.length?"":e.join(t)}t.isCodeUnitPrefix=a,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=b,t.collectASequenceOfCodePoints=v,t.skipASCIIWhitespace=w,t.strictlySplit=y,t.splitAStringOnASCIIWhitespace=R,t.splitAStringOnCommas=M,t.concatenate=S},cd1a:function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),s=n("825a"),a=n("46c4"),l=n("34e1"),c=n("c5cc"),u=n("2a62"),d=n("c430"),h=c((function(){var e,t,n=this.iterator,r=this.mapper;while(1){if(t=this.inner)try{if(e=s(i(t.next,t.iterator)),!e.done)return e.value;this.inner=null}catch(o){u(n,"throw",o)}if(e=s(i(this.next,n)),this.done=!!e.done)return;try{this.inner=l(r(e.value,this.counter++),!1)}catch(o){u(n,"throw",o)}}}));r({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function(e){return s(this),o(e),new h(a(this),{mapper:e,inner:null})}})},cd4e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7d2e"),i=n("9c78");function o(e){const t=i.utf8Decode(e);return JSON.parse.call(void 0,t)}function s(e){const t=JSON.stringify.call(void 0,e);return i.utf8Encode(t)}function a(e){const t=JSON.parse.call(void 0,e);return l(t)}function l(e){if(null===e||r.isString(e)||r.isNumber(e))return e;if(r.isArray(e)){const t=new Array;for(const n of e)t.push(l(n));return t}if(r.isObject(e)){const t=new Map;for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t.set(n,l(r))}return t}return e}t.parseJSONFromBytes=o,t.serializeJSONToBytes=s,t.parseJSONIntoInfraValues=a,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":"ÿ"}')},cef7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("14d9");var r=n("9f10"),i=n("81ea");class o extends r["a"]{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];super(e)}getHiddenIndexes(){return Object(i["arrayReduce"])(this.getValues(),(e,t,n)=>(t&&e.push(n),e),[])}}},cf00:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"doc-attr"},[n("el-form",[n("el-form-item",{attrs:{label:"标题:"}},[n("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=[],o=n("424e"),s=n("c4c8"),a=n("b775");function l(e){return Object(a["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(s["a"])({page:1,pageSize:9999,status:5}).then((function(t){200==t.status&&(e.productList=t.data.dataList)}))},initArticleCategoryList:function(){var e=this;Object(o["j"])({page:1,pageSize:99,status:5}).then((function(t){200==t.status&&(e.articleCategoryList=t.data.dataList)}))}}},u=c,d=(n("a131"),n("2877")),h=Object(d["a"])(u,r,i,!1,null,null,null);t["default"]=h.exports},cf1e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1438. //! moment.js locale configuration
  1439. 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,n,r,i){var o,s=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":i||n?s[0]:s[1]:(o=t.correctGrammaticalCase(e,s),"yy"===r&&n&&"godinu"===o?e+" godina":e+" "+o)}},n=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 n}))},cf51:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1440. //! moment.js locale configuration
  1441. 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,n){return e>11?n?"d'o":"D'O":n?"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: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}});function n(e,t,n,r){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 r||t?i[n][0]:i[n][1]}return t}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1442. //! moment.js locale configuration
  1443. var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(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 r(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,n,r){var i=o(e);switch(n){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 o(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}var s=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:n,past:r,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 s}))},cfbd:function(e,t,n){var r=n("3fb5"),i=n("7f7a"),o=i.base,s=i.bignum,a=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){o.Node.call(this,"der",e)}function u(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=a.tagClass[n>>6],i=0===(32&n);if(31===(31&n)){var o=n;n=0;while(128===(128&o)){if(o=e.readUInt8(t),e.isError(o))return o;n<<=7,n|=127&o}}else n&=31;var s=a.tag[n];return{cls:r,primitive:i,tag:n,tagStr:s}}function d(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0===(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o<i;o++){r<<=8;var s=e.readUInt8(n);if(e.isError(s))return s;r|=s}return r}e.exports=l,l.prototype.decode=function(e,t){return e instanceof o.DecoderBuffer||(e=new o.DecoderBuffer(e,t)),this.tree._decode(e,t)},r(c,o.Node),c.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;var r=e.save(),i=u(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},c.prototype._decodeTag=function(e,t,n){var r=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var i=d(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){while(1){var n=u(e,t);if(e.isError(n))return n;var r,i=d(e,n.primitive,t);if(e.isError(i))return i;if(r=n.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(r))return r;if("end"===n.tagStr)break}},c.prototype._decodeList=function(e,t,n,r){var i=[];while(!e.isEmpty()){var o=this._peekTag(e,"end");if(e.isError(o))return o;var s=n.decode(e,"der",r);if(e.isError(s)&&o)break;i.push(s)}return i},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var n=e.readUInt8();return e.isError(n)?n:{unused:n,data:e.raw()}}if("bmpstr"===t){var r=e.raw();if(r.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<r.length/2;o++)i+=String.fromCharCode(r.readUInt16BE(2*o));return i}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s: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 a=e.raw().toString("ascii");return this._isPrintstr(a)?a: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,n){var r,i=[],o=0;while(!e.isEmpty()){var s=e.readUInt8();o<<=7,o|=127&s,0===(128&s)&&(i.push(o),o=0)}128&s&&i.push(o);var a=i[0]/40|0,l=i[0]%40;if(r=n?i:[a,l].concat(i.slice(1)),t){var c=t[r.join(" ")];void 0===c&&(c=t[r.join(".")]),void 0!==c&&(r=c)}return r},c.prototype._decodeTime=function(e,t){var n=e.raw().toString();if("gentime"===t)var r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),s=0|n.slice(8,10),a=0|n.slice(10,12),l=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),s=0|n.slice(6,8),a=0|n.slice(8,10),l=0|n.slice(10,12);r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,s,a,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 n=e.raw(),r=new s(n);return t&&(r=t[r.toString(10)]||r),r},c.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getDecoder("der").tree}},cfc0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("68b1");t.XMLBuilderImpl=r.XMLBuilderImpl;var i=n("7f4b");t.XMLBuilderCBImpl=i.XMLBuilderCBImpl},d009:function(e,t,n){"use strict";var r=n("00ce"),i=n("7992"),o=n("64b0")(),s=n("2aa9"),a=n("0d25"),l=r("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new a("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&s){var u=s(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},d0eb:function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(6).Buffer}catch(T){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=r,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("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 o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,a+=24,a>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,o=0,s=0;if("be"===n)for(r=e.length-1;r>=t;r-=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else{var a=e.length-t;for(r=a%2===0?t+1:t;r<e.length;r+=2)i=l(e,t,r)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8}this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,u=n;u<a;u+=r)l=c(e,u,u+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var d=1;for(l=c(e,u,e.length,t),u=0;u<s;u++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.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},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){while(this.length<e)this.words[this.length++]=0;return this},o.prototype.strip=function(){while(this.length>1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.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()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}function f(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,l=s/67108864|0;n.words[0]=a;for(var c=1;c<r;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],o=0|t.words[p],s=i*o+d,u+=s/67108864|0,d=67108863&s}n.words[c]=0|d,l=0|u}return 0!==l?n.words[c]=0|l:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,n=0!==o||s!==this.length-1?u[6-l.length]+l+n:l+n,i+=2,i>=26&&(i-=26,s--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],p=h[e];n="";var f=this.clone();f.negative=0;while(!f.isZero()){var m=f.modn(p).toString(e);f=f.idivn(p),n=f.isZero()?m+n:u[c-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.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&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===t,c=new e(o),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[a]=s;for(;a<o;a++)c[a]=0}else{for(a=0;a<o-i;a++)c[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),c[o-a-1]=s}return c},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.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()},o.prototype.ior=function(e){return r(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;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?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.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)},o.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 n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s<r.length;s++)t=(0|n.words[s])-(0|r.words[s])+o,o=t>>26,this.words[s]=67108863&t;for(;0!==o&&s<n.length;s++)t=(0|n.words[s])+o,o=t>>26,this.words[s]=67108863&t;if(0===o&&s<n.length&&n!==this)for(;s<n.length;s++)this.words[s]=n.words[s];return this.length=Math.max(this.length,s),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var m=function(e,t,n){var r,i,o,s=e.words,a=t.words,l=n.words,c=0,u=0|s[0],d=8191&u,h=u>>>13,p=0|s[1],f=8191&p,m=p>>>13,A=0|s[2],g=8191&A,_=A>>>13,b=0|s[3],v=8191&b,w=b>>>13,y=0|s[4],R=8191&y,M=y>>>13,S=0|s[5],E=8191&S,T=S>>>13,C=0|s[6],O=8191&C,x=C>>>13,N=0|s[7],L=8191&N,I=N>>>13,P=0|s[8],D=8191&P,F=P>>>13,k=0|s[9],B=8191&k,U=k>>>13,H=0|a[0],j=8191&H,V=H>>>13,W=0|a[1],Y=8191&W,Q=W>>>13,X=0|a[2],K=8191&X,G=X>>>13,Z=0|a[3],z=8191&Z,q=Z>>>13,J=0|a[4],$=8191&J,ee=J>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],le=8191&ae,ce=ae>>>13,ue=0|a[8],de=8191&ue,he=ue>>>13,pe=0|a[9],fe=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,j),i=Math.imul(d,V),i=i+Math.imul(h,j)|0,o=Math.imul(h,V);var Ae=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(f,j),i=Math.imul(f,V),i=i+Math.imul(m,j)|0,o=Math.imul(m,V),r=r+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(h,Y)|0,o=o+Math.imul(h,Q)|0;var ge=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(g,j),i=Math.imul(g,V),i=i+Math.imul(_,j)|0,o=Math.imul(_,V),r=r+Math.imul(f,Y)|0,i=i+Math.imul(f,Q)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,Q)|0,r=r+Math.imul(d,K)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(h,K)|0,o=o+Math.imul(h,G)|0;var _e=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(v,j),i=Math.imul(v,V),i=i+Math.imul(w,j)|0,o=Math.imul(w,V),r=r+Math.imul(g,Y)|0,i=i+Math.imul(g,Q)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,Q)|0,r=r+Math.imul(f,K)|0,i=i+Math.imul(f,G)|0,i=i+Math.imul(m,K)|0,o=o+Math.imul(m,G)|0,r=r+Math.imul(d,z)|0,i=i+Math.imul(d,q)|0,i=i+Math.imul(h,z)|0,o=o+Math.imul(h,q)|0;var be=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(R,j),i=Math.imul(R,V),i=i+Math.imul(M,j)|0,o=Math.imul(M,V),r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,Q)|0,i=i+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,r=r+Math.imul(g,K)|0,i=i+Math.imul(g,G)|0,i=i+Math.imul(_,K)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(f,z)|0,i=i+Math.imul(f,q)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,q)|0,r=r+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(h,$)|0,o=o+Math.imul(h,ee)|0;var ve=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(E,j),i=Math.imul(E,V),i=i+Math.imul(T,j)|0,o=Math.imul(T,V),r=r+Math.imul(R,Y)|0,i=i+Math.imul(R,Q)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,r=r+Math.imul(v,K)|0,i=i+Math.imul(v,G)|0,i=i+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(g,z)|0,i=i+Math.imul(g,q)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,q)|0,r=r+Math.imul(f,$)|0,i=i+Math.imul(f,ee)|0,i=i+Math.imul(m,$)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(h,ne)|0,o=o+Math.imul(h,re)|0;var we=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(O,j),i=Math.imul(O,V),i=i+Math.imul(x,j)|0,o=Math.imul(x,V),r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,Q)|0,i=i+Math.imul(T,Y)|0,o=o+Math.imul(T,Q)|0,r=r+Math.imul(R,K)|0,i=i+Math.imul(R,G)|0,i=i+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(v,q)|0,i=i+Math.imul(w,z)|0,o=o+Math.imul(w,q)|0,r=r+Math.imul(g,$)|0,i=i+Math.imul(g,ee)|0,i=i+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(f,ne)|0,i=i+Math.imul(f,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(d,oe)|0,i=i+Math.imul(d,se)|0,i=i+Math.imul(h,oe)|0,o=o+Math.imul(h,se)|0;var ye=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(L,j),i=Math.imul(L,V),i=i+Math.imul(I,j)|0,o=Math.imul(I,V),r=r+Math.imul(O,Y)|0,i=i+Math.imul(O,Q)|0,i=i+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,r=r+Math.imul(E,K)|0,i=i+Math.imul(E,G)|0,i=i+Math.imul(T,K)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(R,z)|0,i=i+Math.imul(R,q)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,q)|0,r=r+Math.imul(v,$)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(w,$)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(g,ne)|0,i=i+Math.imul(g,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(f,oe)|0,i=i+Math.imul(f,se)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0,r=r+Math.imul(d,le)|0,i=i+Math.imul(d,ce)|0,i=i+Math.imul(h,le)|0,o=o+Math.imul(h,ce)|0;var Re=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(D,j),i=Math.imul(D,V),i=i+Math.imul(F,j)|0,o=Math.imul(F,V),r=r+Math.imul(L,Y)|0,i=i+Math.imul(L,Q)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,Q)|0,r=r+Math.imul(O,K)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,r=r+Math.imul(E,z)|0,i=i+Math.imul(E,q)|0,i=i+Math.imul(T,z)|0,o=o+Math.imul(T,q)|0,r=r+Math.imul(R,$)|0,i=i+Math.imul(R,ee)|0,i=i+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(g,oe)|0,i=i+Math.imul(g,se)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,se)|0,r=r+Math.imul(f,le)|0,i=i+Math.imul(f,ce)|0,i=i+Math.imul(m,le)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(d,de)|0,i=i+Math.imul(d,he)|0,i=i+Math.imul(h,de)|0,o=o+Math.imul(h,he)|0;var Me=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,j),i=Math.imul(B,V),i=i+Math.imul(U,j)|0,o=Math.imul(U,V),r=r+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(F,Y)|0,o=o+Math.imul(F,Q)|0,r=r+Math.imul(L,K)|0,i=i+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(O,z)|0,i=i+Math.imul(O,q)|0,i=i+Math.imul(x,z)|0,o=o+Math.imul(x,q)|0,r=r+Math.imul(E,$)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(T,$)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(R,ne)|0,i=i+Math.imul(R,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,se)|0,i=i+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(g,le)|0,i=i+Math.imul(g,ce)|0,i=i+Math.imul(_,le)|0,o=o+Math.imul(_,ce)|0,r=r+Math.imul(f,de)|0,i=i+Math.imul(f,he)|0,i=i+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0,r=r+Math.imul(d,fe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(h,fe)|0,o=o+Math.imul(h,me)|0;var Se=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(U,Y)|0,o=Math.imul(U,Q),r=r+Math.imul(D,K)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(F,K)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(L,z)|0,i=i+Math.imul(L,q)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,q)|0,r=r+Math.imul(O,$)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(x,$)|0,o=o+Math.imul(x,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(R,oe)|0,i=i+Math.imul(R,se)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,se)|0,r=r+Math.imul(v,le)|0,i=i+Math.imul(v,ce)|0,i=i+Math.imul(w,le)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(g,de)|0,i=i+Math.imul(g,he)|0,i=i+Math.imul(_,de)|0,o=o+Math.imul(_,he)|0,r=r+Math.imul(f,fe)|0,i=i+Math.imul(f,me)|0,i=i+Math.imul(m,fe)|0,o=o+Math.imul(m,me)|0;var Ee=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,K),i=Math.imul(B,G),i=i+Math.imul(U,K)|0,o=Math.imul(U,G),r=r+Math.imul(D,z)|0,i=i+Math.imul(D,q)|0,i=i+Math.imul(F,z)|0,o=o+Math.imul(F,q)|0,r=r+Math.imul(L,$)|0,i=i+Math.imul(L,ee)|0,i=i+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(x,ne)|0,o=o+Math.imul(x,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,se)|0,i=i+Math.imul(T,oe)|0,o=o+Math.imul(T,se)|0,r=r+Math.imul(R,le)|0,i=i+Math.imul(R,ce)|0,i=i+Math.imul(M,le)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(v,de)|0,i=i+Math.imul(v,he)|0,i=i+Math.imul(w,de)|0,o=o+Math.imul(w,he)|0,r=r+Math.imul(g,fe)|0,i=i+Math.imul(g,me)|0,i=i+Math.imul(_,fe)|0,o=o+Math.imul(_,me)|0;var Te=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,z),i=Math.imul(B,q),i=i+Math.imul(U,z)|0,o=Math.imul(U,q),r=r+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(L,ne)|0,i=i+Math.imul(L,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(O,oe)|0,i=i+Math.imul(O,se)|0,i=i+Math.imul(x,oe)|0,o=o+Math.imul(x,se)|0,r=r+Math.imul(E,le)|0,i=i+Math.imul(E,ce)|0,i=i+Math.imul(T,le)|0,o=o+Math.imul(T,ce)|0,r=r+Math.imul(R,de)|0,i=i+Math.imul(R,he)|0,i=i+Math.imul(M,de)|0,o=o+Math.imul(M,he)|0,r=r+Math.imul(v,fe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(w,fe)|0,o=o+Math.imul(w,me)|0;var Ce=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(U,$)|0,o=Math.imul(U,ee),r=r+Math.imul(D,ne)|0,i=i+Math.imul(D,re)|0,i=i+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(L,oe)|0,i=i+Math.imul(L,se)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(O,le)|0,i=i+Math.imul(O,ce)|0,i=i+Math.imul(x,le)|0,o=o+Math.imul(x,ce)|0,r=r+Math.imul(E,de)|0,i=i+Math.imul(E,he)|0,i=i+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0,r=r+Math.imul(R,fe)|0,i=i+Math.imul(R,me)|0,i=i+Math.imul(M,fe)|0,o=o+Math.imul(M,me)|0;var Oe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(D,oe)|0,i=i+Math.imul(D,se)|0,i=i+Math.imul(F,oe)|0,o=o+Math.imul(F,se)|0,r=r+Math.imul(L,le)|0,i=i+Math.imul(L,ce)|0,i=i+Math.imul(I,le)|0,o=o+Math.imul(I,ce)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,he)|0,i=i+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0,r=r+Math.imul(E,fe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(T,fe)|0,o=o+Math.imul(T,me)|0;var xe=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,oe),i=Math.imul(B,se),i=i+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(D,le)|0,i=i+Math.imul(D,ce)|0,i=i+Math.imul(F,le)|0,o=o+Math.imul(F,ce)|0,r=r+Math.imul(L,de)|0,i=i+Math.imul(L,he)|0,i=i+Math.imul(I,de)|0,o=o+Math.imul(I,he)|0,r=r+Math.imul(O,fe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(x,fe)|0,o=o+Math.imul(x,me)|0;var Ne=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,le),i=Math.imul(B,ce),i=i+Math.imul(U,le)|0,o=Math.imul(U,ce),r=r+Math.imul(D,de)|0,i=i+Math.imul(D,he)|0,i=i+Math.imul(F,de)|0,o=o+Math.imul(F,he)|0,r=r+Math.imul(L,fe)|0,i=i+Math.imul(L,me)|0,i=i+Math.imul(I,fe)|0,o=o+Math.imul(I,me)|0;var Le=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,r=Math.imul(B,de),i=Math.imul(B,he),i=i+Math.imul(U,de)|0,o=Math.imul(U,he),r=r+Math.imul(D,fe)|0,i=i+Math.imul(D,me)|0,i=i+Math.imul(F,fe)|0,o=o+Math.imul(F,me)|0;var Ie=(c+r|0)+((8191&i)<<13)|0;c=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,fe),i=Math.imul(B,me),i=i+Math.imul(U,fe)|0,o=Math.imul(U,me);var Pe=(c+r|0)+((8191&i)<<13)|0;return c=(o+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,l[0]=Ae,l[1]=ge,l[2]=_e,l[3]=be,l[4]=ve,l[5]=we,l[6]=ye,l[7]=Re,l[8]=Me,l[9]=Se,l[10]=Ee,l[11]=Te,l[12]=Ce,l[13]=Oe,l[14]=xe,l[15]=Ne,l[16]=Le,l[17]=Ie,l[18]=Pe,0!==c&&(l[19]=c,n.length++),n};function A(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var s=i;i=0;for(var a=67108863&r,l=Math.min(o,t.length-1),c=Math.max(0,o-e.length+1);c<=l;c++){var u=o-c,d=0|e.words[u],h=0|t.words[c],p=d*h,f=67108863&p;s=s+(p/67108864|0)|0,f=f+a|0,a=67108863&f,s=s+(f>>>26)|0,i+=s>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new _;return r.mulp(e,t,n)}function _(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?m(this,e,t):r<63?f(this,e,t):r<1024?A(this,e,t):g(this,e,t),n},_.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},_.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},_.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s<o;s++)r[s]=t[e[s]],i[s]=n[e[s]]},_.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),c=Math.sin(2*Math.PI/a),u=0;u<i;u+=a)for(var d=l,h=c,p=0;p<s;p++){var f=n[u+p],m=r[u+p],A=n[u+p+s],g=r[u+p+s],_=d*A-h*g;g=d*g+h*A,A=_,n[u+p]=f+A,r[u+p]=m+g,n[u+p+s]=f-A,r[u+p+s]=m-g,p!==a&&(_=l*d-c*h,h=l*h+c*d,d=_)}},_.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},_.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},_.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},_.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(0===(-8192&o))},_.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},_.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),s=new Array(r),a=new Array(r),l=new Array(r),c=new Array(r),u=new Array(r),d=new Array(r),h=n.words;h.length=r,this.convert13b(e.words,e.length,s,r),this.convert13b(t.words,t.length,c,r),this.transform(s,o,a,l,r,i),this.transform(c,o,u,d,r,i);for(var p=0;p<r;p++){var f=a[p]*u[p]-l[p]*d[p];l[p]=a[p]*d[p]+l[p]*u[p],a[p]=f}return this.conjugate(a,l,r),this.transform(a,l,h,o,r,i),this.conjugate(h,o,r),this.normalize13b(h,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),g(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"===typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length;r++,n=n.sqr())if(0!==t[r])break;if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"===typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,l=(0|this.words[t])-a<<n;this.words[t]=l|s,s=a>>>26-n}s&&(this.words[t]=s,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()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,l=n;if(i-=s,i=Math.max(0,i),l){for(var c=0;c<s;c++)l.words[c]=this.words[c];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];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-o|d>>>o,u=d&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return!1;var o=this.words[n];return!!(o&i)},o.prototype.imaskn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"===typeof e),r(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)},o.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},o.prototype.isubn=function(e){if(r("number"===typeof e),r(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()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,s=e.length+n;this._expand(s);var a=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+a;var l=(0|e.words[i])*t;o-=67108863&l,a=(o>>26)-(l/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)o=(0|this.words[i+n])+a,a=o>>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)o=-(0|this.words[i])+a,a=o>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,s=0|i.words[i.length-1],a=this._countBits(s);n=26-a,0!==n&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var l,c=r.length-i.length;if("mod"!==t){l=new o(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=r.clone()._ishlnsubmul(i,1,c);0===d.negative&&(r=d,l&&(l.words[c]=1));for(var h=c-1;h>=0;h--){var p=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);p=Math.min(p/s|0,67108863),r._ishlnsubmul(i,p,h);while(0!==r.negative)p--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);l&&(l.words[h]=p)}return l&&l.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:l||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!==(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),s=new o(0),a=new o(0),l=new o(1),c=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++c;var u=n.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()||s.isOdd())&&(i.iadd(u),s.isub(d)),i.iushrn(1),s.iushrn(1)}for(var f=0,m=1;0===(n.words[0]&m)&&f<26;++f,m<<=1);if(f>0){n.iushrn(f);while(f-- >0)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(d)),a.iushrn(1),l.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(l)):(n.isub(t),a.isub(i),l.isub(s))}return{a:a,b:l,gcd:n.iushln(c)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,s=new o(1),a=new o(0),l=n.clone();while(t.cmpn(1)>0&&n.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)s.isOdd()&&s.iadd(l),s.iushrn(1)}for(var d=0,h=1;0===(n.words[0]&h)&&d<26;++d,h<<=1);if(d>0){n.iushrn(d);while(d-- >0)a.isOdd()&&a.iadd(l),a.iushrn(1)}t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return i=0===t.cmpn(1)?s:a,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];a+=o,o=a>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(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},o.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},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function R(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(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)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(w,v),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&n,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&n)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&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,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(R,v),i(M,v),M.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new y;else if("p192"===e)t=new R;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},S.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),s=0;while(!i.isZero()&&0===i.andln(1))s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),l=a.redNeg(),c=this.m.subn(1).iushrn(1),u=this.m.bitLength();u=new o(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=s;while(0!==p.cmp(a)){for(var m=p,A=0;0!==m.cmp(a);A++)m=m.redSqr();r(A<f);var g=this.pow(d,new o(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 o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=4,r=new Array(1<<n);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var s=r[0],a=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;s!==r[0]&&(s=this.sqr(s)),0!==h||0!==a?(a<<=1,a|=h,l++,(l===n||0===i&&0===d)&&(s=this.mul(s,r[a]),l=0,a=0)):l=0}c=26}return s},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},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("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"),D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("ade3"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("d9e2"),core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("99af"),core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("4de4"),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("7db0"),core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("c740"),core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("5db7"),core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_array_flat_map_js__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("caad"),core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("a15b"),core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_14__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("d81d"),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_15__),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("14d9"),core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_16__),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("fb6a"),core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_17___default=__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_17__),core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("4e82"),core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_18___default=__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_18__),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("a434"),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_19___default=__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_19__),core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("73d9"),core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_20___default=__webpack_require__.n(core_js_modules_es_array_unscopables_flat_map_js__WEBPACK_IMPORTED_MODULE_20__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_21___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_21__),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("e9c4"),core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_22___default=__webpack_require__.n(core_js_modules_es_json_stringify_js__WEBPACK_IMPORTED_MODULE_22__),core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("4ec9"),core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_23___default=__webpack_require__.n(core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_23__),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24___default=__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("b64b"),core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_25___default=__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_25__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_26___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_26__),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("4d63"),core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_27___default=__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_27__),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("c607"),core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_28___default=__webpack_require__.n(core_js_modules_es_regexp_dot_all_js__WEBPACK_IMPORTED_MODULE_28__),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("ac1f"),core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_29___default=__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_29__),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("2c3e"),core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_30___default=__webpack_require__.n(core_js_modules_es_regexp_sticky_js__WEBPACK_IMPORTED_MODULE_30__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_31___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_31__),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("2532"),core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_32___default=__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_32__),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("3ca3"),core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_33___default=__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_33__),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("466d"),core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_34___default=__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_34__),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("5319"),core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_35___default=__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_35__),core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("841c"),core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_36___default=__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_36__),core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("2ca0"),core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_37___default=__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_37__),core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__("498a"),core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_38___default=__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_38__),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_39__=__webpack_require__("0643"),core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_39___default=__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_39__),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_40__=__webpack_require__("2382"),core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_40___default=__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_40__),core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_41__=__webpack_require__("fffc"),core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_41___default=__webpack_require__.n(core_js_modules_esnext_iterator_find_js__WEBPACK_IMPORTED_MODULE_41__),core_js_modules_esnext_iterator_flat_map_js__WEBPACK_IMPORTED_MODULE_42__=__webpack_require__("cd1a"),core_js_modules_esnext_iterator_flat_map_js__WEBPACK_IMPORTED_MODULE_42___default=__webpack_require__.n(core_js_modules_esnext_iterator_flat_map_js__WEBPACK_IMPORTED_MODULE_42__),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_43__=__webpack_require__("4e3e"),core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_43___default=__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_43__),core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_44__=__webpack_require__("a573"),core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_44___default=__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_44__),core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_45__=__webpack_require__("9a9a"),core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_45___default=__webpack_require__.n(core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_45__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_46__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_46___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_46__),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_47__=__webpack_require__("ddb0"),core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_47___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_47__),_api_sourceData__WEBPACK_IMPORTED_MODULE_48__=__webpack_require__("1c4c"),_api_document__WEBPACK_IMPORTED_MODULE_49__=__webpack_require__("424e"),_com_menus__WEBPACK_IMPORTED_MODULE_50__=__webpack_require__("02b5"),_com_editor__WEBPACK_IMPORTED_MODULE_51__=__webpack_require__("c4e1"),_com_components_Attribute__WEBPACK_IMPORTED_MODULE_52__=__webpack_require__("f539"),_com_components_Attribute_attributeVar_index_vue__WEBPACK_IMPORTED_MODULE_53__=__webpack_require__("62cf"),_com_components_ProductAttr__WEBPACK_IMPORTED_MODULE_54__=__webpack_require__("0d5e"),_api_template__WEBPACK_IMPORTED_MODULE_55__=__webpack_require__("c621"),_com_components_Attribute_docAttr__WEBPACK_IMPORTED_MODULE_56__=__webpack_require__("cf00"),_com_components_Attribute_comList__WEBPACK_IMPORTED_MODULE_57__=__webpack_require__("7f31"),_com_components_Attribute_Directory__WEBPACK_IMPORTED_MODULE_58__=__webpack_require__("1ab1"),_api_api__WEBPACK_IMPORTED_MODULE_59__=__webpack_require__("4ec3"),_com_view__WEBPACK_IMPORTED_MODULE_60__=__webpack_require__("3e4b"),_directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_61__=__webpack_require__("a888"),vuedraggable__WEBPACK_IMPORTED_MODULE_62__=__webpack_require__("b76a"),vuedraggable__WEBPACK_IMPORTED_MODULE_62___default=__webpack_require__.n(vuedraggable__WEBPACK_IMPORTED_MODULE_62__),html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_63__=__webpack_require__("4f15"),html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_63___default=__webpack_require__.n(html_docx_js_dist_html_docx__WEBPACK_IMPORTED_MODULE_63__),_api_formula__WEBPACK_IMPORTED_MODULE_64__=__webpack_require__("f9e5"),axios__WEBPACK_IMPORTED_MODULE_65__=__webpack_require__("bc3a"),axios__WEBPACK_IMPORTED_MODULE_65___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_65__),_settings__WEBPACK_IMPORTED_MODULE_66__=__webpack_require__("83d6"),_settings__WEBPACK_IMPORTED_MODULE_66___default=__webpack_require__.n(_settings__WEBPACK_IMPORTED_MODULE_66__),_methods;__webpack_exports__["a"]={name:"create",components:{menus:_com_menus__WEBPACK_IMPORTED_MODULE_50__["default"],editor:_com_editor__WEBPACK_IMPORTED_MODULE_51__["default"],Attribute:_com_components_Attribute__WEBPACK_IMPORTED_MODULE_52__["default"],comList:_com_components_Attribute_comList__WEBPACK_IMPORTED_MODULE_57__["default"],docAttr:_com_components_Attribute_docAttr__WEBPACK_IMPORTED_MODULE_56__["default"],ViewForm:_com_view__WEBPACK_IMPORTED_MODULE_60__["default"],ProductAttr:_com_components_ProductAttr__WEBPACK_IMPORTED_MODULE_54__["default"],Directory:_com_components_Attribute_Directory__WEBPACK_IMPORTED_MODULE_58__["default"],draggable:vuedraggable__WEBPACK_IMPORTED_MODULE_62___default.a,attributeVar:_com_components_Attribute_attributeVar_index_vue__WEBPACK_IMPORTED_MODULE_53__["default"]},directives:{elDragDialog:_directive_el_drag_dialog__WEBPACK_IMPORTED_MODULE_61__["a"]},data:function(){return{activeNames:"-1",nestedActiveNames:[],articleList:[],activeModel:"",templateList:[],categoryList:[],coms:[],comIndex:9999,showProductAttr:!1,comList:[],docAttr:{id:0,dcm_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:"",dcm_category_id:""},docRules:{dcm_title:[{required:!0,message:"请输文档名称",trigger:"blur"}],dcm_type:[{required:!0,message:"请选择文档模板分类",trigger:"change"}],dcm_category_id:[{required:!0,message:"请选择文档分类",trigger:"change"}]},articleCategoryList:[],searchKey:"",currentScheme:"",expandedKeys:[],schemeData:[],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:[],catalogProps:{children:"children",label:"label"},templateSearchKey:"",originalTemplateList:[],isSaving:!1,saveAs:!1,isSchemeCollapsed:!1,isResourceCollapsed:!1}},watch:Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])({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}},"coms",{handler:function(e){this.updateCatalog(e)},deep:!0}),"comIndex",{handler:function(e){var t=this;this.$nextTick((function(){t.highlightCurrentCatalogItem(e)}))}}),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 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 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:n=e.$route.query.templateId,n>0&&e.loadTemplateInfo(n),e.isAdmin=2,e.initArticleCategoryList(),"module"!==e.type&&"document"!==e.type&&(document.title="新建模版-"+_settings__WEBPACK_IMPORTED_MODULE_66___default.a.title),"module"!==e.type&&"document"!==e.type&&void 0!==e.articleId&&(document.title=e.docAttr.title+_settings__WEBPACK_IMPORTED_MODULE_66___default.a.title),e.$nextTick((function(){var e=document.querySelectorAll(".el-collapse-item__arrow");e.forEach((function(e){e.style.margin="0"}))})),e.initTemplateSelection(),e.expandedKeys=[];case 17:case"end":return t.stop()}}),t)})))()},methods:(_methods={handleClick:function(e){"catalog"===e.name&&this.updateCatalog(this.coms)},updateCatalog:function(e){var t=this,n=[];e.forEach((function(e,r){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={id:e.id,label:"".concat(e.number," ").concat(e.content),level:e.level,moduleIndex:r,content:e.content,number:e.number,children:[],isEditing:!1};if(1===e.level)n.push(i);else{var o=t.findParentDirectory(n,e.number);o&&o.children.push(i)}}))})),this.catalogData=n,this.$nextTick((function(){return t.$forceUpdate()}))},findParentDirectory:function(e,t){var n=t.split(".").slice(0,-1).join("."),r=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 o=t.value;if(o.label.startsWith(n+" "))return o;if(o.children){var s=r(o.children);if(s)return s}}}catch(a){i.e(a)}finally{i.f()}return null};return r(e)},handleNodeClick:function(e){console.log(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){e.isEditing||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 n(){var r,i,o,s;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:return r=e[e.length-1],n.prev=1,n.next=4,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["j"])({parent_id:r});case 4:if(i=n.sent,200==i.status&&0!=i.data.length){n.next=7;break}return n.abrupt("return");case 7:o=i.data,s=0;case 9:if(!(s<o.length)){n.next=16;break}return n.next=12,t.getTemplateList(o[s].id);case 12:o[s].dataList=n.sent;case 13:s++,n.next=9;break;case 16:t.insertChildrenById(t.categoryList,r,o),console.log(t.categoryList),t.$forceUpdate(),n.next=24;break;case 21:n.prev=21,n.t0=n["catch"](1),console.error("Error fetching template categories:",n.t0);case 24:case"end":return n.stop()}}),n,null,[[1,21]])})))()},insertChildrenById:function(e,t,n){var r,i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.id===t)return this.$set(o,"children",n),!0;if(o.children&&o.children.length>0){var s=this.insertChildrenById(o.children,t,n);if(s)return!0}}}catch(a){i.e(a)}finally{i.f()}return!1},closeDoc:function(){this.docVisible=!1,this.docForm={dcm_title:"",dcm_type:"",dcm_category_id:""}},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.docAttr.dcm_category_id=e.docForm.dcm_category_id,e.onSave())}))},initArticleCategoryList:function(){var e=this;Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["j"])({page:1,pageSize:99,status:5}).then((function(t){200==t.status&&(e.articleCategoryList=t.data.dataList)}))},updateAttrs:function(e,t){var n=this;e.forEach((function(e,r){var i=t[r];console.log("oldCom:",i,"newCom:",e),i&&e.attrs.forEach((function(e,t){var r=i.attrs[t];r&&e.content!==r.content&&n.updateGlobalAttr(e.name,e.content)}))}))},updateGlobalAttr:function(e,t){this.coms.forEach((function(n){console.log(n),n.attrs.forEach((function(n){n.name===e&&"variableNull"!==n.type&&(n.content=t)})),"TextArea"===n.dcb_type&&(n.content=n.content.replace(new RegExp("{{".concat(e,"}}"),"g"),(function(r){var i=n.attrs.find((function(t){return t.id===e}));return i&&"variableNull"!==i.type?t:r})))})),this.replaceData(this.coms),this.$forceUpdate()},replaceData:function replaceData(data){var _this8=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"])(_this8.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,_this8.analysisFormual(el);case 15:return formual=_context3.sent,_context3.next=18,_this8.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 n(){var r,i,o,s,a,l,c;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:r=t,i=/(\[.*?\]){3}/,o=e.formula,s=new RegExp(i);case 4:if(a=o.match(s),null!=a){n.next=8;break}return n.abrupt("break",22);case 8:return l=a[0],n.prev=9,n.next=12,r.getFormualData(l);case 12:c=n.sent,null===c||void 0===c||isNaN(c)?(console.warn("获取到的数据无效: ".concat(l)),o=o.replace(l,"(0)")):o=o.replace(l,"(".concat(parseFloat(c),")")),n.next=20;break;case 16:n.prev=16,n.t0=n["catch"](9),console.error("处理 ".concat(l," 时出错:"),n.t0),o=o.replace(l,"(0)");case 20:n.next=4;break;case 22:return n.abrupt("return",o);case 23:case"end":return n.stop()}}),n,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 n(){var r,i,o,s,a;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(r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i),s=e.match(o),a=0,!s||"T"!=s[1]){n.next=11;break}return n.next=8,r.getModuleData(s[2],s[3]);case 8:a=n.sent,n.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})))()},getModuleData:function(e,t){var n=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 i,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(i=n,o=i.coms.filter((function(t){return t.name==e})),!(o.length>0)){r.next=6;break}if(s=o[0].attrs.filter((function(e){return e.name==t})),!(s.length>0)){r.next=6;break}return r.abrupt("return",parseFloat(s[0].content));case 6:return r.abrupt("return",0);case 7: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_5__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().mark((function n(){var r,i,o,s,a,l,c;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:r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i);case 3:if(s=e.match(o),null!=s){n.next=7;break}return n.abrupt("break",18);case 7:if("R"!=s[1]){n.next=16;break}return a=s[4],a=s[4].split(","),n.next=12,r.getRemoteData(s[2],s[3],a[0],a[1]);case 12:l=n.sent,c=s[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")"),e=e.replace(c,"("+parseFloat(l)+")");case 16:n.next=3;break;case 18:return n.abrupt("return",e);case 19:case"end":return n.stop()}}),n)})))()},getRemoteData:function(e,t,n,r){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 o(){var s,a,l;return Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_4__["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return i,s=0,a={code:e,sheetName:t,row:n,col:r},o.prev=3,o.next=6,Object(_api_sourceData__WEBPACK_IMPORTED_MODULE_48__["a"])(a);case 6:l=o.sent,200==l.status&&(s=l.data.result,"string"!==typeof s||isNaN(s)||(s=parseFloat(s))),o.next=13;break;case 10:o.prev=10,o.t0=o["catch"](3),console.error("获取远程数据错误:",o.t0);case 13:return o.abrupt("return",s);case 14:case"end":return o.stop()}}),o,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 n(){var r,i,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(r=t.categoryList.find((function(t){return t.id===e})),r){n.next=3;break}return n.abrupt("return");case 3:if(r.children){n.next=24;break}return n.prev=4,n.next=7,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["j"])({parent_id:e});case 7:if(i=n.sent,200==i.status&&0!=i.data.length){n.next=10;break}return n.abrupt("return");case 10:r.children=i.data,o=0;case 12:if(!(o<r.children.length)){n.next=19;break}return n.next=15,t.getTemplateList(r.children[o].id);case 15:r.children[o].dataList=n.sent;case 16:o++,n.next=12;break;case 19:n.next=24;break;case 21:n.prev=21,n.t0=n["catch"](4),console.error("Error fetching template categories:",n.t0);case 24:t.$set(r,"activeChildren",r.activeChildren||[]);case 25:case"end":return n.stop()}}),n,null,[[4,21]])})))()},viewDocument:function(){this.showView=0},viewModule:function(){this.showView=1},uptadeVariable:function(e){var t=e.id,n=e.value;this.coms.forEach((function(r){r.attrs.forEach((function(r){"variable"!==r.type&&"constant"!==r.type||r.data.id!==t||(r.content=n,r.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 n,r,i,o,s,a;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:n=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(e.coms);try{for(n.s();!(r=n.n()).done;){i=r.value,o=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(i.attrs);try{for(o.s();!(s=o.n()).done;)a=s.value,a.type}catch(l){o.e(l)}finally{o.f()}}}catch(l){n.e(l)}finally{n.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 n(){var r,i;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:return t.loading=!0,n.prev=1,n.next=4,axios__WEBPACK_IMPORTED_MODULE_65___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:r=n.sent,200===r.status&&(i=r.data.outputs[0].outputs[0].results.message.data.text,e.content=i),n.next=12;break;case 8:n.prev=8,n.t0=n["catch"](1),console.error("Error during retrieval:",n.t0),t.$message.error("检索失败,请稍后重试");case 12:return n.prev=12,t.loading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,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 n(){var r,i,o,s,a;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:return n.prev=0,n.next=3,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["g"])(e);case 3:return r=n.sent,i=r.data,console.log(!i.dcb_attrs||!i.dcb_type),i.dcb_attrs&&i.dcb_type||Object.assign(i,{dcb_attrs:"[]",dcb_nr:"请填写内容",lay_id:"textArea",dcb_type:"TextArea"}),document.title=i.name?"".concat(i.name,"-").concat(_settings__WEBPACK_IMPORTED_MODULE_66___default.a.title):"新建模块-"+_settings__WEBPACK_IMPORTED_MODULE_66___default.a.title,i.dcb_attrs=JSON.parse(i.dcb_attrs),i.content=i.dcb_nr,i.type=i.dcb_type,i.name=i.dcb_name,i.attrs=i.dcb_attrs,n.next=15,Object(_api_formula__WEBPACK_IMPORTED_MODULE_64__["d"])({page:1,pageSize:999});case 15:o=n.sent,s=o.data.dataList,console.log(i),i.dcb_attrs=i.dcb_attrs.map((function(e){var t=s.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})),a=(i.dcb_nr.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()})),i.dcb_attrs=i.dcb_attrs.filter((function(e){return a.includes(e.id)})),t.coms=[i],n.next=27;break;case 24:n.prev=24,n.t0=n["catch"](0),console.error("加载模板信息失败:",n.t0);case 27:case"end":return n.stop()}}),n,null,[[0,24]])})))()},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(){var e=this;this.$confirm("是否要关闭文档?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$router.back()})).catch((function(){e.$message({type:"info",message:"已取消"})}))},loadArticle:function(e){var t=this;t.onLoadArticle(e)},handleDragStart:function(e){var t={};if("article"==e.target.dataset.type){var n=e.target.dataset.index;t={optType:e.target.dataset.type,item:this.articleList[n]}}else{var r=e.target.dataset.index,i=e.target.dataset.subIndex,o=this.categoryList[r].dataList[i];delete o.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"])({},o),{},{optType:e.target.dataset.type,key:"addNew",attrs:JSON.parse(o.attrs)})}e.dataTransfer.setData("item",JSON.stringify(t)),this.operation="drag"},onRebuild:function(e){try{var t=JSON.parse(JSON.stringify(e));t.forEach((function(e){Array.isArray(e.dcb_attrs)||(e.dcb_attrs=[]),Array.isArray(e.attrs)||(e.attrs=[]),e.content=e.content||e.dcb_nr||"",e.dcb_nr=e.content||e.dcb_nr||"",e.type=e.dcb_type||e.type,e.name=e.dcb_name||e.name})),this.coms=t,this.saveToLocalStorage()}catch(n){console.error("重建组件时出错:",n),this.$message.error("重建组件失败:"+n.message)}},saveToLocalStorage:function(){try{localStorage.setItem("document_coms",JSON.stringify(this.coms))}catch(e){console.warn("保存到本地存储失败:",e)}},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 n,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 n=e,t.next=3,Object(_api_api__WEBPACK_IMPORTED_MODULE_59__["a"])();case 3:if(r=t.sent,200==r.status){t.next=6;break}return t.abrupt("return");case 6:n.userInfo=r.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 n(){var r,i,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:return n.prev=0,t.loading=!0,t.resetAllTemplateSelections(),n.next=5,Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["g"])(e);case 5:if(r=n.sent,200===r.status){n.next=8;break}throw new Error("Invalid response status");case 8:return t.docAttr={dcm_id:r.data.dcm_id,dcm_type:Number(r.data.dcm_type),dcm_category_id:r.data.dcm_category_id,dcm_title:r.data.dcm_title,content:"",status:r.data.status,is_template:r.data.is_template,linkProduct:r.data.linkProduct,links:r.data.links,linkProject:r.data.linkProject,projects:r.data.projects},t.docForm={dcm_title:r.data.dcm_title,dcm_type:Number(r.data.dcm_type),dcm_category_id:r.data.dcm_category_id},i="string"===typeof r.data.dcm_data?JSON.parse(r.data.dcm_data):r.data.dcm_data,n.next=13,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 n,r;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_64__["d"])({page:1,pageSize:999});case 2:return n=e.sent,r=t.attrs,r.forEach((function(e){if(e&&e.data&&e.data.id){var t=n.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 13:o=n.sent,t.coms=o,console.log("coms",o),"document"===t.type&&void 0!==t.articleId&&(document.title="".concat(t.docAttr.title,"-").concat(_settings__WEBPACK_IMPORTED_MODULE_66___default.a.title)),t.uptadeSearch(),t.initTemplateSelection(),n.next=24;break;case 21:n.prev=21,n.t0=n["catch"](0),console.error("Error in onLoadArticle:",n.t0);case 24:return n.prev=24,t.loading=!1,n.finish(24);case 27:case"end":return n.stop()}}),n,null,[[0,21,24,27]])})))()},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 n(){var r,i,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:return n.prev=0,t.loading=!0,t.resetAllTemplateSelections(),n.next=5,Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["g"])({id:e});case 5:if(r=n.sent,200===r.status&&r.data){n.next=8;break}throw new Error("无效的响应或未收到数据");case 8:return t.docAttr={id:t.docAttr.id,category_id:Number(t.docAttr.category_id),title:r.data.title,content:"",status:r.data.status,is_template:r.data.is_template,linkProduct:r.data.linkProduct||[],links:r.data.links||"",linkProject:r.data.linkProject||[],projects:r.data.projects||""},i=r.data.data?JSON.parse(r.data.data):[],console.log(i),n.next=13,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 n,r,i,o,s,a;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_55__["g"])({id:t.id});case 5:return n=e.sent,e.next=8,Object(_api_formula__WEBPACK_IMPORTED_MODULE_64__["d"])({page:1,pageSize:999});case 8:return r=e.sent,i=n.data.content,o=n.data.attrs?JSON.parse(n.data.attrs).filter((function(e){return"Directory"!==e.type})):[],s=t.attrs.filter((function(e){return"Directory"===e.type})),o=[].concat(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(o),Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(s)),a=(i.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2)})),console.log("contentItems",a),a.forEach((function(e){if(e.startsWith("Directory_")&&!o.some((function(t){return t.id===e}))){var t=e.split("_"),n=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__["a"])(t,3),r=n[1],i=n[2];o.push({type:"Directory",id:e,name:"目录信息",intro:"目录信息",number:"",content:"",level:parseInt(i),moduleIndex:parseInt(r)})}})),o=o.map((function(e){if("formual"===e.type&&e.data&&e.data.id){var t=r.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"])({},n.data),{},{attrs:o,content:i}));case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 13:o=n.sent,t.coms=o.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_66___default.a.title)),t.uptadeSearch(),t.initTemplateSelection(),n.next=26;break;case 22:n.prev=22,n.t0=n["catch"](0),console.error("加载模板信息时出错:",n.t0),t.$message.error("加载模板信息时出错,请稍后重试");case 26:return n.prev=26,t.loading=!1,n.finish(26);case 29:case"end":return n.stop()}}),n,null,[[0,22,26,29]])})))()},onRemove:function(e){var t=this.coms[e];if(this.coms.splice(e,1),t.dcb_id){var n=this.categoryList.flatMap((function(e){return e.templates||[]})).find((function(e){return e.dcb_id===t.dcb_id}));n&&this.updateTemplateSelection(n,!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_49__["m"])(t.docAttr).then((function(e){200===e.status&&(t.docAttr.id=e.data,t.$alert("文档更新成功"),t.docVisible=!1,t.docForm={dcm_title:"",dcm_type:"",dcm_category_id:""},t.searchArticle())})):Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["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:"",dcm_category_id:""},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_49__["m"])(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_49__["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 n=this,r=n.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"])({},r),{},{attrs:JSON.parse(r.attrs)});delete i.category,n.coms.push(i),n.comIndex=n.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":var n=t.coms[t.comIndex];if(n&&e.content){var r={type:"ProductAttr",id:e.content.id,dataId:"",name:"商品属性",intro:"商品属性",content:e.content.content||"",attrs:e.content.attrs};if(n.attrs.push(r),t.insertCmd={content:"{{"+r.id+"}}"},e.content.attrs.productInfo){var i=e.content.attrs.productInfo;t.docAttr.linkProduct||(t.docAttr.linkProduct=[]),t.docAttr.linkProduct.some((function(e){return e.dcp_p_no===i.dcp_p_no}))||t.docAttr.linkProduct.push(i)}}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],n="val"+Date.now(),r={type:"variableNull",id:n,dataId:"",name:"非变量",intro:"",content:"请输入",data:""};t.attrs.push(r),"TextArea"==t.type?e.insertCmd={content:"{{"+r.id+"}}"}:e.comIndex>=0&&e.setTableData(r.id)},insertAI:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var n=t.coms[t.comIndex],r={type:"ai",id:"ai"+(n.attrs.length+1),dataId:"",name:"AI",intro:"插入AI",content:e.content.result,search:e.content.searchTerm};n.attrs.push(r),"TextArea"==n.type&&(t.insertCmd={content:"{{"+r.id+"}}"})},insertProductAttr:function(){var e=this;if(e.comIndex<0)return e.$alert("请选择插入图层"),!1;var t=e.coms[e.comIndex];if(!t)return e.$alert("请先添加文档内容"),!1;this.showProductAttr=!0},insertDirectory:function(e){var t=this;if(this.comIndex<0)this.$message.warning("请选择插入图层");else{var n=this.coms[this.comIndex],r=e.content.level||1;try{var i=this.generateDirectoryItem(this.comIndex,r),o=i.number,s=i.content;console.log(o);var a={type:"Directory",id:"Directory_".concat(this.comIndex,"_").concat(r,"_").concat(Date.now()),name:"目录信息",intro:"目录信息",number:o,content:s||"新建目录项",level:r,moduleIndex:this.comIndex},l=this.findInsertPosition(n.attrs,a);n.attrs.splice(l,0,a),this.insertCmd={content:"{{".concat(a.id,"}}")},this.updateCatalog(this.coms),this.$nextTick((function(){t.$forceUpdate()}))}catch(c){console.error("Error inserting directory:",c),this.$message.error("插入目录失败,请重试")}}},findInsertPosition:function(e,t){var n=e.filter((function(e){return"Directory"===e.type}));if(!n.length)return e.length;for(var r=0;r<n.length;r++){var i=n[r];if(t.level<i.level||t.level===i.level&&this.compareNumbers(t.number,i.number)<0)return e.indexOf(i)}return e.length},compareNumbers:function(e,t){for(var n=e.split(".").map(Number),r=t.split(".").map(Number),i=0;i<Math.max(n.length,r.length);i++){var o=n[i]||0,s=r[i]||0;if(o!==s)return o-s}return 0},findParentNumber:function(e,t){if(t<=1)return(e+1).toString();var n=this.coms[e];if(!n||!n.attrs)return"";var r=n.attrs.filter((function(e){return"Directory"===e.type&&e.level<t})).sort((function(e,t){for(var n=e.number.split(".").map(Number),r=t.number.split(".").map(Number),i=0;i<Math.min(n.length,r.length);i++)if(n[i]!==r[i])return n[i]-r[i];return n.length-r.length})),i=r[r.length-1];return i?i.number:(e+1).toString()},generateDirectoryItem:function(e,t){var n,r=this.coms[e],i=r.attrs.filter((function(e){return"Directory"===e.type&&e.level===t})),o=this.findParentNumber(e,t),s=i.length;return n=1===t?(e+1).toString():"".concat(o,".").concat(s+1),{number:n,content:"第".concat(n,"章")}},insertNew:function(e){if(this.coms.push(e),e.dcb_id){var t=this.categoryList.flatMap((function(e){return e.templates||[]})).find((function(t){return t.dcb_id===e.dcb_id}));t&&this.updateTemplateSelection(t,!0)}},insertPager:function(){var e=this;if(e.comIndex<0)return e.$alert("请选择插入图层"),!1;var t=e.coms[e.comIndex],n={type:"pager",id:"pager"+(t.attrs.length+1),name:"分页符",intor:"强制分页",content:""};t.attrs.push(n),"TextArea"==t.type&&(e.insertCmd={content:"<div>{{"+n.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=[],n=e;n<=e+25;n++)t.push(String.fromCharCode(n));return t},insertConstant:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var n=t.coms[t.comIndex],r={type:"constant",id:e.content.code+(n.attrs.length+1),dataId:e.id,name:e.content.code,intro:e.content.intro,content:e.content.value,data:e.content};n.attrs.push(r),"TextArea"==n.type?t.insertCmd={content:"{{"+r.id+"}}"}:t.comIndex>=0&&t.setTableData(r.id)},insertVariable:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var n=t.coms[t.comIndex],r={type:"variable",id:e.content.code+(n.attrs.length+1),dataId:e.id,name:e.content.code,intro:e.content.intro,content:e.content.value,data:e.content};n.attrs.push(r),"TextArea"==n.type?t.insertCmd={content:"{{"+r.id+"}}"}:t.comIndex>=0&&t.setTableData(r.id)},insertSourceData:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var n=t.coms[t.comIndex],r={type:"sourceData",id:"sourceData"+(n.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};n.attrs.push(r),"TextArea"==n.type&&(t.insertCmd={content:"{{"+r.id+"}}"})},insertFormual:function(e){var t=this;if(t.comIndex<0)return t.$alert("请选择插入图层"),!1;var n=t.coms[t.comIndex],r={type:"formual",id:"formual"+(n.attrs.length+1),dataId:e.id,name:e.content.name,intro:e.content.intro,formula:e.content.formula,content:0,data:e.content};n.attrs.push(r),"TextArea"==n.type?t.insertCmd={content:"{{"+r.id+"}}"}:t.comIndex>=0&&t.setTableData(r.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 n,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 n=e,t.prev=1,t.next=4,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["j"])({page:1,pageSize:99,parent_id:0,status:5});case 4:if(r=t.sent,200==r.status){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,Promise.all(r.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 r,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,n.getTemplateList(t.id);case 2:return r=e.sent,i=r.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:n.categoryList=t.sent,n.categoryList=n.categoryList.filter((function(e){return e.templates&&e.templates.length>0})),console.log("处理后的分类数据:",n.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 n(){var r,i;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:return t,n.next=3,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["i"])({page:1,pageSize:999,category_id:e,status:5});case 3:if(r=n.sent,200==r.status){n.next=6;break}return n.abrupt("return",[]);case 6:return i=r.data.dataList.map((function(e){try{e.dcb_attrs?e.attrs="string"===typeof e.dcb_attrs?JSON.parse(e.dcb_attrs):e.dcb_attrs:e.attrs?e.attrs="string"===typeof e.attrs?JSON.parse(e.attrs):e.attrs:e.attrs=[],e.content=e.dcb_nr||e.content||"";var t=(e.content.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()}));t.length>0&&(e.attrs=Array.isArray(e.attrs)?e.attrs.filter((function(e){return e&&e.id&&t.includes(e.id)})):[]),Array.isArray(e.attrs)||(e.attrs=[])}catch(n){console.error("Error processing template item:",n,e),e.attrs=[]}return e})),console.log("处理后的数据列表:",i),n.abrupt("return",i);case 9:case"end":return n.stop()}}),n)})))()},searchArticle: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 n,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 t.prev=0,t.next=3,Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["j"])({page:1,pageSize:999});case 3:if(n=t.sent,200===n.status){t.next=6;break}return t.abrupt("return");case 6:return t.next=8,Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["i"])({page:1,pageSize:99,isContentShow:!0});case 8:if(r=t.sent,200===r.status){t.next=11;break}return t.abrupt("return");case 11:e.schemeData=n.data.dataList.map((function(e){return{label:e.name,id:e.id,children:r.data.dataList.filter((function(t){return t.dcm_category_id===e.id})).map((function(e){return{label:e.dcm_title,id:e.dcm_id,type:"document"}}))}})),e.expandedKeys=e.schemeData.map((function(e){return e.id})),console.log("Processed schemeData:",e.schemeData),t.next=20;break;case 16:t.prev=16,t.t0=t["catch"](0),console.error("Error processing document data:",t.t0),e.$message.error("获取文档数据失败");case 20:case"end":return t.stop()}}),t,null,[[0,16]])})))()},isTemplateUsed:function(e){var t=this.coms.some((function(t){return t.dcb_id===e.dcb_id}));t&&(e.selected=!0,this.categoryList.forEach((function(t){var n,r=null===(n=t.templates)||void 0===n?void 0:n.find((function(t){return t.dcb_id===e.dcb_id}));r&&(r.selected=!0)})))},handleTemplateSelect:function(e,t,n){t.selected=n,this.categoryList.forEach((function(r){if(r.id!==e.id){var i,o=null===(i=r.templates)||void 0===i?void 0:i.find((function(e){return e.dcb_id===t.dcb_id}));o&&(o.selected=n)}}))},initTemplateSelection:function(){var e=this;this.resetAllTemplateSelections(),this.coms.forEach((function(t){e.categoryList.forEach((function(e){var n,r=null===(n=e.templates)||void 0===n?void 0:n.find((function(e){return e.dcb_id===t.dcb_id}));r&&(r.selected=!0)}))}))},handleDragEnd:function(e){if(e&&e.item&&"clone"===e.pullMode){var t=e.item.dataset;if(t){var n=e.item.getAttribute("data-template-id");if(n){var r=this.categoryList.flatMap((function(e){return e.templates||[]})).find((function(e){return e.dcb_id===n}));r&&this.updateTemplateSelection(r,!0)}}}},updateTemplateSelection:function(e,t){this.categoryList.forEach((function(n){var r,i=null===(r=n.templates)||void 0===r?void 0:r.find((function(t){return t.dcb_id===e.dcb_id}));i&&(i.selected=t)}))},resetAllTemplateSelections:function(){this.categoryList.forEach((function(e){e.templates&&e.templates.forEach((function(e){e.selected=!1}))}))},handleSearch: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 n,r,i;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:if(e.searchKey.trim()){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,e.loading=!0,t.next=6,Object(_api_document__WEBPACK_IMPORTED_MODULE_49__["i"])({page:1,pageSize:999,dcm_title:e.searchKey.trim()});case 6:n=t.sent,200===n.status&&(r=n.data.dataList.map((function(e){return{id:e.dcm_id,label:e.dcm_title,children:null}})),i={id:"search-result",label:"搜索结果",children:r},e.schemeData=[i],e.expandedKeys=["search-result"].concat(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(r.map((function(e){return e.id})))),e.$nextTick((function(){e.$refs.documentTree&&(e.$refs.documentTree.store.defaultExpandedKeys=e.expandedKeys,e.$refs.documentTree.updateKeyChildren())})),0===r.length&&e.$message.info("未找到匹配的文档")),t.next=14;break;case 10:t.prev=10,t.t0=t["catch"](2),console.error("搜索文档失败:",t.t0),e.$message.error("搜索失败,请重试");case 14:return t.prev=14,e.loading=!1,t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[2,10,14,17]])})))()},handleClear: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(){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.searchKey="",e.expandedKeys=[],t.next=4,e.searchArticle();case 4:e.$nextTick((function(){e.$refs.documentTree&&(e.$refs.documentTree.store.defaultExpandedKeys=[],e.$refs.documentTree.updateKeyChildren())}));case 5:case"end":return t.stop()}}),t)})))()},handleResourceSearch: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 n,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:if(e.templateSearchKey.trim()){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["i"])({page:1,pageSize:999,dcb_name:e.templateSearchKey.trim()});case 5:n=t.sent,200===n.status&&(e.originalTemplateList=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(e.categoryList),r=n.data.dataList.map((function(e){e.attrs||(e.attrs="[]");try{e.attrs="string"===typeof e.attrs?JSON.parse(e.attrs):e.attrs}catch(t){console.error("Error parsing template attrs:",t),e.attrs=[]}return e})),e.categoryList=[{id:"search-results",name:"搜索结果",templates:r.map((function(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"])({},t),{},{selected:e.coms.some((function(e){return e.dcb_id===t.dcb_id}))})}))}]),t.next=13;break;case 9:t.prev=9,t.t0=t["catch"](2),console.error("搜索模板失败:",t.t0),e.$message.error("搜索失败,请重试");case 13:case"end":return t.stop()}}),t,null,[[2,9]])})))()},handleResourceClear:function(){this.resourceSearchKey="",this.initCategoryList()},handleTemplateSearch: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 n,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 console.log(12),t.prev=1,t.next=4,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["i"])({page:1,pageSize:999,dcb_name:e.templateSearchKey.trim()});case 4:n=t.sent,200===n.status&&(e.originalTemplateList=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(e.categoryList),r=n.data.dataList.map((function(e){e.attrs||(e.attrs="[]");try{e.attrs="string"===typeof e.attrs?JSON.parse(e.attrs):e.attrs}catch(t){console.error("Error parsing template attrs:",t),e.attrs=[]}return e})),e.categoryList=[{id:"search-results",name:"搜索结果",templates:r.map((function(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"])({},t),{},{selected:e.coms.some((function(e){return e.dcb_id===t.dcb_id}))})}))}]),t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](1),console.error("搜索模板失败:",t.t0),e.$message.error("搜索失败,请重试");case 12:case"end":return t.stop()}}),t,null,[[1,8]])})))()},handleTemplateClear: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(){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:if(e.templateSearchKey="",!(e.originalTemplateList.length>0)){t.next=5;break}e.categoryList=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__["a"])(e.originalTemplateList),t.next=7;break;case 5:return t.next=7,e.initCategoryList();case 7:case"end":return t.stop()}}),t)})))()},isProductLinked:function(e){return this.docAttr.linkProduct&&this.docAttr.linkProduct.some((function(t){return t.dcp_p_no===e}))},updateDocAttr:function(){this.docAttr.linkProduct&&this.docAttr.linkProduct.length>0&&(this.docAttr.links=JSON.stringify(this.docAttr.linkProduct))},getCategory:function(e){if(Array.isArray(e)&&(e=e[e.length-1]),!e)return"";var t=function(n){if(!n||!Array.isArray(n))return null;var r,i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(Number(o.id)===Number(e)||Number(o.dcb_category_id)===Number(e))return o.name||o.dcb_name;if(o.templates){var s=o.templates.find((function(t){return Number(t.dcb_category_id)===Number(e)||Number(t.category_id)===Number(e)}));if(s)return o.name}if(o.children){var a=t(o.children);if(a)return a}}}catch(l){i.e(l)}finally{i.f()}return null},n=t(this.categoryList);return n||(e?String(e):"")},updateDirectoryNumbers:function(){var e=this;this.coms.forEach((function(t,n){if(t.attrs){var r=t.attrs.filter((function(e){return"Directory"===e.type}));r.forEach((function(t,r){var i=e.generateLevelPrefix(n,t.level);e.$set(t,"number",i)}))}}))},onDragComplete:function(){var e=this;this.$nextTick((function(){e.coms.some((function(e){return e.attrs&&e.attrs.some((function(e){return"Directory"===e.type}))}))&&e.updateDirectoryNumbers(),e.$emit("onRebuild",e.coms)}))},onDragEnd:function(){this.$forceUpdate()},onAdd:function(e){var t=this;console.log("Added new module:",e.added),this.$nextTick((function(){t.coms.some((function(e){return e.attrs&&e.attrs.some((function(e){return"Directory"===e.type}))}))&&t.updateDirectoryNumbers(),t.$emit("onRebuild",t.coms)}))},onSaveTemplate: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 n(){var r,i,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(r={},Object.keys(e).forEach((function(t){t.startsWith("dcb_")&&(r[t]=e[t])})),r.dcb_nr=e.content,r.dcb_attrs=JSON.stringify(e.attrs),r.dcb_type=e.type,r.dcb_name=e.name,Array.isArray(e.category_id)?r.category_id=e.category_id[e.category_id.length-1]:r.category_id=e.category_id,r.status=5,n.prev=8,e.dcb_id&&!t.saveAs){n.next=16;break}return n.next=12,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["a"])(r);case 12:i=n.sent,200===i.code&&(e.id=i.data,t.$alert("模块信息保存成功"),t.saveAs=!1),n.next=20;break;case 16:return n.next=18,Object(_api_template__WEBPACK_IMPORTED_MODULE_55__["l"])(r);case 18:o=n.sent,200===o.code&&t.$alert("模块信息更新成功");case 20:e.selDisabled=!1,e.valDisabled=!1,t.$forceUpdate(),n.next=29;break;case 25:n.prev=25,n.t0=n["catch"](8),console.error("保存模板失败:",n.t0),t.$message.error("保存失败:"+n.t0.message);case 29:case"end":return n.stop()}}),n,null,[[8,25]])})))()},onEdit:function(e,t){var n=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 i,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:if(r.prev=0,!n.isSaving){r.next=3;break}return r.abrupt("return");case 3:if(n.isSaving=!0,i=JSON.parse(JSON.stringify(n.coms[e])),2!==t){r.next=12;break}if(n.filterUnusedAttrs(i),o=n.$refs.wordEditor,console.log(o),!o||!o[0]){r.next=12;break}return r.next=12,o[0].save();case 12:return n.coms=n.coms.map((function(n,r){return r===e?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"])({},i),{},{isEdit:t,attrs:i.attrs||[],dcb_attrs:i.dcb_attrs||[]}):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),{},{isEdit:2})})),n.comIndex=e,r.next=16,n.onRebuild(n.coms);case 16:r.next=21;break;case 18:r.prev=18,r.t0=r["catch"](0),console.error("切换模式失败:",r.t0);case 21:return r.prev=21,n.isSaving=!1,r.finish(21);case 24:case"end":return r.stop()}}),r,null,[[0,18,21,24]])})))()},filterUnusedAttrs:function(e){if(e.content&&e.attrs){var t=(e.content.match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()}));e.attrs=e.attrs.filter((function(e){var n=["ProductAttr","variableNull"];return!!n.includes(e.type)||t.includes(e.id)})),e.dcb_attrs&&(e.dcb_attrs=e.dcb_attrs.filter((function(e){var n=["ProductAttr","variableNull"];return!!n.includes(e.type)||t.includes(e.id)})))}},onRemoveMdel:function(e){var t=this,n=this.coms[e];this.$confirm("确认删除该模块?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){t.coms.splice(e,1),n.dcb_id&&t.categoryList.forEach((function(e){var r=(e.templates||[]).find((function(e){return e.dcb_id===n.dcb_id}));r&&(t.updateTemplateSelection(r,!1),r.selected=!1)})),t.$message({type:"success",message:"删除成功!"})})).catch((function(){t.$message({type:"info",message:"已取消删除"})}))},filterAttrs:function(e){if(e.content||e.dcb_nr){var t=e.attrs||[],n=e.dcb_attrs||[],r=((e.content||e.dcb_nr).match(/{{([^}]+)}}/g)||[]).map((function(e){return e.slice(2,-2).trim()}));r.length>0&&(e.attrs=t.filter((function(e){return e&&(r.includes(e.id)||"ProductAttr"===e.type||"variableNull"===e.type)})),e.dcb_attrs&&(e.dcb_attrs=n.filter((function(e){return e&&(r.includes(e.id)||"ProductAttr"===e.type||"variableNull"===e.type)}))))}}},Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(_methods,"handleDragStart",(function(e,t){1===t.level?e.dataTransfer.setData("text/plain",JSON.stringify({moduleIndex:t.moduleIndex,label:t.label})):e.preventDefault()})),"handleDrop",(function(e,t){e.preventDefault();try{var n=JSON.parse(e.dataTransfer.getData("text/plain")),r=n.moduleIndex,i=t.moduleIndex;if(r===i)return;var o=this.coms.splice(r,1)[0];this.coms.splice(i,0,o),this.updateDirectoryNumbers(),this.handleClick({name:"catalog"})}catch(s){console.error("Drop handling error:",s)}})),"updateDirectoryNumbers",(function(){this.coms.forEach((function(e,t){var n=e.attrs.filter((function(e){return"Directory"===e.type}));n.forEach((function(e){e.moduleIndex=t;var n=e.number.split(".");n[0]=(t+1).toString(),e.number=n.join("."),e.content=e.content.replace(/^\d+/,t+1)}))}))})),"allowDrop",(function(e,t,n){return"inner"!==n})),"allowDrag",(function(e){return 1===e.level})),"handleDragEnd",(function(e){console.log("Drag end:",e)})),"handleDragEnd",(function(e,t,n){var r=this;if(t&&n){console.log("拖拽节点:",e.data),console.log("目标节点:",t.data),console.log("放置类型:",n);var i=e.data.moduleIndex,o=t.data.moduleIndex;if("number"===typeof i&&"number"===typeof o){var s=o;"next"===n&&s++,i<s&&s--,console.log("移动模块:",{from:i,to:s,type:n});var a=this.coms.splice(i,1),l=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__["a"])(a,1),c=l[0];this.coms.splice(s,0,c),this.$nextTick((function(){r.updateModulesAndDirectories(),r.$forceUpdate()}))}else console.error("无法确定模块索引")}else console.log("无效的拖放操作")})),"findModuleIndex",(function(e){if(console.log("查找模块索引:",e),"number"===typeof e.moduleIndex)return e.moduleIndex;if(e.number){var t=parseInt(e.number.split(".")[0]);if(!isNaN(t))return t-1}return this.coms.findIndex((function(t){var n,r=null===(n=t.attrs)||void 0===n?void 0:n.find((function(t){return"Directory"===t.type&&(1===t.level&&(t.id===e.id||(t.moduleIndex===e.moduleIndex||!(!t.number||!e.number||t.number!==e.number))))}));return!!r}))})),"updateModulesAndDirectories",(function(){var e=this;console.log("开始更新模块和目录结构"),console.log("更新前的模块列表:",JSON.parse(JSON.stringify(this.coms))),this.coms.forEach((function(e,t){if(e.attrs){var n=e.attrs.filter((function(e){return"Directory"===e.type}));n.forEach((function(e){e.moduleIndex=t;var n=e.number.split(".");n[0]=(t+1).toString();var r=n.join(".");if(e.number=r,e.content){var i=e.content.split(" ");i[0]=r,e.content=i.join(" ")}}))}})),console.log("更新后的模块列表:",JSON.parse(JSON.stringify(this.coms))),this.$nextTick((function(){e.handleClick({name:"catalog"})}))})),"generateCatalogData",(function(){this.handleClick({name:"catalog"})})),Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(_methods,"toggleSchemePanel",(function(){this.isSchemeCollapsed=!this.isSchemeCollapsed})),"toggleResourcePanel",(function(){this.isResourceCollapsed=!this.isResourceCollapsed})),"updateCatalog",(function(e){var t=this;try{if(!Array.isArray(e)||0===e.length)return void(this.catalogData=[]);var n=[],r=new Map;e.forEach((function(e,i){if(e&&e.attrs){var o=e.attrs.filter((function(e){return e&&"Directory"===e.type})).sort((function(e,n){return e.level!==n.level?e.level-n.level:t.compareNumbers(e.number,n.number)}));o.forEach((function(e){if(e){var t=e.content||e.name||"",o={id:"".concat(i,"-").concat(e.id||""),label:"".concat(t).trim(),level:e.level||1,moduleIndex:i,number:e.number,children:[]};if(1===e.level)n.push(o),r.set(1,o);else{var s=e.level-1,a=r.get(s);a&&(a.children||(a.children=[]),a.children.push(o))}r.set(e.level,o)}}))}})),this.catalogData=this.sortCatalogDataRecursive(n)}catch(i){console.error("Error updating catalog:",i),this.catalogData=[]}})),"sortCatalogDataRecursive",(function(e){var t=this;return e.sort((function(e,n){return t.compareNumbers(e.number,n.number)})).map((function(e){return e.children&&e.children.length>0&&(e.children=t.sortCatalogDataRecursive(e.children)),e}))})),"generateDirectoryNumber",(function(e,t){var n="";if(1===t)n=(e+1).toString();else{var r=this.findParentNumber(e,t),i=this.getSiblingDirectories(e,t,r),o=i.length+1;n="".concat(r,".").concat(o)}return n})),"getSiblingDirectories",(function(e,t,n){for(var r=[],i=0;i<e;i++){var o=this.coms[i];o.attrs&&o.attrs.forEach((function(e){"Directory"===e.type&&e.level===t&&e.number.startsWith(n)&&r.push(e)}))}return r})),"updateComponentDirectories",(function(e){var t=this;e.forEach((function(e,n){e.attrs&&e.attrs.forEach((function(e){if("Directory"===e.type){var r=t.generateDirectoryNumber(n,e.level);e.number=r,e.content&&!e.content.includes("未命名目录")||(e.content=e.name||"第".concat(r,"章")),e.moduleIndex=n}}))}))})),"handleDragEnd",(function(e,t,n){var r=this;if(t&&n){var i=this.findModuleIndex(e.data),o=this.findModuleIndex(t.data);if("number"===typeof i&&"number"===typeof o){var s=o;"next"===n&&s++,i<s&&s--;var a=this.coms.splice(i,1),l=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__["a"])(a,1),c=l[0];this.coms.splice(s,0,c),this.$nextTick((function(){r.updateCatalog(r.coms),r.$forceUpdate()}))}else console.error("无法确定模块索引")}else console.log("无效的拖放操作")})),"findParentDirectory",(function(e,t){if(!t||!t.includes("."))return null;var n=t.split(".").slice(0,-1).join("."),r=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 o=t.value;if(o.number===n)return o;if(o.children&&o.children.length>0){var s=r(o.children);if(s)return s}}}catch(a){i.e(a)}finally{i.f()}return null};return r(e)})),"highlightCurrentCatalogItem",(function(e){var t=this;if(this.$refs.catalogTree){var n=function(r){var i,o=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(r);try{for(o.s();!(i=o.n()).done;){var s=i.value;if(s.moduleIndex===e)return t.$refs.catalogTree.setCurrentKey(s.id),!0;if(s.children&&s.children.length&&n(s.children))return!0}}catch(a){o.e(a)}finally{o.f()}return!1};n(this.catalogData)}})),Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(_methods,"handleCatalogClick",(function(e){e.isEditing||console.log("点击的目录项:",e)})),"onSetComs",(function(e){this.coms=e,this.updateCatalog(e)})),"handleDragEnd",(function(){var e=this;this.$nextTick((function(){e.updateCatalog(e.coms)}))})),"sortCatalogData",(function(e){if(!Array.isArray(e))return[];var t=function(e){return e.sort((function(e,t){for(var n=e.number.split(".").map(Number),r=t.number.split(".").map(Number),i=0;i<Math.min(n.length,r.length);i++)if(n[i]!==r[i])return n[i]-r[i];return n.length-r.length})).map((function(e){return e.children&&e.children.length>0&&(e.children=t(e.children)),e}))};return t(e)})),"allowDrag",(function(e){return!0})),"allowDrop",(function(e,t,n){return e.data.level===t.data.level})),"handleDragEnd",(function(e,t,n,r){if(t){var i=e.data.moduleIndex,o=t.data.moduleIndex;if(e.data.level===t.data.level){var s=this.coms[i];this.coms.splice(i,1);var a="before"===n?o:o+1;this.coms.splice(a,0,s),this.updateDirectoryNumbers()}}})),"updateDirectoryNumbers",(function(){var e=this;this.coms.forEach((function(t,n){var r=t.attrs.filter((function(e){return"Directory"===e.type}));r.forEach((function(t){var r=t.level,i=e.generateNumberedContent(n,r),o=i.number;i.content;t.number=o,t.content=t.content.replace(/^[\d.]+/,o)}))})),this.$nextTick((function(){e.updateCatalog(e.coms),e.$forceUpdate()}))})),"handleStartEdit",(function(e){var t=this;this.$set(e,"isEditing",!0),this.$set(e,"editingContent",e.label.split(" ").slice(1).join(" ")),this.$nextTick((function(){t.$refs.editInput&&t.$refs.editInput[0]&&t.$refs.editInput[0].focus()}))})),"handleEditComplete",(function(e){if(e.isEditing){var t=e.label.split(" ")[0];e.label="".concat(t," ").concat(e.editingContent);var n=e.moduleIndex,r=this.coms[n];if(r){var i=r.attrs.find((function(e){return"Directory"===e.type&&e.number===t}));i&&(i.content=e.editingContent)}this.$delete(e,"isEditing"),this.$delete(e,"editingContent"),this.$forceUpdate()}})),Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__["a"])(_methods,"updateDirectoryDisplay",(function(e){var t=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})}));t.forEach((function(t){var n=new RegExp("{{".concat(t.id,"}}"),"g");e.content=e.content.replace(n,"".concat(t.number," {{").concat(t.id,"}}"))}))})),"handleDirectoryDragEnd",(function(e,t){console.log("Drag end:",e),this.handleDirectorySave(t)})),"onInsertProductAttr",(function(e){var t=this;if(this.comIndex<0)return this.$message.warning("请选择插入图层"),!1;var n=this.coms[this.comIndex];if(!n)return this.$message.warning("请先添加文档内容"),!1;var r="ProductAttr_".concat(Date.now()),i={type:"ProductAttr",id:r,name:"商品属性",intro:"商品属性",content:e.content||"",attrs:e.attrs||{}};return n.attrs.push(i),this.insertCmd={content:"{{".concat(r,"}}")},e.productInfo&&(this.docAttr.linkProduct||(this.docAttr.linkProduct=[]),this.docAttr.linkProduct.some((function(t){return t.dcp_p_no===e.productInfo.dcp_p_no}))||this.docAttr.linkProduct.push(e.productInfo)),this.showProductAttr=!1,this.$nextTick((function(){t.$forceUpdate()})),!0})),"parseDirectoryContent",(function(e){var t=this;if(!e)return"";var n=/{{(Directory_\d+_\d+_\d+)}}/g;return e.replace(n,(function(e,n){var r,i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_3__["a"])(t.coms);try{for(i.s();!(r=i.n()).done;){var o=r.value,s=o.attrs.find((function(e){return"Directory"===e.type&&e.id===n}));if(s)return"".concat(s.number," ").concat(s.content)}}catch(a){i.e(a)}finally{i.f()}return e}))})),"handlePreview",(function(){var e=this;this.showViewForm=!0;var t=this.coms.map((function(t){var n=JSON.parse(JSON.stringify(t));return n.content&&(n.content=e.parseDirectoryContent(n.content)),n.attrs&&(n.attrs=n.attrs.map((function(e){return"Directory"===e.type?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),{},{content:"".concat(e.number," ").concat(e.content)}):e}))),n}));this.previewData=t})))}},d17b:function(e,t,n){e.exports=n("e372").Transform},d1c8:function(e,t,n){var r=n("3fb5");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof o},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,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},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,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.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},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1444. //! moment.js locale configuration
  1445. var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=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 n[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,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r}))},d287:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("32d8"),i=n("9688");class o extends r.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,n){i.characterData_replaceData(this,e,t,n)}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=o},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1446. //! moment.js locale configuration
  1447. 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,n){"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,n){"use strict";n.d(t,"a",(function(){return S}));n("d9e2"),n("14d9");var r=n("351d"),i=n("81ea"),o=n("24b5"),s=n("76ab"),a=n("491c"),l=n("3d76"),c=n("169f"),u=n("87d6");function d(e,t){p(e,t),t.add(e)}function h(e,t,n){p(e,t),t.set(e,n)}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,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}const b=new Map([["plugin",o["c"]],["cell-type",s["c"]],["editor",a["d"]],["renderer",l["c"]],["validator",c["c"]]]),v="base",w=[];let y=null;var R=new WeakMap,M=new WeakSet;class S{static get PLUGIN_KEY(){return v}static get SETTING_KEYS(){return[this.PLUGIN_KEY]}constructor(e){d(this,M),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,R,{}),Object(r["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[n,r]=t.split(":");if(!b.has(n))throw new Error(`Unknown plugin dependency type "${n}" was found.`);b.get(n)(r)||e.push(` - ${r} (${n})`)}),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(o["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 n=0===y.length;if(n){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,n){g(R,this)[e]=g(R,this)[e]||[];const r=g(R,this)[e];this.hot.addHook(e,t,n),r.push(t),g(R,this)[e]=r}removeHooks(e){Object(i["arrayEach"])(g(R,this)[e]||[],t=>{this.hot.removeHook(e,t)})}clearHooks(){const e=g(R,this);Object(r["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=_(M,this,E).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(r["objectEach"])(this,(e,t)=>{"hot"!==t&&(this[t]=null)}),delete this.t,delete this.hot}}function E(e){if(!e)return!1;const t=this.constructor.SETTING_KEYS;if("boolean"===typeof t)return t;for(let n=0;n<t.length;n++)if(void 0!==e[t[n]])return!0;return!1}},d424:function(e,t,n){"use strict";var r=n("3fb5"),i=n("8707").Buffer,o=n("6430"),s=i.alloc(128),a=64;function l(e,t){o.call(this,"digest"),"string"===typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>a?t=e(t):t.length<a&&(t=i.concat([t,s],a));for(var n=this._ipad=i.allocUnsafe(a),r=this._opad=i.allocUnsafe(a),l=0;l<a;l++)n[l]=54^t[l],r[l]=92^t[l];this._hash=[n]}r(l,o),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,n){e.exports=o;var r=n("faa1").EventEmitter,i=n("3fb5");function o(){r.call(this)}i(o,r),o.Readable=n("e372"),o.Writable=n("2c63"),o.Duplex=n("0960"),o.Transform=n("d17b"),o.PassThrough=n("c2ae"),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",l));var s=!1;function a(){s||(s=!0,e.end())}function l(){s||(s=!0,"function"===typeof e.destroy&&e.destroy())}function c(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",l),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",c),e.on("error",c),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},d4ab:function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},d550:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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 n=Math.random()<.5;if(n?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 n}}t.CompareCache=r},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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1448. //! moment.js locale configuration
  1449. 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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1450. //! moment.js locale configuration
  1451. 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,n){"use strict";var r=Array.prototype.slice,i=n("d4ab"),o=Object.keys,s=o?function(e){return o(e)}:n("b189"),a=Object.keys;s.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)?a(r.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1452. //! moment.js locale configuration
  1453. 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 n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},d7be:function(e,t,n){},d7ff:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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 n=Math.random()<.5;if(n?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 n}}t.CompareCache=r},d845:function(e,t,n){},d852:function(e,t,n){"use strict";n("d9e2"),n("14d9");var r=n("0716");function i(e,t,n){o(e,t),t.set(e,n)}function o(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=l(e,"string");return"symbol"==typeof t?t:t+""}function l(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;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,n){return e.set(d(e,t),n),n}function d(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;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,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];s(this,"highlight",null),s(this,"from",null),s(this,"to",null),i(this,h,!1),this.highlight=e.clone(),this.from=t.clone(),this.to=n.clone(),u(h,this,r)}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:n}=e,r=this.getOuterTopStartCorner(),i=this.getOuterBottomEndCorner();return r.row<=t&&i.row>=t&&r.col<=n&&i.col>=n}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(),n=this.getOuterBottomEndCorner();return(e.row<t.row||e.col<t.col||e.row>n.row||e.col>n.col)&&(this.from=this._createCellCoords(Math.min(t.row,e.row),Math.min(t.col,e.col)),this.to=this._createCellCoords(Math.max(n.row,e.row),Math.max(n.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 n=this.getOuterTopStartCorner(),r=this.getOuterBottomEndCorner(),i=this.getDirection(),o=e.getOuterTopStartCorner(),s=e.getOuterBottomEndCorner(),a=Math.min(n.row,o.row),l=Math.min(n.col,o.col),c=Math.max(r.row,s.row),u=Math.max(r.col,s.col),d=this._createCellCoords(a,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 r["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)},n={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)},r=[];return t.top===n.top&&r.push("top"),t.right===n.right&&r.push(c(h,this)?"left":"right"),t.bottom===n.bottom&&r.push("bottom"),t.left===n.left&&r.push(c(h,this)?"right":"left"),r}getInner(){const e=this.getOuterTopStartCorner(),t=this.getOuterBottomEndCorner(),n=[];for(let r=e.row;r<=t.row;r++)for(let i=e.col;i<=t.col;i++)this.from.row===r&&this.from.col===i||this.to.row===r&&this.to.col===i||n.push(this._createCellCoords(r,i));return n}getAll(){const e=this.getOuterTopStartCorner(),t=this.getOuterBottomEndCorner(),n=[];for(let r=e.row;r<=t.row;r++)for(let i=e.col;i<=t.col;i++)e.row===r&&e.col===i?n.push(e):t.row===r&&t.col===i?n.push(t):n.push(this._createCellCoords(r,i));return n}forAll(e){const t=this.getOuterTopStartCorner(),n=this.getOuterBottomEndCorner();for(let r=t.row;r<=n.row;r++)for(let i=t.col;i<=n.col;i++){const t=e(r,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 r["a"](e,t,c(h,this))}}t["a"]=p},d8db:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},d938:function(e,t,n){var r=n("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(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},d998:function(e,t,n){"use strict";var r=n("342f");e.exports=/MSIE|Trident/.test(r)},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1454. //! moment.js locale configuration
  1455. 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 n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},dad2:function(e,t,n){"use strict";var r=n("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=r("Set");try{(new t)[e](i(0));try{return(new t)[e](i(-1)),!1}catch(n){return!0}}catch(o){return!1}}},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1456. //! moment.js locale configuration
  1457. var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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,o=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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:r,longMonthsParse:r,shortMonthsParse:r,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 o}))},dc14:function(e,t,n){"use strict";(function(t,r){var i=n("966d");function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){F(t,e)}}e.exports=b;var s,a=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?setImmediate:i.nextTick;b.WritableState=_;var l=Object.create(n("3a7c"));l.inherits=n("3fb5");var c={deprecate:n("b7d1")},u=n("429b"),d=n("a8f0").Buffer,h=("undefined"!==typeof r?r:"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=n("4681");function g(){}function _(e,t){s=s||n("b19a"),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,a=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a: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){T(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 o(this)}function b(e){if(s=s||n("b19a"),!m.call(b,this)&&!(this instanceof s))return new b(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 v(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}function w(e,t,n,r){var o=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(r,s),o=!1),o}function y(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=d.from(t,n)),t}function R(e,t,n,r,i,o){if(!n){var s=y(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else M(e,t,!1,a,r,i,o);return l}function M(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function S(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(P,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),P(e,t))}function E(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function T(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(E(n),t)S(e,n,r,t,i);else{var o=N(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||x(e,n),r?a(C,e,n,o,i):C(e,n,o,i)}}function C(e,t,n,r){n||O(e,t),t.pendingcb--,r(),P(e,t)}function O(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),s=t.corkedRequestsFree;s.entry=n;var a=0,l=!0;while(n)i[a]=n,n.isBuf||(l=!1),n=n.next,a+=1;i.allBuffers=l,M(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{while(n){var c=n.chunk,u=n.encoding,d=n.callback,h=t.objectMode?1:c.length;if(M(e,t,!1,h,c,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function N(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function L(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),P(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 P(e,t){var n=N(t);return n&&(I(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}function D(e,t,n){t.ending=!0,P(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function F(e,t,n){var r=e.entry;e.entry=null;while(r){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}l.inherits(b,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(b,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===b&&(e&&e._writableState instanceof _)}})):m=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,n){var r=this._writableState,i=!1,o=!r.objectMode&&f(e);return o&&!d.isBuffer(e)&&(e=p(e)),"function"===typeof t&&(n=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!==typeof n&&(n=g),r.ended?v(this,n):(o||w(this,r,e,n))&&(r.pendingcb++,i=R(this,r,o,e,t,n)),i},b.prototype.cork=function(){var e=this._writableState;e.corked++},b.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||x(this,e))},b.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(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||D(this,r,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=A.destroy,b.prototype._undestroy=A.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("4362"),n("c8ba"))},dc148:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r;class i{[Symbol.iterator](){return this}next(){return{done:!0,value:null}}}},dc19:function(e,t,n){"use strict";var r=n("cb27").has;e.exports=function(e){return r(e),e}},dc3b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("ff74"),i=n("8d23"),o=n("ad99");class s extends o.BaseWriter{serialize(e,t){const n=r.applyDefaults(t,{format:"map",wellFormed:!1,noDoubleEncoding:!1,group:!1}),o=r.applyDefaults(n,{format:"object",wellFormed:!1,noDoubleEncoding:!1}),s=new i.ObjectWriter(this._builderOptions),a=s.serialize(e,o);return this._convertObject(a)}_convertObject(e){if(r.isArray(e)){for(let t=0;t<e.length;t++)e[t]=this._convertObject(e[t]);return e}if(r.isObject(e)){const t=new Map;for(const n in e)t.set(n,this._convertObject(e[n]));return t}return e}}t.MapWriter=s},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1458. //! moment.js locale configuration
  1459. var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/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],o=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:r,longMonthsParse:r,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 n[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,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},dc6b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("4b7d"),o=n("9af8"),s=n("7ef7"),a=new Map;function l(e,t){}function c(e,t,n,r){}function u(e,t){}function d(e,t,n,i,o){r.dom.features.slots&&(v.call(e,e,t,n,i,o),b.call(e,e,t,n,i,o)),w.call(e,e,t,i,o);for(const r of e._attributeChangeSteps)r.call(e,e,t,n,i,o)}function h(e){}function p(e,t){_.call(e,e,t)}function f(e){return a.has(e)}function m(e){return a.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 n=i.tree_getFollowingNode(e._root,t);if(null!==n&&i.tree_isDescendantOf(e._root,n,!0)&&!i.tree_isDescendantOf(t,n,!0))return void(e._reference=n);if(null===n)return void(e._pointerBeforeReference=!1)}if(null===t._previousSibling)null!==t._parent&&(e._reference=t._parent);else{let n=t._previousSibling,r=i.tree_getFirstDescendantNode(t._previousSibling,!0,!1);while(null!==r)null!==r&&(n=r),r=i.tree_getNextDescendantNode(t._previousSibling,r,!0,!1);e._reference=n}}}function b(e,t,n,r,a){if(o.Guard.isSlot(e)&&"name"===t&&null===a){if(r===n)return;if(null===r&&""===n)return;if(""===r&&null===n)return;e._name=null===r||""===r?"":r,s.shadowTree_assignSlotablesForATree(i.tree_rootNode(e))}}function v(e,t,n,r,i){if(o.Guard.isSlotable(e)&&"slot"===t&&null===i){if(r===n)return;if(null===r&&""===n)return;if(""===r&&null===n)return;e._name=null===r||""===r?"":r,s.shadowTree_isAssigned(e)&&s.shadowTree_assignSlotables(e._assignedSlot),s.shadowTree_assignASlot(e)}}function w(e,t,n,r){"id"===t&&null===r&&(e._uniqueIdentifier=n||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,n){"use strict";e.exports=RangeError},dcca:function(e,t,n){"use strict";n("1034")},dd49:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("a357"),i=n("5d7f"),o=n("7b9c");const s="text";function a(e,t,n,s,a,l,c){r["a"].apply(this,[e,t,n,s,a,l,c]);let u=l;if(!u&&c.placeholder&&(u=c.placeholder),u=Object(o["stringify"])(u),c.trimWhitespace&&(u=u.trim()),c.rendererTemplate){Object(i["empty"])(t);const r=e.rootDocument.createElement("TEMPLATE");r.setAttribute("bind","{{}}"),r.innerHTML=c.rendererTemplate,HTMLTemplateElement.decorate(r),r.model=e.getSourceDataAtRow(n),t.appendChild(r)}else Object(i["fastInnerText"])(t,u)}a.RENDERER_TYPE=s},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,n){var r="h".concat(Math.min(level,6)),i="directory-level-".concat(level);return"<".concat(r,' class="').concat(i,'">').concat(directoryContent,"</").concat(r,">")}))):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,n=document.createElement("span");n.className="size-calculator",n.textContent=t.value||t.placeholder||"0",document.body.appendChild(n);var r=window.getComputedStyle(t);n.style.font=r.font,n.style.fontSize=r.fontSize,n.style.fontWeight=r.fontWeight,n.style.letterSpacing=r.letterSpacing;var i=n.offsetWidth;t.style.width="".concat(i+10,"px"),document.body.removeChild(n)}},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 n(){var r,i,o,s,a,l,c;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:r=t,i=/(\[.*?\]){3}/,o=e.formula,s=new RegExp(i);case 4:if(a=o.match(s),null!=a){n.next=8;break}return n.abrupt("break",22);case 8:return l=a[0],n.prev=9,n.next=12,r.getFormualData(l);case 12:c=n.sent,null===c||void 0===c||isNaN(c)?(console.warn("获取到的数据无效: ".concat(l)),o=o.replace(l,"(0)")):o=o.replace(l,"(".concat(parseFloat(c),")")),n.next=20;break;case 16:n.prev=16,n.t0=n["catch"](9),console.error("处理 ".concat(l," 时出错:"),n.t0),o=o.replace(l,"(0)");case 20:n.next=4;break;case 22:return n.abrupt("return",o);case 23:case"end":return n.stop()}}),n,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 n(){var r,i,o,s,a;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(r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i),s=e.match(o),a=0,!s||"T"!=s[1]){n.next=11;break}return n.next=8,r.getModuleData(s[2],s[3]);case 8:a=n.sent,n.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})))()},updateContent:function(e,t){var n=this.com.attrs.find((function(t){return t.id===e}));n&&(n.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 n(){var r,i,o,s,a,l,c;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:r=t,i=/(\[.*?\]){3}/,o=e.formula,s=new RegExp(i);case 4:if(a=o.match(s),null!=a){n.next=8;break}return n.abrupt("break",18);case 8:return l=a[0],n.next=11,r.getformulaData(l);case 11:return c=n.sent,n.next=14,r.getRemote(c);case 14:c=n.sent,o=o.replace(l,"("+parseFloat(c)+")"),n.next=4;break;case 18:return n.abrupt("return",o);case 19:case"end":return n.stop()}}),n)})))()},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 n(){var r,i,o,s,a;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(r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i),s=e.match(o),a=0,"T"!=s[1]){n.next=9;break}return n.next=8,r.getModuleData(s[2],s[3]);case 8:a=n.sent;case 9:return n.abrupt("return",a);case 10: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_1__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function n(){var r,i,o,s,a,l,c;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:r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i);case 3:if(s=e.match(o),null!=s){n.next=7;break}return n.abrupt("break",17);case 7:if("R"!=s[1]){n.next=15;break}return a=s[4],a=s[4].split(","),n.next=12,r.getRemoteData(s[2],s[3],a[0],a[1]);case 12:l=n.sent,c=s[0],e=e.replace(c,"("+parseFloat(l)+")");case 15:n.next=3;break;case 17:return n.abrupt("return",e);case 18:case"end":return n.stop()}}),n)})))()},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 n(){var r,i,o,s,a,l,c;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:r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i);case 3:if(s=e.match(o),null!=s){n.next=7;break}return n.abrupt("break",17);case 7:if("R"!=s[1]){n.next=15;break}return a=s[4],a=s[4].split(","),n.next=12,r.getRemoteData(s[2],s[3],a[0],a[1]);case 12:l=n.sent,c=s[0],e=e.replace(c,parseFloat(l));case 15:n.next=3;break;case 17:return n.abrupt("return",e);case 18:case"end":return n.stop()}}),n)})))()},getRemoteData:function(e,t,n,r){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 o(){var s,a,l;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 i,0,s={code:e,sheetName:t,row:n,col:r},o.next=6,Object(_api_sourceData__WEBPACK_IMPORTED_MODULE_23__["a"])(s);case 6:if(a=o.sent,200!=a.status){o.next=12;break}if(console.log("result:",a.data),l=parseFloat(a.data.result),isNaN(l)){o.next=12;break}return o.abrupt("return",l);case 12:return o.abrupt("return",0);case 13:case"end":return o.stop()}}),o)})))()},getModuleData:function(e,t){var n=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 i,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(i=n,o=i.coms.filter((function(t){return t.name==e})),!(o.length>0)){r.next=6;break}if(s=o[0].attrs.filter((function(e){return e.name==t})),!(s.length>0)){r.next=6;break}return r.abrupt("return",parseFloat(s[0].content));case 6:return r.abrupt("return",0);case 7:case"end":return r.stop()}}),r)})))()}}}},de23:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-formual"},[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:e.queryForm}},[n("el-form-item",{attrs:{label:"公式名称:"}},[n("el-input",{attrs:{placeholder:"请填写公式名称"},model:{value:e.queryForm.name,callback:function(t){e.$set(e.queryForm,"name",t)},expression:"queryForm.name"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onBtnSearch}},[n("svg-icon",{attrs:{"icon-class":"search"}}),e._v(" 搜索")],1),n("el-button",{attrs:{type:"primary"},on:{click:e.onBtnCreate}},[n("svg-icon",{attrs:{"icon-class":"plus"}}),e._v(" 新增公式")],1)],1)],1),n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.dataList,"header-row-class-name":"headerBg","empty-text":"没有公式信息"}},[n("el-table-column",{attrs:{prop:"id",label:"ID",align:"center",width:"50"}}),n("el-table-column",{attrs:{prop:"name",label:"名称",align:"left"}}),n("el-table-column",{attrs:{prop:"intro",label:"介绍",align:"center"}}),n("el-table-column",{attrs:{prop:"formula",label:"内容",align:"center","min-width":"150"}}),n("el-table-column",{attrs:{label:"操作",align:"center",width:"350"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"btns"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return e.btnPicked(t.row)}}},[n("svg-icon",{attrs:{"icon-class":"confirm"}}),e._v("使用")],1),n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(n){return e.btnOnEdit(t.row.id)}}},[n("svg-icon",{attrs:{"icon-class":"edit"}}),e._v("编辑")],1),n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:function(n){return e.btnDel(t.row.id)}}},[n("svg-icon",{attrs:{"icon-class":"delete"}}),e._v("删除")],1)],1)]}}])})],1),n("div",{staticClass:"page-info"},[n("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),n("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}}},[n("dataInfo",{attrs:{id:e.dataId,list:e.comList},on:{onClose:e.onClose}})],1)],1)},i=[],o=(n("ac1f"),n("841c"),n("f9e5")),s=n("4a65"),a=n("a888"),l={name:"Formula",emits:["onPicked"],directives:{elDragDialog:a["a"]},components:{dataInfo:s["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(o["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(o["b"])({id:e}).then((function(e){t.$message.success("删除成功!"),t.search()}))}}},c=l,u=(n("c29f"),n("2877")),d=Object(u["a"])(c,r,i,!1,null,null,null);t["default"]=d.exports},de3b:function(e,t,n){"use strict";function r(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0}function i(e){return!1===e.isImmediatePropagationEnabled}function o(e){return 2===e.button}function s(e){return 0===e.button}function a(e){return e instanceof TouchEvent}function l(e,t){const n={x:e.offsetX,y:e.offsetY};let r=e.target;if(!(t instanceof HTMLElement)||r!==t&&r.contains(t))return n;while(r!==t)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;return n}n.r(t),n.d(t,"stopImmediatePropagation",(function(){return r})),n.d(t,"isImmediatePropagationStopped",(function(){return i})),n.d(t,"isRightClick",(function(){return o})),n.d(t,"isLeftClick",(function(){return s})),n.d(t,"isTouchEvent",(function(){return a})),n.d(t,"offsetRelativeTo",(function(){return l}))},ded3:function(e,t,n){"use strict";n("e8cf")},df7e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{}t.DocumentOrShadowRootImpl=r},dfa2:function(e,t,n){},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 n(){var r,i,o,s,a,l,c;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:r=t,i=/(\[.*?\]){3}/,o=e.formula,s=new RegExp(i);case 4:if(a=o.match(s),null!=a){n.next=8;break}return n.abrupt("break",22);case 8:return l=a[0],n.prev=9,n.next=12,r.getFormualData(l);case 12:c=n.sent,null===c||void 0===c||isNaN(c)?(console.warn("获取到的数据无效: ".concat(l)),o=o.replace(l,"(0)")):o=o.replace(l,"(".concat(parseFloat(c),")")),n.next=20;break;case 16:n.prev=16,n.t0=n["catch"](9),console.error("处理 ".concat(l," 时出错:"),n.t0),o=o.replace(l,"(0)");case 20:n.next=4;break;case 22:return n.abrupt("return",o);case 23:case"end":return n.stop()}}),n,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 n(){var r,i,o,s,a;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(r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i),s=e.match(o),a=0,!s||"T"!=s[1]){n.next=11;break}return n.next=8,r.getModuleData(s[2],s[3]);case 8:a=n.sent,n.next=12;break;case 11:console.warn("无法解析公式项:",e);case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})))()},getModuleData:function(e,t){var n=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 i,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(i=n,o=i.comList.filter((function(t){return t.name==e})),!(o.length>0)){r.next=6;break}if(s=o[0].attrs.filter((function(e){return e.name==t})),!(s.length>0)){r.next=6;break}return r.abrupt("return",parseFloat(s[0].content));case 6:return r.abrupt("return",0);case 7: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_2__["a"])(Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__["a"])().mark((function n(){var r,i,o,s,a,l,c;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:r=t,i=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,o=new RegExp(i);case 3:if(s=e.match(o),null!=s){n.next=7;break}return n.abrupt("break",18);case 7:if("R"!=s[1]){n.next=16;break}return a=s[4],a=s[4].split(","),n.next=12,r.getRemoteData(s[2],s[3],a[0],a[1]);case 12:l=n.sent,c=s[0],e=isNaN(l)?e.replace(c,'"'.concat(l,'"')):e.replace(c,"("+parseFloat(l)+")"),e=e.replace(c,"("+parseFloat(l)+")");case 16:n.next=3;break;case 18:return n.abrupt("return",e);case 19:case"end":return n.stop()}}),n)})))()},getRemoteData:function(e,t,n,r){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 o(){var s,a,l;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 i,s=0,a={code:e,sheetName:t,row:n,col:r},o.prev=3,o.next=6,Object(_api_sourceData__WEBPACK_IMPORTED_MODULE_33__["a"])(a);case 6:l=o.sent,200==l.status&&(s=l.data.result,"string"!==typeof s||isNaN(s)||(s=parseFloat(s))),o.next=13;break;case 10:o.prev=10,o.t0=o["catch"](3),console.error("获取远程数据错误:",o.t0);case 13:return o.abrupt("return",s);case 14:case"end":return o.stop()}}),o,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 n,r,i,o;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,n=e.$refs.content.cloneNode(!0),n.querySelectorAll(".template-textarea"),n.querySelectorAll('input[type="text"]').forEach((function(e){var t=document.createElement("span");t.textContent=e.value,e.parentNode.replaceChild(t,e)})),r='<!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(n.innerHTML,"</body></html>"),r=r.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:r,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:o=document.createElement("a"),o.href=i.data.file_path,o.download=i.data.file_name,document.body.appendChild(o),o.click(),document.body.removeChild(o),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 n,r,i,o,s,a,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,n=e.$refs.content.cloneNode(!0),console.log("Original content:",n.innerHTML),n.querySelectorAll("span > img").forEach((function(e){var t=e.parentElement,n=t.parentElement;n.insertBefore(e,t),0===t.childNodes.length&&n.removeChild(t)})),n.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,n){var r="\n padding: 5px !important;\n border: 0.1px solid #000000 !important;\n ";0!==t&&(r+="border-top: none !important;"),0!==n&&(r+="border-left: none !important;"),e.style.cssText+=r}))}))})),r=n.querySelectorAll("img"),i=Object(D_project_ui_ui_node_modules_babel_runtime_helpers_esm_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_1__["a"])(r),t.prev=10,i.s();case 12:if((o=i.n()).done){t.next=21;break}return s=o.value,t.next=16,e.convertImageToBase64(s);case 16:s.style.maxWidth="100%",s.style.height="auto","P"===s.parentElement.tagName&&(console.log(s),s.parentElement.style.textAlign=s===r[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:",n.innerHTML),n.querySelectorAll('input[type="text"]').forEach((function(e){var t=document.createElement("span");t.textContent=e.value,e.parentNode.replaceChild(t,e)})),a='\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(n.innerHTML,"</body>\n </html>\n "),console.log("Final HTML content:",a),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"])(a,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 n(){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:return n.abrupt("return",new Promise((function(n,r){e.complete?t.toDataURL(e.src,(function(t){e.src=t,n()})):(e.onload=function(){t.toDataURL(e.src,(function(t){e.src=t,n()}))},e.onerror=r)})));case 1:case"end":return n.stop()}}),n)})))()},toDataURL:function(e,t){var n=new XMLHttpRequest;n.onload=function(){var e=new FileReader;e.onloadend=function(){t(e.result)},e.readAsDataURL(n.response)},n.open("GET",e),n.responseType="blob",n.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 n,r,i,o,s,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,e.exportProgress=0,t.prev=4,n=e.$refs.content,console.log("Content element:",n),r={height:n.style.height,overflow:n.style.overflow,position:n.style.position},n.style.height="auto",n.style.overflow="visible",n.style.position="absolute",t.next=13,e.waitForImages(n);case 13:return i=new jspdf__WEBPACK_IMPORTED_MODULE_31__["a"]("p","pt","a4"),o=i.internal.pageSize.getHeight(),s=i.internal.pageSize.getWidth(),a=setTimeout((function(){throw new Error("PDF export timed out")}),6e4),t.next=19,e.addContentToPDF(n,i,s,o);case 19:clearTimeout(a),i.save("".concat(e.docAttr.title||"document",".pdf")),Object.assign(n.style,r),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 n,r;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 n=e.getElementsByTagName("img"),r=Array.from(n).map((function(e){return e.complete?Promise.resolve():new Promise((function(t){e.onload=e.onerror=t}))})),t.next=4,Promise.all(r);case 4:case"end":return t.stop()}}),t)})))()},addContentToPDF:function(e,t,n,r){var i=arguments,o=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 s(){var a,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(s){while(1)switch(s.prev=s.next){case 0:return a=i.length>4&&void 0!==i[4]?i[4]:0,l=e.scrollHeight,s.next=4,html2canvas__WEBPACK_IMPORTED_MODULE_32___default()(e,{scale:2,useCORS:!0,logging:!1,windowWidth:n,windowHeight:r,y:a,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=s.sent,u=c.toDataURL("image/jpeg",1),d=n,h=c.height*d/c.width,t.addImage(u,"JPEG",0,0,d,h),o.exportProgress=Math.min(100,Math.round((a+r)/l*100)),!(c.height>r)){s.next=14;break}return t.addPage(),s.next=14,o.addContentToPDF(e,t,n,r,a+r);case 14:case"end":return s.stop()}}),s)})))()},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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("1fa5"),i=n("9688");class o extends r.TraverserImpl{constructor(e,t,n){super(e),this._iteratorCollection=void 0,this._reference=t,this._pointerBeforeReference=n,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,n){return new o(e,t,n)}}t.NodeIteratorImpl=o},e07bf:function(e,t,n){var r=n("5a76"),i=n("b5ca"),o=n("69f2"),s=n("8707").Buffer,a=n("7d2a"),l=n("9f9d"),c=n("8be6"),u=s.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,n){var r=p(e),i="sha512"===e||"sha384"===e?128:64;t.length>i?t=r(t):t.length<i&&(t=s.concat([t,u],i));for(var o=s.allocUnsafe(i+d[e]),a=s.allocUnsafe(i+d[e]),l=0;l<i;l++)o[l]=54^t[l],a[l]=92^t[l];var c=s.allocUnsafe(i+n+4);o.copy(c,0,0,i),this.ipad1=c,this.ipad2=o,this.opad=a,this.alg=e,this.blocksize=i,this.hash=r,this.size=d[e]}function p(e){function t(t){return o(e).update(t).digest()}function n(e){return(new i).update(e).digest()}return"rmd160"===e||"ripemd160"===e?n:"md5"===e?r:t}function f(e,t,n,r,i){a(n,r),e=c(e,l,"Password"),t=c(t,l,"Salt"),i=i||"sha1";var o=new h(i,e,t.length),u=s.allocUnsafe(r),p=s.allocUnsafe(t.length+4);t.copy(p,0,0,t.length);for(var f=0,m=d[i],A=Math.ceil(r/m),g=1;g<=A;g++){p.writeUInt32BE(g,t.length);for(var _=o.run(p,o.ipad1),b=_,v=1;v<n;v++){b=o.run(b,o.ipad2);for(var w=0;w<m;w++)_[w]^=b[w]}_.copy(u,f),f+=m}return u}h.prototype.run=function(e,t){e.copy(t,this.blocksize);var n=this.hash(t);return n.copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=f},e0c1:function(e,t,n){"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,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1460. //! moment.js locale configuration
  1461. var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},r=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 n[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,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return r}))},e1d3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1462. //! moment.js locale configuration
  1463. 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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},e1d30:function(e,t,n){(function(t){var r=n("3337"),i=n("37e6");e.exports=function(e){return new s(e)};var o={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 s(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function a(e,n,r){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(r&&i.length<r){var o=new t(r-i.length);o.fill(0),i=t.concat([o,i])}return n?i.toString(n):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,s.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},s.prototype.computeSecret=function(e,n,r){n=n||"utf8",t.isBuffer(e)||(e=new t(e,n));var i=this.curve.keyFromPublic(e).getPublic(),o=i.mul(this.keys.getPrivate()).getX();return a(o,r,this.curveType.byteLength)},s.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),a(n,e)},s.prototype.getPrivateKey=function(e){return a(this.keys.getPrivate(),e)},s.prototype.setPublicKey=function(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this.keys._importPublic(e),this},s.prototype.setPrivateKey=function(e,n){n=n||"utf8",t.isBuffer(e)||(e=new t(e,n));var r=new i(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,n("b639").Buffer)},e20c:function(e,t,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("2cf4").clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},e234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("579c");t.DOMParser=r.DOMParserImpl},e2c6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("4f09");function i(e){const t=r.utf8Decode(e);return JSON.parse.call(void 0,t)}function o(e){const t=JSON.stringify.call(void 0,e);return r.utf8Encode(t)}function s(e){const t=JSON.parse.call(void 0,e);return a(t)}function a(e){if(null===e||r.isString(e)||r.isNumber(e))return e;if(r.isArray(e)){const t=new Array;for(const n of e)t.push(a(n));return t}if(r.isObject(e)){const t=new Map;for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t.set(n,a(r))}return t}return e}t.parseJSONFromBytes=i,t.serializeJSONToBytes=o,t.parseJSONIntoInfraValues=s,t.convertAJSONDerivedJavaScriptValueToAnInfraValue=a},e2ce:function(e,t,n){"use strict";n("af11")},e315:function(e,t,n){"use strict";n("d7be")},e372:function(e,t,n){t=e.exports=n("ad71"),t.Stream=t,t.Readable=t,t.Writable=n("dc14"),t.Duplex=n("b19a"),t.Transform=n("27bf"),t.PassThrough=n("780f")},e437:function(e,t,n){"use strict";var r=n("c0d8"),i=n("8c7e"),o=n("87d6"),s=n("c5cd");n("d9e2");function a(e){const t="undefined"!==typeof window&&window.jQuery;t&&(t.fn.handsontable=function(t){const n=this.first();let r,i=n.data("handsontable");if("string"!==typeof t){const r=t||{};return i?i.updateSettings(r):(i=new e.Core(n[0],r),n.data("handsontable",i),i.init()),n}if(i){if("undefined"===typeof i[t])throw new Error("Handsontable do not provide action: "+t);for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];r=i[t].call(i,...s),"destroy"===t&&n.removeData()}return r})}var l,c,u,d,h,p=n("220a"),f=n("a776"),m=n("81ea"),A=n("63d8"),g=n("480c"),_=n("3eb5"),b=n("7dd0"),v=n("97b9"),w=n("7b9c"),y=n("ffec"),R=n("351d"),M=n("29b0"),S=n("f938"),E=n("5d7f"),T=n("de3b"),C=n("491c"),O=n("3d76"),x=n("169f"),N=n("76ab"),L=n("24b5"),I=n("d3c5");Object(i["a"])(),a(r["a"]),r["a"].__GhostTable=p["a"],r["a"]._getListenersCounter=o["b"],r["a"]._getRegisteredMapsCounter=s["b"],r["a"].EventManager=o["a"];const P=[m,A,g,_,b,v,w,y,R,M,S,f],D=[E,T];r["a"].helper={},r["a"].dom={},m["arrayEach"](P,e=>{m["arrayEach"](Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(r["a"].helper[t]=e[t])})}),m["arrayEach"](D,e=>{m["arrayEach"](Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(r["a"].dom[t]=e[t])})}),r["a"].cellTypes=null!==(l=r["a"].cellTypes)&&void 0!==l?l:{},m["arrayEach"](Object(N["b"])(),e=>{r["a"].cellTypes[e]=Object(N["a"])(e)}),r["a"].cellTypes.registerCellType=N["d"],r["a"].cellTypes.getCellType=N["a"],r["a"].editors=null!==(c=r["a"].editors)&&void 0!==c?c:{},m["arrayEach"](Object(C["c"])(),e=>{r["a"].editors[M["toUpperCaseFirst"](e)+"Editor"]=Object(C["a"])(e)}),r["a"].editors.registerEditor=C["e"],r["a"].editors.getEditor=C["a"],r["a"].renderers=null!==(u=r["a"].renderers)&&void 0!==u?u:{},m["arrayEach"](Object(O["a"])(),e=>{const t=Object(O["b"])(e);"base"===e&&(r["a"].renderers.cellDecorator=t),r["a"].renderers[M["toUpperCaseFirst"](e)+"Renderer"]=t}),r["a"].renderers.registerRenderer=O["d"],r["a"].renderers.getRenderer=O["b"],r["a"].validators=null!==(d=r["a"].validators)&&void 0!==d?d:{},m["arrayEach"](Object(x["a"])(),e=>{r["a"].validators[M["toUpperCaseFirst"](e)+"Validator"]=Object(x["b"])(e)}),r["a"].validators.registerValidator=x["d"],r["a"].validators.getValidator=x["b"],r["a"].plugins=null!==(h=r["a"].plugins)&&void 0!==h?h:{},m["arrayEach"](Object(L["b"])(),e=>{r["a"].plugins[e]=Object(L["a"])(e)}),r["a"].plugins[M["toUpperCaseFirst"](I["a"].PLUGIN_KEY)+"Plugin"]=I["a"],r["a"].plugins.registerPlugin=L["d"],r["a"].plugins.getPlugin=L["a"];t["a"]=r["a"]},e4ae:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("7d2e");function i(e,t){return e.get(t)}function o(e,t,n){e.set(t,n)}function s(e,t){if(r.isFunction(t)){const n=[];for(const r of e)t.call(null,r)&&n.push(r[0]);for(const t of n)e.delete(t)}else e.delete(t)}function a(e,t){if(r.isFunction(t)){for(const n of e)if(t.call(null,n))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 n=0;for(const r of e)t.call(null,r)&&n++;return n}}function d(e){return 0===e.size}function*h(e,t){if(void 0===t)yield*e;else for(const n of e)t.call(null,n)&&(yield n)}function p(e){return new Map(e)}function f(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?-1:1),new Map(n)}function m(e,t){const n=new Array(...e);return n.sort((e,n)=>t.call(null,e,n)?1:-1),new Map(n)}t.get=i,t.set=o,t.remove=s,t.contains=a,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,n){"use strict";function r(e){return e.length}function i(e){for(let t=0;t<e.length;t++){const n=e[t];n>=65&&n<=90&&(e[t]=n+32)}}function o(e){for(let t=0;t<e.length;t++){const n=e[t];n>=97&&n<=122&&(e[t]=n-32)}}function s(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],i=t[n];if(r>=65&&r<=90&&(r+=32),i>=65&&i<=90&&(i+=32),r!==i)return!1}return!0}function a(e,t){let n=0;while(1){if(n>=e.length)return!1;if(n>=t.length)return!0;if(e[n]!==t[n])return!1;n++}}function l(e,t){let n=0;while(1){if(n>=e.length)return!1;if(n>=t.length)return!0;const r=e[n],i=t[n];if(r<i)return!0;if(r>i)return!1;n++}}function c(e){return String.fromCodePoint(...e)}Object.defineProperty(t,"__esModule",{value:!0}),t.length=r,t.byteLowercase=i,t.byteUppercase=o,t.byteCaseInsensitiveMatch=s,t.startsWith=a,t.byteLessThan=l,t.isomorphicDecode=c},e5d1:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"product-content"},[n("div",{staticClass:"content-header"},[n("div",{staticClass:"search-area"},[n("el-form",{ref:"searchForm",attrs:{inline:!0,model:e.queryForm}},[n("el-form-item",{attrs:{label:"产品应用编号"}},[n("el-select",{attrs:{placeholder:"请选择产品"},on:{change:e.handleTypeChange},model:{value:e.queryForm.type,callback:function(t){e.$set(e.queryForm,"type",t)},expression:"queryForm.type"}},e._l(e.productList,(function(e,t){return n("el-option",{key:t,attrs:{value:e.dcp_id,label:e.dcp_name}})})),1)],1)],1)],1)]),e.parsedSpecifications.length?n("div",{staticClass:"specifications-list"},e._l(e.parsedSpecifications,(function(t,r){return n("el-card",{key:r,staticClass:"spec-card"},[n("div",{staticClass:"spec-header"},[n("span",{staticClass:"spec-title"},[e._v(e._s(t.psp_name))]),n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(n){return e.handleUseSpec(t)}}},[e._v(" 使用此规格 ")])],1),n("div",{staticClass:"spec-content"},[n("el-tag",{staticClass:"spec-tag",attrs:{size:"small",type:"info"}},[e._v(" "+e._s(t.psp_name)+": "+e._s(t.ps_name||"-")+" ")]),n("div",{staticClass:"spec-details"},[t.psp_type?n("div",[e._v("类型: "+e._s(t.psp_type+"框"))]):e._e(),t.psp_options?n("div",[e._v("选项: "+e._s(t.psp_options))]):e._e()])],1)])})),1):e._e(),e.productList.length?e._e():n("div",{staticClass:"tip-message"},[n("el-empty",{attrs:{description:"暂无商品信息"}})],1)])])},i=[],o=n("c7eb"),s=n("1da1"),a=(n("99af"),n("7db0"),n("e9c4"),n("b64b"),n("d3b7"),n("25f0"),n("0643"),n("fffc"),n("b9c5")),l=n("424e"),c={name:"CodeJson",props:{},components:{},data:function(){return{queryForm:{type:""},productList:[],jsonData:null}},computed:{parsedSpecifications:function(){if(!this.jsonData)return[];try{var e=JSON.parse(this.jsonData);return Array.isArray(e)?e:[]}catch(t){return console.error("解析规格失败:",t),[]}}},watch:{},mounted:function(){var e=this;return Object(s["a"])(Object(o["a"])().mark((function t(){return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.fetchProductList();case 2:case"end":return t.stop()}}),t)})))()},methods:{handleTypeChange:function(e){var t=this;return Object(s["a"])(Object(o["a"])().mark((function n(){return Object(o["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e){n.next=5;break}return n.next=3,t.fetchDCPPNO(e);case 3:n.next=6;break;case 5:t.jsonData=null;case 6:case"end":return n.stop()}}),n)})))()},fetchProductList:function(){var e=this;return Object(s["a"])(Object(o["a"])().mark((function t(){var n;return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(a["f"])({pageNum:1,pageSize:999});case 3:n=t.sent,e.productList=n.rows||[],t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](0),console.error("获取产品列表失败:",t.t0),e.$message.error("获取产品列表失败");case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))()},fetchDCPPNO:function(e){var t=this;return Object(s["a"])(Object(o["a"])().mark((function n(){var r;return Object(o["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Object(l["h"])(e);case 3:r=n.sent,console.log(r),r.data&&t.isValidJson(r.data.dcppno)?t.jsonData=r.data.dcppno:(t.$message.warning("获取到的JSON数据格式无效"),t.jsonData=null),n.next=13;break;case 8:n.prev=8,n.t0=n["catch"](0),console.error("获取DCPPNO数据失败:",n.t0),t.$message.error("获取数据失败"),t.jsonData=null;case 13:case"end":return n.stop()}}),n,null,[[0,8]])})))()},handleUseSpec:function(e){var t=this,n=this.productList.find((function(e){return e.dcp_id===t.queryForm.type})),r="prod_".concat(Date.now(),"_").concat(Math.random().toString(36).substr(2,9)),i={type:"ProductAttr",id:r,content:"",attrs:{specifications:[e],label:(null===n||void 0===n?void 0:n.dcp_name)||"",productInfo:{dcp_p_no:JSON.stringify([e]),dcp_name:(null===n||void 0===n?void 0:n.dcp_name)||"",dcp_model:(null===n||void 0===n?void 0:n.dcp_model)||"",dcp_oa_code:(null===n||void 0===n?void 0:n.dcp_oa_code)||""}}};this.$emit("onPicked",i)},getTypeText:function(e){var t={1:"输入框",2:"单选框",3:"多选框"};return console.log(e),t[e]||"输入框"},determineInputType:function(e){if(!e.psp_type)return 1;switch(parseInt(e.psp_type)){case 1:return 1;case 2:return 2;case 3:return 3;default:return 1}},getValueItems:function(e){return e.psp_options?e.psp_options:""},isValidJson:function(e){try{return JSON.parse(e),!0}catch(t){return!1}},parseSpecifications:function(e){try{var t=JSON.parse(e);return Array.isArray(t)?t:[]}catch(n){return console.error("解析规格失败:",n),[]}}}},u=c,d=(n("18cf"),n("2877")),h=Object(d["a"])(u,r,i,!1,null,"41970632",null);t["default"]=h.exports},e718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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=r},e81d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1464. //! moment.js locale configuration
  1465. var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},r=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,n){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 n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},e85c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("32d8"),o=n("68d5");class s extends i.NodeImpl{constructor(e,t,n){super(),this._name="",this._publicId="",this._systemId="",this._name=e,this._publicId=t,this._systemId=n}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,n="",r=""){const i=new s(t,n,r);return i._nodeDocument=e,i}}t.DocumentTypeImpl=s,o.idl_defineConst(s.prototype,"_nodeType",r.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,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n("f304"));t.base64=i;const o=r(n("4c4e"));t.byte=o;const s=r(n("c1b2"));t.byteSequence=s;const a=r(n("e0c1"));t.codePoint=a;const l=r(n("cd4e"));t.json=l;const c=r(n("be94"));t.list=c;const u=r(n("e4ae"));t.map=u;const d=r(n("caa7"));t.namespace=d;const h=r(n("6141"));t.queue=h;const p=r(n("a616"));t.set=p;const f=r(n("73d6"));t.stack=f;const m=r(n("ccac"));t.string=m},e8cf:function(e,t,n){},e90f:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r=n("97b9"),i=n("81ea");function o(e,t,n,i){const o=n.length?n[0]:void 0;return[...e.slice(0,o),...n.map((e,t)=>Object(r["isFunction"])(i)?i(e,t):i),...void 0===o?[]:e.slice(o)]}function s(e,t){return Object(i["arrayFilter"])(e,(e,n)=>!1===t.includes(n))}},e9bc:function(e,t,n){"use strict";var r=n("dc19"),i=n("cb27").add,o=n("83b9e"),s=n("7f65"),a=n("5388");e.exports=function(e){var t=r(this),n=s(e).getIterator(),l=o(t);return a(n,(function(e){i(l,e)})),l}},ea53:function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.getNAF,s=i.getJSF,a=i.assert;function l(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(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 n=this.n&&this.p.div(this.n);!n||n.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){a(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2===0?2:1);i/=3;var s,l,c=[];for(s=0;s<r.length;s+=n.step){l=0;for(var u=s+n.step-1;u>=s;u--)l=(l<<1)+r[u];c.push(l)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),p=i;p>0;p--){for(s=0;s<c.length;s++)l=c[s],l===p?h=h.mixedAdd(n.points[s]):l===-p&&(h=h.mixedAdd(n.points[s].neg()));d=d.add(h)}return d.toP()},l.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,s=o(t,n,this._bitLength),l=this.jpoint(null,null,null),c=s.length-1;c>=0;c--){for(var u=0;c>=0&&0===s[c];c--)u++;if(c>=0&&u++,l=l.dblp(u),c<0)break;var d=s[c];a(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,n,r,i){var a,l,c,u=this._wnafT1,d=this._wnafT2,h=this._wnafT3,p=0;for(a=0;a<r;a++){c=t[a];var f=c._getNAFPoints(e);u[a]=f.wnd,d[a]=f.points}for(a=r-1;a>=1;a-=2){var m=a-1,A=a;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],b=s(n[m],n[A]);for(p=Math.max(b[0].length,p),h[m]=new Array(p),h[A]=new Array(p),l=0;l<p;l++){var v=0|b[0][l],w=0|b[1][l];h[m][l]=_[3*(v+1)+(w+1)],h[A][l]=0,d[m]=g}}else h[m]=o(n[m],u[m],this._bitLength),h[A]=o(n[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),R=this._wnafT4;for(a=p;a>=0;a--){var M=0;while(a>=0){var S=!0;for(l=0;l<r;l++)R[l]=0|h[l][a],0!==R[l]&&(S=!1);if(!S)break;M++,a--}if(a>=0&&M++,y=y.dblp(M),a<0)break;for(l=0;l<r;l++){var E=R[l];0!==E&&(E>0?c=d[l][E-1>>1]:E<0&&(c=d[l][-E-1>>1].neg()),y="affine"===c.type?y.mixedAdd(c):y.add(c))}}for(a=0;a<r;a++)d[a]=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 n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*n){6===e[0]?a(e[e.length-1]%2===0):7===e[0]&&a(e[e.length-1]%2===1);var r=this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));return r}if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),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(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,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 n=[this],r=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)r=r.dbl();n.push(r)}return{step:e,points:n}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},eb36:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l}));n("d9e2"),n("14d9");var r=n("5714");function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const a=23;class l extends r["a"]{constructor(e){let{calculationTypes:t,viewportHeight:n,scrollOffset:r,totalRows:o,rowHeightFn:s,overrideFn:a,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=n,this.scrollOffset=r,this.zeroBasedScrollOffset=Math.max(r,0),this.totalRows=o,this.rowHeightFn=s,this.overrideFn=a,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)?a:t}}},ebe4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1466. //! moment.js locale configuration
  1467. 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,n){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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("68d5");class o{constructor(){}acceptNode(e){return r.FilterResult.Accept}static _create(){return new o}}t.NodeFilterImpl=o,o.FILTER_ACCEPT=1,o.FILTER_REJECT=2,o.FILTER_SKIP=3,o.SHOW_ALL=4294967295,o.SHOW_ELEMENT=1,o.SHOW_ATTRIBUTE=2,o.SHOW_TEXT=4,o.SHOW_CDATA_SECTION=8,o.SHOW_ENTITY_REFERENCE=16,o.SHOW_ENTITY=32,o.SHOW_PROCESSING_INSTRUCTION=64,o.SHOW_COMMENT=128,o.SHOW_DOCUMENT=256,o.SHOW_DOCUMENT_TYPE=512,o.SHOW_DOCUMENT_FRAGMENT=1024,o.SHOW_NOTATION=2048,i.idl_defineConst(o.prototype,"FILTER_ACCEPT",1),i.idl_defineConst(o.prototype,"FILTER_REJECT",2),i.idl_defineConst(o.prototype,"FILTER_SKIP",3),i.idl_defineConst(o.prototype,"SHOW_ALL",4294967295),i.idl_defineConst(o.prototype,"SHOW_ELEMENT",1),i.idl_defineConst(o.prototype,"SHOW_ATTRIBUTE",2),i.idl_defineConst(o.prototype,"SHOW_TEXT",4),i.idl_defineConst(o.prototype,"SHOW_CDATA_SECTION",8),i.idl_defineConst(o.prototype,"SHOW_ENTITY_REFERENCE",16),i.idl_defineConst(o.prototype,"SHOW_ENTITY",32),i.idl_defineConst(o.prototype,"SHOW_PROCESSING_INSTRUCTION",64),i.idl_defineConst(o.prototype,"SHOW_COMMENT",128),i.idl_defineConst(o.prototype,"SHOW_DOCUMENT",256),i.idl_defineConst(o.prototype,"SHOW_DOCUMENT_TYPE",512),i.idl_defineConst(o.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),i.idl_defineConst(o.prototype,"SHOW_NOTATION",2048)},ec18:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1468. //! moment.js locale configuration
  1469. function t(e,t,n,r){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[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}var n=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 n}))},ec2e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1470. //! moment.js locale configuration
  1471. 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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},eda5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1472. //! moment.js locale configuration
  1473. 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,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},edc9:function(e,t,n){"use strict";var r=n("c3c0"),i=n("da3e");function o(){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=o,o.prototype.update=function(e,t){if(e=r.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 n=e.length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},eeda:function(e,t,n){"use strict";function r(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}var i=r();function o(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}e.exports=o},ef07:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("0352"),i=n("dd49");const o="text",s={CELL_TYPE:o,editor:r["a"],renderer:i["a"]}},ef3a:function(e,t,n){var r=n("7f7a"),i=n("3fb5"),o=t;function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}o.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(e){var t;try{t=n("0706").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(r){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},s.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},s.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},s.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},s.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},f05c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("dc3b");t.MapWriter=r.MapWriter;var i=n("4b78");t.XMLWriter=i.XMLWriter;var o=n("8d23");t.ObjectWriter=o.ObjectWriter;var s=n("5318");t.JSONWriter=s.JSONWriter},f08f:function(e,t,n){var r=n("be1e"),i=e.exports=Object.create(r),o={tagName:"name"};Object.keys(o).forEach((function(e){var t=o[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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("0fc1"),i=n("a45a"),o=n("1178");function s(e){if(!o.xml_isName(e))throw new r.InvalidCharacterError("Invalid XML name: "+e);if(!o.xml_isQName(e))throw new r.InvalidCharacterError(`Invalid XML qualified name: ${e}.`)}function a(e,t){e||(e=null),s(t);const n=t.split(":"),o=2===n.length?n[0]:null,a=2===n.length?n[1]:t;if(o&&null===e)throw new r.NamespaceError("Qualified name includes a prefix but the namespace is null.");if("xml"===o&&e!==i.namespace.XML)throw new r.NamespaceError('Qualified name includes the "xml" prefix but the namespace is not the XML namespace.');if(e!==i.namespace.XMLNS&&("xmlns"===o||"xmlns"===t))throw new r.NamespaceError('Qualified name includes the "xmlns" prefix but the namespace is not the XMLNS namespace.');if(e===i.namespace.XMLNS&&"xmlns"!==o&&"xmlns"!==t)throw new r.NamespaceError('Qualified name does not include the "xmlns" prefix but the namespace is the XMLNS namespace.');return[e,o,a]}function l(e){s(e);const t=e.split(":"),n=2===t.length?t[0]:null,r=2===t.length?t[1]:e;return[n,r]}t.namespace_validate=s,t.namespace_validateAndExtract=a,t.namespace_extractQName=l},f174:function(e,t,n){"use strict";var r;function i(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style}n.r(t),n.d(t,"ElementType",(function(){return r})),n.d(t,"isTag",(function(){return i})),n.d(t,"Root",(function(){return o})),n.d(t,"Text",(function(){return s})),n.d(t,"Directive",(function(){return a})),n.d(t,"Comment",(function(){return l})),n.d(t,"Script",(function(){return c})),n.d(t,"Style",(function(){return u})),n.d(t,"Tag",(function(){return d})),n.d(t,"CDATA",(function(){return h})),n.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"}(r||(r={}));const o=r.Root,s=r.Text,a=r.Directive,l=r.Comment,c=r.Script,u=r.Style,d=r.Tag,h=r.CDATA,p=r.Doctype},f177:function(e,t,n){"use strict";var r=n("5402"),i=n("a29f"),o=n("bbc7"),s=Object.prototype.hasOwnProperty,a={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=o["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:o.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,n,o,s,a,c,d,h,A,g,_,b,v,w,y,R,M,S){var E=t,T=S,C=0,O=!1;while(void 0!==(T=T.get(m))&&!O){var x=T.get(t);if(C+=1,"undefined"!==typeof x){if(x===C)throw new RangeError("Cyclic object value");O=!0}"undefined"===typeof T.get(m)&&(C=0)}if("function"===typeof g?E=g(n,E):E instanceof Date?E=v(E):"comma"===o&&l(E)&&(E=i.maybeMap(E,(function(e){return e instanceof Date?v(e):e}))),null===E){if(c)return A&&!R?A(n,p.encoder,M,"key",w):n;E=""}if(f(E)||i.isBuffer(E)){if(A){var N=R?n:A(n,p.encoder,M,"key",w);return[y(N)+"="+y(A(E,p.encoder,M,"value",w))]}return[y(n)+"="+y(String(E))]}var L,I=[];if("undefined"===typeof E)return I;if("comma"===o&&l(E))R&&A&&(E=i.maybeMap(E,A)),L=[{value:E.length>0?E.join(",")||null:void 0}];else if(l(g))L=g;else{var P=Object.keys(E);L=_?P.sort(_):P}var D=h?n.replace(/\./g,"%2E"):n,F=s&&l(E)&&1===E.length?D+"[]":D;if(a&&l(E)&&0===E.length)return F+"[]";for(var k=0;k<L.length;++k){var B=L[k],U="object"===typeof B&&"undefined"!==typeof B.value?B.value:E[B];if(!d||null!==U){var H=b&&h?B.replace(/\./g,"%2E"):B,j=l(E)?"function"===typeof o?o(F,H):F:F+(b?"."+H:"["+H+"]");S.set(t,C);var V=r();V.set(m,S),u(I,e(U,j,o,s,a,c,d,h,"comma"===o&&R&&l(E)?null:A,g,_,b,v,w,y,R,M,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 n=o["default"];if("undefined"!==typeof e.format){if(!s.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,i=o.formatters[n],c=p.filter;if(("function"===typeof e.filter||l(e.filter))&&(c=e.filter),r=e.arrayFormat in a?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:r,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:n,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 n,i,o=e,s=g(t);"function"===typeof s.filter?(i=s.filter,o=i("",o)):l(s.filter)&&(i=s.filter,n=i);var c=[];if("object"!==typeof o||null===o)return"";var d=a[s.arrayFormat],h="comma"===d&&s.commaRoundTrip;n||(n=Object.keys(o)),s.sort&&n.sort(s.sort);for(var p=r(),f=0;f<n.length;++f){var m=n[f];s.skipNulls&&null===o[m]||u(c,A(o[m],m,d,h,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,p))}var _=c.join(s.delimiter),b=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),_.length>0?b+_:""}},f17c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("42e9"),i=n("d287"),o=n("9688"),s=n("68d5");class a extends i.CharacterDataImpl{constructor(e=""){super(e),this._name="",this._assignedSlot=null}get wholeText(){let e="";for(const t of o.text_contiguousTextNodes(this,!0))e+=t._data;return e}splitText(e){return o.text_split(this,e)}get assignedSlot(){throw new Error("Mixin: Slotable not implemented.")}static _create(e,t=""){const n=new a(t);return n._nodeDocument=e,n}}t.TextImpl=a,s.idl_defineConst(a.prototype,"_nodeType",r.NodeType.Text)},f260:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1474. //! moment.js locale configuration
  1475. 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,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const r=n("e0c1");function i(t){return e.from(t).toString("base64")}function o(t){return""===t?"":(t=t.replace(r.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=o}).call(this,n("b639").Buffer)},f3a3:function(e,t,n){"use strict";var r=t,i=n("80af"),o=n("da3e"),s=n("7658");function a(e,t,n){var r,i=new Array(Math.max(e.bitLength(),n)+1);for(r=0;r<i.length;r+=1)i[r]=0;var o=1<<t+1,s=e.clone();for(r=0;r<i.length;r++){var a,l=s.andln(o-1);s.isOdd()?(a=l>(o>>1)-1?(o>>1)-l:l,s.isubn(a)):a=0,i[r]=a,s.iushrn(1)}return i}function l(e,t){var n=[[],[]];e=e.clone(),t=t.clone();var r,i=0,o=0;while(e.cmpn(-i)>0||t.cmpn(-o)>0){var s,a,l=e.andln(3)+i&3,c=t.andln(3)+o&3;3===l&&(l=-1),3===c&&(c=-1),0===(1&l)?s=0:(r=e.andln(7)+i&7,s=3!==r&&5!==r||2!==c?l:-l),n[0].push(s),0===(1&c)?a=0:(r=t.andln(7)+o&7,a=3!==r&&5!==r||2!==l?c:-c),n[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n}function c(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}}function u(e){return"string"===typeof e?r.toArray(e,"hex"):e}function d(e){return new i(e,"hex","le")}r.assert=o,r.toArray=s.toArray,r.zero2=s.zero2,r.toHex=s.toHex,r.encode=s.encode,r.getNAF=a,r.getJSF=l,r.cachedProperty=c,r.parseBytes=u,r.intFromLE=d},f3c0:function(e,t,n){"use strict";n("1fa3")},f3ff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1476. //! moment.js locale configuration
  1477. var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=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 n[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,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r}))},f460:function(e,t,n){var r=n("98e6"),i=n("8707").Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){var n,s=i.alloc(0),a=0;while(s.length<t)n=o(a++),s=i.concat([s,r("sha1").update(e).update(n).digest()]);return s.slice(0,t)}},f471:function(e,t,n){"use strict";n("5aaf")},f539:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return null!=e.com?n("div",{staticClass:"editor-attribute"},[n("el-form",[n("el-form-item",{attrs:{label:"模块分类:"}},[n("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),n("el-form-item",{attrs:{label:"模块名称:"}},[n("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),n("el-form-item",{attrs:{label:"模块描述:"}},[n("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),n("el-form-item",[n("div",{staticClass:"btn-save"},[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.onSaveTemplate(e.com)}}},[e._v("保存模块")]),e.com.id>0?n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.onSaveAs(e.com)}}},[e._v("另存为")]):e._e()],1)])],1),n("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}}},[n("headerSetting",{attrs:{headerItemName:e.headerItemName},on:{onSetHeader:e.onSetHeader}})],1)],1):e._e()},i=[],o=n("2909"),s=n("c7eb"),a=n("1da1"),l=n("5530"),c=(n("d81d"),n("14d9"),n("a434"),n("b0c0"),n("e9c4"),n("4ec9"),n("b64b"),n("d3b7"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("25f0"),n("3ca3"),n("466d"),n("0643"),n("4e3e"),n("a573"),n("159b"),n("ddb0"),n("3721")),u=n("a888"),d=n("c621"),h=(n("1c4c"),n("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 n=/\[(.*?)\]\[(.*?)\]\[(.*?)\]\[(.*?)\]/,r=new RegExp(n),i=t.match(r),o=e+"="+i[2]+"."+i[3],s=i[4];return s=i[4].split(","),o+="."+String.fromCharCode(65+parseInt(s[1]))+(parseInt(s[0])+1),o},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,n=this,r=JSON.parse(JSON.stringify(e));r.attrs=JSON.stringify(r.attrs),r.code=r.name,r.status=5,r.category_id=this.com.category_id,void 0==r.id||this.saveAs?Object(d["a"])(r).then((function(e){200==e.status&&(r.id=e.data,n.com.id=e.data,n.$alert("模板信息保存成功"),n.$emit("onRefresh"),t.saveAs=!1)})):Object(d["l"])(r).then((function(e){200==e.status&&(n.$alert("模板信息更新成功"),n.$emit("onRefresh"))}))},processDataForCascader:function(e){console.log("Raw data:",e);var t=new Map,n=[];return e.forEach((function(e){var n=Object(l["a"])(Object(l["a"])({},e),{},{children:[]});t.set(e.id,n)})),e.forEach((function(e){if("0"===e.parent_id||0===e.parent_id)n.push(t.get(e.id));else{var r=t.get(parseInt(e.parent_id));r?r.children.push(t.get(e.id)):(console.warn("Parent with id ".concat(e.parent_id," not found for item:"),e),n.push(t.get(e.id)))}})),console.log("Processed data:",n),n},initCategoryList:function(){var e=this;return Object(a["a"])(Object(s["a"])().mark((function t(){var n;return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e,t.next=3,Object(d["e"])();case 3:n=t.sent,e.categoryList=e.processDataForCascader(n.data);case 5:case"end":return t.stop()}}),t)})))()},onModify:function(e,t,n){this.currentIndex=e,this.componentIndex=t,this.activeHeaderIndex=n,this.headerItemName=this.components[e].components[t].attrs.tableHeader[n],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(o["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,n){this.components[e].components[t].attrs.tableHeader.splice(n,1),this.$emit("onSetComponents",Object(o["a"])(this.components))},onSetActiveIndex:function(e){e==this.activeHeaderIndex?this.activeHeaderIndex=-1:this.activeHeaderIndex=e},getTemplateList:function(e){var t=this;return Object(a["a"])(Object(s["a"])().mark((function n(){var r,i;return Object(s["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t,n.next=3,Object(d["i"])({page:1,pageSize:999,category_id:e,status:5});case 3:if(r=n.sent,200==r.status){n.next=6;break}return n.abrupt("return",[]);case 6:return i=r.data.dataList.map((function(e){return e.attrs=JSON.parse(e.attrs),e})),n.abrupt("return",i);case 8:case"end":return n.stop()}}),n)})))()}}}),p=h,f=(n("5bfe"),n("2877")),m=Object(f["a"])(p,r,i,!1,null,null,null);t["default"]=m.exports},f576:function(e,t,n){"use strict";var r=n("3fb5"),i=n("93e6"),o=n("8707").Buffer,s=new Array(16);function a(){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,n,r,i,o,s){return l(e+(t&n|~t&r)+i+o|0,s)+t|0}function u(e,t,n,r,i,o,s){return l(e+(t&r|n&~r)+i+o|0,s)+t|0}function d(e,t,n,r,i,o,s){return l(e+(t^n^r)+i+o|0,s)+t|0}function h(e,t,n,r,i,o,s){return l(e+(n^(t|~r))+i+o|0,s)+t|0}r(a,i),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=c(n,r,i,o,e[0],3614090360,7),o=c(o,n,r,i,e[1],3905402710,12),i=c(i,o,n,r,e[2],606105819,17),r=c(r,i,o,n,e[3],3250441966,22),n=c(n,r,i,o,e[4],4118548399,7),o=c(o,n,r,i,e[5],1200080426,12),i=c(i,o,n,r,e[6],2821735955,17),r=c(r,i,o,n,e[7],4249261313,22),n=c(n,r,i,o,e[8],1770035416,7),o=c(o,n,r,i,e[9],2336552879,12),i=c(i,o,n,r,e[10],4294925233,17),r=c(r,i,o,n,e[11],2304563134,22),n=c(n,r,i,o,e[12],1804603682,7),o=c(o,n,r,i,e[13],4254626195,12),i=c(i,o,n,r,e[14],2792965006,17),r=c(r,i,o,n,e[15],1236535329,22),n=u(n,r,i,o,e[1],4129170786,5),o=u(o,n,r,i,e[6],3225465664,9),i=u(i,o,n,r,e[11],643717713,14),r=u(r,i,o,n,e[0],3921069994,20),n=u(n,r,i,o,e[5],3593408605,5),o=u(o,n,r,i,e[10],38016083,9),i=u(i,o,n,r,e[15],3634488961,14),r=u(r,i,o,n,e[4],3889429448,20),n=u(n,r,i,o,e[9],568446438,5),o=u(o,n,r,i,e[14],3275163606,9),i=u(i,o,n,r,e[3],4107603335,14),r=u(r,i,o,n,e[8],1163531501,20),n=u(n,r,i,o,e[13],2850285829,5),o=u(o,n,r,i,e[2],4243563512,9),i=u(i,o,n,r,e[7],1735328473,14),r=u(r,i,o,n,e[12],2368359562,20),n=d(n,r,i,o,e[5],4294588738,4),o=d(o,n,r,i,e[8],2272392833,11),i=d(i,o,n,r,e[11],1839030562,16),r=d(r,i,o,n,e[14],4259657740,23),n=d(n,r,i,o,e[1],2763975236,4),o=d(o,n,r,i,e[4],1272893353,11),i=d(i,o,n,r,e[7],4139469664,16),r=d(r,i,o,n,e[10],3200236656,23),n=d(n,r,i,o,e[13],681279174,4),o=d(o,n,r,i,e[0],3936430074,11),i=d(i,o,n,r,e[3],3572445317,16),r=d(r,i,o,n,e[6],76029189,23),n=d(n,r,i,o,e[9],3654602809,4),o=d(o,n,r,i,e[12],3873151461,11),i=d(i,o,n,r,e[15],530742520,16),r=d(r,i,o,n,e[2],3299628645,23),n=h(n,r,i,o,e[0],4096336452,6),o=h(o,n,r,i,e[7],1126891415,10),i=h(i,o,n,r,e[14],2878612391,15),r=h(r,i,o,n,e[5],4237533241,21),n=h(n,r,i,o,e[12],1700485571,6),o=h(o,n,r,i,e[3],2399980690,10),i=h(i,o,n,r,e[10],4293915773,15),r=h(r,i,o,n,e[1],2240044497,21),n=h(n,r,i,o,e[8],1873313359,6),o=h(o,n,r,i,e[15],4264355552,10),i=h(i,o,n,r,e[6],2734768916,15),r=h(r,i,o,n,e[13],1309151649,21),n=h(n,r,i,o,e[4],4149444226,6),o=h(o,n,r,i,e[11],3174756917,10),i=h(i,o,n,r,e[2],718787259,15),r=h(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.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=o.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=a},f654:function(e,t,n){"use strict";(function(t){var r=n("c8ba6")();
  1478. /*!
  1479. * The buffer module from node.js, for the browser.
  1480. *
  1481. * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
  1482. * @license MIT
  1483. */function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var s=n("3022"),a=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!o(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=b,p=/\s*function\s+([^\(\s]*)\s*/;function f(e){if(s.isFunction(e)){if(c)return e.name;var t=e.toString(),n=t.match(p);return n&&n[1]}}function m(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function A(e){if(c||!s.isFunction(e))return s.inspect(e);var t=f(e),n=t?": "+t:"";return"[Function"+n+"]"}function g(e){return m(A(e.actual),128)+" "+e.operator+" "+m(A(e.expected),128)}function _(e,t,n,r,i){throw new h.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function b(e,t){e||_(e,!0,t,"==",h.ok)}function v(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(s.isDate(e)&&s.isDate(t))return e.getTime()===t.getTime();if(s.isRegExp(e)&&s.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(o(e)!==o(t))return!1;r=r||{actual:[],expected:[]};var a=r.actual.indexOf(e);return-1!==a&&a===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),y(e,t,n,r))}return n?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function y(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(s.isPrimitive(e)||s.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=w(e),o=w(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),v(e,t,n);var a,c,u=C(e),d=C(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(a=u[c],!v(e[a],t[a],n,r))return!1;return!0}function R(e,t,n){v(e,t,!0)&&_(e,t,n,"notDeepStrictEqual",R)}function M(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function S(e){var t;try{e()}catch(n){t=n}return t}function E(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=S(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&_(i,n,"Missing expected exception"+r);var o="string"===typeof r,a=!e&&s.isError(i),l=!e&&i&&!n;if((a&&o&&M(i,n)||l)&&_(i,n,"Got unwanted exception"+r),e&&i&&n&&!M(i,n)||!e&&i)throw i}function T(e,t){e||_(e,!0,t,"==",T)}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 n=new Error;if(n.stack){var r=n.stack,i=f(t),o=r.indexOf("\n"+i);if(o>=0){var s=r.indexOf("\n",o+1);r=r.substring(s+1)}this.stack=r}}},s.inherits(h.AssertionError,Error),h.fail=_,h.ok=b,h.equal=function(e,t,n){e!=t&&_(e,t,n,"==",h.equal)},h.notEqual=function(e,t,n){e==t&&_(e,t,n,"!=",h.notEqual)},h.deepEqual=function(e,t,n){v(e,t,!1)||_(e,t,n,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,n){v(e,t,!0)||_(e,t,n,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,n){v(e,t,!1)&&_(e,t,n,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=R,h.strictEqual=function(e,t,n){e!==t&&_(e,t,n,"===",h.strictEqual)},h.notStrictEqual=function(e,t,n){e===t&&_(e,t,n,"!==",h.notStrictEqual)},h.throws=function(e,t,n){E(!0,e,t,n)},h.doesNotThrow=function(e,t,n){E(!1,e,t,n)},h.ifError=function(e){if(e)throw e},h.strict=r(T,h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var C=Object.keys||function(e){var t=[];for(var n in e)a.call(e,n)&&t.push(n);return t}}).call(this,n("c8ba"))},f67b:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"com-formual"},[n("el-form",[n("el-form-item",[n("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"}},[n("el-option",{attrs:{label:"测试模型",value:0}})],1)],1),n("el-form-item",[e.showSearch?n("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"}},[n("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.retrieval},slot:"append"})],1):e._e()],1),e.fileLoadStatus?n("el-form-item",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{"min-height":"200px"}},[n("div",[e._v("当前回答内容:"+e._s(e.textInfo))]),n("div",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"flex-end"}},[n("el-button",{attrs:{type:"primary"},on:{click:e.onConfirm}},[e._v(" 确认选择 ")])],1)]):e._e()],1)],1)},i=[],o=n("c7eb"),s=n("1da1"),a=n("1c4c"),l=n("bc3a"),c=n.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(s["a"])(Object(o["a"])().mark((function t(){var n;return Object(o["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:n=t.sent,200===n.status&&(e.textInfo=n.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(a["c"])({page:1,pageSize:999,status:5}).then((function(t){200==t.status&&(e.tableList=t.data.dataList)}))}}},d=u,h=(n("1cc6"),n("2877")),p=Object(h["a"])(d,r,i,!1,null,null,null);t["default"]=p.exports},f6b46:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1484. //! moment.js locale configuration
  1485. 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"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],s=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:i,weekdaysMin:o,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 s}))},f6ef:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("07a0"),i=n("e564"),o=n("26d6"),s=n("4f09");function a(e,t){let n=0;while(1){const r=n<e.length?e.charCodeAt(n):null,i=n<t.length?t.charCodeAt(n):null;if(null===r)return!0;if(r!==i)return!1;n++}}function l(e,t){if(a(t,e))return!1;if(a(e,t))return!0;for(let n=0;n<Math.min(e.length,t.length);n++){const r=e.charCodeAt(n),i=t.charCodeAt(n);if(r!==i)return r<i}return!1}function c(e){const t=Array.from(e),n=new Uint8Array(t.length);let r=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&&(n[r++]=e)}return n}function u(e){return/^[\u0000-\u007F]*$/.test(e)}function d(e){let t="";for(const n of e){const e=n.codePointAt(0);t+=void 0!==e&&e>=65&&e<=90?String.fromCodePoint(e+32):n}return t}function h(e){let t="";for(const n of e){const e=n.codePointAt(0);t+=void 0!==e&&e>=97&&e<=122?String.fromCodePoint(e-32):n}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(o.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 b(e){return _(e.replace(/[\t\n\f\r ]{2,}/g," "))}function v(e,t,n){if(!s.isArray(t))return v(e,Array.from(t),n);let r="";while(n.position<t.length&&e.call(null,t[n.position]))r+=t[n.position],n.position++;return r}function w(e,t){v(e=>r.ASCIIWhiteSpace.test(e),e,t)}function y(e,t){if(!s.isArray(e))return y(Array.from(e),t);const n={position:0},r=[];let i=v(e=>t!==e,e,n);r.push(i);while(n.position<e.length)console.assert(e[n.position]===t,"strictlySplit found no delimiter in input string."),n.position++,i=v(e=>t!==e,e,n),r.push(i);return r}function R(e){if(!s.isArray(e))return R(Array.from(e));const t={position:0},n=[];w(e,t);while(t.position<e.length){const i=v(e=>!r.ASCIIWhiteSpace.test(e),e,t);n.push(i),w(e,t)}return n}function M(e){if(!s.isArray(e))return M(Array.from(e));const t={position:0},n=[];while(t.position<e.length){const r=v(e=>","!==e,e,t);n.push(_(r)),t.position<e.length&&(console.assert(","===e[t.position],"splitAStringOnCommas found no delimiter in input string."),t.position++)}return n}function S(e,t=""){return 0===e.length?"":e.join(t)}t.isCodeUnitPrefix=a,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=b,t.collectASequenceOfCodePoints=v,t.skipASCIIWhitespace=w,t.strictlySplit=y,t.splitAStringOnASCIIWhitespace=R,t.splitAStringOnCommas=M,t.concatenate=S},f91d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("69a8"),o=n("9688");class s{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,n=this._root._firstChild;while(null!==n&&t!==e)n=n._nextSibling,t++;return n}{let t=this.length-1,n=this._root._lastChild;while(null!==n&&t!==e)n=n._previousSibling,t--;return n}}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 n=e.next();return n.done?{done:!0,value:null}:{done:!1,value:[t++,n.value]}}}}.bind(this)}}[Symbol.iterator](){return this._root._children[Symbol.iterator]()}forEach(e,t){void 0===t&&(t=r.dom.window);let n=0;for(const r of this._root._children)e.call(t,r,n++,this)}get(e,t,n){if(!i.isString(t))return Reflect.get(e,t,n);const r=Number(t);return isNaN(r)?Reflect.get(e,t,n):e.item(r)||void 0}set(e,t,n,r){if(!i.isString(t))return Reflect.set(e,t,n,r);const s=Number(t);if(isNaN(s))return Reflect.set(e,t,n,r);const a=e.item(s)||void 0;return!!a&&(!!a._parent&&(o.mutation_replace(a,n,a._parent),!0))}static _create(e){return new s(e)}}t.NodeListImpl=s},f938:function(e,t,n){"use strict";n.r(t),n.d(t,"KEY_CODES",(function(){return o})),n.d(t,"isPrintableChar",(function(){return a})),n.d(t,"isFunctionKey",(function(){return l})),n.d(t,"isCtrlKey",(function(){return c})),n.d(t,"isCtrlMetaKey",(function(){return u})),n.d(t,"isKey",(function(){return d}));n("14d9");var r=n("81ea"),i=n("63d8");const o={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},s=[o.ALT,o.ARROW_DOWN,o.ARROW_LEFT,o.ARROW_RIGHT,o.ARROW_UP,o.AUDIO_DOWN,o.AUDIO_MUTE,o.AUDIO_UP,o.BACKSPACE,o.CAPS_LOCK,o.DELETE,o.END,o.ENTER,o.ESCAPE,o.F1,o.F2,o.F3,o.F4,o.F5,o.F6,o.F7,o.F8,o.F9,o.F10,o.F11,o.F12,o.F13,o.F14,o.F15,o.F16,o.F17,o.F18,o.F19,o.HOME,o.INSERT,o.MEDIA_NEXT,o.MEDIA_PLAY_PAUSE,o.MEDIA_PREV,o.MEDIA_STOP,o.NULL,o.NUM_LOCK,o.PAGE_DOWN,o.PAGE_UP,o.PAUSE,o.SCROLL_LOCK,o.SHIFT,o.TAB];function a(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 s.includes(e)}function c(e){const t=[];return Object(i["isMacOS"])()?t.push(o.COMMAND_LEFT,o.COMMAND_RIGHT,o.COMMAND_FIREFOX):t.push(o.CONTROL),t.includes(e)}function u(e){return[o.CONTROL,o.COMMAND_LEFT,o.COMMAND_RIGHT,o.COMMAND_FIREFOX].includes(e)}function d(e,t){const n=t.split("|");let i=!1;return Object(r["arrayEach"])(n,t=>{if(e===o[t])return i=!0,!1}),i}},f955:function(e,t,n){},f9a6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9ccc"),i=n("42e9"),o=n("0fc1"),s=n("32d8"),a=n("9af8"),l=n("69a8"),c=n("a45a"),u=n("2bfb9"),d=n("9688"),h=n("68d5");class p extends s.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(a.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 o.InvalidCharacterError;"html"===this._type&&(e=e.toLowerCase());let n=null;void 0!==t&&(n=l.isString(t)?t:t.is);const r="html"===this._type||"application/xhtml+xml"===this._contentType?c.namespace.HTML:null;return d.element_createAnElement(this,e,r,null,n,!0)}createElementNS(e,t,n){return d.document_internalCreateElementNS(this,e,t,n)}createDocumentFragment(){return d.create_documentFragment(this)}createTextNode(e){return d.create_text(this,e)}createCDATASection(e){if("html"===this._type)throw new o.NotSupportedError;if(-1!==e.indexOf("]]>"))throw new o.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 o.InvalidCharacterError;if(-1!==t.indexOf("?>"))throw new o.InvalidCharacterError;return d.create_processingInstruction(this,e,t)}importNode(e,t=!1){if(a.Guard.isDocumentNode(e)||a.Guard.isShadowRoot(e))throw new o.NotSupportedError;return d.node_clone(e,this,t)}adoptNode(e){if(a.Guard.isDocumentNode(e))throw new o.NotSupportedError;if(a.Guard.isShadowRoot(e))throw new o.HierarchyRequestError;return d.document_adopt(e,this),e}createAttribute(e){if(!d.xml_isName(e))throw new o.InvalidCharacterError;"html"===this._type&&(e=e.toLowerCase());const t=d.create_attr(this,e);return t}createAttributeNS(e,t){const[n,r,i]=d.namespace_validateAndExtract(e,t),o=d.create_attr(this,i);return o._namespace=n,o._namespacePrefix=r,o}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,n=null){const r=d.create_nodeIterator(e,e,!0);return r._whatToShow=t,r._iteratorCollection=d.create_nodeList(e),l.isFunction(n)?(r._filter=d.create_nodeFilter(),r._filter.acceptNode=n):r._filter=n,r}createTreeWalker(e,t=i.WhatToShow.All,n=null){const r=d.create_treeWalker(e,e);return r._whatToShow=t,l.isFunction(n)?(r._filter=d.create_nodeFilter(),r._filter.acceptNode=n):r._filter=n,r}_getTheParent(e){return"load"===e._type?null:r.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,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return l}));var r=n("b775");function i(e){return Object(r["a"])({url:"/formula/search",method:"post",data:e})}function o(e){return Object(r["a"])({url:"/formula/create",method:"post",data:e})}function s(e){return Object(r["a"])({url:"/formula/update",method:"post",data:e})}function a(e){return Object(r["a"])({url:"/formula/info",method:"post",data:e})}function l(e){return Object(r["a"])({url:"/formula/delete",method:"post",data:e})}},fa31:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{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((n,r)=>e.call(t,r,n))}*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=r},fa68:function(e,t,n){"use strict";n("c11a")},fa83:function(e,t,n){"use strict";n.r(t),n.d(t,"VERSION",(function(){return r})),n.d(t,"Parser",(function(){return zr})),n.d(t,"CstParser",(function(){return qr})),n.d(t,"EmbeddedActionsParser",(function(){return Jr})),n.d(t,"ParserDefinitionErrorType",(function(){return Xr})),n.d(t,"EMPTY_ALT",(function(){return Zr})),n.d(t,"Lexer",(function(){return Re})),n.d(t,"LexerDefinitionErrorType",(function(){return ve})),n.d(t,"createToken",(function(){return Fe})),n.d(t,"createTokenInstance",(function(){return Ue})),n.d(t,"EOF",(function(){return Be})),n.d(t,"tokenLabel",(function(){return Me})),n.d(t,"tokenMatcher",(function(){return He})),n.d(t,"tokenName",(function(){return Se})),n.d(t,"defaultGrammarResolverErrorProvider",(function(){return Wn})),n.d(t,"defaultGrammarValidatorErrorProvider",(function(){return Yn})),n.d(t,"defaultParserErrorProvider",(function(){return Vn})),n.d(t,"EarlyExitException",(function(){return sr})),n.d(t,"isRecognitionException",(function(){return nr})),n.d(t,"MismatchedTokenException",(function(){return rr})),n.d(t,"NotAllInputParsedException",(function(){return or})),n.d(t,"NoViableAltException",(function(){return ir})),n.d(t,"defaultLexerErrorProvider",(function(){return we})),n.d(t,"Alternation",(function(){return qe})),n.d(t,"Flat",(function(){return Qe})),n.d(t,"NonTerminal",(function(){return We})),n.d(t,"Option",(function(){return Xe})),n.d(t,"Repetition",(function(){return Ze})),n.d(t,"RepetitionMandatory",(function(){return Ke})),n.d(t,"RepetitionMandatoryWithSeparator",(function(){return Ge})),n.d(t,"RepetitionWithSeparator",(function(){return ze})),n.d(t,"Rule",(function(){return Ye})),n.d(t,"Terminal",(function(){return Je})),n.d(t,"serializeGrammar",(function(){return $e})),n.d(t,"serializeProduction",(function(){return et})),n.d(t,"GAstVisitor",(function(){return rt})),n.d(t,"assignOccurrenceIndices",(function(){return zn})),n.d(t,"resolveGrammar",(function(){return Gn})),n.d(t,"validateGrammar",(function(){return Zn})),n.d(t,"clearCache",(function(){return gi})),n.d(t,"createSyntaxDiagramsCode",(function(){return $r})),n.d(t,"generateParserFactory",(function(){return mi})),n.d(t,"generateParserModule",(function(){return Ai}));var r="6.5.0",i=n("77aa"),o=n("890f"),s={},a=new o["RegExpParser"];function l(e){var t=e.toString();if(s.hasOwnProperty(t))return s[t];var n=a.pattern(t);return s[t]=n,n}function c(){s={}}var u=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d="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 n=l(e),r=f(n.value,{},n.flags.ignoreCase);return r}catch(a){if(a.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 s="";t&&(s="\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: "+o["VERSION"]+"\n\tPlease open an issue at: https://github.com/bd82/regexp-to-ast/issues"+s)}}return[]}function f(e,t,n){switch(e.type){case"Disjunction":for(var r=0;r<e.value.length;r++)f(e.value[r],t,n);break;case"Alternative":var o=e.value;for(r=0;r<o.length;r++){var s=o[r];switch(s.type){case"EndAnchor":case"GroupBackReference":case"Lookahead":case"NegativeLookahead":case"StartAnchor":case"WordBoundary":case"NonWordBoundary":continue}var a=s;switch(a.type){case"Character":m(a.value,t,n);break;case"Set":if(!0===a.complement)throw Error(d);Object(i["u"])(a.value,(function(e){if("number"===typeof e)m(e,t,n);else{var r=e;if(!0===n)for(var i=r.from;i<=r.to;i++)m(i,t,n);else{for(i=r.from;i<=r.to&&i<te;i++)m(i,t,n);if(r.to>=te)for(var o=r.from>=te?r.from:te,s=r.to,a=ne(o),l=ne(s),c=a;c<=l;c++)t[c]=c}}}));break;case"Group":f(a.value,t,n);break;default:throw Error("Non Exhaustive Match")}var l=void 0!==a.quantifier&&0===a.quantifier.atLeast;if("Group"===a.type&&!1===_(a)||"Group"!==a.type&&!1===l)break}break;default:throw Error("non exhaustive match!")}return Object(i["U"])(t)}function m(e,t,n){var r=ne(e);t[r]=r,!0===n&&A(e,t)}function A(e,t){var n=String.fromCharCode(e),r=n.toUpperCase();if(r!==n){var i=ne(r.charCodeAt(0));t[i]=i}else{var o=n.toLowerCase();if(o!==n){i=ne(o.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 n=e;return void 0!==Object(i["q"])(t,(function(e){return n.from<=e&&e<=n.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 b=function(e){function t(t){var n=e.call(this)||this;return n.targetCharCodes=t,n.found=!1,n}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}(o["BaseRegExpVisitor"]);function v(e,t){if(t instanceof RegExp){var n=l(t),r=new b(e);return r.visit(n),r.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,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y="PATTERN",R="defaultMode",M="modes",S="boolean"===typeof new RegExp("(?:)").sticky;function E(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 n,r=t.tracer;r("initCharCodeToOptimizedIndexMap",(function(){ie()})),r("Reject Lexer.NA",(function(){n=Object(i["P"])(e,(function(e){return e[y]===Re.NA}))}));var o,s,a,l,c,u,d,f,m,A,g,_=!1;r("Transform Patterns",(function(){_=!1,o=Object(i["I"])(n,(function(e){var n=e[y];if(Object(i["D"])(n)){var r=n.source;return 1===r.length&&"^"!==r&&"$"!==r&&"."!==r?r:2!==r.length||"\\"!==r[0]||Object(i["j"])(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],r[1])?t.useSticky?Y(n):W(n):r[1]}if(Object(i["B"])(n))return _=!0,{exec:n};if(Object(i["w"])(n,"exec"))return _=!0,n;if("string"===typeof n){if(1===n.length)return n;var o=n.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),s=new RegExp(o);return t.useSticky?Y(s):W(s)}throw Error("non exhaustive match")}))})),r("misc mapping",(function(){s=Object(i["I"])(n,(function(e){return e.tokenTypeIdx})),a=Object(i["I"])(n,(function(e){var t=e.GROUP;if(t!==Re.SKIPPED){if(Object(i["E"])(t))return t;if(Object(i["F"])(t))return!1;throw Error("non exhaustive match")}})),l=Object(i["I"])(n,(function(e){var t=e.LONGER_ALT;if(t){var r=Object(i["x"])(n,t);return r}})),c=Object(i["I"])(n,(function(e){return e.PUSH_MODE})),u=Object(i["I"])(n,(function(e){return Object(i["w"])(e,"POP_MODE")}))})),r("Line Terminator Handling",(function(){var e=$(t.lineTerminatorCharacters);d=Object(i["I"])(n,(function(e){return!1})),"onlyOffset"!==t.positionTracking&&(d=Object(i["I"])(n,(function(t){return Object(i["w"])(t,"LINE_BREAKS")?t.LINE_BREAKS:!1===q(t,e)?v(e,t.PATTERN):void 0})))})),r("Misc Mapping #2",(function(){f=Object(i["I"])(n,G),m=Object(i["I"])(o,Z),A=Object(i["O"])(n,(function(e,t){var n=t.GROUP;return Object(i["E"])(n)&&n!==Re.SKIPPED&&(e[n]=[]),e}),{}),g=Object(i["I"])(o,(function(e,t){return{pattern:o[t],longerAlt:l[t],canLineTerminator:d[t],isCustom:f[t],short:m[t],group:a[t],push:c[t],pop:u[t],tokenTypeIdx:s[t],tokenType:n[t]}}))}));var b=!0,w=[];return t.safeMode||r("First Char Optimization",(function(){w=Object(i["O"])(n,(function(e,n,r){if("string"===typeof n.PATTERN){var o=n.PATTERN.charCodeAt(0),s=ne(o);ee(e,s,g[r])}else if(Object(i["y"])(n.START_CHARS_HINT)){var a;Object(i["u"])(n.START_CHARS_HINT,(function(t){var n="string"===typeof t?t.charCodeAt(0):t,i=ne(n);a!==i&&(a=i,ee(e,i,g[r]))}))}else if(Object(i["D"])(n.PATTERN))if(n.PATTERN.unicode)b=!1,t.ensureOptimizations&&Object(i["c"])(h+"\tUnable to analyze < "+n.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(n.PATTERN,t.ensureOptimizations);Object(i["A"])(l)&&(b=!1),Object(i["u"])(l,(function(t){ee(e,t,g[r])}))}else t.ensureOptimizations&&Object(i["c"])(h+"\tTokenType: <"+n.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"),b=!1;return e}),[])})),r("ArrayPacking",(function(){w=Object(i["L"])(w)})),{emptyGroups:A,patternIdxToConfig:g,charCodeToPatternIdxToConfig:w,hasCustom:_,canBeOptimized:b}}function T(e,t){var n=[],r=O(e);n=n.concat(r.errors);var i=x(r.valid),o=i.valid;return n=n.concat(i.errors),n=n.concat(C(o)),n=n.concat(B(o)),n=n.concat(U(o,t)),n=n.concat(H(o)),n}function C(e){var t=[],n=Object(i["p"])(e,(function(e){return Object(i["D"])(e[y])}));return t=t.concat(L(n)),t=t.concat(D(n)),t=t.concat(F(n)),t=t.concat(k(n)),t=t.concat(I(n)),t}function O(e){var t=Object(i["p"])(e,(function(e){return!Object(i["w"])(e,y)})),n=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:ve.MISSING_PATTERN,tokenTypes:[e]}})),r=Object(i["l"])(e,t);return{errors:n,valid:r}}function x(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)})),n=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:ve.INVALID_PATTERN,tokenTypes:[e]}})),r=Object(i["l"])(e,t);return{errors:n,valid:r}}var N=/[^\\][\$]/;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}(o["BaseRegExpVisitor"]),n=Object(i["p"])(e,(function(e){var n=e[y];try{var r=l(n),i=new t;return i.visit(r),i.found}catch(o){return N.test(n.source)}})),r=Object(i["I"])(n,(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:ve.EOI_ANCHOR_FOUND,tokenTypes:[e]}}));return r}function I(e){var t=Object(i["p"])(e,(function(e){var t=e[y];return t.test("")})),n=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:ve.EMPTY_MATCH_PATTERN,tokenTypes:[e]}}));return n}var P=/[^\\[][\^]|^\^/;function D(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}(o["BaseRegExpVisitor"]),n=Object(i["p"])(e,(function(e){var n=e[y];try{var r=l(n),i=new t;return i.visit(r),i.found}catch(o){return P.test(n.source)}})),r=Object(i["I"])(n,(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:ve.SOI_ANCHOR_FOUND,tokenTypes:[e]}}));return r}function F(e){var t=Object(i["p"])(e,(function(e){var t=e[y];return t instanceof RegExp&&(t.multiline||t.global)})),n=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ve.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}}));return n}function k(e){var t=[],n=Object(i["I"])(e,(function(n){return Object(i["O"])(e,(function(e,r){return n.PATTERN.source!==r.PATTERN.source||Object(i["j"])(t,r)||r.PATTERN===Re.NA||(t.push(r),e.push(r)),e}),[])}));n=Object(i["i"])(n);var r=Object(i["p"])(n,(function(e){return e.length>1})),o=Object(i["I"])(r,(function(e){var t=Object(i["I"])(e,(function(e){return e.name})),n=Object(i["s"])(e).PATTERN;return{message:"The same RegExp pattern ->"+n+"<-has been used in all of the following Token Types: "+t.join(", ")+" <-",type:ve.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}}));return o}function B(e){var t=Object(i["p"])(e,(function(e){if(!Object(i["w"])(e,"GROUP"))return!1;var t=e.GROUP;return t!==Re.SKIPPED&&t!==Re.NA&&!Object(i["E"])(t)})),n=Object(i["I"])(t,(function(e){return{message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ve.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}}));return n}function U(e,t){var n=Object(i["p"])(e,(function(e){return void 0!==e.PUSH_MODE&&!Object(i["j"])(t,e.PUSH_MODE)})),r=Object(i["I"])(n,(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:ve.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}}));return r}function H(e){var t=[],n=Object(i["O"])(e,(function(e,t,n){var r=t.PATTERN;return r===Re.NA||(Object(i["E"])(r)?e.push({str:r,idx:n,tokenType:t}):Object(i["D"])(r)&&V(r)&&e.push({str:r.source,idx:n,tokenType:t})),e}),[]);return Object(i["u"])(e,(function(e,r){Object(i["u"])(n,(function(n){var i=n.str,o=n.idx,s=n.tokenType;if(r<o&&j(i,e.PATTERN)){var a="Token: ->"+s.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:a,type:ve.UNREACHABLE_PATTERN,tokenTypes:[e,s]})}}))})),t}function j(e,t){if(Object(i["D"])(t)){var n=t.exec(e);return null!==n&&0===n.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 W(e){var t=e.ignoreCase?"i":"";return new RegExp("^(?:"+e.source+")",t)}function Y(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}function Q(e,t,n){var r=[];return Object(i["w"])(e,R)||r.push({message:"A MultiMode Lexer cannot be initialized without a <"+R+"> property in its definition\n",type:ve.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),Object(i["w"])(e,M)||r.push({message:"A MultiMode Lexer cannot be initialized without a <"+M+"> property in its definition\n",type:ve.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),Object(i["w"])(e,M)&&Object(i["w"])(e,R)&&!Object(i["w"])(e.modes,e.defaultMode)&&r.push({message:"A MultiMode Lexer cannot be initialized with a "+R+": <"+e.defaultMode+">which does not exist\n",type:ve.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),Object(i["w"])(e,M)&&Object(i["u"])(e.modes,(function(e,t){Object(i["u"])(e,(function(e,n){Object(i["F"])(e)&&r.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:<"+t+"> at index: <"+n+">\n",type:ve.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})}))})),r}function X(e,t,n){var r=[],o=!1,s=Object(i["i"])(Object(i["t"])(Object(i["J"])(e.modes,(function(e){return e})))),a=Object(i["P"])(s,(function(e){return e[y]===Re.NA})),l=$(n);return t&&Object(i["u"])(a,(function(e){var t=q(e,l);if(!1!==t){var n=J(e,t),s={message:n,type:t.issue,tokenType:e};r.push(s)}else Object(i["w"])(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(o=!0):v(l,e.PATTERN)&&(o=!0)})),t&&!o&&r.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:ve.NO_LINE_BREAKS_FLAGS}),r}function K(e){var t={},n=Object(i["G"])(e);return Object(i["u"])(n,(function(n){var r=e[n];if(!Object(i["y"])(r))throw Error("non exhaustive match");t[n]=[]})),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 Z(e){return!(!Object(i["E"])(e)||1!==e.length)&&e.charCodeAt(0)}var z={test:function(e){for(var t=e.length,n=this.lastIndex;n<t;n++){var r=e.charCodeAt(n);if(10===r)return this.lastIndex=n+1,!0;if(13===r)return 10===e.charCodeAt(n+1)?this.lastIndex=n+2:this.lastIndex=n+1,!0}return!1},lastIndex:0};function q(e,t){if(Object(i["w"])(e,"LINE_BREAKS"))return!1;if(Object(i["D"])(e.PATTERN)){try{v(t,e.PATTERN)}catch(n){return{issue:ve.IDENTIFY_TERMINATOR,errMsg:n.message}}return!1}if(Object(i["E"])(e.PATTERN))return!1;if(G(e))return{issue:ve.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}function J(e,t){if(t.issue===ve.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===ve.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 $(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,n){void 0===e[t]?e[t]=[n]:e[t].push(n)}var te=256;function ne(e){return e<te?e:re[e]}var re=[];function ie(){if(Object(i["A"])(re)){re=new Array(65536);for(var e=0;e<65536;e++)re[e]=e>255?255+~~(e/255):e}}function oe(e,t){var n=e.tokenTypeIdx;return n===t.tokenTypeIdx||!0===t.isParent&&!0===t.categoryMatchesMap[n]}function se(e,t){return e.tokenTypeIdx===t.tokenTypeIdx}var ae=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),n=e,r=!0;while(r){n=Object(i["i"])(Object(i["t"])(Object(i["I"])(n,(function(e){return e.CATEGORIES}))));var o=Object(i["l"])(n,t);t=t.concat(o),Object(i["A"])(o)?r=!1:n=o}return t}function de(e){Object(i["u"])(e,(function(e){me(e)||(le[ae]=e,e.tokenTypeIdx=ae++),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,n){e.categoryMatches.push(le[n].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(n){var r=e.concat(t);Object(i["j"])(r,n)||fe(r,n)}))}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 be(e){return Object(i["w"])(e,"tokenTypeIdx")}var ve,we={buildUnableToPopLexerModeMessage:function(e){return"Unable to pop Lexer Mode after encountering Token ->"+e.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(e,t,n,r,i){return"unexpected character: ->"+e.charAt(t)+"<- at offset: "+t+", skipped "+n+" 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"})(ve||(ve={}));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 Re=function(){function e(e,t){var n=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 r=this.config.traceInitPerf;!0===r?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"===typeof r&&(this.traceInitMaxIdent=r,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",(function(){var r,o=!0;n.TRACE_INIT("Lexer Config handling",(function(){if(n.config.lineTerminatorsPattern===ye.lineTerminatorsPattern)n.config.lineTerminatorsPattern=z;else if(n.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.');n.trackStartLines=/full|onlyStart/i.test(n.config.positionTracking),n.trackEndLines=/full/i.test(n.config.positionTracking),Object(i["y"])(e)?(r={modes:{}},r.modes[R]=Object(i["g"])(e),r[R]=R):(o=!1,r=Object(i["h"])(e))})),!1===n.config.skipValidations&&(n.TRACE_INIT("performRuntimeChecks",(function(){n.lexerDefinitionErrors=n.lexerDefinitionErrors.concat(Q(r,n.trackStartLines,n.config.lineTerminatorCharacters))})),n.TRACE_INIT("performWarningRuntimeChecks",(function(){n.lexerDefinitionWarning=n.lexerDefinitionWarning.concat(X(r,n.trackStartLines,n.config.lineTerminatorCharacters))}))),r.modes=r.modes?r.modes:{},Object(i["u"])(r.modes,(function(e,t){r.modes[t]=Object(i["P"])(e,(function(e){return Object(i["F"])(e)}))}));var s=Object(i["G"])(r.modes);if(Object(i["u"])(r.modes,(function(e,r){n.TRACE_INIT("Mode: <"+r+"> processing",(function(){var o;(n.modes.push(r),!1===n.config.skipValidations&&n.TRACE_INIT("validatePatterns",(function(){n.lexerDefinitionErrors=n.lexerDefinitionErrors.concat(T(e,s))})),Object(i["A"])(n.lexerDefinitionErrors))&&(ce(e),n.TRACE_INIT("analyzeTokenTypes",(function(){o=E(e,{lineTerminatorCharacters:n.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:n.TRACE_INIT.bind(n)})})),n.patternIdxToConfig[r]=o.patternIdxToConfig,n.charCodeToPatternIdxToConfig[r]=o.charCodeToPatternIdxToConfig,n.emptyGroups=Object(i["K"])(n.emptyGroups,o.emptyGroups),n.hasCustom=o.hasCustom||n.hasCustom,n.canModeBeOptimized[r]=o.canBeOptimized)}))})),n.defaultMode=r.defaultMode,!Object(i["A"])(n.lexerDefinitionErrors)&&!n.config.deferDefinitionErrorsHandling){var a=Object(i["I"])(n.lexerDefinitionErrors,(function(e){return e.message})),l=a.join("-----------------------\n");throw new Error("Errors detected in definition of Lexer:\n"+l)}Object(i["u"])(n.lexerDefinitionWarning,(function(e){Object(i["d"])(e.message)})),n.TRACE_INIT("Choosing sub-methods implementations",(function(){if(S?(n.chopInput=i["a"],n.match=n.matchWithTest):(n.updateLastIndex=i["b"],n.match=n.matchWithExec),o&&(n.handleModes=i["b"]),!1===n.trackStartLines&&(n.computeNewColumn=i["a"]),!1===n.trackEndLines&&(n.updateTokenEndLineColumnLocation=i["b"]),/full/i.test(n.config.positionTracking))n.createTokenInstance=n.createFullToken;else if(/onlyStart/i.test(n.config.positionTracking))n.createTokenInstance=n.createStartOnlyToken;else{if(!/onlyOffset/i.test(n.config.positionTracking))throw Error('Invalid <positionTracking> config option: "'+n.config.positionTracking+'"');n.createTokenInstance=n.createOffsetOnlyToken}n.hasCustom?(n.addToken=n.addTokenUsingPush,n.handlePayload=n.handlePayloadWithCustom):(n.addToken=n.addTokenUsingMemberAccess,n.handlePayload=n.handlePayloadNoCustom)})),n.TRACE_INIT("Failed Optimization Warnings",(function(){var e=Object(i["O"])(n.canModeBeOptimized,(function(e,t,n){return!1===t&&e.push(n),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.')})),n.TRACE_INIT("clearRegExpParserCache",(function(){c()})),n.TRACE_INIT("toFastProperties",(function(){Object(i["S"])(n)}))}))}return e.prototype.tokenize=function(e,t){if(void 0===t&&(t=this.defaultMode),!Object(i["A"])(this.lexerDefinitionErrors)){var n=Object(i["I"])(this.lexerDefinitionErrors,(function(e){return e.message})),r=n.join("-----------------------\n");throw new Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+r)}var o=this.tokenizeInternal(e,t);return o},e.prototype.tokenizeInternal=function(e,t){var n,r,o,s,a,l,c,u,d,h,p,f,m,A,g=this,_=e,b=_.length,v=0,w=0,y=this.hasCustom?0:Math.floor(e.length/10),R=new Array(y),M=[],S=this.trackStartLines?1:void 0,E=this.trackStartLines?1:void 0,T=K(this.emptyGroups),C=this.trackStartLines,O=this.config.lineTerminatorsPattern,x=0,N=[],L=[],I=[],P=[];Object.freeze(P);var D=void 0;function F(){return N}function k(e){var t=ne(e),n=L[t];return void 0===n?P:n}var B,U=function(e){if(1===I.length&&void 0===e.tokenType.PUSH_MODE){var t=g.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);M.push({offset:e.startOffset,line:void 0!==e.startLine?e.startLine:void 0,column:void 0!==e.startColumn?e.startColumn:void 0,length:e.image.length,message:t})}else{I.pop();var n=Object(i["H"])(I);N=g.patternIdxToConfig[n],L=g.charCodeToPatternIdxToConfig[n],x=N.length;var r=g.canModeBeOptimized[n]&&!1===g.config.safeMode;D=L&&r?k:F}};function H(e){I.push(e),L=this.charCodeToPatternIdxToConfig[e],N=this.patternIdxToConfig[e],x=N.length,x=N.length;var t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;D=L&&t?k:F}H.call(this,t);while(v<b){a=null;var j=_.charCodeAt(v),V=D(j),W=V.length;for(n=0;n<W;n++){B=V[n];var Y=B.pattern;l=null;var Q=B.short;if(!1!==Q?j===Q&&(a=Y):!0===B.isCustom?(A=Y.exec(_,v,R,T),null!==A?(a=A[0],void 0!==A.payload&&(l=A.payload)):a=null):(this.updateLastIndex(Y,v),a=this.match(Y,e,v)),null!==a){if(s=B.longerAlt,void 0!==s){var X=N[s],G=X.pattern;c=null,!0===X.isCustom?(A=G.exec(_,v,R,T),null!==A?(o=A[0],void 0!==A.payload&&(c=A.payload)):o=null):(this.updateLastIndex(G,v),o=this.match(G,e,v)),o&&o.length>a.length&&(a=o,l=c,B=X)}break}}if(null!==a){if(u=a.length,d=B.group,void 0!==d&&(h=B.tokenTypeIdx,p=this.createTokenInstance(a,v,h,B.tokenType,S,E,u),this.handlePayload(p,l),!1===d?w=this.addToken(R,w,p):T[d].push(p)),e=this.chopInput(e,u),v+=u,E=this.computeNewColumn(E,u),!0===C&&!0===B.canLineTerminator){var Z=0,z=void 0,q=void 0;O.lastIndex=0;do{z=O.test(a),!0===z&&(q=O.lastIndex-1,Z++)}while(!0===z);0!==Z&&(S+=Z,E=u-q,this.updateTokenEndLineColumnLocation(p,d,q,Z,S,E,u))}this.handleModes(B,U,H,p)}else{var J=v,$=S,ee=E,te=!1;while(!te&&v<b)for(_.charCodeAt(v),e=this.chopInput(e,1),v++,r=0;r<x;r++){var re=N[r];Y=re.pattern,Q=re.short;if(!1!==Q?_.charCodeAt(v)===Q&&(te=!0):!0===re.isCustom?te=null!==Y.exec(_,v,R,T):(this.updateLastIndex(Y,v),te=null!==Y.exec(e)),!0===te)break}f=v-J,m=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(_,J,f,$,ee),M.push({offset:J,line:$,column:ee,length:f,message:m})}}return this.hasCustom||(R.length=w),{tokens:R,groups:T,errors:M}},e.prototype.handleModes=function(e,t,n,r){if(!0===e.pop){var i=e.push;t(r),void 0!==i&&n.call(this,i)}else void 0!==e.push&&n.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,n,r,i,o,s){var a,l;void 0!==t&&(a=n===s-1,l=a?-1:0,1===r&&!0===a||(e.endLine=i+l,e.endColumn=o-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,n,r){return{image:e,startOffset:t,tokenTypeIdx:n,tokenType:r}},e.prototype.createStartOnlyToken=function(e,t,n,r,i,o){return{image:e,startOffset:t,startLine:i,startColumn:o,tokenTypeIdx:n,tokenType:r}},e.prototype.createFullToken=function(e,t,n,r,i,o,s){return{image:e,startOffset:t,endOffset:t+s-1,startLine:i,endLine:i,startColumn:o,endColumn:o+s-1,tokenTypeIdx:n,tokenType:r}},e.prototype.addToken=function(e,t,n){return 666},e.prototype.addTokenUsingPush=function(e,t,n){return e.push(n),t},e.prototype.addTokenUsingMemberAccess=function(e,t,n){return e[t]=n,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,n){return null},e.prototype.matchWithTest=function(e,t,n){var r=e.test(t);return!0===r?t.substring(n,e.lastIndex):null},e.prototype.matchWithExec=function(e,t){var n=e.exec(t);return null!==n?n[0]:n},e.prototype.TRACE_INIT=function(e,t){if(!0===this.traceInitPerf){this.traceInitIndent++;var n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(n+"--\x3e <"+e+">");var r=Object(i["R"])(t),o=r.time,s=r.value,a=o>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&a(n+"<-- <"+e+"> time: "+o+"ms"),this.traceInitIndent--,s}return t()},e.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",e.NA=/NOT_APPLICABLE/,e}();function Me(e){return Ee(e)?e.LABEL:e.name}function Se(e){return e.name}function Ee(e){return Object(i["E"])(e.LABEL)&&""!==e.LABEL}var Te="parent",Ce="categories",Oe="label",xe="group",Ne="push_mode",Le="pop_mode",Ie="longer_alt",Pe="line_breaks",De="start_chars_hint";function Fe(e){return ke(e)}function ke(e){var t=e.pattern,n={};if(n.name=e.name,Object(i["F"])(t)||(n.PATTERN=t),Object(i["w"])(e,Te))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,Ce)&&(n.CATEGORIES=e[Ce]),ce([n]),Object(i["w"])(e,Oe)&&(n.LABEL=e[Oe]),Object(i["w"])(e,xe)&&(n.GROUP=e[xe]),Object(i["w"])(e,Le)&&(n.POP_MODE=e[Le]),Object(i["w"])(e,Ne)&&(n.PUSH_MODE=e[Ne]),Object(i["w"])(e,Ie)&&(n.LONGER_ALT=e[Ie]),Object(i["w"])(e,Pe)&&(n.LINE_BREAKS=e[Pe]),Object(i["w"])(e,De)&&(n.START_CHARS_HINT=e[De]),n}var Be=Fe({name:"EOF",pattern:Re.NA});function Ue(e,t,n,r,i,o,s,a){return{image:t,startOffset:n,endOffset:r,startLine:i,endLine:o,startColumn:s,endColumn:a,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}function He(e,t){return oe(e,t)}ce([Be]);var je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),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}(),We=function(e){function t(t){var n=e.call(this,[])||this;return n.idx=1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(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),Ye=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.orgText="",Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),Qe=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.ignoreAmbiguities=!1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),Xe=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.idx=1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),Ke=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.idx=1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),Ge=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.idx=1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),Ze=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.idx=1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),ze=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.idx=1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),qe=function(e){function t(t){var n=e.call(this,t.definition)||this;return n.idx=1,n.ignoreAmbiguities=!1,n.hasPredicates=!1,Object(i["f"])(n,Object(i["N"])(t,(function(e){return void 0!==e}))),n}return je(t,e),t}(Ve),Je=function(){function e(e){this.idx=1,Object(i["f"])(this,Object(i["N"])(e,(function(e){return void 0!==e})))}return e.prototype.accept=function(e){e.visit(this)},e}();function $e(e){return Object(i["I"])(e,et)}function et(e){function t(e){return Object(i["I"])(e,et)}if(e instanceof We)return{type:"NonTerminal",name:e.nonTerminalName,idx:e.idx};if(e instanceof Qe)return{type:"Flat",definition:t(e.definition)};if(e instanceof Xe)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof Ke)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 Je({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof ze)return{type:"RepetitionWithSeparator",name:e.name,idx:e.idx,separator:et(new Je({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof Ze)return{type:"Repetition",name:e.name,idx:e.idx,definition:t(e.definition)};if(e instanceof qe)return{type:"Alternation",name:e.name,idx:e.idx,definition:t(e.definition)};if(e instanceof Je){var n={type:"Terminal",name:e.terminalType.name,label:Me(e.terminalType),idx:e.idx},r=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(n.pattern=Object(i["D"])(r)?r.source:r),n}if(e instanceof Ye)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 n=this;void 0===t&&(t=[]),Object(i["u"])(e.definition,(function(r,o){var s=Object(i["m"])(e.definition,o+1);if(r instanceof We)n.walkProdRef(r,s,t);else if(r instanceof Je)n.walkTerminal(r,s,t);else if(r instanceof Qe)n.walkFlat(r,s,t);else if(r instanceof Xe)n.walkOption(r,s,t);else if(r instanceof Ke)n.walkAtLeastOne(r,s,t);else if(r instanceof Ge)n.walkAtLeastOneSep(r,s,t);else if(r instanceof ze)n.walkManySep(r,s,t);else if(r instanceof Ze)n.walkMany(r,s,t);else{if(!(r instanceof qe))throw Error("non exhaustive match");n.walkOr(r,s,t)}}))},e.prototype.walkTerminal=function(e,t,n){},e.prototype.walkProdRef=function(e,t,n){},e.prototype.walkFlat=function(e,t,n){var r=t.concat(n);this.walk(e,r)},e.prototype.walkOption=function(e,t,n){var r=t.concat(n);this.walk(e,r)},e.prototype.walkAtLeastOne=function(e,t,n){var r=[new Xe({definition:e.definition})].concat(t,n);this.walk(e,r)},e.prototype.walkAtLeastOneSep=function(e,t,n){var r=nt(e,t,n);this.walk(e,r)},e.prototype.walkMany=function(e,t,n){var r=[new Xe({definition:e.definition})].concat(t,n);this.walk(e,r)},e.prototype.walkManySep=function(e,t,n){var r=nt(e,t,n);this.walk(e,r)},e.prototype.walkOr=function(e,t,n){var r=this,o=t.concat(n);Object(i["u"])(e.definition,(function(e){var t=new Qe({definition:[e]});r.walk(t,o)}))},e}();function nt(e,t,n){var r=[new Xe({definition:[new Je({terminalType:e.separator})].concat(e.definition)})],i=r.concat(t,n);return i}var rt=function(){function e(){}return e.prototype.visit=function(e){var t=e;switch(t.constructor){case We:return this.visitNonTerminal(t);case Qe:return this.visitFlat(t);case Xe:return this.visitOption(t);case Ke:return this.visitRepetitionMandatory(t);case Ge:return this.visitRepetitionMandatoryWithSeparator(t);case ze:return this.visitRepetitionWithSeparator(t);case Ze:return this.visitRepetition(t);case qe:return this.visitAlternation(t);case Je:return this.visitTerminal(t);case Ye: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,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function ot(e){return e instanceof Qe||e instanceof Xe||e instanceof Ze||e instanceof Ke||e instanceof Ge||e instanceof ze||e instanceof Je||e instanceof Ye}function st(e,t){void 0===t&&(t=[]);var n=e instanceof Xe||e instanceof Ze||e instanceof ze;return!!n||(e instanceof qe?Object(i["Q"])(e.definition,(function(e){return st(e,t)})):!(e instanceof We&&Object(i["j"])(t,e))&&(e instanceof Ve&&(e instanceof We&&t.push(e),Object(i["o"])(e.definition,(function(e){return st(e,t)})))))}function at(e){return e instanceof qe}function lt(e){if(e instanceof We)return"SUBRULE";if(e instanceof Xe)return"OPTION";if(e instanceof qe)return"OR";if(e instanceof Ke)return"AT_LEAST_ONE";if(e instanceof Ge)return"AT_LEAST_ONE_SEP";if(e instanceof ze)return"MANY_SEP";if(e instanceof Ze)return"MANY";if(e instanceof Je)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}(rt),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 We)return ht(e.referencedRule);if(e instanceof Je)return mt(e);if(ot(e))return pt(e);if(at(e))return ft(e);throw Error("non exhaustive match")}function pt(e){var t,n=[],r=e.definition,o=0,s=r.length>o,a=!0;while(s&&a)t=r[o],a=st(t),n=n.concat(ht(t)),o+=1,s=r.length>o;return Object(i["T"])(n)}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,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_t=function(e){function t(t){var n=e.call(this)||this;return n.topProd=t,n.follows={},n}return gt(t,e),t.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},t.prototype.walkTerminal=function(e,t,n){},t.prototype.walkProdRef=function(e,t,n){var r=vt(e.referencedRule,e.idx)+this.topProd.name,i=t.concat(n),o=new Qe({definition:i}),s=ht(o);this.follows[r]=s},t}(tt);function bt(e){var t={};return Object(i["u"])(e,(function(e){var n=new _t(e).startWalking();Object(i["f"])(t,n)})),t}function vt(e,t){return e.name+t+At}var wt=4,yt=8,Rt=8,Mt=1<<yt,St=2<<yt,Et=3<<yt,Tt=4<<yt,Ct=5<<yt,Ot=6<<yt;function xt(e,t,n){return n|t|e}var Nt=32-Rt;function Lt(e,t,n,r){var i=r+1<<Nt;return xt(e,t,n)|i}var It=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Pt(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset<t.endOffset===!0&&(e.endOffset=t.endOffset)}function Dt(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.startColumn=t.startColumn,e.startLine=t.startLine,e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine):e.endOffset<t.endOffset===!0&&(e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine)}function Ft(e,t,n){void 0===e.children[n]?e.children[n]=[t]:e.children[n].push(t)}function kt(e,t,n){void 0===e.children[t]?e.children[t]=[n]:e.children[t].push(n)}var Bt=function(e){function t(t){var n=e.call(this)||this;return n.result=[],n.ruleIdx=t,n}return It(t,e),t.prototype.collectNamedDSLMethod=function(e,t,n){if(!Object(i["F"])(e.name)){var r=void 0;if(e instanceof Xe||e instanceof Ze||e instanceof Ke||e instanceof qe)r=new t({definition:e.definition,idx:e.idx});else{if(!(e instanceof Ge||e instanceof ze))throw Error("non exhaustive match");r=new t({definition:e.definition,idx:e.idx,separator:e.separator})}var o=[r],s=xt(this.ruleIdx,n,e.idx);this.result.push({def:o,key:s,name:e.name,orgProd:e})}},t.prototype.visitOption=function(e){this.collectNamedDSLMethod(e,Xe,St)},t.prototype.visitRepetition=function(e){this.collectNamedDSLMethod(e,Ze,Et)},t.prototype.visitRepetitionMandatory=function(e){this.collectNamedDSLMethod(e,Ke,Tt)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.collectNamedDSLMethod(e,Ge,Ot)},t.prototype.visitRepetitionWithSeparator=function(e){this.collectNamedDSLMethod(e,ze,Ct)},t.prototype.visitAlternation=function(e){var t=this;this.collectNamedDSLMethod(e,qe,Mt);var n=e.definition.length>1;Object(i["u"])(e.definition,(function(r,o){if(!Object(i["F"])(r.name)){var s=r.definition;s=n?[new Xe({definition:r.definition})]:r.definition;var a=Lt(t.ruleIdx,Mt,e.idx,o);t.result.push({def:s,key:a,name:r.name,orgProd:r})}}))},t}(rt);function Ut(e,t){var n={allRuleNames:[]};return Object(i["u"])(e,(function(e){var r=t[e.name];n.allRuleNames.push(e.name);var o=new Bt(r);e.accept(o),Object(i["u"])(o.result,(function(t){t.def,t.key;var r=t.name;n.allRuleNames.push(e.name+r)}))})),n}var Ht=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jt=function(e){function t(t,n){var r=e.call(this)||this;return r.topProd=t,r.path=n,r.possibleTokTypes=[],r.nextProductionName="",r.nextProductionOccurrence=0,r.found=!1,r.isAtEndOfPath=!1,r}return Ht(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,n){void 0===n&&(n=[]),this.found||e.prototype.walk.call(this,t,n)},t.prototype.walkProdRef=function(e,t,n){if(e.referencedRule.name===this.nextProductionName&&e.idx===this.nextProductionOccurrence){var r=t.concat(n);this.updateExpectedNext(),this.walk(e.referencedRule,r)}},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,n){var r=e.call(this,t,n)||this;return r.path=n,r.nextTerminalName="",r.nextTerminalOccurrence=0,r.nextTerminalName=r.path.lastTok.name,r.nextTerminalOccurrence=r.path.lastTokOccurrence,r}return Ht(t,e),t.prototype.walkTerminal=function(e,t,n){if(this.isAtEndOfPath&&e.terminalType.name===this.nextTerminalName&&e.idx===this.nextTerminalOccurrence&&!this.found){var r=t.concat(n),i=new Qe({definition:r});this.possibleTokTypes=ht(i),this.found=!0}},t}(jt),Wt=function(e){function t(t,n){var r=e.call(this)||this;return r.topRule=t,r.occurrence=n,r.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},r}return Ht(t,e),t.prototype.startWalking=function(){return this.walk(this.topRule),this.result},t}(tt),Yt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ht(t,e),t.prototype.walkMany=function(t,n,r){if(t.idx===this.occurrence){var o=Object(i["s"])(n.concat(r));this.result.isEndOfRule=void 0===o,o instanceof Je&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else e.prototype.walkMany.call(this,t,n,r)},t}(Wt),Qt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ht(t,e),t.prototype.walkManySep=function(t,n,r){if(t.idx===this.occurrence){var o=Object(i["s"])(n.concat(r));this.result.isEndOfRule=void 0===o,o instanceof Je&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else e.prototype.walkManySep.call(this,t,n,r)},t}(Wt),Xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ht(t,e),t.prototype.walkAtLeastOne=function(t,n,r){if(t.idx===this.occurrence){var o=Object(i["s"])(n.concat(r));this.result.isEndOfRule=void 0===o,o instanceof Je&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else e.prototype.walkAtLeastOne.call(this,t,n,r)},t}(Wt),Kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ht(t,e),t.prototype.walkAtLeastOneSep=function(t,n,r){if(t.idx===this.occurrence){var o=Object(i["s"])(n.concat(r));this.result.isEndOfRule=void 0===o,o instanceof Je&&(this.result.token=o.terminalType,this.result.occurrence=o.idx)}else e.prototype.walkAtLeastOneSep.call(this,t,n,r)},t}(Wt);function Gt(e,t,n){void 0===n&&(n=[]),n=Object(i["g"])(n);var r=[],o=0;function s(t){return t.concat(Object(i["m"])(e,o+1))}function a(e){var i=Gt(s(e),t,n);return r.concat(i)}while(n.length<t&&o<e.length){var l=e[o];if(l instanceof Qe)return a(l.definition);if(l instanceof We)return a(l.definition);if(l instanceof Xe)r=a(l.definition);else{if(l instanceof Ke){var c=l.definition.concat([new Ze({definition:l.definition})]);return a(c)}if(l instanceof Ge){c=[new Qe({definition:l.definition}),new Ze({definition:[new Je({terminalType:l.separator})].concat(l.definition)})];return a(c)}if(l instanceof ze){c=l.definition.concat([new Ze({definition:[new Je({terminalType:l.separator})].concat(l.definition)})]);r=a(c)}else if(l instanceof Ze){c=l.definition.concat([new Ze({definition:l.definition})]);r=a(c)}else{if(l instanceof qe)return Object(i["u"])(l.definition,(function(e){r=a(e.definition)})),r;if(!(l instanceof Je))throw Error("non exhaustive match");n.push(l.terminalType)}}o++}return r.push({partialPath:n,suffixDef:Object(i["m"])(e,o)}),r}function Zt(e,t,n,r){var o="EXIT_NONE_TERMINAL",s=[o],a="EXIT_ALTERNATIVE",l=!1,c=t.length,u=c-r-1,d=[],h=[];h.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});while(!Object(i["A"])(h)){var p=h.pop();if(p!==a){var f=p.def,m=p.idx,A=p.ruleStack,g=p.occurrenceStack;if(!Object(i["A"])(f)){var _=f[0];if(_===o){var b={idx:m,def:Object(i["m"])(f),ruleStack:Object(i["n"])(A),occurrenceStack:Object(i["n"])(g)};h.push(b)}else if(_ instanceof Je)if(m<c-1){var v=m+1,w=t[v];if(n(w,_.terminalType)){b={idx:v,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(b)}}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 We){var y=Object(i["g"])(A);y.push(_.nonTerminalName);var R=Object(i["g"])(g);R.push(_.idx);b={idx:m,def:_.definition.concat(s,Object(i["m"])(f)),ruleStack:y,occurrenceStack:R};h.push(b)}else if(_ instanceof Xe){var M={idx:m,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(M),h.push(a);var S={idx:m,def:_.definition.concat(Object(i["m"])(f)),ruleStack:A,occurrenceStack:g};h.push(S)}else if(_ instanceof Ke){var E=new Ze({definition:_.definition,idx:_.idx}),T=_.definition.concat([E],Object(i["m"])(f));b={idx:m,def:T,ruleStack:A,occurrenceStack:g};h.push(b)}else if(_ instanceof Ge){var C=new Je({terminalType:_.separator});E=new Ze({definition:[C].concat(_.definition),idx:_.idx}),T=_.definition.concat([E],Object(i["m"])(f)),b={idx:m,def:T,ruleStack:A,occurrenceStack:g};h.push(b)}else if(_ instanceof ze){M={idx:m,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(M),h.push(a);C=new Je({terminalType:_.separator});var O=new Ze({definition:[C].concat(_.definition),idx:_.idx});T=_.definition.concat([O],Object(i["m"])(f)),S={idx:m,def:T,ruleStack:A,occurrenceStack:g};h.push(S)}else if(_ instanceof Ze){M={idx:m,def:Object(i["m"])(f),ruleStack:A,occurrenceStack:g};h.push(M),h.push(a);O=new Ze({definition:_.definition,idx:_.idx}),T=_.definition.concat([O],Object(i["m"])(f)),S={idx:m,def:T,ruleStack:A,occurrenceStack:g};h.push(S)}else if(_ instanceof qe)for(var x=_.definition.length-1;x>=0;x--){var N=_.definition[x],L={idx:m,def:N.definition.concat(Object(i["m"])(f)),ruleStack:A,occurrenceStack:g};h.push(L),h.push(a)}else if(_ instanceof Qe)h.push({idx:m,def:_.definition.concat(Object(i["m"])(f)),ruleStack:A,occurrenceStack:g});else{if(!(_ instanceof Ye))throw Error("non exhaustive match");h.push(zt(_,m,A,g))}}}else l&&Object(i["H"])(h).idx<=u&&h.pop()}return d}function zt(e,t,n,r){var o=Object(i["g"])(n);o.push(e.name);var s=Object(i["g"])(r);return s.push(1),{idx:t,def:e.definition,ruleStack:o,occurrenceStack:s}}var qt,Jt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function $t(e){if(e instanceof Xe)return qt.OPTION;if(e instanceof Ze)return qt.REPETITION;if(e instanceof Ke)return qt.REPETITION_MANDATORY;if(e instanceof Ge)return qt.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof ze)return qt.REPETITION_WITH_SEPARATOR;if(e instanceof qe)return qt.ALTERNATION;throw Error("non exhaustive match")}function en(e,t,n,r,i,o){var s=dn(e,t,n),a=mn(s)?se:oe;return o(s,r,a,i)}function tn(e,t,n,r,i,o){var s=hn(e,t,i,n),a=mn(s)?se:oe;return o(s[0],a,r)}function nn(e,t,n,r){var o=e.length,s=Object(i["o"])(e,(function(e){return Object(i["o"])(e,(function(e){return 1===e.length}))}));if(t)return function(t){for(var r=Object(i["I"])(t,(function(e){return e.GATE})),s=0;s<o;s++){var a=e[s],l=a.length,c=r[s];if(void 0===c||!1!==c.call(this))e:for(var u=0;u<l;u++){for(var d=a[u],h=d.length,p=0;p<h;p++){var f=this.LA(p+1);if(!1===n(f,d[p]))continue e}return s}}};if(s&&!r){var a=Object(i["I"])(e,(function(e){return Object(i["t"])(e)})),l=Object(i["O"])(a,(function(e,t,n){return Object(i["u"])(t,(function(t){Object(i["w"])(e,t.tokenTypeIdx)||(e[t.tokenTypeIdx]=n),Object(i["u"])(t.categoryMatches,(function(t){Object(i["w"])(e,t)||(e[t]=n)}))})),e}),[]);return function(){var e=this.LA(1);return l[e.tokenTypeIdx]}}return function(){for(var t=0;t<o;t++){var r=e[t],i=r.length;e:for(var s=0;s<i;s++){for(var a=r[s],l=a.length,c=0;c<l;c++){var u=this.LA(c+1);if(!1===n(u,a[c]))continue e}return t}}}}function rn(e,t,n){var r=Object(i["o"])(e,(function(e){return 1===e.length})),o=e.length;if(r&&!n){var s=Object(i["t"])(e);if(1===s.length&&Object(i["A"])(s[0].categoryMatches)){var a=s[0],l=a.tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===l}}var c=Object(i["O"])(s,(function(e,t,n){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 n=0;n<o;n++){for(var r=e[n],i=r.length,s=0;s<i;s++){var a=this.LA(s+1);if(!1===t(a,r[s]))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"})(qt||(qt={}));var on=function(e){function t(t,n,r){var i=e.call(this)||this;return i.topProd=t,i.targetOccurrence=n,i.targetProdType=r,i}return Jt(t,e),t.prototype.startWalking=function(){return this.walk(this.topProd),this.restDef},t.prototype.checkIsTarget=function(e,t,n,r){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=n.concat(r),!0)},t.prototype.walkOption=function(t,n,r){this.checkIsTarget(t,qt.OPTION,n,r)||e.prototype.walkOption.call(this,t,n,r)},t.prototype.walkAtLeastOne=function(t,n,r){this.checkIsTarget(t,qt.REPETITION_MANDATORY,n,r)||e.prototype.walkOption.call(this,t,n,r)},t.prototype.walkAtLeastOneSep=function(t,n,r){this.checkIsTarget(t,qt.REPETITION_MANDATORY_WITH_SEPARATOR,n,r)||e.prototype.walkOption.call(this,t,n,r)},t.prototype.walkMany=function(t,n,r){this.checkIsTarget(t,qt.REPETITION,n,r)||e.prototype.walkOption.call(this,t,n,r)},t.prototype.walkManySep=function(t,n,r){this.checkIsTarget(t,qt.REPETITION_WITH_SEPARATOR,n,r)||e.prototype.walkOption.call(this,t,n,r)},t}(tt),sn=function(e){function t(t,n,r){var i=e.call(this)||this;return i.targetOccurrence=t,i.targetProdType=n,i.targetRef=r,i.result=[],i}return Jt(t,e),t.prototype.checkIsTarget=function(e,t){e.idx!==this.targetOccurrence||this.targetProdType!==t||void 0!==this.targetRef&&e!==this.targetRef||(this.result=e.definition)},t.prototype.visitOption=function(e){this.checkIsTarget(e,qt.OPTION)},t.prototype.visitRepetition=function(e){this.checkIsTarget(e,qt.REPETITION)},t.prototype.visitRepetitionMandatory=function(e){this.checkIsTarget(e,qt.REPETITION_MANDATORY)},t.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.checkIsTarget(e,qt.REPETITION_MANDATORY_WITH_SEPARATOR)},t.prototype.visitRepetitionWithSeparator=function(e){this.checkIsTarget(e,qt.REPETITION_WITH_SEPARATOR)},t.prototype.visitAlternation=function(e){this.checkIsTarget(e,qt.ALTERNATION)},t}(rt);function an(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=[];return t}function ln(e){for(var t=[""],n=0;n<e.length;n++){for(var r=e[n],i=[],o=0;o<t.length;o++){var s=t[o];i.push(s+"_"+r.tokenTypeIdx);for(var a=0;a<r.categoryMatches.length;a++){var l="_"+r.categoryMatches[a];i.push(s+l)}}t=i}return t}function cn(e,t,n){for(var r=0;r<e.length;r++)if(r!==n)for(var i=e[r],o=0;o<t.length;o++){var s=t[o];if(!0===i[s])return!1}return!0}function un(e,t){for(var n=Object(i["I"])(e,(function(e){return Gt([e],1)})),r=an(n.length),o=Object(i["I"])(n,(function(e){var t={};return Object(i["u"])(e,(function(e){var n=ln(e.partialPath);Object(i["u"])(n,(function(e){t[e]=!0}))})),t})),s=n,a=1;a<=t;a++){var l=s;s=an(l.length);for(var c=function(e){for(var n=l[e],c=0;c<n.length;c++){var u=n[c].partialPath,d=n[c].suffixDef,h=ln(u),p=cn(o,h,e);if(p||Object(i["A"])(d)||u.length===t){var f=r[e];if(!1===pn(f,u)){f.push(u);for(var m=0;m<h.length;m++){var A=h[m];o[e][A]=!0}}}else{var g=Gt(d,a+1,u);s[e]=s[e].concat(g),Object(i["u"])(g,(function(t){var n=ln(t.partialPath);Object(i["u"])(n,(function(t){o[e][t]=!0}))}))}}},u=0;u<l.length;u++)c(u)}return r}function dn(e,t,n,r){var i=new sn(e,qt.ALTERNATION,r);return t.accept(i),un(i.result,n)}function hn(e,t,n,r){var i=new sn(e,n);t.accept(i);var o=i.result,s=new on(t,e,n),a=s.startWalking(),l=new Qe({definition:o}),c=new Qe({definition:a});return un([l,c],r)}function pn(e,t){e:for(var n=0;n<e.length;n++){var r=e[n];if(r.length===t.length){for(var i=0;i<r.length;i++){var o=t[i],s=r[i],a=o===s||void 0!==s.categoryMatchesMap[o.tokenTypeIdx];if(!1===a)continue e}return!0}}return!1}function fn(e,t){return e.length<t.length&&Object(i["o"])(e,(function(e,n){var r=t[n];return e===r||r.categoryMatchesMap[e.tokenTypeIdx]}))}function mn(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 An=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function gn(e,t,n,r,o,s){var a=i["I"](e,(function(e){return bn(e,o)})),l=i["I"](e,(function(e){return xn(e,e,o)})),c=[],u=[],d=[];Object(i["o"])(l,i["A"])&&(c=Object(i["I"])(e,(function(e){return In(e,o)})),u=Object(i["I"])(e,(function(e){return Pn(e,t,r,o)})),d=kn(e,t,o));var h=Hn(e,n,o),p=i["I"](n,(function(e){return Tn(e,o)})),f=_n(e,o),m=jn(e,o),A=Object(i["I"])(e,(function(e){return Fn(e,o)})),g=Object(i["I"])(e,(function(e){return Sn(e,o)})),_=Object(i["I"])(e,(function(t){return Cn(t,e,s,o)}));return i["t"](a.concat(p,f,m,d,l,c,u,h,A,g,_))}function _n(e,t){var n=[];return Object(i["u"])(e,(function(e){var r=new Bt("");e.accept(r);var o=Object(i["I"])(r.result,(function(e){return e.orgProd}));n.push(Object(i["I"])(o,(function(n){return En(e,n,t)})))})),Object(i["t"])(n)}function bn(e,t){var n=new yn;e.accept(n);var r=n.allProductions,o=i["v"](r,vn),s=i["N"](o,(function(e){return e.length>1})),a=i["I"](i["U"](s),(function(n){var r=i["s"](n),o=t.buildDuplicateFoundError(e,n),s=lt(r),a={message:o,type:Xr.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:s,occurrence:r.idx},l=wn(r);return l&&(a.parameter=l),a}));return a}function vn(e){return lt(e)+"_#_"+e.idx+"_#_"+wn(e)}function wn(e){return e instanceof Je?e.terminalType.name:e instanceof We?e.nonTerminalName:""}var yn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allProductions=[],t}return An(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}(rt),Rn=/^[a-zA-Z_]\w*$/,Mn=new RegExp(Rn.source.replace("^","^\\$"));function Sn(e,t){var n=[],r=e.name;return r.match(Rn)||n.push({message:t.buildInvalidRuleNameError({topLevelRule:e,expectedPattern:Rn}),type:Xr.INVALID_RULE_NAME,ruleName:r}),n}function En(e,t,n){var r,i=[];return t.name.match(Mn)||(r=n.buildInvalidNestedRuleNameError(e,t),i.push({message:r,type:Xr.INVALID_NESTED_RULE_NAME,ruleName:e.name})),i}function Tn(e,t){var n=[],r=e.name;return r.match(Rn)||n.push({message:t.buildTokenNameError({tokenType:e,expectedPattern:Rn}),type:Xr.INVALID_TOKEN_NAME}),n}function Cn(e,t,n,r){var o=[],s=Object(i["O"])(t,(function(t,n){return n.name===e.name?t+1:t}),0);if(s>1){var a=r.buildDuplicateRuleNameError({topLevelRule:e,grammarName:n});o.push({message:a,type:Xr.DUPLICATE_RULE_NAME,ruleName:e.name})}return o}function On(e,t,n){var r,o=[];return i["j"](t,e)||(r="Invalid rule override, rule: ->"+e+"<- cannot be overridden in the grammar: ->"+n+"<-as it is not defined in any of the super grammars ",o.push({message:r,type:Xr.INVALID_RULE_OVERRIDE,ruleName:e})),o}function xn(e,t,n,r){void 0===r&&(r=[]);var o=[],s=Nn(t.definition);if(i["A"](s))return[];var a=e.name,l=i["j"](s,e);l&&o.push({message:n.buildLeftRecursionError({topLevelRule:e,leftRecursionPath:r}),type:Xr.LEFT_RECURSION,ruleName:a});var c=i["l"](s,r.concat([e])),u=i["I"](c,(function(t){var o=i["g"](r);return o.push(t),xn(e,t,n,o)}));return o.concat(i["t"](u))}function Nn(e){var t=[];if(i["A"](e))return t;var n=i["s"](e);if(n instanceof We)t.push(n.referencedRule);else if(n instanceof Qe||n instanceof Xe||n instanceof Ke||n instanceof Ge||n instanceof ze||n instanceof Ze)t=t.concat(Nn(n.definition));else if(n instanceof qe)t=i["t"](i["I"](n.definition,(function(e){return Nn(e.definition)})));else if(!(n instanceof Je))throw Error("non exhaustive match");var r=st(n),o=e.length>1;if(r&&o){var s=i["m"](e);return t.concat(Nn(s))}return t}var Ln=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.alternations=[],t}return An(t,e),t.prototype.visitAlternation=function(e){this.alternations.push(e)},t}(rt);function In(e,t){var n=new Ln;e.accept(n);var r=n.alternations,o=i["O"](r,(function(n,r){var o=i["n"](r.definition),s=i["I"](o,(function(n,o){var s=Zt([n],[],null,1);return i["A"](s)?{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:r,emptyChoiceIdx:o}),type:Xr.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:r.idx,alternative:o+1}:null}));return n.concat(i["i"](s))}),[]);return o}function Pn(e,t,n,r){var o=new Ln;e.accept(o);var s=o.alternations,a=n[e.name];a&&(s=Object(i["P"])(s,(function(e){return a[lt(e)+(0===e.idx?"":e.idx)]}))),s=Object(i["P"])(s,(function(e){return!0===e.ignoreAmbiguities}));var l=i["O"](s,(function(n,i){var o=i.idx,s=i.maxLookahead||t,a=dn(o,e,s,i),l=Bn(a,i,e,r),c=Un(a,i,e,r);return n.concat(l,c)}),[]);return l}var Dn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allProductions=[],t}return An(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}(rt);function Fn(e,t){var n=new Ln;e.accept(n);var r=n.alternations,o=i["O"](r,(function(n,r){return r.definition.length>255&&n.push({message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:r}),type:Xr.TOO_MANY_ALTS,ruleName:e.name,occurrence:r.idx}),n}),[]);return o}function kn(e,t,n){var r=[];return Object(i["u"])(e,(function(e){var o=new Dn;e.accept(o);var s=o.allProductions;Object(i["u"])(s,(function(o){var s=$t(o),a=o.maxLookahead||t,l=o.idx,c=hn(l,e,s,a),u=c[0];if(Object(i["A"])(Object(i["t"])(u))){var d=n.buildEmptyRepetitionError({topLevelRule:e,repetition:o});r.push({message:d,type:Xr.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}}))})),r}function Bn(e,t,n,r){var o=[],s=Object(i["O"])(e,(function(n,r,s){return!0===t.definition[s].ignoreAmbiguities||Object(i["u"])(r,(function(r){var a=[s];Object(i["u"])(e,(function(e,n){s!==n&&pn(e,r)&&!0!==t.definition[n].ignoreAmbiguities&&a.push(n)})),a.length>1&&!pn(o,r)&&(o.push(r),n.push({alts:a,path:r}))})),n}),[]),a=i["I"](s,(function(e){var o=Object(i["I"])(e.alts,(function(e){return e+1})),s=r.buildAlternationAmbiguityError({topLevelRule:n,alternation:t,ambiguityIndices:o,prefixPath:e.path});return{message:s,type:Xr.AMBIGUOUS_ALTS,ruleName:n.name,occurrence:t.idx,alternatives:[e.alts]}}));return a}function Un(e,t,n,r){var o=[],s=Object(i["O"])(e,(function(e,t,n){var r=Object(i["I"])(t,(function(e){return{idx:n,path:e}}));return e.concat(r)}),[]);return Object(i["u"])(s,(function(e){var a=t.definition[e.idx];if(!0!==a.ignoreAmbiguities){var l=e.idx,c=e.path,u=Object(i["r"])(s,(function(e){return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx<l&&fn(e.path,c)})),d=Object(i["I"])(u,(function(e){var i=[e.idx+1,l+1],o=0===t.idx?"":t.idx,s=r.buildAlternationPrefixAmbiguityError({topLevelRule:n,alternation:t,ambiguityIndices:i,prefixPath:e.path});return{message:s,type:Xr.AMBIGUOUS_PREFIX_ALTS,ruleName:n.name,occurrence:o,alternatives:i}}));o=o.concat(d)}})),o}function Hn(e,t,n){var r=[],o=Object(i["I"])(t,(function(e){return e.name}));return Object(i["u"])(e,(function(e){var t=e.name;if(Object(i["j"])(o,t)){var s=n.buildNamespaceConflictError(e);r.push({message:s,type:Xr.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}})),r}function jn(e,t){var n=[];return Object(i["u"])(e,(function(e){var r=new Bt("");e.accept(r);var o=Object(i["v"])(r.result,(function(e){return e.name})),s=Object(i["N"])(o,(function(e){return e.length>1}));Object(i["u"])(Object(i["U"])(s),(function(r){var o=Object(i["I"])(r,(function(e){return e.orgProd})),s=t.buildDuplicateNestedRuleNameError(e,o);n.push({message:s,type:Xr.DUPLICATE_NESTED_NAME,ruleName:e.name})}))})),n}var Vn={buildMismatchTokenMessage:function(e){var t=e.expected,n=e.actual,r=(e.previous,e.ruleName,Ee(t)),i=r?"--\x3e "+Me(t)+" <--":"token of type --\x3e "+t.name+" <--",o="Expecting "+i+" but found --\x3e '"+n.image+"' <--";return o},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,n=e.actual,r=(e.previous,e.customUserDescription),o=(e.ruleName,"Expecting: "),s=Object(i["s"])(n).image,a="\nbut found: '"+s+"'";if(r)return o+r+a;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 Me(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 o+d+a},buildEarlyExitMessage:function(e){var t=e.expectedIterationPaths,n=e.actual,r=e.customUserDescription,o=(e.ruleName,"Expecting: "),s=Object(i["s"])(n).image,a="\nbut found: '"+s+"'";if(r)return o+r+a;var l=Object(i["I"])(t,(function(e){return"["+Object(i["I"])(e,(function(e){return Me(e)})).join(",")+"]"})),c="expecting at least one iteration which starts with one of these possible Token sequences::\n <"+l.join(" ,")+">";return o+c+a}};Object.freeze(Vn);var Wn={buildRuleNotFoundError:function(e,t){var n="Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-";return n}},Yn={buildDuplicateFoundError:function(e,t){function n(e){return e instanceof Je?e.terminalType.name:e instanceof We?e.nonTerminalName:""}var r=e.name,o=Object(i["s"])(t),s=o.idx,a=lt(o),l=n(o),c=s>0,u="->"+a+(c?s:"")+"<- "+(l?"with argument: ->"+l+"<-":"")+"\n appears more than once ("+t.length+" times) in the top level rule: ->"+r+"<-. \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 n="Invalid nested rule name: ->"+t.name+"<- inside rule: ->"+e.name+"<-\nit must match the pattern: ->"+Mn.toString()+"<-.\nNote that this means a nested rule name must start with the '$'(dollar) sign.";return n},buildDuplicateNestedRuleNameError:function(e,t){var n=Object(i["s"])(t).name,r="Duplicate nested rule name: ->"+n+"<- inside rule: ->"+e.name+"<-\nA nested name must be unique in the scope of a top level grammar rule.";return r},buildNamespaceConflictError:function(e){var t="Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+e.name+">.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.";return t},buildAlternationPrefixAmbiguityError:function(e){var t=Object(i["I"])(e.prefixPath,(function(e){return Me(e)})).join(", "),n=0===e.alternation.idx?"":e.alternation.idx,r="Ambiguous alternatives: <"+e.ambiguityIndices.join(" ,")+"> due to common lookahead prefix\nin <OR"+n+"> 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 r},buildAlternationAmbiguityError:function(e){var t=Object(i["I"])(e.prefixPath,(function(e){return Me(e)})).join(", "),n=0===e.alternation.idx?"":e.alternation.idx,r="Ambiguous Alternatives Detected: <"+e.ambiguityIndices.join(" ,")+"> in <OR"+n+"> inside <"+e.topLevelRule.name+"> Rule,\n<"+t+"> may appears as a prefix path in all these alternatives.\n";return r+="See: https://sap.github.io/chevrotain/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.",r},buildEmptyRepetitionError:function(e){var t=lt(e.repetition);0!==e.repetition.idx&&(t+=e.repetition.idx);var n="The repetition <"+t+"> within Rule <"+e.topLevelRule.name+"> can never consume any tokens.\nThis could lead to an infinite loop.";return n},buildTokenNameError:function(e){var t=e.tokenType.name,n="Invalid Grammar Token name: ->"+t+"<- it must match the pattern: ->"+e.expectedPattern.toString()+"<-";return n},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,n=i["I"](e.leftRecursionPath,(function(e){return e.name})),r=t+" --\x3e "+n.concat([t]).join(" --\x3e "),o="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 "+r+"\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.";return o},buildInvalidRuleNameError:function(e){var t=e.topLevelRule.name,n=e.expectedPattern.toString(),r="Invalid grammar rule name: ->"+t+"<- it must match the pattern: ->"+n+"<-";return r},buildDuplicateRuleNameError:function(e){var t;t=e.topLevelRule instanceof Ye?e.topLevelRule.name:e.topLevelRule;var n="Duplicate definition, rule: ->"+t+"<- is already defined in the grammar: ->"+e.grammarName+"<-";return n}},Qn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Xn(e,t){var n=new Kn(e,t);return n.resolveRefs(),n.errors}var Kn=function(e){function t(t,n){var r=e.call(this)||this;return r.nameToTopRule=t,r.errMsgProvider=n,r.errors=[],r}return Qn(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 n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:n,type:Xr.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}},t}(rt);function Gn(e){e=Object(i["k"])(e,{errMsgProvider:Wn});var t={};return Object(i["u"])(e.rules,(function(e){t[e.name]=e})),Xn(t,e.errMsgProvider)}function Zn(e){return e=Object(i["k"])(e,{errMsgProvider:Yn,ignoredIssues:{}}),gn(e.rules,e.maxLookahead,e.tokenTypes,e.ignoredIssues,e.errMsgProvider,e.grammarName)}function zn(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 qn="MismatchedTokenException",Jn="NoViableAltException",$n="EarlyExitException",er="NotAllInputParsedException",tr=[qn,Jn,$n,er];function nr(e){return Object(i["j"])(tr,e.name)}function rr(e,t,n){this.name=qn,this.message=e,this.token=t,this.previousToken=n,this.resyncedTokens=[]}function ir(e,t,n){this.name=Jn,this.message=e,this.token=t,this.previousToken=n,this.resyncedTokens=[]}function or(e,t){this.name=er,this.message=e,this.token=t,this.resyncedTokens=[]}function sr(e,t,n){this.name=$n,this.message=e,this.token=t,this.previousToken=n,this.resyncedTokens=[]}Object.freeze(tr),rr.prototype=Error.prototype,ir.prototype=Error.prototype,or.prototype=Error.prototype,sr.prototype=Error.prototype;var ar={},lr="InRuleRecoveryException";function cr(e){this.name=lr,this.message=e}cr.prototype=Error.prototype;var ur=function(){function e(){}return e.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=Object(i["w"])(e,"recoveryEnabled")?e.recoveryEnabled:Kr.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=dr)},e.prototype.getTokenToInsert=function(e){var t=Ue(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,n,r){var o=this,s=this.findReSyncTokenType(),a=this.exportLexerState(),l=[],c=!1,u=this.LA(1),d=this.LA(1),h=function(){var e=o.LA(0),t=o.errorMessageProvider.buildMismatchTokenMessage({expected:r,actual:u,previous:e,ruleName:o.getCurrRuleFullName()}),n=new rr(t,u,o.LA(0));n.resyncedTokens=Object(i["n"])(l),o.SAVE_ERROR(n)};while(!c){if(this.tokenMatcher(d,r))return void h();if(n.call(this))return h(),void e.apply(this,t);this.tokenMatcher(d,s)?c=!0:(d=this.SKIP_TOKEN(),this.addToResyncTokens(d,l))}this.importLexerState(a)},e.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,n){return!1!==n&&(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 n=this.getCurrentGrammarPath(e,t),r=this.getNextPossibleTokenTypes(n);return r},e.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t)){var n=this.getTokenToInsert(e);return n}if(this.canRecoverWithSingleTokenDeletion(e)){var r=this.SKIP_TOKEN();return this.consumeToken(),r}throw new cr("sad sad panda")},e.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},e.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var n=this;if(!this.canTokenTypeBeInsertedInRecovery(e))return!1;if(Object(i["A"])(t))return!1;var r=this.LA(1),o=void 0!==Object(i["q"])(t,(function(e){return n.tokenMatcher(r,e)}));return o},e.prototype.canRecoverWithSingleTokenDeletion=function(e){var t=this.tokenMatcher(this.LA(2),e);return t},e.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(t);return Object(i["j"])(n,e)},e.prototype.findReSyncTokenType=function(){var e=this.flattenFollowSet(),t=this.LA(1),n=2;while(1){var r=t.tokenType;if(Object(i["j"])(e,r))return r;t=this.LA(n),n++}},e.prototype.getCurrFollowKey=function(){if(1===this.RULE_STACK.length)return ar;var e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(n)}},e.prototype.buildFullFollowKeyStack=function(){var e=this,t=this.RULE_STACK,n=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]})),n=Object(i["I"])(this.LAST_EXPLICIT_RULE_STACK,(function(t){return e.RULE_OCCURRENCE_STACK[t]}))),Object(i["I"])(t,(function(r,i){return 0===i?ar:{ruleName:e.shortRuleNameToFullName(r),idxInCallingRule:n[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===ar)return[Be];var t=e.ruleName+e.idxInCallingRule+At+e.inRule;return this.resyncFollows[t]},e.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,Be)||t.push(e),t},e.prototype.reSyncTo=function(e){var t=[],n=this.LA(1);while(!1===this.tokenMatcher(n,e))n=this.SKIP_TOKEN(),this.addToResyncTokens(n,t);return Object(i["n"])(t)},e.prototype.attemptInRepetitionRecovery=function(e,t,n,r,i,o,s){},e.prototype.getCurrentGrammarPath=function(e,t){var n=this.getHumanReadableRuleStack(),r=Object(i["g"])(this.RULE_OCCURRENCE_STACK),o={ruleStack:n,occurrenceStack:r,lastTok:e,lastTokOccurrence:t};return o},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 dr(e,t,n,r,i,o,s){var a=this.getKeyForAutomaticLookahead(r,i),l=this.firstAfterRepMap[a];if(void 0===l){var c=this.getCurrRuleFullName(),u=this.getGAstProductions()[c],d=new o(u,i);l=d.startWalking(),this.firstAfterRepMap[a]=l}var h=l.token,p=l.occurrence,f=l.isEndOfRule;1===this.RULE_STACK.length&&f&&void 0===h&&(h=Be,p=1),this.shouldInRepetitionRecoveryBeTried(h,p,s)&&this.tryInRepetitionRecovery(e,t,n,h)}var hr=function(){function e(){}return e.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=Object(i["w"])(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:Kr.dynamicTokensEnabled,this.maxLookahead=Object(i["w"])(e,"maxLookahead")?e.maxLookahead:Kr.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 n=dt(e),r=n.alternation,o=n.repetition,s=n.option,a=n.repetitionMandatory,l=n.repetitionMandatoryWithSeparator,c=n.repetitionWithSeparator;Object(i["u"])(r,(function(n){var r=0===n.idx?"":n.idx;t.TRACE_INIT(""+lt(n)+r,(function(){var r=en(n.idx,e,n.maxLookahead||t.maxLookahead,n.hasPredicates,t.dynamicTokensEnabled,t.lookAheadBuilderForAlternatives),i=xt(t.fullRuleNameToShort[e.name],Mt,n.idx);t.setLaFuncCache(i,r)}))})),Object(i["u"])(o,(function(n){t.computeLookaheadFunc(e,n.idx,Et,qt.REPETITION,n.maxLookahead,lt(n))})),Object(i["u"])(s,(function(n){t.computeLookaheadFunc(e,n.idx,St,qt.OPTION,n.maxLookahead,lt(n))})),Object(i["u"])(a,(function(n){t.computeLookaheadFunc(e,n.idx,Tt,qt.REPETITION_MANDATORY,n.maxLookahead,lt(n))})),Object(i["u"])(l,(function(n){t.computeLookaheadFunc(e,n.idx,Ot,qt.REPETITION_MANDATORY_WITH_SEPARATOR,n.maxLookahead,lt(n))})),Object(i["u"])(c,(function(n){t.computeLookaheadFunc(e,n.idx,Ct,qt.REPETITION_WITH_SEPARATOR,n.maxLookahead,lt(n))}))}))}))},e.prototype.computeLookaheadFunc=function(e,t,n,r,i,o){var s=this;this.TRACE_INIT(""+o+(0===t?"":t),(function(){var o=tn(t,e,i||s.maxLookahead,s.dynamicTokensEnabled,r,s.lookAheadBuilderForOptional),a=xt(s.fullRuleNameToShort[e.name],n,t);s.setLaFuncCache(a,o)}))},e.prototype.lookAheadBuilderForOptional=function(e,t,n){return rn(e,t,n)},e.prototype.lookAheadBuilderForAlternatives=function(e,t,n,r){return nn(e,t,n,r)},e.prototype.getKeyForAutomaticLookahead=function(e,t){var n=this.getLastExplicitRuleShortName();return xt(n,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 pr(e){return gr(e.constructor)}var fr,mr=/^\s*function\s*(\S*)\s*\(/,Ar="name";function gr(e){var t=e.name;if(t)return t;var n=e.toString().match(mr)[1];return n}function _r(e,t){var n=Object.getOwnPropertyDescriptor(e,Ar);return!(!Object(i["F"])(n)&&!n.configurable)&&(Object.defineProperty(e,Ar,{enumerable:!1,configurable:!0,writable:!1,value:t}),!0)}function br(e,t){for(var n=Object(i["G"])(e),r=n.length,o=0;o<r;o++)for(var s=n[o],a=e[s],l=a.length,c=0;c<l;c++){var u=a[c];void 0===u.tokenTypeIdx&&(void 0!==u.fullName?this[u.fullName](u.children,t):this[u.name](u.children,t))}}function vr(e,t){var n=function(){};_r(n,e+"BaseSemantics");var r={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=yr(this,t);if(!Object(i["A"])(e)){var n=Object(i["I"])(e,(function(e){return e.msg}));throw Error("Errors Detected in CST Visitor <"+gr(this.constructor)+">:\n\t"+n.join("\n\n").replace(/\n/g,"\n\t"))}}};return n.prototype=r,n.prototype.constructor=n,n._RULE_NAMES=t,n}function wr(e,t,n){var r=function(){};_r(r,e+"BaseSemanticsWithDefaults");var o=Object.create(n.prototype);return Object(i["u"])(t,(function(e){o[e]=br})),r.prototype=o,r.prototype.constructor=r,r}function yr(e,t){var n=Rr(e,t),r=Sr(e,t);return n.concat(r)}function Rr(e,t){var n=Object(i["I"])(t,(function(t){if(!Object(i["B"])(e[t]))return{msg:"Missing visitor method: <"+t+"> on "+gr(e.constructor)+" CST Visitor.",type:fr.MISSING_METHOD,methodName:t}}));return Object(i["i"])(n)}(function(e){e[e["REDUNDANT_METHOD"]=0]="REDUNDANT_METHOD",e[e["MISSING_METHOD"]=1]="MISSING_METHOD"})(fr||(fr={}));var Mr=["constructor","visit","validateVisitor"];function Sr(e,t){var n=[];for(var r in e)Rn.test(r)&&Object(i["B"])(e[r])&&!Object(i["j"])(Mr,r)&&!Object(i["j"])(t,r)&&n.push({msg:"Redundant visitor method: <"+r+"> on "+gr(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 /"+Rn.source+"/.",type:fr.REDUNDANT_METHOD,methodName:r});return n}var Er=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:Kr.outputCst,this.nodeLocationTracking=Object(i["w"])(e,"nodeLocationTracking")?e.nodeLocationTracking:Kr.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Dt,this.setNodeLocationFromNode=Dt,this.cstPostRule=i["b"],this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=i["b"],this.setNodeLocationFromNode=i["b"],this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=Pt,this.setNodeLocationFromNode=Pt,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 n={name:e,fullName:this.shortRuleNameToFull[this.getLastExplicitRuleShortName()]+e,children:{}};this.setInitialNodeLocation(n),this.CST_STACK.push(n)},e.prototype.cstInvocationStateUpdate=function(e,t){this.LAST_EXPLICIT_RULE_STACK.push(this.RULE_STACK.length-1);var n={name:e,children:{}};this.setInitialNodeLocation(n),this.CST_STACK.push(n)},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),n=e.location;n.startOffset<=t.startOffset===!0?(n.endOffset=t.endOffset,n.endLine=t.endLine,n.endColumn=t.endColumn):(n.startOffset=NaN,n.startLine=NaN,n.startColumn=NaN)},e.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),n=e.location;n.startOffset<=t.startOffset===!0?n.endOffset=t.endOffset:n.startOffset=NaN},e.prototype.cstPostTerminal=function(e,t){var n=this.CST_STACK[this.CST_STACK.length-1];Ft(n,t,e),this.setNodeLocationFromToken(n.location,t)},e.prototype.cstPostNonTerminal=function(e,t){if(!0!==this.isBackTracking()){var n=this.CST_STACK[this.CST_STACK.length-1];kt(n,t,e),this.setNodeLocationFromNode(n.location,e.location)}},e.prototype.getBaseCstVisitorConstructor=function(){if(Object(i["F"])(this.baseCstVisitorConstructor)){var e=vr(this.className,this.allRuleNames);return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},e.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if(Object(i["F"])(this.baseCstVisitorWithDefaultsConstructor)){var e=wr(this.className,this.allRuleNames,this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},e.prototype.nestedRuleBeforeClause=function(e,t){var n;return void 0!==e.NAME?(n=e.NAME,this.nestedRuleInvocationStateUpdate(n,t),n):void 0},e.prototype.nestedAltBeforeClause=function(e,t,n,r){var i,o=this.getLastExplicitRuleShortName(),s=Lt(o,n,t,r);return void 0!==e.NAME?(i=e.NAME,this.nestedRuleInvocationStateUpdate(i,s),{shortName:s,nestedName:i}):void 0},e.prototype.nestedRuleFinallyClause=function(e,t){var n=this.CST_STACK,r=n[n.length-1];this.nestedRuleFinallyStateUpdate();var i=n[n.length-1];kt(i,t,r),this.setNodeLocationFromNode(i.location,r.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}(),Tr=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)):Qr},e.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Qr: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}(),Cr=function(){function e(){}return e.prototype.ACTION=function(e){return e.call(this)},e.prototype.consume=function(e,t,n){return this.consumeInternal(t,e,n)},e.prototype.subrule=function(e,t,n){return this.subruleInternal(t,e,n)},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,n){if(void 0===n&&(n=Gr),Object(i["j"])(this.definedRulesNames,e)){var r=Yn.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),o={message:r,type:Xr.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(o)}this.definedRulesNames.push(e);var s=this.defineRule(e,t,n);return this[e]=s,s},e.prototype.OVERRIDE_RULE=function(e,t,n){void 0===n&&(n=Gr);var r=[];r=r.concat(On(e,this.definedRulesNames,this.className)),this.definitionErrors.push.apply(this.definitionErrors,r);var i=this.defineRule(e,t,n);return this[e]=i,i},e.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var n=this.saveRecogState();try{return e.apply(this,t),!0}catch(r){if(nr(r))return!1;throw r}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}},e.prototype.getGAstProductions=function(){return this.gastProductionsCache},e.prototype.getSerializedGastProductions=function(){return $e(Object(i["U"])(this.gastProductionsCache))},e}(),Or=function(){function e(){}return e.prototype.initRecognizerEngine=function(e,t){if(this.className=pr(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=se,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)),be)){var n=Object(i["t"])(Object(i["U"])(e.modes)),r=Object(i["T"])(n);this.tokensMap=Object(i["O"])(r,(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"]=Be;var o=Object(i["o"])(Object(i["U"])(e),(function(e){return Object(i["A"])(e.categoryMatches)}));this.tokenMatcher=o?se:oe,ce(Object(i["U"])(this.tokensMap))},e.prototype.defineRule=function(e,t,n){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 r,o=Object(i["w"])(n,"resyncEnabled")?n.resyncEnabled:Gr.resyncEnabled,s=Object(i["w"])(n,"recoveryValueFunc")?n.recoveryValueFunc:Gr.recoveryValueFunc,a=this.ruleShortNameIdx<<wt+yt;function l(e){try{if(!0===this.outputCst){t.apply(this,e);var n=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(n),n}return t.apply(this,e)}catch(r){return this.invokeRuleCatch(r,o,s)}finally{this.ruleFinallyStateUpdate()}}this.ruleShortNameIdx++,this.shortRuleNameToFull[a]=e,this.fullRuleNameToShort[e]=a,r=function(t,n){return void 0===t&&(t=0),this.ruleInvocationStateUpdate(a,e,t),l.call(this,n)};var c="ruleName";return r[c]=e,r["originalGrammarAction"]=t,r},e.prototype.invokeRuleCatch=function(e,t,n){var r=1===this.RULE_STACK.length,i=t&&!this.isBackTracking()&&this.recoveryEnabled;if(nr(e)){var o=e;if(i){var s=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(s)){if(o.resyncedTokens=this.reSyncTo(s),this.outputCst){var a=this.CST_STACK[this.CST_STACK.length-1];return a.recoveredNode=!0,a}return n()}if(this.outputCst){a=this.CST_STACK[this.CST_STACK.length-1];a.recoveredNode=!0,o.partialCstResult=a}throw o}if(r)return this.moveToTerminatedState(),n();throw o}throw e},e.prototype.optionInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(St,t),r=this.nestedRuleBeforeClause(e,n);try{return this.optionInternalLogic(e,t,n)}finally{void 0!==r&&this.nestedRuleFinallyClause(n,r)}},e.prototype.optionInternalNoCst=function(e,t){var n=this.getKeyForAutomaticLookahead(St,t);return this.optionInternalLogic(e,t,n)},e.prototype.optionInternalLogic=function(e,t,n){var r,i,o=this,s=this.getLaFuncFromCache(n);if(void 0!==e.DEF){if(r=e.DEF,i=e.GATE,void 0!==i){var a=s;s=function(){return i.call(o)&&a.call(o)}}}else r=e;if(!0===s.call(this))return r.call(this)},e.prototype.atLeastOneInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(Tt,e),r=this.nestedRuleBeforeClause(t,n);try{return this.atLeastOneInternalLogic(e,t,n)}finally{void 0!==r&&this.nestedRuleFinallyClause(n,r)}},e.prototype.atLeastOneInternalNoCst=function(e,t){var n=this.getKeyForAutomaticLookahead(Tt,e);this.atLeastOneInternalLogic(e,t,n)},e.prototype.atLeastOneInternalLogic=function(e,t,n){var r,i,o=this,s=this.getLaFuncFromCache(n);if(void 0!==t.DEF){if(r=t.DEF,i=t.GATE,void 0!==i){var a=s;s=function(){return i.call(o)&&a.call(o)}}}else r=t;if(!0!==s.call(this))throw this.raiseEarlyExitException(e,qt.REPETITION_MANDATORY,t.ERR_MSG);var l=this.doSingleRepetition(r);while(!0===s.call(this)&&!0===l)l=this.doSingleRepetition(r);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],s,Tt,e,Xt)},e.prototype.atLeastOneSepFirstInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(Ot,e),r=this.nestedRuleBeforeClause(t,n);try{this.atLeastOneSepFirstInternalLogic(e,t,n)}finally{void 0!==r&&this.nestedRuleFinallyClause(n,r)}},e.prototype.atLeastOneSepFirstInternalNoCst=function(e,t){var n=this.getKeyForAutomaticLookahead(Ot,e);this.atLeastOneSepFirstInternalLogic(e,t,n)},e.prototype.atLeastOneSepFirstInternalLogic=function(e,t,n){var r=this,i=t.DEF,o=t.SEP,s=this.getLaFuncFromCache(n);if(!0!==s.call(this))throw this.raiseEarlyExitException(e,qt.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG);i.call(this);var a=function(){return r.tokenMatcher(r.LA(1),o)};while(!0===this.tokenMatcher(this.LA(1),o))this.CONSUME(o),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,o,a,i,Kt],a,Ot,e,Kt)},e.prototype.manyInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(Et,e),r=this.nestedRuleBeforeClause(t,n);try{return this.manyInternalLogic(e,t,n)}finally{void 0!==r&&this.nestedRuleFinallyClause(n,r)}},e.prototype.manyInternalNoCst=function(e,t){var n=this.getKeyForAutomaticLookahead(Et,e);return this.manyInternalLogic(e,t,n)},e.prototype.manyInternalLogic=function(e,t,n){var r,i,o=this,s=this.getLaFuncFromCache(n);if(void 0!==t.DEF){if(r=t.DEF,i=t.GATE,void 0!==i){var a=s;s=function(){return i.call(o)&&a.call(o)}}}else r=t;var l=!0;while(!0===s.call(this)&&!0===l)l=this.doSingleRepetition(r);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],s,Et,e,Yt,l)},e.prototype.manySepFirstInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(Ct,e),r=this.nestedRuleBeforeClause(t,n);try{this.manySepFirstInternalLogic(e,t,n)}finally{void 0!==r&&this.nestedRuleFinallyClause(n,r)}},e.prototype.manySepFirstInternalNoCst=function(e,t){var n=this.getKeyForAutomaticLookahead(Ct,e);this.manySepFirstInternalLogic(e,t,n)},e.prototype.manySepFirstInternalLogic=function(e,t,n){var r=this,i=t.DEF,o=t.SEP,s=this.getLaFuncFromCache(n);if(!0===s.call(this)){i.call(this);var a=function(){return r.tokenMatcher(r.LA(1),o)};while(!0===this.tokenMatcher(this.LA(1),o))this.CONSUME(o),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,o,a,i,Qt],a,Ct,e,Qt)}},e.prototype.repetitionSepSecondInternal=function(e,t,n,r,i){while(n())this.CONSUME(t),r.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,n,r,i],n,Ot,e,i)},e.prototype.doSingleRepetition=function(e){var t=this.getLexerPosition();e.call(this);var n=this.getLexerPosition();return n>t},e.prototype.orInternalNoCst=function(e,t){var n=Object(i["y"])(e)?e:e.DEF,r=this.getKeyForAutomaticLookahead(Mt,t),o=this.getLaFuncFromCache(r),s=o.call(this,n);if(void 0!==s){var a=n[s];return a.ALT.call(this)}this.raiseNoAltException(t,e.ERR_MSG)},e.prototype.orInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(Mt,t),r=this.nestedRuleBeforeClause(e,n);try{var o=Object(i["y"])(e)?e:e.DEF,s=this.getLaFuncFromCache(n),a=s.call(this,o);if(void 0!==a){var l=o[a],c=this.nestedAltBeforeClause(l,t,Mt,a);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!==r&&this.nestedRuleFinallyClause(n,r)}},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 or(t,e))}},e.prototype.subruleInternal=function(e,t,n){var r;try{var i=void 0!==n?n.ARGS:void 0;return r=e.call(this,t,i),this.cstPostNonTerminal(r,void 0!==n&&void 0!==n.LABEL?n.LABEL:e.ruleName),r}catch(o){this.subruleInternalError(o,n,e.ruleName)}},e.prototype.subruleInternalError=function(e,t,n){throw nr(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:n),delete e.partialCstResult),e},e.prototype.consumeInternal=function(e,t,n){var r;try{var i=this.LA(1);!0===this.tokenMatcher(i,e)?(this.consumeToken(),r=i):this.consumeInternalError(e,i,n)}catch(o){r=this.consumeInternalRecovery(e,t,o)}return this.cstPostTerminal(void 0!==n&&void 0!==n.LABEL?n.LABEL:e.name,r),r},e.prototype.consumeInternalError=function(e,t,n){var r,i=this.LA(0);throw r=void 0!==n&&n.ERR_MSG?n.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:i,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new rr(r,t,i))},e.prototype.consumeInternalRecovery=function(e,t,n){if(!this.recoveryEnabled||"MismatchedTokenException"!==n.name||this.isBackTracking())throw n;var r=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,r)}catch(i){throw i.name===lr?n: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,n){this.RULE_OCCURRENCE_STACK.push(n),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),Be)},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}(),xr=function(){function e(){}return e.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=Object(i["k"])(e.errorMessageProvider,Kr.errorMessageProvider)},e.prototype.SAVE_ERROR=function(e){if(nr(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,n){for(var r=this.getCurrRuleFullName(),i=this.getGAstProductions()[r],o=hn(e,i,t,this.maxLookahead),s=o[0],a=[],l=1;l<=this.maxLookahead;l++)a.push(this.LA(l));var c=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:s,actual:a,previous:this.LA(0),customUserDescription:n,ruleName:r});throw this.SAVE_ERROR(new sr(c,this.LA(1),this.LA(0)))},e.prototype.raiseNoAltException=function(e,t){for(var n=this.getCurrRuleFullName(),r=this.getGAstProductions()[n],i=dn(e,r,this.maxLookahead),o=[],s=1;s<=this.maxLookahead;s++)o.push(this.LA(s));var a=this.LA(0),l=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:i,actual:o,previous:a,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new ir(l,this.LA(1),a))},e}(),Nr=function(){function e(){}return e.prototype.initContentAssist=function(){},e.prototype.computeContentAssist=function(e,t){var n=this.gastProductionsCache[e];if(Object(i["F"])(n))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return Zt([n],t,this.tokenMatcher,this.maxLookahead)},e.prototype.getNextPossibleTokenTypes=function(e){var t=Object(i["s"])(e.ruleStack),n=this.getGAstProductions(),r=n[t],o=new Vt(r,e).startWalking();return o},e}(),Lr={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(Lr);var Ir=!0,Pr=Math.pow(2,yt)-1,Dr=Fe({name:"RECORDING_PHASE_TOKEN",pattern:Re.NA});ce([Dr]);var Fr=Ue(Dr,"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(Fr);var kr={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:{}},Br=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 n=t>0?t:"";e["CONSUME"+n]=function(e,n){return this.consumeInternalRecord(e,t,n)},e["SUBRULE"+n]=function(e,n){return this.subruleInternalRecord(e,t,n)},e["OPTION"+n]=function(e){return this.optionInternalRecord(e,t)},e["OR"+n]=function(e){return this.orInternalRecord(e,t)},e["MANY"+n]=function(e){this.manyInternalRecord(t,e)},e["MANY_SEP"+n]=function(e){this.manySepFirstInternalRecord(t,e)},e["AT_LEAST_ONE"+n]=function(e){this.atLeastOneInternalRecord(t,e)},e["AT_LEAST_ONE_SEP"+n]=function(e){this.atLeastOneSepFirstInternalRecord(t,e)}},n=0;n<10;n++)t(n);e["consume"]=function(e,t,n){return this.consumeInternalRecord(t,e,n)},e["subrule"]=function(e,t,n){return this.subruleInternalRecord(t,e,n)},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 n=t>0?t:"";delete e["CONSUME"+n],delete e["SUBRULE"+n],delete e["OPTION"+n],delete e["OR"+n],delete e["MANY"+n],delete e["MANY_SEP"+n],delete e["AT_LEAST_ONE"+n],delete e["AT_LEAST_ONE_SEP"+n]}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 Qr},e.prototype.topLevelRuleRecord=function(e,t){try{var n=new Ye({definition:[],name:e});return n.name=e,this.recordingProdStack.push(n),t.call(this),this.recordingProdStack.pop(),n}catch(r){if(!0!==r.KNOWN_RECORDER_ERROR)try{r.message=r.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 r}throw r}},e.prototype.optionInternalRecord=function(e,t){return Ur.call(this,Xe,e,t)},e.prototype.atLeastOneInternalRecord=function(e,t){Ur.call(this,Ke,t,e)},e.prototype.atLeastOneSepFirstInternalRecord=function(e,t){Ur.call(this,Ge,t,e,Ir)},e.prototype.manyInternalRecord=function(e,t){Ur.call(this,Ze,t,e)},e.prototype.manySepFirstInternalRecord=function(e,t){Ur.call(this,ze,t,e,Ir)},e.prototype.orInternalRecord=function(e,t){return Hr.call(this,e,t)},e.prototype.subruleInternalRecord=function(e,t,n){if(Vr(t),!e||!1===Object(i["w"])(e,"ruleName")){var r=new Error("<SUBRULE"+jr(t)+"> argument is invalid expecting a Parser method reference but got: <"+JSON.stringify(e)+">\n inside top level rule: <"+this.recordingProdStack[0].name+">");throw r.KNOWN_RECORDER_ERROR=!0,r}var o=Object(i["M"])(this.recordingProdStack),s=e["ruleName"],a=new We({idx:t,nonTerminalName:s,referencedRule:void 0});return o.definition.push(a),this.outputCst?kr:Lr},e.prototype.consumeInternalRecord=function(e,t,n){if(Vr(t),!me(e)){var r=new Error("<CONSUME"+jr(t)+"> argument is invalid expecting a TokenType reference but got: <"+JSON.stringify(e)+">\n inside top level rule: <"+this.recordingProdStack[0].name+">");throw r.KNOWN_RECORDER_ERROR=!0,r}var o=Object(i["M"])(this.recordingProdStack),s=new Je({idx:t,terminalType:e});return o.definition.push(s),Fr},e}();function Ur(e,t,n,r){void 0===r&&(r=!1),Vr(n);var o=Object(i["M"])(this.recordingProdStack),s=Object(i["B"])(t)?t:t.DEF,a=new e({definition:[],idx:n});return Object(i["w"])(t,"NAME")&&(a.name=t.NAME),r&&(a.separator=t.SEP),Object(i["w"])(t,"MAX_LOOKAHEAD")&&(a.maxLookahead=t.MAX_LOOKAHEAD),this.recordingProdStack.push(a),s.call(this),o.definition.push(a),this.recordingProdStack.pop(),Lr}function Hr(e,t){var n=this;Vr(t);var r=Object(i["M"])(this.recordingProdStack),o=!1===Object(i["y"])(e),s=!1===o?e:e.DEF,a=new qe({definition:[],idx:t,ignoreAmbiguities:o&&!0===e.IGNORE_AMBIGUITIES});Object(i["w"])(e,"NAME")&&(a.name=e.NAME),Object(i["w"])(e,"MAX_LOOKAHEAD")&&(a.maxLookahead=e.MAX_LOOKAHEAD);var l=Object(i["Q"])(s,(function(e){return Object(i["B"])(e.GATE)}));return a.hasPredicates=l,r.definition.push(a),Object(i["u"])(s,(function(e){var t=new Qe({definition:[]});a.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),n.recordingProdStack.push(t),e.ALT.call(n),n.recordingProdStack.pop()})),Lr}function jr(e){return 0===e?"":""+e}function Vr(e){if(e<0||e>Pr){var t=new Error("Invalid DSL Method idx value: <"+e+">\n\tIdx value must be a none negative value smaller than "+(Pr+1));throw t.KNOWN_RECORDER_ERROR=!0,t}}var Wr=function(){function e(){}return e.prototype.initPerformanceTracer=function(e){if(Object(i["w"])(e,"traceInitPerf")){var t=e.traceInitPerf,n="number"===typeof t;this.traceInitMaxIdent=n?t:1/0,this.traceInitPerf=n?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Kr.traceInitPerf;this.traceInitIndent=-1},e.prototype.TRACE_INIT=function(e,t){if(!0===this.traceInitPerf){this.traceInitIndent++;var n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(n+"--\x3e <"+e+">");var r=Object(i["R"])(t),o=r.time,s=r.value,a=o>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&a(n+"<-- <"+e+"> time: "+o+"ms"),this.traceInitIndent--,s}return t()},e}(),Yr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qr=Ue(Be,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(Qr);var Xr,Kr=Object.freeze({recoveryEnabled:!1,maxLookahead:4,ignoredIssues:{},dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:Vn,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),Gr=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});function Zr(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"})(Xr||(Xr={}));var zr=function(){function e(e,t){void 0===t&&(t=Kr),this.ignoredIssues=Kr.ignoredIssues,this.definitionErrors=[],this.selfAnalysisDone=!1;var n=this;n.initErrorHandler(t),n.initLexerAdapter(),n.initLooksAhead(t),n.initRecognizerEngine(e,t),n.initRecoverable(t),n.initTreeBuilder(t),n.initContentAssist(),n.initGastRecorder(t),n.initPerformanceTracer(t),Object(i["w"])(t,"ignoredIssues")&&t.ignoredIssues!==Kr.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:Kr.ignoredIssues,this.skipValidations=Object(i["w"])(t,"skipValidations")?t.skipValidations:Kr.skipValidations}return e.performSelfAnalysis=function(e){e.performSelfAnalysis()},e.prototype.performSelfAnalysis=function(){var t=this;this.TRACE_INIT("performSelfAnalysis",(function(){var n;t.selfAnalysisDone=!0;var r=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 n=t[e],r=n["originalGrammarAction"],i=void 0;t.TRACE_INIT(e+" Rule",(function(){i=t.topLevelRuleRecord(e,r)})),t.gastProductionsCache[e]=i}))}finally{t.disableRecording()}}));var o=[];if(t.TRACE_INIT("Grammar Resolving",(function(){o=Gn({rules:Object(i["U"])(t.gastProductionsCache)}),t.definitionErrors.push.apply(t.definitionErrors,o)})),t.TRACE_INIT("Grammar Validations",(function(){if(Object(i["A"])(o)&&!1===t.skipValidations){var e=Zn({rules:Object(i["U"])(t.gastProductionsCache),maxLookahead:t.maxLookahead,tokenTypes:Object(i["U"])(t.tokensMap),ignoredIssues:t.ignoredIssues,errMsgProvider:Yn,grammarName:r});t.definitionErrors.push.apply(t.definitionErrors,e)}})),Object(i["A"])(t.definitionErrors)&&(t.recoveryEnabled&&t.TRACE_INIT("computeAllProdsFollows",(function(){var e=bt(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=Ut(Object(i["U"])(t.gastProductionsCache),t.fullRuleNameToShort);t.allRuleNames=e.allRuleNames})),!e.DEFER_DEFINITION_ERRORS_HANDLING&&!Object(i["A"])(t.definitionErrors))throw n=Object(i["I"])(t.definitionErrors,(function(e){return e.message})),new Error("Parser Definition Errors detected:\n "+n.join("\n-------------------------------\n"))}))},e.DEFER_DEFINITION_ERRORS_HANDLING=!1,e}();Object(i["e"])(zr,[ur,hr,Er,Tr,Or,Cr,xr,Nr,Br,Wr]);var qr=function(e){function t(t,n){void 0===n&&(n=Kr);var r=this,o=Object(i["h"])(n);return o.outputCst=!0,r=e.call(this,t,o)||this,r}return Yr(t,e),t}(zr),Jr=function(e){function t(t,n){void 0===n&&(n=Kr);var r=this,o=Object(i["h"])(n);return o.outputCst=!1,r=e.call(this,t,o)||this,r}return Yr(t,e),t}(zr);function $r(e,t){var n=void 0===t?{}:t,i=n.resourceBase,o=void 0===i?"https://unpkg.com/chevrotain@"+r+"/diagrams/":i,s=n.css,a=void 0===s?"https://unpkg.com/chevrotain@"+r+"/diagrams/diagrams.css":s,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='"+a+"'>\n",u="\n<script src='"+o+"vendor/railroad-diagrams.js'><\/script>\n<script src='"+o+"src/diagrams_builder.js'><\/script>\n<script src='"+o+"src/diagrams_behavior.js'><\/script>\n<script src='"+o+"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"+ri(e)+"\n \nreturn {\n "+e.name+": "+e.name+" \n}\n}));\n"}function ni(e){return" \n"+ri(e)+"\nreturn new "+e.name+"(tokenVocabulary, config) \n"}function ri(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 oi(e,1)}));return t.join("\n")}function oi(e,t){var n=fi(t,'$.RULE("'+e.name+'", function() {')+ei;return n+=pi(e.definition,t+1),n+=fi(t+1,"})")+ei,n}function si(e,t){var n=e.terminalType.name;return fi(t,"$.CONSUME"+e.idx+"(this.tokensMap."+n+")"+ei)}function ai(e,t){return fi(t,"$.SUBRULE"+e.idx+"($."+e.nonTerminalName+")"+ei)}function li(e,t){var n=fi(t,"$.OR"+e.idx+"([")+ei,r=Object(i["I"])(e.definition,(function(e){return ci(e,t+1)}));return n+=r.join(","+ei),n+=ei+fi(t,"])"+ei),n}function ci(e,t){var n=fi(t,"{")+ei;return e.name&&(n+=fi(t+1,'NAME: "'+e.name+'",')+ei),n+=fi(t+1,"ALT: function() {")+ei,n+=pi(e.definition,t+1),n+=fi(t+1,"}")+ei,n+=fi(t,"}"),n}function ui(e,t){if(e instanceof We)return ai(e,t);if(e instanceof Xe)return di("OPTION",e,t);if(e instanceof Ke)return di("AT_LEAST_ONE",e,t);if(e instanceof Ge)return di("AT_LEAST_ONE_SEP",e,t);if(e instanceof ze)return di("MANY_SEP",e,t);if(e instanceof Ze)return di("MANY",e,t);if(e instanceof qe)return li(e,t);if(e instanceof Je)return si(e,t);if(e instanceof Qe)return pi(e.definition,t);throw Error("non exhaustive match")}function di(e,t,n){var r=fi(n,"$."+(e+t.idx)+"(");return t.name||t.separator?(r+="{"+ei,t.name&&(r+=fi(n+1,'NAME: "'+t.name+'"')+","+ei),t.separator&&(r+=fi(n+1,"SEP: this.tokensMap."+t.separator.name)+","+ei),r+="DEF: "+hi(t.definition,n+2)+ei,r+=fi(n,"}")+ei):r+=hi(t.definition,n+1),r+=fi(n,")")+ei,r}function hi(e,t){var n="function() {"+ei;return n+=pi(e,t),n+=fi(t,"}")+ei,n}function pi(e,t){var n="";return Object(i["u"])(e,(function(e){n+=ui(e,t+1)})),n}function fi(e,t){var n=Array(4*e+1).join(" ");return n+t}function mi(e){var t=ni({name:e.name,rules:e.rules}),r=new Function("tokenVocabulary","config","chevrotain",t);return function(t){return r(e.tokenVocabulary,t,n("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,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function s(e){console&&console.warn&&console.warn(e)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function l(){l.init.call(this)}e.exports=l,e.exports.once=v,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,n,r){var i,o,a;if(u(n),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),i=d(e),i>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s(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,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function m(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?b(i):g(i,i.length)}function A(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function _(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function b(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function v(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}y(e,t,o,{once:!0}),"error"!==t&&w(e,i,{once:!0})}))}function w(e,t,n){"function"===typeof e.on&&y(e,"error",t,n)}function y(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);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(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!==typeof e||e<0||a(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||a(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=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=i[e];if(void 0===l)return!1;if("function"===typeof l)o(l,this,t);else{var c=l.length,u=g(l,c);for(n=0;n<c;++n)o(u[n],this,t)}return!0},l.prototype.addListener=function(e,t){return h(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return h(this,e,t,!0)},l.prototype.once=function(e,t){return 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 n,r,i,o,s;if(u(t),r=this._events,void 0===r)return this;if(n=r[e],void 0===n)return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():_(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)i=o[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return 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?r(this._events):[]}},facd:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1486. //! moment.js locale configuration
  1487. var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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,o=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[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:r,longMonthsParse:r,shortMonthsParse:r,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 o}))},fc97:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9688");class i{constructor(){this._signal=r.create_abortSignal()}get signal(){return this._signal}abort(){r.abort_signalAbort(this._signal)}}t.AbortControllerImpl=i},fd7e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1488. //! moment.js locale configuration
  1489. 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,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},fda6:function(e,t,n){var r=n("8947"),i=n("4228"),o=n("e85f");function s(){return Object.keys(o)}t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=s},fdac:function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.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),n=0;n<t.length;n++)t[n]=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 o=n(7);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(s){}},fea4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(){this._items={},this._nullItems=[]}copy(){const e=new r;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 n=null===t?this._nullItems:this._items[t]||null;if(null===n)return null;let r=null;for(let i=0;i<n.length;i++)if(r=n[i],r===e)return r;return r}has(e,t){const n=null===t?this._nullItems:this._items[t]||null;return null!==n&&-1!==n.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 n=null===t?this._nullItems:this._items[t]||null;null!==t&&null===n?this._items[t]=[e]:n.push(e)}}t.NamespacePrefixMap=r},fee6:function(e,t,n){var r=n("843f"),i=/\s+/g,o=n("be1e"),s=n("f08f");function a(e,t,n){"object"===typeof e?(n=t,t=e,e=null):"function"===typeof t&&(n=t,t=l),this._callback=e,this._options=t||l,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};a.prototype.onparserinit=function(e){this._parser=e},a.prototype.onreset=function(){a.call(this,this._callback,this._options,this._elementCB)},a.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},a.prototype._handleCallback=a.prototype.onerror=function(e){if("function"===typeof this._callback)this._callback(e,this.dom);else if(e)throw e},a.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},a.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(s):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},a.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},a.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},a.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?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===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},a.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},a.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},a.prototype.oncommentend=a.prototype.oncdataend=function(){this._tagStack.pop()},a.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=a},ff51b:function(e,t,n){var r=n("843f"),i=n("27c9"),o=r.isTag;function s(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""}function a(e){return Array.isArray(e)?e.map(a).join(""):o(e)?"br"===e.name?"\n":a(e.children):e.type===r.CDATA?a(e.children):e.type===r.Text?e.data:""}e.exports={getInnerHTML:s,getOuterHTML:i,getText:a}},ff6b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n("9af8"),i=n("9688");class o{getElementById(e){let t=i.tree_getFirstDescendantNode(r.Cast.asNode(this),!1,!1,e=>r.Guard.isElementNode(e));while(null!==t){if(t._uniqueIdentifier===e)return t;t=i.tree_getNextDescendantNode(r.Cast.asNode(this),t,!1,!1,e=>r.Guard.isElementNode(e))}return null}}t.NonElementParentNodeImpl=o},ff74:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("abe7");t.FixedSizeSet=r.FixedSizeSet;var i=n("08e0");t.ObjectCache=i.ObjectCache;var o=n("d550");t.CompareCache=o.CompareCache;var s=n("6189");function a(e,t,...n){Object.getOwnPropertyNames(t.prototype).forEach(r=>{if(n.includes(r)){const t=Object.getOwnPropertyDescriptor(e.prototype,r);t&&Object.defineProperty(e.prototype,"_"+r,t)}const i=Object.getOwnPropertyDescriptor(t.prototype,r);i&&Object.defineProperty(e.prototype,r,i)})}function l(e,t,n=!1){const r=m(e||{});return u(t,(e,t)=>{S(t)?r[e]=l(r[e],t,n):(n||void 0===r[e])&&(r[e]=t)}),r}function c(e,t,n){e.forEach(t,n)}function u(e,t,n){if(R(e))e.forEach((e,r)=>t.call(n,r,e));else for(const r in e)e.hasOwnProperty(r)&&t.call(n,r,e[r])}function d(e){return y(e)?e.size:e.length}function h(e){return R(e)?e.size:Object.keys(e).length}function p(e,t){return R(e)?e.get(t):e[t]}function f(e,t){R(e)?e.delete(t):delete e[t]}function m(e){if(b(e))return e;if(w(e)){const t=[];for(const n of e)t.push(m(n));return t}if(v(e)){const t={};for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=m(r)}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 b(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)}function v(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 R(e){return e instanceof Map}function M(e){if(w(e))return!e.length;if(y(e))return!e.size;if(R(e))return!e.size;if(v(e)){for(const t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1}function S(e){if(v(e)){const t=Object.getPrototypeOf(e),n=t.constructor;return t&&n&&"function"===typeof n&&n instanceof n&&Function.prototype.toString.call(n)===Function.prototype.toString.call(Object)}return!1}function E(e){return e&&"function"===typeof e[Symbol.iterator]}function T(e){return b(e.valueOf)?e.valueOf():e}function C(e){const t=new Uint8Array(4*e.length);let n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i<128)t[n++]=i;else{if(i<2048)t[n++]=i>>6|192;else{if(i>55295&&i<56320){if(++r>=e.length)throw new Error("Incomplete surrogate pair.");const o=e.charCodeAt(r);if(o<56320||o>57343)throw new Error("Invalid surrogate character.");i=65536+((1023&i)<<10)+(1023&o),t[n++]=i>>18|240,t[n++]=i>>12&63|128}else t[n++]=i>>12|224;t[n++]=i>>6&63|128}t[n++]=63&i|128}}return t.subarray(0,n)}function O(e){let t="",n=0;while(n<e.length){var r=e[n++];if(r>127)if(r>191&&r<224){if(n>=e.length)throw new Error("Incomplete 2-byte sequence.");r=(31&r)<<6|63&e[n++]}else if(r>223&&r<240){if(n+1>=e.length)throw new Error("Incomplete 3-byte sequence.");r=(15&r)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(r>239&&r<248))throw new Error("Unknown multi-byte start.");if(n+2>=e.length)throw new Error("Incomplete 4-byte sequence.");r=(7&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}if(r<=65535)t+=String.fromCharCode(r);else{if(!(r<=1114111))throw new Error("Code point exceeds UTF-16 limit.");r-=65536,t+=String.fromCharCode(r>>10|55296),t+=String.fromCharCode(1023&r|56320)}}return t}t.Lazy=s.Lazy,t.applyMixin=a,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=b,t.isObject=v,t.isArray=w,t.isSet=y,t.isMap=R,t.isEmpty=M,t.isPlainObject=S,t.isIterable=E,t.getValue=T,t.utf8Encode=C,t.utf8Decode=O},ffd5:function(e,t,n){},ffec:function(e,t,n){"use strict";n.r(t),n.d(t,"isNumeric",(function(){return r})),n.d(t,"isNumericLike",(function(){return i})),n.d(t,"rangeEach",(function(){return o})),n.d(t,"rangeEachReverse",(function(){return s})),n.d(t,"valueAccordingPercent",(function(){return a})),n.d(t,"clamp",(function(){return l}));n("1e70"),n("79a4"),n("c1a1"),n("8b00"),n("a4e7"),n("1e5a"),n("72c3");function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=typeof e;if("number"===n)return!isNaN(e)&&isFinite(e);if("string"===n){if(0===e.length)return!1;if(1===e.length)return/\d/.test(e);const n=Array.from(new Set([".",...t])).map(e=>"\\"+e).join("|");return new RegExp(`^[+-]?(((${n})?\\d+((${n})\\d+)?(e[+-]?\\d+)?)|(0x[a-f\\d]+))$`,"i").test(e.trim())}return"object"===n&&(!!e&&"number"===typeof e.valueOf()&&!(e instanceof Date))}function i(e){return r(e,[","])}function o(e,t,n){let r=-1;"function"===typeof t?(n=t,t=e):r=e-1;while(++r<=t)if(!1===n(r))break}function s(e,t,n){let r=e+1;"function"===typeof t&&(n=t,t=0);while(--r>=t)if(!1===n(r))break}function a(e,t){return t=parseInt(t.toString().replace("%",""),10),t=isNaN(t)?0:t,parseInt(e*t/100,10)}function l(e,t,n){return Math.min(e,t)===e?t:Math.max(e,n)===e?n:e}},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
  1490. //! moment.js locale configuration
  1491. 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}))}}]);