1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87897,e=>{"use strict";var t,n,i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,r=(t=function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]});e.s(["default",0,r],87897)},60814,e=>{"use strict";var t,n,i=e.i(50461);e.i(87897);var r=e.i(91788),s="-ms-",o="-moz-",a="-webkit-",l="comm",c="rule",u="decl",d="@keyframes",h=Math.abs,p=String.fromCharCode,f=Object.assign;function m(e,t){return(e=t.exec(e))?e[0]:e}function g(e,t,n){return e.replace(t,n)}function y(e,t,n){return e.indexOf(t,n)}function v(e,t){return 0|e.charCodeAt(t)}function b(e,t,n){return e.slice(t,n)}function x(e){return e.length}function w(e,t){return t.push(e),e}function S(e,t){return e.filter(function(e){return!m(e,t)})}var _=1,k=1,T=0,E=0,j=0,C="";function A(e,t,n,i,r,s,o,a){return{value:e,root:t,parent:n,type:i,props:r,children:s,line:_,column:k,length:o,return:"",siblings:a}}function M(e,t){return f(A("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function P(e){for(;e.root;)e=M(e.root,{children:[e]});w(e,e.siblings)}function L(){return j=E<T?v(C,E++):0,k++,10===j&&(k=1,_++),j}function I(){return v(C,E)}function O(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function V(e){var t,n;return(t=E-1,n=function e(t){for(;L();)switch(j){case t:return E;case 34:case 39:34!==t&&39!==t&&e(j);break;case 40:41===t&&e(t);break;case 92:L()}return E}(91===e?e+2:40===e?e+1:e),b(C,t,n)).trim()}function D(e,t){for(var n="",i=0;i<e.length;i++)n+=t(e[i],i,e,t)||"";return n}function R(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case u:return e.return=e.return||e.value;case l:return"";case d:return e.return=e.value+"{"+D(e.children,i)+"}";case c:if(!x(e.value=e.props.join(",")))return""}return x(n=D(e.children,i))?e.return=e.value+"{"+n+"}":""}function N(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case u:e.return=function e(t,n,i){var r;switch(r=n,45^v(t,0)?(((r<<2^v(t,0))<<2^v(t,1))<<2^v(t,2))<<2^v(t,3):0){case 5103:return a+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return a+t+t;case 4855:return a+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return o+t+t;
1case 5349:case 4246:case 4810:case 6968:case 2756:return a+t+o+t+s+t+t;case 5936:switch(v(t,n+11)){case 114:return a+t+s+g(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a+t+s+g(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a+t+s+g(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return a+t+s+t+t;case 6165:return a+t+s+"flex-"+t+t;case 5187:return a+t+g(t,/(\w+).+(:[^]+)/,a+"box-$1$2"+s+"flex-$1$2")+t;case 5443:return a+t+s+"flex-item-"+g(t,/flex-|-self/g,"")+(m(t,/flex-|baseline/)?"":s+"grid-row-"+g(t,/flex-|-self/g,""))+t;case 4675:return a+t+s+"flex-line-pack"+g(t,/align-content|flex-|-self/g,"")+t;case 5548:return a+t+s+g(t,"shrink","negative")+t;case 5292:return a+t+s+g(t,"basis","preferred-size")+t;case 6060:return a+"box-"+g(t,"-grow","")+a+t+s+g(t,"grow","positive")+t;case 4554:return a+g(t,/([^-])(transform)/g,"$1"+a+"$2")+t;case 6187:return g(g(g(t,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),t,"")+t;case 5495:case 3959:return g(t,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return g(g(t,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+s+"flex-pack:$3"),/space-between/,"justify")+a+t+t;case 4200:if(!m(t,/flex-|baseline/))return s+"grid-column-align"+b(t,n)+t;break;case 2592:case 3360:return s+g(t,"template-","")+t;case 4384:case 3616:if(i&&i.some(function(e,t){return n=t,m(e.props,/grid-\w+-end/)}))return~y(t+(i=i[n].value),"span",0)?t:s+g(t,"-start","")+t+s+"grid-row-span:"+(~y(i,"span",0)?m(i,/\d+/):m(i,/\d+/)-m(t,/\d+/))+";";return s+g(t,"-start","")+t;case 4896:case 4128:return i&&i.some(function(e){return m(e.props,/grid-\w+-start/)})?t:s+g(g(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return g(t,/(.+)-inline(.+)/,a+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(x(t)-1-n>6)switch(v(t,n+1)){case 109:if(45!==v(t,n+4))break;case 102:return g(t,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+o+(108==v(t,n+3)?"$3":"$2-$3"))+t;case 115:return~y(t,"stretch",0)?e(g(t,"stretch","fill-available"),n,i)+t:t}break;case 5152:case 5920:return g(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,i,r,o,a,l){return s+n+":"+i+l+(r?s+n+"-span:"+(o?a:a-i)+l:"")+t});case 4949:if(121===v(t,n+6))return g(t,":",":"+a)+t;break;case 6444:switch(v(t,45===v(t,14)?18:11)){case 120:return g(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+a+(45===v(t,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+s+"$2box$3")+t;case 100:return g(t,":",":"+s)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return g(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case d:return D([M(e,{value:g(e.value,"@","@"+a)})],i);case c:if(e.length){var r,l;return r=n=e.props,l=function(t){switch(m(t,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":P(M(e,{props:[g(t,/:(read-\w+)/,":"+o+"$1")]})),P(M(e,{props:[t]})),f(e,{props:S(n,i)});break;case"::placeholder":P(M(e,{props:[g(t,/:(plac\w+)/,":"+a+"input-$1")]})),P(M(e,{props:[g(t,/:(plac\w+)/,":"+o+"$1")]})),P(M(e,{props:[g(t,/:(plac\w+)/,s+"input-$1")]})),P(M(e,{props:[t]})),f(e,{props:S(n,i)})}return""},r.map(l).join("")}}}function F(e,t,n,i,r,s,o,a,l,u,d,p){for(var f=r-1,m=0===r?s:[""],y=m.length,v=0,x=0,w=0;v<i;++v)for(var S=0,_=b(e,f+1,f=h(x=o[v])),k=e;S<y;++S)(k=(x>0?m[S]+" "+_:g(_,/&\f/g,m[S])).trim())&&(l[w++]=k);return A(e,t,n,0===r?c:a,l,u,d,p)}function z(e,t,n,i,r){return A(e,t,n,u,b(e,0,i),b(e,i+1,-1),i,r)}let B=void 0!==i.default&&void 0!==i.default.env&&(i.default.env.REACT_APP_SC_ATTR||i.default.env.SC_ATTR)||"data-styled",$="active",H="data-styled-version",U="6.5.1",W="/*!sc*/\n",G="u">typeof window&&"u">typeof document;function q(e){if(void 0!==i.default&&void 0!==i.default.env){let t=i.default.env[e];if(void 0!==t&&""!==t)return"false"!==t}}let Y=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:null!=(n=null!=(t=q("REACT_APP_SC_DISABLE_SPEEDY"))?t:q("SC_DISABLE_SPEEDY"))?n:void 0!==i.default&&void 0!==i.default.env&&!1);function K(e,...t){return Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}let X=new Map,Z=new Map,Q=1,J=e=>{if(X.has(e))return X.get(e);for(;Z.has(Q);)Q++;let t=Q++;return X.set(e,t),Z.set(t,e),t},ee=e=>Z.get(e),et=(e,t)=>{Q=t+1,X.set(e,t),Z.set(t,e)},en=Object.freeze([]),ei=Object.freeze({}),er=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,es=/(^-|-$)/g;function eo(e){return e.replace(er,"-").replace(es,"")}let ea=/(a)(d)/gi,el=e=>String.fromCharCode(e+(e>25?39:97));function ec(e){let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=el(t%52)+n;return(el(t%52)+n).replace(ea,"$1-$2")}let eu=(e,t)=>
1{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e};function ed(e){return"string"==typeof e}let eh=Symbol.for("react.memo"),ep=Symbol.for("react.forward_ref"),ef={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},em={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ey={[ep]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[eh]:eg};function ev(e){return("type"in e&&e.type.$$typeof)===eh?eg:"$$typeof"in e?ey[e.$$typeof]:ef}let eb=Object.defineProperty,ex=Object.getOwnPropertyNames,ew=Object.getOwnPropertySymbols,eS=Object.getOwnPropertyDescriptor,e_=Object.getPrototypeOf,ek=Object.prototype;function eT(e){return"function"==typeof e}let eE=Symbol.for("react.forward_ref");function ej(e){return null!=e&&("object"==typeof e||"function"==typeof e)&&e.$$typeof===eE&&"styledComponentId"in e}function eC(e,t){return e&&t?e+" "+t:e||t||""}function eA(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function eM(e,t){Object.defineProperty(e,"toString",{value:t})}let eP=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(let n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){let t=this.groupSizes,n=t.length,i=n;for(;e>=i;)if((i<<=1)<0)throw K(16,`${e}`);this.groupSizes=new Uint32Array(i),this.groupSizes.set(t),this.length=i;for(let e=n;e<i;e++)this.groupSizes[e]=0}let n=this.indexOfGroup(e+1),i=0;for(let r=0,s=t.length;r<s;r++)this.tag.insertRule(n,t[r])&&(this.groupSizes[e]++,n++,i++);i>0&&this._cGroup>e&&(this._cIndex+=i)}clearGroup(e){if(e<this.length){let t=this.groupSizes[e],n=this.indexOfGroup(e),i=n+t;this.groupSizes[e]=0;for(let e=n;e<i;e++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||0===this.groupSizes[e])return t;let n=this.groupSizes[e],i=this.indexOfGroup(e),r=i+n;for(let e=i;e<r;e++)t+=this.tag.getRule(e)+W;return t}},eL=`style[${B}][${H}="${U}"]`,eI=RegExp(`^${B}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),eO=e=>"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType,eV=e=>{if(!e)return document;if(eO(e))return e;if("getRootNode"in e){let t=e.getRootNode();if(eO(t))return t}return document},eD=(e,t,n)=>{let i,r=n.split(",");for(let n=0,s=r.length;n<s;n++)(i=r[n])&&e.registerName(t,i)},eR=(e,t)=>{var n;let i=(null!=(n=t.textContent)?n:"").split(W),r=[];for(let t=0,n=i.length;t<n;t++){let n=i[t].trim();if(!n)continue;let s=n.match(eI);if(s){let t=0|parseInt(s[1],10),n=s[2];0!==t&&(et(n,t),eD(e,n,s[3]),e.getTag().insertRules(t,r)),r.length=0}else r.push(n)}},eN=e=>{let t=eV(e.options.target).querySelectorAll(eL);for(let n=0,i=t.length;n<i;n++){let i=t[n];i&&i.getAttribute(B)!==$&&(eR(e,i),i.parentNode&&i.parentNode.removeChild(i))}},eF=!1,ez=(e,t)=>{let n,i=document.head,r=e||i,s=document.createElement("style"),o=(n=Array.from(r.querySelectorAll(`style[${B}]`)))[n.length-1],a=void 0!==o?o.nextSibling:null;s.setAttribute(B,$),s.setAttribute(H,U);let l=t||function(){if(!1!==eF)return eF;if("u">typeof document){let e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return eF=e.nonce||e.getAttribute("content")||void 0;let t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return eF=t.getAttribute("content")||void 0}return eF="u">typeof __webpack_nonce__?__webpack_nonce__:void 0}();return l&&s.setAttribute("nonce",l),r.insertBefore(s,a),s},eB=class{constructor(e,t){this.element=ez(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(e=>{var t;if(e.sheet)return e.sheet;let n=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets;for(let t=0,i=n.length;t<i;t++){let i=n[t];if(i.ownerNode===e)return i}throw K(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){let t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}}
1,e$=class{constructor(e,t){this.element=ez(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){let n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}},eH=G,eU={isServer:!G,useCSSOMInjection:!Y};class eW{static registerId(e){return J(e)}constructor(e=ei,t={},n){this.options=Object.assign(Object.assign({},eU),e),this.gs=t,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!e.isServer,!this.server&&G&&eH&&(eH=!1,eN(this)),eM(this,()=>(e=>{let t=e.getTag(),{length:n}=t,i="";for(let r=0;r<n;r++){let n=ee(r);if(void 0===n)continue;let s=e.names.get(n);if(void 0===s||!s.size)continue;let o=t.getGroup(r);if(0===o.length)continue;let a=B+".g"+r+'[id="'+n+'"]',l="";for(let e of s)e.length>0&&(l+=e+",");i+=o+a+'{content:"'+l+'"}'+W}return i})(this))}rehydrate(){!this.server&&G&&eN(this)}reconstructWithOptions(e,t=!0){let n=new eW(Object.assign(Object.assign({},this.options),e),this.gs,t&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&G&&e.target!==this.options.target&&eV(this.options.target)!==eV(e.target)&&eN(n),n}allocateGSInstance(e){return this.gs[e]=(this.gs[e]||0)+1}getTag(){return this.tag||(this.tag=new eP((({useCSSOMInjection:e,target:t,nonce:n})=>e?new eB(t,n):new e$(t,n))(this.options)))}hasNameForId(e,t){var n,i;return null!=(i=null==(n=this.names.get(e))?void 0:n.has(t))&&i}registerName(e,t){J(e),e.startsWith("sc-keyframes-")&&this.keyframeIds.add(e);let n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))}insertRules(e,t,n){this.registerName(e,t),this.getTag().insertRules(J(e),n)}clearNames(e){this.names.has(e)&&this.names.get(e).clear()}clearRules(e){this.getTag().clearGroup(J(e)),this.clearNames(e)}clearTag(){this.tag=void 0}}let eG=new WeakSet,eq={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function eY(e){if(45===e.charCodeAt(0)&&45===e.charCodeAt(1))return e;let t="";for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);t+=i>=65&&i<=90?"-"+String.fromCharCode(i+32):e[n]}return t.startsWith("ms-")?"-"+t:t}let eK=Symbol.for("sc-keyframes");function eX(e){return eT(e)&&!(e.prototype&&e.prototype.isReactComponent)}let eZ=e=>null==e||!1===e||""===e,eQ=Symbol.for("react.client.reference");function eJ(e){return e.$$typeof===eQ}function e0(e,t,n,i,r=[]){if(eZ(e))return r;let s=typeof e;if("string"===s)return r.push(e),r;if("function"===s)return eJ(e)?r:eX(e)&&t?e0(e(t),t,n,i,r):(r.push(e),r);if(Array.isArray(e)){for(let s=0;s<e.length;s++)e0(e[s],t,n,i,r);return r}return ej(e)?r.push(`.${e.styledComponentId}`):"object"==typeof e&&null!==e&&eK in e?n?(e.inject(n,i),r.push(e.getName(i))):r.push(e):eJ(e)||(eA(e)?e.toString!==Object.prototype.toString?r.push(e.toString()):function e(t,n){for(let i in t){let r=t[i];t.hasOwnProperty(i)&&!eZ(r)&&(Array.isArray(r)&&eG.has(r)||eT(r)?n.push(eY(i)+":",r,";"):eA(r)?(n.push(i+" {"),e(r,n),n.push("}")):n.push(eY(i)+": "+(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||i in eq||i.startsWith("--")?String(r).trim():r+"px")+";"))}}(e,r):r.push(e.toString())),r}let e1=eu(5381,U);class e2{constructor(e,t,n){this.rules=e,this.componentId=t,this.baseHash=eu(e1,t),this.baseStyle=n,eW.registerId(t)}generateAndInjectStyles(e,t,n){let i=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";{let r="";for(let i=0;i<this.rules.length;i++){let s=this.rules[i];if("string"==typeof s)r+=s;else if(s)if(eX(s)){let i=s(e);"string"==typeof i?r+=i:null!=i&&!1!==i&&(r+=e0(i,e,t,n).join(""))}else r+=e0(s,e,t,n).join("")}
1if(r){this.dynamicNameCache||(this.dynamicNameCache=new Map);let e=n.hash?n.hash+r:r,s=this.dynamicNameCache.get(e);if(!s){if(s=ec(eu(eu(this.baseHash,n.hash),r)>>>0),this.dynamicNameCache.size>=200){let e=this.dynamicNameCache.keys().next().value;void 0!==e&&this.dynamicNameCache.delete(e)}this.dynamicNameCache.set(e,s)}if(!t.hasNameForId(this.componentId,s)){let e=n(r,"."+s,void 0,this.componentId);t.insertRules(this.componentId,s,e)}i=eC(i,s)}}return i}}let e3=/&/g;function e5(e,t){let n=0;for(;--t>=0&&92===e.charCodeAt(t);)n++;return!(1&~n)}function e4(e){let t=e.length,n="",i=0,r=0,s=0,o=!1,a=!1;for(let l=0;l<t;l++){let c=e.charCodeAt(l);if(0!==s||o||47!==c||42!==e.charCodeAt(l+1))if(o)42===c&&47===e.charCodeAt(l+1)&&(o=!1,l++);else if(34!==c&&39!==c||e5(e,l)){if(0===s)if(123===c)r++;else if(125===c){if(--r<0){a=!0;let n=l+1;for(;n<t;){let t=e.charCodeAt(n);if(59===t||10===t)break;n++}n<t&&59===e.charCodeAt(n)&&n++,r=0,l=n-1,i=n;continue}0===r&&(n+=e.substring(i,l+1),i=l+1)}else 59===c&&0===r&&(n+=e.substring(i,l+1),i=l+1)}else 0===s?s=c:s===c&&(s=0);else o=!0,l++}return a||0!==r||0!==s?(i<t&&0===r&&0===s&&(n+=e.substring(i)),n):e}let e6=new eW,e9=function({options:e=ei,plugins:t=en}=ei){var n,i,r;let s,o,a,u=(e,t,n)=>n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?`.${s}`:e,d=t.slice();d.push(e=>{e.type===c&&e.value.includes("&")&&(a||(a=RegExp(`\\${o}\\b`,"g")),e.props[0]=e.props[0].replace(e3,o).replace(a,u))}),e.prefix&&d.push(N),d.push(R);let f=[],m=(r=(i=d.concat((n=e=>f.push(e),function(e){!e.root&&(e=e.return)&&n(e)}))).length,function(e,t,n,s){for(var o="",a=0;a<r;a++)o+=i[a](e,t,n,s)||"";return o}),S=(t,n="",i="",r="&")=>{var c,u,d;s=r,o=n,a=void 0;let S=function(e){let t=-1!==e.indexOf("//"),n=-1!==e.indexOf("}");if(!t&&!n)return e;if(!t)return e4(e);let i=e.length,r="",s=0,o=0,a=0,l=0,c=0,u=!1;for(;o<i;){let t=e.charCodeAt(o);if(34!==t&&39!==t||e5(e,o))if(0===a)if(47===t&&o+1<i&&42===e.charCodeAt(o+1)){for(o+=2;o+1<i&&(42!==e.charCodeAt(o)||47!==e.charCodeAt(o+1));)o++;o+=2}else if(40!==t)if(41!==t)if(l>0)o++;else if(42===t&&o+1<i&&47===e.charCodeAt(o+1))r+=e.substring(s,o),o+=2,
1s=o,u=!0;else if(47===t&&o+1<i&&47===e.charCodeAt(o+1)){for(r+=e.substring(s,o);o<i&&10!==e.charCodeAt(o);)o++;s=o,u=!0}else 123===t?c++:125===t&&c--,o++;else l>0&&l--,o++;else l++,o++;else o++;else 0===a?a=t:a===t&&(a=0),o++}return u?(s<i&&(r+=e.substring(s)),0===c?r:e4(r)):0===c?e:e4(e)}(t),M=(d=function e(t,n,i,r,s,o,a,c,u){for(var d,f,m,S,T=0,M=0,P=a,D=0,R=0,N=0,B=1,$=1,H=1,U=0,W="",G=s,q=o,Y=r,K=W;$;)switch(N=U,U=L()){case 40:if(108!=N&&58==v(K,P-1)){-1!=y(K+=g(V(U),"&","&\f"),"&\f",h(T?c[T-1]:0))&&(H=-1);break}case 34:case 39:case 91:K+=V(U);break;case 9:case 10:case 13:case 32:K+=function(e){for(;j=I();)if(j<33)L();else break;return O(e)>2||O(j)>3?"":" "}(N);break;case 92:K+=function(e,t){for(var n;--t&&L()&&!(j<48)&&!(j>102)&&(!(j>57)||!(j<65))&&(!(j>70)||!(j<97)););return n=E+(t<6&&32==I()&&32==L()),b(C,e,n)}(E-1,7);continue;case 47:switch(I()){case 42:case 47:w((d=function(e,t){for(;L();)if(e+j===57)break;else if(e+j===84&&47===I())break;return"/*"+b(C,t,E-1)+"*"+p(47===e?e:L())}(L(),E),f=n,m=i,S=u,A(d,f,m,l,p(j),b(d,2,-2),0,S)),u),(5==O(N||1)||5==O(I()||1))&&x(K)&&" "!==b(K,-1,void 0)&&(K+=" ");break;default:K+="/"}break;case 123*B:c[T++]=x(K)*H;case 125*B:case 59:case 0:switch(U){case 0:case 125:$=0;case 59+M:-1==H&&(K=g(K,/\f/g,"")),R>0&&(x(K)-P||0===B&&47===N)&&w(R>32?z(K+";",r,i,P-1,u):z(g(K," ","")+";",r,i,P-2,u),u);break;case 59:K+=";";default:if(w(Y=F(K,n,i,T,M,s,c,W,G=[],q=[],P,o),o),123===U)if(0===M)e(K,n,Y,Y,G,o,P,c,q);else{switch(D){case 99:if(110===v(K,3))break;case 108:if(97===v(K,2))break;default:M=0;case 100:case 109:case 115:}M?e(t,Y,Y,r&&w(F(t,Y,Y,0,0,s,c,W,s,G=[],P,q),q),s,q,P,c,r?G:q):e(K,Y,Y,Y,[""],q,0,c,q)}}T=M=R=0,B=H=1,W=K="",P=a;break;case 58:P=1+x(K),R=N;default:if(B<1){if(123==U)--B;else if(125==U&&0==B++&&125==(j=E>0?v(C,--E):0,k--,10===j&&(k=1,_--),j))continue}switch(K+=p(U),U*B){case 38:H=M>0?1:(K+="\f",-1);break;case 44:c[T++]=(x(K)-1)*H,H=1;break;case 64:45===I()&&(K+=V(L())),D=I(),M=P=x(W=K+=function(e){for(;!O(I());)L();return b(C,e,E)}(E)),U++;break;case 45:45===N&&2==x(K)&&(B=0)}}return o}("",null,null,null,[""],(u=c=i||n?i+" "+n+" { "+S+" }":S,_=k=1,T=x(C=u),E=0,c=[]),0,[0],c),C="",d);return e.namespace&&(M=function e(t,n){let i=n+" ",r=","+i;for(let s=0;s<t.length;s++){let o=t[s];if("rule"===o.type){o.value=(i+o.value).replaceAll(",",r);let e=o.props,t=[];for(let n=0;n<e.length;n++)t[n]=i+e[n];o.props=t}Array.isArray(o.children)&&"@keyframes"!==o.type&&e(o.children,n)}return t}(M,e.namespace)),f=[],D(M,m),f},M=5381;for(let e=0;e<t.length;e++)t[e].name||K(15),M=eu(M,t[e].name);return(null==e?void 0:e.namespace)&&(M=eu(M,e.namespace)),(null==e?void 0:e.prefix)&&(M=eu(M,"p")),S.hash=5381!==M?M.toString():"",S}(),e8=r.default.createContext({shouldForwardProp:void 0,styleSheet:e6,stylis:e9,stylisPlugins:void 0});e8.Consumer;let e7=r.default.createContext(void 0);e7.Consumer;let te=Object.prototype.hasOwnProperty,tt={};function tn(e,t,n){var i,s;let o,a,l=ej(e),c=!ed(e),{attrs:u=en,componentId:d=(i=t.displayName,s=t.parentComponentId,tt[o="string"!=typeof i?"sc":eo(i)]=(tt[o]||0)+1,a=o+"-"+ec(eu(5381,U+o+tt[o])>>>0),s?s+"-"+a:a),displayName:h=ed(e)?`styled.${e}`:`Styled(${e.displayName||e.name||"Component"})`}=t,p=t.displayName&&t.componentId?eo(t.displayName)+"-"+t.componentId:t.componentId||d,f=l&&e.attrs?e.attrs.concat(u).filter(Boolean):u,{shouldForwardProp:m}=t;if(l&&e.shouldForwardProp){let n=e.shouldForwardProp;if(t.shouldForwardProp){let e=t.shouldForwardProp;m=(t,i)=>n(t,i)&&e(t,i)}else m=n}let g=new e2(n,p,l?e.componentStyle:void 0);function y(e,t){return function(e,t,n){let i,s,{attrs:o,componentStyle:a,defaultProps:l,foldedComponentIds:c,styledComponentId:u,target:d}=e,h=r.default.useContext(e7),p=r.default.useContext(e8),f=e.shouldForwardProp||p.shouldForwardProp,m=function(e,t,n=ei){return e.theme!==n.theme&&e.theme||t||n.theme}(t,h,l)||ei;{let e=r.default.useRef(null),n=e.current;if(null!==n&&n[1]===m&&n[2]===p.styleSheet&&n[3]===p.stylis&&n[7]===a&&function(e,t,n){let i=0;for(let n in t)if(te.call(t,n)&&(i++,e[n]!==t[n]))return!1;return i===n}(n[0],t,n[4]))i=n[5],s=n[6];else{i=function(e,t,n){let i=Object.assign(Object.assign({},t),{className:void 0,theme:n}),r=e.length>1;for(let n=0;n<e.length;n++){let s=e[n],o=eT(s)?s(r?Object.assign({},i):i):s;for(let e in o)"className"===e?i.className=eC(i.className,o[e]):"style"===e?i.style=Object.assign(Object.assign({},i.style),o[e]):e in t&&void 0===t[e]||(i[e]=o[e])}return"className"in t&&"string"==typeof t.className&&(i.className=eC(i.className,t.className)),i}(o,t,m),s=a.generateAndInjectStyles(i,p.styleSheet,p.stylis);let n=0;for(let e in t)te.call(t,e)&&n++;e.current=[t,m,p.styleSheet,p.stylis,n,i,s,a]}}let g=i.as||d,y=function(e,t,n,i){let r={};for(let s in e)void 0===e[s]||"$"===s[0]||"as"===s||"theme"===s&&e.theme===n||("forwardedAs"===s?r.as=e.forwardedAs:i&&!i(s,t)||(r[s]=e[s]));return r}(i,g,m,f),v=eC(c,u);return s&&(v+=" "+s),i.className&&(v+=" "+i.className),y[ed(g)&&g.includes("-")?"class":"className"]=v,n&&(y.ref=n),(0,r.createElement)(g,y)}(v,e,t)}y.displayName=h;let v=r.default.forwardRef(y);return v.attrs=f,v.componentStyle=g,v.displayName=h,v.shouldForwardProp=m,v.foldedComponentIds=l?eC(e.foldedComponentIds,e.styledComponentId):"",v.styledComponentId=p,v.target=l?e.target:e,Object.defineProperty(v,"defaultProps",{get(){return this._foldedDefaultProps},set(t){this._foldedDefaultProps=l?function(e,...t){for(let n of t)!function e(t,n,i=!1){if(!i&&!eA(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(let i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(eA(n))for(let i in n)t[i]=e(t[i],n[i]);return t}(e,n,!0);return e}({},e.defaultProps,t):t}}),eM(v,()=>`.${v.styledComponentId}`),c&&function e(t,n,i){if("string"!=typeof n){let r=e_(n);r&&r!==ek&&e(t,r,i);let s=ex(n).concat(ew(n)),o=ev(t),a=ev(n);for(let e=0;e<s.length;++e){let r=s[e];if(!(r in em||i&&i[r]||a&&r in a||o&&r in o)){let e=eS(n,r);try{eb(t,r,e)}catch(e){}}}}return t}(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}var ti=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function tr(e,t){let n=[e[0]];for(let i=0,r=t.length;i<r;i+=1)n.push(t[i],e[i+1]);return n}let ts=e=>(eG.add(e),e),to=e=>(function e(t,n,i=ei){if(!n)throw K(1,n);let r=(e,...r)=>t(n,i,function(e,...t){return eT(e)||eA(e)?ts(e0(tr(en,[e,...t]))):0===t.length&&1===e.length&&"string"==typeof e[0]?e0(e):ts(e0(tr(e,t)))}(e,...r));return r.attrs=r=>e(t,n,Object.assign(Object.assign({}
1,i),{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)})),r.withConfig=r=>e(t,n,Object.assign(Object.assign({},i),r)),r})(tn,e);ti.forEach(e=>{to[e]=to(e)}),e.s(["default",0,to],60814)},93920,83606,e=>{"use strict";var t=e.i(91788);let n=function(e){let n=(0,t.useRef)(e);return(0,t.useEffect)(()=>{n.current=e},[e]),n};e.s(["default",0,n],83606),e.s(["default",0,function(e){let i=n(e);return(0,t.useCallback)(function(...e){return i.current&&i.current(...e)},[i])}],93920)},54269,e=>{"use strict";var t=e.i(91788),n=e.i(91398);let i=["as","disabled"];function r({tagName:e,disabled:t,href:n,target:i,rel:s,role:o,onClick:a,tabIndex:l=0,type:c}){e||(e=null!=n||null!=i||null!=s?"a":"button");let u={tagName:e};if("button"===e)return[{type:c||"button",disabled:t},u];let d=i=>{var r;(!t&&("a"!==e||(r=n)&&"#"!==r.trim())||i.preventDefault(),t)?i.stopPropagation():null==a||a(i)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=o?o:"button",disabled:void 0,tabIndex:t?void 0:l,href:n,target:"a"===e?i:void 0,"aria-disabled":t||void 0,rel:"a"===e?s:void 0,onClick:d,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),d(e))}},u]}let s=t.forwardRef((e,t)=>{let{as:s,disabled:o}=e,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}(e,i),[l,{tagName:c}]=r(Object.assign({tagName:s,disabled:o},a));return(0,n.jsx)(c,Object.assign({},a,l,{ref:t}))});s.displayName="Button",e.s(["default",0,s,"useButtonProps",0,r])},51330,28523,e=>{"use strict";e.i(98240),e.i(35221);var t=e.i(43007),n=e.i(91788);let i=e.g.navigator&&"ReactNative"===e.g.navigator.product;"u">typeof document||i?n.useLayoutEffect:n.useEffect,new WeakMap,e.s([],51330),e.s(["useEventCallback",()=>t.default],28523)},43007,35221,e=>{"use strict";var t=e.i(91788);let n=function(e){let n=(0,t.useRef)(e);return(0,t.useEffect)(()=>{n.current=e},[e]),n};e.s(["default",0,n],35221),e.s(["default",0,function(e){let i=n(e);return(0,t.useCallback)(function(...e){return i.current&&i.current(...e)},[i])}],43007)},72043,(e,t,n)=>{!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var s=arguments[t];s&&(e=r(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var s in e)n.call(e,s)&&e[s]&&(t=r(t,s));return t}(s)))}return e}function r(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)i.default=i,t.exports=i;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==i&&e.v(i);else window.classNames=i}()},95250,e=>{"use strict";var t=/([A-Z])/g,n=/^ms-/;function i(e){return e.replace(t,"-$1").toLowerCase().replace(n,"-ms-")}var r=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.s(["default",0,function(e,t){var n="",s="";if("string"==typeof t)return e.style.getPropertyValue(i(t))||(function(e){var t;return((t=e&&e.ownerDocument||document)&&t.defaultView||window).getComputedStyle(e,void 0)})(e).getPropertyValue(i(t));Object.keys(t).forEach(function(o){var a=t[o];a||0===a?o&&r.test(o)?s+=o+"("+a+") ":n+=i(o)+": "+a+";":e.style.removeProperty(i(o))}),s&&(n+="transform: "+s+";"),e.style.cssText+=";"+n}],95250)},92072,(e,t,n)=>{"use strict";e.i(50461),t.exports=function(e,t,n,i,r,s,o,a){if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,r,s,o,a],u=0;(l=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},54471,(e,t,n)=>{"use strict";function i(e,t,n,i){return!1}e.i(50461),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getDomainLocale",{enumerable:!0,get:function(){return i}}),e.r(70090),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},71914,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useIntersection",{enumerable:!0,get:function(){return l}});let i=e.r(91788),r=e.r(99604),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l({rootRef:e,rootMargin:t,disabled:n}){let c=n||!s,[u,d]=(0,i.useState)(!1),h=(0,i.useRef)(null),p=(0,i.useCallback)(e=>{h.current=e},[]);return(0,i.useEffect)(()=>{if(s){if(c||u)return;let n=h.current;if(n&&n.tagName)return function(e,t,n){let{id:i,observer:r,elements:s}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},i=a.find(e=>e.root===n.root&&e.margin===n.margin);if(i&&(t=o.get(i)))return t;let r=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:r},a.push(n),o.set(n,t),t}(n);return s.set(e,t),r.observe(e),function(){if(s.delete(e),r.unobserve(e),0===s.size){r.disconnect(),o.delete(i);let e=a.findIndex(e=>e.root===i.root&&e.margin===i.margin);e>-1&&a.splice(e,1)}}}(n,e=>e&&d(e),{root:e?.current,rootMargin:t})}else if(!u){let e=(0,r.requestIdleCallback)(()=>d(!0));return()=>(0,r.cancelIdleCallback)(e)}},[c,t,e,u,h.current]),[p,u,(0,i.useCallback)(()=>{d(!1)},[])]}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},63230,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return r}});let i=e.r(91788);function r(e,t){let n=(0,i.useRef)(null),r=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=n.current;e&&(n.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(n.current=s(e,i)),t&&(r.current=s(t,i))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},39149,(e,t,n)=>{"use strict";e.i(50461),Object.defineProperty(n,"__esModule",{value:!0});var i={default:function(){return k},useLinkStatus:function(){return _}};for(var r in i)Object.defineProperty(n,r,{enumerable:!0,get:i[r]});let s=e.r(52456),o=e.r(91398),a=s._(e.r(91788)),l=e.r(60472),c=e.r(71112),u=e.r(28169),d=e.r(89129),h=e.r(14862),p=e.r(25479),f=e.r(71914),m=e.r(54471),g=e.r(44113),y=e.r(63230),v=new Set;function b(e,t,n,i){if(!("u"<typeof window)&&(0,c.isLocalURL)(t)){if(!i.bypassPrefetchedCheck){let r=t+"%"+n+"%"+(void 0!==i.locale?i.locale:"locale"in e?e.locale:void 0);if(v.has(r))return;v.add(r)}e.prefetch(t,n,i).catch(e=>{})}}function x(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let w=a.default.forwardRef(function(e,t){let n,i,{href:r,as:s,children:u,prefetch:v=null,passHref:w,replace:S,shallow:_,scroll:k,locale:T,onClick:E,onNavigate:j,onMouseEnter:C,onTouchStart:A,legacyBehavior:M=!1,transitionTypes:P,...L}=e;n=u,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let I=a.default.useContext(p.RouterContext),O=!1!==v,{href:V,as:D}=a.default.useMemo(()=>{if(!I){let e=x(r);return{href:e,as:s?x(s):e}}let[e,t]=(0,l.resolveHref)(I,r,!0);return{href:e,as:s?(0,l.resolveHref)(I,s):t||e}},[I,r,s]),R=a.default.useRef(V),N=a.default.useRef(D);M&&(i=a.default.Children.only(n));let F=M?i&&"object"==typeof i&&i.ref:t,[z,B,$]=(0,f.useIntersection)({rootMargin:"200px"}),H=a.default.useCallback(e=>{(N.current!==D||R.current!==V)&&($(),N.current=D,R.current=V),z(e)},[D,V,$,z]),U=(0,y.useMergedRef)(H,F);a.default.useEffect(()=>{!I||B&&O&&b(I,V,D,{bypassPrefetchedCheck:!1,locale:T})},[D,V,B,T,O,I?.locale,I]);let W={ref:U,onClick(e){M||"function"!=typeof E||E(e),M&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),!I||e.defaultPrevented||function(e,t,n,i,r,s,o,a,l){let u,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if
1(!(0,c.isLocalURL)(n)){r&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=o??!0;"beforePopState"in t?t[r?"replace":"push"](n,i,{shallow:s,locale:a,scroll:e}):t[r?"replace":"push"](i||n,{scroll:e})})()}}(e,I,V,D,S,_,k,T,j)},onMouseEnter(e){M||"function"!=typeof C||C(e),M&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),I&&b(I,V,D,{locale:T,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){M||"function"!=typeof A||A(e),M&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),I&&b(I,V,D,{locale:T,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(D))W.href=D;else if(!M||w||"a"===i.type&&!("href"in i.props)){let e=void 0!==T?T:I?.locale;W.href=I?.isLocaleDomain&&(0,m.getDomainLocale)(D,e,I?.locales,I?.domainLocales)||(0,g.addBasePath)((0,h.addLocale)(D,e,I?.defaultLocale))}return M?a.default.cloneElement(i,W):(0,o.jsx)("a",{...L,...W,children:n})}),S=(0,a.createContext)({pending:!1}),_=()=>(0,a.useContext)(S),k=w;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},41158,(e,t,n)=>{t.exports=e.r(39149)},58678,(e,t,n)=>{t.exports=e.r(80963)},17176,(e,t,n)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10432,(e,t,n)=>{"use strict";var i=e.r(17176);function r(){}function s(){}s.resetWarningCache=r,t.exports=function(){function e(e,t,n,r,s,o){if(o!==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:s,resetWarningCache:r};return n.PropTypes=n,n}},91567,(e,t,n)=>{e.i(50461),t.exports=e.r(10432)()},26038,98240,e=>{"use strict";var t=e.i(91788),n=e.i(72043),i=e.i(59461),r=e.i(91398);let s=t.forwardRef((e,t)=>(0,r.jsx)("div",{...e,ref:t,className:(0,n.default)(e.className,"h4")}));s.displayName="DivStyledAsH4";let o=t.forwardRef(({className:e,bsPrefix:t,as:o=s,...a},l)=>(t=(0,i.useBootstrapPrefix)(t,"alert-heading"),(0,r.jsx)(o,{ref:l,className:(0,n.default)(e,t),...a})));o.displayName="AlertHeading",e.s(["default",0,o],26038),e.s(["default",0,function(){return(0,t.useState)(null)}],98240)},42328,90811,e=>{"use strict";var t=e.i(91788),n=e.i(72043);e.i(51330);var i=e.i(28523),r=e.i(54269),s=e.i(91398);let o=["onKeyDown"],a=t.forwardRef((e,t)=>{var n;let{onKeyDown:a}=e,l=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}(e,o),[c]=(0,r.useButtonProps)(Object.assign({tagName:"a"},l)),u=(0,i.useEventCallback)(e=>{c.onKeyDown(e),null==a||a(e)});return(n=l.href)&&"#"!==n.trim()&&"button"!==l.role?(0,s.jsx)("a",Object.assign({ref:t},l,{onKeyDown:a})):(0,s.jsx)("a",Object.assign({ref:t},l,c,{onKeyDown:u}))});a.displayName="Anchor";let l=a;e.s(["default",0,l],90811);var c=e.i(59461);let u=t.forwardRef(({className:e,bsPrefix:t,as:i=l,...r},o)=>(t=(0,c.useBootstrapPrefix)(t,"alert-link"),(0,s.jsx)(i,{ref:o,className:(0,n.default)(e,t),...r})));u.displayName="AlertLink",e.s(["default",0,u],42328)},19293,e=>{"use strict";var t=e.i(72043),n=e.i(91788),i=e.i(59461),r=e.i(91398);let s=n.forwardRef(({bsPrefix:e,fluid:n=!1,as:s="div",className:o,...a},l)=>{let c=(0,i.useBootstrapPrefix)(e,"container"),u="string"==typeof n?`-${n}`:"-fluid";return(0,r.jsx)(s,{ref:l,...a,className:(0,t.default)(o,n?`${c}${u}`:c)})});s.displayName="Container",e.s(["Container",0,s],19293)},92782,e=>{"use strict";var t=e.i(72043),n=e.i(91788),i=e.i(91567),r=e.i(59461),s=e.i(91398);i.default.string,i.default.bool,i.default.bool,i.default.bool,i.default.bool;let o=n.forwardRef(({bsPrefix:e,className:n,fluid:i=!1,rounded:o=!1,roundedCircle:a=!1,thumbnail:l=!1,...c},u)=>(e=(0,r.useBootstrapPrefix)(e,"img"),(0,s.jsx)("img",{ref:u,...c,className:(0,t.default)(n,i&&`${e}-fluid`,o&&"rounded",a&&"rounded-circle",l&&`${e}-thumbnail`)})));o.displayName="Image",e.s(["default",0,o])},90029,71361,60134,e=>{"use strict";var t=e.i(72043),n=e.i(91788),i=e.i(59461),r=e.i(91398);let s=n.forwardRef(({bsPrefix:e,className:n,as:s="div",...o},a)=>{let l=(0,i.useBootstrapPrefix)(e,"row"),c=(0,i.useBootstrapBreakpoints)(),u=(0,i.useBootstrapMinBreakpoint)(),d=`${l}-cols`,h=[];
1return c.forEach(e=>{let t,n=o[e];delete o[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n;let i=e!==u?`-${e}`:"";null!=t&&h.push(`${d}${i}-${t}`)}),(0,r.jsx)(s,{ref:a,...o,className:(0,t.default)(n,l,...h)})});s.displayName="Row",e.s(["Row",0,s],90029);let o=n.forwardRef((e,n)=>{let[{className:s,...o},{as:a="div",bsPrefix:l,spans:c}]=function({as:e,bsPrefix:n,className:r,...s}){n=(0,i.useBootstrapPrefix)(n,"col");let o=(0,i.useBootstrapBreakpoints)(),a=(0,i.useBootstrapMinBreakpoint)(),l=[],c=[];return o.forEach(e=>{let t,i,r,o=s[e];delete s[e],"object"==typeof o&&null!=o?{span:t,offset:i,order:r}=o:t=o;let u=e!==a?`-${e}`:"";t&&l.push(!0===t?`${n}${u}`:`${n}${u}-${t}`),null!=r&&c.push(`order${u}-${r}`),null!=i&&c.push(`offset${u}-${i}`)}),[{...s,className:(0,t.default)(r,...l,...c)},{as:e,bsPrefix:n,spans:l}]}(e);return(0,r.jsx)(a,{...o,ref:n,className:(0,t.default)(s,!c.length&&l)})});o.displayName="Col",e.s(["default",0,o],71361),e.s(["Col",0,o],60134)},59461,e=>{"use strict";var t=e.i(91788);e.i(91398);let n=t.createContext({prefixes:{},breakpoints:["xxl","xl","lg","md","sm","xs"],minBreakpoint:"xs"}),{Consumer:i,Provider:r}=n;e.s(["useBootstrapBreakpoints",0,function(){let{breakpoints:e}=(0,t.useContext)(n);return e},"useBootstrapMinBreakpoint",0,function(){let{minBreakpoint:e}=(0,t.useContext)(n);return e},"useBootstrapPrefix",0,function(e,i){let{prefixes:r}=(0,t.useContext)(n);return e||r[i]||i},"useIsRTL",0,function(){let{dir:e}=(0,t.useContext)(n);return"rtl"===e}])},13881,50467,53475,e=>{"use strict";var t=e.i(95250);let n=!!("u">typeof window&&window.document&&window.document.createElement);var i=!1,r=!1;try{var s={get passive(){return i=!0},get once(){return r=i=!0}};n&&(window.addEventListener("test",s,s),window.removeEventListener("test",s,!0))}catch(e){}let o=function(e,t,n,s){if(s&&"boolean"!=typeof s&&!r){var o=s.once,a=s.capture,l=n;!r&&o&&(l=n.__once||function e(i){this.removeEventListener(t,e,a),n.call(this,i)},n.__once=l),e.addEventListener(t,l,i?s:a)}e.addEventListener(t,n,s)},a=function(e,t,n,i){var r=i&&"boolean"!=typeof i?i.capture:i;e.removeEventListener(t,n,r),n.__once&&e.removeEventListener(t,n.__once,r)},l=function(e,t,n,i){return o(e,t,n,i),function(){a(e,t,n,i)}};function c(e,n){let i=(0,t.default)(e,n)||"",r=-1===i.indexOf("ms")?1e3:1;return parseFloat(i)*r}e.s(["default",0,function(e,n){var i,r,s,o,a,u,d,h,p,f;let m=c(e,"transitionDuration"),g=c(e,"transitionDelay"),y=(i=t=>{t.target===e&&(y(),n(t))},null==(r=m+g)&&(o=-1===(s=(0,t.default)(e,"transitionDuration")||"").indexOf("ms")?1e3:1,r=parseFloat(s)*o||0),a=void 0,u=!1,d=setTimeout(function(){u||function(e,t,n,i){if(void 0===n&&(n=!1),void 0===i&&(i=!0),e){var r=document.createEvent("HTMLEvents");r.initEvent(t,n,i),e.dispatchEvent(r)}}(e,"transitionend",!0)},r+(a=5)),h=l(e,"transitionend",function(){u=!0},{once:!0}),p=function(){clearTimeout(d),h()},f=l(e,"transitionend",i),function(){p(),f()})}],13881),e.s(["default",0,function(e){e.offsetHeight}],50467);var u=e.i(91788),d=e.i(83344);let h=e=>e&&"function"!=typeof e?t=>{e.current=t}:e;var p=e.i(30943),f=e.i(91398);let m=u.default.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:i,onExiting:r,onExited:s,addEndListener:o,children:a,childRef:l,...c},m)=>{let g=(0,u.useRef)(null),y=(0,u.useMemo)(()=>{let e,t;return e=h(g),t=h(l),n=>{e&&e(n),t&&t(n)}},[g,l]),v=e=>{y(e&&"setState"in e?p.default.findDOMNode(e):null!=e?e:null)},b=e=>t=>{e&&g.current&&e(g.current,t)},x=(0,u.useCallback)(b(e),[e]),w=(0,u.useCallback)(b(t),[t]),S=(0,u.useCallback)(b(n),[n]),_=(0,u.useCallback)(b(i),[i]),k=(0,u.useCallback)(b(r),[r]),T=(0,u.useCallback)(b(s),[s]),E=(0,u.useCallback)(b(o),[o]);return(0,f.jsx)(d.default,{ref:m,...c,onEnter:x,onEntered:S,onEntering:w,onExit:_,onExited:T,onExiting:k,addEndListener:E,nodeRef:g,children:"function"==typeof a?(e,t)=>a(e,{...t,ref:v}):u.default.cloneElement(a,{ref:v})})});m.displayName="TransitionWrapper",e.s(["default",0,m],53475)},83344,33068,e=>{"use strict";var t=e.i(60997),n=e.i(49893),i=e.i(91788),r=e.i(30943);let s=i.default.createContext(null);var o="unmounted",a="exited",l="entering",c="entered",u="exiting",d=function(e){function d(t,n){var i,r=e.call(this,t,n)||this,s=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?s?(i=a,r.appearStatus=l):i=c:i=t.unmountOnExit||t.mountOnEnter?o:a,r.state={status:i},r.nextCallback=null,r}(0,n.default)(d,e),d.getDerivedStateFromProps=function(e,t){return e.in&&t.status===o?{status:a}:null};var h=d.prototype;return h.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},h.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==c&&(t=l):(n===l||n===c)&&(t=u)}this.updateStatus(!1,t)},h.componentWillUnmount=function(){this.cancelNextCallback()},h.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,a
1ppear:n}},h.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===l){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:r.default.findDOMNode(this);n&&n.scrollTop}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===a&&this.setState({status:o})},h.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,s=this.props.nodeRef?[i]:[r.default.findDOMNode(this),i],o=s[0],a=s[1],u=this.getTimeouts(),d=i?u.appear:u.enter;(e||n)&&1?(this.props.onEnter(o,a),this.safeSetState({status:l},function(){t.props.onEntering(o,a),t.onTransitionEnd(d,function(){t.safeSetState({status:c},function(){t.props.onEntered(o,a)})})})):this.safeSetState({status:c},function(){t.props.onEntered(o)})},h.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:r.default.findDOMNode(this);t?(this.props.onExit(i),this.safeSetState({status:u},function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:a},function(){e.props.onExited(i)})})})):this.safeSetState({status:a},function(){e.props.onExited(i)})},h.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},h.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},h.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},h.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.default.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(!n||i)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=s[0],a=s[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)},h.render=function(){var e=this.state.status;if(e===o)return null;var n=this.props,r=n.children,a=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,t.default)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.default.createElement(s.Provider,{value:null},"function"==typeof r?r(e,a):i.default.cloneElement(i.default.Children.only(r),a))},d}(i.default.Component);function h(){}d.contextType=s,d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},d.UNMOUNTED=o,d.EXITED=a,d.ENTERING=l,d.ENTERED=c,d.EXITING=u,e.s(["ENTERED",0,c,"ENTERING",0,l,"EXITED",0,a,"EXITING",0,u,"default",0,d],83344),e.s(["getChildRef",0,function(e){let t;if(!e||"function"==typeof e)return null;let{major:n}={major:+(t=i.version.split("."))[0],minor:+t[1],patch:+t[2]};return n>=19?e.props.ref:e.ref}],33068)},64140,(e,t,n)=>{var i=function(e){"use strict";var t,n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,n,i,s){var o,a,l,c,u=Object.create((n&&n.prototype instanceof g?n:g).prototype);return r(u,"_invoke",{value:(o=e,a=i,l=new j(s||[]),c=h,function(e,n){if(c===p)throw Error("Generator is already running");if(c===f){if("throw"===e)throw n;return{value:t,done:!0}}for(l.method=e,l.arg=n;;){var i=l.delegate;if(i){var r=function e(n,i){var r=i.method,s=n.iterator[r];if(t===s)return(i.delegate=null,"throw"===r&&n.iterator.return&&(i.method="return",i.arg=t,e(n,i),"throw"===i.method))?m:("return"!==r&&(i.method="throw",i.arg=TypeError("The iterator does not provide a '"+r+"' method")),m);var o=d(s,n.iterator,i.arg);if("throw"===o.type)return i.method="throw",i.arg=o.arg,i.delegate=null,m;var a=o.arg;return a?a.done?(i[n.resultName]=a.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,m):a:(i.method="throw",i.arg=TypeError("iterator result is not an object"),i.delegate=null,m)}(i,l);if(r){if(r===m)continue;return r}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(c===h)throw c=f,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);c=p;var s=d(o,a,l);if("normal"===s.type){if(c=l.done?f:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:l.done}}"throw"===s.type&&(c=f,l.method="throw",l.arg=s.arg)}})}),u}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",p="executing",f="completed",m={};function g(){}function y(){}function v(){}var b={};c(b,o,function(){return this});var x=Object.getPrototypeOf,w=x&&x(x(C([])));w&&w!==n&&i.call(w,o)&&(b=w);var S=v.prototype=g.prototype=Object.create(b);function _(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function k(e,t){var n;r(this,"_invoke",{value:function(r,s){function o(){return new t(function(n,o){!function n(r,s,o,a){var l=d(e[r],e,s);if("throw"===l.type)a(l.arg);else{var c=l.arg,u=c.value;return u&&"object"==typeof u&&i.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):t.resolve(u).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,a)})}}(r,s,n,o)})}return n=n?n.then(o,o):o()}})}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(e){if(null!=e){var n=e[o];if(n)return n.call(e);
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}throw TypeError(typeof e+" is not iterable")}return y.prototype=v,r(S,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:y,configurable:!0}),y.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},_(k.prototype),c(k.prototype,a,function(){return this}),e.AsyncIterator=k,e.async=function(t,n,i,r,s){void 0===s&&(s=Promise);var o=new k(u(t,n,i,r),s);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},_(S),c(S,l,"Generator"),c(S,o,function(){return this}),c(S,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},e.values=C,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return a.type="throw",a.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var s=this.tryEntries.length-1;s>=0;--s){var o=this.tryEntries[s],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);else if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else if(c){if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var s=r;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return(o.type=e,o.arg=t,s)?(this.method="next",this.next=s.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;E(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:C(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),m}},e}(t.exports);try{regeneratorRuntime=i}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},76908,(e,t,n)=>{"use strict";function i(e,t,n,i,r,s,o){try{var a=e[s](o),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function r(e){return(r="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)}Object.defineProperty(n,"__esModule",{value:!0}),n.Common=void 0;function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");s(this,"body",void 0),s(this,"deployedMap",void 0),s(this,"_isIOS",void 0),s(this,"_canvas",void 0),this.body=document.body||document.querySelector("body"),this.deployedMap=new Map}return e=[{key:"isIOS",value:function(){return"boolean"==typeof this._isIOS||(this._isIOS=function(){var e=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"];if(navigator.platform){for(;e.length;)if(navigator.platform===e.pop())return!0}return!1}()),this._isIOS}},{key:"jsonToHtml",value:function(e){var t=document.createElement(e.type);for(var n in e.attrs)t.setAttribute(n,e.attrs[n]);for(var i in e.children){var r=null;((r="#text"===e.children[i].type?document.createTextNode(e.children[i].text):this.jsonToHtml(e.children[i]))&&r.tagName&&"undefined"!==r.tagName.toLowerCase()||3===r.
1nodeType)&&t.appendChild(r)}return t}},{key:"injectStyle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("style");return n.appendChild(document.createTextNode(e)),t.className&&n.classList.add(t.className),this.body.appendChild(n),n}},{key:"getFormattedDim",value:function(e){if(!e)return null;e=String(e);var t=function(e,t){return{size:e.substring(0,e.indexOf(t)),suffix:t}};return e.indexOf("%")>-1?t(e,"%"):e.indexOf("px")>-1?t(e,"px"):e.indexOf("em")>-1?t(e,"em"):e.indexOf("rem")>-1?t(e,"rem"):e.indexOf("pt")>-1?t(e,"pt"):"auto"===e?t(e,""):void 0}},{key:"extend",value:function(e,t){for(var n in e)"object"===r(e[n])?t&&t[n]&&(t[n]instanceof Array?e[n]=t[n]:e[n]=this.extend(e[n],t[n])):"object"===r(t)&&void 0!==t[n]&&(e[n]=t[n]);return e}},{key:"injectIconsFont",value:function(e,t){var n=this;if(e&&e.length){var i=document.getElementsByTagName("head")[0],r=0,s=!1,o=function(e){s=s||""===e.type,--r||t(s)};e.forEach(function(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e,t.className="_access-font-icon-".concat(r++),t.onload=o,t.onerror=o,n.deployedObjects.set("."+t.className,!0),i.appendChild(t)})}}},{key:"getFixedFont",value:function(e){return this.isIOS()?e.replaceAll(" ","+"):e}},{key:"getFixedPseudoFont",value:function(e){return this.isIOS()?e.replaceAll("+"," "):e}},{key:"isFontLoaded",value:function(e,t){try{var n=function(){return t(document.fonts.check("1em ".concat(e.replaceAll("+"," "))))};document.fonts.ready.then(function(){n()},function(){n()})}catch(e){return t(!0)}}},{key:"warn",value:function(e){var t="Accessibility: ";console.warn?console.warn(t+e):console.log(t+e)}},{key:"deployedObjects",get:function(){var e=this;return{get:function(t){return e.deployedMap.get(t)},contains:function(t){return e.deployedMap.has(t)},set:function(t,n){e.deployedMap.set(t,n)},remove:function(t){e.deployedMap.delete(t)},getAll:function(){return e.deployedMap}}}},{key:"createScreenshot",value:function(e){var n=this;return new Promise(function(r,s){n._canvas||(n._canvas=document.createElement("canvas"));var o,a=new Image;n._canvas.style.position="fixed",n._canvas.style.top="0",n._canvas.style.left="0",n._canvas.style.opacity="0.05",n._canvas.style.transform="scale(0.05)",a.crossOrigin="anonymous",o=regeneratorRuntime.mark(function e(){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:document.body.appendChild(n._canvas),i=n._canvas.getContext("2d"),n._canvas.width=a.naturalWidth,n._canvas.height=a.naturalHeight,i.clearRect(0,0,n._canvas.width,n._canvas.height),i.drawImage(a,0,0),s=t.DEFAULT_PIXEL;try{s=n._canvas.toDataURL("image/png")}catch(e){}r(s),n._canvas.remove();case 10:case"end":return e.stop()}},e)}),a.onload=function(){var e=this,t=arguments;return new Promise(function(n,r){var s=o.apply(e,t);function a(e){i(s,n,r,a,l,"next",e)}function l(e){i(s,n,r,a,l,"throw",e)}a(void 0)})},a.onerror=function(){r(t.DEFAULT_PIXEL)},a.src=e})}},{key:"getFileExtension",value:function(e){return e.substring(e.lastIndexOf(".")+1,e.length)||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),t}();n.Common=o,s(o,"DEFAULT_PIXEL","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+P///38ACfsD/QVDRcoAAAAASUVORK5CYII=")},84329,(e,t,n)=>{"use strict";var i,r;Object.defineProperty(n,"__esModule",{value:!0}),n.AccessibilityModulesType=void 0,n.AccessibilityModulesType=i,(r=i||(n.AccessibilityModulesType=i={}))[r.increaseText=1]="increaseText",r[r.decreaseText=2]="decreaseText",r[r.increaseTextSpacing=3]="increaseTextSpacing",r[r.decreaseTextSpacing=4]="decreaseTextSpacing",r[r.increaseLineHeight=5]="increaseLineHeight",r[r.decreaseLineHeight=6]="decreaseLineHeight",r[r.invertColors=7]="invertColors",r[r.grayHues=8]="grayHues",r[r.bigCursor=9]="bigCursor",r[r.readingGuide=10]="readingGuide",r[r.underlineLinks=11]="underlineLinks",r[r.textToSpeech=12]="textToSpeech",r[r.speechToText=13]="speechToText",r[r.disableAnimations=14]="disableAnimations",r[r.iframeModals=15]="iframeModals",r[r.customFunctions=16]="customFunctions"},57812,(e,t,n)=>{"use strict";function i(e,t,n,i,r,s,o){try{var a=e[s](o),l=a.value}catch(e){n(e);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,s){var o=e.apply(t,n);function a(e){i(o,r,s,a,l,"next",e)}function l(e){i(o,r,s,a,l,"throw",e)}a(void 0)})}}function s(e){return(s="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)}Object.defineProperty(n,"__esModule",{value:!0}),n.MenuInterface=void 0;function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.MenuInterface=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");o(this,"_acc",void 0),o(this,"readBind",void 0),o(this,"_dialog",void 0),this._acc=e,this.readBind=this._acc.read.bind(this._acc)}return e=[{key:"increaseText",value:function(){this._acc.alterTextSize(!0)}},{key:"decreaseText",value:function(){this._acc.alterTextSize(!1)}},{key:"increaseTextSpacing",value:function(){this._acc.alterTextSpace(!0)}},{key:"decreaseTextSpacing",value:function(){this._acc.alterTextSpace(!1)}},{key:"invertColors",value:function(e){if(void 0===this._acc.stateValues.html.backgroundColor&&(this._acc.stateValues.html.backgroundColor=getComputedStyle(this._acc.html).backgroundColor),void 0===this._acc.stateValues.html.color&&(this._acc.stateValues.html.color=getComputedStyle(this._acc.html).color),e){this._acc.resetIfDefined(this._acc.stateValues.html.backgroundColor,this._acc.html.style,"backgroundColor"),this._acc.resetIfDefined(this._acc.stateValues.html.color,this._acc.html.style,"color"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="invertColors"]').classList.remove("active"),this._acc.stateValues.invertColors=!1,this._acc.sessionState.invertColors=this._acc.stateValues.invertColors,this._acc.onChange(!0),this._acc.html.style.filter="";return}this._acc.stateValues.invertColors&&this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Colors Set To Normal"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="invertColors"]').classList.toggle("active"),this._acc.stateValues.invertColors=!this._acc.stateValues.invertColors,this._acc.sessionState.invertColors=this._acc.stateValues.invertColors,this._acc.onChange(!0),this._acc.stateValues.invertColors?(this._acc.stateValues.grayHues&&this._acc.menuInterface.grayHues(!0),this._acc.html.style.filter="invert(1)",this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Colors Inverted")):this._acc.html.style.filter=""}},{key:"grayHues",value:function(e){var t;if(void 0===this._acc.stateValues.html.filter&&(this._acc.stateValues.html.filter=getComputedStyle(this._acc.html).filter),void 0===this._acc.stateValues.html.webkitFilter&&(this._acc.stateValues.html.webkitFilter=getComputedStyle(this._acc.html).webkitFilter),void 0===this._acc.stateValues.html.mozFilter&&(this._acc.stateValues.html.mozFilter=getComputedStyle(this._acc.html).mozFilter),void 0===this._acc.stateValues.html.msFilter&&(this._acc.stateValues.html.msFilter=getComputedStyle(this._acc.html).msFilter),e){this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="grayHues"]').classList.remove("active"),this._acc.stateValues.grayHues=!1,this._acc.sessionState.grayHues=this._acc.stateValues.grayHues,this._acc.onChange(!0),this._acc.resetIfDefined(this._acc.stateValues.html.filter,this._acc.html.style,"filter"),this._acc.resetIfDefined(this._acc.stateValues.html.webkitFilter,this._acc.html.style,"webkitFilter"),this._acc.resetIfDefined(this._acc.stateValues.html.mozFilter,this._acc.html.style,"mozFilter"),this._acc.resetIfDefined(this._acc.stateValues.html.msFilter,this._acc.html.style,"msFilter");return}this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="grayHues"]').classList.toggle("active"),this._acc.stateValues.grayHues=!this._acc.stateValues.grayHues,this._acc.sessionState.grayHues=this._acc.stateValues.grayHues,this._acc.onChange(!0),this._acc.stateValues.textToSpeech&&!this._acc.stateValues.grayHues&&this._acc.textToSpeech("Gray Hues Disabled."),this._acc.stateValues.grayHues?(t="grayscale(1)",this._acc.stateValues.invertColors&&this.invertColors(!0),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Gray Hues Enabled.")):t="",this._acc.html.style.webkitFilter=t,this._acc.html.style.mozFilter=t,this._acc.html.style.msFilter=t,this._acc.html.style.filter=t}},{key:"underlineLinks",value:function(e){var t=this,n="_access-underline",i=function(){var e=document.querySelector("."+n);e&&(e.parentElement.removeChild(e),t._acc.common.deployedObjects.remove("."+n))};if(e)return this._acc.stateValues.underlineLinks=!1,this._acc.sessionState.underlineLinks=this._acc.stateValues.underlineLinks,this._acc.onChange(!0),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="underlineLinks"]').classList.remove("active"),i();this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="underlineLinks"]').classList.toggle("active"),this._acc.stateValues.underlineLinks=!this._acc.stateValues.underlineLinks,this._acc.sessionState.underlineLinks=this._acc.stateValues.underlineLinks,this._acc.onChange(!0),this._acc.stateValues.underlineLinks?(this._acc.common.injectStyle("\n body a {\n text-decoration: underline !important;\n }\n ",{className:n}),this._acc.common.deployedObjects.set("."+n,!0),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Links UnderLined")):(this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Links UnderLine Removed"),i())}},{key:"bigCursor",value:function(e){if(e){this._acc.html.classList.remove("_access_cursor"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="bigCursor"]').classList.remove("active"),this._acc.stateValues.bigCursor=!1,this._acc.sessionState.bigCursor=!1,this._acc.onChange(!0);return}this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="bigCursor"]').classList.toggle("active"),this._acc.stateValues.bigCursor=!this._acc.stateValues.bigCursor,this._acc.sessionState.bigCursor=this._acc.stateValues.bigCursor,this._acc.onChange(!0),this._acc.html.classList.toggle("_access_cursor"),this._acc.stateValues.textToSpeech&&this._acc.stateValues.bigCursor&&this._acc.textToSpeech("Big Cursor Enabled"),this._acc.stateValues.textToSpeech&&!this._acc.stateValues.bigCursor&&this._acc.textToSpeech("Big Cursor Disabled")}},{key:"readingGuide",value:function(e){if(e){document.getElementById("access_read_guide_bar")&&document.getElementById("access_read_guide_bar").remove(),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="readingGuide"]').classList.remove("active"),this._acc.stateValues.readingGuide=!1,this._acc.sessionState.readingGuide=this._acc.stateValues.readingGuide,this._acc.onChange(!0),document.body.removeEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.removeEventListener("mousemove",this._acc.updateReadGuide,!1),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Reading Guide Enabled");return}if(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="readingGuide"]').classList.toggle("active"),this._acc.stateValues.readingGuide=!this._acc.stateValues.readingGuide,this._acc.sessionState.readingGuide=this._acc.stateValues.readingGuide,this._acc.onChange(!0),this._acc.stateValues.readingGuide){var t=document.createElement("div");t.id="access_read_guide_bar",t.classList.add("access_read_guide_bar"),document.body.append(t),document.body.addEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.addEventListener("mousemove",this._acc.updateReadGuide,!1)}else void 0!==document.getElementById("access_read_guide_bar")&&document.getElementById("access_read_guide_bar").remove(),document.body.removeEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.removeEventListener("mousemove",this._acc.updateReadGuide,!1),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Reading Guide Disabled")}},{key:"textToSpeech",value:function(e){var t=this,n=document.querySelector('._access-menu [data-access-action="textToSpeech"]');if(n){var i=document.getElementsByClassName("screen-reader-wrapper-step-1"),r=document.getElementsByClassName("screen-reader-wrapper-step-2"),s=document.getElementsByClassName("screen-reader-wrapper-step-3");this._acc.onChange(!1);var o="_access-text-to-speech",a=function(){var e=document.querySelector("."+o);e&&(e.parentElement.removeChild(e),document.removeEventListener("click",t.readBind,!1),document.removeEventListener("keyup",t.readBind,!1),t._acc.common.deployedObjects.remove("."+o)),window.speechSynthesis&&window.speechSynthesis.cancel(),t._acc.isReading=!1};if(e)return n.classList.remove("active"),i[0].classList.remove("active"),r[0].classList.remove("active"),s[0].classList.remove("active"),this._acc.stateValues.textToSpeech=!1,window.speechSynthesis.cancel(),a();if(1!==this._acc.stateValues.speechRate||n.classList.contains("active"))if(1===this._acc.stateValues.speechRate&&n.classList.contains("active"))this._acc.stateValues.speechRate=1.5,this._acc.textToSpeech("Reading Pace - Fast"),i[0].classList.remove("active");else if(1.5===this._acc.stateValues.speechRate&&n.classList.contains("active"))this._acc.stateValues.speechRate=.7,this._acc.textToSpeech("Reading Pace - Slow"),r[0].classList.remove("active");else{this._acc.stateValues.speechRate=1,this._acc.textToSpeech("Screen Reader - Disabled"),n.classList.remove("active"),s[0].classList.remove("active");var l=setInterval(function(){t._acc.isReading||(t._acc.stateValues.textToSpeech=!1,a(),clearTimeout(l))},500);return}else this._acc.stateValues.textToSpeech=!0,this._acc.textToSpeech("Screen Reader enabled. Reading Pace - Normal"),n.classList.add("active"),i[0].classList.add("active"),r[0].classList.add("active"),s[0].classList.add("active");n.classList.contains("active")&&1===this._acc.stateValues.speechRate&&(this._acc.common.injectStyle("\n *:hover {\n box-shadow: 2px 2px 2px rgba(180,180,180,0.7);\n }\n ",{className:o}),this._acc.common.deployedObjects.set("."+o,!0),document.addEventListener("click",this.readBind,!1),document.addEventListener("keyup",this.readBind,!1))}}},{key:"speechToText",value:function(e){var t=this,n=document.querySelector('._access-menu [data-access-action="speechToText"]');if(n){this._acc.onChange(!1);var i="_access-speech-to-text",r=function(){t._acc.recognition&&(t._acc.recognition.stop(),t._acc.body.classList.remove("_access-listening"));var e=document.querySelector("."+i);e&&(e.parentElement.removeChild(e),t._acc.common.deployedObjects.remove("."+i));for(var r=document.querySelectorAll("._access-mic"),s=0;s<r.length;s++)r[s].removeEventListener("focus",t._acc.listen.bind(t._acc),!1),r[s].classList.remove("_access-mic");n.classList.remove("active")};if(e)return this._acc.stateValues.speechToText=!1,r();if(this._acc.stateValues.speechToText=!this._acc.stateValues.speechToText,this._acc.stateValues.speechToText){var o="\n body:after {\n content: ".concat(!this._acc.options.icon.useEmojis?'"mic"':'var(--_access-menu-item-icon-mic,"ð¤")',";\n ").concat(this._acc.options.icon.useEmojis?"":"font-family: var(--_access-menu-item-icon-font-family-after, ".concat(this._acc.fixedDefaultFont),"\n position: fixed;\n z-index: 1100;\n top: 1vw;\n right: 1vw;\n width: 36px;\n height: 36px;\n
1 font-size: 30px;\n line-height: 36px;\n border-radius: 50%;\n background: rgba(255,255,255,0.7);\n display: flex;\n justify-content: center;\n aling-items: center;\n }\n\n body._access-listening:after {\n animation: _access-listening-animation 2s infinite ease;\n }\n\n @keyframes _access-listening-animation {\n 0% {background-color: transparent;}\n 50% {background-color: #EF9A9A;}\n }\n ");this._acc.common.injectStyle(o,{className:i}),this._acc.common.deployedObjects.set("."+i,!0);for(var a=document.querySelectorAll('input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, [contenteditable]'),l=0;l<a.length;l++)a[l].addEventListener("blur",function(){"object"===s(t._acc.recognition)&&"function"==typeof t._acc.recognition.stop&&t._acc.recognition.stop()},!1),a[l].addEventListener("focus",this._acc.listen.bind(this._acc),!1),a[l].parentElement.classList.add("_access-mic");n.classList.add("active")}else r()}}},{key:"disableAnimations",value:function(e){var t,n=this,i="_access-disable-animations",s="data-autoplay-stopped",o=function(){n._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="disableAnimations"]').classList.remove("active"),n._acc.stateValues.disableAnimations=!1;var e,t=document.querySelector("."+i);t&&(t.parentElement.removeChild(t),n._acc.common.deployedObjects.remove("."+i)),document.querySelectorAll("[data-org-src]").forEach((e=r(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.src,t.setAttribute("src",t.getAttribute("data-org-src")),t.setAttribute("data-org-src",n);case 3:case"end":return e.stop()}},e)})),function(t){return e.apply(this,arguments)})),document.querySelectorAll("video[".concat(s,"]")).forEach(function(e){e.setAttribute("autoplay",""),e.removeAttribute(s),e.play()})};e||(this._acc.stateValues.disableAnimations=!this._acc.stateValues.disableAnimations,!this._acc.stateValues.disableAnimations)?o():(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="disableAnimations"]').classList.add("active"),this._acc.common.injectStyle("\n body * {\n animation-duration: 0.0ms !important;\n transition-duration: 0.0ms !important;\n }\n ",{className:i}),this._acc.common.deployedObjects.set("."+i,!0),document.querySelectorAll("img").forEach((t=r(regeneratorRuntime.mark(function e(t){var i,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((i=n._acc.common.getFileExtension(t.src))&&"gif"===i.toLowerCase())){e.next=9;break}if(r=t.getAttribute("data-org-src")){e.next=7;break}return e.next=6,n._acc.common.createScreenshot(t.src);case 6:r=e.sent;case 7:t.setAttribute("data-org-src",t.src),t.src=r;case 9:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)})),document.querySelectorAll("video[autoplay]").forEach(function(e){e.setAttribute(s,""),e.removeAttribute("autoplay"),e.pause()}))}},{key:"iframeModals",value:function(e,t){var n=this;t||(e=!0);var i=function(){n._dialog&&(n._dialog.classList.add("closing"),setTimeout(function(){n._dialog.classList.remove("closing"),n._dialog.close(),n._dialog.remove()},350),s()),t&&t.classList.remove("active")},r=function(){i()},s=function(){n._dialog.querySelector("button").removeEventListener("click",r,!1),n._dialog.removeEventListener("close",r)};e?i():(t.classList.add("active"),this._dialog||(this._dialog=document.createElement("dialog")),this._dialog.classList.add("_access"),this._dialog.innerHTML="",this._dialog.appendChild(this._acc.common.jsonToHtml({type:"div",children:[{type:"div",children:[{type:"button",attrs:{role:"button",class:this._acc.options.icon.useEmojis?"":this._acc.options.icon.fontClass,style:"position: absolute;\n top: 5px;\n cursor: pointer;\n font-size: 24px !important;\n font-weight: bold;\n background: transparent;\n border: none;\n left: 5px;\n color: #d63c3c;\n padding: 0;"},children:[{type:"#text",text:this._acc.options.icon.useEmojis?"X":"close"}]}]}
1,{type:"div",children:[{type:"iframe",attrs:{src:t.getAttribute("data-access-url"),style:"width: 50vw;height: 50vh;padding: 30px;"}}]}]})),document.body.appendChild(this._dialog),this._dialog.querySelector("button").addEventListener("click",r,!1),this._dialog.addEventListener("close",r),this._dialog.showModal())}},{key:"customFunctions",value:function(e,t){if(t){var n=this._acc.options.customFunctions[parseInt(t.getAttribute("data-access-custom-index"))];n.toggle&&t.classList.contains("active")&&(e=!0),e?(n.toggle&&t.classList.remove("active"),n.method(n,!1)):(n.toggle&&t.classList.add("active"),n.method(n,!0))}}},{key:"increaseLineHeight",value:function(){this._acc.alterLineHeight(!0)}},{key:"decreaseLineHeight",value:function(){this._acc.alterLineHeight(!1)}}],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),t}()},88776,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Storage=void 0;n.Storage=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"has",value:function(e){return window.localStorage.hasOwnProperty(e)}},{key:"set",value:function(e,t){window.localStorage.setItem(e,JSON.stringify(t))}},{key:"get",value:function(e){var t=window.localStorage.getItem(e);try{return JSON.parse(t)}catch(e){return t}}},{key:"clear",value:function(){window.localStorage.clear()}},{key:"remove",value:function(e){window.localStorage.removeItem(e)}},{key:"isSupported",value:function(){var e="_test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}}],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),t}()},68949,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.Accessibility=void 0,e.r(64140);var i=e.r(76908),r=e.r(84329),s=e.r(57812),o=e.r(88776);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){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return c(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c(e,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 c(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 u(e,t,n,i,r,s,o){try{var a=e[s](o),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function d(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var s=e.apply(t,n);function o(e){u(s,i,r,o,a,"next",e)}function a(e){u(s,i,r,o,a,"throw",e)}o(void 0)})}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){var e,t;function n(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(this instanceof n))throw TypeError("Cannot call a class as a function");h(this,"_isReading",void 0),h(this,"_common",void 0),h(this,"_storage",void 0),h(this,"_options",void 0),h(this,"_sessionState",void 0),h(this,"_htmlInitFS",void 0),h(this,"_body",void 0),h(this,"_html",void 0),h(this,"_icon",void 0),h(this,"_menu",void 0),h(this,"_htmlOrgFontSize",void 0),h(this,"_stateValues",void 0),h(this,"_recognition",void 0),h(this,"_speechToTextTarget",void 0),h(this,"_onKeyDownBind",void 0),h(this,"_fixedDefaultFont",void 0),h(this,"menuInterface",void 0),h(this,"options",void 0),this._common=new i.Common,this._storage=new o.Storage,this._fixedDefaultFont=this._common.getFixedFont("Material Icons"),this._options=this.defaultOptions,this.options=this._common.extend(this._options,t),this.addModuleOrderIfNotDefined(),this.addDefaultOptions(t),this.disabledUnsupportedFeatures(),this._onKeyDownBind=this.onKeyDown.bind(this),this._sessionState={textSize:0,textSpace:0,lineHeight:0,invertColors:!1,grayHues:!1,underlineLinks:!1,bigCursor:!1,readingGuide:!1},this.options.icon.useEmojis?(this.fontFallback(),this.build()):this._common.injectIconsFont(this.options.icon.fontFaceSrc,function(t){e.build(),e.o
1ptions.icon.fontFamilyValidation&&setTimeout(function(){e._common.isFontLoaded(e.options.icon.fontFamilyValidation,function(n){(!n||t)&&(console.log("!isLoaded || hasError",!n||t),e._common.warn("".concat(e.options.icon.fontFamilyValidation," font was not loaded, using emojis instead")),e.fontFallback(),e.destroy(),e.build())})})}),this.options.modules.speechToText&&window.addEventListener("beforeunload",function(){e._isReading&&(window.speechSynthesis.cancel(),e._isReading=!1)})}return t=[{key:"stateValues",get:function(){return this._stateValues},set:function(e){this._stateValues=e}},{key:"html",get:function(){return this._html}},{key:"body",get:function(){return this._body}},{key:"sessionState",get:function(){return this._sessionState},set:function(e){this._sessionState=e}},{key:"common",get:function(){return this._common}},{key:"recognition",get:function(){return this._recognition}},{key:"isReading",get:function(){return this._isReading},set:function(e){this._isReading=e}},{key:"fixedDefaultFont",get:function(){return this._fixedDefaultFont}},{key:"defaultOptions",get:function(){var e={icon:{img:"accessibility",fontFaceSrc:["https://fonts.googleapis.com/icon?family=Material+Icons"],fontClass:"material-icons",useEmojis:!1,closeIcon:"close",resetIcon:"refresh"},hotkeys:{enabled:!1,helpTitles:!0,keys:{toggleMenu:["ctrlKey","altKey",65],invertColors:["ctrlKey","altKey",73],grayHues:["ctrlKey","altKey",71],underlineLinks:["ctrlKey","altKey",85],bigCursor:["ctrlKey","altKey",67],readingGuide:["ctrlKey","altKey",82],textToSpeech:["ctrlKey","altKey",84],speechToText:["ctrlKey","altKey",83],disableAnimations:["ctrlKey","altKey",81]}},guide:{cBorder:"#20ff69",cBackground:"#000000",height:"12px"},suppressCssInjection:!1,suppressDomInjection:!1,labels:{resetTitle:"Reset",closeTitle:"Close",menuTitle:"Accessibility Options",increaseText:"increase text size",decreaseText:"decrease text size",increaseTextSpacing:"increase text spacing",decreaseTextSpacing:"decrease text spacing",invertColors:"invert colors",grayHues:"gray hues",bigCursor:"big cursor",readingGuide:"reading guide",underlineLinks:"underline links",textToSpeech:"text to speech",speechToText:"speech to text",disableAnimations:"disable animations",increaseLineHeight:"increase line height",decreaseLineHeight:"decrease line height",hotkeyPrefix:"Hotkey: "},textPixelMode:!1,textEmlMode:!0,textSizeFactor:12.5,animations:{buttons:!0},modules:{increaseText:!0,decreaseText:!0,increaseTextSpacing:!0,decreaseTextSpacing:!0,increaseLineHeight:!0,decreaseLineHeight:!0,invertColors:!0,grayHues:!0,bigCursor:!0,readingGuide:!0,underlineLinks:!0,textToSpeech:!0,speechToText:!0,disableAnimations:!0,iframeModals:!0,customFunctions:!0},modulesOrder:[],session:{persistent:!0},iframeModals:[],customFunctions:[],statement:{url:""},feedback:{url:""},language:{textToSpeechLang:"",speechToTextLang:""}};return Object.keys(r.AccessibilityModulesType).forEach(function(t,n){var i=parseInt(t);isNaN(i)||e.modulesOrder.push({type:i,order:i})}),e}},{key:"initFontSize",value:function(){if(!this._htmlInitFS){var e=this._common.getFormattedDim(getComputedStyle(this._html).fontSize),t=this._common.getFormattedDim(getComputedStyle(this._body).fontSize);this._html.style.fontSize=e.size/16*100+"%",this._htmlOrgFontSize=this._html.style.fontSize,this._body.style.fontSize=t.size/e.size+"em"}}},{key:"fontFallback",value:function(){this.options.icon.useEmojis=!0,this.options.icon.img="â¿",this.options.icon.fontClass=""}},{key:"addDefaultOptions",value:function(e){var t,n,i;null!=(t=e.icon)&&t.closeIconElem&&(this.options.icon.closeIconElem=e.icon.closeIconElem),null!=(n=e.icon)&&n.resetIconElem&&(this.options.icon.resetIconElem=e.icon.resetIconElem),null!=(i=e.icon)&&i.imgElem&&(this.options.icon.imgElem=e.icon.imgElem),this.options.icon.closeIconElem||(this.options.icon.closeIconElem={type:"#text",text:"".concat(this.options.icon.useEmojis?"X":this.options.icon.closeIcon)}),this.options.icon.resetIconElem||(this.options.icon.resetIconElem={type:"#text",text:"".concat(this.options.icon.useEmojis?"â²":this.options.icon.resetIcon)}),this.options.icon.imgElem||(this.options.icon.imgElem={type:"#text",text:this.options.icon.img})}},{key:"addModuleOrderIfNotDefined",value:function(){var e=this;this.defaultOptions.modulesOrder.forEach(function(t){e.options.modulesOrder.find(function(e){return e.type===t.type})||e.options.modulesOrder.push(t)})}},{key:"disabledUnsupportedFeatures",value:function(){"webkitSpeechRecognition"in window&&"https:"===location.protocol||(this._common.warn("speech to text isn't supported in this browser or in http protocol (https required)"),this.options.modules.speechToText=!1);var e=window;e.SpeechSynthesisUtterance&&e.speechSynthesis||(this._common.warn("text to speech isn't supported in this browser"),this.options.modules.textToSpeech=!1)}},{key:"injectCss",value:function(e){var t,i="\n html._access_cursor * {\n cursor: url(data:image/svg+xml;
1base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOS4xODhweCIgaGVpZ2h0PSI0My42MjVweCIgdmlld0JveD0iMCAwIDI5LjE4OCA0My42MjUiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5LjE4OCA0My42MjUiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHN0cm9rZT0iI0Q5REFEOSIgc3Ryb2tlLXdpZHRoPSIxLjE0MDYiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIyLjgsNC41NDkgMjYuODQ3LDE5LjkwMiAxNi45NjQsMjIuNzAxIDI0LjIzOSwzNy43NDkgMTguMjc4LDQyLjAxNyA5Ljc0MSwzMC43MjQgMS4xMzgsMzUuODA5ICIvPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyMTI2MjciIGQ9Ik0yOS4xNzUsMjEuMTU1YzAuMDcxLTAuNjEzLTAuMTY1LTEuMjUzLTAuNjM1LTEuNTczTDIuMTY1LDAuMjU4Yy0wLjQyNC0wLjMyLTAuOTg4LTAuMzQ2LTEuNDM1LTAuMDUzQzAuMjgyLDAuNDk3LDAsMS4wMywwLDEuNjE3djM0LjE3MWMwLDAuNjEzLDAuMzA2LDEuMTQ2LDAuNzc2LDEuNDM5YzAuNDcxLDAuMjY3LDEuMDU5LDAuMjEzLDEuNDgyLTAuMTZsNy40ODItNi4zNDRsNi44NDcsMTIuMTU1YzAuMjU5LDAuNDgsMC43MjksMC43NDYsMS4yLDAuNzQ2YzAuMjM1LDAsMC40OTQtMC4wOCwwLjcwNi0wLjIxM2w2Ljk4OC00LjU4NWMwLjMyOS0wLjIxMywwLjU2NS0wLjU4NiwwLjY1OS0xLjAxM2MwLjA5NC0wLjQyNiwwLjAyNC0wLjg4LTAuMTg4LTEuMjI2bC02LjM3Ni0xMS4zODJsOC42MTEtMi43NDVDMjguNzA1LDIyLjI3NCwyOS4xMDUsMjEuNzY4LDI5LjE3NSwyMS4xNTV6IE0xNi45NjQsMjIuNzAxYy0wLjQyNCwwLjEzMy0wLjc3NiwwLjUwNi0wLjk0MSwwLjk2Yy0wLjE2NSwwLjQ4LTAuMTE4LDEuMDEzLDAuMTE4LDEuNDM5bDYuNTg4LDExLjc4MWwtNC41NDEsMi45ODVsLTYuODk0LTEyLjMxNWMtMC4yMTItMC4zNzMtMC41NDEtMC42NC0wLjk0MS0wLjcyYy0wLjA5NC0wLjAyNy0wLjE2NS0wLjAyNy0wLjI1OS0wLjAyN2MtMC4zMDYsMC0wLjU4OCwwLjEwNy0wLjg0NywwLjMyTDIuOCwzMi41OVY0LjU0OWwyMS41OTksMTUuODA2TDE2Ljk2NCwyMi43MDF6Ii8+PC9nPjwvZz48L2c+PC9nPjwvc3ZnPg==),auto!important;\n }\n @keyframes _access-dialog-backdrop {\n 0% {\n background: var(--_access-menu-dialog-backdrop-background-start, rgba(0, 0, 0, 0.1))\n }\n 100% {\n background: var(--_access-menu-dialog-backdrop-background-end, rgba(0, 0, 0, 0.5))\n }\n }\n dialog._access::backdrop, dialog._access {\n transition-duration: var(--_access-menu-dialog-backdrop-transition-duration, 0.35s);\n transition-timing-function: var(--_access-menu-dialog-backdrop-transition-timing-function, ease-in-out);\n }\n dialog._access:modal {\n border-color: transparent;\n border-width: 0;\n padding: 0;\n }\n dialog._access[open]::backdrop {\n background: var(--_access-menu-dialog-backdrop-background-end, rgba(0, 0, 0, 0.5));\n animation: _access-dialog-backdrop var(--_access-menu-dialog-backdrop-transition-duration, 0.35s) ease-in-out;\n }\n dialog._access.closing[open]::backdrop {\n background: var(--_access-menu-dialog-backdrop-background-start, rgba(0, 0, 0, 0.1));\n }\n dialog._access.closing[open] {\n opacity: 0;\n }\n .screen-reader-wrapper {\n margin: 0;\n position: absolute;\n bottom: -4px;\n width: calc(100% - 2px);\n left: 1px;\n }\n .screen-reader-wrapper-step-1, .screen-reader-wrapper-step-2,.screen-reader-wrapper-step-3 {\n float: left;\n background: var(--_access-menu-background-color, #fff);\n width: 33.33%;\n height: 3px;\n border-radius: 10px;\n }\n .screen-reader-wrapper-step-1.active, .screen-reader-wrapper-step-2.active,.screen-reader-wrapper-step-3.active {\n background: var(--_access-menu-item-button-background, #f9f9f9);\n }\n .access_read_guide_bar {\n box-sizing: border-box;\n background: var(--_access-menu-read-guide-bg, ".concat(this.options.guide.cBackground,");\n width: 100%!important;\n min-width: 100%!important;\n position: fixed!important;\n height: var(--_access-menu-read-guide-height, ").concat(this.options.guide.height,") !important;\n border: var(--_access-menu-read-guide-border, solid 3px ").concat(this.options.guide.cBorder,");\n border-radius: 5px;\n top: 15px;\n z-index: 2147483647;\n }");t=e?"\n ._access-scrollbar::-webkit-scrollbar-track, .mat-autocomplete-panel::-webkit-scrollbar-track, .mat-tab-body-content::-webkit-scrollbar-track, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar-track, .mat-menu-panel::-webkit-scrollbar-track {\n -webkit-box-shadow: var(--_access-scrollbar-track-box-sha
1dow, inset 0 0 6px rgba(0,0,0,0.3));\n background-color: var(--_access-scrollbar-track-background-color, #F5F5F5);\n }\n ._access-scrollbar::-webkit-scrollbar, .mat-autocomplete-panel::-webkit-scrollbar, .mat-tab-body-content::-webkit-scrollbar, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar, .mat-menu-panel::-webkit-scrollbar {\n width: var(--_access-scrollbar-width, 6px);\n background-color: var(--_access-scrollbar-background-color, #F5F5F5);\n }\n ._access-scrollbar::-webkit-scrollbar-thumb, .mat-autocomplete-panel::-webkit-scrollbar-thumb, .mat-tab-body-content::-webkit-scrollbar-thumb, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar-thumb, .mat-menu-panel::-webkit-scrollbar-thumb {\n background-color: var(--_access-scrollbar-thumb-background-color, #999999);\n }\n ._access-icon {\n position: var(--_access-icon-position, fixed);\n width: var(--_access-icon-width, 50px);\n height: var(--_access-icon-height, 50px);\n bottom: var(--_access-icon-bottom, 50px);\n top: var(--_access-icon-top, unset);\n left: var(--_access-icon-left, unset);\n right: var(--_access-icon-right, 10px);\n z-index: var(--_access-icon-z-index, 9999);\n font: var(--_access-icon-font, 40px / 45px \"Material Icons\");\n background: var(--_access-icon-bg, #4054b2);\n color: var(--_access-icon-color, #fff);\n background-repeat: no-repeat;\n background-size: contain;\n cursor: pointer;\n opacity: 0;\n transition-duration: .35s;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n ".concat(!this.options.icon.useEmojis?"box-shadow: 1px 1px 5px rgba(0,0,0,.5);":"","\n transform: ").concat(!this.options.icon.useEmojis?"scale(1)":"skewX(14deg)",";\n border-radius: var(--_access-icon-border-radius);\n border: var(--_access-icon-border);\n text-align: var(--_access-icon-text-align, center);\n }\n ._access-icon:hover {\n transform: var(--_access-icon-transform-hover, scale(1.1));\n vertical-align: var(--_access-icon-vertical-align-hover);\n }\n ._access-menu {\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n position: fixed;\n width: var(--_access-menu-width, ").concat(n.MENU_WIDTH,");\n height: var(--_access-menu-height, auto);\n transition-duration: var(--_access-menu-transition-duration, .35s);\n z-index: var(--_access-menu-z-index, 99991);\n opacity: 1;\n background-color: var(--_access-menu-background-color, #fff);\n color: var(--_access-menu-color, #000);\n border-radius: var(--_access-menu-border-radius, 3px);\n border: var(--_access-menu-border, solid 1px #f1f0f1);\n font-family: var(--_access-menu-font-family, RobotoDraft, Roboto, sans-serif, Arial);\n min-width: var(--_access-menu-min-width, 300px);\n box-shadow: var(--_access-menu-box-shadow, 0px 0px 1px #aaa);\n max-height: calc(100vh - 80px);\n ").concat("rtl"===getComputedStyle(this._body).direction?"text-indent: -5px":"","\n top: var(--_access-menu-top, unset);\n left: var(--_access-menu-left, unset);\n bottom: var(--_access-menu-bottom, 0);\n right: var(--_access-menu-right, 0);\n }\n ._access-menu.close {\n z-index: -1;\n width: 0;\n opacity: 0;\n background-color: transparent;\n left: calc(-1 * var(--_access-menu-left), unset);\n right: calc(-1 * var(--_access-menu-width, ").concat(n.MENU_WIDTH,"));\n }\n ._access-menu ._text-center {\n font-size: var(--_access-menu-header-font-size, 22px);\n font-weight: var(--_access-menu-header-font-we
1ight, nornal);\n margin: var(--_access-menu-header-margin, 20px 0 10px);\n padding: 0;\n color: var(--_access-menu-header-color, rgba(0,0,0,.87));\n letter-spacing: var(--_access-menu-header-letter-spacing, initial);\n word-spacing: var(--_access-menu-header-word-spacing, initial);\n text-align: var(--_access-menu-header-text-align, center);\n }\n ._access-menu ._menu-close-btn {\n left: 5px;\n color: #d63c3c;\n transition: .3s ease;\n transform: rotate(0deg);\n font-style: normal !important;\n }\n ._access-menu ._menu-reset-btn:hover,._access-menu ._menu-close-btn:hover {\n transform: var(--_access-menu-header-btn-hover-rotate, rotate(180deg));\n }\n ._access-menu ._menu-reset-btn {\n right: 5px;\n color: #4054b2;\n transition: .3s ease;\n transform: rotate(0deg);\n font-style: normal !important;\n }\n ._access-menu ._menu-btn {\n position: absolute;\n top: 5px;\n cursor: pointer;\n font-size: 24px !important;\n font-weight: bold;\n background: transparent;\n border: none;\n }\n ._access-menu ul {\n padding: 0 0 5px;\n position: relative;\n font-size: var(--_access-menu-font-size, 18px);\n margin: 0;\n overflow: auto;\n max-height: var(--_access-menu-max-height, calc(100vh - 145px));\n display: flex;\n flex-flow: column;\n gap: 5px;\n }\n ").concat(i,"\n ._access-menu ul li {\n position: relative;\n list-style-type: none;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n margin: 0 5px 0 8px;\n font: { size: 18, units: 'px' }\n font-size: var(--_access-menu-item-font-size, 18px) !important;\n line-height: var(--_access-menu-item-line-height, 18px) !important;\n color: var(--_access-menu-item-color, rgba(0,0,0,.6));\n letter-spacing: var(--_access-menu-item-letter-spacing, initial);\n word-spacing: var(--_access-menu-item-word-spacing, initial);\n width: calc(100% - 17px);\n }\n ._access-menu ul li button {\n background: var(--_access-menu-item-button-background, #f9f9f9);\n padding: var(--_access-menu-item-button-padding, 10px 0);\n width: 100%;\n text-indent: var(--_access-menu-item-button-text-indent, 35px);\n text-align: start;\n position: relative;\n transition-duration: var(--_access-menu-item-button-transition-duration, .35s);\n transition-timing-function: var(--_access-menu-item-button-transition-timing-function, ease-in-out);\n border: var(--_access-menu-item-button-border, solid 1px #f1f0f1);\n border-radius: var(--_access-menu-item-button-border-radius, 4px);\n cursor: pointer;\n }\n ._access-menu ul li.position {\n display: inline-block;\n width: auto;\n }\n ._access-menu ul.before-collapse li button {\n opacity: var(--_access-menu-item-button-before-collapse-opacity, 0.05);\n }\n ._access-menu ul li button.active, ._access-menu ul li button.active:hover {\n background-color: var(--_access-menu-item-button-active-background-color, #000);\n }\n ._access-menu div.active {\n color: var(--_access-menu-div-active-color, #fff);\n background-color: var(--_access-menu-div-active-background-color, #000);\n }\n ._access-menu ul li button.active, ._access-menu ul li button.active:hover, ._access-menu ul li button.active:before, ._access-menu ul li button.active:hover:before {\n color: var(--_access-menu-item-button-active-color, #fff);\n }\n ._access-menu ul li button:hover {\n color: var(--_access-menu-item-button-hover-color, rgba(0,0,0,.8));\n background-color: var(--_access-menu-item-button-hover-background-color, #eaeaea);\n }\n ._access-menu ul li.not-supported {\n display: none;\n }\n ._access-menu ul li button:before {\n content: ' ';\n font-family: var(--_access-menu-button-font-family-before, ").concat(this._fixedDefaultFont,');\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga" 1;\n font-style: normal;\n text-transform: none;\n line-height: ').concat(!this.options.icon.useEmojis?"1":"1.1",";\n font-size: ").concat(!this.options.icon.useEmojis?"24px":"20px",' !important;\n width: 30px;\n height: 30px;\n display: inline-block;\n overflow: hidden;\n -webkit-font-smoothing: antialiased;\n top: 7px;\n left: 5px;\n position: absolute;\n color: var(--_access-menu-item-icon-color, rgba(0,0,0,.6));\n direction: ltr;\n text-indent: 0;\n transition-duration: .35s;\n transition-timing-function: ease-in-out;\n }\n ._access-menu ul li button svg path {\n fill: var(--_access-menu-item-icon-color, rgba(0,0,0,.6));\n transition-duration: .35s;\n transition-timing-function: ease-in-out;\n }\n ._access-menu ul li button:hover svg path {\n fill: var(--_access-menu-item-hover-icon-color, rgba(0,0,0,.8));\n }\n ._access-menu ul li button.active svg path {\n fill: var(--_access-menu-item-active-icon-color, #fff);\n }\n ._access-menu ul li:hover button:before {\n color: var(--_access-menu-item-hover-icon-color, rgba(0,0,0,.8));\n }\n ._access-menu ul li button.active button:before {\n color: var(--_access-menu-item-active-icon-color, #fff);\n }\n ._access-menu ul li button[data-access-action="increaseText"]:before {\n content: var(--_access-menu-item-icon-increase-text, ').concat(!this.options.icon.useEmojis?'"zoom_in"':'"ð¼"',");\n transform: var(--_access-menu-item-icon-increase-text-transform, unset);\n top: var(--_access-menu-item-icon-increase-text-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-increase-text-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="decreaseText"]:before {\n content: var(--_access-menu-item-icon-decrease-text, ').concat(!this.options.icon.useEmojis?'"zoom_out"':'"ð½"',");\n transform: var(--_access-menu-item-icon-decrease-text-spacing-transform, unset);\n top: var(--_access-menu-item-icon-decrease-text-spacing-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-decrease-text-spacing-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="increaseTextSpacing"]:before {\n content: var(--_access-menu-item-icon-increase-text-spacing, ').concat(!this.options.icon.useEmojis?'"unfold_more"':'"ð¼"',');\n transform: var(--_access-menu-item-icon-increase-text-spacing-transform, rotate(90deg) translate(-7px, 2px)
1);\n top: var(--_access-menu-item-icon-increase-text-spacing-top, 14px);\n left: var(--_access-menu-item-icon-increase-text-spacing-left, 0);\n }\n ._access-menu ul li button[data-access-action="decreaseTextSpacing"]:before {\n content: var(--_access-menu-item-icon-decrease-text-spacing, ').concat(!this.options.icon.useEmojis?'"unfold_less"':'"ð½"',');\n transform: var(--_access-menu-item-icon-decrease-text-spacing-transform, rotate(90deg) translate(-7px, 2px));\n top: var(--_access-menu-item-icon-decrease-text-spacing-top, 14px);\n left: var(--_access-menu-item-icon-decrease-text-spacing-left, 0);\n }\n ._access-menu ul li button[data-access-action="invertColors"]:before {\n content: var(--_access-menu-item-icon-invert-colors, ').concat(!this.options.icon.useEmojis?'"invert_colors"':'"ð"',");\n transform: var(--_access-menu-item-icon-invert-colors-transform, unset);\n top: var(--_access-menu-item-icon-invert-colors-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-invert-colors-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="grayHues"]:before {\n content: var(--_access-menu-item-icon-gray-hues, ').concat(!this.options.icon.useEmojis?'"format_color_reset"':'"ð«ï¸"',");\n transform: var(--_access-menu-item-icon-gray-hues-transform, unset);\n top: var(--_access-menu-item-icon-gray-hues-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-gray-hues-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="underlineLinks"]:before {\n content: var(--_access-menu-item-icon-underline-links, ').concat(!this.options.icon.useEmojis?'"format_underlined"':'"ð"',");\n transform: var(--_access-menu-item-icon-underline-links-transform, unset);\n top: var(--_access-menu-item-icon-underline-links-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-underline-links-left, ").concat("5px",");\n }\n ._access-menu ul li button[data-access-action=\"bigCursor\"]:before {\n /*content: 'touch_app';*/\n content: var(--_access-menu-item-icon-big-cursor, inherit);\n transform: var(--_access-menu-item-icon-big-cursor-transform, unset);\n top: var(--_access-menu-item-icon-big-cursor-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-big-cursor-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="readingGuide"]:before {\n content: var(--_access-menu-item-icon-reading-guide, ').concat(!this.options.icon.useEmojis?'"border_horizontal"':'"âï¸"',");\n transform: var(--_access-menu-item-icon-reading-guide-transform, unset);\n top: var(--_access-menu-item-icon-reading-guide-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-reading-guide-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="textToSpeech"]:before {\n content: var(--_access-menu-item-icon-text-to-speech, ').concat(!this.options.icon.useEmojis?'"record_voice_over"':'"âºï¸"',");\n transform: var(--_access-menu-item-icon-text-to-speech-transform, unset);\n top: var(--_access-menu-item-icon-text-to-speech-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-text-to-speech-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="speechToText"]:before {\n content: var(--_access-menu-item-icon-speech-to-text, ').concat(!this.options.icon.useEmojis?'"mic"':'"ð¤"',");\n transform: var(--_access-menu-item-icon-speech-to-text-transform, unset);\n top: var(--_access-menu-item-icon-speech-to-text-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-speech-to-text-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="disableAnimations"]:before {\n content: var(--_access-menu-item-icon-disable-animations, ').concat(!this.options.icon.useEmojis?'"animation"':'"ðââï¸"',");\n transform: var(--_access-menu-item-icon-disable-animations-transform, unset);\n top: var(--_access-menu-item-icon-disable-animations-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-disable-animations-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="iframeModals"]:before {\n content: var(--_access-menu-item-icon-iframe-modals, ').concat(!this.options.icon.useEmojis?'"policy"':'"âï¸"',");\n transform: var(--_access-menu-item-icon-iframe-transform, unset);\n top: var(--_access-menu-item-icon-iframe-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-iframe-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="customFunctions"]:before {\n content: var(--_access-menu-item-icon-custom-functions, ').concat(!this.options.icon.useEmojis?'"psychology_alt"':'"â"',");\n transform: var(--_access-menu-item-icon-custom-functions-transform, unset);\n top: var(--_access-menu-item-icon-custom-functions-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-custom-functions-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="increaseLineHeight"]:before {\n content: var(--_access-menu-item-icon-increase-line-height, ').concat(!this.options.icon.useEmojis?'"unfold_more"':'"ð¼"',");\n transform: var(--_access-menu-item-icon-increase-line-height-transform, unset);\n top: var(--_access-menu-item-icon-increase-line-height-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-increase-line-height-left, ").concat("5px",');\n }\n ._access-menu ul li button[data-access-action="decreaseLineHeight"]:before {\n content: var(--_access-menu-item-icon-decrease-line-height, ').concat(!this.options.icon.useEmojis?'"unfold_less"':'"ð½"',");\n transform: var(--_access-menu-item-icon-decrease-line-height-transform, unset);\n top: var(--_access-menu-item-icon-decrease-line-height-top, ").concat("7px",");\n left: var(--_access-menu-item-icon-decrease-line-height-left, ").concat("5px",");\n }"):i;var r=n.CSS_CLASS_NAME;this._common.injectStyle(t,{className:r}),this._common.deployedObjects.set(".".concat(r),!1)}},{key:"removeCSS",value:function(){var e=document.querySelector(".".concat(n.CSS_CLASS_NAME));e&&e.remove()}},{key:"injectIcon",value:function(){var e="_access-icon ".concat(this.options.icon.fontClass," _access"),t=this._common.jsonToHtml({type:"i",attrs:{class:e,title:this.options.hotkeys.enabled?this.parseKeys(this.options.hotkeys.keys.toggleMenu):this.options.labels.menuTitle,tabIndex:0},children:[this.options.icon.imgElem]});return this._body.appendChild(t),this._common.deployedObjects.set("._access-icon",!1),t}},{key:"parseKeys",value:function(e){return this.options.hotkeys.enabled&&this.options.hotkeys.helpT
1itles?this.options.labels.hotkeyPrefix+e.map(function(e){return Number.isInteger(e)?String.fromCharCode(e).toLowerCase():e.replace("Key","")}).join("+"):""}},{key:"injectMenu",value:function(){var e=this,t={type:"div",attrs:{class:"_access-menu close _access"},children:[{type:"p",attrs:{class:"_text-center",role:"presentation"},children:[{type:"button",attrs:{class:"_menu-close-btn _menu-btn ".concat(this.options.icon.fontClass),style:"font-family: var(--_access-menu-close-btn-font-family, ".concat(this._fixedDefaultFont,")"),title:this.options.hotkeys.enabled?this.parseKeys(this.options.hotkeys.keys.toggleMenu):this.options.labels.closeTitle},children:[this.options.icon.closeIconElem]},{type:"#text",text:this.options.labels.menuTitle},{type:"button",attrs:{class:"_menu-reset-btn _menu-btn ".concat(this.options.icon.fontClass),style:"font-family: var(--_access-menu-reset-btn-font-family, ".concat(this._fixedDefaultFont,")"),title:this.options.labels.resetTitle},children:[this.options.icon.resetIconElem]}]},{type:"ul",attrs:{class:"before-collapse _access-scrollbar"},children:[{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseText"},children:[{type:"#text",text:this.options.labels.increaseText}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseText"},children:[{type:"#text",text:this.options.labels.decreaseText}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseTextSpacing"},children:[{type:"#text",text:this.options.labels.increaseTextSpacing}
1]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseTextSpacing"},children:[{type:"#text",text:this.options.labels.decreaseTextSpacing}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseLineHeight"},children:[{type:"#text",text:this.options.labels.increaseLineHeight}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseLineHeight"},children:[{type:"#text",text:this.options.labels.decreaseLineHeight}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"invertColors",title:this.parseKeys(this.options.hotkeys.keys.invertColors)},children:[{type:"#text",text:this.options.labels.invertColors}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"grayHues",title:this.parseKeys(this.options.hotkeys.keys.grayHues)},children:[{type:"#text",text:this.options.labels.grayHues}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"underlineLinks",title:this.parseKeys(this.options.hotkeys.keys.underlineLinks)},children:[{type:"#text",text:this.options.labels.underlineLinks}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"bigCursor",title:this.parseKeys(this.options.hotkeys.keys.bigCursor)},children:[{type:"div",attrs:{id:"iconBigCursor"}},{type:"#text",text:this.options.labels.bigCursor}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"readingGuide",title:this.parseKeys(this.options.hotkeys.keys.readingGuide)},children:[{type:"#text",text:this.options.labels.readingGuide}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"disableAnimations",title:this.parseKeys(this.options.hotkeys.keys.disableAnimations)},children:[{type:"#text",text:this.options.labels.disableAnimations}]}]}]}]};this.options.iframeModals&&this.options.iframeModals.forEach(function(n,i){var r={type:"li",children:[{type:"button",attrs:{"data-access-action":"iframeModals","data-access-url":n.iframeUrl},children:[{type:"#text",text:n.buttonText}]}]},s=null;if(n.icon&&!e.options.icon.useEmojis?s=n.icon:n.emoji&&e.options.icon.useEmojis&&(s=n.emoji),s){r.children[0].attrs["data-access-iframe-index"]=i;var o='._access-menu ul li button[data-access-action="iframeModals"][data-access-iframe-index="'.concat(i,'"]:before {\n content: "').concat(s,'";\n }'),a="_data-access-iframe-index-"+i;e._common.injectStyle(o,{className:a}),e._common.deployedObjects.set("."+a,!1)}e.options.modules.textToSpeech?t.children[1].children.splice(t.children[1].children.length-2,0,r):t.children[1].children.push(r)}),this.options.customFunctions&&this.options.customFunctions.forEach(function(n,i){var r={type:"li",children:[{type:"button",attrs:{"data-access-action":"customFunctions","data-access-custom-id":n.id,"data-access-custom-index":i},children:[{type:"#text",text:n.buttonText}]}]},s=null;if(n.icon&&!e.options.icon.useEmojis?s=n.icon:n.emoji&&e.options.icon.useEmojis&&(s=n.emoji),s){var o='._access-menu ul li button[data-access-action="customFunctions"][data-access-custom-id="'.concat(n.id,'"]:before {\n content: "').concat(s,'";\n }'),a="_data-access-custom-id-"+n.id;e._common.injectStyle(o,{className:a}),e._common.deployedObjects.set("."+a,!1)}e.options.modules.textToSpeech?t.children[1].children.splice(t.children[1].children.length-2,0,r):t.children[1].children.push(r)});var n=this._common.jsonToHtml(t);this._body.appendChild(n),setTimeout(function(){var e=document.getElementById("iconBigCursor");e&&(e.outerHTML=e.outerHTML+'<svg version="1.1" id="iconBigCursorSvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="position: absolute;width: 19px;height: 19px;top: 9px; left: 9px;" xml:space="preserve"><path d="M 423.547 323.115 l -320 -320 c -3.051 -3.051 -7.637 -3.947 -11.627 -2.304 s -6.592 5.547 -6.592 9.856 V 480 c 0 4.501 2.837 8.533 7.083 10.048 c 4.224 1.536 8.981 0.192 11.84 -3.285 l 85.205 -104.128 l 56.853 123.179 c 1.792 3.883 5.653 6.187 9.685 6.187 c 1.408 0 2.837 -0.277 4.203 -0.875 l 74.667 -32 c 2.645 -1.131 4.736 -3.285 5.76 -5.973 c 1.024 -2.688 0.939 -5.675 -0.277
1-8.299 l -57.024 -123.52 h 132.672 c 4.309 0 8.213 -2.603 9.856 -6.592 C 427.515 330.752 426.598 326.187 423.547 323.115 Z"/></svg>',document.getElementById("iconBigCursor").remove())},1),this._common.deployedObjects.set("._access-menu",!1);var i=document.querySelector("._access-menu ._menu-close-btn");["click","keyup"].forEach(function(t){i.addEventListener(t,function(t){var n=t||window.event;(0!==n.detail||"Enter"===n.key)&&e.toggleMenu()},!1)});var r=document.querySelector("._access-menu ._menu-reset-btn");return["click","keyup"].forEach(function(t){r.addEventListener(t,function(t){var n=t||window.event;(0!==n.detail||"Enter"===n.key)&&e.resetAll()},!1)}),n}},{key:"getVoices",value:function(){return new Promise(function(e){var t,n=window.speechSynthesis;t=setInterval(function(){0!==n.getVoices().length&&(e(n.getVoices()),clearInterval(t))},10)})}},{key:"injectTts",value:(e=d(regeneratorRuntime.mark(function e(){var t,n,i,r,s,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getVoices();case 2:t=e.sent,n=!1,i=0;case 5:if(!(i<t.length)){e.next=12;break}if(t[i].lang!==this.options.language.textToSpeechLang){e.next=9;break}return n=!0,e.abrupt("break",12);case 9:i++,e.next=5;break;case 12:n&&(r=this.common.jsonToHtml({type:"li",children:[{type:"button",attrs:{"data-access-action":"textToSpeech",title:this.parseKeys(this.options.hotkeys.keys.textToSpeech)},children:[{type:"#text",text:this.options.labels.textToSpeech}]},{type:"div",attrs:{class:"screen-reader-wrapper"},children:[{type:"div",attrs:{class:"screen-reader-wrapper-step-1",tabIndex:"-1"}},{type:"div",attrs:{class:"screen-reader-wrapper-step-2",tabIndex:"-1"}},{type:"div",attrs:{class:"screen-reader-wrapper-step-3",tabIndex:"-1"}}]}]}),s=this.common.jsonToHtml({type:"li",children:[{type:"button",attrs:{"data-access-action":"speechToText",title:this.parseKeys(this.options.hotkeys.keys.speechToText)},children:[{type:"#text",text:this.options.labels.speechToText}]}]}),(o=document.querySelector("._access-menu ul")).appendChild(s),o.appendChild(r));case 13:case"end":return e.stop()}},e,this)})),function(){return e.apply(this,arguments)})},{key:"addListeners",value:function(){for(var e=this,t=document.querySelectorAll("._access-menu ul li"),n=document.getElementsByClassName("screen-reader-wrapper-step-1"),i=document.getElementsByClassName("screen-reader-wrapper-step-2"),r=document.getElementsByClassName("screen-reader-wrapper-step-3"),s=function(n){["click","keyup"].forEach(function(i){return t[n].addEventListener(i,function(t){var n=t||window.event;(0!==n.detail||"Enter"===n.key)&&e.invoke(n.target.getAttribute("data-access-action"),n.target)})})},o=0;o<t.length;o++)s(o);[].concat(l(Array.from(n)),l(Array.from(i)),l(Array.from(r))).forEach(function(t){return t.addEventListener("click",function(t){var n=t||window.event;e.invoke(n.target.parentElement.parentElement.getAttribute("data-access-action"),n.target)},!1)})}},{key:"sortModuleTypes",value:function(){this.options.modulesOrder.sort(function(e,t){return e.order-t.order})}},{key:"disableUnsupportedModulesAndSort",value:function(){var e=this;this.sortModuleTypes();var t=document.querySelector("._access-menu ul");this.options.modulesOrder.forEach(function(n){var i=n.type,s=r.AccessibilityModulesType[i],o=e.options.modules;o=o[s];var a=document.querySelector('button[data-access-action="'+s+'"]');a&&(a.parentElement.remove(),t.appendChild(a.parentElement),o||a.parentElement.classList.add("not-supported"))})}},{key:"resetAll",value:function(){this.menuInterface.textToSpeech(!0),this.menuInterface.speechToText(!0),this.menuInterface.disableAnimations(!0),this.menuInterface.underlineLinks(!0),this.menuInterface.grayHues(!0),this.menuInterface.invertColors(!0),this.menuInterface.bigCursor(!0),this.menuInterface.readingGuide(!0),this.resetTextSize(),this.resetTextSpace(),this.resetLineHeight()}},{key:"resetTextSize",value:function(){this.resetIfDefined(this._stateValues.body.fontSize,this._body.style,"fontSize"),void 0!==this._htmlOrgFontSize&&(this._html.style.fontSize=this._htmlOrgFontSize);for(var e=document.querySelectorAll("[data-init-font-size]"),t=0;t<e.length;t++)e[t].style.fontSize=e[t].getAttribute("data-init-font-size"),e[t].removeAttribute("data-init-font-size");this._sessionState.textSize=0,this.onChange(!0)}},{key:"resetLineHeight",value:function(){this.resetIfDefined(this._stateValues.body.lineHeight,this.body.style,"lineHeight");for(var e=document.querySelectorAll("[data-init-line-height]"),t=0;t<e.length;t++)e[t].style.lineHeight=e[t].getAttribute("data-init-line-height"),e[t].removeAttribute("data-init-line-height");this.sessionState.lineHeight=0,this.onChange(!0)}},{key:"resetTextSpace",value:function(){this.resetIfDefined(this._stateValues.body.wordSpacing,this._body.style,"wordSpacing"),this.resetIfDefined(this._stateValues.body.letterSpacing,this._body.style,"letterSpacing");for(var e=document.querySelectorAll("[data-init-word-spacing]"),t=document.querySelectorAll("[data-init-letter-spacing]"),n=0;n<e.length;n++)e[n].style.wordSpacing=e[n].getAttribute("data-init-word-spacing"),e[n].removeAttribute("data-init-word-spacing");for(var i=0;i<t.length;i++)e[i].style.letterSpacing=e[i].getAttribute("data-init-letter-spacing"),e[i].removeAttribute("data-init-letter-spacing");this._sessionState.textSpace=0,this.onChange(!0)}},{key:"alterTextSize",value:function(e){this._sessionState.textSize+=e?1:-1,this.onChange(!0);var t=this.options.textSizeFactor;if(e||(t*=-1),this.options.textPixelMode){for(var n=document.querySelectorAll("*:not(._access)"),i=0;i<n.length;i++){var r=getComputedStyle(n[i]).fontSize;r&&r.indexOf("px")>-1&&!n[i].getAttribute("data-init-font-size")&&n[i].setAttribute("data-init-font-size",r)}for(var s=0;s<n.length;s++){var o=getComputedStyle(n[s]).fontSize;o&&o.indexOf("px")>-1&&(o=parseInt(o.replace("px",""))+t,n[s].style.fontSize=o+"px"),this._stateValues.textToSpeech&&this.textToSpeech("Text Size ".concat(e?"Increased":"Decreased"))}var a=getComputedStyle(this._body).fontSize;a&&a.indexOf("px")>-1&&(this._body.getAttribute("data-init-font-size")||this._body.setAttribute("data-init-font-size",a),a=parseInt(a.replace("px",""))+t,this._body.style.fontSize=a+"px")}else if(this.options.textEmlMode){var l=this._html.style.fontSize;l.indexOf("%")?(l=parseInt(l.replace("%","")),this._html.style.fontSize=l+t+"%",this._stateValues.textToSpeech&&this.textToSpeech("Text Size ".concat(e?"Increased":"Decreased"))):this._common.warn("Accessibility.textEmlMode, html element is not set in %.")}else{var c=this._common.getFormattedDim(getComputedStyle(this._body).fontSize);void 0===this._stateValues.body.fontSize&&(this._stateValues.body.fontSize=c.size+c.suffix
1),c&&c.suffix&&!isNaN(+c.size)&&(this._body.style.fontSize=+c.size+t+c.suffix)}}},{key:"alterLineHeight",value:function(e){this.sessionState.lineHeight+=e?1:-1,this.onChange(!0);var t=2;e||(t*=-1),this.options.textEmlMode&&(t*=10);for(var n=document.querySelectorAll("*:not(._access)"),i=Array.prototype.slice.call(document.querySelectorAll("._access-menu *")),r=0;r<n.length;r++)if(!i.includes(n[r])){if(this.options.textPixelMode){var s=getComputedStyle(n[r]).lineHeight;if(s&&s.indexOf("px")>-1){n[r].getAttribute("data-init-line-height")||n[r].setAttribute("data-init-line-height",s);var o=parseInt(s.replace("px",""))+t;n[r].style.lineHeight="".concat(o,"px")}this._stateValues.textToSpeech&&this.textToSpeech("Line Height ".concat(e?"Increased":"Decreased"))}else if(this.options.textEmlMode){var a=getComputedStyle(n[r]).fontSize,l=getComputedStyle(n[r]).lineHeight;"normal"===l&&(l=(1.2*parseInt(a.replace("px",""))).toString()+"px");var c=l.replace("px",""),u=a.replace("px",""),d=100*parseInt(c)/parseInt(u);l&&l.indexOf("px")>-1&&(n[r].getAttribute("data-init-line-height")||n[r].setAttribute("data-init-line-height",d+"%"),d+=t,n[r].style.lineHeight=d+"%"),void 0===this._stateValues.body.lineHeight&&(this._stateValues.body.lineHeight=""),this._stateValues.textToSpeech&&this.textToSpeech("Line height ".concat(e?"Increased":"Decreased"))}}}},{key:"alterTextSpace",value:function(e){this._sessionState.textSpace+=e?1:-1,this.onChange(!0);var t=2;if(e||(t*=-1),this.options.textPixelMode){for(var n=document.querySelectorAll("*:not(._access)"),i=Array.prototype.slice.call(document.querySelectorAll("._access-menu *")),r=0;r<n.length;r++)if(!i.includes(n[r])){var s=n[r].style.wordSpacing;s&&s.indexOf("px")>-1?(n[r].getAttribute("data-init-word-spacing")||n[r].setAttribute("data-init-word-spacing",s),s=+s.replace("px","")+t,n[r].style.wordSpacing=s+"px"):(n[r].setAttribute("data-init-word-spacing",s),n[r].style.wordSpacing=t+"px");var o=n[r].style.letterSpacing;o&&o.indexOf("px")>-1?(n[r].getAttribute("data-init-letter-spacing")||n[r].setAttribute("data-init-letter-spacing",o),o=+o.replace("px","")+t,n[r].style.letterSpacing=o+"px"):(n[r].setAttribute("data-init-letter-spacing",o),n[r].style.letterSpacing=t+"px")}this._stateValues.textToSpeech&&this.textToSpeech("Text Spacing ".concat(e?"Increased":"Decreased"))}else{var a=this._common.getFormattedDim(getComputedStyle(this._body).wordSpacing);void 0===this._stateValues.body.wordSpacing&&(this._stateValues.body.wordSpacing=""),a&&a.suffix&&!isNaN(+a.size)&&(this._body.style.wordSpacing=+a.size+t+a.suffix);var l=this._common.getFormattedDim(getComputedStyle(this._body).letterSpacing);void 0===this._stateValues.body.letterSpacing&&(this._stateValues.body.letterSpacing=""),l&&l.sufix&&!isNaN(+l.size)&&(this._body.style.letterSpacing=+l.size+t+l.sufix),this._stateValues.textToSpeech&&this.textToSpeech("Text Spacing ".concat(e?"Increased":"Decreased"))}}},{key:"speechToText",value:function(){var e=this;("webkitSpeechRecognition"in window||"SpeechRecognition"in window)&&(this._recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this._recognition.continuous=!0,this._recognition.interimResults=!0,this._recognition.onstart=function(){e._body.classList.add("_access-listening")},this._recognition.onend=function(){e._body.classList.remove("_access-listening")},this._recognition.onresult=function(t){var n="";if(void 0!==t.results){for(var i=t.resultIndex;i<t.results.length;++i)t.results[i].isFinal&&(n+=t.results[i][0].transcript);n&&e._speechToTextTarget&&(e._speechToTextTarget.parentElement.classList.remove("_access-listening"),"input"===e._speechToTextTarget.tagName.toLowerCase()||"textarea"===e._speechToTextTarget.tagName.toLowerCase()?e._speechToTextTarget.value=n:null!==e._speechToTextTarget.getAttribute("contenteditable")&&(e._speechToTextTarget.innerText=n))}},this._recognition.lang=this.options.language.speechToTextLang,this._recognition.start())}},{key:"textToSpeech",value:function(e){var t=this,n=window;if(n.SpeechSynthesisUtterance&&n.speechSynthesis){var i=new n.SpeechSynthesisUtterance(e);i.lang=this.options.language.textToSpeechLang,i.lang=this.options.textToSpeechLang,i.rate=this._stateValues.speechRate,i.onend=function(){t._isReading=!1};for(var r=n.speechSynthesis.getVoices(),s=!1,o=0;o<r.length;o++)if(r[o].lang===i.lang){i.voice=r[o],s=!0;break}s||this._common.warn("text to speech language not supported!"),(window.speechSynthesis.pending||window.speechSynthesis.speaking)&&(window.speechSynthesis.pause,window.speechSynthesis.cancel()),window.speechSynthesis.speak(i),this._isReading=!0}}},{key:"createScreenShot",value:function(e){return new Promise(function(t){var n=document.createElement("canvas"),r=new Image;n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.transform="scale(0.05)",r.crossOrigin="anonymous",r.onload=d(regeneratorRuntime.mark(function e(){var i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:document.body.appendChild(n),i=n.getContext("2d"),n.width=r.naturalWi
1dth,n.height=r.naturalHeight,i.clearRect(0,0,n.width,n.height),i.drawImage(r,0,0);try{s=n.toDataURL("image/png")}catch(e){}t(s),n.remove();case 9:case"end":return e.stop()}},e)})),r.onerror=function(){t(i.Common.DEFAULT_PIXEL)},r.src=e})}},{key:"listen",value:function(){"object"===a(this._recognition)&&"function"==typeof this._recognition.stop&&this._recognition.stop(),this._speechToTextTarget=window.event.target,this.speechToText()}},{key:"read",value:function(e){try{e=window.event||e||arguments[0],e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation())}catch(e){}var t=Array.prototype.slice.call(document.querySelectorAll("._access-menu *"));for(var n in t)if(t[n]===window.event.target&&e instanceof MouseEvent)return;e instanceof KeyboardEvent&&(e.shiftKey&&"Tab"===e.key||"Tab"===e.key)?this.textToSpeech(window.event.target.innerText):this._isReading?(window.speechSynthesis.cancel(),this._isReading=!1):this.textToSpeech(window.event.target.innerText)}},{key:"runHotkey",value:function(e){"toggleMenu"===e?this.toggleMenu():"function"==typeof this.menuInterface[e]&&this._options.modules[e]&&this.menuInterface[e](!1)}},{key:"toggleMenu",value:function(){var e=this,t=this._menu.classList.contains("close");setTimeout(function(){e._menu.querySelector("ul").classList.toggle("before-collapse")},t?500:10),this._menu.classList.toggle("close"),this.options.icon.tabIndex=t?0:-1,this._menu.childNodes.forEach(function(e){e.hasChildNodes()&&e.nodeType===Node.ELEMENT_NODE&&"P"===e.tagName&&(e.tabIndex=-1)})}},{key:"invoke",value:function(e,t){"function"==typeof this.menuInterface[e]&&this.menuInterface[e](void 0,t)}},{key:"onKeyDown",value:function(e){var t=Object.entries(this.options.hotkeys.keys).find(function(t){for(var n=!0,i=0;i<t[1].length;i++)Number.isInteger(t[1][i])?e.keyCode!==t[1][i]&&(n=!1):(void 0===e[t[1][i]]||!1===e[t[1][i]])&&(n=!1);return n});void 0!==t&&this.runHotkey(t[0])}},{key:"build",value:function(){var e=this;this._stateValues={underlineLinks:!1,textToSpeech:!1,bigCursor:!1,readingGuide:!1,speechRate:1,body:{},html:{}},this._body=document.body||document.getElementsByTagName("body")[0],this._html=document.documentElement||document.getElementsByTagName("html")[0],this.options.textEmlMode&&this.initFontSize(),this.injectCss(!this.options.suppressCssInjection&&!this.options.suppressDomInjection),this.options.suppressDomInjection||(this._icon=this.injectIcon(),this._menu=this.injectMenu(),this.injectTts(),setTimeout(function(){e.addListeners(),e.disableUnsupportedModulesAndSort()},10),this.options.hotkeys.enabled&&document.addEventListener("keydown",this._onKeyDownBind,!1),this._icon.addEventListener("click",function(){e.toggleMenu()},!1),this._icon.addEventListener("keyup",function(t){"Enter"===t.key&&e.toggleMenu()},!1),setTimeout(function(){e._icon.style.opacity="1"},10)),this.updateReadGuide=function(t){var n=0;n="touchmove"===t.type?t.changedTouches[0].clientY:t.y,document.getElementById("access_read_guide_bar").style.top=n-(parseInt(e.options.guide.height.replace("px",""))+5)+"px"},this.menuInterface=new s.MenuInterface(this),this.options.session.persistent&&this.setSessionFromCache()}},{key:"updateReadGuide",value:function(e){var t=0;t="touchmove"===e.type?e.changedTouches[0].clientY:e.y,document.getElementById("access_read_guide_bar").style.top=t-(parseInt(this.options.guide.height.replace("px",""))+5)+"px"}},{key:"resetIfDefined",value:function(e,t,n){void 0!==e&&(t[n]=e)}},{key:"onChange",value:function(e){e&&this.options.session.persistent&&this.saveSession()}},{key:"saveSession",value:function(){this._storage.set("_accessState",this.sessionState)}},{key:"setSessionFromCache",value:function(){var e=this._storage.get("_accessState");if(e){if(e.textSize){var t=e.textSize;if(t>0)for(;t--;)this.alterTextSize(!0);else for(;t++;)this.alterTextSize(!1)}if(e.textSpace){var n=e.textSpace;if(n>0)for(;n--;)this.alterTextSpace(!0);else for(;n++;)this.alterTextSpace(!1)}if(e.lineHeight){var i=e.lineHeight;if(i>0)for(;i--;)this.alterLineHeight(!0);else for(;i++;)this.alterLineHeight(!1)}e.invertColors&&this.menuInterface.invertColors(),e.grayHues&&this.menuInterface.grayHues(),e.underlineLinks&&this.menuInterface.underlineLinks(),e.bigCursor&&this.menuInterface.b
1igCursor(),e.readingGuide&&this.menuInterface.readingGuide(),this.sessionState=e}}},{key:"destroy",value:function(){this._common.deployedObjects.getAll().forEach(function(e,t){var n=document.querySelector(t);n&&n.parentElement.removeChild(n)}),document.removeEventListener("keydown",this._onKeyDownBind,!1)}}],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)}}(n.prototype,t),n}();n.Accessibility=p,h(p,"CSS_CLASS_NAME","_access-main-css"),h(p,"MENU_WIDTH","25vw"),p.init=function(e){console.warn('"Accessibility.init()" is deprecated! Please use "new Accessibility()" instead'),new p(e)},n.default=p},72602,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0})},95767,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Accessibility",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(n,"AccessibilityModulesType",{enumerable:!0,get:function(){return s.AccessibilityModulesType}}),Object.defineProperty(n,"IAccessibility",{enumerable:!0,get:function(){return s.IAccessibility}}),Object.defineProperty(n,"IAccessibilityGuideOptions",{enumerable:!0,get:function(){return s.IAccessibilityGuideOptions}}),Object.defineProperty(n,"IAccessibilityHotkeysKeysOptions",{enumerable:!0,get:function(){return s.IAccessibilityHotkeysKeysOptions}}),Object.defineProperty(n,"IAccessibilityHotkeysOptions",{enumerable:!0,get:function(){return s.IAccessibilityHotkeysOptions}}),Object.defineProperty(n,"IAccessibilityIconDimensionsOptions",{enumerable:!0,get:function(){return s.IAccessibilityIconDimensionsOptions}}),Object.defineProperty(n,"IAccessibilityIconOptions",{enumerable:!0,get:function(){return s.IAccessibilityIconOptions}}),Object.defineProperty(n,"IAccessibilityIconPositionOptions",{enumerable:!0,get:function(){return s.IAccessibilityIconPositionOptions}}),Object.defineProperty(n,"IAccessibilityMenuDimensionsOptions",{enumerable:!0,get:function(){return s.IAccessibilityMenuDimensionsOptions}}),Object.defineProperty(n,"IAccessibilityMenuLabelsOptions",{enumerable:!0,get:function(){return s.IAccessibilityMenuLabelsOptions}}),Object.defineProperty(n,"IAccessibilityModulesOptions",{enumerable:!0,get:function(){return s.IAccessibilityModulesOptions}}),Object.defineProperty(n,"IAccessibilityOptions",{enumerable:!0,get:function(){return s.IAccessibilityOptions}}),Object.defineProperty(n,"IAccessibilitySessionOptions",{enumerable:!0,get:function(){return s.IAccessibilitySessionOptions}}),Object.defineProperty(n,"IMenuInterface",{enumerable:!0,get:function(){return o.IMenuInterface}}),Object.defineProperty(n,"ISessionState",{enumerable:!0,get:function(){return s.ISessionState}}),Object.defineProperty(n,"IStateValues",{enumerable:!0,get:function(){return s.IStateValues}});var i,r=(i=e.r(68949))&&i.__esModule?i:{default:i},s=e.r(84329),o=e.r(72602);"u">typeof window&&(window.Accessibility=r.default)},90017,(e,t,n)=>{"use strict";var i=1;t.exports={nextValue:function(){return(i=(9301*i+49297)%233280)/233280},seed:function(e){i=e}}},1143,(e,t,n)=>{"use strict";var i,r,s,o=e.r(90017),a="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function l(e){if(!e){i!==a&&(i=a,s=!1);return}if(e!==i){if(e.length!==a.length)throw Error("Custom alphabet for shortid must be "+a.length+" unique characters. You submitted "+e.length+" characters: "+e);var t=e.split("").filter(function(e,t,n){return t!==n.lastIndexOf(e)});if(t.length)throw Error("Custom alphabet for shortid must be "+a.length+" unique characters. These characters were not unique: "+t.join(", "));i=e,s=!1}}function c(){return s||(s=function(){i||l(a);for(var e,t=i.split(""),n=[],r=o.nextValue();t.length>0;)e=Math.floor(o.nextValue()*t.length),n.push(t.splice(e,1)[0]);return n.join("")}())}t.exports={get:function(){return i||a},characters:function(e){return l(e),i},seed:function(e){o.seed(e),r!==e&&(s=!1,r=e)},lookup:function(e){return c()[e]},shuffled:c}},13527,(e,t,n)=>{"use strict";var i="object"==typeof window&&(window.crypto||window.msCrypto);t.exports=i&&i.getRandomValues?function(e){return i.getRandomValues(new Uint8Array(e))}:function(e){for(var t=[],n=0;n<e;
1n++)t.push(Math.floor(256*Math.random()));return t}},19328,e=>{"use strict";let t=e=>crypto.getRandomValues(new Uint8Array(e)),n=(e,t,n)=>{let i=(2<<Math.log(e.length-1)/Math.LN2)-1,r=-~(1.6*i*t/e.length);return (s=t)=>{if(s<=0)return"";let o="";for(;;){let t=n(r),a=0|r;for(;a--;)if((o+=e[t[a]&i]||"").length===s)return o}}},i=(e,i=21)=>n(e,i,t),r=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");e.s(["customAlphabet",0,i,"customRandom",0,n,"nanoid",0,r,"random",0,t],45725),e.i(45725),e.s(["customAlphabet",0,i,"customRandom",0,n,"nanoid",0,r,"random",0,t,"urlAlphabet",0,"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"],19328)},66842,(e,t,n)=>{"use strict";var i=e.r(1143),r=e.r(13527),s=e.r(19328).customRandom;t.exports=function(e){for(var t,n=0,o="";!t;)o+=s(i.get(),1,r)(),t=e<Math.pow(16,n+1),n++;return o}},55267,(e,t,n)=>{"use strict";var i,r,s=e.r(66842);e.r(1143),t.exports=function(e){var t="",n=Math.floor((Date.now()-0x16d05594f0e)*.001);return n===r?i++:(i=0,r=n),t+=s(7),t+=s(e),i>0&&(t+=s(i)),t+=s(n)}},66671,(e,t,n)=>{"use strict";var i=e.r(1143);t.exports=function(e){return!!e&&"string"==typeof e&&!(e.length<6)&&!RegExp("[^"+i.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(e)}},2855,(e,t,n)=>{"use strict";t.exports=0},38755,(e,t,n)=>{"use strict";var i=e.r(1143),r=e.r(55267),s=e.r(66671),o=e.r(2855)||0;function a(){return r(o)}t.exports=a,t.exports.generate=a,t.exports.seed=function(e){return i.seed(e),t.exports},t.exports.worker=function(e){return o=e,t.exports},t.exports.characters=function(e){return void 0!==e&&i.characters(e),i.shuffled()},t.exports.isValid=s},24198,(e,t,n)=>{"use strict";t.exports=e.r(38755)},87220,(e,t,n)=>{"use strict";n.match=function(e,t){return l(e).some(function(e){var n=e.inverse,i="all"===e.type||t.type===e.type;if(i&&n||!(i||n))return!1;var r=e.expressions.every(function(e){var n=e.feature,i=e.modifier,r=e.value,s=t[n];if(!s)return!1;switch(n){case"orientation":case"scan":return s.toLowerCase()===r.toLowerCase();case"width":case"height":case"device-width":case"device-height":r=d(r),s=d(s);break;case"resolution":r=u(r),s=u(s);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":r=c(r),s=c(s);break;case"grid":case"color":case"color-index":case"monochrome":r=parseInt(r,10)||1,s=parseInt(s,10)||0}switch(i){case"min":return s>=r;case"max":return s<=r;default:return s===r}});return r&&!n||!r&&n})},n.parse=l;var i=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,s=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(i),n=t[1],o=t[2],a=t[3]||"",l={};return l.inverse=!!n&&"not"===n.toLowerCase(),l.type=o?o.toLowerCase():"all",l.expressions=(a=a.match(/\([^\)]+\)/g)||[]).map(function(e){var t=e.match(r),n=t[1].toLowerCase().match(s);return{modifier:n[1],feature:n[2],value:t[2]}}),l})}function c(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function d(e){var t=parseFloat(e);switch(String(e).match(o)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},42172,(e,t,n)=>{"use strict";var i=e.r(87220).match,r="u">typeof window?window.matchMedia:null;function s(e,t,n){var s,o=this;function a(e){o.matches=e.matches,o.media=e.media}r&&!n&&(s=r.call(window,e)),s?(this.matches=s.matches,this.media=s.media,s.addListener(a)):(this.matches=i(e,t),this.media=e),this.addListener=function(e){s&&s.addListener(e)},this.removeListener=function(e){s&&s.removeListener(e)},this.dispose=function(){s&&s.removeListener(a)}}t.exports=function(e,t,n){return new s(e,t,n)}},71285,(e,t,n)=>{!function(e){"use strict";
vendor: 4,615 bytes, line 1
1var i="function",r="undefined",s="object",o="string",a="major",l="model",c="name",u="type",d="vendor",h="version",p="architecture",f="console",m="mobile",g="tablet",y="smarttv",v="wearable",b="embedded",x="Amazon",w="Apple",S="ASUS",_="BlackBerry",k="Browser",T="Chrome",E="Firefox",j="Google",C="Honor",A="Huawei",M="Microsoft",P="Motorola",L="Nvidia",I="OnePlus",O="Opera",V="OPPO",D="Samsung",R="Sharp",N="Sony",F="Xiaomi",z="Zebra",B="Facebook",$="Chromium OS",H="Mac OS",U=" Browser",W=function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n},G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},q=function(e,t){return typeof e===o&&-1!==Y(t).indexOf(Y(e))},Y=function(e){return e.toLowerCase()},K=function(e,t){if(typeof e===o)return e=e.replace(/^\s\s*/,""),typeof t===r?e:e.substring(0,500)},X=function(e,t){for(var n,r,o,a,l,c,u=0;u<t.length&&!l;){var d=t[u],h=t[u+1];for(n=r=0;n<d.length&&!l&&d[n];)if(l=d[n++].exec(e))for(o=0;o<h.length;o++)c=l[++r],typeof(a=h[o])===s&&a.length>0?2===a.length?typeof a[1]==i?this[a[0]]=a[1].call(this,c):this[a[0]]=a[1]:3===a.length?typeof a[1]!==i||a[1].exec&&a[1].test?this[a[0]]=c?c.replace(a[1],a[2]):void 0:this[a[0]]=c?a[1].call(this,c,a[2]):void 0:4===a.length&&(this[a[0]]=c?a[3].call(this,c.replace(a[1],a[2])):void 0):this[a]=c||void 0;u+=2}},Z=function(e,t){for(var n in t)if(typeof t[n]===s&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(q(t[n][i],e))return"?"===n?void 0:n}else if(q(t[n],e))return"?"===n?void 0:n;return t.hasOwnProperty("*")?t["*"]:e},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,h],[/opios[\/ ]+([\w\.]+)/i],[h,[c,O+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[c,O+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[c,O]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[c,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[h,[c,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[c,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[c,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[c,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[c,"UC"+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[c,"Smart Lenovo "+k]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+k],h],[/\bfocus\/([\w\.]+)/i],[h,[c,E+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[c,O+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[c,O+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[c,"MIUI"+U]],[/fxios\/([\w\.-]+)/i],[h,[c,E]],[/\bqihoobrowser\/?([\w\.]*)/i],[h,[c,"360"]],[/\b(qq)\/([\w\.]+)/i],[[c,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1"+U],h],[/samsungbrowser\/([\w\.]+)/i],[h,[c,D+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[h,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[c,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[c],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[h,c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,B],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[c,"GSA"]],[/musical_ly(?:.
1+app_?version\/|_)([\w\.]+)/i],[h,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[c,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,T+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[c,"Android "+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[h,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],h],[/(wolvic|librewolf)\/([\w\.]+)/i],[c,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[c,E+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[c,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[c,[h,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[p,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[p,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[p,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[p,/ower/,"",Y]],[/ sun4\w[;\)]/i],[[p,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[p,Y]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[d,D],[u,g]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[l,[d,D],[u,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[d,w],[u,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[d,w],[u,g]],[/(macintosh);/i],[l,[d,w]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[d,R],[u,m]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[l,[d,C],[u,g]],[/honor([-\w ]+)[;\)]/i],[l,[d,C],[u,m]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[l,[d,A],[u,g]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[d,A],[u,m]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[l,/_/g," "],[d,F],[u,g]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[l,/_/g," "],[d,F],[u,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[d,V],[u,m]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[l,[d,Z,{OnePlus:["304","403","203"],"*":V}],[u,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[d,"Vivo"],[u,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[d,"Realme"],[u,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[d,P],[u,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[d,P],[u,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[d,"LG"],[u,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[d,"LG"],[u,m]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}
1(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[l,[d,"Lenovo"],[u,g]],[/(nokia) (t[12][01])/i],[d,l,[u,g]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[l,/_/g," "],[u,m],[d,"Nokia"]],[/(pixel (c|tablet))\b/i],[l,[d,j],[u,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[d,j],[u,m]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[d,N],[u,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[d,N],[u,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[d,I],[u,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[d,x],[u,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[d,x],[u,m]],[/(playbook);[-\w\),; ]+(rim)/i],[l,d,[u,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[d,_],[u,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[d,S],[u,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[d,S],[u,m]],[/(nexus 9)/i],[l,[d,"HTC"],[u,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[l,/_/g," "],[u,m]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[l,[d,"TCL"],[u,g]],[/(itel) ((\w+))/i],[[d,Y],l,[u,Z,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[d,"Acer"],[u,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[d,"Meizu"],[u,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[d,"Ulefone"],[u,m]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[l,[d,"Energizer"],[u,m]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[l,[d,"Cat"],[u,m]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[l,[d,"Smartfren"],[u,m]],[/droid.+; (a(?:015|06[35]|142p?))/i],[l,[d,"Nothing"],[u,m]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[l,[d,"Archos"],[u,g]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[l,[d,"Archos"],[u,m]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[d,l,[u,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[d,l,[u,m]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,l,[u,g]],[/(surface duo)/i],[l,[d,M],[u,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[d,"Fairphone"],[u,m]],[/(u304aa)/i],[l,[d,"AT&T"],[u,m]],[/\bsie-(\w*)/i],[l,[d,"Siemens"],[u,m]],[/\b(rct\w+) b/i],[l,[d,"RCA"],[u,g]],[/\b(venue[\d ]{2,7}) b/i],[l,[d,"Dell"],[u,g]],[/\b(q(?:mv|ta)\w+) b/i],[l,[d,"Verizon"],[u,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[d,"Barnes & Noble"],[u,g]],[/\b(tm\d{3}\w+) b/i],[l,[d,"NuVision"],[u,g]],[/\b(k88) b/i],[l,[d,"ZTE"],[u,g]],[/\b(nx\d{3}j) b/i],[l,[d,"ZTE"],[u,m]],[/\b(gen\d{3}) b.+49h/i],[l,[d,"Swiss"],[u,m]],[/\b(zur\d{3}) b/i],[l,[d,"Swiss"],[u,g]],[/\b((zeki)?tb.*\b) b/i],[l,[d,"Zeki"],[u,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],l,[u,g]],[/\b(ns-?\w{0,9}) b/i],[l,[d,"Insignia"],[u,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[d,"NextBook"],[u,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],l,[u,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],l,[u,m]],[/\b(ph-1) /i],[l,[d,"Essential"],[u,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[d,"Envizen"],[u,g]],[/\b(trio[-\w\. ]+) b/i],[l,[d,"MachSpeed"],[u,g]],[/\btu_(1491) b/i],[l,[d,"Rotor"],[u,g]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[l,[d,L],[u,g]],[/(sprint) (\w+)/i],[d,l,[u,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[d,M],[u,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[d,z],[u,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[d,z],[u,m]],[/smart-tv.+(samsung)/i],[d,[u,y]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[d,D],[u,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,"LG"],[u,y]],[/(apple) ?tv/i],[d,[l,w+" TV"],[u,y]],[/crkey/i],[[l,T+"cast"],[d,j],[u,y]],[/droid.+aft(\w+)( bui|\))/i],[l,[d,x],[u,y]],[/(shield \w+ tv)/i],[l,[d,L],[u,y]],[/\
vendor: 11,829 bytes, line 1
1(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[d,R],[u,y]],[/(bravia[\w ]+)( bui|\))/i],[l,[d,N],[u,y]],[/(mi(tv|box)-?\w+) bui/i],[l,[d,F],[u,y]],[/Hbbtv.*(technisat) (.*);/i],[d,l,[u,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,K],[l,K],[u,y]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[l,[u,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,l,[u,f]],[/droid.+; (shield)( bui|\))/i],[l,[d,L],[u,f]],[/(playstation \w+)/i],[l,[d,N],[u,f]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[d,M],[u,f]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[l,[d,D],[u,v]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[d,l,[u,v]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[l,[d,V],[u,v]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[d,w],[u,v]],[/(opwwe\d{3})/i],[l,[d,I],[u,v]],[/(moto 360)/i],[l,[d,P],[u,v]],[/(smartwatch 3)/i],[l,[d,N],[u,v]],[/(g watch r)/i],[l,[d,"LG"],[u,v]],[/droid.+; (wt63?0{2,3})\)/i],[l,[d,z],[u,v]],[/droid.+; (glass) \d/i],[l,[d,j],[u,v]],[/(pico) (4|neo3(?: link|pro)?)/i],[d,l,[u,v]],[/; (quest( \d| pro)?)/i],[l,[d,B],[u,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,b]],[/(aeobc)\b/i],[l,[d,x],[u,b]],[/(homepod).+mac os/i],[l,[d,w],[u,b]],[/windows iot/i],[[u,b]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[u,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[u,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,m]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[l,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[c,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[c,h],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[c,h],[/ladybird\//i],[[c,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,h],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[c,[h,Z,Q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,Z,Q],[c,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,H],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,c],[/(ubuntu) ([\w\.]+) like android/i],[[c,/(.+)/,"$1 Touch"],h],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[c,h],[/\(bb(10);/i],[h,[c,_]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[h,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[c,E+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[c,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,$],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,h],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[c,h]]},ee=function(t,n){if(typeof t===s&&(n=t,t=void 0),!(this instanceof ee))return new ee(t,n).getResult();var f=typeof e!==r&&e.navigator?e.navigator:void 0,y=t||(f&&f.userAgent?f.userAgent:""),v=f&&f.userAgentData?f.userAgentData:void 0,b=n?W(J,n):J,x=f&&f.userAgent==y;return this.getBrowser=function(){var e,t={};return t[c]=void 0,t[h]=void 0,X.call(t,y,b.browser),t[a]=typeof(e=t[h])===o?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,x&&f&&f.brave&&typeof f.brave.isBrave==i&&(t[c]="Brave"),t},this.getCPU=function(){var e={};return e[p]=void 0,X.call(e,y,b.cpu),e},this.getDevice=function(){var e={};return e[d]=void 0,e[l]=void 0,e[u]=void 0,X.call(e,y,b.device),x&&!e[u]&&v&&v.mobile&&(e[u]=m),x&&"Macintosh"==e[l]&&f&&typeof f.standalone!==r&&f.maxTouchPoints&&f.maxTouchPoints>2&&(e[l]="iPad",e[u]=g),e},this.getEngine=function(){var e={};return e[c]=void 0,e[h]=void 0,X.call(e,y,b.engine),e},this.getOS=function(){var e={};return e[c]=void 0,e[h]=void 0,X.call(e,y,b.os),x&&!e[c]&&v&&v.platform&&"Unknown"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,$).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return y},this.setUA=function(e){return y=typeof e===o&&e.length>500?K(e,500):e,this},this.setUA(y),this};ee.VERSION="1.0.41",ee.BROWSER=G([c,h,a]),ee.CPU=G([p]),ee.DEVICE=G([l,d,u,f,m,y,g,v,b]),ee.ENGINE=ee.OS=G([c,h]),t.exports&&(n=t.exports=ee),n.UAParser=ee;var et=typeof e!==r&&(e.jQuery||e.Zepto);if(et&&!et.ua){var en=new ee;et.ua=en.getResult(),et.ua.get=function(){return en.getUA()},et.ua.set=function(e){en.setUA(e);var t=en.getResult();for(var n in t)et.ua[n]=t[n]}}}("object"==typeof window?window:e.e)},63872,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e.r(91788),r=i&&"object"==typeof i&&"default"in i?i.default:i,s=e.r(71285),o=new s,a=o.getBrowser(),l=o.getCPU(),c=o.getDevice(),u=o.getEngine(),d=o.getOS(),h=o.getUA(),p=function(e){return o.setUA(e)},f=function(e){if(!e)return void console.error("No userAgent string was provided");var t=new s(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}},m=Object.freeze({ClientUAInstance:o,browser:a,cpu:l,device:c,engine:u,os:d,ua:h,setUa:p,parseUserAgent:f});function g(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 y(e){return(y="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 v(){return(v=Object.assign||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)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function S(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}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}var k="mobile",T="tablet",E="smarttv",j="console",C="wearable",A="embedded",M=void 0,P={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},L={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},I={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},O=function(e){switch(e){case k:return{isMobile:!0};case T:return{isTablet:!0};case E:return{isSmartTV:!0};case j:return{isConsole:!0};case C:return{isWearable:!0};case M:return{isBrowser:!0};case A:return{isEmbedded:!0};default:return I}},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},D=function(){return"u">typeof window&&(window.navigator||navigator)},R=function(e){var t=D();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},N=function(e){return e.type===k},F=function(e){return e.type===T},z=function(e){var t=e.type;return t===k||t===T},B=function(e){return e.type===E},$=function(e){return e.type===M},H=function(e){return e.type===C},U=function(e){return e.type===j},W=function(e){return e.type===A},G=function(e){return V(e.vendor)},q=function(e){return V(e.model)},Y=function(e){return V(e.type,"browser")},K=function(e){return e.name===L.Android},X=function(e){return e.name===L.Windows},Z=function(e){return e.name===L.MAC_OS},Q=function(e){return e.name===L.WindowsPhone},J=function(e){return e.name===L.IOS},ee=function(e){return V(e.version)},et=function(e){return V(e.name)},en=function(e){return e.name===P.Chrome},ei=function(e){return e.name===P.Firefox},er=function(e){return e.name===P.Chromium},es=function(e){return e.name===P.Edge},eo=function(e){return e.name===P.Yandex},ea=function(e){var t=e.name;return t===P.Safari||t===P.MobileSafari},el=function(e){return e.name===P.MobileSafari},ec=function(e){return e.name===P.Opera},eu=function(e){var t=e.name;return t===P.InternetExplorer||t===P.Ie},ed=function(e){return e.name===P.MIUI},eh=function(e){return e.name===P.SamsungBrowser},ep=function(e){return V(e.version)},ef=function(e){return V(e.major)},em=function(e){return V(e.name)},eg=function(e){return V(e.name)},ey=function(e){return V(e.version)},ev=function(){var e=D(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},eb=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},ex=function(){var e=D();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},ew=function(){return R("iPad")},eS=function(){return R("iPhone")},e_=function(){return R("iPod")},ek=function(e){return V(e)};function eT(e){var t=e||m,n=t.device,i=t.browser,r=t.os,s=t.engine,o=t.ua;return{isSmartTV:B(n),isConsole:U(n),isWearable:H(n),isEmbedded:W(n),isMobileSafari:el(i)||ew(),isChromium:er(i),isMobile:z(n)||ew(),isMobileOnly:N(n),isTablet:F(n)||ew(),isBrowser:$(n),isDesktop:$(n),isAndroid:K(r),isWinPhone:Q(r),isIOS:J(r)||ew(),isChrome:en(i),isFirefox:ei(i),isSafari:ea(i),isOpera:ec(i),isIE:eu(i),osVersion:ee(r),osName:et(r),fullBrowserVersion:ep(i),browserVersion:ef(i),browserName:em(i),mobileVendor:G(n),mobileModel:q(n),engineName:eg(s),engineVersion:ey(s),getUA:ek(o),isEdge:es(i)||eb(o),isYandex:eo(i),deviceType:Y(n),isIOS13:ex(),isIPad13:ew(),isIPhone13:eS(),isIPod13:e_(),isElectron:ev(),isEdgeChromium:eb(o),isLegacyEdge:es(i)&&!eb(o),isWindows:X(r),isMacOs:Z(r),isMIUI:ed(i),isSamsungBrowser:eh(i)}}
1var eE=B(c),ej=U(c),eC=H(c),eA=W(c),eM=el(a)||ew(),eP=er(a),eL=z(c)||ew(),eI=N(c),eO=F(c)||ew(),eV=$(c),eD=$(c),eR=K(d),eN=Q(d),eF=J(d)||ew(),ez=en(a),eB=ei(a),e$=ea(a),eH=ec(a),eU=eu(a),eW=ee(d),eG=et(d),eq=ep(a),eY=ef(a),eK=em(a),eX=G(c),eZ=q(c),eQ=eg(u),eJ=ey(u),e0=ek(h),e1=es(a)||eb(h),e2=eo(a),e3=Y(c),e5=ex(),e4=ew(),e6=eS(),e9=e_(),e8=ev(),e7=eb(h),te=es(a)&&!eb(h),tt=X(d),tn=Z(d),ti=ed(a),tr=eh(a);function ts(e){return f(e||window.navigator.userAgent)}n.AndroidView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eR?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.BrowserTypes=P,n.BrowserView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eV?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.ConsoleView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return ej?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.CustomView=function(e){var t=e.renderWithFragment,n=e.children,s=(e.viewClassName,e.style,e.condition),o=w(e,["renderWithFragment","children","viewClassName","style","condition"]);return s?t?r.createElement(i.Fragment,null,n):r.createElement("div",o,n):null},n.IEView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eU?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.IOSView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eF?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.MobileOnlyView=function(e){var t=e.renderWithFragment,n=e.children,s=(e.viewClassName,e.style,w(e,["renderWithFragment","children","viewClassName","style"]));return eI?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.MobileView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eL?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.OsTypes=L,n.SmartTVView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eE?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.TabletView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eO?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.WearableView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eC?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.WinPhoneView=function(e){var t=e.renderWithFragment,n=e.children,s=w(e,["renderWithFragment","children"]);return eN?t?r.createElement(i.Fragment,null,n):r.createElement("div",s,n):null},n.browserName=eK,n.browserVersion=eY,n.deviceDetect=function(e){var t,n,i,r,s=e?f(e):m,o=s.device,a=s.browser,l=s.engine,c=s.os,u=s.ua,d=O(o.type),h=d.isBrowser,p=d.isMobile,y=d.isTablet,v=d.isSmartTV,b=d.isConsole,x=d.isWearable,w=d.isEmbedded;if(h)return{isBrowser:h,browserMajorVersion:V(a.major),browserFullVersion:V(a.version),browserName:V(a.name),engineName:V(l.name),engineVersion:V(l.version),osName:V(c.name),osVersion:V(c.version),userAgent:V(u)};if(v)return{isSmartTV:v,engineName:V(l.name),engineVersion:V(l.version),osName:V(c.name),osVersion:V(c.version),userAgent:V(u)};if(b)return{isConsole:b,engineName:V(l.name),engineVersion:V(l.version),osName:V(c.name),osVersion:V(c.version),userAgent:V(u)};if(p||y){return t=d,n=o,i=c,r=u,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){var i,r,s;i=e,r=t,s=n[t],r in i?Object.defineProperty(i,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[r]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{vendor:V(n.vendor),model:V(n.model),os:V(i.name),osVersion:V(i.version),ua:V(r)})}return x?{isWearable:x,engineName:V(l.name),engineVersion:V(l.version),osName:V(c.name),osVersion:V(c.version),userAgent:V(u)}:w?{isEmbedded:w,vendor:V(o.vendor),model:V(o.model),engineName:V(l.name),engineVersion:V(l.version),osName:V(c.name),osVersion:V(c.version),userAgent:V(u)}:void 0},n.deviceType=e3,n.engineName=eQ,n.engineVersion=eJ,n.fullBrowserVersion=eq,n.getSelectorsByUserAgent=function(e){if(!e||"string"!=typeof e)return void console.error("No valid user agent string was provided");var t=f(e);return eT({device:t.device,browser:t.browser,os:t.os,engine:t.engine,ua:t.ua})},n.getUA=e0,n.isAndroid=eR,n.isBrowser=eV,n.isChrome=ez,n.isChromium=eP,n.isConsole=ej,n.isDesktop=eD,n.isEdge=e1,n.isEdgeChromium=e7,n.isElectron=e8,n.isEmbedded=eA,n.isFirefox=eB,n.isIE=eU,n.isIOS=eF,n.isIOS13=e5,n.isIPad13=e4,n.isIPhone13=e6,n.isIPod13=e9,n.isLegacyEdge=te,n.isMIUI=ti,n.isMacOs=tn,n.isMobile=eL,n.isMobileOnly=eI,n.isMobileSafari=eM,n.isOpera=eH,n.isSafari=e$,n.isSamsungBrowser=tr,n.isSmartTV=eE,n.isTablet=eO,n.isWearable=eC,n.isWinPhone=eN,n.isWindows=tt,n.isYandex=e2,n.mobileModel=eZ,n.mobileVendor=eX,n.osName=eG,n.osVersion=eW,n.parseUserAgent=f,n.setUserAgent=function(e){return p(e)},n.useDeviceData=ts,n.useDeviceSelectors=function(e){var t=ts(e||window.navigator.userAgent);return[eT(t),t]},n.useMobileOrientation=function(){var e,t=function(e){if(Array.isArray(e))return e}(e=i.useState(function(){var e=90*(window.innerWidth>window.innerHeight);return{isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"}}))||function(e){var t,n,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var r=[],s=!0,o=!1;try{for(i=i.call(e);!(s=(t=i.next()).done)&&(r.push(t.value),2!==r.length);s=!0);}catch(e){o=!0,n=e}finally{try{s||null==i.return||i.return()}finally{if(o)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return _(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(e,2)}}
1(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1],s=i.useCallback(function(){var e=90*(window.innerWidth>window.innerHeight),t={isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"};n.orientation!==t.orientation&&r(t)},[n.orientation]);return i.useEffect(function(){return("u"<typeof window?"undefined":y(window))!==void 0&&eL&&(s(),window.addEventListener("load",s,!1),window.addEventListener("resize",s,!1)),function(){window.removeEventListener("resize",s,!1),window.removeEventListener("load",s,!1)}},[s]),n},n.withOrientationChange=function(e){return function(t){var n;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function i(e){var t;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return(t=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return S(e)}(this,b(i).call(this,e))).isEventListenerAdded=!1,t.handleOrientationChange=t.handleOrientationChange.bind(S(t)),t.onOrientationChange=t.onOrientationChange.bind(S(t)),t.onPageLoad=t.onPageLoad.bind(S(t)),t.state={isLandscape:!1,isPortrait:!1},t}return i.prototype=Object.create(t&&t.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),t&&x(i,t),n=[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=90*(window.innerWidth>window.innerHeight);this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){("u"<typeof window?"undefined":y(window))!==void 0&&eL&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return r.createElement(e,v({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}],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)}}(i.prototype,n),i}(r.Component)}},46966,75907,60997,49893,15041,e=>{"use strict";function t(){return(t=Object.assign.bind()).apply(null,arguments)}function n(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}e.s(["default",()=>t],75907),e.s(["default",0,n],60997);var i=e.i(91788);function r(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}e.s(["default",0,function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}],49893),e.i(92072),e.s([],46966),e.s(["useUncontrolled",0,function(e,o){return Object.keys(o).reduce(function(a,l){var c,u,d,h,p,f,m,g,y=a[r(l)],v=a[l],b=n(a,[r(l),l].map(s)),x=o[l],w=(c=e[x],u=(0,i.useRef)(void 0!==v),h=(d=(0,i.useState)(y))[0],p=d[1],f=void 0!==v,m=u.current,u.current=f,!f&&m&&h!==y&&p(y),[f?v:h,(0,i.useCallback)(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];c&&c.apply(void 0,[e].concat(n)),p(e)},[c])]),S=w[0],_=w[1];return t({},b,((g={})[l]=S,g[x]=_,g))},e)}],15041)},72287,51096,84424,10004,51266,e=>{"use strict";let t,n,i;var r,s=e.i(50461),o=e.i(91398),a=e.i(91788),l=e.i(41158),c=e.i(92782);e.i(47620);var u=e.i(71179),d=e.i(60814),h=e.i(24198);let p=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],f=new Set([...p,"pathRotation"]),m=(e,t,n
1)=>n>t?t:n<e?e:n,g={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},y={...g,transform:e=>m(0,1,e)},v={...g,default:1},b=e=>Math.round(1e5*e)/1e5,x=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,w=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,S=(e,t)=>n=>!!("string"==typeof n&&w.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),_=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[r,s,o,a]=i.match(x);return{[e]:parseFloat(r),[t]:parseFloat(s),[n]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},k={...g,transform:e=>Math.round(m(0,255,e))},T={test:S("rgb","red"),parse:_("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+k.transform(e)+", "+k.transform(t)+", "+k.transform(n)+", "+b(y.transform(i))+")"},E={test:S("#"),parse:function(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:T.transform},j=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),C=j("deg"),A=j("%"),M=j("px"),P=j("vh"),L=j("vw"),I={...A,parse:e=>A.parse(e)/100,transform:e=>A.transform(100*e)},O={test:S("hsl","hue"),parse:_("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+A.transform(b(t))+", "+A.transform(b(n))+", "+b(y.transform(i))+")"},V={test:e=>T.test(e)||E.test(e)||O.test(e),parse:e=>T.test(e)?T.parse(e):O.test(e)?O.parse(e):E.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?T.transform(e):O.transform(e),getAnimatableNone:e=>{let t=V.parse(e);return t.alpha=0,V.transform(t)}},D=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,R="number",N="color",F=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function z(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[],s=0,o=t.replace(F,e=>(V.test(e)?(i.color.push(s),r.push(N),n.push(V.parse(e))):e.startsWith("var(")?(i.var.push(s),r.push("var"),n.push(e)):(i.number.push(s),r.push(R),n.push(parseFloat(e))),++s,"${}")).split("${}");return{values:n,split:o,indexes:i,types:r}}function B({split:e,types:t}){let n=e.length;return i=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==i[s]){let e=t[s];e===R?r+=b(i[s]):e===N?r+=V.transform(i[s]):r+=i[s]}return r}}let $={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(x)?.length||0)+(e.match(D)?.length||0)>0},parse:function(e){return z(e).values},createTransformer:function(e){return B(z(e))},getAnimatableNone:function(e){let t=z(e);return B(t)(t.values.map((e,n)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:V.test(e)?V.getAnimatableNone(e):e)(e,t.split[n])))}},H=new Set(["brightness","contrast","saturate","opacity"]);function U(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=n.match(x)||[];if(!i)return e;let r=n.replace(i,""),s=+!!H.has(t);return i!==n&&(s*=100),t+"("+s+r+")"}let W=/\b([a-z-]*)\(.*?\)/gu,G={...$,getAnimatableNone:e=>{let t=e.match(W);return t?t.map(U).join(" "):e}},q={...$,getAnimatableNone:e=>{let t=$.parse(e);return $.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},Y={...g,transform:Math.round},K={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,top:M,right:M,bottom:M,left:M,inset:M,insetBlock:M,insetBlockStart:M,insetBlockEnd:M,insetInline:M,insetInlineStart:M,insetInlineEnd:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,paddingBlock:M,paddingBlockStart:M,paddingBlockEnd:M,paddingInline:M,paddingInlineStart:M,paddingInlineEnd:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,marginBlock:M,marginBlockStart:M,marginBlockEnd:M,marginInline:M,marginInlineStart:M,marginInlineEnd:M,fontSize:M,backgroundPositionX:M,backgroundPositionY:M,rotate:C,pathRotation:C,rotateX:C,rotateY:C,rotateZ:C,scale:v,scaleX:v,scaleY:v,scaleZ:v,skew:C,skewX:C,skewY:C,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:y,originX:I,originY:I,originZ:M,zIndex:Y,fillOpacity:y,strokeOpacity:y,numOctaves:Y}
1,X={...K,color:V,backgroundColor:V,outlineColor:V,fill:V,stroke:V,borderColor:V,borderTopColor:V,borderRightColor:V,borderBottomColor:V,borderLeftColor:V,filter:G,WebkitFilter:G,mask:q,WebkitMask:q},Z=e=>X[e],Q=()=>({translate:0,scale:1,origin:0,originPoint:0}),J=()=>({x:Q(),y:Q()}),ee=()=>({min:0,max:0}),et=()=>({x:ee(),y:ee()}),en=e=>!!(e&&e.getVelocity),ei=new Set(["width","height","top","left","right","bottom",...p]),er=e=>t=>t.test(e),es=[g,M,A,C,L,P,{test:e=>"auto"===e,parse:e=>e}],eo=e=>es.find(er(e)),ea=()=>{},el=()=>{};s.default;let ec=e=>t=>"string"==typeof t&&t.startsWith(e),eu=ec("--"),ed=ec("var(--"),eh=e=>!!ed(e)&&ep.test(e.split("/*")[0].trim()),ep=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ef(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let em=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eg=e=>180*e/Math.PI,ey=e=>eb(eg(Math.atan2(e[1],e[0]))),ev={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ey,rotateZ:ey,skewX:e=>eg(Math.atan(e[1])),skewY:e=>eg(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eb=e=>((e%=360)<0&&(e+=360),e),ex=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ew=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ex,scaleY:ew,scale:e=>(ex(e)+ew(e))/2,rotateX:e=>eb(eg(Math.atan2(e[6],e[5]))),rotateY:e=>eb(eg(Math.atan2(-e[2],e[0]))),rotateZ:ey,rotate:ey,skewX:e=>eg(Math.atan(e[4])),skewY:e=>eg(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function e_(e){return+!!e.includes("scale")}function ek(e,t){let n,i;if(!e||"none"===e)return e_(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)n=eS,i=r;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=ev,i=t}if(!i)return e_(t);let s=n[t],o=i[1].split(",").map(eT);return"function"==typeof s?s(o):o[s]}function eT(e){return parseFloat(e.trim())}let eE=e=>e===g||e===M,ej=new Set(["x","y","z"]),eC=p.filter(e=>!ej.has(e)),eA={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:i})=>{let r=e.max-e.min;return"border-box"===i?r:r-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:i})=>{let r=e.max-e.min;return"border-box"===i?r:r-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:(e,{transform:t})=>ek(t,"x"),y:(e,{transform:t})=>ek(t,"y")};eA.translateX=eA.x,eA.translateY=eA.y;let eM=e=>e,eP={},eL=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eI(e,t){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=eL.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,i=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(t){s.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,r=!1,o=!1)=>{let a=o&&i?t:n;return r&&s.add(e),a.add(e),e},cancel:e=>{n.delete(e),s.delete(e)},process:e=>{if(o=e,i){r=!0;return}i=!0;let s=t;t=n,n=s,t.forEach(a),t.clear(),i=!1,r&&(r=!1,l.process(e))}};return l}(s),e),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:p,postRender:f}=o,m=()=>{let s=eP.useManualTiming,o=s?r.timestamp:performance.now();n=!1,s||(r.delta=i?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),c.process(r),u.process(r),d.process(r),h.process(r),p.process(r),f.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(m))};return{schedule:eL.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!n&&(n=!0,i=!0,r.isProcessing||e(m)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eL.length;t++)o[eL[t]].cancel(e)},state:r,steps:o}}let{schedule:eO,cancel:eV,state:eD,steps:eR}=eI("u">typeof requestAnimationFrame?requestAnimationFrame:eM,!0),eN=new Set,eF=!1,ez=!1,eB=!1;function e$(){if(ez){let e=Array.from(eN).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t,i=(t=[],eC.forEach(n=>{let i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(+!!n.startsWith("scale")))}),t);i.length&&(n.set(e,i),e.render())}
1),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}ez=!1,eF=!1,eN.forEach(e=>e.complete(eB)),eN.clear()}function eH(){eN.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ez=!0)})}class eU{constructor(e,t,n,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eN.add(this),eF||(eF=!0,eO.read(eH),eO.resolveKeyframes(e$))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;if(null===e[0]){let r=i?.get(),s=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){let i=n.readValue(t,s);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=s),i&&void 0===r&&i.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eN.delete(this)}cancel(){"scheduled"===this.state&&(eN.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eW=new Set([G,q]);function eG(e,t){let n=Z(e);return eW.has(n)||(n=$),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let eq=new Set(["auto","none","0"]);class eY extends eU{constructor(e,t,n,i,r){super(e,t,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let i=e[n];if("string"==typeof i&&eh(i=i.trim())){let r=function e(t,n,i=1){el(`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,s]=function(e){let t=em.exec(e);if(!t)return[,];let[,n,i,r]=t;return[`--${n??i}`,r]}(t);if(!r)return;let o=window.getComputedStyle(n).getPropertyValue(r);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return eh(s)?e(s,n,i+1):s}(i,t.current);void 0!==r&&(e[n]=r),n===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!ei.has(n)||2!==e.length)return;let[i,r]=e,s=eo(i),o=eo(r);if(ef(i)!==ef(r)&&eA[n]){this.needsMeasurement=!0;return}if(s!==o)if(eE(s)&&eE(o))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else eA[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&n.push(t);n.length&&function(e,t,n){let i,r=0;for(;r<e.length&&!i;){let t=e[r];"string"==typeof t&&!eq.has(t)&&z(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=eG(n,i)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eA[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let i=e.getValue(t);i&&i.jump(this.measuredOrigin,!1);let r=n.length-1,s=n[r];n[r]=eA[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}let eK=e=>1e3*e;function eX(e,t){-1===e.indexOf(t)&&e.push(t)}function eZ(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class eQ{constructor(){this.subscriptions=[]}add(e){return eX(this.subscriptions,e),()=>eZ(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 i=this.subscriptions[r];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eJ(e,t,n){t.startsWith("--")?e.style.setProperty(t,n):e.style[t]=n}function e0(e){let t;return()=>(void 0===t&&(t=e()),t)}let e1={};function e2(e,t){let n=e0(e);return()=>e1[t]??n()}let e3=e2(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),e5=e=>null!==e;function e4(e,{repeat:t,repeatType:n="loop"},i,r=1){let s=e.filter(e5),o=r<0||t&&"loop"!==n&&t%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}class e6{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e9=e=>Array.isArray(e)&&"number"==typeof e[0],e8=e2(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e7=(e,t,n=10)=>{let i="",r=Math.max(Math.round(t/n),2);for(let t=0;t<r;t++)i+=Math.round(1e4*e(t/(r-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},te=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,tt={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:te([0,.65,.55,1]),circOut:te([.55,0,1,.45]),backIn:te([.31,.01,.66,-.59]),backOut:te([.33,1.53,.69,.99])};function tn(e){return"function"==typeof e&&"applyToOptions"in e}class ti extends e6{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=e,el(e.type);const l=function({type:e,...t}){return tn(e)&&e8()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c){let u={[t]:n};l&&(u.offset=l);let d=function e(t,n){if(t)return"function"==typeof t?e8()?e7(t,n):"ease-out":e9(t)?te(t):Array.isArray(t)?t.map(t=>e(t,n)||tt.easeOut):tt[t]}(a,r);Array.isArray(d)&&(u.easing=d);let h={delay:i,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}(t,n,i,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let e=e4(i,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eJ(t,n,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eK(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:i}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&e3())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),eM):i(this)}}let tr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:ts}=eI(queueMicrotask,!1);function to(){t=void 0}let ta={now:()=>(void 0===t&&ta.set(eD.isProcessing||eP.useManualTiming?eD.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(to)}},tl=(e,t)=>t?1e3/t*e:0,tc;class tu{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=ta.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=ta.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eQ);let n=this.events[e].add(t);return"change"===e?()=>{n(),eO.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}
1setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return tc&&tc.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=ta.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tl(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function td(e,t){return new tu(e,t)}let th=[...es,V,$],tp=new WeakMap;function tf(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tm(e){return"string"==typeof e||Array.isArray(e)}let tg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ty=["initial",...tg];function tv(e){return tf(e.animate)||ty.some(t=>tm(e[t]))}function tb(e){return!!(tv(e)||e.variants)}let tx={current:null},tw={current:!1},tS="u">typeof window;function t_(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function tk(e,t,n,i){if("function"==typeof t){let[r,s]=t_(i);t=t(void 0!==n?n:e.custom,r,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[r,s]=t_(i);t=t(void 0!==n?n:e.custom,r,s)}return t}let tT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tE={};class tj{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=eU,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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.renderScheduledAt=0,this.scheduleRender=()=>{let e=ta.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eO.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=tv(t),this.isVariantNode=tb(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&en(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tp.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tw.current||function(){if(tw.current=!0,tS)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tx.current=e.matches;e.addEventListener("change",t),t()}else tx.current=!1}(),this.shouldReduceMotion=tx.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eV(this.notifyUpdate),eV(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let n;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&tr.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:i,times:r,ease:s,duration:o}=t.accelerate,a=new ti({element:this.current,name:e,keyframes:i,times:r,ease:s,duration:eK(o)}),l=n(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let i=f.has(e);i&&this.onBindTransform&&this.onBindTransform();let r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eO.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),n&&n()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tE){let t=tE[e];if(!t)continue;let{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):et()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tT.length;t++){let n=tT[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){for(let i in t){let r=t[i],s=n[i];if(en(r))e.addValue(i,r);else if(en(s))e.addValue(i,td(r,{owner:e}));else if(s!==r)if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(i);e.addValue(i,td(void 0!==t?t:r,{owner:e}))}}for(let i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);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=td(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){let i,r;if("string"==typeof n&&(i=n,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i)||(r=n,/^0[^.\s]+$/u.test(r))))n=parseFloat(n);else{let i;i=n,!th.find(er(i))&&$.test(t)&&(n=eG(e,t))}this.setBaseTarget(e,en(n)?n.get():n)}return en(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=tk(this.props,n,this.presenceContext?.custom);i&&(t=i[e])}if(n&&void 0!==t)return t;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||en(i)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new eQ),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){ts.render(this.render)}}class tC extends tj{constructor(){super(...arguments),this.KeyframeResolver=eY}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;en(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tA(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tM=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tL=p.length;function tI(e,t,n){let{style:i,vars:r,transformOrigin:s}=e,o=!1,a=!1;for(let e in t){let n=t[e];if(f.has(e)){o=!0;continue}if(eu(e)){r[e]=n;continue}{let t=tM(n,K[e]);e.startsWith("origin")?(a=!0,s[e]=t):i[e]=t}}if(!t.transform&&(o||n?i.transform=function(e,t,n){let i="",r=!0;for(let s=0;s<tL;s++){let o=p[s],a=e[o];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===+!!o.startsWith("scale");else{let e=parseFloat(a);l=o.startsWith("scale")?1===e:0===e}if(!l||n){let e=tM(a,K[o]);if(!l){r=!1;let t=tP[o]||o;i+=`${t}(${e}) `}n&&(t[o]=e)}}let s=e.pathRotation;return s&&(r=!1,i+=`rotate(${tM(s,K.pathRotation)}) `),i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}(t,e.transform,n):i.transform&&(i.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}let tO={offset:"stroke-dashoffset",array:"stroke-dasharray"},tV={offset:"strokeDashoffset",array:"strokeDasharray"},tD=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tR(e,{attrX:t,attrY:n,attrScale:i,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,c,u){if(tI(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete d.transformBox),tD))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==i&&(d.scale=i),void 0!==r&&function(e,t,n=1,i=0,r=!0){e.pathLength=1;let s=r?tO:tV;e[s.offset]=`${-i}`,e[s.array]=`${t} ${n}`}(d,r,s,o,!1)}let tN=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tF=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tz(e,{style:t,vars:n},i,r){let s,o=e.style;for(s in t)o[s]=t[s];for(s in r?.applyProjectionStyles(o,i),n)o.setProperty(s,n[s])}let tB=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function t$(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tH={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!M.test(e))return e;else e=parseFloat(e);let n=t$(e,t.target.x),i=t$(e,t.target.y);return`${n}% ${i}%`}},tU=(e,t,n)=>e+(t-e)*n,tW={borderRadius:{...tH,applyTo:[...tB]},borderTopLeftRadius:tH,borderTopRightRadius:tH,borderBottomLeftRadius:tH,borderBottomRightRadius:tH,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let i=$.parse(e);if(i.length>5)return e;let r=$.createTransformer(e),s=+("number"!=typeof i[0]),o=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=o,i[1+s]/=a;let l=tU(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),r(i)}}};function tG(e,{layout:t,layoutId:n}){return f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!tW[e]||"opacity"===e)}function tq(e,t,n){let i=e.style,r=t?.style,s={};if(!i)return s;for(let t in i)(en(i[t])||r&&en(r[t])||tG(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(s[t]=i[t]);return s}function tY(e,t,n){let i=tq(e,t,n);for(let n in e)(en(e[n])||en(t[n]))&&(i[-1!==p.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return i}class tK extends tC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=et}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(f.has(t)){let e=Z(t);return e&&e.default||0}return t=tN.has(t)?t:tA(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return tY(e,t,n)}
1build(e,t,n){tR(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,i){for(let n in tz(e,t,void 0,i),t.attrs)e.setAttribute(tN.has(n)?n:tA(n),t.attrs[n])}mount(e){this.isSVGTag=tF(e.tagName),super.mount(e)}}function tX({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function tZ(e){return void 0===e||1===e}function tQ({scale:e,scaleX:t,scaleY:n}){return!tZ(e)||!tZ(t)||!tZ(n)}function tJ(e){return tQ(e)||t0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function t0(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function t1(e,t,n,i,r){return void 0!==r&&(e=i+r*(e-i)),i+n*(e-i)+t}function t2(e,t=0,n=1,i,r){e.min=t1(e.min,t,n,i,r),e.max=t1(e.max,t,n,i,r)}function t3(e,{x:t,y:n}){t2(e.x,t.translate,t.scale,t.originPoint),t2(e.y,n.translate,n.scale,n.originPoint)}function t5(e,t){e.min+=t,e.max+=t}function t4(e,t,n,i,r=.5){let s=tU(e.min,e.max,r);t2(e,t,n,s,i)}function t6(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t9(e,t,n){let i=n??e;t4(e.x,t6(t.x,i.x),t.scaleX,t.scale,t.originX),t4(e.y,t6(t.y,i.y),t.scaleY,t.scale,t.originY)}function t8(e,t){return tX(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))}class t7 extends tC{constructor(){super(...arguments),this.type="html",this.renderInstance=tz}mount(e){el(e.style),super.mount(e)}readValueFromInstance(e,t){if(f.has(t))return this.projection?.isProjecting?e_(t):((e,t)=>{let{transform:n="none"}=getComputedStyle(e);return ek(n,t)})(e,t);{let n=window.getComputedStyle(e),i=(eu(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t8(e,t)}build(e,t,n){tI(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return tq(e,t,n)}}let ne=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nt(e){if("string"!=typeof e||e.includes("-"));else if(ne.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let nn=(0,a.createContext)({}),ni=(0,a.createContext)({strict:!1}),nr=(0,a.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ns=(0,a.createContext)({});function no(e){return Array.isArray(e)?e.join(" "):e}let na=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nl(e,t,n){for(let i in t)en(t[i])||tG(i,n)||(e[i]=t[i])}let nc=()=>({...na(),attrs:{}}),nu=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function nd(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||nu.has(e)}let nh=e=>!nd(e);try{r=e.r(87897).default,"function"==typeof r&&(nh=e=>e.startsWith("on")?!nd(e):r(e))}catch{}function np(e){return en(e)?e.get():e}let nf=(0,a.createContext)(null);function nm(e){let t=(0,a.useRef)(null);return null===t.current&&(t.current=e()),t.current}let ng=e=>(t,n)=>{let i=(0,a.useContext)(ns),r=(0,a.useContext)(nf),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,i,r){return{latestValues:function(e,t,n,i){let r={},s=i(e,{});for(let e in s)r[e]=np(s[e]);let{initial:o,animate:a}=e,l=tv(e),c=tb(e);t&&c&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial,d=(u=u||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!tf(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let i=tk(e,t[n]);if(i){let{transitionEnd:e,transition:t,...n}=i;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}null!==t&&(r[e]=t)}for(let t in e)r[t]=e[t]}}}return r}(n,i,r,e),renderState:t()}})(e,t,i,r);return n?s():nm(s)},ny=ng({scrapeMotionValuesFromProps:tq,createRenderState:na}),nv=ng({scrapeMotionValuesFromProps:tY,createRenderState:nc}),nb={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},nx=!1;function nw(){return!function(){if(nx)return;let e={};for(let t in nb)e[t]={isEnabled:e=>nb[t].some(t=>!!e[t])};tE=e,nx=!0}(),tE}let nS=Symbol.for("motionComponentSymbol"),n_="data-"+tA("framerAppearId"),nk=(0,a.createContext)({});function nT(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let nE="u">typeof window?a.useLayoutEffect:a.useEffect;function nj(e,{forwardMotionProps:t=!1,type:n}={},i,r){i&&function(e){let t=nw();for(let n in e)t[n]={...t[n],...e[n]};tE=t}(i);let s=n?"svg"===n:nt(e),l=s?nv:ny;function c(n,i){var c;let u,d,h,p={...(0,a.useContext)(nr),...n,layoutId:function({layoutId:e}){let t=(0,a.useContext)(nn).id;return t&&void 0!==e?t+"-"+e:e}(n)},{isStatic:f}=p,m=function(e){let{initial:t,animate:n}=function(e,t){if(tv(e)){let{initial:t,animate:n}=e;return{initial:!1===t||tm(t)?t:void 0,animate:tm(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(ns));return(0,a.useMemo)(()=>({initial:t,animate:n}),[no(t),no(n)])}(n),g=l(n,f);if(!f&&"u">typeof window){(0,a.useContext)(ni).strict;let t=function(e){let{drag:t,layout:n}=nw();if(!t&&!n)return{};let i={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}
1(p);u=t.MeasureLayout,m.visualElement=function(e,t,n,i,r,s){let{visualElement:o}=(0,a.useContext)(ns),l=(0,a.useContext)(ni),c=(0,a.useContext)(nf),u=(0,a.useContext)(nr),d=u.reducedMotion,h=u.skipAnimations,p=(0,a.useRef)(null),f=(0,a.useRef)(!1);i=i||l.renderer,!p.current&&i&&(p.current=i(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:d,skipAnimations:h,isSVG:s}),f.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let m=p.current,g=(0,a.useContext)(nk);m&&!m.projection&&r&&("html"===m.type||"svg"===m.type)&&function(e,t,n,i){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&nT(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(p.current,n,r,g);let y=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{m&&y.current&&m.update(n,c)});let v=n[n_],b=(0,a.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return nE(()=>{f.current=!0,m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),b.current&&m.animationState&&m.animationState.animateChanges())}),(0,a.useEffect)(()=>{m&&(!b.current&&m.animationState&&m.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),b.current=!1),m.enteringChildren=void 0)}),m}(e,g,p,r,t.ProjectionNode,s)}return(0,o.jsxs)(ns.Provider,{value:m,children:[u&&m.visualElement?(0,o.jsx)(u,{visualElement:m.visualElement,...p}):null,function(e,t,n,{latestValues:i},r,s=!1,o){let l=(o??nt(e)?function(e,t,n,i){let r=(0,a.useMemo)(()=>{let n=nc();return tR(n,t,tF(i),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};nl(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t){let n,i,r={},s=(n=e.style||{},nl(i={},n,e),Object.assign(i,function({transformTemplate:e},t){return(0,a.useMemo)(()=>{let n=na();return tI(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),i);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=s,r})(t,i,r,e),c=function(e,t,n){let i={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&!en(e[r])&&(nh(r)||!0===n&&nd(r)||!t&&!nd(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(t,"string"==typeof e,s),u=e!==a.Fragment?{...c,...l,ref:n}:{},{children:d}=t,h=(0,a.useMemo)(()=>en(d)?d.get():d,[d]);return(0,a.createElement)(e,{...u,children:h})}(e,n,(c=m.visualElement,d=(0,a.useRef)(i),(0,a.useInsertionEffect)(()=>{d.current=i}),h=(0,a.useRef)(null),(0,a.useCallback)(e=>{e&&g.onMount?.(e),c&&(e?c.mount(e):c.unmount());let t=d.current;if("function"==typeof t)if(e){let n=t(e);"function"==typeof n&&(h.current=n)}else h.current?(h.current(),h.current=null):t(e);else t&&(t.current=e)},[c])),g,f,t,s)]})}c.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let u=(0,a.forwardRef)(c);return u[nS]=e,u}class nC{constructor(e){this.isMounted=!1,this.node=e}update(){}}function nA(e,t,n){let i=e.getProps();return tk(i,t,void 0!==n?n:i.custom,e)}function nM(e,t){if(e?.inherit&&t){let{inherit:n,...i}=e;return{...t,...i}}return e}function nP(e,t){let n=e?.[t]??e?.default??e;return n!==e?nM(n,e):n}let nL=e=>Array.isArray(e);function nI(e,t){let n=e.getValue("willChange");if(en(n)&&n.add)return n.add(t);if(!n&&eP.WillChange){let n=new eP.WillChange("auto");e.addValue("willChange",n),n.add(t)}}let nO=(...e)=>e.reduce((e,t)=>n=>t(e(n)));function nV(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 nD(e,t){return n=>n>0?t:e}let nR=(e,t,n)=>{let i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},nN=[E,T,O];function nF(e){let t=nN.find(t=>t.test(e));if(ea(`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===O&&(n=function({hue:e,saturation:t,lightness:n,alpha:i}
1){e/=360,n/=100;let r=0,s=0,o=0;if(t/=100){let i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=nV(a,i,e+1/3),s=nV(a,i,e),o=nV(a,i,e-1/3)}else r=s=o=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(n)),n}let nz=(e,t)=>{let n=nF(e),i=nF(t);if(!n||!i)return nD(e,t);let r={...n};return e=>(r.red=nR(n.red,i.red,e),r.green=nR(n.green,i.green,e),r.blue=nR(n.blue,i.blue,e),r.alpha=tU(n.alpha,i.alpha,e),T.transform(r))},nB=new Set(["none","hidden"]);function n$(e,t){return n=>tU(e,t,n)}function nH(e){return"number"==typeof e?n$:"string"==typeof e?eh(e)?nD:V.test(e)?nz:nG:Array.isArray(e)?nU:"object"==typeof e?V.test(e)?nz:nW:nD}function nU(e,t){let n=[...e],i=n.length,r=e.map((e,n)=>nH(e)(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}}function nW(e,t){let n={...e,...t},i={};for(let r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=nH(e[r])(e[r],t[r]));return e=>{for(let t in i)n[t]=i[t](e);return n}}let nG=(e,t)=>{let n=$.createTransformer(t),i=z(e),r=z(t);if(!(i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length))return ea(`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.`),nD(e,t);if(nB.has(e)&&!r.values.length||nB.has(t)&&!i.values.length)return nB.has(e)?n=>n<=0?e:t:n=>n>=1?t:e;return nO(nU(function(e,t){let n=[],i={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let s=t.types[r],o=e.indexes[s][i[s]],a=e.values[o]??0;n[r]=a,i[s]++}return n}(i,r),r.values),n)};function nq(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?tU(e,t,n):nH(e)(e,t)}let nY=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eO.update(t,e),stop:()=>eV(t),now:()=>eD.isProcessing?eD.timestamp:ta.now()}};function nK(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}let nX=.01,nZ=2,nQ=.005,nJ=.5;function n0(e,t){return e*Math.sqrt(1-t*t)}let n1=["duration","bounce"],n2=["stiffness","damping","mass"];function n3(e,t){return t.some(t=>void 0!==e[t])}function n5(e=.3,t=.3){let n,i,r,s,o,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:u}=l,d=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],p={done:!1,value:d},{stiffness:f,damping:g,mass:y,duration:v,velocity:b,isResolvedFromDuration:x}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!n3(e,n2)&&n3(e,n1))if(t.velocity=0,e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),i=n*n,r=2*m(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:1,stiffness:i,damping:r}}else{let n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:i=1}){let r,s;ea(eK(10));let o=1-t;o=m(.05,1,o),e=m(.01,10,e/1e3),o<1?(r=t=>{let i=t*o,r=i*e;return .001-(i-n)/n0(t,o)*Math.exp(-r)},s=t=>{let i=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-i),l=n0(Math.pow(t,2),o);return(i*n+n-s)*a*(-r(t)+.001>0?-1:1)/l}):(r=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let a=function(e,t,n){let i=n;for(let n=1;n<12;n++)i-=e(i)/t(i);return i}(r,s,5/e);if(e=eK(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*i;return{stiffness:t,damping:2*o*Math.sqrt(i*t),duration:e}}}({...e,velocity:0});(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),w=b||0,S=g/(2*Math.sqrt(f*y)),_=h-d,k=Math.sqrt(f/y)/1e3,T=5>Math.abs(_);if(c||(c=T?nX:nZ),u||(u=T?nQ:nJ),S<1)r=n0(k,S),s=(w+S*k*_)/r,n=e=>h-Math.exp(-S*k*e)*(s*Math.sin(r*e)+_*Math.cos(r*e)),o=S*k*s+_*r,a=S*k*_-s*r,i=e=>Math.exp(-S*k*e)*(o*Math.sin(r*e)+a*Math.cos(r*e));else if(1===S){n=e=>h-Math.exp(-k*e)*(_+(w+k*_)*e);let e=w+k*_;i=t=>Math.exp(-k*t)*(k*e*t-w)}else{let e=k*Math.sqrt(S*S-1);n=t=>{let n=Math.exp(-S*k*t),i=Math.min(e*t,300);return h-n*((w+S*k*_)*Math.sinh(i)+e*_*Math.cosh(i))/e};let t=(w+S*k*_)/e,r=S*k*t-_*e,s=S*k*_-t*e;i=t=>{let n=Math.exp(-S*k*t),i=Math.min(e*t,300);return n*(r*Math.sinh(i)+s*Math.cosh(i))}}let E={calculatedDuration:x&&v||null,velocity:e=>eK(i(e)),next:e=>{if(!x&&S<1){let t=Math.exp(-S*k*e),n=Math.sin(r*e),i=Math.cos(r*e),l=h-t*(s*n+_*i);return p.done=Math.abs(eK(t*(o*n+a*i)))<=c&&Math.abs(h-l)<=u,p.value=p.done?h:l,p}let t=n(e);return x?p.done=e>=v:p.done=Math.abs(eK(i(e)))<=c&&Math.abs(h-t)<=u,p.value=p.done?h:t,p},toString:()=>{let e=Math.min(nK(E),2e4),t=e7(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function n4(e,t,n){let i=Math.max(t-5,0);return tl(n-e(i),t-i)}function n6({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){let d,h,p=e[0],f={done:!1,value:p},m=n*t,g=p+m,y=void 0===o?g:o(g);y!==g&&(m=y-p);let v=e=>-m*Math.exp(-e/i),b=e=>y+v(e),x=e=>{let t=v(e),n=b(e);f.done=Math.abs(t)<=c,f.value=f.done?y:n},w=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var n;d=e,h=n5({keyframes:[f.value,(n=f.value,void 0===a?l:void 0===l||Math.abs(a-n)<Math.abs(l-n)?a:l)],velocity:n4(b,e,f.value),damping:r,stiffness:s,restDelta:c,restSpeed:u})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;
1return(h||void 0!==d||(t=!0,x(e),w(e)),void 0!==d&&e>=d)?h.next(e-d):(t||x(e),f)}}}n5.applyToOptions=e=>{let t=function(e,t=100,n){let i=n({...e,keyframes:[0,t]}),r=Math.min(nK(i),2e4);return{type:"keyframes",ease:e=>i.next(r*e).value/t,duration:r/1e3}}(e,100,n5);return e.ease=t.ease,e.duration=eK(t.duration),e.type="keyframes",e};let n9=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function n8(e,t,n,i){return e===t&&n===i?eM:r=>0===r||1===r?r:n9(function(e,t,n,i,r){let s,o,a=0;do(s=n9(o=t+(n-t)/2,i,r)-e)>0?n=o:t=o;while(Math.abs(s)>1e-7&&++a<12)return o}(r,0,1,e,n),t,i)}let n7=n8(.42,0,1,1),ie=n8(0,0,.58,1),it=n8(.42,0,.58,1),ii=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ir=e=>t=>1-e(1-t),is=n8(.33,1.53,.69,.99),io=ir(is),ia=ii(io),il=e=>e>=1?1:(e*=2)<1?.5*io(e):.5*(2-Math.pow(2,-10*(e-1))),ic=e=>1-Math.sin(Math.acos(e)),iu=ir(ic),id=ii(ic),ih={linear:eM,easeIn:n7,easeInOut:it,easeOut:ie,circIn:ic,circInOut:id,circOut:iu,backIn:io,backInOut:ia,backOut:is,anticipate:il},ip=e=>{if(e9(e)){el(e.length);let[t,n,i,r]=e;return n8(t,n,i,r)}return"string"==typeof e?(el(ih[e],`Invalid easing type '${e}'`),ih[e]):e},im=(e,t,n)=>{let i=t-e;return i?(n-e)/i:1};function ig({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){var r;let s,o=Array.isArray(i)&&"number"!=typeof i[0]?i.map(ip):ip(i),a={done:!1,value:t[0]},l=function(e,t,{clamp:n=!0,ease:i,mixer:r}={}){let s=e.length;if(el(t.length),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let i=[],r=n||eP.mix||nq,s=e.length-1;for(let n=0;n<s;n++){let s=r(e[n],e[n+1]);t&&(s=nO(Array.isArray(t)?t[n]||eM:t,s)),i.push(s)}return i}(t,i,r),l=a.length,c=n=>{if(o&&n<e[0])return t[0];let i=0;if(l>1)for(;i<e.length-2&&!(n<e[i+1]);i++);let r=im(e[i],e[i+1],n);return a[i](r)};return n?t=>c(m(e[0],e[s-1],t)):c}((r=n&&n.length===t.length?n:(!function(e,t){let n=e[e.length-1];for(let i=1;i<=t;i++){let r=im(0,t,i);e.push(tU(n,1,r))}}(s=[0],t.length-1),s),r.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||it).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let iy={decay:n6,inertia:n6,tween:ig,keyframes:ig,spring:n5};function iv(e){"string"==typeof e.type&&(e.type=iy[e.type])}let ib=e=>e/100;class ix extends e6{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==ta.now()&&this.tick(ta.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;iv(e);let{type:t=ig,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=e,{keyframes:o}=e,a=t||ig;a!==ig&&"number"!=typeof o[0]&&(this.mixKeyframes=nO(ib,nq(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=nK(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let n,{generator:i,totalDuration:r,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:c=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:p,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,w=i;if(d){let e=Math.min(this.currentTime,r)/a,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,d+1))%2&&("reverse"===h?(n=1-n,p&&(n-=p/a)):"mirror"===h&&(w=o)
1),x=m(0,1,n)*a}b?(this.delayState.value=u[0],n=this.delayState):n=w.next(x),s&&!b&&(n.value=s(n.value));let{done:S}=n;b||null===l||(S=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let _=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return _&&f!==n6&&(n.value=e4(u,this.options,y,this.speed)),g&&g(n.value),_&&this.finish(),n}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=eK(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return n4(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(ta.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=nY,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ta.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let iw={anticipate:il,backInOut:ia,circInOut:id};class iS extends ti{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in iw&&(e.ease=iw[e.ease])}(e),iv(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:i,element:r,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new ix({...s,autoplay:!1}),a=Math.max(10,ta.now()-this.startTime),l=m(0,10,a-10),c=o.sample(a).value,{name:u}=this.options;r&&u&&eJ(r,u,c),t.setWithVelocity(o.sample(Math.max(0,a-l)).value,c,l),o.stop()}}let i_=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&($.test(e)||"0"===e)&&!e.startsWith("url("));function ik(e){e.duration=0,e.type="keyframes"}let iT=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,iE=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),ij=e0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class iC extends e6{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ta.now();const d={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:c,...u},h=c?.KeyframeResolver||eU;this.keyframeResolver=new h(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,i){let r;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=n;this.resolvedAt=ta.now();let d=!0;!function(e,t,n,i){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=i_(r,t),a=i_(s,t);return ea(`You are trying to animate ${t} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||tn(n))&&i)}(e,s,o,a)&&(d=!1,(eP.instantAnimations||!l)&&u?.(e4(e,n,t)),e[0]=e[e.length-1],ik(n),n.repeat=0);let h={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},p=d&&!c&&function(e){let{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:s,type:o,keyframes:a}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;
1let{onUpdate:c,transformTemplate:u}=t.owner.getProps();return ij()&&n&&(tr.has(n)||iE.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&iT.test(e[t]))return!0;return!1}(a))&&("transform"!==n||!u)&&!c&&!i&&"mirror"!==r&&0!==s&&"inertia"!==o}(h),f=h.motionValue?.owner?.current;if(p)try{r=new iS({...h,element:f})}catch{r=new ix(h)}else r=new ix(h);r.finished.then(()=>{this.notifyFinished()}).catch(eM),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eB=!0,eH(),e$(),eB=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let iA={type:"spring",stiffness:500,damping:25,restSpeed:10},iM={type:"keyframes",duration:.8},iP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},iL=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),iI=(e,t,n,i={},r,s)=>o=>{let a=nP(i,e)||{},l=a.delay||i.delay||0,{elapsed:c=0}=i;c-=eK(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:r};!function(e){for(let t in e)if(!iL.has(t))return!0;return!1}(a)&&Object.assign(u,((e,{keyframes:t})=>t.length>2?iM:f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:iA:iP)(e,u)),u.duration&&(u.duration=eK(u.duration)),u.repeatDelay&&(u.repeatDelay=eK(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(ik(u),0===u.delay&&(d=!0)),(eP.instantAnimations||eP.skipAnimations||r?.shouldSkipAnimations||a.skipAnimations)&&(d=!0,ik(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!s&&void 0!==t.get()){let e=e4(u.keyframes,a);if(void 0!==e)return void eO.update(()=>{u.onUpdate(e),u.onComplete()})}return a.isSync?new ix(u):new iC(u)};function iO(e,t,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:s,transitionEnd:o,...a}=t,l=e.getDefaultTransition();s=s?nM(s,l):l;let c=s?.reduceMotion,u=s?.skipAnimations;i&&(s=i);let d=[],h=r&&e.animationState&&e.animationState.getState()[r],p=s?.path;for(let t in p&&p.animateVisualElement(e,a,s,n,d),a){let i=e.getValue(t,e.latestValues[t]??null),r=a[t];if(void 0===r||h&&function({protectedKeys:e,needsAnimating:t},n){let i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}(h,t))continue;let o={delay:n,...nP(s||{},t)};u&&(o.skipAnimations=!0);let l=i.get();if(void 0!==l&&!i.isAnimating()&&!Array.isArray(r)&&r===l&&!o.velocity){eO.update(()=>i.set(r));continue}let p=!1;if(window.MotionHandoffAnimation){let n=e.props[n_];if(n){let e=window.MotionHandoffAnimation(n,t,eO);null!==e&&(o.startTime=e,p=!0)}}nI(e,t);let f=c??e.shouldReduceMotion;i.start(iI(t,i,r,f&&ei.has(t)?{type:!1}:o,e,p));let m=i.animation;m&&d.push(m)}if(o){let t=()=>eO.update(()=>{o&&function(e,t){let{transitionEnd:n={},transition:i={},...r}=nA(e,t)||{};for(let t in r={...r,...n}){var s;let n=nL(s=r[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,td(n))}}(e,o)});d.length?Promise.all(d).then(t):t()}return d}function iV(e,t,n,i=0,r=1){let s=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*i;return"function"==typeof n?n(s,o):1===r?s*i:a-s*i}function iD(e,t,n={}){let i=nA(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);let s=i?()=>Promise.all(iO(e,i,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(e,t,n=0,i=0,r=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(iD(l,t,{...o,delay:n+("function"==typeof i?0:i)+iV(e.variantChildren,l,i,r,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,i,s,o,a,n)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(n.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}let iR=ty.length;function iN(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}let iF=[...tg].reverse(),iz=tg.length;function iB(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function i$(){return{animate:iB(!0),whileInView:iB(),whileHover:iB(),whileTap:iB(),whileDrag:iB(),whileFocus:iB(),exit:iB()}}let iH=0;function iU(e){return[e("x"),e("y")]}function iW(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}let iG={x:!1,y:!1};function iq(e){return e.max-e.min}function iY(e,t,n,i=.5){e.origin=i,e.originPoint=tU(t.min,t.max,e.origin),e.scale=iq(n)/iq(t),e.translate=tU(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function iK(e,t,n,i){iY(e.x,t.x,n.x,i?i.originX:void 0),iY(e.y,t.y,n.y,i?i.originY:void 0)}function iX(e,t,n,i=0){e.min=(i?tU(n.min,n.max,i):n.min)+t.min,e.max=e.min+iq(t)}function iZ(e,t,n,i=0){let r=i?tU(n.min,n.max,i):n.min;e.min=t.min-r,e.max=e.min+iq(t)}function iQ(e,t,n,i){iZ(e.x,t.x,n.x,i?.x),iZ(e.y,t.y,n.y,i?.y)}let iJ=e=>"object"==typeof e&&null!==e;function i0(e){return iJ(e)&&"ownerSVGElement"in e}function i1(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let r=n?.[e]??i.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}let i2=new WeakMap,i3=(e,t,n)=>(i,r)=>r&&r[0]?r[0][e+"Size"]:i0(i)&&"getBBox"in i?i.getBBox()[t]:i[n],i5=i3("inline","width","offsetWidth"),i4=i3("block","height","offsetHeight");function i6({target:e,borderBoxSize:t}){i2.get(e)?.forEach(n=>{n(e,{get width(){return i5(e,t)},get height(){return i4(e,t)}})})}function i9(e){e.forEach(i6)}let i8=new Set;function i7(e,t){let r;return"function"==typeof e?(i8.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};i8.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{i8.delete(e),i8.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!n&&"u">typeof ResizeObserver&&(n=new ResizeObserver(i9)),(r=i1(e)).forEach(e=>{let i=i2.get(e);i||(i=new Set,i2.set(e,i)),i.add(t),n?.observe(e)}),()=>{r.forEach(e=>{let i=i2.get(e);i?.delete(t),i?.size||n?.unobserve(e)})})}let re=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),rt=new Set(["INPUT","SELECT","TEXTAREA"]),rn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ri(e){return{point:{x:e.pageX,y:e.pageY}}}function rr(e,t,n,i){return iW(e,t,e=>rn(e)&&n(e,ri(e)),i)}let rs=({current:e})=>e?e.ownerDocument.defaultView:null,ro=(e,t)=>Math.abs(e-t),ra=new Set(["auto","scroll"]);class rl{constructor(e,t,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=rc(this.lastRawMoveEventInfo,this.transformPagePoint));let n=rd(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,r=(e=n.offset,t={x:0,y:0},Math.sqrt(ro(e.x,t.x)**2+ro(e.y,t.y)**2)>=this.distanceThreshold);if(!i&&!r)return;let{point:s}=n,{timestamp:o}=eD;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;
1i||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=rc(t,this.transformPagePoint),eO.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rd("pointercancel"===e.type?this.lastMoveEventInfo:rc(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,s),i&&i(e,s)},!rn(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=i||window;const a=rc(ri(e),this.transformPagePoint),{point:l}=a,{timestamp:c}=eD;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,rd(a,this.history));const d={passive:!0,capture:!0};this.removeListeners=nO(rr(this.contextWindow,"pointermove",this.handlePointerMove,d),rr(this.contextWindow,"pointerup",this.handlePointerUp,d),rr(this.contextWindow,"pointercancel",this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ra.has(e.overflowX)||ra.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:i.x-t.x,y:i.y-t.y};(0!==r.x||0!==r.y)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(e,i),eO.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eV(this.updatePoint)}}function rc(e,t){return t?{point:t(e.point)}:e}function ru(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rd({point:e},t){return{point:e,delta:ru(e,rh(t)),offset:ru(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,n=null,i=rh(e);for(;t>=0&&(n=e[t],!(i.timestamp-n.timestamp>eK(.1)));)t--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&i.timestamp-n.timestamp>2*eK(.1)&&(n=e[1]);let r=(i.timestamp-n.timestamp)/1e3;if(0===r)return{x:0,y:0};let s={x:(i.x-n.x)/r,y:(i.y-n.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function rh(e){return e[e.length-1]}function rp(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 rf(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 rm(e,t,n){return{min:rg(e,t),max:rg(e,n)}}function rg(e,t){return"number"==typeof e?e:e[t]||0}let ry=new WeakMap;class rv{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=et(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=e=>{t&&this.snapToCursor(ri(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(iG[e])return null;else return iG[e]=!0,()=>{iG[e]=!1};return iG.x||iG.y?null:(iG.x=iG.y=!0,()=>{iG.x=iG.y=!1})}(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iU(e=>{let t=this.getAxisMotionValue(e).get()||0;if(A.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[e];i&&(t=iq(i)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&eO.update(()=>r(e,t),!1,!0),nI(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=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}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&eO.update(()=>s(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new rl(e,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:n,contextWindow:rs(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,i=t||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!n)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&eO.postRender(()=>o(n,i))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:i}=this.getProps();if(!n||!rx(e,i,this.currentDirection))return;let r=this.getAxisMotionValue(e),s=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?tU(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?tU(n,e,i.max):Math.min(e,n)),e}(s,this.constraints[e],this.elastic[e])),r.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&nT(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:i,right:r}){return{x:rp(e.x,n,r),y:rp(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:rm(e,"left","right"),y:rm(e,"top","bottom")}}(t),i!==this.constraints&&!nT(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&iU(e=>{var t,i;let r;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=n.layoutBox[e],i=this.constraints[e],r={},void 0!==i.min&&(r.min=i.min-t.min),void 0!==i.max&&(r.max=i.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nT(t))return!1;let i=t.current;el();let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=function(e,t,n){let i=t8(e,n),{scroll:r}=t;return r&&(t5(i.x,r.offset.x),t5(i.y,r.offset.y)),i}(i,r.root,this.visualElement.getTransformPagePoint()),o=(e=r.layout.layoutBox,{x:rf(e.x,s.x),y:rf(e.y,s.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=tX(e))}return o}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iU(o=>
1{if(!rx(o,t,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let c={type:"inertia",velocity:n?e[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,c)})).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return nI(this.visualElement,e),n.start(iI(e,n,0,t,this.visualElement,!1))}stopAnimation(){iU(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){iU(t=>{let{drag:n}=this.getProps();if(!rx(t,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(t);if(i&&i.layout){let{min:n,max:s}=i.layout.layoutBox[t],o=r.get()||0;r.set(e[t]-tU(n,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!nT(t)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};iU(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var n,r;let s,o,a,l=t.get();i[e]=(n={min:l,max:l},r=this.constraints[e],s=.5,o=iq(n),(a=iq(r))>o?s=im(r.min,r.max-o,n.min):o>a&&(s=im(n.min,n.max-a,r.min)),m(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),iU(t=>{if(!rx(t,e,null))return;let n=this.getAxisMotionValue(t),{min:r,max:s}=this.constraints[t];n.set(tU(r,s,i[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;ry.set(this.visualElement,this);let t=this.visualElement.current,n=rr(t,"pointerdown",e=>{let{drag:n,dragListener:i=!0}=this.getProps(),r=e.target,s=r!==t&&(rt.has(r.tagName)||!0===r.isContentEditable);n&&i&&!s&&this.start(e)}),i=()=>{var n,i,r;let s,o,{dragConstraints:a}=this.getProps();nT(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(n=t,i=a.current,s=i7(n,rb(r=()=>this.scalePositionWithinConstraints())),o=i7(i,rb(r)),e=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),eO.read(i);let o=iW(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(iU(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function rb(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function rx(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}let rw=e=>(t,n)=>{e&&eO.update(()=>e(t,n),!1,!0)},rS={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var r_=a;function rk(e=!0){let t=(0,a.useContext)(nf);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:i,register:r}=t,s=(0,a.useId)();(0,a.useEffect)(()=>{if(e)return r(s)},[e]);let o=(0,a.useCallback)(()=>e&&i&&i(s),[s,i,e]);return!n&&i?[!1,o]:[!0]}let rT=!1;class rE extends r_.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=e;r&&(t.group&&t.group.add(r),n&&n.register&&i&&n.register(r),rT&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rS.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:i,isPresent:r}=this.props,{projection:s}=n;return s&&(s.isPresent=r,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),rT=!0,i||e.layoutDependency!==t||void 0===t||e.isPresent!==r?s.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?s.promote():s.relegate()||eO.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),ts.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;rT=!0,i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rj(e){let[t,n]=rk(),i=(0,r_.useContext)(nn);return(0,o.jsx)(rE,{...e,layoutGroup:i,switchLayoutGroup:(0,r_.useContext)(nk),isPresent:t,safeToRemove:n})}let rC=tB.length,rA=e=>"string"==typeof e?parseFloat(e):e,rM=e=>"number"==typeof e||M.test(e);function rP(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rL=rO(0,.5,iu),rI=rO(.5,.95,eM);function rO(e,t,n){return i=>i<e?0:i>t?1:n(im(e,t,i))}function rV(e,t){e.min=t.min,e.max=t.max}function rD(e,t){rV(e.x,t.x),rV(e.y,t.y)}function rR(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rN(e,t,n,i,r){return e-=t,e=i+1/n*(e-i),void 0!==r&&(e=i+1/r*(e-i)),e}
1function rF(e,t,[n,i,r],s,o){!function(e,t=0,n=1,i=.5,r,s=e,o=e){if(A.test(t)&&(t=parseFloat(t),t=tU(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=tU(s.min,s.max,i);e===s&&(a-=t),e.min=rN(e.min,t,n,a,r),e.max=rN(e.max,t,n,a,r)}(e,t[n],t[i],t[r],t.scale,s,o)}let rz=["x","scaleX","originX"],rB=["y","scaleY","originY"];function r$(e,t,n,i){rF(e.x,t,rz,n?n.x:void 0,i?i.x:void 0),rF(e.y,t,rB,n?n.y:void 0,i?i.y:void 0)}function rH(e){return 0===e.translate&&1===e.scale}function rU(e){return rH(e.x)&&rH(e.y)}function rW(e,t){return e.min===t.min&&e.max===t.max}function rG(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rq(e,t){return rG(e.x,t.x)&&rG(e.y,t.y)}function rY(e){return iq(e.x)/iq(e.y)}function rK(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rX{constructor(){this.members=[]}add(e){eX(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let i=n.instance;i&&!1!==i.isConnected||n.snapshot||(eZ(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(eZ(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:i}=n.options,{layoutDependency:r}=e.options;(void 0===i||i!==r)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let rZ=(e,t)=>e.depth-t.depth;class rQ{constructor(){this.children=[],this.isDirty=!1}add(e){eX(this.children,e),this.isDirty=!0}remove(e){eZ(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rZ),this.isDirty=!1,this.children.forEach(e)}}let rJ=["","X","Y","Z"],r0=0;function r1(e,t,n,i){let{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function r2({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(e={},n=t?.()){this.id=r0++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(r4),this.nodes.forEach(sr),this.nodes.forEach(ss),this.nodes.forEach(r6)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rQ)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new eQ),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=i0(t)&&!(i0(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:n,layout:i,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||n)&&(this.isLayoutDirty=!0),e){let n,i=0,r=()=>this.root.updateBlockedByResize=!1;eO.read(()=>{i=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==i){let t,s;i=e,this.root.updateBlockedByResize=!0,n&&n(),t=ta.now(),s=({timestamp:e})=>{let n=e-t;n>=250&&(eV(s),r())},eO.setup(s,!0),n=()=>eV(s),rS.hasAnimatedSinceResize&&(rS.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(si))}})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&r&&(n||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||sd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!rq(this.targetLayout,i),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...nP(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c,t.path)}else t||si(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eV(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(so),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let i=n.props[n_];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",eO,!(e||n))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(r7),this.nodes.forEach(r8);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(se);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(st),this.nodes.forEach(sn),this.nodes.forEach(r3),this.nodes.forEach(r5)):this.nodes.forEach(se),this.clearAllSnapshots();let e=ta.now();eD.delta=m(0,1e3/60,e-eD.timestamp),eD.timestamp=e,eD.isProcessing=!0,eR.update.process(eD),eR.preRender.process(eD),eR.render.process(eD),eD.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ts.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r9),this.sharedNodes.forEach(sa)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eO.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eO.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||iq(this.snapshot.measuredBox.x)||iq(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=et()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rU(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;
1e&&this.instance&&(t||tJ(this.latestValues)||s)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),i=this.removeElementScroll(n);return e&&(i=this.removeTransform(i)),sf((t=i).x),sf(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return et();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sg))){let{scroll:e}=this.root;e&&(t5(t.x,e.offset.x),t5(t.y,e.offset.y))}return t}removeElementScroll(e){let t=et();if(rD(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let i=this.path[n],{scroll:r,options:s}=i;i!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rD(t,e),t5(t.x,r.offset.x),t5(t.y,r.offset.y))}return t}applyTransform(e,t=!1,n){let i=n||et();rD(i,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(t5(i.x,-n.scroll.offset.x),t5(i.y,-n.scroll.offset.y)),tJ(n.latestValues)&&t9(i,n.latestValues,n.layout?.layoutBox)}return tJ(this.latestValues)&&t9(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(e){let t=et();rD(t,e);for(let e=0;e<this.path.length;e++){let n,i=this.path[e];tJ(i.latestValues)&&(i.instance&&(tQ(i.latestValues)&&i.updateSnapshot(),rD(n=et(),i.measurePageBox())),r$(t,i.latestValues,i.snapshot?.layoutBox,n))}return tJ(this.latestValues)&&r$(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eD.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:r}=this.options;if(!this.layout||!(i||r))return;this.resolvedRelativeTargetAt=eD.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=et(),this.targetWithTransforms=et()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,c;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,iX(o.x,a.x,l.x,c?.x),iX(o.y,a.y,l.y,c?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rD(this.target,this.layout.layoutBox),t3(this.target,this.targetDelta)):rD(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tQ(this.parent.latestValues)||t0(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=et(),this.relativeTargetOrigin=et(),iQ(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),rD(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===eD.timestamp&&(n=!1),n)return;let{layout:i,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||r))return;rD(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(e,t,n,i=!1){let r,s,o=n.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(r=n[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(t5(e.x,-r.scroll.offset.x),t5(e.y,-r.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,t3(e,s)),i&&tJ(r.latestValues)&&t9(e,r.latestValues,r.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=et());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rR(this.prevProjectionDelta.x,this.projectionDelta.x),rR(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iK(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rK(this.projectionDelta.x,this.prevProjectionDelta.x)&&rK(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=J(),this.projectionDelta=J(),this.projectionDeltaWithTransform=J()}setAnimationOrigin(e,t=!1,n){let i,r=this.snapshot,s=r?r.latestValues:{},o={...this.latestValues},a=J();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=et(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,h=!!(c&&!d&&!0===this.options.crossfade&&!this.path.some(su));this.animationProgress=0;let p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);if(r?(a.x.translate=r.x,a.x.scale=tU(e.x.scale,1,n),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=r.y,a.y.scale=tU(e.y.scale,1,n),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(sl(a.x,e.x,n),sl(a.y,e.y,n)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,m,g,y,v;iQ(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=n,sc(m.x,g.x,y.x,v),sc(m.y,g.y,y.y,v),i&&(u=this.relativeTarget,f=i,rW(u.x,f.x)&&rW(u.y,f.y))&&(this.isProjectionDirty=!1),i||(i=et()),rD(i,this.relativeTarget)}c&&(this.animationValues=o,function(e,t,n,i,r,s){r?(e.opacity=tU(0,n.opacity??1,rL(i)),e.opacityExit=tU(t.opacity??1,0,rI(i))):s&&(e.opacity=tU(t.opacity??1,n.opacity??1,i));for(let r=0;r<rC;r++){let s=tB[r],o=rP(t,s),a=rP(n,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rM(o)===rM(a)?(e[s]=Math.max(tU(rA(o),rA(a),i),0),(A.test(a)||A.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||n.rotate)&&(e.rotate=tU(t.rotate||0,n.rotate||0,i))}(o,s,this.latestValues,n,h,d)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eV(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eO.update(()=>{var t,n,i;let r;rS.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=td(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,n=[0,1e3],i={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}
1,(r=en(t)?t:td(t)).start(iI("",r,n,i)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:i,latestValues:r}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&sm(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||et();let t=iq(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let i=iq(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}rD(t,n),t9(t,r),iK(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rX),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.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)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let i={};n.z&&r1("z",e,i,this.animationValues);for(let t=0;t<rJ.length;t++)r1(`rotate${rJ[t]}`,e,i,this.animationValues),r1(`skew${rJ[t]}`,e,i,this.animationValues);for(let t in e.render(),i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=np(t?.pointerEvents)||"",e.transform=n?n(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=np(t?.pointerEvents)||""),this.hasProjected&&!tJ(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1);return}e.visibility="";let r=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(e,t,n){let i="",r=e.x.translate/t.x,s=e.y.translate/t.y,o=n?.z||0;if((r||s||o)&&(i=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:r,rotateX:s,rotateY:o,skewX:a,skewY:l}=n;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),r&&(i+=`rotate(${r}deg) `),s&&(i+=`rotateX(${s}deg) `),o&&(i+=`rotateY(${o}deg) `),a&&(i+=`skewX(${a}deg) `),l&&(i+=`skewY(${l}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);n&&(s=n(r,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,i.animationValues?e.opacity=i===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:e.opacity=i===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tW){if(void 0===r[t])continue;let{correct:n,applyTo:o,isCSSVariable:a}=tW[t],l="none"===s?r[t]:n(r[t],i);
1if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=i===this?np(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(r8),this.root.sharedNodes.clear()}}}function r3(e){e.updateLayout()}function r5(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=e.layout,{animationType:r}=e.options,s=t.source!==e.layout.source;if("size"===r)iU(e=>{let i=s?t.measuredBox[e]:t.layoutBox[e],r=iq(i);i.min=n[e].min,i.max=i.min+r});else if("x"===r||"y"===r){let e="x"===r?"y":"x";rV(s?t.measuredBox[e]:t.layoutBox[e],n[e])}else sm(r,t.layoutBox,n)&&iU(i=>{let r=s?t.measuredBox[i]:t.layoutBox[i],o=iq(n[i]);r.max=r.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+o)});let o=J();iK(o,n,t.layoutBox);let a=J();s?iK(a,e.applyTransform(i,!0),t.measuredBox):iK(a,n,t.layoutBox);let l=!rU(o),c=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:s}=i;if(r&&s){let o=e.options.layoutAnchor||void 0,a=et();iQ(a,t.layoutBox,r.layoutBox,o);let l=et();iQ(l,n,s.layoutBox,o),rq(a,l)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function r4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function r6(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r9(e){e.clearSnapshot()}function r8(e){e.clearMeasurements()}function r7(e){e.isLayoutDirty=!0,e.updateLayout()}function se(e){e.isLayoutDirty=!1}function st(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function sn(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function si(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function sr(e){e.resolveTargetDelta()}function ss(e){e.calcProjection()}function so(e){e.resetSkewAndRotation()}function sa(e){e.removeLeadSnapshot()}function sl(e,t,n){e.translate=tU(t.translate,0,n),e.scale=tU(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function sc(e,t,n,i){e.min=tU(t.min,n.min,i),e.max=tU(t.max,n.max,i)}function su(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let sd={duration:.45,ease:[.4,0,.1,1]},sh=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sp=sh("applewebkit/")&&!sh("chrome/")?Math.round:eM;function sf(e){e.min=sp(e.min),e.max=sp(e.max)}function sm(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rY(t)-rY(n)))}function sg(e){return e!==e.root&&e.scroll?.wasRoot}let sy=r2({attachResizeListener:(e,t)=>iW(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sv={current:void 0},sb=r2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sv.current){let e=new sy({});e.mount(window),e.setOptions({layoutScroll:!0}),sv.current=e}return sv.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function sx(e,t){let n=i1(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}function sw(e,t,n){let{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===n);let r=i["onHover"+n];r&&eO.postRender(()=>r(t,ri(t)))}function sS(e){return iJ(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}let s_=(e,t)=>!!t&&(e===t||s_(e,t.parentElement)),sk=new WeakSet;function sT(e){return t=>{"Enter"===t.key&&e(t)}}function sE(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function sj(e){return rn(e)&&!(iG.x||iG.y)}let sC=new WeakSet;function sA(e,t,n){let{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===n);let r=i["onTap"+("End"===n?"":n)];r&&eO.postRender(()=>r(t,ri(t)))}let sM=new WeakMap,sP=new WeakMap,sL=e=>{let t=sM.get(e.target);t&&t(e)},sI=e=>{e.forEach(sL)},sO={some:0,all:1},sV=function(e,t){if("u"<typeof Proxy)return nj;let n=new Map,i=(n,i)=>nj(n,i,e,t);return new Proxy((e,t)=>i(e,t),{get:(r,s)=>"create"===s?i:(n.has(s)||n.set(s,nj(s,void 0,e,t)),n.get(s))})}({animation:{Feature:class extends nC{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>
1iD(e,t,n)));else if("string"==typeof t)i=iD(e,t,n);else{let r="function"==typeof t?nA(e,t,n.custom):t;i=Promise.all(iO(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=i$(),i=!0,r=!1,s=t=>(n,i)=>{let r=nA(e,i,"exit"===t?e.presenceContext?.custom:void 0);if(r){let{transition:e,transitionEnd:t,...i}=r;n={...n,...i,...t}}return n};function o(o){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<iR;e++){let i=ty[e],r=t.props[i];(tm(r)||!1===r)&&(n[i]=r)}return n}(e.parent)||{},c=[],u=new Set,d={},h=1/0;for(let t=0;t<iz;t++){var p,f;let m=iF[t],g=n[m],y=void 0!==a[m]?a[m]:l[m],v=tm(y),b=m===o?g.isActive:null;!1===b&&(h=t);let x=y===l[m]&&y!==a[m]&&v;if(x&&(i||r)&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===b||!y&&!g.prevProp||tf(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!iN(f,p)),S=w||m===o&&g.isActive&&!x&&v||t>h&&v,_=!1,k=Array.isArray(y)?y:[y],T=k.reduce(s(m),{});!1===b&&(T={});let{prevResolvedValues:E={}}=g,j={...E,...T},C=t=>{S=!0,u.has(t)&&(_=!0,u.delete(t)),g.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in j){let t=T[e],n=E[e];if(!d.hasOwnProperty(e))(nL(t)&&nL(n)?!iN(t,n)||w:t!==n)?null!=t?C(e):u.add(e):void 0!==t&&u.has(e)?C(e):g.protectedKeys[e]=!0}g.prevProp=y,g.prevResolvedValues=T,g.isActive&&(d={...d,...T}),(i||r)&&e.blockInitialAnimation&&(S=!1);let A=x&&w,M=!A||_;S&&M&&c.push(...k.map(t=>{let n={type:m};if("string"==typeof t&&(i||r)&&!A&&e.manuallyAnimateOnMount&&e.parent){let{parent:i}=e,r=nA(i,t);if(i.enteringChildren&&r){let{delayChildren:t}=r.transition||{};n.delay=iV(i.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if("boolean"!=typeof a.initial){let n=nA(e,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let i=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=i??null}),c.push({animation:t})}let m=!!c.length;return i&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(m=!1),i=!1,r=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,i){if(n[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),n[t].isActive=i;let r=o(t);for(let e in n)n[e].protectedKeys={};return r},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=i$(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tf(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends nC{constructor(){super(...arguments),this.id=iH++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let n=nA(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...i}=n;for(let e in i)this.node.getValue(e)?.jump(i[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends nC{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:n={}}=this.node.getProps(),{root:i,margin:r,amount:s="some",once:o}=n,a={root:i?i.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:sO[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let n=e||document;sP.has(n)||sP.set(n,{});
1let i=sP.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(sI,{root:e,...t})),i[r]}(a),sM.set(e,l),t.observe(e),()=>{sM.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends nC{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=function(e,t,n={}){let[i,r,s]=sx(e,n),o=e=>{let i=e.currentTarget;if(!sj(e)||sC.has(e))return;sk.add(i),n.stopPropagation&&sC.add(e);let s=t(i,e),o={...r,capture:!0},a=(e,t)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",c,o),sk.has(i)&&sk.delete(i),sj(e)&&"function"==typeof s&&s(e,{success:t})},l=e=>{a(e,i===window||i===document||n.useGlobalTarget||s_(i,e.target))},c=e=>{a(e,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",c,o)};return i.forEach(e=>{((n.useGlobalTarget?window:e).addEventListener("pointerdown",o,r),sS(e))&&(e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let i=sT(()=>{if(sk.has(n))return;sE(n,"down");let e=sT(()=>{sE(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>sE(n,"cancel"),t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)})(e,r)),re.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sA(this.node,t,"Start"),(e,{success:t})=>sA(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}}},focus:{Feature:class extends nC{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=nO(iW(this.node.current,"focus",()=>this.onFocus()),iW(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends nC{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[i,r,s]=sx(e,n);return i.forEach(e=>{let n,i=!1,s=!1,o=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},a=e=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(i){s=!0;return}o(e)}};e.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||iG.x||iG.y)return;s=!1;let o=t(e,i);"function"==typeof o&&(n=o,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(e,(e,t)=>(sw(this.node,t,"Start"),e=>sw(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends nC{constructor(){super(...arguments),this.removePointerDownListener=eM}onPointerDown(e){this.session=new rl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rs(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:rw(e),onStart:rw(t),onMove:rw(n),onEnd:(e,t)=>{delete this.session,i&&eO.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=rr(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends nC{constructor(e){super(e),this.removeGroupControls=eM,this.removeListeners=eM,this.controls=new rv(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eM}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sb,MeasureLayout:rj},layout:{ProjectionNode:sb,MeasureLayout:rj}},(e,t)=>t.isSVG??nt(e)?new tK(t):new t7(t,{allowProjection:e!==a.Fragment})),sD=({className:e,isActive:t,width:n=14,height:i=8,color:r="rgb(34, 37, 42)",transition:s={duration:2}})=>(0,o.jsx)(sV.svg,{width:n,height:i,className:`icon icon--chevron ${e}`,viewBox:`0 0 ${n} ${i}`,variants:{down:{rotate:0,transition:s},up:{rotate:180,transition:s}},animate:t?"up":"down",children:(0,o.jsx)("path",{fill:r,d:"M12.293.293a1 1 0 011.414 1.414l-6 6a1 1 0 01-1.414 0l-6-6A1 1 0 011.707.293L7 5.586 12.293.293z"})}),sR=({isActive:e=!1,className:t="text",width:n=32,height:i=18,strokeWidth:r=2,color:s="rgb(34, 37, 42)",transition:a={type:"spring",stiffness:200,damping:40},lineProps:l,...c})=>{l={stroke:s,strokeWidth:r,strokeLinecap:"round",vectorEffect:"non-scaling-stroke",initial:"closed",animate:e?"opened":"closed",transition:a,...l};let u=Math.floor(4*n/i);return(0,o.jsxs)(sV.svg,{className:`icon icon--menu ${t}`,viewBox:`0 0 ${u} 4`,overflow:"visible",preserveAspectRatio:"none",width:n,height:i,...c,children:[(0,o.jsx)(sV.line,{x1:"0",x2:u,y1:"0",y2:"0",variants:{closed:{rotate:0,translateY:0},opened:{rotate:45,translateY:2}},...l}),(0,o.jsx)(sV.line,{x1:"0",x2:u,y1:"2",y2:"2",variants:{closed:{opacity:1},opened:{opacity:0}
1},...l}),(0,o.jsx)(sV.line,{x1:"0",x2:u,y1:"4",y2:"4",variants:{closed:{rotate:0,translateY:0},opened:{rotate:-45,translateY:-2}},...l})]})};var sN=a;function sF(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class sz extends sN.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(sS(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=sS(e)&&e.offsetWidth||0,i=sS(e)&&e.offsetHeight||0,r=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=n-s.width-s.left,s.bottom=i-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function sB({children:e,isPresent:t,anchorX:n,anchorY:i,root:r,pop:s}){let l=(0,sN.useId)(),c=(0,sN.useRef)(null),u=(0,sN.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:d}=(0,sN.useContext)(nr),h=function(...e){return a.useCallback(function(...e){return t=>{let n=!1,i=e.map(e=>{let i=sF(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];"function"==typeof n?n():sF(e[t],null)}}}}(...e),e)}(c,!1!==s?e.props?.ref??e?.ref:void 0);return(0,sN.useInsertionEffect)(()=>{let{width:e,height:o,top:a,left:h,right:p,bottom:f,direction:m}=u.current;if(t||!1===s||!c.current||!e||!o)return;let g="rtl"===m,y="left"===n?g?`right: ${p}`:`left: ${h}`:g?`left: ${h}`:`right: ${p}`,v="bottom"===i?`bottom: ${f}`:`top: ${a}`;c.current.dataset.motionPopId=l;let b=document.createElement("style");d&&(b.nonce=d);let x=r??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(` 2 [data-motion-pop-id="${l}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${o}px !important; 6 ${y}px !important; 7 ${v}px !important; 8 } 9 `),()=>{c.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[t]),(0,o.jsx)(sz,{isPresent:t,childRef:c,sizeRef:u,pop:s,children:!1===s?e:sN.cloneElement(e,{ref:h})})}let s$=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:r,presenceAffectsLayout:s,mode:l,anchorX:c,anchorY:u,root:d})=>{let h=nm(sH),p=(0,a.useId)(),f=(0,a.useRef)(n),m=(0,a.useRef)(i);nE(()=>{f.current=n,m.current=i});let g=!0,y=(0,a.useMemo)(()=>(g=!1,{id:p,initial:t,isPresent:n,custom:r,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;i&&i()},register:e=>(h.set(e,!1),()=>{h.delete(e),f.current||h.size||m.current?.()})}),[n,h,i]);return s&&g&&(y={...y}),(0,a.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[n]),a.useEffect(()=>{n||h.size||!i||i()},[n]),e=(0,o.jsx)(sB,{pop:"popLayout"===l,isPresent:n,anchorX:c,anchorY:u,root:d,children:e}),(0,o.jsx)(nf.Provider,{value:y,children:e})};function sH(){return new Map}let sU=e=>e.key||"";function sW(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}let sG=({children:e,custom:t,initial:n=!0,onExitComplete:i,presenceAffectsLayout:r=!0,mode:s="sync",propagate:l=!1,anchorX:c="left",anchorY:u="top",root:d})=>{let[h,p]=rk(l),f=(0,a.useMemo)(()=>sW(e),[e]),m=l&&!h?[]:f.map(sU),g=(0,a.useRef)(!0),y=(0,a.useRef)(f),v=nm(()=>new Map),b=(0,a.useRef)(new Set),[x,w]=(0,a.useState)(f),[S,_]=(0,a.useState)(f);nE(()=>{g.current=!1,y.current=f;for(let e=0;e<S.length;e++){let t=sU(S[e]);m.includes(t)?(v.delete(t),b.current.delete(t)):!0!==v.get(t)&&v.set(t,!1)}},[S,m.length,m.join("-")]);let k=[];if(f!==x){let e=[...f];for(let t=0;t<S.length;t++){let n=S[t],i=sU(n);m.includes(i)||(e.splice(t,0,n),k.push(n))}return"wait"===s&&k.length&&(e=k),_(sW(e)),w(f),null}let{forceRender:T}=(0,a.useContext)(nn);return(0,o.jsx)(o.Fragment,{children:S.map(e=>{let a=sU(e),x=(!l||!!h)&&(f===S||m.includes(a));return(0,o.jsx)(s$,{isPresent:x,initial:(!g.current||!!n)&&void 0,custom:t,presenceAffectsLayout:r,mode:s,root:d,onExitComplete:x?void 0:()=>{if(b.current.has(a)||!v.has(a))return;b.current.add(a),v.set(a,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(T?.(),_(y.current),l&&p?.(),i&&i())},anchorX:c,anchorY:u,children:e},a)})})},sq={enter:{opacity:0,zIndex:0},center:{zIndex:1,opacity:1},exit:{zIndex:0,opacity:0}
9},sY=({isActive:e=!0,activeText:t="Stäng",inActiveText:n="Meny",className:i="text"})=>(0,o.jsxs)(sG,{children:[e&&(0,o.jsx)(sV.span,{className:i,animate:"center",exit:"exit",initial:e?"enter":"center",variants:sq,transition:{opacity:{duration:.25}},children:t},h.default.generate()),!e&&(0,o.jsx)(sV.span,{className:i,animate:"center",exit:"exit",initial:e?"enter":"center",variants:sq,transition:{opacity:{duration:.25}},children:n},h.default.generate())]}),sK=["480px","768px","1024px","1200px","1600px"];sK[0],sK[1],sK[2],sK[3],sK[4];let sX="2560px",sZ={mobileS:"(max-width: 320px)",mobileM:"(max-width: 375px)",mobileL:"(max-width: 425px)",tablet:"(max-width: 768px)",laptop:"(max-width: 1024px)",laptopL:"(max-width: 1440px)",desktop:`(max-width: ${sX})`,desktopL:`(max-width: ${sX})`};e.s(["breakpoints",0,sK,"device",0,sZ],51096);let sQ=d.default.button` 10 background-color: white; 11 border: 0; 12 cursor: pointer; 13 justify-content: flex-end; 14 align-items: center; 15 display: flex; 16 padding: 15px; 17 margin: -15px; 18 position: relative; 19 user-select: none; 20 21 .text-wrapper { 22 position: relative; 23 font-size: 12px; 24 height: 24px; 25 /* width: 42px; */ 26 min-width: 42px; 27 text-align: right; 28 text-transform: uppercase; 29 overflow-x: hidden; 30 overflow-y: hidden; 31 display: flex; 32 align-items: center; 33 } 34 35 .text { 36 position: absolute; 37 right: 0; 38 font-size: 12px; 39 line-height: 2; 40 width: 100%; 41 } 42 43 .icon-wrapper { 44 position: relative; 45 display: inline-flex; 46 padding-left: 8px; 47 width: 40px; 48 height: 32px; 49 justify-content: center; 50 align-items: center; 51 } 52 53 .icon { 54 vertical-align: middle; 55 } 56 57 @media ${sZ.desktop} { 58 .text { 59 position: relative; 60 right: unset; 61 top: unset; 62 font-size: 18px; 63 text-transform: initial; 64 } 65 } 66`,sJ=({isActive:e=!1,onClick:t,text:n="Meny",icon:i})=>{let r=(0,a.useRef)(!1),[s,l]=(0,a.useState)(e);return(0,a.useEffect)(()=>{t&&r.current&&t(s)},[t,s]),(0,a.useEffect)(()=>{r.current||(r.current=!0)},[r]),(0,o.jsxs)(sQ,{onClick:()=>l(!s),children:[(0,o.jsx)("div",{className:"text-wrapper",children:n}),(0,o.jsx)("div",{className:"icon-wrapper",children:i})]})};var s0=e.i(42172),s1=/[A-Z]/g,s2=/^ms-/,s3={};function s5(e){return"-"+e.toLowerCase()}let s4=function(e){if(s3.hasOwnProperty(e))return s3[e];var t=e.replace(s1,s5);return s3[e]=s2.test(t)?"-"+t:t};var s6=e.i(91567);let s9=s6.default.oneOfType([s6.default.string,s6.default.number]),s8={all:s6.default.bool,grid:s6.default.bool,aural:s6.default.bool,braille:s6.default.bool,handheld:s6.default.bool,print:s6.default.bool,projection:s6.default.bool,screen:s6.default.bool,tty:s6.default.bool,tv:s6.default.bool,embossed:s6.default.bool},{type:s7,...oe}={orientation:s6.default.oneOf(["portrait","landscape"]),scan:s6.default.oneOf(["progressive","interlace"]),aspectRatio:s6.default.string,deviceAspectRatio:s6.default.string,height:s9,deviceHeight:s9,width:s9,deviceWidth:s9,color:s6.default.bool,colorIndex:s6.default.bool,monochrome:s6.default.bool,resolution:s9,type:Object.keys(s8)},ot={minAspectRatio:s6.default.string,maxAspectRatio:s6.default.string,minDeviceAspectRatio:s6.default.string,maxDeviceAspectRatio:s6.default.string,minHeight:s9,maxHeight:s9,minDeviceHeight:s9,maxDeviceHeight:s9,minWidth:s9,maxWidth:s9,minDeviceWidth:s9,maxDeviceWidth:s9,minColor:s6.default.number,maxColor:s6.default.number,minColorIndex:s6.default.number,maxColorIndex:s6.default.number,minMonochrome:s6.default.number,maxMonochrome:s6.default.number,minResolution:s9,maxResolution:s9,...oe};var on={...s8,...ot};let oi=(0,a.createContext)(void 0),or=e=>{if(e)return Object.keys(e).reduce((t,n)=>(t[s4(n)]=e[n],t),{})},os=()=>{let e=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{e.current=!0},[]),e.current},oo=(e,t,n)=>{let i=(e=>{let t=(0,a.useContext)(oi),n=()=>or(e)||or(t),[i,r]=(0,a.useState)(n);return(0,a.useEffect)(()=>{let e=n();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),i=Object.keys(t),r=n.length;if(i.length!==r)return!1;for(let i=0;i<r;i++){let r=n[i];if(e[r]!==t[r]||!Object.prototype.hasOwnProperty.call(t,r))return!1}return!0}(i,e)&&r(e)},[e,t]),i})(t),r=(e=>{let t=()=>{let t;
66return e.query||(t=[],Object.keys(on).forEach(n=>{let i=e[n];null!=i&&t.push(((e,t)=>{let n=s4(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return n;if(!1===t)return`not ${n}`;return`(${n}: ${t})`})(n,i))}),t.join(" and "))},[n,i]=(0,a.useState)(t);return(0,a.useEffect)(()=>{let e=t();n!==e&&i(e)},[e]),n})(e);if(!r)throw Error("Invalid or missing MediaQuery!");let s=((e,t)=>{let n=()=>(0,s0.default)(e,t||{},!!t),[i,r]=(0,a.useState)(n),s=os();return(0,a.useEffect)(()=>{if(s){let e=n();return r(e),()=>{e&&e.dispose()}}},[e,t]),i})(r,i),o=(e=>{let[t,n]=(0,a.useState)(e.matches);return(0,a.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addListener(t),n(e.matches),()=>{e.removeListener(t)}},[e]),t})(s),l=os();return(0,a.useEffect)(()=>{l&&n&&n(o)},[o]),(0,a.useEffect)(()=>()=>{s&&s.dispose()},[]),o};var oa=!1;if("u">typeof window){var ol={get passive(){oa=!0;return}};window.addEventListener("testPassive",null,ol),window.removeEventListener("testPassive",null,ol)}var oc="u">typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),ou=[],od=!1,oh=-1,op=void 0,of=void 0,om=void 0,og=function(e){return ou.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},oy=function(e){var t=e||window.event;return!!og(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},ov=function(e){if(void 0===om){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var i=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);om=document.body.style.paddingRight,document.body.style.paddingRight=i+n+"px"}}void 0===op&&(op=document.body.style.overflow,document.body.style.overflow="hidden")},ob=function(){void 0!==om&&(document.body.style.paddingRight=om,om=void 0),void 0!==op&&(document.body.style.overflow=op,op=void 0)},ox=function(){if(void 0!==of){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=of.position,document.body.style.top=of.top,document.body.style.left=of.left,window.scrollTo(t,e),of=void 0}},ow=function(e,t){var n=e.targetTouches[0].clientY-oh;return!og(e.target)&&(t&&0===t.scrollTop&&n>0?oy(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?oy(e):(e.stopPropagation(),!0))},oS=function(e,t){e?!ou.some(function(t){return t.targetElement===e})&&(ou=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(ou),[{targetElement:e,options:t||{}}]),oc?window.requestAnimationFrame(function(){if(void 0===of){of={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,i=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var e=i-window.innerHeight;e&&t>=i&&(document.body.style.top=-(t+e))})},300)}}):ov(t),oc&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(oh=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&ow(t,e)},od||(document.addEventListener("touchmove",oy,oa?{passive:!1}:void 0),od=!0))):console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},o_=function(){oc&&(ou.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),od&&(document.removeEventListener("touchmove",oy,oa?{passive:!1}:void 0),od=!1),oh=-1),oc?ox():ob(),ou=[]},ok=function(e){e?(ou=ou.filter(function(t){return t.targetElement!==e}),oc&&(e.ontouchstart=null,e.ontouchmove=null,od&&0===ou.length&&(document.removeEventListener("touchmove",oy,oa?{passive:!1}:void 0),od=!1)),oc?ox():ob()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")};let oT=(0,d.default)(sV.nav)` 67 background-color: white; 68 left: 0; 69 overflow: hidden; 70 width: 100%; 71`,oE=d.default.div` 72 position: inherit; 73`,oj=({children:e,open:t=!1,className:n,height:i="auto"})=>{let r=(0,a.useRef)(null),s=oo({query:`(min-width: ${sK[3]})`}),l=s?i:window.innerHeight-(r.current?r.current.offsetTop:0);return(0,a.useEffect)(()=>o_(),[]),(0,o.jsx)(oE,{children:(0,o.jsx)(oT,{className:n,initial:!1,ref:r,variants:{open:{overflow:s?"hidden":"scroll",position:"absolute",zIndex:9,height:l,transition:{type:"spring",stiffness:200,damping:40}},closed:{height:0,zIndex:9,position:"absolute",transition:{delay:.15,type:"spring",stiffness:400,damping:40}}},animate:t?"open":"closed",onAnimationStart:()=>{!s&&r.current&&(t?oS(r.current):ok(r.current))},onAnimationEnd:()=>{!s&&r.current&&(t?ok(r.current):oS(r.current))},children:e})})},oC={xsmall:`@media screen and (min-width: ${sK[0]})`,small:`@media screen and (min-width: ${sK[1]})`,medium:`@media screen and (min-width: ${sK[2]})`,large:`@media screen and (min-width: ${sK[3]})`,xlarge:`@media screen and (min-width: ${sK[4]})`},oA=(0,d.default)(l.default)` 74 text-decoration: none; 75`,oM=d.default.div` 76 padding: 15px; 77 color: black; 78 column-gap: 16px; 79 display: grid; 80 font-size: 16px; 81 grid-template-columns: 56px 1fr; 82 grid-template-rows: repeat(2, minmax(26px, auto)); 83 row-gap: 4px; 84 cursor: pointer; 85 text-decoration: none !important; 86 87 .product-card__icon { 88 grid-row: 1 / -1; 89 } 90 91 .product-card__heading { 92 font-size: 16px; 93 margin: 0; 94 } 95 96 .product-card__arrow { 97 grid-column: 3 / 3;
98 align-self: end; 99 } 100 101 .product-card__description { 102 margin: 0; 103 } 104 105 ${oC.large} { 106 grid-template-columns: 56px 1fr 24px; 107 grid-template-rows: 56px auto; 108 109 .product-card__icon { 110 grid-row: 1 / 1; 111 } 112 113 .product-card__heading { 114 align-self: end; 115 font-size: 16px; 116 justify-self: start; 117 } 118 119 .product-card__description { 120 grid-row-start: 2; 121 grid-column: 1 / -1; 122 } 123 } 124`,oP=d.default.span` 125 display: block; 126 height: 56px; 127 position: relative; 128 width: 56px; 129 130 &::before { 131 content: ""; 132 position: absolute; 133 width: 38px; 134 height: 38px; 135 border-radius: 19px; 136 background-color: #ffdbe0; 137 } 138 139 &::after { 140 background-image: url(${e=>e.icon}); 141 background-position: center; 142 background-repeat: no-repeat; 143 background-size: contain; 144 bottom: 0; 145 content: ""; 146 height: 45px; 147 position: absolute; 148 right: 0; 149 width: 45px; 150 } 151`,oL=d.default.h5` 152 color: #000000; 153 font-size: 14px; 154 font-weight: 300; 155 letter-spacing: 1px; 156 line-height: 1.71; 157 text-transform: uppercase; 158 text-decoration: none; 159`,oI=d.default.div` 160 color: rgb(87, 90, 95); 161 font-family: CircularStd, Helvetica, sans-serif; 162 font-size: 16px; 163 font-weight: 400; 164 line-height: 1.63; 165 margin: 8px 0px; 166 text-decoration: none; 167`,oO=({className:e,color:t})=>(0,o.jsx)("svg",{className:`icon icon--arrow-right ${e}`,height:"14",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fill:t||"#000000",fillRule:"evenodd",d:"M20.586 8H1a1 1 0 010-2h19.586l-4.293-4.293A.999.999 0 1117.707.293l6 6a.999.999 0 010 1.414l-6 6a.997.997 0 01-1.414 0 .999.999 0 010-1.414L20.586 8z"})}),oV=({className:e,description:t,title:n,icon:i,slug:r})=>{let s=oo({query:`(min-width: ${sK[3]})`}),a={className:`header__product-card product-card ${e||""}`.trim(),href:`${r}`},l="";return"IconHandsWithHeart"===i?l="/images/hands-icon.svg":"IconMedicBox"===i&&(l="/images/medic-box-icon.svg"),(0,o.jsx)(oA,{...a,children:(0,o.jsxs)(oM,{children:[l&&(0,o.jsx)(oP,{className:"product-card__icon",icon:l}),(0,o.jsx)(oL,{className:"product-card__heading",children:n}),s&&(0,o.jsx)(oO,{className:"product-card__arrow"}),(0,o.jsx)(oI,{className:"product-card__description",children:t})]})})},oD=d.default.button` 168 border-radius: 4px; 169 width: 33px; 170 height: 24px; 171 justify-content: center; 172 color: #030303; 173 background-color: rgba(107, 209, 179, 0.2); 174 font-size: 12px; 175 display: flex; 176 border: none; 177 line-height: 24px; 178 font-weight: bold; 179 font-family: CircularStd, Arial, Helvetica, sans-serif; 180 cursor: pointer; 181 text-transform: uppercase; 182 align-self: center; 183 margin-right: 10px; 184`,oR=(0,d.default)(oD)` 185 background-color: #6bd1b3; 186 color: #ffffff; 187`,oN=({children:e,active:t})=>t?(0,o.jsx)(oR,{children:e}):(0,o.jsx)(oD,{children:e}),oF=d.default.div` 188 display: flex; 189 190 a { 191 text-decoration: none; 192 color: inherit; 193 } 194`,oz=()=>{let{i18n:e}=(0,u.useTranslation)(),{language:t}=e;return(0,o.jsxs)(oF,{children:[(0,o.jsx)(oN,{active:"en"===t,children:(0,o.jsx)(l.default,{href:"",locale:"en",children:"EN"})}),(0,o.jsx)(oN,{active:"sv"===t||!t,children:(0,o.jsx)(l.default,{href:"",locale:"sv",children:"SV"})})]})},oB={xsmall:`@media screen and (min-width: ${sK[0]})`,small:`@media screen and (min-width: ${sK[1]})`,medium:`@media screen and (min-width: ${sK[2]})`,large:`@media screen and (min-width: ${sK[3]})`,xlarge:`@media screen and (min-width: ${sK[4]})`},o$=d.default.div` 195 display: contents; 196`,oH=d.default.header` 197 background-color: white; 198 display: flex; 199 justify-content: flex-end; 200 height: 100%; 201 max-width: 1290px; 202 width: 100%; 203 padding: 0 24px; 204 205 ${oB.large} { 206 padding: 0; 207 padding: 0 30px; 208 } 209`,oU=d.default.div` 210 padding-top: 20px; 211 margin-right: auto; 212 213 Image { 214 vertical-align: middle; 215 } 216`,oW=d.default.div` 217 display: flex; 218 align-items: center; 219 height: 100%; 220 position: relative; 221 color: #22252a; 222 padding: 16px 8px; 223 224 .header__link { 225 color: #22252a; 226 font-size: 18px; 227 font-weight: 500; 228 text-decoration: none; 229 margin: 0; 230 } 231 232 & + & { 233 } 234 235 & > .line { 236 position: absolute; 237 bottom: 0; 238 left: 0; 239 } 240 241 ${oB.large} { 242 padding: 0 16px; 243 244 & + & { 245 /* margin-left: 16px; */ 246 margin: 0; 247 } 248 } 249`,oG=d.default.div` 250 display: grid; 251 grid-template-columns: minmax(auto, 384px); 252 justify-items: start; 253 margin: 0 auto; 254 max-width: 1600px; 255 padding-left: 15px; 256 padding-right: 15px; 257 258 ${oB.small} { 259 grid-template-columns: minmax(auto, 535px); 260 padding-left: 30px; 261 padding-right: 30px; 262 } 263 264 ${oB.large} { 265 grid-template-columns: minmax(auto, 1230px); 266 border-top: solid 1px rgb(222, 226, 230); 267 box-shadow: 0 40px 40px -20px rgba(0, 0, 0, 0.1); 268 grid-row-start: 2; 269 top: 90px; 270 } 271`,oq=d.default.ul` 272 display: grid; 273 justify-content: center; 274 width: 100%; 275 list-style: none; 276 margin: 0; 277 padding: 0; 278 justify-content: stretch; 279 justify-self: stretch; 280 281 & > li { 282 border-bottom: solid 1px rgb(222, 226, 230); 283 } 284 285 & > li:first-of-type { 286 border-top: solid 1px rgb(222, 226, 230); 287 } 288 289 & + & > li:first-of-type { 290 border-top: 0; 291 } 292 293 ${oB.large} { 294 grid-template-columns: repeat(3, 1fr); 295 296 & > li, 297 & > li:first-of-type { 298 border: 0; 299 } 300 301 & > li + li { 302 border-left: solid 1px rgb(222, 226, 230); 303 } 304 } 305`,oY=({children:e,isActive:t=!1,height:n=10,color:i="#22252a"})=>{let[r,s]=(0,a.useState)(t);return(0,o.jsxs)(oW,{onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!!t&&t),children:[e,(0,o.jsx)(sV.svg,{className:"line",width:"100%",height:n,
305children:(0,o.jsx)(sV.line,{x1:"0",y1:n,x2:"100%",y2:n,strokeWidth:n,transition:{type:"spring",stiffness:r?300:400,damping:30},initial:"inactive",vectorEffect:"non-scaling-stroke",stroke:i,animate:{strokeWidth:r?n:0}})})]})};e.s(["default",0,function(){let[e,t]=(0,a.useState)(!1),n=oo({query:`(min-width: ${sK[3]})`}),i=oo({query:`(max-width: ${sK[3]})`}),{t:r,i18n:s}=(0,u.useTranslation)(),{language:d}=s,p=[{id:"LifeInsuranceProduct",title:r("headerProduct1Title"),description:r("headerProduct1Information"),icon:"IconHandsWithHeart",slug:"/ELP01001"},{id:"LifeTermProduct",title:r("headerProduct2Title"),description:r("headerProduct2Information"),icon:"IconMedicBox",slug:"/ELP02001"}],f="false".toLowerCase()==="true",m=[{id:"about",name:"om-oss",slug:"/om-oss",title:r("headerMenuAboutus")},{id:"faq",name:"Vanliga frågor",slug:"/faq",title:r("headerMenuFAQ")},{id:"partner-portal",name:"Förmedlarportal",slug:"https://www.evidentlife.se/partnerportal",title:r("headerMenuPartner")},{id:"my-pages",name:"Mina sidor",slug:"https://www.evidentlife.se/minasidor",title:r("headerMenuMyPages")}];return(0,o.jsxs)(o$,{children:[(0,o.jsxs)(oH,{children:[(0,o.jsx)(oU,{children:(0,o.jsx)(l.default,{href:"/",lang:d,children:(0,o.jsx)(c.default,{src:"/images/logo.svg",alt:"Evident Life logotyp",role:"presentation"})})}),i&&(0,o.jsx)(oW,{children:(0,o.jsx)(sJ,{icon:(0,o.jsx)(sR,{className:"icon__menu",isActive:e}),isActive:e,onClick:e=>t(e),text:(0,o.jsx)(sY,{className:"text header__link",isActive:e,activeText:"Stäng",inActiveText:"Meny"})})},h.default.generate()),n&&(0,o.jsx)(oY,{isActive:e,children:(0,o.jsx)(sJ,{icon:(0,o.jsx)(sD,{className:"icon__chevron asdasd",isActive:e}),isActive:e,onClick:e=>t(e),text:(0,o.jsx)("span",{className:"text",children:r("headerMenuInsurance")})})},h.default.generate()),n&&m.map(({id:e,slug:t,title:n})=>(0,o.jsxs)(oY,{children:["my-pages"===e&&(0,o.jsx)(c.default,{height:18,src:"/assets/login-mypages.png",style:{paddingRight:3},alt:"Mina sidor"}),"partner-portal"===e?(0,o.jsx)(l.default,{href:t,lang:d,className:"header__link",target:"_blank",children:n},e):(0,o.jsx)(l.default,{href:t,lang:d,className:"header__link",children:n},e)]},e)),n&&f&&(0,o.jsx)(oW,{children:(0,o.jsx)(oz,{})},h.default.generate())]}),(0,o.jsx)(oj,{className:"header__nav",open:e,children:(0,o.jsxs)(oG,{children:[!n&&(0,o.jsx)("h4",{children:r("headerMenuInsurance")}),(0,o.jsx)(oq,{children:p.map(e=>(0,o.jsx)(oW,{as:"li",children:(0,o.jsx)(oV,{...e},e.id)},e.id))}),!n&&(0,o.jsxs)(oq,{children:[m.map(({id:e,slug:t,title:n})=>(0,o.jsxs)(oW,{as:"li",children:["my-pages"===e&&(0,o.jsx)(c.default,{height:18,src:"/assets/login-mypages.png",style:{paddingRight:3},alt:"Mina sidor"}),"partner-portal"===e?(0,o.jsx)(l.default,{href:t,lang:d,className:"header__link",target:"_blank",children:n},e):(0,o.jsx)(l.default,{href:t,lang:d,className:"header__link",children:n})]},e)),f&&(0,o.jsx)(oW,{as:"li",children:(0,o.jsx)(oz,{})},h.default.generate())]})]})})]})}],84424),e.s([],72287);let oK={xsmall:`@media screen and (min-width: ${sK[0]})`,small:`@media screen and (min-width: ${sK[1]})`,medium:`@media screen and (min-width: ${sK[2]})`,large:`@media screen and (min-width: ${sK[3]})`,xlarge:`@media screen and (min-width: ${sK[4]})`},oX=d.default.div` 306 position: relative; 307 .footer__wave { 308 display: block; 309 width: 100%; 310 height: 4%; 311 } 312`,oZ=d.default.footer` 313 margin-top: -1px; 314 display: grid; 315 padding: 0 15px; 316 grid-template-columns: 1fr; 317 grid-template-rows: repeat(6, minmax(104px, auto)); 318 width: 100%; 319 justify-items: stretch; 320 background-color: #263651; 321 322 .footer__column { 323 /* grid-column: 1 / -1; */ 324 grid-row: span 1; 325 } 326 327 [class*="footer__column-"] { 328 border-bottom: solid 1px rgba(255, 255, 255, 0.353); 329 height: 100%; 330 } 331 .footer__links { 332 justify-self: center; 333 334 & > div { 335 flex-direction: row; 336 } 337 } 338 .footer__logo { 339 justify-self: center; 340 grid-row-end: -1; 341 } 342 343 ${oK.small} { 344 grid-template-columns: repeat(2, 2fr); 345 grid-template-rows: repeat(3, auto); 346 grid-auto-flow: dense; 347 justify-items: start; 348 column-gap: 20px;
349 padding: 0 30px; 350 351 .footer__column { 352 } 353 [class*="footer__column-"] { 354 border-bottom: 0; 355 } 356 .footer__logo { 357 justify-self: center; 358 grid-column: 1 / -1; 359 } 360 .footer__links { 361 justify-self: start; 362 grid-column: 2 / 2; 363 grid-row: 2 / 2; 364 } 365 .footer__disclaimer-links { 366 margin-top: calc(36px + 16px); 367 } 368 } 369 370 ${oK.large} { 371 grid-template-columns: repeat(3, minmax(280px, 420px)); 372 grid-template-rows: repeat(2, auto); 373 padding: 0 30px; 374 column-gap: 30px; 375 column-gap: 0px; 376 justify-content: center; 377 justify-items: stretch; 378 379 [class*="footer__column-"] { 380 padding: 0 15px; 381 border-bottom: solid 1px rgba(255, 255, 255, 0.353); 382 } 383 .footer__social-links { 384 justify-self: start; 385 grid-column: 1 / 1; 386 grid-row: unset; 387 } 388 .footer__logo { 389 justify-self: center; 390 grid-column: 2 / 2; 391 } 392 .footer__disclaimer-links { 393 margin-top: 0; 394 justify-self: end; 395 grid-column: 3 / 3; 396 } 397 } 398`,oQ=d.default.div` 399 display: flex; 400 flex-direction: column; 401 color: white; 402 padding: 32px 0; 403`,oJ=d.default.h3` 404 display: inline-block; 405 font-family: CircularStd, Helvetica, sans-serif; 406 text-align: initial; 407 color: rgba(255, 255, 255, 0.353); 408 font-size: 14px; 409 font-weight: 600; 410 letter-spacing: 1px; 411 line-height: 1.71; 412 text-transform: uppercase; 413 margin: 4px 0px 8px; 414 text-decoration: none; 415`,o0=d.default.div` 416 padding-bottom: 10px; 417`,o1=d.default.a` 418 color: rgba(255, 255, 255, 0.353); 419 font-weight: 600; 420 margin: 8px 0; 421 text-decoration: none; 422 &:hover { 423 text-decoration: none; 424 } 425`,o2=(0,d.default)(o1)` 426 color: rgba(255, 255, 255, 0.353); 427 font-size: 14px; 428 transition: color 150ms ease; 429 430 & + & { 431 margin-left: 32px; 432 position: relative; 433 &::before { 434 background-color: rgba(255, 255, 255, 0.353); 435 content: ""; 436 display: inline-block; 437 height: 24px; 438 left: -16px; 439 margin-right: 16px; 440 position: absolute; 441 top: -4px; 442 width: 1px; 443 } 444 } 445 446 &:hover { 447 color: #fff; 448 } 449`,o3=d.default.a` 450 content: ""; 451 display: inline-block; 452 width: ${({size:e})=>e||"36px"}; 453 height: ${({size:e})=>e||"36px"}; 454 border-radius: ${({size:e})=>e?`${o4(e)/2}px`:"18px"}; 455 background-image: url(${({icon:e})=>e}); 456 line-height: 0; 457 font-size: 0; 458 color: transparent; 459 transition: background-image 150ms ease; 460 461 & + & { 462 margin-left: 16px; 463 } 464 465 &:hover { 466 background-image: url(${({iconHover:e})=>e||""}); 467 } 468`,o5=d.default.a` 469 content: ""; 470 display: inline-block; 471 width: ${({size:e})=>e||"36px"}; 472 height: ${({size:e})=>e||"36px"}; 473 border-radius: ${({size:e})=>e?`${o4(e)/2}px`:"18px"}; 474 line-height: 0; 475 font-size: 0; 476 color: transparent; 477 transition: background-image 150ms ease; 478 padding-top: 7px; 479 padding-left: 15px; 480 481 & + & { 482 margin-left: 16px; 483 } 484`;function o4(e=""){return Number(e=e.replace(/px/g,""))}e.s(["default",0,()=>{let{t:e}=(0,u.useTranslation)(),t="https://www.evidentlife.se/minasidor";return(0,o.jsxs)(oX,{children:[(0,o.jsx)(c.default,{className:"footer__wave",src:"/images/footer-wave.svg",role:"presentation",alt:""}),(0,o.jsxs)(oZ,{children:[(0,o.jsx)(oQ,{children:(0,o.jsxs)("div",{className:"footer__column footer__column-1",children:[(0,o.jsx)(oJ,{children:e("footerCustomerServiceTitle")}),(0,o.jsxs)("span",{children:[(0,o.jsx)("a",{href:"mailto:[email protected]",className:"footer-link",children:e("footerKCEmailTitle")}),(0,o.jsx)("a",{href:"tel:+468801515",className:"footer-link",children:e("footerKCPhone")}),(0,o.jsx)("span",{className:"footer-text",children:e("footerKCWeekdays")}),(0,o.jsx)("span",{className:"footer-text",children:e("footerHoliday")}),(0,o.jsx)(l.default,{href:"/anmal-dodsfall",className:"footer-link",children:e("footerMenuDeath")}),(0,o.jsx)(l.default,{href:"/anmal-sjukdom",className:"footer-link",children:e("footerMenuIllness")}),(0,o.jsx)(l.default,{href:"/klagomal",className:"footer-link",children:e("footerComplainEmail")}),(0,o.jsx)(l.default,{href:"/faq",className:"footer-link",children:e("footerFaq")}),t&&(0,o.jsx)(l.default,{href:t,className:"footer-link",children:e("headerMenuMyPages")})]}),(0,o.jsx)("br",{})]})}
484),(0,o.jsx)(oQ,{children:(0,o.jsxs)("div",{className:"footer__column footer__column-2",children:[(0,o.jsx)(oJ,{children:e("footerEvidentLifeTitle")}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/om-oss",className:"footer-link",children:e("footerAboutus")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/hallbarhet",className:"footer-link",children:e("footerSustainability")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/halsa",className:"footer-link",children:e("footerHealth")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/kontakta-oss",className:"footer-link",children:e("footerContactus")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/samarbete",className:"footer-link",children:e("footerMenucollaboration")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/formedlare",className:"footer-link",children:e("footerBroker")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/jobba-hos-oss",className:"footer-link",children:e("footerWork")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/utvecklare-api",className:"footer-link",children:e("footerDeveloper-Api")})})]})}),(0,o.jsx)(oQ,{children:(0,o.jsxs)("div",{className:"footer__column footer__column-3",children:[(0,o.jsx)(oJ,{children:e("footerInsurancesTitle")}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/ELP01001",className:"footer-link",children:e("footerProduct1")})}),(0,o.jsx)(o0,{children:(0,o.jsx)(l.default,{href:"/ELP02001",className:"footer-link",children:e("footerProduct2")})})]})}),(0,o.jsx)("div",{className:"footer__column footer__item footer__links footer__social-links",children:(0,o.jsxs)(oQ,{children:[(0,o.jsx)(o3,{href:"https://www.linkedin.com/company/evident-life-insurance/",className:"social-link",icon:"/images/linkedin-circle-o.svg",iconHover:"/images/linkedin-circle-o-hover.svg",target:"_blank",children:"LinkedIn"}),(0,o.jsx)(o5,{href:"https://www.mynewsdesk.com/se/evident",target:"_blank",rel:"noreferrer",children:(0,o.jsxs)("svg",{width:"110",height:"21",viewBox:"0 0 130 21",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"mynewsdesk",children:[(0,o.jsx)("path",{fill:"#FFF",d:"M51.55 15.834c-1.985 2.83-4.547 4.326-7.814 4.326-4.196 0-8.232-2.825-8.232-9.092 0-5.722 3.46-8.958 7.976-8.958 4.227 0 5.988 2.691 6.31 3.202 1.312 1.977 1.6 4.939 1.633 6.64h-11.85c.447 2.691 2.017 4.224 4.547 4.224 2.627 0 3.684-1.634 4.165-2.35l3.266 2.008zm-4.356-6.88c-.352-2.656-1.889-3.575-3.587-3.575-2.05 0-3.459 1.261-3.907 3.576h7.494zM69.72 2.621h4.002L68.918 19.65h-3.81L62.224 8.786 59.15 19.65h-3.78L50.728 2.62h4.003l2.787 11.648L60.495 2.62h3.428l2.946 11.648L69.72 2.62zM20.457 2.62h3.877v2.012c.19-.308.577-.852 1.247-1.33.962-.748 2.434-1.192 3.683-1.192 1.826 0 3.397.886 4.198 2.043.99 1.43.99 3.27.99 5.486v10.01h-3.81v-8.683c0-1.261 0-2.112-.128-2.589-.352-1.497-1.377-2.283-2.626-2.283-1.249 0-2.402.786-2.947 1.91-.607 1.257-.607 2.994-.607 4.254v7.392h-3.877V2.62zm55.284 11.99c.961 1.26 2.4 2.18 4.613 2.18 2.208 0 3.172-1.158 3.172-2.008 0-1.092-1.152-1.364-1.668-1.466-.545-.137-3.17-.648-3.747-.817-3.813-.955-4.517-3.305-4.517-4.837 0-2.896 2.467-5.552 6.853-5.552 2.437 0 4.199.817 5.287 1.635a7.261 7.261 0 0 1 1.635 1.534l-2.723 2.69c-.45-.92-1.537-2.59-4.356-2.59-1.826 0-2.659.853-2.659 1.737 0 1.226 1.184 1.568 3.233 1.943 3.333.646 4.262.817 5.284 1.667.996.818 1.635 2.181 1.635 3.612 0 2.655-2.241 5.823-7.205 5.823-2.854 0-5.67-.954-7.688-3.032l2.851-2.519zm32.032 2.342c-1.406 2.002-3.222 3.063-5.536 3.063-2.972 0-5.83-2-5.83-6.44 0-4.054 2.45-6.345 5.649-6.345 2.994 0 4.242 1.906 4.47 2.267.929 1.399 1.134 3.499 1.158 4.705h-8.395c.316 1.906 1.428 2.992 3.22 2.992 1.861 0 2.611-1.159 2.95-1.665l2.314 1.423zm-3.086-4.873c-.249-1.882-1.337-2.534-2.542-2.534-1.452 0-2.45.893-2.767 2.534h5.309zm5.088 4.006c.682.893 1.704 1.543 3.269 1.543 1.564 0 2.246-.82 2.246-1.424 0-.77-.817-.965-1.181-1.037-.384-.097-2.246-.458-2.652-.577-2.701-.677-3.2-2.342-3.2-3.427 0-2.051 1.747-3.933 4.855-3.933 1.725 0 2.973.578 3.743 1.157.569.387.931.796 1.158 1.087l-1.928 1.905c-.318-.652-1.089-1.835-3.088-1.835-1.293 0-1.88.605-1.88 1.232 0 .869.838 1.11 2.291 1.375 2.359.458 3.016.58 3.742 1.183.704.579 1.157 1.544 1.157 2.556 0 1.882-1.587 4.125-5.104 4.125-2.02 0-4.015-.674-5.445-2.145l2.017-1.785zM121.672 2.621v9.58l4.77-4.971h3.47l-4.678 4.97 4.767 7.454h-3.315l-3.425-5.403-1.589 1.663v3.74h-2.699V2.62h2.699z"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7.23h2.028V8.5C2.71 7.594 3.92 7.213 4.72 7.213c.802 0 1.807.326 2.37 1.395a3.269 3.269 0 0 1 2.727-1.395c.851 0 1.67.253 2.249.923.682.798.666 1.76.666 2.701v5.707h-2.03v-5c0-.852.12-2.284-1.43-2.284-.648 0-1.175.38-1.449.852-.392.669
484-.443 1.395-.443 2.175v4.257H5.352v-5.056c0-.65 0-.888-.068-1.16C5.13 9.731 4.687 9.26 3.97 9.26c-.613 0-1.209.38-1.566 1.051-.358.705-.376 1.558-.376 2.446v3.787H0V7.23zm19.318-.017h-.963l-1.62 6.761-1.89-6.761h-2.2l3.084 9.242c0 .182-.238.58-.477.743-.324.234-.767.234-.92.234-.204 0-.358-.016-.545-.051v1.901c.238.036.562.11 1.226.11 1.586 0 2.216-.671 2.797-2.575l.476-1.704 1.032-3.765V7.213zM93.076 2.62v5.96c-.86-1.013-1.929-1.352-3.04-1.352-1.663 0-2.968.81-3.851 2.08.222.136.436.286.654.463.549.455.98 1.038 1.326 1.68.433-.91 1.183-1.545 2.28-1.545.907 0 1.587.458 1.996 1.11.498.796.59 1.906.613 2.678.022 2.606-1.25 3.714-2.655 3.714-.903 0-1.485-.431-1.882-.993a6.856 6.856 0 0 1-1.582 2.522c.848.7 1.881 1.077 2.987 1.077 1.181 0 2.315-.433 3.154-1.519v1.158h2.701V0l-2.7 2.62z",fill:"#fff"}),(0,o.jsx)("path",{d:"M140 0h1.4v28H140zM147.8 20h1.66v-5.54h2.38L155 20h1.88l-3.34-5.72c1.8-.44 2.96-1.68 2.96-3.72 0-2.72-1.92-3.68-4.6-3.68h-4.1V20zm1.66-6.9V8.22h2.2c2.04 0 3.18.62 3.18 2.34 0 1.7-1.14 2.54-3.18 2.54h-2.2zm13.311 7.14c1.32 0 2.36-.46 3.2-1l-.58-1.08c-.72.46-1.5.76-2.42.76-1.86 0-3.12-1.32-3.24-3.38h6.56c.04-.24.06-.6.06-.94 0-2.78-1.4-4.56-3.88-4.56-2.22 0-4.36 1.94-4.36 5.12s2.06 5.08 4.66 5.08zm-3.06-5.88c.2-1.92 1.44-3.02 2.8-3.02 1.52 0 2.4 1.06 2.4 3.02h-5.2zm11.009 5.88c1.22 0 2.3-.64 3.22-1.4h.06l.14 1.16h1.36v-5.96c0-2.42-1-4-3.38-4-1.56 0-2.92.68-3.82 1.26l.64 1.14c.76-.52 1.78-1.04 2.9-1.04 1.6 0 2 1.2 2 2.44-4.14.46-5.96 1.52-5.96 3.64 0 1.74 1.22 2.76 2.84 2.76zm.48-1.32c-.96 0-1.72-.46-1.72-1.56 0-1.24 1.12-2.04 4.36-2.44v2.7c-.94.84-1.7 1.3-2.64 1.3zm10.678 1.32c1.14 0 2.18-.64 2.94-1.38h.06l.14 1.14h1.36V5.76h-1.66V9.5l.08 1.66c-.86-.7-1.6-1.12-2.72-1.12-2.22 0-4.22 1.96-4.22 5.12 0 3.24 1.58 5.08 4.02 5.08zm.36-1.38c-1.7 0-2.68-1.4-2.68-3.72 0-2.22 1.24-3.72 2.8-3.72.8 0 1.54.28 2.36 1.02v5.08c-.8.9-1.58 1.34-2.48 1.34zm11.354 1.38c1.32 0 2.36-.46 3.2-1l-.58-1.08c-.72.46-1.5.76-2.42.76-1.86 0-3.12-1.32-3.24-3.38h6.56c.04-.24.06-.6.06-.94 0-2.78-1.4-4.56-3.88-4.56-2.22 0-4.36 1.94-4.36 5.12s2.06 5.08 4.66 5.08zm-3.06-5.88c.2-1.92 1.44-3.02 2.8-3.02 1.52 0 2.4 1.06 2.4 3.02h-5.2zm9.042 5.64h1.64v-6.24c.66-1.64 1.64-2.24 2.46-2.24.4 0 .62.06.94.16l.32-1.44c-.32-.14-.62-.2-1.04-.2-1.1 0-2.1.78-2.76 2h-.06l-.14-1.76h-1.36V20z"})]})})]})}),(0,o.jsx)("div",{className:"footer__column footer__logo",children:(0,o.jsx)(oQ,{children:(0,o.jsx)(c.default,{src:"/images/logo-white.svg",alt:"Evident Life Logotype",className:"logo"})})}),(0,o.jsx)("div",{className:"footer__column footer__links footer__disclaimer-links",children:(0,o.jsxs)(oQ,{children:[(0,o.jsx)(l.default,{passHref:!0,className:"link",href:"/cookie",legacyBehavior:!0,children:(0,o.jsx)(o2,{children:e("footerCookies")})}),(0,o.jsx)(l.default,{passHref:!0,className:"link",href:"/legal",legacyBehavior:!0,children:(0,o.jsx)(o2,{children:e("footerDisclaimer")})}),(0,o.jsx)(l.default,{passHref:!0,className:"link",href:"/policy",legacyBehavior:!0,children:(0,o.jsx)(o2,{children:e("footerPUL")})})]})})]})]})}],10004),e.s([],51266)},90817,54230,16117,30863,e=>{"use strict";var t=e.i(91398),n=e.i(95767),i=e.i(91788),r=e.i(19293),s=e.i(90029),o=e.i(60134),a=e.i(63872),l=e.i(60814);e.i(72287);var c=e.i(84424);e.i(51266);var u=e.i(10004);e.i(47620);var d=e.i(71179),h=e.i(72043);e.i(46966);var p=e.i(15041),f=e.i(93920),m=e.i(59461),g=e.i(26038),y=e.i(42328),v=e.i(83344),b=e.i(33068),x=e.i(13881),w=e.i(50467),S=e.i(53475);let _={[v.ENTERING]:"show",[v.ENTERED]:"show"},k=i.forwardRef(({className:e,children:n,transitionClasses:r={},onEnter:s,...o},a)=>{let l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},c=(0,i.useCallback)((e,t)=>{(0,w.default)(e),null==s||s(e,t)},[s]);return(0,t.jsx)(S.default,{ref:a,addEndListener:x.default,...l,onEnter:c,childRef:(0,b.getChildRef)(n),children:(t,s)=>i.cloneElement(n,{...s,className:(0,h.default)("fade",e,n.props.className,_[t],r[t])})})});k.displayName="Fade";var T=e.i(91567);let E={"aria-label":T.default.string,onClick:T.default.func,variant:T.default.oneOf(["white"])},j=i.forwardRef(({className:e,variant:n,"aria-label":i="Close",...r},s)=>
484(0,t.jsx)("button",{ref:s,type:"button",className:(0,h.default)("btn-close",n&&`btn-close-${n}`,e),"aria-label":i,...r}));j.displayName="CloseButton",j.propTypes=E;let C=i.forwardRef((e,n)=>{let{bsPrefix:i,show:r=!0,closeLabel:s="Close alert",closeVariant:o,className:a,children:l,variant:c="primary",onClose:u,dismissible:d,transition:g=k,...y}=(0,p.useUncontrolled)(e,{show:"onClose"}),v=(0,m.useBootstrapPrefix)(i,"alert"),b=(0,f.default)(e=>{u&&u(!1,e)}),x=!0===g?k:g,w=(0,t.jsxs)("div",{role:"alert",...!x?y:void 0,ref:n,className:(0,h.default)(a,v,c&&`${v}-${c}`,d&&`${v}-dismissible`),children:[d&&(0,t.jsx)(j,{onClick:b,"aria-label":s,variant:o}),l]});return x?(0,t.jsx)(x,{unmountOnExit:!0,...y,ref:void 0,in:r,children:w}):r?w:null});C.displayName="Alert";let A=Object.assign(C,{Link:y.default,Heading:g.default}),M=()=>{let[e,n]=(0,i.useState)(),{i18n:r}=(0,d.useTranslation)(),{language:s}=r;if((0,i.useEffect)(()=>{fetch(`/assets/notifications.json?t=${Date.now()}`).then(e=>e.json()).then(e=>{var t;let i;n((t=e[s],i=new Date,t?.filter(e=>i>=new Date(e.activeFromUTC)&&i<=new Date(e.activeToUTC))))})},[s]),!e||!(e.length>0))return(0,t.jsx)(t.Fragment,{});{let n=e.map((e,n)=>(0,t.jsxs)(A,{variant:e.type,children:[(0,t.jsx)(A.Heading,{children:e.caption}),(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:e.message}})]},n));return(0,t.jsx)(t.Fragment,{children:n})}};var P=e.i(51096);let L={xsmall:`@media screen and (min-width: ${P.breakpoints[0]})`,small:`@media screen and (min-width: ${P.breakpoints[1]})`,medium:`@media screen and (min-width: ${P.breakpoints[2]})`,large:`@media screen and (min-width: ${P.breakpoints[3]})`,xlarge:`@media screen and (min-width: ${P.breakpoints[4]})`},I=l.default.div` 485 background-color: white; 486 display: grid; 487 grid-template-columns: minmax(auto, 1600px); 488 grid-template-rows: 90px 1fr; 489 justify-content: center; 490 justify-items: center; 491 padding: 0 15px; 492 width: 100%; 493 494 .header__nav { 495 box-shadow: 0 40px 40px -20px rgba(0, 0, 0, 0.1); 496 grid-row-start: 2; 497 top: 90px; 498 } 499 500 ${L.small} { 501 padding: 0 30px; 502 } 503 504 ${L.large} { 505 padding: 0; 506 } 507`,O=l.default.div` 508 background-color: #ff4f66; 509 display: grid; 510 width: 100%; 511 text-align: center; 512 padding-top: 10px; 513 color: #fff; 514`;l.default.div` 515 background-color: #ff8400; 516 display: grid; 517 width: 100%; 518 text-align: center; 519 padding-top: 10px; 520 color: #000; 521`,e.s(["default",0,({children:e})=>{let[l,d]=(0,i.useState)();return(0,i.useEffect)(()=>{d(!0)},[]),(0,i.useEffect)(()=>{let e=new n.Accessibility({labels:{resetTitle:"à terställ",closeTitle:"Stäng",menuTitle:"Tillgänglighetsanpassningar",increaseText:"Ãka textstorlek",decreaseText:"Minska textstorlek",increaseTextSpacing:"Ãka textavstÃ¥nd",decreaseTextSpacing:" Minska textavstÃ¥nd",increaseLineHeight:"increase line height (in my language)",decreaseLineHeight:"decrease line height (in my language)",invertColors:"Invertera färger",grayHues:"GrÃ¥skalefärger",underlineLinks:"Understryk länkar",bigCursor:"Stor markör",readingGuide:"Läsguide",textToSpeech:"Text till tal",speechToText:"Tal till text",disableAnimations:"Inaktivera animeringar",hotkeyPrefix:"Hotkey: (in my language)"},modules:{increaseText:!0,decreaseText:!0,invertColors:!0,increaseTextSpacing:!1,decreaseTextSpacing:!1,increaseLineHeight:!1,decreaseLineHeight:!1,grayHues:!0,underlineLinks:!0,bigCursor:!1,readingGuide:!1,textToSpeech:!0,speechToText:!1,disableAnimations:!0},session:{persistent:!1},icon:{fontFaceSrc:["https://fonts.googleapis.com/icon?family=Material+Icons"]},textToSpeechLang:"sv-SE"});return()=>{"function"==typeof e.destroy&&e.destroy()}},[]),(0,t.jsx)(t.Fragment,{children:l&&(0,t.jsxs)(r.Container,{fluid:!0,className:"px-0",children:[(0,t.jsx)(I,{children:(0,t.jsx)(c.default,{"data-cookieconsent":"ignore"})}),a.isIE&&(0,t.jsx)(O,{children:(0,t.jsx)("p",{children:"Internet Explorer stöds inte som webbläsare!"})}),(0,t.jsx)(r.Container,{fluid:!0,className:"px-0 main-wrapper",children:(0,t.jsx)(s.Row,{children:(0,t.jsx)(o.Col,{children:(0,t.jsx)(M,{})})})}),(0,t.jsx)(r.Container,{fluid:!0,className:"px-0 main-wrapper main",children:(0,t.jsx)(s.Row,{children:(0,t.jsx)(o.Col,{children:(0,t.jsx)("main",{children:e})})})}),(0,t.jsx)(r.Container,{fluid:!0,className:"px-0 main-wrapper",children:(0,t.jsx)(s.Row,{children:(0,t.jsx)(o.Col,{children:(0,t.jsx)(u.default,{})})})})]})})}],54230),e.s([],90817);var V=e.i(58678);let D={siteMetaData:{title:"Evident Life Försäkring AB",author:"Evident Life Försäkring AB",description:"Evident Life arbetar datadrivet och evidensbaserat och verkar där insurtech möter biotech med att erbjuda digitala tjänster för att förebygga skador och jobba proaktivt med kundernas hälsa.",keywords:"Försäkring, Livförsäkring, Insurtech, Digital försäkring, Allvarlig sjukdom, Kritisk sjukdom"}};function R({title:e,keywords:n}){let i=D.siteMetaData.title,r=D.siteMetaData.author,s=D.siteMetaData.description;return(0,t.jsxs)(V.default,{children:[(0,t.jsx)("title",{children:`${e} | ${i}`}),(0,t.jsx)("meta",{name:"description",content:s}),(0,t.jsx)("meta",{name:"keywords",content:n}),(0,t.jsx)("meta",{name:"author",content:r}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:title",content:e}),(0,t.jsx)("meta",{property:"og:description",content:s}),(0,t.jsx)("meta",{property:"og:site_name",content:i}),(0,t.jsx)("meta",{property:"twitter:card",content:"summary"}),(0,t.jsx)("meta",{property:"twitter:creator",content:r}),(0,t.jsx)("meta",{property:"twitter:title",content:e}),(0,t.jsx)("meta",{property:"twitter:description",content:s}),(0,t.jsx)("script",{id:"Cookiebot",src:"https://consent.cookiebot.com/uc.js","data-cbid":"79db4b21-e97e-48e4-8454-bf08d3eb6455",type:"text/javascript","data-blockingmode":"auto"})]})}R.defaultProps={title:D&&D.siteMetaData&&D.siteMetaData.title,keyword:D&&D.siteMetaData&&D.siteMetaData.keywords},R.propTypes={title:T.default.string,keywords:T.default.string},e.s(["default",0,R],16117),e.s([],30863)}]);
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.