PageSourceSearch

https://www.stoppropaganda.net/sw.js

js stoppropaganda.net collected 2026-09-28 08:31:34 UTC 163,180 bytes, 1 lines download raw bytes

1(()=>{var t={961412(t){var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e},bytesToString:function(t){for(var e=[],r=0;r<t.length;r++)e.push(String.fromCharCode(t[r]));return e.join("")}}};t.exports=e},394745(t){var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t.exports=r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 0xff00ff&r.rotl(t,8)|0xff00ff00&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],r=0,n=0;r<t.length;r++,n+=8)e[n>>>5]|=t[r]<<24-n%32;return e},wordsToBytes:function(t){for(var e=[],r=0;r<32*t.length;r+=8)e.push(t[r>>>5]>>>24-r%32&255);return e},bytesToHex:function(t){for(var e=[],r=0;r<t.length;r++)e.push((t[r]>>>4).toString(16)),e.push((15&t[r]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e},bytesToBase64:function(t){for(var r=[],n=0;n<t.length;n+=3)for(var s=t[n]<<16|t[n+1]<<8|t[n+2],i=0;i<4;i++)8*n+6*i<=8*t.length?r.push(e.charAt(s>>>6*(3-i)&63)):r.push("=");return r.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],n=0,s=0;n<t.length;s=++n%4)0!=s&&r.push((e.indexOf(t.charAt(n-1))&Math.pow(2,-2*s+8)-1)<<2*s|e.indexOf(t.charAt(n))>>>6-2*s);return r}}},368807(t){function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){var r;return null!=t&&(e(t)||"function"==typeof(r=t).readFloatLE&&"function"==typeof r.slice&&e(r.slice(0,0))||!!t._isBuffer)}},267486(t,e,r){var n,s,i;n=r(961412).utf8,s=r(961412).bin,(i=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?s.stringToBytes(t):n.stringToBytes(t):r(368807)(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var a=r(394745).bytesToWords(t),o=8*t.length,u=0x67452301,l=-0x10325477,c=-0x67452302,h=0x10325476,f=0;f<a.length;f++)a[f]=(a[f]<<8|a[f]>>>24)&0xff00ff|(a[f]<<24|a[f]>>>8)&0xff00ff00;a[o>>>5]|=128<<o%32,a[(o+64>>>9<<4)+14]=o;for(var d=i._ff,p=i._gg,m=i._hh,y=i._ii,f=0;f<a.length;f+=16){var g=u,v=l,w=c,b=h;u=d(u,l,c,h,a[f+0],7,-0x28955b88),h=d(h,u,l,c,a[f+1],12,-0x173848aa),c=d(c,h,u,l,a[f+2],17,0x242070db),l=d(l,c,h,u,a[f+3],22,-0x3e423112),u=d(u,l,c,h,a[f+4],7,-0xa83f051),h=d(h,u,l,c,a[f+5],12,0x4787c62a),c=d(c,h,u,l,a[f+6],17,-0x57cfb9ed),l=d(l,c,h,u,a[f+7],22,-0x2b96aff),u=d(u,l,c,h,a[f+8],7,0x698098d8),h=d(h,u,l,c,a[f+9],12,-0x74bb0851),c=d(c,h,u,l,a[f+10],17,-42063),l=d(l,c,h,u,a[f+11],22,-0x76a32842),u=d(u,l,c,h,a[f+12],7,0x6b901122),h=d(h,u,l,c,a[f+13],12,-0x2678e6d),c=d(c,h,u,l,a[f+14],17,-0x5986bc72),l=d(l,c,h,u,a[f+15],22,0x49b40821),u=p(u,l,c,h,a[f+1],5,-0x9e1da9e),h=p(h,u,l,c,a[f+6],9,-0x3fbf4cc0),c=p(c,h,u,l,a[f+11],14,0x265e5a51),l=p(l,c,h,u,a[f+0],20,-0x16493856),u=p(u,l,c,h,a[f+5],5,-0x29d0efa3),h=p(h,u,l,c,a[f+10],9,0x2441453),c=p(c,h,u,l,a[f+15],14,-0x275e197f),l=p(l,c,h,u,a[f+4],20,-0x182c0438),u=p(u,l,c,h,a[f+9],5,0x21e1cde6),h=p(h,u,l,c,a[f+14],9,-0x3cc8f82a),c=p(c,h,u,l,a[f+3],14,-0xb2af279),l=p(l,c,h,u,a[f+8],20,0x455a14ed),u=p(u,l,c,h,a[f+13],5,-0x561c16fb),h=p(h,u,l,c,a[f+2],9,-0x3105c08),c=p(c,h,u,l,a[f+7],14,0x676f02d9),l=p(l,c,h,u,a[f+12],20,-0x72d5b376),u=m(u,l,c,h,a[f+5],4,-378558),h=m(h,u,l,c,a[f+8],11,-0x788e097f),c=m(c,h,u,l,a[f+11],16,0x6d9d6122),l=m(l,c,h,u,a[f+14],23,-0x21ac7f4),u=m(u,l,c,h,a[f+1],4,-0x5b4115bc),h=m(h,u,l,c,a[f+4],11,0x4bdecfa9),c=m(c,h,u,l,a[f+7],16,-0x944b4a0),l=m(l,c,h,u,a[f+10],23,-0x41404390),u=m(u,l,c,h,a[f+13],4,0x289b7ec6),h=m(h,u,l,c,a[f+0],11,-0x155ed806),c=m(c,h,u,l,a[f+3],16,-0x2b10cf7b),l=m(l,c,h,u,a[f+6],23,0x4881d05),u=m(u,l,c,h,a[f+9],4,-0x262b2fc7),h=m(h,u,l,c,a[f+12],11,-0x1924661b),c=m(c,h,u,l,a[f+15],16,0x1fa27cf8),l=m(l,c,h,u,a[f+2],23,-0x3b53a99b),u=y(u,l,c,h,a[f+0],6,-0xbd6ddbc),h=y(h,u,l,c,a[f+7],10,0x432aff97),c=y(c,h,u,l,a[f+14],15,-0x546bdc59),l=y(l,c,h,u,a[f+5],21,-0x36c5fc7),u=y(u,l,c,h,a[f+12],6,0x655b59c3),h=y(h,u,l,c,a[f+3],10,-0x70f3336e),c=y(c,h,u,l,a[f+10],15,-1051523),l=y(l,c,h,u,a[f+1],21,-0x7a7ba22f),u=y(u,l,c,h,a[f+8],6,0x6fa87e4f),h=y(h,u,l,c,a[f+15],10,-0x1d31920),c=y(c,h,u,l,a[f+6],15,-0x5cfebcec),l=y(l,c,h,u,a[f+13],21,0x4e0811a1),u=y(u,l,c,h,a[f+4],6,-0x8ac817e),h=y(h,u,l,c,a[f+11],10,-0x42c50dcb),c=y(c,h,u,l,a[f+2],15,0x2ad7d2bb),l=y(l,c,h,u,a[f+9],21,-0x14792c6f),u=u+g>>>0,l=l+v>>>0,c=c+w>>>0,h=h+b>>>0}return r(394745).endian([u,l,c,h])})._ff=function(t,e,r,n,s,i,a){var o=t+(e&r|~e&n)+(s>>>0)+a;return(o<<i|o>>>32-i)+e},i._gg=function(t,e,r,n,s,i,a){var o=t+(e&n|r&~n)+(s>>>0)+a;return(o<<i|o>>>32-i)+e},i._hh=function(t,e,r,n,s,i,a){var o=t+(e^r^n)+(s>>>0)+a;return(o<<i|o>>>32-i)+e},i._ii=function(t,e,r,n,s,i,a){var o=t+(r^(e|~n))+(s>>>0)+a;return(o<<i|o>>>32-i)+e}
1,i._blocksize=16,i._digestsize=16,t.exports=function(t,e){if(null==t)throw Error("Illegal argument "+t);var n=r(394745).wordsToBytes(i(t,e));return e&&e.asBytes?n:e&&e.asString?s.bytesToString(n):r(394745).bytesToHex(n)}},572044(t,e,r){t=r.nmd(t),function(n){var s=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,a="object"==typeof r.g&&r.g;(a.global===a||a.window===a||a.self===a)&&(n=a);var o,u,l=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function m(t){throw RangeError(f[t])}function y(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function g(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+y((t=t.replace(h,".")).split("."),e).join(".")}function v(t){for(var e,r,n=[],s=0,i=t.length;s<i;)(e=t.charCodeAt(s++))>=55296&&e<=56319&&s<i?(64512&(r=t.charCodeAt(s++)))==56320?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),s--):n.push(e);return n}function w(t){return y(t,function(t){var e="";return t>65535&&(t-=65536,e+=p(t>>>10&1023|55296),t=56320|1023&t),e+=p(t)}).join("")}function b(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function x(t,e,r){var n=0;for(t=r?d(t/700):t>>1,t+=d(t/e);t>455;n+=36)t=d(t/35);return d(n+36*t/(t+38))}function S(t){var e,r,n,s,i,a,o,u,l,c,h,f=[],p=t.length,y=0,g=128,v=72;for((n=t.lastIndexOf("-"))<0&&(n=0),s=0;s<n;++s)t.charCodeAt(s)>=128&&m("not-basic"),f.push(t.charCodeAt(s));for(i=n>0?n+1:0;i<p;){for(a=y,o=1,u=36;i>=p&&m("invalid-input"),((l=(e=t.charCodeAt(i++))-48<10?e-22:e-65<26?e-65:e-97<26?e-97:36)>=36||l>d((0x7fffffff-y)/o))&&m("overflow"),y+=l*o,!(l<(c=u<=v?1:u>=v+26?26:u-v));u+=36){;o>d(0x7fffffff/(h=36-c))&&m("overflow"),o*=h}v=x(y-a,r=f.length+1,0==a),d(y/r)>0x7fffffff-g&&m("overflow"),g+=d(y/r),y%=r,f.splice(y++,0,g)}return w(f)}function T(t){var e,r,n,s,i,a,o,u,l,c,h,f,y,g,w,S=[];for(a=0,f=(t=v(t)).length,e=128,r=0,i=72;a<f;++a)(h=t[a])<128&&S.push(p(h));for(n=s=S.length,s&&S.push("-");n<f;){for(o=0x7fffffff,a=0;a<f;++a)(h=t[a])>=e&&h<o&&(o=h);for(o-e>d((0x7fffffff-r)/(y=n+1))&&m("overflow"),r+=(o-e)*y,e=o,a=0;a<f;++a)if((h=t[a])<e&&++r>0x7fffffff&&m("overflow"),h==e){for(u=r,l=36;!(u<(c=l<=i?1:l>=i+26?26:l-i));l+=36)w=u-c,g=36-c,S.push(p(b(c+w%g,0))),u=d(w/g);S.push(p(b(u,0))),i=x(r,y,n==s),r=0,++n}++r,++e}return S.join("")}if(o={version:"1.3.2",ucs2:{decode:v,encode:w},decode:S,encode:T,toASCII:function(t){return g(t,function(t){return c.test(t)?"xn--"+T(t):t})},toUnicode:function(t){return g(t,function(t){return l.test(t)?S(t.slice(4).toLowerCase()):t})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return o});else if(s&&i)if(t.exports==s)i.exports=o;else for(u in o)o.hasOwnProperty(u)&&(s[u]=o[u]);else n.punycode=o}(this)},85999(t){"use strict";t.exports=function(t,e,r,n){e=e||"&",r=r||"=";var s={};if("string"!=typeof t||0===t.length)return s;var i=/\+/g;t=t.split(e);var a=1e3;n&&"number"==typeof n.maxKeys&&(a=n.maxKeys);var o=t.length;a>0&&o>a&&(o=a);for(var u=0;u<o;++u){var l,c,h,f,d=t[u].replace(i,"%20"),p=d.indexOf(r);(p>=0?(l=d.substr(0,p),c=d.substr(p+1)):(l=d,c=""),h=decodeURIComponent(l),f=decodeURIComponent(c),Object.prototype.hasOwnProperty.call(s,h))?Array.isArray(s[h])?s[h].push(f):s[h]=[s[h],f]:s[h]=f}return s}},674011(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,r,n,s){return(r=r||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t)?Object.keys(t).map(function(s){var i=encodeURIComponent(e(s))+n;return Array.isArray(t[s])?t[s].map(function(t){return i+encodeURIComponent(e(t))}).join(r):i+encodeURIComponent(e(t[s]))}).join(r):s?encodeURIComponent(e(s))+n+encodeURIComponent(e(t)):""}},141141(t,e,r){"use strict";e.decode=e.parse=r(85999),e.encode=e.stringify=r(674011)},721956(t,e,r){"use strict";function n(){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}
1var s=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","	"])),u=["%","/","?",";","#"].concat(o),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};n.prototype.parse=function(t,e,n){if(!r(888437).isString(t))throw TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),m=-1!==i&&i<t.indexOf("#")?"?":"#",y=t.split(m);y[0]=y[0].replace(/\\/g,"/");var g=t=y.join(m);if(g=g.trim(),!n&&1===t.split("#").length){var v=a.exec(g);if(v)return this.path=g,this.href=g,this.pathname=v[1],v[2]?(this.search=v[2],e?this.query=r(141141).parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=s.exec(g);if(w){var b=(w=w[0]).toLowerCase();this.protocol=b,g=g.substr(w.length)}if(n||w||g.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===g.substr(0,2);x&&!(w&&d[w])&&(g=g.substr(2),this.slashes=!0)}if(!d[w]&&(x||w&&!p[w])){for(var S,T,E=-1,O=0;O<l.length;O++){var k=g.indexOf(l[O]);-1!==k&&(-1===E||k<E)&&(E=k)}-1!==(T=-1===E?g.lastIndexOf("@"):g.lastIndexOf("@",E))&&(S=g.slice(0,T),g=g.slice(T+1),this.auth=decodeURIComponent(S)),E=-1;for(var O=0;O<u.length;O++){var k=g.indexOf(u[O]);-1!==k&&(-1===E||k<E)&&(E=k)}-1===E&&(E=g.length),this.host=g.slice(0,E),g=g.slice(E),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var A=this.hostname.split(/\./),O=0,N=A.length;O<N;O++){var C=A[O];if(C&&!C.match(c)){for(var R="",D=0,M=C.length;D<M;D++)C.charCodeAt(D)>127?R+="x":R+=C[D];if(!R.match(c)){var F=A.slice(0,O),L=A.slice(O+1),j=C.match(h);j&&(F.push(j[1]),L.unshift(j[2])),L.length&&(g="/"+L.join(".")+g),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=r(572044).toASCII(this.hostname));var _=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+_,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!f[b])for(var O=0,N=o.length;O<N;O++){var V=o[O];if(-1!==g.indexOf(V)){var P=encodeURIComponent(V);P===V&&(P=escape(V)),g=g.split(V).join(P)}}var U=g.indexOf("#");-1!==U&&(this.hash=g.substr(U),g=g.slice(0,U));var q=g.indexOf("?");if(-1!==q?(this.search=g.substr(q),this.query=g.substr(q+1),e&&(this.query=r(141141).parse(this.query)),g=g.slice(0,q)):e&&(this.search="",this.query={}),g&&(this.pathname=g),p[b]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var _=this.pathname||"",z=this.search||"";this.path=_+z}return this.href=this.format(),this},n.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":")+"@");var e=this.protocol||"",n=this.pathname||"",s=this.hash||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&r(888437).isObject(this.query)&&Object.keys(this.query).length&&(a=r(141141).stringify(this.query));var o=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||p[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),s&&"#"!==s.charAt(0)&&(s="#"+s),o&&"?"!==o.charAt(0)&&(o="?"+o),e+i+(n=n.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(o=o.replace("#","%23"))+s},n.prototype.resolve=function(t){return this.resolveObject(function(t,e,s){if(t&&r(888437).isObject(t)&&t instanceof n)return t;var i=new n;return i.parse(t,e,s),i}(t,!1,!0)).format()},n.prototype.resolveObject=function(t){if(r(888437).isString(t)){var e=new n;e.parse(t,!1,!0),t=e}for(var s=new n,i=Object.keys(this),a=0;a<i.length;a++){var o=i[a];s[o]=this[o]}if(s.hash=t.hash,""===t.href)return s.href=s.format(),s;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),l=0;l<u.length;l++){var c=u[l];"protocol"!==c&&(s[c]=t[c])}return p[s.protocol]&&s.hostname&&!s.pathname&&(s.path=s.pathname="/"),s.href=s.format(),s}if(t.protocol&&t.protocol!==s.protocol){if(!p[t.protocol]){for(var h=Object.keys(t),f=0;f<h.length;f++){var m=h[f];s[m]=t[m]}return s.href=s.format(),s}if(s.protocol=t.protocol,t.host||d[t.protocol])s.pathname=t.pathname;else{for(var y=(t.pathname||"").split("/");y.length&&!(t.host=y.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==y[0]&&y.unshift(""),y.length<2&&y.unshift(""),s.pathname=y.join("/")}if(s.search=t.search,s.query=t.query,s.host=t.host||"",s.auth=t.auth,s.hostname=t.hostname||t.host,s.port=t.port,s.pathname||s.search){var g=s.pathname||"",v=s.search||"";s.path=g+v}return s.slashes=s.slashes||t.slashes,s.href=s.format(),s}var w=s.pathname&&"/"===s.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),x=b||w||s.host&&t.pathname,S=x,T=s.pathname&&s.pathname.split("/")||[],y=t.pathname&&t.pathname.split("/")||[],E=s.protocol&&!p[s.protocol];if(E&&(s.hostname="",s.port=null,s.host&&(""===T[0]?T[0]=s.host:T.unshift(s.host)),s.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===y[0]?y[0]=t.host:y.unshift(t.host)),t.host=null),x=x&&(""===y[0]||""===T[0])),b)s.host=t.host||""===t.host?t.host:s.host,s.hostname=t.hostname||""===t.hostname?t.hostname:s.hostname,s.search=t.search,s.query=t.query,T=y;else if(y.length)T||(T=[]),T.pop(),T=T.concat(y),s.search=t.search,s.query=t.query;else if(!r(888437).isNullOrUndefined(t.search)){if(E){s.hostname=s.host=T.shift();var O=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@");O&&(s.auth=O.shift(),s.host=s.hostname=O.shift())}return s.search=t.search,s.query=t.query,r(888437).isNull(s.pathname)&&r(888437).isNull(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.href=s.format(),s}if(!T.length)return s.pathname=null,s.search?s.path="/"+s.search:s.path=null,s.href=s.format(),s;for(var k=T.slice(-1)[0],I=(s.host||t.host||T.length>1)&&("."===k||".."===k)||""===k,A=0,N=T.length;N>=0;N--)"."===(k=T[N])?T.splice(N,1):".."===k?(T.splice(N,1),A++):A&&(T.splice(N,1),A--);if(!x&&!S)for(;A--;)T.unshift("..");x&&""!==T[0]&&(!T[0]||"/"!==T[0].charAt(0))&&T.unshift(""),I&&"/"!==T.join("/").substr(-1)&&T.push("");var C=""===T[0]||T[0]&&"/"===T[0].charAt(0);if(E){s.hostname=s.host=C?"":T.length?T.shift():"";var O=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@");O&&(s.auth=O.shift(),s.host=s.hostname=O.shift())}return(x=x||s.host&&T.length)&&!C&&T.unshift(""),T.length?s.pathname=T.join("/"):(s.pathname=null,s.path=null),r(888437).isNull(s.pathname)&&r(888437).isNull(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.auth=t.auth||s.auth,s.slashes=s.slashes||t.slashes,s.href=s.format(),s},n.prototype.parseHost=function(){var t=this.host,e=i.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},888437(t){"use strict";
vendor: 39,640 bytes, line 1
1t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},939676(t,e,r){"use strict";var n=r(553751),s=r(403805),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not a function")}},428152(t,e,r){"use strict";var n=r(396835),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+s(t)+" as a prototype")}},378930(t,e,r){"use strict";var n=r(62212).has;t.exports=function(t){return n(t),t}},17211(t,e,r){"use strict";var n=r(513581),s=r(679222),i=r(452591).f,a=n("unscopables"),o=Array.prototype;void 0===o[a]&&i(o,a,{configurable:!0,value:s(null)}),t.exports=function(t){o[a][t]=!0}},572121(t,e,r){"use strict";var n=r(302307),s=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new s("Incorrect invocation")}},535697(t,e,r){"use strict";var n=r(40332),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(s(t)+" is not an object")}},51677(t){"use strict";t.exports="u">typeof ArrayBuffer&&"u">typeof DataView},970192(t,e,r){"use strict";var n=r(961550),s=r(122444),i=r(637562),a=n.ArrayBuffer,o=n.TypeError;t.exports=a&&s(a.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==i(t))throw new o("ArrayBuffer expected");return t.byteLength}},253032(t,e,r){"use strict";var n=r(961550),s=r(121638),i=r(970192),a=n.ArrayBuffer,o=a&&a.prototype,u=o&&s(o.slice);t.exports=function(t){if(0!==i(t)||!u)return!1;try{return u(t,0,0),!1}catch(t){return!0}}},153819(t,e,r){"use strict";var n=r(253032),s=TypeError;t.exports=function(t){if(n(t))throw new s("ArrayBuffer is detached");return t}},899478(t,e,r){"use strict";var n=r(961550),s=r(214718),i=r(122444),a=r(373522),o=r(153819),u=r(970192),l=r(717029),c=r(383778),h=n.structuredClone,f=n.ArrayBuffer,d=n.DataView,p=Math.min,m=f.prototype,y=d.prototype,g=s(m.slice),v=i(m,"resizable","get"),w=i(m,"maxByteLength","get"),b=s(y.getInt8),x=s(y.setInt8);t.exports=(c||l)&&function(t,e,r){var n,s=u(t),i=void 0===e?s:a(e),m=!v||!v(t);if(o(t),c&&(t=h(t,{transfer:[t]}),s===i&&(r||m)))return t;if(s>=i&&(!r||m))n=g(t,0,i);else{n=new f(i,r&&!m&&w?{maxByteLength:w(t)}:void 0);for(var y=new d(t),S=new d(n),T=p(i,s),E=0;E<T;E++)x(S,E,b(y,E))}return c||l(t),n}},471274(t,e,r){"use strict";var n,s,i,a=r(51677),o=r(106882),u=r(961550),l=r(553751),c=r(40332),h=r(114311),f=r(474141),d=r(403805),p=r(527585),m=r(686838),y=r(570964),g=r(302307),v=r(79457),w=r(280557),b=r(513581),x=r(649518),S=r(248103),T=S.enforce,E=S.get,O=u.Int8Array,k=O&&O.prototype,I=u.Uint8ClampedArray,A=I&&I.prototype,N=O&&v(O),C=k&&v(k),R=Object.prototype,D=u.TypeError,M=b("toStringTag"),F=x("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",j=a&&!!w&&"Opera"!==f(u.opera),_=!1,$={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},V={BigInt64Array:8,BigUint64Array:8},P=function(t){var e=v(t);if(c(e)){var r=E(e);return r&&h(r,L)?r[L]:P(e)}},U=function(t){if(!c(t))return!1;var e=f(t);return h($,e)||h(V,e)};for(n in $)(i=(s=u[n])&&s.prototype)?T(i)[L]=s:j=!1;for(n in V)(i=(s=u[n])&&s.prototype)&&(T(i)[L]=s);if((!j||!l(N)||N===Function.prototype)&&(N=function(){throw new D("Incorrect invocation")},j))for(n in $)u[n]&&w(u[n],N);if((!j||!C||C===R)&&(C=N.prototype,j))for(n in $)u[n]&&w(u[n].prototype,C);if(j&&v(A)!==C&&w(A,C),o&&!h(C,M))for(n in _=!0,y(C,M,{configurable:!0,get:function(){return c(this)?this[F]:void 0}}),$)u[n]&&p(u[n],F,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:_&&F,aTypedArray:function(t){if(U(t))return t;throw new D("Target is not a typed array")},aTypedArrayConstructor:function(t){if(l(t)&&(!w||g(N,t)))return t;throw new D(d(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(o){if(r)for(var s in $){var i=u[s];if(i&&h(i.prototype,t))try{delete i.prototype[t]}catch(r){try{i.prototype[t]=e}catch(t){}}}(!C[t]||r)&&m(C,t,r?e:j&&k[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,s;if(o){if(w){if(r){for(n in $)if((s=u[n])&&h(s,t))try{delete s[t]}catch(t){}}if(N[t]&&!r)return;try{return m(N,t,r?e:j&&N[t]||e)}catch(t){}}for(n in $)(s=u[n])&&(!s[t]||r)&&m(s,t,e)}},getTypedArrayConstructor:P,isView:function(t){if(!c(t))return!1;var e=f(t);return"DataView"===e||h($,e)||h(V,e)},isTypedArray:U,TypedArray:N,TypedArrayPrototype:C}},844412(t,e,r){"use strict";var n=r(400460);t.exports=function(t,e,r){for(var s=0,i=arguments.length>2?r:n(e),a=new t(i);i>s;)a[s]=e[s++];return a}},446391(t,e,r){"use strict";var n=r(119075),s=r(541716),i=r(400460),a=function(t){return function(e,r,a){var o,u=n(e),l=i(u);if(0===l)return!t&&-1;var c=s(a,l);if(t&&r!=r){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},140273(t,e,r){"use strict";var n=r(552302),s=r(442701),i=r(443151),a=r(400460),o=function(t){var e=1===t;return function(r,o,u){for(var l,c=i(r),h=s(c),f=a(h),d=n(o,u);f-- >0;)if(d(l=h[f],f,c))switch(t){case 0:return l;case 1:return f}return e?-1:void 0}};t.exports={findLast:o(0),findLastIndex:o(1)}},36061(t,e,r){"use strict";var n=r(106882),s=r(73590),i=TypeError,a=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(s(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},712014(t,e,r){"use strict";var n=r(400460);t.exports=function(t,e){for(var r=n(t),s=new e(r),i=0;i<r;i++)s[i]=t[r-i-1];return s}},461990(t,e,r){"use strict";var n=r(400460),s=r(991473),i=RangeError;t.exports=function(t,e,r,a){var o=n(t),u=s(r),l=u<0?o+u:u;if(l>=o||l<0)throw new i("Incorrect index");for(var c=new e(o),h=0;h<o;h++)c[h]=h===l?a:t[h];return c}},141753(t,e,r){"use strict";var n=r(535697),s=r(83837);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){s(t,"throw",e)}}},637562(t,e,r){"use strict";var n=r(214718),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},474141(t,e,r){"use strict";var n=r(573150),s=r(553751),i=r(637562),a=r(513581)("toStringTag"),o=Object,u="Arguments"===i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(t){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=l(e=o(t),a))?r:u?i(e):"Object"===(n=i(e))&&s(e.callee)?"Arguments":n}},550434(t,e,r){"use strict";var n=r(114311),s=r(755805),i=r(109101),a=r(452591);t.exports=function(t,e,r){for(var o=s(e),u=a.f,l=i.f,c=0;c<o.length;c++){var h=o[c];n(t,h)||r&&n(r,h)||u(t,h,l(e,h))}}},887717(t,e,r){"use strict";t.exports=!r(972429)(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},223643(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},527585(t,e,r){"use strict";var n=r(106882),s=r(452591),i=r(419286);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},419286(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},431178(t,e,r){"use strict";var n=r(106882),s=r(452591),i=r(419286);t.exports=function(t,e,r){n?s.f(t,e,i(0,r)):t[e]=r}},570964(t,e,r){"use strict";var n=r(543101),s=r(452591);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),s.f(t,e,r)}},686838(t,e,r){"use strict";var n=r(553751),s=r(452591),i=r(543101),a=r(677451);t.exports=function(t,e,r,o){o||(o={});var u=o.enumerable,l=void 0!==o.name?o.name:e;if(n(r)&&i(r,l,o),o.global)u?t[e]=r:a(e,r);else{try{o.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:s.f(t,e,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},926749(t,e,r){"use strict";var n=r(686838);t.exports=function(t,e,r){for(var s in e)n(t,s,e[s],r);return t}},677451(t,e,r){"use strict";var n=r(961550),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},106882(t,e,r){"use strict";t.exports=!r(972429)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},717029(t,e,r){"use strict";var n,s,i,a,o=r(961550),u=r(497551),l=r(383778),c=o.structuredClone,h=o.ArrayBuffer,f=o.MessageChannel,d=!1;if(l)d=function(t){c(t,{transfer:[t]})};else if(h)try{!f&&(n=u("worker_threads"))&&(f=n.MessageChannel),f&&(s=new f,i=new h(2),a=function(t){s.port1.postMessage(null,[t])},2===i.byteLength&&(a(i),0===i.byteLength&&(d=a)))}catch(t){}t.exports=d},78245(t,e,r){"use strict";var n=r(961550),s=r(40332),i=n.document,a=s(i)&&s(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},936439(t){"use strict";var e=TypeError;t.exports=function(t){if(t>0x1fffffffffffff)throw e("Maximum allowed index exceeded");return t}},115968(t){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},116721(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},779891(t,e,r){"use strict";t.exports="NODE"===r(592837)},87129(t,e,r){"use strict";var n=r(961550).navigator,s=n&&n.userAgent;t.exports=s?String(s):""},385673(t,e,r){"use strict";var n,s,i=r(961550),a=r(87129),o=i.process,u=i.Deno,l=o&&o.versions||u&&u.version,c=l&&l.v8;c&&(s=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},592837(t,e,r){"use strict";var n=r(961550),s=r(87129),i=r(637562),a=function(t){return s.slice(0,t.length)===t};t.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},256171(t,e,r){"use strict";var n=r(214718),s=Error,i=n("".replace),a=String(new s("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,u=o.test(a);t.exports=function(t,e){if(u&&"string"==typeof t&&!s.prepareStackTrace)for(;e--;)t=i(t,o,"");return t}},368061(t,e,r){"use strict";var n=r(527585),s=r(256171),i=r(627993),a=Error.captureStackTrace;t.exports=function(t,e,r,o){i&&(a?a(t,e):n(t,"stack",s(r,o)))}},627993(t,e,r){"use strict";var n=r(972429),s=r(419286);t.exports=!n(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",s(1,7)),7!==t.stack)})},294968(t,e,r){"use strict";var n=r(961550),s=r(109101).f,i=r(527585),a=r(686838),o=r(677451),u=r(550434),l=r(2998);t.exports=function(t,e){var r,c,h,f,d,p=t.target,m=t.global,y=t.stat;if(r=m?n:y?n[p]||o(p,{}):n[p]&&n[p].prototype)for(c in e){if(f=e[c],h=t.dontCallGetSet?(d=s(r,c))&&d.value:r[c],!l(m?c:p+(y?".":"#")+c,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;u(f,h)}(t.sham||h&&h.sham)&&i(f,"sham",!0),a(r,c,f,t)}}},972429(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},709559(t,e,r){"use strict";var n=r(553406),s=Function.prototype,i=s.apply,a=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},552302(t,e,r){"use strict";var n=r(121638),s=r(939676),i=r(553406),a=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},553406(t,e,r){"use strict";t.exports=!r(972429)(function(){var t=(function(){}).bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},569707(t,e,r){"use strict";var n=r(553406),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},494996(t,e,r){"use strict";var n=r(106882),s=r(114311),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=s(i,"name"),u=o&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:o,PROPER:o&&"something"===(function(){}).name,CONFIGURABLE:u}},122444(t,e,r){"use strict";var n=r(214718),s=r(939676);t.exports=function(t,e,r){try{return n(s(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},121638(t,e,r){"use strict";var n=r(637562),s=r(214718);t.exports=function(t){if("Function"===n(t))return s(t)}},214718(t,e,r){"use strict";var n=r(553406),s=Function.prototype,i=s.call,a=n&&s.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},497551(t,e,r){"use strict";var n=r(961550),s=r(779891);t.exports=function(t){if(s){try{return n.process.getBuiltinModule(t)}catch(t){}try{return Function('return require("'+t+'")')()}catch(t){}}}},640789(t,e,r){"use strict";var n=r(961550),s=r(553751);t.exports=function(t,e){var r;return arguments.length<2?s(r=n[t])?r:void 0:n[t]&&n[t][e]}},369325(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},661924(t,e,r){"use strict";var n=r(569707),s=r(535697),i=r(369325),a=r(841325);t.exports=function(t,e){e&&"string"==typeof t||s(t);var r=a(t);return i(s(void 0!==r?n(r,t):t))}},841325(t,e,r){"use strict";var n=r(474141),s=r(910184),i=r(193019),a=r(547739),o=r(513581)("iterator");t.exports=function(t){if(!i(t))return s(t,o)||s(t,"@@iterator")||a[n(t)]}},158211(t,e,r){"use strict";var n=r(569707),s=r(939676),i=r(535697),a=r(403805),o=r(841325),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?o(t):e;if(s(r))return i(n(r,t));throw new u(a(t)+" is not iterable")}},910184(t,e,r){"use strict";var n=r(939676),s=r(193019);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},593687(t,e,r){"use strict";var n=r(939676),s=r(535697),i=r(569707),a=r(991473),o=r(369325),u="Invalid size",l=RangeError,c=TypeError,h=Math.max,f=function(t,e){this.set=t,this.size=h(e,0),this.has=n(t.has),this.keys=n(t.keys)};f.prototype={getIterator:function(){return o(s(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){s(t);var e=+t.size;if(e!=e)throw new c(u);var r=a(e);if(r<0)throw new l(u);return new f(t,r)}},961550(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},114311(t,e,r){"use strict";var n=r(214718),s=r(443151),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},487719(t){"use strict";t.exports={}},975391(t,e,r){"use strict";t.exports=r(640789)("document","documentElement")},614107(t,e,r){"use strict";var n=r(106882),s=r(972429),i=r(78245);t.exports=!n&&!s(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},442701(t,e,r){"use strict";var n=r(214718),s=r(972429),i=r(637562),a=Object,o=n("".split);t.exports=s(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?o(t,""):a(t)}:a},180001(t,e,r){"use strict";var n=r(553751),s=r(40332),i=r(280557);t.exports=function(t,e,r){var a,o;return i&&n(a=e.constructor)&&a!==r&&s(o=a.prototype)&&o!==r.prototype&&i(t,o),t}},235800(t,e,r){"use strict";var n=r(214718),s=r(553751),i=r(628403),a=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},605110(t,e,r){"use strict";var n=r(40332),s=r(527585);t.exports=function(t,e){n(e)&&"cause"in e&&s(t,"cause",e.cause)}},248103(t,e,r){"use strict";var n,s,i,a=r(910968),o=r(961550),u=r(40332),l=r(527585),c=r(114311),h=r(628403),f=r(336093),d=r(487719),p="Object already initialized",m=o.TypeError,y=o.WeakMap;if(a||h.state){var g=h.state||(h.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new m(p);return e.facade=t,g.set(t,e),e},s=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var v=f("state");d[v]=!0,n=function(t,e){if(c(t,v))throw new m(p);return e.facade=t,l(t,v,e),e},s=function(t){return c(t,v)?t[v]:{}},i=function(t){return c(t,v)}}t.exports={set:n,get:s,has:i,enforce:function(t){return i(t)?s(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=s(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return r}}}},328095(t,e,r){"use strict";var n=r(513581),s=r(547739),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||a[i]===t)}},73590(t,e,r){"use strict";var n=r(637562);t.exports=Array.isArray||function(t){return"Array"===n(t)}},973953(t,e,r){"use strict";var n=r(474141);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},553751(t){"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2998(t,e,r){"use strict";var n=r(972429),s=r(553751),i=/#|\.prototype\./,a=function(t,e){var r=u[o(t)];return r===c||r!==l&&(s(e)?n(e):!!e)},o=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},193019(t){"use strict";t.exports=function(t){return null==t}},40332(t,e,r){"use strict";var n=r(553751);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},396835(t,e,r){"use strict";var n=r(40332);t.exports=function(t){return n(t)||null===t}},696769(t){"use strict";t.exports=!1},828947(t,e,r){"use strict";var n=r(640789),s=r(553751),i=r(302307),a=r(826658),o=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,o(t))}},48653(t,e,r){"use strict";var n=r(569707);t.exports=function(t,e,r){for(var s,i,a=r?t:t.iterator,o=t.next;!(s=n(o,a)).done;)if(void 0!==(i=e(s.value)))return i}},963542(t,e,r){"use strict";var n=r(552302),s=r(569707),i=r(535697),a=r(403805),o=r(328095),u=r(400460),l=r(302307),c=r(158211),h=r(841325),f=r(83837),d=TypeError,p=function(t,e){this.stopped=t,this.result=e},m=p.prototype;t.exports=function(t,e,r){var y,g,v,w,b,x,S,T=r&&r.that,E=!!(r&&r.AS_ENTRIES),O=!!(r&&r.IS_RECORD),k=!!(r&&r.IS_ITERATOR),I=!!(r&&r.INTERRUPTED),A=n(e,T),N=function(t){return y&&f(y,"normal",t),new p(!0,t)},C=function(t){return E?(i(t),I?A(t[0],t[1],N):A(t[0],t[1])):I?A(t,N):A(t)};if(O)y=t.iterator;else if(k)y=t;else{if(!(g=h(t)))throw new d(a(t)+" is not iterable");if(o(g)){for(v=0,w=u(t);w>v;v++)if((b=C(t[v]))&&l(m,b))return b;return new p(!1)}y=c(t,g)}for(x=O?t.next:y.next;!(S=s(x,y)).done;){try{b=C(S.value)}catch(t){f(y,"throw",t)}if("object"==typeof b&&b&&l(m,b))return b}return new p(!1)}},83837(t,e,r){"use strict";var n=r(569707),s=r(535697),i=r(910184);t.exports=function(t,e,r){var a,o;s(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){o=!0,a=t}if("throw"===e)throw r;if(o)throw a;return s(a),r}},3640(t,e,r){"use strict";var n=r(569707),s=r(679222),i=r(527585),a=r(926749),o=r(513581),u=r(248103),l=r(910184),c=r(930463).IteratorPrototype,h=r(223643),f=r(83837),d=o("toStringTag"),p="IteratorHelper",m="WrapForValidIterator",y=u.set,g=function(t){var e=u.getterFor(t?m:p);return a(s(c),{next:function(){var r=e(this);if(t)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return h(n,r.done)}catch(t){throw r.done=!0,t}},return:function(){var r=e(this),s=r.iterator;if(r.done=!0,t){var i=l(s,"return");return i?n(i,s):h(void 0,!0)}if(r.inner)try{f(r.inner.iterator,"normal")}catch(t){return f(s,"throw",t)}return f(s,"normal"),h(void 0,!0)}})},v=g(!0),w=g(!1);i(w,d,"Iterator Helper"),t.exports=function(t,e){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=e?m:p,n.nextHandler=t,n.counter=0,n.done=!1,y(this,n)};return r.prototype=e?v:w,r}},746295(t,e,r){"use strict";var n=r(569707),s=r(939676),i=r(535697),a=r(369325),o=r(3640),u=r(141753),l=o(function(){var t=this.iterator,e=i(n(this.next,t));if(!(this.done=!!e.done))return u(t,this.mapper,[e.value,this.counter++],!0)});t.exports=function(t){return i(this),s(t),new l(a(this),{mapper:t})}},930463(t,e,r){"use strict";var n,s,i,a=r(972429),o=r(553751),u=r(40332),l=r(679222),c=r(79457),h=r(686838),f=r(513581),d=r(696769),p=f("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(s=c(c(i)))!==Object.prototype&&(n=s):m=!0),!u(n)||a(function(){var t={};return n[p].call(t)!==t})?n={}:d&&(n=l(n)),o(n[p])||h(n,p,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},547739(t){"use strict";t.exports={}},400460(t,e,r){"use strict";var n=r(918136);t.exports=function(t){return n(t.length)}},543101(t,e,r){"use strict";var n=r(214718),s=r(972429),i=r(553751),a=r(114311),o=r(106882),u=r(494996).CONFIGURABLE,l=r(235800),c=r(248103),h=c.enforce,f=c.get,d=String,p=Object.defineProperty,m=n("".slice),y=n("".replace),g=n([].join),v=o&&!s(function(){return 8!==p(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===m(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(o?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?o&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=h(t);return a(n,"source")||(n.source=g(w,"string"==typeof e?e:"")),t};Function.prototype.toString=b(function(){return i(this)&&f(this).source||l(this)},"toString")},788211(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},14053(t,e,r){"use strict";var n=r(151577);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},679222(t,e,r){"use strict";var n,s=r(535697),i=r(580163),a=r(116721),o=r(487719),u=r(975391),l=r(78245),c=r(336093),h="prototype",f="script",d=c("IE_PROTO"),p=function(){},m=function(t){return"<"+f+">"+t+"</"+f+">"},y=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){var t,e=l("iframe");return e.style.display="none",u.appendChild(e),e.src=String("java"+f+":"),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}v="u">typeof document?document.domain&&n?y(n):g():y(n);for(var t=a.length;t--;)delete v[h][a[t]];return v()};o[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p[h]=s(t),r=new p,p[h]=null,r[d]=t):r=v(),void 0===e?r:i.f(r,e)}},580163(t,e,r){"use strict";var n=r(106882),s=r(169980),i=r(452591),a=r(535697),o=r(119075),u=r(31238);e.f=n&&!s?Object.defineProperties:function(t,e){a(t);for(var r,n=o(e),s=u(e),l=s.length,c=0;l>c;)i.f(t,r=s[c++],n[r]);return t}},452591(t,e,r){"use strict";var n=r(106882),s=r(614107),i=r(169980),a=r(535697),o=r(604427),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=n?i?function(t,e,r){if(a(t),e=o(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=c(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=o(e),a(r),s)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},109101(t,e,r){"use strict";var n=r(106882),s=r(569707),i=r(715999),a=r(419286),o=r(119075),u=r(604427),l=r(114311),c=r(614107),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=o(t),e=u(e),c)try{return h(t,e)}catch(t){}if(l(t,e))return a(!s(i.f,t,e),t[e])}},33442(t,e,r){"use strict";var n=r(173690),s=r(116721).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,s)}},831415(t,e){"use strict";e.f=Object.getOwnPropertySymbols},79457(t,e,r){"use strict";var n=r(114311),s=r(553751),i=r(443151),a=r(336093),o=r(887717),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=o?l.getPrototypeOf:function(t){var e=i(t);if(n(e,u))return e[u];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},302307(t,e,r){"use strict";t.exports=r(214718)({}.isPrototypeOf)},173690(t,e,r){"use strict";var n=r(214718),s=r(114311),i=r(119075),a=r(446391).indexOf,o=r(487719),u=n([].push);t.exports=function(t,e){var r,n=i(t),l=0,c=[];for(r in n)!s(o,r)&&s(n,r)&&u(c,r);for(;e.length>l;)s(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},31238(t,e,r){"use strict";var n=r(173690),s=r(116721);t.exports=Object.keys||function(t){return n(t,s)}},715999(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!r.call({1:2},1)?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},280557(t,e,r){"use strict";var n=r(122444),s=r(40332),i=r(970284),a=r(428152);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),a(n),s(r)&&(e?t(r,n):r.__proto__=n),r}}():void 0)},482088(t,e,r){"use strict";var n=r(569707),s=r(553751),i=r(40332),a=TypeError;t.exports=function(t,e){var r,o;if("string"===e&&s(r=t.toString)&&!i(o=n(r,t))||s(r=t.valueOf)&&!i(o=n(r,t))||"string"!==e&&s(r=t.toString)&&!i(o=n(r,t)))return o;throw new a("Can't convert object to primitive value")}},755805(t,e,r){"use strict";var n=r(640789),s=r(214718),i=r(33442),a=r(831415),o=r(535697),u=s([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(o(t)),r=a.f;return r?u(e,r(t)):e}},988682(t,e,r){"use strict";var n=r(452591).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},970284(t,e,r){"use strict";var n=r(193019),s=TypeError;t.exports=function(t){if(n(t))throw new s("Can't call method on "+t);return t}},990564(t,e,r){"use strict";var n=r(62212),s=r(593107),i=n.Set,a=n.add;t.exports=function(t){var e=new i;return s(t,function(t){a(e,t)}),e}},132034(t,e,r){"use strict";var n=r(378930),s=r(62212),i=r(990564),a=r(300112),o=r(593687),u=r(593107),l=r(48653),c=s.has,h=s.remove;t.exports=function(t){var e=n(this),r=o(t),s=i(e);return a(e)<=r.size?u(e,function(t){r.includes(t)&&h(s,t)}):l(r.getIterator(),function(t){c(e,t)&&h(s,t)}),s}},62212(t,e,r){"use strict";var n=r(214718),s=Set.prototype;t.exports={Set:Set,add:n(s.add),has:n(s.has),remove:n(s.delete),proto:s}},77596(t,e,r){"use strict";var n=r(378930),s=r(62212),i=r(300112),a=r(593687),o=r(593107),u=r(48653),l=s.Set,c=s.add,h=s.has;t.exports=function(t){var e=n(this),r=a(t),s=new l;return i(e)>r.size?u(r.getIterator(),function(t){h(e,t)&&c(s,t)}):o(e,function(t){r.includes(t)&&c(s,t)}),s}},562855(t,e,r){"use strict";var n=r(378930),s=r(62212).has,i=r(300112),a=r(593687),o=r(593107),u=r(48653),l=r(83837);t.exports=function(t){var e=n(this),r=a(t);if(i(e)<=r.size)return!1!==o(e,function(t){if(r.includes(t))return!1},!0);var c=r.getIterator();return!1!==u(c,function(t){if(s(e,t))return l(c,"normal",!1)})}},539500(t,e,r){"use strict";var n=r(378930),s=r(300112),i=r(593107),a=r(593687);t.exports=function(t){var e=n(this),r=a(t);return!(s(e)>r.size)&&!1!==i(e,function(t){if(!r.includes(t))return!1},!0)}},945053(t,e,r){"use strict";var n=r(378930),s=r(62212).has,i=r(300112),a=r(593687),o=r(48653),u=r(83837);t.exports=function(t){var e=n(this),r=a(t);if(i(e)<r.size)return!1;var l=r.getIterator();return!1!==o(l,function(t){if(!s(e,t))return u(l,"normal",!1)})}},593107(t,e,r){"use strict";var n=r(214718),s=r(48653),i=r(62212),a=i.Set,o=i.proto,u=n(o.forEach),l=n(o.keys),c=l(new a).next;t.exports=function(t,e,r){return r?s({iterator:l(t),next:c},e):u(t,e)}},976062(t,e,r){"use strict";var n=r(640789),s=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=n("Set");try{new e()[t](s(0));try{return new e()[t](s(-1)),!1}catch(t){return!0}}catch(t){return!1}}},300112(t,e,r){"use strict";t.exports=r(122444)(r(62212).proto,"size","get")||function(t){return t.size}},995616(t,e,r){"use strict";var n=r(378930),s=r(62212),i=r(990564),a=r(593687),o=r(48653),u=s.add,l=s.has,c=s.remove;t.exports=function(t){var e=n(this),r=a(t).getIterator(),s=i(e);return o(r,function(t){l(e,t)?c(s,t):u(s,t)}),s}},739898(t,e,r){"use strict";var n=r(378930),s=r(62212).add,i=r(990564),a=r(593687),o=r(48653);t.exports=function(t){var e=n(this),r=a(t).getIterator(),u=i(e);return o(r,function(t){s(u,t)}),u}},336093(t,e,r){"use strict";var n=r(251683),s=r(649518),i=n("keys");t.exports=function(t){return i[t]||(i[t]=s(t))}},628403(t,e,r){"use strict";var n=r(696769),s=r(961550),i=r(677451),a="__core-js_shared__",o=t.exports=s[a]||i(a,{});(o.versions||(o.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},251683(t,e,r){"use strict";var n=r(628403);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},383778(t,e,r){"use strict";var n=r(961550),s=r(972429),i=r(385673),a=r(592837),o=n.structuredClone;t.exports=!!o&&!s(function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var t=new ArrayBuffer(8),e=o(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength})},301257(t,e,r){"use strict";var n=r(385673),s=r(972429),i=r(961550).String;t.exports=!!Object.getOwnPropertySymbols&&!s(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},541716(t,e,r){"use strict";var n=r(991473),s=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?s(r+e,0):i(r,e)}},334888(t,e,r){"use strict";var n=r(814023),s=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new s("Can't convert number to bigint");return BigInt(e)}},373522(t,e,r){"use strict";var n=r(991473),s=r(918136),i=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=s(e);if(e!==r)throw new i("Wrong length or index");return r}},119075(t,e,r){"use strict";var n=r(442701),s=r(970284);t.exports=function(t){return n(s(t))}},991473(t,e,r){"use strict";var n=r(788211);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},918136(t,e,r){"use strict";var n=r(991473),s=Math.min;t.exports=function(t){var e=n(t);return e>0?s(e,0x1fffffffffffff):0}},443151(t,e,r){"use strict";var n=r(970284),s=Object;t.exports=function(t){return s(n(t))}},62871(t,e,r){"use strict";var n=r(605952),s=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new s("Wrong offset");return r}},605952(t,e,r){"use strict";var n=r(991473),s=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new s("The argument can't be less than 0");return e}},814023(t,e,r){"use strict";var n=r(569707),s=r(40332),i=r(828947),a=r(910184),o=r(482088),u=r(513581),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),!s(r=n(u,t,e))||i(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},604427(t,e,r){"use strict";var n=r(814023),s=r(828947);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},573150(t,e,r){"use strict";var n=r(513581)("toStringTag"),s={};s[n]="z",t.exports="[object z]"===String(s)},151577(t,e,r){"use strict";var n=r(474141),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},403805(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},649518(t,e,r){"use strict";var n=r(214718),s=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++s+i,36)}},849094(t,e,r){"use strict";var n=r(972429),s=r(513581),i=r(106882),a=r(696769),o=s("iterator");t.exports=!n(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),r.delete("a",2),r.delete("b",void 0),a&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(a||!i)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},826658(t,e,r){"use strict";t.exports=r(301257)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},169980(t,e,r){"use strict";var n=r(106882),s=r(972429);t.exports=n&&s(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},951062(t){"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},910968(t,e,r){"use strict";var n=r(961550),s=r(553751),i=n.WeakMap;t.exports=s(i)&&/native code/.test(String(i))},513581(t,e,r){"use strict";var n=r(961550),s=r(251683),i=r(114311),a=r(649518),o=r(301257),u=r(826658),l=n.Symbol,c=s("wks"),h=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return i(c,t)||(c[t]=o&&i(l,t)?l[t]:h("Symbol."+t)),c[t]}},957755(t,e,r){"use strict";var n=r(640789),s=r(114311),i=r(527585),a=r(302307),o=r(280557),u=r(550434),l=r(988682),c=r(180001),h=r(14053),f=r(605110),d=r(368061),p=r(106882),m=r(696769);t.exports=function(t,e,r,y){var g="stackTraceLimit",v=y?2:1,w=t.split("."),b=w[w.length-1],x=n.apply(null,w);if(x){var S=x.prototype;if(!m&&s(S,"cause")&&delete S.cause,!r)return x;var T=n("Error"),E=e(function(t,e){var r=h(y?e:t,void 0),n=y?new x(t):new x;return void 0!==r&&i(n,"message",r),d(n,E,n.stack,2),this&&a(S,this)&&c(n,this,E),arguments.length>v&&f(n,arguments[v]),n});if(E.prototype=S,"Error"!==b?o?o(E,T):u(E,T,{name:!0}):p&&g in x&&(l(E,x,g),l(E,x,"prepareStackTrace")),u(E,x),!m)try{S.name!==b&&i(S,"name",b),S.constructor=E}catch(t){}return E}}},244767(t,e,r){"use strict";var n=r(106882),s=r(570964),i=r(253032),a=ArrayBuffer.prototype;!n||"detached"in a||s(a,"detached",{configurable:!0,get:function(){return i(this)}})},718602(t,e,r){"use strict";var n=r(294968),s=r(899478);s&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return s(this,arguments.length?arguments[0]:void 0,!1)}})},479534(t,e,r){"use strict";var n=r(294968),s=r(899478);s&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return s(this,arguments.length?arguments[0]:void 0,!0)}})},953925(t,e,r){"use strict";var n=r(294968),s=r(443151),i=r(400460),a=r(991473),o=r(17211);n({target:"Array",proto:!0},{at:function(t){var e=s(this),r=i(e),n=a(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]}}),o("at")},435368(t,e,r){"use strict";var n=r(294968),s=r(443151),i=r(400460),a=r(36061),o=r(936439);n({target:"Array",proto:!0,arity:1,forced:r(972429)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=s(this),r=i(e),n=arguments.length;o(r+n);for(var u=0;u<n;u++)e[r]=arguments[u],r++;return a(e,r),r}})},533958(t,e,r){"use strict";var n=r(294968),s=r(961550),i=r(709559),a=r(957755),o="WebAssembly",u=s[o],l=7!==Error("e",{cause:7}).cause,c=function(t,e){var r={};r[t]=a(t,e,l),n({global:!0,constructor:!0,arity:1,forced:l},r)},h=function(t,e){if(u&&u[t]){var r={};r[t]=a(o+"."+t,e,l),n({target:o,stat:!0,constructor:!0,arity:1,forced:l},r)}};c("Error",function(t){return function(e){return i(t,this,arguments)}}),c("EvalError",function(t){return function(e){return i(t,this,arguments)}}),c("RangeError",function(t){return function(e){return i(t,this,arguments)}}),c("ReferenceError",function(t){return function(e){return i(t,this,arguments)}}),c("SyntaxError",function(t){return function(e){return i(t,this,arguments)}}),c("TypeError",function(t){return function(e){return i(t,this,arguments)}}),c("URIError",function(t){return function(e){return i(t,this,arguments)}}),h("CompileError",function(t){return function(e){return i(t,this,arguments)}}),h("LinkError",function(t){return function(e){return i(t,this,arguments)}}),h("RuntimeError",function(t){return function(e){return i(t,this,arguments)}})},71749(t,e,r){"use strict";r(294968)({target:"Object",stat:!0},{hasOwn:r(114311)})},499468(t,e,r){"use strict";var n=r(294968),s=r(132034);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("difference")},{difference:s})},586042(t,e,r){"use strict";var n=r(294968),s=r(972429),i=r(77596);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("intersection")||s(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:i})},169187(t,e,r){"use strict";var n=r(294968),s=r(562855);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("isDisjointFrom")},{isDisjointFrom:s})},726090(t,e,r){"use strict";var n=r(294968),s=r(539500);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("isSubsetOf")},{isSubsetOf:s})},132457(t,e,r){"use strict";var n=r(294968),s=r(945053);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("isSupersetOf")},{isSupersetOf:s})},219390(t,e,r){"use strict";var n=r(294968),s=r(995616);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("symmetricDifference")},{symmetricDifference:s})},73168(t,e,r){"use strict";var n=r(294968),s=r(739898);n({target:"Set",proto:!0,real:!0,forced:!r(976062)("union")},{union:s})},540679(t,e,r){"use strict";var n=r(294968),s=r(214718),i=r(970284),a=r(991473),o=r(151577),u=r(972429),l=s("".charAt);n({target:"String",proto:!0,forced:u(function(){return"\uD842"!=="𠮷".at(-2)})},{at:function(t){var e=o(i(this)),r=e.length,n=a(t),s=n>=0?n:r+n;return s<0||s>=r?void 0:l(e,s)}})},430278(t,e,r){"use strict";var n=r(471274),s=r(400460),i=r(991473),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(t){var e=a(this),r=s(e),n=i(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]})},953716(t,e,r){"use strict";var n=r(471274),s=r(140273).findLastIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(t){return s(i(this),t,arguments.length>1?arguments[1]:void 0)})},452929(t,e,r){"use strict";var n=r(471274),s=r(140273).findLast,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(t){return s(i(this),t,arguments.length>1?arguments[1]:void 0)})},946415(t,e,r){"use strict";
1var n=r(961550),s=r(569707),i=r(471274),a=r(400460),o=r(62871),u=r(443151),l=r(972429),c=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,p=i.aTypedArray,m=i.exportTypedArrayMethod,y=!l(function(){var t=new Uint8ClampedArray(2);return s(d,t,{length:1,0:3},1),3!==t[1]}),g=y&&i.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]});m("set",function(t){p(this);var e=o(arguments.length>1?arguments[1]:void 0,1),r=u(t);if(y)return s(d,this,r,e);var n=this.length,i=a(r),l=0;if(i+e>n)throw new c("Wrong length");for(;l<i;)this[e+l]=r[l++]},!y||g)},972733(t,e,r){"use strict";var n=r(712014),s=r(471274),i=s.aTypedArray,a=s.exportTypedArrayMethod,o=s.getTypedArrayConstructor;a("toReversed",function(){return n(i(this),o(this))})},417290(t,e,r){"use strict";var n=r(471274),s=r(214718),i=r(939676),a=r(844412),o=n.aTypedArray,u=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,c=s(n.TypedArrayPrototype.sort);l("toSorted",function(t){void 0!==t&&i(t);var e=o(this);return c(a(u(e),e),t)})},890015(t,e,r){"use strict";var n=r(461990),s=r(471274),i=r(973953),a=r(991473),o=r(334888),u=s.aTypedArray,l=s.getTypedArrayConstructor;(0,s.exportTypedArrayMethod)("with",{with:function(t,e){var r=u(this),s=a(t),c=i(r)?o(e):+e;return n(r,l(r),s,c)}}.with,!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}())},730330(t,e,r){"use strict";var n=r(294968),s=r(961550),i=r(572121),a=r(535697),o=r(553751),u=r(79457),l=r(570964),c=r(431178),h=r(972429),f=r(114311),d=r(513581),p=r(930463).IteratorPrototype,m=r(106882),y=r(696769),g="constructor",v="Iterator",w=d("toStringTag"),b=TypeError,x=s[v],S=y||!o(x)||x.prototype!==p||!h(function(){x({})}),T=function(){if(i(this,p),u(this)===p)throw new b("Abstract class Iterator not directly constructable")},E=function(t,e){m?l(p,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===p)throw new b("You can't redefine this property");f(this,t)?this[t]=e:c(this,t,e)}}):p[t]=e};f(p,w)||E(w,v),(S||!f(p,g)||p[g]===Object)&&E(g,T),T.prototype=p,n({global:!0,constructor:!0,forced:S},{Iterator:T})},321577(t,e,r){"use strict";var n=r(294968),s=r(963542),i=r(939676),a=r(535697),o=r(369325);n({target:"Iterator",proto:!0,real:!0},{every:function(t){a(this),i(t);var e=o(this),r=0;return!s(e,function(e,n){if(!t(e,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},976614(t,e,r){"use strict";var n=r(294968),s=r(569707),i=r(939676),a=r(535697),o=r(369325),u=r(3640),l=r(141753),c=r(696769),h=u(function(){for(var t,e,r=this.iterator,n=this.predicate,i=this.next;;){if(t=a(s(i,r)),this.done=!!t.done)return;if(l(r,n,[e=t.value,this.counter++],!0))return e}});n({target:"Iterator",proto:!0,real:!0,forced:c},{filter:function(t){return a(this),i(t),new h(o(this),{predicate:t})}})},139583(t,e,r){"use strict";var n=r(294968),s=r(963542),i=r(939676),a=r(535697),o=r(369325);n({target:"Iterator",proto:!0,real:!0},{find:function(t){a(this),i(t);var e=o(this),r=0;return s(e,function(e,n){if(t(e,r++))return n(e)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},974864(t,e,r){"use strict";var n=r(294968),s=r(569707),i=r(939676),a=r(535697),o=r(369325),u=r(661924),l=r(3640),c=r(83837),h=r(696769),f=l(function(){for(var t,e,r=this.iterator,n=this.mapper;;){if(e=this.inner)try{if(!(t=a(s(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){c(r,"throw",t)}if(t=a(s(this.next,r)),this.done=!!t.done)return;try{this.inner=u(n(t.value,this.counter++),!1)}catch(t){c(r,"throw",t)}}});n({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(t){return a(this),i(t),new f(o(this),{mapper:t,inner:null})}})},218043(t,e,r){"use strict";var n=r(294968),s=r(963542),i=r(939676),a=r(535697),o=r(369325);n({target:"Iterator",proto:!0,real:!0},{forEach:function(t){a(this),i(t);var e=o(this),r=0;s(e,function(e){t(e,r++)},{IS_RECORD:!0})}})},159952(t,e,r){"use strict";var n=r(294968),s=r(746295);n({target:"Iterator",proto:!0,real:!0,forced:r(696769)},{map:s})},1310(t,e,r){"use strict";var n=r(294968),s=r(963542),i=r(939676),a=r(535697),o=r(369325),u=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(t){a(this),i(t);var e=o(this),r=arguments.length<2,n=r?void 0:arguments[1],l=0;if(s(e,function(e){r?(r=!1,n=e):n=t(n,e,l),l++},{IS_RECORD:!0}),r)throw new u("Reduce of empty iterator with no initial value");return n}})},765324(t,e,r){"use strict";var n=r(294968),s=r(963542),i=r(939676),a=r(535697),o=r(369325);n({target:"Iterator",proto:!0,real:!0},{some:function(t){a(this),i(t);var e=o(this),r=0;return s(e,function(e,n){if(t(e,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},889589(t,e,r){"use strict";var n=r(294968),s=r(961550),i=r(640789),a=r(419286),o=r(452591).f,u=r(114311),l=r(572121),c=r(180001),h=r(14053),f=r(115968),d=r
vendor: 2,377 bytes, line 1
1(256171),p=r(106882),m=r(696769),y="DOMException",g=i("Error"),v=i(y),w=function(){l(this,b);var t=arguments.length,e=h(t<1?void 0:arguments[0]),r=h(t<2?void 0:arguments[1],"Error"),n=new v(e,r),s=new g(e);return s.name=y,o(n,"stack",a(1,d(s.stack,1))),c(n,this,w),n},b=w.prototype=v.prototype,x="stack"in new g(y),S="stack"in new v(1,2),T=v&&p&&Object.getOwnPropertyDescriptor(s,y),E=!!T&&!(T.writable&&T.configurable),O=x&&!E&&!S;n({global:!0,constructor:!0,forced:m||O},{DOMException:O?w:v});var k=i(y),I=k.prototype;if(I.constructor!==k){for(var A in m||o(I,"constructor",a(1,k)),f)if(u(f,A)){var N=f[A],C=N.s;u(k,C)||o(k,C,a(6,N.c))}}},508945(t,e,r){"use strict";var n=r(294968),s=r(961550),i=r(570964),a=r(106882),o=TypeError,u=Object.defineProperty,l=s.self!==s;try{if(a){var c=Object.getOwnPropertyDescriptor(s,"self");!l&&c&&c.get&&c.enumerable||i(s,"self",{get:function(){return s},set:function(t){if(this!==s)throw new o("Illegal invocation");u(s,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:l},{self:s})}catch(t){}},176765(t,e,r){"use strict";var n=r(686838),s=r(214718),i=r(151577),a=r(951062),o=URLSearchParams,u=o.prototype,l=s(u.append),c=s(u.delete),h=s(u.forEach),f=s([].push),d=new o("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&n(u,"delete",function(t){var e,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,t);var s=[];h(this,function(t,e){f(s,{key:e,value:t})}),a(r,1);for(var o=i(t),u=i(n),d=0,p=0,m=!1,y=s.length;d<y;)e=s[d++],m||e.key===o?(m=!0,c(this,e.key)):p++;for(;p<y;)((e=s[p++]).key!==o||e.value!==u)&&l(this,e.key,e.value)},{enumerable:!0,unsafe:!0})},851344(t,e,r){"use strict";var n=r(686838),s=r(214718),i=r(151577),a=r(951062),o=URLSearchParams,u=o.prototype,l=s(u.getAll),c=s(u.has),h=new o("a=1");(h.has("a",2)||!h.has("a",void 0))&&n(u,"has",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return c(this,t);var n=l(this,t);a(e,1);for(var s=i(r),o=0;o<n.length;)if(n[o++]===s)return!0;return!1},{enumerable:!0,unsafe:!0})},866491(t,e,r){"use strict";var n=r(106882),s=r(214718),i=r(570964),a=URLSearchParams.prototype,o=s(a.forEach);!n||"size"in a||i(a,"size",{get:function(){var t=0;return o(this,function(){t++}),t},configurable:!0,enumerable:!0})},453056(t,e,r){"use strict";
1var n=r(294968),s=r(640789),i=r(972429),a=r(951062),o=r(151577),u=r(849094),l=s("URL"),c=u&&i(function(){l.canParse()}),h=i(function(){return 1!==l.canParse.length});n({target:"URL",stat:!0,forced:!c||h},{canParse:function(t){var e=a(arguments.length,1),r=o(t),n=e<2||void 0===arguments[1]?void 0:o(arguments[1]);try{return new l(r,n),!0}catch(t){return!1}}})}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";var t;let e;r(533958),r(435368),r(499468),r(586042),r(169187),r(726090),r(132457),r(219390),r(73168),r(730330),r(976614),r(159952),r(765324),r(508945),r(176765),r(851344),r(866491),r(321577),r(974864),r(218043),r(1310),r(139583);let n=Object.fromEntries,s=Object.keys,i=Object.entries;function a(t,e){return t.includes(e)}Symbol("deprecated api name"),Symbol("abstracted api name"),Symbol("info message"),Symbol("warning message"),Symbol("ID path");let o={success:t=>({value:t}),fail:t=>({error:t}),void:()=>({value:void 0}),isSuccess:t=>!("error"in t),isFail:t=>"error"in t,unwrap(t){if(!o.isFail(t))return t.value;throw t.error},unwrapOr:(t,e)=>o.isFail(t)?e:t.value,reduce(t,e){let r={value:t[0]};for(let n=1;n<t.length;n++){let s=t[n];if(o.isFail(r))break;r=e(r.value,s)}return r},match:(t,e)=>o.isSuccess(t)?e.onSuccess(t.value):e.onFail(t.error),mapSuccess:(t,e)=>o.isSuccess(t)?{value:e(t.value)}:{error:t.error},map(t,e){let r=[];for(let n of t){let t=e(n);if(o.isFail(t))return t;r.push(t.value)}return{value:r}},partition(t){let e=[],r=[];for(let n of t)o.isSuccess(n)?e.push(n.value):r.push(n.error);return{successes:e,errors:r}},toOutcomeString:t=>o.isSuccess(t)?"success":"error",try:function(t){try{let e=t();if(function(t){switch(typeof t){case"undefined":case"string":case"bigint":case"symbol":case"boolean":break;case"function":case"object":return!!(t&&"then"in t&&"function"==typeof t.then)}return!1}(e))return Promise.resolve(e.then(t=>({value:t}),t=>({error:t})));return{value:e}}catch(t){return{error:t}}}};function u(t,e){let r="string"==typeof e?()=>e:e;return{describe:e=>({_description:e,validator:t,toString:r}),_description:void 0,validator:t,toString:r}}function l(t,e,r){let n=t.validator;return u(t=>n(t)||e(t),r??t.toString)}class c{failures=new Set;subtree=new Map}function h(t){let e,r;try{e=JSON.stringify(t)}catch(t){r=t}try{e??=String(t)}catch(t){r=t}r&&void 0===e?e=`error creating string representation: ${r}`:e??="(unknown)";let n=e.slice(0,55),s=n.length<e.length?"...":"",i=n.replace(/`/g,"\\`");return`\`${i}${s}\``}function f(t,e){return t.length===e.length&&t.every((t,r)=>t===e[r])}let d=function(...t){return e=>!1===e?null:[{claim:function(t,...e){let r=[];for(let n in t)if(r.push(t[n]),n in e){let t=e[n];r.push(h(t))}return r.join("")}(...t),path:[]}]},p=function(t,e){if(0===t.length)throw Error("No types provided.");let r=[];for(let n of t){let t=n.validator(e);if(!t)return null;r.push(t)}let n=function(t){let e=new Set;for(let n of t)for(let{path:s}of n){var r;if(!f(s,["type"]))continue;let n=t.flatMap((t,e)=>t.some(t=>f(t.path,s))?[e]:[]);if(n.length!==t.length-1)continue;let i=t.findIndex((t,e)=>!n.includes(e));null!=(r=t[i])&&r.some(t=>t.path.length<s.length)||e.add(i)}return 1===e.size?e.values().next().value:void 0}(r);return void 0===n?r.flat():r[n]},m=function(t,e,r){let n=t.validator(r[e]);return n&&(n=n.map(({path:t,...r})=>({...r,path:[e,...t]}))),n},y=function(t,e){for(let r of t.keys()){let n=e(t[r],r,t);if(n)return n}return null};function g(t,e,r){let n=void 0===r?`${t}/${e??""}`:`${t}/${e??""}/${r}`;return`notion-sw;desc="${n}"`}let v="clientExperimental",w={webapp:"disabled",marketing:"routing-only",desktop:"disabled",marketplace:"disabled"},b={"en-US":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"ko-KR":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"}
1,"ja-JP":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"fr-FR":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"de-DE":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"es-ES":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"es-LA":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"pt-BR":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"fi-FI":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"da-DK":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"nl-NL":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"nb-NO":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"sv-SE":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"zh-CN":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"zh-TW":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"en-GB":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"display-only"},"id-ID":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"vi-VN":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"th-TH":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},"he-IL":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"ar-SA":{webapp:"beta",marketing:"beta",desktop:"beta",marketplace:"beta"},"it-IT":{webapp:"ga",marketing:"ga",desktop:"ga",marketplace:"ga"},pseudo:{webapp:"development",marketing:"development",desktop:"development",marketplace:"disabled"}},x=["es","fr","pt","ko","ja","de","vi","id","th","fi","da","nl","nb","sv","he","ar","it"],S=n(x.map(t=>[t,w]));({...b,...S});let T=["ga","beta"],E=["ga","beta","development"];function O(t,e){return i(b).filter(r=>{let[,n]=r;return e.some(e=>n[t]===e)}).map(([t])=>t)}let k=O("webapp",E);O("webapp",E),O("webapp",T),O("marketing",T),O("marketing",["development"]),n(O("marketing",E).map(function(t){return[t.split("-").join(""),`/${t.toLocaleLowerCase()}`]}));let I=["en","ko","ja","fr","de","es","pt","fi","da","nl","nb","sv","zh","id","vi","th","he","ar","it"],A=[],N={de:"de-DE",ko:"ko-KR",en:"en-US",es:"es-LA",fr:"fr-FR",ja:"ja-JP",pt:"pt-BR",fi:"fi-FI",da:"da-DK",nl:"nl-NL",nb:"nb-NO",sv:"sv-SE",zh:"zh-CN",id:"id-ID",vi:"vi-VN",th:"th-TH",he:"he-IL",ar:"ar-SA",it:"it-IT"},C={de:"de-DE",ko:"ko-KR",en:"en-US",es:"es-LA",fr:"fr-FR",ja:"ja-JP",pt:"pt-BR",zh:"zh-CN",da:"da-DK",fi:"fi-FI",nl:"nl-NL",nb:"nb-NO",sv:"sv-SE",id:"id-ID",vi:"vi-VN",th:"th-TH",he:"he-IL",ar:"ar-SA",it:"it-IT"},R=[...["en-US","es-ES","zh-CN","zh-TW","en-GB"].filter(t=>T.some(e=>b[t].marketing===e)).map(t=>[t,t]),...x.filter(t=>T.some(e=>b[N[t]].marketing===e)).map(t=>[t,N[t]])];R.map(([t])=>t),n(R),n(R.map(([t,e])=>[e,t])),k.map(function(t){return"es-LA"===t?"es-419":"pseudo"===t?"yav":t}),r(71749);class D extends Error{}class M extends D{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class F extends D{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class L extends D{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class j extends D{}class _ extends D{constructor(t){super(`Invalid unit ${t}`)}}class $ extends D{}class V extends D{constructor(){super("Zone is an abstract class")}}function P(t){return void 0===t}function U(t){return"number"==typeof t}function q(t){return"number"==typeof t&&t%1==0}function z(){try{return"u">typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function H(t,e,r){if(0!==t.length)return t.reduce((t,n)=>{let s=[e(n),n];return t&&r(t[0],s[0])===t[0]?t:s},null)[1]}function W(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Z(t,e,r){return q(t)&&t>=e&&t<=r}function B(t,e=2){return t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0")}function J(t){if(!P(t)&&null!==t&&""!==t)return parseInt(t,10)}function G(t){if(!P(t)&&null!==t&&""!==t)return parseFloat(t)}function Y(t){if(!P(t)&&null!==t&&""!==t)return Math.floor(1e3*parseFloat("0."+t))}function K(t,e,r=!1){let n=10**e;return(r?Math.trunc:Math.round)(t*n)/n}function Q(t){return t%4==0&&(t%100!=0||t%400==0)}function X(t){return Q(t)?366:365}function tt(t,e){var r;let n=(r=e-1)-12*Math.floor(r/12)+1;return 2===n?Q(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function te(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function tr(t){let e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,r=t-1,n=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return 4===e||3===n?53:52}function tn(t){return t>99?t:t>60?1900+t:2e3+t}function ts(t,e,r,n=null){let s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(i.timeZone=n);let a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(r,a).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return o?o.value:null}function ti(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-n:n;return 60*r+s}function ta(t){let e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new $(`Invalid unit value ${t}`);return e}function to(t,e){let r={};for(let n in t)if(W(t,n)){let s=t[n];if(null==s)continue;r[e(n)]=ta(s)}return r}function tu(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${B(r,2)}:${B(n,2)}`;case"narrow":return`${s}${r}${n>0?`:${n}`:""}`;case"techie":return`${s}${B(r,2)}${B(n,2)}`;default:throw RangeError(`Value format ${e} is out of range for property format`)}}function tl(t){return["hour","minute","second","millisecond"].reduce((e,r)=>(e[r]=t[r],e),{})}let tc=/[A-Za-z_+-]{1,256}
1(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,th=["January","February","March","April","May","June","July","August","September","October","November","December"],tf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],td=["J","F","M","A","M","J","J","A","S","O","N","D"];function tp(t){switch(t){case"narrow":return[...td];case"short":return[...tf];case"long":return[...th];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let tm=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ty=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tg=["M","T","W","T","F","S","S"];function tv(t){switch(t){case"narrow":return[...tg];case"short":return[...ty];case"long":return[...tm];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let tw=["AM","PM"],tb=["Before Christ","Anno Domini"],tx=["BC","AD"],tS=["B","A"];function tT(t){switch(t){case"narrow":return[...tS];case"short":return[...tx];case"long":return[...tb];default:return null}}let tE="numeric",tO="short",tk="long",tI={year:tE,month:tE,day:tE},tA={year:tE,month:tO,day:tE},tN={year:tE,month:tO,day:tE,weekday:tO},tC={year:tE,month:tk,day:tE},tR={year:tE,month:tk,day:tE,weekday:tk},tD={hour:tE,minute:tE},tM={hour:tE,minute:tE,second:tE},tF={hour:tE,minute:tE,second:tE,timeZoneName:tO},tL={hour:tE,minute:tE,second:tE,timeZoneName:tk},tj={hour:tE,minute:tE,hourCycle:"h23"},t_={hour:tE,minute:tE,second:tE,hourCycle:"h23"},t$={hour:tE,minute:tE,second:tE,hourCycle:"h23",timeZoneName:tO},tV={hour:tE,minute:tE,second:tE,hourCycle:"h23",timeZoneName:tk},tP={year:tE,month:tE,day:tE,hour:tE,minute:tE},tU={year:tE,month:tE,day:tE,hour:tE,minute:tE,second:tE},tq={year:tE,month:tO,day:tE,hour:tE,minute:tE},tz={year:tE,month:tO,day:tE,hour:tE,minute:tE,second:tE},tH={year:tE,month:tO,day:tE,weekday:tO,hour:tE,minute:tE},tW={year:tE,month:tk,day:tE,hour:tE,minute:tE,timeZoneName:tO},tZ={year:tE,month:tk,day:tE,hour:tE,minute:tE,second:tE,timeZoneName:tO},tB={year:tE,month:tk,day:tE,weekday:tk,hour:tE,minute:tE,timeZoneName:tk},tJ={year:tE,month:tk,day:tE,weekday:tk,hour:tE,minute:tE,second:tE,timeZoneName:tk};function tG(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}let tY={D:tI,DD:tA,DDD:tC,DDDD:tR,t:tD,tt:tM,ttt:tF,tttt:tL,T:tj,TT:t_,TTT:t$,TTTT:tV,f:tP,ff:tq,fff:tW,ffff:tB,F:tU,FF:tz,FFF:tZ,FFFF:tJ};class tK{static create(t,e={}){return new tK(t,e)}static parseFormat(t){let e=null,r="",n=!1,s=[];for(let i=0;i<t.length;i++){let a=t.charAt(i);"'"===a?(r.length>0&&s.push({literal:n,val:r}),e=null,r="",n=!n):n||a===e?r+=a:(r.length>0&&s.push({literal:!1,val:r}),r=a,e=a)}return r.length>0&&s.push({literal:n,val:r}),s}static macroTokenToFormatOpts(t){return tY[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}formatDateTime(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).format()}formatDateTimeParts(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).formatToParts()}resolvedOptions(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return B(t,e);let r={...this.opts};return e>0&&(r.padTo=e),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,e){let r="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,r)=>this.loc.extract(t,e,r),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",a=(e,n)=>r?tp(e)[t.month-1]:s(n?{month:e}:{month:e,day:"numeric"},"month"),o=(e,n)=>r?tv(e)[t.weekday-1]:s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{let r=tK.macroTokenToFormatOpts(e);return r?this.formatWithSystemDefault(t,r):e},l=e=>r?tT(e)[t.year<0?0:1]:s({era:e},"era"),c=e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return r?tw[t.hour<12?0:1]:s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);
1case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}};return tG(tK.parseFormat(e),c)}formatDurationFromString(t,e){let r=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=t=>e=>{let n=r(e);return n?this.num(t.get(n),e.length):e},s=tK.parseFormat(e),i=s.reduce((t,{literal:e,val:r})=>e?t:t.concat(r),[]);return tG(s,n(t.shiftTo(...i.map(r).filter(t=>t))))}}class tQ{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}class tX{get type(){throw new V}get name(){throw new V}get ianaName(){return this.name}get isUniversal(){throw new V}offsetName(t,e){throw new V}formatOffset(t,e){throw new V}offset(t){throw new V}equals(t){throw new V}get isValid(){throw new V}}let t0=null;class t1 extends tX{static get instance(){return null===t0&&(t0=new t1),t0}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:r}){return ts(t,e,r)}formatOffset(t,e){return tu(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let t2={};function t3(t){return t2[t]||(t2[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),t2[t]}let t5={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function t9(t,e){let r=t.format(e).replace(/\u200E/g,""),[,n,s,i,a,o,u,l]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[+i,+n,+s,a,+o,+u,+l]}let t6={};class t4 extends tX{static create(t){return t6[t]||(t6[t]=new t4(t)),t6[t]}static resetCache(){t6={},t2={},e=void 0}static getDtf(t){return t3(t)}static hackyOffsetParsesCorrectly(){if(void 0===e){let t=t3("UTC");try{let[r,n,s,i,a,o,u]=t9(t,new Date(Date.UTC(1969,11,31,15,45,55)));e=1969===r&&12===n&&31===s&&"AD"===i&&15===a&&45===o&&55===u}catch{e=!1}}return e}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=t4.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:r}){return ts(t,e,r,this.name)}formatOffset(t,e){return tu(this.offset(t),e)}offset(t){let e=new Date(t);if(isNaN(e))return NaN;let[r,n,s,i,a,o,u]=function(t,e){if(t4.hackyOffsetParsesCorrectly())return t9(t,e);if(t.formatToParts)return function(t,e){let r=t.formatToParts(e),n=[];for(let t=0;t<r.length;t++){let{type:e,value:s}=r[t],i=t5[e];"era"===e?n[i]=s:P(i)||(n[i]=parseInt(s,10))}return n}(t,e);throw Error("Unable to compute time zone offset using Intl.DateTimeFormat")}(t3(this.name),e);"BC"===i&&(r=-Math.abs(r)+1);let l=te({year:r,month:n,day:s,hour:24===a?0:a,minute:o,second:u,millisecond:0}),c=+e,h=c%1e3;return(l-(c-=h>=0?h:1e3+h))/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let t7=null;class t8 extends tX{static get utcInstance(){return null===t7&&(t7=new t8(0)),t7}static instance(t){return 0===t?t8.utcInstance:new t8(t)}static parseSpecifier(t){if(t){let e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new t8(ti(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${tu(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${tu(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return tu(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class et extends tX{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ee(t,e){if(P(t)||null===t)return e;if(t instanceof tX)return t;if("string"==typeof t){let r=t.toLowerCase();return"default"===r?e:"local"===r||"system"===r?t1.instance:"utc"===r||"gmt"===r?t8.utcInstance:t8.parseSpecifier(r)||t4.create(t)}if(U(t))return t8.instance(t);if("object"==typeof t&&t.offset&&"number"==typeof t.offset)return t;else return new et(t)}let er=()=>Date.now(),en="system",es=null,ei=null,ea=null,eo;class eu{static get now(){return er}static set now(t){er=t}static set defaultZone(t){en=t}static get defaultZone(){return ee(en,t1.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return ei}static set defaultNumberingSystem(t){ei=t}
1static get defaultOutputCalendar(){return ea}static set defaultOutputCalendar(t){ea=t}static get throwOnInvalid(){return eo}static set throwOnInvalid(t){eo=t}static resetCaches(){ex.resetCache(),t4.resetCache()}}let el={},ec={};function eh(t,e={}){let r=JSON.stringify([t,e]),n=ec[r];return n||(n=new Intl.DateTimeFormat(t,e),ec[r]=n),n}let ef={},ed={},ep=null,em={};function ey(t){return em[t]||(em[t]=new Intl.DateTimeFormat(t).resolvedOptions()),em[t]}function eg(t,e,r,n,s){let i=t.listingMode(r);return"error"===i?null:"en"===i?n(e):s(e)}class ev{constructor(t,e,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:n,floor:s,...i}=r;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...r};r.padTo>0&&(e.minimumIntegerDigits=r.padTo),this.inf=function(t,e={}){let r=JSON.stringify([t,e]),n=ef[r];return n||(n=new Intl.NumberFormat(t,e),ef[r]=n),n}(t,e)}}format(t){if(!this.inf)return B(this.floor?Math.floor(t):K(t,3),this.padTo);{let e=this.floor?Math.floor(t):t;return this.inf.format(e)}}}class ew{constructor(t,e,r){let n;if(this.opts=r,t.zone.isUniversal){const e=-1*(t.offset/60),s=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&t4.create(s).valid?(n=s,this.dt=t):(n="UTC",r.timeZoneName?this.dt=t:this.dt=0===t.offset?t:r7.fromMillis(t.ts+60*t.offset*1e3))}else"system"===t.zone.type?this.dt=t:(this.dt=t,n=t.zone.name);const s={...this.opts};n&&(s.timeZone=n),this.dtf=eh(e,s)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class eb{constructor(t,e,r){this.opts={style:"long",...r},!e&&z()&&(this.rtf=function(t,e={}){let{base:r,...n}=e,s=JSON.stringify([t,n]),i=ed[s];return i||(i=new Intl.RelativeTimeFormat(t,e),ed[s]=i),i}(t,r))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,r="always",n=!1){let s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===r&&i){let r="days"===t;switch(e){case 1:return r?"tomorrow":`next ${s[t][0]}`;case -1:return r?"yesterday":`last ${s[t][0]}`;case 0:return r?"today":`this ${s[t][0]}`}}let a=Object.is(e,-0)||e<0,o=Math.abs(e),u=1===o,l=s[t],c=n?u?l[1]:l[2]||l[1]:u?s[t][0]:t;return a?`${o} ${c} ago`:`in ${o} ${c}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}class ex{static fromOpts(t){return ex.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,e,r,n=!1){let s=t||eu.defaultLocale;return new ex(s||(n?"en-US":ep||(ep=new Intl.DateTimeFormat().resolvedOptions().locale)),e||eu.defaultNumberingSystem,r||eu.defaultOutputCalendar,s)}static resetCache(){ep=null,ec={},ef={},ed={},em={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:r}={}){return ex.create(t,e,r)}constructor(t,e,r,n){const[s,i,a]=function(t){let e=t.indexOf("-u-");if(-1===e)return[t];{let r,n=t.substring(0,e);try{r=eh(t).resolvedOptions()}catch(t){r=eh(n).resolvedOptions()}let{numberingSystem:s,calendar:i}=r;return[n,s,i]}}(t);this.locale=s,this.numberingSystem=e||i||null,this.outputCalendar=r||a||null,this.intl=function(t,e,r){return(r||e)&&(t+="-u",r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=(!this.numberingSystem||"latn"===this.numberingSystem)&&("latn"===this.numberingSystem||!this.locale||this.locale.startsWith("en")||"latn"===ey(this.locale).numberingSystem)),this.fastNumbersCached}listingMode(){let t=this.isEnglish(),e=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ex.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1,r=!0){return eg(this,t,r,tp,()=>{let r=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){let e=[];for(let r=1;r<=12;r++){let n=r7.utc(2016,r,1);e.push(t(n))}return e}(t=>this.extract(t,r,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1,r=!0){return eg(this,t,r,tv,()=>{let r=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){let e=[];for(let r=1;r<=7;r++){let n=r7.utc(2016,11,13+r);e.push(t(n))}return e}(t=>this.extract(t,r,"weekday"))),this.weekdaysCache[n][t]})}meridiems(t=!0){return eg(this,void 0,t,()=>tw,()=>{if(!this.meridiemCache){let t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[r7.utc(2016,11,13,9),r7.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t,e=!0){return eg(this,t,e,tT,()=>{let e={era:t};return this.eraCache[t]||(this.eraCache[t]=[r7.utc(-40,1,1),r7.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]}
1)}extract(t,e,r){let n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===r);return n?n.value:null}numberFormatter(t={}){return new ev(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ew(t,this.intl,e)}relFormatter(t={}){return new eb(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){let r=JSON.stringify([t,e]),n=el[r];return n||(n=new Intl.ListFormat(t,e),el[r]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ey(this.intl).locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}function eS(...t){let e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function eT(...t){return e=>t.reduce(([t,r,n],s)=>{let[i,a,o]=s(e,n);return[{...t,...i},a||r,o]},[{},null,1]).slice(0,2)}function eE(t,...e){if(null==t)return[null,null];for(let[r,n]of e){let e=r.exec(t);if(e)return n(e)}return[null,null]}function eO(...t){return(e,r)=>{let n,s={};for(n=0;n<t.length;n++)s[t[n]]=J(e[r+n]);return[s,null,r+n]}}let ek=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,eI=`(?:${ek.source}?(?:\\[(${tc.source})\\])?)?`,eA=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,eN=RegExp(`${eA.source}${eI}`),eC=RegExp(`(?:T${eN.source})?`),eR=eO("weekYear","weekNumber","weekDay"),eD=eO("year","ordinal"),eM=RegExp(`${eA.source} ?(?:${ek.source}|(${tc.source}))?`),eF=RegExp(`(?: ${eM.source})?`);function eL(t,e,r){let n=t[e];return P(n)?r:J(n)}function ej(t,e){return[{hours:eL(t,e,0),minutes:eL(t,e+1,0),seconds:eL(t,e+2,0),milliseconds:Y(t[e+3])},null,e+4]}function e_(t,e){let r=!t[e]&&!t[e+1],n=ti(t[e+1],t[e+2]);return[{},r?null:t8.instance(n),e+3]}function e$(t,e){return[{},t[e]?t4.create(t[e]):null,e+1]}let eV=RegExp(`^T?${eA.source}$`),eP=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function eU(t){let[e,r,n,s,i,a,o,u,l]=t,c="-"===e[0],h=u&&"-"===u[0],f=(t,e=!1)=>void 0!==t&&(e||t&&c)?-t:t;return[{years:f(G(r)),months:f(G(n)),weeks:f(G(s)),days:f(G(i)),hours:f(G(a)),minutes:f(G(o)),seconds:f(G(u),"-0"===u),milliseconds:f(Y(l),h)}]}let eq={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ez(t,e,r,n,s,i,a){let o={year:2===e.length?tn(J(e)):J(e),month:tf.indexOf(r)+1,day:J(n),hour:J(s),minute:J(i)};return a&&(o.second=J(a)),t&&(o.weekday=t.length>3?tm.indexOf(t)+1:ty.indexOf(t)+1),o}let eH=/^(?:(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\d)(\d\d)))$/;function eW(t){let[,e,r,n,s,i,a,o,u,l,c,h]=t;return[ez(e,s,n,r,i,a,o),new t8(u?eq[u]:l?0:ti(c,h))]}let eZ=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,eB=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,eJ=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function eG(t){let[,e,r,n,s,i,a,o]=t;return[ez(e,s,n,r,i,a,o),t8.utcInstance]}function eY(t){let[,e,r,n,s,i,a,o]=t;return[ez(e,o,r,n,s,i,a),t8.utcInstance]}let eK=eS(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,eC),eQ=eS(/(\d{4})-?W(\d\d)(?:-?(\d))?/,eC),eX=eS(/(\d{4})-?(\d{3})/,eC),e0=eS(eN),e1=eT(function(t,e){return[{year:eL(t,e),month:eL(t,e+1,1),day:eL(t,e+2,1)},null,e+3]},ej,e_,e$),e2=eT(eR,ej,e_,e$),e3=eT(eD,ej,e_,e$),e5=eT(ej,e_,e$),e9=eT(ej),e6=eS(/(\d{4})-(\d\d)-(\d\d)/,eF),e4=eS(eM),e7=eT(ej,e_,e$),e8={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},rt={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...e8},re={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:0x1e18558,milliseconds:31556952e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:7889238,milliseconds:7889238e3},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...e8},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rn=rr.slice(0).reverse();function rs(t,e,r=!1){return new ra({values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy})}function ri(t,e,r,n,s){let i=t[s][r],a=e[r]/i,o=Math.sign(a)!==Math.sign(n[s])&&0!==n[s]&&1>=Math.abs(a)?a<0?Math.floor(a):Math.ceil(a):Math.trunc(a);n[s]+=o,e[r]-=o*i}class ra{constructor(t){const e="longterm"===t.conversionAccuracy;this.values=t.values,this.loc=t.loc||ex.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invali
1d||null,this.matrix=e?re:rt,this.isLuxonDuration=!0}static fromMillis(t,e){return ra.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new $(`Duration.fromObject: argument expected to be an object, got ${null===t?"null":typeof t}`);return new ra({values:to(t,ra.normalizeUnit),loc:ex.fromObject(e),conversionAccuracy:e.conversionAccuracy})}static fromDurationLike(t){if(U(t))return ra.fromMillis(t);if(ra.isDuration(t))return t;if("object"==typeof t)return ra.fromObject(t);throw new $(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){let[r]=eE(t,[eP,eU]);return r?ra.fromObject(r,e):ra.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){let[r]=eE(t,[eV,e9]);return r?ra.fromObject(r,e):ra.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new $("need to specify a reason the Duration is invalid");let r=t instanceof tQ?t:new tQ(t,e);if(!eu.throwOnInvalid)return new ra({invalid:r});throw new L(r)}static normalizeUnit(t){let e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new _(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){let r={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?tK.create(this.loc,r).formatDurationFromString(this,t):"Invalid Duration"}toHuman(t={}){let e=rr.map(e=>{let r=this.values[e];return P(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(r)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(t+=K(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;let e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};let r=this.shiftTo("hours","minutes","seconds","milliseconds"),n="basic"===t.format?"hhmm":"hh:mm";(!t.suppressSeconds||0!==r.seconds||0!==r.milliseconds)&&(n+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===r.milliseconds||(n+=".SSS"));let s=r.toFormat(n);return t.includePrefix&&(s="T"+s),s}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;let e=ra.fromDurationLike(t),r={};for(let t of rr)(W(e.values,t)||W(this.values,t))&&(r[t]=e.get(t)+this.get(t));return rs(this,{values:r},!0)}minus(t){if(!this.isValid)return this;let e=ra.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=ta(t(this.values[r],r));return rs(this,{values:e},!0)}get(t){return this[ra.normalizeUnit(t)]}set(t){return this.isValid?rs(this,{values:{...this.values,...to(t,ra.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:r}={}){let n={loc:this.loc.clone({locale:t,numberingSystem:e})};return r&&(n.conversionAccuracy=r),rs(this,n)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){var t;if(!this.isValid)return this;let e=this.toObject();return t=this.matrix,rn.reduce((r,n)=>P(e[n])?r:(r&&ri(t,e,r,e,n),n),null),rs(this,{values:e},!0)}shiftTo(...t){let e;if(!this.isValid||0===t.length)return this;t=t.map(t=>ra.normalizeUnit(t));let r={},n={},s=this.toObject();for(let i of rr)if(t.indexOf(i)>=0){e=i;let t=0;for(let e in n)t+=this.matrix[e][i]*n[e],n[e]=0;U(s[i])&&(t+=s[i]);let a=Math.trunc(t);for(let e in r[i]=a,n[i]=(1e3*t-1e3*a)/1e3,s)rr.indexOf(e)>rr.indexOf(i)&&ri(this.matrix,s,e,r,i)}else U(s[i])&&(n[i]=s[i]);for(let t in n)0!==n[t]&&(r[e]+=t===e?n[t]:n[t]/this.matrix[e][t]);return rs(this,{values:r},!0).normalize()}negate(){if(!this.isValid)return this;let t={};for(let e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return rs(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;for(let n of rr){var e,r;if(e=this.values[n],r=t.values[n],void 0===e||0===e?void 0!==r&&0!==r:e!==r)return!1}return!0}}let ro="Invalid Interval";class ru{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invali
1d||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new $("need to specify a reason the Interval is invalid");let r=t instanceof tQ?t:new tQ(t,e);if(!eu.throwOnInvalid)return new ru({invalid:r});throw new F(r)}static fromDateTimes(t,e){var r,n;let s=r8(t),i=r8(e),a=(r=s,n=i,r&&r.isValid?n&&n.isValid?n<r?ru.invalid("end before start",`The end of an interval must be after its start, but you had start=${r.toISO()} and end=${n.toISO()}`):null:ru.invalid("missing or invalid end"):ru.invalid("missing or invalid start"));return null==a?new ru({start:s,end:i}):a}static after(t,e){let r=ra.fromDurationLike(e),n=r8(t);return ru.fromDateTimes(n,n.plus(r))}static before(t,e){let r=ra.fromDurationLike(e),n=r8(t);return ru.fromDateTimes(n.minus(r),n)}static fromISO(t,e){let[r,n]=(t||"").split("/",2);if(r&&n){let t,s,i,a;try{s=(t=r7.fromISO(r,e)).isValid}catch(t){s=!1}try{a=(i=r7.fromISO(n,e)).isValid}catch(t){a=!1}if(s&&a)return ru.fromDateTimes(t,i);if(s){let r=ra.fromISO(n,e);if(r.isValid)return ru.after(t,r)}else if(a){let t=ra.fromISO(r,e);if(t.isValid)return ru.before(i,t)}}return ru.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;let e=this.start.startOf(t);return Math.floor(this.end.startOf(t).diff(e,t).get(t))+1}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?ru.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];let e=t.map(r8).filter(t=>this.contains(t)).sort(),r=[],{s:n}=this,s=0;for(;n<this.e;){let t=e[s]||this.e,i=+t>+this.e?this.e:t;r.push(ru.fromDateTimes(n,i)),n=i,s+=1}return r}splitBy(t){let e=ra.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let{s:r}=this,n=1,s,i=[];for(;r<this.e;){let t=this.start.plus(e.mapUnits(t=>t*n));s=+t>+this.e?this.e:t,i.push(ru.fromDateTimes(r,s)),r=s,n+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!!this.isValid&&!!t.isValid&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;let e=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return e>=r?null:ru.fromDateTimes(e,r)}union(t){if(!this.isValid)return this;let e=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return ru.fromDateTimes(e,r)}static merge(t){let[e,r]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],r)=>e?e.overlaps(r)||e.abutsStart(r)?[t,e.union(r)]:[t.concat([e]),r]:[t,r],[[],null]);return r&&e.push(r),e}static xor(t){let e=null,r=0,n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]);for(let t of Array.prototype.concat(...s).sort((t,e)=>t.time-e.time))1===(r+="s"===t.type?1:-1)?e=t.time:(e&&+e!=+t.time&&n.push(ru.fromDateTimes(e,t.time)),e=null);return ru.merge(n)}difference(...t){return ru.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ro}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:ro}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ro}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:ro}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:ro}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ra.invalid(this.invalidReason)}mapEndpoints(t){return ru.fromDateTimes(t(this.s),t(this.e))}}class rl{static hasDST(t=eu.defaultZone){let e=r7.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return t4.isValidZone(t)}static normalizeZone(t){return ee(t,eu.defaultZone)}static months(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||ex.create(e,r,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||ex.create(e,r,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||ex.create(e,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:n=null}={}){return(n||ex.create(e,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ex.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ex.create(e,null,"gregory").eras(t)}static features(){return{relative:z()}}}function rc(t,e){let r=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(ra.fromMillis(n).as("days"))}let rh={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",t
1ibt:"[༠-༩]",latn:"\\d"},rf={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rd=rh.hanidec.replace(/[\[|\]]/g,"").split(""),rp={};function rm({numberingSystem:t},e=""){let r=t||"latn";return rp[r]||(rp[r]={}),rp[r][e]||(rp[r][e]=RegExp(`${rh[r]}${e}`)),rp[r][e]}function ry(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(!isNaN(e))return e;e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(-1!==t[r].search(rh.hanidec))e+=rd.indexOf(t[r]);else for(let t in rf){let[r,s]=rf[t];n>=r&&n<=s&&(e+=n-r)}}return parseInt(e,10)}(t))}}let rg=String.fromCharCode(160),rv=`[ ${rg}]`,rw=RegExp(rv,"g");function rb(t){return t.replace(/\./g,"\\.?").replace(rw,rv)}function rx(t){return t.replace(/\./g,"").replace(rw," ").toLowerCase()}function rS(t,e){return null===t?null:{regex:RegExp(t.map(rb).join("|")),deser:([r])=>t.findIndex(t=>rx(r)===rx(t))+e}}function rT(t,e){return{regex:t,deser:([,t,e])=>ti(t,e),groups:e}}function rE(t){return{regex:t,deser:([t])=>t}}let rO={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},rk=null;class rI{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=function(t,e){return Array.prototype.concat(...t.map(t=>(function(t,e){if(t.literal)return t;let r=rN(tK.macroTokenToFormatOpts(t.val),e);return null==r||r.includes(void 0)?t:r})(t,e)))}(tK.parseFormat(e),t),this.units=this.tokens.map(e=>{let r,n,s,i,a,o,u,l,c,h,f,d,p;return r=rm(t),n=rm(t,"{2}"),s=rm(t,"{3}"),i=rm(t,"{4}"),a=rm(t,"{6}"),o=rm(t,"{1,2}"),u=rm(t,"{1,3}"),l=rm(t,"{1,6}"),c=rm(t,"{1,9}"),h=rm(t,"{2,4}"),f=rm(t,"{4,6}"),d=t=>({regex:RegExp(t.val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")),deser:([t])=>t,literal:!0}),(p=(p=>{if(e.literal)return d(p);switch(p.val){case"G":return rS(t.eras("short",!1),0);case"GG":return rS(t.eras("long",!1),0);case"y":return ry(l);case"yy":case"kk":return ry(h,tn);case"yyyy":case"kkkk":return ry(i);case"yyyyy":return ry(f);case"yyyyyy":return ry(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return ry(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return ry(n);case"MMM":return rS(t.months("short",!0,!1),1);case"MMMM":return rS(t.months("long",!0,!1),1);case"LLL":return rS(t.months("short",!1,!1),1);case"LLLL":return rS(t.months("long",!1,!1),1);case"o":case"S":return ry(u);case"ooo":case"SSS":return ry(s);case"u":return rE(c);case"uu":return rE(o);case"uuu":case"E":case"c":return ry(r);case"a":return rS(t.meridiems(),0);case"EEE":return rS(t.weekdays("short",!1,!1),1);case"EEEE":return rS(t.weekdays("long",!1,!1),1);case"ccc":return rS(t.weekdays("short",!0,!1),1);case"cccc":return rS(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return rT(RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return rT(RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return rE(/[a-z_+-/]{1,256}?/i);default:return d(p)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=e,p}),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){let e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(!this.isValid)return{input:t,tokens:this.tokens,invalidReason:this.invalidReason};{let e,r,[n,s]=function(t,e,r){let n=t.match(e);if(!n)return[n,{}];{let t={},e=1;for(let s in r)if(W(r,s)){let i=r[s],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(n.slice(e,e+a))),e+=a}return[n,t]}}(t,this.regex,this.handlers),[i,a,o]=s?(r=null,P(s.z)||(r=t4.create(s.z)),P(s.Z)||(r||(r=new t8(s.Z)),e=s.Z),P(s.q)||(s.M=(s.q-1)*3+1),P(s.h)||(s.h<12&&1===s.a?s.h+=12:12===s.h&&0===s.a&&(s.h=0)),0===s.G&&s.y&&(s.y=-s.y),P(s.u)||(s.S=Y(s.u)),[Object.keys(s).reduce((t,e)=>{let r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(e);return r&&(t[r]=s[e]),t},{}),r,e]):[null,null,void 0];if(W(s,"a")&&W(s,"H"))throw new j("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:s,result:i,zone:a,specificOffset:o}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invali
1dReason:null}}function rA(t,e,r){return new rI(t,r).explainFromTokens(e)}function rN(t,e){return t?tK.create(e,t).formatDateTimeParts((!rk&&(rk=r7.fromMillis(0x16a2e5618e3)),rk)).map(e=>(function(t,e){let{type:r,value:n}=t;if("literal"===r)return{literal:!0,val:n};let s=e[r],i=rO[r];if("object"==typeof i&&(i=i[s]),i)return{literal:!1,val:i}})(e,t)):null}let rC=[0,31,59,90,120,151,181,212,243,273,304,334],rR=[0,31,60,91,121,152,182,213,244,274,305,335];function rD(t,e){return new tQ("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function rM(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let s=n.getUTCDay();return 0===s?7:s}function rF(t,e){let r=Q(t)?rR:rC,n=r.findIndex(t=>t<e),s=e-r[n];return{month:n+1,day:s}}function rL(t){let{year:e,month:r,day:n}=t,s=n+(Q(e)?rR:rC)[r-1],i=rM(e,r,n),a=Math.floor((s-i+10)/7),o;return a<1?a=tr(o=e-1):a>tr(e)?(o=e+1,a=1):o=e,{weekYear:o,weekNumber:a,weekday:i,...tl(t)}}function rj(t){let{weekYear:e,weekNumber:r,weekday:n}=t,s=rM(e,1,4),i=X(e),a=7*r+n-s-3,o;a<1?a+=X(o=e-1):a>i?(o=e+1,a-=X(e)):o=e;let{month:u,day:l}=rF(o,a);return{year:o,month:u,day:l,...tl(t)}}function r_(t){let{year:e,month:r,day:n}=t,s=n+(Q(e)?rR:rC)[r-1];return{year:e,ordinal:s,...tl(t)}}function r$(t){let{year:e,ordinal:r}=t,{month:n,day:s}=rF(e,r);return{year:e,month:n,day:s,...tl(t)}}function rV(t){let e=q(t.year),r=Z(t.month,1,12),n=Z(t.day,1,tt(t.year,t.month));return e?r?!n&&rD("day",t.day):rD("month",t.month):rD("year",t.year)}function rP(t){let{hour:e,minute:r,second:n,millisecond:s}=t,i=Z(e,0,23)||24===e&&0===r&&0===n&&0===s,a=Z(r,0,59),o=Z(n,0,59),u=Z(s,0,999);return i?a?o?!u&&rD("millisecond",s):rD("second",n):rD("minute",r):rD("hour",e)}let rU="Invalid DateTime";function rq(t){return new tQ("unsupported zone",`the zone "${t.name}" is not supported`)}function rz(t){return null===t.weekData&&(t.weekData=rL(t.c)),t.weekData}function rH(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new r7({...r,...e,old:r})}function rW(t,e,r){let n=t-60*e*1e3,s=r.offset(n);if(e===s)return[n,e];n-=(s-e)*6e4;let i=r.offset(n);return s===i?[n,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function rZ(t,e){let r=new Date(t+=60*e*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function rB(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:n,month:s,day:Math.min(t.c.day,tt(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},a=ra.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),[o,u]=rW(te(i),r,t.zone);return 0!==a&&(o+=a,u=t.zone.offset(o)),{ts:o,o:u}}function rJ(t,e,r,n,s,i){let{setZone:a,zone:o}=r;if(!t||0===Object.keys(t).length)return r7.invalid(new tQ("unparsable",`the input "${s}" can't be parsed as ${n}`));{let n=r7.fromObject(t,{...r,zone:e||o,specificOffset:i});return a?n:n.setZone(o)}}function rG(t,e,r=!0){return t.isValid?tK.create(ex.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function rY(t,e){let r=t.c.year>9999||t.c.year<0,n="";return r&&t.c.year>=0&&(n+="+"),n+=B(t.c.year,r?6:4),e?(n+="-",n+=B(t.c.month),n+="-"):n+=B(t.c.month),n+=B(t.c.day)}function rK(t,e,r,n,s,i){let a=B(t.c.hour);return e?(a+=":",a+=B(t.c.minute),0===t.c.second&&r||(a+=":")):a+=B(t.c.minute),(0!==t.c.second||!r)&&(a+=B(t.c.second),0===t.c.millisecond&&n||(a+=".",a+=B(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?a+="Z":t.o<0?(a+="-",a+=B(Math.trunc(-t.o/60)),a+=":",a+=B(Math.trunc(-t.o%60))):(a+="+",a+=B(Math.trunc(t.o/60)),a+=":",a+=B(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}let rQ={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},rX={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},r0={ordinal:1,hour:0,minute:0,second:0,millisecond:0},r1=["year","month","day","hour","minute","second","millisecond"],r2=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],r3=["year","ordinal","hour","minute","second","millisecond"];function r5(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new _(t);return e}function r9(t,e){let r,n,s=ee(e.zone,eu.defaultZone);if(!s.isValid)return r7.invalid(rq(s));let i=ex.fromObject(e);
1if(P(t.year))r=eu.now();else{for(let e of r1)P(t[e])&&(t[e]=rQ[e]);let e=rV(t)||rP(t);if(e)return r7.invalid(e);let i=(r7._zoneOffsetGuessCache[s]||(void 0===r7._zoneOffsetTs&&(r7._zoneOffsetTs=eu.now()),r7._zoneOffsetGuessCache[s]=s.offset(r7._zoneOffsetTs)),r7._zoneOffsetGuessCache[s]);[r,n]=rW(te(t),i,s)}return new r7({ts:r,zone:s,loc:i,o:n})}function r6(t,e,r){let n=!!P(r.round)||r.round,s=(t,s)=>(t=K(t,n||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(t,s)),i=n=>r.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(r.unit)return s(i(r.unit),r.unit);for(let t of r.units){let e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,r.units[r.units.length-1])}function r4(t){let e={},r;return t.length>0&&"object"==typeof t[t.length-1]?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}class r7{constructor(t){const e=t.zone||eu.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new tQ("invalid input"):null)||(e.isValid?null:rq(e));this.ts=P(t.ts)?eu.now():t.ts;let n=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const i=U(t.o)&&!t.old?t.o:e.offset(this.ts);n=(r=Number.isNaN((n=rZ(this.ts,i)).year)?new tQ("invalid input"):null)?null:n,s=r?null:i}this._zone=e,this.loc=t.loc||ex.create(),this.invalid=r,this.weekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static _zoneOffsetTs;static _zoneOffsetGuessCache={};static now(){return new r7({})}static local(){let[t,e]=r4(arguments),[r,n,s,i,a,o,u]=e;return r9({year:r,month:n,day:s,hour:i,minute:a,second:o,millisecond:u},t)}static utc(){let[t,e]=r4(arguments),[r,n,s,i,a,o,u]=e;return t.zone=t8.utcInstance,r9({year:r,month:n,day:s,hour:i,minute:a,second:o,millisecond:u},t)}static fromJSDate(t,e={}){let r="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(r))return r7.invalid("invalid input");let n=ee(e.zone,eu.defaultZone);return n.isValid?new r7({ts:r,zone:n,loc:ex.fromObject(e)}):r7.invalid(rq(n))}static fromMillis(t,e={}){if(U(t))if(t<-864e13||t>864e13)return r7.invalid("Timestamp out of range");else return new r7({ts:t,zone:ee(e.zone,eu.defaultZone),loc:ex.fromObject(e)});throw new $(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(U(t))return new r7({ts:1e3*t,zone:ee(e.zone,eu.defaultZone),loc:ex.fromObject(e)});throw new $("fromSeconds requires a numerical input")}static fromObject(t,e={}){var r,n;let s,i,a,o,u;t=t||{};let l=ee(e.zone,eu.defaultZone);if(!l.isValid)return r7.invalid(rq(l));let c=eu.now(),h=P(e.specificOffset)?l.offset(c):e.specificOffset,f=to(t,r5),d=!P(f.ordinal),p=!P(f.year),m=!P(f.month)||!P(f.day),y=p||m,g=f.weekYear||f.weekNumber,v=ex.fromObject(e);if((y||d)&&g)throw new j("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(m&&d)throw new j("Can't mix ordinal dates with month/day");let w=g||f.weekday&&!y,b,x,S=rZ(c,h);w?(b=r2,x=rX,S=rL(S)):d?(b=r3,x=r0,S=r_(S)):(b=r1,x=rQ);let T=!1;for(let t of b)P(f[t])?T?f[t]=x[t]:f[t]=S[t]:T=!0;let E=(w?(a=q((n=f).weekYear),o=Z(n.weekNumber,1,tr(n.weekYear)),u=Z(n.weekday,1,7),a?o?!u&&rD("weekday",n.weekday):rD("week",n.week):rD("weekYear",n.weekYear)):d?(s=q(f.year),i=Z(f.ordinal,1,X(f.year)),s?!i&&rD("ordinal",f.ordinal):rD("year",f.year)):rV(f))||rP(f);if(E)return r7.invalid(E);let[O,k]=(r=w?rj(f):d?r$(f):f,rW(te(r),h,l)),I=new r7({ts:O,zone
1:l,o:k,loc:v});return f.weekday&&y&&t.weekday!==I.weekday?r7.invalid("mismatched weekday",`you can't specify both a weekday of ${f.weekday} and a date of ${I.toISO()}`):I}static fromISO(t,e={}){let[r,n]=eE(t,[eK,e1],[eQ,e2],[eX,e3],[e0,e5]);return rJ(r,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){let[r,n]=eE(t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim(),[eH,eW]);return rJ(r,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){let[r,n]=eE(t,[eZ,eG],[eB,eG],[eJ,eY]);return rJ(r,n,e,"HTTP",e)}static fromFormat(t,e,r={}){if(P(t)||P(e))throw new $("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:s=null}=r,[i,a,o,u]=function(t,e,r){let{result:n,zone:s,specificOffset:i,invalidReason:a}=rA(t,e,r);return[n,s,i,a]}(ex.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e);return u?r7.invalid(u):rJ(i,a,r,`format ${e}`,t,o)}static fromString(t,e,r={}){return r7.fromFormat(t,e,r)}static fromSQL(t,e={}){let[r,n]=eE(t,[e6,e1],[e4,e7]);return rJ(r,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new $("need to specify a reason the DateTime is invalid");let r=t instanceof tQ?t:new tQ(t,e);if(!eu.throwOnInvalid)return new r7({invalid:r});throw new M(r)}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){let r=rN(t,ex.fromObject(e));return r?r.map(t=>t?t.val:null).join(""):null}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}
1get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?rz(this).weekYear:NaN}get weekNumber(){return this.isValid?rz(this).weekNumber:NaN}get weekday(){return this.isValid?rz(this).weekday:NaN}get ordinal(){return this.isValid?r_(this.c).ordinal:NaN}get monthShort(){return this.isValid?rl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rl.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}get isInLeapYear(){return Q(this.year)}get daysInMonth(){return tt(this.year,this.month)}get daysInYear(){return this.isValid?X(this.year):NaN}get weeksInWeekYear(){return this.isValid?tr(this.weekYear):NaN}resolvedLocaleOptions(t={}){let{locale:e,numberingSystem:r,calendar:n}=tK.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:r,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(t8.instance(t),e)}toLocal(){return this.setZone(eu.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:r=!1}={}){if((t=ee(t,eu.defaultZone)).equals(this.zone))return this;{if(!t.isValid)return r7.invalid(rq(t));let s=this.ts;if(e||r){var n;let e=t.offset(this.ts),r=this.toObject();[s]=(n=t,rW(te(r),e,n))}return rH(this,{ts:s,zone:t})}}reconfigure({locale:t,numberingSystem:e,outputCalendar:r}={}){return rH(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:r})})}setLocale(t){return this.reconfigure({locale:t})}set(t){var e,r,n;let s;if(!this.isValid)return this;let i=to(t,r5),a=!P(i.weekYear)||!P(i.weekNumber)||!P(i.weekday),o=!P(i.ordinal),u=!P(i.year),l=!P(i.month)||!P(i.day),c=i.weekYear||i.weekNumber;if((u||l||o)&&c)throw new j("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new j("Can't mix ordinal dates with month/day");a?s=rj({...rL(this.c),...i}):P(i.ordinal)?(s={...this.toObject(),...i},P(i.day)&&(s.day=Math.min(tt(s.year,s.month),s.day))):s=r$({...r_(this.c),...i});let[h,f]=(e=s,r=this.o,n=this.zone,rW(te(e),r,n));return rH(this,{ts:h,o:f})}plus(t){return this.isValid?rH(this,rB(this,ra.fromDurationLike(t))):this}minus(t){return this.isValid?rH(this,rB(this,ra.fromDurationLike(t).negate())):this}startOf(t){if(!this.isValid)return this;let e={},r=ra.normalizeUnit(t);switch(r){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}return"weeks"===r&&(e.weekday=1),"quarters"===r&&(e.month=(Math.ceil(this.month/3)-1)*3+1),this.set(e)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,e={}){return this.isValid?tK.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):rU}toLocaleString(t=tI,e={}){return this.isValid?tK.create(this.loc.clone(e),t).formatDateTime(this):rU}toLocaleParts(t={}){return this.isValid?tK.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;let i="extended"===t,a=rY(this,i);return a+="T",a+=rK(this,i,e,r,n,s)}toISODate({format:t="extended"}={}){return this.isValid?rY(this,"extended"===t):null}toISOWeekDate(){return rG(this,"kkkk-'W'WW-c")}
1toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(n?"T":"")+rK(this,"extended"===i,e,t,r,s):null}toRFC2822(){return rG(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return rG(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?rY(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(r&&(n+=" "),e?n+="z":t&&(n+="ZZ")),rG(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():rU}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};let e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",r={}){if(!this.isValid||!t.isValid)return ra.invalid("created by diffing an invalid DateTime");let n={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=(Array.isArray(e)?e:[e]).map(ra.normalizeUnit),i=t.valueOf()>this.valueOf(),a=function(t,e,r,n){let[s,i,a,o]=function(t,e,r){let n,s,i={};for(let[a,o]of[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter],["months",(t,e)=>e.month-t.month+(e.year-t.year)*12],["weeks",(t,e)=>{let r=rc(t,e);return(r-r%7)/7}],["days",rc]])if(r.indexOf(a)>=0){n=a;let r=o(t,e);(s=t.plus({[a]:r}))>e?(t=t.plus({[a]:r-1}),r-=1):t=s,i[a]=r}return[t,i,s,n]}(t,e,r),u=e-s,l=r.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===l.length&&(a<e&&(a=s.plus({[o]:1})),a!==s&&(i[o]=(i[o]||0)+u/(a-s)));let c=ra.fromObject(i,n);return l.length>0?ra.fromMillis(u,n).shiftTo(...l).plus(c):c}(i?this:t,i?t:this,s,n);return i?a.negate():a}diffNow(t="milliseconds",e={}){return this.diff(r7.now(),t,e)}until(t){return this.isValid?ru.fromDateTimes(this,t):this}hasSame(t,e){if(!this.isValid)return!1;let r=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e)<=r&&r<=n.endOf(e)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;let e=t.base||r7.fromObject({},{zone:this.zone}),r=t.padding?this<e?-t.padding:t.padding:0,n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),r6(e,this.plus(r),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?r6(t.base||r7.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(r7.isDateTime))throw new $("min requires all arguments be DateTimes");return H(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(r7.isDateTime))throw new $("max requires all arguments be DateTimes");return H(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,r={}){let{locale:n=null,numberingSystem:s=null}=r;return rA(ex.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,r={}){return r7.fromFormatExplain(t,e,r)}static buildFormatParser(t,e={}){let{locale:r=null,numberingSystem:n=null}=e;return new rI(ex.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0}),t)}static fromFormatParser(t,e,r={}){if(P(t)||P(e))throw new $("fromFormatParser requires an input string and a format parser");let{locale:n=null,numberingSystem:s=null}=r,i=ex.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!i.equals(e.locale))throw new $(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);let{result:a,zone:o,specificOffset:u,invalidReason:l}=e.explainFromTokens(t);return l?r7.invalid(l):rJ(a,o,r,`format ${e.format}`,t,u)}static get DATE_SHORT(){return tI}static get DATE_MED(){return tA}static get DATE_MED_WITH_WEEKDAY(){return tN}static get DATE_FULL(){return tC}static get DATE_HUGE(){return tR}static get TIME_SIMPLE(){return tD}static get TIME_WITH_SECONDS(){return tM}static get TIME_WITH_SHORT_OFFSET(){return tF}static get TIME_WITH_LONG_OFFSET(){return tL}static get TIME_24_SIMPLE(){return tj}static get TIME_24_WITH_SECONDS(){return t_}static get TIME_24_WITH_SHORT_OFFSET(){return t$}static get TIME_24_WITH_LONG_OFFSET(){return tV}static get DATETIME_SHORT(){return tP}static get DATETIME_SHORT_WITH_SECONDS(){return tU}static get DATETIME_MED(){return tq}static get DATETIME_MED_WITH_SECONDS(){return tz}static get DATETIME_MED_WITH_WEEKDAY(){return tH}static get DATETIME_FULL(){return tW}static get DATETIME_FULL_WITH_SECONDS(){return tZ}static get DATETIME_HUGE(){return tB}static get DATETIME_HUGE_WITH_SECONDS(){return tJ}}function r8(t){if(r7.isDateTime(t))return t;if(t&&t.valueOf&&U(t.valueOf()))return r7.fromJSDate(t);if(t&&"object"==typeof t)return r7.fromObject(t);throw new $(`Unknown datetime argument: ${t}, of type ${typeof t}`)}r(244767),r(479534),r(718602),r(430278),r(452929),r(953716),r(946415),r(972733),r(417290),r(890015),r(889589),r(953925),r(540679);let nt="\\ud800-\\udfff",ne="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nr="\\ufe0e\\ufe0f",nn="\\u200d";RegExp(`[${nn}${nt}${ne}${nr}]`);let ns=`[${nt}]`,ni=`[${ne}]`,na="\\ud83c[\\udffb-\\udfff]",no=`(?:${ni}|${na})`,nu=`[^${nt}]`,nl="(?:\\ud83c[\\udde6-\\uddff]){2}",nc="[\\ud800-\\udbff][\\udc00-\\udfff]",nh=`(?:${nn}(?:${[nu,nl,nc].join("|")})[${nr}]?${no}?)*`,nf=`[${nr}]?${no}?${nh}`,nd=`(?:${[`${nu}${ni}?`,ni,nl,nc,ns].join("|")})`;RegExp(`${na}(?=${na})|${nd}${nf}`,"g");let np=new Set(["00000000-0000-0000-0000-000000000000","00000000-0000-0000-0000-000000000001","00000000-0000-0000-0000-000000000002","00000000-0000-0000-0000-000000000003","00000000-0000-0000-0000-000000000004","00000000-0000-0000-0000-000000000005","00000000-0000-0000-0000-000000000006","00000000-0000-0000-0000-000000000007","00000000-0000-0000-0000-000000000008","00000000-0000-0000-0000-000000000009","00000000-0000-0000-0000-00000000000a","33333333-3333-3333-3333-333333333333","FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF"].map(t=>t.toLowerCase()));function nm(t){return"string"==typeof t&&36===t.length&&!!(nv.test(t)||nb.test(t)||np.has(t.toLowerCase()))}function ny(t){return!!(t&&32===t.length&&/^[a-f0-9]*$/g.test(t))}function ng(t){return nm(t)||ny(t)}let nv=new RegExp(/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i);new RegExp(/^[0-9A-F]{12}4[0-9A-F]{3}[89AB][0-9A-F]{15}$/i);let nw=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i,nb=new RegExp(/^[0-9A-F]{8}-[0-9A-F]{4}-8[0-3][0-9A-F]{2}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i);new RegExp(/^[0-9A-F]{12}8[0-3][0-9A-F]{2}[89AB][0-9A-F]{15}$/i),"3".padStart(4,"0"),Symbol("Without dashes");let nx=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","\\","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~"],nS=u(function(t){return d`defined`(void 0===t)||d`a string`("string"!=typeof t)},()=>"string");function nT(t){return!!function(t){if(t.match(/^\d{1,2}:\d{2}/))return;let e=r7.fromISO(t);if(e.isValid)return e;let r=t.replace(/ /,"T");
1if(r!==t){let t=r7.fromISO(r);if(t.isValid)return t}}(t)}function nE(t){return u(function(e){return d`defined`(void 0===e)||d`${t}`(e!==t)},JSON.stringify(t))}l(nS,function(t){return d`a valid uuid`(!nm(t))},()=>"uuid"),l(nS,function(t){return d`a valid uuid`(!("string"==typeof t&&36===t.length&&nw.test(t)&&1))},()=>"NotionRecordId"),l(nS,function(t){return d`a valid uuid`(!ng(t))},()=>"uuid"),l(nS,function(t){return d`a valid uuid`(!ny(t))},()=>"UUIDWithoutDashes"),u(function(t){return d`defined`(void 0===t)||d`a string`("string"!=typeof t)||d`a valid uuid`(!ny(t))},()=>"AnalyticsUUID"),l(nS,function(t){return d`a valid uuid`(!ny(t.replace(/-/g,"")))},()=>"FlexibleDashesUuid"),l(nS,function(t){return d`a valid ISO 8601 date string`(!nT(t))},()=>"ISO8601DateString"),l(nS,function(t){return d`a valid ISO 8601 date-time string`(!nT(t))},()=>"ISO8601DateTimeString");let nO=u(function(t){return d`defined`(void 0===t)||d`a boolean`("boolean"!=typeof t)},"boolean"),nk=u(function(t){return d`defined`(void 0===t)||d`a number`("number"!=typeof t)},"number");u(function(t){return d`defined`(void 0===t)||d`a bigint`("bigint"!=typeof t)},"bigint"),u(function(t){return d`defined`(void 0===t)||d`${null}`(null!==t)},"null");let nI=u(function(t){return d`${void 0}`(void 0!==t)},"undefined");function nA(t){return u(function(e){return d`defined`(void 0===e)||d`an array`(!Array.isArray(e))||y(Array.from(e.keys()),r=>m(t,r,e))},()=>`Array<${t}>`)}function nN({required:t,optional:e,exact:r}){return u(function(n){let i=d`defined`(void 0===n)||d`an object`("object"!=typeof n||null===n||Array.isArray(n))||y(s(t),e=>m(t[e],e,n))||y(s(e),t=>m(nC([e[t],nI]),t,n));if(!r||i)return i;let a=[];for(let r of s(n))Object.hasOwn(t,r)||Object.hasOwn(e,r)||a.push({claim:"not present",path:[r]});return a.length>0?a:null},()=>`{ ${[...i(t).map(([t,e])=>`${"string"==typeof t?t:String(t)}: ${e}`),...i(e).map(([t,e])=>`${"string"==typeof t?t:String(t)}?: ${e}`)].join("; ")} }`)}function nC(t){return u(function(e){return p(t,e)},()=>t.map(String).join(" | "))}function nR(t){return l(t,function(t){return d`populated`(0===Object.keys(t).length)})}function nD(t,e){return l(t,function(t){return d`without ${e}`(t.includes(e))})}function nM(...t){return nC(t.map(nE))}l(nk,function(t){return d`an integer`(!Number.isInteger(t))}),l(nS,function(t){return null},()=>"filePath"),l(nR(nS),function(t){return y([...[...t].keys()],e=>m(nM(...nx),e,t))},()=>"shortID"),nD(nD(nR(nS),"{"),"}"),u(function(t){return d`a buffer`("u"<typeof Buffer||!Buffer.isBuffer(t))},()=>"Buffer"),nN({required:{},optional:{foo:nS}}).value,nN({required:{foo:nS},optional:{}}).value,nN({required:{foo:nC([nS,nI])},optional:{}}).value,nN({required:{foo:u(function(t){return null},"any")},optional:{}}).value,nN({required:{},optional:{foo:nS}}).value,nN({required:{foo:nS},optional:{}}).value,nN({required:{foo:nS},optional:{bar:nS}}).value;let nF=nN({required:{files:nA(nN({required:{hash:nS,path:nS,size:nk},optional:{postRenderPreload:nO,prerender:nO}})),localeHtmlWeb:nN({required:{"en-US":nS},optional:{"ar-SA":nS,"da-DK":nS,"de-DE":nS,"en-GB":nS,"es-ES":nS,"es-LA":nS,"fi-FI":nS,"fr-FR":nS,"he-IL":nS,"id-ID":nS,"it-IT":nS,"ja-JP":nS,"ko-KR":nS,"nb-NO":nS,"nl-NL":nS,pseudo:nS,"pt-BR":nS,"sv-SE":nS,"th-TH":nS,"vi-VN":nS,"zh-CN":nS,"zh-TW":nS}})},optional:{clientCanaryCohort:nM("control","treatment","unassigned"),contentSecurityPolicy:nS,proxyServerPathPrefixes:nA(nS),sqliteMigrationVersion:nk}}),nL=("client"==(t="client"),"client"),nj=nL===v,n_=self.location.hostname,n$="/api/v3/getAssetsJsonV3",nV=["/internal/file-preview/render/","/internal/agent/attachment/render/"],nP="notion-sw-version",nU="/activeMigrationVersion",nq="en-US",nz=[".js",".png",".jpg",".wasm",".gif",".riv",".woff",".svg",".woff2",".ttf",".css",".json",".webp",".jpeg",".avif",".heic",".mp4",".mp3",".ico",".pbf",".txt"];class nH{version;serviceWorkerVariant="browser_v1";hostname;cacheIndexHtmlEnabled=!1;locale;clientIds;messageQueue;assetsJson;assetsJsonRepairTask;constructor(t,e){this.version=t,this.hostname=e,this.clientIds=new Set,this.messageQueue=[],this.locale=void 0}get cacheName(){let t=this.cacheIndexHtmlEnabled?"-v2":"";return`notion-sw${t}-${this.version}-${nL}`}get buildTarget(){return nL}get shouldPinHtmlToWorkerVersion(){return!0}get shouldRetryUnpinnedHtmlNavigation(){return!0}async sendMessageToClient(t){let e=(await self.clients.matchAll()).filter(t=>this.clientIds.has(t.id));if(0===e.length){this.clientIds=new Set,this.messageQueue.push(t);return}e[0].postMessage(t)}async fetchAssetsJson(){var t;let e=await fetch(n$,{method:"post",headers:{"content-type":"application/json"},body:JSON.stringify({assetsVersion:this.version,hash:"",latestMigrationVersion:await this.getActiveMigrationVersion()??-1,canSupportHigherMigrationVersion:!0,canSupportImageCachingV2:!0,clientBuildTarget:nL,serveExperimentalClientBuild:nj})});if(200!==e.status)throw Error(`Could not fetch assets.json: ${e.status} ${e.statusText}`);let r=e.clone(),n=(t=await e.json(),o.unwrapOr(function(t,e,r={}){let n=function(t,e,r={}){let n=t.validator(e);
1if(n)return Error(function(t,e,r,n=!0){let s=function(t,e,r){let n,s=function t(e,r=[],n=[]){return e.failures.size>0&&(n=n.concat({path:r,isNots:[...e.failures]})),e.subtree.forEach((e,s)=>{n=t(e,r.concat(s),n)}),n}((n=new c,e.forEach(({claim:t,path:e})=>{e.reduce((t,e)=>{let r=t.subtree.get(e);return void 0===r&&(r=new c,t.subtree.set(e,r)),r},n).failures.add(t)}),n),[r]),i=Math.max(...s.map(t=>t.path.length)),a=s.filter(t=>t.path.length===i),o=[];for(let{path:e,isNots:r}of a){let n=function(t){let e="";for(let r of t){let t,n=String(r);t="string"!=typeof r?`[${n}]`:""===e?n:`.${n}`,e+=t}return e}(e),s=r.slice(0,-2).concat("").join(", ")+r.slice(-2).join(`${r.length>2?",":""} or `),i=function(t,e){let r=e.slice(1);return h(r.length>0?function(t,e){let r=t;for(let t=0;t<e.length;t++){let s=e[t];if(null==r)return;if(+("object"!=typeof s)){var n;r=null==(n=r)?void 0:n[s]}else r=function(t,e){if(Array.isArray(t))return t.find(t=>(null==t?void 0:t.id)===e.id)}(r,s)}return r}(t,r):t)}(t,e);o.push({path:n,nots:s,claims:r,value:i})}return o}(t,e,r);return[s.length>1?`${r} failed validation. Fix one:`:`${r} failed validation:`,...s.map(({path:t,nots:e,value:r})=>n?`${t} should be ${e}, instead was ${r}.`:`${t} should be ${e}.`)].join(s.length>1?"\n":" ")}(e,n,r.rootVariableName||"payload",r.includeActualValues??!0))}(t,e,r);return void 0!==n?{error:n}:{value:e}}(nF,t),void 0));if(!n)throw Error("assets.json response is invalid");this.assetsJson??=n;let s=await self.caches.open(this.cacheName);return await s.put(n$,r),n}async loadAssetsJson(){if(this.assetsJson)return this.assetsJson;let t=await self.caches.match(n$,{cacheName:this.cacheName});if(t)return this.assetsJson=await t.json(),this.assetsJson}getAssetsJsonRepairTask(){return this.assetsJsonRepairTask??=this.repairAssetsJson(),this.assetsJsonRepairTask}async repairAssetsJson(){try{let t=await this.fetchAssetsJson();if(!t)throw Error("Could not fetch assets.json");let e=this.getFilesToCacheAfterAssetsJsonRecovery(t);if(e.length>0){let t=await self.caches.open(this.cacheName);try{await t.addAll([...new Set(e)])}catch(e){throw await t.delete(n$),e}}}catch(t){await this.sendMessageToClient({type:"service-worker-fetch-error",error:{message:t instanceof Error?t.message:String(t),stack:t instanceof Error?t.stack:void 0,url:n$}})}}getFilesToCacheAfterAssetsJsonRecovery(t){return[]}async setActiveVersion(){let t=await self.caches.open(nP);await Promise.all([t.put("/active",new Response(this.version)),t.put("/generation",new Response(this.cacheIndexHtmlEnabled?"v2":"v1"))])}async setMigrationVersion(){let t=await this.loadAssetsJson(),e=null==t?void 0:t.sqliteMigrationVersion;if(e){let t=await self.caches.open(nP);await t.put(nU,new Response(e.toString()))}}async getActiveMigrationVersion(){let t=await self.caches.match(nU,{cacheName:nP});if(t){let e=Number(await t.text());return isNaN(e)?void 0:e}}async onInstall(){try{if(this.assetsJson??=await this.fetchAssetsJson(),!this.assetsJson)throw Error("Could not fetch assets.json");void 0===this.locale&&await this.setLocale();let t=this.assetsJson.files.map(t=>t.path).filter(t=>this.shouldCache(t)),e=await self.caches.open(this.cacheName);t.length>0&&await e.addAll([...new Set(t)]),await this.cacheAdditionalFilesOnInstall(e),self.skipWaiting()}catch(e){try{var t;let r=await self.clients.matchAll({includeUncontrolled:!0}),n={type:"service-worker-install-error",error:{message:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0,version:this.version,fileCount:null==(t=this.assetsJson)?void 0:t.files.length}};r.length>0&&r[0].postMessage(n)}catch(t){}throw e}}cacheAdditionalFilesOnInstall(t){return Promise.resolve()}shouldCache(t){var e;return!!(null==(e=this.assetsJson)?void 0:e.files.some(e=>{if(t===e.path&&(e.prerender||e.postRenderPreload))return!0;let r=this.locale;return!!(void 0!==r&&r!==nq&&t.includes(`/localeSetup-${r}`))}))}async setLocale(t){var e,r;let n=t?function(t){let e=[];
1if(!(t.length>0))return"en-US";{var r;let n;if(0===(e=t.filter(({code:t})=>{var e;return!!(a(I,e=t)||a(A,e))})).length)return"en-US";let s=e[0].quality,i=e.filter(({quality:t})=>t===s),o=i.find(t=>"en"===t.code);return o||(o=i[0]),n=(r=o).code in C?C[r.code]:C.en,"es"===r.code?n="ES"===r.region?"es-ES":"es-LA":"zh"===r.code&&(n="TW"===r.region||"HK"===r.region?"zh-TW":"zh-CN"),n}}((e=t.headers.get("Accept-Language")??"")?e.split(",").map(t=>{let e=t.trim().split(";"),r=e[0].trim(),n=e.find(t=>t.trim().startsWith("q=")),s=n?parseFloat(n.trim().slice(2)):1,[i,a]=r.split("-");return{code:i.toLowerCase(),region:null==a?void 0:a.toUpperCase(),quality:s}}).filter(t=>!isNaN(t.quality)&&t.quality>0).sort((t,e)=>e.quality-t.quality):[]):nq;try{let t=null==(r=await self.cookieStore.get("notion_locale"))?void 0:r.value;this.locale=t?decodeURIComponent(t).split("/")[0]:n}catch(t){console.error("Error setting locale",t),this.locale=n}}async onActivate(){for(let t of(await self.clients.claim(),await this.setActiveVersion(),await this.loadAssetsJson(),this.assetsJson||await this.getAssetsJsonRepairTask(),await this.setMigrationVersion(),(await self.caches.keys()).filter(t=>t!==this.cacheName&&t!==nP)))await self.caches.delete(t)}onFetch(t){if(this.shouldBypassCache(t.request))return;let e=this.matchRequest(t.request),r=e.then(({response:t})=>t).catch(async e=>(this.sendMessageToClient({type:"service-worker-fetch-error",error:{message:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0,url:t.request.url}}),fetch(t.request))),n=e.then(({backgroundTasks:t})=>Promise.allSettled(t),()=>void 0);t.respondWith(r),t.waitUntil(n)}shouldBypassCache(t){if("GET"!==t.method)return!0;let e=new URL(t.url);if(e.hostname!==this.hostname)return!0;for(let t of nV)if(e.pathname.startsWith(t))return!0;if(this.assetsJson){for(let t of this.assetsJson.proxyServerPathPrefixes??[])if(e.pathname.startsWith(t))return!0}return!1}async matchRequest(t){(void 0===this.locale||"navigate"===t.mode)&&await this.setLocale(t),await this.loadAssetsJson();let e=this.assetsJson?[]:[this.getAssetsJsonRepairTask()],r=new URL(t.url);if(this.shouldBypassCache(t))return nW(await fetch(t),e);if(this.cacheIndexHtmlEnabled&&1){let n=await this.matchCachedIndex({request:t,url:r});if(n)return{response:n.response,backgroundTasks:[...e,...n.backgroundTasks]}}let n=await self.caches.match(t,{cacheName:this.cacheName});if(n)return nW(n,e);if(this.shouldCache(r.pathname)){let n=await fetch(t),s=await self.caches.open(this.cacheName);return await s.put(r,n.clone()),nW(n,e)}return nz.some(t=>r.pathname.endsWith(t))||"navigate"!==t.mode?nW(await fetch(t),e):nW(await this.fetchServerNavigation({request:t,url:r,isDeployPreviewNavigation:!1}),e)}async fetchServerNavigation(t){var e;let{request:r,url:n,isDeployPreviewNavigation:s,signal:i}=t,a={method:r.method,headers:r.headers,credentials:r.credentials,body:r.bodyUsed?void 0:r.body,redirect:"manual",signal:i};if(s)return fetch(new Request(r.url,a));if(!((e=n).searchParams.has("assetsVersion")||e.searchParams.has("clientBuildTarget")||"native"===e.searchParams.get("notionHtml"))){let t=new URL(r.url);this.shouldPinHtmlToWorkerVersion&&t.searchParams.set("assetsVersion",this.version),t.searchParams.set("clientBuildTarget",nL);let e=await fetch(new Request(t,a));if("opaqueredirect"===e.type)return e;if(e.ok){let t=new Headers(e.headers);return t.append("Server-Timing",g(this.serviceWorkerVariant,this.version,nL)),new Response(e.body,{status:e.status,statusText:e.statusText,headers:t})}if(!this.shouldRetryUnpinnedHtmlNavigation)return e;this.sendMessageToClient({type:"service-worker-fetch-error",error:{message:`assetsVersion pin failed (status ${e.status}): server could not serve HTML for version ${this.version}`,stack:void 0,url:t.toString()}})}return fetch(new Request(r.url,a))}matchCachedIndex(t){return Promise.resolve(void 0)}async onMessage(t){"hello"===t.data.type&&await this.handleNewClient(t)}async isDeployPreview(t){if(new URL(t.url).searchParams.has("pr"))return!0;try{let t=await self.cookieStore.get("notion_client_deploy_preview");if(null!=t&&t.value)return!0}catch(t){console.error("Error reading deploy preview cookie",t)}return!1}async handleNewClient(t){if(t.source&&"id"in t.source){let e=t.source.id;if(this.clientIds.add(e),1===this.clientIds.size&&this.messageQueue.length>0){for(let t of this.messageQueue)this.sendMessageToClient(t);this.messageQueue=[]}}await this.setLocale()}}function nW(t,e=[]){return{response:t,backgroundTasks:e}}let nZ="\x3c!--CLIENT_CANARY_COHORT_PLACEHOLDER--\x3e";r(453056);let nB=s({local:"local",development:"dev",staging:"stg",production:"prod"});s({local:"local",dev:"development",stg:"staging",prod:"production"});let nJ={local:"localhost:3000",staging:"stg.notion.so",development:"dev.notion.so",production:"www.notion.so"},nG={production:"notion.site",development:"pages.dev.notion.co",staging:"pages.stg.notion.co",local:"pages.local.notion.co:3000"},nY={local:[{hostname:"app.local.notion.com",protocols:["https","notionlocal"]}],development:[{hostname:"app.dev.notion.com",protocols:["https","notiondev"]}],staging:[{hostname:"app.stg.notion.com",protocols:["https","notionstg"]}],production:[{hostname:"app.notion.com",protocols:["https","notion"]},{hostname:"app.prod.notion.com",protocols:["https"]},{hostname:"app.canary.notion.com",protocols:["https"]}]},nK={local:"http://localhost:3000",development:"https://dev.notion.so",staging:"https://stg.notion.so",production:"https://www.notion.so"},nQ={local:0x515f9d31,staging:0x5701ac51,development:0x515f9d31,production:0x497abbf9},nX=new Map;function n0(t){return t.replace(/:\d+$/,"")}function n1(t,e){let r,n,s=nG[e],i=nJ[e],a=n0(t);return!a.endsWith(n0(s))&&!a.endsWith(n0(i))&&(r=n0(t),!(!(n=nX.get(e))&&(n=nY[e].map(t=>t.hostname),nX.set(e,n)),n).some(t=>r===n0(t)))}Symbol("UrlString");let n2="\x3c!--PAGE_META_PLACEHOLDER--\x3e",n3="__notion_html_async",n5=["ready","bootReady"],n9="\x3c!--SERVER_SIDE_PAGE_CHUNKS_PLACEHOLDER--\x3e",n6="\x3c!--SERVER_SIDE_PAGE_CHUNKS_PLACEHOLDER2--\x3e",n4=[n2,nZ],n7="/__index-html-template",n8=["statsigResults","requiredRedirectMetadata"],st=["bootData",...n8];function se(t){let e=t.indexOf(n9),r=t.indexOf(n6);if(e<0||r<=e)return!1;for(let r of n4){let n=t.indexOf(r);if(n<0||n>=e)return!1}return!0}function sr(t,e){let r=sn(t),n=sn(e);if("bootData"===t)return`<script>window.__notion_boot_data=${n};${n3}.push(${r},${n});window.dispatchEvent(new Event("notion:boot-data-ready"))</script>`;let s=a(n5,t)?`performance.mark(${sn(`__notion_html_stream_ready:${t}`)});`:"";return`<script>${s}${n3}.push(${r},${n})</script>`}function sn(t){return JSON.stringify(t??null).replaceAll("</","<\\/")}let ss="us-west-2",si="274567149370";function sa(t){return`agent-service-blobs-${t.accountId}-${t.region}-an`}function so(t){return`https://${sa(t)}.s3.${t.region}.amazonaws.com`}sa({accountId:si,region:ss}),so({accountId:si,region:ss}),so({accountId:"471112592538",region:"us-west-2"}
1),so({accountId:"211125367520",region:"us-west-2"});let su={"Cross-Origin-Opener-Policy":void 0,"Cross-Origin-Resource-Policy":void 0,"Origin-Agent-Cluster":void 0,"Referrer-Policy":"strict-origin-when-cross-origin","Strict-Transport-Security":"max-age=31536000; includeSubDomains; preload","X-DNS-Prefetch-Control":"off","X-Download-Options":"noopen","X-Frame-Options":"SAMEORIGIN","X-Permitted-Cross-Domain-Policies":"none","X-XSS-Protection":"0"},sl=Symbol("DELETE_HEADER"),sc="/space/",sh="en-US",sf="X-Notion-SW-Assets-Version",sd=/\bdata-notion-version="([^"]+)"/,sp=["Accept-Ranges","Content-Encoding","Content-Length","Date","Last-Modified","Server-Timing","X-Notion-Request-Id"];function sm(t){return t.searchParams.has("pr")}async function*sy(t,e){let r=t.getReader(),n=new TextDecoder,s="";for(;;){let t=await r.read();if(t.done){if((s+=n.decode()).trim()){let t=sg(s,e);void 0!==t&&(yield t)}return}let i=(s+=n.decode(t.value,{stream:!0})).split("\n");for(let t of(s=i.pop()??"",i))if(t.trim()){let r=sg(t,e);void 0!==r&&(yield r)}}}function sg(t,e){try{return JSON.parse(t)}catch(t){e(t);return}}!function(t=nH){let e=new t("23.13.20260928.0129",n_);Object.assign(globalThis,{DEBUG_instance:e}),self.addEventListener("install",t=>{t.waitUntil(e.onInstall())}),self.addEventListener("activate",t=>{t.waitUntil(e.onActivate())}),self.addEventListener("fetch",t=>{e.onFetch(t)}),self.addEventListener("message",t=>{t.waitUntil(e.onMessage(t))})}(class extends nH{cacheIndexHtmlEnabled=!0;serviceWorkerVariant="browser_v2";async isDeployPreview(t){return sm(new URL(t.url))||await super.isDeployPreview(t)}async cacheAdditionalFilesOnInstall(t){var e,r;let n=this.locale??sh,s=null==(e=Object.entries((null==(r=this.assetsJson)?void 0:r.localeHtmlWeb)??{}).find(([t])=>t===n))?void 0:e[1];if(!s)return;let i=new Request(new URL(n7,self.location.href),{headers:{"Accept-Language":n},credentials:"include"}),a=await this.fetchGeneratedLocaleHtmlTemplate(i);await t.put(s,a)}async fetchGeneratedLocaleHtmlTemplate(t){var e;let r=new URL(n7,t.url);this.shouldPinHtmlToWorkerVersion&&r.searchParams.set("assetsVersion",this.version),r.searchParams.set("clientBuildTarget",this.buildTarget);let n=await fetch(new Request(r,{method:"GET",cache:"no-store",headers:t.headers,credentials:t.credentials}));if(!n.ok)throw Error(`Generated index.html template request failed with status ${n.status}`);let s=await n.clone().text();if(!se(s))throw Error("Generated index.html template is missing required placeholders");let i=null==(e=sd.exec(s))?void 0:e[1];if(!i)return n;let a=new Headers(n.headers);return a.set(sf,i),new Response(n.body,{status:n.status,statusText:n.statusText,headers:a})}async matchCachedIndex(t){var e,r;let{request:n,url:s}=t,i=nB.includes("production")?"production":void 0,a=i?this.getCachedIndexRouteName(n,s):void 0;if(void 0===i||void 0===a)return;let o=null==(e=this.assetsJson)?void 0:e.localeHtmlWeb;if(!o)return void this.reportCachedIndexMiss(s.pathname,"assets-json-unavailable");let u=s.pathname.startsWith("/p/"),l=this.shouldPinHtmlToWorkerVersion&&u?this.prefetchIndexHtmlData(n,this.version):void 0,c=this.locale??sh,h=null==(r=Object.entries(o).find(([t])=>t===c))?void 0:r[1];
1if(c!==sh&&(void 0===h||!await this.ensureLocaleSetupCached(c))){null==l||l.abort(),this.reportCachedIndexMiss(s.pathname,"locale-setup-unavailable");return}let f=h??o[sh];if(!f){null==l||l.abort(),this.reportCachedIndexMiss(s.pathname,"locale-html-path-unavailable");return}let d=await self.caches.match(f,{cacheName:this.cacheName});if(d){let t=l??(u?this.prefetchIndexHtmlData(n,this.getPrefetchAssetsVersion(d)):void 0),e=await this.prepareCachedIndexResponse({indexResponse:d,environmentName:i,routeName:a,url:s,prefetch:t});if(e)return{response:e,backgroundTasks:[this.refreshLocaleHtmlCache({localeHtmlPath:f,request:n})]};null==t||t.abort()}return this.raceLocaleHtmlRepairAgainstServer({request:n,localeHtmlPath:f,environmentName:i,routeName:a,url:s,prefetch:d?void 0:l})}async ensureLocaleSetupCached(t){var e;if(t===sh)return!0;let r=null==(e=this.assetsJson)||null==(e=e.files.find(e=>e.path.includes(`/localeSetup-${t}-`)&&e.path.endsWith(".js")))?void 0:e.path;if(!r)return!1;if(await self.caches.match(r,{cacheName:this.cacheName}))return!0;try{let t=await fetch(r);if(!t.ok)return!1;return await this.cacheLocaleSetupResponse(r,t),!0}catch(t){return this.reportLocaleSetupError(r,t),!1}}async cacheLocaleSetupResponse(t,e){let r=await self.caches.open(this.cacheName);await r.put(t,e.clone())}reportLocaleSetupError(t,e){this.sendMessageToClient({type:"service-worker-fetch-error",error:{message:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0,url:t}})}async raceLocaleHtmlRepairAgainstServer(t){let e,{request:r,localeHtmlPath:n,environmentName:s,routeName:i,url:a,prefetch:o}=t,u=new AbortController,l=()=>{var t;u.abort(),null==(t=e)||t.abort(),null==o||o.abort()},c=new AbortController,h=this.fetchServerNavigation({request:r,url:a,isDeployPreviewNavigation:!1,signal:c.signal}).then(t=>({source:"server",response:t})),f=this.prepareGeneratedTemplateCandidate({request:r,localeHtmlPath:n,environmentName:s,routeName:i,url:a,prefetch:o,cancellationSignal:u.signal,onPrefetchCreated:t=>{e=t,u.signal.aborted&&t.abort()}}),d=f.then(t=>{if(!(null!=t&&t.navigationResponse))throw Error("Locale HTML template unavailable");return{source:"cached-index",response:t.navigationResponse}}),p=await Promise.any([h,d]).catch(()=>(l(),h));"cached-index"===p.source?c.abort():l();let m=f.then(async t=>{t&&await this.cacheLocaleHtmlBestEffort(n,t.templateResponse)});return{...p,backgroundTasks:[m]}}getPrefetchAssetsVersion(t){return this.shouldPinHtmlToWorkerVersion?this.version:t.headers.get(sf)??void 0}async prepareCachedIndexResponse(t){let e,{indexResponse:r,environmentName:n,routeName:s,url:i,prefetch:a}=t,o=await r.text(),u=new Headers(r.headers);for(let t of sp)u.delete(t);(e=u.get("ETag"))&&!e.startsWith("W/")&&u.set("ETag",`W/${e}`);let l=this.shouldPinHtmlToWorkerVersion?null==(h=this.assetsJson)?void 0:h.contentSecurityPolicy:u.get("Content-Security-Policy")??(null==(f=this.assetsJson)?void 0:f.contentSecurityPolicy),c=l?function(t){var e;let r,{env:n,routeName:s,hostname:i,contentSecurityPolicy:a}=t;if(!("embedPublicPages"===s&&(r=nG[n],(null==(e=n0(i))?void 0:e.endsWith(n0(r)))||n1(i,n))))return function(t){var e;let{env:r,routeName:n,securityHeaders:s,isEmbeddedSite:i,cacheControl:a}=t,o={"Content-Type":"text/html; charset=utf-8","Cache-Control":a,Vary:"Accept-Language, Accept-Encoding",...s};return void 0!==n&&("staging"===r||"development"===r||"workspaceInvite"===(e=n)||"signupInvite"===e)&&(o["X-Robots-Tag"]="noindex"),i&&(o["X-Frame-Options"]=sl),o}({env:n,routeName:s,securityHeaders:{...function(){let t={};for(let[e,r]of Object.entries(su))void 0!==r&&(t[e]=r);return t}(),"Content-Security-Policy":a},isEmbeddedSite:!1,cacheControl:"no-cache"})}({env:n,routeName:s,hostname:i.hostname,contentSecurityPolicy:l}):void 0;if(!c)return void this.reportCachedIndexMiss(i.pathname,"security-headers-unavailable");var h,f,d,p,m=(t,e)=>u.set(t,e),y=t=>u.delete(t);for(let[t,e]of Object.entries(c))e===sl?y(t):m(t,e);u.set("Server-Timing",g(this.serviceWorkerVariant,this.version,this.buildTarget)),u.set("Document-Policy","include-js-call-stacks-in-crash-reports");let v=u.get("x-notion-client-canary-cohort"),w=this.shouldPinHtmlToWorkerVersion?null==(d=this.assetsJson)?void 0:d.clientCanaryCohort:"treatment"===v||"control"
1===v||"unassigned"===v?v:null==(p=this.assetsJson)?void 0:p.clientCanaryCohort,b=function(t){let{indexHtml:e,prefetchedItems:r,clientCanaryCohort:n,dynamicPageMeta:s}=t;if(!se(e))return;let i=e.indexOf(n9),a=e.indexOf(n6),o=e.slice(0,i).replace(nZ,sr("clientCanaryCohort",n)+sr("source","sw")).replace(n2,s),u=e.slice(i+n9.length,a),l=e.slice(a+n6.length),c=new TextEncoder;return new ReadableStream({start:async t=>{t.enqueue(c.encode(o));let e=!1,n=[],s=new Set(n8),i=r=>{t.enqueue(c.encode(r+u+n.join(""))),e=!0};if(r)for await(let a of r){if("bootData"===a.key){e||i(a.scriptTag);continue}s.has(a.key)&&(s.delete(a.key),e?t.enqueue(c.encode(a.scriptTag)):n.push(a.scriptTag))}for(let r of(e||i(sr("bootData",void 0)),s))t.enqueue(c.encode(sr(r,void 0)));t.enqueue(c.encode(sr("bootReady",!0)+l)),t.close()}})}({indexHtml:o,prefetchedItems:null==a?void 0:a.items,clientCanaryCohort:w,dynamicPageMeta:function(t){let{hostname:e,routeName:r,env:n}=t,s=[];if(!n1(e,n)){let t=nQ[n];s.push(`<meta name="apple-itunes-app" content="app-id=${t}">`)}if("login"===r||"signup"===r){let t=nK[n];s.push(`<link rel="canonical" href="${t}/${r}">`)}else void 0===r&&s.push('<meta name="robots" content="noindex">');return s.join("\n")}({hostname:i.hostname,routeName:s,env:n})});return b?new Response(b,{status:r.status,headers:u}):void this.reportCachedIndexMiss(i.pathname,"invalid-html-template")}async prepareGeneratedTemplateCandidate(t){let e;try{e=await this.fetchGeneratedLocaleHtmlTemplate(t.request)}catch(e){this.reportFetchError(t.localeHtmlPath,e);return}let r=e.clone();if(t.cancellationSignal.aborted)return{navigationResponse:void 0,templateResponse:r,prefetch:void 0};let n=t.prefetch??(t.url.pathname.startsWith("/p/")?this.prefetchIndexHtmlData(t.request,this.getPrefetchAssetsVersion(e)):void 0);if(n&&t.onPrefetchCreated(n),t.cancellationSignal.aborted)return null==n||n.abort(),{navigationResponse:void 0,templateResponse:r,prefetch:n};let s=await this.prepareCachedIndexResponse({indexResponse:e,environmentName:t.environmentName,routeName:t.routeName,url:t.url,prefetch:n});if(!s){null==n||n.abort();return}return{navigationResponse:s,templateResponse:r,prefetch:n}}async cacheLocaleHtmlBestEffort(t,e){try{let r=await self.caches.open(this.cacheName);await r.put(t,e)}catch(e){this.reportFetchError(t,e)}}async refreshLocaleHtmlCache(t){let{localeHtmlPath:e,request:r}=t;try{let t=await this.fetchGeneratedLocaleHtmlTemplate(r),n=await self.caches.open(this.cacheName);await n.put(e,t)}catch(t){this.reportFetchError(e,t)}}reportFetchError(t,e){this.sendMessageToClient({type:"service-worker-fetch-error",error:{message:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0,url:t}})}getCachedIndexRouteName(t,e){var r;if(!("navigate"!==t.mode||(r=e).searchParams.has("assetsVersion")||r.searchParams.has("clientBuildTarget")||"native"===r.searchParams.get("notionHtml")||sm(e))&&"/"!==e.pathname){switch(e.pathname){case"/home":return"home";case"/new":return"newPage";case"/navigate-to-block":return"navigateToBlock"}if(e.pathname.startsWith("/p/"))return!function(t){let e=t.split("/");if(e.length>2)return!1;let r=e.at(-1);return!!r&&(ng(r)||ng(r.slice(-32)))}(e.pathname.slice(3))?void 0:"page";if(e.pathname.startsWith(sc))return ng(e.pathname.slice(sc.length))?"space":void 0}}reportCachedIndexMiss(t,e){this.sendMessageToClient({type:"service-worker-cached-index-miss",reason:e,pathname:t})}prefetchIndexHtmlData(t,e){let r=new AbortController,n=e=>{r.signal.aborted||this.sendMessageToClient({type:"service-worker-fetch-error",error:{message:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0,url:t.url}})},s=fetch("/api/v3/prefetchIndexHtmlData",{method:"POST",headers:{"content-type":"application/json"},credentials:"include",referrer:t.url,signal:function(t){if("function"==typeof AbortSignal.any)return AbortSignal.any(t);let e=t.find(t=>t.aborted);if(e){let t=new AbortController;return t.abort(e.reason),t.signal}let r=new AbortController,n=[];for(let e of t){let t=()=>{n.forEach(t=>t()),r.abort(e.reason)};e.addEventListener("abort",t,{once:!0}),n.push(()=>e.removeEventListener("abort",t))}return r.signal}([r.signal,AbortSignal.timeout(3e3)]),body:JSON.stringify({url:t.url,keys:st,...void 0===e?{}:{clientRelease:{assetsVersion:e,clientBuildTarget:this.buildTarget}}})}).then(t=>({response:t}),t=>({error:t}));return{items:async function*(){let t=await s;if("error"in t)return void n(t.error);try{let{response:e}=t;if(!e.ok||!e.body)throw Error(`Could not prefetch cached index.html data (status ${e.status})`);for await(let t of sy(e.body,n)){if(!function(t){return!("object"!=typeof t||null===t||Array.isArray(t))}(t))continue;let e=t.key;"string"==typeof e&&a(st,e)&&(yield{key:e,scriptTag:sr(e,t.data)})}}catch(t){n(t)}}(),abort:()=>r.abort()}}})})()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.