1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5922],{3757:(t,e,r)=>{function n(t,e="utf8"){return new TextDecoder(e).decode(t)}r.d(e,{D4:()=>L});let i=new TextEncoder,s=(()=>{let t=new Uint8Array(4);return!((new Uint32Array(t.buffer)[0]=1)&t[0])})(),a={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class o{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(t=8192,e={}){let r=!1;"number"==typeof t?t=new ArrayBuffer(t):(r=!0,this.lastWrittenByte=t.byteLength);let n=e.offset?e.offset>>>0:0,i=t.byteLength-n,s=n;(ArrayBuffer.isView(t)||t instanceof o)&&(t.byteLength!==t.buffer.byteLength&&(s=t.byteOffset+n),t=t.buffer),r?this.lastWrittenByte=i:this.lastWrittenByte=0,this.buffer=t,this.length=i,this.byteLength=i,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,i),this._mark=0,this._marks=[]}available(t=1){return this.offset+t<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(t=1){return this.offset+=t,this}back(t=1){return this.offset-=t,this}seek(t){return this.offset=t,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let t=this._marks.pop();if(void 0===t)throw Error("Mark stack empty");return this.seek(t),this}rewind(){return this.offset=0,this}ensureAvailable(t=1){if(!this.available(t)){let e=2*(this.offset+t),r=new Uint8Array(e);r.set(new Uint8Array(this.buffer)),this.buffer=r.buffer,this.length=e,this.byteLength=e,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(t=1){return this.readArray(t,"uint8")}readArray(t,e){let r=a[e].BYTES_PER_ELEMENT*t,n=this.byteOffset+this.offset,i=this.buffer.slice(n,n+r);if(this.littleEndian===s&&"uint8"!==e&&"int8"!==e){let t=new Uint8Array(this.buffer.slice(n,n+r));t.reverse();let i=new a[e](t.buffer);return this.offset+=r,i.reverse(),i}let o=new a[e](i);return this.offset+=r,o}readInt16(){let t=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,t}readUint16(){let t=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,t}readInt32(){let t=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,t}readUint32(){let t=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat32(){let t=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat64(){let t=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,t}readBigInt64(){let t=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,t}readBigUint64(){let t=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,t}readChar(){return String.fromCharCode(this.readInt8())}readChars(t=1){let e="";for(let r=0;r<t;r++)e+=this.readChar();return e}readUtf8(t=1){return n(this.readBytes(t))}decodeText(t=1,e="utf8"){return n(this.readBytes(t),e)}writeBoolean(t){return this.writeUint8(255*!!t),this}writeInt8(t){return this.ensureAvailable(1),this._data.setInt8(this.offset++,t),this._updateLastWrittenByte(),this}writeUint8(t){return this.ensureAvailable(1),this._data.setUint8(this.offset++,t),this._updateLastWrittenByte(),this}writeByte(t){return this.writeUint8(t)}writeBytes(t){this.ensureAvailable(t.length);for(let e=0;e<t.length;e++)this._data.setUint8(this.offset++,t[e]);return this._updateLastWrittenByte(),this}writeInt16(t){return this.ensureAvailable(2),this._data.setInt16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(t){return this.ensureAvailable(2),this._data.setUint16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(t){return this.ensureAvailable(4),this._data.setInt32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(t){return this.ensureAvailable(4),this._data.setUint32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(t){return this.ensureAvailable(4),this._data.setFloat32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(t){return this.ensureAvailable(8),this._data.setFloat64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(t){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(t){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(t){return this.writeUint8(t.charCodeAt(0))}writeChars(t){for(let e=0;e<t.length;e++)this.writeUint8(t.charCodeAt(e));return this}writeUtf8(t){return this.writeBytes(i.encode(t))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}var h,l=r(60654);let f=[];for(let t=0;t<256;t++){let e=t;for(let t=0;t<8;t++)1&e?e=0xedb88320^e>>>1:e>>>=1;f[t]=e}function d(t,e,r){let n=t.readUint32(),i=(0xffffffff^function(t,e,r){let n=0xffffffff;for(let t=0;t<r;t++)n=f[(n^e[t])&255]^n>>>8;return n}(0,new Uint8Array(t.buffer,t.byteOffset+t.offset-e-4,e),e))>>>0;if(i!==n)throw Error(`CRC mismatch for chunk ${r}
1. Expected ${n}, found ${i}`)}function u(t,e,r){for(let n=0;n<r;n++)e[n]=t[n]}function c(t,e,r,n){let i=0;for(;i<n;i++)e[i]=t[i];for(;i<r;i++)e[i]=t[i]+e[i-n]&255}function p(t,e,r,n){let i=0;if(0===r.length)for(;i<n;i++)e[i]=t[i];else for(;i<n;i++)e[i]=t[i]+r[i]&255}function g(t,e,r,n,i){let s=0;if(0===r.length){for(;s<i;s++)e[s]=t[s];for(;s<n;s++)e[s]=t[s]+(e[s-i]>>1)&255}else{for(;s<i;s++)e[s]=t[s]+(r[s]>>1)&255;for(;s<n;s++)e[s]=t[s]+(e[s-i]+r[s]>>1)&255}}function y(t,e,r,n,i){let s=0;if(0===r.length){for(;s<i;s++)e[s]=t[s];for(;s<n;s++)e[s]=t[s]+e[s-i]&255}else{for(;s<i;s++)e[s]=t[s]+r[s]&255;for(;s<n;s++)e[s]=t[s]+function(t,e,r){let n=t+e-r,i=Math.abs(n-t),s=Math.abs(n-e),a=Math.abs(n-r);return i<=s&&i<=a?t:s<=a?e:r}(e[s-i],r[s],r[s-i])&255}}let _=255===new Uint8Array(new Uint16Array([255]).buffer)[0],w=255===new Uint8Array(new Uint16Array([255]).buffer)[0],b=new Uint8Array(0);function m(t){let e,r,{data:n,width:i,height:s,channels:a,depth:o}=t,h=Math.ceil(o/8)*a,l=Math.ceil(o/8*a*i),f=new Uint8Array(s*l),d=b,_=0;for(let t=0;t<s;t++){switch(e=n.subarray(_+1,_+1+l),r=f.subarray(t*l,(t+1)*l),n[_]){case 0:u(e,r,l);break;case 1:c(e,r,l,h);break;case 2:p(e,r,d,l);break;case 3:g(e,r,d,l,h);break;case 4:y(e,r,d,l,h);break;default:throw Error(`Unsupported filter: ${n[_]}`)}d=r,_+=l+1}if(16!==o)return f;{let t=new Uint16Array(f.buffer);if(w)for(let e=0;e<t.length;e++){var m;t[e]=(255&(m=t[e]))<<8|m>>8&255}return t}}let v=Uint8Array.of(137,80,78,71,13,10,26,10);function E(t){if(!function(t){if(t.length<v.length)return!1;for(let e=0;e<v.length;e++)if(t[e]!==v[e])return!1;return!0}(t.readBytes(v.length)))throw Error("wrong PNG signature")}let A=new TextDecoder("latin1"),U=/^[\u0000-\u00FF]*$/;function k(t){for(t.mark();0!==t.readByte(););let e=t.offset;t.reset();let r=A.decode(t.readBytes(e-t.offset-1));t.skip(1);if(function(t){if(!U.test(t))throw Error("invalid latin1 text")}(r),0===r.length||r.length>79)throw Error("keyword length must be between 1 and 79");return r}let O={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},C={UNKNOWN:-1,DEFLATE:0},x={UNKNOWN:-1,ADAPTIVE:0},R={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},N={NONE:0,BACKGROUND:1,PREVIOUS:2},D={SOURCE:0,OVER:1};class T extends o{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(t,e={}){super(t);let{checkCrc:r=!1}=e;this._checkCrc=r,this._inflator=new l.EL,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=C.UNKNOWN,this._filterMethod=x.UNKNOWN,this._interlaceMethod=R.UNKNOWN,this._colorType=O.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(E(this);!this._end;){let t=this.readUint32(),e=this.readChars(4);this.decodeChunk(t,e)}return this.decodeImage(),this._png}decodeApng(){for(E(this);!this._end;){let t=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(t,e)}return this.decodeApngImage(),this._apng}decodeChunk(t,e){let r=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case"tEXt":!function(t,e,r){var n,i;let s=k(e);t[s]=(n=e,i=r-s.length-1,A.decode(n.readBytes(i)))}(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t)}if(this.offset-r!==t)throw Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?d(this,t+4,e):this.skip(4)}decodeApngChunk(t,e){let r=this.offset;switch("fdAT"!==e&&"IDAT"!==e&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,e),this.offset=r+t}if(this.offset-r!==t)throw Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?d(this,t+4,e):this.skip(4)}decodeIHDR(){let t,e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(t){if(1!==t&&2!==t&&4!==t&&8!==t&&16!==t)throw Error(`invalid bit depth: ${t}`);return t}(this.readUint8());let r=this.readUint8();switch(this._colorType=r,r){case O.GREYSCALE:t=1;break;case O.TRUECOLOUR:t=3;break;case O.INDEXED_COLOUR:t=1;break;case O.GREYSCALE_ALPHA:t=2;break;case O.TRUECOLOUR_ALPHA:t=4;break;case O.UNKNOWN:default:throw Error(`Unknown color type: ${r}`)}if(this._png.channels=t,this._compressionMethod=this.readUint8(),this._compressionMethod!==C.DEFLATE)throw Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let t={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(t)}
1decodePLTE(t){if(t%3!=0)throw RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);let e=t/3;this._hasPalette=!0;let r=[];this._palette=r;for(let t=0;t<e;t++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(t){this._writingDataChunks=!0;let e=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,e,t)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodeFDAT(t){this._writingDataChunks=!0;let e=t,r=this.offset+this.byteOffset;if(r+=4,e-=4,this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodetRNS(t){switch(this._colorType){case O.GREYSCALE:case O.TRUECOLOUR:if(t%2!=0)throw RangeError(`tRNS chunk length must be a multiple of 2. Got ${t}`);if(t/2>this._png.width*this._png.height)throw Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let e=0;e<t/2;e++)this._transparency[e]=this.readUint16();break;case O.INDEXED_COLOUR:{if(t>
1this._palette.length)throw Error(`tRNS chunk contains more alpha values than there are palette colors (${t} vs ${this._palette.length})`);let e=0;for(;e<t;e++){let t=this.readByte();this._palette[e].push(t)}for(;e<this._palette.length;e++)this._palette[e].push(255);break}case O.UNKNOWN:case O.GREYSCALE_ALPHA:case O.TRUECOLOUR_ALPHA:default:throw Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(t){let e=k(this),r=this.readUint8();if(r!==C.DEFLATE)throw Error(`Unsupported iCCP compression method: ${r}`);let n=this.readBytes(t-e.length-2);this._png.iccEmbeddedProfile={name:e,profile:(0,l.UD)(n)}}decodepHYs(){let t=this.readUint32(),e=this.readUint32(),r=this.readByte();this._png.resolution={x:t,y:e,unit:r}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let t=0;t<this._numberOfFrames;t++){let e={sequenceNumber:this._frames[t].sequenceNumber,delayNumber:this._frames[t].delayNumber,delayDenominator:this._frames[t].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(t);if(r){if(r.data=m({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===t||0===r.xOffset&&0===r.yOffset&&r.width===this._png.width&&r.height===this._png.height)e.data=r.data;else{let n=this._apng.frames.at(t-1);this.disposeFrame(r,n,e),this.addFrameDataToCanvas(e,r)}this._apng.frames.push(e)}}return this._apng}disposeFrame(t,e,r){switch(t.disposeOp){case N.NONE:break;case N.BACKGROUND:for(let e=0;e<this._png.height;e++)for(let n=0;n<this._png.width;n++){let i=(e*t.width+n)*this._png.channels;for(let t=0;t<this._png.channels;t++)r.data[i+t]=0}break;case N.PREVIOUS:r.data.set(e.data);break;default:throw Error("Unknown disposeOp")}}addFrameDataToCanvas(t,e){let r=1<<this._png.depth,n=(t,r)=>({index:((t+e.yOffset)*this._png.width+e.xOffset+r)*this._png.channels,frameIndex:(t*e.width+r)*this._png.channels});switch(e.blendOp){case D.SOURCE:for(let r=0;r<e.height;r++)for(let i=0;i<e.width;i++){let{index:s,frameIndex:a}=n(r,i);for(let r=0;r<this._png.channels;r++)t.data[s+r]=e.data[a+r]}break;case D.OVER:for(let i=0;i<e.height;i++)for(let s=0;s<e.width;s++){let{index:a,frameIndex:o}=n(i,s);for(let n=0;n<this._png.channels;n++){let i=e.data[o+this._png.channels-1]/r,s=Math.floor(i*(n%(this._png.channels-1)==0?1:e.data[o+n])+(1-i)*t.data[a+n]);t.data[a+n]+=s}}break;default:throw Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw Error(`Error while decompressing the data: ${this._inflator.err}`);let t=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==x.ADAPTIVE)throw Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===R.NO_INTERLACE)this._png.data=m({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===R.ADAM7)this._png.data=function(t){let{data:e,width:r,height:n,channels:i,depth:s}=t,a=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],o=Math.ceil(s/8)*i,h=new Uint8Array(n*r*o),l=0;for(let t=0;t<7;t++){let i=a[t],s=Math.ceil((r-i.x)/i.xStep),f=Math.ceil((n-i.y)/i.yStep);if(s<=0||f<=0)continue;let d=s*o,_=new Uint8Array(d);for(let t=0;t<f;t++){let a=e[l++],f=e.subarray(l,l+d);l+=d;let w=new Uint8Array(d);switch(a){case 0:u(f,w,d);break;case 1:c(f,w,d,o);break;case 2:p(f,w,_,d);break;case 3:g(f,w,_,d,o);break;case 4:y(f,w,_,d,o);break;default:throw Error(`Unsupported filter: ${a}`)}_.set(w);for(let e=0;e<s;e++){let s=i.x+e*i.xStep,a=i.y+t*i.yStep;if(!(s>=r)&&!(a>=n))for(let t=0;t<o;t++)h[(a*r+s)*o+t]=w[e*o+t]}}}if(16!==s)return h;{let t=new Uint16Array(h.buffer);if(_)for(let e=0;e<t.length;e++){var f;t[e]=(255&(f=t[e]))<<8|f>>8&255}return t}}({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){let t=this._inflator.result,e=this._frames.at(-1);e?e.data=t:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:N.NONE,blendOp:D.SOURCE,data:t}),this._inflator=new l.EL,this._writingDataChunks=!1}}function L(t,e){return new T(t,e).decode()}!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"}
1(h||(h={}))},23664:(t,e,r)=>{r.d(e,{A:()=>n});let n=(0,r(71847).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},27599:(t,e,r)=>{r.d(e,{bL:()=>m,zi:()=>E});var n=r(12115),i=r(92556),s=r(94446),a=r(3468),o=r(23558),h=r(78108),l=r(84288),f=r(97602),d=r(95155),u="Switch",[c,p]=(0,a.A)(u),[g,y]=c(u);function _(t){let{__scopeSwitch:e,checked:r,children:i,defaultChecked:s,disabled:a,form:h,name:l,onCheckedChange:f,required:c,value:p="on",internal_do_not_use_render:y}=t,[_,w]=(0,o.i)({prop:r,defaultProp:null!=s&&s,onChange:f,caller:u}),[b,m]=n.useState(null),[v,E]=n.useState(null),A=n.useRef(!1),U=!b||!!h||!!b.closest("form"),k={checked:_,setChecked:w,disabled:a,control:b,setControl:m,name:l,form:h,value:p,hasConsumerStoppedPropagationRef:A,required:c,defaultChecked:s,isFormControl:U,bubbleInput:v,setBubbleInput:E};return(0,d.jsx)(g,{scope:e,...k,children:"function"==typeof y?y(k):i})}var w="SwitchTrigger",b=n.forwardRef((t,e)=>{let{__scopeSwitch:r,onClick:n,...a}=t,{value:o,disabled:h,checked:l,required:u,setControl:c,setChecked:p,hasConsumerStoppedPropagationRef:g,isFormControl:_,bubbleInput:b}=y(w,r),m=(0,s.s)(e,c);return(0,d.jsx)(f.sG.button,{type:"button",role:"switch","aria-checked":l,"aria-required":u,"data-state":k(l),"data-disabled":h?"":void 0,disabled:h,value:o,...a,ref:m,onClick:(0,i.mK)(n,t=>{p(t=>!t),b&&_&&(g.current=t.isPropagationStopped(),g.current||t.stopPropagation())})})});b.displayName=w;var m=n.forwardRef((t,e)=>{let{__scopeSwitch:r,name:n,checked:i,defaultChecked:s,required:a,disabled:o,value:h,onCheckedChange:l,form:f,...u}=t;return(0,d.jsx)(_,{__scopeSwitch:r,checked:i,defaultChecked:s,disabled:o,required:a,onCheckedChange:l,name:n,form:f,value:h,internal_do_not_use_render:t=>{let{isFormControl:n}=t;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(b,{...u,ref:e,__scopeSwitch:r}),n&&(0,d.jsx)(U,{__scopeSwitch:r})]})}})});m.displayName=u;var v="SwitchThumb",E=n.forwardRef((t,e)=>{let{__scopeSwitch:r,...n}=t,i=y(v,r);return(0,d.jsx)(f.sG.span,{"data-state":k(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});E.displayName=v;var A="SwitchBubbleInput",U=n.forwardRef((t,e)=>{let{__scopeSwitch:r,...i}=t,{control:a,hasConsumerStoppedPropagationRef:o,checked:u,defaultChecked:c,required:p,disabled:g,name:_,value:w,form:b,bubbleInput:m,setBubbleInput:v}=y(A,r),E=(0,s.s)(e,v),U=(0,h.Z)(u),k=(0,l.X)(a);n.useEffect(()=>{if(!m)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,e=!o.current;if(U!==u&&t){let r=new Event("click",{bubbles:e});t.call(m,u),m.dispatchEvent(r)}},[m,U,u,o]);let O=n.useRef(u);return(0,d.jsx)(f.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=c?c:O.current,required:p,disabled:g,name:_,value:w,form:b,...i,tabIndex:-1,ref:E,style:{...i.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function k(t){return t?"checked":"unchecked"}U.displayName=A},33861:(t,e,r)=>{r.d(e,{A:()=>n});function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}},35363:(t,e,r)=>{r.d(e,{$:()=>P});var n=Uint8Array,i=Uint16Array,s=Int32Array,a=new n([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),o=new n([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),h=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(t,e){for(var r=new i(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];for(var a=new s(r[30]),n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)a[o]=o-r[n]<<5|n;return{b:r,r:a}},f=l(a,2),d=f.b,u=f.r;d[28]=258,u[258]=28;for(var c=l(o,0),p=(c.b,c.r),g=new i(32768),y=0;y<32768;++y){var _=(43690&y)>>1|(21845&y)<<1;_=(61680&(_=(52428&_)>>2|(13107&_)<<2))>>4|(3855&_)<<4,g[y]=((65280&_)>>8|(255&_)<<8)>>1}for(var w=function(t,e,r){for(var n,s=t.length,a=0,o=new i(e);a<s;++a)t[a]&&++o[t[a]-1];var h=new i(e);for(a=1;a<e;++a)h[a]=h[a-1]+o[a-1]<<1;if(r){n=new i(1<<e);var l=15-e;for(a=0;a<s;++a)if(t[a])for(var f=a<<4|t[a],d=e-t[a],u=h[t[a]-1]++<<d,c=u|(1<<d)-1;u<=c;++u)n[g[u]>>l]=f}else for(a=0,n=new i(s);a<s;++a)t[a]&&(n[a]=g[h[t[a]-1]++]>>15-t[a]);return n},b=new n(288),y=0;y<144;++y)b[y]=8;for(var y=144;y<256;++y)b[y]=9;for(var y=256;y<280;++y)b[y]=7;for(var y=280;y<288;++y)b[y]=8;for(var m=new n(32),y=0;y<32;++y)m[y]=5;
1var v=w(b,9,0),E=w(m,5,0),A=function(t){return(t+7)/8|0},U=function(t,e,r){r<<=7&e;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8},k=function(t,e,r){r<<=7&e;var n=e/8|0;t[n]|=r,t[n+1]|=r>>8,t[n+2]|=r>>16},O=function(t,e){for(var r=[],s=0;s<t.length;++s)t[s]&&r.push({s:s,f:t[s]});var a=r.length,o=r.slice();if(!a)return{t:L,l:0};if(1==a){var h=new n(r[0].s+1);return h[r[0].s]=1,{t:h,l:1}}r.sort(function(t,e){return t.f-e.f}),r.push({s:-1,f:25001});var l=r[0],f=r[1],d=0,u=1,c=2;for(r[0]={s:-1,f:l.f+f.f,l:l,r:f};u!=a-1;)l=r[r[d].f<r[c].f?d++:c++],f=r[d!=u&&r[d].f<r[c].f?d++:c++],r[u++]={s:-1,f:l.f+f.f,l:l,r:f};for(var p=o[0].s,s=1;s<a;++s)o[s].s>p&&(p=o[s].s);var g=new i(p+1),y=C(r[u-1],g,0);if(y>e){var s=0,_=0,w=y-e,b=1<<w;for(o.sort(function(t,e){return g[e.s]-g[t.s]||t.f-e.f});s<a;++s){var m=o[s].s;if(g[m]>e)_+=b-(1<<y-g[m]),g[m]=e;else break}for(_>>=w;_>0;){var v=o[s].s;g[v]<e?_-=1<<e-g[v]++-1:++s}for(;s>=0&&_;--s){var E=o[s].s;g[E]==e&&(--g[E],++_)}y=e}return{t:new n(g),l:y}},C=function(t,e,r){return -1==t.s?Math.max(C(t.l,e,r+1),C(t.r,e,r+1)):e[t.s]=r},x=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new i(++e),n=0,s=t[0],a=1,o=function(t){r[n++]=t},h=1;h<=e;++h)if(t[h]==s&&h!=e)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:r.subarray(0,n),n:e}},R=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},N=function(t,e,r){var n=r.length,i=A(e+2);t[i]=255&n,t[i+1]=n>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<n;++s)t[i+s+4]=r[s];return(i+4+n)*8},D=function(t,e,r,n,s,l,f,d,u,c,p){U(e,p++,r),++s[256];for(var g,y,_,A,C=O(s,15),D=C.t,T=C.l,L=O(l,15),I=L.t,S=L.l,B=x(D),M=B.c,F=B.n,P=x(I),j=P.c,K=P.n,W=new i(19),G=0;G<M.length;++G)++W[31&M[G]];for(var G=0;G<j.length;++G)++W[31&j[G]];for(var $=O(W,7),H=$.t,q=$.l,V=19;V>4&&!H[h[V-1]];--V);var Y=c+5<<3,X=R(s,b)+R(l,m)+f,z=R(s,D)+R(l,I)+f+14+3*V+R(W,H)+2*W[16]+3*W[17]+7*W[18];if(u>=0&&Y<=X&&Y<=z)return N(e,p,t.subarray(u,u+c));if(U(e,p,1+(z<X)),p+=2,z<X){g=w(D,T,0),y=D,_=w(I,S,0),A=I;var Z=w(H,q,0);U(e,p,F-257),U(e,p+5,K-1),U(e,p+10,V-4),p+=14;for(var G=0;G<V;++G)U(e,p+3*G,H[h[G]]);p+=3*V;for(var J=[M,j],Q=0;Q<2;++Q)for(var tt=J[Q],G=0;G<tt.length;++G){var te=31&tt[G];U(e,p,Z[te]),p+=H[te],te>15&&(U(e,p,tt[G]>>5&127),p+=tt[G]>>12)}}else g=v,y=b,_=E,A=m;for(var G=0;G<d;++G){var tr=n[G];if(tr>255){var te=tr>>18&31;k(e,p,g[te+257]),p+=y[te+257],te>7&&(U(e,p,tr>>23&31),p+=a[te]);var tn=31&tr;k(e,p,_[tn]),p+=A[tn],tn>3&&(k(e,p,tr>>5&8191),p+=o[tn])}else k(e,p,g[tr]),p+=y[tr]}return k(e,p,g[256]),p+y[256]},T=new s([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),L=new n(0),I=function(t,e,r,h,l,f){var d,c,g=f.z||t.length,y=new n(h+g+5*(1+Math.ceil(g/7e3))+l),_=y.subarray(h,y.length-l),w=f.l,b=7&(f.r||0);if(e){b&&(_[0]=f.r>>3);for(var m=T[e-1],v=m>>13,E=8191&m,U=(1<<r)-1,k=f.p||new i(32768),O=f.h||new i(U+1),C=Math.ceil(r/3),x=2*C,R=function(e){return(t[e]^t[e+1]<<C^t[e+2]<<x)&U},L=new s(25e3),I=new i(288),S=new i(32),B=0,M=0,F=f.i||0,P=0,j=f.w||0,K=0;F+2<g;++F){var W=R(F),G=32767&F,$=O[W];if(k[G]=$,O[W]=G,j<=F){var H=g-F;if((B>7e3||P>24576)&&(H>423||!w)){b=D(t,_,0,L,I,S,M,P,K,F-K,b),P=B=M=0,K=F;for(var q=0;q<286;++q)I[q]=0;for(var q=0;q<30;++q)S[q]=0}var V=2,Y=0,X=E,z=G-$&32767;if(H>2&&W==R(F-z))for(var Z=Math.min(v,H)-1,J=Math.min(32767,F),Q=Math.min(258,H);z<=J&&--X&&G!=$;){if(t[F+V]==t[F+V-z]){for(var tt=0;tt<Q&&t[F+tt]==t[F+tt-z];++tt);if(tt>V){if(V=tt,Y=z,tt>Z)break;for(var te=Math.min(z,tt-2),tr=0,q=0;q<te;++q){var tn=F-z+q&32767,ti=k[tn],ts=tn-ti&32767;ts>tr&&(tr=ts,$=tn)}}}$=k[G=$],z+=G-$&32767}if(Y){L[P++]=0x10000000|u[V]<<18|p[Y];var ta=31&u[V],to=31&p[Y];M+=a[ta]+o[to],++I[257+ta],++S[to],j=F+V,++B}else L[P++]=t[F],++I[t[F]]}}for(F=Math.max(F,j);F<g;++F)L[P++]=t[F],++I[t[F]];b=D(t,_,w,L,I,S,M,P,K,F-K,b),w||(f.r=7&b|_[b/8|0]<<3,b-=7,f.h=O,f.p=k,f.i=F,f.w=j)}else{for(var F=f.w||0;F<g+w;F+=65535){var th=F+65535;th>=g&&(_[b/8|0]=w,th=g),b=N(_,b+1,t.subarray(F,th))}f.i=g}return d=0,c=h+A(b)+l,(null==d||d<0)&&(d=0),(null==c||c>y.length)&&(c=y.length),new n(y.subarray(d,c))},S=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=n+=r[a];n=(65535&n)+15*(n>>16),i=(65535&i)+15*(i>>16)}t=n,e=i},d:function(){return t%=65521,e%=65521,(255&t)<<24|(65280&t)<<8|(255&e)<<8|e>>8}}},B=function(t,e,r,i,s){if(!s&&(s={l:1},e.dictionary)){var a=e.dictionary.subarray(-32768),o=new n(a.length+t.length);o.set(a),o.set(t,a.length),t=o,s.w=a.length}return I(t,null==e.level?6:e.level,null==e.mem?s.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):20:12+e.mem,r,i,s)},M=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},F=function(t,e){var r=e.level;if(t[0]=120,t[1]=(0==r?0:r<6?1:9==r?3:2)<<6|(e.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,e.dictionary){var n=S();n.p(e.dictionary),M(t,2,n.d())}};function P(t,e){e||(e={});var r=S();r.p(t);var n=B(t,e,e.dictionary?6:2,4);return F(n,e),M(n,n.length-4,r.d()),n}var j="undefined"!=typeof TextDecoder&&new TextDecoder;try{j.decode(L,{stream:!0})}catch(t){}"function"==typeof queueMicrotask&&queueMicrotask},39867:(t,e,r)=>{r.d(e,{A:()=>n});let n=(0,r(71847).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},72431:(t,e,r)=>{r.d(e,{RG:()=>v,bL:()=>N,q7:()=>D});var n=r(12115),i=r(92556),s=r(49972),a=r(94446),o=r(3468),h=r(68946),l=r(97602),f=r(70222),d=r(23558),u=r(66218),c=r(95155),p="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[_,w,b]=(0,s.N)(y),[m,v]=(0,o.A)(y,[b]),[E,A]=m(y),U=n.forwardRef((t,e)=>(0,c.jsx)(_.Provider,{scope:t.__scopeRovingFocusGroup,children:(0,c.jsx)(_.Slot,{scope:t.__scopeRovingFocusGroup,children:(0,c.jsx)(k,{...t,ref:e})})}));U.displayName=y;var k=n.forwardRef((t,e)=>{let{__scopeRovingFocusGroup:r,orientation:s,loop:o=!1,dir:h,currentTabStopId:_,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:m,onEntryFocus:v,preventScrollOnEntryFocus:A=!1,...U}=t,k=n.useRef(null),O=(0,a.s)(e,k),C=(0,u.jH)(h),[x,N]=(0,d.i)({prop:_,defaultProp:null!=b?b:null,onChange:m,caller:y}),[D,T]=n.useState(!1),L=(0,f.c)(v),I=w(r),S=n.useRef(!1),[B,M]=n.useState(0);return n.useEffect(()=>{let t=k.current;if(t)return t.addEventListener(p,L),()=>t.removeEventListener(p,L)},[L]),(0,c.jsx)(E,{scope:r,orientation:s,dir:C,loop:o,currentTabStopId:x,onItemFocus:n.useCallback(t=>N(t),[N]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>M(t=>t+1),[]),onFocusableItemRemove:n.useCallback(()=>M(t=>t-1),[]),children:(0,c.jsx)(l.sG.div,{tabIndex:D||0===B?-1:0,"data-orientation":s,...U,ref:O,style:{outline:"none",...t.style},onMouseDown:(0,i.mK)(t.onMouseDown,()=>{S.current=!0}),onFocus:(0,i.mK)(t.onFocus,t=>{let e=!S.current;if(t.target===t.currentTarget&&e&&!D){let e=new CustomEvent(p,g);if(t.currentTarget.dispatchEvent(e),!e.defaultPrevented){let t=I().filter(t=>t.focusable);R([t.find(t=>t.active),t.find(t=>
1t.id===x),...t].filter(Boolean).map(t=>t.ref.current),A)}}S.current=!1}),onBlur:(0,i.mK)(t.onBlur,()=>T(!1))})})}),O="RovingFocusGroupItem",C=n.forwardRef((t,e)=>{let{__scopeRovingFocusGroup:r,focusable:s=!0,active:a=!1,tabStopId:o,children:f,...d}=t,u=(0,h.B)(),p=o||u,g=A(O,r),y=g.currentTabStopId===p,b=w(r),{onFocusableItemAdd:m,onFocusableItemRemove:v,currentTabStopId:E}=g;return n.useEffect(()=>{if(s)return m(),()=>v()},[s,m,v]),(0,c.jsx)(_.ItemSlot,{scope:r,id:p,focusable:s,active:a,children:(0,c.jsx)(l.sG.span,{tabIndex:y?0:-1,"data-orientation":g.orientation,...d,ref:e,onMouseDown:(0,i.mK)(t.onMouseDown,t=>{s?g.onItemFocus(p):t.preventDefault()}),onFocus:(0,i.mK)(t.onFocus,()=>g.onItemFocus(p)),onKeyDown:(0,i.mK)(t.onKeyDown,t=>{if("Tab"===t.key&&t.shiftKey)return void g.onItemShiftTab();if(t.target!==t.currentTarget)return;let e=function(t,e,r){var n;let i=(n=t.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===e&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===e&&["ArrowUp","ArrowDown"].includes(i)))return x[i]}(t,g.orientation,g.dir);if(void 0!==e){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let r=b().filter(t=>t.focusable).map(t=>t.ref.current);if("last"===e)r.reverse();else if("prev"===e||"next"===e){"prev"===e&&r.reverse();let n=r.indexOf(t.currentTarget);r=g.loop?function(t,e){return t.map((r,n)=>t[(e+n)%t.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>R(r))}}),children:"function"==typeof f?f({isCurrentTabStop:y,hasTabStop:null!=E}):f})})});C.displayName=O;var x={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function R(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}var N=U,D=C},80323:(t,e,r)=>{function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,s,a,o=[],h=!0,l=!1;try{if(s=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;h=!1}else for(;!(h=(n=s.call(r)).done)&&(o.push(n.value),o.length!==e);h=!0);}catch(t){l=!0,i=t}finally{try{if(!h&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(e,{A:()=>i})},89511:(t,e,r)=>{r.d(e,{Hs:()=>v,UC:()=>B,VY:()=>G,ZL:()=>N,bL:()=>U,bm:()=>H,hE:()=>K,hJ:()=>T,l9:()=>O,zM:()=>O});var n=r(12115),i=r(92556),s=r(94446),a=r(3468),o=r(68946),h=r(23558),l=r(5542),f=r(69666),d=r(75433),u=r(76842),c=r(97602),p=r(19526),g=r(40101),y=r(97745),_=r(32467),w=r(95155),b="Dialog",[m,v]=(0,a.A)(b),[E,A]=m(b),U=t=>{let{__scopeDialog:e,children:r,open:i,defaultOpen:s,onOpenChange:a,modal:l=!0}=t,f=n.useRef(null),d=n.useRef(null),[u,c]=(0,h.i)({prop:i,defaultProp:null!=s&&s,onChange:a,caller:b});return(0,w.jsx)(E,{scope:e,triggerRef:f,contentRef:d,contentId:(0,o.B)(),titleId:(0,o.B)(),descriptionId:(0,o.B)(),open:u,onOpenChange:c,onOpenToggle:n.useCallback(()=>c(t=>!t),[c]),modal:l,children:r})};U.displayName=b;var k="DialogTrigger",O=n.forwardRef((t,e)=>{let{__scopeDialog:r,...n}=t,a=A(k,r),o=(0,s.s)(e,a.triggerRef);return(0,w.jsx)(c.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":q(a.open),...n,ref:o,onClick:(0,i.mK)(t.onClick,a.onOpenToggle)})});O.displayName=k;var C="DialogPortal",[x,R]=m(C,{forceMount:void 0}),N=t=>{let{__scopeDialog:e,forceMount:r,children:i,container:s}=t,a=A(C,e);return(0,w.jsx)(x,{scope:e,forceMount:r,children:n.Children.map(i,t=>(0,w.jsx)(u.C,{present:r||a.open,children:(0,w.jsx)(d.Z,{asChild:!0,container:s,children:t})}))})};N.displayName=C;var D="DialogOverlay",T=n.forwardRef((t,e)=>{let r=R(D,t.__scopeDialog),{forceMount:n=r.forceMount,...i}=t,s=A(D,t.__scopeDialog);return s.modal?(0,w.jsx)(u.C,{present:n||s.open,children:(0,w.jsx)(I,{...i,ref:e})}):null});T.displayName=D;var L=(0,_.TL)("DialogOverlay.RemoveScroll"),I=n.forwardRef((t,e)=>{let{__scopeDialog:r,...n}=t,i=A(D,r),a=(0,l.e0)(),o=(0,s.s)(e,a);return(0,w.jsx)(g.A,{as:L,allowPinchZoom:!0,shards:[i.contentRef],children:(0,w.jsx)(c.sG.div,{"data-state":q(i.open
1),...n,ref:o,style:{pointerEvents:"auto",...n.style}})})}),S="DialogContent",B=n.forwardRef((t,e)=>{let r=R(S,t.__scopeDialog),{forceMount:n=r.forceMount,...i}=t,s=A(S,t.__scopeDialog);return(0,w.jsx)(u.C,{present:n||s.open,children:s.modal?(0,w.jsx)(M,{...i,ref:e}):(0,w.jsx)(F,{...i,ref:e})})});B.displayName=S;var M=n.forwardRef((t,e)=>{let r=A(S,t.__scopeDialog),a=n.useRef(null),o=(0,s.s)(e,r.contentRef,a);return n.useEffect(()=>{let t=a.current;if(t)return(0,y.Eq)(t)},[]),(0,w.jsx)(P,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:(0,i.mK)(t.onCloseAutoFocus,t=>{var e;t.preventDefault(),null==(e=r.triggerRef.current)||e.focus()}),onPointerDownOutside:(0,i.mK)(t.onPointerDownOutside,t=>{let e=t.detail.originalEvent,r=0===e.button&&!0===e.ctrlKey;(2===e.button||r)&&t.preventDefault()}),onFocusOutside:(0,i.mK)(t.onFocusOutside,t=>t.preventDefault())})}),F=n.forwardRef((t,e)=>{let r=A(S,t.__scopeDialog),i=n.useRef(!1),s=n.useRef(!1);return(0,w.jsx)(P,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{var n,a;null==(n=t.onCloseAutoFocus)||n.call(t,e),e.defaultPrevented||(i.current||null==(a=r.triggerRef.current)||a.focus(),e.preventDefault()),i.current=!1,s.current=!1},onInteractOutside:e=>{var n,a;null==(n=t.onInteractOutside)||n.call(t,e),e.defaultPrevented||(i.current=!0,"pointerdown"===e.detail.originalEvent.type&&(s.current=!0));let o=e.target;(null==(a=r.triggerRef.current)?void 0:a.contains(o))&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&s.current&&e.preventDefault()}})}),P=n.forwardRef((t,e)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=t,o=A(S,r);return(0,p.Oh)(),(0,w.jsx)(w.Fragment,{children:(0,w.jsx)(f.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,w.jsx)(l.qW,{role:"dialog",id:o.contentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":q(o.open),...a,ref:e,deferPointerDownOutside:!0,onDismiss:()=>o.onOpenChange(!1)})})})}),j="DialogTitle",K=n.forwardRef((t,e)=>{let{__scopeDialog:r,...n}=t,i=A(j,r);return(0,w.jsx)(c.sG.h2,{id:i.titleId,...n,ref:e})});K.displayName=j;var W="DialogDescription",G=n.forwardRef((t,e)=>{let{__scopeDialog:r,...n}=t,i=A(W,r);return(0,w.jsx)(c.sG.p,{id:i.descriptionId,...n,ref:e})});G.displayName=W;var $="DialogClose",H=n.forwardRef((t,e)=>{let{__scopeDialog:r,...n}=t,s=A($,r);return(0,w.jsx)(c.sG.button,{type:"button",...n,ref:e,onClick:(0,i.mK)(t.onClick,()=>s.onOpenChange(!1))})});function q(t){return t?"open":"closed"}H.displayName=$}}]);
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.