1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467034,(t,e,r)=>{var n={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=u(t),s=i[0],f=i[1],a=new o((s+f)*3/4-f),l=0,c=f>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[l++]=e>>16&255,a[l++]=e>>8&255,a[l++]=255&e;return 2===f&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[l++]=255&e),1===f&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[l++]=e>>8&255,a[l++]=255&e),a},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,f=n-o;s<f;s+=16383)i.push(function(t,e,n){for(var o,i=[],s=e;s<n;s+=3)o=(t[s]<<16&0xff0000)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,s,s+16383>f?f:s+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,f=i.length;s<f;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t){var n=t,o=e;if(("string"!=typeof o||""===o)&&(o="utf8"),!f.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),u=s(i),a=u.write(n,o);return a!==i&&(u=u.slice(0,a)),u}if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(P(t,ArrayBuffer)||t&&P(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(P(t,SharedArrayBuffer)||t&&P(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),f.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var l=t.valueOf&&t.valueOf();if(null!=l&&l!==t)return f.from(l,e,r);var g=function(t){if(f.isBuffer(t)){var e=0|h(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?s(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(g)return g;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function a(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return a(t),s(t<0?0:0|h(t))}function c(t){for(var e=t.length<0?0:0|h(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=f,e.SlowBuffer=function(t){return+t!=t&&(t=0),f.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,f.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!f.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(t,e,r){return(a(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},f.allocUnsafe=function(t){return l(t)},f.allocUnsafeSlow=function(t){return l(t)};function h(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||P(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(t).length;default:if(o)return n?-1:S(t).length;e=(""+e).toLowerCase(),o=!0}}function g(t,e,r){var o,i,s,f=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=C[t[i]];return o}(this,e,r);case"utf8":case"utf-8":return m(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return o=this,i=e,s=r,0===i&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(f)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),f=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function d(t,e,r,n,o){var i;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(o)return -1;else r=t.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,o);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(
vendor: 12,881 bytes, line 1
1o)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return b(t,[e],r,n,o)}throw TypeError("val must be string, number or Buffer")}function b(t,e,r,n,o){var i,s=1,f=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,f/=2,u/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var l=-1;for(i=r;i<f;i++)if(a(t,i)===a(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*s}else -1!==l&&(i-=i-l),l=-1}else for(r+u>f&&(r=f-u),i=r;i>=0;i--){for(var c=!0,h=0;h<u;h++)if(a(t,i+h)!==a(e,h)){c=!1;break}if(c)return i}return -1}f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,e){if(P(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),P(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(t)||!f.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:+(n<r)},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=f.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(P(i,Uint8Array)&&(i=f.from(i)),!f.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},f.byteLength=p,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},f.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?m(this,0,t):g.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(t){if(!f.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(f.prototype[i]=f.prototype.inspect),f.prototype.compare=function(t,e,r,n,o){if(P(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,u=Math.min(i,s),a=this.slice(n,o),l=t.slice(e,r),c=0;c<u;++c)if(a[c]!==l[c]){i=a[c],s=l[c];break}return i<s?-1:+(s<i)},f.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return d(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return d(this,t,e,r,!1)};function m(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,f,u,a=t[o],l=null,c=a>239?4:a>223?3:a>191?2:1;if(o+c<=r)switch(c){case 1:a<128&&(l=a);break;case 2:(192&(i=t[o+1]))==128&&(u=(31&a)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],s=t[o+2],(192&i)==128&&(192&s)==128&&(u=(15&a)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=t[o+1],s=t[o+2],f=t[o+3],(192&i)==128&&(192&s)==128&&(192&f)==128&&(u=(15&a)<<18|(63&i)<<12|(63&s)<<6|63&f)>65535&&u<1114112&&(l=u)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var g="",y=0;y<p;)g+=String.fromCharCode.apply(String,h.slice(y,y+=4096));return g}function v(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function w(t,e,r,n,o,i){if(!f.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function E(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function A(t,e,r,n,i){return e*=1,r>>>=0,i||E(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function x(t,e,r,n,i){return e*=1,r>>>=0,i||E(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,f,u,a,l,c,h=this.length-e;if((void 0===r||r>h)&&(r=h),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var f,u=parseInt(e.substr(2*s,2),16);if((f=u)!=f)break;t[r+s]=u}return s}(this,t,e,r);case"utf8":case"utf-8":return o=e,i=r,I(S(t,this.length-o),this,o,i);case"ascii":return s=e,f=r,I(R(t),this,s,f);case"latin1":case"binary":return function(t,e,r,n){return I(R(e),t,r,n)}(this,t,e,r);case"base64":return u=e,a=r,I(O(t),this,u,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,c=r,I(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(t,this.length-l),this,l,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},f.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,f.prototype),n},f.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},f.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},f.prototype.readUInt8=function(t,e){return t>>>=0,e||v(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},f.prototype.readInt8=function(t,e){return(t>>>=0,e||v(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return t>>>=0,e||v(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||v(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||v(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||v(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,t,e,r,o,0)}var i=1,s=0;for(this[e]=255&t;++s<r&&(i*=256);)this[e+s]=t/i&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,t,e,r,o,0)}var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,t,e,r,o-1,-o)}var i=0,s=1,f=0;for(this[e]=255&t;++i<r&&(s*=256);)t<0&&0===f&&0!==this[e+i-1]&&(f=1),this[e+i]=(t/s|0)-f&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,t,e,r,o-1,-o)}var i=r-1,s=1,f=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===f&&0!==this[e+i+1]&&(f=1),this[e+i]=(t/s|0)-f&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeFloatLE=function(t,e,r){return A(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return A(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return x(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return x(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(!f.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=f.isBuffer(t)?t:f.from(t,n),u=s.length;
1if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%u]}return this};var B=/[^+/0-9A-Za-z-_]/g;function S(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function R(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function O(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function I(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function P(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var C=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},783:function(t,e){e.read=function(t,e,r,n,o){var i,s,f=8*o-n-1,u=(1<<f)-1,a=u>>1,l=-7,c=r?o-1:0,h=r?-1:1,p=t[e+c];for(c+=h,i=p&(1<<-l)-1,p>>=-l,l+=f;l>0;
1i=256*i+t[e+c],c+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+t[e+c],c+=h,l-=8);if(0===i)i=1-a;else{if(i===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),i-=a}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,f,u,a=8*i-o-1,l=(1<<a)-1,c=l>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,g=n?1:-1,y=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(f=+!!isNaN(e),s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?e+=h/u:e+=h*Math.pow(2,1-c),e*u>=2&&(s++,u/=2),s+c>=l?(f=0,s=l):s+c>=1?(f=(e*u-1)*Math.pow(2,o),s+=c):(f=e*Math.pow(2,c-1)*Math.pow(2,o),s=0));o>=8;t[r+p]=255&f,p+=g,f/=256,o-=8);for(s=s<<o|f,a+=o;a>0;t[r+p]=255&s,p+=g,s/=256,a-=8);t[r+p-g]|=128*y}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}},s=!0;try{n[t](r,r.exports,i),s=!1}finally{s&&delete o[t]}return r.exports}i.ab="/ROOT/node_modules/next/dist/compiled/buffer/",e.exports=i(72)},807386,(t,e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parse=r.stripComments=r.enableErrorLogging=r.disableErrorLogging=r.setErrorLogger=void 0;let n=console.error;function o(t){let e=[],r=!1,n="",o=!1,i=!1,s=!1,f=!1,u=!1,a=0;for(let l of t){if(r){if(o){o=!1,e.push(l);continue}if("\\"===l){o=!0,e.push(l);continue}if(l===n){r=!1,e.push(l);continue}e.push(l);continue}if(i){"\n"===l&&(i=!1);continue}let t=e.length,c=0===t?"":e[t-1];if(s){if("*"===l){f=!0;continue}if(f&&"/"===l){s=!1;continue}f=!1;continue}if(u){if("-"===l){a++;continue}if(a>=2&&">"===l){u=!1;continue}a=0;continue}if("/"===c&&"/"===l){e.pop(),i=!0;continue}if("/"===c&&"*"===l){e.pop(),s=!0,f=!1;continue}if('"'===l||"'"===l||"`"===l){r=!0,n=l,o=!1,e.push(l);continue}if(t>=4&&"-"===l&&"-"===e[t-1]&&"!"===e[t-2]&&"<"===e[t-3]){u=!0,e.pop(),e.pop(),e.pop();continue}e.push(l)}return e.join("")}function i(t){if(void 0!==t){if(null===t)return null;if(""===t)return"";t=(t=o(t)).replace(/\\+$/,t=>t.length%2==0?t:t.slice(0,-1));try{let e=JSON.parse(t);return i.lastParseReminding="",e}catch(u){let e=t.trimStart(),r,[n,o]=":"===e[0]?s(t,u,r):e.includes("```")?f(t,u,r):s(t,u,b);if(""===n&&t.length>0&&t.includes("```"))return f(t,u,r);if(i.lastParseReminding=o,i.onExtraToken&&o.length>0){let e=o.trimEnd();i.lastParseReminding=e,e.length>0&&i.onExtraToken(t,n,e)}return n}}}function s(t,e,r){let o=u[t[0]];if(o&&(o!==m||x(t,"true"))&&(o!==v||x(t,"false"))&&(o!==w||x(t,"null"))||(o=r),!o)throw n(`no parser registered for ${JSON.stringify(t[0])}:`,{s:t}),e;return o(t,e,r)}function f(t,e,r){let n="```json",o=t.indexOf("```"),i=t.indexOf(n),[f,u]=s(o===i?t.substring(i+n.length):t.substring(o+3),e,r),a=u.trimStart();return a.startsWith("```")&&(a=a.substring(3).trimStart()),[f,a]}r.setErrorLogger=function(t){n=t},r.disableErrorLogging=function(){n=()=>{}},r.enableErrorLogging=function(){n=console.error},r.stripComments=o,r.parse=i,(i=r.parse||(r.parse={})).onExtraToken=(t,e,r)=>{n("parsed json with extra tokens:",{text:t,data:e,reminding:r})};let u={};function a(t){return t.trimLeft()}function l(t,e,r){return s(t=a(t),e,r)}for(let t of(u[" "]=l,u["\r"]=l,u["\n"]=l,u[" "]=l,u["["]=function(t,e,r){t=t.substr(1);let n=[];for(t=a(t);t.length>0;){if("]"===t[0]){t=t.substr(1);break}let o=s(t,e,(t,e)=>b(t,e,r,[",","]"]));n.push(o[0]),","===(t=a(t=o[1]))[0]&&(t=a(t=t.substring(1)))}return[n,t]},"0123456789.-".slice()))u[t]=c;function c(t){for(let e=0;e<t.length;e++){if(u[t[e]]===c)continue;let r=t.substring(0,e);return t=t.substring(e),[h(r),t]}return[h(t),""]}function h(t){if("-"===t)return -0;let e=+t;return Number.isNaN(e)?t:e}function p(t){for(let e=1;e<t.length;e++){let r=t[e];if("\\"===r){e++;continue}if('"'===r){let r=g(t.substring(0,e+1));return t=t.substring(e+1),[JSON.parse(r),t]}}return[JSON.parse(g(t)+'"'),""]}function g(t){return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")}function y(t){for(let e=1;e<t.length;e++){let r=t[e];if("\\"===r){e++;continue}if("'"===r)return[g(t.substring(1,e)),t=t.substring(e+1)]}return[g(t.slice(1)),""]}function d(t){let e=[],r=!1,n=0;for(let o=1;o<t.length;o++){let i=t[o];if(r){e.push(i),r=!1;continue}if("\\"===i){r=!0,n++;continue}if("`"===i){let r=e.join("");return t=t.substring(r.length+n+2),[r,t]}e.push(i)}return[e.join(""),t.slice(1)]}function b(t,e,r,n=[" "]){let o=Math.min(...n.map(e=>{let r=t.indexOf(e);return -1===r?t.length:r}));return[t.substring(0,o).trim(),t.substring(o)]}function m(t,e){return E(t,"true",!0,e)}function v(t,e){return E(t,"false",!1,e)}function w(t,e){return E(t,"null",null,e)}function E(t,e,r,o){for(let i=e.length;i>=1;i--){if(t.startsWith(e.slice(0,i)))return[r,t.slice(i)];if(t.length>=i)throw n(`expect token "${e}" but got "${t.slice(0,i)}"`),o}{let r=JSON.stringify(t.slice(0,e.length));throw n(`unknown token starting with ${r}:`,{s:t}),o}}u['"']=p,u["'"]=y,u["`"]=d,u["{"]=function(t,e,r){t=t.substr(1);let n={};for(t=a(t);t.length>0;){var o,i;if("}"===t[0]){t=t.substr(1);break}let f=(i=[":","}"],'"'===(o=t)[0]?p(o):"'"===o[0]?y(o):"`"===o[0]?d(o):b(o,e,r,i)),u=f[0];if(":"!==(t=a(t=f[1]))[0]||0===(t=a(t=t.substr(1))).length){n[u]=void 0;break}let l=s(t,e,r);n[u]=l[0],","===(t=a(t=l[1]))[0]&&(t=a(t=t.substr(1)))}return[n,t]},u.t=m,u.f=v,u.n=w;let A=` \r 2{}[],:"'\``;function x(t,e){if(t.length>e.length&&!A.includes(t[e.length]))return!1;for(let r=Math.min(t.length,e.length);r>=1;r--){if(t.startsWith(e.slice(0,r)))return!0;
2if(t.length>=r)break}return!1}},401951,831696,t=>{"use strict";var e,r=t.i(807386),n=((e={}).NOUN="N",e.VERB="V",e.ADJECTIVE="A",e.PARTICLE="P",e.ADVERB="AD",e.SYMBOL="S",e.GRAMMAR="G",e);function o(t){if("string"==typeof t)return t}t.s(["PartOfSpeech",()=>n],831696);let i=new Set(Object.values(n));function s(t){let e=o(t);if(e&&i.has(e))return e}function f(t){try{if(null==t)return null;if("string"==typeof t)return{k:t};if(Array.isArray(t)){let[e,r,n,i]=t,f=o(e),u=o(r);if(!f&&!u)return null;return{k:f,t:u,r:o(n),p:s(i)}}if("object"==typeof t){let e=o(t.k),r=o(t.t),n=o(t.r),i=o(t.p);if(e??r??n??i)return{k:e,t:r,r:n,p:s(i)}}return null}catch{return null}}t.s(["deserializeSentences",0,function(t){try{if(!Array.isArray(t))return[];let e=[];for(let r of t){if(null==r||"object"!=typeof r)continue;let t="string"==typeof r.trans?r.trans:"",n=r.w,o=Array.isArray(n)?n.map(f).filter(t=>null!=t):[];e.push({trans:t,w:o})}return e}catch(t){return console.warn("[deserializeSentences] failed:",t),[]}},"parseJson",0,function(t){try{let e="string"==typeof t?t.replace(/^```.*|```$/g,""):String(t??"");return(0,r.parse)(e)}catch{return t}}],401951)},328545,997016,t=>{"use strict";var e=t.i(401951);function r(t,e){return{batchIndex:0,totalBatches:t,totalSegments:e,analyzedSegments:0}}async function n(t,o={}){let i=new TextDecoder,s="",f="",u=null,a=Date.now(),l=!1,c={current:null},h=new Map,p=t=>{let n=function(t){let e=t.trim();if(!e.startsWith("data:"))return null;let r=e.slice(5).trim();if(!r||"[DONE]"===r)return null;try{let t=JSON.parse(r);if(t&&"object"==typeof t&&"type"in t)return t}catch{}return null}(t);if(n){l=!0;let t=function(t,e,n,o){if("started"===t.type){let i=t.totalBatches??0,s=t.totalSegments??0;return n.current=r(i,s),o.clear(),console.info("[analyze-stream] started",i,"batches,",s,"segments"),e.onProgress?.(n.current),null}if("progress"===t.type&&null!=t.batchIndex){let r=t.totalBatches??n.current?.totalBatches??t.batchIndex,o=n.current?.totalSegments??0,i=n.current?.analyzedSegments??0,s={batchIndex:t.batchIndex,totalBatches:r,totalSegments:o,analyzedSegments:i};return n.current=s,console.info("[analyze-stream] progress batch",t.batchIndex,"/",r),e.onProgress?.(s),null}if("partial"===t.type&&t.sentences){let r,i=n.current?.totalBatches??0,s=n.current?.totalSegments??0;null!=t.batchIndex?(o.set(t.batchIndex,t.sentences),r=function(t){let e=[];for(let r of[...t.keys()].sort((t,e)=>t-e)){let n=t.get(r);n&&e.push(...n)}return e}(o)):(o.clear(),r=t.sentences);let f=t.completedBatches??(o.size>0?o.size:t.batchIndex??0),u={batchIndex:f,totalBatches:i,totalSegments:s||r.length,analyzedSegments:r.length};return n.current=u,e.onProgress?.(u),e.onPartial?.(r),console.info("[analyze-stream] partial sentences",r.length,"/",u.totalSegments,"batch",f,"/",i),r}if("complete"===t.type&&t.sentences){let r=n.current?.totalBatches??0,o=n.current?.totalSegments??t.sentences.length,i={batchIndex:t.completedBatches??t.batchIndex??n.current?.batchIndex??0,totalBatches:r,totalSegments:o,analyzedSegments:t.sentences.length};return n.current=i,e.onProgress?.(i),e.onPartial?.(t.sentences),t.sentences}if("error"===t.type)throw console.error("[analyze-stream] error",t.message,t.failedSegmentIds,"(see server terminal for batch response preview)"),Error(t.message??"Analysis failed");return null}(n,o,c,h);t&&(u=t);return}if(l)return;if(t.includes("[ERROR]")){let e=t.match(/\[ERROR\]([\s\S]+?)(?:\n|$)/);throw Error(e?.[1]?.trim()||"Stream error")}f+=t;let i=Date.now();if(i-a>=300){var s=f;if(s.trim())try{let t=(0,e.deserializeSentences)((0,e.parseJson)(s));u=t,o.onPartial?.(t)}catch{}a=i}};for(;;){let{done:e,value:r}=await t.read();if(e)break;let n=(s+=i.decode(r,{stream:!0})).split("\n");for(let t of(s=n.pop()??"",n))p(t)}if(s.trim()&&p(s),u)return u;if(f.trim())return(0,e.deserializeSentences)((0,e.parseJson)(f));throw Error("Analysis returned empty result")}t.s(["batchProgressPercent",0,function(t){return t.totalBatches<=0?0:Math.min(100,Math.round(t.batchIndex/t.totalBatches*100))},"createInitialAnalyzeProgress",0,r],997016),t.s(["processAnalyzeStreamResponse",0,n],328545)},466119,t=>{"use strict";t.i(401951),t.s([])},434481,501880,t=>{"use strict";t.i(831696),t.i(401951),t.i(466119);var e=t.i(328545);async function r(t){let r=await fetch(t.url,{method:"POST",headers:{"Content-Type":"application/json",...t.headers},credentials:t.credentials,body:JSON.stringify(t.body)});if(!r.ok){let e=await r.json().catch(()=>({}));if(t.onHttpError?.(e))throw Error("AnalyzeHttpError");throw Error(e.message)}let n=r.body?.getReader();if(!n)throw Error("Stream not available");return(0,e.processAnalyzeStreamResponse)(n,{onPartial:t.onPartial,onProgress:t.onProgress})}t.s(["streamBatchedAnalyze",0,r],501880),t.s([],434481)},671428,t=>{"use strict";var e=t.i(843476),r=t.i(647163);t.s(["Skeleton",0,function({className:t,...n}){return(0,e.jsx)("div",{"data-slot":"skeleton",className:(0,r.cn)("animate-pulse rounded-md bg-muted",t),...n})}])},841947,t=>{"use strict";let e=(0,t.i(475254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
2],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);t.s(["default",0,e])},964053,326999,995926,t=>{"use strict";var e=t.i(271645),r=t.i(981140),n=t.i(820783),o=t.i(30030),i=t.i(610772),s=t.i(369340),f=t.i(726330),u=t.i(765491),a=t.i(774606),l=t.i(296626),c=t.i(248425),h=t.i(303536),p=t.i(934620),g=t.i(985369),y=t.i(186312),d=t.i(991918),b=t.i(843476),m=Object.defineProperty,v=(t,e)=>m(t,"name",{value:e,configurable:!0}),w="Dialog",[E,A]=(0,o.createContextScope)(w),[x,B]=E(w),S=v(t=>{let{__scopeDialog:r,children:n,open:o,defaultOpen:f,onOpenChange:u,modal:a=!0}=t,l=e.useRef(null),c=e.useRef(null),[h,p]=(0,s.useControllableState)({prop:o,defaultProp:f??!1,onChange:u,caller:w}),[g,y]=e.useState(0),[d,m]=e.useState(0);return(0,b.jsx)(x,{scope:r,triggerRef:l,contentRef:c,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.useId)(),titlePresent:g>0,descriptionPresent:d>0,setTitleCount:y,setDescriptionCount:m,open:h,onOpenChange:p,onOpenToggle:e.useCallback(()=>p(t=>!t),[p]),modal:a,children:n})},"Dialog"),R=e.forwardRef(v(function(t,e){let{__scopeDialog:o,...i}=t,s=B("DialogTrigger",o),f=(0,n.useComposedRefs)(e,s.triggerRef);return(0,b.jsx)(c.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":Y(s.open
2),...i,ref:f,onClick:(0,r.composeEventHandlers)(t.onClick,s.onOpenToggle)})},"DialogTrigger")),O="DialogPortal",[I,P]=E(O,{forceMount:void 0}),C=v(t=>{let{__scopeDialog:r,forceMount:n,children:o,container:i}=t,s=B(O,r);return(0,b.jsx)(I,{scope:r,forceMount:n,children:e.Children.map(o,t=>(0,b.jsx)(l.Presence,{present:n||s.open,children:(0,b.jsx)(a.Portal,{asChild:!0,container:i,children:t})}))})},"DialogPortal"),D="DialogOverlay",T=e.forwardRef(v(function(t,e){let r=P(D,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=B(D,t.__scopeDialog);return i.modal?(0,b.jsx)(l.Presence,{present:n||i.open,children:(0,b.jsx)(j,{...o,ref:e})}):null},"DialogOverlay")),U=(0,d.createSlot)("DialogOverlay.RemoveScroll"),j=e.forwardRef(v(function(t,e){let{__scopeDialog:r,...o}=t,i=B(D,r),s=(0,f.useDismissableLayerSurface)(),u=(0,n.useComposedRefs)(e,s);return(0,b.jsx)(g.RemoveScroll,{as:U,allowPinchZoom:!0,shards:[i.contentRef],children:(0,b.jsx)(c.Primitive.div,{"data-state":Y(i.open),...o,ref:u,style:{pointerEvents:"auto",...o.style}})})},"DialogOverlayImpl")),L="DialogContent",k=e.forwardRef(v(function(t,e){let r=P(L,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=B(L,t.__scopeDialog);return(0,b.jsx)(l.Presence,{present:n||i.open,children:i.modal?(0,b.jsx)(M,{...o,ref:e}):(0,b.jsx)(z,{...o,ref:e})})},"DialogContent")),M=e.forwardRef(v(function(t,o){let i=B(L,t.__scopeDialog),s=e.useRef(null),f=(0,n.useComposedRefs)(o,i.contentRef,s);return e.useEffect(()=>{let t=s.current;if(t)return(0,y.hideOthers)(t)},[]),(0,b.jsx)(N,{...t,ref:f,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:(0,r.composeEventHandlers)(t.onCloseAutoFocus,t=>{t.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(t.onPointerDownOutside,t=>{let e=t.detail.originalEvent,r=0===e.button&&!0===e.ctrlKey;(2===e.button||r)&&t.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(t.onFocusOutside,t=>t.preventDefault())})},"DialogContentModal")),z=e.forwardRef(v(function(t,r){let n=B(L,t.__scopeDialog),o=e.useRef(!1),i=e.useRef(!1);return(0,b.jsx)(N,{...t,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{t.onCloseAutoFocus?.(e),e.defaultPrevented||(o.current||n.triggerRef.current?.focus(),e.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:e=>{t.onInteractOutside?.(e),e.defaultPrevented||(o.current=!0,"pointerdown"===e.detail.originalEvent.type&&(i.current=!0));let r=e.target;n.triggerRef.current?.contains(r)&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&i.current&&e.preventDefault()}})},"DialogContentNonModal")),N=e.forwardRef(v(function(t,e){let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,"aria-describedby":s,...a}=t,l=B(L,r);return(0,h.useFocusGuards)(),(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,b.jsx)(f.DismissableLayer,{role:"dialog",id:l.contentId,"aria-labelledby":l.titlePresent?l.titleId:void 0,"aria-describedby":l.descriptionPresent?H(s,l.descriptionId):s,"data-state":Y(l.open),...a,ref:e,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl")),_=e.forwardRef(v(function(t,e){let{__scopeDialog:r,...n}=t,o=B("DialogTitle",r),{setTitleCount:i}=o;return(0,p.useLayoutEffect)(()=>(i(t=>t+1),()=>i(t=>t-1)),[i]),(0,b.jsx)(c.Primitive.h2,{id:o.titleId,...n,ref:e})},"DialogTitle")),F=e.forwardRef(v(function(t,e){let{__scopeDialog:r,...n}=t,o=B("DialogDescription",r),{setDescriptionCount:i}=o;return(0,p.useLayoutEffect)(()=>(i(t=>t+1),()=>i(t=>t-1)),[i]),(0,b.jsx)(c.Primitive.p,{id:o.descriptionId,...n,ref:e})},"DialogDescription")),J=e.forwardRef(v(function(t,e){let{__scopeDialog:n,...o}=t,i=B("DialogClose",n);return(0,b.jsx)(c.Primitive.button,{type:"button",...o,ref:e,onClick:(0,r.composeEventHandlers)(t.onClick,()=>i.onOpenChange(!1))})},"DialogClose")),W=v(t=>t.children,"WarningProvider");function H(...t){let e=new Set;for(let r of t)if("string"==typeof r)for(let t of String(r).trim().split(/\s+/))t&&e.add(t);return e.size>0?Array.from(e).join(" "):void 0}function Y(t){return t?"open":"closed"}v(H,"concatAriaDescribedby"),v(Y,"getState"),t.s(["Close",0,J,"Content",0,k,"Description",0,F,"Dialog",0,S,"DialogClose",0,J,"DialogContent",0,k,"DialogDescription",0,F,"DialogOverlay",0,T,"DialogPortal",0,C,"DialogTitle",0,_,"DialogTrigger",0,R,"Overlay",0,T,"Portal",0,C,"Root",0,S,"Title",0,_,"Trigger",0,R,"WarningProvider",0,W,"createDialogScope",0,A],326999);var $=t.i(326999);t.s(["Dialog",0,$],964053);var V=t.i(841947);t.s(["XIcon",()=>V.default],995926)}]);
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.