forked from duneanalytics/DuneQueryRepo
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
3295-b6ec9756a455a2f1.js.download
2 lines (2 loc) · 26.3 KB
/
3295-b6ec9756a455a2f1.js.download
1
2
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3295],{52084:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(n(62699)),i=d(n(21603)),a=d(n(91354)),u=d(n(81370)),o=d(n(60623)),s=d(n(66226)),f=d(n(87394));function d(t){return t&&t.__esModule?t:{default:t}}var h={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function l(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),a=r%60;return 0===a?n+String(i):n+String(i)+(e||"")+(0,f.default)(a,2)}function c(t,e){return t%60==0?(t>0?"-":"+")+(0,f.default)(Math.abs(t)/60,2):g(t,e)}function g(t,e){var n=t>0?"-":"+",r=Math.abs(t);return n+(0,f.default)(Math.floor(r/60),2)+(e||"")+(0,f.default)(r%60,2)}e.default={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return r.default.y(t,e)},Y:function(t,e,n,r){var i=(0,s.default)(t,r),a=i>0?i:1-i;if("YY"===e){var u=a%100;return(0,f.default)(u,2)}return"Yo"===e?n.ordinalNumber(a,{unit:"year"}):(0,f.default)(a,e.length)},R:function(t,e){var n=(0,u.default)(t);return(0,f.default)(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return(0,f.default)(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,f.default)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,f.default)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var i=t.getUTCMonth();switch(e){case"M":case"MM":return r.default.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return(0,f.default)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var i=(0,o.default)(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):(0,f.default)(i,e.length)},I:function(t,e,n){var r=(0,a.default)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,f.default)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):r.default.d(t,e)},D:function(t,e,n){var r=(0,i.default)(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,f.default)(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var i=t.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return(0,f.default)(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var i=t.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return(0,f.default)(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return(0,f.default)(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,i=t.getUTCHours();switch(r=12===i?h.noon:0===i?h.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,i=t.getUTCHours();switch(r=i>=17?h.evening:i>=12?h.afternoon:i>=4?h.morning:h.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var i=t.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return r.default.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):r.default.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,f.default)(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return(0===r&&(r=24),"ko"===e)?n.ordinalNumber(r,{unit:"hour"}):(0,f.default)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):r.default.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):r.default.s(t,e)},S:function(t,e){return r.default.S(t,e)},X:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return c(i);case"XXXX":case"XX":return g(i);default:return g(i,":")}},x:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return c(i);case"xxxx":case"xx":return g(i);default:return g(i,":")}},O:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+l(i,":");default:return"GMT"+g(i,":")}},z:function(t,e,n,r){var i=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+l(i,":");default:return"GMT"+g(i,":")}},t:function(t,e,n,r){var i=Math.floor((r._originalDate||t).getTime()/1e3);return(0,f.default)(i,e.length)},T:function(t,e,n,r){var i=(r._originalDate||t).getTime();return(0,f.default)(i,e.length)}},t.exports=e.default},62699:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n(87394))&&r.__esModule?r:{default:r};e.default={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return(0,i.default)("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):(0,i.default)(n+1,2)},d:function(t,e){return(0,i.default)(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return(0,i.default)(t.getUTCHours()%12||12,e.length)},H:function(t,e){return(0,i.default)(t.getUTCHours(),e.length)},m:function(t,e){return(0,i.default)(t.getUTCMinutes(),e.length)},s:function(t,e){return(0,i.default)(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return(0,i.default)(Math.floor(r*Math.pow(10,n-3)),e.length)}},t.exports=e.default},95209:function(t,e){"use strict";function n(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}}function r(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={p:r,P:function(t,e){var i,a=t.match(/(P+)(p+)?/),u=a[1],o=a[2];if(!o)return n(t,e);switch(u){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;default:i=e.dateTime({width:"full"})}return i.replace("{{date}}",n(u,e)).replace("{{time}}",r(o,e))}},t.exports=e.default},21603:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(1,arguments);var e=(0,r.default)(t),n=e.getTime();return e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0),Math.floor((n-e.getTime())/864e5)+1};var r=a(n(71171)),i=a(n(68734));function a(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},91354:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,u.default)(1,arguments);var e=(0,r.default)(t);return Math.round(((0,i.default)(e).getTime()-(0,a.default)(e).getTime())/6048e5)+1};var r=o(n(71171)),i=o(n(80079)),a=o(n(94275)),u=o(n(68734));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},81370:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,a.default)(1,arguments);var e=(0,r.default)(t),n=e.getUTCFullYear(),u=new Date(0);u.setUTCFullYear(n+1,0,4),u.setUTCHours(0,0,0,0);var o=(0,i.default)(u),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var f=(0,i.default)(s);return e.getTime()>=o.getTime()?n+1:e.getTime()>=f.getTime()?n:n-1};var r=u(n(71171)),i=u(n(80079)),a=u(n(68734));function u(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},60623:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,u.default)(1,arguments);var n=(0,r.default)(t);return Math.round(((0,i.default)(n,e).getTime()-(0,a.default)(n,e).getTime())/6048e5)+1};var r=o(n(71171)),i=o(n(69209)),a=o(n(34118)),u=o(n(68734));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},66226:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,u.default)(1,arguments);var n=(0,i.default)(t,e),o=n.getUTCFullYear(),s=e||{},f=s.locale,d=f&&f.options&&f.options.firstWeekContainsDate,h=null==d?1:(0,r.default)(d),l=null==s.firstWeekContainsDate?h:(0,r.default)(s.firstWeekContainsDate);if(!(l>=1&&l<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(o+1,0,l),c.setUTCHours(0,0,0,0);var g=(0,a.default)(c,e),w=new Date(0);w.setUTCFullYear(o,0,l),w.setUTCHours(0,0,0,0);var m=(0,a.default)(w,e);return n.getTime()>=g.getTime()?o+1:n.getTime()>=m.getTime()?o:o-1};var r=o(n(82084)),i=o(n(71171)),a=o(n(69209)),u=o(n(68734));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},56736:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isProtectedDayOfYearToken=function(t){return -1!==n.indexOf(t)},e.isProtectedWeekYearToken=function(t){return -1!==r.indexOf(t)},e.throwProtectedError=function(t,e,n){if("YYYY"===t)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===t)throw RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===t)throw RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===t)throw RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))};var n=["D","DD"],r=["YY","YYYY"]},80079:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(1,arguments);var e=(0,r.default)(t),n=e.getUTCDay();return e.setUTCDate(e.getUTCDate()-((n<1?7:0)+n-1)),e.setUTCHours(0,0,0,0),e};var r=a(n(71171)),i=a(n(68734));function a(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},94275:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,a.default)(1,arguments);var e=(0,r.default)(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),(0,i.default)(n)};var r=u(n(81370)),i=u(n(80079)),a=u(n(68734));function u(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},69209:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,a.default)(1,arguments);var n=e||{},u=n.locale,o=u&&u.options&&u.options.weekStartsOn,s=null==o?0:(0,r.default)(o),f=null==n.weekStartsOn?s:(0,r.default)(n.weekStartsOn);if(!(f>=0&&f<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=(0,i.default)(t),h=d.getUTCDay();return d.setUTCDate(d.getUTCDate()-((h<f?7:0)+h-f)),d.setUTCHours(0,0,0,0),d};var r=u(n(82084)),i=u(n(71171)),a=u(n(68734));function u(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},34118:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,u.default)(1,arguments);var n=e||{},o=n.locale,s=o&&o.options&&o.options.firstWeekContainsDate,f=null==s?1:(0,r.default)(s),d=null==n.firstWeekContainsDate?f:(0,r.default)(n.firstWeekContainsDate),h=(0,i.default)(t,e),l=new Date(0);return l.setUTCFullYear(h,0,d),l.setUTCHours(0,0,0,0),(0,a.default)(l,e)};var r=o(n(82084)),i=o(n(66226)),a=o(n(69209)),u=o(n(68734));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},5065:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,a.default)(2,arguments);var n=(0,i.default)(t).getTime(),u=(0,r.default)(e);return new Date(n+u)};var r=u(n(82084)),i=u(n(71171)),a=u(n(68734));function u(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},15616:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){(0,l.default)(2,arguments);var c=String(e),y=n||{},p=y.locale||i.default,T=p.options&&p.options.firstWeekContainsDate,_=null==T?1:(0,h.default)(T),M=null==y.firstWeekContainsDate?_:(0,h.default)(y.firstWeekContainsDate);if(!(M>=1&&M<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var x=p.options&&p.options.weekStartsOn,C=null==x?0:(0,h.default)(x),U=null==y.weekStartsOn?C:(0,h.default)(y.weekStartsOn);if(!(U>=0&&U<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!p.localize)throw RangeError("locale must contain localize property");if(!p.formatLong)throw RangeError("locale must contain formatLong property");var E=(0,u.default)(t);if(!(0,r.default)(E))throw RangeError("Invalid time value");var O=(0,f.default)(E),N=(0,a.default)(E,O),D={firstWeekContainsDate:M,weekStartsOn:U,locale:p,_originalDate:E};return c.match(w).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,s.default[e])(t,p.formatLong,D):t}).join("").match(g).map(function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return n.match(m)[1].replace(v,"'");var i=o.default[r];if(i)return!y.useAdditionalWeekYearTokens&&(0,d.isProtectedWeekYearToken)(n)&&(0,d.throwProtectedError)(n,e,t),!y.useAdditionalDayOfYearTokens&&(0,d.isProtectedDayOfYearToken)(n)&&(0,d.throwProtectedError)(n,e,t),i(N,n,p.localize,D);if(r.match(b))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n}).join("")};var r=c(n(39989)),i=c(n(82512)),a=c(n(33239)),u=c(n(71171)),o=c(n(52084)),s=c(n(95209)),f=c(n(93561)),d=n(56736),h=c(n(82084)),l=c(n(68734));function c(t){return t&&t.__esModule?t:{default:t}}var g=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,w=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,m=/^'([^]*?)'?$/,v=/''/g,b=/[a-zA-Z]/;t.exports=e.default},33239:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,a.default)(2,arguments);var n=(0,r.default)(e);return(0,i.default)(t,-n)};var r=u(n(82084)),i=u(n(5065)),a=u(n(68734));function u(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default},89179:function(t,e,n){var r=n(55639),i=n(40554),a=n(14841),u=n(79833),o=r.isFinite,s=Math.min;t.exports=function(t){var e=Math[t];return function(t,n){if(t=a(t),(n=null==n?0:s(i(n),292))&&o(t)){var r=(u(t)+"e").split("e");return+((r=(u(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}},5558:function(t,e,n){var r=n(89179)("floor");t.exports=r},43720:function(t){t.exports=n;var e=null;try{e=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function n(t,e,n){this.low=0|t,this.high=0|e,this.unsigned=!!n}function r(t){return!0===(t&&t.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=r;var i={},a={};function u(t,e){var n,r,u;return e?(t>>>=0,(u=0<=t&&t<256)&&(r=a[t]))?r:(n=s(t,(0|t)<0?-1:0,!0),u&&(a[t]=n),n):(t|=0,(u=-128<=t&&t<128)&&(r=i[t]))?r:(n=s(t,t<0?-1:0,!1),u&&(i[t]=n),n)}function o(t,e){if(isNaN(t))return e?v:m;if(e){if(t<0)return v;if(t>=c)return _}else{if(t<=-g)return M;if(t+1>=g)return T}return t<0?o(-t,e).neg():s(t%l|0,t/l|0,e)}function s(t,e,r){return new n(t,e,r)}n.fromInt=u,n.fromNumber=o,n.fromBits=s;var f=Math.pow;function d(t,e,n){if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return m;if("number"==typeof e?(n=e,e=!1):e=!!e,(n=n||10)<2||36<n)throw RangeError("radix");if((r=t.indexOf("-"))>0)throw Error("interior hyphen");if(0===r)return d(t.substring(1),e,n).neg();for(var r,i=o(f(n,8)),a=m,u=0;u<t.length;u+=8){var s=Math.min(8,t.length-u),h=parseInt(t.substring(u,u+s),n);if(s<8){var l=o(f(n,s));a=a.mul(l).add(o(h))}else a=(a=a.mul(i)).add(o(h))}return a.unsigned=e,a}function h(t,e){return"number"==typeof t?o(t,e):"string"==typeof t?d(t,e):s(t.low,t.high,"boolean"==typeof e?e:t.unsigned)}n.fromString=d,n.fromValue=h;var l=4294967296,c=18446744073709552e3,g=0x7fffffffffffffff,w=u(16777216),m=u(0);n.ZERO=m;var v=u(0,!0);n.UZERO=v;var b=u(1);n.ONE=b;var y=u(1,!0);n.UONE=y;var p=u(-1);n.NEG_ONE=p;var T=s(-1,2147483647,!1);n.MAX_VALUE=T;var _=s(-1,-1,!0);n.MAX_UNSIGNED_VALUE=_;var M=s(0,-2147483648,!1);n.MIN_VALUE=M;var x=n.prototype;x.toInt=function(){return this.unsigned?this.low>>>0:this.low},x.toNumber=function(){return this.unsigned?(this.high>>>0)*l+(this.low>>>0):this.high*l+(this.low>>>0)},x.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(!this.eq(M))return"-"+this.neg().toString(t);var e=o(t),n=this.div(e),r=n.mul(e).sub(this);return n.toString(t)+r.toInt().toString(t)}for(var i=o(f(t,6),this.unsigned),a=this,u="";;){var s=a.div(i),d=(a.sub(s.mul(i)).toInt()>>>0).toString(t);if((a=s).isZero())return d+u;for(;d.length<6;)d="0"+d;u=""+d+u}},x.getHighBits=function(){return this.high},x.getHighBitsUnsigned=function(){return this.high>>>0},x.getLowBits=function(){return this.low},x.getLowBitsUnsigned=function(){return this.low>>>0},x.getNumBitsAbs=function(){if(this.isNegative())return this.eq(M)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,e=31;e>0&&(t&1<<e)==0;e--);return 0!=this.high?e+33:e+1},x.isZero=function(){return 0===this.high&&0===this.low},x.eqz=x.isZero,x.isNegative=function(){return!this.unsigned&&this.high<0},x.isPositive=function(){return this.unsigned||this.high>=0},x.isOdd=function(){return(1&this.low)==1},x.isEven=function(){return(1&this.low)==0},x.equals=function(t){return r(t)||(t=h(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},x.eq=x.equals,x.notEquals=function(t){return!this.eq(t)},x.neq=x.notEquals,x.ne=x.notEquals,x.lessThan=function(t){return 0>this.comp(t)},x.lt=x.lessThan,x.lessThanOrEqual=function(t){return 0>=this.comp(t)},x.lte=x.lessThanOrEqual,x.le=x.lessThanOrEqual,x.greaterThan=function(t){return this.comp(t)>0},x.gt=x.greaterThan,x.greaterThanOrEqual=function(t){return this.comp(t)>=0},x.gte=x.greaterThanOrEqual,x.ge=x.greaterThanOrEqual,x.compare=function(t){if(r(t)||(t=h(t)),this.eq(t))return 0;var e=this.isNegative(),n=t.isNegative();return e&&!n?-1:!e&&n?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},x.comp=x.compare,x.negate=function(){return!this.unsigned&&this.eq(M)?M:this.not().add(b)},x.neg=x.negate,x.add=function(t){r(t)||(t=h(t));var e,n,i=this.high>>>16,a=65535&this.high,u=this.low>>>16,o=65535&this.low,f=t.high>>>16,d=65535&t.high,l=t.low>>>16,c=65535&t.low,g=0,w=0;return e=0+((n=0+(o+c))>>>16),n&=65535,e+=u+l,w+=e>>>16,e&=65535,w+=a+d,g+=w>>>16,w&=65535,g+=i+f,s(e<<16|n,(g&=65535)<<16|w,this.unsigned)},x.subtract=function(t){return r(t)||(t=h(t)),this.add(t.neg())},x.sub=x.subtract,x.multiply=function(t){if(this.isZero())return m;if(r(t)||(t=h(t)),e)return s(e.mul(this.low,this.high,t.low,t.high),e.get_high(),this.unsigned);if(t.isZero())return m;if(this.eq(M))return t.isOdd()?M:m;if(t.eq(M))return this.isOdd()?M:m;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(w)&&t.lt(w))return o(this.toNumber()*t.toNumber(),this.unsigned);var n,i,a=this.high>>>16,u=65535&this.high,f=this.low>>>16,d=65535&this.low,l=t.high>>>16,c=65535&t.high,g=t.low>>>16,v=65535&t.low,b=0,y=0;return n=0+((i=0+d*v)>>>16),i&=65535,n+=f*v,y+=n>>>16,n&=65535,n+=d*g,y+=n>>>16,n&=65535,y+=u*v,b+=y>>>16,y&=65535,y+=f*g,b+=y>>>16,y&=65535,y+=d*c,b+=y>>>16,y&=65535,b+=a*v+u*g+f*c+d*l,s(n<<16|i,(b&=65535)<<16|y,this.unsigned)},x.mul=x.multiply,x.divide=function(t){if(r(t)||(t=h(t)),t.isZero())throw Error("division by zero");if(e){var n,i,a;return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?s((this.unsigned?e.div_u:e.div_s)(this.low,this.high,t.low,t.high),e.get_high(),this.unsigned):this}if(this.isZero())return this.unsigned?v:m;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return v;if(t.gt(this.shru(1)))return y;a=v}else{if(this.eq(M))return t.eq(b)||t.eq(p)?M:t.eq(M)?b:(n=this.shr(1).div(t).shl(1)).eq(m)?t.isNegative()?b:p:(i=this.sub(t.mul(n)),a=n.add(i.div(t)));if(t.eq(M))return this.unsigned?v:m;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();a=m}for(i=this;i.gte(t);){for(var u=Math.ceil(Math.log(n=Math.max(1,Math.floor(i.toNumber()/t.toNumber())))/Math.LN2),d=u<=48?1:f(2,u-48),l=o(n),c=l.mul(t);c.isNegative()||c.gt(i);)n-=d,c=(l=o(n,this.unsigned)).mul(t);l.isZero()&&(l=b),a=a.add(l),i=i.sub(c)}return a},x.div=x.divide,x.modulo=function(t){return(r(t)||(t=h(t)),e)?s((this.unsigned?e.rem_u:e.rem_s)(this.low,this.high,t.low,t.high),e.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},x.mod=x.modulo,x.rem=x.modulo,x.not=function(){return s(~this.low,~this.high,this.unsigned)},x.and=function(t){return r(t)||(t=h(t)),s(this.low&t.low,this.high&t.high,this.unsigned)},x.or=function(t){return r(t)||(t=h(t)),s(this.low|t.low,this.high|t.high,this.unsigned)},x.xor=function(t){return r(t)||(t=h(t)),s(this.low^t.low,this.high^t.high,this.unsigned)},x.shiftLeft=function(t){return(r(t)&&(t=t.toInt()),0==(t&=63))?this:t<32?s(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):s(0,this.low<<t-32,this.unsigned)},x.shl=x.shiftLeft,x.shiftRight=function(t){return(r(t)&&(t=t.toInt()),0==(t&=63))?this:t<32?s(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):s(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},x.shr=x.shiftRight,x.shiftRightUnsigned=function(t){if(r(t)&&(t=t.toInt()),0==(t&=63))return this;var e=this.high;return t<32?s(this.low>>>t|e<<32-t,e>>>t,this.unsigned):32===t?s(e,0,this.unsigned):s(e>>>t-32,0,this.unsigned)},x.shru=x.shiftRightUnsigned,x.shr_u=x.shiftRightUnsigned,x.toSigned=function(){return this.unsigned?s(this.low,this.high,!1):this},x.toUnsigned=function(){return this.unsigned?this:s(this.low,this.high,!0)},x.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},x.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,e>>>8&255,e>>>16&255,e>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},x.toBytesBE=function(){var t=this.high,e=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,e>>>24,e>>>16&255,e>>>8&255,255&e]},n.fromBytes=function(t,e,r){return r?n.fromBytesLE(t,e):n.fromBytesBE(t,e)},n.fromBytesLE=function(t,e){return new n(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,e)},n.fromBytesBE=function(t,e){return new n(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],e)}}}]);
//# sourceMappingURL=3295-b6ec9756a455a2f1.js.map