PageSourceSearch

https://plycem.vercel.app/_next/static/chunks/pages/_app-4935ae02bef29a52.js

js plycem.vercel.app collected 2026-10-03 07:30:05 UTC 338,914 bytes, 46 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{9477:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let r=n(5893),i=n(7294);e.default=function({html:t,height:e=null,width:n=null,children:o,dataNtpc:s=""}){return(0,i.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${s}`}})},[s]),(0,r.jsxs)(r.Fragment,{children:[o,t?(0,r.jsx)("div",{style:{height:null!=e?`${e}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:t}}):null]})}},7834:function(t,e,n){"use strict";let r;var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.sendGAEvent=e.GoogleAnalytics=void 0;let o=n(5893),s=n(7294),a=i(n(4298));e.GoogleAnalytics=function(t){let{gaId:e,dataLayerName:n="dataLayer"}=t;return void 0===r&&(r=n),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
2          window['${n}'] = window['${n}'] || [];
3          function gtag(){window['${n}'].push(arguments);}
4          gtag('js', new Date());
5
6          gtag('config', '${e}');`}}),(0,o.jsx)(a.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${e}`})]})},e.sendGAEvent=(...t)=>{if(void 0===r){console.warn("@next/third-parties: GA has not been initialized");return}window[r]?window[r].push(...t):console.warn(`@next/third-parties: GA dataLayer ${r} does not exist`)}},3632:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});let i=n(5893),o=n(6257),s=r(n(9477));e.default=function(t){let{apiKey:e,...n}=t,r={...n,key:e},{html:a}=(0,o.GoogleMapsEmbed)(r);return(0,i.jsx)(s.default,{height:r.height||null,width:r.width||null,html:a,dataNtpc:"GoogleMapsEmbed"})}},674:function(t,e,n){"use strict";let r;var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.sendGTMEvent=e.GoogleTagManager=void 0;let o=n(5893),s=n(7294),a=i(n(4298));e.GoogleTagManager=function(t){let{gtmId:e,dataLayerName:n="dataLayer",auth:i,preview:l,dataLayer:c}=t;void 0===r&&(r=n);let u="dataLayer"!==n?`$l=${n}`:"",h=i?`&gtm_auth=${i}`:"",d=l?`&gtm_preview=${l}&gtm_cookies_win=x`:"";return(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
7      (function(w,l){
8        w[l]=w[l]||[];
9        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
10        ${c?`w[l].push(${JSON.stringify(c)})`:""}
11      })(window,'${n}');`}}),(0,o.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:`https://www.googletagmanager.com/gtm.js?id=${e}${u}${h}${d}`})]})},e.sendGTMEvent=t=>{if(void 0===r){console.warn("@next/third-parties: GTM has not been initialized");return}window[r]?window[r].push(t):console.warn(`@next/third-parties: GTM dataLayer ${r} does not exist`)}},9692:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.sendGAEvent=e.GoogleAnalytics=e.sendGTMEvent=e.GoogleTagManager=e.YouTubeEmbed=e.GoogleMapsEmbed=void 0;var i=n(3632);Object.defineProperty(e,"GoogleMapsEmbed",{enumerable:!0,get:function(){return r(i).default}});var o=n(1494);Object.defineProperty(e,"YouTubeEmbed",{enumerable:!0,get:function(){return r(o).default}});var s=n(674);Object.defineProperty(e,"GoogleTagManager",{enumerable:!0,get:function(){return s.GoogleTagManager}}),Object.defineProperty(e,"sendGTMEvent",{enumerable:!0,get:function(){return s.sendGTMEvent}});var a=n(7834);Object.defineProperty(e,"GoogleAnalytics",{enumerable:!0,get:function(){return a.GoogleAnalytics}}),Object.defineProperty(e,"sendGAEvent",{enumerable:!0,get:function(){return a.sendGAEvent}})},1494:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};
11Object.defineProperty(e,"__esModule",{value:!0});let i=n(5893),o=r(n(4298)),s=n(6257),a=r(n(9477)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};e.default=function(t){let{html:e,scripts:n,stylesheets:r}=(0,s.YouTubeEmbed)(t);return(0,i.jsx)(a.default,{height:t.height||null,width:t.width||null,html:e,dataNtpc:"YouTubeEmbed",children:null==n?void 0:n.map(t=>(0,i.jsx)(o.default,{src:t.url,strategy:l[t.strategy],stylesheets:r},t.url))})}},9742:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],r=e[1];return(n+r)*3/4-r},e.toByteArray=function(t){var e,n,o=l(t),s=o[0],a=o[1],c=new i((s+a)*3/4-a),u=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],s=0,a=r-i;s<a;s+=16383)o.push(function(t,e,r){for(var i,o=[],s=e;s<r;s+=3)o.push(n[(i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(t,s,s+16383>a?a:s+16383));return 1===i?o.push(n[(e=t[r-1])>>2]+n[e<<4&63]+"=="):2===i&&o.push(n[(e=(t[r-2]<<8)+t[r-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},8764:function(t,e,n){"use strict";/*!
12 * The buffer module from node.js, for the browser.
13 *
14 * @author   Feross Aboukhadijeh <https://feross.org>
15 * @license  MIT
16 */var r=n(9742),i=n(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,n){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return u(t)}return l(t,e,n)}function l(t,e,n){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!a.isEncoding(e))throw TypeError("Unknown encoding: "+e);var n=0|p(t,e),r=s(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(O(t,Uint8Array)){var e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return h(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(O(t,ArrayBuffer)||t&&O(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(t,SharedArrayBuffer)||t&&O(t.buffer,SharedArrayBuffer)))return d(t,e,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return a.from(r,e,n);var i=function(t){if(a.isBuffer(t)){var e,n=0|f(t.length),r=s(n);return 0===r.length||t.copy(r,0,0,n),r}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?s(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(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 u(t){return c(t),s(t<0?0:0|f(t))}function h(t){for(var e=t.length<0?0:0|f(t.length),n=s(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function d(t,e,n){var r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),a.prototype),r}function f(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||O(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 n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return A(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return T(t).length;default:if(i)return r?-1:A(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,n){var i,o,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=C[t[o]];return i}(this,e,n);case"utf8":case"utf-8":return b(this,e,n);case"ascii":return function(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}(this,e,n);case"latin1":case"binary":return function(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}(this,e,n);case"base64":return i=e,o=n,0===i&&o===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,e,n);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){var o;if(0===t.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return -1;n=t.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:v(t,e,n,r,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,r,i);throw TypeError("val must be string, number or Buffer")}function v(t,e,n,r,i){var o,s=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;
vendor: 13,911 bytes, line 16
16s=2,a/=2,l/=2,n/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var u=-1;for(o=n;o<a;o++)if(c(t,o)===c(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*s}else -1!==u&&(o-=o-u),u=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(c(t,o+d)!==c(e,d)){h=!1;break}if(h)return o}return -1}function b(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,s,a,l,c=t[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:(192&(o=t[i+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[i+1],s=t[i+2],(192&o)==128&&(192&s)==128&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function w(t,e,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>n)throw RangeError("Trying to access beyond buffer length")}function x(t,e,n,r,i,o){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(n+r>t.length)throw RangeError("Index out of range")}function S(t,e,n,r,i,o){if(n+r>t.length||n<0)throw RangeError("Index out of range")}function E(t,e,n,r,o){return e=+e,n>>>=0,o||S(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function j(t,e,n,r,o){return e=+e,n>>>=0,o||S(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}e.lW=a,e.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),a.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(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,n){return l(t,e,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,n){return(c(t),t<=0)?s(t):void 0!==e?"string"==typeof n?s(t).fill(e,n):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return u(t)},a.allocUnsafeSlow=function(t){return u(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),O(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},a.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}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(n=0,e=0;n<t.length;++n)e+=t[n].length;var n,r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(O(o,Uint8Array))i+o.length>r.length?a.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(a.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?b(this,0,t):m.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",n=e.h2;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(t,e,n,r,i){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return -1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,s=n-e,l=Math.min(o,s),c=this.slice(r,i),u=t.slice(e,n),h=0;h<l;++h)if(c[h]!==u[h]){o=c[h],s=u[h];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,n){return -1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,l,c,u,h,d=this.length-e;if((void 0===n||n>d)&&(n=d),t.length>0&&(n<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var f=!1;;)switch(r){case"hex":return function(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(a!=a)break;t[n+s]=a}return s}(this,t,e,n);case"utf8":case"utf-8":return i=e,o=n,P(A(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=e,a=n,P(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(t),this,s,a);case"base64":return l=e,c=n,P(T(t),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=e,h=n,P(function(t,e){for(var n,r,i=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,this.length-u),this,u,h);default:if(f)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),f=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUintLE=a.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUintBE=a.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||w(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),i.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),i.read(this,t,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,t,e,n,i,0)}var o=1,s=0;for(this[e]=255&t;++s<n&&(o*=256);)this[e+s]=t/o&255;return e+n},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,t,e,n,i,0)}var o=n-1,s=1;for(this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=t/s&255;return e+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||x(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,n){return E(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return E(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return j(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return j(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},a.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw RangeError("Out of range index");if(n<=e)return this;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var s=a.isBuffer(t)?t:a.from(t,r),l=s.length;
16if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=s[i%l]}return this};var k=/[^+/0-9A-Za-z-_]/g;function A(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319||s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function T(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function P(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length)&&!(i>=t.length);++i)e[i+n]=t[i];return i}function O(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var C=function(){for(var t="0123456789abcdef",e=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()},7811:function(t,e){"use strict";/*!
17 * content-type
18 * Copyright(c) 2015 Douglas Christopher Wilson
19 * MIT Licensed
20 */var n=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,r=/\\([\u000b\u0020-\u00ff])/g,i=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function o(t){this.parameters=Object.create(null),this.type=t}e.Q=function(t){if(!t)throw TypeError("argument string is required");var e,s,a,l="object"==typeof t?function(t){var e;if("function"==typeof t.getHeader?e=t.getHeader("content-type"):"object"==typeof t.headers&&(e=t.headers&&t.headers["content-type"]),"string"!=typeof e)throw TypeError("content-type header is missing from object");return e}(t):t;if("string"!=typeof l)throw TypeError("argument string is required to be a string");var c=l.indexOf(";"),u=-1!==c?l.slice(0,c).trim():l.trim();if(!i.test(u))throw TypeError("invalid media type");var h=new o(u.toLowerCase());if(-1!==c){for(n.lastIndex=c;s=n.exec(l);){if(s.index!==c)throw TypeError("invalid parameter format");c+=s[0].length,e=s[1].toLowerCase(),34===(a=s[2]).charCodeAt(0)&&-1!==(a=a.slice(1,-1)).indexOf("\\")&&(a=a.replace(r,"$1")),h.parameters[e]=a}if(c!==l.length)throw TypeError("invalid parameter format")}return h}},6489:function(t,e){"use strict";/*!
21 * cookie
22 * Copyright(c) 2012-2014 Roman Shtylman
23 * Copyright(c) 2015 Douglas Christopher Wilson
24 * MIT Licensed
25 */e.parse=function(t,e){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var r={},i=t.split(";"),o=(e||{}).decode||n,s=0;s<i.length;s++){var a=i[s],l=a.indexOf("=");if(!(l<0)){var c=a.substring(0,l).trim();if(void 0==r[c]){var u=a.substring(l+1,a.length).trim();'"'===u[0]&&(u=u.slice(1,-1)),r[c]=function(t,e){try{return e(t)}catch(e){return t}}(u,o)}}}return r},e.serialize=function(t,e,n){var o=n||{},s=o.encode||r;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!i.test(t))throw TypeError("argument name is invalid");var a=s(e);if(a&&!i.test(a))throw TypeError("argument val is invalid");var l=t+"="+a;if(null!=o.maxAge){var c=o.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
25d");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},645:function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,c=l>>1,u=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-u)-1,f>>=-u,u+=a;u>0;o=256*o+t[e+h],h+=d,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+t[e+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:(f?-1:1)*(1/0);s+=Math.pow(2,r),o-=c}return(f?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,d=23===i?5960464477539062e-23:0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+h>=1?e+=d/l:e+=d*Math.pow(2,1-h),e*l>=2&&(s++,l/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(e*l-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;t[n+f]=255&s,f+=p,s/=256,c-=8);t[n+f-p]|=128*m}},6267:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function l(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r,i=c(t);if(e){var o=c(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return(n=r)&&("object"==typeof n||"function"==typeof n)?n:h(this)}}function f(t,e,n){return(f="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}}(t,e)||m(t,e)||function(){throw TypeError("Invalid attempt to de
25structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){if(t){if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}n.r(e),n.d(e,{Native:function(){return G},Smooth:function(){return q}});var y={el:document,name:"scroll",offset:[0,0],repeat:!1,smooth:!1,initPosition:{x:0,y:0},direction:"vertical",gestureDirection:"vertical",reloadOnContextChange:!1,lerp:.1,class:"is-inview",scrollbarContainer:!1,scrollbarClass:"c-scrollbar",scrollingClass:"has-scroll-scrolling",draggingClass:"has-scroll-dragging",smoothClass:"has-scroll-smooth",initClass:"has-scroll-init",getSpeed:!1,getDirection:!1,scrollFromAnywhere:!1,multiplier:1,firefoxMultiplier:50,touchMultiplier:2,resetNativeScroll:!0,tablet:{smooth:!1,direction:"vertical",gestureDirection:"vertical",breakpoint:1024},smartphone:{smooth:!1,direction:"vertical",gestureDirection:"vertical"}},v=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),Object.assign(this,y,e),this.smartphone=y.smartphone,e.smartphone&&Object.assign(this.smartphone,e.smartphone),this.tablet=y.tablet,e.tablet&&Object.assign(this.tablet,e.tablet),this.namespace="locomotive",this.html=document.documentElement,this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.els={},this.currentElements={},this.listeners={},this.hasScrollTicking=!1,this.hasCallEventSet=!1,this.checkScroll=this.checkScroll.bind(this),this.checkResize=this.checkResize.bind(this),this.checkEvent=this.checkEvent.bind(this),this.instance={scroll:{x:0,y:0},limit:{x:this.html.offsetWidth,y:this.html.offsetHeight},currentElements:this.currentElements},this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",this.isMobile&&(this.direction=this[this.context].direction),"horizontal"===this.direction?this.directionAxis="x":this.directionAxis="y",this.getDirection&&(this.instance.direction=null),this.getDirection&&(this.instance.speed=0),this.html.classList.add(this.initClass),window.addEventListener("resize",this.checkResize,!1)}return o(t,[{key:"init",value:function(){this.initEvents()}},{key:"checkScroll",value:function(){this.dispatchScroll()}},{key:"checkResize",value:function(){var t=this;this.resizeTick||(this.resizeTick=!0,requestAnimationFrame(function(){t.resize(),t.resizeTick=!1}))}},{key:"resize",value:function(){}},{key:"checkContext",value:function(){if(this.reloadOnContextChange){this.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||this.windowWidth<this.tablet.breakpoint,this.isTablet=this.isMobile&&this.windowWidth>=this.tablet.breakpoint;var t=this.context;this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",t!=this.context&&("desktop"==t?this.smooth:this[t].smooth)!=("desktop"==this.context?this.smooth:this[this.context].smooth)&&window.location.reload()}}},{key:"initEvents",value:function(){var t=this;this.scrollToEls=this.el.querySelectorAll("[data-".concat(this.name,"-to]")),this.setScrollTo=this.setScrollTo.bind(this),this.scrollToEls.forEach(function(e){e.addEventListener("click",t.setScrollTo,!1)})}},{key:"setScrollTo",value:function(t){t.preventDefault(),this.scrollTo(t.currentTarget.getAttribute("data-".concat(this.name,"-href"))||t.currentTarget.getAttribute("href"),{offset:t.currentTarget.getAttribute("data-".concat(this.name,"-offset"))})}},{key:"addElements",value:function(){}},{key:"detectElements",value:function(t){var e=this,n=this.instance.scroll.y,r=n+this.windowHeight,i=this.instance.scroll.x,o=i+this.windowWidth;
25Object.entries(this.els).forEach(function(s){var a=p(s,2),l=a[0],c=a[1];if(c&&(!c.inView||t)&&("horizontal"===e.direction?o>=c.left&&i<c.right&&e.setInView(c,l):r>=c.top&&n<c.bottom&&e.setInView(c,l)),c&&c.inView){if("horizontal"===e.direction){var u=c.right-c.left;c.progress=(e.instance.scroll.x-(c.left-e.windowWidth))/(u+e.windowWidth),(o<c.left||i>c.right)&&e.setOutOfView(c,l)}else{var h=c.bottom-c.top;c.progress=(e.instance.scroll.y-(c.top-e.windowHeight))/(h+e.windowHeight),(r<c.top||n>c.bottom)&&e.setOutOfView(c,l)}}}),this.hasScrollTicking=!1}},{key:"setInView",value:function(t,e){this.els[e].inView=!0,t.el.classList.add(t.class),this.currentElements[e]=t,t.call&&this.hasCallEventSet&&(this.dispatchCall(t,"enter"),t.repeat||(this.els[e].call=!1))}},{key:"setOutOfView",value:function(t,e){var n=this;this.els[e].inView=!1,Object.keys(this.currentElements).forEach(function(t){t===e&&delete n.currentElements[t]}),t.call&&this.hasCallEventSet&&this.dispatchCall(t,"exit"),t.repeat&&t.el.classList.remove(t.class)}},{key:"dispatchCall",value:function(t,e){this.callWay=e,this.callValue=t.call.split(",").map(function(t){return t.trim()}),this.callObj=t,1==this.callValue.length&&(this.callValue=this.callValue[0]);var n=new Event(this.namespace+"call");this.el.dispatchEvent(n)}},{key:"dispatchScroll",value:function(){var t=new Event(this.namespace+"scroll");this.el.dispatchEvent(t)}},{key:"setEvents",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]);var n=this.listeners[t];n.push(e),1===n.length&&this.el.addEventListener(this.namespace+t,this.checkEvent,!1),"call"===t&&(this.hasCallEventSet=!0,this.detectElements(!0))}},{key:"unsetEvents",value:function(t,e){if(this.listeners[t]){var n=this.listeners[t],r=n.indexOf(e);r<0||(n.splice(r,1),0===n.index&&this.el.removeEventListener(this.namespace+t,this.checkEvent,!1))}}},{key:"checkEvent",value:function(t){var e=this,n=t.type.replace(this.namespace,""),r=this.listeners[n];r&&0!==r.length&&r.forEach(function(t){switch(n){case"scroll":return t(e.instance);case"call":return t(e.callValue,e.callWay,e.callObj);default:return t()}})}},{key:"startScroll",value:function(){}},{key:"stopScroll",value:function(){}},{key:"setScroll",value:function(t,e){this.instance.scroll={x:0,y:0}}},{key:"destroy",value:function(){var t=this;window.removeEventListener("resize",this.checkResize,!1),Object.keys(this.listeners).forEach(function(e){t.el.removeEventListener(t.namespace+e,t.checkEvent,!1)}),this.listeners={},this.scrollToEls.forEach(function(e){e.removeEventListener("click",t.setScrollTo,!1)}),this.html.classList.remove(this.initClass)}}]),t}(),b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function w(t,e){return t(e={exports:{}},e.exports),e.exports}var x=w(function(t,e){t.exports={polyfill:function(){var t,e=window,n=document;if(!("scrollBehavior"in n.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var r=e.HTMLElement||e.Element,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||a,scrollIntoView:r.prototype.scrollIntoView},o=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(t=e.navigator.userAgent,RegExp("MSIE |Trident/|Edge/").test(t))?1:0;e.scroll=e.scrollTo=function(){if(void 0!==arguments[0]){if(!0===l(arguments[0])){i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset);return}h.call(e,n.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset)}},e.scrollBy=function(){if(void 0!==arguments[0]){if(l(arguments[0])){i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0);return}h.call(e,n.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset))}},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0]){if
25(!0===l(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop);return}var t=arguments[0].left,e=arguments[0].top;h.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}},r.prototype.scrollBy=function(){if(void 0!==arguments[0]){if(!0===l(arguments[0])){i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},r.prototype.scrollIntoView=function(){if(!0===l(arguments[0])){i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);return}var t=function(t){for(var e,r,i;t!==n.body&&!1===(r=c(e=t,"Y")&&u(e,"Y"),i=c(e,"X")&&u(e,"X"),r||i);)t=t.parentNode||t.host;return t}(this),r=t.getBoundingClientRect(),o=this.getBoundingClientRect();t!==n.body?(h.call(this,t,t.scrollLeft+o.left-r.left,t.scrollTop+o.top-r.top),"fixed"!==e.getComputedStyle(t).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}}function a(t,e){this.scrollLeft=t,this.scrollTop=e}function l(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(t,e){return"Y"===e?t.clientHeight+s<t.scrollHeight:"X"===e?t.clientWidth+s<t.scrollWidth:void 0}function u(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function h(t,r,s){var l,c,u,h,d=o();t===n.body?(l=e,c=e.scrollX||e.pageXOffset,u=e.scrollY||e.pageYOffset,h=i.scroll):(l=t,c=t.scrollLeft,u=t.scrollTop,h=a),function t(n){var r,i,s,a=(o()-n.startTime)/468;r=.5*(1-Math.cos(Math.PI*(a=a>1?1:a))),i=n.startX+(n.x-n.startX)*r,s=n.startY+(n.y-n.startY)*r,n.method.call(n.scrollable,i,s),(i!==n.x||s!==n.y)&&e.requestAnimationFrame(t.bind(e,n))}({scrollable:l,method:h,startTime:d,startX:c,startY:u,x:r,y:s})}}}});x.polyfill;var S=function(t){l(n,t);var e=d(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(this,n),(t=e.call(this,i)).resetNativeScroll&&(history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0)),window.addEventListener("scroll",t.checkScroll,!1),void 0===window.smoothscrollPolyfill&&(window.smoothscrollPolyfill=x,window.smoothscrollPolyfill.polyfill()),t}return o(n,[{key:"init",value:function(){this.instance.scroll.y=window.pageYOffset,this.addElements(),this.detectElements(),f(c(n.prototype),"init",this).call(this)}},{key:"checkScroll",value:function(){var t=this;f(c(n.prototype),"checkScroll",this).call(this),this.getDirection&&this.addDirection(),this.get
25Speed&&(this.addSpeed(),this.speedTs=Date.now()),this.instance.scroll.y=window.pageYOffset,Object.entries(this.els).length&&!this.hasScrollTicking&&(requestAnimationFrame(function(){t.detectElements()}),this.hasScrollTicking=!0)}},{key:"addDirection",value:function(){window.pageYOffset>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):window.pageYOffset<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up")}},{key:"addSpeed",value:function(){window.pageYOffset!=this.instance.scroll.y?this.instance.speed=(window.pageYOffset-this.instance.scroll.y)/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"resize",value:function(){Object.entries(this.els).length&&(this.windowHeight=window.innerHeight,this.updateElements())}},{key:"addElements",value:function(){var t=this;this.els={},this.el.querySelectorAll("[data-"+this.name+"]").forEach(function(e,n){e.getBoundingClientRect();var r,i,o,s=e.dataset[t.name+"Class"]||t.class,a="string"==typeof e.dataset[t.name+"Id"]?e.dataset[t.name+"Id"]:n,l="string"==typeof e.dataset[t.name+"Offset"]?e.dataset[t.name+"Offset"].split(","):t.offset,c=e.dataset[t.name+"Repeat"],u=e.dataset[t.name+"Call"],h=e.dataset[t.name+"Target"],d=(o=void 0!==h?document.querySelector("".concat(h)):e).getBoundingClientRect();r=d.top+t.instance.scroll.y,i=d.left+t.instance.scroll.x;var f=r+o.offsetHeight,p=i+o.offsetWidth;c="false"!=c&&(void 0!=c||t.repeat);var m=t.getRelativeOffset(l),g={el:e,targetEl:o,id:a,class:s,top:r+=m[0],bottom:f-=m[1],left:i,right:p,offset:l,progress:0,repeat:c,inView:!1,call:u};t.els[a]=g,e.classList.contains(s)&&t.setInView(t.els[a],a)})}},{key:"updateElements",value:function(){var t=this;Object.entries(this.els).forEach(function(e){var n=p(e,2),r=n[0],i=n[1],o=i.targetEl.getBoundingClientRect().top+t.instance.scroll.y,s=o+i.targetEl.offsetHeight,a=t.getRelativeOffset(i.offset);t.els[r].top=o+a[0],t.els[r].bottom=s-a[1]}),this.hasScrollTicking=!1}},{key:"getRelativeOffset",value:function(t){var e=[0,0];if(t)for(var n=0;n<t.length;n++)"string"==typeof t[n]?t[n].includes("%")?e[n]=parseInt(t[n].replace("%","")*this.windowHeight/100):e[n]=parseInt(t[n]):e[n]=t[n];return e}},{key:"scrollTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=parseInt(e.offset)||0,r=!!e.callback&&e.callback;if("string"==typeof t){if("top"===t)t=this.html;else if("bottom"===t)t=this.html.offsetHeight-window.innerHeight;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(t&&t.tagName);else{console.warn("`target` parameter is not valid");return}n="number"!=typeof t?t.getBoundingClientRect().top+n+this.instance.scroll.y:t+n;var i=function(){return parseInt(window.pageYOffset)===parseInt(n)};if(r){if(i()){r();return}window.addEventListener("scroll",function t(){i()&&(window.removeEventListener("scroll",t),r())})}window.scrollTo({top:n,behavior:0===e.duration?"auto":"smooth"})}},{key:"update",value:function(){this.addElements(),this.detectElements()}},{key:"destroy",value:function(){f(c(n.prototype),"destroy",this).call(this),window.removeEventListener("scroll",this.checkScroll,!1)}}]),n}(v),E=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,A=!function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var i={};if("abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},i)).join(""))return!1;return!0}catch(t){return!1}}()?function(t,e){for(var n,r,i=function(t){if(null==t)throw TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),o=1;o<arguments.length;o++){for(var s in n=Object(arguments[o]))j.call(n,s)&&(i[s]=n[s]);if(E){r=E(n);for(var a=0;a<r.length;a++)k.call(n,r[a])&&(i[r[a]]=n[r[a]])}}return i}:Object.assign;function T(){}T.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)}
25,emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[];if(r&&e)for(var o=0,s=r.length;o<s;o++)r[o].fn!==e&&r[o].fn._!==e&&i.push(r[o]);return i.length?n[t]=i:delete n[t],this}};var P=w(function(t,e){(function(){(null!==e?e:this).Lethargy=function(){function t(t,e,n,r){this.stability=null!=t?Math.abs(t):8,this.sensitivity=null!=e?1+Math.abs(e):100,this.tolerance=null!=n?1+Math.abs(n):1.1,this.delay=null!=r?r:150,this.lastUpDeltas=(function(){var t,e,n;for(t=1,n=[],e=2*this.stability;1<=e?t<=e:t>=e;1<=e?t++:t--)n.push(null);return n}).call(this),this.lastDownDeltas=(function(){var t,e,n;for(t=1,n=[],e=2*this.stability;1<=e?t<=e:t>=e;1<=e?t++:t--)n.push(null);return n}).call(this),this.deltasTimestamp=(function(){var t,e,n;for(t=1,n=[],e=2*this.stability;1<=e?t<=e:t>=e;1<=e?t++:t--)n.push(null);return n}).call(this)}return t.prototype.check=function(t){var e;return(null!=(t=t.originalEvent||t).wheelDelta?e=t.wheelDelta:null!=t.deltaY?e=-40*t.deltaY:(null!=t.detail||0===t.detail)&&(e=-40*t.detail),this.deltasTimestamp.push(Date.now()),this.deltasTimestamp.shift(),e>0)?(this.lastUpDeltas.push(e),this.lastUpDeltas.shift(),this.isInertia(1)):(this.lastDownDeltas.push(e),this.lastDownDeltas.shift(),this.isInertia(-1))},t.prototype.isInertia=function(t){var e,n,r,i,o,s;return null===(e=-1===t?this.lastDownDeltas:this.lastUpDeltas)[0]?t:(!(this.deltasTimestamp[2*this.stability-2]+this.delay>Date.now())||e[0]!==e[2*this.stability-1])&&(r=e.slice(0,this.stability),n=e.slice(this.stability,2*this.stability),s=r.reduce(function(t,e){return t+e}),o=n.reduce(function(t,e){return t+e}),!!(Math.abs(s/r.length)<Math.abs((i=o/n.length)*this.tolerance)&&this.sensitivity<Math.abs(i))&&t)},t.prototype.showLastUpDeltas=function(){return this.lastUpDeltas},t.prototype.showLastDownDeltas=function(){return this.lastDownDeltas},t}()}).call(b)}),O={hasWheelEvent:"onwheel"in document,hasMouseWheelEvent:"onmousewheel"in document,hasTouch:"ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,hasTouchWin:navigator.msMaxTouchPoints&&navigator.msMaxTouchPoints>1,hasPointer:!!window.navigator.msPointerEnabled,hasKeyDown:"onkeydown"in document,isFirefox:navigator.userAgent.indexOf("Firefox")>-1},C=Object.prototype.toString,R=Object.prototype.hasOwnProperty,_=function(t){if(!t)return console.warn("bindAll requires at least one argument.");var e=Array.prototype.slice.call(arguments,1);if(0===e.length)for(var n in t)R.call(t,n)&&"function"==typeof t[n]&&"[object Function]"==C.call(t[n])&&e.push(n);for(var r=0;r<e.length;r++){var i=e[r];t[i]=function(t,e){return function(){return t.apply(e,arguments)}}(t[i],t)}},M=P.Lethargy,L="virtualscroll",D={LEFT:37,UP:38,RIGHT:39,DOWN:40,SPACE:32};function N(t){_(this,"_onWheel","_onMouseWheel","_onTouchStart","_onTouchMove","_onKeyDown"),this.el=window,t&&t.el&&(this.el=t.el,delete t.el),this.options=A({mouseMultiplier:1,touchMultiplier:2,firefoxMultiplier:15,keyStep:120,preventTouch:!1,unpreventTouchClass:"vs-touchmove-allowed",limitInertia:!1,useKeyboard:!0,useTouch:!0},t),this.options.limitInertia&&(this._lethargy=new M),this._emitter=new T,this._event={y:0,x:0,deltaX:0,deltaY:0},this.touchStartX=null,this.touchStartY=null,this.bodyTouchAction=null,void 0!==this.options.passive&&(this.listenerOptions={passive:this.options.passive})}function I(t){var e={};if(window.getComputedStyle){var n=getComputedStyle(t),r=n.transform||n.webkitTransform||n.mozTransform,i=r.match(/^matrix3d\((.+)\)$/);return i?(e.x=i?parseFloat(i[1].split(", ")[12]):0,e.y=i?parseFloat(i[1].split(", ")[13]):0):(i=r.match(/^matrix\((.+)\)$/),e.x=i?parseFloat(i[1].split(", ")[4]):0,e.y=i?parseFloat(i[1].split(", ")[5]):0),e}}function B(t){for(var e=[];t&&t!==document;t=t.parentNode)e.push(t);return e}N.prototype._notify=function(t){var e=this._event;e.x+=e.deltaX,e.y+=e.deltaY,this._emitter.emit(L,{x:e.x,y:e.y,deltaX:e.deltaX,deltaY:e.deltaY,originalEvent:t})},N.prototype._onWheel=function(t){var e=this.options;
25if(!this._lethargy||!1!==this._lethargy.check(t)){var n=this._event;n.deltaX=t.wheelDeltaX||-1*t.deltaX,n.deltaY=t.wheelDeltaY||-1*t.deltaY,O.isFirefox&&1==t.deltaMode&&(n.deltaX*=e.firefoxMultiplier,n.deltaY*=e.firefoxMultiplier),n.deltaX*=e.mouseMultiplier,n.deltaY*=e.mouseMultiplier,this._notify(t)}},N.prototype._onMouseWheel=function(t){if(!this.options.limitInertia||!1!==this._lethargy.check(t)){var e=this._event;e.deltaX=t.wheelDeltaX?t.wheelDeltaX:0,e.deltaY=t.wheelDeltaY?t.wheelDeltaY:t.wheelDelta,this._notify(t)}},N.prototype._onTouchStart=function(t){var e=t.targetTouches?t.targetTouches[0]:t;this.touchStartX=e.pageX,this.touchStartY=e.pageY},N.prototype._onTouchMove=function(t){var e=this.options;e.preventTouch&&!t.target.classList.contains(e.unpreventTouchClass)&&t.preventDefault();var n=this._event,r=t.targetTouches?t.targetTouches[0]:t;n.deltaX=(r.pageX-this.touchStartX)*e.touchMultiplier,n.deltaY=(r.pageY-this.touchStartY)*e.touchMultiplier,this.touchStartX=r.pageX,this.touchStartY=r.pageY,this._notify(t)},N.prototype._onKeyDown=function(t){var e=this._event;e.deltaX=e.deltaY=0;var n=window.innerHeight-40;switch(t.keyCode){case D.LEFT:case D.UP:e.deltaY=this.options.keyStep;break;case D.RIGHT:case D.DOWN:e.deltaY=-this.options.keyStep;break;case t.shiftKey:e.deltaY=n;break;case D.SPACE:e.deltaY=-n;break;default:return}this._notify(t)},N.prototype._bind=function(){O.hasWheelEvent&&this.el.addEventListener("wheel",this._onWheel,this.listenerOptions),O.hasMouseWheelEvent&&this.el.addEventListener("mousewheel",this._onMouseWheel,this.listenerOptions),O.hasTouch&&this.options.useTouch&&(this.el.addEventListener("touchstart",this._onTouchStart,this.listenerOptions),this.el.addEventListener("touchmove",this._onTouchMove,this.listenerOptions)),O.hasPointer&&O.hasTouchWin&&(this.bodyTouchAction=document.body.style.msTouchAction,document.body.style.msTouchAction="none",this.el.addEventListener("MSPointerDown",this._onTouchStart,!0),this.el.addEventListener("MSPointerMove",this._onTouchMove,!0)),O.hasKeyDown&&this.options.useKeyboard&&document.addEventListener("keydown",this._onKeyDown)},N.prototype._unbind=function(){O.hasWheelEvent&&this.el.removeEventListener("wheel",this._onWheel),O.hasMouseWheelEvent&&this.el.removeEventListener("mousewheel",this._onMouseWheel),O.hasTouch&&(this.el.removeEventListener("touchstart",this._onTouchStart),this.el.removeEventListener("touchmove",this._onTouchMove)),O.hasPointer&&O.hasTouchWin&&(
25document.body.style.msTouchAction=this.bodyTouchAction,this.el.removeEventListener("MSPointerDown",this._onTouchStart,!0),this.el.removeEventListener("MSPointerMove",this._onTouchMove,!0)),O.hasKeyDown&&this.options.useKeyboard&&document.removeEventListener("keydown",this._onKeyDown)},N.prototype.on=function(t,e){this._emitter.on(L,t,e);var n=this._emitter.e;n&&n[L]&&1===n[L].length&&this._bind()},N.prototype.off=function(t,e){this._emitter.off(L,t,e);var n=this._emitter.e;(!n[L]||n[L].length<=0)&&this._unbind()},N.prototype.reset=function(){var t=this._event;t.x=0,t.y=0},N.prototype.destroy=function(){this._emitter.off(),this._unbind()};var V="function"==typeof Float32Array;function F(t,e,n){return(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t}function U(t,e,n){return 3*(1-3*n+3*e)*t*t+2*(3*n-6*e)*t+3*e}function z(t){return t}var W=function(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return z;for(var i=V?new Float32Array(11):Array(11),o=0;o<11;++o)i[o]=F(.1*o,t,n);return function(o){return 0===o?0:1===o?1:F(function(e){for(var r=0,o=1;10!==o&&i[o]<=e;++o)r+=.1;var s=r+(e-i[--o])/(i[o+1]-i[o])*.1,a=U(s,t,n);return a>=.001?function(t,e,n,r){for(var i=0;i<4;++i){var o=U(e,n,r);if(0===o)break;var s=F(e,n,r)-t;e-=s/o}return e}(e,s,t,n):0===a?s:function(t,e,n,r,i){var o,s,a=0;do(o=F(s=e+(n-e)/2,r,i)-t)>0?n=s:e=s;while(Math.abs(o)>1e-7&&++a<10);return s}(e,r,r+.1,t,n)}(o),e,r)}},H={LEFT:37,UP:38,RIGHT:39,DOWN:40,SPACE:32,TAB:9,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35},$=function(t){l(n,t);var e=d(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(this,n),history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0),(t=e.call(this,i)).inertia&&(t.lerp=.1*t.inertia),t.isScrolling=!1,t.isDraggingScrollbar=!1,t.isTicking=!1,t.hasScrollTicking=!1,t.parallaxElements={},t.stop=!1,t.scrollbarContainer=i.scrollbarContainer,t.checkKey=t.checkKey.bind(h(t)),window.addEventListener("keydown",t.checkKey,!1),t}return o(n,[{key:"init",value:function(){var t=this;this.html.classList.add(this.smoothClass),this.html.setAttribute("data-".concat(this.name,"-direction"),this.direction),this.instance=a({delta:{x:this.initPosition.x,y:this.initPosition.y},scroll:{x:this.initPosition.x,y:this.initPosition.y}},this.instance),this.vs=new N({el:this.scrollFromAnywhere?document:this.el,mouseMultiplier:navigator.platform.indexOf("Win")>-1?1:.4,firefoxMultiplier:this.firefoxMultiplier,touchMultiplier:this.touchMultiplier,useKeyboard:!1,passive:!0}),this.vs.on(function(e){!t.stop&&(t.isDraggingScrollbar||requestAnimationFrame(function(){t.updateDelta(e),t.isScrolling||t.startScrolling()}))}),this.setScrollLimit(),this.initScrollBar(),this.addSections(),this.addElements(),this.checkScroll(!0),this.transformElements(!0,!0),f(c(n.prototype),"init",this).call(this)}},{key:"setScrollLimit",value:function(){if(this.instance.limit.y=this.el.offsetHeight-this.windowHeight,"horizontal"===this.direction){for(var t=0,e=this.el.children,n=0;n<e.length;n++)t+=e[n].offsetWidth;this.instance.limit.x=t-this.windowWidth}}},{key:"startScrolling",value:function(){this.startScrollTs=Date.now(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}},{key:"stopScrolling",value:function(){cancelAnimationFrame(this.checkScrollRaf),this.startScrollTs=void 0,this.scrollToRaf&&(cancelAnimationFrame(this.scrollToRaf),this.scrollToRaf=null),this.isScrolling=!1,this.instance.scroll.y=Math.round(this.instance.scroll.y),this.html.classList.remove(this.scrollingClass)}},{key:"checkKey",value:function(t){var e=this;if(this.stop){t.keyCode==H.TAB&&requestAnimationFrame(function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0});return}switch(t.keyCode){case H.TAB:requestAnimationFrame(function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0,e.scrollTo(document.activeElement,{offset:-window.innerHeight/2})});break;case H.UP:this.isActiveElementScrollSensitive()&&(this.instance.delta[this.directionAxis]-=240);break;case H.DOWN:this.isActiveElementScrollSensitive()&&(this.instance.delta[this.directionAxis]+=240);break;case H.PAGEUP:this.instance.delta[this.directionAxis]-=window.innerHeight;break;case H.PAGEDOWN:this.instance.delta[this.directionAxis]+=window.innerHeight;break;case H.HOME:this.instance.delta[this.directionAxis]-=this.instance.limit[this.directionAxis];break;case H.END:this.instance.delta[this.directionAxis]+=this.instance.limit[this.directionAxis];break;case H.SPACE:this.isActiveElementScrollSensitive()&&(t.shiftKey?this.instance.delta[this.directionAxis]-=window.innerHeight:this.instance.delta[this.directionAxis]+=window.innerHeight);break;default:return}this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis]),this.stopScrolling(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}},{key:"isActiveElementScrollSensitive",value:function(){return!(document.activeElement instanceof HTMLInputElement)&&!(document.activeElement instanceof HTMLTextAreaElement)&&!(document.activeElement instanceof HTMLButtonElement)&&!(document.activeElement instanceof HTMLSelectElement)}},{key:"checkScroll",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||this.isScrolling||this.isDraggingScrollbar){this.hasScrollTicking||(this.checkScrollRaf=requestAnimationFrame(function(){return t.checkScroll()}),this.hasScrollTicking=!0),this.updateScroll();var r=Math.abs(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis]),i=Date.now()-this.startScrollTs;if(!this.animatingScroll&&i>100&&(r<.5&&0!=this.instance.delta[this.directionAxis]||r<.5&&0==this.instance.delta[this.directionAxis])&&this.stopScrolling(),Object.entries(this.sections).forEac
25h(function(n){var r=p(n,2),i=(r[0],r[1]);i.persistent||t.instance.scroll[t.directionAxis]>i.offset[t.directionAxis]&&t.instance.scroll[t.directionAxis]<i.limit[t.directionAxis]?("horizontal"===t.direction?t.transform(i.el,-t.instance.scroll[t.directionAxis],0):t.transform(i.el,0,-t.instance.scroll[t.directionAxis]),i.inView||(i.inView=!0,i.el.style.opacity=1,i.el.style.pointerEvents="all",i.el.setAttribute("data-".concat(t.name,"-section-inview"),""))):((i.inView||e)&&(i.inView=!1,i.el.style.opacity=0,i.el.style.pointerEvents="none",i.el.removeAttribute("data-".concat(t.name,"-section-inview"))),t.transform(i.el,0,0))}),this.getDirection&&this.addDirection(),this.getSpeed&&(this.addSpeed(),this.speedTs=Date.now()),this.detectElements(),this.transformElements(),this.hasScrollbar){var o=this.instance.scroll[this.directionAxis]/this.instance.limit[this.directionAxis]*this.scrollBarLimit[this.directionAxis];"horizontal"===this.direction?this.transform(this.scrollbarThumb,o,0):this.transform(this.scrollbarThumb,0,o)}f(c(n.prototype),"checkScroll",this).call(this),this.hasScrollTicking=!1}}},{key:"resize",value:function(){this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.checkContext(),this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.update()}},{key:"updateDelta",value:function(t){var e,n=this[this.context]&&this[this.context].gestureDirection?this[this.context].gestureDirection:this.gestureDirection;e="both"===n?t.deltaX+t.deltaY:"vertical"===n?t.deltaY:"horizontal"===n?t.deltaX:t.deltaY,this.instance.delta[this.directionAxis]-=e*this.multiplier,this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis])}},{key:"updateScroll",value:function(t){if(this.isScrolling||this.isDraggingScrollbar){var e,n,r;this.instance.scroll[this.directionAxis]=(e=this.instance.scroll[this.directionAxis],n=this.instance.delta[this.directionAxis],(1-(r=this.lerp))*e+r*n)}else this.instance.scroll[this.directionAxis]>this.instance.limit[this.directionAxis]?this.setScroll(this.instance.scroll[this.directionAxis],this.instance.limit[this.directionAxis]):this.instance.scroll.y<0?this.setScroll(this.instance.scroll[this.directionAxis],0):this.setScroll(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis])}},{key:"addDirection",value:function(){this.instance.delta.y>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):this.instance.delta.y<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up"),this.instance.delta.x>this.instance.scroll.x?"right"!==this.instance.direction&&(this.instance.direction="right"):this.instance.delta.x<this.instance.scroll.x&&"left"!==this.instance.direction&&(this.instance.direction="left")}},{key:"addSpeed",value:function(){this.instance.delta[this.directionAxis]!=this.instance.scroll[this.directionAxis]?this.instance.speed=(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis])/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"initScrollBar",value:function(){if(this.scrollbar=document.createElement("span"),this.scrollbarThumb=document.createElement("span"),this.scrollbar.classList.add("".concat(this.scrollbarClass)),this.scrollbarThumb.classList.add("".concat(this.scrollbarClass,"_thumb")),this.scrollbar.append(this.scrollbarThumb),this.scrollbarContainer?this.scrollbarContainer.append(this.scrollbar):document.body.append(this.scrollbar),this.getScrollBar=this.getScrollBar.bind(this),this.releaseScrollBar=this.releaseScrollBar.bind(this),this.moveScrollBar=this.moveScrollBar.bind(this),this.scrollbarThumb.addEventListener("mousedown",this.getScrollBar),window.addEventListener("mouseup",this.releaseScrollBar),window.addEventListener("mousemove",this.moveScrollBar),this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"reinitScrollBar",value:function(){if(this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"destroyScrollBar",value:function(){this.scrollbarThumb.removeEventListener("mousedown",this.get
25ScrollBar),window.removeEventListener("mouseup",this.releaseScrollBar),window.removeEventListener("mousemove",this.moveScrollBar),this.scrollbar.remove()}},{key:"getScrollBar",value:function(t){this.isDraggingScrollbar=!0,this.checkScroll(),this.html.classList.remove(this.scrollingClass),this.html.classList.add(this.draggingClass)}},{key:"releaseScrollBar",value:function(t){this.isDraggingScrollbar=!1,this.isScrolling&&this.html.classList.add(this.scrollingClass),this.html.classList.remove(this.draggingClass)}},{key:"moveScrollBar",value:function(t){var e=this;this.isDraggingScrollbar&&requestAnimationFrame(function(){var n=(t.clientX-e.scrollbarBCR.left)*100/e.scrollbarWidth*e.instance.limit.x/100,r=(t.clientY-e.scrollbarBCR.top)*100/e.scrollbarHeight*e.instance.limit.y/100;r>0&&r<e.instance.limit.y&&(e.instance.delta.y=r),n>0&&n<e.instance.limit.x&&(e.instance.delta.x=n)})}},{key:"addElements",value:function(){var t=this;this.els={},this.parallaxElements={},this.el.querySelectorAll("[data-".concat(this.name,"]")).forEach(function(e,n){var r,i,o,s=B(e),a=Object.entries(t.sections).map(function(t){var e=p(t,2);return e[0],e[1]}).find(function(t){return s.includes(t.el)}),l=e.dataset[t.name+"Class"]||t.class,c="string"==typeof e.dataset[t.name+"Id"]?e.dataset[t.name+"Id"]:"el"+n,u=e.dataset[t.name+"Repeat"],h=e.dataset[t.name+"Call"],d=e.dataset[t.name+"Position"],f=e.dataset[t.name+"Delay"],m=e.dataset[t.name+"Direction"],g="string"==typeof e.dataset[t.name+"Sticky"],y=!!e.dataset[t.name+"Speed"]&&parseFloat(e.dataset[t.name+"Speed"])/10,v="string"==typeof e.dataset[t.name+"Offset"]?e.dataset[t.name+"Offset"].split(","):t.offset,b=e.dataset[t.name+"Target"],w=(o=void 0!==b?document.querySelector("".concat(b)):e).getBoundingClientRect();null===a?(r=w.top+t.instance.scroll.y-I(o).y,i=w.left+t.instance.scroll.x-I(o).x):a.inView?(r=w.top+t.instance.scroll.y-I(o).y,i=w.left+t.instance.scroll.x-I(o).x):(r=w.top-I(a.el).y-I(o).y,i=w.left-I(a.el).x-I(o).x);var x=r+o.offsetHeight,S=i+o.offsetWidth,E={x:(S-i)/2+i,y:(x-r)/2+r};if(g){var j=e.getBoundingClientRect(),k=j.top,A=j.left,T={x:A-i,y:k-r};r+=window.innerHeight,i+=window.innerWidth,x=k+o.offsetHeight-e.offsetHeight-T[t.directionAxis],E={x:((S=A+o.offsetWidth-e.offsetWidth-T[t.directionAxis])-i)/2+i,y:(x-r)/2+r}}u="false"!=u&&(void 0!=u||t.repeat);var P=[0,0];if(v){if("horizontal"===t.direction){for(var O=0;O<v.length;O++)"string"==typeof v[O]?v[O].includes("%")?P[O]=parseInt(v[O].replace("%","")*t.windowWidth/100):P[O]=parseInt(v[O]):P[O]=v[O];i+=P[0],S-=P[1]}else{for(var O=0;O<v.length;O++)"string"==typeof v[O]?v[O].includes("%")?P[O]=parseInt(v[O].replace("%","")*t.windowHeight/100):P[O]=parseInt(v[O]):P[O]=v[O];r+=P[0],x-=P[1]}}var C={el:e,id:c,class:l,section:a,top:r,middle:E,bottom:x,left:i,right:S,offset:v,progress:0,repeat:u,inView:!1,call:h,speed:y,delay:f,position:d,target:o,direction:m,sticky:g};t.els[c]=C,e.classList.contains(l)&&t.setInView(t.els[c],c),(!1!==y||g)&&(t.parallaxElements[c]=C)})}},{key:"addSections",value:function(){var t=this;this.sections={};var e=this.el.querySelectorAll("[data-".concat(this.name,"-section]"));0===e.length&&(e=[this.el]),e.forEach(function(e,n){var r="string"==typeof e.dataset[t.name+"Id"]?e.dataset[t.name+"Id"]:"section"+n,i=e.getBoundingClientRect(),o={x:i.left-1.5*window.innerWidth-I(e).x,y:i.top-1.5*window.innerHeight-I(e).y},s={x:o.x+i.width+2*window.innerWidth,y:o.y+i.height+2*window.innerHeight},a="string"==typeof e.dataset[t.name+"Persistent"];e.setAttribute("data-scroll-section-id",r),t.sections[r]={el:e,offset:o,limit:s,inView:!1,persistent:a,id:r}})}},{key:"transform",value:function(t,e,n,r){var i;if(r){var o=I(t),s=(1-r)*o.x+r*e,a=(1-r)*o.y+r*n;i="matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(s,",").concat(a,",0,1)")}else i="matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(e,",").concat(n,",0,1)");t.style.webkitTransform=i,t.style.msTransform=i,t.style.transform=i}},{key:"transformElements",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.instance.scroll.x+this.windowWidth,i=this.instance.scroll.y+this.windowHeight,o={x:this.instance.scroll.x+this.windowMiddle.x,y:this.instance.scroll.y+this.windowMiddle.y};
25Object.entries(this.parallaxElements).forEach(function(s){var a=p(s,2),l=(a[0],a[1]),c=!1;if(t&&(c=0),l.inView||n)switch(l.position){case"top":case"left":c=-(e.instance.scroll[e.directionAxis]*l.speed);break;case"elementTop":c=-((i-l.top)*l.speed);break;case"bottom":c=(e.instance.limit[e.directionAxis]-i+e.windowHeight)*l.speed;break;case"elementLeft":c=-((r-l.left)*l.speed);break;case"right":c=(e.instance.limit[e.directionAxis]-r+e.windowHeight)*l.speed;break;default:c=-((o[e.directionAxis]-l.middle[e.directionAxis])*l.speed)}l.sticky&&(c=l.inView?"horizontal"===e.direction?e.instance.scroll.x-l.left+window.innerWidth:e.instance.scroll.y-l.top+window.innerHeight:"horizontal"===e.direction?e.instance.scroll.x<l.left-window.innerWidth&&e.instance.scroll.x<l.left-window.innerWidth/2?0:e.instance.scroll.x>l.right&&e.instance.scroll.x>l.right+100&&l.right-l.left+window.innerWidth:e.instance.scroll.y<l.top-window.innerHeight&&e.instance.scroll.y<l.top-window.innerHeight/2?0:e.instance.scroll.y>l.bottom&&e.instance.scroll.y>l.bottom+100&&l.bottom-l.top+window.innerHeight),!1!==c&&("horizontal"===l.direction||"horizontal"===e.direction&&"vertical"!==l.direction?e.transform(l.el,c,0,!t&&l.delay):e.transform(l.el,0,c,!t&&l.delay))})}},{key:"scrollTo",value:function(t){var e,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=parseInt(r.offset)||0,o=isNaN(parseInt(r.duration))?1e3:parseInt(r.duration),s=r.easing||[.25,0,.35,1],a=!!r.disableLerp,l=!!r.callback&&r.callback;if(s=W.apply(void 0,function(t){if(Array.isArray(t))return g(t)}(e=s)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(e)||m(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),"string"==typeof t){if("top"===t)t=0;else if("bottom"===t)t=this.instance.limit.y;else if("left"===t)t=0;else if("right"===t)t=this.instance.limit.x;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(t&&t.tagName);else{console.warn("`target` parameter is not valid");return}if("number"!=typeof t){if(!B(t).includes(this.el))return;var c=t.getBoundingClientRect(),u=c.top,h=c.left,d=B(t).find(function(t){return Object.entries(n.sections).map(function(t){var e=p(t,2);return e[0],e[1]}).find(function(e){return e.el==t})}),f=0;f=d?I(d)[this.directionAxis]:-this.instance.scroll[this.directionAxis],i="horizontal"===this.direction?h+i-f:u+i-f}else i=t+i;var y=parseFloat(this.instance.delta[this.directionAxis]),v=Math.max(0,Math.min(i,this.instance.limit[this.directionAxis]))-y,b=function(t){a?"horizontal"===n.direction?n.setScroll(y+v*t,n.instance.delta.y):n.setScroll(n.instance.delta.x,y+v*t):n.instance.delta[n.directionAxis]=y+v*t};this.animatingScroll=!0,this.stopScrolling(),this.startScrolling();var w=Date.now();!function t(){var e=(Date.now()-w)/o;e>1?(b(1),n.animatingScroll=!1,0==o&&n.update(),l&&l()):(n.scrollToRaf=requestAnimationFrame(t),b(s(e)))}()}},{key:"update",value:function(){this.setScrollLimit(),this.addSections(),this.addElements(),this.detectElements(),this.updateScroll(),this.transformElements(!0),this.reinitScrollBar(),this.checkScroll(!0)}},{key:"startScroll",value:function(){this.stop=!1}},{key:"stopScroll",value:function(){this.stop=!0}},{key:"setScroll",value:function(t,e){this.instance=a(a({},this.instance),{},{scroll:{x:t,y:e},delta:{x:t,y:e},speed:0})}},{key:"destroy",value:function(){f(c(n.prototype),"destroy",this).call(this),this.stopScrolling(),this.html.classList.remove(this.smoothClass),this.vs.destroy(),this.destroyScrollBar(),window.removeEventListener("keydown",this.checkKey,!1)}}]),n}(v),q=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.options=e,Object.assign(this,y,e),this.smartphone=y.smartphone,e.smartphone&&Object.assign(this.smartphone,e.smartphone),this.tablet=y.tablet,e.tablet&&Object.assign(this.tablet,e.tablet),this.smooth||"horizontal"!=this.direction||console.warn("\uD83D\uDEA8 `smooth:false` & `horizontal` direction are not yet compatible"),this.tablet.smooth||"horizontal"!=this.tablet.direction||
25console.warn("\uD83D\uDEA8 `smooth:false` & `horizontal` direction are not yet compatible (tablet)"),this.smartphone.smooth||"horizontal"!=this.smartphone.direction||console.warn("\uD83D\uDEA8 `smooth:false` & `horizontal` direction are not yet compatible (smartphone)"),this.init()}return o(t,[{key:"init",value:function(){if(this.options.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||window.innerWidth<this.tablet.breakpoint,this.options.isTablet=this.options.isMobile&&window.innerWidth>=this.tablet.breakpoint,this.smooth&&!this.options.isMobile||this.tablet.smooth&&this.options.isTablet||this.smartphone.smooth&&this.options.isMobile&&!this.options.isTablet?this.scroll=new $(this.options):this.scroll=new S(this.options),this.scroll.init(),window.location.hash){var t=window.location.hash.slice(1,window.location.hash.length),e=document.getElementById(t);e&&this.scroll.scrollTo(e)}}},{key:"update",value:function(){this.scroll.update()}},{key:"start",value:function(){this.scroll.startScroll()}},{key:"stop",value:function(){this.scroll.stopScroll()}},{key:"scrollTo",value:function(t,e){this.scroll.scrollTo(t,e)}},{key:"setScroll",value:function(t,e){this.scroll.setScroll(t,e)}},{key:"on",value:function(t,e){this.scroll.setEvents(t,e)}},{key:"off",value:function(t,e){this.scroll.unsetEvents(t,e)}},{key:"destroy",value:function(){this.scroll.destroy()}}]),t}(),G=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),this.options=e,Object.assign(this,y,e),this.smartphone=y.smartphone,e.smartphone&&Object.assign(this.smartphone,e.smartphone),this.tablet=y.tablet,e.tablet&&Object.assign(this.tablet,e.tablet),this.init()}return o(t,[{key:"init",value:function(){if(this.scroll=new S(this.options),this.scroll.init(),window.location.hash){var t=window.location.hash.slice(1,window.location.hash.length),e=document.getElementById(t);e&&this.scroll.scrollTo(e)}}},{key:"update",value:function(){this.scroll.update()}},{key:"start",value:function(){this.scroll.startScroll()}},{key:"stop",value:function(){this.scroll.stopScroll()}},{key:"scrollTo",value:function(t,e){this.scroll.scrollTo(t,e)}},{key:"setScroll",value:function(t,e){this.scroll.setScroll(t,e)}},{key:"on",value:function(t,e){this.scroll.setEvents(t,e)}},{key:"off",value:function(t,e){this.scroll.unsetEvents(t,e)}},{key:"destroy",value:function(){this.scroll.destroy()}}]),t}();e.default=q},3454:function(t,e,n){"use strict";var r,i;t.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},6840:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(6685)}])},3991:function(t,e){"use strict";var n,r;Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return o},ACTION_RESTORE:function(){return s},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return u}});let i="refresh",o="navigate",s="restore",a="server-patch",l="prefetch",c="fast-refresh",u="server-action";(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1516:function(t,e){"use strict";function n(t,e,n,r){return!1}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return n}}),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3740:function(t,e,n){"use strict";
25Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return v}});let r=n(8754),i=n(1757),o=i._(n(7294)),s=r._(n(2636)),a=n(7757),l=n(3735),c=n(3341);n(4210);let u=r._(n(7746)),h={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 d(t){return void 0!==t.default}function f(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 p(t,e,n,r,i,o,s){if(!t||t["data-loaded-src"]===e)return;t["data-loaded-src"]=e;let a="decode"in t?t.decode():Promise.resolve();a.catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("blur"===n&&o(!0),null==r?void 0:r.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,i=!1;r.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{i=!0,e.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(t)}})}function m(t){let[e,n]=o.version.split("."),r=parseInt(e,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:t}:{fetchpriority:t}}let g=(0,o.forwardRef)((t,e)=>{let{imgAttributes:n,heightInt:r,widthInt:i,qualityInt:s,className:a,imgStyle:l,blurStyle:c,isLazy:u,fetchPriority:h,fill:d,placeholder:f,loading:g,srcString:y,config:v,unoptimized:b,loader:w,onLoadRef:x,onLoadingCompleteRef:S,setBlurComplete:E,setShowAltText:j,onLoad:k,onError:A,...T}=t;return g=u?"lazy":g,o.default.createElement("img",{...T,...m(h),loading:g,width:i,height:r,decoding:"async","data-nimg":d?"fill":"1",className:a,style:{...l,...c},...n,ref:(0,o.useCallback)(t=>{e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(A&&(t.src=t.src),t.complete&&p(t,y,f,x,S,E,b))},[y,f,x,S,E,A,b,e]),onLoad:t=>{let e=t.currentTarget;p(e,y,f,x,S,E,b)},onError:t=>{j(!0),"blur"===f&&E(!0),A&&A(t)}})}),y=(0,o.forwardRef)((t,e)=>{var n;let r,i,{src:p,sizes:y,unoptimized:v=!1,priority:b=!1,loading:w,className:x,quality:S,width:E,height:j,fill:k,style:A,onLoad:T,onLoadingComplete:P,placeholder:O="empty",blurDataURL:C,fetchPriority:R,layout:_,objectFit:M,objectPosition:L,lazyBoundary:D,lazyRoot:N,...I}=t,B=(0,o.useContext)(c.ImageConfigContext),V=(0,o.useMemo)(()=>{let t=h||B||l.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),n=t.deviceSizes.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:n}},[B]),F=I.loader||u.default;delete I.loader;let U="__next_img_default"in F;if(U){if("custom"===V.loader)throw Error('Image with src "'+p+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let t=F;F=e=>{let{config:n,...r}=e;return t(r)}}if(_){"fill"===_&&(k=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];t&&(A={...A,...t});let e={responsive:"100vw",fill:"100vw"}[_];e&&!y&&(y=e)}let z="",W=f(E),H=f(j);if("object"==typeof(n=p)&&(d(n)||void 0!==n.src)){let t=d(p)?p.default:p;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(r=t.blurWidth,i=t.blurHeight,C=C||t.blurDataURL,z=t.src,!k){if(W||H){if(W&&!H){let e=W/t.width;H=Math.round(t.height*e)}else if(!W&&H){let e=H/t.height;W=Math.round(t.width*e)}}else W=t.width,H=t.height}}let $=!b&&("lazy"===w||void 0===w);(!(p="string"==typeof p?p:z)||p.startsWith("data:")||p.startsWith("blob:"))&&(v=!0,$=!1),V.unoptimized&&(v=!0),U&&p.endsWith(".svg")&&!V.dangerouslyAllowSVG&&(v=!0),b&&(R="high");let[q,G]=(0,o.useState)(!1),[Y,X]=(0,o.useState)(!1),K=f(S),Z=Object.assign(k?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:L}:{},Y?{}:{color:"transparent"},A),J="blur"===O&&C&&!q?{backgroundSize:Z.objectFit||"cover",backgroundPosition:Z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,a.getImageBlurSvg)({widthInt:W,heightInt:H,blurWidth:r,blurHeight:i,blurDataURL:C,objectFit:Z.objectFit})+'")'}:{},Q=function(t){let{config:e,src:n,unoptimized:r,width:i,quality:o,sizes:s,loader:a}=t;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(t,e,n){let{deviceSizes:r,allSizes:i}=t;if(n){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let r;r=t.exec(n);r)e.push(parseInt(r[2]));if(e.length){let t=.01*Math.min(...e);return{widths:i.filter(e=>e>=r[0]*t),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof e)return{widths:r,kind:"w"};let o=[...new Set([e,2*e].map(t=>i.find(e=>e>=t)||i[i.length-1]))];return{widths:o,kind:"x"}}(e,i,s),u=l.length-1;return{sizes:s||"w"!==c?s:"100vw",srcSet:l.map((t,r)=>a({config:e,src:n,quality:o,width:t})+" "+("w"===c?t:r+1)+c).join(", "),src:a({config:e,src:n,quality:o,width:l[u]})}}({config:V,src:p,unoptimized:v,width:W,quality:K,sizes:y,loader:F}),tt=p,te=(0,o.useRef)(T);(0,o.useEffect)(()=>{te.current=T},[T]);let tn=(0,o.useRef)(P);(0,o.useEffect)(()=>{tn.current=P},[P]);let tr={isLazy:$,imgAttributes:Q,heightInt:H,widthInt:W,qualityInt:K,className:x,imgStyle:Z,blurStyle:J,loading:w,config:V,fetchPriority:R,fill:k,unoptimized:v,placeholder:O,loader:F,srcString:tt,onLoadRef:te,onLoadingCompleteRef:tn,setBlurComplete:G,setShowAltText:X,...I};return o.default.createElement(o.default.Fragment,null,o.default.createElement(g,{...tr,ref:e}),b?o.default.createElement(s.default,null,o.default.createElement("link",{key:"__nimg-"+Q.src+Q.srcSet+Q.sizes,rel:"preload",as:"image",href:Q.srcSet?void 0:Q.src,imageSrcSet:Q.srcSet,imageSizes:Q.sizes,crossOrigin:I.crossOrigin,referrerPolicy:I.referrerPolicy,...m
25(R)})):null)}),v=y;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},5569:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return w}});let r=n(8754),i=r._(n(7294)),o=n(4532),s=n(3353),a=n(1410),l=n(9064),c=n(370),u=n(9955),h=n(4224),d=n(508),f=n(1516),p=n(4266),m=n(3991),g=new Set;function y(t,e,n,r,i,o){if(!o&&!(0,s.isLocalURL)(e))return;if(!r.bypassPrefetchedCheck){let i=void 0!==r.locale?r.locale:"locale"in t?t.locale:void 0,o=e+"%"+n+"%"+i;if(g.has(o))return;g.add(o)}let a=o?t.prefetch(e,i):t.prefetch(e,n,r);Promise.resolve(a).catch(t=>{})}function v(t){return"string"==typeof t?t:(0,a.formatUrl)(t)}let b=i.default.forwardRef(function(t,e){let n,r;let{href:a,as:g,children:b,prefetch:w=null,passHref:x,replace:S,shallow:E,scroll:j,locale:k,onClick:A,onMouseEnter:T,onTouchStart:P,legacyBehavior:O=!1,...C}=t;n=b,O&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let R=!1!==w,_=null===w?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,M=i.default.useContext(u.RouterContext),L=i.default.useContext(h.AppRouterContext),D=null!=M?M:L,N=!M,{href:I,as:B}=i.default.useMemo(()=>{if(!M){let t=v(a);return{href:t,as:g?v(g):t}}let[t,e]=(0,o.resolveHref)(M,a,!0);return{href:t,as:g?(0,o.resolveHref)(M,g):e||t}},[M,a,g]),V=i.default.useRef(I),F=i.default.useRef(B);O&&(r=i.default.Children.only(n));let U=O?r&&"object"==typeof r&&r.ref:e,[z,W,H]=(0,d.useIntersection)({rootMargin:"200px"}),$=i.default.useCallback(t=>{(F.current!==B||V.current!==I)&&(H(),F.current=B,V.current=I),z(t),U&&("function"==typeof U?U(t):"object"==typeof U&&(U.current=t))},[B,U,I,H,z]);i.default.useEffect(()=>{D&&W&&R&&y(D,I,B,{locale:k},{kind:_},N)},[B,I,W,k,R,null==M?void 0:M.locale,D,N,_]);let q={ref:$,onClick(t){O||"function"!=typeof A||A(t),O&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),D&&!t.defaultPrevented&&function(t,e,n,r,o,a,l,c,u,h){let{nodeName:d}=t.currentTarget,f="A"===d.toUpperCase();if(f&&(function(t){let e=t.currentTarget,n=e.getAttribute("target");return n&&"_self"!==n||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!u&&!(0,s.isLocalURL)(n)))return;t.preventDefault();let p=()=>{"beforePopState"in e?e[o?"replace":"push"](n,r,{shallow:a,locale:c,scroll:l}):e[o?"replace":"push"](r||n,{forceOptimisticNavigation:!h})};u?i.default.startTransition(p):p()}(t,D,I,B,S,E,j,k,N,R)},onMouseEnter(t){O||"function"!=typeof T||T(t),O&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),D&&(R||!N)&&y(D,I,B,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:_},N)},onTouchStart(t){O||"function"!=typeof P||P(t),O&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),D&&(R||!N)&&y(D,I,B,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:_},N)}};if((0,l.isAbsoluteUrl)(B))q.href=B;else if(!O||x||"a"===r.type&&!("href"in r.props)){let t=void 0!==k?k:null==M?void 0:M.locale,e=(null==M?void 0:M.isLocaleDomain)&&(0,f.getDomainLocale)(B,t,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);q.href=e||(0,p.addBasePath)((0,c.addLocale)(B,t,null==M?void 0:M.defaultLocale))}return O?i.default.cloneElement(r,q):i.default.createElement("a",{...C,...q},n)}),w=b;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},508:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(7294),i=n(29),o="function"==typeof IntersectionObserver,s=new Map,a=[];function l(t){let{rootRef:e,rootMargin:n,disabled:l}=t,c=l||!o,[u,h]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(t=>{d.current=t},[]);(0,r.useEffect)(()=>{if(o){if(c||u)return;let t=d.current;if(t&&t.tagName){let r=function(t,e,n){let{id:r,observer:i,elements:o}=function(t){let e;let n={root:t.root||null,margin:t.rootMargin||""},r=a.find(t=>t.root===n.root&&t.margin===n.margin);if(r&&(e=s.get(r)))return e;let i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{let e=i.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;e&&n&&e(n)})},t);return e={id:n,observer:o,elements:i},a.push(n),s.set(n,e),e}(n);return o.set(t,e),i.observe(t),function(){if(o.delete(t),i.unobserve(t),0===o.size){i.disconnect(),s.delete(r);let t=a.findIndex(t=>t.root===r.root&&t.margin===r.margin);t>-1&&a.splice(t,1)}}}(t,t=>t&&h(t),{root:null==e?void 0:e.current,rootMargin:n});return r}}else if(!u){let t=(0,i.requestIdleCallback)(()=>h(!0));return()=>(0,i.cancelIdleCallback)(t)}},[c,n,e,u,d.current]);let p=(0,r.useCallback)(()=>{h(!1)},[]);return[f,u,p]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
25dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},7757:function(t,e){"use strict";function n(t){let{widthInt:e,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:s}=t,a=r||e,l=i||n,c=o.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return a&&l?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+a+" "+l+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(r&&i?"1":"20")+"'/%3E"+c+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+o+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},7746:function(t,e){"use strict";function n(t){let{config:e,src:n,width:r,quality:i}=t;return e.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},8154:function(t,e,n){"use strict";n.d(e,{Y:function(){return A}});var r=n(5893),i=n(7294),o=n(2729),s=n(964),a=n(2509);function l(){let t=(0,o._)(["\n  position: relative;\n\n  &.exclusive {\n    .option {\n      border: 1px solid var(--Plycem-Negro, #282828);\n      &.active {\n        border: 1px solid var(--Plycem-Rojo, #b42b3d);\n        background: rgba(180, 43, 61, 0.2);\n      }\n\n      label {\n        padding: 1.19rem 1.25rem 1.19rem 1.25rem;\n      }\n    }\n  }\n\n  .options {\n    gap: 1rem 2.5rem;\n    display: grid;\n\n    @media "," {\n      grid-template-columns: repeat(2, 1fr);\n    }\n\n    .option {\n      transition: all ease 0.3s;\n      display: flex;\n      align-items: center;\n\n      &.active {\n        label {\n          color: var(--Plycem-Rojo, #b42b3d);\n        }\n      }\n\n      label {\n        display: flex;\n        align-items: center;\n        cursor: pointer;\n        font-family: Raleway;\n        font-size: 1.125rem !important;\n        font-style: normal !important;\n        font-weight: 400 !important;\n        line-height: 0.8;\n        width: 100%;\n\n        &.with-input {\n          width: fit-content;\n        }\n      }\n\n      .option-content {\n        display: flex;\n        align-items: center;\n\n        @media ",' {\n          flex-direction: column;\n          gap: 1rem;\n        }\n        span {\n          display: block;\n          width: 10rem;\n        }\n        img {\n          display: block;\n          width: 13rem;\n          height: 5rem;\n          object-fit: contain;\n          mix-blend-mode: darken;\n        }\n      }\n\n      input[type="checkbox"] {\n        display: none;\n      }\n      input[type="text"] {\n        color: var(--Plycem-Negro, #282828);\n        font-size: 1.125rem;\n        border: none;\n        border-bottom: solid 1px #282828;\n        width: 100%;\n      }\n      input[type="checkbox"] + label > span {\n        position: relative;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        margin-right: 0.88rem;\n        width: 1rem;\n        height: 1rem;\n        background: transparent;\n        border: 0.125rem solid #000000;\n        cursor: pointer;\n        transition: all 250ms cubic-bezier(0.4, 0, 0.23, 1);\n      }\n      input[type="checkbox"] + label:hover > span,\n      input[type="checkbox"]:focus + label > span {\n        background: rgba(255, 255, 255, 0.1);\n      }\n      input[type="checkbox"]:checked + label > span {\n        border: 0.5rem solid ',";\n        background: ",';\n        animation: shrink-bounce 200ms cubic-bezier(0.4, 0, 0.23, 1);\n      }\n      input[type="checkbox"]:checked + label > span:before {\n        content: "";\n        position: absolute;\n        top: -0.1rem;\n        left: -0.3rem;\n        border-right: 0.15rem solid transparent;\n        border-bottom: 0.15rem solid transparent;\n        transform: rotate(45deg);\n        transform-origin: 0% 100%;\n        animation: checkbox-check 125ms 250ms cubic-bezier(0.4, 0, 0.23, 1) forwards;\n      }\n\n      @keyframes shrink-bounce {\n        0% {\n          transform: scale(1);\n        }\n        33% {\n          transform: scale(0.85);\n        }\n        100% {\n          transform: scale(1);\n        }\n      }\n      @keyframes checkbox-check {\n        0% {\n          width: 0;\n          height: 0;\n          border-color: #ffffff;\n          transform: translate3d(0, 0, 0) rotate(45deg);\n        }\n        33% {\n          width: 0.3rem;\n          height: 0;\n          transform: translate3d(0, 0, 0) rotate(45deg);\n        }\n        100% {\n          width: 0.3rem;\n          height: 0.7rem;\n          border-color: #ffffff;\n          transform: translate3d(0, -0.5rem, 0) rotate(45deg);\n        }\n      }\n    }\n  }\n']);return l=function(){return t},t}let c=s.ZP.div(l(),a.Td.md,a.Td.maxxs,a.DM.red,a.DM.red);var u=t=>{let{name:e,options:n,exclusive:o=!0,onChange:s}=t,a=(0,i.useRef)(null),[l,u]=(0,i.useState)([]),[h,d]=(0,i.useState)(""),f=t=>{let n="string"==typeof t?t:t.title,r=o?[n]:[...l];o||(r=r.includes(n)?r.filter(t=>t!==n):[...r,n]),r.includes("Otro:")||d(""),u(r),s(e,r.map(t=>"Otro:"===t&&h?"Otro: ".concat(h):t).join(", "))},p=t=>{let n=t.target.value;d(n),s(e,l.map(t=>"Otro:"===t?"Otro: ".concat(n):t).join(", "))};return(0,i.useEffect)(()=>{l.includes("Otro:")||d("")},[l]),(0,r.jsx)("div",{className:"input-container",ref:a,children:(0,r.jsx)(c,{className:o?"exclusive":"",children:(0,r.jsx)("div",{className:"options",children:n.map((t,n)=>{let i="string"==typeof t?t:t.title,o=l.includes(i);return(0,r.jsxs)("div",{className:"option ".concat(o?"active":""),children:[(0,r.jsx)("input",{id:"".concat(e,"-").concat(i),name:e,type:"checkbox",onChange:()=>f(t),checked:o}),(0,r.jsxs)("label",{htmlFor:"".concat(e,"-").concat(i),className:"".concat("Otro:"===i?"with-input":""),children:[(0,r.jsx)("span",{}),"string"==typeof t?t:(0,r.jsxs)("div",{className:"option-content",children:[(0,r.jsx)("span",{children:t.title}),(0,r.jsx)("img",{src:t.cover,alt:t.title})]})]}),"Otro:"===i&&o&&(0,r.jsx)("input",{type:"text",value:h,onChange:p})]},n)})})})})},h=n(7397),d=n(2784);function f(){let t=(0,o._)(["\n  position: relative;\n  .custom-data-box {\n    width: 100%;\n    flex: 1;\n\n    .custom-file-upload {\n      .file-upload-box {\n        border: 2px dashed var(--Plycem-Negro, #282828);\n        background-color: #fff;\n        position: relative;\n        overflow: hidden;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        font-weight: 400;\n        flex-direction: column;\n        height: 12rem;\n        gap: 1.5rem;\n\n        span {\n          display: block;\n          text-align: center;\n          font-size: 1.125rem;\n          font-style: normal;\n          font-weight: 400;\n          line-height: normal;\n        }\n\n        button {\n          display: flex;\n          justify-content: center;\n          gap: ","rem;\n          padding: ","rem ","rem;\n          width: 100%;\n          border: none;\n          color: #fff;\n          font-size: ","rem;\n          font-weight: 600;\n          cursor: pointer;\n          background-color: #b42b3d;\n          height: 3rem;\n\n          @media "," {\n            max-width: 11.6875rem;\n            width: 100%;\n          }\n\n          svg {\n            stroke: #fff;\n          }\n        }\n\n        .icon {\n          margin-bottom: -1rem;\n          svg {\n            width: 2.5rem;\n            height: 2.5rem;\n          }\n        }\n\n        .file-upload-input {\n          position: absolute;\n          width: 100%;\n          height: 100%;\n          top: 0;\n          left: 0;\n          opacity: 0;\n          cursor: pointer;\n        }\n      }\n      .disclaimer {\n        font-size: 0.8rem;\n        display: block;\n        font-weight: 500;\n        padding-top: 0.3rem;\n      }\n    }\n\n    .custom-attach-box {\n      margin-top: 1rem;\n      .file-atc-box {\n        height: 3.1875rem;\n        padding: 0 1.5rem;\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n        background: #e6e6e6;
25\n        .controls,\n        .row {\n          display: flex;\n          gap: 1rem;\n          align-items: center;\n        }\n        .row {\n          flex: 1;\n          svg {\n            width: 1.5rem;\n            display: block;\n            height: 1.5rem;\n          }\n        }\n        .controls {\n          button {\n            cursor: pointer;\n            background-color: transparent;\n          }\n          .container-bar {\n            width: 10rem;\n            background: #bdbdbd;\n            height: 0.7rem;\n            border-radius: 3rem;\n            padding: 0.15rem;\n            .progress-bar {\n              background: #56565b;\n              width: 0rem;\n              height: 100%;\n              border-radius: 6rem;\n              animation: expandWidth 1s ease-in-out forwards;\n            }\n          }\n        }\n      }\n    }\n  }\n\n  @keyframes expandWidth {\n    from {\n      width: 0;\n    }\n    to {\n      width: 100%;\n    }\n  }\n"]);return f=function(){return t},t}let p=s.ZP.div(f(),1,.875,1.875,1.125,a.Td.md);var m=t=>{let{name:e,onChange:n}=t,o=(0,d.Z)(),[s,a]=(0,i.useState)([]),l=t=>{let r=s.filter(e=>e.id!==t);a(r),n(e,r.map(t=>t.file))};return(0,r.jsx)(p,{children:(0,r.jsx)("div",{className:"fileupload-view",children:(0,r.jsxs)("div",{className:"custom-data-box",children:[(0,r.jsxs)("div",{className:"custom-file-upload",children:[(0,r.jsxs)("div",{className:"file-upload-box",children:[(0,r.jsx)("input",{type:"file",name:e,onCh
25ange:t=>{let r=Array.from(t.target.files),i=r.map(t=>({id:"".concat(t.name,"-").concat(t.lastModified),file:t,filename:t.name,filetype:t.type,datetime:t.lastModifiedDate.toLocaleString("en-IN"),filesize:"".concat((t.size/1024).toFixed(2)," KB")}));a(t=>[...i]),n(e,[...s.map(t=>t.file),...r])},className:"file-upload-input"}),(0,r.jsx)(h.Q,{className:"icon",src:"/icons/upload.svg"}),(0,r.jsx)("span",{children:"en"===o?"Drag or attach your document":"Arrastre o adjunte su documento"}),(0,r.jsx)("button",{children:(0,r.jsx)("span",{children:"en"===o?"Add file":"A\xf1adir archivo"})})]}),(0,r.jsx)("span",{className:"disclaimer",children:"en"===o?"You can only attach files in .PDF, .JPG, .DOC, .DWG formats and with a maximum size of 50MB.":"Solo puedes adjuntar archivos en .PDF, .JPG, .DOC, .DWG y con un peso m\xe1ximo de 50mb."})," "]}),(0,r.jsx)("div",{className:"custom-attach-box",children:s.map(t=>{let{id:e,filename:n,filesize:i,datetime:o}=t;return(0,r.jsxs)("div",{className:"file-atc-box",children:[(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"pdf-icon",children:(0,r.jsx)(h.Q,{className:"icon",src:"/icons/doc.svg"})}),(0,r.jsx)("div",{className:"name",children:(0,r.jsx)("span",{children:n})}),(0,r.jsx)("div",{className:"size",children:(0,r.jsx)("small",{children:i})})]}),(0,r.jsxs)("div",{className:"controls",children:[(0,r.jsx)("div",{className:"container-bar",children:(0,r.jsx)("div",{className:"progress-bar"})}),(0,r.jsx)("button",{type:"button",className:"file-action-btn",onClick:()=>l(e),children:(0,r.jsx)(h.Q,{className:"icon",src:"/icons/delete.svg"})})]})]},e)})})]})})})};function g(){let t=(0,o._)(["\n  position: relative;\n  .input-container {\n    display: flex;\n    flex-direction: column;\n    gap: ","rem;\n\n    @media "," {\n      gap: ","rem;\n    }\n\n    label {\n      color: #282828;\n      font-size: ","rem;\n      font-weight: 600;\n      line-height: ","rem;\n\n      @media "," {\n        line-height: ","rem;\n      }\n    }\n\n    .suffix {\n      position: absolute;\n      color: var(--Plycem-Rojo, #b42b3d);\n      font-size: 1rem;\n      font-weight: 400;\n      line-height: 1;\n      top: 50%;\n      right: 1rem;\n      transform: translateY(-50%);\n    }\n\n    textarea,\n    input {\n      height: ","rem;\n      color: #282828;\n      font-size: ","rem;\n      font-weight: 400;\n      line-height: ","rem;\n      border: 1px solid #282828;\n      outline: none;\n      cursor: text;\n      padding: 0 ","rem;\n\n      @media "," {\n        height: ","rem;\n        padding: 0 ","rem;\n      }\n    }\n\n    &.textarea {\n      textarea {\n        padding: 1.25rem;\n        height: 8.5rem;\n      }\n    }\n  }\n"]);return g=function(){return t},t}let y=s.ZP.div(g(),.5,a.Td.md,1,1,1.375,a.Td.md,1.75,2.5,1,1.375,.5,a.Td.md,45/16,1.25);var v=t=>{let{type:e,name:n,placeholder:i,onChange:o,suffix:s=null}=t;return(0,r.jsx)(y,{children:(0,r.jsxs)("div",{className:"input-container ".concat(e),children:["textarea"===e?(0,r.jsx)("textarea",{name:n,placeholder:i,onChange:t=>o(t.target.name,t.target.value)}):(0,r.jsx)("input",{type:e,name:n,placeholder:i,onChange:t=>o(t.target.name,t.target.value)}),s&&(0,r.jsx)("div",{className:"suffix",dangerouslySetInnerHTML:"m2"===s?{__html:"m<sup>2</sup>"}:{__html:s}})]})})};function b(){let t=(0,o._)(["\n  position: relative;\n\n  &.top {\n    .options {\n      @media "," {\n        bottom: 3.75rem;\n        top: auto;\n      }\n    }\n  }\n\n  .option-selected {\n    position: relative;\n    display: flex;\n    align-items: center;\n    border: 1px solid #282828;\n    padding: 0 ","rem;\n    cursor: pointer;\n    min-height: ","rem;\n\n    @media "," {\n      padding: 0 ","rem;\n      min-height: 3rem;\n    }\n\n    &.disabled {\n      border: 1px solid #e6e6e6;\n      background-color: #e6e6e6;\n      color: #282828;\n    }\n\n    .icon {\n      position: absolute;\n      right: ","rem;\n\n      @media "," {\n        right: ","rem;\n      }\n    }\n  }\n  .options {\n    position: absolute;\n    left: 0;\n    top: ","rem;\n    background-color: #ffffff;\n    width: 100%;\n    z-index: 1000;\n    overflow: auto;\n    max-height: 0;\n\n    @media "," {\n      top: ","rem;\n    }\n\n    &::-webkit-scrollbar {\n      width: 5px;\n    }\n\n    &::-webkit-scrollbar-thumb {\n      background: #b42b3d;\n    }\n\n    &.open {\n      max-height: ","rem;\n      border: 1px solid #282828;\n    }\n\n    .option {\n      padding: ","rem ","rem;\n      cursor: pointer;\n\n      @media "," {\n        padding: ","rem ","rem;\n      }\n\n      &:hover {\n        background-color: #b42b3d;\n        color: #ffffff;\n      }\n    }\n  }\n"]);return b=function(){return t},t}let w=s.ZP.div(b(),a.Td.md,.5,2.5,a.Td.md,1.25,.5,a.Td.md,1.25,3.125,a.Td.md,3.75,12.5,.625,.5,a.Td.md,.625,1.25);var x=t=>
25{let{value:e,options:n,optionsPosition:o="",onChange:s,customClass:a=""}=t,[l,c]=(0,i.useState)(!1),[u,d]=(0,i.useState)(e),f=(0,i.useRef)(null);(0,i.useEffect)(()=>{let t=t=>{f.current&&!f.current.contains(t.target)&&c(!1)};return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}},[]);let p=t=>{d(t),s(t),c(!1)};return(0,r.jsx)("div",{className:"input-container",ref:f,children:(0,r.jsxs)(w,{className:a+o+" custom-select",children:[(0,r.jsxs)("div",{className:"option-selected",onClick:()=>n.length>=1&&c(!l),children:["Seleccionar"===u?"Seleccionar":u,(0,r.jsx)(h.Q,{src:"/icons/arrow-down.svg",className:"icon"})]}),(0,r.jsx)("div",{className:"options ".concat(l?"open":""),children:n&&n.length>=0&&n.map((t,e)=>(0,r.jsx)("div",{className:"option",onClick:()=>p(t),children:t},e))})]})})};let S=t=>{let e=t.find(t=>t.startsWith("class:"));return e?e.split(":")[1]:""},E=t=>{let e=t.find(t=>t.startsWith("data-suffix:"));return e?e.split(":")[1]:null},j=t=>{let e=t.find(t=>t.startsWith("data-position:"));return e?e.split(":")[1]:""},k=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;switch(t.basetype){case"select":return(0,r.jsx)(x,{value:"Seleccionar",optionsPosition:j(t.options),options:t.values,onChange:n=>e(t.name,n)});case"checkbox":return(0,r.jsx)(u,{name:t.name,options:t.values,exclusive:t.options.includes("exclusive"),onChange:(t,n)=>e(t,n)});case"number":case"text":case"email":case"date":case"textarea":return(0,r.jsx)(v,{type:t.basetype,name:t.name,placeholder:t.raw_values[0],onChange:e,suffix:E(t.options)});case"file":return(0,r.jsx)(m,{type:t.basetype,name:t.name,onChange:n});default:return null}},A=t=>{let{field:e,handleInputChange:n,handleFileChange:i,errors:o=null}=t;return(0,r.jsxs)("div",{className:"control ".concat(e.name," ").concat(S(e.options)),children:[e.content&&(0,r.jsx)("label",{className:"input-label",children:e.content}),k(e,n,i),o&&o[e.name]&&(0,r.jsx)("span",{className:"error-message",children:"Campo requerido"})]})}},2784:function(t,e,n){"use strict";n.d(e,{Z:function(){return l},i:function(){return a}});var r=n(5893),i=n(7294),o=n(1163);let s=(0,i.createContext)("");function a(t){let{children:e}=t,{asPath:n}=(0,o.useRouter)(),[a,l]=(0,i.useState)("es");return(0,i.useEffect)(()=>
25{l(n.startsWith("/en")?"en":"es")},[n]),(0,r.jsx)(s.Provider,{value:a,children:e})}function l(){return(0,i.useContext)(s)}},8666:function(t,e,n){"use strict";n.d(e,{$V:function(){return o},K:function(){return a},TP:function(){return l},XL:function(){return s},Xp:function(){return i},vQ:function(){return c}});var r=n(7294);let i=(0,r.createContext)({}),o=(0,r.createContext)({}),s=(0,r.createContext)({}),a=(0,r.createContext)({}),l=(0,r.createContext)({}),c=(0,r.createContext)({})},1665:function(t,e,n){"use strict";var r=n(7294);e.Z=t=>{var e;let n=t.id,i=null!==(e=null==t?void 0:t.fields)&&void 0!==e?e:[],o=i.reduce((t,e)=>(t[e.name]="",t),{}),[s,a]=(0,r.useState)(o);return{formID:n,formFields:i,formData:s,setFormData:a,initialFormData:o}}},6685:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return oW}});var r,i=n(5893),o=n(7294),s=n(1163),a=n(6154);let l={delta:0,timestamp:0,isProcessing:!1},c=!0,u=!1,h=["read","update","preRender","render","postRender"],d=h.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,o=!1,s=new WeakSet,a={schedule:(t,o=!1,a=!1)=>{let l=a&&i,c=l?e:n;return o&&s.add(t),-1===c.indexOf(t)&&(c.push(t),l&&i&&(r=e.length)),t},cancel:t=>{let e=n.indexOf(t);-1!==e&&n.splice(e,1),s.delete(t)},process:l=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,r=e.length)for(let n=0;n<r;n++){let r=e[n];r(l),s.has(r)&&(a.schedule(r),t())}i=!1,o&&(o=!1,a.process(l))}};return a}(()=>u=!0),t),{}),f=t=>d[t].process(l),p=t=>{u=!1,l.delta=c?1e3/60:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,l.isProcessing=!0,h.forEach(f),l.isProcessing=!1,u&&(c=!1,requestAnimationFrame(p))},m=()=>{u=!0,c=!0,l.isProcessing||requestAnimationFrame(p)},g=h.reduce((t,e)=>{let n=d[e];return t[e]=(t,e=!1,r=!1)=>(u||m(),n.schedule(t,e,r)),t},{});function y(t){h.forEach(e=>d[e].cancel(t))}let v="undefined"!=typeof document,b=v?o.useLayoutEffect:o.useEffect;function w(){let t=(0,o.useRef)(!1);return b(()=>(t.current=!0,()=>{t.current=!1}),[]),t}let x=(0,o.createContext)(null);function S(t){let e=(0,o.useRef)(null);return null===e.current&&(e.current=t()),e.current}class E extends o.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function j({children:t,isPresent:e}){let n=(0,o.useId)(),r=(0,o.useRef)(null),i=(0,o.useRef)({width:0,height:0,top:0,left:0});return(0,o.useInsertionEffect)(()=>{let{width:t,height:o,top:s,left:a}
25=i.current;if(e||!r.current||!t||!o)return;r.current.dataset.motionPopId=n;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
26          [data-motion-pop-id="${n}"] {
27            position: absolute !important;
28            width: ${t}px !important;
29            height: ${o}px !important;
30            top: ${s}px !important;
31            left: ${a}px !important;
32          }
33        `),()=>{document.head.removeChild(l)}},[e]),o.createElement(E,{isPresent:e,childRef:r,sizeRef:i},o.cloneElement(t,{ref:r}))}let k=({children:t,initial:e,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:a})=>{let l=S(A),c=(0,o.useId)(),u=(0,o.useMemo)(()=>({id:c,initial:e,isPresent:n,custom:i,onExitComplete:t=>{for(let e of(l.set(t,!0),l.values()))if(!e)return;r&&r()},register:t=>(l.set(t,!1),()=>l.delete(t))}),s?void 0:[n]);return(0,o.useMemo)(()=>{l.forEach((t,e)=>l.set(e,!1))},[n]),o.useEffect(()=>{n||l.size||!r||r()},[n]),"popLayout"===a&&(t=o.createElement(j,{isPresent:n},t)),o.createElement(x.Provider,{value:u},t)};function A(){return new Map}let T=(0,o.createContext)({}),P=t=>t,O=t=>t.key||"",C=({children:t,custom:e,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{var l;P(!i,"Replace exitBeforeEnter with mode='wait'");let[c]=function(){let t=w(),[e,n]=(0,o.useState)(0),r=(0,o.useCallback)(()=>{t.current&&n(e+1)},[e]),i=(0,o.useCallback)(()=>g.postRender(r),[r]);return[i,e]}(),u=(0,o.useContext)(T).forceRender;u&&(c=u);let h=w(),d=function(t){let e=[];return o.Children.forEach(t,t=>{(0,o.isValidElement)(t)&&e.push(t)}),e}(t),f=d,p=new Set,m=(0,o.useRef)(f),y=(0,o.useRef)(new Map).current,v=(0,o.useRef)(!0);if(b(()=>{v.current=!1,function(t,e){t.forEach(t=>{let n=O(t);e.set(n,t)})}(d,y),m.current=f}),l=()=>{v.current=!0,y.clear(),p.clear()},(0,o.useEffect)(()=>()=>l(),[]),v.current)return o.createElement(o.Fragment,null,f.map(t=>o.createElement(k,{key:O(t),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:s,mode:a},t)));f=[...f];let x=m.current.map(O),S=d.map(O),E=x.length;for(let t=0;t<E;t++){let e=x[t];-1===S.indexOf(e)&&p.add(e)}return"wait"===a&&p.size&&(f=[]),p.forEach(t=>{if(-1!==S.indexOf(t))return;let n=y.get(t);if(!n)return;let i=x.indexOf(t);f.splice(i,0,o.createElement(k,{key:O(n),isPresent:!1,onExitComplete:()=>{y.delete(t),p.delete(t);let e=m.current.findIndex(e=>e.key===t);if(m.current.splice(e,1),!p.size){if(m.current=d,!1===h.current)return;c(),r&&r()}},custom:e,presenceAffectsLayout:s,mode:a},n))}),f=f.map(t=>{let e=t.key;return p.has(e)?t:o.createElement(k,{key:O(t),isPresent:!0,presenceAffectsLayout:s,mode:a},t)}),o.createElement(o.Fragment,null,p.size?f:f.map(t=>(0,o.cloneElement)(t)))},R=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),_=(0,o.createContext)({}),M=(0,o.createContext)({strict:!1});function L(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function D(t){return"string"==typeof t||Array.isArray(t)}function N(t){return"object"==typeof t&&"function"==typeof t.start}let I=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],B=["initial",...I];function V(t){return N(t.animate)||B.some(e=>D(t[e]))}function F(t){return!!(V(t)||t.variants)}function U(t){return Array.isArray(t)?t.join(" "):t}let z={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"]},W={};for(let t in z)W[t]={isEnabled:e=>z[t].some(t=>!!e[t])};let H=(0,o.createContext)({}),$=Symbol.for("motionComponentSymbol"),q=["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 G(t){if("string"!=typeof t||t.includes("-"));else if(q.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}let Y={},X=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],K=new Set(X);function Z(t,{layout:e,layoutId:n}){return K.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!Y[t]||"opacity"===t)}let J=t=>!!(t&&t.getVelocity),Q={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"}
33,tt=X.length,te=t=>e=>"string"==typeof e&&e.startsWith(t),tn=te("--"),tr=te("var(--"),ti=(t,e)=>e&&"number"==typeof t?e.transform(t):t,to=(t,e,n)=>Math.min(Math.max(n,t),e),ts={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},ta={...ts,transform:t=>to(0,1,t)},tl={...ts,default:1},tc=t=>Math.round(1e5*t)/1e5,tu=/(-)?([\d]*\.?[\d])+/g,th=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,td=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function tf(t){return"string"==typeof t}let tp=t=>({test:e=>tf(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tm=tp("deg"),tg=tp("%"),ty=tp("px"),tv=tp("vh"),tb=tp("vw"),tw={...tg,parse:t=>tg.parse(t)/100,transform:t=>tg.transform(100*t)},tx={...ts,transform:Math.round},tS={borderWidth:ty,borderTopWidth:ty,borderRightWidth:ty,borderBottomWidth:ty,borderLeftWidth:ty,borderRadius:ty,radius:ty,borderTopLeftRadius:ty,borderTopRightRadius:ty,borderBottomRightRadius:ty,borderBottomLeftRadius:ty,width:ty,maxWidth:ty,height:ty,maxHeight:ty,size:ty,top:ty,right:ty,bottom:ty,left:ty,padding:ty,paddingTop:ty,paddingRight:ty,paddingBottom:ty,paddingLeft:ty,margin:ty,marginTop:ty,marginRight:ty,marginBottom:ty,marginLeft:ty,rotate:tm,rotateX:tm,rotateY:tm,rotateZ:tm,scale:tl,scaleX:tl,scaleY:tl,scaleZ:tl,skew:tm,skewX:tm,skewY:tm,distance:ty,translateX:ty,translateY:ty,translateZ:ty,x:ty,y:ty,z:ty,perspective:ty,transformPerspective:ty,opacity:ta,originX:tw,originY:tw,originZ:ty,zIndex:tx,fillOpacity:ta,strokeOpacity:ta,numOctaves:tx};function tE(t,e,n,r){let{style:i,vars:o,transform:s,transformOrigin:a}=t,l=!1,c=!1,u=!0;for(let t in e){let n=e[t];if(tn(t)){o[t]=n;continue}let r=tS[t],h=ti(n,r);if(K.has(t)){if(l=!0,s[t]=h,!u)continue;n!==(r.default||0)&&(u=!1)}else t.startsWith("origin")?(c=!0,a[t]=h):i[t]=h}if(!e.transform&&(l||r?i.transform=function(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let o="";for(let e=0;e<tt;e++){let n=X[e];if(void 0!==t[n]){let e=Q[n]||n;o+=`${e}(${t[n]}) `}}return e&&!t.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(t,r?"":o):n&&r&&(o="none"),o}(t.transform,n,u,r):i.transform&&(i.transform="none")),c){let{originX:t="50%",originY:e="50%",originZ:n=0}=a;i.transformOrigin=`${t} ${e} ${n}`}}let tj=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tk(t,e,n){for(let r in e)J(e[r])||Z(r,n)||(t[r]=e[r])}function tA(t,e,n){let r={},i=function(t,e,n){let r=t.style||{},i={};return tk(i,r,t),Object.assign(i,function({transformTemplate:t},e,n){return(0,o.useMemo)(()=>{let r=tj();return tE(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(i):i}(t,e,n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r}let tT=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 tP(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||tT.has(t)}let tO=t=>!tP(t);try{(r=require("@emotion/is-prop-valid").default)&&(tO=t=>t.startsWith("on")?!tP(t):r(t))}catch(t){}function tC(t,e,n){return"string"==typeof t?t:ty.transform(e+n*t)}let tR={offset:"stroke-dashoffset",array:"stroke-dasharray"},t_={offset:"strokeDashoffset",array:"strokeDasharray"};function tM(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c}
33,u,h,d){if(tE(t,c,u,d),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:p,dimensions:m}=t;f.transform&&(m&&(p.transform=f.transform),delete f.transform),m&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(t,e,n){let r=tC(e,t.x,t.width),i=tC(n,t.y,t.height);return`${r} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==e&&(f.x=e),void 0!==n&&(f.y=n),void 0!==r&&(f.scale=r),void 0!==s&&function(t,e,n=1,r=0,i=!0){t.pathLength=1;let o=i?tR:t_;t[o.offset]=ty.transform(-r);let s=ty.transform(e),a=ty.transform(n);t[o.array]=`${s} ${a}`}(f,s,a,l,!1)}let tL=()=>({...tj(),attrs:{}}),tD=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tN(t,e,n,r){let i=(0,o.useMemo)(()=>{let n=tL();return tM(n,e,{enableHardwareAcceleration:!1},tD(r),t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};tk(e,t.style,t),i.style={...e,...i.style}}return i}let tI=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function tB(t,{style:e,vars:n},r,i){for(let o in Object.assign(t.style,e,i&&i.getProjectionStyles(r)),n)t.style.setProperty(o,n[o])}let tV=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"]);function tF(t,e,n,r){for(let n in tB(t,e,void 0,r),e.attrs)t.setAttribute(tV.has(n)?n:tI(n),e.attrs[n])}function tU(t,e){let{style:n}=t,r={};for(let i in n)(J(n[i])||e.style&&J(e.style[i])||Z(i,t))&&(r[i]=n[i]);return r}function tz(t,e){let n=tU(t,e);for(let r in t)if(J(t[r])||J(e[r])){let e=-1!==X.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[e]=t[r]}return n}function tW(t,e,n,r={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,r,i)),e}let tH=t=>Array.isArray(t),t$=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),tq=t=>tH(t)?t[t.length-1]||0:t;function tG(t){let e=J(t)?t.get():t;return t$(e)?e.toValue():e}let tY=t=>(e,n)=>{let r=(0,o.useContext)(_),i=(0,o.useContext)(x),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,o){let s={latestValues:function(t,e,n,r){let i={},o=r(t,{});for(let t in o)i[t]=tG(o[t]);let{initial:s,animate:a}=t,l=V(t),c=F(t);e&&c&&!l&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===a&&(a=e.animate));let u=!!n&&!1===n.initial;u=u||!1===s;let h=u?a:s;if(h&&"boolean"!=typeof h&&!N(h)){let e=Array.isArray(h)?h:[h];e.forEach(e=>{let n=tW(t,e);if(!n)return;let{transitionEnd:r,transition:o,...s}=n;for(let t in s){let e=s[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(i[t]=e)}for(let t in r)i[t]=r[t]})}return i}(r,i,o,t),renderState:e()};return n&&(s.mount=t=>n(r,t,s)),s})(t,e,r,i);return n?s():S(s)},tX={useVisualState:tY({scrapeMotionValuesFromProps:tz,createRenderState:tL,onMount:(t,e,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}tM(n,r,{enableHardwareAcceleration:!1},tD(e.tagName),t.transformTemplate),tF(e,n)}})},tK={useVisualState:tY({scrapeMotionValuesFromProps:tU,createRenderState:tj})};function tZ(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}let tJ=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function tQ(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}let t0=t=>e=>tJ(e)&&t(e,tQ(e));function t1(t,e,n,r){return tZ(t,e,t0(n),r)}let t2=(t,e)=>n=>e(t(n)),t5=(...t)=>t.reduce(t2);function t3(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let t4=t3("dragHorizontal"),t8=t3("dragVertical");function t6(t){let e=!1;if("y"===t)e=t8();else if("x"===t)e=t4();else{let t=t4(),n=t8();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function t9(){let t=t6(!0);return!t||(t(),!1)}class t7{constructor(t){this.isMounted=!1,this.node=t}update(){}}function et(t,e){let n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End");return t1(t.current,n,(n,i)=>{if("touch"===n.type||t9())return;let o=t.getProps();t.animationState&&o.whileHover&&t.animationState.setActive("whileHover",e),o[r]&&g.update(()=>o[r](n,i))},{passive:!t.getProps()[r]})}let ee=(t,e)=>!!e&&(t===e||ee(t,e.parentElement));function en(t,e){if(!e)return;let n=new PointerEvent("pointer"+t);e(n,tQ(n))}let er=new WeakMap,ei=new WeakMap,eo=t=>{let e=er.get(t.target);e&&e(t)}
33,es=t=>{t.forEach(eo)},ea={some:0,all:1};function el(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function ec(t,e,n){let r=t.getProps();return tW(r,e,void 0!==n?n:r.custom,function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.get()),e}(t),function(t){let e={};return t.values.forEach((t,n)=>e[n]=t.getVelocity()),e}(t))}let eu="data-"+tI("framerAppearId"),eh=t=>1e3*t,ed=t=>t/1e3,ef={current:!1},ep=t=>Array.isArray(t)&&"number"==typeof t[0],em=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,eg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:em([0,.65,.55,1]),circOut:em([.55,0,1,.45]),backIn:em([.31,.01,.66,-.59]),backOut:em([.33,1.53,.69,.99])},ey={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ev={},eb={};for(let t in ey)eb[t]=()=>(void 0===ev[t]&&(ev[t]=ey[t]()),ev[t]);let ew=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function ex(t,e,n,r){if(t===e&&n===r)return P;let i=e=>(function(t,e,n,r,i){let o,s;let a=0;do(o=ew(s=e+(n-e)/2,r,i)-t)>0?n=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,n);return t=>0===t||1===t?t:ew(i(t),e,r)}let eS=ex(.42,0,1,1),eE=ex(0,0,.58,1),ej=ex(.42,0,.58,1),ek=t=>Array.isArray(t)&&"number"!=typeof t[0],eA=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,eT=t=>e=>1-t(1-e),eP=t=>1-Math.sin(Math.acos(t)),eO=eT(eP),eC=eA(eO),eR=ex(.33,1.53,.69,.99),e_=eT(eR),eM=eA(e_),eL={linear:P,easeIn:eS,easeInOut:ej,easeOut:eE,circIn:eP,circInOut:eC,circOut:eO,backIn:e_,backInOut:eM,backOut:eR,anticipate:t=>(t*=2)<1?.5*e_(t):.5*(2-Math.pow(2,-10*(t-1)))},eD=t=>{if(Array.isArray(t)){P(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,n,r,i]=t;return ex(e,n,r,i)}return"string"==typeof t?(P(void 0!==eL[t],`Invalid easing type '${t}'`),eL[t]):t},eN=(t,e)=>n=>!!(tf(n)&&td.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),eI=(t,e,n)=>r=>{if(!tf(r))return r;let[i,o,s,a]=r.match(tu);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},eB=t=>to(0,255,t),eV={...ts,transform:t=>Math.round(eB(t))},eF={test:eN("rgb","red"),parse:eI("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+eV.transform(t)+", "+eV.transform(e)+", "+eV.transform(n)+", "+tc(ta.transform(r))+")"},eU={test:eN("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:eF.transform},ez={test:eN("hsl","hue"),parse:eI("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+tg.transform(tc(e))+", "+tg.transform(tc(n))+", "+tc(ta.transform(r))+")"},eW={test:t=>eF.test(t)||eU.test(t)||ez.test(t),parse:t=>eF.test(t)?eF.parse(t):ez.test(t)?ez.parse(t):eU.parse(t),transform:t=>tf(t)?t:t.hasOwnProperty("red")?eF.transform(t):ez.transform(t)},eH=(t,e,n)=>-n*t+n*e+t;function e$(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}let eq=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eG=[eU,eF,ez],eY=t=>eG.find(e=>e.test(t));function eX(t){let e=eY(t);P(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=e.parse(t);return e===ez&&(n=function({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,s=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,a=2*n-r;i=e$(a,r,t+1/3),o=e$(a,r,t),s=e$(a,r,t-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let eK=(t,e)=>{let n=eX(t),r=eX(e),i={...n};return t=>(i.red=eq(n.red,r.red,t),i.green=eq(n.green,r.green,t),i.blue=eq(n.blue,r.blue,t),i.alpha=eH(n.alpha,r.alpha,t),eF.transform(i))}
33,eZ={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:P},eJ={regex:th,countKey:"Colors",token:"${c}",parse:eW.parse},eQ={regex:tu,countKey:"Numbers",token:"${n}",parse:ts.parse};function e0(t,{regex:e,countKey:n,token:r,parse:i}){let o=t.tokenised.match(e);o&&(t["num"+n]=o.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...o.map(i)))}function e1(t){let e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&e0(n,eZ),e0(n,eJ),e0(n,eQ),n}function e2(t){return e1(t).values}function e5(t){let{values:e,numColors:n,numVars:r,tokenised:i}=e1(t),o=e.length;return t=>{let e=i;for(let i=0;i<o;i++)e=i<r?e.replace(eZ.token,t[i]):i<r+n?e.replace(eJ.token,eW.transform(t[i])):e.replace(eQ.token,tc(t[i]));return e}}let e3=t=>"number"==typeof t?0:t,e4={test:function(t){var e,n;return isNaN(t)&&tf(t)&&((null===(e=t.match(tu))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(th))||void 0===n?void 0:n.length)||0)>0},parse:e2,createTransformer:e5,getAnimatableNone:function(t){let e=e2(t),n=e5(t);return n(e.map(e3))}},e8=(t,e)=>n=>`${n>0?e:t}`;function e6(t,e){return"number"==typeof t?n=>eH(t,e,n):eW.test(t)?eK(t,e):t.startsWith("var(")?e8(t,e):nt(t,e)}let e9=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>e6(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},e7=(t,e)=>{let n={...t,...e},r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=e6(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}},nt=(t,e)=>{let n=e4.createTransformer(e),r=e1(t),i=e1(e),o=r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers;return o?t5(e9(r.values,i.values),n):(P(!0,`Complex values '${t}' and '${e}' 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.`),e8(t,e))},ne=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},nn=(t,e)=>n=>eH(t,e,n);function nr(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;if(P(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let s=function(t,e,n){let r=[],i=n||function(t){if("number"==typeof t);else if("string"==typeof t)return eW.test(t)?eK:nt;else if(Array.isArray(t))return e9;else if("object"==typeof t)return e7;return nn}(t[0]),o=t.length-1;for(let n=0;n<o;n++){let o=i(t[n],t[n+1]);if(e){let t=Array.isArray(e)?e[n]||P:e;o=t5(t,o)}r.push(o)}return r}(e,r,i),a=s.length,l=e=>{let n=0;if(a>1)for(;n<t.length-2&&!(e<t[n+1]);n++);let r=ne(t[n],t[n+1],e);return s[n](r)};return n?e=>l(to(t[0],t[o-1],e)):l}function ni({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){let i=ek(r)?r.map(eD):eD(r),o={done:!1,value:e[0]},s=(n&&n.length===e.length?n:function(t){let e=[0];return function(t,e){let n=t[t.length-1];for(let r=1;r<=e;r++){let i=ne(0,e,r);t.push(eH(n,1,i))}}(e,t.length-1),e}(e)).map(e=>e*t),a=nr(s,e,{ease:Array.isArray(i)?i:e.map(()=>i||ej).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}function no(t,e,n){var r,i;let o=Math.max(e-5,0);return r=n-t(o),(i=e-o)?r*(1e3/i):0}function ns(t,e){return t*Math.sqrt(1-e*e)}let na=["duration","bounce"],nl=["stiffness","damping","mass"];function nc(t,e){return e.some(e=>void 0!==t[e])}function nu({keyframes:t,restDelta:e,restSpeed:n,...r}){let i;let o=t[0],s=t[t.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,velocity:h,duration:d,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!nc(t,nl)&&nc(t,na)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,o;P(t<=eh(10),"Spring duration must be 10 seconds or less");let s=1-e;s=to(.05,1,s),t=to(.01,10,ed(t)),s<1?(i=e=>{let r=e*s,i=r*t,o=ns(e,s);return .001-(r-n)/o*Math.exp(-i)},o=e=>{let r=e*s,o=r*t,a=Math.pow(s,2)*Math.pow(e,2)*t,l=ns(Math.pow(e,2),s),c=-i(e)+.001>0?-1:1;return c*((o*n+n-a)*Math.exp(-o))/l}):(i=e=>{let r=Math.exp(-e*t),i=(e-n)*t+1;return -.001+r*i},o=e=>{let r=Math.exp(-e*t),i=(n-e)*(t*t);return r*i});let a=5/t,l=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,a);if(t=eh(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*r;return{stiffness:e,damping:2*s*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...n,velocity:0,mass:1}).isResolvedFromDuration=!0}return e}(r),p=h?-ed(h):0,m=c/(2*Math.sqrt(l*u)),g=s-o,y=ed(Math.sqrt(l/u)),v=5>Math.abs(g);if(n||(n=v?.01:2),e||(e=v?.005:.5),m<1){let t=ns(y,m);i=e=>{let n=Math.exp(-m*y*e);return s-n*((p+m*y*g)/t*Math.sin(t*e)+g*Math.cos(t*e))}}else if(1===m)i=t=>
33s-Math.exp(-y*t)*(g+(p+y*g)*t);else{let t=y*Math.sqrt(m*m-1);i=e=>{let n=Math.exp(-m*y*e),r=Math.min(t*e,300);return s-n*((p+m*y*g)*Math.sinh(r)+t*g*Math.cosh(r))/t}}return{calculatedDuration:f&&d||null,next:t=>{let r=i(t);if(f)a.done=t>=d;else{let o=p;0!==t&&(o=m<1?no(i,t,r):0);let l=Math.abs(o)<=n,c=Math.abs(s-r)<=e;a.done=l&&c}return a.value=a.done?s:r,a}}}function nh({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){let h,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=n*e,v=f+y,b=void 0===s?v:s(v);b!==v&&(y=b-f);let w=t=>-y*Math.exp(-t/r),x=t=>b+w(t),S=t=>{let e=w(t),n=x(t);p.done=Math.abs(e)<=c,p.value=p.done?b:n},E=t=>{m(p.value)&&(h=t,d=nu({keyframes:[p.value,g(p.value)],velocity:no(x,t,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==h||(e=!0,S(t),E(t)),void 0!==h&&t>h)?d.next(t-h):(e||S(t),p)}}}let nd=t=>{let e=({timestamp:e})=>t(e);return{start:()=>g.update(e,!0),stop:()=>y(e),now:()=>l.isProcessing?l.timestamp:performance.now()}};function nf(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}let np={decay:nh,inertia:nh,tween:ni,keyframes:ni,spring:nu};function nm({autoplay:t=!0,delay:e=0,driver:n=nd,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:h,...d}){let f,p,m,g,y,v=1,b=!1,w=()=>{f&&f(),p=new Promise(t=>{f=t})};w();let x=np[i]||ni;x!==ni&&"number"!=typeof r[0]&&(g=nr([0,100],r,{clamp:!1}),r=[0,100]);let S=x({...d,keyframes:r});"mirror"===a&&(y=x({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let E="idle",j=null,k=null,A=null;null===S.calculatedDuration&&o&&(S.calculatedDuration=nf(S));let{calculatedDuration:T}=S,P=1/0,O=1/0;null!==T&&(O=(P=T+s)*(o+1)-s);let C=0,R=t=>{if(null===k)return;v>0&&(k=Math.min(k,t)),C=null!==j?j:(t-k)*v;let n=C-e,i=n<0;C=Math.max(n,0),"finished"===E&&null===j&&(C=O);let l=C,c=S;if(o){let t=C/P,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,o+1);let r=!!(e%2);r&&("reverse"===a?(n=1-n,s&&(n-=s/P)):"mirror"===a&&(c=y));let i=to(0,1,n);C>O&&(i="reverse"===a&&r?1:0),l=i*P}let u=i?{done:!1,value:r[0]}:c.next(l);g&&(u.value=g(u.value));let{done:d}=u;i||null===T||(d=C>=O);let f=null===j&&("finished"===E||"running"===E&&d||v<0&&C<=0);return h&&h(u.value),f&&L(),u},_=()=>{m&&m.stop(),m=void 0},M=()=>{E="idle",_(),w(),k=A=null},L=()=>{E="finished",u&&u(),_(),w()},D=()=>{if(b)return;m||(m=n(R));let t=m.now();l&&l(),null!==j?k=t-j:k&&"finished"!==E||(k=t),A=k,j=null,E="running",m.start()};t&&D();let N={then:(t,e)=>p.then(t,e),get time(){return ed(C)},set time(newTime){C=newTime=eh(newTime),null===j&&m&&0!==v?k=m.now()-newTime/v:j=newTime},get duration(){let t=null===S.calculatedDuration?nf(S):S.calculatedDuration;return ed(t)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!m)return;v=newSpeed,N.time=ed(C)},get state(){return E},play:D,pause:()=>{E="paused",j=C},stop:()=>{b=!0,"idle"!==E&&(E="idle",c&&c(),M())},cancel:()=>{null!==A&&R(A),M()},complete:()=>{E="finished"},sample:t=>(k=0,R(t))};return N}let ng=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ny=(t,e)=>"spring"===e.type||"backgroundColor"===t||!function t(e){return!!(!e||"string"==typeof e&&eg[e]||ep(e)||Array.isArray(e)&&e.every(t))}(e.ease),nv={type:"spring",stiffness:500,damping:25,restSpeed:10},nb=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),nw={type:"keyframes",duration:.8},nx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nS=(t,{keyframes:e})=>e.length>2?nw:K.has(t)?t.startsWith("scale")?nb(e[1]):nv:nx,nE=(t,e)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(e4.test(e)||"0"===e)&&!e.startsWith("url(")),nj=new Set(["brightness","contrast","saturate","opacity"]);function nk(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(tu)||[];if(!r)return t;let i=n.replace(r,""),o=nj.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}let nA=/([a-z-]*)\(.*?\)/g,nT={...e4,getAnimatableNone:t=>{let e=t.match(nA);return e?e.map(nk).join(" "):t}}
33,nP={...tS,color:eW,backgroundColor:eW,outlineColor:eW,fill:eW,stroke:eW,borderColor:eW,borderTopColor:eW,borderRightColor:eW,borderBottomColor:eW,borderLeftColor:eW,filter:nT,WebkitFilter:nT},nO=t=>nP[t];function nC(t,e){let n=nO(t);return n!==nT&&(n=e4),n.getAnimatableNone?n.getAnimatableNone(e):void 0}let nR=t=>/^0[^.\s]+$/.test(t);function n_(t,e){return t[e]||t.default||t}let nM=(t,e,n,r={})=>i=>{let o=n_(r,t)||{},s=o.delay||r.delay||0,{elapsed:a=0}=r;a-=eh(s);let l=function(t,e,n,r){let i,o;let s=nE(e,n);i=Array.isArray(n)?[...n]:[null,n];let a=void 0!==r.from?r.from:t.get(),l=[];for(let t=0;t<i.length;t++){var c;(null===i[t]&&(i[t]=0===t?a:i[t-1]),"number"==typeof(c=i[t])?0===c:null!==c?"none"===c||"0"===c||nR(c):void 0)?l.push(t):"string"==typeof i[t]&&(o=i[t])}if(s&&l.length&&o)for(let t=0;t<l.length;t++){let n=l[t];i[n]=nC(e,o)}return i}(e,t,n,o),c=l[0],u=l[l.length-1],h=nE(t,c),d=nE(t,u);P(h===d,`You are trying to animate ${t} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let f={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!function({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)&&(f={...f,...nS(t,f)}),f.duration&&(f.duration=eh(f.duration)),f.repeatDelay&&(f.repeatDelay=eh(f.repeatDelay)),!h||!d||ef.current||!1===o.type)return function({keyframes:t,delay:e,onUpdate:n,onComplete:r}){let i=()=>(n&&n(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:P,pause:P,stop:P,then:t=>(t(),Promise.resolve()),cancel:P,complete:P});return e?nm({keyframes:[0,1],duration:0,delay:e,onComplete:i}):i()}(f);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let n=function(t,e,{onUpdate:n,onComplete:r,...i}){let o,s;let a=eb.waapi()&&ng.has(e)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type;if(!a)return!1;let l=!1,c=()=>{s=new Promise(t=>{o=t})};c();let{keyframes:u,duration:h=300,ease:d,times:f}=i;if(ny(e,i)){let t=nm({...i,repeat:0,delay:0}),e={done:!1,value:u[0]},n=[],r=0;for(;!e.done&&r<2e4;)n.push((e=t.sample(r)).value),r+=10;f=void 0,u=n,h=r-10,d="linear"}let p=function(t,e,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){let c={[e]:n};l&&(c.offset=l);let u=function t(e){if(e)return ep(e)?em(e):Array.isArray(e)?e.map(t):eg[e]}(a);return Array.isArray(u)&&(c.easing=u),t.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(t.owner.current,e,u,{...i,duration:h,ease:d,times:f}),m=()=>p.cancel(),v=()=>{g.update(m),o(),c()};return p.onfinish=()=>{t.set(function(t,{repeat:e,repeatType:n="loop"}){let r=e&&"loop"!==n&&e%2==1?0:t.length-1;return t[r]}(u,i)),r&&r(),v()},{then:(t,e)=>s.then(t,e),get time(){return ed(p.currentTime||0)},set time(newTime){p.currentTime=eh(newTime)},get speed(){return p.playbackRate},set speed(newSpeed){p.playbackRate=newSpeed},get duration(){return ed(h)},play:()=>{l||(p.play(),y(m))},pause:()=>p.pause(),stop:()=>{if(l=!0,"idle"===p.playState)return;let{currentTime:e}=p;if(e){let n=nm({...i,autoplay:!1});t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}v()},complete:()=>p.finish(),cancel:v}}(e,t,f);if(n)return n}return nm(f)};function nL(t){return!!(J(t)&&t.add)}let nD=t=>/^\-?\d*\.?\d+$/.test(t);function nN(t,e){-1===t.indexOf(e)&&t.push(e)}function nI(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}class nB{constructor(){this.subscriptions=[]}add(t){return nN(this.subscriptions,t),()=>nI(this.subscriptions,t)}notify(t,e,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(t,e,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let nV=t=>!isNaN(parseFloat(t));class nF{constructor(t,e={}){this.version="10.12.8",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;let{delta:n,timestamp:r}=l;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,g.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()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>g.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=nV(this.current),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new nB);let n=this.events[t].add(e);return"change"===t?()=>{n(),g.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?t*(1e3/e):0):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 nU(t,e){return new nF(t,e)}let nz=t=>e=>e.test(t),nW=[ts,ty,tg,tm,tb,tv,{test:t=>"auto"===t,parse:t=>t}],nH=t=>nW.find(nz(t)),n$=[...nW,eW,e4],nq=t=>n$.find(nz(t));function nG(t,e,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:s,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");r&&(o=r);let c=[],u=i&&t.animationState&&t.animationState.getState()[i];for(let e in a){let r=t.getValue(e),i=a[e];if(!r||void 0===i||u&&function({protectedKeys:t,needsAnimating:e},n){let r=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,r}(u,e))continue;let s={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){let n=t.getProps()[eu];n&&(s.elapsed=window.HandoffAppearAnimations(n,e,r,g))}r.start(nM(e,r,i,t.shouldReduceMotion&&K.has(e)?{type:!1}:s));let h=r.animation;nL(l)&&(l.add(e),h.then(()=>l.remove(e))),c.push(h)}return s&&Promise.all(c).then(()=>{s&&function(t,e){let n=ec(t,e),{transitionEnd:r={},transition:i={},...o}=n?t.makeTargetAnimatable(n,!1):{};for(let e in o={...o,...r}){let n=tq(o[e]);t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,nU(n))}}(t,s)}),c}function nY(t,e,n={}){let r=ec(t,e,n.custom),{transition:i=t.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(nG(t,r,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(t,e,n=0,r=0,i=1,o){let s=[],a=(t.variantChildren.size-1)*r,l=1===i?(t=0)=>t*r:(t=0)=>a-t*r;
33return Array.from(t.variantChildren).sort(nX).forEach((t,r)=>{t.notify("AnimationStart",e),s.push(nY(t,e,{...o,delay:n+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,o+r,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([o(),s(n.delay)]);{let[t,e]="beforeChildren"===a?[o,s]:[s,o];return t().then(()=>e())}}function nX(t,e){return t.sortNodePosition(e)}let nK=[...I].reverse(),nZ=I.length;function nJ(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let nQ=0,n0=(t,e)=>Math.abs(t-e);class n1{constructor(t,e,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=n3(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){let n=n0(t.x,e.x),r=n0(t.y,e.y);return Math.sqrt(n**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;let{point:r}=t,{timestamp:i}=l;this.history.push({...r,timestamp:i});let{onStart:o,onMove:s}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=n2(e,this.transformPagePoint),g.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:n,onSessionEnd:r}=this.handlers,i=n3("pointercancel"===t.type?this.lastMoveEventInfo:n2(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),r&&r(t,i)},!tJ(t))return;this.handlers=e,this.transformPagePoint=n;let r=tQ(t),i=n2(r,this.transformPagePoint),{point:o}=i,{timestamp:s}=l;this.history=[{...o,timestamp:s}];let{onSessionStart:a}=e;a&&a(t,n3(i,this.history)),this.removeListeners=t5(t1(window,"pointermove",this.handlePointerMove),t1(window,"pointerup",this.handlePointerUp),t1(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),y(this.updatePoint)}}function n2(t,e){return e?{point:e(t.point)}:t}function n5(t,e){return{x:t.x-e.x,y:t.y-e.y}}function n3({point:t},e){return{point:t,delta:n5(t,n4(e)),offset:n5(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null,i=n4(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>eh(.1)));)n--;if(!r)return{x:0,y:0};let o=ed(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function n4(t){return t[t.length-1]}function n8(t){return t.max-t.min}function n6(t,e=0,n=.01){return Math.abs(t-e)<=n}function n9(t,e,n,r=.5){t.origin=r,t.originPoint=eH(e.min,e.max,t.origin),t.scale=n8(n)/n8(e),(n6(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eH(n.min,n.max,t.origin)-t.originPoint,(n6(t.translate)||isNaN(t.translate))&&(t.translate=0)}function n7(t,e,n,r){n9(t.x,e.x,n.x,r?r.originX:void 0),n9(t.y,e.y,n.y,r?r.originY:void 0)}function rt(t,e,n){t.min=n.min+e.min,t.max=t.min+n8(e)}function re(t,e,n){t.min=e.min-n.min,t.max=t.min+n8(e)}function rn(t,e,n){re(t.x,e.x,n.x),re(t.y,e.y,n.y)}function rr(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function ri(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}function ro(t,e,n){return{min:rs(t,e),max:rs(t,n)}}function rs(t,e){return"number"==typeof t?t:t[e]||0}let ra=()=>({translate:0,scale:1,origin:0,originPoint:0}),rl=()=>({x:ra(),y:ra()}),rc=()=>({min:0,max:0}),ru=()=>({x:rc(),y:rc()});function rh(t){return[t("x"),t("y")]}function rd({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function rf(t){return void 0===t||1===t}function rp({scale:t,scaleX:e,scaleY:n}){return!rf(t)||!rf(e)||!rf(n)}function rm(t){return rp(t)||rg(t)||t.z||t.rotate||t.rotateX||t.rotateY}function rg(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function ry(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function rv(t,e=0,n=1,r,i){t.min=ry(t.min,e,n,r,i),t.max=ry(t.max,e,n,r,i)}function rb(t,{x:e,y:n}){rv(t.x,e.translate,e.scale,e.originPoint),rv(t.y,n.translate,n.scale,n.originPoint)}function rw(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function rx(t,e){t.min=t.min+e,t.max=t.max+e}function rS(t,e,[n,r,i]){let o=void 0!==e[i]?e[i]:.5,s=eH(t.min,t.max,o);rv(t,e[n],e[r],s,e.scale)}let rE=["x","scaleX","originX"],rj=["y","scaleY","originY"];
33function rk(t,e){rS(t.x,e,rE),rS(t.y,e,rj)}function rA(t,e){return rd(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let rT=new WeakMap;class rP{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=ru(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:n}=this.visualElement;n&&!1===n.isPresent||(this.panSession=new n1(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(tQ(t,"page").point)},onStart:(t,e)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=t6(n),!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),rh(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tg.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[t];if(r){let t=n8(r);e=t*(parseFloat(e)/100)}}}this.originPoint[t]=e}),i&&g.update(()=>i(t,e),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:s}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(t,e){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&g.update(()=>i(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:r}=this.getProps();if(!n||!rO(t,r,this.currentDirection))return;let i=this.getAxisMotionValue(t),o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},r){return void 0!==e&&t<e?t=r?eH(e,t,r.min):Math.max(t,e):void 0!==n&&t>n&&(t=r?eH(n,t,r.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;t&&L(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:r,right:i}){return{x:rr(t.x,n,i),y:rr(t.y,e,r)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ro(t,"left","right"),y:ro(t,"top","bottom")}}(e),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rh(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!L(e))return!1;let r=e.current;P(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(t,e,n){let r=rA(t,n),{scroll:i}=e;return i&&(rx(r.x,i.offset.x),rx(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),s={x:ri((t=i.layout.layoutBox).x,o.x),y:ri(t.y,o.y)};if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=rd(t))}return s}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=rh(s=>{if(!rO(s,e,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let c={type:"inertia",velocity:n?t[s]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,c)});return Promise.all(l).then(s)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return n.start(nM(t,n,0,e))}stopAnimation(){rh(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){rh(e=>{let{drag:n}=this.getProps();if(!rO(e,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(e);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[e];i.set(t[e]-eH(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!L(e)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rh(t=>{let e=this.getAxisMotionValue(t);if(e){let n=e.get();r[t]=function(t,e){let n=.5,r=n8(t),i=n8(e);return i>r?n=ne(e.min,e.max-r,t.min):r>i&&(n=ne(t.min,t.max-i,e.min)),to(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),rh(e=>{if(!rO(e,t,null))return;let n=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];n.set(eH(i,o,r[e]))})}addListeners(){if(!this.visualElement.current)return;rT.set(this.visualElement,this);let t=this.visualElement.current,e=t1(t,"pointerdown",t=>{let{drag:e,dragListener:n=!0}
33=this.getProps();e&&n&&this.start(t)}),n=()=>{let{dragConstraints:t}=this.getProps();L(t)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n();let o=tZ(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rh(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),e(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function rO(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}let rC=t=>(e,n)=>{t&&g.update(()=>t(e,n))},rR={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function r_(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let rM={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!ty.test(t))return t;t=parseFloat(t)}let n=r_(t,e.target.x),r=r_(t,e.target.y);return`${n}% ${r}%`}};class rL extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=t;Object.assign(Y,rN),i&&(e.group&&e.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),rR.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent===i||(i?o.promote():o.relegate()||g.postRender(()=>{let t=o.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:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rD(t){let[e,n]=function(){let t=(0,o.useContext)(x);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:n,register:r}=t,i=(0,o.useId)();return(0,o.useEffect)(()=>r(i),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}(),r=(0,o.useContext)(T);return o.createElement(rL,{...t,layoutGroup:r,switchLayoutGroup:(0,o.useContext)(H),isPresent:e,safeToRemove:n})}let rN={borderRadius:{...rM,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rM,borderTopRightRadius:rM,borderBottomLeftRadius:rM,borderBottomRightRadius:rM,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let r=e4.parse(t);if(r.length>5)return t;let i=e4.createTransformer(t),o="number"!=typeof r[0]?1:0,s=n.x.scale*e.x,a=n.y.scale*e.y;r[0+o]/=s,r[1+o]/=a;let l=eH(s,a,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),i(r)}}},rI=["TopLeft","TopRight","BottomLeft","BottomRight"],rB=rI.length,rV=t=>"string"==typeof t?parseFloat(t):t,rF=t=>"number"==typeof t||ty.test(t);function rU(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rz=rH(0,.5,eO),rW=rH(.5,.95,P);function rH(t,e,n){return r=>r<t?0:r>e?1:n(ne(t,e,r))}function r$(t,e){t.min=e.min,t.max=e.max}function rq(t,e){r$(t.x,e.x),r$(t.y,e.y)}function rG(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function rY(t,e,[n,r,i],o,s){!function(t,e=0,n=1,r=.5,i,o=t,s=t){if(tg.test(e)){e=parseFloat(e);let t=eH(s.min,s.max,e/100);e=t-s.min}if("number"!=typeof e)return;let a=eH(o.min,o.max,r);t===o&&(a-=e),t.min=rG(t.min,e,n,a,i),t.max=rG(t.max,e,n,a,i)}(t,e[n],e[r],e[i],e.scale,o,s)}let rX=["x","scaleX","originX"],rK=["y","scaleY","originY"];function rZ(t,e,n,r){rY(t.x,e,rX,n?n.x:void 0,r?r.x:void 0),rY(t.y,e,rK,n?n.y:void 0,r?r.y:void 0)}function rJ(t){return 0===t.translate&&1===t.scale}function rQ(t){return rJ(t.x)&&rJ(t.y)}function r0(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function r1(t){return n8(t.x)/n8(t.y)}class r2{constructor(){this.members=[]}add(t){nN(this.members,t),t.scheduleRender()}remove(t){if(nI(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)}
33}relegate(t){let e;let n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function r5(t,e,n){let r="",i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){let{rotate:t,rotateX:e,rotateY:i}=n;t&&(r+=`rotate(${t}deg) `),e&&(r+=`rotateX(${e}deg) `),i&&(r+=`rotateY(${i}deg) `)}let s=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==s||1!==a)&&(r+=`scale(${s}, ${a})`),r||"none"}let r3=(t,e)=>t.depth-e.depth;class r4{constructor(){this.children=[],this.isDirty=!1}add(t){nN(this.children,t),this.isDirty=!0}remove(t){nI(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(r3),this.isDirty=!1,this.children.forEach(t)}}let r8=["","X","Y","Z"],r6=0,r9={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function r7({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(t={},n=null==e?void 0:e()){this.id=r6++,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.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{r9.totalNodes=r9.resolvedTargetDeltas=r9.recalculatedProjection=0,this.nodes.forEach(ir),this.nodes.forEach(ic),this.nodes.forEach(iu),this.nodes.forEach(ii),window.MotionDebug&&window.MotionDebug.record(r9)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new r4)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new nB),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),t){let n;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=performance.now(),r=({timestamp:i})=>{let o=i-n;o>=e&&(y(r),t(o-e))};return g.read(r,!0),()=>y(r)}(r,250),rR.hasAnimatedSinceResize&&(rR.hasAnimatedSinceResize=!1,this.nodes.forEach(il))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||iy,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!r0(this.targetLayout,r)||n,c=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);let e={...n_(i,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||0!==this.animationProgress||il(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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,y(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
33h(ih),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 e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(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(is);return}this.isUpdating&&(this.isUpdating=!1,this.nodes.forEach(ia),this.nodes.forEach(it),this.nodes.forEach(ie),this.clearAllSnapshots(),d.update.process(l),d.preRender.process(l),d.render.process(l))}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(io),this.sharedNodes.forEach(id)}scheduleUpdateProjection(){g.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){g.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 e=this.path[t];e.updateScroll()}let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ru(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!rQ(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;t&&(e||rm(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),r=this.removeElementScroll(n);return t&&(r=this.removeTransform(r)),iv((e=r).x),iv(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ru();let e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(rx(e.x,n.offset.x),rx(e.y,n.offset.y)),e}removeElementScroll(t){let e=ru();rq(e,t);for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){rq(e,t);let{scroll:n}=this.root;n&&(rx(e.x,-n.offset.x),rx(e.y,-n.offset.y))}rx(e.x,i.offset.x),rx(e.y,i.offset.y)}}return e}applyTransform(t,e=!1){let n=ru();rq(n,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&rk(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),rm(r.latestValues)&&rk(n,r.latestValues)}return rm(this.latestValues)&&rk(n,this.latestValues),n}removeTransform(t){let e=ru();rq(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!rm(n.latestValues))continue;rp(n.latestValues)&&n.updateSnapshot();let r=ru(),i=n.measurePageBox();rq(r,i),rZ(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return rm(this.latestValues)&&rZ(e,this.latestValues),e}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!==l.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,n,r,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o,a=!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(a)return;let{layout:c,layoutId:u}=this.options;if(this.layout&&(c||u)){if(this.resolvedRelativeTargetAt=l.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ru(),this.relativeTargetOrigin=ru(),rn(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rq(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=ru(),this.targetWithTransforms=ru()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,rt(n.x,r.x,i.x),rt(n.y,r.
33y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rq(this.target,this.layout.layoutBox),rb(this.target,this.targetDelta)):rq(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=ru(),this.relativeTargetOrigin=ru(),rn(this.relativeTargetOrigin,this.target,t.target),rq(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}r9.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||rp(this.parent.latestValues)||rg(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 e=this.getLead(),n=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===l.timestamp&&(r=!1),r)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;rq(this.layoutCorrected,this.layout.layoutBox),function(t,e,n,r=!1){let i,o;let s=n.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){o=(i=n[a]).projectionDelta;let s=i.instance;(!s||!s.style||"contents"!==s.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rk(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,rb(t,o)),r&&rm(i.latestValues)&&rk(t,i.latestValues))}e.x=rw(e.x),e.y=rw(e.y)}}(this.layoutCorrected,this.treeScale,this.path,n);let{target:s}=e;if(!s)return;this.projectionDelta||(this.projectionDelta=rl(),this.projectionDeltaWithTransform=rl());let a=this.treeScale.x,c=this.treeScale.y,u=this.projectionTransform;n7(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=r5(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),r9.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,e=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},s=rl();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=ru(),l=r?r.source:void 0,c=this.layout?this.layout.source:void 0,u=l!==c,h=this.getStack(),d=!h||h.members.length<=1,f=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(ig));this.animationProgress=0,this.mixTargetDelta=e=>{var r,l;let c=e/1e3;ip(s.x,t.x,c),ip(s.y,t.y,c),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(rn(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),r=this.relativeTarget,l=this.relativeTargetOrigin,im(r.x,l.x,a.x,c),im(r.y,l.y,a.y,c),n&&r0(this.relativeTarget,n)&&(this.isProjectionDirty=!1),n||(n=ru()),rq(n,this.relativeTarget)),u&&(this.animationValues=o,function(t,e,n,r,i,o){i?(t.opacity=eH(0,void 0!==n.opacity?n.opacity:1,rz(r)),t.opacityExit=eH(void 0!==e.opacity?e.opacity:1,0,rW(r))):o&&(t.opacity=eH(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<rB;i++){let o=`border${rI[i]}Radius`,s=rU(e,o),a=rU(n,o);if(void 0===s&&void 0===a)continue;s||(s=0),a||(a=0);
33let l=0===s||0===a||rF(s)===rF(a);l?(t[o]=Math.max(eH(rV(s),rV(a),r),0),(tg.test(a)||tg.test(s))&&(t[o]+="%")):t[o]=a}(e.rotate||n.rotate)&&(t.rotate=eH(e.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,c,f,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=c},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&&(y(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=g.update(()=>{rR.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){let r=J(t)?t:nU(t);return r.start(nM("",r,1e3,n)),r.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},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:e,target:n,layout:r,latestValues:i}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&ib(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||ru();let e=n8(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let r=n8(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}rq(e,n),rk(e,i),n7(this.projectionDeltaWithTransform,this.layoutCorrected,e,i)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new r2);let n=this.sharedNodes.get(t);n.add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?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:e,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;let r={};for(let e=0;e<r8.length;e++){let i="rotate"+r8[e];n[i]&&(r[i]=n[i],t.setStaticValue(i,0))}for(let e in t.render(),r)t.setStaticValue(e,r[e]);t.scheduleRender()}getProjectionStyles(t={}){var e,n;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=tG(t.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tG(t.pointerEvents)||""),this.hasProjected&&!rm(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=r5(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,Y){if(void 0===s[t])continue;let{correct:e,applyTo:n}=Y[t],i="none"===r.transform?s[t]:e(s[t],o);if(n){let t=n.length;for(let e=0;e<t;e++)r[n[e]]=i}else r[t]=i}return this.options.layoutId&&(r.pointerEvents=o===this?tG(t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
33resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(is),this.root.sharedNodes.clear()}}}function it(t){t.updateLayout()}function ie(t){var e;let n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:i}=t.options,o=n.source!==t.layout.source;"size"===i?rh(t=>{let r=o?n.measuredBox[t]:n.layoutBox[t],i=n8(r);r.min=e[t].min,r.max=r.min+i}):ib(i,n.layoutBox,e)&&rh(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],s=n8(e[r]);i.max=i.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+s)});let s=rl();n7(s,e,n.layoutBox);let a=rl();o?n7(a,t.applyTransform(r,!0),n.measuredBox):n7(a,e,n.layoutBox);let l=!rQ(s),c=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let s=ru();rn(s,n.layoutBox,i.layoutBox);let a=ru();rn(a,e,o.layoutBox),r0(s,a)||(c=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ir(t){r9.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 ii(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function io(t){t.clearSnapshot()}function is(t){t.clearMeasurements()}function ia(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function il(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function ic(t){t.resolveTargetDelta()}function iu(t){t.calcProjection()}function ih(t){t.resetRotation()}function id(t){t.removeLeadSnapshot()}function ip(t,e,n){t.translate=eH(e.translate,0,n),t.scale=eH(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function im(t,e,n,r){t.min=eH(e.min,n.min,r),t.max=eH(e.max,n.max,r)}function ig(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let iy={duration:.45,ease:[.4,0,.1,1]};function iv(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ib(t,e,n){return"position"===t||"preserve-aspect"===t&&!n6(r1(e),r1(n),.2)}let iw=r7({attachResizeListener:(t,e)=>tZ(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ix={current:void 0},iS=r7({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ix.current){let t=new iw({});t.mount(window),t.setOptions({layoutScroll:!0}),ix.current=t}return ix.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),iE=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ij(t,e,n=1){P(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,i]=function(t){let e=iE.exec(t);if(!e)return[,];let[,n,r]=e;return[n,r]}(t);if(!r)return;let o=window.getComputedStyle(e).getPropertyValue(r);return o?o.trim():tr(i)?ij(i,e,n+1):i}let ik=new Set(["width","height","top","left","right","bottom","x","y"]),iA=t=>ik.has(t),iT=t=>Object.keys(t).some(iA),iP=t=>t===ts||t===ty,iO=(t,e)=>parseFloat(t.split(", ")[e]),iC=(t,e)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/);if(i)return iO(i[1],e);{let e=r.match(/^matrix\((.+)\)$/);return e?iO(e[1],t):0}},iR=new Set(["x","y","z"]),i_=X.filter(t=>!iR.has(t)),iM={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:iC(4,13),y:iC(5,14)},iL=(t,e,n)=>{let r=e.measureViewportBox(),i=e.current,o=getComputedStyle(i),{display:s}=o,a={};"none"===s&&e.setStaticValue("display",t.display||"block"),n.forEac
33h(t=>{a[t]=iM[t](r,o)}),e.render();let l=e.measureViewportBox();return n.forEach(n=>{let r=e.getValue(n);r&&r.jump(a[n]),t[n]=iM[n](l,o)}),t},iD=(t,e,n={},r={})=>{e={...e},r={...r};let i=Object.keys(e).filter(iA),o=[],s=!1,a=[];if(i.forEach(i=>{let l;let c=t.getValue(i);if(!t.hasValue(i))return;let u=n[i],h=nH(u),d=e[i];if(tH(d)){let t=d.length,e=null===d[0]?1:0;h=nH(u=d[e]);for(let n=e;n<t&&null!==d[n];n++)l?P(nH(d[n])===l,"All keyframes must be of the same type"):P((l=nH(d[n]))===h||iP(h)&&iP(l),"Keyframes must be of the same dimension as the current value")}else l=nH(d);if(h!==l){if(iP(h)&&iP(l)){let t=c.get();"string"==typeof t&&c.set(parseFloat(t)),"string"==typeof d?e[i]=parseFloat(d):Array.isArray(d)&&l===ty&&(e[i]=d.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==l?void 0:l.transform)&&(0===u||0===d)?0===u?c.set(l.transform(u)):e[i]=h.transform(d):(s||(o=function(t){let e=[];return i_.forEach(n=>{let r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),s=!0),a.push(i),r[i]=void 0!==r[i]?r[i]:e[i],c.jump(d))}}),!a.length)return{target:e,transitionEnd:r};{let n=a.indexOf("height")>=0?window.pageYOffset:null,i=iL(e,t,a);return o.length&&o.forEach(([e,n])=>{t.getValue(e).set(n)}),t.render(),v&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}},iN=(t,e,n,r)=>{var i,o;let s=function(t,{...e},n){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:n};for(let i in n&&(n={...n}),t.values.forEach(t=>{let e=t.get();if(!tr(e))return;let n=ij(e,r);n&&t.set(n)}),e){let t=e[i];if(!tr(t))continue;let o=ij(t,r);o&&(e[i]=o,n||(n={}),void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,r);return e=s.target,r=s.transitionEnd,i=e,o=r,iT(i)?iD(t,i,n,o):{target:i,transitionEnd:o}},iI={current:null},iB={current:!1},iV=new WeakMap,iF=Object.keys(W),iU=iF.length,iz=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iW=B.length;class iH{constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){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=()=>g.render(this.render,!1,!0);let{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=e.initial?{...s}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=V(e),this.isVariantNode=F(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:l,...c}=this.scrapeMotionValuesFromProps(e,{});for(let t in c){let e=c[t];void 0!==s[t]&&J(e)&&(e.set(s[t],!1),nL(l)&&l.add(t))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,iV.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,e)=>this.bindToMotionValue(e,t)),iB.current||function(){if(iB.current=!0,v){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iI.current=t.matches;t.addListener(e),e()}else iI.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iI.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in iV.delete(this.current),this.projection&&this.projection.unmount(),y(this.notifyUpdate),y(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,e){let n=K.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&g.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},n,r,i){let o,s;for(let t=0;t<iU;t++){let n=iF[t],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=W[n];a&&(o=a),r(e)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(s=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=e;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:!!r||s&&L(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(let t in this.features){let e=this.features[t];e.isMounted?e.update(this.props,this.prevProps):(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ru()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<iz.length;e++){let n=iz[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=t["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(t,e,n){let{willChange:r}=e;for(let i in e){let o=e[i],s=n[i];if(J(o))t.addValue(i,o),nL(r)&&r.add(i);else if(J(s))t.addValue(i,nU(o,{owner:t})),nL(r)&&r.remove(i);else if(s!==o){if(t.hasValue(i)){let e=t.getValue(i);e.hasAnimated||e.set(o)}else{let e=t.getStaticValue(i);t.addValue(i,nU(void 0!==e?e:o,{owner:t}))}}}for(let r in n)void 0===e[r]&&t.removeValue(r);return e}(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 e={};for(let t=0;t<iW;t++){let n=B[t],r=this.props[n];(D(r)||!1===r)&&(e[n]=r)}return e}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=nU(e,{owner:this}),this.addValue(t,n)),n}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(e=tW(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||J(i)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new nB),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class i$ extends iH{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...n},{transformValues:r},i){let o=function(t,e,n){let r={};for(let i in t){let t=function(t,e){if(!e)return;let n=e[t]||e.default||e;return n.from}(i,e);if(void 0!==t)r[i]=t;else{let t=n.getValue(i);t&&(r[i]=t.get())}}return r}(n,t||{},this);if(r&&(e&&(e=r(e)),n&&(n=r(n)),o&&(o=r(o))),i){!function(t,e,n){var r,i;let o=Object.keys(e).filter(e=>!t.hasValue(e)),s=o.length;if(s)for(let a=0;a<s;a++){let s=o[a],l=e[s],c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[s])&&void 0!==r?r:t.readValue(s))&&void 0!==i?i:e[s]),null!=c&&("string"==typeof c&&(nD(c)||nR(c))?c=parseFloat(c):!nq(c)&&e4.test(l)&&(c=nC(s,l)),t.addValue(s,nU(c,{owner:t})),void 0===n[s]&&(n[s]=c),null!==c&&t.setBaseTarget(s,c))}}(this,n,o);let t=iN(this,n,o,e);e=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:e,...n}}}class iq extends i${readValueFromInstance(t,e){if(K.has(e)){let t=nO(e);return t&&t.default||0}{let n=window.getComputedStyle(t),r=(tn(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rA(t,e)}build(t,e,n,r){tE(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return tU(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;J(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,e,n,r){tB(t,e,n,r)}}class iG extends i${constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(K.has(e)){let t=nO(e);return t&&t.default||0}return e=tV.has(e)?e:tI(e),t.getAttribute(e)}measureInstanceViewportBox(){return ru()}scrapeMotionValuesFromProps(t,e){return tz(t,e)}build(t,e,n,r){tM(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){tF(t,e,n,r)}mount(t){this.isSVGTag=tD(t.tagName),super.mount(t)}}let iY=(t,e)=>G(t)?new iG(e,{enableHardwareAcceleration:!1}):new iq(e,{enableHardwareAcceleration:!0}),iX={animation:{Feature:class extends t7{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e)){let i=e.map(e=>nY(t,e,n));r=Promise.all(i)}else if("string"==typeof e)r=nY(t,e,n);else{let i="function"==typeof e?ec(t,e,n.custom):e;r=Promise.all(nG(t,i,n))}return r.then(()=>t.notify("AnimationComplete",e))})(t,e,n))),n={animate:nJ(!0),whileInView:nJ(),whileHover:nJ(),whileTap:nJ(),whileDrag:nJ(),whileFocus:nJ(),exit:nJ()},r=!0,i=(e,n)=>{let r=ec(t,n);if(r){let{transition:t,transitionEnd:n,...i}=r;e={...e,...i,...n}}return e};function o(o,s){let a=t.getProps(),l=t.getVariantContext(!0)||{},c=[],u=new Set,h={},d=1/0;for(let e=0;e<nZ;e++){var f;let p=nK[e],m=n[p],g=void 0!==a[p]?a[p]:l[p],y=D(g),v=p===s?m.isActive:null;!1===v&&(d=e);let b=g===l[p]&&g!==a[p]&&y;if(b&&r&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&null===v||!g&&!m.prevProp||N(g)||"boolean"==typeof g)continue;let w=(f=m.prevProp,"string"==typeof g?g!==f:!!Array.isArray(g)&&!el(g,f)),x=w||p===s&&m.
33isActive&&!b&&y||e>d&&y,S=Array.isArray(g)?g:[g],E=S.reduce(i,{});!1===v&&(E={});let{prevResolvedValues:j={}}=m,k={...j,...E},A=t=>{x=!0,u.delete(t),m.needsAnimating[t]=!0};for(let t in k){let e=E[t],n=j[t];h.hasOwnProperty(t)||(e!==n?tH(e)&&tH(n)?!el(e,n)||w?A(t):m.protectedKeys[t]=!0:void 0!==e?A(t):u.add(t):void 0!==e&&u.has(t)?A(t):m.protectedKeys[t]=!0)}m.prevProp=g,m.prevResolvedValues=E,m.isActive&&(h={...h,...E}),r&&t.blockInitialAnimation&&(x=!1),x&&!b&&c.push(...S.map(t=>({animation:t,options:{type:p,...o}})))}if(u.size){let e={};u.forEach(n=>{let r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)}),c.push({animation:e})}let p=!!c.length;return r&&!1===a.initial&&!t.manuallyAnimateOnMount&&(p=!1),r=!1,p?e(c):Promise.resolve()}return{animateChanges:o,setActive:function(e,r,i){var s;if(n[e].isActive===r)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(e,r)}),n[e].isActive=r;let a=o(i,e);for(let t in n)n[t].protectedKeys={};return a},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),N(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends t7{constructor(){super(...arguments),this.id=nQ++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends t7{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:i}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:ea[r]};return function(t,e,n){let r=function({root:t,...e}){let n=t||document;ei.has(n)||ei.set(n,{});let r=ei.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(es,{root:t,...e})),r[i]}(e);return er.set(t,n),r.observe(t),()=>{er.delete(t),r.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,i&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=e?n:r;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node,n=["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends t7{constructor(){super(...arguments),this.removeStartListeners=P,this.removeEndListeners=P,this.removeAccessibleListeners=P,this.startPointerPress=(t,e)=>{if(this.removeEndListeners(),this.isPressing)return;let n=this.node.getProps(),r=t1(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r}=this.node.getProps();g.update(()=>{ee(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)})},{passive:!(n.onTap||n.onPointerUp)}),i=t1(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=t5(r,i),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=tZ(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=tZ(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&en("up",(t,e)=>{let{onTap:n}=this.node.getProps();n&&g.update(()=>n(t,e))})}),en("down",(t,e)=>{this.startPress(t,e)}))}),e=tZ(this.node.current,"blur",()=>{this.isPressing&&en("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=t5(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&g.update(()=>n(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let t=this.node.getProps();return t.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!t9()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&g.update(()=>n(t,e))}mount(){let t=this.node.getProps(),e=t1(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=tZ(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=t5(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends t7{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){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=t5(tZ(this.node.current,"focus",()=>this.onFocus()),tZ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends t7{mount(){this.unmount=t5(et(this.node,!0),et(this.node,!1))}unmount(){}}},pan:{Feature:class extends t7{constructor(){super(...arguments),this.removePointerDownListener=P}onPointerDown(t){this.session=new n1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rC(t),onStart:rC(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&g.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=t1(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 t7{constructor(t){super(t),this.removeGroupControls=P,this.removeListeners=P,this.controls=new rP(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||P}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:iS,MeasureLayout:rD},layout:{ProjectionNode:iS,MeasureLayout:rD}},iK=function(t){function e(e,n={}){return function({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&function(t){for(let e in t)W[e]={...W[e],...t[e]}}(t);let s=(0,o.forwardRef)(function(s,a){var l;let c;let u={...(0,o.useContext)(R),...s,layoutId:function({layoutId:t}){let e=(0,o.useContext)(T).id;return e&&void 0!==t?e+"-"+t:t}(s)},{isStatic:h}=u,d=function(t){let{initial:e,animate:n}=function(t,e){if(V(t)){let{initial:e,animate:n}=t;return{initial:!1===e||D(e)?e:void 0,animate:D(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(_));return(0,o.useMemo)(()=>({initial:e,animate:n}),[U(e),U(n)])}(s),f=r(s,h);if(!h&&v){d.visualElement=function(t,e,n,r){let{visualElement:i}=(0,o.useContext)(_),s=(0,o.useContext)(M),a=(0,o.useContext)(x),l=(0,o.useContext)(R).reducedMotion,c=(0,o.useRef)();r=r||s.renderer,!c.current&&r&&(c.current=r(t,{visualState:e,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));let u=c.current;(0,o.useInsertionEffect)(()=>{u&&u.update(n,a)}),b(()=>{u&&u.render()}),(0,o.useEffect)(()=>{u&&u.updateFeatures()});let h=window.HandoffAppearAnimations?b:o.useEffect;return h(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,f,u,e);let n=(0,o.useContext)(H),r=(0,o.useContext)(M).strict;d.visualElement&&(c=d.visualElement.loadFeatures(u,r,t,n))}return o.createElement(_.Provider,{value:d},c&&d.visualElement?o.createElement(c,{visualElement:d.visualElement,...u}):null,n(i,s,(l=d.visualElement,(0,o.useCallback)(t=>{t&&f.mount&&f.mount(t),l&&(t?l.mount(t):l.unmount()),a&&("function"==typeof a?a(t):L(a)&&(a.current=t))},[l])),f,h,d.visualElement))});return s[$]=i,s}(t(e,n))}if("undefined"==typeof Proxy)return e;let n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}((t,e)=>(function(t,{forwardMotionProps:e=!1},n,r){let i=G(t)?tX:tK;return{...i,preloadedFeatures:n,useRender:function(t=!1){return(e,n,r,{latestValues:i},s)=>{let a=G(e)?tN:tA,l=a(n,i,s,e),c=function(t,e,n){let r={};for(let i in t)("values"!==i||"object"!=typeof t.values)&&(tO(i)||!0===n&&tP(i)||!e&&!tP(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(n,"string"==typeof e,t),u={...c,...l,ref:r},{children:h}=n,d=(0,o.useMemo)(()=>J(h)?h.get():h,[h]);return(0,o.createElement)(e,{...u,children:d})}}(e),createVisualElement:r,Component:t}})(t,e,iX,iY));var iZ=n(2286),iJ=n(8075),iQ=n(5678),i0=n(2784),i1=n(3654),i2=n(8666),i5=n(5675),i3=n.n(i5),i4=n(1664),i8=n.n(i4),i6=n(7397);let i9=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"es",e="es"==t?"":"en",n="form-denuncia-".concat(t),r=localStorage.getItem(n);if(r)return JSON.parse(r);try{let t="".concat("https://plycem.com","/").concat(e,"/wp-json/py/plycem-get-form/9599?lang=").concat(e),{data:r}=await a.Z.get(t,{headers:{"Content-Type":"application/json"}});return localStorage.setItem(n,JSON.stringify(r)),r}catch(t){throw console.error("Error fetching form:",t),t}};var i7=n(3935),ot=n(1665),oe=n(2729),on=n(964),or=n(2509);function oi(){let t=(0,oe._)(["\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: #00000055;\n  z-index: 20;\n\n  .close-button {\n    position: absolute;\n    right: ","rem;\n    top: ","rem;\n    cursor: pointer;\n    z-index: 20;\n\n    @media "," {\n      right: ","rem;\n      top: ","rem;\n    }\n  }\n\n  .box {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n    max-height: 90%;\n    min-height: 90%;\n    width: 90%;\n    background-color: #fff;\n    overflow: auto;\n\n    @media "," {\n      max-height: ","rem;\n      min-height: ","rem;\n      width: ","rem;\n    }\n\n    &::-webkit-scrollbar {\n      width: 5px;\n    }\n\n    &::-webkit-scrollbar-thumb {\n      background: #535353;\n    }\n\n    @media "," {\n      max-height: ","rem;\n      min-height: ","rem;\n      width: ","rem;\n    }\n  }\n\n  .form {\n    padding: ","rem ","rem;\n\n    @media "," {\n      padding: ","rem;\n    }\n\n    h2 {\n      color: #282828;\n      font-size: ","rem;\n      font-weight: 500;\n      margin-bottom: ","rem;\n    }\n\n    .button-wrapper {\n      display: flex;\n      flex-direction: column;\n      justify-content: flex-end;\n      button {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        gap: ","rem;\n        padding: ","rem ","rem;\n        width: 100%;\n        border: none;\n        color: #fff;\n        font-size: ","rem;\n        font-weight: 600;\n        cursor: pointer;\n        background-color: #b42b3d;\n        height: 3rem;\n        transition: opacity 0.3s;\n        &:hover {\n          opacity: 0.7;\n        }\n        &.disable {\n          background-color: #c0c0c0;\n          color: #818181;\n          cursor: initial;\n          pointer-events: none;\n          path {\n            fill: #818181;\n          }\n        }\n\n        svg {\n          stroke: #fff;\n        }\n      }\n    }\n\n    .form-container {\n      .col1 {\n        display: flex;\n        flex-direction: column;\n        gap: ","rem;\n      }\n\n      .fields {\n        display: flex;\n        flex-wrap: wrap;\n        gap: 2rem;\n        align-items: center;\n        .col-2 {\n          width: calc(50% - 2rem);\n        }\n      }\n\n      .field {\n        * {\n          width: 100%;\n        }\n\n        br {\n          display: none;\n        }\n\n        p {\n          display: flex;\n          flex-direction: column;\n          gap: ","rem;\n        }\n\n        label {\n          color: #282828;\n          font-size: ","rem;\n          font-weight: 600;\n          line-height: ","rem;\n        }\n\n        input,\n        select {\n          border: 1px solid #282828;\n          height: ","rem;\n          padding: 0 ","rem;\n          outline: none;\n        }\n\n        textarea {\n          border: 1px solid #282828;\n          padding: ","rem;\n          resize: none;\n          min-height: ","rem;\n          width: 100% !important;\n          outline: none;\n\n          @media "," {\n            min-height: ","rem;\n          }\n        }\n      }\n\n      .button {\n        width: 100%;\n        margin-top: ","rem;\n\n        .wpcf7-submit {\n          width: 100%;\n          height: ","rem;\n          background: #b42b3d;\n          border: none;\n          color: #fff;\n          font-size: ","rem;\n          font-weight: 600;\n          cursor: pointer;\n\n          &:hover {\n            opacity: 0.7;\n          }\n        }\n      }\n    }\n  }\n"]);return oi=function(){return t},t}let oo=on.ZP.section(oi(),1.5,1.5,or.Td.md,15/16,15/16,or.Td.md,41.875,38.75,64.0625,or.Td.md,41.875,38.75,64.0625,2.5,1.5,or.Td.md,4,1.5,2.5,1,.875,1.875,1.125,1.375,1.375,1.125,1.75,3.125,1.25,1.25,12.5,or.Td.md,317/16,47/16,3.125,1.125);var os=n(8154),oa=n(6195);let ol=t=>t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\s+/g,"");var oc=t=>{let{form:e,close:n}=t,{formID:r,formFields:s,formData:a,setFormData:l,initialFormData:c}=e,[u,h]=(0,o.useState)({}),d=(0,i0.Z)(),[f,p]=(0,o.useState)(!1),[m,g]=(0,o.useState)(!1),[y,v]=(0,o.useState)({show:!1,status:"",message:""}),b=(t,e)=>{console.log(a),l(n=>({...n,[t]:e})),h(n=>{let r={...n};return e?delete r[t]:r[t]=!0,r})},w=()=>{let t=!1,e={};
33return s.forEach(n=>{let r=n.options.find(t=>t.startsWith("data-show-")),i=r?ol(r.split(":")[1]):null,o=!i||a.tipo&&ol(a.tipo)===i;o&&!a[n.name]&&0!==a[n.name]?(e[n.name]=!0,t=!0):delete e[n.name]}),h(e),t},x=async t=>{if(t.preventDefault(),w())return;let e=new FormData;Object.entries(a).forEach(t=>{let[n,r]=t;e.append(n,r)});try{p(!0);let t=await fetch((0,oa.O)(r),{method:"POST",body:e});if(t.ok)await t.json(),g(!0),v({show:!0,status:"success",message:"es"===d?"Mensaje enviado con \xe9xito":"Message sent successfully"}),l({...c}),h({}),setTimeout(()=>{n(!0)},3e3);else throw Error("Error en la respuesta del servidor")}catch(t){v({show:!0,status:"error",message:"es"===d?"Se produjo un error al intentar enviar tu mensaje. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.":"An error occurred while trying to send your message. Please try again later."})}finally{p(!1)}};return(0,i.jsx)(i.Fragment,{children:e&&(0,i.jsxs)("div",{className:"form",children:[(0,i.jsx)("h2",{children:"es"===d?"Formulario de denuncias:":"Complaint Form:"}),(0,i.jsxs)("form",{onSubmit:x,children:[(0,i.jsx)("div",{className:"group form-container",children:(0,i.jsxs)("div",{className:"fields ".concat(a.tipo&&"recursoshumanos"===ol(a.tipo)?"file-input":""," ").concat(a.tipo&&"asesoriatecnica"===ol(a.tipo)?"file-input":""),children:[s.map((t,e)=>{let n=t.options.find(t=>t.startsWith("data-show-")),r=n?ol(n.split(":")[1]):null;return!r||a.tipo&&ol(a.tipo)===r?(0,i.jsx)(os.Y,{field:t,handleInputChange:b,handleFileChange:{},index:e,errors:u},"contact-form-".concat(e,"-").concat(m)):null}),(0,i.jsx)("div",{className:"button-wrapper col-2",children:(0,i.jsxs)("button",{type:"submit",className:"",children:[(0,i.jsx)("span",{children:f?"en"===d?"Sending":"Enviando":"en"===d?"Send":"Enviar"})," ",f?(0,i.jsx)("div",{className:"spinner"}):(0,i.jsx)(i6.Q,{src:"/icons/long-arrow-right.svg"})]})})]})}),y.show&&(0,i.jsx)("span",{className:"form-request-message ".concat(y.status),children:y.message})]})]})})},ou=t=>{let{form:e,setOpenForm:n}=t,r=(0,ot.Z)(e);return console.log(r),(0,i.jsx)(i.Fragment,{children:(0,i7.createPortal)((0,i.jsx)(oo,{children:(0,i.jsxs)("div",{className:"box",children:[(0,i.jsx)(i6.Q,{className:"close-button",src:"/icons/close.svg",onClick:()=>n(!1)}),(0,i.jsx)(oc,{form:r,close:()=>n()})]})}),document.body)})};function oh(){let t=(0,oe._)(["\n  position: relative;\n  display: flex;\n  justify-content: center;\n  padding: ","rem ","rem;\n  margin: auto;\n  box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.15);\n\n  &.outside {\n    position: fixed;\n    right: 0;\n    top: 0;\n    width: 25rem;\n    height: 100vh;\n  }\n\n  @media "," {\n    background-color: #ffffff;\n    padding: ","rem;\n    margin: initial;\n    width: ","rem;\n    box-shadow: none;\n    filter: drop-shadow(-2px 2px 5px rgba(0, 0, 0, 0.15));\n  }\n\n  .contents {\n    width: 100%;\n\n    .contact {\n      border-bottom: 1px solid rgba(86, 86, 91, 0.4);\n      padding-bottom: ","rem;\n\n      .title {\n        color: #282828;\n        font-size: ","rem;\n        font-weight: 600;\n\n        @media "," {\n          text-align: center;\n        }\n      }\n\n      .options {\n        display: flex;\n        flex-direction: column;\n        gap: ","rem;\n        margin-top: ","rem;\n\n        .option {\n          .link {\n            color: #282828;\n            font-size: ","rem;\n            font-weight: 400;\n            display: flex;\n            justify-content: space-between;\n\n            svg {\n              width: ","rem;\n              height: auto;\n            }\n          }\n        }\n      }\n    }\n\n    .footer-options {\n      border-bottom: 1px solid rgba(86, 86, 91, 0.4);\n      padding-bottom: ","rem;\n\n      .options {\n        display: flex;\n        flex-direction: column;\n        gap: ","rem;\n        margin-top: ","rem;\n\n        @media "," {\n          padding-bottom: ","rem;\n        }\n\n        .option {\n          cursor: pointer;\n          .link {\n            color: #282828;\n            font-size: ","rem;\n            font-weight: 400;\n            display: flex;\n            justify-content: flex-start;\n            align-items: center;\n            gap: ","rem;\n\n            .link-title {\n              @media "," {\n                max-width: ","rem;\n              }\n            }\n\n            .link-icon svg {\n              width: ","rem;\n              height: auto;\n            }\n\n            .arrow-icon {\n              margin-left: auto;\n\n              svg {\n                width: ","rem;\n                height: auto;\n              }\n            }\n          }\n        }\n      }\n    }\n\n    .footer-image {\n      display: flex;\n      justify-content: center;\n      margin-top: ","rem;\n\n      img {\n        width: ","rem;\n        height: auto;\n      }\n    }\n\n    .copyright {\n      text-align: center;\n      margin-top: ","rem;\n\n      span {\n        display: block;\n        color: #282828;\n        font-size: ","rem;\n        font-weight: 400;\n      }\n    }\n  }\n"]);return oh=function(){return t},t}let od=on.ZP.footer(oh(),1.875,1.5,or.Td.md,3.75,26.625,1.875,1.125,or.Td.md,1.875,1.875,1.125,1.5,1.875,1.875,1.875,or.Td.md,1.875,1,1.25,or.Td.md,11.25,1.75,1.5,1.875,167/16,15/16,1);var of=t=>{let{outside:e=!1}=t,[n,r]=(0,o.useState)(!1),[s,a]=(0,o.useState)(""),l=(0,i0.Z)();(0,o.useEffect)(()=>{let t=async()=>{try{let t=await i9(l);a(t),console.log(t)}catch(t){console.error("FETCH FORM ERROR",t)}};t()},[l]);let c=[{title:"en"===l?"Form":"Formulario",link:"en"===l?"/en/formulario":"/formulario"},{title:"en"===l?"Directory":"Directorio",link:"en"===l?"/en/directorio":"/directorio"}],u=[{title:"en"===l?"Complaint Channel. Code of Ethics":"Canal de denuncias. C\xf3digo de \xe9tica",modal:!0,icon:"/icons/footer/canal-denuncias.svg"},{title:"en"===l?"Complaints mailbox":"Buz\xf3n de quejas",link:"https://netelementia.com/plycem",icon:"/icons/footer/buzon-quejas.svg",target:!0},{title:"en"===l?"Occupational Health and Safety Reports":"Reportes de seguridad y salud ocupacional",link:"https://denunciasseguridad.elementiamateriales.com/",icon:"/icons/footer/reportes-seguridad.svg",target:!0},{title:"en"===l?"Privacy Policies":"Pol\xedticas de privacidad",link:"".concat("https://plycem.com","/wp-content/uploads/2024/01/politica-de-privacidad.pdf"),icon:"/icons/footer/politicas-privacidad.svg",target:!0},{title:"en"===l?"Customer Portal":"Portal de clientes",link:"http://200.77.235.246/portal/vpn/index.php?idioma=ES&grf=302",icon:"/icons/footer/portal-clientes.svg",target:!0}];
33return(0,i.jsxs)(od,{className:e?"outside":"",children:[(0,i.jsxs)("div",{className:"contents",children:[(0,i.jsxs)("div",{className:"contact",children:[(0,i.jsx)("h2",{className:"title",children:"en"===l?"Do you want to contact us?":"\xbfQuieres contactarte con nosotros?"}),(0,i.jsx)("div",{className:"options",children:c.map(t=>{let{title:e,link:n}=t;return(0,i.jsx)("div",{className:"option",children:(0,i.jsxs)(i8(),{href:n,className:"link",children:[e,(0,i.jsx)(i6.Q,{src:"/icons/long-arrow-right.svg",className:"icon"})]})},e)})})]}),(0,i.jsx)("div",{className:"footer-options",children:(0,i.jsx)("div",{className:"options",children:u.map(t=>{let{title:e,link:n,icon:o,target:s,modal:a}=t;return(0,i.jsx)(i.Fragment,{children:a?(0,i.jsx)("div",{className:"option",onClick:()=>r(!0),children:(0,i.jsxs)("div",{className:"link",children:[(0,i.jsx)(i6.Q,{src:o,className:"link-icon"}),(0,i.jsx)("span",{className:"link-title",children:e}),(0,i.jsx)(i6.Q,{src:"/icons/long-arrow-right.svg",className:"arrow-icon"})]})},e):(0,i.jsx)("div",{className:"option",children:(0,i.jsxs)(i8(),{href:n,className:"link",target:s?"_blank":"_self",children:[(0,i.jsx)(i6.Q,{src:o,className:"link-icon"}),(0,i.jsx)("span",{className:"link-title",children:e}),(0,i.jsx)(i6.Q,{src:"/icons/long-arrow-right.svg",className:"arrow-icon"})]})},e)})})})}),(0,i.jsx)("div",{className:"footer-image",children:(0,i.jsx)(i3(),{src:"/images/logo-plycem-elementia.svg",alt:"elementia",width:170,height:95})}),(0,i.jsxs)("div",{className:"copyright",children:[(0,i.jsxs)("span",{children:["\xa9 Copyright ",new Date().getFullYear(),"."]}),(0,i.jsx)("span",{children:"en"===l?"All rights reserved":"Todos los derechos reservados"})]})]}),n&&(0,i.jsx)(ou,{form:s,setOpenForm:r})]})};function op(){let t=(0,oe._)(["\n  position: relative;\n  display: flex;\n  justify-content: center;\n  gap: ","rem;\n  color: #7a7a7a;\n\n  .lang {\n    cursor: pointer;\n\n    &.active {\n      font-weight: 600;\n    }\n  }\n"]);return op=function(){return t},t}let om=on.ZP.section(op(),15/16);var og=()=>{let t=(0,i0.Z)();return(0,o.useEffect)(()=>{if(t)return document.body.classList.add("locale-".concat(t)),()=>{document.body.classList.remove("locale-".concat(t))}},[t]),(0,i.jsxs)(om,{children:[(0,i.jsx)(i8(),{className:"lang ".concat("es"==t&&"active"),href:"https://plycem.com/",locale:"es",children:"Esp"}),"|",(0,i.jsx)(i8(),{className:"lang ".concat("en"==t&&"active"),href:"https://plycem.com/en",locale:"en",children:"Eng"})]})};let oy=async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es",n="es"==e?"es":"en",r="menus-".concat(t,"-").concat(e);localStorage.getItem(r);try{let e="".concat("https://plycem.com","/wp-json/py/menus/").concat(t,"?lang=").concat(n),{data:i}=await a.Z.get(e,{headers:{"Content-Type":"application/json"}});return localStorage.setItem(r,JSON.stringify(i)),i}catch(t){throw console.error("Error fetching menus:",t),t}};var ov={src:"https://plycem.vercel.app/_next/static/media/facebook.f1c0918b.svg",height:24,width:24,blurWidth:0,blurHeight:0},ob={src:"https://plycem.vercel.app/_next/static/media/instagram.48b0ee12.svg",height:24,width:24,blurWidth:0,blurHeight:0},ow={src:"https://plycem.vercel.app/_next/static/media/linkedIn.106a2d24.svg",height:24,width:24,blurWidth:0,blurHeight:0},ox={src:"https://plycem.vercel.app/_next/static/media/youtube.d2979c21.svg",height:24,width:24,blurWidth:0,blurHeight:0};function oS(){let t=(0,oe._)(["\n  width: ","rem;\n  height: 100vh;\n  z-index: 10;\n  position: fixed;\n  top: 0;\n  left: 0;\n  display: flex;\n  flex-direction: column;\n  background-color: #ffffff;\n  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.15);\n  padding: ","rem ","rem ","rem;\n  .hamburger {\n    position: absolute;\n    right: ","rem;\n    top: ","rem;\n    display: none;\n    justify-content: center;
33\n    align-items: center;\n    background-color: #e6e6e6;\n    width: ","rem;\n    height: ","rem;\n    padding: 0;\n    border-radius: 8px;\n    outline: none;\n\n    .hamburger-box {\n      width: ","rem;\n      height: ","rem;\n\n      .hamburger-inner {\n        background-color: #56565b;\n        width: ","rem;\n        height: 3px;\n\n        &::after {\n          height: 3px;\n          background-color: #56565b;\n          width: ","rem;\n        }\n\n        &::before {\n          height: 3px;\n          background-color: #56565b;\n          width: ","rem;\n        }\n      }\n    }\n  }\n\n  .logo {\n    .plycem-logo {\n      width: ","rem;\n      height: auto;\n    }\n  }\n\n  .active-link {\n    .link {\n      font-weight: bold !important;\n    }\n  }\n\n  .active-link-sub {\n    .link-submenu {\n      font-weight: bold !important;\n    }\n  }\n\n  .menu-links {\n    display: flex;\n    flex-direction: column;\n    gap: ","rem;\n    margin-top: ","rem;\n\n    .option {\n      position: relative;\n    }\n\n    .link {\n      color: #282828;\n      font-size: ",'rem;\n      font-style: normal;\n      font-weight: 400;\n      line-height: normal;\n      cursor: pointer;\n      transition: all ease-in 0.3s;\n      position: relative;\n\n      &:before {\n        height: 0.3rem;\n        width: 0%;\n        top: 110%;\n        background-color: #b42b3d;\n        content: "";\n        z-index: 1;\n        position: absolute;\n        transition: all ease-in-out 0.4s;\n      }\n\n      &:hover {\n        &:before {\n          width: 100%;\n        }\n      }\n\n      &.submenu-link {\n        display: flex;\n        justify-content: space-between;\n      }\n\n      &.active {\n        svg {\n          transform: rotate(180deg);\n        }\n      }\n    }\n    .submenu {\n      display: flex;\n      flex-direction: column;\n      gap: ',"rem;\n      max-height: 0px;\n      // margin-top: ","rem;\n      position: absolute;\n      top: 1.5rem;\n      background: #ffffff;\n      z-index: 99;\n\n      &.active {\n        max-height: fit-content;\n      }\n      .submenu-option {\n        cursor: pointer;\n        padding-left: ","rem;\n        opacity: 1;\n        transition: all ease-in 0.3s;\n\n        .link-submenu {\n          color: #282828;\n          font-size: ",'rem;\n          font-style: normal;\n          font-weight: 400;\n          line-height: normal;\n          cursor: pointer;\n          transition: all ease-in 0.3s;\n          position: relative;\n          &:before {\n            height: 0.3rem;\n            width: 0%;\n            top: 110%;\n            background-color: #b42b3d;\n            content: "";\n            z-index: 1;\n            position: absolute;\n            transition: all ease-in-out 0.4s;\n          }\n\n          &:hover {\n            &:before {\n              width: 100%;\n            }\n          }\n        }\n      }\n\n      &.false {\n        .submenu-option {\n          opacity: 0;\n          pointer-events: none;\n        }\n      }\n    }\n  }\n\n  .socials-chat {\n    margin-top: auto;\n    display: flex;\n    flex-direction: column;\n    gap: ',"rem;\n\n    .chat-button {\n      background-color: #56565b;\n      border: none;\n      width: 100%;\n      padding: ","rem ","rem;\n      color: #fff;\n      font-size: ","rem;\n      font-weight: 400;\n      border-radius: ","rem;\n      cursor: pointer;\n      transition: background-color 0.3s ease;\n      visibility: hidden;\n      &:hover {\n        background-color: #7a7a7a;\n      }\n    }\n\n    .socials {\n      display: flex;\n      justify-content: space-between;\n\n      a {\n        width: 20%;\n        height: ","rem;\n\n        &:hover {\n          transform: scale(1.1);\n        }\n\n        img {\n          width: 100%;\n          height: auto;\n        }\n      }\n    }\n  }\n"]);return oS=function(){return t},t}let oE=on.ZP.header(oS(),11.25,1.875,1.875,3.75,-3.75,3.75,3.125,2.75,1.875,35/16,1.875,1.875,1.875,7.5,1.875,1.875,1,1,1,.875,1,1.5,7/16,15/16,1,.5,1.5);var oj=t=>{let{openChat:e,setOpenChat:n}=t,r=(0,i0.Z)(),{pathname:a}=(0,s.useRouter)(),[l,c]=(0,o.useState)([]),[u,h]=(0,o.useState)(!1),[d,f]=(0,o.useState)(),[p,m]=(0,o.useState)(!1),{scroll:g}=(0,iJ.lh)();(0,o.useEffect)(()=>
33{g&&(g.update(),g.on("scroll",t=>{t.scroll.x>200?m(!0):(m(!1),h(!1))}))},[g]),(0,o.useEffect)(()=>{let t=async()=>{let t=a.includes("/en")?"en":"es";try{let e=await oy("menu-1",t);c(e)}catch(t){console.error("FETCH MENU ERROR",t)}};t()},[r]);let y=t=>{d==t?f(void 0):f(t)};return(0,i.jsxs)(oE,{className:"".concat(p&&"show-hamburger"," ").concat(u&&"open-menu"),"data-scroll":!0,"data-scroll-sticky":!0,"data-scroll-target":"#activate-sticky",id:"menu-header",children:[(0,i.jsx)("button",{className:"hamburger hamburger--squeeze ".concat(u?"is-active":""),type:"button",onClick:()=>{h(!u)},children:(0,i.jsx)("span",{className:"hamburger-box",children:(0,i.jsx)("span",{className:"hamburger-inner"})})}),(0,i.jsx)(i8(),{href:"/",children:(0,i.jsx)("div",{className:"logo",children:(0,i.jsx)(i3(),{className:"plycem-logo",src:"/images/plycem-logo.svg",alt:"plycem",width:120,height:31})})}),(0,i.jsx)("div",{className:"menu-links",children:l.map(t=>{let{ID:e,title:n,url:r,submenu:o}=t;return(0,i.jsxs)("div",{className:"option ".concat(a==r&&"Contacto"!=n?"active-link":""),children:[o.length>=1?(0,i.jsxs)("div",{className:"link submenu-link ".concat(d==e&&"active"),children:[(0,i.jsx)(i8(),{href:r,className:"link",children:n}),(0,i.jsx)(i6.Q,{src:"/icons/arrow-down.svg",className:"icon",onClick:()=>y(e)})]}):(0,i.jsx)(i8(),{href:r,className:"link",children:n}),o.length>=1&&(0,i.jsx)("div",{className:"submenu ".concat(d==e&&"active"),children:o.map(t=>{let{ID:e,title:n,url:r}=t;return(0,i.jsx)("div",{className:"submenu-option ".concat(a==r&&"Contacto"!=n?"active-link-sub":""),children:(0,i.jsx)(i8(),{href:r,className:"link-submenu",children:n})},e)})})]},e)})}),(0,i.jsxs)("div",{className:"socials-chat",children:[(0,i.jsx)(og,{}),(0,i.jsx)("button",{type:"button",onClick:()=>n(!0),className:"chat-button",children:"Chat de Asesor\xeda"}),(0,i.jsxs)("div",{className:"socials",children:[(0,i.jsx)(i8(),{href:"https://www.facebook.com/ExpertoPlycem",target:"_blank",children:(0,i.jsx)(i3(),{src:ov,alt:"facebook"})}),(0,i.jsx)(i8(),{href:"https://www.instagram.com/plycem_cam/",target:"_blank",children:(0,i.jsx)(i3(),{src:ob,alt:"instagram"})}),(0,i.jsx)(i8(),{href:"https://www.youtube.com/@ExpertoPlycem",target:"_blank",children:(0,i.jsx)(i3(),{src:ox,alt:"youtube"})}),(0,i.jsx)(i8(),{href:"https://www.linkedin.com/company/plycem/mycompany/",target:"_blank",children:(0,i.jsx)(i3(),{src:ow,alt:"linkedin"})})]})]})]})};function ok(){let t=(0,oe._)(["\n  position: fixed;\n  top: 0;\n  left: 0;\n  margin: auto;\n  width: 100%;\n  padding: 0 ","rem;\n  background-color: #fff;\n  border-bottom: 0.5px solid #e6e6e6;\n  z-index: 3;\n\n  .header {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    height: ","rem;\n    z-index: 3;\n\n    .hamburger {\n      display: block;\n      padding: 0;\n      scale: 0.6;\n\n      .hamburger-inner,\n      .hamburger-inner:after,\n      .hamburger-inner:before {\n        height: 3px;\n      }\n    }\n\n    .logo {\n      width: ","rem;\n      height: ","rem;\n    }\n  }\n\n  .menu-option {\n    position: fixed;\n    display: flex;\n    flex-direction: column;\n    top: ","rem;\n    left: -271px;\n    background: #fff;\n    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.15);\n    height: calc(100vh - ","rem);\n    width: ","rem;\n    padding: ","rem;\n    overflow: hidden;\n    z-index: 3;\n    transition: left 0.5s ease;\n\n    &.show {\n      left: 0;\n    }\n\n    .menu-links {\n      display: flex;\n      flex-direction: column;\n      gap: ","rem;\n\n      .link {\n        display: flex;\n        justify-content: space-between;\n        color: #282828;\n        font-size: ","rem;\n        font-style: normal;\n        font-weight: 400;\n        line-height: ","rem;\n        width: 100%;\n        cursor: pointer;\n\n        &.submenu-link {\n          display: flex;\n          justify-content: space-between;\n        }\n\n        &.active {\n          svg {\n            transform: rotate(180deg);\n          }\n        }\n      }\n\n      .submenu {\n        display: flex;\n        flex-direction: column;\n        gap: ","rem;\n        max-height: 0px;\n        overflow: hidden;\n        margin-top: ","rem;\n\n        &.active {\n          max-height: ","rem;\n        }\n        .submenu-option {\n          cursor: pointer;\n          padding-left: ","rem;\n        }\n      }\n    }\n\n    .socials-chat {\n      margin-top: auto;\n      padding-top: ","rem;\n\n      .socials {\n        margin-top: 3rem;\n        display: flex;\n        justify-content: space-between;\n\n        a {\n          width: ","rem;\n          height: auto;\n\n          img {\n            width: 100%;\n            height: auto;\n          }\n        }\n      }\n    }\n  }\n\n  ::-webkit-scrollbar {\n    width: 2px;\n  }\n\n  ::-webkit-scrollbar-thumb {\n    background: #c9c9c9;\n  }\n"]);return ok=function(){return t},t}let oA=on.ZP.header(ok(),25/16,3.625,7.6875,2,3.625,3.625,271/16,31/16,2.5,1,1.375,.625,15/16,6.25,15/16,2.5,1.875
33);var oT=t=>{let{openChat:e,setOpenChat:n}=t,{pathname:r}=(0,s.useRouter)(),[a,l]=(0,o.useState)([]),[c,u]=(0,o.useState)(!1),[h,d]=(0,o.useState)(),f=t=>{h==t?d(void 0):d(t)};return(0,o.useEffect)(()=>{let t=async()=>{let t=r.includes("/en")?"en":"es";try{let e=await oy("menu-1",t);l(e)}catch(t){console.error("FETCH MENU ERROR",t)}};t()},[]),(0,i.jsxs)(oA,{children:[(0,i.jsxs)("div",{className:"header",children:[(0,i.jsx)("button",{className:"hamburger hamburger--squeeze ".concat(c?"is-active":""),type:"button",onClick:()=>{u(!c)},children:(0,i.jsx)("span",{className:"hamburger-box",children:(0,i.jsx)("span",{className:"hamburger-inner"})})}),(0,i.jsx)(i8(),{href:"/",className:"logo",children:(0,i.jsx)(i3(),{className:"plycem-logo",src:"/images/plycem-logo.svg",alt:"plycem",width:120,height:31})}),(0,i.jsx)("div",{className:"chat"})]}),(0,i.jsxs)("div",{className:"menu-option ".concat(c&&"show"),children:[(0,i.jsx)("div",{className:"menu-links",children:a.map(t=>{let{ID:e,title:n,url:r,submenu:o}=t;return(0,i.jsxs)("div",{children:[o.length>=1?(0,i.jsxs)("div",{className:"link submenu-link ".concat(h==e&&"active"),onClick:()=>f(e),children:[(0,i.jsx)("span",{children:n}),(0,i.jsx)(i6.Q,{src:"/icons/arrow-down.svg",className:"icon"})]}):(0,i.jsxs)(i8(),{href:r,onClick:()=>u(!1),className:"link",children:[(0,i.jsx)("span",{children:n}),(0,i.jsx)(i6.Q,{src:"/icons/long-arrow-right.svg",className:"icon"})]}),o.length>=1&&(0,i.jsx)("div",{className:"submenu ".concat(h==e&&"active"),children:o.map(t=>{let{ID:e,title:n,url:r}=t;return(0,i.jsx)("div",{className:"submenu-option",children:(0,i.jsx)(i8(),{href:r,onClick:()=>u(!1),className:"link",children:n})},e)})})]},e)})}),(0,i.jsxs)("div",{className:"socials-chat",children:[(0,i.jsx)(og,{}),(0,i.jsxs)("div",{className:"socials",children:[(0,i.jsx)(i8(),{href:"https://www.facebook.com/ExpertoPlycem",target:"_blank",children:(0,i.jsx)(i3(),{src:ov,alt:"facebook"})}),(0,i.jsx)(i8(),{href:"https://www.instagram.com/plycem_cam/",target:"_blank",children:(0,i.jsx)(i3(),{src:ob,alt:"instagram"})}),(0,i.jsx)(i8(),{href:"https://www.youtube.com/@ExpertoPlycem",target:"_blank",children:(0,i.jsx)(i3(),{src:ox,alt:"youtube"})}),(0,i.jsx)(i8(),{href:"https://www.linkedin.com/company/plycem/mycompany/",target:"_blank",children:(0,i.jsx)(i3(),{src:ow,alt:"linkedin"})})]})]})]})]})},oP=t=>{let{openChat:e,setOpenChat:n}=t,{width:r}=(0,iQ.iP)();return(0,i.jsx)(i.Fragment,{children:r<1080?(0,i.jsx)(oT,{openChat:e,setOpenChat:n}):(0,i.jsx)(oj,{openChat:e,setOpenChat:n})})},oO=()=>{let{scroll:t}=(0,iJ.lh)(),[e,n]=(0,o.useState)(0),[r,s]=(0,o.useState)(!1),{width:a}=(0,iQ.iP)();return(0,o.useEffect)(()=>{let e;let r=()=>{var r,i,o;if(!t||!t.scroll||!t.scroll.instance)return;let a=t.scroll.instance,l=(null===(r=a.scroll)||void 0===r?void 0:r.x)||0,c=(null===(i=a.limit)||void 0===i?void 0:i.x)||1;(null===(o=a.el)||void 0===o?void 0:o.offsetWidth)||window.innerWidth,n(Math.min(Math.max(l/c*100,0),100)),s(!0),clearTimeout(e),e=setTimeout(()=>{s(!1)},1e3)};if(t&&t.on)return t.on("scroll",r),r(),()=>{t.off("scroll",r),clearTimeout(e)}},[t]),(0,i.jsx)(i.Fragment,{children:!(a<1080)&&(0,i.jsx)("div",{style:{position:"fixed",top:0,left:0,width:"100vw",zIndex:1e3,transition:"opacity 0.5s",opacity:r?1:0},children:(0,i.jsx)("div",{style:{height:".4rem",width:"".concat(e,"%"),backgroundColor:"#b42b3d"}})})})};function oC(){let t=(0,oe._)(["\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: #00000055;\n  z-index: 20;\n\n  .show {\n    display: block;\n  }\n\n  .hidden {\n    display: none;\n  }\n\n  .box {\n    @media "," {\n      padding: 3.5rem;\n    }\n    padding: 2rem 1.5rem;\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n    max-height: 90%;\n    min-height: 90%;\n    width: 95%;\n    max-width: 54rem;\n    background-color: #fff;\n    overflow: auto;\n\n    &::-webkit-scrollbar {\n      width: 5px;\n    }\n\n    &::-webkit-scrollbar-thumb {\n      background: #535353;\n    }\n\n    @media "," {\n      max-height: 43.125rem;\n      min-height: ","rem;\n      width: ","rem;\n    }
33\n\n    .head {\n      .title {\n        color: ",";\n        text-align: center;\n        font-size: 1.375rem;\n        font-style: normal;\n        font-weight: 400;\n        line-height: normal;\n        @media "," {\n          font-size: 2.375rem;\n        }\n      }\n      .subtitle {\n        text-align: center;\n        font-size: 1.2rem;\n        font-style: normal;\n        font-weight: 400;\n        line-height: normal;\n        padding: 1rem 0 2.5rem;\n        @media "," {\n          font-size: 1.5rem;\n        }\n      }\n    }\n\n    .grid {\n      display: grid;\n      gap: 1rem 1.25rem;\n      grid-template-columns: repeat(3, 1fr);\n      @media "," {\n        gap: 3rem 2.25rem;\n      }\n      align-items: end;\n      .option {\n        display: flex;\n        flex-direction: column;\n        gap: 0.5rem;\n        align-items: center;\n        justify-content: center;\n        cursor: pointer;\n        &:hover,\n        &.active {\n          img {\n            border: 0.188rem solid ",";\n          }\n        }\n        img {\n          display: block;\n          transition: all ease 0.3s;\n          border: 0.188rem solid transparent;\n\n          height: auto;\n          max-height: 8rem;\n          @media "," {\n            height: 7.875rem;\n          }\n        }\n        span {\n          text-align: center;\n\n          font-style: normal;\n          font-weight: 600;\n          line-height: 1.375rem;\n          font-size: 0.8rem;\n\n          min-height: 3rem;\n          @media "," {\n            min-height: auto;\n            font-size: 1rem;\n          }\n        }\n      }\n    }\n\n    .button-wrapper {\n      width: 100%;\n      max-width: 20.5625rem;\n      margin: 2.5rem auto 0;\n      .next-button {\n        width: 100%;\n        margin: 0;\n        margin-top: ","rem;\n        height: 3rem;\n        font-size: 1.125rem;\n        @media "," {\n          margin-top: 0rem;\n          height: 3rem;\n        }\n      }\n    }\n  }\n\n  .close-button {\n    position: absolute;\n    right: ","rem;\n    top: ","rem;\n    cursor: pointer;\n    z-index: 20;\n\n    @media "," {\n      right: ","rem;\n      top: ","rem;\n    }\n  }\n"]);return oC=function(){return t},t}let oR=on.ZP.section(oC(),or.Td.md,or.Td.md,38.75,64.0625,or.DM.red,or.Td.md,or.Td.md,or.Td.md,or.DM.red,or.Td.md,or.Td.md,1,or.Td.md,1.5,1.5,or.Td.md,15/16,15/16);var o_=()=>{let{userRole:t,setUserFilter:e,roleOptions:n}=(0,o.useContext)(i2.vQ),[r,a]=(0,o.useState)(""),[l,c]=(0,o.useState)(!0),u=(0,i0.Z)(),{pathname:h}=(0,s.useRouter)();return(0,i.jsx)(i.Fragment,{children:null==t&&n.length>0&&(0,i7.createPortal)((0,i.jsx)(C,{children:l&&(0,i.jsx)(oR,{children:(0,i.jsxs)(iK.div,{className:"box",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{duration:1}},exit:{opacity:0,transition:{duration:1}}},initial:"hidden",animate:"visible",exit:"exit",children:[(0,i.jsxs)("div",{className:"head",children:[(0,i.jsx)("div",{className:"title",children:"en"===u?"We are interested to know who you are!":"\xa1Nos interesa saber qui\xe9n eres!"}),(0,i.jsx)("div",{className:"subtitle",children:(0,i.jsx)("span",{children:"en"===u?"Tell us what you do":"Cu\xe9ntanos a qu\xe9 te dedicas"})})]}),(0,i.jsxs)("div",{className:"body",children:[(0,i.jsx)("div",{className:"grid",children:n.map((t,e)=>{let{title:n,cover:o}=t;return(0,i.jsxs)("div",{className:"option ".concat(r===n?"active":""),onClick:()=>{a(n)},children:[(0,i.jsx)(i3(),{src:o,width:864,height:690,alt:"Rol"}),(0,i.jsx)("span",{children:n})]},e)})}),(0,i.jsx)("div",{className:"button-wrapper",children:(0,i.jsxs)("button",{type:"button",className:"next-button ".concat(""===r&&"disabled"),onClick:()=>{e(r.trim()),c(!1)},children:[(0,i.jsx)("span",{children:"en"===u?"Continue to site":"Continuar al sitio"}),(0,i.jsx)(i6.Q,{src:"/icons/long-arrow-right.svg"})]})})]})]})})}),document.body)})};function oM(){let t=(0,oe._)(["\n  position: relative;\n  width: 100%;\n\n  &.desktop {\n    overflow: hidden;\n    padding-left: ","rem;\n\n    .page-content {\n      display: flex;\n      flex-direction: row;\n      width: fit-content;\n      padding-right: 11.25rem;\n    }\n  }\n\n  &.horizontal {\n    height: 100vh;\n    overflow: hidden;\n  }\n\n  &.vertical.desktop .page-content {\n    padding-right: 25rem;\n  }\n\n  .chat-modal-container {\n    display: none;\n    position: absolute;\n    top: 100%;\n    left: 0;\n    z-index: 20;\n    width: 100%;\n    height: calc(100vh - ","rem);\n\n    @media "," {\n      top: auto;\n      bottom: 0;\n      width: 350px;\n      height: 400px;\n      left: ","rem;\n    }\n\n    &.show {\n      display: block;\n    }\n\n    .icon {\n      display: none;\n      position: absolute;\n      bottom: calc(100% - 1px);\n      padding: 5px;\n      right: 0;\n      background-color: #fff;\n      border-bottom: none;\n      cursor: pointer;\n\n      @media "," {\n        display: block;\n      }\n\n      path {\n        fill: #b42b3d;\n      }\n    }\n\n    iframe {\n      position: relative;\n      width: 100%;\n      height: 100%;\n      border: none;\n    }\n  }\n"]);return oM=function(){return t},t}let oL=on.ZP.main(oM(),11.25,3.625,or.Td.md,11.25,or.Td.md),oD={out:{opacity:0,transition:{duration:.5}},in:{opacity:1,transition:{duration:.5}}},oN=()=>{window.scrollTo(0,0)},oI=()=>{let t=new Event("resize");window.dispatchEvent(t)};var oB=t=>{let{children:e}=t,[n,r]=(0,o.useState)(!1),l=(0,i0.Z)(),c=(0,o.useRef)(null),{asPath:u}=(0,s.useRouter)(),{width:h}=(0,iQ.iP)(),d=h<1080,f=u.includes("terminos-y-condiciones")||d,p={smooth:!0,direction:f?"vertical":"horizontal",gestureDirection:"both"};(0,iQ.Yz)(()=>{oI()},5e3);let[m,g]=(0,o.useState)(""),[y,v]=(0,o.useState)([]);return(0,o.useEffect)(()=>{let t=(0,iZ.parseCookies)(),e=t.userFilter?JSON.parse(t.userFilter):null;g(e),async function(){if(null==e){let t="https://plycem.com",e="en"==l?"".concat(t,"/en
33/wp-json/py/plycem-get-users-filter?lang=en"):"".concat(t,"/wp-json/py/plycem-get-users-filter?lang=es");try{let t=await a.Z.get(e);v(t.data)}catch(t){console.error("Error cargando opciones de usuario:",t)}}}()},[l]),(0,o.useEffect)(()=>{let t=t=>{if("ArrowLeft"===t.key){let t=new KeyboardEvent("keydown",{key:"ArrowUp",keyCode:38,code:"ArrowUp",bubbles:!0});window.dispatchEvent(t)}else if("ArrowRight"===t.key){let t=new KeyboardEvent("keydown",{key:"ArrowDown",keyCode:40,code:"ArrowDown",bubbles:!0});window.dispatchEvent(t)}};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[]),(0,o.useEffect)(()=>{let t=()=>{(0,i1.q)("cxgenie_chat_button_click",{user_type:m,click_bot:"Click"})},e=document.getElementById("cxgenie-chat-button");return e&&e.addEventListener("click",t),()=>{e&&e.removeEventListener("click",t)}},[]),(0,i.jsxs)("div",{children:[!d&&(0,i.jsx)(oP,{openChat:n,setOpenChat:r}),h?(0,i.jsxs)(iJ.a5,{options:p,containerRef:c,location:u,onLocationChange:t=>t.scrollTo(0,{duration:0,disableLerp:!0}),watch:[p],children:[(0,i.jsx)(oL,{className:"".concat(f?"vertical":"horizontal"," ").concat(d?"mobile":"desktop"),"data-scroll-container":!0,ref:c,children:(0,i.jsxs)("div",{className:"page-content","data-scroll-section":!0,children:[d&&(0,i.jsx)(oP,{openChat:n,setOpenChat:r}),(0,i.jsx)(C,{mode:"wait",onExitComplete:oN,children:(0,i.jsxs)(i2.vQ.Provider,{value:{userRole:m,setUserFilter:t=>{(0,iZ.setCookie)(null,"userFilter",JSON.stringify(t),{maxAge:31536e3,path:"/"}),g(t)},roleOptions:y},children:[(0,i.jsx)(iK.div,{variants:oD,animate:"in",initial:"out",exit:"out",id:"activate-sticky",children:e},u),(0,i.jsx)(o_,{})]})}),!d&&f?(0,i.jsx)(i.Fragment,{}):(0,i.jsx)(of,{})]})}),(0,i.jsx)(oO,{})]}):(0,i.jsx)(i.Fragment,{}),!d&&f?(0,i.jsx)(of,{outside:!0}):(0,i.jsx)(i.Fragment,{})]})},oV=n(9008),oF=n.n(oV),oU=()=>(0,i.jsxs)(oF(),{children:[(0,i.jsx)("link",{rel:"shortcut icon",href:"/icons/plycem-icon.png"}),(0,i.jsx)("meta",{charSet:"utf-8"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"})]}),oz=n(9692);n(3772),n(8804),n(3714),n(4950),n(4256),n(4233),n(2069),n(2692);var oW=function(t){let{Component:e,pageProps:n}=t;return(0,i.jsxs)(i0.i,{children:[(0,i.jsx)(oU,{}),(0,i.jsx)(oB,{children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e,{...n}),(0,i.jsx)(oz.GoogleAnalytics,{gaId:"G-82HKRW1RJ3"}),(0,i.jsx)(oH,{}),(0,i.jsx)(o$,{})]})})]})};let oH=()=>((0,o.useEffect)(()=>{let t=document.createElement("script");return t.src="https://widget.cxgenie.ai/widget.js",t.setAttribute("data-aid","b15ebd3f-d98a-4b0a-b508-93eced91d340"),t.setAttribute("data-lang","es"),t.async=!0,document.body.appendChild(t),()=>{document.body.removeChild(t)}},[]),null),o$=()=>((0,o.useEffect)(()=>{var t,e,n,r,i,o;return t=window,e=document,n="script",t.fbq||(r=t.fbq=function(){r.callMethod?r.callMethod.apply(r,arguments):r.queue.push(arguments)},t._fbq||(t._fbq=r),r.push=r,r.loaded=!0,r.version="2.0",r.queue=[],(i=e.createElement(n)).async=!0,i.src="https://connect.facebook.net/en_US/fbevents.js",(o=e.getElementsByTagName(n)[0]).parentNode.insertBefore(i,o)),fbq("init","1572465253642101"),fbq("track","PageView"),()=>{window.fbq&&(window.fbq=void 0)}},[]),null)},2509:function(t,e,n){"use strict";n.d(e,{DM:function(){return r},Td:function(){return o}});let r={black:"#000",white:"#fff",disabled:"#999999",red:"#B42B3D",gray:"#e6e6e6"},i={xs:"768",md:"1080"},o={xs:"(min-width: ".concat(i.xs,"px)"),md:"(min-width: ".concat(i.md,"px)"),maxxs:"(max-width: ".concat(i.xs,"px)"),maxmd:"(max-width: ".concat(i.md,"px)")}},3654:function(t,e,n){"use strict";n.d(e,{H:function(){return i},q:function(){return r}});let r=(t,e)=>{window.gtag("event",t,{...e})},i=(t,e,n)=>{r("form_completed",{form_name_completed:e,country_form_completed:n,user_type:t})}},6195:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});let r=t=>"".concat("https://plycem.com","/wp-json/contact-form-7/v1/contact-forms/").concat(t,"/feedback")},2069:function(){},4233:function(){},4256:function(){},2692:function(){},4950:function(){},3714:function(){},3772:function(){},8804:function(){},7663:function(t){!function(){var e={229:function(t){var e,n,r,i=t.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{n="function"==typeof clearTimeout?clearTimeout:s}
33catch(t){n=s}}();var l=[],c=!1,u=-1;function h(){c&&r&&(c=!1,r.length?l=r.concat(l):u=-1,l.length&&d())}function d(){if(!c){var t=a(h);c=!0;for(var e=l.length;e;){for(r=l,l=[];++u<e;)r&&r[u].run();u=-1,e=l.length}r=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function p(){}i.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new f(t,e)),1!==l.length||c||a(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(t){return[]},i.binding=function(t){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={exports:{}},s=!0;try{e[t](o,o.exports,r),s=!1}finally{s&&delete n[t]}return o.exports}r.ab="//";var i=r(229);t.exports=i}()},9008:function(t,e,n){t.exports=n(2636)},5675:function(t,e,n){t.exports=n(3740)},1664:function(t,e,n){t.exports=n(5569)},1163:function(t,e,n){t.exports=n(6885)},4298:function(t,e,n){t.exports=n(5442)},2286:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.destroyCookie=e.setCookie=e.parseCookies=void 0;var i=n(6489),o=n(9328),s=n(1022);function a(t,e){var n,r;return(null===(r=null===(n=null==t?void 0:t.req)||void 0===n?void 0:n.headers)||void 0===r?void 0:r.cookie)?i.parse(t.req.headers.cookie,e):s.isBrowser()?i.parse(document.cookie,e):{}}function l(t,e,n,a){var l,c;if(void 0===a&&(a={}),(null===(l=null==t?void 0:t.res)||void 0===l?void 0:l.getHeader)&&t.res.setHeader){if(null===(c=null==t?void 0:t.res)||void 0===c?void 0:c.finished)return console.warn('Not setting "'+e+'" cookie. Response has finished.'),console.warn("You should set cookie before res.send()"),{};var u=t.res.getHeader("Set-Cookie")||[];"string"==typeof u&&(u=[u]),"number"==typeof u&&(u=[]);var h=o.parse(u,{decodeValues:!1}),d=s.createCookie(e,n,a),f=[];h.forEach(function(t){if(!s.areCookiesEqual(t,d)){var e=i.serialize(t.name,t.value,r({encode:function(t){return t}},t));f.push(e)}}),f.push(i.serialize(e,n,a)),t.res.setHeader("Set-Cookie",f)}if(s.isBrowser()){if(a&&a.httpOnly)throw Error("Can not set a httpOnly cookie in the browser.");document.cookie=i.serialize(e,n,a)}return{}}function c(t,e,n){return l(t,e,"",r(r({},n||{}),{maxAge:-1}))}e.parseCookies=a,e.setCookie=l,e.destroyCookie=c,e.default={set:l,get:a,destroy:c}},1022:function(t,e){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function r(t,e){var n=Object.getOwnPropertyNames(t),r=Object.getOwnPropertyNames(e);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(t[o]!==e[o])return!1}return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.areCookiesEqual=e.hasSameProperties=e.createCookie=e.isBrowser=void 0,e.isBrowser=function(){return"undefined"!=typeof window},e.createCookie=function(t,e,r){var i=r.sameSite;!0===i&&(i="strict"),(void 0===i||!1===i)&&(i="lax");var o=n(n({},r),{sameSite:i});return delete o.encode,n({name:t,value:e},o)},e.hasSameProperties=r,e.areCookiesEqual=function(t,e){var i=t.sameSite===e.sameSite;return"string"==typeof t.sameSite&&"string"==typeof e.sameSite&&(i=t.sameSite.toLowerCase()===e.sameSite.toLowerCase()),r(n(n({},t),{sameSite:void 0}),n(n({},e),{sameSite:void 0}))&&i}},2703:function(t,e,n){"use strict";var r=n(414);function i(){}function o(){}
33o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,s){if(s!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5697:function(t,e,n){t.exports=n(2703)()},414:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8992:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LocomotiveScrollProvider=e.LocomotiveScrollContext=void 0;let r=n(655),i=n(5893),o=n(7294),s=n(9428),a=r.__importDefault(n(6388));function l({children:t,options:l,containerRef:c,watch:u,onUpdate:h,location:d,onLocationChange:f}){let{height:p}=(0,a.default)({ref:c}),[m,g]=(0,o.useState)(!1),y=(0,o.useRef)(null),[v]=(0,s.useDebounce)(p,100);return u||console.warn("react-locomotive-scroll: you did not add any props to watch. Scroll may have weird behaviours if the instance is not updated when the route changes"),(0,o.useEffect)(()=>(r.__awaiter(this,void 0,void 0,function*(){try{let t=(yield Promise.resolve().then(()=>r.__importStar(n(6267)))).default,e=document.querySelector("[data-scroll-container]");e||console.warn("react-locomotive-scroll: [data-scroll-container] dataset was not found. You likely forgot to add it which will prevent Locomotive Scroll to work."),y.current=new t(Object.assign({el:null!=e?e:void 0},l)),g(!0)}catch(t){throw Error(`react-locomotive-scroll: ${t}`)}}),()=>{var t;null===(t=y.current)||void 0===t||t.destroy(),g(!1)}),[]),(0,o.useEffect)(()=>{y.current&&(y.current.update(),h&&h(y.current))},u?[...u,v]:[v]),(0,o.useEffect)(()=>{y.current&&d&&(y.current.update(),f&&f(y.current))},[d]),(0,i.jsx)(e.LocomotiveScrollContext.Provider,Object.assign({value:{scroll:y.current,isReady:m}},{children:t}))}e.LocomotiveScrollContext=(0,o.createContext)({scroll:null,isReady:!1}),e.LocomotiveScrollProvider=l,e.LocomotiveScrollContext.displayName="LocomotiveScrollContext",l.displayName="LocomotiveScrollProvider"},8075:function(t,e,n){"use strict";e.lh=e.a5=void 0;var r=n(8992);Object.defineProperty(e,"a5",{enumerable:!0,get:function(){return r.LocomotiveScrollProvider}});var i=n(6781);Object.defineProperty(e,"lh",{enumerable:!0,get:function(){return i.useLocomotiveScroll}})},6781:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useLocomotiveScroll=void 0;let r=n(7294),i=n(8992);function o(){let t=(0,r.useContext)(i.LocomotiveScrollContext);return void 0===t&&console.warn("react-locomotive-scroll: the context is missing. You may be using the hook without registering LocomotiveScrollProvider, or you may be using the hook in a component which is not wrapped by LocomotiveScrollProvider."),t}e.useLocomotiveScroll=o,o.displayName="useLocomotiveScroll"},7397:function(t,e,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function i(t,e){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,{Q:function(){return P}});function o(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}var s=n(7811),a=new Map,l=function(t){return t.cloneNode(!0)},c=function(){return"file:"===window.location.protocol},u=function(t,e,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&2===r.readyState){var e=r.getResponseHeader("Content-Type");if(!e)throw Error("Content type not found");var i=(0,s.Q)(e).type;if(!("image/svg+xml"===i||"text/plain"===i))throw Error("Invalid content type: ".concat(i))}if(4===r.readyState){if(404===r.status||null===r.responseXML)throw Error(c()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);
33if(200===r.status||c()&&0===r.status)n(null,r);else throw Error("There was a problem injecting the SVG: "+r.status+" "+r.statusText)}}catch(t){if(r.abort(),t instanceof Error)n(t,r);else throw t}},r.open("GET",t),r.withCredentials=e,r.overrideMimeType&&r.overrideMimeType("text/xml"),r.send()},h={},d=function(t,e){h[t]=h[t]||[],h[t].push(e)},f=function(t){for(var e=function(e,n){setTimeout(function(){if(Array.isArray(h[t])){var n=a.get(t),r=h[t][e];n instanceof SVGSVGElement&&r(null,l(n)),n instanceof Error&&r(n),e===h[t].length-1&&delete h[t]}},0)},n=0,r=h[t].length;n<r;n++)e(n)},p=function(t,e,n){if(a.has(t)){var r=a.get(t);if(void 0===r){d(t,n);return}if(r instanceof SVGSVGElement){n(null,l(r));return}}a.set(t,void 0),d(t,n),u(t,e,function(e,n){var r;e?a.set(t,e):(null===(r=n.responseXML)||void 0===r?void 0:r.documentElement)instanceof SVGSVGElement&&a.set(t,n.responseXML.documentElement),f(t)})},m=function(t,e,n){u(t,e,function(t,e){var r;t?n(t):(null===(r=e.responseXML)||void 0===r?void 0:r.documentElement)instanceof SVGSVGElement&&n(null,e.responseXML.documentElement)})},g=0,y=[],v={},b="http://www.w3.org/1999/xlink",w=function(t,e,n,r,i,s,a){var l=t.getAttribute("data-src")||t.getAttribute("src");if(!l){a(Error("Invalid data-src or src attribute"));return}if(-1!==y.indexOf(t)){y.splice(y.indexOf(t),1),t=null;return}y.push(t),t.setAttribute("src",""),(r?p:m)(l,i,function(r,i){if(!i){y.splice(y.indexOf(t),1),t=null,a(r);return}var c,u,h=t.getAttribute("id");h&&i.setAttribute("id",h);var d=t.getAttribute("title");d&&i.setAttribute("title",d);var f=t.getAttribute("width");f&&i.setAttribute("width",f);var p=t.getAttribute("height");p&&i.setAttribute("height",p);var m=Array.from(new Set(o(o(o([],(i.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();i.setAttribute("class",m);var w=t.getAttribute("style");w&&i.setAttribute("style",w),i.setAttribute("data-src",l);var x=[].filter.call(t.attributes,function(t){return/^data-\w[\w-]*$/.test(t.name)});if(Array.prototype.forEach.call(x,function(t){t.name&&t.value&&i.setAttribute(t.name,t.value)}),n){var S,E,j,k,A,T={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(T).forEach(function(t){S=t,j=T[t],E=i.querySelectorAll(S+"[id]");for(var e=0,n=E.length;e<n;e++)!function(t,e){A=(k=E[t].id)+"-"+ ++g,Array.prototype.forEach.call(j,function(t){n=i.querySelectorAll("["+t+'*="'+k+'"]');for(var e=0,r=n.length;e<r;e++){var o=n[e].getAttribute(t);(!o||o.match(RegExp('url\\("?#'+k+'"?\\)')))&&n[e].setAttribute(t,"url(#"+A+")")}});for(var n,r=i.querySelectorAll("[*|href]"),o=[],s=0,a=r.length;s<a;s++){var l=r[s].getAttributeNS(b,"href");l&&l.toString()==="#"+E[t].id&&o.push(r[s])}for(var c=0,u=o.length;c<u;c++)o[c].setAttributeNS(b,"href","#"+A);E[t].id=A}(e)})}i.removeAttribute("xmlns:a");for(var P=i.querySelectorAll("script"),O=[],C=0,R=P.length;C<R;C++)(u=P[C].getAttribute("type"))&&"application/ecmascript"!==u&&"application/javascript"!==u&&"text/javascript"!==u||((c=P[C].innerText||P[C].textContent)&&O.push(c),i.removeChild(P[C]));if(O.length>0&&("always"===e||"once"===e&&!v[l])){for(var _=0,M=O.length;_<M;_++)Function(O[_])(window);v[l]=!0}var L=i.querySelectorAll("style");if(Array.prototype.forEach.call(L,function(t){t.textContent+=""}),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink",b),s(i),!t.parentNode){y.splice(y.indexOf(t),1),t=null,a(Error("Parent node is null"));return}t.parentNode.replaceChild(i,t),y.splice(y.indexOf(t),1),t=null,a(null,i)})},x=function(t,e){var n=void 0===e?{}:e,r=n.afterAll,i=void 0===r?function(){}:r,o=n.afterEach,s=void 0===o?function(){}:o,a=n.beforeEach,l=void 0===a?function(){}:a,c=n.cacheRequests,u=void 0===c||c,h=n.evalScripts,d=void 0===h?"never":h,f=n.httpRequestWithCredentials,p=void 0!==f&&f,m=n.renumerateIRIElements,g=void 0===m||m;if(t&&"length"in t)for(var y=0,v=0,b=t.length;v<b;v++)w(t[v],d,g,u,p,l,function(e,n){s(e,n),t&&"length"in t&&t.length===++y&&i(y)});else t?w(t,d,g,u,p,l,function(e,n){s(e,n),i(1),t=null}):i(0)},S=n(5697),E=n(7294),j=function(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1},k=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],A="http://www.w3.org/2000/svg",T="http://www.w3.org/1999/xlink",P=function(t){function e(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).initialState={hasError:!1,isLoading:!0},e.state=e.initialState,e._isMounted=!1,e.reactWrapper=void 0,e.nonReactWrapper=void 0,e.refCallback=function(t){e.reactWrapper=t},e}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t);var n=e.prototype;return n.renderSVG=function(){var t=this;if(this.reactWrapper instanceof(((null==(e=this.reactWrapper)?void 0:e.ownerDocument)||document).defaultView||window).Node){var e,n,r,i=this.props,o=i.desc,s=i.evalScripts,a=i.httpRequestWithCredentials,l=i.renumerateIRIElements,c=i.src,u=i.title,h=i.useRequestCache,d=this.props.onError,f=this.props.beforeInjection,p=this.props.afterInjection,m=this.props.wrapper;"svg"===m?((n=document.createElementNS(A,m)).setAttribute("xmlns",A),n.setAttribute("xmlns:xlink",T),r=document.createElementNS(A,m)):(n=document.createElement(m),r=document.createElement(m)),n.appendChild(r),r.dataset.src=c,this.nonReactWrapper=this.reactWrapper.appendChild(n);var g=function(e){if(t.removeSVG(),!t._isMounted){d(e);return}t.setState(function(){return{hasError:!0,isLoading:!1}},function(){d(e)})};x(r,{afterEach:function(e,n){if(e){g(e);return}t._isMounted&&t.setState(function(){return{isLoading:!1}},function(){try{p(n)}catch(t){g(t)}})},beforeEach:function(t){if(t.setAttribute("role","img"),o){var e=t.querySelector(":scope > desc");e&&t.removeChild(e);var n=document.createElement("desc");n.innerHTML=o,t.prepend(n)}if(u){var r=t.querySelector(":scope > title");r&&t.removeChild(r);var i=document.createElement("title");i.innerHTML=u,t.prepend(i)}try{f(t)}catch(t){g(t)}},cacheRequests:h,evalScripts:s,httpRequestWithCredentials:a,renumerateIRIElements:l})}},n.removeSVG=function(){var t;null!=(t=this.nonReactWrapper)&&t.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(t){var e=this;j(r({},t),this.props)&&this.setState(function(){return e.initialState}
33,function(){e.removeSVG(),e.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var t=this.props;t.afterInjection,t.beforeInjection,t.desc,t.evalScripts;var e=t.fallback;t.httpRequestWithCredentials;var n=t.loading;t.renumerateIRIElements,t.src,t.title,t.useRequestCache;var i=t.wrapper,o=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,k);return E.createElement(i,r({},o,{ref:this.refCallback},"svg"===i?{xmlns:A,xmlnsXlink:T}:{}),this.state.isLoading&&n&&E.createElement(n,null),this.state.hasError&&e&&E.createElement(e,null))},e}(E.Component);P.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"},P.propTypes={afterInjection:S.func,beforeInjection:S.func,desc:S.string,evalScripts:S.oneOf(["always","once","never"]),fallback:S.oneOfType([S.func,S.object,S.string]),httpRequestWithCredentials:S.bool,loading:S.oneOfType([S.func,S.object,S.string]),onError:S.func,renumerateIRIElements:S.bool,src:S.string.isRequired,title:S.string,useRequestCache:S.bool,wrapper:S.oneOf(["div","span","svg"])}},9328:function(t){"use strict";var e={decodeValues:!0,map:!1,silent:!1};function n(t){return"string"==typeof t&&!!t.trim()}function r(t,r){var i,o,s,a,l=t.split(";").filter(n),c=(i=l.shift(),o="",s="",(a=i.split("=")).length>1?(o=a.shift(),s=a.join("=")):s=i,{name:o,value:s}),u=c.name,h=c.value;r=r?Object.assign({},e,r):e;try{h=r.decodeValues?decodeURIComponent(h):h}catch(t){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+h+"'. Set options.decodeValues to false to disable this feature.",t)}var d={name:u,value:h};return l.forEach(function(t){var e=t.split("="),n=e.shift().trimLeft().toLowerCase(),r=e.join("=");"expires"===n?d.expires=new Date(r):"max-age"===n?d.maxAge=parseInt(r,10):"secure"===n?d.secure=!0:"httponly"===n?d.httpOnly=!0:"samesite"===n?d.sameSite=r:d[n]=r}),d}function i(t,i){if(i=i?Object.assign({},e,i):e,!t)return i.map?{}:[];if(t.headers){if("function"==typeof t.headers.getSetCookie)t=t.headers.getSetCookie();else if(t.headers["set-cookie"])t=t.headers["set-cookie"];else{var o=t.headers[Object.keys(t.headers).find(function(t){return"set-cookie"===t.toLowerCase()})];o||!t.headers.cookie||i.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),t=o}}return(Array.isArray(t)||(t=[t]),(i=i?Object.assign({},e,i):e).map)?t.filter(n).reduce(function(t,e){var n=r(e,i);return t[n.name]=n,t},{}):t.filter(n).map(function(t){return r(t,i)})}t.exports=i,t.exports.parse=i,t.exports.parseString=r,t.exports.splitCookiesString=function(t){if(Array.isArray(t))return t;if("string"!=typeof t)return[];var e,n,r,i,o,s=[],a=0;function l(){for(;a<t.length&&/\s/.test(t.charAt(a));)a+=1;return a<t.length}for(;a<t.length;){for(e=a,o=!1;l();)if(","===(n=t.charAt(a))){for(r=a,a+=1,l(),i=a;a<t.length&&"="!==(n=t.charAt(a))&&";"!==n&&","!==n;)a+=1;a<t.length&&"="===t.charAt(a)?(o=!0,a=i,s.push(t.substring(e,r)),e=a):a=r+1}else a+=1;(!o||a>=t.length)&&s.push(t.substring(e,t.length))}return s}},6774:function(t){t.exports=function(t,e,n,r){var i=n?n.call(r,t,e):void 0;if(void 0!==i)return!!i;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var o=Object.keys(t),s=Object.keys(e);if(o.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(e),l=0;l<o.length;l++){var c=o[l];if(!a(c))return!1;var u=t[c],h=e[c];if(!1===(i=n?n.call(r,u,h,c):void 0)||void 0===i&&u!==h)return!1}return!0}},964:function(t,e,n){"use strict";n.d(e,{ZP:function(){return er}});var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}var o=n(7294),s=n(6774),a=n.n(s),l="-ms-",c="-moz-",u="-webkit-",h="comm",d="rule",f="decl",p="@ke
33yframes",m=Math.abs,g=String.fromCharCode,y=Object.assign;function v(t,e){return(t=e.exec(t))?t[0]:t}function b(t,e,n){return t.replace(e,n)}function w(t,e){return t.indexOf(e)}function x(t,e){return 0|t.charCodeAt(e)}function S(t,e,n){return t.slice(e,n)}function E(t){return t.length}function j(t,e){return e.push(t),t}var k=1,A=1,T=0,P=0,O=0,C="";function R(t,e,n,r,i,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:k,column:A,length:s,return:""}}function _(t,e){return y(R("",null,null,"",null,null,0),t,{length:-t.length},e)}function M(){return O=P<T?x(C,P++):0,A++,10===O&&(A=1,k++),O}function L(){return x(C,P)}function D(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(t){var e,n;return(e=P-1,n=function t(e){for(;M();)switch(O){case e:return P;case 34:case 39:34!==e&&39!==e&&t(O);break;case 40:41===e&&t(e);break;case 92:M()}return P}(91===t?t+2:40===t?t+1:t),S(C,e,n)).trim()}function I(t,e){for(var n="",r=t.length,i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function B(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case f:return t.return=t.return||t.value;case h:return"";case p:return t.return=t.value+"{"+I(t.children,r)+"}";case d:t.value=t.props.join(",")}return E(n=I(t.children,r))?t.return=t.value+"{"+n+"}":""}function V(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case f:t.return=function t(e,n,r){var i;switch(i=n,45^x(e,0)?(((i<<2^x(e,0))<<2^x(e,1))<<2^x(e,2))<<2^x(e,3):0){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+e+e;case 4789:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+c+e+l+e+e;case 5936:switch(x(e,n+11)){case 114:return u+e+l+b(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+l+b(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+l+b(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+l+e+e;case 6165:return u+e+l+"flex-"+e+e;case 5187:return u+e+b(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return u+e+l+"flex-item-"+b(e,/flex-|-self/g,"")+(v(e,/flex-|baseline/)?"":l+"grid-row-"+b(e,/flex-|-self/g,""))+e;case 4675:return u+e+l+"flex-line-pack"+b(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+l+b(e,"shrink","negative")+e;case 5292:return u+e+l+b(e,"basis","preferred-size")+e;case 6060:return u+"box-"+b(e,"-grow","")+u+e+l+b(e,"grow","positive")+e;case 4554:return u+b(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return b(b(b(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return b(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return b(b(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!v(e,/flex-|baseline/))return l+"grid-column-align"+S(e,n)+e;break;case 2592:case 3360:return l+b(e,"template-","")+e;case 4384:case 3616:if(r&&r.some(function(t,e){return n=e,v(t.props,/grid-\w+-end/)}))return~w(e+(r=r[n].value),"span")?e:l+b(e,"-start","")+e+l+"grid-row-span:"+(~w(r,"span")?v(r,/\d+/):+v(r,/\d+/)-+v(e,/\d+/))+";";return l+b(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(t){return v(t.props,/grid-\w+-start/)})?e:l+b(b(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return b(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(E(e)-1-n>6)switch(x(e,n+1)){case 109:if(45!==x(e,n+4))break;case 102:return b(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+c+(108==x(e,n+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch")?t(b(e,"stretch","fill-available"),n,r)+e:e}break;case 5152:case 5920:return b(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,i,o,s,a){return l+n+":"+r+a+(i?l+n+"-span:"+(o?s:+s-+r)+a:"")+e});case 4949:if(121===x(e,n+6))return b(e,":",":"+u)+e;break;case 6444:switch(x(e,45===x(e,14)?18:11)){case 120:return b(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===x(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+l+"$2box$3")+e;case 100:return b(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return b(e,"scroll-","scroll-snap-")+e}return e}(t.value,t.length,n);return;case p:return I([_(t,{value:b(t.value,"@","@"+u)}
33)],r);case d:if(t.length)return t.props.map(function(e){switch(v(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return I([_(t,{props:[b(e,/:(read-\w+)/,":"+c+"$1")]})],r);case"::placeholder":return I([_(t,{props:[b(e,/:(plac\w+)/,":"+u+"input-$1")]}),_(t,{props:[b(e,/:(plac\w+)/,":"+c+"$1")]}),_(t,{props:[b(e,/:(plac\w+)/,l+"input-$1")]})],r)}return""}).join("")}}function F(t,e,n,r,i,o,s,a,l,c,u){for(var h=i-1,f=0===i?o:[""],p=f.length,g=0,y=0,v=0;g<r;++g)for(var w=0,x=S(t,h+1,h=m(y=s[g])),E=t;w<p;++w)(E=(y>0?f[w]+" "+x:b(x,/&\f/g,f[w])).trim())&&(l[v++]=E);return R(t,e,n,0===i?d:a,l,c,u)}function U(t,e,n,r){return R(t,e,n,f,S(t,0,r),S(t,r+1,-1),r)}var z={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},W=n(3454),H=void 0!==W&&void 0!==W.env&&(W.env.REACT_APP_SC_ATTR||W.env.SC_ATTR)||"data-styled",$="undefined"!=typeof window&&"HTMLElement"in window,q=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==W&&void 0!==W.env&&void 0!==W.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==W.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==W.env.REACT_APP_SC_DISABLE_SPEEDY&&W.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==W&&void 0!==W.env&&void 0!==W.env.SC_DISABLE_SPEEDY&&""!==W.env.SC_DISABLE_SPEEDY&&"false"!==W.env.SC_DISABLE_SPEEDY&&W.env.SC_DISABLE_SPEEDY),G=Object.freeze([]),Y=Object.freeze({}),X=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),K=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Z=/(^-|-$)/g;function J(t){return t.replace(K,"-").replace(Z,"")}var Q=/(a)(d)/gi,tt=function(t){return String.fromCharCode(t+(t>25?39:97))};function te(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=tt(e%52)+n;return(tt(e%52)+n).replace(Q,"$1-$2")}var tn,tr=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},ti=function(t){return tr(5381,t)};function to(t){return"string"==typeof t}var ts="function"==typeof Symbol&&Symbol.for,ta=ts?Symbol.for("react.memo"):60115,tl=ts?Symbol.for("react.forward_ref"):60112,tc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tu={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},th={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},td=((tn={})[tl]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tn[ta]=th,tn);function tf(t){return("type"in t&&t.type.$$typeof)===ta?th:"$$typeof"in t?td[t.$$typeof]:tc}var tp=Object.defineProperty,tm=Object.getOwnPropertyNames,tg=Object.getOwnPropertySymbols,ty=Object.getOwnPropertyDescriptor,tv=Object.getPrototypeOf,tb=Object.prototype;function tw(t){return"function"==typeof t}function tx(t){return"object"==typeof t&&"styledComponentId"in t}function tS(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function tE(t,e){if(0===t.length)return"";for(var n=t[0],r=1;r<t.length;r++)n+=e?e+t[r]:t[r];return n}function tj(t){return null!==t&&"object"==typeof t&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function tk(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):""))}var tA=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return t.prototype.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},t.prototype.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;t>=i;)if((i<<=1)<0)throw tk(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(t+1),a=(o=0,e.length);o<a;
33o++)this.tag.insertRule(s,e[o])&&(this.groupSizes[t]++,s++)},t.prototype.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.prototype.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),i=r+n,o=r;o<i;o++)e+="".concat(this.tag.getRule(o)).concat("/*!sc*/\n");return e},t}(),tT=new Map,tP=new Map,tO=1,tC=function(t){if(tT.has(t))return tT.get(t);for(;tP.has(tO);)tO++;var e=tO++;return tT.set(t,e),tP.set(e,t),e},tR=function(t,e){tT.set(t,e),tP.set(e,t)},t_="style[".concat(H,"][").concat("data-styled-version",'="').concat("6.0.0-rc.1",'"]'),tM=new RegExp("^".concat(H,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),tL=function(t,e,n){for(var r,i=n.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&t.registerName(e,r)},tD=function(t,e){for(var n,r=(null!==(n=e.textContent)&&void 0!==n?n:"").split("/*!sc*/\n"),i=[],o=0,s=r.length;o<s;o++){var a=r[o].trim();if(a){var l=a.match(tM);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(tR(u,c),tL(t,u,l[3]),t.getTag().insertRules(c,i)),i.length=0}else i.push(a)}}},tN=function(t){var e=document.head,r=t||e,i=document.createElement("style"),o=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(H))return r}}(r),s=void 0!==o?o.nextSibling:null;i.setAttribute(H,"active"),i.setAttribute("data-styled-version","6.0.0-rc.1");var a=n.nc;return a&&i.setAttribute("nonce",a),r.insertBefore(i,s),i},tI=function(){function t(t){this.element=tN(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var i=e[n];if(i.ownerNode===t)return i}throw tk(17)}(this.element),this.length=0}return t.prototype.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},t.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},t.prototype.getRule=function(t){var e=this.sheet.cssRules[t];return e&&e.cssText?e.cssText:""},t}(),tB=function(){function t(t){this.element=tN(t),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},t.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),tV=function(){function t(t){this.rules=[],this.length=0}return t.prototype.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},t.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},t.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),tF=$,tU={isServer:!$,useCSSOMInjection:!q},tz=function(){function t(t,e,n){void 0===t&&(t=Y),void 0===e&&(e={}),this.options=r(r({},tU),t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&$&&tF&&(tF=!1,function(t){for(var e=document.querySelectorAll(t_),n=0,r=e.length;n<r;n++){var i=e[n];i&&"active"!==i.getAttribute(H)&&(tD(t,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}return t.registerId=function(t){return tC(t)},t.prototype.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(r(r({},this.options),e),this.gs,n&&this.names||void 0)},t.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},t.prototype.getTag=function(){var t,e,n,r;return this.tag||(this.tag=(n=(e=this.options).useCSSOMInjection,r=e.target,t=e.isServer?new tV(r):n?new tI(r):new tB(r),new tA(t)))},t.prototype.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},t.prototype.registerName=function(t,e){if(tC(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},t.prototype.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(tC(t),n)},t.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},t.prototype.clearRules=function(t){this.getTag().clearGroup(tC(t)),this.clearNames(t)},t.prototype.clearTag=function(){this.tag=void 0},t.prototype.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",i=0;i<n;i++)(function(n){var i=tP.get(n);if(void 0!==i){var o=t.names.get(i),s=e.getGroup(n);if(void 0!==o&&0!==s.length){var a="".concat(H,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach(function(t){t.length>0&&(l+="".concat(t,","))}
33),r+="".concat(s).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")}}})(i);return r}(this)},t}(),tW=/&/g,tH=/^\s*\/\/.*$/gm;function t$(t){var e,n,r,i=void 0===t?Y:t,o=i.options,s=void 0===o?Y:o,a=i.plugins,l=void 0===a?G:a,c=function(t,r,i){return i===n||i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(e):t},u=l.slice();s.prefix&&u.unshift(V),u.push(function(t){t.type===d&&t.value.includes("&")&&(t.props[0]=t.props[0].replace(tW,n).replace(r,c))},B);var f=function(t,i,o,a){void 0===i&&(i=""),void 0===o&&(o=""),void 0===a&&(a="&"),e=a,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,f,p=t.replace(tH,""),m=(f=function t(e,n,r,i,o,s,a,l,c){for(var u,d=0,f=0,p=a,m=0,y=0,v=0,T=1,_=1,I=1,B=0,V="",z=o,W=s,H=i,$=V;_;)switch(v=B,B=M()){case 40:if(108!=v&&58==x($,p-1)){-1!=w($+=b(N(B),"&","&\f"),"&\f")&&(I=-1);break}case 34:case 39:case 91:$+=N(B);break;case 9:case 10:case 13:case 32:$+=function(t){for(;O=L();)if(O<33)M();else break;return D(t)>2||D(O)>3?"":" "}(v);break;case 92:$+=function(t,e){for(var n;--e&&M()&&!(O<48)&&!(O>102)&&(!(O>57)||!(O<65))&&(!(O>70)||!(O<97)););return n=P+(e<6&&32==L()&&32==M()),S(C,t,n)}(P-1,7);continue;case 47:switch(L()){case 42:case 47:j(R(u=function(t,e){for(;M();)if(t+O===57)break;else if(t+O===84&&47===L())break;return"/*"+S(C,e,P-1)+"*"+g(47===t?t:M())}(M(),P),n,r,h,g(O),S(u,2,-2),0),c);break;default:$+="/"}break;case 123*T:l[d++]=E($)*I;case 125*T:case 59:case 0:switch(B){case 0:case 125:_=0;case 59+f:-1==I&&($=b($,/\f/g,"")),y>0&&E($)-p&&j(y>32?U($+";",i,r,p-1):U(b($," ","")+";
33",i,r,p-2),c);break;case 59:$+=";";default:if(j(H=F($,n,r,d,f,o,l,V,z=[],W=[],p),s),123===B){if(0===f)t($,n,H,H,z,s,p,l,W);else switch(99===m&&110===x($,3)?100:m){case 100:case 108:case 109:case 115:t(e,H,H,i&&j(F(e,H,H,0,0,o,l,V,o,z=[],p),W),o,W,p,l,i?z:W);break;default:t($,H,H,H,[""],W,0,l,W)}}}d=f=y=0,T=I=1,V=$="",p=a;break;case 58:p=1+E($),y=v;default:if(T<1){if(123==B)--T;else if(125==B&&0==T++&&125==(O=P>0?x(C,--P):0,A--,10===O&&(A=1,k--),O))continue}switch($+=g(B),B*T){case 38:I=f>0?1:($+="\f",-1);break;case 44:l[d++]=(E($)-1)*I,I=1;break;case 64:45===L()&&($+=N(M())),m=L(),f=p=E(V=$+=function(t){for(;!D(L());)M();return S(C,t,P)}(P)),B++;break;case 45:45===v&&2==E($)&&(T=0)}}return s}("",null,null,null,[""],(d=c=o||i?"".concat(o," ").concat(i," { ").concat(p," }"):p,k=A=1,T=E(C=d),P=0,c=[]),0,[0],c),C="",f);return s.namespace&&(m=function t(e,n){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(n," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(n," ")),e.props=e.props.map(function(t){return"".concat(n," ").concat(t)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=t(e.children,n)),e})}(m,s.namespace)),function(t,e){for(var n=[],r=0,i=void 0;r<t.length;r+=1)(i=e(t[r],r,t,e))&&n.push(i);return n}(m,(l=u.length,function(t,e,n,r){for(var i="",o=0;o<l;o++)i+=u[o](t,e,n,r)||"";return i}))};return f.hash=l.length?l.reduce(function(t,e){return e.name||tk(15),tr(t,e.name)},5381).toString():"",f}var tq=new tz,tG=t$(),tY=o.createContext({shouldForwardProp:void 0,styleSheet:tq,stylis:tG}),tX=(tY.Consumer,o.createContext(void 0));function tK(){return(0,o.useContext)(tY)}function tZ(t){var e=(0,o.useState)(t.stylisPlugins),n=e[0],r=e[1],i=tK().styleSheet,s=(0,o.useMemo)(function(){var e=i;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e},[t.disableCSSOMInjection,t.sheet,t.target,i]),l=(0,o.useMemo)(function(){return t$({options:{namespace:t.namespace,prefix:t.enableVendorPrefixes},plugins:n})},[t.enableVendorPrefixes,t.namespace,n]);return(0,o.useEffect)(function(){a()(n,t.stylisPlugins)||r(t.stylisPlugins)},[t.stylisPlugins]),o.createElement(tY.Provider,{value:{shouldForwardProp:t.shouldForwardProp,styleSheet:s,stylis:l}},o.createElement(tX.Provider,{value:l},t.children))}var tJ=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=tG);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,"@keyframes"))},this.toString=function(){throw tk(12,String(n.name))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=tG),this.name+t.hash},t}();function tQ(t){for(var e="",n=0;n<t.length;n++){var r=t[n];if(1===n&&"-"===r&&"-"===t[0])return t;r>="A"&&r<="Z"?e+="-"+r.toLowerCase():e+=r}return e.startsWith("ms-")?"-"+e:e}var t0=function(t){return null==t||!1===t||""===t},t1=function(t){var e=[];for(var n in t){var r=t[n];t.hasOwnProperty(n)&&!t0(r)&&(Array.isArray(r)&&r.isCss||tw(r)?e.push("".concat(tQ(n),":"),r,";"):tj(r)?e.push.apply(e,i(i(["".concat(n," {")],t1(r),!1),["}"],!1)):e.push("".concat(tQ(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return e};function t2(t,e,n,r){return t0(t)?[]:tx(t)?[".".concat(t.styledComponentId)]:tw(t)?!tw(t)||t.prototype&&t.prototype.isReactComponent||!e?[t]:t2(t(e),e,n,r):t instanceof tJ?n?(t.inject(n,r),[t.getName(r)]):[t]:tj(t)?t1(t):Array.isArray(t)?t.flatMap(function(t){return t2(t,e,n,r)}):[t.toString()]}function t5(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(tw(n)&&!tx(n))return!1}return!0}var t3=ti("6.0.0-rc.1"),t4=function(){function t(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&t5(t),this.componentId=e,this.baseHash=tr(t3,e),this.baseStyle=n,tz.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,e,n):"";if(this.isStatic&&!n.hash){if(this.staticRulesId&&e.hasNameForId(this.componentId,this.staticRulesId))r=tS(r,this.staticRulesId);else{var i=tE(t2(this.rules,t,e,n)),o=te(tr(this.baseHash,i)>>>0);if(!e.hasNameForId(this.componentId,o)){var s=n(i,".".concat(o),void 0,this.componentId);e.insertRules(this.componentId,o,s)}r=tS(r,o),this.staticRulesId=o}}else{for(var a=tr(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var h=tE(t2(u,t,e,n));a=tr(a,h),l+=h}}if(l){var d=te(a>>>0);e.hasNameForId(this.componentId,d)||e.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=tS(r,d)}}return r},t}(),t8=o.createContext(void 0);t8.Consumer;var t6={};function t9(t,e,n){var i,s,a,l,c=tx(t),u=!to(t),h=e.attrs,d=void 0===h?G:h,f=e.componentId,p=void 0===f?(i=e.displayName,s=e.parentComponentId,t6[a="string"!=typeof i?"sc":J(i)]=(t6[a]||0)+1,l="".concat(a,"-").concat(te(ti("6.0.0-rc.1"+a+t6[a])>>>0)),s?"".concat(s,"-").concat(l):l):f,m=e.displayName,g=void 0===m?to(t)?"styled.".concat(t):"Styled(".concat(t.displayName||t.name||"Component",")"):m,y=e.displayName&&e.componentId?"".concat(J(e.displayName),"-").concat(e.componentId):e.componentId||p,v=c&&t.attrs?t.attrs.concat(d).filter(
33Boolean):d,b=e.shouldForwardProp;if(c&&t.shouldForwardProp){var w=t.shouldForwardProp;if(e.shouldForwardProp){var x=e.shouldForwardProp;b=function(t,e){return w(t,e)&&x(t,e)}}else b=w}var S=new t4(n,y,c?t.componentStyle:void 0),E=S.isStatic&&0===d.length;function j(t,e){return function(t,e,n,i){var s,a,l=t.attrs,c=t.componentStyle,u=t.defaultProps,h=t.foldedComponentIds,d=t.styledComponentId,f=t.target,p=(0,o.useContext)(t8),m=tK(),g=t.shouldForwardProp||m.shouldForwardProp,y=function(t,e,n){for(var i,o=r(r({},e),{className:void 0,theme:n}),s=0;s<t.length;s+=1){var a=tw(i=t[s])?i(o):i;for(var l in a)o[l]="className"===l?tS(o[l],a[l]):"style"===l?r(r({},o[l]),a[l]):a[l]}return e.className&&(o.className=tS(o.className,e.className)),o}(l,e,(void 0===(s=u)&&(s=Y),e.theme!==s.theme&&e.theme||p||s.theme||Y)),v=y.as||f,b={};for(var w in y)void 0===y[w]||"$"===w[0]||"as"===w||"theme"===w||("forwardedAs"===w?b.as=y.forwardedAs:g&&!g(w,v)||(b[w]=y[w]));var x=(a=tK(),c.generateAndInjectStyles(i?Y:y,a.styleSheet,a.stylis)),S=tS(h,d);return x&&(S+=" "+x),y.className&&(S+=" "+y.className),b[to(v)&&!X.has(v)?"class":"className"]=S,b.ref=n,(0,o.createElement)(v,b)}(k,t,e,E)}j.displayName=g;var k=o.forwardRef(j);return k.attrs=v,k.componentStyle=S,k.displayName=g,k.shouldForwardProp=b,k.foldedComponentIds=c?tS(t.foldedComponentIds,t.styledComponentId):"",k.styledComponentId=y,k.target=c?t.target:t,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=c?function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++)(function t(e,n,r){if(void 0===r&&(r=!1),!r&&!tj(e)&&!Array.isArray(e))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)e[i]=t(e[i],n[i]);else if(tj(n))for(var i in n)e[i]=t(e[i],n[i]);return e})(t,e[r],!0);return t}({},t.defaultProps,e):e}}),Object.defineProperty(k,"toString",{value:function(){return".".concat(k.styledComponentId)}}),u&&function t(e,n,r){if("string"!=typeof n){if(tb){var i=tv(n);i&&i!==tb&&t(e,i,r)}var o=tm(n);tg&&(o=o.concat(tg(n)));for(var s=tf(e),a=tf(n),l=0;l<o.length;++l){var c=o[l];if(!(c in tu||r&&r[c]||a&&c in a||s&&c in s)){var u=ty(n,c);try{tp(e,c,u)}catch(t){}}}}return e}(k,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function t7(t,e){for(var n=[t[0]],r=0,i=e.length;r<i;r+=1)n.push(e[r],t[r+1]);return n}var et=function(t){return Object.assign(t,{isCss:!0})};function ee(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return tw(t)||tj(t)?et(t2(t7(G,i([t],e,!0)))):0===e.length&&1===t.length&&"string"==typeof t[0]?t2(t):et(t2(t7(t,e)))}var en=function(t){return function t(e,n,o){if(void 0===o&&(o=Y),!n)throw tk(1,n);var s=function(t){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];return e(n,o,ee.apply(void 0,i([t],r,!1)))};return s.attrs=function(i){return t(e,n,r(r({},o),{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},s.withConfig=function(i){return t(e,n,r(r({},o),i))},s}(t9,t)},er=en;X.forEach(function(t){er[t]=en(t)}),function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=t5(t),tz.registerId(this.componentId+1)}t.prototype.createStyles=function(t,e,n,r){var i=r(tE(t2(this.rules,e,n,r)),""),o=this.componentId+t;n.insertRules(o,o,i)},t.prototype.removeStyles=function(t,e){e.clearRules(this.componentId+t)},t.prototype.renderStyles=function(t,e,n,r){t>2&&tz.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)}}(),function(){function t(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString(),r=n.nc,i=tE([r&&'nonce="'.concat(r,'"'),"".concat(H,'="true"'),"".concat("data-styled-version",'="').concat("6.0.0-rc.1",'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(e,"</style>")},this.getStyleTags=function(){if(t.sealed)throw tk(2);return t._emitSheetCSS()}
33,this.getStyleElement=function(){if(t.sealed)throw tk(2);var e,i=((e={})[H]="",e["data-styled-version"]="6.0.0-rc.1",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),s=n.nc;return s&&(i.nonce=s),[o.createElement("style",r({},i,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new tz({isServer:!0}),this.sealed=!1}t.prototype.collectStyles=function(t){if(this.sealed)throw tk(2);return o.createElement(tZ,{sheet:this.instance},t)},t.prototype.interleaveWithNodeStream=function(t){throw tk(3)}}()},6257:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.YouTubeEmbed=e.GoogleMapsEmbed=e.GoogleAnalytics=void 0;var r=n(3494);Object.defineProperty(e,"GoogleAnalytics",{enumerable:!0,get:function(){return r.GoogleAnalytics}});var i=n(4248);Object.defineProperty(e,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var o=n(2239);Object.defineProperty(e,"YouTubeEmbed",{enumerable:!0,get:function(){return o.YouTubeEmbed}})},3494:function(t,e,n){"use strict";var r=this&&this.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GoogleAnalytics=void 0;let o=i(n(9426)),s=n(7058);e.GoogleAnalytics=t=>{var e=r(t,[]);return(0,s.formatData)(o.default,e)}},4248:function(t,e,n){"use strict";var r=this&&this.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GoogleMapsEmbed=void 0;let o=i(n(7395)),s=n(7058);e.GoogleMapsEmbed=t=>{var e=r(t,[]);return(0,s.formatData)(o.default,e)}},2239:function(t,e,n){"use strict";var r=this&&this.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.YouTubeEmbed=void 0;let o=i(n(8420)),s=n(7058);e.YouTubeEmbed=t=>{var e=r(t,[]);return(0,s.formatData)(o.default,e)}},7058:function(t,e){"use strict";function n(t,e,n=!1){return e?Object.keys(t).filter(t=>n?!e.includes(t):e.includes(t)).reduce((e,n)=>(e[n]=t[n],e),{}):{}}function r(t,e,n,r){let i=r&&Object.keys(r).length>0?new URL(Object.values(r)[0],t):new URL(t);return e&&n&&e.forEach(t=>{n[t]&&i.searchParams.set(t,n[t])}),i.toString()}function i(t,e,n,i,o){var s;if(!e)return`<${t}></${t}>`;let a=(null===(s=e.src)||void 0===s?void 0:s.url)?Object.assign(Object.assign({},e),{src:r(e.src.url,e.src.params,i,o)}):e,l=Object.keys(Object.assign(Object.assign({},a),n)).reduce((t,e)=>{let r=null==n?void 0:n[e],i=a[e],o=null!=r?r:i,s=!0===o?e:`${e}="${o}"`;return o?t+` ${s}`:t},"");return`<${t}${l}></${t}>`}Object.defineProperty(e,"__esModule",{value:!0}),e.formatData=e.createHtml=e.formatUrl=void 0,e.formatUrl=r,e.createHtml=i,e.formatData=function(t,e){var o,s,a,l,c;let u=null===(o=t.scripts)||void 0===o?void 0:o.reduce((t,e)=>[...t,...Array.isArray(e.params)?e.params:[]],[]),h=n(e,u),d=n(e,null===(a=null===(s=t.html)||void 0===s?void 0:s.attributes.src)||void 0===a?void 0:a.params),f=n(e,[null===(c=null===(l=t.html)||void 0===l?void 0:l.attributes.src)||void 0===c?void 0:c.slugParam]),p=n(e,[...Object.keys(h),...Object.keys(d),...Object.keys(f)],!0);return Object.assign(Object.assign({},t),{html:t.html?i(t.html.element,t.html.attributes,p,d,f):null,scripts:t.scripts?t.scripts.map(t=>Object.assign(Object.assign({},t),{url:r(t.url,t.params,h)})):null})}},655:function(t,e,n){"use strict";n.r(e),n.d(e,{__assign:function(){return o},__asyncDelegator:function(){return w},__asyncGenerator:function(){return b},__asyncValues:function(){return x},__await:function(){return v},__awaiter:function(){return u},__classPrivateFieldGet:function(){return k},__classPrivateFieldSet:function(){return A},__createBinding:function(){return d},__decorate:function(){return a},__exportStar:function(){return f},__extends:function(){return i},__generator:function(){return h},__importDefault:function(){return j},__importStar:function(){return E}
33,__makeTemplateObject:function(){return S},__metadata:function(){return c},__param:function(){return l},__read:function(){return m},__rest:function(){return s},__spread:function(){return g},__spreadArrays:function(){return y},__values:function(){return p}});/*! *****************************************************************************
34Copyright (c) Microsoft Corporation.
35
36Permission to use, copy, modify, and/or distribute this software for any
37purpose with or without fee is hereby granted.
38
39THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45PERFORMANCE OF THIS SOFTWARE.
46***************************************************************************** */var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function a(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{l(r.next(t))}catch(t){o(t)}}function a(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(s,a)}l((r=r.apply(t,e||[])).next())})}function h(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function d(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}function f(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}function p(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function y(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function v(t){return this instanceof v?(this.v=t,this):new v(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||a(t,e)})})}function a(t,e){try{var n;(n=i[t](e)).value instanceof v?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(t){u(o[0][3],t)}}function l(t){a("next",t)}function c(t){a("throw",t)}function u(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function w(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:v(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function x(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(e=t[n](e)).done,e.value)})}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function E(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function j(t){return t&&t.__esModule?t:{default:t}}function k(t,e){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return e.get(t)}function A(t,e,n){if(!e.has(t))throw TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},9428:function(t,e,n){"use strict";
46Object.defineProperty(e,"__esModule",{value:!0});var r=n(8440);e.useDebounce=r.default;var i=n(3443);e.useDebouncedCallback=i.default;var o=n(8523);e.useThrottledCallback=o.default},8440:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7294),i=n(3443);function o(t,e){return t===e}function s(t){return"function"==typeof t?function(){return t}:t}e.default=function(t,e,n){var a,l,c,u=n&&n.equalityFn||o,h=(l=(a=r.useState(s(t)))[0],c=a[1],[l,r.useCallback(function(t){return c(s(t))},[])]),d=h[0],f=h[1],p=i.default(r.useCallback(function(t){return f(t)},[f]),e,n),m=r.useRef(t);return r.useEffect(function(){u(m.current,t)||(p(t),m.current=t)},[t,p,u]),[d,{cancel:p.cancel,isPending:p.isPending,flush:p.flush}]}},3443:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7294);e.default=function(t,e,n){var i=this,o=r.useRef(null),s=r.useRef(0),a=r.useRef(null),l=r.useRef([]),c=r.useRef(),u=r.useRef(),h=r.useRef(t),d=r.useRef(!0);h.current=t;var f=!e&&0!==e&&"undefined"!=typeof window;if("function"!=typeof t)throw TypeError("Expected a function");e=+e||0;var p=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,y=g?Math.max(+n.maxWait||0,e):null;return r.useEffect(function(){return d.current=!0,function(){d.current=!1}},[]),r.useMemo(function(){var t=function(t){var e=l.current,n=c.current;return l.current=c.current=null,s.current=t,u.current=h.current.apply(n,e)},n=function(t,e){f&&cancelAnimationFrame(a.current),a.current=f?requestAnimationFrame(t):setTimeout(t,e)},r=function(t){if(!d.current)return!1;var n=t-o.current,r=t-s.current;return!o.current||n>=e||n<0||g&&r>=y},v=function(e){return(a.current=null,m&&l.current)?t(e):(l.current=c.current=null,u.current)},b=function(){var t=Date.now();if(r(t))return v(t);if(d.current){var i=t-o.current,a=t-s.current,l=e-i;n(b,g?Math.min(l,y-a):l)}},w=function(){for(var h=[],f=0;f<arguments.length;f++)h[f]=arguments[f];var m=Date.now(),y=r(m);if(l.current=h,c.current=i,o.current=m,y){if(!a.current&&d.current)return s.current=o.current,n(b,e),p?t(o.current):u.current;if(g)return n(b,e),t(o.current)}return a.current||n(b,e),u.current};return w.cancel=function(){a.current&&(f?cancelAnimationFrame(a.current):clearTimeout(a.current)),s.current=0,l.current=o.current=c.current=a.current=null},w.isPending=function(){return!!a.current},w.flush=function(){return a.current?v(Date.now()):u.current},w},[p,g,e,y,m,f])}},8523:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3443);e.default=function(t,e,n){var i=void 0===n?{}:n,o=i.leading,s=i.trailing;return r.default(t,e,{maxWait:e,leading:void 0===o||o,trailing:void 0===s||s})}},6388:function(t,e,n){"use strict";n.r(e);var r=n(7294);e.default=function(t){void 0===t&&(t={});var e=(0,r.useRef)(null),n=t.onResize,i=(0,r.useRef)(void 0);i.current=n;var o=(0,r.useRef)(),s=t.ref||e,a=(0,r.useState)({width:void 0,height:void 0}),l=a[0],c=a[1],u=(0,r.useRef)({width:void 0,height:void 0});return(0,r.useEffect)(function(){o.current||(o.current=new ResizeObserver(function(t){if(Array.isArray(t)&&t.length){var e=t[0],n=Math.round(e.contentRect.width),r=Math.round(e.contentRect.height);if(u.current.width!==n||u.current.height!==r){var o={width:n,height:r};i.current?i.current(o):(u.current.width=n,u.current.height=r,c(o))}}}))},[]),(0,r.useEffect)(function(){if("object"==typeof s&&null!==s&&s.current instanceof Element){var t=s.current;return o.current.observe(t),function(){return o.current.unobserve(t)}}},[s]),(0,r.useMemo)(function(){return{ref:s,width:l.width,height:l.height}},[s,l?l.width:null,l?l.height:null])}},5678:function(t,e,n){"use strict";n.d(e,{OR:function(){return i},Yz:function(){return o},LI:function(){return a},iP:function(){return l}});var r=n(7294),i=function(t,e,n,i){let o=(0,r.useRef)(e);a(()=>{o.current=e},[e]),(0,r.useEffect)(()=>{var e;let r=null!==(e=null==n?void 0:n.current)&&void 0!==e?e:window;if(!(r&&r.addEventListener))return;let s=t=>o.current(t);return r.addEventListener(t,s,i),()=>{r.removeEventListener(t,s,i)}},[t,n,i])},o=function(t,e){let n=(0,r.useRef)(t);a(()=>{n.current=t},[t]),(0,r.useEffect)(()=>
46{if(!e&&0!==e)return;let t=setInterval(()=>n.current(),e);return()=>clearInterval(t)},[e])};let s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;var a=s,l=function(){let[t,e]=(0,r.useState)({width:0,height:0}),n=()=>{e({width:window.innerWidth,height:window.innerHeight})};return i("resize",n),a(()=>{n()},[]),t}},2729:function(t,e,n){"use strict";function r(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,{_:function(){return r}})},6154:function(t,e,n){"use strict";let r;function i(t,e){return function(){return t.apply(e,arguments)}}n.d(e,{Z:function(){return tW}});let{toString:o}=Object.prototype,{getPrototypeOf:s}=Object,a=(N=Object.create(null),t=>{let e=o.call(t);return N[e]||(N[e]=e.slice(8,-1).toLowerCase())}),l=t=>(t=t.toLowerCase(),e=>a(e)===t),c=t=>e=>typeof e===t,{isArray:u}=Array,h=c("undefined"),d=l("ArrayBuffer"),f=c("string"),p=c("function"),m=c("number"),g=t=>null!==t&&"object"==typeof t,y=t=>{if("object"!==a(t))return!1;let e=s(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},v=l("Date"),b=l("File"),w=l("Blob"),x=l("FileList"),S=l("URLSearchParams");function E(t,e,{allOwnKeys:n=!1}={}){let r,i;if(null!=t){if("object"!=typeof t&&(t=[t]),u(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{let i;let o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;for(r=0;r<s;r++)i=o[r],e.call(null,t[i],i,t)}}}function j(t,e){let n;e=e.toLowerCase();let r=Object.keys(t),i=r.length;for(;i-- >0;)if(e===(n=r[i]).toLowerCase())return n;return null}let k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,A=t=>!h(t)&&t!==k,T=(I="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>I&&t instanceof I),P=l("HTMLFormElement"),O=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),C=l("RegExp"),R=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),r={};E(n,(n,i)=>{!1!==e(n,i,t)&&(r[i]=n)}),Object.defineProperties(t,r)},_="abcdefghijklmnopqrstuvwxyz",M="0123456789",L={DIGIT:M,ALPHA:_,ALPHA_DIGIT:_+_.toUpperCase()+M},D=l("AsyncFunction");var N,I,B={isArray:u,isArrayBuffer:d,isBuffer:function(t){return null!==t&&!h(t)&&null!==t.constructor&&!h(t.constructor)&&p(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||p(t.append)&&("formdata"===(e=a(t))||"object"===e&&p(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:f,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:g,isPlainObject:y,isUndefined:h,isDate:v,isFile:b,isBlob:w,isRegExp:C,isFunction:p,isStream:t=>g(t)&&p(t.pipe),isURLSearchParams:S,isTypedArray:T,isFileList:x,forEach:E,merge:function t(){let{caseless:e}=A(this)&&this||{},n={},r=(r,i)=>{let o=e&&j(n,i)||i;y(n[o])&&y(r)?n[o]=t(n[o],r):y(r)?n[o]=t({},r):u(r)?n[o]=r.slice():n[o]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&E(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(E(e,(e,r)=>{n&&p(e)?t[r]=i(e,n):t[r]=e},{allOwnKeys:r}),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,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,a;let l={};if(e=e||{},null==t)return e;do{for(o=(i=Object.getOwnPropertyNames(t)).length;o-- >0;)a=i[o],(!r||r(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=!1!==n&&s(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:l,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;let r=t.indexOf(e,n);return -1!==r&&r===n},toArray:t=>{if(!t)return null;if(u(t))return t;let e=t.length;if(!m(e))return null;let n=Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{let n;let r=t&&t[Symbol.iterator],i=r.call(t);for(;(n=i.next())&&!n.done;){let r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let n;let r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:P,hasOwnProperty:O,hasOwnProp:O,reduceDescriptors:R,freezeMethods:t=>{R(t,(e,n)=>{if(p(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;let r=t[n];if(p(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(t,e)=>{let n={};return(t=>{t.forEach(t=>{n[t]=!0})})(u(t)?t:String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,n){return e.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,e)=>Number.isFinite(t=+t)?t:e,findKey:j,global:k,isContextDefined:A,ALPHABET:L,generateString:(t=16,e=L.ALPHA_DIGIT)=>{let n="",{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&p(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let e=Array(10),n=(t,r)=>{if(g(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;let i=u(t)?[]:{};return E(t,(t,e)=>{let o=n(t,r+1);
46h(o)||(i[e]=o)}),e[r]=void 0,i}}return t};return n(t,0)},isAsyncFn:D,isThenable:t=>t&&(g(t)||p(t))&&p(t.then)&&p(t.catch)};function V(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}B.inherits(V,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:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let F=V.prototype,U={};["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=>{U[t]={value:t}}),Object.defineProperties(V,U),Object.defineProperty(F,"isAxiosError",{value:!0}),V.from=(t,e,n,r,i,o)=>{let s=Object.create(F);return B.toFlatObject(t,s,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),V.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};var z=n(8764).lW;function W(t){return B.isPlainObject(t)||B.isArray(t)}function H(t){return B.endsWith(t,"[]")?t.slice(0,-2):t}function $(t,e,n){return t?t.concat(e).map(function(t,e){return t=H(t),!n&&e?"["+t+"]":t}).join(n?".":""):e}let q=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});var G=function(t,e,n){if(!B.isObject(t))throw TypeError("target must be an object");e=e||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!B.isUndefined(e[t])});let r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,l=a&&B.isSpecCompliantForm(e);if(!B.isFunction(i))throw TypeError("visitor must be a function");function c(t){if(null===t)return"";if(B.isDate(t))return t.toISOString();if(!l&&B.isBlob(t))throw new V("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(t)||B.isTypedArray(t)?l&&"function"==typeof Blob?new Blob([t]):z.from(t):t}function u(t,n,i){let a=t;if(t&&!i&&"object"==typeof t){if(B.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else{var l;if(B.isArray(t)&&(l=t,B.isArray(l)&&!l.some(W))||(B.isFileList(t)||B.endsWith(n,"[]"))&&(a=B.toArray(t)))return n=H(n),a.forEach(function(t,r){B.isUndefined(t)||null===t||e.append(!0===s?$([n],r,o):null===s?n:n+"[]",c(t))}),!1}}return!!W(t)||(e.append($(i,n,o),c(t)),!1)}let h=[],d=Object.assign(q,{defaultVisitor:u,convertValue:c,isVisitable:W});if(!B.isObject(t))throw TypeError("data must be an object");return!function t(n,r){if(!B.isUndefined(n)){if(-1!==h.indexOf(n))throw Error("Circular reference detected in "+r.join("."));h.push(n),B.forEach(n,function(n,o){let s=!(B.isUndefined(n)||null===n)&&i.call(e,n,B.isString(o)?o.trim():o,r,d);!0===s&&t(n,r?r.concat(o):[o])}),h.pop()}}(t),e};function Y(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function X(t,e){this._pairs=[],t&&G(t,this,e)}let K=X.prototype;function Z(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(t,e,n){let r;if(!e)return t;let i=n&&n.encode||Z,o=n&&n.serialize;if(r=o?o(e,n):B.isURLSearchParams(e)?e.toString():new X(e,n).toString(i)){let e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+r}return t}K.append=function(t,e){this._pairs.push([t,e])},K.toString=function(t){let e=t?function(e){return t.call(this,e,Y)}:Y;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};var Q=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(e){null!==e&&t(e)})}},tt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},te="undefined"!=typeof URLSearchParams?URLSearchParams:X,tn="undefined"!=typeof FormData?FormData:null,tr="undefined"!=typeof Blob?Blob:null;let ti=("undefined"==typeof navigator||"ReactNative"!==(r=navigator.product)&&"NativeScript"!==r&&"NS"!==r)&&"undefined"!=typeof window&&"undefined"!=typeof document,to="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;
46var ts={isBrowser:!0,classes:{URLSearchParams:te,FormData:tn,Blob:tr},isStandardBrowserEnv:ti,isStandardBrowserWebWorkerEnv:to,protocols:["http","https","file","blob","url","data"]},ta=function(t){if(B.isFormData(t)&&B.isFunction(t.entries)){let e={};return B.forEachEntry(t,(t,n)=>{!function t(e,n,r,i){let o=e[i++],s=Number.isFinite(+o),a=i>=e.length;if(o=!o&&B.isArray(r)?r.length:o,a)return B.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!s;r[o]&&B.isObject(r[o])||(r[o]=[]);let l=t(e,n,r[o],i);return l&&B.isArray(r[o])&&(r[o]=function(t){let e,n;let r={},i=Object.keys(t),o=i.length;for(e=0;e<o;e++)r[n=i[e]]=t[n];return r}(r[o])),!s}(B.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),n,e,0)}),e}return null};let tl={"Content-Type":void 0},tc={transitional:tt,adapter:["xhr","http"],transformRequest:[function(t,e){let n;let r=e.getContentType()||"",i=r.indexOf("application/json")>-1,o=B.isObject(t);o&&B.isHTMLForm(t)&&(t=new FormData(t));let s=B.isFormData(t);if(s)return i&&i?JSON.stringify(ta(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1){var a,l;return(a=t,l=this.formSerializer,G(a,new ts.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return ts.isNode&&B.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},l))).toString()}if((n=B.isFileList(t))||r.indexOf("multipart/form-data")>-1){let e=this.env&&this.env.FormData;return G(n?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||i?(e.setContentType("application/json",!1),function(t,e,n){if(B.isString(t))try{return(0,JSON.parse)(t),B.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let e=this.transitional||tc.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&B.isString(t)&&(n&&!this.responseType||r)){let n=e&&e.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!n&&r){if("SyntaxError"===t.name)throw V.from(t,V.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:ts.classes.FormData,Blob:ts.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};B.forEach(["delete","get","head"],function(t){tc.headers[t]={}}),B.forEach(["post","put","patch"],function(t){tc.headers[t]=B.merge(tl)});let tu=B.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 th=t=>{let e,n,r;let i={};return t&&t.split("\n").forEach(function(t){r=t.indexOf(":"),e=t.substring(0,r).trim().toLowerCase(),n=t.substring(r+1).trim(),!e||i[e]&&tu[e]||("set-cookie"===e?i[e]?i[e].push(n):i[e]=[n]:i[e]=i[e]?i[e]+", "+n:n)}),i};let td=Symbol("internals");function tf(t){return t&&String(t).trim().toLowerCase()}function tp(t){return!1===t||null==t?t:B.isArray(t)?t.map(tp):String(t)}let tm=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function tg(t,e,n,r,i){if(B.isFunction(r))return r.call(this,e,n);if(i&&(e=n),B.isString(e)){if(B.isString(r))return -1!==e.indexOf(r);if(B.isRegExp(r))return r.test(e)}}class ty{constructor(t){t&&this.set(t)}set(t,e,n){let r=this;function i(t,e,n){let i=tf(e);if(!i)throw Error("header name must be a non-empty string");let o=B.findKey(r,i);o&&void 0!==r[o]&&!0!==n&&(void 0!==n||!1===r[o])||(r[o||e]=tp(t))}let o=(t,e)=>B.forEach(t,(t,n)=>i(t,n,e));return B.isPlainObject(t)||t instanceof this.constructor?o(t,e):B.isString(t)&&(t=t.trim())&&!tm(t)?o(th(t),e):null!=t&&i(e,t,n),this}get(t,e){if(t=tf(t)){let n=B.findKey(this,t);if(n){let t=this[n];if(!e)return t;if(!0===e)return function(t){let e;let n=Object.create(null),r=/([^\s,;
46=]+)\s*(?:=\s*([^,;]+))?/g;for(;e=r.exec(t);)n[e[1]]=e[2];return n}(t);if(B.isFunction(e))return e.call(this,t,n);if(B.isRegExp(e))return e.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=tf(t)){let n=B.findKey(this,t);return!!(n&&void 0!==this[n]&&(!e||tg(this,this[n],n,e)))}return!1}delete(t,e){let n=this,r=!1;function i(t){if(t=tf(t)){let i=B.findKey(n,t);i&&(!e||tg(n,n[i],i,e))&&(delete n[i],r=!0)}}return B.isArray(t)?t.forEach(i):i(t),r}clear(t){let e=Object.keys(this),n=e.length,r=!1;for(;n--;){let i=e[n];(!t||tg(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){let e=this,n={};return B.forEach(this,(r,i)=>{let o=B.findKey(n,i);if(o){e[o]=tp(r),delete e[i];return}let s=t?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n):String(i).trim();s!==i&&delete e[i],e[s]=tp(r),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let e=Object.create(null);return B.forEach(this,(n,r)=>{null!=n&&!1!==n&&(e[r]=t&&B.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){let n=new this(t);return e.forEach(t=>n.set(t)),n}static accessor(t){let e=this[td]=this[td]={accessors:{}},n=e.accessors,r=this.prototype;function i(t){let e=tf(t);n[e]||(!function(t,e){let n=B.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})})}(r,t),n[e]=!0)}return B.isArray(t)?t.forEach(i):i(t),this}}function tv(t,e){let n=this||tc,r=e||n,i=ty.from(r.headers),o=r.data;return B.forEach(t,function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function tb(t){return!!(t&&t.__CANCEL__)}function tw(t,e,n){V.call(this,null==t?"canceled":t,V.ERR_CANCELED,e,n),this.name="CanceledError"}ty.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.freezeMethods(ty.prototype),B.freezeMethods(ty),B.inherits(tw,V,{__CANCEL__:!0});var tx=ts.isStandardBrowserEnv?{write:function(t,e,n,r,i,o){let s=[];s.push(t+"="+encodeURIComponent(e)),B.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),B.isString(r)&&s.push("path="+r),B.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){let e=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function tS(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t:e}var tE=ts.isStandardBrowserEnv?function(){let t;let e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){let r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){let n=B.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0},tj=function(t,e){let n;t=t||10;let r=Array(t),i=Array(t),o=0,s=0;return e=void 0!==e?e:1e3,function(a){let l=Date.now(),c=i[s];n||(n=l),r[o]=a,i[o]=l;let u=s,h=0;for(;u!==o;)h+=r[u++],u%=t;if((o=(o+1)%t)===s&&(s=(s+1)%t),l-n<e)return;let d=c&&l-c;return d?Math.round(1e3*h/d):void 0}};function tk(t,e){let n=0,r=tj(50,250);return i=>{let o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),c=o<=s;n=o;let u={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};u[e?"download":"upload"]=!0,t(u)}}let tA="undefined"!=typeof XMLHttpRequest;var tT=tA&&function(t){return new Promise(function(e,n){let r,i=t.data,o=ty.from(t.headers).normalize(),s=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(r),t.signal&&t.signal.removeEventListener("abort",r)}B.isFormData(i)&&(ts.isStandardBrowserEnv||ts.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(t.auth){let e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+n))}let c=tS(t.baseURL,t.url);function u(){if(!l)return;let r=ty.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),i=s&&"text"!==s&&"json"!==s?l.response:l.responseText,o={data:i,status:l.status,statusText:l.statusText,headers:r,config:t,request:l};!function(t,e,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new V("Request failed with status code "+n.status,[V.ERR_BAD_REQUEST,V.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}(function(t){e(t),a()},function(t){n(t),a()},o),l=null}if(l.open(t.method.toUpperCase(),J(c,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new V("Request aborted",V.ECONNABORTED,t,l)),l=null)},l.onerror=function(){n(new V("Network Error",V.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||tt;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new V(e,r.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,t,l)),l=null},ts.isStandardBrowserEnv){let e=(t.withCredentials||tE(c))&&t.xsrfCookieName&&tx.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===i&&o.setContentType(null),"setRequestHeader"in l&&B.forEach(o.toJSON(),function(t,e){l.setRequestHeader(e,t)}
46),B.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",tk(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",tk(t.onUploadProgress)),(t.cancelToken||t.signal)&&(r=e=>{l&&(n(!e||e.type?new tw(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(r),t.signal&&(t.signal.aborted?r():t.signal.addEventListener("abort",r)));let h=function(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(c);if(h&&-1===ts.protocols.indexOf(h)){n(new V("Unsupported protocol "+h+":",V.ERR_BAD_REQUEST,t));return}l.send(i||null)})};let tP={http:null,xhr:tT};B.forEach(tP,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}});var tO={getAdapter:t=>{let e,n;t=B.isArray(t)?t:[t];let{length:r}=t;for(let i=0;i<r&&(e=t[i],!(n=B.isString(e)?tP[e.toLowerCase()]:e));i++);
46if(!n){if(!1===n)throw new V(`Adapter ${e} is not supported by the environment`,"ERR_NOT_SUPPORT");throw Error(B.hasOwnProp(tP,e)?`Adapter '${e}' is not available in the build`:`Unknown adapter '${e}'`)}if(!B.isFunction(n))throw TypeError("adapter is not a function");return n},adapters:tP};function tC(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new tw(null,t)}function tR(t){tC(t),t.headers=ty.from(t.headers),t.data=tv.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);let e=tO.getAdapter(t.adapter||tc.adapter);return e(t).then(function(e){return tC(t),e.data=tv.call(t,t.transformResponse,e),e.headers=ty.from(e.headers),e},function(e){return!tb(e)&&(tC(t),e&&e.response&&(e.response.data=tv.call(t,t.transformResponse,e.response),e.response.headers=ty.from(e.response.headers))),Promise.reject(e)})}let t_=t=>t instanceof ty?t.toJSON():t;function tM(t,e){e=e||{};let n={};function r(t,e,n){return B.isPlainObject(t)&&B.isPlainObject(e)?B.merge.call({caseless:n},t,e):B.isPlainObject(e)?B.merge({},e):B.isArray(e)?e.slice():e}function i(t,e,n){return B.isUndefined(e)?B.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function o(t,e){if(!B.isUndefined(e))return r(void 0,e)}function s(t,e){return B.isUndefined(e)?B.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(n,i,o){return o in e?r(n,i):o in t?r(void 0,n):void 0}let l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>i(t_(t),t_(e),!0)};return B.forEach(Object.keys(Object.assign({},t,e)),function(r){let o=l[r]||i,s=o(t[r],e[r],r);B.isUndefined(s)&&o!==a||(n[r]=s)}),n}let tL="1.4.0",tD={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{tD[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});let tN={};tD.transitional=function(t,e,n){function r(t,e){return"[Axios v"+tL+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new V(r(i," has been removed"+(e?" in "+e:"")),V.ERR_DEPRECATED);return e&&!tN[i]&&(tN[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};var tI={assertOptions:function(t,e,n){if("object"!=typeof t)throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let r=Object.keys(t),i=r.length;for(;i-- >0;){let o=r[i],s=e[o];if(s){let e=t[o],n=void 0===e||s(e,o,t);if(!0!==n)throw new V("option "+o+" must be "+n,V.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new V("Unknown option "+o,V.ERR_BAD_OPTION)}},validators:tD};let tB=tI.validators;class tV{constructor(t){this.defaults=t,this.interceptors={request:new Q,response:new Q}}request(t,e){let n,r,i;"string"==typeof t?(e=e||{}).url=t:e=t||{},e=tM(this.defaults,e);let{transitional:o,paramsSerializer:s,headers:a}=e;void 0!==o&&tI.assertOptions(o,{silentJSONParsing:tB.transitional(tB.boolean),forcedJSONParsing:tB.transitional(tB.boolean),clarifyTimeoutError:tB.transitional(tB.boolean)},!1),null!=s&&(B.isFunction(s)?e.paramsSerializer={serialize:s}:tI.assertOptions(s,{encode:tB.function,serialize:tB.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase(),(n=a&&B.merge(a.common,a[e.method]))&&B.forEach(["delete","get","head","post","put","patch","common"],t=>{delete a[t]}),e.headers=ty.concat(n,a);let l=[],c=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(e))&&(c=c&&t.synchronous,l.unshift(t.fulfilled,t.rejected))});let u=[];this.interceptors.response.forEach(function(t){u.push(t.fulfilled,t.rejected)});let h=0;if(!c){let t=[tR.bind(this),void 0];for(t.unshift.apply(t,l),t.push.apply(t,u),i=t.length,r=Promise.resolve(e);h<i;)r=r.then(t[h++],t[h++]);return r}i=l.length;let d=e;for(h=0;h<i;){let t=l[h++],e=l[h++];try{d=t(d)}catch(t){e.call(this,t);break}}try{r=tR.call(this,d)}catch(t){return Promise.reject(t)}for(h=0,i=u.length;h<i;)r=r.then(u[h++],u[h++]);return r}getUri(t){t=tM(this.defaults,t);let e=tS(t.baseURL,t.url);return J(e,t.params,t.paramsSerializer)}}
46B.forEach(["delete","get","head","options"],function(t){tV.prototype[t]=function(e,n){return this.request(tM(n||{},{method:t,url:e,data:(n||{}).data}))}}),B.forEach(["post","put","patch"],function(t){function e(e){return function(n,r,i){return this.request(tM(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}tV.prototype[t]=e(),tV.prototype[t+"Form"]=e(!0)});class tF{constructor(t){let e;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){e=t});let n=this;this.promise.then(t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null}),this.promise.then=t=>{let e;let r=new Promise(t=>{n.subscribe(t),e=t}).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t(function(t,r,i){n.reason||(n.reason=new tw(t,r,i),e(n.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 e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;let e=new tF(function(e){t=e});return{token:e,cancel:t}}}let tU={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
46alContent: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(tU).forEach(([t,e])=>{tU[e]=t});let tz=function t(e){let n=new tV(e),r=i(tV.prototype.request,n);return B.extend(r,tV.prototype,n,{allOwnKeys:!0}),B.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(tM(e,n))},r}(tc);tz.Axios=tV,tz.CanceledError=tw,tz.CancelToken=tF,tz.isCancel=tb,tz.VERSION=tL,tz.toFormData=G,tz.AxiosError=V,tz.Cancel=tz.CanceledError,tz.all=function(t){return Promise.all(t)},tz.spread=function(t){return function(e){return t.apply(null,e)}},tz.isAxiosError=function(t){return B.isObject(t)&&!0===t.isAxiosError},tz.mergeConfig=tM,tz.AxiosHeaders=ty,tz.formToJSON=t=>ta(B.isHTMLForm(t)?new FormData(t):t),tz.HttpStatusCode=tU,tz.default=tz;var tW=tz},9426:function(t){"use strict";t.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},7395:function(t){"use strict";t.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},8420:function(t){"use strict";t.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[9774,179],function(){return e(6840),e(6885)}),_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.