1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[360],{9361:function(e,t){"use strict";t.Z=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},4470:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var i,r=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!o)return!1;for(i in e);return void 0===i||t.call(e,i)},a=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,i,r,u,c,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(t=arguments[h],null!=t)for(n in t)i=l(d,n),d!==(r=l(t,n))&&(f&&r&&(s(r)||(u=o(r)))?(u?(u=!1,c=i&&o(i)?i:[]):c=i&&s(i)?i:{},a(d,{name:n,newValue:e(f,c,r)})):void 0!==r&&a(d,{name:n,newValue:r}));return d}},8252:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!=r--;){var i,r,o,s=o[r];if(("_owner"!==s||!t.$$typeof)&&!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},7283:function(e,t,n){"use strict";n.d(t,{Ps:function(){return Y}});var i,r,o=n(655);function s(e,t){let n=Boolean(e);if(!n)throw Error(null!=t?t:"Unexpected invariant triggered.")}let a=/\r\n|[\n\r]/g;function l(e,t){let n=0,i=1;for(let r of e.body.matchAll(a)){if("number"==typeof r.index||s(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function u(e){return c(e.source,l(e.source,e.start))}function c(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?n:0,l=t.column+a,u=`${e.name}:${s}:${l} 2`,c=i.split(/\r\n|[\n\r]/g),h=c[r];if(h.length>120){let p=Math.floor(l/80),f=[];for(let m=0;m<h.length;m+=80)f.push(h.slice(m,m+80));return u+d([[`${s} |`,f[0]],...f.slice(1,p+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",f[p+1]],])}return u+d([[`${s-1} |`,c[r-1]],[`${s} |`,h],["|","^".padStart(l)],[`${s+1} |`,c[r+1]],])}function d(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}
2class h extends Error{constructor(e,...t){var n,i,r,o;let{nodes:s,source:a,positions:u,path:c,originalError:d,extensions:f}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=d?d:void 0,this.nodes=p(Array.isArray(s)?s:s?[s]:void 0);let m=p(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==m?void 0:null===(i=m[0])||void 0===i?void 0:i.source,this.positions=null!=u?u:null==m?void 0:m.map(e=>e.start),this.locations=u&&a?u.map(e=>l(a,e)):null==m?void 0:m.map(e=>l(e.source,e.start));let g="object"==typeof(o=null==d?void 0:d.extensions)&&null!==o?null==d?void 0:d.extensions:void 0;this.extensions=null!==(r=null!=f?f:g)&&void 0!==r?r:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,h):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+u(t.loc));else if(this.source&&this.locations)for(let n of this.locations)e+="\n\n"+c(this.source,n);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function p(e){return void 0===e||0===e.length?void 0:e}function f(e,t,n){return new h(`Syntax Error: ${n}`,{source:e,positions:[t]})}var m,g=n(2380);(m=i||(i={})).QUERY="QUERY",m.MUTATION="MUTATION",m.SUBSCRIPTION="SUBSCRIPTION",m.FIELD="FIELD",m.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",m.FRAGMENT_SPREAD="FRAGMENT_SPREAD",m.INLINE_FRAGMENT="INLINE_FRAGMENT",m.VARIABLE_DEFINITION="VARIABLE_DEFINITION",m.SCHEMA="SCHEMA",m.SCALAR="SCALAR",m.OBJECT="OBJECT",m.FIELD_DEFINITION="FIELD_DEFINITION",m.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",m.INTERFACE="INTERFACE",m.UNION="UNION",m.ENUM="ENUM",m.ENUM_VALUE="ENUM_VALUE",m.INPUT_OBJECT="INPUT_OBJECT",m.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var v,y=n(7359),b=n(7392),w=n(8297);(v=r||(r={})).SOF="<SOF>",v.EOF="<EOF>",v.BANG="!",v.DOLLAR="$",v.AMP="&",v.PAREN_L="(",v.PAREN_R=")",v.SPREAD="...",v.COLON=":",v.EQUALS="=",v.AT="@",v.BRACKET_L="[",v.BRACKET_R="]",v.BRACE_L="{",v.PIPE="|",v.BRACE_R="}",v.NAME="Name",v.INT="Int",v.FLOAT="Float",v.STRING="String",v.BLOCK_STRING="BlockString",v.COMMENT="Comment";class S{constructor(e){let t=new g.WU(r.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;let e=this.token=this.lookahead();return e}lookahead(){let e=this.token;if(e.kind!==r.EOF)do if(e.next)e=e.next;else{let t=T(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===r.COMMENT);return e}}function x(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function _(e,t){return C(e.charCodeAt(t))&&E(e.charCodeAt(t+1))}function C(e){return e>=55296&&e<=56319}function E(e){return e>=56320&&e<=57343}function k(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return r.EOF;if(n>=32&&n<=126){let i=String.fromCodePoint(n);return'"'===i?"'\"'":`"${i}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function P(e,t,n,i,r){let o=e.line,s=1+n-e.lineStart;return new g.WU(t,n,i,o,s,r)}function T(e,t){let n=e.source.body,i=n.length,o=t;for(;o<i;){let s=n.charCodeAt(o);switch(s){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return A(e,o);case 33:return P(e,r.BANG,o,o+1);case 36:return P(e,r.DOLLAR,o,o+1);case 38:return P(e,r.AMP,o,o+1);case 40:return P(e,r.PAREN_L,o,o+1);case 41:return P(e,r.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return P(e,r.SPREAD,o,o+3);break;case 58:return P(e,r.COLON,o,o+1);case 61:return P(e,r.EQUALS,o,o+1);case 64:return P(e,r.AT,o,o+1);case 91:return P(e,r.BRACKET_L,o,o+1);case 93:return P(e,r.BRACKET_R,o,o+1);case 123:return P(e,r.BRACE_L,o,o+1);case 124:return P(e,r.PIPE,o,o+1);case 125:return P(e,r.BRACE_R,o,o+1);case 34:if(34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2))return F(e,o);return R(e,o)}if((0,w.X1)(s)||45===s)return O(e,o,s);if((0,w.LQ)(s))return N(e,o);throw f(e.source,o,39===s?"Unexpected single quote character ('), did you mean to use a double quote (\")?":x(s)||_(n,o)?`Unexpected character: ${k(e,o)}.`:`Invalid character: ${k(e,o)}.`)}return P(e,r.EOF,i,i)}function A(e,t){let n=e.source.body,i=n.length,o=t+1;for(;o<i;){let s=n.charCodeAt(o);if(10===s||13===s)break;if(x(s))++o;else if(_(n,o))o+=2;else break}return P(e,r.COMMENT,t,o,n.slice(t+1,o))}function O(e,t,n){let i=e.source.body,o=t,s=n,a=!1;if(45===s&&(s=i.charCodeAt(++o)),48===s){if(s=i.charCodeAt(++o),(0,w.X1)(s))throw f(e.source,o,`Invalid number, unexpected digit after 0: ${k(e,o)}.`)}else o=L(e,o,s),s=i.charCodeAt(o);if(46===s&&(a=!0,s=i.charCodeAt(++o),o=L(e,o,s),s=i.charCodeAt(o)),(69===s||101===s)&&(a=!0,(43===(s=i.charCodeAt(++o))||45===s)&&(s=i.charCodeAt(++o)),o=L(e,o,s),s=i.charCodeAt(o)),46===s||(0,w.LQ)(s))throw f(e.source,o,`Invalid number, expected digit but got: ${k(e,o)}.`);return P(e,a?r.FLOAT:r.INT,t,o,i.slice(t,o))}function L(e,t,n){if(!(0,w.X1)(n))throw f(e.source,t,`Invalid number, expected digit but got: ${k(e,t)}.`);let i=e.source.body,r=t+1;for(;(0,w.X1)(i.charCodeAt(r));)++r;return r}function R(e,t){let n=e.source.body,i=n.length,o=t+1,s=o,a="";for(;o<i;){let l=n.charCodeAt(o);if(34===l)return a+=n.slice(s,o),P(e,r.STRING,t,o+1,a);if(92===l){a+=n.slice(s,o);let u=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?M(e,o):I(e,o):z(e,o);a+=u.value,o+=u.size,s=o;continue}if(10===l||13===l)break;if(x(l))++o;else if(_(n,o))o+=2;else throw f(e.source,o,`Invalid character within String: ${k(e,o)}.`)}throw f(e.source,o,"Unterminated string.")}function M(e,t){let n=e.source.body,i=0,r=3;for(;r<12;){let o=n.charCodeAt(t+r++);if(125===o){if(r<5||!x(i))break;return{value:String.fromCodePoint(i),size:r}}if((i=i<<4|D(o))<0)break}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}function I(e,t){let n=e.source.body,i=V(n,t+2);if(x(i))return{value:String.fromCodePoint(i),size:6};if(C(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let r=V(n,t+8);if(E(r))return{value:String.fromCodePoint(i,r),size:12}}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function V(e,t){return D(e.charCodeAt(t))<<12|D(e.charCodeAt(t+1))<<8|D(e.charCodeAt(t+2))<<4|D(e.charCodeAt(t+3))}function D(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function z(e,t){let n=e.source.body,i=n.charCodeAt(t+1);switch(i){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function F(e,t){let n=e.source.body,i=n.length,o=e.lineStart,s=t+3,a=s,l="",u=[];for(;s<i;){let c=n.charCodeAt(s);if(34===c&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)){l+=n.slice(a,s),u.push(l);let d=P(e,r.BLOCK_STRING,t,s+3,(0,b.wv)(u).join("\n"));return e.line+=u.length-1,e.lineStart=o,d}if(92===c&&34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)&&34===n.charCodeAt(s+3)){l+=n.slice(a,s),a=s+1,s+=4;continue}if(10===c||13===c){l+=n.slice(a,s),u.push(l),13===c&&10===n.charCodeAt(s+1)?s+=2:++s,l="",a=s,o=s;continue}if(x(c))++s;else if(_(n,s))s+=2;else throw f(e.source,s,`Invalid character within String: ${k(e,s)}.`)}throw f(e.source,s,"Unterminated string.")}function N(e,t){let n=e.source.body,i=n.length,o=t+1;for(;o<i;){let s=n.charCodeAt(o);if((0,w.HQ)(s))++o;else break}return P(e,r.NAME,t,o,n.slice(t,o))}var j=n(1270);class G{constructor(e,t={}){let n=(0,j.T)(e)?e:new j.H(e);this._lexer=new S(n),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(r.NAME);return this.node(e,{kind:y.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.h.DOCUMENT,definitions:this.many(r.SOF,this.parseDefinition,r.EOF)})}parseDefinition(){if(this.peek(r.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===r.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(r.BRACE_L))return this.node(e,{kind:y.h.OPERATION_DEFINITION,operation:g.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseOperationType(),n;return this.peek(r.NAME)&&(n=this.parseName()),this.node(e,{kind:y.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(r.NAME);switch(e.value){case"query":return g.ku.QUERY;case"mutation":return g.ku.MUTATION;case"subscription":return g.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(r.PAREN_L,this.parseVariableDefinition,r.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(r.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(r.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(r.DOLLAR),this.node(e,{kind:y.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.h.SELECTION_SET,selections:this.many(r.BRACE_L,this.parseSelection,r.BRACE_R)})}parseSelection(){return this.peek(r.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,i;return this.expectOptionalToken(r.COLON)?(n=t,i=this.parseName()):i=t,this.node(e,{kind:y.h.FIELD,alias:n,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(r.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(r.PAREN_L,t,r.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(r.COLON),this.node(t,{kind:y.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(r.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(r.NAME)?this.node(e,{kind:y.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:y.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:y.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:y.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case r.BRACKET_L:return this.parseList(e);case r.BRACE_L:return this.parseObject(e);case r.INT:return this.advanceLexer(),this.node(t,{kind:y.h.INT,value:t.value});case r.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.h.FLOAT,value:t.value});case r.STRING:case r.BLOCK_STRING:return this.parseStringLiteral();case r.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.h.NULL});default:return this.node(t,{kind:y.h.ENUM,value:t.value})}case r.DOLLAR:if(e){if(this.expectToken(r.DOLLAR),this._lexer.token.kind===r.NAME){let n=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${n}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:y.h.STRING,value:e.value,block:e.kind===r.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:y.h.LIST,values:this.any(r.BRACKET_L,t,r.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:y.h.OBJECT,fields:this.any(r.BRACE_L,t,r.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(r.COLON),this.node(t,{kind:y.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(r.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(r.AT),this.node(t,{kind:y.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(r.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(r.BRACKET_R),t=this.node(e,{kind:y.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(r.BANG)?this.node(e,{kind:y.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:y.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(r.STRING)||this.peek(r.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(r.BRACE_L,this.parseOperationTypeDefinition,r.BRACE_R);return this.node(e,{kind:y.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(r.COLON);let n=this.parseNamedType();return this.node(e,{kind:y.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:y.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.OBJECT_TYPE_DEFINIT
2ION,description:t,name:n,interfaces:i,directives:r,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(r.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(r.BRACE_L,this.parseFieldDefinition,r.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(r.COLON);let o=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:y.h.FIELD_DEFINITION,description:t,name:n,arguments:i,type:o,directives:s})}parseArgumentDefs(){return this.optionalMany(r.PAREN_L,this.parseInputValueDef,r.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(r.COLON);let i=this.parseTypeReference(),o;this.expectOptionalToken(r.EQUALS)&&(o=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:y.h.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:o,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:y.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(r.EQUALS)?this.delimitedMany(r.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:y.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(r.BRACE_L,this.parseEnumValueDefinition,r.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:y.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${B(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(r.BRACE_L,this.parseInputValueDef,r.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===r.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(r.BRACE_L,this.parseOperationTypeDefinition,r.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(r.AT);let n=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:y.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:o,locations:s})}parseDirectiveLocations(){return this.delimitedMany(r.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(i,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new g.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${H(e)}, found ${B(t)}.`)}expectOptionalToken(e){let t=this._lexer.token;return t.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===r.NAME&&t.value===e)this.advanceLexer();else throw f(this._lexer.source,t.start,`Expected "${e}", found ${B(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===r.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${B(t)}.`)}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n));return i}return[]}many(e,t,n){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n));return i}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==r.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function B(e){let t=e.value;return H(e.kind)+(null!=t?` "${t}"`:"")}function H(e){var t;return e===r.BANG||e===r.DOLLAR||e===r.AMP||e===r.PAREN_L||e===r.PAREN_R||e===r.SPREAD||e===r.COLON||e===r.EQUALS||e===r.AT||e===r.BRACKET_L||e===r.BRACKET_R||e===r.BRACE_L||e===r.PIPE||e===r.BRACE_R?`"${e}"`:e}var U=new Map,$=new Map,q=!0,W=!1;function Q(e){return e.replace(/[\s,]+/g," ").trim()}function Y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[n+1]}),function(e){var t=Q(e);if(!U.has(t)){var n,i,r,s,a,l,u=function(e,t){let n=new G(e,t);return n.parseDocument()}(e,{experimentalFragmentVariables:W,allowLegacyFragmentVariables:W});if(!u||"Document"!==u.kind)throw Error("Not a valid GraphQL document.");U.set(t,(i=new Set,r=[],u.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,o=Q((t=e.loc).source.body.substring(t.start,t.end)),s=$.get(n);s&&!s.has(o)?q&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||$.set(n,s=new Set),s.add(o),i.has(o)||
2(i.add(o),r.push(e))}else r.push(e)}),s=(0,o.__assign)((0,o.__assign)({},u),{definitions:r}),(a=new Set(s.definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&a.add(n)})}),(l=s.loc)&&(delete l.startToken,delete l.endToken),s))}return U.get(t)}(i)}var Z,K={gql:Y,resetCaches:function(){U.clear(),$.clear()},disableFragmentWarnings:function(){q=!1},enableExperimentalFragmentVariables:function(){W=!0},disableExperimentalFragmentVariables:function(){W=!1}};(Z=Y||(Y={})).gql=K.gql,Z.resetCaches=K.resetCaches,Z.disableFragmentWarnings=K.disableFragmentWarnings,Z.enableExperimentalFragmentVariables=K.enableExperimentalFragmentVariables,Z.disableExperimentalFragmentVariables=K.disableExperimentalFragmentVariables,Y.default=Y},8139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function h(e){var t=e.match(n);t&&(c+=t.length);var i=e.lastIndexOf("\n");d=~i?e.length-i:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new f(e),y(),t}}function f(e){this.start=e,this.end={line:c,column:d},this.source=l.source}f.prototype.content=e;var m=[];function g(t){var n=Error(l.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=d,n.source=e,l.silent)m.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var i=n[0];return h(i),e=e.slice(i.length),n}}function y(){v(i)}function b(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var i=e.slice(2,n-2);return d+=2,h(i),e=e.slice(n),d+=2,t({type:"comment",comment:i})}}function S(){var e=p(),n=v(r);if(n){if(w(),!v(o))return g("property missing ':'");var i=v(s),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:i?u(i[0].replace(t,"")):""});return v(a),l}}return y(),function(){var e,t=[];for(b(t);e=S();)!1!==e&&(t.push(e),b(t));return t}()}},8738:function(e){/*! 3 * Determine if an object is a Buffer 4 * 5 * @author Feross Aboukhadijeh <https://feross.org> 6 * @license MIT 7 */ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},8045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9361).Z,r=n(4941).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,a=e.src,l=e.sizes,m=e.unoptimized,g=void 0!==m&&m,w=e.priority,E=void 0!==w&&w,P=e.loading,T=e.lazyRoot,A=e.lazyBoundary,O=e.className,L=e.quality,R=e.width,M=e.height,I=e.style,V=e.objectFit,D=e.objectPosition,z=e.onLoadingComplete,F=e.placeholder,N=void 0===F?"empty":F,j=e.blurDataURL,G=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),B=c.useContext(f.ImageConfigContext),H=c.useMemo(function(){var e=v||B||h.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort(function(e,t){return e-t}),n=e.deviceSizes.sort(function(e,t){return e-t});return s({},e,{allSizes:t,deviceSizes:n})},[B]),U=l?"responsive":"intrinsic";"layout"in G&&(G.layout&&(U=G.layout),delete G.layout);var $=C;if("loader"in G){if(G.loader){var q=G.loader;$=function(e){e.config;var t=u(e,["config"]);return q(t)}}delete G.loader}var W="";if(function(e){var t;return"object"==typeof e&&(S(e)||void 0!==e.src)}(a)){var Q=S(a)?a.default:a;if(!Q.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(Q)));if(j=j||Q.blurDataURL,W=Q.src,(!U||"fill"!==U)&&(M=M||Q.height,R=R||Q.width,!Q.height||!Q.width))throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(Q)))}a="string"==typeof a?a:W;var Y=!E&&("lazy"===P||void 0===P);(a.startsWith("data:")||a.startsWith("blob:"))&&(g=!0,Y=!1),y.has(a)&&(Y=!1),H.unoptimized&&(g=!0);var Z=r(c.useState(!1),2),K=Z[0],X=Z[1],J=r(p.useIntersection({rootRef:void 0===T?null:T,rootMargin:A||"200px",disabled:!Y}),3),ee=J[0],et=J[1],en=J[2],ei=!Y||et,er={boxSizing:"border-box",display:"block",overflow:"hidden",
7width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},eo={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},es=!1,ea=_(R),el=_(M),eu=_(L),ec=Object.assign({},I,{position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:V,objectPosition:D}),ed="blur"!==N||K?{}:{backgroundSize:V||"cover",backgroundPosition:D||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(j,'")')};if("fill"===U)er.display="block",er.position="absolute",er.top=0,er.left=0,er.bottom=0,er.right=0;else if(void 0!==ea&&void 0!==el){var eh=el/ea,ep=isNaN(eh)?"100%":"".concat(100*eh,"%");"responsive"===U?(er.display="block",er.position="relative",es=!0,eo.paddingTop=ep):"intrinsic"===U?(er.display="inline-block",er.position="relative",er.maxWidth="100%",es=!0,eo.maxWidth="100%",t="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ea,"%27%20height=%27").concat(el,"%27/%3e")):"fixed"===U&&(er.display="inline-block",er.position="relative",er.width=ea,er.height=el)}var ef={src:b,srcSet:void 0,sizes:void 0};ei&&(ef=x({config:H,src:a,unoptimized:g,layout:U,width:ea,quality:eu,sizes:l,loader:$}));var em=a,eg="imagesizes";eg="imageSizes";var ev=(i(n={},"imageSrcSet",ef.srcSet),i(n,eg,ef.sizes),i(n,"crossOrigin",G.crossOrigin),n),ey=c.default.useLayoutEffect,eb=c.useRef(z),ew=c.useRef(a);c.useEffect(function(){eb.current=z},[z]),ey(function(){ew.current!==a&&(en(),ew.current=a)},[en,a]);var eS=s({isLazy:Y,imgAttributes:ef,heightInt:el,widthInt:ea,qualityInt:eu,layout:U,className:O,imgStyle:ec,blurStyle:ed,loading:P,config:H,unoptimized:g,placeholder:N,loader:$,srcString:em,onLoadingCompleteRef:eb,setBlurComplete:X,setIntersection:ee,isVisible:ei,noscriptSizes:l},G);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:er},es?c.default.createElement("span",{style:eo},t?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:t}):null):null,c.default.createElement(k,Object.assign({},eS))),E?c.default.createElement(d.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+ef.src+ef.srcSet+ef.sizes,rel:"preload",as:"image",href:ef.srcSet?void 0:ef.src},ev))):null)};var s=n(6495).Z,a=n(2648).Z,l=n(1598).Z,u=n(7273).Z,c=l(n(7294)),d=a(n(5443)),h=n(9309),p=n(7190),f=n(9977);n(3794);var m=n(2392);function g(e){return"/"===e[0]?e.slice(1):e}var v={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},y=new Set,b="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",w=new Map([["default",function(e){var t=e.config,n=e.src,i=e.width,r=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(m.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(i,"&q=").concat(r||75)}],["imgix",function(e){var t=e.config,n=e.src,i=e.width,r=e.quality,o=new URL("".concat(t.path).concat(g(n))),s=o.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||i.toString()),r&&s.set("q",r.toString()),o.href}],["cloudinary",function(e){var t,n=e.config,i=e.src,r=e.width,o=["f_auto","c_limit","w_"+r,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(n.path).concat(o).concat(g(i))}],["akamai",function(e){var t=e.config,n=e.src,i=e.width;return"".concat(t.path).concat(g(n),"?imwidth=").concat(i)}],["custom",function(e){var t=e.src;throw Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}],]);function S(e){return void 0!==e.default}function x(e){var t=e.config,n=e.src,i=e.unoptimized,r=e.layout,s=e.width,a=e.quality,l=e.sizes,u=e.loader;if(i)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,i){var r=e.deviceSizes,s=e.allSizes;if(i&&("fill"===n||"responsive"===n)){for(var a=/(^|\s)(1?\d?\d)vw/g,l=[];u=a.exec(i);u)l.push(parseInt(u[2]));if(l.length){var u,c,d=.01*(c=Math).min.apply(c,o(l));return{widths:s.filter(function(e){return e>=r[0]*d}),kind:"w"}}return{widths:s,kind:"w"}}return"number"!=typeof t||"fill"===n||"responsive"===n?{widths:r,kind:"w"}:{widths:o(new Set([t,2*t].map(function(e){return s.find(function(t){return t>=e})||s[s.length-1]}))),kind:"x"}}(t,s,r,l),d=c.widths,h=c.kind,p=d.length-1;return{sizes:l||"w"!==h?l:"100vw",srcSet:d.map(function(e,i){return"".concat(u({config:t,src:n,quality:a,width:e})," ").concat("w"===h?e:i+1).concat(h)}).join(", "),src:u({config:t,src:n,quality:a,width:d[p]})}}function _(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function C(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",i=w.get(n);if(i)return i(e);throw Error('Unknown "loader" found in "next.config.js". Expected: '.concat(h.VALID_LOADERS.join(", "),". Received: ").concat(n))}function E(e,t,n,i,r,o){e&&e.src!==b&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch(function(){}).then(function(){if(e.parentNode&&(y.add(t),"blur"===i&&o(!0),null==r?void 0:r.current)){var n=e.naturalWi
7dth,s=e.naturalHeight;r.current({naturalWidth:n,naturalHeight:s})}}))}var k=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),i=e.qualityInt,r=e.layout,o=e.className,a=e.imgStyle,l=e.blurStyle,d=e.isLazy,h=e.placeholder,p=e.loading,f=e.srcString,m=e.config,g=e.unoptimized,v=e.loader,y=e.onLoadingCompleteRef,b=e.setBlurComplete,w=e.setIntersection,S=e.onLoad,_=e.onError,C=(e.isVisible,e.noscriptSizes),k=u(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=d?"lazy":p,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},k,t,{decoding:"async","data-nimg":r,className:o,style:s({},a,l),ref:c.useCallback(function(e){w(e),(null==e?void 0:e.complete)&&E(e,f,r,h,y,b)},[w,f,r,h,y,b,]),onLoad:function(e){E(e.currentTarget,f,r,h,y,b),S&&S(e)},onError:function(e){"blur"===h&&b(!0),_&&_(e)}})),(d||"blur"===h)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},k,x({config:m,src:f,unoptimized:g,layout:r,width:n,quality:i,sizes:C,loader:v}),{decoding:"async","data-nimg":r,style:a,className:o,loading:p}))))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(4941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t,n=e.rootRef,u=e.rootMargin,c=e.disabled||!s,d=i(r.useState(!1),2),h=d[0],p=d[1],f=i(r.useState(null),2),m=f[0],g=f[1];return r.useEffect(function(){if(s){if(!c&&!h&&m&&m.tagName){var e,t,i,r,d,f,g;return t=function(e){return e&&p(e)},d=(r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},i=l.find(function(e){return e.root===n.root&&e.margin===n.margin});if(i&&(t=a.get(i)))return t;var r=new Map;return t={id:n,observer:new IntersectionObserver(function(e){e.forEach(function(e){var t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:r},l.push(n),a.set(n,t),t}(i={root:null==n?void 0:n.current,rootMargin:u})).id,f=r.observer,(g=r.elements).set(m,t),f.observe(m),function(){if(g.delete(m),f.unobserve(m),0===g.size){f.disconnect(),a.delete(d);var e=l.findIndex(function(e){return e.root===d.root&&e.margin===d.margin});e>-1&&l.splice(e,1)}}}}else if(!h){var v=o.requestIdleCallback(function(){return p(!0)});return function(){return o.cancelIdleCallback(v)}}},[m,c,u,n,h]),[g,h,r.useCallback(function(){p(!1)},[])]};var r=n(7294),o=n(9311),s="function"==typeof IntersectionObserver,a=new Map,l=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],i=t[1];return(n+i)*3/4-i},t.toByteArray=function(e){var t,n,o,s,a=l(e),u=a[0],c=a[1],d=new r((u+c)*3/4-c),h=0,p=c>0?u-4:u;for(n=0;n<p;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],d[h++]=t>>16&255,d[h++]=t>>8&255,d[h++]=255&t;return 2===c&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,d[h++]=255&t),1===c&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,d[h++]=t>>8&255,d[h++]=255&t),d},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,o=[],s=0,a=i-r;s<a;s+=16383)o.push(c(e,s,s+16383>a?a:s+16383));return 1===r?o.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===r&&o.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}function u(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}
7function c(e,t,n){for(var i,r=[],o=t;o<n;o+=3)r.push(u(i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2])));return r.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*! 8 * The buffer module from node.js, for the browser. 9 * 10 * @author Feross Aboukhadijeh <https://feross.org> 11 * @license MIT 12 */ var i=n(675),r=n(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){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,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),i=s(n),r=i.write(e,t);return r!==n&&(i=i.slice(0,r)),i}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return function e(t,n,i){var r;if(n<0||t.byteLength<n)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<n+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===n&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,n):new Uint8Array(t,n,i),a.prototype),r}(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return a.from(i,t,n);var r=function(e){if(a.isBuffer(e)){var t,n=0|h(e.length),i=s(n);return 0===i.length||e.copy(i,0,0,n),i}if(void 0!==e.length){return"number"!=typeof e.length||(t=e.length,t!=t)?s(0):d(e)}if("Buffer"===e.type&&Array.isArray(e.data))return d(e.data)}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);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),s(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),n=s(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,a.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(n){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,n){var i,r,o;return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)};function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(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 n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return D(e).length;default:if(r)return i?-1:V(e).length;t=(""+t).toLowerCase(),r=!0}}function f(e,t,n){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function m(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function g(e,t,n,i,r){var o;if(0===e.length)return -1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),o=n=+n,o!=o&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return -1;n=e.length-1}else if(n<0){if(!r)return -1;n=0}if("string"==typeof t&&(t=a.from(t,i)),a.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,r);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,i,r);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,i,r){var o,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;
12s=2,a/=2,l/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var c=-1;for(o=n;o<a;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*s}else -1!==c&&(o-=o-c),c=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return -1}function y(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a,l=parseInt(t.substr(2*s,2),16);if(a=l,a!=a)break;e[n+s]=l}return s}function b(e,t,n,i){return z(V(t,e.length-n),e,n,i)}function w(e,t,n,i){return z(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function S(e,t,n,i){return z(D(t),e,n,i)}function x(e,t,n,i){return z(function(e,t){for(var n,i,r,o=[],s=0;s<e.length&&!((t-=2)<0);++s)i=(n=e.charCodeAt(s))>>8,r=n%256,o.push(r),o.push(i);return o}(t,e.length-n),e,n,i)}function _(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,s,a,l,u=e[r],c=null,d=u>239?4:u>223?3:u>191?2:1;if(r+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[r+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[r+1],s=e[r+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[r+1],s=e[r+2],a=e[r+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return n}(i)}function E(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}function k(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}function P(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o<n;++o)r+=N[e[o]];return r}function T(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function A(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function O(e,t,n,i,r,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<o)throw RangeError('"value" argument is out of bounds');if(n+i>e.length)throw RangeError("Index out of range")}function L(e,t,n,i,r,o){if(n+i>e.length||n<0)throw RangeError("Index out of range")}function R(e,t,n,i,o){return t=+t,n>>>=0,o||L(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function M(e,t,n,i,o){return t=+t,n>>>=0,o||L(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r<o;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},a.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}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,i=a.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var o=e[n];if(F(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):f.apply(this,arguments)}
vendor: 8,413 bytes, line 12
12,a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,n,i,r){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var o=r-i,s=n-t,l=Math.min(o,s),u=this.slice(i,r),c=e.slice(t,n),d=0;d<l;++d)if(u[d]!==c[d]){o=u[d],s=c[d];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},a.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r,o,s,a,l=this.length-t;if((void 0===n||n>l)&&(n=l),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return s=t,w(this,e,s,a=n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(u)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,a.prototype),i},a.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},a.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},a.prototype.readUInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||A(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||A(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||A(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||A(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||A(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||A(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,!i&&O(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o<n&&(r*=256);)this[t+o]=e/r&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,!i&&O(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||O(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},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||O(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},a.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var o=0,s=1,a=0;for(this[t]=255&e;++o<n&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},a.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);O(this,e,t,n,r-1,-r)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||O(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},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||O(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},a.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,i){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var r=i-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,i);else if(this===e&&n<t&&t<i)for(var o=r-1;o>=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,i),t);return r},a.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){var r,o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r<n;++r)this[r]=e;
12else{var s=a.isBuffer(e)?e:a.from(e,i),l=s.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(r=0;r<n-t;++r)this[r+t]=s[r%l]}return this};var I=/[^+/0-9A-Za-z-_]/g;function V(e,t){t=t||1/0;for(var n,i=e.length,r=null,o=[],s=0;s<i;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!r){if(n>56319||s+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function D(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length)&&!(r>=e.length);++r)t[r+n]=e[r];return r}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var N=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var i=16*n,r=0;r<16;++r)t[i+r]=e[n]+e[r];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ t.read=function(e,t,n,i,r){var o,s,a=8*r-i-1,l=(1<<a)-1,u=l>>1,c=-7,d=n?r-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-c)-1,p>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=i;c>0;s=256*s+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,i),o-=u}return(p?-1:1)*s*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var s,a,l,u=8*o-r-1,c=(1<<u)-1,d=c>>1,h=23===r?5960464477539062e-23:0,p=i?0:o-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,r),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+p]=255&a,p+=f,a/=256,r-=8);for(s=s<<r|a,u+=r;u>0;e[n+p]=255&s,p+=f,s/=256,u-=8);e[n+p-f]|=128*m}}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},s=!0;try{t[e](o,o.exports,i),s=!1}finally{s&&delete n[e]}return o.exports}i.ab="//";var r=i(72);e.exports=r}()},4714:function(){},9846:function(){},8770:function(){},933:function(){},9008:function(e,t,n){e.exports=n(5443)},5675:function(e,t,n){e.exports=n(8045)},2703:function(e,t,n){"use strict";var i=n(414);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,s){if(s!==i){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6893:function(e,t,n){"use strict";n.d(t,{LbG:function(){return s},Tfp:function(){return o},YFh:function(){return r}});var i=n(8357);function r(e){return(0,i.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(e)}function o(e){return(0,i.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(e)}function s(e){return(0,i.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"22",y1:"2",x2:"11",y2:"13"}},{tag:"polygon",attr:{points:"22 2 15 22 11 13 2 9 22 2"}}]})(e)}},8357:function(e,t,n){"use strict";n.d(t,{w_:function(){return l}});var i=n(7294),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=i.createContext&&i.createContext(r),s=function(){return(s=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};function l(e){return function(t){return i.createElement(u,s({attr:s({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return i.createElement(t.tag,s({key:n},t.attr),e(t.child))})}(e.child))}}function u(e){var t=function(t){var n,r=e.attr,o=e.size,l=e.title,u=a(e,["attr","size","title"]),c=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),i.createElement("svg",s({stroke:"currentColor",fill:"
12currentColor",strokeWidth:"0"},t.attr,r,u,{className:n,style:s(s({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&i.createElement("title",null,l),e.children)};return void 0!==o?i.createElement(o.Consumer,null,function(e){return t(e)}):t(r)}},8533:function(e,t,n){"use strict";var i=n(7294),r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},s={Pixel:"Pixel",Percent:"Percent"},a={unit:s.Percent,value:.8};function l(e){return"number"==typeof e?{unit:s.Percent,value:100*e}:"string"==typeof e?e.match(/^(\d*(\.\d+)?)px$/)?{unit:s.Pixel,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:s.Percent,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),a):(console.warn("scrollThreshold should be string or number"),a)}var u=function(e){function t(t){var n=e.call(this,t)||this;return n.lastScrollTop=0,n.actionTriggered=!1,n.startY=0,n.currentY=0,n.dragging=!1,n.maxPullDownDistance=0,n.getScrollableTarget=function(){return n.props.scrollableTarget instanceof HTMLElement?n.props.scrollableTarget:"string"==typeof n.props.scrollableTarget?document.getElementById(n.props.scrollableTarget):(null===n.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n happen because the element may not have been added to DOM yet.\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n "),null)},n.onStart=function(e){!n.lastScrollTop&&(n.dragging=!0,e instanceof MouseEvent?n.startY=e.pageY:e instanceof TouchEvent&&(n.startY=e.touches[0].pageY),n.currentY=n.startY,n._infScroll&&(n._infScroll.style.willChange="transform",n._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},n.onMove=function(e){if(n.dragging)e instanceof MouseEvent?n.currentY=e.pageY:e instanceof TouchEvent&&(n.currentY=e.touches[0].pageY),!(n.currentY<n.startY)&&(n.currentY-n.startY>=Number(n.props.pullDownToRefreshThreshold)&&n.setState({pullToRefreshThresholdBreached:!0}),!(n.currentY-n.startY>1.5*n.maxPullDownDistance)&&n._infScroll&&(n._infScroll.style.overflow="visible",n._infScroll.style.transform="translate3d(0px, "+(n.currentY-n.startY)+"px, 0px)"))},n.onEnd=function(){n.startY=0,n.currentY=0,n.dragging=!1,n.state.pullToRefreshThresholdBreached&&(n.props.refreshFunction&&n.props.refreshFunction(),n.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){n._infScroll&&(n._infScroll.style.overflow="auto",n._infScroll.style.transform="none",n._infScroll.style.willChange="unset")})},n.onScrollListener=function(e){"function"==typeof n.props.onScroll&&setTimeout(function(){return n.props.onScroll&&n.props.onScroll(e)},0);var t=n.props.height||n._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;!n.actionTriggered&&((n.props.inverse?n.isElementAtTop(t,n.props.scrollThreshold):n.isElementAtBottom(t,n.props.scrollThreshold))&&n.props.hasMore&&(n.actionTriggered=!0,n.setState({showLoader:!0}),n.props.next&&n.props.next()),n.lastScrollTop=t.scrollTop)},n.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},n.throttledOnScrollListener=(function(e,t,n,i){var r,o=!1,s=0;function a(){r&&clearTimeout(r)}function l(){var l=this,u=Date.now()-s,c=arguments;function d(){s=Date.now(),n.apply(l,c)}!o&&(i&&!r&&d(),a(),void 0===i&&u>e?d():!0!==t&&(r=setTimeout(i?function(){r=void 0}:d,void 0===i?e-u:e)))}return"boolean"!=typeof t&&(i=n,n=t,t=void 0),l.cancel=function(){a(),o=!0},l})(150,n.onScrollListener).bind(n),n.onStart=n.onStart.bind(n),n.onMove=n.onMove.bind(n),n.onEnd=n.onEnd.bind(n),n}return!function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){if(void 0===this.props.dataLength)throw Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');
12if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"==typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!=typeof this.props.refreshFunction))throw Error('Mandatory prop "refreshFunction" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage\'')},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?o(o({},t),{prevDataLength:e.dataLength}):null},t.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var n=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,i=l(t);return i.unit===s.Pixel?e.scrollTop<=i.value+n-e.scrollHeight+1:e.scrollTop<=i.value/100+n-e.scrollHeight+1},t.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var n=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,i=l(t);return i.unit===s.Pixel?e.scrollTop+n>=e.scrollHeight-i.value:e.scrollTop+n>=i.value/100*e.scrollHeight},t.prototype.render=function(){var e=this,t=o({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),n=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),r=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return i.createElement("div",{style:r,className:"infinite-scroll-component__outerdiv"},i.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&i.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},i.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!n&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(i.Component);t.Z=u},1471:function(e,t){"use strict";/** 13 * @license React 14 * react-is.production.min.js 15 * 16 * Copyright (c) Facebook, Inc. and its affiliates. 17 * 18 * This source code is licensed under the MIT license found in the 19 * LICENSE file in the root directory of this source tree. 20 */ var n,i=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case o:case a:case s:case h:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case f:case l:return e;default:return t}}case r:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=l,t.Element=i,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=f,t.Portal=r,t.Profiler=a,t.StrictMode=s,t.Suspense=h,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===u},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===f},t.isPortal=function(e){return v(e)===r},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===s},t.isSuspense=function(e){return v(e)===h},t.isSuspenseList=function(e){return v(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===s||e===h||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},2143:function(e,t,n){"use strict";e.exports=n(1471)},544:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(7294),r=n(9),o=n(8252),s=n.n(o);let a="tsparticles";class l extends i.Component{constructor(e){super(e),this.state={init:!1,library:void 0}}destroy(){this.state.library&&(this.state.library.destroy(),this.setState({library:void 0}))}shouldComponentUpdate(e){return!s()(e,this.props)}componentDidUpdate(){this.refresh()}forceUpdate(){this.refresh().then(()=>{super.forceUpdate()})}componentDidMount(){(async()=>{this.props.init&&await this.props.init(r.S6),this.setState({init:!0},async()=>{await this.loadParticles()})})()}componentWillUnmount(){this.destroy()}render(){let{width:e,height:t,className:n,canvasClassName:r,id:o}=this.props;return i.createElement("div",{className:n,id:o},i.createElement("canvas",{className:r,style:Object.assign(Object.assign({},this.props.style),{width:e,height:t})}))}async refresh(){this.destroy(),await this.loadParticles()}async loadParticles(){var e,t,n;if(!this.state.init)return;let i=async e=>{this.props.container&&(this.props.container.current=e),this.setState({library:e}),this.props.loaded&&await this.props.loaded(e)},o=null!==(t=null!==(e=this.props.id)&&void 0!==e?e:l.defaultProps.id)&&void 0!==t?t:a,s=this.props.url?await r.S6.loadJSON(o,this.props.url):await r.S6.load(o,null!==(n=this.props.params)&&void 0!==n?n:this.props.options);await i(s)}}l.defaultProps={width:"100%",height:"100%",options:{},style:{},url:void 0,id:a};var u=l},7848:function(e,t,n){var i=n(8139);e.exports=function(e,t){var n,r,o,s=null;if(!e||"string"!=typeof e)return s;for(var a=i(e),l="function"==typeof t,u=0,c=a.length;u<c;u++)r=(n=a[u]).property,o=n.value,l?t(r,o,n):o&&(s||(s={}),s[r]=o);return s}},9:function(e,t,n){"use strict";n.d(t,{RC:function(){return ej},Cd:function(){return tf},L8:function(){return tk},Oz:function(){return ew},$S:function(){return tP},Ae:function(){return tm},SW:function(){return eH}
20,OW:function(){return o},dU:function(){return T},cj:function(){return b},p:function(){return S},Gz:function(){return x},M_:function(){return L},kR:function(){return z},gy:function(){return D},uZ:function(){return l},oc:function(){return en},ZB:function(){return R},iC:function(){return V},XD:function(){return I},pS:function(){return el},Wd:function(){return eu},KH:function(){return N},Sp:function(){return v},oW:function(){return g},bS:function(){return es},BE:function(){return ei},Dt:function(){return er},sZ:function(){return a},KI:function(){return p},Uv:function(){return h},Gu:function(){return d},vz:function(){return et},iz:function(){return ee},NA:function(){return m},wm:function(){return M},dB:function(){return k},Ac:function(){return O},Kr:function(){return E},c8:function(){return A},wA:function(){return j},mx:function(){return P},hT:function(){return ta},aM:function(){return ef},Wt:function(){return ep},vd:function(){return c},lN:function(){return Q},tX:function(){return W},dp:function(){return F},lC:function(){return Y},Cs:function(){return f},gE:function(){return Z},S6:function(){return tO}});class i{constructor(){this._listeners=new Map}addEventListener(e,t){var n;this.removeEventListener(e,t),this._listeners.get(e)||this._listeners.set(e,[]),null===(n=this._listeners.get(e))||void 0===n||n.push(t)}dispatchEvent(e,t){var n;null===(n=this._listeners.get(e))||void 0===n||n.forEach(e=>e(t))}hasEventListener(e){return!!this._listeners.get(e)}removeAllEventListeners(e){e?this._listeners.delete(e):this._listeners=new Map}removeEventListener(e,t){let n=this._listeners.get(e);if(!n)return;let i=n.length,r=n.indexOf(t);!(r<0)&&(1===i?this._listeners.delete(e):n.splice(r,1))}}
20class r{constructor(e,t,n){if("number"!=typeof e&&e)this.x=e.x,this.y=e.y,this.z=e.z?e.z:0;else if(void 0!==e&&void 0!==t)this.x=e,this.y=t,this.z=null!=n?n:0;else throw Error("tsParticles - Vector3d not initialized correctly")}static get origin(){return r.create(0,0,0)}get angle(){return Math.atan2(this.y,this.x)}set angle(e){this.updateFromAngle(e,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(e){this.updateFromAngle(this.angle,e)}static clone(e){return r.create(e.x,e.y,e.z)}static create(e,t,n){return new r(e,t,n)}add(e){return r.create(this.x+e.x,this.y+e.y,this.z+e.z)}addTo(e){this.x+=e.x,this.y+=e.y,this.z+=e.z}copy(){return r.clone(this)}distanceTo(e){return this.sub(e).length}distanceToSq(e){return this.sub(e).getLengthSq()}div(e){return r.create(this.x/e,this.y/e,this.z/e)}divTo(e){this.x/=e,this.y/=e,this.z/=e}getLengthSq(){return this.x**2+this.y**2}mult(e){return r.create(this.x*e,this.y*e,this.z*e)}multTo(e){this.x*=e,this.y*=e,this.z*=e}rotate(e){return r.create(this.x*Math.cos(e)-this.y*Math.sin(e),this.x*Math.sin(e)+this.y*Math.cos(e),0)}setTo(e){this.x=e.x,this.y=e.y,this.z=e.z?e.z:0}sub(e){return r.create(this.x-e.x,this.y-e.y,this.z-e.z)}subFrom(e){this.x-=e.x,this.y-=e.y,this.z-=e.z}updateFromAngle(e,t){this.x=Math.cos(e)*t,this.y=Math.sin(e)*t}}class o extends r{constructor(e,t){super(e,t,0)}static get origin(){return o.create(0,0)}static clone(e){return o.create(e.x,e.y)}static create(e,t){return new o(e,t)}}let s=Math.random;function a(){return l(s(),0,1-1e-16)}function l(e,t,n){return Math.min(Math.max(e,t),n)}function u(e,t,n,i){return Math.floor((e*n+t*i)/(n+i))}function c(e){let t=p(e),n=h(e);return t===n&&(n=0),a()*(t-n)+n}function d(e){return"number"==typeof e?e:c(e)}function h(e){return"number"==typeof e?e:e.min}function p(e){return"number"==typeof e?e:e.max}function f(e,t){if(e===t||void 0===t&&"number"==typeof e)return e;let n=h(e),i=p(e);return void 0!==t?{min:Math.min(n,t),max:Math.max(i,t)}:f(n,i)}function m(e){let t=e.random,{enable:n,minimumValue:i}="boolean"==typeof t?{enable:t,minimumValue:0}:t;return n?d(f(e.value,i)):d(e.value)}function g(e,t){let n=e.x-t.x,i=e.y-t.y;return{dx:n,dy:i,distance:Math.sqrt(n*n+i*i)}}function v(e,t){return g(e,t).distance}function y(e,t,n,i){return o.create(e.x*(n-i)/(n+i)+2*t.x*i/(n+i),e.y)}function b(e,t){switch(t){case"ease-in-quad":return e**2;case"ease-out-quad":return 1-(1-e)**2;case"ease-in-out-quad":return e<.5?2*e**2:1-(-2*e+2)**2/2;case"ease-in-cubic":return e**3;case"ease-out-cubic":return 1-(1-e)**3;case"ease-in-out-cubic":return e<.5?4*e**3:1-(-2*e+2)**3/2;case"ease-in-quart":return e**4;case"ease-out-quart":return 1-(1-e)**4;case"ease-in-out-quart":return e<.5?8*e**4:1-(-2*e+2)**4/2;case"ease-in-quint":return e**5;case"ease-out-quint":return 1-(1-e)**5;case"ease-in-out-quint":return e<.5?16*e**5:1-(-2*e+2)**5/2;case"ease-in-expo":return e?2**(10*e-10):0;case"ease-out-expo":return 1===e?1:1-Math.pow(2,-10*e);case"ease-in-out-expo":return e?1===e?1:e<.5?2**(20*e-10)/2:(2-2**(-20*e+10))/2:0;case"ease-in-sine":return 1-Math.cos(e*Math.PI/2);case"ease-out-sine":return Math.sin(e*Math.PI/2);case"ease-in-out-sine":return-(Math.cos(Math.PI*e)-1)/2;case"ease-in-back":return 2.70158*e**3-1.70158*e**2;case"ease-out-back":return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2);case"ease-in-out-back":return e<.5?(2*e)**2*(7.189819*e-2.5949095)/2:((2*e-2)**2*(3.5949095*(2*e-2)+2.5949095)+2)/2;case"ease-in-circ":return 1-Math.sqrt(1-e**2);case"ease-out-circ":return Math.sqrt(1-(e-1)**2);case"ease-in-out-circ":return e<.5?(1-Math.sqrt(1-(2*e)**2))/2:(Math.sqrt(1-(-2*e+2)**2)+1)/2;default:return e}}function w(e){var t,n;return(null===(t=e.position)||void 0===t?void 0:t.x)!==void 0&&(null===(n=e.position)||void 0===n?void 0:n.y)!==void 0?{x:e.position.x*e.size.width/100,y:e.position.y*e.size.height/100}:void 0}function S(e){var t,n,i,r;return{x:(null!==(n=null===(t=e.position)||void 0===t?void 0:t.x)&&void 0!==n?n:100*a())*e.size.width/100,y:(null!==(r=null===(i=e.position)||void 0===i?void 0:i.y)&&void 0!==r?r:100*a())*e.size.height/100}}function x(e){var t,n;let i={x:(null===(t=e.position)||void 0===t?void 0:t.x)!==void 0?d(e.position.x):void 0,y:(null===(n=e.position)||void 0===n?void 0:n.y)!==void 0?d(e.position.y):void 0};return S({size:e.size,position:i})}function _(e){return e.endsWith("%")?parseFloat(e)/100:parseFloat(e)}function C(e,t,n,i,r,o){let s={bounced:!1}
20;return t.min<i.min||t.min>i.max||t.max<i.min||t.max>i.max||(e.max>=n.min&&e.max<=(n.max+n.min)/2&&r>0||e.min<=n.max&&e.min>(n.max+n.min)/2&&r<0)&&(s.velocity=-(r*o),s.bounced=!0),s}function E(){return"undefined"==typeof window||!window||void 0===window.document||!window.document}function k(e,t){return e===t||t instanceof Array&&t.indexOf(e)>-1}async function P(e,t){try{await document.fonts.load(`${null!=t?t:"400"} 36px '${null!=e?e:"Verdana"}'`)}catch(n){}}function T(e){return Math.floor(a()*e.length)}function A(e,t,n=!0){let i=void 0!==t&&n?t%e.length:T(e);return e[i]}function O(e,t,n,i,r){var o,s,a,l;let u;return o=L(e,null!=i?i:0),s=t,a=n,l=r,u=!0,l&&"bottom"!==l||(u=o.top<s.height+a.x),u&&(!l||"left"===l)&&(u=o.right>a.x),u&&(!l||"right"===l)&&(u=o.left<s.width+a.y),u&&(!l||"top"===l)&&(u=o.bottom>a.y),u}function L(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function R(e,...t){for(let n of t){if(null==n)continue;if("object"!=typeof n){e=n;continue}let i=Array.isArray(n);for(let r in!i||"object"==typeof e&&e&&Array.isArray(e)?!i&&("object"!=typeof e||!e||Array.isArray(e))&&(e={}):e=[],n){if("__proto__"===r)continue;let o=n,s=o[r],a="object"==typeof s,l=e;l[r]=a&&Array.isArray(s)?s.map(e=>R(l[r],e)):R(l[r],s)}}return e}function M(e,t){return!!G(t,t=>t.enable&&k(e,t.mode))}function I(e,t,n){N(t,t=>{let i=t.mode,r=t.enable;r&&k(e,i)&&function(e,t){let n=e.selectors;N(n,n=>{t(n,e)})}(t,n)})}function V(e,t){if(t&&e)return G(e,e=>(function(e,t){let n=N(t,t=>e.matches(t));return n instanceof Array?n.some(e=>e):n})(t,e.selectors))}function D(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:o.create(m(e.options.bounce.horizontal),m(e.options.bounce.vertical))}}function z(e,t){let{x:n,y:i}=e.velocity.sub(t.velocity),[r,o]=[e.position,t.position],{dx:s,dy:a}=g(o,r);if(n*s+i*a<0)return;let l=-Math.atan2(a,s),u=e.mass,c=t.mass,d=e.velocity.rotate(l),h=t.velocity.rotate(l),p=y(d,h,u,c),f=y(h,d,u,c),m=p.rotate(-l),v=f.rotate(-l);e.velocity.x=m.x*e.factor.x,e.velocity.y=m.y*e.factor.y,t.velocity.x=v.x*t.factor.x,t.velocity.y=v.y*t.factor.y}function F(e,t){let n=e.getPosition(),i=e.getRadius(),r=L(n,i),o=C({min:r.left,max:r.right},{min:r.top,max:r.bottom},{min:t.left,max:t.right},{min:t.top,max:t.bottom},e.velocity.x,m(e.options.bounce.horizontal));o.bounced&&(void 0!==o.velocity&&(e.velocity.x=o.velocity),void 0!==o.position&&(e.position.x=o.position));let s=C({min:r.top,max:r.bottom},{min:r.left,max:r.right},{min:t.top,max:t.bottom},{min:t.left,max:t.right},e.velocity.y,m(e.options.bounce.vertical));s.bounced&&(void 0!==s.velocity&&(e.velocity.y=s.velocity),void 0!==s.position&&(e.position.y=s.position))}function N(e,t){return e instanceof Array?e.map(e=>t(e)):t(e)}function j(e,t,n){return e instanceof Array?A(e,t,n):e}function G(e,t){return e instanceof Array?e.find(e=>t(e)):t(e)?e:void 0}let B="random",H=new Map;function U(e,t){H.set(e,t)}function $(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function q(e){for(let[,t]of H)if(e.startsWith(t.stringPrefix))return t.parseString(e);let n=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,(e,t,n,i,r)=>t+t+n+n+i+i+(void 0!==r?r+r:"")),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i.exec(n);return i?{a:void 0!==i[4]?parseInt(i[4],16)/255:1,b:parseInt(i[3],16),g:parseInt(i[2],16),r:parseInt(i[1],16)}:void 0}function W(e,t,n=!0){if(!e)return;let i="string"==typeof e?{value:e}:e;if("string"==typeof i.value)return function e(t,n,i=!0){if(!t)return;let r="string"==typeof t?{value:t}:t;if("string"==typeof r.value)return r.value===B?J():function(e){return q(e)}(r.value);if(r.value instanceof Array)return e({value:A(r.value,n,i)});for(let[,o]of H){let s=o.handleColor(r);if(s)return s}}(i.value,t,n);if(i.value instanceof Array)return W({value:A(i.value,t,n)});for(let[,r]of H){let o=r.handleRangeColor(i);if(o)return o}}function Q(e,t,n=!0){let i=W(e,t,n);return i?Y(i):void 0}function Y(e){let t=e.r/255,n=e.g/255,i=e.b/255,r=Math.max(t,n,i),o=Math.min(t,n,i),s={h:0,l:(r+o)/2,s:0};return r!==o&&(s.s=s.l<.5?(r-o)/(r+o):(r-o)/(2-r-o),s.h=t===r?(n-i)/(r-o):s.h=n===r?2+(i-t)/(r-o):4+(t-n)/(r-o)),s.l*=100,s.s*=100,s.h*=60,s.h<0&&(s.h+=360),s.h>=360&&(s.h-=360),s}function Z(e){var t;return null===(t=q(e))||void 0===t?void 0:t.a}function K(e){return q(e)}function X(e){let t={b:0,g:0,r:0},n={h:e.h/360,l:e.l/100,s:e.s/100};if(n.s){let i=n.l<.5?n.l*(1+n.s):n.l+n.s-n.l*n.s,r=2*n.l-i;t.r=$(r,i,n.h+1/3),t.g=$(r,i,n.h),t.b=$(r,i,n.h-1/3)}else t.b=n.l,t.g=n.l,t.r=n.l;return t.r=Math.floor(255*t.r),t.g=Math.floor(255*t.g),t.b=Math.floor(255*t.b),t}function J(e){let t=null!=e?e:0;return{b:Math.floor(c(f(t,256))),g:Math.floor(c(f(t,256))),r:Math.floor(c(f(t,256)))}}function ee(e,t){return`rgba(${e.r}, ${e.g}, ${e.b}, ${null!=t?t:1})`}function et(e,t){return`hsla(${e.h}, ${e.s}%, ${e.l}%, ${null!=t?t:1})`}function en(e,t,n,i){let r=e,o=t;return void 0===r.r&&(r=X(e)),void 0===o.r&&(o=X(t)),{b:u(r.b,o.b,n,i),g:u(r.g,o.g,n,i),r:u(r.r,o.r,n,i)}}
20function ei(e,t,n){var i,r;if(n===B)return J();if("mid"!==n)return n;{let o=null!==(i=e.getFillColor())&&void 0!==i?i:e.getStrokeColor(),s=null!==(r=null==t?void 0:t.getFillColor())&&void 0!==r?r:null==t?void 0:t.getStrokeColor();if(o&&s&&t)return en(o,s,e.getRadius(),t.getRadius());{let a=null!=o?o:s;if(a)return X(a)}}}function er(e,t,n){let i="string"==typeof e?e:e.value;return i!==B?W({value:i}):n?W({value:i}):t?B:"mid"}function eo(e){return void 0!==e?{h:e.h.value,s:e.s.value,l:e.l.value}:void 0}function es(e,t,n){let i={h:{enable:!1,value:e.h},s:{enable:!1,value:e.s},l:{enable:!1,value:e.l}};return t&&(ea(i.h,t.h,n),ea(i.s,t.s,n),ea(i.l,t.l,n)),i}function ea(e,t,n){e.enable=t.enable,e.enable?(e.velocity=d(t.speed)/100*n,e.decay=1-d(t.decay),e.status=0,t.sync||(e.velocity*=a(),e.value*=a())):e.velocity=0}function el(e,t,n){e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.closePath()}function eu(e,t,n,i){e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.lineTo(i.x,i.y),e.closePath()}function ec(e,t){e.clearRect(0,0,t.width,t.height)}let ed="generated",eh="touchend",ep="pointermove",ef="pointerleave";function em(e,t,n){var i;let r=t[n];void 0!==r&&(e[n]=(null!==(i=e[n])&&void 0!==i?i:1)*r)}class eg{constructor(e){this.container=e,this.size={height:0,width:0},this._context=null,this._generatedCanvas=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}clear(){let e=this.container.actualOptions,t=e.particles.move.trail;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&this._trailFillColor?this._paintBase(ee(this._trailFillColor,1/t.length)):this.draw(e=>{ec(e,this.size)})}destroy(){var e;this._generatedCanvas?null===(e=this.element)||void 0===e||e.remove():this._resetOriginalStyle(),this.draw(e=>{ec(e,this.size)}),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){if(this._context)return e(this._context)}drawParticle(e,t){var n;if(e.spawning||e.destroyed)return;let i=e.getRadius();if(i<=0)return;let r=e.getFillColor(),o=null!==(n=e.getStrokeColor())&&void 0!==n?n:r,[s,a]=this._getPluginParticleColors(e);s||(s=r),a||(a=o),(s||a)&&this.draw(n=>{var r,o,l,u,c;let d=this.container.actualOptions,h=e.options.zIndex,p=(1-e.zIndexFactor)**h.opacityRate,f=null!==(l=null!==(r=e.bubble.opacity)&&void 0!==r?r:null===(o=e.opacity)||void 0===o?void 0:o.value)&&void 0!==l?l:1,m=null!==(c=null===(u=e.stroke)||void 0===u?void 0:u.opacity)&&void 0!==c?c:f,g=f*p,v={},y={fill:s?et(s,g):void 0};y.stroke=a?et(a,m*p):y.fill,this._applyPreDrawUpdaters(n,e,i,g,y,v),function(e){var t,n,i,r,o,s,a,l,u,c;let{container:d,context:h,particle:p,delta:f,colorStyles:m,backgroundMask:g,composite:v,radius:y,opacity:b,shadow:w,transform:S}=e,x=p.getPosition();h.save(),void 0!==S.a||void 0!==S.b||void 0!==S.c||void 0!==S.d?h.setTransform(null!==(t=S.a)&&void 0!==t?t:1,null!==(n=S.b)&&void 0!==n?n:0,null!==(i=S.c)&&void 0!==i?i:0,null!==(r=S.d)&&void 0!==r?r:1,x.x,x.y):h.translate(x.x,x.y),h.beginPath();let _=p.rotation+(p.options.rotate.path?p.velocity.angle:0);0!==_&&h.rotate(_),g&&(h.globalCompositeOperation=v);let C=p.shadowColor;w.enable&&C&&(h.shadowBlur=w.blur,h.shadowColor=ee(C),h.shadowOffsetX=w.offset.x,h.shadowOffsetY=w.offset.y),m.fill&&(h.fillStyle=m.fill);let E=p.stroke;h.lineWidth=null!==(o=p.strokeWidth)&&void 0!==o?o:0,m.stroke&&(h.strokeStyle=m.stroke),function(e,t,n,i,r,o){if(!n.shape)return;let s=e.drawers.get(n.shape);s&&s.draw(t,n,i,r,o,e.retina.pixelRatio)}(d,h,p,y,b,f),(null!==(s=null==E?void 0:E.width)&&void 0!==s?s:0)>0&&h.stroke(),p.close&&h.closePath(),p.fill&&h.fill(),h.restore(),h.save(),void 0!==S.a||void 0!==S.b||void 0!==S.c||void 0!==S.d?h.setTransform(null!==(a=S.a)&&void 0!==a?a:1,null!==(l=S.b)&&void 0!==l?l:0,null!==(u=S.c)&&void 0!==u?u:0,null!==(c=S.d)&&void 0!==c?c:1,x.x,x.y):h.translate(x.x,x.y),p.rotation&&h.rotate(p.rotation),g&&(h.globalCompositeOperation=v),function(e,t,n,i,r,o){if(!n.shape)return;let s=e.drawers.get(n.shape);(null==s?void 0:s.afterEffect)&&s.afterEffect(t,n,i,r,o,e.retina.pixelRatio)}
20(d,h,p,y,b,f),h.restore()}({container:this.container,context:n,particle:e,delta:t,colorStyles:y,backgroundMask:d.backgroundMask.enable,composite:d.backgroundMask.composite,radius:i*(1-e.zIndexFactor)**h.sizeRate,opacity:g,shadow:e.options.shadow,transform:v}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,n){this.draw(i=>{var r,o,s,a;r=i,o=e,s=t,a=n,!o.drawParticle||(r.save(),o.drawParticle(r,s,a),r.restore())})}drawPlugin(e,t){this.draw(n=>{var i,r,o;i=n,r=e,o=t,!r.draw||(i.save(),r.draw(i,o),i.restore())})}init(){this.resize(),this._initStyle(),this._initCover(),this._initTrail(),this.initBackground(),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){let e=this.container.actualOptions,t=e.background,n=this.element,i=null==n?void 0:n.style;if(i){if(t.color){let r=W(t.color);i.backgroundColor=r?ee(r,t.opacity):""}else i.backgroundColor="";i.backgroundImage=t.image||"",i.backgroundPosition=t.position||"",i.backgroundRepeat=t.repeat||"",i.backgroundSize=t.size||""}}initPlugins(){for(let[,e]of(this._resizePlugins=[],this.container.plugins))e.resize&&this._resizePlugins.push(e),(e.particleFillColor||e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){for(let e of(this._preDrawUpdaters=[],this._postDrawUpdaters=[],this.container.particles.updaters))e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles||e.getTransformValues||e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){var t;this._generatedCanvas&&(null===(t=this.element)||void 0===t||t.remove()),this._generatedCanvas=e.dataset&&ed in e.dataset?"true"===e.dataset[ed]:this._generatedCanvas,this.element=e,this._originalStyle=R({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this.container.retina.init(),this.initBackgroun
20d()}paint(){let e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(ec(t,this.size),this._paintBase(this._coverColorStyle)):this._paintBase()})}resize(){if(!this.element)return;let e=this.container,t=e.retina.pixelRatio,n=e.canvas.size,i={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(i.height===n.height&&i.width===n.width&&i.height===this.element.height&&i.width===this.element.width)return;let r=Object.assign({},n);this.element.width=n.width=this.element.offsetWidth*t,this.element.height=n.height=this.element.offsetHeight*t,this.container.started&&(this.resizeFactor={width:n.width/r.width,height:n.height/r.height})}async windowResize(){if(!this.element)return;this.resize();let e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}_applyPostDrawUpdaters(e){var t;for(let n of this._postDrawUpdaters)null===(t=n.afterDraw)||void 0===t||t.call(n,e)}_applyPreDrawUpdaters(e,t,n,i,r,o){var s;for(let a of this._preDrawUpdaters){if(a.getColorStyles){let{fill:l,stroke:u}=a.getColorStyles(t,e,n,i);l&&(r.fill=l),u&&(r.stroke=u)}if(a.getTransformValues){let c=a.getTransformValues(t);for(let d in c)em(o,c,d)}null===(s=a.beforeDraw)||void 0===s||s.call(a,t)}}_applyResizePlugins(){var e;for(let t of this._resizePlugins)null===(e=t.resize)||void 0===e||e.call(t)}_getPluginParticleColors(e){let t,n;for(let i of this._colorPlugins)if(!t&&i.particleFillColor&&(t=Q(i.particleFillColor(e))),!n&&i.particleStrokeColor&&(n=Q(i.particleStrokeColor(e))),t&&n)break;return[t,n]}_initCover(){let e=this.container.actualOptions,t=e.backgroundMask.cover,n=t.color,i=W(n);if(i){let r={r:i.r,g:i.g,b:i.b,a:t.opacity};this._coverColorStyle=ee(r,r.a)}}_initStyle(){let e=this.element,t=this.container.actualOptions;if(e)for(let n in t.fullScreen.enable?(this._originalStyle=R({},e.style),e.style.setProperty("position","fixed","important"),e.style.setProperty("z-index",t.fullScreen.zIndex.toString(10),"important"),e.style.setProperty("top","0","important"),e.style.setProperty("left","0","important"),e.style.setProperty("width","100%","important"),e.style.setProperty("height","100%","important")):this._resetOriginalStyle(),t.style){if(!n||!t.style)continue;let i=t.style[n];i&&e.style.setProperty(n,i,"important")}}_initTrail(){let e=this.container.actualOptions,t=e.particles.move.trail,n=W(t.fillColor);if(n){let i=e.particles.move.trail;this._trailFillColor={r:n.r,g:n.g,b:n.b,a:1/i.length}}}_paintBase(e){this.draw(t=>{var n,i,r;n=t,i=this.size,n.save(),n.fillStyle=null!=e?e:"rgba(0,0,0,0)",n.fillRect(0,0,i.width,i.height),n.restore()})}_resetOriginalStyle(){let e=this.element,t=this._originalStyle;e&&t&&(e.style.position=t.position,e.style.zIndex=t.zIndex,e.style.top=t.top,e.style.left=t.left,e.style.width=t.width,e.style.height=t.height)}}function ev(e,t,n,i,r){if(i){let o={passive:!0};"boolean"==typeof r?o.capture=r:void 0!==r&&(o=r),e.addEventListener(t,n,o)}else e.removeEventListener(t,n,r)}class ey{constructor(e){this.container=e,this.canPush=!0,this.mouseMoveHandler=e=>this.mouseTouchMove(e),this.touchStartHandler=e=>this.mouseTouchMove(e),this.touchMoveHandler=e=>this.mouseTouchMove(e),this.touchEndHandler=()=>this.mouseTouchFinish(),this.mouseLeaveHandler=()=>this.mouseTouchFinish(),this.touchCancelHandler=()=>this.mouseTouchFinish(),this.touchEndClickHandler=e=>this.mouseTouchClick(e),this.mouseUpHandler=e=>this.mouseTouchClick(e),this.mouseDownHandler=()=>this.mouseDown(),this.visibilityChangeHandler=()=>this.handleVisibilityChange(),this.themeChangeHandler=e=>this.handleThemeChange(e),this.oldThemeChangeHandler=e=>this.handleThemeChange(e),this.resizeHandler=()=>this.handleWindowResize()}addListeners(){this.manageListeners(!0)}removeListeners(){this.manageListeners(!1)}doMouseTouchClick(e){let t=this.container,n=t.actualOptions;if(this.canPush){let i=t.interactivity.mouse.position;if(!i)return;t.interactivity.mouse.clickPosition=Object.assign({},i),t.interactivity.mouse.clickTime=new Date().getTime();let r=n.interactivity.events.onClick;N(r.mode,e=>this.handleClickMode(e))}"touchend"===e.type&&setTimeout(()=>this.mouseTouchFinish(),500)}handleClickMode(e){this.container.handleClickMode(e)}handleThemeChange(e){let t=e.matches?this.container.options.defaultDar
20kTheme:this.container.options.defaultLightTheme,n=this.container.options.themes.find(e=>e.name===t);n&&n.default.auto&&this.container.loadTheme(t)}handleVisibilityChange(){let e=this.container,t=e.actualOptions;this.mouseTouchFinish(),t.pauseOnBlur&&((null==document?void 0:document.hidden)?(e.pageHidden=!0,e.pause()):(e.pageHidden=!1,e.getAnimationStatus()?e.play(!0):e.draw(!0)))}handleWindowResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),delete this.resizeTimeout),this.resizeTimeout=setTimeout(async()=>{var e;return null===(e=this.container.canvas)||void 0===e?void 0:e.windowResize()},500)}manageListeners(e){var t;let n=this.container,i=n.actualOptions,r=i.interactivity.detectsOn,o=ef;if("window"===r)n.interactivity.element=window,o="pointerout";else if("parent"===r&&n.canvas.element){let s=n.canvas.element;n.interactivity.element=null!==(t=s.parentElement)&&void 0!==t?t:s.parentNode}else n.interactivity.element=n.canvas.element;let a=!E()&&"undefined"!=typeof matchMedia&&matchMedia("(prefers-color-scheme: dark)");a&&(void 0!==a.addEventListener?ev(a,"change",this.themeChangeHandler,e):void 0!==a.addListener&&(e?a.addListener(this.oldThemeChangeHandler):a.removeListener(this.oldThemeChangeHandler)));let l=n.interactivity.element;l&&((i.interactivity.events.onHover.enable||i.interactivity.events.onClick.enable)&&(ev(l,ep,this.mouseMoveHandler,e),ev(l,"touchstart",this.touchStartHandler,e),ev(l,"touchmove",this.touchMoveHandler,e),i.interactivity.events.onClick.enable?(ev(l,eh,this.touchEndClickHandler,e),ev(l,"pointerup",this.mouseUpHandler,e),ev(l,"pointerdown",this.mouseDownHandler,e)):ev(l,eh,this.touchEndHandler,e),ev(l,o,this.mouseLeaveHandler,e),ev(l,"touchcancel",this.touchCancelHandler,e)),n.canvas.element&&(n.canvas.element.style.pointerEvents=l===n.canvas.element?"initial":"none"),i.interactivity.events.resize&&("undefined"!=typeof ResizeObserver?this.resizeObserver&&!e?(n.canvas.element&&this.resizeObserver.unobserve(n.canvas.element),this.resizeObserver.disconnect(),delete this.resizeObserver):!this.resizeObserver&&e&&n.canvas.element&&(this.resizeObserver=new ResizeObserver(e=>{let t=e.find(e=>e.target===n.canvas.element);t&&this.handleWindowResize()}),this.resizeObserver.observe(n.canvas.element)):ev(window,"resize",this.resizeHandler,e)),document&&ev(document,"visibilitychange",this.visibilityChangeHandler,e,!1))}mouseDown(){let e=this.container.interactivity;if(e){let t=e.mouse;t.clicking=!0,t.downPosition=t.position}}mouseTouchClick(e){let t=this.container,n=t.actualOptions,i=t.interactivity.mouse;i.inside=!0;let r=!1,o=i.position;if(o&&n.interactivity.events.onClick.enable){for(let[,s]of t.plugins)if(s.clickPositionValid&&(r=s.clickPositionValid(o)))break;r||this.doMouseTouchClick(e),i.clicking=!1}}mouseTouchFinish(){let e=this.container.interactivity;if(!e)return;let t=e.mouse;delete t.position,delete t.clickPosition,delete t.downPosition,e.status=ef,t.inside=!1,t.clicking=!1}mouseTouchMove(e){var t,n,i,r,o,s,a;let l=this.container,u=l.actualOptions;if(!(null===(t=l.interactivity)||void 0===t?void 0:t.element))return;l.interactivity.mouse.inside=!0;let c,d=l.canvas.element;if(e.type.startsWith("pointer")){if(this.canPush=!0,l.interactivity.element===window){if(d){let h=d.getBoundingClientRect();c={x:e.clientX-h.left,y:e.clientY-h.top}}}else if("parent"===u.interactivity.detectsOn){let p=e.target,f=e.currentTarget,m=l.canvas.element;if(p&&f&&m){let g=p.getBoundingClientRect(),v=f.getBoundingClientRect(),y=m.getBoundingClientRect();c={x:e.offsetX+2*g.left-(v.left+y.left),y:e.offsetY+2*g.top-(v.top+y.top)}}else c={x:null!==(n=e.offsetX)&&void 0!==n?n:e.clientX,y:null!==(i=e.offsetY)&&void 0!==i?i:e.clientY}}else e.target===l.canvas.element&&(c={x:null!==(r=e.offsetX)&&void 0!==r?r:e.clientX,y:null!==(o=e.offsetY)&&void 0!==o?o:e.clientY})}else{this.canPush="touchmove"!==e.type;let b=e.touches[e.touches.length-1],w=null==d?void 0:d.getBoundingClientRect();c={x:b.clientX-(null!==(s=null==w?void 0:w.left)&&void 0!==s?s:0),y:b.clientY-(null!==(a=null==w?void 0:w.top)&&void 0!==a?a:0)}}let S=l.retina.pixelRatio;c&&(c.x*=S,c.y*=S),l.interactivity.mouse.position=c,l.interactivity.status=ep}}class eb{constructor(e){this.container=e}async nextFrame(e){var t;try{let n=this.container;if(!n.smooth&&void 0!==n.lastFrameTime&&e<n.lastFrameTime+1e3/n.fpsLimit){n.draw(!1);return}null!==(t=n.lastFrameTime)&&void 0!==t||(n.lastFrameTime=e);let i=function(e,t=60,n=!1){return{value:e,factor:n?60/t:60*e/1e3}}(e-n.lastFrameTime,n.fpsLimit,n.smooth);
20if(n.lifeTime+=i.value,n.lastFrameTime=e,i.value>1e3){n.draw(!1);return}if(await n.particles.draw(i),n.duration>0&&n.lifeTime>n.duration){n.destroy();return}n.getAnimationStatus()&&n.draw(!1)}catch(r){console.error("tsParticles error in animation loop",r)}}}class ew{constructor(){this.value=""}static create(e,t){let n=new ew;return n.load(e),void 0!==t&&("string"==typeof t||t instanceof Array?n.load({value:t}):n.load(t)),n}load(e){(null==e?void 0:e.value)!==void 0&&(this.value=e.value)}}class eS{constructor(){this.color=new ew,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(void 0!==e.color&&(this.color=ew.create(this.color,e.color)),void 0!==e.image&&(this.image=e.image),void 0!==e.position&&(this.position=e.position),void 0!==e.repeat&&(this.repeat=e.repeat),void 0!==e.size&&(this.size=e.size),void 0!==e.opacity&&(this.opacity=e.opacity))}}class ex{constructor(){this.color=new ew,this.color.value="#fff",this.opacity=1}load(e){e&&(void 0!==e.color&&(this.color=ew.create(this.color,e.color)),void 0!==e.opacity&&(this.opacity=e.opacity))}}class e_{constructor(){this.composite="destination-out",this.cover=new ex,this.enable=!1}load(e){if(e){if(void 0!==e.composite&&(this.composite=e.composite),void 0!==e.cover){let t=e.cover,n="string"==typeof e.cover?{color:e.cover}:e.cover;this.cover.load(void 0!==t.color?t:{color:n})}void 0!==e.enable&&(this.enable=e.enable)}}}class eC{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.zIndex&&(this.zIndex=e.zIndex))}}class eE{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode))}}class ek{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}get el(){return this.elementId}set el(e){this.elementId=e}get elementId(){return this.ids}set elementId(e){this.ids=e}get ids(){return N(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=N(e,e=>`#${e}`)}load(e){var t,n;if(!e)return;let i=null!==(n=null!==(t=e.ids)&&void 0!==t?t:e.elementId)&&void 0!==n?n:e.el;void 0!==i&&(this.ids=i),void 0!==e.selectors&&(this.selectors=e.selectors),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.type&&(this.type=e.type)}}class eP{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.force&&(this.force=e.force),void 0!==e.smooth&&(this.smooth=e.smooth))}}class eT{constructor(){this.enable=!1,this.mode=[],this.parallax=new eP}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class eA{constructor(){this.onClick=new eE,this.onDiv=new ek,this.onHover=new eT,this.resize=!0}get onclick(){return this.onClick}set onclick(e){this.onClick=e}get ondiv(){return this.onDiv}set ondiv(e){this.onDiv=e}get onhover(){return this.onHover}set onhover(e){this.onHover=e}load(e){var t,n,i;if(!e)return;this.onClick.load(null!==(t=e.onClick)&&void 0!==t?t:e.onclick);let r=null!==(n=e.onDiv)&&void 0!==n?n:e.ondiv;void 0!==r&&(this.onDiv=N(r,e=>{let t=new ek;return t.load(e),t})),this.onHover.load(null!==(i=e.onHover)&&void 0!==i?i:e.onhover),void 0!==e.resize&&(this.resize=e.resize)}}class eO{constructor(e,t){this._engine=e,this._container=t}load(e){if(e&&this._container){let t=this._engine.plugins.interactors.get(this._container);if(t)for(let n of t)n.loadModeOptions&&n.loadModeOptions(this,e)}}}class eL{constructor(e,t){this.detectsOn="window",this.events=new eA,this.modes=new eO(e,t)}get detect_on(){return this.detectsOn}set detect_on(e){this.detectsOn=e}load(e){var t;if(!e)return;let n=null!==(t=e.detectsOn)&&void 0!==t?t:e.detect_on;void 0!==n&&(this.detectsOn=n),this.events.load(e.events),this.modes.load(e.modes)}}class eR{load(e){var t,n;e&&(void 0!==e.position&&(this.position={x:null!==(t=e.position.x)&&void 0!==t?t:50,y:null!==(n=e.position.y)&&void 0!==n?n:50}),void 0!==e.options&&(this.options=R({},e.options)))}}class eM{constructor(){this.factor=4,this.value=!0}load(e){e&&(void 0!==e.factor&&(this.factor=e.factor),void 0!==e.value&&(this.value=e.value))}}class eI{constructor(){this.disable=!1,this.reduce=new eM}load(e){e&&(void 0!==e.disable&&(this.disable=e.disable),this.reduce.load(e.reduce))}}class eV{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.mode&&("screen"===e.mode?this.mode="screen":this.mode="canvas"),void 0!==e.options&&(this.options=R({},e.options)))}}class eD{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(void 0!==e.auto&&(this.auto=e.auto),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.value&&(this.value=e.value))}}class ez{constructor(){this.name="",this.default=new eD}load(e){e&&(void 0!==e.name&&(this.name=e.name),this.default.load(e.default),void 0!==e.options&&(this.options=R({},e.options)))}}class eF{constructor(){this.count=0,this.enable=!1,this.offset=0,this.speed=1,this.decay=0,this.sync=!0}load(e){e&&(void 0!==e.count&&(this.count=f(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.offset&&(this.offset=f(e.offset)),void 0!==e.speed&&(this.speed=f(e.speed)),void 0!==e.decay&&(this.decay=f(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}class eN{constructor(){this.h=new eF,this.s=new eF,this.l=new eF}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class ej extends ew{constructor(){super(),this.animation=new eN}static create(e,t){let n=new ej;return n.load(e),void 0!==t&&("string"==typeof t||t instanceof Array?n.load({value:t}):n.load(t)),n}
20load(e){if(super.load(e),!e)return;let t=e.animation;void 0!==t&&(void 0!==t.enable?this.animation.h.load(t):this.animation.load(e.animation))}}class eG{constructor(){this.enable=!0,this.retries=0}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.retries&&(this.retries=e.retries))}}class eB{constructor(){this.enable=!1,this.minimumValue=0}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.minimumValue&&(this.minimumValue=e.minimumValue))}}class eH{constructor(){this.random=new eB,this.value=0}load(e){e&&("boolean"==typeof e.random?this.random.enable=e.random:this.random.load(e.random),void 0!==e.value&&(this.value=f(e.value,this.random.enable?this.random.minimumValue:void 0)))}}class eU extends eH{constructor(){super(),this.random.minimumValue=.1,this.value=1}}class e${constructor(){this.horizontal=new eU,this.vertical=new eU}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class eq{constructor(){this.bounce=new e$,this.enable=!1,this.mode="bounce",this.overlap=new eG}load(e){e&&(this.bounce.load(e.bounce),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.mode&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class eW{constructor(){this.offset=0,this.value=90}load(e){e&&(void 0!==e.offset&&(this.offset=f(e.offset)),void 0!==e.value&&(this.value=f(e.value)))}}class eQ{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}get rotateX(){return this.rotate.x}set rotateX(e){this.rotate.x=e}get rotateY(){return this.rotate.y}set rotateY(e){this.rotate.y=e}load(e){var t,n,i,r;if(!e)return;void 0!==e.distance&&(this.distance=f(e.distance)),void 0!==e.enable&&(this.enable=e.enable);let o=null!==(n=null===(t=e.rotate)||void 0===t?void 0:t.x)&&void 0!==n?n:e.rotateX;void 0!==o&&(this.rotate.x=o);let s=null!==(r=null===(i=e.rotate)||void 0===i?void 0:i.y)&&void 0!==r?r:e.rotateY;void 0!==s&&(this.rotate.y=s)}}class eY{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(void 0!==e.acceleration&&(this.acceleration=f(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.inverse&&(this.inverse=e.inverse),void 0!==e.maxSpeed&&(this.maxSpeed=f(e.maxSpeed)))}}class eZ extends eH{constructor(){super()}}class eK{constructor(){this.clamp=!0,this.delay=new eZ,this.enable=!1,this.options={}}load(e){e&&(void 0!==e.clamp&&(this.clamp=e.clamp),this.delay.load(e.delay),void 0!==e.enable&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=R(this.options,e.options)))}}class eX{constructor(){this.enable=!1,this.length=10,this.fillColor=new ew,this.fillColor.value="#000000"}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),this.fillColor=ew.create(this.fillColor,e.fillColor),void 0!==e.length&&(this.length=e.length))}}class eJ{constructor(){this.default="out"}load(e){var t,n,i,r;e&&(void 0!==e.default&&(this.default=e.default),this.bottom=null!==(t=e.bottom)&&void 0!==t?t:e.default,this.left=null!==(n=e.left)&&void 0!==n?n:e.default,this.right=null!==(i=e.right)&&void 0!==i?i:e.default,this.top=null!==(r=e.top)&&void 0!==r?r:e.default)}}class e0{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(void 0!==e.acceleration&&(this.acceleration=f(e.acceleration)),void 0!==e.enable&&(this.enable=e.enable),this.position=e.position?R({},e.position):void 0)}}class e1{constructor(){this.angle=new eW,this.attract=new eQ,this.center={x:50,y:50,mode:"percent",radius:0},this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new eY,this.path=new eK,this.outModes=new eJ,this.random=!1,this.size=!1,this.speed=2,this.spin=new e0,this.straight=!1,this.trail=new eX,this.vibrate=!1,this.warp=!1}get bounce(){return this.collisions}set bounce(e){this.collisions=e}get collisions(){return!1}set collisions(e){}get noise(){return this.path}set noise(e){this.path=e}get outMode(){return this.outModes.default}set outMode(e){this.outModes.default=e}get out_mode(){return this.outMode}set out_mode(e){this.outMode=e}load(e){var t,n,i,r;if(!e)return;this.angle.load("number"==typeof e.angle?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center=R(null!==(t=this.center)&&void 0!==t?t:{},e.center),void 0!==e.decay&&(this.decay=e.decay),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.distance&&(this.distance="number"==typeof e.distance?{horizontal:e.distance,vertical:e.distance}:Object.assign({},e.distance)),void 0!==e.drift&&(this.drift=f(e.drift)),void 0!==e.enable&&(this.enable=e.enable),this.gravity.load(e.gravity);let o=null!==(i=null!==(n=e.outModes)&&void 0!==n?n:e.outMode)&&void 0!==i?i:e.out_mode;void 0!==o&&("object"==typeof o?this.outModes.load(o):this.outModes.load({default:o})),this.path.load(null!==(r=e.path)&&void 0!==r?r:e.noise),void 0!==e.random&&(this.random=e.random),void 0!==e.size&&(this.size=e.size),void 0!==e.speed&&(this.speed=f(e.speed)),this.spin.load(e.spin),void 0!==e.straight&&(this.straight=e.straight),this.trail.load(e.trail),void 0!==e.vibrate&&(this.vibrate=e.vibrate),void 0!==e.warp&&(this.warp=e.warp)}}class e2{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.sync=!1}load(e){e&&(void 0!==e.count&&(this.count=f(e.count)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=f(e.speed)),void 0!==e.decay&&(this.decay=f(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}class e4 extends e2{constructor(){super(),this.destroy="none",this.enable=!1,this.speed=2,this.startValue="random",this.sync=!1}get opacity_min(){return this.minimumValue}set opacity_min(e){this.minimumValue=e}load(e){var t;e&&(super.load(e),void 0!==e.destroy&&(this.destroy=e.destroy),void 0!==e.enable&&(this.enable=e.enable),this.minimumValue=null!==(t=e.minimumValue)&&void 0!==t?t:e.opacity_min,void 0!==e.speed&&(this.speed=e.speed),void 0!==e.startValue&&(this.startValue=e.startValue),void 0!==e.sync&&(this.sync=e.sync))}}class e3 extends eH{constructor(){super(),this.animation=new e4,this.random.minimumValue=.1,this.value=1}get anim(){return this.animation}set anim(e){this.animation=e}load(e){var t;if(!e)return;super.load(e);let n=null!==(t=e.animation)&&void 0!==t?t:e.anim;void 0!==n&&(this.animation.load(n),this.value=f(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class e5{constructor(){this.enable=!1,this.area=800,this.factor=1e3}get value_area(){return this.area}set value_area(e){this.area=e}load(e){var t;if(!e)return;void 0!==e.enable&&(this.enable=e.enable);let n=null!==(t=e.area)&&void 0!==t?t:e.value_area;void 0!==n&&(this.area=n),void 0!==e.factor&&(this.factor=e.factor)}}class e6{constructor(){this.density=new e5,this.limit=0,this.value=100}get max(){return this.limit}set max(e){this.limit=e}load(e){var t;if(!e)return;this.density.load(e.density);let n=null!==(t=e.limit)&&void 0!==t?t:e.max;void 0!==n&&(this.limit=n),void 0!==e.value&&(this.value=e.value)}}class e8{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=f(e.speed)),void 0!==e.decay&&(this.decay=f(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}class e9 extends eH{constructor(){super(),this.animation=new e8,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),void 0!==e.direction&&(this.direction=e.direction),this.animation.load(e.animation),void 0!==e.path&&(this.path=e.path))}}class e7{constructor(){this.blur=0,this.color=new ew,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){if(e)void 0!==e.blur&&(this.blur=e.blur),this.color=ew.create(this.color,e.color),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.offset&&(void 0!==e.offset.x&&(this.offset.x=e.offset.x),void 0!==e.offset.y&&(this.offset.y=e.offset.y))}}class te{constructor(){this.options={},this.type="circle"}get character(){var e;return null!==(e=this.options.character)&&void 0!==e?e:this.options.char}set character(e){this.options.character=e,this.options.char=e}get custom(){return this.options}set custom(e){this.options=e}get image(){var e;return null!==(e=this.options.image)&&void 0!==e?e:this.options.images}set image(e){this.options.image=e,this.options.images=e}get images(){return this.image}set images(e){this.image=e}get polygon(){var e;return null!==(e=this.options.polygon)&&void 0!==e?e:this.options.star}set polygon(e){this.options.polygon=e,this.options.star=e}get stroke(){return[]}set stroke(e){}load(e){var t,n,i;if(!e)return;let r=null!==(t=e.options)&&void 0!==t?t:e.custom;if(void 0!==r)for(let o in r){let s=r[o];s&&(this.options[o]=R(null!==(n=this.options[o])&&void 0!==n?n:{},s))}this.loadShape(e.character,"character","char",!0),this.loadShape(e.polygon,"polygon","star",!1),this.loadShape(null!==(i=e.image)&&void 0!==i?i:e.images,"image","images",!0),void 0!==e.type&&(this.t
20ype=e.type)}loadShape(e,t,n,i){var r,o;if(!e)return;let s=e instanceof Array,a=s?[]:{},l=s!==this.options[t]instanceof Array,u=s!==this.options[n]instanceof Array;l&&(this.options[t]=a),u&&i&&(this.options[n]=a),this.options[t]=R(null!==(r=this.options[t])&&void 0!==r?r:a,e),(!this.options[n]||i)&&(this.options[n]=R(null!==(o=this.options[n])&&void 0!==o?o:a,e))}}class tt extends e2{constructor(){super(),this.destroy="none",this.enable=!1,this.speed=5,this.startValue="random",this.sync=!1}get size_min(){return this.minimumValue}set size_min(e){this.minimumValue=e}load(e){var t;super.load(e),e&&(void 0!==e.destroy&&(this.destroy=e.destroy),void 0!==e.enable&&(this.enable=e.enable),this.minimumValue=null!==(t=e.minimumValue)&&void 0!==t?t:e.size_min,void 0!==e.speed&&(this.speed=e.speed),void 0!==e.startValue&&(this.startValue=e.startValue),void 0!==e.sync&&(this.sync=e.sync))}}class tn extends eH{constructor(){super(),this.animation=new tt,this.random.minimumValue=1,this.value=3}get anim(){return this.animation}set anim(e){this.animation=e}load(e){var t;if(super.load(e),!e)return;let n=null!==(t=e.animation)&&void 0!==t?t:e.anim;void 0!==n&&(this.animation.load(n),this.value=f(this.value,this.animation.enable?this.animation.minimumValue:void 0))}}class ti{constructor(){this.width=0}load(e){e&&(void 0!==e.color&&(this.color=ej.create(this.color,e.color)),void 0!==e.width&&(this.width=e.width),void 0!==e.opacity&&(this.opacity=e.opacity))}}class tr extends eH{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(void 0!==e.opacityRate&&(this.opacityRate=e.opacityRate),void 0!==e.sizeRate&&(this.sizeRate=e.sizeRate),void 0!==e.velocityRate&&(this.velocityRate=e.velocityRate))}}class to{constructor(e,t){this._engine=e,this._container=t,this.bounce=new e$,this.collisions=new eq,this.color=new ej,this.color.value="#fff",this.groups={},this.move=new e1,this.number=new e6,this.opacity=new e3,this.reduceDuplicates=!1,this.rotate=new e9,this.shadow=new e7,this.shape=new te,this.size=new tn,this.stroke=new ti,this.zIndex=new tr}load(e){var t,n,i,r,o,s;if(!e)return;if(this.bounce.load(e.bounce),this.color.load(ej.create(this.color,e.color)),void 0!==e.groups)for(let a in e.groups){let l=e.groups[a];void 0!==l&&(this.groups[a]=R(null!==(t=this.groups[a])&&void 0!==t?t:{},l))}this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),void 0!==e.reduceDuplicates&&(this.reduceDuplicates=e.reduceDuplicates),this.rotate.load(e.rotate),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex);let u=null!==(i=null===(n=e.move)||void 0===n?void 0:n.collisions)&&void 0!==i?i:null===(r=e.move)||void 0===r?void 0:r.bounce;void 0!==u&&(this.collisions.enable=u),this.collisions.load(e.collisions),void 0!==e.interactivity&&(this.interactivity=R({},e.interactivity));let c=null!==(o=e.stroke)&&void 0!==o?o:null===(s=e.shape)||void 0===s?void 0:s.stroke;if(c&&(this.stroke=N(c,e=>{let t=new ti;return t.load(e),t})),this._container){let d=this._engine.plugins.updaters.get(this._container);if(d)for(let h of d)h.loadOptions&&h.loadOptions(this,e);let p=this._engine.plugins.interactors.get(this._container);if(p)for(let f of p)f.loadParticlesOptions&&f.loadParticlesOptions(this,e)}}}function ts(e,...t){for(let n of t)e.load(n)}function ta(e,t,...n){let i=new to(e,t);return ts(i,...n),i}class tl{constructor(e,t){this._engine=e,this._container=t,this.autoPlay=!0,this.background=new eS,this.backgroundMask=new e_,this.fullScreen=new eC,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new eL(e,t),this.manualParticles=[],this.motion=new eI,this.particles=ta(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}get backgroundMode(){return this.fullScreen}set backgroundMode(e){this.fullScreen.load(e)}get fps_limit(){return this.fpsLimit}set fps_limit(e){this.fpsLimit=e}get retina_detect(){return this.detectRetina}set retina_detect(e){this.detectRetina=e}load(e){var t,n,i,r,o;
20if(!e)return;void 0!==e.preset&&N(e.preset,e=>this._importPreset(e)),void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay);let s=null!==(t=e.detectRetina)&&void 0!==t?t:e.retina_detect;void 0!==s&&(this.detectRetina=s),void 0!==e.duration&&(this.duration=e.duration);let a=null!==(n=e.fpsLimit)&&void 0!==n?n:e.fps_limit;void 0!==a&&(this.fpsLimit=a),void 0!==e.pauseOnBlur&&(this.pauseOnBlur=e.pauseOnBlur),void 0!==e.pauseOnOutsideViewport&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),void 0!==e.zLayers&&(this.zLayers=e.zLayers),this.background.load(e.background);let l=null!==(i=e.fullScreen)&&void 0!==i?i:e.backgroundMode;"boolean"==typeof l?this.fullScreen.enable=l:this.fullScreen.load(l),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),void 0!==e.manualParticles&&(this.manualParticles=e.manualParticles.map(e=>{let t=new eR;return t.load(e),t})),this.motion.load(e.motion),this.particles.load(e.particles),this.style=R(this.style,e.style),this._engine.plugins.loadOptions(this,e),void 0!==e.smooth&&(this.smooth=e.smooth);let u=this._engine.plugins.interactors.get(this._container);if(u)for(let c of u)c.loadOptions&&c.loadOptions(this,e);if(void 0!==e.responsive)for(let d of e.responsive){let h=new eV;h.load(d),this.responsive.push(h)}if(this.responsive.sort((e,t)=>e.maxWidth-t.maxWidth),void 0!==e.themes)for(let p of e.themes){let f=new ez;f.load(p),this.themes.push(f)}this.defaultDarkTheme=null===(r=this._findDefaultTheme("dark"))||void 0===r?void 0:r.name,this.defaultLightTheme=null===(o=this._findDefaultTheme("light"))||void 0===o?void 0:o.name}setResponsive(e,t,n){this.load(n);let i=this.responsive.find(n=>"screen"===n.mode&&screen?n.maxWidth>screen.availWidth:n.maxWidth*t>e);return this.load(null==i?void 0:i.options),null==i?void 0:i.maxWidth}setTheme(e){if(e){let t=this.themes.find(t=>t.name===e);t&&this.load(t.options)}else{let n="undefined"!=typeof matchMedia&&matchMedia("(prefers-color-scheme: dark)"),i=n&&n.matches,r=this._findDefaultTheme(i?"dark":"light");r&&this.load(r.options)}}_findDefaultTheme(e){var t;return null!==(t=this.themes.find(t=>t.default.value&&t.default.mode===e))&&void 0!==t?t:this.themes.find(e=>e.default.value&&"any"===e.default.mode)}_importPreset(e){this.load(this._engine.plugins.getPreset(e))}}class tu{constructor(e,t){this.container=t,this._engine=e,this._interactors=this._engine.plugins.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[]}async externalInteract(e){for(let t of this._externalInteractors)t.isEnabled()&&await t.interact(e)}handleClickMode(e){for(let t of this._externalInteractors)t.handleClickMode&&t.handleClickMode(e)}init(){for(let e of(this._externalInteractors=[],this._particleInteractors=[],this._interactors)){switch(e.type){case 0:this._externalInteractors.push(e);break;case 1:this._particleInteractors.push(e)}e.init()}}async particlesInteract(e,t){for(let n of this._externalInteractors)n.clear(e,t);for(let i of this._particleInteractors)i.isEnabled(e)&&await i.interact(e,t)}async reset(e){for(let t of this._externalInteractors)t.isEnabled()&&await t.reset(e);for(let n of this._particleInteractors)n.isEnabled(e)&&await n.reset(e)}}let tc=e=>{(k(e.outMode,e.checkModes)||k(e.outMode,e.checkModes))&&(e.coord>e.maxCoord-2*e.radius?e.setCb(-e.radius):e.coord<2*e.radius&&e.setCb(e.radius))};class td{constructor(e,t,n,i,r,s){var u,f,g,v,y,b,w,S,x,_,C,E,k;this.id=t,this.container=n,this.group=s,this._engine=e,this.fill=!0,this.close=!0,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;let P=n.retina.pixelRatio,T=n.actualOptions,A=ta(this._engine,n,T.particles),O=A.shape.type,L=A.reduceDuplicates;if(this.shape=j(O,this.id,L),null==r?void 0:r.shape){if(r.shape.type){let R=r.shape.type;this.shape=j(R,this.id,L)}let M=new te;M.load(r.shape),this.shape&&(this.shapeData=this._loadShapeData(M,L))}else this.shapeData=this._loadShapeData(A.shape,L);A.load(r),A.load(null===(u=this.shapeData)||void 0===u?void 0:u.particles),this.interactivity=new eL(e,n),this.interactivity.load(n.actualOptions.interactivity),this.interactivity.load(A.interactivity),this.fill=null!==(g=null===(f=this.shapeData)||void 0===f?void 0:f.fill)&&void 0!==g?g:this.fill,this.close=null!==(y=null===(v=this.shapeData)||void 0===v?void 0:v.close)&&void 0!==y?y:this.close,this.options=A;let I=this.options.move.path;this.pathDelay=1e3*m(I.delay),I.generator&&(this.pathGenerator=this._engine.plugins.getPathGenerator(I.generator),this.pathGenerator&&n.addPath(I.generator,this.pathGenerator)&&this.pathGenerator.init(n));let V=d(this.options.zIndex.value);n.retina.initParticle(this);let D=this.options.size,z=D.value,F=D.animation;if(this.size={enable:D.animation.enable,value:d(D.value)*n.retina.pixelRatio,max:p(z)*P,min:h(z)*P,loops:0,maxLoops:d(D.animation.count)},F.enable){switch(this.size.status=0,this.size.decay=1-d(F.decay),F.startValue){case"min":this.size.value=this.size.min,this.size.status=0;break;case"random":this.size.value=c(this.size)*P,this.size.status=a()>=.5?0:1;break;default:this.size.value=this.size.max,this.size.status=1}this.size.velocity=(null!==(b=this.retina.sizeAnimationSpeed)&&void 0!==b?b:n.retina.sizeAnimationSpeed)/100*n.retina.reduceFactor,F.sync||(this.size.velocity
20*=a())}this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this.position=this._calcPosition(n,i,l(V,0,n.zLayers)),this.initialPosition=this.position.copy();let N=n.canvas.size,G=this.options.move.center,B="percent"===G.mode;switch(this.moveCenter={x:(null!==(w=G.x)&&void 0!==w?w:50)*(B?N.width/100:1),y:(null!==(S=G.y)&&void 0!==S?S:50)*(B?N.height/100:1),radius:null!==(x=this.options.move.center.radius)&&void 0!==x?x:0,mode:null!==(_=this.options.move.center.mode)&&void 0!==_?_:"percent"},this.direction=function(e,t,n){if("number"==typeof e)return e*Math.PI/180;switch(e){case"top":return-Math.PI/2;case"top-right":return-Math.PI/4;case"right":return 0;case"bottom-right":return Math.PI/4;case"bottom":return Math.PI/2;case"bottom-left":return 3*Math.PI/4;case"left":return Math.PI;case"top-left":return -3*Math.PI/4;case"inside":return Math.atan2(n.y-t.y,n.x-t.x);case"outside":return Math.atan2(t.y-n.y,t.x-n.x);default:return a()*Math.PI*2}}(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside"}this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=1-d(this.options.move.decay),this.offset=o.origin;let H=n.particles;H.needsSort=H.needsSort||H.lastZIndex<this.position.z,H.lastZIndex=this.position.z,this.zIndexFactor=this.position.z/n.zLayers,this.sides=24;let U=n.drawers.get(this.shape);!U&&(U=this._engine.plugins.getShapeDrawer(this.shape))&&n.drawers.set(this.shape,U),(null==U?void 0:U.loadShape)&&(null==U||U.loadShape(this));let $=null==U?void 0:U.getSidesCount;for(let q of($&&(this.sides=$(this)),this.spawning=!1,this.shadowColor=W(this.options.shadow.color),n.particles.updaters))null===(C=q.init)||void 0===C||C.call(q,this);for(let Q of n.particles.movers)null===(E=Q.init)||void 0===E||E.call(Q,this);for(let[,Y]of((null==U?void 0:U.particleInit)&&U.particleInit(n,this),n.plugins))null===(k=Y.particleCreated)||void 0===k||k.call(Y,this)}destroy(e){if(!this.unbreakable&&!this.destroyed){for(let[,t]of(this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1,this.container.plugins))t.particleDestroyed&&t.particleDestroyed(this,e);for(let n of this.container.particles.updaters)n.particleDestroyed&&n.particleDestroyed(this,e)}}draw(e){let t=this.container;for(let[,n]of t.plugins)t.canvas.drawParticlePlugin(n,this,e);t.canvas.drawParticle(this,e)}getFillColor(){var e,t,n,i,r;let o=null!==(e=this.bubble.color)&&void 0!==e?e:eo(this.color);if(o&&this.roll&&(this.backColor||this.roll.alter)){let s=this.roll.horizontal&&this.roll.vertical?2:1,a=this.roll.horizontal?Math.PI/2:0,l=Math.floor(((null!==(t=this.roll.angle)&&void 0!==t?t:0)+a)/(Math.PI/s))%2;if(l){if(this.backColor)return this.backColor;if(this.roll.alter)return n=o,i=this.roll.alter.type,r=this.roll.alter.value,{h:n.h,s:n.s,l:n.l+("darken"===i?-1:1)*r}}}return o}getMass(){return this.getRadius()**2*Math.PI/2}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){var e;return null!==(e=this.bubble.radius)&&void 0!==e?e:this.size.value}getStrokeColor(){var e,t;return null!==(t=null!==(e=this.bubble.color)&&void 0!==e?e:eo(this.strokeColor))&&void 0!==t?t:this.getFillColor()}isInsideCanvas(){let e=this.getRadius(),t=this.container.canvas.size;return this.position.x>=-e&&this.position.y>=-e&&this.position.y<=t.height+e&&this.position.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){this.opacity&&(this.opacity.loops=0),this.size.loops=0}_calcPosition(e,t,n,i=0){var o,s,l,u,c,d,h,p,f;for(let[,m]of e.plugins){let g=void 0!==m.particlePosition?m.particlePosition(t,this):void 0;if(void 0!==g)return r.create(g.x,g.y,n)}let v=e.canvas.size,y={x:null!==(h=null===(d=(c={size:v,position:t}).position)||void 0===d?void 0:d.x)&&void 0!==h?h:a()*c.size.width,y:null!==(f=null===(p=c.position)||void 0===p?void 0:p.y)&&void 0!==f?f:a()*c.size.height},b=r.create(y.x,y.y,n),w=this.getRadius(),S=this.options.move.outModes,x=t=>{tc({outMode:t,checkModes:["bounce","bounce-horizontal"],coord:b.x,maxCoord:e.canvas.size.width,setCb:e=>
20b.x+=e,radius:w})},_=t=>{tc({outMode:t,checkModes:["bounce","bounce-vertical"],coord:b.y,maxCoord:e.canvas.size.height,setCb:e=>b.y+=e,radius:w})};return(x(null!==(o=S.left)&&void 0!==o?o:S.default),x(null!==(s=S.right)&&void 0!==s?s:S.default),_(null!==(l=S.top)&&void 0!==l?l:S.default),_(null!==(u=S.bottom)&&void 0!==u?u:S.default),this._checkOverlap(b,i))?this._calcPosition(e,void 0,n,i+1):b}_calculateVelocity(){let e=function(e){let t=o.origin;return t.length=1,t.angle=e,t}(this.direction),t=e.copy(),n=this.options.move;if("inside"===n.direction||"outside"===n.direction)return t;let i=Math.PI/180*d(n.angle.value),r=Math.PI/180*d(n.angle.offset),s={left:r-i/2,right:r+i/2};return n.straight||(t.angle+=c(f(s.left,s.right))),n.random&&"number"==typeof n.speed&&(t.length*=a()),t}_checkOverlap(e,t=0){let n=this.options.collisions,i=this.getRadius();if(!n.enable)return!1;let r=n.overlap;if(r.enable)return!1;let o=r.retries;if(o>=0&&t>o)throw Error("Particle is overlapping and can't be placed");let s=!1;for(let a of this.container.particles.array)if(v(e,a.position)<i+a.getRadius()){s=!0;break}return s}_loadShapeData(e,t){let n=e.options[this.shape];if(n)return R({},j(n,this.id,t))}}class th{constructor(e,t){this.position=e,this.particle=t}}class tp{constructor(e,t){this.position={x:e,y:t}}}class tf extends tp{constructor(e,t,n){super(e,t),this.radius=n}contains(e){return v(e,this.position)<=this.radius}intersects(e){let t=this.position,n=e.position,i={x:Math.abs(n.x-t.x),y:Math.abs(n.y-t.y)},r=this.radius;
20if(void 0!==e.radius){let o=r+e.radius,s=Math.sqrt(i.x**2+i.y**2);return o>s}if(void 0!==e.size){let a=e.size.width,l=e.size.height,u=Math.pow(i.x-a,2)+Math.pow(i.y-l,2);return u<=r**2||i.x<=r+a&&i.y<=r+l||i.x<=a||i.y<=l}return!1}}class tm extends tp{constructor(e,t,n,i){super(e,t),this.size={height:i,width:n}}contains(e){let t=this.size.width,n=this.size.height,i=this.position;return e.x>=i.x&&e.x<=i.x+t&&e.y>=i.y&&e.y<=i.y+n}intersects(e){e instanceof tf&&e.intersects(this);let t=this.size.width,n=this.size.height,i=this.position,r=e.position,o=e instanceof tm?e.size:{width:0,height:0},s=o.width,a=o.height;return r.x<i.x+t&&r.x+s>i.x&&r.y<i.y+n&&r.y+a>i.y}}class tg{constructor(e,t){this.rectangle=e,this.capacity=t,this.points=[],this.divided=!1}insert(e){var t,n,i,r,o;return!!this.rectangle.contains(e.position)&&(this.points.length<this.capacity?(this.points.push(e),!0):(this.divided||this.subdivide(),null!==(o=(null===(t=this.northEast)||void 0===t?void 0:t.insert(e))||(null===(n=this.northWest)||void 0===n?void 0:n.insert(e))||(null===(i=this.southEast)||void 0===i?void 0:i.insert(e))||(null===(r=this.southWest)||void 0===r?void 0:r.insert(e)))&&void 0!==o&&o))}query(e,t,n){var i,r,o,s;let a=null!=n?n:[];if(!e.intersects(this.rectangle))return[];for(let l of this.points)!(!e.contains(l.position)&&v(e.position,l.position)>l.particle.getRadius()&&(!t||t(l.particle)))&&a.push(l.particle);return this.divided&&(null===(i=this.northEast)||void 0===i||i.query(e,t,a),null===(r=this.northWest)||void 0===r||r.query(e,t,a),null===(o=this.southEast)||void 0===o||o.query(e,t,a),null===(s=this.southWest)||void 0===s||s.query(e,t,a)),a}queryCircle(e,t,n){return this.query(new tf(e.x,e.y,t),n)}queryRectangle(e,t,n){return this.query(new tm(e.x,e.y,t.width,t.height),n)}subdivide(){let e=this.rectangle.position.x,t=this.rectangle.position.y,n=this.rectangle.size.width,i=this.rectangle.size.height,r=this.capacity;this.northEast=new tg(new tm(e,t,n/2,i/2),r),this.northWest=new tg(new tm(e+n/2,t,n/2,i/2),r),this.southEast=new tg(new tm(e,t+i/2,n/2,i/2),r),this.southWest=new tg(new tm(e+n/2,t+i/2,n/2,i/2),r),this.divided=!0}}class tv{constructor(e,t){this.container=t,this._engine=e,this.nextId=0,this.array=[],this.zArray=[],this.limit=0,this.needsSort=!1,this.lastZIndex=0,this.freqs={links:new Map,triangles:new Map},this.interactionManager=new tu(this._engine,t);let n=this.container.canvas.size;this.quadTree=new tg(new tm(-n.width/4,-n.height/4,3*n.width/2,3*n.height/2),4),this.movers=this._engine.plugins.getMovers(t,!0),this.updaters=this._engine.plugins.getUpdaters(t,!0)}get count(){return this.array.length}addManualParticles(){let e=this.container,t=e.actualOptions;for(let n of t.manualParticles)this.addParticle(w({size:e.canvas.size,position:n.position}),n.options)}addParticle(e,t,n,i){let r=this.container,o=r.actualOptions,s=o.particles.number.limit;if(s>0){let a=this.count+1-s;a>0&&this.removeQuantity(a)}return this._pushParticle(e,t,n,i)}clear(){this.array=[],this.zArray=[]}destroy(){this.array=[],this.zArray=[],this.movers=[],this.updaters=[]}async draw(e){let t=this.container,n=this.container.canvas.size;for(let[,i]of(this.quadTree=new tg(new tm(-n.width/4,-n.height/4,3*n.width/2,3*n.height/2),4),t.canvas.clear(),await this.update(e),this.needsSort&&(this.zArray.sort((e,t)=>t.position.z-e.position.z||e.id-t.id),this.lastZIndex=this.zArray[this.zArray.length-1].position.z,this.needsSort=!1),t.plugins))t.canvas.drawPlugin(i,e);for(let r of this.zArray)r.draw(e)}getLinkFrequency(e,t){let n=f(e.id,t.id),i=`${h(n)}_${p(n)}`,r=this.freqs.links.get(i);return void 0===r&&(r=a(),this.freqs.links.set(i,r)),r}getTriangleFrequency(e,t,n){let[i,r,o]=[e.id,t.id,n.id];i>r&&([r,i]=[i,r]),r>o&&([o,r]=[r,o]),i>o&&([o,i]=[i,o]);let s=`${i}_${r}_${o}`,l=this.freqs.triangles.get(s);return void 0===l&&(l=a(),this.freqs.triangles.set(s,l)),l}handleClickMode(e){this.interactionManager.handleClickMode(e)}init(){var e;let t=this.container,n=t.actualOptions;this.lastZIndex=0,this.needsSort=!1,this.freqs.links=new Map,this.freqs.triangles=new Map;let i=!1;for(let[,r]of(this.updaters=this._engine.plugins.getUpdaters(t,!0),this.interactionManager.init(),t.plugins))if(void 0!==r.particlesInitialization&&(i=r.particlesInitialization()),i)break;for(let[,o]of(this.interactionManager.init(),t.pathGenerators))o.init(t);if(this.addManualParticles(),!i){for(let s in n.particles.groups){let a=n.particles.groups[s];for(let l=this.count,u=0;u<(null===(e=a.number)||void 0===e?void 0:e.value)&&l<n.particles.number.value;
20l++,u++)this.addParticle(void 0,a,s)}for(let c=this.count;c<n.particles.number.value;c++)this.addParticle()}}push(e,t,n,i){this.pushing=!0;for(let r=0;r<e;r++)this.addParticle(null==t?void 0:t.position,n,i);this.pushing=!1}async redraw(){this.clear(),this.init(),await this.draw({value:0,factor:0})}remove(e,t,n){this.removeAt(this.array.indexOf(e),void 0,t,n)}removeAt(e,t=1,n,i){if(!(e>=0&&e<=this.count))return;let r=0;for(let o=e;r<t&&o<this.count;o++){let s=this.array[o];if(!s||s.group!==n)continue;s.destroy(i),this.array.splice(o--,1);let a=this.zArray.indexOf(s);this.zArray.splice(a,1),r++,this._engine.dispatchEvent("particleRemoved",{container:this.container,data:{particle:s}})}}removeQuantity(e,t){this.removeAt(0,e,t)}setDensity(){let e=this.container.actualOptions;for(let t in e.particles.groups)this._applyDensity(e.particles.groups[t],0,t);this._applyDensity(e.particles,e.manualParticles.length)}async update(e){var t,n;let i=this.container,r=[];for(let[,o]of i.pathGenerators)o.update();for(let[,s]of i.plugins)null===(t=s.update)||void 0===t||t.call(s,e);for(let a of this.array){let l=i.canvas.resizeFactor;for(let[,u]of(l&&!a.ignoresResizeRatio&&(a.position.x*=l.width,a.position.y*=l.height),a.ignoresResizeRatio=!1,await this.interactionManager.reset(a),this.container.plugins)){if(a.destroyed)break;null===(n=u.particleUpdate)||void 0===n||n.call(u,a,e)}for(let c of this.movers)c.isEnabled(a)&&c.move(a,e);if(a.destroyed){r.push(a);continue}this.quadTree.insert(new th(a.getPosition(),a))}for(let d of r)this.remove(d);for(let h of(await this.interactionManager.externalInteract(e),i.particles.array)){for(let p of this.updaters)p.update(h,e);h.destroyed||h.spawning||await this.interactionManager.particlesInteract(h,e)}delete i.canvas.resizeFactor}_applyDensity(e,t,n){var i;if(!(null===(i=e.number.density)||void 0===i?void 0:i.enable))return;let r=e.number,o=this._initDensityFactor(r.density),s=r.value,a=r.limit>0?r.limit:s,l=Math.min(s,a)*o+t,u=Math.min(this.count,this.array.filter(e=>e.group===n).length);this.limit=r.limit*o,u<l?this.push(Math.abs(l-u),void 0,e,n):u>l&&this.removeQuantity(u-l,n)}_initDensityFactor(e){let t=this.container;if(!t.canvas.element||!e.enable)return 1;let n=t.canvas.element,i=t.retina.pixelRatio;return n.width*n.height/(e.factor*i**2*e.area)}_pushParticle(e,t,n,i){try{let r=new td(this._engine,this.nextId,this.container,e,t,n),o=!0;if(i&&(o=i(r)),!o)return;return this.array.push(r),this.zArray.push(r),this.nextId++,this._engine.dispatchEvent("particleAdded",{container:this.container,data:{particle:r}}),r}catch(s){console.warn(`error adding particle: ${s}`);return}}}class ty{constructor(e){this.container=e}init(){let e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||E()?1:window.devicePixelRatio;let n=this.container.actualOptions.motion;if(n&&(n.disable||n.reduce.value)){if(E()||"undefined"==typeof matchMedia||!matchMedia)this.reduceFactor=1;else{let i=matchMedia("(prefers-reduced-motion: reduce)");if(i){this._handleMotionChange(i);let r=()=>{this._handleMotionChange(i),e.refresh().catch(()=>{})};void 0!==i.addEventListener?i.addEventListener("change",r):void 0!==i.addListener&&i.addListener(r)}}}else this.reduceFactor=1;let o=this.pixelRatio;if(e.canvas.element){let s=e.canvas.element;e.canvas.size.width=s.offsetWidth*o,e.canvas.size.height=s.offsetHeight*o}let a=t.particles;this.attractDistance=d(a.move.attract.distance)*o,this.sizeAnimationSpeed=d(a.size.animation.speed)*o,this.maxSpeed=d(a.move.gravity.maxSpeed)*o}initParticle(e){let t=e.options,n=this.pixelRatio,i=t.move.distance,r=e.retina;r.attractDistance=d(t.move.attract.distance)*n,r.moveDrift=d(t.move.drift)*n,r.moveSpeed=d(t.move.speed)*n,r.sizeAnimationSpeed=d(t.size.animation.speed)*n;let o=r.maxDistance;o.horizontal=void 0!==i.horizontal?i.horizontal*n:void 0,o.vertical=void 0!==i.vertical?i.vertical*n:void 0,r.maxSpeed=d(t.move.gravity.maxSpeed)*n}_handleMotionChange(e){let t=this.container.actualOptions;if(e.matches){let n=t.motion;this.reduceFactor=n.disable?0:n.reduce.value?1/n.reduce.factor:1}else this.reduceFactor=1}}function tb(e){return e&&!e.destroyed}function tw(e,t,...n){let i=new tl(e,t);
20return ts(i,...n),i}let tS={generate(e){let t=e.velocity.copy();return t.angle+=t.length*Math.PI/180,t},init(){},update(){}};class tx{constructor(e,t,n){this.id=t,this._engine=e,this.fpsLimit=120,this.smooth=!1,this.duration=0,this.lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this.lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=n,this._initialSourceOptions=n,this.retina=new ty(this),this.canvas=new eg(this),this.particles=new tv(this._engine,this),this.frameManager=new eb(this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.drawers=new Map,this._options=tw(this._engine,this),this.actualOptions=tw(this._engine,this),this._eventListeners=new ey(this),"undefined"!=typeof IntersectionObserver&&IntersectionObserver&&(this._intersectionObserver=new IntersectionObserver(e=>this._intersectionManager(e))),this._engine.dispatchEvent("containerBuilt",{container:this})}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!tb(this))return;let t=this.interactivity.element;if(!t)return;let n=(t,n,i)=>{if(!tb(this))return;let r=this.retina.pixelRatio,o={x:n.x*r,y:n.y*r},s=this.particles.quadTree.queryCircle(o,i*r);e(t,s)},i=e=>{if(!tb(this))return;let t={x:e.offsetX||e.clientX,y:e.offsetY||e.clientY};n(e,t,1)},r=()=>{tb(this)&&(l=!0,u=!1)},o=()=>{tb(this)&&(u=!0)},s=e=>{var t,i,r;if(tb(this)){if(l&&!u){let o=e.touches[e.touches.length-1];if(!o&&!(o=e.changedTouches[e.changedTouches.length-1]))return;let s=null===(t=this.canvas.element)||void 0===t?void 0:t.getBoundingClientRect(),a={x:o.clientX-(null!==(i=null==s?void 0:s.left)&&void 0!==i?i:0),y:o.clientY-(null!==(r=null==s?void 0:s.top)&&void 0!==r?r:0)};n(e,a,Math.max(o.radiusX,o.radiusY))}l=!1,u=!1}},a=()=>{tb(this)&&(l=!1,u=!1)},l=!1,u=!1;t.addEventListener("click",i),t.addEventListener("touchstart",r),t.addEventListener("touchmove",o),t.addEventListener("touchend",s),t.addEventListener("touchcancel",a)}addPath(e,t,n=!1){return!(!tb(this)||!n&&this.pathGenerators.has(e))&&(this.pathGenerators.set(e,null!=t?t:tS),!0)}destroy(){if(!tb(this))return;for(let[,e]of(this.stop(),this.particles.destroy(),this.canvas.destroy(),this.drawers))e.destroy&&e.destroy(this);for(let t of this.drawers.keys())this.drawers.delete(t);this._engine.plugins.destroy(this),this.destroyed=!0;let n=this._engine.dom(),i=n.findIndex(e=>e===this);i>=0&&n.splice(i,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!tb(this))return;let t=e;this._drawAnimationFrame=(E()?e=>setTimeout(e):e=>(requestAnimationFrame||setTimeout)(e))(async e=>{t&&(this.lastFrameTime=void 0,t=!1),await this.frameManager.nextFrame(e)})}exportConfiguration(){return JSON.stringify(this.actualOptions,(e,t)=>{if("_engine"!==e&&"_container"!==e)return t},2)}exportImage(e,t,n){var i;return null===(i=this.canvas.element)||void 0===i?void 0:i.toBlob(e,null!=t?t:"image/png",n)}exportImg(e){this.exportImage(e)}getAnimationStatus(){return!this._paused&&!this.pageHidden&&tb(this)}handleClickMode(e){if(tb(this))for(let[,t]of(this.particles.handleClickMode(e),this.plugins))t.handleClickMode&&t.handleClickMode(e)}
20async init(){if(!tb(this))return;let e=this._engine.plugins.getSupportedShapes();for(let t of e){let n=this._engine.plugins.getShapeDrawer(t);n&&this.drawers.set(t,n)}this._options=tw(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=tw(this._engine,this,this._options),this.retina.init(),this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this.duration=1e3*d(this.actualOptions.duration),this.lifeTime=0,this.fpsLimit=this.actualOptions.fpsLimit>0?this.actualOptions.fpsLimit:120,this.smooth=this.actualOptions.smooth;let i=this._engine.plugins.getAvailablePlugins(this);for(let[r,o]of i)this.plugins.set(r,o);for(let[,s]of this.drawers)s.init&&await s.init(this);for(let[,a]of this.plugins)a.init?a.init(this.actualOptions):void 0!==a.initAsync&&await a.initAsync(this.actualOptions);for(let[,l]of(this._engine.dispatchEvent("containerInit",{container:this}),this.particles.init(),this.particles.setDensity(),this.plugins))void 0!==l.particlesSetup&&l.particlesSetup();this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){tb(this)&&(this._currentTheme=e,await this.refresh())}pause(){if(tb(this)){if(void 0!==this._drawAnimationFrame&&((E()?e=>clearTimeout(e):e=>(cancelAnimationFrame||clearTimeout)(e))(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused){for(let[,e]of this.plugins)e.pause&&e.pause();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}}play(e){if(!tb(this))return;let t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(let[,n]of this.plugins)n.play&&n.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t||!1)}async refresh(){if(tb(this))return this.stop(),this.start()}async reset(){if(tb(this))return this._options=tw(this._engine,this),this.refresh()}setNoise(e,t,n){tb(this)&&this.setPath(e,t,n)}setPath(e,t,n){if(!e||!tb(this))return;let i=Object.assign({},tS);"function"==typeof e?(i.generate=e,t&&(i.init=t),n&&(i.update=n)):(i.generate=e.generate||i.generate,i.init=e.init||i.init,i.update=e.update||i.update),this.addPath("default",i,!0)}async start(){if(tb(this)&&!this.started){for(let[,e]of(await this.init(),this.started=!0,this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element),this.plugins))void 0!==e.startAsync?await e.startAsync():void 0!==e.start&&e.start();this._engine.dispatchEvent("containerStarted",{container:this}),this.play()}}stop(){var e;if(tb(this)&&this.started){for(let[,t]of(this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.clear(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element),this.plugins))null===(e=t.stop)||void 0===e||e.call(t);for(let n of this.plugins.keys())this.plugins.delete(n);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];let e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this.responsiveMaxWidth!==e&&(this.responsiveMaxWidth=e,!0)}_intersectionManager(e){if(tb(this)&&this.actualOptions.pauseOnOutsideViewport)for(let t of e)t.target===this.interactivity.element&&(t.isIntersecting?this.play:this.pause)()}}async function t_(e,t){var n;let i=j(e,t);if(!i)return;let r=await fetch(i);if(r.ok)return r.json();n=r.status,console.error(`tsParticles - Error ${n} while retrieving config file`)}class tC{constructor(e){this._engine=e}load(e,t,n){let i={index:n,remote:!1};return"string"==typeof e?i.tagId=e:i.options=e,"number"==typeof t?i.index=t:i.options=null!=t?t:i.options,this.loadOptions(i)}
20async loadJSON(e,t,n){let i,r;return"number"==typeof t||void 0===t?i=e:(r=e,i=t),this.loadRemoteOptions({tagId:r,url:i,index:n,remote:!0})}async loadOptions(e){var t,n,i;let r=null!==(t=e.tagId)&&void 0!==t?t:`tsparticles${Math.floor(1e4*a())}`,{index:o,url:s,remote:l}=e,u=l?await t_(s,o):e.options,c=null!==(n=e.element)&&void 0!==n?n:document.getElementById(r);c||((c=document.createElement("div")).id=r,null===(i=document.querySelector("body"))||void 0===i||i.append(c));let d=j(u,o),h=this._engine.dom(),p=h.findIndex(e=>e.id===r);if(p>=0){let f=this._engine.domItem(p);f&&!f.destroyed&&(f.destroy(),h.splice(p,1))}let m;if("canvas"===c.tagName.toLowerCase())(m=c).dataset[ed]="false";else{let g=c.getElementsByTagName("canvas");g.length?(m=g[0]).dataset[ed]="false":((m=document.createElement("canvas")).dataset[ed]="true",c.appendChild(m))}m.style.width||(m.style.width="100%"),m.style.height||(m.style.height="100%");let v=new tx(this._engine,r,d);return p>=0?h.splice(p,0,v):h.push(v),v.canvas.loadCanvas(m),await v.start(),v}async loadRemoteOptions(e){return this.loadOptions(e)}async set(e,t,n,i){let r={index:i,remote:!1};return"string"==typeof e?r.tagId=e:r.element=e,t instanceof HTMLElement?r.element=t:r.options=t,"number"==typeof n?r.index=n:r.options=null!=n?n:r.options,this.loadOptions(r)}async setJSON(e,t,n,i){let r,o,s,a;return e instanceof HTMLElement?(a=e,r=t,s=n):(o=e,a=t,r=n,s=i),this.loadRemoteOptions({tagId:o,url:r,index:s,element:a,remote:!0})}}class tE{constructor(e){this._engine=e,this.plugins=[],this.interactorsInitializers=new Map,this.moversInitializers=new Map,this.updatersInitializers=new Map,this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.drawers=new Map,this.pathGenerators=new Map}addInteractor(e,t){this.interactorsInitializers.set(e,t)}addParticleMover(e,t){this.moversInitializers.set(e,t)}addParticleUpdater(e,t){this.updatersInitializers.set(e,t)}addPathGenerator(e,t){this.getPathGenerator(e)||this.pathGenerators.set(e,t)}addPlugin(e){this.getPlugin(e.id)||this.plugins.push(e)}addPreset(e,t,n=!1){(n||!this.getPreset(e))&&this.presets.set(e,t)}addShapeDrawer(e,t){this.getShapeDrawer(e)||this.drawers.set(e,t)}destroy(e){this.updaters.delete(e),this.movers.delete(e),this.interactors.delete(e)}getAvailablePlugins(e){let t=new Map;for(let n of this.plugins)n.needsPlugin(e.actualOptions)&&t.set(n.id,n.getPlugin(e));return t}getInteractors(e,t=!1){let n=this.interactors.get(e);return(!n||t)&&(n=[...this.interactorsInitializers.values()].map(t=>t(e)),this.interactors.set(e,n)),n}getMovers(e,t=!1){let n=this.movers.get(e);return(!n||t)&&(n=[...this.moversInitializers.values()].map(t=>t(e)),this.movers.set(e,n)),n}getPathGenerator(e){return this.pathGenerators.get(e)}getPlugin(e){return this.plugins.find(t=>t.id===e)}getPreset(e){return this.presets.get(e)}getShapeDrawer(e){return this.drawers.get(e)}getSupportedShapes(){return this.drawers.keys()}getUpdaters(e,t=!1){let n=this.updaters.get(e);return(!n||t)&&(n=[...this.updatersInitializers.values()].map(t=>t(e)),this.updaters.set(e,n)),n}loadOptions(e,t){for(let n of this.plugins)n.loadOptions(e,t)}loadParticlesOptions(e,t,...n){let i=this.updaters.get(e);if(i)for(let r of i)r.loadOptions&&r.loadOptions(t,...n)}}class tk{constructor(e){this.container=e,this.type=0}}class tP{constructor(e){this.container=e,this.type=1}}let tT=new class{constructor(){this.stringPrefix="rgb"}handleColor(e){var t;let n=e.value,i=null!==(t=n.rgb)&&void 0!==t?t:e.value;if(void 0!==i.r)return i}handleRangeColor(e){var t;let n=e.value,i=null!==(t=n.rgb)&&void 0!==t?t:e.value;if(void 0!==i.r)return{r:d(i.r),g:d(i.g),b:d(i.b)}}parseString(e){if(!e.startsWith(this.stringPrefix))return;let t=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i.exec(e);return t?{a:t.length>4?_(t[5]):1,b:parseInt(t[3],10),g:parseInt(t[2],10),r:parseInt(t[1],10)}:void 0}},tA=new class{constructor(){this.stringPrefix="hsl"}handleColor(e){var t;let n=e.value,i=null!==(t=n.hsl)&&void 0!==t?t:e.value;if(void 0!==i.h&&void 0!==i.l)return X(i)}handleRangeColor(e){var t;let n=e.value,i=null!==(t=n.hsl)&&void 0!==t?t:e.value;if(void 0!==i.h&&void 0!==i.l)return X({h:d(i.h),l:d(i.l),s:d(i.s)})}parseString(e){if(!e.startsWith("hsl"))return;let t=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i.exec(e);return t?function(e){let t=X(e);return{a:e.a,b:t.b,g:t.g,r:t.r}}({a:t.length>4?_(t[5]):1,h:parseInt(t[1],10),l:parseInt(t[3],10),s:parseInt(t[2],10)}):void 0}};U("rgb",tT),U("hsl",tA);let tO=new class{constructor(){this._domArray=[],this._eventDispatcher=new i,this._initialized=!1,this._loader=new tC(this),this.plugins=new tE(this)}addEventListener(e,t){this._eventDispatcher.addEventListener(e,t)}async addInteractor(e,t){this.plugins.addInteractor(e,t),await this.refresh()}async addMover(e,t){this.plugins.addParticleMover(e,t),await this.refresh()}async addParticleUpdater(e,t){this.plugins.addParticleUpdater(e,t),await this.refresh()}async addPathGenerator(e,t){this.plugins.addPathGenerator(e,t),await this.refresh()}async addPlugin(e){this.plugins.addPlugin(e),await this.refresh()}async addPreset(e,t,n=!1){this.plugins.addPreset(e,t,n),await this.refresh()}async addShape(e,t,n,i,r){let o;this.plugins.addShapeDrawer(e,"function"==typeof t?{afterEffect:i,destroy:r,draw:t,init:n}:t),await this.refresh()}dispatchEvent(e,t){this._eventDispatcher.dispatchEvent(e,t)}dom(){return this._domArray}domItem(e){let t=this.dom(),n=t[e];if(n&&!n.destroyed)return n;t.splice(e,1)}init(){this._initialized||(this._initialized=!0)}async load(e,t){return this._loader.load(e,t)}async loadFromArray(e,t,n){return this._loader.load(e,t,n)}
20async loadJSON(e,t,n){return this._loader.loadJSON(e,t,n)}async refresh(){for(let e of this.dom())await e.refresh()}removeEventListener(e,t){this._eventDispatcher.removeEventListener(e,t)}async set(e,t,n){return this._loader.set(e,t,n)}async setJSON(e,t,n,i){return this._loader.setJSON(e,t,n,i)}setOnClickHandler(e){let t=this.dom();if(!t.length)throw Error("Can only set click handlers after calling tsParticles.load() or tsParticles.loadJSON()");for(let n of t)n.addClickHandler(e)}};tO.init()},8079:function(){"use strict";!function(){try{if("undefined"==typeof window)return;"SVGPathSeg"in window||(window.SVGPathSeg=function(e,t,n){this.pathSegType=e,this.pathSegTypeAsLetter=t,this._owningPathSegList=n},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",e)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",e),this._x=t,this._y=n},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",e),this._x=t,this._y=n},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",e),this._x=t,this._y=n},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)}
vendor: 17,920 bytes, line 20
20,Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",e),this._x=t,this._y=n},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(e,t,n,i,r,o,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",e),this._x=t,this._y=n,this._x1=i,this._y1=r,this._x2=o,this._y2=s},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(e,t,n,i,r,o,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",e),this._x=t,this._y=n,this._x1=i,this._y1=r,this._x2=o,this._y2=s},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",e),this._x=t,this._y=n,this._x1=i,this._y1=r},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",e),this._x=t,this._y=n,this._x1=i,this._y1=r},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(e){this._x1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(e){this._y1=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(e,t,n,i,r,o,s,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",e),this._x=t,this._y=n,this._r1=i,this._r2=r,this._angle=o,this._largeArcFlag=s,this._sweepFlag=a},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(e,t,n,i,r,o,s,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",e),this._x=t,this._y=n,this._r1=i,this._r2=r,this._angle=o,this._largeArcFlag=s,this._sweepFlag=a},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(e){this._r1=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(e){this._r2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(e){this._largeArcFlag=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(e){this._sweepFlag=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",e),this._x=t},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",e),this._x=t},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",e),this._y=t},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(e,t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",e),this._y=t},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",e),this._x=t,this._y=n,this._x2=i,this._y2=r},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(e,t,n,i,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",e),this._x=t,this._y=n,this._x2=i,this._y2=r},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(e){this._x2=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(e){this._y2=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",e),this._x=t,this._y=n},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)}
vendor: 8,698 bytes, line 20
20,Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(e,t,n){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",e),this._x=t,this._y=n},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(e,t){return new window.SVGPathSegMovetoAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(e,t){return new window.SVGPathSegMovetoRel(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(e,t){return new window.SVGPathSegLinetoAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(e,t){return new window.SVGPathSegLinetoRel(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(e,t,n,i,r,o){return new window.SVGPathSegCurvetoCubicAbs(void 0,e,t,n,i,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(e,t,n,i,r,o){return new window.SVGPathSegCurvetoCubicRel(void 0,e,t,n,i,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(e,t,n,i){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(e,t,n,i){return new window.SVGPathSegCurvetoQuadraticRel(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(e,t,n,i,r,o,s){return new window.SVGPathSegArcAbs(void 0,e,t,n,i,r,o,s)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(e,t,n,i,r,o,s){return new window.SVGPathSegArcRel(void 0,e,t,n,i,r,o,s)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(e){return new window.SVGPathSegLinetoHorizontalAbs(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(e){return new window.SVGPathSegLinetoHorizontalRel(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(e){return new window.SVGPathSegLinetoVerticalAbs(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(e){return new window.SVGPathSegLinetoVerticalRel(void 0,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(e,t,n,i){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(e,t,n,i){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,e,t,n,i)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(e,t){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,e,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(e,t){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,e,t)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(e){if(void 0===e||!isFinite(e))throw"Invalid arguments.";let t=document.createElementNS("http://www.w3.org/2000/svg","path");t.setAttribute("d",this.getAttribute("d"));let n=t.pathSegList.numberOfItems-1;if(n<=0)return 0;do{if(t.pathSegList.removeItem(n),e>t.getTotalLength())break;n--}while(n>0);return n})),"SVGPathSegList"in window&&"appendItem"in window.SVGPathSegList.prototype||(window.SVGPathSegList=function(e){this._pathElement=e,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathSegList.prototype,"length",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(e){if(!this._pathElement)return;let t=!1;e.forEach(function(e){"d"==e.attributeName&&(t=!0)}),t&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(e){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(e){e._owningPathSegList=null}),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(e){return this._checkPathSynchronizedToList(),this._list=[e],e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype._checkValidIndex=function(e){if(isNaN(e)||e<0||e>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(e){return this._checkPathSynchronizedToList(),this._checkValidIndex(e),this._list[e]},window.SVGPathSegList.prototype.insertItemBefore=function(e,t){return this._checkPathSynchronizedToList(),t>this.numberOfItems&&(t=this.numberOfItems),e._owningPathSegList&&(e=e.clone()),this._list.splice(t,0,e),e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype.replaceItem=function(e,t){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._checkValidIndex(t),this._list[t]=e,e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList.prototype.removeItem=function(e){this._checkPathSynchronizedToList(),this._checkValidIndex(e);let t=this._list[e];return this._list.splice(e,1),this._writeListToPath(),t},window.SVGPathSegList.prototype.appendItem=function(e){return this._checkPathSynchronizedToList(),e._owningPathSegList&&(e=e.clone()),this._list.push(e),e._owningPathSegList=this,this._writeListToPath(),e},window.SVGPathSegList._pathSegArrayAsString=function(e){let t="",n=!0;return e.forEach(function(e){n?(n=!1,t+=e._asPathString()):t+=" "+e._asPathString()}),t},window.SVGPathSegList.prototype._parsePath=function(e){if(!e||0==e.length)return[];let t=this,n=function(){this.pathSegList=[]};n.prototype.appendSegment=function(e){this.pathSegList.push(e)};let i=function(e){this._string=e,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};
20i.prototype._isCurrentSpace=function(){let e=this._string[this._currentIndex];return e<=" "&&(" "==e||"\n"==e||" "==e||"\r"==e||"\f"==e)},i.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},i.prototype._skipOptionalSpacesOrDelimiter=function(){return(!(this._currentIndex<this._endIndex)||!!this._isCurrentSpace()||","==this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},i.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},i.prototype.peekSegmentType=function(){let e=this._string[this._currentIndex];return this._pathSegTypeFromChar(e)},i.prototype._pathSegTypeFromChar=function(e){switch(e){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},i.prototype._nextCommandHelper=function(e,t){return("+"==e||"-"==e||"."==e||e>="0"&&e<="9")&&t!=window.SVGPathSeg.PATHSEG_CLOSEPATH?t==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:t==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:t:(0,window.SVGPathSeg.PATHSEG_UNKNOWN)},i.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;let e=this.peekSegmentType();return e==window.SVGPathSeg.PATHSEG_MOVETO_ABS||e==window.SVGPathSeg.PATHSEG_MOVETO_REL},i.prototype._parseNumber=function(){let e=0,t=0,n=1,i=0,r=1,o=1,s=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),this._currentIndex==this._endIndex||("0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")&&"."!=this._string.charAt(this._currentIndex))return;let a=this._currentIndex;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)this._currentIndex++;if(this._currentIndex!=a){let l=this._currentIndex-1,u=1;for(;l>=a;)t+=u*(this._string.charAt(l--)-"0"),u*=10}if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)n*=10,i+=(this._string.charAt(this._currentIndex)-"0")/n,this._currentIndex+=1}if(this._currentIndex!=s&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if
20(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex>=this._endIndex||"0">this._string.charAt(this._currentIndex)||this._string.charAt(this._currentIndex)>"9")return;for(;this._currentIndex<this._endIndex&&this._string.charAt(this._currentIndex)>="0"&&"9">=this._string.charAt(this._currentIndex);)e*=10,e+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}let c=t+i;if(c*=r,e&&(c*=Math.pow(10,o*e)),s!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),c},i.prototype._parseArcFlag=function(){if(this._currentIndex>=this._endIndex)return;let e=!1,t=this._string.charAt(this._currentIndex++);if("0"==t)e=!1;else{if("1"!=t)return;e=!0}return this._skipOptionalSpacesOrDelimiter(),e},i.prototype.parseSegment=function(){let e=this._string[this._currentIndex],n=this._pathSegTypeFromChar(e);if(n==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN||(n=this._nextCommandHelper(e,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;this._previousCommand=n;let i;switch(n){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(t,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(t);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:return i={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicRel(t,i.x,i.y,i.x1,i.y1,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:return i={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicAbs(t,i.x,i.y,i.x1,i.y1,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:return i={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothRel(t,i.x,i.y,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:return i={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothAbs(t,i.x,i.y,i.x2,i.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:return i={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticRel(t,i.x,i.y,i.x1,i.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:return i={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticAbs(t,i.x,i.y,i.x1,i.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(t,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:return i={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcRel(t,i.x,i.y,i.x1,i.y1,i.arcAngle,i.arcLarge,i.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:return i={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcAbs(t,i.x,i.y,i.x1,i.y1,i.arcAngle,i.arcLarge,i.arcSweep);default:throw"Unknown path seg type."}};let r=new n,o=new i(e);if(!o.initialCommandIsMoveTo())return[];for(;o.hasMoreData();){let s=o.parseSegment();if(!s)return[];r.appendSegment(s)}return r.pathSegList})}catch(e){console.warn("An error occurred in tsParticles pathseg polyfill. If the Polygon Mask is not working, please open an issue here: https://github.com/matteobruni/tsparticles",e)}}()},3501:function(e,t,n){"use strict";n.d(t,{R:function(){return tK}});var i=n(9);
20class r{constructor(){this.radius=0,this.mass=0}load(e){e&&(void 0!==e.mass&&(this.mass=e.mass),void 0!==e.radius&&(this.radius=e.radius))}}class o extends i.SW{constructor(){super(),this.density=5,this.value=50,this.limit=new r}load(e){e&&(super.load(e),void 0!==e.density&&(this.density=e.density),"number"==typeof e.limit?this.limit.radius=e.limit:this.limit.load(e.limit))}}class s{constructor(){this.color=new i.Oz,this.color.value="#000000",this.draggable=!1,this.opacity=1,this.destroy=!0,this.orbits=!1,this.size=new o}load(e){void 0!==e&&(void 0!==e.color&&(this.color=i.Oz.create(this.color,e.color)),void 0!==e.draggable&&(this.draggable=e.draggable),this.name=e.name,void 0!==e.opacity&&(this.opacity=e.opacity),void 0!==e.position&&(this.position={},void 0!==e.position.x&&(this.position.x=(0,i.Cs)(e.position.x)),void 0!==e.position.y&&(this.position.y=(0,i.Cs)(e.position.y))),void 0!==e.size&&this.size.load(e.size),void 0!==e.destroy&&(this.destroy=e.destroy),void 0!==e.orbits&&(this.orbits=e.orbits))}}class a{constructor(e,t,n,r){var o,a,l;this.absorbers=e,this.container=t,this.initialPosition=r?i.OW.create(r.x,r.y):void 0,n instanceof s?this.options=n:(this.options=new s,this.options.load(n)),this.dragging=!1,this.name=this.options.name,this.opacity=this.options.opacity,this.size=(0,i.Gu)(this.options.size.value)*t.retina.pixelRatio,this.mass=this.size*this.options.size.density*t.retina.reduceFactor;let u=this.options.size.limit;this.limit={radius:u.radius*t.retina.pixelRatio*t.retina.reduceFactor,mass:u.mass},this.color=null!==(o=(0,i.tX)(this.options.color))&&void 0!==o?o:{b:0,g:0,r:0},this.position=null!==(l=null===(a=this.initialPosition)||void 0===a?void 0:a.copy())&&void 0!==l?l:this.calcPosition()}attract(e){let t=this.container,n=this.options;if(n.draggable){let r=t.interactivity.mouse;if(r.clicking&&r.downPosition){let o=(0,i.Sp)(this.position,r.downPosition);o<=this.size&&(this.dragging=!0)}else this.dragging=!1;this.dragging&&r.position&&(this.position.x=r.position.x,this.position.y=r.position.y)}let s=e.getPosition(),{dx:a,dy:l,distance:u}=(0,i.oW)(this.position,s),c=i.OW.create(a,l);if(c.length=this.mass/Math.pow(u,2)*t.retina.reduceFactor,u<this.size+e.getRadius()){let d=.033*e.getRadius()*t.retina.pixelRatio;this.size>e.getRadius()&&u<this.size-e.getRadius()||void 0!==e.absorberOrbit&&e.absorberOrbit.length<0?n.destroy?e.destroy():(e.needsNewPosition=!0,this.updateParticlePosition(e,c)):(n.destroy&&(e.size.value-=d),this.updateParticlePosition(e,c)),(this.limit.radius<=0||this.size<this.limit.radius)&&(this.size+=d),(this.limit.mass<=0||this.mass<this.limit.mass)&&(this.mass+=d*this.options.size.density*t.retina.reduceFactor)}else this.updateParticlePosition(e,c)}draw(e){e.translate(this.position.x,this.position.y),e.beginPath(),e.arc(0,0,this.size,0,2*Math.PI,!1),e.closePath(),e.fillStyle=(0,i.iz)(this.color,this.opacity),e.fill()}resize(){let e=this.initialPosition;this.position=e&&(0,i.Ac)(e,this.container.canvas.size,i.OW.origin)?e:this.calcPosition()}calcPosition(){let e=(0,i.Gz)({size:this.container.canvas.size,position:this.options.position});return i.OW.create(e.x,e.y)}updateParticlePosition(e,t){var n;if(e.destroyed)return;let r=this.container,o=r.canvas.size;if(e.needsNewPosition){let s=(0,i.p)({size:o});e.position.setTo(s),e.velocity.setTo(e.initialVelocity),e.absorberOrbit=void 0,e.needsNewPosition=!1}
20if(this.options.orbits){if(void 0===e.absorberOrbit&&(e.absorberOrbit=i.OW.create(0,0),e.absorberOrbit.length=(0,i.Sp)(e.getPosition(),this.position),e.absorberOrbit.angle=(0,i.sZ)()*Math.PI*2),e.absorberOrbit.length<=this.size&&!this.options.destroy){let a=Math.min(o.width,o.height);e.absorberOrbit.length=a*(1+(.2*(0,i.sZ)()-.1))}void 0===e.absorberOrbitDirection&&(e.absorberOrbitDirection=e.velocity.x>=0?"clockwise":"counter-clockwise");let l=e.absorberOrbit.length,u=e.absorberOrbit.angle,c=e.absorberOrbitDirection;e.velocity.setTo(i.OW.origin);let d={x:"clockwise"===c?Math.cos:Math.sin,y:"clockwise"===c?Math.sin:Math.cos};e.position.x=this.position.x+l*d.x(u),e.position.y=this.position.y+l*d.y(u),e.absorberOrbit.length-=t.length,e.absorberOrbit.angle+=(null!==(n=e.retina.moveSpeed)&&void 0!==n?n:0)*r.retina.pixelRatio/100*r.retina.reduceFactor}else{let h=i.OW.origin;h.length=t.length,h.angle=t.angle,e.velocity.addTo(h)}}}class l{constructor(e){this.container=e,this.array=[],this.absorbers=[],this.interactivityAbsorbers=[],e.getAbsorber=e=>void 0===e||"number"==typeof e?this.array[e||0]:this.array.find(t=>t.name===e),e.addAbsorber=(e,t)=>this.addAbsorber(e,t)}addAbsorber(e,t){let n=new a(this,this.container,e,t);return this.array.push(n),n}draw(e){for(let t of this.array)e.save(),t.draw(e),e.restore()}handleClickMode(e){let t=this.absorbers,n=this.interactivityAbsorbers;if("absorber"===e){let r=(0,i.wA)(n),o=null!=r?r:(0,i.wA)(t),s=this.container.interactivity.mouse.clickPosition;this.addAbsorber(o,s)}}init(e){var t,n;e&&(this.absorbers=(0,i.KH)(e.absorbers,e=>{let t=new s;return t.load(e),t}),this.interactivityAbsorbers=(0,i.KH)(null===(n=null===(t=e.interactivity)||void 0===t?void 0:t.modes)||void 0===n?void 0:n.absorbers,e=>{let t=new s;return t.load(e),t}),(0,i.KH)(this.absorbers,e=>{this.addAbsorber(e)}))}particleUpdate(e){for(let t of this.array)if(t.attract(e),e.destroyed)break}removeAbsorber(e){let t=this.array.indexOf(e);t>=0&&this.array.splice(t,1)}resize(){for(let e of this.array)e.resize()}stop(){this.array=[]}}class u{constructor(){this.id="absorbers"}getPlugin(e){return new l(e)}loadOptions(e,t){var n,r;if(!this.needsPlugin(e)&&!this.needsPlugin(t))return;let o=e;o.absorbers=(0,i.KH)(null==t?void 0:t.absorbers,e=>{let t=new s;return t.load(e),t}),o.interactivity.modes.absorbers=(0,i.KH)(null===(r=null===(n=null==t?void 0:t.interactivity)||void 0===n?void 0:n.modes)||void 0===r?void 0:r.absorbers,e=>{let t=new s;return t.load(e),t})}needsPlugin(e){var t,n,r;if(!e)return!1;let o=e.absorbers;return o instanceof Array?!!o.length:!!(o||(null===(r=null===(n=null===(t=e.interactivity)||void 0===t?void 0:t.events)||void 0===n?void 0:n.onClick)||void 0===r?void 0:r.mode)&&(0,i.dB)("absorber",e.interactivity.events.onClick.mode))}}async function c(e){let t=new u;await e.addPlugin(t)}class d{load(e){e&&(void 0!==e.bottom&&(this.bottom=(0,i.Cs)(e.bottom)),void 0!==e.left&&(this.left=(0,i.Cs)(e.left)),void 0!==e.right&&(this.right=(0,i.Cs)(e.right)),void 0!==e.top&&(this.top=(0,i.Cs)(e.top)))}}class h extends i.SW{constructor(){super(),this.value=3}}class p extends i.SW{constructor(){super(),this.value={min:4,max:9}}}class f{constructor(){this.count=1,this.factor=new h,this.rate=new p,this.sizeOffset=!0}load(e){e&&(void 0!==e.count&&(this.count=e.count),this.factor.load(e.factor),this.rate.load(e.rate),this.particles=(0,i.KH)(e.particles,e=>(0,i.ZB)({},e)),void 0!==e.sizeOffset&&(this.sizeOffset=e.sizeOffset))}}class m{constructor(){this.bounds=new d,this.mode="none",this.split=new f}load(e){e&&(e.mode&&(this.mode=e.mode),e.bounds&&this.bounds.load(e.bounds),this.split.load(e.split))}}class g{constructor(e,t){this.engine=e,this.container=t}init(e){let t=this.container,n=e.options,r=n.destroy;if(!r)return;e.splitCount=0;let o=r.bounds;e.destroyBounds||(e.destroyBounds={}),o.bottom&&(e.destroyBounds.bottom=(0,i.Gu)(o.bottom)*t.canvas.size.height/100),o.left&&(e.destroyBounds.left=(0,i.Gu)(o.left)*t.canvas.size.width/100),o.right&&(e.destroyBounds.right=(0,i.Gu)(o.right)*t.canvas.size.width/100),o.top&&(e.destroyBounds.top=(0,i.Gu)(o.top)*t.canvas.size.height/100)}isEnabled(e){return!e.destroyed}loadOptions(e,...t){for(let n of(e.destroy||(e.destroy=new m),t))e.destroy.load(null==n?void 0:n.destroy)}particleDestroyed(e,t){if(t)return;let n=e.options.destroy;n&&"split"===n.mode&&this.split(e)}update(e){if(!this.isEnabled(e))return;let t=e.getPosition(),n=e.destroyBounds;n&&(void 0!==n.bottom&&t.y>=n.bottom||void 0!==n.left&&t.x<=n.left||void 0!==n.right&&t.x>=n.right||void 0!==n.top&&t.y<=n.top)&&e.destroy()}
20addSplitParticle(e,t){let n=e.options.destroy;if(!n)return;let r=n.split,o=(0,i.hT)(this.engine,this.container,e.options),s=(0,i.NA)(r.factor);o.color.load({value:{hsl:e.getFillColor()}}),o.move.load({center:{x:e.position.x,y:e.position.y,mode:"precise"}}),"number"==typeof o.size.value?o.size.value/=s:(o.size.value.min/=s,o.size.value.max/=s),o.load(t);let a=r.sizeOffset?(0,i.Cs)(-e.size.value,e.size.value):0,l={x:e.position.x+(0,i.vd)(a),y:e.position.y+(0,i.vd)(a)};return this.container.particles.addParticle(l,o,e.group,t=>{var n;return!(t.size.value<.5)&&(t.velocity.length=(0,i.vd)((0,i.Cs)(e.velocity.length,t.velocity.length)),t.splitCount=(null!==(n=e.splitCount)&&void 0!==n?n:0)+1,t.unbreakable=!0,setTimeout(()=>{t.unbreakable=!1},500),!0)})}split(e){let t=e.options.destroy;if(!t)return;let n=t.split;if(n.count>=0&&(void 0===e.splitCount||e.splitCount++>n.count))return;let r=(0,i.NA)(n.rate),o=(0,i.wA)(n.particles);for(let s=0;s<r;s++)this.addSplitParticle(e,o)}}async function v(e){await e.addParticleUpdater("destroy",t=>new g(e,t))}class y{randomPosition(e,t,n){var r,o,s;let[a,l]=[t.width/2,t.height/2],u=((e,t)=>{let n=(0,i.sZ)()/4,r=Math.atan(t/e*Math.tan(2*Math.PI*n)),o=(0,i.sZ)();return o<.25?r:o<.5?Math.PI-r:o<.75?Math.PI+r:-r})(a,l),c=a*l/Math.sqrt((l*Math.cos(u))**2+(a*Math.sin(u))**2),d=n?c*Math.sqrt((0,i.sZ)()):c;return{x:e.x+d*Math.cos(u),y:e.y+d*Math.sin(u)}}}class b{constructor(){this.wait=!1}load(e){void 0!==e&&(void 0!==e.count&&(this.count=e.count),void 0!==e.delay&&(this.delay=e.delay),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.wait&&(this.wait=e.wait))}}class w{constructor(){this.quantity=1,this.delay=.1}load(e){void 0!==e&&(void 0!==e.quantity&&(this.quantity=(0,i.Cs)(e.quantity)),void 0!==e.delay&&(this.delay=(0,i.Cs)(e.delay)))}}class S{constructor(){this.mode="percent",this.height=0,this.width=0}load(e){void 0!==e&&(void 0!==e.mode&&(this.mode=e.mode),void 0!==e.height&&(this.height=e.height),void 0!==e.width&&(this.width=e.width))}}class x{constructor(){this.autoPlay=!0,this.fill=!0,this.life=new b,this.rate=new w,this.shape="square",this.startCount=0}load(e){void 0!==e&&(void 0!==e.autoPlay&&(this.autoPlay=e.autoPlay),void 0!==e.size&&(void 0===this.size&&(this.size=new S),this.size.load(e.size)),void 0!==e.direction&&(this.direction=e.direction),this.domId=e.domId,void 0!==e.fill&&(this.fill=e.fill),this.life.load(e.life),this.name=e.name,this.particles=(0,i.KH)(e.particles,e=>(0,i.ZB)({},e)),this.rate.load(e.rate),void 0!==e.shape&&(this.shape=e.shape),void 0!==e.position&&(this.position={},void 0!==e.position.x&&(this.position.x=(0,i.Cs)(e.position.x)),void 0!==e.position.y&&(this.position.y=(0,i.Cs)(e.position.y))),void 0!==e.spawnColor&&(void 0===this.spawnColor&&(this.spawnColor=new i.RC),this.spawnColor.load(e.spawnColor)),void 0!==e.startCount&&(this.startCount=e.startCount))}}class _{constructor(e,t,n,r,o){var s,a,l,u,c,d,h,p;this.emitters=t,this.container=n,this._engine=e,this._currentDuration=0,this._currentEmitDelay=0,this._currentSpawnDelay=0,this._initialPosition=o,r instanceof x?this.options=r:(this.options=new x,this.options.load(r)),this._spawnDelay=(null!==(s=this.options.life.delay)&&void 0!==s?s:0)*1e3/this.container.retina.reduceFactor,this.position=null!==(a=this._initialPosition)&&void 0!==a?a:this.calcPosition(),this.name=this.options.name,this._shape=null===(l=this._engine.emitterShapeManager)||void 0===l?void 0:l.getShape(this.options.shape),this.fill=this.options.fill,this._firstSpawn=!this.options.life.wait,this._startParticlesAdded=!1;let f=(0,i.ZB)({},this.options.particles);null!=f||(f={}),null!==(u=f.move)&&void 0!==u||(f.move={}),null!==(c=(p=f.move).direction)&&void 0!==c||(p.direction=this.options.direction),this.options.spawnColor&&(this.spawnColor=(0,i.lN)(this.options.spawnColor)),this._paused=!this.options.autoPlay,this._particlesOptions=f,this.size=null!==(d=this.options.size)&&void 0!==d?d:(()=>{let e=new S;return e.load({height:0,mode:"percent",width:0}),e})(),this._lifeCount=null!==(h=this.options.life.count)&&void 0!==h?h:-1,this._immortal=this._lifeCount<=0,this._engine.dispatchEvent("emitterCreated",{container:n,data:{emitter:this}}),this.play()}externalPause(){this._paused=!0,this.pause()}externalPlay(){this._paused=!1,this.play()}getPosition(){if(this.options.domId){let e=this.container,t=document.getElementById(this.options.domId);if(t){let n=t.getBoundingClientRect();return{x:(n.x+n.width/2)*e.retina.pixelRatio,y:(n.y+n.height/2)*e.retina.pixelRatio}}}return this.position}getSize(){let e=this.container;if(this.options.domId){let t=document.getElementById(this.options.domId);if(t){let n=t.getBoundingClientRect();return{width:n.width*e.retina.pixelRatio,height:n.height*e.retina.pixelRatio}}}return{width:"percent"===this.size.mode?e.canvas.size.width*this.size.width/100:this.size.width,height:"percent"===this.size.mode?e.canvas.size.height*this.size.height/100:this.size.height}}pause(){!this._paused&&delete this._emitDelay}play(){var e;if(!this._paused&&this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal||!this.options.life.count)&&(this._firstSpawn||this._currentSpawnDelay>=(null!==(e=this._spawnDelay)&&void 0!==e?e:0))){if(void 0===this._emitDelay){let t=(0,i.Gu)(this.options.rate.delay);this._emitDelay=1e3*t/this.container.retina.reduceFactor}(this._lifeCount>0||this._immortal)&&this.prepareToDie()}}resize(){let e=this._initialPosition;this.position=e&&(0,i.Ac)(e,this.container.canvas.size,i.OW.origin)?e:this.calcPosition()}update(e){var t,n,i;!this._paused&&(this._firstSpawn&&(this._firstSpawn=!1,this._currentSpawnDelay=null!==(t=this._spawnDelay)&&void 0!==t?t:0,this._currentEmitDelay=null!==(n=this._emitDelay)&&void 0!==n?n:0),this._startParticlesAdded||(this._startParticlesAdded=!0,this.emitParticles(this.options.startCount)),void 0!==this._duration&&(this._currentDuration+=e.value,this._currentDuration>=this._duration&&(this.pause(),void 0!==this._spawnDelay&&delete this._spawnDelay,!this._immortal&&this._lifeCount--,this._lifeCount>0||this._immortal?(this.position=this.calcPosition(),this._spawnDelay=(null!==(i=this.options.life.delay)&&void 0!==i?i:0)*1e3/this.container.retina.reduceFactor):this.destroy(),this._currentDuration-=this._duration,delete this._duration)),void 0!==this._spawnDelay&&(this._currentSpawnDelay+=e.value,this._currentSpawnDelay>=this._spawnDelay&&(this._engine.dispatchEvent("emitterPlay",{container:this.container}),this.play(),this._currentSpawnDelay-=this._currentSpawnDelay,delete this._spawnDelay)),void 0!==this._emitDelay&&(this._currentEmitDelay+=e.value,this._currentEmitDelay>
20=this._emitDelay&&(this.emit(),this._currentEmitDelay-=this._emitDelay)))}calcPosition(){return(0,i.Gz)({size:this.container.canvas.size,position:this.options.position})}destroy(){this.emitters.removeEmitter(this),this._engine.dispatchEvent("emitterDestroyed",{container:this.container,data:{emitter:this}})}emit(){if(this._paused)return;let e=(0,i.Gu)(this.options.rate.quantity);this.emitParticles(e)}emitParticles(e){var t,n,r;let o=this.getPosition(),s=this.getSize(),a=(0,i.wA)(this._particlesOptions);for(let l=0;l<e;l++){let u=(0,i.ZB)({},a);if(this.spawnColor){let c=null===(t=this.options.spawnColor)||void 0===t?void 0:t.animation;c&&(this.spawnColor.h=this.setColorAnimation(c.h,this.spawnColor.h,360),this.spawnColor.s=this.setColorAnimation(c.s,this.spawnColor.s,100),this.spawnColor.l=this.setColorAnimation(c.l,this.spawnColor.l,100)),u.color?u.color.value=this.spawnColor:u.color={value:this.spawnColor}}if(!o)return;let d=null!==(r=null===(n=this._shape)||void 0===n?void 0:n.randomPosition(o,s,this.fill))&&void 0!==r?r:o;this.container.particles.addParticle(d,u)}}prepareToDie(){var e;if(this._paused)return;let t=null===(e=this.options.life)||void 0===e?void 0:e.duration;this.container.retina.reduceFactor&&(this._lifeCount>0||this._immortal)&&void 0!==t&&t>0&&(this._duration=1e3*t)}setColorAnimation(e,t,n){var r;let o=this.container;if(!e.enable)return t;let s=(0,i.vd)(e.offset),a=(0,i.Gu)(this.options.rate.delay),l=1e3*a/o.retina.reduceFactor,u=(0,i.Gu)(null!==(r=e.speed)&&void 0!==r?r:0);return(t+u*o.fpsLimit/l+3.6*s)%n}}class C{constructor(e,t){this.container=t,this._engine=e,this.array=[],this.emitters=[],this.interactivityEmitters={random:{count:1,enable:!1},value:[]},t.getEmitter=e=>void 0===e||"number"==typeof e?this.array[e||0]:this.array.find(t=>t.name===e),t.addEmitter=(e,t)=>this.addEmitter(e,t),t.removeEmitter=e=>{let n=t.getEmitter(e);n&&this.removeEmitter(n)},t.playEmitter=e=>{let n=t.getEmitter(e);n&&n.externalPlay()},t.pauseEmitter=e=>{let n=t.getEmitter(e);n&&n.externalPause()}}addEmitter(e,t){let n=new x;n.load(e);let i=new _(this._engine,this,this.container,n,t);return this.array.push(i),i}handleClickMode(e){let t=this.emitters,n=this.interactivityEmitters;if("emitter"===e){let r;if(n&&n.value instanceof Array){if(n.value.length>0&&n.random.enable){r=[];let o=[];for(let s=0;s<n.random.count;s++){let a=(0,i.dU)(n.value);if(o.includes(a)&&o.length<n.value.length){s--;continue}o.push(a),r.push((0,i.c8)(n.value,a))}}else r=n.value}else r=null==n?void 0:n.value;let l=null!=r?r:t,u=this.container.interactivity.mouse.clickPosition;(0,i.KH)(l,e=>{this.addEmitter(e,u)})}}init(e){var t,n,r,o,s,a,l,u;if(!e)return;this.emitters=(0,i.KH)(e.emitters,e=>{let t=new x;return t.load(e),t});let c=null===(n=null===(t=e.interactivity)||void 0===t?void 0:t.modes)||void 0===n?void 0:n.emitters;if(c){if(c instanceof Array)this.interactivityEmitters={random:{count:1,enable:!0},value:c.map(e=>{let t=new x;return t.load(e),t})};else if(void 0!==c.value){if(c.value instanceof Array)this.interactivityEmitters={random:{count:null!==(r=this.interactivityEmitters.random.count)&&void 0!==r?r:1,enable:null!==(o=this.interactivityEmitters.random.enable)&&void 0!==o&&o},value:c.value.map(e=>{let t=new x;return t.load(e),t})};else{let d=new x;d.load(c.value),this.interactivityEmitters={random:{count:null!==(s=this.interactivityEmitters.random.count)&&void 0!==s?s:1,enable:null!==(a=this.interactivityEmitters.random.enable)&&void 0!==a&&a},value:d}}}else{let h=new x;h.load(c),this.interactivityEmitters={random:{count:null!==(l=this.interactivityEmitters.random.count)&&void 0!==l?l:1,enable:null!==(u=this.interactivityEmitters.random.enable)&&void 0!==u&&u},value:h}}}if(this.emitters instanceof Array)for(let p of this.emitters)this.addEmitter(p);else this.addEmitter(this.emitters)}pause(){for(let e of this.array)e.pause()}play(){for(let e of this.array)e.play()}removeEmitter(e){let t=this.array.indexOf(e);t>=0&&this.array.splice(t,1)}resize(){for(let e of this.array)e.resize()}stop(){this.array=[]}update(e){for(let t of this.array)t.update(e)}}let E=new Map;class k{constructor(e){this._engine=e}
20addShape(e,t){this.getShape(e)||E.set(e,t)}getShape(e){return E.get(e)}getSupportedShapes(){return E.keys()}}function P(e,t){return e+t*((0,i.sZ)()-.5)}class T{randomPosition(e,t,n){if(n)return{x:P(e.x,t.width),y:P(e.y,t.height)};{let r=t.width/2,o=t.height/2,s=Math.floor(4*(0,i.sZ)()),a=((0,i.sZ)()-.5)*2;switch(s){case 0:return{x:e.x+a*r,y:e.y-o};case 1:return{x:e.x-r,y:e.y+a*o};case 2:return{x:e.x+a*r,y:e.y+o};default:return{x:e.x+r,y:e.y+a*o}}}}}class A{constructor(e){this._engine=e,this.id="emitters"}getPlugin(e){return new C(this._engine,e)}loadOptions(e,t){var n,r,o,s,a,l;if(!this.needsPlugin(e)&&!this.needsPlugin(t))return;let u=e;u.emitters=(0,i.KH)(null==t?void 0:t.emitters,e=>{let t=new x;return t.load(e),t});let c=null===(r=null===(n=null==t?void 0:t.interactivity)||void 0===n?void 0:n.modes)||void 0===r?void 0:r.emitters;if(c){if(c instanceof Array)u.interactivity.modes.emitters={random:{count:1,enable:!0},value:c.map(e=>{let t=new x;return t.load(e),t})};else if(void 0!==c.value){if(c.value instanceof Array)u.interactivity.modes.emitters={random:{count:null!==(o=c.random.count)&&void 0!==o?o:1,enable:null!==(s=c.random.enable)&&void 0!==s&&s},value:c.value.map(e=>{let t=new x;return t.load(e),t})};else{let d=new x;d.load(c.value),u.interactivity.modes.emitters={random:{count:null!==(a=c.random.count)&&void 0!==a?a:1,enable:null!==(l=c.random.enable)&&void 0!==l&&l},value:d}}}else{let h=u.interactivity.modes.emitters={random:{count:1,enable:!1},value:new x};h.value.load(c)}}}needsPlugin(e){var t,n,r;if(!e)return!1;let o=e.emitters;return o instanceof Array&&!!o.length||void 0!==o||!!(null===(r=null===(n=null===(t=e.interactivity)||void 0===t?void 0:t.events)||void 0===n?void 0:n.onClick)||void 0===r?void 0:r.mode)&&(0,i.dB)("emitter",e.interactivity.events.onClick.mode)}}async function O(e){e.emitterShapeManager||(e.emitterShapeManager=new k(e)),e.addEmitterShape||(e.addEmitterShape=(t,n)=>{var i;null===(i=e.emitterShapeManager)||void 0===i||i.addShape(t,n)});let t=new A(e);await e.addPlugin(t),e.addEmitterShape("circle",new y),e.addEmitterShape("square",new T)}class L{constructor(){this.delay=1,this.pauseOnStop=!1,this.quantity=1}load(e){e&&(void 0!==e.delay&&(this.delay=e.delay),void 0!==e.quantity&&(this.quantity=e.quantity),void 0!==e.particles&&(this.particles=(0,i.ZB)({},e.particles)),void 0!==e.pauseOnStop&&(this.pauseOnStop=e.pauseOnStop))}}class R extends i.L8{constructor(e){super(e),this._delay=0}clear(){}init(){}async interact(e){var t,n,i,r;if(!this.container.retina.reduceFactor)return;let o=this.container,s=o.actualOptions,a=s.interactivity.modes.trail;if(!a)return;let l=1e3*a.delay/this.container.retina.reduceFactor;if(this._delay<l&&(this._delay+=e.value),this._delay<l)return;let u=!0;a.pauseOnStop&&(o.interactivity.mouse.position===this._lastPosition||(null===(t=o.interactivity.mouse.position)||void 0===t?void 0:t.x)===(null===(n=this._lastPosition)||void 0===n?void 0:n.x)&&(null===(i=o.interactivity.mouse.position)||void 0===i?void 0:i.y)===(null===(r=this._lastPosition)||void 0===r?void 0:r.y))&&(u=!1),o.interactivity.mouse.position?this._lastPosition={x:o.interactivity.mouse.position.x,y:o.interactivity.mouse.position.y}:delete this._lastPosition,u&&o.particles.push(a.quantity,o.interactivity.mouse,a.particles),this._delay-=l}isEnabled(e){var t;let n=this.container,r=n.actualOptions,o=n.interactivity.mouse,s=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:r.interactivity).events;return o.clicking&&o.inside&&!!o.position&&(0,i.dB)("trail",s.onClick.mode)||o.inside&&!!o.position&&(0,i.dB)("trail",s.onHover.mode)}loadModeOptions(e,...t){for(let n of(e.trail||(e.trail=new L),t))e.trail.load(null==n?void 0:n.trail)}reset(){}}async function M(e){await e.addInteractor("externalTrail",e=>new R(e))}n(8079);class I{constructor(){this.color=new i.Oz,this.width=.5,this.opacity=1}load(e){var t;e&&(this.color=i.Oz.create(this.color,e.color),"string"==typeof this.color.value&&(this.opacity=null!==(t=(0,i.gE)(this.color.value))&&void 0!==t?t:this.opacity),void 0!==e.opacity&&(this.opacity=e.opacity),void 0!==e.width&&(this.width=e.width))}}class V{constructor(){this.enable=!1,this.stroke=new I}get lineColor(){return this.stroke.color}set lineColor(e){this.stroke.color=i.Oz.create(this.stroke.color,e)}get lineWidth(){return this.stroke.width}set lineWidth(e){this.stroke.width=e}load(e){var t;if(!e)return;void 0!==e.enable&&(this.enable=e.enable);let n=null!==(t=e.stroke)&&void 0!==t?t:{color:e.lineColor,width:e.lineWidth};this.stroke.load(n)}}class D{constructor(){this.arrangement="one-per-point"}load(e){e&&void 0!==e.arrangement&&(this.arrangement=e.arrangement)}}class z{constructor(){this.path=[],this.size={height:0,width:0}}load(e){e&&(void 0!==e.path&&(this.path=e.path),void 0!==e.size&&(void 0!==e.size.width&&(this.size.width=e.size.width),void 0!==e.size.height&&(this.size.height=e.size.height)))}}class F{constructor(){this.radius=10,this.type="path"}load(e){e&&(void 0!==e.radius&&(this.radius=e.radius),void 0!==e.type&&(this.t
20ype=e.type))}}class N{constructor(){this.draw=new V,this.enable=!1,this.inline=new D,this.move=new F,this.scale=1,this.type="none"}get inlineArrangement(){return this.inline.arrangement}set inlineArrangement(e){this.inline.arrangement=e}load(e){e&&(this.draw.load(e.draw),this.inline.load(e.inline),this.move.load(e.move),void 0!==e.scale&&(this.scale=e.scale),void 0!==e.type&&(this.type=e.type),void 0!==e.enable?this.enable=e.enable:this.enable="none"!==this.type,void 0!==e.url&&(this.url=e.url),void 0!==e.data&&("string"==typeof e.data?this.data=e.data:(this.data=new z,this.data.load(e.data))),void 0!==e.position&&(this.position=(0,i.ZB)({},e.position)))}}function j(e,t,n){let r=(0,i.tX)(n.color);if(r){for(let o of(e.beginPath(),e.moveTo(t[0].x,t[0].y),t))e.lineTo(o.x,o.y);e.closePath(),e.strokeStyle=(0,i.iz)(r),e.lineWidth=n.width,e.stroke()}}function G(e,t,n,r){e.translate(r.x,r.y);let o=(0,i.tX)(n.color);o&&(e.strokeStyle=(0,i.iz)(o,n.opacity),e.lineWidth=n.width,e.stroke(t))}function B(e,t,n){let{dx:r,dy:o}=(0,i.oW)(n,e),{dx:s,dy:a}=(0,i.oW)(t,e),l=(r*s+o*a)/(s**2+a**2),u={x:e.x+s*l,y:e.x+a*l,isOnSegment:l>=0&&l<=1};return l<0?(u.x=e.x,u.y=e.y):l>1&&(u.x=t.x,u.y=t.y),u}function H(e,t,n){let{dx:r,dy:o}=(0,i.oW)(e,t),s=Math.atan2(o,r),a=i.OW.create(Math.sin(s),-Math.cos(s)),l=2*(n.x*a.x+n.y*a.y);a.multTo(l),n.subFrom(a)}let U="No polygon data loaded.";class ${constructor(e,t){this._container=e,this._engine=t,this.dimension={height:0,width:0},this.path2DSupported=!!window.Path2D,this.options=new N,this._polygonMaskMoveRadius=this.options.move.radius*e.retina.pixelRatio}clickPositionValid(e){let t=this.options;return t.enable&&"none"!==t.type&&"inline"!==t.type&&this.checkInsidePolygon(e)}draw(e){var t;if(!(null===(t=this.paths)||void 0===t?void 0:t.length))return;let n=this.options,i=n.draw;if(!n.enable||!i.enable)return;let r=this.raw;for(let o of this.paths){let s=o.path2d,a=this.path2DSupported;e&&(a&&s&&this.offset?G(e,s,i.stroke,this.offset):r&&j(e,r,i.stroke))}}async initAsync(e){this.options.load(null==e?void 0:e.polygon);let t=this.options;this._polygonMaskMoveRadius=t.move.radius*this._container.retina.pixelRatio,t.enable&&await this.initRawData()}particleBounce(e,t,n){return this.polygonBounce(e,t,n)}particlePosition(e){var t,n;let r=this.options;if(r.enable&&(null!==(n=null===(t=this.raw)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>0)return(0,i.ZB)({},e||this.randomPoint())}particlesInitialization(){let e=this.options;return!!e.enable&&"inline"===e.type&&("one-per-point"===e.inline.arrangement||"per-point"===e.inline.arrangement)&&(this.drawPoints(),!0)}resize(){let e=this._container,t=this.options;t.enable&&"none"!==t.type&&(this.redrawTimeout&&clearTimeout(this.redrawTimeout),this.redrawTimeout=window.setTimeout(async()=>{await this.initRawData(!0),await e.particles.redraw()},250))}stop(){delete this.raw,delete this.paths}checkInsidePolygon(e){var t,n;let r=this._container,o=this.options;if(!o.enable||"none"===o.type||"inline"===o.type)return!0;if(!this.raw)throw Error("No polygon found, you need to specify SVG url in config.");let s=r.canvas.size,a=null!==(t=null==e?void 0:e.x)&&void 0!==t?t:(0,i.sZ)()*s.width,l=null!==(n=null==e?void 0:e.y)&&void 0!==n?n:(0,i.sZ)()*s.height,u=!1;for(let c=0,d=this.raw.length-1;c<this.raw.length;d=c++){let h=this.raw[c],p=this.raw[d],f=h.y>l!=p.y>l&&a<(p.x-h.x)*(l-h.y)/(p.y-h.y)+h.x;f&&(u=!u)}return"inside"===o.type?u:"outside"===o.type&&!u}createPath2D(){var e,t;let n=this.options;if(this.path2DSupported&&(null===(e=this.paths)||void 0===e?void 0:e.length))for(let i of this.paths){let r=null===(t=i.element)||void 0===t?void 0:t.getAttribute("d");if(r){let o=new Path2D(r),s=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGMatrix(),a=new Path2D,l=s.scale(n.scale);a.addPath?(a.addPath(o,l),i.path2d=a):delete i.path2d}else delete i.path2d;!i.path2d&&this.raw&&(i.path2d=new Path2D,i.path2d.moveTo(this.raw[0].x,this.raw[0].y),this.raw.forEach((e,t)=>{var n;t>0&&(null===(n=i.path2d)||void 0===n||n.lineTo(e.x,e.y))}),i.path2d.closePath())}}async downloadSvgPath(e,t){let n=this.options,i=e||n.url;if(!i||void 0!==this.paths&&!(null!=t&&t))return this.raw;let r=await fetch(i);if(!r.ok)throw Error("tsParticles Error - Error occurred during polygon mask download");return this.parseSvgPath(await r.text(),t)}drawPoints(){if(this.raw)for(let e of this.raw)this._container.particles.addParticle
20({x:e.x,y:e.y})}getEquidistantPointByIndex(e){var t,n,i,r,o,s,a;let l=this._container.actualOptions,u=this.options;if(!this.raw||!this.raw.length||!(null===(t=this.paths)||void 0===t?void 0:t.length))throw Error(U);let c=0,d,h=this.paths.reduce((e,t)=>e+t.length,0),p=h/l.particles.number.value;for(let f of this.paths){let m=p*e-c;if(m<=f.length){d=f.element.getPointAtLength(m);break}c+=f.length}return{x:(null!==(n=null==d?void 0:d.x)&&void 0!==n?n:0)*u.scale+(null!==(r=null===(i=this.offset)||void 0===i?void 0:i.x)&&void 0!==r?r:0),y:(null!==(o=null==d?void 0:d.y)&&void 0!==o?o:0)*u.scale+(null!==(a=null===(s=this.offset)||void 0===s?void 0:s.y)&&void 0!==a?a:0)}}getPointByIndex(e){if(!this.raw||!this.raw.length)throw Error(U);let t=this.raw[e%this.raw.length];return{x:t.x,y:t.y}}getRandomPoint(){if(!this.raw||!this.raw.length)throw Error(U);let e=(0,i.c8)(this.raw);return{x:e.x,y:e.y}}getRandomPointByLength(){var e,t,n;let r=this.options;if(!this.raw||!this.raw.length||!(null===(e=this.paths)||void 0===e?void 0:e.length))throw Error(U);let o=(0,i.c8)(this.paths),s=Math.floor((0,i.sZ)()*o.length)+1,a=o.element.getPointAtLength(s);return{x:a.x*r.scale+((null===(t=this.offset)||void 0===t?void 0:t.x)||0),y:a.y*r.scale+((null===(n=this.offset)||void 0===n?void 0:n.y)||0)}}async initRawData(e){let t=this.options;if(t.url)this.raw=await this.downloadSvgPath(t.url,e);else if(t.data){let n=t.data,i;if("string"!=typeof n){let r=n.path instanceof Array?n.path.map(e=>`<path d="${e}" />`).join(""):`<path d="${n.path}" />`;i=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="${n.size.width}" height="${n.size.height}">${r}</svg>`}else i=n;this.raw=this.parseSvgPath(i,e)}this.createPath2D(),this._engine.dispatchEvent("polygonMaskLoaded",{container:this._container})}parseSvgPath(e,t){var n,i,r;if(void 0!==this.paths&&!(null!=t&&t))return this.raw;let o=this._container,s=this.options,a=new DOMParser,l=a.parseFromString(e,"image/svg+xml"),u=l.getElementsByTagName("svg")[0],c=u.getElementsByTagName("path");c.length||(c=l.getElementsByTagName("path")),this.paths=[];for(let d=0;d<c.length;d++){let h=c.item(d);h&&this.paths.push({element:h,length:h.getTotalLength()})}let p=o.retina.pixelRatio,f=s.scale/p;this.dimension.width=parseFloat(null!==(n=u.getAttribute("width"))&&void 0!==n?n:"0")*f,this.dimension.height=parseFloat(null!==(i=u.getAttribute("height"))&&void 0!==i?i:"0")*f;let m=null!==(r=s.position)&&void 0!==r?r:{x:50,y:50};return this.offset={x:o.canvas.size.width*m.x/(100*p)-this.dimension.width/2,y:o.canvas.size.height*m.y/(100*p)-this.dimension.height/2},function(e,t,n){var i;let r=[];for(let o of e){let s=o.element.pathSegList,a=null!==(i=null==s?void 0:s.numberOfItems)&&void 0!==i?i:0,l={x:0,y:0};for(let u=0;u<a;u++){let c=null==s?void 0:s.getItem(u),d=window.SVGPathSeg;switch(null==c?void 0:c.pathSegType){case d.PATHSEG_MOVETO_ABS:case d.PATHSEG_LINETO_ABS:case d.PATHSEG_CURVETO_CUBIC_ABS:case d.PATHSEG_CURVETO_QUADRATIC_ABS:case d.PATHSEG_ARC_ABS:case d.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:case d.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:l.x=c.x,l.y=c.y;break;case d.PATHSEG_LINETO_HORIZONTAL_ABS:l.x=c.x;break;case d.PATHSEG_LINETO_VERTICAL_ABS:l.y=c.y;break;case d.PATHSEG_LINETO_REL:case d.PATHSEG_MOVETO_REL:case d.PATHSEG_CURVETO_CUBIC_REL:case d.PATHSEG_CURVETO_QUADRATIC_REL:case d.PATHSEG_ARC_REL:case d.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:case d.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:l.x+=c.x,l.y+=c.y;break;case d.PATHSEG_LINETO_HORIZONTAL_REL:l.x+=c.x;break;case d.PATHSEG_LINETO_VERTICAL_REL:l.y+=c.y;break;case d.PATHSEG_UNKNOWN:case d.PATHSEG_CLOSEPATH:continue}r.push({x:l.x*t+n.x,y:l.y*t+n.y})}}return r}(this.paths,f,this.offset)}polygonBounce(e,t,n){let r=this.options;if(!this.raw||!r.enable||"top"!==n)return!1;if("inside"===r.type||"outside"===r.type){let o,s,a,l=e.getPosition(),u=e.getRadius();for(let c=0,d=this.raw.length-1;c<this.raw.length;d=c++){let h=this.raw[c],p=this.raw[d];o=B(h,p,l);let f=(0,i.oW)(l,o);if([s,a]=[f.dx,f.dy],f.distance<u)return H(h,p,e.velocity),!0}if(o&&void 0!==s&&void 0!==a&&!this.checkInsidePolygon(l)){let m={x:1,y:1};return e.position.x>=o.x&&(m.x=-1),e.position.y>=o.y&&(m.y=-1),e.position.x=o.x+2*u*m.x,e.position.y=o.y+2*u*m.y,e.velocity.mult(-1),!0}}else if("inline"===r.type&&e.initialPosition){let g=(0,i.Sp)(e.initialPosition,e.getPosition());if(g>this._polygonMaskMoveRadius)return e.velocity.x=e.velocity.y/2-e.velocity.x,e.velocity.y=e.velocity.x/2-e.velocity.y,!0}return!1}randomPoint(){let e=this._container,t=this.options,n;if("inline"===t.type)switch(t.inline.arrangement){case"random-point":n=this.getRandomPoint();break;case"random-length":n=this.getRandomPointByLength();break;case"equidistant":n=this.getEquidistantPointByIndex(e.particles.count);break;default:n=this.getPointByIndex(e.particles.count)}
20else n={x:(0,i.sZ)()*e.canvas.size.width,y:(0,i.sZ)()*e.canvas.size.height};return this.checkInsidePolygon(n)?n:this.randomPoint()}}class q{constructor(e){this.id="polygonMask",this._engine=e}getPlugin(e){return new $(e,this._engine)}loadOptions(e,t){if(!this.needsPlugin(t))return;let n=e,i=n.polygon;(null==i?void 0:i.load)===void 0&&(n.polygon=i=new N),i.load(null==t?void 0:t.polygon)}needsPlugin(e){var t,n,i;return null!==(n=null===(t=null==e?void 0:e.polygon)||void 0===t?void 0:t.enable)&&void 0!==n?n:(null===(i=null==e?void 0:e.polygon)||void 0===i?void 0:i.type)!==void 0&&"none"!==e.polygon.type}}async function W(e){let t=new q(e);await e.addPlugin(t)}class Q{constructor(){this.enable=!1,this.value=0}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.value&&(this.value=(0,i.Cs)(e.value)))}}class Y{constructor(){this.darken=new Q,this.enable=!1,this.enlighten=new Q,this.mode="vertical",this.speed=25}load(e){e&&(void 0!==e.backColor&&(this.backColor=i.Oz.create(this.backColor,e.backColor)),this.darken.load(e.darken),void 0!==e.enable&&(this.enable=e.enable),this.enlighten.load(e.enlighten),void 0!==e.mode&&(this.mode=e.mode),void 0!==e.speed&&(this.speed=(0,i.Cs)(e.speed)))}}class Z{getTransformValues(e){var t;let n=(null===(t=e.roll)||void 0===t?void 0:t.enable)&&e.roll,i=n&&n.horizontal,r=n&&n.vertical;return{a:i?Math.cos(n.angle):void 0,d:r?Math.sin(n.angle):void 0}}init(e){let t=e.options.roll;if(null==t?void 0:t.enable){if(e.roll={enable:t.enable,horizontal:"horizontal"===t.mode||"both"===t.mode,vertical:"vertical"===t.mode||"both"===t.mode,angle:(0,i.sZ)()*Math.PI*2,speed:(0,i.Gu)(t.speed)/360},t.backColor)e.backColor=(0,i.lN)(t.backColor);else if(t.darken.enable&&t.enlighten.enable){let n=(0,i.sZ)()>=.5?"darken":"enlighten";e.roll.alter={type:n,value:(0,i.Gu)("darken"===n?t.darken.value:t.enlighten.value)}}else t.darken.enable?e.roll.alter={type:"darken",value:(0,i.Gu)(t.darken.value)}:t.enlighten.enable&&(e.roll.alter={type:"enlighten",value:(0,i.Gu)(t.enlighten.value)})}else e.roll={enable:!1,horizontal:!1,vertical:!1,angle:0,speed:0}}isEnabled(e){let t=e.options.roll;return!e.destroyed&&!e.spawning&&!!(null==t?void 0:t.enable)}loadOptions(e,...t){for(let n of(e.roll||(e.roll=new Y),t))e.roll.load(null==n?void 0:n.roll)}update(e,t){this.isEnabled(e)&&!function(e,t){let n=e.options.roll;if(!e.roll||!(null==n?void 0:n.enable))return;let i=e.roll.speed*t.factor,r=2*Math.PI;e.roll.angle+=i,e.roll.angle>r&&(e.roll.angle-=r)}(e,t)}}async function K(e){await e.addParticleUpdater("roll",()=>new Z)}let X=e=>{let t=(t,n)=>e.load(t,n);t.load=(t,n,i)=>{e.loadJSON(t,n).then(e=>{e&&i(e)}).catch(()=>{i(void 0)})},t.setOnClickHandler=t=>{e.setOnClickHandler(t)};let n=e.dom();return{particlesJS:t,pJSDom:n}};class J{constructor(e){this.container=e}init(e){let t=e.options.rotate;e.rotate={enable:t.animation.enable,value:(0,i.Gu)(t.value)*Math.PI/180};let n=t.direction;if("random"===n){let r=Math.floor(2*(0,i.sZ)());n=r>0?"counter-clockwise":"clockwise"}switch(n){case"counter-clockwise":case"counterClockwise":e.rotate.status=1;break;case"clockwise":e.rotate.status=0}let o=e.options.rotate.animation;o.enable&&(e.rotate.decay=1-(0,i.Gu)(o.decay),e.rotate.velocity=(0,i.Gu)(o.speed)/360*this.container.retina.reduceFactor,o.sync||(e.rotate.velocity*=(0,i.sZ)())),e.rotation=e.rotate.value}isEnabled(e){let t=e.options.rotate,n=t.animation;return!e.destroyed&&!e.spawning&&n.enable&&!t.path}update(e,t){var n,i;this.isEnabled(e)&&(!function(e,t){var n,i;let r=e.rotate;if(!r)return;let o=e.options.rotate,s=o.animation,a=(null!==(n=r.velocity)&&void 0!==n?n:0)*t.factor,l=2*Math.PI,u=null!==(i=r.decay)&&void 0!==i?i:1;s.enable&&(0===r.status?(r.value+=a,r.value>l&&(r.value-=l)):(r.value-=a,r.value<0&&(r.value+=l)),r.velocity&&1!==u&&(r.velocity*=u))}(e,t),e.rotation=null!==(i=null===(n=e.rotate)||void 0===n?void 0:n.value)&&void 0!==i?i:0)}}async function ee(e){await e.addParticleUpdater("angle",e=>new J(e))}class et{init(e){var t;let n=e.container,r=e.options,o=r.move.gravity,s=r.move.spin;if(e.gravity={enable:o.enable,acceleration:(0,i.Gu)(o.acceleration),inverse:o.inverse},s.enable){let a=null!==(t=s.position)&&void 0!==t?t:{x:50,y:50},l={x:a.x/100*n.canvas.size.width,y:a.y/100*n.canvas.size.height},u=e.getPosition(),c=(0,i.Sp)(u,l),d=(0,i.Gu)(s.acceleration);e.retina.spinAcceleration=d*n.retina.pixelRatio,e.spin={center:l,direction:e.velocity.x>=0?"clockwise":"counter-clockwise",angle:e.velocity.angle,radius:c,acceleration:e.retina.spinAcceleration}}}isEnabled(e){return!e.destroyed&&e.options.move.enable}move(e,t){var n,r,o,s,a,l;let u=e.options,c=u.move;if(!c.enable)return;let d=e.container,h=e.slow.inRange?e.slow.factor:1,p=(null!==(n=(s=e.retina).moveSpeed)&&void 0!==n?n:s.moveSpeed=(0,i.Gu)(c.speed)*d.retina.pixelRatio)*d.retina.reduceFactor,f=null!==(r=(a=e.retina).moveDrift)&&void 0!==r?r:a.moveDrift=(0,i.Gu)(e.options.move.drift)*d.retina.pixelRatio,m=(0,i.KI)(u.size.value)*d.retina.pixelRatio,g=c.size?e.getRadius()/m:1,v=g*h*(t.factor||1),y=p*v/2;if(c.spin.enable)!function(e,t){let n=e.container;if(!e.spin)return;
20let i={x:"clockwise"===e.spin.direction?Math.cos:Math.sin,y:"clockwise"===e.spin.direction?Math.sin:Math.cos};e.position.x=e.spin.center.x+e.spin.radius*i.x(e.spin.angle),e.position.y=e.spin.center.y+e.spin.radius*i.y(e.spin.angle),e.spin.radius+=e.spin.acceleration;let r=Math.max(n.canvas.size.width,n.canvas.size.height);e.spin.radius>r/2?(e.spin.radius=r/2,e.spin.acceleration*=-1):e.spin.radius<0&&(e.spin.radius=0,e.spin.acceleration*=-1),e.spin.angle+=t/100*(1-e.spin.radius/r)}(e,y);else{!function(e,t){var n;let r=e.options,o=r.move.path,s=o.enable;if(!s)return;if(e.lastPathTime<=e.pathDelay){e.lastPathTime+=t.value;return}let a=null===(n=e.pathGenerator)||void 0===n?void 0:n.generate(e);a&&e.velocity.addTo(a),o.clamp&&(e.velocity.x=(0,i.uZ)(e.velocity.x,-1,1),e.velocity.y=(0,i.uZ)(e.velocity.y,-1,1)),e.lastPathTime-=e.pathDelay}(e,t);let b=e.gravity,w=(null==b?void 0:b.enable)&&b.inverse?-1:1;(null==b?void 0:b.enable)&&y&&(e.velocity.y+=w*(b.acceleration*t.factor)/(60*y)),f&&y&&(e.velocity.x+=f*t.factor/(60*y));let S=e.moveDecay;1!=S&&e.velocity.multTo(S);let x=e.velocity.mult(y),_=null!==(o=e.retina.maxSpeed)&&void 0!==o?o:d.retina.maxSpeed;(null==b?void 0:b.enable)&&_>0&&(!b.inverse&&x.y>=0&&x.y>=_||b.inverse&&x.y<=0&&x.y<=-_)&&(x.y=w*_,y&&(e.velocity.y=x.y/y));let C=e.options.zIndex,E=(1-e.zIndexFactor)**C.velocityRate;1!=E&&x.multTo(E),e.position.addTo(x),c.vibrate&&(e.position.x+=Math.sin(e.position.x*Math.cos(e.position.y)),e.position.y+=Math.cos(e.position.y*Math.sin(e.position.x)))}!function(e){let t=e.initialPosition,{dx:n,dy:r}=(0,i.oW)(t,e.position),o=Math.abs(n),s=Math.abs(r),a=e.retina.maxDistance.horizontal,l=e.retina.maxDistance.vertical;if(a||l){if((a&&o>=a||l&&s>=l)&&!e.misplaced)e.misplaced=!!a&&o>
20a||!!l&&s>l,a&&(e.velocity.x=e.velocity.y/2-e.velocity.x),l&&(e.velocity.y=e.velocity.x/2-e.velocity.y);else if((!a||o<a)&&(!l||s<l)&&e.misplaced)e.misplaced=!1;else if(e.misplaced){let u=e.position,c=e.velocity;a&&(u.x<t.x&&c.x<0||u.x>t.x&&c.x>0)&&(c.x*=-(0,i.sZ)()),l&&(u.y<t.y&&c.y<0||u.y>t.y&&c.y>0)&&(c.y*=-(0,i.sZ)())}}}(e)}}async function en(e){e.addMover("base",()=>new et)}class ei{draw(e,t,n){e.arc(0,0,n,0,2*Math.PI,!1)}getSidesCount(){return 12}}async function er(e){await e.addShape("circle",new ei)}function eo(e,t,n,r,o){var s,a;let l=t;if(!l||!n.enable)return;let u=(0,i.vd)(n.offset),c=(null!==(s=t.velocity)&&void 0!==s?s:0)*e.factor+3.6*u,d=null!==(a=t.decay)&&void 0!==a?a:1;o&&0!==l.status?(l.value-=c,l.value<0&&(l.status=0,l.value+=l.value)):(l.value+=c,o&&l.value>r&&(l.status=1,l.value-=l.value%r)),l.velocity&&1!==d&&(l.velocity*=d),l.value>r&&(l.value%=r)}class es{constructor(e){this.container=e}init(e){let t=(0,i.lN)(e.options.color,e.id,e.options.reduceDuplicates);t&&(e.color=(0,i.bS)(t,e.options.color.animation,this.container.retina.reduceFactor))}isEnabled(e){var t,n,i;let r=e.options.color.animation;return!e.destroyed&&!e.spawning&&((null===(t=e.color)||void 0===t?void 0:t.h.value)!==void 0&&r.h.enable||(null===(n=e.color)||void 0===n?void 0:n.s.value)!==void 0&&r.s.enable||(null===(i=e.color)||void 0===i?void 0:i.l.value)!==void 0&&r.l.enable)}update(e,t){!function(e,t){var n,i,r;let o=e.options.color.animation;(null===(n=e.color)||void 0===n?void 0:n.h)!==void 0&&eo(t,e.color.h,o.h,360,!1),(null===(i=e.color)||void 0===i?void 0:i.s)!==void 0&&eo(t,e.color.s,o.s,100,!0),(null===(r=e.color)||void 0===r?void 0:r.l)!==void 0&&eo(t,e.color.l,o.l,100,!0)}(e,t)}}async function ea(e){await e.addParticleUpdater("color",e=>new es(e))}class el{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(void 0!==e.distance&&(this.distance=e.distance),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.easing&&(this.easing=e.easing),void 0!==e.factor&&(this.factor=e.factor),void 0!==e.maxSpeed&&(this.maxSpeed=e.maxSpeed),void 0!==e.speed&&(this.speed=e.speed))}}class eu extends i.L8{constructor(e){super(e),e.attract||(e.attract={particles:[]}),this.handleClickMode=t=>{let n=this.container.actualOptions,i=n.interactivity.modes.attract;if(i&&"attract"===t){for(let r of(e.attract||(e.attract={particles:[]}),e.attract.clicking=!0,e.attract.count=0,e.attract.particles))this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);e.attract.particles=[],e.attract.finish=!1,setTimeout(()=>{e.destroyed||(e.attract||(e.attract={particles:[]}),e.attract.clicking=!1)},1e3*i.duration)}}}clear(){}init(){let e=this.container,t=e.actualOptions.interactivity.modes.attract;t&&(e.retina.attractModeDistance=t.distance*e.retina.pixelRatio)}async interact(){let e=this.container,t=e.actualOptions,n=e.interactivity.status===i.Wt,r=t.interactivity.events,o=r.onHover.enable,s=r.onHover.mode,a=r.onClick.enable,l=r.onClick.mode;n&&o&&(0,i.dB)("attract",s)?this.hoverAttract():a&&(0,i.dB)("attract",l)&&this.clickAttract()}isEnabled(e){var t;let n=this.container,r=n.actualOptions,o=n.interactivity.mouse,s=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:r.interactivity).events;if((!o.position||!s.onHover.enable)&&(!o.clickPosition||!s.onClick.enable))return!1;let a=s.onHover.mode,l=s.onClick.mode;return(0,i.dB)("attract",a)||(0,i.dB)("attract",l)}loadModeOptions(e,...t){for(let n of(e.attract||(e.attract=new el),t))e.attract.load(null==n?void 0:n.attract)}reset(){}clickAttract(){let e=this.container;if(e.attract||(e.attract={particles:[]}),e.attract.finish||(e.attract.count||(e.attract.count=0),e.attract.count++,e.attract.count!==e.particles.count||(e.attract.finish=!0)),e.attract.clicking){let t=e.interactivity.mouse.clickPosition,n=e.retina.attractModeDistance;if(!n||n<0||!t)return;this.processAttract(t,n,new i.Cd(t.x,t.y,n))}else!1===e.attract.clicking&&(e.attract.particles=[])}hoverAttract(){let e=this.container,t=e.interactivity.mouse.position,n=e.retina.attractModeDistance;n&&!(n<0)&&t&&this.processAttract(t,n,new i.Cd(t.x,t.y,n))}processAttract(e,t,n){let r=this.container,o=r.actualOptions.interactivity.modes.attract;if(!o)return;let s=r.particles.quadTree.query(n,e=>this.isEnabled(e));for(let a of s){let{dx:l,dy:u,distance:c}=(0,i.oW)(a.position,e),d=o.speed*o.factor,h=(0,i.uZ)((0,i.cj)(1-c/t,o.easing)*d,0,o.maxSpeed),p=i.OW.create(0===c?d:l/c*h,0===c?d:u/c*h);a.position.subFrom(p)}}}async function ec(e){await e.addInteractor("externalAttract",e=>new eu(e))}class ed{constructor(){this.distance=200}load(e){e&&void 0!==e.distance&&(this.distance=e.distance)}}
20class eh extends i.L8{constructor(e){super(e)}clear(){}init(){let e=this.container,t=e.actualOptions.interactivity.modes.bounce;t&&(e.retina.bounceModeDistance=t.distance*e.retina.pixelRatio)}async interact(){let e=this.container,t=e.actualOptions,n=t.interactivity.events,r=e.interactivity.status===i.Wt,o=n.onHover.enable,s=n.onHover.mode,a=n.onDiv;r&&o&&(0,i.dB)("bounce",s)?this.processMouseBounce():(0,i.XD)("bounce",a,(e,t)=>this.singleSelectorBounce(e,t))}isEnabled(e){var t;let n=this.container,r=n.actualOptions,o=n.interactivity.mouse,s=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:r.interactivity).events,a=s.onDiv;return o.position&&s.onHover.enable&&(0,i.dB)("bounce",s.onHover.mode)||(0,i.wm)("bounce",a)}loadModeOptions(e,...t){for(let n of(e.bounce||(e.bounce=new ed),t))e.bounce.load(null==n?void 0:n.bounce)}reset(){}processBounce(e,t,n){let r=this.container.particles.quadTree.query(n,e=>this.isEnabled(e));for(let o of r)n instanceof i.Cd?(0,i.kR)((0,i.gy)(o),{position:e,radius:t,mass:t**2*Math.PI/2,velocity:i.OW.origin,factor:i.OW.origin}):n instanceof i.Ae&&(0,i.dp)(o,(0,i.M_)(e,t))}processMouseBounce(){let e=this.container,t=e.retina.pixelRatio,n=e.interactivity.mouse.position,r=e.retina.bounceModeDistance;r&&!(r<0)&&n&&this.processBounce(n,r,new i.Cd(n.x,n.y,r+10*t))}singleSelectorBounce(e,t){let n=this.container,r=document.querySelectorAll(e);r.length&&r.forEach(e=>{let r=n.retina.pixelRatio,o={x:(e.offsetLeft+e.offsetWidth/2)*r,y:(e.offsetTop+e.offsetHeight/2)*r},s=e.offsetWidth/2*r,a=10*r,l="circle"===t.type?new i.Cd(o.x,o.y,s+a):new i.Ae(e.offsetLeft*r-a,e.offsetTop*r-a,e.offsetWidth*r+2*a,e.offsetHeight*r+2*a);this.processBounce(o,s,l)})}}async function ep(e){await e.addInteractor("externalBounce",e=>new eh(e))}class ef{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(void 0!==e.distance&&(this.distance=e.distance),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.mix&&(this.mix=e.mix),void 0!==e.opacity&&(this.opacity=e.opacity),void 0!==e.color){let t=this.color instanceof Array?void 0:this.color;this.color=(0,i.KH)(e.color,e=>i.Oz.create(t,e))}void 0!==e.size&&(this.size=e.size)}}}class em extends ef{constructor(){super(),this.selectors=[]}get ids(){return(0,i.KH)(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=(0,i.KH)(e,e=>`#${e}`)}load(e){super.load(e),e&&(void 0!==e.ids&&(this.ids=e.ids),void 0!==e.selectors&&(this.selectors=e.selectors))}}class eg extends ef{load(e){super.load(e),e&&(this.divs=(0,i.KH)(e.divs,e=>{let t=new em;return t.load(e),t}))}}function ev(e,t,n,r){return t>=n?(0,i.uZ)(e+(t-n)*r,e,t):t<n?(0,i.uZ)(e-(n-t)*r,t,e):void 0}class ey extends i.L8{constructor(e){super(e),e.bubble||(e.bubble={}),this.handleClickMode=t=>{"bubble"===t&&(e.bubble||(e.bubble={}),e.bubble.clicking=!0)}}clear(e,t,n){(!e.bubble.inRange||n)&&(delete e.bubble.div,delete e.bubble.opacity,delete e.bubble.radius,delete e.bubble.color)}init(){let e=this.container,t=e.actualOptions.interactivity.modes.bubble;t&&(e.retina.bubbleModeDistance=t.distance*e.retina.pixelRatio,void 0!==t.size&&(e.retina.bubbleModeSize=t.size*e.retina.pixelRatio))}async interact(e){let t=this.container.actualOptions,n=t.interactivity.events,r=n.onHover,o=n.onClick,s=r.enable,a=r.mode,l=o.enable,u=o.mode,c=n.onDiv;s&&(0,i.dB)("bubble",a)?this.hoverBubble(e):l&&(0,i.dB)("bubble",u)?this.clickBubble(e):(0,i.XD)("bubble",c,(t,n)=>this.singleSelectorHover(e,t,n))}isEnabled(e){var t;let n=this.container,r=n.actualOptions,o=n.interactivity.mouse,s=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:r.interactivity).events,a=s.onDiv,l=(0,i.wm)("bubble",a);if(!(l||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;let u=s.onHover.mode,c=s.onClick.mode;return(0,i.dB)("bubble",u)||(0,i.dB)("bubble",c)||l}loadModeOptions(e,...t){for(let n of(e.bubble||(e.bubble=new eg),t))e.bubble.load(null==n?void 0:n.bubble)}reset(e){e.bubble.inRange=!1}clickBubble(e){var t,n;let r=this.container,o=r.actualOptions,s=r.interactivity.mouse.clickPosition,a=o.interactivity.modes.bubble;if(!a||!s)return;r.bubble||(r.bubble={});let l=r.retina.bubbleModeDistance;if(!l||l<0)return;let u=r.particles.quadTree.queryCircle(s,l,e=>this.isEnabled(e));for(let c of u){if(!r.bubble.clicking)continue;c.bubble.inRange=!r.bubble.durationEnd;let d=c.getPosition(),h=(0,i.Sp)(d,s),p=(new Date().getTime()-(r.interactivity.mouse.clickTime||0))/1e3;p>a.duration&&(r.bubble.durationEnd=!0),p>2*a.duration&&(r.bubble.clicking=!1,r.bubble.durationEnd=!1);let f={bubbleObj:{optValue:r.retina.bubbleModeSize,value:c.bubble.radius},particlesObj:{optValue:(0,i.KI)(c.options.size.value)*r.retina.pixelRatio,value:c.size.value},type:"size"};this.process(c,h,p,f);let m={bubbleObj:{optValue:a.opacity,value:c.bubble.opacity},particlesObj:{optValue:(0,i.KI)(c.options.opacity.value),value:null!==(n=null===(t=c.opacity)||void 0===t?void 0:t.value)&&void 0!==n?n:1},type:"opacity"};this.process(c,h,p,m),r.bubble.durationEnd?delete c.bubble.color:h<=l?this.hoverBubbleColor(c,h):delete c.bubble.color}}hoverBubble(e){let t=this.container,n=t.interactivity.mouse.position,r=t.retina.bubbleModeDistance;if(!r||r<0||void 0===n)return;let o=t.particles.quadTree.queryCircle(n,r,e=>this.isEnabled(e));for(let s of o){s.bubble.inRange=!0;let a=s.getPosition(),l=(0,i.Sp)(a,n),u=1-l/r;l<=r?u>=0&&t.interactivity.status===i.Wt&&(this.hoverBubbleSize(s,u),this.hoverBubbleOpacity(s,u),this.hoverBubbleColor(s,u)):this.reset(s),t.interactivity.status===i.aM&&this.reset(s)}}hoverBubbleColor(e,t,n){let r=this.container.actualOptions,o=null!=n?n:r.interactivity.modes.bubble;if(o){if(!e.bubble.finalColor){let s=o.color;if(!s)return;let a=(0,i.wA)(s);e.bubble.finalColor=(0,i.lN)(a)}if(e.bubble.finalColor){if(o.mix){e.bubble.color=void 0;let l=e.getFillColor();e.bubble.color=l?(0,i.lC)((0,i.oc)(l,e.bubble.finalColor,1-t,t)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}}}
20hoverBubbleOpacity(e,t,n){var r,o,s,a;let l=this.container,u=l.actualOptions,c=null!==(r=null==n?void 0:n.opacity)&&void 0!==r?r:null===(o=u.interactivity.modes.bubble)||void 0===o?void 0:o.opacity;if(!c)return;let d=e.options.opacity.value,h=null!==(a=null===(s=e.opacity)||void 0===s?void 0:s.value)&&void 0!==a?a:1,p=ev(h,c,(0,i.KI)(d),t);void 0!==p&&(e.bubble.opacity=p)}hoverBubbleSize(e,t,n){let r=this.container,o=(null==n?void 0:n.size)?n.size*r.retina.pixelRatio:r.retina.bubbleModeSize;if(void 0===o)return;let s=(0,i.KI)(e.options.size.value)*r.retina.pixelRatio,a=e.size.value,l=ev(a,o,s,t);void 0!==l&&(e.bubble.radius=l)}process(e,t,n,i){let r=this.container,o=i.bubbleObj.optValue,s=r.actualOptions,a=s.interactivity.modes.bubble;if(!a||void 0===o)return;let l=a.duration,u=r.retina.bubbleModeDistance,c=i.particlesObj.optValue,d=i.bubbleObj.value,h=i.particlesObj.value||0,p=i.type;if(u&&!(u<0)&&o!==c){if(r.bubble||(r.bubble={}),r.bubble.durationEnd)d&&("size"===p&&delete e.bubble.radius,"opacity"===p&&delete e.bubble.opacity);else if(t<=u){if((null!=d?d:h)!==o){let f=h-n*(h-o)/l;"size"===p&&(e.bubble.radius=f),"opacity"===p&&(e.bubble.opacity=f)}}else"size"===p&&delete e.bubble.radius,"opacity"===p&&delete e.bubble.opacity}}singleSelectorHover(e,t,n){let r=this.container,o=document.querySelectorAll(t),s=r.actualOptions.interactivity.modes.bubble;s&&o.length&&o.forEach(t=>{let o=r.retina.pixelRatio,a={x:(t.offsetLeft+t.offsetWidth/2)*o,y:(t.offsetTop+t.offsetHeight/2)*o},l=t.offsetWidth/2*o,u="circle"===n.type?new i.Cd(a.x,a.y,l):new i.Ae(t.offsetLeft*o,t.offsetTop*o,t.offsetWidth*o,t.offsetHeight*o),c=r.particles.quadTree.query(u,e=>this.isEnabled(e));for(let d of c){if(!u.contains(d.getPosition()))continue;d.bubble.inRange=!0;let h=s.divs,p=(0,i.iC)(h,t);d.bubble.div&&d.bubble.div===t||(this.clear(d,e,!0),d.bubble.div=t),this.hoverBubbleSize(d,1,p),this.hoverBubbleOpacity(d,1,p),this.hoverBubbleColor(d,1,p)}})}}async function eb(e){await e.addInteractor("externalBubble",e=>new ey(e))}class ew{constructor(){this.opacity=.5}load(e){e&&void 0!==e.opacity&&(this.opacity=e.opacity)}}class eS{constructor(){this.distance=80,this.links=new ew,this.radius=60}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){var t,n;e&&(void 0!==e.distance&&(this.distance=e.distance),this.links.load(null!==(n=null!==(t=e.links)&&void 0!==t?t:e.lineLinked)&&void 0!==n?n:e.line_linked),void 0!==e.radius&&(this.radius=e.radius))}}function ex(e,t,n){e.canvas.draw(r=>{var o,s,a,l,u,c;let d=function(e,t,n,r){let o=e.actualOptions,s=o.interactivity.modes.connect;if(s)return function(e,t,n,r){let o=Math.floor(n.getRadius()/t.getRadius()),s=t.getFillColor(),a=n.getFillColor();if(!s||!a)return;let l=t.getPosition(),u=n.getPosition(),c=(0,i.oc)(s,a,t.getRadius(),n.getRadius()),d=e.createLinearGradient(l.x,l.y,u.x,u.y);return d.addColorStop(0,(0,i.vz)(s,r)),d.addColorStop(o>1?1:o,(0,i.iz)(c,r)),d.addColorStop(1,(0,i.vz)(a,r)),d}(t,n,r,s.links.opacity)}(e,r,t,n);if(!d)return;let h=t.getPosition(),p=n.getPosition();s=r,a=null!==(o=t.retina.linksWidth)&&void 0!==o?o:0,s.save(),(0,i.pS)(s,h,p),s.lineWidth=a,s.strokeStyle=d,s.stroke(),s.restore()})}class e_ extends i.L8{constructor(e){super(e)}clear(){}init(){let e=this.container,t=e.actualOptions.interactivity.modes.connect;t&&(e.retina.connectModeDistance=t.distance*e.retina.pixelRatio,e.retina.c
20onnectModeRadius=t.radius*e.retina.pixelRatio)}async interact(){let e=this.container,t=e.actualOptions;if(t.interactivity.events.onHover.enable&&"pointermove"===e.interactivity.status){let n=e.interactivity.mouse.position;if(!e.retina.connectModeDistance||e.retina.connectModeDistance<0||!e.retina.connectModeRadius||e.retina.connectModeRadius<0||!n)return;let i=Math.abs(e.retina.connectModeRadius),r=e.particles.quadTree.queryCircle(n,i,e=>this.isEnabled(e)),o=0;for(let s of r){let a=s.getPosition();for(let l of r.slice(o+1)){let u=l.getPosition(),c=Math.abs(e.retina.connectModeDistance),d=Math.abs(a.x-u.x),h=Math.abs(a.y-u.y);d<c&&h<c&&ex(e,s,l)}++o}}}isEnabled(e){var t;let n=this.container,r=n.interactivity.mouse,o=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:n.actualOptions.interactivity).events;return!!o.onHover.enable&&!!r.position&&(0,i.dB)("connect",o.onHover.mode)}loadModeOptions(e,...t){for(let n of(e.connect||(e.connect=new eS),t))e.connect.load(null==n?void 0:n.connect)}reset(){}}async function eC(e){await e.addInteractor("externalConnect",e=>new e_(e))}class eE{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(e){e&&(void 0!==e.blink&&(this.blink=e.blink),void 0!==e.color&&(this.color=i.Oz.create(this.color,e.color)),void 0!==e.consent&&(this.consent=e.consent),void 0!==e.opacity&&(this.opacity=e.opacity))}}class ek{constructor(){this.distance=100,this.links=new eE}get lineLinked(){return this.links}set lineLinked(e){this.links=e}get line_linked(){return this.links}set line_linked(e){this.links=e}load(e){var t,n;e&&(void 0!==e.distance&&(this.distance=e.distance),this.links.load(null!==(n=null!==(t=e.links)&&void 0!==t?t:e.lineLinked)&&void 0!==n?n:e.line_linked))}}function eP(e,t,n,r,o){e.canvas.draw(e=>{var s,a,l,u,c,d,h;let p=t.getPosition();a=e,l=null!==(s=t.retina.linksWidth)&&void 0!==s?s:0,a.save(),(0,i.pS)(a,p,o),a.strokeStyle=(0,i.iz)(n,r),a.lineWidth=l,a.stroke(),a.restore()})}class eT extends i.L8{constructor(e){super(e)}clear(){}init(){let e=this.container,t=e.actualOptions.interactivity.modes.grab;t&&(e.retina.grabModeDistance=t.distance*e.retina.pixelRatio)}async interact(){var e,t;let n=this.container,r=n.actualOptions,o=r.interactivity;if(!o.modes.grab||!o.events.onHover.enable||n.interactivity.status!==i.Wt)return;let s=n.interactivity.mouse.position;if(!s)return;let a=n.retina.grabModeDistance;if(!a||a<0)return;let l=n.particles.quadTree.queryCircle(s,a,e=>this.isEnabled(e));for(let u of l){let c=u.getPosition(),d=(0,i.Sp)(c,s);if(d>a)continue;let h=o.modes.grab.links,p=h.opacity,f=p-d*p/a;if(f<=0)continue;let m=null!==(e=h.color)&&void 0!==e?e:null===(t=u.options.links)||void 0===t?void 0:t.color;if(!n.particles.grabLineColor&&m){let g=o.modes.grab.links;n.particles.grabLineColor=(0,i.Dt)(m,g.blink,g.consent)}let v=(0,i.BE)(u,void 0,n.particles.grabLineColor);if(!v)return;eP(n,u,v,f,s)}}isEnabled(e){var t;let n=this.container,r=n.interactivity.mouse,o=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:n.actualOptions.interactivity).events;return o.onHover.enable&&!!r.position&&(0,i.dB)("grab",o.onHover.mode)}loadModeOptions(e,...t){for(let n of(e.grab||(e.grab=new ek),t))e.grab.load(null==n?void 0:n.grab)}reset(){}}async function eA(e){await e.addInteractor("externalGrab",e=>new eT(e))}class eO extends i.L8{constructor(e){super(e),this.handleClickMode=e=>{if("pause"!==e)return;let t=this.container;t.getAnimationStatus()?t.pause():t.play()}}clear(){}init(){}async interact(){}isEnabled(){return!0}reset(){}}class eL{constructor(){this.default=!0,this.groups=[],this.quantity=4}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=e}load(e){var t;if(!e)return;void 0!==e.default&&(this.default=e.default),void 0!==e.groups&&(this.groups=e.groups.map(e=>e)),this.groups.length||(this.default=!0);let n=null!==(t=e.quantity)&&void 0!==t?t:e.particles_nb;void 0!==n&&(this.quantity=n)}}class eR extends i.L8{constructor(e){super(e),this.handleClickMode=e=>{if("push"!==e)return;let t=this.container,n=t.actualOptions,r=n.interactivity.modes.push;if(!r)return;let o=r.quantity;if(o<=0)return;let s=(0,i.c8)([void 0,...r.groups]),a=void 0!==s?t.actualOptions.particles.groups[s]:void 0;t.particles.push(o,t.interactivity.mouse,a,s)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){for(let n of(e.push||(e.push=new eL),t))e.push.load(null==n?void 0:n.push)}reset(){}}async function eM(e){await e.addInteractor("externalPush",e=>new eR(e))}class eI{constructor(){this.quantity=2}get particles_nb(){return this.quantity}set particles_nb(e){this.quantity=e}load(e){var t;if(!e)return;let n=null!==(t=e.quantity)&&void 0!==t?t:e.particles_nb;void 0!==n&&(this.quantity=n)}}
20class eV extends i.L8{constructor(e){super(e),this.handleClickMode=e=>{let t=this.container,n=t.actualOptions;if(!n.interactivity.modes.remove||"remove"!==e)return;let i=n.interactivity.modes.remove.quantity;t.particles.removeQuantity(i)}}clear(){}init(){}async interact(){}isEnabled(){return!0}loadModeOptions(e,...t){for(let n of(e.remove||(e.remove=new eI),t))e.remove.load(null==n?void 0:n.remove)}reset(){}}class eD{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(void 0!==e.distance&&(this.distance=e.distance),void 0!==e.duration&&(this.duration=e.duration),void 0!==e.easing&&(this.easing=e.easing),void 0!==e.factor&&(this.factor=e.factor),void 0!==e.speed&&(this.speed=e.speed),void 0!==e.maxSpeed&&(this.maxSpeed=e.maxSpeed))}}class ez extends eD{constructor(){super(),this.selectors=[]}get ids(){return(0,i.KH)(this.selectors,e=>e.replace("#",""))}set ids(e){this.selectors=(0,i.KH)(e,e=>`#${e}`)}load(e){super.load(e),e&&(void 0!==e.ids&&(this.ids=e.ids),void 0!==e.selectors&&(this.selectors=e.selectors))}}class eF extends eD{load(e){super.load(e),e&&(this.divs=(0,i.KH)(e.divs,e=>{let t=new ez;return t.load(e),t}))}}class eN extends i.L8{constructor(e){super(e),e.repulse||(e.repulse={particles:[]}),this.handleClickMode=t=>{let n=this.container.actualOptions,i=n.interactivity.modes.repulse;if(i&&"repulse"===t){for(let r of(e.repulse||(e.repulse={particles:[]}),e.repulse.clicking=!0,e.repulse.count=0,e.repulse.particles))this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);e.repulse.particles=[],e.repulse.finish=!1,setTimeout(()=>{e.destroyed||(e.repulse||(e.repulse={particles:[]}),e.repulse.clicking=!1)},1e3*i.duration)}}}clear(){}init(){let e=this.container,t=e.actualOptions.interactivity.modes.repulse;t&&(e.retina.repulseModeDistance=t.distance*e.retina.pixelRatio)}async interact(){let e=this.container,t=e.actualOptions,n=e.interactivity.status===i.Wt,r=t.interactivity.events,o=r.onHover.enable,s=r.onHover.mode,a=r.onClick.enable,l=r.onClick.mode,u=r.onDiv;n&&o&&(0,i.dB)("repulse",s)?this.hoverRepulse():a&&(0,i.dB)("repulse",l)?this.clickRepulse():(0,i.XD)("repulse",u,(e,t)=>this.singleSelectorRepulse(e,t))}isEnabled(e){var t;let n=this.container,r=n.actualOptions,o=n.interactivity.mouse,s=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:r.interactivity).events,a=s.onDiv,l=(0,i.wm)("repulse",a);if(!(l||s.onHover.enable&&o.position||s.onClick.enable&&o.clickPosition))return!1;let u=s.onHover.mode,c=s.onClick.mode;return(0,i.dB)("repulse",u)||(0,i.dB)("repulse",c)||l}loadModeOptions(e,...t){for(let n of(e.repulse||(e.repulse=new eF),t))e.repulse.load(null==n?void 0:n.repulse)}reset(){}clickRepulse(){let e=this.container,t=e.actualOptions.interactivity.modes.repulse;if(t){if(e.repulse||(e.repulse={particles:[]}),e.repulse.finish||(e.repulse.count||(e.repulse.count=0),e.repulse.count++,e.repulse.count!==e.particles.count||(e.repulse.finish=!0)),e.repulse.clicking){let n=e.retina.repulseModeDistance;if(!n||n<0)return;let r=Math.pow(n/6,3),o=e.interactivity.mouse.clickPosition;if(void 0===o)return;let s=new i.Cd(o.x,o.y,r),a=e.particles.quadTree.query(s,e=>this.isEnabled(e));for(let l of a){let{dx:u,dy:c,distance:d}=(0,i.oW)(o,l.position),h=d**2,p=t.speed,f=-r*p/h;if(h<=r){e.repulse.particles.push(l);let m=i.OW.create(u,c);m.length=f,l.velocity.setTo(m)}}}else if(!1===e.repulse.clicking){for(let g of e.repulse.particles)g.velocity.setTo(g.initialVelocity);e.repulse.particles=[]}}}hoverRepulse(){let e=this.container,t=e.interactivity.mouse.position,n=e.retina.repulseModeDistance;n&&!(n<0)&&t&&this.processRepulse(t,n,new i.Cd(t.x,t.y,n))}processRepulse(e,t,n,r){var o;let s=this.container,a=s.particles.quadTree.query(n,e=>this.isEnabled(e)),l=s.actualOptions.interactivity.modes.repulse;if(l)for(let u of a){let{dx:c,dy:d,distance:h}=(0,i.oW)(u.position,e),p=(null!==(o=null==r?void 0:r.speed)&&void 0!==o?o:l.speed)*l.factor,f=(0,i.uZ)((0,i.cj)(1-h/t,l.easing)*p,0,l.maxSpeed),m=i.OW.create(0===h?p:c/h*f,0===h?p:d/h*f);u.position.addTo(m)}}singleSelectorRepulse(e,t){let n=this.container,r=n.actualOptions.interactivity.modes.repulse;if(!r)return;let o=document.querySelectorAll(e);
20o.length&&o.forEach(e=>{let o=n.retina.pixelRatio,s={x:(e.offsetLeft+e.offsetWidth/2)*o,y:(e.offsetTop+e.offsetHeight/2)*o},a=e.offsetWidth/2*o,l="circle"===t.type?new i.Cd(s.x,s.y,a):new i.Ae(e.offsetLeft*o,e.offsetTop*o,e.offsetWidth*o,e.offsetHeight*o),u=r.divs,c=(0,i.iC)(u,e);this.processRepulse(s,a,l,c)})}}async function ej(e){await e.addInteractor("externalRepulse",e=>new eN(e))}class eG{constructor(){this.factor=3,this.radius=200}load(e){e&&(void 0!==e.factor&&(this.factor=e.factor),void 0!==e.radius&&(this.radius=e.radius))}}class eB extends i.L8{constructor(e){super(e)}clear(e,t,n){(!e.slow.inRange||n)&&(e.slow.factor=1)}init(){let e=this.container,t=e.actualOptions.interactivity.modes.slow;t&&(e.retina.slowModeRadius=t.radius*e.retina.pixelRatio)}async interact(){}isEnabled(e){var t;let n=this.container,r=n.interactivity.mouse,o=(null!==(t=null==e?void 0:e.interactivity)&&void 0!==t?t:n.actualOptions.interactivity).events;return o.onHover.enable&&!!r.position&&(0,i.dB)("slow",o.onHover.mode)}loadModeOptions(e,...t){for(let n of(e.slow||(e.slow=new eG),t))e.slow.load(null==n?void 0:n.slow)}reset(e){e.slow.inRange=!1;let t=this.container,n=t.actualOptions,r=t.interactivity.mouse.position,o=t.retina.slowModeRadius,s=n.interactivity.modes.slow;if(!s||!o||o<0||!r)return;let a=e.getPosition(),l=(0,i.Sp)(r,a),u=s.factor;l<=o&&(e.slow.inRange=!0,e.slow.factor=l/o/u)}}async function eH(e){await e.addInteractor("externalSlow",e=>new eB(e))}let eU=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;async function e$(e){return new Promise(t=>{e.loading=!0;let n=new Image;e.element=n,n.addEventListener("load",()=>{e.loading=!1,t()}),n.addEventListener("error",()=>{e.element=void 0,e.error=!0,e.loading=!1,console.error(`Error tsParticles - loading image: ${e.source}`),t()}),n.src=e.source})}async function eq(e){if("svg"!==e.type){await e$(e);return}e.loading=!0;let t=await fetch(e.source);t.ok||(console.error("Error tsParticles - Image not found"),e.error=!0),e.error||(e.svgData=await t.text()),e.loading=!1}class eW{constructor(){this._images=[]}addImage(e,t){let n=this.getImages(e);null==n||n.images.push(t)}destroy(){this._images=[]}draw(e,t,n,i){var r;let o=t.image,s=null==o?void 0:o.element;if(!s)return;let a=null!==(r=null==o?void 0:o.ratio)&&void 0!==r?r:1,l={x:-n,y:-n};e.globalAlpha=i,e.drawImage(s,l.x,l.y,2*n,2*n/a),e.globalAlpha=1}getImages(e){let t=this._images.find(t=>t.id===e.id);return t||(this._images.push({id:e.id,images:[]}),this.getImages(e))}getSidesCount(){return 12}loadShape(e){if("image"!==e.shape&&"images"!==e.shape)return;let t=e.container,n=this.getImages(t).images,i=e.shapeData,r=n.find(e=>e.source===i.src);if(!r){this.loadImageShape(t,i).then(()=>{this.loadShape(e)});return}if(r.error)return}particleInit(e,t){var n;if("image"!==t.shape&&"images"!==t.shape)return;let r=this.getImages(e).images,o=t.shapeData,s=t.getFillColor(),a=null!==(n=o.replaceColor)&&void 0!==n?n:o.replace_color,l=r.find(e=>e.source===o.src);if(l){if(l.loading){setTimeout(()=>{this.particleInit(e,t)});return}(async()=>{var e,n;let r;(r=l.svgData&&a&&s?await function(e,t,n,r){var o,s,a;let l=function(e,t,n){let{svgData:r}=e;if(!r)return"";let o=(0,i.vz)(t,n);if(r.includes("fill"))return r.replace(eU,()=>o);let s=r.indexOf(">");return`${r.substring(0,s)} fill="${o}"${r.substring(s)}`}(e,n,null!==(s=null===(o=r.opacity)||void 0===o?void 0:o.value)&&void 0!==s?s:1),u={color:n,data:Object.assign(Object.assign({},e),{svgData:l}),loaded:!1,ratio:t.width/t.height,replaceColor:null!==(a=t.replaceColor)&&void 0!==a?a:t.replace_color,source:t.src};return new Promise(t=>{let n=new Blob([l],{type:"image/svg+xml"}),i=URL||window.URL||window.webkitURL||window,r=i.createObjectURL(n),o=new Image;o.addEventListener("load",()=>{u.loaded=!0,u.element=o,t(u),i.revokeObjectURL(r)}),o.addEventListener("error",async()=>{i.revokeObjectURL(r);let n=Object.assign(Object.assign({},e),{error:!1,loading:!0});await e$(n),u.loaded=!0,u.element=n.element,t(u)}),o.src=r})}(l,o,s,t):{color:s,data:l,element:l.element,loaded:!0,ratio:o.width/o.height,replaceColor:a,source:o.src}).ratio||(r.ratio=1);let u=null!==(e=o.fill)&&void 0!==e?e:t.fill,c=null!==(n=o.close)&&void 0!==n?n:t.close,d={image:r,fill:u,close:c};t.image=d.image,t.fill=d.fill,t.close=d.close})()}}async loadImageShape(e,t){var n;let i=t.src;if(!i)throw Error("Error tsParticles - No image.src");try{let r={source:i,type:i.substring(i.length-3),error:!1,loading:!0};this.addImage(e,r);let o=(null!==(n=t.replaceColor)&&void 0!==n?n:t.replace_color)?eq:e$;await o(r)}catch(s){throw Error(`tsParticles error - ${t.src} not found`)}}}async function eQ(e){let t=new eW;await e.addShape("image",t),await e.addShape("images",t)}class eY extends i.SW{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),void 0!==e.sync&&(this.sync=e.sync))}}class eZ extends i.SW{constructor(){super(),this.random.minimumValue=1e-4,this.sync=!1}load(e){e&&(super.load(e),void 0!==e.sync&&(this.sync=e.sync))}}class eK{constructor(){this.count=0,this.delay=new eY,this.duration=new eZ}load(e){e&&(void 0!==e.count&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}class eX{constructor(e){this.container=e}init(e){let t=this.container,n=e.options,r=n.life;r&&(e.life={delay:t.retina.reduceFactor?(0,i.Gu)(r.delay.value)*(r.delay.sync?1:(0,i.sZ)())/t.retina.reduceFactor*1e3:0,delayTime:0,duration:t.retina.reduceFactor?(0,i.Gu)(r.duration.value)*(r.duration.sync?1:(0,i.sZ)())/t.retina.reduceFactor*1e3:0,time:0,count:r.count},e.life.duration<=0&&(e.life.duration=-1),e.life.count<=0&&(e.life.count=-1),e.life&&(e.spawning=e.life.delay>0))}isEnabled(e){return!e.destroyed}loadOptions(e,...t){for(let n of(e.life||(e.life=new eK),t))e.life.load(null==n?void 0:n.life)}update(e,t){if(!this.isEnabled(e)||!e.life)return;let n=e.life,r=!1;if(e.spawning){if(n.delayTime+=t.value,!(n.delayTime>=e.life.delay))return;r=!0,e.spawning=!1,n.delayTime=0,n.time=0}if(-1===n.duration||e.spawning||(r?n.time=0:n.time+=t.value,n.time<n.duration))return;if(n.time=0,e.life.count>0&&e.life.count--,0===e.life.count){e.destroy();return}let o=this.container.canvas.size,s=(0,i.Cs)(0,o.width),a=(0,i.Cs)(0,o.width);e.position.x=(0,i.vd)(s),e.position.y=(0,i.vd)(a),e.spawning=!0,n.delayTime=0,n.time=0,e.reset();let l=e.options.life;l&&(n.delay=1e3*(0,i.Gu)(l.delay.value),n.duration=1e3*(0,i.Gu)(l.duration.value))}}async function eJ(e){await e.addParticleUpdater("life",e=>new eX(e))}class e0{draw(e,t,n){e.moveTo(-n/2,0),e.lineTo(n/2,0)}getSidesCount(){return 1}}async function e1(e){await e.addShape("line",new e0)}class e2{constructor(e){this.container=e}init(e){let t=e.options.opacity;e.opacity={enable:t.animation.enable,max:(0,i.KI)(t.value),min:(0,i.Uv)(t.value),value:(0,i.Gu)(t.value),loops:0,maxLoops:(0,i.Gu)(t.animation.count)};let n=t.animation;
20if(n.enable){e.opacity.decay=1-(0,i.Gu)(n.decay),e.opacity.status=0;let r=t.value;switch(e.opacity.min=(0,i.Uv)(r),e.opacity.max=(0,i.KI)(r),n.startValue){case"min":e.opacity.value=e.opacity.min,e.opacity.status=0;break;case"random":e.opacity.value=(0,i.vd)(e.opacity),e.opacity.status=(0,i.sZ)()>=.5?0:1;break;default:e.opacity.value=e.opacity.max,e.opacity.status=1}e.opacity.velocity=(0,i.Gu)(n.speed)/100*this.container.retina.reduceFactor,n.sync||(e.opacity.velocity*=(0,i.sZ)())}}isEnabled(e){var t,n,i,r;return!e.destroyed&&!e.spawning&&!!e.opacity&&e.opacity.enable&&((null!==(t=e.opacity.maxLoops)&&void 0!==t?t:0)<=0||(null!==(n=e.opacity.maxLoops)&&void 0!==n?n:0)>0&&(null!==(i=e.opacity.loops)&&void 0!==i?i:0)<(null!==(r=e.opacity.maxLoops)&&void 0!==r?r:0))}update(e,t){this.isEnabled(e)&&!function(e,t){var n,r,o,s,a,l;if(!e.opacity)return;let u=e.opacity.min,c=e.opacity.max,d=null!==(n=e.opacity.decay)&&void 0!==n?n:1;if(!e.destroyed&&e.opacity.enable&&(!((null!==(r=e.opacity.maxLoops)&&void 0!==r?r:0)>0)||!((null!==(o=e.opacity.loops)&&void 0!==o?o:0)>(null!==(s=e.opacity.maxLoops)&&void 0!==s?s:0)))){switch(e.opacity.status){case 0:e.opacity.value>=c?(e.opacity.status=1,e.opacity.loops||(e.opacity.loops=0),e.opacity.loops++):e.opacity.value+=(null!==(a=e.opacity.velocity)&&void 0!==a?a:0)*t.factor;break;case 1:e.opacity.value<=u?(e.opacity.status=0,e.opacity.loops||(e.opacity.loops=0),e.opacity.loops++):e.opacity.value-=(null!==(l=e.opacity.velocity)&&void 0!==l?l:0)*t.factor}e.opacity.velocity&&1!==e.opacity.decay&&(e.opacity.velocity*=d),function(e,t,n,i){switch(e.options.opacity.animation.destroy){case"max":t>=i&&e.destroy();break;case"min":t<=n&&e.destroy()}}(e,e.opacity.value,u,c),e.destroyed||(e.opacity.value=(0,i.uZ)(e.opacity.value,u,c))}}(e,t)}}async function e4(e){await e.addParticleUpdater("opacity",e=>new e2(e))}class e3{constructor(e){this.container=e,this.modes=["bounce","bounce-vertical","bounce-horizontal","bounceVertical","bounceHorizontal","split",]}update(e,t,n,r){if(!this.modes.includes(r))return;let o=this.container,s=!1;for(let[,a]of o.plugins)if(void 0!==a.particleBounce&&(s=a.particleBounce(e,n,t)),s)break;if(s)return;let l=e.getPosition(),u=e.offset,c=e.getRadius(),d=(0,i.M_)(l,c),h=o.canvas.size;!function(e){if("bounce"!==e.outMode&&"bounce-horizontal"!==e.outMode&&"bounceHorizontal"!==e.outMode&&"split"!==e.outMode)return;e.bounds.right<0?e.particle.position.x=e.size+e.offset.x:e.bounds.left>e.canvasSize.width&&(e.particle.position.x=e.canvasSize.width-e.size-e.offset.x);let t=e.particle.velocity.x,n=!1;if("right"===e.direction&&e.bounds.right>=e.canvasSize.width&&t>0||"left"===e.direction&&e.bounds.left<=0&&t<0){let r=(0,i.NA)(e.particle.options.bounce.horizontal);e.particle.velocity.x*=-r,n=!0}if(!n)return;let o=e.offset.x+e.size;e.bounds.right>=e.canvasSize.width?e.particle.position.x=e.canvasSize.width-o:e.bounds.left<=0&&(e.particle.position.x=o),"split"===e.outMode&&e.particle.destroy()}({particle:e,outMode:r,direction:t,bounds:d,canvasSize:h,offset:u,size:c}),function(e){if("bounce"!==e.outMode&&"bounce-vertical"!==e.outMode&&"bounceVertical"!==e.outMode&&"split"!==e.outMode)return;e.bounds.bottom<0?e.particle.position.y=e.size+e.offset.y:e.bounds.top>e.canvasSize.height&&(e.particle.position.y=e.canvasSize.height-e.size-e.offset.y);let t=e.particle.velocity.y,n=!1;if("bottom"===e.direction&&e.bounds.bottom>=e.canvasSize.height&&t>0||"top"===e.direction&&e.bounds.top<=0&&t<0){let r=(0,i.NA)(e.particle.options.bounce.vertical);e.particle.velocity.y*=-r,n=!0}if(!n)return;let o=e.offset.y+e.size;e.bounds.bottom>=e.canvasSize.height?e.particle.position.y=e.canvasSize.height-o:e.bounds.top<=0&&(e.particle.position.y=o),"split"===e.outMode&&e.particle.destroy()}({particle:e,outMode:r,direction:t,bounds:d,canvasSize:h,offset:u,size:c})}}class e5{constructor(e){this.container=e,this.modes=["destroy"]}update(e,t,n,r){if(!this.modes.includes(r))return;let o=this.container;switch(e.outType){case"normal":case"outside":if((0,i.Ac)(e.position,o.canvas.size,i.OW.origin,e.getRadius(),t))return;break;case"inside":{let{dx:s,dy:a}=(0,i.oW)(e.position,e.moveCenter),{x:l,y:u}=e.velocity;if(l<0&&s>e.moveCenter.radius||u<0&&a>e.moveCenter.radius||l>=0&&s<-e.moveCenter.radius||u>=0&&a<-e.moveCenter.radius)return}}o.particles.remove(e,void 0,!0)}}class e6{constructor(e){this.container=e,this.modes=["none"]}update(e,t,n,r){if(!this.modes.includes(r)||e.options.move.distance.horizontal&&("left"===t||"right"===t)||e.options.move.distance.vertical&&("top"===t||"bottom"===t))return;let o=e.options.move.gravity,s=this.container,a=s.canvas.size,l=e.getRadius();if(o.enable){let u=e.position;(!o.inverse&&u.y>a.height+l&&"bottom"===t||o.inverse&&u.y<-l&&"top"===t)&&s.particles.remove(e)}else{if(e.velocity.y>0&&e.position.y<=a.height+l||e.velocity.y<0&&e.position.y>=-l||e.velocity.x>0&&e.position.x<=a.width+l||e.velocity.x<0&&e.position.x>=-l)return;(0,i.Ac)(e.position,s.canvas.size,i.OW.origin,l,t)||s.particles.remove(e)}}}class e8{constructor(e){this.container=e,this.modes=["out"]}update(e,t,n,r){if(!this.modes.includes(r))return;let o=this.container;if("inside"===e.outType){let{x:s,y:a}=e.velocity,l=i.OW.origin;l.length=e.moveCenter.radius,l.angle=e.velocity.angle+Math.PI,l.addTo(i.OW.create(e.moveCenter));let{dx:u,dy:c}=(0,i.oW)(e.position,l);if(s<=0&&u>=0||a<=0&&c>=0||s>=0&&u<=0||a>=0&&c<=0)return;e.position.x=Math.floor((0,i.vd)({min:0,max:o.canvas.size.width})),e.position.y=Math.floor((0,i.vd)({min:0,max:o.canvas.size.height}));let{dx:d,dy:h}=(0,i.oW)(e.position,e.moveCenter);e.direction=Math.atan2(-h,-d),e.velocity.angle=e.direction}else{if((0,i.Ac)(e.position,o.canvas.size,i.OW.origin,e.getRadius(),t))return;switch(e.outType){case"outside":{e.position.x=Math.floor((0,i.vd)({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.x,e.position.y=Math.floor((0,i.vd)({min:-e.moveCenter.radius,max:e.moveCenter.radius}))+e.moveCenter.y;let{dx:p,dy:f}=(0,i.oW)(e.position,e.moveCenter);e.moveCenter.radius&&(e.direction=Math.atan2(f,p),e.velocity.angle=e.direction);break}case"normal":{let m=e.options.move.warp,g=o.canvas.size,v={bottom:g.height+e.getRadius()+e.offset.y,left
20:-e.getRadius()-e.offset.x,right:g.width+e.getRadius()+e.offset.x,top:-e.getRadius()-e.offset.y},y=e.getRadius(),b=(0,i.M_)(e.position,y);"right"===t&&b.left>g.width+e.offset.x?(e.position.x=v.left,e.initialPosition.x=e.position.x,m||(e.position.y=(0,i.sZ)()*g.height,e.initialPosition.y=e.position.y)):"left"===t&&b.right<-e.offset.x&&(e.position.x=v.right,e.initialPosition.x=e.position.x,m||(e.position.y=(0,i.sZ)()*g.height,e.initialPosition.y=e.position.y)),"bottom"===t&&b.top>g.height+e.offset.y?(m||(e.position.x=(0,i.sZ)()*g.width,e.initialPosition.x=e.position.x),e.position.y=v.top,e.initialPosition.y=e.position.y):"top"===t&&b.bottom<-e.offset.y&&(m||(e.position.x=(0,i.sZ)()*g.width,e.initialPosition.x=e.position.x),e.position.y=v.bottom,e.initialPosition.y=e.position.y)}}}}}class e9{constructor(e){this.container=e,this.updaters=[new e3(e),new e5(e),new e8(e),new e6(e),]}init(){}isEnabled(e){return!e.destroyed&&!e.spawning}update(e,t){var n,i,r,o;let s=e.options.move.outModes;this.updateOutMode(e,t,null!==(n=s.bottom)&&void 0!==n?n:s.default,"bottom"),this.updateOutMode(e,t,null!==(i=s.left)&&void 0!==i?i:s.default,"left"),this.updateOutMode(e,t,null!==(r=s.right)&&void 0!==r?r:s.default,"right"),this.updateOutMode(e,t,null!==(o=s.top)&&void 0!==o?o:s.default,"top")}updateOutMode(e,t,n,i){for(let r of this.updaters)r.update(e,i,t,n)}}async function e7(e){await e.addParticleUpdater("outModes",e=>new e9(e))}class te{init(){}isEnabled(e){return!(0,i.Kr)()&&!e.destroyed&&e.container.actualOptions.interactivity.events.onHover.parallax.enable}move(e){let t=e.container,n=t.actualOptions;if((0,i.Kr)()||!n.interactivity.events.onHover.parallax.enable)return;let r=n.interactivity.events.onHover.parallax.force,o=t.interactivity.mouse.position;if(!o)return;let s={x:t.canvas.size.width/2,y:t.canvas.size.height/2},a=n.interactivity.events.onHover.parallax.smooth,l=e.getRadius()/r,u={x:(o.x-s.x)*l,y:(o.y-s.y)*l};e.offset.x+=(u.x-e.offset.x)/a,e.offset.y+=(u.y-e.offset.y)/a}}async function tt(e){e.addMover("parallax",()=>new te)}class tn extends i.$S{constructor(e){super(e)}clear(){}init(){}async interact(e){var t;let n=this.container,r=null!==(t=e.retina.attractDistance)&&void 0!==t?t:n.retina.attractDistance,o=e.getPosition(),s=n.particles.quadTree.queryCircle(o,r);for(let a of s){if(e===a||!a.options.move.attract.enable||a.destroyed||a.spawning)continue;let l=a.getPosition(),{dx:u,dy:c}=(0,i.oW)(o,l),d=e.options.move.attract.rotate,h=u/(1e3*d.x),p=c/(1e3*d.y),f=a.size.value/e.size.value,m=1/f;e.velocity.x-=h*f,e.velocity.y-=p*f,a.velocity.x+=h*m,a.velocity.y+=p*m}}isEnabled(e){return e.options.move.attract.enable}reset(){}}async function ti(e){await e.addInteractor("particlesAttract",e=>new tn(e))}function tr(e,t){(0,i.kR)((0,i.gy)(e),(0,i.gy)(t))}function to(e,t,n,r){switch(e.options.collisions.mode){case"absorb":!function(e,t,n,r){if(void 0===e.getRadius()&&void 0!==t.getRadius())e.destroy();else if(void 0!==e.getRadius()&&void 0===t.getRadius())t.destroy();else if(void 0!==e.getRadius()&&void 0!==t.getRadius()){if(e.getRadius()>=t.getRadius()){let o=(0,i.uZ)(e.getRadius()/t.getRadius(),0,t.getRadius())*n;e.size.value+=o,t.size.value-=o,t.getRadius()<=r&&(t.size.value=0,t.destroy())}else{let s=(0,i.uZ)(t.getRadius()/e.getRadius(),0,e.getRadius())*n;e.size.value-=s,t.size.value+=s,e.getRadius()<=r&&(e.size.value=0,e.destroy())}}}(e,t,n,r);break;case"bounce":tr(e,t);break;case"destroy":var o,s;e.unbreakable||t.unbreakable||tr(e,t),void 0===e.getRadius()&&void 0!==t.getRadius()?e.destroy():void 0!==e.getRadius()&&void 0===t.getRadius()?t.destroy():void 0!==e.getRadius()&&void 0!==t.getRadius()&&(e.getRadius()>=t.getRadius()?t.destroy():e.destroy())}}class ts extends i.$S{constructor(e){super(e)}clear(){}init(){}async interact(e){let t=this.container,n=e.getPosition(),r=e.getRadius(),o=t.particles.quadTree.queryCircle(n,2*r);for(let s of o){if(e===s||!s.options.collisions.enable||e.options.collisions.mode!==s.options.collisions.mode||s.destroyed||s.spawning)continue;let a=s.getPosition(),l=s.getRadius();if(Math.abs(Math.round(n.z)-Math.round(a.z))>r+l)continue;let u=(0,i.Sp)(n,a),c=r+l;!(u>c)&&to(e,s,t.fpsLimit/1e3,t.retina.pixelRatio)}}isEnabled(e){return e.options.collisions.enable}reset(){}}async function ta(e){await e.addInteractor("particlesCollisions",e=>new ts(e))}class tl extends i.Cd{constructor(e,t,n,i){super(e,t,n),this.canvasSize=i,this.canvasSize=Object.assign({},i)}contains(e){if(super.contains(e))return!0;let t={x:e.x-this.canvasSize.width,y:e.y};if(super.contains(t))return!0;let n={x:e.x-this.canvasSize.width,y:e.y-this.canvasSize.height};if(super.contains(n))return!0;let i={x:e.x,y:e.y-this.canvasSize.height};return super.contains(i)}intersects(e){if(super.intersects(e))return!0;let t={x:e.position.x-this.canvasSize.width,y:e.position.y-this.canvasSize.height};if(void 0!==e.radius){let n=new i.Cd(t.x,t.y,2*e.radius);return super.intersects(n)}if(void 0!==e.size){let r=new i.Ae(t.x,t.y,2*e.size.width,2*e.size.height);return super.intersects(r)}return!1}}class tu{constructor(){this.blur=5,this.color=new i.Oz,this.color.value="#000",this.enable=!1}load(e){e&&(void 0!==e.blur&&(this.blur=e.blur),this.color=i.Oz.create(this.color,e.color),void 0!==e.enable&&(this.enable=e.enable))}}class tc{constructor(){this.enable=!1,this.frequency=1}load(e){e&&(void 0!==e.color&&(this.color=i.Oz.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=e.opacity))}}class td{constructor(){this.blink=!1,this.color=new i.Oz,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new tu,this.triangles=new tc,this.width=1,this.warp=!1}load(e){e&&(void 0!==e.id&&(this.id=e.id),void 0!==e.blink&&(this.blink=e.blink),this.color=i.Oz.create(this.color,e.color),void 0!==e.consent&&(this.consent=e.consent),void 0!==e.distance&&(this.distance=e.distance),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=e.opacity),this.shadow.load(e.shadow),this.triangles.load(e.triangles),void 0!==e.width&&(this.width=e.width),void 0!==e.warp&&(this.warp=e.warp))}}function th(e,t,n,r,o){let s=(0,i.Sp)(e,t);if(!o||s<=n)return s;let a={x:t.x-r.width,y:t.y};if((s=(0,i.Sp)(e,a))<=n)return s;let l={x:t.x-r.width,y:t.y-r.height};if((s=(0,i.Sp)(e,l))<=n)return s;let u={x:t.x,y:t.y-r.height};return(0,i.Sp)(e,u)}class tp extends i.$S{constructor(e){super(e),this.linkContainer=e}clear(){}init(){this.linkContainer.particles.linksColors=new Map}async interact(e){var t;if(!e.options.links)return;e.links=[];let n=e.getPosition(),r=this.container,o=r.canvas.size;if(n.x<0||n.y<0||n.x>o.width||n.y>o.height)return;let s=e.options.links,a=s.opacity,l=null!==(t=e.retina.linksDistance)&&void 0!==t?t:0,u=s.warp,c=u?new tl(n.x,n.y,l,o):new i.Cd(n.x,n.y,l),d=r.particles.quadTree.query(c);for(let h of d){let p=h.options.links;
20if(e===h||!(null==p?void 0:p.enable)||s.id!==p.id||h.spawning||h.destroyed||!h.links||-1!==e.links.map(e=>e.destination).indexOf(h)||-1!==h.links.map(e=>e.destination).indexOf(e))continue;let f=h.getPosition();if(f.x<0||f.y<0||f.x>o.width||f.y>o.height)continue;let m=th(n,f,l,o,u&&p.warp);if(m>l)return;let g=(1-m/l)*a;this.setColor(e),e.links.push({destination:h,opacity:g})}}isEnabled(e){var t;return!!(null===(t=e.options.links)||void 0===t?void 0:t.enable)}loadParticlesOptions(e,...t){var n,i;for(let r of(e.links||(e.links=new td),t))e.links.load(null!==(i=null!==(n=null==r?void 0:r.links)&&void 0!==n?n:null==r?void 0:r.lineLinked)&&void 0!==i?i:null==r?void 0:r.line_linked)}reset(){}setColor(e){if(!e.options.links)return;let t=this.linkContainer,n=e.options.links,r=void 0===n.id?t.particles.linksColor:t.particles.linksColors.get(n.id);if(r)return;let o=n.color;r=(0,i.Dt)(o,n.blink,n.consent),void 0===n.id?t.particles.linksColor=r:t.particles.linksColors.set(n.id,r)}}async function tf(e){await e.addInteractor("particlesLinks",e=>new tp(e))}class tm{constructor(e){this.container=e}drawParticle(e,t){var n;let i=this.container,r=t.options;if(!t.links||t.links.length<=0)return;e.save();let o=t.links.filter(e=>r.links&&i.particles.getLinkFrequency(t,e.destination)<=r.links.frequency);for(let s of o)this.drawTriangles(i,r,t,s,o),s.opacity>0&&(null!==(n=t.retina.linksWidth)&&void 0!==n?n:0)>0&&this.drawLinkLine(t,s);e.restore()}particleCreated(e){if(e.links=[],!e.options.links)return;let t=this.container.retina.pixelRatio;e.retina.linksDistance=e.options.links.distance*t,e.retina.linksWidth=e.options.links.width*t}particleDestroyed(e){e.links=[]}drawLinkLine(e,t){let n=this.container,r=n.actualOptions,o=t.destination,s=e.getPosition(),a=o.getPosition(),l=t.opacity;n.canvas.draw(t=>{var u,c,d;if(!e.options.links)return;let h,p=null===(u=e.options.twinkle)||void 0===u?void 0:u.lines;if(null==p?void 0:p.enable){let f=p.frequency,m=(0,i.tX)(p.color),g=(0,i.sZ)()<f;g&&m&&(h=m,l=(0,i.Gu)(p.opacity))}if(!h){let v=e.options.links,y=(null==v?void 0:v.id)!==void 0?n.particles.linksColors.get(v.id):n.particles.linksColor;h=(0,i.BE)(e,o,y)}if(!h)return;let b=null!==(c=e.retina.linksWidth)&&void 0!==c?c:0,w=null!==(d=e.retina.linksDistance)&&void 0!==d?d:0;!function(e,t,n,r,o,s,a,l,u,c,d,h){let p=!1;if((0,i.Sp)(n,r)<=o)(0,i.pS)(e,n,r),p=!0;else if(a){let f,m,g={x:r.x-s.width,y:r.y},v=(0,i.oW)(n,g);
20if(v.distance<=o){let y=n.y-v.dy/v.dx*n.x;f={x:0,y:y},m={x:s.width,y:y}}else{let b={x:r.x,y:r.y-s.height},w=(0,i.oW)(n,b);if(w.distance<=o){let S=n.y-w.dy/w.dx*n.x,x=-S/(w.dy/w.dx);f={x:x,y:0},m={x:x,y:s.height}}else{let _={x:r.x-s.width,y:r.y-s.height},C=(0,i.oW)(n,_);if(C.distance<=o){let E=n.y-C.dy/C.dx*n.x,k=-E/(C.dy/C.dx);m={x:(f={x:k,y:E}).x+s.width,y:f.y+s.height}}}}f&&m&&((0,i.pS)(e,n,f),(0,i.pS)(e,r,m),p=!0)}if(p){if(e.lineWidth=t,l&&(e.globalCompositeOperation=u),e.strokeStyle=(0,i.iz)(c,d),h.enable){let P=(0,i.tX)(h.color);P&&(e.shadowBlur=h.blur,e.shadowColor=(0,i.iz)(P))}e.stroke()}}(t,b,s,a,w,n.canvas.size,e.options.links.warp,r.backgroundMask.enable,r.backgroundMask.composite,h,l,e.options.links.shadow)})}drawLinkTriangle(e,t,n){var r;if(!e.options.links)return;let o=this.container,s=o.actualOptions,a=t.destination,l=n.destination,u=e.options.links.triangles,c=null!==(r=u.opacity)&&void 0!==r?r:(t.opacity+n.opacity)/2;!(c<=0)&&o.canvas.draw(t=>{var n,r,d,h,p,f,m,g,v;let y=e.getPosition(),b=a.getPosition(),w=l.getPosition(),S=null!==(n=e.retina.linksDistance)&&void 0!==n?n:0;if((0,i.Sp)(y,b)>S||(0,i.Sp)(w,b)>S||(0,i.Sp)(w,y)>S)return;let x=(0,i.tX)(u.color);if(!x){let _=e.options.links,C=(null==_?void 0:_.id)!==void 0?o.particles.linksColors.get(_.id):o.particles.linksColor;x=(0,i.BE)(e,a,C)}x&&(r=t,f=s.backgroundMask.enable,m=s.backgroundMask.composite,g=x,(0,i.Wd)(r,y,b,w),f&&(r.globalCompositeOperation=m),r.fillStyle=(0,i.iz)(g,c),r.fill())})}drawTriangles(e,t,n,i,r){var o,s,a;let l=i.destination,u=e.particles;if(!((null===(o=t.links)||void 0===o?void 0:o.triangles.enable)&&(null===(s=l.options.links)||void 0===s?void 0:s.triangles.enable)))return;let c=null===(a=l.links)||void 0===a?void 0:a.filter(t=>{let n=e.particles.getLinkFrequency(l,t.destination);return l.options.links&&n<=l.options.links.frequency&&r.findIndex(e=>e.destination===t.destination)>=0});if(null==c?void 0:c.length)for(let d of c){let h=d.destination,p=u.getTriangleFrequency(n,l,h);!(p>t.links.triangles.frequency)&&this.drawLinkTriangle(n,i,d)}}}class tg{constructor(){this.id="links"}getPlugin(e){return new tm(e)}loadOptions(){}needsPlugin(){return!0}}async function tv(e){let t=new tg;await e.addPlugin(t)}async function ty(e){await tf(e),await tv(e)}class tb{draw(e,t,n){let i=this.getCenter(t,n),r=this.getSidesData(t,n),o=r.count.numerator*r.count.denominator,s=r.count.numerator/r.count.denominator,a=Math.PI-Math.PI*(180*(s-2)/s)/180;if(e){e.beginPath(),e.translate(i.x,i.y),e.moveTo(0,0);for(let l=0;l<o;l++)e.lineTo(r.length,0),e.translate(r.length,0),e.rotate(a)}}getSidesCount(e){var t,n;let i=e.shapeData;return null!==(n=null!==(t=null==i?void 0:i.sides)&&void 0!==t?t:null==i?void 0:i.nb_sides)&&void 0!==n?n:5}}class tw extends tb{getCenter(e,t){let n=this.getSidesCount(e);return{x:-t/(n/3.5),y:-t/.76}}getSidesData(e,t){var n,i;let r=e.shapeData,o=null!==(i=null!==(n=null==r?void 0:r.sides)&&void 0!==n?n:null==r?void 0:r.nb_sides)&&void 0!==i?i:5;return{count:{denominator:1,numerator:o},length:2.66*t/(o/3)}}}class tS extends tb{getCenter(e,t){return{x:-t,y:t/1.66}}getSidesCount(){return 3}getSidesData(e,t){return{count:{denominator:2,numerator:3},length:2*t}}}async function tx(e){await e.addShape("polygon",new tw)}async function t_(e){await e.addShape("triangle",new tS)}async function tC(e){await tx(e),await t_(e)}class tE{init(){}isEnabled(e){var t,n,i,r;return!e.destroyed&&!e.spawning&&e.size.enable&&((null!==(t=e.size.maxLoops)&&void 0!==t?t:0)<=0||(null!==(n=e.size.maxLoops)&&void 0!==n?n:0)>0&&(null!==(i=e.size.loops)&&void 0!==i?i:0)<(null!==(r=e.size.maxLoops)&&void 0!==r?r:0))}update(e,t){this.isEnabled(e)&&!function(e,t){var n,r,o,s,a;let l=(null!==(n=e.size.velocity)&&void 0!==n?n:0)*t.factor,u=e.size.min,c=e.size.max,d=null!==(r=e.size.decay)&&void 0!==r?r:1;if(!e.destroyed&&e.size.enable&&(!((null!==(o=e.size.maxLoops)&&void 0!==o?o:0)>0)||!((null!==(s=e.size.loops)&&void 0!==s?s:0)>(null!==(a=e.size.maxLoops)&&void 0!==a?a:0)))){switch(e.size.status){case 0:e.size.value>=c?(e.size.status=1,e.size.loops||(e.size.loops=0),e.size.loops++):e.size.value+=l;break;case 1:e.size.value<=u?(e.size.status=0,e.size.loops||(e.size.loops=0),e.size.loops++):e.size.value-=l}
20e.size.velocity&&1!==d&&(e.size.velocity*=d),function(e,t,n,i){switch(e.options.size.animation.destroy){case"max":t>=i&&e.destroy();break;case"min":t<=n&&e.destroy()}}(e,e.size.value,u,c),e.destroyed||(e.size.value=(0,i.uZ)(e.size.value,u,c))}}(e,t)}}async function tk(e){await e.addParticleUpdater("size",()=>new tE)}let tP=Math.sqrt(2);class tT{draw(e,t,n){e.rect(-n/tP,-n/tP,2*n/tP,2*n/tP)}getSidesCount(){return 4}}async function tA(e){let t=new tT;await e.addShape("edge",t),await e.addShape("square",t)}class tO{draw(e,t,n){var i;let r=t.shapeData,o=this.getSidesCount(t),s=null!==(i=null==r?void 0:r.inset)&&void 0!==i?i:2;e.moveTo(0,0-n);for(let a=0;a<o;a++)e.rotate(Math.PI/o),e.lineTo(0,0-n*s),e.rotate(Math.PI/o),e.lineTo(0,0-n)}getSidesCount(e){var t,n;let i=e.shapeData;return null!==(n=null!==(t=null==i?void 0:i.sides)&&void 0!==t?t:null==i?void 0:i.nb_sides)&&void 0!==n?n:5}}async function tL(e){await e.addShape("star",new tO)}function tR(e,t,n,r,o){var s,a;let l=t;if(!l||!l.enable)return;let u=(0,i.vd)(n.offset),c=(null!==(s=t.velocity)&&void 0!==s?s:0)*e.factor+3.6*u,d=null!==(a=t.decay)&&void 0!==a?a:1;o&&0!==l.status?(l.value-=c,l.value<0&&(l.status=0,l.value+=l.value)):(l.value+=c,o&&l.value>r&&(l.status=1,l.value-=l.value%r)),l.velocity&&1!==d&&(l.velocity*=d),l.value>r&&(l.value%=r)}class tM{constructor(e){this.container=e}init(e){var t,n;let r=this.container;e.stroke=(0,i.wA)(e.options.stroke,e.id,e.options.reduceDuplicates),e.strokeWidth=e.stroke.width*r.retina.pixelRatio;let o=null!==(t=(0,i.lN)(e.stroke.color))&&void 0!==t?t:e.getFillColor();o&&(e.strokeColor=(0,i.bS)(o,null===(n=e.stroke.color)||void 0===n?void 0:n.animation,r.retina.reduceFactor))}isEnabled(e){var t,n,i,r;let o=null===(t=e.stroke)||void 0===t?void 0:t.color;return!e.destroyed&&!e.spawning&&!!o&&((null===(n=e.strokeColor)||void 0===n?void 0:n.h.value)!==void 0&&o.animation.h.enable||(null===(i=e.strokeColor)||void 0===i?void 0:i.s.value)!==void 0&&o.animation.s.enable||(null===(r=e.strokeColor)||void 0===r?void 0:r.l.value)!==void 0&&o.animation.l.enable)}update(e,t){this.isEnabled(e)&&!function(e,t){var n,i,r,o,s,a,l,u,c,d;if(!(null===(n=e.stroke)||void 0===n?void 0:n.color))return;let h=e.stroke.color.animation,p=null!==(r=null===(i=e.strokeColor)||void 0===i?void 0:i.h)&&void 0!==r?r:null===(o=e.color)||void 0===o?void 0:o.h;p&&tR(t,p,h.h,360,!1);let f=null!==(a=null===(s=e.strokeColor)||void 0===s?void 0:s.s)&&void 0!==a?a:null===(l=e.color)||void 0===l?void 0:l.s;f&&tR(t,f,h.s,100,!0);let m=null!==(c=null===(u=e.strokeColor)||void 0===u?void 0:u.l)&&void 0!==c?c:null===(d=e.color)||void 0===d?void 0:d.l;m&&tR(t,m,h.l,100,!0)}(e,t)}}async function tI(e){await e.addParticleUpdater("strokeColor",e=>new tM(e))}let tV=["text","character","char"];class tD{draw(e,t,n,r){var o,s,a;let l=t.shapeData;if(void 0===l)return;let u=l.value;if(void 0===u)return;let c=t;void 0===c.text&&(c.text=(0,i.wA)(u,t.randomIndexData));let d=c.text,h=null!==(o=l.style)&&void 0!==o?o:"",p=null!==(s=l.weight)&&void 0!==s?s:"400",f=null!==(a=l.font)&&void 0!==a?a:"Verdana",m=t.fill,g=d.length*n/2;e.font=`${h} ${p} ${2*Math.round(n)}px "${f}"`;let v={x:-g,y:n/2};e.globalAlpha=r,m?e.fillText(d,v.x,v.y):e.strokeText(d,v.x,v.y),e.globalAlpha=1}getSidesCount(){return 12}async init(e){let t=e.actualOptions;if(tV.find(e=>(0,i.dB)(e,t.particles.shape.type))){let n=tV.map(e=>t.particles.shape.options[e]).find(e=>!!e),r=[];(0,i.KH)(n,e=>{r.push((0,i.mx)(e.font,e.weight))}),await Promise.all(r)}}}async function tz(e){let t=new tD;for(let n of tV)await e.addShape(n,t)}async function tF(e){await en(e),await tt(e),await ec(e),await ep(e),await eb(e),await eC(e),await eA(e),await function(e){e.addInteractor("externalPause",e=>new eO(e))}(e),await eM(e),await function(e){e.addInteractor("externalRemove",e=>new eV(e))}(e),await ej(e),await eH(e),await ti(e),await ta(e),await ty(e),await er(e),await eQ(e),await e1(e),await tC(e),await tA(e),await tL(e),await tz(e),await eJ(e),await e4(e),await tk(e),await ee(e),await ea(e),await tI(e),await e7(e),await X(e)}class tN{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed&&(this.speed=(0,i.Cs)(e.speed)),void 0!==e.decay&&(this.decay=(0,i.Cs)(e.decay)),void 0!==e.sync&&(this.sync=e.sync))}}class tj extends i.SW{constructor(){super(),this.animation=new tN,this.direction="clockwise",this.enable=!1,this.value=0}load(e){super.load(e),e&&(this.animation.load(e.animation),void 0!==e.direction&&(this.direction=e.direction),void 0!==e.enable&&(this.enable=e.enable))}}class tG{constructor(e){this.container=e}getTransformValues(e){var t;let n=(null===(t=e.tilt)||void 0===t?void 0:t.enable)&&e.tilt;return{b:n?Math.cos(n.value)*n.cosDirection:void 0,c:n?Math.sin(n.value)*n.sinDirection:void 0}}init(e){var t;let n=e.options.tilt;if(!n)return;
20e.tilt={enable:n.enable,value:(0,i.Gu)(n.value)*Math.PI/180,sinDirection:(0,i.sZ)()>=.5?1:-1,cosDirection:(0,i.sZ)()>=.5?1:-1};let r=n.direction;if("random"===r){let o=Math.floor(2*(0,i.sZ)());r=o>0?"counter-clockwise":"clockwise"}switch(r){case"counter-clockwise":case"counterClockwise":e.tilt.status=1;break;case"clockwise":e.tilt.status=0}let s=null===(t=e.options.tilt)||void 0===t?void 0:t.animation;(null==s?void 0:s.enable)&&(e.tilt.decay=1-(0,i.Gu)(s.decay),e.tilt.velocity=(0,i.Gu)(s.speed)/360*this.container.retina.reduceFactor,s.sync||(e.tilt.velocity*=(0,i.sZ)()))}isEnabled(e){var t;let n=null===(t=e.options.tilt)||void 0===t?void 0:t.animation;return!e.destroyed&&!e.spawning&&!!(null==n?void 0:n.enable)}loadOptions(e,...t){for(let n of(e.tilt||(e.tilt=new tj),t))e.tilt.load(null==n?void 0:n.tilt)}update(e,t){this.isEnabled(e)&&!function(e,t){var n,i;if(!e.tilt||!e.options.tilt)return;let r=e.options.tilt,o=r.animation,s=(null!==(n=e.tilt.velocity)&&void 0!==n?n:0)*t.factor,a=2*Math.PI,l=null!==(i=e.tilt.decay)&&void 0!==i?i:1;o.enable&&(0===e.tilt.status?(e.tilt.value+=s,e.tilt.value>a&&(e.tilt.value-=a)):(e.tilt.value-=s,e.tilt.value<0&&(e.tilt.value+=a)),e.tilt.velocity&&1!==l&&(e.tilt.velocity*=l))}(e,t)}}async function tB(e){await e.addParticleUpdater("tilt",e=>new tG(e))}class tH{constructor(){this.enable=!1,this.frequency=.05,this.opacity=1}load(e){e&&(void 0!==e.color&&(this.color=i.Oz.create(this.color,e.color)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.frequency&&(this.frequency=e.frequency),void 0!==e.opacity&&(this.opacity=(0,i.Cs)(e.opacity)))}}class tU{constructor(){this.lines=new tH,this.particles=new tH}load(e){e&&(this.lines.load(e.lines),this.particles.load(e.particles))}}class t${getColorStyles(e,t,n,r){let o=e.options,s=o.twinkle;if(!s)return{};let a=s.particles,l=a.enable&&(0,i.sZ)()<a.frequency,u=e.options.zIndex,c=(1-e.zIndexFactor)**u.opacityRate,d=l?(0,i.Gu)(a.opacity)*c:r,h=(0,i.lN)(a.color),p=h?(0,i.vz)(h,d):void 0,f={},m=l&&p;return f.fill=m?p:void 0,f.stroke=m?p:void 0,f}init(){}isEnabled(e){let t=e.options,n=t.twinkle;return!!n&&n.particles.enable}loadOptions(e,...t){for(let n of(e.twinkle||(e.twinkle=new tU),t))e.twinkle.load(null==n?void 0:n.twinkle)}update(){}}async function tq(e){await e.addParticleUpdater("twinkle",()=>new t$)}class tW{constructor(){this.angle=50,this.move=10}load(e){e&&(void 0!==e.angle&&(this.angle=(0,i.Cs)(e.angle)),void 0!==e.move&&(this.move=(0,i.Cs)(e.move)))}}class tQ{constructor(){this.distance=5,this.enable=!1,this.speed=new tW}load(e){if(e&&(void 0!==e.distance&&(this.distance=(0,i.Cs)(e.distance)),void 0!==e.enable&&(this.enable=e.enable),void 0!==e.speed)){if("number"==typeof e.speed)this.speed.load({angle:e.speed});else{let t=e.speed;void 0!==t.min?this.speed.load({angle:t}):this.speed.load(e.speed)}}}}class tY{constructor(e){this.container=e}init(e){var t;let n=e.options.wobble;(null==n?void 0:n.enable)?e.wobble={angle:(0,i.sZ)()*Math.PI*2,angleSpeed:(0,i.Gu)(n.speed.angle)/360,moveSpeed:(0,i.Gu)(n.speed.move)/10}:e.wobble={angle:0,angleSpeed:0,moveSpeed:0},e.retina.wobbleDistance=(0,i.Gu)(null!==(t=null==n?void 0:n.distance)&&void 0!==t?t:0)*this.container.retina.pixelRatio}isEnabled(e){var t;return!e.destroyed&&!e.spawning&&!!(null===(t=e.options.wobble)||void 0===t?void 0:t.enable)}loadOptions(e,...t){for(let n of(e.wobble||(e.wobble=new tQ),t))e.wobble.load(null==n?void 0:n.wobble)}update(e,t){this.isEnabled(e)&&!function(e,t){var n;let i=e.options.wobble;if(!(null==i?void 0:i.enable)||!e.wobble)return;let r=e.wobble.angleSpeed*t.factor,o=e.wobble.moveSpeed*t.factor,s=o*((null!==(n=e.retina.wobbleDistance)&&void 0!==n?n:0)*t.factor)/(1e3/60),a=2*Math.PI;e.wobble.angle+=r,e.wobble.angle>a&&(e.wobble.angle-=a),e.position.x+=s*Math.cos(e.wobble.angle),e.position.y+=s*Math.abs(Math.sin(e.wobble.angle))}(e,t)}}async function tZ(e){await e.addParticleUpdater("wobble",e=>new tY(e))}async function tK(e){await tF(e),await v(e),await K(e),await tB(e),await tq(e),await tZ(e),await M(e),await c(e),await O(e),await W(e)}},5459:function(e,t,n){var i,r,o=n(3454);"undefined"!=typeof self&&self,r=e=>(()=>{var t={7403(e,t,n){"use strict";n.d(t,{default:()=>E});var i=n(4087),r=n.n(i);let o=function(e){return RegExp(/<[a-z][\s\S]*>/i).test(e)},s=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes},a=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var l="TYPE_CHARACTER",u="REMOVE_CHARACTER",c="REMOVE_ALL",d="REMOVE_LAST_VISIBLE_NODE",h="PAUSE_FOR",p="CALL_FUNCTION",f="ADD_HTML_TAG_ELEMENT",m="CHANGE_DELET
20E_SPEED",g="CHANGE_DELAY",v="CHANGE_CURSOR",y="PASTE_STRING",b="HTML_TAG";function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let E=function(){var e;function t(e,n){var w=this;if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),C(this,"state",{cursorAnimation:null,lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null,elements:{container:null,wrapper:document.createElement("span"),cursor:document.createElement("span")}}),C(this,"options",{strings:null,cursor:"|",delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,devMode:!1,skipAddStyles:!1,wrapperClassName:"Typewriter__wrapper",cursorClassName:"Typewriter__cursor",stringSplitter:null,onCreateTextNode:null,onRemoveNode:null}),C(this,"setupWrapperElement",function(){w.state.elements.container&&(w.state.elements.wrapper.className=w.options.wrapperClassName,w.state.elements.cursor.className=w.options.cursorClassName,w.state.elements.cursor.innerHTML=w.options.cursor,w.state.elements.container.innerHTML="",w.state.elements.container.appendChild(w.state.elements.wrapper),w.state.elements.container.appendChild(w.state.elements.cursor))}),C(this,"start",function(){return w.state.eventLoopPaused=!1,w.runEventLoop(),w}),C(this,"pause",function(){return w.state.eventLoopPaused=!0,w}),C(this,"stop",function(){return w.state.eventLoop&&((0,i.cancel)(w.state.eventLoop),w.state.eventLoop=null),w}),C(this,"pauseFor",function(e){return w.addEventToQueue(h,{ms:e}),w}),C(this,"typeOutAllStrings",function(){return"string"==typeof w.options.strings?(w.typeString(w.options.strings).pauseFor(w.options.pauseFor),w):(w.options.strings.forEach(function(e){w.typeString(e).pauseFor(w.options.pauseFor).deleteAll(w.options.deleteSpeed)}),w)}),C(this,"typeString",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(o(e))return w.typeOutHTMLString(e,t);if(e){var n=(w.options||{}).stringSplitter,i="function"==typeof n?n(e):e.split("");w.typeCharacters(i,t)}return w}),C(this,"pasteString",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return o(e)?w.typeOutHTMLString(e,t,!0):(e&&w.addEventToQueue(y,{character:e,node:t}),w)}),C(this,"typeOutHTMLString",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,i=s(e);if(i.length>0)for(var r=0;r<i.length;r++){var o=i[r],a=o.innerHTML;o&&3!==o.nodeType?(o.innerHTML="",w.addEventToQueue(f,{node:o,parentNode:t}),n?w.pasteString(a,o):w.typeString(a,o)):o.textContent&&(n?w.pasteString(o.textContent,t):w.typeString(o.textContent,t))}return w}),C(this,"deleteAll",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"natural";return w.addEventToQueue(c,{speed:e}),w}
20),C(this,"changeDeleteSpeed",function(e){if(!e)throw Error("Must provide new delete speed");return w.addEventToQueue(m,{speed:e}),w}),C(this,"changeDelay",function(e){if(!e)throw Error("Must provide new delay");return w.addEventToQueue(g,{delay:e}),w}),C(this,"changeCursor",function(e){if(!e)throw Error("Must provide new cursor");return w.addEventToQueue(v,{cursor:e}),w}),C(this,"deleteChars",function(e){if(!e)throw Error("Must provide amount of characters to delete");for(var t=0;t<e;t++)w.addEventToQueue(u);return w}),C(this,"callFunction",function(e,t){if(!e||"function"!=typeof e)throw Error("Callbak must be a function");return w.addEventToQueue(p,{cb:e,thisArg:t}),w}),C(this,"typeCharacters",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e||!Array.isArray(e))throw Error("Characters must be an array");return e.forEach(function(e){w.addEventToQueue(l,{character:e,node:t})}),w}),C(this,"removeCharacters",function(e){if(!e||!Array.isArray(e))throw Error("Characters must be an array");return e.forEach(function(){w.addEventToQueue(u)}),w}),C(this,"addEventToQueue",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return w.addEventToStateProperty(e,t,n,"eventQueue")}),C(this,"addReverseCalledEvent",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return w.options.loop?w.addEventToStateProperty(e,t,n,"reverseCalledEvents"):w}),C(this,"addEventToStateProperty",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r={eventName:e,eventArgs:t||{}};return w.state[i]=n?[r].concat(x(w.state[i])):[].concat(x(w.state[i]),[r]),w}),C(this,"runEventLoop",function(){w.state.lastFrameTime||(w.state.lastFrameTime=Date.now());var e=Date.now(),t=e-w.state.lastFrameTime;if(!w.state.eventQueue.length){if(!w.options.loop)return;w.state.eventQueue=x(w.state.calledEvents),w.state.calledEvents=[],w.options=S({},w.state.initialOptions)}if(w.state.eventLoop=r()(w.runEventLoop),!w.state.eventLoopPaused){if(w.state.pauseUntil){if(e<w.state.pauseUntil)return;w.state.pauseUntil=null}var n,i=x(w.state.eventQueue),o=i.shift();if(!(t<=(n=o.eventName===d||o.eventName===u?"natural"===w.options.deleteSpeed?a(40,80):w.options.deleteSpeed:"natural"===w.options.delay?a(120,160):w.options.delay))){var s=o.eventName,_=o.eventArgs;switch(w.logInDevMode({currentEvent:o,state:w.state,delay:n}),s){case y:case l:var C=_.character,E=_.node,k=document.createTextNode(C),P=k;w.options.onCreateTextNode&&"function"==typeof w.options.onCreateTextNode&&(P=w.options.onCreateTextNode(C,k)),P&&(E?E.appendChild(P):w.state.elements.wrapper.appendChild(P)),w.state.visibleNodes=[].concat(x(w.state.visibleNodes),[{type:"TEXT_NODE",character:C,node:P}]);break;case u:i.unshift({eventName:d,eventArgs:{removingCharacterNode:!0}});break;case h:var T=o.eventArgs.ms;w.state.pauseUntil=Date.now()+parseInt(T);break;case p:var A=o.eventArgs,O=A.cb,L=A.thisArg;O.call(L,{elements:w.state.elements});break;case f:var R=o.eventArgs,M=R.node,I=R.parentNode;I?I.appendChild(M):w.state.elements.wrapper.appendChild(M),w.state.visibleNodes=[].concat(x(w.state.visibleNodes),[{type:b,node:M,parentNode:I||w.state.elements.wrapper}]);break;case c:var V=w.state.visibleNodes,D=_.speed,z=[];D&&z.push({eventName:m,eventArgs:{speed:D,temp:!0}});for(var F=0,N=V.length;F<N;F++)z.push({eventName:d,eventArgs:{removingCharacterNode:!1}});D&&z.push({eventName:m,eventArgs:{speed:w.options.deleteSpeed,temp:!0}}),i.unshift.apply(i,z);break;case d:var j=o.eventArgs.removingCharacterNode;if(w.state.visibleNodes.length){var G=w.state.visibleNodes.pop(),B=G.type,H=G.node,U=G.character;w.options.onRemoveNode&&"function"==typeof w.options.onRemoveNode&&w.options.onRemoveNode({node:H,character:U}),H&&H.parentNode.removeChild(H),B===b&&j&&i.unshift({eventName:d,eventArgs:{}})}break;case m:w.options.deleteSpeed=o.eventArgs.speed;break;case g:w.options.delay=o.eventArgs.delay;break;case v:w.options.cursor=o.eventArgs.cursor,w.state.elements.cursor.innerHTML=o.eventArgs.cursor}w.options.loop&&(o.eventName===d||o.eventArgs&&o.eventArgs.temp||(w.state.calledEvents=[].concat(x(w.state.calledEvents),[o]))),w.state.eventQueue=i,w.state.lastFrameTime=e}}}),e){if("string"==typeof e){var _=document.querySelector(e);
20if(!_)throw Error("Could not find container element");this.state.elements.container=_}else this.state.elements.container=e}n&&(this.options=S(S({},this.options),n)),this.state.initialOptions=S({},this.options),this.init()}return e=[{key:"init",value:function(){var e;this.setupWrapperElement(),this.addEventToQueue(v,{cursor:this.options.cursor},!0),this.addEventToQueue(c,null,!0),!window||window.___TYPEWRITER_JS_STYLES_ADDED___||this.options.skipAddStyles||((e=document.createElement("style")).appendChild(document.createTextNode(".Typewriter__cursor{-webkit-animation:Typewriter-cursor 1s infinite;animation:Typewriter-cursor 1s infinite;margin-left:1px}@-webkit-keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}")),document.head.appendChild(e),window.___TYPEWRITER_JS_STYLES_ADDED___=!0),!0===this.options.autoStart&&this.options.strings&&this.typeOutAllStrings().start()}},{key:"logInDevMode",value:function(e){this.options.devMode&&console.log(e)}}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}()},8552(e,t,n){var i=n(852)(n(5639),"DataView");e.exports=i},1989(e,t,n){var i=n(1789),r=n(401),o=n(7667),s=n(1327),a=n(1866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},8407(e,t,n){var i=n(7040),r=n(4125),o=n(2117),s=n(7518),a=n(4705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},7071(e,t,n){var i=n(852)(n(5639),"Map");e.exports=i},3369(e,t,n){var i=n(4785),r=n(1285),o=n(6e3),s=n(9916),a=n(5265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}l.prototype.clear=i,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=s,l.prototype.set=a,e.exports=l},3818(e,t,n){var i=n(852)(n(5639),"Promise");e.exports=i},8525(e,t,n){var i=n(852)(n(5639),"Set");e.exports=i},8668(e,t,n){var i=n(3369),r=n(619),o=n(2385);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=o,e.exports=s},6384(e,t,n){var i=n(8407),r=n(7465),o=n(3779),s=n(7599),a=n(4758),l=n(4309);function u(e){var t=this.__data__=new i(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=s,u.prototype.has=a,u.prototype.set=l,e.exports=u},2705(e,t,n){var i=n(5639).Symbol;e.exports=i},1149(e,t,n){var i=n(5639).Uint8Array;e.exports=i},577(e,t,n){var i=n(852)(n(5639),"WeakMap");e.exports=i},4963(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var s=e[n];t(s,n,e)&&(o[r++]=s)}return o}},4636(e,t,n){var i=n(2545),r=n(5694),o=n(1469),s=n(4144),a=n(5776),l=n(6719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&r(e),d=!n&&!c&&s(e),h=!n&&!c&&!d&&l(e),p=n||c||d||h,f=p?i(e.length,String):[],m=f.length;for(var g in e)!t&&!u.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||f.push(g);return f}},2488(e){e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},2908(e){e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},8470(e,t,n){var i=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return -1}},8866(e,t,n){var i=n(2488),r=n(1469);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},4239(e,t,n){var i=n(2705),r=n(9607),o=n(2333),s=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?r(e):o(e)}},9454(e,t,n){var i=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},939(e,t,n){var i=n(2492),r=n(7005);e.exports=function e(t,n,o,s,a){return t===n||(null!=t&&null!=n&&(r(t)||r(n))?i(t,n,o,s,e,a):t!=t&&n!=n)}},2492(e,t,n){var i=n(6384),r=n(7114),o=n(8351),s=n(6096),a=n(4160),l=n(1469),u=n(4144),c=n(6719),d="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),b=l(t),w=y?h:a(e),S=b?h:a(t),x=(w=w==d?p:w)==p,_=(S=S==d?p:S)==p,C=w==S;if(C&&u(e)){if(!u(t))return!1;y=!0,x=!1}if(C&&!x)return v||(v=new i),y||c(e)?r(e,t,n,m,g,v):o(e,t,w,n,m,g,v);if(!(1&n)){var E=x&&f.call(e,"__wrapped__"),k=_&&f.call(t,"__wrapped__");
vendor: 6,043 bytes, line 20
20if(E||k){var P=E?e.value():e,T=k?t.value():t;return v||(v=new i),g(P,T,n,m,v)}}return!!C&&(v||(v=new i),s(e,t,n,m,g,v))}},8458(e,t,n){var i=n(3560),r=n(5346),o=n(3218),s=n(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,h=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?h:a).test(s(e))}},8749(e,t,n){var i=n(4239),r=n(1780),o=n(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!s[i(e)]}},280(e,t,n){var i=n(5726),r=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2545(e){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},1717(e){e.exports=function(e){return function(t){return e(t)}}},4757(e){e.exports=function(e,t){return e.has(t)}},4429(e,t,n){var i=n(5639)["__core-js_shared__"];e.exports=i},7114(e,t,n){var i=n(8668),r=n(2908),o=n(4757);e.exports=function(e,t,n,s,a,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var h=l.get(e),p=l.get(t);if(h&&p)return h==t&&p==e;var f=-1,m=!0,g=2&n?new i:void 0;for(l.set(e,t),l.set(t,e);++f<c;){var v=e[f],y=t[f];if(s)var b=u?s(y,v,f,t,e,l):s(v,y,f,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!r(t,function(e,t){if(!o(g,t)&&(v===e||a(v,e,n,s,l)))return g.push(t)})){m=!1;break}}else if(v!==y&&!a(v,y,n,s,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},8351(e,t,n){var i=n(2705),r=n(1149),o=n(7813),s=n(7114),a=n(8776),l=n(1814),u=i?i.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,i,u,d,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":if(p||(p=l),e.size!=t.size&&!(1&i))break;var f=h.get(e);if(f)return f==t;i|=2,h.set(e,t);var m=s(p(e),p(t),i,u,d,h);return h.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},6096(e,t,n){var i=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,s,a){var l=1&n,u=i(e),c=u.length;if(c!=i(t).length&&!l)return!1;for(var d=c;d--;){var h=u[d];if(!(l?h in t:r.call(t,h)))return!1}var p=a.get(e),f=a.get(t);if(p&&f)return p==t&&f==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=l;++d<c;){var v=e[h=u[d]],y=t[h];if(o)var b=l?o(y,v,h,t,e,a):o(v,y,h,e,t,a);if(!(void 0===b?v===y||s(v,y,n,o,a):b)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(m=!1)}return a.delete(e),a.delete(t),m}},1957(e,t,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},8234(e,t,n){var i=n(8866),r=n(9551),o=n(3674);e.exports=function(e){return i(e,o,r)}},5050(e,t,n){var i=n(7019);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},852(e,t,n){var i=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},9607(e,t,n){var i=n(2705),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(r){}var l=s.call(e);return i&&(t?e[a]=n:delete e[a]),l}},9551(e,t,n){var i=n(4963),r=n(479),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:i(s(e=Object(e)),function(t){return o.call(e,t)})}:r;e.exports=a},4160(e,t,n){var i=n(8552),r=n(7071),o=n(3818),s=n(8525),a=n(577),l=n(4239),u=n(346),c="[object Map]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",f="[object DataView]",m=u(i),g=u(r),v=u(o),y=u(s),b=u(a),w=l;(i&&w(new i(new ArrayBuffer(1)))!=f||r&&w(new r)!=c||o&&w(o.resolve())!=d||s&&w(new s)!=h||a&&w(new a)!=p)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,i=n?u(n):"";if(i)switch(i){case m:return f;case g:return c;case v:return d;case y:return h;case b:return p}return t}),e.exports=w},7801(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789(e,t,n){var i=n(4536);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},401(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667(e,t,n){var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327(e,t,n){var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},1866(e,t,n){var i=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},5776(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},7019(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}
vendor: 4,101 bytes, line 20
20,5346(e,t,n){var i,r=n(4429),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},5726(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040(e){e.exports=function(){this.__data__=[],this.size=0}},4125(e,t,n){var i=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},2117(e,t,n){var i=n(8470);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},7518(e,t,n){var i=n(8470);e.exports=function(e){return i(this.__data__,e)>-1}},4705(e,t,n){var i=n(8470);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785(e,t,n){var i=n(1989),r=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},1285(e,t,n){var i=n(5050);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},6e3(e,t,n){var i=n(5050);e.exports=function(e){return i(this,e).get(e)}},9916(e,t,n){var i=n(5050);e.exports=function(e){return i(this,e).has(e)}},5265(e,t,n){var i=n(5050);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}},4536(e,t,n){var i=n(852)(Object,"create");e.exports=i},6916(e,t,n){var i=n(5569)(Object.keys,Object);e.exports=i},1167(e,t,n){e=n.nmd(e);var i=n(1957),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,s=o&&o.exports===r&&i.process,a=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},2333(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5639(e,t,n){var i=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},619(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385(e){e.exports=function(e){return this.__data__.has(e)}},1814(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},7465(e,t,n){var i=n(8407);e.exports=function(){this.__data__=new i,this.size=0}},3779(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599(e){e.exports=function(e){return this.__data__.get(e)}},4758(e){e.exports=function(e){return this.__data__.has(e)}},4309(e,t,n){var i=n(8407),r=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}},346(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(i){}}return""}},7813(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694(e,t,n){var i=n(9454),r=n(7005),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},1469(e){var t=Array.isArray;e.exports=t},8612(e,t,n){var i=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},4144(e,t,n){e=n.nmd(e);var i=n(5639),r=n(5062),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?i.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},8446(e,t,n){var i=n(939);e.exports=function(e,t){return i(e,t)}},3560(e,t,n){var i=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005(e){e.exports=function(e){return null!=e&&"object"==typeof e}}
20,6719(e,t,n){var i=n(8749),r=n(1717),o=n(1167),s=o&&o.isTypedArray,a=s?r(s):i;e.exports=a},3674(e,t,n){var i=n(4636),r=n(280),o=n(8612);e.exports=function(e){return o(e)?i(e):r(e)}},479(e){e.exports=function(){return[]}},5062(e){e.exports=function(){return!1}},75:function(e){(function(){var t,n,i,r,s,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=o&&o.hrtime?(e.exports=function(){return(t()-s)/1e6},n=o.hrtime,s=(r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})())-1e9*o.uptime()):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)},4087(e,t,n){for(var i=n(75),r="undefined"==typeof window?n.g:window,o=["moz","webkit"],s="AnimationFrame",a=r["request"+s],l=r["cancel"+s]||r["cancelRequest"+s],u=0;!a&&u<o.length;u++)a=r[o[u]+"Request"+s],l=r[o[u]+"Cancel"+s]||r[o[u]+"CancelRequest"+s];if(!a||!l){var c=0,d=0,h=[];a=function(e){if(0===h.length){var t=i(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout(function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(n){setTimeout(function(){throw n},0)}},Math.round(n))}return h.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return a.call(r,e)},e.exports.cancel=function(){l.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=a,e.cancelAnimationFrame=l}},8156(t){"use strict";t.exports=e}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";i.d(r,{default:()=>h});var e=i(8156),t=i.n(e),n=i(7403),o=i(8446),s=i.n(o);function a(e){return(a="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})(e)}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(d,e);var i,r,o=(r=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=c(d);if(r){var n=c(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return u(e)}(this,e)});function d(){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,d);for(var e,t,n,i,r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return t=u(e=o.call.apply(o,[this].concat(s))),i={instance:null},(n="state")in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,e}return i=[{key:"componentDidMount",value:function(){var e=this,t=new n.default(this.typewriter,this.props.options);this.setState({instance:t},function(){var n=e.props.onInit;n&&n(t)})}},{key:"componentDidUpdate",value:function(e){s()(this.props.options,e.options)||this.setState({instance:new n.default(this.typewriter,this.props.options)})}},{key:"componentWillUnmount",value:function(){this.state.instance&&this.state.instance.stop()}},{key:"render",value:function(){var e=this,n=this.props.component;return t().createElement(n,{ref:function(t){return e.typewriter=t},className:"Typewriter","data-testid":"typewriter-wrapper"})}}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
20(d.prototype,i),Object.defineProperty(d,"prototype",{writable:!1}),d}(e.Component);d.defaultProps={component:"div"};let h=d})(),r.default})(),e.exports=r(n(7294))},6252:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var i=n(3917),r=n(7294),o=n(5092);function s(e){var t=(0,r.useContext)((0,o.K)()),n=e||t.client;return __DEV__?(0,i.kG)(!!n,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,i.kG)(!!n,31),n}},319:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var i=n(655),r=n(7294),o=n(4012),s=n(2152),a=n(4692),l=n(990),u=n(6252);function c(e,t){var n=(0,u.x)(null==t?void 0:t.client);(0,a.Vp)(e,a.n_.Mutation);var c=(0,r.useState)({called:!1,loading:!1,client:n}),d=c[0],h=c[1],p=(0,r.useRef)({result:d,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Object.assign(p.current,{client:n,options:t,mutation:e});var f=(0,r.useCallback)(function(e){void 0===e&&(e={});var t=p.current,n=t.client,r=t.options,a=t.mutation,u=(0,i.__assign)((0,i.__assign)({},r),{mutation:a});p.current.result.loading||u.ignoreResults||!p.current.isMounted||h(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:n});var c=++p.current.mutationId,d=(0,o.J)(u,e);return n.mutate(d).then(function(t){var i,r,o,a=t.data,u=t.errors,f=u&&u.length>0?new l.c({graphQLErrors:u}):void 0;if(c===p.current.mutationId&&!d.ignoreResults){var m={called:!0,loading:!1,data:a,error:f,client:n};p.current.isMounted&&!(0,s.D)(p.current.result,m)&&h(p.current.result=m)}return null===(r=null===(i=p.current.options)||void 0===i?void 0:i.onCompleted)||void 0===r||r.call(i,t.data,d),null===(o=e.onCompleted)||void 0===o||o.call(e,t.data,d),t}).catch(function(t){var i,r,o,a;if(c===p.current.mutationId&&p.current.isMounted){var l={loading:!1,error:t,data:void 0,called:!0,client:n};(0,s.D)(p.current.result,l)||h(p.current.result=l)}if((null===(i=p.current.options)||void 0===i?void 0:i.onError)||d.onError)return null===(o=null===(r=p.current.options)||void 0===r?void 0:r.onError)||void 0===o||o.call(r,t,d),null===(a=e.onError)||void 0===a||a.call(e,t,d),{data:void 0,errors:t};throw t})},[]),m=(0,r.useCallback)(function(){p.current.isMounted&&h({called:!1,loading:!1,client:n})},[]);return(0,r.useEffect)(function(){return p.current.isMounted=!0,function(){p.current.isMounted=!1}},[]),[f,(0,i.__assign)({reset:m},d)]}},7887:function(e,t,n){"use strict";n.d(t,{a:function(){return x}});var i=n(655),r=n(3917),o=n(7294),s=n.t(o,2),a=n(320),l=!1,u=s.useSyncExternalStore||function(e,t,n){var i=t();__DEV__&&!l&&i!==t()&&(l=!0,__DEV__&&r.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var s=o.useState({inst:{value:i,getSnapshot:t}}),u=s[0].inst,d=s[1];return a.JC?o.useLayoutEffect(function(){Object.assign(u,{value:i,getSnapshot:t}),c(u)&&d({inst:u})},[e,i,t]):Object.assign(u,{value:i,getSnapshot:t}),o.useEffect(function(){return c(u)&&d({inst:u}),e(function(){c(u)&&d({inst:u})})},[e]),i};function c(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(i){return!0}}var d=n(2152),h=n(4012),p=n(5092),f=n(990),m=n(1644),g=n(4692),v=n(6252),y=n(8702),b=n(3712),w=n(1436),S=Object.prototype.hasOwnProperty;function x(e,t){var n,i,r,s,a,l;return void 0===t&&(t=Object.create(null)),(n=(0,v.x)(t.client),i=e,r=(0,o.useRef)(),r.current&&n===r.current.client&&i===r.current.query||(r.current=new _(n,i,r.current)),s=r.current,a=(0,o.useState)(0),l=(a[0],a[1]),s.forceUpdate=function(){l(function(e){return e+1})},s).useQuery(t)}var _=function(){function e(e,t,n){this.client=e,this.query=t,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(a.sy?WeakSet:Set),this.ssrDisabledResult=(0,y.J)({loading:!0,data:void 0,error:void 0,networkStatus:m.I.loading}),this.skipStandbyResult=(0,y.J)({loading:!1,data:void 0,error:void 0,networkStatus:m.I.ready}),this.toQueryResultCache=new(a.mr?WeakMap:Map),(0,g.Vp)(t,g.n_.Query);var i=n&&n.result,r=i&&i.data;r&&(this.previousData=r)}return e.prototype.forceUpdate=function(){__DEV__&&r.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.asyncUpdate=function(){var e=this;return new Promise(function(t){e.asyncResolveFns.add(t),e.optionsToIgnoreOnce.add(e.watchQueryOptions),e.forceUpdate()})},e.prototype.useQuery=function(e){var t=this;this.renderPromises=(0,o.useContext)((0,p.K)()).renderPromises,this.useOptions(e);var n=this.useObservableQuery(),i=u((0,o.useCallback)(function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,i=n.getCurrentResult();!(e&&e.loading===i.loading&&e.networkStatus===i.networkStatus&&(0,d.D)(e.data,i.data))&&t.setResult(i)},i=function(o){var s=n.last;r.unsubscribe();try{n.resetLastResults(),r=n.subscribe(e,i)}finally{n.last=s}if(!S.call(o,"graphQLErrors"))throw o;var a=t.result;(!a||a&&a.loading||!(0,d.D)(o,a.error))&&t.setResult({data:a&&a.data,error:o,loading:!1,networkStatus:m.I.error})},r=n.subscribe(e,i);return function(){return r.unsubscribe()}},[n,this.renderPromises,this.client.disableNetworkFetches,]),function(){return t.getCurrentResult()},function(){return t.getCurrentResult()});this.unsafeHandlePartialRefetch(i);var r=this.toQueryResult(i);return!r.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach(function(e){return e(r)}),this.asyncResolveFns.clear()),r},e.prototype.useOptions=function(t){var n,i=this.createWatchQueryOptions(this.queryHookOptions=t),r=this.watchQueryOptions;(this.optionsToIgnoreOnce.has(r)||!(0,d.D)(i,r))&&(this.watchQueryOptions=i,r&&this.observable&&(this.optionsToIgnoreOnce.delete(r),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(n=this.result)||void 0===n?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&!1===this.queryHookOptions.ssr&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,b.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(h.J)},e.prototype.createWatchQueryOptions=function(e){void 0===e&&(e={});
20var t,n=e.skip,r=Object.assign((e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,i.__rest)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),{query:this.query});if(this.renderPromises&&("network-only"===r.fetchPolicy||"cache-and-network"===r.fetchPolicy)&&(r.fetchPolicy="cache-first"),r.variables||(r.variables={}),n){var o=r.fetchPolicy,s=void 0===o?this.getDefaultFetchPolicy():o,a=r.initialFetchPolicy;Object.assign(r,{initialFetchPolicy:void 0===a?s:a,fetchPolicy:"standby"})}else r.fetchPolicy||(r.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return r},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cache-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,o.useMemo)(function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){var t=this;e.loading||Promise.resolve().then(function(){e.error?t.onError(e.error):e.data&&t.onCompleted(e.data)}).catch(function(e){__DEV__&&r.kG.warn(e)})},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var n=e.data,r=(e.partial,(0,i.__rest)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,i.__assign)((0,i.__assign)((0,i.__assign)({data:n},r),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,w.O)(e.errors)&&(t.error=new f.c({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){e.partial&&this.queryHookOptions.partialRefetch&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==this.observable.options.fetchPolicy&&(Object.assign(e,{loading:!0,networkStatus:m.I.refetch}),this.observable.refetch())},e}()},3433:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var i=n(7294);function r(e){var t=e(),n=(0,i.useState)(t)[1];return(0,i.useEffect)(function(){var i=e();if(t===i)return e.onNextChange(n);n(i)},[t]),t}},4692:function(e,t,n){"use strict";n.d(t,{Vp:function(){return l},n_:function(){return i}});var i,r,o=n(3917);(r=i||(i={}))[r.Query=0]="Query",r[r.Mutation=1]="Mutation",r[r.Subscription=2]="Subscription";var s=new Map;function a(e){var t;switch(e){case i.Query:t="Query";break;case i.Mutation:t="Mutation";break;case i.Subscription:t="Subscription"}return t}function l(e,t){var n=function(e){var t,n,r,a=s.get(e);if(a)return a;__DEV__?(0,o.kG)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,o.kG)(!!e&&!!e.kind,32);for(var l=[],u=[],c=[],d=[],h=0,p=e.definitions;h<p.length;h++){var f=p[h];if("FragmentDefinition"===f.kind){l.push(f);continue}if("OperationDefinition"===f.kind)switch(f.operation){case"query":u.push(f);break;case"mutation":c.push(f);break;case"subscription":d.push(f)}}__DEV__?(0,o.kG)(!l.length||u.length||c.length||d.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,o.kG)(!l.length||u.length||c.length||d.length,33),__DEV__?(0,o.kG)(u.length+c.length+d.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(u.length," queries, ").concat(d.length," ")+"subscriptions and ".concat(c.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,o.kG)(u.length+c.length+d.length<=1,34),n=u.length?
20i.Query:i.Mutation,u.length||c.length||(n=i.Subscription);var m=u.length?u:c.length?c:d;__DEV__?(0,o.kG)(1===m.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(m.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,o.kG)(1===m.length,35);var g=m[0];t=g.variableDefinitions||[];var v={name:g.name&&"Name"===g.name.kind?g.name.value:"data",type:n,variables:t};return s.set(e,v),v}(e),r=a(t),l=a(n.type);__DEV__?(0,o.kG)(n.type===t,"Running a ".concat(r," requires a graphql ")+"".concat(r,", but a ").concat(l," was used instead.")):(0,o.kG)(n.type===t,36)}},943:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,{Z:function(){return i}})},7568:function(e,t,n){"use strict";function i(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(u){n(u);return}a.done?t(l):Promise.resolve(l).then(i,r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,l,"next",e)}function l(e){i(s,r,o,a,l,"throw",e)}a(void 0)})}}n.d(t,{Z:function(){return r}})},3375:function(e,t,n){"use strict";function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return i}})},828:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(3375),r=n(1566);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,i.Z)(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},7297:function(e,t,n){"use strict";function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return i}})},9815:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(943),r=n(3375),o=n(1566);function s(e){return function(e){if(Array.isArray(e))return(0,i.Z)(e)}(e)||(0,r.Z)(e)||(0,o.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(943);function r(e,t){if(e){if("string"==typeof e)return(0,i.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,i.Z)(e,t)}}},8433:function(e,t,n){"use strict";function i(e,t){return function(){return e.apply(t,arguments)}}n.d(t,{Z:function(){return e3}});let{toString:r}=Object.prototype,{getPrototypeOf:o}=Object,s=(X=Object.create(null),e=>{let t=r.call(e);return X[t]||(X[t]=t.slice(8,-1).toLowerCase())}),a=e=>(e=e.toLowerCase(),t=>s(t)===e),l=e=>t=>typeof t===e,{isArray:u}=Array,c=l("undefined"),d=a("ArrayBuffer"),h=l("string"),p=l("function"),f=l("number"),m=e=>null!==e&&"object"==typeof e,g=e=>{if("object"!==s(e))return!1;let t=o(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},v=a("Date"),y=a("File"),b=a("Blob"),w=a("FileList"),S=e=>m(e)&&p(e.pipe),x=e=>{let t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||r.call(e)===t||p(e.toString)&&e.toString()===t)},_=a("URLSearchParams"),C=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function E(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,r;if("object"!=typeof e&&(e=[e]),u(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{let o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length,a;for(i=0;i<s;i++)a=o[i],t.call(null,e[a],a,e)}}function k(e,t){t=t.toLowerCase();let n=Object.keys(e),i=n.length,r;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,T=e=>!c(e)&&e!==P,A=(e,t,n,{allOwnKeys:r}={})=>(E(t,(t,r)=>{n&&p(t)?e[r]=i(t,n):e[r]=t},{allOwnKeys:r}),e),O=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),L=(e,t,n,i)=>
20{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},R=(e,t,n,i)=>{let r,s,a,l={};if(t=t||{},null==e)return t;do{for(s=(r=Object.getOwnPropertyNames(e)).length;s-- >0;)a=r[s],(!i||i(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},M=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let i=e.indexOf(t,n);return -1!==i&&i===n},I=e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!f(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},V=(J="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>J&&e instanceof J),D=(e,t)=>{let n=e&&e[Symbol.iterator],i=n.call(e),r;for(;(r=i.next())&&!r.done;){let o=r.value;t.call(e,o[0],o[1])}},z=(e,t)=>{let n,i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},F=a("HTMLFormElement"),N=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),j=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),G=a("RegExp"),B=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),i={};E(n,(n,r)=>{!1!==t(n,r,e)&&(i[r]=n)}),Object.defineProperties(e,i)},H=e=>{B(e,(t,n)=>{if(p(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;let i=e[n];if(p(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},U=(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(u(e)?e:String(e).split(t)),n},$=()=>{},q=(e,t)=>Number.isFinite(e=+e)?e:t,W="abcdefghijklmnopqrstuvwxyz",Q="0123456789",Y={DIGIT:Q,ALPHA:W,ALPHA_DIGIT:W+W.toUpperCase()+Q},Z=(e=16,t=Y.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n},K=e=>{let t=Array(10),n=(e,i)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;let r=u(e)?[]:{};return E(e,(e,t)=>{let o=n(e,i+1);c(o)||(r[t]=o)}),t[i]=void 0,r}}return e};return n(e,0)};var X,J,ee={isArray:u,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:x,isArrayBufferView:function(e){let t;return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:h,isNumber:f,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:g,isUndefined:c,isDate:v,isFile:y,isBlob:b,isRegExp:G,isFunction:p,isStream:S,isURLSearchParams:_,isTypedArray:V,isFileList:w,forEach:E,merge:function e(){let{caseless:t}=T(this)&&this||{},n={},i=(i,r)=>{let o=t&&k(n,r)||r;g(n[o])&&g(i)?n[o]=e(n[o],i):g(i)?n[o]=e({},i):u(i)?n[o]=i.slice():n[o]=i};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&E(arguments[r],i);return n},extend:A,trim:C,stripBOM:O,inherits:L,toFlatObject:R,kindOf:s,kindOfTest:a,endsWith:M,toArray:I,forEachEntry:D,matchAll:z,isHTMLForm:F,hasOwnProperty:j,hasOwnProp:j,reduceDescriptors:B,freezeMethods:H,toObjectSet:U,toCamelCase:N,noop:$,toFiniteNumber:q,findKey:k,global:P,isContextDefined:T,ALPHABET:Y,generateString:Z,isSpecCompliantForm:function(e){return!!(e&&p(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:K};function et(e,t,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}ee.inherits(et,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:ee.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let en=et.prototype,ei={};["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=>{ei[e]={value:e}}),Object.defineProperties(et,ei),Object.defineProperty(en,"isAxiosError",{value:!0}),et.from=(e,t,n,i,r,o)=>{let s=Object.create(en);return ee.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),et.call(s,e.message,t,n,i,r),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};var er=n(1876).Buffer;function eo(e){return ee.isPlainObject(e)||ee.isArray(e)}function es(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function ea(e,t,n){return e?e.concat(t).map(function(e,t){return e=es(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let el=ee.toFlatObject(ee,{},null,function(e){return/^is[A-Z]/.test(e)});var eu=function(e,t,n){if(!ee.isObject(e))throw TypeError("target must be an object");t=t||new FormData,n=ee.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ee.isUndefined(t[e])});let i=n.metaTokens,r=n.visitor||c,o=n.dots,s=n.indexes,a=n.Blob||"undefined"!=typeof Blob&&Blob,l=a&&ee.
20isSpecCompliantForm(t);if(!ee.isFunction(r))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(ee.isDate(e))return e.toISOString();if(!l&&ee.isBlob(e))throw new et("Blob is not supported. Use a Buffer instead.");return ee.isArrayBuffer(e)||ee.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):er.from(e):e}function c(e,n,r){let a=e;if(e&&!r&&"object"==typeof e){if(ee.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else{var l;if(ee.isArray(e)&&(l=e,ee.isArray(l)&&!l.some(eo))||(ee.isFileList(e)||ee.endsWith(n,"[]"))&&(a=ee.toArray(e)))return n=es(n),a.forEach(function(e,i){ee.isUndefined(e)||null===e||t.append(!0===s?ea([n],i,o):null===s?n:n+"[]",u(e))}),!1}}return!!eo(e)||(t.append(ea(r,n,o),u(e)),!1)}let d=[],h=Object.assign(el,{defaultVisitor:c,convertValue:u,isVisitable:eo});if(!ee.isObject(e))throw TypeError("data must be an object");return!function e(n,i){if(!ee.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+i.join("."));d.push(n),ee.forEach(n,function(n,o){let s=!(ee.isUndefined(n)||null===n)&&r.call(t,n,ee.isString(o)?o.trim():o,i,h);!0===s&&e(n,i?i.concat(o):[o])}),d.pop()}}(e),t};function ec(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ed(e,t){this._pairs=[],e&&eu(e,this,t)}let eh=ed.prototype;function ep(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ef(e,t,n){if(!t)return e;let i=n&&n.encode||ep,r=n&&n.serialize,o;if(o=r?r(t,n):ee.isURLSearchParams(t)?t.toString():new ed(t,n).toString(i)){let s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}eh.append=function(e,t){this._pairs.push([e,t])},eh.toString=function(e){let t=e?function(t){return e.call(this,t,ec)}:ec;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var em=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ee.forEach(this.handlers,function(t){null!==t&&e(t)})}},eg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ev="undefined"!=typeof URLSearchParams?URLSearchParams:ed,ey=FormData;let eb,ew=("undefined"==typeof navigator||"ReactNative"!==(eb=navigator.product)&&"NativeScript"!==eb&&"NS"!==eb)&&"undefined"!=typeof window&&"undefined"!=typeof document,eS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ex={isBrowser:!0,classes:{URLSearchParams:ev,FormData:ey,Blob},isStandardBrowserEnv:ew,isStandardBrowserWebWorkerEnv:eS,protocols:["http","https","file","blob","url","data"]},e_=function(e){if(ee.isFormData(e)&&ee.isFunction(e.entries)){let t={};return ee.forEachEntry(e,(e,n)=>{var i;!function e(t,n,i,r){let o=t[r++],s=Number.isFinite(+o),a=r>=t.length;if(o=!o&&ee.isArray(i)?i.length:o,a)return ee.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s;i[o]&&ee.isObject(i[o])||(i[o]=[]);let l=e(t,n,i[o],r);return l&&ee.isArray(i[o])&&(i[o]=function(e){let t={},n=Object.keys(e),i,r=n.length,o;for(i=0;i<r;i++)t[o=n[i]]=e[o];return t}(i[o])),!s}(ee.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let eC={"Content-Type":void 0},eE={transitional:eg,adapter:["xhr","http"],transformRequest:[function(e,t){let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,r=ee.isObject(e);r&&ee.isHTMLForm(e)&&(e=new FormData(e));let o=ee.isFormData(e);if(o)return i&&i?JSON.stringify(e_(e)):e;if(ee.isArrayBuffer(e)||ee.isBuffer(e)||ee.isStream(e)||ee.isFile(e)||ee.isBlob(e))return e;if(ee.isArrayBufferView(e))return e.buffer;if(ee.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,l;
20return(a=e,l=this.formSerializer,eu(a,new ex.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return ex.isNode&&ee.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},l))).toString()}if((s=ee.isFileList(e))||n.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return eu(s?{"files[]":e}:e,u&&new u,this.formSerializer)}}return r||i?(t.setContentType("application/json",!1),function(e,t,n){if(ee.isString(e))try{return(0,JSON.parse)(e),ee.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eE.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&ee.isString(e)&&(n&&!this.responseType||i)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(o){if(!r&&i){if("SyntaxError"===o.name)throw et.from(o,et.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ex.classes.FormData,Blob:ex.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ee.forEach(["delete","get","head"],function(e){eE.headers[e]={}}),ee.forEach(["post","put","patch"],function(e){eE.headers[e]=ee.merge(eC)});let ek=ee.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 eP=e=>{let t={},n,i,r;return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),i=e.substring(r+1).trim(),n&&(!t[n]||!ek[n])&&("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t};let eT=Symbol("internals");function eA(e){return e&&String(e).trim().toLowerCase()}function eO(e){return!1===e||null==e?e:ee.isArray(e)?e.map(eO):String(e)}function eL(e,t,n,i){if(ee.isFunction(i))return i.call(this,t,n);if(ee.isString(t)){if(ee.isString(i))return -1!==t.indexOf(i);if(ee.isRegExp(i))return i.test(t)}}class eR{constructor(e){e&&this.set(e)}set(e,t,n){let i=this;function r(e,t,n){let r=eA(t);if(!r)throw Error("header name must be a non-empty string");let o=ee.findKey(i,r);o&&void 0!==i[o]&&!0!==n&&(void 0!==n||!1===i[o])||(i[o||t]=eO(e))}let o=(e,t)=>ee.forEach(e,(e,n)=>r(e,n,t));if(ee.isPlainObject(e)||e instanceof this.constructor)o(e,t);else{var s;ee.isString(e)&&(e=e.trim())&&(s=e,!/^[-_a-zA-Z]+$/.test(s.trim()))?o(eP(e),t):null!=e&&r(t,e,n)}return this}get(e,t){if(e=eA(e)){let n=ee.findKey(this,e);if(n){let i=this[n];if(!t)return i;if(!0===t)return function(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(i);if(ee.isFunction(t))return t.call(this,i,n);if(ee.isRegExp(t))return t.exec(i);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eA(e)){let n=ee.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eL(this,this[n],n,t)))}return!1}delete(e,t){let n=this,i=!1;function r(e){if(e=eA(e)){let r=ee.findKey(n,e);r&&(!t||eL(n,n[r],r,t))&&(delete n[r],i=!0)}}return ee.isArray(e)?e.forEach(r):r(e),i}clear(e){let t=Object.keys(this),n=t.length,i=!1;for(;n--;){let r=t[n];(!e||eL(this,this[r],r,e))&&(delete this[r],i=!0)}return i}normalize(e){let t=this,n={};return ee.forEach(this,(i,r)=>{var o;let s=ee.findKey(n,r);if(s){t[s]=eO(i),delete t[r];return}let a=e?r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(r).trim();a!==r&&delete t[r],t[a]=eO(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return ee.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ee.isArray(n)?n.join(", "):n)}),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 n=new this(e);
20return t.forEach(e=>n.set(e)),n}static accessor(e){let t=this[eT]=this[eT]={accessors:{}},n=t.accessors,i=this.prototype;function r(e){let t=eA(e);n[t]||(!function(e,t){let n=ee.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(e,n,r){return this[i].call(this,t,e,n,r)},configurable:!0})})}(i,e),n[t]=!0)}return ee.isArray(e)?e.forEach(r):r(e),this}}function eM(e,t){let n=this||eE,i=t||n,r=eR.from(i.headers),o=i.data;return ee.forEach(e,function(e){o=e.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function eI(e){return!!(e&&e.__CANCEL__)}function eV(e,t,n){et.call(this,null==e?"canceled":e,et.ERR_CANCELED,t,n),this.name="CanceledError"}eR.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ee.freezeMethods(eR.prototype),ee.freezeMethods(eR),ee.inherits(eV,et,{__CANCEL__:!0});var eD=ex.isStandardBrowserEnv?{write:function(e,t,n,i,r,o){let s=[];s.push(e+"="+encodeURIComponent(t)),ee.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),ee.isString(i)&&s.push("path="+i),ee.isString(r)&&s.push("domain="+r),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ez(e,t){var n,i,r;return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?(i=e,(r=t)?i.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):i):t}var eF=ex.isStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function i(n){let i=n;return e&&(t.setAttribute("href",i),i=t.href),t.setAttribute("href",i),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=i(window.location.href),function(e){let t=ee.isString(e)?i(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},eN=function(e,t){e=e||10;let n=Array(e),i=Array(e),r=0,o=0,s;return t=void 0!==t?t:1e3,function(a){let l=Date.now(),u=i[o];s||(s=l),n[r]=a,i[r]=l;let c=o,d=0;for(;c!==r;)d+=n[c++],c%=e;if((r=(r+1)%e)===o&&(o=(o+1)%e),l-s<t)return;let h=u&&l-u;return h?Math.round(1e3*d/h):void 0}};function ej(e,t){let n=0,i=eN(50,250);return r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,l=i(a);n=o;let u={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&o<=s?(s-o)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}let eG="undefined"!=typeof XMLHttpRequest;var eB=eG&&function(e){return new Promise(function(t,n){let i=e.data,r=eR.from(e.headers).normalize(),o=e.responseType,s;function a(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}ee.isFormData(i)&&(ex.isStandardBrowserEnv||ex.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){let u=e.auth.username||"",c=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(u+":"+c))}let d=ez(e.baseURL,e.url);function h(){if(!l)return;let i=eR.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),r=o&&"text"!==o&&"json"!==o?l.response:l.responseText,s={data:r,status:l.status,statusText:l.statusText,headers:i,config:e,request:l};!function(e,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new et("Request failed with status code "+n.status,[et.ERR_BAD_REQUEST,et.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}(function(e){t(e),a()},function(e){n(e),a()},s),l=null}if(l.open(e.method.toUpperCase(),ef(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=h:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(h)},l.onabort=function(){l&&(n(new et("Request aborted",et.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new et("Network Error",et.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||eg;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new et(t,i.clarifyTimeoutError?et.ETIMEDOUT:et.ECONNABORTED,e,l)),l=null},ex.isStandardBrowserEnv){let p=(e.withCredentials||eF(d))&&e.xsrfCookieName&&eD.read(e.xsrfCookieName);p&&r.set(e.xsrfHeaderName,p)}void 0===i&&r.setContentType(null),"setRequestHeader"in l&&ee.forEach(r.toJSON(),function(e,t){l.setRequestHeader(t,e)}),ee.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),o&&"json"!==o&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",ej(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",ej(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=t=>{l&&(n(!t||t.type?new eV(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));let f=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);if(f&&-1===ex.protocols.indexOf(f)){n(new et("Unsupported protocol "+f+":",et.ERR_BAD_REQUEST,e));return}l.send(i||null)})};let eH={http:null,xhr:eB};ee.forEach(eH,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});var eU={getAdapter(e){e=ee.isArray(e)?e:[e];let{length:t}=e,n,i;for(let r=0;r<t&&(n=e[r],!(i=ee.isString(n)?eH[n.toLowerCase()]:n));r++);if(!i){if(!1===i)throw new et(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw Error(ee.hasOwnProp(eH,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}
20if(!ee.isFunction(i))throw TypeError("adapter is not a function");return i},adapters:eH};function e$(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eV(null,e)}function eq(e){e$(e),e.headers=eR.from(e.headers),e.data=eM.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);let t=eU.getAdapter(e.adapter||eE.adapter);return t(e).then(function(t){return e$(e),t.data=eM.call(e,e.transformResponse,t),t.headers=eR.from(t.headers),t},function(t){return!eI(t)&&(e$(e),t&&t.response&&(t.response.data=eM.call(e,e.transformResponse,t.response),t.response.headers=eR.from(t.response.headers))),Promise.reject(t)})}let eW=e=>e instanceof eR?e.toJSON():e;function eQ(e,t){t=t||{};let n={};function i(e,t,n){return ee.isPlainObject(e)&&ee.isPlainObject(t)?ee.merge.call({caseless:n},e,t):ee.isPlainObject(t)?ee.merge({},t):ee.isArray(t)?t.slice():t}function r(e,t,n){return ee.isUndefined(t)?ee.isUndefined(e)?void 0:i(void 0,e,n):i(e,t,n)}function o(e,t){if(!ee.isUndefined(t))return i(void 0,t)}function s(e,t){return ee.isUndefined(t)?ee.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function a(n,r,o){return o in t?i(n,r):o in e?i(void 0,n):void 0}let l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>r(eW(e),eW(t),!0)};return ee.forEach(Object.keys(e).concat(Object.keys(t)),function(i){let o=l[i]||r,s=o(e[i],t[i],i);ee.isUndefined(s)&&o!==a||(n[i]=s)}),n}let eY="1.3.2",eZ={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eZ[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let eK={};eZ.transitional=function(e,t,n){function i(e,t){return"[Axios v"+eY+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,o)=>{if(!1===e)throw new et(i(r," has been removed"+(t?" in "+t:"")),et.ERR_DEPRECATED);return t&&!eK[r]&&(eK[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}};var eX={assertOptions:function(e,t,n){if("object"!=typeof e)throw new et("options must be an object",et.ERR_BAD_OPTION_VALUE);let i=Object.keys(e),r=i.length;for(;r-- >0;){let o=i[r],s=t[o];if(s){let a=e[o],l=void 0===a||s(a,o,e);if(!0!==l)throw new et("option "+o+" must be "+l,et.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new et("Unknown option "+o,et.ERR_BAD_OPTION)}},validators:eZ};let eJ=eX.validators;class e0{constructor(e){this.defaults=e,this.interceptors={request:new em,response:new em}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=eQ(this.defaults,t);let{transitional:n,paramsSerializer:i,headers:r}=t;void 0!==n&&eX.assertOptions(n,{silentJSONParsing:eJ.transitional(eJ.boolean),forcedJSONParsing:eJ.transitional(eJ.boolean),clarifyTimeoutError:eJ.transitional(eJ.boolean)},!1),void 0!==i&&eX.assertOptions(i,{encode:eJ.function,serialize:eJ.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o;(o=r&&ee.merge(r.common,r[t.method]))&&ee.forEach(["delete","get","head","post","put","patch","common"],e=>{delete r[e]}),t.headers=eR.concat(o,r);let s=[],a=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});let l=[];this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,c=0,d;if(!a){let h=[eq.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,l),d=h.length,u=Promise.resolve(t);c<d;)u=u.then(h[c++],h[c++]);return u}d=s.length;let p=t;for(c=0;c<d;){let f=s[c++],m=s[c++];try{p=f(p)}catch(g){m.call(this,g);break}}try{u=eq.call(this,p)}catch(v){return Promise.reject(v)}for(c=0,d=l.length;c<d;)u=u.then(l[c++],l[c++]);return u}getUri(e){e=eQ(this.defaults,e);let t=ez(e.baseURL,e.url);return ef(t,e.params,e.paramsSerializer)}}ee.forEach(["delete","get","head","options"],function(e){e0.prototype[e]=function(t,n){return this.request(eQ(n||{},{method:e,url:t,data:(n||{}).data}))}}),ee.forEach(["post","put","patch"],function(e){function t(t){return function(n,i,r){return this.request(eQ(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}e0.prototype[e]=t(),e0.prototype[e+"Form"]=t(!0)});class e1{constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,r){!n.reason&&(n.reason=new eV(e,i,r),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
20subscribe(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)}static source(){let e,t=new e1(function(t){e=t});return{token:t,cancel:e}}}let e2={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(e2).forEach(([e,t])=>{e2[t]=e});let e4=function e(t){let n=new e0(t),r=i(e0.prototype.request,n);return ee.extend(r,e0.prototype,n,{allOwnKeys:!0}),ee.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eQ(t,n))},r}(eE);e4.Axios=e0,e4.CanceledError=eV,e4.CancelToken=e1,e4.isCancel=eI,e4.VERSION=eY,e4.toFormData=eu,e4.AxiosError=et,e4.Cancel=e4.CanceledError,e4.all=function(e){return Promise.all(e)},e4.spread=function(e){return function(t){return e.apply(null,t)}},e4.isAxiosError=function(e){return ee.isObject(e)&&!0===e.isAxiosError},e4.mergeConfig=eQ,e4.AxiosHeaders=eR,e4.formToJSON=e=>e_(ee.isHTMLForm(e)?new FormData(e):e),e4.HttpStatusCode=e2,e4.default=e4;var e3=e4},4301:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});let i=document.createElement("i");function r(e){let t="&"+e+";";i.innerHTML=t;let n=i.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},5820:function(e,t,n){"use strict";n.d(t,{M:function(){return y}});var i=n(7294),r=n(9304),o=n(4735),s=n(8868);function a(){let e=(0,i.useRef)(!1);return(0,s.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var l=n(240),u=n(6681);class c extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t}){let n=(0,i.useId)(),r=(0,i.useRef)(null),o=(0,i.useRef)({width:0,height:0,top:0,left:0});return(0,i.useInsertionEffect)(()=>{let{width:e,height:i,top:s,left:a}=o.current;if(t||!r.current||!e||!i)return;r.current.dataset.motionPopId=n;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` 21 [data-motion-pop-id="${n}"] { 22 position: absolute !important; 23 width: ${e}px !important; 24 height: ${i}px !important; 25 top: ${s}px !important; 26 left: ${a}px !important; 27 } 28 `),()=>{document.head.removeChild(l)}},[t]),i.createElement(c,{isPresent:t,childRef:r,sizeRef:o},i.cloneElement(e,{ref:r}))}let h=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:a})=>{let c=(0,u.h)(p),h=(0,i.useId)(),f=(0,i.useMemo)(()=>({id:h,initial:t,isPresent:n,custom:o,onExitComplete(e){for(let t of(c.set(e,!0),c.values()))if(!t)return;r&&r()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return(0,i.useMemo)(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),i.useEffect(()=>{n||c.size||!r||r()},[n]),"popLayout"===a&&(e=i.createElement(d,{isPresent:n},e)),i.createElement(l.O.Provider,{value:f},e)};function p(){return new Map}var f=n(3057),m=n(5411),g=n(6034);let v=e=>e.key||"",y=({children:e,custom:t,initial:n=!0,onExitComplete:l,exitBeforeEnter:u,presenceAffectsLayout:c=!0,mode:d="sync"})=>{u&&(d="wait",(0,g.O)(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=function(){let e=a(),[t,n]=(0,i.useState)(0),r=(0,i.useCallback)(()=>{e.current&&n(t+1)},[t]),s=(0,i.useCallback)(()=>o.ZP.postRender(r),[r]);return[s,t]}(),y=(0,i.useContext)(f.p).forceRender;y&&(p=y);let b=a(),w=function(e){let t=[];
28return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}(e),S=w,x=new Set,_=(0,i.useRef)(S),C=(0,i.useRef)(new Map).current,E=(0,i.useRef)(!0);if((0,s.L)(()=>{E.current=!1,function(e,t){e.forEach(e=>{let n=v(e);t.set(n,e)})}(w,C),_.current=S}),(0,m.z)(()=>{E.current=!0,C.clear(),x.clear()}),E.current)return i.createElement(i.Fragment,null,S.map(e=>i.createElement(h,{key:v(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:c,mode:d},e)));S=[...S];let k=_.current.map(v),P=w.map(v),T=k.length;for(let A=0;A<T;A++){let O=k[A];-1===P.indexOf(O)&&x.add(O)}return"wait"===d&&x.size&&(S=[]),x.forEach(e=>{if(-1!==P.indexOf(e))return;let n=C.get(e);if(!n)return;let r=k.indexOf(e),o=()=>{C.delete(e),x.delete(e);let t=_.current.findIndex(t=>t.key===e);if(_.current.splice(t,1),!x.size){if(_.current=w,!1===b.current)return;p(),l&&l()}};S.splice(r,0,i.createElement(h,{key:v(n),isPresent:!1,onExitComplete:o,custom:t,presenceAffectsLayout:c,mode:d},n))}),S=S.map(e=>{let t=e.key;return x.has(t)?e:i.createElement(h,{key:v(e),isPresent:!0,presenceAffectsLayout:c,mode:d},e)}),"production"!==r.O&&"wait"===d&&S.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),i.createElement(i.Fragment,null,x.size?S:S.map(e=>(0,i.cloneElement)(e)))}},3057:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var i=n(7294);let r=(0,i.createContext)({})},240:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var i=n(7294);let r=(0,i.createContext)(null)},3585:function(e,t,n){"use strict";n.d(t,{E:function(){return oa}});var i,r,o,s,a,l=n(7294);let u=(0,l.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),c=(0,l.createContext)({});var d=n(240),h=n(8868);let p=(0,l.createContext)({strict:!1});function f(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function m(e){return"string"==typeof e||Array.isArray(e)}function g(e){return"object"==typeof e&&"function"==typeof e.start}let v=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView",];function y(e){return g(e.animate)||v.some(t=>m(e[t]))}function b(e){return Boolean(y(e)||e.variants)}function w(e){return Array.isArray(e)?e.join(" "):e}let S=e=>({isEnabled:t=>e.some(e=>!!t[e])}),x={measureLayout:S(["layout","layoutId","drag"]),animation:S(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView",]),exit:S(["exit"]),drag:S(["drag","dragControls"]),focus:S(["whileFocus"]),hover:S(["whileHover","onHoverStart","onHoverEnd"]),tap:S(["whileTap","onTap","onTapStart","onTapCancel"]),pan:S(["onPan","onPanStart","onPanSessionStart","onPanEnd",]),inView:S(["whileInView","onViewportEnter","onViewportLeave",])};var _=n(1741),C=n(6681);let E={hasAnimatedSinceResize:!0,hasEverUpdated:!1},k=1;var P=n(3057);class T extends l.Component{getSnapshotBeforeUpdate(){let{visualElement:e,props:t}=this.props;return e&&e.setProps(t),null}componentDidUpdate(){}render(){return this.props.children}}let A=(0,l.createContext)({}),O=Symbol.for("motionComponentSymbol"),L=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","text","tspan","use","view",];function R(e){if("string"!=typeof e||e.includes("-"));else if(L.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let M={},I=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY",],V=new Set(I);function D(e,{layout:t,layoutId:n}){return V.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!M[e]||"opacity"===e)}let z=e=>!!(null==e?void 0:e.getVelocity),F={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},N=(e,t)=>I.indexOf(e)-I.indexOf(t);function j(e){return e.startsWith("--")}let G=(e,t)=>t&&"number"==typeof e?t.transform(e):e,B=(e,t)=>n=>Math.max(Math.min(n,t),e),H=e=>
28e%1?Number(e.toFixed(5)):e,U=/(-)?([\d]*\.?[\d])+/g,$=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,q=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function W(e){return"string"==typeof e}let Q=e=>({test:t=>W(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Y=Q("deg"),Z=Q("%"),K=Q("px"),X=Q("vh"),J=Q("vw"),ee=Object.assign(Object.assign({},Z),{parse:e=>Z.parse(e)/100,transform:e=>Z.transform(100*e)}),et={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},en=Object.assign(Object.assign({},et),{transform:B(0,1)}),ei=Object.assign(Object.assign({},et),{default:1}),er={...et,transform:Math.round},eo={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,radius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,size:K,top:K,right:K,bottom:K,left:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scale:ei,scaleX:ei,scaleY:ei,scaleZ:ei,skew:Y,skewX:Y,skewY:Y,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:en,originX:ee,originY:ee,originZ:K,zIndex:er,fillOpacity:en,strokeOpacity:en,numOctaves:er};function es(e,t,n,i){let{style:r,vars:o,transform:s,transformKeys:a,transformOrigin:l}=e;a.length=0;let u=!1,c=!1,d=!0;for(let h in t){let p=t[h];if(j(h)){o[h]=p;continue}let f=eo[h],m=G(p,f);if(V.has(h)){if(u=!0,s[h]=m,a.push(h),!d)continue;p!==(f.default||0)&&(d=!1)}else h.startsWith("origin")?(c=!0,l[h]=m):r[h]=m}if(!t.transform&&(u||i?r.transform=function({transform:e,transformKeys:t},{enableHardwareAcceleration:n=!0,allowTransformNone:i=!0},r,o){let s="";for(let a of(t.sort(N),t))s+=`${F[a]||a}(${e[a]}) `;return n&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,r?"":s):i&&r&&(s="none"),s}(e,n,d,i):r.transform&&(r.transform="none")),c){let{originX:g="50%",originY:v="50%",originZ:y=0}=l;r.transformOrigin=`${g} ${v} ${y}`}}let ea=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function el(e,t,n){for(let i in t)z(t[i])||D(i,n)||(e[i]=t[i])}function eu(e,t,n){let i={},r=function(e,t,n){let i=e.style||{},r={};return el(r,i,e),Object.assign(r,function({transformTemplate:e},t,n){return(0,l.useMemo)(()=>{let i=ea();return es(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),i.style=r,i}let ec=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd",]);function ed(e){return ec.has(e)}let eh=e=>!ed(e);try{(i=require("@emotion/is-prop-valid").default)&&(eh=e=>e.startsWith("on")?!ed(e):i(e))}catch(ep){}function ef(e,t,n){return"string"==typeof e?e:K.transform(t+n*e)}let em={offset:"stroke-dashoffset",array:"stroke-dasharray"},eg={offset:"strokeDashoffset",array:"strokeDasharray"};function ev(e,{attrX:t,attrY:n,originX:i,originY:r,pathLength:o,pathSpacing:s=1,pathOffset:a=0,...l},u,c){es(e,l,u,c),e.attrs=e.style,e.style={};let{attrs:d,style:h,dimensions:p}=e;d.transform&&(p&&(h.transform=d.transform),delete d.transform),p&&(void 0!==i||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){let i=ef(t,e.x,e.width),r=ef(n,e.y,e.height);return`${i} ${r}`}(p,void 0!==i?i:.5,void 0!==r?r:.5)),void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==o&&function(e,t,n=1,i=0,r=!0){e.pathLength=1;let o=r?em:eg;e[o.offset]=K.transform(-i);let s=K.transform(t),a=K.transform(n);e[o.array]=`${s} ${a}`}(d,o,s,a,!1)}let ey=()=>({...ea(),attrs:{}});function eb(e,t){let n=(0,l.useMemo)(()=>{let n=ey();return ev(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let i={};el(i,e.style,e),n.style={...i,...n.style}}return n}let ew=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function eS(e,{style:t,vars:n},i,r){for(let o in Object.assign(e.style,t,r&&r.getProjectionStyles(i)),n)e.style.setProperty(o,n[o])}let ex=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength",]);function e_(e,t,n,i){for(let r in eS(e,t,void 0,i),t.attrs)e.setAttribute(ex.has(r)?r:ew(r),t.attrs[r])}function eC(e){let{style:t}=e,n={};for(let i in t)(z(t[i])||D(i,e))&&(n[i]=t[i]);return n}function eE(e){let t=eC(e);for(let n in e)if(z(e[n])){let i="x"===n||"y"===n?"attr"+n.toUpperCase():n;t[i]=e[n]}return t}function ek(e,t,n,i={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,r)),t}let eP=e=>Array.isArray(e),eT=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),eA=e=>eP(e)?e[e.length-1]||0:e;function eO(e){let t=z(e)?e.get():e;return eT(t)?t.toValue():t}let eL=e=>(t,n)=>{let i=(0,l.useContext)(c),r=(0,l.useContext)(d.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,r,o){let s={latestValues:function(e,t,n,i){let r={},o=i(e);for(let s in o)r[s]=eO(o[s]);let{initial:a,animate:l}=e,u=y(e),c=b(e);t&&c&&!u&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let d=!!n&&!1===n.initial;d=d||!1===a;let h=d?l:a;if(h&&"boolean"!=typeof h&&!g(h)){let p=Array.isArray(h)?h:[h];p.forEach(t=>{let n=ek(e,t);if(!n)return;let{transitionEnd:i,transition:o,...s}=n;for(let a in s){let l=s[a];if(Array.isArray(l)){let u=d?l.length-1:0;l=l[u]}
28null!==l&&(r[a]=l)}for(let c in i)r[c]=i[c]})}return r}(i,r,o,e),renderState:t()};return n&&(s.mount=e=>n(i,e,s)),s})(e,t,i,r);return n?o():(0,C.h)(o)},eR={useVisualState:eL({scrapeMotionValuesFromProps:eE,createRenderState:ey,onMount(e,t,{renderState:n,latestValues:i}){try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(r){n.dimensions={x:0,y:0,width:0,height:0}}ev(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),e_(t,n)}})},eM={useVisualState:eL({scrapeMotionValuesFromProps:eC,createRenderState:ea})};function eI(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function eV(e,t,n,i){(0,l.useEffect)(()=>{let r=e.current;if(n&&r)return eI(r,t,n,i)},[e,t,n,i])}function eD(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function ez(e){let t=!!e.touches;return t}(r=s||(s={})).Animate="animate",r.Hover="whileHover",r.Tap="whileTap",r.Drag="whileDrag",r.Focus="whileFocus",r.InView="whileInView",r.Exit="exit";let eF={pageX:0,pageY:0};function eN(e,t="page"){return{point:ez(e)?function(e,t="page"){let n=e.touches[0]||e.changedTouches[0],i=n||eF;return{x:i[t+"X"],y:i[t+"Y"]}}(e,t):function(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}(e,t)}}let ej=(e,t=!1)=>{var n;let i=t=>e(t,eN(t));return t?e=>{let t=e instanceof MouseEvent,n=!t||t&&0===e.button;n&&i(e)}:i},eG=()=>_.j&&null===window.onpointerdown,eB=()=>_.j&&null===window.ontouchstart,eH=()=>_.j&&null===window.onmousedown,eU={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},e$={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function eq(e){if(eG());else if(eB())return e$[e];else if(eH())return eU[e];return e}function eW(e,t,n,i){return eI(e,eq(t),ej(n,"pointerdown"===t),i)}function eQ(e,t,n,i){return eV(e,eq(t),n&&ej(n,"pointerdown"===t),i)}function eY(e){let t=null;return()=>{let n=()=>{t=null};return null===t&&(t=e,n)}}let eZ=eY("dragHorizontal"),eK=eY("dragVertical");function eX(e){let t=!1;if("y"===e)t=eK();else if("x"===e)t=eZ();else{let n=eZ(),i=eK();n&&i?t=()=>{n(),i()}:(n&&n(),i&&i())}return t}function eJ(){let e=eX(!0);return!e||(e(),!1)}function e0(e,t,n){return(i,r)=>{!(!eD(i)||eJ())&&(e.animationState&&e.animationState.setActive(s.Hover,t),n&&n(i,r))}}let e1=(e,t)=>!!t&&(e===t||e1(e,t.parentElement));var e2=n(5411);let e4=(e,t)=>n=>t(e(n)),e3=(...e)=>e.reduce(e4);var e5=n(9304),e6=n(6034);let e8=new WeakMap,e9=new WeakMap,e7=e=>{let t=e8.get(e.target);t&&t(e)},te=e=>{e.forEach(e7)},tt={some:0,all:1};function tn(e,t,n,{root:i,margin:r,amount:o="some",once:a}){(0,l.useEffect)(()=>{if(!e||!n.current)return;let l={root:null==i?void 0:i.current,rootMargin:r,threshold:"number"==typeof o?o:tt[o]},u=e=>{let{isIntersecting:i}=e;if(t.isInView===i||(t.isInView=i,a&&!i&&t.hasEnteredView))return;i&&(t.hasEnteredView=!0),n.animationState&&n.animationState.setActive(s.InView,i);let r=n.getProps(),o=i?r.onViewportEnter:r.onViewportLeave;o&&o(e)};return function(e,t,n){let i=function({root:e,...t}){let n=e||document;e9.has(n)||e9.set(n,{});let i=e9.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(te,{root:e,...t})),i[r]}(t);return e8.set(e,n),i.observe(e),()=>{e8.delete(e),i.unobserve(e)}}(n.current,l,u)},[e,i,r,o])}function ti(e,t,n,{fallback:i=!0}){(0,l.useEffect)(()=>{e&&i&&("production"!==e5.O&&(0,e6.O)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:e}=n.getProps();e&&e(null),n.animationState&&n.animationState.setActive(s.InView,!0)}))},[e])}let tr=e=>t=>(e(t),null),to={inView:tr(function({visualElement:e,whileInView:t,onViewportEnter:n,onViewportLeave:i,viewport:r={}}){let o=(0,l.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(t||n||i);r.once&&o.current.hasEnteredView&&(s=!1);let a="undefined"==typeof IntersectionObserver?ti:tn;a(s,o.current,e,r)}
28),tap:tr(function({onTap:e,onTapStart:t,onTapCancel:n,whileTap:i,visualElement:r}){let o=(0,l.useRef)(!1),a=(0,l.useRef)(null),u={passive:!(t||e||n||f)};function c(){a.current&&a.current(),a.current=null}function d(){return c(),o.current=!1,r.animationState&&r.animationState.setActive(s.Tap,!1),!eJ()}function h(t,i){d()&&(e1(r.current,t.target)?e&&e(t,i):n&&n(t,i))}function p(e,t){d()&&n&&n(e,t)}function f(e,n){c(),!o.current&&(o.current=!0,a.current=e3(eW(window,"pointerup",h,u),eW(window,"pointercancel",p,u)),r.animationState&&r.animationState.setActive(s.Tap,!0),t&&t(e,n))}eQ(r,"pointerdown",e||t||n||i?f:void 0,u),(0,e2.z)(c)}),focus:tr(function({whileFocus:e,visualElement:t}){let{animationState:n}=t,i=()=>{n&&n.setActive(s.Focus,!0)},r=()=>{n&&n.setActive(s.Focus,!1)};eV(t,"focus",e?i:void 0),eV(t,"blur",e?r:void 0)}),hover:tr(function({onHoverStart:e,onHoverEnd:t,whileHover:n,visualElement:i}){eQ(i,"pointerenter",e||n?e0(i,!0,e):void 0,{passive:!e}),eQ(i,"pointerleave",t||n?e0(i,!1,t):void 0,{passive:!t})})};function ts(){let e=(0,l.useContext)(d.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:i}=e,r=(0,l.useId)();(0,l.useEffect)(()=>i(r),[]);let o=()=>n&&n(r);return!t&&n?[!1,o]:[!0]}function ta(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}var tl=n(655),tu=function(){},tc=function(){};let td=(e,t,n)=>Math.min(Math.max(n,e),t);function th(e,t){return e*Math.sqrt(1-t*t)}let tp=["duration","bounce"],tf=["stiffness","damping","mass"];function tm(e,t){return t.some(t=>void 0!==e[t])}function tg(e){var{from:t=0,to:n=1,restSpeed:i=2,restDelta:r}=e,o=(0,tl.__rest)(e,["from","to","restSpeed","restDelta"]);let s={done:!1,value:t},{stiffness:a,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!tm(e,tf)&&tm(e,tp)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let r,o;tu(e<=1e4,"Spring duration must be 10 seconds or less");let s=1-t;s=td(.05,1,s),e=td(.01,10,e/1e3),s<1?(r=t=>{let i=t*s,r=i*e,o=th(t,s);return .001-(i-n)/o*Math.exp(-r)},o=t=>{let i=t*s,o=i*e,a=Math.pow(s,2)*Math.pow(t,2)*e,l=th(Math.pow(t,2),s),u=-r(t)+.001>0?-1:1;return u*((o*n+n-a)*Math.exp(-o))/l}):(r=t=>{let i=Math.exp(-t*e),r=(t-n)*e+1;return -.001+i*r},o=t=>{let i=Math.exp(-t*e),r=(n-t)*(e*e);return i*r});let a=5/e,l=function(e,t,n){let i=n;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(r,o,a);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{let u=Math.pow(l,2)*i;return{stiffness:u,damping:2*s*Math.sqrt(i*u),duration:e}}}(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),p=tv,f=tv;function m(){let e=c?-(c/1e3):0,i=n-t,o=l/(2*Math.sqrt(a*u)),s=Math.sqrt(a/u)/1e3;if(void 0===r&&(r=Math.min(Math.abs(n-t)/100,.4)),o<1){let d=th(s,o);p=t=>n-Math.exp(-o*s*t)*((e+o*s*i)/d*Math.sin(d*t)+i*Math.cos(d*t)),f=t=>{let n=Math.exp(-o*s*t);return o*s*n*(Math.sin(d*t)*(e+o*s*i)/d+i*Math.cos(d*t))-n*(Math.cos(d*t)*(e+o*s*i)-d*i*Math.sin(d*t))}}else if(1===o)p=t=>n-Math.exp(-s*t)*(i+(e+s*i)*t);else{let h=s*Math.sqrt(o*o-1);p=t=>{let r=Math.min(h*t,300);return n-Math.exp(-o*s*t)*((e+o*s*i)*Math.sinh(r)+h*i*Math.cosh(r))/h}}}return m(),{next(e){let t=p(e);if(h)s.done=e>=d;else{let o=1e3*f(e),a=Math.abs(n-t)<=r;s.done=Math.abs(o)<=i&&a}return s.value=s.done?n:t,s},flipTarget(){c=-c,[t,n]=[n,t],m()}}}tg.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let tv=e=>0,ty=(e,t,n)=>{let i=t-e;return 0===i?1:(n-e)/i},tb=(e,t,n)=>-n*e+n*t+e,tw=(e,t)=>n=>Boolean(W(n)&&q.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),tS=(e,t,n)=>i=>{if(!W(i))return i;let[r,o,s,a]=i.match(U);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},tx=B(0,255),t_=Object.assign(Object.assign({},et),{transform:e=>Math.round(tx(e))}),tC={test:tw("rgb","red"),parse:tS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+t_.transform(e)+", "+t_.transform(t)+", "+t_.transform(n)+", "+H(en.transform(i))+")"},tE={test:tw("#"),parse:function(e){let t="",n="",i="",r="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),i=e.substr(5,2),r=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),i=e.substr(3,1),r=e.substr(4,1),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alph
28a:r?parseInt(r,16)/255:1}},transform:tC.transform},tk={test:tw("hsl","hue"),parse:tS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Z.transform(H(t))+", "+Z.transform(H(n))+", "+H(en.transform(i))+")"};function tP(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tT({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let r=0,o=0,s=0;if(t/=100){let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=tP(l,a,e+1/3),o=tP(l,a,e),s=tP(l,a,e-1/3)}else r=o=s=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:i}}let tA=(e,t,n)=>{let i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},tO=[tE,tC,tk],tL=e=>tO.find(t=>t.test(e)),tR=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,tM=(e,t)=>{let n=tL(e),i=tL(t);tc(!!n,tR(e)),tc(!!i,tR(t));let r=n.parse(e),o=i.parse(t);n===tk&&(r=tT(r),n=tC),i===tk&&(o=tT(o),i=tC);let s=Object.assign({},r);return e=>{for(let t in s)"alpha"!==t&&(s[t]=tA(r[t],o[t],e));return s.alpha=tb(r.alpha,o.alpha,e),n.transform(s)}},tI={test:e=>tC.test(e)||tE.test(e)||tk.test(e),parse:e=>tC.test(e)?tC.parse(e):tk.test(e)?tk.parse(e):tE.parse(e),transform:e=>W(e)?e:e.hasOwnProperty("red")?tC.transform(e):tk.transform(e)},tV="${c}",tD="${n}";function tz(e){"number"==typeof e&&(e=`${e}`);let t=[],n=0,i=e.match($);i&&(n=i.length,e=e.replace($,tV),t.push(...i.map(tI.parse)));let r=e.match(U);return r&&(e=e.replace(U,tD),t.push(...r.map(et.parse))),{values:t,numColors:n,tokenised:e}}function tF(e){return tz(e).values}function tN(e){let{values:t,numColors:n,tokenised:i}=tz(e),r=t.length;return e=>{let t=i;for(let o=0;o<r;o++)t=t.replace(o<n?tV:tD,o<n?tI.transform(e[o]):H(e[o]));return t}}let tj=e=>"number"==typeof e?0:e,tG={test:function(e){var t,n,i,r;return isNaN(e)&&W(e)&&(null!==(n=null===(t=e.match(U))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(r=null===(i=e.match($))||void 0===i?void 0:i.length)&&void 0!==r?r:0)>0},parse:tF,createTransformer:tN,getAnimatableNone:function(e){let t=tF(e),n=tN(e);return n(t.map(tj))}},tB=e=>"number"==typeof e;function tH(e,t){return tB(e)?n=>tb(e,t,n):tI.test(e)?tM(e,t):tW(e,t)}let tU=(e,t)=>{let n=[...e],i=n.length,r=e.map((e,n)=>tH(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}},t$=(e,t)=>{let n=Object.assign(Object.assign({},e),t),i={};for(let r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=tH(e[r],t[r]));return e=>{for(let t in i)n[t]=i[t](e);return n}};function tq(e){let t=tG.parse(e),n=t.length,i=0,r=0,o=0;for(let s=0;s<n;s++)i||"number"==typeof t[s]?i++:void 0!==t[s].hue?o++:r++;return{parsed:t,numNumbers:i,numRGB:r,numHSL:o}}let tW=(e,t)=>{let n=tG.createTransformer(t),i=tq(e),r=tq(t),o=i.numHSL===r.numHSL&&i.numRGB===r.numRGB&&i.numNumbers>=r.numNumbers;return o?e3(tU(i.parsed,r.parsed),n):(tu(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?t:e}`)},tQ=(e,t)=>n=>tb(e,t,n);function tY(e,t,{clamp:n=!0,ease:i,mixer:r}={}){let o=e.length;tc(o===t.length,"Both input and output ranges must be the same length"),tc(!i||!Array.isArray(i)||i.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let s=function(e,t,n){var i;let r=[],o=n||(i=e[0],"number"==typeof i?tQ:"string"==typeof i?tI.test(i)?tM:tW:Array.isArray(i)?tU:"object"==typeof i?t$:void 0),s=e.length-1;for(let a=0;a<s;a++){let l=o(e[a],e[a+1]);if(t){let u=Array.isArray(t)?t[a]:t;l=e3(u,l)}r.push(l)}return r}(t,i,r),a=2===o?function([e,t],[n]){return i=>n(ty(e,t,i))}(e,s):function(e,t){let n=e.length,i=n-1;return r=>{let o=0,s=!1;if(r<=e[0]?s=!0:r>=e[i]&&(o=i-1,s=!0),!s){let a=1;for(;a<n&&!(e[a]>r)&&a!==i;a++);o=a-1}let l=ty(e[o],e[o+1],r);return t[o](l)}}(e,s);return n?t=>a(td(e[0],e[o-1],t)):a}let tZ=e=>t=>1-e(1-t),tK=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tX=e=>t=>t*t*((e+1)*t-e),tJ=4/11,t0=8/11,t1=e=>e,t2=e=>Math.pow(e,2),t4=tZ(t2),t3=tK(t2),t5=e=>1-Math.sin(Math.acos(e)),t6=tZ(t5),t8=tK(t6),t9=tX(1.525),t7=tZ(t9),ne=tK(t9),nt=(e=>{let t=tX(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(1.525),nn=4356/361,ni=35442/1805,nr=16061/1805,no=e=>{if(1===e||0===e)return e;let t=e*e;return e<tJ?7.5625*t:e<t0?9.075*t-9.9*e+3.4:e<.9?nn*t-ni*e+nr:10.8*e*e-20.52*e+10.72},ns=tZ(no),na=e=>e<.5?.5*(1-no(1-2*e)):.5*no(2*e-1)+.5;function nl({from:e=0,to:t=1,ease:n,offset:i,duration:r=300}){var o,s;let a={done:!1,value:e}
28,l=Array.isArray(t)?t:[e,t],u=(o=i&&i.length===l.length?i:function(e){let t=e.length;return e.map((e,n)=>0!==n?n/(t-1):0)}(l)).map(e=>e*r);function c(){var e,t;return tY(u,l,{ease:Array.isArray(n)?n:l.map(()=>n||t3).splice(0,l.length-1)})}let d=c();return{next:e=>(a.value=d(e),a.done=e>=r,a),flipTarget(){l.reverse(),d=c()}}}let nu={keyframes:nl,spring:tg,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:i=350,restDelta:r=.5,modifyTarget:o}){let s={done:!1,value:t},a=n*e,l=t+a,u=void 0===o?l:o(l);return u!==l&&(a=u-t),{next(e){let t=-a*Math.exp(-e/i);return s.done=!(t>r||t<-r),s.value=s.done?u:u+t,s},flipTarget(){}}}};var nc=n(4735);function nd(e,t,n=0){return e-t-n}let nh=e=>{let t=({delta:t})=>e(t);return{start:()=>nc.ZP.update(t,!0),stop:()=>nc.qY.update(t)}};function np(e){var t,{from:n,autoplay:i=!0,driver:r=nh,elapsed:o=0,repeat:s=0,repeatType:a="loop",repeatDelay:l=0,onPlay:u,onStop:c,onComplete:d,onRepeat:h,onUpdate:p}=e,f=(0,tl.__rest)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:m}=f,g,v=0,y=f.duration,b,w=!1,S=!0,x,_=function(e){if(Array.isArray(e.to))return nl;if(nu[e.type])return nu[e.type];let t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return tg;return nl}(f);(null===(t=_.needsInterpolation)||void 0===t?void 0:t.call(_,n,m))&&(x=tY([0,100],[n,m],{clamp:!1}),n=0,m=100);let C=_(Object.assign(Object.assign({},f),{from:n,to:m}));return i&&(null==u||u(),(g=r(function e(t){if(S||(t=-t),o+=t,!w){let n=C.next(Math.max(0,o));b=n.value,x&&(b=x(b)),w=S?n.done:o<=0}if(null==p||p(b),w){if(0===v&&(null!=y||(y=o)),v<s){var i,r,u,c;i=o,r=y,((c=S)?i>=r+l:i<=-l)&&(v++,"reverse"===a?o=function(e,t,n=0,i=!0){return i?nd(t+-e,t,n):t-(e-t)+n}(o,y,l,S=v%2==0):(o=nd(o,y,l),"mirror"===a&&C.flipTarget()),w=!1,h&&h())}else g.stop(),d&&d()}})).start()),{stop(){null==c||c(),g.stop()}}}function nf(e,t){return t?e*(1e3/t):0}let nm=e=>1e3*e,ng=(e,t)=>1-3*t+3*e,nv=(e,t)=>3*t-6*e,ny=e=>3*e,nb=(e,t,n)=>((ng(t,n)*e+nv(t,n))*e+ny(t))*e,nw=(e,t,n)=>3*ng(t,n)*e*e+2*nv(t,n)*e+ny(t),nS={linear:t1,easeIn:t2,easeInOut:t3,easeOut:t4,circIn:t5,circInOut:t8,circOut:t6,backIn:t9,backInOut:ne,backOut:t7,anticipate:nt,bounceIn:ns,bounceInOut:na,bounceOut:no},nx=e=>{if(Array.isArray(e)){tc(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,i,r]=e;return function(e,t,n,i){if(e===t&&n===i)return t1;let r=new Float32Array(11);for(let o=0;o<11;++o)r[o]=nb(.1*o,e,n);return o=>0===o||1===o?o:nb(function(t){let i=0,o=1;for(;10!==o&&r[o]<=t;++o)i+=.1;--o;let s=(t-r[o])/(r[o+1]-r[o]),a=i+.1*s,l=nw(a,e,n);return l>=.001?function(e,t,n,i){for(let r=0;r<8;++r){let o=nw(t,n,i);if(0===o)break;let s=nb(t,n,i)-e;t-=s/o}return t}(t,a,e,n):0===l?a:function(e,t,n,i,r){let o,s,a=0;do(o=nb(s=t+(n-t)/2,i,r)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++a<10);return s}(t,i,i+.1,e,n)}(o),t,i)}(t,n,i,r)}return"string"==typeof e?(tc(void 0!==nS[e],`Invalid easing type '${e}'`),nS[e]):e},n_=e=>Array.isArray(e)&&"number"!=typeof e[0],nC=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&tG.test(t)&&!t.startsWith("url(")),nE=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),nk=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nP=()=>({type:"keyframes",ease:"linear",duration:.3}),nT=e=>({type:"keyframes",duration:.8,values:e}),nA={x:nE,y:nE,z:nE,rotate:nE,rotateX:nE,rotateY:nE,rotateZ:nE,scaleX:nk,scaleY:nk,scale:nk,opacity:nP,backgroundColor:nP,color:nP,default:nk},nO=(e,t)=>{let n;return{to:t,...(eP(t)?nT:nA[e]||nA.default)(t)}},nL=new Set(["brightness","contrast","saturate","opacity"]);function nR(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=n.match(U)||[];if(!i)return e;let r=n.replace(i,""),o=nL.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}let nM=/([a-z-]*)\(.*?\)/g,nI=Object.assign(Object.assign({},tG),{getAnimatableNone(e){let t=e.match(nM);return t?t.map(nR).join(" "):e}}),nV={...eo,color:tI,backgroundColor:tI,outlineColor:tI,fill:tI,stroke:tI,borderColor:tI,borderTopColor:tI,borderRightColor:tI,borderBottomColor:tI,borderLeftColor:tI,filter:nI,WebkitFilter:nI},nD=e=>nV[e];function nz(e,t){var n;let i=nD(e);return i!==nI&&(i=tG),null===(n=i.getAnimatableNone)||void 0===n?void 0:n.call(i,t)}let nF={current:!1};function nN(e,t){let n=performance.now(),i=({timestamp:r})=>{let o=r-n;o>=t&&(nc.qY.read(i),e(o-t))};return nc.ZP.read(i,!0),()=>nc.qY.read(i)}let nj=!1;function nG(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function nB(e){return"number"==typeof e?0:nz("",e)}function nH(e,t){return e[t]||e.default||e}function nU(e,t,n,i={}){return nF.current&&(i={type:!1}),t.start(r=>{let o,s=function(e,t,n,i,r){let o=nH(i,e)||{},s=void 0!==o.from?o.from:t.get(),a=nC(e,n);"none"===s&&a&&"string"==typeof n?s=nz(e,n):nG(s)&&"string"==typeof n?s=nB(n):!Array.isArray(n)&&nG(n)&&"string"==typeof s&&(n=nB(s));let l=nC(e,s);return tu(l===a,`You are trying to animate ${e} from "${s}" to "${n}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${n} via the \`style\` property.`),l&&a&&!1!==o.type?function(){var i,a,l,u;let c={from:s,to:n,velocity:t.getVelocity(),onComplete:r,onUpdate:e=>t.set(e)};return"inertia"===o.type||"decay"===o.type?function({from:e=0,velocity:t=0,min:n,max:i,power:r=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:h,onStop:p}){let f;function m(e){return void 0!==n&&e<n||void 0!==i&&e>i}function g(e){return void 0===n?i:void 0===i?n:Math.abs(n-e)<Math.abs(i-e)?n:i}function v(e){null==f||f.stop(),f=np(Object.assign(Object.assign({},e),{driver:c,onUpdate(t){var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:h,onStop:p}))}function y(e){v(Object.assign({type:"spring",stiffness:s,damping:a,restDelta:l},e))}if(m(e))y({from:e,velocity:t,to:g(e)});else{let b=r*t+e;void 0!==u&&(b=u(b));let w=g(b),S=w===n?-1:1,x,_,C=e=>{x=_,_=e,t=nf(e-x,(0,nc.$B)().delta),(1===S&&e>w||-1===S&&e<w)&&y({from:e,to:w,velocity:t})};v({type:"decay",from:e,velocity:t,timeConstant:o,power:r,restDelta:l,modifyTarget:u,onUpdate:m(b)?C:void 0})}return{stop:()=>null==f?void 0:f.stop()}}({...c,...o}):np({...(i=o,Array.isArray(c.to)&&void 0===i.duration&&(i.duration=.8),Array.isArray((u=c).to)&&null===u.to[0]&&(u.to=[...u.to],u.to[0]=u.from),!function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,...u}){return!!Object.keys(u).length}(i)&&(i={...i,...nO(e,c.to)}),{...c,...function({ease:e,times:t,yoyo:n,flip:i,loop:r,...o}
28){let s={...o};return t&&(s.offset=t),o.duration&&(s.duration=nm(o.duration)),o.repeatDelay&&(s.repeatDelay=nm(o.repeatDelay)),e&&(s.ease=n_(e)?e.map(nx):nx(e)),"tween"===o.type&&(s.type="keyframes"),(n||r||i)&&(tu(!nj,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nj=!0,n?s.repeatType="reverse":r?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=r||n||i||o.repeat),"spring"!==o.type&&(s.type="keyframes"),s}(i)}),onUpdate(e){c.onUpdate(e),o.onUpdate&&o.onUpdate(e)},onComplete(){c.onComplete(),o.onComplete&&o.onComplete()}})}:function(){let e=eA(n);return t.set(e),r(),o.onUpdate&&o.onUpdate(e),o.onComplete&&o.onComplete(),{stop(){}}}}(e,t,n,i,r),a=function(e,t){var n,i;let r=nH(e,t)||{};return null!==(i=null!==(n=r.delay)&&void 0!==n?n:e.delay)&&void 0!==i?i:0}(i,e),l=()=>o=s(),u;return a?u=nN(l,nm(a)):l(),()=>{u&&u(),o&&o.stop()}})}let n$=e=>/^\-?\d*\.?\d+$/.test(e),nq=e=>/^0[^.\s]+$/.test(e);function nW(e,t){-1===e.indexOf(t)&&e.push(t)}function nQ(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class nY{constructor(){this.subscriptions=[]}add(e){return nW(this.subscriptions,e),()=>nQ(this.subscriptions,e)}notify(e,t,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){let o=this.subscriptions[r];o&&o(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let nZ=e=>!isNaN(parseFloat(e));class nK{constructor(e){this.version="7.6.15",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new nY,this.velocityUpdateSubscribers=new nY,this.renderSubscribers=new nY,this.canTrackVelocity=!1,this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:n,timestamp:i}=(0,nc.$B)();this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,nc.ZP.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),t&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>nc.ZP.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=nZ(this.current)}onChange(e){return this.updateSubscribers.add(e)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(e){return e(this.get()),this.renderSubscribers.add(e)}attach(e){this.passiveEffect=e}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?nf(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.stopAnimation=e(t)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function nX(e){return new nK(e)}let nJ=e=>t=>t.test(e),n0=[et,K,Z,Y,J,X,{test:e=>"auto"===e,parse:e=>e}],n1=e=>n0.find(nJ(e)),n2=[...n0,tI,tG],n4=e=>n2.find(nJ(e));function n3(e,t,n){let i=e.getProps();return ek(i,t,void 0!==n?n:i.custom,function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}function n5(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,nX(n))}function n6(e,t){if(!t)return;let n=t[e]||t.default||t;return n.from}function n8(e){return Boolean(z(e)&&e.add)}function n9(e,t,n={}){var i;let r=n3(e,t,n.custom),{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);let s=r?()=>n7(e,r,n):()=>Promise.resolve(),a=(null===(i=e.variantChildren)||void 0===i?void 0:i.size)?(i=0)=>{let{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,i=0,r=1,o){let s=[],a=(e.variantChildren.size-1)*i,l=1===r?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(ie).forEach((e,i)=>{s.push(n9(e,t,{...o,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,r+i,s,a,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([s(),a(n.delay)]);{let[u,c]="beforeChildren"===l?[s,a]:[a,s];return u().then(c)}}function n7(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=e.makeTargetAnimatable(t),u=e.getValue("willChange");i&&(s=i);let c=[],d=r&&(null===(o=e.animationState)||void 0===o?void 0:o.getState()[r]);for(let h in l){let p=e.getValue(h),f=l[h];if(!p||void 0===f||d&&it(d,h))continue;let m={delay:n,...s};e.shouldReduceMotion&&V.has(h)&&(m={...m,type:!1,delay:0});let g=nU(h,p,f,m);n8(u)&&(u.add(h),g=g.then(()=>u.remove(h))),c.push(g)}return Promise.all(c).then(()=>{a&&function(e,t){let n=n3(e,t),{transitionEnd:i={},transition:r={},...o}=n?e.makeTargetAnimatable(n,!1):{};for(let s in o={...o,...i}){let a=eA(o[s]);n5(e,s,a)}}(e,a)})}function ie(e,t){return e.sortNodePosition(t)}function it({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}let ii=[s.Animate,s.InView,s.Focus,s.Hover,s.Tap,s.Drag,s.Exit,],ir=[...ii].reverse(),io=ii.length;function is(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!ta(t,e)}function ia(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let il={animation:tr(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=function(e){var t;let n=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){let r=t.map(t=>n9(e,t,n));i=Promise.all(r)}else if("string"==typeof t)i=n9(e,t,n);else{let o="function"==typeof t?n3(e,t,n.custom):t;i=n7(e,o,n)}return i.then(()=>e.notify("AnimationComplete",t))})(e,t,n))),i={[s.Animate]:ia(!0),[s.InView]:ia(),[s.Hover]:ia(),[s.Tap]:ia(),[s.Drag]:ia(),[s.Focus]:ia(),[s.Exit]:ia()},r=!0,o=(t,n)=>{let i=n3(e,n);if(i){let{transition:r,transitionEnd:o,...s}=i;t={...t,...s,...o}}return t};function a(t,s){var a;let l=e.getProps(),u=e.getVariantContext(!0)||{},c=[],d=new Set,h={},p=1/0;for(let f=0;f<io;f++){let v=ir[f],y=i[v],b=null!==(a=l[v])&&void 0!==a?a:u[v],w=m(b),S=v===s?y.isActive:null;!1===S&&(p=f);let x=b===u[v]&&b!==l[v]&&w;if(x&&r&&e.manuallyAnimateOnMount&&(x=!1),y.protectedKeys={...h},!y.isActive&&null===S||!b&&!y.prevProp||g(b)||"boolean"==typeof b)continue;let _=is(y.prevProp,b),C=_||v===s&&y.isActive&&!x&&w||f>p&&w,E=Array.isArray(b)?b:[b],k=E.reduce(o,{});!1===S&&(k={});let{prevResolvedValues:P={}}=y,T={...P,...k},A=e=>{C=!0,d.delete(e),y.needsAnimating[e]=!0};for(let O in T){let L=k[O],R=P[O];h.hasOwnProperty(O)||(L!==R?eP(L)&&eP(R)?!ta(L,R)||_?A(O):y.protectedKeys[O]=!0:void 0!==L?A(O):d.add(O):void 0!==L&&d.has(O)?A(O):y.protectedKeys[O]=!0)}y.prevProp=b,y.prevResolvedValues=k,y.isActive&&(h={...h,...k}),r&&e.blockInitialAnimation&&(C=!1),C&&!x&&c.push(...E.map(e=>({animation:e,options:{type:v,...t}})))}if(d.size){let M={};d.forEach(t=>{let n=e.getBaseTarget(t);void 0!==n&&(M[t]=n)}),c.push({animation:M})}let I=Boolean(c.length);return r&&!1===l.initial&&!e.manuallyAnimateOnMount&&(I=!1),r=!1,I?n(c):Promise.resolve()}
28return{animateChanges:a,setActive:function(t,n,r){var o;if(i[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var i;return null===(i=e.animationState)||void 0===i?void 0:i.setActive(t,n)}),i[t].isActive=n;let s=a(r,t);for(let l in i)i[l].protectedKeys={};return s},setAnimateFunction:function(t){n=t(e)},getState:()=>i}}(e)),g(t)&&(0,l.useEffect)(()=>t.subscribe(e),[t])}),exit:tr(e=>{let{custom:t,visualElement:n}=e,[i,r]=ts(),o=(0,l.useContext)(d.O);(0,l.useEffect)(()=>{n.isPresent=i;let e=n.animationState&&n.animationState.setActive(s.Exit,!i,{custom:o&&o.custom||t});e&&!i&&e.then(r)},[i])})},iu=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),ic=e=>iu(e)&&e.hasOwnProperty("z"),id=(e,t)=>Math.abs(e-t);class ih{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=ig(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){if(tB(e)&&tB(t))return id(e,t);if(iu(e)&&iu(t)){let n=id(e.x,t.x),i=id(e.y,t.y),r=ic(e)&&ic(t)?id(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(i,2)+Math.pow(r,2))}}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:i}=e,{timestamp:r}=(0,nc.$B)();this.history.push({...i,timestamp:r});let{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{if(this.lastMoveEvent=e,this.lastMoveEventInfo=ip(t,this.transformPagePoint),eD(e)&&0===e.buttons){this.handlePointerUp(e,t);return}nc.ZP.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:i}=this.handlers,r=ig(ip(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),i&&i(e,r)},ez(e)&&e.touches.length>1)return;this.handlers=t,this.transformPagePoint=n;let i=eN(e),r=ip(i,this.transformPagePoint),{point:o}=r,{timestamp:s}=(0,nc.$B)();this.history=[{...o,timestamp:s}];let{onSessionStart:a}=t;a&&a(e,ig(r,this.history)),this.removeListeners=e3(eW(window,"pointermove",this.handlePointerMove),eW(window,"pointerup",this.handlePointerUp),eW(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),nc.qY.update(this.updatePoint)}}function ip(e,t){return t?{point:t(e.point)}:e}function im(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ig({point:e},t){var n;return{point:e,delta:im(e,iv(t)),offset:im(e,(n=t,n[0])),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null,r=iv(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>nm(.1)));)n--;if(!i)return{x:0,y:0};let o=(r.timestamp-i.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,.1)}}function iv(e){return e[e.length-1]}function iy(e){return e.max-e.min}function ib(e,t=0,n=.01){return Math.abs(e-t)<=n}function iw(e,t,n,i=.5){e.origin=i,e.originPoint=tb(t.min,t.max,e.origin),e.scale=iy(n)/iy(t),(ib(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=tb(n.min,n.max,e.origin)-e.originPoint,(ib(e.translate)||isNaN(e.translate))&&(e.translate=0)}function iS(e,t,n,i){iw(e.x,t.x,n.x,null==i?void 0:i.originX),iw(e.y,t.y,n.y,null==i?void 0:i.originY)}function ix(e,t,n){e.min=n.min+t.min,e.max=e.min+iy(t)}function i_(e,t,n){e.min=t.min-n.min,e.max=e.min+iy(t)}function iC(e,t,n){i_(e.x,t.x,n.x),i_(e.y,t.y,n.y)}function iE(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function ik(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function iP(e,t,n){return{min:iT(e,t),max:iT(e,n)}}function iT(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}let iA=()=>({translate:0,scale:1,origin:0,originPoint:0}),iO=()=>({x:iA(),y:iA()}),iL=()=>({min:0,max:0}),iR=()=>({x:iL(),y:iL()});function iM(e){return[e("x"),e("y")]}function iI({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function iV(e){return void 0===e||1===e}function iD({scale:e,scaleX:t,scaleY:n}){return!iV(e)||!iV(t)||!iV(n)}function iz(e){return iD(e)||iF(e)||e.z||e.rotate||e.rotateX||e.rotateY}function iF(e){return iN(e.x)||iN(e.y)}function iN(e){return e&&"0%"!==e}function ij(e,t,n,i,r){var o,s,a,l,u,c;return void 0!==r&&(o=e,s=r,e=(a=i)+s*(o-a)),i+n*((l=e)-i)+t}function iG(e,t=0,n=1,i,r){e.min=ij(e.min,t,n,i,r),e.max=ij(e.max,t,n,i,r)}function iB(e,{x:t,y:n}){iG(e.x,t.translate,t.scale,t.originPoint),iG(e.y,n.translate,n.scale,n.originPoint)}function iH(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function iU(e,t){e.min=e.min+t,e.max=e.max+t}function i$(e,t,[n,i,r]){let o=void 0!==t[r]?t[r]:.5,s=tb(e.min,e.max,o);iG(e,t[n],t[i],s,t.scale)}let iq=["x","scaleX","originX"],iW=["y","scaleY","originY"];function iQ(e,t){i$(e.x,t,iq),i$(e.y,t,iW)}function iY(e,t){return iI(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}let iZ=new WeakMap;class iK{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iR(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){if(!1===this.visualElement.isPresent)return;let n=e=>{this.stopAnimation(),t&&this.snapToCursor(eN(e,"page").point)},i=(e,t)=>{var n;let{drag:i,dragPropagation:r,onDragStart:o}=this.getProps();(!i||r||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eX(i),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iM(e=>{var t,n;let i=this.getAxisMotionValue(e).get()||0;if(Z.test(i)){let r=null===(n=null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.layoutBox[e];if(r){let o=iy(r);i=o*(parseFloat(i)/100)}}this.originPoint[e]=i}),null==o||o(e,t),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(s.Drag,!0))},r=(e,t)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:s}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),null!==this.currentDirection&&(null==r||r(this.currentDirection));return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),null==o||o(e,t)},o=(e,t)=>this.stop(e,t);this.panSession=new ih(e,{onSessionStart:n,onStart:i,onMove:r,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:r}=this.getProps();null==r||r(e,t)}cancel(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(s.Drag,!1)}updateAxis(e,t,n){let{drag:i}=this.getProps();if(!n||!iX(e,i,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?tb(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?tb(n,e,i.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;e&&f(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:i,right:r}){return{x:iE(e.x,n,r),y:iE(e.y,t,i)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:iP(e,"left","right"),y:iP(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&iM(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e,t;let{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!f(n))return!1;let r=n.current;tc(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let s=function(e,t,n){let i=iY(e,n),{scroll:r}=t;return r&&(iU(i.x,r.offset.x),iU(i.y,r.offset.y)),i}(r,o.root,this.visualElement.getTransformPagePoint()),a={x:ik((e=o.layout.layoutBox).x,s.x),y:ik(e.y,s.y)};if(i){let l=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!l,l&&(a=iI(l))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=iM(s=>{var l;if(!iX(s,t,this.currentDirection))return;let u=null!==(l=null==a?void 0:a[s])&&void 0!==l?l:{};o&&(u={min:0,max:0});let c={type:"inertia",velocity:n?e[s]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...u};return this.startAxisValueAnimation(s,c)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return nU(e,n,0,t)}stopAnimation(){iM(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var t,n;let i="_drag"+e.toUpperCase(),r=this.visualElement.getProps()[i];return r||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)}snapToCursor(e){iM(t=>{let{drag:n}=this.getProps();if(!iX(t,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(t);if(i&&i.layout){let{min:o,max:s}=i.layout.layoutBox[t];r.set(e[t]-tb(o,s,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;let{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!f(n)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iM(e=>{let t=this.getAxisMotionValue(e);if(t){let n=t.get();r[e]=function(e,t){let n=.5,i=iy(e),r=iy(t);return r>i?n=ty(t.min,t.max-i,e.min):i>r&&(n=ty(e.min,e.max-r,t.min)),td(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),iM(e=>{if(!iX(e,t,null))return;let n=this.getAxisMotionValue(e),{min:i,max:o}=this.constraints[e];n.set(tb(i,o,r[e]))})}addListeners(){var e;if(!this.visualElement.current)return;iZ.set(this.visualElement,this);let t=this.visualElement.current,n=eW(t,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
28=this.getProps();t&&n&&this.start(e)}),i=()=>{let{dragConstraints:e}=this.getProps();f(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&(null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout()),i();let s=eI(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(iM(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),null==a||a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function iX(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let iJ={pan:tr(function({onPan:e,onPanStart:t,onPanEnd:n,onPanSessionStart:i,visualElement:r}){let o=(0,l.useRef)(null),{transformPagePoint:s}=(0,l.useContext)(u),a={onSessionStart:i,onStart:t,onMove:e,onEnd(e,t){o.current=null,n&&n(e,t)}};(0,l.useEffect)(()=>{null!==o.current&&o.current.updateHandlers(a)}),eQ(r,"pointerdown",(e||t||n||i)&&function(e){o.current=new ih(e,a,{transformPagePoint:s})}),(0,e2.z)(()=>o.current&&o.current.end())}),drag:tr(function(e){let{dragControls:t,visualElement:n}=e,i=(0,C.h)(()=>new iK(n));(0,l.useEffect)(()=>t&&t.subscribe(i),[i,t]),(0,l.useEffect)(()=>i.addListeners(),[i])})};function i0(e){return"string"==typeof e&&e.startsWith("var(--")}let i1=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function i2(e,t,n=1){tc(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,r]=function(e){let t=i1.exec(e);if(!t)return[,];let[,n,i]=t;return[n,i]}(e);if(!i)return;let o=window.getComputedStyle(t).getPropertyValue(i);return o?o.trim():i0(r)?i2(r,t,n+1):r}let i4=new Set(["width","height","top","left","right","bottom","x","y",]),i3=e=>i4.has(e),i5=e=>Object.keys(e).some(i3),i6=(e,t)=>{e.set(t,!1),e.set(t)},i8=e=>e===et||e===K;(o=a||(a={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";let i9=(e,t)=>parseFloat(e.split(", ")[t]),i7=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let r=i.match(/^matrix3d\((.+)\)$/);if(r)return i9(r[1],t);{let o=i.match(/^matrix\((.+)\)$/);return o?i9(o[1],e):0}},re=new Set(["x","y","z"]),rt=I.filter(e=>!re.has(e)),rn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:i7(4,13),y:i7(5,14)},ri=(e,t,n)=>{let i=t.measureViewportBox(),r=t.current,o=getComputedStyle(r),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=rn[e](i,o)}),t.render();let l=t.measureViewportBox();return n.forEach(n=>{let i=t.getValue(n);i6(i,a[n]),e[n]=rn[n](l,o)}),e},rr=(e,t,n={},i={})=>{t={...t},i={...i};let r=Object.keys(t).filter(i3),o=[],s=!1,a=[];if(r.forEach(r=>{let l=e.getValue(r);if(!e.hasValue(r))return;let u=n[r],c=n1(u),d=t[r],h;if(eP(d)){let p=d.length,f=null===d[0]?1:0;c=n1(u=d[f]);for(let m=f;m<p;m++)h?tc(n1(d[m])===h,"All keyframes must be of the same type"):(h=n1(d[m]),tc(h===c||i8(c)&&i8(h),"Keyframes must be of the same dimension as the current value"))}else h=n1(d);if(c!==h){if(i8(c)&&i8(h)){let g=l.get();"string"==typeof g&&l.set(parseFloat(g)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&h===K&&(t[r]=d.map(parseFloat))}else(null==c?void 0:c.transform)&&(null==h?void 0:h.transform)&&(0===u||0===d)?0===u?l.set(h.transform(u)):t[r]=c.transform(d):(s||(o=function(e){let t=[];return rt.forEach(n=>{let i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),i[r]=void 0!==i[r]?i[r]:t[r],i6(l,d))}}),!a.length)return{target:t,transitionEnd:i};{let l=a.indexOf("height")>=0?window.pageYOffset:null,u=ri(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),_.j&&null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:i}}},ro=(e,t,n,i)=>{var r,o,s,a;let l=function(e,{...t},n){let i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};
28for(let r in n&&(n={...n}),e.values.forEach(e=>{let t=e.get();if(!i0(t))return;let n=i2(t,i);n&&e.set(n)}),t){let o=t[r];if(!i0(o))continue;let s=i2(o,i);s&&(t[r]=s,n&&void 0===n[r]&&(n[r]=o))}return{target:t,transitionEnd:n}}(e,t,i);return t=l.target,i=l.transitionEnd,o=t,a=i,i5(o)?rr(e,o,n,a):{target:o,transitionEnd:a}},rs={current:null},ra={current:!1},rl=Object.keys(x),ru=rl.length,rc=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete",];class rd{constructor({parent:e,props:t,reducedMotionConfig:n,visualState:i},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>nc.ZP.render(this.render,!1,!0);let{latestValues:o,renderState:s}=i;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=s,this.parent=e,this.props=t,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=r,this.isControllingVariants=y(t),this.isVariantNode=b(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:a,...l}=this.scrapeMotionValuesFromProps(t);for(let u in l){let c=l[u];void 0!==o[u]&&z(c)&&(c.set(o[u],!1),n8(a)&&a.add(u))}}scrapeMotionValuesFromProps(e){return{}}mount(e){var t;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(t=this.parent)||void 0===t?void 0:t.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),ra.current||function(){if(ra.current=!0,_.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rs.current=e.matches;e.addListener(t),t()}else rs.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rs.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,t,n;for(let i in null===(e=this.projection)||void 0===e||e.unmount(),nc.qY.update(this.notifyUpdate),nc.qY.render(this.render),this.valueSubscriptions.forEach(e=>e()),null===(t=this.removeFromVariantTree)||void 0===t||t.call(this),null===(n=this.parent)||void 0===n||n.children.delete(this),this.events)this.events[i].clear();this.current=null}bindToMotionValue(e,t){let n=V.has(e),i=t.onChange(t=>{this.latestValues[e]=t,this.props.onUpdate&&nc.ZP.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures(e,t,n,i,r,o){let s=[];"production"!==e5.O&&n&&t&&tc(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let a=0;a<ru;a++){let u=rl[a],{isEnabled:c,Component:d}=x[u];c(e)&&d&&s.push((0,l.createElement)(d,{key:u,...e,visualElement:this}))}if(!this.projection&&r){this.projection=new r(i,this.latestValues,this.parent&&this.parent.projection);let{layoutId:h,layout:p,drag:m,dragConstraints:g,layoutScroll:v}=e;this.projection.setOptions({layoutId:h,layout:p,alwaysMeasureLayout:Boolean(m)||g&&f(g),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof p?p:"both",initialPromotionConfig:o,layoutScroll:v})}return s}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iR()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=e;for(let t=0;t<rc.length;t++){let n=rc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){let{willChange:i}=t;
28for(let r in t){let o=t[r],s=n[r];if(z(o))e.addValue(r,o),n8(i)&&i.add(r);else if(z(s))e.addValue(r,nX(o)),n8(i)&&i.remove(r);else if(s!==o){if(e.hasValue(r)){let a=e.getValue(r);a.hasAnimated||a.set(o)}else{let l=e.getStaticValue(r);e.addValue(r,nX(void 0!==l?l:o))}}}for(let u in n)void 0===t[u]&&e.removeValue(u);return t}(this,this.scrapeMotionValuesFromProps(e),this.prevMotionValues)}getProps(){return this.props}getVariant(e){var t;return null===(t=this.props.variants)||void 0===t?void 0:t[e]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var e;return this.isVariantNode?this:null===(e=this.parent)||void 0===e?void 0:e.getClosestVariantNode()}getVariantContext(e=!1){var t,n;if(e)return null===(t=this.parent)||void 0===t?void 0:t.getVariantContext();if(!this.isControllingVariants){let i=(null===(n=this.parent)||void 0===n?void 0:n.getVariantContext())||{};return void 0!==this.props.initial&&(i.initial=this.props.initial),i}let r={};for(let o=0;o<rp;o++){let s=rh[o],a=this.props[s];(m(a)||!1===a)&&(r[s]=a)}return r}addVariantChild(e){var t;let n=this.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),()=>n.variantChildren.delete(e)}addValue(e,t){this.hasValue(e)&&this.removeValue(e),this.values.set(e,t),this.latestValues[e]=t.get(),this.bindToMotionValue(e,t)}removeValue(e){var t;this.values.delete(e),null===(t=this.valueSubscriptions.get(e))||void 0===t||t(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=nX(t),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(t=ek(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||z(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new nY),this.events[e].add(t)}notify(e,...t){var n;null===(n=this.events[e])||void 0===n||n.notify(...t)}}let rh=["initial",...ii],rp=rh.length;class rf extends rd{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:i},r){let o=function(e,t,n){var i;let r={};for(let o in e){let s=n6(o,t);r[o]=void 0!==s?s:null===(i=n.getValue(o))||void 0===i?void 0:i.get()}return r}(n,e||{},this);if(i&&(t&&(t=i(t)),n&&(n=i(n)),o&&(o=i(o))),r){!function(e,t,n){var i,r;let o=Object.keys(t).filter(t=>!e.hasValue(t)),s=o.length;if(s)for(let a=0;a<s;a++){let l=o[a],u=t[l],c=null;Array.isArray(u)&&(c=u[0]),null===c&&(c=null!==(r=null!==(i=n[l])&&void 0!==i?i:e.readValue(l))&&void 0!==r?r:t[l]),null!=c&&("string"==typeof c&&(n$(c)||nq(c))?c=parseFloat(c):!n4(c)&&tG.test(u)&&(c=nz(l,u)),e.addValue(l,nX(c)),void 0===n[l]&&(n[l]=c),null!==c&&e.setBaseTarget(l,c))}}(this,n,o);let s=ro(this,n,o,t);t=s.transitionEnd,n=s.target}return{transition:e,transitionEnd:t,...n}}}class rm extends rf{readValueFromInstance(e,t){if(V.has(t)){let n=nD(t);return n&&n.default||0}{var i;let r=window.getComputedStyle(e),o=(j(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:t}){return iY(e,t)}build(e,t,n,i){es(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e){return eC(e)}renderInstance(e,t,n,i){eS(e,t,n,i)}}class rg extends rf{getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){var n;return V.has(t)?(null===(n=nD(t))||void 0===n?void 0:n.default)||0:(t=ex.has(t)?t:ew(t),e.getAttribute(t))}measureInstanceViewportBox(){return iR()}scrapeMotionValuesFromProps(e){return eE(e)}build(e,t,n,i){ev(e,t,n,i.transformTemplate)}renderInstance(e,t,n,i){e_(e,t,n,i)}}let rv=(e,t)=>
28R(e)?new rg(t,{enableHardwareAcceleration:!1}):new rm(t,{enableHardwareAcceleration:!0});function ry(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rb={correct(e,t){if(!t.target)return e;if("string"==typeof e){if(!K.test(e))return e;e=parseFloat(e)}let n=ry(e,t.target.x),i=ry(e,t.target.y);return`${n}% ${i}%`}},rw="_$css";class rS extends l.Component{componentDidMount(){var e;let{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:o}=t;Object.assign(M,rx),o&&(n.group&&n.group.add(o),i&&i.register&&r&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),E.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:i,isPresent:r}=this.props,o=n.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===r||(r?o.promote():o.relegate()||nc.ZP.postRender(()=>{var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),(null==t?void 0:t.group)&&t.group.remove(i),(null==n?void 0:n.deregister)&&n.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;null==e||e()}render(){return null}}let rx={borderRadius:{...rb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius",]},borderTopLeftRadius:rb,borderTopRightRadius:rb,borderBottomLeftRadius:rb,borderBottomRightRadius:rb,boxShadow:{correct(e,{treeScale:t,projectionDelta:n}){let i=e,r=e.includes("var("),o=[];r&&(e=e.replace(i1,e=>(o.push(e),rw)));let s=tG.parse(e);if(s.length>5)return i;let a=tG.createTransformer(e),l="number"!=typeof s[0]?1:0,u=n.x.scale*t.x,c=n.y.scale*t.y;s[0+l]/=u,s[1+l]/=c;let d=tb(u,c,.5);"number"==typeof s[2+l]&&(s[2+l]/=d),"number"==typeof s[3+l]&&(s[3+l]/=d);let h=a(s);if(r){let p=0;h=h.replace(rw,()=>{let e=o[p];return p++,e})}return h}}},r_=["TopLeft","TopRight","BottomLeft","BottomRight"],rC=r_.length,rE=e=>"string"==typeof e?parseFloat(e):e,rk=e=>"number"==typeof e||K.test(e);function rP(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}let rT=rO(0,.5,t6),rA=rO(.5,.95,t1);function rO(e,t,n){return i=>i<e?0:i>t?1:n(ty(e,t,i))}function rL(e,t){e.min=t.min,e.max=t.max}function rR(e,t){rL(e.x,t.x),rL(e.y,t.y)}function rM(e,t,n,i,r){var o,s,a,l,u,c;return e-=t,o=e,e=i+(s=1/n)*(o-i),void 0!==r&&(l=e,u=1/r,e=(c=i)+u*(l-c)),e}function rI(e,t,[n,i,r],o,s){!function(e,t=0,n=1,i=.5,r,o=e,s=e){if(Z.test(t)){t=parseFloat(t);let a=tb(s.min,s.max,t/100);t=a-s.min}if("number"!=typeof t)return;let l=tb(o.min,o.max,i);e===o&&(l-=t),e.min=rM(e.min,t,n,l,r),e.max=rM(e.max,t,n,l,r)}(e,t[n],t[i],t[r],t.scale,o,s)}let rV=["x","scaleX","originX"],rD=["y","scaleY","originY"];function rz(e,t,n,i){rI(e.x,t,rV,null==n?void 0:n.x,null==i?void 0:i.x),rI(e.y,t,rD,null==n?void 0:n.y,null==i?void 0:i.y)}function rF(e){return 0===e.translate&&1===e.scale}function rN(e){return rF(e.x)&&rF(e.y)}function rj(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function rG(e){return iy(e.x)/iy(e.y)}class rB{constructor(){this.members=[]}add(e){nW(this.members,e),e.scheduleRender()}remove(e){if(nQ(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){let t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let i=t;i>=0;i--){let r=this.members[i];if(!1!==r.isPresent){n=r;break}}return!!n&&(this.promote(n),!0)}promote(e,t){var n;let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&i.hide()}}
28exitAnimationComplete(){this.members.forEach(e=>{var t,n,i,r,o;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(o=null===(i=e.resumingFrom)||void 0===i?void 0:(r=i.options).onExitComplete)||void 0===o||o.call(r)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rH(e,t,n){let i="",r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(i=`translate3d(${r}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){let{rotate:s,rotateX:a,rotateY:l}=n;s&&(i+=`rotate(${s}deg) `),a&&(i+=`rotateX(${a}deg) `),l&&(i+=`rotateY(${l}deg) `)}let u=e.x.scale*t.x,c=e.y.scale*t.y;return(1!==u||1!==c)&&(i+=`scale(${u}, ${c})`),i||"none"}let rU=(e,t)=>e.depth-t.depth;class r${constructor(){this.children=[],this.isDirty=!1}add(e){nW(this.children,e),this.isDirty=!0}remove(e){nQ(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rU),this.isDirty=!1,this.children.forEach(e)}}let rq=["","X","Y","Z"],rW=0;function rQ({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(e,n={},i=null==t?void 0:t()){this.id=rW++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(rK),this.nodes.forEach(r2),this.nodes.forEach(r4)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=n,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let r=0;r<this.path.length;r++)this.path[r].shouldResetTransform=!0;this.root===this&&(this.nodes=new r$)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new nY),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);null==n||n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,t){this.potentialNodes.set(e,t)}mount(t,n=!1){var i;if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:o,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),null===(i=this.parent)||void 0===i||i.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),n&&(o||r)&&(this.isLayoutDirty=!0),e){let a,l=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,a&&a(),a=nN(l,250),E.hasAnimatedSinceResize&&(E.hasAnimatedSinceResize=!1,this.nodes.forEach(r1))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{var r,o,a,l,u;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let c=null!==(o=null!==(r=this.options.transition)&&void 0!==r?r:s.getDefaultTransition())&&void 0!==o?o:r7,{onLayoutAnimationStart:d,onLayoutAnimationComplete:h}=s.getProps(),p=!this.targetLayout||!rj(this.targetLayout,i)||n,f=!t&&n;if((null===(a=this.resumeFrom)||void 0===a?void 0:a.instance)||f||t&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,f);let m={...nH(c,"layout"),onPlay:d,onComplete:h};s.shouldReduceMotion&&(m.delay=0,m.type=!1),this.startAnimation(m)}else t||0!==this.animationProgress||r1(this),this.isLead()&&(null===(u=(l=this.options).onExitComplete)||void 0===u||u.call(l));this.targetLayout=i})}unmount(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,nc.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1}startUpdate(){var e;!this.isUpdateBlocked()&&(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(r3),this.animationId++)}willUpdate(e=!0){var t,n,i;if(this.root.isUpdateBlocked()){null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);return}
28if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let r=0;r<this.path.length;r++){let o=this.path[r];o.shouldResetTransform=!0,o.updateScroll("snapshot")}let{layoutId:s,layout:a}=this.options;if(void 0===s&&!a)return;let l=null===(i=this.options.visualElement)||void 0===i?void 0:i.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){let e=this.isUpdateBlocked();if(e){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rJ);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(oe),this.potentialNodes.clear()),this.nodes.forEach(r0),this.nodes.forEach(rY),this.nodes.forEach(rZ),this.clearAllSnapshots(),nc.iW.update(),nc.iW.preRender(),nc.iW.render())}clearAllSnapshots(){this.nodes.forEach(rX),this.sharedNodes.forEach(r5)}scheduleUpdateProjection(){nc.ZP.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){nc.ZP.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var e;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++){let n=this.path[t];n.updateScroll()}let i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iR(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(e=this.options.visualElement)||void 0===e||e.notify("LayoutMeasure",this.layout.layoutBox,null==i?void 0:i.layoutBox)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){var e;if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!rN(this.projectionDelta),i=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==i?void 0:i(this.latestValues,""),s=o!==this.prevTransformTemplateValue;t&&(n||iz(this.latestValues)||s)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),i=this.removeElementScroll(n);return e&&(i=this.removeTransform(i)),ot((t=i).x),ot(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return iR();let t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(iU(t.x,n.offset.x),iU(t.y,n.offset.y)),t}removeElementScroll(e){let t=iR();rR(t,e);for(let n=0;n<this.path.length;n++){let i=this.path[n],{scroll:r,options:o}=i;if(i!==this.root&&r&&o.layoutScroll){if(r.isRoot){rR(t,e);let{scroll:s}=this.root;s&&(iU(t.x,-s.offset.x),iU(t.y,-s.offset.y))}iU(t.x,r.offset.x),iU(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){let n=iR();rR(n,e);for(let i=0;i<this.path.length;i++){let r=this.path[i];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iQ(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),iz(r.latestValues)&&iQ(n,r.latestValues)}return iz(this.latestValues)&&iQ(n,this.latestValues),n}removeTransform(e){var t;let n=iR();rR(n,e);for(let i=0;i<this.path.length;i++){let r=this.path[i];if(!r.instance||!iz(r.latestValues))continue;iD(r.latestValues)&&r.updateSnapshot();let o=iR(),s=r.measurePageBox();rR(o,s),rz(n,r.latestValues,null===(t=r.snapshot)||void 0===t?void 0:t.layoutBox,o)}return iz(this.latestValues)&&rz(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var e,t,n,i;let r=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:o,layoutId:s}=this.options;if(this.layout&&(o||s)){if(!this.targetDelta&&!this.relativeTarget){let a=this.getClosestProjectingParent();a&&a.layout?(this.relativeParent=a,this.relativeTarget=iR(),this.relativeTargetOrigin=iR(),iC(this.relativeTargetOrigin,this.layout.layoutBox,a.layout.layoutBox),rR(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&((this.target||(this.target=iR(),this.targetWithTransforms=iR()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target))?(t=this.target,n=this.relativeTarget,i=this.relativeParent.target,ix(t.x,n.x,i.x),ix(t.y,n.y,i.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):rR(this.target,this.layout.layoutBox),iB(this.target,this.targetDelta)):rR(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let l=this.getClosestProjectingParent();l&&Boolean(l.resumingFrom)===Boolean(this.resumingFrom)&&!l.options.layoutScroll&&l.target?(this.relativeParent=l,this.relativeTarget=iR(),this.relativeTargetOrigin=iR(),iC(this.relativeTargetOrigin,this.target,l.target),rR(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||iD(this.parent.latestValues)||iF(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var e;let{isProjectionDirty:t,isTransformDirty:n}=this;this.isProjectionDirty=this.isTransformDirty=!1;let i=this.getLead(),r=Boolean(this.resumingFrom)||this!==i,o=!0;if(t&&(o=!1),r&&n&&(o=!1),o)return;let{layout:s,layoutId:a}=this.options;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||a))return;rR(this.layoutCorrected,this.layout.layoutBox),function(e,t,n,i=!1){var r,o;let s=n.length;if(!s)return;t.x=t.y=1;let a,l;for(let u=0;u<s;u++)l=(a=n[u]).projectionDelta,(null===(o=null===(r=a.instance)||void 0===r?void 0:r.style)||void 0===o?void 0:o.display)!=="contents"&&(i&&a.options.layoutScroll&&a.scroll&&a!==a.root&&iQ(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,iB(e,l)),i&&iz(a.latestValues)&&iQ(e,a.latestValues));t.x=iH(t.x),t.y=iH(t.y)}(this.layoutCorrected,this.treeScale,this.path,r);let{target:l}=i;if(!l)return;this.projectionDelta||(this.projectionDelta=iO(),this.projectionDeltaWithTransform=iO());let u=this.treeScale.x,c=this.treeScale.y,d=this.projectionTransform;iS(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rH(this.projectionDelta,this.treeScale),(this.projectionTransform!==d||this.treeScale.x!==u||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t,n,i;null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(i=this.getStack())||void 0===i||i.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){var n,i;let r=this.snapshot,o=(null==r?void 0:r.latestValues)||{},s={...this.latestValues},a=iO();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;let l=iR(),u=(null==r?void 0:r.source)!==(null===(n=this.layout)||void 0===n?void 0:n.source),c=1>=((null===(i=this.getStack())||void 0===i?void 0:i.members.length)||0),d=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(r9));this.animationProgress=0,this.mixTargetDelta=t=>{var n,i,r,h,p;let f=t/1e3;r6(a.x,e.x,f),r6(a.y,e.y,f),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(iC(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),i=this.relativeTarget,r=this.relativeTargetOrigin,h=l,p=f,r8(i.x,r.x,h.x,p),r8(i.y,r.y,h.y,p)),u&&(this.animationValues=s,function(e,t,n,i,r,o){var s,a,l,u;r?(e.opacity=tb(0,null!==(s=n.opacity)&&void 0!==s?s:1,rT(i)),e.opacityExit=tb(null!==(a=t.opacity)&&void 0!==a?a:1,0,rA(i))):o&&(e.opacity=tb(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=n.op
28acity)&&void 0!==u?u:1,i));for(let c=0;c<rC;c++){let d=`border${r_[c]}Radius`,h=rP(t,d),p=rP(n,d);if(void 0===h&&void 0===p)continue;h||(h=0),p||(p=0);let f=0===h||0===p||rk(h)===rk(p);f?(e[d]=Math.max(tb(rE(h),rE(p),i),0),(Z.test(p)||Z.test(h))&&(e[d]+="%")):e[d]=p}(t.rotate||n.rotate)&&(e.rotate=tb(t.rotate||0,n.rotate||0,i))}(s,o,this.latestValues,f,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=f},this.mixTargetDelta(0)}startAnimation(e){var t,n;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(nc.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nc.ZP.update(()=>{E.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n={}){let i=z(e)?e:nX(e);return nU("",i,1e3,n),{stop:()=>i.stop(),isAnimating:()=>i.isAnimating()}}(0,1e3,{...e,onUpdate:t=>{var n;this.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:()=>{var t;null===(t=e.onComplete)||void 0===t||t.call(e),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:i,latestValues:r}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&on(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||iR();let o=iy(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+o;let s=iy(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+s}rR(t,n),iQ(t,r),iS(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){var n,i,r;this.sharedNodes.has(e)||this.sharedNodes.set(e,new rB);let o=this.sharedNodes.get(e);o.add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(r=null===(i=t.options.initialPromotionConfig)||void 0===i?void 0:i.shouldPreserveFollowOpacity)||void 0===r?void 0:r.call(i,t)})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;let i={};for(let r=0;r<rq.length;r++){let o="rotate"+rq[r];n[o]&&(i[o]=n[o],e.setStaticValue(o,0))}for(let s in null==e||e.render(),i)e.setStaticValue(s,i[s]);e.scheduleRender()}getProjectionStyles(e={}){var t,n,i;let r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";let o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=eO(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let a={};return this.options.layoutId&&(a.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,a.pointerEvents=eO(e.pointerEvents)||""),this.hasProjected&&!iz(this.latestValues)&&(a.transform=o?o({},""):"none",this.hasProjected=!1),a}let l=s.animationValues||s.latestValues;this.applyTransformsToTarget(),r.transform=rH(this.projectionDeltaWithTransform,this.treeScale,l),o&&(r.transform=o(l,r.transform));let{x:u,y:c}=this.projectionDelta;for(let d in r.transformOrigin=`${100*u.origin}% ${100*c.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(i=null!==(n=l.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:r.opacity=s===this?void 0!==l.opacity?l.opacity:"":void 0!==l.opacityExit?l.opacityExit:0,M){if(void 0===l[d])continue;let{correct:h,applyTo:p}=M[d],f=h(l[d],s);if(p){let m=p.length;for(let g=0;g<m;g++)r[p[g]]=f}else r[d]=f}return this.options.layoutId&&(r.pointerEvents=s===this?eO(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
28resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(rJ),this.root.sharedNodes.clear()}}}function rY(e){e.updateLayout()}function rZ(e){var t,n,i;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:o,measuredBox:s}=e.layout,{animationType:a}=e.options,l=r.source!==e.layout.source;"size"===a?iM(e=>{let t=l?r.measuredBox[e]:r.layoutBox[e],n=iy(t);t.min=o[e].min,t.max=t.min+n}):on(a,r.layoutBox,o)&&iM(e=>{let t=l?r.measuredBox[e]:r.layoutBox[e],n=iy(o[e]);t.max=t.min+n});let u=iO();iS(u,o,r.layoutBox);let c=iO();l?iS(c,e.applyTransform(s,!0),r.measuredBox):iS(c,o,r.layoutBox);let d=!rN(u),h=!1;if(!e.resumeFrom){let p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){let{snapshot:f,layout:m}=p;if(f&&m){let g=iR();iC(g,r.layoutBox,f.layoutBox);let v=iR();iC(v,o,m.layoutBox),rj(g,v)||(h=!0)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:r,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else e.isLead()&&(null===(i=(n=e.options).onExitComplete)||void 0===i||i.call(n));e.options.transition=void 0}function rK(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function rX(e){e.clearSnapshot()}function rJ(e){e.clearMeasurements()}function r0(e){let{visualElement:t}=e.options;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function r2(e){e.resolveTargetDelta()}function r4(e){e.calcProjection()}function r3(e){e.resetRotation()}function r5(e){e.removeLeadSnapshot()}function r6(e,t,n){e.translate=tb(t.translate,0,n),e.scale=tb(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function r8(e,t,n,i){e.min=tb(t.min,n.min,i),e.max=tb(t.max,n.max,i)}function r9(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let r7={duration:.45,ease:[.4,0,.1,1]};function oe(e,t){let n=e.root;for(let i=e.path.length-1;i>=0;i--)if(Boolean(e.path[i].instance)){n=e.path[i];break}let r=n&&n!==e.root?n.instance:document,o=r.querySelector(`[data-
28projection-id="${t}"]`);o&&e.mount(o,!0)}function ot(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function on(e,t,n){return"position"===e||"preserve-aspect"===e&&!ib(rG(t),rG(n),.2)}let oi=rQ({attachResizeListener:(e,t)=>eI(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),or={current:void 0},oo=rQ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent(){if(!or.current){let e=new oi(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),or.current=e}return or.current},resetTransform(e,t){e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),os={...il,...to,...iJ,measureLayout:function(e){let[t,n]=ts(),i=(0,l.useContext)(P.p);return l.createElement(rS,{...e,layoutGroup:i,switchLayoutGroup:(0,l.useContext)(A),isPresent:t,safeToRemove:n})}},oa=function(e){function t(t,n={}){return function({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:n,useRender:i,useVisualState:r,Component:o}){e&&function(e){for(let t in e)"projectionNodeConstructor"===t?x.projectionNodeConstructor=e[t]:x[t].Component=e[t]}(e);let s=(0,l.forwardRef)(function(s,a){var g,v,b;let S={...(0,l.useContext)(u),...s,layoutId:function({layoutId:e}){let t=(0,l.useContext)(P.p).id;return t&&void 0!==e?t+"-"+e:e}(s)},{isStatic:O}=S,L=null,R=function(e){let{initial:t,animate:n}=function(e,t){if(y(e)){let{initial:n,animate:i}=e;return{initial:!1===n||m(n)?n:void 0,animate:m(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,l.useContext)(c));return(0,l.useMemo)(()=>({initial:t,animate:n}),[w(t),w(n)])}(s),M=O?void 0:(0,C.h)(()=>{if(E.hasEverUpdated)return k++}),I=r(s,O);if(!O&&_.j){R.visualElement=function(e,t,n,i){let r=(0,l.useContext)(c).visualElement,o=(0,l.useContext)(p),s=(0,l.useContext)(d.O),a=(0,l.useContext)(u).reducedMotion,f=(0,l.useRef)();i=i||o.renderer,!f.current&&i&&(f.current=i(e,{visualState:t,parent:r,props:n,presenceId:s?s.id:void 0,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:a}));let m=f.current;return(0,h.L)(()=>{m&&m.render()}),(0,l.useEffect)(()=>{m&&m.animationState&&m.animationState.animateChanges()}),(0,h.L)(()=>()=>m&&m.notify("Unmount"),[]),m}(o,I,S,t);let V=(0,l.useContext)(p).strict,D=(0,l.useContext)(A);R.visualElement&&(L=R.visualElement.loadFeatures(S,V,e,M,n||x.projectionNodeConstructor,D))}return l.createElement(T,{visualElement:R.visualElement,props:S},L,l.createElement(c.Provider,{value:R},i(o,s,M,(v=R.visualElement,b=a,(0,l.useCallback)(e=>{e&&I.mount&&I.mount(e),v&&(e?v.mount(e):v.unmount()),b&&("function"==typeof b?b(e):f(b)&&(b.current=e))},[v])),I,O,R.visualElement)))});return s[O]=o,s}(e(t,n))}if("undefined"==typeof Proxy)return t;let n=new Map;return new Proxy(t,{get:(e,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},n,i,r){let o=R(e)?eR:eM;return{...o,preloadedFeatures:n,useRender:function(e=!1){let t=(t,n,i,r,{latestValues:o},s)=>{let a=R(t)?eb:eu,u=a(n,o,s),c=function(e,t,n){let i={};for(let r in e)(eh(r)||!0===n&&ed(r)||!t&&!ed(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(n,"string"==typeof t,e),d={...c,...u,ref:r};return i&&(d["data-projection-id"]=i),(0,l.createElement)(t,d)};return t}(t),createVisualElement:i,projectionNodeConstructor:r,Component:e}})(e,t,os,rv,oo))},1741:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});let i="undefined"!=typeof document},9304:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var i=n(3454);let r=(void 0===i||i.env,"production")},6681:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var i=n(7294);function r(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8868:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var i=n(7294),r=n(1741);let o=r.j?i.useLayoutEffect:i.useEffect},5411:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var i=n(7294);function r(e){return(0,i.useEffect)(()=>()=>e(),[])}},6034:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let i=new Set;function r(e,t,n){e||i.has(t)||(console.warn(t),n&&console.warn(n),i.add(t))}},4735:function(e,t,n){"use strict";n.d(t,{qY:function(){return p},ZP:function(){return b},iW:function(){return f},$B:function(){return y}});let i=1/60*1e3,r="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),o="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(r()),i),s=!0,a=!1,l=!1,u={delta:0,timestamp:0},c=["read","update","preRender","render","postRender",],d=c.reduce((e,t)=>
28(e[t]=function(e){let t=[],n=[],i=0,r=!1,o=!1,s=new WeakSet,a={schedule(e,o=!1,a=!1){let l=a&&r,u=l?t:n;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(i=t.length)),e},cancel(e){let t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process(l){if(r){o=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,i=t.length)for(let u=0;u<i;u++){let c=t[u];c(l),s.has(c)&&(a.schedule(c),e())}r=!1,o&&(o=!1,a.process(l))}};return a}(()=>a=!0),e),{}),h=c.reduce((e,t)=>{let n=d[t];return e[t]=(e,t=!1,i=!1)=>(a||v(),n.schedule(e,t,i)),e},{}),p=c.reduce((e,t)=>(e[t]=d[t].cancel,e),{}),f=c.reduce((e,t)=>(e[t]=()=>d[t].process(u),e),{}),m=e=>d[e].process(u),g=e=>{a=!1,u.delta=s?i:Math.max(Math.min(e-u.timestamp,40),1),u.timestamp=e,l=!0,c.forEach(m),l=!1,a&&(s=!1,o(g))},v=()=>{a=!0,s=!0,l||o(g)},y=()=>u;var b=h},3402:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var i=n(2761),r=n(5364);let o={tokenize:function(e,t,n){return(0,i.f)(e,function(e){return null===e||(0,r.Ch)(e)?t(e):n(e)},"linePrefix")},partial:!0}},2761:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var i=n(5364);function r(e,t,n,r){let o=r?r-1:Number.POSITIVE_INFINITY,s=0;return function(r){return(0,i.xz)(r)?(e.enter(n),function r(a){return(0,i.xz)(a)&&s++<o?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}},5364:function(e,t,n){"use strict";n.d(t,{jv:function(){return i},H$:function(){return s},n9:function(){return l},Av:function(){return u},pY:function(){return r},AF:function(){return o},sR:function(){return a},Ch:function(){return d},z3:function(){return c},xz:function(){return h},Xh:function(){return f},B8:function(){return p}});let i=m(/[A-Za-z]/),r=m(/\d/),o=m(/[\dA-Fa-f]/),s=m(/[\dA-Za-z]/),a=m(/[!-/:-@[-`{-~]/),l=m(/[#-'*+\--9=?A-Z^-~]/);function u(e){return null!==e&&(e<32||127===e)}function c(e){return null!==e&&(e<0||32===e)}function d(e){return null!==e&&e<-2}function h(e){return -2===e||-1===e||32===e}let p=m(/\s/),f=m(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},1905:function(e,t,n){"use strict";function i(e,t,n,i){let r=e.length,o=0,s;if(t=t<0?-t>r?0:r+t:t>r?r:t,n=n>0?n:0,i.length<1e4)(s=Array.from(i)).unshift(t,n),[].splice.apply(e,s);else for(n&&[].splice.apply(e,[t,n]);o<i.length;)(s=i.slice(o,o+1e4)).unshift(t,0),[].splice.apply(e,s),o+=1e4,t+=1e4}function r(e,t){return e.length>0?(i(e,e.length,0,t),e):t}n.d(t,{V:function(){return r},d:function(){return i}})},2987:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var i=n(5364);function r(e){return null===e||(0,i.z3)(e)||(0,i.B8)(e)?1:(0,i.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var i=n(1905);let r={}.hasOwnProperty;function o(e){let t={},n=-1;for(;++n<e.length;)s(t,e[n]);return t}function s(e,t){let n;for(n in t){let i=r.call(e,n)?e[n]:void 0,o=i||(e[n]={}),s=t[n],l;for(l in s){r.call(o,l)||(o[l]=[]);let u=s[l];a(o[l],Array.isArray(u)?u:u?[u]:[])}}}function a(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);(0,i.d)(e,0,0,r)}},889:function(e,t,n){"use strict";function i(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCharCode(n)}n.d(t,{o:function(){return i}})},7881:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var i=n(4301),r=n(889);let o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function s(e){return e.replace(o,a)}function a(e,t,n){if(t)return t;let o=n.charCodeAt(0);if(35===o){let s=n.charCodeAt(1),a=120===s||88===s;return(0,r.o)(n.slice(a?2:1),a?16:10)}return(0,i.T)(n)||e}},1098:function(e,t,n){"use strict";function i(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return i}})},3233:function(e,t,n){"use strict";function i(e,t,n){let i=[],r=-1;for(;++r<e.length;){let o=e[r].resolveAll;o&&!i.includes(o)&&(t=o(t,n),i.push(o))}return t}n.d(t,{C:function(){return i}})},7536:function(e,t,n){"use strict";n.d(t,{cI:function(){return eg}});var i=n(7294),r=e=>
28"checkbox"===e.type,o=e=>e instanceof Date,s=e=>null==e;let a=e=>"object"==typeof e;var l=e=>!s(e)&&!Array.isArray(e)&&a(e)&&!o(e),u=e=>l(e)&&e.target?r(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),h=e=>Array.isArray(e)?e.filter(Boolean):[],p=e=>void 0===e,f=(e,t,n)=>{if(!t||!l(e))return n;let i=h(t.split(/[,[\].]+?/)).reduce((e,t)=>s(e)?e:e[t],e);return p(i)||i===e?p(e[t])?n:e[t]:i};let m={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},g={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},v={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};i.createContext(null);var y=(e,t,n,i=!0)=>{let r={defaultValues:t._defaultValues};for(let o in e)Object.defineProperty(r,o,{get(){let r=o;return t._proxyFormState[r]!==g.all&&(t._proxyFormState[r]=!i||g.all),n&&(n[r]=!0),e[r]}});return r},b=e=>l(e)&&!Object.keys(e).length,w=(e,t,n)=>{let{name:i,...r}=e;return b(r)||Object.keys(r).length>=Object.keys(t).length||Object.keys(r).find(e=>t[e]===(!n||g.all))},S=e=>Array.isArray(e)?e:[e],x=e=>"string"==typeof e,_=(e,t,n,i)=>x(e)?(i&&t.watch.add(e),f(n,e)):Array.isArray(e)?e.map(e=>(i&&t.watch.add(e),f(n,e))):(i&&(t.watchAll=!0),n),C=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},E="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function k(e){let t,n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(E&&(e instanceof Blob||e instanceof FileList))&&(n||l(e))))return e;else if(t=n?[]:{},Array.isArray(e)||C(e))for(let i in e)t[i]=k(e[i]);else t=e;return t}var P=(e,t,n,i,r)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[i]:r||!0}}:{},T=e=>/^\w*$/.test(e),A=e=>h(e.replace(/["|']|\]/g,"").split(/\.|\[/));function O(e,t,n){let i=-1,r=T(t)?[t]:A(t),o=r.length,s=o-1;for(;++i<o;){let a=r[i],u=n;if(i!==s){let c=e[a];u=l(c)||Array.isArray(c)?c:isNaN(+r[i+1])?{}:[]}e[a]=u,e=e[a]}return e}let L=(e,t,n)=>{for(let i of n||Object.keys(e)){let r=f(e,i);if(r){let{_f:o,...s}=r;if(o&&t(o.name)){if(o.ref.focus){o.ref.focus();break}if(o.refs&&o.refs[0].focus){o.refs[0].focus();break}}else l(s)&&L(s,t)}}};var R=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),M=(e,t,n)=>{let i=h(f(e,n));return O(i,"root",t[n]),O(e,n,i),e},I=e=>"boolean"==typeof e,V=e=>"file"===e.type,D=e=>"function"==typeof e,z=e=>x(e)||i.isValidElement(e),F=e=>"radio"===e.type,N=e=>e instanceof RegExp;let j={value:!1,isValid:!1},G={value:!0,isValid:!0};var B=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!p(e[0].attributes.value)?p(e[0].value)||""===e[0].value?G:{value:e[0].value,isValid:!0}:G:j}return j};let H={isValid:!1,value:null};var U=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,H):H;function $(e,t,n="validate"){if(z(e)||Array.isArray(e)&&e.every(z)||I(e)&&!e)return{type:n,message:z(e)?e:"",ref:t}}var q=e=>l(e)&&!N(e)?e:{value:e,message:""},W=async(e,t,n,i,o)=>{let{ref:a,refs:u,required:c,maxLength:d,minLength:h,min:p,max:f,pattern:m,validate:g,name:y,valueAsNumber:w,mount:S,disabled:_}=e._f;if(!S||_)return{};let C=u?u[0]:a,E=e=>{i&&C.reportValidity&&(C.setCustomValidity(I(e)?"":e||""),C.reportValidity())},k={},T=F(a),A=r(a),O=(w||V(a))&&!a.value||""===t||Array.isArray(t)&&!t.length,L=P.bind(null,y,n,k),R=(e,t,n,i=v.maxLength,r=v.minLength)=>{let o=e?t:n;k[y]={type:e?i:r,message:o,ref:a,...L(e?i:r,o)}};if(o?!Array.isArray(t)||!t.length:c&&(!(T||A)&&(O||s(t))||I(t)&&!t||A&&!B(u).isValid||T&&!U(u).isValid)){let{value:M,message:j}=z(c)?{value:!!c,message:c}:q(c);if(M&&(k[y]={type:v.required,message:j,ref:C,...L(v.required,j)},!n))return E(j),k}if(!O&&(!s(p)||!s(f))){let G,H,W=q(f),Q=q(p);if(s(t)||isNaN(t)){let Y=a.valueAsDate||new Date(t),Z=e=>new Date(new Date().toDateString()+" "+e),K="time"==a.type,X="week"==a.type;x(W.value)&&t&&(G=K?Z(t)>Z(W.value):X?t>W.value:Y>new Date(W.value)),x(Q.value)&&t&&(H=K?Z(t)<Z(Q.value):X?t<Q.value:Y<new Date(Q.value))}else{let J=a.valueAsNumber||(t?+t:t);s(W.value)||(G=J>W.value),s(Q.value)||(H=J<Q.value)}if((G||H)&&(R(!!G,W.message,Q.message,v.max,v.min),!n))return E(k[y].message),k}if((d||h)&&!O&&(x(t)||o&&Array.isArray(t))){let ee=q(d),et=q(h),en=!s(ee.value)&&t.length>ee.value,ei=!s(et.value)&&t.length<et.value;if((en||ei)&&(R(en,ee.message,et.message),!n))return E(k[y].message),k}if(m&&!O&&x(t)){let{value:er,message:eo}=q(m);
28if(N(er)&&!t.match(er)&&(k[y]={type:v.pattern,message:eo,ref:a,...L(v.pattern,eo)},!n))return E(eo),k}if(g){if(D(g)){let es=await g(t),ea=$(es,C);if(ea&&(k[y]={...ea,...L(v.validate,ea.message)},!n))return E(ea.message),k}else if(l(g)){let el={};for(let eu in g){if(!b(el)&&!n)break;let ec=$(await g[eu](t),C,eu);ec&&(el={...ec,...L(eu,ec.message)},E(ec.message),n&&(k[y]=el))}if(!b(el)&&(k[y]={ref:C,...el},!n))return k}}return E(!0),k},Q=e=>({isOnSubmit:!e||e===g.onSubmit,isOnBlur:e===g.onBlur,isOnChange:e===g.onChange,isOnAll:e===g.all,isOnTouch:e===g.onTouched});function Y(e){for(let t in e)if(!p(e[t]))return!1;return!0}function Z(e,t){let n=T(t)?[t]:A(t),i=1==n.length?e:function(e,t){let n=t.slice(0,-1).length,i=0;for(;i<n;)e=p(e)?i++:e[t[i++]];return e}(e,n),r=n[n.length-1],o;i&&delete i[r];for(let s=0;s<n.slice(0,-1).length;s++){let a=-1,u,c=n.slice(0,-(s+1)),d=c.length-1;for(s>0&&(o=e);++a<c.length;){let h=c[a];u=u?u[h]:e[h],d===a&&(l(u)&&b(u)||Array.isArray(u)&&Y(u))&&(o?delete o[h]:delete e[h]),o=u}}return e}function K(){let e=[],t=t=>{for(let n of e)n.next(t)},n=t=>(e.push(t),{unsubscribe(){e=e.filter(e=>e!==t)}}),i=()=>{e=[]};return{get observers(){return e},next:t,subscribe:n,unsubscribe:i}}var X=e=>s(e)||!a(e);function J(e,t){if(X(e)||X(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let r of n){let s=e[r];if(!i.includes(r))return!1;if("ref"!==r){let a=t[r];if(o(s)&&o(a)||l(s)&&l(a)||Array.isArray(s)&&Array.isArray(a)?!J(s,a):s!==a)return!1}}return!0}var ee=e=>{let t=e?e.ownerDocument:0,n=t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement;return e instanceof n},et=e=>"select-multiple"===e.type,en=e=>F(e)||r(e),ei=e=>ee(e)&&e.isConnected,er=e=>{for(let t in e)if(D(e[t]))return!0;return!1};function eo(e,t={}){let n=Array.isArray(e);if(l(e)||n)for(let i in e)Array.isArray(e[i])||l(e[i])&&!er(e[i])?(t[i]=Array.isArray(e[i])?[]:{},eo(e[i],t[i])):s(e[i])||(t[i]=!0);return t}var es=(e,t)=>(function e(t,n,i){let r=Array.isArray(t);if(l(t)||r)for(let o in t)Array.isArray(t[o])||l(t[o])&&!er(t[o])?p(n)||X(i[o])?i[o]=Array.isArray(t[o])?eo(t[o],[]):{...eo(t[o])}:e(t[o],s(n)?{}:n[o],i[o]):J(t[o],n[o])?delete i[o]:i[o]=!0;return i})(e,t,eo(t)),ea=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:i})=>p(e)?e:t?""===e?NaN:e?+e:e:n&&x(e)?new Date(e):i?i(e):e;function el(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:V(t)?t.files:F(t)?U(e.refs).value:et(t)?[...t.selectedOptions].map(({value:e})=>e):r(t)?B(e.refs).value:ea(p(t.value)?e.ref.value:t.value,e)}var eu=(e,t,n,i)=>{let r={};for(let o of e){let s=f(t,o);s&&O(r,o,s._f)}return{criteriaMode:n,names:[...e],fields:r,shouldUseNativeValidation:i}},ec=e=>p(e)?e:N(e)?e.source:l(e)?N(e.value)?e.value.source:e.value:e,ed=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eh(e,t,n){let i=f(e,n);if(i||T(n))return{error:i,name:n};let r=n.split(".");for(;r.length;){let o=r.join("."),s=f(t,o),a=f(e,o);if(s&&!Array.isArray(s)&&n!==o)break;if(a&&a.type)return{name:o,error:a};r.pop()}return{name:n}}var ep=(e,t,n,i,r)=>!r.isOnAll&&(!n&&r.isOnTouch?!(t||e):(n?i.isOnBlur:r.isOnBlur)?!e:(n?!i.isOnChange:!r.isOnChange)||e),ef=(e,t)=>!h(f(e,t)).length&&Z(e,t);let em={mode:g.onSubmit,reValidateMode:g.onChange,shouldFocusError:!0};function eg(e={}){let t=i.useRef(),[n,a]=i.useState({isDirty:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:e.defaultValues});t.current||(t.current={...function(e={}){let t={...em,...e},n={submitCount:0,isDirty:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},i={},a=k(t.defaultValues)||{},l=t.shouldUnregister?{}:k(a),c={action:!1,mount:!1,watch:!1},v={mount:new Set,unMount:new Set,array:new Set,watch:new Set},y,w=0,C={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},P={watch:K(),array:K(),state:K()},T=Q(t.mode),A=Q(t.reValidateMode),z=t.criteriaMode===g.all,F=e=>t=>{clearTimeout(w),w=window.setTimeout(e,t)},N=async()=>
28{if(C.isValid){let e=t.resolver?b((await q()).errors):await er(i,!0);e!==n.isValid&&(n.isValid=e,P.state.next({isValid:e}))}},j=e=>C.isValidating&&e!==n.isValidating&&P.state.next({isValidating:e}),G=(e,t=[],r,o,s=!0,u=!0)=>{if(o&&r){if(c.action=!0,u&&Array.isArray(f(i,e))){let d=r(f(i,e),o.argA,o.argB);s&&O(i,e,d)}if(u&&Array.isArray(f(n.errors,e))){let h=r(f(n.errors,e),o.argA,o.argB);s&&O(n.errors,e,h),ef(n.errors,e)}if(C.touchedFields&&u&&Array.isArray(f(n.touchedFields,e))){let p=r(f(n.touchedFields,e),o.argA,o.argB);s&&O(n.touchedFields,e,p)}C.dirtyFields&&(n.dirtyFields=es(a,l)),P.state.next({name:e,isDirty:eg(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else O(l,e,t)},B=(e,t)=>{O(n.errors,e,t),P.state.next({errors:n.errors})},H=(e,t,n,r)=>{let o=f(i,e);if(o){let s=f(l,e,p(n)?f(a,e):n);p(s)||r&&r.defaultChecked||t?O(l,e,t?s:el(o._f)):eb(e,s),c.mount&&N()}},U=(e,t,i,r,o)=>{let s=!1,l=!1,u={name:e};if((!i||r)&&(C.isDirty&&(l=n.isDirty,n.isDirty=u.isDirty=eg(),s=l!==u.isDirty),C.dirtyFields)){l=f(n.dirtyFields,e);let c=J(f(a,e),t);c?Z(n.dirtyFields,e):O(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,s=s||!c!==l}if(i){let d=f(n.touchedFields,e);d||(O(n.touchedFields,e,i),u.touchedFields=n.touchedFields,s=s||C.touchedFields&&d!==i)}return s&&o&&P.state.next(u),s?u:{}},$=(t,i,r,o)=>{let s=f(n.errors,t),a=C.isValid&&I(i)&&n.isValid!==i;if(e.delayError&&r?(y=F(()=>B(t,r)))(e.delayError):(clearTimeout(w),y=null,r?O(n.errors,t,r):Z(n.errors,t)),(r?!J(s,r):s)||!b(o)||a){let l={...o,...a&&I(i)?{isValid:i}:{},errors:n.errors,name:t};n={...n,...l},P.state.next(l)}j(!1)},q=async e=>await t.resolver(l,t.context,eu(e||v.mount,i,t.criteriaMode,t.shouldUseNativeValidation)),Y=async e=>{let{errors:t}=await q();if(e)for(let i of e){let r=f(t,i);r?O(n.errors,i,r):Z(n.errors,i)}else n.errors=t;return t},er=async(e,i,r={valid:!0})=>{for(let o in e){let s=e[o];if(s){let{_f:a,...u}=s;if(a){let c=v.array.has(a.name),d=await W(s,f(l,a.name),z,t.shouldUseNativeValidation,c);if(d[a.name]&&(r.valid=!1,i))break;i||(f(d,a.name)?c?M(n.errors,d,a.name):O(n.errors,a.name,d[a.name]):Z(n.errors,a.name))}u&&await er(u,i,r)}}return r.valid},eo=()=>{for(let e of v.unMount){let t=f(i,e);t&&(t._f.refs?t._f.refs.every(e=>!ei(e)):!ei(t._f.ref))&&eA(e)}v.unMount=new Set},eg=(e,t)=>(e&&t&&O(l,e,t),!J(eC(),a)),ev=(e,t,n)=>_(e,v,{...c.mount?l:p(t)?a:x(e)?{[e]:t}:t},n),ey=t=>h(f(c.mount?l:a,t,e.shouldUnregister?f(a,t,[]):[])),eb=(e,t,n={})=>{let o=f(i,e),a=t;if(o){let u=o._f;u&&(u.disabled||O(l,e,ea(t,u)),a=E&&ee(u.ref)&&s(t)?"":t,et(u.ref)?[...u.ref.options].forEach(e=>e.selected=a.includes(e.value)):u.refs?r(u.ref)?u.refs.length>1?u.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find(t=>t===e.value):a===e.value)):u.refs[0]&&(u.refs[0].checked=!!a):u.refs.forEach(e=>e.checked=e.value===a):V(u.ref)?u.ref.value="":(u.ref.value=a,u.ref.type||P.watch.next({name:e})))}(n.shouldDirty||n.shouldTouch)&&U(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&e_(e)},ew=(e,t,n)=>{for(let r in t){let s=t[r],a=`${e}.${r}`,l=f(i,a);!v.array.has(e)&&X(s)&&(!l||l._f)||o(s)?eb(a,s,n):ew(a,s,n)}},eS=(e,t,r={})=>{let o=f(i,e),u=v.array.has(e),c=k(t);O(l,e,c),u?(P.array.next({name:e,values:l}),(C.isDirty||C.dirtyFields)&&r.shouldDirty&&(n.dirtyFields=es(a,l),P.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:eg(e,c)}))):!o||o._f||s(c)?eb(e,c,r):ew(e,c,r),R(e,v)&&P.state.next({}),P.watch.next({name:e})},ex=async e=>{let r=e.target,o=r.name,s=f(i,o),a=()=>r.type?el(s._f):u(e);if(s){let c,d,h=a(),p=e.type===m.BLUR||e.type===m.FOCUS_OUT,g=!ed(s._f)&&!t.resolver&&!f(n.errors,o)&&!s._f.deps||ep(p,f(n.touchedFields,o),n.isSubmitted,A,T),w=R(o,v,p);O(l,o,h),p?(s._f.onBlur&&s._f.onBlur(e),y&&y(0)):s._f.onChange&&s._f.onChange(e);let S=U(o,h,p,!1),x=!b(S)||w;if(p||P.watch.next({name:o,type:e.type}),g)return C.isValid&&N(),x&&P.state.next({name:o,...w?{}:S});if(!p&&w&&P.state.next({}),j(!0),t.resolver){let{errors:_}=await q([o]),E=eh(n.errors,i,o),k=eh(_,i,E.name||o);c=k.error,o=k.name,d=b(_)}else(c=(await W(s,f(l,o),z,t.shouldUseNativeValidation))[o])?d=!1:C.isValid&&
28(d=await er(i,!0));X(h)&&a()!==h?j(!1):(s._f.deps&&e_(s._f.deps),$(o,d,c,S))}},e_=async(e,r={})=>{let o,s,a=S(e);if(j(!0),t.resolver){let l=await Y(p(e)?e:a);o=b(l),s=e?!a.some(e=>f(l,e)):o}else e?((s=(await Promise.all(a.map(async e=>{let t=f(i,e);return await er(t&&t._f?{[e]:t}:t)}))).every(Boolean))||n.isValid)&&N():s=o=await er(i);return P.state.next({...!x(e)||C.isValid&&o!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:o}:{},errors:n.errors,isValidating:!1}),r.shouldFocus&&!s&&L(i,e=>e&&f(n.errors,e),e?a:v.mount),s},eC=e=>{let t={...a,...c.mount?l:{}};return p(e)?t:x(e)?f(t,e):e.map(e=>f(t,e))},eE=(e,t)=>({invalid:!!f((t||n).errors,e),isDirty:!!f((t||n).dirtyFields,e),isTouched:!!f((t||n).touchedFields,e),error:f((t||n).errors,e)}),ek=e=>{e?S(e).forEach(e=>Z(n.errors,e)):n.errors={},P.state.next({errors:n.errors})},eP=(e,t,r)=>{let o=(f(i,e,{_f:{}})._f||{}).ref;O(n.errors,e,{...t,ref:o}),P.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&o&&o.focus&&o.focus()},eT=(e,t)=>D(e)?P.watch.subscribe({next:n=>e(ev(void 0,t),n)}):ev(e,t,!0),eA=(e,r={})=>{for(let o of e?S(e):v.mount)v.mount.delete(o),v.array.delete(o),f(i,o)&&(r.keepValue||(Z(i,o),Z(l,o)),r.keepError||Z(n.errors,o),r.keepDirty||Z(n.dirtyFields,o),r.keepTouched||Z(n.touchedFields,o),t.shouldUnregister||r.keepDefaultValue||Z(a,o));P.watch.next({}),P.state.next({...n,...r.keepDirty?{isDirty:eg()}:{}}),r.keepIsValid||N()},eO=(e,n={})=>{let r=f(i,e),o=I(n.disabled);return O(i,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...n}}),v.mount.add(e),r?o&&O(l,e,n.disabled?void 0:f(l,e,el(r._f))):H(e,!0,n.value),{...o?{disabled:n.disabled}:{},...t.shouldUseNativeValidation?{required:!!n.required,min:ec(n.min),max:ec(n.max),minLength:ec(n.minLength),maxLength:ec(n.maxLength),pattern:ec(n.pattern)}:{},name:e,onChange:ex,onBlur:ex,ref(o){if(o){eO(e,n),r=f(i,e);let s=p(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,l=en(s),u=r._f.refs||[];(l?!u.find(e=>e===s):s!==r._f.ref)&&(O(i,e,{_f:{...r._f,...l?{refs:[...u.filter(ei),s,...Array.isArray(f(a,e))?[{}]:[],],ref:{type:s.type,name:e}}:{ref:s}}}),H(e,!1,void 0,s))}else(r=f(i,e,{}))._f&&(r._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(d(v.array,e)&&c.action)&&v.unMount.add(e)}}},eL=()=>t.shouldFocusError&&L(i,e=>e&&f(n.errors,e),v.mount),eR=(e,r)=>async o=>{o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let s=!0,a=k(l);P.state.next({isSubmitting:!0});try{if(t.resolver){let{errors:u,values:c}=await q();n.errors=u,a=c}else await er(i);b(n.errors)?(P.state.next({errors:{},isSubmitting:!0}),await e(a,o)):(r&&await r({...n.errors},o),eL())}catch(d){throw s=!1,d}finally{n.isSubmitted=!0,P.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:b(n.errors)&&s,submitCount:n.submitCount+1,errors:n.errors})}},eM=(e,t={})=>{f(i,e)&&(p(t.defaultValue)?eS(e,f(a,e)):(eS(e,t.defaultValue),O(a,e,t.defaultValue)),t.keepTouched||Z(n.touchedFields,e),t.keepDirty||(Z(n.dirtyFields,e),n.isDirty=t.defaultValue?eg(e,f(a,e)):eg()),!t.keepError&&(Z(n.errors,e),C.isValid&&N()),P.state.next({...n}))},eI=(t,r={})=>{let o=t||a,s=k(o),u=t&&!b(t)?s:a;if(r.keepDefaultValues||(a=o),!r.keepValues){if(r.keepDirtyValues)for(let d of v.mount)f(n.dirtyFields,d)?O(u,d,f(l,d)):eS(d,f(u,d));else{if(E&&p(t))for(let h of v.mount){let m=f(i,h);if(m&&m._f){let g=Array.isArray(m._f.refs)?m._f.refs[0]:m._f.ref;if(ee(g)){let y=g.closest("form");if(y){y.reset();break}}}}i={}}l=e.shouldUnregister?r.keepDefaultValues?k(a):{}:s,P.array.next({values:u}),P.watch.next({values:u})}v={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!C.isValid||!!r.keepIsValid,c.watch=!!e.shouldUnregister,P.state.next({submitCount:r.keepSubmitCount?n.submitCount:0,isDirty:r.keepDirty||r.keepDirtyValues?n.isDirty:!!(r.keepDefaultValues&&!J(t,a)),isSubmitted:!!r.keepIsSubmitted&&n.isSubmitted,dirtyFields:r.keepDirty||r.keepDirtyValues?n.dirtyFields:r.keepDefaultValues&&t?es(a,t):{},touchedFields:r.keepTouched?n.touchedFields:{},errors:r.keepErrors?n.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},eV=(e,t)=>eI(D(e)?e(l):e,t),eD=(e,t={})=>{let n=f(i,e),r=n&&n._f;if(r){let o=r.refs?r.refs[0]:r.ref;o.focus&&(o.focus(),t.shouldSelect&&o.select())}};return{control:{register:eO,unregister:eA,getFieldState:eE,_executeSchema:q,_focusError:eL,_getWatch:ev,_getDirty:eg,_updateV
28alid:N,_removeUnmounted:eo,_updateFieldArray:G,_getFieldArray:ey,_subjects:P,_proxyFormState:C,get _fields(){return i},get _formValues(){return l},get _stateFlags(){return c},set _stateFlags(value){c=value},get _defaultValues(){return a},get _names(){return v},set _names(value){v=value},get _formState(){return n},set _formState(value){n=value},get _options(){return t},set _options(value){t={...t,...value}}},trigger:e_,register:eO,handleSubmit:eR,watch:eT,setValue:eS,getValues:eC,reset:eV,resetField:eM,clearErrors:ek,unregister:eA,setError:eP,setFocus:eD,getFieldState:eE}}(e),formState:n});let l=t.current.control;return l._options=e,!function(e){let t=i.useRef(e);t.current=e,i.useEffect(()=>{let n=!e.disabled&&t.current.subject.subscribe({next:t.current.callback});return()=>{n&&n.unsubscribe()}},[e.disabled])}({subject:l._subjects.state,callback:i.useCallback(e=>{w(e,l._proxyFormState,!0)&&(l._formState={...l._formState,...e},a({...l._formState}))},[l])}),i.useEffect(()=>{l._stateFlags.mount||(l._proxyFormState.isValid&&l._updateValid(),l._stateFlags.mount=!0),l._stateFlags.watch&&(l._stateFlags.watch=!1,l._subjects.state.next({})),l._removeUnmounted()}),i.useEffect(()=>{n.submitCount&&l._focusError()},[l,n.submitCount]),t.current.formState=y(n,l),t.current}},6501:function(e,t,n){"use strict";n.d(t,{x7:function(){return ea},ZP:function(){return el},Am:function(){return z}});var i=n(7294);let r={data:""},o=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||r,s=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,a=/\/\*[^]*?\*\/| +/g,l=/\n+/g,u=(e,t)=>{let n="",i="",r="";for(let o in e){let s=e[o];"@"==o[0]?"i"==o[1]?n=o+" "+s+";":i+="f"==o[1]?u(s,o):o+"{"+u(s,"k"==o[1]?"":t)+"}":"object"==typeof s?i+=u(s,t?t.replace(/([^,])+/g,e=>o.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):o):null!=s&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),r+=u.p?u.p(o,s):o+":"+s+";")}return n+(t&&r?t+"{"+r+"}":r)+i},c={},d=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+d(e[n]);return t}return e},h=(e,t,n,i,r)=>{var o,h,p,f;let m=d(e),g=c[m]||(c[m]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(m));if(!c[g]){let v=m!==e?e:(e=>{let t,n,i=[{}];for(;t=s.exec(e.replace(a,""));)t[4]?i.shift():t[3]?(n=t[3].replace(l," ").trim(),i.unshift(i[0][n]=i[0][n]||{})):i[0][t[1]]=t[2].replace(l," ").trim();return i[0]})(e);c[g]=u(r?{["@keyframes "+g]:v}:v,n?"":"."+g)}let y=n&&c.g?c.g:null;return n&&(c.g=c[g]),o=c[g],h=t,y?h.data=h.data.replace(y,o):-1===h.data.indexOf(o)&&(h.data=i?o+h.data:h.data+o),g},p=(e,t,n)=>e.reduce((e,i,r)=>{let o=t[r];if(o&&o.call){let s=o(n),a=s&&s.props&&s.props.className||/^go/.test(s)&&s;o=a?"."+a:s&&"object"==typeof s?s.props?"":u(s,""):!1===s?"":s}return e+i+(null==o?"":o)},"");function f(e){let t=this||{},n=e.call?e(t.p):e;return h(n.unshift?n.raw?p(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,o(t.target),t.g,t.o,t.k)}f.bind({g:1});let m,g,v,y=f.bind({k:1});function b(e,t){let n=this||{};return function(){let i=arguments;function r(o,s){let a=Object.assign({},o),l=a.className||r.className;n.p=Object.assign({theme:g&&g()},a),n.o=/ *go\d+/.test(l),a.className=f.apply(n,i)+(l?" "+l:""),t&&(a.ref=s);let u=e;return e[0]&&(u=a.as||e,delete a.as),v&&u[0]&&v(a),m(u,a)}return t?t(r):r}}var w=e=>"function"==typeof e,S=(e,t)=>w(e)?e(t):e;let x,_;var C=(x=0,()=>(++x).toString()),E=()=>
28{if(void 0===_&&"u">typeof window){let e=matchMedia("(prefers-reduced-motion: reduce)");_=!e||e.matches}return _},k=new Map,P=e=>{if(k.has(e))return;let t=setTimeout(()=>{k.delete(e),R({type:4,toastId:e})},1e3);k.set(e,t)},T=e=>{let t=k.get(e);t&&clearTimeout(t)},A=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&T(t.toast.id),{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:n}=t;return e.toasts.find(e=>e.id===n.id)?A(e,{type:1,toast:n}):A(e,{type:0,toast:n});case 3:let{toastId:i}=t;return i?P(i):e.toasts.forEach(e=>{P(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let r=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+r}))}}},O=[],L={toasts:[],pausedAt:void 0},R=e=>{L=A(L,e),O.forEach(e=>{e(L)})},M={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},I=(e={})=>{let[t,n]=(0,i.useState)(L);(0,i.useEffect)(()=>(O.push(n),()=>{let e=O.indexOf(n);e>-1&&O.splice(e,1)}),[t]);let r=t.toasts.map(t=>{var n,i;return{...e,...e[t.type],...t,duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||M[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...t,toasts:r}},V=(e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||C()}),D=e=>(t,n)=>{let i=V(t,e,n);return R({type:2,toast:i}),i.id},z=(e,t)=>D("blank")(e,t);z.error=D("error"),z.success=D("success"),z.loading=D("loading"),z.custom=D("custom"),z.dismiss=e=>{R({type:3,toastId:e})},z.remove=e=>R({type:4,toastId:e}),z.promise=(e,t,n)=>{let i=z.loading(t.loading,{...n,...null==n?void 0:n.loading});return e.then(e=>(z.success(S(t.success,e),{id:i,...n,...null==n?void 0:n.success}),e)).catch(e=>{z.error(S(t.error,e),{id:i,...n,...null==n?void 0:n.error})}),e};var F,N,j,G=(e,t)=>{R({type:1,toast:{id:e,height:t}})},B=()=>{R({type:5,time:Date.now()})},H=e=>{let{toasts:t,pausedAt:n}=I(e);(0,i.useEffect)(()=>{if(n)return;let e=Date.now(),i=t.map(t=>{if(t.duration===1/0)return;let n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(n<0){t.visible&&z.dismiss(t.id);return}return setTimeout(()=>z.dismiss(t.id),n)});return()=>{i.forEach(e=>e&&clearTimeout(e))}},[t,n]);let r=(0,i.useCallback)(()=>{n&&R({type:6,time:Date.now()})},[n]),o=(0,i.useCallback)((e,n)=>{let{reverseOrder:i=!1,gutter:r=8,defaultPosition:o}=n||{},s=t.filter(t=>(t.position||o)===(e.position||o)&&t.height),a=s.findIndex(t=>t.id===e.id),l=s.filter((e,t)=>t<a&&e.visible).length;return s.filter(e=>e.visible).slice(...i?[l+1]:[0,l]).reduce((e,t)=>e+(t.height||0)+r,0)},[t]);return{toasts:t,handlers:{updateHeight:G,startPause:B,endPause:r,calculateOffset:o}}},U=y` 29from { 30 transform: scale(0) rotate(45deg); 31 opacity: 0; 32} 33to { 34 transform: scale(1) rotate(45deg); 35 opacity: 1; 36}`,$=b("div")` 37 width: 20px; 38 opacity: 0; 39 height: 20px; 40 border-radius: 10px; 41 background: ${e=>e.primary||"#ff4b4b"}; 42 position: relative; 43 transform: rotate(45deg); 44 45 animation: ${U} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 46 forwards; 47 animation-delay: 100ms; 48 49 &:after, 50 &:before { 51 content: ''; 52 animation: ${y` 53from { 54 transform: scale(0); 55 opacity: 0; 56} 57to { 58 transform: scale(1); 59 opacity: 1; 60}`} 0.15s ease-out forwards; 61 animation-delay: 150ms; 62 position: absolute; 63 border-radius: 3px; 64 opacity: 0; 65 background: ${e=>e.secondary||"#fff"}; 66 bottom: 9px; 67 left: 4px; 68 height: 2px; 69 width: 12px; 70 } 71 72 &:before { 73 animation: ${y` 74from { 75 transform: scale(0) rotate(90deg); 76 opacity: 0; 77} 78to { 79 transform: scale(1) rotate(90deg); 80 opacity: 1; 81}`} 0.15s ease-out forwards; 82 animation-delay: 180ms; 83 transform: rotate(90deg); 84 } 85`,q=b("div")` 86 width: 12px; 87 height: 12px; 88 box-sizing: border-box; 89 border: 2px solid; 90 border-radius: 100%; 91 border-color: ${e=>e.secondary||"#e0e0e0"}; 92 border-right-color: ${e=>e.primary||"#616161"}; 93 animation: ${y` 94 from { 95 transform: rotate(0deg); 96 } 97 to { 98 transform: rotate(360deg); 99 } 100`} 1s linear infinite; 101`,W=b("div")`
102 width: 20px; 103 opacity: 0; 104 height: 20px; 105 border-radius: 10px; 106 background: ${e=>e.primary||"#61d345"}; 107 position: relative; 108 transform: rotate(45deg); 109 110 animation: ${y` 111from { 112 transform: scale(0) rotate(45deg); 113 opacity: 0; 114} 115to { 116 transform: scale(1) rotate(45deg); 117 opacity: 1; 118}`} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 119 forwards; 120 animation-delay: 100ms; 121 &:after { 122 content: ''; 123 box-sizing: border-box; 124 animation: ${y` 1250% { 126 height: 0; 127 width: 0; 128 opacity: 0; 129} 13040% { 131 height: 0; 132 width: 6px; 133 opacity: 1; 134} 135100% { 136 opacity: 1; 137 height: 10px; 138}`} 0.2s ease-out forwards; 139 opacity: 0; 140 animation-delay: 200ms; 141 position: absolute; 142 border-right: 2px solid; 143 border-bottom: 2px solid; 144 border-color: ${e=>e.secondary||"#fff"}; 145 bottom: 6px; 146 left: 6px; 147 height: 10px; 148 width: 6px; 149 } 150`,Q=b("div")` 151 position: absolute; 152`,Y=b("div")` 153 position: relative; 154 display: flex; 155 justify-content: center; 156 align-items: center; 157 min-width: 20px; 158 min-height: 20px; 159`,Z=b("div")` 160 position: relative; 161 transform: scale(0.6); 162 opacity: 0.4; 163 min-width: 20px; 164 animation: ${y` 165from { 166 transform: scale(0.6); 167 opacity: 0.4; 168} 169to { 170 transform: scale(1); 171 opacity: 1; 172}`} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) 173 forwards; 174`,K=({toast:e})=>{let{icon:t,type:n,iconTheme:r}=e;return void 0!==t?"string"==typeof t?i.createElement(Z,null,t):t:"blank"===n?null:i.createElement(Y,null,i.createElement(q,{...r}),"loading"!==n&&i.createElement(Q,null,"error"===n?i.createElement($,{...r}):i.createElement(W,{...r})))},X=e=>` 1750% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;} 176100% {transform: translate3d(0,0,0) scale(1); opacity:1;} 177`,J=e=>` 1780% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 179100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;} 180`,ee=b("div")` 181 display: flex; 182 align-items: center; 183 background: #fff; 184 color: #363636; 185 line-height: 1.3; 186 will-change: transform; 187 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); 188 max-width: 350px; 189 pointer-events: auto; 190 padding: 8px 10px; 191 border-radius: 8px; 192`,et=b("div")` 193 display: flex; 194 justify-content: center; 195 margin: 4px 10px; 196 color: inherit; 197 flex: 1 1 auto; 198 white-space: pre-line; 199`,en=(e,t)=>{let n=e.includes("top")?1:-1,[i,r]=E()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[X(n),J(n)];return{animation:t?`${y(i)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${y(r)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},ei=i.memo(({toast:e,position:t,style:n,children:r})=>{let o=e.height?en(e.position||t||"top-center",e.visible):{opacity:0},s=i.createElement(K,{toast:e}),a=i.createElement(et,{...e.ariaProps},S(e.message,e));return i.createElement(ee,{className:e.className,style:{...o,...n,...e.style}},"function"==typeof r?r({icon:s,message:a}):i.createElement(i.Fragment,null,s,a))});F=i.createElement,u.p=void 0,m=F,g=void 0,v=void 0;var er=({id:e,className:t,style:n,onHeightUpdate:r,children:o})=>{let s=i.useCallback(t=>{if(t){let n=()=>{r(e,t.getBoundingClientRect().height)};n(),new MutationObserver(n).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return i.createElement("div",{ref:s,className:t,style:n},o)},eo=(e,t)=>{let n=e.includes("top"),i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:E()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(n?1:-1)}px)`,...n?{top:0}:{bottom:0},...i}},es=f` 200 z-index: 9999; 201 > * { 202 pointer-events: auto; 203 } 204`,ea=({reverseOrder:e,position:t="top-center",toastOptions:n,gutter:r,children:o,containerStyle:s,containerClassName:a})=>{let{toasts:l,handlers:u}=H(n);return i.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...s},className:a,onMouseEnter:u.startPause,onMouseLeave:u.endPause},l.map(n=>{let s=n.position||t,a=u.calculateOffset(n,{reverseOrder:e,gutter:r,defaultPosition:t}),l=eo(s,a);return i.createElement(er,{id:n.id,key:n.id,onHeightUpdate:u.updateHeight,className:n.visible?es:"",style:l}
204,"custom"===n.type?S(n.message,n):o?o(n):i.createElement(ei,{toast:n,position:s}))}))},el=z},4849:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},y:function(){return s}});var i=n(7294);let r=i.createContext({});function o({count:e=1,wrapper:t,className:n,containerClassName:o,containerTestId:s,circle:a=!1,style:l,...u}){var c,d,h;let p=i.useContext(r),f={...u};for(let[m,g]of Object.entries(u))void 0===g&&delete f[m];let v={...p,...f,circle:a},y={...l,...function({baseColor:e,highlightColor:t,width:n,height:i,borderRadius:r,circle:o,direction:s,duration:a,enableAnimation:l=!0}){let u={};return"rtl"===s&&(u["--animation-direction"]="reverse"),"number"==typeof a&&(u["--animation-duration"]=`${a}s`),l||(u["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(u.width=n),("string"==typeof i||"number"==typeof i)&&(u.height=i),("string"==typeof r||"number"==typeof r)&&(u.borderRadius=r),o&&(u.borderRadius="50%"),void 0!==e&&(u["--base-color"]=e),void 0!==t&&(u["--highlight-color"]=t),u}(v)},b="react-loading-skeleton";n&&(b+=` ${n}`);let w=null!==(c=v.inline)&&void 0!==c&&c,S=[],x=Math.ceil(e);for(let _=0;_<x;_++){let C=y;if(x>e&&_===x-1){let E=null!==(d=C.width)&&void 0!==d?d:"100%",k=e%1,P="number"==typeof E?E*k:`calc(${E} * ${k})`;C={...C,width:P}}let T=i.createElement("span",{className:b,style:C,key:_},"‌");w?S.push(T):S.push(i.createElement(i.Fragment,{key:_},T,i.createElement("br",null)))}return i.createElement("span",{className:o,"data-testid":s,"aria-live":"polite","aria-busy":null===(h=v.enableAnimation)||void 0===h||h},t?S.map((e,n)=>i.createElement(t,{key:n},e)):S)}function s({children:e,...t}){return i.createElement(r.Provider,{value:t},e)}},2127:function(e,t,n){"use strict";n.d(t,{D:function(){return t3}});var i={};n.r(i),n.d(i,{attentionMarkers:function(){return eN},contentInitial:function(){return eM},disable:function(){return ej},document:function(){return eR},flow:function(){return eV},flowInitial:function(){return eI},insideSpan:function(){return eF},string:function(){return eD},text:function(){return ez}});var r={};n.r(r),n.d(r,{boolean:function(){return tm},booleanish:function(){return tg},commaOrSpaceSeparated:function(){return tS},commaSeparated:function(){return tw},number:function(){return ty},overloadedBoolean:function(){return tv},spaceSeparated:function(){return tb}});var o=n(7294),s=n(8738);function a(e){return e&&"object"==typeof e?"position"in e||"type"in e?u(e.position):"start"in e||"end"in e?u(e):"line"in e||"column"in e?l(e):"":""}function l(e){return c(e&&e.line)+":"+c(e&&e.column)}function u(e){return l(e&&e.start)+"-"+l(e&&e.end)}function c(e){return e&&"number"==typeof e?e:1}class d extends Error{constructor(e,t,n){let i=[null,null],r={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){let o=n.indexOf(":");-1===o?i[1]=n:(i[0]=n.slice(0,o),i[1]=n.slice(o+1))}t&&("type"in t||"position"in t?t.position&&(r=t.position):"start"in t||"end"in t?r=t:("line"in t||"column"in t)&&(r.start=t)),this.name=a(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=r.start.line,this.column=r.start.column,this.position=r,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;let h={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');p(e);let n=0,i=-1,r=e.length,o;if(void 0===t||0===t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(o){n=r+1;break}}else i<0&&(o=!0,i=r+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;r--;)if(47===e.charCodeAt(r)){if(o){n=r+1;break}}else s<0&&(o=!0,s=r+1),a>-1&&(e.charCodeAt(r)===t.charCodeAt(a--)?a<0&&(i=r):(a=-1,i=s));return n===i?i=s:i<0&&(i=e.length),e.slice(n,i)},dirname:function(e){if(p(e),0===e.length)return".";let t=-1,n=e.length,i;for(;--n;)if(47===e.charCodeAt(n)){if(i){t=n;break}}else i||(i=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){p(e);let t=e.length,n=-1,i=0,r=-1,o=0,s;for(;t--;){let a=e.charCodeAt(t);if(47===a){if(s){i=t+1;break}continue}n<0&&(s=!0,n=t+1),46===a?r<0?r=t:1!==o&&(o=1):r>-1&&(o=-1)}return r<0||n<0||0===o||1===o&&r===n-1&&r===i+1?"":e.slice(r,n)},join:function(...e){let t=-1,n;for(;++t<e.length;)p(e[t]),e[t]&&(n=void 0===n?e[t]:n+"/"+e[t]);return void 0===n?".":function(e){p(e);let t=47===e.charCodeAt(0),n=function e(t,n){let i="",r=0,o=-1,s=0,a=-1,l,u;for(;++a<=t.length;){if(a<t.length)l=t.charCodeAt(a);else if(47===l)break;else l=47;if(47===l){if(o===a-1||1===s);else if(o!==a-1&&2===s){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){if((u=i.lastIndexOf("/"))!==i.length-1){u<0?(i="",r=0):r=(i=i.slice(0,u)).length-1-i.lastIndexOf("/"),o=a,s=0;continue}}else if(i.length>0){i="",r=0,o=a,s=0;continue}}n&&(i=i.length>0?i+"/..":"..",r=2)}else i.length>0?i+="/"+t.slice(o+1,a):i=t.slice(o+1,a),r=a-o-1;o=a,s=0}else 46===l&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(n)},sep:"/"};function p(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let f={cwd:function(){return"/"}};function m(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let g=["history","path","basename","stem","extname","dirname"];class v{constructor(e){let t;t=e?"string"==typeof e||s(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=f.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<g.length;){let i=g[n];i in t&&void 0!==t[i]&&(this[i]="history"===i?[...t[i]]:t[i])}let r;for(r in t)g.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){m(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!m(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let n=TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return function(e){if(""!==e.hostname){let t=TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}let n=e.pathname,i=-1;for(;++i<n.length;)if(37===n.charCodeAt(i)&&50===n.charCodeAt(i+1)){let r=n.charCodeAt(i+2);
204if(70===r||102===r){let o=TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(n)}(e)}(e)),b(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?h.dirname(this.path):void 0}set dirname(e){w(this.basename,"dirname"),this.path=h.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?h.basename(this.path):void 0}set basename(e){b(e,"basename"),y(e,"basename"),this.path=h.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?h.extname(this.path):void 0}set extname(e){if(y(e,"extname"),w(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=h.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?h.basename(this.path,this.extname):void 0}set stem(e){b(e,"stem"),y(e,"stem"),this.path=h.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,n){let i=new d(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(e,t,n){let i=this.message(e,t,n);return i.fatal=null,i}fail(e,t,n){let i=this.message(e,t,n);throw i.fatal=!0,i}}function y(e,t){if(e&&e.includes(h.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+h.sep+"`")}function b(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function w(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function S(e){if(e)throw e}var x=n(4470);function _(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let C=(function e(){let t=function(){let e=[],t={run:function(...t){let n=-1,i=t.pop();if("function"!=typeof i)throw TypeError("Expected function as last argument, not "+i);!function r(o,...s){let a=e[++n],l=-1;if(o){i(o);return}for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,a?(function(e,t){let n;return function(...t){let o=e.length>t.length,s;o&&t.push(i);try{s=e.apply(this,t)}catch(a){if(o&&n)throw a;return i(a)}o||(s instanceof Promise?s.then(r,i):s instanceof Error?i(s):r(s))};function i(e,...i){n||(n=!0,t(e,...i))}function r(e){i(null,e)}})(a,r)(...s):i(null,...s)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[],i={},r,o=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(A("data",r),i[e]=t,a):E.call(i,e)&&i[e]||null:e?(A("data",r),i=e,a):i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o<n.length;){let[e,...i]=n[o];if(!1===i[0])continue;!0===i[0]&&(i[0]=void 0);let s=e.call(a,...i);"function"==typeof s&&t.use(s)}return r=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let o;if(A("use",r),null==e);else if("function"==typeof e)c(e,...t);else if("object"==typeof e)Array.isArray(e)?u(e):l(e);else throw TypeError("Expected usable value, not `"+e+"`");return o&&(i.settings=Object.assign(i.settings||{},o)),a;function s(e){if("function"==typeof e)c(e);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;c(t,...n)}else l(e)}else throw TypeError("Expected usable value, not `"+e+"`")}function l(e){u(e.plugins),e.settings&&(o=Object.assign(o||{},e.settings))}function u(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){let n=e[t];s(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function c(e,t){let i=-1,r;for(;++i<n.length;)if(n[i][0]===e){r=n[i];break}r?(_(r[1])&&_(t)&&(t=x(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();let t=R(e),n=a.Parser;return(P("parse",n),k(n,"parse"))?new n(String(t),t).parse():n(String(t),t)},a.stringify=function(e,t){a.freeze();let n=R(t),i=a.Compiler;return(T("stringify",i),O(e),k(i,"compile"))?new i(e,n).compile():i(e,n)},a.run=function(e,n,i){if(O(e),a.freeze(),i||"function"!=typeof n||(i=n,n=void 0),!i)return new Promise(r);function r(r,o){t.run(e,R(n),function(t,n,s){n=n||e,t?o(t):r?r(n):i(null,n,s)})}r(null,i)},a.runSync=function(e,t){let n,i;return a.run(e,t,function(e,t){S(e),n=t,i=!0}),L("runSync","run",i),n},a.process=function(e,t){if(a.freeze(),P("process",a.Parser),T("process",a.Compiler),!t)return new Promise(n);function n(n,i){let r=R(e);function o(e,r){e||!r?i(e):n?n(r):t(null,r)}a.run(a.parse(r),r,(e,t,n)=>{if(!e&&t&&n){var i;let r=a.stringify(t,n);null==r||((i=r,"string"==typeof i||s(i))?n.value=r:n.result=r),o(e,n)}else o(e)})}n(null,t)},a.processSync=function(e){let t;a.freeze(),P("processSync",a.Parser),T("processSync",a.Compiler);let n=R(e);return a.process(n,function(e){t=!0,S(e)}),L("processSync","process",t),n},a;function a(){let t=e(),r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(x(!0,{},i)),t}})().freeze(),E={}.hasOwnProperty;function k(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(E.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function P(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Parser`")}function T(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `Compiler`")}function A(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function O(e){if(!_(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function L(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function R(e){var t;return(t=e,Boolean(t&&"object"==typeof t&&"message"in t&&"messages"in t))?e:new v(e)}function M(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&I(e.children,t)||Array.isArray(e)&&I(e,t))||""}function I(e,t){for(var n=[],i=-1;++i<e.length;)n[i]=M(e[i],t);return n.join("")}var V=n(4663),D=n(2761),z=n(5364);let F={tokenize:function(e){let t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null===n){e.consume(n);return}
204return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,D.f)(e,t,"linePrefix")},function(t){return e.enter("paragraph"),function t(i){let r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,function n(i){if(null===i){e.exit("chunkText"),e.exit("paragraph"),e.consume(i);return}return(0,z.Ch)(i)?(e.consume(i),e.exit("chunkText"),t):(e.consume(i),n)}(i)}(t)}),n;return t}};var N=n(1905);let j={tokenize:function(e){let t=this,n=[],i=0,r,o,s;return a;function a(r){if(i<n.length){let o=n[i];return t.containerState=o[1],e.attempt(o[0].continuation,l,u)(r)}return u(r)}function l(e){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();let n=t.events.length,o=n,s;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){s=t.events[o][1].end;break}g(i);let l=n;for(;l<t.events.length;)t.events[l][1].end=Object.assign({},s),l++;return(0,N.d)(t.events,o+1,0,t.events.slice(n)),t.events.length=l,u(e)}return a(e)}function u(o){if(i===n.length){if(!r)return h(o);if(r.currentConstruct&&r.currentConstruct.concrete)return f(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(G,c,d)(o)}function c(e){return r&&v(),g(i),h(e)}function d(e){return t.parser.lazy[t.now().line]=i!==n.length,s=t.now().offset,f(e)}function h(n){return t.containerState={},e.attempt(G,p,f)(n)}function p(e){return i++,n.push([t.currentConstruct,t.containerState]),h(e)}function f(n){if(null===n){r&&v(),g(0),e.consume(n);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),function n(r){if(null===r){m(e.exit("chunkFlow"),!0),g(0),e.consume(r);return}return(0,z.Ch)(r)?(e.consume(r),m(e.exit("chunkFlow")),i=0,t.interrupt=void 0,a):(e.consume(r),n)}(n)}function m(e,n){let a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let l=r.events.length;for(;l--;)if(r.events[l][1].start.offset<s&&(!r.events[l][1].end||r.events[l][1].end.offset>s))return;let u=t.events.length,c=u,d,h;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(d){h=t.events[c][1].end;break}d=!0}for(g(i),l=u;l<t.events.length;)t.events[l][1].end=Object.assign({},h),l++;(0,N.d)(t.events,c+1,0,t.events.slice(u)),t.events.length=l}}function g(i){let r=n.length;for(;r-- >i;){let o=n[r];t.containerState=o[1],o[0].exit.call(t,e)}n.length=i}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},G={tokenize:function(e,t,n){return(0,D.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var B=n(3402);function H(e){let t={},n=-1,i,r,o,s,a,l,u;for(;++n<e.length;){for(;(n in t);)n=t[n];if(i=e[n],n&&"chunkFlow"===i[1].type&&"listItemPrefix"===e[n-1][1].type&&((o=0)<(l=i[1]._tokenizer.events).length&&"lineEndingBlank"===l[o][1].type&&(o+=2),o<l.length&&"content"===l[o][1].type))for(;++o<l.length&&"content"!==l[o][1].type;)"chunkText"===l[o][1].type&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===i[0])i[1].contentType&&(Object.assign(t,U(e,n)),n=t[n],u=!0);else if(i[1]._container){for(o=n,r=void 0;o--;)if("lineEnding"===(s=e[o])[1].type||"lineEndingBlank"===s[1].type)"enter"===s[0]&&(r&&(e[r][1].type="lineEndingBlank"),s[1].type="lineEnding",r=o);else break;r&&(i[1].end=Object.assign({},e[r][1].start),(a=e.slice(r,n)).unshift(i),(0,N.d)(e,r,n-r+1,a))}}return!u}function U(e,t){let n=e[t][1],i=e[t][2],r=t-1,o=[],s=n._tokenizer||i.parser[n.contentType](n.start),a=s.events,l=[],u={},c,d,h=-1,p=n,f=0,m=0,g=[m];for(;p;){for(;e[++r][1]!==p;);o.push(r),!p._tokenizer&&(c=i.sliceStream(p),p.next||c.push(null),d&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++h<a.length;)"exit"===a[h][0]&&"enter"===a[h-1][0]&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){let v=a.slice(g[h],g[h+1]),y=o.pop();l.unshift([y,y+v.length-1]),(0,N.d)(e,y,2,v)}for(h=-1;++h<l.length;)u[f+l[h][0]]=f+l[h][1],f+=l[h][1]-l[h][0]-1;return u}let $={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)};function i(t){return null===t?r(t):(0,z.Ch)(t)?e.check(q,o,r)(t):(e.consume(t),i)}function r(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}},resolve:function(e){return H(e),e}},q={tokenize:function(e,t,n){let i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
204(0,D.f)(e,r,"linePrefix")};function r(r){if(null===r||(0,z.Ch)(r))return n(r);let o=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(r):e.interrupt(i.parser.constructs.flow,n,t)(r)}},partial:!0},W={tokenize:function(e){let t=this,n=e.attempt(B.w,function(i){if(null===i){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,i,(0,D.f)(e,e.attempt(this.parser.constructs.flow,i,e.attempt($,i)),"linePrefix")));return n;function i(i){if(null===i){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},Q={resolveAll:X()},Y=K("string"),Z=K("text");function K(e){return{tokenize:function(t){let n=this,i=this.parser.constructs[e],r=t.attempt(i,o,s);return o;function o(e){return l(e)?r(e):s(e)}function s(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),a}function a(e){return l(e)?(t.exit("data"),r(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;let t=i[e],r=-1;if(t)for(;++r<t.length;){let o=t[r];if(!o.previous||o.previous.call(n,n.previous))return!0}return!1}},resolveAll:X("text"===e?J:void 0)}}function X(e){return function(t,n){let i=-1,r;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function J(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let i=e[n-1][1],r=t.sliceStream(i),o=r.length,s=-1,a=0,l;for(;o--;){let u=r[o];if("string"==typeof u){for(s=u.length;32===u.charCodeAt(s-1);)a++,s--;if(s)break;s=-1}else if(-2===u)l=!0,a++;else if(-1===u);else{o++;break}}if(a){let c={type:n===e.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-a,offset:i.end.offset-a,_index:i.start._index+o,_bufferIndex:o?s:i.start._bufferIndex+s},end:Object.assign({},i.end)};i.end=Object.assign({},c.start),i.start.offset===i.end.offset?Object.assign(i,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}var ee=n(3233);let et={name:"thematicBreak",tokenize:function(e,t,n){let i=0,r;return function(o){return e.enter("thematicBreak"),r=o,function o(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),o(n))}(s)):(0,z.xz)(s)?(0,D.f)(e,o,"whitespace")(s):i<3||null!==s&&!(0,z.Ch)(s)?n(s):(e.exit("thematicBreak"),t(s))}(o)}}},en={name:"list",tokenize:function(e,t,n){let i=this,r=i.events[i.events.length-1],o=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,s=0;return function(t){let r=i.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===r?!i.containerState.marker||t===i.containerState.marker:(0,z.pY)(t)){if(i.containerState.type||(i.containerState.type=r,e.enter(r,{_container:!0})),"listUnordered"===r)return e.enter("listItemPrefix"),42===t||45===t?e.check(et,n,a)(t):a(t);if(!i.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(r){return(0,z.pY)(r)&&++s<10?(e.consume(r),t):(!i.interrupt||s<2)&&(i.containerState.marker?r===i.containerState.marker:41===r||46===r)?(e.exit("listItemValue"),a(r)):n(r)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||t,e.check(B.w,i.interrupt?n:l,e.attempt(ei,c,u))}
204function l(e){return i.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,z.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let i=this;return i.containerState._closeFlow=void 0,e.check(B.w,function(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,(0,D.f)(e,t,"listItemIndent",i.containerState.size+1)(n)},function(n){return i.containerState.furtherBlankLines||!(0,z.xz)(n)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,r(n)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(er,t,r)(n))});function r(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,(0,D.f)(e,e.attempt(en,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(e){e.exit(this.containerState.type)}},ei={tokenize:function(e,t,n){let i=this;return(0,D.f)(e,function(e){let r=i.events[i.events.length-1];return!(0,z.xz)(e)&&r&&"listItemPrefixWhitespace"===r[1].type?t(e):n(e)},"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},er={tokenize:function(e,t,n){let i=this;return(0,D.f)(e,function(e){let r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?t(e):n(e)},"listItemIndent",i.containerState.size+1)},partial:!0},eo={name:"blockQuote",tokenize:function(e,t,n){let i=this;return function(t){if(62===t){let o=i.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),r}return n(t)};function r(n){return(0,z.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return(0,D.f)(e,e.attempt(eo,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function es(e,t,n,i,r,o,s,a,l){let u=l||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(i),e.enter(r),e.enter(o),e.consume(t),e.exit(o),d):null===t||41===t||(0,z.Av)(t)?n(t):(e.enter(i),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),e.exit(i),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||(0,z.Ch)(t)?n(t):(e.consume(t),92===t?p:h)}function p(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function f(r){return 40===r?++c>u?n(r):(e.consume(r),f):41===r?c--?(e.consume(r),f):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(i),t(r)):null===r||(0,z.z3)(r)?c?n(r):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(i),t(r)):(0,z.Av)(r)?n(r):(e.consume(r),92===r?m:f)}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function ea(e,t,n,i,r,o){let s=this,a=0,l;return function(t){return e.enter(i),e.enter(r),e.consume(t),e.exit(r),e.enter(o),u};function u(d){return null===d||91===d||93===d&&!l||94===d&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs||a>999?n(d):93===d?(e.exit(o),e.enter(r),e.consume(d),e.exit(r),e.exit(i),t):(0,z.Ch)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||(0,z.Ch)(t)||a++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l=l||!(0,z.xz)(t),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}}function el(e,t,n,i,r,o){let s;return function(t){return e.enter(i),e.enter(r),e.consume(t),e.exit(r),s=40===t?41:t,a};function a(n){return n===s?(e.enter(r),e.consume(n),e.exit(r),e.exit(i),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):(0,z.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
204(0,D.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||(0,z.Ch)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===s||92===t?(e.consume(t),u):u(t)}}function eu(e,t){let n;return i;function i(r){return(0,z.Ch)(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):(0,z.xz)(r)?(0,D.f)(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}var ec=n(1098);let ed={tokenize:function(e,t,n){return function(t){return(0,z.z3)(t)?eu(e,i)(t):n(t)};function i(t){return 34===t||39===t||40===t?el(e,(0,D.f)(e,r,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function r(e){return null===e||(0,z.Ch)(e)?t(e):n(e)}},partial:!0},eh={name:"codeIndented",tokenize:function(e,t,n){let i=this;return function(t){return e.enter("codeIndented"),(0,D.f)(e,r,"linePrefix",5)(t)};function r(t){let r=i.events[i.events.length-1];return r&&"linePrefix"===r[1].type&&r[2].sliceSerialize(r[1],!0).length>=4?function t(n){return null===n?o(n):(0,z.Ch)(n)?e.attempt(ep,t,o)(n):(e.enter("codeFlowValue"),function n(i){return null===i||(0,z.Ch)(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},ep={tokenize:function(e,t,n){let i=this;return r;function r(t){return i.parser.lazy[i.now().line]?n(t):(0,z.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r):(0,D.f)(e,o,"linePrefix",5)(t)}function o(e){let o=i.events[i.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,z.Ch)(e)?r(e):n(e)}},partial:!0},ef={name:"setextUnderline",tokenize:function(e,t,n){let i=this,r=i.events.length,o,s;for(;r--;)if("lineEnding"!==i.events[r][1].type&&"linePrefix"!==i.events[r][1].type&&"content"!==i.events[r][1].type){s="paragraph"===i.events[r][1].type;break}return function(t){return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,function t(n){return n===o?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,D.f)(e,a,"lineSuffix")(n))}(t)):n(t)};function a(i){return null===i||(0,z.Ch)(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){let n=e.length,i,r,o;for(;n--;)if("enter"===e[n][0]){if("content"===e[n][1].type){i=n;break}"paragraph"===e[n][1].type&&(r=n)}else"content"===e[n][1].type&&e.splice(n,1),o||"definition"!==e[n][1].type||(o=n);let s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[i][1],t]),e[i][1].end=Object.assign({},e[o][1].end)):e[i][1]=s,e.push(["exit",s,t]),e}},em=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eg=["pre","script","style","textarea"],ev={tokenize:function(e,t,n){return function(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(B.w,t,n)}},partial:!0},ey={name:"codeFenced",tokenize:function(e,t,n){let i=this,r={tokenize:function(e,t,n){let i=0;return(0,D.f)(e,function(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(o){return o===u?(e.consume(o),i++,t):i<l?n(o):(e.exit("codeFencedFenceSequence"),(0,D.f)(e,r,"whitespace")(o))}(t)},"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function r(i){return null===i||(0,z.Ch)(i)?(e.exit("codeFencedFence"),t(i)):n(i)}},partial:!0},o={tokenize:function(e,t,n){let i=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return i.parser.lazy[i.now().line]?n(e):t(e)}},partial:!0},s=this.events[this.events.length-1],a=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0,u;
204return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u=t,function t(i){return i===u?(e.consume(i),l++,t):(e.exit("codeFencedFenceSequence"),l<3?n(i):(0,D.f)(e,c,"whitespace")(i))}(t)};function c(t){return null===t||(0,z.Ch)(t)?h(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,z.z3)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,D.f)(e,d,"whitespace")(i)):96===i&&i===u?n(i):(e.consume(i),t)}(t))}function d(t){return null===t||(0,z.Ch)(t)?h(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,z.Ch)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(i)):96===i&&i===u?n(i):(e.consume(i),t)}(t))}function h(n){return e.exit("codeFencedFence"),i.interrupt?t(n):function t(n){return null===n?p(n):(0,z.Ch)(n)?e.attempt(o,e.attempt(r,p,a?(0,D.f)(e,t,"linePrefix",a+1):t),p)(n):(e.enter("codeFlowValue"),function n(i){return null===i||(0,z.Ch)(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),n)}(n))}(n)}function p(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eb=n(4301);let ew={name:"characterReference",tokenize:function(e,t,n){let i=this,r=0,o,s;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,s=z.H$,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=z.AF,u):(e.enter("characterReferenceValue"),o=7,s=z.pY,u(t))}function u(a){let l;return 59===a&&r?(l=e.exit("characterReferenceValue"),s!==z.H$||(0,eb.T)(i.sliceSerialize(l)))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a):s(a)&&r++<o?(e.consume(a),u):n(a)}}},eS={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return(0,z.sR)(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}},ex={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,D.f)(e,t,"linePrefix")}}},e_={name:"labelEnd",tokenize:function(e,t,n){let i=this,r=i.events.length,o,s;for(;r--;)if(("labelImage"===i.events[r][1].type||"labelLink"===i.events[r][1].type)&&!i.events[r][1]._balanced){o=i.events[r][1];break}return function(t){return o?o._inactive?l(t):(s=i.parser.defined.includes((0,ec.d)(i.sliceSerialize({start:o.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(n){return 40===n?e.attempt(eC,t,s?t:l)(n):91===n?e.attempt(eE,t,s?e.attempt(ek,t,l):l)(n):s?t(n):l(n)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n=e.length,i=0,r,o,s,a;for(;n--;)if(r=e[n][1],o){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[n][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(s){if("enter"===e[n][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(o=n,"labelLink"!==r.type)){i=2;break}}else"labelEnd"===r.type&&(s=n);let l={type:"labelLink"===e[o][1].type?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[s][1].end)},c={type:"labelText",start:Object.assign({},e[o+i+2][1].end),end:Object.assign({},e[s-2][1].start)};return a=[["enter",l,t],["enter",u,t]],a=(0,N.V)(a,e.slice(o+1,o+i+3)),a=(0,N.V)(a,[["enter",c,t]]),a=(0,N.V)(a,(0,ee.C)(t.parser.constructs.insideSpan.null,e.slice(o+i+4,s-3),t)),a=(0,N.V)(a,[["exit",c,t],e[s-2],e[s-1],["exit",u,t]]),a=(0,N.V)(a,e.slice(s+1)),a=(0,N.V)(a,[["exit",l,t]]),(0,N.d)(e,o,e.length,a),e},resolveAll:function(e){let t=-1,n;for(;++t<e.length;)("labelImage"===(n=e[t][1]).type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++);return e}},eC={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),eu(e,i)};function i(t){return 41===t?s(t):es(e,r,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function r(t){return(0,z.z3)(t)?eu(e,o)(t):s(t)}function o(t){return 34===t||39===t||40===t?el(e,eu(e,s),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}function s(i){return 41===i?(e.enter("resourceMarker"),e.consume(i),e.exit("resourceMarker"),e.exit("resource"),t):n(i)}}},eE={tokenize:function(e,t,n){let i=this;return function(t){return ea.call(i,e,r,n,"reference","referenceMarker","referenceString")(t)};function r(e){return i.parser.defined.includes((0,ec.d)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},ek={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),i};function i(i){return 93===i?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}},eP={name:"labelStartImage",tokenize:function(e,t,n){let i=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),r};function r(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):t(e)}},resolveAll:e_.resolveAll};var eT=n(2987);let eA={name:"attention",tokenize:function(e,t){let n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=(0,eT.r)(i),o;return function(s){return e.enter("attentionSequence"),o=s,function s(a){if(a===o)return e.consume(a),s;let l=e.exit("attentionSequence"),u=(0,eT.r)(a),c=!u||2===u&&r||n.includes(a),d=!r||2===r&&u||n.includes(i);return l._open=Boolean(42===o?c:c&&(r||!d)),l._close=Boolean(42===o?d:d&&(u||!c)),t(a)}(s)}},resolveAll:function(e,t){let n=-1,i,r,o,s,a,l,u,c;for(;++n<e.length;)if("enter"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._close){for(i=n;i--;)if("exit"===e[i][0]&&"attentionSequence"===e[i][1].type&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCo
204deAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[i][1].end),h=Object.assign({},e[n][1].start);eO(d,-l),eO(h,l),s={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[i][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[n][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},e[i][1].end=Object.assign({},s.start),e[n][1].start=Object.assign({},a.end),u=[],e[i][1].end.offset-e[i][1].start.offset&&(u=(0,N.V)(u,[["enter",e[i][1],t],["exit",e[i][1],t]])),u=(0,N.V)(u,[["enter",r,t],["enter",s,t],["exit",s,t],["enter",o,t]]),u=(0,N.V)(u,(0,ee.C)(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),u=(0,N.V)(u,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=(0,N.V)(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,(0,N.d)(e,i-1,n-i+3,u),n=i+u.length-c-2;break}}for(n=-1;++n<e.length;)"attentionSequence"===e[n][1].type&&(e[n][1].type="data");return e}};function eO(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let eL={name:"labelStartLink",tokenize:function(e,t,n){let i=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),r};function r(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):t(e)}},resolveAll:e_.resolveAll},eR={42:en,43:en,45:en,48:en,49:en,50:en,51:en,52:en,53:en,54:en,55:en,56:en,57:en,62:eo},eM={91:{name:"definition",tokenize:function(e,t,n){let i=this,r;return function(t){return e.enter("definition"),ea.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return(r=(0,ec.d)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),eu(e,es(e,e.attempt(ed,(0,D.f)(e,s,"whitespace"),(0,D.f)(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function s(o){return null===o||(0,z.Ch)(o)?(e.exit("definition"),i.parser.defined.includes(r)||i.parser.defined.push(r),t(o)):n(o)}}}},eI={[-2]:eh,[-1]:eh,32:eh},eV={35:{name:"headingAtx",tokenize:function(e,t,n){let i=this,r=0;return function(o){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function o(s){return 35===s&&r++<6?(e.consume(s),o):null===s||(0,z.z3)(s)?(e.exit("atxHeadingSequence"),i.interrupt?t(s):function n(i){return 35===i?(e.enter("atxHeadingSequence"),function t(i){return 35===i?(e.consume(i),t):(e.exit("atxHeadingSequence"),n(i))}(i)):null===i||(0,z.Ch)(i)?(e.exit("atxHeading"),t(i)):(0,z.xz)(i)?(0,D.f)(e,n,"whitespace")(i):(e.enter("atxHeadingText"),function t(i){return null===i||35===i||(0,z.z3)(i)?(e.exit("atxHeadingText"),n(i)):(e.consume(i),t)}(i))}(s)):n(s)}(o)}},resolve:function(e,t){let n=e.length-2,i=3,r,o;return"whitespace"===e[i][1].type&&(i+=2),n-2>i&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(i===n-1||n-4>i&&"whitespace"===e[n-2][1].type)&&(n-=i+1===n?2:4),n>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},o={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},(0,N.d)(e,i,n-i+1,[["enter",r,t],["enter",o,t],["exit",o,t],["exit",r,t]])),e}},42:et,45:[ef,et],60:{name:"htmlFlow",tokenize:function(e,t,n){let i=this,r,o,s,a,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),p):63===a?(e.consume(a),r=3,i.interrupt?t:L):(0,z.jv)(a)?(e.consume(a),s=String.fromCharCode(a),o=!0,f):n(a)}function c(o){return 45===o?(e.consume(o),r=2,d):91===o?(e.consume(o),r=5,s="CDATA[",a=0,h):(0,z.jv)(o)?(e.consume(o),r=4,i.interrupt?t:L):n(o)}function d(r){return 45===r?(e.consume(r),i.interrupt?t:L):n(r)}function h(r){return r===s.charCodeAt(a++)?(e.consume(r),a===s.length?i.interrupt?t:C:h):n(r)}function p(t){return(0,z.jv)(t)?(e.consume(t),s=String.fromCharCode(t),f):n(t)}function f(a){if(null===a||47===a||62===a||(0,z.z3)(a))return 47!==a&&o&&eg.includes(s.toLowerCase())?(r=1,i.interrupt?t(a):C(a)):em.includes(s.toLowerCase())?(r=6,47===a)?(e.consume(a),m):i.interrupt?t(a):C(a):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(a):o?g(a):function t(n){return(0,z.xz)(n)?(e.consume(n),t):x(n)}(a));return 45===a||(0,z.H$)(a)?(e.consume(a),s+=String.fromCharCode(a),f):n(a)}function m(r){return 62===r?(e.consume(r),i.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),x):58===t||95===t||(0,z.jv)(t)?(e.consume(t),v):(0,z.xz)(t)?(e.consume(t),g):x(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,z.H$)(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):(0,z.xz)(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):(0,z.xz)(t)?(e.consume(t),b):(l=null,function t(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||(0,z.z3)(n)?y(n):(e.consume(n),t)}(t))}function w(t){return null===t||(0,z.Ch)(t)?n(t):t===l?(e.consume(t),S):(e.consume(t),w)}function S(e){return 47===e||62===e||(0,z.xz)(e)?g(e):n(e)}function x(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return(0,z.xz)(t)?(e.consume(t),_):null===t||(0,z.Ch)(t)?C(t):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),P):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),R):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),O):(0,z.Ch)(t)&&(6===r||7===r)?e.check(ev,R,E)(t):null===t||(0,z.Ch)(t)?E(t):(e.consume(t),C)}function E(t){return e.exit("htmlFlowData"),function t(n){return null===n?M(n):(0,z.Ch)(n)?e.attempt({tokenize:k,partial:!0},t,M)(n):(e.enter("htmlFlowData"),C(n))}(t)}
204function k(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return i.parser.lazy[i.now().line]?n(e):t(e)}}function P(t){return 45===t?(e.consume(t),L):C(t)}function T(t){return 47===t?(e.consume(t),s="",A):C(t)}function A(t){return 62===t&&eg.includes(s.toLowerCase())?(e.consume(t),R):(0,z.jv)(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),A):C(t)}function O(t){return 93===t?(e.consume(t),L):C(t)}function L(t){return 62===t?(e.consume(t),R):45===t&&2===r?(e.consume(t),L):C(t)}function R(t){return null===t||(0,z.Ch)(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),R)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:ef,95:et,96:ey,126:ey},eD={38:ew,92:eS},ez={[-5]:ex,[-4]:ex,[-3]:ex,33:eP,38:ew,42:eA,60:[{name:"autolink",tokenize:function(e,t,n){let i=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),r};function r(t){return(0,z.jv)(t)?(e.consume(t),o):(0,z.n9)(t)?a(t):n(t)}function o(t){return 43===t||45===t||46===t||(0,z.H$)(t)?function t(n){return 58===n?(e.consume(n),s):(43===n||45===n||46===n||(0,z.H$)(n))&&i++<32?(e.consume(n),t):a(n)}(t):a(t)}function s(t){return 62===t?(e.exit("autolinkProtocol"),u(t)):null===t||32===t||60===t||(0,z.Av)(t)?n(t):(e.consume(t),s)}function a(t){return 64===t?(e.consume(t),i=0,l):(0,z.n9)(t)?(e.consume(t),a):n(t)}function l(t){return(0,z.H$)(t)?function t(r){return 46===r?(e.consume(r),i=0,l):62===r?(e.exit("autolinkProtocol").type="autolinkEmail",u(r)):function r(o){return(45===o||(0,z.H$)(o))&&i++<63?(e.consume(o),45===o?r:t):n(o)}(r)}(t):n(t)}function u(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}},{name:"htmlText",tokenize:function(e,t,n){let i=this,r,o,s,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),x):63===t?(e.consume(t),w):(0,z.jv)(t)?(e.consume(t),C):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o="CDATA[",s=0,m):(0,z.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function d(t){return null===t||62===t?n(t):45===t?(e.consume(t),h):p(t)}function h(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),f):(0,z.Ch)(t)?(a=p,L(t)):(e.consume(t),p)}function f(t){return 45===t?(e.consume(t),M):p(t)}function m(t){return t===o.charCodeAt(s++)?(e.consume(t),s===o.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):(0,z.Ch)(t)?(a=g,L(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),y):g(t)}function y(t){return 62===t?M(t):93===t?(e.consume(t),y):g(t)}function b(t){return null===t||62===t?M(t):(0,z.Ch)(t)?(a=b,L(t)):(e.consume(t),b)}function w(t){return null===t?n(t):63===t?(e.consume(t),S):(0,z.Ch)(t)?(a=w,L(t)):(e.consume(t),w)}function S(e){return 62===e?M(e):w(e)}function x(t){return(0,z.jv)(t)?(e.consume(t),_):n(t)}function _(t){return 45===t||(0,z.H$)(t)?(e.consume(t),_):function t(n){return(0,z.Ch)(n)?(a=t,L(n)):(0,z.xz)(n)?(e.consume(n),t):M(n)}(t)}function C(t){return 45===t||(0,z.H$)(t)?(e.consume(t),C):47===t||62===t||(0,z.z3)(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),M):58===t||95===t||(0,z.jv)(t)?(e.consume(t),k):(0,z.Ch)(t)?(a=E,L(t)):(0,z.xz)(t)?(e.consume(t),E):M(t)}function k(t){return 45===t||46===t||58===t||95===t||(0,z.H$)(t)?(e.consume(t),k):function t(n){return 61===n?(e.consume(n),P):(0,z.Ch)(n)?(a=t,L(n)):(0,z.xz)(n)?(e.consume(n),t):E(n)}(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,T):(0,z.Ch)(t)?(a=P,L(t)):(0,z.xz)(t)?(e.consume(t),P):(e.consume(t),r=void 0,O)}function T(t){return t===r?(e.consume(t),A):null===t?n(t):(0,z.Ch)(t)?(a=T,L(t)):(e.consume(t),T)}function A(e){return 62===e||47===e||(0,z.z3)(e)?E(e):n(e)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||(0,z.z3)(t)?E(t):(e.consume(t),O)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
204(0,D.f)(e,R,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function R(t){return e.enter("htmlTextData"),a(t)}function M(i){return 62===i?(e.consume(i),e.exit("htmlTextData"),e.exit("htmlText"),t):n(i)}}}],91:eL,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return(0,z.Ch)(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}},eS],93:e_,95:eA,96:{name:"codeText",tokenize:function(e,t,n){let i=0,r,o;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),i++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):96===l?(o=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(o.type="codeTextData",a(s))}(l)):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):(0,z.Ch)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),a(l))}function a(t){return null===t||32===t||96===t||(0,z.Ch)(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),a)}},resolve:function(e){let t=e.length-4,n=3,i,r;if(("lineEnding"===e[n][1].type||"space"===e[n][1].type)&&("lineEnding"===e[t][1].type||"space"===e[t][1].type)){for(i=n;++i<t;)if("codeTextData"===e[i][1].type){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)void 0===r?i!==t&&"lineEnding"!==e[i][1].type&&(r=i):(i===t||"lineEnding"===e[i][1].type)&&(e[r][1].type="codeTextData",i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},eF={null:[eA,Q]},eN={null:[42,95]},ej={null:[]},eG=/[\0\t\n\r]/g;var eB=n(889),eH=n(7881);let eU={}.hasOwnProperty,e$=function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);let r,o,s,l;return(function(e={}){let t=function e(t,n){let i=-1;for(;++i<n.length;){let r=n[i];Array.isArray(r)?e(t,r):eq(t,r)}return t}({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(x),autolinkProtocol:f,autolinkEmail:f,atxHeading:l(b),blockQuote:l(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:l(y),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(y,u),codeText:l(function(){return{type:"inlineCode",value:""}},u),codeTextData:f,data:f,codeFlowValue:f,definition:l(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:l(w),hardBreakTrailing:l(w),htmlFlow:l(S,u),htmlFlowData:f,htmlText:l(S,u),htmlTextData:f,image:l(function(){return{type:"image",title:null,url:"",alt:null}}),label:u,link:l(x),listItem:l(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){var t,i;if(n.expectingFirstListItemValue){let r=this.stack[this.stack.length-2];r.start=Number.parseInt(this.sliceSerialize(e),10),n[i="expectingFirstListItemValue"]=void 0}},listOrdered:l(_,function(){var e,t;n.expectingFirstListItemValue=!0}),listUnordered:l(_),paragraph:l(function(){return{type:"paragraph",children:[]}}),reference:function(){var e,t;n.referenceType="collapsed"},referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(b),strong:l(function(){return{type:"strong",children:[]}}),thematicBreak:l(function(){return{type:"thematicBreak"}})},exit:{atxHeading:d(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:d(),autolinkEmail:function(e){m.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:d(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:v,characterReferenceMarkerNumeric:v,characterReferenceValue:function(e){var t,i;let r=this.sliceSerialize(e),o=n.characterReferenceType,a;o?(a=(0,eB.o)(r,"characterReferenceMarkerNumeric"===o?10:16),n[i="characterReferenceType"]=void 0):a=(0,eb.T)(r);let l=this.stack.pop();l.value+=a,l.position.end=s(e.end)},codeFenced:d(function(){var e;let t=this.resume(),i=this.stack[this.stack.length-1];i.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){var e,t,i;!n.flowCodeInside&&(this.buffer(),i=!0,n[t="flowCodeInside"]=i)},codeFencedFenceInfo:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e},codeFlowValue:m,codeIndented:d(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:d(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:m,data:m,definition:d(),definitionDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,ec.d)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:d(),hardBreakEscape:d(g),hardBreakTrailing:d(g),htmlFlow:d(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:m,htmlText:d(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:m,image:d(function(){var e,t,i;let r=this.stack[this.stack.length-1];n.inReference?(r.type+="Reference",r.referenceType=n[t="referenceType"]||"shortcut",delete r.url,delete r.title):(delete r.identifier,delete r.label),n.referenceType=void 0}),label:function(){var e,t;let i=this.stack[this.stack.length-1],r=this.resume(),o=this.stack[this.stack.length-1];n.inReference=!0,"link"===o.type?o.children=i.children:o.alt=r},labelText:function(e){let t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=(0,eH.v)(n),t.identifier=(0,ec.d)(n).toLowerCase()},lineEnding:function(e){var i,r,o;let a=this.stack[this.stack.length-1];if(n.atHardBreak){let l=a.children[a.children.length-1];l.position.end=s(e.end),n[r="atHardBreak"]=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(a.type)&&(f.call(this,e),m.call(this,e))},link:d(function(){var e,t,i;let r=this.stack[this.stack.length-1];n.inReference?(r.type+="Reference",r.referenceType=n[t="referenceType"]||"shortcut",delete r.url,delete r.title):(delete r.identifier,delete r.label),n.referenceType=void 0}),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:function(e){var t,i;let r=this.resume(),o=this.stack[this.stack.length-1];o.label=r,o.identifier=(0,ec.d)(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e},resourceTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},resource:function(){var e;n.inReference=void 0},setextHeading:d(function(){var e;n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){var e,t;n.setextHeadingSlurpLineEnding=!0},strong:d(),thematicBreak:d()}},e.mdastExtensions||[]),n={};return function(e){let n={type:"root",children:[]},a=[n],l=[],d=[],f={stack:a,tokenStack:l,config:t,enter:c,exit:h,buffer:u,resume:p,setData:r,getData:o},m=-1;for(;++m<e.length;)if("listOrdered"===e[m][1].type||"listUnordered"===e[m][1].type){if("enter"===e[m][0])d.push(m);else{let g=d.pop();m=i(e,g,m)}}for(m=-1;++m<e.length;){let v=t[e[m][0]];eU.call(v,e[m][1].type)&&v[e[m][1].type].call(Object.assign({sliceSerialize:e[m][2].sliceSerialize},f),e[m][1])}if(l.length>0){let y=l[l.length-1],b=y[1]||eW;b.call(f,void 0,y[0])}for(n.position={start:s(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:s(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},m=-1;++m<t.transforms.length;)n=t.transforms[m](n)||n;return n};function i(e,t,n){let i=t-1,r=-1,o=!1,s,a,l,u;for(;++i<=n;){let c=e[i];if("listUnordered"===c[1].type||"listOrdered"===c[1].type||"blockQuote"===c[1].type?("enter"===c[0]?r++:r--,u=void 0):"lineEndingBlank"===c[1].type?"enter"
204===c[0]&&(!s||u||r||l||(l=i),u=void 0):"linePrefix"===c[1].type||"listItemValue"===c[1].type||"listItemMarker"===c[1].type||"listItemPrefix"===c[1].type||"listItemPrefixWhitespace"===c[1].type||(u=void 0),!r&&"enter"===c[0]&&"listItemPrefix"===c[1].type||-1===r&&"exit"===c[0]&&("listUnordered"===c[1].type||"listOrdered"===c[1].type)){if(s){let d=i;for(a=void 0;d--;){let h=e[d];if("lineEnding"===h[1].type||"lineEndingBlank"===h[1].type){if("exit"===h[0])continue;a&&(e[a][1].type="lineEndingBlank",o=!0),h[1].type="lineEnding",a=d}else if("linePrefix"===h[1].type||"blockQuotePrefix"===h[1].type||"blockQuotePrefixWhitespace"===h[1].type||"blockQuoteMarker"===h[1].type||"listItemIndent"===h[1].type);else break}l&&(!a||l<a)&&(s._spread=!0),s.end=Object.assign({},a?e[a][1].start:c[1].end),e.splice(a||i,0,["exit",s,c[2]]),i++,n++}"listItemPrefix"===c[1].type&&(s={type:"listItem",_spread:!1,start:Object.assign({},c[1].start)},e.splice(i,0,["enter",s,c[2]]),i++,n++,l=void 0,u=!0)}}return e[t][1]._spread=o,n}function r(e,t){n[e]=t}function o(e){return n[e]}function s(e){return{line:e.line,column:e.column,offset:e.offset}}function l(e,t){return function(n){c.call(this,e(n),n),t&&t.call(this,n)}}function u(){this.stack.push({type:"fragment",children:[]})}function c(e,t,n){let i=this.stack[this.stack.length-1];return i.children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:s(t.start)},e}function d(e){return function(t){e&&e.call(this,t),h.call(this,t)}}function h(e,t){let n=this.stack.pop(),i=this.tokenStack.pop();if(i){if(i[0].type!==e.type){if(t)t.call(this,e,i[0]);else{let r=i[1]||eW;r.call(this,e,i[0])}}}else throw Error("Cannot close `"+e.type+"` ("+a({start:e.start,end:e.end})+"): it’s not open");return n.position.end=s(e.end),n}function p(){return function(e,t){var{includeImageAlt:n=!0}={};return M(e,n)}(this.stack.pop())}function f(e){let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:s(e.start)},t.children.push(n)),this.stack.push(n)}function m(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=s(e.end)}function g(){var e,t;n.atHardBreak=!0}function v(e){var t,i;i=e.type,n.characterReferenceType=i}function y(){return{type:"code",lang:null,meta:null,value:""}}function b(){return{type:"heading",depth:void 0,children:[]}}function w(){return{type:"break"}}function S(){return{type:"html",value:""}}function x(){return{type:"link",title:null,url:"",children:[]}}function _(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!H(e););return e}((function(e={}){let t=(0,V.W)([i].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(F),document:r(j),flow:r(W),string:r(Y),text:r(Z)};return n;function r(e){return function(t){return function(e,t,n){let i=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),r={},o=[],s=[],a=[],l={consume:function(e){(0,z.Ch)(e)?(i.line++,i.column=1,i.offset+=-3===e?2:1,v()):-1!==e&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===s[i._index].length&&(i._bufferIndex=-1,i._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=h(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=h(),u.events.push(["exit",t,u]),t},attempt:m(function(e,t){g(e,t.from)}),check:m(f),interrupt:m(f,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n=-1,i=[],r;for(;++n<e.length;){let o=e[n],s;if("string"==typeof o)s=o;else switch(o){case -5:s="\r";break;case -4:s="\n";break;case -3:s="\r\n";break;case -2:s=t?" ":" ";break;case -1:if(!t&&r)continue;s=" ";break;default:s=String.fromCharCode(o)}r=-2===o,i.push(s)}return i.join("")}(d(e),t)},now:h,defineSkip:function(e){r[e.line]=e.column,v()},write:function(e){return(s=(0,N.V)(s,e),function(){let e;for(;i._index<s.length;){let t=s[i._index];if("string"==typeof t)for(e=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===e&&i._bufferIndex<t.length;)p(t.charCodeAt(i._bufferIndex));else p(t)}}(),null!==s[s.length-1])?[]:(g(t,0),u.events=(0,ee.C)(o,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){let n=t.start._index,i=t.start._bufferIndex,r=t.end._index,o=t.end._bufferIndex,s;return n===r?s=[e[n].slice(i,o)]:(s=e.slice(n,r),i>-1&&(s[0]=s[0].slice(i)),o>0&&s.push(e[r].slice(0,o))),s}(s,e)}function h(){return Object.assign({},i)}function p(e){c=c(e)}
204function f(e,t){t.restore()}function m(e,t){return function(n,r,o){var s;let c,d,p,f;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null,i=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]];return m(i)(e)});function m(e){return(c=e,d=0,0===e.length)?o:g(e[d])}function g(e){return function(n){return(f=function(){let e=h(),t=u.previous,n=u.currentConstruct,r=u.events.length,o=Array.from(a);return{restore:function(){i=e,u.previous=t,u.currentConstruct=n,u.events.length=r,a=o,v()},from:r}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,y,b)(n)}}function y(t){return e(p,f),r}function b(e){return(f.restore(),++d<c.length)?g(c[d]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&(0,N.d)(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function v(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}(n,e,t)}}})(n).document().write((r=1,o="",s=!0,function(e,t,n){let i=[],a,u,c,d,h;for(e=o+e.toString(t),c=0,o="",s&&(65279===e.charCodeAt(0)&&c++,s=void 0);c<e.length;){if(eG.lastIndex=c,d=(a=eG.exec(e))&&void 0!==a.index?a.index:e.length,h=e.charCodeAt(d),!a){o=e.slice(c);break}if(10===h&&c===d&&l)i.push(-3),l=void 0;else switch(l&&(i.push(-5),l=void 0),c<d&&(i.push(e.slice(c,d)),r+=d-c),h){case 0:i.push(65533),r++;break;case 9:for(u=4*Math.ceil(r/4),i.push(-2);r++<u;)i.push(-1);break;case 10:i.push(-4),r=1;break;default:l=!0,r=1}c=d+1}return n&&(l&&i.push(-5),o&&i.push(o),i.push(null)),i})(e,t,!0))))};function eq(e,t){let n;for(n in t)if(eU.call(t,n)){let i="canContainEols"===n||"transforms"===n,r=eU.call(e,n)?e[n]:void 0,o=r||(e[n]=i?[]:{}),s=t[n];s&&(i?e[n]=[...o,...s]:Object.assign(o,s))}}function eW(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+a({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+a({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+a({start:t.start,end:t.end})+") is still open")}var eQ=function(e){let t=t=>{let n=this.data("settings");return e$(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:t})},eY=function(e,t,n){var i={type:String(e)};return null==n&&("string"==typeof t||Array.isArray(t))?n=t:Object.assign(i,t),Array.isArray(n)?i.children=n:null!=n&&(i.value=String(n)),i},eZ=n(5765);let eK=function(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),(0,eZ.S4)(e,t,function(e,t){let i=t[t.length-1];return n(e,i?i.children.indexOf(e):null,i)},i)},eX=e0("start"),eJ=e0("end");function e0(e){return function(t){let n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}let e1={}.hasOwnProperty;function e2(e){return String(e||"").toUpperCase()}let e4={}.hasOwnProperty;function e3(e,t){let n=t.data||{};return"value"in t&&!(e4.call(n,"hName")||e4.call(n,"hProperties")||e4.call(n,"hChildren"))?e.augment(t,eY("text",t.value)):e(t,"div",e8(e,t))}function e5(e,t,n){let i=t&&t.type,r;if(!i)throw Error("Expected node, got `"+t+"`");return("function"==typeof(r=e4.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.includes(i)?e6:e.unknownHandler)?r:e3)(e,t,n)}function e6(e,t){return"children"in t?{...t,children:e8(e,t)}:t}function e8(e,t){let n=[];if("children"in t){let i=t.children,r=-1;for(;++r<i.length;){let o=e5(e,i[r],t);if(o){if(r&&"break"===i[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){let s=o.children[0];s&&"text"===s.type&&(s.value=s.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function e9(e){let t=[],n=-1,i=0,r=0;for(;++n<e.length;){let o=e.charCodeAt(n),s="";if(37===o&&(0,z.H$)(e.charCodeAt(n+1))&&(0,z.H$)(e.charCodeAt(n+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){let a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),r=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(i,n),encodeURIComponent(s)),i=n+r+1,s=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}function e7(e,t){let n=[],i=-1;for(t&&n.push(eY("text","\n"));++i<e.length;)i&&n.push(eY("text","\n")),n.push(e[i]);return t&&e.length>0&&n.push(eY("text","\n")),n}function te(e,t){let n=String(t.identifier),i=e9(n.toLowerCase()),r=e.footnoteOrder.indexOf(n),o;-1===r?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=r+1);let s=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[eY("text",String(o))])])}function tt(e,t){let n=t.referenceType,i="]";if("collapsed"===n?i+="[]":"full"===n&&(i+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return eY("text","!["+t.alt+i);
204let r=e8(e,t),o=r[0];o&&"text"===o.type?o.value="["+o.value:r.unshift(eY("text","["));let s=r[r.length-1];return s&&"text"===s.type?s.value+=i:r.push(eY("text",i)),r}function tn(e){let t=e.spread;return null==t?e.children.length>1:t}function ti(e,t,n){let i=0,r=e.length;if(t){let o=e.codePointAt(i);for(;9===o||32===o;)i++,o=e.codePointAt(i)}if(n){let s=e.codePointAt(r-1);for(;9===s||32===s;)r--,s=e.codePointAt(r-1)}return r>i?e.slice(i,r):""}let tr={blockquote:function(e,t){return e(t,"blockquote",e7(e8(e,t),!0))},break:function(e,t){return[e(t,"br"),eY("text","\n")]},code:function(e,t){let n=t.value?t.value+"\n":"",i=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),r={};i&&(r.className=["language-"+i]);let o=e(t,"code",r,[eY("text",n)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])},delete:function(e,t){return e(t,"del",e8(e,t))},emphasis:function(e,t){return e(t,"em",e8(e,t))},footnoteReference:te,footnote:function(e,t){let n=e.footnoteById,i=1;for(;(i in n);)i++;let r=String(i);return n[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position},te(e,{type:"footnoteReference",identifier:r,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,e8(e,t))},html:function(e,t){return e.dangerous?e.augment(t,eY("raw",t.value)):null},imageReference:function(e,t){let n=e.definition(t.identifier);if(!n)return tt(e,t);let i={src:e9(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(i.title=n.title),e(t,"img",i)},image:function(e,t){let n={src:e9(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[eY("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){let n=e.definition(t.identifier);if(!n)return tt(e,t);let i={href:e9(n.url||"")};return null!==n.title&&void 0!==n.title&&(i.title=n.title),e(t,"a",i,e8(e,t))},link:function(e,t){let n={href:e9(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,e8(e,t))},listItem:function(e,t,n){let i=e8(e,t),r=n?function(e){let t=e.spread,n=e.children,i=-1;for(;!t&&++i<n.length;)t=tn(n[i]);return Boolean(t)}(n):tn(t),o={},s=[];if("boolean"==typeof t.checked){let a;i[0]&&"element"===i[0].type&&"p"===i[0].tagName?a=i[0]:(a=e(null,"p",[]),i.unshift(a)),a.children.length>0&&a.children.unshift(eY("text"," ")),a.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),o.className=["task-list-item"]}let l=-1;for(;++l<i.length;){let u=i[l];(r||0!==l||"element"!==u.type||"p"!==u.tagName)&&s.push(eY("text","\n")),"element"!==u.type||"p"!==u.tagName||r?s.push(u):s.push(...u.children)}let c=i[i.length-1];return!c||!r&&"tagName"in c&&"p"===c.tagName||s.push(eY("text","\n")),e(t,"li",o,s)},list:function(e,t){let n={},i=t.ordered?"ol":"ul",r=e8(e,t),o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){let s=r[o];if("element"===s.type&&"li"===s.tagName&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,i,n,e7(r,!0))},paragraph:function(e,t){return e(t,"p",e8(e,t))},root:function(e,t){return e.augment(t,eY("root",e7(e8(e,t))))},strong:function(e,t){return e(t,"strong",e8(e,t))},table:function(e,t){let n=t.children,i=-1,r=t.align||[],o=[];for(;++i<n.length;){let s=n[i].children,a=0===i?"th":"td",l=[],u=-1,c=t.align?r.length:s.length;for(;++u<c;){let d=s[u];l.push(e(d,a,{align:r[u]},d?e8(e,d):[]))}o[i]=e(n[i],"tr",e7(l,!0))}return e(t,"table",e7([e(o[0].position,"thead",e7([o[0]],!0))].concat(o[1]?e({start:eX(o[1]),end:eJ(o[o.length-1])},"tbody",e7(o.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,eY("text",function(e){let t=String(e),n=/\r?\n|\r/g,i=n.exec(t),r=0,o=[];for(;i;)o.push(ti(t.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(t);return o.push(ti(t.slice(r),r>0,!1)),o.join("")}(String(t.value))))},thematicBreak:function(e,t){return e(t,"hr")},toml:to,yaml:to,definition:to,footnoteDefinition:to};function to(){return null}let ts={}.hasOwnProperty;function ta(e,t){let n=function(e,t){let n=t||{},i=n.allowDangerousHtml||!1,r={};return s.dangerous=i,s.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,s.footnoteLabel=n.footnoteLabel||"Footnotes",s.footnoteLabelTagName=n.footnoteLabelTagName||"h2",s.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},s.footnoteBackLabel=n.footnoteBackLabel||"Back to content",s.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return eK(e,"definition",e=>{let n=e2(e.identifier);n&&!e1.call(t,n)&&(t[n]=e)}),function(e){let n=e2(e);return n&&e1.call(t,n)?t[n]:null}}(e),s.footnoteById=r,s.footnoteOrder=[],s.footnoteCounts={},s.augment=o,s.handlers={...tr,...n.handlers},s.unknownHandler=n.unknownHandler,s.passThrough=n.passThrough,eK(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();ts.call(r,t)||(r[t]=e)}),s;function o(e,t){if(e&&"data"in e&&e.data){let n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){var i;let r="type"in e?e:{position:e};r&&r.position&&r.position.start&&r.position.start.line&&r.position.start.column&&r.position.end&&r.position.end.line&&r.position.end.column&&(t.position={start:eX(r),end:eJ(r)})}return t}function s(e,t,n,i){return Array.isArray(n)&&(i=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:i||[]})}}(e,t),i=e5(n,e,null),r=function(e){let t=-1,n=[];for(;++t<e.footnoteOrder.length;){let i=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!i)continue;
204let r=e8(e,i),o=String(i.identifier),s=e9(o.toLowerCase()),a=0,l=[];for(;++a<=e.footnoteCounts[o];){let u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&u.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(u)}let c=r[r.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let d=c.children[c.children.length-1];d&&"text"===d.type?d.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else r.push(...l);let h={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+s},children:e7(r,!0)};i.position&&(h.position=i.position),n.push(h)}return 0===n.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[eY("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e7(n,!0)},{type:"text",value:"\n"}]}}(n);return r&&i.children.push(eY("text","\n"),r),Array.isArray(i)?{type:"root",children:i}:i}let tl=function(e,t){var n,i,r;return e&&"run"in e?(n=e,i=t,(e,t,r)=>{n.run(ta(e,i),t,e=>{r(e)})}):(r=e||t,e=>ta(e,r))};var tu=n(5697);class tc{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function td(e,t){let n={},i={},r=-1;for(;++r<e.length;)Object.assign(n,e[r].property),Object.assign(i,e[r].normal);return new tc(n,i,t)}function th(e){return e.toLowerCase()}tc.prototype.property={},tc.prototype.normal={},tc.prototype.space=null;class tp{constructor(e,t){this.property=e,this.attribute=t}}tp.prototype.space=null,tp.prototype.boolean=!1,tp.prototype.booleanish=!1,tp.prototype.overloadedBoolean=!1,tp.prototype.number=!1,tp.prototype.commaSeparated=!1,tp.prototype.spaceSeparated=!1,tp.prototype.commaOrSpaceSeparated=!1,tp.prototype.mustUseProperty=!1,tp.prototype.defined=!1;let tf=0,tm=tx(),tg=tx(),tv=tx(),ty=tx(),tb=tx(),tw=tx(),tS=tx();function tx(){return 2**++tf}let t_=Object.keys(r);class tC extends tp{constructor(e,t,n,i){let o=-1;if(super(e,t),tE(this,"space",i),"number"==typeof n)for(;++o<t_.length;){let s=t_[o];tE(this,t_[o],(n&r[s])===r[s])}}}function tE(e,t,n){n&&(e[t]=n)}tC.prototype.defined=!0;let tk={}.hasOwnProperty;function tP(e){let t={},n={},i;for(i in e.properties)if(tk.call(e.properties,i)){let r=e.properties[i],o=new tC(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[th(i)]=i,n[th(o.attribute)]=i}return new tc(t,n,e.space)}let tT=tP({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tA=tP({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function tO(e,t){return t in e?e[t]:t}function tL(e,t){return tO(e,t.toLowerCase())}let tR=tP({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:tL,properties:{xmlns:null,xmlnsXLink:null}}),tM=tP({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:tg,ariaAutoComplete:null,ariaBusy:tg,ariaChecked:tg,ariaColCount:ty,ariaColIndex:ty,ariaColSpan:ty,ariaControls:tb,ariaCurrent:null,ariaDescribedBy:tb,ariaDetails:null,ariaDisabled:tg,ariaDropEffect:tb,ariaErrorMessage:null,ariaExpanded:tg,ariaFlowTo:tb,ariaGrabbed:tg,ariaHasPopup:null,ariaHidden:tg,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tb,ariaLevel:ty,ariaLive:null,ariaModal:tg,ariaMultiLine:tg,ariaMultiSelectable:tg,ariaOrientation:null,ariaOwns:tb,ariaPlaceholder:null,ariaPosInSet:ty,ariaPressed:tg,ariaReadOnly:tg,ariaRelevant:null,ariaRequired:tg,ariaRoleDescription:tb,ariaRowCount:ty,ariaRowIndex:ty,ariaRowSpan:ty,ariaSelected:tg,ariaSetSize:ty,ariaSort:null,ariaValueMax:ty,ariaValueMin:ty,ariaValueNow:ty,ariaValueText:null,role:null}}),tI=tP({space:"html",attributes:{acceptcharset:"accept-charset",classname:"
204class",htmlfor:"for",httpequiv:"http-equiv"},transform:tL,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tw,acceptCharset:tb,accessKey:tb,action:null,allow:null,allowFullScreen:tm,allowPaymentRequest:tm,allowUserMedia:tm,alt:null,as:null,async:tm,autoCapitalize:null,autoComplete:tb,autoFocus:tm,autoPlay:tm,capture:tm,charSet:null,checked:tm,cite:null,className:tb,cols:ty,colSpan:null,content:null,contentEditable:tg,controls:tm,controlsList:tb,coords:ty|tw,crossOrigin:null,data:null,dateTime:null,decoding:null,default:tm,defer:tm,dir:null,dirName:null,disabled:tm,download:tv,draggable:tg,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:tm,formTarget:null,headers:tb,height:ty,hidden:tm,high:ty,href:null,hrefLang:null,htmlFor:tb,httpEquiv:tb,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:tm,itemId:null,itemProp:tb,itemRef:tb,itemScope:tm,itemType:tb,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:tm,low:ty,manifest:null,max:null,maxLength:ty,media:null,method:null,min:null,minLength:ty,multiple:tm,muted:tm,name:null,nonce:null,noModule:tm,noValidate:tm,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:tm,optimum:ty,pattern:null,ping:tb,placeholder:null,playsInline:tm,poster:null,preload:null,readOnly:tm,referrerPolicy:null,rel:tb,required:tm,reversed:tm,rows:ty,rowSpan:ty,sandbox:tb,scope:null,scoped:tm,seamless:tm,selected:tm,shape:null,size:ty,sizes:null,slot:null,span:ty,spellCheck:tg,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ty,step:null,style:null,tabIndex:ty,target:null,title:null,translate:null,type:null,typeMustMatch:tm,useMap:null,value:tg,width:ty,wrap:null,align:null,aLink:null,archive:tb,axis:null,background:null,bgColor:null,border:ty,borderColor:null,bottomMargin:ty,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:tm,declare:tm,event:null,face:null,frame:null,frameBorder:null,hSpace:ty,leftMargin:ty,link:null,longDesc:null,lowSrc:null,marginHeight:ty,marginWidth:ty,noResize:tm,noHref:tm,noShade:tm,noWrap:tm,object:null,profile:null,prompt:null,rev:null,rightMargin:ty,rules:null,scheme:null,scrolling:tg,standby:null,summary:null,text:null,topMargin:ty,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ty,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:tm,disableRemotePlayback:tm,prefix:null,property:null,results:ty,security:null,unselectable:null}}),tV=tP({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
204dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:tO,properties:{about:tS,accentHeight:ty,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ty,amplitude:ty,arabicForm:null,ascent:ty,attributeName:null,attributeType:null,azimuth:ty,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ty,by:null,calcMode:null,capHeight:ty,className:tb,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
204dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ty,diffuseConstant:ty,direction:null,display:null,dur:null,divisor:ty,dominantBaseline:null,download:tm,dx:null,dy:null,edgeMode:null,editable:null,elevation:ty,enableBackground:null,end:null,event:null,exponent:ty,externalResourcesRequired:null,fill:null,fillOpacity:ty,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:tw,g2:tw,glyphName:tw,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ty,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ty,horizOriginX:ty,horizOriginY:ty,id:null,ideographic:ty,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ty,k:ty,k1:ty,k2:ty,k3:ty,k4:ty,kernelMatrix:tS,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ty,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ty,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ty,overlineThickness:ty,paintOrder:null,panose1:null,path:null,pathLength:ty,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tb,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ty,pointsAtY:ty,pointsAtZ:ty,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:tS,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:tS,rev:tS,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:tS,requiredFeatures:tS,requiredFonts:tS,requiredFormats:tS,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ty,specularExponent:ty,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ty,strikethroughThickness:ty,string:null,stroke:null,strokeDashArray:tS,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ty,strokeOpacity:ty,strokeWidth:null,style:null,surfaceScale:ty,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:tS,tabIndex:ty,tableValues:null,target:null,targetX:ty,targetY:ty,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:tS,to:null,transform:null,u1:null,u2:null,underlinePosition:ty,underlineThickness:ty,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ty,values:null,vAlphabetic:ty,vMathematical:ty,vectorEffect:null,vHanging:ty,vIdeographic:ty,version:null,vertAdvY:ty,vertOriginX:ty,vertOriginY:ty,viewB
204ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ty,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),tD=td([tA,tT,tR,tM,tI],"html"),tz=td([tA,tT,tR,tM,tV],"svg");function tF(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{eK(t,"element",(t,n,i)=>{let r;if(e.allowedElements?r=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(r=e.disallowedElements.includes(t.tagName)),!r&&e.allowElement&&"number"==typeof n&&(r=!e.allowElement(t,n,i)),r&&"number"==typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n})}}let tN=["http","https","mailto","tel"];var tj=n(2143);function tG(e){var t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}let tB=/^data[-\w.:]+$/i,tH=/-[a-z]/g,tU=/[A-Z]/g;function t$(e){return"-"+e.toLowerCase()}function tq(e){return e.charAt(1).toUpperCase()}let tW={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tQ=n(7848);let tY={}.hasOwnProperty,tZ=new Set(["table","thead","tbody","tfoot","tr"]);function tK(e,t){let n=[],i=-1,r;for(;++i<t.children.length;)"element"===(r=t.children[i]).type?n.push(tX(e,r,i,t)):"text"===r.type?"element"===t.type&&tZ.has(t.tagName)&&tG(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function tX(e,t,n,i){var r;let s=e.options,a=e.schema,l=t.tagName,u={},c=a,d;if("html"===a.space&&"svg"===l&&(c=tz,e.schema=c),t.properties)for(d in t.properties)tY.call(t.properties,d)&&t0(u,d,t.properties[d],e);("ol"===l||"ul"===l)&&e.listDepth++;let h=tK(e,t);("ol"===l||"ul"===l)&&e.listDepth--,e.schema=a;let p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=s.components&&tY.call(s.components,l)?s.components[l]:l,m="string"==typeof f||f===o.Fragment;if(!tj.isValidElementType(f))throw TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(u.key=[l,p.start.line,p.start.column,n].join("-"),"a"===l&&s.linkTarget&&(u.target="function"==typeof s.linkTarget?s.linkTarget(String(u.href||""),t.children,"string"==typeof u.title?u.title:null):s.linkTarget),"a"===l&&s.transformLinkUri&&(u.href=s.transformLinkUri(String(u.href||""),t.children,"string"==typeof u.title?u.title:null)),m||"code"!==l||"element"!==i.type||"pre"===i.tagName||(u.inline=!0),m||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(u.level=Number.parseInt(l.charAt(1),10)),"img"===l&&s.transformImageUri&&(u.src=s.transformImageUri(String(u.src||""),String(u.alt||""),"string"==typeof u.title?u.title:null)),!m&&"li"===l&&"element"===i.type){let g=function(e){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);u.checked=g&&g.properties?Boolean(g.properties.checked):null,u.index=tJ(i,t),u.ordered="ol"===i.tagName}return m||"ol"!==l&&"ul"!==l||(u.ordered="ol"===l,u.depth=e.listDepth),"td"!==l&&"th"!==l||(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),m||(u.isHeader="th"===l)),m||"tr"!==l||"element"!==i.type||(u.isHeader=Boolean("thead"===i.tagName)),s.sourcePos&&(u["data-sourcepos"]=(r=p,[r.start.line,":",r.start.column,"-",r.end.line,":",r.end.column].map(e=>String(e)).join(""))),!m&&s.rawSourcePos&&(u.sourcePosition=t.position),!m&&s.includeElementIndex&&(u.index=tJ(i,t),u.siblingCount=tJ(i)),m||(u.node=t),h.length>0?o.createElement(f,u,h):o.createElement(f,u)}function tJ(e,t){let n=-1,i=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&i++;return i}function t0(e,t,n,i){let r=function(e,t){let n=th(t),i=t,r=tp;
204if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&tB.test(t)){if("-"===t.charAt(4)){let o=t.slice(5).replace(tH,tq);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let s=t.slice(4);if(!tH.test(s)){let a=s.replace(tU,t$);"-"!==a.charAt(0)&&(a="-"+a),t="data"+a}}r=tC}return new r(i,t)}(i.schema,t),o=n;if(null!=o&&o==o){if(Array.isArray(o)){var s;o=r.commaSeparated?function(e,t){let n={},i=""===e[e.length-1]?[...e,""]:e;return i.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):(s=o).join(" ").trim()}"style"===r.property&&"string"==typeof o&&(o=function(e){let t={};try{tQ(e,function(e,n){let i="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[i.replace(/-([a-z])/g,t1)]=n})}catch{}return t}(o)),r.space&&r.property?e[tY.call(tW,r.property)?tW[r.property]:r.property]=o:r.attribute&&(e[r.attribute]=o)}}function t1(e,t){return t.toUpperCase()}let t2={}.hasOwnProperty,t4={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function t3(e){for(let t in t4)if(t2.call(t4,t)&&t2.call(e,t)){let n=t4[t];console.warn(`[react-markdown] Warning: please ${n.to?`use \`${n.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${n.id}> for more info)`),delete t4[t]}let i=C().use(eQ).use(e.remarkPlugins||[]).use(tl,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(tF,e),r=new v;"string"==typeof e.children?r.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let s=i.runSync(i.parse(r),r);if("root"!==s.type)throw TypeError("Expected a `root` node");let a=o.createElement(o.Fragment,{},tK({options:e,schema:tD,listDepth:0},s));return e.className&&(a=o.createElement("div",{className:e.className},a)),a}t3.defaultProps={transformLinkUri:function(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let i=t.indexOf(":");if(-1===i)return t;let r=-1;for(;++r<tN.length;){let o=tN[r];if(i===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return -1!==(r=t.indexOf("?"))&&i>r||-1!==(r=t.indexOf("#"))&&i>r?t:"javascript:void(0)"}},t3.propTypes={children:tu.string,className:tu.string,allowElement:tu.func,allowedElements:tu.arrayOf(tu.string),disallowedElements:tu.arrayOf(tu.string),unwrapDisallowed:tu.bool,remarkPlugins:tu.arrayOf(tu.oneOfType([tu.object,tu.func,tu.arrayOf(tu.oneOfType([tu.bool,tu.string,tu.object,tu.func,tu.arrayOf(tu.any)]))])),rehypePlugins:tu.arrayOf(tu.oneOfType([tu.object,tu.func,tu.arrayOf(tu.oneOfType([tu.bool,tu.string,tu.object,tu.func,tu.arrayOf(tu.any)]))])),sourcePos:tu.bool,rawSourcePos:tu.bool,skipHtml:tu.bool,includeElementIndex:tu.bool,transformLinkUri:tu.oneOfType([tu.func,tu.bool]),linkTarget:tu.oneOfType([tu.func,tu.string]),transformImageUri:tu.func,components:tu.object}},5843:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var i=n(4663),r=n(5364);let o={tokenize:function(e,t,n){return function(t){return e.consume(t),i};function i(t){return 87===t||119===t?(e.consume(t),o):n(t)}function o(t){return 87===t||119===t?(e.consume(t),s):n(t)}function s(t){return 46===t?(e.consume(t),a):n(t)}function a(e){return null===e||(0,r.Ch)(e)?n(e):t(e)}},partial:!0},s={tokenize:function(e,t,n){let i,o;return s;function s(t){return 38===t?e.check(u,c,a)(t):46===t||95===t?e.check(l,c,a)(t):null===t||(0,r.Av)(t)||(0,r.B8)(t)||45!==t&&(0,r.Xh)(t)?c(t):(e.consume(t),s)}function a(t){return 46===t?(o=i,i=void 0,e.consume(t),s):(95===t&&(i=!0),e.consume(t),s)}function c(e){return o||i?n(e):t(e)}},partial:!0},a={tokenize:function(e,t){let n=0;return i;function i(s){return 38===s?e.check(u,t,r)(s):(40===s&&n++,41===s)?e.check(l,o,r)(s):v(s)?t(s):g(s)?e.check(l,t,r)(s):(e.consume(s),i)}function r(t){return e.consume(t),i}function o(e){return--n<0?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,n){return function(t){return e.consume(t),i};function i(r){return g(r)?(e.consume(r),i):v(r)?t(r):n(r)}},partial:!0},u={tokenize:function(e,t,n){return function(t){return e.consume(t),i};function i(t){return(0,r.jv)(t)?(e.consume(t),i):59===t?(e.consume(t),o):n(t)}function o(e){return v(e)?t(e):n(e)}},partial:!0},c={tokenize:function(e,t,n){let i=this;return function(t){return 87!==t&&119!==t||!b(i.previous)||x(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(o,e.attempt(s,e.attempt(a,r),n),n)(t))};function r(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:b},d={tokenize:function(e,t,n){let i=this;return function(t){return 72!==t&&104!==t||!w(i.previous)||x(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),o)};function o(t){return 84===t||116===t?(e.consume(t),l):n(t)}function l(t){return 84===t||116===t?(e.consume(t),u):n(t)}function u(t){return 80===t||112===t?(e.consume(t),c):n(t)}function c(t){return 83===t||115===t?(e.consume(t),d):d(t)}function d(t){return 58===t?(e.consume(t),h):n(t)}function h(t){return 47===t?(e.consume(t),p):n(t)}function p(t){return 47===t?(e.consume(t),f):n(t)}function f(t){return null===t||(0,r.Av)(t)||(0,r.B8)(t)||(0,r.Xh)(t)?n(t):e.attempt(s,e.attempt(a,m),n)(t)}function m(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:w},h={tokenize:function(e,t,n){let i=this,o,s;return function(t){return!y(t)||!S(i.previous)||x(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(i){return y(i)?(e.consume(i),t):64===i?(e.consume(i),a):n(i)}(t))};function a(t){return 46===t?e.check(l,h,u)(t):45===t||95===t?e.check(l,n,c)(t):(0,r.H$)(t)?(!s&&(0,r.pY)(t)&&(s=!0),e.consume(t),a):h(t)}function u(t){return e.consume(t),o=!0,s=void 0,a}function c(t){return e.consume(t),d}function d(t){return 46===t?e.check(l,n,u)(t):a(t)}function h(i){return o&&!s?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:S},p={},f={text:p},m=48;for(;m<123;)p[m]=h,58==++m?m=65:91===m&&(m=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function v(e){return null===e||60===e||(0,r.z3)(e)}function y(e){return 43===e||45===e||46===e||95===e||(0,r.H$)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,r.z3)(e)}function w(e){return null===e||!(0,r.jv)(e)}function S(e){return 47!==e&&w(e)}function x(e){let t=e.length,n=!1;for(;t--;){let i=e[t][1];
204if(("labelLink"===i.type||"labelImage"===i.type)&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}p[43]=h,p[45]=h,p[46]=h,p[95]=h,p[72]=[h,d],p[104]=[h,d],p[87]=[h,c],p[119]=[h,c];var _=n(3402),C=n(2761),E=n(1098);let k={tokenize:function(e,t,n){let i=this;return(0,C.f)(e,function(e){let r=i.events[i.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function P(e,t,n){let i=this,r=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s;for(;r--;){let a=i.events[r][1];if("labelImage"===a.type){s=a;break}if("gfmFootnoteCall"===a.type||"labelLink"===a.type||"label"===a.type||"image"===a.type||"link"===a.type)break}return function(r){if(!s||!s._balanced)return n(r);let a=(0,E.d)(i.sliceSerialize({start:s.end,end:i.now()}));return 94===a.charCodeAt(0)&&o.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),t(r)):n(r)}}function T(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",r,t],["exit",r,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...a),e}function A(e,t,n){let i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0,a;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(l){let d;if(null===l||91===l||s++>999)return n(l);if(93===l){var h;return a?(e.exit("chunkString"),d=e.exit("gfmFootnoteCallString"),o.includes((0,E.d)(i.sliceSerialize(d)))?(h=l,e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)):n(l)}return e.consume(l),(0,r.z3)(l)||(a=!0),92===l?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function O(e,t,n){let i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s,a=0,l;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),c):n(t)}function c(t){let o;return null===t||91===t||a>999?n(t):93===t?l?(o=e.exit("gfmFootnoteDefinitionLabelString"),s=(0,E.d)(i.sliceSerialize(o)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):n(t):(0,r.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a++,c):(e.enter("chunkString").contentType="string",d(t))}function d(t){return null===t||(0,r.Ch)(t)||91===t||93===t||a>999?(e.exit("chunkString"),c(t)):((0,r.z3)(t)||(l=!0),a++,e.consume(t),92===t?h:d)}function h(t){return 91===t||92===t||93===t?(e.consume(t),a++,d):d(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,C.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return o.includes(s)||o.push(s),t(e)}}function L(e,t,n){return e.check(_.w,t,e.attempt(k,t,n))}function R(e){e.exit("gfmFootnoteDefinition")}var M=n(1905),I=n(2987),V=n(3233);let D={flow:{null:{tokenize:function(e,t,n){let i=this,o=[],s=0,a,l;return function(t){return(e.enter("table")._align=o,e.enter("tableHead"),e.enter("tableRow"),124===t)?u(t):(s++,e.enter("temporaryTableCellContent"),h(t))};function u(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,c}function c(t){return null===t||(0,r.Ch)(t)?function(t){if(null===t)return n(t);e.exit("tableRow"),e.exit("tableHead");let r=i.interrupt;return i.interrupt=!0,e.attempt({tokenize:O,partial:!0},function(t){return i.interrupt=r,e.enter("tableDelimiterRow"),f(t)},function(e){return i.interrupt=r,n(e)})(t)}(t):(0,r.xz)(t)?(e.enter("whitespace"),e.consume(t),d):(a&&(a=void 0,s++),124
204===t)?u(t):(e.enter("temporaryTableCellContent"),h(t))}function d(t){return(0,r.xz)(t)?(e.consume(t),d):(e.exit("whitespace"),c(t))}function h(t){return null===t||124===t||(0,r.z3)(t)?(e.exit("temporaryTableCellContent"),c(t)):(e.consume(t),92===t?p:h)}function p(t){return 92===t||124===t?(e.consume(t),h):h(t)}function f(t){return null===t||(0,r.Ch)(t)?b(t):(0,r.xz)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),l=!0,o.push("none"),g):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o.push("left"),v):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function m(t){return(0,r.xz)(t)?(e.consume(t),m):(e.exit("whitespace"),f(t))}function g(t){return 45===t?(e.consume(t),g):(e.exit("tableDelimiterFiller"),58===t)?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),o[o.length-1]="left"===o[o.length-1]?"center":"right",y):f(t)}function v(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),l=!0,g):n(t)}function y(t){return null===t||(0,r.Ch)(t)?b(t):(0,r.xz)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function b(t){return(e.exit("tableDelimiterRow"),l&&s===o.length)?null===t?w(t):e.check(z,w,e.attempt({tokenize:O,partial:!0},(0,C.f)(e,S,"linePrefix",4),w))(t):n(t)}function w(n){return e.exit("table"),t(n)}function S(t){return e.enter("tableBody"),x(t)}function x(t){return(e.enter("tableRow"),124===t)?_(t):(e.enter("temporaryTableCellContent"),P(t))}function _(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),E}function E(t){var n;return null===t||(0,r.Ch)(t)?(n=t,(e.exit("tableRow"),null===n)?A(n):e.check(z,A,e.attempt({tokenize:O,partial:!0},(0,C.f)(e,x,"linePrefix",4),A))(n)):(0,r.xz)(t)?(e.enter("whitespace"),e.consume(t),k):124===t?_(t):(e.enter("temporaryTableCellContent"),P(t))}function k(t){return(0,r.xz)(t)?(e.consume(t),k):(e.exit("whitespace"),E(t))}function P(t){return null===t||124===t||(0,r.z3)(t)?(e.exit("temporaryTableCellContent"),E(t)):(e.consume(t),92===t?T:P)}function T(t){return 92===t||124===t?(e.consume(t),P):P(t)}function A(t){return e.exit("tableBody"),w(t)}function O(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,C.f)(e,o,"linePrefix")};function o(o){if(i.parser.lazy[i.now().line]||null===o||(0,r.Ch)(o))return n(o);let s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?n(o):(i._gfmTableDynamicInterruptHack=!0,e.check(i.parser.constructs.flow,function(e){return i._gfmTableDynamicInterruptHack=!1,n(e)},function(e){return i._gfmTableDynamicInterruptHack=!1,t(e)})(o))}}},resolve:function(e,t){let n=-1,i,r,o,s,a,l,u;for(;++n<e.length;){let c=e[n][1];if(o&&("temporaryTableCellContent"===c.type&&(s=s||n,a=n),("tableCellDivider"===c.type||"tableRow"===c.type)&&a)){let d={type:"tableContent",start:e[s][1].start,end:e[a][1].end},h={type:"chunkText",start:d.start,end:d.end,contentType:"text"};e.splice(s,a-s+1,["enter",d,t],["enter",h,t],["exit",h,t],["exit",d,t]),n-=a-s-3,s=void 0,a=void 0}if("exit"===e[n][0]&&void 0!==l&&l+(u?0:1)<n&&("tableCellDivider"===c.type||"tableRow"===c.type&&(l+3<n||"whitespace"!==e[l][1].type))){let p={type:r?"tableDelimiter":i?"tableHeader":"tableData",start:e[l][1].start,end:e[n][1].end};e.splice(n+("tableCellDivider"===c.type?1:0),0,["exit",p,t]),e.splice(l,0,["enter",p,t]),n+=2,l=n+1,u=!0}"tableRow"===c.type&&(o="enter"===e[n][0])&&(l=n+1,u=!1),"tableDelimiterRow"===c.type&&(r="enter"===e[n][0])&&(l=n+1,u=!1),"tableHead"===c.type&&(i="enter"===e[n][0])}return e}}}},z={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("check"),e.consume(t),o};function o(s){return -1===s||32===s?(e.consume(s),4==++i?t:o):null===s||(0,r.z3)(s)?t(s):n(s)}},partial:!0},F={text:{91:{tokenize:function(e,t,n){let i=this;return function(t){return null===i.previous&&i._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return(0,r.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):n(t)}function s(i){return 93===i?(e.enter("taskListCheckMarker"),e.consume(i),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:N},t,n)):n(i)}}}}};function N(e,t,n){let i=this;return(0,C.f)(e,function(e){let o=i.events[i.events.length-1];return(o&&"whitespace"===o[1].type||(0,r.Ch)(e))&&null!==e?t(e):n(e)},"whitespace")}function j(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let i=0,r=n.indexOf(t);for(;-1!==r;)i++,r=n.indexOf(t,r+t.length);return i}var G=n(5765),B=n(9645);let H={}.hasOwnProperty,U=function(e,t,n,i){let r,o;"string"==typeof t||t instanceof RegExp?(o=[[t,n]],r=i):(o=t,r=n),r||(r={});let s=(0,B.O)(r.ignore||[]),a=function(e){let t=[];if("object"!=typeof e)throw TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([$(e[n][0]),q(e[n][1])])}else{let i;
204for(i in e)H.call(e,i)&&t.push([$(i),q(e[i])])}return t}(o),l=-1;for(;++l<a.length;)(0,G.S4)(e,"text",u);return e;function u(e,t){let n=-1,i;for(;++n<t.length;){let r=t[n];if(s(r,i?i.children.indexOf(r):void 0,i))return;i=r}if(i)return function(e,t){let n=t[t.length-1],i=a[l][0],r=a[l][1],o=0,s=n.children.indexOf(e),u=!1,c=[],d;i.lastIndex=0;let h=i.exec(e.value);for(;h;){d=h.index;let p={index:h.index,input:h.input,stack:[...t,e]},f=r(...h,p);if("string"==typeof f&&(f=f.length>0?{type:"text",value:f}:void 0),!1!==f&&(o!==d&&c.push({type:"text",value:e.value.slice(o,d)}),Array.isArray(f)?c.push(...f):f&&c.push(f),o=d+h[0].length,u=!0),!i.global)break;h=i.exec(e.value)}return u?(o<e.value.length&&c.push({type:"text",value:e.value.slice(o)}),n.children.splice(s,1,...c)):c=[e],s+c.length}(e,t)}};function $(e){return"string"==typeof e?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function q(e){return"function"==typeof e?e:()=>e}let W="phrasing",Q=["autolink","link","image","label"],Y={transforms:[function(e){U(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,X],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,J]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:K,literalAutolinkHttp:K,literalAutolinkWww:K},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}}},Z={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:W,notInConstruct:Q},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:W,notInConstruct:Q},{character:":",before:"[ps]",after:"\\/",inConstruct:W,notInConstruct:Q}]};function K(e){this.config.enter.autolinkProtocol.call(this,e)}function X(e,t,n,i,r){let o="";if(!ee(r)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e),n,i,r,o;if(t)for(e=e.slice(0,t.index),n=(o=t[0]).indexOf(")"),i=j(e,"("),r=j(e,")");-1!==n&&i>r;)e+=o.slice(0,n+1),n=(o=o.slice(n+1)).indexOf(")"),r++;return[e,o]}(n+i);if(!s[0])return!1;let a={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function J(e,t,n,i){return!(!ee(i,!0)||/[_-\d]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ee(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,r.B8)(n)||(0,r.Xh)(n))&&(!t||47!==n)}var et=n(7881);function en(e){return e.label||!e.identifier?e.label||"":(0,et.v)(e.identifier)}function ei(e){let t=e||{},n=t.now||{},i=t.lineShift||0,r=n.line||1,o=n.column||1;return{move:function(e=""){let t=e.split(/\r?\n|\r/g),n=t[t.length-1];return r+=t.length-1,o=1===t.length?o+n.length:1+n.length+i,e},current:function(){return{now:{line:r,column:o},lineShift:i}},shift:s};function s(e){i+=e}}function er(e,t,n){let i=t.indexStack,r=e.children||[],o=ei(n),s=[],a=-1;for(i.push(-1);++a<r.length;){let l=r[a];i[i.length-1]=a,s.push(o.move(t.handle(l,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==l.type&&(t.bulletLastUsed=void 0),a<r.length-1&&s.push(o.move(u(l,r[a+1])))}return i.pop(),s.join("");function u(n,i){let r=t.join.length;for(;r--;){let o=t.join[r](n,i,e,t);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n<!---->\n\n"}return"\n\n"}}let eo=/\r?\n|\r/g;function es(e,t){let n=[],i=0,r=0,o;for(;o=eo.exec(e);)s(e.slice(i,o.index)),n.push(o[0]),i=o.index+o[0].length,r++;return s(e.slice(i)),n.join("");function s(e){n.push(t(e,r,!e))}}function ea(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function el(e,t){return eu(e,t.inConstruct,!0)&&!eu(e,t.notInConstruct,!1)}function eu(e,t,n){if(!t)return n;"string"==typeof t&&(t=[t]);let i=-1;for(;++i<t.length;)if(e.includes(t[i]))return!0;return!1}function ec(e,t,n){let i=(n.before||"")+(t||"")+(n.after||""),r=[],o=[],s={},a=-1;for(;++a<e.unsafe.length;){let l=e.unsafe[a];if(!el(e.stack,l))continue;let u=ea(l),c;for(;c=u.exec(i);){let d="before"in l||Boolean(l.atBreak),h="after"in l,p=c.index+(d?c[1].length:0);r.includes(p)?(s[p].before&&!d&&(s[p].before=!1),s[p].after&&!h&&(s[p].after=!1)):(r.push(p),s[p]={before:d,after:h})}}r.sort(ed);let f=n.before?n.before.length:0,m=i.length-(n.after?n.after.length:0);for(a=-1;++a<r.length;){let g=r[a];!(g<f)&&!(g>=m)&&(!(g+1<m)||r[a+1]!==g+1||!s[g].after||s[g+1].before||s[g+1].after)&&(r[a-1]!==g-1||!s[g].before||s[g-1].before||s[g-1].after)&&(f!==g&&o.push(eh(i.slice(f,g),"\\")),f=g,!/[!-/:-@[-`{-~]/.test(i.charAt(g))||n.encode&&n.encode.includes(i.charAt(g))?(o.push("&#x"+i.charCodeAt(g).toString(16).toUpperCase()+";"),f++):o.push("\\"))}return o.push(eh(i.slice(f,m),n.after)),o.join("")}function ed(e,t){return e-t}function eh(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,i=[],r=[],o=e+t,s=-1,a=0,l;for(;l=n.exec(o);)i.push(l.index);for(;++s<i.length;)a!==i[s]&&r.push(e.slice(a,i[s])),r.push("\\"),a=i[s];return r.push(e.slice(a)),r.join("")}function ep(e,t,n){let i=t.indexStack,r=e.children||[],o=[],s=-1,a=n.before;i.push(-1);let l=ei(n);for(;++s<r.length;){let u=r[s],c;if(i[i.length-1]=s,s+1<r.length){let d=t.handle.handlers[r[s+1].type];d&&d.peek&&(d=d.peek),c=d?d(r[s+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else c=n.after;o.length>0&&("\r"===a||"\n"===a)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),a=" ",(l=ei(n)).move(o.join(""))),o.push(l.move(t.handle(u,e,t,{...l.current(),before:a,after:c}))),a=o[o.length-1].slice(-1)}return i.pop(),o.join("")}
204let ef={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},em={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:eg}};function eg(e,t,n,i){let r=ei(i),o=n.enter("emphasis"),s=r.move("~~");return s+=ep(e,n,{...r.current(),before:s,after:"~"}),s+=r.move("~~"),o(),s}function ev(e,t,n){let i=e.value||"",r="`",o=-1;for(;RegExp("(^|[^`])"+r+"([^`]|$)").test(i);)r+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o<n.unsafe.length;){let s=n.unsafe[o],a=ea(s),l;if(s.atBreak)for(;l=a.exec(i);){let u=l.index;10===i.charCodeAt(u)&&13===i.charCodeAt(u-1)&&u--,i=i.slice(0,u)+" "+i.slice(l.index+1)}}return r+i+r}function ey(e){return null==e?"":String(e)}function eb(e){return e.length}function ew(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}eg.peek=function(){return"~"},ev.peek=function(){return"`"};let eS={enter:{table:function(e){let t=e._align;this.enter({type:"table",align:t.map(e=>"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:e_,tableHeader:e_,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,eC));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:ex,tableHeader:ex,tableRow:ex}};function ex(e){this.exit(e)}function e_(e){this.enter({type:"tableCell",children:[]},e)}function eC(e,t){return"|"===t?t:e}let eE={exit:{taskListCheckValueChecked:eP,taskListCheckValueUnchecked:eP,paragraph:function(e){let t=this.stack[this.stack.length-2],n=this.stack[this.stack.length-1],i=t.children,r=n.children[0],o=-1,s;if(t&&"listItem"===t.type&&"boolean"==typeof t.checked&&r&&"text"===r.type){for(;++o<i.length;){let a=i[o];if("paragraph"===a.type){s=a;break}}s===n&&(r.value=r.value.slice(1),0===r.value.length?n.children.shift():n.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}this.exit(e)}}},ek={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,i){let r=e.children[0],o="boolean"==typeof e.checked&&r&&"paragraph"===r.type,s="["+(e.checked?"x":" ")+"] ",a=ei(i);o&&a.move(s);let l=function(e,t,n,i){let r=function(e){let t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let s=o.length+1;("tab"===r||"mixed"===r&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));let a=ei(i);a.move(o+" ".repeat(s-o.length)),a.shift(s);let l=n.enter("listItem"),u=es(er(e,n,a.current()),function(e,t,n){return t?(n?"":" ".repeat(s))+e:(n?o:o+" ".repeat(s-o.length))+e});return l(),u}(e,t,n,{...i,...a.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(e){return e+s}}}};function eP(e){let t=this.stack[this.stack.length-2];t.checked="taskListCheckValueChecked"===e.type}function eT(e={}){var t,n;let r=this.data();function o(e,t){let n=r[e]?r[e]:r[e]=[];n.push(t)}o("micromarkExtensions",(0,i.W)([f,{document:{91:{tokenize:O,continuation:{tokenize:L},exit:R}},text:{91:{tokenize:A},93:{add:"after",tokenize:P,resolveTo:T}}},function(e={}){let t=e.singleTilde,n={tokenize:function(e,n,i){let r=this.previous,o=this.events,s=0;return function(a){return 126===r&&"characterEscape"!==o[o.length-1][1].type?i(a):(e.enter("strikethroughSequenceTemporary"),function o(a){let l=(0,I.r)(r);if(126===a)return s>1?i(a):(e.consume(a),s++,o);if(s<2&&!t)return i(a);let u=e.exit("strikethroughSequenceTemporary"),c=(0,I.r)(a);return u._open=!c||2===c&&Boolean(l),u._close=!l||2===l&&Boolean(c),n(a)}
204(a))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let i=n;for(;i--;)if("exit"===e[i][0]&&"strikethroughSequenceTemporary"===e[i][1].type&&e[i][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[i][1].end.offset-e[i][1].start.offset){e[n][1].type="strikethroughSequence",e[i][1].type="strikethroughSequence";let r={type:"strikethrough",start:Object.assign({},e[i][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",r,t],["enter",e[i][1],t],["exit",e[i][1],t],["enter",o,t]];(0,M.d)(s,s.length,0,(0,V.C)(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),(0,M.d)(s,s.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",r,t]]),(0,M.d)(e,i-1,n-i+3,s),n=i+s.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(e),D,F])),o("fromMarkdownExtensions",[Y,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,E.d)(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,E.d)(this.sliceSerialize(e)).toLowerCase()}}},ef,eS,eE]),o("toMarkdownExtensions",{extensions:[Z,function(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,n,i){let r=ei(i),o=r.move("[^"),s=n.enter("footnoteDefinition"),a=n.enter("label");return o+=r.move(ec(n,en(e),{...r.current(),before:o,after:"]"})),a(),o+=r.move("]:"+(e.children&&e.children.length>0?" ":"")),r.shift(4),o+=r.move(es(er(e,n,r.current()),function(e,t,n){return t?(n?"":" ")+e:e})),s(),o},footnoteReference:e}};function e(e,t,n,i){let r=ei(i),o=r.move("[^"),s=n.enter("footnoteReference"),a=n.enter("reference");return o+=r.move(ec(n,en(e),{...r.current(),before:o,after:"]"})),a(),s(),o+=r.move("]")}}(),em,function(e){let t=e||{},n=t.tableCellPadding,i=t.tablePipeAlign,r=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,i){return a(function(e,t,n){let i=e.children,r=-1,o=[],s=t.enter("table");for(;++r<i.length;)o[r]=l(i[r],t,n);return s(),o}(e,n,i),e.align)},tableRow:function(e,t,n,i){let r=l(e,n,i),o=a([r]);return o.slice(0,o.indexOf("\n"))},tableCell:s,inlineCode:function(e,t,n){let i=ev(e,t,n);return n.stack.includes("tableCell")&&(i=i.replace(/\|/g,"\\$&")),i}}};function s(e,t,n,i){let r=n.enter("tableCell"),s=n.enter("phrasing"),a=ep(e,n,{...i,before:o,after:o});return s(),r(),a}function a(e,t){return function(e,t={}){let n=(t.align||[]).concat(),i=t.stringLength||eb,r=[],o=[],s=[],a=[],l=0,u=-1;for(;++u<e.length;){let c=[],d=[],h=-1;for(e[u].length>l&&(l=e[u].length);++h<e[u].length;){let p=ey(e[u][h]);if(!1!==t.alignDelimiters){let f=i(p);d[h]=f,(void 0===a[h]||f>a[h])&&(a[h]=f)}c.push(p)}o[u]=c,s[u]=d}let m=-1;if("object"==typeof n&&"length"in n)for(;++m<l;)r[m]=ew(n[m]);else{let g=ew(n);for(;++m<l;)r[m]=g}m=-1;let v=[],y=[];for(;++m<l;){let b=r[m],w="",S="";99===b?(w=":",S=":"):108===b?w=":":114===b&&(S=":");let x=!1===t.alignDelimiters?1:Math.max(1,a[m]-w.length-S.length),_=w+"-".repeat(x)+S;!1!==t.alignDelimiters&&((x=w.length+x+S.length)>a[m]&&(a[m]=x),y[m]=x),v[m]=_}o.splice(1,0,v),s.splice(1,0,y),u=-1;let C=[];for(;++u<o.length;){let E=o[u],k=s[u];m=-1;let P=[];for(;++m<l;){let T=E[m]||"",A="",O="";
204if(!1!==t.alignDelimiters){let L=a[m]-(k[m]||0),R=r[m];114===R?A=" ".repeat(L):99===R?L%2?(A=" ".repeat(L/2+.5),O=" ".repeat(L/2-.5)):O=A=" ".repeat(L/2):O=" ".repeat(L)}!1===t.delimiterStart||m||P.push("|"),!1!==t.padding&&!(!1===t.alignDelimiters&&""===T)&&(!1!==t.delimiterStart||m)&&P.push(" "),!1!==t.alignDelimiters&&P.push(A),P.push(T),!1!==t.alignDelimiters&&P.push(O),!1!==t.padding&&P.push(" "),(!1!==t.delimiterEnd||m!==l-1)&&P.push("|")}C.push(!1===t.delimiterEnd?P.join("").replace(/ +$/,""):P.join(""))}return C.join("\n")}(e,{align:t,alignDelimiters:i,padding:n,stringLength:r})}function l(e,t,n){let i=e.children,r=-1,o=[],a=t.enter("tableRow");for(;++r<i.length;)o[r]=s(i[r],e,t,n);return a(),o}}(e),ek]})}},719:function(e,t,n){"use strict";n.d(t,{tq:function(){return b},o5:function(){return S}});var i=n(7294),r=n(8116);function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function s(e,t){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:o(t[n])&&o(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:s(e[n],t[n]):e[n]=t[n]})}function a(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function l(e={}){return e.pagination&&void 0===e.pagination.el}function u(e={}){return e.scrollbar&&void 0===e.scrollbar.el}function c(e=""){let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];return t.forEach(e=>{0>n.indexOf(e)&&n.push(e)}),n.join(" ")}let d=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_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","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"],h=(e,t)=>{let n=t.slidesPerView;if(t.breakpoints){let i=r.ZP.prototype.getBreakpoint(t.breakpoints),o=i in t.breakpoints?t.breakpoints[i]:void 0;o&&o.slidesPerView&&(n=o.slidesPerView)}let s=Math.ceil(parseFloat(t.loopedSlides||n,10));return(s+=t.loopAdditionalSlides)>e.length&&t.loopedSlidesLimit&&(s=e.length),s};function p(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}let f=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function m(e,t){return"undefined"==typeof window?(0,i.useEffect)(e,t):(0,i.useLayoutEffect)(e,t)}let g=(0,i.createContext)(null),v=(0,i.createContext)(null);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}let b=(0,i.forwardRef)(function(e,t){let{className:n,tag:g="div",wrapperTag:b="div",children:w,onSwiper:S,...x}=void 0===e?{}:e,_=!1,[C,E]=(0,i.useState)("swiper"),[k,P]=(0,i.useState)(null),[T,A]=(0,i.useState)(!1),O
204=(0,i.useRef)(!1),L=(0,i.useRef)(null),R=(0,i.useRef)(null),M=(0,i.useRef)(null),I=(0,i.useRef)(null),V=(0,i.useRef)(null),D=(0,i.useRef)(null),z=(0,i.useRef)(null),F=(0,i.useRef)(null),{params:N,passedParams:j,rest:G,events:B}=function(e={},t=!0){let n={on:{}},i={},a={};s(n,r.ZP.defaults),s(n,r.ZP.extendedDefaults),n._emitClasses=!0,n.init=!1;let l={},u=d.map(e=>e.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(r=>{void 0!==e[r]&&(u.indexOf(r)>=0?o(e[r])?(n[r]={},a[r]={},s(n[r],e[r]),s(a[r],e[r])):(n[r]=e[r],a[r]=e[r]):0===r.search(/on[A-Z]/)&&"function"==typeof e[r]?t?i[`${r[2].toLowerCase()}${r.substr(3)}`]=e[r]:n.on[`${r[2].toLowerCase()}${r.substr(3)}`]=e[r]:l[r]=e[r])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:a,rest:l,events:i}}(x),{slides:H,slots:U}=function(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return i.Children.toArray(e).forEach(e=>{if(p(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let r=function e(t){let n=[];return i.Children.toArray(t).forEach(t=>{p(t)?n.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>n.push(e))}),n}(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}(w),$=()=>{A(!T)};Object.assign(N.on,{_containerClasses(e,t){E(t)}});let q=()=>{if(Object.assign(N.on,B),_=!0,R.current=new r.ZP(N),R.current.loopCreate=()=>{},R.current.loopDestroy=()=>{},N.loop&&(R.current.loopedSlides=h(H,N)),R.current.virtual&&R.current.params.virtual.enabled){R.current.virtual.slides=H;let e={cache:!1,slides:H,renderExternal:P,renderExternalUpdate:!1};s(R.current.params.virtual,e),s(R.current.originalParams.virtual,e)}};L.current||q(),R.current&&R.current.on("_beforeBreakpoint",$);let W=()=>{!_&&B&&R.current&&Object.keys(B).forEach(e=>{R.current.on(e,B[e])})},Q=()=>{B&&R.current&&Object.keys(B).forEach(e=>{R.current.off(e,B[e])})};return(0,i.useEffect)(()=>()=>{R.current&&R.current.off("_beforeBreakpoint",$)}),(0,i.useEffect)(()=>{!O.current&&R.current&&(R.current.emitSlidesClasses(),O.current=!0)}),m(()=>{if(t&&(t.current=L.current),L.current)return R.current.destroyed&&q(),function({el:e,nextEl:t,prevEl:n,paginationEl:i,scrollbarEl:r,swiper:o},s){a(s)&&t&&n&&(o.params.navigation.nextEl=t,o.originalParams.navigation.nextEl=t,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),l(s)&&i&&(o.params.pagination.el=i,o.originalParams.pagination.el=i),u(s)&&r&&(o.params.scrollbar.el=r,o.originalParams.scrollbar.el=r),o.init(e)}({el:L.current,nextEl:V.current,prevEl:D.current,paginationEl:z.current,scrollbarEl:F.current,swiper:R.current},N),S&&S(R.current),()=>{R.current&&!R.current.destroyed&&R.current.destroy(!0,!1)}},[]),m(()=>{W();let e=function(e,t,n,i,r){let s=[];if(!t)return s;let a=e=>{0>s.indexOf(e)&&s.push(e)};if(n&&i){let l=i.map(r),u=n.map(r);l.join("")!==u.join("")&&a("children"),i.length!==n.length&&a("children")}let c=d.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,""));return c.forEach(n=>{if(n in e&&n in t){if(o(e[n])&&o(t[n])){let i=Object.keys(e[n]),r=Object.keys(t[n]);i.length!==r.length?a(n):(i.forEach(i=>{e[n][i]!==t[n][i]&&a(n)}),r.forEach(i=>{e[n][i]!==t[n][i]&&a(n)}))}else e[n]!==t[n]&&a(n)}}),s}(j,M.current,H,I.current,e=>e.key);return M.current=j,I.current=H,e.length&&R.current&&!R.current.destroyed&&function({swiper:e,slides:t,passedParams:n,changedParams:i,nextEl:r,prevEl:a,scrollbarEl:l,paginationEl:u}){let c=i.filter(e=>"children"!==e&&"direction"!==e),{params:d,pagination:h,navigation:p,scrollbar:f,virtual:m,thumbs:g}=e,v,y,b,w,S;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(v=!0),i.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(y=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||u)&&(d.pagination||!1===d.pagination)&&h&&!h.el&&(b=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||l)&&(
204d.scrollbar||!1===d.scrollbar)&&f&&!f.el&&(w=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||r)&&(d.navigation||!1===d.navigation)&&p&&!p.prevEl&&!p.nextEl&&(S=!0);let x=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(d[t].prevEl=void 0,d[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(d[t].el=void 0,e[t].el=void 0))};if(c.forEach(e=>{if(o(d[e])&&o(n[e]))s(d[e],n[e]);else{let t=n[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&x(e):d[e]=n[e]}}),c.includes("controller")&&!y&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),i.includes("children")&&t&&m&&d.virtual.enabled?(m.slides=t,m.update(!0)):i.includes("children")&&e.lazy&&e.params.lazy.enabled&&e.lazy.load(),v){let _=g.init();_&&g.update(!0)}y&&(e.controller.control=d.controller.control),b&&(u&&(d.pagination.el=u),h.init(),h.render(),h.update()),w&&(l&&(d.scrollbar.el=l),f.init(),f.updateSize(),f.setTranslate()),S&&(r&&(d.navigation.nextEl=r),a&&(d.navigation.prevEl=a),p.init(),p.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),e.update()}({swiper:R.current,slides:H,passedParams:j,changedParams:e,nextEl:V.current,prevEl:D.current,scrollbarEl:F.current,paginationEl:z.current}),()=>{Q()}}),m(()=>{f(R.current)},[k]),i.createElement(g,y({ref:L,className:c(`${C}${n?` ${n}`:""}`)},G),i.createElement(v.Provider,{value:R.current},U["container-start"],i.createElement(b,{className:"swiper-wrapper"},U["wrapper-start"],N.virtual?function(e,t,n){if(!n)return null;let r=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`};return t.filter((e,t)=>t>=n.from&&t<=n.to).map(t=>i.cloneElement(t,{swiper:e,style:r}))}(R.current,H,k):!N.loop||R.current&&R.current.destroyed?H.map(e=>i.cloneElement(e,{swiper:R.current})):function(e,t,n){let r=t.map((t,n)=>i.cloneElement(t,{swiper:e,"data-swiper-slide-index":n}));function o(e,t,r){return i.cloneElement(e,{key:`${e.key}-duplicate-${t}-${r}`,className:`${e.props.className||""} ${n.slideDuplicateClass}`})}if(n.loopFillGroupWithBlank){let s=n.slidesPerGroup-r.length%n.slidesPerGroup;if(s!==n.slidesPerGroup)for(let a=0;a<s;a+=1){let l=i.createElement("div",{className:`${n.slideClass} ${n.slideBlankClass}`});r.push(l)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=r.length);let u=h(r,n),c=[],d=[];for(let p=0;p<u;p+=1){let f=p-Math.floor(p/r.length)*r.length;d.push(o(r[f],p,"append")),c.unshift(o(r[r.length-f-1],p,"prepend"))}return e&&(e.loopedSlides=u),[...c,...r,...d]}(R.current,H,N),U["wrapper-end"]),a(N)&&i.createElement(i.Fragment,null,i.createElement("div",{ref:D,className:"swiper-button-prev"}),i.createElement("div",{ref:V,className:"swiper-button-next"})),u(N)&&i.createElement("div",{ref:F,className:"swiper-scrollbar"}),l(N)&&i.createElement("div",{ref:z,className:"swiper-pagination"}),U["container-end"]))});function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}b.displayName="Swiper";let S=(0,i.forwardRef)(function(e,t){let{tag:n="div",children:r,className:o="",swiper:s,zoom:a,virtualIndex:l,...u}=void 0===e?{}:e,d=(0,i.useRef)(null),[h,p]=(0,i.useState)("swiper-slide");function f(e,t,n){t===d.current&&p(n)}m(()=>{if(t&&(t.current=d.current),d.current&&s){if(s.destroyed){"swiper-slide"!==h&&p("swiper-slide");return}return s.on("_slideClass",f),()=>{s&&s.off("_slideClass",f)}}}),m(()=>{s&&d.current&&!s.destroyed&&p(s.getSlideClasses(d.current))},[s]);let v={isActive:h.indexOf("swiper-slide-active")>=0||h.indexOf("swiper-slide-duplicate-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isDuplicate:h.indexOf("swiper-slide-duplicate")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0||h.indexOf("swiper-slide-duplicate-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0||h.indexOf("swiper-slide-duplicate-next")>=0},y=()=>"function"==typeof r?r(v):r;return i.createElement(n,w({ref:d,className:c(`${h}${o?` ${o}`:""}`),"data-swiper-slide-index":l},u),i.createElement(g.Provider,{value:v},a?i.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof a?a:void 0},y()):y()))});S.displayName="SwiperSlide"},8116:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e={},t={}){Object.keys(t).forEach(n=>{void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&r(e[n],t[n])})}n.d(t,{pt:function(){return $},xW:function(){return W},tl:function(){return U},ZP:function(){return B}});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 s(){let e="undefined"!=typeof document?document:{};return r(e,o),e}let a={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(){}
204,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 r(e,a),e}class u extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){let t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function c(e=[]){let t=[];return e.forEach(e=>{Array.isArray(e)?t.push(...c(e)):t.push(e)}),t}function d(e,t){return Array.prototype.filter.call(e,t)}function h(e,t){let n=l(),i=s(),r=[];if(!t&&e instanceof u)return e;if(!e)return new u(r);if("string"==typeof e){let o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){let a="div";0===o.indexOf("<li")&&(a="ul"),0===o.indexOf("<tr")&&(a="tbody"),(0===o.indexOf("<td")||0===o.indexOf("<th"))&&(a="tr"),0===o.indexOf("<tbody")&&(a="table"),0===o.indexOf("<option")&&(a="select");let c=i.createElement(a);c.innerHTML=o;for(let d=0;d<c.childNodes.length;d+=1)r.push(c.childNodes[d])}else r=function(e,t){if("string"!=typeof e)return[e];let n=[],i=t.querySelectorAll(e);for(let r=0;r<i.length;r+=1)n.push(i[r]);return n}(e.trim(),t||i)}else if(e.nodeType||e===n||e===i)r.push(e);else if(Array.isArray(e)){if(e instanceof u)return e;r=e}return new u(function(e){let t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r))}h.fn=u.prototype;let p="resize scroll".split(" ");function f(e){return function(...t){if(void 0===t[0]){for(let n=0;n<this.length;n+=1)0>p.indexOf(e)&&(e in this[n]?this[n][e]():h(this[n]).trigger(e));return this}return this.on(e,...t)}}f("click"),f("blur"),f("focus"),f("focusin"),f("focusout"),f("keyup"),f("keydown"),f("keypress"),f("submit"),f("change"),f("mousedown"),f("mousemove"),f("mouseup"),f("mouseenter"),f("mouseleave"),f("mouseout"),f("mouseover"),f("touchstart"),f("touchend"),f("touchmove"),f("resize"),f("scroll");let m={addClass:function(...e){let t=c(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.add(...t)}),this},removeClass:function(...e){let t=c(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.remove(...t)}),this},hasClass:function(...e){let t=c(e.map(e=>e.split(" ")));return d(this,e=>t.filter(t=>e.classList.contains(t)).length>0).length>0},toggleClass:function(...e){let t=c(e.map(e=>e.split(" ")));this.forEach(e=>{t.forEach(t=>{e.classList.toggle(t)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(let i in e)this[n][i]=e[i],this[n].setAttribute(i,e[i]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,i,r]=e;function o(e){let t=e.target;if(!t)return;let r=e.target.dom7EventData||[];if(0>r.indexOf(e)&&r.unshift(e),h(t).is(n))i.apply(t,r);else{let o=h(t).parents();for(let s=0;s<o.length;s+=1)h(o[s]).is(n)&&i.apply(o[s],r)}}function s(e){let t=e&&e.target&&e.target.dom7EventData||[];0>t.indexOf(e)&&t.unshift(e),i.apply(this,t)}"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);let a=t.split(" "),l;for(let u=0;u<this.length;u+=1){let c=this[u];if(n)for(l=0;l<a.length;l+=1){let d=a[l];c.dom7LiveListeners||(c.dom7LiveListeners={}),c.dom7LiveListeners[d]||(c.dom7LiveListeners[d]=[]),c.dom7LiveListeners[d].push({listener:i,proxyListener:o}),c.addEventListener(d,o,r)}else for(l=0;l<a.length;l+=1){let p=a[l];c.dom7Listeners||(c.dom7Listeners={}),c.dom7Listeners[p]||(c.dom7Listeners[p]=[]),c.dom7Listeners[p].push({listener:i,proxyListener:s}),c.addEventListener(p,s,r)}}return this},off:function(...e){let[t,n,i,r]=e;"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);let o=t.split(" ");for(let s=0;s<o.length;s+=1){let a=o[s];for(let l=0;l<this.length;l+=1){let u=this[l],c;if(!n&&u.dom7Listeners?c=u.dom7Listeners[a]:n&&u.dom7LiveListeners&&(c=u.dom7LiveListeners[a]),c&&c.length)for(let d=c.length-1;d>=0;d-=1){let h=c[d];i&&h.listener===i?(u.removeEventListener(a,h.proxyListener,r),c.splice(d,1)):i&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===i?(u.removeEventListener(a,h.proxyListener,r),c.splice(d,1)):i||(u.removeEventListener(a,h.proxyListener,r),c.splice(d,1))}}}return this},trigger:function(...e){let t=l(),n=e[0].split(" "),i=e[1];for(let r=0;r<n.length;r+=1){let o=n[r];for(let s=0;s<this.length;s+=1){let a=this[s];if(t.CustomEvent){let u=new t.CustomEvent(o,{detail:i,bubbles:!0,cancelable:!0});a.dom7EventData=e.filter((e,t)=>
204t>0),a.dispatchEvent(u),a.dom7EventData=[],delete a.dom7EventData}}}return this},transitionEnd:function(e){let t=this;function n(i){i.target===this&&(e.call(this,i),t.off("transitionend",n))}return e&&t.on("transitionend",n),this},outerWidth:function(e){if(this.length>0){if(e){let t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){let t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){let e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){let e=l(),t=s(),n=this[0],i=n.getBoundingClientRect(),r=t.body,o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,u=n===e?e.scrollY:n.scrollTop,c=n===e?e.scrollX:n.scrollLeft;return{top:i.top+u-o,left:i.left+c-a}}return null},css:function(e,t){let n=l(),i;if(1===arguments.length){if("string"==typeof e){if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(i=0;i<this.length;i+=1)for(let r in e)this[i].style[r]=e[r];return this}}if(2===arguments.length&&"string"==typeof e)for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this},each:function(e){return e&&this.forEach((t,n)=>{e.apply(t,[t,n])}),this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){let t=l(),n=s(),i=this[0],r,o;if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(o=0,r=h(e);o<r.length;o+=1)if(r[o]===i)return!0;return!1}if(e===n)return i===n;if(e===t)return i===t;if(e.nodeType||e instanceof u){for(o=0,r=e.nodeType?[e]:e;o<r.length;o+=1)if(r[o]===i)return!0}return!1},index:function(){let e=this[0],t;if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(e){if(void 0===e)return this;let t=this.length;if(e>t-1)return h([]);if(e<0){let n=t+e;return n<0?h([]):h([this[n]])}return h([this[e]])},append:function(...e){let t,n=s();for(let i=0;i<e.length;i+=1){t=e[i];for(let r=0;r<this.length;r+=1)if("string"==typeof t){let o=n.createElement("div");for(o.innerHTML=t;o.firstChild;)this[r].appendChild(o.firstChild)}else if(t instanceof u)for(let a=0;a<t.length;a+=1)this[r].appendChild(t[a]);else this[r].appendChild(t)}return this},prepend:function(e){let t=s(),n,i;for(n=0;n<this.length;n+=1)if("string"==typeof e){let r=t.createElement("div");for(r.innerHTML=e,i=r.childNodes.length-1;i>=0;i-=1)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(e instanceof u)for(i=0;i<e.length;i+=1)this[n].insertBefore(e[i],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){if(this.length>0){if(e)return this[0].nextElementSibling&&h(this[0].nextElementSibling).is(e)?h([this[0].nextElementSibling]):h([]);if(this[0].nextElementSibling)return h([this[0].nextElementSibling])}return h([])},nextAll:function(e){let t=[],n=this[0];if(!n)return h([]);for(;n.nextElementSibling;){let i=n.nextElementSibling;e?h(i).is(e)&&t.push(i):t.push(i),n=i}return h(t)},prev:function(e){if(this.length>0){let t=this[0];if(e)return t.previousElementSibling&&h(t.previousElementSibling).is(e)?h([t.previousElementSibling]):h([]);if(t.previousElementSibling)return h([t.previousElementSibling])}return h([])},prevAll:function(e){let t=[],n=this[0];if(!n)return h([]);for(;n.previousElementSibling;){let i=n.previousElementSibling;e?h(i).is(e)&&t.push(i):t.push(i),n=i}return h(t)},parent:function(e){let t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?h(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return h(t)},parents:function(e){let t=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)e?h(i).is(e)&&t.push(i):t.push(i),i=i.parentNode}return h(t)},closest:function(e){let t=this;return void 0===e?h([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){let t=[];for(let n=0;n<this.length;n+=1){let i=this[n].querySelectorAll(e);for(let r=0;r<i.length;r+=1)t.push(i[r])}return h(t)},children:function(e){let t=[];for(let n=0;n<this.length;n+=1){let i=this[n].children;for(let r=0;r<i.length;r+=1)(!e||h(i[r]).is(e))&&t.push(i[r])}return h(t)},filter:function(e){let t=d(this,e);return h(t)},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function g(e,t=0){return setTimeout(e,t)}function v(){return Date.now()}function y(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function b(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function w(...e){let t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){let r=e[i];if(null!=r&&!b(r)){let o=Object.keys(Object(r)).filter(e=>0>n.indexOf(e));for(let s=0,a=o.length;s<a;s+=1){let l=o[s],u=Object.getOwnPropertyDescriptor(r,l);void 0!==u&&u.enumerable&&(y(t[l])&&y(r[l])?r[l].__swiper__?t[l]=r[l]:w(t[l],r[l]):!y(t[l])&&y(r[l])?(t[l]={},r[l].__swiper__?t[l]=r[l]:w(t[l],r[l])):t[l]=r[l])}}}return t}function S(e,t,n){e.style.setProperty(t,n)}function x({swiper:e,targetPosition:t,side:n}){let i=l(),r=-e.translate,o=null,s,a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);let u=t>r?"next":"prev",c=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,d=()=>{s=new Date().getTime(),null===o&&(o=s);let l=Math.max(Math.min((s-o)/a,1),0),u=r+(.5-Math.cos(l*Math.PI)/2)*(t-r);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[n]:u}),c(u,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:u})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(d)};d()}
204Object.keys(m).forEach(e=>{Object.defineProperty(h.fn,e,{value:m[e],writable:!0})});let _;function C(){return _||(_=function(){let e=l(),t=s();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{let n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(i){}return t}(),gestures:"ongesturestart"in e}}()),_}let E,k;function P({swiper:e,runCallbacks:t,direction:n,step:i}){let{activeIndex:r,previousIndex:o}=e,s=n;if(s||(s=r>o?"next":r<o?"prev":"reset"),e.emit(`transition${i}`),t&&r!==o){if("reset"===s){e.emit(`slideResetTransition${i}`);return}e.emit(`slideChangeTransition${i}`),"next"===s?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}function T(e){let t=this,n=s(),i=l(),r=t.touchEventsData,{params:o,touches:a,enabled:u}=t;if(!u||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let c=e;c.originalEvent&&(c=c.originalEvent);let d=h(c.target);if("wrapper"===o.touchEventsTarget&&!d.closest(t.wrapperEl).length||(r.isTouchEvent="touchstart"===c.type,!r.isTouchEvent&&"which"in c&&3===c.which||!r.isTouchEvent&&"button"in c&&c.button>0||r.isTouched&&r.isMoved))return;let p=!!o.noSwipingClass&&""!==o.noSwipingClass,f=e.composedPath?e.composedPath():e.path;p&&c.target&&c.target.shadowRoot&&f&&(d=h(f[0]));let m=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,g=!!(c.target&&c.target.shadowRoot);if(o.noSwiping&&(g?function(e,t=this){return function t(n){if(!n||n===s()||n===l())return null;n.assignedSlot&&(n=n.assignedSlot);let i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(m,d[0]):d.closest(m)[0])){t.allowClick=!0;return}if(o.swipeHandler&&!d.closest(o.swipeHandler)[0])return;a.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,a.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;let y=a.currentX,b=a.currentY,w=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,S=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(w&&(y<=S||y>=i.innerWidth-S)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=y,a.startY=b,r.touchStartTime=v(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==c.type){let x=!0;d.is(r.focusableElements)&&(x=!1,"SELECT"===d[0].nodeName&&(r.isTouched=!1)),n.activeElement&&h(n.activeElement).is(r.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();let _=x&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||_)&&!d[0].isContentEditable&&c.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}function A(e){let t=s(),n=this,i=n.touchEventsData,{params:r,touches:o,rtlTranslate:a,enabled:l}=n;if(!l)return;let u=e;if(u.originalEvent&&(u=u.originalEvent),!i.isTouched){i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",u);return}if(i.isTouchEvent&&"touchmove"!==u.type)return;let c="touchmove"===u.type&&u.targetTouches&&(u.targetTouches[0]||u.changedTouches[0]),d="touchmove"===u.type?c.pageX:u.pageX,p="touchmove"===u.type?c.pageY:u.pageY;if(u.preventedByNestedSwiper){o.startX=d,o.startY=p;return}if(!n.allowTouchMove){h(u.target).is(i.focusableElements)||(n.allowClick=!1),i.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),i.touchStartTime=v());return}if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop){if(n.isVertical()){if(p<o.startY&&n.translate<=n.maxTranslate()||p>o.startY&&n.translate>=n.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(d<o.startX&&n.translate<=n.maxTranslate()||d>o.startX&&n.translate>=n.minTranslate())return}if(i.isTouchEvent&&t.activeElement&&u.target===t.activeElement&&h(u.target).is(i.focusableElements)){i.isMoved=!0,n.allowClick=!1;return}if(i.allowTouchCallbacks&&n.emit("touchMove",u),u.targetTouches&&u.targetTouches.length>1)return;o.currentX=d,o.currentY=p;let f=o.currentX-o.startX,m=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+m**2)<n.params.threshold)return;if(void 0===i.isScrolling){let g;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:f*f+m*m>=25&&(g=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,i.isScrolling=n.isHorizontal()?g>r.touchAngle:90-g>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",u),void 0===i.startMoving&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(i.startMoving=!0),i.isScrolling){i.isTouched=!1;return}if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&u.cancelable&&u.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&u.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce
204=!1,r.grabCursor&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",u)),n.emit("sliderMove",u),i.isMoved=!0;let y=n.isHorizontal()?f:m;o.diff=y,y*=r.touchRatio,a&&(y=-y),n.swipeDirection=y>0?"prev":"next",i.currentTranslate=y+i.startTranslate;let b=!0,w=r.resistanceRatio;if(r.touchReleaseOnEdges&&(w=0),y>0&&i.currentTranslate>n.minTranslate()?(b=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+y)**w)):y<0&&i.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-y)**w)),b&&(u.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(Math.abs(y)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{i.currentTranslate=i.startTranslate;return}}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function O(e){let t=this,n=t.touchEventsData,{params:i,touches:r,rtlTranslate:o,slidesGrid:s,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);let u=v(),c=u-n.touchStartTime;if(t.allowClick){let d=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(d&&d[0]||l.target),t.emit("tap click",l),c<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=v(),g(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let h;if(h=i.followFinger?o?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:h});return}let p=0,f=t.slidesSizesGrid[0];for(let m=0;m<s.length;m+=m<i.slidesPerGroupSkip?1:i.slidesPerGroup){let y=m<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==s[m+y]?h>=s[m]&&h<s[m+y]&&(p=m,f=s[m+y]-s[m]):h>=s[m]&&(p=m,f=s[s.length-1]-s[s.length-2])}let b=null,w=null;i.rewind&&(t.isBeginning?w=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));let S=(h-s[p])/f,x=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(c>i.longSwipesMs){if(!i.longSwipes){t.slideTo(t.activeIndex);return}"next"===t.swipeDirection&&(S>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?b:p+x):t.slideTo(p)),"prev"===t.swipeDirection&&(S>1-i.longSwipesRatio?t.slideTo(p+x):null!==w&&S<0&&Math.abs(S)>i.longSwipesRatio?t.slideTo(w):t.slideTo(p))}else{if(!i.shortSwipes){t.slideTo(t.activeIndex);return}let _=t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl);_?l.target===t.navigation.nextEl?t.slideTo(p+x):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==b?b:p+x),"prev"===t.swipeDirection&&t.slideTo(null!==w?w:p))}}function L(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:r,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function R(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function M(){let e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let r,o=e.maxTranslate()-e.minTranslate();(0===o?0:(e.translate-e.minTranslate())/o)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let I=!1;function V(){}let D=(e,t)=>{let n=s(),{params:i,touchEvents:r,el:o,wrapperEl:a,device:l,support:u}=e,c=!!i.nested,d="on"===t?"addEventListener":"removeEventListener";if(u.touch){let h="touchstart"===r.start&&!!u.passiveListener&&!!i.passiveListeners&&{passive:!0,capture:!1};o[d](r.start,e.onTouchStart,h),o[d](r.move,e.onTouchMove,u.passiveListener?{passive:!1,capture:c}:c),o[d](r.end,e.onTouchEnd,h),r.cancel&&o[d](r.cancel,e.onTouchEnd,h)}else o[d](r.start,e.onTouchStart,!1),n[d](r.move,e.onTouchMove,c),n[d](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&o[d]("click",e.onClick,!0),i.cssMode&&a[d]("scroll",e.onScroll),i.updateOnWindowResize?e[t](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",L,!0):e[t]("observerUpdate",L,!0)},z=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var F={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,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",
204spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!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:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};let N={eventsEmitter:{on(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;function r(...n){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(i,n)}return r.__emitterProxy=t,i.on(e,r,n)},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 n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n},emit(...e){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let n,i,r;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),r=t):(n=e[0].events,i=e[0].data,r=e[0].context||t),i.unshift(r);let o=Array.isArray(n)?n:n.split(" ");return o.forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(r,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(r,i)})}),t}},update:{updateSize:function(){let e,t,n=this.$el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n[0].clientHeight,!(0===e&&this.isHorizontal()||0===t&&this.isVertical())&&(e=e-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),t=t-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("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=this;function t(t){return e.isHorizontal()?t:({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"})[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}let i=e.params,{$wrapperEl:r,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&i.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=r.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:c.length,h=[],p=[],f=[],m=i.slidesOffsetBefore;"function"==typeof m&&(m=i.slidesOffsetBefore.call(e));let g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(e));let v=e.snapGrid.length,y=e.slidesGrid.length,b=i.spaceBetween,w=-m,x=0,_=0;if(void 0===o)return;"string"==typeof b&&b.indexOf("%")>
204=0&&(b=parseFloat(b.replace("%",""))/100*o),e.virtualSize=-b,s?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(S(e.wrapperEl,"--swiper-centered-offset-before",""),S(e.wrapperEl,"--swiper-centered-offset-after",""));let C=i.grid&&i.grid.rows>1&&e.grid;C&&e.grid.initSlides(d);let E,k="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(e=>void 0!==i.breakpoints[e].slidesPerView).length>0;for(let P=0;P<d;P+=1){E=0;let T=c.eq(P);if(C&&e.grid.updateSlide(P,T,d,t),"none"!==T.css("display")){if("auto"===i.slidesPerView){k&&(c[P].style[t("width")]="");let A=getComputedStyle(T[0]),O=T[0].style.transform,L=T[0].style.webkitTransform;if(O&&(T[0].style.transform="none"),L&&(T[0].style.webkitTransform="none"),i.roundLengths)E=e.isHorizontal()?T.outerWidth(!0):T.outerHeight(!0);else{let R=n(A,"width"),M=n(A,"padding-left"),I=n(A,"padding-right"),V=n(A,"margin-left"),D=n(A,"margin-right"),z=A.getPropertyValue("box-sizing");if(z&&"border-box"===z)E=R+V+D;else{let{clientWidth:F,offsetWidth:N}=T[0];E=R+M+I+V+D+(N-F)}}O&&(T[0].style.transform=O),L&&(T[0].style.webkitTransform=L),i.roundLengths&&(E=Math.floor(E))}else E=(o-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(E=Math.floor(E)),c[P]&&(c[P].style[t("width")]=`${E}px`);c[P]&&(c[P].swiperSlideSize=E),f.push(E),i.centeredSlides?(w=w+E/2+x/2+b,0===x&&0!==P&&(w=w-o/2-b),0===P&&(w=w-o/2-b),.001>Math.abs(w)&&(w=0),i.roundLengths&&(w=Math.floor(w)),_%i.slidesPerGroup==0&&h.push(w),p.push(w)):(i.roundLengths&&(w=Math.floor(w)),(_-Math.min(e.params.slidesPerGroupSkip,_))%e.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+E+b),e.virtualSize+=E+b,x=E,_+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+g,s&&a&&("slide"===i.effect||"coverflow"===i.effect)&&r.css({width:`${e.virtualSize+i.spaceBetween}px`}),i.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+i.spaceBetween}px`}),C&&e.grid.updateWrapperSize(E,h,t),!i.centeredSlides){let j=[];for(let G=0;G<h.length;G+=1){let B=h[G];i.roundLengths&&(B=Math.floor(B)),h[G]<=e.virtualSize-o&&j.push(B)}h=j,Math.floor(e.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-o)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){let H=e.isHorizontal()&&s?"marginLeft":t("marginRight");c.filter((e,t)=>!i.cssMode||t!==c.length-1).css({[H]:`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let U=0;f.forEach(e=>{U+=e+(i.spaceBetween?i.spaceBetween:0)}),U-=i.spaceBetween;let $=U-o;h=h.map(e=>e<0?-m:e>$?$+g:e)}if(i.centerInsufficientSlides){let q=0;if(f.forEach(e=>{q+=e+(i.spaceBetween?i.spaceBetween:0)}),(q-=i.spaceBetween)<o){let W=(o-q)/2;h.forEach((e,t)=>{h[t]=e-W}),p.forEach((e,t)=>{p[t]=e+W})}}if(Object.assign(e,{slides:c,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){S(e.wrapperEl,"--swiper-centered-offset-before",`${-h[0]}px`),S(e.wrapperEl,"--swiper-centered-offset-after",`${e.size/2-f[f.length-1]/2}px`);let Q=-e.snapGrid[0],Y=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+Q),e.slidesGrid=e.slidesGrid.map(e=>e+Y)}if(d!==u&&e.emit("slidesLengthChange"),h.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!l&&!i.cssMode&&("slide"===i.effect||"fade"===i.effect)){let Z=`${i.containerModifierClass}backface-hidden`,K=e.$el.hasClass(Z);d<=i.maxBackfaceHiddenSlides?K||e.$el.addClass(Z):K&&e.$el.removeClass(Z)}},updateAutoHeight:function(e){let t=this,n=[],i=t.virtual&&t.params.virtual.enabled,r=0,o;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);let s=e=>i?t.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1){if(t.params.centeredSlides)(t.visibleSlides||h([])).each(e=>{n.push(e)});else for(o=0;o<Math.ceil(t.params.slidesPerView);o+=1){let a=t.activeIndex+o;if(a>t.slides.length&&!i)break;n.push(s(a))}}else n.push(s(t.activeIndex));for(o=0;o<n.length;o+=1)if(void 0!==n[o]){let l=n[o].offsetHeight;r=l>r?l:r}(r||0===r)&&t.$wrapperEl.css("height",`${r}px`)},updateSlidesOffset:function(){let e=this.slides;for(let t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){let t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:o}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;r&&(s=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let a=0;a<i.length;a+=1){let l=i[a],u=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(u-=i[0].swiperSlideOffset);let c=(s+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),d=(s-o[0]+(n.centeredSlides?t.minTranslate():0)-u)/(l.swiperSlideSize+n.spaceBetween),p=-(s-u),f=p+t.slidesSizesGrid[a],m=p>=0&&p<t.size-1||f>1&&f<=t.size||p<=0&&f>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(a),i.eq(a).addClass(n.slideVisibleClass)),l.progress=r?-c:c,l.originalProgress=r?-d:d}t.visibleSlides=h(t.visibleSlides)},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let n=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:r,isBeginning:o,isEnd:s}=this,a=o,l=s;0===i?(r=0,o=!0,s=!0):(o=(r=(e-this.minTranslate())/i)<=0,s=r>=1),Object.assign(this,{progress:r,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&this.updateSlidesProgress(e),o&&!a&&this.emit
204("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(a&&!o||l&&!s)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){let{slides:e,params:t,$wrapperEl:n,activeIndex:i,realIndex:r}=this,o=this.virtual&&t.virtual.enabled;e.removeClass(`${t.slideActiveClass} ${t.slideNextClass} ${t.slidePrevClass} ${t.slideDuplicateActiveClass} ${t.slideDuplicateNextClass} ${t.slideDuplicatePrevClass}`);let s;(s=o?this.$wrapperEl.find(`.${t.slideClass}[data-swiper-slide-index="${i}"]`):e.eq(i)).addClass(t.slideActiveClass),t.loop&&(s.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass));let a=s.nextAll(`.${t.slideClass}`).eq(0).addClass(t.slideNextClass);t.loop&&0===a.length&&(a=e.eq(0)).addClass(t.slideNextClass);let l=s.prevAll(`.${t.slideClass}`).eq(0).addClass(t.slidePrevClass);t.loop&&0===l.length&&(l=e.eq(-1)).addClass(t.slidePrevClass),t.loop&&(a.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass),l.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){let t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:i,snapGrid:r,params:o,activeIndex:s,realIndex:a,snapIndex:l}=t,u=e,c;if(void 0===u){for(let d=0;d<i.length;d+=1)void 0!==i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?u=d:n>=i[d]&&n<i[d+1]&&(u=d+1):n>=i[d]&&(u=d);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{let h=Math.min(o.slidesPerGroupSkip,u);c=h+Math.floor((u-h)/o.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===s){c!==l&&(t.snapIndex=c,t.emit("snapIndexChange"));return}let p=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:p,previousIndex:s,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){let t=this,n=t.params,i=h(e).closest(`.${n.slideClass}`)[0],r=!1,o;if(i){for(let s=0;s<t.slides.length;s+=1)if(t.slides[s]===i){r=!0,o=s;break}}if(i&&r)t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(h(i).attr("data-swiper-slide-index"),10):t.clickedIndex=o;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:t,rtlTranslate:n,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let o=function(e,t="x"){let n=l(),i,r,o,s=function(e){let t=l(),n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e,null);return n.WebKitCSSMatrix?((r=s.transform||s.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):i=(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&&(r=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}(r[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){let n=this,{rtlTranslate:i,params:r,$wrapperEl:o,wrapperEl:s,progress:a}=n,l=0,u=0;n.isHorizontal()?l=i?-e:e:u=e,r.roundLengths&&(l=Math.floor(l),u=Math.floor(u)),r.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-u:r.virtualTranslate||o.transform(`translate3d(${l}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:u;let c,d=n.maxTranslate()-n.minTranslate();(0===d?0:(e-n.minTranslate())/d)!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,r){let o=this,{params:s,wrapperEl:a}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;let l=o.minTranslate(),u=o.maxTranslate(),c;if(c=i&&e>l?l:i&&e<u?u:e,o.updateProgress(c),s.cssMode){let d=o.isHorizontal();if(0===t)a[d?"scrollLeft":"scrollTop"]=-c;else{if(!o.support.smoothScroll)return x({swiper:o,targetPosition:-c,side:d?"left":"top"}),!0;a.scrollTo({[d?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(c),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit
204("setTransition",e,t)},transitionStart:function(e=!0,t){let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),P({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){let n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),P({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t=this.params.speed,n=!0,i,r){if("number"!=typeof e&&"string"!=typeof e)throw Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){let o=parseInt(e,10),s=isFinite(o);if(!s)throw Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=o}let a=this,l=e;l<0&&(l=0);let{params:u,snapGrid:c,slidesGrid:d,previousIndex:h,activeIndex:p,rtlTranslate:f,wrapperEl:m,enabled:g}=a;if(a.animating&&u.preventInteractionOnTransition||!g&&!i&&!r)return!1;let v=Math.min(a.params.slidesPerGroupSkip,l),y=v+Math.floor((l-v)/a.params.slidesPerGroup);y>=c.length&&(y=c.length-1);let b=-c[y];if(u.normalizeSlideIndex)for(let w=0;w<d.length;w+=1){let S=-Math.floor(100*b),_=Math.floor(100*d[w]),C=Math.floor(100*d[w+1]);void 0!==d[w+1]?S>=_&&S<C-(C-_)/2?l=w:S>=_&&S<C&&(l=w+1):S>=_&&(l=w)}if(a.initialized&&l!==p&&(!a.allowSlideNext&&b<a.translate&&b<a.minTranslate()||!a.allowSlidePrev&&b>a.translate&&b>a.maxTranslate()&&(p||0)!==l))return!1;l!==(h||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(b);let E;if(E=l>p?"next":l<p?"prev":"reset",f&&-b===a.translate||!f&&b===a.translate)return a.updateActiveIndex(l),u.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==u.effect&&a.setTranslate(b),"reset"!==E&&(a.transitionStart(n,E),a.transitionEnd(n,E)),!1;if(u.cssMode){let k=a.isHorizontal(),P=f?b:-b;if(0===t){let T=a.virtual&&a.params.virtual.enabled;T&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),m[k?"scrollLeft":"scrollTop"]=P,T&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return x({swiper:a,targetPosition:P,side:k?"left":"top"}),!0;m.scrollTo({[k?"left":"top"]:P,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(l),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,E),0===t?a.transitionEnd(n,E):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,E))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,i){if("string"==typeof e){let r=parseInt(e,10),o=isFinite(r);if(!o)throw Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=r}let s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,n,i)},slideNext:function(e=this.params.speed,t=!0,n){let i=this,{animating:r,enabled:o,params:s}=i;if(!o)return i;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));let l=i.activeIndex<s.slidesPerGroupSkip?1:a;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){let i=this,{params:r,animating:o,snapGrid:s,slidesGrid:a,rtlTranslate:l,enabled:u}=i;if(!u)return i;if(r.loop){if(o&&r.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}let c=l?i.translate:-i.translate;function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=d(c),p=s.map(e=>d(e)),f=s[p.indexOf(h)-1];if(void 0===f&&r.cssMode){let m;
204s.forEach((e,t)=>{h>=e&&(m=t)}),void 0!==m&&(f=s[m>0?m-1:m])}let g=0;if(void 0!==f&&((g=a.indexOf(f))<0&&(g=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=Math.max(g=g-i.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&i.isBeginning){let v=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(v,e,t,n)}return i.slideTo(g,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,i=.5){let r=this.activeIndex,o=Math.min(this.params.slidesPerGroupSkip,r),s=o+Math.floor((r-o)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;if(a>=this.snapGrid[s]){let l=this.snapGrid[s],u=this.snapGrid[s+1];a-l>(u-l)*i&&(r+=this.params.slidesPerGroup)}else{let c=this.snapGrid[s-1],d=this.snapGrid[s];a-c<=(d-c)*i&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,n)},slideToClickedSlide:function(){let e=this,{params:t,$wrapperEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView,r=e.clickedIndex,o;if(t.loop){if(e.animating)return;o=parseInt(h(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-i/2||r>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),r=n.children(`.${t.slideClass}[data-swiper-slide-index="${o}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),g(()=>{e.slideTo(r)})):e.slideTo(r):r>e.slides.length-i?(e.loopFix(),r=n.children(`.${t.slideClass}[data-swiper-slide-index="${o}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),g(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}},loop:{loopCreate:function(){let e=this,t=s(),{params:n,$wrapperEl:i}=e,r=i.children().length>0?h(i.children()[0].parentNode):i;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){let a=n.slidesPerGroup-o.length%n.slidesPerGroup;if(a!==n.slidesPerGroup){for(let l=0;l<a;l+=1){let u=h(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(u)}o=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);let c=[],d=[];o.each((e,t)=>{let n=h(e);n.attr("data-swiper-slide-index",t)});for(let p=0;p<e.loopedSlides;p+=1){let f=p-Math.floor(p/o.length)*o.length;d.push(o.eq(f)[0]),c.unshift(o.eq(o.length-f-1)[0])}for(let m=0;m<d.length;m+=1)r.append(h(d[m].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let g=c.length-1;g>=0;g-=1)r.prepend(h(c[g].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){let e=this;e.emit("beforeLoopFix");let{activeIndex:t,slides:n,loopedSlides:i,allowSlidePrev:r,allowSlideNext:o,snapGrid:s,rtlTranslate:a}=e,l;e.allowSlidePrev=!0,e.allowSlideNext=!0;let u=-s[t],c=u-e.getTranslate();if(t<i){l=n.length-3*i+t,l+=i;let d=e.slideTo(l,0,!1,!0);d&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}else if(t>=n.length-i){l=-n.length+t+i,l+=i;let h=e.slideTo(l,0,!1,!0);h&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}e.allowSlidePrev=r,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){let{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){if(this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)return;let t="container"===this.params.touchEventsTarget?this.el:this.wrapperEl;t.style.cursor="move",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){let e=this;!e.support.touch&&(!e.params.watchOverflow||!e.isLocked)&&!e.params.cssMode&&(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){let e=this,t=s(),{params:n,support:i}=e;e.onTouchStart=T.bind(e),e.onTouchMove=A.bind(e),e.onTouchEnd=O.bind(e),n.cssMode&&(e.onScroll=M.bind(e)),e.onClick=R.bind(e),i.touch&&!I&&(t.addEventListener("touchstart",V),I=!0),D(e,"on")},detachEvents:function(){D(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{activeIndex:t,initialized:n,loopedSlides:i=0,params:r,$el:o}=e,s=r.breakpoints;if(!s||s&&0===Object.keys(s).length)return;
204let a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;let l=a in s?s[a]:void 0,u=l||e.originalParams,c=z(e,r),d=z(e,u),h=r.enabled;c&&!d?(o.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(o.addClass(`${r.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===r.grid.fill)&&o.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{let n=r[t]&&r[t].enabled,i=u[t]&&u[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});let p=u.direction&&u.direction!==r.direction,f=r.loop&&(u.slidesPerView!==r.slidesPerView||p);p&&n&&e.changeDirection(),w(e.params,u);let m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!m?e.disable():!h&&m&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",u),f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",u)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1,r=l(),o="window"===t?r.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){let t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let a=0;a<s.length;a+=1){let{point:u,value:c}=s[a];"window"===t?r.matchMedia(`(min-width: ${c}px)`).matches&&(i=u):c<=n.clientWidth&&(i=u)}return i||"max"}},checkOverflow:{checkOverflow:function(){let e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){let r=e.slides.length-1,o=e.slidesGrid[r]+e.slidesSizesGrid[r]+2*i;e.isLocked=e.size>o}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:n,$el:i,device:r,support:o}=this,s=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"pointer-events":!o.touch},{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),i.addClass([...e].join(" ")),this.emitContainerClasses()},removeClasses:function(){let{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,n,i,r,o){let s=l(),a;function u(){o&&o()}let c=h(e).parent("picture")[0];c||e.complete&&r?u():t?((a=new s.Image).onload=u,a.onerror=u,i&&(a.sizes=i),n&&(a.srcset=n),t&&(a.src=t)):u()},preloadImages:function(){let e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){let i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},j={};class G{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=w({},n),t&&!n.el&&(n.el=t),n.el&&h(n.el).length>1){let i=[];return h(n.el).each(e=>{let t=w({},n,{el:e});i.push(new G(t))}),i}let r=this;r.__swiper__=!0,r.support=C(),r.device=function(e={}){return E||(E=function({userAgent:e}={}){let t=C(),n=l(),i=n.navigator.platform,r=e||n.navigator.userAgent,o={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/),c=r.match(/(iPad).*OS\s([\d_]+)/),d=r.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="MacIntel"===i;return!c&&p&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${a}`)>=0&&((c=r.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),p=!1),u&&"Win32"!==i&&(o.os="android",o.android=!0),(c||h||d)&&(o.os="ios",o.ios=!0),o}(e)),E}({userAgent:n.userAgent}),r.browser=(k||(k=function(){let e=l();return{isSafari:function(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}
204(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),k),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&r.modules.push(...n.modules);let o={};r.modules.forEach(e=>{var t,i;e({swiper:r,extendParams:(t=n,function(e={}){let n=Object.keys(e)[0],i=e[n];if("object"!=typeof i||null===i||(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===t[n]&&(t[n]={auto:!0}),!(n in t&&"enabled"in i))){w(o,e);return}!0===t[n]&&(t[n]={enabled:!0}),"object"!=typeof t[n]||"enabled"in t[n]||(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),w(o,e)}),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});let s=w({},F,o);return r.params=w({},s,j,n),r.originalParams=w({},r.params),r.passedParams=w({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach(e=>{r.on(e,r.params.on[e])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=h,Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:h(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){let e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),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:r.params.focusableElements,lastClickTime:v(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),i=this.maxTranslate(),r=(i-n)*e+n;this.translateTo(r,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.each(n=>{let i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){let{params:n,slides:i,slidesGrid:r,slidesSizesGrid:o,size:s,activeIndex:a}=this,l=1;if(n.centeredSlides){let u=i[a].swiperSlideSize,c;for(let d=a+1;d<i.length;d+=1)i[d]&&!c&&(u+=i[d].swiperSlideSize,l+=1,u>s&&(c=!0));for(let h=a-1;h>=0;h-=1)i[h]&&!c&&(u+=i[h].swiperSlideSize,l+=1,u>s&&(c=!0))}else if("current"===e)for(let p=a+1;p<i.length;p+=1){let f=t?r[p]+o[p]-r[a]<s:r[p]-r[a]<s;f&&(l+=1)}else for(let m=a-1;m>=0;m-=1){let g=r[a]-r[m]<s;g&&(l+=1)}return l}update(){let e=this;if(!e||e.destroyed)return;let{snapGrid:t,params:n}=e;function i(){let t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();let r;e.params.freeMode&&e.params.freeMode.enabled?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){let n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){let t=this;(!t.rtl||"rtl"!==e)&&(t.rtl||"ltr"!==e)&&(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
204rtl`),t.el.dir="ltr"),t.update())}mount(e){let t=this;if(t.mounted)return!0;let n=h(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;let i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){let t=h(e.shadowRoot.querySelector(i()));return t.children=e=>n.children(e),t}return n.children?n.children(i()):h(n).children(i())})();if(0===r.length&&t.params.createElements){let o=s(),a=o.createElement("div");r=h(a),a.className=t.params.wrapperClass,n.append(a),n.children(`.${t.params.slideClass}`).each(e=>{r.append(e)})}return Object.assign(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){let t=this;if(t.initialized)return t;let n=t.mount(e);return!1===n||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){let n=this,{params:i,$el:r,$wrapperEl:o,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),s&&s.length&&s.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.$el[0].swiper=null,function(e){let t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(i){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){w(j,e)}static get extendedDefaults(){return j}static get defaults(){return F}static installModule(e){G.prototype.__modules__||(G.prototype.__modules__=[]);let t=G.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>G.installModule(e)),G):(G.installModule(e),G)}}Object.keys(N).forEach(e=>{Object.keys(N[e]).forEach(t=>{G.prototype[t]=N[e][t]})}),G.use([function({swiper:e,on:t,emit:n}){let i=l(),r=null,o=null,s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},a=()=>{e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver(t=>{o=i.requestAnimationFrame(()=>{let{width:n,height:i}=e,r=n,o=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{i&&i!==e.el||(r=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)}),(r!==n||o!==i)&&s()})})).observe(e.el)},u=()=>{o&&i.cancelAnimationFrame(o),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},c=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&void 0!==i.ResizeObserver){a();return}i.addEventListener("resize",s),i.addEventListener("orientationchange",c)}),t("destroy",()=>{u(),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",c)})},function({swiper:e,extendParams:t,on:n,emit:i}){let r=[],o=l(),s=(e,t={})=>{let n=o.MutationObserver||o.WebkitMutationObserver,s=new n(e=>{if(1===e.length){i("observerUpdate",e[0]);return}let t=function(){i("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(s)},a=()=>{if(e.params.observer){if(e.params.observeParents){let t=e.$el.parents();for(let n=0;n<t.length;n+=1)s(t[n])}s(e.$el[0],{childList:e.params.observeSlideChildren}),s(e.$wrapperEl[0],{attributes:!1})}},u=()=>
204{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",u)}]);var B=G;function H(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function U({swiper:e,extendParams:t,on:n,emit:i}){let r="swiper-pagination";t({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:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let o,a=0;function l(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function u(t,n){let{bulletActiveClass:i}=e.params.pagination;t[n]().addClass(`${i}-${n}`)[n]().addClass(`${i}-${n}-${n}`)}function c(){let t=e.rtl,n=e.params.pagination;if(l())return;let r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,c,d=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((c=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>r-1-2*e.loopedSlides&&(c-=r-2*e.loopedSlides),c>d-1&&(c-=d),c<0&&"bullets"!==e.params.paginationType&&(c=d+c)):c=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let p=e.pagination.bullets,f,m,g;if(n.dynamicBullets&&(o=p.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height",`${o*(n.dynamicMainBullets+4)}px`),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&((a+=c-(e.previousIndex-e.loopedSlides||0))>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),g=((m=(f=Math.max(c-a,0))+(Math.min(p.length,n.dynamicMainBullets)-1))+f)/2),p.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`).join(" ")),s.length>1)p.each(e=>{let t=h(e),i=t.index();i===c&&t.addClass(n.bulletActiveClass),n.dynamicBullets&&(i>=f&&i<=m&&t.addClass(`${n.bulletActiveClass}-main`),i===f&&u(t,"prev"),i===m&&u(t,"next"))});else{let v=p.eq(c),y=v.index();if(v.addClass(n.bulletActiveClass),n.dynamicBullets){let b=p.eq(f),w=p.eq(m);for(let S=f;S<=m;S+=1)p.eq(S).addClass(`${n.bulletActiveClass}-main`);if(e.params.loop){if(y>=p.length){for(let x=n.dynamicMainBullets;x>=0;x-=1)p.eq(p.length-x).addClass(`${n.bulletActiveClass}-main`);p.eq(p.length-n.dynamicMainBullets-1).addClass(`${n.bulletActiveClass}-prev`)}else u(b,"prev"),u(w,"next")}else u(b,"prev"),u(w,"next")}}if(n.dynamicBullets){let _=Math.min(p.length,n.dynamicMainBullets+4),C=(o*_-o)/2-g*o;p.css(e.isHorizontal()?t?"right":"left":"top",`${C}px`)}}if("fraction"===n.type&&(s.find(H(n.currentClass)).text(n.formatFractionCurrent(c+1)),s.find(H(n.totalClass)).text(n.formatFractionTotal(d))),"progressbar"===n.type){let E;E=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let k=(c+1)/d,P=1,T=1;"horizontal"===E?P=k:T=k,s.find(H(n.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${P}) scaleY(${T})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(s.html(n.renderCustom(e,c+1,d)),i("paginationRender",s[0])):i("paginationUpdate",s[0]),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](n.lockClass)}function d(){let t=e.params.pagination;if(l())return;let n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,o="";if("bullets"===t.type){let s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&s>n&&(s=n);for(let a=0;a<s;a+=1)t.renderBullet?o+=t.renderBullet.call(e,a,t.bulletClass):o+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(o),e.pagination.bullets=r.find(H(t.bulletClass))}"fraction"===t.type&&(o=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(o)),"progressbar"===t.type&&(o=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(o)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function p(){e.params.pagination=function(e,t,n,i){let r=s();
204return e.params.createElements&&Object.keys(i).forEach(o=>{if(!n[o]&&!0===n.auto){let s=e.$el.children(`.${i[o]}`)[0];s||((s=r.createElement("div")).className=i[o],e.$el.append(s)),n[o]=s,t[o]=s}}),n}(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let t=e.params.pagination;if(!t.el)return;let n=h(t.el);0===n.length||(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)).length>1&&(n=n.filter(t=>h(t).parents(".swiper")[0]===e.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),n.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click",H(t.bulletClass),function(t){t.preventDefault();let n=h(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)}),Object.assign(e.pagination,{$el:n,el:n[0]}),e.enabled||n.addClass(t.lockClass))}function f(){let t=e.params.pagination;if(l())return;let n=e.pagination.$el;n.removeClass(t.hiddenClass),n.removeClass(t.modifierClass+t.type),n.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&n.off("click",H(t.bulletClass))}n("init",()=>{!1===e.params.pagination.enabled?g():(p(),d(),c())}),n("activeIndexChange",()=>{e.params.loop?c():void 0===e.snapIndex&&c()}),n("snapIndexChange",()=>{e.params.loop||c()}),n("slidesLengthChange",()=>{e.params.loop&&(d(),c())}),n("snapGridLengthChange",()=>{e.params.loop||(d(),c())}),n("destroy",()=>{f()}),n("enable disable",()=>{let{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)}),n("lock unlock",()=>{c()}),n("click",(t,n)=>{let r=n.target,{$el:o}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&o&&o.length>0&&!h(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;let s=o.hasClass(e.params.pagination.hiddenClass);!0===s?i("paginationShow"):i("paginationHide"),o.toggleClass(e.params.pagination.hiddenClass)}});let m=()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),p(),d(),c()},g=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:m,disable:g,render:d,update:c,init:p,destroy:f})}function $({swiper:e,extendParams:t,on:n,emit:i}){let r;
204function o(){if(!e.size){e.autoplay.running=!1,e.autoplay.paused=!1;return}let t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(r),r=g(()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),i("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),i("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(0,e.params.speed,!0,!0),i("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),i("autoplay")),e.params.cssMode&&e.autoplay.running?o():!1===t&&o()},n)}function a(){return void 0===r&&!e.autoplay.running&&(e.autoplay.running=!0,i("autoplayStart"),o(),!0)}function l(){return!!e.autoplay.running&&void 0!==r&&(r&&(clearTimeout(r),r=void 0),e.autoplay.running=!1,i("autoplayStop"),!0)}function u(t){e.autoplay.running&&(e.autoplay.paused||(r&&clearTimeout(r),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].addEventListener(t,d)}):(e.autoplay.paused=!1,o())))}function c(){let t=s();"hidden"===t.visibilityState&&e.autoplay.running&&u(),"visible"===t.visibilityState&&e.autoplay.paused&&(o(),e.autoplay.paused=!1)}function d(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].removeEventListener(t,d)}),e.autoplay.paused=!1,e.autoplay.running?o():l())}function h(){e.params.autoplay.disableOnInteraction?l():(i("autoplayPause"),u()),["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].removeEventListener(t,d)})}function p(){!e.params.autoplay.disableOnInteraction&&(e.autoplay.paused=!1,i("autoplayResume"),o())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),n("init",()=>{if(e.params.autoplay.enabled){a();let t=s();t.addEventListener("visibilitychange",c),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",p))}}),n("beforeTransitionStart",(t,n,i)=>{e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(n):l())}),n("sliderFirstMove",()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?l():u())}),n("touchEnd",()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&o()}),n("destroy",()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",p),e.autoplay.running&&l();let t=s();t.removeEventListener("visibilitychange",c)}),Object.assign(e.autoplay,{pause:u,run:o,start:a,stop:l})}function q(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function W({swiper:e,extendParams:t,on:n}){t({fadeEffect:{crossFade:!1,transformEl:null}});let i=()=>{let{slides:t}=e,n=e.params.fadeEffect;for(let i=0;i<t.length;i+=1){let r=e.slides.eq(i),o=r[0].swiperSlideOffset,s=-o;e.params.virtualTranslate||(s-=e.translate);let a=0;e.isHorizontal()||(a=s,s=0);let l=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(r[0].progress),0):1+Math.min(Math.max(r[0].progress,-1),0),u=q(n,r);u.css({opacity:l}).transform(`translate3d(${s}px, ${a}px, 0px)`)}},r=t=>{let{transformEl:n}=e.params.fadeEffect,i=n?e.slides.find(n):e.slides;i.transition(t),function({swiper:e,duration:t,transformEl:n,allSlides:i}){let{slides:r,activeIndex:o,$wrapperEl:s}=e;if(e.params.virtualTranslate&&0!==t){let a=!1,l;(i?n?r.find(n):r:n?r.eq(o).find(n):r.eq(o)).transitionEnd(()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;let t=["webkitTransitionEnd","transitionend"];for(let n=0;n<t.length;n+=1)s.trigger(t[n])})}}({swiper:e,duration:t,transformEl:n,allSlides:!0})};!function(e){let{effect:t,swiper:n,on:i,setTranslate:r,setTransition:o,overwriteParams:s,perspective:a,recreateShadows:l,getEffectParams:u}=e;i("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&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===t&&r()}),i("setTransition",(e,i)=>{n.params.effect===t&&o(i)}),i("transitionEnd",()=>{n.params.effect===t&&l&&u&&u().slideShadows&&(n.slides.each(e=>{let t=n.$(e);t.find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),l())});let c;i("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(r(),c=!1)}))})}({effect:"fade",swiper:e,on:n,setTranslate:i,setTransition:r,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},9645:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});let i=function(e){var t,n;if(null==e)return o;if("string"==typeof e){return t=e,r(function(e){return e&&e.type===t})}if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=i(e[n]);return r(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):(n=e,r(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0}))}if("function"==typeof e)return r(e);throw Error("Expected function, string, or object as test")};function r(e){return function(...t){return Boolean(e.call(this,...t))}}function o(){return!0}},5765:function(e,t,n){"use strict";n.d(t,{S4:function(){return r}});var i=n(9645);let r=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);let o=(0,i.O)(t),s=r?-1:1;(function e(i,a,l){let u="object"==typeof i&&null!==i?i:{},c;if("string"==typeof u.type){var d;c="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0,Object.defineProperty(h,"name",{value:"node ("+(d=u.type+(c?"<"+c+">":""))+")"})}return h;function h(){var u;
204let c=[],d,h,p;if((!t||o(i,a,l[l.length-1]||null))&&!1===(u=n(i,l),c=Array.isArray(u)?u:"number"==typeof u?[!0,u]:[u])[0])return c;if(i.children&&"skip"!==c[0])for(h=(r?i.children.length:-1)+s,p=l.concat(i);h>-1&&h<i.children.length;){if(!1===(d=e(i.children[h],h,p)())[0])return d;h="number"==typeof d[1]?d[1]:h+s}return c}})(e,null,[])()}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.