PageSourceSearch

https://www.driveio.io/_next/static/chunks/0ba22027774a3b6a.js?dpl=dpl_94JnxfAN9hGXtqYdrTyYj4MhW9Av

js driveio.io collected 2026-09-24 15:03:47 UTC 584,312 bytes, 8 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467034,(e,t,r)=>{var n={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=l(e),a=i[0],s=i[1],c=new o((a+s)*3/4-s),u=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(function(e,t,n){for(var o,i=[],a=t;a<n;a+=3)o=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,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 a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!s.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),l=a(i),c=l.write(n,o);return c!==i&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(_(e,ArrayBuffer)||e&&_(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(_(e,SharedArrayBuffer)||e&&_(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return s.from(u,t,r);var h=function(e){if(s.isBuffer(e)){var t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(h)return h;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),a(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)};function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||_(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(e).length;default:if(o)return n?-1:E(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,r){var o,i,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=P[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=this,i=t,a=r,0===i&&a===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){var i;if(0===e.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:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:x(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(
vendor: 12,881 bytes, line 1
1o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return x(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function x(e,t,r,n,o){var i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else -1!==u&&(i-=i-u),u=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return -1}s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).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}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(_(i,Uint8Array)&&(i=s.from(i)),!s.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):h.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,l=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),d=0;d<l;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:+(a<i)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)};function v(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=d}var f=n,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var h="",m=0;m<p;)h+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return h}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function C(e,t,r,n,i){return t*=1,r>>>=0,i||S(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function j(e,t,r,n,i){return t*=1,r>>>=0,i||S(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=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,a,s,l,c,u,d,f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s,l=parseInt(t.substr(2*a,2),16);if((s=l)!=s)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,k(E(e,this.length-o),this,o,i);case"ascii":return a=t,s=r,k(A(e),this,a,s);case"latin1":case"binary":return function(e,t,r,n){return k(A(t),e,r,n)}(this,e,t,r);case"base64":return l=t,c=r,k(T(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,d=r,k(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-u),this,u,d);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return C(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return C(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<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),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var i=o-1;i>=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=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&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%l]}return this};var N=/[^+/0-9A-Za-z-_]/g;function E(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=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 A(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function T(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function k(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function _(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var P=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?o-1:0,f=r?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=5960464477539062e-23*(23===o),p=n?0:i-1,h=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*m}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}},a=!0;try{n[e](r,r.exports,i),a=!1}finally{a&&delete o[e]}return r.exports}i.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=i(72)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return i.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(132120),a=e.r(92245),s=e.r(235326)},940141,e=>{"use strict";var t=e.i(271645),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=t.default.createContext&&t.default.createContext(r),o=["attr","size","title"];function i(){return(i=Object.assign.bind()).apply(this,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e){return r=>t.default.createElement(c,i({attr:s({},e.attr)},r),function e(r){return r&&r.map((r,n)=>t.default.createElement(r.tag,s({key:n},r.attr),e(r.child)))}(e.child))}function c(e){var a=r=>{var n,{attr:a,size:l,title:c}=e,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,o),d=l||r.size||"1em";return r.className&&(n=r.className),e.className&&(n=(n?n+" ":"")+e.className),t.default.createElement("svg",i({stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0"},r.attr,a,u,{className:n,style:s(s({color:e.color||r.color},r.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),c&&t.default.createElement("title",null,c),e.children)};return void 0!==n?t.default.createElement(n.Consumer,null,e=>a(e)):a(r)}e.s(["GenIcon",()=>l],940141)},473665,e=>{"use strict";var t=e.i(940141);function r(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12.79 21 3 11.21v2c0 .53.21 1.04.59 1.41l7.79 7.79c.78.78 2.05.78 2.83 0l6.21-6.21c.78-.78.78-2.05 0-2.83L12.79 21z"},child:[]},{tag:"path",attr:{d:"M11.38 17.41c.78.78 2.05.78 2.83 0l6.21-6.21c.78-.78.78-2.05 0-2.83L12.63.58A2.04 2.04 0 0 0 11.21 0H5C3.9 0 3 .9 3 2v6.21c0 .53.21 1.04.59 1.41l7.79 7.79zM7.25 3a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5z"},child:[]}]})(e)}function n(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2v1z"},child:[]}]})(e)}function o(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"},child:[]}]})(e)}function i(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12z"},child:[]},{tag:"path",attr:{d:"m12 15 1.57-3.43L17 10l-3.43-1.57L12 5l-1.57 3.43L7 10l3.43 1.57z"},child:[]}]})(e)}e.s(["MdCancel",()=>o,"MdDiscount",()=>r,"MdFolderShared",()=>n,"MdOutlineReviews",()=>i])},721552,e=>{"use strict";var t=e.i(247167),r=e.i(843476);let n="Drive I/O",o=`Copy Folder in Google Drive & Manage File Permissions | ${n}`,i=new Set(["bronze single feature (copy folders)","silver - copy folders"]),a=new Set(["bronze","silver","gold","bronze single feature (copy folders)","silver - copy folders","bronze_single_feature_copy_folders","silver_single_feature_copy_folders"]),s="https://effingo.s3.us-east-2.amazonaws.com/faq-logo.png",l="https://effingo.s3.us-east-2.amazonaws.com/demo-icon.png",c="features",u="🥉",d="🥈",f="🏆",p=[{href:c,text:"Features",icon:"https://effingo.s3.us-east-2.amazonaws.com/copy-folder-option.png",iconAlt:"Features",block:"center"},{href:"demos",text:"Demos",icon:l,iconAlt:"Demos",block:"start"},{href:"pricing",text:"Pricing",icon:"https://effingo.s3.us-east-2.amazonaws.com/pricing-logo.png",iconAlt:"Pricing"},{href:"free-resources",text:"FREE",icon:s,iconAlt:"FREE resources",block:"start"},{href:"whats-new",text:"What's New",icon:l,iconAlt:"What's New",block:"start"},{href:"faq",text:"FAQ",icon:s,iconAlt:"FAQ"},{href:"contact",text:"Contact",icon:"https://effingo.s3.us-east-2.amazonaws.com/contact-logo.png",iconAlt:"Contact"}],h=new Set(["annually","quarterly","monthly"]),m=[{emoji:u,id:"bronzeCopyFoldersOnly",stripePlanLookupKeys:new Set(["BRONZE_COPY_FOLDER_YEARLY"]),status:"live",purchaseType:"subscription",featuresType:"single",name:"Bronze Single Feature (Copy Folders)",planType:"onlyYearly",features:[(0,r.jsxs)(r.Fragment,{children:["✅ Google Workspace add-on: ",(0,r.jsx)("u",{children:"Unlimited"})," folder copying & permission control across."]}),(0,r.jsx)(r.Fragment,{children:"✅ Chrome extension: Search Google Drive directly from your browser's address bar (Coming soon)."}),(0,r.jsxs)(r.Fragment,{children:["❌ Chrome extension: ",(0,r.jsx)("u",{children:"Unlimited"})," folder copying & permission control across."]}),"❌ Google Chat support"],buttonText:"Start your 5-day free trial.",buttonTextSignedInUser:"Start your 5-day free trial.",isHighlighted:!1,isAlternativeHighlight:!0,availablePaymentPlans:new Set(["yearly"])},{emoji:d,id:"silverCopyFoldersOnly",status:"live",stripePlanLookupKeys:new Set(["SILVER_COPY_FOLDER_YEARLY"]),purchaseType:"subscription",featuresType:"single",name:"Silver - Copy Folders",planType:"onlyYearly",features:[(0,r.jsxs)(r.Fragment,{children:["✅ Everything in ",(0,r.jsx)("i",{children:"Bronze - Copy Folders"})," plan"]}),(0,r.jsxs)(r.Fragment,{children:["✅ Chrome extension: ",(0,r.jsx)("u",{children:"Unlimited"})," folder copying & permission control across."]}),"❌ Google Chat support"],buttonText:"Start your 7-day free trial.",buttonTextSignedInUser:"Start your 7-day free trial.",isHighlighted:!0,availablePaymentPlans:new Set(["yearly"])},{emoji:u,id:"bronzePro",status:"live",stripePlanLookupKeys:new Set(["BRONZE_CURRENT_YEARLY"]),purchaseType:"subscription",featuresType:"all",planType:"onlyYearly",name:"Bronze",features:[(0,r.jsxs)(r.Fragment,{children:["✅ Google Worksp
1ace add-on: ",(0,r.jsx)("u",{children:"Unlimited"})," folder copying & permission control across."]}),(0,r.jsx)(r.Fragment,{children:"✅ Chrome extension: Search Google Drive directly from your browser's address bar (Coming soon)."}),"✅ Basic Google Chat Support",(0,r.jsxs)(r.Fragment,{children:["❌ Chrome extension: ",(0,r.jsx)("u",{children:"Unlimited"})," folder copying & permission control across."]}),"❌ AI features"],buttonText:"Start your 5-day free trial",buttonTextSignedInUser:"Start your 5-day free trial",isHighlighted:!1,availablePaymentPlans:new Set(["yearly"])},{emoji:d,id:"silverPro",featuresType:"all",purchaseType:"subscription",stripePlanLookupKeys:new Set(["SILVER_CURRENT_MONTHLY","SILVER_CURRENT_YEARLY","SILVER_CURRENT_QUARTERLY"]),name:"Silver",status:"live",features:["✅ All Bronze features",(0,r.jsxs)(r.Fragment,{children:["✅ Chrome extension: ",(0,r.jsx)("u",{children:"Unlimited"})," folder copying & permission control across."]}),"✅ Priority Google Chat support","❌ AI features"],buttonText:"Start your 15-day free trial",buttonTextSignedInUser:"Start your 15-day free trial today!",isHighlighted:!0,planType:"yearlyAndMonthly",availablePaymentPlans:new Set(["monthly","yearly","quarterly"])},{emoji:f,id:"goldPro",stripePlanLookupKeys:null,featuresType:"all",purchaseType:"n/a",name:"Gold",status:"comingSoon",features:[(0,r.jsxs)("span",{children:[(0,r.jsxs)("span",{className:"bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text text-transparent font-bold animate-pulse",children:[(0,r.jsx)("span",{className:"text-white",children:"✅"})," UPCOMING"]})," ","AI Features"]}),"✅ All Silver features","✅ Early access to new features","✅ Premium Google Chat support"],buttonText:"Join Waitlist",isHighlighted:!1,planType:"yearlyAndMonthly",availablePaymentPlans:new Set(["monthly","yearly","quarterly"])}],y=["Account Manager","Art Director","Business Analyst","Compliance Officer","Consultant","Content Creator","Customer Success Manager","Data Analyst","Data Scientist","Digital Marketing Specialist","E-commerce Manager","Financial Analyst","HR Manager","Marketing Manager","Operations Manager","Product Manager","Professor","Project Manager","Recruitment Specialist","Research Scientist","Sales Representative","Software Engineer","Student","System Administrator","Teacher","Technical Lead","Technical Writer"],x=new Set(y);new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"});let v=new Set(["pre-launch-google-reviewable","pre-launch"]),b=[{name:"University Faculty Access",code:t.default.env.UNIVERSITY_FACULTY_ACCESS_CODE,codeType:"universityFacultyAccess"},{name:"No Payment Info For Trial",code:t.default.env.NO_PAYMENT_FOR_TRIAL_CODE,codeType:"noPaymentInfoForTrialCode"}],w=new Set(["universityFacultyAccess","noPaymentInfoForTrialCode"]),S=new Set("first100".split(",")??[]),C=new Set(["active","canceled","trialing","unpaid"]);e.s(["APP_COLOR_BLUE",0,"rgba(157,214,252,1)","APP_COLOR_GRADIENT",0,"bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)]","APP_COLOR_PURPLE",0,"rgb(202, 160, 250)","APP_NAME",0,n,"BILLING_TYPES_SET",0,h,"BRONZE_PLAN_EMOJI",0,u,"CHROME_EXT_WEB_PG_LINK",0,"https://chromewebstore.google.com/detail/drive-io-bulk-copy-folder/hbcknalgeklmecafklfodnmmgaaelfhk?hl=en","CODES",0,b,"CODE_TYPES_SET",0,w,"COMPANIES",0,["Walmart","Amazon","Apple","CVS Health","UnitedHealth Group","Exxon Mobil","Berkshire Hathaway","Alphabet","McKesson","AmerisourceBergen","Costco Wholesale","Cigna","Cardinal Health","Microsoft","Walgreens Boots Alliance","Kroger","Home Depot","JPMorgan Chase","Verizon Communications","Ford Motor","Marathon Petroleum","General Motors","Anthem","Centene","Fannie Mae","Phillips 66","Chevron","Bank of America","AT&T","Freddie Mac","Microsoft","Valero Energy","Dell Technologies","Target","Johnson & Johnson","Procter & Gamble","General Electric","Meta Platforms","UPS","Lowe's","Intel","Humana","IBM","Raytheon Technologies","Wells Fargo","Archer Daniels Midland","Pfizer","Caterpillar","Lockheed Martin","PepsiCo","FedEx","X","Apple","Microsoft","Meta Platforms","Alphabet","Amazon","Uber","Lyft","DoorDash","Airbnb"],"COUNTRIES_TO_FILTER_BY",0,["United States","Canada","United Kingdom","Other"],"DEFAULT_META_TAG_TITLE",0,o,"DEFAULT_PLAN_PRICES",0,{bronzeCopyFoldersOnly:{yearPrice:6},silverCopyFoldersOnly:{yearPrice:8},bronzePro:{yearPrice:12},silverPro:{monthPrice:4,yearPrice:36,quarterlyPrice:12}},"DEFAULT_TEXT_SZ",0,"text-base","DEFAULT_THEME",0,{primary:"rgba(209,127,247,1)",variant:"professional",appearance:"light",radius:.5},"DISABLE_SIGN_UP_STATUSES",0,v,"FEATURES_ID",0,c,"FOCUS_INPUT_COLOR",0,"focus:border-purple-400 focus:ring-purple-200 hover:border-gray-300","GCLID_KEY",0,"gclid","GOLD_PLAN_EMOJI",0,f,"GOOGLE_WORKSPACE_ADD_ON",0,"https://workspace.google.com/marketplace/app/folder_copy_drive_io/66509975577?flow_type=2","HEADING_TXT_SIZE",0,"text-lg","INPUT_DEFAULT_CLASS",0,"shadow-sm transition-all duration-200 bg-white outline-none","INPUT_TO_FOCUS_PARAM_NAME",0,"input-to-focus","IS_AUTO_SIGN_IN_PARAM",0,"is-auto-sign-in","IS_FEEDBACK_MODAL_ON_PARAM",0,"is-feedback-modal-on","IS_SEARCH_COLLEGE_FEATURE_ENABLED",0,!1,"LI_TXT_SIZE",0,"text-base","MODAL_TO_DISPLAY_PARAM_NAME",0,"modal-to-display","MULTI_FEATURES_PLAN_NAME",0,"PRO","NAMES_OF_DISCOUNTS_WITH_DURATION",0,S,"NAVIGATION_LINKS",0,p,"OCCUPATIONS",0,y,"OCCUPATIONS_SET",0,x,"PAGE_WRAP_ID",0,"page-wrap","PAY_PERIOD_TYPE_PARAM",0,"pay-period-type","PLAN_NAMES_SET_LOWERCASE",0,a,"PLAN_NAME_PARAM",0,"plan-name","REFERRER_KEY",0,"referrer","SILVER_PLAN_EMOJI",0,d,"SINGLE_FEATURE_PLAN_NAMES_LOWERCASE",0,i,"SPECIAL_TRIAL_DAYS",0,"15","SUPPORT_EMAIL",0,"[email protected]","TEXT_COLOR",0,"text-gray-600","TWITTER_DEFAULT_OG_IMG_URL",0,"https://storage.googleapis.com/driveio_imgs/app_logo.png","USER_PLANS",0,m,"USER_SIGN_UP_TYPE_
1NO_PAYMENT",0,"noPaymentInfo","UTM_SOURCE_KEY",0,"utm_source","VALID_SUBSCRIPTION_STATUSES",0,C])},126545,e=>{"use strict";var t=e.i(843476),r=e.i(721552),n=e.i(522016);e.s(["SupportLink",0,({children:e="support",href:o=r.SUPPORT_EMAIL,color:i="text-blue-600",subject:a,body:s,cc:l,bcc:c})=>{var u;let d,f,p=o.startsWith("/")||o.startsWith("http://")||o.startsWith("https://")?o:(u={subject:a,body:s,cc:l,bcc:c},d=new URLSearchParams,u.cc&&d.set("cc",u.cc),u.bcc&&d.set("bcc",u.bcc),u.subject&&d.set("subject",u.subject),u.body&&d.set("body",u.body),(f=d.toString())?`mailto:${o}?${f}`:`mailto:${o}`);return(0,t.jsx)(n.default,{href:p,className:`${i} underline hover:no-underline`,children:e})}])},19351,(e,t,r)=>{"use strict";t.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},475254,e=>{"use strict";var t=e.i(271645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:s="",children:l,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...n,width:o,height:o,stroke:e,strokeWidth:a?24*Number(i)/Number(o):i,className:r("lucide",s),...u},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]])),i=(e,n)=>{let i=(0,t.forwardRef)(({className:i,...a},s)=>(0,t.createElement)(o,{ref:s,iconNode:n,className:r(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i),...a}
1));return i.displayName=`${e}`,i};e.s(["default",()=>i],475254)},617310,985056,482710,353142,719419,249172,174886,e=>{"use strict";let t,r,n,o,i;e.s(["ToastLoadingWrapper",()=>tZ,"calculatePercentSaved",()=>t5,"convertForLocalStorage",()=>rn,"convertToReadableDate",()=>t1,"createAppUIFeatureObjs",()=>rt,"deleteLocalStorageItems",()=>t$,"formatNumToCurrency",()=>tY,"formatUsdPriceRoundedDown",()=>tG,"getAppPaymentStatusAndTrialPeriodDays",()=>t8,"getDoesPlanNameParamHasTargetVals",()=>tD,"getIsParsableToType",()=>tW,"getLandingPgVersionNumAndName",()=>t9,"getLocalStorageItem",()=>tq,"getNodesStatuses",()=>re,"getPaymentCollectionStatus",()=>t7,"getPlanName",()=>tF,"getPlanUIName",()=>t6,"getSessionStorageItem",()=>tB,"getTagStyles",()=>rr,"getVersionReleaseStrNumAndNameOfLandingPg",()=>tR,"pause",()=>t2,"presentErrToast",()=>t0,"presentInfoToast",()=>tJ,"presentNotificationToast",()=>tK,"presentSuccessToast",()=>tX,"removeLocalStorageItem",()=>tz,"removeSessionStorageItem",()=>tU,"resetUrlParams",()=>tH,"retrieveAuthCode",()=>tM,"setLocalStorageItem",()=>tL,"setSessionStorage",()=>tI,"sleep",()=>t4,"updateToast",()=>tQ],617310);var a,s,l,c,u,d=e.i(247167),f=e.i(843476);function p(e,t){return function(){return e.apply(t,arguments)}}let{toString:h}=Object.prototype,{getPrototypeOf:m}=Object,y=(t=Object.create(null),e=>{let r=h.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())}),x=e=>(e=e.toLowerCase(),t=>y(t)===e),v=e=>t=>typeof t===e,{isArray:b}=Array,w=v("undefined"),S=x("ArrayBuffer"),C=v("string"),j=v("function"),N=v("number"),E=e=>null!==e&&"object"==typeof e,A=e=>{if("object"!==y(e))return!1;let t=m(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},T=x("Date"),k=x("File"),_=x("Blob"),P=x("FileList"),O=x("URLSearchParams"),[R,M,F,L]=["ReadableStream","Request","Response","Headers"].map(x);function I(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e)if("object"!=typeof e&&(e=[e]),b(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{let o,i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;for(n=0;n<a;n++)o=i[n],t.call(null,e[o],o,e)}}function D(e,t){let r;t=t.toLowerCase();let n=Object.keys(e),o=n.length;for(;o-- >0;)if(t===(r=n[o]).toLowerCase())return r;return null}let B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e.g,U=e=>!w(e)&&e!==B,z=(r="undefined"!=typeof Uint8Array&&m(Uint8Array),e=>r&&e instanceof r),$=x("HTMLFormElement"),q=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),W=x("RegExp"),H=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};I(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)},V=x("AsyncFunction"),G=(a="function"==typeof setImmediate,s=j(B.postMessage),a?setImmediate:s?(l=`axios@${Math.random()}`,c=[],B.addEventListener("message",({source:e,data:t})=>{e===B&&t===l&&c.length&&c.shift()()},!1),e=>{c.push(e),B.postMessage(l,"*")}):e=>setTimeout(e)),Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(B):void 0!==d.default&&d.default.nextTick||G,X={isArray:b,isArrayBuffer:S,isBuffer:function(e){return null!==e&&!w(e)&&null!==e.constructor&&!w(e.constructor)&&j(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||j(e.append)&&("formdata"===(t=y(e))||"object"===t&&j(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&S(e.buffer)},isString:C,isNumber:N,isBoolean:e=>!0===e||!1===e,isObject:E,isPlainObject:A,isReadableStream:R,isRequest:M,isResponse:F,isHeaders:L,isUndefined:w,isDate:T,isFile:k,isBlob:_,isRegExp:W,isFunction:j,isStream:e=>E(e)&&j(e.pipe),isURLSearchParams:O,isTypedArray:z,isFileList:P,forEach:I,merge:function e(){let{caseless:t}=U(this)&&this||{},r={},n=(n,o)=>{let i=t&&D(r,o)||o;A(r[i])&&A(n)?r[i]=e(r[i],n):A(n)?r[i]=e({},n):b(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&I(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>(I(t,(t,n)=>{r&&j(t)?e[n]=p(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a,s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==r&&m(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype)return t},kindOf:y,kindOfTest:x,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(b(e))return e;let t=e.length;if(!N(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>
1{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:$,hasOwnProperty:q,hasOwnProp:q,reduceDescriptors:H,freezeMethods:e=>{H(e,(t,r)=>{if(j(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(j(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(b(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:D,global:B,isContextDefined:U,isSpecCompliantForm:function(e){return!!(e&&j(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(E(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let o=b(e)?[]:{};return I(e,(e,t)=>{let i=r(e,n+1);w(i)||(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:V,isThenable:e=>e&&(E(e)||j(e))&&j(e.then)&&j(e.catch),setImmediate:G,asap:Y};var K=e.i(467034);function J(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}X.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});let Z=J.prototype,Q={};function ee(e){return X.isPlainObject(e)||X.isArray(e)}function et(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function er(e,t,r){return e?e.concat(t).map(function(e,t){return e=et(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Q[e]={value:e}}),Object.defineProperties(J,Q),Object.defineProperty(Z,"isAxiosError",{value:!0}),J.from=(e,t,r,n,o,i)=>{let a=Object.create(Z);return X.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),J.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};let en=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)}),eo=function(e,t,r){if(!X.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=X.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!X.isUndefined(t[e])})).metaTokens,o=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(o))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(!s&&X.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(e)||X.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):K.Buffer.from(e):e}function c(e,r,o){let s=e;if(e&&!o&&"object"==typeof e)if(X.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var c;if(X.isArray(e)&&(c=e,X.isArray(c)&&!c.some(ee))||(X.isFileList(e)||X.endsWith(r,"[]"))&&(s=X.toArray(e)))return r=et(r),s.forEach(function(e,n){X.isUndefined(e)||null===e||t.append(!0===a?er([r],n,i):null===a?r:r+"[]",l(e))}),!1}return!!ee(e)||(t.append(er(o,r,i),l(e)),!1)}let u=[],d=Object.assign(en,{defaultVisitor:c,convertValue:l,isVisitable:ee});if(!X.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!X.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),X.forEach(r,function(r,i){!0===(!(X.isUndefined(r)||null===r)&&o.call(t,r,X.isString(i)?i.trim():i,n,d))&&e(r,n?n.concat(i):[i])}),u.pop()}}(e),t};function ei(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ea(e,t){this._pairs=[],e&&eo(e,this,t)}let es=ea.prototype;function el(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ec(e,t,r){let n;if(!t)return e;let o=r&&r.encode||el;X.isFunction(r)&&(r={serialize:r});let i=r&&r.serialize;if(n=i?i(t,r):X.isURLSearchParams(t)?t.toString():new ea(t,r).toString(o)){let t=e.indexOf("#");
1-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}es.append=function(e,t){this._pairs.push([e,t])},es.toString=function(e){let t=e?function(t){return e.call(this,t,ei)}:ei;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};let eu=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){X.forEach(this.handlers,function(t){null!==t&&e(t)})}},ed={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ef="undefined"!=typeof URLSearchParams?URLSearchParams:ea,ep="undefined"!=typeof FormData?FormData:null,eh="undefined"!=typeof Blob?Blob:null,em="undefined"!=typeof window&&"undefined"!=typeof document,eg="object"==typeof navigator&&navigator||void 0,ey=em&&(!eg||0>["ReactNative","NativeScript","NS"].indexOf(eg.product)),ex="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ev=em&&window.location.href||"http://localhost";e.s(["hasBrowserEnv",()=>em,"hasStandardBrowserEnv",()=>ey,"hasStandardBrowserWebWorkerEnv",()=>ex,"navigator",()=>eg,"origin",()=>ev],557536);let eb={...e.i(557536),isBrowser:!0,classes:{URLSearchParams:ef,FormData:ep,Blob:eh},protocols:["http","https","file","blob","url","data"]},ew=function(e){if(X.isFormData(e)&&X.isFunction(e.entries)){let t={};return X.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;let a=Number.isFinite(+i),s=o>=t.length;return(i=!i&&X.isArray(n)?n.length:i,s)?X.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r:(n[i]&&X.isObject(n[i])||(n[i]=[]),e(t,r,n[i],o)&&X.isArray(n[i])&&(n[i]=function(e){let t,r,n={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)n[r=o[t]]=e[r];return n}(n[i]))),!a}(X.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},eS={transitional:ed,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=X.isObject(e);if(i&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return o?JSON.stringify(ew(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,eo(a,new eb.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return eb.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},s))).toString()}if((r=X.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return eo(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(i||o){t.setContentType("application/json",!1);var l=e;if(X.isString(l))try{return(0,JSON.parse)(l),X.trim(l)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(l)}return e}],transformResponse:[function(e){let t=this.transitional||eS.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eb.classes.FormData,Blob:eb.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{eS.headers[e]={}});let eC=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ej=Symbol("internals");function eN(e){return e&&String(e).trim().toLowerCase()}function eE(e){return!1===e||null==e?e:X.isArray(e)?e.map(eE):String(e)}function eA(e,t,r,n,o){if(X.isFunction(n))return n.call(this,t,r);if(o&&(t=r),X.isString(t)){if(X.isString(n))return -1!==t.indexOf(n);if(X.isRegExp(n))return n.test(t)}}class eT{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=eN(t);if(!o)throw Error("header name must be a non-empty string");let i=X.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=eE(e))}let i=(e,t)=>X.forEach(e,(e,r)=>o(e,r,t));if(X.isPlainObject(e)||e instanceof this.constructor)i(e,t);else{let n;if(X.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim()))){var a;let r,n,o,s;i((s={},(a=e)&&a.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||s[r]&&eC[r]||("set-cookie"===r?s[r]?s[r].push(n):s[r]=[n]:s[r]=s[r]?s[r]+", "+n:n)}),s),t)}else if(X.isHeaders(e))for(let[t,n]of e.entries())o(n,t,r);else null!=e&&o(t,e,r)}return this}get(e,t){if(e=eN(e)){let r=X.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;
1=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(X.isFunction(t))return t.call(this,e,r);if(X.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eN(e)){let r=X.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eA(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=eN(e)){let o=X.findKey(r,e);o&&(!t||eA(r,r[o],o,t))&&(delete r[o],n=!0)}}return X.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||eA(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return X.forEach(this,(n,o)=>{let i=X.findKey(r,o);if(i){t[i]=eE(n),delete t[o];return}let a=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();a!==o&&delete t[o],t[a]=eE(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return X.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&X.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[ej]=this[ej]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=eN(e);if(!t[n]){let o;o=X.toCamelCase(" "+e),["get","set","has"].forEach(t=>{Object.defineProperty(r,t+o,{value:function(r,n,o){return this[t].call(this,e,r,n,o)},configurable:!0})}),t[n]=!0}}return X.isArray(e)?e.forEach(n):n(e),this}}function ek(e,t){let r=this||eS,n=t||r,o=eT.from(n.headers),i=n.data;return X.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function e_(e){return!!(e&&e.__CANCEL__)}function eP(e,t,r){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,r),this.name="CanceledError"}function eO(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new J("Request failed with status code "+r.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}eT.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(eT.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),X.freezeMethods(eT),X.inherits(eP,J,{__CANCEL__:!0});let eR=function(e,t){let r,n=Array(e=e||10),o=Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),c=o[a];r||(r=l),n[i]=s,o[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),l-r<t)return;let f=c&&l-c;return f?Math.round(1e3*d/f):void 0}},eM=function(e,t){let r,n,o=0,i=1e3/t,a=(t,i=Date.now())=>{o=i,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),s=t-o;s>=i?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},i-s)))},()=>r&&a(r)]},eF=(e,t,r=3)=>{let n=0,o=eR(50,250);return eM(r=>{let i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s);n=i,e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},eL=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eI=e=>(...t)=>X.asap(()=>e(...t)),eD=eb.hasStandardBrowserEnv?(n=new URL(eb.origin),o=eb.navigator&&/(msie|trident)/i.test(eb.navigator.userAgent),e=>(e=new URL(e,eb.origin),n.protocol===e.protocol&&n.host===e.host&&(o||n.port===e.port))):()=>!0,eB=eb.hasStandardBrowserEnv?{write(e,t,r,n,o,i){let a=[e+"="+encodeURIComponent(t)];X.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),X.isString(n)&&a.push("path="+n),X.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eU(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&n||!1==r?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let ez=e=>e instanceof eT?{...e}:e;function e$(e,t){t=t||{};let r={};function n(e,t,r,n){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:n},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function o(e,t,r,o){return X.isUndefined(t)?X.isUndefined(e)?void 0:n(void 0,e,r,o):n(e,t,r,o)}function i(e,t){if(!X.isUndefined(t))return n(void 0,t)}function a(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}let l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
1dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(ez(e),ez(t),r,!0)};return X.forEach(Object.keys(Object.assign({},e,t)),function(n){let i=l[n]||o,a=i(e[n],t[n],n);X.isUndefined(a)&&i!==s||(r[n]=a)}),r}let eq=e=>{let t,r=e$({},e),{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=r;if(r.headers=s=eT.from(s),r.url=ec(eU(r.baseURL,r.url,r.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),X.isFormData(n)){if(eb.hasStandardBrowserEnv||eb.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...r].join("; "))}}if(eb.hasStandardBrowserEnv&&(o&&X.isFunction(o)&&(o=o(r)),o||!1!==o&&eD(r.url))){let e=i&&a&&eB.read(a);e&&s.set(i,e)}return r},eW="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){var n;let o,i,a,s,l,c,u=eq(e),d=u.data,f=eT.from(u.headers).normalize(),{responseType:p,onUploadProgress:h,onDownloadProgress:m}=u;function y(){s&&s(),l&&l(),u.cancelToken&&u.cancelToken.unsubscribe(o),u.signal&&u.signal.removeEventListener("abort",o)}let x=new XMLHttpRequest;function v(){if(!x)return;let n=eT.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders());eO(function(e){t(e),y()},function(e){r(e),y()},{data:p&&"text"!==p&&"json"!==p?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:n,config:e,request:x}),x=null}x.open(u.method.toUpperCase(),u.url,!0),x.timeout=u.timeout,"onloadend"in x?x.onloadend=v:x.onreadystatechange=function(){!x||4!==x.readyState||(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(v)},x.onabort=function(){x&&(r(new J("Request aborted",J.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||ed;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),r(new J(t,n.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,x)),x=null},void 0===d&&f.setContentType(null),"setRequestHeader"in x&&X.forEach(f.toJSON(),function(e,t){x.setRequestHeader(t,e)}),X.isUndefined(u.withCredentials)||(x.withCredentials=!!u.withCredentials),p&&"json"!==p&&(x.responseType=u.responseType),m&&([a,l]=eF(m,!0),x.addEventListener("progress",a)),h&&x.upload&&([i,s]=eF(h),x.upload.addEventListener("progress",i),x.upload.addEventListener("loadend",s)),(u.cancelToken||u.signal)&&(o=t=>{x&&(r(!t||t.type?new eP(null,e,x):t),x.abort(),x=null)},u.cancelToken&&u.cancelToken.subscribe(o),u.signal&&(u.signal.aborted?o():u.signal.addEventListener("abort",o))
1);let b=(n=u.url,(c=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n))&&c[1]||"");b&&-1===eb.protocols.indexOf(b)?r(new J("Unsupported protocol "+b+":",J.ERR_BAD_REQUEST,e)):x.send(d||null)})},eH=function*(e,t){let r,n=e.byteLength;if(!t||n<t)return void(yield e);let o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},eV=async function*(e,t){for await(let r of eG(e))yield*eH(r,t)},eG=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},eY=(e,t,r,n)=>{let o,i=eV(e,t),a=0,s=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await i.next();if(t){s(),e.close();return}let o=n.byteLength;if(r){let e=a+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},eX="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,eK=eX&&"function"==typeof ReadableStream,eJ=eX&&("function"==typeof TextEncoder?(i=new TextEncoder,e=>i.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),eZ=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},eQ=eK&&eZ(()=>{let e=!1,t=new Request(eb.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e0=eK&&eZ(()=>X.isReadableStream(new Response("").body)),e1={stream:e0&&(e=>e.body)};eX&&(u=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e1[e]||(e1[e]=X.isFunction(u[e])?t=>t[e]():(t,r)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,r)})}));let e2=async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){let t=new Request(eb.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e))?(await eJ(e)).byteLength:void 0},e5=async(e,t)=>{let r=X.toFiniteNumber(e.getContentLength());return null==r?e2(t):r},e4={http:null,xhr:eW,fetch:eX&&(async e=>{let t,r,{url:n,method:o,data:i,signal:a,cancelToken:s,timeout:l,onDownloadProgress:c,onUploadProgress:u,responseType:d,headers:f,withCredentials:p="same-origin",fetchOptions:h}=eq(e);d=d?(d+"").toLowerCase():"text";let m=((e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,o=function(e){if(!r){r=!0,a();let t=e instanceof Error?e:this.reason;n.abort(t instanceof J?t:new eP(t instanceof Error?t.message:t))}},i=t&&setTimeout(()=>{i=null,o(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t),a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));let{signal:s}=n;return s.unsubscribe=()=>X.asap(a),s}})([a,s&&s.toAbortSignal()],l),y=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(u&&eQ&&"get"!==o&&"head"!==o&&0!==(r=await e5(f,i))){let e,t=new Request(n,{method:"POST",body:i,duplex:"half"});if(X.isFormData(i)&&(e=t.headers.get("content-type"))&&f.setContentType(e),t.body){let[e,n]=eL(r,eF(eI(u)));i=eY(t.body,65536,e,n)}}X.isString(p)||(p=p?"include":"omit");let a="credentials"in Request.prototype;t=new Request(n,{...h,signal:m,method:o.toUpperCase(),headers:f.normalize().toJSON(),body:i,duplex:"half",credentials:a?p:void 0});let s=await fetch(t),l=e0&&("stream"===d||"response"===d);if(e0&&(c||l&&y)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});let t=X.toFiniteNumber(s.headers.get("content-length")),[r,n]=c&&eL(t,eF(eI(c),!0))||[];s=new Response(eY(s.body,65536,r,()=>{n&&n(),y&&y()}),e)}d=d||"text";let x=await e1[X.findKey(e1,d)||"text"](s,e);return!l&&y&&y(),await new Promise((r,n)=>{eO(r,n,{data:x,headers:eT.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:t})})}catch(r){if(y&&y(),r&&"TypeError"===r.name&&/fetch/i.test(r.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,t),{cause:r.cause||r});throw J.from(r,r&&r.code,e,t)}})};X.forEach(e4,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e3=e=>`- ${e}`,e6=e=>X.isFunction(e)||null===e||!1===e,e7=e=>{let t,r,{length:n}=e=X.isArray(e)?e:[e],o={};for(let i=0;i<n;i++){let n;if(r=t=e[i],!e6(t)&&void 0===(r=e4[(n=String(t)).toLowerCase()]))throw new J(`Unknown adapter '${n}'`);if(r)break;o[n||"#"+i]=r}if(!r){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(n?e.length>
11?"since :\n"+e.map(e3).join("\n"):" "+e3(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function e8(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eP(null,e)}function e9(e){return e8(e),e.headers=eT.from(e.headers),e.data=ek.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e7(e.adapter||eS.adapter)(e).then(function(t){return e8(e),t.data=ek.call(e,e.transformResponse,t),t.headers=eT.from(t.headers),t},function(t){return!e_(t)&&(e8(e),t&&t.response&&(t.response.data=ek.call(e,e.transformResponse,t.response),t.response.headers=eT.from(t.response.headers))),Promise.reject(t)})}let te="1.8.3",tt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tt[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let tr={};tt.transitional=function(e,t,r){function n(e,t){return"[Axios v"+te+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new J(n(o," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!tr[o]&&(tr[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},tt.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};let tn=function(e,t,r){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let i=n[o],a=t[i];if(a){let t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new J("option "+i+" must be "+r,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new J("Unknown option "+i,J.ERR_BAD_OPTION)}};class to{constructor(e){this.defaults=e,this.interceptors={request:new eu,response:new eu}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:i,headers:a}=t=e$(this.defaults,t);void 0!==o&&tn(o,{silentJSONParsing:tt.transitional(tt.boolean),forcedJSONParsing:tt.transitional(tt.boolean),clarifyTimeoutError:tt.transitional(tt.boolean)},!1),null!=i&&(X.isFunction(i)?t.paramsSerializer={serialize:i}:tn(i,{encode:tt.function,serialize:tt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tn(t,{baseUrl:tt.spelling("baseURL"),withXsrfToken:tt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&X.merge(a.common,a[t.method]);a&&X.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eT.concat(s,a);let l=[],c=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(c=c&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let u=[];this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let d=0;if(!c){let e=[e9.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,u),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=l.length;let f=t;for(d=0;d<n;){let e=l[d++],t=l[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{r=e9.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,n=u.length;d<n;)r=r.then(u[d++],u[d++]);return r}getUri(e){return ec(eU((e=e$(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(e){to.prototype[e]=function(t,r){return this.request(e$(r||{},{method:e,url:t,data:(r||{}).data}))}}),X.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(e$(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}to.prototype[e]=t(),to.prototype[e+"Form"]=t(!0)});class ti{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new eP(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
1subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ti(function(t){e=t}),cancel:e}}}let ta={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ta).forEach(([e,t])=>{ta[t]=e});let ts=function e(t){let r=new to(t),n=p(to.prototype.request,r);return X.extend(n,to.prototype,r,{allOwnKeys:!0}),X.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(e$(t,r))},n}(eS);ts.Axios=to,ts.CanceledError=eP,ts.CancelToken=ti,ts.isCancel=e_,ts.VERSION=te,ts.toFormData=eo,ts.AxiosError=J,ts.Cancel=ts.CanceledError,ts.all=function(e){return Promise.all(e)},ts.spread=function(e){return function(t){return e.apply(null,t)}},ts.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},ts.mergeConfig=e$,ts.AxiosHeaders=eT,ts.formToJSON=e=>ew(X.isHTMLForm(e)?new FormData(e):e),ts.getAdapter=e7,ts.HttpStatusCode=ta,ts.default=ts;var tl=e.i(95187),tc=(0,tl.createServerReference)("7f893fe2b9510afbddcc1cf987e3d2fa5a9cdab9dd",tl.callServer,void 0,tl.findSourceMapURL,"createStripeCheckoutSession"),tu=(0,tl.createServerReference)("60b8e207c41cb7383730b8757a0c0a068a4130115c",tl.callServer,void 0,tl.findSourceMapURL,"createUser"),td=(0,tl.createServerReference)("4005c4a681dd83c8c38b2fa4ba9784c30c6f28020e",tl.callServer,void 0,tl.findSourceMapURL,"refreshAccessToken"),tf=(0,tl.createServerReference)("700a555dd7724113c3d0b4d49a5505fd5812462df6",tl.callServer,void 0,tl.findSourceMapURL,"updateUserProps"),tp=(0,tl.createServerReference)("7068af4b760d2b2406c74546686ce97ad7825e383d",tl.callServer,void 0,tl.findSourceMapURL,"getUserMembership");e.s(["getUserMembership",()=>tp],985056);var th=(0,tl.createServerReference)("604191f6b3262c9a53bf6989ea12d3a198090a7af1",tl.callServer,void 0,tl.findSourceMapURL,"getCheckoutSessionStatus"),tm=(0,tl.createServerReference)("408b582ec8613592815a3ecf07fe367938338d33a4",tl.callServer,void 0,tl.findSourceMapURL,"logUserOut"),tg=(0,tl.createServerReference)("70a707b766e3ecec2fa6afa2a97fabaaf4bc426c1d",tl.callServer,void 0,tl.findSourceMapURL,"sendFeedback");class ty{access;refresh;expiresAt;sessionId;services;constructor(e,t,r,n){if(!e||!t||!r)throw Error("The access, refresh, and expiresAt values must not be falsey.");this.sessionId=n,this.access=e,this.refresh=t,this.expiresAt=r,this.services=new Proxy(this,{get(e,t){let r=new Date().getTime();return(console.log("currentTime: ",r),console.log("target.expiresAt: ",e.expiresAt),r>e.expiresAt&&"function"==typeof e[t]&&"AsyncFunction"===e[t].constructor.name)?(console.log("The access token has expired. Attempting to refresh it."),async(...r)=>{console.log("the args yo: ",r);let n=await e.refreshUserAccessToken();return(console.log("tokens, yo there, meng: ",n),console.log("prop: ",t),n.err_type||n.err_msg||!n.auth_tokens?.access||!n.auth_tokens?.expires_at)?(console.error("Access token has expired. Can't refresh it."),{errType:"token
1RefreshInvalid"}):(console.log("The access token has been refreshed."),e.access=n.auth_tokens.access,e.expiresAt=n.auth_tokens.expires_at,await e[t](...r))}):e[t]}})}getAccessToken(){return this.access}set(e,t){this[e]=t}createHeaders(e="application/json",t,r,n){let o={"Content-Type":e,platform:"landingPg"};return this.sessionId&&(o={...o,sessionId:this.sessionId}),t&&(o={...o,Authorization:`Bearer ${this.access}`,"Refresh-Token":this.refresh}),r&&(o={...o,user_id:r}),n&&(o={...o,signal:n}),o}refreshUserAccessToken=async()=>(console.log("will refresh the access the token."),await td(this.refresh));createUserStripeCheckoutSession=async(e,t,r,n,o,i)=>{console.log("Will create the checkout session for the target user...");let a=this.createHeaders("application/json",!0,r),s=await tc(e,t,r,a,n,o,i);return console.log("checkoutSessionCreationResult: ",s),s};getCheckoutSessionStatus=async(e,t)=>{let r=this.createHeaders("application/json",!0,t);return await th(e,r)};updateUser=async(e,t)=>{console.log("yo there, sup: ",e);let r=this.createHeaders("application/json",!0,t);return await tf(e,r,t)};getUserMembership=async e=>{console.log("will get the user membership from the db via the user id.");let t=this.createHeaders("application/json",!0,e);return await tp(e,t)};createDbUser=async e=>{console.log("will create the target user into the db.");let t=this.createHeaders("application/json",!0,null);return await tu(e,t)};logUserOut=async()=>{console.log("will log the user out, in progress...");let e=this.createHeaders("application/json",!0,null);return await tm(e)};sendFeedback=async(e,t,r)=>{console.log("will send feedback, in progress...");let n=this.createHeaders("application/json",!0,e);return await tg(t,n,r)}}e.s(["ApiServicesSecured",()=>ty],482710),tl.callServer,tl.findSourceMapURL;class tx{msg;errType;constructor(e,t){this.msg=t,this.errType=e}}class tv{message;willShowContactSupportTxtInToast;errType;constructor(e,t,r){this.message=t,this.errType=e,this.willShowContactSupportTxtInToast=r}}e.s(["CustomClientErr",()=>tx,"CustomClientError",()=>tv],353142);var tb=e.i(473665);e.s(["createAuthUrl",()=>tC,"parseServerData",()=>tS],249172);var tw=(0,tl.createServerReference)("4092e6c9d523426721845bd4ded0264e6fc81b462b",tl.callServer,void 0,tl.findSourceMapURL,"getCookies");function tS(e){try{if(!e?.data||"string"!=typeof e.data)throw Error("The 'data' attribute field is not present in the response data object.");if(console.log("yo there parsableData.data: ",e.data),!tW(e.data,"object"))throw Error("Unable to parse the 'data' attribute of the respsonse body.");return JSON.parse(e.data)}catch(e){return console.error("Parsing error: ",e),null}}function tC(e){if(!e)return console.error("No uri was supplied."),null;let t=new URL("https://accounts.google.com/o/oauth2/auth"),r=Math.random().toString(36).substring(7),n=new URL(`${window.location.origin}/login`);for(let[e,o]of(console.log("_redirectUri: ",n.href),[["state",r],["client_id","619557327359-0sg9juudj88uhfvhhu2fdp7c7ket910a.apps.googleusercontent.com"],["redirect_uri",n.href],["scope","https://www.googleapis.com/auth/userinfo.email"],["response_type","code"],["access_type","offline"],["include_granted_scopes","true"],["prompt","consent"]]))t.searchParams.append(e.trim(),o.trim());return t}e.s(["getCookies",()=>tw],719419);var tj=e.i(170319),tN=e.i(126545),tE=e.i(19351),tA=e.i(475254);let tT=(0,tA.default)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",()=>tT],174886);let tk=(0,tA.default)("CopyPlus",[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),t_=(0,tA.default)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),tP=({onClick:e,children:t,className:r="text-blue-500 hover:underline cursor-pointer"})=>(0,f.jsx)("span",{onClick:e,className:r,children:t});var tO=e.i(721552);function tR(){let e="0.1.0_early-alpha";console.log("releaseVersion, yo there: ",e);let t="string"==typeof e?e.split("_"):null;if(console.log("releaseVersionSplitted, sup there meng: ",t),t?.length!==2)throw Error("RELEASE_VERSION is not defined in the environment.");return t}function tM(e){let t=e.split("?");if(!t[1])return null;let r=t[1].match(/(?<=code=)(.*?)(?=&)/);return r?.[0]?r:null}function tF(e){let{plan:t,period:r}=e,n=t.toLowerCase();return(console.log("plan name: ",n),console.log("Environment variable (NEXT_PUBLIC_VERCEL_ENV):","production"),"silver"
1===n&&"annually"===r)?"silver_yearly":"silver"===n&&"quarterly"===r?"silver_quarterly":"silver"===n&&"monthly"===r?"silver_monthly":"bronze"===n?"bronze_yearly":"silver - copy folders"===n?"silver_yearly_single_feature_copy_folders":"bronze single feature (copy folders)"===n?"bronze_yearly_single_feature_copy_folders":"INVALID"}function tL(e,t){if("undefined"==typeof localStorage)return null;localStorage.setItem(e,JSON.stringify(t))}function tI(e,t){if("undefined"==typeof sessionStorage)return null;sessionStorage.setItem(e,JSON.stringify(t))}function tD(e,t){return t.some(t=>e.has(tO.PLAN_NAME_PARAM,t))}function tB(e){if("undefined"==typeof sessionStorage)return console.log("getSessionStorageItem called but sessionStorage is undefined."),null;let t=sessionStorage.getItem(e);return t?JSON.parse(t):null}function tU(e){return"undefined"==typeof sessionStorage?null:sessionStorage.removeItem(e)}function tz(e){if("undefined"==typeof localStorage)return null;localStorage.removeItem(e)}function t$(e){if("undefined"==typeof localStorage)return null;for(let t of e)localStorage.removeItem(t)}function tq(e){if("undefined"==typeof localStorage)return null;try{let t=localStorage.getItem(e);if("aboutUser"===e&&t){let{...e}=JSON.parse(t);return{...e}}return t?JSON.parse(t):null}catch(e){return console.error("Unable to retrieve target item from the lcoalStorage. Reason: ",e),null}}function tW(e,t){return"string"==typeof e&&function(e){try{return JSON.parse(e),!0}catch(e){return console.error("Not parsable. Reason: ",e),!1}}(e)&&typeof JSON.parse(e)===t}function tH(e){console.log("URL parameters will be reset.");let t=new URL(window.location.href);if(!e?.size)return void window.history.replaceState({},"",`${t.origin}${t.pathname}`);let r=Array.from(new URLSearchParams(t.search)).filter(([t])=>e.has(t)),n=new URL(`${t.origin}${t.pathname}`);r.forEach(([e,t])=>n.searchParams.append(e,t)),window.history.replaceState({},"",n.toString())}let tV=e=>1===e.toString().length?`0${e}`:`${e}`;function tG(e){return`$${(Math.floor(100*e)/100).toFixed(2)}`}function tY(e){let t=Math.floor(100*e)/100,r=t.toString();return r.includes(".")?`$${t.toFixed(2)}`:`$${r}`}function tX(e,t={autoClose:!1,position:"top-center",theme:"colored",className:"rounded-lg",style:{zIndex:1e7}}){return"string"!=typeof e?tj.toast.success(e,{autoClose:4e3,...t}):tj.toast.success((0,f.jsx)("span",{className:"text-sm",children:e}),{autoClose:4e3,...t})}function tK(e="Loading...",t=tO.DEFAULT_TEXT_SZ,r,n=!0,o=!0){console.log("print a message, yo there will present loading toast...");let i={position:"top-center",theme:"colored",className:"rounded-lg",icon:!1,style:{zIndex:1e7},...r};return"string"!=typeof e?tj.toast.loading((0,f.jsx)(tZ,{isSpinnerAnimated:n,willShowSpinner:o,children:(0,f.jsx)("div",{className:"min-w-0 flex-1",children:e})}),i):tj.toast.loading((0,f.jsx)(tZ,{isSpinnerAnimated:n,willShowSpinner:o,children:(0,f.jsx)("span",{className:t,children:e})}),i)}function tJ(e,t=tO.DEFAULT_TEXT_SZ,r){console.log("print a message, yo there will present loading toast...");let n={...r,position:"top-center",theme:"colored",className:"rounded-lg text-sm",style:{zIndex:1e7}};return"string"!=typeof e?tj.toast.info(e,n):tj.toast.info((0,f.jsx)("span",{className:t,children:e}),n)}let tZ=({children:e,isSpinnerAnimated:t=!0,willShowSpinner:r=!0})=>(0,f.jsxs)("div",{className:"flex items-center gap-3",children:[(0,f.jsx)("div",{className:`${r?"opacity-100":"opacity-0"} flex-shrink-0 text-[rgba(209,127,247,1)]`,"aria-hidden":!0,children:(0,f.jsxs)("svg",{className:t?"animate-spin":void 0,width:20,height:20,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,f.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]})}),e]});function tQ(e,t,r=tO.DEFAULT_TEXT_SZ,n,o,i=!0,a=!0){n?tj.toast.update(e,{...o,render:n}):tj.toast.update(e,{render:(0,f.jsx)(tZ,{isSpinnerAnimated:a,willShowSpinner:i,children:(0,f.jsx)("span",{className:r,children:t})})})}function t0(e,t,r="top-center"){return t?tj.toast.error((0,f.jsxs)("span",{className:"text-sm",children:[e," If this error persists, please contact ",(0,f.jsx)(tN.SupportLink,{}),"."]}),{position:r,theme:"colored",className:"rounded-lg",style:{zIndex:1e7}}):tj.toast.error((0,f.jsx)("span",{className:"text-sm",children:e}),{autoClose:5500,position:r,theme:"colored",className:"rounded-lg",style:{zIndex:1e7}})}function t1(e={},t,r,n){let o=n?new Date(n):new Date,i=tV(o.getUTCMonth()+1),a=tV(o.getDate()),s=o.getFullYear();if(r)return`${i}/${a}/${s}`;let l=o.getHours();l=l>12?l-12:l,l=e.willFormatHours?tV(l):l;let c=tV(o.getMinutes());if(t)return`${i}/${a}/${s} ${l}:${c}`;let u=o.getHours()>12?"pm":"am";return`${i}/${a}/${s} ${l}:${c}${u}`}function t2(e){return new Promise(t=>{setTimeout(t,e)})}function t5(e,t){let r=Math.round((12*e-12*t)/(12*e)*1e4)/100;return console.log("percentageSavedRounded, sup there: ",r),r}function t4(e){return console.log(`Will sleep for: ${e} ms`),new Promise(t=>{setTimeout(t,e)})}let t3={"Bronze Single Feature (Copy Folders)":"Bronze - Copy Folders",Silver:"Silver PRO",Bronze:"Bronze PRO",Gold:"Gold PRO"};function t6(e){return t3[e]??e}function t7(){return"required"}function t8(e){let t,r=t7();if(!(0,tE.default)("7")||!(0,tE.default)("15")||!r)throw Error("Failed to get the payment collection and trial period days. Reason: NORMATIVE_TRIAL_DAYS, SPECIAL_TRIAL_DAYS, PAYMENT_COLLECTION_STATUS environment variables are not defined.");let n=(d.default.env.NEXT_PUBLIC_CHROME_EXT_RELEASE_VERSION_PREVIEW,t="0.1.0_early-alpha",t).split("_")[1];
1return"string"===e?{normativeTrialPeriodDays:"7",specialTrialPeriodDays:"15",paymentCollectionStatus:r,chromeExtAppStatus:n}:{normativeTrialPeriodDays:parseInt("7"),specialTrialPeriodDays:parseInt("15"),paymentCollectionStatus:r,chromeExtAppStatus:n}}function t9(){let e=function(){let e="0.1.0_early-alpha";if(!e||e?.split("_")?.length!==2)throw console.log("RELEASE_VERSION:",e),Error("RELEASE_VERSION is not defined in the environment or is an invalid value. DEVELOPER ERROR!");return e}();e||e?.split("_")?.length;let[t,r]=e?.split("_");return[t,r]}async function re(){try{let e=await fetch("https://www.driveio.io/api/internal/get-internal-nodes-statuses",{headers:{isSameDomain:"true"},cache:"default"}),t=await e.json();console.log("nodeStatusesRetrievedResultResBody, sup there: ",t);let r=function(e){let{coupons:t,isQualifiedForFirst100UserDiscount:r,isUserQualifiedForEarlyAdopterDiscount:n}=e??{},o=n?t?.find(e=>"earlyStage"===e.name):null;if(n&&o)return o;let i=r?t?.find(e=>"first100"===e.name):null;return e?.isQualifiedForFirst100UserDiscount&&i?i:null}(t);return console.log("nodeStatusesRetrievedResultResBody, coupons, sup there: ",t?.coupons),{qualifiedDiscount:r,nodeStatuses:t}}catch(e){return console.error("An error has occurred within functions.tsx"),console.error("An error has occurred within the 'getNodesStatuses': ",e),null}}function rt(e,t){let r=[{id:"copyFolderGSuite",icon:(0,f.jsx)(tT,{className:"w-16 h-16 text-[rgba(209,127,247,1)]"}),title:"Copy a Folder",flexDirection:"sm:flex-row",description:(0,f.jsxs)("span",{children:["Seamlessly duplicate any Google Drive folder while maintaining its structure and contents using our ",(0,f.jsx)("b",{children:"Google Workspace add-on"})," ","available for"," ",(0,f.jsxs)(tP,{onClick:t,children:["Bronze ",tO.BRONZE_PLAN_EMOJI]}),"."]}),videoSrc:"https://storage.googleapis.com/driveio_imgs/gsuite-folder-copy-demo.mp4"},{id:"copyFoldersChromeExt",icon:(0,f.jsx)(tk,{className:"w-16 h-16 text-[rgba(209,127,247,1)]"}),title:"Bulk Folder Copy",videoSrc:"https://storage.googleapis.com/driveio_imgs/chrome-ext-bulk-folder-copying.mp4",flexDirection:"sm:flex-row-reverse",description:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("span",{children:["Save time by copying multiple folders ",(0,f.jsx)("u",{children:"simultaneously"})," with just a few clicks with our ",(0,f.jsx)("b",{children:"Chrome extension"})," available for"," ",(0,f.jsxs)(tP,{onClick:t,children:["Silver ",tO.SILVER_PLAN_EMOJI]}),"."]}),(0,f.jsx)("span",{children:"(Demo: two folders copied in parallel)"})]})}],n=[{id:"managePermissionsId",icon:(0,f.jsx)(t_,{className:"w-16 h-16 text-[rgba(209,127,247,1)]"}),title:"Manage Permissions",flexDirection:"sm:flex-row",videoSrc:"https://storage.googleapis.com/driveio_imgs/chrome-ext-delete-permissions.mp4",description:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("span",{children:["Efficiently remove collaborator access from multiple files and folders to maintain security. Included with every"," ",(0,f.jsxs)(tP,{onClick:t,children:[tO.MULTI_FEATURES_PLAN_NAME," plan"]}),"."]}),(0,f.jsx)("span",{children:"(Demo: removes 2 users, retains 1)"})]})}];return"default"===e?(console.log("createAppUIFeatureObjs: using default features"),[...r,...n]):[...r,{id:"copySharedFolders",icon:(0,f.jsx)(tb.MdFolderShared,{className:"w-16 h-16 text-[rgba(209,127,247,1)]"}),title:"Copy shared folders",videoSrc:"https://storage.googleapis.com/driveio_imgs/The%20shared%20folder%20to%20copy.mp4",flexDirection:"sm:flex-row",description:(0,f.jsxs)("span",{className:"flex flex-col",children:[(0,f.jsxs)("span",{children:["Copy shared folders easily using our ",(0,f.jsx)("b",{children:"Chrome extension"})," ","available for"," ",(0,f.jsxs)(tP,{onClick:t,children:["Silver ",tO.SILVER_PLAN_EMOJI]}),"."]}),(0,f.jsxs)("span",{children:["(Please note: appropriate access permissions are required in order to copy a shared folder. Users must either be an ",(0,f.jsx)("b",{children:"editor"}),", or hold at least ",(0,f.jsx)("b",{children:"viewer permissions"})," with the owner having explicitly enabled the option allowing viewers to copy files.)"]})]})}]}let rr=(e,t)=>{let r="px-2.5 py-0.5 rounded text-xs font-semibold border";switch(e){case"updates":return`${r} bg-blue-50 text-blue-700 border-blue-200`;case"bug":return t?`${r} bg-emerald-50 text-emerald-700 border-emerald-200`:`${r} bg-red-50 text-red-700 border-red-200`;case"bugPatched":return`${r} bg-emerald-50 text-emerald-700 border-emerald-200`;case"upcoming":return`${r} bg-purple-50 text-purple-700 border-purple-200`;case"new":return`${r} bg-green-50 text-green-700 border-green-200`;case"tips":return`${r} bg-yellow-50 text-yellow-700 border-yellow-200`;case"Chrome ext.":return`${r} ${tO.APP_COLOR_GRADIENT} text-white border`;default:return`${r} bg-gray-50 text-gray-700 border-gray-200`}};function rn(e){return"Bronze"===e?"bronze":"Bronze Single Feature (Copy Folders)"===e?"Bronze Single Feature (Copy Folders)":"Silver"===e?"silver":"Silver - Copy Folders"===e?"Silver - Copy Folders":"gold"}},618566,(e,t,r)=>{t.exports=e.r(976562)},975157,919056,845110,381515,401851,e=>{"use strict";var t,r=e.i(207670);let n=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),i=o?n(e.slice(1),o):void 0;if(i)return i;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,i=(e,t,r,n)=>
1{e.forEach(e=>{if("string"==typeof e){(""===e?t:a(t,e)).classGroupId=r;return}"function"==typeof e?s(e)?i(e(n),t,r,n):t.validators.push({validator:e,classGroupId:r}):Object.entries(e).forEach(([e,o])=>{i(o,a(t,e),r,n)})})},a=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},s=e=>e.isThemeGetter,l=/\s+/;function c(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=u(e))&&(n&&(n+=" "),n+=t);return n}let u=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=u(e[n]))&&(r&&(r+=" "),r+=t);return r},d=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},f=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,p=/^\((?:(\w[\w-]*):)?(.+)\)$/i,h=/^\d+\/\d+$/,m=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,y=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,x=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,v=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,w=e=>h.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),C=e=>!!e&&Number.isInteger(Number(e)),j=e=>e.endsWith("%")&&S(e.slice(0,-1)),N=e=>m.test(e),E=()=>!0,A=e=>y.test(e)&&!x.test(e),T=()=>!1,k=e=>v.test(e),_=e=>b.test(e),P=e=>!R(e)&&!B(e),O=e=>V(e,Z,T),R=e=>f.test(e),M=e=>V(e,Q,A),F=e=>V(e,ee,S),L=e=>V(e,Y,T),I=e=>V(e,K,_),D=e=>V(e,T,k),B=e=>p.test(e),U=e=>G(e,Q),z=e=>G(e,et),$=e=>G(e,Y),q=e=>G(e,Z),W=e=>G(e,K),H=e=>G(e,er,!0),V=(e,t,r)=>{let n=f.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},G=(e,t,r=!1)=>{let n=p.exec(e);return!!n&&(n[1]?t(n[1]):r)},Y=e=>"position"===e,X=new Set(["image","url"]),K=e=>X.has(e),J=new Set(["length","size","percentage"]),Z=e=>J.has(e),Q=e=>"length"===e,ee=e=>"number"===e,et=e=>"family-name"===e,er=e=>"shadow"===e,en=function(e,...t){let r,a,s,u=function(l){var c;let f;return a=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,o=(o,i)=>{r.set(o,i),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}})((c=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r,n=[],o=0,i=0,a=0;for(let t=0;t<e.length;t++){let s=e[t];if(0===o&&0===i){if(":"===s){n.push(e.slice(a,t)),a=t+1;continue}if("/"===s){r=t;continue}}"["===s?o++:"]"===s?o--:"("===s?i++:")"===s&&i--}let s=0===n.length?e:e.substring(a),l=(t=s).endsWith("!")?t.substring(0,t.length-1):t.startsWith("!")?t.substring(1):t;return{modifiers:n,hasImportantModifier:l!==s,baseClassName:l,maybePostfixModifierPosition:r&&r>a?r-a:void 0}};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(c),sortModifiers:(f=Object.fromEntries(c.orderSensitiveModifiers.map(e=>[e,!0])),e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]||f[e]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(let e in r)i(r[e],n,e,t);return n})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),n(r,t)||(e=>{if(o.test(e)){let t=o.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}})(e)},getConflictingClassGroupIds:(e,t)=>{let n=r[e]||[];return t&&a[e]?[...n,...a[e]]:n}}})(c)}).cache.get,s=r.cache.set,u=d,d(l)};function d(e){let t=a(e);if(t)return t;let n=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(l),c="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=r(t);if(l){c=t+(c.length>0?" "+c:c);continue}let h=!!p,m=n(h?f.substring(0,p):f);if(!m){if(!h||!(m=n(f))){c=t+(c.length>0?" "+c:c);continue}h=!1}let y=i(u).join(":"),x=d?y+"!":y,v=x+m;if(a.includes(v))continue;a.push(v);let b=o(m,h);for(let e=0;e<b.length;++e){let t=b[e];a.push(x+t)}c=t+(c.length>0?" "+c:c)}return c})(e,r);return s(e,n),n}return function(){return u(c.apply(null,arguments))}}(()=>{let e=d("color"),t=d("font"),r=d("text"),n=d("font-weight"),o=d("tracking"),i=d("leading"),a=d("breakpoint"),s=d("container"),l=d("spacing"),c=d("radius"),u=d("shadow"),f=d("inset-shadow"),p=d("drop-shadow"),h=d("blur"),m=d("perspective"),y=d("aspect"),x=d("ease"),v=d("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],T=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],_=()=>[B,R,l],V=()=>[w,"full","auto",..._()],G=()=>[C,"none","subgrid",B,R],Y=()=>["auto",{span:["full",C,B,R]},B,R],X=()=>[C,"auto",B,R],K=()=>["auto","min","max","fr",B,R],J=()=>["start","end","center","between","around","evenly","stretch","baseline"],Z=()=>["start","end","center","stretch"],Q=()=>["auto",..._()],ee=()=>[w,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],et=()=>[e,B,R],er=()=>[j,M],en=()=>["","none","full",c,B,R],eo=()=>["",S,U,M],ei=()=>["solid","dashed","dotted","double"],ea=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],es=()=>["","none",h,B,R],el=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",B,R],ec=()=>["none",S,B,R],eu=()=>["none",S,B,R],ed=()=>[S,B,R],ef=()=>[w,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[E],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[P],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",S],text:[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",w,R,B,y]}
vendor: 10,071 bytes, line 1
1],container:["container"],columns:[{columns:[S,R,B,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...A(),R,B]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[C,"auto",B,R]}],basis:[{basis:[w,"full","auto",s,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,w,"auto","initial","none",R]}],grow:[{grow:["",S,B,R]}],shrink:[{shrink:["",S,B,R]}],order:[{order:[C,"first","last","none",B,R]}],"grid-cols":[{"grid-cols":G()}],"col-start-end":[{col:Y()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":G()}],"row-start-end":[{row:Y()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":K()}],"auto-rows":[{"auto-rows":K()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Z(),"baseline"]}],"align-self":[{self:["auto",...Z(),"baseline"]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],w:[{w:[s,"screen",...ee()]}],"min-w":[{"min-w":[s,"screen","none",...ee()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...ee()]}],h:[{h:["screen",...ee()]}],"min-h":[{"min-h":["screen","none",...ee()]}],"max-h":[{"max-h":["screen",...ee()]}],"font-size":[{text:["base",r,U,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,B,F]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,R]}],"font-family":[{font:[z,R,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,B,R]}],"line-clamp":[{"line-clamp":[S,"none",B,F]}],leading:[{leading:[i,..._()]}],"list-image":[{"list-image":["none",B,R]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",B,R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:et()}],"text-color":[{text:et()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ei(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",B,M]}],"text-decoration-color":[{decoration:et()}],"underline-offset":[{"underline-offset":[S,"auto",B,R]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B,R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B,R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...A(),$,L]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",q,O]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},C,B,R],radial:["",B,R],conic:[C,B,R]},W,I]}],"bg-color":[{bg:et()}],"gradient-from-pos":[{from:er()}],"gradient-via-pos":[{via:er()}],"gradient-to-pos":[{to:er()}],"gradient-from":[{from:et()}],"gradient-via":[{via:et()}],"gradient-to":[{to:et()}],rounded:[{rounded:en()}],"rounded-s":[{"rounded-s":en()}],"rounded-e":[{"rounded-e":en()}],"rounded-t":[{"rounded-t":en()}],"rounded-r":[{"rounded-r":en()}],"rounded-b":[{"rounded-b":en()}],"rounded-l":[{"rounded-l":en()}],"rounded-ss":[{"rounded-ss":en()}],"rounded-se":[{"rounded-se":en()}],"rounded-ee":[{"rounded-ee":en()}],"rounded-es":[{"rounded-es":en()}],"rounded-tl":[{"rounded-tl":en()}],"rounded-tr":[{"rounded-tr":en()}],"rounded-br":[{"rounded-br":en()}],"rounded-bl":[{"rounded-bl":en()}],"border-w":[{border:eo()}],"border-w-x":[{"border-x":eo()}],"border-w-y":[{"border-y":eo()}],"border-w-s":[{"border-s":eo()}],"border-w-e":[{"border-e":eo()}],"border-w-t":[{"border-t":eo()}],"border-w-r":[{"border-r":eo()}],"border-w-b":[{"border-b":eo()}],"border-w-l":[{"border-l":eo()}],"divide-x":[{"divide-x":eo()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":eo()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ei(),"hidden","none"]}],"divide-style":[{divide:[...ei(),"hidden","none"]}],"border-color":[{border:et()}],"border-color-x":[{"border-x":et()}],"border-color-y":[{"border-y":et()}],"border-color-s":[{"border-s":et()}],"border-color-e":[{"border-e":et()}],"border-color-t":[{"border-t":et()}],"border-color-r":[{"border-r":et()}],"border-color-b":[{"border-b":et()}],"border-color-l":[{"border-l":et()}],"divide-color":[{divide:et()}],"outline-style":[{outline:[...ei(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,B,R]}],"outline-w":[{outline:["",S,U,M]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",u,H,D]}],"shadow-color":[{shadow:et()}],"inset-shadow":[{"inset-shadow":["none",B,R,f]}],"inset-shadow-color":[{"inset-shadow":et()}],"ring-w":[{ring:eo()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:et()}],"ring-offset-w":[{"ring-offset":[S,M]}],"ring-offset-color":[{"ring-offset":et()}],"inset-ring-w":[{"inset-ring":eo()}],"inset-ring-color":[{"inset-ring":et()}],opacity:[{opacity:[S,B,R]}],"mix-blend":[{"mix-blend":[...ea(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ea()}],filter:[{filter:["","none",B,R]}],blur:[{blur:es()}],brightness:[{brightness:[S,B,R]}],contrast:[{contrast:[S,B,R]}],"drop-shadow":[{"drop-shadow":["","none",p,B,R]}],grayscale:[{grayscale:["",S,B,R]}],"hue-rotate":[{"hue-rotate":[S,B,R]}],invert:[{invert:["",S,B,R]}],saturate:[{saturate:[S,B,R]}],sepia:[{sepia:["",S,B,R]}],"backdrop-filter":[{"backdrop-filter":["","none",B,R]}],"backdrop-blur":[{"backdrop-blur":es()}],"backdrop-brightness":[{"backdrop-brightness":[S,B,R]}],"backdrop-contrast":[{"backdrop-contrast":[S,B,R]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,B,R]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,B,R]}],"backdrop-invert":[{"backdrop-invert":["",S,B,R]}],"backdrop-opacity":[{"backdrop-opacity":[S,B,R]}],"backdrop-saturate":[{"backdrop-saturate":[S,B,R]}],"backdrop-sepia":[{"backdrop-sepia":["",S,B,R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",B,R]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",B,R]}],ease:[{ease:["linear","initial",x,B,R]}],delay:[{delay:[S,B,R]}],animate:[{animate:["none",v,B,R]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,B,R]}],"perspective-origin":[{"perspective-origin":el()}],rotate:[{rotate:ec()}],"rotate-x":[{"rotate-x":ec()}],"rotate-y":[{"rotate-y":ec()}],"rotate-z":[{"rotate-z":ec()}],scale:[{scale:eu()}],"scale-x":[{"scale-x":eu()}],"scale-y":[{"scale-y":eu()}],"scale-z":[{"scale-z":eu()}],"scale-3d":["scale-3d"],skew:[{skew:ed()}],"skew-x":[{"skew-x":ed()}],"skew-y":[{"skew-y":ed()}],transform:[{transform:[B,R,"","none","gpu","cpu"]}],"transform-origin":[{origin:el()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ef()}],"translate-x":[{"translate-x":ef()}],"translate-y":[{"translate-y":ef()}],"translate-z":[{"translate-z":ef()}],"translate-none":["translate-none"],accent:[{accent:et()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:et()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B,R]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B,R]}],fill:[{fill:["none",...et()]}],"stroke-w":[{stroke:[S,U,M,F]}],stroke:[{stroke:["none",...et()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}});e.s(["twMerge",()=>en],919056);let eo={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ei(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let ea={date:ei({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ei({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ei({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},es={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function el(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=r?.width?String(r.width):t;n=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=r?.width?String(r.width):e.defaultWidth;n=e.values[o]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function ec(e){return(t,r={})=>{let n,o=r.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let s=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(s)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(c):c,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}let eu={code:"en-US",formatDistance:(e,t,r)=>{let n,o=eo[e];if(n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:ea,formatRelative:(e,t,r,n)=>es[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:el({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:el({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:el({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:el({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:el({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,r={})=>{let n=e.match(t.matchPattern);if(!n)return null;let o=n[0],i=e.match(t.parsePattern);if(!i)return null;let a=t.valueCallback?t.valueCallback(i[0]):i[0];return{value:a=r.valueCallback?r.valueCallback(a):a,rest:e.slice(o.length)}}),era:ec({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ec({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:ec({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ec({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ec({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},ed={},ef=Symbol.for("constructDateFrom");function ep(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&ef in e?e[ef](t):e instanceof Date?new e.constructor(t):new Date(t)}function eh(e,t){return ep(t||e,e)}function em(e){let t=eh(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}function eg(e,...t){let r=ep.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}function ey(e,t){let r=eh(e,t?.in);return r.setHours(0,0,0,0),r}function ex(e,t,r){let[n,o]=eg(r?.in,e,t),i=ey(n),a=ey(o);return Math.round((i-em(i)-(a-em(a)))/864e5)}function ev(e,t){let r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??ed.weekStartsOn??ed.locale?.options?.weekStartsOn??0,n=eh(e,t?.in),o=n.getDay();return n.setDate(n.getDate()-(7*(o<r)+o-r)),n.setHours(0,0,0,0),n}function eb(e,t){return ev(e,{...t,weekStartsOn:1})}function ew(e,t){let r=eh(e,t?.in),n=r.getFullYear(),o=ep(r,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);let i=eb(o),a=ep(r,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);
1let s=eb(a);return r.getTime()>=i.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}function eS(e,t){let r=eh(e,t?.in),n=r.getFullYear(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??ed.firstWeekContainsDate??ed.locale?.options?.firstWeekContainsDate??1,i=ep(t?.in||e,0);i.setFullYear(n+1,0,o),i.setHours(0,0,0,0);let a=ev(i,t),s=ep(t?.in||e,0);s.setFullYear(n,0,o),s.setHours(0,0,0,0);let l=ev(s,t);return+r>=+a?n+1:+r>=+l?n:n-1}function eC(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}e.s(["normalizeDates",()=>eg],845110),e.s(["differenceInCalendarDays",()=>ex],381515);let ej={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return eC("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):eC(r+1,2)},d:(e,t)=>eC(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>eC(e.getHours()%12||12,t.length),H:(e,t)=>eC(e.getHours(),t.length),m:(e,t)=>eC(e.getMinutes(),t.length),s:(e,t)=>eC(e.getSeconds(),t.length),S(e,t){let r=t.length;return eC(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},eN={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return ej.y(e,t)},Y:function(e,t,r,n){let o=eS(e,n),i=o>0?o:1-o;return"YY"===t?eC(i%100,2):"Yo"===t?r.ordinalNumber(i,{unit:"year"}):eC(i,t.length)},R:function(e,t){return eC(ew(e),t.length)},u:function(e,t){return eC(e.getFullYear(),t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return eC(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return eC(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return ej.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return eC(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let o,i,a,s,l=Math.round((ev(o=eh(e,n?.in),n)-(i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??ed.firstWeekContainsDate??ed.locale?.options?.firstWeekContainsDate??1,a=eS(o,n),(s=ep(n?.in||o,0)).setFullYear(a,0,i),s.setHours(0,0,0,0),ev(s,n)))/6048e5)+1;return"wo"===t?r.ordinalNumber(l,{unit:"week"}):eC(l,t.length)},I:function(e,t,r){let n,o,i,a=Math.round((eb(n=eh(e,void 0))-(o=ew(n,void 0),(i=ep(n,0)).setFullYear(o,0,4),i.setHours(0,0,0,0),eb(i)))/6048e5)+1;return"Io"===t?r.ordinalNumber(a,{unit:"week"}):eC(a,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):ej.d(e,t)},D:function(e,t,r){let n,o,i=ex(n=eh(e,void 0),((o=eh(n,void 0)).setFullYear(o.getFullYear(),0,1),o.setHours(0,0,0,0),o))+1;return"Do"===t?r.ordinalNumber(i,{unit:"dayOfYear"}):eC(i,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let o=e.getDay(),i=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return eC(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let o=e.getDay(),i=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return eC(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),o=0===n?7:n;switch(t){case"i":return String(o);case"ii":return eC(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,o=e.getHours();
1switch(n=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,o=e.getHours();switch(n=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return ej.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):ej.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):eC(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):eC(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):ej.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):ej.s(e,t)},S:function(e,t){return ej.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return eA(n);case"XXXX":case"XX":return eT(n);default:return eT(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return eA(n);case"xxxx":case"xx":return eT(n);default:return eT(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+eE(n,":");default:return"GMT"+eT(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+eE(n,":");default:return"GMT"+eT(n,":")}},t:function(e,t,r){return eC(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return eC(+e,t.length)}};function eE(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),i=n%60;return 0===i?r+String(o):r+String(o)+t+eC(i,2)}function eA(e,t){return e%60==0?(e>0?"-":"+")+eC(Math.abs(e)/60,2):eT(e,t)}function eT(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+eC(Math.trunc(r/60),2)+t+eC(r%60,2)}let ek=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},e_=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},eP={p:e_,P:(e,t)=>{let r,n=e.match(/(P+)(p+)?/)||[],o=n[1],i=n[2];if(!i)return ek(e,t);switch(o){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",ek(o,t)).replace("{{time}}",e_(i,t))}},eO=/^D+$/,eR=/^Y+$/,eM=["D","DD","YY","YYYY"],eF=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eL=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eI=/^'([^]*?)'?$/,eD=/''/g,eB=/[a-zA-Z]/;function eU(e,t,r){let n=r?.locale??ed.locale??eu,o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??ed.firstWeekContainsDate??ed.locale?.options?.firstWeekContainsDate??1,i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??ed.weekStartsOn??ed.locale?.options?.weekStartsOn??0,a=eh(e,r?.in);if(!(a instanceof Date||"object"==typeof a&&"[object Date]"===Object.prototype.toString.call(a))&&"number"!=typeof a||isNaN(+eh(a)))throw RangeError("Invalid time value");let s=t.match(eL).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,eP[t])(e,n.formatLong):e}).join("").match(eF).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(eI))?t[1].replace(eD,"'"):r}}if(eN[t])return{isToken:!0,value:e};if(t.match(eB))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});n.localize.preprocessor&&(s=n.localize.preprocessor(a,s));let l={firstWeekContainsDate:o,weekStartsOn:i,locale:n};return s.map(o=>{if(!o.isToken)return o.value;let i=o.value;return(!r?.useAdditionalWeekYearTokens&&eR.test(i)||!r?.useAdditionalDayOfYearTokens&&eO.test(i))&&function(e,t,r){var n,o,i;let a,s=(n=e,o=t,i=r,a="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${o}\`) for formatting ${a} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(s),eM.includes(e))throw RangeError(s)}(i,t,String(e)),(0,eN[i[0]])(a,i,n.localize,l)}).join("")}function ez(...e){return en((0,r.clsx)(e))}e.s(["format",()=>eU],401851),e.s(["getIsObj",0,e=>e&&"object"==typeof e&&!Array.isArray(e),"getIsWithinParentElement",()=>function e(t,r,n="className",o){if(!t?.parentElement||t?.parentElement&&n in t.parentElement&&t?.parentElement[n]===void 0)return console.log("Reached end of document."),!1;let i=!1;if("includes"===o&&t.parentElement[n]){let e=t.parentElement[n];i="string"==typeof r?t.parentElement[n].includes(r):function(e,t){let r=Array.from(e),n=!1;for(let e of r)if(e.includes(t)){n=!0;break}return n}(r,e)}else if("strictEquals"===o&&t.parentElement[n]){let e=t.parentElement[n];i=t.parentElement[n]===r,i="string"==typeof r?e===r:r.has(e)}return t?.parentElement!=null&&"object"==typeof t?.parentElement&&"string"==typeof t.parentElement[n]&&!!i||e(t.parentElement,r,n,o)},"mergeTailwindClasses",()=>ez],975157)},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157),n=e.i(271645);let o=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("div",{ref:o,className:(0,r.mergeTailwindClasses)("rounded-lg border bg-card text-card-foreground shadow-sm mx-2 sm:mx-sm-0",e),...n}));
1o.displayName="Card";let i=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("div",{ref:o,className:(0,r.mergeTailwindClasses)("flex flex-col space-y-1.5 p-6",e),...n}));i.displayName="CardHeader";let a=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("h3",{ref:o,className:(0,r.mergeTailwindClasses)("text-2xl font-semibold leading-none tracking-tight",e),...n}));a.displayName="CardTitle";let s=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("p",{ref:o,className:(0,r.mergeTailwindClasses)("text-sm text-muted-foreground",e),...n}));s.displayName="CardDescription";let l=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("div",{ref:o,className:(0,r.mergeTailwindClasses)("p-6 pt-0",e),...n}));l.displayName="CardContent";let c=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("div",{ref:o,className:(0,r.mergeTailwindClasses)("flex items-center p-6 pt-0",e),...n}));c.displayName="CardFooter",e.s(["Card",()=>o,"CardContent",()=>l,"CardDescription",()=>s,"CardFooter",()=>c,"CardHeader",()=>i,"CardTitle",()=>a])},991918,820783,e=>{"use strict";var t=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,o=e.map(e=>{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():r(e[t],null)}}}}function o(...e){return t.useCallback(n(...e),e)}e.s(["composeRefs",()=>n,"useComposedRefs",()=>o],820783);var i=e.i(843476);function a(e){var r;let o,a=(r=e,(o=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,s,l=(a=o,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(c.ref=r?n(r,l):l),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,o),s=t.forwardRef((e,r)=>{let{children:n,...o}=e,s=t.Children.toArray(n),l=s.find(c);if(l){let e=l.props.children,n=s.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,i.jsx)(a,{...o,ref:r,children:n})});return s.displayName=`${e}.Slot`,s}var s=a("Slot"),l=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}e.s(["Slot",()=>s,"createSlot",()=>a],991918)},519455,225913,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(991918),o=e.i(207670);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=o.clsx,s=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let a=i(t)||i(n);return o[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return a(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...c}[t]):({...s,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,s],225913);var l=e.i(975157);let c=s("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",custom:""}},defaultVariants:{variant:"default",size:"default"}}),u=r.forwardRef(({className:e,variant:r,size:o,asChild:i=!1,...a},s)=>{let u=i?n.Slot:"button";return(0,t.jsx)(u,{className:(0,l.mergeTailwindClasses)(c({variant:r,size:o,className:e})),ref:s,...a})});u.displayName="Button",e.s(["Button",()=>u],519455)},268462,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(519455),o=e.i(721552),i=e.i(975157);e.s(["default",0,({onClick:e,ref:r,children:a,isChildrenDisplayed:s,isSpinnerShown:l,disabled:c,
1className:u="",spinnerDimension:d,variant:f="outline",childrenClassName:p="",spinnerColor:h=o.APP_COLOR_PURPLE})=>(0,t.jsxs)(n.Button,{disabled:c,onClick:e,size:"custom",className:(0,i.mergeTailwindClasses)("relative",u),variant:f,ref:r,children:[(0,t.jsx)("div",{className:`${l?"opacity-100":"opacity-0"} absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 `,children:(0,t.jsxs)("svg",{style:{width:`${d?.width??30}px`,height:`${d?.height??30}px`,fill:h},className:"text-gray-200 animate-spin dark:text-black-600",viewBox:"0 0 100 101",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}),(0,t.jsx)("div",{className:`${s?"opacity-100":"opacity-0"} ${p}`,children:a})]}),"useBtnWithLoadingAnimationState",0,(e="Submit")=>{let[t,n]=(0,r.useState)(!0),[i,a]=(0,r.useState)(!1),[s,l]=(0,r.useState)(!1),[c,u]=(0,r.useState)(!1),[d,f]=(0,r.useState)(o.APP_COLOR_GRADIENT),[p,h]=(0,r.useState)(e);return{_isChildrenDisplayed:[t,n],_isBtnDisabled:[c,u],_didErr:[s,l],_isSpinnerShown:[i,a],_btnColor:[d,f],_btnTxt:[p,h]}}])},768834,e=>{"use strict";var t=e.i(271645);let r=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,i={setState:n,getState:o,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,o,i);return i},n=e=>{let n=e?r(e):r,o=e=>(function(e,r=e=>e){let n=t.default.useSyncExternalStore(e.subscribe,()=>r(e.getState()),()=>r(e.getInitialState()));return t.default.useDebugValue(n),n})(n,e);return Object.assign(o,n),o},o=e=>e?n(e):n;e.s(["create",()=>o],768834)},213419,e=>{"use strict";let t=(0,e.i(768834).create)(e=>({isOpen:!1,willShowCaptcha:!0,setState(t){e(e=>({...e,...t}))}}));e.s(["useJoinWaitlistStore",0,t])},901760,e=>{"use strict";var t=e.i(768834);let r=(0,t.create)(e=>({userType:"normal",setState(t){e(e=>({...e,...t}))}})),n=(0,t.create)(e=>({isDisplayed:!1,isTemporarilyHidden:!1,setState(t){e(e=>({...e,...t}))}}));e.s(["useCookiesPolicyBannerStore",0,n,"useUserChosenPlanStore",0,r])},408913,e=>{"use strict";var t=e.i(768834);let r=(0,t.create)(e=>({isNavMenuOpen:!1,isPlansDetailModalOpen:!1,isAnnualPricingSelected:!0,setState(t){e(e=>({...e,...t}))}})),n=(0,t.create)(e=>({setState(t){e(e=>({...e,...t}))}})),o=(0,t.create)(e=>({setState(t){e(e=>({...e,...t}))}}));e.s(["useAppStore",0,r,"useGlobalCookieStore",0,o,"usePaymentCollectionStatusAndDiscountStore",0,n])},216726,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("40418c5a85237087fb9418f73d3256197695108978",t.callServer,void 0,t.findSourceMapURL,"getIsOriginValid");e.s(["getIsOriginValid",()=>r])},655941,e=>{"use strict";var t=e.i(843476),r=e.i(519455),n=e.i(268462),o=e.i(617310),i=e.i(721552),a=e.i(213419),s=e.i(901760),l=e.i(408913),c=e.i(719419),u=e.i(216726),d=e.i(618566),f=e.i(271645),p=e.i(482710),h=e.i(19351),m=e.i(353142),y=e.i(170319);function x(e){window.scrollTo({top:0,left:0,behavior:"auto"}),window.location.assign(e)}let v=new Set(["pre-launch-google-reviewable","pre-launch"]),b=({plan:e,isUserSignedInAndHasAnAccount:r,appVersionName:n,silverPlanTrialDays:o,className:i})=>{let[a,s]=(0,f.useState)(!1);return((0,f.useEffect)(()=>{s(!0)},[]),a)?"comingSoon"===e.status||"pre-launch"===n?(0,t.jsxs)("span",{className:i,children:["Join waitlist for ",(0,t.jsx)("em",{children:e.name})," ",e.emoji]}):"pre-launch-google-reviewable"===n?(0,t.jsxs)("span",{className:i,children:["Join waitlist for ",(0,t.jsx)("em",{children:e.name})," ",e.emoji," or buy with a"," ",(0,t.jsx)("em",{children:"Code"})]}):("Silver"===e.name||"Silver - Copy Folders"===e.name)&&o?(0,t.jsxs)("span",{className:i,children:["Start your ",o,"-day free trial"]}):r?(0,t.jsx)("span",{className:i,children:e.buttonText}):(0,t.jsx)("span",{className:i,children:e.buttonTextSignedInUser}):null};e.s(["SelectPlanBtnUI",0,({handlePlanDetailsBtnClick:e,isHighlighted:n,children:o})=>(0,t.jsx)(r.Button,{onClick:e,className:`w-[93%] min-h-[45px] py-[1.7rem] sm:py-0 whitespace-normal break-words text-center ${n?"bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] hover:opacity-90":"border-[rgba(209,127,247,0.5)] text-[rgba(209,127,247,1)] hover:bg-[rgba(209,127,247,0.1)]"}`,variant:n?"default":"outline",children:o}),"default",0,({plan:e,isSelectedPlanAnnualPricing:r,selectedBillingType:w,canNavigateToAccountPg:S=!1,cookies:C,appVersionName:j,isFetchingPlanData:N,silverPlanTrialDays:E})=>{let A=!!(C&&C.access&&C.refresh&&(0,h.default)(C.expiresAt)&&C.sessionId&&C.userId),{setState:T}=(0,a.useJoinWaitlistStore)(e=>e),k=(0,s.useUserChosenPlanStore)(e=>e.setState),_=(0,l.useAppStore)(e=>e.setState),{_isSpinnerShown:[P,O]}=(0,n.useBtnWithLoadingAnimationState)(),R=(0,d.usePathname)(),M=(0,f.useRef)(null);(0,f.useEffect)(()=>(console.log("Current pathname is select plan btn: ",R),()=>{M.current=null}),[]);let F=(0,f.useRef)(null);async function L(){try{F.current&&y.toast.dismiss(F.current),console.log("plan details btn clicked"),O(!0),await (0,o.sleep)(300);let n=w??(r?"annually":"monthly");if(v.has(j)){if("comingSoon"===e.status){k({chosenToView:e,payPeriodTypeToView:n}),_({isPlansDetailModalOpen:!0});return}T({isOpen:!0,membershipSelected:e.name});return}if(!A&&"/account"===R)throw new m.CustomClientError("notSignedInOnAccountPage","An error has occurred. Can't start checkout session.",!0);e&&w&&(0,o.setLocalStorageItem)("planToBuy",{plan:(0,o.convertForLocalStorage)(e.name),period:w}),"/standalone-plans/copy-a-folder-in-google-drive"===R&&(0,o.setLocalStorageItem)("planToBuy",{plan:(0,o.convertForLocalStorage)(e.name),period:"annually"});let{access:a,expiresAt:s,refresh:l,userId:d,subscriptionId:f,sessionId:h,guestUserId:b}=await (0,c.getCookies)(["access","refresh","expiresAt","userId","guestUserId","subscriptionId","sessionId"]),C=!!(a&&s&&l);if(f)return void x("/profile");if(C&&!d||!d||b)return void x("/onboarding");if(!C)return void x("/login");if(S){var t;let r;return void(r=e.name.toLowerCase(),A?(0,o.setLocalStorageItem)("planToBuy",{plan:r,period:n}):(0,o.removeLocalStorageItem)("planToBuy"),x((t=e.name,`${window.location.origin}/account?${i.PAY_PERIOD_TYPE_PARAM}=${n}&${i.PLAN_NAME_PARAM}=${t.toLowerCase()}`)))}let N=!!A&&(0,u.getIsOriginValid)(window.location.origin);if(console.log("isOriginValid, yo there: ",N),A&&!N)throw console.error("Developer Error: isUserSignedInAndHasAnAccount && isOriginValid branch entered in SelectPlanBtn.tsx. This state is unexpected. Check how isOriginValid is being derived (should be awaited/promise)."),new m.CustomClientError("wrongPg","An error has occurred.");
1let E=e.name.toLowerCase(),P=(0,o.getPlanName)({plan:E,period:n});if("INVALID"===P)throw new m.CustomClientError("invalidPlanStr","An error has occurred. Can't start checkout session.",!0);if(M.current=new p.ApiServicesSecured(a,l,parseInt(s),h),!M.current)throw new m.CustomClientError("notSignedInOnAccountPage","Can't start checkout session. Please refresh the page and try again.",!0);console.log("Plan details button clicked - proceeding to get checkout session URL...");let L=await M.current.services.createUserStripeCheckoutSession(window.location.origin,P,d,n);if(console.log("checkoutSessionUrlCreationResult: ",L),"err_type"in L||!L.checkout_url){let e="err_msg"in L?L.err_msg:void 0;throw new m.CustomClientError("checkoutSessionCreationErr",e??"Unable to start checkout session. Please refresh the page and try again.",!0)}x(L.checkout_url)}catch(r){let{errType:e,message:t}=r;console.error("Error Type: ",e),F.current=(0,o.presentErrToast)(t??"Unknown error has occurred.",!0),console.error("An error has occurred within SelectPlanBtn.tsx"),console.error("An error has occurred within the 'handlePlanDetailsBtnClick': ",r)}finally{O(!1)}}let I=e.isHighlighted;return(0,t.jsx)(n.default,{onClick:L,className:`w-[93%] p-3 min-h-[45px] whitespace-normal break-words text-center ${I?"bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] hover:opacity-90":"border-[rgba(209,127,247,0.5)] text-[rgba(209,127,247,1)] hover:bg-[rgba(209,127,247,0.1)]"}`,variant:I?"default":"outline",isChildrenDisplayed:!N||!P,isSpinnerShown:N||P,spinnerDimension:{width:24,height:24},spinnerColor:I?"#ffffff":"rgba(209,127,247,1)",children:(0,t.jsx)(b,{className:`${P||N?"opacity-0":"opacity-100"}`,appVersionName:j,plan:e,isUserSignedInAndHasAnAccount:A,silverPlanTrialDays:E})})}])},431908,e=>{"use strict";e.i(247167);var t,r,n,o,i={},a=function(){if(t)return i;t=1,i.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var n={},o=e.length;if(o<2)return n;var i=t&&t.decode||u,a=0,s=0,d=0;do{if(-1===(s=e.indexOf("=",a)))break;if(-1===(d=e.indexOf(";",a)))d=o;else if(s>d){a=e.lastIndexOf(";",s-1)+1;continue}var f=l(e,a,s),p=c(e,s,f),h=e.slice(f,p);if(!r.call(n,h)){var m=l(e,s+1,d),y=c(e,d,m);34===e.charCodeAt(m)&&34===e.charCodeAt(y-1)&&(m++,y--);var x=e.slice(m,y);n[h]=function(e,t){try{return t(e)}catch(t){return e}}(x,i)}a=d+1}while(a<o)return n},i.serialize=function(t,r,i){var l=i&&i.encode||encodeURIComponent;if("function"!=typeof l)throw TypeError("option encode is invalid");if(!n.test(t))throw TypeError("argument name is invalid");var c=l(r);if(!o.test(c))throw TypeError("argument val is invalid");var u=t+"="+c;if(!i)return u;if(null!=i.maxAge){var d=Math.floor(i.maxAge);if(!isFinite(d))throw TypeError("option maxAge is invalid");u+="; Max-Age="+d}if(i.domain){if(!a.test(i.domain))throw TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!s.test(i.path))throw TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){var f,p=i.expires;if(f=p,"[object Date]"!==e.call(f)||isNaN(p.valueOf()))throw TypeError("option expires is invali
1d");u+="; Expires="+p.toUTCString()}if(i.httpOnly&&(u+="; HttpOnly"),i.secure&&(u+="; Secure"),i.partitioned&&(u+="; Partitioned"),i.priority)switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,o=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function l(e,t,r){do{var n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++t<r)return r}function c(e,t,r){for(;t>r;){var n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return r}
1function u(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}return i}();function s(e,t={}){var r;let n=(r=e)&&"j"===r[0]&&":"===r[1]?r.substr(2):r;if(!t.doNotParse)try{return JSON.parse(n)}catch(e){}return e}var l=e.i(271645);let c=l.createContext(new class t{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let e=this.cookies;this.cookies=a.parse(document.cookie),this._checkChanges(e)};const n="undefined"==typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?a.parse(e):"object"==typeof e&&null!==e?e:{}}(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=function(){let t=e.g.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof t?t:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:s(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),s(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();let t={};for(let r in this.cookies)t[r]=s(this.cookies[r],e);return t}set(e,t,r){r=r?Object.assign(Object.assign({},this.defaultSetOptions),r):this.defaultSetOptions;let n="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:n}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(e,n,r)),this._emitChange({name:e,value:t,options:r})}remove(e,t){let r=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(e,"",r)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){let t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}),{Provider:u,Consumer:d}=c;l.Component,"function"==typeof SuppressedError&&SuppressedError;var f={exports:{}},p={};!function(){if(!o){o=1;var e=(n||(n=1,f.exports=function(){if(r)return p;r=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:switch(e=e.type){case c:case u:case o:case a:case i:case f:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case m:case s:return e;default:return r}}case n:return r}}}function C(e){return S(e)===u}return p.AsyncMode=c,p.ConcurrentMode=u,p.ContextConsumer=l,p.ContextProvider=s,p.Element=t,p.ForwardRef=d,p.Fragment=o,p.Lazy=y,p.Memo=m,p.Portal=n,p.Profiler=a,p.StrictMode=i,p.Suspense=f,p.isAsyncMode=function(e){return C(e)||S(e)===c},p.isConcurrentMode=C,p.isContextConsumer=function(e){return S(e)===l},p.isContextProvider=function(e){return S(e)===s},p.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},p.isForwardRef=function(e){return S(e)===d},p.isFragment=function(e){return S(e)===o},p.isLazy=function(e){return S(e)===y},p.isMemo=function(e){return S(e)===m},p.isPortal=function(e){return S(e)===n},p.isProfiler=function(e){return S(e)===a},p.isStrictMode=function(e){return S(e)===i},p.isSuspense=function(e){return S(e)===f},p.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===x)},p.typeOf=S,p}()),f.exports),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[e.Memo]=a;Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype}}();
1let h=["userId","access","sessionId","refresh","expiresAt","isCustomOccupation","givenName","email","isUserGuest","guestUserId","membership","pay_period_type","plan_charge_date_timestamp","plan_trial_start_date","plan_trial_end_date","plan_start_date","userCode","didUserAcceptCookiesPolicy","codeType","userImg","mostRecentFinishedOnboardingStep"],m=new Set(["isCustomOccupation","isUserGuest","didUserAcceptCookiesPolicy"]),y=new Set(["plan_trial_start_date","plan_charge_date_timestamp","plan_trial_end_date","plan_start_date","mostRecentFinishedOnboardingStep"]),x=new Set(h),v={userCode:{expires:new Date(new Date().getTime()+6048e5),secure:!0,path:"/"},isUserGuest:{expires:new Date(new Date().getTime()+6048e5),secure:!0,path:"/"},mostRecentFinishedOnboardingStep:{expires:new Date(new Date().getTime()+6048e5),secure:!0,path:"/"}};e.s(["useAppCookies",0,()=>{let[e,t,r]=function(e,t){let r=(0,l.useContext)(c);if(!r)throw Error("Missing <CookiesProvider>");let n=Object.assign(Object.assign({},{doNotUpdate:!0}),void 0),[o,i]=(0,l.useState)(()=>r.getAll(n));return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,l.useLayoutEffect)(()=>{function t(){let t=r.getAll(n);(function(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1})(e||null,t,o)&&i(t)}return r.addChangeListener(t),()=>{r.removeChangeListener(t)}},[r,o]),[o,(0,l.useMemo)(()=>r.set.bind(r),[r]),(0,l.useMemo)(()=>r.remove.bind(r),[r]),(0,l.useMemo)(()=>r.update.bind(r),[r])]}(h);function n(t){let r={};for(let n of t){let t=e[n];if(console.log("Cookie value for ",n,":",t),t&&y.has(n)){let e=parseInt(t);r={...r,[n]:e};continue}if("boolean"==typeof t&&m.has(n)){let e=JSON.parse(t);r={...r,[n]:e};continue}if(t){r={...r,[n]:t};continue}}return r}return{cookies:e,setAppCookies:function(e,r,n){if(!x.has(e))throw Error(`Invalid cookie name ${e}. ${e} wasn't add to the 'COOKIES_KEYS' array.`);let o=n??v[e];y.has(e)||m.has(e)?t(e,JSON.stringify(r),o):t(e,r,o)},getAppCookies:n,getIsUserSignedIn:function(){let{access:e,refresh:t,sessionId:r,expiresAt:o,guestUserId:i,isUserGuest:a}=n(["access","refresh","sessionId","expiresAt","userId","guestUserId","isUserGuest"]),s=!!(e&&t&&r&&o);return{isSignedIn:s,type:a||i?"guest":s?"user":"notSignedIn"}},removeAppCookie:function(e,t){let n=t??v[e];r(e,n)}}}],431908)},933227,e=>{"use strict";e.i(247167);var t=e.i(271645),r=class extends t.Component{constructor(e){super(e),this.t=()=>this.i.current.offsetWidth,this.h=()=>this.i.current.offsetHeight,this.i=t.default.createRef(),this.state={path:""},this.l=0,this.o=0,this.p=0,this.u=this.u.bind(this)}m(){let e=[];for(let t=0;t<=Math.max(this.props.points,1);t++){let r=t/this.props.points*this.t(),n=(this.p+(t+t%this.props.points))*this.props.speed*100,o=Math.sin(n/100)*this.props.amplitude,i=Math.sin(n/100)*o+this.props.height;e.push({x:r,y:i})}return e}$(e){let t=`M ${e[0].x} ${e[0].y}`,r={x:(e[1].x-e[0].x)/2,y:e[1].y-e[0].y+e[0].y+(e[1].y-e[0].y)},n=(e,t)=>` C ${e.x} ${e.y} ${e.x} ${e.y} ${t.x} ${t.y}`;t+=n(r,e[1]);let o=r;for(let r=1;r<e.length-1;r++)t+=n(o={x:e[r].x-o.x+e[r].x,y:e[r].y-o.y+e[r].y},e[r+1]);return t+=` L ${this.t()} ${this.h()}`,t+=` L 0 ${this.h()} Z`}v(){this.setState({path:this.$(this.m())})}M(){if(!this.props.paused){let e=new Date;this.o+=e-this.l,this.l=e}this.p=this.o*Math.PI/1e3,this.v()}u(){this.M(),this._&&this.D()}D(){this._=window.requestAnimationFrame(this.u),this.l=new Date}componentDidMount(){this._||this.D()}componentWillUnmount(){window.cancelAnimationFrame(this._),this._=0}render(){let{style:e,className:r,fill:n,paused:o,children:i,id:a,svgId:s,svgPathId:l,d:c,ref:u,height:d,amplitude:f,speed:p,points:h,...m}=this.props;return t.default.createElement("div",{style:{width:"100%",display:"inline-block",...e},className:r,id:a,ref:this.i},t.default.createElement("svg",{width:"100%",height:"100%",version:"1.1",xmlns:"http://www.w3.org/2000/svg",id:s},i,t.default.createElement("path",Object.assign({},{d:this.state.path,fill:n,id:l},m))))}};let n={fill:"#fff",paused:!1,height:20,amplitude:20,speed:.15,points:3};e.s(["default",0,e=>{let{options:o,...i}=e;return t.default.createElement(r,Object.assign({},n,o,i))}],933227)},981140,30030,934620,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"undefined"!=typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t],981140);var r=e.i(271645),n=e.i(843476);function o(e,t){let o=r.createContext(t),i=e=>{let{children:t,...i}=e,a=r.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(n){let i=r.useContext(o);if(i)return i;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function i(e,t=[]){let o=[],a=()=>
1{let t=o.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(t,i){let a=r.createContext(i),s=o.length;o=[...o,i];let l=t=>{let{scope:o,children:i,...l}=t,c=o?.[e]?.[s]||a,u=r.useMemo(()=>l,Object.values(l));return(0,n.jsx)(c.Provider,{value:u,children:i})};return l.displayName=t+"Provider",[l,function(n,o){let l=o?.[e]?.[s]||a,c=r.useContext(l);if(c)return c;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(a,...t)]}e.s(["createContext",()=>o,"createContextScope",()=>i],30030);var a=globalThis?.document?r.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>a],934620)},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=t[" useId ".trim().toString()]||(()=>void 0),o=0;function i(e){let[i,a]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}e.s(["useId",()=>i])},369340,e=>{"use strict";var t=e.i(271645),r=e.i(934620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function o({prop:e,defaultProp:r,onChange:o=()=>{},caller:i}){let[a,s,l]=function({defaultProp:e,onChange:r}){let[o,i]=t.useState(e),a=t.useRef(o),s=t.useRef(r);return n(()=>{s.current=r},[r]),t.useEffect(()=>{a.current!==o&&(s.current?.(o),a.current=o)},[o,a]),[o,i,s]}({defaultProp:r,onChange:o}),c=void 0!==e,u=c?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,i])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[c,e,s,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>o],369340)},248425,e=>{"use strict";var t=e.i(271645),r=e.i(174080),n=e.i(991918),o=e.i(843476),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let i=(0,n.createSlot)(`Primitive.${r}`),a=t.forwardRef((e,t)=>{let{asChild:n,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?i:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});function a(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>i,"dispatchDiscreteCustomEvent",()=>a])},296626,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(934620),o=e=>{var o;let a,s,{present:l,children:c}=e,u=function(e){var r,o;let[a,s]=t.useState(),l=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,r));return t.useEffect(()=>{let e=i(l.current);u.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=c.current;if(r!==e){let n=u.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=i(l.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(u.current=i(l.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,s(e)},[])}}(l),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(u.ref,(o=d,(s=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(s=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",()=>o])},37727,e=>{"use strict";let t=(0,e.i(475254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],37727)},776639,30207,726330,774606,326999,e=>{"use strict";let t;var r,n,o,i,a,s,l,c,u=e.i(843476),d=e.i(271645),f=e.i(981140),p=e.i(820783),h=e.i(30030),m=e.i(610772),y=e.i(369340),x=e.i(248425);function v(e){let t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["useCallbackRef",()=>v],30207);var b="dismissableLayer.update",w=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=d.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,h=d.useContext(w),[m,y]=d.useState(null),S=m?.ownerDocument??globalThis?.document,[,C]=d.useState({}),E=(0,p.useComposedRefs)(t,e=>y(e)),A=Array.from(h.layers),[T]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=A.indexOf(T),_=m?A.indexOf(m):-1,P=h.layersWithOutsidePointerEventsDisabled.size>0,O=_>=k,R=function(e,t=globalThis?.document){let r=v(e),n=d.useRef(!1),o=d.useRef(()=>{});return d.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){N("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...h.branches].some(e=>e.contains(t));O&&!r&&(o?.(e),a?.(e),e.defaultPrevented||s?.())},S),M=function(e,t=globalThis?.document){let r=v(e),n=d.useRef(!1);return d.useEffect(()=>{let e=e=>{e.target&&!n.current&&N("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...h.branches].some(e=>e.contains(t))&&(i?.(e),a?.(e),e.defaultPrevented||s?.())},S);return!function(e,t=globalThis?.document){let r=v(e);d.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{_===h.layers.size-1&&(n?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},S),d.useEffect(()=>{if(m)return r&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(l=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(m)),h.layers.add(m),j(),()=>{r&&1===h.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=l)}},[m,S,r,h]),d.useEffect(()=>()=>{m&&(h.layers.delete(m),h.layersWithOutsidePointerEventsDisabled.delete(m),j())},[m,h]),d.useEffect(()=>{let e=()=>C({});return document.addEventListener(b,e),()=>document.removeEventListener(b,e)},[]),(0,u.jsx)(x.Primitive.div,{...c,ref:E,style:{pointerEvents:P?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,f.composeEventHandlers)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,f.composeEventHandlers)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,f.composeEventHandlers)(e.onPointerDownCapture,R.onPointerDownCapture)})});S.displayName="DismissableLayer";var C=d.forwardRef((e,t)=>{let r=d.useContext(w),n=d.useRef(null),o=(0,p.useComposedRefs)(t,n);return d.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(x.Primitive.div,{...e,ref:o})});function j(){let e=new CustomEvent(b);document.dispatchEvent(e)}function N(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,x.dispatchDiscreteCustomEvent)(o,i):o.dispatchEvent(i)}C.displayName="DismissableLayerBranch",e.s(["Branch",()=>C,"DismissableLayer",()=>S,"Root",()=>S],726330);var E="focusScope.autoFocusOnMount",A="focusScope.autoFocusOnUnmount",T={bubbles:!1,cancelable:!0},k=d.forwardRef((e,t)=>
1{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.useState(null),c=v(o),f=v(i),h=d.useRef(null),m=(0,p.useComposedRefs)(t,e=>l(e)),y=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(n){let e=function(e){if(y.paused||!s)return;let t=e.target;s.contains(t)?h.current=t:O(h.current,{select:!0})},t=function(e){if(y.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||O(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&O(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,y.paused]),d.useEffect(()=>{if(s){R.add(y);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(E,T);s.addEventListener(E,c),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(O(n,{select:t}),document.activeElement!==r)return}(_(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&O(s))}return()=>{s.removeEventListener(E,c),setTimeout(()=>{let t=new CustomEvent(A,T);s.addEventListener(A,f),s.dispatchEvent(t),t.defaultPrevented||O(e??document.body,{select:!0}),s.removeEventListener(A,f),R.remove(y)},0)}}},[s,c,f,y]);let b=d.useCallback(e=>{if(!r&&!n||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,n=e.currentTarget,[a,s]=[P(t=_(i=n),i),P(t.reverse(),i)];a&&s?e.shiftKey||o!==s?e.shiftKey&&o===a&&(e.preventDefault(),r&&O(s,{select:!0})):(e.preventDefault(),r&&O(a,{select:!0})):o===n&&e.preventDefault()}},[r,n,y.paused]);return(0,u.jsx)(x.Primitive.div,{tabIndex:-1,...a,ref:m,onKeyDown:b})});function _(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function P(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function O(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}k.displayName="FocusScope";var R=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=M(t,e)).unshift(e)},remove(e){t=M(t,e),t[0]?.resume()}});function M(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var F=e.i(174080),L=e.i(934620),I=d.forwardRef((e,t)=>{let{container:r,...n}=e,[o,i]=d.useState(!1);(0,L.useLayoutEffect)(()=>i(!0),[]);let a=r||o&&globalThis?.document?.body;return a?F.default.createPortal((0,u.jsx)(x.Primitive.div,{...n,ref:t}),a):null});I.displayName="Portal",e.s(["Portal",()=>I],774606);var D=e.i(296626),B=0;function U(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var z=function(){return(z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function $(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var q=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),W="width-before-scroll-bar";function H(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var V="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,G=new WeakMap,Y=(void 0===r&&(r={}),(void 0===n&&(n=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=n(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=z({async:!0,ssr:!1},r),a),X=function(){},K=d.forwardRef(function(e,t){var r,n,o,i,a=d.useRef(null),s=d.use
1State({onScrollCapture:X,onWheelCapture:X,onTouchMoveCapture:X}),l=s[0],c=s[1],u=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,y=e.shards,x=e.sideCar,v=e.noRelative,b=e.noIsolation,w=e.inert,S=e.allowPinchZoom,C=e.as,j=e.gapMode,N=$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(r=[a,t],n=function(e){return r.forEach(function(t){return H(t,e)})},(o=(0,d.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,V(function(){var e=G.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||H(e,null)}),n.forEach(function(e){t.has(e)||H(e,o)})}G.set(i,r)},[r]),i),A=z(z({},N),l);return d.createElement(d.Fragment,null,m&&d.createElement(x,{sideCar:Y,removeScrollBar:h,shards:y,noRelative:v,noIsolation:b,inert:w,setCallbacks:c,allowPinchZoom:!!S,lockRef:a,gapMode:j}),u?d.cloneElement(d.Children.only(f),z(z({},A),{ref:E})):d.createElement(void 0===C?"div":C,z({},A,{className:p,ref:E}),f))});K.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},K.classNames={fullWidth:W,zeroRight:q};var J=function(e){var t=e.sideCar,r=$(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return d.createElement(n,z({},r))};J.isSideCarExport=!0;var Z=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Q=function(){var e=Z();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},ee=function(){var e=Q();return function(t){return e(t.styles,t.dynamic),null}},et={left:0,top:0,right:0,gap:0},er=function(e){return parseInt(e||"",10)||0},en=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[er(r),er(n),er(o)]},eo=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return et;var t=en(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},ei=ee(),ea="data-scroll-locked",es=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(ea,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(q," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(W," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(q," .").concat(q," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(W," .").concat(W," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(ea,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},el=function(){var e=parseInt(document.body.getAttribute(ea)||"0",10);return isFinite(e)?e:0},ec=function(){d.useEffect(function(){return document.body.setAttribute(ea,(el()+1).toString()),function(){var e=el()-1;e<=0?document.body.removeAttribute(ea):document.body.setAttribute(ea,e.toString())}},[])},eu=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;ec();var i=d.useMemo(function(){return eo(o)},[o]);return d.createElement(ei,{styles:es(i,!t,o,r?"":"!important")})},ed=!1;if("undefined"!=typeof window)try{var ef=Object.defineProperty({},"passive",{get:function(){return ed=!0,!0}});window.addEventListener("test",ef,ef),window.removeEventListener("test",ef,ef)}catch(e){ed=!1}var ep=!!ed&&{passive:!1},eh=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},em=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eg(e,n)){var o=ey(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},eg=function(e,t){return"v"===e?eh(t,"overflowY"):eh(t,"overflowX")},ey=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ex=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=r.target,c=t.contains(l),u=!1,d=s>0,f=0,p=0;
1do{if(!l)break;var h=ey(e,l),m=h[0],y=h[1]-h[2]-a*m;(m||y)&&eg(e,l)&&(f+=y,p+=m);var x=l.parentNode;l=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!c&&l!==document.body||c&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(f)||!o&&s>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(u=!0),u},ev=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eb=function(e){return[e.deltaX,e.deltaY]},ew=function(e){return e&&"current"in e?e.current:e},eS=0,eC=[];let ej=(s=function(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),o=d.useState(eS++)[0],i=d.useState(ee)[0],a=d.useRef(e);d.useEffect(function(){a.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ew),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=ev(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=em(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=em(d,u)),!f)return!1;if(!n.current&&"changedTouches"in e&&(l||c)&&(n.current=o),!o)return!0;var p=n.current||o;return ex(p,t,e,"h"===p?l:c,!0)},[]),l=d.useCallback(function(e){if(eC.length&&eC[eC.length-1]===i){var r="deltaY"in e?eb(e):ev(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(ew).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=d.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=d.useCallback(function(e){r.current=ev(e),n.current=void 0},[]),f=d.useCallback(function(t){c(t.type,eb(t),t.target,s(t,e.lockRef.current))},[]),p=d.useCallback(function(t){c(t.type,ev(t),t.target,s(t,e.lockRef.current))},[]);d.useEffect(function(){return eC.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ep),document.addEventListener("touchmove",l,ep),document.addEventListener("touchstart",u,ep),function(){eC=eC.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,ep),document.removeEventListener("touchmove",l,ep),document.removeEventListener("touchstart",u,ep)}},[]);var h=e.removeScrollBar,m=e.inert;return d.createElement(d.Fragment,null,m?d.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?d.createElement(eu,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},Y.useMedium(s),J);var eN=d.forwardRef(function(e,t){return d.createElement(K,z({},e,{ref:t,sideCar:ej}))});eN.classNames=K.classNames;var eE=new WeakMap,eA=new WeakMap,eT={},ek=0,e_=function(e){return e&&(e.host||e_(e.parentNode))},eP=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=e_(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});eT[r]||(eT[r]=new WeakMap);var i=eT[r],a=[],s=new Set,l=new Set(o),c=function(e){!e||s.has(e)||(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,l=(eE.get(e)||0)+1,c=(i.get(e)||0)+1;eE.set(e,l),i.set(e,c),a.push(e),1===l&&o&&eA.set(e,!0),1===c&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),ek++,function(){a.forEach(function(e){var t=eE.get(e)-1,o=i.get(e)-1;eE.set(e,t),i.set(e,o),t||(eA.has(e)||e.removeAttribute(n),eA.delete(e)),o||e.removeAttribute(r)}),--ek||(eE=new WeakMap,eE=new WeakMap,eA=new WeakMap,eT={})}},eO=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),eP(n,o,r,"aria-hidden")):function(){return null}},eR=e.i(991918),eM="Dialog",[eF,eL]=(0,h.createContextScope)(eM),[eI,eD]=eF(eM),eB=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:
1a=!0}=e,s=d.useRef(null),l=d.useRef(null),[c,f]=(0,y.useControllableState)({prop:n,defaultProp:o??!1,onChange:i,caller:eM});return(0,u.jsx)(eI,{scope:t,triggerRef:s,contentRef:l,contentId:(0,m.useId)(),titleId:(0,m.useId)(),descriptionId:(0,m.useId)(),open:c,onOpenChange:f,onOpenToggle:d.useCallback(()=>f(e=>!e),[f]),modal:a,children:r})};eB.displayName=eM;var eU="DialogTrigger",ez=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eD(eU,r),i=(0,p.useComposedRefs)(t,o.triggerRef);return(0,u.jsx)(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":e7(o.open),...n,ref:i,onClick:(0,f.composeEventHandlers)(e.onClick,o.onOpenToggle)})});ez.displayName=eU;var e$="DialogPortal",[eq,eW]=eF(e$,{forceMount:void 0}),eH=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=eD(e$,t);return(0,u.jsx)(eq,{scope:t,forceMount:r,children:d.Children.map(n,e=>(0,u.jsx)(D.Presence,{present:r||i.open,children:(0,u.jsx)(I,{asChild:!0,container:o,children:e})}))})};eH.displayName=e$;var eV="DialogOverlay",eG=d.forwardRef((e,t)=>{let r=eW(eV,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=eD(eV,e.__scopeDialog);return i.modal?(0,u.jsx)(D.Presence,{present:n||i.open,children:(0,u.jsx)(eX,{...o,ref:t})}):null});eG.displayName=eV;var eY=(0,eR.createSlot)("DialogOverlay.RemoveScroll"),eX=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eD(eV,r);return(0,u.jsx)(eN,{as:eY,allowPinchZoom:!0,shards:[o.contentRef],children:(0,u.jsx)(x.Primitive.div,{"data-state":e7(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),eK="DialogContent",eJ=d.forwardRef((e,t)=>{let r=eW(eK,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=eD(eK,e.__scopeDialog);return(0,u.jsx)(D.Presence,{present:n||i.open,children:i.modal?(0,u.jsx)(eZ,{...o,ref:t}):(0,u.jsx)(eQ,{...o,ref:t})})});eJ.displayName=eK;var eZ=d.forwardRef((e,t)=>{let r=eD(eK,e.__scopeDialog),n=d.useRef(null),o=(0,p.useComposedRefs)(t,r.contentRef,n);return d.useEffect(()=>{let e=n.current;if(e)return eO(e)},[]),(0,u.jsx)(e0,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,f.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,f.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,f.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),eQ=d.forwardRef((e,t)=>{let r=eD(eK,e.__scopeDialog),n=d.useRef(!1),o=d.useRef(!1);return(0,u.jsx)(e0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let i=t.target;r.triggerRef.current?.contains(i)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),e0=d.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=eD(eK,r),l=d.useRef(null),c=(0,p.useComposedRefs)(t,l);return d.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??U()),document.body.insertAdjacentElement("beforeend",e[1]??U()),B++,()=>{1===B&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),B--}},[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(k,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,u.jsx)(S,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":e7(s.open),...a,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(tt,{titleId:s.titleId}),(0,u.jsx)(tr,{contentRef:l,descriptionId:s.descriptionId})]})]})}),e1="DialogTitle",e2=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eD(e1,r);return(0,u.jsx)(x.Primitive.h2,{id:o.titleId,...n,ref:t})});e2.displayName=e1;var e5="DialogDescription",e4=d.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,o=eD(e5,r);return(0,u.jsx)(x.Primitive.p,{id:o.descriptionId,...n,ref:t})});e4.displayName=e5;var e3="DialogClose",e6=d.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eD(e3,r);return(0,u.jsx)(x.Primitive.button,{type:"button",...n,ref:t,onClick:(0,f.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function e7(e){return e?"open":"closed"}e6.displayName=e3;var e8="DialogTitleWarning",[e9,te]=(0,h.createContext)(e8,{contentName:eK,titleName:e1,docsSlug:"dialog"}),tt=({titleId:e})=>{let t=te(e8),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},tr=({contentRef:e,descriptionId:t})=>{let r=te("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return d.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};e.s(["Close",()=>e6,"Content",()=>eJ,"Description",()=>e4,"DialogClose",()=>e6,"DialogTitle",()=>e2,"Overlay",()=>eG,"Portal",()=>eH,"Root",()=>eB,"Title",()=>e2,"Trigger",()=>ez],326999);var tn=e.i(37727),to=e.i(975157);let ti=d.forwardRef(({className:e,onClick:t,...r},n)=>(0,u.jsx)(eG,{ref:n,onClick:t,className:(0,to.mergeTailwindClasses)("h-screen w-screen overflow-y-scroll fixed inset-0 z-50 bg-black/40  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...r}));ti.displayName=eG.displayName;let ta=d.forwardRef(({className:e,children:t,onClose:r,onOverlayCick:n,disableBackdropClose:o,xIconClassName:i,xIconBtnClassName:a,...s},l)=>{let c=r;o&&n?c=n:o&&(c=void 0);
5let d=(0,to.mergeTailwindClasses)("absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",a);return(0,u.jsxs)(eH,{children:[(0,u.jsx)(ti,{onClick:c}),(0,u.jsxs)(eJ,{ref:l,className:(0,to.mergeTailwindClasses)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",e),...s,children:[t,r&&(0,u.jsxs)(e6,{onClick:r,className:d,style:{zIndex:1e4},children:[(0,u.jsx)(tn.X,{className:i}),(0,u.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});ta.displayName=eJ.displayName;let ts=({className:e,...t})=>(0,u.jsx)("div",{className:(0,to.mergeTailwindClasses)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ts.displayName="DialogHeader";let tl=({className:e,...t})=>(0,u.jsx)("div",{className:(0,to.mergeTailwindClasses)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});tl.displayName="DialogFooter";let tc=d.forwardRef(({className:e,...t},r)=>(0,u.jsx)(e2,{ref:r,className:(0,to.mergeTailwindClasses)("text-lg font-semibold leading-none tracking-tight",e),...t}));tc.displayName=e2.displayName;let tu=d.forwardRef(({className:e,...t},r)=>(0,u.jsx)(e4,{ref:r,className:(0,to.mergeTailwindClasses)("text-sm text-muted-foreground",e),...t}));tu.displayName=e4.displayName,e.s(["Dialog",()=>eB,"DialogClose",()=>e6,"DialogContent",()=>ta,"DialogDescription",()=>tu,"DialogFooter",()=>tl,"DialogHeader",()=>ts,"DialogTitle",()=>tc],776639)},591175,e=>{"use strict";var t=e.i(843476),r=e.i(776639),n=e.i(271645);e.s(["default",0,({isOpen:e,handleOnOpenChange:o,children:i,className:a,onClose:s,disableBackdropClose:l=!1,disableEscapeClose:c=!1,onOverlayCick:u,title:d,titleClassName:f="hidden",xIconClassName:p="h-4 w-4",xIconBtnClassName:h,dialogContentRef:m})=>{let[y,x]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{x(!0)},[]),(0,t.jsxs)(r.Dialog,{open:e,onOpenChange:c?void 0:o,children:[y&&(0,t.jsx)(r.DialogTitle,{className:f,children:d}),(0,t.jsx)(r.DialogContent,{ref:m,onClose:s,className:a,disableBackdropClose:l,onOverlayCick:u,xIconClassName:p,xIconBtnClassName:h,children:i})]})}])},87299,e=>{"use strict";var t=e.i(768834);let r=(0,t.create)(e=>({isFeedbackModalDisplayed:!1,isSuccessModalOn:!1,isAccountExitFlowModalOn:!1,discountNotifierModal:{isDisplayed:!1,percentSaved:50,earlyAdopterSpotsMax:100},firstXUsersDiscountNotifierModal:{isDisplayed:!1,percentOff:50,firstXUsersMax:100,yearlyDurationMonths:12,quarterlyDurationMonths:6},setState(t){e(e=>({...e,...t}))}})),n=(0,t.create)(e=>({isOn:!1,setState(t){e(e=>({...e,...t}))}}));e.s(["useRegionAvailabilityNoticeModalStore",0,n,"useUserModalStore",0,r])},511152,e=>{"use strict";var t=e.i(940141);function r(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"},child:[]}]})(e)}function n(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"},child:[]}]})(e)}function o(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"},child:[]}]})(e)}function i(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z"},child:[]}]})(e)}function a(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z"},child:[]}]})(e)}function s(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.
56-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"},child:[]}]})(e)}function l(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"},child:[]}]})(e)}function c(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z"},child:[]}]})(e)}function u(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"},child:[]}]})(e)}function d(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M471.1 96C405 96 353.3 137.3 320 174.6 286.7 137.3 235 96 168.9 96 75.8 96 0 167.8 0 256s75.8 160 168.9 160c66.1 0 117.8-41.3 151.1-78.6 33.3 37.3 85 78.6 151.1 78.6 93.1 0 168.9-71.8 168.9-160S564.2 96 471.1 96zM168.9 320c-40.2 0-72.9-28.7-72.9-64s32.7-64 72.9-64c38.2 0 73.4 36.1 94 64-20.4 27.6-55.9 64-94 64zm302.2 0c-38.2 0-73.4-36.1-94-64 20.4-27.6 55.9-64 94-64 40.2 0 72.9 28.7 72.9 64s-32.7 64-72.9 64z"},child:[]}]})(e)}function f(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"},child:[]}]})(e)}function p(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z"},child:[]}]})(e)}function h(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19
5-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function m(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}function y(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(e)}function x(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"},child:[]}]})(e)}e.s(["FaCalendarAlt",()=>o,"FaClipboard",()=>i,"FaCloud",()=>a,"FaEnvelope",()=>s,"FaExternalLinkAlt",()=>l,"FaFacebookF",()=>r,"FaGift",()=>c,"FaHome",()=>u,"FaInfinity",()=>d,"FaLink",()=>f,"FaLinkedinIn",()=>n,"FaRegCheckCircle",()=>x,"FaShoppingCart",()=>p,"FaStar",()=>h,"FaUser",()=>m,"FaUsers",()=>y])},641690,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(933227),o=e.i(591175),i=e.i(87299),a=e.i(721552),s=e.i(511152),l=e.i(473665);let c="w-5 h-5 text-blue-600",u=({children:e,Icon:r})=>(0,t.jsx)("div",{className:"flex justify-center items-center w-full",children:(0,t.jsxs)("div",{className:"px-1 sm:px-0 flex items-center justify-center max-w-[408px] lg:max-w-[none] min-w-[283px] lg:min-w-[none]",children:[(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)("div",{className:"flex-shrink-0 w-[2rem] h-[2rem] sm:w-[2.25rem] sm:h-[2.25rem] bg-blue-100 rounded-full flex items-center justify-center",children:r})}),(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-gray-700 ms-2",children:e})})]})}),d=({percentSaved:e,earlyAdopterSpotsMax:o,title:i,isOkBtnShaking:d,handleOnClose:f,handleOnCloseBtnMouseOver:p,id:h,className:m="relative overflow-auto",titleClassName:y="text-center text-2xl font-semibold w-[fit-content] xl:min-w-[auto]",animationType:x})=>{let{_compStyles:v,elementRef:b}=(e=>{let t={};"slideUp"===e&&(t={opacity:0,transition:"opacity 0.6s ease, transform 0.6s ease"});let[n,o]=(0,r.useState)(t),i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if("none"===e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&o(e=>({...e,opacity:1}))},{threshold:.1});return i.current&&t.observe(i.current),()=>t.disconnect()},[]),{_compStyles:[n,o],elementRef:i}})(x);return(0,t.jsxs)("div",{id:h,ref:b,style:v[0],className:m,children:[(0,t.jsx)("div",{style:{borderBottom:"solid 1px white"},className:"top-0 left-0 w-full overflow-auto",children:(0,t.jsxs)("div",{className:`relative ${a.APP_COLOR_GRADIENT}`,children:[(0,t.jsxs)("div",{className:"absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%] w-full z-[10000] flex flex-col md:flex-row justify-center items-center",children:[(0,t.jsx)(l.MdDiscount,{color:"#FFD700",className:"md:text-black md:me-2 h-[40px] w-[40px] md:h-[22px] md:w-[22px]"}),(0,t.jsx)("h1",{className:`${y} mt-2 md:mt-0`,children:i??(0,t.jsxs)(t.Fragment,{children:["Early Adopter Coupon -"," ",e?`${e}% off`:(0,t.jsx)("i",{children:"UNKNOWN PERCENT"})," ",(0,t.jsx)("em",{children:"FOR LIFE"})]})})]}),(0,t.jsx)(n.default,{fill:"white",paused:!0,style:{display:"flex",borderBottom:"solid .5px white"},options:{height:81,amplitude:450,speed:.15,points:2}})]})}),(0,t.jsxs)("div",{style:{borderTop:"solid 1px white"},className:"relative z-10",children:[(0,t.jsxs)("p",{className:"text-gray-700 text-center mt-2 mb-1",children:[(0,t.jsx)("span",{className:"text-2xl",children:"🎊"}),(0,t.jsx)("b",{children:"Congrats!"})]}),(0,t.jsxs)("p",{className:"text-gray-700 text-center mb-4",children:["You are qualified to become an early adopter user (first"," ",o??100,")."]}),(0,t.jsx)("div",{className:"text-center mb-6 w-[95%]",children:(0,t.jsx)("span",{className:"text-pink-500 hover:text-pink-600 font-medium text-sm underline",children:"Perks as an early adopter include:"})}),(0,t.jsxs)("div",{className:"mx-5 md:mx-0 space-y-3 mb-6 flex justify-center flex-col items-center",children:[(0,t.jsxs)(u,{Icon:(0,t.jsx)(s.FaInfinity,{className:c}),children:["A ",(0,t.jsx)("i",{children:"LIFE TIME"})," discount of 50% for your Silver Subscription"]}),(0,t.jsx)(u,{Icon:(0,t.jsx)(s.FaGift,{className:c}),children:"15 day free trial for your Silver Subscription purchase"}),(0,t.jsxs)(u,{Icon:(0,t.jsx)(s.FaShoppingCart,{className:c}),children:["50% off of any purchases on Drive I/O (downgrades/upgrades/enterprise plans) ",(0,t.jsx)("i",{children:"FOR LIFE"})]}),(0,t.jsx)(u,{Icon:(0,t.jsx)(s.FaCloud,{className:c}),children:"A lifetime of extra storage (this feature currently being built)"}),(0,t.jsx)(u,{Icon:(0,t.jsx)(s.FaStar,{color:"gold",className:c}),children:"A early adopter badge will be display on your profile"})]})]}),(0,t.jsx)("div",{className:"border-t border-gray-200 bg-gray-50 px-6 py-2 sm:py-4",children:(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("button",{onClick:f,onMouseOver:p,className:`bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-8 rounded-lg transition-all duration-200 shadow-lg hover:shadow-xl ${d?"bounce-animation":""}`,children:"OK"})})})]})};e.s(["EarlyAdopterDiscountNotifierModalUI",0,d,"default",0,({className:e="w-screen h-screen sm:h-auto sm:max-h-[90vh] sm:w-[80vw] p-0 overflow-auto max-w-none sm:max-w-3xl",animationType:n="none",disableBackdropClose:a=!0,disableEscapeClose:s=!0})=>{let{discountNotifierModal:l,setState:c}=(0,i.useUserModalStore)(e=>e),{isDisplayed:u,onClose:f,earlyAdopterSpotsMax:p,percentSaved:h}=l,[m,y]=(0,r.useState)(!1);function x(){f&&f(),c({discountNotifierModal:{isDisplayed:!1,percentSaved:null}})}return console.log("percentSaved in EarlyAdopterDiscountNotifierModal: ",h),(0,t.jsx)(o.default,{isOpen:!!u,onClose:x,className:e,disableBackdropClose:a,disableEscapeClose:s,onOverlayCick:function(){console.log("Overlay clicked - modal shake triggered"),y(!0),setTimeout(()=>{y(!1)},1500)},title:"Early Adopter Discount",xIconClassName:"h-8 w-8",xIconBtnClassName:"right-1 top-1",children:(0,t.jsx)(d,{earlyAdopterSpotsMax:p,isOkBtnShaking:m,handleOnClose:x,percentSaved:h,animationType:n})})}],641690)},484469,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(591175),o=e.i(87299),i=e.i(721552),a=e.i(511152),s=e.i(618566);let l="w-4 h-4 text-slate-500",c=({children:e,Icon:r})=>(0,t.jsxs)("div",{className:"flex w-full items-start gap-3",children:[(0,t.jsx)("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-gray-100",children:r}),(0,t.jsx)("span",{className:"pt-0.5 text-sm leading-snug text-slate-700 sm:text-[15px]",children:e})]});function u(e,t,r){return 12===e?"first year":1===e?"first month":"number"==typeof e&&e>1?`first ${e} months`:t?t.replace(/^for your /i,""):r}function d(e,t){let r=e?.find(e=>"first100"===e.name&&e.info.associated_billing_types.includes("annually")),n=e?.find(e=>"first100"===e.name&&e.info.associated_billing_types.includes("quarterly")),o=r??n??e?.find(e=>"first100"===e.name),i=o?.info.percent_off,a="number"==typeof i?i:50,s="number"==typeof n?.info.percent_off?n.info.percent_off:a;return{isDisplayed:!0,firstXUsersMax:t,percentOff:a,quarterlyPercentOff:s,yearly
5DurationMonths:r?.info.coupon_duration??12,quarterlyDurationMonths:n?.info.coupon_duration??6,yearlyDurationDescriptor:r?.info.coupon_duration_descriptor,quarterlyDurationDescriptor:n?.info.coupon_duration_descriptor}}let f=({percentOff:e,quarterlyPercentOff:r,firstXUsersMax:n,yearlyDurationMonths:o,quarterlyDurationMonths:s,yearlyDurationDescriptor:d,quarterlyDurationDescriptor:f,isSignUpBtnShaking:p,handleOnSignUpClick:h,handleOnCloseBtnMouseOver:m,id:y,className:x="relative overflow-auto bg-white"})=>{let v=e??50,b=n??100,w=u(o,d,"first year"),S=u(s,f,"first 6 months");return(0,t.jsxs)("div",{id:y,className:x,children:[(0,t.jsxs)("div",{className:"px-6 pb-2 pt-6 sm:px-8",children:[(0,t.jsx)("div",{children:(0,t.jsxs)("h1",{className:"flex items-center justify-center gap-2 text-lg font-bold text-slate-800 sm:text-xl",children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"🎁"}),(0,t.jsxs)("span",{children:["First ",b," Users Discount"]})]})}),(0,t.jsx)("p",{className:"mt-3 text-center text-base font-semibold text-green-600 sm:text-lg",children:"You're in!"}),(0,t.jsxs)("p",{className:"mt-1 text-center text-sm text-slate-600 sm:text-[15px]",children:["Exclusive benefits for the first"," ",(0,t.jsxs)("span",{className:"font-medium underline underline-offset-2",children:[b," yearly users"]}),"."]})]}),(0,t.jsx)("div",{className:"px-6 sm:px-8",children:(0,t.jsxs)("div",{className:"mt-4 rounded-2xl border border-gray-200 bg-gray-50 px-4 py-5 text-center",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-slate-400",children:"Your exclusive rate"}),(0,t.jsxs)("p",{className:"mt-1 text-4xl font-bold tracking-tight text-slate-900 sm:text-5xl",children:[Math.round(v),"% OFF"]}),(0,t.jsxs)("p",{className:"mt-2 text-sm text-slate-500",children:["for your ",(0,t.jsx)("span",{className:"italic",children:w})," on any yearly plan"]})]})}),(0,t.jsxs)("div",{className:"mt-6 space-y-4 px-6 sm:px-8",children:[(0,t.jsxs)(c,{Icon:(0,t.jsx)(a.FaGift,{className:l}),children:[(0,t.jsxs)("span",{className:"font-semibold",children:[Math.round(v),"% off"]})," ","your ",(0,t.jsx)("span",{className:"font-semibold",children:w})," on any ",i.APP_NAME," yearly subscription"]}),(0,t.jsxs)(c,{Icon:(0,t.jsx)(a.FaGift,{className:l}),children:[(0,t.jsx)("span",{className:"italic",children:"OR"})," ",(0,t.jsxs)("span",{className:"font-semibold",children:[Math.round(r??v),"% off"]})," ","your ",(0,t.jsx)("span",{className:"font-semibold",children:S})," ","on our ",i.SILVER_PLAN_EMOJI," Silver quarterly subscription"]}),(0,t.jsxs)(c,{Icon:(0,t.jsx)(a.FaCalendarAlt,{className:l}),children:["Discount applies automatically when you choose a"," ",(0,t.jsx)("span",{className:"italic",children:"yearly billing cycle"})]}),(0,t.jsxs)(c,{Icon:(0,t.jsx)(a.FaUsers,{className:l}),children:["Limited to the first"," ",(0,t.jsxs)("span",{className:"font-semibold",children:[b," users"]})," ","— claim your spot before they're gone"]})]}),(0,t.jsxs)("div",{className:"mt-6 border-t border-gray-200 px-6 py-5 sm:px-8",children:[(0,t.jsxs)("p",{className:"mb-4 text-center text-sm text-slate-600",children:["Sign up now to"," ",(0,t.jsx)("button",{type:"button",onClick:h,className:"font-semibold uppercase underline underline-offset-2",children:"CLAIM"})," ","your ",Math.round(v),"% ",w," ","discount!"]}),(0,t.jsxs)("button",{type:"button",onClick:h,onMouseOver:m,className:`w-full rounded-full px-4 py-3.5 text-sm font-bold text-white shadow-md transition-all duration-200 hover:opacity-90 sm:text-base ${i.APP_COLOR_GRADIENT} ${p?"bounce-animation":""}`,children:["Sign up — Get ",Math.round(v),"% off for your"," ",w,"!"]})]})]})};e.s(["FirstXUsersDiscountNotifierModalUI",0,f,"default",0,({className:e="w-[92vw] max-h-[90vh] p-0 overflow-auto max-w-md sm:max-w-lg rounded-2xl",disableBackdropClose:i=!1,disableEscapeClose:a=!1})=>{let{firstXUsersDiscountNotifierModal:l,setState:c}=(0,o.useUserModalStore)(e=>e),{isDisplayed:u,onClose:d,percentOff:p,quarterlyPercentOff:h,firstXUsersMax:m,yearlyDurationMonths:y,quarterlyDurationMonths:x,yearlyDurationDescriptor:v,quarterlyDurationDescriptor:b}=l,[w,S]=(0,r.useState)(!1),C=(0,s.usePathname)();function j(){d&&d(),c({firstXUsersDiscountNotifierModal:{isDisplayed:!1,percentOff:null}})}return console.log("percentOff in FirstXUsersDiscountNotifierModal: ",p),(0,t.jsx)(n.default,{isOpen:!!u,onClose:j,className:e,disableBackdropClose:i,disableEscapeClose:a,onOverlayCick:function(){console.log("Overlay clicked - first X users discount modal shake triggered"),S(!0),setTimeout(()=>{S(!1)},1500)},title:"First 100 Users Discount",xIconClassName:"h-5 w-5 text-gray-400",xIconBtnClassName:"right-3 top-3",children:(0,t.jsx)(f,{percentOff:p,quarterlyPercentOff:h,firstXUsersMax:m,yearlyDurationMonths:y,quarterlyDurationMonths:x,yearlyDurationDescriptor:v,quarterlyDurationDescriptor:b,isSignUpBtnShaking:w,handleOnSignUpClick:function(){if(j(),"/account"!==C&&"/onboarding"!==C){if("/"===C){let e=document.getElementById("pricingSectionId");e&&e.scrollIntoView({behavior:"smooth"});return}window.location.href="/account"}}})})},"getFirstXUsersDiscountNotifierModalState",()=>d])},63209,e=>{"use strict";let t=(0,e.i(475254).default)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["AlertCircle",()=>t],63209)},502559,(e,t,r)=>{"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;r.validate=function(e){if(!e||e.length>254||!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64||t[1].split(".").some(function(e){return e.length>63}))}},793479,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(975157);let o=r.forwardRef(({className:e,type:r,...o},i)=>(0,t.jsx)("input",{type:r,className:(0,n.mergeTailwindClasses)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
5ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),ref:i,...o}));o.displayName="Input",e.s(["Input",()=>o])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(248425),o=r.forwardRef((e,r)=>(0,t.jsx)(n.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var i=e.i(225913),a=e.i(975157);let s=(0,i.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(o,{ref:n,className:(0,a.mergeTailwindClasses)(s(),e),...r}));l.displayName=o.displayName,e.s(["Label",()=>l],110204)},93e3,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["ErrorTxt",0,({children:e,style:n,className:o="text-red-500",fontSize:i="text-sm"})=>(0,t.jsx)("div",{style:n,className:(0,r.mergeTailwindClasses)("min-h-[20px] leading-snug",i,o),children:e})])},232189,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,r)=>{"use strict";var n=e.r(232189);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},745009,(e,t,r)=>{t.exports=e.r(865156)()},552210,(e,t,r)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,x=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,S=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case x:case y:case c:return e;default:return t}}case i:return t}}}function j(e){return C(e)===f}r.AsyncMode=d,r.ConcurrentMode=f,r.ContextConsumer=u,r.ContextProvider=c,r.Element=o,r.ForwardRef=p,r.Fragment=a,r.Lazy=x,r.Memo=y,r.Portal=i,r.Profiler=l,r.StrictMode=s,r.Suspense=h,r.isAsyncMode=function(e){return j(e)||C(e)===d},r.isConcurrentMode=j,r.isContextConsumer=function(e){return C(e)===u},r.isContextProvider=function(e){return C(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},r.isForwardRef=function(e){return C(e)===p},r.isFragment=function(e){return C(e)===a},r.isLazy=function(e){return C(e)===x},r.isMemo=function(e){return C(e)===y},r.isPortal=function(e){return C(e)===i},r.isProfiler=function(e){return C(e)===l},r.isStrictMode=function(e){return C(e)===s},r.isSuspense=function(e){return C(e)===h},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===x||e.$$typeof===y||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===v)},r.typeOf=C},179684,(e,t,r)=>{"use strict";t.exports=e.r(552210)},398437,(e,t,r)=>{"use strict";var n=e.r(179684),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;
5t.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),y=0;y<a.length;++y){var x=a[y];if(!i[x]&&!(n&&n[x])&&!(m&&m[x])&&!(s&&s[x])){var v=f(r,x);try{c(t,x,v)}catch(e){}}}}return t}},455263,e=>{"use strict";var t,r,n=e.i(271645),o=e.i(745009),i=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function a(){return(a=Object.assign.bind()).apply(this,arguments)}function s(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,l(t,e);var r=t.prototype;return r.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},r.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},r.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},r.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},r.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},r.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},r.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},r.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},r.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},r.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},r.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},r.componentDidMount=function(){this.explicitRender()},r.componentDidUpdate=function(){this.explicitRender()},r.handleRecaptchaRef=function(e){this.captcha=e},r.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,i));return n.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},t}(n.Component);c.displayName="ReCAPTCHA",c.propTypes={sitekey:o.default.string.isRequired,onChange:o.default.func,grecaptcha:o.default.object,theme:o.default.oneOf(["dark","light"]),type:o.default.oneOf(["image","audio"]),tabindex:o.default.number,onExpired:o.default.func,onErrored:o.default.func,size:o.default.oneOf(["compact","normal","invisible"]),stoken:o.default.string,hl:o.default.string,badge:o.default.oneOf(["bottomright","bottomleft","inline"]),isolated:o.default.bool},c.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var u=e.i(398437);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
5for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var f={},p=0,h="onloadcallback";function m(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}let y=(t=function(){var e=m(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+h+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+h+"&render=explicit"},r=r={callbackName:h,globalName:"grecaptcha",attributes:m().nonce?{nonce:m().nonce}:{}},function(e){var i=e.displayName||e.name||"Component",a=function(o){function i(e,t){var r;return(r=o.call(this,e,t)||this).state={},r.__scriptURL="",r}i.prototype=Object.create(o.prototype),i.prototype.constructor=i,i.__proto__=o;var a=i.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+p++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof t?t():t,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=f[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[r.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=r,i=o.globalName,a=o.callbackName,s=o.scriptId;if(i&&void 0!==window[i]&&(f[t]={loaded:!0,observers:{}}),f[t]){var l=f[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},f[t]={loaded:!1,observers:c};var u=document.createElement("script");for(var d in u.src=t,u.async=!0,r.attributes)u.setAttribute(d,r.attributes[d]);s&&(u.id=s);var p=function(e){if(f[t]){var r=f[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=f[t];e&&(e.loaded=!0,p(function(t){return!a&&(t(e),!0)}))},u.onerror=function(){var e=f[t];e&&(e.errored=!0,p(function(t){return t(e),!0}))},document.body.appendChild(u)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===r.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var o=f[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===r.removeOnUnmount&&delete f[e])},a.render=function(){var t=r.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(a[t]=void 0!==window[t]?window[t]:void 0),a.ref=i,(0,n.createElement)(e,a)},i}(n.Component),s=(0,n.forwardRef)(function(e,t){return(0,n.createElement)(a,d({},e,{forwardedRef:t}))});return s.displayName="AsyncScriptLoader("+i+")",s.propTypes={asyncScriptOnLoad:o.default.func},(0,u.default)(s,e)})(c);e.s(["default",0,y],455263)},457077,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(455263);e.s(["default",0,({isDisabled:e=!1}={})=>{let o=(0,r.useRef)(null),i="6LcOQfkrAAAAAOCDkaIl33RumrIQLV_ZqQ6wbOR-",a=i.length>0,s=(0,r.useCallback)(async()=>{if(!a)return null;let e=o.current?.getValue();return"string"==typeof e&&e.length>0?e:null},[a]);return{Captcha:a?(0,t.jsx)("div",{className:e?"pointer-events-none select-none opacity-60":void 0,"aria-disabled":e||void 0,children:(0,t.jsx)(n.default,{ref:o,sitekey:i,type:"image"})}):null,ref:o,executeVerificationAsync:s}}])},955255,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),n=e.i(502559),o=e.i(933227),i=e.i(793479),a=e.i(110204),s=e.i(519455),l=e.i(721552),c=e.i(268462),u=e.i(617310),d=e.i(170319),f=e.i(95187),p=(0,f.createServerReference)("785501a8ae8fb55622e885f1c1116ee94d2a0f4f10",f.callServer,void 0,f.findSourceMapURL,"recordUserInterest"),h=e.i(93e3),m=e.i(457077),y=e.i(618566);let x=`Interested in ${l.APP_NAME}?`,v=`${l.APP_NAME} is not available in your country.`,b="extensionNotAvailable";e.s(["NOT_AVAILABLE_TITLE_TYPE",0,b,"default",0,()=>{let e=(0,y.useRouter)(),f=(0,y.useSearchParams)().get("title")===b?v:x,[w,S]=(0,r.useState)(new Map),{_isChildrenDisplayed:[C,j],_isBtnDisabled:[N,E],_isSpinnerShown:[A,T]}=(0,c.useBtnWithLoadingAnimationState)(),[k,_]=(0,r.useState)(""),[P,O]=(0,r.useState)({firstName:"",email:"",country:""}),{Captcha:R,ref:M}=(0,m.default)();async function F(e){e.preventDefault(),k&&d.toast.dismiss(k);try{j(!1),T(!0),E(!0),await (0,u.pause)(300);let e=new Map;1===P.firstName.length&&e.set("firstName","*Must be greater than a character."),P.email.length?n.default.validate(P.email)||e.set("email","*Invalid email."):e.set("email","*This field is required."),P.country.length||e.set("country","*This field is required.");let t=M.current?.getValue();if(t||e.set("recaptchaErr","*Are you a robot 🤖?"),e.size){S(e);let t=(0,u.presentErrToast)("Please check out your inputs.");_(t.toString());return}let{wasSuccessful:r}=await p(P.email,P.country,P.firstName,t??void 0);if(!r){M.current?.reset();let e=(0,u.presentErrToast)("An error has occurred. Please refresh the page and try again.",!0);_(e.toString());return}
5(0,u.presentSuccessToast)("Thank you for your interest! We have received your information and will be in touch soon if we have any questions.",{autoClose:!1,position:"top-center",theme:"colored",className:"rounded-lg",style:{zIndex:1e7}})}finally{j(!0),T(!1),E(!1)}}function L(e){k&&d.toast.dismiss(k),S(t=>{let r=structuredClone(t);return r.delete(e.target.name),r}),O(t=>({...t,[e.target.name]:e.target.value}))}return(0,t.jsxs)("div",{className:"mx-auto w-full max-w-3xl overflow-hidden rounded-2xl border bg-white shadow-lg",children:[(0,t.jsx)("div",{className:"relative overflow-auto rounded-t-2xl",children:(0,t.jsx)("div",{style:{borderBottom:"solid 1px white"},className:"top-0 left-0 w-full overflow-auto rounded-t-2xl",children:(0,t.jsxs)("div",{className:`relative rounded-t-2xl ${l.APP_COLOR_GRADIENT}`,children:[(0,t.jsx)("div",{className:"absolute top-[50%] left-[50%] z-[10000] flex w-full translate-x-[-50%] translate-y-[-50%] flex-col items-center justify-center md:flex-row",children:(0,t.jsxs)("h1",{className:"mt-2 w-[fit-content] text-center text-2xl font-semibold md:mt-0 xl:min-w-[auto]",children:["💡 ",f]})}),(0,t.jsx)(o.default,{fill:"white",paused:!0,style:{display:"flex",borderBottom:"solid .5px white"},className:"rounded-t-2xl",options:{height:81,amplitude:450,speed:.15,points:2}})]})})}),(0,t.jsxs)("div",{style:{borderTop:"solid 1px white"},className:"relative z-10",children:[(0,t.jsx)("div",{className:"mb-6 mt-4 px-6 text-center",children:(0,t.jsx)("p",{className:"mt-2 px-4 text-base text-gray-700 sm:px-10",children:"Our service is currently limited to specific countries. Please leave your information below and we'll notify you when we expand to your location!"})}),(0,t.jsxs)("form",{className:"space-y-5 px-6 pb-5",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(a.Label,{htmlFor:"firstName",className:"text-sm font-medium",children:"First Name"}),(0,t.jsx)(i.Input,{id:"firstName",name:"firstName",type:"text",placeholder:"Enter your first name",className:`w-full ${w.has("firstName")?"text-red-500":""}`,value:P.firstName,onChange:L}),(0,t.jsx)(h.ErrorTxt,{children:w.get("firstName")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(a.Label,{htmlFor:"email",className:`text-sm font-medium ${w.has("email")?"text-red-500":""}`,children:"*Email"}),(0,t.jsx)(i.Input,{id:"email",name:"email",type:"email",placeholder:"Enter your email address",className:`w-full ${w.has("email")?"text-red-500":""}`,value:P.email,onKeyDown:function(e){"Enter"===e.key&&e.preventDefault()},onChange:L}),(0,t.jsx)(h.ErrorTxt,{children:w.get("email")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(a.Label,{htmlFor:"country",className:`text-sm font-medium ${w.has("country")?"text-red-500":""}`,children:"*Country"}),(0,t.jsxs)("select",{id:"country",name:"country",className:`${w.has("country")?"text-red-500":""} flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
5ing-offset-background focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,value:P.country,onChange:e=>{S(e=>{let t=structuredClone(e);return t.delete("country"),t}),k&&d.toast.dismiss(k),O(t=>({...t,country:e.target.value}))},children:[(0,t.jsx)("option",{value:"",children:"Select your country"}),(0,t.jsx)("option",{value:"Afghanistan",children:"Afghanistan"}),(0,t.jsx)("option",{value:"Albania",children:"Albania"}),(0,t.jsx)("option",{value:"Algeria",children:"Algeria"}),(0,t.jsx)("option",{value:"Andorra",children:"Andorra"}),(0,t.jsx)("option",{value:"Angola",children:"Angola"}),(0,t.jsx)("option",{value:"Argentina",children:"Argentina"}),(0,t.jsx)("option",{value:"Armenia",children:"Armenia"}),(0,t.jsx)("option",{value:"Australia",children:"Australia"}),(0,t.jsx)("option",{value:"Austria",children:"Austria"}),(0,t.jsx)("option",{value:"Azerbaijan",children:"Azerbaijan"}),(0,t.jsx)("option",{value:"Bahamas",children:"Bahamas"}),(0,t.jsx)("option",{value:"Bahrain",children:"Bahrain"}),(0,t.jsx)("option",{value:"Bangladesh",children:"Bangladesh"}),(0,t.jsx)("option",{value:"Barbados",children:"Barbados"}),(0,t.jsx)("option",{value:"Belarus",children:"Belarus"}),(0,t.jsx)("option",{value:"Belgium",children:"Belgium"}),(0,t.jsx)("option",{value:"Belize",children:"Belize"}),(0,t.jsx)("option",{value:"Benin",children:"Benin"}),(0,t.jsx)("option",{value:"Bhutan",children:"Bhutan"}),(0,t.jsx)("option",{value:"Bolivia",children:"Bolivia"}),(0,t.jsx)("option",{value:"Bosnia and Herzegovina",children:"Bosnia and Herzegovina"}),(0,t.jsx)("option",{value:"Botswana",children:"Botswana"}),(0,t.jsx)("option",{value:"Brazil",children:"Brazil"}),(0,t.jsx)("option",{value:"Brunei",children:"Brunei"}),(0,t.jsx)("option",{value:"Bulgaria",children:"Bulgaria"}),(0,t.jsx)("option",{value:"Burkina Faso",children:"Burkina Faso"}),(0,t.jsx)("option",{value:"Burundi",children:"Burundi"}),(0,t.jsx)("option",{value:"Cambodia",children:"Cambodia"}),(0,t.jsx)("option",{value:"Cameroon",children:"Cameroon"}),(0,t.jsx)("option",{value:"Cape Verde",children:"Cape Verde"}),(0,t.jsx)("option",{value:"Central African Republic",children:"Central African Republic"}),(0,t.jsx)("option",{value:"Chad",children:"Chad"}),(0,t.jsx)("option",{value:"Chile",children:"Chile"}),(0,t.jsx)("option",{value:"China",children:"China"}),(0,t.jsx)("option",{value:"Colombia",children:"Colombia"}),(0,t.jsx)("option",{value:"Comoros",children:"Comoros"}),(0,t.jsx)("option",{value:"Congo",children:"Congo"}),(0,t.jsx)("option",{value:"Costa Rica",children:"Costa Rica"}),(0,t.jsx)("option",{value:"Croatia",children:"Croatia"}),(0,t.jsx)("option",{value:"Cuba",children:"Cuba"}),(0,t.jsx)("option",{value:"Cyprus",children:"Cyprus"}),(0,t.jsx)("option",{value:"Czech Republic",children:"Czech Republic"}),(0,t.jsx)("option",{value:"Denmark",children:"Denmark"}),(0,t.jsx)("option",{value:"Djibouti",children:"Djibouti"}),(0,t.jsx)("option",{value:"Dominica",children:"Dominica"}),(0,t.jsx)("option",{value:"Dominican Republic",children:"Dominican Republic"}),(0,t.jsx)("option",{value:"Ecuador",children:"Ecuador"}),(0,t.jsx)("option",{value:"Egypt",children:"Egypt"}),(0,t.jsx)("option",{value:"El Salvador",children:"El Salvador"}),(0,t.jsx)("option",{value:"Equatorial Guinea",children:"Equatorial Guinea"}),(0,t.jsx)("option",{value:"Eritrea",children:"Eritrea"}),(0,t.jsx)("option",{value:"Estonia",children:"Estonia"}),(0,t.jsx)("option",{value:"Eswatini",children:"Eswatini"}),(0,t.jsx)("option",{value:"Ethiopia",children:"Ethiopia"}),(0,t.jsx)("option",{value:"Fiji",children:"Fiji"}),(0,t.jsx)("option",{value:"Finland",children:"Finland"}),(0,t.jsx)("option",{value:"France",children:"France"}),(0,t.jsx)("option",{value:"Gabon",children:"Gabon"}),(0,t.jsx)("option",{value:"Gambia",children:"Gambia"}),(0,t.jsx)("option",{value:"Georgia",children:"Georgia"}),(0,t.jsx)("option",{value:"Germany",children:"Germany"}),(0,t.jsx)("option",{value:"Ghana",children:"Ghana"}),(0,t.jsx)("option",{value:"Greece",children:"Greece"}),(0,t.jsx)("option",{value:"Grenada",children:"Grenada"}),(0,t.jsx)("option",{value:"Guatemala",children:"Guatemala"}),(0,t.jsx)("option",{value:"Guinea",children:"Guinea"}),(0,t.jsx)("option",{value:"Guinea-Bissau",children:"Guinea-Bissau"}),(0,t.jsx)("option",{value:"Guyana",children:"Guyana"}),(0,t.jsx)("option",{value:"Haiti",children:"Haiti"}),(0,t.jsx)("option",{value:"Honduras",children:"Honduras"}),(0,t.jsx)("option",{value:"Hungary",children:"Hungary"}),(0,t.jsx)("option",{value:"Iceland",children:"Iceland"}),(0,t.jsx)("option",{value:"India",children:"India"}),(0,t.jsx)("option",{value:"Indonesia",children:"Indonesia"}),(0,t.jsx)("option",{value:"Iran",children:"Iran"}),(0,t.jsx)("option",{value:"Iraq",children:"Iraq"}),(0,t.jsx)("option",{value:"Ireland",children:"Ireland"}),(0,t.jsx)("option",{value:"Israel",children:"Israel"}),(0,t.jsx)("option",{value:"Italy",children:"Italy"}),(0,t.jsx)("option",{value:"Jamaica",children:"Jamaica"}),(0,t.jsx)("option",{value:"Japan",children:"Japan"}),(0,t.jsx)("option",{value:"Jordan",children:"Jordan"}),(0,t.jsx)("option",{value:"Kazakhstan",children:"Kazakhstan"}),(0,t.jsx)("option",{value:"Kenya",children:"Kenya"}),(0,t.jsx)("option",{value:"Kiribati",children:"Kiribati"}),(0,t.jsx)("option",{value:"Kosovo",children:"Kosovo"}),(0,t.jsx)("option",{value:"Kuwait",children:"Kuwait"}),(0,t.jsx)("option",{value:"Kyrgyzstan",children:"Kyrgyzstan"}),(0,t.jsx)("option",{value:"Laos",children:"Laos"}),(0,t.jsx)("option",{value:"Latvia",children:"Latvia"}),(0,t.jsx)("option",{value:"Lebanon",children:"Lebanon"}),(0,t.jsx)("option",{value:"Lesotho",children:"Lesotho"}),(0,t.jsx)("option",{value:"Liberia",children:"Liberia"}),(0,t.jsx)("option",{value:"Libya",children:"Libya"}),(0,t.jsx)("option",{value:"Liechtenstein",children:"Liechtenstein"}),(0,t.jsx)("option",{value:"Lithuania",children:"Lithuania"}),(0,t.jsx)("option",{value:"Luxembourg",children:"Luxembourg"}
5),(0,t.jsx)("option",{value:"Madagascar",children:"Madagascar"}),(0,t.jsx)("option",{value:"Malawi",children:"Malawi"}),(0,t.jsx)("option",{value:"Malaysia",children:"Malaysia"}),(0,t.jsx)("option",{value:"Maldives",children:"Maldives"}),(0,t.jsx)("option",{value:"Mali",children:"Mali"}),(0,t.jsx)("option",{value:"Malta",children:"Malta"}),(0,t.jsx)("option",{value:"Marshall Islands",children:"Marshall Islands"}),(0,t.jsx)("option",{value:"Mauritania",children:"Mauritania"}),(0,t.jsx)("option",{value:"Mauritius",children:"Mauritius"}),(0,t.jsx)("option",{value:"Mexico",children:"Mexico"}),(0,t.jsx)("option",{value:"Micronesia",children:"Micronesia"}),(0,t.jsx)("option",{value:"Moldova",children:"Moldova"}),(0,t.jsx)("option",{value:"Monaco",children:"Monaco"}),(0,t.jsx)("option",{value:"Mongolia",children:"Mongolia"}),(0,t.jsx)("option",{value:"Montenegro",children:"Montenegro"}),(0,t.jsx)("option",{value:"Morocco",children:"Morocco"}),(0,t.jsx)("option",{value:"Mozambique",children:"Mozambique"}),(0,t.jsx)("option",{value:"Myanmar",children:"Myanmar"}),(0,t.jsx)("option",{value:"Namibia",children:"Namibia"}),(0,t.jsx)("option",{value:"Nauru",children:"Nauru"}),(0,t.jsx)("option",{value:"Nepal",children:"Nepal"}),(0,t.jsx)("option",{value:"Netherlands",children:"Netherlands"}),(0,t.jsx)("option",{value:"New Zealand",children:"New Zealand"}),(0,t.jsx)("option",{value:"Nicaragua",children:"Nicaragua"}),(0,t.jsx)("option",{value:"Niger",children:"Niger"}),(0,t.jsx)("option",{value:"Nigeria",children:"Nigeria"}),(0,t.jsx)("option",{value:"North Korea",children:"North Korea"}),(0,t.jsx)("option",{value:"North Macedonia",children:"North Macedonia"}),(0,t.jsx)("option",{value:"Norway",children:"Norway"}),(0,t.jsx)("option",{value:"Oman",children:"Oman"}),(0,t.jsx)("option",{value:"Pakistan",children:"Pakistan"}),(0,t.jsx)("option",{value:"Palau",children:"Palau"}),(0,t.jsx)("option",{value:"Palestine",children:"Palestine"}),(0,t.jsx)("option",{value:"Panama",children:"Panama"}),(0,t.jsx)("option",{value:"Papua New Guinea",children:"Papua New Guinea"}),(0,t.jsx)("option",{value:"Paraguay",children:"Paraguay"}),(0,t.jsx)("option",{value:"Peru",children:"Peru"}),(0,t.jsx)("option",{value:"Philippines",children:"Philippines"}),(0,t.jsx)("option",{value:"Poland",children:"Poland"}),(0,t.jsx)("option",{value:"Portugal",children:"Portugal"}),(0,t.jsx)("option",{value:"Qatar",children:"Qatar"}),(0,t.jsx)("option",{value:"Romania",children:"Romania"}),(0,t.jsx)("option",{value:"Russia",children:"Russia"}),(0,t.jsx)("option",{value:"Rwanda",children:"Rwanda"}),(0,t.jsx)("option",{value:"Saint Kitts and Nevis",children:"Saint Kitts and Nevis"}),(0,t.jsx)("option",{value:"Saint Lucia",children:"Saint Lucia"}),(0,t.jsx)("option",{value:"Saint Vincent and the Grenadines",children:"Saint Vincent and the Grenadines"}),(0,t.jsx)("option",{value:"Samoa",children:"Samoa"}),(0,t.jsx)("option",{value:"San Marino",children:"San Marino"}),(0,t.jsx)("option",{value:"Sao Tome and Principe",children:"Sao Tome and Principe"}),(0,t.jsx)("option",{value:"Saudi Arabia",children:"Saudi Arabia"}),(0,t.jsx)("option",{value:"Senegal",children:"Senegal"}),(0,t.jsx)("option",{value:"Serbia",children:"Serbia"}),(0,t.jsx)("option",{value:"Seychelles",children:"Seychelles"}),(0,t.jsx)("option",{value:"Sierra Leone",children:"Sierra Leone"}),(0,t.jsx)("option",{value:"Singapore",children:"Singapore"}),(0,t.jsx)("option",{value:"Slovakia",children:"Slovakia"}),(0,t.jsx)("option",{value:"Slovenia",children:"Slovenia"}),(0,t.jsx)("option",{value:"Solomon Islands",children:"Solomon Islands"}),(0,t.jsx)("option",{value:"Somalia",children:"Somalia"}),(0,t.jsx)("option",{value:"South Africa",children:"South Africa"}),(0,t.jsx)("option",{value:"South Korea",children:"South Korea"}),(0,t.jsx)("option",{value:"South Sudan",children:"South Sudan"}),(0,t.jsx)("option",{value:"Spain",children:"Spain"}),(0,t.jsx)("option",{value:"Sri Lanka",children:"Sri Lanka"}),(0,t.jsx)("option",{value:"Sudan",children:"Sudan"}),(0,t.jsx)("option",{value:"Suriname",children:"Suriname"}),(0,t.jsx)("option",{value:"Sweden",children:"Sweden"}),(0,t.jsx)("option",{value:"Switzerland",children:"Switzerland"}),(0,t.jsx)("option",{value:"Syria",children:"Syria"}),(0,t.jsx)("option",{value:"Taiwan",children:"Taiwan"}),(0,t.jsx)("option",{value:"Tajikistan",children:"Tajikistan"}),(0,t.jsx)("option",{value:"Tanzania",children:"Tanzania"}),(0,t.jsx)("option",{value:"Thailand",children:"Thailand"}),(0,t.jsx)("option",{value:"Timor-Leste",children:"Timor-Leste"}),(0,t.jsx)("option",{value:"Togo",children:"Togo"}),(0,t.jsx)("option",{value:"Tonga",children:"Tonga"}),(0,t.jsx)("option",{value:"Trinidad and Tobago",children:"Trinidad and Tobago"}),(0,t.jsx)("option",{value:"Tunisia",children:"Tunisia"}),(0,t.jsx)("option",{value:"Turkey",children:"Turkey"}),(0,t.jsx)("option",{value:"Turkmenistan",children:"Turkmenistan"}),(0,t.jsx)("option",{value:"Tuvalu",children:"Tuvalu"}),(0,t.jsx)("option",{value:"Uganda",children:"Uganda"}),(0,t.jsx)("option",{value:"Ukraine",children:"Ukraine"}),(0,t.jsx)("option",{value:"United Arab Emirates",children:"United Arab Emirates"}),(0,t.jsx)("option",{value:"United Kingdom",children:"United Kingdom"}),(0,t.jsx)("option",{value:"Uruguay",children:"Uruguay"}),(0,t.jsx)("option",{value:"Uzbekistan",children:"Uzbekistan"}),(0,t.jsx)("option",{value:"Vanuatu",children:"Vanuatu"}),(0,t.jsx)("option",{value:"Vatican City",children:"Vatican City"}),(0,t.jsx)("option",{value:"Venezuela",children:"Venezuela"}),(0,t.jsx)("option",{value:"Vietnam",children:"Vietnam"}),(0,t.jsx)("option",{value:"Yemen",children:"Yemen"}),(0,t.jsx)("option",{value:"Zambia",children:"Zambia"}),(0,t.jsx)("option",{value:"Zimbabwe",children:"Zimbabwe"})]}),(0,t.jsx)(h.ErrorTxt,{children:w.get("country")})]}),R&&(0,t.jsxs)("div",{className:"flex flex-col items-center pt-1",children:[R,(0,t.jsx)(h.ErrorTxt,{className:"mt-2 text-red-500",children:w.get("recaptchaErr")})]})]})]}),(0,t.jsx)("div",{className:"border-t border-gray-200 bg-gray-50 px-6 py-2 sm:py-4",children:(0,t.jsxs)("div",{className:"flex justify-center gap-3",children:[(0,t.jsx)(s.Button,{type:"button",variant:"outline",onClick:function(){e.back()},className:"px-8",children:"Cancel"}),(0,t.jsx)(c.default,{isChildrenDisplayed:C,isSpinnerShown:A,disabled:N,onClick:F,spinnerDimension:{he
5ight:30,width:30},variant:"default",className:"rounded-lg bg-blue-600 px-8 py-3 font-semibold text-white shadow-lg transition-all duration-200 hover:bg-blue-700 hover:shadow-xl",children:"Submit"})]})})]})}],955255)},109782,e=>{"use strict";e.s(["PlanInfoTag",()=>_,"PricingSectionClientComp",()=>F],109782),e.i(247167);var t=e.i(843476),r=e.i(721552),n=e.i(617310),o=e.i(271645),i=e.i(515288),a=e.i(655941),s=e.i(473665),l=e.i(431908),c=e.i(641690),u=e.i(484469),d=e.i(87299),f=e.i(618566),p=e.i(706746),h=e.i(63209),m=e.i(126545),y=e.i(522016),x=e.i(955255);function v(e,t,r){let{monthly:n,yearly:o,quarterly:i}=e;if("yearly"===r&&o&&n)return{monthly:o/12-o/12*t,yearly:o-o*t};if("yearly"===r&&!o)throw Error("Yearly price is required when pay period type is yearly");if("monthly"===r&&n){let e=n-n*t;return{monthly:e,yearly:12*e}}if("monthly"===r&&!n)throw Error("Monthly price is required when pay period type is monthly");if("quarterly"===r&&i)return{monthly:i/3-i/3*t,yearly:4*i-4*i*t,quarterly:i-i*t};throw Error("Quarterly price was not found")}let b=({primaryAmount:e,primaryLabel:r,comparativeAmount:o,secondaryLabel:i,missingAmountFallback:a,isLineThrough:s,onMouseOver:l,onMouseLeave:c,containerClassName:u})=>{let d=s?"line-through":"";return(0,t.jsxs)("div",{onMouseOver:l,onMouseLeave:c,className:u??"flex sm:flex-row flex-col",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:`text-3xl font-bold whitespace-nowrap ${d}`,children:e?(0,n.formatNumToCurrency)(e):a}),(0,t.jsx)("span",{className:`text-gray-600 ml-2 font-normal text-sm sm:text-base whitespace-nowrap ${d}`,children:r})]}),e&&"number"==typeof o?(0,t.jsx)("div",{className:`text-gray-600 sm:ml-2 mt-1 flex justify-end flex-col whitespace-nowrap ${d}`,children:(0,t.jsxs)("span",{className:"italic",children:["(",(0,n.formatNumToCurrency)(o)," ",i,")"]})}):null]})},w=({isAnnual:e,selectedBillingTypeToView:r,plan:n,discountPercentage:i,isLineDisplayed:a,planType:s,coupons:l})=>{console.log("selectedBillingTypeToView, yo there:",r);let c=n.availablePaymentPlans.has("yearly")&&1===n.availablePaymentPlans.size?"annually":r,u=(0,o.useMemo)(()=>(console.log("plan object: ",n),console.log(`plan month price: ${n.monthPrice}`),console.log(`plan year price: ${n.yearPrice}`),console.log(`plan quarterly price: ${n.quarterlyPrice}`),console.log(`purchase type: ${n.purchaseType}`),console.log(`discount percentage: ${i}`),console.log("payPeriodType, yo there: ",c),n.availablePaymentPlans.has("quarterly")&&"quarterly"===r&&i&&n.quarterlyPrice&&"subscription"===n.purchaseType)?v({monthly:n.quarterlyPrice/3,yearly:4*n.quarterlyPrice,quarterly:n.quarterlyPrice},i,"quarterly"):"onlyYearly"===s&&i&&n.yearPrice&&"subscription"===n.purchaseType?v({monthly:n.yearPrice/12,yearly:n.yearPrice},i,"yearly"):(console.log("Discount Percentage in PricingOnHomePg.tsx: ",i),console.log("payPeriodType, print as requested: ",c),console.log("Plan name in PricingOnHomePg.tsx: ",n.name),"subscription"===n.purchaseType&&n.monthPrice&&n.yearPrice&&i)?v({monthly:n.monthPrice,yearly:n.yearPrice,quarterly:n.quarterlyPrice},i,"annually"===c?"yearly":c):{monthly:n.monthPrice,yearly:n.yearPrice,quarterly:n.quarterlyPrice},[c,n.monthPrice,n.yearPrice,n.quarterlyPrice,n.purchaseType,n.quarterlyPrice,i,s])??{};console.log("computedPriceResult: ",u);let{monthly:d,yearly:f,quarterly:p}=u;console.log("quarterly, yo there: ",p);let h=n.monthPrice,m=n.yearPrice,y="number"==typeof n.quarterlyPrice?n.quarterlyPrice:"number"==typeof n.monthPrice?3*n.monthPrice:void 0,x=!!l?.length&&!!c&&l.find(e=>e.info.associated_billing_types.includes(c)),[w,S]=(0,o.useState)(x);function C(e){return()=>{x&&S(!e)}}return(console.log("isLineDisplayed, rendering: ",a),"onlyYearly"===s)?(0,t.jsx)("div",{className:"transition-all duration-300 ease-in-out relative w-[fit-content] h-fit",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[x?(0,t.jsx)(b,{primaryAmount:m,primaryLabel:"per year",comparativeAmount:m?m/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:!0,containerClassName:"flex sm:flex-row flex-col cursor-normal"}):null,(0,t.jsx)(b,{primaryAmount:f,primaryLabel:"per year",comparativeAmount:f?f/12:void 0,secondaryLabel:"per month",missingAmou
5ntFallback:"Can't load price. Refresh the page.",isLineThrough:!1,onMouseOver:C(!0),onMouseLeave:C(!1),containerClassName:"flex sm:flex-row flex-col cursor-normal"})]})}):"annually"===c?(0,t.jsx)("div",{className:"transition-all duration-300 ease-in-out relative w-[fit-content] h-fit",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[x?(0,t.jsx)(b,{primaryAmount:m,primaryLabel:"per year",comparativeAmount:m?m/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:!0}):null,(0,t.jsx)(b,{primaryAmount:f,primaryLabel:"per year",comparativeAmount:f?f/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:!1,onMouseOver:C(!0),onMouseLeave:C(!1)})]})}):"quarterly"===c?(0,t.jsx)("div",{className:"transition-all duration-300 ease-in-out relative w-[fit-content] h-fit",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[x?(0,t.jsx)(b,{primaryAmount:y,primaryLabel:"every 3-months",comparativeAmount:y?y/3:void 0,secondaryLabel:"per month",missingAmountFallback:"n/a",isLineThrough:!0}):null,(0,t.jsx)(b,{primaryAmount:p,primaryLabel:"every 3-months",comparativeAmount:p?p/3:void 0,secondaryLabel:"per month",missingAmountFallback:"n/a",isLineThrough:!1,onMouseOver:C(!0),onMouseLeave:C(!1)})]})}):(0,t.jsx)("div",{className:"transition-all duration-300 ease-in-out relative w-[fit-content] h-fit",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[x?(0,t.jsx)(b,{primaryAmount:h,primaryLabel:"per month",comparativeAmount:h?12*h:void 0,secondaryLabel:"per year",missingAmountFallback:"n/a",isLineThrough:!0}):null,(0,t.jsx)(b,{primaryAmount:d,primaryLabel:"per month",comparativeAmount:d?12*d:void 0,secondaryLabel:"per year",missingAmountFallback:"n/a",isLineThrough:!1,onMouseOver:C(!0),onMouseLeave:C(!1)})]})})},S=r.USER_PLANS.filter(e=>"all"===e.featuresType),C=["monthly","quarterly","yearly"];function j(e,t){return"onlyYearly"===e.planType?"yearly":t}function N(e){return"number"==typeof e.quarterlyPrice?e.quarterlyPrice:"number"==typeof e.monthPrice?3*e.monthPrice:void 0}let E=({savingsLabel:e,badgeVariant:r,isSelected:n})=>(console.log("SavingsBadge savingsLabel, sup there: ",e),(0,t.jsx)("span",{className:`inline-flex shrink-0 items-center rounded-full p-2 sm:px-1.5 sm:py-[.295rem] text-[10px] font-bold leading-none sm:py-2 sm:px-2 sm:text-[11px] ${"yearly"===r?"bg-slate-900 text-white":n?"bg-sky-200 text-sky-900":"bg-sky-100 text-sky-800"}`,children:e})),A=({_selectedBillingPeriod:e,coupons:r})=>{console.log("coupons outside of useEffect: ",r),(0,o.useEffect)(()=>{console.log("coupons inside useEffect: ",r)});let[n,i]=e,a=(0,o.useMemo)(()=>{let e=C.map(e=>({billingPeriod:e,couponSavingsLabel:null}));return r?.length&&(e=e.map(e=>{let t="yearly"===e.billingPeriod?"annually":e.billingPeriod,n=r.find(e=>e.info.associated_billing_types.includes(t));if(n?.name){let r="annually"===t?`🔥 SAVE ${n.info.percent_off}%`:`-${n.info.percent_off}%`;return{...e,couponSavingsLabel:r}}return e})),e},[r]);return console.log("billingPeriodOptions: ",a),(0,o.useEffect)(()=>{console.log("Billing period options within useEffect: ",a)}),(0,t.jsx)("div",{className:"mx-auto flex w-fit flex-col items-center",children:(0,t.jsx)("div",{className:"inline-flex flex-wrap justify-center items-center sm:gap-0.5 rounded-full border border-gray-200/80 bg-white p-2 gap-2 sm:px-1 sm:py-1 shadow-[0_8px_28px_rgba(15,23,42,0.08)]",role:"group","aria-label":"Select billing period",children:a.map(e=>{let r=e.billingPeriod===n;return console.log("Billing period label: ",e),(0,t.jsxs)("button",{type:"button","aria-pressed":r,onClick:()=>{console.log("billingPeriod: ",e),i(e.billingPeriod)},className:`inline-flex border sm:border-0 shrink-0 items-center gap-1.5 rounded-full p-3 sm:px-3 sm:py-2 transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2 sm:gap-2 sm:px-4 sm:py-2.5 ${r?"bg-gradient-to-r from-[rgba(209,127,247,0.22)] to-[rgba(157,214,252,0.32)] text-slate-900 shadow-sm":"text-slate-700 hover:bg-gray-50"}`,children:[(0,t.jsx)("span",{className:"whitespace-nowrap text-xs font-semibold sm:text-sm capitalize",children:e.billingPeriod}),e.couponSavingsLabel&&(0,t.jsx)(E,{savingsLabel:e.couponSavingsLabel,badgeVariant:"yearly"===e.billingPeriod?"yearly":"quarterly",isSelected:r})]},e.billingPeriod)})})})},T="absolute left-1/2 top-0 z-10 flex max-w-[calc(100%-1.25rem)] -translate-x-1/2 -translate-y-1/2 justify-center",k="inline-flex max-w-full flex-nowrap items-center justify-center gap-1.5 rounded-full bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] px-2.5 py-1.5 text-[10px] font-bold uppercase leading-none text-white shadow-[0_6px_16px_rgba(209,127,247,0.28)] ring-[3px] ring-white sm:gap-2 sm:px-3 sm:py-2 sm:text-xs md:text-sm",_=({plan:e,isEarlyAdopter:r,percentSaved:n,isFirst100UserDiscountApplied:o})=>{console.log("isEarlyAdopter: ",r),console.log("isFirst100UserDiscountApplied: ",o);let{setState:i}=(0,d.useUserModalStore)(e=>e);return r&&(e.isHighlighted||e.isAlternativeHighlight)?(0,t.jsx)("div",{onClick:function(){console.log("PlanInfoTag clicked - Early Adopter modal will open"),i({discountNotifierModal:{isDisplayed:!0,percentSaved:n??50}})},className:`${T} cursor-pointer`,children:(0,t.jsxs)("div",{className:`${k} hover:underline`,children:[(0,t.jsx)(s.MdDiscount,{className:"size-3.5 shrink-0 sm:size-4","aria-hidden":!0}),(0,t.jsxs)("span",{className:"whitespace-nowrap",children:[(0,t.jsx)("i",{className:"font-normal not-italic",children:"Early adopter"})," discount applied"]})]})}):e.isHighlighted?(0,t.jsx)("div",{className:T,children:(0,t.jsx)("span",{className:k,children:"RECOMMENDED"})}):null},P=({plan:e,selectedBillingPeriod:o,coupons:i})=>{let a,l=j(e,o);console.log("Coupons in ApplicableDiscount: ",i);
5let c="yearly"===l?"annually":l,f=i?.find(e=>r.NAMES_OF_DISCOUNTS_WITH_DURATION.has(e.name)&&e.info.associated_billing_types.includes(c)),{setState:h}=(0,d.useUserModalStore)(e=>e),m=f?.info.percent_off,y=f?.info.coupon_duration_descriptor,x=f?.info.coupon_duration,v=N(e),b="number"==typeof m&&m>0&&m<=100?(100-m)/100:1,w="/year";if("yearly"===l&&"number"==typeof e.yearPrice?(a=e.yearPrice,w="/year"):"quarterly"===l&&"number"==typeof v?(a=v,w="/quarter"):"number"==typeof e.monthPrice&&(a=e.monthPrice,w="/month"),"number"!=typeof a)return(0,t.jsx)("span",{className:"text-3xl font-bold",children:"Can't load price. Refresh the page."});let S=a*b,C=y;function E(e){e.stopPropagation(),"key"in e&&"Enter"!==e.key&&" "!==e.key||("key"in e&&" "===e.key&&e.preventDefault(),h({firstXUsersDiscountNotifierModal:(0,u.getFirstXUsersDiscountNotifierModalState)(i,p.FIRST_X_USERS_DISCOUNT_MAX)}))}12===x?C=(0,t.jsxs)(t.Fragment,{children:["for your ",(0,t.jsx)("span",{className:"font-semibold",children:"1st YEAR"})]}):1===x?C=(0,t.jsxs)(t.Fragment,{children:["for your ",(0,t.jsx)("span",{className:"font-semibold",children:"FIRST MONTH"})]}):"number"==typeof x&&(C=(0,t.jsxs)(t.Fragment,{children:["for your first"," ",(0,t.jsxs)("span",{className:"font-semibold",children:[x," months"]})]})),C||(C="for a limited time");let A="number"==typeof m&&m>0?`${Math.round(m)}% off`:null;return(0,t.jsxs)("div",{className:"flex w-full flex-col",children:[(0,t.jsxs)("div",{className:"flex w-fit flex-col sm:flex-row sm:items-baseline",children:[(0,t.jsx)("span",{className:"text-3xl font-bold tabular-nums whitespace-nowrap",children:(0,n.formatNumToCurrency)(S)}),(0,t.jsxs)("span",{className:"mt-1 text-sm text-gray-600 sm:ml-2 sm:mt-0 sm:text-base",children:[C,", then ",(0,n.formatNumToCurrency)(a),w]})]}),f&&(0,t.jsxs)("div",{className:"mt-3 mb-4 flex w-full min-w-0 cursor-pointer items-center gap-3 rounded-xl border border-[rgba(209,127,247,0.28)] bg-gradient-to-r from-[rgba(209,127,247,0.1)] to-[rgba(157,214,252,0.16)] px-4 py-3.5 sm:gap-3.5 sm:px-5 sm:py-4 hover:opacity-90",role:"button",tabIndex:0,onClick:E,onKeyDown:E,children:[(0,t.jsx)(s.MdDiscount,{className:"size-6 shrink-0 text-[rgba(209,127,247,1)] sm:size-7","aria-hidden":!0}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 text-left text-sm font-semibold leading-snug text-slate-800 underline-offset-2 sm:text-base hover:underline",children:["First ",p.FIRST_X_USERS_DISCOUNT_MAX," users discount applied"]}),A&&(0,t.jsx)("span",{className:"shrink-0 text-sm font-bold tabular-nums text-[rgba(209,127,247,1)] sm:text-base",children:A})]})]})},O=e=>{console.log(`plan name, Price comp: ${e.plan.name}, Price props, sup there: `,e);let{selectedBillingPeriod:r,plan:n,isUserQualifiedForEarlyStageDiscount:o,canTxtBeStrikedThrough:i,percentageSaved:a,coupons:s}=e,l=j(n,r),c=(0,t.jsx)("span",{className:"text-3xl font-bold",children:"Coming soon!"});return"yearly"===l&&"live"===n.status&&n.yearPrice?c=(0,t.jsx)(w,{coupons:s,isAnnual:!0,isLineDisplayed:!!i,plan:n,planType:n.planType,discountPercentage:a??void 0,selectedBillingTypeToView:"yearly"===r?"annually":r??"annually"}):"quarterly"===l&&"live"===n.status?c=(0,t.jsx)(w,{coupons:s,isLineDisplayed:!!i,plan:n,discountPercentage:a??void 0,selectedBillingTypeToView:"yearly"===r?"annually":r??"annually"}):"live"===n.status&&n.monthPrice&&(c=(0,t.jsx)(w,{coupons:s,isLineDisplayed:!!i,plan:n,discountPercentage:a??void 0,selectedBillingTypeToView:"yearly"===r?"annually":r??"annually"})),c},R=e=>{let{selectedBillingPeriod:n,plan:i,isUserQualifiedForEarlyStageDiscount:a,price:s,coupons:l,percentageSaved:c}=e,u=j(i,n),d=(0,o.useMemo)(()=>{let e=l?.find(e=>e.info.associated_billing_types.includes("yearly"===u?"annually":u));return console.log("coupon: ",e),e??void 0},[l,u,n]);if(l?.find(e=>r.NAMES_OF_DISCOUNTS_WITH_DURATION.has(e.name)&&e.info.associated_billing_types.includes("yearly"===u?"annually":u))&&"live"===i.status)return(0,t.jsx)(P,{plan:i,selectedBillingPeriod:n,coupons:l});if("live"===i.status&&!a&&d)return(0,t.jsxs)("div",{className:"mt-2 text-green-700 text-base font-medium",children:["Save ",100*d.info.percent_off,"% ","per year","!"]});if(console.log(`Plan name, sup there: ${e.plan?.name}, Price: ${s}, Percentage Saved: ${c}`),s&&d&&"live"===i.status&&a){console.log("Early adopter discount is active for this user and plan.");let e="";return"earlyStage"===d.name&&(e=" FOR LIFE"),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mt-2 sm:mt-1",children:(0,t.jsx)(O,{percentageSaved:d.info.percent_off/100,selectedBillingPeriod:n,plan:i,canTxtBeStrikedThrough:!1,isUserQualifiedForEarlyStageDiscount:!0,coupons:l})}),(0,t.jsxs)("div",{className:"mt-2 text-green-700 text-base font-medium",children:["Save ",d.info.percent_off,"% ","per year",e,"!"]})]})}return s&&d&&"live"===i.status?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mt-2 sm:mt-1",children:(0,t.jsx)(O,{percentageSaved:d.info.percent_off,selectedBillingPeriod:n,plan:i,canTxtBeStrikedThrough:!1,isUserQualifiedForEarlyStageDiscount:a,coupons:l})}),(0,t.jsxs)("div",{className:"mt-2 text-green-700 text-base font-medium",children:["Save ",100*d.info.percent_off,"% ","per year","!"]})]}):null},M=new Set(["pre-launch-google-reviewable","pre-launch"]),F=({paymentCollectionAndDiscountStatusData:e,appVersionName:s,didErrInRetrievingPaymentCollectionAndDiscountStatusData:v,handleOnLoadPlansBtnClick:C,isFetchingPaymentCollectionAndDiscountStatusData:E})=>{let[T,k]=(0,o.useState)("yearly"),{cookies:P}=(0,l.useAppCookies)();console.log("paymentCollectionAndDiscountStatusData, yo there: ",e);let{earlyAdopterSpotsLeft:O,earlyAdopterPercentageDiscount:F,earlyAdopterSpotsMax:L,isUserQualifiedForEarlyAdopterDiscount:I,isUserQualifiedForFirst100Discount:D,coupons:B}=e??{},U=B?.some(e=>"first100"===e.name)===!0||!!D&&!I;(0,o.useEffect)(()=>{console.log("coupons, useEffect: ",B),console.log("userPlans, useEffect: ",H)}),console.log("paymentCollectionAndDiscountStatusData, hey there: ",e);let z=(0,o.useMemo)(()=>
5{if(e){if(e.isUserQualifiedForEarlyAdopterDiscount&&"number"==typeof e.specialTrialPeriodDays&&e.specialTrialPeriodDays>0)return e.specialTrialPeriodDays;if("number"==typeof e.normativeTrialPeriodDays)return e.normativeTrialPeriodDays}},[e]),$=(0,d.useUserModalStore)(e=>e.setState),[q,W]=(0,o.useState)(I),{userPlans:H}=(0,o.useMemo)(()=>{if(E||!e)return{userPlans:S};console.log("paymentCollectionAndDiscountStatusData inside userPlans useMemo: ",e);let t=[];for(let r of S){if("comingSoon"===r.status||!r?.stripePlanLookupKeys){t.push(r);continue}let n=e.prices.filter(e=>r.stripePlanLookupKeys.has(e.subscriptionName));if(console.log("userPlan name: ",r.name),console.log("planPrices, yo there: ",n),!n?.length){console.error(`Plan with name "${r.name}" is invalid: no matching price found in Stripe prices.`,r);break}for(let e of n)if(e.price){if("month"===e.payPeriod){r.monthPrice=e.price/100;continue}if("quarterly"===e.payPeriod){r.quarterlyPrice=e.price/100;continue}r.yearPrice=e.price/100}t.push(r)}return{userPlans:t}},[E,e]);(0,o.useEffect)(()=>{console.log("userPlans array after updates, useEffect: ",H)});let[V,G]=(0,o.useMemo)(()=>{let e=[0,0];for(let t of H)if("number"==typeof t.yearPrice&&t.monthPrice&&t.yearPrice){console.log("Calculating plan savings based on yearPrice and monthPrice");let r=(0,n.calculatePercentSaved)(12*t.monthPrice,t.yearPrice),o=0;(0===e[0]||r<e[0])&&(o=e[0],e[0]=r),(o||r>e[1])&&(e[1]=o>0?o:r)}return e},[H]);console.log("lowestAndHighestSavingPair: ",[V,G]);let Y=(0,o.useMemo)(()=>{let e="number"==typeof V&&"number"==typeof G&&V&&G?V===G?`${V}%`:`${V}% - ${G}%`:void 0;return I&&(e=`${F}%`),e},[H]),X=(0,f.useRouter)();(0,o.useEffect)(()=>{let e=new URL(window.location.href),t=e.searchParams.has("launch-interest")||e.hash.endsWith("#pricing?ref=microlaunch")||"pricing"===e.searchParams.get("goto")?document.getElementById("pricingSectionId"):null;t&&t.scrollIntoView({behavior:"smooth"}),e.searchParams.has("launch-interest")&&X.push(`/interest?title=${x.NOT_AVAILABLE_TITLE_TYPE}`)},[X]);let[K,J]=(0,o.useState)(!1),Z=I&&!U?`🎉 Congratulations! You're one of our first ${L} early adopters. Enjoy exclusive lifetime pricing on every PRO plan below—this special offer won't last long!`:U?(0,t.jsxs)(t.Fragment,{children:["🎉 Congratulations! You're one of our"," ",(0,t.jsxs)("span",{onClick:function(e){e.stopPropagation(),$({firstXUsersDiscountNotifierModal:(0,u.getFirstXUsersDiscountNotifierModalState)(B,p.FIRST_X_USERS_DISCOUNT_MAX)})},className:"inline cursor-pointer text-blue-600 hover:underline",children:["first ",p.FIRST_X_USERS_DISCOUNT_MAX," users"]}),". Exclusive founding-member pricing applies to every PRO plan below—once these spots fill, this offer is gone."]}):`Start with a 7-day free trial on any PRO plan. Pick the tier that fits your Google Drive workflow; cancel anytime—no questions asked.`;M.has(s)&&(Z=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-3",children:["Get updates and be notified when we","'","ll first launch 🚀 with the"," ",(0,t.jsx)("em",{children:"Silver"})," PRO subscription."]}),(0,t.jsxs)("p",{className:"inline",children:["The first"," ",p.EARLY_ADOPTER_SPOTS_MAX??(0,t.jsxs)(t.Fragment,{children:["(",(0,t.jsx)("em",{children:"number not found"}),")"]})," ","users who sign up will qualify for our"," ",(0,t.jsx)("span",{onClick:function(){$({discountNotifierModal:{isDisplayed:!0,earlyAdopterSpotsLeft:O,percentSaved:F,earlyAdopterSpotsMax:L}})},className:"inline hover:underline text-blue-600 cursor-pointer",children:"early adopter lifetime discount 🏷️"}),"."]}),(0,t.jsxs)("p",{className:"mt-3",children:["Don","'","t miss ⌛ your chance to unlock smarter productivity with a knock off price!"]})]})),console.log("userPlans, before check: ",H);let Q=H.every(e=>"live"!==e.status||e.yearPrice&&("number"==typeof e.monthPrice&&e.monthPrice||void 0===e.monthPrice));return(console.log("userPlans at PricingSectionClientComp render: ",H),E||!v&&Q)?(0,t.jsxs)("div",{id:"pricingSectionId",className:"relative",children:[q&&!M.has(s)&&(0,t.jsx)(c.EarlyAdopterDiscountNotifierModalUI,{animationType:"slide
5Up",percentSaved:F??50,handleOnClose:function(){W(!1)},handleOnCloseBtnMouseOver:()=>{J(!1)},isOkBtnShaking:K,titleClassName:"text-center text-2xl font-semibold w-[fit-content]",title:(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("span",{children:["Early Adopter Coupon - ",F??50,"% off ",(0,t.jsx)("em",{children:"for life"})," APPLIED"]})}),earlyAdopterSpotsMax:L,className:"lg:min-w-[700px] w-[98vw] md:w-[60vw] animate-in fade-in zoom-in shadow-xl z-[10] bg-white rounded-md absolute top-[35%] md:top-[60%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 animate-slide-up"}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center text-center",children:[M.has(s)&&(0,t.jsx)("h2",{className:"mb-4 text-3xl font-bold",children:"📋"}),!M.has(s)&&(0,t.jsx)("p",{className:"mb-3 text-lg font-bold uppercase tracking-[0.18em] text-[rgba(157,214,252,1)] sm:text-xl md:text-2xl",children:"Drive I/O PRO"}),(0,t.jsx)("h2",{className:"mb-4 bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text text-3xl font-bold text-transparent md:text-4xl md:px-4",children:M.has(s)?"Join Waitlist":"PRO plans & pricing"}),!M.has(s)&&(0,t.jsxs)("p",{className:"mb-1 max-w-xl px-3 text-sm leading-relaxed text-slate-600",children:["Full-feature"," ",(0,t.jsx)("span",{className:"font-semibold text-slate-800",children:"PRO"})," ","memberships—everything in the product."]})]}),(0,t.jsxs)("div",{onClick:function(){J(!0),setTimeout(()=>{J(!1)},1500)},className:`transition-all w-full h-full mx-auto px-4 ${I&&q&&!M.has(s)?"blur-xl":""}`,children:[(0,t.jsxs)("div",{className:"text-center mb-16",children:[(0,t.jsx)("div",{className:"text-gray-600 max-w-2xl md:max-w-3xl mx-auto px-1 md:px-4",children:Z}),(0,t.jsx)("div",{className:"mt-6 flex flex-col items-center justify-center px-2",children:(0,t.jsx)(A,{yearlySavingsLabel:Y?`-${Y}`:void 0,coupons:B,quarterlySavingsLabel:"-25%",_selectedBillingPeriod:[T,k]})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10 gap-y-12 md:gap-x-6 md:gap-y-14 lg:gap-8 max-w-7xl mx-auto items-stretch pt-5 md:px-2 lg:px-0",children:H.map((e,n)=>{let o=null,l=null,c=j(e,T),u="yearly"===c,d=N(e);u&&"live"===e.status&&I&&e.yearPrice&&F?l=e.yearPrice*(F/100):"quarterly"===c&&"live"===e.status&&I&&d&&F?l=F/100*d:"live"===e.status&&I&&e.monthPrice&&F&&(l=e.monthPrice*(F/100));let f="yearly"===T||e.availablePaymentPlans.has("yearly")&&1===e.availablePaymentPlans.size?"annually":T??"annually",p=B?.length?B.find(e=>e.info.associated_billing_types.includes(f)):null;if(B?.find(e=>r.NAMES_OF_DISCOUNTS_WITH_DURATION.has(e.name)&&e.info.associated_billing_types.includes(f)),p||"yearly"!==c||"live"!==e.status)if(p||"quarterly"!==c||"live"!==e.status)if(p||"live"!==e.status){if("comingSoon"===e.status)o=(0,t.jsx)("span",{className:"text-3xl font-bold",children:"Coming soon!"});else if(p?.name!=="earlyStage"&&"live"===e.status&&(e.monthPrice||e.yearPrice||e.quarterlyPrice)){var h;let{comparativeAmount:r,primaryAmountBillingFrequency:n,secondaryAmountBillingFrequency:i,primaryAmount:a}=(h={monthPrice:e.monthPrice,quarterlyPrice:e.quarterlyPrice,yearPrice:e.yearPrice},"monthly"===c?{comparativeAmount:12*h.monthPrice,primaryAmountBillingFrequency:"per month",secondaryAmountBillingFrequency:"per year",primaryAmount:h.monthPrice}:"quarterly"===c?{comparativeAmount:h.quarterlyPrice/3,primaryAmountBillingFrequency:"every 3-months",secondaryAmountBillingFrequency:"per month",primaryAmount:h.quarterlyPrice}:{comparativeAmount:h.yearPrice/12,primaryAmountBillingFrequency:"per year",secondaryAmountBillingFrequency:"per month",primaryAmount:h.yearPrice});o=(0,t.jsx)(b,{primaryAmount:a,primaryLabel:n,comparativeAmount:r,secondaryLabel:i,missingAmountFallback:"n/a",isLineThrough:!0})}}else o=(0,t.jsx)(w,{plan:e,planType:e.planType,isLineDisplayed:!!I,selectedBillingTypeToView:f});else o=(0,t.jsx)(w,{plan:e,planType:e.planType,isLineDisplayed:!!I,selectedBillingTypeToView:f});else o=(0,t.jsx)(w,{plan:e,planType:e.planType,isAnnual:!0,selectedBillingTypeToView:f,isLineDisplayed:!!I});let m=null;I&&F&&(console.log("earlyAdopterPercentageDiscount, sup there: ",F),m=F/100);let y=n===H.length-1&&H.length%2==1,x=I&&"live"===e.status?"min-h-[120px] sm:min-h-[140px] md:min-
5h-[150px]":U&&"live"===e.status?"min-h-[96px] sm:min-h-[108px] md:min-h-[116px]":"live"===e.status?"min-h-[56px] md:min-h-[70px]":"",v=I&&!U&&(e.isHighlighted||e.isAlternativeHighlight)||e.isHighlighted;return(0,t.jsxs)(i.Card,{className:`relative overflow-visible flex h-full w-[80vw] max-w-[min(100%,28rem)] flex-col mx-auto sm:max-w-[500px] md:mx-0 md:w-full md:max-w-none ${y?"md:col-span-2 md:justify-self-center md:max-w-md lg:col-span-1 lg:max-w-none":""} ${e.isHighlighted?"border-[rgba(209,127,247,1)] shadow-lg":""}`,children:[!E&&(0,t.jsx)(_,{plan:e,isEarlyAdopter:!!I&&!U,isFirst100UserDiscountApplied:U}),(0,t.jsxs)(i.CardHeader,{className:v?"flex flex-col pb-6 pt-8":"flex flex-col pb-6",children:[(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-2",children:[(0,t.jsx)("div",{className:"flex min-w-0 items-center gap-2",children:(0,t.jsxs)(i.CardTitle,{className:"text-3xl md:text-4xl break-words",children:[e.emoji," ",e.name]})}),(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-gradient-to-r from-[rgba(209,127,247,0.12)] to-[rgba(157,214,252,0.18)] px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.14em] text-[rgba(209,127,247,1)] ring-1 ring-inset ring-[rgba(209,127,247,0.28)]",title:"Full-feature PRO plan",children:"PRO"})]}),(0,t.jsx)("div",{className:`mt-4 ${x}`,"aria-busy":E,"aria-live":"polite",children:E?(0,t.jsx)("div",{className:"flex items-center sm:pt-2 sm:pl-2","aria-label":"Loading plans",children:(0,t.jsxs)("svg",{className:"animate-spin size-8 text-[rgba(209,127,247,1)]",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none","aria-hidden":!0,children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mt-2",children:o}),(0,t.jsx)(R,{selectedBillingPeriod:T,plan:e,isUserQualifiedForEarlyStageDiscount:!!I,percentageSaved:m,price:l,coupons:B}),"onlyYearly"===e.planType&&(0,t.jsx)("div",{className:"w-full mt-2",children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground/90 gap-1.5","aria-label":"This plan is available as yearly billing only",children:(0,t.jsx)("span",{className:"inline-flex items-center rounded-md bg-muted px-2 py-0.5 font-medium text-muted-foreground",children:"Yearly plan only"})})})]})})]}),(0,t.jsx)(i.CardContent,{className:"flex flex-1 flex-col pt-1",children:(0,t.jsx)("ul",{className:"space-y-3",children:e.features.map((e,r)=>(0,t.jsx)("li",{className:"flex items-center",children:(0,t.jsx)("span",{children:e})},r))})}),(0,t.jsx)(i.CardFooter,{className:"mt-auto flex w-full flex-col items-stretch border-t-0 bg-transparent px-6 pb-6 pt-2",children:(0,t.jsx)(a.default,{plan:e,cookies:P,isFetchingPlanData:E,isSelectedPlanAnnualPricing:u,selectedBillingType:"yearly"===c?"annually":c,canNavigateToAccountPg:!0,appVersionName:s,silverPlanTrialDays:z})})]},e.name)})}),(0,t.jsxs)("div",{className:"mt-12 text-center text-gray-600 flex flex-col",children:[(0,t.jsx)("span",{className:"text-base",children:"Just want to copy your folders 🗂️?"}),(0,t.jsxs)("span",{className:"text-base mt-1",children:["Take a look at our"," ",(0,t.jsx)(y.default,{href:"/standalone-plans",className:"font-medium text-[rgba(209,127,247,1)] underline underline-offset-4 hover:text-[rgba(157,214,252,1)]",children:"single feature plans"}),"!"]})]})]})]}):(0,t.jsx)("div",{id:"pricingSectionId",className:"relative py-12",role:"alert","aria-live":"polite",children:(0,t.jsxs)(i.Card,{className:"max-w-lg mx-auto border-amber-200 bg-amber-50/50 shadow-sm",children:[(0,t.jsxs)(i.CardHeader,{className:"text-center pb-2",children:[(0,t.jsx)("div",{className:"flex justify-center mb-2",children:(0,t.jsx)(h.AlertCircle,{className:"h-12 w-12 text-amber-600","aria-hidden":!0})}),(0,t.jsx)(i.CardTitle,{className:"text-lg font-semibold text-gray-900",children:"Couldn't load plans"})]}),(0,t.jsxs)(i.CardContent,{className:"text-center space-y-4",children:[(0,t.jsx)("p",{className:"text-gray-600 text-sm",children:"We couldn't load pricing. Click the button below to try again."}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center items-center",children:[(0,t.jsx)("button",{type:"button",onClick:C,className:"inline-flex items-center justify-center rounded-lg px-5 py-2.5 text-sm font-medium text-white bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] hover:opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-400 transition-opacity",children:"Load plans again"}),(0,t.jsxs)("span",{className:"text-gray-500 text-sm",children:["If the error persists, contact"," ",(0,t.jsx)(m.Supp
5ortLink,{href:"/contact?type=support"}),"."]})]})]})]})})}},838909,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("406970c77de5155076b6f838d0ea6753653063aeee",t.callServer,void 0,t.findSourceMapURL,"getPlanPrices");e.s(["getPlanPrices",()=>r])},600193,e=>{"use strict";var t=e.i(843476),r=e.i(126545),n=e.i(271645),o=e.i(170319);e.s(["useErrorToast",0,(e="light",i="top-center")=>{let a=(0,n.useRef)("");return{presentErrorToast:function(n,s=5e3,l){a.current&&o.toast.dismiss(a.current),a.current=o.toast.error("string"==typeof n?(0,t.jsxs)("span",{className:"text-sm",children:[n,l?(0,t.jsxs)(t.Fragment,{children:[" ","If this error persists, please contact ",(0,t.jsx)(r.SupportLink,{}),"."]}):null]}):(0,t.jsxs)(t.Fragment,{children:[n,l?(0,t.jsxs)("span",{className:"text-sm",children:[" ","If this error persists, please contact ",(0,t.jsx)(r.SupportLink,{}),"."]}):null]}),{autoClose:s,position:i,style:{zIndex:1e5},hideProgressBar:!1,closeOnClick:!1,pauseOnHover:!0,draggable:!0,progress:void 0,theme:e}).toString()},dismissErrorToast:function(){a.current&&(o.toast.dismiss(a.current),a.current="")},toastIdRef:a}}])},251687,275449,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(271645),o=e.i(110204),i=e.i(793479),a=e.i(93e3),s=e.i(95187),l=(0,s.createServerReference)("787353825b35aa81fc56f0d8d8bf369c80765fb7c3",s.callServer,void 0,s.findSourceMapURL,"validateCode");e.s(["validateCode",()=>l],275449);var c=e.i(721552),u=e.i(268462),d=e.i(126545),f=e.i(901760),p=e.i(618566);let h=({children:e,onMouseEnter:r,onMouseLeave:n,className:o})=>(0,t.jsx)("div",{className:o,onMouseEnter:r,onMouseLeave:n,children:e});var m=e.i(431908),y=e.i(600193);let x="input-access-code",v=new Set(["pre-launch-google-reviewable","pre-launch"]);e.s(["ACCESS_CODE_INPUT_NAME_ID",0,x,"default",0,({appVersionName:e})=>{console.log(`appVersionName: ${e}`);let{_isChildrenDisplayed:[s,b],_isSpinnerShown:[w,S],_btnColor:[C,j],_btnTxt:[N,E],_didErr:[A,T],_isBtnDisabled:[k,_]}=(0,u.useBtnWithLoadingAnimationState)(),{presentErrorToast:P}=(0,y.useErrorToast)(),O=(0,f.useUserChosenPlanStore)(e=>e.setState),R=(0,n.useRef)(null),M=(0,p.useSearchParams)(),{cookies:F,getIsUserSignedIn:L}=(0,m.useAppCookies)(),I=M.get(c.INPUT_TO_FOCUS_PARAM_NAME),D=M.get(c.IS_AUTO_SIGN_IN_PARAM)&&v.has(e),[B,U]=(0,n.useState)(new Map),[z,$]=(0,n.useState)(!0),[q,W]=(0,n.useState)(""),[H,V]=(0,n.useState)(!0),G="pre-launch-google-reviewable"===e||"pre-launch"===e?z:c.DISABLE_SIGN_UP_STATUSES.has(e);async function Y(){let r=new Map;U(r),b(!1),S(!0);let n=await fetch("https://api.ipify.org/?format=json"),o=await n.json();if("string"!=typeof o.ip||!o.ip){console.error("Failed to get the user's IP address."),r.set("code","An error has occurred. Please refresh the page and try again."),b(!0),S(!1);return}console.log("data: ",o);let i=null;if("pre-launch-google-reviewable"===e?i=await l(q,"googleReview",o.ip):"pre-launch"===e&&(i=await l(q,"earlyAccess",o.ip)),!i){P((0,t.jsxs)("span",{className:"text-sm",children:["Unable to validate your code. Please refresh the page. If this error persist, please contact ",(0,t.jsx)(d.SupportLink,{}),"."]}),9e3),S(!1),b(!0);return}let{isCodeValid:a,canTryAgain:s}=i;if(!a&&s){r.set("code","Invalid code. Please try again."),U(r),setTimeout(()=>{S(!1),b(!0),j("bg-red-500"),E("❌"),T(!0),setTimeout(()=>{j(c.APP_COLOR_GRADIENT),E("Submit"),T(!1)},500)},700);return}if(!a){_(!0),r.set("code",(0,t.jsxs)(t.Fragment,{children:["Code submission has been disabled. Please contact"," ",(0,t.jsx)(d.SupportLink,{href:"/contact?type=support"}),"."]})),U(r),setTimeout(()=>{S(!1),b(!0),j("bg-red-500"),E("❌"),T(!0),setTimeout(()=>{j(c.APP_COLOR_GRADIENT),E("Submit"),T(!1)},500)},700);return}S(!1),b(!0),j("bg-green-500"),E("✅"),"pre-launch-google-reviewable"===e?O({userType:"googleReviewer",userCode:q}):"pre-launch"===e&&O({userType:"earlyStage",userCode:q}),setTimeout(()=>{$(!1)},500)}return(0,n.useEffect)(()=>{let e=L().isSignedIn;console.log("_isSignUpDisabled: ",G),console.log("isSignedIn:",e),G&&e&&(console.log("SignUpDisabled: User is signed in, but sign up is not enabled."),$(!1))},[F]),(0,n.useEffect)(()=>{(I===x||D)&&(R.current?.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{R.current?.focus()},300))},[]),G?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-full h-full z-[10] blur-sm bg-black/60 absolute"}),(0,t.jsx)("div",{className:"w-full h-full absolute z-[10] rounded-lg flex flex-col px-3 pt-[8em] text-center items-center",children:(0,t.jsxs)("div",{className:"bg-white rounded-lg py-5 max-w-sm shadow-xl",children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-gray-800 mb
5-3 px-6",children:"Sign Up Not Available Yet"}),(0,t.jsx)("p",{className:"text-gray-600 mb-4 px-6",children:"We're still preparing for launch. Join the waitlist to be notified when sign up becomes available!"}),(0,t.jsx)("div",{className:"w-full px-6",children:(0,t.jsx)(r.default,{href:"/#pricing",className:"w-full inline-block bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] text-white font-semibold py-3 rounded-lg hover:opacity-90 transition-all",children:"Back to Pricing"})}),"pre-launch-google-reviewable"===e||"pre-launch"===e&&(0,t.jsx)("div",{className:"mt-5 pt-3 border-t border-gray-300",children:(0,t.jsxs)("div",{className:"px-6",children:[(0,t.jsx)("div",{className:"w-[95%] flex justify-center items-center",children:(0,t.jsx)(o.Label,{className:`text-base/6 line text-center w-[80%] block ${B.has("code")?"text-red-500":""}`,htmlFor:"code",children:"For pre-selected users enter your code below to unlock sign up:"})}),(0,t.jsxs)("section",{className:"w-full h-full mt-8",children:[(0,t.jsxs)(h,{onMouseEnter:()=>{V(!1)},className:"relative rounded-md",children:[(0,t.jsx)("div",{style:{backgroundColor:c.APP_COLOR_BLUE},className:`h-[10px] w-[10px] rounded-full animate-ping transition-all ${H&&D?"opacity-75":"opacity-0"} absolute top-[-3px] right-[2px]`}),(0,t.jsx)(i.Input,{ref:R,id:x,className:`text-black text-center border ${B.has("code")?"border-red-500":""} outline-none ${c.FOCUS_INPUT_COLOR} ${c.INPUT_DEFAULT_CLASS}`,placeholder:"Code",name:"code",onChange:e=>{U(new Map),V(!1),W(e.target.value)},value:q})]}),(0,t.jsx)(a.ErrorTxt,{style:{height:"35px"},className:"text-red-500 mt-2",children:B.get("code")??""})]}),(0,t.jsx)("section",{className:"flex justify-center items-center mt-4",children:(0,t.jsx)(u.default,{isChildrenDisplayed:s,isSpinnerShown:w,disabled:k||w,spinnerDimension:{width:30,height:30},className:`${A||k?"pointer-events-none bg-red-500":""} text-center text-white text-white flex w-full ${C} rounded-lg text-wrap whitespace-normal transition-colors duration-200 py-3 px-4 h-[50px]`,onClick:Y,children:(0,t.jsx)("span",{className:"text-white",children:N})})})]})})]})})]}):null}],251687)},716765,e=>{"use strict";var t=e.i(843476),r=e.i(213419),n=e.i(591175),o=e.i(170319),i=e.i(793479),a=e.i(271645),s=e.i(87299),l=e.i(502559),c=e.i(93e3),u=e.i(268462),d=e.i(455263),f=e.i(473665),p=e.i(511152),h=e.i(95187),m=(0,h.createServerReference)("70d6cea89ad2a2e29d298cc3ce52825aea5202357c",h.callServer,void 0,h.findSourceMapURL,"createNewEmailMarketingSubscriber"),y=e.i(519455),x=e.i(617310),v=e.i(721552),b=e.i(618566),w=e.i(251687);let S="waitlist-early-adopter-discount-note",C=({closeModal:e})=>{let r=(0,b.useRouter)();return(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-2 text-center",children:[(0,t.jsx)("span",{className:"text-xs text-gray-600 font-medium",children:"Already have an access code?"}),(0,t.jsx)(y.Button,{onClick:function(t){t.preventDefault(),e(),(0,x.removeLocalStorageItem)("planToBuy");let n=`/account?${v.PAY_PERIOD_TYPE_PARAM}=annually&${v.PLAN_NAME_PARAM}=silver&${v.INPUT_TO_FOCUS_PARAM_NAME}=${w.ACCESS_CODE_INPUT_NAME_ID}`;console.log("URL, redeem code btn click: ",n),r.push(n)},className:"bg-gradient-to-r from-purple-600 to-blue-500 hover:from-purple-700 hover:to-blue-600 text-white border-0 rounded-full px-5 py-2 text-sm font-semibold transition-all duration-200 shadow-md hover:shadow-lg transform hover:scale-105",children:"Redeem Code →"})]})};e.s(["default",0,({percentage:e,earlyAdopterSpotsLeft:h,earlyAdopterTotalSpots:y,googleReCaptchaSiteKey:v,appVersionName:b})=>{let{isOpen:w,setState:j,membershipSelected:N,willShowCaptcha:E}=(0,r.useJoinWaitlistStore)(e=>e),[A,T]=(0,a.useState)(!1),[k,_]=(0,a.useState)(!1),P=(0,a.useRef)(null),[O,R]=(0,a.useState)({email:"",firstName:"",emailSendErr:null}),[M,F]=(0,a.useState)(new Map),[L,I]=(0,a.useState)(!1),[D,B]=(0,a.useState)(!1),[U,z]=(0,a.useState)(null),$=(0,s.useUserModalStore)(e=>e.setState),q="number"==typeof e&&e>1?Math.round(e):50;function W(){console.log("Join Waitlist modal will close"),U&&o.toast.dismiss(U),j({isOpen:!1}),setTimeout(()=>{j({membershipSelected:void 0})},400),R({email:"",firstName:"",emailSendErr:null}),F(new Map),B(!1),_(!1),T(!1)}async function H(e){e.preventDefault(),U&&o.toast.dismiss(U);let r=new Map,n=!1,i=!1;B(!0),I(!0),F(r),await (0,x.sleep)(1e3);try{if(console.log("Joining waitlist with email: ",O),!N){let e=o.toast.info((0,t.jsx)("span",{className:"text-sm",children:"Please close this modal and select the plan you want to join."}),{position:"top-center",autoClose:5e3,style:{zIndex:1e5},hideProgressBar:!1,closeOnClick:!1,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"colored",transition:o.Bounce});z(e);return}let e=l.default.validate(O.email),a=!!E&&!!P.current?.getValue();
5if(e||r.set("email","*Email not valid."),E&&!a&&r.set("recaptchaErr","*Are you a robot 🤖?"),O.firstName.length?1===O.firstName.length&&r.set("firstName","*Must be greater than a character."):r.set("firstName","*This field is required."),console.log("Current errors, join waitlist modal form submission: ",r),r.size){console.error("An error has occurred within JoinWaitlist.tsx"),console.error("An error has occurred within the 'handleJoinWaitlist' (or relevant function): ",r),F(r);return}console.log("Adding the user to the email marketing list...");let{wasSuccessful:s}=await m(N,O.email,O.firstName);if(console.log("wasSuccessful:",s),!s){console.error("Error: Failed to add user to the mailing list."),_(!0),n=!0,r.set("emailSendErr",(0,t.jsxs)("span",{children:["ERROR! Please contact"," ",(0,t.jsx)("a",{href:"/contact?type=bug",className:"hover:underline text-blue-600",children:"support"})," ","if this error persist."]})),F(r);let e=o.toast.error((0,t.jsx)("span",{className:"text-sm",children:"Failed to add you to the mailing list. Please refresh the page and try again."}),{position:"top-center",autoClose:5e3,style:{zIndex:1e5},hideProgressBar:!1,closeOnClick:!1,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"colored",transition:o.Bounce});z(e);return}console.log("Successfully added user to the waitlist."),i=!0,T(!0)}catch(e){console.error("An error occurred in handleJoinWaitlist:",e)}finally{if(B(!1),console.log("didFailToAddUserToMailingList: ",n),n)return void setTimeout(()=>{_(!1),I(!1)},2e3);if(i)return void setTimeout(()=>{_(!1),B(!1),I(!1),T(!1),W();let e=(0,t.jsxs)(t.Fragment,{children:["You","'","ve been successfully added to our mailing list 📋 for Gold."]}),r=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:e}),(0,t.jsxs)("p",{children:["You","'","ll be notified when we launch ",N," and will receive updates on our progress."]})]});setTimeout(()=>{$({isSuccessModalOn:!0,msgAndCheckMarkContainerClassName:"p-3",successModalClassName:"w-[90vw] sm:w-[80vw] md:w-[60vw] lg:w-[35vw] max-w-xs sm:max-w-[400px] transform overflow-hidden rounded-2xl bg-white align-top left-1/2 shadow-xl transition-all top-[35%] sm:top-[25%] p-3",modalMsg:r,isSuccessModalFooterDisplayed:!0,successModalTxtMsgContainerClassName:"text-lg font-semibold text-center"})},350)},2e3);B(!1),I(!1)}}function V(e){F(t=>{let r=structuredClone(t);return r.delete(e.target.name),r}),R(t=>({...t,[e.target.name]:e.target.value}))}let G="bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700",Y=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("span",{className:"font-bold",children:"JOIN WAITLIST"})});return k?(console.log("failed to add the user to the mailing list..."),G="bg-gradient-to-r from-red-500 to-red-600 hover:from-red-600 hover:to-red-700",Y=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(f.MdCancel,{color:"white",size:24})})):A&&(G="bg-gradient-to-r from-green-500 to-green-600 hover:from-green-600 hover:to-green-700",Y=(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(p.FaRegCheckCircle,{color:"white",size:24})})),(0,t.jsx)(n.default,{isOpen:w,xIconClassName:"h-7 w-7 text-gray-400 hover:text-gray-600",onClose:W,className:"z-[60] h-auto max-h-[95vh] w-[95vw] max-w-lg overflow-auto p-0 shadow-2xl lg:rounded-2xl",title:"Join the Waitlist",xIconBtnClassName:"right-3 top-3 hover:bg-gray-100 rounded-full p-1 transition-colors",children:(0,t.jsx)("div",{className:"relative overflow-auto py-6 sm:py-7 px-6 sm:px-8 lg:px-10 bg-gradient-to-br from-white via-purple-50/30 to-blue-50/30",children:(0,t.jsxs)("div",{className:"relative z-10 text-center max-w-lg mx-auto",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold mb-3 tracking-tight bg-gradient-to-r from-gray-900 via-purple-900 to-blue-900 bg-clip-text text-transparent",children:"Join the Waitlist"}),(0,t.jsxs)("p",{className:"text-gray-600 text-base sm:text-lg px-2 leading-relaxed",children:["Be the first to know when we launch! Join now and get a *",(0,t.jsx)("span",{className:"sr-only",children:"See early adopter discount details"}),(0,t.jsxs)("span",{className:"font-semibold text-transparent bg-gradient-to-r from-purple-600 to-blue-600 bg-clip-text",children:[10,"% discount"]})," ","for your first year",(0,t.jsx)("a",{href:`#${S}`,"aria-describedby":S,className:"ml-0.5 align-super text-xs font-semibold text-purple-600 no-underline hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-400 focus-visible:ring-offset-2"}),"."]}),"Silver"!==N?(0,t.jsxs)("p",{className:"text-gray-500 text-sm sm:text-base px-2 mt-2",children:["You'll get notified when we launch"," ",(0,t.jsx)("span",{className:"font-semibold text-gray-700",children:N}),"."]}):(0,t.jsxs)("p",{className:"text-gray-500 text-sm sm:text-base px-2 mt-2",children:["Get updates and be notified when we launch with"," ",(0,t.jsx)("span",{className:"font-semibold text-gray-700",children:"Silver"}),"."]})]}),(0,t.jsxs)("form",{className:"flex flex-col gap-4 justify-center items-center mt-3",children:[(0,t.jsxs)("div",{className:"flex flex-col w-full",children:[(0,t.jsx)(i.Input,{type:"text",placeholder:"Enter your name",name:"firstName",value:O.firstName,onChange:V,className:`bg-white text-sm outline-none py-5 px-4 roun
5ded-xl border-2 shadow-sm transition-all duration-200 ${M.has("firstName")?"border-red-400 focus:border-red-500 focus:ring-red-200":"border-gray-200 focus:border-purple-400 focus:ring-purple-200 hover:border-gray-300"}`}),(0,t.jsx)(c.ErrorTxt,{className:"text-red-500 mt-1.5 ml-1 text-start text-xs font-medium",children:M.get("firstName")})]}),(0,t.jsxs)("div",{className:"flex flex-col w-full",children:[(0,t.jsx)(i.Input,{type:"email",placeholder:"Enter your email",name:"email",value:O.email,onChange:V,className:`bg-white outline-none text-sm py-5 px-4 rounded-xl border-2 shadow-sm transition-all duration-200 ${M.has("email")?"border-red-400 focus:border-red-500 focus:ring-red-200":"border-gray-200 focus:border-purple-400 focus:ring-purple-200 hover:border-gray-300"}`}),(0,t.jsx)(c.ErrorTxt,{className:"text-red-500 mt-1.5 ml-1 text-start text-xs font-medium",children:M.get("email")})]}),E&&(0,t.jsxs)("div",{className:"flex flex-col justify-center items-center mt-1",children:[(0,t.jsx)("div",{className:"rounded-lg overflow-hidden shadow-sm",children:(0,t.jsx)(d.default,{ref:P,sitekey:v,className:"p-0"})}),(0,t.jsx)(c.ErrorTxt,{className:"text-red-500 mt-1.5 ml-1 text-center text-xs font-medium",children:M.get("recaptchaErr")})]}),(0,t.jsx)(u.default,{isSpinnerShown:D,isChildrenDisplayed:!D,disabled:L,spinnerDimension:{width:22,height:22},onClick:H,className:`${!L?"opacity-50":"opacity-100"} ${G} text-white font-bold text-base rounded-xl px-10 py-3 shadow-lg hover:shadow-xl transition-all duration-200 mt-3 ${L?"":"hover:scale-105"}`,children:Y}),(0,t.jsx)(c.ErrorTxt,{className:"text-red-500 mt-1 text-center text-xs font-medium",children:M.get("emailSendErr")}),"Silver"===N&&(0,t.jsx)(C,{closeModal:W})]}),(0,t.jsxs)("p",{id:S,className:"mt-6 border-t border-purple-100/80 pt-4 text-left text-xs leading-relaxed text-gray-500 sm:text-[13px]",children:[(0,t.jsx)("span",{className:"mr-1 font-semibold text-purple-600","aria-hidden":!0,children:"*"}),"If you are an"," ",(0,t.jsx)("button",{type:"button",onClick:function(){$({discountNotifierModal:{isDisplayed:!0,earlyAdopterSpotsLeft:h,percentSaved:e??void 0,earlyAdopterSpotsMax:y}})},className:"font-semibold text-transparent bg-gradient-to-r from-purple-600 to-blue-600 bg-clip-text hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-400 focus-visible:ring-offset-2",children:"early adopter"}),", your ",q,"% discount will apply instead of the ",10,"% first-year discount."]})]})})})}],716765)},724187,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(591175),o=e.i(940141);function i(e){return(0,o.GenIcon)({tag:"svg",attr:{version:"1",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"polygon",attr:{fill:"#43A047",points:"40.6,12.1 17,35.7 7.4,26.1 4.6,29 17,41.3 43.4,14.9"},child:[]}]})(e)}var a=e.i(87299),s=e.i(519455),l=e.i(975157);let c=({closeModal:e})=>(0,t.jsx)("div",{className:"flex items-center justify-center w-full py-2 px-3 border-t border-gray-200 space-x-2",children:(0,t.jsx)(s.Button,{onClick:e,className:"border-grey-200 border-2 rounded-md text-center px-3 py-2 min-w-[125px]",children:"OK"})});e.s(["default",0,()=>{let{isSuccessModalOn:e,setState:o,modalMsg:s,isSuccessModalFooterDisplayed:u,successModalTxtMsgContainerClassName:d,msgAndCheckMarkContainerClassName:f,successModalClassName:p}=(0,a.useUserModalStore)(e=>e);function h(){o({isSuccessModalOn:!1}),setTimeout(()=>{o({successModalTxtMsgContainerClassName:void 0,isSuccessModalFooterDisplayed:!1})},400)}return(0,r.useEffect)(()=>{e&&!u&&setTimeout(()=>{o({isSuccessModalOn:!1}),setTimeout(()=>{o({modalMsg:void 0})},750)},2500)},[e]),(0,t.jsxs)(n.default,{isOpen:e,onClose:h,title:"Success",className:p??"w-full max-w-xs sm:max-w-sm transform overflow-hidden rounded-2xl bg-white align-top left-1/2 shadow-xl transition-all",children:[(0,t.jsxs)("div",{className:(0,l.mergeTailwindClasses)("bg-white w-full max-w-[350px] mx-auto p-6 flex flex-col items-center justify-center",f??""),children:[(0,t.jsx)(i,{className:"text-5xl mb-4"}),(0,t.jsx)("div",{className:d??"text-green-700 text-lg font-semibold text-center",children:s})]}),u&&(0,t.jsx)(c,{closeModal:h})]})}],724187)},767660,75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),o=e.i(991918),i=e.i(843476);function a(e){let a=e+"CollectionProvider",[s,l]=(0,r.createContextScope)(a),[c,u]=s(a,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,o=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,i.jsx)(c,{scope:r,itemMap:a,collectionRef:o,children:n})};d.displayName=a;let f=e+"CollectionSlot",p=(0,o.createSlot)(f),h=t.default.forwardRef((e,t)=>
5{let{scope:r,children:o}=e,a=u(f,r),s=(0,n.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(p,{ref:s,children:o})});h.displayName=f;let m=e+"CollectionItemSlot",y="data-radix-collection-item",x=(0,o.createSlot)(m),v=t.default.forwardRef((e,r)=>{let{scope:o,children:a,...s}=e,l=t.default.useRef(null),c=(0,n.useComposedRefs)(r,l),d=u(m,o);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...s}),()=>void d.itemMap.delete(l))),(0,i.jsx)(x,{...{[y]:""},ref:c,children:a})});return v.displayName=m,[{Provider:d,Slot:h,ItemSlot:v},function(r){let n=u(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}var s=new WeakMap;function l(e,t){var r,n;let o,i,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,o=r.length,(a=(i=c(n))>=0?i:o+i)<0||a>=o?-1:a);return -1===s?void 0:e[s]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],s.set(this,!0)}set(e,t){return s.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),i=this.#e.length,a=c(e),s=a>=0?a:i+a,l=s<0||s>=i?-1:s;if(l===this.size||o&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!o;a<0&&s++;let d=[...this.#e],f=!1;for(let e=s;e<u;e++)if(s===e){let i=d[e];d[e]===t&&(i=d[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>a],75830);var u=e.i(981140),d=e.i(369340),f=e.i(248425),p=e.i(934620),h=e.i(296626),m=e.i(610772),y="Collapsible",[x,v]=(0,r.createContextScope)(y),[b,w]=x(y),S=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:o,defaultOpen:a,disabled:s,onOpenChange:l,...c}=e,[u,p]=(0,d.useControllableState)({prop:o,defaultProp:a??!1,onChange:l,caller:y});return(0,i.jsx)(b,{scope:n,disabled:s,contentId:(0,m.useId)(),open:u,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),children:(0,i.jsx)(f.Primitive.div,{"data-state":T(u),"data-disabled":s?"":void 0,...c,ref:r})})});S.displayName=y;var C="CollapsibleTrigger",j=t.forwardRef((e,t)=>
5{let{__scopeCollapsible:r,...n}=e,o=w(C,r);return(0,i.jsx)(f.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":T(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:t,onClick:(0,u.composeEventHandlers)(e.onClick,o.onOpenToggle)})});j.displayName=C;var N="CollapsibleContent",E=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=w(N,e.__scopeCollapsible);return(0,i.jsx)(h.Presence,{present:r||o.open,children:({present:e})=>(0,i.jsx)(A,{...n,ref:t,present:e})})});E.displayName=N;var A=t.forwardRef((e,r)=>{let{__scopeCollapsible:o,present:a,children:s,...l}=e,c=w(N,o),[u,d]=t.useState(a),h=t.useRef(null),m=(0,n.useComposedRefs)(r,h),y=t.useRef(0),x=y.current,v=t.useRef(0),b=v.current,S=c.open||u,C=t.useRef(S),j=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.useLayoutEffect)(()=>{let e=h.current;if(e){j.current=j.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,v.current=t.width,C.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),d(a)}},[c.open,a]),(0,i.jsx)(f.Primitive.div,{"data-state":T(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!S,...l,ref:m,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:S&&s})});function T(e){return e?"open":"closed"}var k=t.createContext(void 0),_="Accordion",P=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[O,R,M]=a(_),[F,L]=(0,r.createContextScope)(_,[M,v]),I=v(),D=t.default.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,i.jsx)(O.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,i.jsx)(W,{...n,ref:t}):(0,i.jsx)(q,{...n,ref:t})})});D.displayName=_;var[B,U]=F(_),[z,$]=F(_,{collapsible:!1}),q=t.default.forwardRef((e,r)=>{let{value:n,defaultValue:o,onValueChange:a=()=>{},collapsible:s=!1,...l}=e,[c,u]=(0,d.useControllableState)({prop:n,defaultProp:o??"",onChange:a,caller:_});return(0,i.jsx)(B,{scope:e.__scopeAccordion,value:t.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:t.default.useCallback(()=>s&&u(""),[s,u]),children:(0,i.jsx)(z,{scope:e.__scopeAccordion,collapsible:s,children:(0,i.jsx)(G,{...l,ref:r})})})}),W=t.default.forwardRef((e,r)=>{let{value:n,defaultValue:o,onValueChange:a=()=>{},...s}=e,[l,c]=(0,d.useControllableState)({prop:n,defaultProp:o??[],onChange:a,caller:_}),u=t.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),f=t.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,i.jsx)(B,{scope:e.__scopeAccordion,value:l,onItemOpen:u,onItemClose:f,children:(0,i.jsx)(z,{scope:e.__scopeAccordion,collapsible:!0,children:(0,i.jsx)(G,{...s,ref:r})})})}),[H,V]=F(_),G=t.default.forwardRef((e,r)=>{let o,{__scopeAccordion:a,disabled:s,dir:l,orientation:c="vertical",...d}=e,p=t.default.useRef(null),h=(0,n.useComposedRefs)(p,r),m=R(a),y="ltr"===(o=t.useContext(k),l||o||"ltr"),x=(0,u.composeEventHandlers)(e.onKeyDown,e=>{if(!P.includes(e.key))return;let t=e.target,r=m().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),o=r.length;if(-1===n)return;e.preventDefault();let i=n,a=o-1,s=()=>{(i=n+1)>a&&(i=0)},l=()=>{(i=n-1)<0&&(i=a)};switch(e.key){case"Home":i=0;break;case"End":i=a;break;case"ArrowRight":"horizontal"===c&&(y?s():l());break;case"ArrowDown":"vertical"===c&&s();break;case"ArrowLeft":"horizontal"===c&&(y?l():s());break;case"ArrowUp":"vertical"===c&&l()}let u=i%o;r[u].ref.current?.focus()});return(0,i.jsx)(H,{scope:a,disabled:s,direction:l,orientation:c,children:(0,i.jsx)(O.Slot,{scope:a,children:(0,i.jsx)(f.Primitive.div,{...d,"data-orientation":c,ref:h,onKeyDown:s?void 0:x})})})}),Y="AccordionItem",[X,K]=F(Y),J=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:n,...o}=e,a=V(Y,r),s=U(Y,r),l=I(r),c=(0,m.useId)(),u=n&&s.value.includes(n)||!1,d=a.disabled||e.disabled;return(0,i.jsx)(X,{scope:r,open:u,disabled:d,triggerId:c,children:(0,i.jsx)(S,{"data-orientation":a.orientation,"data-state":eo(u),...l,...o,ref:t,disabled:d,open:u,onOpenChange:e=>{e?s.onItemOpen(n):s.onItemClose(n)}})})});J.displayName=Y;var Z="AccordionHeader",Q=t.default.forwardRef((e,t)=>
5{let{__scopeAccordion:r,...n}=e,o=V(_,r),a=K(Z,r);return(0,i.jsx)(f.Primitive.h3,{"data-orientation":o.orientation,"data-state":eo(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:t})});Q.displayName=Z;var ee="AccordionTrigger",et=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,o=V(_,r),a=K(ee,r),s=$(ee,r),l=I(r);return(0,i.jsx)(O.ItemSlot,{scope:r,children:(0,i.jsx)(j,{"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...n,ref:t})})});et.displayName=ee;var er="AccordionContent",en=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,o=V(_,r),a=K(er,r),s=I(r);return(0,i.jsx)(E,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...s,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function eo(e){return e?"open":"closed"}en.displayName=er,e.s(["Accordion",()=>D,"AccordionContent",()=>en,"AccordionHeader",()=>Q,"AccordionItem",()=>J,"AccordionTrigger",()=>et,"Content",()=>en,"Header",()=>Q,"Item",()=>J,"Root",()=>D,"Trigger",()=>et,"createAccordionScope",()=>L],767660)},664659,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>t],664659)},346944,e=>{"use strict";var t=e.i(271645);let r=(e,t)=>{let r=e instanceof Map?e:new Map(e.entries()),n=t instanceof Map?t:new Map(t.entries());if(r.size!==n.size)return!1;for(let[e,t]of r)if(!Object.is(t,n.get(e)))return!1;return!0};function n(e){let n=t.default.useRef(void 0);return t=>{let o=e(t);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(!(Symbol.iterator in e)||!(Symbol.iterator in t))return r({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)});if("entries"in e&&"entries"in t)return r(e,t);let n=e[Symbol.iterator](),o=t[Symbol.iterator](),i=n.next(),a=o.next();for(;!i.done&&!a.done;){if(!Object.is(i.value,a.value))return!1;i=n.next(),a=o.next()}return!!i.done&&!!a.done}(n.current,o)?n.current=o:n.current}}e.s(["useShallow",()=>n],346944)},529196,718667,e=>{"use strict";var t=e.i(843476),r=e.i(617310),n=e.i(271645);function o(e,t,r){let{monthly:n,yearly:o,quarterly:i}=e;if("yearly"===r&&o&&n)return{monthly:12*n*t/12,yearly:o*t};if("yearly"===r&&!o)throw Error("Yearly price is required when pay period type is yearly");if("monthly"===r&&n){let e=n*t;return{monthly:e,yearly:12*e}}if("monthly"===r&&!n)throw Error("Monthly price is required when pay period type is monthly");if("quarterly"===r&&i)return{monthly:i/3*t,yearly:4*i*t,quarterly:i*t};throw Error("Quarterly price was not found")}let i=({primaryAmount:e,primaryLabel:n,secondaryAmount:o,secondaryLabel:i,missingAmountFallback:a,isLineThrough:s,onMouseOver:l,onMouseLeave:c,containerClassName:u})=>{let d=s?"line-through":"";return(0,t.jsxs)("div",{onMouseOver:l,onMouseLeave:c,className:u??"flex sm:flex-row flex-col",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:`text-3xl font-bold whitespace-nowrap ${d}`,children:e?(0,r.formatNumToCurrency)(e):a}),(0,t.jsx)("span",{className:`text-gray-600 ml-2 font-normal text-sm sm:text-base whitespace-nowrap ${d}`,children:n})]}),e&&"number"==typeof o?(0,t.jsx)("div",{className:`text-gray-600 sm:ml-2 mt-1 flex justify-end flex-col whitespace-nowrap ${d}`,children:(0,t.jsxs)("span",{className:"italic",children:["(",(0,r.formatNumToCurrency)(o)," ",i,")"]})}):null]})},a=({isAnnual:e,billingType:r,plan:a,discountPercentage:s,isLineDisplayed:l,planType:c})=>{let u=r??(e?"annually":"monthly"),d="number"==typeof a.quarterlyPrice?a.quarterlyPrice:"number"==typeof a.monthPrice?3*a.monthPrice:void 0,{monthly:f,yearly:p,quarterly:h}=(0,n.useMemo)(()=>{console.log("plan object: ",a),console.log(`plan month price: ${a.monthPrice}`),console.log(`plan year price: ${a.yearPrice}`),console.log(`plan quarterly price: ${a.quarterlyPrice}`),console.log(`purchase type: ${a.purchaseType}`),console.log(`discount percentage: ${s}`);let e="annually"===u?"yearly":u;return"onlyYearly"===c&&s&&a.yearPrice&&"subscription"===a.purchaseType?o({monthly:a.yearPrice/12,yearly:a.yearPrice},s,"yearly"):"subscription"===a.purchaseType&&a.monthPrice&&a.yearPrice&&s?o({monthly:a.monthPrice,yearly:a.yearPrice,quarterly:d},s,e):{monthly:a.monthPrice,yearly:a.yearPrice,quarterly:d}},[u,a.monthPrice,a.yearPrice,a.quarterlyPrice,a.purchaseType,d,s,c])??{},m=a.monthPrice,y=a.yearPrice,x="number"==typeof s&&s>
50,v=!!l&&!x,b=x&&!!l,[w,S]=(0,n.useState)(v),[C,j]=(0,n.useState)(l);function N(e){return()=>{v&&S(!e)}}return((0,n.useEffect)(()=>{S(v)},[v]),console.log("isLineDisplayed, rendering: ",l),"onlyYearly"===c)?(0,t.jsx)("div",{className:"transition-all duration-300 ease-in-out relative w-[fit-content] h-fit",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[b?(0,t.jsx)(i,{primaryAmount:y,primaryLabel:"per year",secondaryAmount:y?y/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:!0,containerClassName:"flex sm:flex-row flex-col cursor-normal"}):null,(0,t.jsx)(i,{primaryAmount:p,primaryLabel:"per year",secondaryAmount:p?p/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:w,onMouseOver:N(!0),onMouseLeave:N(!1),containerClassName:"flex sm:flex-row flex-col cursor-normal"})]})}):(0,t.jsx)("div",{className:"transition-all duration-300 ease-in-out relative w-[fit-content] h-fit",children:"annually"===u?(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[b?(0,t.jsx)(i,{primaryAmount:y,primaryLabel:"per year",secondaryAmount:y?y/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:!0}):null,(0,t.jsx)(i,{primaryAmount:p,primaryLabel:"per year",secondaryAmount:p?p/12:void 0,secondaryLabel:"per month",missingAmountFallback:"Can't load price. Refresh the page.",isLineThrough:w,onMouseOver:N(!0),onMouseLeave:N(!1)})]}):"quarterly"===u?(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[b?(0,t.jsx)(i,{primaryAmount:d,primaryLabel:"per quarter",secondaryAmount:d?d/3:void 0,secondaryLabel:"per month",missingAmountFallback:"n/a",isLineThrough:!0}):null,(0,t.jsx)(i,{primaryAmount:h,primaryLabel:"per quarter",secondaryAmount:h?h/3:void 0,secondaryLabel:"per month",missingAmountFallback:"n/a",isLineThrough:w,onMouseOver:N(!0),onMouseLeave:N(!1)})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[b?(0,t.jsx)(i,{primaryAmount:m,primaryLabel:"per month",secondaryAmount:m?12*m:void 0,secondaryLabel:"per year",missingAmountFallback:"n/a",isLineThrough:!0}):null,(0,t.jsx)(i,{primaryAmount:f,primaryLabel:"per month",secondaryAmount:f?12*f:void 0,secondaryLabel:"per year",missingAmountFallback:"n/a",isLineThrough:w,onMouseOver:N(!0),onMouseLeave:N(!1)})]})})};e.s(["default",0,a],718667);var s=e.i(110204),l=e.i(519455),c=e.i(975157);let u=n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("div",{className:"relative w-full overflow-auto",children:(0,t.jsx)("table",{ref:n,className:(0,c.mergeTailwindClasses)("w-full caption-bottom text-sm",e),...r})}));u.displayName="Table";let d=n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("thead",{ref:n,className:(0,c.mergeTailwindClasses)("[&_tr]:border-b",e),...r}));d.displayName="TableHeader";let f=n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("tbody",{ref:n,className:(0,c.mergeTailwindClasses)("[&_tr:last-child]:border-0",e),...r}));f.displayName="TableBody",n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("tfoot",{ref:n,className:(0,c.mergeTailwindClasses)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r})).displayName="TableFooter";let p=n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("tr",{ref:n,className:(0,c.mergeTailwindClasses)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...r}));p.displayName="TableRow";let h=n.forwardRef(({className:e,...r},n)=>(r.children,(0,t.jsx)("th",{ref:n,className:(0,c.mergeTailwindClasses)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...r})));h.displayName="TableHead";let m=n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("td",{ref:n,className:(0,c.mergeTailwindClasses)("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...r}));m.displayName="TableCell",n.forwardRef(({className:e,...r},n)=>(0,t.jsx)("caption",{ref:n,className:(0,c.mergeTailwindClasses)("mt-4 text-sm text-muted-foreground",e),...r})).displayName="TableCaption";var y=e.i(776639),x=e.i(591175),v=e.i(326999),b=e.i(721552),w=e.i(767660),S=e.i(664659);w.Root,n.forwardRef(({className:e,...r},n)=>
5(0,t.jsx)(w.Item,{ref:n,className:(0,c.mergeTailwindClasses)("border-b",e),...r})).displayName="AccordionItem",n.forwardRef(({className:e,children:r,...n},o)=>(0,t.jsx)(w.Header,{className:"flex",children:(0,t.jsxs)(w.Trigger,{ref:o,className:(0,c.mergeTailwindClasses)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[r,(0,t.jsx)(S.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})).displayName=w.Trigger.displayName,n.forwardRef(({className:e,children:r,...n},o)=>(0,t.jsx)(w.Content,{ref:o,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:(0,t.jsx)("div",{className:(0,c.mergeTailwindClasses)("pb-4 pt-0",e),children:r})})).displayName=w.Content.displayName;let C=[{name:"GSuite Folder Copying",limitations:[{name:"Limited",tiers:{bronze:!1,silver:!1,gold:!1,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}},{name:"Unlimited",tiers:{bronze:!0,silver:!0,gold:!0,"Bronze Single Feature (Copy Folders)":!0,"Silver - Copy Folders":!0}}],tiers:{bronze:{status:"available",limit:"Unlimited"},"Bronze Single Feature (Copy Folders)":{status:"available",limit:"Unlimited"},silver:{status:"available",limit:"Unlimited"},"Silver - Copy Folders":{status:"available",limit:"Unlimited"},gold:{status:"available",limit:"Unlimited"}}},{name:"GSuite Permission Management",limitations:[{name:"Limited",tiers:{bronze:!0,silver:!1,gold:!1,"Bronze Single Feature (Copy Folders)":!0,"Silver - Copy Folders":!1}},{name:"Unlimited files/folders",tiers:{bronze:!0,silver:!0,gold:!0,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}}],tiers:{bronze:{status:"available",limit:"Unlimited"},"Bronze Single Feature (Copy Folders)":{status:"notAvailable"},silver:{status:"available",limit:"Unlimited"},"Silver - Copy Folders":{status:"notAvailable"},gold:{status:"available",limit:"Unlimited"}}},{name:"Chrome extension access",limitations:[{name:"Limited",tiers:{bronze:!0,silver:!1,gold:!1,"Bronze Single Feature (Copy Folders)":!0,"Silver - Copy Folders":!1}},{name:"Unlimited",tiers:{bronze:!1,silver:!0,gold:!0,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!0}}],tiers:{bronze:{status:"available",limit:"Limited"},"Bronze Single Feature (Copy Folders)":{status:"available",limit:"Limited"},silver:{status:"available",limit:"Unlimited"},"Silver - Copy Folders":{status:"available",limit:"Unlimited"},gold:{status:"available",limit:"Unlimited"}}},{name:"Chrome Ext. Address Bar Search",limitations:[{name:"Coming soon",tiers:{bronze:!0,silver:!0,gold:!0,"Bronze Single Feature (Copy Folders)":!0,"Silver - Copy Folders":!0}}],tiers:{bronze:{status:"available",limit:"Coming soon"},"Bronze Single Feature (Copy Folders)":{status:"available",limit:"Coming soon"},silver:{status:"available",limit:"Coming soon"},"Silver - Copy Folders":{status:"available",limit:"Coming soon"},gold:{status:"available",limit:"Coming soon"}}},{name:"Chrome Ext. Folder Copying",limitations:[{name:"Limited",tiers:{bronze:!1,silver:!1,gold:!1,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}},{name:"Unlimited",tiers:{bronze:!1,silver:!0,gold:!0,"Bronze Single Feature (Copy Folders)":!0,"Silver - Copy Folders":!0}}],tiers:{bronze:{status:"notAvailable",limit:"Unlimited"},"Bronze Single Feature (Copy Folders)":{status:"notAvailable",limit:"Unlimited"},silver:{status:"available",limit:"Unlimited"},"Silver - Copy Folders":{status:"available",limit:"Unlimited"},gold:{status:"available",limit:"Unlimited"}}},{name:"Chrome Ext. Permission Management",limitations:[{name:"Unlimited files/folders",tiers:{bronze:!1,silver:!0,gold:!0,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}}],tiers:{bronze:{status:"notAvailable",limit:"Unlimited"},"Bronze Single Feature (Copy Folders)":{status:"notAvailable",limit:"Unlimited"},silver:{status:"available",limit:"Unlimited"},"Silver - Copy Folders":{status:"notAvailable",limit:"Unlimited"},gold:{status:"available",limit:"Unlimited"}}},{name:"Google Chat Support",limitations:[{name:"Basic support",tiers:{bronze:!0,silver:!1,gold:!1,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}},{name:"Priority support",tiers:{bronze:!1,silver:!0,gold:!1,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}},{name:"Premium support",tiers:{bronze:!1,silver:!1,gold:!0,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}}],tiers:{bronze:{status:"available",limit:"Basic"},"Bronze Single Feature (Copy Folders)":{status:"notAvailable"},silver:{status:"available",limit:"Priority"},"Silver - Copy Folders":{status:"notAvailable"},gold:{status:"available",limit:"Premium"}}},{name:"Early Features Access",limitations:[{name:"Early Access",tiers:{bronze:!1,silver:!1,gold:!0,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}}],tiers:{bronze:{status:"notAvailable"},silver:{status:"notAvailable"},"Bronze Single Feature (Copy Folders)":{status:"notAvailable"},"Silver - Copy Folders":{status:"notAvailable"},gold:{status:"available"}}},{name:"AI Features",limitations:[{name:"Coming Soon",tiers:{bronze:!1,silver:!1,gold:!0,"Bronze Single Feature (Copy Folders)":!1,"Silver - Copy Folders":!1}}],tiers:{bronze:{status:"notAvailable"},"Bronze Single Feature (Copy Folders)":{status:"notAvailable"},silver:{status:"notAvailable"},"Silver - Copy Folders":{status:"notAvailable"},gold:{status:"available",limit:"COMING SOON"}}}];b.BRONZE_PLAN_EMOJI,b.SILVER_PLAN_EMOJI,b.GOLD_PLAN_EMOJI;var j=e.i(901760),N=e.i(408913),E=e.i(346944),A=e.i(473665),T=e.i(213419),k=e.i(87299),_=e.i(431908);let P=({className:e})=>
5(0,t.jsx)("div",{className:(0,c.mergeTailwindClasses)("mx-auto w-full max-w-md overflow-hidden rounded-xl border border-amber-200/80 bg-gradient-to-br from-amber-50/90 to-yellow-50/70 px-4 py-3.5 shadow-[0_8px_30px_rgba(251,191,36,0.15)] sm:px-5 sm:py-4",e),role:"status","aria-live":"polite",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2.5 sm:flex-row sm:gap-3",children:[(0,t.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-1.5 rounded-full bg-gradient-to-r from-amber-500 to-yellow-500 px-3 py-1.5 text-[11px] font-bold uppercase tracking-[0.14em] text-white shadow-sm",children:[(0,t.jsx)(A.MdDiscount,{className:"size-4 shrink-0","aria-hidden":!0}),"Coming soon"]}),(0,t.jsxs)("p",{className:"text-center text-sm leading-snug text-slate-800 sm:text-left",children:[(0,t.jsx)("span",{className:"font-semibold text-amber-700",children:"Gold PRO"}),(0,t.jsxs)("span",{className:"text-slate-600",children:[" ","is in development. Join the waitlist to get notified at launch and receive early access updates."]})]})]})}),O=({discount:e,Icon:r})=>{let{name:n,percentage:o,earlyAdopterSpotsLeft:i,earlyAdopterTotalSpots:a}=e,s=null,l=(0,k.useUserModalStore)(e=>e.setState);return("earlyStage"===n&&(s=(0,t.jsx)("section",{className:"w-full flex items-center justify-center",children:(0,t.jsxs)("h1",{onClick:function(){l({discountNotifierModal:{isDisplayed:!0,earlyAdopterSpotsLeft:i,percentSaved:100*o,earlyAdopterSpotsMax:a}})},className:"sm:mt-2 md:mt-0 text-center font-bold hover:underline cursor-pointer flex flex-col",children:[(0,t.jsx)("span",{children:"Early Adopter Coupon APPLIED"}),(0,t.jsxs)("span",{children:[100*o,"% off ",(0,t.jsx)("em",{children:"FOR LIFE"})]})]})})),s)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"sm:w-full flex items-center justify-center sm:mb-1",children:r??(0,t.jsx)(A.MdDiscount,{className:"text-[#FFD700] md:me-2 h-[37px] w-[37px] sm:h-[48px] sm:w-[48px]"})}),s]}):null},R="flex flex-1 items-center justify-center px-2 py-1.5 transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[rgba(209,127,247,0.45)]";function M(e){return"number"==typeof e.quarterlyPrice?e.quarterlyPrice:"number"==typeof e.monthPrice?3*e.monthPrice:void 0}let F="min-h-[235px]";e.s(["MODAL_PRICING_CONTAINER_MIN_HEIGHT",0,F,"default",0,({currentUserPlan:e,discount:o,appVersionName:i,reqHeaders:c,renderPricing:w,setFinishedStepsByIds:S})=>{let k;console.log("reqHeaders, sup there: ",c);let{getIsUserSignedIn:L}=(0,_.useAppCookies)(),I=L(),D=(0,r.getLocalStorageItem)("planToBuy"),B=(0,N.usePaymentCollectionStatusAndDiscountStore)(e=>e.paymentCollectionAndDiscounts),U=(0,j.useUserChosenPlanStore)((0,E.useShallow)(e=>({...e}))),{setState:z}=(0,T.useJoinWaitlistStore)(e=>e),{chosenToView:$,setState:q,onPlanSelection:W,userType:H,userCode:V,payPeriodType:G,payPeriodTypeToView:Y}=U,X=(0,n.useCallback)(()=>
5Y??"annually",[]),[K,J]=(0,n.useState)(X),{chosenToBuy:Z,payPeriodType:Q}=U;Q=D&&"period"in D&&"string"==typeof D.period?D?.period:Q,Z=(()=>{if(D&&"plan"in D&&"string"==typeof D.plan){let e=D.plan.toLowerCase(),t=b.USER_PLANS.find(t=>t.name.toLowerCase()===e);return console.log("targetPlan, sup there: ",t),t}return Z})();let{setState:ee,isPlansDetailModalOpen:et}=(0,N.useAppStore)(e=>e),er=B?.validCoupons,en=(0,n.useMemo)(()=>"monthly"===K?er?.find(e=>e.info.associated_billing_types.includes("monthly")&&e.info.percent_off)?.info.percent_off:"quarterly"===K?er?.find(e=>e.info.associated_billing_types.includes("quarterly")&&e.info.percent_off)?.info.percent_off:er?.find(e=>e.info.associated_billing_types.includes("annually")&&e.info.percent_off)?.info.percent_off,[er,K]),eo=(0,n.useMemo)(()=>er?.find(e=>e.info.associated_billing_types.includes("monthly")&&e.info.percent_off)?.info.percent_off,[er]),ei=(0,n.useMemo)(()=>er?.find(e=>e.info.associated_billing_types.includes("quarterly")&&e.info.percent_off)?.info.percent_off,[er]),ea=(0,n.useMemo)(()=>er?.find(e=>e.info.associated_billing_types.includes("annually")&&e.info.percent_off)?.info.percent_off??(o?.percentage!=null?o.percentage<=1?Math.round(100*o.percentage):Math.round(o.percentage):void 0),[er,o]),es="number"==typeof en?(100-en)/100:"annually"===K?o?.percentage:void 0,el="number"==typeof en&&o?{...o,percentage:en/100}:"annually"===K?o:void 0,ec=$?.planType==="onlyYearly"?"annually":K;if((0,n.useEffect)(()=>{if(et){if($?.planType==="onlyYearly")return void J("annually");J(Y??G??"annually")}},[et,Y,$?.planType,G]),console.log("Plan to Buy: ",Z),console.log("Chosen Plan to View: ",$),Z?.name===$?.name&&($?.planType==="onlyYearly"||Z?.planType),$?.status==="live"&&$?.yearPrice&&$?.monthPrice){let e=es??1,t=M($);k="annually"===ec?`${(0,r.formatUsdPriceRoundedDown)($.yearPrice*e)} per year`:"quarterly"===ec&&"number"==typeof t?`${(0,r.formatUsdPriceRoundedDown)(t*e)} per quarter`:`${(0,r.formatUsdPriceRoundedDown)($.monthPrice*e)} per month`}else if($?.status==="live"&&"onlyYearly"===$.planType&&$?.yearPrice){let e=o?.percentage?$.yearPrice*o.percentage:$.yearPrice;k=`${(0,r.formatUsdPriceRoundedDown)(e)} per year`}console.log("Selected Billing Type: ",K),console.log("currentUserPlan?.planBillingType: ",e?.planBillingType);let eu=e?.planBillingType===K,ed=eu&&e?.plan.name===$?.name,ef=!!($?.name&&Z?.name)&&!!G&&!!K&&G===K&&$.name===Z.name,ep=eu&&ed||ef,eh=(0,t.jsxs)("div",{className:`${F}`,children:["number"==typeof en&&en&&(0,t.jsx)("section",{children:(0,t.jsx)(a,{billingType:ec,planType:$?.planType,plan:{monthPrice:$?.monthPrice,yearPrice:$?.yearPrice,quarterlyPrice:$?M($):void 0,purchaseType:$?.purchaseType},isLineDisplayed:!0})}),(0,t.jsx)("section",{className:"mt-2 mb-2",children:(0,t.jsx)(a,{isLineDisplayed:!1,discountPercentage:es,billingType:ec,planType:$?.planType,plan:{monthPrice:$?.monthPrice,yearPrice:$?.yearPrice,quarterlyPrice:$?M($):void 0,purchaseType:$?.purchaseType}})}),!("number"==typeof en&&en)&&(0,t.jsxs)("section",{className:"mt-3 flex w-full min-w-0 items-center gap-3 rounded-xl border border-slate-200/90 bg-slate-50 px-4 py-3.5 sm:gap-3.5 sm:px-5 sm:py-4","aria-label":"No discount available",children:[(0,t.jsx)(A.MdDiscount,{className:"size-6 shrink-0 text-slate-400 sm:size-7","aria-hidden":!0}),(0,t.jsx)("span",{className:"min-w-0 flex-1 text-left text-sm font-semibold leading-snug text-slate-700 sm:text-base",children:"No discount available"}),(0,t.jsx)("span",{className:"shrink-0 text-sm font-semibold text-slate-500 sm:text-base",children:"Full price"})]})]}),em=w&&$?w({plan:$,selectedBillingType:ec,defaultPricing:eh}):eh;console.log("isSelectBtnDisabled, hey there: ",ep);let eg=$?.name?(0,t.jsxs)("span",{children:["Select ",(0,t.jsx)("i",{children:(0,r.getPlanUIName)($?.name)})," (",k,")"]}):(0,t.jsx)(t.Fragment,{children:"Unable to display plan name."});return ef?eg=(0,t.jsx)(t.Fragment,{children:"SELECTED"}):ep&&(eg=(0,t.jsx)(t.Fragment,{children:"YOUR CURRENT PLAN"})),(0,n.useEffect)(()=>{console.log("FEATURES, sup there: ",C)}),(0,n.useEffect)(()=>{$?.planType==="onlyYearly"&&J("annually")},[$?.name,$?.planType]),(0,t.jsxs)(x.default,{onClose:()=>{ee({isPlansDetailModalOpen:!1})},handleOnOpenChange:function(){et&&(ee({isPlansDetailModalOpen:!1}),setTimeout(()=>{q({chosenToView:void 0})},300))},isOpen:et,className:"lg:w-[70vw] lg:max-w-[42rem] lg:rounded-md w-screen max-w-none p-0 block overflow-y-scroll h-screen lg:h-auto max-h-screen lg:max-h-[99vh]",title:(0,t.jsxs)(t.Fragment,{children:[$?.emoji," ",$?.name]}),children:[(0,t.jsx)(y.DialogHeader,{className:"px-6 py-3",children:(0,t.jsx)(v.DialogTitle,{className:"text-5xl font-bold text-start",children:$?.name?`${$?.emoji} ${(0,r.getPlanUIName)($?.name)}`:"ERROR: Please refresh the page"})}),(0,t.jsx)("div",{className:"px-6 py-2 flex sm:flex-row flex-col min-h-[325px]",children:$?.name!=="Gold"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"w-1/2",children:[em,$?.planType==="yearlyAndMonthly"&&(0,t.jsxs)("section",{className:"mb-4 mt-2",children:[(0,t.jsx)("div",{className:"mb-2 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-sm font-bold",children:"Billing type:"})}),(0,t.jsxs)("div",{className:"flex w-full divide-x divide-gray-200/80 overflow-hidden rounded-full border border-gray-200/80 bg-white shadow-[0_8px_28px_rgba(15,23,42,0.08)]",role:"group","aria-label":"Select billing period",children:[(0,t.jsx)("button",{type:"button","aria-pressed":"monthly"===K,onClick:()=>{J("monthly")},className:`${R} ${"monthly"===K?"bg-gradient-to-r from-[rgba(209,127,247,0.22)] to-[rgba(157,214,252,0.32)] text-slate-900":"text-slate-700 hover:bg-gray-50"}`,children:(0,t.jsxs)("span",{className:"whitespace-nowrap text-xs font-semibold",children:["Monthly","number"==typeof eo&&(0,t.jsxs)("span",{className:"ml-1 font-normal opacity-70",children:["-",eo,"%"]})]})}),(0,t.jsx)("button",{type:"button","aria-pressed":"quarterly"===K,onClick:()=>{J("quarterly")},className:`${R} ${"quarterly"===K?"bg-gradient-to-r from-[rgba(209,127,247,0.22)] to-[rgba(157,214,252,0.32)] text-slate-900":"text-slate-700 hover:bg-gray-50"}`,children:(0,t.jsxs)("span",{className:"whitespace-nowrap text-xs font-semibold",children:["Quarterly","number"==typeof ei&&(0,t.jsxs)("span",{className:"ml-1 font-normal opacity-70",children:["-",ei,"%"]})]})}),(0,t.jsx)("button",{type:"button","aria-pressed":"annually"===K,onClick:()=>{J("annually")},className:`${R} ${"annually"===K?"bg-gradient-to-r from-[rgba(209,127,247,0.22)] to-[rgba(157,214,252,0.32)] text-slate-900":"text-slate-700 hover:bg-gray-50"}`,children:(0,t.jsxs)("span",{className:"whitespace-nowrap text-xs font-semibold",children:["Yearly","number"==typeof ea&&(0,t.jsxs)("span",{className:"ml-1 font-normal opacity-70",children:["🔥-",ea,"%"]})]})})]})]})]}),el&&(0,t.jsx)("div",{className:"min-w-[240px] sm:min-w-0 w-[60vw] sm:w-1/2 flex sm:items-center sm:flex-col flex-row",children:(0,t.jsx)(O,{discount:el})})]}):(0,t.jsxs)("div",{className:"flex w-full flex-col gap-4 sm:gap-5",children:[(0,t.jsxs)("div",{className:"text-center sm:text-left",children:[(0,t.jsx)(s.Label,{className:"text-3xl font-bold",children:"Coming Soon!"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:"Gold PRO is on the way. Join the waitlist below to be first in line when it launches."})]}),(0,t.jsx)(P,{})]})}),(0,t.jsx)("div",{className:"max-h-[350px] overflow-y-scroll border-t-2 border-b-2 mt-3 mt-sm-5 sm:mt-0 mx-auto",children:(0,t.jsx)("div",{className:"px-6 mx-auto 
5sm:max-w-xl",children:(0,t.jsxs)(u,{children:[(0,t.jsx)(d,{children:(0,t.jsxs)(p,{children:[(0,t.jsx)(h,{className:"w-1/5",children:"Features"}),(0,t.jsx)(h,{className:"text-center",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1",children:[(0,t.jsx)("span",{children:$?.emoji}),(0,t.jsx)("span",{children:$?.name})]})})]})}),(0,t.jsx)(f,{children:$&&C.map(e=>{let r=e.tiers[$.name]??e.tiers[$.name.toLowerCase()];return r?(0,t.jsxs)(p,{children:[(0,t.jsx)(m,{className:"font-medium py-2 pl-4",children:e.name}),(0,t.jsx)(m,{className:"text-center",children:"available"===r.status?"limit"in r?`✅ ${r.limit}`:"✅":"❌"})]},`${$.name}-${e.name}`):(0,t.jsx)(p,{children:(0,t.jsxs)(m,{colSpan:2,className:"text-center text-red-500",children:['Error: Feature metadata missing for plan "',$.name,'"']})},`${$.name}-${e.name}-error`)})})]})})}),(0,t.jsxs)(y.DialogFooter,{className:"px-6 py-3 flex gap-2 sm:flex-row flex-col justify-center items-center sm:items-start sm:justify-end",children:[$?.name!=="Gold"&&("pre-launch"!==i&&"pre-launch-google-reviewable"!==i||"pre-launch-google-reviewable"===i&&(I||"googleReviewer"===H)||"pre-launch"===i&&"earlyStage"===H&&V)&&$?.status==="live"?(0,t.jsx)(l.Button,{type:"button",disabled:ep,className:`${ep?`cursor-not-allowed ${b.APP_COLOR_GRADIENT}`:""} hover:scale-[110%] py-6 sm:py-5 whitespace-normal transition-all flex max-w-[300px] w-[80vw] sm:w-auto sm:max-w-none`,onClick:function(){if(!$){console.error("Developer error: 'plan' is undefined in handleSelectBtnClick. Please check the plan selection logic."),alert("An error has occurred. Please refresh the page and try again.");return}let e=new URL(window.location.href),t=e.searchParams.has(b.PLAN_NAME_PARAM),n=e.searchParams.has(b.PAY_PERIOD_TYPE_PARAM);t&&e.searchParams.delete(b.PLAN_NAME_PARAM),n&&e.searchParams.delete(b.PAY_PERIOD_TYPE_PARAM),(n||t)&&(console.log("yo there!, bacoin"),window.history.replaceState({},"",e.href)),console.log("Updated url: ",e.href),$.planType,(0,r.setLocalStorageItem)("planToBuy",{plan:$.name.toLowerCase(),period:K}),q({chosenToBuy:$,payPeriodType:K,payPeriodTypeToView:K}),W&&W(K),ee({isPlansDetailModalOpen:!1}),console.log("setFinishedStepsByIds:",S),S&&(console.log("Message from SelectedMembershipModal: setFinishedStepsByIds called after plan selected."),S(e=>{let t=structuredClone(e);return t.add("choosePlan"),t})),setTimeout(()=>{q({chosenToView:void 0})},300)},children:eg}):(0,t.jsx)(l.Button,{type:"button",variant:"default",onClick:function(){if(!$){console.error("Developer error: 'plan' is undefined in handleSelectBtnClick. Please check the plan selection logic."),alert("An error has occurred. Please refresh the page and try again.");return}console.log("appVersionName: ",i),console.log("App is in pre-launch mode. Opening waitlist modal."),z({isOpen:!0,membershipSelected:$.name,willShowCaptcha:!1})},className:"hover:scale-[110%] transition-all flex max-w-[300px] w-[80vw] sm:w-auto sm:max-w-none",children:"Join waitlist"}),(0,t.jsx)(v.DialogClose,{asChild:!0,children:(0,t.jsx)(l.Button,{type:"button",variant:"secondary",className:"max-w-[300px] py-6 sm:py-5 w-[80vw] sm:w-auto sm:max-w-none bg-gray-100/80 border",children:"Close"})})]})]})}],529196)},706746,e=>{"use strict";e.s(["EARLY_ADOPTER_SPOTS_MAX",()=>m,"FIRST_X_USERS_DISCOUNT_MAX",()=>y,"PRICING_SECTION_ID",()=>p,"PricingSection",()=>x],706746);var t=e.i(247167),r=e.i(843476),n=e.i(109782),o=e.i(838909),i=e.i(95187),a=(0,i.createServerReference)("00a507b71be98f99249ece65b01fcda2ca80fe5007",i.callServer,void 0,i.findSourceMapURL,"getTotalUsersAndEarlyStageCoupon"),s=e.i(716765),l=e.i(724187),c=e.i(529196),u=e.i(19351),d=e.i(617310);e.i(650989);var f=e.i(188700);let p="pricing",h="true";if(!h||!["true","false"].includes(h))throw Error("NEXT_PUBLIC_ARE_FIRST_TIME_USER_DISCOUNTS_ACTIVE environment variable is not set correctly in get-internal-nodes-statuses/route.ts");if(!(0,u.default)("25"))throw Error("'NEXT_PUBLIC_EARLY_ADOPTER_USERS_MAX_COUNT' is not set or is falsey.");let m=parseInt("25");
5if(!(0,u.default)("100"))throw Error("'NEXT_PUBLIC_FIRST_X_USERS_MAX_COUNT' is not set or is falsey.");let y=parseInt("100"),x=()=>{let{paymentCollectionStatus:e,normativeTrialPeriodDays:i,specialTrialPeriodDays:u,chromeExtAppStatus:h}=(0,d.getAppPaymentStatusAndTrialPeriodDays)("number"),[,x]=(0,d.getLandingPgVersionNumAndName)(),{data:v,isFetching:b,isError:w,refetch:S}=(0,f.useQuery)([],{refetchOnWindowFocus:!1,queryFn:async()=>{let[t,r,n]=await Promise.allSettled([a()??{},(0,o.getPlanPrices)(["BRONZE_CURRENT_YEARLY","SILVER_CURRENT_MONTHLY","SILVER_CURRENT_YEARLY","SILVER_CURRENT_QUARTERLY"]),(0,d.getNodesStatuses)()]);if("rejected"===t.status||"rejected"===r.status||"rejected"===n.status)throw Error("Failed to get the prices or available coupons from server.");console.log("nodeStatusesWithAvailableCouponsPromiseSettledResult: ",n);let s=r.value,l=t.value,c=n.value?.nodeStatuses?.coupons;if(console.log("Coupons received from getNodesStatuses(): ",c),console.log("Prices from getPlanPrices: ",s),"errMsg"in s||"errType"in s)throw Error("Failed to get the prices.");if(!l)return;let f="number"==typeof l.totalActiveUsers,p={normativeTrialPeriodDays:i,paymentCollectionStatus:e,specialTrialPeriodDays:u,coupons:c,isUserQualifiedForEarlyAdopterDiscount:!!m&&!!f&&l.totalActiveUsers<m,earlyAdopterSpotsMax:m,earlyAdopterPercentageDiscount:l.earlyAdopterCoupon?.percent_off?l.earlyAdopterCoupon?.percent_off:void 0,chromeExtAppStatus:h,isUserQualifiedForFirst100Discount:!!f&&l.totalActiveUsers<y,prices:s};return console.log("paymentCollectionAndDiscountStatusData, sup there meng: ",p),p}});if(!x)throw console.error("App version name is missing. Environment variable was not set."),Error("App version name is missing. Environment variable was not set.");if("pre-launch"===x&&!t.default.env.GOOGLE_RECAPTCHA_SECRET_KEY)throw Error("DEVELOPER ERROR: GOOGLE_RECAPTCHA_SITE_KEY and/or GOOGLE_RECAPTCHA_SECRET_KEY is not set. Please define both environment variables before launching the app in pre-launch mode.");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("section",{id:p,className:"py-24 bg-gray-50",children:(0,r.jsx)(n.PricingSectionClientComp,{appVersionName:x,paymentCollectionAndDiscountStatusData:v,didErrInRetrievingPaymentCollectionAndDiscountStatusData:w,handleOnLoadPlansBtnClick:async()=>{await S()},isFetchingPaymentCollectionAndDiscountStatusData:b})}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.default,{appVersionName:x}),(0,r.jsx)(s.default,{appVersionName:x,earlyAdopterSpotsLeft:v?.earlyAdopterSpotsLeft,earlyAdopterTotalSpots:v?.earlyAdopterSpotsMax,percentage:v?.earlyAdopterPercentageDiscount??void 0,googleReCaptchaSiteKey:"6LcOQfkrAAAAAOCDkaIl33RumrIQLV_ZqQ6wbOR-"}),(0,r.jsx)(l.default,{})]})]})}},13642,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(721552),o=e.i(522016),i=e.i(618566),a=e.i(940141);function s(e){return(0,a.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"},child:[]}]})(e)}function l(e){return(0,a.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"},child:[]}]})(e)}var c=e.i(170319),u=e.i(706746);let d="/standalone-plans";e.s(["default",0,()=>{let e=(0,i.usePathname)();function a(e,t){e.preventDefault();let r=document.querySelector(t);r&&r.scrollIntoView({behavior:"smooth",block:"start"})}function f(t,r,n){let o=e===r;o&&n?a(t,`#${n}`):o&&!n&&(t.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}))}let[p]=((e="year")=>{let[t,n]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let t=new Date;"year"===e&&n(t)},[]),[t,n]})();return(0,t.jsx)("footer",{className:"bg-gray-900 dark:bg-gray-950 text-gray-300 dark:text-gray-400 py-12 sm:py-16 transition-colors",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-x-6 gap-y-10 sm:gap-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-white dark:text-gray-100 font-semibold mb-4",children:"Product"}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"#features",onClick:e=>a(e,"#features"),children:"Features"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:`/#${u.PRICING_SECTION_ID}`,onClick:e=>f(e,"/",u.PRICING_SECTION_ID),children:"PRO Plans"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:d,onClick:e=>f(e,d),children:"Standalone Plans"})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-white dark:text-gray-100 font-semibold mb-4",children:n.APP_NAME}),(0,t.jsx)("ul",{className:"space-y-2",children:(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/about",onClick:e=>{e.preventDefault(),c.toast.info("We're currently in the process of building the 'About' section. Stay tuned!",{position:"bottom-center",autoClose:3e3})},children:"About"})})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-white dark:text-gray-100 font-semibold mb-4",children:"Resources"}),(0,t.jsxs)("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-0 gap-y-2 sm:[grid-template-rows:repeat(3,auto)] sm:grid-flow-col w-fit",children:[(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/blog",children:"Blog"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/#faq",onClick:e=>f(e,"/","faq"),children:"FAQ"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/contact?type=support",children:"Support"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/tutorials-and-guides",children:"Tutorials & Guides"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/whats-new",children:"What's New"})})]})]}),(0,t.jsxs)("div",{className:"md:pl-12 lg:pl-24 xl:pl-34",children:[(0,t.jsx)("h3",{className:"text-white dark:text-gray-100 font-semibold mb-4",children:"Legal"}),(0,t.jsxs)("ul",{className:"space-y-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/privacy",children:"Privacy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:"/terms",children:"Terms"})})]})]})]}),(0,t.jsxs)("div",{className:"mt-10 sm:mt-12 pt-6 sm:pt-8 border-t border-gray-800 dark:border-gray-900 flex flex-col gap-4 md:flex-row md:gap-0 justify-between items-center",children:[(0,t.jsxs)("p",{className:"text-center md:text-left text-sm sm:text-base",children:["© ",p?.getFullYear()," ",n.APP_NAME,". All rights reserved."]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("a",{href:"https://www.linkedin.com/company/drive-i-o/",target:"_blank",rel:"noopener noreferrer","aria-label":"Drive I/O on LinkedIn",title:"LinkedIn",className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-gray-700 bg-gray-900 transition-colors hover:border-[#0A66C2]/70 hover:bg-[#0A66C2]/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#0A66C2] focus-visible:ring-offset-2 focus-visible:ring-offset-gray-900",children:[(0,t.jsx)(s,{size:18,className:"text-[#0A66C2]","aria-hidden":!0}),(0,t.jsx)("span",{className:"sr-only",children:"LinkedIn"})]}),(0,t.jsxs)("a",{href:"https://www.youtube.com/@drive-i-o",target:"_blank",rel:"noopener noreferrer","aria-label":"Drive I/O on YouTube",title:"YouTube",className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-gray-700 bg-gray-900 transition-colors hover:border-[#FF0000]/70 hover:bg-[#FF0000]/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#FF0000] focu
5s-visible:ring-offset-2 focus-visible:ring-offset-gray-900",children:[(0,t.jsx)(l,{size:18,className:"text-[#FF0000]","aria-hidden":!0}),(0,t.jsx)("span",{className:"sr-only",children:"YouTube"})]})]})]})]})})}],13642)},32638,e=>{"use strict";var t=e.i(843476),r=e.i(519455),n=e.i(522016),o=e.i(664659);let i=(0,e.i(475254).default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var a=e.i(37727),s=e.i(721552),l=e.i(408913),c=e.i(618566);let u=function(){let e=(0,l.useAppStore)(e=>e.setState),t=(0,l.useAppStore)(e=>e.isNavMenuOpen),r=(0,c.useRouter)(),n=(0,c.usePathname)();function o(){e({isNavMenuOpen:!t})}return{navigateToSec:function(e,t){if("contact"===e&&t){r.push("/contact"),o();return}if("contact"===e)return void r.push("/contact");if(console.log("Current pathname: ",n),"/contact"===n)return void r.push(`/#${e}`);let i=document.getElementById(e);i?i.scrollIntoView({behavior:"smooth"}):console.log(`Element with id '${e}' not found`)},closeNavMenu:o,router:r}};var d=e.i(271645),f=e.i(431908),p=e.i(975157);let h=new Set(["pre-launch-google-reviewable","pre-launch"]),m=({isUserSignedIn:e,didInitialRenderOccurred:r,willDisplayFinishOnboardingTxt:o})=>(console.log("isUserSignedIn, hey there: ",e),console.log("didInitialRenderOccurred: ",r),!e&&r)?(0,t.jsxs)("p",{className:"mr-1 text-sm text-gray-600 leading-tight whitespace-nowrap",children:["Already have an"," ",(0,t.jsx)(n.default,{href:"/login",className:`font-semibold ${s.APP_COLOR_GRADIENT} bg-clip-text text-transparent underline-offset-2 hover:opacity-90 hover:underline`,children:"account"}),"?"]}):o?(0,t.jsxs)("p",{className:"mr-1 text-sm text-gray-600 leading-tight whitespace-nowrap",children:["Finish"," ",(0,t.jsx)(n.default,{href:"/onboarding",className:`font-semibold ${s.APP_COLOR_GRADIENT} bg-clip-text text-transparent underline-offset-2 hover:opacity-90 hover:underline`,children:"onboarding"}),"!"]}):null;e.s(["SideMenuToggleDisplayBtn",0,({className:e,isNavMenuOpenCustom:r,handleNavMenuDisplayCustomToggle:n})=>{let o=(0,l.useAppStore)(e=>e.isNavMenuOpen),s=(0,l.useAppStore)(e=>e.setState);function c(){n?n():(console.log("yo there!"),s({isNavMenuOpen:!o}))}return"boolean"==typeof r?(0,t.jsx)("button",{onClick:c,className:e,children:r?(0,t.jsx)(a.X,{size:24}):(0,t.jsx)(i,{size:24})}):(0,t.jsx)("button",{onClick:c,className:e,children:o?(0,t.jsx)(a.X,{size:24}):(0,t.jsx)(i,{size:24})})},"default",0,({appVersionName:e,isNavbarDisplayedOnTop:l,canShowNavElements:y=!0})=>{let x=(0,d.useRef)(null),v=(0,d.useRef)(null),[b,w]=(0,d.useState)(!1),[S,C]=(0,d.useState)("closed"),[j,N]=(0,d.useState)(!1),E=(0,d.useRef)(S),A="open"===S||"closing"===S,T="open"===S,{navigateToSec:k,router:_}=u(),{getAppCookies:P,getIsUserSignedIn:O}=(0,f.useAppCookies)(),{isSignedIn:R}=O(),{isUserGuest:M,givenName:F,userId:L,subscriptionId:I}=P(["isUserGuest","givenName","userId","subscriptionId"]);console.log("isUserSignedIn, hey there: ",R);let D=(0,c.usePathname)(),B="/login"===D&&!R,U=R&&!L,z=R?"Account":"Sign up";function $(){let t=document.getElementById("pricing");if(!R&&e&&h.has(e)&&t)return void t.scrollIntoView({behavior:"smooth"});if(R)return void _.push("/profile");if("/account"===D){let e=document.getElementById("account-guest-sign-in");e?.scrollIntoView({behavior:"smooth",block:"start"});return}k("pricing")}(0,d.useEffect)(()=>{w(!1),C("closed")},[D]),(0,d.useEffect)(()=>{let e=E.current;if("open"===S){if("closing"===e){N(!0),E.current=S;return}N(!1);let t=0,r=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>{N(!0)})});return E.current=S,()=>{cancelAnimationFrame(r),0!==t&&cancelAnimationFrame(t)}}"closed"===S&&N(!1),E.current=S},[S]),(0,d.useEffect)(()=>{if(b||A)return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)};function e(e){let t=e.target,r=!!x.current&&x.current.contains(t),n=!!v.current&&v.current.contains(t);r||n||(w(!1),C(e=>"open"===e?"closing":e))}function t(e){"Escape"===e.key&&(w(!1),C(e=>"open"===e?"closing":e))}},[b,A]),!R&&e&&h.has(e)?z="Join waitlist":B&&(z="Sign in");let[q,W]=(0,d.useState)(!1);(0,d.useEffect)(()=>{W(!0)},[]);let H=(0,t.jsxs)(r.Button,{size:"sm",className:"w-[80px] relative bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] hover:opacity-90 transition-opacity overflow-hidden",onClick:$,children:[q?(0,t.jsx)("span",{className:"relative z-10 text-white",children:z}):(0,t.jsxs)("svg",{style:{width:"1.5rem",height:"1.5rem"}
5,className:"text-purle-300 animate-spin",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",children:[(0,t.jsx)("path",{d:"M32 3C35.8083 3 39.5794 3.75011 43.0978 5.20749C46.6163 6.66488 49.8132 8.80101 52.5061 11.4939C55.199 14.1868 57.3351 17.3837 58.7925 20.9022C60.2499 24.4206 61 28.1917 61 32C61 35.8083 60.2499 39.5794 58.7925 43.0978C57.3351 46.6163 55.199 49.8132 52.5061 52.5061C49.8132 55.199 46.6163 57.3351 43.0978 58.7925C39.5794 60.2499 35.8083 61 32 61C28.1917 61 24.4206 60.2499 20.9022 58.7925C17.3837 57.3351 14.1868 55.199 11.4939 52.5061C8.801 49.8132 6.66487 46.6163 5.20749 43.0978C3.7501 39.5794 3 35.8083 3 32C3 28.1917 3.75011 24.4206 5.2075 20.9022C6.66489 17.3837 8.80101 14.1868 11.4939 11.4939C14.1868 8.80099 17.3838 6.66487 20.9022 5.20749C24.4206 3.7501 28.1917 3 32 3L32 3Z",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M32 3C36.5778 3 41.0906 4.08374 45.1692 6.16256C49.2477 8.24138 52.7762 11.2562 55.466 14.9605C58.1558 18.6647 59.9304 22.9531 60.6448 27.4748C61.3591 31.9965 60.9928 36.6232 59.5759 40.9762",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-purple-900"})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/40 to-transparent animate-button-gleam"})]}),V=(0,d.useMemo)(()=>!l||B?s.NAVIGATION_LINKS:s.NAVIGATION_LINKS.filter(e=>"Contact"!==e.text),[B,l]),G="open"===S||"closing"===S;function Y(){C(e=>"open"===e?"closing":e)}return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"container relative mx-auto px-4 h-16 flex items-center justify-between md:justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-8",children:[(0,t.jsx)(n.default,{href:"/",className:"text-2xl font-bold bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text text-transparent hidden sm:block",children:s.APP_NAME}),y&&(0,t.jsx)("div",{className:(0,p.mergeTailwindClasses)("space-x-6",B?"hidden sm:flex":"hidden md:flex"),children:V.map(e=>{let{href:r,text:n}=e;return(0,t.jsx)("span",{onClick:()=>{"/"!==D&&"contact"!==r?_.push(`/#${r}`):"/"!==D?_.push("/contact"):k(r,!1)},className:"cursor-pointer hover:underline text-sm text-gray-600 hover:text-[rgba(209,127,247,1)] transition-colors",children:n},n)})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"hidden lg:flex flex-row items-center gap-2 mr-2",children:[(0,t.jsx)(m,{didInitialRenderOccurred:q,isUserSignedIn:R,willDisplayFinishOnboardingTxt:U}),(0,t.jsxs)("div",{className:"flex items-center gap-x-2 mr-3",children:[H,(0,t.jsxs)("div",{ref:v,className:"relative",children:[(0,t.jsxs)(r.Button,{type:"button",size:"sm",variant:"outline","aria-haspopup":"menu","aria-expanded":T,"aria-label":"Open install options menu",onClick:function(){C(e=>"open"===e?"closing":"open")},className:"border-[rgba(157,214,252,0.8)] bg-[rgba(157,214,252,0.18)] text-[rgba(43,108,176,1)] hover:bg-[rgba(157,214,252,0.3)] hover:border-[rgba(157,214,252,1)] hover:text-[rgba(29,78,216,1)]",children:["Install",(0,t.jsx)(o.ChevronDown,{className:`h-4 w-4 transition-transform ${T?"":"rotate-180"}`,"aria-hidden":!0})]}),G&&(0,t.jsxs)("div",{onTransitionEnd:function(e){e.target!==e.currentTarget||("opacity"===e.propertyName||"transform"===e.propertyName)&&C(e=>"closing"===e?"closed":e)},className:(0,p.mergeTailwindClasses)("absolute right-0 top-[105%] z-[60] mt-2 min-w-[245px] origin-top-right rounded-lg border border-gray-200 bg-white p-1 shadow-lg ease-out will-change-[opacity,transform] motion-reduce:will-change-auto","duration-200 motion-reduce:duration-0","closing"===S?"pointer-events-none -translate-y-1 scale-95 opacity-0 transition":j?"translate-y-0 scale-100 opacity-100 transition":"-translate-y-1 scale-95 opacity-0 motion-reduce:translate-y-0 motion-reduce:scale-100 motion-reduce:opacity-100"),role:"menu",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute -top-[4%] right-4 h-2.5 w-2.5 rotate-45 border-l border-t border-gray-200 bg-white"}),(0,t.jsx)("div",{className:"border-b-2 pt-1 pb-2",children:(0,t.jsx)("h2",{className:"text-gray-700 text-center w-full",children:"Install & copy folders today!"})}),(0,t.jsxs)("div",{className:"gap-y-4 pt-2 pb-1",children:[(0,t.jsx)(n.default,{href:s.CHROME_EXT_WEB_PG_LINK,target:"_blank",rel:"noopener noreferrer",role:"menuitem",className:"flex justify-center items-center rounded-md px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 whitespace-normal text-wordwrap",onClick:Y,children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("img",{src:"https://encrypted-tbn2.gstatic.
5com/favicon-tbn?q=tbn:ANd9GcR_kMwqh47xZQaZ9c7I6Nx3RsMuaBk00FMkFcrxbpZv2A2tZc4gj1cfx9VKD_-2N7whXNoDTtaKoVtwb-gl_Y3sJ_MJoV-3qa5LNuv7_uxpvestQ0xjwk-TPMWu8wWu",alt:"Chrome logo",className:"h-4 w-4 shrink-0 rounded-sm object-cover",loading:"lazy",decoding:"async"}),"Chrome extension"]})}),(0,t.jsx)(n.default,{href:"https://workspace.google.com/marketplace/app/folder_copy_drive_io/66509975577?flow_type=2",target:"_blank",role:"menuitem",className:"text-wordwrap flex justify-center items-center rounded-md px-3 py-2 text-sm gap-2 text-gray-700 hover:bg-gray-50 whitespace-normal",onClick:Y,children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("img",{src:"https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn:ANd9GcRN0je9fIwfT-WDcT_s0eCTIpdrX8S_OZF5cZJZnJACRos18kMJ-_H95xfxzW8V0f8LGsk4CclwRPruWJiQ3epf-VRsUvnW5fU1TdBDrFxSKTgeTJBALpmgYQ",alt:"Google Workspace logo",className:"h-4 w-4 shrink-0 rounded-sm object-cover",loading:"lazy",decoding:"async"}),"Google Workspace add-on"]})})]})]})]})]}),!B&&!R&&(0,t.jsx)(n.default,{href:"/contact?type=support",className:"text-sm text-gray-600 hover:underline hover:text-[rgba(209,127,247,1)] transition-colors",children:"Contact"})]}),(0,t.jsxs)("div",{ref:x,className:"relative lg:hidden",children:[(0,t.jsx)("button",{type:"button","aria-expanded":b,"aria-haspopup":"true","aria-label":"Open account menu",onClick:()=>w(e=>!e),className:"p-2 text-gray-600 hover:text-[rgba(209,127,247,1)] transition-colors",children:b?(0,t.jsx)(a.X,{size:24}):(0,t.jsx)(i,{size:24})}),b&&(0,t.jsxs)("div",{className:"absolute right-0 top-full z-[60] mt-2 w-56 rounded-lg border border-gray-200 bg-white py-2 shadow-lg",role:"menu",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute -top-[6%] right-4 h-2.5 w-2.5 rotate-45 border-l border-t border-gray-200 bg-white"}),(0,t.jsx)("div",{className:"w-full flex justify-center pb-2",children:R?(0,t.jsx)("p",{className:"text-sm text-gray-600",children:F?`Hello, ${F}!`:"Welcome back!"}):(0,t.jsx)("p",{className:"text-sm text-gray-600",children:"Welcome!"})}),(0,t.jsx)("button",{type:"button",role:"menuitem",onClick:()=>{$(),w(!1)},className:"mx-2 mb-1 block w-[calc(100%-1rem)] rounded-md bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] px-3 py-2 text-center text-sm font-medium text-white hover:opacity-90",children:"Account"===z?"View account":z}),!R&&(0,t.jsxs)(n.default,{href:"/login",role:"menuitem",className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 text-center",onClick:()=>w(!1),children:["Already have an"," ",(0,t.jsx)("span",{className:`font-semibold ${s.APP_COLOR_GRADIENT} bg-clip-text text-transparent`,children:"account"}),"?"]}),(0,t.jsxs)("h2",{className:"text-gray-700 text-sm text-center w-full mt-4 border-t-2 pt-2",children:["Install ",(0,t.jsx)("i",{children:s.APP_NAME}),":"]}),(0,t.jsxs)("div",{className:"gap-y-4 pb-1",children:[(0,t.jsx)(n.default,{href:s.CHROME_EXT_WEB_PG_LINK,target:"_blank",rel:"noopener noreferrer",role:"menuitem",className:"flex justify-center items-center rounded-md px-3 py-2 text-sm text-gray-700 hover:bg-gray-50 whitespace-normal text-wordwrap",onClick:Y,children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("img",{src:"https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcR_kMwqh47xZQaZ9c7I6Nx3RsMuaBk00FMkFcrxbpZv2A2tZc4gj1cfx9VKD_-2N7whXNoDTtaKoVtwb-gl_Y3sJ_MJoV-3qa5LNuv7_uxpvestQ0xjwk-TPMWu8wWu",alt:"Chrome logo",className:"h-4 w-4 shrink-0 rounded-sm object-cover",loading:"lazy",decoding:"async"}),"Chrome extension"]})}),(0,t.jsx)(n.default,{href:"https://workspace.google.com/marketplace/app/folder_copy_drive_io/66509975577?flow_type=2",target:"_blank",role:"menuitem",className:"text-wordwrap flex justify-center items-center rounded-md px-3 py-2 text-sm gap-2 text-gray-700 hover:bg-gray-50 whitespace-normal",onClick:Y,children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("img",{src:"https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn:ANd9GcRN0je9fIwfT-WDcT_s0eCTIpdrX8S_OZF5cZJZnJACRos18kMJ-_H95xfxzW8V0f8LGsk4CclwRPruWJiQ3epf-VRsUvnW5fU1TdBDrFxSKTgeTJBALpmgYQ",alt:"Google Worksp
5ace logo",className:"h-4 w-4 shrink-0 rounded-sm object-cover",loading:"lazy",decoding:"async"}),"Google Workspace add-on"]})})]})]})]})]})]})})}],32638)},563522,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default={overlay:function(e){return{position:"fixed",zIndex:1e3,width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.3)",opacity:+!!e,MozTransform:e?"":"translate3d(100%, 0, 0)",MsTransform:e?"":"translate3d(100%, 0, 0)",OTransform:e?"":"translate3d(100%, 0, 0)",WebkitTransform:e?"":"translate3d(100%, 0, 0)",transform:e?"":"translate3d(100%, 0, 0)",transition:e?"opacity 0.3s":"opacity 0.3s, transform 0s 0.3s"}},menuWrap:function(e,t,r){return{position:"fixed",right:r?0:"inherit",zIndex:1100,width:t,height:"100%",MozTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:"all 0.5s"}},menu:function(){return{height:"100%",boxSizing:"border-box",overflow:"auto"}},itemList:function(){return{height:"100%"}},item:function(){return{display:"block"}}},t.exports=r.default},657731,(e,t,r)=>{"use strict";function n(){var e=Array.from(document.getElementsByClassName("bm-item")).shift();e&&e.focus()}function o(){var e=Array.from(document.getElementsByClassName("bm-item")).pop();e&&e.focus()}function i(){var e=document.getElementById("react-burger-cross-btn");e&&e.focus()}function a(e){if(document.activeElement.className.includes("bm-item")){var t=document.activeElement[e];t?t.focus():i()}else"previousElementSibling"===e?o():n()}Object.defineProperty(r,"__esModule",{value:!0}),r.focusOnFirstMenuItem=n,r.focusOnLastMenuItem=o,r.focusOnCrossButton=i,r.focusOnMenuButton=function(){var e=document.getElementById("react-burger-menu-btn");e&&e.focus()},r.focusOnMenuItem=a,r.focusOnNextMenuItem=function(){a("nextElementSibling")},r.focusOnPreviousMenuItem=function(){a("previousElementSibling")}},468706,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e,t,r){for(var n=!0;n;){var o=e,i=t,a=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0===s){var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=i,r=a,n=!0,s=l=void 0;continue}if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}};function a(e){return e&&e.__esModule?e:{default:e}}var s=e.r(271645),l=a(s),c=a(e.r(745009)),u=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");i(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={hover:!1}}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o(t,[{key:"getLineStyle",value:function(e){return n({position:"absolute",height:"20%",left:0,right:0,top:2*e*20+"%",opacity:this.state.hover?.6:1},this.state.hover&&this.props.styles.bmBurgerBarsHover)}},{key:"render",value:function(){var e=this,t=void 0;if(this.props.customIcon){var r={className:("bm-icon "+(this.props.customIcon.props.className||"")).trim(),style:n({width:"100%",height:"100%"},this.props.styles.bmIcon)};t=l.default.cloneElement(this.props.customIcon,r)}else t=l.default.createElement("span",null,[0,1,2].map(function(t){return l.default.createElement("span",{key:t,className:("bm-burger-bars "+e.props.barClassName+" "+(e.state.hover?"bm-burger-bars-hover":"")).trim(),style:n({},e.getLineStyle(t),e.props.styles.bmBurgerBars)})}));return l.default.createElement("div",{className:("bm-burger-button "+this.props.className).trim(),style:n({zIndex:1e3},this.props.styles.bmBurgerButton)},l.default.createElement("button",{type:"button",id:"react-burger-menu
5-btn",onClick:this.props.onClick,onMouseOver:function(){e.setState({hover:!0}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!0})},onMouseOut:function(){e.setState({hover:!1}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!1})},style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},"Open Menu"),t)}}]),t}(s.Component);r.default=u,u.propTypes={barClassName:c.default.string,customIcon:c.default.element,styles:c.default.object},u.defaultProps={barClassName:"",className:"",styles:{}},t.exports=r.default},180462,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e,t,r){for(var n=!0;n;){var o=e,i=t,a=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0===s){var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=i,r=a,n=!0,s=l=void 0;continue}if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}};function a(e){return e&&e.__esModule?e:{default:e}}var s=e.r(271645),l=a(s),c=a(e.r(745009)),u=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");i(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o(t,[{key:"getCrossStyle",value:function(e){return{position:"absolute",width:3,height:14,transform:"before"===e?"rotate(45deg)":"rotate(-45deg)"}}},{key:"render",value:function(){var e,t=this;if(this.props.customIcon){var r={className:("bm-cross "+(this.props.customIcon.props.className||"")).trim(),style:n({width:"100%",height:"100%"},this.props.styles.bmCross)};e=l.default.cloneElement(this.props.customIcon,r)}else e=l.default.createElement("span",{style:{position:"absolute",top:"6px",right:"14px"}},["before","after"].map(function(e,r){return l.default.createElement("span",{key:r,className:("bm-cross "+t.props.crossClassName).trim(),style:n({},t.getCrossStyle(e),t.props.styles.bmCross)})}));return l.default.createElement("div",{className:("bm-cross-button "+this.props.className).trim(),style:n({},{position:"absolute",width:24,height:24,right:8,top:8},this.props.styles.bmCrossButton)},l.default.createElement("button",n({type:"button",id:"react-burger-cross-btn",onClick:this.props.onClick,style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},!this.props.isOpen&&{tabIndex:-1}),"Close Menu"),e)}}]),t}(s.Component);r.default=u,u.propTypes={crossClassName:c.default.string,customIcon:c.default.element,isOpen:c.default.bool,styles:c.default.object},u.defaultProps={crossClassName:"",className:"",styles:{},isOpen:!1},t.exports=r.default},716867,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
5for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function i(e){return e&&e.__esModule?e:{default:e}}var a=i(e.r(271645));i(e.r(174080));var s=i(e.r(745009)),l=i(e.r(563522)),c=e.r(657731),u=i(e.r(468706)),d=i(e.r(180462));r.default=function(e){if(!e)throw Error("No styles supplied");var t="ArrowDown",r="ArrowUp",i=function(i){i=o({},{bodyClassName:"",burgerBarClassName:"",burgerButtonClassName:"",className:"",crossButtonClassName:"",crossClassName:"",disableAutoFocus:!1,disableCloseOnEsc:!1,htmlClassName:"",id:"",itemClassName:"",itemListClassName:"",menuClassName:"",morphShapeClassName:"",noOverlay:!1,noTransition:!1,onStateChange:function(){},outerContainerId:"",overlayClassName:"",pageWrapId:"",styles:{},width:300,onIconHoverChange:function(){},itemListElement:"nav"},i);var s,f,p=n(a.default.useState(!1),2),h=p[0],m=p[1],y=a.default.useRef(),x=a.default.useRef({}),v=(s=i.isOpen,f=a.default.useRef(s),a.default.useEffect(function(){f.current=s}),f.current);function b(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];x.current=e,N(),setTimeout(function(){m(function(t){return void 0!==e.isOpen?e.isOpen:!t})})}function w(){"function"==typeof i.onClose?i.onClose():b()}function S(e,t){var r=i,n=r.width;return e(h,"string"!=typeof n?n+"px":n,r.right,t)}function C(t,r,n){var a="bm"+t.replace(t.charAt(0),t.charAt(0).toUpperCase()),s=l.default[t]?S(l.default[t]):{};return e[t]&&(s=o({},s,S(e[t],r+1))),i.styles[a]&&(s=o({},s,i.styles[a])),n&&(s=o({},s,n)),i.noTransition&&delete s.transition,s}function j(e,t,r){var n=document.getElementById(e);if(!n)return void console.error("Element with ID '"+e+"' not found");var o=S(t);for(var a in o)o.hasOwnProperty(a)&&(n.style[a]=r?o[a]:"");var s=function(e){return e.style["overflow-x"]=r?"hidden":""};i.htmlClassName||s(document.querySelector("html")),i.bodyClassName||s(document.querySelector("body"))}function N(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0],r=function(e,r){return e.classList[t?"add":"remove"](r)};i.htmlClassName&&r(document.querySelector("html"),i.htmlClassName),i.bodyClassName&&r(document.querySelector("body"),i.bodyClassName),e.pageWrap&&i.pageWrapId&&j(i.pageWrapId,e.pageWrap,t),e.outerContainer&&i.outerContainerId&&j(i.outerContainerId,e.outerContainer,t);var n=document.querySelector(".bm-menu-wrap");n&&(t?n.removeAttribute("hidden"):n.setAttribute("hidden",!0))}function E(){y.current&&clearTimeout(y.current)}function A(e){switch((e=e||window.event).key){case"Escape":i.disableCloseOnEsc||(w(),(0,c.focusOnMenuButton)());break;case t:(0,c.focusOnNextMenuItem)();break;case r:(0,c.focusOnPreviousMenuItem)();break;case"Home":(0,c.focusOnFirstMenuItem)();break;case"End":(0,c.focusOnLastMenuItem)()}}function T(e){if((e=e||window.event).target===document.getElementById("react-burger-menu-btn"))switch(e.key){case t:case" ":b();break;case r:b({focusOnLastItem:!0})}}return a.default.useEffect(function(){return i.isOpen&&b({isOpen:!0,noStateChange:!0}),function(){N(!1),E()}},[]),a.default.useEffect(function(){var t,r;void 0!==i.isOpen&&i.isOpen!==h&&i.isOpen!==v?b():e.svg&&(t=document.getElementById("bm-morph-shape"),r=e.svg.lib(t).select("path"),h?e.svg.animate(r):setTimeout(function(){r.attr("d",e.svg.pathInitial)},300))}),a.default.useEffect(function(){var e=x.current,t=e.noStateChange,r=e.focusOnLastItem;t||i.onStateChange({isOpen:h}),i.disableAutoFocus||(h?r?(0,c.focusOnLastMenuItem)():(0,c.focusOnFirstMenuItem)():document.activeElement?document.activeElement.blur():document.body.blur()),E(),y.current=setTimeout(function(){y.current=null,h||N(!1)},500);var n=h?A:T,o=i.customOnKeyDown||n;return window.addEventListener("keydown",o),function(){window.removeEventListener("keydown",o)}},[h]),a.default.createElement("div",null,!i.noOverlay&&a.default.createElement("div",{className:("bm-overlay "+i.overlayClassName).trim(),onClick:function(){!0===i.disableOverlayClick||"function"==typeof i.disableOverlayClick&&i.disableOverlayClick()||w()},style:C("overlay")}),!1!==i.customBurgerIcon&&a.default.createElement("div",{style:C("burgerIcon")},a.default.createElement(u.default,{onClick:function(){"function"==typeof i.onOpen?i.onOpen():b()},styles:i.styles,customIcon:i.customBurgerIcon,className:i.burgerButtonClassName,barClassName:i.burgerBarClassName,onIconStateChange:i.onIconStateChange})),a.default.createElement("div",{id:i.id,className:("bm-menu-wrap "+i.className).trim(),style:C("menuWrap"),"aria-hidden":!h},e.svg&&a.default.createElement("div",{id:"bm-morph-shape",className:("bm-morph-shape "+i.morphShapeClassName).trim(),style:C("morphShape")},a.default.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 100 800",preserveAspectRatio:"none"},a.default.createElement("path",{d:e.svg.pathInitial}))),a.default.createElement("div",{className:("bm-menu "+i.menuClassName).trim(),style:C("menu")},a.default.createElement(i.itemListElement,{className:("bm-item-list "+i.itemListClassName).trim(),style:C("itemList")},a.default.Children.map(i.children,function(e,t){if(e){var r=o({ke
5y:t,className:["bm-item",i.itemClassName,e.props.className].filter(function(e){return!!e}).join(" "),style:C("item",t,e.props.style)},!h&&{tabIndex:-1});return a.default.cloneElement(e,r)}}))),!1!==i.customCrossIcon&&a.default.createElement("div",{style:C("closeButton")},a.default.createElement(d.default,{onClick:w,styles:i.styles,customIcon:i.customCrossIcon,className:i.crossButtonClassName,crossClassName:i.crossClassName,isOpen:h}))))};return i.propTypes={bodyClassName:s.default.string,burgerBarClassName:s.default.string,burgerButtonClassName:s.default.string,className:s.default.string,crossButtonClassName:s.default.string,crossClassName:s.default.string,customBurgerIcon:s.default.oneOfType([s.default.element,s.default.oneOf([!1])]),customCrossIcon:s.default.oneOfType([s.default.element,s.default.oneOf([!1])]),customOnKeyDown:s.default.func,disableAutoFocus:s.default.bool,disableCloseOnEsc:s.default.bool,disableOverlayClick:s.default.oneOfType([s.default.bool,s.default.func]),htmlClassName:s.default.string,id:s.default.string,isOpen:s.default.bool,itemClassName:s.default.string,itemListClassName:s.default.string,itemListElement:s.default.oneOf(["div","nav"]),menuClassName:s.default.string,morphShapeClassName:s.default.string,noOverlay:s.default.bool,noTransition:s.default.bool,onClose:s.default.func,onIconHoverChange:s.default.func,onOpen:s.default.func,onStateChange:s.default.func,outerContainerId:e&&e.outerContainer?s.default.string.isRequired:s.default.string,overlayClassName:s.default.string,pageWrapId:e&&e.pageWrap?s.default.string.isRequired:s.default.string,right:s.default.bool,styles:s.default.object,width:s.default.oneOfType([s.default.number,s.default.string])},i},t.exports=r.default},932655,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({}),t.exports=r.default},244621,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({menuWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",MsTransform:e?"":r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",OTransform:e?"":r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",WebkitTransform:e?"":r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",transform:e?"":r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",transition:e?"transform 0.8s cubic-bezier(0.7, 0, 0.3, 1)":"transform 0.4s cubic-bezier(0.7, 0, 0.3, 1)"}},item:function(e,t,r,n){return{MozTransform:e?"":"translate3d(0, "+500*n+"px, 0)",MsTransform:e?"":"translate3d(0, "+500*n+"px, 0)",OTransform:e?"":"translate3d(0, "+500*n+"px, 0)",WebkitTransform:e?"":"translate3d(0, "+500*n+"px, 0)",transform:e?"":"translate3d(0, "+500*n+"px, 0)",transition:e?"transform 0.8s cubic-bezier(0.7, 0, 0.3, 1)":"transform 0s 0.2s cubic-bezier(0.7, 0, 0.3, 1)"}}}),t.exports=r.default},379053,(e,t,r)=>{var n,o,i,a,s,l,c,u,d,f,p,h,m,y;let x;n="undefined"!=typeof window?window:e.e,a="hasOwnProperty",s=/[\.\/]/,l=/\s*,\s*/,c=function(e,t){return e-t},u={n:{}},d=function(){for(var e=0,t=this.length;e<t;e++)if(void 0!==this[e])return this[e]},f=function(){for(var e=this.length;--e;)if(void 0!==this[e])return this[e]},p=Object.prototype.toString,h=String,m=Array.isArray||function(e){return e instanceof Array||"[object Array]"==p.call(e)},(y=function(e,t){var r,n=i,a=Array.prototype.slice.call(arguments,2),s=y.listeners(e),l=0,u=[],p={},h=[],m=o;h.firstDefined=d,h.lastDefined=f,o=e,i=0;for(var x=0,v=s.length;x<v;x++)"zIndex"in s[x]&&(u.push(s[x].zIndex),s[x].zIndex<0&&(p[s[x].zIndex]=s[x]));for(u.sort(c);u[l]<0;)if(r=p[u[l++]],h.push(r.apply(t,a)),i)return i=n,h;for(x=0;x<v;x++)if("zIndex"in(r=s[x]))if(r.zIndex==u[l]){if(h.push(r.apply(t,a)),i)break;do if((r=p[u[++l]])&&h.push(r.apply(t,a)),i)break;while(r)}else p[r.zIndex]=r;else if(h.push(r.apply(t,a)),i)break;return i=n,o=m,h})._events=u,y.listeners=function(e){var t,r,n,o,i,a,l,c,d=m(e)?e:e.split(s),f=u,p=[f],h=[];for(o=0,i=d.length;o<i;o++){for(a=0,c=[],l=p.length;a<l;a++)for(r=[(f=p[a].n)[d[o]],f["*"]],n=2;n--;)(t=r[n])&&(c.push(t),h=h.concat(t.f||[]));p=c}return h},y.separator=function(e){s=e?new RegExp(e="["+(e=h(e).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]"):/[\.\/]/},y.on=function(e,t){if("function"!=typeof t)return function(){};for(var r=m(e)?m(e[0])?e:[e]:h(e).split(l),n=0,o=r.length;n<o;n++)!function(e){for(var r,n=m(e)?e:h(e).split(s),o=u,i=0,a=n.length;i<a;i++)o=(o=o.n).hasOwnProperty(n[i])&&o[n[i]]||(o[n[i]]={n:{}});for(i=0,o.f=o.f||[],a=o.f.length;i<a;i++)if(o.f[i]==t){r=!0;break}r||o.f.push(t)}(r[n]);return function(e){+e==+e&&(t.zIndex=+e)}}
5,y.f=function(e){var t=[].slice.call(arguments,1);return function(){y.apply(null,[e,null].concat(t).concat([].slice.call(arguments,0)))}},y.stop=function(){i=1},y.nt=function(e){var t=m(o)?o.join("."):o;return e?RegExp("(?:\\.|\\/|^)"+e+"(?:\\.|\\/|$)").test(t):t},y.nts=function(){return m(o)?o:o.split(s)},y.off=y.unbind=function(e,t){if(!e){y._events=u={n:{}};return}var r=m(e)?m(e[0])?e:[e]:h(e).split(l);if(r.length>1){for(var n=0,o=r.length;n<o;n++)y.off(r[n],t);return}r=m(e)?e:h(e).split(s);var i,c,d,n,o,f,p,x=[u],v=[];for(n=0,o=r.length;n<o;n++)for(f=0;f<x.length;f+=d.length-2){if(d=[f,1],i=x[f].n,"*"!=r[n])i[r[n]]&&(d.push(i[r[n]]),v.unshift({n:i,name:r[n]}));else for(c in i)i[a](c)&&(d.push(i[c]),v.unshift({n:i,name:c}));x.splice.apply(x,d)}for(n=0,o=x.length;n<o;n++)for(i=x[n];i.n;){if(t){if(i.f){for(f=0,p=i.f.length;f<p;f++)if(i.f[f]==t){i.f.splice(f,1);break}i.f.length||delete i.f}for(c in i.n)if(i.n[a](c)&&i.n[c].f){var b=i.n[c].f;for(f=0,p=b.length;f<p;f++)if(b[f]==t){b.splice(f,1);break}b.length||delete i.n[c].f}}else for(c in delete i.f,i.n)i.n[a](c)&&i.n[c].f&&delete i.n[c].f;i=i.n}e:for(n=0,o=v.length;n<o;n++){for(c in(i=v[n]).n[i.name].f)continue e;for(c in i.n[i.name].n)continue e;delete i.n[i.name]}},y.once=function(e,t){var r=function(){return y.off(e,r),t.apply(this,arguments)};return y.on(e,r)},y.version="0.5.4",y.toString=function(){return"You are running Eve 0.5.4"},n.eve=y,t.exports?t.exports=y:"function"==typeof define&&define.amd?void 0!==(x=y)&&e.v(x):n.eve=y},401625,(e,t,r)=>{window.eve=e.r(379053);var n,o,i,a,s,l,c,u,d,f,p,h,m,y,x,v,b=(n="undefined"==typeof eve?function(){}:eve,i={},a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16,new Date().getTime()),!0},s=Array.isArray||function(e){return e instanceof Array||"[object Array]"==Object.prototype.toString.call(e)},l=0,c="M"+(+new Date).toString(36),u=function(e){if(null==e)return this.s;var t=this.s-e;this.b+=this.dur*t,this.B+=this.dur*t,this.s=e},d=function(e){if(null==e)return this.spd;this.spd=e},f=function(e){if(null==e)return this.dur;this.s=this.s*e/this.dur,this.dur=e},p=function(){delete i[this.id],this.update(),n("mina.stop."+this.id,this)},h=function(){this.pdif||(delete i[this.id],this.update(),this.pdif=this.get()-this.b)},m=function(){this.pdif&&(this.b=this.get()-this.pdif,delete this.pdif,i[this.id]=this,x())},y=function(){var e;if(s(this.start)){e=[];for(var t=0,r=this.start.length;t<r;t++)e[t]=+this.start[t]+(this.end[t]-this.start[t])*this.easing(this.s)}else e=+this.start+(this.end-this.start)*this.easing(this.s);this.set(e)},x=function(e){if(!e){o||(o=a(x));return}var t=0;for(var r in i)if(i.hasOwnProperty(r)){var s=i[r],l=s.get();t++,s.s=(l-s.b)/(s.dur/s.spd),s.s>=1&&(delete i[r],s.s=1,t--,function(e){setTimeout(function(){n("mina.finish."+e.id,e)})}(s)),s.update()}o=!!t&&a(x)},(v=function(e,t,r,n,o,a,s){var b={id:c+(l++).toString(36),start:e,end:t,b:r,s:0,dur:n-r,spd:1,get:o,set:a,easing:s||v.linear,status:u,speed:d,duration:f,stop:p,pause:h,resume:m,update:y};i[b.id]=b;var w,S=0;for(w in i)if(i.hasOwnProperty(w)&&2==++S)break;return 1==S&&x(),b}).time=Date.now||function(){return+new Date},v.getById=function(e){return i[e]||null},v.linear=function(e){return e},v.easeout=function(e){return Math.pow(e,1.7)},v.easein=function(e){return Math.pow(e,.48)},v.easeinout=function(e){if(1==e)return 1;if(0==e)return 0;var t=.48-e/1.04,r=Math.sqrt(.1734+t*t),n=r-t,o=-r-t,i=Math.pow(Math.abs(n),1/3)*(n<0?-1:1)+Math.pow(Math.abs(o),1/3)*(o<0?-1:1)+.5;return(1-i)*3*i*i+i*i*i},v.backin=function(e){return 1==e?1:e*e*(2.70158*e-1.70158)},v.backout=function(e){return 0==e?0:(e-=1)*e*(2.70158*e+1.70158)+1},v.elastic=function(e){return!!e==e?e:Math.pow(2,-10*e)*Math.sin(2*Math.PI*(e-.075)/.3)+1},v.bounce=function(e){var t;return e<.36363636363636365?t=7.5625*e*e:e<.7272727272727273?(e-=.5454545454545454,t=7.5625*e*e+.75):e<.9090909090909091?(e-=.8181818181818182,t=7.5625*e*e+.9375):(e-=.9545454545454546,t=7.5625*e*e+.984375),t},window.mina=v,v),w=function(e){function t(e,r){if(e){if(e.nodeType)return V(e);if(_(e,"array")&&t.set)return t.set.apply(t,e);if(e instanceof $)return e;if(null==r)try{return e=i.doc.querySelector(String(e)),V(e)}catch(e){return null}}return new H(e=null==e?"100%":e,r=null==r?"100%":r)}t.version="0.5.1",t.toString=function(){return"Snap v"+this.version},t._={};var r,n,o,i={win:e.window,doc:e.window.document};t._.glob=i;var a="hasOwnProperty",s=String,l=parseFloat,c=parseInt,u=Math,d=u.max,f=u.min,p=u.abs,h=(u.pow,u.PI),m=(u.round,Object.prototype.toString),y=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,x=(t._.separator=/[,\s]+/,/[\s]*,[\s]*/),v={hs:1,rg:1},b=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/ig,w=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/ig,S=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/ig,C=0,j="S"+(+new Date).toString(36),N=function(e){return(e&&e.type?e.type:"")+j+(C++).toString(36)},E="http://www.w3.org/1999/xlink",A="http://www.w3.org/2000/svg",T={};function k(e,t){if(t){if("#text"==e&&(e=i.doc.createTextNode(t.text||t["#text"]||"")),"#comment"==e&&(e=i.doc.createComment(t.text||t["#text"]||"")),"string"==typeof e&&(e=k(e)),"string"==typeof t)if(1==e.nodeType)return"xl
5ink:"==t.substring(0,6)?e.getAttributeNS(E,t.substring(6)):"xml:"==t.substring(0,4)?e.getAttributeNS(A,t.substring(4)):e.getAttribute(t);else if("text"==t)return e.nodeValue;else return null;if(1==e.nodeType){for(var r in t)if(t[a](r)){var n=s(t[r]);n?"xlink:"==r.substring(0,6)?e.setAttributeNS(E,r.substring(6),n):"xml:"==r.substring(0,4)?e.setAttributeNS(A,r.substring(4),n):e.setAttribute(r,n):e.removeAttribute(r)}}else"text"in t&&(e.nodeValue=t.text)}else e=i.doc.createElementNS(A,e);return e}function _(e,t){return"finite"==(t=s.prototype.toLowerCase.call(t))?isFinite(e):!!("array"==t&&(e instanceof Array||Array.isArray&&Array.isArray(e)))||"null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||m.call(e).slice(8,-1).toLowerCase()==t}function P(e,t,r){function n(){var o=Array.prototype.slice.call(arguments,0),i=o.join("␀"),s=n.cache=n.cache||{},l=n.count=n.count||[];return s[a](i)?!function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return e.push(e.splice(r,1)[0])}(l,i):(l.length>=1e3&&delete s[l.shift()],l.push(i),s[i]=e.apply(t,o)),r?r(s[i]):s[i]}return n}function O(e){return e%360*h/180}t.url=function(e){return"url('#"+e+"')"},t._.$=k,t._.id=N,r=/\{([^\}]+)\}/g,n=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,o=function(e,t,r){var o=r;return t.replace(n,function(e,t,r,n,i){t=t||n,o&&(t in o&&(o=o[t]),"function"==typeof o&&i&&(o=o()))}),o=(null==o||o==r?e:o)+""},t.format=function(e,t){return s(e).replace(r,function(e,r){return o(e,r,t)})},t._.clone=function e(t){if("function"==typeof t||Object(t)!==t)return t;var r=new t.constructor;for(var n in t)t[a](n)&&(r[n]=e(t[n]));return r},t._.cacher=P,t.rad=O,t.deg=function(e){return 180*e/h%360},t.sin=function(e){return u.sin(t.rad(e))},t.tan=function(e){return u.tan(t.rad(e))},t.cos=function(e){return u.cos(t.rad(e))},t.asin=function(e){return t.deg(u.asin(e))},t.acos=function(e){return t.deg(u.acos(e))},t.atan=function(e){return t.deg(u.atan(e))},t.atan2=function(e){return t.deg(u.atan2(e))},t.angle=function e(t,r,n,o,i,a){if(null!=i)return e(t,r,i,a)-e(n,o,i,a);var s=t-n,l=r-o;return s||l?(180+180*u.atan2(-l,-s)/h+360)%360:0},t.len=function(e,r,n,o){return Math.sqrt(t.len2(e,r,n,o))},t.len2=function(e,t,r,n){return(e-r)*(e-r)+(t-n)*(t-n)},t.closestPoint=function(e,t,r){function n(e){var n=e.x-t,o=e.y-r;return n*n+o*o}for(var o,i,a,s,l,c,u,d,f,p,h=e.node,m=h.getTotalLength(),y=m/h.pathSegList.numberOfItems*.125,x=1/0,v=0;v<=m;v+=y)(p=n(f=h.getPointAtLength(v)))<x&&(u=f,d=v,x=p);for(y*=.5;y>.5;)(a=d-y)>=0&&(l=n(o=h.getPointAtLength(a)))<x?(u=o,d=a,x=l):(s=d+y)<=m&&(c=n(i=h.getPointAtLength(s)))<x?(u=i,d=s,x=c):y*=.5;return{x:u.x,y:u.y,length:d,distance:Math.sqrt(x)}},t.is=_,t.snapTo=function(e,t,r){if(r=_(r,"finite")?r:10,_(e,"array")){for(var n=e.length;n--;)if(p(e[n]-t)<=r)return e[n]}else{var o=t%(e*=1);if(o<r)return t-o;if(o>e-r)return t-o+e}return t},t.getRGB=P(function(e){if(!e||(e=s(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:L};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:L};if(v[a](e.toLowerCase().substring(0,2))||"#"==e.charAt()||(e=R(e)),!e)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:L};var r,n,o,i,p,h,m=e.match(y);return m?(m[2]&&(o=c(m[2].substring(5),16),n=c(m[2].substring(3,5),16),r=c(m[2].substring(1,3),16)),m[3]&&(o=c((p=m[3].charAt(3))+p,16),n=c((p=m[3].charAt(2))+p,16),r=c((p=m[3].charAt(1))+p,16)),m[4]&&(r=l((h=m[4].split(x))[0]),"%"==h[0].slice(-1)&&(r*=2.55),n=l(h[1]),"%"==h[1].slice(-1)&&(n*=2.55),o=l(h[2]),"%"==h[2].slice(-1)&&(o*=2.55),"rgba"==m[1].toLowerCase().slice(0,4)&&(i=l(h[3])),h[3]&&"%"==h[3].slice(-1)&&(i/=100)),m[5])?(r=l((h=m[5].split(x))[0]),"%"==h[0].slice(-1)&&(r/=100),n=l(h[1]),"%"==h[1].slice(-1)&&(n/=100),o=l(h[2]),"%"==h[2].slice(-1)&&(o/=100),("deg"==h[0].slice(-3)||"°"==h[0].slice(-1))&&(r/=360),"hsba"==m[1].toLowerCase().slice(0,4)&&(i=l(h[3])),h[3]&&"%"==h[3].slice(-1)&&(i/=100),t.hsb2rgb(r,n,o,i)):m[6]?(r=l((h=m[6].split(x))[0]),"%"==h[0].slice(-1)&&(r/=100),n=l(h[1]),"%"==h[1].slice(-1)&&(n/=100),o=l(h[2]),"%"==h[2].slice(-1)&&(o/=100),("deg"==h[0].slice(-3)||"°"==h[0].slice(-1))&&(r/=360),"hsla"==m[1].toLowerCase().slice(0,4)&&(i=l(h[3])),h[3]&&"%"==h[3].slice(-1)&&(i/=100),t.hsl2rgb(r,n,o,i)):(r=f(u.round(r),255),n=f(u.round(n),255),o=f(u.round(o),255),i=f(d(i,0),1),(m={r:r,g:n,b:o,toString:L}).hex="#"+(0x1000000|o|n<<8|r<<16).toString(16).slice(1),m.opacity=_(i,"finite")?i:1,m):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:L}},t),t.hsb=P(function(e,r,n){return t.hsb2rgb(e,r,n).hex}),t.hsl=P(function(e,r,n){return t.hsl2rgb(e,r,n).hex}),t.rgb=P(function(e,t,r,n){if(_(n,"finite")){var o=u.round;return"rgba("+[o(e),o(t),o(r),+n.toFixed(2)]+")"}return"#"+(0x1000000|r|t<<8|e<<16).toString(16).slice(1)});var R=function(e){var t=i.doc.getElementsByTagName("head")[0]||i.doc.getElementsByTagName("svg")[0],r="rgb(255, 0, 0)";return(R=P(function(e){if("red"==e.toLowerCase())return r;t.style.color=r,t.style.color=e;var n=i.doc.defaultView.getComputedStyle(t,"").getPropertyValue("color");return n==r?null:n}))(e)},M=function(){return"hsb("+[this.h,this.s,this.b]+")"},F=function(){return"hsl("+[this.h,this.s,this.l]+")"},L=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},I=function(e,r,n){if(null==r&&_(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(n=e.b,r=e.g,e=e.r),null==r&&_(e,string)){var o=t.getRGB(e);e=o.r,r=o.g,n=o.b}return(e>1||r>1||n>1)&&(e/=255,r/=255,n/=255),[e,r,n]},D=function(e,r,n,o){e=u.round(255*e);var i={r:e,g:r=u.round(255*r),b:n=u.round(255*n),opacity:_(o,"finite")?o:1,hex:t.rgb(e,r,n),toString:L};return _(o,"finite")&&(i.opacity=o),i};t.color=function(e){var r;return _(e,"object")&&"h"in e&&"s"in e&&"b"in e?(r=t.hsb2rgb(e),e.r=r.r,e.g=r.g,e.b=r.b,e.opacity=1,e.hex=r.hex):_(e,"object")&&"h"in e&&"s"in e&&"l"in e?(r=t.hsl2rgb(e),e.r=r.r,e.g=r.g,e.b=r.b,e.opacity=1,e.hex=r.hex):(_(e,"string")&&(e=t.getRGB(e)),_(e,"object")&&"r"in e&&"g"in e&&"b"in e&&!("error"in e)?(r=t.rgb2hsl(e),e.h=r.h,e.s=r.s,e.l=r.l,r=t.rgb2hsb(e),e.v=r.b):((e={hex:"none"}).r=e.g=e.b=e.h=e.s=e.v=e.l=-1,e.error=1)),e.toString=L,e},t.hsb2rgb=function(e,t,r,n){var o,i,a,s,l;return _(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(r=e.b,t=e.s,n=e.o,e=e.h),e*=360,e=e%360/60,s=(l=r*t)*(1-p(e%2-1)),D(o=(i=a=r-l)+[l,s,0,0,s,l][e=~~e],i+=[s,l,l,s,0,0][e],a+=[0,0,s,l,l,s][e],n)},t.hsl2rgb=function(e,t,r,n){var o,i,a,s,l;return _(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(r=e.l,t=e.s,e=e.h),(e>1||t>1||r>1)&&(e/=360,t/=100,r/=100),e*=360,e=e%360/60,s=(l=2*t*(r<.5?r:1-r))*(1-p(e%2-1)),D(o=(i=a=r-l/2)+[l,s,0,0,s,l][e=~~e],i+=[s,l,l,s,0,0][e],a+=[0,0,s,l,l,s][e],n)},t.rgb2hsb=function(e,t,r){var n,o,i;return{h:n=((n=0==(i=(o=d(e=(r=I(e,t,r))[0],t=r[1],r=r[2]))-f(e,t,r))?null:o==e?(t-r)/i:o==t?(r-e)/i+2:(e-t)/i+4)+360)%6*60/360,s:0==i?0:i/o,b:o,toString:M}},t.rgb2hsl=function(e,t,r){var n,o,i,a,s;return n=((n=0==(s=(i=d(e=(r=I(e,t,r))[0],t=r[1],r=r[2]))-(a=f(e,t,r)))?null:i==e?(t-r)/s:i==t?(r-e)/s+2:(e-t)/s+4)+360)%6*60/360,o=(i+a)/2,{h:n,s:0==s?0:o<.5?s/(2*o):s/(2-2*o),l:o,toString:F}},t.parsePathString=function(e){if(!e)return null;var r=t.path(e);if(r.arr)return t.path.clone(r.arr);var n={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},o=[];return _(e,"array")&&_(e[0],"array")&&(o=t.path.clone(e)),o.length||s(e).replace(b,function(e,t,r){var i=[],a=t.toLowerCase();if(r.replace(S,function(e,t){t&&i.push(+t)}),"m"==a&&i.length>2&&(o.push([t].concat(i.splice(0,2))),a="l",t="m"==t?"l":"L"),"o"==a&&1==i.length&&o.push([t,i[0]]),"r"==a)o.push([t].concat(i));else for(;i.length>=n[a]&&(o.push([t].concat(i.splice(0,n[a]))),n[a]););}),o.toString=t.path.toString,r.arr=t.path.clone(o),o};var B=t.parseTransformString=function(e){if(!e)return null;var r=[];return _(e,"array")&&_(e[0],"array")&&(r=t.path.clone(e)),r.length||s(e).replace(w,function(e,t,n){var o=[];t.toLowerCase(),n.replace(S,function(e,t){t&&o.push(+t)}),r.push([t].concat(o))}),r.toString=t.path.toString,r};
5function U(e){return e.node.ownerSVGElement&&V(e.node.ownerSVGElement)||t.select("svg")}function z(e){_(e,"array")||(e=Array.prototype.slice.call(arguments,0));for(var t=0,r=0,n=this.node;this[t];)delete this[t++];for(t=0;t<e.length;t++)"set"==e[t].type?e[t].forEach(function(e){n.appendChild(e.node)}):n.appendChild(e[t].node);var o=n.childNodes;for(t=0;t<o.length;t++)this[r++]=V(o[t]);return this}function $(e){if(e.snap in T)return T[e.snap];try{t=e.ownerSVGElement}catch(e){}this.node=e,t&&(this.paper=new H(t)),this.type=e.tagName||e.nodeName;var t,r=this.id=N(this);if(this.anims={},this._={transform:[]},e.snap=r,T[r]=this,"g"==this.type&&(this.add=z),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var n in H.prototype)H.prototype[a](n)&&(this[n]=H.prototype[n])}function q(e){this.node=e}function W(e,t){var r=k(e);return t.appendChild(r),V(r)}function H(e,t){var r,n,o,s=H.prototype;if(e&&e.tagName&&"svg"==e.tagName.toLowerCase()){if(e.snap in T)return T[e.snap];var l=e.ownerDocument;for(var c in r=new $(e),n=e.getElementsByTagName("desc")[0],o=e.getElementsByTagName("defs")[0],n||((n=k("desc")).appendChild(l.createTextNode("Created with Snap")),r.node.appendChild(n)),o||(o=k("defs"),r.node.appendChild(o)),r.defs=o,s)s[a](c)&&(r[c]=s[c]);r.paper=r.root=r}else k((r=W("svg",i.doc.body)).node,{height:t,version:1.1,width:e,xmlns:A});return r}function V(e){return!e||e instanceof $||e instanceof q?e:e.tagName&&"svg"==e.tagName.toLowerCase()?new H(e):e.tagName&&"object"==e.tagName.toLowerCase()&&"image/svg+xml"==e.type?new H(e.contentDocument.getElementsByTagName("svg")[0]):new $(e)}t._.svgTransform2string=function(e){var t=[];return e=e.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(e,r,n){return n=n.split(/\s*,\s*|\s+/),"rotate"==r&&1==n.length&&n.push(0,0),"scale"==r&&(n.length>2?n=n.slice(0,2):2==n.length&&n.push(0,0),1==n.length&&n.push(n[0],0,0)),"skewX"==r?t.push(["m",1,0,u.tan(O(n[0])),1,0,0]):"skewY"==r?t.push(["m",1,u.tan(O(n[0])),0,1,0,0]):t.push([r.charAt(0)].concat(n)),e}),t},t._.rgTransform=/^[a-z][\s]*-?\.?\d/i,t._.transform2matrix=function(e,r){var n=B(e),o=new t.Matrix;if(n)for(var i=0,a=n.length;i<a;i++){var l,c,u,d,f,p=n[i],h=p.length,m=s(p[0]).toLowerCase(),y=p[0]!=m,x=y?o.invert():0;"t"==m&&2==h?o.translate(p[1],0):"t"==m&&3==h?y?(l=x.x(0,0),c=x.y(0,0),u=x.x(p[1],p[2]),d=x.y(p[1],p[2]),o.translate(u-l,d-c)):o.translate(p[1],p[2]):"r"==m?2==h?(f=f||r,o.rotate(p[1],f.x+f.width/2,f.y+f.height/2)):4==h&&(y?(u=x.x(p[2],p[3]),d=x.y(p[2],p[3]),o.rotate(p[1],u,d)):o.rotate(p[1],p[2],p[3])):"s"==m?2==h||3==h?(f=f||r,o.scale(p[1],p[h-1],f.x+f.width/2,f.y+f.height/2)):4==h?y?(u=x.x(p[2],p[3]),d=x.y(p[2],p[3]),o.scale(p[1],p[1],u,d)):o.scale(p[1],p[1],p[2],p[3]):5==h&&(y?(u=x.x(p[3],p[4]),d=x.y(p[3],p[4]),o.scale(p[1],p[2],u,d)):o.scale(p[1],p[2],p[3],p[4])):"m"==m&&7==h&&o.add(p[1],p[2],p[3],p[4],p[5],p[6])}return o},t._unit2px=function(e,t,r){var n=U(e).node,o={},i=n.querySelector(".svg---mgr");function a(e){if(null==e)return"";if(e==+e)return e;k(i,{width:e});try{return i.getBBox().width}catch(e){return 0}}function s(e){if(null==e)return"";if(e==+e)return e;k(i,{height:e});try{return i.getBBox().height}catch(e){return 0}}function l(n,i){null==t?o[n]=i(e.attr(n)||0):n==t&&(o=i(null==r?e.attr(n)||0:r))}switch(!i&&(i=k("rect"),k(i,{x:-9e9,y:-9e9,width:10,height:10,class:"svg---mgr",fill:"none"}),n.appendChild(i)),e.type){case"rect":l("rx",a),l("ry",s);case"image":l("width",a),l("height",s);case"text":l("x",a),l("y",s);break;case"circle":l("cx",a),l("cy",s),l("r",a);break;case"ellipse":l("cx",a),l("cy",s),l("rx",a),l("ry",s);break;case"line":l("x1",a),l("x2",a),l("y1",s),l("y2",s);break;case"marker":l("refX",a),l("markerWidth",a),l("refY",s),l("markerHeight",s);break;case"radialGradient":l("fx",a),l("fy",s);break;case"tspan":l("dx",a),l("dy",s);break;default:l(t,a)}return n.removeChild(i),o},i.doc.contains||i.doc.compareDocumentPosition,t._.getSomeDefs=function(e){var r=e.node.ownerSVGElement&&V(e.node.ownerSVGElement)||e.node.parentNode&&V(e.node.parentNode)||t.select("svg")||t(0,0),n=r.select("defs"),o=null!=n&&n.node;return o||(o=W("defs",r.node).node),o},t._.getSomeSVG=U,t.select=function(e){return e=s(e).replace(/([^\\]):/g,"$1\\:"),V(i.doc.querySelector(e))},t.selectAll=function(e){for(var r=i.doc.querySelectorAll(e),n=(t.set||Array)(),o=0;o<r.length;o++)n.push(V(r[o]));return n},setInterval(function(){for(var e in T)if(T[a](e)){var t=T[e],r=t.node;("svg"!=t.type&&!r.ownerSVGElement||"svg"==t.type&&(!r.parentNode||"ownerSVGElement"in r.parentNode&&!r.ownerSVGElement))&&delete T[e]}},1e4),$.prototype.attr=function(e,t){var r=this.node;if(!e){if(1!=r.nodeType)return{text:r.nodeValue};for(var n=r.attributes,o={},i=0,s=n.length;i<s;i++)o[n[i].nodeName]=n[i].nodeValue;return o}if(_(e,"string"))if(!(arguments.length>1))return eve("snap.util.getattr."+e,this).firstDefined();else{var l={};l[e]=t,e=l}for(var c in e)e[a](c)&&eve("snap.util.attr."+c,this,e[c]);return this},t.parse=function(e){var t=i.doc.createDocumentFragment(),r=!0,n=i.doc.createElement("div");
5if((e=s(e)).match(/^\s*<\s*svg(?:\s|>)/)||(e="<svg>"+e+"</svg>",r=!1),n.innerHTML=e,e=n.getElementsByTagName("svg")[0])if(r)t=e;else for(;e.firstChild;)t.appendChild(e.firstChild);return new q(t)},t.fragment=function(){for(var e=Array.prototype.slice.call(arguments,0),r=i.doc.createDocumentFragment(),n=0,o=e.length;n<o;n++){var a=e[n];a.node&&a.node.nodeType&&r.appendChild(a.node),a.nodeType&&r.appendChild(a),"string"==typeof a&&r.appendChild(t.parse(a).node)}return new q(r)},t._.make=W,t._.wrap=V,H.prototype.el=function(e,t){var r=W(e,this.node);return t&&r.attr(t),r},$.prototype.children=function(){for(var e=[],r=this.node.childNodes,n=0,o=r.length;n<o;n++)e[n]=t(r[n]);return e},$.prototype.toJSON=function(){var e=[];return!function e(t,r){for(var n=0,o=t.length;n<o;n++){var i={type:t[n].type,attr:t[n].attr()},a=t[n].children();r.push(i),a.length&&e(a,i.childNodes=[])}}([this],e),e[0]},eve.on("snap.util.getattr",function(){var e=eve.nt(),t=(e=e.substring(e.lastIndexOf(".")+1)).replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()});return G[a](t)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(t):k(this.node,e)});var G={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};eve.on("snap.util.attr",function(e){var t=eve.nt(),r={};r[t=t.substring(t.lastIndexOf(".")+1)]=e;var n=t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()}),o=t.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()});G[a](o)?this.node.style[n]=null==e?"":e:k(this.node,r)}),H.prototype,t.ajax=function(e,t,r,n){var o=new XMLHttpRequest,i=N();if(o){if(_(t,"function"))n=r,r=t,t=null;else if(_(t,"object")){var a=[];for(var s in t)t.hasOwnProperty(s)&&a.push(encodeURIComponent(s)+"="+encodeURIComponent(t[s]));t=a.join("&")}return o.open(t?"POST":"GET",e,!0),t&&(o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-type","application/x-www-form-urlencoded")),r&&(eve.once("snap.ajax."+i+".0",r),eve.once("snap.ajax."+i+".200",r),eve.once("snap.ajax."+i+".304",r)),o.onreadystatechange=function(){4==o.readyState&&eve("snap.ajax."+i+"."+o.status,n,o)},4==o.readyState||o.send(t),o}},t.load=function(e,r,n){t.ajax(e,function(e){var o=t.parse(e.responseText);n?r.call(n,o):r(o)})};var Y=function(e){var t=e.getBoundingClientRect(),r=e.ownerDocument,n=r.body,o=r.documentElement,i=o.clientTop||n.clientTop||0,a=o.clientLeft||n.clientLeft||0;return{y:t.top+(g.win.pageYOffset||o.scrollTop||n.scrollTop)-i,x:t.left+(g.win.pageXOffset||o.scrollLeft||n.scrollLeft)-a}};return t.getElementByPoint=function(e,t){this.canvas;var r=i.doc.elementFromPoint(e,t);if(i.win.opera&&"svg"==r.tagName){var n=Y(r),o=r.createSVGRect();o.x=e-n.x,o.y=t-n.y,o.width=o.height=1;var a=r.getIntersectionList(o,null);a.length&&(r=a[a.length-1])}return r?V(r):null},t.plugin=function(e){e(t,$,H,i,q)},i.win.Snap=t,t}(window||e.e);w.plugin(function(e,t,r,n,o){var i=t.prototype,a=e.is,s=String,l=e._unit2px,c=e._.$,u=e._.make,d=e._.getSomeDefs,f=e._.wrap;i.getBBox=function(t){if("tspan"==this.type)return e._.box(this.node.getClientRects().item(0));if(!e.Matrix||!e.path)return this.node.getBBox();
5var r=this,n=new e.Matrix;if(r.removed)return e._.box();for(;"use"==r.type;)if(t||(n=n.add(r.transform().localMatrix.translate(r.attr("x")||0,r.attr("y")||0))),r.original)r=r.original;else{var o=r.attr("xlink:href");r=r.original=r.node.ownerDocument.getElementById(o.substring(o.indexOf("#")+1))}var i=r._,a=e.path.get[r.type]||e.path.get.deflt;try{if(t)return i.bboxwt=a?e.path.getBBox(r.realPath=a(r)):e._.box(r.node.getBBox()),e._.box(i.bboxwt);return r.realPath=a(r),r.matrix=r.transform().localMatrix,i.bbox=e.path.getBBox(e.path.map(r.realPath,n.add(r.matrix))),e._.box(i.bbox)}catch(t){return e._.box()}};var p=function(){return this.string};function h(t,r){if(null==r){var n=!0;if(!(r="linearGradient"==t.type||"radialGradient"==t.type?t.node.getAttribute("gradientTransform"):"pattern"==t.type?t.node.getAttribute("patternTransform"):t.node.getAttribute("transform")))return new e.Matrix;r=e._.svgTransform2string(r)}else a(r=e._.rgTransform.test(r)?s(r).replace(/\.{3}|\u2026/g,t._.transform||""):e._.svgTransform2string(r),"array")&&(r=e.path?e.path.toString.call(r):s(r)),t._.transform=r;var o=e._.transform2matrix(r,t.getBBox(1));if(n)return o;t.matrix=o}i.transform=function(t){var r=this._;
5if(null==t){for(var n,o=this,i=new e.Matrix(this.node.getCTM()),a=h(this),l=[a],u=new e.Matrix,d=a.toTransformString(),f=s(a)==s(this.matrix)?s(r.transform):d;"svg"!=o.type&&(o=o.parent());)l.push(h(o));for(n=l.length;n--;)u.add(l[n]);return{string:f,globalMatrix:i,totalMatrix:u,localMatrix:a,diffMatrix:i.clone().add(a.invert()),global:i.toTransformString(),total:u.toTransformString(),local:d,toString:p}}return t instanceof e.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):h(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?c(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?c(this.node,{patternTransform:this.matrix}):c(this.node,{transform:this.matrix})),this},i.parent=function(){return f(this.node.parentNode)},i.append=i.add=function(e){if(e){if("set"==e.type){var t=this;return e.forEach(function(e){t.add(e)}),this}e=f(e),this.node.appendChild(e.node),e.paper=this.paper}return this},i.appendTo=function(e){return e&&(e=f(e)).append(this),this},i.prepend=function(e){if(e){if("set"==e.type){var t,r=this;return e.forEach(function(e){t?t.after(e):r.prepend(e),t=e}),this}var n=(e=f(e)).parent();this.node.insertBefore(e.node,this.node.firstChild),this.add&&this.add(),e.paper=this.paper,this.parent()&&this.parent().add(),n&&n.add()}return this},i.prependTo=function(e){return(e=f(e)).prepend(this),this},i.before=function(e){if("set"==e.type){var t=this;return e.forEach(function(e){var r=e.parent();t.node.parentNode.insertBefore(e.node,t.node),r&&r.add()}),this.parent().add(),this}var r=(e=f(e)).parent();return this.node.parentNode.insertBefore(e.node,this.node),this.parent()&&this.parent().add(),r&&r.add(),e.paper=this.paper,this},i.after=function(e){var t=(e=f(e)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(e.node,this.node.nextSibling):this.node.parentNode.appendChild(e.node),this.parent()&&this.parent().add(),t&&t.add(),e.paper=this.paper,this},i.insertBefore=function(e){e=f(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},i.insertAfter=function(e){e=f(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node.nextSibling),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},i.remove=function(){var e=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,e&&e.add(),this},i.select=function(e){return f(this.node.querySelector(e))},i.selectAll=function(t){for(var r=this.node.querySelectorAll(t),n=(e.set||Array)(),o=0;o<r.length;o++)n.push(f(r[o]));return n},i.asPX=function(e,t){return null==t&&(t=this.attr(e)),+l(this,e,t)},i.use=function(){var e,t=this.node.id;return t||(t=this.id,c(this.node,{id:t})),c((e="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?u(this.type,this.node.parentNode):u("use",this.node.parentNode)).node,{"xlink:href":"#"+t}),e.original=this,e},i.clone=function(){var t=f(this.node.cloneNode(!0));return c(t.node,"id")&&c(t.node,{id:t.id}),!function(t){var r,n=t.selectAll("*"),o=/^\s*url\(("|'|)(.*)\1\)\s*$/,i=[],a={};function s(t,r){var n=c(t.node,r);(n=(n=n&&n.match(o))&&n[2])&&"#"==n.charAt()&&(n=n.substring(1))&&(a[n]=(a[n]||[]).concat(function(n){var o={};o[r]=e.url(n),c(t.node,o)}))}for(var l=0,u=n.length;l<u;l++){s(r=n[l],"fill"),s(r,"stroke"),s(r,"filter"),s(r,"mask"),s(r,"clip-path"),function(e){var t=c(e.node,"xlink:href");t&&"#"==t.charAt()&&(t=t.substring(1))&&(a[t]=(a[t]||[]).concat(function(t){e.attr("xlink:href","#"+t)}))}(r);var d=c(r.node,"id");d&&(c(r.node,{id:r.id}),i.push({old:d,id:r.id}))}for(l=0,u=i.length;l<u;l++){var f=a[i[l].old];if(f)for(var p=0,h=f.length;p<h;p++)f[p](i[l].id)}}(t),t.insertAfter(this),t},i.toDefs=function(){return d(this).appendChild(this.node),this},i.pattern=i.toPattern=function(e,t,r,n){var o=u("pattern",d(this));return null==e&&(e=this.getBBox()),a(e,"object")&&"x"in e&&(t=e.y,r=e.width,n=e.height,e=e.x),c(o.node,{x:e,y:t,width:r,height:n,patternUnits:"userSpaceOnUse",id:o.id,viewBox:[e,t,r,n].join(" ")}),o.node.appendChild(this.node),o},i.marker=function(e,t,r,n,o,i){var s=u("marker",d(this));return null==e&&(e=this.getBBox()),a(e,"object")&&"x"in e&&(t=e.y,r=e.width,n=e.he
5ight,o=e.refX||e.cx,i=e.refY||e.cy,e=e.x),c(s.node,{viewBox:[e,t,r,n].join(" "),markerWidth:r,markerHeight:n,orient:"auto",refX:o||0,refY:i||0,id:s.id}),s.node.appendChild(this.node),s};var m={};function y(e){return function(){var t=e?"<"+this.type:"",r=this.node.attributes,n=this.node.childNodes;if(e)for(var o=0,i=r.length;o<i;o++)t+=" "+r[o].name+'="'+r[o].value.replace(/"/g,'\\"')+'"';if(n.length){for(e&&(t+=">"),o=0,i=n.length;o<i;o++)3==n[o].nodeType?t+=n[o].nodeValue:1==n[o].nodeType&&(t+=f(n[o]).toString());e&&(t+="</"+this.type+">")}else e&&(t+="/>");return t}}i.data=function(t,r){var n=m[this.id]=m[this.id]||{};if(0==arguments.length)return eve("snap.data.get."+this.id,this,n,null),n;if(1==arguments.length){if(e.is(t,"object")){for(var o in t)t.hasOwnProperty(o)&&this.data(o,t[o]);return this}return eve("snap.data.get."+this.id,this,n[t],t),n[t]}return n[t]=r,eve("snap.data.set."+this.id,this,r,t),this},i.removeData=function(e){return null==e?m[this.id]={}:m[this.id]&&delete m[this.id][e],this},i.outerSVG=i.toString=y(1),i.innerSVG=y(),i.toDataURL=function(){if(window&&window.btoa){var t=this.getBBox();return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+t.x.toFixed(3),y:+t.y.toFixed(3),width:+t.width.toFixed(3),height:+t.height.toFixed(3),contents:this.outerSVG()}))))}},o.prototype.select=i.select,o.prototype.selectAll=i.selectAll}),w.plugin(function(e,t,r,n,o){var i=Object.prototype.toString,a=String,s=Math;function l(e,t,r,n,o,a){if(null==t&&"[object SVGMatrix]"==i.call(e)){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.e=e.e,this.f=e.f;return}null!=e?(this.a=+e,this.b=+t,this.c=+r,this.d=+n,this.e=+o,this.f=+a):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}var c=l.prototype;function u(e){return e[0]*e[0]+e[1]*e[1]}function d(e){var t=s.sqrt(u(e));e[0]&&(e[0]/=t),e[1]&&(e[1]/=t)}c.add=function(e,t,r,n,o,i){if(e&&e instanceof l)return this.add(e.a,e.b,e.c,e.d,e.e,e.f);var a=e*this.a+t*this.c,s=e*this.b+t*this.d;return this.e+=o*this.a+i*this.c,this.f+=o*this.b+i*this.d,this.c=r*this.a+n*this.c,this.d=r*this.b+n*this.d,this.a=a,this.b=s,this},l.prototype.multLeft=function(e,t,r,n,o,i){if(e&&e instanceof l)return this.multLeft(e.a,e.b,e.c,e.d,e.e,e.f);var a=e*this.a+r*this.b,s=e*this.c+r*this.d,c=e*this.e+r*this.f+o;return this.b=t*this.a+n*this.b,this.d=t*this.c+n*this.d,this.f=t*this.e+n*this.f+i,this.a=a,this.c=s,this.e=c,this},c.invert=function(){var e=this.a*this.d-this.b*this.c;return new l(this.d/e,-this.b/e,-this.c/e,this.a/e,(this.c*this.f-this.d*this.e)/e,(this.b*this.e-this.a*this.f)/e)},c.clone=function(){return new l(this.a,this.b,this.c,this.d,this.e,this.f)},c.translate=function(e,t){return this.e+=e*this.a+t*this.c,this.f+=e*this.b+t*this.d,this},c.scale=function(e,t,r,n){return null==t&&(t=e),(r||n)&&this.translate(r,n),this.a*=e,this.b*=e,this.c*=t,this.d*=t,(r||n)&&this.translate(-r,-n),this},c.rotate=function(t,r,n){t=e.rad(t),r=r||0,n=n||0;var o=+s.cos(t).toFixed(9),i=+s.sin(t).toFixed(9);return this.add(o,i,-i,o,r,n),this.add(1,0,0,1,-r,-n)},c.skewX=function(e){return this.skew(e,0)},c.skewY=function(e){return this.skew(0,e)},c.skew=function(t,r){t=t||0,r=r||0,t=e.rad(t),r=e.rad(r);var n=s.tan(t).toFixed(9),o=s.tan(r).toFixed(9);return this.add(1,o,n,1,0,0)},c.x=function(e,t){return e*this.a+t*this.c+this.e},c.y=function(e,t){return e*this.b+t*this.d+this.f},c.get=function(e){return+this[a.fromCharCode(97+e)].toFixed(4)},c.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},c.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},c.determinant=function(){return this.a*this.d-this.b*this.c},c.split=function(){var t={};t.dx=this.e,t.dy=this.f;var r=[[this.a,this.b],[this.c,this.d]];t.scalex=s.sqrt(u(r[0])),d(r[0]),t.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*t.shear,r[1][1]-r[0][1]*t.shear],t.scaley=s.sqrt(u(r[1])),d(r[1]),t.shear/=t.scaley,0>this.determinant()&&(t.scalex=-t.scalex);var n=r[0][1],o=r[1][1];return o<0?(t.rotate=e.deg(s.acos(o)),n<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(s.asin(n)),t.isSimple=!+t.shear.toFixed(9)&&(t.scalex.toFixed(9)==t.scaley.toFixed(9)||!t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},c.toTransformString=function(e){var t=e||this.split();return+t.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[+t.dx.toFixed(4),+t.dy.toFixed(4)]:"")+(t.rotate?"r"+[+t.rotate.toFixed(4),0,0]:"")+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:""))},e.Matrix=l,e.matrix=function(e,t,r,n,o,i){return new l(e,t,r,n,o,i)}}),w.plugin(function(e,t,r,n,o){var i,a=e._.make,s=e._.wrap,l=e.is,c=e._.getSomeDefs,u=/^url\((['"]?)([^)]+)\1\)$/,d=e._.$,f=e.url,p=String,h=e._.separator;function m(r){return function(n){if(eve.stop(),n instanceof o&&1==n.node.childNodes.length&&("radialGradient"==n.node.firstChild.tagName||"linearGradient"==n.node.firstChild.tagName||"pattern"==n.node.firstChild.tagName)&&(n=n.node.firstChild,c(this).appendChild(n),n=s(n)),n instanceof t)if("radialGradient"==n.type||"linearGradient"==n.type||"pattern"==n.type){n.node.id||d(n.node,{id:n.id});var i=f(n.node.id)}else i=n.attr(r);else if((i=e.color(n)).error){var a=e(c(this).ownerSVGElement).gradient(n);a?(a.node.id||d(a.node,{id:a.id}
5),i=f(a.node.id)):i=n}else i=p(i);var l={};l[r]=i,d(this.node,l),this.node.style[r]=""}}e.deurl=function(e){var t=String(e).match(u);return t?t[2]:e},eve.on("snap.util.attr.mask",function(e){if(e instanceof t||e instanceof o){if(eve.stop(),e instanceof o&&1==e.node.childNodes.length&&(e=e.node.firstChild,c(this).appendChild(e),e=s(e)),"mask"==e.type)var r=e;else(r=a("mask",c(this))).node.appendChild(e.node);r.node.id||d(r.node,{id:r.id}),d(this.node,{mask:f(r.id)})}}),i=function(e){if(e instanceof t||e instanceof o){eve.stop();for(var r,n=e.node;n;){if("clipPath"===n.nodeName){r=new t(n);break}if("svg"===n.nodeName){r=void 0;break}n=n.parentNode}!r&&((r=a("clipPath",c(this))).node.appendChild(e.node),r.node.id||d(r.node,{id:r.id})),d(this.node,{"clip-path":f(r.node.id||r.id)})}},eve.on("snap.util.attr.clip",i),eve.on("snap.util.attr.clip-path",i),eve.on("snap.util.attr.clipPath",i),eve.on("snap.util.attr.fill",m("fill")),eve.on("snap.util.attr.stroke",m("stroke"));var y=/^([lr])(?:\(([^)]*)\))?(.*)$/i;function x(e){eve.stop(),e==+e&&(e+="px"),this.node.style.fontSize=e}function v(t){return function(){eve.stop();var r=n.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+t);return"none"==r?r:e(n.doc.getElementById(r.match(u)[1]))}}function b(e){return function(t){eve.stop();var r="marker"+e.charAt(0).toUpperCase()+e.substring(1);if(""==t||!t){this.node.style[r]="none";return}if("marker"==t.type){var n=t.node.id;n||d(t.node,{id:t.id}),this.node.style[r]=f(n);return}}}function w(){return eve.stop(),this.node.style.fontSize}eve.on("snap.util.grad.parse",function(e){var t=(e=p(e)).match(y);if(!t)return null;var r=t[1],n=t[2],o=t[3];1==(n=n.split(/\s*,\s*/).map(function(e){return+e==e?+e:e})).length&&0==n[0]&&(n=[]);var i=(o=(o=o.split("-")).map(function(e){var t={color:(e=e.split(":"))[0]};return e[1]&&(t.offset=parseFloat(e[1])),t})).length,a=0,s=0;function l(e,t){for(var r=(t-a)/(e-s),n=s;n<e;n++)o[n].offset=+(+a+r*(n-s)).toFixed(2);s=e,a=t}i--;for(var c=0;c<i;c++)"offset"in o[c]&&l(c,o[c].offset);return o[i].offset=o[i].offset||100,l(i,o[i].offset),{type:r,params:n,stops:o}}),eve.on("snap.util.attr.d",function(t){eve.stop(),l(t,"array")&&l(t[0],"array")&&(t=e.path.toString.call(t)),(t=p(t)).match(/[ruo]/i)&&(t=e.path.toAbsolute(t)),d(this.node,{d:t})})(-1),eve.on("snap.util.attr.#text",function(e){eve.stop(),e=p(e);for(var t=n.doc.createTextNode(e);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(t)})(-1),eve.on("snap.util.attr.path",function(e){eve.stop(),this.attr({d:e})})(-1),eve.on("snap.util.attr.class",function(e){eve.stop(),this.node.className.baseVal=e})(-1),eve.on("snap.util.attr.viewBox",function(e){var t;t=l(e,"object")&&"x"in e?[e.x,e.y,e.width,e.height].join(" "):l(e,"array")?e.join(" "):e,d(this.node,{viewBox:t}),eve.stop()})(-1),eve.on("snap.util.attr.transform",function(e){this.transform(e),eve.stop()})(-1),eve.on("snap.util.attr.r",function(e){"rect"==this.type&&(eve.stop(),d(this.node,{rx:e,ry:e}))})(-1),eve.on("snap.util.attr.textpath",function(e){if(eve.stop(),"text"==this.type){var r,n,o;if(!e&&this.textPath){for(n=this.textPath;n.node.firstChild;)this.node.appendChild(n.node.firstChild);n.remove(),delete this.textPath;return}if(l(e,"string")){var i=c(this),a=s(i.parentNode).path(e);i.appendChild(a.node),r=a.id,a.attr({id:r})}else(e=s(e))instanceof t&&((r=e.attr("id"))||(r=e.id,e.attr({id:r})));if(r)if(n=this.textPath,o=this.node,n)n.attr({"xlink:href":"#"+r});else{for(n=d("textPath",{"xlink:href":"#"+r});o.firstChild;)n.appendChild(o.firstChild);o.appendChild(n),this.textPath=s(n)}}})(-1),eve.on("snap.util.attr.text",function(e){if("text"==this.type){for(var t=this.node,r=function(e){var t=d("tspan");if(l(e,"array"))for(var o=0;o<e.length;o++)t.appendChild(r(e[o]));else t.appendChild(n.doc.createTextNode(e));return t.normalize&&t.normalize(),t};t.firstChild;)t.removeChild(t.firstChild);for(var o=r(e);o.firstChild;)t.appendChild(o.firstChild)}eve.stop()})(-1),eve.on("snap.util.attr.fontSize",x)(-1),eve.on("snap.util.attr.font-size",x)(-1),eve.on("snap.util.getattr.transform",function(){return eve.stop(),this.transform()})(-1),eve.on("snap.util.getattr.textpath",function(){return eve.stop(),this.textPath})(-1),eve.on("snap.util.getattr.marker-end",v("end"))(-1),eve.on("snap.util.getattr.markerEnd",v("end"))(-1),eve.on("snap.util.getattr.marker-start",v("start"))(-1),eve.on("snap.util.getattr.markerStart",v("start"))(-1),eve.on("snap.util.getattr.marker-mid",v("mid"))(-1),eve.on("snap.util.getattr.markerMid",v("mid"))(-1),eve.on("snap.util.attr.marker-end",b("end"))(-1),eve.on("snap.util.attr.markerEnd",b("end"))(-1),eve.on("snap.util.attr.marker-start",b("start"))(-1),eve.on("snap.util.attr.markerStart",b("start"))(-1),eve.on("snap.util.attr.marker-mid",b("mid"))(-1),eve.on("snap.util.attr.markerMid",b("mid"))(-1),eve.on("snap.util.getattr.r",function(){if("rect"==this.type&&d(this.node,"rx")==d(this.node,"ry"))return eve.stop(),d(this.node,"rx")})(-1),eve.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){eve.stop();var e=function e(t){for(var r=[],n=t.childNodes,o=0,i=n.length;o<i;o++){var a=n[o];3==a.nodeType&&r.push(a.nodeValue),"tspan"==a.tagName&&(1==a.childNodes.length&&3==a.firstChild.nodeType?r.push(a.firstChild.nodeValue):r.push(e(a)))}return r}(this.node);return 1==e.length?e[0]:e}})(-1),eve.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),eve.on("snap.util.getattr.fill",function(t){if(!t){eve.stop();var r=eve("snap.util.getattr.fill",this,!0).firstDefined();return e(e.deurl(r))||r}})(-1),eve.on("snap.util.getattr.stroke",function(t){if(!t){eve.stop();var r=eve("snap.util.getattr.stroke",this,!0).firstDefined();return e(e.deurl(r))||r}})(-1),eve.on("snap.util.getattr.viewBox",function(){eve.stop();var t=d(this.node,"viewBox");return t?(t=t.split(h),e._.box(+t[0],+t[1],+t[2],+t[3])):void 0})(-1),eve.on("snap.util.getattr.points",function(){var e=d(this.node,"points");return(eve.stop(),e)?e.split(h):void 0})(-1),eve.on("snap.util.getattr.path",function(){var e=d(this.node,"d");return eve.stop(),e})(-1),eve.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),eve.on("snap.util.getattr.fontSize",w)(-1),eve.on("snap.util.getattr.font-size",w)(-1)}),w.plugin(function(e,t,r,n,o){var i=/\S+/g,a=String,s=t.prototype;s.addClass=function(e){var t,r,n,o=a(e||"").match(i)||[],s=this.node,l=s.className.baseVal,c=l.match(i)||[];if(o.length){for(t=0;r=o[t++];)~c.indexOf(r)||c.push(r);l!=(n=c.join(" "))&&(s.className.baseVal=n)}return this},s.removeClass=function(e){var t,r,n,o,s=a(e||"").match(i)||[],l=this.node,c=l.className.baseVal,u=c.match(i)||[];if(u.length){for(t=0;n=s[t++];)~(r=u.indexOf(n))&&u.splice(r,1);c!=(o=u.join(" "))&&(l.className.baseVal=o)}return this},s.hasClass=function(e){return!!~(this.node.className.baseVal.match(i)||[]).indexOf(e)},s.toggleClass=function(e,t){if(null!=t)if(t)return this.addClass(e);else return this.removeClass(e);var r,n,o,a,s=(e||"").match(i)||[],l=this.node,c=l.className.baseVal,u=c.match(i)||[];for(r=0;o=s[r++];)~(n=u.indexOf(o))?u.splice(n,1):u.push(o);return c!=(a=u.join(" "))&&(l.className.baseVal=a),this}}),w.plugin(function(e,t,r,n,o){var i={"+":function(e,t){return e+t},"-":function(e,t){return e-t},"/":function(e,t){return e/t},"*":function(e,t){return e*t}},a=String,s=/[a-z]+$/i,l=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;function c(e){return e}eve.on("snap.util.attr",function(e){var t=a(e).match(l);if(t){var r=eve.nt(),n=r.substring(r.lastIndexOf(".")+1),o=this.attr(n),c={};eve.stop();var u=t[3]||"",d=o.match(s),f=i[t[1]];if(d&&d==u?e=f(parseFloat(o),+t[2]):(o=this.asPX(n),e=f(this.asPX(n),this.asPX(n,t[2]+u))),isNaN(o)||isNaN(e))return;c[n]=e,this.attr(c)}})(-10),eve.on("snap.util.equal",function(e,t){var r=a(this.attr(e)||""),n=a(t).match(l);if(n){eve.stop();var o=n[3]||"",u=r.match(s),d=i[n[1]];return u&&u==o?{from:parseFloat(r),to:d(parseFloat(r),+n[2]),f:function(e){return+e.toFixed(3)+u}}:{from:r=this.asPX(e),to:d(r,this.asPX(e,n[2]+o)),f:c}}})(-10)}),w.plugin(function(e,t,r,n,o){var i=r.prototype,a=e.is;i.rect=function(e,t,r,n,o,i){var s;return null==i&&(i=o),a(e,"object")&&"[object Object]"==e?s=e:null!=e&&(s={x:e,y:t,width:r,height:n},null!=o&&(s.rx=o,s.ry=i)),this.el("rect",s)},i.circle=function(e,t,r){var n;return a(e,"object")&&"[object Object]"==e?n=e:null!=e&&(n={cx:e,cy:t,r:r}),this.el("circle",n)};var s=function(){function e(){this.parentNode.removeChild(this)}return function(t,r){var o=n.doc.createElement("img"),i=n.doc.body;o.style.cssText="position:absolute;
5left:-9999em;top:-9999em",o.onload=function(){r.call(o),o.onload=o.onerror=null,i.removeChild(o)},o.onerror=e,i.appendChild(o),o.src=t}}();i.image=function(t,r,n,o,i){var l=this.el("image");if(a(t,"object")&&"src"in t)l.attr(t);else if(null!=t){var c={"xlink:href":t,preserveAspectRatio:"none"};null!=r&&null!=n&&(c.x=r,c.y=n),null!=o&&null!=i?(c.width=o,c.height=i):s(t,function(){e._.$(l.node,{width:this.offsetWidth,height:this.offsetHeight})}),e._.$(l.node,c)}return l},i.ellipse=function(e,t,r,n){var o;return a(e,"object")&&"[object Object]"==e?o=e:null!=e&&(o={cx:e,cy:t,rx:r,ry:n}),this.el("ellipse",o)},i.path=function(e){var t;return a(e,"object")&&!a(e,"array")?t=e:e&&(t={d:e}),this.el("path",t)},i.group=i.g=function(e){var t=this.el("g");return 1==arguments.length&&e&&!e.type?t.attr(e):arguments.length&&t.add(Array.prototype.slice.call(arguments,0)),t},i.svg=function(e,t,r,n,o,i,s,l){var c={};return a(e,"object")&&null==t?c=e:(null!=e&&(c.x=e),null!=t&&(c.y=t),null!=r&&(c.width=r),null!=n&&(c.height=n),null!=o&&null!=i&&null!=s&&null!=l&&(c.viewBox=[o,i,s,l])),this.el("svg",c)},i.mask=function(e){var t=this.el("mask");return 1==arguments.length&&e&&!e.type?t.attr(e):arguments.length&&t.add(Array.prototype.slice.call(arguments,0)),t},i.ptrn=function(e,t,r,n,o,i,s,l){if(a(e,"object"))var c=e;else c={patternUnits:"userSpaceOnUse"},e&&(c.x=e),t&&(c.y=t),null!=r&&(c.width=r),null!=n&&(c.height=n),null!=o&&null!=i&&null!=s&&null!=l?c.viewBox=[o,i,s,l]:c.viewBox=[e||0,t||0,r||0,n||0];return this.el("pattern",c)},i.use=function(r){return null!=r?(r instanceof t&&(r.attr("id")||r.attr({id:e._.id(r)}),r=r.attr("id")),"#"==String(r).charAt()&&(r=r.substring(1)),this.el("use",{"xlink:href":"#"+r})):t.prototype.use.call(this)},i.symbol=function(e,t,r,n){var o={};return null!=e&&null!=t&&null!=r&&null!=n&&(o.viewBox=[e,t,r,n]),this.el("symbol",o)},i.text=function(e,t,r){var n={};return a(e,"object")?n=e:null!=e&&(n={x:e,y:t,text:r||""}),this.el("text",n)},i.line=function(e,t,r,n){var o={};return a(e,"object")?o=e:null!=e&&(o={x1:e,x2:r,y1:t,y2:n}),this.el("line",o)},i.polyline=function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments,0));var t={};return a(e,"object")&&!a(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polyline",t)},i.polygon=function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments,0));var t={};return a(e,"object")&&!a(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polygon",t)},function(){var t=e._.$;function r(){return this.selectAll("stop")}function n(r,n){var o=t("stop"),i={offset:+n+"%"};r=e.color(r),i["stop-color"]=r.hex,r.opacity<1&&(i["stop-opacity"]=r.opacity),t(o,i);for(var a,s=this.stops(),l=0;l<s.length;l++)if(parseFloat(s[l].attr("offset"))>n){this.node.insertBefore(o,s[l].node),a=!0;break}return a||this.node.appendChild(o),this}function o(){if("linearGradient"==this.type){var r=t(this.node,"x1")||0,n=t(this.node,"x2")||1,o=t(this.node,"y1")||0,i=t(this.node,"y2")||0;return e._.box(r,o,math.abs(n-r),math.abs(i-o))}var a=this.node.cx||.5,s=this.node.cy||.5,l=this.node.r||0;return e._.box(a-l,s-l,2*l,2*l)}function a(t){var r=t,n=this.stops();if("string"==typeof t&&(r=eve("snap.util.grad.parse",null,"l(0,0,0,1)"+t).firstDefined().stops),e.is(r,"array")){for(var o=0;o<n.length;o++)if(r[o]){var i=e.color(r[o].color),a={offset:r[o].offset+"%"};a["stop-color"]=i.hex,i.opacity<1&&(a["stop-opacity"]=i.opacity),n[o].attr(a)}else n[o].remove();for(o=n.length;o<r.length;o++)this.addStop(r[o].color,r[o].offset);return this}}function s(i,s,l,c,u){var d=e._.make("linearGradient",i);return d.stops=r,d.addStop=n,d.getBBox=o,d.setStops=a,null!=s&&t(d.node,{x1:s,y1:l,x2:c,y2:u}),d}function l(i,a,s,l,c,u){var d=e._.make("radialGradient",i);return d.stops=r,d.addStop=n,d.getBBox=o,null!=a&&t(d.node,{cx:a,cy:s,r:l}),null!=c&&null!=u&&t(d.node,{fx:c,fy:u}),d}i.gradient=function(e){return function(e,r){var n,o=eve("snap.util.grad.parse",null,r).firstDefined();if(!o)return null;o.params.unshift(e),n="l"==o.type.toLowerCase()?s.apply(0,o.params):l.apply(0,o.params),o.type!=o.type.toLowerCase()&&t(n.node,{gradientUnits:"userSpaceOnUse"});for(var i=o.stops,a=i.length,c=0;c<a;c++){var u=i[c];n.addStop(u.color,u.offset)}return n}(this.defs,e)},i.gradientLinear=function(e,t,r,n){return s(this.defs,e,t,r,n)},i.gradientRadial=function(e,t,r,n,o){return l(this.defs,e,t,r,n,o)},i.toString=function(){var t,r=this.node.ownerDocument,n=r.createDocumentFragment(),o=r.createElement("div"),i=this.node.cloneNode(!0);return n.appendChild(o),o.appendChild(i),e._.$(i,{xmlns:"http://www.w3.org/2000/svg"}),t=o.innerHTML,n.removeChild(n.firstChild),t},i.toDataURL=function(){if(window&&window.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},i.clear=function(){for(var e,t=this.node.firstChild;t;)e=t.nextSibling,"defs"!=t.tagName?t.parentNode.removeChild(t):i.clear.call({node:t}),t=e}}()}),w.plugin(function(e,t,r,n){var o=t.prototype,i=e.is,a=e._.clone,s=/,?([a-z]),?/gi,l=parseFloat,c=Math,u=c.PI,d=c.min,f=c.max,p=c.pow,h=c.abs;function m(e){var t=m.ps=m.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout(function(){for(var r in t)t.hasOwnProperty(r)&&r!=e&&(t[r].sleep--,t[r].sleep||delete t[r])}),t[e]}function y(e,t,r,n){return null==e&&(e=t=r=n=0),null==t&&(t=e.y,r=e.width,n=e.he
5ight,e=e.x),{x:e,y:t,width:r,w:r,height:n,h:n,x2:e+r,y2:t+n,cx:e+r/2,cy:t+n/2,r1:c.min(r,n)/2,r2:c.max(r,n)/2,r0:c.sqrt(r*r+n*n)/2,path:R(e,t,r,n),vb:[e,t,r,n].join(" ")}}function x(){return this.join(",").replace(s,"$1")}function v(e){var t=a(e);return t.toString=x,t}function b(e,t,r,n,o,i,a,s,l){return null==l?_(e,t,r,n,o,i,a,s):N(e,t,r,n,o,i,a,s,function(e,t,r,n,o,i,a,s,l){if(!(l<0||_(e,t,r,n,o,i,a,s)<l)){var c,u=.5,d=.5;for(c=_(e,t,r,n,o,i,a,s,.5);h(c-l)>.01;)u/=2,d+=(c<l?1:-1)*u,c=_(e,t,r,n,o,i,a,s,d);return d}}(e,t,r,n,o,i,a,s,l))}function w(r,n){function o(e){return+(+e).toFixed(3)}return e._.cacher(function(e,i,a){e instanceof t&&(e=e.attr("d")),e=B(e);for(var s,l,c,u,d,f="",p={},h=0,m=0,y=e.length;m<y;m++){if("M"==(c=e[m])[0])s=+c[1],l=+c[2];else{if(h+(u=b(s,l,c[1],c[2],c[3],c[4],c[5],c[6]))>i){if(n&&!p.start){if(f+=["C"+o((d=b(s,l,c[1],c[2],c[3],c[4],c[5],c[6],i-h)).start.x),o(d.start.y),o(d.m.x),o(d.m.y),o(d.x),o(d.y)],a)return f;p.start=f,f=["M"+o(d.x),o(d.y)+"C"+o(d.n.x),o(d.n.y),o(d.end.x),o(d.end.y),o(c[5]),o(c[6])].join(),h+=u,s=+c[5],l=+c[6];continue}if(!r&&!n)return b(s,l,c[1],c[2],c[3],c[4],c[5],c[6],i-h)}h+=u,s=+c[5],l=+c[6]}f+=c.shift()+c}return p.end=f,d=r?h:n?p:N(s,l,c[0],c[1],c[2],c[3],c[4],c[5],1)},null,e._.clone)}var S=w(1),C=w(),j=w(0,1);function N(e,t,r,n,o,i,a,s,l){var d=1-l,f=p(d,3),h=p(d,2),m=l*l,y=m*l,x=f*e+3*h*l*r+3*d*l*l*o+y*a,v=f*t+3*h*l*n+3*d*l*l*i+y*s,b=e+2*l*(r-e)+m*(o-2*r+e),w=t+2*l*(n-t)+m*(i-2*n+t),S=r+2*l*(o-r)+m*(a-2*o+r),C=n+2*l*(i-n)+m*(s-2*i+n),j=d*e+l*r,N=d*t+l*n,E=d*o+l*a,A=d*i+l*s,T=90-180*c.atan2(b-S,w-C)/u;return{x:x,y:v,m:{x:b,y:w},n:{x:S,y:C},start:{x:j,y:N},end:{x:E,y:A},alpha:T}}function E(t,r,n,o,i,a,s,l){e.is(t,"array")||(t=[t,r,n,o,i,a,s,l]);var c=D.apply(null,t);return y(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function A(e,t,r){return t>=e.x&&t<=e.x+e.width&&r>=e.y&&r<=e.y+e.height}function T(e,t){return e=y(e),A(t=y(t),e.x,e.y)||A(t,e.x2,e.y)||A(t,e.x,e.y2)||A(t,e.x2,e.y2)||A(e,t.x,t.y)||A(e,t.x2,t.y)||A(e,t.x,t.y2)||A(e,t.x2,t.y2)||(e.x<t.x2&&e.x>t.x||t.x<e.x2&&t.x>e.x)&&(e.y<t.y2&&e.y>t.y||t.y<e.y2&&t.y>e.y)}function k(e,t,r,n,o){var i=e*(-3*t+9*r-9*n+3*o)+6*t-12*r+6*n;return e*i-3*t+3*r}function _(e,t,r,n,o,i,a,s,l){null==l&&(l=1);for(var u=(l=l>1?1:l<0?0:l)/2,d=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,h=0;h<12;h++){var m=u*d[h]+u,y=k(m,e,r,o,a),x=k(m,t,n,i,s),v=y*y+x*x;p+=f[h]*c.sqrt(v)}return u*p}function P(e,t,r){e=B(e),t=B(t);for(var n,o,i,a,s,l,c,u,p,m,y=r?0:[],x=0,v=e.length;x<v;x++){var b=e[x];if("M"==b[0])n=s=b[1],o=l=b[2];else{"C"==b[0]?(n=(p=[n,o].concat(b.slice(1)))[6],o=p[7]):(p=[n,o,n,o,s,l,s,l],n=s,o=l);for(var w=0,S=t.length;w<S;w++){var C=t[w];if("M"==C[0])i=c=C[1],a=u=C[2];else{"C"==C[0]?(i=(m=[i,a].concat(C.slice(1)))[6],a=m[7]):(m=[i,a,i,a,c,u,c,u],i=c,a=u);var j=function(e,t,r){if(!T(E(e),E(t)))return r?0:[];for(var n=_.apply(0,e),o=_.apply(0,t),i=~~(n/8),a=~~(o/8),s=[],l=[],c={},u=r?0:[],p=0;p<i+1;p++){var m=N.apply(0,e.concat(p/i));s.push({x:m.x,y:m.y,t:p/i})}for(p=0;p<a+1;p++)m=N.apply(0,t.concat(p/a)),l.push({x:m.x,y:m.y,t:p/a});for(p=0;p<i;p++)for(var y=0;y<a;y++){var x=s[p],v=s[p+1],b=l[y],w=l[y+1],S=.001>h(v.x-x.x)?"y":"x",C=.001>h(w.x-b.x)?"y":"x",j=function(e,t,r,n,o,i,a,s){if(!(f(e,r)<d(o,a)||d(e,r)>f(o,a)||f(t,n)<d(i,s)||d(t,n)>f(i,s))){var l=(e*n-t*r)*(o-a)-(e-r)*(o*s-i*a),c=(e*n-t*r)*(i-s)-(t-n)*(o*s-i*a),u=(e-r)*(i-s)-(t-n)*(o-a);if(u){var p=l/u,h=c/u,m=+p.toFixed(2),y=+h.toFixed(2);if(!(m<+d(e,r).toFixed(2)||m>+f(e,r).toFixed(2)||m<+d(o,a).toFixed(2)||m>+f(o,a).toFixed(2)||y<+d(t,n).toFixed(2)||y>+f(t,n).toFixed(2)||y<+d(i,s).toFixed(2)||y>+f(i,s).toFixed(2)))return{x:p,y:h}}}}(x.x,x.y,v.x,v.y,b.x,b.y,w.x,w.y);if(j){if(c[j.x.toFixed(4)]==j.y.toFixed(4))continue;c[j.x.toFixed(4)]=j.y.toFixed(4);var A=x.t+h((j[S]-x[S])/(v[S]-x[S]))*(v.t-x.t),k=b.t+h((j[C]-b[C])/(w[C]-b[C]))*(w.t-b.t);A>=0&&A<=1&&k>=0&&k<=1&&(r?u++:u.push({x:j.x,y:j.y,t1:A,t2:k}))}}return u}(p,m,r);if(r)y+=j;else{for(var A=0,k=j.length;A<k;A++)j[A].segment1=x,j[A].segment2=w,j[A].bez1=p,j[A].bez2=m;y=y.concat(j)}}}}}return y}function O(e){var t=m(e);if(t.bbox)return a(t.bbox);if(!e)return y();e=B(e);for(var r,n=0,o=0,i=[],s=[],l=0,c=e.length;l<c;l++)if("M"==(r=e[l])[0])n=r[1],o=r[2],i.push(n),s.push(o);else{var u=D(n,o,r[1],r[2],r[3],r[4],r[5],r[6]);i=i.concat(u.min.x,u.max.x),s=s.concat(u.min.y,u.max.y),n=r[5],o=r[6]}var p=d.apply(0,i),h=d.apply(0,s),x=y(p,h,f.apply(0,i)-p,f.apply(0,s)-h);return t.bbox=a(x),x}function R(e,t,r,n,o){if(o)return[["M",+e+ +o,t],["l",r-2*o,0],["a",o,o,0,0,1,o,o],["l",0,n-2*o],["a",o,o,0,0,1,-o,o],["l",2*o-r,0],["a",o,o,0,0,1,-o,-o],["l",0,2*o-n],["a",o,o,0,0,1,o,-o],["z"]];var i=[["M",e,t],["l",r,0],["l",0,n],["l",-r,0],["z"]];return i.toString=x,i}function M(e,t,r,n,o){if(null==o&&null==n&&(n=r),e*=1,t*=1,r*=1,n*=1,null!=o)var i=Math.PI/180,a=e+r*Math.cos(-n*i),s=e+r*Math.cos(-o*i),l=t+r*Math.sin(-n*i),c=t+r*Math.sin(-o*i),u=[["M",a,l],["A",r,r,0,+(o-n>180),0,s,c]];else u=[["M",e,t],["m",0,-n],["a",r,n,0,1,1,0,2*n],["a",r,n,0,1,1,0,-2*n],["z"]];return u.toString=x,u}var F=e._unit2px;function L(t){var r=m(t);if(r.abs)return v(r.abs);if(i(t,"array")&&i(t&&t[0],"array")||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var n,o=[],a=0,s=0,l=0,c=0,u=0;"M"==t[0][0]&&(a=+t[0][1],s=+t[0][2],l=a,c=s,u++,o[0]=["M",a,s]);for(var d,f,p=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),h=u,y=t.length;h<y;h++){if(o.push(d=[]),(n=(f=t[h])[0])!=n.toUpperCase())switch(d[0]=n.toUpperCase(),d[0]){case"A":d[1]=f[1],d[2]=f[2],d[3]=f[3],d[4]=f[4],d[5]=f[5],d[6]=+f[6]+a,d[7]=+f[7]+s;break;case"V":d[1]=+f[1]+s;break;case"H":d[1]=+f[1]+a;break;case"R":for(var b=[a,s].concat(f.slice(1)),w=2,S=b.length;w<S;w++)b[w]=+b[w]+a,b[++w]=+b[w]+s;o.pop(),o=o.concat(U(b,p));break;case"O":o.pop(),(b=M(a,s,f[1],f[2])).push(b[0]),o=o.concat(b);break;case"U":o.pop(),d=["U"].concat((o=o.concat(M(a,s,f[1],f[2],f[3])))[o.length-1].slice(-2));break;case"M":l=+f[1]+a,c=+f[2]+s;default:for(w=1,S=f.length;w<S;w++)d[w]=+f[w]+(w%2?a:s)}else if("R"==n)b=[a,s].concat(f.slice(1)),o.pop(),o=o.concat(U(b,p)),d=["R"].concat(f.slice(-2));else if("O"==n)o.pop(),(b=M(a,s,f[1],f[2])).push(b[0]),o=o.concat(b);else if("U"==n)o.pop(),d=["U"].concat((o=o.concat(M(a,s,f[1],f[2],f[3])))[o.length-1].slice(-2));else for(var C=0,j=f.length;C<j;C++)d[C]=f[C];if("O"!=(n=n.toUpperCase()))switch(d[0]){case"Z":a=+l,s=+c;break;case"H":a=d[1];break;case"V":s=d[1];break;case"M":l=d[d.length-2],c=d[d.length-1];default:a=d[d.length-2],s=d[d.length-1]}}return o.toString=x,r.abs=v(o),o}function I(e,t,r,n,o,i){return[1/3*e+2/3*r,1/3*t+2/3*n,1/3*o+2/3*r,1/3*i+2/3*n,o,i]}function D(e,t,r,n,o,i,a,s){for(var l,u,p,m,y,x,v,b,w=[],S=[[],[]],C=0;C<2;++C){if(0==C?(u=6*e-12*r+6*o,l=-3*e+9*r-9*o+3*a,p=3*r-3*e):(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*s,p=3*n-3*t),1e-12>h(l)){if(1e-12>h(u))continue;0<(m=-p/u)&&m<1&&w.push(m);continue}v=u*u-4*p*l,b=c.sqrt(v),!(v<0)&&(0<(y=(-u+b)/(2*l))&&y<1&&w.push(y),0<(x=(-u-b)/(2*l))&&x<1&&w.push(x))}for(var j,N=w.length,E=N;N--;)j=1-(m=w[N]),S[0][N]=j*j*j*e+3*j*j*m*r+3*j*m*m*o+m*m*m*a,S[1][N]=j*j*j*t+3*j*j*m*n+3*j*m*m*i+m*m*m*s;return S[0][E]=e,S[1][E]=t,S[0][E+1]=a,S[1][E+1]=s,S[0].length=S[1].length=E+2,{min:{x:d.apply(0,S[0]),y:d.apply(0,S[1])},max:{x:f.apply(0,S[0]),y:f.apply(0,S[1])}}}function B(t,r){var n=!r&&m(t);if(!r&&n.curve)return v(n.curve);for(var o=L(t),i=r&&L(r),a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},d=function(t,r,n){var o,i,a,s,l,d,f,p,m,y,x,v,b,w,S,C,j,N;if(!t)return["C",r.x,r.y,r.x,r.y,r.x,r.y];switch(t[0]in{T:1,Q:1}||(r.qx=r.qy=null),t[0]){case"M":r.X=t[1],r.Y=t[2];break;
5case"A":t=["C"].concat((function t(r,n,o,i,a,s,l,d,f,p){var m,y=120*u/180,x=u/180*(+a||0),v=[],b=e._.cacher(function(e,t,r){return{x:e*c.cos(r)-t*c.sin(r),y:e*c.sin(r)+t*c.cos(r)}});if(!o||!i)return[r,n,d,f,d,f];if(p)k=p[0],_=p[1],A=p[2],T=p[3];else{r=(m=b(r,n,-x)).x,n=m.y,d=(m=b(d,f,-x)).x,f=m.y,c.cos(u/180*a),c.sin(u/180*a);var w=(r-d)/2,S=(n-f)/2,C=w*w/(o*o)+S*S/(i*i);C>1&&(o*=C=c.sqrt(C),i*=C);var j=o*o,N=i*i,E=(s==l?-1:1)*c.sqrt(h((j*N-j*S*S-N*w*w)/(j*S*S+N*w*w))),A=E*o*S/i+(r+d)/2,T=-(E*i)*w/o+(n+f)/2,k=c.asin(((n-T)/i).toFixed(9)),_=c.asin(((f-T)/i).toFixed(9));k=r<A?u-k:k,_=d<A?u-_:_,k<0&&(k=2*u+k),_<0&&(_=2*u+_),l&&k>_&&(k-=2*u),!l&&_>k&&(_-=2*u)}var P=_-k;if(h(P)>y){var O=_,R=d,M=f;_=k+y*(l&&_>k?1:-1),v=t(d=A+o*c.cos(_),f=T+i*c.sin(_),o,i,a,0,l,R,M,[_,O,A,T])}P=_-k;var F=c.cos(k),L=c.sin(k),I=c.cos(_),D=c.sin(_),B=c.tan(P/4),U=4/3*o*B,z=4/3*i*B,$=[r,n],q=[r+U*L,n-z*F],W=[d+U*D,f-z*I],H=[d,f];if(q[0]=2*$[0]-q[0],q[1]=2*$[1]-q[1],p)return[q,W,H].concat(v);v=[q,W,H].concat(v).join().split(",");for(var V=[],G=0,Y=v.length;G<Y;G++)V[G]=G%2?b(v[G-1],v[G],x).y:b(v[G],v[G+1],x).x;return V}).apply(0,[r.x,r.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(o=2*r.x-r.bx,i=2*r.y-r.by):(o=r.x,i=r.y),t=["C",o,i].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(r.qx=2*r.x-r.qx,r.qy=2*r.y-r.qy):(r.qx=r.x,r.qy=r.y),t=["C"].concat(I(r.x,r.y,r.qx,r.qy,t[1],t[2]));break;case"Q":r.qx=t[1],r.qy=t[2],t=["C"].concat(I(r.x,r.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat((a=r.x,s=r.y,[a,s,l=t[1],d=t[2],l,d]));break;case"H":t=["C"].concat((f=r.x,p=r.y,[f,p,m=t[1],y=r.y,m,y]));break;case"V":t=["C"].concat((x=r.x,v=r.y,[x,v,b=r.x,w=t[1],b,w]));break;case"Z":t=["C"].concat((S=r.x,C=r.y,[S,C,j=r.X,N=r.Y,j,N]))}return t},p=function(e,t){if(e[t].length>7){e[t].shift();for(var r=e[t];r.length;)x[t]="A",i&&(b[t]="A"),e.splice(t++,0,["C"].concat(r.splice(0,6)));e.splice(t,1),j=f(o.length,i&&i.length||0)}},y=function(e,t,r,n,a){e&&t&&"M"==e[a][0]&&"M"!=t[a][0]&&(t.splice(a,0,["M",n.x,n.y]),r.bx=0,r.by=0,r.x=e[a][1],r.y=e[a][2],j=f(o.length,i&&i.length||0))},x=[],b=[],w="",S="",C=0,j=f(o.length,i&&i.length||0);C<j;C++){o[C]&&(w=o[C][0]),"C"!=w&&(x[C]=w,C&&(S=x[C-1])),o[C]=d(o[C],a,S),"A"!=x[C]&&"C"==w&&(x[C]="C"),p(o,C),i&&(i[C]&&(w=i[C][0]),"C"!=w&&(b[C]=w,C&&(S=b[C-1])),i[C]=d(i[C],s,S),"A"!=b[C]&&"C"==w&&(b[C]="C"),p(i,C)),y(o,i,a,s,C),y(i,o,s,a,C);var N=o[C],E=i&&i[C],A=N.length,T=i&&E.length;a.x=N[A-2],a.y=N[A-1],a.bx=l(N[A-4])||a.x,a.by=l(N[A-3])||a.y,s.bx=i&&(l(E[T-4])||s.x),s.by=i&&(l(E[T-3])||s.y),s.x=i&&E[T-2],s.y=i&&E[T-1]}return i||(n.curve=v(o)),i?[o,i]:o}function U(e,t){for(var r=[],n=0,o=e.length;o-2*!t>n;n+=2){var i=[{x:+e[n-2],y:+e[n-1]},{x:+e[n],y:+e[n+1]},{x:+e[n+2],y:+e[n+3]},{x:+e[n+4],y:+e[n+5]}];t?n?o-4==n?i[3]={x:+e[0],y:+e[1]}:o-2==n&&(i[2]={x:+e[0],y:+e[1]},i[3]={x:+e[2],y:+e[3]}):i[0]={x:+e[o-2],y:+e[o-1]}:o-4==n?i[3]=i[2]:n||(i[0]={x:+e[n],y:+e[n+1]}),r.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return r}e.path=m,e.path.getTotalLength=S,e.path.getPointAtLength=C,e.path.getSubpath=function(e,t,r){if(this.getTotalLength(e)-r<1e-6)return j(e,t).end;var n=j(e,r,1);return t?j(n,t).end:n},o.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},o.getPointAtLength=function(e){return C(this.attr("d"),e)},o.getSubpath=function(t,r){return e.path.getSubpath(this.attr("d"),t,r)},e._.box=y,e.path.findDotsAtSegment=N,e.path.bezierBBox=E,e.path.isPointInsideBBox=A,e.closest=function(t,r,n,o){for(var i=100,a=y(t-50,r-50,100,100),s=[],l=n[0].hasOwnProperty("x")?function(e){return{x:n[e].x,y:n[e].y}}:function(e){return{x:n[e],y:o[e]}},c=0;i<=1e6&&!c;){for(var u=0,d=n.length;u<d;u++){var f=l(u);if(A(a,f.x,f.y)){c++,s.push(f);break}}c||(i*=2,a=y(t-i/2,r-i/2,i,i))}if(1e6!=i){var p,h=1/0;for(u=0,d=s.length;u<d;u++){var m=e.len(t,r,s[u].x,s[u].y);h>m&&(h=m,s[u].len=m,p=s[u])}return p}},e.path.isBBoxIntersect=T,e.path.intersection=function(e,t){return P(e,t)},e.path.intersectionNumber=function(e,t){return P(e,t,1)},e.path.isPointInside=function(e,t,r){var n=O(e);return A(n,t,r)&&P(e,[["M",t,r],["H",n.x2+10]],1)%2==1},e.path.getBBox=O,e.path.get={path:function(e){return e.attr("path")},circle:function(e){var t=F(e);return M(t.cx,t.cy,t.r)},ellipse:function(e){var t=F(e);return M(t.cx||0,t.cy||0,t.rx,t.ry)},rect:function(e){var t=F(e);return R(t.x||0,t.y||0,t.width,t.height,t.rx,t.ry)},image:function(e){var t=F(e);return R(t.x||0,t.y||0,t.width,t.height)},line:function(e){return"M"+[e.attr("x1")||0,e.attr("y1")||0,e.attr("x2"),e.attr("y2")]},polyline:function(e){return"M"+e.attr("points")},polygon:function(e){return"M"+e.attr("points")+"z"},deflt:function(e){var t=e.node.getBBox();return R(t.x,t.y,t.width,t.height)}},e.path.toRelative=function(t){var r=m(t),n=String.prototype.toLowerCase;if(r.rel)return v(r.rel);e.is(t,"array")&&e.is(t&&t[0],"array")||(t=e.parsePathString(t));var o=[],i=0,a=0,s=0,l=0,c=0;"M"==t[0][0]&&(i=t[0][1],a=t[0][2],s=i,l=a,c++,o.push(["M",i,a]));for(var u=c,d=t.length;u<d;u++){var f=o[u]=[],p=t[u];
5if(p[0]!=n.call(p[0]))switch(f[0]=n.call(p[0]),f[0]){case"a":f[1]=p[1],f[2]=p[2],f[3]=p[3],f[4]=p[4],f[5]=p[5],f[6]=+(p[6]-i).toFixed(3),f[7]=+(p[7]-a).toFixed(3);break;case"v":f[1]=+(p[1]-a).toFixed(3);break;case"m":s=p[1],l=p[2];default:for(var h=1,y=p.length;h<y;h++)f[h]=+(p[h]-(h%2?i:a)).toFixed(3)}else{f=o[u]=[],"m"==p[0]&&(s=p[1]+i,l=p[2]+a);for(var b=0,w=p.length;b<w;b++)o[u][b]=p[b]}var S=o[u].length;switch(o[u][0]){case"z":i=s,a=l;break;case"h":i+=+o[u][S-1];break;case"v":a+=+o[u][S-1];break;default:i+=+o[u][S-2],a+=+o[u][S-1]}}return o.toString=x,r.rel=v(o),o},e.path.toAbsolute=L,e.path.toCubic=B,e.path.map=function(e,t){var r,n,o,i,a,s,l;if(!t)return e;for(o=0,a=(e=B(e)).length;o<a;o++)for(i=1,s=(l=e[o]).length;i<s;i+=2)r=t.x(l[i],l[i+1]),n=t.y(l[i],l[i+1]),l[i]=r,l[i+1]=n;return e},e.path.toString=x,e.path.clone=v}),w.plugin(function(e,t,r,n){var o=Math.max,i=Math.min,a=function(e){if(this.items=[],this.bindings={},this.length=0,this.type="set",e)for(var t=0,r=e.length;t<r;t++)e[t]&&(this[this.items.length]=this.items[this.items.length]=e[t],this.length++)},s=a.prototype;s.push=function(){for(var e,t,r=0,n=arguments.length;r<n;r++)e=arguments[r],e&&(this[t=this.items.length]=this.items[t]=e,this.length++);return this},s.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},s.forEach=function(e,t){for(var r=0,n=this.items.length;r<n&&!1!==e.call(t,this.items[r],r);r++);return this},s.animate=function(t,r,n,o){"function"!=typeof n||n.length||(o=n,n=b.linear),t instanceof e._.Animation&&(o=t.callback,r=(n=t.easing).dur,t=t.attr);var i=arguments;if(e.is(t,"array")&&e.is(i[i.length-1],"array"))var a=!0;var s,l=function(){s?this.b=s:s=this.b},c=0,u=this,d=o&&function(){++c==u.length&&o.call(this)};return this.forEach(function(e,o){eve.once("snap.animcreated."+e.id,l),a?i[o]&&e.animate.apply(e,i[o]):e.animate(t,r,n,d)})},s.remove=function(){for(;this.length;)this.pop().remove();return this},s.bind=function(e,t,r){var n={};if("function"==typeof t)this.bindings[e]=t;else{var o=r||e;this.bindings[e]=function(e){n[o]=e,t.attr(n)}}return this},s.attr=function(e){var t={};for(var r in e)this.bindings[r]?this.bindings[r](e[r]):t[r]=e[r];for(var n=0,o=this.items.length;n<o;n++)this.items[n].attr(t);return this},s.clear=function(){for(;this.length;)this.pop()},s.splice=function(e,t,r){e=e<0?o(this.length+e,0):e,t=o(0,i(this.length-e,t));var n,s=[],l=[],c=[];for(n=2;n<arguments.length;n++)c.push(arguments[n]);for(n=0;n<t;n++)l.push(this[e+n]);for(;n<this.length-e;n++)s.push(this[e+n]);var u=c.length;for(n=0;n<u+s.length;n++)this.items[e+n]=this[e+n]=n<u?c[n]:s[n-u];for(n=this.items.length=this.length-=t-u;this[n];)delete this[n++];return new a(l)},s.exclude=function(e){for(var t=0,r=this.length;t<r;t++)if(this[t]==e)return this.splice(t,1),!0;return!1},s.insertAfter=function(e){for(var t=this.items.length;t--;)this.items[t].insertAfter(e);return this},s.getBBox=function(){for(var e=[],t=[],r=[],n=[],a=this.items.length;a--;)if(!this.items[a].removed){var s=this.items[a].getBBox();e.push(s.x),t.push(s.y),r.push(s.x+s.width),n.push(s.y+s.height)}return e=i.apply(0,e),t=i.apply(0,t),{x:e,y:t,x2:r=o.apply(0,r),y2:n=o.apply(0,n),width:r-e,height:n-t,cx:e+(r-e)/2,cy:t+(n-t)/2}},s.clone=function(e){e=new a;for(var t=0,r=this.items.length;t<r;t++)e.push(this.items[t].clone());return e},s.toString=function(){return"Snap‘s set"},s.type="set",e.Set=a,e.set=function(){var e=new a;return arguments.length&&e.push.apply(e,Array.prototype.slice.call(arguments,0)),e}}),w.plugin(function(e,t,r,n){var o={},i=/[%a-z]+$/i,a=String;function s(e){var t=e[0];switch(t.toLowerCase()){case"t":return[t,0,0];case"m":return[t,1,0,0,1,0,0];case"r":if(4==e.length)return[t,0,e[2],e[3]];return[t,0];case"s":if(5==e.length)return[t,1,1,e[3],e[4]];if(3==e.length)return[t,1,1];return[t,1]}}function l(e){return e}function c(e){return e.join(" ")}function u(t){return e.rgb(t[0],t[1],t[2],t[3])}function d(e){var t,r,n,o,i,a,s=0,l=[];for(t=0,r=e.length;t<r;t++){for(n=1,i="[",a=['"'+e[t][0]+'"'],o=e[t].length;n<o;n++)a[n]="val["+s+++"]";i+=a+"]",l[t]=i}return Function("val","return Snap.path.toString.call(["+l+"])")}function f(e){for(var t=[],r=0,n=e.length;r<n;r++)for(var o=1,i=e[r].length;o<i;o++)t.push(e[r][o]);return t}o.stroke=o.fill="colour";t.prototype.equal=function(e,t){return eve("snap.util.equal",this,e,t).firstDefined()},eve.on("snap.util.equal",function(t,r){var n,p,h=a(this.attr(t)||""),m=this;if("colour"==o[t])return n=e.color(h),p=e.color(r),{from:[n.r,n.g,n.b,n.opacity],to:[p.r,p.g,p.b,p.opacity],f:u};if("viewBox"==t)return{from:n=this.attr(t).vb.split(" ").map(Number),to:p=r.split(" ").map(Number),f:c};if("transform"==t||"gradientTransform"==t||"patternTransform"==t)return"string"==typeof r&&(r=a(r).replace(/\.{3}
5|\u2026/g,h)),function(t,r,n){t=t||new e.Matrix,r=r||new e.Matrix,t=e.parseTransformString(t.toTransformString())||[],r=e.parseTransformString(r.toTransformString())||[];for(var o,i,a,l,c=Math.max(t.length,r.length),u=[],p=[],h=0;h<c;h++){if(a=t[h]||s(r[h]),l=r[h]||s(a),a[0]!=l[0]||"r"==a[0].toLowerCase()&&(a[2]!=l[2]||a[3]!=l[3])||"s"==a[0].toLowerCase()&&(a[3]!=l[3]||a[4]!=l[4])){t=e._.transform2matrix(t,n()),r=e._.transform2matrix(r,n()),u=[["m",t.a,t.b,t.c,t.d,t.e,t.f]],p=[["m",r.a,r.b,r.c,r.d,r.e,r.f]];break}for(o=0,u[h]=[],p[h]=[],i=Math.max(a.length,l.length);o<i;o++)o in a&&(u[h][o]=a[o]),o in l&&(p[h][o]=l[o])}return{from:f(u),to:f(p),f:d(u)}}(h=this.matrix,r=e._.rgTransform.test(r)?e._.transform2matrix(r,this.getBBox()):e._.transform2matrix(e._.svgTransform2string(r),this.getBBox()),function(){return m.getBBox(1)});if("d"==t||"path"==t)return{from:f((n=e.path.toCubic(h,r))[0]),to:f(n[1]),f:d(n[0])};if("points"==t)return{from:n=a(h).split(e._.separator),to:p=a(r).split(e._.separator),f:function(e){return e}};if(isFinite(h)&&isFinite(r))return{from:parseFloat(h),to:parseFloat(r),f:l};var y=h.match(i),x=a(r).match(i);return y&&e.is(y,"array")&&e.is(x,"array")&&y.toString()==x.toString()?{from:parseFloat(h),to:parseFloat(r),f:function(e){return+e.toFixed(3)+y}}:{from:this.asPX(t),to:this.asPX(t,r),f:l}})}),w.plugin(function(e,t,r,n){for(var o=t.prototype,i=("createTouch"in n.doc),a=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],s={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},l=function(e,t){var r="y"==e?"scrollTop":"scrollLeft",o=t&&t.node?t.node.ownerDocument:n.doc;return o[r in o.documentElement?"documentElement":"body"][r]},c=function(){return this.originalEvent.preventDefault()},u=function(){return this.originalEvent.stopPropagation()},d=function(e,t,r,n){var o=i&&s[t]?s[t]:t,a=function(o){var a=l("y",n),d=l("x",n);if(i&&s.hasOwnProperty(t)){for(var f=0,p=o.targetTouches&&o.targetTouches.length;f<p;f++)if(o.targetTouches[f].target==e||e.contains(o.targetTouches[f].target)){var h=o;(o=o.targetTouches[f]).originalEvent=h,o.preventDefault=c,o.stopPropagation=u;break}}var m=o.clientX+d,y=o.clientY+a;return r.call(n,o,m,y)};return t!==o&&e.addEventListener(t,a,!1),e.addEventListener(o,a,!1),function(){return t!==o&&e.removeEventListener(t,a,!1),e.removeEventListener(o,a,!1),!0}},f=[],p=function(e){for(var t,r=e.clientX,n=e.clientY,o=l("y"),a=l("x"),s=f.length;s--;){if(t=f[s],i){for(var c,u=e.touches&&e.touches.length;u--;)if((c=e.touches[u]).identifier==t.el._drag.id||t.el.node.contains(c.target)){r=c.clientX,n=c.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var d=t.el.node;d.nextSibling,d.parentNode,d.style.display,r+=a,n+=o,eve("snap.drag.move."+t.el.id,t.move_scope||t.el,r-t.el._drag.x,n-t.el._drag.y,r,n,e)}},h=function(t){e.unmousemove(p).unmouseup(h);for(var r,n=f.length;n--;)(r=f[n]).el._drag={},eve("snap.drag.end."+r.el.id,r.end_scope||r.start_scope||r.move_scope||r.el,t),eve.off("snap.drag.*."+r.el.id);f=[]},m=a.length;m--;)!function(t){e[t]=o[t]=function(r,n){if(e.is(r,"function"))this.events=this.events||[],this.events.push({name:t,f:r,unbind:d(this.node||document,t,r,n||this)});else for(var o=0,i=this.events.length;o<i;o++)if(this.events[o].name==t)try{this.events[o].f.call(this)}catch(e){}return this},e["un"+t]=o["un"+t]=function(e){for(var r=this.events||[],n=r.length;n--;)if(r[n].name==t&&(r[n].f==e||!e)){r[n].unbind(),r.splice(n,1),r.length||delete this.events;break}return this}}(a[m]);o.hover=function(e,t,r,n){return this.mouseover(e,r).mouseout(t,n||r)},o.unhover=function(e,t){return this.unmouseover(e).unmouseout(t)};var y=[];o.drag=function(t,r,n,o,i,a){var s,l=this;if(!arguments.length)return l.drag(function(e,t){this.attr({transform:s+(s?"T":"t")+[e,t]})},function(){s=this.transform().local});function c(s,c,u){(s.originalEvent||s).preventDefault(),l._drag.x=c,l._drag.y=u,l._drag.id=s.identifier,f.length||e.mousemove(p).mouseup(h),f.push({el:l,move_scope:o,start_scope:i,end_scope:a}),r&&eve.on("snap.drag.start."+l.id,r),t&&eve.on("snap.drag.move."+l.id,t),n&&eve.on("snap.drag.end."+l.id,n),eve("snap.drag.start."+l.id,i||o||l,c,u,s)}function u(e,t,r){eve("snap.draginit."+l.id,l,e,t,r)}return eve.on("snap.draginit."+l.id,c),l._drag={},y.push({el:l,start:c,init:u}),l.mousedown(u),l},o.undrag=function(){for(var t=y.length;t--;)y[t].el==this&&(this.unmousedown(y[t].init),y.splice(t,1),eve.unbind("snap.drag.*."+this.id
5),eve.unbind("snap.draginit."+this.id));return y.length||e.unmousemove(p).unmouseup(h),this}}),w.plugin(function(e,t,r,n){t.prototype;var o=r.prototype,i=/^\s*url\((.+)\)/,a=String,s=e._.$;e.filter={},o.filter=function(r){var n=this;"svg"!=n.type&&(n=n.paper);var o=e.parse(a(r)),i=e._.id(),l=(n.node.offsetWidth,n.node.offsetHeight,s("filter"));return s(l,{id:i,filterUnits:"userSpaceOnUse"}),l.appendChild(o.node),n.defs.appendChild(l),new t(l)},eve.on("snap.util.getattr.filter",function(){eve.stop();var t=s(this.node,"filter");if(t){var r=a(t).match(i);return r&&e.select(r[1])}}),eve.on("snap.util.attr.filter",function(r){if(r instanceof t&&"filter"==r.type){eve.stop();var n=r.node.id;n||(s(r.node,{id:r.id}),n=r.id),s(this.node,{filter:e.url(n)})}r&&"none"!=r||(eve.stop(),this.node.removeAttribute("filter"))}),e.filter.blur=function(t,r){null==t&&(t=2);var n=null==r?t:[t,r];return e.format('<feGaussianBlur stdDeviation="{def}"/>',{def:n})},e.filter.blur.toString=function(){return this()},e.filter.shadow=function(t,r,n,o,i){return null==i&&(null==o?(i=n,n=4,o="#000"):(i=o,o=n,n=4)),null==n&&(n=4),null==i&&(i=1),null==t&&(t=0,r=2),null==r&&(r=t),o=e.color(o),e.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:o,dx:t,dy:r,blur:n,opacity:i})},e.filter.shadow.toString=function(){return this()},e.filter.grayscale=function(t){return null==t&&(t=1),e.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-t),b:.7152-.7152*(1-t),c:.0722-.0722*(1-t),d:.2126-.2126*(1-t),e:.7152+.2848*(1-t),f:.0722-.0722*(1-t),g:.2126-.2126*(1-t),h:.0722+.9278*(1-t)})},e.filter.grayscale.toString=function(){return this()},e.filter.sepia=function(t){return null==t&&(t=1),e.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-t),b:.769-.769*(1-t),c:.189-.189*(1-t),d:.349-.349*(1-t),e:.686+.314*(1-t),f:.168-.168*(1-t),g:.272-.272*(1-t),h:.534-.534*(1-t),i:.131+.869*(1-t)})},e.filter.sepia.toString=function(){return this()},e.filter.saturate=function(t){return null==t&&(t=1),e.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-t})},e.filter.saturate.toString=function(){return this()},e.filter.hueRotate=function(t){return t=t||0,e.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:t})},e.filter.hueRotate.toString=function(){return this()},e.filter.invert=function(t){return null==t&&(t=1),e.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:t,amount2:1-t})},e.filter.invert.toString=function(){return this()},e.filter.brightness=function(t){return null==t&&(t=1),e.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:t})},e.filter.brightness.toString=function(){return this()},e.filter.contrast=function(t){return null==t&&(t=1),e.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:t,amount2:.5-t/2})},e.filter.contrast.toString=function(){return this()}}),w.plugin(function(e,t,r,n,o){var i=e._.box,a=e.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};t.prototype.getAlign=function(e,t){null==t&&a(e,"string")&&(t=e,e=null);var r=(e=e||this.paper).getBBox?e.getBBox():i(e),n=this.getBBox(),o={};switch(t=(t=t&&t.match(s))?t[1].toLowerCase():"c"){case"t":o.dx=0,o.dy=r.y-n.y;break;case"b":o.dx=0,o.dy=r.y2-n.y2;break;case"m":o.dx=0,o.dy=r.cy-n.cy;break;case"l":o.dx=r.x-n.x,o.dy=0;break;case"r":o.dx=r.x2-n.x2,o.dy=0;break;default:o.dx=r.cx-n.cx,o.dy=0}return o.toString=l,o},t.prototype.align=function(e,t){return this.transform("..."+this.getAlign(e,t))}}),w.plugin(function(e,t,r,n,o){var i=t.prototype,a=e.is,s=String,l="hasOwnProperty",c=function(e,t,r,n){"function"!=typeof r||r.length||(n=r,r=b.linear),this.attr=e,this.dur=t,r&&(this.easing=r),n&&(this.callback=n)};e._.Animation=c,e.animation=function(e,t,r,n){return new c(e,t,r,n)},i.inAnim=function(){var e=[];for(var t in this.anims)this.anims[l](t)&&function(t){e.push({anim:new c(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(this.anims[t]);return e},e.animate=function(e,t,r,n,o,i){"function"!=typeof o||o.length||(i=o,o=b.linear);var a=b.time(),s=b(e,t,a,a+n,b.time,r,o);return i&&eve.once("mina.finish."+s.id,i),s},i.stop=function(){for(var e=this.inAnim(),t=0,r=e.length;t<r;t++)e[t].stop();return this},i.animate=function(e,t,r,n){"function"!=typeof r||r.length||(n=r,r=b.linear),e instanceof c&&(n=e.callback,r=e.easing,t=e.dur,e=e.attr);var o,i,u,d,f=[],p=[],h={},m=this;for(var y in e)if(e[l](y)){m.equal?(o=(d=m.equal(y,s(e[y]))).from,i=d.to,u=d.f):(o=+m.attr(y),i=+e[y]);var x=a(o,"array")?o.length:1;h[y]=function(e,t,r){return function(n){var o=n.slice(e,t);return 1==o.length&&(o=o[0]),r?r(o):o}}(f.length,f.length+x,u),f=f.concat(o),p=p.concat(i)}var v=b.time(),w=b(f,p,v,v+t,b.time,function(e){var t={};for(var r in h)h[l](r)&&(t[r]=h[r](e));m.attr(t)},r);return m.anims[w.id]=w,w._attrs=e,w._callback=n,eve("snap.animcreated."+m.id,w),eve.once("mina.finish."+w.id,function(){eve.off("mina.*."+w.id),delete m.anims[w.id],n&&n.call(m)}),eve.once("mina.stop."+w.id,function(){eve.off("mina.*."+w.id),delete m.anims[w.id]}),m}}),w.plugin(function(e,t,r,n){function o(e){var t=new String((e=e.split(/(?=#)/))[5]);return t[50]=e[0],t[100]=e[1],t[200]=e[2],t[300]=e[3],t[400]=e[4],t[500]=e[5],t[600]=e[6],t[700]=e[7],t[800]=e[8],t[900]=e[9],e[10]&&(t.A100=e[10],t.A200=e[11],t.A400=e[12],t.A700=e[13]),t}e.mui={},e.flat={},e.mui.red=o("#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000"),e.mui.pink=o("#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162"),e.mui.purple=o("#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF"),e.mui.deeppurple=o("#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA"),e.mui.indigo=o("#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE"),e.mui.blue=o("#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF"),e.mui.lightblue=o("#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA"),e.mui.cyan=o("#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4"),e.mui.teal=o("#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5"),e.mui.green=o("#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853"),e.mui.lightgreen=o("#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17"),e.mui.lime=o("#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00"),e.mui.yellow=o("#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600"),e.mui.amber=o("#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00"),e.mui.orange=o("#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00"),e.mui.deeporange=o("#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00"),e.mui.brown=o("#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723"),e.mui.grey=o("#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121"),e.mui.bluegrey=o("#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238"),e.flat.turquoise="#1abc9c",e.flat.greensea="#16a085",e.flat.sunflower="#f1c40f",e.flat.orange="#f39c12",e.flat.emerland="#2ecc71",e.flat.nephritis="#27ae60",e.flat.carrot="#e67e22",e.flat.pumpkin="#d35400",e.flat.peterriver="#3498db",e.flat.belizehole="#2980b9",e.flat.alizarin="#e74c3c",e.flat.pomegranate="#c0392b",e.flat.amethyst="#9b59b6",e.flat.wisteria="#8e44ad",e.flat.clouds="#ecf0f1",e.flat.silver="#bdc3c7",e.flat.wetasphalt="#34495e",e.flat.midnightblue="#2c3e50",e.flat.concrete="#95a5a6",e.flat.asbestos="#7f8c8d",e.importMUIColors=function(){for(var t in e.mui)e.mui.hasOwnProperty(t)&&(window[t]=e.mui[t])}}),t.exports=w},890717,(e,t,r)=>{"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var t=void 0;try{t=e.r(401625)}finally{return t}},t.exports=r.default},114180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.pxToNum=function(e){return parseInt(e.slice(0,-2),10)}},863528,(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var o=n(e.r(890717)),i=n(e.r(716867)),a=e.r(114180),s={svg:{lib:o.default,pathInitial:"M-1,0h101c0,0-97.833,153.603-97.833,396.167C2.167,627.579,100,800,100,800H-1V0z",pathOpen:"M-1,0h101c0,0,0-1,0,395c0,404,0,405,0,405H-1V0z",animate:function(e){e.animate({path:this.pathOpen},400,window.mina.easeinout)}},morphShape:function(e,t,r){return{position:"absolute",width:120,height:"100%",right:r?"inherit":0,left:r?0:"inherit",MozTransform:r?"rotateY(180deg)":"",MsTransform:r?"rotateY(180deg)":"",OTransform:r?"rotateY(180deg)":"",WebkitTransform:r?"rotateY(180deg)":"",transform:r?"rotateY(180deg)":""}},menuWrap:function(e,t,r){return{MozTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:"all 0.3s"}},menu:function(e,t,r){return{position:"fixed",right:r?0:"inherit",width:(0,a.pxToNum)(t)-120,whiteSpace:"nowrap",boxSizing:"border-box",overflow:"visible"}},itemList:function(e,t,r){if(r)return{position:"relative",left:"-110px",width:"170%",overflow:"auto"}},pageWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",MsTransform:e?"":r?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",OTransform:e?"":r?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",WebkitTransform:e?"":r?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",transform:e?"":r?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",transition:e?"all 0.3s":"all 0.3s 0.1s"}},outerContainer:function(e){return{overflow:e?"":"hidden"}}};r.default=(0,i.default)(s),t.exports=r.default},142792,(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var o=n(e.r(890717)),i=n(e.r(716867)),a=e.r(114180),s={svg:{lib:o.default,pathInitial:"M-7.312,0H0c0,0,0,113.839,0,400c0,264.506,0,400,0,400h-7.312V0z",pathOpen:"M-7.312,0H15c0,0,66,113.339,66,399.5C81,664.006,15,800,15,800H-7.312V0z;M-7.312,0H100c0,0,0,113.839,0,400c0,264.506,0,400,0,400H-7.312V0z",animate:function(e){var t=0,r=this.pathOpen.split(";"),n=r.length,o=window.mina;!function i(){!(t>n-1)&&(e.animate({path:r[t]},0===t?400:500,0===t?o.easein:o.elastic,function(){i()}),t++)}()}},morphShape:function(e,t,r){return{position:"absolute",width:"100%",height:"100%",right:r?"inherit":0,left:r?0:"inherit",MozTransform:r?"rotateY(180deg)":"rotateY(0deg)",MsTransform:r?"rotateY(180deg)":"rotateY(0deg)",OTransform:r?"rotateY(180deg)":"rotateY(0deg)",WebkitTransform:r?"rotateY(180deg)":"rotateY(0deg)",transform:r?"rotateY(180deg)":"rotateY(0deg)"}},menuWrap:function(e,t,r){return{MozTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"translate3d(0, 0, 0)":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:e?"transform 0.4s 0s":"transform 0.4s"}},menu:function(e,t,r){var n=(0,a.pxToNum)(t)-140;return{position:"fixed",MozTransform:e?"":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",MsTransform:e?"":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",OTransform:e?"":r?"translate3d("+n+", 0, 0
5)":"translate3d(-"+n+", 0, 0)",WebkitTransform:e?"":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",transform:e?"":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",transition:e?"opacity 0.1s 0.4s cubic-bezier(.17, .67, .1, 1.27), transform 0.1s 0.4s cubic-bezier(.17, .67, .1, 1.27)":"opacity 0s 0.3s cubic-bezier(.17, .67, .1, 1.27), transform 0s 0.3s cubic-bezier(.17, .67, .1, 1.27)",opacity:+!!e}},item:function(e,t,r,n){var o=(0,a.pxToNum)(t)-140;return{MozTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+o+", 0, 0)":"translate3d(-"+o+", 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+o+", 0, 0)":"translate3d(-"+o+", 0, 0)",OTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+o+", 0, 0)":"translate3d(-"+o+", 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+o+", 0, 0)":"translate3d(-"+o+", 0, 0)",transform:e?"translate3d(0, 0, 0)":r?"translate3d("+o+", 0, 0)":"translate3d(-"+o+", 0, 0)",transition:e?"opacity 0.3s 0.4s, transform 0.3s 0.4s":"opacity 0s 0.3s cubic-bezier(.17, .67, .1, 1.27), transform 0s 0.3s cubic-bezier(.17, .67, .1, 1.27)",opacity:+!!e}},closeButton:function(e,t,r){var n=(0,a.pxToNum)(t)-140;return{MozTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",OTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",transform:e?"translate3d(0, 0, 0)":r?"translate3d("+n+", 0, 0)":"translate3d(-"+n+", 0, 0)",transition:e?"opacity 0.3s 0.4s cubic-bezier(.17, .67, .1, 1.27), transform 0.3s 0.4s cubic-bezier(.17, .67, .1, 1.27)":"opacity 0s 0.3s cubic-bezier(.17, .67, .1, 1.27), transform 0s 0.3s cubic-bezier(.17, .67, .1, 1.27)",opacity:+!!e}}};r.default=(0,i.default)(s),t.exports=r.default},892582,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({pageWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",MsTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",OTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",WebkitTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transition:"all 0.5s"}},outerContainer:function(e){return{overflow:e?"":"hidden"}}}),t.exports=r.default},636390,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({pageWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",MsTransform:e?"":r?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",OTransform:e?"":r?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",WebkitTransform:e?"":r?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",transform:e?"":r?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",transformOrigin:r?"100% 50%":"0% 50%",transformStyle:"preserve-3d",transition:"all 0.5s"}},outerContainer:function(e){return{perspective:"1500px",overflow:e?"":"hidden"}}}),t.exports=r.default},574781,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({pageWrap:function(e,t){return{MozTransform:e?"":"translate3d(0, 0, -"+t+")",MsTransform:e?"":"translate3d(0, 0, -"+t+")",OTransform:e?"":"translate3d(0, 0, -"+t+")",WebkitTransform:e?"":"translate3d(0, 0, -"+t+")",transform:e?"":"translate3d(0, 0, -"+t+")",transformOrigin:"100%",transformStyle:"preserve-3d",transition:"all 0.5s"}},outerContainer:function(){return{perspective:"1500px"}}}),t.exports=r.default},182630,(e,t,r)=>{"use strict";var n;
5Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({pageWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",MsTransform:e?"":r?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",OTransform:e?"":r?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",WebkitTransform:e?"":r?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",transform:e?"":r?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",transformStyle:"preserve-3d",transition:"all 0.5s",overflow:e?"":"hidden"}},outerContainer:function(e){return{perspective:"1500px",overflow:e?"":"hidden"}}}),t.exports=r.default},242560,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({menuWrap:function(e){return{MozTransform:e?"":"translate3d(0, -100%, 0)",MsTransform:e?"":"translate3d(0, -100%, 0)",OTransform:e?"":"translate3d(0, -100%, 0)",WebkitTransform:e?"":"translate3d(0, -100%, 0)",transform:e?"":"translate3d(0, -100%, 0)",transition:"all 0.5s ease-in-out"}},pageWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",MsTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",OTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",WebkitTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transition:"all 0.5s"}},outerContainer:function(e){return{perspective:"1500px",perspectiveOrigin:"0% 50%",overflow:e?"":"hidden"}}}),t.exports=r.default},348990,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=(0,((n=e.r(716867))&&n.__esModule?n:{default:n}).default)({menuWrap:function(e,t,r){return{MozTransform:"translate3d(0, 0, 0)",MsTransform:"translate3d(0, 0, 0)",OTransform:"translate3d(0, 0, 0)",WebkitTransform:"translate3d(0, 0, 0)",transform:"translate3d(0, 0, 0)",zIndex:e?1e3:-1}},overlay:function(e,t,r){return{zIndex:1400,MozTransform:e?r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",MsTransform:e?r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",OTransform:e?r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",WebkitTransform:e?r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",transform:e?r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",transition:"all 0.5s",visibility:e?"visible":"hidden"}},pageWrap:function(e,t,r){return{MozTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",MsTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",OTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",WebkitTransform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transform:e?"":r?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transition:"all 0.5s",zIndex:1200,position:"relative"}},burgerIcon:function(e,t,r){return{MozTransform:e?r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",MsTransform:e?r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",OTransform:e?r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",WebkitTransform:e?r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",transform:e?r?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",transition:"all 0.1s",position:"relative",zIndex:1300}},outerContainer:function(e){return{overflow:e?"":"hidden"}}}),t.exports=r.default},772152,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default={slide:e.r(932655),stack:e.r(244621),elastic:e.r(863528),bubble:e.r(142792),push:e.r(892582),pushRotate:e.r(636390),scaleDown:e.r(574781),scaleRotate:e.r(182630),fallDown:e.r(242560),reveal:e.r(348990)},t.exports=r.default},868321,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("6076747f5229e33901c5db22347fc137141e69ff80",t.callServer,void 0,t.findSourceMapURL,"deleteSelectedCookie");e.s(["deleteSelectedCookie",()=>r])},763253,850147,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("4031397abcc48c352251d66bc2bc5e3b51667d3645",t.callServer,void 0,t.findSourceMapURL,"deleteSelectedCookies");e.s(["deleteSelectedCookies",()=>r],763253);var n=(0,t.createServerReference)("0048a501e3d8a23e695a91e3f18bdfa5082fedb869",t.callServer,void 0,t.findSourceMapURL,"getAllRequestCookies");e.s(["getAllRequestCookies",()=>n],850147)},166648,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("40b778f93067f77a1d4d7ad2894053f84eab0c808b",t.callServer,void 0,t.findSourceMapURL,"getCookiesObj");e.s(["getCookiesObj",()=>r])},553425,e=>{"use strict";var t=e.i(843476),r=e.i(160479),n=e.i(868321),o=e.i(763253),i=e.i(850147),a=e.i(166648),s=e.i(268462),l=e.i(271645),c=e.i(721552),u=e.i(617310),d=e.i(19351),f=e.i(482710),p=e.i(618566);async function h(e,t){let n={};try{console.log("Logging user out and clearing authentication cookies...");let o=await (0,a.getCookiesObj)(["access","refresh","expiresAt","sessionId"]);console.log("Cookies, yo there: ",o);let{access:i,refresh:s,expiresAt:l,sessionId:c}=o;if(!i||!s||!l||!(0,d.default)(l)||!c)return console.log("No valid tokens found to revoke. Will proceed with cookie deletion."),{wasSuccessful:!0};console.log("Will attempt to revoke tokens...");let p=new f.ApiServicesSecured(i,s,parseInt(l),c),[{wasSuccessful:h}]=await Promise.all([p.services.logUserOut(),(0,r.deleteAllCookies)()]);h||console.error("An error has occurred in deleting the target session on the server.");let m=!!(0,u.getLocalStorageItem)("wasRegionAvailabilityNoticeModalShown");return n.gclid=(0,u.getLocalStorageItem)("gclid")??void 0,n.referrer=(0,u.getLocalStorageItem)("referrer")??void 0,localStorage.clear(),sessionStorage.clear(),(0,u.resetUrlParams)(),(0,u.setLocalStorageItem)("wasRegionAvailabilityNoticeModalShown",m),console.log("Router: ",e),console.log("Pathname: ",t),e&&"/payment-result"===t&&e.push("/account"),(0,u.resetUrlParams)(),{wasSuccessful:!0}}catch(e){return console.error("Error during logout:",e),{wasSuccessful:!1}}
5finally{n.gclid&&(0,u.setLocalStorageItem)("gclid",n.gclid),n.referrer&&(0,u.setLocalStorageItem)("referrer",n.referrer),window.location.reload()}}e.s(["default",0,({children:e=(0,t.jsx)("p",{className:`${c.DEFAULT_TEXT_SZ}`,children:"Log out"}),className:r,handleLogOutUsingCustomLogic:a})=>{let[d,f]=(0,l.useState)(!1),m=(0,p.useRouter)(),y=(0,p.usePathname)();async function x(){console.log("Logging out...");let e=!1;try{f(!0),await h(m,y);let t=await (0,i.getAllRequestCookies)();console.log("reqCookies, hey there: ",t),t.length&&(console.log("Attempting to delete all request cookies during logout..."),(0,o.deleteSelectedCookies)(t),(0,n.deleteSelectedCookie)("subscriptionId",["/account","/"])),e=!0}catch(e){console.error("An error has occurred during logout:",e)}finally{if(console.log("Logout: Entered the finally block after attempting to log out. Cleaning up local and session storage, resetting UI state, and reloading the page."),!e){console.log("Logout: failed to delete cookies during logout flow in finally block.");let e=await (0,i.getAllRequestCookies)();e.length&&(console.log("Attempting to delete leftover cookies in finally block during logout..."),(0,o.deleteSelectedCookies)(e),(0,n.deleteSelectedCookie)("subscriptionId",["/account","/"]))}let t=(0,u.getLocalStorageItem)("wasRegionAvailabilityNoticeModalShown");localStorage.clear(),(0,u.setLocalStorageItem)("wasRegionAvailabilityNoticeModalShown",!!t),sessionStorage.clear(),setTimeout(()=>{f(!1),window.location.reload()},350)}}async function v(){try{if(a){f(!0),await a();return}await x()}finally{f(!1)}}return(0,l.useEffect)(()=>{console.log(`pathname: ${y}`)}),(0,t.jsx)(s.default,{className:`${r} py-2`,onClick:v,spinnerDimension:{width:30,height:30},isSpinnerShown:d,isChildrenDisplayed:!d,children:e})},"handleUserLogout",()=>h])},984828,e=>{"use strict";var t=e.i(940141);function r(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"},child:[]}]})(e)}function n(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"},child:[]}]})(e)}e.s(["FaArrowDown",()=>n,"FaXTwitter",()=>r])},563440,369620,e=>{"use strict";var t=e.i(843476),r=e.i(721552),n=e.i(271645),o=e.i(984828),i=e.i(919056);e.s(["default",0,({onClick:e=()=>{},className:a,handleOnScroll:s,_arrowDownOpacity:l,_arrowDownZIndex:c})=>{let[u]=l,[d]=c,f=(0,n.useMemo)(()=>(0,i.twMerge)(`${u} left-[43%] cursor-pointer bottom-[23%] fixed transition-all animate-bounce p-4 w-12 h-12 rounded-full flex justify-center items-center bg-white border-2 border-purple-200 shadow-md`,a),[u]);return(0,n.useEffect)(()=>{document.addEventListener("scroll",s)},[]),(0,t.jsx)("div",{style:{zIndex:d},onClick:e,className:f,children:(0,t.jsx)(o.FaArrowDown,{size:28,style:{color:r.APP_COLOR_PURPLE}})})}],563440);var a=e.i(940141);function s(e){return(0,a.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}e.s(["IoClose",()=>s],369620)},601696,e=>{"use strict";var t=e.i(843476),r=e.i(975157),n=e.i(563440),o=e.i(271645),i=e.i(369620);function a(e){let t=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,o=t.top<r&&t.bottom>0,i=t.left<n&&t.right>0;return o&&i}function s(e,t){let r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),o=r.top<n.bottom&&r.bottom>n.top,i=r.left<n.right&&r.right>n.left;return o&&i}let l=({_arrowDownOpacity:[e,r],_arrowDownZIndex:[o,i],handleOnScroll:a,indicatorType:s})=>(0,t.jsx)(n.default,{_arrowDownOpacity:[e,r],_arrowDownZIndex:[o,i],handleOnScroll:a,className:"relative left-auto right-auto top-auto bottom-auto h-11 w-11 shrink-0 border-2 border-purple-200/90 p-3 shadow-md dark:border-purple-500/35 dar
5k:bg-gray-800/90"});e.s(["default",0,({targetElementToScrollToId:e,indicatorType:n,notificationPrimaryText:c="Plans & pricing",notificationSecondaryText:u="Scroll down to compare subscriptions",scrollIntersectionRoot:d,className:f})=>{let[p,h]=(0,o.useState)("opacity-100"),[m,y]=(0,o.useState)(10),x=(0,o.useRef)(null),v=(0,o.useCallback)(()=>{let t=document.getElementById(e);t?(x.current=t,(d?s(t,d):a(t))&&(y(-1),h("opacity-0"))):console.error(`The element with the id of '${e}' was not found.`)},[e,d]);function b(){setTimeout(()=>{y(100),h("opacity-100")},150),x.current=null}(0,o.useEffect)(()=>{if(d){let t=document.getElementById(e);if(!t)return console.error(`The element with the id of '${e}' was not found.`),b;x.current=t;let r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(y(-1),h("opacity-0"))},{root:d,threshold:.15});return r.observe(t),s(t,d)&&(y(-1),h("opacity-0")),d.addEventListener("scroll",v,{passive:!0}),()=>{r.disconnect(),d.removeEventListener("scroll",v),b()}}let t=document.getElementById(e);return t?(x.current=t,a(x.current)&&(y(-1),h("opacity-0")),window.addEventListener("scroll",v,{passive:!0}),window.addEventListener("resize",v),()=>{window.removeEventListener("scroll",v),window.removeEventListener("resize",v),b()}):(console.error(`The element with the id of '${e}' was not found.`),b)},[e,v,d]);let w=(0,o.useMemo)(()=>{let e=`${p} ${"opacity-0"===p?"pointer-events-none":""} ${f}`;return(0,r.mergeTailwindClasses)("pointer-events-none fixed inset-x-0 bottom-6 z-[10000] flex justify-center px-4 transition-opacity duration-300 sm:bottom-8",e)},[p]);return(0,t.jsx)("div",{className:w,children:(0,t.jsxs)("div",{className:(0,r.mergeTailwindClasses)("pointer-events-auto relative flex max-w-md items-center gap-3 rounded-2xl border border-purple-200/80 bg-white/95 py-3 pl-4 pr-3 shadow-lg shadow-purple-500/10 backdrop-blur-md dark:border-purple-500/25 dark:bg-gray-900/95 dark:shadow-purple-950/30","opacity-0"===p&&"pointer-events-none"),children:[(0,t.jsx)("span",{className:"cursor-pointer absolute left-[-2%] top-[-12%] flex h-6 w-6 items-center justify-center rounded-full bg-gray-100/90 text-gray-600 ring-1 ring-gray-200/90 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-gray-600/50","aria-hidden":!0,onClick:function(){h("opacity-0"),y(-1)},children:(0,t.jsx)(i.IoClose,{className:"h-4 w-4","aria-hidden":!0})}),(0,t.jsxs)("p",{className:"hover:underline cursor-pointer min-w-0 flex-1 text-left text-sm leading-snug text-gray-700 dark:text-gray-200",onClick:()=>{(x.current||=document.getElementById(e),x.current)?x.current.scrollIntoView({behavior:"smooth",block:"center"}):console.error(`The element with the id of '${e}' was not found when clicking the notification.`)},children:[(0,t.jsx)("span",{className:"bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text font-semibold text-transparent",children:c}),(0,t.jsx)("span",{className:"mt-0.5 block text-xs font-normal text-gray-500 dark:text-gray-400",children:u})]}),(0,t.jsx)(l,{_arrowDownOpacity:[p,h],_arrowDownZIndex:[m,y],handleOnScroll:v,indicatorType:n})]})})}])},996018,e=>{"use strict";var t=e.i(843476),r=e.i(95187),n=(0,r.createServerReference)("40862c9c528843b32f97ffc439b6bd68180775f7a8",r.callServer,void 0,r.findSourceMapURL,"recordChromeExtOffboardingForm"),o=e.i(268462),i=e.i(93e3),a=e.i(431908),s=e.i(721552),l=e.i(617310),c=e.i(271645),u=e.i(170319);let d="border-red-500 text-red-500 focus-visible:ring-red-500",f="text-red-500",p=new Set(["alternative-chosen","ideal-price","missing-features","other-reason-input-field"]),h=new Set(["ideal-price"]),m=({currentInputTxtLength:e,minLength:r})=>(0,t.jsxs)("p",{className:`text-[10px] ${e>=r?"text-green-500":"text-muted-foreground"} mt-1 ms-1`,children:["(",e>=r?r:e,"/",r,")"]});e.s(["default",0,({onAfterSuccessfulSubmit:e,isSuccessToastEnabled:r=!0,isInModal:y,submitAnchorElementId:x})=>{let{getIsUserSignedIn:v,cookies:b}=(0,a.useAppCookies)(),{isSignedIn:w,type:S}=v(),C=y||!!b.userId||w&&"user"===S,[j,N]=(0,c.useState)({}),[E,A]=(0,c.useState)(new Map),{_isChildrenDisplayed:[T,k],_isSpinnerShown:[_,P]}=(0,o.useBtnWithLoadingAnimationState)("Submit and continue"),O=(0,c.useMemo)(()=>({reasonOther:j?.reasonsForLeaving?.find(e=>"other"===e.reasonType),reasonFoundAlternative:j?.reasonsForLeaving?.find(e=>"reasonFoundAlternative"===e.reasonType),reasonMissingFeatures:j?.reasonsForLeaving?.find(e=>"reasonMissingFeatures"===e.reasonType),reasonNoLongerUseful:j?.reasonsForLeaving?.find(e=>"reasonNoLongerUseful"===e.reasonType),reasonTooExpensive:j?.reasonsForLeaving?.find(e=>"reasonTooExpensive"===e.reasonType)}),[j]),R=(0,c.useMemo)(()=>!!E.has("reasonsForLeaving")||[...p].some(e=>E.has(e)),[E]);function M(e){let t=e.target.value;if(p.has(e.target.id)){A(t=>{let r=structuredClone(t);return r.delete("reasonsForLeaving"),r.delete(e.target.id),r}),N(r=>{let n={...r},o=n.reasonsForLeaving?n.reasonsForLeaving.findIndex(t=>t.reasonType===e.target.name):-1;return -1===o&&n.reasonsForLeaving?(n.reasonsForLeaving.push({explanation:t,inputId:e.target.id,reasonType:e.target.name}),n):-1!==o&&n.reasonsForLeaving?(n.reasonsForLeaving[o]={...n.reasonsForLeaving[o],explanation:t},n):{...n,reasonsForLeaving:[{explanation:t,inputId:e.target.id,reasonType:e.target.name}]}});return}let r=e.target.name;A(e=>{let t=structuredClone(e);return t.delete(r),t}),N(e=>({...e,[r]:t}))}async function F(o){o.preventDefault(),P(!0),k(!1),await (0,l.pause)(300);let i=new Map;if(j.reasonsForLeaving?.length){if(j.reasonsForLeaving.length)for(let e of j.reasonsForLeaving)"reasonNoLongerUseful"!==e.reasonType&&e.inputId&&(e.explanation?!h.has(e.inputId)&&e.explanation.length<10&&i.set(e.inputId,"*Minimum 10 characters required."):i.set(e.inputId,"*This field can't be empty"))}else i.set("reasonsForLeaving","*This field is required.");
5if(j.howCanWeImprove?.length?j.howCanWeImprove.length<10&&i.set("howCanWeImprove","*Minimum 10 characters required."):i.set("howCanWeImprove","*This field is required."),!C&&(j.occupation?.length?"n/a"!==j.occupation.trim().toLowerCase()&&j.occupation.length<2&&i.set("occupation","*Minimum 2 characters required."):i.set("occupation","*This field is required.")),j?.problemToSolve?.length&&j.problemToSolve.length<10&&i.set("problemToSolve","*Minimum 10 characters required."),i.size){A(i),(0,l.presentErrToast)("Please check inputs."),P(!1),k(!0);return}try{console.log("hi");let o=await n({howCanWeImprove:j.howCanWeImprove,reasonsForLeaving:j.reasonsForLeaving,problemToSolve:j.problemToSolve,...!C?{occupation:j.occupation}:{}});if(console.log("emailSentResult:",o),o?.messageId){(0,l.setSessionStorage)("didSubmitChromeExtOffboardingSurveyInSession",!0),r&&u.toast.success((0,t.jsxs)("span",{className:"text-sm",children:["Email received. Thank you for your input. Hope to see you again!"," ",(0,t.jsx)("span",{role:"img","aria-label":"wave",children:"👋"})]}),{autoClose:9e3,position:"top-center"}),N({}),A(new Map),e();return}(0,l.presentErrToast)("There was a problem submitting your feedback. Please try again later.",!0)}catch(e){console.error("Error submitting offboarding form:",e)}finally{P(!1),k(!0)}}function L(e){if("reasonNoLongerUseful"===e.target.name)return(A(e=>{let t=structuredClone(e);return t.delete("reasonsForLeaving"),t}),e.target.checked)?void N(e=>{if(e.reasonsForLeaving?.some(e=>"reasonNoLongerUseful"===e.reasonType))return e;let t={explanation:"",reasonType:"reasonNoLongerUseful"};return e.reasonsForLeaving?.length?{...e,reasonsForLeaving:[...e.reasonsForLeaving,t]}:{...e,reasonsForLeaving:[t]}}):void N(e=>e.reasonsForLeaving?.length?{...e,reasonsForLeaving:e.reasonsForLeaving.filter(e=>"reasonNoLongerUseful"!==e.reasonType)}:e);let t=e.target.getAttribute("data-input-reason-id");t&&p.has(t)?(A(e=>{let r=structuredClone(e);return r.delete(t),r}),e.target.checked)?N(r=>{let n={...r};return n?.reasonsForLeaving?.length?{...n,reasonsForLeaving:[...n.reasonsForLeaving,{explanation:"",inputId:t,reasonType:e.target.name}]}:{...n,reasonsForLeaving:[{explanation:"",inputId:t,reasonType:e.target.name}]}}):N(t=>{if(t.reasonsForLeaving?.length){let r=[...t.reasonsForLeaving];return{...t,reasonsForLeaving:r.filter(t=>t.reasonType!==e.target.name)}
5}return t}):console.error("Can't get the 'data_input_reason_id' attribute of the input field.")}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-full flex justify-center items-center",children:(0,t.jsx)("p",{className:`mx-auto mb-4 max-w-md rounded-lg border border-[rgba(209,127,247,0.25)] bg-[rgba(209,127,247,0.06)] px-4 py-3 text-center text-sm leading-relaxed text-muted-foreground dark:bg-[rgba(209,127,247,0.04)] ${y?"":"sm:mx-8"}`,children:"I personally read every feedback form that is submitted."})}),(0,t.jsx)("p",{className:`${y?"hidden":""} text-center text-sm max-w-md mx-auto pb-2 px-6 sm:px-8 ${R?"text-red-500":"text-muted-foreground"}`,children:"*You can select one or more reasons for leaving."}),(0,t.jsx)("div",{className:`${y?"hidden":""} max-w-md mx-auto px-6 sm:px-8 pb-2 flex justify-center items-center`,children:(0,t.jsx)(i.ErrorTxt,{children:E.get("reasonsForLeaving")})}),(0,t.jsxs)("form",{action:"#",className:"px-6 sm:px-8 pb-10 space-y-8",children:[(0,t.jsxs)("p",{className:`text-xs font-semibold uppercase tracking-wider text-muted-foreground mt-2 ${E.get("reasonsForLeaving")?"text-red-500":""}`,children:["*You can select one or more reasons for leaving.",(0,t.jsx)("br",{}),(0,t.jsx)("p",{className:"mt-3 ms-1 text-[10px] text-red-500",children:E.get("reasonsForLeaving")})]}),(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"offboarding-reason rounded-lg p-3 -m-3 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors",children:[(0,t.jsx)("input",{checked:!!O.reasonTooExpensive,onChange:L,type:"checkbox","data-input-reason-id":"ideal-price",id:"reason-too-expensive",name:"reasonTooExpensive",value:"on",className:"h-4 w-4 rounded border-gray-300 align-middle cursor-pointer"}),(0,t.jsx)("label",{htmlFor:"reason-too-expensive",className:`ml-3 text-base font-medium cursor-pointer align-middle ${E.has("ideal-price")?f:""}`,children:"Too expensive"}),(0,t.jsxs)("div",{className:"offboarding-follow-up ml-7 pl-4 border-l-2 border-[rgba(209,127,247,0.4)] dark:border-[rgba(209,127,247,0.3)] mt-2",children:[(0,t.jsx)("label",{htmlFor:"ideal-price",className:`block text-sm font-medium mb-1 ${E.has("ideal-price")?f:""}`,children:"What would be your ideal price per month?"}),(0,t.jsx)("input",{value:O?.reasonTooExpensive?.explanation??"",onChange:M,type:"number",id:"ideal-price",name:"reasonTooExpensive",placeholder:"e.g. $1, $0.30",className:`w-full max-w-xs rounded-md border bg-background px-3 py-2 text-sm r
5ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${E.has("ideal-price")?d:"border-input"}`}),(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500 mt-1",children:E.get("ideal-price")})]})]}),(0,t.jsxs)("div",{className:"offboarding-reason rounded-lg p-3 -m-3 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors",children:[(0,t.jsx)("input",{checked:!!O.reasonFoundAlternative,onChange:L,type:"checkbox",id:"reason-alternative","data-input-reason-id":"alternative-chosen",name:"reasonFoundAlternative",value:"on",className:"h-4 w-4 rounded border-gray-300 align-middle cursor-pointer"}),(0,t.jsx)("label",{htmlFor:"reason-alternative",className:`ml-3 text-base font-medium cursor-pointer align-middle ${E.has("alternative-chosen")?f:""}`,children:"Found an alternative"}),(0,t.jsxs)("div",{className:"offboarding-follow-up ml-7 pl-4 border-l-2 border-[rgba(209,127,247,0.4)] dark:border-[rgba(209,127,247,0.3)] mt-2",children:[(0,t.jsx)("label",{htmlFor:"alternative-chosen",className:`block text-sm font-medium mb-1 ${E.has("alternative-chosen")?f:""}`,children:"Which alternative did you choose?"}),(0,t.jsx)("input",{value:O?.reasonFoundAlternative?.explanation??"",onChange:M,type:"text",id:"alternative-chosen",name:"reasonFoundAlternative",placeholder:"Name of the product or service",className:`w-full max-w-md rounded-md border bg-background px-3 py-2 text-sm r
5ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${E.has("alternative-chosen")?d:"border-input"}`}),(0,t.jsxs)("div",{className:"flex justify-between mt-1 w-full max-w-md",children:[(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500",children:E.get("alternative-chosen")}),(0,t.jsx)(m,{currentInputTxtLength:O?.reasonFoundAlternative?.explanation?.length??0,minLength:10})]})]})]}),(0,t.jsxs)("div",{className:"offboarding-reason rounded-lg p-3 -m-3 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors",children:[(0,t.jsx)("input",{checked:!!O.reasonNoLongerUseful,onChange:L,type:"checkbox",id:"reason-not-useful",name:"reasonNoLongerUseful",value:"on",className:"h-4 w-4 rounded border-gray-300 align-middle cursor-pointer"}),(0,t.jsx)("label",{htmlFor:"reason-not-useful",className:"ml-3 text-base font-medium cursor-pointer align-middle",children:"No longer useful for me"})]}),(0,t.jsxs)("div",{className:"offboarding-reason rounded-lg p-3 -m-3 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors",children:[(0,t.jsx)("input",{checked:!!O.reasonMissingFeatures,onChange:L,type:"checkbox",id:"reason-missing-features","data-input-reason-id":"missing-features",name:"reasonMissingFeatures",value:"on",className:"h-4 w-4 rounded border-gray-300 align-middle cursor-pointer"}),(0,t.jsx)("label",{htmlFor:"reason-missing-features",className:`ml-3 text-base font-medium cursor-pointer align-middle ${E.has("missing-features")?f:""}`,children:"Missing features"}),(0,t.jsxs)("div",{className:"offboarding-follow-up ml-7 pl-4 border-l-2 border-[rgba(209,127,247,0.4)] dark:border-[rgba(209,127,247,0.3)] mt-2",children:[(0,t.jsx)("label",{htmlFor:"missing-features",className:`block text-sm font-medium mb-1 ${E.has("missing-features")?f:""}`,children:"What features are you missing? Please describe what you would like to see added."}),(0,t.jsx)("textarea",{value:O?.reasonMissingFeatures?.explanation??"",onChange:M,id:"missing-features",name:"reasonMissingFeatures",placeholder:"Describe the features you need…",rows:4,className:`w-full min-h-[100px] resize-y rounded-md border bg-background px-3 py-2 text-sm r
5ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${E.has("missing-features")?d:"border-input"}`}),(0,t.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500",children:E.get("missing-features")}),(0,t.jsx)(m,{currentInputTxtLength:O?.reasonMissingFeatures?.explanation?.length??0,minLength:10})]})]})]}),(0,t.jsxs)("div",{className:"offboarding-reason rounded-lg p-3 -m-3 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition-colors",children:[(0,t.jsx)("input",{checked:!!O.reasonOther,onChange:L,type:"checkbox",id:"other-reason",name:"other","data-input-reason-id":"other-reason-input-field",value:"on",className:"h-4 w-4 rounded border-gray-300 align-middle cursor-pointer"}),(0,t.jsxs)("label",{htmlFor:"other-reason",className:`ml-3 text-base font-medium cursor-pointer align-middle ${E.has("other-reason-input-field")?f:""}`,children:["Other:"," "]}),(0,t.jsxs)("div",{className:"offboarding-follow-up ml-7 pl-4 border-l-2 border-[rgba(209,127,247,0.4)] dark:border-[rgba(209,127,247,0.3)] mt-2",children:[(0,t.jsx)("label",{htmlFor:"other-reason-input-field",className:`block text-sm font-medium mb-1 ${E.has("other-reason-input-field")?f:""}`,children:"Please explain your reasoning."}),(0,t.jsx)("textarea",{value:O?.reasonOther?.explanation??"",onChange:M,id:"other-reason-input-field",name:"other",placeholder:"Your own reasoning for leaving...",rows:4,className:`w-full min-h-[100px] resize-y rounded-md border bg-background px-3 py-2 text-sm r
5ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${E.has("other-reason-input-field")?d:"border-input"}`}),(0,t.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500",children:E.get("other-reason-input-field")}),(0,t.jsx)(m,{currentInputTxtLength:O?.reasonOther?.explanation?.length??0,minLength:10})]})]})]})]}),(0,t.jsxs)("div",{className:"pt-6 border-t border-gray-200 dark:border-gray-700 space-y-6",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:"Additional feedback/questions"}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:"how-improve",className:`block text-base font-medium mb-1 ${E.has("howCanWeImprove")?f:""}`,children:["*How can we improve ",(0,t.jsx)("i",{children:s.APP_NAME}),"?"]}),(0,t.jsx)("textarea",{onChange:M,value:j.howCanWeImprove??"",id:"how-improve",name:"howCanWeImprove",placeholder:"Any other thoughts or suggestions (10 characters minimum).",rows:4,className:`w-full min-h-[100px] resize-y rounded-md border bg-background px-3 py-2 text-sm r
5ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${E.has("howCanWeImprove")?d:"border-input"}`}),(0,t.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500",children:E.get("howCanWeImprove")}),(0,t.jsx)(m,{currentInputTxtLength:j?.howCanWeImprove?.length??0,minLength:10})]})]}),C?null:(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:"occupation",className:`block text-base font-medium mb-1 ${E.has("occupation")?f:""}`,children:["*","What's your occupation?"]}),(0,t.jsx)("input",{type:"text",id:"occupation",value:j.occupation??"",onChange:M,name:"occupation",placeholder:"(2 char. min.; n/a for No answer)",className:`w-full rounded-md border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${E.has("occupation")?d:"border-input"}`}),(0,t.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500",children:E.get("occupation")}),(0,t.jsx)(m,{currentInputTxtLength:j?.occupation?.length??0,minLength:2})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1 ms-1",children:"So that we can better understand our current/past user base."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"problem-to-solve",className:"block text-base font-medium mb-1 leading-snug",children:"If we could solve any problem for you (whether within Google Drive or completely independent of it), and you would be okay with paying for that solution today, what problem would that be?"}),(0,t.jsx)("textarea",{onChange:M,value:j.problemToSolve??"",id:"problem-to-solve",name:"problemToSolve",placeholder:"Optional (10 characters minimum if answered).",rows:6,className:`${E.has("problemToSolve")?d:"border-input"} w-full min-h-[180px] resize-y rounded-md border border-input bg-background px-3 py-2 text-sm r
5ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring`}),(0,t.jsxs)("div",{className:"flex justify-between mt-1",children:[(0,t.jsx)(i.ErrorTxt,{className:"text-xs text-red-500",children:E.get("problemToSolve")}),(0,t.jsx)(m,{currentInputTxtLength:j?.problemToSolve?.length??0,minLength:10})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-1 ms-1",children:"Optional but encouraged — we use this to shape future products."})]})]}),(0,t.jsx)("div",{id:x,className:`w-full ${x?"scroll-mt-6":""}`,children:(0,t.jsx)(o.default,{onClick:F,className:"w-full py-4 text-base font-medium rounded-xl bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] hover:opacity-90 shadow-md text-white",isChildrenDisplayed:T,isSpinnerShown:_,spinnerDimension:{width:24,height:24},spinnerColor:"white",disabled:_,children:"Submit and continue"})})]})]})}],996018)},543605,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("70138c4f85f89c9a927ec219c8072f947c8966bd7d",t.callServer,void 0,t.findSourceMapURL,"createStripeCustomerPortal");e.s(["createStripeCustomerPortal",()=>r])},819721,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("7ffd308dd02e0039cb5c7a85477366d004ed8dfdfe",t.callServer,void 0,t.findSourceMapURL,"validateUrl");e.s(["validateUrl",()=>r])},160479,878894,e=>{"use strict";var t=e.i(95187),r=(0,t.createServerReference)("00a0ddd076f0ecfff6070207b48c54c0edd499501e",t.callServer,void 0,t.findSourceMapURL,"deleteAllCookies");e.s(["deleteAllCookies",()=>r],160479);let n=(0,e.i(475254).default)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["AlertTriangle",()=>n],878894)},963540,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(601696),n=e.i(996018),o=e.i(543605),i=e.i(95187),a=(0,i.createServerReference)("0000dd67b6f80430412bbd2e53d7159b71b915ca56",i.callServer,void 0,i.findSourceMapURL,"deleteAccount"),s=e.i(160479),l=e.i(819721),c=e.i(126545),u=e.i(268462),d=e.i(519455),f=e.i(776639),p=e.i(431908),h=e.i(408913),m=e.i(87299),y=e.i(721552),x=e.i(617310),v=e.i(878894),b=e.i(271645),w=e.i(170319),S=e.i(346944);let C="account-exit-offboarding-submit-anchor";function j(){m.useUserModalStore.getState().setState({isAccountExitFlowModalOn:!0})}e.s(["default",0,({userId:e})=>{let{setState:i,isAccountExitFlowModalOn:j}=(0,m.useUserModalStore)((0,S.useShallow)(e=>({isAccountExitFlowModalOn:e.isAccountExitFlowModalOn,setState:e.setState}))),{cookies:N}=(0,p.useAppCookies)(),E=e??N.userId,[A,T]=(0,b.useState)("survey"),k=(0,h.useGlobalCookieStore)(e=>e.subscriptionId),[_,P]=(0,b.useState)(!1),[O,R]=(0,b.useState)(!0),[M,F]=(0,b.useState)(!1),[L,I]=(0,b.useState)(null);(0,b.useEffect)(()=>{j&&T(!0===(0,x.getSessionStorageItem)("didSubmitChromeExtOffboardingSurveyInSession")?"choice":"survey")},[j]);let D=(0,b.useCallback)(()=>{i({isAccountExitFlowModalOn:!1})},[i]),B=(0,b.useCallback)(e=>{e||D()},[D]),U=(0,b.useCallback)(async()=>{if(!k&&!E)return void(0,x.presentErrToast)("Sign in on the account page to manage billing.",!0);let e=window.location.origin;if(!await (0,l.validateUrl)(e,"redirect"))return void(0,x.presentErrToast)("An error has occurred. Please refresh the page and try again.",!0);P(!0);try{let t=await (0,o.createStripeCustomerPortal)(k?{userSubscriptionId:k}:{userId:E},`${e}/profile`,"cancel");if(!t?.url)return void(0,x.presentErrToast)("Unable to open Stripe billing. Please try again from your account page.",!0);window.open(t.url)}catch(e){console.error("An error occurred while creating the customer portal session:",e),(0,x.presentErrToast)("Unable to open billing. Please try again.",!0)}finally{P(!1)}},[k,E]);async function z(){R(!1),F(!0);try{let e=await a();if(!e.was_successful){console.error(`Failed to delete the user's account. Error type: ${e.err_type??"n/a"}, Error message: ${e.err_msg??"n/a"}`);let r=(0,t.jsxs)("span",{className:"text-sm",children:["Your account failed to be deleted. Please refresh the page and try again. If this error persist, please contact support"," ",(0,t.jsx)(c.SupportLink,{color:"text-white"}),"."]});w.toast.error(r,{autoClose:9e3,position:"top-center",theme:"colored",style:{zIndex:1e7}}),D();return}await (0,s.deleteAllCookies)();let r=!!(0,x.getLocalStorageItem)("wasRegionAvailabilityNoticeModalShown");localStorage.clear(),sessionStorage.clear(),(0,x.resetUrlParams)(),(0,x.setLocalStorageItem)("wasRegionAvailabilityNoticeModalShown",r),setTimeout(()=>{(0,x.setSessionStorage)("displayToastMsg",`Your account was successfully ✅ deleted. Thank y
5ou for using ${y.APP_NAME}. All the best!`),window.location.reload()},1e3)}catch(e){console.error("Failed to delete the user's account. Reason: ",e)}finally{R(!0),F(!1)}}return(0,t.jsxs)(t.Fragment,{children:[j&&"survey"===A&&null!==L?(0,t.jsx)(r.default,{targetElementToScrollToId:C,indicatorType:"arrowDown",notificationPrimaryText:"Submit and continue",notificationSecondaryText:"Scroll down in this form to reach the button",scrollIntersectionRoot:L}):null,(0,t.jsx)(f.Dialog,{open:j,onOpenChange:B,children:(0,t.jsxs)(f.DialogContent,{ref:e=>{I(e)},className:"max-w-2xl w-[95vw] max-h-[98vh] overflow-y-auto p-0 gap-0 sm:rounded-lg",onClose:D,xIconBtnClassName:"survey"===A?"hidden":void 0,children:["survey"===A?(0,t.jsxs)("div",{className:"pt-6 px-4 sm:px-6 pb-6",children:[(0,t.jsxs)(f.DialogHeader,{className:"px-2 pb-4",children:[(0,t.jsx)(f.DialogTitle,{className:"text-xl sm:text-2xl text-center",children:"We want to improve!"}),(0,t.jsxs)(f.DialogDescription,{className:"text-center text-base",children:["Before you cancel your subscription or delete your account, please fill out this short survey. It'll helps us improve"," ",y.APP_NAME,"."]})]}),(0,t.jsx)(n.default,{onAfterSuccessfulSubmit:()=>T("choice"),isInModal:!0,submitAnchorElementId:C})]}):null,"choice"===A?(0,t.jsxs)("div",{className:"space-y-5 p-6 sm:p-8",children:[(0,t.jsxs)(f.DialogHeader,{children:[(0,t.jsx)(f.DialogTitle,{className:"text-xl sm:text-2xl text-red-500",children:"Cancel Your Subscription Or Delete Your Account"}),(0,t.jsxs)(f.DialogDescription,{className:"text-left text-base",children:["Your feedback was sent. If you pay for ",y.APP_NAME,", choose how you'd like to proceed below."]})]}),(0,t.jsxs)("div",{className:"space-y-4 rounded-xl border border-gray-200 bg-gray-50/80 p-4 dark:border-gray-700 dark:bg-gray-900/40",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-gray-900 dark:text-gray-50",children:"Cancel subscription"}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"Cancel stops renewal at the end of your current billing period. You can keep using your paid features until that date."}),(0,t.jsx)(d.Button,{type:"button",className:"w-full bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] text-white hover:opacity-90",disabled:_,onClick:U,children:_?"Opening billing…":"Open Stripe billing to cancel"})]}),(0,t.jsxs)("div",{className:"space-y-3 rounded-xl border border-red-200 bg-red-50/50 p-4 dark:border-red-900/60 dark:bg-red-950/25",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-red-900 dark:text-red-100",children:"Delete account"}),(0,t.jsxs)("p",{className:"text-sm leading-relaxed text-red-900/90 dark:text-red-100/90",children:["Permanently delete your ",y.APP_NAME," account and data. You will confirm on the next step."]}),(0,t.jsx)(d.Button,{type:"button",variant:"outline",className:"w-full border-red-300 text-red-800 hover:bg-red-100 dark:border-red-800 dark:text-red-100 dark:hover:bg-red-950/50",onClick:()=>T("confirmDelete"),children:"Continue to delete your account"})]})]}):null,"confirmDelete"===A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex justify-center items-center flex-col py-8 px-6 sm:px-8",children:[(0,t.jsx)("div",{className:"flex items-center justify-center w-16 h-16 rounded-full bg-red-100 mb-5",children:(0,t.jsx)(v.AlertTriangle,{className:"w-8 h-8 text-red-600",strokeWidth:2.5})}),(0,t.jsx)(f.DialogTitle,{className:"text-xl font-semibold text-gray-900 mb-3 text-center",children:"Are you absolutely sure?"}),(0,t.jsxs)("div",{className:"space-y-3 max-w-md",children:[(0,t.jsxs)("p",{className:"text-base text-gray-700 text-center leading-relaxed",children:["This action"," ",(0,t.jsx)("span",{className:"font-semibold text-red-600",children:"cannot be undone"}),". All your data will be permanently deleted."]}),(0,t.jsx)("p",{className:"text-base text-gray-700 text-center leading-relaxed",children:"You will lose access to our services immediately once your account has been deleted."})]}),(0,t.jsx)("div",{className:"mt-5 p-4 bg-red-50 border border-red-200 rounded-lg max-w-md",children:(0,t.jsx)("p",{className:"text-sm text-red-800 text-center",children:"This includes all your saved data, settings, and subscription information."})})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end w-full py-4 px-6 border-t border-gray-200 gap-3 bg-gray-50",children:[(0,t.jsx)(d.Button,{type:"button",variant:"outline",className:"bg-white hover:bg-gray-50 text-gray-700 border border-gray-300",onClick:()=>T("choice"),children:"Back"}),(0,t.jsx)(d.Button,{type:"button",onClick:D,className:"bg-white hover:bg-gray-50 text-gray-700 border border-gray-300 rounded-lg px-5 py-2.5 font-medium transition-colors",children:"Cancel"}),(0,t.jsx)(u.default,{isChildrenDisplayed:O,isSpinnerShown:M,spinnerDimension:{width:20,height:20},disabled:M,variant:"destructive",onClick:z,spinnerColor:"white",className:"text-white bg-red-600 hover:bg-red-700 border-0 rounded-lg px-5 py-2.5 font-semibold transition-colors disabled:opacity-60",children:"Delete Account"})]})]}):null]})})]})},"openAccountExitFlow",()=>j],963540)},488143,(e,t,r)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:r,blurHeight:n,blurDataURL:o,objectFit:i}){let a=r?40*r:e,s=n?40*n:t,l=a&&s?`viewBox='0 0 ${a} ${s}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${l}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
5ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${l?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},987690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return a}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},908927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return l}}),e.r(233525);let n=e.r(488143),o=e.r(987690),i=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function l({src:e,sizes:t,unoptimized:r=!1,priority:l=!1,preload:c=!1,loading:u,className:d,quality:f,width:p,height:h,fill:m=!1,style:y,overrideSrc:x,onLoad:v,onLoadingComplete:b,placeholder:w="empty",blurDataURL:S,fetchPriority:C,decoding:j="async",layout:N,objectFit:E,objectPosition:A,lazyBoundary:T,lazyRoot:k,..._},P){var O;let R,M,F,{imgConf:L,showAltText:I,blurComplete:D,defaultLoader:B}=P,U=L||o.imageConfigDefault;if("allSizes"in U)R=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),r=U.qualities?.sort((e,t)=>e-t);R={...U,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=_.loader||B;delete _.loader,delete _.srcSet;let $="__next_img_default"in z;if($){if("custom"===R.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
6Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:r,...n}=t;return e(n)}}if(N){"fill"===N&&(m=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[N];e&&(y={...y,...e});let r={responsive:"100vw",fill:"100vw"}[N];r&&!t&&(t=r)}let q="",W=s(p),H=s(h);if((O=e)&&"object"==typeof O&&(a(O)||void 0!==O.src)){let t=a(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(M=t.blurWidth,F=t.blurHeight,S=S||t.blurDataURL,q=t.src,!m)if(W||H){if(W&&!H){let e=W/t.width;H=Math.round(t.height*e)}else if(!W&&H){let e=H/t.height;W=Math.round(t.width*e)}}else W=t.width,H=t.height}let V=!l&&!c&&("lazy"===u||void 0===u);(!(e="string"==typeof e?e:q)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,V=!1),R.unoptimized&&(r=!0),$&&!R.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let G=s(f),Y=Object.assign(m?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:A}:{},I?{}:{color:"transparent"},y),X=D||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:W,heightInt:H,blurWidth:M,blurHeight:F,blurDataURL:S||"",objectFit:Y.objectFit})}")`:`url("${w}")`,K=i.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=X?{backgroundSize:K,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Z=function({config:e,src:t,unoptimized:r,width:n,quality:o,sizes:i,loader:a}){if(r)return{src:t,srcSet:void 0,sizes:void 0};let{widths:s,kind:l}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,o=[];for(let e;e=r.exec(n);)o.push(parseInt(e[2]));if(o.length){let r=.01*Math.min(...o);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,n,i),c=s.length-1;return{sizes:i||"w"!==l?i:"100vw",srcSet:s.map((r,n)=>`${a({config:e,src:t,quality:o,width:r})} ${"w"===l?r:n+1}${l}`).join(", "),src:a({config:e,src:t,quality:o,width:s[c]})}}({config:R,src:e,unoptimized:r,width:W,quality:G,sizes:t,loader:z}),Q=V?"lazy":u;return{props:{..._,loading:Q,fetchPriority:C,width:W,height:H,decoding:j,className:d,style:{...Y,...J},sizes:Z.sizes,srcSet:Z.srcSet,src:x||Z.src},meta:{unoptimized:r,preload:c||l,placeholder:w,fill:m}}}},898879,(e,t,r)=>{"use strict";
6Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(271645),o="undefined"==typeof window,i=o?()=>{}:n.useLayoutEffect,a=o?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return o&&(t?.mountedInstances?.add(e.children),s()),i(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},325633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return d}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(555682),a=e.r(190809),s=e.r(843476),l=a._(e.r(271645)),c=i._(e.r(898879)),u=e.r(742732);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(233525);let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,n,o;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,o={},e=>{let i=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?i=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?i=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?i=!1:n.add(r);else{let t=e.props[r],n=o[r]||new Set;
6("name"!==r||!a)&&n.has(t)?i=!1:(n.add(t),o[r]=n)}}}return i})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,l.useContext)(u.HeadManagerContext);return(0,s.jsx)(c.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},918556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=e.r(555682)._(e.r(271645)),o=e.r(987690),i=n.default.createContext(o.imageConfigDefault)},65856,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(555682)._(e.r(271645)).default.createContext(null)},670965,(e,t,r)=>{"use strict";function n(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,0):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let n=e.r(670965);function o({config:e,src:t,width:r,quality:o}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
7Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,n.findClosestQuality)(o,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${i}${t.startsWith("/_next/static/media/")&&1?"&dpl=dpl_94JnxfAN9hGXtqYdrTyYj4MhW9Av":""}`}o.__next_img_default=!0;let i=o},605500,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return w}});let n=e.r(555682),o=e.r(190809),i=e.r(843476),a=o._(e.r(271645)),s=n._(e.r(174080)),l=n._(e.r(325633)),c=e.r(908927),u=e.r(987690),d=e.r(918556);e.r(233525);let f=e.r(65856),p=n._(e.r(1948)),h=e.r(818581),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function y(e,t,r,n,o,i,a){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function x(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,a.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:o,decoding:s,className:l,style:c,fetchPriority:u,placeholder:d,loading:f,unoptimized:p,fill:m,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:S,sizesInput:C,onLoad:j,onError:N,...E},A)=>{let T=(0,a.useCallback)(e=>{e&&(N&&(e.src=e.src),e.complete&&y(e,d,v,b,w,p,C))},[e,d,v,b,w,N,p,C]),k=(0,h.useMergedRef)(A,T);return(0,i.jsx)("img",{...E,...x(u),loading:f,width:o,height:n,decoding:s,"data-nimg":m?"fill":"1",className:l,style:c,sizes:r,srcSet:t,src:e,ref:k,onLoad:e=>{y(e.currentTarget,d,v,b,w,p,C)},onError:e=>{S(!0),"empty"!==d&&w(!0),N&&N(e)}})});function b({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,r),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(f.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{let e=m||n||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
7e-t),r=e.deviceSizes.sort((e,t)=>e-t),o=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:o,localPatterns:"undefined"==typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:l}=e,h=(0,a.useRef)(s);(0,a.useEffect)(()=>{h.current=s},[s]);let y=(0,a.useRef)(l);(0,a.useEffect)(()=>{y.current=l},[l]);let[x,w]=(0,a.useState)(!1),[S,C]=(0,a.useState)(!1),{props:j,meta:N}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:o,blurComplete:x,showAltText:S});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(v,{...j,unoptimized:N.unoptimized,placeholder:N.placeholder,fill:N.fill,onLoadRef:h,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:C,sizesInput:e.sizes,ref:t}),N.preload?(0,i.jsx)(b,{isAppRouter:!r,imgAttributes:j}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},794909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return u},getImageProps:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(555682),a=e.r(908927),s=e.r(605500),l=i._(e.r(1948));function c(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=s.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},343794,(e,t,r)=>{!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)r.call(e,i)&&e[i]&&(t=o(t,i));return t}(i)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)n.default=n,t.exports=n;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==n&&e.v(n);else window.classNames=n}()},196746,e=>{"use strict";var t=e.i(247167),r=e.i(271645);let n=Math.min,o=Math.max,i=Math.round,a=Math.floor,s=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function y(e){return m.has(d(e))?"y":"x"}function x(e){return e.replace(/start|end/g,e=>c[e])}let v=["left","right"],b=["right","left"],w=["top","bottom"],S=["bottom","top"];function C(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function j(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function N(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function E(e,t,r){let n,{reference:o,floating:i}=e,a=y(t),s=p(y(t)),l=h(s),c=d(t),u="y"===a,m=o.x+o.width/2-i.width/2,x=o.y+o.height/2-i.height/2,v=o[l]/2-i[l]/2;switch(c){case"top":n={x:m,y:o.y-i.height};break;case"bottom":n={x:m,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:x};break;case"left":n={x:o.x-i.width,y:x};break;default:n={x:o.x,y:o.y}}switch(f(t)){case"start":n[s]-=v*(r&&u?-1:1);break;case"end":n[s]+=v*(r&&u?-1:1)}return n}let A=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}
7=r,s=i.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=E(c,n,l),f=n,p={},h=0;for(let r=0;r<s.length;r++){let{name:i,fn:m}=s[r],{x:y,y:x,data:v,reset:b}=await m({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=x?x:d,p={...p,[i]:{...p[i],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:d}=E(c,f,l)),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:p}};async function T(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=j(h),y=s[p?"floating"===f?"reference":"floating":f],x=N(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(y)))||r?y:y.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),v="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},S=N(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:b,strategy:l}):v);return{top:(x.top-S.top+m.top)/w.y,bottom:(S.bottom-x.bottom+m.bottom)/w.y,left:(x.left-S.left+m.left)/w.x,right:(S.right-x.right+m.right)/w.x}}let k=new Set(["left","top"]);async function _(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=d(r),s=f(r),l="y"===y(r),c=k.has(a)?-1:1,p=i&&l?-1:1,h=u(t,e),{mainAxis:m,crossAxis:x,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof v&&(x="end"===s?-1*v:v),l?{x:x*p,y:m*c}:{x:m*c,y:x*p}}function P(){return"undefined"!=typeof window}function O(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function R(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!P()&&(e instanceof Node||e instanceof R(e).Node)}function L(e){return!!P()&&(e instanceof Element||e instanceof R(e).Element)}function I(e){return!!P()&&(e instanceof HTMLElement||e instanceof R(e).HTMLElement)}function D(e){return!!P()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof R(e).ShadowRoot)}let B=new Set(["inline","contents"]);function U(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!B.has(o)}let z=new Set(["table","td","th"]),$=[":popover-open",":modal"];function q(e){return $.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let W=["transform","translate","scale","rotate","perspective"],H=["transform","translate","scale","rotate","perspective","filter"],V=["paint","layout","strict","content"];function G(e){let t=Y(),r=L(e)?J(e):e;return W.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||H.some(e=>(r.willChange||"").includes(e))||V.some(e=>(r.contain||"").includes(e))}function Y(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let X=new Set(["html","body","#document"]);function K(e){return X.has(O(e))}function J(e){return R(e).getComputedStyle(e)}function Z(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if("html"===O(e))return e;let t=e.assignedSlot||e.parentNode||D(e)&&e.host||M(e);return D(t)?t.host:t}function ee(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=Q(t);return K(r)?t.ownerDocument?t.ownerDocument.body:t.body:I(r)&&U(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=R(o);if(i){let e=et(a);
7return t.concat(a,a.visualViewport||[],U(o)?o:[],e&&r?ee(e):[])}return t.concat(o,ee(o,[],r))}function et(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function er(e){let t=J(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=I(e),a=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=i(r)!==a||i(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function en(e){return L(e)?e:e.contextElement}function eo(e){let t=en(e);if(!I(t))return s(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=er(t),l=(a?i(r.width):r.width)/n,c=(a?i(r.height):r.height)/o;return l&&Number.isFinite(l)||(l=1),c&&Number.isFinite(c)||(c=1),{x:l,y:c}}let ei=s(0);function ea(e){let t=R(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ei}function es(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=en(e),l=s(1);t&&(n?L(n)&&(l=eo(n)):l=eo(e));let c=(void 0===(o=r)&&(o=!1),n&&(!o||n===R(a))&&o)?ea(a):s(0),u=(i.left+c.x)/l.x,d=(i.top+c.y)/l.y,f=i.width/l.x,p=i.height/l.y;if(a){let e=R(a),t=n&&L(n)?R(n):n,r=e,o=et(r);for(;o&&n&&t!==r;){let e=eo(o),t=o.getBoundingClientRect(),n=J(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,d*=e.y,f*=e.x,p*=e.y,u+=i,d+=a,o=et(r=R(o))}}return N({width:f,height:p,x:u,y:d})}function el(e,t){let r=Z(e).scrollLeft;return t?t.left+r:es(M(e)).left+r}function ec(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-el(e,r),y:r.top+t.scrollTop}}let eu=new Set(["absolute","fixed"]);function ed(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=R(e),n=M(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=Y();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}let c=el(n);if(c<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t){let t,r,a,s,l,c,u;n=M(e),t=M(n),r=Z(n),a=n.ownerDocument.body,s=o(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),l=o(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),c=-r.scrollLeft+el(n),u=-r.scrollTop,"rtl"===J(a).direction&&(c+=o(t.clientWidth,a.clientWidth)-s),i={width:s,height:l,x:c,y:u}}else if(L(t)){let e,n,o,a,l,c;n=(e=es(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,a=I(t)?eo(t):s(1),l=t.clientWidth*a.x,c=t.clientHeight*a.y,i={width:l,height:c,x:o*a.x,y:n*a.y}}else{let r=ea(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return N(i)}function ef(e){return"static"===J(e).position}function ep(e,t){if(!I(e)||"fixed"===J(e).position)return null;if(t)return t(e);let r=e.offsetParent;return M(e)===r&&(r=r.ownerDocument.body),r}function eh(e,t){var r;let n=R(e);if(q(e))return n;if(!I(e)){let t=Q(e);for(;t&&!K(t);){if(L(t)&&!ef(t))return t;t=Q(t)}return n}let o=ep(e,t);for(;o&&(r=o,z.has(O(r)))&&ef(o);)o=ep(o,t);return o&&K(o)&&ef(o)&&!G(o)?n:o||function(e){let t=Q(e);for(;I(t)&&!K(t);){if(G(t))return t;if(q(t))break;t=Q(t)}return null}(e)||n}let em=async function(e){let t=this.getOffsetParent||eh,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=I(t),o=M(t),i="fixed"===r,a=es(e,!0,i,t),l={scrollLeft:0,scrollTop:0},c=s(0);if(n||!n&&!i)if(("body"!==O(t)||U(o))&&(l=Z(t)),n){let e=es(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=el(o));i&&!n&&o&&(c.x=el(o));let u=!o||n||i?s(0):ec(o,l);return{x:a.left+l.scrollLeft-c.x-u.x,y:a.top+l.scrollTop-c.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eg={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=M(n),l=!!t&&q(t.floating);if(n===a||l&&i)return r;let c={scrollLeft:0,scrollTop:0},u=s(1),d=s(0),f=I(n);if((f||!f&&!i)&&(("body"!==O(n)||U(a))&&(c=Z(n)),I(n))){let e=es(n);u=eo(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let p=!a||f||i?s(0):ec(a,c);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x+p.x,y:r.y*u.y-c.scrollTop*u.y+d.y+p.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e,s=[..."clippingAncestors"===r?q(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=ee(e,[],!1).filter(e=>L(e)&&"body"!==O(e)),o=null,i="fixed"===J(e).position,a=i?Q(e):e;for(;L(a)&&!K(a);){let t=J(a),r=G(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&eu.has(o.position)||U(a)&&!r&&function e(t,r){let n=Q(t);return!(n===r||!L(n)||K(n))&&("fixed"===J(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=Q(a)}return t.set(e,n),n}(t,this._c):[].concat(r),i],l=s[0],c=s.reduce((e,r)=>{let i=ed(t,r,a);return e.top=o(i.top,e.top),e.right=n(i.right,e.right),e.bottom=n(i.bottom,e.bottom),e.left=o(i.left,e.left),e},ed(t,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:eh,getElementRects:em,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=er(e);return{width:t,height:r}},getScale:eo,isElement:L,isRTL:function(e){return"rtl"===J(e).direction}};function ey(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:s}=t,l=await _(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},ev=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...f}=u(e,t),h={x:r,y:i},m=await T(t,f),x=y(d(a)),v=p(x),b=h[v],w=h[x];if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",r=b+m[e],i=b-m[t];b=o(r,n(b,i))}if(l){let e="y"===x?"top":"left",t="y"===x?"bottom":"right",r=w+m[e],i=w-m[t];w=o(r,n(w,i))}let S=c.fn({...t,[v]:b,[x]:w});return{...S,data:{x:S.x-r,y:S.y-i,enabled:{[v]:s,[x]:l}}}}}},eb=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,i,a,s,l,c;let m,j,N,{placement:E,middlewareData:A,rects:k,initialPlacement:_,platform:P,elements:O}=t,{mainAxis:R=!0,crossAxis:M=!0,fallbackPlacements:F,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:D=!0,...B}=u(e,t);if(null!=(r=A.arrow)&&r.alignmentOffset)return{};let U=d(E),z=y(_),$=d(_)===_,q=await (null==P.isRTL?void 0:P.isRTL(O.floating)),W=F||($||!D?[C(_)]:(m=C(_),[x(_),m,x(m)])),H="none"!==I;!F&&H&&W.push(...(j=f(_),N=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?b:v;return t?v:b;case"left":case"right":return t?w:S;default:return[]}}(d(_),"start"===I,q),j&&(N=N.map(e=>e+"-"+j),D&&(N=N.concat(N.map(x)))),N));let V=[_,...W],G=await T(t,B),Y=[],X=(null==(n=A.flip)?void 0:n.overflows)||[];if(R&&Y.push(G[U]),M){let e,t,r,n,o=(s=E,l=k,void 0===(c=q)&&(c=!1),e=f(s),r=h(t=p(y(s))
7),n="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[r]>l.floating[r]&&(n=C(n)),[n,C(n)]);Y.push(G[o[0]],G[o[1]])}if(X=[...X,{placement:E,overflows:Y}],!Y.every(e=>e<=0)){let e=((null==(o=A.flip)?void 0:o.index)||0)+1,t=V[e];if(t&&("alignment"!==M||z===y(t)||X.every(e=>y(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:X},reset:{placement:t}};let r=null==(i=X.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(L){case"bestFit":{let e=null==(a=X.filter(e=>{if(H){let t=y(e.placement);return t===z||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=_}if(E!==r)return{reset:{placement:r}}}return{}}}},ew=(e,t,r)=>{let n=new Map,o={platform:eg,...r},i={...o.platform,_c:n};return A(e,t,{...o,platform:i})};var eS=e.i(343794);let eC={core:!1,base:!1};function ej({css:e,id:r="react-tooltip-base-styles",type:n="base",ref:o}){var i,a;if(!e||"undefined"==typeof document||eC[n]||"core"===n&&void 0!==t.default&&(null==(i=null===t.default||void 0===t.default?void 0:t.default.env)?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||"base"!==n&&void 0!==t.default&&(null==(a=null===t.default||void 0===t.default?void 0:t.default.env)?void 0:a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(r="react-tooltip-core-styles"),o||(o={});let{insertAt:s}=o;if(document.getElementById(r))return;let l=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=r,c.type="text/css","top"===s&&l.firstChild?l.insertBefore(c,l.firstChild):l.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),eC[n]=!0}let eN=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:i="top",offset:a=10,strategy:s="absolute",middlewares:l=[ex(Number(a)),eb({fallbackAxisSideDirection:"start"}),ev({padding:5})],border:c,arrowSize:d=8})=>{let m;return e&&null!==t?r?(l.push({name:"arrow",options:m={element:r,padding:5},async fn(e){let{x:t,y:r,placement:i,rects:a,platform:s,elements:l,middlewareData:c}=e,{element:d,padding:x=0}=u(m,e)||{};if(null==d)return{};let v=j(x),b={x:t,y:r},w=p(y(i)),S=h(w),C=await s.getDimensions(d),N="y"===w,E=N?"clientHeight":"clientWidth",A=a.reference[S]+a.reference[w]-b[w]-a.floating[S],T=b[w]-a.reference[w],k=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),_=k?k[E]:0;_&&await (null==s.isElement?void 0:s.isElement(k))||(_=l.floating[E]||a.floating[S]);let P=_/2-C[S]/2-1,O=n(v[N?"top":"left"],P),R=n(v[N?"bottom":"right"],P),M=_-C[S]-R,F=_/2-C[S]/2+(A/2-T/2),L=o(O,n(F,M)),I=!c.arrow&&null!=f(i)&&F!==L&&a.reference[S]/2-(F<O?O:R)-C[S]/2<0,D=I?F<O?F-O:F-M:0;return{[w]:b[w]+D,data:{[w]:L,centerOffset:F-L-D,...I&&{alignmentOffset:D}},reset:I}}}),ew(e,t,{placement:i,strategy:s,middleware:l}).then(({x:e,y:t,placement:r,middlewareData:n})=>{var o,i;let a={left:`${e}px`,top:`${t}px`,border:c},{x:s,y:l}=null!=(o=n.arrow)?o:{x:0,y:0},u=null!=(i=({top:"bottom",right:"left",bottom:"top",left:"right"})[r.split("-")[0]])?i:"bottom",f=0;if(c){let e=`${c}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:a,tooltipArrowStyles:{left:null!=s?`${s}px`:"",top:null!=l?`${l}px`:"",right:"",bottom:"",...c&&{borderBottom:c,borderRight:c},[u]:`-${d/2+f}px`},place:r}})):ew(e,t,{placement:"bottom",strategy:s,middleware:l}).then(({x:e,y:t,placement:r})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:r})):{tooltipStyles:{},tooltipArrowStyles:{},place:i}},eE=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),eA=(e,t,r)=>{let n=null,o=function(...o){let i=()=>{n=null,r||e.apply(this,o)};r&&!n&&(e.apply(this,o),n=setTimeout(i,t)),r||(n&&clearTimeout(n),n=setTimeout(i,t))};return o.cancel=()=>{n&&(clearTimeout(n),n=null)},o},eT=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,ek=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,r)=>ek(e,t[r]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!eT(e)||!eT(t))return e===t;let r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(r=>ek(e[r],t[r]))},e_=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(e=>{let r=t.getPropertyValue(e);return"auto"===r||"scroll"===r})},eP=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(e_(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},eO="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,eR=e=>{e.current&&(clearTimeout(e.current),e.current=null)},eM={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},eF=(0,r.createContext)({getTooltipData:()=>eM});function eL(e="DEFAULT_TOOLTIP_ID"){return(0,r.useContext)(eF).getTooltipData(e)}var eI={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},eD={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};let eB=({forwardRef:e,id:t,className:i,classNameArrow:s,variant:l="dark",anchorId:c,anchorSelect:u,place:d="top",offset:f=10,events:p=["hover"],openOnClick:h=!1,positionStrategy:m="absolute",middlewares:y,wrapper:x,delayShow:v=0,delayHide:b=0,float:w=!1,hidden:S=!1,noArrow:C=!1,clickable:j=!1,closeOnEsc:N=!1,closeOnScroll:E=!1,closeOnResize:A=!1,openEvents:T,closeEvents:k,globalCloseEvents:_,imperativeModeOnly:P,style:O,position:R,afterShow:F,afterHide:L,disableTooltip:I,content:D,contentWrapperRef:B,isOpen:U,defaultIsOpen:z=!1,setIsOpen:$,previousActiveAnchor:q,activeAnchor:W,setActiveAnchor:H,border:V,opacity:G,arrowColor:Y,arrowSize:X=8,role:K="tooltip"})=>{var J;let Z=(0,r.useRef)(null),Q=(0,r.useRef)(null),et=(0,r.useRef)(null),er=(0,r.useRef)(null),eo=(0,r.useRef)(null),[ei,ea]=(0,r.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[el,ec]=(0,r.useState)(!1),[eu,ed]=(0,r.useState)(!1),[ef,ep]=(0,r.useState)(null),eh=(0,r.useRef)(!1),em=(0,r.useRef)(null),{anch
7orRefs:eg,setActiveAnchor:ex}=eL(t),ev=(0,r.useRef)(!1),[eb,ew]=(0,r.useState)([]),eC=(0,r.useRef)(!1),ej=h||p.includes("click"),eE=ej||(null==T?void 0:T.click)||(null==T?void 0:T.dblclick)||(null==T?void 0:T.mousedown),eT=T?{...T}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!T&&ej&&Object.assign(eT,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});let e_=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&ej&&Object.assign(e_,{mouseleave:!1,blur:!1,mouseout:!1});let eM=_?{..._}:{escape:N||!1,scroll:E||!1,resize:A||!1,clickOutsideAnchor:eE||!1};P&&(Object.assign(eT,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(e_,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(eM,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),eO(()=>(eC.current=!0,()=>{eC.current=!1}),[]);let eF=e=>{eC.current&&(e&&ed(!0),setTimeout(()=>{eC.current&&(null==$||$(e),void 0===U&&ec(e))},10))};(0,r.useEffect)(()=>{if(t){if(el){r(q);let n=[...new Set([...e(W),t])].filter(Boolean).join(" ");null==W||W.setAttribute("aria-describedby",n)}else r(W);return()=>{r(W),r(q)}}function e(e){var t;return(null==(t=null==e?void 0:e.getAttribute("aria-describedby"))?void 0:t.split(" "))||[]}function r(r){let n=e(r).filter(e=>e!==t);n.length?null==r||r.setAttribute("aria-describedby",n.join(" ")):null==r||r.removeAttribute("aria-describedby")}},[W,el,t,q]),(0,r.useEffect)(()=>{if(void 0===U)return()=>null;U&&ed(!0);let e=setTimeout(()=>{ec(U)},10);return()=>{clearTimeout(e)}},[U]),(0,r.useEffect)(()=>{el!==eh.current&&((eR(eo),eh.current=el,el)?null==F||F():eo.current=setTimeout(()=>{ed(!1),ep(null),null==L||L()},(e=>{let t=e.match(/^([\d.]+)(ms|s)$/);if(!t)return 0;let[,r,n]=t;return Number(r)*("ms"===n?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"))+25))},[el]);let eB=e=>{ea(t=>ek(t,e)?t:e)},eU=(e=v)=>{eR(et),eu?eF(!0):et.current=setTimeout(()=>{eF(!0)},e)},ez=(e=b)=>{eR(er),er.current=setTimeout(()=>{ev.current||eF(!1)},e)},e$=e=>{var t;if(!e)return;let r=null!=(t=e.currentTarget)?t:e.target;(null==r?void 0:r.isConnected)?(v?eU():eF(!0),H(r),ex({current:r}),eR(er)):(H(null),ex({current:null}))},eq=()=>{j?ez(b||100):b?ez():eF(!1),eR(et)},eW=({x:e,y:t})=>{var r;eN({place:null!=(r=null==ef?void 0:ef.place)?r:d,offset:f,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:Z.current,tooltipArrowReference:Q.current,strategy:m,middlewares:y,border:V,arrowSize:X}).then(e=>{eB(e)})},eH=e=>{if(!e)return;let t={x:e.clientX,y:e.clientY};eW(t),em.current=t},eV=e=>{var t;if(!el)return;let r=e.target;r.isConnected&&(null==(t=Z.current)||!t.contains(r))&&([document.querySelector(`[id='${c}']`),...eb].some(e=>null==e?void 0:e.contains(r))||(eF(!1),eR(et)))},eG=eA(e$,50,!0),eY=eA(eq,50,!0),eX=e=>{eY.cancel(),eG(e)},eK=()=>{eG.cancel(),eY()},eJ=(0,r.useCallback)(()=>{var e,t;let r=null!=(e=null==ef?void 0:ef.position)?e:R;r?eW(r):w?em.current&&eW(em.current):(null==W?void 0:W.isConnected)&&eN({place:null!=(t=null==ef?void 0:ef.place)?t:d,offset:f,elementReference:W,tooltipReference:Z.current,tooltipArrowReference:Q.current,strategy:m,middlewares:y,border:V,arrowSize:X}).then(e=>{eC.current&&eB(e)})},[el,W,D,O,d,null==ef?void 0:ef.place,f,m,R,null==ef?void 0:ef.position,w,X]);(0,r.useEffect)(()=>{var e,t;let r=new Set(eg);eb.forEach(e=>{(null==I?void 0:I(e))||r.add({current:e})});let i=document.querySelector(`[id='${c}']`);!i||(null==I?void 0:I(i))||r.add({current:i});let s=()=>{eF(!1)},l=eP(W),u=eP(Z.current);eM.scroll&&(window.addEventListener("scroll",s),null==l||l.addEventListener("scroll",s),null==u||u.addEventListener("scroll",s));let d=null;eM.resize?window.addEventListener("resize",s):W&&Z.current&&(d=function(e,t,r,i){let s;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,p=en(e),h=l||c?[...p?ee(p):[],...ee(t)]:[];
7h.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),c&&e.addEventListener("resize",r)});let m=p&&d?function(e,t){let r,i=null,s=M(e);function l(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}return!function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:y}=f;if(u||t(),!m||!y)return;let x={rootMargin:-a(h)+"px "+-a(s.clientWidth-(p+m))+"px "+-a(s.clientHeight-(h+y))+"px "+-a(p)+"px",threshold:o(0,n(1,d))||1},v=!0;function b(t){let n=t[0].intersectionRatio;if(n!==d){if(!v)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||ey(f,e.getBoundingClientRect())||c(),v=!1}try{i=new IntersectionObserver(b,{...x,root:s.ownerDocument})}catch(e){i=new IntersectionObserver(b,x)}i.observe(e)}(!0),l}(p,r):null,y=-1,x=null;u&&(x=new ResizeObserver(e=>{let[n]=e;n&&n.target===p&&x&&(x.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var e;null==(e=x)||e.observe(t)})),r()}),p&&!f&&x.observe(p),x.observe(t));let v=f?es(e):null;return f&&function t(){let n=es(e);v&&!ey(v,n)&&r(),v=n,s=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=x)||e.disconnect(),x=null,f&&cancelAnimationFrame(s)}}(W,Z.current,eJ,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));let f=e=>{"Escape"===e.key&&eF(!1)};eM.escape&&window.addEventListener("keydown",f),eM.clickOutsideAnchor&&window.addEventListener("click",eV);let p=[],h=e=>!!((null==e?void 0:e.target)&&(null==W?void 0:W.contains(e.target))),m=e=>{el&&h(e)||e$(e)},y=e=>{el&&h(e)&&eq()},x=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],v=["click","dblclick","mousedown","mouseup"];Object.entries(eT).forEach(([e,t])=>{t&&(x.includes(e)?p.push({event:e,listener:eX}):v.includes(e)&&p.push({event:e,listener:m}))}),Object.entries(e_).forEach(([e,t])=>{t&&(x.includes(e)?p.push({event:e,listener:eK}):v.includes(e)&&p.push({event:e,listener:y}))}),w&&p.push({event:"pointermove",listener:eH});let b=()=>{ev.current=!0},S=()=>{ev.current=!1,eq()},C=j&&(e_.mouseout||e_.mouseleave);return C&&(null==(e=Z.current)||e.addEventListener("mouseover",b),null==(t=Z.current)||t.addEventListener("mouseout",S)),p.forEach(({event:e,listener:t})=>{r.forEach(r=>{var n;null==(n=r.current)||n.addEventListener(e,t)})}),()=>{var e,t;eM.scroll&&(window.removeEventListener("scroll",s),null==l||l.removeEventListener("scroll",s),null==u||u.removeEventListener("scroll",s)),eM.resize?window.removeEventListener("resize",s):null==d||d(),eM.clickOutsideAnchor&&window.removeEventListener("click",eV),eM.escape&&window.removeEventListener("keydown",f),C&&(null==(e=Z.current)||e.removeEventListener("mouseover",b),null==(t=Z.current)||t.removeEventListener("mouseout",S)),p.forEach(({event:e,listener:t})=>{r.forEach(r=>{var n;null==(n=r.current)||n.removeEventListener(e,t)})})}},[W,eJ,eu,eg,eb,T,k,_,ej,v,b]),(0,r.useEffect)(()=>{var e,r;let n=null!=(r=null!=(e=null==ef?void 0:ef.anchorSelect)?e:u)?r:"";!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);let o=new MutationObserver(e=>{let r=[],o=[];e.forEach(e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?r.push(e.target):e.oldValue===t&&o.push(e.target)),"childList"===e.type){if(W){let t=[...e.removedNodes].filter(e=>1===e.nodeType);if(n)try{o.push(...t.filter(e=>e.matches(n))),o.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}t.some(e=>{var t;return!!(null==(t=null==e?void 0:e.contains)?void 0:t.call(e,W))&&(ed(!1),eF(!1),H(null),eR(et),eR(er),!0)})}if(n)try{let t=[...e.addedNodes].filter(e=>1===e.nodeType);r.push(...t.filter(e=>e.matches(n))),r.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}}}),(r.length||o.length)&&ew(e=>[...e.filter(e=>!o.includes(e)),...r])});return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}},[t,u,null==ef?void 0:ef.anchorSelect,W]),(0,r.useEffect)(()=>{eJ()},[eJ]),(0,r.useEffect)(()=>
7{if(!(null==B?void 0:B.current))return()=>null;let e=new ResizeObserver(()=>{setTimeout(()=>eJ())});return e.observe(B.current),()=>{e.disconnect()}},[D,null==B?void 0:B.current]),(0,r.useEffect)(()=>{var e;let t=document.querySelector(`[id='${c}']`),r=[...eb,t];W&&r.includes(W)||H(null!=(e=eb[0])?e:t)},[c,eb,W]),(0,r.useEffect)(()=>(z&&eF(!0),()=>{eR(et),eR(er)}),[]),(0,r.useEffect)(()=>{var e;let r=null!=(e=null==ef?void 0:ef.anchorSelect)?e:u;if(!r&&t&&(r=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),r)try{let e=Array.from(document.querySelectorAll(r));ew(e)}catch(e){ew([])}},[t,u,null==ef?void 0:ef.anchorSelect]),(0,r.useEffect)(()=>{et.current&&(eR(et),eU(v))},[v]);let eZ=null!=(J=null==ef?void 0:ef.content)?J:D,eQ=el&&Object.keys(ei.tooltipStyles).length>0;return(0,r.useImperativeHandle)(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(t){return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}ep(null!=e?e:null),(null==e?void 0:e.delay)?eU(e.delay):eF(!0)},close:e=>{(null==e?void 0:e.delay)?ez(e.delay):eF(!1)},activeAnchor:W,place:ei.place,isOpen:!!(eu&&!S&&eZ&&eQ)})),eu&&!S&&eZ?r.default.createElement(x,{id:t,role:K,className:(0,eS.default)("react-tooltip",eI.tooltip,eD.tooltip,eD[l],i,`react-tooltip__place-${ei.place}`,eI[eQ?"show":"closing"],eQ?"react-tooltip__show":"react-tooltip__closing","fixed"===m&&eI.fixed,j&&eI.clickable),onTransitionEnd:e=>{eR(eo),el||"opacity"!==e.propertyName||(ed(!1),ep(null),null==L||L())},style:{...O,...ei.tooltipStyles,opacity:void 0!==G&&eQ?G:void 0},ref:Z},eZ,r.default.createElement(x,{className:(0,eS.default)("react-tooltip-arrow",eI.arrow,eD.arrow,s,C&&eI.noArrow),style:{...ei.tooltipArrowStyles,background:Y?`linear-gradient(to right bottom, transparent 50%, ${Y} 50%)`:void 0,"--rt-arrow-size":`${X}px`},ref:Q})):null},eU=({content:e})=>r.default.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),ez=r.default.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:o,html:i,render:a,className:s,classNameArrow:l,variant:c="dark",place:u="top",offset:d=10,wrapper:f="div",children:p=null,events:h=["hover"],openOnClick:m=!1,positionStrategy:y="absolute",middlewares:x,delayShow:v=0,delayHide:b=0,float:w=!1,hidden:S=!1,noArrow:C=!1,clickable:j=!1,closeOnEsc:N=!1,closeOnScroll:E=!1,closeOnResize:A=!1,openEvents:T,closeEvents:k,globalCloseEvents:_,imperativeModeOnly:P=!1,style:O,position:R,isOpen:M,defaultIsOpen:F=!1,disableStyleInjection:L=!1,border:I,opacity:D,arrowColor:B,arrowSize:U,setIsOpen:z,afterShow:$,afterHide:q,disableTooltip:W,role:H="tooltip"},V)=>{let[G,Y]=(0,r.useState)(o),[X,K]=(0,r.useState)(i),[J,Z]=(0,r.useState)(u),[Q,ee]=(0,r.useState)(c),[et,er]=(0,r.useState)(d),[en,eo]=(0,r.useState)(v),[ei,ea]=(0,r.useState)(b),[es,el]=(0,r.useState)(w),[ec,eu]=(0,r.useState)(S),[ed,ef]=(0,r.useState)(f),[ep,eh]=(0,r.useState)(h),[em,eg]=(0,r.useState)(y),[ey,ex]=(0,r.useState)(null),[ev,eb]=(0,r.useState)(null),ew=(0,r.useRef)(null),eC=(0,r.useRef)(L),{anchorRefs:ej,activeAnchor:eN}=eL(e),eA=e=>null==e?void 0:e.getAttributeNames().reduce((t,r)=>{var n;return r.startsWith("data-tooltip-")&&(t[r.replace(/^data-tooltip-/,"")]=null!=(n=null==e?void 0:e.getAttribute(r))?n:null),t},{}),eT=e=>{let t={place:e=>{Z(null!=e?e:u)},content:e=>{Y(null!=e?e:o)},html:e=>{K(null!=e?e:i)},variant:e=>{ee(null!=e?e:c)},offset:e=>{er(null===e?d:Number(e))},wrapper:e=>{ef(null!=e?e:f)},events:e=>{let t=null==e?void 0:e.split(" ");eh(null!=t?t:h)},"position-strategy":e=>{eg(null!=e?e:y)},"delay-show":e=>{eo(null===e?v:Number(e))},"delay-hide":e=>{ea(null===e?b:Number(e))},float:e=>{el(null===e?w:"true"===e)},hidden:e=>{eu(null===e?S:"true"===e)},"class-name":e=>{ex(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,r])=>{var n;null==(n=t[e])||n.call(t,r)})};(0,r.useEffect)(()=>{Y(o)},[o]),(0,r.useEffect)(()=>{K(i)},[i]),(0,r.useEffect)(()=>{Z(u)},[u]),(0,r.useEffect)(()=>{ee(c)},[c]),(0,r.useEffect)(()=>{er(d)},[d]),(0,r.useEffect)(()=>{eo(v)},[v]),(0,r.useEffect)(()=>{ea(b)},[b]),(0,r.useEffect)(()=>{el(w)},[w]),(0,r.useEffect)(()=>{eu(S)},[S]),(0,r.useEffect)(()=>{eg(y)},[y]),(0,r.useEffect)(()=>{eC.current!==L&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[L]),(0,r.useEffect)(()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===L,disableBase:L}}))},[]),(0,r.useEffect)(()=>{var r;let o=new Set(ej),i=n;
7if(!i&&e&&(i=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach(e=>{o.add({current:e})})}catch(e){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}let a=document.querySelector(`[id='${t}']`);if(a&&o.add({current:a}),!o.size)return()=>null;let s=null!=(r=null!=ev?ev:a)?r:eN.current,l=new MutationObserver(e=>{e.forEach(e=>{var t;s&&"attributes"===e.type&&(null==(t=e.attributeName)?void 0:t.startsWith("data-tooltip-"))&&eT(eA(s))})});return s&&(eT(eA(s)),l.observe(s,{attributes:!0,childList:!1,subtree:!1})),()=>{l.disconnect()}},[ej,eN,ev,t,n]),(0,r.useEffect)(()=>{(null==O?void 0:O.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),I&&!eE("border",`${I}`)&&console.warn(`[react-tooltip] "${I}" is not a valid \`border\`.`),(null==O?void 0:O.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),D&&!eE("opacity",`${D}`)&&console.warn(`[react-tooltip] "${D}" is not a valid \`opacity\`.`)},[]);let ek=p,e_=(0,r.useRef)(null);if(a){let e=a({content:(null==ev?void 0:ev.getAttribute("data-tooltip-content"))||G||null,activeAnchor:ev});ek=e?r.default.createElement("div",{ref:e_,className:"react-tooltip-content-wrapper"},e):null}else G&&(ek=G);X&&(ek=r.default.createElement(eU,{content:X}));let eP={forwardRef:V,id:e,anchorId:t,anchorSelect:n,className:(0,eS.default)(s,ey),classNameArrow:l,content:ek,contentWrapperRef:e_,place:J,variant:Q,offset:et,wrapper:ed,events:ep,openOnClick:m,positionStrategy:em,middlewares:x,delayShow:en,delayHide:ei,float:es,hidden:ec,noArrow:C,clickable:j,closeOnEsc:N,closeOnScroll:E,closeOnResize:A,openEvents:T,closeEvents:k,globalCloseEvents:_,imperativeModeOnly:P,style:O,position:R,isOpen:M,defaultIsOpen:F,border:I,opacity:D,arrowColor:B,arrowSize:U,setIsOpen:z,afterShow:$,afterHide:q,disableTooltip:W,activeAnchor:ev,previousActiveAnchor:ew.current,setActiveAnchor:e=>{eb(t=>((null==e?void 0:e.isSameNode(t))||(ew.current=t),e))},role:H};return r.default.createElement(eB,{...eP})});"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||ej({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||ej({css:`
8.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})}),e.s(["Tooltip",()=>ez],196746)},258078,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(32638),o=e.i(37727),i=e.i(475254);let a=(0,i.default)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),s=(0,i.default)("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);var l=e.i(721552),c=e.i(772152),u=e.i(522016),d=e.i(975157);let f=function({children:e=l.APP_NAME,textSize:r="xl",className:n,additionalClassNames:o,handleOnClick:i}){return(0,t.jsx)(u.default,{href:"/",onClick:i,className:(0,d.mergeTailwindClasses)("font-bold",`text-${r}`,"bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text text-transparent","hover:opacity-80 transition-opacity duration-200",n,o),children:e})};var p=e.i(618566),h=e.i(408913),m=e.i(511152),y=e.i(553425),x=e.i(431908),v=e.i(473665),b=e.i(940141);function w(e){return(0,b.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M12 6C12.5523 6 13 6.44772 13 7V13C13 13.5523 12.5523 14 12 14C11.4477 14 11 13.5523 11 13V7C11 6.44772 11.4477 6 12 6Z",fill:"currentColor"},child:[]},{tag:"path",attr:{d:"M12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16Z",fill:"currentColor"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12Z",fill:"currentColor"},child:[]}]})(e)}function S(e){return(0,b.GenIcon)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M4.5 1L4 1.5V3.02746C4.16417 3.00932 4.331 3 4.5 3C4.669 3 4.83583 3.00932 5 3.02746V2H14V7H12.2929L11 8.29289V7H8.97254C8.99068 7.16417 9 7.331 9 7.5C9 7.669 8.99068 7.83583 8.97254 8H10V9.5L10.8536 9.85355L12.7071 8H14.5L15 7.5V1.5L14.5 1H4.5Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M6.41705 10.4288C7.37039 9.80348 8 8.72527 8 7.5C8 5.567 6.433 4 4.5 4C2.567 4 1 5.567 1 7.5C1 8.72527 1.62961 9.80348 2.58295 10.4288C2.11364 10.6498 1.68557 10.9505 1.31802 11.318C0.900156 11.7359 
80.568688 12.232 0.342542 12.7779C0.180451 13.1692 0.0747425 13.5807 0.0278638 14C0.00933826 14.1657 0 14.3326 0 14.5V15H1L0.999398 14.5C0.999398 14.4784 0.999599 14.4567 1 14.4351C1.00811 13.9975 1.09823 13.5651 1.26587 13.1604C1.44179 12.7357 1.69964 12.3498 2.0247 12.0247C2.34976 11.6996 2.73566 11.4418 3.16038 11.2659C3.57088 11.0958 4.00986 11.0056 4.45387 10.9997C4.46922 10.9999 4.4846 11 4.5 11C4.5154 11 4.53078 10.9999 4.54613 10.9997C4.99014 11.0056 5.42912 11.0958 5.83962 11.2659C6.26433 11.4418 6.65024 11.6996 6.9753 12.0247C7.30036 12.3498 7.55821 12.7357 7.73413 13.1604C7.90177 13.5651 7.99189 13.9975 8 14.4351C8.0004 14.4567 8.0006 14.4784 8.0006 14.5L8 15H9V14.5C9 14.3326 8.99066 14.1657 8.97214 14C8.92526 13.5807 8.81955 13.1692 8.65746 12.7779C8.43131 12.232 8.09984 11.7359 7.68198 11.318C7.31443 10.9505 6.88636 10.6498 6.41705 10.4288ZM4.5 10C3.11929 10 2 8.88071 2 7.5C2 6.11929 3.11929 5 4.5 5C5.88071 5 7 6.11929 7 7.5C7 8.88071 5.88071 10 4.5 10Z"},child:[]}]})(e)}function C(e){return(0,b.GenIcon)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M1 3.5l.5-.5h13l.5.5v9l-.5.5h-13l-.5-.5v-9zm1 1.035V12h12V4.536L8.31 8.9H7.7L2 4.535zM13.03 4H2.97L8 7.869 13.03 4z"},child:[]}]})(e)}var j=e.i(963540),N=e.i(87299),E=e.i(519455),A=e.i(657688);function T(e){return(0,b.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M18,4 L18,0 L18,4 Z M7,18 L5,18 L7,18 Z M19,18 L9,18 L19,18 Z M7,14 L5,14 L7,14 Z M19,14 L9,14 L19,14 Z M6,4 L6,0 L6,4 Z M1,9 L23,9 L1,9 Z M1,23 L23,23 L23,4 L1,4 L1,23 Z"},child:[]}]})(e)}var k=e.i(543605),_=e.i(617310),P=e.i(819721),O=e.i(196746);let R=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(!0)},[]),e},M=({size:e="navBar",className:r,imageClassName:n,onClick:o})=>{let i="sideMenu"===e;return(0,t.jsx)(u.default,{href:"/","aria-label":`${l.APP_NAME} home`,onClick:o,className:(0,d.mergeTailwindClasses)("group block shrink-0 rounded-full ring-2 ring-[rgba(209,127,247,0.35)] ring-offset-2 ring-offset-white transition-[box-shadow] duration-500 ease-out hover:shadow-[0_12px_40px_rgba(209,127,247,0.18)] focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[rgba(209,127,247,0.45)] dark:ring-offset-gray-950",r),children:(0,t.jsx)(A.default,{src:"/app_logo_rounded.png",alt:l.APP_NAME,width:i?72:80,height:i?72:80,className:(0,d.mergeTailwindClasses)("rounded-full object-cover will-change-transform [filter:drop-shadow(0_2px_8px_rgba(157,214,252,0.14))] transition-[transform,filter] duration-500 ease-out motion-reduce:transition-none group-hover:scale-[1.07] group-hover:brightness-105 group-hover:[filter:drop-shadow(0_10px_26px_rgba(209,127,247,0.38))_drop-shadow(0_0_16px_rgba(157,214,252,0.28))] motion-reduce:group-hover:scale-100 motion-reduce:group-hover:brightness-100 motion-reduce:group-hover:[filter:drop-shadow(0_2px_8px_rgba(157,214,252,0.14))] active:scale-[0.98] motion-reduce:active:scale-100",i?"h-14 w-14 sm:h-16 sm:w-16":"h-11 w-11 sm:h-16 sm:w-16",n),priority:!i})})},F=({getAppCookies:e})=>{let{userImg:r,givenName:n,email:o}=e(["userImg","givenName","email"]),i=n?`${n} profile photo`:"Profile photo";return R()?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"relative flex h-16 w-16 shrink-0 overflow-hidden rounded-full bg-gradient-to-br from-[rgba(209,127,247,0.2)] to-[rgba(157,214,252,0.25)] ring-2 ring-[rgba(209,127,247,0.4)] ring-offset-2 ring-offset-white dark:ring-offset-gray-950",children:r?(0,t.jsx)("img",{src:r,alt:i,className:"h-full w-full object-cover",width:64,height:64,decoding:"async"}):(0,t.jsx)(m.FaUser,{className:"m-auto text-3xl text-[rgba(209,127,247,0.9)]","aria-hidden":!0})}),n?(0,t.jsx)("p",{className:"mt-3 max-w-[13rem] truncate text-base font-semibold text-gray-900 dark:text-gray-50",children:n}):null,o?(0,t.jsx)("p",{className:`${n?"mt-1":"mt-3"} max-w-[13rem] break-all text-xs leading-snug text-muted-foreground`,children:o}):null]}):null},L=({isSideBar:e,appVersionName:n,menuClassName:i,onCloseNavMenuCustom:b,isNavMenuOpenCustom:R,userSubscriptionId:L})=>{let I;(0,r.useEffect)(()=>{console.log("userSubscriptionId in NavMenu: ",L)});let{setState:D,isNavMenuOpen:B}=(0,h.useAppStore)(e=>e),U=(0,r.useRef)(!1),{getIsUserSignedIn:z,cookies:$,getAppCookies:q}=(0,x.useAppCookies)(),W=z();console.log("isUserSignedIn, hi there: ",W);let{navigateToPg:H,currentPathName:V}=(I=(0,p.useRouter)(),{navigateToPg:function(e){I.push(e)},currentPathName:(0,p.usePathname)()}),{setState:G}=(0,N.useUserModalStore)(e=>e),[Y,X]=(0,r.useState)(!1),K="/account"===V,J="/onboarding"===V,Z="/payment-result"===V||"/checkout-session-chrome-ext-redirect"===V,Q=K||J||Z,ee=K&&$.access&&"user"===W.type&&U.current,et=(0,p.useRouter)(),er=(()=>{let[e,t]=(0,r.useState)("");return(0,r.useEffect)(()=>{(async()=>
8{if(await (0,P.validateUrl)(window.location.origin,"redirect"))return t(window.location.origin);(0,_.presentErrToast)("An error has occurred. Please refresh the page and try again.",!0)})()},[]),e})();function en(){b?b():D({isNavMenuOpen:!1})}(0,r.useEffect)(()=>{let e=document.getElementById("side-nav-menu-parent");e?e.addEventListener("click",e=>{!e.target||(0,d.getIsWithinParentElement)(e.target,"side-nav-menu","id","strictEquals")||en()}):console.error("Unable to retrieve the side nav menu."),U.current=!0},[]),(0,r.useEffect)(()=>(B?document.body.classList.add("nav-menu-open"):document.body.classList.remove("nav-menu-open"),()=>{document.body.classList.remove("nav-menu-open")}),[B]);let eo=(0,r.useMemo)(()=>(0,d.mergeTailwindClasses)(`${B?"z-[100000] relative":""} border-b flex justify-end scrollbar-hide w-fit`,i),[B]),ei=W.isSignedIn&&U.current;return console.log("_isUserSignedIn: ",ei),(0,t.jsx)(c.slide,{right:!0,isOpen:R??B,pageWrapId:l.PAGE_WRAP_ID,burgerButtonClassName:"hidden",id:"side-nav-menu-parent",className:"!w-auto bg-white",menuClassName:eo,onClose:en,children:(0,t.jsxs)("nav",{id:"side-nav-menu",style:{display:"flex",width:"17rem"},className:"flex-col h-full bg-white backdrop-blur-md bg-opacity-80",children:[(0,t.jsx)("button",{className:"absolute top-0 mt-1 right-0 mr-1 hover:bg-gray-300 focus:outline-none",onClick:en,children:(0,t.jsx)(o.X,{size:20})}),(0,t.jsxs)("div",{className:"flex flex-col h-full w-full pt-4 pl-2 relative",children:[e&&Q?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-full flex justify-center pt-3",children:U.current&&(Z?(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-4 px-5 pb-1 pt-2",children:[(0,t.jsxs)("div",{className:"relative flex items-center justify-center",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute -inset-3 rounded-full bg-[radial-gradient(circle_at_center,rgba(209,127,247,0.22),transparent_68%)] opacity-90 blur-sm","aria-hidden":!0}),(0,t.jsx)(M,{size:"sideMenu",onClick:()=>{D({isNavMenuOpen:!1})}})]}),(0,t.jsx)("div",{className:"space-y-1 text-center",children:(0,t.jsx)("p",{className:"text-base font-semibold tracking-tight bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text text-transparent",children:l.APP_NAME})})]}):(0,t.jsx)(f,{handleOnClick:()=>{D({isNavMenuOpen:!1})},additionalClassNames:"ml-1 text-xl sm:text-3xl",children:J?"Signed in as:":W.isSignedIn?"Your account":l.APP_NAME}))}),Z?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mx-4 border-b border-gray-200/90 dark:border-gray-700/90"}),U.current?(0,t.jsxs)("nav",{className:"mx-3 mt-4 mb-2 flex flex-col gap-1.5","aria-label":"Primary navigation",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{D({isNavMenuOpen:!1}),H("/")},className:"group flex w-full items-center gap-3 rounded-xl border border-transparent px-3 py-2.5 text-left transition duration-200 hover:border-[rgba(209,127,247,0.25)] hover:bg-gradient-to-r hover:from-[rgba(209,127,247,0.08)] hover:to-[rgba(157,214,252,0.1)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2 active:scale-[0.99]",children:[(0,t.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-[rgba(209,127,247,0.1)] text-[rgba(209,127,247,1)] transition group-hover:bg-[rgba(209,127,247,0.16)]",children:(0,t.jsx)(m.FaHome,{size:18,"aria-hidden":!0})}),(0,t.jsx)("span",{className:"text-sm font-semibold text-gray-900 dark:text-gray-50",children:"Home"})]}),"pre-launch"!==n?(0,t.jsxs)("button",{type:"button",onClick:()=>{D({isNavMenuOpen:!1}),H("/profile")},className:"group flex w-full items-center gap-3 rounded-xl border border-transparent px-3 py-2.5 text-left transition duration-200 hover:border-[rgba(209,127,247,0.25)] hover:bg-gradient-to-r hover:from-[rgba(209,127,247,0.08)] hover:to-[rgba(157,214,252,0.1)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2 active:scale-[0.99]",children:[(0,t.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-[rgba(157,214,252,0.14)] text-[rgba(157,214,252,1)] transition group-hover:bg-[rgba(157,214,252,0.22)]",children:(0,t.jsx)(m.FaUser,{size:17,"aria-hidden":!0})}),(0,t.jsx)("span",{className:"text-sm font-semibold text-gray-900 dark:text-gray-50",children:"Profile"})]}):null]}):null]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{className:"mx-2 mb-3 mt-5 flex flex-col items-center border-b border-gray-200/90 pb-4 text-center dark:border-gray-700/90",children:[(0,t.jsx)(F,{getAppCookies:q}),J?null:(0,t.jsxs)("p",{className:"mt-3 flex items-center justify-center gap-2 text-xs font-medium text-muted-foreground",children:[(0,t.jsx)(s,{className:"h-3.5 w-3.5 shrink-0 text-[rgba(209,127,247,1)]",strokeWidth:2,"aria-hidden":!0}),(0,t.jsx)("span",{children:"Account settings"})]}),"guest"===W.type?(0,t.jsxs)("p",{className:"mt-2.5 inline-flex items-center gap-1.5 text-xs font-medium text-muted-foreground",role:"status","aria-live":"polite",children:[(0,t.jsx)("span",{children:"Signed in as guest"}),(0,t.jsx)("span",{"data-tooltip-id":"nav-menu-guest-status-tooltip","data-tooltip-content":"You don't have an account in our database.",className:"inline-flex cursor-help","aria-label":"Guest account information",children:(0,t.jsx)(a,{className:"h-3.5 w-3.5 shrink-0 text-[rgba(209,127,247,0.95)]","aria-hidden":!0})})]}):null,"guest"===W.type?(0,t.jsx)(O.Tooltip,{id:"nav-menu-guest-status-tooltip",place:"top",className:"!z-[60] !max-w-[15rem] !rounded-lg !border !border-purple-200/80 !bg-white !px-2.5 !py-1.5 !text-[11px] !font-medium !text-gray-700 !shadow-lg !shadow-
8purple-500/10 dark:!border-purple-500/35 dark:!bg-gray-900 dark:!text-gray-200"}):null]}),J&&ei?(0,t.jsx)("section",{className:"pr-3 w-full flex flex-col",children:(0,t.jsx)(y.default,{className:"px-2 py-1 round-md mt-1 w-full"})}):null]})]}):null,e?(0,t.jsxs)(t.Fragment,{children:[!Q&&!W.isSignedIn&&(0,t.jsx)("section",{className:"flex pt-2 mt-2",children:(0,t.jsxs)("button",{onClick:()=>{D({isNavMenuOpen:!1}),H("/")},className:"ml-1 sm:ml-5 hover:underline w-sm:w-auto flex bg-transparent",children:[(0,t.jsx)(m.FaHome,{size:30,className:"text-[#6c5ce7]"}),(0,t.jsx)("div",{className:"flex justify-center items-center",children:(0,t.jsx)("p",{className:"text-lg text-gray-600 ml-2",children:"Home"})})]})}),L&&(0,t.jsx)("section",{className:"flex pt-2 mt-2",children:(0,t.jsxs)("button",{onClick:async()=>{try{if(console.log("userSubscriptionId: ",L),console.log("redirectUrlForCustomerStripePortal: ",er),!er)return void(0,_.presentErrToast)("Unable to create your stripe customer portal. Please refresh the page and try again.",!0);let e=await (0,k.createStripeCustomerPortal)({userSubscriptionId:L},`${er}/account`,"view");if(!e?.url)return void alert("Unable to create your stripe customer portal. Please refresh the page and try again.");window.open(e.url)}catch(e){console.error("An error has occurred, unable to create customer portal session. Reason: ",e)}},className:"hover:underline w-sm:w-auto flex bg-transparent",children:[(0,t.jsx)(T,{size:30,className:"text-[#6c5ce7]"}),(0,t.jsx)("div",{className:"flex justify-end items-stretch flex-col",children:(0,t.jsx)("p",{className:"text-lg text-gray-600 ml-2",children:"Your subscription"})})]})}),!Q&&"pre-launch"!==n&&U.current&&(0,t.jsx)("section",{className:"flex pt-2 mt-2",children:(0,t.jsxs)("button",{onClick:()=>{D({isNavMenuOpen:!1}),H("/profile")},className:"ml-1 sm:ml-5 hover:underline w-sm:w-auto flex bg-transparent",children:[(0,t.jsx)(m.FaUser,{size:30,className:"text-[#6c5ce7]"}),(0,t.jsx)("div",{className:"flex justify-center items-center",children:(0,t.jsx)("p",{className:"text-lg text-gray-600 ml-2",children:W.isSignedIn&&"user"===W.type?"Profile":"Sign up"})})]})}),ei&&!J&&(0,t.jsx)("section",{className:"pr-3 absolute bottom-[5rem] w-full flex flex-col",children:(0,t.jsx)(y.default,{className:"px-2 py-1 round-md mt-1 w-full"})}),ee&&(0,t.jsxs)("section",{className:"flex pt-2 mt-4 flex flex-col",children:[(0,t.jsxs)("div",{className:"hover:decoration-red-500 w-sm:w-auto flex",children:[(0,t.jsx)(w,{size:30,className:"text-red-500"}),(0,t.jsx)("div",{className:"flex justify-center items-center",children:(0,t.jsx)("p",{className:"text-lg text-red-500 ml-2 font-bold",children:"Danger Zone"})})]}),(0,t.jsx)("div",{className:"mt-1 rounded-md border border-red-600 px-2 py-1 w-[98%]",children:(0,t.jsxs)("section",{className:"flex flex-col",children:[(0,t.jsx)(E.Button,{onClick:()=>{en(),(0,j.openAccountExitFlow)()},className:"text-base whitespace-normal text-red-600 hover:bg-white hover:underline cursor-pointer rounded-md border-2 bg-white my-2 text-center h-fit py-1",children:"Cancel subscription or delete account"}),(0,t.jsx)("p",{className:"text-red-600 mt-2 text-sm",children:"*Once you delete your account, there is no going back. Please be certain."})]})})]})]}):(0,t.jsx)("ul",{className:"space-y-4 pt-3",children:l.NAVIGATION_LINKS.map((e,r)=>{let{href:n,text:o,icon:i,iconAlt:a}=e,s=`${o}-id`,l="block"in e?e.block:void 0;return(0,t.jsx)("li",{className:"w-100 flex ml-4",children:(0,t.jsxs)("div",{className:"h-full flex justify-center items-center",children:[(0,t.jsx)("section",{className:"flex justify-center items-center",children:(0,t.jsx)(A.default,{src:i,alt:a,width:35,height:35})}),(0,t.jsx)("section",{className:"h-full flex justify-center items-center",children:(0,t.jsx)("span",{id:s,className:"text-gray-600 font-semibold ml-1 hover:underline",onClick:()=>{(console.log("Printing something here"),null==et)?console.error("'router' is null"):("contact"!==n?(et.push(`/#${n}`),setTimeout(()=>{let e=document.getElementById(n);console.log("Element: ",e),e?e.scrollIntoView({behavior:"smooth",block:l??"center"}):console.error("The target element was not found.")},200)):(et.push(`/${n}`),setTimeout(()=>{let e=document.getElementById(n);console.log("Element: ",e),e?e.scrollIntoView({behavior:"smooth",block:l??"center"}):console.error("The target element was not found.")},200)),en())},children:o},s)})]})},r)})})]}),e&&U.current?(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 w-full border-t border-gray-200/90 bg-white/95 pb-[max(0.35rem,env(safe-area-inset-bottom))] pt-0 backdrop-blur-sm",children:W?(0,t.jsxs)("nav",{"aria-label":"Help, feedback, and contact",className:"grid w-full grid-cols-3 divide-x divide-gray-200/90",children:[(0,t.jsxs)("button",{type:"button",onClick:function(){G({isFeedbackModalDisplayed:!0}),en()},className:(0,d.mergeTailwindClasses)("flex min-h-[3.25rem] flex-col items-center justify-center gap-1 px-1 py-2.5 text-xs font-medium transition-colors hover:bg-gray-50 active:bg-gray-100",l.TEXT_COLOR),children:[(0,t.jsx)(S,{size:12,className:"shrink-0","aria-hidden":!0}),(0,t.jsx)("span",{children:"Feedback"})]}),(0,t.jsx)(u.default,{href:"https://chromewebstore.google.com/detail/copy-folder-in-google-dri/hbcknalgeklmecafklfodnmmgaaelfhk/reviews?hl=en",target:"_blank",className:"w-full flex w-full justify-center",children:(0,t.jsxs)("button",{type:"button",onClick:function(){X(!0),setTimeout(()=>{X(!1)},300)},className:(0,d.mergeTailwindClasses)("flex min-h-[3.25rem] flex-col items-center justify-center gap-1 px-1 py-2.5 text-xs font-medium transition-colors hover:bg-gray-50 active:bg-gray-100 w-full",Y?"text-[#FFD700]":l.TEXT_COLOR),children:[(0,t.jsx)(v.MdOutlineReviews,{size:12,className:"shrink-0",color:Y?"#FFD700":void 0,"aria-hidden":!0}),(0,t.jsx)("span",{children:"Rate us"})]})}),(0,t.jsxs)(u.default,{href:"/contact?type=support",className:(0,d.mergeTailwindClasses)("flex min-h-[3.25rem] flex-col items-center justify-center gap-1 px-1 py-2.5 text-xs font-medium underline-offset-2 transition-colors hover:bg-gray-50 hover:underline active:bg-gray-100",l.TEXT_COLOR),onClick:()=>{en()},children:[(0,t.jsx)(C,{size:12,className:"shrink-0","aria-hidden":!0}),(0,t.jsx)("span",{children:"Contact"})]})]}):(0,t.jsx)("div",{className:"flex justify-center px-3 py-2.5",children:(0,t.jsxs)(u.default,{href:"/contact?type=support",className:(0,d.mergeTailwindClasses)("inline-flex items-center gap-1.5 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-gray-50 active:bg-gray-100",l.TEXT_COLOR),onClick:()=>{en()},children:[(0,t.jsx)(C,{size:14,className:"shrink-0 opacity-80","aria-hidden":!0}),"Contact support"]})})}):null]})})},I=()=>(0,t.jsxs)("span",{className:"relative h-6 w-6 sm:h-7 sm:w-7",role:"status","aria-label":"Signing in",children:[(0,t.jsx)("span",{className:"absolute inset-0 rounded-full border-2 border-muted/40"}),(0,t.jsx)("span",{className:"absolute inset-0 rounded-full border-2 border-transparent border-t-[rgba(209,127,247,1)] border-r-[rgba(183,170,249,1)] animate-spin",style:{animationDuration:"1s"}})]}),D=()=>(0,t.jsx)("button",{type:"button","aria-busy":!0,"aria-disabled":!0,"aria-label":"Loading...",className:(0,d.mergeTailwindClasses)("flex max-w-[min(100vw-1rem,20rem)] shrink-0 items-center gap-2 rounded-2xl border border-purple-200/80 bg-white/95 px-2 py-1.5 text-left shadow-md shadow-purple-500/10 backdrop-blur-sm will-change-[transform,box-shadow] transition-[transform,box-shadow,border-color] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2 dark:border-purple-500/30 dark:bg-gray-900/95 sm:gap-3 sm:px-3 sm:py-2","cursor-wait border-[rgba(209,127,247,0.45)] shadow-purple-500/15","animate-account-settings-trigger-click"),children:(0,t.jsx)(I,{})}),B=({_isNavMenuOpen:[e,n],isOnboardingPage:o=!1})=>{let{getIsUserSignedIn:i,cookies:a,getAppCookies:l}=(0,x.useAppCookies)(),{isSignedIn:c}=i(),u=(0,p.useSearchParams)(),[f,h]=(0,r.useState)(!1),y=R(),v=!!u.get("
8code")&&!c,b=a.isUserGuest||a.guestUserId&&!a.userId,{userImg:w,givenName:S,email:C}=l(["userImg","givenName","email"]),j=o&&!v,N=(0,r.useRef)(null);return(c||v)&&y?(0,t.jsxs)("button",{type:"button",onClick:function(){v||(N.current&&(clearTimeout(N.current),N.current=null),h(!1),requestAnimationFrame(()=>{h(!0),N.current=setTimeout(()=>{h(!1),N.current=null},450)}),n(e=>!e))},"aria-expanded":v?void 0:e,"aria-haspopup":v?void 0:"true","aria-controls":v?void 0:"side-nav-menu","aria-busy":v,"aria-disabled":v,"aria-label":v?"Signing in, please wait":j&&C?`Signed in as ${C}. Open account settings menu`:"Open account settings menu",className:(0,d.mergeTailwindClasses)("flex max-w-[min(100vw-1rem,20rem)] shrink-0 items-center gap-2 rounded-2xl border border-purple-200/80 bg-white/95 px-2 py-1.5 text-left shadow-md shadow-purple-500/10 backdrop-blur-sm will-change-[transform,box-shadow] transition-[transform,box-shadow,border-color] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2 dark:border-purple-500/30 dark:bg-gray-900/95 sm:gap-3 sm:px-3 sm:py-2",v?"cursor-wait border-[rgba(209,127,247,0.45)] shadow-purple-500/15":"hover:border-[rgba(209,127,247,0.55)] hover:shadow-lg",f&&"animate-account-settings-trigger-click"),children:[(0,t.jsx)("span",{className:"relative flex h-9 w-9 shrink-0 items-center justify-center overflow-hidden rounded-full bg-gradient-to-br from-[rgba(209,127,247,0.15)] to-[rgba(157,214,252,0.2)] ring-2 ring-[rgba(209,127,247,0.35)] sm:h-10 sm:w-10",children:v?(0,t.jsx)(I,{}):w?(0,t.jsx)("img",{src:w,alt:"",className:"h-full w-full object-cover",width:40,height:40,decoding:"async"}):(0,t.jsx)(m.FaUser,{className:"m-auto text-xl text-[rgba(209,127,247,0.85)]","aria-hidden":!0})}),(0,t.jsxs)("span",{className:"hidden min-w-0 flex-col items-start text-left min-[380px]:flex",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-xs font-semibold leading-tight text-gray-900 dark:text-gray-50 sm:gap-2 sm:text-sm",children:[(0,t.jsx)(s,{className:"h-4 w-4 shrink-0 text-[rgba(209,127,247,1)]",strokeWidth:2,"aria-hidden":!0}),j?"Signed in as:":"Account settings"]}),v?(0,t.jsx)("span",{className:"mt-0.5 max-w-[11rem] truncate text-xs font-medium bg-gradient-to-r from-[rgba(209,127,247,1)] to-[rgba(157,214,252,1)] bg-clip-text text-transparent",children:"Signing in..."}):j&&C?(0,t.jsx)("span",{className:"mt-0.5 max-w-[11rem] truncate text-xs text-muted-foreground sm:max-w-[13rem]",children:C}):S?(0,t.jsx)("span",{className:"mt-0.5 max-w-[9rem] truncate text-xs text-muted-foreground sm:max-w-[11rem]",children:S}):null,v||j||!b?null:(0,t.jsx)("span",{className:"mt-0.5 max-w-[11rem] truncate text-xs text-muted-foreground",children:"Signed in as guest"})]})]}):null},U="ring-0 ring-offset-0 hover:shadow-none sm:ring-2 sm:ring-[rgba(209,127,247,0.35)] sm:ring-offset-2 sm:ring-offset-white sm:hover:shadow-[0_12px_40px_rgba(209,127,247,0.18)] dark:sm:ring-offset-gray-950 focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2",z="h-14 w-14 motion-reduce:group-hover:scale-100 motion-reduce:group-hover:brightness-100";e.s(["default",0,({appVersionName:e,menuClassName:o,navClassName:i,mobileLogoContainerClassName:a,sideNavTriggerVariant:s="default"})=>{let[l,c]=(0,r.useState)(!1),f=(0,r.useRef)(null),m=(0,p.usePathname)(),{getIsUserSignedIn:y,cookies:v}=(0,x.useAppCookies)(),{isSignedIn:b}=y(),w=v.isUserGuest||v.guestUserId&&!v.userId,S=(0,h.useGlobalCookieStore)(e=>e.subscriptionId),C="/onboarding"===m,j=!C;(0,r.useEffect)(()=>()=>{f.current&&(clearTimeout(f.current),f.current=null)},[]);let{_menuClassName:N,_navClassName:E,_mobileLogoContainerClassName:A}=(0,r.useMemo)(()=>({_menuClassName:(0,d.mergeTailwindClasses)("sm:hidden block",o),_navClassName:(0,d.mergeTailwindClasses)("fixed top-0 w-full bg-white/80 backdrop-blur-sm z-50 border-b block h-16 sm:hidden sm:pointer-events-none",i),_mobileLogoContainerClassName:(0,d.mergeTailwindClasses)("h-full flex items-center justify-center w-[fit-content] ms-1 sm:pointer-events-auto",a)}),[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L,{isSideBar:!0,appVersionName:e,onCloseNavMenuCustom:()=>{c(!1)},isNavMenuOpenCustom:l,isUserSignedIn:b,isUserGuest:!!w,menuClassName:N,userSubscriptionId:S}),(0,t.jsxs)("nav",{className:(0,d.mergeTailwindClasses)(E,"accountSettings"===s?"flex items-center justify-between gap-3 sm:flex bg-white":""),children:["accountSettings"===s?(0,t.jsx)("div",{className:"pointer-events-auto flex min-w-0 shrink items-center ps-2 sm:ps-4",children:(0,t.jsx)(M,{className:U,imageClassName:z})}):(0,t.jsx)("div",{className:"h-full flex items-center justify-center w-[fit-content] ms-1 sm:pointer-events-auto",children:(0,t.jsx)(M,{className:(0,d.mergeTailwindClasses)("block shrink-0 rounded-full transition hover:opacity-95 focus-visible:outline-none",U,A),imageClassName:z})}),"accountSettings"===s?(0,t.jsxs)("div",{className:"pointer-events-auto relative z-50 my-1 me-2 flex min-w-0 shrink-0 items-stretch gap-1.5 sm:me-4 sm:gap-3",children:[j?(0,t.jsxs)(u.default,{href:"/","aria-label":"Back to Home",className:"inline-flex min-h-[2.75rem] shrink-0 items-center justify-center gap-1.5 rounded-2xl border border-gray-200/95 bg-white px-2.5 py-2 text-sm font-semibold text-gray-800 shadow-sm outline-none transition duration-200 hover:border-[rgba(209,127,247,0.5)] hover:bg-gradient-to-r hover:from-[rgba(209,127,247,0.06)] hover:to-[rgba(157,214,252,0.1)] hover:text-gray-900 focus-visible:ring-2 focus-visible:ring-[rgba(209,127,247,0.45)] focus-visible:ring-offset-2 active:scale-[0.98] dark:border-gray-600 dark:bg-gray-900 dark:text-gray-100 dark:hover:border-purple-500/45 sm:min-h-[3.25rem] sm:gap-2 sm:px-4",children:[(0,t.jsx)("span",{className:"hidden sm:inline text-lg leading-none","aria-hidden":!0,
8children:"🏠"}),(0,t.jsx)("span",{className:"inline sm:hidden text-xs leading-none","aria-hidden":!0,children:"🏠 Home"}),(0,t.jsx)("span",{className:"hidden min-[420px]:inline",children:"Back to Home"})]}):null,"/profile"===m?null:(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)(D,{}),children:(0,t.jsx)(B,{_isNavMenuOpen:[l,c],isOnboardingPage:C})})]}):(0,t.jsx)(n.SideMenuToggleDisplayBtn,{handleNavMenuDisplayCustomToggle:function(){c(e=>!e)},isNavMenuOpenCustom:l,className:"pointer-events-auto p-2 text-gray-600 hover:text-[rgba(209,127,247,1)] transition-colors top-3 right-3 sm:right-4 absolute z-50"})]})]})}],258078)},614677,e=>{"use strict";let t,r="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,i,a){if(r&&!i&&!e)return r();var s=e,l=a;let c=(s=s||{}).random??s.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(n)}();if(c.length<16)throw Error("Random bytes length must be >= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,i){if((l=l||0)<0||l+16>i.length)throw RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);for(let e=0;e<16;++e)i[l+e]=c[e];return i}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(c)}],614677)},251574,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(721552),o=e.i(431908),i=e.i(271645),a=e.i(901760),s=e.i(614677),l=e.i(975157);e.s(["default",0,()=>{let{getAppCookies:e,setAppCookies:c,cookies:u}=(0,o.useAppCookies)(),{setState:d,isDisplayed:f,isTemporarilyHidden:p}=(0,a.useCookiesPolicyBannerStore)(e=>e);function h(e){c("didUserAcceptCookiesPolicy",e,{path:"/",expires:new Date(new Date().getTime()+864e5)}),e&&c("guestUserId",(0,s.v4)(),{path:"/",expires:new Date(new Date().getTime()+864e5)}),d({isDisplayed:!1})}return((0,i.useEffect)(()=>{let t=e(["didUserAcceptCookiesPolicy"]);!(0,l.getIsObj)(t)||"didUserAcceptCookiesPolicy"in t||d({isDisplayed:!0})},[]),!f||p)?null:(0,t.jsx)("div",{"aria-label":"Cookies policy acceptance",className:"pointer-events-none fixed inset-x-0 bottom-3 z-[60] px-4 motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-bottom-6 motion-safe:duration-500",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-6xl",children:(0,t.jsx)("div",{className:`rounded-2xl p-[1px] shadow-lg ${n.APP_COLOR_GRADIENT}`,children:(0,t.jsx)("div",{className:"pointer-events-auto rounded-2xl bg-white/95 px-4 py-4 backdrop-blur-sm md:px-5",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"m-0 p-0 text-sm font-semibold text-gray-900 md:text-base",children:["We use cookies to improve your experience."," ",(0,t.jsx)(r.default,{href:"/privacy",className:"underline hover:no-underline",children:"Click here to learn more."})]}),(0,t.jsx)("p",{className:"mt-1 mb-0 p-0 text-xs leading-relaxed text-gray-600 md:text-sm",children:"You can reject all app cookies, but essential analytics cookies may still run to keep the site secure and reliable."})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("button",{type:"button",className:"inline-flex items-center justify-center rounded-lg border border-gray-300 px-3 py-2 text-xs font-semibold text-gray-700 transition-colors hover:bg-gray-100 md:text-sm",onClick:()=>h(!1),children:"Reject app cookies"}),(0,t.jsx)("button",{type:"button",className:"inline-flex items-center justify-center rounded-lg bg-gray-900 px-3 py-2 text-xs font-semibold text-white transition-colors hover:bg-black md:text-sm",onClick:()=>h(!0),children:"ACCEPT app cookies"})]})]})})})})})}])},869262,e=>{"use strict";var t=e.i(721552),r=e.i(617310),n=e.i(271645);e.s(["default",0,()=>((0,n.useEffect)(()=>{let e=new URL(window.location.href),n=e.searchParams.get(t.GCLID_KEY);console.log("ReferralTracker: The current URL is: ",e),n&&(0,r.setLocalStorageItem)("gclid",n);let o=e.searchParams.get(t.REFERRER_KEY);o&&(0,r.setLocalStorageItem)("referrer",o);let i=e.searchParams.get(t.UTM_SOURCE_KEY);i&&(0,r.setLocalStorageItem)("utmSource",i)},[]),null)])}]);

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.