1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1994],{15608:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.JumplistButton=void 0;var l=a(r(86159)),u=r(93685);t.JumplistButton=function(e){var t=e.htmlElement,r=e.children,i=e.direction,o=e.onClick,a=s(e,["htmlElement","children","direction","onClick"]),c=(0,u.useJumplist)(),f=c.scrollToID,d=c.jumplist,p=c.activeJumplistIndex,h=(0,l.useCallback)(function(e){if(void 0!==p){if("prev"===i){var t=d[p-1];t&&f(t.nodeID)}if("next"===i){var r=d[p+1];r&&f(r.nodeID)}}"function"==typeof o&&o(e)},[i,f,o,d,p]);return l.default.createElement(void 0===t?"button":t,n({type:"button"},a,{onClick:h}),r&&r)}},82601:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.JumplistNode=void 0;
1var u=a(r(86159)),c=r(93685),f=l(r(72988));t.JumplistNode=function(e){var t=e.nodeID,r=e.htmlElement,i=e.children,o=s(e,["nodeID","htmlElement","children"]),a=(0,c.useJumplist)(),l=a.syncJumplistItem,d=a.rootMargin,p=a.threshold,h=a.scrollTarget,m=a.clearScrollTarget,g=(0,u.useRef)(null),y=(0,f.default)(g,{rootMargin:d,threshold:p}).isIntersecting;return(0,u.useEffect)(function(){l({nodeID:t,isIntersecting:y})},[y,l,t]),(0,u.useEffect)(function(){if(void 0!==h&&h===t){var e=g.current;e&&(e.scrollIntoView(),m())}},[h,t,m]),u.default.createElement(void 0===r?"div":r,n({},o,{ref:g}),i&&i)}},72988:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(86159);t.default=function(e,t){var r=t||{},i=r.root,o=r.rootMargin,a=r.threshold,s=(0,n.useState)({}),l=s[0],u=s[1];return(0,n.useEffect)(function(){var t,r=e.current;return r&&(t=new IntersectionObserver(function(e){e.forEach(function(e){u(e)})},{root:(null==i?void 0:i.current)||null,rootMargin:o||"0px",threshold:a||0})).observe(r),function(){t&&r&&t.unobserve(r)}},[e,i,o,a]),l}},93685:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JumplistContext=t.useJumplist=void 0;var n=r(86159);t.useJumplist=function(){return(0,n.useContext)(t.JumplistContext)},t.JumplistContext=(0,n.createContext)({}),t.default=t.JumplistContext},73235:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.JumplistProvider=void 0;var l=a(r(86159)),u=s(r(93685)),c=r(57619);t.JumplistProvider=function(e){var t=e.children,r=e.classPrefix,i=e.nodes,o=e.rootMargin,a=e.threshold,s=e.smoothScroll,f=(0,l.useReducer)(c.jumplistReducer,[]),d=f[0],p=f[1],h=(0,l.useState)(),m=h[0],g=h[1],y=(0,l.useState)(),v=y[0],b=y[1],w=(0,l.useState)(),E=w[0],x=w[1];(0,l.useEffect)(function(){d&&g(d.findIndex(function(e){return e.isIntersecting}))},[d]),(0,l.useEffect)(function(){void 0!==m&&m>-1&&b(m)},[m]);var S=(0,l.useCallback)(function(e){p({type:"sync",payload:e})},[]),T=(0,l.useCallback)(function(e){p({type:"remove",payload:{nodeID:e}})},[]),O=(0,l.useCallback)(function(e){p({type:"reset",payload:e})},[]),P=(0,l.useCallback)(function(){p({type:"clear"})},[]);(0,l.useEffect)(function(){i&&O(i)},[i,O]);var A=(0,l.useCallback)(function(){x(void 0)},[]);(0,l.useEffect)(function(){return s?document.documentElement.style.scrollBehavior="smooth":document.documentElement.style.removeProperty("scroll-behavior"),function(){document.documentElement.style.removeProperty("scroll-behavior")}},[s]);var C={classPrefix:r,jumplist:d,syncJumplistItem:S,removeJumplistItem:T,setJumplist:O,currentJumplistIndex:m,activeJumplistIndex:v,setActiveJumplistIndex:b,clearJumplist:P,rootMargin:o,threshold:a,scrollTarget:E,scrollToID:(0,l.useCallback)(function(e){x(e)},[]),clearScrollTarget:A};return l.default.createElement(u.default.Provider,{value:C},t&&("function"==typeof t?t(n({},C)):t))}},57619:function(e,t){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},n=this&&this.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};
1Object.defineProperty(t,"__esModule",{value:!0}),t.jumplistReducer=void 0,t.jumplistReducer=function(e,t){var i=n([],e||[],!0);switch(t.type){case"clear":i=[];break;case"reset":i=t.payload;break;case"sync":var o=t.payload.nodeID,a=i.findIndex(function(e){return e.nodeID===o});if(a>-1){var s=i[a];i.splice(a,1,r(r({},s),t.payload))}break;case"remove":var l=t.payload.nodeID,a=i.findIndex(function(e){return e.nodeID===l}),s=a>-1;s&&(i=i.splice(a,1))}return i}},74257:function(e,t,r){"use strict";t.Zk=t.Av=t.B=t.oU=void 0;var n=r(93685);Object.defineProperty(t,"oU",{enumerable:!0,get:function(){return n.useJumplist}});var i=r(82601);Object.defineProperty(t,"B",{enumerable:!0,get:function(){return i.JumplistNode}});var o=r(73235);Object.defineProperty(t,"Av",{enumerable:!0,get:function(){return o.JumplistProvider}});var a=r(15608);Object.defineProperty(t,"Zk",{enumerable:!0,get:function(){return a.JumplistButton}})},91394:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(r(86159)),l=a(r(40466));t.default=function(e){var t=e.children,r=(0,l.default)();return t?"function"==typeof t?s.default.createElement(s.Fragment,null,t(r)):s.default.createElement(s.Fragment,null,t):null}},43414:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(0,r(86159).createContext)({});t.default=n},46527:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(r(86159)),u=s(r(43414)),c=function(e,t){var r=t.e,n=t.timestamp;t.animationRef.current=null;var i=e.x,o=e.y,a=e.xDirection,s=e.yDirection,l=e.eventsFired,u=(null==r?void 0:r.clientX)||0,c=(null==r?void 0:r.clientY)||0,f=u-i,d=c-o,p=u/window.innerWidth*100,h=c/window.innerHeight*100;return{x:u,y:c,xDifference:f,yDifference:d,xDirection:f>0?"right":f<0?"left":a,yDirection:d>0?"down":d<0?"up":s,xPercentage:p,yPercentage:h,totalPercentage:(p+h)/2,eventsFired:n?l+1:l}};t.default=function(e){var t=e.children,r=(0,l.useRef)(null),i=(0,l.useReducer)(c,{x:0,y:0,xDifference:0,yDifference:0,xDirection:void 0,yDirection:void 0,xPercentage:0,yPercentage:0,totalPercentage:0,eventsFired:0}),o=i[0],a=i[1],s=(0,l.useState)(void 0),f=s[0],d=s[1],p=(0,l.useCallback)(function(e){r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(function(t){a({e:e,timestamp:t,animationRef:r})})},[]),h=(0,l.useCallback)(function(e){d(!!e)},[]);return(0,l.useEffect)(function(){return document.addEventListener("mousemove",p),document.addEventListener("mouseenter",function(){return h(!0)}),document.addEventListener("mouseleave",function(){return h(!1)}),function(){document.removeEventListener("mousemove",p),document.removeEventListener("mouseenter",function(){return h}),document.removeEventListener("mouseleave",function(){return h})}},[p,h]),l.default.createElement(u.default.Provider,{value:n(n({},o),{isInViewport:f})},t&&t)}},84209:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withMouseInfo=t.useMouseInfo=t.MouseInfoProvider=t.MouseInfoContext=t.MouseInfo=void 0;var i=r(91394);Object.defineProperty(t,"MouseInfo",{enumerable:!0,get:function(){return n(i).default}});var o=r(43414);Object.defineProperty(t,"MouseInfoContext",{enumerable:!0,get:function(){return n(o).default}});var a=r(46527);Object.defineProperty(t,"MouseInfoProvider",{enumerable:!0,get:function(){return n(a).default}});var s=r(40466);Object.defineProperty(t,"useMouseInfo",{enumerable:!0,get:function(){return n(s).default}});var l=r(16532);Object.defineProperty(t,"withMouseInfo",{enumerable:!0,get:function(){return n(l).default}})},40466:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(86159),o=n(r(43414));t.default=function(){return(0,i.useContext)(o.default)}},16532:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(r(86159)),a=i(r(40466));t.default=function(e){return function(t){var r=(0,a.default)();return o.default.createElement(e,n({},n(n({},t),{mouseInfo:r})))}}},72483:function(e,t,r){"use strict";r.d(t,{Ry:function(){return u}});var n=new WeakMap,i=new WeakMap,o={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,r,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[r]||(o[r]=new WeakMap);var c=o[r],f=[],d=new Set,p=new Set(u),h=function(e){!e||d.has(e)||(d.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))m(e);else try{var t=e.getAttribute(l),o=null!==t&&"false"!==t,a=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,a),c.set(e,s),f.push(e),1===a&&o&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),o||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),d.clear(),a++,function(){f.forEach(function(e){var t=n.get(e)-1,o=c.get(e)-1;n.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),o||e.removeAttribute(r)}),--a||(n=new WeakMap,n=new WeakMap,i=new WeakMap,o={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),l(n,i,r,"aria-hidden")):function(){return null}}},82844:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)o.push(r[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},71254:function(e,t,r){"use strict";/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */var n=r(82844),i=r(72058),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>
62147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|h(e,t),n=a(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){var t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return s.from(n,t,r);var i=function(e){if(s.isBuffer(e)){var t,r=0|p(e.length),n=a(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|p(e))}function f(e){for(var t=e.length<0?0:0|p(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(i)return n?-1:P(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){var i,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=M[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=t,o=r,0===i&&o===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}
vendor: 14,466 bytes, line 6
6else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var f=!0,d=0;d<l;d++)if(u(e,o+d)!==u(t,d)){f=!1;break}if(f)return o}return -1}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function x(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,n,o){return t=+t,r>>>=0,o||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,o){return t=+t,r>>>=0,o||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(j(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(j(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(j(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,l=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),f=0;f<l;++f)if(u[f]!==c[f]){o=u[f],a=c[f];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,f,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[r+a]=s}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,C(P(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,C(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,u=r,C(A(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,C(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;
6if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var O=/[^+/0-9A-Za-z-_]/g;function P(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function A(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function C(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function j(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var M=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},61447:function(e,t,r){"use strict";var n=r(69931),i=r(55619),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},55619:function(e,t,r){"use strict";var n=r(98921),i=r(69931),o=r(91010),a=r(96825),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||n.call(l,s),c=r(35876),f=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(n,l,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var d=function(){return u(n,s,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},52131:function(e,t,r){"use strict";var n=r(35876),i=r(96018),o=r(96825),a=r(19974);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&f?f.configurable:!u,enumerable:null===s&&f?f.enumerable:!s,value:r,writable:null===l&&f?f.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},35876:function(e,t,r){"use strict";var n=r(69931)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},1437:function(e){"use strict";e.exports=EvalError},37879:function(e){"use strict";e.exports=Error},12833:function(e){"use strict";e.exports=RangeError},60027:function(e){"use strict";e.exports=ReferenceError},96018:function(e){"use strict";e.exports=SyntaxError},96825:function(e){"use strict";e.exports=TypeError},47057:function(e){"use strict";e.exports=URIError},8934:function(e,t,r){var n;n=function(){"use strict";var e=Function.prototype.toString,t=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getPrototypeOf,l=Object.prototype,u=l.hasOwnProperty,c=l.propertyIsEnumerable,f="function"==typeof a,d="function"==typeof WeakMap,p=function(){if(d)return function(){return new WeakMap};var e=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}();return function(){return new e}}(),h=function(r,n){var i=r.__proto__||s(r);if(!i)return t(null);var o=i.constructor;if(o===n.Object)return i===n.Object.prototype?{}:t(i);if(~e.call(o).indexOf("[native code]"))try{return new o}catch(e){}return t(i)},m=function(e,t,r,n){var i=h(e,t);for(var o in n.set(e,i),e)u.call(e,o)&&(i[o]=r(e[o],n));if(f)for(var s=a(e),l=0,d=s.length,p=void 0;l<d;++l)p=s[l],c.call(e,p)&&(i[p]=r(e[p],n));return i},g=function(e,t,r,s){var l=h(e,t);s.set(e,l);for(var u=f?o(e).concat(a(e)):o(e),c=0,d=u.length,p=void 0,m=void 0;c<d;++c)if("callee"!==(p=u[c])&&"caller"!==p){if(m=i(e,p)){m.get||m.set||(m.value=r(e[p],s));try{n(l,p,m)}catch(e){l[p]=m.value}}else l[p]=r(e[p],s)}return l},y=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},v=Array.isArray,b=Object.getPrototypeOf,w=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function E(e,t){var r=!!(t&&t.isStrict),n=t&&t.realm||w,i=r?g:m,o=function(e,t){if(!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);
6var a,s=e.__proto__||b(e),l=s&&s.constructor;if(!l||l===n.Object)return i(e,n,o,t);if(v(e)){if(r)return g(e,n,o,t);a=new l,t.set(e,a);for(var u=0,c=e.length;u<c;++u)a[u]=o(e[u],t);return a}if(e instanceof n.Date)return new l(e.getTime());if(e instanceof n.RegExp)return(a=new l(e.source,e.flags||y(e))).lastIndex=e.lastIndex,a;if(n.Map&&e instanceof n.Map)return a=new l,t.set(e,a),e.forEach(function(e,r){a.set(r,o(e,t))}),a;if(n.Set&&e instanceof n.Set)return a=new l,t.set(e,a),e.forEach(function(e){a.add(o(e,t))}),a;if(n.Blob&&e instanceof n.Blob)return e.slice(0,e.size,e.type);if(n.Buffer&&n.Buffer.isBuffer(e))return a=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(e.length):new l(e.length),t.set(e,a),e.copy(a),a;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(e))return a=new l(e.buffer.slice(0)),t.set(e,a),a;if(e instanceof n.ArrayBuffer)return a=e.slice(0),t.set(e,a),a}return"function"==typeof e.then||e instanceof Error||n.WeakMap&&e instanceof n.WeakMap||n.WeakSet&&e instanceof n.WeakSet?e:i(e,n,o,t)};return o(e,p())}return E.default=E,E.strict=function(e,t){return E(e,{isStrict:!0,realm:t?t.realm:void 0})},E},e.exports=n()},65992:function(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],r.get(i[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(t[i]!==r[i])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;0!=i--;){var n,i,o,a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],r[a]))return!1}return!0}return t!=t&&r!=r}},89163:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},o=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=r(0,s.length-l.length),c=[],f=0;f<u;f++)c[f]="$"+f;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var d=function(){};d.prototype=s.prototype,a.prototype=new d,d.prototype=null}return a}},98921:function(e,t,r){"use strict";var n=r(89163);e.exports=Function.prototype.bind||n},69931:function(e,t,r){"use strict";var n,i=r(37879),o=r(1437),a=r(12833),s=r(60027),l=r(96018),u=r(96825),c=r(47057),f=Function,d=function(e){try{return f('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var h=function(){throw new u},m=p?function(){try{return arguments.callee,h}catch(e){try{return p(arguments,"callee").get}catch(e){return h}}}():h,g=r(83219)(),y=r(97434)(),v=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},w="undefined"!=typeof Uint8Array&&v?v(Uint8Array):n,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
6IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&v?v(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&v?v(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(v)try{null.error}catch(e){var x=v(v(e));E["%Error.prototype%"]=x}var S=function e(t){var r;if("%AsyncFunction%"===t)r=d("async function () {}");else if("%GeneratorFunction%"===t)r=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=d("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&v&&(r=v(i.prototype))}return E[t]=r,r},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},O=r(98921),P=r(26837),A=O.call(Function.call,Array.prototype.concat),C=O.call(Function.apply,Array.prototype.splice),j=O.call(Function.call,String.prototype.replace),M=O.call(Function.call,String.prototype.slice),k=O.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(e){var t=M(e,0,1),r=M(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,L,function(e,t,r,i){n[n.length]=r?j(i,_,"$1"):t||e}),n},I=function(e,t){var r,n=e;if(P(T,n)&&(n="%"+(r=T[n])[0]+"%"),P(E,n)){var i=E[n];if(i===b&&(i=S(n)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=R(e),n=r.length>0?r[0]:"",i=I("%"+n+"%",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(n=c[0],C(r,A([0,1],c)));for(var f=1,d=!0;f<r.length;f+=1){var h=r[f],m=M(h,0,1),g=M(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&d||(s=!0),n+="."+h,P(E,o="%"+n+"%"))a=E[o];
6else if(null!=a){if(!(h in a)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&f+1>=r.length){var y=p(a,h);a=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[h]}else d=P(a,h),a=a[h];d&&!s&&(E[o]=a)}}return a}},19974:function(e,t,r){"use strict";var n=r(69931)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},2570:function(e,t,r){"use strict";r.d(t,{X:function(){return eC}});/*! 7 * paths 3.12.5 8 * https://gsap.com 9 * 10 * Copyright 2008-2024, GreenSock. All rights reserved. 11 * Subject to the terms at https://gsap.com/standard-license or for 12 * Club GSAP members, the agreement issued with that membership. 13 * @author: Jack Doyle, [email protected] 14*/var n=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,i=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,o=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,a=/(^[#\.][a-z]|[a-y][a-z])/i,s=Math.PI/180,l=180/Math.PI,u=Math.sin,c=Math.cos,f=Math.abs,d=Math.sqrt,p=Math.atan2,h=function(e){return"string"==typeof e},m=function(e){return"number"==typeof e},g={},y={},v=function(e){return Math.round((e+1e8)%1*1e5)/1e5||(e<0?0:1)},b=function(e){return Math.round(1e5*e)/1e5||0},w=function(e){return Math.round(1e10*e)/1e10||0},E=function(e,t,r,n){var i=e[t],o=1===n?6:_(i,r,n);if((o||!n)&&o+r+2<i.length)return e.splice(t,0,i.slice(0,r+o+2)),i.splice(0,r+o),1},x=function(e,t,r){var n=e.length,i=~~(r*n);if(e[i]>t){for(;--i&&e[i]>t;);i<0&&(i=0)}else for(;e[++i]<t&&i<n;);return i<n?i:n-1},S=function(e,t){var r=e.length;for(t||e.reverse();r--;)e[r].reversed||function(e){var t,r=0;for(e.reverse();r<e.length;r+=2)t=e[r],e[r]=e[r+1],e[r+1]=t;e.reversed=!e.reversed}(e[r])},T=function(e,t){return t.totalLength=e.totalLength,e.samples?(t.samples=e.samples.slice(0),t.lookup=e.lookup.slice(0),t.minLength=e.minLength,t.resolution=e.resolution):e.totalPoints&&(t.totalPoints=e.totalPoints),t},O=function(e,t){var r=e.length,n=e[r-1]||[],i=n.length;r&&t[0]===n[i-2]&&t[1]===n[i-1]&&(t=n.concat(t.slice(2)),r--),e[r]=t};function P(e){var t,r=(e=h(e)&&a.test(e)&&document.querySelector(e)||e).getAttribute?e:0;return r&&(e=e.getAttribute("d"))?(r._gsPath||(r._gsPath={}),(t=r._gsPath[e])&&!t._dirty?t:r._gsPath[e]=N(e)):e?h(e)?N(e):m(e[0])?[e]:e:console.warn("Expecting a <path> element or an SVG path data string")}var A=function(e,t){var r,n=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(e.attributes),o=i.length;for(t=","+t+",";--o>-1;)r=i[o].nodeName.toLowerCase(),0>t.indexOf(","+r+",")&&n.setAttributeNS(null,r,i[o].nodeValue);return n},C={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},j=function(e,t){for(var r=t?t.split(","):[],n={},i=r.length;--i>-1;)n[r[i]]=+e.getAttribute(r[i])||0;return n};function M(e,t,r){var n,i=e[t],o=e[t+2],a=e[t+4];return i+=(o-i)*r,o+=(a-o)*r,i+=(o-i)*r,n=o+(a+(e[t+6]-a)*r-o)*r-i,i=e[t+1],o=e[t+3],a=e[t+5],i+=(o-i)*r,o+=(a-o)*r,i+=(o-i)*r,b(p(o+(a+(e[t+7]-a)*r-o)*r-i,n)*l)}function k(e,t,r){var n=Math.max(0,~~(f((r=void 0===r?1:w(r)||0)-(t=w(t)||0))-1e-8)),i=function(e){for(var t=[],r=0;r<e.length;r++)t[r]=T(e[r],e[r].slice(0));return T(e,t)}(e);if(t>r&&(t=1-t,r=1-r,S(i),i.totalLength=0),t<0||r<0){var o=Math.abs(~~Math.min(t,r))+1;t+=o,r+=o}i.totalLength||L(i);var a,s,l,u,c,d,p,h,m=r>1,v=R(i,t,g,!0),b=R(i,r,y),x=b.segment,P=v.segment,A=b.segIndex,C=v.segIndex,j=b.i,k=v.i,I=C===A,D=j===k&&I;if(m||n){for(a=A<C||I&&j<k||D&&b.t<v.t,E(i,C,k,v.t)&&(C++,!a&&(A++,D?(b.t=(b.t-v.t)/(1-v.t),j=0):I&&(j-=k))),1e-5>Math.abs(1-(r-t))?A=C-1:!b.t&&A?A--:E(i,A,j,b.t)&&a&&C++,1===v.t&&(C=(C+1)%i.length),c=[],p=1+(d=i.length)*n,h=C,p+=(d-C+A)%d,u=0;u<p;u++)O(c,i[h++%d]);i=c}else if(l=1===b.t?6:_(x,j,b.t),t!==r)for(s=_(P,k,D?v.t/b.t:v.t),I&&(l+=s),x.splice(j+l+2),(s||k)&&P.splice(0,k+s),u=i.length;u--;)(u<C||u>A)&&i.splice(u,1);else x.angle=M(x,j+l,0),j+=l,v=x[j],b=x[j+1],x.length=x.totalLength=0,x.totalPoints=i.totalPoints=8,x.push(v,b,v,b,v,b,v,b);return i.totalLength=0,i}function L(e,t){var r,n,i;for(i=r=n=0;i<e.length;i++)e[i].resolution=~~t||12,n+=e[i].length,r+=function(e,t,r){t=t||0,e.samples||(e.samples=[],e.lookup=[]);var n,i,o,a,s,l,u,c,p,h,m,g,y,v,b,w,E,x=~~e.resolution||12,S=1/x,T=e.length,O=e[t],P=e[t+1],A=t?t/6*x:0,C=e.samples,j=e.lookup,M=(t?e.minLength:1e8)||1e8,k=C[A+(void 0)*x-1],L=t?C[A-1]:0;for(C.length=j.length=0,i=t+2;i<T;i+=6){if(o=e[i+4]-O,a=e[i+2]-O,s=e[i]-O,c=e[i+5]-P,p=e[i+3]-P,h=e[i+1]-P,l=u=m=g=0,.01>f(o)&&.01>f(c)&&f(s)+f(h)<.01)e.length>8&&(e.splice(i,6),i-=6,T-=6);else for(n=1;n<=x;n++)y=1-(v=S*n),l=u-(u=(v*v*o+3*y*(v*a+y*s))*v),(w=d((m=g-(g=(v*v*c+3*y*(v*p+y*h))*v))*m+l*l))<M&&(M=w),L+=w,C[A++]=L;O+=o,P+=c}if(k)for(k-=L;A<C.length;A++)C[A]+=k;if(C.length&&M){if(e.totalLength=E=C[C.length-1]||0,e.minLength=M,E/M<9999)for(n=0,w=b=0;n<E;n+=M)j[w++]=C[b]<n?++b:b}else e.totalLength=C[0]=0;return t?L-C[t/2-1]:L}(e[i]);return e.totalPoints=n,e.totalLength=r,e}function _(e,t,r){if(r<=0||r>=1)return 0;var n=e[t],i=e[t+1],o=e[t+2],a=e[t+3],s=e[t+4],l=e[t+5],u=e[t+6],c=e[t+7],f=n+(o-n)*r,d=o+(s-o)*r,p=i+(a-i)*r,h=a+(l-a)*r,m=f+(d-f)*r,g=p+(h-p)*r,y=s+(u-s)*r,v=l+(c-l)*r;return d+=(y-d)*r,h+=(v-h)*r,e.splice(t+2,4,b(f),b(p),b(m),b(g),b(m+(d-m)*r),b(g+(h-g)*r),b(d),b(h),b(y),b(v)),e.samples&&e.samples.splice(t/6*e.resolution|0,0,0,0,0,0,0,0),6}function R(e,t,r,n){r=r||{},e.totalLength||L(e),(t<0||t>1)&&(t=v(t));var i,o,a,s,l,u,c,f=0,d=e[0];if(t){if(1===t)c=1,f=e.length-1,u=(d=e[f]).length-8;else{if(e.length>1){for(a=e.totalLength*t,l=u=0;(l+=e[u++].totalLength)<a;)f=u;t=(a-(s=l-(d=e[f]).totalLength))/(l-s)||0}i=d.samples,o=d.resolution,a=d.totalLength*t,s=(u=d.lookup.length?d.lookup[~~(a/d.minLength)]||0:x(i,a,t))?i[u-1]:0,(l=i[u])<a&&(s=l,l=i[++u]),c=1/o*((a-s)/(l-s)+u%o),u=6*~~(u/o),n&&1===c&&(u+6<d.length?(u+=6,c=0):f+1<e.length&&(u=c=0,d=e[++f]))}}else c=u=f=0,d=e[0];return r.t=c,r.i=u,r.path=e,r.segment=d,r.segIndex=f,r}function I(e,t,r,n){var i,o,a,s,l,u,c,f,d,p=e[0],h=n||{};if((t<0||t>1)&&(t=v(t)),p.lookup||L(e),e.length>1){for(a=e.totalLength*t,l=u=0;(l+=e[u++].totalLength)<a;)p=e[u];t=(a-(s=l-p.totalLength))/(l-s)||0}return i=p.samples,o=p.resolution,a=p.totalLength*t,s=(u=p.lookup.length?p.lookup[t<1?~~(a/p.minLength):p.lookup.length-1]||0:x(i,a,t))?i[u-1]:0,(l=i[u])<a&&(s=l,l=i[++u]),d=1-(c=1/o*((a-s)/(l-s)+u%o)||0),f=p[u=6*~~(u/o)],h.x=b((c*c*(p[u
14+6]-f)+3*d*(c*(p[u+4]-f)+d*(p[u+2]-f)))*c+f),h.y=b((c*c*(p[u+7]-(f=p[u+1]))+3*d*(c*(p[u+5]-f)+d*(p[u+3]-f)))*c+f),r&&(h.angle=p.totalLength?M(p,u,c>=1?1-1e-9:c||1e-9):p.angle||0),h}function D(e,t,r,n,i,o,a){for(var s,l,u,c,f,d=e.length;--d>-1;)for(u=0,l=(s=e[d]).length;u<l;u+=2)c=s[u],f=s[u+1],s[u]=c*t+f*n+o,s[u+1]=c*r+f*i+a;return e._dirty=1,e}function N(e){var t,r,i,a,l,p,h,m,g,y,v,b,w,E,x,S=(e+"").replace(o,function(e){var t=+e;return t<1e-4&&t>-.0001?0:t}).match(n)||[],T=[],O=0,P=0,A=2/3,C=S.length,j=0,M="ERROR: malformed path: "+e,k=function(e,t,r,n){y=(r-e)/3,v=(n-t)/3,h.push(e+y,t+v,r-y,n-v,r,n)};if(!e||!isNaN(S[0])||isNaN(S[1]))return console.log(M),T;for(t=0;t<C;t++)if(w=l,isNaN(S[t])?p=(l=S[t].toUpperCase())!==S[t]:t--,i=+S[t+1],a=+S[t+2],p&&(i+=O,a+=P),t||(m=i,g=a),"M"===l)h&&(h.length<8?T.length-=1:j+=h.length),O=m=i,P=g=a,h=[i,a],T.push(h),t+=2,l="L";else if("C"===l)h||(h=[0,0]),p||(O=P=0),h.push(i,a,O+1*S[t+3],P+1*S[t+4],O+=1*S[t+5],P+=1*S[t+6]),t+=6;else if("S"===l)y=O,v=P,("C"===w||"S"===w)&&(y+=O-h[h.length-4],v+=P-h[h.length-3]),p||(O=P=0),h.push(y,v,i,a,O+=1*S[t+3],P+=1*S[t+4]),t+=4;else if("Q"===l)y=O+(i-O)*A,v=P+(a-P)*A,p||(O=P=0),O+=1*S[t+3],P+=1*S[t+4],h.push(y,v,O+(i-O)*A,P+(a-P)*A,O,P),t+=4;else if("T"===l)y=O-h[h.length-4],v=P-h[h.length-3],h.push(O+y,P+v,i+(O+1.5*y-i)*A,a+(P+1.5*v-a)*A,O=i,P=a),t+=2;else if("H"===l)k(O,P,O=i,P),t+=1;else if("V"===l)k(O,P,O,P=i+(p?P-O:0)),t+=1;else if("L"===l||"Z"===l)"Z"===l&&(i=m,a=g,h.closed=!0),("L"===l||f(O-i)>.5||f(P-a)>.5)&&(k(O,P,i,a),"L"===l&&(t+=2)),O=i,P=a;else if("A"===l){if(E=S[t+4],x=S[t+5],y=S[t+6],v=S[t+7],r=7,E.length>1&&(E.length<3?(v=y,y=x,r--):(v=x,y=E.substr(2),r-=2),x=E.charAt(1),E=E.charAt(0)),b=function(e,t,r,n,i,o,a,l,p){if(e!==l||t!==p){r=f(r),n=f(n);var h=i%360*s,m=c(h),g=u(h),y=Math.PI,v=2*y,b=(e-l)/2,w=(t-p)/2,E=m*b+g*w,x=-g*b+m*w,S=E*E,T=x*x,O=S/(r*r)+T/(n*n);O>1&&(r=d(O)*r,n=d(O)*n);var P=r*r,A=n*n,C=(P*A-P*T-A*S)/(P*T+A*S);C<0&&(C=0);var j=(o===a?-1:1)*d(C),M=r*x/n*j,k=-(n*E/r*j),L=(e+l)/2+(m*M-g*k),_=(t+p)/2+(g*M+m*k),R=(E-M)/r,I=(x-k)/n,D=(-E-M)/r,N=(-x-k)/n,F=R*R+I*I,B=(I<0?-1:1)*Math.acos(R/d(F)),z=(R*N-I*D<0?-1:1)*Math.acos((R*D+I*N)/d(F*(D*D+N*N)));isNaN(z)&&(z=y),!a&&z>0?z-=v:a&&z<0&&(z+=v),B%=v;var U,$=Math.ceil(f(z%=v)/(v/4)),V=[],W=z/$,H=4/3*u(W/2)/(1+c(W/2)),q=m*r,G=g*r,Y=-(g*n),X=m*n;for(U=0;U<$;U++)E=c(i=B+U*W),x=u(i),R=c(i+=W),I=u(i),V.push(E-H*x,x+H*E,R+H*I,I-H*R,R,I);for(U=0;U<V.length;U+=2)E=V[U],x=V[U+1],V[U]=E*q+x*Y+L,V[U+1]=E*G+x*X+_;return V[U-2]=l,V[U-1]=p,V}}(O,P,+S[t+1],+S[t+2],+S[t+3],+E,+x,(p?O:0)+1*y,(p?P:0)+1*v),t+=r,b)for(r=0;r<b.length;r++)h.push(b[r]);O=h[h.length-2],P=h[h.length-1]}else console.log(M);return(t=h.length)<6?(T.pop(),t=0):h[0]===h[t-2]&&h[1]===h[t-1]&&(h.closed=!0),T.totalPoints=j+t,T}function F(e,t){1e-4>f(e[0]-e[2])&&1e-4>f(e[1]-e[3])&&(e=e.slice(2));var r,n,i,o,a,s,l,u,c,p,h,m,g,y,v,w=e.length-2,E=+e[0],x=+e[1],S=+e[2],T=+e[3],O=[E,x,E,x],P=S-E,A=T-x,C=.001>Math.abs(e[w]-E)&&.001>Math.abs(e[w+1]-x);for(C&&(e.push(S,T),S=E,T=x,E=e[w-2],x=e[w-1],e.unshift(E,x),w+=4),t=t||0===t?+t:1,i=2;i<w;i+=2)r=E,n=x,E=S,x=T,S=+e[i+2],T=+e[i+3],(E!==S||x!==T)&&(o=P,a=A,P=S-E,A=T-x,s=d(o*o+a*a),l=d(P*P+A*A),u=d(Math.pow(P/l+o/s,2)+Math.pow(A/l+a/s,2)),c=(s+l)*t*.25/u,p=E-(E-r)*(s?c/s:0),h=E+(S-E)*(l?c/l:0),m=E-(p+((h-p)*(3*s/(s+l)+.5)/4||0)),g=x-(x-n)*(s?c/s:0),y=x+(T-x)*(l?c/l:0),v=x-(g+((y-g)*(3*s/(s+l)+.5)/4||0)),(E!==r||x!==n)&&O.push(b(p+m),b(g+v),b(E),b(x),b(h+m),b(y+v)));return E!==S||x!==T||O.length<4?O.push(b(S),b(T),b(S),b(T)):O.length-=2,2===O.length?O.push(E,x,E,x,E,x):C&&(O.splice(0,6),O.length=O.length-6),O}function B(e){m(e[0])&&(e=[e]);var t,r,n,i,o="",a=e.length;for(r=0;r<a;r++){for(o+="M"+b((i=e[r])[0])+","+b(i[1])+" C",t=i.length,n=2;n<t;n++)o+=b(i[n++])+","+b(i[n++])+" "+b(i[n++])+","+b(i[n++])+" "+b(i[n++])+","+b(i[n])+" ";i.closed&&(o+="z")}return o}/*! 15 * matrix 3.12.5 16 * https://gsap.com 17 * 18 * Copyright 2008-2024, GreenSock. All rights reserved. 19 * Subject to the terms at https://gsap.com/standard-license or for 20 * Club GSAP members, the agreement issued with that membership. 21 * @author: Jack Doyle, [email protected] 22*/var z,U,$,V,W,H,q,G,Y,X="transform",K=X+"Origin",J=function(e){var t=e.ownerDocument||e;
22for(!(X in e.style)&&("msTransform"in e.style)&&(K=(X="msTransform")+"Origin");t.parentNode&&(t=t.parentNode););if(U=window,q=new es,t){z=t,$=t.documentElement,V=t.body,(G=z.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var r=t.createElement("div"),n=t.createElement("div"),i=t&&(t.body||t.firstElementChild);i&&i.appendChild&&(i.appendChild(r),r.appendChild(n),r.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),Y=n.offsetParent!==r,i.removeChild(r))}return t},Z=function(e){for(var t,r;e&&e!==V;)(r=e._gsap)&&r.uncache&&r.get(e,"x"),r&&!r.scaleX&&!r.scaleY&&r.renderTransform&&(r.scaleX=r.scaleY=1e-4,r.renderTransform(1,r),t?t.push(r):t=[r]),e=e.parentNode;return t},Q=[],ee=[],et=function(e){return e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null)},er=function e(t,r){if(t.parentNode&&(z||J(t))){var n=et(t),i=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=n?r?"rect":"g":"div",a=2!==r?0:100,s=3===r?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",u=z.createElementNS?z.createElementNS(i.replace(/^https/,"http"),o):z.createElement(o);return r&&(n?(H||(H=e(t)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+a+","+s+")"),H.appendChild(u)):(W||((W=e(t)).style.cssText=l),u.style.cssText=l+"width:0.1px;height:0.1px;top:"+s+"px;left:"+a+"px",W.appendChild(u))),u}throw"Need document and parent."},en=function(e){for(var t=new es,r=0;r<e.numberOfItems;
vendor: 6,100 bytes, lines 22-30
22r++)t.multiply(e.getItem(r).matrix);return t},ei=function(e){var t,r=e.getCTM();return r||(t=e.style[X],e.style[X]="none",e.appendChild(G),r=G.getCTM(),e.removeChild(G),t?e.style[X]=t:e.style.removeProperty(X.replace(/([A-Z])/g,"-$1").toLowerCase())),r||q.clone()},eo=function(e,t){var r,n,i,o,a,s,l=et(e),u=e===l,c=l?Q:ee,f=e.parentNode;if(e===U)return e;if(c.length||c.push(er(e,1),er(e,2),er(e,3)),r=l?H:W,l)u?(o=-(i=ei(e)).e/i.a,a=-i.f/i.d,n=q):e.getBBox?(i=e.getBBox(),o=(n=(n=e.transform?e.transform.baseVal:{}).numberOfItems?n.numberOfItems>1?en(n):n.getItem(0).matrix:q).a*i.x+n.c*i.y,a=n.b*i.x+n.d*i.y):(n=new es,o=a=0),t&&"g"===e.tagName.toLowerCase()&&(o=a=0),(u?l:f).appendChild(r),r.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+o)+","+(n.f+a)+")");else{if(o=a=0,Y)for(n=e.offsetParent,i=e;i&&(i=i.parentNode)&&i!==n&&i.parentNode;)(U.getComputedStyle(i)[X]+"").length>4&&(o=i.offsetLeft,a=i.offsetTop,i=0);if("absolute"!==(s=U.getComputedStyle(e)).position&&"fixed"!==s.position)for(n=e.offsetParent;f&&f!==n;)o+=f.scrollLeft||0,a+=f.scrollTop||0,f=f.parentNode;(i=r.style).top=e.offsetTop-a+"px",i.left=e.offsetLeft-o+"px",i[X]=s[X],i[K]=s[K],i.position="fixed"===s.position?"fixed":"absolute",e.parentNode.appendChild(r)}return r},ea=function(e,t,r,n,i,o,a){return e.a=t,e.b=r,e.c=n,e.d=i,e.e=o,e.f=a,e},es=function(){function e(e,t,r,n,i,o){void 0===e&&(e=1),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=1),void 0===i&&(i=0),void 0===o&&(o=0),ea(this,e,t,r,n,i,o)}var t=e.prototype;return t.inverse=function(){var e=this.a,t=this.b,r=this.c,n=this.d,i=this.e,o=this.f,a=e*n-t*r||1e-10;return ea(this,n/a,-t/a,-r/a,e/a,(r*o-n*i)/a,-(e*o-t*i)/a)},t.multiply=function(e){var t=this.a,r=this.b,n=this.c,i=this.d,o=this.e,a=this.f,s=e.a,l=e.c,u=e.b,c=e.d,f=e.e,d=e.f;return ea(this,s*t+u*n,s*r+u*i,l*t+c*n,l*r+c*i,o+f*t+d*n,a+f*r+d*i)},t.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},t.equals=function(e){var t=this.a,r=this.b,n=this.c,i=this.d,o=this.e,a=this.f;return t===e.a&&r===e.b&&n===e.c&&i===e.d&&o===e.e&&a===e.f},t.apply=function(e,t){void 0===t&&(t={});var r=e.x,n=e.y,i=this.a,o=this.b,a=this.c,s=this.d,l=this.e,u=this.f;return t.x=r*i+n*a+l||0,t.y=r*o+n*s+u||0,t},e}();function el(e,t,r,n){if(!e||!e.parentNode||(z||J(e)).documentElement===e)return new es;var i=Z(e),o=et(e)?Q:ee,a=eo(e,r),s=o[0].getBoundingClientRect(),l=o[1].getBoundingClientRect(),u=o[2].getBoundingClientRect(),c=a.parentNode,f=!n&&function e(t){return"fixed"===U.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?e(t):void 0)}(e),d=new es((l.left-s.left)/100,(l.top-s.top)/100,(u.left-s.left)/100,(u.top-s.top)/100,s.left+(f?0:U.pageXOffset||z.scrollLeft||$.scrollLeft||V.scrollLeft||0),s.top+(f?0:U.pageYOffset||z.scrollTop||$.scrollTop||V.scrollTop||0));if(c.removeChild(a),i)for(s=i.length;s--;)(l=i[s]).scaleX=l.scaleY=0,l.renderTransform(1,l);return t?d.inverse():d}/*! 23 * MotionPathPlugin 3.12.5 24 * https://gsap.com 25 * 26 * @license Copyright 2008-2024, GreenSock. All rights reserved. 27 * Subject to the terms at https://gsap.com/standard-license or for 28 * Club GSAP members, the agreement issued with that membership. 29 * @author: Jack Doyle, [email protected] 30*/var eu,ec,ef,ed,ep,eh,em="x,translateX,left,marginLeft,xPercent".split(","),eg="y,translateY,top,marginTop,yPercent".split(","),ey=Math.PI/180,ev=function(e,t,r,n){for(var i=t.length,o=2===n?0:n,a=0;a<i;a++)e[o]=parseFloat(t[a][r]),2===n&&(e[o+1]=0),o+=2;return e},eb=function(e,t,r){return parseFloat(e._gsap.get(e,t,r||"px"))||0},ew=function(e){var t,r=e[0],n=e[1];for(t=2;t<e.length;t+=2)r=e[t]+=r,n=e[t+1]+=n},eE=function(e,t,r,n,i,o,a,s,l){return"cubic"===a.type?t=[t]:(!1!==a.fromCurrent&&t.unshift(eb(r,n,s),i?eb(r,i,l):0),a.relative&&ew(t),t=[(i?F:function(e,t){void 0===t&&(t=1);for(var r=e[0],n=0,i=[r,0],o=2;o<e.length;o+=2)i.push(r,n,e[o],n=(e[o]-r)*t/2,r=e[o],-n);return i})(t,a.curviness)]),t=o(eP(t,r,a)),eA(e,r,n,t,"x",s),i&&eA(e,r,i,t,"y",l),L(t,a.resolution||(0===a.curviness?20:12))},ex=function(e){return e},eS=/[-+\.]*\d+\.?(?:e-|e\+)?\d*/g,eT=function(e,t,r){var n,i=el(e),o=0,a=0;return"svg"===(e.tagName+"").toLowerCase()?(n=e.viewBox.baseVal).width||(n={width:+e.getAttribute("width"),height:+e.getAttribute("height")}):n=t&&e.getBBox&&e.getBBox(),t&&"auto"!==t&&(o=t.push?t[0]*(n?n.width:e.offsetWidth||0):t.x,a=t.push?t[1]*(n?n.height:e.offsetHeight||0):t.y),r.apply(o||a?i.apply({x:o,y:a}):{x:i.e,y:i.f})},eO=function(e,t,r,n){var i,o=el(e.parentNode,!0,!0),a=o.clone().multiply(el(t)),s=eT(e,r,o),l=eT(t,n,o),u=l.x,c=l.y;return a.e=a.f=0,"auto"===n&&t.getTotalLength&&"path"===t.tagName.toLowerCase()&&(i=t.getAttribute("d").match(eS)||[],u+=(i=a.apply({x:+i[0],y:+i[1]})).x,c+=i.y),i&&(u-=(i=a.apply(t.getBBox())).x,c-=i.y),a.e=u-s.x,a.f=c-s.y,a},eP=function(e,t,r){var n,i,o,a=r.align,s=r.matrix,l=r.offsetX,u=r.offsetY,c=r.alignOrigin,f=e[0][0],d=e[0][1],p=eb(t,"x"),h=eb(t,"y");return e&&e.length?(a&&("self"===a||(n=ed(a)[0]||t)===t?D(e,1,0,0,1,p-f,h-d):(c&&!1!==c[2]?eu.set(t,{transformOrigin:100*c[0]+"% "+100*c[1]+"%"}):c=[-(eb(t,"xPercent")/100),-(eb(t,"yPercent")/100)],o=(i=eO(t,n,c,"auto")).apply({x:f,y:d}),D(e,i.a,i.b,i.c,i.d,p+i.e-(o.x-i.e),h+i.f-(o.y-i.f)))),s?D(e,s.a,s.b,s.c,s.d,s.e,s.f):(l||u)&&D(e,1,0,0,1,l||0,u||0),e):P("M0,0L0,0")},eA=function(e,t,r,n,i,o){var a=t._gsap,s=a.harness,l=s&&s.aliases&&s.aliases[r],u=l&&0>l.indexOf(",")?l:r,c=e._pt=new ec(e._pt,t,u,0,0,ex,0,a.set(t,u,e));c.u=ef(a.get(t,u,o))||0,c.path=n,c.pp=i,e._props.push(u)},eC={version:"3.12.5",name:"motionPath",register:function(e,t,r){ef=(eu=e).utils.getUnit,ed=eu.utils.toArray,ep=eu.core.getStyleSaver,eh=eu.core.reverting||function(){},ec=r},init:function(e,t,r){if(!eu)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof t&&!t.style&&t.path||(t={path:t});var n,i,o,a,s=[],l=t,u=l.path,c=l.autoRotate,f=l.unitX,d=l.unitY,p=l.x,h=l.y,m=u[0],g=(n=t.start,i="end"in t?t.end:1,function(e){return n||1!==i?k(e,n,i):e});if(this.rawPaths=s,this.target=e,this.tween=r,this.styles=ep&&ep(e,"transform"),
30(this.rotate=c||0===c)&&(this.rOffset=parseFloat(c)||0,this.radians=!!t.useRadians,this.rProp=t.rotation||"rotation",this.rSet=e._gsap.set(e,this.rProp,this),this.ru=ef(e._gsap.get(e,this.rProp))||0),!Array.isArray(u)||"closed"in u||"number"==typeof m)L(o=g(eP(P(t.path),e,t)),t.resolution),s.push(o),eA(this,e,t.x||"x",o,"x",t.unitX||"px"),eA(this,e,t.y||"y",o,"y",t.unitY||"px");else{for(a in m)!p&&~em.indexOf(a)?p=a:!h&&~eg.indexOf(a)&&(h=a);for(a in p&&h?s.push(eE(this,ev(ev([],u,p,0),u,h,1),e,p,h,g,t,f||ef(u[0][p]),d||ef(u[0][h]))):p=h=0,m)a!==p&&a!==h&&s.push(eE(this,ev([],u,a,2),e,a,0,g,t,ef(u[0][a])))}},render:function(e,t){var r=t.rawPaths,n=r.length,i=t._pt;if(t.tween._time||!eh()){for(e>1?e=1:e<0&&(e=0);n--;)I(r[n],e,!n&&t.rotate,r[n]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,e),i=i._next;t.rotate&&t.rSet(t.target,t.rProp,r[0].angle*(t.radians?ey:1)+t.rOffset+t.ru,t,e)}else t.styles.revert()},getLength:function(e){return L(P(e)).totalLength},sliceRawPath:k,getRawPath:P,pointsToSegment:F,stringToRawPath:N,rawPathToString:B,transformRawPath:D,getGlobalMatrix:el,getPositionOnPath:I,cacheRawPathMeasurements:L,convertToPath:function(e,t){return ed(e).map(function(e){var r,n,o,a,s,l,u,c,f,d,p,h,m,g,y,v,b,w,E,x,S,T,O,P;return r=!1!==t,"path"!==(P=e.tagName.toLowerCase())&&e.getBBox?(u=A(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),O=j(e,C[P]),"rect"===P?(s=O.rx,l=O.ry||s,o=O.x,a=O.y,p=O.width-2*s,h=O.height-2*l,s||l?(m=o+.44771525016900005*s,v=(y=(g=o+s)+p)+.552284749831*s,b=y+s,w=a+.44771525016900005*l,S=(x=(E=a+l)+h)+.552284749831*l,T=x+l,n="M"+b+","+E+" V"+x+" C"+[b,S,v,T,y,T,y-(y-g)/3,T,g+(y-g)/3,T,g,T,m,T,o,S,o,x,o,x-(x-E)/3,o,E+(x-E)/3,o,E,o,w,m,a,g,a,g+(y-g)/3,a,y-(y-g)/3,a,y,a,v,a,b,w,b,E].join(",")+"z"):n="M"+(o+p)+","+a+" v"+h+" h"+-p+" v"+-h+" h"+p+"z"):"circle"===P||"ellipse"===P?("circle"===P?f=.552284749831*(s=l=O.r):(s=O.rx,f=.552284749831*(l=O.ry)),o=O.cx,a=O.cy,c=.552284749831*s,n="M"+(o+s)+","+a+" C"+[o+s,a+f,o+c,a+l,o,a+l,o-c,a+l,o-s,a+f,o-s,a,o-s,a-f,o-c,a-l,o,a-l,o+c,a-l,o+s,a-f,o+s,a].join(",")+"z"):"line"===P?n="M"+O.x1+","+O.y1+" L"+O.x2+","+O.y2:("polyline"===P||"polygon"===P)&&(n="M"+(o=(d=(e.getAttribute("points")+"").match(i)||[]).shift())+","+(a=d.shift())+" L"+d.join(","),"polygon"===P&&(n+=","+o+","+a+"z")),u.setAttribute("d",B(u._gsRawPath=N(n))),r&&e.parentNode&&(e.parentNode.insertBefore(u,e),e.parentNode.removeChild(e)),u):e})},convertCoordinates:function(e,t,r){var n=el(t,!0,!0).multiply(el(e));return r?n.apply(r):n},getAlignMatrix:eO,getRelativePosition:function(e,t,r,n){var i=eO(e,t,r,n);return{x:i.e,y:i.f}},arrayToRawPath:function(e,t){var r=ev(ev([],e,(t=t||{}).x||"x",0),e,t.y||"y",1);return t.relative&&ew(r),["cubic"===t.type?r:F(r,t.curviness)]}};(eu||"undefined"!=typeof window&&(eu=window.gsap)&&eu.registerPlugin&&eu)&&eu.registerPlugin(eC)},10833:function(e,t,r){"use strict";var n=r(35876),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},97434:function(e){"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof r)}},83219:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(88467);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},88467:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},26837:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(98921);e.exports=o.call(n,i)},72058:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?i-1:0,d=r?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=u}return(p?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,d=23===i?5960464477539062e-23:0,p=n?0:o-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+f>=1?t+=d/l:t+=d*Math.pow(2,1-f),t*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+p]=255&a,p+=h,a/=256,u-=8);e[r+p-h]|=128*m}},9842:function(e,t){(e.exports=function(e,t,n,i){return JSON.stringify(e,r(t,i),n)}).getSerialize=r;function r(e,t){var r=[],n=[];
30return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(i,o){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,i):n.push(i),~r.indexOf(o)&&(o=t.call(this,i,o))}else r.push(o);return null==e?o:e.call(this,i,o)}}},71779:function(e,t,r){var n=r(22577).Symbol;e.exports=n},20364:function(e,t,r){var n=r(71779),i=r(62015),o=r(26752),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},68857:function(e,t,r){var n=r(69325),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},90058:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},4662:function(e,t,r){var n=r(49066)(Object.getPrototypeOf,Object);e.exports=n},62015:function(e,t,r){var n=r(71779),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},26752:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},49066:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},22577:function(e,t,r){var n=r(90058),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},69325:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},42405:function(e,t,r){var n=r(48252),i=r(40311),o=r(54970),a=Math.max,s=Math.min;e.exports=function(e,t,r){var l,u,c,f,d,p,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var r=l,n=u;return l=u=void 0,h=t,f=e.apply(n,r)}function b(e){var r=e-p,n=e-h;return void 0===p||r>=t||r<0||g&&n>=c}function w(){var e,r,n,o=i();if(b(o))return E(o);d=setTimeout(w,(e=o-p,r=o-h,n=t-e,g?s(n,c-r):n))}function E(e){return(d=void 0,y&&l)?v(e):(l=u=void 0,f)}function x(){var e,r=i(),n=b(r);if(l=arguments,u=this,p=r,n){if(void 0===d)return h=e=p,d=setTimeout(w,t),m?v(e):f;if(g)return clearTimeout(d),d=setTimeout(w,t),v(p)}return void 0===d&&(d=setTimeout(w,t)),f}return t=o(t)||0,n(r)&&(m=!!r.leading,c=(g="maxWait"in r)?a(o(r.maxWait)||0,t):c,y="trailing"in r?!!r.trailing:y),x.cancel=function(){void 0!==d&&clearTimeout(d),h=0,l=p=u=d=void 0},x.flush=function(){return void 0===d?f:E(i())},x}},79723:function(e){var t=Array.isArray;e.exports=t},48252:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},69506:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},16998:function(e,t,r){var n=r(20364),i=r(4662),o=r(69506),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==u}},2348:function(e,t,r){var n=r(20364),i=r(79723),o=r(69506);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},91506:function(e,t,r){var n=r(20364),i=r(69506);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},40311:function(e,t,r){var n=r(22577);e.exports=function(){return n.Date.now()}},54970:function(e,t,r){var n=r(68857),i=r(48252),o=r(91506),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=l.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):s.test(e)?a:+e}},9980:function(){},82040:function(e,t,r){var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,T=Array.prototype.join,O=Array.prototype.slice,P=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M?"object":"symbol")?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,_=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-P(-e):P(e);if(n!==e){var i=String(n),o=v.call(t,i.length+1);return b.call(i,r,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var I=r(25040),D=I.custom,N=U(D)?D:null;function F(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function B(e){return"[object Array]"===W(e)&&(!k||!("object"==typeof e&&k in e))}function z(e){return"[object RegExp]"===W(e)&&(!k||!("object"==typeof e&&k in e))}function U(e){if(M)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
30if(!e||"object"!=typeof e||!j)return!1;try{return j.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,i,s){var l=n||{};if(V(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(V(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!V(l,"customInspect")||l.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(l,"indent")&&null!==l.indent&&" "!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(v.call(t,0,r.maxStringLength),r)+"... "+n+" more character"+(n>1?"s":"")}return F(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,q),"single",r)}(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return w?R(t,x):x}if("bigint"==typeof t){var P=String(t)+"n";return w?R(t,P):P}var C=void 0===l.depth?5:l.depth;if(void 0===i&&(i=0),i>=C&&C>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var D=function(e,t){var r;if(" "===e.indent)r=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=T.call(Array(e.indent+1)," ")}return{base:r,prev:T.call(Array(t+1),r)}}(l,i);if(void 0===s)s=[];else if(H(s,t)>=0)return"[Circular]";function $(t,r,n){if(r&&(s=O.call(s)).push(r),n){var o={depth:l.depth};return V(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,i+1,s)}return e(t,l,i+1,s)}if("function"==typeof t&&!z(t)){var Z=function(e){if(e.name)return e.name;var t=y.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),Q=J(t,$);return"[Function"+(Z?": "+Z:" (anonymous)")+"]"+(Q.length>0?" { "+T.call(Q,", ")+" }":"")}if(U(t)){var ee=M?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):j.call(t);return"object"!=typeof t||M?ee:G(ee)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var et,er="<"+E.call(String(t.nodeName)),en=t.attributes||[],ei=0;ei<en.length;ei++)er+=" "+en[ei].name+"="+F((et=en[ei].value,b.call(String(et),/"/g,""")),"double",l);return er+=">",t.childNodes&&t.childNodes.length&&(er+="..."),er+="</"+E.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var eo=J(t,$);return D&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(eo)?"["+K(eo,D)+"]":"[ "+T.call(eo,", ")+" ]"}if("[object Error]"===W(t)&&(!k||!("object"==typeof t&&k in t))){var ea=J(t,$);return"cause"in Error.prototype||!("cause"in t)||L.call(t,"cause")?0===ea.length?"["+String(t)+"]":"{ ["+String(t)+"] "+T.call(ea,", ")+" }":"{ ["+String(t)+"] "+T.call(S.call("[cause]: "+$(t.cause),ea),", ")+" }"}if("object"==typeof t&&m){if(N&&"function"==typeof t[N]&&I)return I(t,{depth:C-i});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var es=[];return a&&a.call(t,function(e,r){es.push($(r,t,!0)+" => "+$(e,t))}),X("Map",o.call(t),es,D)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var el=[];return c&&c.call(t,function(e){el.push($(e,t))}),X("Set",u.call(t),el,D)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if("[object Number]"===W(t)&&(!k||!("object"==typeof t&&k in t)))return G($(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return G($(A.call(t)));if("[object Boolean]"===W(t)&&(!k||!("object"==typeof t&&k in t)))return G(h.call(t));if("[object String]"===W(t)&&(!k||!("object"==typeof t&&k in t)))return G($(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===W(t)&&(!k||!("object"==typeof t&&k in t)))&&!z(t)){var eu=J(t,$),ec=_?_(t)===Object.prototype:t instanceof Object||t.constructor===Object,ef=t instanceof Object?"":"null prototype",ed=!ec&&k&&Object(t)===t&&k in t?v.call(W(t),8,-1):ef?"Object":"",ep=(ec||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ed||ef?"["+T.call(S.call([],ed||[],ef||[]),": ")+"] ":"");return 0===eu.length?ep+"{}":D?ep+"{"+K(eu,D)+"}":ep+"{ "+T.call(eu,", ")+" }"}return String(t)};var $=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return $.call(e,t)}function W(e){return m.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function q(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function G(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function X(e,t,r,n){return e+" ("+t+") {"+(n?K(r,n):T.call(r,", "))+"}"}function K(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+T.call(e,","+r)+"\n"+t.prev}function J(e,t){var r,n=B(e),i=[];if(n){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=V(e,o)?t(e[o],e):""}var a="function"==typeof C?C(e):[];if(M){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var l in e)V(e,l)&&(!n||String(Number(l))!==l||!(l<e.length))&&(M&&r["$"+l]instanceof Symbol||(x.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))));if("function"==typeof C)for(var u=0;u<a.length;u++)L.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},74928:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},59331:function(e,t,r){"use strict";var n=r(82595),i=r(56247),o=r(74928);e.exports={formats:o,parse:i,stringify:n}},56247:function(e,t,r){"use strict";var n=r(34329),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t){var r={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=l.split(t.delimiter,u),f=-1,d=t.charset;if(t.charsetSentinel)for(p=0;p<c.length;++p)0===c[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[p]?d="utf-8":"utf8=%26%2310003%3B"===c[p]&&(d="iso-8859-1"),f=p,p=c.length);for(p=0;p<c.length;++p)if(p!==f){var p,h,m,g=c[p],y=g.indexOf("]="),v=-1===y?g.indexOf("="):y+1;-1===v?(h=t.decoder(g,a.decoder,d,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(g.slice(0,v),a.decoder,d,"key"),m=n.maybeMap(s(g.slice(v+1),t),function(e){return t.decoder(e,a.decoder,d,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===d&&(m=String(m).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m);var b=i.call(r,h);b&&"combine"===t.duplicates?r[h]=n.combine(r[h],m):b&&"last"!==t.duplicates||(r[h]=m)}return r},u=function(e,t,r,n){for(var i=n?t:s(t,r),o=e.length-1;o>=0;--o){var a,l=e[o];if("[]"===l&&r.parseArrays)a=r.allowEmptyArrays&&(""===i||r.strictNullHandling&&null===i)?[]:[].concat(i);else{a=r.plainObjects?{__proto__:null}:{};var u="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,c=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,f=parseInt(c,10);r.parseArrays||""!==c?!isNaN(f)&&l!==c&&String(f)===c&&f>
30=0&&r.parseArrays&&f<=r.arrayLimit?(a=[])[f]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i},c=function(e,t,r,n){if(e){var o=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!r.plainObjects&&i.call(Object.prototype,l)&&!r.allowPrototypes)return;c.push(l)}for(var f=0;r.depth>0&&null!==(s=a.exec(o))&&f<r.depth;){if(f+=1,!r.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(s[1])}if(s){if(!0===r.strictDepth)throw RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");c.push("["+o.slice(s.index)+"]")}return u(c,t,r,n)}},f=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,r=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var r=f(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var i="string"==typeof e?l(e,r):e,o=r.plainObjects?{__proto__:null}:{},a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],d=c(u,i[u],r,"string"==typeof e);o=n.merge(o,d,r)}return!0===r.allowSparse?o:n.compact(o)}},82595:function(e,t,r){"use strict";var n=r(47942),i=r(34329),o=r(74928),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,d=o.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,r,o,a,s,u,f,d,m,g,y,v,b,w,E,x,S,T){for(var O,P,A=t,C=T,j=0,M=!1;void 0!==(C=C.get(h))&&!M;){var k=C.get(t);if(j+=1,void 0!==k){if(k===j)throw RangeError("Cyclic object value");M=!0}void 0===C.get(h)&&(j=0)}if("function"==typeof g?A=g(r,A):A instanceof Date?A=b(A):"comma"===o&&l(A)&&(A=i.maybeMap(A,function(e){return e instanceof Date?b(e):e})),null===A){if(u)return m&&!x?m(r,p.encoder,S,"key",w):r;A=""}if("string"==typeof(O=A)||"number"==typeof O||"boolean"==typeof O||"symbol"==typeof O||"bigint"==typeof O||i.isBuffer(A))return m?[E(x?r:m(r,p.encoder,S,"key",w))+"="+E(m(A,p.encoder,S,"value",w))]:[E(r)+"="+E(String(A))];var L=[];if(void 0===A)return L;if("comma"===o&&l(A))x&&m&&(A=i.maybeMap(A,m)),P=[{value:A.length>0?A.join(",")||null:void 0}];else if(l(g))P=g;else{var _=Object.keys(A);P=y?_.sort(y):_}var R=d?String(r).replace(/\./g,"%2E"):String(r),I=a&&l(A)&&1===A.length?R+"[]":R;if(s&&l(A)&&0===A.length)return I+"[]";for(var D=0;D<P.length;++D){var N=P[D],F="object"==typeof N&&N&&void 0!==N.value?N.value:A[N];if(!f||null!==F){var B=v&&d?String(N).replace(/\./g,"%2E"):String(N),z=l(A)?"function"==typeof o?o(I,B):I:I+(v?"."+B:"["+B+"]");T.set(t,j);var U=n();U.set(h,T),c(L,e(F,z,o,a,s,u,f,d,"comma"===o&&x&&l(A)?null:m,g,y,v,b,w,E,x,S,U))}}return L},g=function(e){if(!e)return p;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
30if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var i=o.formatters[n],u=p.filter;if(("function"==typeof e.filter||l(e.filter))&&(u=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:u,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var r,i=e,o=g(t);"function"==typeof o.filter?i=(0,o.filter)("",i):l(o.filter)&&(r=o.filter);var a=[];if("object"!=typeof i||null===i)return"";var u=s[o.arrayFormat],f="comma"===u&&o.commaRoundTrip;r||(r=Object.keys(i)),o.sort&&r.sort(o.sort);for(var d=n(),p=0;p<r.length;++p){var h=r[p],y=i[h];o.skipNulls&&null===y||c(a,m(y,h,u,f,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,d))}var v=a.join(o.delimiter),b=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),v.length>0?b+v:""}},34329:function(e,t,r){"use strict";var n=r(74928),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&n.push(r[i]);t.obj[t.prop]=n}}},l=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],o=i.obj[i.prop],a=Object.keys(o),l=0;l<a.length;++l){var u=a[l],c=o[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:o,prop:u}),r.push(c))}return s(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",u=0;u<s.length;u+=1024){for(var c=s.length>=1024?s.slice(u,u+1024):s,f=[],d=0;d<c.length;++d){var p=c.charCodeAt(d);if(45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===n.RFC1738&&(40===p||41===p)){f[f.length]=c.charAt(d);continue}if(p<128){f[f.length]=a[p];continue}if(p<2048){f[f.length]=a[192|p>>6]+a[128|63&p];continue}if(p<55296||p>=57344){f[f.length]=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p];continue}
30d+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(d)),f[f.length]=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p]}l+=f.join("")}return l},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return(o(t)&&!o(r)&&(a=l(t,n)),o(t)&&o(r))?(r.forEach(function(r,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,n):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var a=r[o];return i.call(t,o)?t[o]=e(t[o],a,n):t[o]=a,t},a)}}},40611:function(e,t,r){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i,o=n(r(65836)),a=r(86159),s=n(a),l=n(r(65992)),u=n(r(15552));function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var d={},p=function(){},h=(i=o.loadAnimation,a.memo(a.forwardRef(function(e,t){var r,n,o=e.play,h=void 0===o?null:o,m=e.speed,g=void 0===m?1:m,y=e.direction,v=void 0===y?1:y,b=e.segments,w=void 0===b?null:b,E=e.goTo,x=void 0===E?null:E,S=e.useSubframes,T=void 0===S||S,O=e.renderer,P=void 0===O?"svg":O,A=e.loop,C=void 0===A||A,j=e.rendererSettings,M=void 0===j?d:j,k=e.audioFactory,L=e.onLoad,_=void 0===L?p:L,R=e.onComplete,I=void 0===R?p:R,D=e.onLoopComplete,N=void 0===D?p:D,F=e.onEnterFrame,B=void 0===F?p:F,z=e.onSegmentStart,U=void 0===z?p:z,$=f(e,["play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),V=$;"animationData"in $&&(r=$.animationData,V=f($,["animationData"])),"path"in $&&(n=$.path,V=f($,["path"]));var W=a.useRef(null),H=a.useRef(),q=a.useCallback(function(){if(null==H.current)throw Error("Lottie ref is not set");return H.current},[]),G=a.useState(!1),Y=G[0],X=G[1],K=a.useState(w),J=K[0],Z=K[1];a.useEffect(function(){l(J,w)||Z(w)},[w,J]);var Q=a.useState(M),ee=Q[0],et=Q[1];a.useEffect(function(){l(ee,M)||et(M)},[M,ee]),a.useEffect(function(){return function(){return q().removeEventListener("complete",I)}},[q,I]),a.useEffect(function(){return function(){return q().removeEventListener("loopComplete",N)}},[q,N]),a.useEffect(function(){return function(){return q().removeEventListener("enterFrame",B)}},[q,B]),a.useEffect(function(){return function(){return q().removeEventListener("segmentStart",U)}},[q,U]),a.useEffect(function(){return function(){return q().removeEventListener("DOMLoaded",_)}},[q,_]);var er=a.useCallback(function(e){H.current=e,"function"==typeof t?t(e):null!=t&&(t.current=e)},[t]);a.useEffect(function(){if(null==W.current)throw Error("animElementRef is not set");er(i(c({animationData:null==r||"object"!=typeof r?r:"default"in r&&"object"==typeof r.default?u(r.default):u(r),path:n,container:W.current,renderer:P,loop:!1,autoplay:!1,rendererSettings:ee},k?{audioFactory:k}:{})));var e=function(){return X(!0)};return q().addEventListener("DOMLoaded",e),function(){q().removeEventListener("DOMLoaded",e),X(!1),q().destroy(),er(void 0)}},[C,P,ee,r,n,k,er,q]),a.useEffect(function(){q().addEventListener("DOMLoaded",_)},[q,_]),a.useEffect(function(){q().addEventListener("complete",I)},[q,I]),a.useEffect(function(){q().addEventListener("loopComplete",N)},[q,N]),a.useEffect(function(){q().addEventListener("enterFrame",B)},[q,B]),a.useEffect(function(){q().addEventListener("segmentStart",
30U)},[q,U]),a.useEffect(function(){Y&&(q().loop=C)},[Y,C,q]);var en=a.useRef(!1);return a.useEffect(function(){Y&&(!0===h?J?(q().playSegments(J,!0),en.current=!0,-1===v&&e("number"==typeof J[1]?J[1]:J[1][1])):(en.current&&q().resetSegments(!0),en.current=!1,-1===v?e(q().getDuration(!0)):q().play()):!1===h&&q().pause());function e(e){q().goToAndPlay(e,!0),q().setDirection(v)}},[h,J,Y,v,q]),a.useEffect(function(){Y&&(Number.isNaN(g)||q().setSpeed(g))},[g,Y,q]),a.useEffect(function(){Y&&q().setDirection(v)},[v,q,Y]),a.useEffect(function(){Y&&null!=x&&(h?q().goToAndPlay(x,!0):q().goToAndStop(x,!0))},[q,x,h,Y]),a.useEffect(function(){q().setSubframe&&q().setSubframe(T)},[q,T]),s.createElement("div",c({},V,{ref:W}))})));e.exports=h},1648:function(e,t,r){"use strict";r.d(t,{Z:function(){return X}});var n,i,o,a,s,l,u,c=r(80738),f=r(86159),d="right-scroll-bar-position",p="width-before-scroll-bar";function h(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,g=new WeakMap,y=(void 0===n&&(n={}),(void 0===i&&(i=function(e){return e}),o=[],a=!1,s={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,a);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){a=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=(0,c.pi)({async:!0,ssr:!1},n),s),v=function(){},b=f.forwardRef(function(e,t){var r,n,i,o,a=f.useRef(null),s=f.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),l=s[0],u=s[1],d=e.forwardProps,p=e.children,b=e.className,w=e.removeScrollBar,E=e.enabled,x=e.shards,S=e.sideCar,T=e.noIsolation,O=e.inert,P=e.allowPinchZoom,A=e.as,C=e.gapMode,j=(0,c._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(r=[a,t],n=function(e){return r.forEach(function(t){return h(t,e)})},(i=(0,f.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,o=i.facade,m(function(){var e=g.get(o);if(e){var t=new Set(e),n=new Set(r),i=o.current;t.forEach(function(e){n.has(e)||h(e,null)}),n.forEach(function(e){t.has(e)||h(e,i)})}g.set(o,r)},[r]),o),k=(0,c.pi)((0,c.pi)({},j),l);return f.createElement(f.Fragment,null,E&&f.createElement(S,{sideCar:y,removeScrollBar:w,shards:x,noIsolation:T,inert:O,setCallbacks:u,allowPinchZoom:!!P,lockRef:a,gapMode:C}),d?f.cloneElement(f.Children.only(p),(0,c.pi)((0,c.pi)({},k),{ref:M})):f.createElement(void 0===A?"div":A,(0,c.pi)({},k,{className:b,ref:M}),p))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:p,zeroRight:d};var w=function(e){var t=e.sideCar,r=(0,c._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return f.createElement(n,(0,c.pi)({},r))};w.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},x=function(){var e=E();return function(t,r){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},S=function(){var e=x();return function(t){return e(t.styles,t.dynamic),null}},T={left:0,top:0,right:0,gap:0},O=function(e){return parseInt(e||"",10)||0},P=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[O(r),O(n),O(i)]},A=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return T;var t=P(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},C=S(),j="data-scroll-locked",M=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(j,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";
30")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(p," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(n,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(j,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},k=function(){var e=parseInt(document.body.getAttribute(j)||"0",10);return isFinite(e)?e:0},L=function(){f.useEffect(function(){return document.body.setAttribute(j,(k()+1).toString()),function(){var e=k()-1;e<=0?document.body.removeAttribute(j):document.body.setAttribute(j,e.toString())}},[])},_=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;L();var o=f.useMemo(function(){return A(i)},[i]);return f.createElement(C,{styles:M(o,!t,i,r?"":"!important")})},R=!1;if("undefined"!=typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return R=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){R=!1}var D=!!R&&{passive:!1},N=function(e,t){var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},F=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),B(e,n)){var i=z(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},B=function(e,t){return"v"===e?N(t,"overflowY"):N(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},U=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,f=s>0,d=0,p=0;do{var h=z(e,l),m=h[0],g=h[1]-h[2]-a*m;(m||g)&&B(e,l)&&(d+=g,p+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return f&&(i&&1>Math.abs(d)||!i&&s>d)?c=!0:!f&&(i&&1>Math.abs(p)||!i&&-s>p)&&(c=!0),c},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},V=function(e){return[e.deltaX,e.deltaY]},W=function(e){return e&&"current"in e?e.current:e},H=0,q=[],G=(l=function(e){var t=f.useRef([]),r=f.useRef([0,0]),n=f.useRef(),i=f.useState(H++)[0],o=f.useState(S)[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,c.ev)([e.lockRef.current],(e.shards||[]).map(W),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var i,o=$(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,f=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=F(f,c);if(!d)return!0;if(d?i=f:(i="v"===f?"h":"v",d=F(f,c)),!d)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var p=n.current||i;return U(p,t,e,"h"===p?l:u,!0)},[]),l=f.useCallback(function(e){if(q.length&&q[q.length-1]===o){var r="deltaY"in e?V(e):$(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(a.current.shards||[]).map(W).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=f.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=f.useCallback(function(e){r.current=$(e),n.current=void 0},[]),p=f.useCallback(function(t){u(t.type,V(t),t.target,s(t,e.lockRef.current))},[]),h=f.useCallback(function(t){u(t.type,$(t),t.target,s(t,e.lockRef.current))},[]);f.useEffect(function(){return q.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",l,D),document.addEventListener("touchmove",l,D),document.addEventListener("touchstart",d,D),function(){q=q.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,D),document.removeEventListener("touchmove",l,D),document.removeEventListener("touchstart",d,D)}},[]);var m=e.removeScrollBar,g=e.inert;return f.createElement(f.Fragment,null,g?f.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?f.createElement(_,{gapMode:e.gapMode}):null)},y.useMedium(l),w),Y=f.forwardRef(function(e,t){return f.createElement(b,(0,c.pi)({},e,{ref:t,sideCar:G}))});Y.classNames=b.classNames;var X=Y},66906:function(e,t,r){"use strict";r.d(t,{ZP:function(){return g}});var n=r(69980),i=r(64499),o=r(86159),a=r(91370),s={disabled:!1},l=r(57885),u="unmounted",c="exited",f="entering",d="entered",p="exiting",h=function(e){function t(t,r){n=e.call(this,t,r)||this;var n,i,o=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?o?(i=c,n.appearStatus=f):i=d:i=t.unmountOnExit||t.mountOnEnter?u:c,n.state={status:i},n.nextCallback=null,n}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:c}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==f&&r!==d&&(t=f):(r===f||r===d)&&(t=p)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,a
30ppear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){if(this.cancelNextCallback(),t===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);r&&r.scrollTop}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,i=this.props.nodeRef?[n]:[a.findDOMNode(this),n],o=i[0],l=i[1],u=this.getTimeouts(),c=n?u.appear:u.enter;if(!e&&!r||s.disabled){this.safeSetState({status:d},function(){t.props.onEntered(o)});return}this.props.onEnter(o,l),this.safeSetState({status:f},function(){t.props.onEntering(o,l),t.onTransitionEnd(c,function(){t.safeSetState({status:d},function(){t.props.onEntered(o,l)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:a.findDOMNode(this);if(!t||s.disabled){this.safeSetState({status:c},function(){e.props.onExited(n)});return}this.props.onExit(n),this.safeSetState({status:p},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:c},function(){e.props.onExited(n)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(!r||n){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,r=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(l.Z.Provider,{value:null},"function"==typeof r?r(e,i):o.cloneElement(o.Children.only(r),i))},t}(o.Component);function m(){}h.contextType=l.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=u,h.EXITED=c,h.ENTERING=f,h.ENTERED=d,h.EXITING=p;var g=h},97254:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(69980),i=r(24521),o=r(64499),a=r(86159),s=r(57885);function l(e,t){var r=Object.create(null);return e&&a.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,a.isValidElement)(e)?t(e):e}),r}function u(e,t,r){return null!=r[t]?r[t]:e.props[t]}var c=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},f=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,o.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,o=t.handleExited;
30return{children:t.firstRender?l(e.children,function(t){return(0,a.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:u(t,"appear",e),enter:u(t,"enter",e),exit:u(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var u=i[l][n];s[i[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(i,r=l(e.children))).forEach(function(t){var s=n[t];if((0,a.isValidElement)(s)){var l=t in i,c=t in r,f=i[t],d=(0,a.isValidElement)(f)&&!f.props.in;c&&(!l||d)?n[t]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:!0,exit:u(s,"exit",e),enter:u(s,"enter",e)}):c||!l||d?c&&l&&(0,a.isValidElement)(f)&&(n[t]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:f.props.in,exit:u(s,"exit",e),enter:u(s,"enter",e)})):n[t]=(0,a.cloneElement)(s,{in:!1})}}),n),firstRender:!1}},r.handleExited=function(e,t){var r=l(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,i.Z)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,n.Z)(e,["component","childFactory"]),o=this.state.contextValue,l=c(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?a.createElement(s.Z.Provider,{value:o},l):a.createElement(s.Z.Provider,{value:o},a.createElement(t,i,l))},t}(a.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=f},57885:function(e,t,r){"use strict";var n=r(86159);t.Z=n.createContext(null)},15552:function(e,t,r){"use strict";e.exports=r(15682)()},15682:function(e,t,r){"use strict";var n=r(71254).lW;function i(e){return e instanceof n?n.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){if((e=e||{}).circles)return function(e){let t=[],r=[],n=new Map;if(n.set(Date,e=>new Date(e)),n.set(Map,(e,t)=>new Map(a(Array.from(e),t))),n.set(Set,(e,t)=>new Set(a(Array.from(e),t))),e.constructorHandlers)for(let t of e.constructorHandlers)n.set(t[0],t[1]);let o=null;return e.proto?function e(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return a(s,e);if(s.constructor!==Object&&(o=n.get(s.constructor)))return o(s,e);let l={};for(let a in t.push(s),r.push(l),s){let u=s[a];if("object"!=typeof u||null===u)l[a]=u;else if(u.constructor!==Object&&(o=n.get(u.constructor)))l[a]=o(u,e);else if(ArrayBuffer.isView(u))l[a]=i(u);else{let n=t.indexOf(u);-1!==n?l[a]=r[n]:l[a]=e(u)}}return t.pop(),r.pop(),l}:function e(s){if("object"!=typeof s||null===s)return s;if(Array.isArray(s))return a(s,e);if(s.constructor!==Object&&(o=n.get(s.constructor)))return o(s,e);let l={};for(let a in t.push(s),r.push(l),s){if(!1===Object.hasOwnProperty.call(s,a))continue;let u=s[a];if("object"!=typeof u||null===u)l[a]=u;else if(u.constructor!==Object&&(o=n.get(u.constructor)))l[a]=o(u,e);else if(ArrayBuffer.isView(u))l[a]=i(u);else{let n=t.indexOf(u);-1!==n?l[a]=r[n]:l[a]=e(u)}}return t.pop(),r.pop(),l};function a(e,a){let s=Object.keys(e),l=Array(s.length);for(let u=0;u<s.length;u++){let c=s[u],f=e[c];if("object"!=typeof f||null===f)l[c]=f;else if(f.constructor!==Object&&(o=n.get(f.constructor)))l[c]=o(f,a);else if(ArrayBuffer.isView(f))l[c]=i(f);else{let e=t.indexOf(f);-1!==e?l[c]=r[e]:l[c]=a(f)}}return l}}(e);let t=new Map;if(t.set(Date,e=>new Date(e)),t.set(Map,(e,t)=>new Map(n(Array.from(e),t))),t.set(Set,(e,t)=>new Set(n(Array.from(e),t))),e.constructorHandlers)for(let r of e.constructorHandlers)t.set(r[0],r[1]);let r=null;return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(Array.isArray(o))return n(o,e);if(o.constructor!==Object&&(r=t.get(o.constructor)))return r(o,e);let a={};for(let n in o){let s=o[n];"object"!=typeof s||null===s?a[n]=s:s.constructor!==Object&&(r=t.get(s.constructor))?a[n]=r(s,e):ArrayBuffer.isView(s)?a[n]=i(s):a[n]=e(s)}return a}:function e(o){if("object"!=typeof o||null===o)return o;if(Array.isArray(o))return n(o,e);if(o.constructor!==Object&&(r=t.get(o.constructor)))return r(o,e);let a={};for(let n in o){if(!1===Object.hasOwnProperty.call(o,n))continue;let s=o[n];"object"!=typeof s||null===s?a[n]=s:s.constructor!==Object&&(r=t.get(s.constructor))?a[n]=r(s,e):ArrayBuffer.isView(s)?a[n]=i(s):a[n]=e(s)}return a};function n(e,n){let o=Object.keys(e),a=Array(o.length);for(let s=0;s<o.length;s++){let l=o[s],u=e[l];"object"!=typeof u||null===u?a[l]=u:u.constructor!==Object&&(r=t.get(u.constructor))?a[l]=r(u,n):ArrayBuffer.isView(u)?a[l]=i(u):a[l]=n(u)}return a}}},91010:function(e,t,r){"use strict";var n=r(69931),i=r(52131),o=r(10833)(),a=r(19974),s=r(96825),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},47942:function(e,t,r){"use strict";var n=r(69931),i=r(61447),o=r(82040),a=r(96825),s=n("%WeakMap%",!0),l=n("%Map%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=m(e,t);return r&&r.value},y=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+o(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return d(t,n)}else if(r)return g(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(l){if(t)return h(t,n)}else if(r)return!!m(r,n);return!1},set:function(n,i){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),c(e,n,i)):l?(t||(t=new l),p(t,n,i)):(r||(r={key:{},next:null}),y(r,n,i))}};return n}},24358:function(e,t,r){"use strict";var n=r(28070);r(9980);var i=r(86159),o=i&&"object"==typeof i&&"default"in i?i:{default:i},a=void 0!==n&&n.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,o=void 0===i?a:i;u(s(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
30Sheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(s(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var r="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];u(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},t.deleteRule=function(e){if("undefined"==typeof window){this._serverSheet.deleteRule(e);return}if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
30h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},t.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&u(s(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},f={};function d(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return f[n]||(f[n]="jsx-"+c(e+"-"+r)),f[n]}function p(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return f[r]||(f[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),f[r]}var h=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),n&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=o,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=d(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:d(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,y="undefined"!=typeof window?new h:void 0;function v(e){var t=y||i.useContext(m);return t&&("undefined"==typeof window?t.add(e):g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return d(e[0],e[1])}).join(" ")},t.style=v},37374:function(e,t,r){"use strict";e.exports=r(24358).style},70693:function(){},76003:function(){},23133:function(){},21781:function(){},22172:function(e,t,r){"use strict";let n,i;r.d(t,{pJ:function(){return k}});var o,a=r(58911),s=r(76816),l=r(86159),u=r(14767),c=r(77766),f=r(24173),d=r(57662),p=r(57529),h=r(97770),m=r(33425),g=r(64503),y=r(9674),v=r(87405);let b=null!=(o=l.startTransition)?o:function(e){e()};var w=r(38745),E=((n=E||{})[n.Open=0]="Open",n[n.Closed=1]="Closed",n),x=((i=x||{})[i.ToggleDisclosure=0]="ToggleDisclosure",i[i.CloseDisclosure=1]="CloseDisclosure",i[i.SetButtonId=2]="SetButtonId",i[i.SetPanelId=3]="SetPanelId",i[i.SetButtonElement=4]="SetButtonElement",i[i.SetPanelElement=5]="SetPanelElement",i);let S={0:e=>({...e,disclosureState:(0,g.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>
30e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},T=(0,l.createContext)(null);function O(e){let t=(0,l.useContext)(T);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,O),t}return t}T.displayName="DisclosureContext";let P=(0,l.createContext)(null);P.displayName="DisclosureAPIContext";let A=(0,l.createContext)(null);function C(e,t){return(0,g.E)(t.type,S,e,t)}A.displayName="DisclosurePanelContext";let j=l.Fragment,M=v.VN.RenderStrategy|v.VN.Static,k=Object.assign((0,v.yV)(function(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,l.useRef)(null),o=(0,d.T)(t,(0,d.h)(e=>{i.current=e},void 0===e.as||e.as===l.Fragment)),a=(0,l.useReducer)(C,{disclosureState:r?0:1,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:s,buttonId:u},f]=a,p=(0,c.z)(e=>{f({type:1});let t=(0,y.r)(i);if(!t||!u)return;let r=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(u):t.getElementById(u);null==r||r.focus()}),b=(0,l.useMemo)(()=>({close:p}),[p]),w=(0,l.useMemo)(()=>({open:0===s,close:p}),[s,p]);return l.createElement(T.Provider,{value:a},l.createElement(P.Provider,{value:b},l.createElement(h.Z,{value:p},l.createElement(m.up,{value:(0,g.E)(s,{0:m.ZM.Open,1:m.ZM.Closed})},(0,v.sY)({ourProps:{ref:o},theirProps:n,slot:w,defaultTag:j,name:"Disclosure"})))))}),{Button:(0,v.yV)(function(e,t){let r=(0,l.useId)(),{id:n="headlessui-disclosure-button-".concat(r),disabled:i=!1,autoFocus:o=!1,...p}=e,[h,m]=O("Disclosure.Button"),g=(0,l.useContext)(A),y=null!==g&&g===h.panelId,b=(0,l.useRef)(null),E=(0,d.T)(b,t,(0,c.z)(e=>{if(!y)return m({type:4,element:e})})),x=(0,v.Y2)();(0,l.useEffect)(()=>{if(!y)return m({type:2,buttonId:n}),()=>{m({type:2,buttonId:null})}},[n,m,y]);let S=(0,c.z)(e=>{var t;if(y){if(1===h.disclosureState)return;switch(e.key){case w.R.Space:case w.R.Enter:e.preventDefault(),e.stopPropagation(),m({type:0}),null==(t=h.buttonElement)||t.focus()}}else switch(e.key){case w.R.Space:case w.R.Enter:e.preventDefault(),e.stopPropagation(),m({type:0})}}),T=(0,c.z)(e=>{e.key===w.R.Space&&e.preventDefault()}),P=(0,c.z)(e=>{var t;(function(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(null==t?void 0:t.getAttribute("disabled"))==="";return!(n&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n})(e.currentTarget)||i||(y?(m({type:0}),null==(t=h.buttonElement)||t.focus()):m({type:0}))}),{isFocusVisible:C,focusProps:j}=(0,a.F)({autoFocus:o}),{isHovered:M,hoverProps:k}=(0,s.X)({isDisabled:i}),{pressed:L,pressProps:_}=(0,u.x)({disabled:i}),R=(0,l.useMemo)(()=>({open:0===h.disclosureState,hover:M,active:L,disabled:i,focus:C,autofocus:o}),[h,M,L,C,i,o]),I=(0,f.f)(e,h.buttonElement),D=y?(0,v.dG)({ref:E,type:I,disabled:i||void 0,autoFocus:o,onKeyDown:S,onClick:P},j,k,_):(0,v.dG)({ref:E,id:n,type:I,"aria-expanded":0===h.disclosureState,"aria-controls":h.panelElement?h.panelId:void 0,disabled:i||void 0,autoFocus:o,onKeyDown:S,onKeyUp:T,onClick:P},j,k,_);return(0,v.sY)({mergeRefs:x,ourProps:D,theirProps:p,slot:R,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,v.yV)(function(e,t){let r=(0,l.useId)(),{id:n="headlessui-disclosure-panel-".concat(r),transition:i=!1,...o}=e,[a,s]=O("Disclosure.Panel"),{close:u}=function e(t){let r=(0,l.useContext)(P);if(null===r){let r=Error("<".concat(t," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(r,e),r}return r}("Disclosure.Panel"),f=(0,v.Y2)(),[h,g]=(0,l.useState)(null),y=(0,d.T)(t,(0,c.z)(e=>{b(()=>s({type:5,element:e}))}),g);(0,l.useEffect)(()=>(s({type:3,panelId:n}),()=>{s({type:3,panelId:null})}),[n,s]);let w=(0,m.oJ)(),[E,x]=(0,p.Y)(i,h,null!==w?(w&m.ZM.Open)===m.ZM.Open:0===a.disclosureState),S=(0,l.useMemo)(()=>({open:0===a.disclosureState,close:u}),[a.disclosureState,u]),T={ref:y,id:n,...(0,p.X)(x)};return l.createElement(m.uu,null,l.createElement(A.Provider,{value:a.panelId},(0,v.sY)({mergeRefs:f,ourProps:T,theirProps:o,slot:S,defaultTag:"div",features:M,visible:E,name:"Disclosure.Panel"})))})})},77595:function(e,t,r){"use strict";let n,i,o;r.d(t,{OK:function(){return N}});var a=r(58911),s=r(76816),l=r(86159),u=r(14767),c=r(77766),f=r(47836),d=r(81601),p=r(24173),h=r(57662),m=r(65053),g=r(84736);function y(e){let{onFocus:t}=e,[r,n]=(0,l.useState)(!0),i=(0,m.t)();return r?l.createElement(g._,{as:"button",type:"button",features:g.x.Focusable,onFocus:e=>{e.preventDefault();let r,o=50;r=requestAnimationFrame(function e(){if(o--<=0){r&&cancelAnimationFrame(r);return}if(t()){if(cancelAnimationFrame(r),!i.current)return;n(!1);return}r=requestAnimationFrame(e)})}}):null}var v=r(74095),b=r(64503),w=r(90770),E=r(9674),x=r(87405);let S=l.createContext(null);function T(e){let{children:t}=e,r=l.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let i=null!=(r=n.get(t))?r:0;return n.set(t,i+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return l.createElement(S.Provider,{value:r},t)}function O(e){let t=l.useContext(S);if(!t)throw Error("You must wrap your component in a <StableCollection>");let r=l.useId(),[n,i]=t.current.get(e,r);return l.useEffect(()=>i,[]),n}var P=r(38745),A=((n=A||{})[n.Forwards=0]="Forwards",n[n.Backwards=1]="Backwards",n),C=((i=C||{})[i.Less=-1]="Less",i[i.Equal=0]="Equal",i[i.Greater=1]="Greater",i),j=((o=j||{})[o.SetSelectedIndex=0]="SetSelectedIndex",o[o.RegisterTab=1]="RegisterTab",o[o.UnregisterTab=2]="UnregisterTab",o[o.RegisterPanel=3]="RegisterPanel",o[o.UnregisterPanel=4]="UnregisterPanel",o);let M={0(e,t){var r;let n=(0,v.z2)(e.tabs,e=>e.current),i=(0,v.z2)(e.panels,e=>e.current),o=n.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),a={...e,tabs:n,panels:i};if(t.index<0||t.index>n.length-1){let r=(0,b.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,b.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===o.length)return a;let i=(0,b.E)(r,{0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])});return{...a,selectedIndex:-1===i?e.selectedIndex:i}}let s=n.slice(0,t.index),l=[...n.slice(t.index),...s].find(e=>o.includes(e));if(!l)return a;let u=null!=(r=n.indexOf(l))?r:e.selectedIndex;return -1===u&&(u=e.selectedIndex),{...a,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],n=(0,v.z2)([...e.tabs,t.tab],e=>e.current),i=e.selectedIndex;return e.info.current.isControlled||-1===(i=n.indexOf(r))&&(i=e.selectedIndex),{...e,tabs:n,selectedIndex:i}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>
30e.panels.includes(t.panel)?e:{...e,panels:(0,v.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},k=(0,l.createContext)(null);function L(e){let t=(0,l.useContext)(k);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,L),t}return t}k.displayName="TabsDataContext";let _=(0,l.createContext)(null);function R(e){let t=(0,l.useContext)(_);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,R),t}return t}function I(e,t){return(0,b.E)(t.type,M,e,t)}_.displayName="TabsActionsContext";let D=x.VN.RenderStrategy|x.VN.Static,N=Object.assign((0,x.yV)(function(e,t){var r,n;let i=(0,l.useId)(),{id:o="headlessui-tabs-tab-".concat(i),disabled:d=!1,autoFocus:m=!1,...g}=e,{orientation:y,activation:S,selectedIndex:T,tabs:A,panels:C}=L("Tab"),j=R("Tab"),M=L("Tab"),[k,_]=(0,l.useState)(null),I=(0,l.useRef)(null),D=(0,h.T)(I,t,_);(0,f.e)(()=>j.registerTab(I),[j,I]);let N=O("tabs"),F=A.indexOf(I);-1===F&&(F=N);let B=F===T,z=(0,c.z)(e=>{var t;let r=e();if(r===v.fE.Success&&"auto"===S){let e=null==(t=(0,E.r)(I))?void 0:t.activeElement,r=M.tabs.findIndex(t=>t.current===e);-1!==r&&j.change(r)}return r}),U=(0,c.z)(e=>{let t=A.map(e=>e.current).filter(Boolean);if(e.key===P.R.Space||e.key===P.R.Enter){e.preventDefault(),e.stopPropagation(),j.change(F);return}switch(e.key){case P.R.Home:case P.R.PageUp:return e.preventDefault(),e.stopPropagation(),z(()=>(0,v.jA)(t,v.TO.First));case P.R.End:case P.R.PageDown:return e.preventDefault(),e.stopPropagation(),z(()=>(0,v.jA)(t,v.TO.Last))}if(z(()=>(0,b.E)(y,{vertical:()=>e.key===P.R.ArrowUp?(0,v.jA)(t,v.TO.Previous|v.TO.WrapAround):e.key===P.R.ArrowDown?(0,v.jA)(t,v.TO.Next|v.TO.WrapAround):v.fE.Error,horizontal:()=>e.key===P.R.ArrowLeft?(0,v.jA)(t,v.TO.Previous|v.TO.WrapAround):e.key===P.R.ArrowRight?(0,v.jA)(t,v.TO.Next|v.TO.WrapAround):v.fE.Error}))===v.fE.Success)return e.preventDefault()}),$=(0,l.useRef)(!1),V=(0,c.z)(()=>{var e;$.current||($.current=!0,null==(e=I.current)||e.focus({preventScroll:!0}),j.change(F),(0,w.Y)(()=>{$.current=!1}))}),W=(0,c.z)(e=>{e.preventDefault()}),{isFocusVisible:H,focusProps:q}=(0,a.F)({autoFocus:m}),{isHovered:G,hoverProps:Y}=(0,s.X)({isDisabled:d}),{pressed:X,pressProps:K}=(0,u.x)({disabled:d}),J=(0,l.useMemo)(()=>({selected:B,hover:G,active:X,focus:H,autofocus:m,disabled:d}),[B,G,H,X,m,d]),Z=(0,x.dG)({ref:D,onKeyDown:U,onMouseDown:W,onClick:V,id:o,role:"tab",type:(0,p.f)(e,k),"aria-controls":null==(n=null==(r=C[F])?void 0:r.current)?void 0:n.id,"aria-selected":B,tabIndex:B?0:-1,disabled:d||void 0,autoFocus:m},q,Y,K);return(0,x.sY)({ourProps:Z,theirProps:g,slot:J,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,x.yV)(function(e,t){let{defaultIndex:r=0,vertical:n=!1,manual:i=!1,onChange:o,selectedIndex:a=null,...s}=e,u=n?"vertical":"horizontal",p=i?"manual":"auto",m=null!==a,g=(0,d.E)({isControlled:m}),b=(0,h.T)(t),[w,E]=(0,l.useReducer)(I,{info:g,selectedIndex:null!=a?a:r,tabs:[],panels:[]}),S=(0,l.useMemo)(()=>({selectedIndex:w.selectedIndex}),[w.selectedIndex]),O=(0,d.E)(o||(()=>{})),P=(0,d.E)(w.tabs),A=(0,l.useMemo)(()=>({orientation:u,activation:p,...w}),[u,p,w]),C=(0,c.z)(e=>(E({type:1,tab:e}),()=>E({type:2,tab:e}))),j=(0,c.z)(e=>(E({type:3,panel:e}),()=>E({type:4,panel:e}))),M=(0,c.z)(e=>{L.current!==e&&O.current(e),m||E({type:0,index:e})}),L=(0,d.E)(m?e.selectedIndex:w.selectedIndex),R=(0,l.useMemo)(()=>({registerTab:C,registerPanel:j,change:M}),[]);return(0,f.e)(()=>{E({type:0,index:null!=a?a:r})},[a]),(0,f.e)(()=>{if(void 0===L.current||w.tabs.length<=0)return;let e=(0,v.z2)(w.tabs,e=>e.current);e.some((e,t)=>w.tabs[t]!==e)&&M(e.indexOf(w.tabs[L.current]))}),l.createElement(T,null,l.createElement(_.Provider,{value:R},l.createElement(k.Provider,{value:A},A.tabs.length<=0&&l.createElement(y,{onFocus:()=>{var e,t;for(let r of P.current)if((null==(e=r.current)?void 0:e.tabIndex)===0)return null==(t=r.current)||t.focus(),!0;return!1}}),(0,x.sY)({ourProps:{ref:b},theirProps:s,slot:S,defaultTag:"div",name:"Tabs"}))))}),List:(0,x.yV)(function(e,t){let{orientation:r,selectedIndex:n}=L("Tab.List"),i=(0,h.T)(t),o=(0,l.useMemo)(()=>({selectedIndex:n}),[n]);return(0,x.sY)({ourProps:{ref:i,role:"tablist","aria-orientation":r}
30,theirProps:e,slot:o,defaultTag:"div",name:"Tabs.List"})}),Panels:(0,x.yV)(function(e,t){let{selectedIndex:r}=L("Tab.Panels"),n=(0,h.T)(t),i=(0,l.useMemo)(()=>({selectedIndex:r}),[r]);return(0,x.sY)({ourProps:{ref:n},theirProps:e,slot:i,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,x.yV)(function(e,t){var r,n,i,o;let s=(0,l.useId)(),{id:u="headlessui-tabs-panel-".concat(s),tabIndex:c=0,...d}=e,{selectedIndex:p,tabs:m,panels:y}=L("Tab.Panel"),v=R("Tab.Panel"),b=(0,l.useRef)(null),w=(0,h.T)(b,t);(0,f.e)(()=>v.registerPanel(b),[v,b]);let E=O("panels"),S=y.indexOf(b);-1===S&&(S=E);let T=S===p,{isFocusVisible:P,focusProps:A}=(0,a.F)(),C=(0,l.useMemo)(()=>({selected:T,focus:P}),[T,P]),j=(0,x.dG)({ref:w,id:u,role:"tabpanel","aria-labelledby":null==(n=null==(r=m[S])?void 0:r.current)?void 0:n.id,tabIndex:T?c:-1},A);return T||null!=(i=d.unmount)&&!i||null!=(o=d.static)&&o?(0,x.sY)({ourProps:j,theirProps:d,slot:C,defaultTag:"div",features:D,visible:T,name:"Tabs.Panel"}):l.createElement(g._,{"aria-hidden":"true",...j})})})},14767:function(e,t,r){"use strict";r.d(t,{x:function(){return s}});var n=r(86159),i=r(9674),o=r(92440),a=r(77766);function s(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n.useRef)(null),[r,s]=(0,n.useState)(!1),l=(0,o.G)(),u=(0,a.z)(()=>{t.current=null,s(!1),l.dispose()}),c=(0,a.z)(e=>{if(l.dispose(),null===t.current){t.current=e.currentTarget,s(!0);{let r=(0,i.r)(e.currentTarget);l.addEventListener(r,"pointerup",u,!1),l.addEventListener(r,"pointermove",e=>{if(t.current){var r,n;let i,o;s((i=e.width/2,o=e.height/2,r={top:e.clientY-o,right:e.clientX+i,bottom:e.clientY+o,left:e.clientX-i},n=t.current.getBoundingClientRect(),!(!r||!n||r.right<n.left||r.left>n.right||r.bottom<n.top||r.top>n.bottom)))}},!1),l.addEventListener(r,"pointercancel",u,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},24173:function(e,t,r){"use strict";r.d(t,{f:function(){return i}});var n=r(86159);function i(e,t){return(0,n.useMemo)(()=>{var r;if(e.type)return e.type;let n=null!=(r=e.as)?r:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},34271:function(e,t,r){"use strict";r.d(t,{Dx:function(){return et},VY:function(){return ee},aV:function(){return Q},dk:function(){return er},fC:function(){return K},h_:function(){return Z},xz:function(){return J}});var n=r(86159),i=r(74958),o=r(11600),a=r(41507),s=r(49765),l=r(78305),u=r(49174),c=r(21411),f=r(4717),d=r(74226),p=r(21035),h=r(61229),m=r(1648),g=r(72483),y=r(14598),v=r(92592),b="Dialog",[w,E]=(0,a.b)(b),[x,S]=w(b),T=e=>{let{__scopeDialog:t,children:r,open:i,defaultOpen:o,onOpenChange:a,modal:u=!0}=e,c=n.useRef(null),f=n.useRef(null),[d=!1,p]=(0,l.T)({prop:i,defaultProp:o,onChange:a});return(0,v.jsx)(x,{scope:t,triggerRef:c,contentRef:f,contentId:(0,s.M)(),titleId:(0,s.M)(),descriptionId:(0,s.M)(),open:d,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:u,children:r})};T.displayName=b;var O="DialogTrigger",P=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=S(O,r),s=(0,o.e)(t,a.triggerRef);return(0,v.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":W(a.open),...n,ref:s,onClick:(0,i.M)(e.onClick,a.onOpenToggle)})});P.displayName=O;var A="DialogPortal",[C,j]=w(A,{forceMount:void 0}),M=e=>{let{__scopeDialog:t,forceMount:r,children:i,container:o}=e,a=S(A,t);return(0,v.jsx)(C,{scope:t,forceMount:r,children:n.Children.map(i,e=>(0,v.jsx)(d.z,{present:r||a.open,children:(0,v.jsx)(f.h,{asChild:!0,container:o,children:e})}))})};M.displayName=A;var k="DialogOverlay",L=n.forwardRef((e,t)=>{let r=j(k,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=S(k,e.__scopeDialog);return o.modal?(0,v.jsx)(d.z,{present:n||o.open,children:(0,v.jsx)(_,{...i,ref:t})}):null});L.displayName=k;var _=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=S(k,r);return(0,v.jsx)(m.Z,{as:y.g7,allowPinchZoom:!0,shards:[i.contentRef],children:(0,v.jsx)(p.WV.div,{"data-state":W(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),R="DialogContent",I=n.forwardRef((e,t)=>
30{let r=j(R,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,o=S(R,e.__scopeDialog);return(0,v.jsx)(d.z,{present:n||o.open,children:o.modal?(0,v.jsx)(D,{...i,ref:t}):(0,v.jsx)(N,{...i,ref:t})})});I.displayName=R;var D=n.forwardRef((e,t)=>{let r=S(R,e.__scopeDialog),a=n.useRef(null),s=(0,o.e)(t,r.contentRef,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,g.Ry)(e)},[]),(0,v.jsx)(F,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,i.M)(e.onFocusOutside,e=>e.preventDefault())})}),N=n.forwardRef((e,t)=>{let r=S(R,e.__scopeDialog),i=n.useRef(!1),o=n.useRef(!1);return(0,v.jsx)(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current||null===(a=r.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var n,a;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let s=t.target;(null===(a=r.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),F=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:s,...l}=e,f=S(R,r),d=n.useRef(null),p=(0,o.e)(t,d);return(0,h.EW)(),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(c.M,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,v.jsx)(u.XB,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":W(f.open),...l,ref:p,onDismiss:()=>f.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(Y,{titleId:f.titleId}),(0,v.jsx)(X,{contentRef:d,descriptionId:f.descriptionId})]})]})}),B="DialogTitle",z=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=S(B,r);return(0,v.jsx)(p.WV.h2,{id:i.titleId,...n,ref:t})});z.displayName=B;var U="DialogDescription",$=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=S(U,r);return(0,v.jsx)(p.WV.p,{id:i.descriptionId,...n,ref:t})});$.displayName=U;var V="DialogClose";function W(e){return e?"open":"closed"}n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=S(V,r);return(0,v.jsx)(p.WV.button,{type:"button",...n,ref:t,onClick:(0,i.M)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=V;var H="DialogTitleWarning",[q,G]=(0,a.k)(H,{contentName:R,titleName:B,docsSlug:"dialog"}),Y=e=>{let{titleId:t}=e,r=G(H),i="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return n.useEffect(()=>{t&&!document.getElementById(t)&&console.error(i)},[i,t]),null},X=e=>{let{contentRef:t,descriptionId:r}=e,i=G("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(i.contentName,"}.");return n.useEffect(()=>{var e;let n=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");r&&n&&!document.getElementById(r)&&console.warn(o)},[o,t,r]),null},K=T,J=P,Z=M,Q=L,ee=I,et=z,er=$},61229:function(e,t,r){"use strict";r.d(t,{EW:function(){return o}});var n=r(86159),i=0;function o(){n.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=r[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=r[1])&&void 0!==t?t:a()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}},21411:function(e,t,r){"use strict";let n;r.d(t,{M:function(){return d}});var i=r(86159),o=r(11600),a=r(21035),s=r(27230),l=r(92592),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},d=i.forwardRef((e,t)=>
30{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:d,onUnmountAutoFocus:y,...v}=e,[b,w]=i.useState(null),E=(0,s.W)(d),x=(0,s.W)(y),S=i.useRef(null),T=(0,o.e)(t,e=>w(e)),O=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(O.paused||!b)return;let t=e.target;b.contains(t)?S.current=t:m(S.current,{select:!0})},t=function(e){if(O.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||m(S.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,b,O.paused]),i.useEffect(()=>{if(b){g.add(O);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,f);b.addEventListener(u,E),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(m(n,{select:t}),document.activeElement!==r)return}(p(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(u,E),setTimeout(()=>{let t=new CustomEvent(c,f);b.addEventListener(c,x),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,x),g.remove(O)},0)}}},[b,E,x,O]);let P=i.useCallback(e=>{if(!r&&!n||O.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,o]=function(e){let t=p(e);return[h(t,e),h(t.reverse(),e)]}(t);n&&o?e.shiftKey||i!==o?e.shiftKey&&i===n&&(e.preventDefault(),r&&m(o,{select:!0})):(e.preventDefault(),r&&m(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,O.paused]);return(0,l.jsx)(a.WV.div,{tabIndex:-1,...v,ref:T,onKeyDown:P})});function p(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function h(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}d.displayName="FocusScope";var g=(n=[],{add(e){let t=n[0];e!==t&&(null==t||t.pause()),(n=y(n,e)).unshift(e)},remove(e){var t;null===(t=(n=y(n,e))[0])||void 0===t||t.resume()}});function y(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},68491:function(e,t,r){"use strict";r.d(t,{Eh:function(){return tw},VY:function(){return tb},h_:function(){return tv},fC:function(){return tg},xz:function(){return ty}});var n=r(86159),i=r(74958),o=r(11600),a=r(41507),s=r(49174),l=r(61229),u=r(21411),c=r(49765);let f=["top","right","bottom","left"],d=Math.min,p=Math.max,h=Math.round,m=Math.floor,g=e=>({x:e,y:e}),y={left:"right",right:"left",bottom:"top",top:"bottom"},v={start:"end",end:"start"};function b(e,t){return"function"==typeof e?e(t):e}function w(e){return e.split("-")[0]}function E(e){return e.split("-")[1]}function x(e){return"x"===e?"y":"x"}function S(e){return"y"===e?"height":"width"}function T(e){return["top","bottom"].includes(w(e))?"y":"x"}function O(e){return e.replace(/start|end/g,e=>v[e])}function P(e){return e.replace(/left|right|bottom|top/g,e=>y[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function j(e,t,r){let n,{reference:i,floating:o}=e,a=T(t),s=x(T(t)),l=S(s),u=w(t),c="y"===a,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,p=i[l]/2-o[l]/2;switch(u){case"top":n={x:f,y:i.y-o.height};break;case"bottom":n={x:f,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:d};break;case"left":n={x:i.x-o.width,y:d};break;default:n={x:i.x,y:i.y}}switch(E(t)){case"start":n[s]-=p*(r&&c?-1:1);break;case"end":n[s]+=p*(r&&c?-1:1)}return n}let M=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}
30=r,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=j(u,n,l),d=n,p={},h=0;for(let r=0;r<s.length;r++){let{name:o,fn:m}=s[r],{x:g,y:y,data:v,reset:b}=await m({x:c,y:f,initialPlacement:n,placement:d,strategy:i,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,f=null!=y?y:f,p={...p,[o]:{...p[o],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:f}=j(u,d,l)),r=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:p}};async function k(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=b(t,e),h=A(p),m=s[d?"floating"===f?"reference":"floating":f],g=C(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y="floating"===f?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},E=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-E.top+h.top)/w.y,bottom:(E.bottom-g.bottom+h.bottom)/w.y,left:(g.left-E.left+h.left)/w.x,right:(E.right-g.right+h.right)/w.x}}function L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _(e){return f.some(t=>e[t]>=0)}async function R(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=w(r),s=E(r),l="y"===T(r),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,f=b(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function I(){return"undefined"!=typeof window}function D(e){return B(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(B(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function B(e){return!!I()&&(e instanceof Node||e instanceof N(e).Node)}function z(e){return!!I()&&(e instanceof Element||e instanceof N(e).Element)}function U(e){return!!I()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function $(e){return!!I()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}function V(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function W(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function H(e){let t=q(),r=z(e)?Y(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function q(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function G(e){return["html","body","#document"].includes(D(e))}function Y(e){return N(e).getComputedStyle(e)}function X(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if("html"===D(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||F(e);return $(t)?t.host:t}function J(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=K(t);return G(r)?t.ownerDocument?t.ownerDocument.body:t.body:U(r)&&V(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=N(i);if(o){let e=Z(a);
30return t.concat(a,a.visualViewport||[],V(i)?i:[],e&&r?J(e):[])}return t.concat(i,J(i,[],r))}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=Y(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=U(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=h(r)!==o||h(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function ee(e){return z(e)?e:e.contextElement}function et(e){let t=ee(e);if(!U(t))return g(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=Q(t),a=(o?h(r.width):r.width)/n,s=(o?h(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let er=g(0);function en(e){let t=N(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function ei(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=ee(e),s=g(1);t&&(n?z(n)&&(s=et(n)):s=et(e));let l=(void 0===(i=r)&&(i=!1),n&&(!i||n===N(a))&&i)?en(a):g(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(a){let e=N(a),t=n&&z(n)?N(n):n,r=e,i=Z(r);for(;i&&n&&t!==r;){let e=et(i),t=i.getBoundingClientRect(),n=Y(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=o,c+=a,i=Z(r=N(i))}}return C({width:f,height:d,x:u,y:c})}function eo(e,t){let r=X(e).scrollLeft;return t?t.left+r:ei(F(e)).left+r}function ea(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=N(e),n=F(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=q();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,r);else if("document"===t)n=function(e){let t=F(e),r=X(e),n=e.ownerDocument.body,i=p(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=p(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+eo(e),s=-r.scrollTop;return"rtl"===Y(n).direction&&(a+=p(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}(F(e));else if(z(t))n=function(e,t){let r=ei(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=U(e)?et(e):g(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{let r=en(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return C(n)}function es(e){return"static"===Y(e).position}function el(e,t){if(!U(e)||"fixed"===Y(e).position)return null;if(t)return t(e);let r=e.offsetParent;return F(e)===r&&(r=r.ownerDocument.body),r}function eu(e,t){let r=N(e);if(W(e))return r;if(!U(e)){let t=K(e);for(;t&&!G(t);){if(z(t)&&!es(t))return t;t=K(t)}return r}let n=el(e,t);for(;n&&["table","td","th"].includes(D(n))&&es(n);)n=el(n,t);return n&&G(n)&&es(n)&&!H(n)?r:n||function(e){let t=K(e);for(;U(t)&&!G(t);){if(H(t))return t;if(W(t))break;t=K(t)}return null}(e)||r}let ec=async function(e){let t=this.getOffsetParent||eu,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=U(t),i=F(t),o="fixed"===r,a=ei(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=g(0);if(n||!n&&!o){if(("body"!==D(t)||V(i))&&(s=X(t)),n){let e=ei(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=eo(i))}let u=0,c=0;if(i&&!n&&!o){let e=i.getBoundingClientRect();c=e.top+s.scrollTop,u=e.left+s.scrollLeft-eo(i,e)}return{x:a.left+s.scrollLeft-l.x-u,y:a.top+s.scrollTop-l.y-c,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,a=F(n),s=!!t&&W(t.floating);if(n===a||s&&o)return r;let l={scrollLeft:0,scrollTop:0},u=g(1),c=g(0),f=U(n);if((f||!f&&!o)&&(("body"!==D(n)||V(a))&&(l=X(n)),U(n))){let e=ei(n);u=et(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+c.x,y:r.y*u.y-l.scrollTop*u.y+c.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?W(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=J(e,[],!1).filter(e=>z(e)&&"body"!==D(e)),i=null,o="fixed"===Y(e).position,a=o?K(e):e;for(;z(a)&&!G(a);){let t=Y(a),r=H(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||V(a)&&!r&&function e(t,r){let n=K(t);return!(n===r||!z(n)||G(n))&&("fixed"===Y(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):i=t,a=K(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=o[0],s=o.reduce((e,r)=>{let n=ea(t,r,i);return e.top=p(n.top,e.top),e.right=d(n.right,e.right),e.bottom=d(n.bottom,e.bottom),e.left=p(n.left,e.left),e},ea(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eu,getElementRects:ec,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=Q(e);return{width:t,height:r}},getScale:et,isElement:z,isRTL:function(e){return"rtl"===Y(e).direction}},ed=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=b(e,t)||{};if(null==u)return{};let f=A(c),h={x:r,y:n},m=x(T(i)),g=S(m),y=await a.getDimensions(u),v="y"===m,w=v?"clientHeight":"clientWidth",O=o.reference[g]+o.reference[m]-h[m]-o.floating[g],P=h[m]-o.reference[m],C=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),j=C?C[w]:0;j&&await (null==a.isElement?void 0:a.isElement(C))||(j=s.floating[w]||o.floating[g]);let M=j/2-y[g]/2-1,k=d(f[v?"top":"left"],M),L=d(f[v?"bottom":"right"],M),_=j-y[g]-L,R=j/2-y[g]/2+(O/2-P/2),I=p(k,d(R,_)),D=!l.arrow&&null!=E(i)&&R!==I&&o.reference[g]/2-(R<k?k:L)-y[g]/2<0,N=D?R<k?R-k:R-_:0;return{[m]:h[m]+N,data:{[m]:I,centerOffset:R-I-N,...D&&{alignmentOffset:N}},reset:D}}}),ep=(e,t,r)=>{let n=new Map,i={platform:ef,...r},o={...i.platform,_c:n};return M(e,t,{...i,platform:o})};var eh=r(91370),em="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function eg(e,t){let r,n,i;if(e===t)return!0;
30if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eg(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eg(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function ey(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ev(e,t){let r=ey(e);return Math.round(t*r)/r}function eb(e){let t=n.useRef(e);return em(()=>{t.current=e}),t}let ew=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ed({element:r.current,padding:n}).fn(t):{}:r?ed({element:r,padding:n}).fn(t):{}}}),eE=(e,t)=>{var r;return{...(void 0===(r=e)&&(r=0),{name:"offset",options:r,async fn(e){var t,n;let{x:i,y:o,placement:a,middlewareData:s}=e,l=await R(e,r);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}),options:[e,t]}},ex=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=b(r,e),u={x:t,y:n},c=await k(e,l),f=T(w(i)),h=x(f),m=u[h],g=u[f];if(o){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=m+c[e],n=m-c[t];m=p(r,d(m,n))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=g+c[e],n=g-c[t];g=p(r,d(g,n))}let y=s.fn({...e,[h]:m,[f]:g});return{...y,data:{x:y.x-t,y:y.y-n,enabled:{[h]:o,[f]:a}}}}}),options:[e,t]}},eS=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:i,rects:o,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=b(r,e),c={x:t,y:n},f=T(i),d=x(f),p=c[d],h=c[f],m=b(s,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+g.mainAxis,r=o.reference[d]+o.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(u){var y,v;let e="y"===d?"width":"height",t=["top","left"].includes(w(i)),r=o.reference[f]-o.floating[e]+(t&&(null==(y=a.offset)?void 0:y[f])||0)+(t?0:g.crossAxis),n=o.reference[f]+o.reference[e]+(t?0:(null==(v=a.offset)?void 0:v[f])||0)-(t?g.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[d]:p,[f]:h}}}),options:[e,t]}},eT=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"flip",options:r,async fn(e){var t,n,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:f,elements:d}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...A}=b(r,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let C=w(s),j=T(c),M=w(c)===c,L=await (null==f.isRTL?void 0:f.isRTL(d.floating)),_=m||(M||!v?[P(c)]:function(e){let t=P(e);return[O(e),t,O(t)]}(c)),R="none"!==y;!m&&R&&_.push(...function(e,t,r,n){let i=E(e),o=function(e,t,r){let n=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(w(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(O)))),o}(c,v,y,L));let I=[c,..._],D=await k(e,A),N=[],F=(null==(n=l.flip)?void 0:n.overflows)||[];if(p&&N.push(D[C]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=E(e),i=x(T(e)),o=S(i),a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=P(a)),[a,P(a)]}(s,u,L);N.push(D[e[0]],D[e[1]])}if(F=[...F,{placement:s,overflows:N}],!N.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=I[e];if(t)return{data:{index:e,overflows:F},reset:{placement:t}};let r=null==(o=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(g){case"bestFit":{let e=null==(a=F.filter(e=>{if(R){let t=T(e.placement);return t===j||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>
30e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=c}if(s!==r)return{reset:{placement:r}}}return{}}}),options:[e,t]}},eO=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"size",options:r,async fn(e){var t,n;let i,o;let{placement:a,rects:s,platform:l,elements:u}=e,{apply:c=()=>{},...f}=b(r,e),h=await k(e,f),m=w(a),g=E(a),y="y"===T(a),{width:v,height:x}=s.floating;"top"===m||"bottom"===m?(i=m,o=g===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(o=m,i="end"===g?"top":"bottom");let S=x-h.top-h.bottom,O=v-h.left-h.right,P=d(x-h[i],S),A=d(v-h[o],O),C=!e.middlewareData.shift,j=P,M=A;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(M=O),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(j=S),C&&!g){let e=p(h.left,0),t=p(h.right,0),r=p(h.top,0),n=p(h.bottom,0);y?M=v-2*(0!==e||0!==t?e+t:p(h.left,h.right)):j=x-2*(0!==r||0!==n?r+n:p(h.top,h.bottom))}await c({...e,availableWidth:M,availableHeight:j});let L=await l.getDimensions(u.floating);return v!==L.width||x!==L.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eP=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"hide",options:r,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...i}=b(r,e);switch(n){case"referenceHidden":{let r=L(await k(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:_(r)}}}case"escaped":{let r=L(await k(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:_(r)}}}default:return{}}}}),options:[e,t]}},eA=(e,t)=>({...ew(e),options:[e,t]});var eC=r(21035),ej=r(92592),eM=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,ej.jsx)(eC.WV.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,ej.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eM.displayName="Arrow";var ek=r(27230),eL=r(9816),e_=r(16261),eR="Popper",[eI,eD]=(0,a.b)(eR),[eN,eF]=eI(eR),eB=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,ej.jsx)(eN,{scope:t,anchor:i,onAnchorChange:o,children:r})};eB.displayName=eR;var ez="PopperAnchor",eU=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...a}=e,s=eF(ez,r),l=n.useRef(null),u=(0,o.e)(t,l);return n.useEffect(()=>{s.onAnchorChange((null==i?void 0:i.current)||l.current)}),i?null:(0,ej.jsx)(eC.WV.div,{...a,ref:u})});eU.displayName=ez;var e$="PopperContent",[eV,eW]=eI(e$),eH=n.forwardRef((e,t)=>{var r,i,a,s,l,u,c,f;let{__scopePopper:h,side:g="bottom",sideOffset:y=0,align:v="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:E=!0,collisionBoundary:x=[],collisionPadding:S=0,sticky:T="partial",hideWhenDetached:O=!1,updatePositionStrategy:P="optimized",onPlaced:A,...C}=e,j=eF(e$,h),[M,k]=n.useState(null),L=(0,o.e)(t,e=>k(e)),[_,R]=n.useState(null),I=(0,e_.t)(_),D=null!==(c=null==I?void 0:I.width)&&void 0!==c?c:0,N=null!==(f=null==I?void 0:I.height)&&void 0!==f?f:0,B="number"==typeof S?S:{top:0,right:0,bottom:0,left:0,...S},z=Array.isArray(x)?x:[x],U=z.length>0,$={padding:B,boundary:z.filter(eX),altBoundary:U},{refs:V,floatingStyles:W,placement:H,isPositioned:q,middlewareData:G}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[f,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=n.useState(i);eg(p,i)||h(i);let[m,g]=n.useState(null),[y,v]=n.useState(null),b=n.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),w=n.useCallback(e=>{e!==T.current&&(T.current=e,v(e))},[]),E=a||m,x=s||y,S=n.useRef(null),T=n.useRef(null),O=n.useRef(f),P=null!=u,A=eb(u),C=eb(o),j=eb(c),M=n.useCallback(()=>{if(!S.current||!T.current)return;let e={placement:t,strategy:r,middleware:p};C.current&&(e.platform=C.current),ep(S.current,T.current,e).then(e=>{let t={...e,isPositioned:!1!==j.current};k.current&&!eg(O.current,t)&&(O.current=t,eh.flushSync(()=>{d(t)}))})},[p,t,r,C,j]);em(()=>{!1===c&&O.current.isPositioned&&(O.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=n.useRef(!1);em(()=>(k.current=!0,()=>{k.current=!1}),[]),em(()=>{if(E&&(S.current=E),x&&(T.current=x),E&&x){if(A.current)return A.current(E,x,M);M()}},[E,x,M,A,P]);let L=n.useMemo(()=>({reference:S,floating:T,setReference:b,setFloating:w}),[b,w]),_=n.useMemo(()=>({reference:E,floating:x}),[E,x]),R=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!_.floating)return e;let t=ev(_.floating,f.x),n=ev(_.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...ey(_.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,_.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:M,refs:L,elements:_,floatingStyles:R}),[f,M,L,_,R])}({strategy:"fixed",placement:g+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=ee(e),f=o||a?[...c?J(c):[],...J(t)]:[];
30f.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let h=c&&l?function(e,t){let r,n=null,i=F(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();let{left:u,top:c,width:f,height:h}=e.getBoundingClientRect();if(s||t(),!f||!h)return;let g=m(c),y=m(i.clientWidth-(u+f)),v={rootMargin:-g+"px "+-y+"px "+-m(i.clientHeight-(c+h))+"px "+-m(u)+"px",threshold:p(0,d(1,l))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==l){if(!b)return a();t?a(!1,t):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(w,{...v,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(w,v)}n.observe(e)}(!0),o}(c,r):null,g=-1,y=null;s&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),c&&!u&&y.observe(c),y.observe(t));let v=u?ei(e):null;return u&&function t(){let n=ei(e);v&&(n.x!==v.x||n.y!==v.y||n.width!==v.width||n.height!==v.height)&&r(),v=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,u&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===P})},elements:{reference:j.anchor},middleware:[eE({mainAxis:y+N,alignmentAxis:b}),E&&ex({mainAxis:!0,crossAxis:!1,limiter:"partial"===T?eS():void 0,...$}),E&&eT({...$}),eO({...$,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:o,height:a}=r.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(n,"px")),s.setProperty("--radix-popper-available-height","".concat(i,"px")),s.setProperty("--radix-popper-anchor-width","".concat(o,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),_&&eA({element:_,padding:w}),eK({arrowWidth:D,arrowHeight:N}),O&&eP({strategy:"referenceHidden",...$})]}),[Y,X]=eJ(H),K=(0,ek.W)(A);(0,eL.b)(()=>{q&&(null==K||K())},[q,K]);let Z=null===(r=G.arrow)||void 0===r?void 0:r.x,Q=null===(i=G.arrow)||void 0===i?void 0:i.y,et=(null===(a=G.arrow)||void 0===a?void 0:a.centerOffset)!==0,[er,en]=n.useState();return(0,eL.b)(()=>{M&&en(window.getComputedStyle(M).zIndex)},[M]),(0,ej.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:q?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:er,"--radix-popper-transform-origin":[null===(s=G.transformOrigin)||void 0===s?void 0:s.x,null===(l=G.transformOrigin)||void 0===l?void 0:l.y].join(" "),...(null===(u=G.hide)||void 0===u?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ej.jsx)(eV,{scope:h,placedSide:Y,onArrowChange:R,arrowX:Z,arrowY:Q,shouldHideArrow:et,children:(0,ej.jsx)(eC.WV.div,{"data-side":Y,"data-align":X,...C,ref:L,style:{...C.style,animation:q?void 0:"none"}})})})});eH.displayName=e$;var eq="PopperArrow",eG={top:"bottom",right:"left",bottom:"top",left:"right"},eY=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eW(eq,r),o=eG[i.placedSide];return(0,ej.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,ej.jsx)(eM,{...n,ref:t,style:{...n.style,display:"block"}})})});function eX(e){return null!==e}eY.displayName=eq;var eK=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(r=u.arrow)||void 0===r?void 0:r.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=eJ(s),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(n=u.arrow)||void 0===n?void 0:n.x)&&void 0!==o?o:0)+f/2,y=(null!==(a=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==a?a:0)+d/2,v="",b="";return"bottom"===p?(v=c?m:"".concat(g,"px"),b="".concat(-d,"px")):"top"===p?(v=c?m:"".concat(g,"px"),b="".concat(l.floating.height+d,"px")):"right"===p?(v="".concat(-d,"px"),b=c?m:"".concat(y,"px")):"left"===p&&(v="".concat(l.floating.width+d,"px"),b=c?m:"".concat(y,"px")),{data:{x:v,y:b}}}});function eJ(e){let[t,r="center"]=e.split("-");return[t,r]}var eZ=r(4717),eQ=r(74226),e0=r(14598),e1=r(78305),e2=r(72483),e8=r(1648),e6="Popover",[e5,e3]=(0,a.b)(e6,[eD]
30),e4=eD(),[e9,e7]=e5(e6),te=e=>{let{__scopePopover:t,children:r,open:i,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,l=e4(t),u=n.useRef(null),[f,d]=n.useState(!1),[p=!1,h]=(0,e1.T)({prop:i,defaultProp:o,onChange:a});return(0,ej.jsx)(eB,{...l,children:(0,ej.jsx)(e9,{scope:t,contentId:(0,c.M)(),triggerRef:u,open:p,onOpenChange:h,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>d(!0),[]),onCustomAnchorRemove:n.useCallback(()=>d(!1),[]),modal:s,children:r})})};te.displayName=e6;var tt="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...i}=e,o=e7(tt,r),a=e4(r),{onCustomAnchorAdd:s,onCustomAnchorRemove:l}=o;return n.useEffect(()=>(s(),()=>l()),[s,l]),(0,ej.jsx)(eU,{...a,...i,ref:t})}).displayName=tt;var tr="PopoverTrigger",tn=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=e7(tr,r),s=e4(r),l=(0,o.e)(t,a.triggerRef),u=(0,ej.jsx)(eC.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":tm(a.open),...n,ref:l,onClick:(0,i.M)(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?u:(0,ej.jsx)(eU,{asChild:!0,...s,children:u})});tn.displayName=tr;var ti="PopoverPortal",[to,ta]=e5(ti,{forceMount:void 0}),ts=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,o=e7(ti,t);return(0,ej.jsx)(to,{scope:t,forceMount:r,children:(0,ej.jsx)(eQ.z,{present:r||o.open,children:(0,ej.jsx)(eZ.h,{asChild:!0,container:i,children:n})})})};ts.displayName=ti;var tl="PopoverContent",tu=n.forwardRef((e,t)=>{let r=ta(tl,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,o=e7(tl,e.__scopePopover);return(0,ej.jsx)(eQ.z,{present:n||o.open,children:o.modal?(0,ej.jsx)(tc,{...i,ref:t}):(0,ej.jsx)(tf,{...i,ref:t})})});tu.displayName=tl;var tc=n.forwardRef((e,t)=>{let r=e7(tl,e.__scopePopover),a=n.useRef(null),s=(0,o.e)(t,a),l=n.useRef(!1);return n.useEffect(()=>{let e=a.current;if(e)return(0,e2.Ry)(e)},[]),(0,ej.jsx)(e8.Z,{as:e0.g7,allowPinchZoom:!0,children:(0,ej.jsx)(td,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),l.current||null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;l.current=n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tf=n.forwardRef((e,t)=>{let r=e7(tl,e.__scopePopover),i=n.useRef(!1),o=n.useRef(!1);return(0,ej.jsx)(td,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current||null===(a=r.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var n,a;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let s=t.target;(null===(a=r.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),td=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,...h}=e,m=e7(tl,r),g=e4(r);return(0,l.EW)(),(0,ej.jsx)(u.M,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,ej.jsx)(s.XB,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:p,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onDismiss:()=>m.onOpenChange(!1),children:(0,ej.jsx)(eH,{"data-state":tm(m.open),role:"dialog",id:m.contentId,...g,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tp="PopoverClose";n.forwardRef((e,t)=>
30{let{__scopePopover:r,...n}=e,o=e7(tp,r);return(0,ej.jsx)(eC.WV.button,{type:"button",...n,ref:t,onClick:(0,i.M)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tp;var th=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=e4(r);return(0,ej.jsx)(eY,{...i,...n,ref:t})});function tm(e){return e?"open":"closed"}th.displayName="PopoverArrow";var tg=te,ty=tn,tv=ts,tb=tu,tw=th},4717:function(e,t,r){"use strict";r.d(t,{h:function(){return l}});var n=r(86159),i=r(91370),o=r(21035),a=r(9816),s=r(92592),l=n.forwardRef((e,t)=>{var r,l;let{container:u,...c}=e,[f,d]=n.useState(!1);(0,a.b)(()=>d(!0),[]);let p=u||f&&(null===(l=globalThis)||void 0===l?void 0:null===(r=l.document)||void 0===r?void 0:r.body);return p?i.createPortal((0,s.jsx)(o.WV.div,{...c,ref:t}),p):null});l.displayName="Portal"},21818:function(e,t,r){"use strict";r.d(t,{e6:function(){return W},fC:function(){return $},bU:function(){return H},fQ:function(){return V}});var n=r(86159);function i(e,[t,r]){return Math.min(r,Math.max(t,e))}var o=r(74958),a=r(11600),s=r(41507),l=r(78305),u=r(55017),c=r(92312),f=r(16261),d=r(21035),p=r(8685),h=r(92592),m=["PageUp","PageDown"],g=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],y={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},v="Slider",[b,w,E]=(0,p.B)(v),[x,S]=(0,s.b)(v,[E]),[T,O]=x(v),P=n.forwardRef((e,t)=>{let{name:r,min:a=0,max:s=100,step:u=1,orientation:c="horizontal",disabled:f=!1,minStepsBetweenThumbs:d=0,defaultValue:p=[a],value:y,onValueChange:v=()=>{},onValueCommit:w=()=>{},inverted:E=!1,...x}=e,S=n.useRef(new Set),O=n.useRef(0),P="horizontal"===c?j:M,[A=[],C]=(0,l.T)({prop:y,defaultProp:p,onChange:e=>{var t;null===(t=[...S.current][O.current])||void 0===t||t.focus(),v(e)}}),k=n.useRef(A);function L(e,t){let{commit:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{commit:!1},n=(String(u).split(".")[1]||"").length,o=i(function(e,t){let r=Math.pow(10,t);return Math.round(e*r)/r}(Math.round((e-a)/u)*u+a,n),[a,s]);C(function(){var e,n;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=[...e];return n[r]=t,n.sort((e,t)=>e-t)}(i,o,t);if(e=a,!(!((n=d*u)>0)||Math.min(...e.slice(0,-1).map((t,r)=>e[r+1]-t))>=n))return i;{O.current=a.indexOf(o);let e=String(a)!==String(i);return e&&r&&w(a),e?a:i}})}return(0,h.jsx)(T,{scope:e.__scopeSlider,name:r,disabled:f,min:a,max:s,valueIndexToChangeRef:O,thumbs:S.current,values:A,orientation:c,children:(0,h.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,h.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,h.jsx)(P,{"aria-disabled":f,"data-disabled":f?"":void 0,...x,ref:t,onPointerDown:(0,o.M)(x.onPointerDown,()=>{f||(k.current=A)}),min:a,max:s,inverted:E,onSlideStart:f?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let r=e.map(e=>Math.abs(e-t));return r.indexOf(Math.min(...r))}(A,e);L(e,t)},onSlideMove:f?void 0:function(e){L(e,O.current)},onSlideEnd:f?void 0:function(){let e=k.current[O.current];A[O.current]!==e&&w(A)},onHomeKeyDown:()=>!f&&L(a,0,{commit:!0}),onEndKeyDown:()=>!f&&L(s,A.length-1,{commit:!0}),onStepKeyDown:e=>{let{event:t,direction:r}=e;if(!f){let e=m.includes(t.key)||t.shiftKey&&g.includes(t.key),n=O.current;L(A[n]+u*(e?10:1)*r,n,{commit:!0})}}})})})})});P.displayName=v;var[A,C]=x(v,{startEdge:"left",endEdge:"right",size:"width",direction:1}),j=n.forwardRef((e,t)=>{let{min:r,max:i,dir:o,inverted:s,onSlideStart:l,onSlideMove:c,onSlideEnd:f,onStepKeyDown:d,...p}=e,[m,g]=n.useState(null),v=(0,a.e)(t,e=>g(e)),b=n.useRef(),w=(0,u.gm)(o),E="ltr"===w,x=E&&!s||!E&&s;function S(e){let t=b.current||m.getBoundingClientRect(),n=U([0,t.width],x?[r,i]:[i,r]);return b.current=t,n(e-t.left)}return(0,h.jsx)(A,{scope:e.__scopeSlider,startEdge:x?"left":"right",endEdge:x?"right":"left",direction:x?1:-1,size:"width",children:(0,h.jsx)(k,{dir:w,"data-orientation":"horizontal",...p,ref:v,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=S(e.clientX);null==l||l(t)},onSlideMove:e=>{let t=S(e.clientX);null==c||c(t)},onSlideEnd:()=>{b.current=void 0,null==f||f()},onStepKeyDown:e=>
30{let t=y[x?"from-left":"from-right"].includes(e.key);null==d||d({event:e,direction:t?-1:1})}})})}),M=n.forwardRef((e,t)=>{let{min:r,max:i,inverted:o,onSlideStart:s,onSlideMove:l,onSlideEnd:u,onStepKeyDown:c,...f}=e,d=n.useRef(null),p=(0,a.e)(t,d),m=n.useRef(),g=!o;function v(e){let t=m.current||d.current.getBoundingClientRect(),n=U([0,t.height],g?[i,r]:[r,i]);return m.current=t,n(e-t.top)}return(0,h.jsx)(A,{scope:e.__scopeSlider,startEdge:g?"bottom":"top",endEdge:g?"top":"bottom",size:"height",direction:g?1:-1,children:(0,h.jsx)(k,{"data-orientation":"vertical",...f,ref:p,style:{...f.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=v(e.clientY);null==s||s(t)},onSlideMove:e=>{let t=v(e.clientY);null==l||l(t)},onSlideEnd:()=>{m.current=void 0,null==u||u()},onStepKeyDown:e=>{let t=y[g?"from-bottom":"from-top"].includes(e.key);null==c||c({event:e,direction:t?-1:1})}})})}),k=n.forwardRef((e,t)=>{let{__scopeSlider:r,onSlideStart:n,onSlideMove:i,onSlideEnd:a,onHomeKeyDown:s,onEndKeyDown:l,onStepKeyDown:u,...c}=e,f=O(v,r);return(0,h.jsx)(d.WV.span,{...c,ref:t,onKeyDown:(0,o.M)(e.onKeyDown,e=>{"Home"===e.key?(s(e),e.preventDefault()):"End"===e.key?(l(e),e.preventDefault()):m.concat(g).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,o.M)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),f.thumbs.has(t)?t.focus():n(e)}),onPointerMove:(0,o.M)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:(0,o.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),a(e))})})}),L="SliderTrack",_=n.forwardRef((e,t)=>{let{__scopeSlider:r,...n}=e,i=O(L,r);return(0,h.jsx)(d.WV.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...n,ref:t})});_.displayName=L;var R="SliderRange",I=n.forwardRef((e,t)=>{let{__scopeSlider:r,...i}=e,o=O(R,r),s=C(R,r),l=n.useRef(null),u=(0,a.e)(t,l),c=o.values.length,f=o.values.map(e=>z(e,o.min,o.max));return(0,h.jsx)(d.WV.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...i,ref:u,style:{...e.style,[s.startEdge]:(c>1?Math.min(...f):0)+"%",[s.endEdge]:100-Math.max(...f)+"%"}})});I.displayName=R;var D="SliderThumb",N=n.forwardRef((e,t)=>{let r=w(e.__scopeSlider),[i,o]=n.useState(null),s=(0,a.e)(t,e=>o(e)),l=n.useMemo(()=>i?r().findIndex(e=>e.ref.current===i):-1,[r,i]);return(0,h.jsx)(F,{...e,ref:s,index:l})}),F=n.forwardRef((e,t)=>{var r;let{__scopeSlider:i,index:s,name:l,...u}=e,c=O(D,i),p=C(D,i),[m,g]=n.useState(null),y=(0,a.e)(t,e=>g(e)),v=!m||!!m.closest("form"),w=(0,f.t)(m),E=c.values[s],x=void 0===E?0:z(E,c.min,c.max),S=(r=c.values.length)>2?"Value ".concat(s+1," of ").concat(r):2===r?["Minimum","Maximum"][s]:void 0,T=null==w?void 0:w[p.size],P=T?function(e,t,r){let n=e/2,i=U([0,50],[0,n]);return(n-i(t)*r)*r}(T,x,p.direction):0;return n.useEffect(()=>{if(m)return c.thumbs.add(m),()=>{c.thumbs.delete(m)}},[m,c.thumbs]),(0,h.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[p.startEdge]:"calc(".concat(x,"% + ").concat(P,"px)")},children:[(0,h.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,h.jsx)(d.WV.span,{role:"slider","aria-label":e["aria-label"]||S,"aria-valuemin":c.min,"aria-valuenow":E,"aria-valuemax":c.max,"aria-orientation":c.orientation,"data-orientation":c.orientation,"data-disabled":c.disabled?"":void 0,tabIndex:c.disabled?void 0:0,...u,ref:y,style:void 0===E?{display:"none"}:e.style,onFocus:(0,o.M)(e.onFocus,()=>{c.valueIndexToChangeRef.current=s})})}),v&&(0,h.jsx)(B,{name:null!=l?l:c.name?c.name+(c.values.length>1?"[]":""):void 0,value:E},s)]})});N.displayName=D;var B=e=>{let{value:t,...r}=e,i=n.useRef(null),o=(0,c.D)(t);return n.useEffect(()=>{let e=i.current,r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(o!==t&&r){let n=new Event("input",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[o,t]),(0,h.jsx)("input",{style:{display:"none"},...r,ref:i,defaultValue:t})};function z(e,t,r){return i(100/(r-t)*(e-t),[0,100])}function U(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}var $=P,V=_,W=I,H=N},16261:function(e,t,r){"use strict";r.d(t,{t:function(){return o}});var n=r(86159),i=r(9816);function o(e){let[t,r]=n.useState(void 0);return(0,i.b)(()=>
30{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},58911:function(e,t,r){"use strict";function n(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{F:function(){return R}});let a=o(function(){return i(/^Mac/i)}),s=o(function(){return i(/^iPhone/i)}),l=o(function(){return i(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=o(function(){return s()||l()});o(function(){return a()||u()}
30),o(function(){return n(/AppleWebKit/i)&&!c()});let c=o(function(){return n(/Chrome/i)}),f=o(function(){return n(/Android/i)});o(function(){return n(/Firefox/i)});let d=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},p=e=>e&&"window"in e&&e.window===e?e:d(e).defaultView||window;var h=r(86159);let m=null,g=new Set,y=new Map,v=!1,b=!1,w={Tab:!0,Escape:!0};function E(e,t){for(let r of g)r(e,t)}function x(e){v=!0,e.metaKey||!a()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(m="keyboard",E("keyboard",e))}function S(e){m="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(v=!0,E("pointer",e))}function T(e){(0===e.mozInputSource&&e.isTrusted||(f()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(v=!0,m="virtual")}function O(e){e.target!==window&&e.target!==document&&(v||b||(m="virtual",E("virtual",e)),v=!1,b=!1)}function P(){v=!1,b=!0}function A(e){if("undefined"==typeof window||y.get(p(e)))return;let t=p(e),r=d(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){v=!0,n.apply(this,arguments)},r.addEventListener("keydown",x,!0),r.addEventListener("keyup",x,!0),r.addEventListener("click",T,!0),t.addEventListener("focus",O,!0),t.addEventListener("blur",P,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",S,!0),r.addEventListener("pointermove",S,!0),r.addEventListener("pointerup",S,!0)):(r.addEventListener("mousedown",S,!0),r.addEventListener("mousemove",S,!0),r.addEventListener("mouseup",S,!0)),t.addEventListener("beforeunload",()=>{C(e)},{once:!0}),y.set(t,{focus:n})}let C=(e,t)=>{let r=p(e),n=d(e);t&&n.removeEventListener("DOMContentLoaded",t),y.has(r)&&(r.HTMLElement.prototype.focus=y.get(r).focus,n.removeEventListener("keydown",x,!0),n.removeEventListener("keyup",x,!0),n.removeEventListener("click",T,!0),r.removeEventListener("focus",O,!0),r.removeEventListener("blur",P,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",S,!0),n.removeEventListener("pointermove",S,!0),n.removeEventListener("pointerup",S,!0)):(n.removeEventListener("mousedown",S,!0),n.removeEventListener("mousemove",S,!0),n.removeEventListener("mouseup",S,!0)),y.delete(r))};function j(){return"pointer"!==m}"undefined"!=typeof document&&function(e){let t;let r=d(void 0);"loading"!==r.readyState?A(void 0):(t=()=>{A(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>C(e,t)}();let M=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),k="undefined"!=typeof document?h.useLayoutEffect:()=>{};class L{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function _(e){let t=(0,h.useRef)({isFocused:!1,observer:null});k(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=function(e){let t=(0,h.useRef)(null);return k(()=>{t.current=e},[e]),(0,h.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}(t=>{null==e||e(t)});return(0,h.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new L("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();
30let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function R(e={}){var t,r,n;let{autoFocus:i=!1,isTextInput:o,within:a}=e,s=(0,h.useRef)({isFocused:!1,isFocusVisible:i||j()}),[l,u]=(0,h.useState)(!1),[c,f]=(0,h.useState)(()=>s.current.isFocused&&s.current.isFocusVisible),m=(0,h.useCallback)(()=>f(s.current.isFocused&&s.current.isFocusVisible),[]),y=(0,h.useCallback)(e=>{s.current.isFocused=e,u(e),m()},[m]);t=e=>{s.current.isFocusVisible=e,m()},r=[],n={isTextInput:o},A(),(0,h.useEffect)(()=>{let e=(e,r)=>{(function(e,t,r){var n;let i="undefined"!=typeof window?p(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?p(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?p(null==r?void 0:r.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?p(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof i&&!M.has(null==r?void 0:null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof o||(null==r?void 0:r.target)instanceof a&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof s&&!w[r.key])})(!!(null==n?void 0:n.isTextInput),e,r)&&t(j())};return g.add(e),()=>{g.delete(e)}},r);let{focusProps:v}=function(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:i}=e,o=(0,h.useCallback)(e=>{if(e.target===e.currentTarget)return n&&n(e),i&&i(!1),!0},[n,i]),a=_(o),s=(0,h.useCallback)(e=>{let t=d(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),i&&i(!0),a(e))},[i,r,a]);return{focusProps:{onFocus:!t&&(r||i||n)?s:void 0,onBlur:!t&&(n||i)?o:void 0}}}({isDisabled:a,onFocusChange:y}),{focusWithinProps:b}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=e,o=(0,h.useRef)({isFocusWithin:!1}),a=(0,h.useCallback)(e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(e),i&&i(!1))},[r,i,o]),s=_(a),l=(0,h.useCallback)(e=>{o.current.isFocusWithin||document.activeElement!==e.target||(n&&n(e),i&&i(!0),o.current.isFocusWithin=!0,s(e))},[n,i,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:a}}}({isDisabled:!a,onFocusWithinChange:y});return{isFocused:l,isFocusVisible:c,focusProps:a?b:v}}},76816:function(e,t,r){"use strict";r.d(t,{X:function(){return u}});var n=r(86159);let i=!1,o=0;function a(){i=!0,setTimeout(()=>{i=!1},50)}function s(e){"touch"===e.pointerType&&a()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",s):document.addEventListener("touchend",a),o++,()=>{--o>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",s):document.removeEventListener("touchend",a))}}function u(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:a}
30=e,[s,u]=(0,n.useState)(!1),c=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(l,[]);let{hoverProps:f,triggerHoverEnd:d}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(c.pointerType=n,a||"touch"===n||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let i=e.currentTarget;c.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),u(!0)},n=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let n=e.currentTarget;o&&o({type:"hoverend",target:n,pointerType:t}),r&&r(!1),u(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{i&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(s.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||i||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:s,triggerHoverEnd:n}},[t,r,o,a,c]);return(0,n.useEffect)(()=>{a&&d({currentTarget:c.target},c.pointerType)},[a]),{hoverProps:f,isHovered:s}}},1347:function(e,t,r){"use strict";let n,i,o,a,s;r.d(t,{e:function(){return rY}});var l,u,c,f,d,p,h,m,g,y={};function v(e,t){return function(){return e.apply(t,arguments)}}r.r(y),r.d(y,{hasBrowserEnv:function(){return eS},hasStandardBrowserEnv:function(){return eO},hasStandardBrowserWebWorkerEnv:function(){return eP},navigator:function(){return eT},origin:function(){return eA}});var b=r(28070);let{toString:w}=Object.prototype,{getPrototypeOf:E}=Object,x=(n=Object.create(null),e=>{let t=w.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),S=e=>(e=e.toLowerCase(),t=>x(t)===e),T=e=>t=>typeof t===e,{isArray:O}=Array,P=T("undefined"),A=S("ArrayBuffer"),C=T("string"),j=T("function"),M=T("number"),k=e=>null!==e&&"object"==typeof e,L=e=>{if("object"!==x(e))return!1;let t=E(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_=S("Date"),R=S("File"),I=S("Blob"),D=S("FileList"),N=S("URLSearchParams"),[F,B,z,U]=["ReadableStream","Request","Response","Headers"].map(S);function $(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),O(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(n=0;n<a;n++)i=o[n],t.call(null,e[i],i,e)}}}function V(e,t){let r;t=t.toLowerCase();let n=Object.keys(e),i=n.length;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let W="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,H=e=>!P(e)&&e!==W,q=(i="undefined"!=typeof Uint8Array&&E(Uint8Array),e=>i&&e instanceof i),G=S("HTMLFormElement"),Y=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),X=S("RegExp"),K=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};$(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)},J="abcdefghijklmnopqrstuvwxyz",Z="0123456789",Q={DIGIT:Z,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+Z},ee=S("AsyncFunction"),et=(l="function"==typeof setImmediate,u=j(W.postMessage),l?setImmediate:u?(c=`axios@${Math.random()}`,f=[],W.addEventListener("message",({source:e,data:t})=>{e===W&&t===c&&f.length&&f.shift()()},!1),e=>{f.push(e),W.postMessage(c,"*")}):e=>setTimeout(e)),er="undefined"!=typeof queueMicrotask?queueMicrotask.bind(W):void 0!==b&&b.nextTick||et;var en={isArray:O,isArrayBuffer:A,isBuffer:function(e){return null!==e&&!P(e)&&null!==e.constructor&&!P(e.constructor)&&j(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||j(e.append)&&("formdata"===(t=x(e))||"object"===t&&j(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&A(e.buffer)},isString:C,isNumber:M,isBoolean:e=>!0===e||!1===e,isObject:k,isPlainObject:L,isReadableStream:F,isRequest:B,isResponse:z,
30isHeaders:U,isUndefined:P,isDate:_,isFile:R,isBlob:I,isRegExp:X,isFunction:j,isStream:e=>k(e)&&j(e.pipe),isURLSearchParams:N,isTypedArray:q,isFileList:D,forEach:$,merge:function e(){let{caseless:t}=H(this)&&this||{},r={},n=(n,i)=>{let o=t&&V(r,i)||i;L(r[o])&&L(n)?r[o]=e(r[o],n):L(n)?r[o]=e({},n):O(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&$(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>($(t,(t,n)=>{r&&j(t)?e[n]=v(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,a;let s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==r&&E(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:x,kindOfTest:S,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(O(e))return e;let t=e.length;if(!M(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:G,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:K,freezeMethods:e=>{K(e,(t,r)=>{if(j(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(j(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(O(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:V,global:W,isContextDefined:H,ALPHABET:Q,generateString:(e=16,t=Q.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&j(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(k(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=O(e)?[]:{};return $(e,(e,t)=>{let o=r(e,n+1);P(o)||(i[t]=o)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:ee,isThenable:e=>e&&(k(e)||j(e))&&j(e.then)&&j(e.catch),setImmediate:et,asap:er};function ei(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}en.inherits(ei,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:en.toJSONObject(this.config),code:this.code,status:this.status}}});let eo=ei.prototype,ea={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ea[e]={value:e}}),Object.defineProperties(ei,ea),Object.defineProperty(eo,"isAxiosError",{value:!0}),ei.from=(e,t,r,n,i,o)=>{let a=Object.create(eo);return en.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),ei.call(a,e.message,t,r,n,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var es=r(71254).lW;function el(e){return en.isPlainObject(e)||en.isArray(e)}function eu(e){return en.endsWith(e,"[]")?e.slice(0,-2):e}function ec(e,t,r){return e?e.concat(t).map(function(e,t){return e=eu(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ef=en.toFlatObject(en,{},null,function(e){return/^is[A-Z]/.test(e)});var ed=function(e,t,r){if(!en.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=en.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!en.isUndefined(t[e])})).metaTokens,i=r.visitor||u,o=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&en.isSpecCompliantForm(t);if(!en.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(en.isDate(e))return e.toISOString();if(!s&&en.isBlob(e))throw new ei("Blob is not supported. Use a Buffer instead.");
30return en.isArrayBuffer(e)||en.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):es.from(e):e}function u(e,r,i){let s=e;if(e&&!i&&"object"==typeof e){if(en.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(en.isArray(e)&&(u=e,en.isArray(u)&&!u.some(el))||(en.isFileList(e)||en.endsWith(r,"[]"))&&(s=en.toArray(e)))return r=eu(r),s.forEach(function(e,n){en.isUndefined(e)||null===e||t.append(!0===a?ec([r],n,o):null===a?r:r+"[]",l(e))}),!1}}return!!el(e)||(t.append(ec(i,r,o),l(e)),!1)}let c=[],f=Object.assign(ef,{defaultVisitor:u,convertValue:l,isVisitable:el});if(!en.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!en.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),en.forEach(r,function(r,o){!0===(!(en.isUndefined(r)||null===r)&&i.call(t,r,en.isString(o)?o.trim():o,n,f))&&e(r,n?n.concat(o):[o])}),c.pop()}}(e),t};function ep(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function eh(e,t){this._pairs=[],e&&ed(e,this,t)}let em=eh.prototype;function eg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ey(e,t,r){let n;if(!t)return e;let i=r&&r.encode||eg;en.isFunction(r)&&(r={serialize:r});let o=r&&r.serialize;if(n=o?o(t,r):en.isURLSearchParams(t)?t.toString():new eh(t,r).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}em.append=function(e,t){this._pairs.push([e,t])},em.toString=function(e){let t=e?function(t){return e.call(this,t,ep)}:ep;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ev{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){en.forEach(this.handlers,function(t){null!==t&&e(t)})}}var eb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ew="undefined"!=typeof URLSearchParams?URLSearchParams:eh,eE="undefined"!=typeof FormData?FormData:null,ex="undefined"!=typeof Blob?Blob:null;let eS="undefined"!=typeof window&&"undefined"!=typeof document,eT="object"==typeof navigator&&navigator||void 0,eO=eS&&(!eT||0>["ReactNative","NativeScript","NS"].indexOf(eT.product)),eP="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eA=eS&&window.location.href||"http://localhost";var eC={...y,isBrowser:!0,classes:{URLSearchParams:ew,FormData:eE,Blob:ex},protocols:["http","https","file","blob","url","data"]},ej=function(e){if(en.isFormData(e)&&en.isFunction(e.entries)){let t={};return en.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=i>=t.length;return(o=!o&&en.isArray(n)?n.length:o,s)?en.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&en.isObject(n[o])||(n[o]=[]),e(t,r,n[o],i)&&en.isArray(n[o])&&(n[o]=function(e){let t,r;let n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(n[o]))),!a}(en.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let eM={transitional:eb,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=en.isObject(e);if(o&&en.isHTMLForm(e)&&(e=new FormData(e)),en.isFormData(e))return i?JSON.stringify(ej(e)):e;if(en.isArrayBuffer(e)||en.isBuffer(e)||en.isStream(e)||en.isFile(e)||en.isBlob(e)||en.isReadableStream(e))return e;if(en.isArrayBufferView(e))return e.buffer;if(en.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,ed(a,new eC.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return eC.isNode&&en.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},s))).toString()}if((r=en.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ed(r?{"files[]":e}
30:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,r){if(en.isString(e))try{return(0,JSON.parse)(e),en.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eM.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(en.isResponse(e)||en.isReadableStream(e))return e;if(e&&en.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw ei.from(e,ei.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eC.classes.FormData,Blob:eC.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};en.forEach(["delete","get","head","post","put","patch"],e=>{eM.headers[e]={}});let ek=en.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 eL=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&ek[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i};let e_=Symbol("internals");function eR(e){return e&&String(e).trim().toLowerCase()}function eI(e){return!1===e||null==e?e:en.isArray(e)?e.map(eI):String(e)}let eD=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eN(e,t,r,n,i){if(en.isFunction(n))return n.call(this,t,r);if(i&&(t=r),en.isString(t)){if(en.isString(n))return -1!==t.indexOf(n);if(en.isRegExp(n))return n.test(t)}}class eF{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=eR(t);if(!i)throw Error("header name must be a non-empty string");let o=en.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=eI(e))}let o=(e,t)=>en.forEach(e,(e,r)=>i(e,r,t));if(en.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(en.isString(e)&&(e=e.trim())&&!eD(e))o(eL(e),t);else if(en.isHeaders(e))for(let[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=eR(e)){let r=en.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
30for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(en.isFunction(t))return t.call(this,e,r);if(en.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eR(e)){let r=en.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eN(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=eR(e)){let i=en.findKey(r,e);i&&(!t||eN(r,r[i],i,t))&&(delete r[i],n=!0)}}return en.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eN(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return en.forEach(this,(n,i)=>{let o=en.findKey(r,i);if(o){t[o]=eI(n),delete t[i];return}let a=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();a!==i&&delete t[i],t[a]=eI(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return en.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&en.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[e_]=this[e_]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=eR(e);t[n]||(!function(e,t){let r=en.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return en.isArray(e)?e.forEach(n):n(e),this}}function eB(e,t){let r=this||eM,n=t||r,i=eF.from(n.headers),o=n.data;return en.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function ez(e){return!!(e&&e.__CANCEL__)}function eU(e,t,r){ei.call(this,null==e?"canceled":e,ei.ERR_CANCELED,t,r),this.name="CanceledError"}function e$(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ei("Request failed with status code "+r.status,[ei.ERR_BAD_REQUEST,ei.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}eF.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),en.reduceDescriptors(eF.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),en.freezeMethods(eF),en.inherits(eU,ei,{__CANCEL__:!0});var eV=function(e,t){let r;let n=Array(e=e||10),i=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[a];r||(r=l),n[o]=s,i[o]=l;let c=a,f=0;for(;c!==o;)f+=n[c++],c%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),l-r<t)return;let d=u&&l-u;return d?Math.round(1e3*f/d):void 0}},eW=function(e,t){let r,n,i=0,o=1e3/t,a=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=o?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},o-s)))},()=>r&&a(r)]};let eH=(e,t,r=3)=>{let n=0,i=eV(50,250);return eW(r=>{let o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,l=i(s);n=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},eq=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eG=e=>(...t)=>en.asap(()=>e(...t));var eY=eC.hasStandardBrowserEnv?(o=new URL(eC.origin),a=eC.navigator&&/(msie|trident)/i.test(eC.navigator.userAgent),e=>(e=new URL(e,eC.origin),o.protocol===e.protocol&&o.host===e.host&&(a||o.port===e.port))):()=>!0,eX=eC.hasStandardBrowserEnv?{write(e,t,r,n,i,o){let a=[e+"="+encodeURIComponent(t)];en.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),en.isString(n)&&a.push("path="+n),en.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eK(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eJ=e=>e instanceof eF?{...e}:e;function eZ(e,t){t=t||{};let r={};function n(e,t,r,n){return en.isPlainObject(e)&&en.isPlainObject(t)?en.merge.call({caseless:n},e,t):en.isPlainObject(t)?en.merge({},t):en.isArray(t)?t.slice():t}function i(e,t,r,i){return en.isUndefined(t)?en.isUndefined(e)?void 0:n(void 0,e,r,i):n(e,t,r,i)}function o(e,t){if(!en.isUndefined(t))return n(void 0,t)}function a(e,t){return en.isUndefined(t)?en.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
30dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>i(eJ(e),eJ(t),r,!0)};return en.forEach(Object.keys(Object.assign({},e,t)),function(n){let o=l[n]||i,a=o(e[n],t[n],n);en.isUndefined(a)&&o!==s||(r[n]=a)}),r}var eQ=e=>{let t;let r=eZ({},e),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=r;if(r.headers=s=eF.from(s),r.url=ey(eK(r.baseURL,r.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),en.isFormData(n)){if(eC.hasStandardBrowserEnv||eC.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...r].join("; "))}}if(eC.hasStandardBrowserEnv&&(i&&en.isFunction(i)&&(i=i(r)),i||!1!==i&&eY(r.url))){let e=o&&a&&eX.read(a);e&&s.set(o,e)}return r},e0="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,o,a,s;let l=eQ(e),u=l.data,c=eF.from(l.headers).normalize(),{responseType:f,onUploadProgress:d,onDownloadProgress:p}=l;function h(){a&&a(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(n),l.signal&&l.signal.removeEventListener("abort",n)}let m=new XMLHttpRequest;function g(){if(!m)return;let n=eF.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());e$(function(e){t(e),h()},function(e){r(e),h()},{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(l.method.toUpperCase(),l.url,!0),m.timeout=l.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(r(new ei("Request aborted",ei.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new ei("Network Error",ei.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",n=l.transitional||eb;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),r(new ei(t,n.clarifyTimeoutError?ei.ETIMEDOUT:ei.ECONNABORTED,e,m)),m=null},void 0===u&&c.setContentType(null),"setRequestHeader"in m&&en.forEac
30h(c.toJSON(),function(e,t){m.setRequestHeader(t,e)}),en.isUndefined(l.withCredentials)||(m.withCredentials=!!l.withCredentials),f&&"json"!==f&&(m.responseType=l.responseType),p&&([o,s]=eH(p,!0),m.addEventListener("progress",o)),d&&m.upload&&([i,a]=eH(d),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",a)),(l.cancelToken||l.signal)&&(n=t=>{m&&(r(!t||t.type?new eU(null,e,m):t),m.abort(),m=null)},l.cancelToken&&l.cancelToken.subscribe(n),l.signal&&(l.signal.aborted?n():l.signal.addEventListener("abort",n)));let y=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(y&&-1===eC.protocols.indexOf(y)){r(new ei("Unsupported protocol "+y+":",ei.ERR_BAD_REQUEST,e));return}m.send(u||null)})},e1=(e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,i=function(e){if(!r){r=!0,a();let t=e instanceof Error?e:this.reason;n.abort(t instanceof ei?t:new eU(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new ei(`timeout ${t} of ms exceeded`,ei.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=n;return s.unsubscribe=()=>en.asap(a),s}};let e2=function*(e,t){let r,n=e.byteLength;if(!t||n<t){yield e;return}let i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},e8=async function*(e,t){for await(let r of e6(e))yield*e2(r,t)},e6=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},e5=(e,t,r,n)=>{let i;let o=e8(e,t),a=0,s=e=>{!i&&(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){s(),e.close();return}let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},e3="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e4=e3&&"function"==typeof ReadableStream,e9=e3&&("function"==typeof TextEncoder?(s=new TextEncoder,e=>s.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e7=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},te=e4&&e7(()=>{let e=!1,t=new Request(eC.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),tt=e4&&e7(()=>en.isReadableStream(new Response("").body)),tr={stream:tt&&(e=>e.body)};e3&&(d=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{tr[e]||(tr[e]=en.isFunction(d[e])?t=>t[e]():(t,r)=>{throw new ei(`Response type '${e}' is not supported`,ei.ERR_NOT_SUPPORT,r)})}));let tn=async e=>{if(null==e)return 0;if(en.isBlob(e))return e.size;if(en.isSpecCompliantForm(e)){let t=new Request(eC.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return en.isArrayBufferView(e)||en.isArrayBuffer(e)?e.byteLength:(en.isURLSearchParams(e)&&(e+=""),en.isString(e))?(await e9(e)).byteLength:void 0},ti=async(e,t)=>{let r=en.toFiniteNumber(e.getContentLength());return null==r?tn(t):r},to={http:null,xhr:e0,fetch:e3&&(async e=>{let t,r,{url:n,method:i,data:o,signal:a,cancelToken:s,timeout:l,onDownloadProgress:u,onUploadProgress:c,responseType:f,headers:d,withCredentials:p="same-origin",fetchOptions:h}=eQ(e);f=f?(f+"").toLowerCase():"text";let m=e1([a,s&&s.toAbortSignal()],l),g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(c&&te&&"get"!==i&&"head"!==i&&0!==(r=await ti(d,o))){let e,t=new Request(n,{method:"POST",body:o,duplex:"half"});if(en.isFormData(o)&&(e=t.headers.get("content-type"))&&d.setContentType(e),t.body){let[e,n]=eq(r,eH(eG(c)));o=e5(t.body,65536,e,n)}}en.isString(p)||(p=p?"include":"omit");let a="credentials"in Request.prototype;t=new Request(n,{...h,signal:m,method:i.toUpperCase(),headers:d.normalize().toJSON(),body:o,duplex:"half",credentials:a?p:void 0});let s=await fetch(t),l=tt&&("stream"===f||"response"===f);if(tt&&(u||l&&g)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});let t=en.toFiniteNumber(s.headers.get("content-length")),[r,n]=u&&eq(t,eH(eG(u),!0))||[];s=new Response(e5(s.body,65536,r,()=>{n&&n(),g&&g()}),e)}f=f||"text";let y=await tr[en.findKey(tr,f)||"text"](s,e);return!l&&g&&g(),await new Promise((r,n)=>{e$(r,n,{data:y,headers:eF.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:t})})}catch(r){if(g&&g(),r&&"TypeError"===r.name&&/fetch/i.test(r.message))throw Object.assign(new ei("Network Error",ei.ERR_NETWORK,e,t),{cause:r.cause||r});throw ei.from(r,r&&r.code,e,t)}})};
30en.forEach(to,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let ta=e=>`- ${e}`,ts=e=>en.isFunction(e)||null===e||!1===e;var tl=e=>{let t,r;let{length:n}=e=en.isArray(e)?e:[e],i={};for(let o=0;o<n;o++){let n;if(r=t=e[o],!ts(t)&&void 0===(r=to[(n=String(t)).toLowerCase()]))throw new ei(`Unknown adapter '${n}'`);if(r)break;i[n||"#"+o]=r}if(!r){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new ei("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(ta).join("\n"):" "+ta(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function tu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eU(null,e)}function tc(e){return tu(e),e.headers=eF.from(e.headers),e.data=eB.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tl(e.adapter||eM.adapter)(e).then(function(t){return tu(e),t.data=eB.call(e,e.transformResponse,t),t.headers=eF.from(t.headers),t},function(t){return!ez(t)&&(tu(e),t&&t.response&&(t.response.data=eB.call(e,e.transformResponse,t.response),t.response.headers=eF.from(t.response.headers))),Promise.reject(t)})}let tf="1.7.9",td={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{td[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let tp={};td.transitional=function(e,t,r){function n(e,t){return"[Axios v"+tf+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new ei(n(i," has been removed"+(t?" in "+t:"")),ei.ERR_DEPRECATED);return t&&!tp[i]&&(tp[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}},td.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var th={assertOptions:function(e,t,r){if("object"!=typeof e)throw new ei("options must be an object",ei.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],a=t[o];if(a){let t=e[o],r=void 0===t||a(t,o,e);if(!0!==r)throw new ei("option "+o+" must be "+r,ei.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new ei("Unknown option "+o,ei.ERR_BAD_OPTION)}},validators:td};let tm=th.validators;class tg{constructor(e){this.defaults=e,this.interceptors={request:new ev,response:new ev}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:a}=t=eZ(this.defaults,t);void 0!==i&&th.assertOptions(i,{silentJSONParsing:tm.transitional(tm.boolean),forcedJSONParsing:tm.transitional(tm.boolean),clarifyTimeoutError:tm.transitional(tm.boolean)},!1),null!=o&&(en.isFunction(o)?t.paramsSerializer={serialize:o}:th.assertOptions(o,{encode:tm.function,serialize:tm.function},!0)),th.assertOptions(t,{baseUrl:tm.spelling("baseURL"),withXsrfToken:tm.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&en.merge(a.common,a[t.method]);a&&en.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eF.concat(s,a);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let f=0;if(!u){let e=[tc.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),n=e.length,r=Promise.resolve(t);f<n;)r=r.then(e[f++],e[f++]);return r}n=l.length;let d=t;for(f=0;f<n;){let e=l[f++],t=l[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{r=tc.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,n=c.length;f<n;)r=r.then(c[f++],c[f++]);return r}getUri(e){return ey(eK((e=eZ(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}
30en.forEach(["delete","get","head","options"],function(e){tg.prototype[e]=function(t,r){return this.request(eZ(r||{},{method:e,url:t,data:(r||{}).data}))}}),en.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,i){return this.request(eZ(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}tg.prototype[e]=t(),tg.prototype[e+"Form"]=t(!0)});class ty{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new eU(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ty(function(t){e=t}),cancel:e}}}let tv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
30alContent: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(tv).forEach(([e,t])=>{tv[t]=e});let tb=function e(t){let r=new tg(t),n=v(tg.prototype.request,r);return en.extend(n,tg.prototype,r,{allOwnKeys:!0}),en.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eZ(t,r))},n}(eM);tb.Axios=tg,tb.CanceledError=eU,tb.CancelToken=ty,tb.isCancel=ez,tb.VERSION=tf,tb.toFormData=ed,tb.AxiosError=ei,tb.Cancel=tb.CanceledError,tb.all=function(e){return Promise.all(e)},tb.spread=function(e){return function(t){return e.apply(null,t)}},tb.isAxiosError=function(e){return en.isObject(e)&&!0===e.isAxiosError},tb.mergeConfig=eZ,tb.AxiosHeaders=eF,tb.formToJSON=e=>ej(en.isHTMLForm(e)?new FormData(e):e),tb.getAdapter=tl,tb.HttpStatusCode=tv,tb.default=tb;var tw=Function.prototype.toString,tE=Object.create,tx=Object.prototype.toString,tS=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}(),tT="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new tS};function tO(e){if(!e)return tE(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:tE(e);if(t&&~tw.call(t).indexOf("[native code]"))try{return new t}catch(e){}return tE(e)}var tP="g"===/test/g.flags?function(e){return e.flags}:function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function tA(e){var t=tx.call(e);return t.substring(8,t.length-1)}var tC="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||tA(e)}:tA,tj=Object.defineProperty,tM=Object.getOwnPropertyDescriptor,tk=Object.getOwnPropertyNames,tL=Object.getOwnPropertySymbols,t_=Object.prototype,tR=t_.hasOwnProperty,tI=t_.propertyIsEnumerable,tD="function"==typeof tL,tN=tD?function(e){return tk(e).concat(tL(e))}:tk;function tF(e,t,r){for(var n=tN(e),i=0,o=n.length,a=void 0,s=void 0;i<o;++i)if("callee"!==(a=n[i])&&"caller"!==a){if(!(s=tM(e,a))){t[a]=r.copier(e[a],r);continue}s.get||s.set||(s.value=r.copier(s.value,r));try{tj(t,a,s)}catch(e){t[a]=s.value}}return t}function tB(e,t){return e.slice(0)}function tz(e,t){var r=new t.Constructor;return t.cache.set(e,r),e.forEach(function(e,n){r.set(n,t.copier(e,t))}),r}function tU(e,t){return new t.Constructor(e.valueOf())}function t$(e,t){return e}function tV(e,t){var r=new t.Constructor;return t.cache.set(e,r),e.forEach(function(e){r.add(t.copier(e,t))}),r}var tW=Array.isArray,tH=Object.assign,tq=Object.getPrototypeOf||function(e){return e.__proto__},tG={array:function(e,t){var r=new t.Constructor;t.cache.set(e,r);for(var n=0,i=e.length;n<i;++n)r[n]=t.copier(e[n],t);return r},arrayBuffer:tB,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(tB(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:t$,map:tz,object:tD?function(e,t){var r=tO(t.prototype);for(var n in t.cache.set(e,r),e)tR.call(e,n)&&(r[n]=t.copier(e[n],t));for(var i=tL(e),o=0,a=i.length,s=void 0;o<a;++o)s=i[o],tI.call(e,s)&&(r[s]=t.copier(e[s],t));return r}:function(e,t){var r=tO(t.prototype);for(var n in t.cache.set(e,r),e)tR.call(e,n)&&(r[n]=t.copier(e[n],t));return r},regExp:function(e,t){var r=new t.Constructor(e.source,tP(e));return r.lastIndex=e.lastIndex,r},set:tV},tY=tH({},tG,{array:function(e,t){var r=new t.Constructor;return t.cache.set(e,r),tF(e,r,t)},map:function(e,t){return tF(e,tz(e,t),t)},object:function(e,t){var r=tO(t.prototype);return t.cache.set(e,r),tF(e,r,t)},set:function(e,t){return tF(e,tV(e,t),t)}});function tX(e){var t,r={Arguments:(t=tH({},tG,e)).object,Array:t.array,ArrayBuffer:t.arrayBuffer,Blob:t.blob,Boolean:tU,DataView:t.dataView,Date:t.date,Error:t.error,Float32Array:t.arrayBuffer,Float64Array:t.arrayBuffer,Int8Array:t.arrayBuffer,Int16Array:t.arrayBuffer,Int32Array:t.arrayBuffer,Map:t.map,Number:tU,Object:t.object,Promise:t$,RegExp:t.regExp,Set:t.set,String:tU,WeakMap:t$,WeakSet:t$,Uint8Array:t.arrayBuffer,
30Uint8ClampedArray:t.arrayBuffer,Uint16Array:t.arrayBuffer,Uint32Array:t.arrayBuffer,Uint64Array:t.arrayBuffer},n=r.Array,i=r.Object;function o(e,t){if(t.prototype=t.Constructor=void 0,!e||"object"!=typeof e)return e;if(t.cache.has(e))return t.cache.get(e);if(t.prototype=tq(e),t.Constructor=t.prototype&&t.prototype.constructor,!t.Constructor||t.Constructor===Object)return i(e,t);if(tW(e))return n(e,t);var o=r[tC(e)];return o?o(e,t):"function"==typeof e.then?e:i(e,t)}return function(e){return o(e,{Constructor:void 0,cache:tT(),copier:o,prototype:void 0})}}tX(tH({},tY,{}));var tK=tX({}),tJ=r(59331);function tZ(){}r(28070);let tQ=e=>new Promise(t=>{setTimeout(t,e)}),t0=e=>Math.pow(Math.SQRT2,e);var t1=r(2348);class t2 extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}let t8=/(?<value>\d+)(%)/;function t6(e,t=7){let r=t;if(t8.test(e)){let n=e.match(t8)?.groups;n&&n.value&&(r=Math.round(parseInt(n.value)/100*t))}return Math.min(30,Math.max(1,r))}function t5(e,t){return t("info",`Throttle request to ${e}/s`),function({limit:e,interval:t,strict:r,onDelay:n}){if(!Number.isFinite(e))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw TypeError("Expected `interval` to be a finite number");let i=new Map,o=0,a=0,s=[],l=r?function(){let r=Date.now();if(s.length>0&&r-s.at(-1)>t&&(s.length=0),s.length<e)return s.push(r),0;let n=s[0]+t;return s.shift(),s.push(n),Math.max(0,n-r)}:function(){let r=Date.now();return r-o>t?(a=1,o=r,0):(a<e?a++:(o+=t,a=1),o-r)};return e=>{let t=function(...r){let o;return t.isEnabled?new Promise((t,a)=>{let s=()=>{t(e.apply(this,r)),i.delete(o)},u=l();u>0?(o=setTimeout(s,u),i.set(o,a),n?.(...r)):s()}):(async()=>e.apply(this,r))()};return t.abort=()=>{for(let e of i.keys())clearTimeout(e),i.get(e)(new t2);i.clear(),s.splice(0,s.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get:()=>i.size}),t}}({limit:e,interval:1e3,strict:!1})}var t3=(e,t="auto")=>{let{logHandler:r=tZ}=e.defaults,n=t1(t)?t6(t):t6("auto",t),i=t5(n,r),o=!1,a=e.interceptors.request.use(e=>i(()=>e)(),function(e){return Promise.reject(e)}),s=e.interceptors.response.use(s=>{if(!o&&t1(t)&&("auto"===t||t8.test(t))&&s.headers&&s.headers["x-contentful-ratelimit-second-limit"]){let l=t6(t,parseInt(s.headers["x-contentful-ratelimit-second-limit"]));l!==n&&(a&&e.interceptors.request.eject(a),n=l,i=t5(l,r),a=e.interceptors.request.use(e=>i(()=>e)(),function(e){return Promise.reject(e)})),o=!0}return s},function(e){return Promise.reject(e)});return()=>{e.interceptors.request.eject(a),e.interceptors.response.eject(s)}};let t4=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function t9({query:e}){let t={};return delete e.resolveLinks,t.params=tK(e),t}function t7(){let e=window;if(!e)return null;let t=e.navigator.userAgent,r=e.navigator.platform;return -1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(r)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(r)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(r)?"Windows":/Android/.test(t)?"Android":/Linux/.test(r)?"Linux":null}function re(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return tK(this)}})}var rt=r(16998);function rr(e){let t;let{config:r,response:n}=e;if(r&&r.headers&&r.headers.Authorization){let e=`...${r.headers.Authorization.toString().substr(-5)}`;r.headers.Authorization=`Bearer ${e}`}if(!rt(n)||!rt(r))throw e;let i=n?.data,o={status:n?.status,statusText:n?.statusText,message:"",details:{}};r&&rt(r)&&(o.request={url:r.url,headers:r.headers,method:r.method,payloadData:r.data}),i&&"object"==typeof i&&("requestId"in i&&(o.requestId=i.requestId||"UNKNOWN"),"message"in i&&(o.message=i.message||""),"details"in i&&(o.details=i.details||{}),t=i.sys?.id);let a=Error();a.name=t&&"Unknown"!==t?t:`${n?.status} ${n?.statusText}`;try{a.message=JSON.stringify(o,null," ")}catch{a.message=o?.message??""}throw a}var rn={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},ri={0:8203,1:8204,2:8205,3:65279},ro=[,,,,].fill(String.fromCodePoint(ri[0])).join("");Object.fromEntries(Object.entries(ri).map(e=>e.reverse())),Object.fromEntries(Object.entries(rn).map(e=>e.reverse()));var ra=`${Object.values(rn).map(e=>`\\u{${e.toString(16)}}`).join("")}`;function rs(e,t){return function(e,t,r="auto"){let n;return!0===r||"auto"===r&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch(e){return!1}return!0}(e))?e:`${e}${n=JSON.stringify(t),`${ro}${Array.from(n).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${n} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(ri[e])).join("")}).join("")}`}`}(e,t)}RegExp(`[${ra}]{4,}`,"gu");var rl=function(){if(g)return m;g=1;var e=function(){if(h)return p;h=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString;return p=function(r,n,i){if("[object Function]"!==t.call(n))throw TypeError("iterator must be a function");var o=r.length;if(o===+o)for(var a=0;a<o;a++)n.call(i,r[a],a,r);else for(var s in r)e.call(r,s)&&n.call(i,r[s],s,r)}}();function t(e,r,n){if(3==arguments.length)return t.set(e,r,n);if(2==arguments.length)return t.get(e,r);var i=t.bind(t,e);
30for(var o in t)t.hasOwnProperty(o)&&(i[o]=t[o].bind(i,e));return i}return m=t,t.get=function(e,r){for(var n=Array.isArray(r)?r:t.parse(r),i=0;i<n.length;++i){var o=n[i];if(!("object"==typeof e&&o in e))throw Error("Invalid reference token: "+o);e=e[o]}return e},t.set=function(e,r,n){var i=Array.isArray(r)?r:t.parse(r),o=i[0];if(0===i.length)throw Error("Can not set the root object");for(var a=0;a<i.length-1;++a){var s=i[a];"string"!=typeof s&&"number"!=typeof s&&(s=String(s)),"__proto__"===s||"constructor"===s||"prototype"===s||("-"===s&&Array.isArray(e)&&(s=e.length),o=i[a+1],s in e||(o.match(/^(\d+|-)$/)?e[s]=[]:e[s]={}),e=e[s])}return"-"===o&&Array.isArray(e)&&(o=e.length),e[o]=n,this},t.remove=function(e,r){var n=Array.isArray(r)?r:t.parse(r),i=n[n.length-1];if(void 0===i)throw Error('Invalid JSON pointer for remove: "'+r+'"');var o=t.get(e,n.slice(0,-1));if(Array.isArray(o)){var a=+i;if(""===i&&isNaN(a))throw Error('Invalid array index: "'+i+'"');Array.prototype.splice.call(o,a,1)}else delete o[i]},t.dict=function(e,r){var n={};return t.walk(e,function(e,t){n[t]=e},r),n},t.walk=function(r,n,i){var o=[];i=i||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function r(a){e(a,function(e,a){o.push(String(a)),i(e)?r(e):n(e,t.compile(o)),o.pop()})}(r)},t.has=function(e,r){try{t.get(e,r)}catch(e){return!1}return!0},t.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},t.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},t.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(t.unescape)},t.compile=function(e){return 0===e.length?"":"/"+e.map(t.escape).join("/")},m}();let ru=({pointer:e,mappings:t,data:r,hiddenStrings:n})=>{let i=t[e];if(i)for(let o of(delete t[e],rc(r,e))){t[o]=i;let e=rs(rl.get(r,o),n);rl.set(r,o,e)}else for(let t of rc(r,e)){let e=rs(rl.get(r,t),n);rl.set(r,t,e)}},rc=(e,t="")=>{let r=[],n=rl.get(e,t);if(n.content)for(let i=0;i<n.content.length;i++)"text"===n.content[i].nodeType?r.push(`${t}/content/${i}/value`):r.push(...rc(e,`${t}/content/${i}`));return r},rf=({entityId:e,entityType:t,space:r,environment:n,field:i,locale:o,editorInterface:a,fieldType:s,targetOrigin:l,platform:u})=>{let c={origin:"contentful.com",href:`${l||"https://app.contentful.com"}/spaces/${r}/environments/${n}/${"Entry"===t?"entries":"assets"}/${e}/?focusedField=${i}&focusedLocale=${o}&source=vercel-content-link`,contentful:{editorInterface:a,fieldType:s}};return"vercel"===u&&delete c.contentful,c},rd=e=>["builtin","sidebar-builtin","editor-builtin"].includes(e),rp=e=>rh.includes(e),rh=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function rm(e,t,r,n,i,o,a){let s=a?t[a]:t;switch(e){case"Symbol":{let e=rs(s,r);rl.set(n,i,e);break}case"Text":{let e=rs(s,r);rl.set(n,i,e);break}case"RichText":ru({pointer:"",mappings:o,data:s,hiddenStrings:r});break;case"Array":{let e=s.map(e=>"string"==typeof e?rs(e,r):e);rl.set(n,i,e)}}}let rg=(e,t,r,n,i)=>{if(!e.fields)return;let{contentSourceMaps:o}=e.sys;if(!o){console.error("Content source maps data is missing");return}let{mappings:a}=o;for(let o in a){let{source:s}=a[o],l=e.sys.space.sys.id,u=e.sys.environment.sys.id,c=e.sys.id,f=e.sys.type,d=t[s.fieldType],p=r[s.editorInterface];if(rd(p.widgetNamespace)&&!rp(p.widgetId))continue;let h=o.startsWith("/")?o:`/${o}`;if(rl.has(e,h)){let t=rl.get(e,h);if(null===t)return;let r=h.split("/").pop();if(!r){console.error("Field name could not be extracted from the pointer",h);return}let o=e.sys.locale;if(o){let s=rf({entityId:c,entityType:f,space:l,environment:u,field:r,locale:o,editorInterface:p,fieldType:d,targetOrigin:n,platform:i});rm(d,t,s,e,h,a)}else Object.keys(t).forEach(o=>{let s=rf({entityId:c,entityType:f,space:l,environment:u,field:r,locale:o,editorInterface:p,fieldType:d,targetOrigin:n,platform:i});rm(d,t,s,e,`${h}/${o}`,a,o)})}}},ry=(e,t,r)=>{var n;let i=function(e){if("function"==typeof structuredClone)return structuredClone(e);try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("Failed to clone data:",e,t),e}}(e);if(i.sys&&"items"in i){if(!(null!=(n=i.sys)&&n.contentSourceMapsLookup))return console.error("Content source maps lookup data is missing"),i;
30let{contentSourceMapsLookup:{fieldTypes:e,editorInterfaces:o}}=i.sys,{items:a,includes:s}=i;a.forEach(n=>rg(n,e,o,t,r)),s&&s.Entry&&s.Entry.forEach(n=>rg(n,e,o,t,r)),s&&s.Asset&&s.Asset.forEach(n=>rg(n,e,o,t,r))}else{if(!i.sys.contentSourceMapsLookup)return console.error("Content source maps lookup data is missing"),i;rg(i,i.sys.contentSourceMapsLookup.fieldTypes,i.sys.contentSourceMapsLookup.editorInterfaces,t,r)}return i};var rv=r(8934),rb=r.n(rv),rw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rE=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")};function rx(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}var rS={},rT=function(e,t){var r=t.entryId,n=t.linkType,i=t.spaceId,o=t.environmentId;return i&&o?e.get(i+"!"+o+"!"+n+"!"+r):e.get(n+"!"+r)},rO=function(e){var t=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(t.test(e)){var r=rE(e.match(t),4),n=(r[0],r[1]),i=r[2];return{spaceId:n,environmentId:void 0===i?"master":i,entryId:r[3]}}},rP=function(e,t){var r=t.sys,n=r.type,i=r.linkType;if("ResourceLink"===n){if(!i.startsWith("Contentful:"))return t;var o=rO(t.sys.urn),a=o.spaceId,s=o.environmentId,l=o.entryId;return rT(e,{linkType:i.split(":")[1],entryId:l,spaceId:a,environmentId:s})||rS}return rT(e,{linkType:i,entryId:t.sys.id})||rS},rA=function(e){if(Array.isArray(e))return e.filter(function(e){return e!==rS});for(var t in e)e[t]===rS&&delete e[t];return e},rC=function e(t,r,n,i){if(r(t))return n(t);if(t&&(void 0===t?"undefined":rw(t))==="object"){for(var o in t)t.hasOwnProperty(o)&&(t[o]=e(t[o],r,n,i));i&&(t=rA(t))}return t},rj=function(e,t,r){var n=rP(e,t);return n===rS?r?n:t:n},rM=function(e,t){if(t=t||{},!e.items)return[];var r=rb()(e),n=Object.keys(r.includes||{}).reduce(function(t,r){return[].concat(rx(t),rx(e.includes[r]))},[]),i=[].concat(rx(r.items),rx(n)).filter(function(e){return!!e.sys}),o=new Map(i.reduce(function(e,t){var r,n=((r=t.sys).space&&r.environment?[r.type+"!"+r.id,r.space.sys.id+"!"+r.environment.sys.id+"!"+r.type+"!"+r.id]:[r.type+"!"+r.id]).map(function(e){return[e,t]});return e.push.apply(e,rx(n)),e},[]));return i.forEach(function(e){var r,n=Array.isArray(r=t.itemEntryPoints)?Object.keys(e).filter(function(e){return -1!==r.indexOf(e)}).reduce(function(t,r){return t[r]=e[r],t},{}):e;Object.assign(e,rC(n,function(e){return e&&e.sys&&"Link"===e.sys.type||e&&e.sys&&"ResourceLink"===e.sys.type},function(e){return rj(o,e,t.removeUnresolved)},t.removeUnresolved))}),r.items},rk=r(9842);function rL(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(e=null,t=""){return rk(this,e,t,(e,t)=>({sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}))}})}async function r_(e,t,r){var n;if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t.content_type&&!t.type)t.type="Entry";else if(t.content_type&&t.type&&"Entry"!==t.type)throw Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");let{withoutLinkResolution:i,withoutUnresolvableLinks:o,paginate:a}=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),r),s=await rR(e,[],t,{paginate:a});i||(s.items=rM(s,{removeUnresolved:o,itemEntryPoints:["fields"]}));let l=function(e){let t=e=>(t,r)=>(r.sys.type===e&&t.push(re(r)),t);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(s.items);return s.nextSyncToken&&(l.nextSyncToken=s.nextSyncToken),s.nextPageToken&&
30(l.nextPageToken=s.nextPageToken),!function e(t){for(let r of Object.getOwnPropertyNames(t)){let n=t[r];n&&"object"==typeof n&&e(n)}return Object.freeze(t)}((n=rL(re(l))).sys||{}),n}async function rR(e,t,r,{paginate:n}){let i=r.nextPageToken?{sync_token:r.nextPageToken}:r.nextSyncToken?{sync_token:r.nextSyncToken}:r.sync_token?{sync_token:r.sync_token}:r,o=(await e.get("sync",t9({query:i}))).data||{};return(t=t.concat(o.items||[]),o.nextPageUrl)?n?(delete i.initial,i.sync_token=rI(o.nextPageUrl),rR(e,t,i,{paginate:n})):{items:t,nextPageToken:rI(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:rI(o.nextSyncUrl)}:{items:[]}}function rI(e){let t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function rD(e){let t={},r=!1;for(let n in e)Array.isArray(e[n])&&(t[n]=e[n].join(","),r=!0);return r?Object.assign(Object.assign({},e),t):e}function rN(e){return e.select?new Set(Array.isArray(e.select)?e.select:e.select.split(",").map(e=>e.trim())):new Set}function rF(e){if(!e.select)return e;let t=rN(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:[...t].join(",")}))}function rB(e,{resolveLinks:t,removeUnresolved:r}){let n=rL(e);return t&&(n.items=rM(n,{removeUnresolved:r,itemEntryPoints:["fields"]})),n}class rz extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}function rU(e,t){t?function(e){if(e.locale)throw new rz("locale","The `locale` parameter is not allowed")}(e):function(e){if("*"===e.locale)throw new rz("locale","The use of locale='*' is no longer supported.To fetch an entry in all existing locales,\n use client.withAllLocales instead of the locale='*' parameter.")}(e)}function r$(e){if("resolveLinks"in e)throw new rz("resolveLinks","The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved.\n If you do not want to resolve links, use client.withoutLinkResolution.")}function rV(e){if("removeUnresolved"in e)throw new rz("removeUnresolved","The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects.\n If you do not want to include unresolved links, use client.withoutUnresolvableLinks.")}function rW(e){for(let t in e){let r=e[t];if("object"==typeof r&&null!==r&&!Array.isArray(r))throw Error(`Objects are not supported as value for the "${t}" query parameter.`)}}class rH extends Error{constructor(e,t,r){super("The resource could not be found."),this.sys={type:"Error",id:"NotFound"},this.details={type:"Entry",id:e,environment:t,space:r}}}function rq({http:e,getGlobalOptions:t},r){let n=(e="unknown")=>new rH(e,t().environment,t().space),i=e=>{let r="space"===e?t().spaceBaseUrl:t().environmentBaseUrl;if(!r)throw Error("Please define baseUrl for "+e);return r.endsWith("/")||(r+="/"),r};function o(t={}){var r,n;let i=e.httpClientParams,o=null!==(r=null==i?void 0:i.includeContentSourceMaps)&&void 0!==r?r:null===(n=null==i?void 0:i.alphaFeatures)||void 0===n?void 0:n.includeContentSourceMaps;if(function(e,t){if(void 0===t)return!1;if("boolean"!=typeof t)throw new rz("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");if(t&&"preview.contentful.com"!==e)throw new rz("includeContentSourceMaps","The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' to include Content Source Maps.\n ");return t}(null==i?void 0:i.host,o)&&(t.includeContentSourceMaps=!0,t.select)){let e=rN(t);e.add("sys"),t.select=Array.from(e).join(",")}return t}async function a({context:t,path:r,config:n}){let o=i(t);try{var a,s;return a=(await e.get(o+r,n)).data,(null===(s=null==n?void 0:n.params)||void 0===s?void 0:s.includeContentSourceMaps)?ry(a):a}catch(e){rr(e)}}async function s({context:t,path:r,data:n,config:o}){let a=i(t);try{return(await e.post(a+r,n,o)).data}catch(e){rr(e)}}async function l(e,t,r={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:n}=r;return rU(t,n),r$(t),rV(t),rW(t),u(e,n?Object.assign(Object.assign({},t),{locale:"*"}):t,r)}async function u(e,t,r){if(!e)throw n(e);try{let i=await f(Object.assign({"sys.id":e},o(t)),r);if(i.items.length>0)return i.items[0];throw n(e)}catch(e){rr(e)}}async function c(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:r}=t;return rU(e,r),r$(e),rV(e),rW(e),f(r?Object.assign(Object.assign({},e),{locale:"*"}):e,t)}async function f(e,t){let{withoutLinkResolution:r,withoutUnresolvableLinks:n}=t;
30try{let t=await a({context:"environment",path:"entries",config:t9({query:o(rD(rF(e)))})});return rB(t,{resolveLinks:!r,removeUnresolved:null!=n&&n})}catch(e){rr(e)}}async function d(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:r}=t;return rU(e,r),rW(e),m(r?Object.assign(Object.assign({},e),{locale:"*"}):e)}async function p(e,t){try{return a({context:"environment",path:`assets/${e}`,config:t9({query:o(rF(t))})})}catch(e){rr(e)}}async function h(e,t,r={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:n}=r;return rU(t,n),rW(t),p(e,n?Object.assign(Object.assign({},t),{locale:"*"}):t)}async function m(e){try{return a({context:"environment",path:"assets",config:t9({query:o(rD(rF(e)))})})}catch(e){rr(e)}}async function g(r,n,i={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){r$(r),rV(r);let o=Object.assign(Object.assign({},n),i);return e.defaults.baseURL=t().environmentBaseUrl,r_(e,r,o)}async function y(e,t={}){try{return a({context:"environment",path:`taxonomy/concept-schemes/${e}`,config:t9({query:rD(rF(t))})})}catch(e){rr(e)}}async function v(e={}){try{return a({context:"environment",path:"taxonomy/concept-schemes",config:t9({query:rD(rF(e))})})}catch(e){rr(e)}}async function b(e,t={}){try{return a({context:"environment",path:`taxonomy/concepts/${e}`,config:t9({query:rD(rF(t))})})}catch(e){rr(e)}}async function w(e={}){try{return a({context:"environment",path:"taxonomy/concepts",config:t9({query:rD(rF(e))})})}catch(e){rr(e)}}return{version:"11.3.2",getSpace:async function(){return a({context:"space",path:""})},getContentType:async function(e){return a({context:"environment",path:`content_types/${e}`})},getContentTypes:async function(e={}){return a({context:"environment",path:"content_types",config:t9({query:e})})},getAsset:async function(e,t={}){return h(e,t,r)},getAssets:async function(e={}){return d(e,r)},getTag:async function(e){return a({context:"environment",path:`tags/${e}`})},getTags:async function(e={}){return rW(e),a({context:"environment",path:"tags",config:t9({query:rD(rF(e))})})},getLocales:async function(e={}){return rW(e),a({context:"environment",path:"locales",config:t9({query:rF(e)})})},parseEntries:function(e){return function(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){return function(e,t){let{withoutLinkResolution:r,withoutUnresolvableLinks:n}=t;return rB(e,{resolveLinks:!r,removeUnresolved:null!=n&&n})}(e,t)}(e,r)},sync:async function(e,t={paginate:!0}){return g(e,t,r)},getEntry:async function(e,t={}){return l(e,t,r)},getEntries:async function(e={}){return c(e,r)},getConceptScheme:function(e,t={}){return y(e,t)},getConceptSchemes:function(e={}){return v(e)},getConcept:function(e,t={}){return b(e,t)},getConcepts:function(e={}){return w(e)},createAssetKey:async function(e){try{let t=Math.floor(Date.now()/1e3);!function(e,t,r){if(r=r||{},"number"!=typeof t)throw new rz(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(r.maximum&&t>r.maximum)throw new rz(e,`value (${t}) cannot be further in the future than expected maximum (${r.maximum})`);if(r.now&&t<r.now)throw new rz(e,`value (${t}) cannot be in the past, current time was ${r.now}`)}("expiresAt",e,{maximum:t+172800,now:t})}catch(e){rr(e)}return s({context:"environment",path:"asset_keys",data:{expiresAt:e}})}}}let rG=({http:e,getGlobalOptions:t})=>{function r(n){return function({http:e,getGlobalOptions:t},r,n){let i=rq({http:e,getGlobalOptions:t},r)||{};return Object.defineProperty(i,"withAllLocales",{get:()=>n(Object.assign(Object.assign({},r),{withAllLocales:!0}))}),Object.defineProperty(i,"withoutLinkResolution",{get:()=>n(Object.assign(Object.assign({},r),{withoutLinkResolution:!0}))}),Object.defineProperty(i,"withoutUnresolvableLinks",{get:()=>n(Object.assign(Object.assign({},r),{withoutUnresolvableLinks:!0}))}),Object.create(i)}({http:e,getGlobalOptions:t},n,r)}return Object.assign(Object.assign({},rq({http:e,getGlobalOptions:t},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1})),{get withAllLocales(){return r({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return r({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return r({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})};function rY(e){var t;if(!e.accessToken)throw TypeError("Expected parameter accessToken");if(!e.space)throw TypeError("Expected parameter space");r$(e),rV(e);let r=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),n=function(e,t,r,n){let i=[];t&&i.push(`app ${t}`),r&&i.push(`integration ${r}`),i.push(`sdk ${e}`);let o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=t7(),i.push("platform ReactNative")):(o=t7(),i.push("platform browser"))}catch(e){o=null}return o&&i.push(`os ${o}`),`${i.filter(e=>""!==e).join("; ")};`}("contentful.js/11.3.2",r.application,r.integration);r.headers=Object.assign(Object.assign({},r.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":n});let i=function e(t,r){let n={insecure:!1,retryOnError:!0,logHandler:(e,t)=>
30{if("error"===e&&t){let e=[t.name,t.message].filter(e=>e).join(" - ");console.error(`[error] ${e}`),console.error(t);return}console.log(`[${e}] ${t}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824,...r};if(!n.accessToken){let e=TypeError("Expected parameter accessToken");throw n.logHandler("error",e),e}let i=n.insecure?"http":"https",o=n.space?`${n.space}/`:"",a=n.defaultHostname,s=n.insecure?80:443;if(n.host&&t4.test(n.host)){let e=n.host.split(":");2===e.length?[a,s]=e:a=e[0]}n.basePath&&(n.basePath=`/${n.basePath.split("/").filter(Boolean).join("/")}`);let l=r.baseURL||`${i}://${a}:${s}${n.basePath}/spaces/${o}`;n.headers.Authorization||"function"==typeof n.accessToken||(n.headers.Authorization="Bearer "+n.accessToken);let u={baseURL:l,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,paramsSerializer:{serialize:e=>tJ.stringify(e)},logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},c=t.create(u);return c.httpClientParams=r,c.cloneWithNewParams=function(n){return e(t,{...function(e){let t=tK(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}(r),...n})},n.onBeforeRequest&&c.interceptors.request.use(n.onBeforeRequest),"function"==typeof n.accessToken&&function(e,t){e.interceptors.request.use(function(e){return t().then(t=>(e.headers.set("Authorization",`Bearer ${t}`),e))})}(c,n.accessToken),n.throttle&&t3(c,n.throttle),!function(e,t=5){let{responseLogger:r=tZ,requestLogger:n=tZ}=e.defaults;e.interceptors.request.use(function(e){return n(e),e},function(e){return n(e),Promise.reject(e)}),e.interceptors.response.use(function(e){return r(e),e},async function(n){let{response:i}=n,{config:o}=n;if(r(n),!o||!e.defaults.retryOnError)return Promise.reject(n);let a=o.attempts||1;if(a>t)return n.attempts=o.attempts,Promise.reject(n);let s=null,l=t0(a);return(i?i.status>=500&&i.status<600?s=`Server ${i.status}`:429===i.status&&(s="Rate limit",i.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(l=i.headers["x-contentful-ratelimit-reset"])):s="Connection",s)?(l=Math.floor(1e3*l+200*Math.random()+500),e.defaults.logHandler("warning",`${s} error occurred. Waiting for ${l} ms before retrying...`),o.attempts=a+1,delete o.httpAgent,delete o.httpsAgent,tQ(l).then(()=>e(o))):Promise.reject(n)})}(c,n.retryLimit),n.onError&&c.interceptors.response.use(e=>e,n.onError),c}(tb,r);if(!i.defaults.baseURL)throw Error("Please define a baseURL");let o=(t={space:r.space,environment:r.environment,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${r.environment}`},function(e){return Object.assign({},t,e)});return i.defaults.baseURL=o({}).environmentBaseUrl,rG({http:i,getGlobalOptions:o})}},23941:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});let n={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function i(e={}){let t,r,o;let a=!1,s=!0,l=!1,u=0;function c(){if(o||!s)return;a||r.emit("autoplay:play");let{ownerWindow:e}=r.internalEngine();e.clearInterval(u),u=e.setInterval(m,t.delay),a=!0}function f(){if(o)return;a&&r.emit("autoplay:stop");let{ownerWindow:e}=r.internalEngine();e.clearInterval(u),u=0,a=!1}function d(){if(p())return s=a,f();s&&c()}function p(){let{ownerDocument:e}=r.internalEngine();return"hidden"===e.visibilityState}function h(e){void 0!==e&&(l=e),s=!0,c()}function m(){let{index:e}=r.internalEngine(),n=e.clone().add(1).get(),i=r.scrollSnapList().length-1;t.stopOnLastSnap&&n===i&&f(),r.canScrollNext()?r.scrollNext(l):r.scrollTo(0,l)}return{name:"autoplay",options:e,init:function(a,u){r=a;let{mergeOptions:h,optionsAtMedia:m}=u,g=h(n,i.globalOptions);if(t=m(h(g,e)),r.scrollSnapList().length<=1)return;l=t.jump,o=!1;let{eventStore:y,ownerDocument:v}=r.internalEngine(),b=r.rootNode(),w=t.rootNode&&t.rootNode(b)||b,E=r.containerNode();r.on("pointerDown",f),t.stopOnInteraction||r.on("pointerUp",c),t.stopOnMouseEnter&&(y.add(w,"mouseenter",()=>{s=!1,f()}),t.stopOnInteraction||y.add(w,"mouseleave",()=>{s=!0,c()})),t.stopOnFocusIn&&(r.on("slideFocusStart",f),t.stopOnInteraction||y.add(E,"focusout",c)),y.add(v,"visibilitychange",d),t.playOnInit&&!p()&&c()},destroy:function(){r.off("pointerDown",f).off("pointerUp",c).off("slideFocusStart",f),f(),o=!0,a=!1},play:h,stop:function(){a&&f()},reset:function(){a&&h()},isPlaying:function(){return a}}}i.globalOptions=void 0},8853:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(86159);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&r.every(r=>{let n=e[r],a=t[r];return"function"==typeof n?`${n}`==`${a}`:i(n)&&i(a)?o(n,a):n===a})}function a(e){return e.concat().sort((e,t)=>
30e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function l(e){return"string"==typeof e}function u(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function f(e){return Math.abs(e)}function d(e){return Math.sign(e)}function p(e){return y(e).map(Number)}function h(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function g(e,t=0){return Array.from(Array(e),(e,r)=>t+r)}function y(e){return Object.keys(e)}function v(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(r,n,i,o={passive:!0}){let a;return"addEventListener"in r?(r.addEventListener(n,i,o),a=()=>r.removeEventListener(n,i,o)):(r.addListener(i),a=()=>r.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function w(e=0,t=0){let r=f(e-t);function n(r){return r<e||r>t}return{length:r,max:t,min:e,constrain:function(r){return n(r)?r<e?e:t:r},reachedAny:n,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return r?e-r*Math.ceil((e-t)/r):e}}}function E(e){let t=e;function r(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=r(e)},add:function(e){t+=r(e)},subtract:function(e){t-=r(e)}}}function x(e,t){let r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},n=t.style,i=!1;return{clear:function(){i||(n.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){i||(n.transform=r(e.direction(t)))},toggleActive:function(e){i=!e}}}let S={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function T(e,t,r){let n,i,o,a,O;let P=e.ownerDocument,A=P.defaultView,C=function(e){function t(e,t){return function e(t,r){return[t,r].reduce((t,r)=>(y(r).forEach(n=>{let i=t[n],o=r[n],a=c(i)&&c(o);t[n]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(r){let n=r.breakpoints||{},i=y(n).filter(t=>e.matchMedia(t).matches).map(e=>n[e]).reduce((e,r)=>t(e,r),{});return t(r,i)},optionsMediaQueries:function(t){return t.map(e=>y(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(A),j=(O=[],{init:function(e,t){return(O=t.filter(({options:e})=>!1!==C.optionsAtMedia(e).active)).forEach(t=>t.init(e,C)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){O=O.filter(e=>e.destroy())}}),M=b(),k=function(){let e,t={},r={init:function(t){e=t},emit:function(n){return(t[n]||[]).forEach(t=>t(e,n)),r},off:function(e,n){return t[e]=(t[e]||[]).filter(e=>e!==n),r},on:function(e,n){return t[e]=(t[e]||[]).concat([n]),r},clear:function(){t={}}};return r}(),{mergeOptions:L,optionsAtMedia:_,optionsMediaQueries:R}=C,{on:I,off:D,emit:N}=k,F=!1,B=L(S,T.globalOptions),z=L(B),U=[];function $(t,r){!F&&(z=_(B=L(B,t)),U=r||U,function(){let{container:t,slides:r}=z;o=(l(t)?e.querySelector(t):t)||e.children[0];let n=l(r)?o.querySelectorAll(r):r;a=[].slice.call(n||o.children)}(),n=function t(r){let n=function(e,t,r,n,i,o,a){let c,S;let{align:T,axis:O,direction:P,startIndex:A,loop:C,duration:j,dragFree:M,dragThreshold:k,inViewThreshold:L,slidesToScroll:_,skipSnaps:R,containScroll:I,watchResize:D,watchSlides:N,watchDrag:F,watchFocus:B}=o,z={measure:function(e){let{offsetTop:t,offsetLeft:r,offsetWidth:n,offsetHeight:i}=e;return{top:t,right:r+n,bottom:t+i,left:r,width:n,height:i}}},U=z.measure(t),$=r.map(z.measure),V=function(e,t){let r="rtl"===t,n="y"===e,i=!n&&r?-1:1;return{scroll:n?"y":"x",cross:n?"x":"y",startEdge:n?"top":r?"right":"left",endEdge:n?"bottom":r?"left":"right",measureSize:function(e){let{height:t,width:r}=e;return n?t:r},direction:function(e){return e*i}}}(O,P),W=V.measureSize(U),H={measure:function(e){return e/100*W}},q=function(e,t){let r={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}}
30;return{measure:function(n,i){return l(e)?r[e](n):e(t,n,i)}}}(T,W),G=!C&&!!I,{slideSizes:Y,slideSizesWithGaps:X,startGap:K,endGap:J}=function(e,t,r,n,i,o){let{measureSize:a,startEdge:s,endEdge:l}=e,u=r[0]&&i,c=function(){if(!u)return 0;let e=r[0];return f(t[s]-e[s])}(),d=u?parseFloat(o.getComputedStyle(h(n)).getPropertyValue(`margin-${l}`)):0,p=r.map(a),g=r.map((e,t,r)=>{let n=t===m(r);return t?n?p[t]+d:r[t+1][s]-e[s]:p[t]+c}).map(f);return{slideSizes:p,slideSizesWithGaps:g,startGap:c,endGap:d}}(V,U,$,r,C||!!I,i),Z=function(e,t,r,n,i,o,a,l,u){let{startEdge:c,endEdge:d,direction:g}=e,y=s(r);return{groupSlides:function(e){return y?p(e).filter(e=>e%r==0).map(t=>e.slice(t,t+r)):e.length?p(e).reduce((r,s,u)=>{let p=h(r)||0,y=s===m(e),v=i[c]-o[p][c],b=i[c]-o[s][d],w=n||0!==p?0:g(a),E=f(b-(!n&&y?g(l):0)-(v+w));return u&&E>t+2&&r.push(s),y&&r.push(e.length),r},[]).map((t,r,n)=>{let i=Math.max(n[r-1]||0);return e.slice(i,t)}):[]}}}(V,W,_,C,U,$,K,J,0),{snaps:Q,snapsAligned:ee}=function(e,t,r,n,i){let{startEdge:o,endEdge:a}=e,{groupSlides:s}=i,l=s(n).map(e=>h(e)[a]-e[0][o]).map(f).map(t.measure),u=n.map(e=>r[o]-e[o]).map(e=>-f(e)),c=s(u).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:u,snapsAligned:c}}(V,q,U,$,Z),et=-h(Q)+h(X),{snapsContained:er,scrollContainLimit:en}=function(e,t,r,n,i){let o=w(-t+e,0),a=r.map((e,t)=>{let{min:n,max:i}=o,a=o.constrain(e),s=t===m(r);return t?s||1>f(n-a)?n:1>f(i-a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),s=function(){let e=a[0],t=h(a);return w(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===n)return a;let{min:r,max:i}=s;return a.slice(r,i)}(),scrollContainLimit:s}}(W,et,ee,I,0),ei=G?er:ee,{limit:eo}=function(e,t,r){let n=t[0];return{limit:w(r?n-e:h(t),n)}}(et,ei,C),ea=function e(t,r,n){let{constrain:i}=w(0,t),o=t+1,a=s(r);function s(e){return n?f((o+e)%o):i(e)}function l(){return e(t,a,n)}let u={get:function(){return a}
30,set:function(e){return a=s(e),u},add:function(e){return l().set(a+e)},clone:l};return u}(m(ei),A,C),es=ea.clone(),el=p(r),eu=({dragHandler:e,scrollBody:t,scrollBounds:r,options:{loop:n}},i)=>{n||r.constrain(e.pointerDown()),t.seek(i)},ec=({scrollBody:e,translate:t,location:r,offsetLocation:n,scrollLooper:i,slideLooper:o,dragHandler:a,animation:s,eventHandler:l,scrollBounds:u,options:{loop:c}},f)=>{let d=e.settled(),p=!u.shouldConstrain(),h=c?d:d&&p;h&&!a.pointerDown()&&(s.stop(),l.emit("settle")),h||l.emit("scroll");let m=r.get()*f+eh.get()*(1-f);n.set(m),c&&(i.loop(e.direction()),o.loop()),t.to(n.get())},ef=function(e,t,r,n){let i=b(),o=1e3/60,a=null,s=0,l=0;function u(e){if(!l)return;a||(a=e);let i=e-a;for(a=e,s+=i;s>=o;)r(o),s-=o;n(s/o),l&&t.requestAnimationFrame(u)}function c(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){c(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(u))},stop:c,update:()=>r(o),render:n}}(n,i,e=>eu(eO,e),e=>ec(eO,e)),ed=ei[ea.get()],ep=E(ed),eh=E(ed),em=E(ed),eg=E(ed),ey=function(e,t,r,n,i,o){let a=0,s=0,l=i,u=.68,c=e.get(),p=0;function h(e){return l=e,g}function m(e){return u=e,g}let g={direction:function(){return s},duration:function(){return l},velocity:function(){return a},seek:function(t){let i=t/1e3,o=l*i,f=n.get()-e.get(),h=0;return l?(r.set(e),a+=f/o,a*=u,c+=a,e.add(a*i),h=c-p):(a=0,r.set(n),e.set(n),h=f),s=d(h),p=c,g},settled:function(){return .001>f(n.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return h(i)},useFriction:m,useDuration:h};return g}(ep,em,eh,eg,j,0),ev=function(e,t,r,n,i){let{reachedAny:o,removeOffset:a,constrain:s}=n;function l(e){return e.concat().sort((e,t)=>f(e)-f(t))[0]}function u(t,n){let i=[t,t+r,t-r];if(!e)return t;if(!n)return l(i);let o=i.filter(e=>d(e)===n);return o.length?l(o):h(i)-r}return{byDistance:function(r,n){let l=i.get()+r,{index:c,distance:d}=function(r){let n=e?a(r):s(r),{index:i}=t.map((e,t)=>({diff:u(e-n,0),index:t})).sort((e,t)=>f(e.diff)-f(t.diff))[0];return{index:i,distance:n}}(l),p=!e&&o(l);if(!n||p)return{index:c,distance:r};let h=r+u(t[c]-d,0);return{index:c,distance:h}},byIndex:function(e,r){let n=u(t[e]-i.get(),r);return{index:e,distance:n}},shortcut:u}}(C,ei,et,eo,eg),eb=function(e,t,r,n,i,o,a){function s(i){let s=i.distance,l=i.index!==t.get();
30o.add(s),s&&(n.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(r.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,r){let n=t.clone().set(e);s(i.byIndex(n.get(),r))}}}(ef,ea,es,ey,ev,eg,a),ew=function(e){let{max:t,length:r}=e;return{get:function(e){return r?-((e-t)/r):0}}}(eo),eE=b(),ex=function(e,t,r,n){let i;let o={},a=null,s=null,l=!1;return{init:function(){i=new IntersectionObserver(e=>{l||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,s=null,r.emit("slidesInView"))},{root:e.parentElement,threshold:n}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;let t=y(o).reduce((t,r)=>{let n=parseInt(r),{isIntersecting:i}=o[n];return(e&&i||!e&&!i)&&t.push(n),t},[]);return e&&(a=t),e||(s=t),t}}}(t,r,a,L),{slideRegistry:eS}=function(e,t,r,n,i,o){let{groupSlides:a}=i,{min:s,max:l}=n;return{slideRegistry:function(){let n=a(o);return 1===r.length?[o]:e&&"keepSnaps"!==t?n.slice(s,l).map((e,t,r)=>{let n=t===m(r);return t?n?g(m(o)-h(r)[0]+1,h(r)[0]):e:g(h(r[0])+1)}):n}()}}(G,I,ei,en,Z,el),eT=function(e,t,r,n,i,o,a,l){let c={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(p){l&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(u(l)||l(p,t))&&function(t){if(new Date().getTime()-f>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=r.findIndex(e=>e.includes(t));s(o)&&(i.useDuration(0),n.index(o,0),a.emit("slideFocus"))}(d)},c)}))}}}(e,r,eS,eb,ey,eE,a,B),eO={ownerDocument:n,ownerWindow:i,eventHandler:a,containerRect:U,slideRects:$,animation:ef,axis:V,dragHandler:function(e,t,r,n,i,o,a,s,l,c,p,h,m,g,y,E,x,S,T){let{cross:O,direction:P}=e,A=["INPUT","SELECT","TEXTAREA"],C={passive:!1},j=b(),M=b(),k=w(50,225).constrain(g.measure(20)),L={mouse:300,touch:400},_={mouse:500,touch:600},R=y?43:25,I=!1,D=0,N=0,F=!1,B=!1,z=!1,U=!1;function $(e){if(!v(e,n)&&e.touches.length>=2)return V(e);let t=o.readPoint(e),r=o.readPoint(e,O),a=f(t-D),l=f(r-N);if(!B&&!U&&(!e.cancelable||!(B=a>l)))return V(e);let u=o.pointerMove(e);a>E&&(z=!0),c.useFriction(.3).useDuration(.75),s.start(),i.add(P(u)),e.preventDefault()}function V(e){let t=p.byDistance(0,!1).index!==h.get(),r=o.pointerUp(e)*(y?_:L)[U?"mouse":"touch"],n=function(e,t){let r=h.add(-1*d(e)),n=p.byDistance(e,!y).distance;return y||f(e)<k?n:x&&t?.5*n:p.byIndex(r.get(),0).distance}(P(r),t),i=function(e,t){var r,n;if(0===e||0===t||f(e)<=f(t))return 0;let i=(r=f(e),n=f(t),f(r-n));return f(i/e)}(r,n);B=!1,F=!1,M.clear(),c.useDuration(R-10*i).useFriction(.68+i/50),l.distance(n,!y),U=!1,m.emit("pointerUp")}function W(e){z&&(e.stopPropagation(),e.preventDefault(),z=!1)}return{init:function(e){T&&j.add(t,"dragstart",e=>e.preventDefault(),C).add(t,"touchmove",()=>void 0,C).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",V).add(t,"contextmenu",V).add(t,"click",W,!0);function s(s){(u(T)||T(e,s))&&function(e){let s=v(e,n);U=s,z=y&&s&&!e.buttons&&I,I=f(i.get()-a.get())>=2,s&&0!==e.button||function(e){let t=e.nodeName||"";return A.includes(t)}(e.target)||(F=!0,o.pointerDown(e),c.useFriction(0).useDuration(0),i.set(a),function(){let e=U?r:t;M.add(e,"touchmove",$,C).add(e,"touchend",V).add(e,"mousemove",$,C).add(e,"mouseup",V)}(),D=o.readPoint(e),N=o.readPoint(e,O),m.emit("pointerDown"))}(s)}},destroy:function(){j.clear(),M.clear()},pointerDown:function(){return F}}}(V,e,n,i,eg,function(e,t){let r,n;function i(e){return e.timeStamp}function o(r,n){let i=n||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(v(r,t)?r:r.touches[0])[o]}return{pointerDown:function(e){return r=e,n=e,o(e)},pointerMove:function(e){let t=o(e)-o(n),a=i(e)-i(r)>170;return n=e,a&&(r=e),t},pointerUp:function(e){if(!r||!n)return 0;let t=o(n)-o(r),a=i(e)-i(r),s=i(e)-i(n)>170,l=t/a;return a&&!s&&f(l)>.1?l:0},readPoint:o}}(V,i),ep,ef,eb,ey,ev,ea,a,H,M,k,R,0,F),eventStore:eE,percentOfView:H,index:ea,indexPrevious:es,limit:eo,location:ep,offsetLocation:em,previousLocation:eh,options:o,resizeHandler:function(e,t,r,n,i,o,a){let s,l;let c=[e].concat(n),d=[],p=!1;function h(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(l=h(e),d=n.map(h),s=new ResizeObserver(r=>{(u(o)||o(i,r))&&function(r){for(let o of r){if(p)return;let r=o.target===e,a=n.indexOf(o.target),s=r?l:d[a];if(f(h(r?e:n[a])-s)>=.5){i.reInit(),t.emit("resize");break}}}(r)}),r.requestAnimationFrame(()=>
30{c.forEach(e=>s.observe(e))}))},destroy:function(){p=!0,s&&s.disconnect()}}}(t,a,i,r,V,D,z),scrollBody:ey,scrollBounds:function(e,t,r,n,i){let o=i.measure(10),a=i.measure(50),s=w(.1,.99),l=!1;function u(){return!!(!l&&e.reachedAny(r.get())&&e.reachedAny(t.get()))}return{shouldConstrain:u,constrain:function(i){if(!u())return;let l=e.reachedMin(t.get())?"min":"max",c=f(e[l]-t.get()),d=r.get()-t.get(),p=s.constrain(c/a);r.subtract(d*p),!i&&f(d)<o&&(r.set(e.constrain(r.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eo,em,eg,ey,H),scrollLooper:function(e,t,r,n){let{reachedMin:i,reachedMax:o}=w(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(r.get()):-1===t&&i(r.get())))return;let a=-1*t*e;n.forEach(e=>e.add(a))}}}(et,eo,em,[ep,em,eh,eg]),scrollProgress:ew,scrollSnapList:ei.map(ew.get),scrollSnaps:ei,scrollTarget:ev,scrollTo:eb,slideLooper:function(e,t,r,n,i,o,a,s,l){let u=p(i),c=h(d(p(i).reverse(),a[0]),r,!1).concat(h(d(u,t-a[0]-1),-r,!0));function f(e,t){return e.reduce((e,t)=>e-i[t],t)}function d(e,t){return e.reduce((e,r)=>f(e,t)>0?e.concat([r]):e,[])}function h(i,a,u){let c=o.map((e,r)=>({start:e-n[r]+.5+a,end:e+t-.5+a}));return i.map(t=>{let n=u?0:-r,i=u?r:0,o=c[t][u?"end":"start"];return{index:t,loopPoint:o,slideLocation:E(-1),translate:x(e,l[t]),target:()=>s.get()>o?n:i}})}return{canLoop:function(){return c.every(({index:e})=>.1>=f(u.filter(t=>t!==e),t))},clear:function(){c.forEach(e=>e.translate.clear())},loop:function(){c.forEach(e=>{let{target:t,translate:r,slideLocation:n}=e,i=t();i!==n.get()&&(r.to(i),n.set(i))})},loopPoints:c}}(V,W,et,Y,X,Q,ei,em,r),slideFocus:eT,slidesHandler:(S=!1,{init:function(e){N&&(c=new MutationObserver(t=>{!S&&(u(N)||N(e,t))&&function(t){for(let r of t)if("childList"===r.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){c&&c.disconnect(),S=!0}}),slidesInView:ex,slideIndexes:el,slideRegistry:eS,slidesToScroll:Z,target:eg,translate:x(V,t)};return eO}(e,o,a,P,A,r,k);return r.loop&&!n.slideLooper.canLoop()?t(Object.assign({},r,{loop:!1})):n}(z),R([B,...U.map(({options:e})=>e)]).forEach(e=>M.add(e,"change",V)),z.active&&(n.translate.to(n.location.get()),n.animation.init(),n.slidesInView.init(),n.slideFocus.init(G),n.eventHandler.init(G),n.resizeHandler.init(G),n.slidesHandler.init(G),n.options.loop&&n.slideLooper.loop(),o.offsetParent&&a.length&&n.dragHandler.init(G),i=j.init(G,U)))}function V(e,t){let r=q();W(),$(L({startIndex:r},e),t),k.emit("reInit")}function W(){n.dragHandler.destroy(),n.eventStore.clear(),n.translate.clear(),n.slideLooper.clear(),n.resizeHandler.destroy(),n.slidesHandler.destroy(),n.slidesInView.destroy(),n.animation.destroy(),j.destroy(),M.clear()}function H(e,t,r){z.active&&!F&&(n.scrollBody.useBaseFriction().useDuration(!0===t?0:z.duration),n.scrollTo.index(e,r||0))}function q(){return n.index.get()}let G={canScrollNext:function(){return n.index.add(1).get()!==q()},canScrollPrev:function(){return n.index.add(-1).get()!==q()},containerNode:function(){return o},internalEngine:function(){return n},destroy:function(){F||(F=!0,M.clear(),W(),k.emit("destroy"),k.clear())},off:D,on:I,emit:N,plugins:function(){return i},previousScrollSnap:function(){return n.indexPrevious.get()},reInit:V,rootNode:function(){return e},scrollNext:function(e){H(n.index.add(1).get(),e,-1)},scrollPrev:function(e){H(n.index.add(-1).get(),e,1)},scrollProgress:function(){return n.scrollProgress.get(n.location.get())},scrollSnapList:function(){return n.scrollSnapList},scrollTo:H,selectedScrollSnap:q,slideNodes:function(){return a},slidesInView:function(){return n.slidesInView.get()},slidesNotInView:function(){return n.slidesInView.get(!1)}};return $(t,r),setTimeout(()=>k.emit("init"),0),G}function O(e={}
30,t=[]){let r=(0,n.useRef)(e),i=(0,n.useRef)(t),[s,l]=(0,n.useState)(),[u,c]=(0,n.useState)(),f=(0,n.useCallback)(()=>{s&&s.reInit(r.current,i.current)},[s]);return(0,n.useEffect)(()=>{o(r.current,e)||(r.current=e,f())},[e,f]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let r=a(e),n=a(t);return r.every((e,t)=>o(e,n[t]))}(i.current,t)&&(i.current=t,f())},[t,f]),(0,n.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){T.globalOptions=O.globalOptions;let e=T(u,r.current,i.current);return l(e),()=>e.destroy()}l(void 0)},[u,l]),[c,s]}T.globalOptions=void 0,O.globalOptions=void 0},10054:function(e,t,r){"use strict";r.d(t,{YD:function(){return u}});var n=r(86159),i=Object.defineProperty,o=new Map,a=new WeakMap,s=0,l=void 0;function u(){var e;let{threshold:t,delay:r,trackVisibility:i,rootMargin:u,root:c,triggerOnce:f,skip:d,initialInView:p,fallbackInView:h,onChange:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,y]=n.useState(null),v=n.useRef(),[b,w]=n.useState({inView:!!p,entry:void 0});v.current=m,n.useEffect(()=>{let e;if(!d&&g)return e=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:u,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return"".concat(t,"_").concat("root"===t?(r=e.root)?(a.has(r)||(s+=1,a.set(r,s.toString())),a.get(r)):"0":e[t])}).toString(),r=o.get(t);if(!r){let n;let i=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var r;let o=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(r=i.get(t.target))||r.forEach(e=>{e(o,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:i},o.set(t,r)}return r}(r),f=c.get(e)||[];return c.has(e)||c.set(e,f),f.push(t),u.observe(e),function(){f.splice(f.indexOf(t),1),0===f.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),o.delete(i))}}(g,(t,r)=>{w({inView:t,entry:r}),v.current&&v.current(t,r),r.isIntersecting&&f&&e&&(e(),e=void 0)},{root:c,rootMargin:u,threshold:t,trackVisibility:i,delay:r},h),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,g,c,u,f,d,i,h,r]);let E=null==(e=b.entry)?void 0:e.target,x=n.useRef();g||!E||f||d||x.current===E||(x.current=E,w({inView:!!p,entry:void 0}));let S=[y,b.inView,b.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}n.Component},88763:function(e,t,r){"use strict";r.d(t,{xW:function(){return l},W_:function(){return o},tl:function(){return s}}),r(17541);var n=r(76428);function i(e,t,r,i){return e.params.createElements&&Object.keys(i).forEac
30h(o=>{if(!r[o]&&!0===r.auto){let a=(0,n.e)(e.el,`.${i[o]}`)[0];a||((a=(0,n.c)("div",i[o])).className=i[o],e.el.append(a)),r[o]=a,t[o]=a}}),r}function o(e){let{swiper:t,extendParams:r,on:o,emit:a}=e;function s(e){let r;return e&&"string"==typeof e&&t.isElement&&(r=t.el.querySelector(e)||t.hostEl.querySelector(e))?r:(e&&("string"==typeof e&&(r=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&r&&r.length>1&&1===t.el.querySelectorAll(e).length?r=t.el.querySelector(e):r&&1===r.length&&(r=r[0])),e&&!r)?e:r}function l(e,r){let i=t.params.navigation;(e=(0,n.m)(e)).forEach(e=>{e&&(e.classList[r?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=r),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function u(){let{nextEl:e,prevEl:r}=t.navigation;if(t.params.loop){l(r,!1),l(e,!1);return}l(r,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function f(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function d(){let e=t.params.navigation;if(t.params.navigation=i(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(e.nextEl||e.prevEl))return;let r=s(e.nextEl),o=s(e.prevEl);Object.assign(t.navigation,{nextEl:r,prevEl:o}),r=(0,n.m)(r),o=(0,n.m)(o);let a=(r,n)=>{r&&r.addEventListener("click","next"===n?f:c),!t.enabled&&r&&r.classList.add(...e.lockClass.split(" "))};r.forEach(e=>a(e,"next")),o.forEach(e=>a(e,"prev"))}function p(){let{nextEl:e,prevEl:r}=t.navigation;e=(0,n.m)(e),r=(0,n.m)(r);let i=(e,r)=>{e.removeEventListener("click","next"===r?f:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),r.forEach(e=>i(e,"prev"))}r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},o("init",()=>{!1===t.params.navigation.enabled?h():(d(),u())}),o("toEdge fromEdge lock unlock",()=>{u()}),o("destroy",()=>{p()}),o("enable disable",()=>{let{nextEl:e,prevEl:r}=t.navigation;if(e=(0,n.m)(e),r=(0,n.m)(r),t.enabled){u();return}[...e,...r].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),o("click",(e,r)=>{let{nextEl:i,prevEl:o}=t.navigation;i=(0,n.m)(i),o=(0,n.m)(o);let s=r.target,l=o.includes(s)||i.includes(s);if(t.isElement&&!l){let e=r.path||r.composedPath&&r.composedPath();e&&(l=e.find(e=>i.includes(e)||o.includes(e)))}if(t.params.navigation.hideOnClick&&!l){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?a("navigationShow"):a("navigationHide"),[...i,...o].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),u()},disable:h,update:u,init:d,destroy:p})}function a(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function s(e){let t,{swiper:r,extendParams:o,on:s,emit:l}=e,u="swiper-pagination";o({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${u}-bullet`,bulletActiveClass:`${u}-bullet-active`,modifierClass:`${u}-`,currentClass:`${u}-current`,totalClass:`${u}-total`,hiddenClass:`${u}-hidden`,progressbarFillClass:`${u}-progressbar-fill`,progressbarOppositeClass:`${u}-progressbar-opposite`,clickableClass:`${u}-clickable`,lockClass:`${u}-lock`,horizontalClass:`${u}-horizontal`,verticalClass:`${u}-vertical`,paginationDisabledClass:`${u}-disabled`}}),r.pagination={el:null,bullets:[]};let c=0;function f(){return!r.params.pagination.el||!r.pagination.el||Array.isArray(r.pagination.el)&&0===r.pagination.el.length}function d(e,t){let{bulletActiveClass:n}=r.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${n}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${n}-${t}-${t}`))}function p(e){let t=e.target.closest(a(r.params.pagination.bulletClass));if(!t)return;e.preventDefault();let i=(0,n.h)(t)*r.params.slidesPerGroup;if(r.params.loop){var o,s,l;if(r.realIndex===i)return;let e=(o=r.realIndex,s=i,(o%=l=r.slides.length,(s%=l)===o+1)?"next":s===o-1?"previous":void 0);"next"===e?r.slideNext():"previous"===e?r.slidePrev():r.slideToLoop(i)}else r.slideTo(i)}function h(){let e,i;let o=r.rtl,s=r.params.pagination;if(f())return;let u=r.pagination.el;u=(0,n.m)(u);let p=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.slides.length,h=r.params.loop?Math.
30ceil(p/r.params.slidesPerGroup):r.snapGrid.length;if(r.params.loop?(i=r.previousRealIndex||0,e=r.params.slidesPerGroup>1?Math.floor(r.realIndex/r.params.slidesPerGroup):r.realIndex):void 0!==r.snapIndex?(e=r.snapIndex,i=r.previousSnapIndex):(i=r.previousIndex||0,e=r.activeIndex||0),"bullets"===s.type&&r.pagination.bullets&&r.pagination.bullets.length>0){let a,l,f;let p=r.pagination.bullets;if(s.dynamicBullets&&(t=(0,n.f)(p[0],r.isHorizontal()?"width":"height",!0),u.forEach(e=>{e.style[r.isHorizontal()?"width":"height"]=`${t*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&void 0!==i&&((c+=e-(i||0))>s.dynamicMainBullets-1?c=s.dynamicMainBullets-1:c<0&&(c=0)),f=((l=(a=Math.max(e-c,0))+(Math.min(p.length,s.dynamicMainBullets)-1))+a)/2),p.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${s.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),u.length>1)p.forEach(t=>{let i=(0,n.h)(t);i===e?t.classList.add(...s.bulletActiveClass.split(" ")):r.isElement&&t.setAttribute("part","bullet"),s.dynamicBullets&&(i>=a&&i<=l&&t.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),i===a&&d(t,"prev"),i===l&&d(t,"next"))});else{let t=p[e];if(t&&t.classList.add(...s.bulletActiveClass.split(" ")),r.isElement&&p.forEach((t,r)=>{t.setAttribute("part",r===e?"bullet-active":"bullet")}),s.dynamicBullets){let e=p[a],t=p[l];for(let e=a;e<=l;e+=1)p[e]&&p[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){let e=Math.min(p.length,s.dynamicMainBullets+4),n=(t*e-t)/2-f*t,i=o?"right":"left";p.forEach(e=>{e.style[r.isHorizontal()?i:"top"]=`${n}px`})}}u.forEach((t,n)=>{if("fraction"===s.type&&(t.querySelectorAll(a(s.currentClass)).forEach(t=>{t.textContent=s.formatFractionCurrent(e+1)}),t.querySelectorAll(a(s.totalClass)).forEach(e=>{e.textContent=s.formatFractionTotal(h)})),"progressbar"===s.type){let n;n=s.progressbarOpposite?r.isHorizontal()?"vertical":"horizontal":r.isHorizontal()?"horizontal":"vertical";let i=(e+1)/h,o=1,l=1;"horizontal"===n?o=i:l=i,t.querySelectorAll(a(s.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${l})`,e.style.transitionDuration=`${r.params.speed}ms`})}"custom"===s.type&&s.renderCustom?(t.innerHTML=s.renderCustom(r,e+1,h),0===n&&l("paginationRender",t)):(0===n&&l("paginationRender",t),l("paginationUpdate",t)),r.params.watchOverflow&&r.enabled&&t.classList[r.isLocked?"add":"remove"](s.lockClass)})}function m(){let e=r.params.pagination;if(f())return;let t=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.grid&&r.params.grid.rows>1?r.slides.length/Math.ceil(r.params.grid.rows):r.slides.length,i=r.pagination.el;i=(0,n.m)(i);let o="";if("bullets"===e.type){let n=r.params.loop?Math.ceil(t/r.params.slidesPerGroup):r.snapGrid.length;r.params.freeMode&&r.params.freeMode.enabled&&n>t&&(n=t);for(let t=0;t<n;t+=1)e.renderBullet?o+=e.renderBullet.call(r,t,e.bulletClass):o+=`<${e.bulletElement} ${r.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(r,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(r,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),r.pagination.bullets=[],i.forEach(t=>{"custom"!==e.type&&(t.innerHTML=o||""),"bullets"===e.type&&r.pagination.bullets.push(...t.querySelectorAll(a(e.bulletClass)))}),"custom"!==e.type&&l("paginationRender",i[0])}function g(){let e;r.params.pagination=i(r,r.originalParams.pagination,r.params.pagination,{el:"swiper-pagination"});let t=r.params.pagination;t.el&&("string"==typeof t.el&&r.isElement&&(e=r.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e||(e=t.el),e&&0!==e.length&&(r.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=[...r.el.querySelectorAll(t.el)]).length>1&&(e=e.filter(e=>(0,n.a)(e,".swiper")[0]===r.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(r.pagination,{el:e}
30),(e=(0,n.m)(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(r.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",p),r.enabled||e.classList.add(t.lockClass)})))}function y(){let e=r.params.pagination;if(f())return;let t=r.pagination.el;t&&(t=(0,n.m)(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(r.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",p))}),r.pagination.bullets&&r.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!r.pagination||!r.pagination.el)return;let e=r.params.pagination,{el:t}=r.pagination;(t=(0,n.m)(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(r.isHorizontal()?e.horizontalClass:e.verticalClass)})}),s("init",()=>{!1===r.params.pagination.enabled?v():(g(),m(),h())}),s("activeIndexChange",()=>{void 0===r.snapIndex&&h()}),s("snapIndexChange",()=>{h()}),s("snapGridLengthChange",()=>{m(),h()}),s("destroy",()=>{y()}),s("enable disable",()=>{let{el:e}=r.pagination;e&&(e=(0,n.m)(e)).forEach(e=>e.classList[r.enabled?"remove":"add"](r.params.pagination.lockClass))}),s("lock unlock",()=>{h()}),s("click",(e,t)=>{let i=t.target,o=(0,n.m)(r.pagination.el);if(r.params.pagination.el&&r.params.pagination.hideOnClick&&o&&o.length>0&&!i.classList.contains(r.params.pagination.bulletClass)){if(r.navigation&&(r.navigation.nextEl&&i===r.navigation.nextEl||r.navigation.prevEl&&i===r.navigation.prevEl))return;!0===o[0].classList.contains(r.params.pagination.hiddenClass)?l("paginationShow"):l("paginationHide"),o.forEach(e=>e.classList.toggle(r.params.pagination.hiddenClass))}});let v=()=>{r.el.classList.add(r.params.pagination.paginationDisabledClass);let{el:e}=r.pagination;e&&(e=(0,n.m)(e)).forEach(e=>e.classList.add(r.params.pagination.paginationDisabledClass)),y()};Object.assign(r.pagination,{enable:()=>{r.el.classList.remove(r.params.pagination.paginationDisabledClass);let{el:e}=r.pagination;e&&(e=(0,n.m)(e)).forEach(e=>e.classList.remove(r.params.pagination.paginationDisabledClass)),g(),m(),h()},disable:v,render:m,update:h,init:g,destroy:y})}function l(e){let{swiper:t,extendParams:r,on:i}=e;r({fadeEffect:{crossFade:!1}}),function(e){let t;let{effect:r,swiper:n,on:i,setTranslate:o,setTransition:a,overwriteParams:s,perspective:l,recreateShadows:u,getEffectParams:c}=e;i("beforeInit",()=>{if(n.params.effect!==r)return;n.classNames.push(`${n.params.containerModifierClass}${r}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);let e=s?s():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),i("setTranslate",()=>{n.params.effect===r&&o()}),i("setTransition",(e,t)=>{n.params.effect===r&&a(t)}),i("transitionEnd",()=>{n.params.effect===r&&u&&c&&c().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),u())}),i("virtualUpdate",()=>{n.params.effect===r&&(n.slides.length||(t=!0),requestAnimationFrame(()=>{t&&n.slides&&n.slides.length&&(o(),t=!1)}))})}({effect:"fade",swiper:t,on:i,setTranslate:()=>{let{slides:e}=t;t.params.fadeEffect;for(let r=0;r<e.length;r+=1){let e=t.slides[r],i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let o=0;t.isHorizontal()||(o=i,i=0);let a=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),s=function(e,t){let r=(0,n.g)(t);return r!==t&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}(0,e);s.style.opacity=a,s.style.transform=`translate3d(${i}px, ${o}px, 0px)`}},setTransition:e=>{let r=t.slides.map(e=>(0,n.g)(e));r.forEach(t=>{t.style.transitionDuration=`${e}ms`}),function(e){let{swiper:t,duration:r,transformElements:i,allSlides:o}=e,{activeIndex:a}=t,s=e=>e.parentElement?e.parentElement:t.slides.filter(t=>t.shadowRoot&&t.shadowRoot===e.parentNode)[0];if(t.params.virtualTranslate&&0!==r){let e=!1;(o?i:i.filter(e=>{let r=e.classList.contains("swiper-slide-transform")?s(e):e;return t.getSlideIndex(r)===a}
30)).forEach(r=>{(0,n.k)(r,()=>{if(e||!t||t.destroyed)return;e=!0,t.animating=!1;let r=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(r)})})}}({swiper:t,duration:e,transformElements:r,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}},17541:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(r=>{void 0===e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])})}r.d(t,{a:function(){return l},g:function(){return a}});let o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){let e="undefined"!=typeof document?document:{};return i(e,o),e}let s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){let e="undefined"!=typeof window?window:{};return i(e,s),e}},76428:function(e,t,r){"use strict";r.d(t,{a:function(){return w},c:function(){return m},d:function(){return a},e:function(){return d},f:function(){return x},g:function(){return f},h:function(){return b},j:function(){return s},k:function(){return E},m:function(){return S},n:function(){return o},p:function(){return v},q:function(){return y},r:function(){return g},s:function(){return u},t:function(){return c},u:function(){return h},v:function(){return p},w:function(){return function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),r=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){let i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let n=Object.keys(Object(i)).filter(e=>0>r.indexOf(e));for(let r=0,o=n.length;r<o;r+=1){let o=n[r],a=Object.getOwnPropertyDescriptor(i,o);void 0!==a&&a.enumerable&&(l(t[o])&&l(i[o])?i[o].__swiper__?t[o]=i[o]:e(t[o],i[o]):!l(t[o])&&l(i[o])?(t[o]={},i[o].__swiper__?t[o]=i[o]:e(t[o],i[o])):t[o]=i[o])}}}return t}},x:function(){return i}});var n=r(17541);function i(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function o(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function a(){return Date.now()}function s(e,t){let r,i,o;void 0===t&&(t="x");let a=(0,n.a)(),s=function(e){let t;let r=(0,n.a)();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((i=s.transform||s.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new a.WebKitCSSMatrix("none"===i?"":i)):r=(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=a.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=a.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,r){e.style.setProperty(t,r)}function c(e){let t,{swiper:r,targetPosition:i,side:o}=e,a=(0,n.a)(),s=-r.translate,l=null,u=r.params.speed;r.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(r.cssModeFrameID);let c=i>s?"next":"prev",f=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{t=new Date().getTime(),null===l&&(l=t);let e=s+(.5-Math.cos(Math.max(Math.min((t-l)/u,1),0)*Math.PI)/2)*(i-s);if(f(e,i)&&(e=i),r.wrapperEl.scrollTo({[o]:e}),f(e,i)){r.wrapperEl.style.overflow="hidden",r.wrapperEl.style.scrollSnapType="",setTimeout(()=>{r.wrapperEl.style.overflow="",r.wrapperEl.scrollTo({[o]:e})}),a.cancelAnimationFrame(r.cssModeFrameID);return}r.cssModeFrameID=a.requestAnimationFrame(d)};d()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function d(e,t){void 0===t&&(t="");let r=[...e.children];return(e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t)?r.filter(e=>e.matches(t)):r}function p(e,t){let r=t.contains(e);return!r&&t instanceof HTMLSlotElement?[...t.assignedElements()].includes(e):r}function h(e){try{console.warn(e);return}catch(e){}}function m(e,t){var r;void 0===t&&(t=[]);let n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:(void 0===(r=t)&&(r=""),r.trim().split(" ").filter(e=>!!e.trim()))),n}function g(e,t){let r=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function y(e,t){let r=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function v(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function w(e,t){let r=[],n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function E(e,t){t&&e.addEventListener("transitionend",function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))})}function x(e,t,r){let i=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function S(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}},83661:function(e,t,r){"use strict";let n,i,o;r.d(t,{tq:function(){return H},o5:function(){return q}});var a=r(86159),s=r(17541),l=r(76428);function u(){return n||(n=function(){let e=(0,s.a)(),t=(0,s.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),n}function c(e){return void 0===e&&(e={}),i||(i=function(e){let{userAgent:t}=void 0===e?{}:e,r=u(),n=(0,s.a)(),i=n.navigator.platform,o=t||n.navigator.userAgent,a={ios:!1,android:!1},l=n.screen.width,c=n.screen.height,f=o.match(/(Android);?[\s\/]+([\d.]+)?/),d=o.match(/(iPad).*OS\s([\d_]+)/),p=o.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===i;return!d&&m&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&((d=o.match(/(Version)\/([\d.]+)/))||(d=[0,1,"13_0_0"]),m=!1),f&&"Win32"!==i&&(a.os="android",a.android=!0),(d||h||p)&&(a.os="ios",a.ios=!0),a}(e)),i}let f=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},d=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)},p=(e,t)=>{if(!e||e.destroyed||!e.params)return;let r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);
30if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},h=(e,t)=>{if(!e.slides[t])return;let r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let r=[i-t];r.push(...Array.from({length:t}).map((e,t)=>i+n+t)),e.slides.forEach((t,n)=>{r.includes(t.column)&&h(e,n)});return}let o=i+n-1;if(e.params.rewind||e.params.loop)for(let n=i-t;n<=o+t;n+=1){let t=(n%r+r)%r;(t<i||t>o)&&h(e,t)}else for(let n=Math.max(i-t,0);n<=Math.min(o+t,r-1);n+=1)n!==i&&(n>o||n<i)&&h(e,n)};function g(e){let{swiper:t,runCallbacks:r,direction:n,step:i}=e,{activeIndex:o,previousIndex:a}=t,s=n;if(s||(s=o>a?"next":o<a?"prev":"reset"),t.emit(`transition${i}`),r&&o!==a){if("reset"===s){t.emit(`slideResetTransition${i}`);return}t.emit(`slideChangeTransition${i}`),"next"===s?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}function y(e,t,r){let n=(0,s.a)(),{params:i}=e,o=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return!o||!(r<=a)&&!(r>=n.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function v(e){let t=(0,s.g)(),r=e;r.originalEvent&&(r=r.originalEvent);let n=this.touchEventsData;if("pointerdown"===r.type){if(null!==n.pointerId&&n.pointerId!==r.pointerId)return;n.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(n.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type){y(this,r,r.targetTouches[0].pageX);return}let{params:i,touches:o,enabled:a}=this;if(!a||!i.simulateTouch&&"mouse"===r.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let u=r.target;if("wrapper"===i.touchEventsTarget&&!(0,l.v)(u,this.wrapperEl)||"which"in r&&3===r.which||"button"in r&&r.button>0||n.isTouched&&n.isMoved)return;let c=!!i.noSwipingClass&&""!==i.noSwipingClass,f=r.composedPath?r.composedPath():r.path;c&&r.target&&r.target.shadowRoot&&f&&(u=f[0]);let d=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===(0,s.g)()||r===(0,s.a)())return null;r.assignedSlot&&(r=r.assignedSlot);let n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(d,u):u.closest(d))){this.allowClick=!0;return}if(i.swipeHandler&&!u.closest(i.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;let h=o.currentX,m=o.currentY;if(!y(this,r,h))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=m,n.touchStartTime=(0,l.d)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(n.allowThresholdMove=!1);let g=!0;u.matches(n.focusableElements)&&(g=!1,"SELECT"===u.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==u&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!u.matches(n.focusableElements))&&t.activeElement.blur();let v=g&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||v)&&!u.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",r)}function b(e){let t,r;let n=(0,s.g)(),i=this.touchEventsData,{params:o,touches:a,rtlTranslate:u,enabled:c}=this;if(!c||!o.simulateTouch&&"mouse"===e.pointerType)return;let f=e;if(f.originalEvent&&(f=f.originalEvent),"pointermove"===f.type&&(null!==i.touchId||f.pointerId!==i.pointerId))return;if("touchmove"===f.type){if(!(t=[...f.changedTouches].filter(e=>e.identifier===i.touchId)[0])||t.identifier!==i.touchId)return}else t=f;
30if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",f);return}let d=t.pageX,p=t.pageY;if(f.preventedByNestedSwiper){a.startX=d,a.startY=p;return}if(!this.allowTouchMove){f.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(a,{startX:d,startY:p,currentX:d,currentY:p}),i.touchStartTime=(0,l.d)());return}if(o.touchReleaseOnEdges&&!o.loop){if(this.isVertical()){if(p<a.startY&&this.translate<=this.maxTranslate()||p>a.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(d<a.startX&&this.translate<=this.maxTranslate()||d>a.startX&&this.translate>=this.minTranslate())return}if(n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==f.target&&"mouse"!==f.pointerType&&n.activeElement.blur(),n.activeElement&&f.target===n.activeElement&&f.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",f),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=p;let h=a.currentX-a.startX,m=a.currentY-a.startY;if(this.params.threshold&&Math.sqrt(h**2+m**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,i.isScrolling=this.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",f),void 0===i.startMoving&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===f.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!o.cssMode&&f.cancelable&&f.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&f.stopPropagation();let g=this.isHorizontal()?h:m,y=this.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;o.oneWayMovement&&(g=Math.abs(g)*(u?1:-1),y=Math.abs(y)*(u?1:-1)),a.diff=g,g*=o.touchRatio,u&&(g=-g,y=-y);let v=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=y>0?"prev":"next";let b=this.params.loop&&!o.cssMode,w="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(b&&w&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,o.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",f)}if(new Date().getTime(),i.isMoved&&i.allowThresholdMove&&v!==this.touchesDirection&&b&&w&&Math.abs(g)>=1){Object.assign(a,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",f),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,x=o.resistanceRatio;if(o.touchReleaseOnEdges&&(x=0),g>0?(b&&w&&!r&&i.allowThresholdMove&&i.currentTranslate>(o.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==o.slidesPerView&&this.slides.length-o.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(E=!1,o.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**x))):g<0&&(b&&w&&!r&&i.allowThresholdMove&&i.currentTranslate<(o.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==o.slidesPerView&&this.slides.length-o.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===o.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(E=!1,o.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**x))),E&&(f.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),o.threshold>0){if(Math.abs(g)>o.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{i.currentTranslate=i.startTranslate;return}}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&this.freeMode||o.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function w(e){let t,r;let n=this,i=n.touchEventsData,o=e;if(o.originalEvent&&(o=o.originalEvent),"touchend"===o.type||"touchcancel"===o.type){if(!(t=[...o.changedTouches].filter(e=>e.identifier===i.touchId)[0])||t.identifier!==i.touchId)return}else{if(null!==i.touchId||o.pointerId!==i.pointerId)return;t=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)&&!(["pointercancel","contextmenu"].includes(o.type)&&(n.browser.isSafari||n.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:a,touches:s,rtlTranslate:u,slidesGrid:c,enabled:f}=n;if(!f||!a.simulateTouch&&"mouse"===o.pointerType)return;if(i.allowTouchCallbacks&&n.emit("touchEnd",o),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&n.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);let d=(0,l.d)(),p=d-i.touchStartTime;if(n.allowClick){let e=o.path||o.composedPath&&o.composedPath();n.updateClickedSlide(e&&e[0]||o.target,e),n.emit("tap click",o),p<300&&d-i.lastClickTime<300&&n.emit("doubleTap doubleClick",o)}if(i.lastClickTime=(0,l.d)(),(0,l.n)(()=>{n.destroyed||(n.allowClick=!0)}),!i.isTouched||!i.isMoved||!n.swipeDirection||0===s.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,r=a.followFinger?u?n.translate:-n.translate:-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){n.freeMode.onTouchEnd({currentPos:r});return}let h=r>=-n.maxTranslate()&&!n.params.loop,m=0,g=n.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==c[e+t]?(h||r>=c[e]&&r<c[e+t])&&(m=e,g=c[e+t]-c[e]):(h||r>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let y=null,v=null;a.rewind&&(n.isBeginning?v=a.virtual&&a.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(y=0));let b=(r-c[m])/g,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>
30a.longSwipesMs){if(!a.longSwipes){n.slideTo(n.activeIndex);return}"next"===n.swipeDirection&&(b>=a.longSwipesRatio?n.slideTo(a.rewind&&n.isEnd?y:m+w):n.slideTo(m)),"prev"===n.swipeDirection&&(b>1-a.longSwipesRatio?n.slideTo(m+w):null!==v&&b<0&&Math.abs(b)>a.longSwipesRatio?n.slideTo(v):n.slideTo(m))}else{if(!a.shortSwipes){n.slideTo(n.activeIndex);return}n.navigation&&(o.target===n.navigation.nextEl||o.target===n.navigation.prevEl)?o.target===n.navigation.nextEl?n.slideTo(m+w):n.slideTo(m):("next"===n.swipeDirection&&n.slideTo(null!==y?y:m+w),"prev"===n.swipeDirection&&n.slideTo(null!==v?v:m))}}function E(){let e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:i,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=a&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function x(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function S(){let{wrapperEl:e,rtlTranslate:t,enabled:r}=this;if(!r)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function T(e){p(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function O(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let P=(e,t)=>{let r=(0,s.g)(),{params:n,el:i,wrapperEl:o,device:a}=e,l=!!n.nested,u="on"===t?"addEventListener":"removeEventListener";i&&"string"!=typeof i&&(r[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[u]("touchstart",e.onTouchStart,{passive:!1}),i[u]("pointerdown",e.onTouchStart,{passive:!1}),r[u]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[u]("touchend",e.onTouchEnd,{passive:!0}),r[u]("pointerup",e.onTouchEnd,{passive:!0}),r[u]("pointercancel",e.onTouchEnd,{passive:!0}),r[u]("touchcancel",e.onTouchEnd,{passive:!0}),r[u]("pointerout",e.onTouchEnd,{passive:!0}),r[u]("pointerleave",e.onTouchEnd,{passive:!0}),r[u]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[u]("click",e.onClick,!0),n.cssMode&&o[u]("scroll",e.onScroll),n.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0):e[t]("observerUpdate",E,!0),i[u]("load",e.onLoad,{capture:!0}))},A=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var C={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesB
30ounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let j={eventsEmitter:{on(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let i=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)}),n},once(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];t.apply(n,o)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)})}),r},emit(){let e,t,r;let n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return"string"==typeof o[0]||Array.isArray(o[0])?(e=o[0],t=o.slice(1,o.length),r=n):(e=o[0].events,t=o[0].data,r=o[0].context||n),t.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(r,[e,...t])}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(e=>{e.apply(r,t)})}),n}},update:{updateSize:function(){let e,t;let r=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:r.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:r.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,l.p)(r,"padding-left")||0,10)-parseInt((0,l.p)(r,"padding-right")||0,10),t=t-parseInt((0,l.p)(r,"padding-top")||0,10)-parseInt((0,l.p)(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function r(e,r){return parseFloat(e.getPropertyValue(t.getDirectionLabel(r))||0)}let n=t.params,{wrapperEl:i,slidesEl:o,size:a,rtlTranslate:s,wrongRTL:u}=t,c=t.virtual&&n.virtual.enabled,f=c?t.virtual.slides.length:t.slides.length,d=(0,l.e)(o,`.${t.params.slideClass}, swiper-slide`),p=c?t.virtual.slides.length:d.length,h=[],m=[],g=[],y=n.slidesOffsetBefore;"function"==typeof y&&(y=n.slidesOffsetBefore.call(t));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(t));let b=t.snapGrid.length,w=t.slidesGrid.length,E=n.spaceBetween,x=-y,S=0,T=0;if(void 0===a)return;"string"==typeof E&&E.indexOf("%")>=0?E=parseFloat(E.replace("%",""))/100*a:"string"==typeof E&&(E=parseFloat(E)),t.virtualSize=-E,d.forEach(e
30=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&((0,l.s)(i,"--swiper-centered-offset-before",""),(0,l.s)(i,"--swiper-centered-offset-after",""));let O=n.grid&&n.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let P="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<p;i+=1){let o;if(e=0,d[i]&&(o=d[i]),O&&t.grid.updateSlide(i,o,d),!d[i]||"none"!==(0,l.p)(o,"display")){if("auto"===n.slidesPerView){P&&(d[i].style[t.getDirectionLabel("width")]="");let a=getComputedStyle(o),s=o.style.transform,u=o.style.webkitTransform;if(s&&(o.style.transform="none"),u&&(o.style.webkitTransform="none"),n.roundLengths)e=t.isHorizontal()?(0,l.f)(o,"width",!0):(0,l.f)(o,"height",!0);else{let t=r(a,"width"),n=r(a,"padding-left"),i=r(a,"padding-right"),s=r(a,"margin-left"),l=r(a,"margin-right"),u=a.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+s+l;else{let{clientWidth:r,offsetWidth:a}=o;e=t+n+i+s+l+(a-r)}}s&&(o.style.transform=s),u&&(o.style.webkitTransform=u),n.roundLengths&&(e=Math.floor(e))}else e=(a-(n.slidesPerView-1)*E)/n.slidesPerView,n.roundLengths&&(e=Math.floor(e)),d[i]&&(d[i].style[t.getDirectionLabel("width")]=`${e}px`);d[i]&&(d[i].swiperSlideSize=e),g.push(e),n.centeredSlides?(x=x+e/2+S/2+E,0===S&&0!==i&&(x=x-a/2-E),0===i&&(x=x-a/2-E),.001>Math.abs(x)&&(x=0),n.roundLengths&&(x=Math.floor(x)),T%n.slidesPerGroup==0&&h.push(x),m.push(x)):(n.roundLengths&&(x=Math.floor(x)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup==0&&h.push(x),m.push(x),x=x+e+E),t.virtualSize+=e+E,S=e,T+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+v,s&&u&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${t.virtualSize+E}px`),n.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+E}px`),O&&t.grid.updateWrapperSize(e,h),!n.centeredSlides){let e=[];for(let r=0;r<h.length;r+=1){let i=h[r];n.roundLengths&&(i=Math.floor(i)),h[r]<=t.virtualSize-a&&e.push(i)}h=e,Math.floor(t.virtualSize-a)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-a)}if(c&&n.loop){let e=g[0]+E;if(n.slidesPerGroup>1){let r=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),i=e*n.slidesPerGroup;for(let e=0;e<r;e+=1)h.push(h[h.length-1]+i)}for(let r=0;r<t.virtual.slidesBefore+t.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==E){let e=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");d.filter((e,t)=>!n.cssMode||!!n.loop||t!==d.length-1).forEach(t=>{t.style[e]=`${E}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(E||0)});let t=(e-=E)>a?e-a:0;h=h.map(e=>e<=0?-y:e>t?t+v:e)}if(n.centerInsufficientSlides){let e=0;g.forEach(t=>{e+=t+(E||0)}),e-=E;let t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<a){let r=(a-e-t)/2;h.forEach((e,t)=>{h[t]=e-r}),m.forEach((e,t)=>{m[t]=e+r})}}if(Object.assign(t,{slides:d,snapGrid:h,slidesGrid:m,slidesSizesGrid:g}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){(0,l.s)(i,"--swiper-centered-offset-before",`${-h[0]}px`),(0,l.s)(i,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],r=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+r)}if(p!==f&&t.emit("slidesLengthChange"),h.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==w&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!c&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){let e=`${n.containerModifierClass}backface-hidden`,r=t.el.classList.contains(e);p<=n.maxBackfaceHiddenSlides?r||t.el.classList.add(e):r&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let r=this,n=[],i=r.virtual&&r.params.virtual.enabled,o=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);let a=e=>i?r.slides[r.getSlideIndexByData(e)]:r.slides[e];if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>
301){if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){let e=r.activeIndex+t;if(e>r.slides.length&&!i)break;n.push(a(e))}}else n.push(a(r.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;o=e>o?e:o}(o||0===o)&&(r.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(this.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:r,rtlTranslate:n,snapGrid:i}=this;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&this.updateSlidesOffset();let o=-e;n&&(o=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let a=t.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*this.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<r.length;e+=1){let s=r[e],l=s.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=r[0].swiperSlideOffset);let u=(o+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+a),c=(o-i[0]+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+a),d=-(o-l),p=d+this.slidesSizesGrid[e],h=d>=0&&d<=this.size-this.slidesSizesGrid[e],m=d>=0&&d<this.size-1||p>1&&p<=this.size||d<=0&&p>=this.size;m&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(e)),f(s,m,t.slideVisibleClass),f(s,h,t.slideFullyVisibleClass),s.progress=n?-u:u,s.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,r=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:i,isEnd:o,progressLoop:a}=this,s=i,l=o;if(0===r)n=0,i=!0,o=!0;else{n=(e-this.minTranslate())/r;let t=1>Math.abs(e-this.minTranslate()),a=1>Math.abs(e-this.maxTranslate());i=t||n<=0,o=a||n>=1,t&&(n=0),a&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),r=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],i=this.slidesGrid[r],o=this.slidesGrid[this.slidesGrid.length-1],s=Math.abs(e);(a=s>=n?(s-n)/o:(s+o-i)/o)>1&&(a-=1)}Object.assign(this,{progress:n,progressLoop:a,isBeginning:i,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&
30!s&&this.emit("reachBeginning toEdge"),o&&!l&&this.emit("reachEnd toEdge"),(s&&!i||l&&!o)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e,t,r;let{slides:n,params:i,slidesEl:o,activeIndex:a}=this,s=this.virtual&&i.virtual.enabled,u=this.grid&&i.grid&&i.grid.rows>1,c=e=>(0,l.e)(o,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(s){if(i.loop){let t=a-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=c(`[data-swiper-slide-index="${t}"]`)}else e=c(`[data-swiper-slide-index="${a}"]`)}else u?(e=n.filter(e=>e.column===a)[0],r=n.filter(e=>e.column===a+1)[0],t=n.filter(e=>e.column===a-1)[0]):e=n[a];e&&!u&&(r=(0,l.q)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!r&&(r=n[0]),t=(0,l.r)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),n.forEach(n=>{d(n,n===e,i.slideActiveClass),d(n,n===r,i.slideNextClass),d(n,n===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,r;let n=this,i=n.rtlTranslate?n.translate:-n.translate,{snapGrid:o,params:a,activeIndex:s,realIndex:l,snapIndex:u}=n,c=e,f=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:r,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?i>=r[e]&&i<r[e+1]-(r[e+1]-r[e])/2?t=e:i>=r[e]&&i<r[e+1]&&(t=e+1):i>=r[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),o.indexOf(i)>=0)t=o.indexOf(i);else{let e=Math.min(a.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/a.slidesPerGroup)}if(t>=o.length&&(t=o.length-1),c===s&&!n.params.loop){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange"));return}if(c===s&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=f(c);return}let d=n.grid&&a.grid&&a.grid.rows>1;if(n.virtual&&a.virtual.enabled&&a.loop)r=f(c);else if(d){let e=n.slides.filter(e=>e.column===c)[0],t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(n.slides.indexOf(e),0)),r=Math.floor(t/a.grid.rows)}else if(n.slides[c]){let e=n.slides[c].getAttribute("data-swiper-slide-index");r=e?parseInt(e,10):c}else r=c;Object.assign(n,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:r,previousIndex:s,activeIndex:c}),n.initialized&&m(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==r&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let r;let n=this.params,i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>
301&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(i=e)});let o=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){o=!0,r=e;break}}if(i&&o)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=r;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:r,translate:n,wrapperEl:i}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let o=(0,l.j)(i,e);return o+=this.cssOverflowAdjustment(),r&&(o=-o),o||0},setTranslate:function(e,t){let{rtlTranslate:r,params:n,wrapperEl:i,progress:o}=this,a=0,s=0;this.isHorizontal()?a=r?-e:e:s=e,n.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:s,n.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-a:-s:n.virtualTranslate||(this.isHorizontal()?a-=this.cssOverflowAdjustment():s-=this.cssOverflowAdjustment(),i.style.transform=`translate3d(${a}px, ${s}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,i){let o;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);let a=this,{params:s,wrapperEl:u}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;let c=a.minTranslate(),f=a.maxTranslate();if(o=n&&e>c?c:n&&e<f?f:e,a.updateProgress(o),s.cssMode){let e=a.isHorizontal();if(0===t)u[e?"scrollLeft":"scrollTop"]=-o;else{if(!a.support.smoothScroll)return(0,l.t)({swiper:a,targetPosition:-o,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-o,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(o),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(o),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,r&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:r}=this;r.cssMode||(r.autoHeight&&this.updateAutoHeight(),g({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:r}=this;this.animating=!1,r.cssMode||(this.setTransition(0),g({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,r,n,i){let o;void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let a=this,s=e;s<0&&(s=0);let{params:u,snapGrid:c,slidesGrid:f,previousIndex:d,activeIndex:p,rtlTranslate:h,wrapperEl:m,enabled:g}=a;if(!g&&!n&&!i||a.destroyed||a.animating&&u.preventInteractionOnTransition)return!1;void 0===t&&(t=a.params.speed);let y=Math.min(a.params.slidesPerGroupSkip,s),v=y+Math.floor((s-y)/a.params.slidesPerGroup);v>=c.length&&(v=c.length-1);let b=-c[v];if(u.normalizeSlideIndex)for(let e=0;e<f.length;e+=1){let t=-Math.floor(100*b),r=Math.floor(100*f[e]),n=Math.floor(100*f[e+1]);void 0!==f[e+1]?t>=r&&t<n-(n-r)/2?s=e:t>=r&&t<n&&(s=e+1):t>=r&&(s=e)}if(a.initialized&&s!==p&&(!a.allowSlideNext&&(h?b>a.translate&&b>a.minTranslate():b<a.translate&&b<a.minTranslate())||!a.allowSlidePrev&&b>a.translate&&b>a.maxTranslate()&&(p||0)!==s))return!1;s!==(d||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(b),o=s>p?"next":s<p?"prev":"reset";let w=a.virtual&&a.params.virtual.enabled;if(!(w&&i)&&(h&&-b===a.translate||!h&&b===a.translate))return a.updateActiveIndex(s),u.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==u.effect&&a.setTranslate(b),"reset"!==o&&(a.transitionStart(r,o),a.transitionEnd(r,o)),!1;if(u.cssMode){let e=a.isHorizontal(),r=h?b:-b;if(0===t)w&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),w&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=r})):m[e?"scrollLeft":"scrollTop"]=r,w&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return(0,l.t)({swiper:a,targetPosition:r,side:e?"left"
30:"top"}),!0;m.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,o),0===t?a.transitionEnd(r,o):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,o))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);let o=i.grid&&i.params.grid&&i.params.grid.rows>1,a=e;if(i.params.loop){if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(o){let t=a*i.params.grid.rows;e=i.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else e=i.getSlideIndexByData(a);let t=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:r}=i.params,s=i.params.slidesPerView;"auto"===s?s=i.slidesPerViewDynamic():(s=Math.ceil(parseFloat(i.params.slidesPerView,10)),r&&s%2==0&&(s+=1));let l=t-e<s;if(r&&(l=l||e<Math.ceil(s/2)),n&&r&&"auto"!==i.params.slidesPerView&&!o&&(l=!1),l){let n=r?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?i.realIndex:void 0})}if(o){let e=a*i.params.grid.rows;a=i.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else a=i.getSlideIndexByData(a)}}return requestAnimationFrame(()=>{i.slideTo(a,t,r,n)}),i},slideNext:function(e,t,r){void 0===t&&(t=!0);let n=this,{enabled:i,params:o,animating:a}=n;if(!i||n.destroyed)return n;void 0===e&&(e=n.params.speed);let s=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<o.slidesPerGroupSkip?1:s,u=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!u&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,r)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t,r){void 0===t&&(t=!0);let n=this,{params:i,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);let c=n.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function f(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let d=f(s?n.translate:-n.translate),p=o.map(e=>f(e)),h=o[p.indexOf(d)-1];if(void 0===h&&i.cssMode){let e;o.forEach((t,r)=>{d>=t&&(e=r)}),void 0!==e&&(h=o[e>0?e-1:e])}let m=0;if(void 0!==h&&((m=a.indexOf(h))<0&&(m=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=Math.max(m=m-n.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&n.isBeginning){let i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{n.slideTo(m,e,t,r)}),!0):n.slideTo(m,e,t,r)},slideReset:function(e,t,r){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){if(void 0===t&&(t=!0),void 0===n&&(n=.5),this.destroyed)return;void 0===e&&(e=this.params.speed);let i=this.activeIndex,o=Math.min(this.params.slidesPerGroupSkip,i),a=o+Math.floor((i-o)/this.params.slidesPerGroup),s=this.rtlTranslate?this.translate:-this.translate;if(s>=this.snapGrid[a]){let e=this.snapGrid[a];s-e>(this.snapGrid[a+1]-e)*n&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[a-1];s-e<=(this.snapGrid[a]-e)*n&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,r)},slideToClickedSlide:function(){let e;let t=this;if(t.destroyed)return;let{params:r,slidesEl:n}=t,i="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,o=t.clickedIndex,a=t.isElement?"swiper-slide":`.${r.slideClass}`;if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?o<t.loopedSlides-i/2||o>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),o=t.getSlideIndex((0,l.e)(n,`${a}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-i?(t.loopFix(),o=t.getSlideIndex((0,l.e)(n,`${a}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}},loop:{loopCreate:function(e){let t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;let i=t.grid&&r.grid&&r.grid.rows>1,o=r.slidesPerGroup*(i?r.grid.rows:1),a=t.slides.length%o!=0,s=i&&t.slides.length%r.grid.rows!=0,u=e=>{for(let n=0;n<e;n+=1){let e=t.isElement?(0,l.c)("swiper-slide",[r.slideBlankClass]):(0,l.c)("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(e)}};a?r.loopAddBlankSlides?(u(o-t.slides.length%o),t.recalcSlides(),t.updateSlides()):(0,l.u)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
30not function properly. You need to add more slides (or make duplicates, or empty slides)"):s&&(r.loopAddBlankSlides?(u(r.grid.rows-t.slides.length%r.grid.rows),t.recalcSlides(),t.updateSlides()):(0,l.u)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,l.e)(n,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:o,byController:a,byMousewheel:s}=void 0===e?{}:e,u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:c,allowSlidePrev:f,allowSlideNext:d,slidesEl:p,params:h}=u,{centeredSlides:m}=h;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&h.virtual.enabled){r&&(h.centeredSlides||0!==u.snapIndex?h.centeredSlides&&u.snapIndex<h.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=f,u.allowSlideNext=d,u.emit("loopFix");return}let g=h.slidesPerView;"auto"===g?g=u.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),m&&g%2==0&&(g+=1));let y=h.slidesPerGroupAuto?g:h.slidesPerGroup,v=y;v%y!=0&&(v+=y-v%y),v+=h.loopAdditionalSlides,u.loopedSlides=v;let b=u.grid&&h.grid&&h.grid.rows>1;c.length<g+v?(0,l.u)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&"row"===h.grid.fill&&(0,l.u)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let w=[],E=[],x=u.activeIndex;void 0===o?o=u.getSlideIndex(c.filter(e=>e.classList.contains(h.slideActiveClass))[0]):x=o;let S="next"===n||!n,T="prev"===n||!n,O=0,P=0,A=b?Math.ceil(c.length/h.grid.rows):c.length,C=(b?c[o].column:o)+(m&&void 0===i?-g/2+.5:0);if(C<v){O=Math.max(v-C,y);for(let e=0;e<v-C;e+=1){let t=e-Math.floor(e/A)*A;if(b){let e=A-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&w.push(t)}else w.push(A-t-1)}}else if(C+g>A-v){P=Math.max(C-(A-2*v),y);for(let e=0;e<P;e+=1){let t=e-Math.floor(e/A)*A;b?c.forEach((e,r)=>{e.column===t&&E.push(r)}):E.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),T&&w.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),S&&E.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===h.slidesPerView?u.updateSlides():b&&(w.length>0&&T||E.length>0&&S)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),h.watchSlidesProgress&&u.updateSlidesOffset(),r){if(w.length>0&&T){if(void 0===t){let e=u.slidesGrid[x],t=u.slidesGrid[x+O]-e;s?u.setTranslate(u.translate-t):(u.slideTo(x+Math.ceil(O),0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(i){let e=b?w.length/h.grid.rows:w.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(E.length>0&&S){if(void 0===t){let e=u.slidesGrid[x],t=u.slidesGrid[x-P]-e;s?u.setTranslate(u.translate-t):(u.slideTo(x-P,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=b?E.length/h.grid.rows:E.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}}if(u.allowSlidePrev=f,u.allowSlideNext=d,u.controller&&u.controller.control&&!a){let e={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&r})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...e,slideTo:u.controller.control.params.slidesPerView===h.slidesPerView&&r})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let r=[];
30this.slides.forEach(e=>{r[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=v.bind(this),this.onTouchMove=b.bind(this),this.onTouchEnd=w.bind(this),this.onDocumentTouchStart=O.bind(this),e.cssMode&&(this.onScroll=S.bind(this)),this.onClick=x.bind(this),this.onLoad=T.bind(this),P(this,"on")},detachEvents:function(){P(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:r,params:n,el:i}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;let a=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;let s=(a in o?o[a]:void 0)||e.originalParams,u=A(e,n),c=A(e,s),f=e.params.grabCursor,d=s.grabCursor,p=n.enabled;u&&!c?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${n.containerModifierClass}grid`),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!d?e.unsetGrabCursor():!f&&d&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===s[t])return;let r=n[t]&&n[t].enabled,i=s[t]&&s[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()});let h=s.direction&&s.direction!==n.direction,m=n.loop&&(s.slidesPerView!==n.slidesPerView||h),g=n.loop;h&&r&&e.changeDirection(),(0,l.w)(e.params,s);let y=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!y?e.disable():!p&&y&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",s),r&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&v?(e.loopCreate(t),e.updateSlides()):g&&!v&&e.loopDestroy()),e.emit("breakpoint",s)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1,i=(0,s.a)(),o="window"===t?i.innerHeight:r.clientHeight,a=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:o*parseFloat(e.substr(1)),point:e}:{value:e,point:e});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){let{point:o,value:s}=a[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(n=o):s<=r.clientWidth&&(n=o)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:r}=t;if(r){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*r;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:r,el:n,device:i}=this,o=function(e,t){let r=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&r.push(t+n)}):"string"==typeof e&&r.push(t+e)}),r}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...o),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},M={};class k{constructor(){let e,t;for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=(0,l.w)({},t),e&&!t.el&&(t.el=e);let a=(0,s.g)();if(t.el&&"string"==typeof t.el&&a.querySelectorAll(t.el).length>1){let e=[];return a.querySelectorAll(t.el).forEach(r=>{let n=(0,l.w)({},t,{el:r});e.push(new k(n))}),e}let f=this;f.__swiper__=!0,f.support=u(),f.device=c({userAgent:t.userAgent}),f.browser=(o||(o=function(){let e=(0,s.a)(),t=c(),r=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));r=e<16||16===e&&n<2}}
30let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=n(),a=o||i&&t.ios;return{isSafari:r||o,needPerspectiveFix:r,need3dFix:a,isWebView:i}}()),o),f.eventsListeners={},f.eventsAnyListeners=[],f.modules=[...f.__modules__],t.modules&&Array.isArray(t.modules)&&f.modules.push(...t.modules);let d={};f.modules.forEach(e=>{var r;e({params:t,swiper:f,extendParams:(r=t,function(e){void 0===e&&(e={});let t=Object.keys(e)[0],n=e[t];if("object"!=typeof n||null===n||(!0===r[t]&&(r[t]={enabled:!0}),"navigation"===t&&r[t]&&r[t].enabled&&!r[t].prevEl&&!r[t].nextEl&&(r[t].auto=!0),["pagination","scrollbar"].indexOf(t)>=0&&r[t]&&r[t].enabled&&!r[t].el&&(r[t].auto=!0),!(t in r&&"enabled"in n))){(0,l.w)(d,e);return}"object"!=typeof r[t]||"enabled"in r[t]||(r[t].enabled=!0),r[t]||(r[t]={enabled:!1}),(0,l.w)(d,e)}),on:f.on.bind(f),once:f.once.bind(f),off:f.off.bind(f),emit:f.emit.bind(f)})});let p=(0,l.w)({},C,d);return f.params=(0,l.w)({},p,M,t),f.originalParams=(0,l.w)({},f.params),f.passedParams=(0,l.w)({}
30,t),f.params&&f.params.on&&Object.keys(f.params.on).forEach(e=>{f.on(e,f.params.on[e])}),f.params&&f.params.onAny&&f.onAny(f.params.onAny),Object.assign(f,{enabled:f.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===f.params.direction,isVertical:()=>"vertical"===f.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:f.params.allowSlideNext,allowSlidePrev:f.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:f.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:f.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),f.emit("_swiper"),f.params.init&&f.init(),f}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:r}=this,n=(0,l.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,l.h)(n[0]);return(0,l.h)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,l.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let r=this.minTranslate(),n=(this.maxTranslate()-r)*e+r;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(r=>{let n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:r,slides:n,slidesGrid:i,slidesSizesGrid:o,size:a,activeIndex:s}=this,l=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[s]?Math.ceil(n[s].swiperSlideSize):0;for(let r=s+1;r<n.length;r+=1)n[r]&&!e&&(t+=Math.ceil(n[r].swiperSlideSize),l+=1,t>a&&(e=!0));for(let r=s-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<n.length;e+=1)(t?i[e]+o[e]-i[s]<a:i[e]-i[s]<a)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<a&&(l+=1);return l}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:r,params:n}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&p(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let r=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(r.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let r=this.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${r}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEac
30h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):(0,l.e)(r,n())[0];return!i&&t.params.createElements&&(i=(0,l.c)("div",t.params.wrapperClass),r.append(i),(0,l.e)(r,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,l.p)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,l.p)(r,"direction")),wrongRTL:"-webkit-box"===(0,l.p)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();let r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(e=>{e.complete?p(t,e):e.addEventListener("load",e=>{p(t,e.target)})}),m(t),t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let r=this,{params:n,el:i,wrapperEl:o,slides:a}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),(0,l.x)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,l.w)(M,e)}static get extendedDefaults(){return M}static get defaults(){return C}static installModule(e){k.prototype.__modules__||(k.prototype.__modules__=[]);let t=k.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>k.installModule(e)):k.installModule(e),k}}Object.keys(j).forEach(e=>{Object.keys(j[e]).forEach(t=>{k.prototype[t]=j[e][t]})}),k.use([function(e){let{swiper:t,on:r,emit:n}=e,i=(0,s.a)(),o=null,a=null,l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},u=()=>{t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver(e=>{a=i.requestAnimationFrame(()=>{let{width:r,height:n}=t,i=r,o=n;e.forEach(e=>{let{contentBoxSize:r,contentRect:n,target:a}=e;a&&a!==t.el||(i=n?n.width:(r[0]||r).inlineSize,o=n?n.height:(r[0]||r).blockSize)}),(i!==r||o!==n)&&l()})})).observe(t.el)},c=()=>{a&&i.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},f=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",()=>{if(t.params.resizeObserver&&void 0!==i.ResizeObserver){u();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",f)}),r("destroy",()=>{c(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",f)})},function(e){let{swiper:t,extendParams:r,on:n,emit:i}=e,o=[],a=(0,s.a)(),u=function(e,r){void 0===r&&(r={});let n=new(a.MutationObserver||a.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length){i("observerUpdate",e[0]);return}let r=function(){i("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(r):a.setTimeout(r,0)});n.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:t.isElement||(void 0===r.childList||r).childList,characterData:void 0===r.characterData||r.characterData}),o.push(n)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,l.a)(t.hostEl);for(let t=0;t<e.length;t+=1)u(e[t])}u(t.hostEl,{childList:t.params.observeSlideChildren}),u(t.wrapperEl,{attributes:!1})}}),n("destroy",()=>
30{o.forEach(e=>{e.disconnect()}),o.splice(0,o.length)})}]);let L=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function _(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function R(e,t){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:_(t[r])&&_(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:R(e[r],t[r]):e[r]=t[r]})}function I(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function D(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function N(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function F(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return t.forEach(e=>{0>r.indexOf(e)&&r.push(e)}),r.join(" ")}let B=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function U(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function $(e,t){return"undefined"==typeof window?(0,a.useEffect)(e,t):(0,a.useLayoutEffect)(e,t)}let V=(0,a.createContext)(null),W=(0,a.createContext)(null),H=(0,a.forwardRef)(function(e,t){var r;let{className:n,tag:i="div",wrapperTag:o="div",children:s,onSwiper:l,...u}=void 0===e?{}:e,c=!1,[f,d]=(0,a.useState)("swiper"),[p,h]=(0,a.useState)(null),[m,g]=(0,a.useState)(!1),y=(0,a.useRef)(!1),v=(0,a.useRef)(null),b=(0,a.useRef)(null),w=(0,a.useRef)(null),E=(0,a.useRef)(null),x=(0,a.useRef)(null),S=(0,a.useRef)(null),T=(0,a.useRef)(null),O=(0,a.useRef)(null),{params:P,passedParams:A,rest:j,events:M}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let r={on:{}},n={},i={};R(r,C),r._emitClasses=!0,r.init=!1;let o={},a=L.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({}
30,e)).forEach(s=>{void 0!==e[s]&&(a.indexOf(s)>=0?_(e[s])?(r[s]={},i[s]={},R(r[s],e[s]),R(i[s],e[s])):(r[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"==typeof e[s]?t?n[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:r.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:o[s]=e[s])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]}),{params:r,passedParams:i,rest:o,events:n}}(u),{slides:V,slots:H}=function(e){let t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(e).forEach(e=>{if(U(e))t.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){let n=function e(t){let r=[];return a.Children.toArray(t).forEach(t=>{U(t)?r.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>r.push(e))}),r}(e.props.children);n.length>0?n.forEach(e=>t.push(e)):r["container-end"].push(e)}else r["container-end"].push(e)}),{slides:t,slots:r}}(s),q=()=>{g(!m)};Object.assign(P.on,{_containerClasses(e,t){d(t)}});let G=()=>{Object.assign(P.on,M),c=!0;let e={...P};if(delete e.wrapperClass,b.current=new k(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=V;let e={cache:!1,slides:V,renderExternal:h,renderExternalUpdate:!1};R(b.current.params.virtual,e),R(b.current.originalParams.virtual,e)}};v.current||G(),b.current&&b.current.on("_beforeBreakpoint",q);let Y=()=>{!c&&M&&b.current&&Object.keys(M).forEach(e=>{b.current.on(e,M[e])})},X=()=>{M&&b.current&&Object.keys(M).forEach(e=>{b.current.off(e,M[e])})};return(0,a.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",q)}),(0,a.useEffect)(()=>{!y.current&&b.current&&(b.current.emitSlidesClasses(),y.current=!0)}),$(()=>{if(t&&(t.current=v.current),v.current)return b.current.destroyed&&G(),function(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:a,swiper:s}=e;I(t)&&n&&i&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),D(t)&&o&&(s.params.pagination.el=o,s.originalParams.pagination.el=o),N(t)&&a&&(s.params.scrollbar.el=a,s.originalParams.scrollbar.el=a),s.init(r)}({el:v.current,nextEl:x.current,prevEl:S.current,paginationEl:T.current,scrollbarEl:O.current,swiper:b.current},P),l&&!b.current.destroyed&&l(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),$(()=>{Y();let e=function(e,t,r,n,i){let o=[];if(!t)return o;let a=e=>{0>o.indexOf(e)&&o.push(e)};if(r&&n){let e=n.map(i),t=r.map(i);e.join("")!==t.join("")&&a("children"),n.length!==r.length&&a("children")}return L.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(r=>{if(r in e&&r in t){if(_(e[r])&&_(t[r])){let n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?a(r):(n.forEach(n=>{e[r][n]!==t[r][n]&&a(r)}),i.forEach(n=>{e[r][n]!==t[r][n]&&a(r)}))}else e[r]!==t[r]&&a(r)}}),o}(A,w.current,V,E.current,e=>e.key);return w.current=A,E.current=V,e.length&&b.current&&!b.current.destroyed&&function(e){let t,r,n,i,o,a,s,l,{swiper:u,slides:c,passedParams:f,changedParams:d,nextEl:p,prevEl:h,scrollbarEl:m,paginationEl:g}=e,y=d.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:v,pagination:b,navigation:w,scrollbar:E,virtual:x,thumbs:S}=u;d.includes("thumbs")&&f.thumbs&&f.thumbs.swiper&&v.thumbs&&!v.thumbs.swiper&&(t=!0),d.includes("controller")&&f.controller&&f.controller.control&&v.controller&&!v.controller.control&&(r=!0),d.includes("pagination")&&f.pagination&&(f.pagination.el||g)&&(v.pagination||!1===v.pagination)&&b&&!b.el&&(n=!0),d.includes("scrollbar")&&f.scrollbar&&(f.scrollbar.el||m)&&(v.scrollbar||!1===v.scrollbar)&&E&&!E.el&&(i=!0),d.includes("navigation")&&f.navigation&&(f.navigation.prevEl||h)&&(f.navigation.nextEl||p)&&(v.navigation||!1===v.navigation)&&w&&!w.prevEl&&!w.nextEl&&(o=!0);let T=e=>{u[e]&&(u[e].destroy(),"navigation"===e?(u.isElement&&(u[e].prevEl.remove(),u[e].nextEl.remove()),v[e].prevEl=void 0,v[e].nextEl=void 0,u[e].prevEl=void 0,u[e].nextEl=void 0):(u.isElement&&u[e].el.remove(),v[e].el=void 0,u[e].el=void 0))};d.includes("loop")&&u.isElement&&(v.loop&&!f.loop?a=!0:!v.loop&&f.loop?s=!0:l=!0),y.forEac
30h(e=>{if(_(v[e])&&_(f[e]))Object.assign(v[e],f[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in f[e]&&!f[e].enabled&&T(e);else{let t=f[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):v[e]=f[e]}}),y.includes("controller")&&!r&&u.controller&&u.controller.control&&v.controller&&v.controller.control&&(u.controller.control=v.controller.control),d.includes("children")&&c&&x&&v.virtual.enabled?(x.slides=c,x.update(!0)):d.includes("virtual")&&x&&v.virtual.enabled&&(c&&(x.slides=c),x.update(!0)),d.includes("children")&&c&&v.loop&&(l=!0),t&&S.init()&&S.update(!0),r&&(u.controller.control=v.controller.control),n&&(u.isElement&&(!g||"string"==typeof g)&&((g=document.createElement("div")).classList.add("swiper-pagination"),g.part.add("pagination"),u.el.appendChild(g)),g&&(v.pagination.el=g),b.init(),b.render(),b.update()),i&&(u.isElement&&(!m||"string"==typeof m)&&((m=document.createElement("div")).classList.add("swiper-scrollbar"),m.part.add("scrollbar"),u.el.appendChild(m)),m&&(v.scrollbar.el=m),E.init(),E.updateSize(),E.setTranslate()),o&&(u.isElement&&(p&&"string"!=typeof p||((p=document.createElement("div")).classList.add("swiper-button-next"),p.innerHTML=u.hostEl.constructor.nextButtonSvg,p.part.add("button-next"),u.el.appendChild(p)),h&&"string"!=typeof h||((h=document.createElement("div")).classList.add("swiper-button-prev"),h.innerHTML=u.hostEl.constructor.prevButtonSvg,h.part.add("button-prev"),u.el.appendChild(h))),p&&(v.navigation.nextEl=p),h&&(v.navigation.prevEl=h),w.init(),w.update()),d.includes("allowSlideNext")&&(u.allowSlideNext=f.allowSlideNext),d.includes("allowSlidePrev")&&(u.allowSlidePrev=f.allowSlidePrev),d.includes("direction")&&u.changeDirection(f.direction,!1),(a||l)&&u.loopDestroy(),(s||l)&&u.loopCreate(),u.update()}({swiper:b.current,slides:V,passedParams:A,changedParams:e,nextEl:x.current,prevEl:S.current,scrollbarEl:O.current,paginationEl:T.current}),()=>{X()}}),$(()=>{B(b.current)},[p]),a.createElement(i,z({ref:v,className:F(`${f}${n?` ${n}`:""}`)},j),a.createElement(W.Provider,{value:b.current},H["container-start"],a.createElement(o,{className:(void 0===(r=P.wrapperClass)&&(r=""),r)?r.includes("swiper-wrapper")?r:`swiper-wrapper ${r}`:"swiper-wrapper"},H["wrapper-start"],P.virtual?function(e,t,r){if(!r)return null;let n=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:o,to:s}=r,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<u;e+=1)e>=o&&e<=s&&c.push(t[n(e)]);return c.map((t,r)=>a.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${r}`}))}(b.current,V,p):V.map((e,t)=>a.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),H["wrapper-end"]),I(P)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:S,className:"swiper-button-prev"}),a.createElement("div",{ref:x,className:"swiper-button-next"})),N(P)&&a.createElement("div",{ref:O,className:"swiper-scrollbar"}),D(P)&&a.createElement("div",{ref:T,className:"swiper-pagination"}),H["container-end"]))});H.displayName="Swiper";let q=(0,a.forwardRef)(function(e,t){let{tag:r="div",children:n,className:i="",swiper:o,zoom:s,lazy:l,virtualIndex:u,swiperSlideIndex:c,...f}=void 0===e?{}:e,d=(0,a.useRef)(null),[p,h]=(0,a.useState)("swiper-slide"),[m,g]=(0,a.useState)(!1);function y(e,t,r){t===d.current&&h(r)}$(()=>{if(void 0!==c&&(d.current.swiperSlideIndex=c),t&&(t.current=d.current),d.current&&o){if(o.destroyed){"swiper-slide"!==p&&h("swiper-slide");return}return o.on("_slideClass",y),()=>{o&&o.off("_slideClass",y)}}}),$(()=>{o&&d.current&&!o.destroyed&&h(o.getSlideClasses(d.current))},[o]);let v={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},b=()=>"function"==typeof n?n(v):n;return a.createElement(r,z({ref:d,className:F(`${p}${i?` ${i}`:""}`),"data-swiper-slide-index":u,onLoad:()=>{g(!0)}},f),s&&a.createElement(V.Provider,{value:v},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof s?s:void 0},b(),l&&!m&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&a.createElement(V.Provider,{value:v},b(),l&&!m&&a.createElement("div",{className:"swiper-lazy-preloader"})))});q.displayName="SwiperSlide"}}]); 31//# sourceMappingURL=1994-742d90900618df68.js.map
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.