UNPKG

apache-arrow

Version:
136 lines 236 kB
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory(global.Arrow = global.Arrow || {})); }(this, (function (exports) {var g,h=h||{};h.scope={};h.$c=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};h.re=function(a){return{next:h.$c(a)}};h.Cc=!1;h.$f=!1;h.ag=!1;h.dg=!1;h.Hc=!1;h.defineProperty=h.Cc||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; h.ff=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};h.global=h.ff(this);h.Ob="function"===typeof Symbol&&"symbol"===typeof Symbol("x");h.Ic=!h.Hc||h.Ob;h.vc={};h.nd={};h.yd="$jscp$";h.uc=function(a,b,c){b&&(h.Hc?h.qf(a,b,c):h.rf(a,b))}; h.rf=function(a,b){var c=h.global;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))return;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&h.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}; h.qf=function(a,b,c){var d=a.split(".");a=1===d.length;var e=d[0];e=!a&&e in h.vc?h.vc:h.global;for(var f=0;f<d.length-1;f++){var k=d[f];if(!(k in e))return;e=e[k]}d=d[d.length-1];c=h.Ob&&"es6"===c?e[d]:null;b=b(c);null!=b&&(a?h.defineProperty(h.vc,d,{configurable:!0,writable:!0,value:b}):b!==c&&(h.nd[d]=h.Ob?h.global.Symbol(d):h.yd+d,d=h.nd[d],h.defineProperty(e,d,{configurable:!0,writable:!0,value:b})))};h.ig=function(){}; h.uc("Symbol",function(a){function b(e){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(e||"")+"_"+d++,e)}function c(e,f){this.rd=e;h.defineProperty(this,"description",{configurable:!0,writable:!0,value:f})}if(a)return a;c.prototype.toString=function(){return this.rd};var d=0;return b},"es6");h.kg=function(){}; h.uc("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=h.global[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&h.defineProperty(d.prototype,a,{configurable:!0,writable:!0,value:function(){return h.jf(h.$c(this))}})}return a},"es6");h.jg=function(){}; h.uc("Symbol.asyncIterator",function(a){return a?a:Symbol("Symbol.asyncIterator")},"es9");h.jf=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a};h.gg=function(a){return a.raw=a};h.hg=function(a,b){a.raw=b;return a};h.s=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):h.re(a)};h.Zc=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c};h.m=function(a){return a instanceof Array?a:h.Zc(h.s(a))}; h.ld=h.Cc||"function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b}; h.ef=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(h.Ic&&"undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){void 0===e&&(e=c);e=h.ld(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}};h.construct={valueOf:h.ef}.valueOf(); h.Zf=function(){var a={Ld:!0},b={};try{return b.__proto__=a,b.Ld}catch(c){}return!1};h.setPrototypeOf=h.Ic&&"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:h.Zf()?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null; h.b=function(a,b){a.prototype=h.ld(b.prototype);a.prototype.constructor=a;if(h.setPrototypeOf){var c=h.setPrototypeOf;c(a,b)}else for(c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.mg=b.prototype};h.u={};h.u.dd=function(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}; h.u.Da=function(){this.hb=!1;this.ta=null;this.l=void 0;this.j=1;this.ka=this.xa=0;this.gd=this.ha=null};function ba(a){if(a.hb)throw new TypeError("Generator is already running");a.hb=!0}h.u.Da.prototype.jb=function(a){this.l=a};h.u.Da.prototype.kb=function(a){this.ha={ed:a,kd:!0};this.j=this.xa||this.ka};h.u.Da.prototype.return=function(a){this.ha={return:a};this.j=this.ka};function n(a,b,c){a.j=c;return{value:b}} function ca(a,b,c){b=h.s(b);var d=b.next();h.u.dd(d);if(d.done)a.l=d.value,a.j=c;else return a.ta=b,n(a,d.value,c)}h.u.Da.prototype.i=function(a){this.j=a};function da(a,b){a.xa=0;a.ka=b||0}function ea(a){a.xa=0;var b=a.ha.ed;a.ha=null;return b}function fa(a){a.gd=[a.ha];a.xa=0;a.ka=0}function ha(a,b){var c=a.gd.splice(0)[0];(c=a.ha=a.ha||c)?c.kd?a.j=a.xa||a.ka:void 0!=c.i&&a.ka<c.i?(a.j=c.i,a.ha=null):a.j=a.ka:a.j=b}h.u.Da.cg=function(a){this.md=[];for(var b in a)this.md.push(b);this.md.reverse()}; h.u.mb=function(a){this.K=new h.u.Da;this.sf=a};h.u.mb.prototype.jb=function(a){ba(this.K);if(this.K.ta)return ia(this,this.K.ta.next,a,this.K.jb);this.K.jb(a);return ja(this)};function ka(a,b){ba(a.K);var c=a.K.ta;if(c)return ia(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.K.return);a.K.return(b);return ja(a)}h.u.mb.prototype.kb=function(a){ba(this.K);if(this.K.ta)return ia(this,this.K.ta["throw"],a,this.K.jb);this.K.kb(a);return ja(this)}; function ia(a,b,c,d){try{var e=b.call(a.K.ta,c);h.u.dd(e);if(!e.done)return a.K.hb=!1,e;var f=e.value}catch(k){return a.K.ta=null,a.K.kb(k),ja(a)}a.K.ta=null;d.call(a.K,f);return ja(a)}function ja(a){for(;a.K.j;)try{var b=a.sf(a.K);if(b)return a.K.hb=!1,{value:b.value,done:!1}}catch(c){a.K.l=void 0,a.K.kb(c)}a.K.hb=!1;if(a.K.ha){b=a.K.ha;a.K.ha=null;if(b.kd)throw b.ed;return{value:b.return,done:!0}}return{value:void 0,done:!0}} h.u.Gc=function(a){this.next=function(b){return a.jb(b)};this.throw=function(b){return a.kb(b)};this.return=function(b){return ka(a,b)};this[Symbol.iterator]=function(){return this}};h.u.G=function(a,b){b=new h.u.Gc(new h.u.mb(b));h.setPrototypeOf&&a.prototype&&h.setPrototypeOf(b,a.prototype);return b};h.ad=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(k){k.done?d(k.value):Promise.resolve(k.value).then(b,c).then(f,e)}f(a.next())})}; h.eg=function(a){return h.ad(a())};h.o=function(a){return h.ad(new h.u.Gc(new h.u.mb(a)))};h.Ma=function(a){var b=a[Symbol.asyncIterator];return void 0!==b?b.call(a):new h.vd(h.s(a))};h.vd=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};void 0!==a["throw"]&&(this["throw"]=function(b){return Promise.resolve(a["throw"](b))});void 0!==a["return"]&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})}; h.A={Z:0,Sa:1,O:2};h.D=function(a,b){this.action=a;this.value=b};h.ua={ob:"next",Pb:"throw",zd:"return"};h.td=function(a,b,c,d){this.method=a;this.Ba=b;this.resolve=c;this.reject=d};h.ud=function(a){this.frame=a;this.next=null};h.Lb=function(){this.Kb=this.la=null};h.Lb.prototype.first=function(){if(this.la)return this.la.frame;throw Error("no frames in executionQueue");};function ma(a){a.la&&(a.la=a.la.next,a.la||(a.Kb=null))} h.Lb.prototype.enqueue=function(a){a=new h.ud(a);this.Kb?this.Kb.next=a:this.la=a;this.Kb=a};h.Y=function(a){this.hd=a;this.da=null;this.X=new h.Lb;this[Symbol.asyncIterator]=function(){return this};var b=this;this.ue=function(c){var d=b.X.first();!0===c.done?(b.da=null,d.method=h.ua.ob,d.Ba=c.value):(d.resolve({value:c.value,done:!1}),ma(b.X));na(b)};this.te=function(c){pa(b,c)};this.lc=function(c){qa(b,c)}}; function ra(a,b,c){return new Promise(function(d,e){var f=null===a.X.la;a.X.enqueue(new h.td(b,c,d,e));f&&na(a)})}h.Y.prototype.next=function(a){return ra(this,h.ua.ob,a)};h.Y.prototype.return=function(a){return ra(this,h.ua.zd,new h.D(h.A.Z,a))};h.Y.prototype.throw=function(a){return ra(this,h.ua.Pb,a)}; function na(a){if(null!==a.X.la)try{if(a.da){if(!a.da)throw Error("no delegate to perform execution");var b=a.X.first();if(b.method in a.da)try{a.da[b.method](b.Ba).then(a.ue,a.te).catch(a.lc)}catch(c){pa(a,c)}else a.da=null,na(a)}else sa(a)}catch(c){qa(a,c)}} function sa(a){var b=a.X.first();try{var c=a.hd[b.method](b.Ba);if(c.value instanceof h.D)switch(c.value.action){case h.A.Z:Promise.resolve(c.value.value).then(function(d){b.resolve({value:d,done:c.done});ma(a.X);na(a)},function(d){b.reject(d);ma(a.X);na(a)}).catch(a.lc);break;case h.A.Sa:a.da=h.Ma(c.value.value);b.method=h.ua.ob;b.Ba=void 0;na(a);break;case h.A.O:Promise.resolve(c.value.value).then(function(d){b.method=h.ua.ob;b.Ba=d;na(a)},function(d){b.method=h.ua.Pb;b.Ba=d;na(a)}).catch(a.lc); break;default:throw Error("Unrecognized AsyncGeneratorWrapper$ActionEnum");}else b.resolve(c),ma(a.X),na(a)}catch(d){b.reject(d),ma(a.X),na(a)}}function pa(a,b){var c=a.X.first();a.da=null;c.method=h.ua.Pb;c.Ba=b;na(a)}function qa(a,b){null!==a.X.la&&(a.X.first().reject(b),ma(a.X));a.da&&"return"in a.da&&(a.da["return"](void 0),a.da=null);a.hd["return"](void 0);na(a)}var ta=new Int32Array(2);new Float32Array(ta.buffer);new Float64Array(ta.buffer);new Uint16Array((new Uint8Array([1,0])).buffer); function ua(a,b){this.low=a|0;this.high=b|0}ua.prototype.equals=function(a){return this.low==a.low&&this.high==a.high};var wa=new ua(0,0);function xa(){this.a=new ya(new Uint8Array(1024));this.N=1024;this.ib=1;this.ra=null;this.Ac=0;this.gb=!1;this.tc=0;this.lb=[];this.zc=0;this.Ka=!1}g=xa.prototype;g.clear=function(){this.a.clear();this.N=this.a.F.length;this.ib=1;this.ra=null;this.Ac=0;this.gb=!1;this.tc=0;this.lb=[];this.zc=0;this.Ka=!1}; function za(a){return a.a.oa().subarray(a.a.position(),a.a.position()+a.offset())}function Aa(a,b,c){b>a.ib&&(a.ib=b);for(var d=~(a.a.F.length-a.N+c)+1&b-1;a.N<d+b+c;){var e=a.a.F.length,f=a,k=a.a,l=k.F.length;if(l&3221225472)throw Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");var m=l<<1,p=new ya(new Uint8Array(m));p.setPosition(m-l);p.oa().set(k.oa(),m-l);f.a=p;a.N+=a.a.F.length-e}Ba(a,d)}function Ba(a,b){for(var c=0;c<b;c++)a.a.Ra(--a.N,0)}g.Ra=function(a){this.a.Ra(--this.N,a)}; g.Bc=function(a){this.a.Bc(this.N-=2,a)};g.fa=function(a){this.a.fa(this.N-=4,a)};g.sa=function(a){this.a.sa(this.N-=8,a)};function Ca(a,b){Aa(a,2,0);a.Bc(b)}function Da(a,b,c,d){if(a.Ka||c!=d)Aa(a,1,0),a.Ra(c),a.slot(b)}function Ea(a,b,c){if(a.Ka||b!=c)Ca(a,b),a.slot(0)}function Fa(a,b,c,d){if(a.Ka||c!=d)Aa(a,4,0),a.fa(c),a.slot(b)}function Ga(a,b,c,d){if(a.Ka||!c.equals(d))Aa(a,8,0),a.sa(c),a.slot(b)}function Ha(a,b,c){if(a.Ka||0!=c)Ia(a,c),a.slot(b)} function Ja(a){if(a.gb)throw Error("FlatBuffers: object serialization must not be nested.");}g.slot=function(a){this.ra[a]=this.offset()};g.offset=function(){return this.a.F.length-this.N};function Ia(a,b){Aa(a,4,0);a.fa(a.offset()-b+4)}function q(a,b){Ja(a);null==a.ra&&(a.ra=[]);a.Ac=b;for(var c=0;c<b;c++)a.ra[c]=0;a.gb=!0;a.tc=a.offset()} function r(a){if(null==a.ra||!a.gb)throw Error("FlatBuffers: endObject called without startObject");Aa(a,4,0);a.fa(0);for(var b=a.offset(),c=a.Ac-1;0<=c&&0==a.ra[c];c--);for(var d=c+1;0<=c;c--)Ca(a,0!=a.ra[c]?b-a.ra[c]:0);Ca(a,b-a.tc);d=2*(d+2);Ca(a,d);var e=0,f=a.N;c=0;a:for(;c<a.lb.length;c++){var k=a.a.F.length-a.lb[c];if(d==Ka(a.a,k)){for(var l=2;l<d;l+=2)if(Ka(a.a,f+l)!=Ka(a.a,k+l))continue a;e=a.lb[c];break}}e?(a.N=a.a.F.length-b,a.a.fa(a.N,e-b)):(a.lb.push(a.offset()),a.a.fa(a.a.F.length-b, a.offset()-b));a.gb=!1;return b}g.finish=function(a,b){if(b){Aa(this,this.ib,8);if(4!=b.length)throw Error("FlatBuffers: file identifier must be length 4");for(var c=3;0<=c;c--)this.Ra(b.charCodeAt(c))}Aa(this,this.ib,4);Ia(this,a);this.a.setPosition(this.N)};function La(a,b,c,d){Ja(a);a.zc=c;Aa(a,4,b*c);Aa(a,d,b*c)}function Ma(a){a.fa(a.zc);return a.offset()} function Oa(a,b){if(b instanceof Uint8Array)var c=b;else{c=[];for(var d=0;d<b.length;){var e=b.charCodeAt(d++);if(!(55296>e||56320<=e)){var f=b.charCodeAt(d++);e=(e<<10)+f+-56613888}128>e?c.push(e):(2048>e?c.push(e>>6&31|192):(65536>e?c.push(e>>12&15|224):c.push(e>>18&7|240,e>>12&63|128),c.push(e>>6&63|128)),c.push(e&63|128))}}Aa(a,1,0);a.Ra(0);La(a,1,c.length,1);a.a.setPosition(a.N-=c.length);d=0;b=a.N;for(e=a.a.oa();d<c.length;d++)e[b++]=c[d];return Ma(a)} g.qa=function(a,b){return 0==a&&0==b?wa:new ua(a,b)};function ya(a){this.F=a;this.wc=0}g=ya.prototype;g.clear=function(){this.wc=0};g.oa=function(){return this.F};g.position=function(){return this.wc};g.setPosition=function(a){this.wc=a};function Pa(a,b){return a.F[b]}function Ka(a,b){return(a.F[b]|a.F[b+1]<<8)<<16>>16}g.L=function(a){return this.F[a]|this.F[a+1]<<8|this.F[a+2]<<16|this.F[a+3]<<24};function Qa(a,b){return new ua(a.L(b),a.L(b+4))}g.Ra=function(a,b){this.F[a]=b}; g.Bc=function(a,b){this.F[a]=b;this.F[a+1]=b>>8};g.fa=function(a,b){this.F[a]=b;this.F[a+1]=b>>8;this.F[a+2]=b>>16;this.F[a+3]=b>>24};g.sa=function(a,b){this.fa(a,b.low);this.fa(a+4,b.high)};function u(a,b,c){b-=a.L(b);return c<Ka(a,b)?Ka(a,b+c):0}function Ra(a,b,c){b.c=c+a.L(c);b.a=a;return b} function Sa(a,b,c){b+=a.L(b);var d=a.L(b),e="",f=0;b+=4;if(1===c)return a.F.subarray(b,b+d);for(;f<d;){c=Pa(a,b+f++);if(!(192>c)){var k=Pa(a,b+f++);if(224>c)c=(c&31)<<6|k&63;else{var l=Pa(a,b+f++);if(240>c)c=(c&15)<<12|(k&63)<<6|l&63;else{var m=Pa(a,b+f++);c=(c&7)<<18|(k&63)<<12|(l&63)<<6|m&63}}}65536>c?e+=String.fromCharCode(c):(c-=65536,e+=String.fromCharCode((c>>10)+55296,(c&1023)+56320))}return e}function Ta(a,b){return b+a.L(b)}function Ua(a,b){return b+a.L(b)+4} function Va(a,b){return a.L(b+a.L(b))}g.qa=function(a,b){return 0==a&&0==b?wa:new ua(a,b)};function Wa(a){if(void 0===a)return{};if(a===Object(a))return a;throw TypeError("Could not convert argument to dictionary");}function Xa(a){this.Ca=[].slice.call(a)}Xa.prototype={endOfStream:function(){return!this.Ca.length},read:function(){return this.Ca.length?this.Ca.shift():-1},prepend:function(a){if(Array.isArray(a))for(;a.length;)this.Ca.unshift(a.pop());else this.Ca.unshift(a)},push:function(a){if(Array.isArray(a))for(;a.length;)this.Ca.push(a.shift());else this.Ca.push(a)}}; function Ya(a){if(a)throw TypeError("Decoder error");return 65533}function Za(a,b){if(!(this instanceof Za))return new Za(a,b);a=void 0!==a?String(a).toLowerCase():"utf-8";if("utf-8"!==a)throw Error("Encoding not supported. Only utf-8 is supported");b=Wa(b);this.pb=this.Aa=!1;this.vb=null;this.Nc=!!b.fatal;this.Pc=!!b.ignoreBOM;Object.defineProperty(this,"encoding",{value:"utf-8"});Object.defineProperty(this,"fatal",{value:this.Nc});Object.defineProperty(this,"ignoreBOM",{value:this.Pc})} Za.prototype={decode:function(a,b){a="object"===typeof a&&a instanceof ArrayBuffer?new Uint8Array(a):"object"===typeof a&&"buffer"in a&&a.buffer instanceof ArrayBuffer?new Uint8Array(a.buffer,a.byteOffset,a.byteLength):new Uint8Array(0);b=Wa(b);this.Aa||(this.vb=new $a({fatal:this.Nc}),this.pb=!1);this.Aa=!!b.stream;a=new Xa(a);b=[];for(var c;!a.endOfStream();){c=this.vb.fb(a,a.read());if(-1===c)break;null!==c&&(Array.isArray(c)?b.push.apply(b,c):b.push(c))}if(!this.Aa){do{c=this.vb.fb(a,a.read()); if(-1===c)break;null!==c&&(Array.isArray(c)?b.push.apply(b,c):b.push(c))}while(!a.endOfStream());this.vb=null}!b.length||-1===["utf-8"].indexOf(this.encoding)||this.Pc||this.pb||(65279===b[0]?(this.pb=!0,b.shift()):this.pb=!0);a="";for(c=0;c<b.length;++c){var d=b[c];65535>=d?a+=String.fromCharCode(d):(d-=65536,a+=String.fromCharCode((d>>10)+55296,(d&1023)+56320))}return a}}; function ab(a,b){if(!(this instanceof ab))return new ab(a,b);a=void 0!==a?String(a).toLowerCase():"utf-8";if("utf-8"!==a)throw Error("Encoding not supported. Only utf-8 is supported");Wa(b);this.Aa=!1;this.xb=null;Object.defineProperty(this,"encoding",{value:"utf-8"})} ab.prototype={encode:function(a,b){a=a?String(a):"";b=Wa(b);this.Aa||(this.xb=new bb);this.Aa=!!b.stream;b=[];for(var c=String(a),d=c.length,e=0,f=[];e<d;){var k=c.charCodeAt(e);if(55296>k||57343<k)f.push(k);else if(56320<=k&&57343>=k)f.push(65533);else if(55296<=k&&56319>=k)if(e===d-1)f.push(65533);else{var l=a.charCodeAt(e+1);56320<=l&&57343>=l?(f.push(65536+((k&1023)<<10)+(l&1023)),e+=1):f.push(65533)}e+=1}for(a=new Xa(f);!a.endOfStream();){c=this.xb.fb(a,a.read());if(-1===c)break;Array.isArray(c)? b.push.apply(b,c):b.push(c)}if(!this.Aa){for(;;){c=this.xb.fb(a,a.read());if(-1===c)break;Array.isArray(c)?b.push.apply(b,c):b.push(c)}this.xb=null}return new Uint8Array(b)}}; function $a(a){var b=a.fatal,c=0,d=0,e=0,f=128,k=191;this.fb=function(l,m){if(-1===m&&0!==e)return e=0,Ya(b);if(-1===m)return-1;if(0===e){if(0<=m&&127>=m)return m;if(194<=m&&223>=m)e=1,c=m-192;else if(224<=m&&239>=m)224===m&&(f=160),237===m&&(k=159),e=2,c=m-224;else if(240<=m&&244>=m)240===m&&(f=144),244===m&&(k=143),e=3,c=m-240;else return Ya(b);c<<=6*e;return null}if(!(f<=m&&m<=k))return c=e=d=0,f=128,k=191,l.prepend(m),Ya(b);f=128;k=191;d+=1;c+=m-128<<6*(e-d);if(d!==e)return null;l=c;c=e=d=0;return l}} function bb(){this.fb=function(a,b){if(-1===b)return-1;if(0<=b&&127>=b)return b;if(128<=b&&2047>=b){var c=1;var d=192}else 2048<=b&&65535>=b?(c=2,d=224):65536<=b&&1114111>=b&&(c=3,d=240);for(a=[(b>>6*c)+d];0<c;)a.push(128|b>>6*(c-1)&63),--c;return a}};var cb="function"===typeof Buffer?Buffer:null,db="function"===typeof TextDecoder&&"function"===typeof TextEncoder,eb=function(a){if(db||!cb){var b=new a("utf-8");return function(c){return b.decode(c)}}return function(c){c=v(c);return cb.from(c.buffer,c.byteOffset,c.length).toString()}}("undefined"!==typeof TextDecoder?TextDecoder:Za),fb=function(a){if(db||!cb){var b=new a;return function(c){return b.encode(c)}}return function(c){return v(cb.from(void 0===c?"":c,"utf8"))}}("undefined"!==typeof TextEncoder? TextEncoder:ab);var gb=Object.freeze({done:!0,value:void 0});function hb(a){this.Xa=a}h.global.Object.defineProperties(hb.prototype,{schema:{configurable:!0,enumerable:!0,get:function(){return this.Xa.schema}},bd:{configurable:!0,enumerable:!0,get:function(){return this.Xa.batches||[]}},dictionaries:{configurable:!0,enumerable:!0,get:function(){return this.Xa.dictionaries||[]}}});function ib(){}ib.prototype.tee=function(){return jb(this).tee()};function kb(a,b,c){return kb(a.Tc||(a.Tc=a.toNodeStream()),b,c)} ib.prototype.pipeTo=function(a,b){return jb(this).pipeTo(a,b)};ib.prototype.pipeThrough=function(a,b){return jb(this).pipeThrough(a,b)};function jb(a){return a.Jc||(a.Jc=a.toDOMStream())}function lb(){var a=this;this.C=[];this.Pa=[];this.Vb=new Promise(function(b){return a.$=b})}h.b(lb,ib);lb.prototype.cancel=function(a){var b=this;return h.o(function(c){return n(c,b.return(a),0)})}; lb.prototype.write=function(a){if(!this.$)throw Error(this+" is closed");0>=this.Pa.length?this.C.push(a):this.Pa.shift().resolve({done:!1,value:a})};lb.prototype.abort=function(a){this.$&&(0>=this.Pa.length?this.Xb={error:a}:this.Pa.shift().reject({done:!0,value:a}))};lb.prototype.close=function(){if(this.$){for(var a=this.Pa;0<a.length;)a.shift().resolve(gb);this.$();this.$=void 0}};lb.prototype[Symbol.asyncIterator]=function(){return this};g=lb.prototype; g.toDOMStream=function(a){return mb(this.$||this.Xb?this:this.C,a)};g.toNodeStream=function(){return nb()};g.throw=function(a){var b=this;return h.o(function(c){return 1==c.j?n(c,b.abort(a),2):c.return(gb)})};g.return=function(){var a=this;return h.o(function(b){return 1==b.j?n(b,a.close(),2):b.return(gb)})};g.read=function(a){var b=this;return h.o(function(c){return 1==c.j?n(c,b.next(a,"read"),2):c.return(c.l.value)})}; g.peek=function(a){var b=this;return h.o(function(c){return 1==c.j?n(c,b.next(a,"peek"),2):c.return(c.l.value)})};g.next=function(a){for(var b=0;b<arguments.length;++b);var c=this;return 0<this.C.length?Promise.resolve({done:!1,value:this.C.shift()}):this.Xb?Promise.reject({done:!0,value:this.Xb.error}):this.$?new Promise(function(d,e){c.Pa.push({resolve:d,reject:e})}):Promise.resolve(gb)};h.global.Object.defineProperties(lb.prototype,{closed:{configurable:!0,enumerable:!0,get:function(){return this.Vb}}});var ob=h.s(function(){function a(){throw Error("BigInt is not available in this environment");}function b(){throw a();}b.asIntN=function(){throw a();};b.asUintN=function(){throw a();};return"undefined"!==typeof BigInt?[BigInt,!0]:[b,!1]}()),pb=ob.next().value,qb=ob.next().value,rb=h.s(function(){function a(){throw b();}function b(){throw Error("BigInt64Array is not available in this environment");}a.of=function(){throw b();};a.from=function(){throw b();};h.global.Object.defineProperties(a,{BYTES_PER_ELEMENT:{configurable:!0, enumerable:!0,get:function(){return 8}}});return"undefined"!==typeof BigInt64Array?[BigInt64Array,!0]:[a,!1]}()),sb=rb.next().value;rb.next(); var tb=h.s(function(){function a(){throw b();}function b(){throw Error("BigUint64Array is not available in this environment");}a.of=function(){throw b();};a.from=function(){throw b();};h.global.Object.defineProperties(a,{BYTES_PER_ELEMENT:{configurable:!0,enumerable:!0,get:function(){return 8}}});return"undefined"!==typeof BigUint64Array?[BigUint64Array,!0]:[a,!1]}()),ub=tb.next().value;tb.next();function vb(a){return"function"===typeof a}function wb(a){return null!=a&&Object(a)===a} function xb(a){return wb(a)&&vb(a.then)}function yb(a){return wb(a)&&vb(a[Symbol.iterator])}function zb(a){return wb(a)&&vb(a[Symbol.asyncIterator])}function Ab(a){return wb(a)&&wb(a.schema)}function Bb(a){return wb(a)&&vb(a.cancel)&&vb(a.getReader)&&!(a instanceof ib)}function Cb(a){return wb(a)&&vb(a.read)&&vb(a.pipe)&&"boolean"===typeof a.readable&&!(a instanceof ib)};var Db="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;function Eb(a){for(var b=a[0]?[a[0]]:[],c,d,e,f,k,l,m=0,p=0,t=a.length;++m<t;)k=b[p],l=a[m],!k||!l||k.buffer!==l.buffer||l.byteOffset<k.byteOffset?l&&(b[++p]=l):(d=k,c=d.byteOffset,e=d.byteLength,f=l,d=f.byteOffset,f=f.byteLength,c+e<d||d+f<c?l&&(b[++p]=l):b[p]=new Uint8Array(k.buffer,c,d-c+f));return b} function Fb(a,b,c,d){c=void 0===c?0:c;d=void 0===d?b.byteLength:d;var e=a.byteLength,f=new Uint8Array(a.buffer,a.byteOffset,e);b=new Uint8Array(b.buffer,b.byteOffset,Math.min(d,e));f.set(b,c);return a} function Gb(a,b){a=Eb(a);for(var c=a.reduce(function(p,t){return p+t.byteLength},0),d,e,f=0,k=-1,l=Math.min(b||Infinity,c),m=a.length;++k<m;){b=a[k];d=b.subarray(0,Math.min(b.length,l-f));if(l<=f+d.length){d.length<b.length?a[k]=b.subarray(d.length):d.length===b.length&&k++;e?Fb(e,d,f):e=d;break}Fb(e||(e=new Uint8Array(l)),d,f);f+=d.length}return[e||new Uint8Array(0),a.slice(k),c-(e?e.byteLength:0)]} function x(a,b){b=wb(b)&&"done"in b&&"value"in b?b.value:b;if(b instanceof a)return a===Uint8Array?new a(b.buffer,b.byteOffset,b.byteLength):b;if(!b)return new a(0);"string"===typeof b&&(b=fb(b));return b instanceof ArrayBuffer||b instanceof Db?new a(b):b instanceof ya?x(a,b.oa()):ArrayBuffer.isView(b)?0>=b.byteLength?new a(0):new a(b.buffer,b.byteOffset,b.byteLength/a.BYTES_PER_ELEMENT):a.from(b)}function Hb(a){return x(Int32Array,a)}function Ib(a){return x(sb,a)} function v(a){return x(Uint8Array,a)}function Jb(a){return x(ub,a)}function Kb(a){a.next();return a} function Lb(a,b){var c,d;return h.u.G(Lb,function(e){return 1==e.j?(c=function l(k){return h.u.G(l,function(m){return n(m,k,0)})},d="string"===typeof b?c(b):ArrayBuffer.isView(b)?c(b):b instanceof ArrayBuffer?c(b):b instanceof Db?c(b):yb(b)?b:c(b),ca(e,Kb(function m(l){var p,t,w;return h.u.G(m,function(B){1==B.j&&(p=null);if(5!=B.j)return t=l,w=t.next,n(B,x(a,p),5);p=w.call(t,B.l);if(!p.done)return B.i(2);B.j=0})}(d[Symbol.iterator]())),2)):e.return(new a)})} function Mb(a){return Lb(Uint8Array,a)} function Nb(a,b){return new h.Y(function d(){var e,f,k,l,m,p,t;return h.u.G(d,function(w){switch(w.j){case 1:if(!xb(b)){w.i(2);break}e=h.D;f=h.A.Sa;k=Nb;l=a;return n(w,new h.D(h.A.O,b),4);case 4:return n(w,new e(f,k(l,w.l)),3);case 3:return w.return(w.l);case 2:return m=function(B){return new h.Y(function aa(){var oa,z;return h.u.G(aa,function(va){return 1==va.j?(oa=h.D,z=h.A.Z,n(va,new h.D(h.A.O,B),3)):n(va,new oa(z,va.l),0)})}())},p=function(B){return new h.Y(function aa(){return h.u.G(aa,function(oa){return n(oa, new h.D(h.A.Sa,Kb(function Na(va){var E,la,De;return h.u.G(Na,function(dc){1==dc.j&&(E=null);if(5!=dc.j)return la=va,De=la.next,n(dc,E&&E.value,5);E=De.call(la,dc.l);if(!E.done)return dc.i(2);dc.j=0})}(B[Symbol.iterator]()))),0)})}())},t="string"===typeof b?m(b):ArrayBuffer.isView(b)?m(b):b instanceof ArrayBuffer?m(b):b instanceof Db?m(b):yb(b)?p(b):zb(b)?b:m(b),n(w,new h.D(h.A.Sa,Kb(function(B){return new h.Y(function aa(){var oa,z,va,Na,E;return h.u.G(aa,function(la){switch(la.j){case 1:oa=null; case 2:return z=h.D,va=h.A.O,Na=B,E=Na.next,n(la,new h.D(h.A.Z,x(a,oa)),6);case 6:return n(la,new z(va,E.call(Na,la.l)),5);case 5:oa=la.l,oa.done?la.j=0:la.i(2)}})}())}(t[Symbol.asyncIterator]()))),5);case 5:return w.return(new a)}})}())}function Ob(a){return Nb(Uint8Array,a)}function Pb(a,b,c){if(0!==a){c=c.slice(0,b+1);for(var d=-1;++d<=b;)c[d]+=a}return c}function Qb(a,b){var c=0,d=a.length;if(d!==b.length)return!1;if(0<d){do if(a[c]!==b[c])return!1;while(++c<d)}return!0}var y={}; y.compareArrayLike=Qb;y.joinUint8Arrays=Gb;y.memcpy=Fb;y.rebaseValueOffsets=Pb;y.toArrayBufferView=x;y.toArrayBufferViewAsyncIterator=Nb;y.toArrayBufferViewIterator=Lb;y.toBigInt64Array=Ib;y.toBigUint64Array=Jb;y.toFloat32Array=function(a){return x(Float32Array,a)};y.toFloat32ArrayAsyncIterator=function(a){return Nb(Float32Array,a)};y.toFloat32ArrayIterator=function(a){return Lb(Float32Array,a)};y.toFloat64Array=function(a){return x(Float64Array,a)}; y.toFloat64ArrayAsyncIterator=function(a){return Nb(Float64Array,a)};y.toFloat64ArrayIterator=function(a){return Lb(Float64Array,a)};y.toInt16Array=function(a){return x(Int16Array,a)};y.toInt16ArrayAsyncIterator=function(a){return Nb(Int16Array,a)};y.toInt16ArrayIterator=function(a){return Lb(Int16Array,a)};y.toInt32Array=Hb;y.toInt32ArrayAsyncIterator=function(a){return Nb(Int32Array,a)};y.toInt32ArrayIterator=function(a){return Lb(Int32Array,a)};y.toInt8Array=function(a){return x(Int8Array,a)}; y.toInt8ArrayAsyncIterator=function(a){return Nb(Int8Array,a)};y.toInt8ArrayIterator=function(a){return Lb(Int8Array,a)};y.toUint16Array=function(a){return x(Uint16Array,a)};y.toUint16ArrayAsyncIterator=function(a){return Nb(Uint16Array,a)};y.toUint16ArrayIterator=function(a){return Lb(Uint16Array,a)};y.toUint32Array=function(a){return x(Uint32Array,a)};y.toUint32ArrayAsyncIterator=function(a){return Nb(Uint32Array,a)};y.toUint32ArrayIterator=function(a){return Lb(Uint32Array,a)};y.toUint8Array=v; y.toUint8ArrayAsyncIterator=Ob;y.toUint8ArrayIterator=Mb;y.toUint8ClampedArray=function(a){return x(Uint8ClampedArray,a)};y.toUint8ClampedArrayAsyncIterator=function(a){return Nb(Uint8ClampedArray,a)};y.toUint8ClampedArrayIterator=function(a){return Lb(Uint8ClampedArray,a)};function mb(){throw Error('"toDOMStream" not available in this environment');}function nb(){throw Error('"toNodeStream" not available in this environment');}function Rb(a){a.next();return a} function Sb(a){var b,c,d,e,f,k,l,m,p,t,w,B;return h.u.G(Sb,function(C){switch(C.j){case 1:return c=!1,d=[],l=0,n(C,null,2);case 2:m=C.l,f=m.pa,k=m.size,p=Mb(a)[Symbol.iterator](),C.xa=3,C.ka=4;case 6:if(t=isNaN(k-l)?p.next(void 0):p.next(k-l),b=t.done,e=t.value,!b&&0<e.byteLength&&(d.push(e),l+=e.byteLength),!(b||k<=l)){C.i(8);break}case 10:if("peek"===f)var aa=Gb(d,k)[0];else aa=h.s(Gb(d,k)),e=aa.next().value,d=aa.next().value,l=aa.next().value,aa=e;return n(C,aa,13);case 13:if(w=C.l,f=w.pa,k=w.size, k<l){C.i(10);break}case 8:if(!b){C.i(6);break}case 4:fa(C);!1===c&&"function"===typeof p.return&&p.return(null);ha(C,5);break;case 3:B=ea(C);(c=!0,"function"===typeof p.throw)&&p.throw(B);C.i(4);break;case 5:return C.return(null)}})} function Tb(a){return new h.Y(function c(){var d,e,f,k,l,m,p,t,w,B,C,aa,oa;return h.u.G(c,function(z){switch(z.j){case 1:return e=!1,f=[],p=0,n(z,new h.D(h.A.Z,null),2);case 2:t=z.l,l=t.pa,m=t.size,w=Ob(a)[Symbol.asyncIterator](),z.xa=3,z.ka=4;case 6:return isNaN(m-p)?n(z,new h.D(h.A.O,w.next(void 0)),12):n(z,new h.D(h.A.O,w.next(m-p)),11);case 11:B=z.l;z.i(10);break;case 12:B=z.l;case 10:if(C=B,d=C.done,k=C.value,!d&&0<k.byteLength&&(f.push(k),p+=k.byteLength),!(d||m<=p)){z.i(8);break}case 14:var va= h.D,Na=h.A.Z;if("peek"===l)var E=Gb(f,m)[0];else E=h.s(Gb(f,m)),k=E.next().value,f=E.next().value,p=E.next().value,E=k;return n(z,new va(Na,E),17);case 17:if(aa=z.l,l=aa.pa,m=aa.size,m<p){z.i(14);break}case 8:if(!d){z.i(6);break}case 4:fa(z);if(!1!==e||"function"!==typeof w.return){z.i(18);break}return n(z,new h.D(h.A.O,w.return(new Uint8Array(0))),19);case 19:case 18:ha(z,5);break;case 3:oa=ea(z);if(e=!0,"function"!==typeof w.throw){z.i(20);break}return n(z,new h.D(h.A.O,w.throw(oa)),21);case 21:case 20:z.i(4); break;case 5:return z.return(null)}})}())} function Ub(a){return new h.Y(function c(){var d,e,f,k,l,m,p,t,w,B,C,aa,oa;return h.u.G(c,function(z){switch(z.j){case 1:return e=d=!1,f=[],p=0,n(z,new h.D(h.A.Z,null),2);case 2:t=z.l,l=t.pa,m=t.size,w=new Vb(a),z.xa=3,z.ka=4;case 6:return isNaN(m-p)?n(z,new h.D(h.A.O,w.read(void 0)),12):n(z,new h.D(h.A.O,w.read(m-p)),11);case 11:B=z.l;z.i(10);break;case 12:B=z.l;case 10:if(C=B,d=C.done,k=C.value,!d&&0<k.byteLength&&(f.push(v(k)),p+=k.byteLength),!(d||m<=p)){z.i(8);break}case 14:var va=h.D,Na=h.A.Z; if("peek"===l)var E=Gb(f,m)[0];else E=h.s(Gb(f,m)),k=E.next().value,f=E.next().value,p=E.next().value,E=k;return n(z,new va(Na,E),17);case 17:if(aa=z.l,l=aa.pa,m=aa.size,m<p){z.i(14);break}case 8:if(!d){z.i(6);break}case 4:fa(z);if(!1!==e){a.locked&&w.releaseLock();z.i(18);break}return n(z,new h.D(h.A.O,w.cancel()),19);case 19:case 18:ha(z,5);break;case 3:return oa=ea(z),e=!0,n(z,new h.D(h.A.O,w.cancel(oa)),21);case 21:case 20:z.i(4);break;case 5:return z.return(null)}})}())} function Vb(a){this.source=a;this.Ja=this.Ia=null;try{this.pd=!!(this.ma=Wb(this))}catch(b){this.pd=!(this.ma=Xb(this))}}Vb.prototype.releaseLock=function(){this.ma&&this.ma.releaseLock();this.ma=this.Ia=this.Ja=null};Vb.prototype.cancel=function(a){var b=this,c,d,e;return h.o(function(f){if(1==f.j)return c=b,d=c.ma,e=c.source,d?n(f,d.cancel(a).catch(function(){}),3):f.i(2);e&&e.locked&&b.releaseLock();f.j=0})}; Vb.prototype.read=function(a){var b=this,c,d;return h.o(function(e){switch(e.j){case 1:return 0===a?e.return({done:null==b.ma,value:new Uint8Array(0)}):b.pd&&"number"===typeof a?n(e,Yb(b,a),4):n(e,Xb(b).read(),5);case 4:c=e.l;e.i(3);break;case 5:c=e.l;case 3:return d=c,!d.done&&(d.value=v(d)),e.return(d)}})};function Xb(a){a.Ia&&a.releaseLock();a.Ja||(a.Ja=a.source.getReader(),a.Ja.closed.catch(function(){}));return a.ma=a.Ja} function Wb(a){a.Ja&&a.releaseLock();a.Ia||(a.Ia=a.source.getReader({mode:"byob"}),a.Ia.closed.catch(function(){}));return a.ma=a.Ia}function Yb(a,b){return h.o(function(c){return 1==c.j?n(c,Zb(Wb(a),new ArrayBuffer(b),0,b),2):c.return(c.l)})}h.global.Object.defineProperties(Vb.prototype,{closed:{configurable:!0,enumerable:!0,get:function(){return this.ma?this.ma.closed.catch(function(){}):Promise.resolve()}}}); function Zb(a,b,c,d){var e,f,k;return h.o(function(l){switch(l.j){case 1:return c>=d?l.return({done:!1,value:new Uint8Array(b,0,d)}):n(l,a.read(new Uint8Array(b,c,d-c)),2);case 2:e=l.l;f=e.done;k=e.value;if(!((c+=k.byteLength)<d)||f){l.i(3);break}return n(l,Zb(a,k.buffer,c,d),4);case 4:return l.return(l.l);case 3:return l.return({done:f,value:new Uint8Array(k.buffer,0,c)})}})}function $b(a,b){function c(e){return d([b,e])}var d;return[b,c,new Promise(function(e){return(d=e)&&a.once(b,c)})]} function ac(a){return new h.Y(function c(){function d(){if("peek"===p)return Gb(B,t)[0];var E=h.s(Gb(B,t));C=E.next().value;B=E.next().value;w=E.next().value;return C}function e(E,la){C=B=null;return new Promise(function(De,dc){var cg,Fe,xi,dg,yi,zi,Ai;return h.o(function(Ql){cg=h.s(E);for(Fe=cg.next();!Fe.done;Fe=cg.next())xi=Fe.value,dg=h.s(xi),yi=dg.next().value,zi=dg.next().value,a.off(yi,zi);try{(Ai=a.destroy)&&Ai.call(a,la),la=void 0}catch(Rl){la=Rl||la}finally{null!=la?dc(la):De()}Ql.j=0})})} var f,k,l,m,p,t,w,B,C,aa,oa,z,va,Na;return h.u.G(c,function(E){switch(E.j){case 1:return f=[],k="error",l=!1,m=null,w=0,B=[],n(E,new h.D(h.A.Z,null),2);case 2:aa=E.l;p=aa.pa;t=aa.size;if(!a.isTTY){E.i(3);break}return n(E,new h.D(h.A.Z,new Uint8Array(0)),4);case 4:return E.return(null);case 3:da(E,5),f[0]=$b(a,"end"),f[1]=$b(a,"error");case 7:return f[2]=$b(a,"readable"),oa=h,z=oa.s,n(E,new h.D(h.A.O,Promise.race(f.map(function(la){return la[2]}))),10);case 10:va=z.call(oa,E.l);k=va.next().value;m= va.next().value;if("error"===k){E.i(5);break}(l="end"===k)||(isFinite(t-w)?(C=v(a.read(t-w)),C.byteLength<t-w&&(C=v(a.read(void 0)))):C=v(a.read(void 0)),0<C.byteLength&&(B.push(C),w+=C.byteLength));if(!(l||t<=w)){E.i(9);break}case 12:return n(E,new h.D(h.A.Z,d()),15);case 15:if(Na=E.l,p=Na.pa,t=Na.size,t<w){E.i(12);break}case 9:if(!l){E.i(7);break}case 5:return fa(E),n(E,new h.D(h.A.O,e(f,"error"===k?m:null)),16);case 16:ha(E,6);break;case 6:return E.return(null)}})}())};function A(){}A.prototype.data=null;var D,bc=D||(D={}),cc=bc.f||(bc.f={}),ec=cc.g||(cc.g={}),fc=ec.h||(ec.h={}),gc=fc.MetadataVersion||(fc.MetadataVersion={});gc[gc.V1=0]="V1";gc[gc.V2=1]="V2";gc[gc.V3=2]="V3";gc[gc.V4=3]="V4";var hc=D||(D={}),ic=hc.f||(hc.f={}),jc=ic.g||(ic.g={}),kc=jc.h||(jc.h={}),lc=kc.UnionMode||(kc.UnionMode={});lc[lc.Sparse=0]="Sparse";lc[lc.Dense=1]="Dense";var mc=D||(D={}),nc=mc.f||(mc.f={}),oc=nc.g||(nc.g={}),pc=oc.h||(oc.h={}),qc=pc.Precision||(pc.Precision={});qc[qc.HALF=0]="HALF";qc[qc.SINGLE=1]="SINGLE"; qc[qc.DOUBLE=2]="DOUBLE";var rc=D||(D={}),sc=rc.f||(rc.f={}),tc=sc.g||(sc.g={}),uc=tc.h||(tc.h={}),vc=uc.DateUnit||(uc.DateUnit={});vc[vc.DAY=0]="DAY";vc[vc.MILLISECOND=1]="MILLISECOND";var wc=D||(D={}),xc=wc.f||(wc.f={}),yc=xc.g||(xc.g={}),zc=yc.h||(yc.h={}),Ac=zc.TimeUnit||(zc.TimeUnit={});Ac[Ac.SECOND=0]="SECOND";Ac[Ac.MILLISECOND=1]="MILLISECOND";Ac[Ac.MICROSECOND=2]="MICROSECOND";Ac[Ac.NANOSECOND=3]="NANOSECOND"; var Bc=D||(D={}),Cc=Bc.f||(Bc.f={}),Dc=Cc.g||(Cc.g={}),Ec=Dc.h||(Dc.h={}),Fc=Ec.IntervalUnit||(Ec.IntervalUnit={});Fc[Fc.YEAR_MONTH=0]="YEAR_MONTH";Fc[Fc.DAY_TIME=1]="DAY_TIME";var Gc=D||(D={}),Hc=Gc.f||(Gc.f={}),Ic=Hc.g||(Hc.g={}),Jc=Ic.h||(Ic.h={}),F=Jc.Type||(Jc.Type={});F[F.NONE=0]="NONE";F[F.Null=1]="Null";F[F.Int=2]="Int";F[F.FloatingPoint=3]="FloatingPoint";F[F.Binary=4]="Binary";F[F.Utf8=5]="Utf8";F[F.Bool=6]="Bool";F[F.Decimal=7]="Decimal";F[F.Date=8]="Date";F[F.Time=9]="Time"; F[F.Timestamp=10]="Timestamp";F[F.Interval=11]="Interval";F[F.List=12]="List";F[F.Struct_=13]="Struct_";F[F.Union=14]="Union";F[F.FixedSizeBinary=15]="FixedSizeBinary";F[F.FixedSizeList=16]="FixedSizeList";F[F.Map=17]="Map";F[F.Duration=18]="Duration";F[F.LargeBinary=19]="LargeBinary";F[F.LargeUtf8=20]="LargeUtf8";F[F.LargeList=21]="LargeList";var Kc=D||(D={}),Lc=Kc.f||(Kc.f={}),Mc=Lc.g||(Lc.g={}),Nc=Mc.h||(Mc.h={}),Oc=Nc.Nb||(Nc.Nb={});Oc[Oc.Little=0]="Little";Oc[Oc.Big=1]="Big"; (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.Of=function(f){q(f,0)};e.Ve=function(f){return r(f)};d.Null=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.Sf=function(f){q(f,0)};e.Ye=function(f){return r(f)};d.Struct_=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.Kf=function(f){q(f,0)};e.Se=function(f){return r(f)};d.List=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={}));(function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};d.LargeList=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.listSize=function(){var f=u(this.a,this.c,4);return f?this.a.L(this.c+f):0};e.Ff=function(f){q(f,1)};e.ce=function(f,k){Fa(f,0,k,0)};e.Ne=function(f){return r(f)};d.FixedSizeList=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.keysSorted=function(){var f=u(this.a,this.c,4);return f?!!(this.a.F[this.c+f]<<24>>24):!1};e.Lf=function(f){q(f,1)};e.ae=function(f,k){Da(f,0,+k,0)};e.Te=function(f){return r(f)};d.Map=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.mode=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.UnionMode.Sparse};e.prototype.typeIds=function(f){var k=u(this.a,this.c,6);return k?this.a.L(Ua(this.a,this.c+k)+4*f):0};e.prototype.Xf=function(){var f=u(this.a,this.c,6);return f?new Int32Array(this.a.oa().buffer,this.a.oa().byteOffset+Ua(this.a,this.c+f),Va(this.a, this.c+f)):null};e.Vf=function(f){q(f,2)};e.de=function(f,k){Ea(f,k,a.f.g.h.UnionMode.Sparse)};e.pe=function(f,k){Ha(f,1,k)};e.De=function(f,k){La(f,4,k.length,4);for(var l=k.length-1;0<=l;l--){var m=f,p=k[l];Aa(m,4,0);m.fa(p)}return Ma(f)};e.Uf=function(f,k){La(f,4,k,4)};e.$e=function(f){return r(f)};d.Union=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.bitWidth=function(){var f=u(this.a,this.c,4);return f?this.a.L(this.c+f):0};e.prototype.isSigned=function(){var f=u(this.a,this.c,6);return f?!!(this.a.F[this.c+f]<<24>>24):!1};e.If=function(f){q(f,2)};e.hc=function(f,k){Fa(f,0,k,0)};e.$d=function(f,k){Da(f,1,+k,0)};e.Qe=function(f){return r(f)};d.Int=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f|| (a.f={}))})(D||(D={}));(function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.precision=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.Precision.HALF};e.Gf=function(f){q(f,1)};e.jc=function(f,k){Ea(f,k,a.f.g.h.Precision.HALF)};e.Oe=function(f){return r(f)};d.FloatingPoint=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.Wf=function(f){q(f,0)};e.af=function(f){return r(f)};d.Utf8=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.uf=function(f){q(f,0)};e.Fe=function(f){return r(f)};d.Binary=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={}));(function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};d.LargeUtf8=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};d.LargeBinary=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.byteWidth=function(){var f=u(this.a,this.c,4);return f?this.a.L(this.c+f):0};e.Ef=function(f){q(f,1)};e.Od=function(f,k){Fa(f,0,k,0)};e.Me=function(f){return r(f)};d.FixedSizeBinary=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.vf=function(f){q(f,0)};e.Ge=function(f){return r(f)};d.Bool=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.precision=function(){var f=u(this.a,this.c,4);return f?this.a.L(this.c+f):0};e.prototype.scale=function(){var f=u(this.a,this.c,6);return f?this.a.L(this.c+f):0};e.yf=function(f){q(f,2)};e.jc=function(f,k){Fa(f,0,k,0)};e.je=function(f,k){Fa(f,1,k,0)};e.Ie=function(f){return r(f)};d.Decimal=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D|| (D={}));(function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.unit=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.DateUnit.MILLISECOND};e.xf=function(f){q(f,1)};e.wa=function(f,k){Ea(f,k,a.f.g.h.DateUnit.MILLISECOND)};e.He=function(f){return r(f)};d.Date=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.unit=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.TimeUnit.MILLISECOND};e.prototype.bitWidth=function(){var f=u(this.a,this.c,6);return f?this.a.L(this.c+f):32};e.startTime=function(f){q(f,2)};e.wa=function(f,k){Ea(f,k,a.f.g.h.TimeUnit.MILLISECOND)};e.hc=function(f,k){Fa(f,1,k,32)};e.endTime=function(f){return r(f)}; d.Time=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.unit=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.TimeUnit.SECOND};e.prototype.timezone=function(f){var k=u(this.a,this.c,6);return k?Sa(this.a,this.c+k,f):null};e.Tf=function(f){q(f,2)};e.wa=function(f,k){Ea(f,k,a.f.g.h.TimeUnit.SECOND)};e.me=function(f,k){Ha(f,1,k)};e.Ze=function(f){return r(f)};d.Timestamp=e})(c.h|| (c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.unit=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.IntervalUnit.YEAR_MONTH};e.Jf=function(f){q(f,1)};e.wa=function(f,k){Ea(f,k,a.f.g.h.IntervalUnit.YEAR_MONTH)};e.Re=function(f){return r(f)};d.Interval=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.unit=function(){var f=u(this.a,this.c,4);return f?Ka(this.a,this.c+f):a.f.g.h.TimeUnit.MILLISECOND};e.wa=function(f,k){Ea(f,k,a.f.g.h.TimeUnit.MILLISECOND)};d.Duration=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.key=function(f){var k=u(this.a,this.c,4);return k?Sa(this.a,this.c+k,f):null};e.prototype.value=function(f){var k=u(this.a,this.c,6);return k?Sa(this.a,this.c+k,f):null};e.od=function(f){q(f,2)};e.Xc=function(f,k){Ha(f,0,k)};e.Yc=function(f,k){Ha(f,1,k)};e.cd=function(f){return r(f)};d.nb=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D|| (D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.id=function(){var f=u(this.a,this.c,4);return f?Qa(this.a,this.c+f):this.a.qa(0,0)};e.prototype.jd=function(){var f=u(this.a,this.c,6);return f?(new a.f.g.h.Int).v(Ta(this.a,this.c+f),this.a):null};e.prototype.isOrdered=function(){var f=u(this.a,this.c,8);return f?!!(this.a.F[this.c+f]<<24>>24):!1};e.Bf=function(f){q(f,3)};e.ic=function(f,k){Ga(f, 0,k,f.qa(0,0))};e.Xd=function(f,k){Ha(f,1,k)};e.Zd=function(f,k){Da(f,2,+k,0)};e.Ke=function(f){return r(f)};d.Ec=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.name=function(f){var k=u(this.a,this.c,4);return k?Sa(this.a,this.c+k,f):null};e.prototype.nullable=function(){var f=u(this.a,this.c,6);return f?!!(this.a.F[this.c+f]<<24>>24):!1};e.prototype.Yf=function(){var f=u(this.a,this.c,8);return f?this.a.F[this.c+f]:a.f.g.h.Type.NONE};e.prototype.type=function(f){var k=u(this.a,this.c,10);return k?Ra(this.a, f,this.c+k):null};e.prototype.dictionary=function(f){var k=u(this.a,this.c,12);return k?(f||new a.f.g.h.Ec).v(Ta(this.a,this.c+k),this.a):null};e.prototype.children=function(f,k){var l=u(this.a,this.c,14);return l?(k||new a.f.g.h.Field).v(Ta(this.a,Ua(this.a,this.c+l)+4*f),this.a):null};e.prototype.ye=function(){var f=u(this.a,this.c,14);return f?Va(this.a,this.c+f):0};e.prototype.oc=function(f){var k=u(this.a,this.c,16);return k?(new a.f.g.h.nb).v(Ta(this.a,Ua(this.a,this.c+k)+4*f),this.a):null}; e.prototype.pc=function(){var f=u(this.a,this.c,16);return f?Va(this.a,this.c+f):0};e.Cf=function(f){q(f,7)};e.ee=function(f,k){Ha(f,0,k)};e.he=function(f,k){Da(f,1,+k,0)};e.qe=function(f,k){Da(f,2,k,a.f.g.h.Type.NONE)};e.oe=function(f,k){Ha(f,3,k)};e.Sd=function(f,k){Ha(f,4,k)};e.Pd=function(f,k){Ha(f,5,k)};e.Ae=function(f,k){La(f,4,k.length,4);for(var l=k.length-1;0<=l;l--)Ia(f,k[l]);return Ma(f)};e.Eb=function(f,k){Ha(f,6,k)};e.Gb=function(f,k){La(f,4,k.length,4);for(var l=k.length-1;0<=l;l--)Ia(f, k[l]);return Ma(f)};e.Le=function(f){return r(f)};d.Field=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.offset=function(){return Qa(this.a,this.c)};e.prototype.length=function(){return Qa(this.a,this.c+8)};e.createBuffer=function(f,k,l){Aa(f,8,16);f.sa(l);f.sa(k);return f.offset()};d.Dc=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(D||(D={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.fields=function(f,k){var l=u(this.a,this.c,6);return l?(k||new a.f.g.h.Field).v(Ta(this.a,Ua(this.a,this.c+l)+4*f),this.a):null};e.prototype.bf=function(){var f=u(this.a,this.c,6);return f?Va(this.a,this.c+f):0};e.prototype.oc=function(f){var k=u(this.a,this.c,8);return k?(new a.f.g.h.nb).v(Ta(this.a,Ua(this.a,this.c+k)+4*f),this.a):null};e.prototype.pc= function(){var f=u(this.a,this.c,8);return f?Va(this.a,this.c+f):0};e.Rf=function(f){q(f,3)};e.Td=function(f){Ea(f,Pc?Qc.xd:Qc.bg,a.f.g.h.Nb.xd)};e.Ud=function(f,k){Ha(f,1,k)};e.Ce=function(f,k){La(f,4,k.length,4);for(var l=k.length-1;0<=l;l--)Ia(f,k[l]);return Ma(f)};e.Df=function(f,k){La(f,4,k,4)};e.Eb=function(f,k){Ha(f,2,k)};e.Gb=function(f,k){La(f,4,k.length,4);for(var l=k.length-1;0<=l;l--)Ia(f,k[l]);return Ma(f)};e.Xe=function(f){return r(f)};d.Schema=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f|| (a.f={}))})(D||(D={}));var Rc,Sc=Rc||(Rc={}),Tc=Sc.f||(Sc.f={}),Uc=Tc.g||(Tc.g={});(Uc.h||(Uc.h={})).Schema=D.f.g.h.Schema;var Vc=Rc||(Rc={}),Wc=Vc.f||(Vc.f={}),Xc=Wc.g||(Wc.g={}),Yc=Xc.h||(Xc.h={}),Zc=Yc.MessageHeader||(Yc.MessageHeader={});Zc[Zc.NONE=0]="NONE";Zc[Zc.Schema=1]="Schema";Zc[Zc.DictionaryBatch=2]="DictionaryBatch";Zc[Zc.RecordBatch=3]="RecordBatch";Zc[Zc.Tensor=4]="Tensor";Zc[Zc.SparseTensor=5]="SparseTensor"; (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.length=function(){return Qa(this.a,this.c)};e.prototype.nullCount=function(){return Qa(this.a,this.c+8)};e.Be=function(f,k,l){Aa(f,8,16);f.sa(l);f.sa(k);return f.offset()};d.Fc=e})(c.h||(c.h={}))})(b.g||(b.g={}))})(a.f||(a.f={}))})(Rc||(Rc={})); (function(a){(function(b){(function(c){(function(d){function e(){this.a=null;this.c=0}e.prototype.v=function(f,k){this.c=f;this.a=k;return this};e.prototype.length=function(){var f=u(this.a,this.c,4);return f?Qa(this.a,this.c+f):this.a.qa(0,0)};e.prototype.ba=function(f,k){va