1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6803:function(t){t.exports=function(){function _extends(){return(_extends=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t}).apply(this,arguments)}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,o=Array(n);i<n;i++)o[i]=t[i];return o}var t="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function urlToId(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var n=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]],i=["clip","crop","fill","fillmax","max","scale","min"],o=["top","bottom","left","right","center","focalpoint","entropy"],a=["format"],s=function(){function ImageUrlBuilder(t,n){this.options=void 0,this.options=t?_extends({},t.options||{},n||{}):_extends({},n||{})}var s=ImageUrlBuilder.prototype;return s.withOptions=function(t){var i=t.baseUrl||this.options.baseUrl,o={baseUrl:i};for(var a in t)t.hasOwnProperty(a)&&(o[function(t){for(var i,o=function(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return _arrayLikeToArray(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,n)}}(t))){i&&(t=i);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(i=o()).done;){var a=i.value,s=a[0],l=a[1];if(t===s||t===l)return s}return t}(a)]=t[a]);return new ImageUrlBuilder(this,_extends({baseUrl:i},o))},s.image=function(t){return this.withOptions({source:t})},s.dataset=function(t){return this.withOptions({dataset:t})},s.projectId=function(t){return this.withOptions({projectId:t})},s.bg=function(t){return this.withOptions({bg:t})},s.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},s.width=function(t){return this.withOptions({width:t})},s.height=function(t){return this.withOptions({height:t})},s.focalPoint=function(t,n){return this.withOptions({focalPoint:{x:t,y:n}})},s.maxWidth=function(t){return this.withOptions({maxWidth:t})},s.minWidth=function(t){return this.withOptions({minWidth:t})},s.maxHeight=function(t){return this.withOptions({maxHeight:t})},s.minHeight=function(t){return this.withOptions({minHeight:t})},s.size=function(t,n){return this.withOptions({width:t,height:n})},s.blur=function(t){return this.withOptions({blur:t})},s.sharpen=function(t){return this.withOptions({sharpen:t})},s.rect=function(t,n,i,o){return this.withOptions({rect:{left:t,top:n,width:i,height:o}})},s.format=function(t){return this.withOptions({format:t})},s.invert=function(t){return this.withOptions({invert:t})},s.orientation=function(t){return this.withOptions({orientation:t})},s.quality=function(t){return this.withOptions({quality:t})},s.forceDownload=function(t){return this.withOptions({download:t})},s.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},s.flipVertical=function(){return this.withOptions({flipVertical:!0})},s.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},s.fit=function(t){if(-1===i.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},s.crop=function(t){if(-1===o.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},s.saturation=function(t){return this.withOptions({saturation:t})},s.auto=function(t){if(-1===a.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},s.pad=function(t){return this.withOptions({pad:t})},s.url=function(){return function(i){var o=_extends({},i||{}),a=o.source;delete o.source;var s=function(t){var n;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))n={asset:{_ref:urlToId(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:urlToId(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n=_extends({},t)}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var n=_extends({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}(n)}(a);if(!s)throw Error("Unable to resolve image URL from source ("+JSON.stringify(a)+")");var l=function(n){var i=n.split("-"),o=i[1],a=i[2],s=i[3];if(!o||!a||!s)throw Error("Malformed asset _ref '"+n+"'. Expected an id like \""+t+'".');var l=a.split("x"),u=l[0],c=l[1],d=+u,h=+c;if(!(isFinite(d)&&isFinite(h)))throw Error("Malformed asset _ref '"+n+"'. Expected an id like \""+t+'".');return{id:o,width:d,height:h,format:s}}(s.asset._ref||s.asset._id||""),u=Math.round(s.crop.left*l.width),c=Math.round(s.crop.top*l.height),d={left:u,top:c,width:Math.round(l.width-s.crop.right*l.width-u),height:Math.round(l.height-s.crop.bottom*l.height-c)},h=s.hotspot.height*l.height/2,m=s.hotspot.width*l.width/2,g=s.hotspot.x*l.width,x=s.hotspot.y*l.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=_extends({},o,function(t,n){var i,o=n.width,a=n.height;if(!(o&&a))return{width:o,height:a,rect:t.crop};var s=t.crop,l=t.hotspot,u=o/a;if(s.width/s.height>u){var c=Math.round(s.height),d=Math.round(c*u),h=Math.max(0,Math.round(s.top)),m=Math.max(0,Math.round(Math.round((l.right-l.left)/2+l.left)-d/2));m<s.left?m=s.left:m+d>s.left+s.width&&(m=s.left+s.width-d),i={left:m,top:h,width:d,height:c}}else{var g=s.width,x=Math.round(g/u),w=Math.max(0,Math.round(s.left)),E=Math.max(0,Math.round(Math.round((l.bottom-l.top)/2+l.top)-x/2));E<s.top?E=s.top:E+x>s.top+s.height&&(E=s.top+s.height-x),i={left:w,top:E,width:g,height:x}}return{width:o,height:a,rect:i}}({crop:d,hotspot:{left:g-m,top:x-h,right:g+m,bottom:x+h}},o))),function(t){var i=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),o=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,a=i+"/images/"+t.projectId+"/"+t.dataset+"/"+o,s=[];if(t.rect){var l=t.rect,u=l.left,c=l.top,d=l.width,h=l.height;(0!==u||0!==c||h!==t.asset.height||d!==t.asset.width)&&s.push("rect="+u+","+c+","+d+","+h)}t.bg&&s.push("bg="+t.bg),t.focalPoint&&(s.push("fp-x="+t.focalPoint.x),s.push("fp-y="+t.focalPoint.y));
1var m=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(m&&s.push("flip="+m),n.forEach(function(n){var i=n[0],o=n[1];void 0!==t[i]?s.push(o+"="+encodeURIComponent(t[i])):void 0!==t[o]&&s.push(o+"="+encodeURIComponent(t[o]))}),0===s.length)?a:a+"?"+s.join("&")}(_extends({},o,{asset:l}))}(this.options)},s.toString=function(){return this.url()},ImageUrlBuilder}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var n=t.config(),i=n.apiHost,o=n.projectId,a=n.dataset;return new s(null,{baseUrl:(i||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:o,dataset:a})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var l=t.clientConfig,u=l.apiHost,c=l.projectId,d=l.dataset;return new s(null,{baseUrl:(u||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:c,dataset:d})}return new s(null,t)}}()},79742:function(t,n){"use strict";n.byteLength=function(t){var n=getLens(t),i=n[0],o=n[1];return(i+o)*3/4-o},n.toByteArray=function(t){var n,i,s=getLens(t),l=s[0],u=s[1],c=new a((l+u)*3/4-u),d=0,h=u>0?l-4:l;for(i=0;i<h;i+=4)n=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],c[d++]=n>>16&255,c[d++]=n>>8&255,c[d++]=255&n;return 2===u&&(n=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,c[d++]=255&n),1===u&&(n=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,c[d++]=n>>8&255,c[d++]=255&n),c},n.fromByteArray=function(t){for(var n,o=t.length,a=o%3,s=[],l=0,u=o-a;l<u;l+=16383)s.push(function(t,n,o){for(var a,s=[],l=n;l<o;l+=3)s.push(i[(a=(t[l]<<16&16711680)+(t[l+1]<<8&65280)+(255&t[l+2]))>>18&63]+i[a>>12&63]+i[a>>6&63]+i[63&a]);return s.join("")}(t,l,l+16383>u?u:l+16383));return 1===a?s.push(i[(n=t[o-1])>>2]+i[n<<4&63]+"=="):2===a&&s.push(i[(n=(t[o-2]<<8)+t[o-1])>>10]+i[n>>4&63]+i[n<<2&63]+"="),s.join("")};for(var i=[],o=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,u=s.length;l<u;++l)i[l]=s[l],o[s.charCodeAt(l)]=l;function getLens(t){var n=t.length;if(n%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=n);var o=i===n?0:4-i%4;return[i,o]}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},48764:function(t,n,i){"use strict";/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */var o=i(79742),a=i(80645),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function createBuffer(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var n=new Uint8Array(t);return Object.setPrototypeOf(n,Buffer.prototype),n}function Buffer(t,n,i){if("number"==typeof t){if("string"==typeof n)throw TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(t)}return from(t,n,i)}function from(t,n,i){if("string"==typeof t)return function(t,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!Buffer.isEncoding(n))throw TypeError("Unknown encoding: "+n);var i=0|byteLength(t,n),o=createBuffer(i),a=o.write(t,n);return a!==i&&(o=o.slice(0,a)),o}(t,n);if(ArrayBuffer.isView(t))return function(t){if(isInstance(t,Uint8Array)){var n=new Uint8Array(t);return fromArrayBuffer(n.buffer,n.byteOffset,n.byteLength)}return fromArrayLike(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(isInstance(t,ArrayBuffer)||t&&isInstance(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(isInstance(t,SharedArrayBuffer)||t&&isInstance(t.buffer,SharedArrayBuffer)))return fromArrayBuffer(t,n,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var o=t.valueOf&&t.valueOf();if(null!=o&&o!==t)return Buffer.from(o,n,i);var a=function(t){if(Buffer.isBuffer(t)){var n,i=0|checked(t.length),o=createBuffer(i);return 0===o.length||t.copy(o,0,0,i),o}return void 0!==t.length?"number"!=typeof t.length||(n=t.length)!=n?createBuffer(0):fromArrayLike(t):"Buffer"===t.type&&Array.isArray(t.data)?fromArrayLike(t.data):void 0}(t);if(a)return a;
vendor: 19,489 bytes, line 6
6if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return Buffer.from(t[Symbol.toPrimitive]("string"),n,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function assertSize(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function allocUnsafe(t){return assertSize(t),createBuffer(t<0?0:0|checked(t))}function fromArrayLike(t){for(var n=t.length<0?0:0|checked(t.length),i=createBuffer(n),o=0;o<n;o+=1)i[o]=255&t[o];return i}function fromArrayBuffer(t,n,i){var o;if(n<0||t.byteLength<n)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<n+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(o=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),Buffer.prototype),o}function checked(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function byteLength(t,n){if(Buffer.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||isInstance(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===i)return 0;for(var a=!1;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return utf8ToBytes(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return base64ToBytes(t).length;default:if(a)return o?-1:utf8ToBytes(t).length;n=(""+n).toLowerCase(),a=!0}}function slowToString(t,n,i){var a,s,l=!1;if((void 0===n||n<0)&&(n=0),n>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(n>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,n,i){var o=t.length;(!n||n<0)&&(n=0),(!i||i<0||i>o)&&(i=o);for(var a="",s=n;s<i;++s)a+=u[t[s]];return a}(this,n,i);case"utf8":case"utf-8":return utf8Slice(this,n,i);case"ascii":return function(t,n,i){var o="";i=Math.min(t.length,i);for(var a=n;a<i;++a)o+=String.fromCharCode(127&t[a]);return o}(this,n,i);case"latin1":case"binary":return function(t,n,i){var o="";i=Math.min(t.length,i);for(var a=n;a<i;++a)o+=String.fromCharCode(t[a]);return o}(this,n,i);case"base64":return a=n,s=i,0===a&&s===this.length?o.fromByteArray(this):o.fromByteArray(this.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,n,i){for(var o=t.slice(n,i),a="",s=0;s<o.length-1;s+=2)a+=String.fromCharCode(o[s]+256*o[s+1]);return a}(this,n,i);default:if(l)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),l=!0}}function swap(t,n,i){var o=t[n];t[n]=t[i],t[i]=o}function bidirectionalIndexOf(t,n,i,o,a){var s;if(0===t.length)return -1;if("string"==typeof i?(o=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(s=i=+i)!=s&&(i=a?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(a)return -1;i=t.length-1}else if(i<0){if(!a)return -1;i=0}if("string"==typeof n&&(n=Buffer.from(n,o)),Buffer.isBuffer(n))return 0===n.length?-1:arrayIndexOf(t,n,i,o,a);if("number"==typeof n)return(n&=255,"function"==typeof Uint8Array.prototype.indexOf)?a?Uint8Array.prototype.indexOf.call(t,n,i):Uint8Array.prototype.lastIndexOf.call(t,n,i):arrayIndexOf(t,[n],i,o,a);throw TypeError("val must be string, number or Buffer")}function arrayIndexOf(t,n,i,o,a){var s,l=1,u=t.length,c=n.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(t.length<2||n.length<2)return -1;l=2,u/=2,c/=2,i/=2}function read(t,n){return 1===l?t[n]:t.readUInt16BE(n*l)}if(a){var d=-1;for(s=i;s<u;s++)if(read(t,s)===read(n,-1===d?0:s-d)){if(-1===d&&(d=s),s-d+1===c)return d*l}else -1!==d&&(s-=s-d),d=-1}else for(i+c>u&&(i=u-c),s=i;s>=0;s--){for(var h=!0,m=0;m<c;m++)if(read(t,s+m)!==read(n,m)){h=!1;break}if(h)return s}return -1}function utf8Slice(t,n,i){i=Math.min(t.length,i);for(var o=[],a=n;a<i;){var s,l,u,c,d=t[a],h=null,m=d>239?4:d>223?3:d>191?2:1;if(a+m<=i)switch(m){case 1:d<128&&(h=d);break;case 2:(192&(s=t[a+1]))==128&&(c=(31&d)<<6|63&s)>127&&(h=c);break;case 3:s=t[a+1],l=t[a+2],(192&s)==128&&(192&l)==128&&(c=(15&d)<<12|(63&s)<<6|63&l)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:s=t[a+1],l=t[a+2],u=t[a+3],(192&s)==128&&(192&l)==128&&(192&u)==128&&(c=(15&d)<<18|(63&s)<<12|(63&l)<<6|63&u)>65535&&c<1114112&&(h=c)}null===h?(h=65533,m=1):h>65535&&(h-=65536,o.push(h>>>10&1023|55296),h=56320|1023&h),o.push(h),a+=m}return function(t){var n=t.length;if(n<=4096)return String.fromCharCode.apply(String,t);for(var i="",o=0;o<n;)i+=String.fromCharCode.apply(String,t.slice(o,o+=4096));return i}(o)}function checkOffset(t,n,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+n>i)throw RangeError("Trying to access beyond buffer length")}function checkInt(t,n,i,o,a,s){if(!Buffer.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(n>a||n<s)throw RangeError('"value" argument is out of bounds');if(i+o>t.length)throw RangeError("Index out of range")}function checkIEEE754(t,n,i,o,a,s){if(i+o>t.length||i<0)throw RangeError("Index out of range")}function writeFloat(t,n,i,o,s){return n=+n,i>>>=0,s||checkIEEE754(t,n,i,4,34028234663852886e22,-34028234663852886e22),a.write(t,n,i,o,23,4),i+4}function writeDouble(t,n,i,o,s){return n=+n,i>>>=0,s||checkIEEE754(t,n,i,8,17976931348623157e292,-17976931348623157e292),a.write(t,n,i,o,52,8),i+8}n.lW=Buffer,n.h2=50,Buffer.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(t,n),42===t.foo()}catch(t){return!1}}(),Buffer.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(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),Buffer.poolSize=8192,Buffer.from=function(t,n,i){return from(t,n,i)},Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype),Object.setPrototypeOf(Buffer,Uint8Array),Buffer.alloc=function(t,n,i){return(assertSize(t),t<=0)?createBuffer(t):void 0!==n?"string"==typeof i?createBuffer(t).fill(n,i):createBuffer(t).fill(n):createBuffer(t)},Buffer.allocUnsafe=function(t){return allocUnsafe(t)},Buffer.allocUnsafeSlow=function(t){return allocUnsafe(t)},Buffer.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==Buffer.prototype},Buffer.compare=function(t,n){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),isInstance(n,Uint8Array)&&(n=Buffer.from(n,n.offset,n.byteLength)),!Buffer.isBuffer(t)||!Buffer.isBuffer(n))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===n)return 0;for(var i=t.length,o=n.length,a=0,s=Math.min(i,o);a<s;++a)if(t[a]!==n[a]){i=t[a],o=n[a];break}return i<o?-1:o<i?1:0},Buffer.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(t,n){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Buffer.alloc(0);if(void 0===n)for(i=0,n=0;i<t.length;++i)n+=t[i].length;var i,o=Buffer.allocUnsafe(n),a=0;for(i=0;i<t.length;++i){var s=t[i];if(isInstance(s,Uint8Array))a+s.length>o.length?Buffer.from(s).copy(o,a):Uint8Array.prototype.set.call(o,s,a);else if(Buffer.isBuffer(s))s.copy(o,a);else throw TypeError('"list" argument must be an Array of Buffers');a+=s.length}return o},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<t;n+=2)swap(this,n,n+1);return this},Buffer.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<t;n+=4)swap(this,n,n+3),swap(this,n+1,n+2);return this},Buffer.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<t;n+=8)swap(this,n,n+7),swap(this,n+1,n+6),swap(this,n+2,n+5),swap(this,n+3,n+4);return this},Buffer.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?utf8Slice(this,0,t):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function(t){if(!Buffer.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===Buffer.compare(this,t)},Buffer.prototype.inspect=function(){var t="",i=n.h2;return t=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(t+=" ... "),"<Buffer "+t+">"},s&&(Buffer.prototype[s]=Buffer.prototype.inspect),Buffer.prototype.compare=function(t,n,i,o,a){if(isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),!Buffer.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===n&&(n=0),void 0===i&&(i=t?t.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),n<0||i>t.length||o<0||a>this.length)throw RangeError("out of range index");if(o>=a&&n>=i)return 0;if(o>=a)return -1;if(n>=i)return 1;if(n>>>=0,i>>>=0,o>>>=0,a>>>=0,this===t)return 0;for(var s=a-o,l=i-n,u=Math.min(s,l),c=this.slice(o,a),d=t.slice(n,i),h=0;h<u;++h)if(c[h]!==d[h]){s=c[h],l=d[h];break}return s<l?-1:l<s?1:0},Buffer.prototype.includes=function(t,n,i){return -1!==this.indexOf(t,n,i)},Buffer.prototype.indexOf=function(t,n,i){return bidirectionalIndexOf(this,t,n,i,!0)},Buffer.prototype.lastIndexOf=function(t,n,i){return bidirectionalIndexOf(this,t,n,i,!1)},Buffer.prototype.write=function(t,n,i,o){if(void 0===n)o="utf8",i=this.length,n=0;else if(void 0===i&&"string"==typeof n)o=n,i=this.length,n=0;else if(isFinite(n))n>>>=0,isFinite(i)?(i>>>=0,void 0===o&&(o="utf8")):(o=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a,s,l,u,c,d,h,m,g=this.length-n;if((void 0===i||i>g)&&(i=g),t.length>0&&(i<0||n<0)||n>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var x=!1;;)switch(o){case"hex":return function(t,n,i,o){i=Number(i)||0;var a=t.length-i;o?(o=Number(o))>a&&(o=a):o=a;var s=n.length;o>s/2&&(o=s/2);for(var l=0;l<o;++l){var u=parseInt(n.substr(2*l,2),16);if(u!=u)break;t[i+l]=u}return l}(this,t,n,i);case"utf8":case"utf-8":return a=n,s=i,blitBuffer(utf8ToBytes(t,this.length-a),this,a,s);case"ascii":case"latin1":case"binary":return l=n,u=i,blitBuffer(function(t){for(var n=[],i=0;i<t.length;++i)n.push(255&t.charCodeAt(i));return n}(t),this,l,u);case"base64":return c=n,d=i,blitBuffer(base64ToBytes(t),this,c,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=n,m=i,blitBuffer(function(t,n){for(var i,o,a=[],s=0;s<t.length&&!((n-=2)<0);++s)o=(i=t.charCodeAt(s))>>8,a.push(i%256),a.push(o);return a}(t,this.length-h),this,h,m);default:if(x)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),x=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Buffer.prototype.slice=function(t,n){var i=this.length;t=~~t,n=void 0===n?i:~~n,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),n<0?(n+=i)<0&&(n=0):n>i&&(n=i),n<t&&(n=t);var o=this.subarray(t,n);return Object.setPrototypeOf(o,Buffer.prototype),o},Buffer.prototype.readUintLE=Buffer.prototype.readUIntLE=function(t,n,i){t>>>=0,n>>>=0,i||checkOffset(t,n,this.length);for(var o=this[t],a=1,s=0;++s<n&&(a*=256);)o+=this[t+s]*a;return o},Buffer.prototype.readUintBE=Buffer.prototype.readUIntBE=function(t,n,i){t>>>=0,n>>>=0,i||checkOffset(t,n,this.length);for(var o=this[t+--n],a=1;n>0&&(a*=256);)o+=this[t+--n]*a;return o},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function(t,n){return t>>>=0,n||checkOffset(t,1,this.length),this[t]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function(t,n){return t>>>=0,n||checkOffset(t,2,this.length),this[t]|this[t+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function(t,n){return t>>>=0,n||checkOffset(t,2,this.length),this[t]<<8|this[t+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function(t,n){return t>>>=0,n||checkOffset(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function(t,n){return t>>>=0,n||checkOffset(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Buffer.prototype.readIntLE=function(t,n,i){t>>>=0,n>>>=0,i||checkOffset(t,n,this.length);for(var o=this[t],a=1,s=0;++s<n&&(a*=256);)o+=this[t+s]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*n)),o},Buffer.prototype.readIntBE=function(t,n,i){t>>>=0,n>>>=0,i||checkOffset(t,n,this.length);for(var o=n,a=1,s=this[t+--o];o>0&&(a*=256);)s+=this[t+--o]*a;return s>=(a*=128)&&(s-=Math.pow(2,8*n)),s},Buffer.prototype.readInt8=function(t,n){return(t>>>=0,n||checkOffset(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},Buffer.prototype.readInt16LE=function(t,n){t>>>=0,n||checkOffset(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt16BE=function(t,n){t>>>=0,n||checkOffset(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},Buffer.prototype.readInt32LE=function(t,n){return t>>>=0,n||checkOffset(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Buffer.prototype.readInt32BE=function(t,n){return t>>>=0,n||checkOffset(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Buffer.prototype.readFloatLE=function(t,n){return t>>>=0,n||checkOffset(t,4,this.length),a.read(this,t,!0,23,4)},Buffer.prototype.readFloatBE=function(t,n){return t>>>=0,n||checkOffset(t,4,this.length),a.read(this,t,!1,23,4)},Buffer.prototype.readDoubleLE=function(t,n){return t>>>=0,n||checkOffset(t,8,this.length),a.read(this,t,!0,52,8)},Buffer.prototype.readDoubleBE=function(t,n){return t>>>=0,n||checkOffset(t,8,this.length),a.read(this,t,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function(t,n,i,o){if(t=+t,n>>>=0,i>>>=0,!o){var a=Math.pow(2,8*i)-1;checkInt(this,t,n,i,a,0)}var s=1,l=0;for(this[n]=255&t;++l<i&&(s*=256);)this[n+l]=t/s&255;return n+i},Buffer.prototype.writeUintBE=Buffer.prototype.writeUIntBE=function(t,n,i,o){if(t=+t,n>>>=0,i>>>=0,!o){var a=Math.pow(2,8*i)-1;checkInt(this,t,n,i,a,0)}var s=i-1,l=1;for(this[n+s]=255&t;--s>=0&&(l*=256);)this[n+s]=t/l&255;return n+i},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,1,255,0),this[n]=255&t,n+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,2,65535,0),this[n]=255&t,this[n+1]=t>>>8,n+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,2,65535,0),this[n]=t>>>8,this[n+1]=255&t,n+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,4,4294967295,0),this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t,n+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,4,4294967295,0),this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t,n+4},Buffer.prototype.writeIntLE=function(t,n,i,o){if(t=+t,n>>>=0,!o){var a=Math.pow(2,8*i-1);checkInt(this,t,n,i,a-1,-a)}var s=0,l=1,u=0;for(this[n]=255&t;++s<i&&(l*=256);)t<0&&0===u&&0!==this[n+s-1]&&(u=1),this[n+s]=(t/l>>0)-u&255;return n+i},Buffer.prototype.writeIntBE=function(t,n,i,o){if(t=+t,n>>>=0,!o){var a=Math.pow(2,8*i-1);checkInt(this,t,n,i,a-1,-a)}var s=i-1,l=1,u=0;for(this[n+s]=255&t;--s>=0&&(l*=256);)t<0&&0===u&&0!==this[n+s+1]&&(u=1),this[n+s]=(t/l>>0)-u&255;return n+i},Buffer.prototype.writeInt8=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,1,127,-128),t<0&&(t=255+t+1),this[n]=255&t,n+1},Buffer.prototype.writeInt16LE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,2,32767,-32768),this[n]=255&t,this[n+1]=t>>>8,n+2},Buffer.prototype.writeInt16BE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,2,32767,-32768),this[n]=t>>>8,this[n+1]=255&t,n+2},Buffer.prototype.writeInt32LE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,4,2147483647,-2147483648),this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24,n+4},Buffer.prototype.writeInt32BE=function(t,n,i){return t=+t,n>>>=0,i||checkInt(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t,n+4},Buffer.prototype.writeFloatLE=function(t,n,i){return writeFloat(this,t,n,!0,i)},Buffer.prototype.writeFloatBE=function(t,n,i){return writeFloat(this,t,n,!1,i)},Buffer.prototype.writeDoubleLE=function(t,n,i){return writeDouble(this,t,n,!0,i)},Buffer.prototype.writeDoubleBE=function(t,n,i){return writeDouble(this,t,n,!1,i)},Buffer.prototype.copy=function(t,n,i,o){if(!Buffer.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),o||0===o||(o=this.length),n>=t.length&&(n=t.length),n||(n=0),o>0&&o<i&&(o=i),o===i||0===t.length||0===this.length)return 0;if(n<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(o<0)throw RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-n<o-i&&(o=t.length-n+i);var a=o-i;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(n,i,o):Uint8Array.prototype.set.call(t,this.subarray(i,o),n),a},Buffer.prototype.fill=function(t,n,i,o){if("string"==typeof t){if("string"==typeof n?(o=n,n=0,i=this.length):"string"==typeof i&&(o=i,i=this.length),void 0!==o&&"string"!=typeof o)throw TypeError("encoding must be a string");if("string"==typeof o&&!Buffer.isEncoding(o))throw TypeError("Unknown encoding: "+o);if(1===t.length){var a,s=t.charCodeAt(0);("utf8"===o&&s<128||"latin1"===o)&&(t=s)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(n<0||this.length<n||this.length<i)throw RangeError("Out of range index");if(i<=n)return this;if(n>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(a=n;a<i;++a)this[a]=t;else{var l=Buffer.isBuffer(t)?t:Buffer.from(t,o),u=l.length;if(0===u)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<i-n;++a)this[a+n]=l[a%u]}return this};var l=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(t,n){n=n||1/0;for(var i,o=t.length,a=null,s=[],l=0;l<o;++l){if((i=t.charCodeAt(l))>55295&&i<57344){if(!a){if(i>56319||l+1===o){(n-=3)>-1&&s.push(239,191,189);continue}a=i;continue}if(i<56320){(n-=3)>-1&&s.push(239,191,189),a=i;continue}i=(a-55296<<10|i-56320)+65536}else a&&(n-=3)>-1&&s.push(239,191,189);if(a=null,i<128){if((n-=1)<0)break;s.push(i)}else if(i<2048){if((n-=2)<0)break;s.push(i>>6|192,63&i|128)}
6else if(i<65536){if((n-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((n-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return s}function base64ToBytes(t){return o.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(l,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function blitBuffer(t,n,i,o){for(var a=0;a<o&&!(a+i>=n.length)&&!(a>=t.length);++a)n[a+i]=t[a];return a}function isInstance(t,n){return t instanceof n||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===n.name}var u=function(){for(var t="0123456789abcdef",n=Array(256),i=0;i<16;++i)for(var o=16*i,a=0;a<16;++a)n[o+a]=t[i]+t[a];return n}()},37442:function(t,n,i){"use strict";i.d(n,{TA:function(){return useFormik}});var isMergeableObject=function(t){var n;return!!t&&"object"==typeof t&&"[object RegExp]"!==(n=Object.prototype.toString.call(t))&&"[object Date]"!==n&&t.$$typeof!==o},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function cloneUnlessOtherwiseSpecified(t,n){return!1!==n.clone&&n.isMergeableObject(t)?deepmerge(Array.isArray(t)?[]:{},t,n):t}function defaultArrayMerge(t,n,i){return t.concat(n).map(function(t){return cloneUnlessOtherwiseSpecified(t,i)})}function deepmerge(t,n,i){(i=i||{}).arrayMerge=i.arrayMerge||defaultArrayMerge,i.isMergeableObject=i.isMergeableObject||isMergeableObject;var o,a,s=Array.isArray(n);return s!==Array.isArray(t)?cloneUnlessOtherwiseSpecified(n,i):s?i.arrayMerge(t,n,i):(a={},(o=i).isMergeableObject(t)&&Object.keys(t).forEach(function(n){a[n]=cloneUnlessOtherwiseSpecified(t[n],o)}),Object.keys(n).forEach(function(i){o.isMergeableObject(n[i])&&t[i]?a[i]=deepmerge(t[i],n[i],o):a[i]=cloneUnlessOtherwiseSpecified(n[i],o)}),a)}deepmerge.all=function(t,n){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,i){return deepmerge(t,i,n)},{})};var a=deepmerge,s=i(37514),l=i(67294),u=i(60667),c=i.n(u),tiny_warning_esm=function(t,n){},d=i(31667),h=i(76579),m=i(72954),g=i(31899),x=i(14329),w=i(32957),E=i(91050),_=i(87215),T=i(41574),C=i(58694),P=i(12513),j=i(60532),O=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)(0,C.Z)(n,(0,T.Z)(t)),t=(0,P.Z)(t);return n}:j.Z,k=i(1808),R=i(63327),_getAllKeysIn=function(t){return(0,R.Z)(t,w.Z,O)},B=i(23353),I=Object.prototype.hasOwnProperty,_initCloneArray=function(t){var n=t.length,i=new t.constructor(n);return n&&"string"==typeof t[0]&&I.call(t,"index")&&(i.index=t.index,i.input=t.input),i},D=i(41884),_cloneDataView=function(t,n){var i=n?(0,D.Z)(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)},M=/\w*$/,_cloneRegExp=function(t){var n=new t.constructor(t.source,M.exec(t));return n.lastIndex=t.lastIndex,n},F=i(17685),L=F.Z?F.Z.prototype:void 0,V=L?L.valueOf:void 0,N=i(12701),_initCloneByTag=function(t,n,i){var o=t.constructor;switch(n){case"[object ArrayBuffer]":return(0,D.Z)(t);case"[object Boolean]":case"[object Date]":return new o(+t);case"[object DataView]":return _cloneDataView(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,N.Z)(t,i);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(t);case"[object RegExp]":return _cloneRegExp(t);case"[object Symbol]":return V?Object(V.call(t)):{}}},U=i(73658),Z=i(27771),W=i(77008),H=i(18533),K=i(21162),G=i(98351),Y=G.Z&&G.Z.isMap,X=Y?(0,K.Z)(Y):function(t){return(0,H.Z)(t)&&"[object Map]"==(0,B.Z)(t)},J=i(77226),Q=G.Z&&G.Z.isSet,ee=Q?(0,K.Z)(Q):function(t){return(0,H.Z)(t)&&"[object Set]"==(0,B.Z)(t)},et="[object Arguments]",er="[object Function]",en="[object Object]",ei={};ei[et]=ei["[object Array]"]=ei["[object ArrayBuffer]"]=ei["[object DataView]"]=ei["[object Boolean]"]=ei["[object Date]"]=ei["[object Float32Array]"]=ei["[object Float64Array]"]=ei["[object Int8Array]"]=ei["[object Int16Array]"]=ei["[object Int32Array]"]=ei["[object Map]"]=ei["[object Number]"]=ei[en]=e
6i["[object RegExp]"]=ei["[object Set]"]=ei["[object String]"]=ei["[object Symbol]"]=ei["[object Uint8Array]"]=ei["[object Uint8ClampedArray]"]=ei["[object Uint16Array]"]=ei["[object Uint32Array]"]=!0,ei["[object Error]"]=ei[er]=ei["[object WeakMap]"]=!1;var _baseClone=function baseClone(t,n,i,o,a,s){var l,u=1&n,c=2&n,C=4&n;if(i&&(l=a?i(t,o,a,s):i(t)),void 0!==l)return l;if(!(0,J.Z)(t))return t;var P=(0,Z.Z)(t);if(P){if(l=_initCloneArray(t),!u)return(0,_.Z)(t,l)}else{var j,R,I,D,M=(0,B.Z)(t),F=M==er||"[object GeneratorFunction]"==M;if((0,W.Z)(t))return(0,E.Z)(t,u);if(M==en||M==et||F&&!a){if(l=c||F?{}:(0,U.Z)(t),!u)return c?(R=(j=l)&&(0,g.Z)(t,(0,w.Z)(t),j),(0,g.Z)(t,O(t),R)):(D=(I=l)&&(0,g.Z)(t,(0,x.Z)(t),I),(0,g.Z)(t,(0,T.Z)(t),D))}else{if(!ei[M])return a?t:{};l=_initCloneByTag(t,M,u)}}s||(s=new d.Z);var L=s.get(t);if(L)return L;s.set(t,l),ee(t)?t.forEach(function(o){l.add(baseClone(o,n,i,o,t,s))}):X(t)&&t.forEach(function(o,a){l.set(a,baseClone(o,n,i,a,t,s))});var V=C?c?_getAllKeysIn:k.Z:c?w.Z:x.Z,N=P?void 0:V(t);return(0,h.Z)(N||t,function(o,a){N&&(o=t[a=o]),(0,m.Z)(l,a,baseClone(o,n,i,a,t,s))}),l},lodash_es_clone=function(t){return _baseClone(t,4)},eo=i(74073),ea=i(72714),es=i(77612),el=i(62281),eu=i(50751),lodash_es_toPath=function(t){return(0,Z.Z)(t)?(0,eo.Z)(t,el.Z):(0,ea.Z)(t)?[t]:(0,_.Z)((0,es.Z)((0,eu.Z)(t)))};function _extends(){return(_extends=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t}).apply(this,arguments)}function _objectWithoutPropertiesLoose(t,n){if(null==t)return{};var i,o,a={},s=Object.keys(t);for(o=0;o<s.length;o++)i=s[o],n.indexOf(i)>=0||(a[i]=t[i]);return a}function _assertThisInitialized(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}i(8679);var ec=(0,l.createContext)(void 0);ec.displayName="FormikContext",ec.Provider,ec.Consumer;var isEmptyArray=function(t){return Array.isArray(t)&&0===t.length},isFunction=function(t){return"function"==typeof t},formik_esm_isObject=function(t){return null!==t&&"object"==typeof t},isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},isPromise=function(t){return formik_esm_isObject(t)&&isFunction(t.then)};function getIn(t,n,i,o){void 0===o&&(o=0);for(var a=lodash_es_toPath(n);t&&o<a.length;)t=t[a[o++]];return o===a.length||t?void 0===t?i:t:i}function setIn(t,n,i){for(var o=lodash_es_clone(t),a=o,s=0,l=lodash_es_toPath(n);s<l.length-1;s++){var u=l[s],c=getIn(t,l.slice(0,s+1));if(c&&(formik_esm_isObject(c)||Array.isArray(c)))a=a[u]=lodash_es_clone(c);else{var d=l[s+1];a=a[u]=String(Math.floor(Number(d)))===d&&Number(d)>=0?[]:{}}}return(0===s?t:a)[l[s]]===i?t:(void 0===i?delete a[l[s]]:a[l[s]]=i,0===s&&void 0===i&&delete o[l[s]],o)}var ef={},ed={};function useFormik(t){var n=t.validateOnChange,i=void 0===n||n,o=t.validateOnBlur,u=void 0===o||o,d=t.validateOnMount,h=void 0!==d&&d,m=t.isInitialValid,g=t.enableReinitialize,x=void 0!==g&&g,w=t.onSubmit,E=_objectWithoutPropertiesLoose(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),_=_extends({validateOnChange:i,validateOnBlur:u,validateOnMount:h,onSubmit:w},E),T=(0,l.useRef)(_.initialValues),C=(0,l.useRef)(_.initialErrors||ef),P=(0,l.useRef)(_.initialTouched||ed),j=(0,l.useRef)(_.initialStatus),O=(0,l.useRef)(!1),k=(0,l.useRef)({});(0,l.useEffect)(function(){return O.current=!0,function(){O.current=!1}},[]);var R=(0,l.useState)(0)[1],B=(0,l.useRef)({values:_.initialValues,errors:_.initialErrors||ef,touched:_.initialTouched||ed,status:_.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),I=B.current,D=(0,l.useCallback)(function(t){var n=B.current;B.current=function(t,n){switch(n.type){case"SET_VALUES":return _extends({},t,{values:n.payload});case"SET_TOUCHED":return _extends({},t,{touched:n.payload});case"SET_ERRORS":if(c()(t.errors,n.payload))return t;return _extends({},t,{errors:n.payload});case"SET_STATUS":return _extends({},t,{status:n.payload});case"SET_ISSUBMITTING":return _extends({},t,{isSubmitting:n.payload});case"SET_ISVALIDATING":return _extends({},t,{isValidating:n.payload});case"SET_FIELD_VALUE":return _extends({},t,{values:setIn(t.values,n.payload.field,n.payload.value)});case"SET_FIELD_TOUCHED":return _extends({},t,{touched:setIn(t.touched,n.payload.field,n.payload.value)});case"SET_FIELD_ERROR":return _extends({},t,{errors:setIn(t.errors,n.payload.field,n.payload.value)});case"RESET_FORM":return _extends({},t,n.payload);case"SET_FORMIK_STATE":return n.payload(t);case"SUBMIT_ATTEMPT":return _extends({},t,{touched:function setNestedObjectValues(t,n,i,o){void 0===i&&(i=new WeakMap),void 0===o&&(o={});for(var a=0,s=Object.keys(t);a<s.length;a++){var l=s[a],u=t[l];formik_esm_isObject(u)?i.get(u)||(i.set(u,!0),o[l]=Array.isArray(u)?[]:{},setNestedObjectValues(u,n,i,o[l])):o[l]=n}return o}(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return _extends({},t,{isSubmitting:!1});default:return t}}(n,t),n!==B.current&&R(function(t){return t+1})},[]),M=(0,l.useCallback)(function(t,n){return new Promise(function(i,o){var a=_.validate(t,n);null==a?i(ef):isPromise(a)?a.then(function(t){i(t||ef)},function(t){o(t)}):i(a)})},[_.validate]),F=(0,l.useCallback)(function(t,n){var i,o,a=_.validationSchema,l=isFunction(a)?a(n):a,u=n&&l.validateAt?l.validateAt(n,t):(void 0===i&&(i=!1),o=function prepareDataForValidation(t){var n=Array.isArray(t)?[]:{};for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=String(i);!0===Array.isArray(t[o])?n[o]=t[o].map(function(t){return!0===Array.isArray(t)||(0,s.Z)(t)?prepareDataForValidation(t):""!==t?t:void 0}):(0,s.Z)(t[o])?n[o]=prepareDataForValidation(t[o]):n[o]=""!==t[o]?t[o]:void 0}return n}(t),l[i?"validateSync":"validate"](o,{abortEarly:!1,context:o}));return new Promise(function(t,n){u.then(function(){t(ef)},function(i){"ValidationError"===i.name?t(function(t){var n={};if(t.inner){if(0===t.inner.length)return setIn(n,t.path,t.message);for(var i=t.inner,o=Array.isArray(i),a=0,i=o?i:i[Symbol.iterator]();;){if(o){if(a>=i.length)break;s=i[a++]}else{if((a=i.next()).done)break;s=a.value}var s,l=s;getIn(n,l.path)||(n=setIn(n,l.path,l.message))}}return n}(i)):n(i)})})},[_.validationSchema]),L=(0,l.useCallback)(function(t,n){return new Promise(function(i){return i(k.current[t].validate(n))})},[]),V=(0,l.useCallback)(function(t){var n=Object.keys(k.current).filter(function(t){return isFunction(k.current[t].validate)});return Promise.all(n.length>0?n.map(function(n){return L(n,getIn(t,n))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(t){return t.reduce(function(t,i,o){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===i||i&&(t=setIn(t,n[o],i)
6),t},{})})},[L]),N=(0,l.useCallback)(function(t){return Promise.all([V(t),_.validationSchema?F(t):{},_.validate?M(t):{}]).then(function(t){var n=t[0],i=t[1],o=t[2];return a.all([n,i,o],{arrayMerge:arrayMerge})})},[_.validate,_.validationSchema,V,M,F]),U=useEventCallback(function(t){return void 0===t&&(t=I.values),D({type:"SET_ISVALIDATING",payload:!0}),N(t).then(function(t){return O.current&&(D({type:"SET_ISVALIDATING",payload:!1}),D({type:"SET_ERRORS",payload:t})),t})});(0,l.useEffect)(function(){h&&!0===O.current&&c()(T.current,_.initialValues)&&U(T.current)},[h,U]);var Z=(0,l.useCallback)(function(t){var n=t&&t.values?t.values:T.current,i=t&&t.errors?t.errors:C.current?C.current:_.initialErrors||{},o=t&&t.touched?t.touched:P.current?P.current:_.initialTouched||{},a=t&&t.status?t.status:j.current?j.current:_.initialStatus;T.current=n,C.current=i,P.current=o,j.current=a;var dispatchFn=function(){D({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:i,touched:o,status:a,values:n,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"==typeof t.submitCount?t.submitCount:0}})};if(_.onReset){var s=_.onReset(I.values,ec);isPromise(s)?s.then(dispatchFn):dispatchFn()}else dispatchFn()},[_.initialErrors,_.initialStatus,_.initialTouched,_.onReset]);(0,l.useEffect)(function(){!0===O.current&&!c()(T.current,_.initialValues)&&x&&(T.current=_.initialValues,Z(),h&&U(T.current))},[x,_.initialValues,Z,h,U]),(0,l.useEffect)(function(){x&&!0===O.current&&!c()(C.current,_.initialErrors)&&(C.current=_.initialErrors||ef,D({type:"SET_ERRORS",payload:_.initialErrors||ef}))},[x,_.initialErrors]),(0,l.useEffect)(function(){x&&!0===O.current&&!c()(P.current,_.initialTouched)&&(P.current=_.initialTouched||ed,D({type:"SET_TOUCHED",payload:_.initialTouched||ed}))},[x,_.initialTouched]),(0,l.useEffect)(function(){x&&!0===O.current&&!c()(j.current,_.initialStatus)&&(j.current=_.initialStatus,D({type:"SET_STATUS",payload:_.initialStatus}))},[x,_.initialStatus,_.initialTouched]);var W=useEventCallback(function(t){if(k.current[t]&&isFunction(k.current[t].validate)){var n=getIn(I.values,t),i=k.current[t].validate(n);return isPromise(i)?(D({type:"SET_ISVALIDATING",payload:!0}),i.then(function(t){return t}).then(function(n){D({type:"SET_FIELD_ERROR",payload:{field:t,value:n}}),D({type:"SET_ISVALIDATING",payload:!1})})):(D({type:"SET_FIELD_ERROR",payload:{field:t,value:i}}),Promise.resolve(i))}return _.validationSchema?(D({type:"SET_ISVALIDATING",payload:!0}),F(I.values,t).then(function(t){return t}).then(function(n){D({type:"SET_FIELD_ERROR",payload:{field:t,value:getIn(n,t)}}),D({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),H=(0,l.useCallback)(function(t,n){var i=n.validate;k.current[t]={validate:i}},[]),K=(0,l.useCallback)(function(t){delete k.current[t]},[]),G=useEventCallback(function(t,n){return D({type:"SET_TOUCHED",payload:t}),(void 0===n?u:n)?U(I.values):Promise.resolve()}),Y=(0,l.useCallback)(function(t){D({type:"SET_ERRORS",payload:t})},[]),X=useEventCallback(function(t,n){var o=isFunction(t)?t(I.values):t;return D({type:"SET_VALUES",payload:o}),(void 0===n?i:n)?U(o):Promise.resolve()}),J=(0,l.useCallback)(function(t,n){D({type:"SET_FIELD_ERROR",payload:{field:t,value:n}})},[]),Q=useEventCallback(function(t,n,o){return D({type:"SET_FIELD_VALUE",payload:{field:t,value:n}}),(void 0===o?i:o)?U(setIn(I.values,t,n)):Promise.resolve()}),ee=(0,l.useCallback)(function(t,n){var i,o=n,a=t;if(!isString(t)){t.persist&&t.persist();var s=t.target?t.target:t.currentTarget,l=s.type,u=s.name,c=s.id,d=s.value,h=s.checked,m=(s.outerHTML,s.options),g=s.multiple;o=n||u||c,a=/number|range/.test(l)?isNaN(i=parseFloat(d))?"":i:/checkbox/.test(l)?function(t,n,i){if("boolean"==typeof t)return!!n;var o=[],a=!1,s=-1;if(Array.isArray(t))o=t,a=(s=t.indexOf(i))>=0;else if(!i||"true"==i||"false"==i)return!!n;return n&&i&&!a?o.concat(i):a?o.slice(0,s).concat(o.slice(s+1)):o}(getIn(I.values,o),h,d):m&&g?Array.from(m).filter(function(t){return t.selected}).map(function(t){return t.value}):d}o&&Q(o,a)},[Q,I.values]),et=useEventCallback(function(t){if(isString(t))return function(n){return ee(n,t)};ee(t)}),er=useEventCallback(function(t,n,i){return void 0===n&&(n=!0),D({type:"SET_FIELD_TOUCHED",payload:{field:t,value:n}}),(void 0===i?u:i)?U(I.values):Promise.resolve()}),en=(0,l.useCallback)(function(t,n){t.persist&&t.persist();var i=t.target,o=i.name,a=i.id;i.outerHTML,er(n||o||a,!0)},[er]),ei=useEventCallback(function(t){if(isString(t))return function(n){return en(n,t)};en(t)}),eo=(0,l.useCallback)(function(t){isFunction(t)?D({type:"SET_FORMIK_STATE",payload:t}):D({type:"SET_FORMIK_STATE",payload:function(){return t}})},[]),ea=(0,l.useCallback)(function(t){D({type:"SET_STATUS",payload:t})},[]),es=(0,l.useCallback)(function(t){D({type:"SET_ISSUBMITTING",payload:t})},[]),el=useEventCallback(function(){return D({type:"SUBMIT_ATTEMPT"}),U().then(function(t){var n,i=t instanceof Error;if(!i&&0===Object.keys(t).length){try{if(n=eh(),void 0===n)return}catch(t){throw t}return Promise.resolve(n).then(function(t){return O.current&&D({type:"SUBMIT_SUCCESS"}),t}).catch(function(t){if(O.current)throw D({type:"SUBMIT_FAILURE"}),t})}if(O.current&&(D({type:"SUBMIT_FAILURE"}),i))throw t})}),eu=useEventCallback(function(t){t&&t.preventDefault&&isFunction(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&isFunction(t.stopPropagation)&&t.stopPropagation(),el().catch(function(t){console.warn("Warning: An unhandled error was caught from submitForm(
6)",t)})}),ec={resetForm:Z,validateForm:U,validateField:W,setErrors:Y,setFieldError:J,setFieldTouched:er,setFieldValue:Q,setStatus:ea,setSubmitting:es,setTouched:G,setValues:X,setFormikState:eo,submitForm:el},eh=useEventCallback(function(){return w(I.values,ec)}),ep=useEventCallback(function(t){t&&t.preventDefault&&isFunction(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&isFunction(t.stopPropagation)&&t.stopPropagation(),Z()}),em=(0,l.useCallback)(function(t){return{value:getIn(I.values,t),error:getIn(I.errors,t),touched:!!getIn(I.touched,t),initialValue:getIn(T.current,t),initialTouched:!!getIn(P.current,t),initialError:getIn(C.current,t)}},[I.errors,I.touched,I.values]),ey=(0,l.useCallback)(function(t){return{setValue:function(n,i){return Q(t,n,i)},setTouched:function(n,i){return er(t,n,i)},setError:function(n){return J(t,n)}}},[Q,er,J]),eg=(0,l.useCallback)(function(t){var n=formik_esm_isObject(t),i=n?t.name:t,o=getIn(I.values,i),a={name:i,value:o,onChange:et,onBlur:ei};if(n){var s=t.type,l=t.value,u=t.as,c=t.multiple;"checkbox"===s?void 0===l?a.checked=!!o:(a.checked=!!(Array.isArray(o)&&~o.indexOf(l)),a.value=l):"radio"===s?(a.checked=o===l,a.value=l):"select"===u&&c&&(a.value=a.value||[],a.multiple=!0)}return a},[ei,et,I.values]),ev=(0,l.useMemo)(function(){return!c()(T.current,I.values)},[T.current,I.values]),eb=(0,l.useMemo)(function(){return void 0!==m?ev?I.errors&&0===Object.keys(I.errors).length:!1!==m&&isFunction(m)?m(_):m:I.errors&&0===Object.keys(I.errors).length},[m,ev,I.errors,_]);return _extends({},I,{initialValues:T.current,initialErrors:C.current,initialTouched:P.current,initialStatus:j.current,handleBlur:ei,handleChange:et,handleReset:ep,handleSubmit:eu,resetForm:Z,setErrors:Y,setFormikState:eo,setFieldTouched:er,setFieldValue:Q,setFieldError:J,setStatus:ea,setSubmitting:es,setTouched:G,setValues:X,submitForm:el,validateForm:U,validateField:W,isValid:eb,dirty:ev,unregisterField:K,registerField:H,getFieldProps:eg,getFieldMeta:em,getFieldHelpers:ey,validateOnBlur:u,validateOnChange:i,validateOnMount:h})}function arrayMerge(t,n,i){var o=t.slice();return n.forEach(function(n,s){if(void 0===o[s]){var l=!1!==i.clone&&i.isMergeableObject(n);o[s]=l?a(Array.isArray(n)?[]:{},n,i):n}else i.isMergeableObject(n)?o[s]=a(t[s],n,i):-1===t.indexOf(n)&&o.push(n)}),o}var eh="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect;function useEventCallback(t){var n=(0,l.useRef)(t);return eh(function(){n.current=t}),(0,l.useCallback)(function(){for(var t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return n.current.apply(void 0,i)},[])}(0,l.forwardRef)(function(t,n){var i,o=t.action,a=_objectWithoutPropertiesLoose(t,["action"]),s=((i=(0,l.useContext)(ec))||tiny_warning_esm(!1),i),u=s.handleReset,c=s.handleSubmit;return(0,l.createElement)("form",_extends({onSubmit:c,ref:n,onReset:u,action:null!=o?o:"#"},a))}).displayName="Form";var move=function(t,n,i){var o=copyArrayLike(t),a=o[n];return o.splice(n,1),o.splice(i,0,a),o},swap=function(t,n,i){var o=copyArrayLike(t),a=o[n];return o[n]=o[i],o[i]=a,o},insert=function(t,n,i){var o=copyArrayLike(t);return o.splice(n,0,i),o},replace=function(t,n,i){var o=copyArrayLike(t);return o[n]=i,o},copyArrayLike=function(t){if(!t)return[];if(Array.isArray(t))return[].concat(t);var n=Object.keys(t).map(function(t){return parseInt(t)}).reduce(function(t,n){return n>t?n:t},0);return Array.from(_extends({},t,{length:n+1}))},createAlterationHandler=function(t,n){var i="function"==typeof t?t:n;return function(t){return Array.isArray(t)||formik_esm_isObject(t)?i(copyArrayLike(t)):t}};(function(t){function FieldArrayInner(n){var i;return(i=t.call(this,n)||this).updateArrayField=function(t,n,o){var a=i.props,s=a.name;(0,a.formik.setFormikState)(function(i){var a=createAlterationHandler(o,t),l=createAlterationHandler(n,t),u=setIn(i.values,s,t(getIn(i.values,s))),c=o?a(getIn(i.errors,s)):void 0,d=n?l(getIn(i.touched,s)):void 0;return isEmptyArray(c)&&(c=void 0),isEmptyArray(d)&&(d=void 0),_extends({},i,{values:u,errors:o?setIn(i.errors,s,c):i.errors,touched:n?setIn(i.touched,s,d):i.touched})})},i.push=function(t){return i.updateArrayField(function(n){return[].concat(copyArrayLike(n),[_baseClone(t,5)])},!1,!1)},i.handlePush=function(t){return function(){return i.push(t)}},i.swap=function(t,n){return i.updateArrayField(function(i){return swap(i,t,n)},!0,!0)},i.handleSwap=function(t,n){return function(){return i.swap(t,n)}},i.move=function(t,n){return i.updateArrayField(function(i){return move(i,t,n)},!0,!0)},i.handleMove=function(t,n){return function(){return i.move(t,n)}},i.insert=function(t,n){return i.updateArrayField(function(i){return insert(i,t,n)},function(n){return insert(n,t,null)},function(n){return insert(n,t,null)})},i.handleInsert=function(t,n){return function(){return i.insert(t,n)}},i.replace=function(t,n){return i.updateArrayField(function(i){return replace(i,t,n)},!1,!1)},i.handleReplace=function(t,n){return function(){return i.replace(t,n)}},i.unshift=function(t){var n=-1;return i.updateArrayField(function(i){var o=i?[t].concat(i):[t];return n=o.length,o},function(t){return t?[null].concat(t):[null]},function(t){return t?[null].concat(t):[null]}),n},i.handleUnshift=function(t){return function(){return i.unshift(t)}},i.handleRemove=function(t){return function(){return i.remove(t)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(_assertThisInitialized(i)),i.pop=i.pop.bind(_assertThisInitialized(i)),i}FieldArrayInner.prototype=Object.create(t.prototype),FieldArrayInner.prototype.constructor=FieldArrayInner,FieldArrayInner.__proto__=t;var n=FieldArrayInner.prototype;return n.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!c()(getIn(t.formik.values,t.name),getIn(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(t){var n;return this.updateArrayField(function(i){var o=i?copyArrayLike(i):[];return n||(n=o[t]),isFunction(o.splice)&&o.splice(t,1),isFunction(o.every)&&o.every(function(t){return void 0===t})?[]:o},!0,!0),n},n.pop=function(){var t;return this.updateArrayField(function(n){var i=n.slice();return t||(t=i&&i.pop&&i.pop()),i},!0,!0),t},n.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},n=this.props,i=n.component,o=n.render,a=n.children,s=n.name,u=_objectWithoutPropertiesLoose(n.formik,["validate","validationSchema"]),c=_extends({},t,{form:u,name:s});return i?(0,l.createElement)(i,c):o?o(c):a?"function"==typeof a?a(c):0===l.Children.count(a)?null:l.Children.only(a):null},FieldArrayInner})(l.Component).defaultProps={validateOnChange:!0}},60667:function(t){"use strict";var n=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;t.exports=function(t,s){try{return function equal(t,s){if(t===s)return!0;
6if(t&&s&&"object"==typeof t&&"object"==typeof s){var l,u,c,d=n(t),h=n(s);if(d&&h){if((u=t.length)!=s.length)return!1;for(l=u;0!=l--;)if(!equal(t[l],s[l]))return!1;return!0}if(d!=h)return!1;var m=t instanceof Date,g=s instanceof Date;if(m!=g)return!1;if(m&&g)return t.getTime()==s.getTime();var x=t instanceof RegExp,w=s instanceof RegExp;if(x!=w)return!1;if(x&&w)return t.toString()==s.toString();var E=i(t);if((u=E.length)!==i(s).length)return!1;for(l=u;0!=l--;)if(!o.call(s,E[l]))return!1;if(a&&t instanceof Element&&s instanceof Element)return t===s;for(l=u;0!=l--;)if(("_owner"!==(c=E[l])||!t.$$typeof)&&!equal(t[c],s[c]))return!1;return!0}return t!=t&&s!=s}(t,s)}catch(t){if(t.message&&t.message.match(/stack|recursion/i)||-2146828260===t.number)return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}},8679:function(t,n,i){"use strict";var o=i(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function getStatics(t){return o.isMemo(t)?l:u[t.$$typeof]||a}u[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[o.Memo]=l;var c=Object.defineProperty,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,x=Object.prototype;t.exports=function hoistNonReactStatics(t,n,i){if("string"!=typeof n){if(x){var o=g(n);o&&o!==x&&hoistNonReactStatics(t,o,i)}var a=d(n);h&&(a=a.concat(h(n)));for(var l=getStatics(t),u=getStatics(n),w=0;w<a.length;++w){var E=a[w];if(!s[E]&&!(i&&i[E])&&!(u&&u[E])&&!(l&&l[E])){var _=m(n,E);try{c(t,E,_)}catch(t){}}}}return t}},80645:function(t,n){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */n.read=function(t,n,i,o,a){var s,l,u=8*a-o-1,c=(1<<u)-1,d=c>>1,h=-7,m=i?a-1:0,g=i?-1:1,x=t[n+m];for(m+=g,s=x&(1<<-h)-1,x>>=-h,h+=u;h>0;s=256*s+t[n+m],m+=g,h-=8);for(l=s&(1<<-h)-1,s>>=-h,h+=o;h>0;l=256*l+t[n+m],m+=g,h-=8);if(0===s)s=1-d;else{if(s===c)return l?NaN:(x?-1:1)*(1/0);l+=Math.pow(2,o),s-=d}return(x?-1:1)*l*Math.pow(2,s-o)},n.write=function(t,n,i,o,a,s){var l,u,c,d=8*s-a-1,h=(1<<d)-1,m=h>>1,g=23===a?5960464477539062e-23:0,x=o?0:s-1,w=o?1:-1,E=n<0||0===n&&1/n<0?1:0;for(isNaN(n=Math.abs(n))||n===1/0?(u=isNaN(n)?1:0,l=h):(l=Math.floor(Math.log(n)/Math.LN2),n*(c=Math.pow(2,-l))<1&&(l--,c*=2),l+m>=1?n+=g/c:n+=g*Math.pow(2,1-m),n*c>=2&&(l++,c/=2),l+m>=h?(u=0,l=h):l+m>=1?(u=(n*c-1)*Math.pow(2,a),l+=m):(u=n*Math.pow(2,m-1)*Math.pow(2,a),l=0));a>=8;t[i+x]=255&u,x+=w,u/=256,a-=8);for(l=l<<a|u,d+=a;d>0;t[i+x]=255&l,x+=w,l/=256,d-=8);t[i+x-w]|=128*E}},82010:function(t,n,i){"use strict";i.d(n,{F:function(){return y},f:function(){return $}});var o=i(67294);let a=["light","dark"],s="(prefers-color-scheme: dark)",l="undefined"==typeof window,u=(0,o.createContext)(void 0),c={setTheme:t=>{},themes:[]},y=()=>{var t;return null!==(t=(0,o.useContext)(u))&&void 0!==t?t:c},$=t=>(0,o.useContext)(u)?o.createElement(o.Fragment,null,t.children):o.createElement(f,t),d=["light","dark"],f=({forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:i=!0,enableColorScheme:l=!0,storageKey:c="theme",themes:m=d,defaultTheme:g=i?"system":"light",attribute:x="data-theme",value:w,children:E,nonce:_})=>{let[T,C]=(0,o.useState)(()=>S(c,g)),[P,j]=(0,o.useState)(()=>S(c)),O=w?Object.values(w):m,k=(0,o.useCallback)(t=>{let o=t;if(!o)return;"system"===t&&i&&(o=p());let s=w?w[o]:o,u=n?b():null,c=document.documentElement;if("class"===x?(c.classList.remove(...O),s&&c.classList.add(s)):s?c.setAttribute(x,s):c.removeAttribute(x),l){let t=a.includes(g)?g:null,n=a.includes(o)?o:t;c.style.colorScheme=n}null==u||u()},[]),R=(0,o.useCallback)(t=>{C(t);try{localStorage.setItem(c,t)}catch(t){}},[t]),B=(0,o.useCallback)(n=>{let o=p(n);j(o),"system"===T&&i&&!t&&k("system")},[T,t]);(0,o.useEffect)(()=>{let t=window.matchMedia(s);return t.addListener(B),B(t),()=>t.removeListener(B)},[B]),(0,o.useEffect)(()=>{let e=t=>{t.key===c&&R(t.newValue||g)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[R]),(0,o.useEffect)(()=>{k(null!=t?t:T)},[t,T]);let I=(0,o.useMemo)(()=>({theme:T,setTheme:R,forcedTheme:t,resolvedTheme:"system"===T?P:T,themes:i?[...m,"system"]:m,systemTheme:i?P:void 0}),[T,R,t,P,i,m]);return o.createElement(u.Provider,{value:I},o.createElement(h,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:i,enableColorScheme:l,storageKey:c,themes:m,defaultTheme:g,attribute:x,value:w,children:E,attrs:O,nonce:_}),E)},h=(0,o.memo)(({forcedTheme:t,storageKey:n,attribute:i,enableSystem:l,enableColorScheme:u,defaultTheme:c,value:d,attrs:h,nonce:m})=>{let g="system"===c,x="class"===i?`var d=document.documentElement,c=d.classList;c.remove(${h.map(t=>`'${t}'`).join(",")});`:`var d=document.documentElement,n='${i}',s='setAttribute';`,w=u?a.includes(c)&&c?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",$=(t,n=!1,o=!0)=>{let s=d?d[t]:t,l=n?t+"|| ''":`'${s}'`,c="";return u&&o&&!n&&a.includes(t)&&(c+=`d.style.colorScheme = '${t}';`),"class"===i?c+=n||s?`c.add(${l})`:"null":s&&(c+=`d[s](n,${l})`),c},E=t?`!function(){${x}${$(t)}}()`:l?`!function(){try{${x}var e=localStorage.getItem('${n}');if('system'===e||(!e&&${g})){var t='${s}',m=window.matchMedia(t);if(m.media!==t||m.matches){${$("dark")}}else{${$("light")}}}else if(e){${d?`var x=${JSON.stringify(d)};`:""}${$(d?"x[e]":"e",!0)}}${g?"":"else{"+$(c,!1,!1)+"}"}${w}}catch(e){}}()`:`!function(){try{${x}var e=localStorage.getItem('${n}');if(e){${d?`var x=${JSON.stringify(d)};`:""}${$(d?"x[e]":"e",!0)}}else{${$(c,!1,!1)};}${w}}catch(t){}}();`;return o.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:E}})},()=>!0),S=(t,n)=>{let i;if(!l){try{i=localStorage.getItem(t)||void 0}catch(t){}return i||n}},b=()=>{let t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},p=t=>
6(t||(t=window.matchMedia(s)),t.matches?"dark":"light")},6840:function(t,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return i(17458)}])},97498:function(t,n){"use strict";var i,o;Object.defineProperty(n,"__esModule",{value:!0}),function(t,n){for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]})}(n,{PrefetchKind:function(){return i},ACTION_REFRESH:function(){return a},ACTION_NAVIGATE:function(){return s},ACTION_RESTORE:function(){return l},ACTION_SERVER_PATCH:function(){return u},ACTION_PREFETCH:function(){return c},ACTION_FAST_REFRESH:function(){return d},ACTION_SERVER_ACTION:function(){return h}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",h="server-action";(o=i||(i={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},10030:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}});let o=i(22866);function getDomainLocale(t,n,a,s){{let l=i(33530).normalizeLocalePath,u=i(16728).detectDomainLocale,c=n||l(t,a).detectedLocale,d=u(s,void 0,c);if(d){let n="http"+(d.http?"":"s")+"://",i=c===d.defaultLocale?"":"/"+c;return""+n+d.domain+(0,o.normalizePathTrailingSlash)(""+i+t)}return!1}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},23271:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return E}});let o=i(38754),a=i(61757),s=a._(i(67294)),l=o._(i(73935)),u=o._(i(79201)),c=i(53914),d=i(85494),h=i(30869);i(81905);let m=i(11823),g=o._(i(74545)),x={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function handleLoading(t,n,i,o,a,s){let l=null==t?void 0:t.src;if(!t||t["data-loaded-src"]===l)return;t["data-loaded-src"]=l;let u="decode"in t?t.decode():Promise.resolve();u.catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==n&&a(!0),null==i?void 0:i.current){let n=new Event("load");Object.defineProperty(n,"target",{writable:!1,value:t});let o=!1,a=!1;i.current({...n,nativeEvent:n,currentTarget:t,target:t,isDefaultPrevented:()=>o,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{o=!0,n.preventDefault()},stopPropagation:()=>{a=!0,n.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(t)}})}function getDynamicProps(t){let[n,i]=s.version.split("."),o=parseInt(n,10),a=parseInt(i,10);return o>18||18===o&&a>=3?{fetchPriority:t}:{fetchpriority:t}}let w=(0,s.forwardRef)((t,n)=>{let{src:i,srcSet:o,sizes:a,height:l,width:u,decoding:c,className:d,style:h,fetchPriority:m,placeholder:g,loading:x,unoptimized:w,fill:E,onLoadRef:_,onLoadingCompleteRef:T,setBlurComplete:C,setShowAltText:P,onLoad:j,onError:O,...k}=t;return s.default.createElement("img",{...k,...getDynamicProps(m),loading:x,width:u,height:l,decoding:c,"data-nimg":E?"fill":"1",className:d,style:h,sizes:a,srcSet:o,src:i,ref:(0,s.useCallback)(t=>{n&&("function"==typeof n?n(t):"object"==typeof n&&(n.current=t)),t&&(O&&(t.src=t.src),t.complete&&handleLoading(t,g,_,T,C,w))},[i,g,_,T,C,O,w,n]),onLoad:t=>{let n=t.currentTarget;handleLoading(n,g,_,T,C,w)},onError:t=>{P(!0),"empty"!==g&&C(!0),O&&O(t)}})});function ImagePreload(t){let{isAppRouter:n,imgAttributes:i}=t,o={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...getDynamicProps(i.fetchPriority)};return n&&l.default.preload?(l.default.preload(i.src,o),null):s.default.createElement(u.default,null,s.default.createElement("link",{key:"__nimg-"+i.src+i.srcSet+i.sizes,rel:"preload",href:i.srcSet?void 0:i.src,...o}))}let E=(0,s.forwardRef)((t,n)=>{let i=(0,s.useContext)(m.RouterContext),o=(0,s.useContext)(h.ImageConfigContext),a=(0,s.useMemo)(()=>{let t=x||o||d.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((t,n)=>t-n),i=t.deviceSizes.sort((t,n)=>t-n);return{...t,allSizes:n,deviceSizes:i}},[o]),{onLoad:l,onLoadingComplete:u}=t,E=(0,s.useRef)(l);(0,s.useEffect)(()=>{E.current=l},[l]);let _=(0,s.useRef)(u);(0,s.useEffect)(()=>{_.current=u},[u]);
6let[T,C]=(0,s.useState)(!1),[P,j]=(0,s.useState)(!1),{props:O,meta:k}=(0,c.getImgProps)(t,{defaultLoader:g.default,imgConf:a,blurComplete:T,showAltText:P});return s.default.createElement(s.default.Fragment,null,s.default.createElement(w,{...O,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:E,onLoadingCompleteRef:_,setBlurComplete:C,setShowAltText:j,ref:n}),k.priority?s.default.createElement(ImagePreload,{isAppRouter:!i,imgAttributes:O}):null)});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},65170:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return C}});let o=i(38754),a=o._(i(67294)),s=i(74450),l=i(92227),u=i(64364),c=i(10109),d=i(73607),h=i(11823),m=i(89031),g=i(40920),x=i(10030),w=i(77192),E=i(97498),_=new Set;function prefetch(t,n,i,o,a,s){if(!s&&!(0,l.isLocalURL)(n))return;if(!o.bypassPrefetchedCheck){let a=void 0!==o.locale?o.locale:"locale"in t?t.locale:void 0,s=n+"%"+i+"%"+a;if(_.has(s))return;_.add(s)}let u=s?t.prefetch(n,a):t.prefetch(n,i,o);Promise.resolve(u).catch(t=>{})}function formatStringOrUrl(t){return"string"==typeof t?t:(0,u.formatUrl)(t)}let T=a.default.forwardRef(function(t,n){let i,o;let{href:u,as:_,children:T,prefetch:C=null,passHref:P,replace:j,shallow:O,scroll:k,locale:R,onClick:B,onMouseEnter:I,onTouchStart:D,legacyBehavior:M=!1,...F}=t;i=T,M&&("string"==typeof i||"number"==typeof i)&&(i=a.default.createElement("a",null,i));let L=a.default.useContext(h.RouterContext),V=a.default.useContext(m.AppRouterContext),N=null!=L?L:V,U=!L,Z=!1!==C,W=null===C?E.PrefetchKind.AUTO:E.PrefetchKind.FULL,{href:H,as:K}=a.default.useMemo(()=>{if(!L){let t=formatStringOrUrl(u);return{href:t,as:_?formatStringOrUrl(_):t}}let[t,n]=(0,s.resolveHref)(L,u,!0);return{href:t,as:_?(0,s.resolveHref)(L,_):n||t}},[L,u,_]),G=a.default.useRef(H),Y=a.default.useRef(K);M&&(o=a.default.Children.only(i));let X=M?o&&"object"==typeof o&&o.ref:n,[J,Q,ee]=(0,g.useIntersection)({rootMargin:"200px"}),et=a.default.useCallback(t=>{(Y.current!==K||G.current!==H)&&(ee(),Y.current=K,G.current=H),J(t),X&&("function"==typeof X?X(t):"object"==typeof X&&(X.current=t))},[K,X,H,ee,J]);a.default.useEffect(()=>{N&&Q&&Z&&prefetch(N,H,K,{locale:R},{kind:W},U)},[K,H,Q,R,Z,null==L?void 0:L.locale,N,U,W]);let er={ref:et,onClick(t){M||"function"!=typeof B||B(t),M&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),N&&!t.defaultPrevented&&function(t,n,i,o,s,u,c,d,h,m){let{nodeName:g}=t.currentTarget,x="A"===g.toUpperCase();if(x&&(function(t){let n=t.currentTarget,i=n.getAttribute("target");return i&&"_self"!==i||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!h&&!(0,l.isLocalURL)(i)))return;t.preventDefault();let navigate=()=>{let t=null==c||c;"beforePopState"in n?n[s?"replace":"push"](i,o,{shallow:u,locale:d,scroll:t}):n[s?"replace":"push"](o||i,{forceOptimisticNavigation:!m,scroll:t})};h?a.default.startTransition(navigate):navigate()}(t,N,H,K,j,O,k,R,U,Z)},onMouseEnter(t){M||"function"!=typeof I||I(t),M&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(t),N&&(Z||!U)&&prefetch(N,H,K,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:W},U)},onTouchStart(t){M||"function"!=typeof D||D(t),M&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(t),N&&(Z||!U)&&prefetch(N,H,K,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:W},U)}};if((0,c.isAbsoluteUrl)(K))er.href=K;else if(!M||P||"a"===o.type&&!("href"in o.props)){let t=void 0!==R?R:null==L?void 0:L.locale,n=(null==L?void 0:L.isLocaleDomain)&&(0,x.getDomainLocale)(K,t,null==L?void 0:L.locales,null==L?void 0:L.domainLocales);er.href=n||(0,w.addBasePath)((0,d.addLocale)(K,t,null==L?void 0:L.defaultLocale))}return M?a.default.cloneElement(o,er):a.default.createElement("a",{...F,...er},i)}),C=T;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
6dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},33530:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeLocalePath",{enumerable:!0,get:function(){return normalizeLocalePath}});let normalizeLocalePath=(t,n)=>i(11774).normalizeLocalePath(t,n);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},40920:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let o=i(67294),a=i(63436),s="function"==typeof IntersectionObserver,l=new Map,u=[];function useIntersection(t){let{rootRef:n,rootMargin:i,disabled:c}=t,d=c||!s,[h,m]=(0,o.useState)(!1),g=(0,o.useRef)(null),x=(0,o.useCallback)(t=>{g.current=t},[]);(0,o.useEffect)(()=>{if(s){if(d||h)return;let t=g.current;if(t&&t.tagName){let o=function(t,n,i){let{id:o,observer:a,elements:s}=function(t){let n;let i={root:t.root||null,margin:t.rootMargin||""},o=u.find(t=>t.root===i.root&&t.margin===i.margin);if(o&&(n=l.get(o)))return n;let a=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{let n=a.get(t.target),i=t.isIntersecting||t.intersectionRatio>0;n&&i&&n(i)})},t);return n={id:i,observer:s,elements:a},u.push(i),l.set(i,n),n}(i);return s.set(t,n),a.observe(t),function(){if(s.delete(t),a.unobserve(t),0===s.size){a.disconnect(),l.delete(o);let t=u.findIndex(t=>t.root===o.root&&t.margin===o.margin);t>-1&&u.splice(t,1)}}}(t,t=>t&&m(t),{root:null==n?void 0:n.current,rootMargin:i});return o}}else if(!h){let t=(0,a.requestIdleCallback)(()=>m(!0));return()=>(0,a.cancelIdleCallback)(t)}},[d,i,n,h,g.current]);let w=(0,o.useCallback)(()=>{m(!1)},[]);return[x,h,w]}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},53914:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),i(81905);let o=i(32393),a=i(85494);function isStaticRequire(t){return void 0!==t.default}function getInt(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function getImgProps(t,n){var i;let s,l,u,{src:c,sizes:d,unoptimized:h=!1,priority:m=!1,loading:g,className:x,quality:w,width:E,height:_,fill:T=!1,style:C,onLoad:P,onLoadingComplete:j,placeholder:O="empty",blurDataURL:k,fetchPriority:R,layout:B,objectFit:I,objectPosition:D,lazyBoundary:M,lazyRoot:F,...L}=t,{imgConf:V,showAltText:N,blurComplete:U,defaultLoader:Z}=n,W=V||a.imageConfigDefault;if("allSizes"in W)s=W;else{let t=[...W.deviceSizes,...W.imageSizes].sort((t,n)=>t-n),n=W.deviceSizes.sort((t,n)=>t-n);s={...W,allSizes:t,deviceSizes:n}}let H=L.loader||Z;delete L.loader,delete L.srcSet;let K="__next_img_default"in H;if(K){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let t=H;H=n=>{let{config:i,...o}=n;return t(o)}}if(B){"fill"===B&&(T=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[B];t&&(C={...C,...t});let n={responsive:"100vw",fill:"100vw"}[B];n&&!d&&(d=n)}let G="",Y=getInt(E),X=getInt(_);if("object"==typeof(i=c)&&(isStaticRequire(i)||void 0!==i.src)){let t=isStaticRequire(c)?c.default:c;if(!t.src)throw 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));if(!t.height||!t.width)throw 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));if(l=t.blurWidth,u=t.blurHeight,k=k||t.blurDataURL,G=t.src,!T){if(Y||X){if(Y&&!X){let n=Y/t.width;X=Math.round(t.height*n)}else if(!Y&&X){let n=X/t.height;Y=Math.round(t.width*n)}}else Y=t.width,X=t.height}}let J=!m&&("lazy"===g||void 0===g);(!(c="string"==typeof c?c:G)||c.startsWith("data:")||c.startsWith("blob:"))&&(h=!0,J=!1),s.unoptimized&&(h=!0),K&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(h=!0),m&&(R="high");let Q=getInt(w),ee=Object.assign(T?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:D}:{},N?{}:{color:"transparent"},C),et=U||"empty"===O?null:"blur"===O?'url("data:image/svg+xml;charset=utf-8,'+(0,o.getImageBlurSvg)({widthInt:Y,heightInt:X,blurWidth:l,blurHeight:u,blurDataURL:k||"",objectFit:ee.objectFit})+'")':'url("'+O+'")',er=et?{backgroundSize:ee.objectFit||"cover",backgroundPosition:ee.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:et}:{},en=function(t){let{config:n,src:i,unoptimized:o,width:a,quality:s,sizes:l,loader:u}=t;if(o)return{src:i,srcSet:void 0,sizes:void 0};let{widths:c,kind:d}=function(t,n,i){let{deviceSizes:o,allSizes:a}=t;if(i){let t=/(^|\s)(1?\d?\d)vw/g,n=[];for(let o;o=t.exec(i);o)n.push(parseInt(o[2]));if(n.length){let t=.01*Math.min(...n);return{widths:a.filter(n=>n>=o[0]*t),kind:"w"}}return{widths:a,kind:"w"}}if("number"!=typeof n)return{widths:o,kind:"w"};let s=[...new Set([n,2*n].map(t=>a.find(n=>n>=t)||a[a.length-1]))];return{widths:s,kind:"x"}}(n,a,l),h=c.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:c.map((t,o)=>u({config:n,src:i,quality:s,width:t})+" "+("w"===d?t:o+1)+d).join(", "),src:u({config:n,src:i,quality:s,width:c[h]})}}({config:s,src:c,unoptimized:h,width:Y,quality:Q,sizes:d,loader:H}),ei={...L,loading:J?"lazy":g,fetchPriority:R,width:Y,height:X,decoding:"async",className:x,style:{...ee,...er},sizes:en.sizes,srcSet:en.srcSet,src:en.src},eo={unoptimized:h,priority:m,placeholder:O,fill:T};return{props:ei,meta:eo}}},32393:function(t,n){"use strict";function getImageBlurSvg(t){let{widthInt:n,heightInt:i,blurWidth:o,blurHeight:a,blurDataURL:s,objectFit:l}=t,u=o?40*o:n,c=a?40*a:i,d=u&&c?"viewBox='0 0 "+u+" "+c+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+d+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
6ColorMatrix 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='"+(d?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},645:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(t,n){for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]})}(n,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return c}});let o=i(38754),a=i(53914),s=i(81905),l=i(23271),u=o._(i(74545)),unstable_getImgProps=t=>{(0,s.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:n}=(0,a.getImgProps)(t,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(n))void 0===i&&delete n[t];return{props:n}},c=l.Image},74545:function(t,n){"use strict";function defaultLoader(t){let{config:n,src:i,width:o,quality:a}=t;return n.path+"?url="+encodeURIComponent(i)+"&w="+o+"&q="+(a||75)}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}}),defaultLoader.__next_img_default=!0;let i=defaultLoader},9404:function(t,n,i){"use strict";var o=i(85893),a=i(90512),s=i(41664),l=i.n(s),u=i(67294),c=i(91659),d=i(87881),h=i(63802),m=i(84231),g=i.n(m);n.Z=(0,u.forwardRef)(function(t,n){let{className:i,href:s="",target:u="_self",linkType:m,custom:x,hashValue:w,label:E,type:_,locale:T,color:C,size:P,hasChildren:j,mobileLink:O,active:k,flag:R,onClick:B}=t,{handleActive:I}=(0,h.AW)(),D=(0,a.Z)(i,O?g().mobileLink:g().container,g()[C],{[g().pointer]:!j},{[g().active]:k},{[g()[P]]:P});return"submit"===_?(0,o.jsx)("button",{ref:n,type:"submit",className:D,children:E}):x&&"hash"!==x?(console.log("custom && custom !== 'hash'"),(0,o.jsxs)("span",{ref:n,onClick:"custom"===m&&"getInTouch"===x?t=>{t.preventDefault(),I(!0)}:void 0,className:D,children:[(0,o.jsxs)("span",{className:g().label,children:[E,j&&(0,o.jsx)(d.Z,{icon:"plus"})]}),R&&(0,o.jsx)(c.Z,{code:R})]})):s||"hash"===x?(0,o.jsxs)(l(),{ref:n,href:"hash"===x?"#".concat(w):s,target:u,onClick:B,className:D,scroll:!1,locale:T,children:[(0,o.jsxs)("span",{className:g().label,children:[E,j&&(0,o.jsx)(d.Z,{icon:"plus"})]}),R&&(0,o.jsx)(c.Z,{code:R})]}):(0,o.jsxs)("span",{ref:n,onClick:B,className:D,children:[(0,o.jsxs)("span",{className:g().label,children:[E,j&&(0,o.jsx)(d.Z,{icon:"plus"})]}),R&&(0,o.jsx)(c.Z,{code:R})]})})},91659:function(t,n,i){"use strict";i.d(n,{Z:function(){return Flag}});var o=i(85893),a=i(90512),s=i(72645),l=i.n(s);function Flag(t){let{code:n}=t;return(0,o.jsx)("span",{className:(0,a.Z)("flag",l().container),children:(0,o.jsx)("span",{className:"fi fi-".concat(n)})})}},10981:function(t,n,i){"use strict";i.d(n,{Z:function(){return Form}});var o=i(85893),a=i(6154),s=i(37442),l=i(67294),u=i(16310),c=i(9404),d=i(56266),h=i(89898),m=i(83177),g=i.n(m);function Form(t){let{data:n}=t,[i,m]=(0,l.useState)(!1),[x,w]=(0,l.useState)(!1),{executeReCaptcha:E}=(0,h.CL)(),_={firstName:"",lastName:"",email:"",phone:""},{errors:T,values:C,isValid:P,handleChange:j,handleBlur:O,handleSubmit:k}=(0,s.TA)({initialValues:{firstName:_.firstName,lastName:_.lastName,email:_.email,phone:_.phone,approved:!1,website:""},onSubmit:async t=>{m(!1);let i=await E("contact_form");if(!i){m(!0);return}await a.Z.post("/api/send-form",{values:t,recipients:n.formRecipients,recaptchaToken:i,honeypot:t.website}).then(t=>{let{data:n}=t;n.sent?(w(!0),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"contact_form_sent"})):m(!0)}).catch(t=>{m(!0)})},validateOnBlur:!1,validateOnChange:!1,validationSchema:u.Ry().shape({firstName:u.Z_().required(),lastName:u.Z_().required(),email:u.Z_().email().required(),phone:u.Z_().matches(/^((\\+[1-9]{1,4}[ \\-]*)|(\\([0-9]{2,3}
6\\)[ \\-]*)|([0-9]{2,4})[ \\-]*)*?[0-9]{3,4}?[ \\-]*[0-9]{3,4}?$/),approved:u.O7().oneOf([!0],"You must accept the terms and conditions")})});return(0,o.jsxs)("form",{onSubmit:k,autoComplete:"off",noValidate:!0,className:g().container,children:[(0,o.jsx)("input",{className:T.firstName&&"input-invalid",name:"firstName",type:"text",placeholder:n.inputFirstNameLabel||"First Name*",value:C.firstName,onChange:j,onBlur:O}),(0,o.jsx)("input",{className:T.lastName&&"input-invalid",name:"lastName",type:"text",placeholder:n.inputLastNameLabel||"Last Name*",value:C.lastName,onChange:j,onBlur:O}),(0,o.jsx)("input",{className:T.email&&"input-invalid",name:"email",type:"email",placeholder:n.inputEmailLabel||"Email*",value:C.email,onChange:j,onBlur:O}),(0,o.jsx)("input",{className:T.phone&&"input-invalid",name:"phone",type:"tel",placeholder:n.inputPhoneLabel||"Phone",value:C.phone,onChange:j,onBlur:O}),(0,o.jsxs)("label",{children:[(0,o.jsx)("input",{className:T.approved&&"input-invalid",name:"approved",onChange:j,onBlur:O,type:"checkbox"}),(0,o.jsx)(d.Z,{}),(0,o.jsx)("span",{children:n.consentLabel||"I agree to be contacted by ChromoGenics"})]}),(0,o.jsx)("input",{type:"text",name:"website",value:C.website,onChange:j,tabIndex:-1,autoComplete:"off",className:g().honeypot,"aria-hidden":"true"}),(0,o.jsx)("div",{className:g().buttonWrapper,children:(0,o.jsx)(c.Z,{label:n.submitLabel||"Send message",type:"submit"})}),!P&&(0,o.jsx)("span",{className:g().errorMessage,children:n.invalidFieldsMessage||"Please check the invalid fields."}),i&&(0,o.jsx)("span",{className:g().errorMessage,children:n.generalErrorMessage||"Something went wrong. Please try again."}),x&&(0,o.jsx)("span",{className:g().response,children:n.successMessage||"Thank you for your message. We will get back to you shortly."})]})}},56266:function(t,n,i){"use strict";i.d(n,{Z:function(){return IconCheck}});var o=i(85893);function IconCheck(){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:(0,o.jsxs)("g",{transform:"translate(-61 -10485)",children:[(0,o.jsx)("circle",{cx:"10",cy:"10",r:"10",transform:"translate(61 10485)",fill:"var(--inverted)",opacity:"0"}),(0,o.jsxs)("g",{transform:"translate(2113.124 8331.668) rotate(45)",children:[(0,o.jsx)("rect",{width:"1",height:"8",transform:"translate(86 2969)",fill:"var(--inverted)"}),(0,o.jsx)("rect",{width:"1",height:"4",transform:"translate(87 2976) rotate(90)",fill:"var(--inverted)"})]})]})})}},87881:function(t,n,i){"use strict";i.d(n,{Z:function(){return IconCircle}});var o=i(85893),a=i(91641),s=i.n(a);function IconCircle(t){let{icon:n}=t;return n?(0,o.jsxs)("svg",{className:s().container,xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15",children:["arrow"===n&&(0,o.jsxs)("g",{transform:"translate(-63 -2941)",className:s().arrow,children:[(0,o.jsx)("circle",{cx:"7.5",cy:"7.5",r:"7.25",transform:"translate(63 2941)",fill:"var(--beige)",stroke:"var(--beige)",strokeWidth:"0.5"}),(0,o.jsxs)("g",{transform:"translate(-2093.54 904.962) rotate(-45)",children:[(0,o.jsx)("rect",{width:"1",height:"5",transform:"translate(86 2972)",fill:"var(--off-black)"}),(0,o.jsx)("rect",{width:"1",height:"5",transform:"translate(87 2976) rotate(90)",fill:"var(--off-black)"})]})]}),"check"===n&&(0,o.jsxs)("g",{transform:"translate(-61 -10484.592)",children:[(0,o.jsx)("circle",{cx:"7.5",cy:"7.5",r:"7.5",transform:"translate(61 10484.592)",fill:"var(--typography)"}),(0,o.jsxs)("g",{transform:"translate(69.328 10488.472) rotate(45)",children:[(0,o.jsx)("rect",{width:"0.73",height:"5.837",transform:"translate(2.189)",fill:"var(--base)"}),(0,o.jsx)("rect",{width:"0.73",height:"2.918",transform:"translate(2.918 5.107) rotate(90)",fill:"var(--base)"})]})]}),"plus"===n&&(0,o.jsxs)("g",{transform:"translate(-1684 -33)",className:s().plus,children:[(0,o.jsx)("g",{transform:"translate(1684 33)",children:(0,o.jsx)("circle",{cx:"7.5",cy:"7.5",r:"7.25",fill:"transparent",stroke:"var(--inverted)",strokeWidth:"0.5"})}),(0,o.jsx)("path",{d:"M-7085,5061.5V5059h-2.5v-1h2.5v-2.5h1v2.5h2.5v1h-2.5v2.5Z",transform:"translate(8776 -5018)",fill:"var(--inverted)"})]})]}):null}},80677:function(t,n,i){"use strict";i.d(n,{Z:function(){return s}});var o=i(85893),a=i(39816);function Wrapper(t){let{elem:n,props:i,children:s}=t;switch(n){case"section":return(0,o.jsx)(a.E.section,{...i,children:s});case"span":return(0,o.jsx)(a.E.span,{...i,children:s});default:return(0,o.jsx)(a.E.div,{...i,children:s})}}var s={FadeIn:function(t){let{children:n,elem:i,className:a="",from:s={},to:l={},duration:u=.6,delay:c=.3,ease:d="easeOut"}=t,h={className:a,style:{opacity:0,...s},whileInView:{opacity:1,...l},viewport:{once:!0,amount:"some"},transition:{duration:u,delay:c,ease:d},inherit:!1};return(0,o.jsx)(Wrapper,{elem:i,props:h,children:n})},FadeUp:function(t){let{children:n,elem:i,className:a="",y:s=20,duration:l=.6,delay:u=.3,ease:c=[.22,0,.18,1]}=t;return(0,o.jsx)(Wrapper,{elem:i,props:{className:a,style:{opacity:0,y:s},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:"some"},transition:{duration:l,delay:u,ease:c},inherit:!1},children:n})},FadeDown:function(t){let{children:n,elem:i,className:a="",y:s=-20,duration:l=.6,delay:u=.3,ease:c=[.22,0,.18,1]}=t;return(0,o.jsx)(Wrapper,{elem:i,props:{className:a,style:{opacity:0,y:s},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:"some"},transition:{duration:l,delay:u,ease:c},inherit:!1},children:n})},FadeRight:function(t){let{children:n,elem:i,className:a="",x:s=-30,duration:l=.6,delay:u=.3,ease:c=[.22,0,.18,1]}=t;return(0,o.jsx)(Wrapper,{elem:i,props:{className:a,style:{opacity:0,x:s},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:"some"},transition:{duration:l,delay:u,ease:c},inherit:!1},children:n})},FadeLeft:function(t){let{children:n,elem:i,className:a="",x:s=30,duration:l=.6,delay:u=.3,ease:c=[.22,0,.18,1]}=t;return(0,o.jsx)(Wrapper,{elem:i,props:{className:a,style:{opacity:0,x:s},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:"some"},transition:{duration:l,delay:u,ease:c},inherit:!1},children:n})},Zoom:function(t){let{children:n,elem:i,className:a="",scaleFrom:s=1.05,scaleTo:l=1,duration:u=.3,delay:c=.3,ease:d="easeOut"}=t;return(0,o.jsx)(Wrapper,{elem:i,props:{className:a,style:{opacity:0,scale:s},whileInView:{opacity:1,scale:l},viewport:{once:!0,amount:"some"},transition:{duration:u,delay:c,ease:d},inherit:!1},children:n})}}},63802:function(t,n,i){"use strict";i.d(n,{mb:function(){return ContactProvider},I7:function(){return HeaderProvider},AW:function(){return useContact},g4:function(){return useHeader}});var o=i(85893),a=i(67294);let s=(0,a.createContext)({active:!1,handleActive:()=>{}}
6),ContactProvider=t=>{let{children:n}=t,[i,l]=(0,a.useState)(!1);return(0,o.jsx)(s.Provider,{value:{active:i,handleActive:t=>{l(t)}},children:n})},useContact=()=>(0,a.useContext)(s),l=(0,a.createContext)({state:"top",handleState:()=>{}}),HeaderProvider=t=>{let{children:n}=t,[i,s]=(0,a.useState)("top");return(0,o.jsx)(l.Provider,{value:{state:i,handleState:t=>{s(t)}},children:n})},useHeader=()=>(0,a.useContext)(l)},14661:function(t,n,i){"use strict";i.d(n,{GH:function(){return getDecimalsCount},W7:function(){return addCB},_s:function(){return reverseRatio},b5:function(){return checkIfPageHasModules},qM:function(){return ignoreCircularReferences},xM:function(){return getHeadingTag},xr:function(){return getRelativeCoordinates}});let reverseRatio=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.split("/").reverse().join("/")},getRelativeCoordinates=(t,n)=>{let i={x:t.pageX,y:t.pageY},o={left:n.offsetLeft,top:n.offsetTop,width:n.clientWidth,height:n.clientHeight},a=n.offsetParent;for(;a;)o.left+=a.offsetLeft,o.top+=a.offsetTop,a=a.offsetParent;return{x:i.x-o.left,y:i.y-o.top,width:o.width,height:o.height,centerX:(i.x-o.left-o.width/2)/(o.width/2),centerY:(i.y-o.top-o.height/2)/(o.height/2)}},getHeadingTag=t=>"".concat(0===t?"h1":"h2"),getDecimalsCount=t=>Math.floor(t)===t?0:t.toString().split(".")[1].length||0,ignoreCircularReferences=()=>{let t=new WeakSet;return(n,i)=>{if(!n.startsWith("_")){if("object"==typeof i&&null!==i){if(t.has(i))return;t.add(i)}return i}}},checkIfPageHasModules=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(null==t?void 0:t.sections)return t.sections.some(t=>{var i;return null===(i=t.modules)||void 0===i?void 0:i.some(t=>n.includes(t._type))})},addCB=()=>{if(window.location.href.includes("article/webinar")||window.location.href.includes("article/co2-reductions")){let t=window.location.href,n=sessionStorage.getItem("cb_reloaded"),i=sessionStorage.getItem("prev_page");sessionStorage.setItem("prev_page",t),n?n&&i!==t&&window.location.reload():(sessionStorage.setItem("cb_reloaded","true"),window.location.reload())}if(document.getElementById("app-convertbox-script"))return;let t=document.createElement("script");t.src="https://cdn.convertbox.com/convertbox/js/embed.js",t.async=!0,t.id="app-convertbox-script",t.dataset.uuid="e4d649ed-9e76-4fba-9fbc-a4b5cebe9c83",document.head.appendChild(t)}},89898:function(t,n,i){"use strict";i.d(n,{Pg:function(){return useIsTouch},CL:function(){return useReCaptcha},Pr:function(){return useScrollLock},iP:function(){return useWindowSize}});var o=i(67294);let useIsTouch=()=>{let[t,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{n("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)},[]),t};function useReCaptcha(){let[t,n]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let checkReCaptcha=()=>{window.grecaptcha&&window.grecaptcha.ready?window.grecaptcha.ready(()=>{n(!0)}):setTimeout(checkReCaptcha,100)};checkReCaptcha()},[]);let i=(0,o.useCallback)(async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"submit",i="6LecZC8sAAAAAOtfNkia1FxandTIKODt0feDQf9v";if(!i)return console.error("reCAPTCHA site key is not configured"),null;if(!t||!window.grecaptcha)return console.error("reCAPTCHA is not ready"),null;try{let t=await window.grecaptcha.execute(i,{action:n});return t}catch(t){return console.error("reCAPTCHA execution error:",t),null}},[t]);return{executeReCaptcha:i,isReady:t}}let useScrollLock=(t,n)=>{let{isDesktop:i}=useWindowSize(),a=(0,o.useCallback)(()=>{(null==n?void 0:n.current)&&(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden",document.body.style.pointerEvents="none",n.current.style.pointerEvents="auto")},[n]),s=(0,o.useCallback)(()=>{document.documentElement.style.overflow="",document.body.style.overflow="",document.body.style.pointerEvents="",(null==n?void 0:n.current)&&(n.current.style.pointerEvents="")},[n]);(0,o.useEffect)(()=>{if(null==n?void 0:n.current)return t?a():s(),()=>{s()}},[t,s,a,n,i])},useWindowSize=()=>{let[t,n]=(0,o.useState)({isLoaded:!1,width:0,height:0,isMobile:!1,isTablet:!1,isDesktop:!1,isPortrait:!1,isLandscape:!1}),handleSize=()=>{n({isLoaded:!!window.innerWidth,width:window.innerWidth,height:window.innerHeight,isMobile:window.innerWidth<=767,isTablet:window.innerWidth>767&&window.innerWidth<1024,isDesktop:window.innerWidth>=1024,isPortrait:window.innerWidth<window.innerHeight,isLandscape:window.innerWidth>window.innerHeight})};return(0,o.useEffect)(()=>(handleSize(),window.addEventListener("resize",handleSize),()=>window.removeEventListener("resize",handleSize)),[]),t}},84987:function(t,n,i){"use strict";i.d(n,{Sx:function(){return l},gx:function(){return s},hH:function(){return a},tW:function(){return u},wc:function(){return c}});var o=i(34155);let a=!1,s=assertValue("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),l=assertValue("u1dl393t","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");o.env.SANITY_API_READ_TOKEN;let u="2023-08-01",c="preview.secret";function assertValue(t,n){if(void 0===t)throw Error(n);return t}},33146:function(t,n,i){"use strict";i.d(n,{a5:function(){return resolvePathAsString}});let resolvePath=(t,n)=>{switch(t){case"home":return["/"];case"page":return n?[n]:void 0;case"caseDoc":return n?["case",n]:void 0;case"articleDoc":return n?["article",n]:void 0;default:console.warn("Invalid document type:",t);return}},resolvePathAsString=(t,n)=>{if(!t)return n;let i=resolvePath(t,n);return i?i.join("/"):"#"}},79185:function(t,n,i){"use strict";i.d(n,{i:function(){return urlForImage}});var o=i(6803),a=i.n(o),s=i(84987);let l=a()({projectId:s.Sx||"",dataset:s.gx||""}),urlForImage=t=>{var n;if(null==t?void 0:null===(n=t.asset)||void 0===n?void 0:n._ref)return null==l?void 0:l.image(t).auto("format")}},17458:function(t,n,i){"use strict";let o,a;i.r(n),i.d(n,{default:function(){return App}});var s,l,u,c,d=i(85893),h=i(67294),m=i(11163),g=i(41664),x=i.n(g),w={},E={};({get exports(){return w},set exports(v){w=v}}).exports=function(){if(u)return E;u=1;var t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=h.__SECRET_INT
6ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function q(n,s,l){var u,c={},d=null,h=null;for(u in void 0!==l&&(d=""+l),void 0!==s.key&&(d=""+s.key),void 0!==s.ref&&(h=s.ref),s)i.call(s,u)&&!a.hasOwnProperty(u)&&(c[u]=s[u]);if(n&&n.defaultProps)for(u in s=n.defaultProps)void 0===c[u]&&(c[u]=s[u]);return{$$typeof:t,type:n,key:d,ref:h,props:c,_owner:o.current}}return E.Fragment=n,E.jsx=q,E.jsxs=q,E}();var _={},T={},C={};!function(t){function extends_(){return(extends_=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}return t}).apply(this,arguments)}function _extends(){return extends_.apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _extends}})}(C);var P={};!function(t){function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _interopRequireDefault}})}(P);var j={};!function(t){function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(_getRequireWildcardCache=function(t){return t?i:n})(t)}function _interopRequireWildcard(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=_getRequireWildcardCache(n);if(i&&i.has(t))return i.get(t);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=t[s]}return o.default=t,i&&i.set(t,o),o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _interopRequireWildcard}})}(j);var O={};
6Object.defineProperty(O,"__esModule",{value:!0}),O.default=function(t){let{headManager:n,reduceComponentsToState:i}=t;function emitChange(){if(n&&n.mountedInstances){let o=k.Children.toArray(Array.from(n.mountedInstances).filter(Boolean));n.updateHead(i(o,t))}}if(R){var o;null==n||null==(o=n.mountedInstances)||o.add(t.children),emitChange()}return B(()=>{var i;return null==n||null==(i=n.mountedInstances)||i.add(t.children),()=>{var i;null==n||null==(i=n.mountedInstances)||i.delete(t.children)}}),B(()=>(n&&(n._pendingUpdate=emitChange),()=>{n&&(n._pendingUpdate=emitChange)})),I(()=>(n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null),()=>{n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null)})),null};var k=(0,j.default)(h);let R="undefined"==typeof window,B=R?()=>{}:k.useLayoutEffect,I=R?()=>{}:k.useEffect;var D={};Object.defineProperty(D,"__esModule",{value:!0}),D.AmpStateContext=void 0;var M=(0,P.default)(h);let F=M.default.createContext({});D.AmpStateContext=F;var L={};Object.defineProperty(L,"__esModule",{value:!0}),L.HeadManagerContext=void 0;var V=(0,P.default)(h);let N=V.default.createContext({});L.HeadManagerContext=N;var U={};Object.defineProperty(U,"__esModule",{value:!0}),U.isInAmpMode=function({ampFirst:t=!1,hybrid:n=!1,hasQuery:i=!1}={}){return t||n&&i};var Z={};Object.defineProperty(Z,"__esModule",{value:!0}),Z.warnOnce=void 0,Z.warnOnce=t=>{},function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.defaultHead=defaultHead,n.default=void 0;var i=C.default,o=P.default,a=(0,j.default)(h),s=o(O);function defaultHead(t=!1){let n=[a.default.createElement("meta",{charSet:"utf-8"})];return t||n.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),n}function onlyReactElement(t,n){return"string"==typeof n||"number"==typeof n?t:n.type===a.default.Fragment?t.concat(a.default.Children.toArray(n.props.children).reduce((t,n)=>"string"==typeof n||"number"==typeof n?t:t.concat(n),[])):t.concat(n)}let l=["name","httpEquiv","charSet","itemProp"];function reduceComponents(t,n){let{inAmpMode:o}=n;return t.reduce(onlyReactElement,[]).reverse().concat(defaultHead(o).reverse()).filter(function(){let t=new Set,n=new Set,i=new Set,o={};return a=>{let s=!0,u=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){u=!0;let n=a.key.slice(a.key.indexOf("$")+1);t.has(n)?s=!1:t.add(n)}switch(a.type){case"title":case"base":n.has(a.type)?s=!1:n.add(a.type);break;case"meta":for(let t=0,n=l.length;t<n;t++){let n=l[t];if(a.props.hasOwnProperty(n)){if("charSet"===n)i.has(n)?s=!1:i.add(n);else{let t=a.props[n],i=o[n]||new Set;("name"!==n||!u)&&i.has(t)?s=!1:(i.add(t),o[n]=i)}}}}return s}}()).reverse().map((t,n)=>{let s=t.key||n;if(!o&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(n=>t.props.href.startsWith(n))){let n=i({},t.props||{});return n["data-href"]=n.href,n.href=void 0,n["data-optimized-fonts"]=!0,a.default.cloneElement(t,n)}return a.default.cloneElement(t,{key:s})})}n.default=function({children:t}){let n=a.useContext(D.AmpStateContext),i=a.useContext(L.HeadManagerContext);return a.default.createElement(s.default,{reduceComponentsToState:reduceComponents,headManager:i,inAmpMode:U.isInAmpMode(n)},t)},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}({get exports(){return T},set exports(v){T=v}},T),({get exports(){return _},set exports(v){_=v}}).exports=T;var W=(s=_)&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s;function removeHash(t){let n="http://a",i=new URL(t,n);return i.origin!==n?(i.hash="",i.toString()):`${i.pathname}${i.search}`}function getHash$1(t){return new URL(t,"http://a").hash}let useNextCssRemovalPrevention=()=>{let{events:t}=(0,m.useRouter)(),n=function(){let{isReady:t,asPath:n,basePath:i,locale:o}=(0,m.useRouter)(),a=h.useCallback(()=>{if(!t)return null;let a=n;return i&&(a=i+("/"===a?"":a)),o&&(a=`/${o}${a}`),a}
6,[n,t,i,o]),[s,l]=h.useState(a());return h.useEffect(()=>{l(a())},[a]),s}(),i=h.useRef(new Map),o=h.useRef(null),a=h.useRef(null),s=h.useRef(null),l=h.useCallback((t,n)=>{var o;if(t&&n){let a=i.current,s=null!==(o=a.get(t))&&void 0!==o?o:new Set,l=getHash(n);l&&!s.has(l)&&(s.add(l),a.set(t,s))}},[]),u=h.useCallback(()=>{let t=querySelectorAllArray("head > link[data-n-p-perm],head > style[data-n-href-perm]");return t.map(t=>{let n="LINK"===t.nodeName?t.getAttribute("href"):t.getAttribute("data-n-href-perm"),i=getHash(n);return{node:t,hash:i}})},[]),c=h.useCallback(()=>{var t,n;let s=o.current&&null!==(t=i.current.get(o.current))&&void 0!==t?t:new Set,l=a.current&&null!==(n=i.current.get(a.current))&&void 0!==n?n:new Set;return[...s,...l]},[]),d=h.useCallback(()=>{let t=c();u().forEach(({node:n,hash:i})=>{var o;t.includes(i)||null===(o=n.parentNode)||void 0===o||o.removeChild(n)})},[u,c]);return h.useEffect(()=>{n&&!o.current&&(o.current=n,querySelectorAllArray("head > link[data-n-p]").reverse().forEach(t=>{t.removeAttribute("data-n-p"),t.setAttribute("data-n-p-perm",""),l(n,t.getAttribute("href")),moveNodeBelowReferenceNode(t)}))},[n,l]),h.useEffect(()=>{let handleRouteChangeStart=t=>{s.current=getReferenceNode(),a.current=o.current,o.current=t},handleRouteChangeComplete=()=>{d(),a.current=null};return t.on("routeChangeStart",handleRouteChangeStart),t.on("routeChangeComplete",handleRouteChangeComplete),()=>{t.off("routeChangeStart",handleRouteChangeStart),t.off("routeChangeComplete",handleRouteChangeComplete)}},[t,d]),h.useEffect(()=>{let t=new MutationObserver(t=>{t.forEach(({target:t,addedNodes:n})=>{"HEAD"===t.nodeName&&n.forEach(t=>{var n;if("STYLE"===t.nodeName&&t.hasAttribute("data-n-href")){let i=null!==(n=t.getAttribute("data-n-href"))&&void 0!==n?n:"";t.setAttribute("data-n-href-perm",i),t.removeAttribute("data-n-href"),"x"===t.getAttribute("media")&&t.removeAttribute("media"),l(o.current,i),moveNodeBelowReferenceNode(t),s.current=t}})})});return t.observe(document.head,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[l]),d};function getHash(t){var n,i;return null!==(i=null===(n=null==t?void 0:t.match(/([a-z0-9]+).css$/))||void 0===n?void 0:n[1])&&void 0!==i?i:null}function querySelectorAllArray(t){return Array.from(document.querySelectorAll(t))}function getReferenceNode(){return document.querySelector("noscript[data-n-css]")}function moveNodeBelowReferenceNode(t){var n;let i=getReferenceNode();null===(n=null==i?void 0:i.parentNode)||void 0===n||n.insertBefore(t,null==i?void 0:i.nextSibling)}var H={"transition-appear":"PageTransition-module_transition-appear__DV6-A","transition-in":"PageTransition-module_transition-in__C2YaD",fadeIn:"PageTransition-module_fadeIn__x6etd","transition-out":"PageTransition-module_transition-out__mqeLK",fadeOut:"PageTransition-module_fadeOut__2VCgU","transition-idle":"PageTransition-module_transition-idle__HeR54"};(l=c||(c={})).IDLE="IDLE",l.APPEAR="APPEAR",l.IN="IN",l.OUT="OUT";let K={phase:c.APPEAR,phaseOutAnticipated:!1,currentUrl:null,targetUrl:null,scrollPosY:0},G=h.createContext(K),Y=h.createContext(null);function saveScrollPosDefault(t,n){try{sessionStorage.setItem(t,JSON.stringify(n))}catch(t){}}function retrieveScrollPosDefault(t){let n={x:0,y:0};try{let i=sessionStorage.getItem(t);return i?JSON.parse(i):n}catch(t){return n}}function getFullAsPath({asPath:t,basePath:n,locale:i}){let o=t;return n&&(o=n+("/"===o?"":o)),i&&(o=`/${i}${o}`),o}h.forwardRef((t,n)=>{let{as:i="main",inPhaseDuration:o=600,outPhaseDuration:a=600,disableDefaultStyles:s=!1,onSaveScrollPos:l,onRetrieveScrollPos:u,className:d,children:g}=t,x=useNextCssRemovalPrevention(),E=null!=l?l:saveScrollPosDefault,_=null!=u?u:retrieveScrollPosDefault,T=(0,m.useRouter)(),C=h.useRef(null),P=h.useRef(0),j=h.useRef(null),O=h.useRef(!1),[k,R]=h.useState(g),[B,I]=h.useState(K),D=h.useContext(G),M=h.useContext(Y),F=null!=M?M:I,L=(M?D:B).phase,V=h.useCallback(t=>{var n,i;let{phase:o,currentUrl:a,targetUrl:s,phaseOutAnticipated:l=!1}=t,u=getFullAsPath(T),c={phase:o,phaseOutAnticipated:l,targetUrl:removeHash(u),scrollPosY:null!==(i=null===(n=j.current)||void 0===n?void 0:n.y)&&void 0!==i?i:0};a&&(c.currentUrl=removeHash(a)),s&&(c.targetUrl=removeHash(s)),F(c)},[T,F]);h.useEffect(()=>{if("scrollRestoration"in window.history){window.history.scrollRestoration="manual";let t=getFullAsPath(T),onBeforeUnload=n=>{E(t,{x:window.scrollX,y:window.scrollY}),delete n.returnValue},onRouteChangeStart=n=>{j.current=O.current?_(n):{x:0,y:0,hash:getHash$1(n)},E(t,{x:window.scrollX,y:window.scrollY}
6),n!==t&&V({phase:L,phaseOutAnticipated:!0,currentUrl:t,targetUrl:n}),O.current=!1},onHashChangeComplete=t=>{getHash$1(t)||window.scrollTo(0,0)};return window.addEventListener("beforeunload",onBeforeUnload),T.events.on("routeChangeStart",onRouteChangeStart),T.events.on("hashChangeComplete",onHashChangeComplete),T.beforePopState(t=>(t.options.scroll=!1,j.current=null,O.current=!0,!0)),()=>{window.removeEventListener("beforeunload",onBeforeUnload),T.events.off("routeChangeStart",onRouteChangeStart),T.events.off("hashChangeComplete",onHashChangeComplete),T.beforePopState(()=>!0)}}},[T,L,V,E,_]),h.useEffect(()=>{let transitionOut=t=>{C.current=t,clearTimeout(P.current),P.current=window.setTimeout(handleOutComplete,a),V({phase:c.OUT})},handleOutComplete=()=>{let t=C.current,n=t?c.APPEAR:c.IDLE;C.current=null,R(t),V({phase:n}),x()};switch(L){case c.APPEAR:clearTimeout(P.current),P.current=window.setTimeout(()=>{V({phase:c.IDLE})},o),V({phase:c.IN});break;case c.IDLE:(null==g?void 0:g.key)!==(null==k?void 0:k.key)&&transitionOut(g);break;case c.OUT:C.current=g;break;case c.IN:g!==k?(null==g?void 0:g.key)!==(null==k?void 0:k.key)?transitionOut(g):R(g):(()=>{var t;if(null===(t=j.current)||void 0===t?void 0:t.hash){let t=document.querySelector(j.current.hash);if(t){let n=window.getComputedStyle(t),i=n.getPropertyValue("scroll-margin-top"),{top:o}=t.getBoundingClientRect(),{scrollTop:a}=document.scrollingElement,s=o+a-(i?parseFloat(i):0);window.scrollTo(0,s);return}}if(j.current){let{x:t,y:n}=j.current;window.scrollTo(t,n)}})()}},[L,k,g]),h.useEffect(()=>()=>{clearTimeout(P.current)},[]);let N=s?null:H[`transition-${L.toLowerCase()}`],U=function(){for(var t,n,i=0,o="";i<arguments.length;)(t=arguments[i++])&&(n=function r(t){var n,i,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(i=r(t[n]))&&(o&&(o+=" "),o+=i);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(t))&&(o&&(o+=" "),o+=n);return o}(N,d),Z={"--transition-in-duration":`${o}ms`,"--transition-out-duration":`${a}ms`};return w.jsxs(i,Object.assign({ref:n,className:U,style:Z},{children:[!s&&w.jsx(W,{children:w.jsx("style",Object.assign({type:"text/css"},{children:`${H["transition-appear"]} { opacity: 0.001; }`}))}),k]}))});var X=i(82010),J=i(5814),Q=i(51526),ee=i(39816),et=i(25675),er=i.n(et),en=i(9404),ei=i(10981),eo=i(63802),ea=i(89898),es=i(79185),el=i(41377),eu=i.n(el);function Contact(t){let{title:n,body:i,contactRows:o,form:a}=t,{active:s,handleActive:l}=(0,eo.AW)(),u=(0,h.useRef)(null),{theme:c}=(0,X.F)(),{isDesktop:m}=(0,ea.iP)();(0,ea.Pr)(m&&s,u);let g=(0,h.useCallback)(t=>{"Escape"===t.key&&l(!1)},[l]);return(0,h.useEffect)(()=>(document.addEventListener("keydown",g,!1),()=>{document.removeEventListener("keydown",g,!1)}),[g]),(0,d.jsx)(Q.M,{children:s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ee.E.div,{initial:{opacity:0}
6,animate:{opacity:.4},exit:{opacity:0},transition:{duration:.3},className:eu().overlay,onClick:()=>l(!1)}),(0,d.jsxs)(ee.E.div,{initial:{x:"100%"},animate:{x:"0%"},exit:{x:"100%"},transition:{duration:.6,ease:[.22,0,.18,1]},ref:u,className:eu().container,children:[(0,d.jsxs)("div",{className:eu().content,children:[n&&(0,d.jsx)("h3",{children:n}),i&&(0,d.jsx)("div",{className:eu().body,children:(0,d.jsx)("p",{children:i})}),o&&(0,d.jsx)("div",{className:eu().rows,children:o.map(t=>(0,d.jsxs)("div",{className:eu().row,children:[(0,d.jsxs)("div",{className:eu().figure,children:["image"===t.type&&t.image&&(0,d.jsx)(er(),{src:(0,es.i)(t.image).width(100).url(),fill:!0,quality:80,placeholder:"blur",blurDataURL:t.image.asset.metadata.lqip,alt:t.image.asset.altText||""}),"icon"===t.type&&(0,d.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24",children:["envelope"===t.icon&&(0,d.jsx)("path",{fill:"#fff",d:"M184.615-200Q157-200 138.5-218.5 120-237 120-264.615v-430.77Q120-723 138.5-741.5 157-760 184.615-760h590.77Q803-760 821.5-741.5 840-723 840-695.385v430.77Q840-237 821.5-218.5 803-200 775.385-200h-590.77ZM480-475.384 160-684.615v420q0 10.769 6.923 17.692T184.615-240h590.77q10.769 0 17.692-6.923T800-264.615v-420L480-475.384ZM480-520l307.692-200H172.308L480-520ZM160-684.615V-720v455.385q0 10.769 6.923 17.692T184.615-240H160v-444.615Z"}),"compass"===t.icon&&(0,d.jsx)("path",{fill:"#fff",d:"m286.154-286.154 252.308-135.384 135.384-252.308-252.308 135.384-135.384 252.308ZM480-440q-17 0-28.5-11.5T440-480q0-17 11.5-28.5T480-520q17 0 28.5 11.5T520-480q0 17-11.5 28.5T480-440Zm.134 320q-74.673 0-140.41-28.339-65.737-28.34-114.365-76.922-48.627-48.582-76.993-114.257Q120-405.194 120-479.866q0-74.673 28.339-140.41 28.34-65.737 76.922-114.365 48.582-48.627 114.257-76.993Q405.194-840 479.866-840q74.673 0 140.41 28.339 65.737 28.34 114.365 76.922 48.627 48.582 76.993 114.257Q840-554.806 840-480.134q0 74.673-28.339 140.41-28.34 65.737-76.922 114.365-48.582 48.627-114.257 76.993Q554.806-120 480.134-120ZM480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})]})]}),(0,d.jsxs)("div",{className:eu().data,children:[(0,d.jsxs)("div",{className:eu().cell,children:[t.title&&(0,d.jsx)("span",{className:eu().cellTitle,children:t.title}),t.subtitle&&(0,d.jsx)("span",{className:eu().cellSubTitle,children:t.subtitle})]}),(0,d.jsxs)("div",{className:eu().cell,children:[(0,d.jsx)(J.YI,{value:t.text,components:{block:{normal:t=>{let{children:n}=t;return""!=n?(0,d.jsx)("p",{className:eu().light,children:n}):(0,d.jsx)("br",{})}},marks:{link:t=>{let{children:n,value:i}=t;return(0,d.jsx)("a",{href:i.href,target:i.blank?"_blank":"_self",rel:i.blank?"noopener noreferer":void 0,children:n})}}}},t._key),t.linkedin&&(0,d.jsxs)("div",{className:eu().socialLink,children:[(0,d.jsx)("a",{className:eu().socialLabel,href:t.linkedin,target:"_blank",rel:"noopener noreferer",children:"LinkedIn"}),(0,d.jsx)("a",{href:t.linkedin,target:"_blank",rel:"noopener noreferer",children:(0,d.jsx)(er(),{className:eu().socialIcon,src:"dark"===c?"/LinkedIn_Logo_White.png":"/LinkedIn_Logo_Blue.png",width:95,height:80,priority:!1,quality:100,alt:"LinkedIn"})})]})]})]})]},t._key))}),a.activateForm&&(0,d.jsxs)("div",{className:eu().form,children:[a.formTitle&&(0,d.jsx)("div",{className:"grid",children:(0,d.jsx)("p",{className:eu().formTitle,children:a.formTitle})}),(0,d.jsx)(ei.Z,{data:a})]})]}),!m&&(0,d.jsx)("div",{className:eu().buttonWrapper,children:(0,d.jsx)(en.Z,{label:"Close",size:"large",onClick:()=>l(!1)})})]})]})})}function Container(t){let{children:n}=t,{asPath:i}=(0,m.useRouter)();return(0,d.jsx)(Q.M,{mode:"wait",onExitComplete:()=>window.scrollTo(0,0),children:(0,d.jsx)(ee.E.div,{initial:"initialState",animate:"animateState",exit:"exitState",transition:{duration:.3},variants:{initialState:{opacity:0},animateState:{opacity:1},exitState:{opacity:0}},className:"page-wrapper",children:n},i)})}var ec=i(33234),ef=i(16014),ed=i(96681);function useMotionValue(t){let n=(0,ed.h)(()=>(0,ec.BX)(t)),{isStatic:i}=(0,h.useContext)(ef._);if(i){let[,i]=(0,h.useState)(t);(0,h.useEffect)(()=>
6n.on("change",i),[])}return n}var eh=i(40406),ep=i(58868),em=i(27159),ey=i(86917),eg=i(2074);function useSpring(t,n={}){let{isStatic:i}=(0,h.useContext)(ef._),o=(0,h.useRef)(null),a=useMotionValue((0,eh.i)(t)?t.get():t),stopAnimation=()=>{o.current&&o.current.stop()};return(0,h.useInsertionEffect)(()=>a.attach((t,s)=>{if(i)return s(t);if(stopAnimation(),o.current=(0,em.y)({keyframes:[a.get(),t],velocity:a.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:s}),!eg.frameData.isProcessing){let t=performance.now()-eg.frameData.timestamp;t<30&&(o.current.time=(0,ey.X)(t))}return a.get()},stopAnimation),[JSON.stringify(n)]),(0,ep.L)(()=>{if((0,eh.i)(t))return t.on("change",t=>a.set(parseFloat(t)))},[a]),a}var ev=i(59430),eb=i.n(ev);function Cursor(){let[t,n]=(0,h.useState)(!1),i=useMotionValue(-100),o=useMotionValue(-100),a={damping:100,stiffness:2e3},s=useSpring(i,a),l=useSpring(o,a),onMouseDown=()=>{n(!0)},onMouseUp=()=>{n(!1)};return(0,h.useEffect)(()=>{let moveCursor=t=>{i.set(t.clientX-16),o.set(t.clientY-16)};return window.addEventListener("mousemove",moveCursor),window.addEventListener("mousedown",onMouseDown),window.addEventListener("mouseup",onMouseUp),()=>{window.removeEventListener("mousemove",moveCursor),window.removeEventListener("mousedown",onMouseUp),window.removeEventListener("mouseup",onMouseUp)}},[]),(0,d.jsx)(ee.E.div,{className:eb().cursor,animate:t?{scale:1.2}:{scale:1},style:{translateX:s,translateY:l},children:(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"60",height:"60",viewBox:"0 0 60 60",children:(0,d.jsxs)("g",{transform:"translate(-16897 23707)",children:[(0,d.jsx)("circle",{cx:"30",cy:"30",r:"30",transform:"translate(16897 -23707)",fill:"#fff"}),(0,d.jsx)("path",{d:"M-362.707-569l5.293-5.293H-372v-2h14.585l-5.292-5.293,1.414-1.414,7.708,7.708-7.708,7.707Z",transform:"translate(17289.793 -23101.707)"})]})})})}var ex=i(90512),ew=i(80677),eE=i(33146),e_=i(87930),eS=i.n(e_);function Footer(t){let{title:n,menus:i,byline:o}=t,{theme:a}=(0,X.F)(),{handleActive:s}=(0,eo.AW)(),[l,u]=(0,h.useState)("");return(0,h.useEffect)(()=>{u("dark"===a?"/ChromoGenics_Logo_White.png":"/ChromoGenics_Logo_Black.png")},[a]),(0,d.jsxs)("footer",{className:eS().container,children:[(0,d.jsxs)("div",{className:(0,ex.Z)(eS().top,"grid container"),children:[(0,d.jsx)(ew.Z.FadeUp,{className:eS().text,children:n&&(0,d.jsx)("h2",{className:"subtitle1",children:n})}),(0,d.jsx)(ew.Z.FadeUp,{className:eS().column,children:null==i?void 0:i.map(t=>{let{_key:n,title:i,links:o}=t;return(0,d.jsxs)("div",{className:eS().block,children:[i&&(0,d.jsx)("h3",{className:"subtitle2",children:i}),o&&(0,d.jsx)("ul",{children:o.map(t=>{let{_key:n,_type:i,title:o,linkType:a,custom:l,url:u,target:c}=t;return(0,d.jsx)("li",{children:(0,d.jsx)(x(),{className:"body3",href:(0,eE.a5)(i,u),target:c,scroll:!1,onClick:"custom"===a&&"getInTouch"===l?t=>{t.preventDefault(),s(!0)}:void 0,children:o})},n)})})]},n)})})]}),(0,d.jsxs)("div",{className:(0,ex.Z)(eS().bottom,"grid container"),children:[(0,d.jsx)("span",{className:eS().logoWrapper,children:l&&(0,d.jsx)(er(),{src:l,width:"353",height:"40",alt:"ChromoGenics"})}),o&&(0,d.jsx)("span",{className:eS().byLine,children:o}),(0,d.jsx)("div",{className:eS().cookieSettings,children:(0,d.jsx)("a",{href:"#",onClick:t=>{var n;t.preventDefault(),null===(n=window.CookieConsent)||void 0===n||n.renew()},className:"body3",children:"Cookie preferences"})})]})]})}i(10831);var eA=i(45487),eT=i(37301);let eC=new WeakMap;function notifyTarget({target:t,contentRect:n,borderBoxSize:i}){var o;null===(o=eC.get(t))||void 0===o||o.forEach(o=>{o({target:t,contentSize:n,get size(){return function(t,n){if(n){let{inlineSize:t,blockSize:i}=n[0];return{width:t,height:i}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,i)}})})}function notifyAll(t){t.forEach(notifyTarget)}let eP=new Set;var ej=i(23967),eO=i(3038);let createAxisInfo=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),createScrollInfo=()=>({time:0,x:createAxisInfo(),y:createAxisInfo()}
6),ek={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function updateAxisInfo(t,n,i,o){let a=i[n],{length:s,position:l}=ek[n],u=a.current,c=i.time;a.current=t["scroll"+l],a.scrollLength=t["scroll"+s]-t["client"+s],a.offset.length=0,a.offset[0]=0,a.offset[1]=a.scrollLength,a.progress=(0,ej.Y)(0,a.scrollLength,a.current);let d=o-c;a.velocity=d>50?0:(0,eO.R)(a.current-u,d)}let eR={All:[[0,0],[1,1]]},eB={start:0,center:.5,end:1};function resolveEdge(t,n,i=0){let o=0;if(void 0!==eB[t]&&(t=eB[t]),"string"==typeof t){let n=parseFloat(t);t.endsWith("px")?o=n:t.endsWith("%")?t=n/100:t.endsWith("vw")?o=n/100*document.documentElement.clientWidth:t.endsWith("vh")?o=n/100*document.documentElement.clientHeight:t=n}return"number"==typeof t&&(o=n*t),i+o}let eI=[0,0];var eD=i(64606),eM=i(60599);let eF={x:0,y:0},eL=new WeakMap,eV=new WeakMap,eN=new WeakMap,getEventTarget=t=>t===document.documentElement?window:t;function refWarning(t,n){(0,eA.K)(!!(!n||n.current),`You have defined a ${t} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let createScrollMotionValues=()=>({scrollX:(0,ec.BX)(0),scrollY:(0,ec.BX)(0),scrollXProgress:(0,ec.BX)(0),scrollYProgress:(0,ec.BX)(0)});var eU=i(73476),e$=i.n(eU);function Logo(t){let{onClick:n}=t,{asPath:i}=(0,m.useRouter)();return(0,d.jsx)(x(),{href:"/",scroll:!1,className:e$().name,onClick:t=>{"/"===i&&(t.preventDefault(),document.documentElement.scrollTo({top:0,behavior:"smooth"})),n&&n()},children:"ConverLight"})}var eZ=i(40058),ez=i.n(eZ);function MenuToggle(t){let{active:n,onClick:i}=t;return(0,d.jsxs)("span",{className:ez().container,onClick:i,children:[(0,d.jsx)("span",{className:ez().line}),(0,d.jsx)(ee.E.span,{initial:!1,animate:{width:n?"100%":"60%"},transition:{duration:.3},className:ez().line})]})}var eW=i(91659);function SubMenu(t){let{active:n,className:i,children:o}=t,{isMobile:a,isTablet:s}=(0,ea.iP)();return(0,d.jsx)(ee.E.div,{initial:(!!a||!!s)&&{height:0},animate:(!!a||!!s)&&{height:n?"auto":0,transition:{duration:.3}},className:i,children:o})}var eH=i(67534),eq=i.n(eH);function NavBarParentItem(t){let{item:n,active:i,onParentClick:o,onItemClick:a,onClose:s}=t,l=(0,h.useRef)(null),u=(0,m.useRouter)(),c=(0,ea.Pg)();return(0,h.useEffect)(()=>c?()=>window.removeEventListener("scroll",s):window.addEventListener("scroll",s),[s,c]),(0,d.jsxs)("li",{ref:l,className:(0,ex.Z)(eq().container,{[eq().menuItemActive]:i&&c}),children:[(0,d.jsx)(en.Z,{label:n.title,color:"transparent",hasChildren:!0,mobileLink:!0,active:i,onClick:o,flag:n.flag}),(0,d.jsx)(SubMenu,{className:eq().subMenuWrapper,active:i,children:(0,d.jsx)("ul",{className:eq().subMenu,children:n.links.map((t,n)=>(0,d.jsx)("li",{children:(0,d.jsx)(x(),{onClick:a,href:(0,eE.a5)(t._type,t.url),className:t.locale===u.locale&&t.flag?eq().activeLink:eq().link,scroll:!1,locale:t.locale,children:t.flag?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(eW.Z,{code:t.code}),(0,d.jsx)("span",{className:eq().langName,children:t.title})]}):(0,d.jsxs)("div",{className:eq().titleWrapper,children:[t.description&&(0,d.jsx)("span",{className:eq().description,children:t.description}),(0,d.jsx)("span",{children:t.title})]})})},"sub_menu_item_".concat(n)))})})]})}var eK=i(50608),eG=i(77543),eY=i.n(eG);let eX=0;function NavBar(t){var n,i;let{links:s,cta:l}=t,{active:u,handleActive:c}=(0,eo.AW)(),g=(0,h.useRef)(null),{scrollY:x}=function({container:t,target:n,layoutEffect:i=!0,...s}={}){let l=(0,ed.h)(createScrollMotionValues),u=i?ep.L:h.useEffect;return u(()=>(refWarning("target",n),refWarning("container",t),function(t,{container:n=document.documentElement,...i}={}){let s=eN.get(n);s||(s=new Set,eN.set(n,s));let l=createScrollInfo(),u=function(t,n,i,o={}){return{measure:()=>(function(t,n=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,n!==t){let o=n;for(;o&&o!==t;)i.x.targetOffset+=o.offsetLeft,i.y.targetOffset+=o.offsetTop,o=o.offsetParent}i.x.targetLength=n===t?n.scrollWidth:n.clientWidth,i.y.targetLength=n===t?n.scrollHeight:n.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}
6)(t,o.target,i),update:n=>{updateAxisInfo(t,"x",i,n),updateAxisInfo(t,"y",i,n),i.time=n,(o.offset||o.target)&&function(t,n,i){let{offset:o=eR.All}=i,{target:a=t,axis:s="y"}=i,l="y"===s?"height":"width",u=a!==t?function(t,n){let i={x:0,y:0},o=t;for(;o&&o!==n;)if(o instanceof HTMLElement)i.x+=o.offsetLeft,i.y+=o.offsetTop,o=o.offsetParent;else if("svg"===o.tagName){let t=o.getBoundingClientRect();o=o.parentElement;let n=o.getBoundingClientRect();i.x+=t.left-n.left,i.y+=t.top-n.top}else if(o instanceof SVGGraphicsElement){let{x:t,y:n}=o.getBBox();i.x+=t,i.y+=n;let a=null,s=o.parentNode;for(;!a;)"svg"===s.tagName&&(a=s),s=o.parentNode;o=a}else break;return i}(a,t):eF,c=a===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in a&&"svg"!==a.tagName?a.getBBox():{width:a.clientWidth,height:a.clientHeight},d={width:t.clientWidth,height:t.clientHeight};n[s].offset.length=0;let h=!n[s].interpolate,m=o.length;for(let t=0;t<m;t++){let i=function(t,n,i,o){let a=Array.isArray(t)?t:eI,s=0;return"number"==typeof t?a=[t,t]:"string"==typeof t&&(a=(t=t.trim()).includes(" ")?t.split(" "):[t,eB[t]?t:"0"]),resolveEdge(a[0],i,o)-resolveEdge(a[1],n)}(o[t],d[l],c[l],u[s]);h||i===n[s].interpolatorOffsets[t]||(h=!0),n[s].offset[t]=i}h&&(n[s].interpolate=(0,eD.s)(n[s].offset,(0,eM.Y)(o)),n[s].interpolatorOffsets=[...n[s].offset]),n[s].progress=n[s].interpolate(n[s].current)}(t,i,o)},notify:()=>n(i)}}(n,t,l,i);if(s.add(u),!eL.has(n)){let measureAll=()=>{for(let t of s)t.measure()},updateAll=()=>{for(let t of s)t.update(eg.frameData.timestamp)},notifyAll=()=>{for(let t of s)t.notify()},listener=()=>{eg.Wi.read(measureAll,!1,!0),eg.Wi.update(updateAll,!1,!0),eg.Wi.update(notifyAll,!1,!0)};eL.set(n,listener);let t=getEventTarget(n);window.addEventListener("resize",listener,{passive:!0}),n!==document.documentElement&&eV.set(n,"function"==typeof n?(eP.add(n),a||(a=()=>{let t={width:window.innerWidth,height:window.innerHeight},n={target:window,size:t,contentSize:t};eP.forEach(t=>t(n))},window.addEventListener("resize",a)),()=>{eP.delete(n),!eP.size&&a&&(a=void 0)}):function(t,n){o||"undefined"==typeof ResizeObserver||(o=new ResizeObserver(notifyAll));let i=(0,eT.I)(t);return i.forEach(t=>{let i=eC.get(t);i||(i=new Set,eC.set(t,i)),i.add(n),null==o||o.observe(t)}),()=>{i.forEach(t=>{let i=eC.get(t);null==i||i.delete(n),(null==i?void 0:i.size)||null==o||o.unobserve(t)})}}(n,listener)),t.addEventListener("scroll",listener,{passive:!0})}let c=eL.get(n);return eg.Wi.read(c,!1,!0),()=>{var t;(0,eg.Pn)(c);let i=eN.get(n);if(!i||(i.delete(u),i.size))return;let o=eL.get(n);eL.delete(n),o&&(getEventTarget(n).removeEventListener("scroll",o),null===(t=eV.get(n))||void 0===t||t(),window.removeEventListener("resize",o))}}(({x:t,y:n})=>{l.scrollX.set(t.current),l.scrollXProgress.set(t.progress),l.scrollY.set(n.current),l.scrollYProgress.set(n.progress)},{...s,container:(null==t?void 0:t.current)||void 0,target:(null==n?void 0:n.current)||void 0})),[t,n,JSON.stringify(s.offset)]),l}(),{state:w,handleState:E}=(0,eo.g4)(),[_,T]=(0,h.useState)(!1),{isMobile:C,isTablet:P,isDesktop:j}=(0,ea.iP)(),[O,k]=(0,h.useState)(-1),R=(0,m.useRouter)();n="change",i=t=>{if(t<=0){E("top");return}t>eX&&"down"!==w?E("down"):t<eX&&"down"===w&&E("up"),eX=t},(0,h.useInsertionEffect)(()=>x.on(n,i),[x,n,i]),(0,ea.Pr)(_,g),(0,h.useEffect)(()=>{j&&(T(!1),k(-1))},[j]),(0,h.useEffect)(()=>{u||(T(!1),k(-1))},[u]);let onMenuItemClick=t=>{k(O===t?-1:t)};return(0,d.jsx)(ew.Z.FadeIn,{className:(0,ex.Z)(eY().container,eY()[w]),children:(0,d.jsxs)("header",{ref:g,className:eY().header,children:[(0,d.jsxs)("div",{className:_?eY().navWrapperActive:eY().navWrapper,children:[(0,d.jsxs)("div",{className:eY().titleWrapper,children:[(0,d.jsx)(Logo,{onClick:()=>T(!1)}),(0,d.jsx)(MenuToggle,{active:_,onClick:()=>T(!_)})]}),s&&(0,d.jsx)("nav",{className:eY().nav,children:(0,d.jsxs)(ee.E.ul,{variants:{hidden:{opacity:0},show:{opacity:1,transition:{delay:j?0:.3,duration:j?0:.3,ease:"easeOut"}}},className:eY().menu,initial:C||P?"hidden":"show",animate:_||j?"show":"hidden",exit:j?"show":"hidden",children:[s.map((t,n)=>{switch(t.select){case"parent":return(0,d.jsx)(NavBarParentItem,{item:t,active:O===n,onParentClick:()=>{onMenuItemClick(n)},onItemClick:()=>{onMenuItemClick(-1),T(!1)},onClose:()=>{-1!==O&&(onMenuItemClick(-1),T(!1))}},"nav_menu_item_".concat(n));case"languageSwitcher":return(0,d.jsx)(NavBarParentItem,{item:{title:R.locale,flag:eK.M.find(t=>
6t.id===R.locale).code,links:eK.M.map(t=>({title:t.title,url:t.slug,locale:t.id,code:t.code}))},active:O===n,onParentClick:()=>onMenuItemClick(n),onItemClick:()=>{onMenuItemClick(-1),T(!1)},onClose:()=>{onMenuItemClick(-1),T(!1)}},"nav_menu_item_".concat(n));case"default":return(0,d.jsx)("li",{children:(0,d.jsx)(en.Z,{onClick:()=>T(!1),href:t.link.url||"#",label:t.link.title,color:"transparent",mobileLink:!0})},"nav_menu_item_".concat(n));default:return null}}),j&&l&&(0,d.jsx)("li",{children:(0,d.jsx)(en.Z,{className:eY().action,href:l.url||"#",onClick:t=>{"custom"===l.linkType&&(t.preventDefault(),c(!0))},label:l.title})})]})})]}),(0,d.jsx)(Q.M,{children:_&&!j&&(0,d.jsxs)(d.Fragment,{children:[l&&(0,d.jsx)(ee.E.div,{initial:{opacity:0},animate:{opacity:1,transition:{delay:.3}},exit:{opacity:0},transition:{duration:.3},className:eY().mobileAction,children:(0,d.jsx)(en.Z,{label:l.title,href:l.url||"#",size:"large",onClick:()=>{T(!1),"custom"===l.linkType&&c(!0)}})}),(0,d.jsx)(ee.E.div,{initial:{y:"-100%"},animate:{y:"0%"},exit:{y:"-100%",transition:{delay:.3,duration:.3,ease:"easeOut"}},transition:{duration:.3,ease:"easeOut"},className:eY().background}),(0,d.jsx)(ee.E.div,{initial:{opacity:0}
6,animate:{opacity:1},exit:{opacity:0,transition:{delay:.3,duration:.3,ease:"easeOut"}},transition:{duration:.3,ease:"easeOut"},className:eY().overlay})]})})]})})}var eJ=i(9008),eQ=i.n(eJ),e0=i(4298),e1=i.n(e0),components_PageHead=t=>{let{metaTitle:n,metaDescription:i,metaKeywords:o,ogImage:a,draftMode:s}=t,{metadata:l,mimeType:u}=(null==a?void 0:a.asset)||{},{asPath:c}=(0,m.useRouter)(),g=a?(0,es.i)(a).width(l.dimensions.width).height(l.dimensions.height):void 0,x=(0,m.useRouter)();return(0,h.useEffect)(()=>(x.events.on("routeChangeComplete",t=>{console.log("Pushing pageview: ",t),window.dataLayer.push({event:"page_view",eventModel:{page_location:t}})}),()=>{x.events.off("routeChangeComplete",()=>{})}),[x.events]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(eQ(),{children:[(0,d.jsx)("title",{children:n}),i&&(0,d.jsx)("meta",{name:"description",content:i}),o&&(0,d.jsx)("meta",{name:"keywords",content:o}),(0,d.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,d.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,d.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,d.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,d.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#1f1f1f"}),(0,d.jsx)("meta",{name:"msapplication-TileColor",content:"#1f1f1f"}),(0,d.jsx)("meta",{name:"theme-color",content:"#1f1f1f"}),(0,d.jsx)("meta",{name:"author",content:"ChromoGenics"}),(0,d.jsx)("meta",{property:"og:title",content:n}),i&&(0,d.jsx)("meta",{property:"og:description",content:i}),(0,d.jsx)("meta",{property:"og:url",content:"https://converlight.com"+c}),(0,d.jsx)("meta",{property:"og:type",content:"website"}),g&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("meta",{property:"og:image",content:g.url()}),(0,d.jsx)("meta",{property:"og:image:alt",content:n}),(0,d.jsx)("meta",{property:"og:image:type",content:u}),(0,d.jsx)("meta",{property:"og:image:width",content:g.options.width.toString()}),(0,d.jsx)("meta",{property:"og:image:height",content:g.options.height.toString()})]})]}),(0,d.jsx)(e1(),{id:"scroll-restoration",dangerouslySetInnerHTML:{__html:'history.scrollRestoration = "manual"'}}),!c.startsWith("/studio")&&!s&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e1(),{id:"google-tag-manager",strategy:"afterInteractive",children:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
6j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat("GTM-5BX8B3S6","');\n ")}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(e1(),{id:"albacross-id",strategy:"afterInteractive",children:'window._nQc="'.concat("89981597",'";')}),(0,d.jsx)(e1(),{id:"albacross-track",async:!0,src:"https://serve.albacross.com/track.js",strategy:"afterInteractive"})]})]})]})},e2=i(27581),e6=i.n(e2);function PreviewBanner(t){let{draftMode:n}=t,[i,o]=(0,h.useState)(!1);return((0,h.useEffect)(()=>{n&&window.self===window.top&&(document.documentElement.classList.add("html-preview"),o(!0))},[n]),i)?(0,d.jsx)(ew.Z.FadeIn,{children:(0,d.jsx)(x(),{href:"/api/disable-draft",className:e6().container,scroll:!1,children:(0,d.jsx)("span",{children:"Exit preview mode"})})}):null}function Providers(t){let{children:n}=t;return(0,d.jsx)(eo.mb,{children:(0,d.jsx)(eo.I7,{children:n})})}var e5=i(14661);let e4=(0,h.lazy)(()=>Promise.all([i.e(748),i.e(180)]).then(i.bind(i,2180)));function App(t){var n,o,a,s,l,u,c;let{Component:g,pageProps:x}=t,w=(0,m.useRouter)(),E=(0,ea.Pg)(),{draftMode:_,token:T}=x;return(useNextCssRemovalPrevention(),(0,h.useEffect)(()=>{w.asPath.includes("article/webinar")||w.asPath.includes("article/co2-reductions")?(0,e5.W7)():sessionStorage.removeItem("cb_reloaded")},[w.asPath]),(0,h.useEffect)(()=>{"#cookieconsent"===window.location.hash&&setTimeout(()=>{var t;null===(t=window.CookieConsent)||void 0===t||t.renew()},1e3)},[]),w.asPath.startsWith("/studio"))?(0,d.jsx)(g,{...x}):(i.e(70).then(i.t.bind(i,57070,23)),(0,d.jsx)(X.f,{children:(0,d.jsxs)(Providers,{children:[(0,d.jsx)(components_PageHead,{...null===(n=x.page)||void 0===n?void 0:n.seo,draftMode:_}),_&&(0,d.jsx)(PreviewBanner,{draftMode:_}),(null===(o=x.page)||void 0===o?void 0:o.navigation)&&(0,d.jsx)(NavBar,{links:x.page.navigation.links,cta:x.page.navigation.cta}),(0,d.jsx)(Container,{children:_?(0,d.jsxs)(e4,{token:T,children:[(0,d.jsx)("main",{className:"main",children:(0,d.jsx)(g,{...x})}),"/404"!==w.pathname&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Footer,{...null===(a=x.page)||void 0===a?void 0:a.footer}),(0,d.jsx)(Contact,{...null===(s=x.page)||void 0===s?void 0:s.contact})]})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("main",{className:"main",children:(0,d.jsx)(g,{...x})}),"/404"!==w.pathname&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Footer,{...null===(l=x.page)||void 0===l?void 0:l.footer}),(0,d.jsx)(Contact,{...null===(u=x.page)||void 0===u?void 0:u.contactOverlay,...null===(c=x.page)||void 0===c?void 0:c.contactForm})]})]})}),!E&&!_&&(0,e5.b5)(x.page,["visualBlocks","visualBlocksMixed","feed"])&&(0,d.jsx)(Cursor,{})]})}))}},10831:function(){},84231:function(t){t.exports={label:"Button_label__YUlJz",container:"Button_container__j950m",pointer:"Button_pointer__kNB2X",base:"Button_base__PTCe7",transparent:"Button_transparent__hH7Ib",outlined:"Button_outlined__I_w4X",large:"Button_large__Z2ozi",white:"Button_white__OlKZP",mobileLink:"Button_mobileLink__4vsR8",active:"Button_active__8l_7k"}},41377:function(t){t.exports={overlay:"Contact_overlay__YhAWi",container:"Contact_container__8MMFP",content:"Contact_content__AC7zC",body:"Contact_body__8b_YT",figure:"Contact_figure__ZxAMZ",form:"Contact_form__VPSVN",formTitle:"Contact_formTitle__52_s7",rows:"Contact_rows__fa8TX",row:"Contact_row__5hBJN",data:"Contact_data__V6Zf7",cell:"Contact_cell__YceLu",light:"Contact_light__xyJ3F",cellTitle:"Contact_cellTitle__amkF_",cellSubTitle:"Contact_cellSubTitle__APdAe",buttonWrapper:"Contact_buttonWrapper__yfkyT",socialLink:"Contact_socialLink__KUml_",socialLabel:"Contact_socialLabel__Xre59",socialIcon:"Contact_socialIcon__8UhBj"}},59430:function(t){t.exports={cursor:"Cursor_cursor__d2AiM"}},72645:function(t){t.exports={container:"Flag_container__O_qHY"}},87930:function(t){t.exports={container:"Footer_container__7AGDW",top:"Footer_top__Dfffp",text:"Footer_text__zmW1j",column:"Footer_column__o_VDy",block:"Footer_block___phxj",bottom:"Footer_bottom__KuoWZ",logoWrapper:"Footer_logoWrapper__Az2hK",byLine:"Footer_byLine__AK9wM",cookieSettings:"Footer_cookieSettings__YQKBJ"}},83177:function(t){t.exports={container:"Form_container__z2Vw_",buttonWrapper:"Form_buttonWrapper__UR
6a3O",response:"Form_response__UIg3E",errorMessage:"Form_errorMessage__A1930",honeypot:"Form_honeypot__yCVZi"}},91641:function(t){t.exports={container:"IconCircle_container__LxDPJ",arrow:"IconCircle_arrow__Cd0gU",plus:"IconCircle_plus__O2jmj"}},73476:function(t){t.exports={name:"Logo_name__Ataax"}},40058:function(t){t.exports={container:"MenuToggle_container__dFOum",line:"MenuToggle_line__RI4hZ"}},77543:function(t){t.exports={container:"NavBar_container__GYOFt",header:"NavBar_header__KrUSo",overlay:"NavBar_overlay__Xgfwt",background:"NavBar_background__uY4t4",down:"NavBar_down___ZKZo",up:"NavBar_up__iKLY1",titleWrapper:"NavBar_titleWrapper__6hjQB",menu:"NavBar_menu__3hZ1M",subMenuWrapper:"NavBar_subMenuWrapper__o14ag",navWrapper:"NavBar_navWrapper__MzAC7",navWrapperActive:"NavBar_navWrapperActive__ypwtQ",nav:"NavBar_nav__kbgeM",action:"NavBar_action__f5Y1C",mobileAction:"NavBar_mobileAction__7rrfx",link:"NavBar_link__Qf8ag"}},67534:function(t){t.exports={container:"NavBarParentItem_container__E0xES",subMenuWrapper:"NavBarParentItem_subMenuWrapper__gy1B9",menuItemActive:"NavBarParentItem_menuItemActive__rv6Cl",subMenu:"NavBarParentItem_subMenu__g9MdK",langName:"NavBarParentItem_langName__vI1SD",link:"NavBarParentItem_link__upAMC",activeLink:"NavBarParentItem_activeLink__M_iSm",titleWrapper:"NavBarParentItem_titleWrapper__OqDAn",description:"NavBarParentItem_description__dXE_h"}},27581:function(t){t.exports={container:"PreviewBanner_container__Y7n3H"}},9008:function(t,n,i){t.exports=i(79201)},25675:function(t,n,i){t.exports=i(645)},41664:function(t,n,i){t.exports=i(65170)},11163:function(t,n,i){t.exports=i(59974)},4298:function(t,n,i){t.exports=i(85354)},34155:function(t){var n,i,o,a=t.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(t){if(n===setTimeout)return setTimeout(t,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(i){try{return n.call(null,t,0)}catch(i){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(t){n=defaultSetTimout}try{i="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(t){i=defaultClearTimeout}}();var s=[],l=!1,u=-1;function cleanUpNextTick(){l&&o&&(l=!1,o.length?s=o.concat(s):u=-1,s.length&&drainQueue())}function drainQueue(){if(!l){var t=runTimeout(cleanUpNextTick);l=!0;for(var n=s.length;n;){for(o=s,s=[];++u<n;)o&&o[u].run();u=-1,n=s.length}o=null,l=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===defaultClearTimeout||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(n){try{return i.call(null,t)}catch(n){return i.call(this,t)}}}(t)}}function Item(t,n){this.fun=t,this.array=n}function noop(){}a.nextTick=function(t){var n=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)n[i-1]=arguments[i];s.push(new Item(t,n)),1!==s.length||l||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=noop,a.addListener=noop,a.once=noop,a.off=noop,a.removeListener=noop,a.removeAllListeners=noop,a.emit=noop,a.prependListener=noop,a.prependOnceListener=noop,a.listeners=function(t){return[]},a.binding=function(t){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},55760:function(t){"use strict";function Cache(t){this._maxSize=t,this.clear()}Cache.prototype.clear=function(){this._size=0,this._values=Object.create(null)},Cache.prototype.get=function(t){return this._values[t]},Cache.prototype.set=function(t,n){return this._size>=this._maxSize&&this.clear(),!(t in this._values)&&this._size++,this._values[t]=n};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,a=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,l=new Cache(512),u=new Cache(512),c=new Cache(512);function normalizePath(t){return l.get(t)||l.set(t,split(t).map(function(t){return t.replace(s,"$2")}))}function split(t){return t.match(n)||[""]}function isQuoted(t){return"string"==typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}t.exports={Cache:Cache,split:split,normalizePath:normalizePath,setter:function(t){var n=normalizePath(t);return u.get(t)||u.set(t,function(t,i){for(var o=0,a=n.length,s=t;o<a-1;){var l=n[o];if("__proto__"===l||"constructor"===l||"prototype"===l)return t;s=s[n[o++]]}s[n[o]]=i})},getter:function(t,n){var i=normalizePath(t);return c.get(t)||c.set(t,function(t){for(var o=0,a=i.length;o<a;){if(null==t&&n)return;t=t[i[o++]]}return t})},join:function(t){return t.reduce(function(t,n){return t+(isQuoted(n)||i.test(n)?"["+n+"]":(t?".":"")+n)},"")}
6,forEach:function(t,n,s){!function(t,n,s){var l,u,c,d,h,m=t.length;for(c=0;c<m;c++){(u=t[c])&&(!isQuoted(l=u)&&(l.match(o)&&!l.match(i)||a.test(l))&&(u='"'+u+'"'),d=!(h=isQuoted(u))&&/^\d+$/.test(u),n.call(s,u,h,d,c,t))}}(Array.isArray(t)?t:split(t),n,s)}}},69921:function(t,n){"use strict";/** @license React v16.13.1 7 * react-is.production.min.js 8 * 9 * Copyright (c) Facebook, Inc. and its affiliates. 10 * 11 * This source code is licensed under the MIT license found in the 12 * LICENSE file in the root directory of this source tree. 13 */var i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.async_mode"):60111,m=i?Symbol.for("react.concurrent_mode"):60111,g=i?Symbol.for("react.forward_ref"):60112,x=i?Symbol.for("react.suspense"):60113,w=i?Symbol.for("react.suspense_list"):60120,E=i?Symbol.for("react.memo"):60115,_=i?Symbol.for("react.lazy"):60116,T=i?Symbol.for("react.block"):60121,C=i?Symbol.for("react.fundamental"):60117,P=i?Symbol.for("react.responder"):60118,j=i?Symbol.for("react.scope"):60119;function z(t){if("object"==typeof t&&null!==t){var n=t.$$typeof;switch(n){case o:switch(t=t.type){case h:case m:case s:case u:case l:case x:return t;default:switch(t=t&&t.$$typeof){case d:case g:case _:case E:case c:return t;default:return n}}case a:return n}}}function A(t){return z(t)===m}n.AsyncMode=h,n.ConcurrentMode=m,n.ContextConsumer=d,n.ContextProvider=c,n.Element=o,n.ForwardRef=g,n.Fragment=s,n.Lazy=_,n.Memo=E,n.Portal=a,n.Profiler=u,n.StrictMode=l,n.Suspense=x,n.isAsyncMode=function(t){return A(t)||z(t)===h},n.isConcurrentMode=A,n.isContextConsumer=function(t){return z(t)===d},n.isContextProvider=function(t){return z(t)===c},n.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},n.isForwardRef=function(t){return z(t)===g},n.isFragment=function(t){return z(t)===s},n.isLazy=function(t){return z(t)===_},n.isMemo=function(t){return z(t)===E},n.isPortal=function(t){return z(t)===a},n.isProfiler=function(t){return z(t)===u},n.isStrictMode=function(t){return z(t)===l},n.isSuspense=function(t){return z(t)===x},n.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===s||t===m||t===u||t===l||t===x||t===w||"object"==typeof t&&null!==t&&(t.$$typeof===_||t.$$typeof===E||t.$$typeof===c||t.$$typeof===d||t.$$typeof===g||t.$$typeof===C||t.$$typeof===P||t.$$typeof===j||t.$$typeof===T)},n.typeOf=z},59864:function(t,n,i){"use strict";t.exports=i(69921)},59885:function(t){let n=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,
13words=t=>t.match(n)||[],upperFirst=t=>t[0].toUpperCase()+t.slice(1),join=(t,n)=>words(t).join(n).toLowerCase(),camelCase=t=>words(t).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,"");t.exports={words,upperFirst,camelCase,pascalCase:t=>upperFirst(camelCase(t)),snakeCase:t=>join(t,"_"),kebabCase:t=>join(t,"-"),sentenceCase:t=>upperFirst(join(t," ")),titleCase:t=>words(t).map(upperFirst).join(" ")}},94633:function(t){function toposort(t,n){var i=t.length,o=Array(i),a={},s=i,l=function(t){for(var n=new Map,i=0,o=t.length;i<o;i++){var a=t[i];n.has(a[0])||n.set(a[0],new Set),n.has(a[1])||n.set(a[1],new Set),n.get(a[0]).add(a[1])}return n}(n),u=function(t){for(var n=new Map,i=0,o=t.length;i<o;i++)n.set(t[i],i);return n}(t);for(n.forEach(function(t){if(!u.has(t[0])||!u.has(t[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)a[s]||function visit(t,n,s){if(s.has(t)){var c;try{c=", node was:"+JSON.stringify(t)}catch(t){c=""}throw Error("Cyclic dependency"+c)}if(!u.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!a[n]){a[n]=!0;var d=l.get(t)||new Set;if(n=(d=Array.from(d)).length){s.add(t);do{var h=d[--n];visit(h,u.get(h),s)}while(n);s.delete(t)}o[--i]=t}}(t[s],s,new Set);return o}t.exports=function(t){return toposort(function(t){for(var n=new Set,i=0,o=t.length;i<o;i++){var a=t[i];n.add(a[0]),n.add(a[1])}return Array.from(n)}(t),t)},t.exports.array=toposort},16310:function(t,n,i){"use strict";let o;i.d(n,{IX:function(){return create$2},O7:function(){return create$7},Ry:function(){return create$3},Z_:function(){return create$6}});var a=i(55760),s=i(59885),l=i(94633),u=i.n(l);let c=Object.prototype.toString,d=Error.prototype.toString,h=RegExp.prototype.toString,m="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",g=/^Symbol\((.*)\)(.*)$/;function printSimpleValue(t,n=!1){if(null==t||!0===t||!1===t)return""+t;let i=typeof t;if("number"===i)return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t;if("string"===i)return n?`"${t}"`:t;if("function"===i)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===i)return m.call(t).replace(g,"Symbol($1)");let o=c.call(t).slice(8,-1);return"Date"===o?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===o||t instanceof Error?"["+d.call(t)+"]":"RegExp"===o?h.call(t):null}function printValue(t,n){let i=printSimpleValue(t,n);return null!==i?i:JSON.stringify(t,function(t,i){let o=printSimpleValue(this[t],n);return null!==o?o:i},2)}function toArray(t){return null==t?[]:[].concat(t)}let x=/\$\{\s*(\w+)\s*\}/g;o=Symbol.toStringTag;let ValidationError=class ValidationError extends Error{static formatError(t,n){let i=n.label||n.path||"this";return(i!==n.path&&(n=Object.assign({},n,{path:i})),"string"==typeof t)?t.replace(x,(t,i)=>printValue(n[i])):"function"==typeof t?t(n):t}static isError(t){return t&&"ValidationError"===t.name}constructor(t,n,i,a,s){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this[o]="Error",this.name="ValidationError",this.value=n,this.path=i,this.type=a,this.errors=[],this.inner=[],toArray(t).forEach(t=>{if(ValidationError.isError(t)){this.errors.push(...t.errors);let n=t.inner.length?t.inner:[t];this.inner.push(...n)}else this.errors.push(t)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],!s&&Error.captureStackTrace&&Error.captureStackTrace(this,ValidationError)}};let w={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:n,value:i,originalValue:o})=>{let a=null!=o&&o!==i?` (cast from the value \`${printValue(o,!0)}\`).`:".";return"mixed"!==n?`${t} must be a \`${n}\` type, but the final value was: \`${printValue(i,!0)}\``+a:`${t} must match the configured type. The validated value was: \`${printValue(i,!0)}\``+a}},E={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},_={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},T={isValue:"${path} field must be ${value}"},C={noUnknown:"${path} field has unspecified keys: ${unknown}"},P={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:w,string:E,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:_,object:C,array:P,boolean:T,tuple:{notType:t=>{let{path:n,value:i,spec:o}=t,a=o.types.length;if(Array.isArray(i)){if(i.length<a)return`${n} tuple value has too few items, expected a length of ${a} but got ${i.length} for value: \`${printValue(i,!0)}\``;if(i.length>a)return`${n} tuple value has too many items, expected a length of ${a} but got ${i.length} for value: \`${printValue(i,!0)}\``}return ValidationError.formatError(w.notType,t)}}});let isSchema=t=>t&&t.__isYupSchema__;let Condition=class Condition{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:i,then:o,otherwise:a}=n,s="function"==typeof i?i:(...t)=>t.every(t=>t===i);return new Condition(t,(t,n)=>{var i;let l=s(...t)?o:a;return null!=(i=null==l?void 0:l(n))?i:n})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let i=this.refs.map(t=>
13t.getValue(null==n?void 0:n.value,null==n?void 0:n.parent,null==n?void 0:n.context)),o=this.fn(i,t,n);if(void 0===o||o===t)return t;if(!isSchema(o))throw TypeError("conditions must return a schema object");return o.resolve(n)}};let j={context:"$",value:"."};let Reference=class Reference{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof t)throw TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===j.context,this.isValue=this.key[0]===j.value,this.isSibling=!this.isContext&&!this.isValue;let i=this.isContext?j.context:this.isValue?j.value:"";this.path=this.key.slice(i.length),this.getter=this.path&&(0,a.getter)(this.path,!0),this.map=n.map}getValue(t,n,i){let o=this.isContext?i:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,null==n?void 0:n.parent,null==n?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}};Reference.prototype.__isYupRef=!0;let isAbsent=t=>null==t;function createValidation(t){function validate({value:n,path:i="",options:o,originalValue:a,schema:s},l,u){let c;let{name:d,test:h,params:m,message:g,skipAbsent:x}=t,{parent:w,context:E,abortEarly:_=s.spec.abortEarly,disableStackTrace:T=s.spec.disableStackTrace}=o;function resolve(t){return Reference.isRef(t)?t.getValue(n,w,E):t}function createError(t={}){var o;let l=Object.assign({value:n,originalValue:a,label:s.spec.label,path:t.path||i,spec:s.spec},m,t.params);for(let t of Object.keys(l))l[t]=resolve(l[t]);let u=new ValidationError(ValidationError.formatError(t.message||g,l),n,l.path,t.type||d,null!=(o=t.disableStackTrace)?o:T);return u.params=l,u}let C=_?l:u,P={path:i,parent:w,type:d,from:o.from,createError,resolve,options:o,originalValue:a,schema:s},handleResult=t=>{ValidationError.isError(t)?C(t):t?u(null):C(createError())},handleError=t=>{ValidationError.isError(t)?C(t):l(t)},j=x&&isAbsent(n);if(j)return handleResult(!0);try{var O;if(c=h.call(P,n,P),"function"==typeof(null==(O=c)?void 0:O.then)){if(o.sync)throw Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(c).then(handleResult,handleError)}}catch(t){handleError(t);return}handleResult(c)}return validate.OPTIONS=t,validate}let ReferenceSet=class ReferenceSet extends Set{describe(){let t=[];for(let n of this.values())t.push(Reference.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(let i of this.values())n.push(t(i));return n}clone(){return new ReferenceSet(this.values())}merge(t,n){let i=this.clone();return t.forEach(t=>i.add(t)),n.forEach(t=>i.delete(t)),i}};function clone(t,n=new Map){let i;if(isSchema(t)||!t||"object"!=typeof t)return t;if(n.has(t))return n.get(t);if(t instanceof Date)i=new Date(t.getTime()),n.set(t,i);else if(t instanceof RegExp)i=new RegExp(t),n.set(t,i);else if(Array.isArray(t)){i=Array(t.length),n.set(t,i);for(let o=0;o<t.length;o++)i[o]=clone(t[o],n)}else if(t instanceof Map)for(let[o,a]of(i=new Map,n.set(t,i),t.entries()))i.set(o,clone(a,n));else if(t instanceof Set)for(let o of(i=new Set,n.set(t,i),t))i.add(clone(o,n));else if(t instanceof Object)for(let[o,a]of(i={},n.set(t,i),Object.entries(t)))i[o]=clone(a,n);else throw Error(`Unable to clone ${t}`);return i}let Schema=class Schema{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new ReferenceSet,this._blacklist=new ReferenceSet,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(w.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==t?void 0:t.spec),this.withMutation(t=>{t.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;let n=Object.create(Object.getPrototypeOf(this));
13return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=clone(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(0===t.length)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let i=t(this);return this._mutate=n,i}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=t.clone(),i=Object.assign({},this.spec,n.spec);return n.spec=i,n.internalTests=Object.assign({},this.internalTests,n.internalTests),n._whitelist=this._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=this._blacklist.merge(t._blacklist,t._whitelist),n.tests=this.tests,n.exclusiveTests=this.exclusiveTests,n.withMutation(n=>{t.tests.forEach(t=>{n.test(t.OPTIONS)})}),n.transforms=[...this.transforms,...n.transforms],n}isType(t){return null==t?!!this.spec.nullable&&null===t||!!this.spec.optional&&void 0===t:this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let i=n.conditions;(n=n.clone()).conditions=[],n=(n=i.reduce((n,i)=>i.resolve(n,t),n)).resolve(t)}return n}resolveOptions(t){var n,i,o,a;return Object.assign({},t,{from:t.from||[],strict:null!=(n=t.strict)?n:this.spec.strict,abortEarly:null!=(i=t.abortEarly)?i:this.spec.abortEarly,recursive:null!=(o=t.recursive)?o:this.spec.recursive,disableStackTrace:null!=(a=t.disableStackTrace)?a:this.spec.disableStackTrace})}cast(t,n={}){let i=this.resolve(Object.assign({value:t},n)),o="ignore-optionality"===n.assert,a=i._cast(t,n);if(!1!==n.assert&&!i.isType(a)){if(o&&isAbsent(a))return a;let s=printValue(t),l=printValue(a);throw TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${i.type}". 14 15attempted value: ${s} 16`+(l!==s?`result of cast: ${l}`:""))}return a}_cast(t,n){let i=void 0===t?t:this.transforms.reduce((n,i)=>i.call(this,n,t,this),t);return void 0===i&&(i=this.getDefault(n)),i}_validate(t,n={},i,o){let{path:a,originalValue:s=t,strict:l=this.spec.strict}=n,u=t;l||(u=this._cast(u,Object.assign({assert:!1},n)));let c=[];for(let t of Object.values(this.internalTests))t&&c.push(t);this.runTests({path:a,value:u,originalValue:s,options:n,tests:c},i,t=>{if(t.length)return o(t,u);this.runTests({path:a,value:u,originalValue:s,options:n,tests:this.tests},i,o)})}runTests(t,n,i){let o=!1,{tests:a,value:s,originalValue:l,path:u,options:c}=t,panicOnce=t=>{o||(o=!0,n(t,s))},nextOnce=t=>{o||(o=!0,i(t,s))},d=a.length,h=[];if(!d)return nextOnce([]);let m={value:s,originalValue:l,path:u,options:c,schema:this};for(let t=0;t<a.length;t++){let n=a[t];n(m,panicOnce,function(t){t&&(Array.isArray(t)?h.push(...t):h.push(t)),--d<=0&&nextOnce(h)})}}asNestedTest({key:t,index:n,parent:i,parentPath:o,originalParent:a,options:s}){let l=null!=t?t:n;if(null==l)throw TypeError("Must include `key` or `index` for nested validations");let u="number"==typeof l,c=i[l],d=Object.assign({},s,{strict:!0,parent:i,value:c,originalValue:a[l],key:void 0,[u?"index":"key"]:l,path:u||l.includes(".")?`${o||""}[${c?l:`"${l}"`}]`:(o?`${o}.`:"")+t});return(t,n,i)=>this.resolve(d)._validate(c,d,n,i)}validate(t,n){var i;let o=this.resolve(Object.assign({},n,{value:t})),a=null!=(i=null==n?void 0:n.disableStackTrace)?i:o.spec.disableStackTrace;return new Promise((i,s)=>o._validate(t,n,(t,n)=>{ValidationError.isError(t)&&(t.value=n),s(t)},(t,n)=>{t.length?s(new ValidationError(t,n,void 0,void 0,a)):i(n)}))}validateSync(t,n){var i;let o;let a=this.resolve(Object.assign({},n,{value:t})),s=null!=(i=null==n?void 0:n.disableStackTrace)?i:a.spec.disableStackTrace;return a._validate(t,Object.assign({},n,{sync:!0}),(t,n)=>{throw ValidationError.isError(t)&&(t.value=n),t},(n,i)=>{if(n.length)throw new ValidationError(n,t,void 0,void 0,s);o=i}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,t=>{if(ValidationError.isError(t))return!1;throw t})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(t){if(ValidationError.isError(t))return!1;throw t}}_getDefault(t){let n=this.spec.default;return null==n?n:"function"==typeof n?n.call(this,t):clone(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return 0==arguments.length?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){let i=this.clone({nullable:t});return i.internalTests.nullable=createValidation({message:n,name:"nullable",test(t){return null!==t||this.schema.spec.nullable}}),i}optionality(t,n){let i=this.clone({optional:t});return i.internalTests.optionality=createValidation({message:n,name:"optionality",test(t){return void 0!==t||this.schema.spec.optional}}),i}optional(){return this.optionality(!0)}defined(t=w.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=w.notNull){return this.nullability(!1,t)}required(t=w.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(void 0===(n=1===t.length?"function"==typeof t[0]?{test:t[0]}:t[0]:2===t.length?{name:t[0],test:t[1]}:{name:t[0],message:t[1],test:t[2]}).message&&(n.message=w.default),"function"!=typeof n.test)throw TypeError("`test` is a required parameters");let i=this.clone(),o=createValidation(n),a=n.exclusive||n.name&&!0===i.exclusiveTests[n.name];if(n.exclusive&&!n.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(i.exclusiveTests[n.name]=!!n.exclusive),i.tests=i.tests.filter(t=>t.OPTIONS.name!==n.name||!a&&t.OPTIONS.test!==o.OPTIONS.test),i.tests.push(o),i}when(t,n){Array.isArray(t)||"string"==typeof t||(n=t,t=".");let i=this.clone(),o=toArray(t).map(t=>new Reference(t));return o.forEach(t=>{t.isSibling&&i.deps.push(t.key)}),i.conditions.push("function"==typeof n?new Condition(o,n):Condition.fromOptions(o,n)),i}typeError(t){let n=this.clone();return n.internalTests.typeError=createValidation({message:t,name:"typeError",skipAbsent:!0,test(t){return!!this.schema._typeCheck(t)||this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=w.oneOf){let i=this.clone();return t.forEach(t=>{i._whitelist.add(t),i._blacklist.delete(t)}),i.internalTests.whiteList=createValidation({message:n,name:"oneOf",skipAbsent:!0,test(t){let n=this.schema._whitelist,i=n.resolveAll(this.resolve);return!!i.includes(t)||this.createError({params:{values:Array.from(n).join(", "),resolved:i}})}}),i}notOneOf(t,n=w.notOneOf){let i=this.clone();return t.forEach(t=>{i._blacklist.add(t),i._whitelist.delete(t)}),i.internalTests.blacklist=createValidation({message:n,name:"notOneOf",test(t){let n=this.schema._blacklist,i=n.resolveAll(this.resolve);return!i.includes(t)||this.createError({params:{values:Array.from(n).join(", "),resolved:i}})}}),i}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){let n=(t?this.resolve(t):this).clone(),{label:i,meta:o,optional:a,nullable:s}=n.spec,l={meta:o,label:i,optional:a,nullable:s,default:n.getDefault(t),t
16ype:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(t=>({name:t.OPTIONS.name,params:t.OPTIONS.params})).filter((t,n,i)=>i.findIndex(n=>n.name===t.name)===n)};return l}};for(let t of(Schema.prototype.__isYupSchema__=!0,["validate","validateSync"]))Schema.prototype[`${t}At`]=function(n,i,o={}){let{parent:s,parentPath:l,schema:u}=function(t,n,i,o=i){let s,l,u;return n?((0,a.forEach)(n,(a,c,d)=>{let h=c?a.slice(1,a.length-1):a,m="tuple"===(t=t.resolve({context:o,parent:s,value:i})).type,g=d?parseInt(h,10):0;if(t.innerType||m){if(m&&!d)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${u}" must contain an index to the tuple element, e.g. "${u}[0]"`);if(i&&g>=i.length)throw Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${n}. because there is no value at that index. `);s=i,i=i&&i[g],t=m?t.spec.types[g]:t.innerType}if(!d){if(!t.fields||!t.fields[h])throw Error(`The schema does not contain the path: ${n}. (failed at: ${u} which is a type: "${t.type}")`);s=i,i=i&&i[h],t=t.fields[h]}l=h,u=c?"["+a+"]":"."+a}),{schema:t,parent:s,parentPath:l}):{parent:s,parentPath:n,schema:t}}(this,n,i,o.context);return u[t](s&&s[l],Object.assign({},o,{parent:s,path:n}))};for(let t of["equals","is"])Schema.prototype[t]=Schema.prototype.oneOf;for(let t of["not","nope"])Schema.prototype[t]=Schema.prototype.notOneOf;function create$7(){return new BooleanSchema}let BooleanSchema=class BooleanSchema extends Schema{constructor(){super({type:"boolean",check:t=>(t instanceof Boolean&&(t=t.valueOf()),"boolean"==typeof t)}),this.withMutation(()=>{this.transform((t,n,i)=>{if(i.spec.coerce&&!i.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=T.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test:t=>isAbsent(t)||!0===t})}isFalse(t=T.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test:t=>isAbsent(t)||!1===t})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}};create$7.prototype=BooleanSchema.prototype;let O=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,k=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,R=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,isTrimmed=t=>isAbsent(t)||t===t.trim(),B=({}).toString();function create$6(){return new StringSchema}let StringSchema=class StringSchema extends Schema{constructor(){super({type:"string",check:t=>(t instanceof String&&(t=t.valueOf()),"string"==typeof t)}),this.withMutation(()=>{this.transform((t,n,i)=>{if(!i.spec.coerce||i.isType(t)||Array.isArray(t))return t;let o=null!=t&&t.toString?t.toString():t;return o===B?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||w.required,name:"required",skipAbsent:!0,test:t=>!!t.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(t=>"required"!==t.OPTIONS.name),t))}length(t,n=E.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,n=E.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,n=E.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}matches(t,n){let i,o,a=!1;return n&&("object"==typeof n?{excludeEmptyString:a=!1,message:i,name:o}=n:i=n),this.test({name:o||"matches",message:i||E.matches,params:{regex:t},skipAbsent:!0,test:n=>""===n&&a||-1!==n.search(t)})}email(t=E.email){return this.matches(O,{name:"email",message:t,excludeEmptyString:!0})}url(t=E.url){return this.matches(k,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=E.uuid){return this.matches(R,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>null===t?"":t)}trim(t=E.trim){return this.transform(t=>null!=t?t.trim():t).test({message:t,name:"trim",test:isTrimmed})}lowercase(t=E.lowercase){return this.transform(t=>isAbsent(t)?t:t.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>isAbsent(t)||t===t.toLowerCase()})}uppercase(t=E.uppercase){return this.transform(t=>isAbsent(t)?t:t.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>isAbsent(t)||t===t.toUpperCase()})}};create$6.prototype=StringSchema.prototype;let I=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function toNumber(t,n=0){return Number(t)||n}let D=new Date(""),isDate=t=>"[object Date]"===Object.prototype.toString.call(t);function create$4(){return new DateSchema}let DateSchema=class DateSchema extends Schema{constructor(){super({type:"date",check:t=>isDate(t)&&!isNaN(t.getTime())}),this.withMutation(()=>{this.transform((t,n,i)=>!i.spec.coerce||i.isType(t)||null===t?t:isNaN(t=function(t){let n=I.exec(t);if(!n)return Date.parse?Date.parse(t):Number.NaN;let i={year:toNumber(n[1]),month:toNumber(n[2],1)-1,day:toNumber(n[3],1),hour:toNumber(n[4]),minute:toNumber(n[5]),second:toNumber(n[6]),millisecond:n[7]?toNumber(n[7].substring(0,3)):0,z:n[8]||void 0,plusMinus:n[9]||void 0,hourOffset:toNumber(n[10]),minuteOffset:toNumber(n[11])};if(void 0===i.z&&void 0===i.plusMinus)return new Date(i.year,i.month,i.day,i.hour,i.minute,i.second,i.millisecond).valueOf();let o=0;return"Z"!==i.z&&void 0!==i.plusMinus&&(o=60*i.hourOffset+i.minuteOffset,"+"===i.plusMinus&&(o=0-o)),Date.UTC(i.year,i.month,i.day,i.hour,i.minute+o,i.second,i.millisecond)}(t))?DateSchema.INVALID_DATE:new Date(t))})}prepareParam(t,n){let i;if(Reference.isRef(t))i=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);i=o}return i}min(t,n=_.min){let i=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(t){return t>=this.resolve(i)}})}max(t,n=_.max){let i=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(t){return t<=this.resolve(i)}})}};function findIndex(t,n){let i=1/0;return t.some((t,o)=>{var a;if(null!=(a=n.path)&&a.includes(t))return i=o,!0}),i}function sortByKeyOrder(t){return(n,i)=>findIndex(t,n)-findIndex(t,i)}DateSchema.INVALID_DATE=D,create$4.prototype=DateSchema.prototype,create$4.INVALID_DATE=D;let parseJson=(t,n,i)=>{if("string"!=typeof t)return t;let o=t;try{o=JSON.parse(t)}catch(t){}return i.isType(o)?o:t},deepHas=(t,n)=>{let i=[...(0,a.normalizePath)(n)];if(1===i.length)return i[0]in t;let o=i.pop(),s=(0,a.getter)((0,a.join)(i),!0)(t);return!!(s&&o in s)},isObject=t=>"[object Object]"===Object.prototype.toString.call(t),M=sortByKeyOrder([]);function create$3(t){return new ObjectSchema(t)}let ObjectSchema=class ObjectSchema extends Schema{constructor(t){super({type:"object",check:t=>isObject(t)||"function"==typeof t}),this.fields=Object.create(null),this._sortErrors=M,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var i;let o=super._cast(t,n);if(void 0===o)return this.getDefault(n);if(!this._typeCheck(o))return o;let a=this.fields,s=null!=(i=n.stripUnknown)?i:this.spec.noUnknown,l=[].concat(this._nodes,Object.keys(o).filter(t=>!this._nodes.includes(t))),u={},c=Object.assign({}
16,n,{parent:u,__validating:n.__validating||!1}),d=!1;for(let t of l){let i=a[t],l=t in o;if(i){let a;let s=o[t];c.path=(n.path?`${n.path}.`:"")+t;let l=(i=i.resolve({value:s,context:n.context,parent:u}))instanceof Schema?i.spec:void 0,h=null==l?void 0:l.strict;if(null!=l&&l.strip){d=d||t in o;continue}void 0!==(a=n.__validating&&h?o[t]:i.cast(o[t],c))&&(u[t]=a)}else l&&!s&&(u[t]=o[t]);(l!==t in u||u[t]!==o[t])&&(d=!0)}return d?u:o}_validate(t,n={},i,o){let{from:a=[],originalValue:s=t,recursive:l=this.spec.recursive}=n;n.from=[{schema:this,value:s},...a],n.__validating=!0,n.originalValue=s,super._validate(t,n,i,(t,a)=>{if(!l||!isObject(a)){o(t,a);return}s=s||a;let u=[];for(let t of this._nodes){let i=this.fields[t];!i||Reference.isRef(i)||u.push(i.asNestedTest({options:n,key:t,parent:a,parentPath:n.path,originalParent:s}))}this.runTests({tests:u,value:a,originalValue:s,options:n},i,n=>{o(n.sort(this._sortErrors).concat(t),a)})})}clone(t){let n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),i=n.fields;for(let[t,n]of Object.entries(this.fields)){let o=i[t];i[t]=void 0===o?n:o}return n.withMutation(n=>n.setFields(i,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(i=>{var o;let a=this.fields[i],s=t;null!=(o=s)&&o.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[i]})),n[i]=a&&"getDefault"in a?a.getDefault(s):void 0}),n}setFields(t,n){let i=this.clone();return i.fields=t,i._nodes=function(t,n=[]){let i=[],o=new Set,s=new Set(n.map(([t,n])=>`${t}-${n}`));function addNode(t,n){let l=(0,a.split)(t)[0];o.add(l),s.has(`${n}-${l}`)||i.push([n,l])}for(let n of Object.keys(t)){let i=t[n];o.add(n),Reference.isRef(i)&&i.isSibling?addNode(i.path,n):isSchema(i)&&"deps"in i&&i.deps.forEach(t=>addNode(t,n))}return u().array(Array.from(o),i).reverse()}(t,n),i._sortErrors=sortByKeyOrder(Object.keys(t)),n&&(i._excludedEdges=n),i}shape(t,n=[]){return this.clone().withMutation(i=>{let o=i._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...i._excludedEdges,...n]),i.setFields(Object.assign(i.fields,t),o)})}partial(){let t={};for(let[n,i]of Object.entries(this.fields))t[n]="optional"in i&&i.optional instanceof Function?i.optional():i;return this.setFields(t)}deepPartial(){let t=function deepPartial(t){if("fields"in t){let n={};for(let[i,o]of Object.entries(t.fields))n[i]=deepPartial(o);return t.setFields(n)}if("array"===t.type){let n=t.optional();return n.innerType&&(n.innerType=deepPartial(n.innerType)),n}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(deepPartial)}):"optional"in t?t.optional():t}(this);return t}pick(t){let n={};for(let i of t)this.fields[i]&&(n[i]=this.fields[i]);return this.setFields(n,this._excludedEdges.filter(([n,i])=>t.includes(n)&&t.includes(i)))}omit(t){let n=[];for(let i of Object.keys(this.fields))t.includes(i)||n.push(i);return this.pick(n)}from(t,n,i){let o=(0,a.getter)(t,!0);return this.transform(a=>{if(!a)return a;let s=a;return deepHas(a,t)&&(s=Object.assign({},a),i||delete s[t],s[n]=o(a)),s})}json(){return this.transform(parseJson)}noUnknown(t=!0,n=C.noUnknown){"boolean"!=typeof t&&(n=t,t=!0);let i=this.test({name:"noUnknown",exclusive:!0,message:n,test(n){let i;if(null==n)return!0;let o=(i=Object.keys(this.schema.fields),Object.keys(n).filter(t=>-1===i.indexOf(t)));return!t||0===o.length||this.createError({params:{unknown:o.join(", ")}})}});return i.spec.noUnknown=t,i}unknown(t=!0,n=C.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;let i={};for(let o of Object.keys(n))i[t(o)]=n[o];return i})}camelCase(){return this.transformKeys(s.camelCase)}snakeCase(){return this.transformKeys(s.snakeCase)}constantCase(){return this.transformKeys(t=>(0,s.snakeCase)(t).toUpperCase())}describe(t){let n=(t?this.resolve(t):this).clone(),i=super.describe(t);for(let[a,s]of(i.fields={},Object.entries(n.fields))){var o;let n=t;null!=(o=n)&&o.value&&(n=Object.assign({},n,{parent:n.value,value:n.value[a]})),i.fields[a]=s.describe(n)}return i}};function create$2(t){return new ArraySchema(t)}create$3.prototype=ObjectSchema.prototype;let ArraySchema=class ArraySchema extends Schema{constructor(t){super({type:"array",spec:{types:t},check:t=>Array.isArray(t)}),this.innerType=void 0,this.innerType=t}_cast(t,n){let i=super._cast(t,n);if(!this._typeCheck(i)||!this.innerType)return i;let o=!1,a=i.map((t,i)=>{let a=this.innerType.cast(t,Object.assign({},n,{path:`${n.path||""}[${i}]`}));return a!==t&&(o=!0),a});return o?a:i}_validate(t,n={},i,o){var a;let s=this.innerType,l=null!=(a=n.recursive)?a:this.spec.recursive;null!=n.originalValue&&n.originalValue,super._validate(t,n,i,(a,u)=>{var c,d;if(!l||!s||!this._typeCheck(u)){o(a,u);return}let h=Array(u.length);for(let i=0;i<u.length;i++)h[i]=s.asNestedTest({options:n,index:i,parent:u,parentPath:n.path,originalParent:null!=(d=n.originalValue)?d:t});this.runTests({value:u,tests:h,originalValue:null!=(c=n.originalValue)?c:t,options:n},i,t=>o(t.concat(a),u))})}clone(t){let n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(parseJson)}concat(t){let n=super.concat(t);return n.innerType=this.innerType,t.innerType&&(n.innerType=n.innerType?n.innerType.concat(t.innerType):t.innerType),n}of(t){let n=this.clone();if(!isSchema(t))throw TypeError("`array.of()` sub-schema must be a valid yup schema not: "+printValue(t));return n.innerType=t,n.spec=Object.assign({},n.spec,{types:t}),n}length(t,n=P.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,n){return n=n||P.min,this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,n){return n=n||P.max,this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,n)=>this._typeCheck(t)?t:null==n?[]:[].concat(n))}compact(t){let n=t?(n,i,o)=>!t(n,i,o):t=>!!t;return this.transform(t=>null!=t?t.filter(n):t)}describe(t){let n=(t?this.resolve(t):this).clone(),i=super.describe(t);if(n.innerType){var o;let a=t;
16null!=(o=a)&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[0]})),i.innerType=n.innerType.describe(a)}return i}};create$2.prototype=ArraySchema.prototype},5814:function(t,n,i){"use strict";function ownKeys(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,o)}return i}function _objectSpread(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(i),!0).forEach(function(n){var o,a;o=n,a=i[n],(o=function(t){var n=function(t,n){if("object"!=typeof t||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,n||"default");if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==typeof n?n:String(n)}(o))in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function isPortableTextSpan(t){return"span"===t._type&&"text"in t&&"string"==typeof t.text&&(void 0===t.marks||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function isPortableTextBlock(t){return"string"==typeof t._type&&"@"!==t._type[0]&&(!("markDefs"in t)||!t.markDefs||Array.isArray(t.markDefs)&&t.markDefs.every(t=>"string"==typeof t._key))&&"children"in t&&Array.isArray(t.children)&&t.children.every(t=>"object"==typeof t&&"_type"in t)}function isPortableTextListItemBlock(t){return isPortableTextBlock(t)&&"listItem"in t&&"string"==typeof t.listItem&&(void 0===t.level||"number"==typeof t.level)}function isPortableTextToolkitList(t){return"@list"===t._type}function isPortableTextToolkitSpan(t){return"@span"===t._type}function isPortableTextToolkitTextNode(t){return"@text"===t._type}i.d(n,{YI:function(){return PortableText}});let o=["strong","em","code","underline","strike-through"];function sortMarksByOccurences(t,n,i){if(!isPortableTextSpan(t)||!t.marks||!t.marks.length)return[];let a=t.marks.slice(),s={};return a.forEach(t=>{s[t]=1;for(let o=n+1;o<i.length;o++){let n=i[o];if(n&&isPortableTextSpan(n)&&Array.isArray(n.marks)&&-1!==n.marks.indexOf(t))s[t]++;else break}}),a.sort((t,n)=>(function(t,n,i){let a=t[n],s=t[i];if(a!==s)return s-a;let l=o.indexOf(n),u=o.indexOf(i);return l!==u?l-u:n.localeCompare(i)})(s,t,n))}function listFromBlock(t,n,i){return{_type:"@list",_key:"".concat(t._key||"".concat(n),"-parent"),mode:i,level:t.level||1,listItem:t.listItem,children:[t]}}function findListMatching(t,n){let i=n.level||1,o=n.listItem||"normal",a="string"==typeof n.listItem;if(isPortableTextToolkitList(t)&&(t.level||1)===i&&a&&(t.listItem||"normal")===o)return t;if(!("children"in t))return;let s=t.children[t.children.length-1];return s&&!isPortableTextSpan(s)?findListMatching(s,n):void 0}var a=i(85893),s=i(67294);let l=["block","list","listItem","marks","types"],u=["listItem"],c=["_key"];function dist_ownKeys(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,o)}return i}function dist_objectSpread(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?dist_ownKeys(Object(i),!0).forEach(function(n){var o,a;o=n,a=i[n],(o=function(t){var n=function(t,n){if("object"!=typeof t||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,n||"default");if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==typeof n?n:String(n)}(o))in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):dist_ownKeys(Object(i)).forEac
16h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function _objectWithoutProperties(t,n){if(null==t)return{};var i,o,a=function(t,n){if(null==t)return{};var i,o,a={},s=Object.keys(t);for(o=0;o<s.length;o++)i=s[o],n.indexOf(i)>=0||(a[i]=t[i]);return a}(t,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(o=0;o<s.length;o++)i=s[o],!(n.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(a[i]=t[i])}return a}function mergeDeeply(t,n,i){let o=n[i],a=t[i];return"function"==typeof o||o&&"function"==typeof a?o:o?dist_objectSpread(dist_objectSpread({},a),o):a}let d={textDecoration:"underline"},getTemplate=(t,n)=>"[@portabletext/react] Unknown ".concat(t,", specify a component for it in the `components.").concat(n,"` prop"),unknownTypeWarning=t=>getTemplate('block type "'.concat(t,'"'),"types"),unknownMarkWarning=t=>getTemplate('mark type "'.concat(t,'"'),"marks"),unknownBlockStyleWarning=t=>getTemplate('block style "'.concat(t,'"'),"block"),unknownListStyleWarning=t=>getTemplate('list style "'.concat(t,'"'),"list"),unknownListItemStyleWarning=t=>getTemplate('list item style "'.concat(t,'"'),"listItem");function printWarning(t){console.warn(t)}let h={display:"none"},m={types:{},block:{normal:t=>{let{children:n}=t;return(0,a.jsx)("p",{children:n})},blockquote:t=>{let{children:n}=t;return(0,a.jsx)("blockquote",{children:n})},h1:t=>{let{children:n}=t;return(0,a.jsx)("h1",{children:n})},h2:t=>{let{children:n}=t;return(0,a.jsx)("h2",{children:n})},h3:t=>{let{children:n}=t;return(0,a.jsx)("h3",{children:n})},h4:t=>{let{children:n}=t;return(0,a.jsx)("h4",{children:n})},h5:t=>{let{children:n}=t;return(0,a.jsx)("h5",{children:n})},h6:t=>{let{children:n}=t;return(0,a.jsx)("h6",{children:n})}},marks:{em:t=>{let{children:n}=t;return(0,a.jsx)("em",{children:n})},strong:t=>{let{children:n}=t;return(0,a.jsx)("strong",{children:n})},code:t=>{let{children:n}=t;return(0,a.jsx)("code",{children:n})},underline:t=>{let{children:n}=t;return(0,a.jsx)("span",{style:d,children:n})},"strike-through":t=>{let{children:n}=t;return(0,a.jsx)("del",{children:n})},link:t=>{let{children:n,value:i}=t;return(0,a.jsx)("a",{href:null==i?void 0:i.href,children:n})}},list:{number:t=>{let{children:n}=t;return(0,a.jsx)("ol",{children:n})},bullet:t=>{let{children:n}=t;return(0,a.jsx)("ul",{children:n})}},listItem:t=>{let{children:n}=t;return(0,a.jsx)("li",{children:n})},hardBreak:()=>(0,a.jsx)("br",{}),unknownType:t=>{let{value:n,isInline:i}=t,o=unknownTypeWarning(n._type);return i?(0,a.jsx)("span",{style:h,children:o}):(0,a.jsx)("div",{style:h,children:o})},unknownMark:t=>{let{markType:n,children:i}=t;return(0,a.jsx)("span",{className:"unknown__pt__mark__".concat(n),children:i})},unknownList:t=>{let{children:n}=t;return(0,a.jsx)("ul",{children:n})},unknownListItem:t=>{let{children:n}=t;return(0,a.jsx)("li",{children:n})},unknownBlockStyle:t=>{let{children:n}=t;return(0,a.jsx)("p",{children:n})}};function PortableText(t){let{value:n,components:i,listNestingMode:o,onMissingComponent:u=printWarning}=t,c=u||noop,d=Array.isArray(n)?n:[n],h=function(t,n){let i;let o=[];for(let s=0;s<t.length;s++){let l=t[s];if(l){var a;if(!isPortableTextListItemBlock(l)){o.push(l),i=void 0;continue}if(!i){i=listFromBlock(l,s,n),o.push(i);continue}if(a=i,(l.level||1)===a.level&&l.listItem===a.listItem){i.children.push(l);continue}if((l.level||1)>i.level){let t=listFromBlock(l,s,n);if("html"===n){let n=i.children[i.children.length-1],o=_objectSpread(_objectSpread({},n),{},{children:[...n.children,t]});i.children[i.children.length-1]=o}else i.children.push(t);i=t;continue}if((l.level||1)<i.level){let t=o[o.length-1],a=t&&findListMatching(t,l);if(a){(i=a).children.push(l);continue}i=listFromBlock(l,s,n),o.push(i);continue}if(l.listItem!==i.listItem){let t=o[o.length-1],a=t&&findListMatching(t,{level:l.level||1});if(a&&a.listItem===l.listItem){(i=a).children.push(l);continue}i=listFromBlock(l,s,n),o.push(i);continue}console.warn("Unknown state encountered for block",l),o.push(l)}}return o}(d,o||"html"),g=(0,s.useMemo)(()=>i?function(t,n){let{block:i,list:o,listItem:a,marks:s,types:u}=n,c=_objectWithoutProperties(n,l);return dist_objectSpread(dist_objectSpread({},t),{},{block:mergeDeeply(t,n,"block"),list:mergeDeeply(t,n,"list"),listItem:mergeDeeply(t,n,"listItem"),marks:mergeDeeply(t,n,"marks"),types:mergeDeeply(t,n,"types")},c)}(m,i):m,[i]),x=(0,s.useMemo)(()=>getNodeRenderer(g,c),[g,c]),w=h.map((t,n)=>x({node:t,index:n,isInline:!1,renderNode:x}));return(0,a.jsx)(a.Fragment,{children:w})}let getNodeRenderer=(t,n)=>function renderNode(i){let{node:o,index:s,isInline:l}=i,d=o._key||"node-".concat(s);return isPortableTextToolkitList(o)?function(i,o,s){let l=i.children.map((t,n)=>renderNode({node:t._key?t:dist_objectSpread(dist_objectSpread({},t),{},{_key:"li-".concat(o,"-").concat(n)}),index:n,isInline:!1,renderNode})),u=t.list,c="function"==typeof u?u:u[i.listItem],d=c||t.unknownList;if(d===t.unknownList){let t=i.listItem||"bullet";n(unknownListStyleWarning(t),{nodeType:"listStyle",type:t})}return(0,a.jsx)(d,{value:i,index:o,isInline:!1,renderNode,children:l},s)}(o,s,d):isPortableTextListItemBlock(o)?function(i,o,s){let l=serializeBlock({node:i,index:o,isInline:!1,renderNode}),c=t.listItem,d="function"==typeof c?c:c[i.listItem],h=d||t.unknownListItem;if(h===t.unknownListItem){let t=i.listItem||"bullet";n(unknownListItemStyleWarning(t),{type:t,nodeType:"listItemStyle"})}let m=l.children;if(i.style&&"normal"!==i.style){let{listItem:t}=i,n=_objectWithoutProperties(i,u);m=renderNode({node:n,index:o,isInline:!1,renderNode})}return(0,a.jsx)(h,{value:i,index:o,isInline:!1,renderNode,children:m},s)}(o,s,d):isPortableTextToolkitSpan(o)?function(i,o,s){let{markDef:l,markType:u,markKey:c}=i,d=t.marks[u]||t.unknownMark,h=i.children.map((t,n)=>renderNode({node:t,index:n,isInline:!0,renderNode}));return d===t.unknownMark&&n(unknownMarkWarning(u),{nodeType:"mark",type:u}),(0,a.jsx)(d,{text:function spanToPlainText(t){let n="";
16return t.children.forEach(t=>{isPortableTextToolkitTextNode(t)?n+=t.text:isPortableTextToolkitSpan(t)&&(n+=spanToPlainText(t))}),n}(i),value:l,markType:u,markKey:c,renderNode,children:h},s)}(o,0,d):o._type in t.types?function(n,i,o,s){let l=t.types[n._type];return l?(0,a.jsx)(l,dist_objectSpread({},{value:n,isInline:s,index:i,renderNode}),o):null}(o,s,d,l):isPortableTextBlock(o)?function(i,o,s,l){let u=serializeBlock({node:i,index:o,isInline:l,renderNode}),{_key:d}=u,h=_objectWithoutProperties(u,c),m=h.node.style||"normal",g="function"==typeof t.block?t.block:t.block[m],x=g||t.unknownBlockStyle;return x===t.unknownBlockStyle&&n(unknownBlockStyleWarning(m),{nodeType:"blockStyle",type:m}),(0,a.jsx)(x,dist_objectSpread(dist_objectSpread({},h),{},{value:h.node,renderNode}),s)}(o,s,d,l):isPortableTextToolkitTextNode(o)?function(n,i){if("\n"===n.text){let n=t.hardBreak;return n?(0,a.jsx)(n,{},i):"\n"}return n.text}(o,d):function(i,o,s,l){n(unknownTypeWarning(i._type),{nodeType:"block",type:i._type});let u=t.unknownType;return(0,a.jsx)(u,dist_objectSpread({},{value:i,isInline:l,index:o,renderNode}),s)}(o,s,d,l)};function serializeBlock(t){let{node:n,index:i,isInline:o,renderNode:a}=t,s=function(t){var n;let{children:i,markDefs:o=[]}=t;if(!i||!i.length)return[];let a=i.map(sortMarksByOccurences),s={_type:"@span",children:[],markType:"<unknown>"},l=[s];for(let t=0;t<i.length;t++){let s=i[t];if(!s)continue;let u=a[t]||[],c=1;if(l.length>1)for(;c<l.length;c++){let t=(null==(n=l[c])?void 0:n.markKey)||"",i=u.indexOf(t);if(-1===i)break;u.splice(i,1)}let d=(l=l.slice(0,c))[l.length-1];if(d){for(let t of u){let n=o.find(n=>n._key===t),i=n?n._type:t,a={_type:"@span",_key:s._key,children:[],markDef:n,markType:i,markKey:t};d.children.push(a),l.push(a),d=a}if(isPortableTextSpan(s)){let t=s.text.split("\n");for(let n=t.length;n-- >1;)t.splice(n,0,"\n");d.children=d.children.concat(t.map(t=>({_type:"@text",text:t})))}else d.children=d.children.concat(s)}}return s.children}(n),l=s.map((t,n)=>a({node:t,isInline:!0,index:n,renderNode:a}));return{_key:n._key||"block-".concat(i),children:l,index:i,isInline:o,node:n}}function noop(){}},6154:function(t,n,i){"use strict";let o;function bind(t,n){return function(){return t.apply(n,arguments)}}i.d(n,{Z:function(){return eg}});let{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,l=(M=Object.create(null),t=>{let n=a.call(t);return M[n]||(M[n]=n.slice(8,-1).toLowerCase())}),kindOfTest=t=>(t=t.toLowerCase(),n=>l(n)===t),typeOfTest=t=>n=>typeof n===t,{isArray:u}=Array,c=typeOfTest("undefined"),d=kindOfTest("ArrayBuffer"),h=typeOfTest("string"),m=typeOfTest("function"),g=typeOfTest("number"),isObject=t=>null!==t&&"object"==typeof t,isPlainObject=t=>{if("object"!==l(t))return!1;let n=s(t);return(null===n||n===Object.prototype||null===Object.getPrototypeOf(n))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},x=kindOfTest("Date"),w=kindOfTest("File"),E=kindOfTest("Blob"),_=kindOfTest("FileList"),T=kindOfTest("URLSearchParams");function forEach(t,n,{allOwnKeys:i=!1}={}){let o,a;if(null!=t){if("object"!=typeof t&&(t=[t]),u(t))for(o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else{let a;let s=i?Object.getOwnPropertyNames(t):Object.keys(t),l=s.length;for(o=0;o<l;o++)a=s[o],n.call(null,t[a],a,t)}}}function findKey(t,n){let i;n=n.toLowerCase();let o=Object.keys(t),a=o.length;for(;a-- >0;)if(n===(i=o[a]).toLowerCase())return i;return null}let C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=t=>!c(t)&&t!==C,P=(F="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>F&&t instanceof F),j=kindOfTest("HTMLFormElement"),O=(({hasOwnProperty:t})=>(n,i)=>t.call(n,i))(Object.prototype),k=kindOfTest("RegExp"),reduceDescriptors=(t,n)=>{let i=Object.getOwnPropertyDescriptors(t),o={};forEach(i,(i,a)=>{let s;!1!==(s=n(i,a,t))&&(o[a]=s||i)}),Object.defineProperties(t,o)},R="abcdefghijklmnopqrstuvwxyz",B="0123456789",I={DIGIT:B,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+B},D=kindOfTest("AsyncFunction");var M,F,L={isArray:u,isArrayBuffer:d,isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&m(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let n;return t&&("function"==typeof FormData&&t instanceof FormData||m(t.append)&&("formdata"===(n=l(t))||"object"===n&&m(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer)},isString:h,isNumber:g,isBoolean:t=>!0===t||!1===t,isObject,isPlainObject,isUndefined:c,isDate:x,isFile:w,isBlob:E,isRegExp:k,isFunction:m,isStream:t=>isObject(t)&&m(t.pipe),isURLSearchParams:T,isTypedArray:P,isFileList:_,forEach,merge:function merge(){let{caseless:t}=isContextDefined(this)&&this||{},n={},assignValue=(i,o)=>{let a=t&&findKey(n,o)||o;isPlainObject(n[a])&&isPlainObject(i)?n[a]=merge(n[a],i):isPlainObject(i)?n[a]=merge({},i):u(i)?n[a]=i.slice():n[a]=i};for(let t=0,n=arguments.length;t<n;t++)arguments[t]&&forEach(arguments[t],assignValue);return n},extend:(t,n,i,{allOwnKeys:o}={})=>(forEach(n,(n,o)=>{i&&m(n)?t[o]=bind(n,i):t[o]=n},{allOwnKeys:o}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,n,i,o)=>{t.prototype=Object.create(n.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}
16),i&&Object.assign(t.prototype,i)},toFlatObject:(t,n,i,o)=>{let a,l,u;let c={};if(n=n||{},null==t)return n;do{for(l=(a=Object.getOwnPropertyNames(t)).length;l-- >0;)u=a[l],(!o||o(u,t,n))&&!c[u]&&(n[u]=t[u],c[u]=!0);t=!1!==i&&s(t)}while(t&&(!i||i(t,n))&&t!==Object.prototype);return n},kindOf:l,kindOfTest,endsWith:(t,n,i)=>{t=String(t),(void 0===i||i>t.length)&&(i=t.length),i-=n.length;let o=t.indexOf(n,i);return -1!==o&&o===i},toArray:t=>{if(!t)return null;if(u(t))return t;let n=t.length;if(!g(n))return null;let i=Array(n);for(;n-- >0;)i[n]=t[n];return i},forEachEntry:(t,n)=>{let i;let o=t&&t[Symbol.iterator],a=o.call(t);for(;(i=a.next())&&!i.done;){let o=i.value;n.call(t,o[0],o[1])}},matchAll:(t,n)=>{let i;let o=[];for(;null!==(i=t.exec(n));)o.push(i);return o},isHTMLForm:j,hasOwnProperty:O,hasOwnProp:O,reduceDescriptors,freezeMethods:t=>{reduceDescriptors(t,(n,i)=>{if(m(t)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;let o=t[i];if(m(o)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},toObjectSet:(t,n)=>{let i={};return(t=>{t.forEach(t=>{i[t]=!0})})(u(t)?t:String(t).split(n)),i},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,i){return n.toUpperCase()+i}),noop:()=>{},toFiniteNumber:(t,n)=>Number.isFinite(t=+t)?t:n,findKey,global:C,isContextDefined,ALPHABET:I,generateString:(t=16,n=I.ALPHA_DIGIT)=>{let i="",{length:o}=n;for(;t--;)i+=n[Math.random()*o|0];return i},isSpecCompliantForm:function(t){return!!(t&&m(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let n=Array(10),visit=(t,i)=>{if(isObject(t)){if(n.indexOf(t)>=0)return;if(!("toJSON"in t)){n[i]=t;let o=u(t)?[]:{};return forEach(t,(t,n)=>{let a=visit(t,i+1);c(a)||(o[n]=a)}),n[i]=void 0,o}}return t};return visit(t,0)},isAsyncFn:D,isThenable:t=>t&&(isObject(t)||m(t))&&m(t.then)&&m(t.catch)};function AxiosError(t,n,i,o,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),i&&(this.config=i),o&&(this.request=o),a&&(this.response=a)}L.inherits(AxiosError,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:L.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let V=AxiosError.prototype,N={};["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(t=>{N[t]={value:t}}),Object.defineProperties(AxiosError,N),Object.defineProperty(V,"isAxiosError",{value:!0}),AxiosError.from=(t,n,i,o,a,s)=>{let l=Object.create(V);return L.toFlatObject(t,l,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),AxiosError.call(l,t.message,n,i,o,a),l.cause=t,l.name=t.name,s&&Object.assign(l,s),l};var U=i(48764).lW;function isVisitable(t){return L.isPlainObject(t)||L.isArray(t)}function removeBrackets(t){return L.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,n,i){return t?t.concat(n).map(function(t,n){return t=removeBrackets(t),!i&&n?"["+t+"]":t}).join(i?".":""):n}let Z=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});var helpers_toFormData=function(t,n,i){if(!L.isObject(t))throw TypeError("target must be an object");n=n||new FormData,i=L.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,n){return!L.isUndefined(n[t])});let o=i.metaTokens,a=i.visitor||defaultVisitor,s=i.dots,l=i.indexes,u=i.Blob||"undefined"!=typeof Blob&&Blob,c=u&&L.isSpecCompliantForm(n);if(!L.isFunction(a))throw TypeError("visitor must be a function");function convertValue(t){if(null===t)return"";if(L.isDate(t))return t.toISOString();if(!c&&L.isBlob(t))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(t)||L.isTypedArray(t)?c&&"function"==typeof Blob?new Blob([t]):U.from(t):t}function defaultVisitor(t,i,a){let u=t;if(t&&!a&&"object"==typeof t){if(L.endsWith(i,"{}"))i=o?i:i.slice(0,-2),t=JSON.stringify(t);else{var c;if(L.isArray(t)&&(c=t,L.isArray(c)&&!c.some(isVisitable))||(L.isFileList(t)||L.endsWith(i,"[]"))&&(u=L.toArray(t)))return i=removeBrackets(i),u.forEach(function(t,o){L.isUndefined(t)||null===t||n.append(!0===l?renderKey([i],o,s):null===l?i:i+"[]",convertValue(t))}),!1}}
16return!!isVisitable(t)||(n.append(renderKey(a,i,s),convertValue(t)),!1)}let d=[],h=Object.assign(Z,{defaultVisitor,convertValue,isVisitable});if(!L.isObject(t))throw TypeError("data must be an object");return!function build(t,i){if(!L.isUndefined(t)){if(-1!==d.indexOf(t))throw Error("Circular reference detected in "+i.join("."));d.push(t),L.forEach(t,function(t,o){let s=!(L.isUndefined(t)||null===t)&&a.call(n,t,L.isString(o)?o.trim():o,i,h);!0===s&&build(t,i?i.concat(o):[o])}),d.pop()}}(t),n};function encode(t){let n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return n[t]})}function AxiosURLSearchParams(t,n){this._pairs=[],t&&helpers_toFormData(t,this,n)}let W=AxiosURLSearchParams.prototype;function buildURL_encode(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(t,n,i){let o;if(!n)return t;let a=i&&i.encode||buildURL_encode,s=i&&i.serialize;if(o=s?s(n,i):L.isURLSearchParams(n)?n.toString():new AxiosURLSearchParams(n,i).toString(a)){let n=t.indexOf("#");-1!==n&&(t=t.slice(0,n)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}W.append=function(t,n){this._pairs.push([t,n])},W.toString=function(t){let n=t?function(n){return t.call(this,n,encode)}:encode;return this._pairs.map(function(t){return n(t[0])+"="+n(t[1])},"").join("&")};var H=class{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(n){null!==n&&t(n)})}},K={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},G="undefined"!=typeof URLSearchParams?URLSearchParams:AxiosURLSearchParams,Y="undefined"!=typeof FormData?FormData:null,X="undefined"!=typeof Blob?Blob:null;let J=("undefined"==typeof navigator||"ReactNative"!==(o=navigator.product)&&"NativeScript"!==o&&"NS"!==o)&&"undefined"!=typeof window&&"undefined"!=typeof document,Q="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ee={classes:{URLSearchParams:G,FormData:Y,Blob:X},isStandardBrowserEnv:J,isStandardBrowserWebWorkerEnv:Q,protocols:["http","https","file","blob","url","data"]},helpers_formDataToJSON=function(t){if(L.isFormData(t)&&L.isFunction(t.entries)){let n={};return L.forEachEntry(t,(t,i)=>{!function buildPath(t,n,i,o){let a=t[o++],s=Number.isFinite(+a),l=o>=t.length;if(a=!a&&L.isArray(i)?i.length:a,l)return L.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n,!s;i[a]&&L.isObject(i[a])||(i[a]=[]);let u=buildPath(t,n,i[a],o);return u&&L.isArray(i[a])&&(i[a]=function(t){let n,i;let o={},a=Object.keys(t),s=a.length;for(n=0;n<s;n++)o[i=a[n]]=t[i];return o}(i[a])),!s}(L.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),i,n,0)}),n}return null};let et={transitional:K,adapter:["xhr","http"],transformRequest:[function(t,n){let i;let o=n.getContentType()||"",a=o.indexOf("application/json")>-1,s=L.isObject(t);s&&L.isHTMLForm(t)&&(t=new FormData(t));let l=L.isFormData(t);if(l)return a&&a?JSON.stringify(helpers_formDataToJSON(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1){var u,c;return(u=t,c=this.formSerializer,helpers_toFormData(u,new ee.classes.URLSearchParams,Object.assign({visitor:function(t,n,i,o){return ee.isNode&&L.isBuffer(t)?(this.append(n,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},c))).toString()}if((i=L.isFileList(t))||o.indexOf("multipart/form-data")>-1){let n=this.env&&this.env.FormData;return helpers_toFormData(i?{"files[]":t}:t,n&&new n,this.formSerializer)}}return s||a?(n.setContentType("application/json",!1),function(t,n,i){if(L.isString(t))try{return(0,JSON.parse)(t),L.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let n=this.transitional||et.transitional,i=n&&n.forcedJSONParsing,o="json"===this.responseType;if(t&&L.isString(t)&&(i&&!this.responseType||o)){let i=n&&n.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!i&&o){if("SyntaxError"===t.name)throw AxiosError.from(t,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ee.classes.FormData,Blob:ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};
16L.forEach(["delete","get","head","post","put","patch"],t=>{et.headers[t]={}});let er=L.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"]);var parseHeaders=t=>{let n,i,o;let a={};return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),i=t.substring(o+1).trim(),!n||a[n]&&er[n]||("set-cookie"===n?a[n]?a[n].push(i):a[n]=[i]:a[n]=a[n]?a[n]+", "+i:i)}),a};let en=Symbol("internals");function normalizeHeader(t){return t&&String(t).trim().toLowerCase()}function normalizeValue(t){return!1===t||null==t?t:L.isArray(t)?t.map(normalizeValue):String(t)}let isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,n,i,o,a){if(L.isFunction(o))return o.call(this,n,i);if(a&&(n=i),L.isString(n)){if(L.isString(o))return -1!==n.indexOf(o);if(L.isRegExp(o))return o.test(n)}}let AxiosHeaders=class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,n,i){let o=this;function setHeader(t,n,i){let a=normalizeHeader(n);if(!a)throw Error("header name must be a non-empty string");let s=L.findKey(o,a);s&&void 0!==o[s]&&!0!==i&&(void 0!==i||!1===o[s])||(o[s||n]=normalizeValue(t))}let setHeaders=(t,n)=>L.forEach(t,(t,i)=>setHeader(t,i,n));return L.isPlainObject(t)||t instanceof this.constructor?setHeaders(t,n):L.isString(t)&&(t=t.trim())&&!isValidHeaderName(t)?setHeaders(parseHeaders(t),n):null!=t&&setHeader(n,t,i),this}get(t,n){if(t=normalizeHeader(t)){let i=L.findKey(this,t);if(i){let t=this[i];if(!n)return t;if(!0===n)return function(t){let n;let i=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
16for(;n=o.exec(t);)i[n[1]]=n[2];return i}(t);if(L.isFunction(n))return n.call(this,t,i);if(L.isRegExp(n))return n.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=normalizeHeader(t)){let i=L.findKey(this,t);return!!(i&&void 0!==this[i]&&(!n||matchHeaderValue(this,this[i],i,n)))}return!1}delete(t,n){let i=this,o=!1;function deleteHeader(t){if(t=normalizeHeader(t)){let a=L.findKey(i,t);a&&(!n||matchHeaderValue(i,i[a],a,n))&&(delete i[a],o=!0)}}return L.isArray(t)?t.forEach(deleteHeader):deleteHeader(t),o}clear(t){let n=Object.keys(this),i=n.length,o=!1;for(;i--;){let a=n[i];(!t||matchHeaderValue(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){let n=this,i={};return L.forEach(this,(o,a)=>{let s=L.findKey(i,a);if(s){n[s]=normalizeValue(o),delete n[a];return}let l=t?a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i):String(a).trim();l!==a&&delete n[a],n[l]=normalizeValue(o),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let n=Object.create(null);return L.forEach(this,(i,o)=>{null!=i&&!1!==i&&(n[o]=t&&L.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let i=new this(t);return n.forEach(t=>i.set(t)),i}static accessor(t){let n=this[en]=this[en]={accessors:{}},i=n.accessors,o=this.prototype;function defineAccessor(t){let n=normalizeHeader(t);i[n]||(!function(t,n){let i=L.toCamelCase(" "+n);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+i,{value:function(t,i,a){return this[o].call(this,n,t,i,a)},configurable:!0})})}(o,t),i[n]=!0)}return L.isArray(t)?t.forEach(defineAccessor):defineAccessor(t),this}};function transformData(t,n){let i=this||et,o=n||i,a=AxiosHeaders.from(o.headers),s=o.data;return L.forEach(t,function(t){s=t.call(i,s,a.normalize(),n?n.status:void 0)}),a.normalize(),s}function isCancel(t){return!!(t&&t.__CANCEL__)}function CanceledError(t,n,i){AxiosError.call(this,null==t?"canceled":t,AxiosError.ERR_CANCELED,n,i),this.name="CanceledError"}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),L.reduceDescriptors(AxiosHeaders.prototype,({value:t},n)=>{let i=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(t){this[i]=t}}}),L.freezeMethods(AxiosHeaders),L.inherits(CanceledError,AxiosError,{__CANCEL__:!0});var ei=ee.isStandardBrowserEnv?{write:function(t,n,i,o,a,s){let l=[];l.push(t+"="+encodeURIComponent(n)),L.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),L.isString(o)&&l.push("path="+o),L.isString(a)&&l.push("domain="+a),!0===s&&l.push("secure"),document.cookie=l.join("; ")},read:function(t){let n=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function buildFullPath(t,n){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)?n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t:n}var eo=ee.isStandardBrowserEnv?function(){let t;let n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function resolveURL(t){let o=t;return n&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=resolveURL(window.location.href),function(n){let i=L.isString(n)?resolveURL(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0},helpers_speedometer=function(t,n){let i;t=t||10;let o=Array(t),a=Array(t),s=0,l=0;return n=void 0!==n?n:1e3,function(u){let c=Date.now(),d=a[l];i||(i=c),o[s]=u,a[s]=c;let h=l,m=0;for(;h!==s;)m+=o[h++],h%=t;if((s=(s+1)%t)===l&&(l=(l+1)%t),c-i<n)return;let g=d&&c-d;return g?Math.round(1e3*m/g):void 0}};function progressEventReducer(t,n){let i=0,o=helpers_speedometer(50,250);return a=>{let s=a.loaded,l=a.lengthComputable?a.total:void 0,u=s-i,c=o(u),d=s<=l;i=s;let h={loaded:s,total:l,progress:l?s/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-s)/c:void 0,event:a};h[n?"download":"upload"]=!0,t(h)}}let ea="undefined"!=typeof XMLHttpRequest;var es=ea&&function(t){return new Promise(function(n,i){let o,a,s=t.data,l=AxiosHeaders.from(t.headers).normalize(),u=t.responseType;function done(){t.cancelToken&&t.cancelToken.unsubscribe(o),t.signal&&t.signal.removeEventListener("abort",o)}L.isFormData(s)&&(ee.isStandardBrowserEnv||ee.isStandardBrowserWebWorkerEnv?l.setContentType(!1):l.getContentType(/^\s*multipart\/form-data/)?L.isString(a=l.getContentType())&&l.setContentType(a.replace(/^\s*(multipart\/form-data);+/,"$1")):l.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(t.auth){let n=t.auth.username||"",i=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.set("Authorization","Basic "+btoa(n+":"+i))}let d=buildFullPath(t.baseURL,t.url);function onloadend(){if(!c)return;let o=AxiosHeaders.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),a=u&&"text"!==u&&"json"!==u?c.response:c.responseText,s={data:a,status:c.status,statusText:c.statusText,headers:o,config:t,request:c};!function(t,n,i){let o=i.config.validateStatus;!i.status||!o||o(i.status)?t(i):n(new AxiosError("Request failed with status code "+i.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.c
16onfig,i.request,i))}(function(t){n(t),done()},function(t){i(t),done()},s),c=null}if(c.open(t.method.toUpperCase(),buildURL(d,t.params,t.paramsSerializer),!0),c.timeout=t.timeout,"onloadend"in c?c.onloadend=onloadend:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(onloadend)},c.onabort=function(){c&&(i(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,c)),c=null)},c.onerror=function(){i(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let n=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",o=t.transitional||K;t.timeoutErrorMessage&&(n=t.timeoutErrorMessage),i(new AxiosError(n,o.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,t,c)),c=null},ee.isStandardBrowserEnv){let n=(t.withCredentials||eo(d))&&t.xsrfCookieName&&ei.read(t.xsrfCookieName);n&&l.set(t.xsrfHeaderName,n)}void 0===s&&l.setContentType(null),"setRequestHeader"in c&&L.forEach(l.toJSON(),function(t,n){c.setRequestHeader(n,t)}
16),L.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),u&&"json"!==u&&(c.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&c.addEventListener("progress",progressEventReducer(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",progressEventReducer(t.onUploadProgress)),(t.cancelToken||t.signal)&&(o=n=>{c&&(i(!n||n.type?new CanceledError(null,t,c):n),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(o),t.signal&&(t.signal.aborted?o():t.signal.addEventListener("abort",o)));let h=function(t){let n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}(d);if(h&&-1===ee.protocols.indexOf(h)){i(new AxiosError("Unsupported protocol "+h+":",AxiosError.ERR_BAD_REQUEST,t));return}c.send(s||null)})};let el={http:null,xhr:es};L.forEach(el,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch(t){}Object.defineProperty(t,"adapterName",{value:n})}});let renderReason=t=>`- ${t}`,isResolvedHandle=t=>L.isFunction(t)||null===t||!1===t;var eu={getAdapter:t=>{let n,i;t=L.isArray(t)?t:[t];let{length:o}=t,a={};for(let s=0;s<o;s++){let o;if(i=n=t[s],!isResolvedHandle(n)&&void 0===(i=el[(o=String(n)).toLowerCase()]))throw new AxiosError(`Unknown adapter '${o}'`);if(i)break;a[o||"#"+s]=i}if(!i){let t=Object.entries(a).map(([t,n])=>`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")),n=o?t.length>1?"since :\n"+t.map(renderReason).join("\n"):" "+renderReason(t[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i},adapters:el};function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new CanceledError(null,t)}function dispatchRequest(t){throwIfCancellationRequested(t),t.headers=AxiosHeaders.from(t.headers),t.data=transformData.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);let n=eu.getAdapter(t.adapter||et.adapter);return n(t).then(function(n){return throwIfCancellationRequested(t),n.data=transformData.call(t,t.transformResponse,n),n.headers=AxiosHeaders.from(n.headers),n},function(n){return!isCancel(n)&&(throwIfCancellationRequested(t),n&&n.response&&(n.response.data=transformData.call(t,t.transformResponse,n.response),n.response.headers=AxiosHeaders.from(n.response.headers))),Promise.reject(n)})}let headersToObject=t=>t instanceof AxiosHeaders?t.toJSON():t;function mergeConfig(t,n){n=n||{};let i={};function getMergedValue(t,n,i){return L.isPlainObject(t)&&L.isPlainObject(n)?L.merge.call({caseless:i},t,n):L.isPlainObject(n)?L.merge({},n):L.isArray(n)?n.slice():n}function mergeDeepProperties(t,n,i){return L.isUndefined(n)?L.isUndefined(t)?void 0:getMergedValue(void 0,t,i):getMergedValue(t,n,i)}function valueFromConfig2(t,n){if(!L.isUndefined(n))return getMergedValue(void 0,n)}function defaultToConfig2(t,n){return L.isUndefined(n)?L.isUndefined(t)?void 0:getMergedValue(void 0,t):getMergedValue(void 0,n)}function mergeDirectKeys(i,o,a){return a in n?getMergedValue(i,o):a in t?getMergedValue(void 0,i):void 0}let o={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(t,n)=>mergeDeepProperties(headersToObject(t),headersToObject(n),!0)};
16return L.forEach(Object.keys(Object.assign({},t,n)),function(a){let s=o[a]||mergeDeepProperties,l=s(t[a],n[a],a);L.isUndefined(l)&&s!==mergeDirectKeys||(i[a]=l)}),i}let ec="1.5.1",ef={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{ef[t]=function(i){return typeof i===t||"a"+(n<1?"n ":" ")+t}});let ed={};ef.transitional=function(t,n,i){function formatMessage(t,n){return"[Axios v"+ec+"] Transitional option '"+t+"'"+n+(i?". "+i:"")}return(i,o,a)=>{if(!1===t)throw new AxiosError(formatMessage(o," has been removed"+(n?" in "+n:"")),AxiosError.ERR_DEPRECATED);return n&&!ed[o]&&(ed[o]=!0,console.warn(formatMessage(o," has been deprecated since v"+n+" and will be removed in the near future"))),!t||t(i,o,a)}};var eh={assertOptions:function(t,n,i){if("object"!=typeof t)throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);let o=Object.keys(t),a=o.length;for(;a-- >0;){let s=o[a],l=n[s];if(l){let n=t[s],i=void 0===n||l(n,s,t);if(!0!==i)throw new AxiosError("option "+s+" must be "+i,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(!0!==i)throw new AxiosError("Unknown option "+s,AxiosError.ERR_BAD_OPTION)}},validators:ef};let ep=eh.validators;let Axios=class Axios{constructor(t){this.defaults=t,this.interceptors={request:new H,response:new H}}request(t,n){let i,o;"string"==typeof t?(n=n||{}).url=t:n=t||{},n=mergeConfig(this.defaults,n);let{transitional:a,paramsSerializer:s,headers:l}=n;void 0!==a&&eh.assertOptions(a,{silentJSONParsing:ep.transitional(ep.boolean),forcedJSONParsing:ep.transitional(ep.boolean),clarifyTimeoutError:ep.transitional(ep.boolean)},!1),null!=s&&(L.isFunction(s)?n.paramsSerializer={serialize:s}:eh.assertOptions(s,{encode:ep.function,serialize:ep.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=l&&L.merge(l.common,l[n.method]);l&&L.forEach(["delete","get","head","post","put","patch","common"],t=>{delete l[t]}),n.headers=AxiosHeaders.concat(u,l);let c=[],d=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(n))&&(d=d&&t.synchronous,c.unshift(t.fulfilled,t.rejected))});let h=[];this.interceptors.response.forEach(function(t){h.push(t.fulfilled,t.rejected)});let m=0;if(!d){let t=[dispatchRequest.bind(this),void 0];for(t.unshift.apply(t,c),t.push.apply(t,h),o=t.length,i=Promise.resolve(n);m<o;)i=i.then(t[m++],t[m++]);return i}o=c.length;let g=n;for(m=0;m<o;){let t=c[m++],n=c[m++];try{g=t(g)}catch(t){n.call(this,t);break}}try{i=dispatchRequest.call(this,g)}catch(t){return Promise.reject(t)}for(m=0,o=h.length;m<o;)i=i.then(h[m++],h[m++]);return i}getUri(t){t=mergeConfig(this.defaults,t);let n=buildFullPath(t.baseURL,t.url);return buildURL(n,t.params,t.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(t){Axios.prototype[t]=function(n,i){return this.request(mergeConfig(i||{},{method:t,url:n,data:(i||{}).data}))}}),L.forEach(["post","put","patch"],function(t){function generateHTTPMethod(n){return function(i,o,a){return this.request(mergeConfig(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Axios.prototype[t]=generateHTTPMethod(),Axios.prototype[t+"Form"]=generateHTTPMethod(!0)});let CancelToken=class CancelToken{constructor(t){let n;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){n=t});let i=this;this.promise.then(t=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](t);i._listeners=null}),this.promise.then=t=>{let n;let o=new Promise(t=>{i.subscribe(t),n=t}).then(t);return o.cancel=function(){i.unsubscribe(n)},o},t(function(t,o,a){i.reason||(i.reason=new CanceledError(t,o,a),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let n=this._listeners.indexOf(t);-1!==n&&this._listeners.splice(n,1)}static source(){let t;let n=new CancelToken(function(n){t=n});return{token:n,cancel:t}}};let em={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
16setContent: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(em).forEach(([t,n])=>{em[n]=t});let ey=function createInstance(t){let n=new Axios(t),i=bind(Axios.prototype.request,n);return L.extend(i,Axios.prototype,n,{allOwnKeys:!0}),L.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return createInstance(mergeConfig(t,n))},i}(et);ey.Axios=Axios,ey.CanceledError=CanceledError,ey.CancelToken=CancelToken,ey.isCancel=isCancel,ey.VERSION=ec,ey.toFormData=helpers_toFormData,ey.AxiosError=AxiosError,ey.Cancel=ey.CanceledError,ey.all=function(t){return Promise.all(t)},ey.spread=function(t){return function(n){return t.apply(null,n)}},ey.isAxiosError=function(t){return L.isObject(t)&&!0===t.isAxiosError},ey.mergeConfig=mergeConfig,ey.AxiosHeaders=AxiosHeaders,ey.formToJSON=t=>helpers_formDataToJSON(L.isHTMLForm(t)?new FormData(t):t),ey.getAdapter=eu.getAdapter,ey.HttpStatusCode=em,ey.default=ey;var eg=ey},90512:function(t,n,i){"use strict";n.Z=function(){for(var t,n,i=0,o="";i<arguments.length;)(t=arguments[i++])&&(n=function r(t){var n,i,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(i=r(t[n]))&&(o&&(o+=" "),o+=i);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(t))&&(o&&(o+=" "),o+=n);return o}},27159:function(t,n,i){"use strict";i.d(n,{y:function(){return animateValue}});var o=i(81662);let calcBezier=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t;function cubicBezier(t,n,i,a){if(t===n&&i===a)return o.Z;let getTForX=n=>(function(t,n,i,o,a){let s,l;let u=0;do(s=calcBezier(l=n+(i-n)/2,o,a)-t)>0?i=l:n=l;while(Math.abs(s)>1e-7&&++u<12);return l})(n,0,1,t,i);return t=>0===t||1===t?t:calcBezier(getTForX(t),n,a)}let a=cubicBezier(.42,0,1,1),s=cubicBezier(0,0,.58,1),l=cubicBezier(.42,0,.58,1);var u=i(43338),c=i(45487),d=i(27255),h=i(90415),m=i(75129);let g=cubicBezier(.33,1.53,.69,.99),x=(0,m.M)(g),w=(0,h.o)(x),E={linear:o.Z,easeIn:a,easeInOut:l,easeOut:s,circIn:d.Z7,circInOut:d.X7,circOut:d.Bn,backIn:x,backInOut:w,backOut:g,anticipate:t=>(t*=2)<1?.5*x(t):.5*(2-Math.pow(2,-10*(t-1)))},easingDefinitionToFunction=t=>{if(Array.isArray(t)){(0,c.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[n,i,o,a]=t;return cubicBezier(n,i,o,a)}return"string"==typeof t?((0,c.k)(void 0!==E[t],`Invalid easing type '${t}'`),E[t]):t};var _=i(64606),T=i(60599);function keyframes({duration:t=300,keyframes:n,times:i,ease:o="easeInOut"}){let a=(0,u.N)(o)?o.map(easingDefinitionToFunction):easingDefinitionToFunction(o),s={done:!1,value:n[0]},c=(i&&i.length===n.length?i:(0,T.Y)(n)).map(n=>n*t),d=(0,_.s)(c,n,{ease:Array.isArray(a)?a:n.map(()=>a||l).splice(0,n.length-1)});return{calculatedDuration:t,next:n=>(s.value=d(n),s.done=n>=t,s)}}var C=i(85086),P=i(25753);function inertia({keyframes:t,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:s=500,modifyTarget:l,min:u,max:c,restDelta:d=.5,restSpeed:h}){let m,g;let x=t[0],w={done:!1,value:x},isOutOfBounds=t=>void 0!==u&&t<u||void 0!==c&&t>c,nearestBoundary=t=>void 0===u?c:void 0===c?u:Math.abs(u-t)<Math.abs(c-t)?u:c,E=i*n,_=x+E,T=void 0===l?_:l(_);T!==_&&(E=T-x);let calcDelta=t=>-E*Math.exp(-t/o),calcLatest=t=>T+calcDelta(t),applyFriction=t=>{let n=calcDelta(t),i=calcLatest(t);w.done=Math.abs(n)<=d,w.value=w.done?T:i},checkCatchBoundary=t=>{isOutOfBounds(w.value)&&(m=t,g=(0,C.S)({keyframes:[w.value,nearestBoundary(w.value)],velocity:(0,P.P)(calcLatest,t,w.value),damping:a,stiffness:s,restDelta:d,restSpeed:h}
16))};return checkCatchBoundary(0),{calculatedDuration:null,next:t=>{let n=!1;return(g||void 0!==m||(n=!0,applyFriction(t),checkCatchBoundary(t)),void 0!==m&&t>m)?g.next(t-m):(n||applyFriction(t),w)}}}var j=i(2074);let frameloopDriver=t=>{let passTimestamp=({timestamp:n})=>t(n);return{start:()=>j.Wi.update(passTimestamp,!0),stop:()=>(0,j.Pn)(passTimestamp),now:()=>j.frameData.isProcessing?j.frameData.timestamp:performance.now()}};var O=i(24169),k=i(86917),R=i(42284);let B={decay:inertia,inertia:inertia,tween:keyframes,keyframes:keyframes,spring:C.S};function animateValue({autoplay:t=!0,delay:n=0,driver:i=frameloopDriver,keyframes:o,type:a="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:u="loop",onPlay:c,onStop:d,onComplete:h,onUpdate:m,...g}){let x,w,E,T,C,P=1,j=!1,updateFinishedPromise=()=>{w=new Promise(t=>{x=t})};updateFinishedPromise();let I=B[a]||keyframes;I!==keyframes&&"number"!=typeof o[0]&&(T=(0,_.s)([0,100],o,{clamp:!1}),o=[0,100]);let D=I({...g,keyframes:o});"mirror"===u&&(C=I({...g,keyframes:[...o].reverse(),velocity:-(g.velocity||0)}));let M="idle",F=null,L=null,V=null;null===D.calculatedDuration&&s&&(D.calculatedDuration=(0,R.i)(D));let{calculatedDuration:N}=D,U=1/0,Z=1/0;null!==N&&(Z=(U=N+l)*(s+1)-l);let W=0,tick=t=>{if(null===L)return;P>0&&(L=Math.min(L,t)),P<0&&(L=Math.min(t-Z/P,L)),W=null!==F?F:Math.round(t-L)*P;let i=W-n*(P>=0?1:-1),a=P>=0?i<0:i>Z;W=Math.max(i,0),"finished"===M&&null===F&&(W=Z);let c=W,d=D;if(s){let t=W/U,n=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&n--,n=Math.min(n,s+1);let o=!!(n%2);o&&("reverse"===u?(i=1-i,l&&(i-=l/U)):"mirror"===u&&(d=C));let a=(0,O.u)(0,1,i);W>Z&&(a="reverse"===u&&o?1:0),c=a*U}let h=a?{done:!1,value:o[0]}:d.next(c);T&&(h.value=T(h.value));let{done:g}=h;a||null===N||(g=P>=0?W>=Z:W<=0);let x=null===F&&("finished"===M||"running"===M&&g);return m&&m(h.value),x&&finish(),h},stopAnimationDriver=()=>{E&&E.stop(),E=void 0},cancel=()=>{M="idle",stopAnimationDriver(),x(),updateFinishedPromise(),L=V=null},finish=()=>{M="finished",h&&h(),stopAnimationDriver(),x()},play=()=>{if(j)return;E||(E=i(tick));let t=E.now();c&&c(),null!==F?L=t-F:L&&"finished"!==M||(L=t),"finished"===M&&updateFinishedPromise(),V=L,F=null,M="running",E.start()};t&&play();let H={then:(t,n)=>w.then(t,n),get time(){return(0,k.X)(W)},set time(newTime){W=newTime=(0,k.w)(newTime),null===F&&E&&0!==P?L=E.now()-newTime/P:F=newTime},get duration(){let t=null===D.calculatedDuration?(0,R.i)(D):D.calculatedDuration;return(0,k.X)(t)},get speed(){return P},set speed(newSpeed){if(newSpeed===P||!E)return;P=newSpeed,H.time=(0,k.X)(W)},get state(){return M},play,pause:()=>{M="paused",F=W},stop:()=>{j=!0,"idle"!==M&&(M="idle",d&&d(),cancel())},cancel:()=>{null!==V&&tick(V),cancel()},complete:()=>{M="finished"},sample:t=>(L=0,tick(t))};return H}},85086:function(t,n,i){"use strict";i.d(n,{S:function(){return spring}});var o=i(86917),a=i(25753),s=i(45487),l=i(24169);function calcAngularFreq(t,n){return t*Math.sqrt(1-n*n)}let u=["duration","bounce"],c=["stiffness","damping","mass"];function isSpringType(t,n){return n.some(n=>void 0!==t[n])}function spring({keyframes:t,restDelta:n,restSpeed:i,...d}){let h;let m=t[0],g=t[t.length-1],x={done:!1,value:m},{stiffness:w,damping:E,mass:_,velocity:T,duration:C,isResolvedFromDuration:P}=function(t){let n={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!isSpringType(t,c)&&isSpringType(t,u)){let i=function({duration:t=800,bounce:n=.25,velocity:i=0,mass:a=1}){let u,c;(0,s.K)(t<=(0,o.w)(10),"Spring duration must be 10 seconds or less");let d=1-n;d=(0,l.u)(.05,1,d),t=(0,l.u)(.01,10,(0,o.X)(t)),d<1?(u=n=>{let o=n*d,a=o*t,s=calcAngularFreq(n,d);return .001-(o-i)/s*Math.exp(-a)},c=n=>{let o=n*d,a=o*t,s=Math.pow(d,2)*Math.pow(n,2)*t,l=calcAngularFreq(Math.pow(n,2),d),c=-u(n)+.001>0?-1:1;return c*((a*i+i-s)*Math.exp(-a))/l}):(u=n=>{let o=Math.exp(-n*t),a=(n-i)*t+1;return -.001+o*a},c=n=>{let o=Math.exp(-n*t),a=(i-n)*(t*t);return o*a});let h=5/t,m=function(t,n,i){let o=i;for(let i=1;i<12;i++)o-=t(o)/n(o);return o}(u,c,h);if(t=(0,o.w)(t),isNaN(m))return{stiffness:100,damping:10,duration:t};{let n=Math.pow(m,2)*a;return{stiffness:n,damping:2*d*Math.sqrt(a*n),duration:t}}}(t);(n={...n,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return n}(d),j=T?-(0,o.X)(T):0,O=E/(2*Math.sqrt(w*_)),k=g-m,R=(0,o.X)(Math.sqrt(w/_)),B=5>Math.abs(k);if(i||(i=B?.01:2),n||(n=B?.005:.5),O<1){let t=calcAngularFreq(R,O);h=n=>{let i=Math.exp(-O*R*n);return g-i*((j+O*R*k)/t*Math.sin(t*n)+k*Math.cos(t*n))}}else if(1===O)h=t=>
16g-Math.exp(-R*t)*(k+(j+R*k)*t);else{let t=R*Math.sqrt(O*O-1);h=n=>{let i=Math.exp(-O*R*n),o=Math.min(t*n,300);return g-i*((j+O*R*k)*Math.sinh(o)+t*k*Math.cosh(o))/t}}return{calculatedDuration:P&&C||null,next:t=>{let o=h(t);if(P)x.done=t>=C;else{let s=j;0!==t&&(s=O<1?(0,a.P)(h,t,o):0);let l=Math.abs(s)<=i,u=Math.abs(g-o)<=n;x.done=l&&u}return x.value=x.done?g:o,x}}}},42284:function(t,n,i){"use strict";i.d(n,{E:function(){return o},i:function(){return calcGeneratorDuration}});let o=2e4;function calcGeneratorDuration(t){let n=0,i=t.next(n);for(;!i.done&&n<o;)n+=50,i=t.next(n);return n>=o?1/0:n}},25753:function(t,n,i){"use strict";i.d(n,{P:function(){return calcGeneratorVelocity}});var o=i(3038);function calcGeneratorVelocity(t,n,i){let a=Math.max(n-5,0);return(0,o.R)(i-t(a),n-a)}},36719:function(t,n,i){"use strict";i.d(n,{v:function(){return animateMotionValue}});var o=i(45487),a=i(86917);let s={current:!1},isBezierDefinition=t=>Array.isArray(t)&&"number"==typeof t[0],cubicBezierAsString=([t,n,i,o])=>`cubic-bezier(${t}, ${n}, ${i}, ${o})`,l={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};var u=i(27159),c=i(4522),d=i(81662),h=i(2074);let m=(0,c.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),g=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),requiresPregeneratedKeyframes=(t,n)=>"spring"===n.type||"backgroundColor"===t||!function isWaapiSupportedEasing(t){return!!(!t||"string"==typeof t&&l[t]||isBezierDefinition(t)||Array.isArray(t)&&t.every(isWaapiSupportedEasing))}(n.ease);var x=i(94714);let w={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),E={type:"keyframes",duration:.8},_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(t,{keyframes:n})=>n.length>2?E:x.G.has(t)?t.startsWith("scale")?criticallyDampedSpring(n[1]):w:_;var T=i(51550);let isAnimatable=(t,n)=>"zIndex"!==t&&!!("number"==typeof n||Array.isArray(n)||"string"==typeof n&&(T.P.test(n)||"0"===n)&&!n.startsWith("url("));var C=i(79135),P=i(30681),j=i(31056);let animateMotionValue=(t,n,i,c={})=>x=>{let w=(0,j.e)(c,t)||{},E=w.delay||c.delay||0,{elapsed:_=0}=c;_-=(0,a.w)(E);let T=function(t,n,i,o){let a,s;let l=isAnimatable(n,i);a=Array.isArray(i)?[...i]:[null,i];let u=void 0!==o.from?o.from:t.get(),c=[];for(let t=0;t<a.length;t++){var d;null===a[t]&&(a[t]=0===t?u:a[t-1]),("number"==typeof(d=a[t])?0===d:null!==d?"none"===d||"0"===d||(0,P.W)(d):void 0)&&c.push(t),"string"==typeof a[t]&&"none"!==a[t]&&"0"!==a[t]&&(s=a[t])}if(l&&c.length&&s)for(let t=0;t<c.length;t++){let i=c[t];a[i]=(0,C.T)(n,s)}return a}(n,t,i,w),O=T[0],k=T[T.length-1],R=isAnimatable(t,O),B=isAnimatable(t,k);(0,o.K)(R===B,`You are trying to animate ${t} from "${O}" to "${k}". ${O} is not an animatable value - to enable this animation set ${O} to a value animatable to ${k} via the \`style\` property.`);let I={keyframes:T,velocity:n.getVelocity(),ease:"easeOut",...w,delay:-_,onUpdate:t=>{n.set(t),w.onUpdate&&w.onUpdate(t)},onComplete:()=>{x(),w.onComplete&&w.onComplete()}};if((0,j.r)(w)||(I={...I,...getDefaultTransition(t,I)}),I.duration&&(I.duration=(0,a.w)(I.duration)),I.repeatDelay&&(I.repeatDelay=(0,a.w)(I.repeatDelay)),!R||!B||s.current||!1===w.type)return function({keyframes:t,delay:n,onUpdate:i,onComplete:o}){let setValue=()=>(i&&i(t[t.length-1]),o&&o(),{time:0,speed:1,duration:0,play:d.Z,pause:d.Z,stop:d.Z,then:t=>(t(),Promise.resolve()),cancel:d.Z,complete:d.Z});return n?(0,u.y)({keyframes:[0,1],duration:0,delay:n,onComplete:setValue}):setValue()}(s.current?{...I,delay:0}:I);if(n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate){let i=function(t,n,{onUpdate:i,onComplete:o,...s}){let c,x;let w=m()&&g.has(n)&&!s.repeatDelay&&"mirror"!==s.repeatType&&0!==s.damping&&"inertia"!==s.type;if(!w)return!1;
16let E=!1,updateFinishedPromise=()=>{x=new Promise(t=>{c=t})};updateFinishedPromise();let{keyframes:_,duration:T=300,ease:C,times:P}=s;if(requiresPregeneratedKeyframes(n,s)){let t=(0,u.y)({...s,repeat:0,delay:0}),n={done:!1,value:_[0]},i=[],o=0;for(;!n.done&&o<2e4;)n=t.sample(o),i.push(n.value),o+=10;P=void 0,_=i,T=o-10,C="linear"}let j=function(t,n,i,{delay:o=0,duration:a,repeat:s=0,repeatType:u="loop",ease:c,times:d}={}){let h={[n]:i};d&&(h.offset=d);let m=function mapEasingToNativeEasing(t){if(t)return isBezierDefinition(t)?cubicBezierAsString(t):Array.isArray(t)?t.map(mapEasingToNativeEasing):l[t]}(c);return Array.isArray(m)&&(h.easing=m),t.animate(h,{delay:o,duration:a,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:s+1,direction:"reverse"===u?"alternate":"normal"})}(t.owner.current,n,_,{...s,duration:T,ease:C,times:P});s.syncStart&&(j.startTime=h.frameData.isProcessing?h.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());let cancelAnimation=()=>j.cancel(),safeCancel=()=>{h.Wi.update(cancelAnimation),c(),updateFinishedPromise()};return j.onfinish=()=>{t.set(function(t,{repeat:n,repeatType:i="loop"}){let o=n&&"loop"!==i&&n%2==1?0:t.length-1;return t[o]}(_,s)),o&&o(),safeCancel()},{then:(t,n)=>x.then(t,n),attachTimeline:t=>(j.timeline=t,j.onfinish=null,d.Z),get time(){return(0,a.X)(j.currentTime||0)},set time(newTime){j.currentTime=(0,a.w)(newTime)},get speed(){return j.playbackRate},set speed(newSpeed){j.playbackRate=newSpeed},get duration(){return(0,a.X)(T)},play:()=>{E||(j.play(),(0,h.Pn)(cancelAnimation))},pause:()=>j.pause(),stop:()=>{if(E=!0,"idle"===j.playState)return;let{currentTime:n}=j;if(n){let i=(0,u.y)({...s,autoplay:!1});t.setWithVelocity(i.sample(n-10).value,i.sample(n).value,10)}safeCancel()},complete:()=>j.finish(),cancel:safeCancel}}(n,t,I);if(i)return i}return(0,u.y)(I)}},61059:function(t,n,i){"use strict";i.d(n,{D:function(){return animateSingleValue}});var o=i(36719),a=i(33234),s=i(40406);function animateSingleValue(t,n,i){let l=(0,s.i)(t)?t:(0,a.BX)(t);return l.start((0,o.v)("",l,n,i)),l.animation}},62711:function(t,n,i){"use strict";i.d(n,{w:function(){return animateTarget}});var o=i(94714),a=i(68588),s=i(36719),l=i(12490),u=i(14330),c=i(31056),d=i(2074);function animateTarget(t,n,{delay:i=0,transitionOverride:h,type:m}={}){let{transition:g=t.getDefaultTransition(),transitionEnd:x,...w}=t.makeTargetAnimatable(n),E=t.getValue("willChange");h&&(g=h);let _=[],T=m&&t.animationState&&t.animationState.getState()[m];for(let n in w){let u=t.getValue(n),h=w[n];if(!u||void 0===h||T&&function({protectedKeys:t,needsAnimating:n},i){let o=t.hasOwnProperty(i)&&!0!==n[i];return n[i]=!1,o}(T,n))continue;let m={delay:i,elapsed:0,...(0,c.e)(g||{},n)},x=!0;if(window.HandoffAppearAnimations&&!u.hasAnimated){let i=t.getProps()[a.M];if(i){let t=window.HandoffAppearAnimations(i,n,u,d.Wi);t&&(x=!1,m.elapsed=t,m.syncStart=!0)}}let C=x&&!function(t,n){let i=t.get();if(!Array.isArray(n))return i!==n;for(let t=0;t<n.length;t++)if(n[t]!==i)return!0}(u,h);if("spring"===m.type&&(u.getVelocity()||m.velocity)&&(C=!1),u.animation&&(C=!1),C)continue;u.start((0,s.v)(n,u,h,t.shouldReduceMotion&&o.G.has(n)?{type:!1}:m));let P=u.animation;(0,l.L)(E)&&(E.add(n),P.then(()=>E.remove(n))),_.push(P)}return x&&Promise.all(_).then(()=>{x&&(0,u.CD)(t,x)}),_}},96912:function(t,n,i){"use strict";i.d(n,{d:function(){return animateVisualElement}});var o=i(52248),a=i(62711);function animateVariant(t,n,i={}){let s=(0,o.x)(t,n,i.custom),{transition:l=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(l=i.transitionOverride);let u=s?()=>Promise.all((0,a.w)(t,s,i)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(o=0)=>{let{delayChildren:a=0,staggerChildren:s,staggerDirection:u}=l;return function(t,n,i=0,o=0,a=1,s){let l=[],u=(t.variantChildren.size-1)*o,c=1===a?(t=0)=>t*o:(t=0)=>u-t*o;return Array.from(t.variantChildren).sort(sortByTreeOrder).forEach((t,o)=>{t.notify("AnimationStart",n),l.push(animateVariant(t,n,{...s,delay:i+c(o)}).then(()=>t.notify("AnimationComplete",n)))}),Promise.all(l)}(t,n,a+o,s,u,i)}:()=>Promise.resolve(),{when:d}=l;if(!d)return Promise.all([u(),c(i.delay)]);{let[t,n]="beforeChildren"===d?[u,c]:[c,u];return t().then(()=>n())}}function sortByTreeOrder(t,n){return t.sortNodePosition(n)}function animateVisualElement(t,n,i={}){let s;if(t.notify("AnimationStart",n),Array.isArray(n)){let o=n.map(n=>animateVariant(t,n,i));s=Promise.all(o)}else if("string"==typeof n)s=animateVariant(t,n,i);else{let l="function"==typeof n?(0,o.x)(t,n,i.custom):n;s=Promise.all((0,a.w)(t,l,i))}return s.then(()=>t.notify("AnimationComplete",n))}},68588:function(t,n,i){"use strict";i.d(n,{M:function(){return a}});var o=i(93193);let a="data-"+(0,o.D)("framerAppearId")},2445:function(t,n,i){"use strict";function isAnimationControls(t){return"object"==typeof t&&"function"==typeof t.start}i.d(n,{H:function(){return isAnimationControls}})},48488:function(t,n,i){"use strict";i.d(n,{C:function(){return isKeyframesTarget}});let isKeyframesTarget=t=>Array.isArray(t)},31056:function(t,n,i){"use strict";function isTransitionDefined({when:t,delay:n,delayChildren:i,staggerChildren:o,staggerDirection:a,repeat:s,repeatType:l,repeatDelay:u,from:c,elapsed:d,...h}){return!!Object.keys(h).length}function getValueTransition(t,n){return t[n]||t.default||t}i.d(n,{e:function(){return getValueTransition},r:function(){return isTransitionDefined}})},51526:function(t,n,i){"use strict";i.d(n,{M:function(){return AnimatePresence}});var o=i(67294),a=i(58868);function useIsMounted(){let t=(0,o.useRef)(!1);return(0,a.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var s=i(2074),l=i(240),u=i(96681);let PopChildMeasure=class PopChildMeasure extends o.Component{getSnapshotBeforeUpdate(t){let n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=n.offsetHeight||0,t.width=n.offsetWidth||0,t.top=n.offsetTop,t.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:t,isPresent:n}){let i=(0,o.useId)(),a=(0,o.useRef)(null),s=(0,o.useRef)({width:0,height:0,top:0,left:0});return(0,o.useInsertionEffect)(()=>{let{width:t,height:o,top:l,left:u}=s.current;if(n||!a.current||!t||!o)return;a.current.dataset.motionPopId=i;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` 17 [data-motion-pop-id="${i}"] { 18 position: absolute !important; 19 width: ${t}px !important; 20 height: ${o}px !important; 21 top: ${l}px !important; 22 left: ${u}px !important; 23 } 24 `),()=>{document.head.removeChild(c)}},[n]),o.createElement(PopChildMeasure,{isPresent:n,childRef:a,sizeRef:s},o.cloneElement(t,{ref:a}))}let PresenceChild=({children:t,initial:n,isPresent:i,onExitComplete:a,custom:s,presenceAffectsLayout:c,mode:d})=>{let h=(0,u.h)(newChildrenMap),m=(0,o.useId)(),g=(0,o.useMemo)(()=>({id:m,initial:n,isPresent:i,custom:s,onExitComplete:t=>
24{for(let n of(h.set(t,!0),h.values()))if(!n)return;a&&a()},register:t=>(h.set(t,!1),()=>h.delete(t))}),c?void 0:[i]);return(0,o.useMemo)(()=>{h.forEach((t,n)=>h.set(n,!1))},[i]),o.useEffect(()=>{i||h.size||!a||a()},[i]),"popLayout"===d&&(t=o.createElement(PopChild,{isPresent:i},t)),o.createElement(l.O.Provider,{value:g},t)};function newChildrenMap(){return new Map}var c=i(25364),d=i(45487);let getChildKey=t=>t.key||"",AnimatePresence=({children:t,custom:n,initial:i=!0,onExitComplete:l,exitBeforeEnter:u,presenceAffectsLayout:h=!0,mode:m="sync"})=>{var g;(0,d.k)(!u,"Replace exitBeforeEnter with mode='wait'");let x=(0,o.useContext)(c.p).forceRender||function(){let t=useIsMounted(),[n,i]=(0,o.useState)(0),a=(0,o.useCallback)(()=>{t.current&&i(n+1)},[n]),l=(0,o.useCallback)(()=>s.Wi.postRender(a),[a]);return[l,n]}()[0],w=useIsMounted(),E=function(t){let n=[];return o.Children.forEach(t,t=>{(0,o.isValidElement)(t)&&n.push(t)}),n}(t),_=E,T=(0,o.useRef)(new Map).current,C=(0,o.useRef)(_),P=(0,o.useRef)(new Map).current,j=(0,o.useRef)(!0);if((0,a.L)(()=>{j.current=!1,function(t,n){t.forEach(t=>{let i=getChildKey(t);n.set(i,t)})}(E,P),C.current=_}),g=()=>{j.current=!0,P.clear(),T.clear()},(0,o.useEffect)(()=>()=>g(),[]),j.current)return o.createElement(o.Fragment,null,_.map(t=>o.createElement(PresenceChild,{key:getChildKey(t),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:h,mode:m},t)));_=[..._];let O=C.current.map(getChildKey),k=E.map(getChildKey),R=O.length;for(let t=0;t<R;t++){let n=O[t];-1!==k.indexOf(n)||T.has(n)||T.set(n,void 0)}return"wait"===m&&T.size&&(_=[]),T.forEach((t,i)=>{if(-1!==k.indexOf(i))return;let a=P.get(i);if(!a)return;let s=O.indexOf(i),u=t;u||(u=o.createElement(PresenceChild,{key:getChildKey(a),isPresent:!1,onExitComplete:()=>{T.delete(i);let t=Array.from(P.keys()).filter(t=>!k.includes(t));if(t.forEach(t=>P.delete(t)),C.current=E.filter(n=>{let o=getChildKey(n);return o===i||t.includes(o)}),!T.size){if(!1===w.current)return;x(),l&&l()}},custom:n,presenceAffectsLayout:h,mode:m},a),T.set(i,u)),_.splice(s,0,u)}),_=_.map(t=>{let n=t.key;return T.has(n)?t:o.createElement(PresenceChild,{key:getChildKey(t),isPresent:!0,presenceAffectsLayout:h,mode:m},t)}),o.createElement(o.Fragment,null,T.size?_:_.map(t=>(0,o.cloneElement)(t)))}},25364:function(t,n,i){"use strict";i.d(n,{p:function(){return a}});var o=i(67294);let a=(0,o.createContext)({})},16014:function(t,n,i){"use strict";i.d(n,{_:function(){return a}});var o=i(67294);let a=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},240:function(t,n,i){"use strict";i.d(n,{O:function(){return a}});var o=i(67294);let a=(0,o.createContext)(null)},27255:function(t,n,i){"use strict";i.d(n,{Bn:function(){return s},X7:function(){return l}
24,Z7:function(){return circIn}});var o=i(90415),a=i(75129);let circIn=t=>1-Math.sin(Math.acos(t)),s=(0,a.M)(circIn),l=(0,o.o)(s)},90415:function(t,n,i){"use strict";i.d(n,{o:function(){return mirrorEasing}});let mirrorEasing=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2},75129:function(t,n,i){"use strict";i.d(n,{M:function(){return reverseEasing}});let reverseEasing=t=>n=>1-t(1-n)},43338:function(t,n,i){"use strict";i.d(n,{N:function(){return isEasingArray}});let isEasingArray=t=>Array.isArray(t)&&"number"!=typeof t[0]},2074:function(t,n,i){"use strict";i.d(n,{Pn:function(){return l},Wi:function(){return s},frameData:function(){return u},S6:function(){return c}});var o=i(81662);let Queue=class Queue{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let n=this.order.indexOf(t);-1!==n&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}};let a=["prepare","read","update","preRender","render","postRender"],{schedule:s,cancel:l,state:u,steps:c}=function(t,n){let i=!1,o=!0,s={delta:0,timestamp:0,isProcessing:!1},l=a.reduce((t,n)=>(t[n]=function(t){let n=new Queue,i=new Queue,o=0,a=!1,s=!1,l=new WeakSet,u={schedule:(t,s=!1,u=!1)=>{let c=u&&a,d=c?n:i;return s&&l.add(t),d.add(t)&&c&&a&&(o=n.order.length),t},cancel:t=>{i.remove(t),l.delete(t)},process:c=>{if(a){s=!0;return}if(a=!0,[n,i]=[i,n],i.clear(),o=n.order.length)for(let i=0;i<o;i++){let o=n.order[i];o(c),l.has(o)&&(u.schedule(o),t())}a=!1,s&&(s=!1,u.process(c))}};return u}(()=>i=!0),t),{}),processStep=t=>l[t].process(s),processBatch=()=>{let l=performance.now();i=!1,s.delta=o?1e3/60:Math.max(Math.min(l-s.timestamp,40),1),s.timestamp=l,s.isProcessing=!0,a.forEach(processStep),s.isProcessing=!1,i&&n&&(o=!1,t(processBatch))},wake=()=>{i=!0,o=!0,s.isProcessing||t(processBatch)},u=a.reduce((t,n)=>{let o=l[n];return t[n]=(t,n=!1,a=!1)=>(i||wake(),o.schedule(t,n,a)),t},{});return{schedule:u,cancel:t=>a.forEach(n=>l[n].cancel(t)),state:s,steps:l}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:o.Z,!0)},9442:function(t,n,i){"use strict";i.d(n,{A:function(){return a}});let o={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},a={};for(let t in o)a[t]={isEnabled:n=>o[t].some(t=>!!n[t])}},56816:function(t,n,i){"use strict";i.d(n,{j:function(){return isForcedMotionValue}});var o=i(64561),a=i(94714);function isForcedMotionValue(t,{layout:n,layoutId:i}){return a.G.has(t)||t.startsWith("origin")||(n||void 0!==i)&&(!!o.P[t]||"opacity"===t)}},76117:function(t,n,i){"use strict";function convertBoundingBoxToBox({top:t,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:t,max:o}}}function convertBoxToBoundingBox({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function transformBoxPoints(t,n){if(!n)return t;let i=n({x:t.left,y:t.top}),o=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}i.d(n,{d7:function(){return transformBoxPoints},i8:function(){return convertBoundingBoxToBox},z2:function(){return convertBoxToBoundingBox}})},16e3:function(t,n,i){"use strict";i.d(n,{D2:function(){return transformBox},YY:function(){return applyTreeDeltas},am:function(){return translateAxis},o2:function(){return applyBoxDelta},q2:function(){return scalePoint}});var o=i(80022),a=i(99527);function scalePoint(t,n,i){return i+n*(t-i)}function applyPointDelta(t,n,i,o,a){return void 0!==a&&(t=o+a*(t-o)),o+i*(t-o)+n}function applyAxisDelta(t,n=0,i=1,o,a){t.min=applyPointDelta(t.min,n,i,o,a),t.max=applyPointDelta(t.max,n,i,o,a)}function applyBoxDelta(t,{x:n,y:i}){applyAxisDelta(t.x,n.translate,n.scale,n.originPoint),applyAxisDelta(t.y,i.translate,i.scale,i.originPoint)}function applyTreeDeltas(t,n,i,o=!1){let s,l;let u=i.length;if(u){n.x=n.y=1;for(let c=0;c<u;c++){l=(s=i[c]).projectionDelta;let u=s.instance;(!u||!u.style||"contents"!==u.style.display)&&(o&&s.options.layoutScroll&&s.scroll&&s!==s.root&&transformBox(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),l&&(n.x*=l.x.scale,n.y*=l.y.scale,applyBoxDelta(t,l)),o&&(0,a.ud)(s.latestValues)&&transformBox(t,s.latestValues))}n.x=snapToDefault(n.x),n.y=snapToDefault(n.y)}}function snapToDefault(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function translateAxis(t,n){t.min=t.min+n,t.max=t.max+n}function transformAxis(t,n,[i,a,s]){let l=void 0!==n[s]?n[s]:.5,u=(0,o.C)(t.min,t.max,l);applyAxisDelta(t,n[i],n[a],u,n.scale)}
24let s=["x","scaleX","originX"],l=["y","scaleY","originY"];function transformBox(t,n){transformAxis(t.x,n,s),transformAxis(t.y,n,l)}},61512:function(t,n,i){"use strict";i.d(n,{dO:function(){return createBox},wc:function(){return createDelta}});let createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()})},64561:function(t,n,i){"use strict";i.d(n,{B:function(){return addScaleCorrector},P:function(){return o}});let o={};function addScaleCorrector(t){Object.assign(o,t)}},99527:function(t,n,i){"use strict";function isIdentityScale(t){return void 0===t||1===t}function hasScale({scale:t,scaleX:n,scaleY:i}){return!isIdentityScale(t)||!isIdentityScale(n)||!isIdentityScale(i)}function hasTransform(t){return hasScale(t)||has2DTranslate(t)||t.z||t.rotate||t.rotateX||t.rotateY}function has2DTranslate(t){var n,i;return(n=t.x)&&"0%"!==n||(i=t.y)&&"0%"!==i}i.d(n,{D_:function(){return has2DTranslate},Lj:function(){return hasScale},ud:function(){return hasTransform}})},56460:function(t,n,i){"use strict";i.d(n,{J:function(){return measureViewportBox},z:function(){return measurePageBox}});var o=i(76117),a=i(16e3);function measureViewportBox(t,n){return(0,o.i8)((0,o.d7)(t.getBoundingClientRect(),n))}function measurePageBox(t,n,i){let o=measureViewportBox(t,i),{scroll:s}=n;return s&&((0,a.am)(o.x,s.offset.x),(0,a.am)(o.y,s.offset.y)),o}},81760:function(t,n,i){"use strict";i.d(n,{J:function(){return DOMVisualElement}});var o=i(14330),a=i(45487),s=i(33441),l=i(57630);let u=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function getVariableValue(t,n,i=1){(0,a.k)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[o,c]=function(t){let n=u.exec(t);if(!n)return[,];let[,i,o]=n;return[i,o]}(t);if(!o)return;let d=window.getComputedStyle(n).getPropertyValue(o);if(d){let t=d.trim();return(0,s.P)(t)?parseFloat(t):t}return(0,l.tm)(c)?getVariableValue(c,n,i+1):c}var c=i(48488),d=i(94714),h=i(56440),m=i(11741),g=i(61649),x=i(96190);let w=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),isPositionalKey=t=>w.has(t),hasPositionalKey=t=>Object.keys(t).some(isPositionalKey),isNumOrPxType=t=>t===g.Rx||t===x.px,getPosFromMatrix=(t,n)=>parseFloat(t.split(", ")[n]),getTranslateFromMatrix=(t,n)=>(i,{transform:o})=>{if("none"===o||!o)return 0;let a=o.match(/^matrix3d\((.+)\)$/);if(a)return getPosFromMatrix(a[1],n);{let n=o.match(/^matrix\((.+)\)$/);return n?getPosFromMatrix(n[1],t):0}},E=new Set(["x","y","z"]),_=d._.filter(t=>!E.has(t)),T={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};T.translateX=T.x,T.translateY=T.y;let convertChangedValueTypes=(t,n,i)=>{let o=n.measureViewportBox(),a=n.current,s=getComputedStyle(a),{display:l}=s,u={};"none"===l&&n.setStaticValue("display",t.display||"block"),i.forEach(t=>{u[t]=T[t](o,s)}),n.render();let c=n.measureViewportBox();return i.forEach(i=>{let o=n.getValue(i);o&&o.jump(u[i]),t[i]=T[i](c,s)}),t},checkAndConvertChangedValueTypes=(t,n,i={},o={})=>{n={...n},o={...o};let s=Object.keys(n).filter(isPositionalKey),l=[],u=!1,d=[];if(s.forEach(s=>{let m;let g=t.getValue(s);if(!t.hasValue(s))return;let w=i[s],E=(0,h.C)(w),T=n[s];if((0,c.C)(T)){let t=T.length,n=null===T[0]?1:0;w=T[n],E=(0,h.C)(w);for(let i=n;i<t&&null!==T[i];i++)m?(0,a.k)((0,h.C)(T[i])===m,"All keyframes must be of the same type"):(m=(0,h.C)(T[i]),(0,a.k)(m===E||isNumOrPxType(E)&&isNumOrPxType(m),"Keyframes must be of the same dimension as the current value"))}else m=(0,h.C)(T);if(E!==m){if(isNumOrPxType(E)&&isNumOrPxType(m)){let t=g.get();"string"==typeof t&&g.set(parseFloat(t)),"string"==typeof T?n[s]=parseFloat(T):Array.isArray(T)&&m===x.px&&(n[s]=T.map(parseFloat))}else(null==E?void 0:E.transform)&&(null==m?void 0:m.transform)&&(0===w||0===T)?0===w?g.set(m.transform(w)):n[s]=E.transform(T):(u||(l=function(t){let n=[];return _.forEach(i=>
24{let o=t.getValue(i);void 0!==o&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n.length&&t.render(),n}(t),u=!0),d.push(s),o[s]=void 0!==o[s]?o[s]:n[s],g.jump(T))}}),!d.length)return{target:n,transitionEnd:o};{let i=d.indexOf("height")>=0?window.pageYOffset:null,a=convertChangedValueTypes(n,t,d);return l.length&&l.forEach(([n,i])=>{t.getValue(n).set(i)}),t.render(),m.j&&null!==i&&window.scrollTo({top:i}),{target:a,transitionEnd:o}}},parseDomVariant=(t,n,i,o)=>{var a,s;let u=function(t,{...n},i){let o=t.current;if(!(o instanceof Element))return{target:n,transitionEnd:i};for(let a in i&&(i={...i}),t.values.forEach(t=>{let n=t.get();if(!(0,l.tm)(n))return;let i=getVariableValue(n,o);i&&t.set(i)}),n){let t=n[a];if(!(0,l.tm)(t))continue;let s=getVariableValue(t,o);s&&(n[a]=s,i||(i={}),void 0===i[a]&&(i[a]=t))}return{target:n,transitionEnd:i}}(t,n,o);return n=u.target,o=u.transitionEnd,a=n,s=o,hasPositionalKey(a)?checkAndConvertChangedValueTypes(t,a,i,s):{target:a,transitionEnd:s}};var C=i(61512),P=i(51804);let j={current:null},O={current:!1};var k=i(21560),R=i(33234),B=i(12490),I=i(40406),D=i(7504),M=i(97732),F=i(79432),L=i(9442),V=i(22963),N=i(56955),U=i(2074);let Z=Object.keys(L.A),W=Z.length,H=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],K=V.V.length;let VisualElement=class VisualElement{constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>U.Wi.render(this.render,!1,!0);let{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.isControllingVariants=(0,D.G)(n),this.isVariantNode=(0,D.M)(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{});for(let t in d){let n=d[t];void 0!==l[t]&&(0,I.i)(n)&&(n.set(l[t],!1),(0,B.L)(c)&&c.add(t))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,N.R.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=>this.bindToMotionValue(n,t)),O.current||function(){if(O.current=!0,m.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=()=>j.current=t.matches;t.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else j.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||j.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in N.R.delete(this.current),this.projection&&this.projection.unmount(),(0,U.Pn)(this.notifyUpdate),(0,U.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){let i=d.G.has(t),o=n.on("change",n=>{this.latestValues[t]=n,this.props.onUpdate&&U.Wi.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),a()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...n},i,o,a){let s,l;for(let t=0;t<W;t++){let i=Z[t],{isEnabled:o,Feature:a,ProjectionNode:u,MeasureLayout:c}=L.A[i];u&&(s=u),o(n)&&(!this.features[i]&&a&&(this.features[i]=new a(this)),c&&(l=c))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:i,drag:o,dragConstraints:l,layoutScroll:u,layoutRoot:c}=n;this.projection.setOptions({layoutId:t,layout:i,alwaysMeasureLayout:!!o||l&&(0,P.I)(l),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:a,layoutScroll:u,layoutRoot:c})}return l}updateFeatures(){for(let t in this.features){let n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,C.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let n=0;n<H.length;n++){let i=H[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let o=t["on"+i];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=function(t,n,i){let{willChange:o}=n;for(let a in n){let s=n[a],l=i[a];if((0,I.i)(s))t.addValue(a,s),(0,B.L)(o)&&o.add(a);else if((0,I.i)(l))t.addValue(a,(0,R.BX)(s,{owner:t})),(0,B.L)(o)&&o.remove(a);else if(l!==s){if(t.hasValue(a)){let n=t.getValue(a);n.hasAnimated||n.set(s)}else{let n=t.getStaticValue(a);t.addValue(a,(0,R.BX)(void 0!==n?n:s,{owner:t}))}}}for(let o in i)void 0===n[o]&&t.removeValue(o);return n}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let n={};for(let t=0;t<K;t++){let i=V.V[t],o=this.props[i];((0,M.$)(o)||!1===o)&&(n[i]=o)}return n}addVariantChild(t){let n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);let n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==n&&(i=(0,R.BX)(n,{owner:this}),this.addValue(t,i)),i}readValue(t){var n;return void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;let{initial:i}=this.props,o="string"==typeof i||"object"==typeof i?null===(n=(0,F.o)(this.props,i))||void 0===n?void 0:n[t]:void 0;if(i&&void 0!==o)return o;let a=this.getBaseTargetFromProps(this.props,t);return void 0===a||(0,I.i)(a)?void 0!==this.initialValues[t]&&void 0===o?void 0:this.baseTarget[t]:a}on(t,n){return this.events[t]||(this.events[t]=new k.L),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}};let DOMVisualElement=class DOMVisualElement extends VisualElement{sortInstanceNodePosition(t,n){return 2&t.compareDocumentPosition(n)?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...i},{transformValues:a},s){let l=(0,o.P$)(i,t||{},this);if(a&&(n&&(n=a(n)),i&&(i=a(i)),l&&(l=a(l))),s){(0,o.GJ)(this,i,l);let t=parseDomVariant(this,i,l,n);n=t.transitionEnd,i=t.target}return{transition:t,transitionEnd:n,...i}}}},39816:function(t,n,i){"use strict";i.d(n,{E:function(){return eG}});var o=i(67294),a=i(16014);let s=(0,o.createContext)({});var l=i(240),u=i(58868);let c=(0,o.createContext)({strict:!1});var d=i(68588),h=i(51804),m=i(97732),g=i(7504);function variantLabelsAsDependency(t){return Array.isArray(t)?t.join(" "):t}
24var x=i(9442),w=i(11741),E=i(25364);let _=(0,o.createContext)({}),T=Symbol.for("motionComponentSymbol"),C=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function isSVGComponent(t){if("string"!=typeof t||t.includes("-"));else if(C.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var P=i(56816),j=i(40406),O=i(38057);let createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function copyRawValuesOnly(t,n,i){for(let o in n)(0,j.i)(n[o])||(0,P.j)(o,i)||(t[o]=n[o])}function useHTMLProps(t,n,i){let a={},s=function(t,n,i){let a=t.style||{},s={};return copyRawValuesOnly(s,a,t),Object.assign(s,function({transformTemplate:t},n,i){return(0,o.useMemo)(()=>{let o=createHtmlRenderState();return(0,O.r)(o,n,{enableHardwareAcceleration:!i},t),Object.assign({},o.vars,o.style)},[n])}(t,n,i)),t.transformValues?t.transformValues(s):s}(t,n,i);return t.drag&&!1!==t.dragListener&&(a.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(a.tabIndex=0),a.style=s,a}var k=i(91492),R=i(85415);let createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}});var B=i(79854);function useSVGProps(t,n,i,a){let s=(0,o.useMemo)(()=>{let i=createSvgRenderState();return(0,R.i)(i,n,{enableHardwareAcceleration:!1},(0,B.a)(a),t.transformTemplate),{...i.attrs,style:{...i.style}}},[n]);if(t.style){let n={};copyRawValuesOnly(n,t.style,t),s.style={...n,...s.style}}return s}var I=i(68504),D=i(16832),M=i(2445),F=i(79432),L=i(96681),V=i(8715);function resolveMotionValue(t){let n=(0,j.i)(t)?t.get():t;return(0,V.p)(n)?n.toValue():n}let makeUseVisualState=t=>(n,i)=>{let a=(0,o.useContext)(s),u=(0,o.useContext)(l.O),make=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:n,onMount:i},o,a,s){let l={latestValues:function(t,n,i,o){let a={},s=o(t,{});for(let t in s)a[t]=resolveMotionValue(s[t]);let{initial:l,animate:u}=t,c=(0,g.G)(t),d=(0,g.M)(t);n&&d&&!c&&!1!==t.inherit&&(void 0===l&&(l=n.initial),void 0===u&&(u=n.animate));let h=!!i&&!1===i.initial;h=h||!1===l;let m=h?u:l;if(m&&"boolean"!=typeof m&&!(0,M.H)(m)){let n=Array.isArray(m)?m:[m];n.forEach(n=>{let i=(0,F.o)(t,n);if(!i)return;let{transitionEnd:o,transition:s,...l}=i;for(let t in l){let n=l[t];if(Array.isArray(n)){let t=h?n.length-1:0;n=n[t]}null!==n&&(a[t]=n)}for(let t in o)a[t]=o[t]})}return a}(o,a,s,t),renderState:n()};return i&&(l.mount=t=>i(o,t,l)),l})(t,n,a,u);return i?make():(0,L.h)(make)};var N=i(2074);let U={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:D.U,createRenderState:createSvgRenderState,onMount:(t,n,{renderState:i,latestValues:o})=>{N.Wi.read(()=>{try{i.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(t){i.dimensions={x:0,y:0,width:0,height:0}}}),N.Wi.render(()=>{(0,R.i)(i,o,{enableHardwareAcceleration:!1},(0,B.a)(n.tagName),t.transformTemplate),(0,I.K)(n,i)})}})};var Z=i(50189);let W={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:Z.U,createRenderState:createHtmlRenderState})};function addDomEvent(t,n,i,o={passive:!0}){return t.addEventListener(n,i,o),()=>t.removeEventListener(n,i)}let isPrimaryPointer=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function extractEventInfo(t,n="page"){return{point:{x:t[n+"X"],y:t[n+"Y"]}}}let addPointerInfo=t=>n=>isPrimaryPointer(n)&&t(n,extractEventInfo(n));function addPointerEvent(t,n,i,o){return addDomEvent(t,n,addPointerInfo(i),o)}var H=i(83624);function createLock(t){let n=null;return()=>null===n&&(n=t,()=>{n=null})}let K=createLock("dragHorizontal"),G=createLock("dragVertical");function getGlobalLock(t){let n=!1;if("y"===t)n=G();else if("x"===t)n=K();else{let t=K(),i=G();t&&i?n=()=>{t(),i()}:(t&&t(),i&&i())}return n}function isDragActive(){let t=getGlobalLock(!0);return!t||(t(),!1)}let Feature=class Feature{constructor(t){this.isMounted=!1,this.node=t}update(){}};
24function addHoverEvent(t,n){let i="pointer"+(n?"enter":"leave"),o="onHover"+(n?"Start":"End");return addPointerEvent(t.current,i,(i,a)=>{if("touch"===i.type||isDragActive())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n),s[o]&&N.Wi.update(()=>s[o](i,a))},{passive:!t.getProps()[o]})}let isNodeOrChild=(t,n)=>!!n&&(t===n||isNodeOrChild(t,n.parentElement));var Y=i(81662);function fireSyntheticPointerEvent(t,n){if(!n)return;let i=new PointerEvent("pointer"+t);n(i,extractEventInfo(i))}let X=new WeakMap,J=new WeakMap,fireObserverCallback=t=>{let n=X.get(t.target);n&&n(t)},fireAllObserverCallbacks=t=>{t.forEach(fireObserverCallback)},Q={some:0,all:1};var ee=i(48488);function shallowCompare(t,n){if(!Array.isArray(n))return!1;let i=n.length;if(i!==t.length)return!1;for(let o=0;o<i;o++)if(n[o]!==t[o])return!1;return!0}var et=i(52248),er=i(22963),en=i(96912);let ei=[...er.e].reverse(),eo=er.e.length;function createTypeState(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let ea=0;var es=i(45487),el=i(86917);let distance=(t,n)=>Math.abs(t-n);let PanSession=class PanSession{constructor(t,n,{transformPagePoint:i,contextWindow:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=getPanInfo(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=function(t,n){let i=distance(t.x,n.x),o=distance(t.y,n.y);return Math.sqrt(i**2+o**2)}(t.offset,{x:0,y:0})>=3;if(!n&&!i)return;let{point:o}=t,{timestamp:a}=N.frameData;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,t)},this.handlePointerMove=(t,n)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=transformPoint(n,this.transformPagePoint),N.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,n)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:i,onSessionEnd:o}=this.handlers,a=getPanInfo("pointercancel"===t.type?this.lastMoveEventInfo:transformPoint(n,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,a),o&&o(t,a)},!isPrimaryPointer(t))return;this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;let a=extractEventInfo(t),s=transformPoint(a,this.transformPagePoint),{point:l}=s,{timestamp:u}=N.frameData;this.history=[{...l,timestamp:u}];let{onSessionStart:c}=n;c&&c(t,getPanInfo(s,this.history)),this.removeListeners=(0,H.z)(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,N.Pn)(this.updatePoint)}};function transformPoint(t,n){return n?{point:n(t.point)}:t}function subtractPoint(t,n){return{x:t.x-n.x,y:t.y-n.y}}function getPanInfo({point:t},n){return{point:t,delta:subtractPoint(t,lastDevicePoint(n)),offset:subtractPoint(t,n[0]),velocity:function(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,o=null,a=lastDevicePoint(t);for(;i>=0&&(o=t[i],!(a.timestamp-o.timestamp>(0,el.w)(.1)));)i--;if(!o)return{x:0,y:0};let s=(0,el.X)(a.timestamp-o.timestamp);if(0===s)return{x:0,y:0};let l={x:(a.x-o.x)/s,y:(a.y-o.y)/s};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}(n,0)}}function lastDevicePoint(t){return t[t.length-1]}var eu=i(23967),ec=i(80022);function calcLength(t){return t.max-t.min}function isNear(t,n=0,i=.01){return Math.abs(t-n)<=i}function calcAxisDelta(t,n,i,o=.5){t.origin=o,t.originPoint=(0,ec.C)(n.min,n.max,t.origin),t.scale=calcLength(i)/calcLength(n),(isNear(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,ec.C)(i.min,i.max,t.origin)-t.originPoint,(isNear(t.translate)||isNaN(t.translate))&&(t.translate=0)}function calcBoxDelta(t,n,i,o){calcAxisDelta(t.x,n.x,i.x,o?o.originX:void 0),calcAxisDelta(t.y,n.y,i.y,o?o.originY:void 0)}function calcRelativeAxis(t,n,i){t.min=i.min+n.min,t.max=t.min+calcLength(n)}function calcRelativeAxisPosition(t,n,i){t.min=n.min-i.min,t.max=t.min+calcLength(n)}function calcRelativePosition(t,n,i){calcRelativeAxisPosition(t.x,n.x,i.x),calcRelativeAxisPosition(t.y,n.y,i.y)}var ef=i(24169);function calcRelativeAxisConstraints(t,n,i){return{min:void 0!==n?t.min+n:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function calcViewportAxisConstraints(t,n){let i=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,o]=[o,i]),{min:i,max:o}}function resolveAxisElastic(t,n,i){return{min:resolvePointElastic(t,n),max:resolvePointElastic(t,i)}}function resolvePointElastic(t,n){return"number"==typeof t?t:t[n]||0}var ed=i(61512);function eachAxis(t){return[t("x"),t("y")]}var eh=i(56460),ep=i(76117),em=i(96190),ey=i(36719);let getContextWindow=({current:t})=>t?t.ownerDocument.defaultView:null,eg=new WeakMap;let VisualElementDragControls=class VisualElementDragControls{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,ed.dO)(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){let{presenceContext:i}=this.visualElement;i&&!1===i.isPresent||(this.panSession=new PanSession(t,{onSessionStart:t=>{this.stopAnimation(),n&&this.snapToCursor(extractEventInfo(t,"page").point)},onStart:(t,n)=>{let{drag:i,dragPropagation:o,onDragStart:a}=this.getProps();if(i&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=getGlobalLock(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(t=>{let n=this.getAxisMotionValue(t).get()||0;if(em.aQ.test(n)){let{projection:i}=this.visualElement;if(i&&i.layout){let o=i.layout.layoutBox[t];if(o){let t=calcLength(o);n=t*(parseFloat(n)/100)}}}this.originPoint[t]=n}),a&&N.Wi.update(()=>a(t,n),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,n)=>{let{dragPropagation:i,dragDirectionLock:o,onDirectionLock:a,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:l}=n;if(o&&null===this.currentDirection){this.currentDirection=function(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}(l),null!==this.currentDirection&&a&&a(this.currentDirection);return}this.updateAxis("x",n.point,l),this.updateAxis("y",n.point,l),this.visualElement.render(),s&&s(t,n)},onSessionEnd:(t,n)=>this.stop(t,n)},{transformPagePoint:this.visualElement.getTransformPagePoint(),contextWindow:getContextWindow(this.visualElement)}))}stop(t,n){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:a}=this.getProps();a&&N.Wi.update(()=>a(t,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){let{drag:o}=this.getProps();if(!i||!shouldDrag(t,o,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:n,max:i},o){return void 0!==n&&t<n?t=o?(0,ec.C)(n,t,o.min):Math.max(t,n):void 0!==i&&t>i&&(t=o?(0,ec.C)(i,t,o.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;let{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,a=this.constraints;n&&(0,h.I)(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=function(t,{top:n,left:i,bottom:o,right:a}){return{x:calcRelativeAxisConstraints(t.x,i,a),y:calcRelativeAxisConstraints(t.y,n,o)}}(o.layoutBox,n):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:resolveAxisElastic(t,"left","right"),y:resolveAxisElastic(t,"top","bottom")}}(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,n){let i={};return void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i}(o.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!(0,h.I)(n))return!1;let o=n.current;(0,es.k)(null!==o,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let s=(0,eh.z)(o,a.root,this.visualElement.getTransformPagePoint()),l={x:calcViewportAxisConstraints((t=a.layout.layoutBox).x,s.x),y:calcViewportAxisConstraints(t.y,s.y)};if(i){let t=i((0,ep.z2)(l));this.hasMutatedConstraints=!!t,t&&(l=(0,ep.i8)(t))}return l}startAnimation(t){let{drag:n,dragMomentum:i,dragElastic:o,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},c=eachAxis(l=>{if(!shouldDrag(l,n,this.currentDirection))return;let c=u&&u[l]||{};s&&(c={min:0,max:0});let d={type:"inertia",velocity:i?t[l]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...a,...c};return this.startAxisValueAnimation(l,d)});return Promise.all(c).then(l)}startAxisValueAnimation(t,n){let i=this.getAxisMotionValue(t);return i.start((0,ey.v)(t,i,0,n))}stopAnimation(){eachAxis(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let n="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),o=i[n];return o||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){eachAxis(n=>{let{drag:i}=this.getProps();if(!shouldDrag(n,i,this.currentDirection))return;let{projection:o}=this.visualElement,a=this.getAxisMotionValue(n);if(o&&o.layout){let{min:i,max:s}=o.layout.layoutBox[n];a.set(t[n]-(0,ec.C)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!(0,h.I)(n)||!i||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};eachAxis(t=>{let n=this.getAxisMotionValue(t);if(n){let i=n.get();o[t]=function(t,n){let i=.5,o=calcLength(t),a=calcLength(n);return a>o?i=(0,eu.Y)(n.min,n.max-o,t.min):o>a&&(i=(0,eu.Y)(t.min,t.max-a,n.min)),(0,ef.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),eachAxis(n=>{if(!shouldDrag(n,t,null))return;let i=this.getAxisMotionValue(n),{min:a,max:s}=this.constraints[n];i.set((0,ec.C)(a,s,o[n]))})}addListeners(){if(!this.visualElement.current)return;eg.set(this.visualElement,this);let t=this.visualElement.current,n=addPointerEvent(t,"pointerdown",t=>{let{drag:n,dragListener:i=!0}=this.getProps();n&&i&&this.start(t)}),measureDragConstraints=()=>{let{dragConstraints:t}=this.getProps();(0,h.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",measureDragConstraints);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),measureDragConstraints();let a=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:n})=>{this.isDragging&&n&&(eachAxis(n=>{let i=this.getAxisMotionValue(n);i&&(this.originPoint[n]+=t[n].translate,i.set(i.get()+t[n].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:s=.35,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:a,dragElastic:s,dragMomentum:l}}};function shouldDrag(t,n,i){return(!0===n||n===t)&&(null===i||i===t)}let asyncHandler=t=>(n,i)=>{t&&N.Wi.update(()=>t(n,i))},ev={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pixelsToPercent(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}let eb={correct:(t,n)=>{if(!n.target)return t;if("string"==typeof t){if(!em.px.test(t))return t;t=parseFloat(t)}let i=pixelsToPercent(t,n.target.x),o=pixelsToPercent(t,n.target.y);return`${i}% ${o}%`}};var ex=i(51550),ew=i(64561);let MeasureLayoutWithContext=class MeasureLayoutWithContext extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:a}=t;(0,ew.B)(eE),a&&(n.group&&n.group.add(a),i&&i.register&&o&&i.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),ev.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:n,visualElement:i,drag:o,isPresent:a}=this.props,s=i.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==n||void 0===n?s.willUpdate():this.safeToRemove(),t.isPresent===a||(a?s.promote():s.relegate()||N.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function MeasureLayout(t){let[n,i]=function(){let t=(0,o.useContext)(l.O);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:i,register:a}=t,s=(0,o.useId)();return(0,o.useEffect)(()=>
24a(s),[]),!n&&i?[!1,()=>i&&i(s)]:[!0]}(),a=(0,o.useContext)(E.p);return o.createElement(MeasureLayoutWithContext,{...t,layoutGroup:a,switchLayoutGroup:(0,o.useContext)(_),isPresent:n,safeToRemove:i})}let eE={borderRadius:{...eb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eb,borderTopRightRadius:eb,borderBottomLeftRadius:eb,borderBottomRightRadius:eb,boxShadow:{correct:(t,{treeScale:n,projectionDelta:i})=>{let o=ex.P.parse(t);if(o.length>5)return t;let a=ex.P.createTransformer(t),s="number"!=typeof o[0]?1:0,l=i.x.scale*n.x,u=i.y.scale*n.y;o[0+s]/=l,o[1+s]/=u;let c=(0,ec.C)(l,u,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),a(o)}}};var e_=i(21560),eS=i(27255);let eA=["TopLeft","TopRight","BottomLeft","BottomRight"],eT=eA.length,asNumber=t=>"string"==typeof t?parseFloat(t):t,isPx=t=>"number"==typeof t||em.px.test(t);function getRadius(t,n){return void 0!==t[n]?t[n]:t.borderRadius}let eC=compress(0,.5,eS.Bn),eP=compress(.5,.95,Y.Z);function compress(t,n,i){return o=>o<t?0:o>n?1:i((0,eu.Y)(t,n,o))}function copyAxisInto(t,n){t.min=n.min,t.max=n.max}function copyBoxInto(t,n){copyAxisInto(t.x,n.x),copyAxisInto(t.y,n.y)}var ej=i(16e3);function removePointDelta(t,n,i,o,a){return t-=n,t=(0,ej.q2)(t,1/i,o),void 0!==a&&(t=(0,ej.q2)(t,1/a,o)),t}function removeAxisTransforms(t,n,[i,o,a],s,l){!function(t,n=0,i=1,o=.5,a,s=t,l=t){if(em.aQ.test(n)){n=parseFloat(n);let t=(0,ec.C)(l.min,l.max,n/100);n=t-l.min}if("number"!=typeof n)return;let u=(0,ec.C)(s.min,s.max,o);t===s&&(u-=n),t.min=removePointDelta(t.min,n,i,u,a),t.max=removePointDelta(t.max,n,i,u,a)}(t,n[i],n[o],n[a],n.scale,s,l)}let eO=["x","scaleX","originX"],ek=["y","scaleY","originY"];function removeBoxTransforms(t,n,i,o){removeAxisTransforms(t.x,n,eO,i?i.x:void 0,o?o.x:void 0),removeAxisTransforms(t.y,n,ek,i?i.y:void 0,o?o.y:void 0)}var eR=i(31056);function isAxisDeltaZero(t){return 0===t.translate&&1===t.scale}function isDeltaZero(t){return isAxisDeltaZero(t.x)&&isAxisDeltaZero(t.y)}function boxEqualsRounded(t,n){return Math.round(t.x.min)===Math.round(n.x.min)&&Math.round(t.x.max)===Math.round(n.x.max)&&Math.round(t.y.min)===Math.round(n.y.min)&&Math.round(t.y.max)===Math.round(n.y.max)}function aspectRatio(t){return calcLength(t.x)/calcLength(t.y)}var eB=i(10010);let NodeStack=class NodeStack{constructor(){this.members=[]}add(t){(0,eB.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,eB.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let n;let i=this.members.findIndex(n=>t===n);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){n=i;break}}return!!n&&(this.promote(n),!0)}promote(t,n){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;!1===o&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function buildProjectionTransform(t,n,i){let o="",a=t.x.translate/n.x,s=t.y.translate/n.y;if((a||s)&&(o=`translate3d(${a}px, ${s}px, 0) `),(1!==n.x||1!==n.y)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){let{rotate:t,rotateX:n,rotateY:a}=i;t&&(o+=`rotate(${t}deg) `),n&&(o+=`rotateX(${n}deg) `),a&&(o+=`rotateY(${a}deg) `)}let l=t.x.scale*n.x,u=t.y.scale*n.y;return(1!==l||1!==u)&&(o+=`scale(${l}, ${u})`),o||"none"}var eI=i(99527);let compareByDepth=(t,n)=>t.depth-n.depth;let FlatTree=class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eB.y4)(this.children,t),this.isDirty=!0}remove(t){(0,eB.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEac
24h(t)}};var eD=i(75194),eM=i(61059);let eF=["","X","Y","Z"],eL={visibility:"hidden"},eV=0,eN={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function createProjectionNode({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:a}){return class{constructor(t={},i=null==n?void 0:n()){this.id=eV++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eN.totalNodes=eN.resolvedTargetDeltas=eN.recalculatedProjection=0,this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),window.MotionDebug&&window.MotionDebug.record(eN)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(t,n){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new e_.L),this.eventHandlers.get(t).add(n)}notifyListeners(t,...n){let i=this.eventHandlers.get(t);i&&i.notify(...n)}hasListeners(t){return this.eventHandlers.has(t)}mount(n,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,eD.v)(n),this.instance=n;let{layoutId:o,layout:a,visualElement:s}=this.options;if(s&&!s.current&&s.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(a||o)&&(this.isLayoutDirty=!0),t){let i;let resizeUnblockUpdate=()=>this.root.updateBlockedByResize=!1;t(n,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,n){let i=performance.now(),checkElapsed=({timestamp:o})=>{let a=o-i;a>=n&&((0,N.Pn)(checkElapsed),t(a-n))};return N.Wi.read(checkElapsed,!0),()=>(0,N.Pn)(checkElapsed)}(resizeUnblockUpdate,250),ev.hasAnimatedSinceResize&&(ev.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||a)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:n,hasRelativeTargetChanged:i,layout:o})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||s.getDefaultTransition()||eU,{onLayoutAnimationStart:l,onLayoutAnimationComplete:u}=s.getProps(),c=!this.targetLayout||!boxEqualsRounded(this.targetLayout,o)||i,d=!n&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||d||n&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,d);let n={...(0,eR.e)(a,"layout"),onPlay:l,onComplete:u};(s.shouldReduceMotion||this.options.layoutRoot)&&(n.delay=0,n.type=!1),this.startAnimation(n)}else n||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,N.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
24h(resetRotation),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let n=this.path[t];n.shouldResetTransform=!0,n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}let{layoutId:n,layout:i}=this.options;if(void 0===n&&!i)return;let o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;let t=this.isUpdateBlocked();if(t){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}this.isUpdating||this.nodes.forEach(clearIsLayoutDirty),this.isUpdating=!1,this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots();let n=performance.now();N.frameData.delta=(0,ef.u)(0,1e3/60,n-N.frameData.timestamp),N.frameData.timestamp=n,N.frameData.isProcessing=!0,N.S6.update.process(N.frameData),N.S6.preRender.process(N.frameData),N.S6.render.process(N.frameData),N.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,N.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){N.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){let n=this.path[t];n.updateScroll()}let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,ed.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:n}=this.options;n&&n.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let n=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(n=!1),n&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:o(this.instance),offset:i(this.instance)})}resetTransform(){if(!a)return;let t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!isDeltaZero(this.projectionDelta),i=this.getTransformTemplate(),o=i?i(this.latestValues,""):void 0,s=o!==this.prevTransformTemplateValue;t&&(n||(0,eI.ud)(this.latestValues)||s)&&(a(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var n;let i=this.measurePageBox(),o=this.removeElementScroll(i);return t&&(o=this.removeTransform(o)),roundAxis((n=o).x),roundAxis(n.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:o,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,ed.dO)();let n=t.measureViewportBox(),{scroll:i}=this.root;return i&&((0,ej.am)(n.x,i.offset.x),(0,ej.am)(n.y,i.offset.y)),n}removeElementScroll(t){let n=(0,ed.dO)();copyBoxInto(n,t);for(let i=0;i<this.path.length;i++){let o=this.path[i],{scroll:a,options:s}=o;if(o!==this.root&&a&&s.layoutScroll){if(a.isRoot){copyBoxInto(n,t);let{scroll:i}=this.root;i&&((0,ej.am)(n.x,-i.offset.x),(0,ej.am)(n.y,-i.offset.y))}(0,ej.am)(n.x,a.offset.x),(0,ej.am)(n.y,a.offset.y)}}return n}applyTransform(t,n=!1){let i=(0,ed.dO)();copyBoxInto(i,t);for(let t=0;t<this.path.length;t++){let o=this.path[t];!n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(0,ej.D2)(i,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),(0,eI.ud)(o.latestValues)&&(0,ej.D2)(i,o.latestValues)}return(0,eI.ud)(this.latestValues)&&(0,ej.D2)(i,this.latestValues),i}removeTransform(t){let n=(0,ed.dO)();copyBoxInto(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,eI.ud)(i.latestValues))continue;(0,eI.Lj)(i.latestValues)&&i.updateSnapshot();let o=(0,ed.dO)(),a=i.measurePageBox();copyBoxInto(o,a),removeBoxTransforms(n,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,o)}return(0,eI.ud)(this.latestValues)&&removeBoxTransforms(n,this.latestValues),n}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==N.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var n,i,o,a;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
24haredProjectionDirty);let l=!!this.resumingFrom||this!==s,u=!(t||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(n=this.parent)||void 0===n?void 0:n.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(u)return;let{layout:c,layoutId:d}=this.options;if(this.layout&&(c||d)){if(this.resolvedRelativeTargetAt=N.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,ed.dO)(),this.relativeTargetOrigin=(0,ed.dO)(),calcRelativePosition(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,ed.dO)(),this.targetWithTransforms=(0,ed.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,o=this.relativeTarget,a=this.relativeParent.target,calcRelativeAxis(i.x,o.x,a.x),calcRelativeAxis(i.y,o.y,a.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),(0,ej.o2)(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,ed.dO)(),this.relativeTargetOrigin=(0,ed.dO)(),calcRelativePosition(this.relativeTargetOrigin,this.target,t.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}eN.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,eI.Lj)(this.parent.latestValues)||(0,eI.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let n=this.getLead(),i=!!this.resumingFrom||this!==n,o=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(o=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===N.frameData.timestamp&&(o=!1),o)return;let{layout:a,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(a||s))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);let l=this.treeScale.x,u=this.treeScale.y;(0,ej.YY)(this.layoutCorrected,this.treeScale,this.path,i),n.layout&&!n.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(n.target=n.layout.layoutBox);let{target:c}=n;if(!c){this.projectionTransform&&(this.projectionDelta=(0,ed.wc)(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=(0,ed.wc)(),this.projectionDeltaWithTransform=(0,ed.wc)());let d=this.projectionTransform;calcBoxDelta(this.projectionDelta,this.layoutCorrected,c,this.latestValues),this.projectionTransform=buildProjectionTransform(this.projectionDelta,this.treeScale),(this.projectionTransform!==d||this.treeScale.x!==l||this.treeScale.y!==u)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",c)),eN.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,n=!1){let i;let o=this.snapshot,a=o?o.latestValues:{},s={...this.latestValues},l=(0,ed.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let u=(0,ed.dO)(),c=o?o.source:void 0,d=this.layout?this.layout.source:void 0,h=c!==d,m=this.getStack(),g=!m||m.members.length<=1,x=!!(h&&!g&&!0===this.options.crossfade&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0,this.mixTargetDelta=n=>{let o=n/1e3;if(mixAxisDelta(l.x,t.x,o),mixAxisDelta(l.y,t.y,o),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,d,m,w;calcRelativePosition(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,w=this.relativeTargetOrigin,mixAxis(m.x,w.x,u.x,o),mixAxis(m.y,w.y,u.y,o),i&&(c=this.relativeTarget,d=i,c.x.min===d.x.min&&c.x.max===d.x.max&&c.y.min===d.y.min&&c.y.max===d.y.max)&&(this.isProjectionDirty=!1),i||(i=(0,ed.dO)()),copyBoxInto(i,this.relativeTarget)}h&&(this.animationValues=s,function(t,n,i,o,a,s){a?(t.opacity=(0,ec.C)(0,void 0!==i.opacity?i.opacity:1,eC(o)),t.opacityExit=(0,ec.C)(void 0!==n.opacity?n.opacity:1,0,eP(o))):s&&(t.opacity=(0,ec.C)(void 0!==n.opacity?n.opacity:1,void 0!==i.opacity?i.opacity:1,o));for(let a=0;a<eT;
24a++){let s=`border${eA[a]}Radius`,l=getRadius(n,s),u=getRadius(i,s);if(void 0===l&&void 0===u)continue;l||(l=0),u||(u=0);let c=0===l||0===u||isPx(l)===isPx(u);c?(t[s]=Math.max((0,ec.C)(asNumber(l),asNumber(u),o),0),(em.aQ.test(u)||em.aQ.test(l))&&(t[s]+="%")):t[s]=u}(n.rotate||i.rotate)&&(t.rotate=(0,ec.C)(n.rotate||0,i.rotate||0,o))}(s,a,this.latestValues,o,x,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=o},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,N.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=N.Wi.update(()=>{ev.hasAnimatedSinceResize=!0,this.currentAnimation=(0,eM.D)(0,1e3,{...t,onUpdate:n=>{this.mixTargetDelta(n),t.onUpdate&&t.onUpdate(n)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:n,target:i,layout:o,latestValues:a}=t;if(n&&i&&o){if(this!==t&&this.layout&&o&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,o.layoutBox)){i=this.target||(0,ed.dO)();let n=calcLength(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+n;let o=calcLength(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+o}copyBoxInto(n,i),(0,ej.D2)(n,a),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,n,a)}}registerSharedNode(t,n){this.sharedNodes.has(t)||this.sharedNodes.set(t,new NodeStack);let i=this.sharedNodes.get(t);i.add(n);let o=n.options.initialPromotionConfig;n.promote({transition:o?o.transition:void 0,preserveFollowOpacity:o&&o.shouldPreserveFollowOpacity?o.shouldPreserveFollowOpacity(n):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:n}=this.options;return n&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:n}=this.options;return n?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:n,preserveFollowOpacity:i}={}){let o=this.getStack();o&&o.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let n=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(n=!0),!n)return;let o={};for(let n=0;n<eF.length;n++){let a="rotate"+eF[n];i[a]&&(o[a]=i[a],t.setStaticValue(a,0))}for(let n in t.render(),o)t.setStaticValue(n,o[n]);t.scheduleRender()}getProjectionStyles(t){var n,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return eL;let o={visibility:""},a=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=resolveMotionValue(null==t?void 0:t.pointerEvents)||"",o.transform=a?a(this.latestValues,""):"none",o;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let n={};
24return this.options.layoutId&&(n.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,n.pointerEvents=resolveMotionValue(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,eI.ud)(this.latestValues)&&(n.transform=a?a({},""):"none",this.hasProjected=!1),n}let l=s.animationValues||s.latestValues;this.applyTransformsToTarget(),o.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,l),a&&(o.transform=a(l,o.transform));let{x:u,y:c}=this.projectionDelta;for(let t in o.transformOrigin=`${100*u.origin}% ${100*c.origin}% 0`,s.animationValues?o.opacity=s===this?null!==(i=null!==(n=l.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:o.opacity=s===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0,ew.P){if(void 0===l[t])continue;let{correct:n,applyTo:i}=ew.P[t],a="none"===o.transform?l[t]:n(l[t],s);if(i){let t=i.length;for(let n=0;n<t;n++)o[i[n]]=a}else o[t]=a}return this.options.layoutId&&(o.pointerEvents=s===this?resolveMotionValue(null==t?void 0:t.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var n;return null===(n=t.currentAnimation)||void 0===n?void 0:n.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(t){t.updateLayout()}function notifyLayoutUpdate(t){var n;let i=(null===(n=t.resumeFrom)||void 0===n?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:o}=t.layout,{animationType:a}=t.options,s=i.source!==t.layout.source;"size"===a?eachAxis(t=>{let o=s?i.measuredBox[t]:i.layoutBox[t],a=calcLength(o);o.min=n[t].min,o.max=o.min+a}):shouldAnimatePositionOnly(a,i.layoutBox,n)&&eachAxis(o=>{let a=s?i.measuredBox[o]:i.layoutBox[o],l=calcLength(n[o]);a.max=a.min+l,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[o].max=t.relativeTarget[o].min+l)});let l=(0,ed.wc)();calcBoxDelta(l,n,i.layoutBox);let u=(0,ed.wc)();s?calcBoxDelta(u,t.applyTransform(o,!0),i.measuredBox):calcBoxDelta(u,n,i.layoutBox);let c=!isDeltaZero(l),d=!1;if(!t.resumeFrom){let o=t.getClosestProjectingParent();if(o&&!o.resumeFrom){let{snapshot:a,layout:s}=o;if(a&&s){let l=(0,ed.dO)();calcRelativePosition(l,i.layoutBox,a.layoutBox);let u=(0,ed.dO)();calcRelativePosition(u,n,s.layoutBox),boxEqualsRounded(l,u)||(d=!0),o.options.layoutRoot&&(t.relativeTarget=u,t.relativeTargetOrigin=l,t.relativeParent=o)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:i,delta:u,layoutDelta:l,hasLayoutChanged:c,hasRelativeTargetChanged:d})}else if(t.isLead()){let{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function propagateDirtyNodes(t){eN.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function cleanDirtyNodes(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function clearSnapshot(t){t.clearSnapshot()}function clearMeasurements(t){t.clearMeasurements()}function clearIsLayoutDirty(t){t.isLayoutDirty=!1}function resetTransformStyle(t){let{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function finishAnimation(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function resolveTargetDelta(t){t.resolveTargetDelta()}function calcProjection(t){t.calcProjection()}function resetRotation(t){t.resetRotation()}function removeLeadSnapshots(t){t.removeLeadSnapshot()}function mixAxisDelta(t,n,i){t.translate=(0,ec.C)(n.translate,0,i),t.scale=(0,ec.C)(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function mixAxis(t,n,i,o){t.min=(0,ec.C)(n.min,i.min,o),t.max=(0,ec.C)(n.max,i.max,o)}function hasOpacityCrossfade(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let eU={duration:.45,ease:[.4,0,.1,1]},userAgentContains=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),e$=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:Y.Z;function roundAxis(t){t.min=e$(t.min),t.max=e$(t.max)}function shouldAnimatePositionOnly(t,n,i){return"position"===t||"preserve-aspect"===t&&!isNear(aspectRatio(n),aspectRatio(i),.2)}let eZ=createProjectionNode({attachResizeListener:(t,n)=>addDomEvent(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ez={current:void 0},eW=createProjectionNode({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ez.current){let t=new eZ({});t.mount(window),t.setOptions({layoutScroll:!0}),ez.current=t}return ez.current},resetTransform:(t,n)=>{t.style.transform=void 0!==n?n:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eH=i(34547),eq=i(25794);let create_visual_element_createDomVisualElement=(t,n)=>isSVGComponent(t)?new eq.e(n,{enableHardwareAcceleration:!1}):new eH.W(n,{enableHardwareAcceleration:!0}),eK={animation:{Feature:class extends Feature{constructor(t){super(t),t.animationState||(t.animationState=function(t){let animate=n=>Promise.all(n.map(({animation:n,options:i})=>(0,en.d)(t,n,i))),n={animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}
24,i=!0,buildResolvedTypeValues=(n,i)=>{let o=(0,et.x)(t,i);if(o){let{transition:t,transitionEnd:i,...a}=o;n={...n,...a,...i}}return n};function animateChanges(o,a){let s=t.getProps(),l=t.getVariantContext(!0)||{},u=[],c=new Set,d={},h=1/0;for(let x=0;x<eo;x++){var g;let w=ei[x],E=n[w],_=void 0!==s[w]?s[w]:l[w],T=(0,m.$)(_),C=w===a?E.isActive:null;!1===C&&(h=x);let P=_===l[w]&&_!==s[w]&&T;if(P&&i&&t.manuallyAnimateOnMount&&(P=!1),E.protectedKeys={...d},!E.isActive&&null===C||!_&&!E.prevProp||(0,M.H)(_)||"boolean"==typeof _)continue;let j=(g=E.prevProp,"string"==typeof _?_!==g:!!Array.isArray(_)&&!shallowCompare(_,g)),O=j||w===a&&E.isActive&&!P&&T||x>h&&T,k=Array.isArray(_)?_:[_],R=k.reduce(buildResolvedTypeValues,{});!1===C&&(R={});let{prevResolvedValues:B={}}=E,I={...B,...R},markToAnimate=t=>{O=!0,c.delete(t),E.needsAnimating[t]=!0};for(let t in I){let n=R[t],i=B[t];d.hasOwnProperty(t)||(n!==i?(0,ee.C)(n)&&(0,ee.C)(i)?!shallowCompare(n,i)||j?markToAnimate(t):E.protectedKeys[t]=!0:void 0!==n?markToAnimate(t):c.add(t):void 0!==n&&c.has(t)?markToAnimate(t):E.protectedKeys[t]=!0)}E.prevProp=_,E.prevResolvedValues=R,E.isActive&&(d={...d,...R}),i&&t.blockInitialAnimation&&(O=!1),O&&!P&&u.push(...k.map(t=>({animation:t,options:{type:w,...o}})))}if(c.size){let n={};c.forEach(i=>{let o=t.getBaseTarget(i);void 0!==o&&(n[i]=o)}),u.push({animation:n})}let x=!!u.length;return i&&(!1===s.initial||s.initial===s.animate)&&!t.manuallyAnimateOnMount&&(x=!1),i=!1,x?animate(u):Promise.resolve()}return{animateChanges,setActive:function(i,o,a){var s;if(n[i].isActive===o)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(i,o)}),n[i].isActive=o;let l=animateChanges(a,i);for(let t in n)n[t].protectedKeys={};return l},setAnimateFunction:function(n){animate=n(t)},getState:()=>n}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,M.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Feature{constructor(){super(...arguments),this.id=ea++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:n,custom:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;let a=this.node.animationState.setActive("exit",!t,{custom:null!=i?i:this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:a}=t,s={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:Q[o]};return function(t,n,i){let o=function({root:t,...n}){let i=t||document;J.has(i)||J.set(i,{});let o=J.get(i),a=JSON.stringify(n);return o[a]||(o[a]=new IntersectionObserver(fireAllObserverCallbacks,{root:t,...n})),o[a]}(n);return X.set(t,i),o.observe(t),()=>{X.delete(t),o.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:n}=t;if(this.isInView===n||(this.isInView=n,a&&!n&&this.hasEnteredView))return;n&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",n);let{onViewportEnter:i,onViewportLeave:o}=this.node.getProps(),s=n?i:o;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:n}=this.node,i=["amount","margin","root"].some(function({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}(t,n));i&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Feature{constructor(){super(...arguments),this.removeStartListeners=Y.Z,this.removeEndListeners=Y.Z,this.removeAccessibleListeners=Y.Z,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;let i=this.node.getProps(),o=addPointerEvent(window,"pointerup",(t,n)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:o}=this.node.getProps();N.Wi.update(()=>{isNodeOrChild(this.node.current,t.target)?i&&i(t,n):o&&o(t,n)})},{passive:!(i.onTap||i.onPointerUp)}),a=addPointerEvent(window,"pointercancel",(t,n)=>this.cancelPress(t,n),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,H.z)(o,a),this.startPress(t,n)},this.startAccessiblePress=()=>{let t=addDomEvent(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=addD
24omEvent(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&fireSyntheticPointerEvent("up",(t,n)=>{let{onTap:i}=this.node.getProps();i&&N.Wi.update(()=>i(t,n))})}),fireSyntheticPointerEvent("down",(t,n)=>{this.startPress(t,n)}))}),n=addDomEvent(this.node.current,"blur",()=>{this.isPressing&&fireSyntheticPointerEvent("cancel",(t,n)=>this.cancelPress(t,n))});this.removeAccessibleListeners=(0,H.z)(t,n)}}startPress(t,n){this.isPressing=!0;let{onTapStart:i,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&N.Wi.update(()=>i(t,n))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!isDragActive()}cancelPress(t,n){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&N.Wi.update(()=>i(t,n))}mount(){let t=this.node.getProps(),n=addPointerEvent(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=addDomEvent(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,H.z)(n,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(n){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,H.z)(addDomEvent(this.node.current,"focus",()=>this.onFocus()),addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Feature{mount(){this.unmount=(0,H.z)(addHoverEvent(this.node,!0),addHoverEvent(this.node,!1))}unmount(){}}},pan:{Feature:class extends Feature{constructor(){super(...arguments),this.removePointerDownListener=Y.Z}onPointerDown(t){this.session=new PanSession(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:asyncHandler(t),onStart:asyncHandler(n),onMove:i,onEnd:(t,n)=>{delete this.session,o&&N.Wi.update(()=>o(t,n))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Feature{constructor(t){super(t),this.removeGroupControls=Y.Z,this.removeListeners=Y.Z,this.controls=new VisualElementDragControls(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Y.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:eW,MeasureLayout:MeasureLayout},layout:{ProjectionNode:eW,MeasureLayout:MeasureLayout}},eG=function(t){function custom(n,i={}){return function({preloadedFeatures:t,createVisualElement:n,useRender:i,useVisualState:C,Component:P}){t&&function(t){for(let n in t)x.A[n]={...x.A[n],...t[n]}}(t);let j=(0,o.forwardRef)(function(x,T){var j;let O;let k={...(0,o.useContext)(a._),...x,layoutId:function({layoutId:t}){let n=(0,o.useContext)(E.p).id;return n&&void 0!==t?n+"-"+t:t}(x)},{isStatic:R}=k,B=function(t){let{initial:n,animate:i}=function(t,n){if((0,g.G)(t)){let{initial:n,animate:i}=t;return{initial:!1===n||(0,m.$)(n)?n:void 0,animate:(0,m.$)(i)?i:void 0}}return!1!==t.inherit?n:{}}(t,(0,o.useContext)(s));return(0,o.useMemo)(()=>({initial:n,animate:i}),[variantLabelsAsDependency(n),variantLabelsAsDependency(i)])}(x),I=C(x,R);if(!R&&w.j){B.visualElement=function(t,n,i,h){let{visualElement:m}=(0,o.useContext)(s),g=(0,o.useContext)(c),x=(0,o.useContext)(l.O),w=(0,o.useContext)(a._).reducedMotion,E=(0,o.useRef)();h=h||g.renderer,!E.current&&h&&(E.current=h(t,{visualState:n,parent:m,props:i,presenceContext:x,blockInitialAnimation:!!x&&!1===x.initial,reducedMotionConfig:w}));let _=E.current;(0,o.useInsertionEffect)(()=>{_&&_.update(i,x)});let T=(0,o.useRef)(!!(i[d.M]&&!window.HandoffComplete));return(0,u.L)(()=>{_&&(_.render(),T.current&&_.animationState&&_.animationState.animateChanges())}),(0,o.useEffect)(()=>{_&&(_.updateFeatures(),!T.current&&_.animationState&&_.animationState.animateChanges(),T.current&&(T.current=!1,window.HandoffComplete=!0))}),_}(P,I,k,n);let i=(0,o.useContext)(_),h=(0,o.useContext)(c).strict;B.visualElement&&(O=B.visualElement.loadFeatures(k,h,t,i))}return o.createElement(s.Provider,{value:B},O&&B.visualElement?o.createElement(O,{visualElement:B.visualElement,...k}):null,i(P,x,(j=B.visualElement,(0,o.useCallback)(t=>{t&&I.mount&&I.mount(t),j&&(t?j.mount(t):j.unmount()),T&&("function"==typeof T?T(t):(0,h.I)(T)&&(T.current=t))},[j])),I,R,B.visualElement))});return j[T]=P,j}(t(n,i))}if("undefined"==typeof Proxy)return custom;let n=new Map;return new Proxy(custom,{get:(t,i)=>(n.has(i)||n.set(i,custom(i)),n.get(i))})}((t,n)=>(function(t,{forwardMotionProps:n=!1},i,a){let s=isSVGComponent(t)?U:W;return{...s,preloadedFeatures:i,useRender:function(t=!1){return(n,i,a,{latestValues:s},l)=>{let u=isSVGComponent(n)?useSVGProps:useHTMLProps,c=u(i,s,l,n),d=(0,k.L)(i,"string"==typeof n,t),h={...d,...c,ref:a},{children:m}=i,g=(0,o.useMemo)(()=>(0,j.i)(m)?m.get():m,[m]);return(0,o.createElement)(n,{...h,children:g})}}(n),createVisualElement:a,Component:t}})(t,n,eK,create_visual_element_createDomVisualElement))},93193:function(t,n,i){"use strict";i.d(n,{D:function(){return camelToDash}});let camelToDash=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},91492:function(t,n,i){"use strict";i.d(n,{L:function(){return filterProps},K:function(){return loadExternalIsValidProp}});let o=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function isValidMotionProp(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||o.has(t)}let shouldForward=t=>!isValidMotionProp(t);function loadExternalIsValidProp(t){t&&(shouldForward=n=>n.startsWith("on")?!isValidMotionProp(n):t(n))}try{loadExternalIsValidProp(require("@emotion/is-prop-valid").default)}catch(t){}function filterProps(t,n,i){let o={};for(let a in t)("values"!==a||"object"!=typeof t.values)&&(shouldForward(a)||!0===i&&isValidMotionProp(a)||!n&&!isValidMotionProp(a)||t.draggable&&a.startsWith("onDrag"))&&(o[a]=t[a]);return o}},57630:function(t,n,i){"use strict";i.d(n,{Xp:function(){return s},f9:function(){return o},tm:function(){return a}});let checkStringStartsWith=t=>n=>"string"==typeof n&&n.startsWith(t),o=checkStringStartsWith("--"),a=checkStringStartsWith("var(--"),s=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?
24:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},75194:function(t,n,i){"use strict";function isSVGElement(t){return t instanceof SVGElement&&"svg"!==t.tagName}i.d(n,{v:function(){return isSVGElement}})},37301:function(t,n,i){"use strict";i.d(n,{I:function(){return resolveElements}});var o=i(45487);function resolveElements(t,n,i){var a;if("string"==typeof t){let s=document;n&&((0,o.k)(!!n.current,"Scope provided, but no element detected."),s=n.current),i?(null!==(a=i[t])&&void 0!==a||(i[t]=s.querySelectorAll(t)),t=i[t]):t=s.querySelectorAll(t)}else t instanceof Element&&(t=[t]);return Array.from(t||[])}},79135:function(t,n,i){"use strict";i.d(n,{T:function(){return getAnimatableNone}});var o=i(51550),a=i(97197),s=i(2728);function getAnimatableNone(t,n){let i=(0,s.A)(t);return i!==a.h&&(i=o.P),i.getAnimatableNone?i.getAnimatableNone(n):void 0}},2728:function(t,n,i){"use strict";i.d(n,{A:function(){return getDefaultValueType}});var o=i(85385),a=i(97197),s=i(36173);let l={...s.j,color:o.$,backgroundColor:o.$,outlineColor:o.$,fill:o.$,stroke:o.$,borderColor:o.$,borderTopColor:o.$,borderRightColor:o.$,borderBottomColor:o.$,borderLeftColor:o.$,filter:a.h,WebkitFilter:a.h},getDefaultValueType=t=>l[t]},56440:function(t,n,i){"use strict";i.d(n,{$:function(){return l},C:function(){return findDimensionValueType}});var o=i(61649),a=i(96190),s=i(88340);let l=[o.Rx,a.px,a.aQ,a.RW,a.vw,a.vh,{test:t=>"auto"===t,parse:t=>t}],findDimensionValueType=t=>l.find((0,s.l)(t))},36173:function(t,n,i){"use strict";i.d(n,{j:function(){return l}});var o=i(61649),a=i(96190);let s={...o.Rx,transform:Math.round},l={borderWidth:a.px,borderTopWidth:a.px,borderRightWidth:a.px,borderBottomWidth:a.px,borderLeftWidth:a.px,borderRadius:a.px,radius:a.px,borderTopLeftRadius:a.px,borderTopRightRadius:a.px,borderBottomRightRadius:a.px,borderBottomLeftRadius:a.px,width:a.px,maxWidth:a.px,height:a.px,maxHeight:a.px,size:a.px,top:a.px,right:a.px,bottom:a.px,left:a.px,padding:a.px,paddingTop:a.px,paddingRight:a.px,paddingBottom:a.px,paddingLeft:a.px,margin:a.px,marginTop:a.px,marginRight:a.px,marginBottom:a.px,marginLeft:a.px,rotate:a.RW,rotateX:a.RW,rotateY:a.RW,rotateZ:a.RW,scale:o.bA,scaleX:o.bA,scaleY:o.bA,scaleZ:o.bA,skew:a.RW,skewX:a.RW,skewY:a.RW,distance:a.px,translateX:a.px,translateY:a.px,translateZ:a.px,x:a.px,y:a.px,z:a.px,perspective:a.px,transformPerspective:a.px,opacity:o.Fq,originX:a.$C,originY:a.$C,originZ:a.px,zIndex:s,fillOpacity:o.Fq,strokeOpacity:o.Fq,numOctaves:s}},88340:function(t,n,i){"use strict";i.d(n,{l:function(){return testValueType}});let testValueType=t=>n=>n.test(t)},34547:function(t,n,i){"use strict";i.d(n,{W:function(){return HTMLVisualElement}});var o=i(38057),a=i(57630),s=i(94714),l=i(50189),u=i(34242),c=i(2728),d=i(56460),h=i(81760),m=i(40406);let HTMLVisualElement=class HTMLVisualElement extends h.J{readValueFromInstance(t,n){if(s.G.has(n)){let t=(0,c.A)(n);return t&&t.default||0}{let i=window.getComputedStyle(t),o=((0,a.f9)(n)?i.getPropertyValue(n):i[n])||0;return"string"==typeof o?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return(0,d.J)(t,n)}build(t,n,i,a){(0,o.r)(t,n,i,a.transformTemplate)}scrapeMotionValuesFromProps(t,n){return(0,l.U)(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,m.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,n,i,o){(0,u.N)(t,n,i,o)}}},38057:function(t,n,i){"use strict";i.d(n,{r:function(){return buildHTMLStyles}});var o=i(94714);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s=o._.length;var l=i(57630);let getValueAsType=(t,n)=>n&&"number"==typeof t?n.transform(t):t;var u=i(36173);function buildHTMLStyles(t,n,i,c){let{style:d,vars:h,transform:m,transformOrigin:g}=t,x=!1,w=!1,E=!0;for(let t in n){let i=n[t];if((0,l.f9)(t)){h[t]=i;continue}let a=u.j[t],s=getValueAsType(i,a);if(o.G.has(t)){if(x=!0,m[t]=s,!E)continue;i!==(a.default||0)&&(E=!1)}else t.startsWith("origin")?(w=!0,g[t]=s):d[t]=s}if(!n.transform&&(x||c?d.transform=function(t,{enableHardwareAcceleration:n=!0,allowTransformNone:i=!0}
24,l,u){let c="";for(let n=0;n<s;n++){let i=o._[n];if(void 0!==t[i]){let n=a[i]||i;c+=`${n}(${t[i]}) `}}return n&&!t.z&&(c+="translateZ(0)"),c=c.trim(),u?c=u(t,l?"":c):i&&l&&(c="none"),c}(t.transform,i,E,c):d.transform&&(d.transform="none")),w){let{originX:t="50%",originY:n="50%",originZ:i=0}=g;d.transformOrigin=`${t} ${n} ${i}`}}},34242:function(t,n,i){"use strict";function renderHTML(t,{style:n,vars:i},o,a){for(let s in Object.assign(t.style,n,a&&a.getProjectionStyles(o)),i)t.style.setProperty(s,i[s])}i.d(n,{N:function(){return renderHTML}})},50189:function(t,n,i){"use strict";i.d(n,{U:function(){return scrapeMotionValuesFromProps}});var o=i(56816),a=i(40406);function scrapeMotionValuesFromProps(t,n){let{style:i}=t,s={};for(let l in i)((0,a.i)(i[l])||n.style&&(0,a.i)(n.style[l])||(0,o.j)(l,t))&&(s[l]=i[l]);return s}},94714:function(t,n,i){"use strict";i.d(n,{G:function(){return a},_:function(){return o}});let o=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],a=new Set(o)},56955:function(t,n,i){"use strict";i.d(n,{R:function(){return o}});let o=new WeakMap},25794:function(t,n,i){"use strict";i.d(n,{e:function(){return SVGVisualElement}});var o=i(16832),a=i(81760),s=i(85415),l=i(93193),u=i(77302),c=i(94714),d=i(68504),h=i(2728),m=i(61512),g=i(79854);let SVGVisualElement=class SVGVisualElement extends a.J{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(c.G.has(n)){let t=(0,h.A)(n);return t&&t.default||0}return n=u.s.has(n)?n:(0,l.D)(n),t.getAttribute(n)}measureInstanceViewportBox(){return(0,m.dO)()}scrapeMotionValuesFromProps(t,n){return(0,o.U)(t,n)}build(t,n,i,o){(0,s.i)(t,n,i,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,i,o){(0,d.K)(t,n,i,o)}mount(t){this.isSVGTag=(0,g.a)(t.tagName),super.mount(t)}}},85415:function(t,n,i){"use strict";i.d(n,{i:function(){return buildSVGAttrs}});var o=i(38057),a=i(96190);function calcOrigin(t,n,i){return"string"==typeof t?t:a.px.transform(n+i*t)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},l={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGAttrs(t,{attrX:n,attrY:i,attrScale:u,originX:c,originY:d,pathLength:h,pathSpacing:m=1,pathOffset:g=0,...x},w,E,_){if((0,o.r)(t,x,w,_),E){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:T,style:C,dimensions:P}=t;T.transform&&(P&&(C.transform=T.transform),delete T.transform),P&&(void 0!==c||void 0!==d||C.transform)&&(C.transformOrigin=function(t,n,i){let o=calcOrigin(n,t.x,t.width),a=calcOrigin(i,t.y,t.height);return`${o} ${a}`}(P,void 0!==c?c:.5,void 0!==d?d:.5)),void 0!==n&&(T.x=n),void 0!==i&&(T.y=i),void 0!==u&&(T.scale=u),void 0!==h&&function(t,n,i=1,o=0,u=!0){t.pathLength=1;let c=u?s:l;t[c.offset]=a.px.transform(-o);let d=a.px.transform(n),h=a.px.transform(i);t[c.array]=`${d} ${h}`}(T,h,m,g,!1)}},77302:function(t,n,i){"use strict";i.d(n,{s:function(){return o}});let o=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},79854:function(t,n,i){"use strict";i.d(n,{a:function(){return isSVGTag}});let isSVGTag=t=>"string"==typeof t&&"svg"===t.toLowerCase()},68504:function(t,n,i){"use strict";i.d(n,{K:function(){return renderSVG}});var o=i(93193),a=i(34242),s=i(77302);
24function renderSVG(t,n,i,l){for(let i in(0,a.N)(t,n,void 0,l),n.attrs)t.setAttribute(s.s.has(i)?i:(0,o.D)(i),n.attrs[i])}},16832:function(t,n,i){"use strict";i.d(n,{U:function(){return scrapeMotionValuesFromProps}});var o=i(40406),a=i(50189),s=i(94714);function scrapeMotionValuesFromProps(t,n){let i=(0,a.U)(t,n);for(let a in t)if((0,o.i)(t[a])||(0,o.i)(n[a])){let n=-1!==s._.indexOf(a)?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[n]=t[a]}return i}},7504:function(t,n,i){"use strict";i.d(n,{G:function(){return isControllingVariants},M:function(){return isVariantNode}});var o=i(2445),a=i(97732),s=i(22963);function isControllingVariants(t){return(0,o.H)(t.animate)||s.V.some(n=>(0,a.$)(t[n]))}function isVariantNode(t){return!!(isControllingVariants(t)||t.variants)}},97732:function(t,n,i){"use strict";function isVariantLabel(t){return"string"==typeof t||Array.isArray(t)}i.d(n,{$:function(){return isVariantLabel}})},52248:function(t,n,i){"use strict";i.d(n,{x:function(){return resolveVariant}});var o=i(79432);function resolveVariant(t,n,i){let a=t.getProps();return(0,o.o)(a,n,void 0!==i?i:a.custom,function(t){let n={};return t.values.forEach((t,i)=>n[i]=t.get()),n}(t),function(t){let n={};return t.values.forEach((t,i)=>n[i]=t.getVelocity()),n}(t))}},79432:function(t,n,i){"use strict";function resolveVariantFromProps(t,n,i,o={},a={}){return"function"==typeof n&&(n=n(void 0!==i?i:t.custom,o,a)),"string"==typeof n&&(n=t.variants&&t.variants[n]),"function"==typeof n&&(n=n(void 0!==i?i:t.custom,o,a)),n}i.d(n,{o:function(){return resolveVariantFromProps}})},14330:function(t,n,i){"use strict";i.d(n,{GJ:function(){return checkTargetForNewValues},P$:function(){return getOrigin},CD:function(){return setTarget},gg:function(){return setValues}});var o=i(33441),a=i(30681),s=i(8715),l=i(33234),u=i(51550),c=i(79135),d=i(85385),h=i(56440),m=i(88340);let g=[...h.$,d.$,u.P],findValueType=t=>g.find((0,m.l)(t));var x=i(52248);function setTarget(t,n){let i=(0,x.x)(t,n),{transitionEnd:o={},transition:a={},...u}=i?t.makeTargetAnimatable(i,!1):{};for(let n in u={...u,...o}){let i=(0,s.Y)(u[n]);t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,(0,l.BX)(i))}}function setVariants(t,n){let i=[...n].reverse();i.forEach(i=>{let o=t.getVariant(i);o&&setTarget(t,o),t.variantChildren&&t.variantChildren.forEach(t=>{setVariants(t,n)})})}function setValues(t,n){return Array.isArray(n)?setVariants(t,n):"string"==typeof n?setVariants(t,[n]):void setTarget(t,n)}function checkTargetForNewValues(t,n,i){var s,d;let h=Object.keys(n).filter(n=>!t.hasValue(n)),m=h.length;if(m)for(let g=0;g<m;g++){let m=h[g],x=n[m],w=null;Array.isArray(x)&&(w=x[0]),null===w&&(w=null!==(d=null!==(s=i[m])&&void 0!==s?s:t.readValue(m))&&void 0!==d?d:n[m]),null!=w&&("string"==typeof w&&((0,o.P)(w)||(0,a.W)(w))?w=parseFloat(w):!findValueType(w)&&u.P.test(x)&&(w=(0,c.T)(m,x)),t.addValue(m,(0,l.BX)(w,{owner:t})),void 0===i[m]&&(i[m]=w),null!==w&&t.setBaseTarget(m,w))}}function getOrigin(t,n,i){let o={};for(let a in t){let t=function(t,n){if(!n)return;let i=n[t]||n.default||n;return i.from}(a,n);if(void 0!==t)o[a]=t;else{let t=i.getValue(a);t&&(o[a]=t.get())}}return o}},22963:function(t,n,i){"use strict";i.d(n,{V:function(){return a},e:function(){return o}});let o=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],a=["initial",...o]},10010:function(t,n,i){"use strict";function addUniqueItem(t,n){-1===t.indexOf(n)&&t.push(n)}function removeItem(t,n){let i=t.indexOf(n);i>-1&&t.splice(i,1)}i.d(n,{cl:function(){return removeItem},y4:function(){return addUniqueItem}})},24169:function(t,n,i){"use strict";i.d(n,{u:function(){return clamp}});let clamp=(t,n,i)=>Math.min(Math.max(i,t),n)},45487:function(t,n,i){"use strict";i.d(n,{K:function(){return a},k:function(){return s}});var o=i(81662);let a=o.Z,s=o.Z},64606:function(t,n,i){"use strict";i.d(n,{s:function(){return interpolate}});var o=i(45487),a=i(85385),s=i(24169),l=i(80022);function hueToRgb(t,n,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(n-t)*6*i:i<.5?n:i<2/3?t+(n-t)*(2/3-i)*6:t}var u=i(26382),c=i(40819),d=i(93184);let mixLinearColor=(t,n,i)=>{let o=t*t;return Math.sqrt(Math.max(0,i*(n*n-o)+o))},h=[u.$,c.m,d.J],getColorType=t=>h.find(n=>n.test(t));function asRGBA(t){let n=getColorType(t);
24(0,o.k)(!!n,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let i=n.parse(t);return n===d.J&&(i=function({hue:t,saturation:n,lightness:i,alpha:o}){t/=360,i/=100;let a=0,s=0,l=0;if(n/=100){let o=i<.5?i*(1+n):i+n-i*n,u=2*i-o;a=hueToRgb(u,o,t+1/3),s=hueToRgb(u,o,t),l=hueToRgb(u,o,t-1/3)}else a=s=l=i;return{red:Math.round(255*a),green:Math.round(255*s),blue:Math.round(255*l),alpha:o}}(i)),i}let mixColor=(t,n)=>{let i=asRGBA(t),o=asRGBA(n),a={...i};return t=>(a.red=mixLinearColor(i.red,o.red,t),a.green=mixLinearColor(i.green,o.green,t),a.blue=mixLinearColor(i.blue,o.blue,t),a.alpha=(0,l.C)(i.alpha,o.alpha,t),c.m.transform(a))};var m=i(83624),g=i(51550);let mixImmediate=(t,n)=>i=>`${i>0?n:t}`;function getMixer(t,n){return"number"==typeof t?i=>(0,l.C)(t,n,i):a.$.test(t)?mixColor(t,n):t.startsWith("var(")?mixImmediate(t,n):mixComplex(t,n)}let mixArray=(t,n)=>{let i=[...t],o=i.length,a=t.map((t,i)=>getMixer(t,n[i]));return t=>{for(let n=0;n<o;n++)i[n]=a[n](t);return i}},mixObject=(t,n)=>{let i={...t,...n},o={};for(let a in i)void 0!==t[a]&&void 0!==n[a]&&(o[a]=getMixer(t[a],n[a]));return t=>{for(let n in o)i[n]=o[n](t);return i}},mixComplex=(t,n)=>{let i=g.P.createTransformer(n),a=(0,g.V)(t),s=(0,g.V)(n),l=a.numVars===s.numVars&&a.numColors===s.numColors&&a.numNumbers>=s.numNumbers;return l?(0,m.z)(mixArray(a.values,s.values),i):((0,o.K)(!0,`Complex values '${t}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),mixImmediate(t,n))};var x=i(23967),w=i(81662);let mixNumber=(t,n)=>i=>(0,l.C)(t,n,i);function interpolate(t,n,{clamp:i=!0,ease:l,mixer:u}={}){let c=t.length;if((0,o.k)(c===n.length,"Both input and output ranges must be the same length"),1===c)return()=>n[0];t[0]>t[c-1]&&(t=[...t].reverse(),n=[...n].reverse());let d=function(t,n,i){let o=[],s=i||function(t){if("number"==typeof t);else if("string"==typeof t)return a.$.test(t)?mixColor:mixComplex;else if(Array.isArray(t))return mixArray;else if("object"==typeof t)return mixObject;return mixNumber}(t[0]),l=t.length-1;for(let i=0;i<l;i++){let a=s(t[i],t[i+1]);if(n){let t=Array.isArray(n)?n[i]||w.Z:n;a=(0,m.z)(t,a)}o.push(a)}return o}(n,l,u),h=d.length,interpolator=n=>{let i=0;if(h>1)for(;i<t.length-2&&!(n<t[i+1]);i++);let o=(0,x.Y)(t[i],t[i+1],n);return d[i](o)};return i?n=>interpolator((0,s.u)(t[0],t[c-1],n)):interpolator}},11741:function(t,n,i){"use strict";i.d(n,{j:function(){return o}});let o="undefined"!=typeof document},33441:function(t,n,i){"use strict";i.d(n,{P:function(){return isNumericalString}});let isNumericalString=t=>/^\-?\d*\.?\d+$/.test(t)},51804:function(t,n,i){"use strict";function isRefObject(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}i.d(n,{I:function(){return isRefObject}})},30681:function(t,n,i){"use strict";i.d(n,{W:function(){return isZeroValueString}});let isZeroValueString=t=>/^0[^.\s]+$/.test(t)},4522:function(t,n,i){"use strict";function memo(t){let n;return()=>(void 0===n&&(n=t()),n)}i.d(n,{X:function(){return memo}})},80022:function(t,n,i){"use strict";i.d(n,{C:function(){return mix}});let mix=(t,n,i)=>-i*t+i*n+t},81662:function(t,n,i){"use strict";i.d(n,{Z:function(){return noop}});let noop=t=>t},60599:function(t,n,i){"use strict";i.d(n,{Y:function(){return defaultOffset}});var o=i(26615);function defaultOffset(t){let n=[0];return(0,o.c)(n,t.length-1),n}},26615:function(t,n,i){"use strict";i.d(n,{c:function(){return fillOffset}});var o=i(80022),a=i(23967);function fillOffset(t,n){let i=t[t.length-1];for(let s=1;s<=n;s++){let l=(0,a.Y)(0,n,s);t.push((0,o.C)(i,1,l))}}},83624:function(t,n,i){"use strict";i.d(n,{z:function(){return pipe}});let combineFunctions=(t,n)=>i=>n(t(i)),pipe=(...t)=>t.reduce(combineFunctions)},23967:function(t,n,i){"use strict";i.d(n,{Y:function(){return progress}});let progress=(t,n,i)=>{let o=n-t;return 0===o?1:(i-t)/o}},8715:function(t,n,i){"use strict";i.d(n,{Y:function(){return resolveFinalValueInKeyframes},p:function(){return isCustomValue}});var o=i(48488);let isCustomValue=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),resolveFinalValueInKeyframes=t=>(0,o.C)(t)?t[t.length-1]||0:t},21560:function(t,n,i){"use strict";i.d(n,{L:function(){return SubscriptionManager}});var o=i(10010);let SubscriptionManager=class SubscriptionManager{constructor(){this.subscriptions=[]}add(t){return(0,o.y4)(this.subscriptions,t),()=>(0,o.cl)(this.subscriptions,t)}notify(t,n,i){let o=this.subscriptions.length;if(o){if(1===o)this.subscriptions[0](t,n,i);else for(let a=0;a<o;a++){let o=this.subscriptions[a];o&&o(t,n,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86917:function(t,n,i){"use strict";i.d(n,{X:function(){return millisecondsToSeconds},w:function(){return secondsToMilliseconds}});let secondsToMilliseconds=t=>1e3*t,millisecondsToSeconds=t=>t/1e3},96681:function(t,n,i){"use strict";i.d(n,{h:function(){return useConstant}});var o=i(67294);function useConstant(t){let n=(0,o.useRef)(null);return null===n.current&&(n.current=t()),n.current}},58868:function(t,n,i){"use strict";i.d(n,{L:function(){return s}});
24var o=i(67294),a=i(11741);let s=a.j?o.useLayoutEffect:o.useEffect},3038:function(t,n,i){"use strict";function velocityPerSecond(t,n){return n?t*(1e3/n):0}i.d(n,{R:function(){return velocityPerSecond}})},33234:function(t,n,i){"use strict";i.d(n,{BX:function(){return motionValue}});var o=i(21560),a=i(3038),s=i(2074);let isFloat=t=>!isNaN(parseFloat(t)),l={current:void 0};let MotionValue=class MotionValue{constructor(t,n={}){this.version="10.16.15",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,n=!0)=>{this.prev=this.current,this.current=t;let{delta:i,timestamp:o}=s.frameData;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,s.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>s.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=isFloat(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new o.L);let i=this.events[t].add(n);return"change"===t?()=>{i(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){n&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,n)}setWithVelocity(t,n,i){this.set(n),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,a.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function motionValue(t,n){return new MotionValue(t,n)}},26382:function(t,n,i){"use strict";i.d(n,{$:function(){return s}});var o=i(40819),a=i(98834);let s={test:(0,a.i)("#"),parse:function(t){let n="",i="",o="",a="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),o=t.substring(5,7),a=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),o=t.substring(3,4),a=t.substring(4,5),n+=n,i+=i,o+=o,a+=a),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:a?parseInt(a,16)/255:1}},transform:o.m.transform}},93184:function(t,n,i){"use strict";i.d(n,{J:function(){return u}});var o=i(61649),a=i(96190),s=i(36430),l=i(98834);let u={test:(0,l.i)("hsl","hue"),parse:(0,l.d)("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:l=1})=>"hsla("+Math.round(t)+", "+a.aQ.transform((0,s.Nw)(n))+", "+a.aQ.transform((0,s.Nw)(i))+", "+(0,s.Nw)(o.Fq.transform(l))+")"}},85385:function(t,n,i){"use strict";i.d(n,{$:function(){return u}});var o=i(36430),a=i(26382),s=i(93184),l=i(40819);let u={test:t=>l.m.test(t)||a.$.test(t)||s.J.test(t),parse:t=>l.m.test(t)?l.m.parse(t):s.J.test(t)?s.J.parse(t):a.$.parse(t),transform:t=>(0,o.HD)(t)?t:t.hasOwnProperty("red")?l.m.transform(t):s.J.transform(t)}},40819:function(t,n,i){"use strict";i.d(n,{m:function(){return c}});var o=i(24169),a=i(61649),s=i(36430),l=i(98834);let clampRgbUnit=t=>(0,o.u)(0,255,t),u={...a.Rx,transform:t=>Math.round(clampRgbUnit(t))},c={test:(0,l.i)("rgb","red"),parse:(0,l.d)("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:o=1})=>"rgba("+u.transform(t)+", "+u.transform(n)+", "+u.transform(i)+", "+(0,s.Nw)(a.Fq.transform(o))+")"}},98834:function(t,n,i){"use strict";i.d(n,{d:function(){return splitColor},i:function(){return isColorString}});var o=i(36430);let isColorString=(t,n)=>i=>!!((0,o.HD)(i)&&o.mj.test(i)&&i.startsWith(t)||n&&Object.prototype.hasOwnProperty.call(i,n)),splitColor=(t,n,i)=>a=>{if(!(0,o.HD)(a))return a;let[s,l,u,c]=a.match(o.KP);return{[t]:parseFloat(s),[n]:parseFloat(l),[i]:parseFloat(u),alpha:void 0!==c?parseFloat(c):1}}},97197:function(t,n,i){"use strict";i.d(n,{h:function(){return u}});var o=i(51550),a=i(36430);let s=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(t){let[n,i]=t.slice(0,-1).split("(");if("drop-shadow"===n)return t;let[o]=i.match(a.KP)||[];if(!o)return t;let l=i.replace(o,""),u=s.has(n)?1:0;return o!==i&&(u*=100),n+"("+u+l+")"}let l=/([a-z-]*)\(.*?\)/g,u={...o.P,getAnimatableNone:t=>{let n=t.match(l);return n?n.map(applyDefaultFilter).join(" "):t}}},51550:function(t,n,i){"use strict";i.d(n,{P:function(){return m},V:function(){return analyseComplexValue}});var o=i(57630),a=i(81662),s=i(85385),l=i(61649),u=i(36430);let c={regex:o.Xp,countKey:"Vars",token:"${v}",parse:a.Z},d={regex:u.dA,countKey:"Colors",token:"${c}",parse:s.$.parse},h={regex:u.KP,countKey:"Numbers",token:"${n}",parse:l.Rx.parse};function tokenise(t,{regex:n,countKey:i,token:o,parse:a}){let s=t.tokenised.match(n);s&&(t["num"+i]=s.length,t.tokenised=t.tokenised.replace(n,o),t.values.push(...s.map(a)))}function analyseComplexValue(t){let n=t.toString(),i={value:n,tokenised:n,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&tokenise(i,c),tokenise(i,d),tokenise(i,h),i}function parseComplexValue(t){return analyseComplexValue(t).values}function createTransformer(t){let{values:n,numColors:i,numVars:o,tokenised:a}=analyseComplexValue(t),l=n.length;return t=>{let n=a;for(let a=0;a<l;a++)n=a<o?n.replace(c.token,t[a]):a<o+i?n.replace(d.token,s.$.transform(t[a])):n.replace(h.token,(0,u.Nw)(t[a]));return n}}let convertNumbersToZero=t=>"number"==typeof t?0:t,m={test:function(t){var n,i;return isNaN(t)&&(0,u.HD)(t)&&((null===(n=t.match(u.KP))||void 0===n?void 0:n.length)||0)+((null===(i=t.match(u.dA))||void 0===i?void 0:i.length)||0)>0},parse:parseComplexValue,createTransformer,getAnimatableNone:function(t){let n=parseComplexValue(t),i=createTransformer(t);return i(n.map(convertNumbersToZero))}}},61649:function(t,n,i){"use strict";i.d(n,{Fq:function(){return s},Rx:function(){return a},bA:function(){return l}});var o=i(24169);let a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...a,transform:t=>(0,o.u)(0,1,t)},l={...a,default:1}},96190:function(t,n,i){"use strict";i.d(n,{$C:function(){return d},RW:function(){return a},aQ:function(){return s},px:function(){return l},vh:function(){return u},vw:function(){return c}});var o=i(36430);let createUnitType=t=>({test:n=>(0,o.HD)(n)&&n.endsWith(t)&&1===n.split(" ").length,parse:parseFloat,transform:n=>`${n}${t}`}),a=createUnitType("deg"),s=createUnitType("%"),l=createUnitType("px"),u=createUnitType("vh"),c=createUnitType("vw"),d={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},36430:function(t,n,i){"use strict";i.d(n,{HD:function(){return isString},KP:function(){return o},Nw:function(){return sanitize},dA:function(){return a},mj:function(){return s}});let sanitize=t=>
24Math.round(1e5*t)/1e5,o=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString(t){return"string"==typeof t}},12490:function(t,n,i){"use strict";i.d(n,{L:function(){return isWillChangeMotionValue}});var o=i(40406);function isWillChangeMotionValue(t){return!!((0,o.i)(t)&&t.add)}},40406:function(t,n,i){"use strict";i.d(n,{i:function(){return isMotionValue}});let isMotionValue=t=>!!(t&&t.getVelocity)},67308:function(t,n,i){"use strict";i.d(n,{Z:function(){return s}});var o=i(79651),_assocIndexOf=function(t,n){for(var i=t.length;i--;)if((0,o.Z)(t[i][0],n))return i;return -1},a=Array.prototype.splice;function ListCache(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n<i;){var o=t[n];this.set(o[0],o[1])}}ListCache.prototype.clear=function(){this.__data__=[],this.size=0},ListCache.prototype.delete=function(t){var n=this.__data__,i=_assocIndexOf(n,t);return!(i<0)&&(i==n.length-1?n.pop():a.call(n,i,1),--this.size,!0)},ListCache.prototype.get=function(t){var n=this.__data__,i=_assocIndexOf(n,t);return i<0?void 0:n[i][1]},ListCache.prototype.has=function(t){return _assocIndexOf(this.__data__,t)>-1},ListCache.prototype.set=function(t,n){var i=this.__data__,o=_assocIndexOf(i,t);return o<0?(++this.size,i.push([t,n])):i[o][1]=n,this};var s=ListCache},86183:function(t,n,i){"use strict";var o=i(62508),a=i(66092),s=(0,o.Z)(a.Z,"Map");n.Z=s},37834:function(t,n,i){"use strict";i.d(n,{Z:function(){return c}});var o=(0,i(62508).Z)(Object,"create"),a=Object.prototype.hasOwnProperty,s=Object.prototype.hasOwnProperty;function Hash(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n<i;){var o=t[n];this.set(o[0],o[1])}}Hash.prototype.clear=function(){this.__data__=o?o(null):{},this.size=0},Hash.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},Hash.prototype.get=function(t){var n=this.__data__;if(o){var i=n[t];return"__lodash_hash_undefined__"===i?void 0:i}return a.call(n,t)?n[t]:void 0},Hash.prototype.has=function(t){var n=this.__data__;return o?void 0!==n[t]:s.call(n,t)},Hash.prototype.set=function(t,n){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=o&&void 0===n?"__lodash_hash_undefined__":n,this};var l=i(67308),u=i(86183),_isKeyable=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t},_getMapData=function(t,n){var i=t.__data__;return _isKeyable(n)?i["string"==typeof n?"string":"hash"]:i.map};function MapCache(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n<i;){var o=t[n];this.set(o[0],o[1])}}MapCache.prototype.clear=function(){this.size=0,this.__data__={hash:new Hash,map:new(u.Z||l.Z),string:new Hash}},MapCache.prototype.delete=function(t){var n=_getMapData(this,t).delete(t);return this.size-=n?1:0,n},MapCache.prototype.get=function(t){return _getMapData(this,t).get(t)},MapCache.prototype.has=function(t){return _getMapData(this,t).has(t)},MapCache.prototype.set=function(t,n){var i=_getMapData(this,t),o=i.size;return i.set(t,n),this.size+=i.size==o?0:1,this};var c=MapCache},31667:function(t,n,i){"use strict";i.d(n,{Z:function(){return l}});var o=i(67308),a=i(86183),s=i(37834);function Stack(t){var n=this.__data__=new o.Z(t);this.size=n.size}Stack.prototype.clear=function(){this.__data__=new o.Z,this.size=0},Stack.prototype.delete=function(t){var n=this.__data__,i=n.delete(t);return this.size=n.size,i},Stack.prototype.get=function(t){return this.__data__.get(t)},Stack.prototype.has=function(t){return this.__data__.has(t)},Stack.prototype.set=function(t,n){var i=this.__data__;if(i instanceof o.Z){var l=i.__data__;if(!a.Z||l.length<199)return l.push([t,n]),this.size=++i.size,this;i=this.__data__=new s.Z(l)}return i.set(t,n),this.size=i.size,this};var l=Stack},17685:function(t,n,i){"use strict";var o=i(66092).Z.Symbol;n.Z=o},84073:function(t,n,i){"use strict";var o=i(66092).Z.Uint8Array;n.Z=o},76579:function(t,n){"use strict";n.Z=function(t,n){for(var i=-1,o=null==t?0:t.length;++i<o&&!1!==n(t[i],i,t););return t}},87668:function(t,n,i){"use strict";i.d(n,{Z:function(){return _arrayLikeKeys}});var _baseTimes=function(t,n){for(var i=-1,o=Array(t);++i<t;)o[i]=n(i);return o},o=i(29169),a=i(27771),s=i(77008),l=i(56009),u=i(18843),c=Object.prototype.hasOwnProperty,_arrayLikeKeys=function(t,n){var i=(0,a.Z)(t),d=!i&&(0,o.Z)(t),h=!i&&!d&&(0,s.Z)(t),m=!i&&!d&&!h&&(0,u.Z)(t),g=i||d||h||m,x=g?_baseTimes(t.length,String):[],w=x.length;for(var E in t)(n||c.call(t,E))&&!(g&&("length"==E||h&&("offset"==E||"parent"==E)||m&&("buffer"==E||"byteLength"==E||"byteOffset"==E)||(0,l.Z)(E,w)))&&x.push(E);return x}},74073:function(t,n){"use strict";n.Z=function(t,n){for(var i=-1,o=null==t?0:t.length,a=Array(o);++i<o;)a[i]=n(t[i],i,t);return a}},58694:function(t,n){"use strict";n.Z=function(t,n){for(var i=-1,o=n.length,a=t.length;++i<o;)t[a+i]=n[i];return t}},72954:function(t,n,i){"use strict";var o=i(74752),a=i(79651),s=Object.prototype.hasOwnProperty;n.Z=function(t,n,i){var l=t[n];s.call(t,n)&&(0,a.Z)(l,i)&&(void 0!==i||n in t)||(0,o.Z)(t,n,i)}},74752:function(t,n,i){"use strict";var o=i(77904);n.Z=function(t,n,i){"__proto__"==n&&o.Z?(0,o.Z)(t,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[n]=i}},63327:function(t,n,i){"use strict";var o=i(58694),a=i(27771);n.Z=function(t,n,i){var s=n(t);return(0,a.Z)(t)?s:(0,o.Z)(s,i(t))}},93589:function(t,n,i){"use strict";i.d(n,{Z:function(){return _baseGetTag}});var o=i(17685),a=Object.prototype,s=a.hasOwnProperty,l=a.toString,u=o.Z?o.Z.toStringTag:void 0,_getRawTag=function(t){var n=s.call(t,u),i=t[u];try{t[u]=void 0;var o=!0}catch(t){}var a=l.call(t);return o&&(n?t[u]=i:delete t[u]),a},c=Object.prototype.toString,d=o.Z?o.Z.toStringTag:void 0,_baseGetTag=function(t){return null==t?void 0===t?"[object Undef
24ined]":"[object Null]":d&&d in Object(t)?_getRawTag(t):c.call(t)}},21162:function(t,n){"use strict";n.Z=function(t){return function(n){return t(n)}}},41884:function(t,n,i){"use strict";var o=i(84073);n.Z=function(t){var n=new t.constructor(t.byteLength);return new o.Z(n).set(new o.Z(t)),n}},91050:function(t,n,i){"use strict";var o=i(66092),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=a&&"object"==typeof module&&module&&!module.nodeType&&module,l=s&&s.exports===a?o.Z.Buffer:void 0,u=l?l.allocUnsafe:void 0;n.Z=function(t,n){if(n)return t.slice();var i=t.length,o=u?u(i):new t.constructor(i);return t.copy(o),o}},12701:function(t,n,i){"use strict";var o=i(41884);n.Z=function(t,n){var i=n?(0,o.Z)(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}},87215:function(t,n){"use strict";n.Z=function(t,n){var i=-1,o=t.length;for(n||(n=Array(o));++i<o;)n[i]=t[i];return n}},31899:function(t,n,i){"use strict";var o=i(72954),a=i(74752);n.Z=function(t,n,i,s){var l=!i;i||(i={});for(var u=-1,c=n.length;++u<c;){var d=n[u],h=s?s(i[d],t[d],d,i,t):void 0;void 0===h&&(h=t[d]),l?(0,a.Z)(i,d,h):(0,o.Z)(i,d,h)}return i}},77904:function(t,n,i){"use strict";var o=i(62508),a=function(){try{var t=(0,o.Z)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();n.Z=a},13413:function(t,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;n.Z=i},1808:function(t,n,i){"use strict";var o=i(63327),a=i(41574),s=i(14329);n.Z=function(t){return(0,o.Z)(t,s.Z,a.Z)}},62508:function(t,n,i){"use strict";i.d(n,{Z:function(){return _getNative}});var o,a=i(73234),s=i(66092).Z["__core-js_shared__"],l=(o=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",u=i(77226),c=i(90019),d=/^\[object .+?Constructor\]$/,h=Object.prototype,m=Function.prototype.toString,g=h.hasOwnProperty,x=RegExp("^"+m.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_getNative=function(t,n){var i,o=null==t?void 0:t[n];return(i=o,(0,u.Z)(i)&&(!l||!(l in i))&&((0,a.Z)(i)?x:d).test((0,c.Z)(i)))?o:void 0}},12513:function(t,n,i){"use strict";var o=(0,i(1851).Z)(Object.getPrototypeOf,Object);n.Z=o},41574:function(t,n,i){"use strict";i.d(n,{Z:function(){return l}});var _arrayFilter=function(t,n){for(var i=-1,o=null==t?0:t.length,a=0,s=[];++i<o;){var l=t[i];n(l,i,t)&&(s[a++]=l)}return s},o=i(60532),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(t){return null==t?[]:_arrayFilter(s(t=Object(t)),function(n){return a.call(t,n)})}:o.Z},23353:function(t,n,i){"use strict";i.d(n,{Z:function(){return R}});var o=i(62508),a=i(66092),s=(0,o.Z)(a.Z,"DataView"),l=i(86183),u=(0,o.Z)(a.Z,"Promise"),c=(0,o.Z)(a.Z,"Set"),d=(0,o.Z)(a.Z,"WeakMap"),h=i(93589),m=i(90019),g="[object Map]",x="[object Promise]",w="[object Set]",E="[object WeakMap]",_="[object DataView]",T=(0,m.Z)(s),C=(0,m.Z)(l.Z),P=(0,m.Z)(u),j=(0,m.Z)(c),O=(0,m.Z)(d),k=h.Z;(s&&k(new s(new ArrayBuffer(1)))!=_||l.Z&&k(new l.Z)!=g||u&&k(u.resolve())!=x||c&&k(new c)!=w||d&&k(new d)!=E)&&(k=function(t){var n=(0,h.Z)(t),i="[object Object]"==n?t.constructor:void 0,o=i?(0,m.Z)(i):"";if(o)switch(o){case T:return _;case C:return g;case P:return x;case j:return w;case O:return E}return n});var R=k},73658:function(t,n,i){"use strict";i.d(n,{Z:function(){return _initCloneObject}});var o=i(77226),a=Object.create,s=function(){function object(){}return function(t){if(!(0,o.Z)(t))return{};if(a)return a(t);object.prototype=t;var n=new object;return object.prototype=void 0,n}}(),l=i(12513),u=i(72764),_initCloneObject=function(t){return"function"!=typeof t.constructor||(0,u.Z)(t)?{}:s((0,l.Z)(t))}},56009:function(t,n){"use strict";var i=/^(?:0|[1-9]\d*)$/;n.Z=function(t,n){var o=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&i.test(t))&&t>-1&&t%1==0&&t<n}},72764:function(t,n){"use strict";var i=Object.prototype;n.Z=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||i)}},98351:function(t,n,i){"use strict";var o=i(13413),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=a&&"object"==typeof module&&module&&!module.nodeType&&module,l=s&&s.exports===a&&o.Z.process,u=function(){try{var t=s&&s.require&&s.require("util").t
24ypes;if(t)return t;return l&&l.binding&&l.binding("util")}catch(t){}}();n.Z=u},1851:function(t,n){"use strict";n.Z=function(t,n){return function(i){return t(n(i))}}},66092:function(t,n,i){"use strict";var o=i(13413),a="object"==typeof self&&self&&self.Object===Object&&self,s=o.Z||a||Function("return this")();n.Z=s},77612:function(t,n,i){"use strict";i.d(n,{Z:function(){return c}});var o,a,s=i(37834);function memoize(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw TypeError("Expected a function");var memoized=function(){var i=arguments,o=n?n.apply(this,i):i[0],a=memoized.cache;if(a.has(o))return a.get(o);var s=t.apply(this,i);return memoized.cache=a.set(o,s)||a,s};return memoized.cache=new(memoize.Cache||s.Z),memoized}memoize.Cache=s.Z;var l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,c=(a=(o=memoize(function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(l,function(t,i,o,a){n.push(o?a.replace(u,"$1"):i||t)}),n},function(t){return 500===a.size&&a.clear(),t})).cache,o)},62281:function(t,n,i){"use strict";var o=i(72714),a=1/0;n.Z=function(t){if("string"==typeof t||(0,o.Z)(t))return t;var n=t+"";return"0"==n&&1/t==-a?"-0":n}},90019:function(t,n){"use strict";var i=Function.prototype.toString;n.Z=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},79651:function(t,n){"use strict";n.Z=function(t,n){return t===n||t!=t&&n!=n}},29169:function(t,n,i){"use strict";i.d(n,{Z:function(){return c}});var o=i(93589),a=i(18533),_baseIsArguments=function(t){return(0,a.Z)(t)&&"[object Arguments]"==(0,o.Z)(t)},s=Object.prototype,l=s.hasOwnProperty,u=s.propertyIsEnumerable,c=_baseIsArguments(function(){return arguments}())?_baseIsArguments:function(t){return(0,a.Z)(t)&&l.call(t,"callee")&&!u.call(t,"callee")}},27771:function(t,n){"use strict";var i=Array.isArray;n.Z=i},50585:function(t,n,i){"use strict";var o=i(73234),a=i(1656);n.Z=function(t){return null!=t&&(0,a.Z)(t.length)&&!(0,o.Z)(t)}},77008:function(t,n,i){"use strict";i.d(n,{Z:function(){return u}});var o=i(66092),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=a&&"object"==typeof module&&module&&!module.nodeType&&module,l=s&&s.exports===a?o.Z.Buffer:void 0,u=(l?l.isBuffer:void 0)||function(){return!1}},73234:function(t,n,i){"use strict";var o=i(93589),a=i(77226);n.Z=function(t){if(!(0,a.Z)(t))return!1;var n=(0,o.Z)(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},1656:function(t,n){"use strict";n.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},77226:function(t,n){"use strict";n.Z=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},18533:function(t,n){"use strict";n.Z=function(t){return null!=t&&"object"==typeof t}},37514:function(t,n,i){"use strict";var o=i(93589),a=i(12513),s=i(18533),l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=u.call(Object);n.Z=function(t){if(!(0,s.Z)(t)||"[object Object]"!=(0,o.Z)(t))return!1;var n=(0,a.Z)(t);if(null===n)return!0;var i=c.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i instanceof i&&u.call(i)==d}},72714:function(t,n,i){"use strict";var o=i(93589),a=i(18533);n.Z=function(t){return"symbol"==typeof t||(0,a.Z)(t)&&"[object Symbol]"==(0,o.Z)(t)}},18843:function(t,n,i){"use strict";i.d(n,{Z:function(){return h}});var o=i(93589),a=i(1656),s=i(18533),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var u=i(21162),c=i(98351),d=c.Z&&c.Z.isTypedArray,h=d?(0,u.Z)(d):function(t){return(0,s.Z)(t)&&(0,a.Z)(t.length)&&!!l[(0,o.Z)(t)]}},14329:function(t,n,i){"use strict";i.d(n,{Z:function(){return lodash_es_keys}});var o=i(87668),a=i(72764),s=(0,i(1851).Z)(Object.keys,Object),l=Object.prototype.hasOwnProperty,_baseKeys=function(t){if(!(0,a.Z)(t))return s(t);var n=[];for(var i in Object(t))l.call(t,i)&&"constructor"!=i&&n.push(i);return n},u=i(50585),lodash_es_keys=function(t){return(0,u.Z)(t)?(0,o.Z)(t):_baseKeys(t)}},32957:function(t,n,i){"use strict";i.d(n,{Z:function(){return lodash_es_keysIn}});var o=i(87668),a=i(77226),s=i(72764),_nativeKeysIn=function(t){var n=[];if(null!=t)for(var i in Object(t))n.push(i);return n},l=Object.prototype.hasOwnProperty,_baseKeysIn=function(t){if(!(0,a.Z)(t))return _nativeKeysIn(t);var n=(0,s.Z)(t),i=[];for(var o in t)"constructor"==o&&(n||!l.call(t,o))||i.push(o);return i},u=i(50585),lodash_es_keysIn=function(t){return(0,u.Z)(t)?(0,o.Z)(t,!0):_baseKeysIn(t)}},60532:function(t,n){"use strict";n.Z=function(){return[]}},50751:function(t,n,i){"use strict";i.d(n,{Z:function(){return lodash_es_toString}});var o=i(17685),a=i(74073),s=i(27771),l=i(72714),u=1/0,c=o.Z?o.Z.prototype:void 0,d=c?c.toString:void 0,_baseToString=function baseToString(t){if("string"==typeof t)return t;if((0,s.Z)(t))return(0,a.Z)(t,baseToString)+"";if((0,l.Z)(t))return d?d.call(t):"";var n=t+"";return"0"==n&&1/t==-u?"-0":n},lodash_es_toString=function(t){return null==t?"":_baseToString(t)}},50608:function(t){"use strict";
24t.exports=JSON.parse('{"M":[{"id":"en","title":"English","code":"gb","slug":"/"}]}')}},function(t){var __webpack_exec__=function(n){return t(t.s=n)};t.O(0,[774,179],function(){return __webpack_exec__(6840),__webpack_exec__(59974)}),_N_E=t.O()}]);
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.